kloudy 0.4.7 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -202
- package/MCP-DEFAULT.md +12 -12
- package/README.md +317 -313
- package/bin/entry.mjs +23 -22
- package/bin/kloudy.mjs +74 -71
- package/package.json +3 -2
- package/schemas/SDF-LICENSE.txt +21 -21
- package/schemas/kloudy.deployable-bot.schema.json +80 -0
- package/schemas/sdf-document-0.2.schema.json +411 -411
- package/schemas/sdf-webpage-v1.schema.json +176 -176
- package/src/activity.mjs +23 -23
- package/src/approval-ui.mjs +2 -2
- package/src/approval.mjs +25 -25
- package/src/autoupdate.mjs +2 -2
- package/src/bots.mjs +144 -0
- package/src/chooser-link.mjs +17 -17
- package/src/client.mjs +96 -96
- package/src/connect-card.mjs +32 -32
- package/src/connect-ui.mjs +3 -3
- package/src/connection.mjs +25 -25
- package/src/conversation.mjs +53 -53
- package/src/deployable-bots.json.gz +0 -0
- package/src/editor-install.mjs +79 -79
- package/src/host-interface.mjs +10 -10
- package/src/hosted.mjs +42 -42
- package/src/httpk.mjs +66 -66
- package/src/install.mjs +35 -35
- package/src/introduce.mjs +33 -33
- package/src/mcp.mjs +74 -74
- package/src/modalities.mjs +27 -0
- package/src/models.mjs +55 -55
- package/src/preferences-card.mjs +21 -21
- package/src/preferences-ui.mjs +2 -2
- package/src/product-actions.mjs +22 -22
- package/src/public.mjs +41 -41
- package/src/query.mjs +28 -28
- package/src/remote.mjs +9 -2
- package/src/replies.mjs +7 -7
- package/src/reply-templates.json +12 -12
- package/src/sample-actions.mjs +31 -31
- package/src/sample-card.mjs +11 -11
- package/src/sample-cards.mjs +47 -47
- package/src/sample-ui.mjs +2 -2
- package/src/sdf-budget.mjs +23 -23
- package/src/sdf.mjs +12 -12
- package/src/starter.mjs +43 -43
- package/src/status-indicator.css +5 -5
- package/src/strings.mjs +51 -51
- package/src/terminal-status.mjs +6 -6
- package/src/website-return.mjs +18 -0
- package/src/welcome.mjs +8 -8
- package/src/wrap.mjs +58 -58
package/src/preferences-ui.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
// Generated by scripts/build-sample.mjs
|
|
2
|
-
export const preferencesHTML="<!doctype html><html lang=\"en\"><head><meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><title>Tool preferences card</title><style>:root{color-scheme:light dark;--sample-bg:#fff;--sample-ink:#292631;--sample-muted:#656071;--sample-line:#ded9e9;--sample-active:#ede5ff}*{box-sizing:border-box}.sample-page{margin:0;background:#faf9fc;color:var(--sample-ink);font:16px/1.5 system-ui,sans-serif}.sample-page>nav{display:flex;justify-content:space-between;padding:18px 22px}.sample-page a{color:inherit}.sample-page>main{max-width:470px;margin:5vh auto;padding:14px}.sample-card{background:var(--sample-bg);color:var(--sample-ink);padding:22px;border:1px solid var(--sample-line);border-radius:24px;max-width:440px;font:15px/1.45 system-ui,sans-serif;overflow-wrap:anywhere}.sample-card header{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:650}.sample-card header small{margin-left:auto;color:var(--sample-muted);white-space:nowrap}.sample-orb{display:inline-block;width:22px;height:22px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#bdffff,#a771ff 40%,#6126c0);box-shadow:0 0 15px #aa7dff88}.sample-card h1{font-size:23px;line-height:1.2;margin:22px 0 12px;letter-spacing:-.4px}.sample-card p{color:var(--sample-muted);margin:12px 0}.sample-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sample-card button,.sample-card a.sample-primary{font:inherit;color:inherit;border:1px solid var(--sample-line);border-radius:12px;padding:12px;text-align:left;cursor:pointer;min-height:44px;background:var(--sample-bg);text-decoration:none}.sample-card button[aria-pressed=true]{background:var(--sample-active);border-color:#9b74d7}.sample-card .sample-primary{display:block;background:#342540;color:white;font-weight:600;width:100%;border-color:#342540}.sample-card button:disabled{opacity:.55;cursor:wait}.sample-card .sample-note,.sample-card details,.sample-status{font-size:12px}.sample-card details{margin-top:14px}.sample-card summary{cursor:pointer;min-height:36px;align-content:center}.sample-card footer{display:flex;gap:10px;justify-content:space-between;margin-top:12px}.sample-card footer button{font-size:12px;padding:8px 10px;min-height:36px}.sample-card dl{display:grid;grid-template-columns:70px 1fr;gap:10px;font-size:13px}.sample-card dd{margin:0}.sample-card dt{color:var(--sample-muted)}.sample-card :focus-visible{outline:3px solid #9470d3;outline-offset:3px}.sample-status:empty{display:none}.sample-card .bill-amount{font-size:32px;font-weight:650;color:var(--sample-ink)}.sample-links{margin-top:20px;font-size:13px}.sample-links nav{display:grid;gap:12px;padding:16px 0}.sample-card [hidden]{display:none!important}@media(prefers-color-scheme:dark){:root{--sample-bg:#24202b;--sample-ink:#f5f0fa;--sample-muted:#c8bfd2;--sample-line:#53475f;--sample-active:#50396b}.sample-page{background:#18151d}.sample-card .sample-primary{background:#e1cffb;color:#21132e}}@media(max-width:320px){.sample-card{padding:14px;border-radius:18px}.sample-card h1{font-size:20px}.sample-options{grid-template-columns:1fr}.sample-page>main{padding:8px;margin:0 auto}.sample-card header{font-size:11px}}\r\n.sample-page{--canvas:var(--sample-bg);--ink:var(--sample-ink)}@media(max-width:320px){.sample-options{grid-template-columns:1fr 1fr}.sample-card button{font-size:12px;padding:8px}.sample-card h1{font-size:18px;margin:14px 0 8px}.sample-card p{font-size:12px;margin:8px 0}.sample-card footer{margin-top:8px}.sample-card summary{min-height:30px}.sample-page>nav{padding:10px}.sample-card header{font-size:10px;gap:6px}}\r\n\r\n/* Device preference owns card appearance; no preference keeps the light default. */\r\n:root{color-scheme:light;--sample-wordmark:#656770}\r\n.sample-card header,.sample-page>nav>a:first-child{color:var(--sample-wordmark)}\r\n@media(prefers-color-scheme:dark){\r\n :root{color-scheme:dark;--sample-wordmark:#f1f1f4}\r\n}\r\n\r\n/* One responsive card, with the same copy and larger targets in either theme. */\r\n.sample-page>nav>a,.sample-page .site-options>summary{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}.sample-card summary,.sample-links summary{min-height:44px;align-content:center}.sample-card footer button{min-height:44px}.sample-card>a:not(.sample-primary),.sample-links nav a{display:flex;align-items:center;min-height:44px}\r\n.sample-card details a{display:inline-flex;align-items:center;min-height:44px}\r\n\r\n/* Standalone host cards share the homepage palette even without the site stylesheet. */\r\n:root{--sample-bg:#fff;--sample-ink:#34353a;--sample-muted:#656770;--sample-line:#e2e2e8;--sample-active:#efeff4;--sample-wordmark:#656770;--sample-action:#33343a;--sample-action-ink:#fff}\r\n.sample-page{background:#fafafa}.sample-card .sample-primary{background:var(--sample-action);color:var(--sample-action-ink);border-color:var(--sample-action)}.sample-card button[aria-pressed=true]{border-color:var(--sample-wordmark)}\r\n.sample-orb{animation:sample-alive 3s ease-in-out infinite}@keyframes sample-alive{50%{transform:scale(1.08);box-shadow:0 0 20px #aa7dff88}}\r\n@media(prefers-color-scheme:dark){:root{--sample-bg:#292a34;--sample-ink:#e7e7ec;--sample-muted:#aaabb5;--sample-line:#34353f;--sample-active:#262730;--sample-wordmark:#f1f1f4;--sample-action:#e9e9ed;--sample-action-ink:#202126}.sample-page{background:#17181c}}\r\n@media(prefers-reduced-motion:reduce){.sample-orb{animation:none}}\r\n body{margin:0;padding:8px;background:transparent}.sample-card{border:0;max-width:440px}</style></head><body><main id=\"sample-root\"></main><script>(()=>{var b$=Object.defineProperty;var vt=(e,t)=>{for(var n in t)b$(e,n,{get:t[n],enumerable:!0})};var $$=Object.create,Nc=Object.defineProperty,z$=Object.getOwnPropertyDescriptor,w$=Object.getOwnPropertyNames,k$=Object.getPrototypeOf,x$=Object.prototype.hasOwnProperty,_v=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Sv=(e,t)=>{let n={};for(var o in e)Nc(n,o,{get:e[o],enumerable:!0});return t&&Nc(n,Symbol.toStringTag,{value:\"Module\"}),n},I$=(e,t,n,o)=>{if(t&&typeof t==\"object\"||typeof t==\"function\")for(var r=w$(t),i=0,a=r.length,s;i<a;i++)s=r[i],!x$.call(e,s)&&s!==n&&Nc(e,s,{get:(c=>t[c]).bind(null,s),enumerable:!(o=z$(t,s))||o.enumerable});return e},yv=(e,t,n)=>(n=e!=null?$$(k$(e)):{},I$(t||!e||!e.__esModule?Nc(n,\"default\",{value:e,enumerable:!0}):n,e));var R$=new Set([\"https://json-schema.org/draft/2019-09/schema\",\"http://json-schema.org/draft/2019-09/schema\"]);function bv(e){return typeof e==\"string\"&&R$.has(e.replace(/#$/,\"\"))}var m={};vt(m,{$brand:()=>Ud,$input:()=>lf,$output:()=>cf,INVALID:()=>Ie,NEVER:()=>Co,TimePrecision:()=>yf,ZodAny:()=>ng,ZodArray:()=>sg,ZodBase64:()=>Eu,ZodBase64URL:()=>Ou,ZodBigInt:()=>ei,ZodBigIntFormat:()=>ju,ZodBoolean:()=>Qn,ZodCIDRv4:()=>Pu,ZodCIDRv6:()=>Tu,ZodCUID:()=>$u,ZodCUID2:()=>zu,ZodCatch:()=>xg,ZodCodec:()=>va,ZodCompileAsyncError:()=>Xe,ZodCompileUnsupportedError:()=>B,ZodCreditCard:()=>Xh,ZodCustom:()=>_a,ZodCustomStringFormat:()=>Nr,ZodDate:()=>ma,ZodDefault:()=>yg,ZodDiscriminatedUnion:()=>lg,ZodE164:()=>Cu,ZodEmail:()=>vu,ZodEmoji:()=>yu,ZodEnum:()=>Gn,ZodError:()=>Fx,ZodExactOptional:()=>Mu,ZodFile:()=>gg,ZodFirstPartyTypeKind:()=>Mg,ZodFunction:()=>jg,ZodGUID:()=>Su,ZodIBAN:()=>Qh,ZodIPv4:()=>Iu,ZodIPv6:()=>Ru,ZodISODate:()=>Jt,ZodISODateTime:()=>Ft,ZodISODuration:()=>Bt,ZodISOTime:()=>Ht,ZodInstanceOf:()=>Dg,ZodIntersection:()=>ug,ZodIssueCode:()=>qg,ZodJWT:()=>Nu,ZodKSUID:()=>xu,ZodLazy:()=>Cg,ZodLiteral:()=>hg,ZodMAC:()=>Yh,ZodMap:()=>pg,ZodNaN:()=>Rg,ZodNanoID:()=>bu,ZodNever:()=>og,ZodNonOptional:()=>qu,ZodNull:()=>rg,ZodNullable:()=>Sg,ZodNumber:()=>Xn,ZodNumberFormat:()=>jr,ZodObject:()=>pa,ZodOptional:()=>ha,ZodPipe:()=>ga,ZodPrefault:()=>$g,ZodPreprocess:()=>Pg,ZodPromise:()=>Ng,ZodReadonly:()=>Tg,ZodRealError:()=>je,ZodRecord:()=>Kn,ZodSet:()=>fg,ZodString:()=>Wn,ZodStringFormat:()=>ee,ZodSuccess:()=>kg,ZodSymbol:()=>eg,ZodTemplateLiteral:()=>Og,ZodTransform:()=>vg,ZodTuple:()=>dg,ZodType:()=>F,ZodULID:()=>wu,ZodURL:()=>da,ZodUUID:()=>ct,ZodUndefined:()=>tg,ZodUnion:()=>fa,ZodUnknown:()=>ig,ZodVoid:()=>ag,ZodXID:()=>ku,ZodXor:()=>cg,_ZodString:()=>gu,_default:()=>bg,_function:()=>Ky,any:()=>Au,array:()=>y,base64:()=>uy,base64url:()=>dy,bigint:()=>ky,boolean:()=>C,catch:()=>Ig,check:()=>Gy,cidrv4:()=>cy,cidrv6:()=>ly,clone:()=>Y,codec:()=>Fy,coerce:()=>ba,compile:()=>pf,config:()=>ae,core:()=>$t,creditCard:()=>py,cuid:()=>ey,cuid2:()=>ty,currencyCode:()=>Sy,custom:()=>Wy,date:()=>Ey,decode:()=>Fh,decodeAsync:()=>Hh,deepPartial:()=>cb,describe:()=>Yy,discriminatedUnion:()=>Kt,e164:()=>my,email:()=>_u,emoji:()=>XS,encode:()=>Zh,encodeAsync:()=>Jh,endsWith:()=>Un,enum:()=>L,exactOptional:()=>_g,file:()=>qy,flattenError:()=>No,float32:()=>by,float64:()=>$y,formatError:()=>jo,fromJSONSchema:()=>ab,function:()=>Ky,getDiscriminatedOption:()=>jp,getErrorMap:()=>Kx,globalRegistry:()=>ge,gt:()=>at,gte:()=>qe,guid:()=>HS,hash:()=>yy,hex:()=>_y,hostname:()=>vy,httpUrl:()=>YS,iban:()=>fy,includes:()=>jn,input:()=>ub,instanceof:()=>Qy,int:()=>fu,int32:()=>zy,int64:()=>xy,intersection:()=>et,invertCodec:()=>Jy,ipv4:()=>oy,ipv6:()=>sy,iso:()=>Ke,json:()=>tb,jwt:()=>hy,keyof:()=>Oy,ksuid:()=>iy,lazy:()=>Gt,length:()=>Tr,literal:()=>$,locales:()=>ta,looseObject:()=>M,looseRecord:()=>Ay,lowercase:()=>Cn,lt:()=>ot,lte:()=>Me,mac:()=>ay,map:()=>Uy,maxLength:()=>Pr,maxSize:()=>qt,memoizer:()=>Qo,meta:()=>Xy,mime:()=>Mn,minLength:()=>bt,minSize:()=>st,multipleOf:()=>Mt,nan:()=>Zy,nanoid:()=>QS,nativeEnum:()=>My,negative:()=>iu,never:()=>Uu,nonnegative:()=>au,nonoptional:()=>wg,nonpositive:()=>ou,normalize:()=>qn,null:()=>lt,nullable:()=>ua,nullish:()=>Ly,number:()=>I,object:()=>h,optional:()=>j,output:()=>db,overwrite:()=>Qe,parse:()=>qh,parseAsync:()=>Lh,partialRecord:()=>jy,pipe:()=>hu,positive:()=>nu,prefault:()=>zg,preprocess:()=>zt,prettifyError:()=>Vd,promise:()=>By,properties:()=>Dn,property:()=>su,readonly:()=>Eg,record:()=>T,refine:()=>Ag,regex:()=>On,regexes:()=>Be,registry:()=>Ol,safeDecode:()=>Kh,safeDecodeAsync:()=>Wh,safeEncode:()=>Bh,safeEncodeAsync:()=>Gh,safeParse:()=>la,safeParseAsync:()=>Vh,set:()=>Dy,setErrorMap:()=>Bx,size:()=>Rr,slugify:()=>Fn,startsWith:()=>An,strictObject:()=>Cy,string:()=>u,stringFormat:()=>gy,stringbool:()=>eb,success:()=>Vy,superRefine:()=>Ug,symbol:()=>Ry,templateLiteral:()=>Hy,toJSONSchema:()=>Or,toLowerCase:()=>Vn,toUpperCase:()=>Zn,toZod:()=>wo,transform:()=>Du,treeifyError:()=>Ld,trim:()=>Ln,tuple:()=>mg,uint32:()=>wy,uint64:()=>Iy,ulid:()=>ry,undefined:()=>Py,union:()=>E,unknown:()=>A,uppercase:()=>Nn,url:()=>Yn,util:()=>z,uuid:()=>BS,uuidv4:()=>KS,uuidv6:()=>GS,uuidv7:()=>WS,validate:()=>Ao,validateAsync:()=>Uo,void:()=>Ty,withParser:()=>Cl,xid:()=>ny,xor:()=>Ny});var $t={};vt($t,{$ZodAny:()=>Ip,$ZodArray:()=>Op,$ZodAsyncError:()=>Ce,$ZodBase64:()=>hp,$ZodBase64URL:()=>gp,$ZodBigInt:()=>_l,$ZodBigIntFormat:()=>zp,$ZodBoolean:()=>Bo,$ZodCIDRv4:()=>pp,$ZodCIDRv6:()=>fp,$ZodCUID:()=>tp,$ZodCUID2:()=>rp,$ZodCatch:()=>Yp,$ZodCheck:()=>te,$ZodCheckBigIntFormat:()=>Rm,$ZodCheckEndsWith:()=>qm,$ZodCheckGreaterThan:()=>rl,$ZodCheckIncludes:()=>Dm,$ZodCheckLengthEquals:()=>Nm,$ZodCheckLessThan:()=>tl,$ZodCheckLowerCase:()=>Am,$ZodCheckMaxLength:()=>Om,$ZodCheckMaxSize:()=>Pm,$ZodCheckMimeType:()=>Zm,$ZodCheckMinLength:()=>Cm,$ZodCheckMinSize:()=>Tm,$ZodCheckMultipleOf:()=>xm,$ZodCheckNumberFormat:()=>Im,$ZodCheckOverwrite:()=>Fm,$ZodCheckProperties:()=>Vm,$ZodCheckProperty:()=>Lm,$ZodCheckRegex:()=>jm,$ZodCheckSizeEquals:()=>Em,$ZodCheckStartsWith:()=>Mm,$ZodCheckStringFormat:()=>In,$ZodCheckUpperCase:()=>Um,$ZodCodec:()=>Go,$ZodCreditCard:()=>_p,$ZodCustom:()=>of,$ZodCustomStringFormat:()=>bp,$ZodCyclicError:()=>kl,$ZodDate:()=>Ep,$ZodDefault:()=>Bp,$ZodDiscriminatedUnion:()=>Ap,$ZodE164:()=>vp,$ZodEmail:()=>Gm,$ZodEmoji:()=>Qm,$ZodEncodeError:()=>Dt,$ZodEnum:()=>Lp,$ZodError:()=>qd,$ZodExactOptional:()=>Jp,$ZodFile:()=>Zp,$ZodFunction:()=>rf,$ZodGUID:()=>Bm,$ZodIBAN:()=>Sp,$ZodIPv4:()=>up,$ZodIPv6:()=>dp,$ZodISODate:()=>sp,$ZodISODateTime:()=>ap,$ZodISODuration:()=>lp,$ZodISOTime:()=>cp,$ZodIntersection:()=>Up,$ZodJWT:()=>yp,$ZodKSUID:()=>op,$ZodLazy:()=>Wo,$ZodLiteral:()=>Vp,$ZodMAC:()=>mp,$ZodMap:()=>Mp,$ZodNaN:()=>Xp,$ZodNanoID:()=>ep,$ZodNever:()=>Pp,$ZodNonOptional:()=>Gp,$ZodNull:()=>xp,$ZodNullable:()=>Hp,$ZodNumber:()=>vl,$ZodNumberFormat:()=>$p,$ZodObject:()=>r_,$ZodObjectJIT:()=>Cp,$ZodOptional:()=>yl,$ZodPipe:()=>bl,$ZodPrefault:()=>Kp,$ZodPreprocess:()=>Qp,$ZodPromise:()=>nf,$ZodReadonly:()=>ef,$ZodRealError:()=>Ne,$ZodRecord:()=>Dp,$ZodRegistry:()=>El,$ZodSet:()=>qp,$ZodString:()=>zr,$ZodStringFormat:()=>X,$ZodSuccess:()=>Wp,$ZodSymbol:()=>wp,$ZodTemplateLiteral:()=>tf,$ZodTransform:()=>Fp,$ZodTuple:()=>Sl,$ZodType:()=>Z,$ZodULID:()=>np,$ZodURL:()=>Xm,$ZodUUID:()=>Km,$ZodUndefined:()=>kp,$ZodUnion:()=>Ko,$ZodUnknown:()=>Rp,$ZodVoid:()=>Tp,$ZodXID:()=>ip,$ZodXor:()=>Np,$brand:()=>Ud,$constructor:()=>v,$input:()=>lf,$output:()=>cf,Doc:()=>$r,INVALID:()=>Ie,JSONSchema:()=>ZS,JSONSchemaGenerator:()=>du,NEVER:()=>Co,TimePrecision:()=>yf,URL_BAD_FORMAT:()=>Wm,URL_UNPARSEABLE:()=>Vo,ZodCompileAsyncError:()=>Xe,ZodCompileUnsupportedError:()=>B,_any:()=>Uf,_array:()=>Ff,_base64:()=>Ql,_base64url:()=>eu,_bigint:()=>Tf,_boolean:()=>Rf,_catch:()=>Ox,_check:()=>IS,_cidrv4:()=>Yl,_cidrv6:()=>Xl,_coercedBigint:()=>Ef,_coercedBoolean:()=>Pf,_coercedDate:()=>Vf,_coercedNumber:()=>$f,_coercedString:()=>gf,_creditCard:()=>_f,_cuid:()=>Fl,_cuid2:()=>Jl,_custom:()=>Hf,_date:()=>Lf,_decode:()=>Fc,_decodeAsync:()=>Hc,_default:()=>Px,_discriminatedUnion:()=>vx,_e164:()=>tu,_email:()=>Al,_emoji:()=>Vl,_encode:()=>Zc,_encodeAsync:()=>Jc,_endsWith:()=>Un,_enum:()=>zx,_file:()=>Jf,_float32:()=>wf,_float64:()=>kf,_gt:()=>at,_gte:()=>qe,_guid:()=>Ul,_iban:()=>Sf,_includes:()=>jn,_int:()=>zf,_int32:()=>xf,_int64:()=>Of,_intersection:()=>_x,_ipv4:()=>Gl,_ipv6:()=>Wl,_isoDate:()=>ia,_isoDateTime:()=>na,_isoDuration:()=>aa,_isoTime:()=>oa,_jwt:()=>ru,_ksuid:()=>Kl,_lazy:()=>Ax,_length:()=>Tr,_literal:()=>kx,_lowercase:()=>Cn,_lt:()=>ot,_lte:()=>Me,_mac:()=>vf,_map:()=>bx,_max:()=>Me,_maxLength:()=>Pr,_maxSize:()=>qt,_mime:()=>Mn,_min:()=>qe,_minLength:()=>bt,_minSize:()=>st,_multipleOf:()=>Mt,_nan:()=>Zf,_nanoid:()=>Zl,_nativeEnum:()=>wx,_negative:()=>iu,_never:()=>Mf,_nonnegative:()=>au,_nonoptional:()=>Tx,_nonpositive:()=>ou,_normalize:()=>qn,_null:()=>Af,_nullable:()=>Rx,_number:()=>bf,_optional:()=>Ix,_overwrite:()=>Qe,_parse:()=>zn,_parseAsync:()=>wn,_pipe:()=>Cx,_positive:()=>nu,_promise:()=>Ux,_properties:()=>Dn,_property:()=>su,_readonly:()=>Nx,_record:()=>yx,_refine:()=>Bf,_regex:()=>On,_safeDecode:()=>Kc,_safeDecodeAsync:()=>Wc,_safeEncode:()=>Bc,_safeEncodeAsync:()=>Gc,_safeParse:()=>kn,_safeParseAsync:()=>xn,_set:()=>$x,_size:()=>Rr,_slugify:()=>Fn,_startsWith:()=>An,_string:()=>hf,_stringFormat:()=>Er,_stringbool:()=>Yf,_success:()=>Ex,_superRefine:()=>Kf,_symbol:()=>Nf,_templateLiteral:()=>jx,_toLowerCase:()=>Vn,_toUpperCase:()=>Zn,_transform:()=>xx,_trim:()=>Ln,_tuple:()=>Sx,_uint32:()=>If,_uint64:()=>Cf,_ulid:()=>Hl,_undefined:()=>jf,_union:()=>hx,_unknown:()=>Df,_uppercase:()=>Nn,_url:()=>ra,_uuid:()=>Dl,_uuidv4:()=>Ml,_uuidv6:()=>ql,_uuidv7:()=>Ll,_void:()=>qf,_xid:()=>Bl,_xor:()=>gx,base64Charset:()=>ml,base64urlCharset:()=>Ho,canParseURL:()=>Ym,clone:()=>Y,compile:()=>pf,compileFn:()=>Nl,config:()=>ae,createStandardJSONSchemaMethod:()=>Jn,createToJSONSchemaMethod:()=>Qf,decode:()=>Sz,decodeAsync:()=>bz,describe:()=>Gf,encode:()=>_z,encodeAsync:()=>yz,extractDefs:()=>Vt,finalize:()=>Zt,flattenError:()=>No,formatError:()=>jo,getDiscriminatedOption:()=>jp,globalConfig:()=>me,globalRegistry:()=>ge,handleUnrepresentable:()=>le,initializeContext:()=>Lt,isBackEdge:()=>Il,isRecursiveSchema:()=>xl,isValidBase64:()=>Jo,isValidBase64URL:()=>pl,isValidCIDRv6:()=>dl,isValidCreditCard:()=>fl,isValidIBAN:()=>hl,isValidIPv6:()=>Fo,isValidJWT:()=>gl,locales:()=>ta,memoizer:()=>Qo,mergeValues:()=>Rn,meta:()=>Wf,parse:()=>Lc,parseAsync:()=>Vc,parseURLObject:()=>Qv,prettifyError:()=>Vd,process:()=>Q,processSchema:()=>Q,regexes:()=>Be,registry:()=>Ol,safeDecode:()=>zz,safeDecodeAsync:()=>kz,safeEncode:()=>$z,safeEncodeAsync:()=>wz,safeParse:()=>pz,safeParseAsync:()=>fz,standardProps:()=>sl,stripTabAndNewline:()=>Zo,toDotPath:()=>Ov,toJSONSchema:()=>Or,toZod:()=>wo,treeifyError:()=>Ld,urlHostnameOk:()=>ll,urlProtocolOk:()=>ul,util:()=>z,validate:()=>Ao,validateAsync:()=>Uo,validateURL:()=>cl,version:()=>Jm,withParser:()=>Cl});var z={};vt(z,{BIGINT_FORMAT_RANGES:()=>Po,CONSTANT_CATCH:()=>Mc,Class:()=>Id,NUMBER_FORMAT_RANGES:()=>Ro,aborted:()=>xe,allowsEval:()=>Td,assert:()=>C$,assertEqual:()=>P$,assertIs:()=>E$,assertNever:()=>O$,assertNotEqual:()=>T$,assignProp:()=>he,attachSchema:()=>Dc,base64ToUint8Array:()=>xv,base64urlToUint8Array:()=>X$,cached:()=>yn,captureStackTrace:()=>Ac,cleanEnum:()=>Y$,cleanRegex:()=>St,clone:()=>Y,cloneDef:()=>A$,codePointLength:()=>yr,constantCatch:()=>jd,createTransparentProxy:()=>V$,defineLazy:()=>Rd,defineLazyInternal:()=>H,derived:()=>rz,esc:()=>ke,escapeRegex:()=>He,explicitlyAborted:()=>Cd,extend:()=>J$,finalizeIssue:()=>Oe,floatSafeRemainder:()=>ko,getElementAtPath:()=>U$,getEnumValues:()=>_n,getLengthableOrigin:()=>Eo,getParsedType:()=>L$,getSizableOrigin:()=>To,hexToUint8Array:()=>ez,hide:()=>Oo,installLazyProp:()=>az,isObject:()=>Sr,isPlainObject:()=>Je,issue:()=>$n,joinValues:()=>S,jsonStringifyReplacer:()=>Sn,members:()=>Nd,merge:()=>B$,mergeDefs:()=>Ye,normalizeParams:()=>R,nullish:()=>jc,numKeys:()=>q$,objectClone:()=>N$,omit:()=>F$,optionalKeys:()=>Od,own:()=>Ut,parsedType:()=>k,partial:()=>K$,pick:()=>Z$,prefixIssues:()=>Ee,primitiveTypes:()=>Ed,promiseAllObject:()=>D$,propertyKeyTypes:()=>Io,randomString:()=>M$,rawShape:()=>bn,required:()=>G$,safeExtend:()=>H$,shallowClone:()=>xo,slugify:()=>Pd,stringifyPrimitive:()=>w,toZod:()=>wo,uint8ArrayToBase64:()=>Iv,uint8ArrayToBase64url:()=>Q$,uint8ArrayToHex:()=>tz,unwrapMessage:()=>vn});function P$(e){return e}function T$(e){return e}function wo(){return e=>e}function E$(e){}function O$(e){throw new Error(\"Unexpected value in exhaustive check\")}function C$(e){}function _n(e){let t=Object.values(e).filter(o=>typeof o==\"number\");return Object.entries(e).filter(([o,r])=>t.indexOf(+o)===-1).map(([o,r])=>r)}function S(e,t=\"|\"){return e.map(n=>w(n)).join(t)}function Sn(e,t){return typeof t==\"bigint\"?t.toString():t}var xd=class{constructor(t){this._getter=t,this._value=void 0}get value(){let t=this._getter;return t!==void 0&&(this._value=t(),this._getter=void 0),this._value}};function yn(e){return new xd(e)}function jc(e){return e==null}function St(e){let t=e.startsWith(\"^\")?1:0,n=e.endsWith(\"$\")?e.length-1:e.length;return e.slice(t,n)}function ko(e,t){let n=e/t,o=Math.round(n),r=4*Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-o)<r?0:n-o}var $v=Symbol(\"evaluating\");function Rd(e,t,n){let o;Object.defineProperty(e,t,{get(){if(o!==$v)return o===void 0&&(o=$v,o=n()),o},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function N$(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function he(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function bn(e){let t=Object.getOwnPropertyDescriptor(e,\"shape\");return t?.get?t.get.raw:t?.value}function _t(e){return bn(e._zod.def)??e._zod.def.shape}function zv(e,t,n){Object.defineProperty(e,t,{get(){let o=n();return he(this,t,o),o},enumerable:!0,configurable:!0})}function wv(e,t,n){t in e?he(e,t,n):e[t]=n}function _r(e,t,n,o){let r=_t(t);for(let i of n){let a=Object.getOwnPropertyDescriptor(r,i);a.enumerable&&(a.get?zv(e,i,()=>{let s=t._zod.def.shape[i];return o?o(s,i):s}):wv(e,i,o?o(a.value,i):a.value))}}function j$(e,t){for(let n of Reflect.ownKeys(t)){let o=Object.getOwnPropertyDescriptor(t,n);o.enumerable&&(o.get?zv(e,n,()=>t[n]):wv(e,n,o.value))}}function Ye(...e){let t={};for(let n of e){let o=Object.getOwnPropertyDescriptors(n);Object.assign(t,o)}return Object.defineProperties({},t)}function A$(e){return Ye(e._zod.def)}function U$(e,t){return t?t.reduce((n,o)=>n?.[o],e):e}function D$(e){let t=Object.keys(e),n=t.map(o=>e[o]);return Promise.all(n).then(o=>{let r={};for(let i=0;i<t.length;i++)r[t[i]]=o[i];return r})}function M$(e=10){let t=\"abcdefghijklmnopqrstuvwxyz\",n=\"\";for(let o=0;o<e;o++)n+=t[Math.floor(Math.random()*t.length)];return n}function ke(e){return JSON.stringify(e)}function Pd(e){return e.toLowerCase().trim().replace(/[^\\w\\s-]/g,\"\").replace(/[\\s_-]+/g,\"-\").replace(/^-+|-+$/g,\"\")}var Ac=\"captureStackTrace\"in Error?Error.captureStackTrace:(...e)=>{};function Sr(e){return typeof e==\"object\"&&e!==null&&!Array.isArray(e)}var Td=yn(()=>{if(me.jitless||typeof navigator<\"u\"&&navigator?.userAgent?.includes(\"Cloudflare\"))return!1;try{let e=Function;return new e(\"\"),!0}catch{return!1}});function Je(e){if(Sr(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=\"function\")return!0;let n=t.prototype;return!(Sr(n)===!1||Object.prototype.hasOwnProperty.call(n,\"isPrototypeOf\")===!1)}function xo(e){return Je(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function q$(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}var L$=e=>{let t=typeof e;switch(t){case\"undefined\":return\"undefined\";case\"string\":return\"string\";case\"number\":return Number.isNaN(e)?\"nan\":\"number\";case\"boolean\":return\"boolean\";case\"function\":return\"function\";case\"bigint\":return\"bigint\";case\"symbol\":return\"symbol\";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\";default:throw new Error(`Unknown data type: ${t}`)}},Io=new Set([\"string\",\"number\",\"symbol\"]),Ed=new Set([\"string\",\"number\",\"bigint\",\"boolean\",\"symbol\",\"undefined\"]);function He(e){return e.replace(/[.*+?^${}()|[\\]\\\\]/g,\"\\\\$&\")}function Y(e,t,n){let o=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(o._zod.parent=e),o}function R(e){let t=e;if(!t)return{};if(typeof t==\"string\")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error(\"Cannot specify both `message` and `error` params\");t.error=t.message}return delete t.message,typeof t.error==\"string\"?{...t,error:()=>t.error}:t}function V$(e){let t;return new Proxy({},{get(n,o,r){return t??(t=e()),Reflect.get(t,o,r)},set(n,o,r,i){return t??(t=e()),Reflect.set(t,o,r,i)},has(n,o){return t??(t=e()),Reflect.has(t,o)},deleteProperty(n,o){return t??(t=e()),Reflect.deleteProperty(t,o)},ownKeys(n){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(n,o){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,o)},defineProperty(n,o,r){return t??(t=e()),Reflect.defineProperty(t,o,r)}})}function w(e){return typeof e==\"bigint\"?e.toString()+\"n\":typeof e==\"string\"?`\"${e}\"`:`${e}`}function Od(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout===\"optional\")}var Ro={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Po={int64:[BigInt(\"-9223372036854775808\"),BigInt(\"9223372036854775807\")],uint64:[BigInt(0),BigInt(\"18446744073709551615\")]};function Z$(e,t){let n=e._zod.def,o=n.checks;if(o&&o.length>0)throw new Error(\".pick() cannot be used on object schemas containing refinements\");let i={};return _r(i,e,Uc(e,t)),Y(e,Ye(n,{shape:i,checks:[]}))}function Uc(e,t){let n=_t(e),o=[];for(let r of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(n,r)?.enumerable)throw new Error(`Unrecognized key: \"${String(r)}\"`);t[r]&&o.push(r)}return o}function F$(e,t){let n=e._zod.def,o=n.checks;if(o&&o.length>0)throw new Error(\".omit() cannot be used on object schemas containing refinements\");let i=new Set(Uc(e,t)),a={};return _r(a,e,Reflect.ownKeys(_t(e)).filter(s=>!i.has(s))),Y(e,Ye(n,{shape:a,checks:[]}))}function J$(e,t){if(!Je(t))throw new Error(\"Invalid input to extend: expected a plain object\");let n=e._zod.def.checks;if(n&&n.length>0){let r=_t(e);for(let i of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(r,i)!==void 0)throw new Error(\"Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.\")}return Y(e,Ye(e._zod.def,{shape:kv(e,t)}))}function kv(e,t){let n={};return _r(n,e,Reflect.ownKeys(_t(e))),j$(n,t),n}function H$(e,t){if(!Je(t))throw new Error(\"Invalid input to safeExtend: expected a plain object\");return Y(e,Ye(e._zod.def,{shape:kv(e,t)}))}function B$(e,t){if(!t?._zod?.def)throw new Error(\"Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.\");if(e._zod.def.checks?.length)throw new Error(\".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.\");let n={};_r(n,e,Reflect.ownKeys(_t(e))),_r(n,t,Reflect.ownKeys(_t(t)));let o=Ye(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return Y(e,o)}function K$(e,t,n,o=\"partial\"){let i=t._zod.def.checks;if(i&&i.length>0)throw new Error(`.${o}() cannot be used on object schemas containing refinements`);let s=n?new Set(Uc(t,n)):void 0,c={};return _r(c,t,Reflect.ownKeys(_t(t)),e&&((l,d)=>s&&!s.has(d)?l:new e({type:\"optional\",innerType:l}))),Y(t,Ye(t._zod.def,{shape:c,checks:[]}))}function G$(e,t,n){let o=n?new Set(Uc(t,n)):void 0,r={};return _r(r,t,Reflect.ownKeys(_t(t)),(i,a)=>o&&!o.has(a)?i:new e({type:\"nonoptional\",innerType:i})),Y(t,Ye(t._zod.def,{shape:r}))}function xe(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function Cd(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function Ee(e,t){return t.map(n=>{var o;return(o=n).path??(o.path=[]),n.path.unshift(e),n})}function vn(e){return typeof e==\"string\"?e:e?.message}function Dc(e,t,n){var o;for(let r=t;r<e.length;r++)(o=e[r]).schema??(o.schema=n)}function Oe(e,t,n){var o;let r=e.inst?._zod?.traits;r?.has(\"$ZodType\")&&(r.has(\"$ZodCheck\")?(o=e).schema??(o.schema=e.inst):e.schema=e.inst);let i=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,a=e.message?e.message:vn(e.inst?._zod.def?.error?.(e))??vn(i?.(e))??vn(t?.error?.(e))??vn(n.customError?.(e))??vn(n.localeError?.(e))??\"Invalid input\",s={};for(let c of Object.keys(e))c===\"inst\"||c===\"schema\"||c===\"continue\"||c===\"input\"||c===\"__proto__\"||(s[c]=e[c]);return s.path??(s.path=[]),s.message=a,t?.reportInput&&(s.input=e.input),s}function To(e){return e instanceof Set?\"set\":e instanceof Map?\"map\":e instanceof File?\"file\":\"unknown\"}var W$=/[\\uD800-\\uDBFF]/;function yr(e){let t=e.length;if(!W$.test(e))return t;let n=t;for(let o=0;o<t-1;o++)(e.charCodeAt(o)&64512)===55296&&(e.charCodeAt(o+1)&64512)===56320&&(n--,o++);return n}function Eo(e){return Array.isArray(e)?\"array\":typeof e==\"string\"?\"string\":\"unknown\"}function k(e){let t=typeof e;switch(t){case\"number\":return Number.isNaN(e)?\"nan\":\"number\";case\"object\":{if(e===null)return\"null\";if(Array.isArray(e))return\"array\";let n=e;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&\"constructor\"in n&&n.constructor)return n.constructor.name}}return t}function $n(...e){let[t,n,o]=e;return typeof t==\"string\"?{message:t,code:\"custom\",input:n,inst:o}:{...t}}function Y$(e){return Object.entries(e).filter(([t,n])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function xv(e){let t=atob(e),n=new Uint8Array(t.length);for(let o=0;o<t.length;o++)n[o]=t.charCodeAt(o);return n}function Iv(e){let t=\"\";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function X$(e){let t=e.replace(/-/g,\"+\").replace(/_/g,\"/\"),n=\"=\".repeat((4-t.length%4)%4);return xv(t+n)}function Q$(e){return Iv(e).replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/=/g,\"\")}function ez(e){let t=e.replace(/^0x/,\"\");if(t.length%2!==0)throw new Error(\"Invalid hex string length\");let n=new Uint8Array(t.length/2);for(let o=0;o<t.length;o+=2)n[o/2]=Number.parseInt(t.slice(o,o+2),16);return n}function tz(e){return Array.from(e).map(t=>t.toString(16).padStart(2,\"0\")).join(\"\")}var Id=class{constructor(...t){}};function Nd(e,t){for(let n in t){let o=Object.getOwnPropertyDescriptor(t,n);o.get?Object.defineProperty(e,n,{...o,enumerable:!1}):nz(e,n,o.value)}}function Ut(e,t,n,o=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:o,value:n}),n}function Oo(e,t,n){return Ut(e,t,n,!1)}function rz(e,t){for(let n in e){let o=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return Ut(this,n,o(this))},set(r){Ut(this,n,r)}})}return t}function nz(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:Ut(this,t,n.bind(this))},set(o){Ut(this,t,o)}})}function iz(e,t){let n=Object.getPrototypeOf(e);return t in n?void 0:n}var kd,At=!1,oz={configurable:!0,get(){At=!0}};function H(e,t,n){let o=Object.getPrototypeOf(e._zod);if(t in o&&kd!==e._zod){kd=void 0;return}kd=e._zod,Object.defineProperty(o,t,{configurable:!0,get(){Object.defineProperty(this,t,oz);let r=At;At=!1;try{let i=n(this);return At?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:i}),At=At||r,i}catch(i){throw delete this[t],At=At||r,i}},set(r){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:r})}})}function az(e,t,n,o){let r=iz(e,t);r&&Object.defineProperty(r,t,{configurable:!0,get(){let i={configurable:!0,writable:!0,enumerable:o,value:void 0};return Object.defineProperty(this,t,i),i.value=n(this),Object.defineProperty(this,t,i),i.value},set(i){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:o,value:i})}})}var Mc=\"~constantCatch\";function jd(e){let t=()=>e;return t[Mc]=!0,t}var Rv,Co=Object.freeze({status:\"aborted\"}),Ad={value:void 0,enumerable:!1},Pv=\"captureStackTrace\"in Error?Error:null;function sz(e){let t=Pv;if(t){let n=t.stackTraceLimit;if(typeof n==\"number\"){try{t.stackTraceLimit=0}catch{return Pv=null,new e}try{return new e}finally{t.stackTraceLimit=n}}}return new e}function v(e,t,n,o){let r={};function i(f){this.def=f,this.constr=p,this.traits=new Set}i.prototype=r;let a=n,s=a&&new WeakSet;function c(f,g){if(f._zod){if(f._zod.traits.has(e))return}else{Ad.value=new i(g);try{Object.defineProperty(f,\"_zod\",Ad)}finally{Ad.value=void 0}}if(f._zod.traits.add(e),t(f,g),s){let b=Object.getPrototypeOf(f),x=f._zod.constr.prototype,O=b;for(;O&&O!==x;)O=Object.getPrototypeOf(O);let P=O??b;s.has(P)||(s.add(P),Nd(P,a))}let _=p.prototype;for(let b in _)Object.prototype.hasOwnProperty.call(_,b)&&(b in f||(f[b]=_[b].bind(f)))}let l=o?.Parent??Object;class d extends l{}Object.defineProperty(d,\"name\",{value:e});function p(f){let g=o?.Parent?sz(d):this;c(g,f);let _=g._zod.deferred;if(_){for(let x of _)x();g._zod.deferred=void 0}let b=globalThis.__zod_globalConfig?.postProcessor;return b&&b(g),g}return Object.defineProperty(p,\"init\",{value:c}),Object.defineProperty(p,Symbol.hasInstance,{value:f=>o?.Parent&&f instanceof o.Parent?!0:f?._zod?.traits?.has(e)}),Object.defineProperty(p,\"name\",{value:e}),p}var Ud=Symbol(\"zod_brand\"),Ce=class extends Error{constructor(){super(\"Encountered Promise during synchronous parse. Use .parseAsync() instead.\")}},Dt=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name=\"ZodEncodeError\"}};(Rv=globalThis).__zod_globalConfig??(Rv.__zod_globalConfig={});var me=globalThis.__zod_globalConfig;function ae(e){return e&&Object.assign(me,e),me}function cz(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,Sn,2)),e.message}function lz(e){this._zod.message=e}var uz={get:cz,set:lz,enumerable:!0,configurable:!0},Md={value:void 0,enumerable:!1},Tv=new WeakSet([Object.prototype,Error.prototype]),Ev=(e,t)=>{e.name=\"$ZodError\",Md.value=t,Object.defineProperty(e,\"issues\",Md),Md.value=void 0,Object.defineProperty(e,\"message\",uz);let n=Object.getPrototypeOf(e);Tv.has(n)||(Tv.add(n),Object.defineProperty(n,\"toString\",{configurable:!0,enumerable:!1,get(){let o=()=>this.message;return Object.defineProperty(this,\"toString\",{value:o,configurable:!0,writable:!0}),o},set(o){Object.defineProperty(this,\"toString\",{value:o,configurable:!0,writable:!0})}}))},qd=v(\"$ZodError\",Ev),Ne=v(\"$ZodError\",Ev,void 0,{Parent:Error});function dz(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)||(t===\"__proto__\"?Object.defineProperty(e,t,{value:n(),writable:!0,enumerable:!0,configurable:!0}):e[t]=n()),e[t]}function No(e,t=n=>n.message){let n={},o=[];for(let r of e.issues)r.path.length>0?dz(n,r.path[0],()=>[]).push(t(r)):o.push(t(r));return{formErrors:o,fieldErrors:n}}function jo(e,t=n=>n.message){let n={_errors:[]},o=(r,i=[])=>{for(let a of r.issues)if(a.code===\"invalid_union\"&&a.errors.length)a.errors.map(s=>o({issues:s},[...i,...a.path]));else if(a.code===\"invalid_key\")o({issues:a.issues},[...i,...a.path]);else if(a.code===\"invalid_element\")o({issues:a.issues},[...i,...a.path]);else{let s=[...i,...a.path];if(s.length===0)n._errors.push(t(a));else{let c=n,l=0;for(;l<s.length;){let d=s[l],p=l===s.length-1;if(d===\"_errors\"){p&&c._errors.push(t(a)),l++;continue}Object.prototype.hasOwnProperty.call(c,d)||Object.defineProperty(c,d,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let f=c[d];p&&f._errors.push(t(a)),c=f,l++}}}};return o(e),n}function Ld(e,t=n=>n.message){let n={errors:[]},o=(r,i=[])=>{var a;for(let s of r.issues)if(s.code===\"invalid_union\"&&s.errors.length)s.errors.map(c=>o({issues:c},[...i,...s.path]));else if(s.code===\"invalid_key\")o({issues:s.issues},[...i,...s.path]);else if(s.code===\"invalid_element\")o({issues:s.issues},[...i,...s.path]);else{let c=[...i,...s.path];if(c.length===0){n.errors.push(t(s));continue}let l=n,d=0;for(;d<c.length;){let p=c[d],f=d===c.length-1;typeof p==\"string\"?(l.properties??(l.properties={}),Object.prototype.hasOwnProperty.call(l.properties,p)||Object.defineProperty(l.properties,p,{value:{errors:[]},enumerable:!0,writable:!0,configurable:!0}),l=l.properties[p]):(l.items??(l.items=[]),(a=l.items)[p]??(a[p]={errors:[]}),l=l.items[p]),f&&l.errors.push(t(s)),d++}}};return o(e),n}function Ov(e){let t=[],n=e.map(o=>typeof o==\"object\"?o.key:o);for(let o of n)typeof o==\"number\"?t.push(`[${o}]`):typeof o==\"symbol\"?t.push(`[${JSON.stringify(String(o))}]`):/[^\\w$]/.test(o)?t.push(`[${JSON.stringify(o)}]`):(t.length&&t.push(\".\"),t.push(o));return t.join(\"\")}function Vd(e){let t=[],n=[...e.issues].sort((o,r)=>(o.path??[]).length-(r.path??[]).length);for(let o of n)t.push(`\\u2716 ${o.message}`),o.path?.length&&t.push(` \\u2192 at ${Ov(o.path)}`);return t.join(`\n`)}function qc(e,t){return{callee:t?.callee??e,Err:t?.Err}}var zn=e=>{let t=(n,o,r,i)=>{let a=r?{...r,async:!1}:{async:!1},s=n._zod.run({value:o,issues:[]},a);if(s instanceof Promise)throw new Ce;if(s.issues.length){let c=new(i?.Err??e)(s.issues.map(l=>Oe(l,a,ae())));throw Ac(c,i?.callee??t),c}return s.value};return t},Lc=zn(Ne),wn=e=>{let t=async(n,o,r,i)=>{let a=r?{...r,async:!0}:{async:!0},s=n._zod.run({value:o,issues:[]},a);if(s instanceof Promise&&(s=await s),s.issues.length){let c=new(i?.Err??e)(s.issues.map(l=>Oe(l,a,ae())));throw Ac(c,i?.callee??t),c}return s.value};return t},Vc=wn(Ne),kn=e=>(t,n,o)=>{let r=o?{...o,async:!1}:{async:!1},i=t._zod.run({value:n,issues:[]},r);if(i instanceof Promise)throw new Ce;return i.issues.length?Cv(e,i.issues,r):{success:!0,data:i.value}},pz=kn(Ne);function Cv(e,t,n){let o;return{success:!1,get error(){return o||(o=new e(t.map(r=>Oe(r,n,ae()))),t=void 0,n=void 0),o},set error(r){o=r,t=void 0,n=void 0}}}var xn=e=>async(t,n,o)=>{let r=o?{...o,async:!0}:{async:!0},i=t._zod.run({value:n,issues:[]},r);return i instanceof Promise&&(i=await i),i.issues.length?Cv(e,i.issues,r):{success:!0,data:i.value}},fz=xn(Ne),hz=Symbol.for(\"zod.compile.invalid\"),gz=Symbol.for(\"zod.compile.fallback\"),Ao=((e,t,n)=>{let o=e._zod.bag.validator;if(o!==void 0){if(o(t)!==hz)return!0;if(o.definite===!0&&n===void 0)return!1}return vz(e,t,n)});function vz(e,t,n){let o=n?{...n,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},r=e._zod.bag.fallbackRun,i;if(r?(o[gz]=!0,i=r({value:t,issues:[]},o)):i=e._zod.run({value:t,issues:[]},o),i instanceof Promise)throw new Ce;return i.issues.length===0}var Uo=async(e,t,n)=>{let o=n?{...n,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},r=e._zod.run({value:t,issues:[]},o);return r instanceof Promise&&(r=await r),r.issues.length===0},Zc=e=>{let t=zn(e),n=(o,r,i,a)=>{let s=i?{...i,direction:\"backward\"}:{direction:\"backward\"};return t(o,r,s,qc(n,a))};return n},_z=Zc(Ne),Fc=e=>{let t=zn(e),n=(o,r,i,a)=>t(o,r,i,qc(n,a));return n},Sz=Fc(Ne),Jc=e=>{let t=wn(e),n=async(o,r,i,a)=>{let s=i?{...i,direction:\"backward\"}:{direction:\"backward\"};return await t(o,r,s,qc(n,a))};return n},yz=Jc(Ne),Hc=e=>{let t=wn(e),n=async(o,r,i,a)=>await t(o,r,i,qc(n,a));return n},bz=Hc(Ne),Bc=e=>(t,n,o)=>{let r=o?{...o,direction:\"backward\"}:{direction:\"backward\"};return kn(e)(t,n,r)},$z=Bc(Ne),Kc=e=>(t,n,o)=>kn(e)(t,n,o),zz=Kc(Ne),Gc=e=>async(t,n,o)=>{let r=o?{...o,direction:\"backward\"}:{direction:\"backward\"};return xn(e)(t,n,r)},wz=Gc(Ne),Wc=e=>async(t,n,o)=>xn(e)(t,n,o),kz=Wc(Ne);var Be={};vt(Be,{anyString:()=>hm,base64:()=>am,base64url:()=>sm,bigint:()=>vm,boolean:()=>_m,browserEmail:()=>Cz,cidrv4:()=>im,cidrv6:()=>om,creditCard:()=>Yc,cuid:()=>Fd,cuid2:()=>Jd,currencyCode:()=>dm,date:()=>mm,datetime:()=>fm,domain:()=>lm,duration:()=>Yd,e164:()=>um,email:()=>Qd,emoji:()=>em,extendedDuration:()=>xz,guid:()=>Xd,hex:()=>zm,hostname:()=>cm,html5Email:()=>Tz,httpProtocol:()=>Do,iban:()=>Xc,idnEmail:()=>Oz,integer:()=>Mo,ipv4:()=>tm,ipv6:()=>rm,ksuid:()=>Kd,lowercase:()=>bm,mac:()=>nm,md5_base64:()=>Uz,md5_base64url:()=>Dz,md5_hex:()=>Az,nanoid:()=>Gd,nanoidOfLength:()=>Wd,null:()=>Sm,number:()=>yt,rfc5322Email:()=>Ez,sha1_base64:()=>qz,sha1_base64url:()=>Lz,sha1_hex:()=>Mz,sha256_base64:()=>Zz,sha256_base64url:()=>Fz,sha256_hex:()=>Vz,sha384_base64:()=>Hz,sha384_base64url:()=>Bz,sha384_hex:()=>Jz,sha512_base64:()=>Gz,sha512_base64url:()=>Wz,sha512_hex:()=>Kz,string:()=>gm,time:()=>pm,ulid:()=>Hd,undefined:()=>ym,unicodeEmail:()=>Nv,uppercase:()=>$m,uuid:()=>br,uuid4:()=>Iz,uuid6:()=>Rz,uuid7:()=>Pz,xid:()=>Bd});var Fd=/^[cC][0-9a-z]{6,}$/,Jd=/^[0-9a-z]+$/,Hd=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,Bd=/^[0-9a-vA-V]{20}$/,Kd=/^[A-Za-z0-9]{27}$/,Gd=/^[a-zA-Z0-9_-]{21}$/;function Wd(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var Yd=/^P(?:(\\d+W)|(?!.*W)(?=\\d|T\\d)(\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+([.,]\\d+)?S)?)?)$/,xz=/^[-+]?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)?)??$/,Xd=/^([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})$/,br=e=>e?new 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)$/,Iz=br(4),Rz=br(6),Pz=br(7),Qd=/^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$/,Tz=/^[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])?)*$/,Ez=/^(([^<>()\\[\\]\\\\.,;:\\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,}))$/,Nv=/^[^\\s@\"]{1,64}@[^\\s@]{1,255}$/u,Oz=Nv,Cz=/^[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])?)*$/,Nz=\"^(?=[\\\\s\\\\S]*[\\\\p{Extended_Pictographic}\\\\p{Regional_Indicator}\\\\u20E3])[\\\\p{Extended_Pictographic}\\\\p{Emoji_Component}]+$\";function em(){return new RegExp(Nz,\"u\")}var tm=/^(?:(?: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])$/,rm=/^(([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}|:))$/,nm=e=>{let t=He(e??\":\");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},im=/^((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])$/,om=/^(([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}|:))\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,am=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,sm=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,cm=/^(?=.{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])?)*\\.?$/,lm=/^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,63}$/,Do=/^https?$/,um=/^\\+[1-9]\\d{6,14}$/,Yc=/^\\d(?:[ -]?\\d){11,18}$/,dm=/^(?:AED|AFN|ALL|AMD|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLE|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VED|VES|VND|VUV|WST|XAD|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XCG|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWG)$/,Xc=/^[A-Z]{2}(?!00|01|99)\\d{2}[A-Z0-9]{11,30}$/,jv=\"(?:(?:\\\\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])))\";function jz(e){return new RegExp(`^${e}$`)}var mm=jz(jv);function Zd(e){let t=\"(?:[01]\\\\d|2[0-3]):[0-5]\\\\d\";return typeof e.precision==\"number\"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\\\d`:`${t}:[0-5]\\\\d\\\\.\\\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\\\d(?:\\\\.\\\\d+)?`:`${t}(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?`}function pm(e){return new RegExp(`^${Zd(e)}$`)}function fm(e){let t=[\"Z\"];e.offset&&t.push(\"([+-](?:[01]\\\\d|2[0-3]):[0-5]\\\\d)\");let n=`${Zd({precision:e.precision,seconds:!0})}(?:${t.join(\"|\")})`,o=e.local?`${n}|${Zd({precision:e.precision})}`:n;return new RegExp(`^${jv}T(?:${o})$`)}var hm=/^[\\s\\S]{0,}$/,gm=e=>{let t=e?`[\\\\s\\\\S]{${e?.minimum??0},${e?.maximum??\"\"}}`:\"[\\\\s\\\\S]*\";return new RegExp(`^${t}$`)},vm=/^-?\\d+n?$/,Mo=/^-?\\d+$/,yt=/^-?\\d+(?:\\.\\d+)?$/,_m=/^(?:true|false)$/i,Sm=/^null$/i;var ym=/^undefined$/i;var bm=/^[^A-Z]*$/,$m=/^[^a-z]*$/,zm=/^[0-9a-fA-F]*$/;function qo(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function Lo(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var Az=/^[0-9a-fA-F]{32}$/,Uz=qo(22,\"==\"),Dz=Lo(22),Mz=/^[0-9a-fA-F]{40}$/,qz=qo(27,\"=\"),Lz=Lo(27),Vz=/^[0-9a-fA-F]{64}$/,Zz=qo(43,\"=\"),Fz=Lo(43),Jz=/^[0-9a-fA-F]{96}$/,Hz=qo(64,\"\"),Bz=Lo(64),Kz=/^[0-9a-fA-F]{128}$/,Gz=qo(86,\"==\"),Wz=Lo(86);var te=v(\"$ZodCheck\",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),wm=e=>{let t=e.value;return!jc(t)&&t.size!==void 0},km=e=>{let t=e.value;return!jc(t)&&t.length!==void 0},Qc={number:\"number\",bigint:\"bigint\",object:\"date\"},tl=v(\"$ZodCheckLessThan\",(e,t)=>{te.init(e,t);let n=Qc[typeof t.value];e._zod.check=o=>{(t.inclusive?o.value<=t.value:o.value<t.value)||o.issues.push({origin:Qc[typeof o.value]??n,code:\"too_big\",maximum:typeof t.value==\"object\"?t.value.getTime():t.value,input:o.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),rl=v(\"$ZodCheckGreaterThan\",(e,t)=>{te.init(e,t);let n=Qc[typeof t.value];e._zod.check=o=>{(t.inclusive?o.value>=t.value:o.value>t.value)||o.issues.push({origin:Qc[typeof o.value]??n,code:\"too_small\",minimum:typeof t.value==\"object\"?t.value.getTime():t.value,input:o.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),xm=v(\"$ZodCheckMultipleOf\",(e,t)=>{te.init(e,t),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error(\"Cannot mix number and bigint in multiple_of check.\");(typeof n.value==\"bigint\"?t.value!==BigInt(0)&&n.value%t.value===BigInt(0):ko(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:\"not_multiple_of\",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),Im=v(\"$ZodCheckNumberFormat\",(e,t)=>{te.init(e,t),t.format=t.format||\"float64\";let n=t.format?.includes(\"int\"),o=n?\"int\":\"number\",[r,i]=Ro[t.format];e._zod.check=a=>{let s=a.value;if(n){if(!Number.isInteger(s)){a.issues.push({expected:o,format:t.format,code:\"invalid_type\",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:\"too_big\",maximum:Number.MAX_SAFE_INTEGER,note:\"Integers must be within the safe integer range.\",inst:e,origin:o,inclusive:!0,continue:!t.abort}):a.issues.push({input:s,code:\"too_small\",minimum:Number.MIN_SAFE_INTEGER,note:\"Integers must be within the safe integer range.\",inst:e,origin:o,inclusive:!0,continue:!t.abort});return}}s<r&&a.issues.push({origin:\"number\",input:s,code:\"too_small\",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),s>i&&a.issues.push({origin:\"number\",input:s,code:\"too_big\",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),Rm=v(\"$ZodCheckBigIntFormat\",(e,t)=>{te.init(e,t);let[n,o]=Po[t.format];e._zod.check=r=>{let i=r.value;i<n&&r.issues.push({origin:\"bigint\",input:i,code:\"too_small\",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),i>o&&r.issues.push({origin:\"bigint\",input:i,code:\"too_big\",maximum:o,inclusive:!0,inst:e,continue:!t.abort})}}),Pm=v(\"$ZodCheckMaxSize\",(e,t)=>{var n;te.init(e,t),(n=e._zod.def).when??(n.when=wm),e._zod.check=o=>{let r=o.value;r.size<=t.maximum||o.issues.push({origin:To(r),code:\"too_big\",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Tm=v(\"$ZodCheckMinSize\",(e,t)=>{var n;te.init(e,t),(n=e._zod.def).when??(n.when=wm),e._zod.check=o=>{let r=o.value;r.size>=t.minimum||o.issues.push({origin:To(r),code:\"too_small\",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Em=v(\"$ZodCheckSizeEquals\",(e,t)=>{var n;te.init(e,t),(n=e._zod.def).when??(n.when=wm),e._zod.check=o=>{let r=o.value,i=r.size;if(i===t.size)return;let a=i>t.size;o.issues.push({origin:To(r),...a?{code:\"too_big\",maximum:t.size}:{code:\"too_small\",minimum:t.size},inclusive:!0,exact:!0,input:o.value,inst:e,continue:!t.abort})}}),Om=v(\"$ZodCheckMaxLength\",(e,t)=>{var n;te.init(e,t),(n=e._zod.def).when??(n.when=km),e._zod.check=o=>{let r=o.value,i=r.length;if((typeof r==\"string\"&&i>t.maximum?yr(r):i)<=t.maximum)return;let s=Eo(r);o.issues.push({origin:s,code:\"too_big\",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Cm=v(\"$ZodCheckMinLength\",(e,t)=>{var n;te.init(e,t),(n=e._zod.def).when??(n.when=km),e._zod.check=o=>{let r=o.value,i=r.length;if((typeof r==\"string\"&&i>=t.minimum&&i<t.minimum*2?yr(r):i)>=t.minimum)return;let s=Eo(r);o.issues.push({origin:s,code:\"too_small\",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Nm=v(\"$ZodCheckLengthEquals\",(e,t)=>{var n;te.init(e,t),(n=e._zod.def).when??(n.when=km),e._zod.check=o=>{let r=o.value,i=r.length,a=typeof r==\"string\"&&i>=t.length&&i<=t.length*2?yr(r):i;if(a===t.length)return;let s=Eo(r),c=a>t.length;o.issues.push({origin:s,...c?{code:\"too_big\",maximum:t.length}:{code:\"too_small\",minimum:t.length},inclusive:!0,exact:!0,input:o.value,inst:e,continue:!t.abort})}}),In=v(\"$ZodCheckStringFormat\",(e,t)=>{var n,o;te.init(e,t),t.pattern?(n=e._zod).check??(n.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:\"string\",code:\"invalid_format\",format:t.format,input:r.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(o=e._zod).check??(o.check=()=>{})}),jm=v(\"$ZodCheckRegex\",(e,t)=>{In.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:\"string\",code:\"invalid_format\",format:\"regex\",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Am=v(\"$ZodCheckLowerCase\",(e,t)=>{t.pattern??(t.pattern=bm),In.init(e,t)}),Um=v(\"$ZodCheckUpperCase\",(e,t)=>{t.pattern??(t.pattern=$m),In.init(e,t)}),Dm=v(\"$ZodCheckIncludes\",(e,t)=>{te.init(e,t);let n=He(t.includes),o=new RegExp(typeof t.position==\"number\"?`^.{${t.position},}${n}`:n);t.pattern=o,e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:\"string\",code:\"invalid_format\",format:\"includes\",includes:t.includes,input:r.value,inst:e,continue:!t.abort})}}),Mm=v(\"$ZodCheckStartsWith\",(e,t)=>{te.init(e,t);let n=new RegExp(`^${He(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.check=o=>{o.value.startsWith(t.prefix)||o.issues.push({origin:\"string\",code:\"invalid_format\",format:\"starts_with\",prefix:t.prefix,input:o.value,inst:e,continue:!t.abort})}}),qm=v(\"$ZodCheckEndsWith\",(e,t)=>{te.init(e,t);let n=new RegExp(`.*${He(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.check=o=>{o.value.endsWith(t.suffix)||o.issues.push({origin:\"string\",code:\"invalid_format\",format:\"ends_with\",suffix:t.suffix,input:o.value,inst:e,continue:!t.abort})}});function el(e,t,n){e.issues.length&&t.issues.push(...Ee(n,e.issues))}var Lm=v(\"$ZodCheckProperty\",(e,t)=>{te.init(e,t),e._zod.check=n=>{let o=t.schema._zod.run({value:n.value[t.property],issues:[]},{});if(o instanceof Promise)return o.then(r=>el(r,n,t.property));el(o,n,t.property)}}),Vm=v(\"$ZodCheckProperties\",(e,t)=>{te.init(e,t),Oo(e,Symbol.iterator,function*(){yield e});let n;e._zod.check=o=>{if(o.value==null){o.issues.push({expected:\"object\",code:\"invalid_type\",input:o.value,inst:e});return}n??(n=Reflect.ownKeys(t.shape).map(a=>[a,t.shape[a]]));let r=o.value,i;for(let[a,s]of n){let c=s._zod.run({value:r[a],issues:[]},{});c instanceof Promise?(i??(i=[]),i.push(c.then(l=>el(l,o,a)))):el(c,o,a)}if(i)return Promise.all(i).then(()=>{})}}),Zm=v(\"$ZodCheckMimeType\",(e,t)=>{te.init(e,t);let n=new Set(t.mime);e._zod.check=o=>{n.has(o.value.type)||o.issues.push({code:\"invalid_value\",values:t.mime,input:o.value.type,inst:e,continue:!t.abort})}}),Fm=v(\"$ZodCheckOverwrite\",(e,t)=>{te.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});var $r=class{constructor(t=[],n={}){this.content=[],this.indent=0,this.args=t,this.closed=n}indented(t){this.indent+=1;try{t(this)}finally{this.indent-=1}}write(t){if(typeof t==\"function\"){t(this,{execution:\"sync\"}),t(this,{execution:\"async\"});return}let o=t.split(`\n`).filter(a=>a),r=Math.min(...o.map(a=>a.length-a.trimStart().length)),i=o.map(a=>a.slice(r)).map(a=>\" \".repeat(this.indent*2)+a);for(let a of i)this.content.push(a)}compile(){let t=Function,n=this?.content??[\"\"];return new t(...Object.keys(this.closed),`return function (${this.args.join(\", \")}) {\n${n.join(`\n`)}\n};`)(...Object.values(this.closed))}};var Jm={major:4,minor:6,patch:5};var Z=v(\"$ZodType\",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Jm;let o=e._zod.def.checks,r=e._zod.traits.has(\"$ZodCheck\")?[e,...o??[]]:o?.length?[...o]:[];for(let i of r)for(let a of i._zod.onattach)a(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let i=(s,c,l)=>{if(s.memo)return s;let d=xe(s),p;for(let f of c){if(f._zod.def.when){if(Cd(s)||!f._zod.def.when(s))continue}else if(d)continue;let g=s.issues.length,_=f._zod.check(s);if(_ instanceof Promise&&l?.async===!1)throw new Ce;if(p||_ instanceof Promise)p=(p??Promise.resolve()).then(async()=>{await _,s.issues.length!==g&&(Dc(s.issues,g,e),d||(d=xe(s,g)))});else{if(s.issues.length===g)continue;Dc(s.issues,g,e),d||(d=xe(s,g))}}return p?p.then(()=>s):s},a=(s,c,l)=>{if(xe(s))return s.aborted=!0,s;let d=i(c,r,l);if(d instanceof Promise){if(l.async===!1)throw new Ce;return d.then(p=>e._zod.parse(p,l))}return e._zod.parse(d,l)};e._zod.run=(s,c)=>{if(c.skipChecks)return e._zod.parse(s,c);if(c.direction===\"backward\"){let d=e._zod.parse({value:s.value,issues:[]},{...c,skipChecks:!0});return d instanceof Promise?d.then(p=>a(p,s,c)):a(d,s,c)}let l=e._zod.parse(s,c);if(l instanceof Promise){if(c.async===!1)throw new Ce;return l.then(d=>i(d,r,c))}return i(l,r,c)}}},{get\"~standard\"(){return Oo(this,\"~standard\",sl(this))},set\"~standard\"(e){Ut(this,\"~standard\",e)}}),Xv=(e,t)=>e.issues.length?{issues:e.issues.map(n=>Oe(n,t,ae()))}:{value:e.value};async function Yz(e,t){let n={async:!0};return Xv(await e._zod.run({value:t,issues:[]},n),n)}function sl(e){return{validate:t=>{let n={async:!1};try{let o=e._zod.run({value:t,issues:[]},n);if(!(o instanceof Promise))return Xv(o,n)}catch{}return Yz(e,t)},vendor:\"zod\",version:1}}var zr=v(\"$ZodString\",(e,t)=>{Z.init(e,t),e._zod.pattern=t.pattern??hm,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==\"string\"||n.issues.push({expected:\"string\",code:\"invalid_type\",input:n.value,inst:e}),n}}),X=v(\"$ZodStringFormat\",(e,t)=>{In.init(e,t),zr.init(e,t)}),Bm=v(\"$ZodGUID\",(e,t)=>{t.pattern??(t.pattern=Xd),X.init(e,t)}),Km=v(\"$ZodUUID\",(e,t)=>{if(t.version){let o={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(o===void 0)throw new Error(`Invalid UUID version: \"${t.version}\"`);t.pattern??(t.pattern=br(o))}else t.pattern??(t.pattern=br());X.init(e,t)}),Gm=v(\"$ZodEmail\",(e,t)=>{t.pattern??(t.pattern=Qd),X.init(e,t)}),Wm=1,Vo=2;function Ym(e){try{return typeof URL<\"u\"&&typeof URL.canParse==\"function\"?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function cl(e,t){return!(\"normalize\"in t)&&!(\"hostname\"in t)&&!(\"protocol\"in t)?Ym(e)||Vo:Qv(e,t)}function Qv(e,t){if(!t.normalize&&t.protocol?.source===Do.source&&!/^https?:\\/\\//i.test(e))return Wm;try{if(typeof URL<\"u\"){let n=URL;if(typeof n.parse==\"function\")return n.parse(e)??Vo}return new URL(e)}catch{return Vo}}var Xz=/[\\t\\n\\r]/g;function Zo(e){return e.replace(Xz,\"\")}function ll(e,t){return t.lastIndex=0,t.test(e.hostname)}function ul(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(\":\")?e.protocol.slice(0,-1):e.protocol)}var Xm=v(\"$ZodURL\",(e,t)=>{X.init(e,t),e._zod.check=n=>{try{let o=n.value.trim(),r=cl(o,t);if(r===Wm){n.issues.push({code:\"invalid_format\",format:\"url\",note:\"Invalid URL format\",input:n.value,inst:e,continue:!t.abort});return}if(r===Vo){n.issues.push({code:\"invalid_format\",format:\"url\",input:n.value,inst:e,continue:!t.abort});return}if(r===!0){n.value=Zo(o);return}t.hostname&&!ll(r,t.hostname)&&n.issues.push({code:\"invalid_format\",format:\"url\",note:\"Invalid hostname\",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort}),t.protocol&&!ul(r,t.protocol)&&n.issues.push({code:\"invalid_format\",format:\"url\",note:\"Invalid protocol\",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort}),n.value=t.normalize?r.href:Zo(o);return}catch{n.issues.push({code:\"invalid_format\",format:\"url\",input:n.value,inst:e,continue:!t.abort})}}}),Qm=v(\"$ZodEmoji\",(e,t)=>{t.pattern??(t.pattern=em()),X.init(e,t)}),ep=v(\"$ZodNanoID\",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw new Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?Gd:Wd(t.length)),X.init(e,t)}),tp=v(\"$ZodCUID\",(e,t)=>{t.pattern??(t.pattern=Fd),X.init(e,t)}),rp=v(\"$ZodCUID2\",(e,t)=>{t.pattern??(t.pattern=Jd),X.init(e,t)}),np=v(\"$ZodULID\",(e,t)=>{t.pattern??(t.pattern=Hd),X.init(e,t)}),ip=v(\"$ZodXID\",(e,t)=>{t.pattern??(t.pattern=Bd),X.init(e,t)}),op=v(\"$ZodKSUID\",(e,t)=>{t.pattern??(t.pattern=Kd),X.init(e,t)}),ap=v(\"$ZodISODateTime\",(e,t)=>{t.pattern??(t.pattern=fm(t)),X.init(e,t)}),sp=v(\"$ZodISODate\",(e,t)=>{t.pattern??(t.pattern=mm),X.init(e,t)}),cp=v(\"$ZodISOTime\",(e,t)=>{t.pattern??(t.pattern=pm(t)),X.init(e,t)}),lp=v(\"$ZodISODuration\",(e,t)=>{t.pattern??(t.pattern=Yd),X.init(e,t)}),up=v(\"$ZodIPv4\",(e,t)=>{t.pattern??(t.pattern=tm),X.init(e,t)}),Qz=/^[0-9a-fA-F:.]+$/;function Fo(e){return Qz.test(e)?Ym(`http://[${e}]`):!1}var dp=v(\"$ZodIPv6\",(e,t)=>{t.pattern??(t.pattern=rm),X.init(e,t),e._zod.check=n=>{Fo(n.value)||n.issues.push({code:\"invalid_format\",format:\"ipv6\",input:n.value,inst:e,continue:!t.abort})}}),mp=v(\"$ZodMAC\",(e,t)=>{t.pattern??(t.pattern=nm(t.delimiter)),X.init(e,t)}),pp=v(\"$ZodCIDRv4\",(e,t)=>{t.pattern??(t.pattern=im),X.init(e,t)});function dl(e){let t=e.split(\"/\");if(t.length!==2)return!1;let[n,o]=t;if(!o)return!1;let r=Number(o);return`${r}`!==o||r<0||r>128?!1:Fo(n)}var fp=v(\"$ZodCIDRv6\",(e,t)=>{t.pattern??(t.pattern=om),X.init(e,t),e._zod.check=n=>{dl(n.value)||n.issues.push({code:\"invalid_format\",format:\"cidrv6\",input:n.value,inst:e,continue:!t.abort})}});function Jo(e){if(e===\"\")return!0;if(/\\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var ml=/^[0-9a-zA-Z+/]*={0,2}$/,hp=v(\"$ZodBase64\",(e,t)=>{t.pattern??(t.pattern=ml),X.init(e,t),e._zod.check=n=>{Jo(n.value)||n.issues.push({code:\"invalid_format\",format:\"base64\",input:n.value,inst:e,continue:!t.abort})}}),Ho=/^[A-Za-z0-9_-]*$/;function pl(e){if(!Ho.test(e))return!1;let t=e.replace(/[-_]/g,o=>o===\"-\"?\"+\":\"/\"),n=t.padEnd(Math.ceil(t.length/4)*4,\"=\");return Jo(n)}var gp=v(\"$ZodBase64URL\",(e,t)=>{t.pattern??(t.pattern=Ho),X.init(e,t),e._zod.check=n=>{pl(n.value)||n.issues.push({code:\"invalid_format\",format:\"base64url\",input:n.value,inst:e,continue:!t.abort})}}),vp=v(\"$ZodE164\",(e,t)=>{t.pattern??(t.pattern=um),X.init(e,t)}),ew=/[- ]/g;function tw(e){let t=e.length,n=1,o=0;for(;t;){let r=e.charCodeAt(--t)-48;n^=1,o+=n?[0,2,4,6,8,1,3,5,7,9][r]:r}return o%10===0}function fl(e){return Yc.test(e)?tw(e.replace(ew,\"\")):!1}var _p=v(\"$ZodCreditCard\",(e,t)=>{t.pattern??(t.pattern=Yc),X.init(e,t),e._zod.check=n=>{fl(n.value)||n.issues.push({code:\"invalid_format\",format:\"credit_card\",input:n.value,inst:e,continue:!t.abort})}});function rw(e){let t=0,n=e.length;for(let o=4;o<n;o++){let r=e.charCodeAt(o);t=(r>=65?t*100+(r-55):t*10+(r-48))%97}for(let o=0;o<4;o++){let r=e.charCodeAt(o);t=(r>=65?t*100+(r-55):t*10+(r-48))%97}return t===1}function hl(e){return Xc.test(e)?rw(e):!1}var Sp=v(\"$ZodIBAN\",(e,t)=>{t.pattern??(t.pattern=Xc),X.init(e,t),e._zod.check=n=>{hl(n.value)||n.issues.push({code:\"invalid_format\",format:\"iban\",input:n.value,inst:e,continue:!t.abort})}});function gl(e,t=null){try{let n=e.split(\".\");if(n.length!==3)return!1;let[o]=n;if(!o)return!1;let r=JSON.parse(atob(o));return!(\"typ\"in r&&r?.typ!==\"JWT\"||!r.alg||t&&(!(\"alg\"in r)||r.alg!==t))}catch{return!1}}var yp=v(\"$ZodJWT\",(e,t)=>{X.init(e,t),e._zod.check=n=>{gl(n.value,t.alg)||n.issues.push({code:\"invalid_format\",format:\"jwt\",input:n.value,inst:e,continue:!t.abort})}}),bp=v(\"$ZodCustomStringFormat\",(e,t)=>{X.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:\"invalid_format\",format:t.format,input:n.value,inst:e,continue:!t.abort})}}),vl=v(\"$ZodNumber\",(e,t)=>{Z.init(e,t),e._zod.pattern=yt,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let r=n.value;if(typeof r==\"number\"&&!Number.isNaN(r)&&Number.isFinite(r))return n;let i=typeof r==\"number\"?Number.isNaN(r)?\"NaN\":Number.isFinite(r)?void 0:String(r):void 0;return n.issues.push({expected:\"number\",code:\"invalid_type\",input:r,inst:e,...i?{received:i}:{}}),n}}),$p=v(\"$ZodNumberFormat\",(e,t)=>{Im.init(e,t),vl.init(e,t)}),Bo=v(\"$ZodBoolean\",(e,t)=>{Z.init(e,t),e._zod.pattern=_m,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=!!n.value}catch{}let r=n.value;return typeof r==\"boolean\"||n.issues.push({expected:\"boolean\",code:\"invalid_type\",input:r,inst:e}),n}}),_l=v(\"$ZodBigInt\",(e,t)=>{Z.init(e,t),e._zod.pattern=vm,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=BigInt(n.value)}catch{}return typeof n.value==\"bigint\"||n.issues.push({expected:\"bigint\",code:\"invalid_type\",input:n.value,inst:e}),n}}),zp=v(\"$ZodBigIntFormat\",(e,t)=>{Rm.init(e,t),_l.init(e,t)}),wp=v(\"$ZodSymbol\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;return typeof r==\"symbol\"||n.issues.push({expected:\"symbol\",code:\"invalid_type\",input:r,inst:e}),n}}),kp=v(\"$ZodUndefined\",(e,t)=>{Z.init(e,t),e._zod.pattern=ym,e._zod.values=new Set([void 0]),e._zod.parse=(n,o)=>{let r=n.value;return typeof r>\"u\"||n.issues.push({expected:\"undefined\",code:\"invalid_type\",input:r,inst:e}),n}}),xp=v(\"$ZodNull\",(e,t)=>{Z.init(e,t),e._zod.pattern=Sm,e._zod.values=new Set([null]),e._zod.parse=(n,o)=>{let r=n.value;return r===null||n.issues.push({expected:\"null\",code:\"invalid_type\",input:r,inst:e}),n}}),Ip=v(\"$ZodAny\",(e,t)=>{Z.init(e,t),e._zod.parse=n=>n}),Rp=v(\"$ZodUnknown\",(e,t)=>{Z.init(e,t),e._zod.parse=n=>n}),Pp=v(\"$ZodNever\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>(n.issues.push({expected:\"never\",code:\"invalid_type\",input:n.value,inst:e}),n)}),Tp=v(\"$ZodVoid\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;return typeof r>\"u\"||n.issues.push({expected:\"void\",code:\"invalid_type\",input:r,inst:e}),n}}),Ep=v(\"$ZodDate\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=new Date(n.value)}catch{}let r=n.value,i=r instanceof Date;return i&&!Number.isNaN(r.getTime())||n.issues.push({expected:\"date\",code:\"invalid_type\",input:r,...i?{received:\"Invalid Date\"}:{},inst:e}),n}});function Uv(e,t,n){e.issues.length&&t.issues.push(...Ee(n,e.issues)),t.value[n]=e.value}var Op=v(\"$ZodArray\",(e,t)=>{Z.init(e,t);let n=me.memoizer;n?.attach(e),e._zod.parse=(o,r)=>{let i=o.value;if(!Array.isArray(i))return o.issues.push({expected:\"array\",code:\"invalid_type\",input:i,inst:e}),o;o.value=n?n.alloc(e,o,Array(i.length),r):Array(i.length);let a=[],s=r?.abortEarly;for(let c=0;c<i.length;c++){let l=i[c],d=t.element._zod.run({value:l,issues:[]},r);if(d instanceof Promise)a.push(d.then(p=>Uv(p,o,c)));else if(Uv(d,o,c),s&&d.issues.length!==0&&xe(d))break}return a.length?Promise.all(a).then(()=>o):o}});function al(e,t,n,o,r,i){let a=n in o,s=i===\"optional\";if(!(!a&&s&&r===\"optional\")){if(e.issues.length){if(r!==void 0&&s&&!a)return;t.issues.push(...Ee(n,e.issues))}if(!a&&r===void 0){e.issues.length||t.issues.push({code:\"invalid_type\",expected:\"nonoptional\",input:void 0,path:[n]});return}e.value===void 0?(a||r===\"defaulted\"&&!s)&&(t.value[n]=void 0):t.value[n]=e.value}}var nw=[];function e_(e){let t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),o=n.length?n:nw,r=o.length?[...t,...o]:t;for(let a of r)if(!e.shape?.[a]?._zod?.traits?.has(\"$ZodType\"))throw new Error(`Invalid element at key \"${String(a)}\": expected a Zod schema`);let i=Od(e.shape);return{...e,allKeys:r,symbolKeys:o,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(i)}}function t_(e,t,n,o,r,i,a){let s=[],c=r.keySet,l=r.catchall._zod,d=l.def.type,p=l.optin,f=l.optout,g=0;for(let _ in t){if(a&&n.issues.length!==g){if(xe(n,g))break;g=n.issues.length}if(c.has(_))continue;if(_===\"__proto__\"){d===\"never\"&&s.push(_);continue}if(d===\"never\"){s.push(_);continue}let b=l.run({value:t[_],issues:[]},o);b instanceof Promise?e.push(b.then(x=>al(x,n,_,t,p,f))):al(b,n,_,t,p,f)}return s.length&&n.issues.push({code:\"unrecognized_keys\",keys:s,input:t,inst:i,continue:!0}),e.length?Promise.all(e).then(()=>n):n}var r_=v(\"$ZodObject\",(e,t)=>{Z.init(e,t);let n=Object.getOwnPropertyDescriptor(t,\"shape\"),o=n?.get?n.get.raw:t.shape??{};if(o){let l=()=>{let d={...o};return Object.defineProperty(t,\"shape\",{value:d}),l.raw=d,d};l.raw=o,Object.defineProperty(t,\"shape\",{get:l})}let r=yn(()=>e_(t));H(e,\"propValues\",l=>{let d=l.def.shape,p={};for(let f in d){let g=d[f]._zod;if(g.values){Object.prototype.hasOwnProperty.call(p,f)||he(p,f,new Set);for(let _ of g.values)p[f].add(_);g.optin!==void 0&&p[f].add(void 0)}}return p});let i=Sr,a=t.catchall,s,c=me.memoizer;c?.attach(e),e._zod.parse=(l,d)=>{s??(s=r.value);let p=l.value;if(!i(p))return l.issues.push({expected:\"object\",code:\"invalid_type\",input:p,inst:e}),l;l.value=c?c.alloc(e,l,{},d):{};let f=[],g=s.shape,_=d?.abortEarly,b=l.issues.length;for(let x of s.allKeys){if(_&&l.issues.length!==b){if(xe(l,b))break;b=l.issues.length}if(x===\"__proto__\")continue;let O=g[x],P=O._zod.optin,U=O._zod.optout,J=O._zod.run({value:p[x],issues:[]},d);J instanceof Promise?f.push(J.then(G=>al(G,l,x,p,P,U))):al(J,l,x,p,P,U)}return a?t_(f,p,l,d,r.value,e,_===!0):f.length?Promise.all(f).then(()=>l):l}}),Cp=v(\"$ZodObjectJIT\",(e,t)=>{r_.init(e,t);let n=e._zod.parse,o=yn(()=>e_(t)),r=me.memoizer,i=g=>{let _=o.value,b=_.symbolKeys,x=new $r([\"payload\",\"ctx\"],{shape:g,inst:e,memo:r,syms:b}),O=G=>`shape[${G}]._zod.run({ value: input[${G}], issues: [] }, ctx)`,P=(G,D)=>`\n let ${G}_ab = false;\n for (let i = 0; i < ${G}.issues.length; i++) {\n const iss = ${G}.issues[i];\n iss.path = iss.path ? [${D}, ...iss.path] : [${D}];\n payload.issues.push(iss);\n if (iss.continue !== true) ${G}_ab = true;\n }\n if (${G}_ab && ctx && ctx.abortEarly) {\n payload.value = newResult;\n return payload;\n }`;x.write(\"const input = payload.value;\");let U=Object.create(null),J=0;for(let G of _.allKeys)U[G]=`key_${J++}`;x.write(r?\"const newResult = memo.alloc(inst, payload, {}, ctx);\":\"const newResult = {};\");for(let G of _.allKeys){if(G===\"__proto__\")continue;let D=U[G],W=typeof G==\"symbol\"?`syms[${b.indexOf(G)}]`:ke(G),Ae=`${W} in input`,de=g[G],Ze=de?._zod?.optin,rt=Ze!==void 0,nr=de?._zod?.optout===\"optional\";if(x.write(`const ${D} = ${O(W)};`),rt&&nr){let ir=Ze===\"optional\"?`${D}_present`:`${D}.value !== undefined || ${D}_present`;x.write(`\n const ${D}_present = ${Ae};\n if (!${D}.issues.length || ${D}_present) {\n if (${D}.issues.length) {${P(D,W)}\n }\n\n if (${ir}) {\n newResult[${W}] = ${D}.value;\n }\n }\n\n `)}else rt?(x.write(`\n if (${D}.issues.length) {${P(D,W)}\n }\n `),Ze===\"defaulted\"?x.write(`newResult[${W}] = ${D}.value;`):x.write(`\n if (${D}.value !== undefined || ${Ae}) {\n newResult[${W}] = ${D}.value;\n }\n `)):x.write(`\n const ${D}_present = ${Ae};\n if (${D}.issues.length) {${P(D,W)}\n }\n if (!${D}_present && !${D}.issues.length) {\n payload.issues.push({\n code: \"invalid_type\",\n expected: \"nonoptional\",\n input: undefined,\n path: [${W}]\n });\n if (ctx && ctx.abortEarly) {\n payload.value = newResult;\n return payload;\n }\n }\n\n if (${D}_present) {\n newResult[${W}] = ${D}.value;\n }\n\n `)}return x.write(\"payload.value = newResult;\"),x.write(\"return payload;\"),x.compile()},a,s=Sr,c=!me.jitless,d=c&&Td.value,p=t.catchall,f;e._zod.parse=(g,_)=>{f??(f=o.value);let b=g.value;return s(b)?c&&d&&_?.async===!1&&_.jitless!==!0?(a||(a=i(t.shape)),g=a(g,_),p?t_([],b,g,_,f,e,_?.abortEarly===!0):g):n(g,_):(g.issues.push({expected:\"object\",code:\"invalid_type\",input:b,inst:e}),g)}});function Dv(e,t,n,o){for(let i of e)if(i.issues.length===0)return t.value=i.value,t;let r=e.filter(i=>!xe(i));return r.length===1?(t.value=r[0].value,r[0]):(t.issues.push({code:\"invalid_union\",input:t.value,inst:n,errors:e.map(i=>i.issues.map(a=>Oe(a,o,ae())))}),t)}var Ko=v(\"$ZodUnion\",(e,t)=>{Z.init(e,t),H(e,\"optin\",o=>o.def.options.some(r=>r._zod.optin===\"defaulted\")?\"defaulted\":o.def.options.some(r=>r._zod.optin!==void 0)?\"optional\":void 0),H(e,\"optout\",o=>o.def.options.some(r=>r._zod.optout===\"optional\")?\"optional\":void 0),H(e,\"values\",o=>{if(o.def.options.every(r=>r._zod.values))return new Set(o.def.options.flatMap(r=>Array.from(r._zod.values)))}),H(e,\"pattern\",o=>{if(o.def.options.every(r=>r._zod.pattern)){let r=o.def.options.map(i=>i._zod.pattern);return new RegExp(`^(${r.map(i=>St(i.source)).join(\"|\")})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(o,r)=>{if(n)return n(o,r);let i=!1,a=[];for(let s of t.options){let c=s._zod.run({value:o.value,issues:[]},r);if(c instanceof Promise)a.push(c),i=!0;else{if(c.issues.length===0)return c;a.push(c)}}return i?Promise.all(a).then(s=>Dv(s,o,e,r)):Dv(a,o,e,r)}});function Mv(e,t,n,o){let r=[];for(let i=0;i<e.length;i++)e[i].issues.length===0&&r.push(i);return r.length===1?(t.value=e[r[0]].value,t):(r.length===0?t.issues.push({code:\"invalid_union\",input:t.value,inst:n,errors:e.map(i=>i.issues.map(a=>Oe(a,o,ae())))}):t.issues.push({code:\"invalid_union\",input:t.value,inst:n,errors:[],inclusive:!1,matches:r}),t)}var Np=v(\"$ZodXor\",(e,t)=>{Ko.init(e,t),t.inclusive=!1;let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(o,r)=>{if(n)return n(o,r);let i=!1,a=[];for(let s of t.options){let c=s._zod.run({value:o.value,issues:[]},r);c instanceof Promise?(a.push(c),i=!0):a.push(c)}return i?Promise.all(a).then(s=>Mv(s,o,e,r)):Mv(a,o,e,r)}});function jp(e,t){let n=e._zod,o=n.bag.optionsMap;o||(o=n_(n.def),n.bag.optionsMap=o);let r=o.get(t);if(r===null)throw new Error(`Ambiguous discriminator value \"${String(t)}\"`);return r}function n_(e){let t=new Map;for(let n of e.options){let o=n._zod.propValues?.[e.discriminator];if(!o||o.size===0)throw new Error(`Invalid discriminated union option at index \"${e.options.indexOf(n)}\"`);for(let r of o)if(t.has(r)){if(r!==void 0)throw new Error(`Duplicate discriminator value \"${String(r)}\"`);t.set(r,null)}else t.set(r,n)}return t}var Ap=v(\"$ZodDiscriminatedUnion\",(e,t)=>{t.inclusive=!1,Ko.init(e,t);let n=e._zod.parse;H(e,\"propValues\",r=>{let i={},a=0;for(let s of r.def.options){let c=s._zod.propValues;if(!c||Object.keys(c).length===0)throw new Error(`Invalid discriminated union option at index \"${r.def.options.indexOf(s)}\"`);c[r.def.discriminator]?.has(void 0)&&a++;for(let[l,d]of Object.entries(c)){Object.prototype.hasOwnProperty.call(i,l)||he(i,l,new Set);for(let p of d)i[l].add(p)}}return!r.def.unionFallback&&a>1&&i[r.def.discriminator]?.delete(void 0),i}),t.options.forEach((r,i)=>{let a=bn(r._zod.def);if(a&&!Object.prototype.hasOwnProperty.call(a,t.discriminator))throw new Error(`Invalid discriminated union option at index \"${i}\"`)});let o=yn(()=>n_(t));e._zod.parse=(r,i)=>{let a=r.value;if(!Sr(a))return r.issues.push({code:\"invalid_type\",expected:\"object\",input:a,inst:e}),r;let s=a?.[t.discriminator],c=o.value.get(s);return c&&(s!==void 0||i.direction!==\"backward\")?c._zod.run(r,i):t.unionFallback||i.direction===\"backward\"?n(r,i):(r.issues.push({code:\"invalid_union\",errors:[],note:\"No matching discriminator\",discriminator:t.discriminator,options:Array.from(o.value.keys()).filter(l=>o.value.get(l)!==null),input:a,path:[t.discriminator],inst:e}),r)}}),Up=v(\"$ZodIntersection\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>{let r=n.value,i=t.left._zod.run({value:r,issues:[]},o),a=t.right._zod.run({value:r,issues:[]},o);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([c,l])=>qv(n,c,l)):qv(n,i,a)}});function Rn(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Je(e)&&Je(t)){let n=Object.keys(t),o=Object.keys(e).filter(i=>n.indexOf(i)!==-1),r={...e,...t};Object.prototype.hasOwnProperty.call(r,\"__proto__\")&&delete r.__proto__;for(let i of o){if(i===\"__proto__\")continue;let a=Rn(e[i],t[i]);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};r[i]=a.data}return{valid:!0,data:r}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let o=0;o<e.length;o++){let r=e[o],i=t[o],a=Rn(r,i);if(!a.valid)return{valid:!1,mergeErrorPath:[o,...a.mergeErrorPath]};n.push(a.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function qv(e,t,n){let o=new Map,r,i=new Map,a=(l,d)=>{let p;if(l.code===\"unrecognized_keys\"&&!l.path?.length)r??(r=l),p=l.keys;else if(l.code===\"invalid_key\"&&l.origin===\"record\"&&l.path?.length===1){let f=String(l.path[0]);i.has(f)||i.set(f,l),p=[f]}else return!1;for(let f of p)o.has(f)||o.set(f,{}),o.get(f)[d]=!0;return!0};for(let l of t.issues)a(l,\"l\")||e.issues.push(l);for(let l of n.issues)a(l,\"r\")||e.issues.push(l);let s=[...o].filter(([,l])=>l.l&&l.r).map(([l])=>l);if(s.length){let l=r?s.filter(d=>r.keys.includes(d)):[];l.length&&e.issues.push({...r,keys:l});for(let d of s)!l.includes(d)&&i.has(d)&&e.issues.push(i.get(d))}let c=Rn(t.value,n.value);if(!c.valid){if(xe(e))return e;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(c.mergeErrorPath)}`)}return e.value=c.data,e}var Sl=v(\"$ZodTuple\",(e,t)=>{Z.init(e,t);let n=t.items,o=me.memoizer;o?.attach(e),e._zod.parse=(r,i)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({input:a,inst:e,expected:\"tuple\",code:\"invalid_type\"}),r;r.value=o?o.alloc(e,r,[],i):[];let s=[],c=Lv(n,\"optin\"),l=Lv(n,\"optout\");if(!t.rest){if(a.length<c)return r.issues.push({code:\"too_small\",minimum:c,inclusive:!0,input:a,inst:e,origin:\"array\"}),r;a.length>n.length&&r.issues.push({code:\"too_big\",maximum:n.length,inclusive:!0,input:a,inst:e,origin:\"array\"})}let d=new Array(n.length),p=t.rest?i?.abortEarly:void 0,f=!1;for(let g=0;g<n.length;g++){let _=n[g]._zod.run({value:a[g],issues:[]},i);_ instanceof Promise?s.push(_.then(b=>{d[g]=b})):(d[g]=_,p&&!f&&_.issues.length&&(f=xe(_)))}if(t.rest&&!f){let g=n.length-1,_=a.slice(n.length),b=r.issues.length;for(let x of _){if(p&&r.issues.length!==b){if(xe(r,b))break;b=r.issues.length}g++;let O=t.rest._zod.run({value:x,issues:[]},i);O instanceof Promise?s.push(O.then(P=>Vv(P,r,g))):Vv(O,r,g)}}return s.length?Promise.all(s).then(()=>Zv(d,r,n,a,l)):Zv(d,r,n,a,l)}});function Lv(e,t){for(let n=e.length-1;n>=0;n--)if(!(t===\"optin\"?e[n]._zod.optin!==void 0:e[n]._zod.optout===\"optional\"))return n+1;return 0}function Vv(e,t,n){e.issues.length&&t.issues.push(...Ee(n,e.issues)),t.value[n]=e.value}function Zv(e,t,n,o,r){for(let i=0;i<n.length;i++){let a=e[i],s=i<o.length;if(!s&&i>=r&&n[i]._zod.optin===\"optional\"){t.value.length=i;break}if(a.issues.length){if(!s&&i>=r){t.value.length=i;break}t.issues.push(...Ee(i,a.issues))}t.value[i]=a.value}for(let i=t.value.length-1;i>=o.length&&(n[i]._zod.optout===\"optional\"&&t.value[i]===void 0);i--)t.value.length=i;return t}var Dp=v(\"$ZodRecord\",(e,t)=>{Z.init(e,t);let n=me.memoizer;n?.attach(e),e._zod.parse=(o,r)=>{let i=o.value;if(!Je(i))return o.issues.push({expected:\"record\",code:\"invalid_type\",input:i,inst:e}),o;let a=[],s=t.keyType._zod.values;if(s&&!t.partial){o.value=n?n.alloc(e,o,{},r):{};let c=new Set;for(let d of s)if(typeof d==\"string\"||typeof d==\"number\"||typeof d==\"symbol\"){if(c.add(typeof d==\"number\"?d.toString():d),d===\"__proto__\")continue;let p=t.keyType._zod.run({value:d,issues:[]},r);if(p instanceof Promise)throw new Error(\"Async schemas not supported in object keys currently\");if(p.issues.length){o.issues.push({code:\"invalid_key\",origin:\"record\",issues:p.issues.map(_=>Oe(_,r,ae())),input:d,path:[d],inst:e});continue}let f=p.value;if(f===\"__proto__\")continue;let g=t.valueType._zod.run({value:i[d],issues:[]},r);g instanceof Promise?a.push(g.then(_=>{_.issues.length&&o.issues.push(...Ee(d,_.issues)),o.value[f]=_.value})):(g.issues.length&&o.issues.push(...Ee(d,g.issues)),o.value[f]=g.value)}let l;for(let d in i)if(!c.has(d))if(t.mode===\"loose\"){if(d===\"__proto__\")continue;o.value[d]=i[d]}else l=l??[],l.push(d);l&&l.length>0&&o.issues.push({code:\"unrecognized_keys\",input:i,inst:e,keys:l,continue:!0})}else{o.value=n?n.alloc(e,o,{},r):{};let c;for(let l of Reflect.ownKeys(i)){if(l===\"__proto__\"||!Object.prototype.propertyIsEnumerable.call(i,l))continue;let d=t.keyType._zod.run({value:l,issues:[]},r);if(d instanceof Promise)throw new Error(\"Async schemas not supported in object keys currently\");if(typeof l==\"string\"&&yt.test(l)&&d.issues.length){let _=t.keyType._zod.run({value:Number(l),issues:[]},r);if(_ instanceof Promise)throw new Error(\"Async schemas not supported in object keys currently\");_.issues.length===0&&(d=_)}if(d.issues.length){t.mode===\"loose\"?o.value[l]=i[l]:s?(c=c??[],c.push(l)):o.issues.push({code:\"invalid_key\",origin:\"record\",issues:d.issues.map(_=>Oe(_,r,ae())),input:l,path:[l],inst:e});continue}let f=d.value;if(f===\"__proto__\")continue;let g=t.valueType._zod.run({value:i[l],issues:[]},r);g instanceof Promise?a.push(g.then(_=>{_.issues.length&&o.issues.push(...Ee(l,_.issues)),o.value[f]=_.value})):(g.issues.length&&o.issues.push(...Ee(l,g.issues)),o.value[f]=g.value)}c&&c.length>0&&o.issues.push({code:\"unrecognized_keys\",input:i,inst:e,keys:c,continue:!0})}return a.length?Promise.all(a).then(()=>o):o}}),Mp=v(\"$ZodMap\",(e,t)=>{Z.init(e,t);let n=me.memoizer;n?.attach(e),e._zod.parse=(o,r)=>{let i=o.value;if(!(i instanceof Map))return o.issues.push({expected:\"map\",code:\"invalid_type\",input:i,inst:e}),o;let a=[];o.value=n?n.alloc(e,o,new Map,r):new Map;let s=r?.abortEarly,c=o.issues.length;for(let[l,d]of i){if(s&&o.issues.length!==c){if(xe(o,c))break;c=o.issues.length}let p=t.keyType._zod.run({value:l,issues:[]},r),f=t.valueType._zod.run({value:d,issues:[]},r);p instanceof Promise||f instanceof Promise?a.push(Promise.all([p,f]).then(([g,_])=>{Fv(g,_,o,l,i,e,r)})):Fv(p,f,o,l,i,e,r)}return a.length?Promise.all(a).then(()=>o):o}});function Fv(e,t,n,o,r,i,a){e.issues.length&&(Io.has(typeof o)?n.issues.push(...Ee(o,e.issues)):n.issues.push({code:\"invalid_key\",origin:\"map\",input:r,inst:i,issues:e.issues.map(s=>Oe(s,a,ae()))})),t.issues.length&&(Io.has(typeof o)?n.issues.push(...Ee(o,t.issues)):n.issues.push({origin:\"map\",code:\"invalid_element\",input:r,inst:i,key:o,issues:t.issues.map(s=>Oe(s,a,ae()))})),n.value.set(e.value,t.value)}var qp=v(\"$ZodSet\",(e,t)=>{Z.init(e,t);let n=me.memoizer;n?.attach(e),e._zod.parse=(o,r)=>{let i=o.value;if(!(i instanceof Set))return o.issues.push({input:i,inst:e,expected:\"set\",code:\"invalid_type\"}),o;let a=[];o.value=n?n.alloc(e,o,new Set,r):new Set;let s=r?.abortEarly,c=o.issues.length;for(let l of i){if(s&&o.issues.length!==c){if(xe(o,c))break;c=o.issues.length}let d=t.valueType._zod.run({value:l,issues:[]},r);d instanceof Promise?a.push(d.then(p=>Jv(p,o))):Jv(d,o)}return a.length?Promise.all(a).then(()=>o):o}});function Jv(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}var Lp=v(\"$ZodEnum\",(e,t)=>{Z.init(e,t);let n=_n(t.entries),o=new Set(n);e._zod.values=o,H(e,\"pattern\",r=>{let i=_n(r.def.entries).filter(a=>Io.has(typeof a));return new RegExp(i.length?`^(${i.map(a=>He(a.toString())).join(\"|\")})$`:\"^[^\\\\s\\\\S]$\")}),e._zod.parse=(r,i)=>{let a=r.value;return o.has(a)||r.issues.push({code:\"invalid_value\",values:n,input:a,inst:e}),r}}),Vp=v(\"$ZodLiteral\",(e,t)=>{Z.init(e,t);let n=new Set(t.values);e._zod.values=n,H(e,\"pattern\",o=>{let r=o.def.values;return new RegExp(r.length?`^(${r.map(i=>typeof i==\"string\"?He(i):i?He(i.toString()):String(i)).join(\"|\")})$`:\"^[^\\\\s\\\\S]$\")}),e._zod.parse=(o,r)=>{let i=o.value;return n.has(i)||o.issues.push({code:\"invalid_value\",values:t.values,input:i,inst:e}),o}}),Zp=v(\"$ZodFile\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;return r instanceof File||n.issues.push({expected:\"file\",code:\"invalid_type\",input:r,inst:e}),n}}),Fp=v(\"$ZodTransform\",(e,t)=>{Z.init(e,t),e._zod.optin=\"optional\",me.memoizer?.guard(e),e._zod.parse=(n,o)=>{if(o.direction===\"backward\")throw new Dt(e.constructor.name);let r=t.transform(n.value,n);if(o.async)return(r instanceof Promise?r:Promise.resolve(r)).then(a=>(n.value=a,n));if(r instanceof Promise)throw new Ce;return n.value=r,n}});function Hv(e,t){return e.value=t.issues.length?void 0:t.value,e}var yl=v(\"$ZodOptional\",(e,t)=>{Z.init(e,t),H(e,\"optin\",n=>n.def.innerType._zod.optin===\"defaulted\"?\"defaulted\":\"optional\"),e._zod.optout=\"optional\",H(e,\"values\",n=>{let o=n.def.innerType._zod.values;return o?new Set([...o,void 0]):void 0}),H(e,\"pattern\",n=>{let o=n.def.innerType._zod.pattern;return o?new RegExp(`^(${St(o.source)})?$`):void 0}),e._zod.parse=(n,o)=>{if(n.value===void 0){if(t.innerType._zod.optin!==\"defaulted\")return n;let r=t.innerType._zod.run({value:n.value,issues:[]},o);return r instanceof Promise?r.then(i=>Hv(n,i)):Hv(n,r)}return t.innerType._zod.run(n,o)}}),Jp=v(\"$ZodExactOptional\",(e,t)=>{yl.init(e,t),H(e,\"values\",n=>n.def.innerType._zod.values),H(e,\"pattern\",n=>n.def.innerType._zod.pattern),e._zod.parse=(n,o)=>t.innerType._zod.run(n,o)}),Hp=v(\"$ZodNullable\",(e,t)=>{Z.init(e,t),H(e,\"optin\",n=>n.def.innerType._zod.optin),H(e,\"optout\",n=>n.def.innerType._zod.optout),H(e,\"pattern\",n=>{let o=n.def.innerType._zod.pattern;return o?new RegExp(`^(${St(o.source)}|null)$`):void 0}),H(e,\"values\",n=>n.def.innerType._zod.values?new Set([...n.def.innerType._zod.values,null]):void 0),e._zod.parse=(n,o)=>n.value===null?n:t.innerType._zod.run(n,o)}),Bp=v(\"$ZodDefault\",(e,t)=>{Z.init(e,t),e._zod.optin=\"defaulted\",H(e,\"values\",n=>n.def.innerType._zod.values),e._zod.parse=(n,o)=>{if(o.direction===\"backward\")return t.innerType._zod.run(n,o);if(n.value===void 0)return n.value=t.defaultValue,n;let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(i=>Bv(i,t)):Bv(r,t)}});function Bv(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Kp=v(\"$ZodPrefault\",(e,t)=>{Z.init(e,t),e._zod.optin=\"defaulted\",H(e,\"values\",n=>n.def.innerType._zod.values),e._zod.parse=(n,o)=>(o.direction===\"backward\"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,o))}),Gp=v(\"$ZodNonOptional\",(e,t)=>{Z.init(e,t),H(e,\"values\",n=>{let o=n.def.innerType._zod.values;return o?new Set([...o].filter(r=>r!==void 0)):void 0}),e._zod.parse=(n,o)=>{let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(i=>Kv(i,e)):Kv(r,e)}});function Kv(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:\"invalid_type\",expected:\"nonoptional\",input:e.value,inst:t}),e}var Wp=v(\"$ZodSuccess\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>{if(o.direction===\"backward\")throw new Dt(\"ZodSuccess\");let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(i=>(n.value=i.issues.length===0,n)):(n.value=r.issues.length===0,n)}});function Gv(e,t,n,o){return t.issues.length?(e.value=n.catchValue({...t,value:e.value,error:{issues:t.issues.map(r=>Oe(r,o,ae()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}var Yp=v(\"$ZodCatch\",(e,t)=>{Z.init(e,t),H(e,\"optin\",n=>n.def.innerType._zod.optin===\"defaulted\"?\"defaulted\":\"optional\"),H(e,\"optout\",n=>n.def.innerType._zod.optout),H(e,\"values\",n=>n.def.innerType._zod.values),e._zod.parse=(n,o)=>{if(o.direction===\"backward\")return t.innerType._zod.run(n,o);let r=t.innerType._zod.run({value:n.value,issues:[]},o);return r instanceof Promise?r.then(i=>Gv(n,i,t,o)):Gv(n,r,t,o)}}),Xp=v(\"$ZodNaN\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>((typeof n.value!=\"number\"||!Number.isNaN(n.value))&&n.issues.push({input:n.value,inst:e,expected:\"nan\",code:\"invalid_type\"}),n)}),bl=v(\"$ZodPipe\",(e,t)=>{Z.init(e,t),H(e,\"values\",n=>n.def.in._zod.values),H(e,\"optin\",n=>n.def.in._zod.optin),H(e,\"optout\",n=>n.def.out._zod.optout),H(e,\"propValues\",n=>n.def.in._zod.propValues),e._zod.parse=(n,o)=>{if(o.direction===\"backward\"){let i=t.out._zod.run(n,o);return i instanceof Promise?i.then(a=>nl(a,t.in,o)):nl(i,t.in,o)}let r=t.in._zod.run(n,o);return r instanceof Promise?r.then(i=>nl(i,t.out,o)):nl(r,t.out,o)}});function nl(e,t,n){return e.issues.some(o=>o.code!==\"unrecognized_keys\")?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var Go=v(\"$ZodCodec\",(e,t)=>{Z.init(e,t),H(e,\"values\",n=>n.def.in._zod.values),H(e,\"optin\",n=>n.def.in._zod.optin),H(e,\"optout\",n=>n.def.out._zod.optout),H(e,\"propValues\",n=>n.def.in._zod.propValues),e._zod.parse=(n,o)=>{if((o.direction||\"forward\")===\"forward\"){let i=t.in._zod.run(n,o);return i instanceof Promise?i.then(a=>il(a,t,o)):il(i,t,o)}else{let i=t.out._zod.run(n,o);return i instanceof Promise?i.then(a=>il(a,t,o)):il(i,t,o)}}});function il(e,t,n){if(e.issues.length)return e.aborted=!0,e;if((n.direction||\"forward\")===\"forward\"){let r=t.transform(e.value,e);return r instanceof Promise?r.then(i=>ol(e,i,t.out,n)):ol(e,r,t.out,n)}else{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(i=>ol(e,i,t.in,n)):ol(e,r,t.in,n)}}function ol(e,t,n,o){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},o)}var Qp=v(\"$ZodPreprocess\",(e,t)=>{bl.init(e,t)}),ef=v(\"$ZodReadonly\",(e,t)=>{Z.init(e,t),H(e,\"propValues\",n=>n.def.innerType._zod.propValues),H(e,\"values\",n=>n.def.innerType._zod.values),H(e,\"optin\",n=>n.def.innerType?._zod?.optin),H(e,\"optout\",n=>n.def.innerType?._zod?.optout),e._zod.parse=(n,o)=>{if(o.direction===\"backward\")return t.innerType._zod.run(n,o);let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(Wv):Wv(r)}});function Wv(e){return e.memo||(e.value=Object.freeze(e.value)),e}function iw(e){let t=e._zod.def,n=t.pattern,o=!!t.format?.includes(\"int\"),r,i;for(let s of t.checks??[]){let c=s._zod.def;c.pattern&&(n=c.pattern),o||(o=!!c.format?.includes(\"int\"));let l=c.minimum??c.length,d=c.maximum??c.length;l!==void 0&&(r===void 0||l>r)&&(r=l),d!==void 0&&(i===void 0||d<i)&&(i=d)}if(n)return n.source;if(r!==void 0&&i!==void 0&&r>i)return\"(?!)\";if(r!==void 0||i!==void 0)return gm({minimum:r,maximum:i}).source;let a=e._zod.pattern;return(o&&a===yt?Mo:a)?.source}function Hm(e){let t=e._zod.def,n=e._zod.pattern?.source,o=t.innerType??e._zod.innerType;if(o){let r=o._zod.pattern?.source,i=Hm(o);return n&&r&&i&&i!==r?n.replace(St(r),()=>St(i)):n}if(t.options){let r=t.options.map(Hm);if(r.every(Boolean))return`^(${r.map(i=>St(i)).join(\"|\")})$`}return iw(e)}var tf=v(\"$ZodTemplateLiteral\",(e,t)=>{Z.init(e,t);let n=[];for(let o of t.parts)if(typeof o==\"object\"&&o!==null){let r=Hm(o);if(!r)throw new Error(`Invalid template literal part, no pattern found: ${[...o._zod.traits].shift()}`);n.push(St(r))}else if(o===null||Ed.has(typeof o))n.push(He(`${o}`));else throw new Error(`Invalid template literal part: ${o}`);e._zod.pattern=new RegExp(`^${n.join(\"\")}$`),e._zod.parse=(o,r)=>typeof o.value!=\"string\"?(o.issues.push({input:o.value,inst:e,expected:\"string\",code:\"invalid_type\"}),o):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(o.value)||o.issues.push({input:o.value,inst:e,code:\"invalid_format\",format:t.format??\"template_literal\",pattern:e._zod.pattern.source}),o)}),rf=v(\"$ZodFunction\",(e,t)=>(Z.init(e,t),Object.defineProperty(e,\"_def\",{value:t}),e._zod.def=t,e.implement=n=>{if(typeof n!=\"function\")throw new Error(\"implement() must be called with a function\");return Object.defineProperty(function(...o){let r=e._def.input?Lc(e._def.input,o):o,i=Reflect.apply(n,this,r);return e._def.output?Lc(e._def.output,i):i},\"_zod\",{value:e._zod,enumerable:!1})},e.implementAsync=n=>{if(typeof n!=\"function\")throw new Error(\"implementAsync() must be called with a function\");return Object.defineProperty(async function(...o){let r=e._def.input?await Vc(e._def.input,o):o,i=await Reflect.apply(n,this,r);return e._def.output?await Vc(e._def.output,i):i},\"_zod\",{value:e._zod,enumerable:!1})},e._zod.parse=(n,o)=>typeof n.value!=\"function\"?(n.issues.push({code:\"invalid_type\",expected:\"function\",input:n.value,inst:e}),n):(e._def.output&&e._def.output._zod.def.type===\"promise\"?n.value=e.implementAsync(n.value):n.value=e.implement(n.value),n),e.input=(...n)=>{let o=e.constructor;return Array.isArray(n[0])?new o({type:\"function\",input:new Sl({type:\"tuple\",items:n[0],rest:n[1]}),output:e._def.output}):new o({type:\"function\",input:n[0],output:e._def.output})},e.output=n=>{let o=e.constructor;return new o({type:\"function\",input:e._def.input,output:n})},e)),nf=v(\"$ZodPromise\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>Promise.resolve(n.value).then(r=>t.innerType._zod.run({value:r,issues:[]},o))}),Wo=v(\"$ZodLazy\",(e,t)=>{Z.init(e,t),Rd(e._zod,\"innerType\",()=>{let n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),H(e,\"pattern\",n=>n.innerType?._zod?.pattern),H(e,\"propValues\",n=>n.innerType?._zod?.propValues),H(e,\"optin\",n=>n.innerType?._zod?.optin??void 0),H(e,\"optout\",n=>n.innerType?._zod?.optout??void 0),e._zod.parse=(n,o)=>e._zod.innerType._zod.run(n,o)}),of=v(\"$ZodCustom\",(e,t)=>{te.init(e,t),Z.init(e,t),e._zod.parse=(n,o)=>n,e._zod.check=n=>{let o=n.value,r=t.fn(o);if(r instanceof Promise)return r.then(i=>Yv(i,n,o,e));Yv(r,n,o,e)}});function Yv(e,t,n,o){if(!e){let r={code:\"custom\",input:n,inst:o,path:[...o._zod.def.path??[]],continue:!o._zod.def.abort};o._zod.def.params&&(r.params=o._zod.def.params),t.issues.push($n(r))}}var kl=class extends Error{constructor(){super(\"Cannot parse a reference cycle that closes through a transform\"),this.name=\"ZodCyclicError\"}},sf=\"~memo\",o_=[];function a_(e){return e!==null&&typeof e==\"object\"}function af(e){return e.map(t=>t.path?{...t,path:t.path.slice()}:{...t})}var s_=new WeakMap,Pn=0,wl=1,Yo=2;function Xo(e,t,n){let o=s_.get(e);if(o!==void 0)return o?Yo:Pn;if(t.has(e))return Yo;t.add(e);let r=Pn,i=d=>{if(r!==Yo&&d?._zod){let p=Xo(d,t,n);p>r&&(r=p)}},a=(d,p)=>{let f=Pn;for(let g of Reflect.ownKeys(d)){let _=Object.getOwnPropertyDescriptor(d,g);if(p&&!_.enumerable)continue;let b=_.get?wl:_.value?._zod?Xo(_.value,t,n):Pn;b>f&&(f=b)}return f},s=d=>{d>r&&(r=d)},c=e._zod.def,l=c.type;switch(l){case\"object\":{let d=bn(c);s(d?a(d,!0):wl),i(c.catchall);break}case\"array\":i(c.element);break;case\"tuple\":for(let d of c.items)i(d);i(c.rest);break;case\"record\":case\"map\":i(c.keyType),i(c.valueType);break;case\"set\":i(c.valueType);break;case\"union\":for(let d of c.options)i(d);break;case\"intersection\":i(c.left),i(c.right);break;case\"optional\":case\"nullable\":case\"default\":case\"prefault\":case\"catch\":case\"readonly\":case\"nonoptional\":case\"promise\":case\"success\":i(c.innerType);break;case\"pipe\":i(c.in),i(c.out);break;case\"function\":i(c.input),i(c.output);break;case\"lazy\":{let d=c._cachedInner??(n?e._zod.innerType:void 0);s(d?Xo(d,t,!1):wl);break}case\"template_literal\":case\"string\":case\"number\":case\"int\":case\"boolean\":case\"bigint\":case\"symbol\":case\"undefined\":case\"null\":case\"void\":case\"never\":case\"any\":case\"unknown\":case\"date\":case\"nan\":case\"enum\":case\"literal\":case\"file\":case\"transform\":case\"custom\":break;default:for(let d in c){let p=Object.getOwnPropertyDescriptor(c,d);if(!p||p.get)continue;let f=p.value;if(!(!f||typeof f!=\"object\")){if(f._zod)i(f);else if(Array.isArray(f))for(let g of f)i(g)}}}return t.delete(e),ow(e,r)}function ow(e,t){return t!==wl&&s_.set(e,t===Yo),t}function xl(e){return Xo(e,new Set,!0)!==Pn}function aw(e,t){let n=e.buckets.get(t);return n||(n=new WeakMap,e.buckets.set(t,n)),n}var $l,zl=[],sw={alloc(e,t,n){let o=$l;if(!o)return n;$l=void 0;let r={value:n,issues:null};return o.set(t.value,r),zl.push(r),n},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let n=e._zod.parse,o=(r,i)=>{if(i.direction!==\"backward\"&&Il(i,r.value))throw new kl;return n(r,i)};e._zod.parse=o,e._zod.run===n&&(e._zod.run=o)})},attach(e){var t;let n,o=!1,r,i;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let a=e._zod.parse,s=(c,l)=>{if(n===void 0){let O=Xo(e,new Set,!1);if(O===Pn)return e._zod.parse=a,e._zod.run===s&&(e._zod.run=a),a(c,l);O===Yo||o?n=!0:o=!0}let d=c.value;if(!a_(d))return a(c,l);let p=l[sf];p||(p={buckets:new WeakMap,backEdges:void 0},l[sf]=p);let f;r===l?f=i:(f=aw(p,e),r=l,i=f);let g=f.get(d);if(g)return c.value=g.value,g.issues?g.issues.length&&c.issues.push(...af(g.issues)):(c.memo=!0,p.backEdges??(p.backEdges=new WeakSet),p.backEdges.add(g.value)),c;$l=f;let _=zl.length,b=a(c,l);$l=void 0;let x=zl.length>_?zl.pop():void 0;return b instanceof Promise?b.then(O=>(x&&(x.issues=O.issues.length?af(O.issues):o_),O)):(x&&(x.issues=b.issues.length?af(b.issues):o_),b)};e._zod.parse=s,e._zod.run===a&&(e._zod.run=s)})}};function Qo(){return sw}function Il(e,t){let n=e[sf]?.backEdges;return n!==void 0&&a_(t)&&n.has(t)}var ta={};vt(ta,{ar:()=>c_,az:()=>l_,be:()=>d_,bg:()=>m_,bn:()=>p_,ca:()=>f_,ckb:()=>h_,cs:()=>g_,da:()=>v_,de:()=>__,el:()=>S_,en:()=>Rl,eo:()=>y_,es:()=>b_,fa:()=>$_,fi:()=>z_,fr:()=>w_,frCA:()=>k_,gu:()=>x_,he:()=>I_,hi:()=>R_,hr:()=>P_,hu:()=>T_,hy:()=>O_,id:()=>C_,is:()=>N_,it:()=>j_,ja:()=>A_,ka:()=>U_,kh:()=>D_,km:()=>Pl,kn:()=>M_,ko:()=>q_,lt:()=>V_,mk:()=>Z_,ms:()=>F_,ne:()=>J_,nl:()=>H_,nn:()=>B_,no:()=>K_,ota:()=>G_,pl:()=>Y_,ps:()=>W_,pt:()=>X_,ptBR:()=>Q_,ro:()=>eS,ru:()=>rS,sk:()=>nS,sl:()=>iS,sv:()=>oS,ta:()=>aS,tg:()=>sS,th:()=>cS,tk:()=>lS,tr:()=>uS,ua:()=>dS,uk:()=>Tl,ur:()=>mS,uz:()=>pS,vi:()=>fS,yo:()=>vS,zhCN:()=>hS,zhTW:()=>gS});var cw=()=>{let e={string:{unit:\"\\u062D\\u0631\\u0641\",verb:\"\\u0623\\u0646 \\u064A\\u062D\\u0648\\u064A\"},file:{unit:\"\\u0628\\u0627\\u064A\\u062A\",verb:\"\\u0623\\u0646 \\u064A\\u062D\\u0648\\u064A\"},array:{unit:\"\\u0639\\u0646\\u0635\\u0631\",verb:\"\\u0623\\u0646 \\u064A\\u062D\\u0648\\u064A\"},set:{unit:\"\\u0639\\u0646\\u0635\\u0631\",verb:\"\\u0623\\u0646 \\u064A\\u062D\\u0648\\u064A\"},map:{unit:\"\\u0639\\u0646\\u0635\\u0631\",verb:\"\\u0623\\u0646 \\u064A\\u062D\\u0648\\u064A\"}};function t(r){return e[r]??null}let n={regex:\"\\u0645\\u062F\\u062E\\u0644\",email:\"\\u0628\\u0631\\u064A\\u062F \\u0625\\u0644\\u0643\\u062A\\u0631\\u0648\\u0646\\u064A\",url:\"\\u0631\\u0627\\u0628\\u0637\",emoji:\"\\u0625\\u064A\\u0645\\u0648\\u062C\\u064A\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u062A\\u0627\\u0631\\u064A\\u062E \\u0648\\u0648\\u0642\\u062A \\u0628\\u0645\\u0639\\u064A\\u0627\\u0631 ISO\",date:\"\\u062A\\u0627\\u0631\\u064A\\u062E \\u0628\\u0645\\u0639\\u064A\\u0627\\u0631 ISO\",time:\"\\u0648\\u0642\\u062A \\u0628\\u0645\\u0639\\u064A\\u0627\\u0631 ISO\",duration:\"\\u0645\\u062F\\u0629 \\u0628\\u0645\\u0639\\u064A\\u0627\\u0631 ISO\",ipv4:\"\\u0639\\u0646\\u0648\\u0627\\u0646 IPv4\",ipv6:\"\\u0639\\u0646\\u0648\\u0627\\u0646 IPv6\",mac:\"\\u0639\\u0646\\u0648\\u0627\\u0646 MAC\",cidrv4:\"\\u0645\\u062F\\u0649 \\u0639\\u0646\\u0627\\u0648\\u064A\\u0646 \\u0628\\u0635\\u064A\\u063A\\u0629 IPv4\",cidrv6:\"\\u0645\\u062F\\u0649 \\u0639\\u0646\\u0627\\u0648\\u064A\\u0646 \\u0628\\u0635\\u064A\\u063A\\u0629 IPv6\",base64:\"\\u0646\\u064E\\u0635 \\u0628\\u062A\\u0631\\u0645\\u064A\\u0632 base64-encoded\",base64url:\"\\u0646\\u064E\\u0635 \\u0628\\u062A\\u0631\\u0645\\u064A\\u0632 base64url-encoded\",json_string:\"\\u0646\\u064E\\u0635 \\u0639\\u0644\\u0649 \\u0647\\u064A\\u0626\\u0629 JSON\",e164:\"\\u0631\\u0642\\u0645 \\u0647\\u0627\\u062A\\u0641 \\u0628\\u0645\\u0639\\u064A\\u0627\\u0631 E.164\",credit_card:\"\\u0631\\u0642\\u0645 \\u0628\\u0637\\u0627\\u0642\\u0629 \\u0627\\u0644\\u0627\\u0626\\u062A\\u0645\\u0627\\u0646\",currency_code:\"\\u0631\\u0645\\u0632 \\u0627\\u0644\\u0639\\u0645\\u0644\\u0629\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0645\\u062F\\u062E\\u0644\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u0645\\u062F\\u062E\\u0644\\u0627\\u062A \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644\\u0629: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0625\\u062F\\u062E\\u0627\\u0644 instanceof ${r.expected}\\u060C \\u0648\\u0644\\u0643\\u0646 \\u062A\\u0645 \\u0625\\u062F\\u062E\\u0627\\u0644 ${s}`:`\\u0645\\u062F\\u062E\\u0644\\u0627\\u062A \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644\\u0629: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0625\\u062F\\u062E\\u0627\\u0644 ${i}\\u060C \\u0648\\u0644\\u0643\\u0646 \\u062A\\u0645 \\u0625\\u062F\\u062E\\u0627\\u0644 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0645\\u062F\\u062E\\u0644\\u0627\\u062A \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644\\u0629: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0625\\u062F\\u062E\\u0627\\u0644 ${w(r.values[0])}`:`\\u0627\\u062E\\u062A\\u064A\\u0627\\u0631 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644: \\u064A\\u062A\\u0648\\u0642\\u0639 \\u0627\\u0646\\u062A\\u0642\\u0627\\u0621 \\u0623\\u062D\\u062F \\u0647\\u0630\\u0647 \\u0627\\u0644\\u062E\\u064A\\u0627\\u0631\\u0627\\u062A: ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?` \\u0623\\u0643\\u0628\\u0631 \\u0645\\u0646 \\u0627\\u0644\\u0644\\u0627\\u0632\\u0645: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0623\\u0646 \\u062A\\u0643\\u0648\\u0646 ${r.origin??\"\\u0627\\u0644\\u0642\\u064A\\u0645\\u0629\"} ${i} ${r.maximum.toString()} ${a.unit??\"\\u0639\\u0646\\u0635\\u0631\"}`:`\\u0623\\u0643\\u0628\\u0631 \\u0645\\u0646 \\u0627\\u0644\\u0644\\u0627\\u0632\\u0645: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0623\\u0646 \\u062A\\u0643\\u0648\\u0646 ${r.origin??\"\\u0627\\u0644\\u0642\\u064A\\u0645\\u0629\"} ${i} ${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0623\\u0635\\u063A\\u0631 \\u0645\\u0646 \\u0627\\u0644\\u0644\\u0627\\u0632\\u0645: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0644\\u0640 ${r.origin} \\u0623\\u0646 \\u064A\\u0643\\u0648\\u0646 ${i} ${r.minimum.toString()} ${a.unit}`:`\\u0623\\u0635\\u063A\\u0631 \\u0645\\u0646 \\u0627\\u0644\\u0644\\u0627\\u0632\\u0645: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0644\\u0640 ${r.origin} \\u0623\\u0646 \\u064A\\u0643\\u0648\\u0646 ${i} ${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0646\\u064E\\u0635 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644: \\u064A\\u062C\\u0628 \\u0623\\u0646 \\u064A\\u0628\\u062F\\u0623 \\u0628\\u0640 \"${r.prefix}\"`:i.format===\"ends_with\"?`\\u0646\\u064E\\u0635 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644: \\u064A\\u062C\\u0628 \\u0623\\u0646 \\u064A\\u0646\\u062A\\u0647\\u064A \\u0628\\u0640 \"${i.suffix}\"`:i.format===\"includes\"?`\\u0646\\u064E\\u0635 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644: \\u064A\\u062C\\u0628 \\u0623\\u0646 \\u064A\\u062A\\u0636\\u0645\\u0651\\u064E\\u0646 \"${i.includes}\"`:i.format===\"regex\"?`\\u0646\\u064E\\u0635 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644: \\u064A\\u062C\\u0628 \\u0623\\u0646 \\u064A\\u0637\\u0627\\u0628\\u0642 \\u0627\\u0644\\u0646\\u0645\\u0637 ${i.pattern}`:`${n[i.format]??r.format} \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644`}case\"not_multiple_of\":return`\\u0631\\u0642\\u0645 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644: \\u064A\\u062C\\u0628 \\u0623\\u0646 \\u064A\\u0643\\u0648\\u0646 \\u0645\\u0646 \\u0645\\u0636\\u0627\\u0639\\u0641\\u0627\\u062A ${r.divisor}`;case\"unrecognized_keys\":return`\\u0645\\u0639\\u0631\\u0641${r.keys.length>1?\"\\u0627\\u062A\":\"\"} \\u063A\\u0631\\u064A\\u0628${r.keys.length>1?\"\\u0629\":\"\"}: ${S(r.keys,\"\\u060C \")}`;case\"invalid_key\":return`\\u0645\\u0639\\u0631\\u0641 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644 \\u0641\\u064A ${r.origin}`;case\"invalid_union\":return\"\\u0645\\u062F\\u062E\\u0644 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644\";case\"invalid_element\":return`\\u0645\\u062F\\u062E\\u0644 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644 \\u0641\\u064A ${r.origin}`;default:return\"\\u0645\\u062F\\u062E\\u0644 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644\"}}};function c_(){return{localeError:cw()}}var lw=()=>{let e={string:{unit:\"simvol\",verb:\"olmal\\u0131d\\u0131r\"},file:{unit:\"bayt\",verb:\"olmal\\u0131d\\u0131r\"},array:{unit:\"element\",verb:\"olmal\\u0131d\\u0131r\"},set:{unit:\"element\",verb:\"olmal\\u0131d\\u0131r\"},map:{unit:\"element\",verb:\"olmal\\u0131d\\u0131r\"}};function t(r){return e[r]??null}let n={regex:\"input\",email:\"email address\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO datetime\",date:\"ISO date\",time:\"ISO time\",duration:\"ISO duration\",ipv4:\"IPv4 address\",ipv6:\"IPv6 address\",mac:\"MAC address\",cidrv4:\"IPv4 range\",cidrv6:\"IPv6 range\",base64:\"base64-encoded string\",base64url:\"base64url-encoded string\",json_string:\"JSON string\",e164:\"E.164 number\",credit_card:\"kredit kart\\u0131 n\\xF6mr\\u0259si\",currency_code:\"valyuta kodu\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Yanl\\u0131\\u015F d\\u0259y\\u0259r: g\\xF6zl\\u0259nil\\u0259n instanceof ${r.expected}, daxil olan ${s}`:`Yanl\\u0131\\u015F d\\u0259y\\u0259r: g\\xF6zl\\u0259nil\\u0259n ${i}, daxil olan ${s}`}case\"invalid_value\":return r.values.length===1?`Yanl\\u0131\\u015F d\\u0259y\\u0259r: g\\xF6zl\\u0259nil\\u0259n ${w(r.values[0])}`:`Yanl\\u0131\\u015F se\\xE7im: a\\u015Fa\\u011F\\u0131dak\\u0131lardan biri olmal\\u0131d\\u0131r: ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\xC7ox b\\xF6y\\xFCk: g\\xF6zl\\u0259nil\\u0259n ${r.origin??\"d\\u0259y\\u0259r\"} ${i}${r.maximum.toString()} ${a.unit??\"element\"}`:`\\xC7ox b\\xF6y\\xFCk: g\\xF6zl\\u0259nil\\u0259n ${r.origin??\"d\\u0259y\\u0259r\"} ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\xC7ox ki\\xE7ik: g\\xF6zl\\u0259nil\\u0259n ${r.origin} ${i}${r.minimum.toString()} ${a.unit}`:`\\xC7ox ki\\xE7ik: g\\xF6zl\\u0259nil\\u0259n ${r.origin} ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Yanl\\u0131\\u015F m\\u0259tn: \"${i.prefix}\" il\\u0259 ba\\u015Flamal\\u0131d\\u0131r`:i.format===\"ends_with\"?`Yanl\\u0131\\u015F m\\u0259tn: \"${i.suffix}\" il\\u0259 bitm\\u0259lidir`:i.format===\"includes\"?`Yanl\\u0131\\u015F m\\u0259tn: \"${i.includes}\" daxil olmal\\u0131d\\u0131r`:i.format===\"regex\"?`Yanl\\u0131\\u015F m\\u0259tn: ${i.pattern} \\u015Fablonuna uy\\u011Fun olmal\\u0131d\\u0131r`:`Yanl\\u0131\\u015F ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Yanl\\u0131\\u015F \\u0259d\\u0259d: ${r.divisor} il\\u0259 b\\xF6l\\xFCn\\u0259 bil\\u0259n olmal\\u0131d\\u0131r`;case\"unrecognized_keys\":return`Tan\\u0131nmayan a\\xE7ar${r.keys.length>1?\"lar\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} daxilind\\u0259 yanl\\u0131\\u015F a\\xE7ar`;case\"invalid_union\":return\"Yanl\\u0131\\u015F d\\u0259y\\u0259r\";case\"invalid_element\":return`${r.origin} daxilind\\u0259 yanl\\u0131\\u015F d\\u0259y\\u0259r`;default:return\"Yanl\\u0131\\u015F d\\u0259y\\u0259r\"}}};function l_(){return{localeError:lw()}}function u_(e,t,n,o){let r=Math.abs(e),i=r%10,a=r%100;return a>=11&&a<=19?o:i===1?t:i>=2&&i<=4?n:o}var uw=()=>{let e={string:{unit:{one:\"\\u0441\\u0456\\u043C\\u0432\\u0430\\u043B\",few:\"\\u0441\\u0456\\u043C\\u0432\\u0430\\u043B\\u044B\",many:\"\\u0441\\u0456\\u043C\\u0432\\u0430\\u043B\\u0430\\u045E\"},verb:\"\\u043C\\u0435\\u0446\\u044C\"},array:{unit:{one:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\",few:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u044B\",many:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\\u045E\"},verb:\"\\u043C\\u0435\\u0446\\u044C\"},set:{unit:{one:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\",few:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u044B\",many:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\\u045E\"},verb:\"\\u043C\\u0435\\u0446\\u044C\"},map:{unit:{one:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\",few:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u044B\",many:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\\u045E\"},verb:\"\\u043C\\u0435\\u0446\\u044C\"},file:{unit:{one:\"\\u0431\\u0430\\u0439\\u0442\",few:\"\\u0431\\u0430\\u0439\\u0442\\u044B\",many:\"\\u0431\\u0430\\u0439\\u0442\\u0430\\u045E\"},verb:\"\\u043C\\u0435\\u0446\\u044C\"}};function t(r){return e[r]??null}let n={regex:\"\\u0443\\u0432\\u043E\\u0434\",email:\"email \\u0430\\u0434\\u0440\\u0430\\u0441\",url:\"URL\",emoji:\"\\u044D\\u043C\\u043E\\u0434\\u0437\\u0456\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0434\\u0430\\u0442\\u0430 \\u0456 \\u0447\\u0430\\u0441\",date:\"ISO \\u0434\\u0430\\u0442\\u0430\",time:\"ISO \\u0447\\u0430\\u0441\",duration:\"ISO \\u043F\\u0440\\u0430\\u0446\\u044F\\u0433\\u043B\\u0430\\u0441\\u0446\\u044C\",ipv4:\"IPv4 \\u0430\\u0434\\u0440\\u0430\\u0441\",ipv6:\"IPv6 \\u0430\\u0434\\u0440\\u0430\\u0441\",mac:\"MAC \\u0430\\u0434\\u0440\\u0430\\u0441\",cidrv4:\"IPv4 \\u0434\\u044B\\u044F\\u043F\\u0430\\u0437\\u043E\\u043D\",cidrv6:\"IPv6 \\u0434\\u044B\\u044F\\u043F\\u0430\\u0437\\u043E\\u043D\",base64:\"\\u0440\\u0430\\u0434\\u043E\\u043A \\u0443 \\u0444\\u0430\\u0440\\u043C\\u0430\\u0446\\u0435 base64\",base64url:\"\\u0440\\u0430\\u0434\\u043E\\u043A \\u0443 \\u0444\\u0430\\u0440\\u043C\\u0430\\u0446\\u0435 base64url\",json_string:\"JSON \\u0440\\u0430\\u0434\\u043E\\u043A\",e164:\"\\u043D\\u0443\\u043C\\u0430\\u0440 E.164\",credit_card:\"\\u043D\\u0443\\u043C\\u0430\\u0440 \\u043A\\u0440\\u044D\\u0434\\u044B\\u0442\\u043D\\u0430\\u0439 \\u043A\\u0430\\u0440\\u0442\\u044B\",currency_code:\"\\u043A\\u043E\\u0434 \\u0432\\u0430\\u043B\\u044E\\u0442\\u044B\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0443\\u0432\\u043E\\u0434\"},o={nan:\"NaN\",number:\"\\u043B\\u0456\\u043A\",array:\"\\u043C\\u0430\\u0441\\u0456\\u045E\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u045E\\u0432\\u043E\\u0434: \\u0447\\u0430\\u043A\\u0430\\u045E\\u0441\\u044F instanceof ${r.expected}, \\u0430\\u0442\\u0440\\u044B\\u043C\\u0430\\u043D\\u0430 ${s}`:`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u045E\\u0432\\u043E\\u0434: \\u0447\\u0430\\u043A\\u0430\\u045E\\u0441\\u044F ${i}, \\u0430\\u0442\\u0440\\u044B\\u043C\\u0430\\u043D\\u0430 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u045E\\u0432\\u043E\\u0434: \\u0447\\u0430\\u043A\\u0430\\u043B\\u0430\\u0441\\u044F ${w(r.values[0])}`:`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u0432\\u0430\\u0440\\u044B\\u044F\\u043D\\u0442: \\u0447\\u0430\\u043A\\u0430\\u045E\\u0441\\u044F \\u0430\\u0434\\u0437\\u0456\\u043D \\u0437 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);if(a){let s=Number(r.maximum),c=u_(s,a.unit.one,a.unit.few,a.unit.many);return`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u0430 \\u0432\\u044F\\u043B\\u0456\\u043A\\u0456: \\u0447\\u0430\\u043A\\u0430\\u043B\\u0430\\u0441\\u044F, \\u0448\\u0442\\u043E ${r.origin??\"\\u0437\\u043D\\u0430\\u0447\\u044D\\u043D\\u043D\\u0435\"} \\u043F\\u0430\\u0432\\u0456\\u043D\\u043D\\u0430 ${a.verb} ${i}${r.maximum.toString()} ${c}`}return`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u0430 \\u0432\\u044F\\u043B\\u0456\\u043A\\u0456: \\u0447\\u0430\\u043A\\u0430\\u043B\\u0430\\u0441\\u044F, \\u0448\\u0442\\u043E ${r.origin??\"\\u0437\\u043D\\u0430\\u0447\\u044D\\u043D\\u043D\\u0435\"} \\u043F\\u0430\\u0432\\u0456\\u043D\\u043D\\u0430 \\u0431\\u044B\\u0446\\u044C ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);if(a){let s=Number(r.minimum),c=u_(s,a.unit.one,a.unit.few,a.unit.many);return`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u0430 \\u043C\\u0430\\u043B\\u044B: \\u0447\\u0430\\u043A\\u0430\\u043B\\u0430\\u0441\\u044F, \\u0448\\u0442\\u043E ${r.origin} \\u043F\\u0430\\u0432\\u0456\\u043D\\u043D\\u0430 ${a.verb} ${i}${r.minimum.toString()} ${c}`}return`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u0430 \\u043C\\u0430\\u043B\\u044B: \\u0447\\u0430\\u043A\\u0430\\u043B\\u0430\\u0441\\u044F, \\u0448\\u0442\\u043E ${r.origin} \\u043F\\u0430\\u0432\\u0456\\u043D\\u043D\\u0430 \\u0431\\u044B\\u0446\\u044C ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u0440\\u0430\\u0434\\u043E\\u043A: \\u043F\\u0430\\u0432\\u0456\\u043D\\u0435\\u043D \\u043F\\u0430\\u0447\\u044B\\u043D\\u0430\\u0446\\u0446\\u0430 \\u0437 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u0440\\u0430\\u0434\\u043E\\u043A: \\u043F\\u0430\\u0432\\u0456\\u043D\\u0435\\u043D \\u0437\\u0430\\u043A\\u0430\\u043D\\u0447\\u0432\\u0430\\u0446\\u0446\\u0430 \\u043D\\u0430 \"${i.suffix}\"`:i.format===\"includes\"?`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u0440\\u0430\\u0434\\u043E\\u043A: \\u043F\\u0430\\u0432\\u0456\\u043D\\u0435\\u043D \\u0437\\u043C\\u044F\\u0448\\u0447\\u0430\\u0446\\u044C \"${i.includes}\"`:i.format===\"regex\"?`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u0440\\u0430\\u0434\\u043E\\u043A: \\u043F\\u0430\\u0432\\u0456\\u043D\\u0435\\u043D \\u0430\\u0434\\u043F\\u0430\\u0432\\u044F\\u0434\\u0430\\u0446\\u044C \\u0448\\u0430\\u0431\\u043B\\u043E\\u043D\\u0443 ${i.pattern}`:`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u043B\\u0456\\u043A: \\u043F\\u0430\\u0432\\u0456\\u043D\\u0435\\u043D \\u0431\\u044B\\u0446\\u044C \\u043A\\u0440\\u0430\\u0442\\u043D\\u044B\\u043C ${r.divisor}`;case\"unrecognized_keys\":return`\\u041D\\u0435\\u0440\\u0430\\u0441\\u043F\\u0430\\u0437\\u043D\\u0430\\u043D\\u044B ${r.keys.length>1?\"\\u043A\\u043B\\u044E\\u0447\\u044B\":\"\\u043A\\u043B\\u044E\\u0447\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u043A\\u043B\\u044E\\u0447 \\u0443 ${r.origin}`;case\"invalid_union\":return\"\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u045E\\u0432\\u043E\\u0434\";case\"invalid_element\":return`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u0430\\u0435 \\u0437\\u043D\\u0430\\u0447\\u044D\\u043D\\u043D\\u0435 \\u045E ${r.origin}`;default:return\"\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u045E\\u0432\\u043E\\u0434\"}}};function d_(){return{localeError:uw()}}var dw=()=>{let e={string:{unit:\"\\u0441\\u0438\\u043C\\u0432\\u043E\\u043B\\u0430\",verb:\"\\u0434\\u0430 \\u0441\\u044A\\u0434\\u044A\\u0440\\u0436\\u0430\"},file:{unit:\"\\u0431\\u0430\\u0439\\u0442\\u0430\",verb:\"\\u0434\\u0430 \\u0441\\u044A\\u0434\\u044A\\u0440\\u0436\\u0430\"},array:{unit:\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\",verb:\"\\u0434\\u0430 \\u0441\\u044A\\u0434\\u044A\\u0440\\u0436\\u0430\"},set:{unit:\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\",verb:\"\\u0434\\u0430 \\u0441\\u044A\\u0434\\u044A\\u0440\\u0436\\u0430\"},map:{unit:\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\",verb:\"\\u0434\\u0430 \\u0441\\u044A\\u0434\\u044A\\u0440\\u0436\\u0430\"}};function t(r){return e[r]??null}let n={regex:\"\\u0432\\u0445\\u043E\\u0434\",email:\"\\u0438\\u043C\\u0435\\u0439\\u043B \\u0430\\u0434\\u0440\\u0435\\u0441\",url:\"URL\",emoji:\"\\u0435\\u043C\\u043E\\u0434\\u0436\\u0438\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0432\\u0440\\u0435\\u043C\\u0435\",date:\"ISO \\u0434\\u0430\\u0442\\u0430\",time:\"ISO \\u0432\\u0440\\u0435\\u043C\\u0435\",duration:\"ISO \\u043F\\u0440\\u043E\\u0434\\u044A\\u043B\\u0436\\u0438\\u0442\\u0435\\u043B\\u043D\\u043E\\u0441\\u0442\",ipv4:\"IPv4 \\u0430\\u0434\\u0440\\u0435\\u0441\",ipv6:\"IPv6 \\u0430\\u0434\\u0440\\u0435\\u0441\",mac:\"MAC \\u0430\\u0434\\u0440\\u0435\\u0441\",cidrv4:\"IPv4 \\u0434\\u0438\\u0430\\u043F\\u0430\\u0437\\u043E\\u043D\",cidrv6:\"IPv6 \\u0434\\u0438\\u0430\\u043F\\u0430\\u0437\\u043E\\u043D\",base64:\"base64-\\u043A\\u043E\\u0434\\u0438\\u0440\\u0430\\u043D \\u043D\\u0438\\u0437\",base64url:\"base64url-\\u043A\\u043E\\u0434\\u0438\\u0440\\u0430\\u043D \\u043D\\u0438\\u0437\",json_string:\"JSON \\u043D\\u0438\\u0437\",e164:\"E.164 \\u043D\\u043E\\u043C\\u0435\\u0440\",credit_card:\"\\u043D\\u043E\\u043C\\u0435\\u0440 \\u043D\\u0430 \\u043A\\u0440\\u0435\\u0434\\u0438\\u0442\\u043D\\u0430 \\u043A\\u0430\\u0440\\u0442\\u0430\",currency_code:\"\\u043A\\u043E\\u0434 \\u043D\\u0430 \\u0432\\u0430\\u043B\\u0443\\u0442\\u0430\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0432\\u0445\\u043E\\u0434\"},o={nan:\"NaN\",number:\"\\u0447\\u0438\\u0441\\u043B\\u043E\",array:\"\\u043C\\u0430\\u0441\\u0438\\u0432\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u0432\\u0445\\u043E\\u0434: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430\\u043D instanceof ${r.expected}, \\u043F\\u043E\\u043B\\u0443\\u0447\\u0435\\u043D ${s}`:`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u0432\\u0445\\u043E\\u0434: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430\\u043D ${i}, \\u043F\\u043E\\u043B\\u0443\\u0447\\u0435\\u043D ${s}`}case\"invalid_value\":return r.values.length===1?`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u0432\\u0445\\u043E\\u0434: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430\\u043D ${w(r.values[0])}`:`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u0430 \\u043E\\u043F\\u0446\\u0438\\u044F: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430\\u043D\\u043E \\u0435\\u0434\\u043D\\u043E \\u043E\\u0442 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0422\\u0432\\u044A\\u0440\\u0434\\u0435 \\u0433\\u043E\\u043B\\u044F\\u043C\\u043E: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430 \\u0441\\u0435 ${r.origin??\"\\u0441\\u0442\\u043E\\u0439\\u043D\\u043E\\u0441\\u0442\"} \\u0434\\u0430 \\u0441\\u044A\\u0434\\u044A\\u0440\\u0436\\u0430 ${i}${r.maximum.toString()} ${a.unit??\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\"}`:`\\u0422\\u0432\\u044A\\u0440\\u0434\\u0435 \\u0433\\u043E\\u043B\\u044F\\u043C\\u043E: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430 \\u0441\\u0435 ${r.origin??\"\\u0441\\u0442\\u043E\\u0439\\u043D\\u043E\\u0441\\u0442\"} \\u0434\\u0430 \\u0431\\u044A\\u0434\\u0435 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0422\\u0432\\u044A\\u0440\\u0434\\u0435 \\u043C\\u0430\\u043B\\u043A\\u043E: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430 \\u0441\\u0435 ${r.origin} \\u0434\\u0430 \\u0441\\u044A\\u0434\\u044A\\u0440\\u0436\\u0430 ${i}${r.minimum.toString()} ${a.unit}`:`\\u0422\\u0432\\u044A\\u0440\\u0434\\u0435 \\u043C\\u0430\\u043B\\u043A\\u043E: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430 \\u0441\\u0435 ${r.origin} \\u0434\\u0430 \\u0431\\u044A\\u0434\\u0435 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;if(i.format===\"starts_with\")return`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u043D\\u0438\\u0437: \\u0442\\u0440\\u044F\\u0431\\u0432\\u0430 \\u0434\\u0430 \\u0437\\u0430\\u043F\\u043E\\u0447\\u0432\\u0430 \\u0441 \"${i.prefix}\"`;if(i.format===\"ends_with\")return`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u043D\\u0438\\u0437: \\u0442\\u0440\\u044F\\u0431\\u0432\\u0430 \\u0434\\u0430 \\u0437\\u0430\\u0432\\u044A\\u0440\\u0448\\u0432\\u0430 \\u0441 \"${i.suffix}\"`;if(i.format===\"includes\")return`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u043D\\u0438\\u0437: \\u0442\\u0440\\u044F\\u0431\\u0432\\u0430 \\u0434\\u0430 \\u0432\\u043A\\u043B\\u044E\\u0447\\u0432\\u0430 \"${i.includes}\"`;if(i.format===\"regex\")return`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u043D\\u0438\\u0437: \\u0442\\u0440\\u044F\\u0431\\u0432\\u0430 \\u0434\\u0430 \\u0441\\u044A\\u0432\\u043F\\u0430\\u0434\\u0430 \\u0441 ${i.pattern}`;let a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D\";return i.format===\"emoji\"&&(a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u043E\"),i.format===\"datetime\"&&(a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u043E\"),i.format===\"date\"&&(a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u0430\"),i.format===\"time\"&&(a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u043E\"),i.format===\"duration\"&&(a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u0430\"),`${a} ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u043E \\u0447\\u0438\\u0441\\u043B\\u043E: \\u0442\\u0440\\u044F\\u0431\\u0432\\u0430 \\u0434\\u0430 \\u0431\\u044A\\u0434\\u0435 \\u043A\\u0440\\u0430\\u0442\\u043D\\u043E \\u043D\\u0430 ${r.divisor}`;case\"unrecognized_keys\":return`\\u041D\\u0435\\u0440\\u0430\\u0437\\u043F\\u043E\\u0437\\u043D\\u0430\\u0442${r.keys.length>1?\"\\u0438\":\"\"} \\u043A\\u043B\\u044E\\u0447${r.keys.length>1?\"\\u043E\\u0432\\u0435\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u043A\\u043B\\u044E\\u0447 \\u0432 ${r.origin}`;case\"invalid_union\":return\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u0432\\u0445\\u043E\\u0434\";case\"invalid_element\":return`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u0430 \\u0441\\u0442\\u043E\\u0439\\u043D\\u043E\\u0441\\u0442 \\u0432 ${r.origin}`;default:return\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u0432\\u0445\\u043E\\u0434\"}}};function m_(){return{localeError:dw()}}var mw=()=>{let e={string:{unit:\"\\u0985\\u0995\\u09CD\\u09B7\\u09B0\",verb:\"\\u09A5\\u09BE\\u0995\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7\"},file:{unit:\"\\u09AC\\u09BE\\u0987\\u099F\",verb:\"\\u09A5\\u09BE\\u0995\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7\"},array:{unit:\"\\u0986\\u0987\\u099F\\u09C7\\u09AE\",verb:\"\\u09A5\\u09BE\\u0995\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7\"},set:{unit:\"\\u0986\\u0987\\u099F\\u09C7\\u09AE\",verb:\"\\u09A5\\u09BE\\u0995\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7\"},map:{unit:\"\\u098F\\u09A8\\u09CD\\u099F\\u09CD\\u09B0\\u09BF\",verb:\"\\u09A5\\u09BE\\u0995\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7\"}};function t(r){return e[r]??null}let n={regex:\"\\u0987\\u09A8\\u09AA\\u09C1\\u099F\",email:\"\\u0987\\u09AE\\u09C7\\u0987\\u09B2 \\u09A0\\u09BF\\u0995\\u09BE\\u09A8\\u09BE\",url:\"URL\",emoji:\"\\u0987\\u09AE\\u09CB\\u099C\\u09BF\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u09A4\\u09BE\\u09B0\\u09BF\\u0996 \\u0993 \\u09B8\\u09AE\\u09AF\\u09BC\",date:\"ISO \\u09A4\\u09BE\\u09B0\\u09BF\\u0996\",time:\"ISO \\u09B8\\u09AE\\u09AF\\u09BC\",duration:\"ISO \\u09B8\\u09AE\\u09AF\\u09BC\\u0995\\u09BE\\u09B2\",ipv4:\"IPv4 \\u09A0\\u09BF\\u0995\\u09BE\\u09A8\\u09BE\",ipv6:\"IPv6 \\u09A0\\u09BF\\u0995\\u09BE\\u09A8\\u09BE\",mac:\"MAC \\u09A0\\u09BF\\u0995\\u09BE\\u09A8\\u09BE\",cidrv4:\"IPv4 \\u09B0\\u09C7\\u099E\\u09CD\\u099C\",cidrv6:\"IPv6 \\u09B0\\u09C7\\u099E\\u09CD\\u099C\",base64:\"base64-\\u098F\\u09A8\\u0995\\u09CB\\u09A1\\u09C7\\u09A1 \\u09B8\\u09CD\\u099F\\u09CD\\u09B0\\u09BF\\u0982\",base64url:\"base64url-\\u098F\\u09A8\\u0995\\u09CB\\u09A1\\u09C7\\u09A1 \\u09B8\\u09CD\\u099F\\u09CD\\u09B0\\u09BF\\u0982\",json_string:\"JSON \\u09B8\\u09CD\\u099F\\u09CD\\u09B0\\u09BF\\u0982\",e164:\"E.164 \\u09A8\\u09AE\\u09CD\\u09AC\\u09B0\",credit_card:\"\\u0995\\u09CD\\u09B0\\u09C7\\u09A1\\u09BF\\u099F \\u0995\\u09BE\\u09B0\\u09CD\\u09A1 \\u09A8\\u09AE\\u09CD\\u09AC\\u09B0\",currency_code:\"\\u09AE\\u09C1\\u09A6\\u09CD\\u09B0\\u09BE \\u0995\\u09CB\\u09A1\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0987\\u09A8\\u09AA\\u09C1\\u099F\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return`\\u0985\\u09AC\\u09C8\\u09A7 \\u0987\\u09A8\\u09AA\\u09C1\\u099F: \\u09AA\\u09CD\\u09B0\\u09A4\\u09CD\\u09AF\\u09BE\\u09B6\\u09BF\\u09A4 ${i}, \\u09AA\\u09CD\\u09B0\\u09BE\\u09AA\\u09CD\\u09A4 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0985\\u09AC\\u09C8\\u09A7 \\u0987\\u09A8\\u09AA\\u09C1\\u099F: \\u09AA\\u09CD\\u09B0\\u09A4\\u09CD\\u09AF\\u09BE\\u09B6\\u09BF\\u09A4 ${w(r.values[0])}`:`\\u0985\\u09AC\\u09C8\\u09A7 \\u0985\\u09AA\\u09B6\\u09A8: ${S(r.values,\" | \")} \\u098F\\u09B0 \\u09AE\\u09A7\\u09CD\\u09AF\\u09C7 \\u098F\\u0995\\u099F\\u09BF \\u09AA\\u09CD\\u09B0\\u09A4\\u09CD\\u09AF\\u09BE\\u09B6\\u09BF\\u09A4`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0985\\u09A8\\u09C7\\u0995 \\u09AC\\u09A1\\u09BC: ${r.origin??\"\\u09AE\\u09BE\\u09A8\"} ${i}${r.maximum.toString()} ${a.unit??\"\\u098F\\u09B2\\u09BF\\u09AE\\u09C7\\u09A8\\u09CD\\u099F\"} \\u09B9\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`:`\\u0985\\u09A8\\u09C7\\u0995 \\u09AC\\u09A1\\u09BC: ${r.origin??\"\\u09AE\\u09BE\\u09A8\"} ${i}${r.maximum.toString()} \\u09B9\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0985\\u09A8\\u09C7\\u0995 \\u099B\\u09CB\\u099F: ${r.origin} ${i}${r.minimum.toString()} ${a.unit} \\u09B9\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`:`\\u0985\\u09A8\\u09C7\\u0995 \\u099B\\u09CB\\u099F: ${r.origin} ${i}${r.minimum.toString()} \\u09B9\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0985\\u09AC\\u09C8\\u09A7 \\u09B8\\u09CD\\u099F\\u09CD\\u09B0\\u09BF\\u0982: \"${i.prefix}\" \\u09A6\\u09BF\\u09AF\\u09BC\\u09C7 \\u09B6\\u09C1\\u09B0\\u09C1 \\u09B9\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`:i.format===\"ends_with\"?`\\u0985\\u09AC\\u09C8\\u09A7 \\u09B8\\u09CD\\u099F\\u09CD\\u09B0\\u09BF\\u0982: \"${i.suffix}\" \\u09A6\\u09BF\\u09AF\\u09BC\\u09C7 \\u09B6\\u09C7\\u09B7 \\u09B9\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`:i.format===\"includes\"?`\\u0985\\u09AC\\u09C8\\u09A7 \\u09B8\\u09CD\\u099F\\u09CD\\u09B0\\u09BF\\u0982: \"${i.includes}\" \\u0985\\u09A8\\u09CD\\u09A4\\u09B0\\u09CD\\u09AD\\u09C1\\u0995\\u09CD\\u09A4 \\u09A5\\u09BE\\u0995\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`:i.format===\"regex\"?`\\u0985\\u09AC\\u09C8\\u09A7 \\u09B8\\u09CD\\u099F\\u09CD\\u09B0\\u09BF\\u0982: ${i.pattern} \\u09AA\\u09CD\\u09AF\\u09BE\\u099F\\u09BE\\u09B0\\u09CD\\u09A8 \\u09AE\\u09BF\\u09B2\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`:`\\u0985\\u09AC\\u09C8\\u09A7 ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u0985\\u09AC\\u09C8\\u09A7 \\u09A8\\u09AE\\u09CD\\u09AC\\u09B0: ${r.divisor} \\u098F\\u09B0 \\u0997\\u09C1\\u09A3\\u09BF\\u09A4\\u0995 \\u09B9\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`;case\"unrecognized_keys\":return`\\u0985\\u099A\\u09C7\\u09A8\\u09BE \\u0995\\u09C0${r.keys.length>1?\"\\u0997\\u09C1\\u09B2\\u09CB\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} \\u098F \\u0985\\u09AC\\u09C8\\u09A7 \\u0995\\u09C0`;case\"invalid_union\":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\\u0985\\u09AC\\u09C8\\u09A7 \\u09A1\\u09BF\\u09B8\\u0995\\u09CD\\u09B0\\u09BF\\u09AE\\u09BF\\u09A8\\u09C7\\u099F\\u09B0 \\u09AE\\u09BE\\u09A8\\u0964 \\u09AA\\u09CD\\u09B0\\u09A4\\u09CD\\u09AF\\u09BE\\u09B6\\u09BF\\u09A4 ${r.options.map(a=>`'${a}'`).join(\" | \")}`:\"\\u0985\\u09AC\\u09C8\\u09A7 \\u0987\\u09A8\\u09AA\\u09C1\\u099F\";case\"invalid_element\":return`${r.origin} \\u098F \\u0985\\u09AC\\u09C8\\u09A7 \\u09AE\\u09BE\\u09A8`;default:return\"\\u0985\\u09AC\\u09C8\\u09A7 \\u0987\\u09A8\\u09AA\\u09C1\\u099F\"}}};function p_(){return{localeError:mw()}}var pw=()=>{let e={string:{unit:\"car\\xE0cters\",verb:\"contenir\"},file:{unit:\"bytes\",verb:\"contenir\"},array:{unit:\"elements\",verb:\"contenir\"},set:{unit:\"elements\",verb:\"contenir\"},map:{unit:\"elements\",verb:\"contenir\"}};function t(r){return e[r]??null}let n={regex:\"entrada\",email:\"adre\\xE7a electr\\xF2nica\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"data i hora ISO\",date:\"data ISO\",time:\"hora ISO\",duration:\"durada ISO\",ipv4:\"adre\\xE7a IPv4\",ipv6:\"adre\\xE7a IPv6\",mac:\"adre\\xE7a MAC\",cidrv4:\"rang IPv4\",cidrv6:\"rang IPv6\",base64:\"cadena codificada en base64\",base64url:\"cadena codificada en base64url\",json_string:\"cadena JSON\",e164:\"n\\xFAmero E.164\",credit_card:\"n\\xFAmero de targeta de cr\\xE8dit\",currency_code:\"codi de moneda\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"entrada\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Tipus inv\\xE0lid: s'esperava instanceof ${r.expected}, s'ha rebut ${s}`:`Tipus inv\\xE0lid: s'esperava ${i}, s'ha rebut ${s}`}case\"invalid_value\":return r.values.length===1?`Valor inv\\xE0lid: s'esperava ${w(r.values[0])}`:`Opci\\xF3 inv\\xE0lida: s'esperava una de ${S(r.values,\" o \")}`;case\"too_big\":{let i=r.inclusive?\"com a m\\xE0xim\":\"menys de\",a=t(r.origin);return a?`Massa gran: s'esperava que ${r.origin??\"el valor\"} contingu\\xE9s ${i} ${r.maximum.toString()} ${a.unit??\"elements\"}`:`Massa gran: s'esperava que ${r.origin??\"el valor\"} fos ${i} ${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\"com a m\\xEDnim\":\"m\\xE9s de\",a=t(r.origin);return a?`Massa petit: s'esperava que ${r.origin} contingu\\xE9s ${i} ${r.minimum.toString()} ${a.unit}`:`Massa petit: s'esperava que ${r.origin} fos ${i} ${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Format inv\\xE0lid: ha de comen\\xE7ar amb \"${i.prefix}\"`:i.format===\"ends_with\"?`Format inv\\xE0lid: ha d'acabar amb \"${i.suffix}\"`:i.format===\"includes\"?`Format inv\\xE0lid: ha d'incloure \"${i.includes}\"`:i.format===\"regex\"?`Format inv\\xE0lid: ha de coincidir amb el patr\\xF3 ${i.pattern}`:`Format inv\\xE0lid per a ${n[i.format]??r.format}`}case\"not_multiple_of\":return`N\\xFAmero inv\\xE0lid: ha de ser m\\xFAltiple de ${r.divisor}`;case\"unrecognized_keys\":return`Clau${r.keys.length>1?\"s\":\"\"} no reconeguda${r.keys.length>1?\"s\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Clau inv\\xE0lida a ${r.origin}`;case\"invalid_union\":return\"Entrada inv\\xE0lida\";case\"invalid_element\":return`Element inv\\xE0lid a ${r.origin}`;default:return\"Entrada inv\\xE0lida\"}}};function f_(){return{localeError:pw()}}var fw=()=>{let e={string:{unit:\"\\u067E\\u06CC\\u062A\",verb:\"\\u0628\\u06CE\\u062A\"},file:{unit:\"\\u0628\\u0627\\u06CC\\u062A\",verb:\"\\u0628\\u06CE\\u062A\"},array:{unit:\"\\u062F\\u0627\\u0646\\u06D5\",verb:\"\\u0628\\u06CE\\u062A\"},set:{unit:\"\\u062F\\u0627\\u0646\\u06D5\",verb:\"\\u0628\\u06CE\\u062A\"},map:{unit:\"\\u062F\\u0627\\u0646\\u06D5\",verb:\"\\u0628\\u06CE\\u062A\"}};function t(r){return e[r]??null}let n={regex:\"regex\",email:\"\\u0626\\u06CC\\u0645\\u06D5\\u06CC\\u06B5\",url:\"\\u0628\\u06D5\\u0633\\u062A\\u06D5\\u0631 (URL)\",emoji:\"\\u0626\\u06CC\\u0645\\u06C6\\u062C\\u06CC\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u0695\\u06CE\\u06A9\\u06D5\\u0648\\u062A \\u0648 \\u06A9\\u0627\\u062A\",date:\"\\u0695\\u06CE\\u06A9\\u06D5\\u0648\\u062A\",time:\"\\u06A9\\u0627\\u062A\",duration:\"\\u0645\\u0627\\u0648\\u06D5\",ipv4:\"\\u0646\\u0627\\u0648\\u0646\\u06CC\\u0634\\u0627\\u0646\\u06CC IPv4\",ipv6:\"\\u0646\\u0627\\u0648\\u0646\\u06CC\\u0634\\u0627\\u0646\\u06CC IPv6\",mac:\"\\u0646\\u0627\\u0648\\u0646\\u06CC\\u0634\\u0627\\u0646\\u06CC MAC\",cidrv4:\"\\u0645\\u06D5\\u0648\\u062F\\u0627\\u06CC IPv4\",cidrv6:\"\\u0645\\u06D5\\u0648\\u062F\\u0627\\u06CC IPv6\",base64:\"\\u062F\\u06D5\\u0642\\u06CC base64\",base64url:\"\\u062F\\u06D5\\u0642\\u06CC base64url\",json_string:\"\\u062F\\u06D5\\u0642\\u06CC JSON\",e164:\"\\u0698\\u0645\\u0627\\u0631\\u06D5\\u06CC E.164\",credit_card:\"\\u0698\\u0645\\u0627\\u0631\\u06D5\\u06CC \\u06A9\\u0627\\u0631\\u062A\\u06CC \\u06A9\\u0631\\u06CE\\u062F\\u06CC\\u062A\",currency_code:\"\\u06A9\\u06C6\\u062F\\u06CC \\u062F\\u0631\\u0627\\u0648\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u062A\\u06CE\\u06A9\\u0631\\u062F\\u06D5\"},o={nan:\"NaN\",string:\"\\u0646\\u0648\\u0648\\u0633\\u06CC\\u0646\",number:\"\\u0698\\u0645\\u0627\\u0631\\u06D5\",boolean:\"boolean\",array:\"array\",object:\"object\",date:\"\\u0695\\u06CE\\u06A9\\u06D5\\u0648\\u062A\",integer:\"\\u0698\\u0645\\u0627\\u0631\\u06D5\",float:\"\\u0698\\u0645\\u0627\\u0631\\u06D5\",null:\"null\",undefined:\"undefined\",function:\"function\",symbol:\"symbol\",unknown:\"unknown\",promise:\"promise\",void:\"void\",never:\"never\",map:\"map\",set:\"set\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a,c=[\"\\u0627\",\"\\u0648\",\"\\u06C6\",\"\\u0648\\u0648\",\"\\u06D5\",\"\\u06CC\",\"\\u06CE\"].some(d=>s.endsWith(d))?\"\\u06CC\\u06D5\":\"\\u06D5\",l=/^[a-zA-Z]+$/.test(s);return a===\"null\"||a===\"undefined\"?\"\\u062F\\u0627\\u0648\\u0627\\u06A9\\u0631\\u0627\\u0648\\u06D5\":`\\u0686\\u0627\\u0648\\u06D5\\u0695\\u0648\\u0627\\u0646\\u06A9\\u0631\\u0627\\u0648\\u06D5 ${i} \\u0628\\u06CE\\u062A\\u060C \\u0628\\u06D5\\u06B5\\u0627\\u0645 ${s}${l?\"\":c}`}case\"invalid_value\":return r.values.length===1?`\\u0628\\u06D5\\u0647\\u0627\\u06A9\\u06D5 \\u0646\\u0627\\u062F\\u0631\\u0648\\u0648\\u0633\\u062A\\u06D5: \\u0686\\u0627\\u0648\\u06D5\\u0695\\u0648\\u0627\\u0646\\u06A9\\u0631\\u0627\\u0648\\u06D5 ${w(r.values[0])} \\u0628\\u06CE\\u062A`:`\\u0647\\u06D5\\u06B5\\u0628\\u0698\\u0627\\u0631\\u062F\\u06D5\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A: \\u0686\\u0627\\u0648\\u06D5\\u0695\\u0648\\u0627\\u0646\\u06A9\\u0631\\u0627\\u0648\\u06D5 \\u06CC\\u06D5\\u06A9\\u06CE\\u06A9 \\u0628\\u06CE\\u062A \\u0644\\u06D5 ${S(r.values,\"|\")}`;case\"too_big\":{let i=t(r.origin);return i?`\\u067E\\u06CE\\u0648\\u06CC\\u0633\\u062A\\u06D5 \\u0628\\u06D5 \\u0644\\u0627\\u06CC\\u06D5\\u0646\\u06CC \\u0632\\u06C6\\u0631\\u06D5\\u0648\\u06D5 ${r.maximum.toString()} ${i.unit} ${i.verb}`:`\\u067E\\u06CE\\u0648\\u06CC\\u0633\\u062A\\u06D5 \\u0628\\u06D5 \\u0644\\u0627\\u06CC\\u06D5\\u0646\\u06CC \\u0632\\u06C6\\u0631\\u06D5\\u0648\\u06D5 ${r.maximum.toString()} \\u0628\\u06CE\\u062A`}case\"too_small\":{let i=t(r.origin);return i?`\\u067E\\u06CE\\u0648\\u06CC\\u0633\\u062A\\u06D5 \\u0628\\u06D5 \\u0644\\u0627\\u06CC\\u06D5\\u0646\\u06CC \\u06A9\\u06D5\\u0645\\u06D5\\u0648\\u06D5 ${r.minimum.toString()} ${i.unit} ${i.verb}`:`\\u067E\\u06CE\\u0648\\u06CC\\u0633\\u062A\\u06D5 \\u0628\\u06D5 \\u0644\\u0627\\u06CC\\u06D5\\u0646\\u06CC \\u06A9\\u06D5\\u0645\\u06D5\\u0648\\u06D5 ${r.minimum.toString()} \\u0628\\u06CE\\u062A`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u062F\\u06D5\\u0642\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A: \\u067E\\u06CE\\u0648\\u06CC\\u0633\\u062A\\u06D5 \\u062F\\u06D5\\u0633\\u062A\\u067E\\u06CE\\u0628\\u06A9\\u0627\\u062A \\u0628\\u06D5 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u062F\\u06D5\\u0642\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A: \\u067E\\u06CE\\u0648\\u06CC\\u0633\\u062A\\u06D5 \\u06A9\\u06C6\\u062A\\u0627\\u06CC\\u06CC\\u0628\\u06CE\\u062A \\u0628\\u06D5 \"${i.suffix}\"`:i.format===\"includes\"?`\\u062F\\u06D5\\u0642\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A: \\u067E\\u06CE\\u0648\\u06CC\\u0633\\u062A\\u06D5 \"${i.includes}\" \\u0644\\u06D5\\u062E\\u06C6\\u0628\\u06AF\\u0631\\u06CE\\u062A`:i.format===\"regex\"?`\\u062F\\u06D5\\u0642\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A: \\u067E\\u06CE\\u0648\\u06CC\\u0633\\u062A\\u06D5 \\u0644\\u06D5\\u06AF\\u06D5\\u06B5 \\u067E\\u0627\\u062A\\u06CE\\u0631\\u0646\\u06CC ${i.pattern} \\u0628\\u06AF\\u0648\\u0646\\u062C\\u06CE\\u062A`:`\\u0628\\u06D5\\u0647\\u0627\\u06CC ${n[i.format]??r.format} \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A\\u06D5`}case\"not_multiple_of\":return`\\u0698\\u0645\\u0627\\u0631\\u06D5\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A: \\u062F\\u06D5\\u0628\\u06CE\\u062A \\u0686\\u06D5\\u0646\\u062F \\u0647\\u06CE\\u0646\\u062F\\u06D5 \\u0628\\u06CE\\u062A \\u0628\\u06C6 ${r.divisor}`;case\"unrecognized_keys\":return`\\u06A9\\u0644\\u06CC\\u0644\\u06CC \\u0646\\u06D5\\u0646\\u0627\\u0633\\u0631\\u0627\\u0648: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u06A9\\u0644\\u06CC\\u0644\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A \\u0644\\u06D5 ${r.origin}`;case\"invalid_union\":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\\u0628\\u06D5\\u0647\\u0627\\u06CC \\u0646\\u06D5\\u0646\\u0627\\u0633\\u0631\\u0627\\u0648 \\u0647\\u06D5\\u06CC\\u06D5. \\u0628\\u06D5\\u0647\\u0627\\u06CC \\u0686\\u0627\\u0648\\u06D5\\u0695\\u0648\\u0627\\u0646\\u06A9\\u0631\\u0627\\u0648: ${r.options.map(a=>`'${a}'`).join(\" | \")}`:\"\\u06CC\\u06D5\\u06A9\\u06AF\\u0631\\u062A\\u0646\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A\";case\"invalid_element\":return`${r.origin} \\u0628\\u06D5\\u0647\\u0627\\u06A9\\u06D5 \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A\\u06D5`;default:return\"\\u062A\\u06CE\\u06A9\\u0631\\u062F\\u06D5\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A\"}}};function h_(){return{localeError:fw()}}var hw=()=>{let e={string:{unit:\"znak\\u016F\",verb:\"m\\xEDt\"},file:{unit:\"bajt\\u016F\",verb:\"m\\xEDt\"},array:{unit:\"prvk\\u016F\",verb:\"m\\xEDt\"},set:{unit:\"prvk\\u016F\",verb:\"m\\xEDt\"},map:{unit:\"prvk\\u016F\",verb:\"m\\xEDt\"}};function t(r){return e[r]??null}let n={regex:\"regul\\xE1rn\\xED v\\xFDraz\",email:\"e-mailov\\xE1 adresa\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"datum a \\u010Das ve form\\xE1tu ISO\",date:\"datum ve form\\xE1tu ISO\",time:\"\\u010Das ve form\\xE1tu ISO\",duration:\"doba trv\\xE1n\\xED ISO\",ipv4:\"IPv4 adresa\",ipv6:\"IPv6 adresa\",mac:\"MAC adresa\",cidrv4:\"rozsah IPv4\",cidrv6:\"rozsah IPv6\",base64:\"\\u0159et\\u011Bzec zak\\xF3dovan\\xFD ve form\\xE1tu base64\",base64url:\"\\u0159et\\u011Bzec zak\\xF3dovan\\xFD ve form\\xE1tu base64url\",json_string:\"\\u0159et\\u011Bzec ve form\\xE1tu JSON\",e164:\"\\u010D\\xEDslo E.164\",credit_card:\"\\u010D\\xEDslo kreditn\\xED karty\",currency_code:\"k\\xF3d m\\u011Bny\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"vstup\"},o={nan:\"NaN\",number:\"\\u010D\\xEDslo\",string:\"\\u0159et\\u011Bzec\",function:\"funkce\",array:\"pole\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Neplatn\\xFD vstup: o\\u010Dek\\xE1v\\xE1no instanceof ${r.expected}, obdr\\u017Eeno ${s}`:`Neplatn\\xFD vstup: o\\u010Dek\\xE1v\\xE1no ${i}, obdr\\u017Eeno ${s}`}case\"invalid_value\":return r.values.length===1?`Neplatn\\xFD vstup: o\\u010Dek\\xE1v\\xE1no ${w(r.values[0])}`:`Neplatn\\xE1 mo\\u017Enost: o\\u010Dek\\xE1v\\xE1na jedna z hodnot ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Hodnota je p\\u0159\\xEDli\\u0161 velk\\xE1: ${r.origin??\"hodnota\"} mus\\xED m\\xEDt ${i}${r.maximum.toString()} ${a.unit??\"prvk\\u016F\"}`:`Hodnota je p\\u0159\\xEDli\\u0161 velk\\xE1: ${r.origin??\"hodnota\"} mus\\xED b\\xFDt ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Hodnota je p\\u0159\\xEDli\\u0161 mal\\xE1: ${r.origin??\"hodnota\"} mus\\xED m\\xEDt ${i}${r.minimum.toString()} ${a.unit??\"prvk\\u016F\"}`:`Hodnota je p\\u0159\\xEDli\\u0161 mal\\xE1: ${r.origin??\"hodnota\"} mus\\xED b\\xFDt ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Neplatn\\xFD \\u0159et\\u011Bzec: mus\\xED za\\u010D\\xEDnat na \"${i.prefix}\"`:i.format===\"ends_with\"?`Neplatn\\xFD \\u0159et\\u011Bzec: mus\\xED kon\\u010Dit na \"${i.suffix}\"`:i.format===\"includes\"?`Neplatn\\xFD \\u0159et\\u011Bzec: mus\\xED obsahovat \"${i.includes}\"`:i.format===\"regex\"?`Neplatn\\xFD \\u0159et\\u011Bzec: mus\\xED odpov\\xEDdat vzoru ${i.pattern}`:`Neplatn\\xFD form\\xE1t ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Neplatn\\xE9 \\u010D\\xEDslo: mus\\xED b\\xFDt n\\xE1sobkem ${r.divisor}`;case\"unrecognized_keys\":return`Nezn\\xE1m\\xE9 kl\\xED\\u010De: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Neplatn\\xFD kl\\xED\\u010D v ${r.origin}`;case\"invalid_union\":return\"Neplatn\\xFD vstup\";case\"invalid_element\":return`Neplatn\\xE1 hodnota v ${r.origin}`;default:return\"Neplatn\\xFD vstup\"}}};function g_(){return{localeError:hw()}}var gw=()=>{let e={string:{unit:\"tegn\",verb:\"havde\"},file:{unit:\"bytes\",verb:\"havde\"},array:{unit:\"elementer\",verb:\"indeholdt\"},set:{unit:\"elementer\",verb:\"indeholdt\"},map:{unit:\"elementer\",verb:\"indeholdt\"}};function t(r){return e[r]??null}let n={regex:\"input\",email:\"e-mailadresse\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO dato- og klokkesl\\xE6t\",date:\"ISO-dato\",time:\"ISO-klokkesl\\xE6t\",duration:\"ISO-varighed\",ipv4:\"IPv4-adresse\",ipv6:\"IPv6-adresse\",mac:\"MAC-adresse\",cidrv4:\"IPv4-spektrum\",cidrv6:\"IPv6-spektrum\",base64:\"base64-kodet streng\",base64url:\"base64url-kodet streng\",json_string:\"JSON-streng\",e164:\"E.164-nummer\",credit_card:\"kreditkortnummer\",currency_code:\"valutakode\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\",string:\"streng\",number:\"tal\",boolean:\"boolean\",array:\"liste\",object:\"objekt\",set:\"s\\xE6t\",file:\"fil\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Ugyldigt input: forventede instanceof ${r.expected}, fik ${s}`:`Ugyldigt input: forventede ${i}, fik ${s}`}case\"invalid_value\":return r.values.length===1?`Ugyldig v\\xE6rdi: forventede ${w(r.values[0])}`:`Ugyldigt valg: forventede en af f\\xF8lgende ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin),s=o[r.origin]??r.origin;return a?`For stor: forventede ${s??\"value\"} ${a.verb} ${i} ${r.maximum.toString()} ${a.unit??\"elementer\"}`:`For stor: forventede ${s??\"value\"} havde ${i} ${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin),s=o[r.origin]??r.origin;return a?`For lille: forventede ${s} ${a.verb} ${i} ${r.minimum.toString()} ${a.unit}`:`For lille: forventede ${s} havde ${i} ${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Ugyldig streng: skal starte med \"${i.prefix}\"`:i.format===\"ends_with\"?`Ugyldig streng: skal ende med \"${i.suffix}\"`:i.format===\"includes\"?`Ugyldig streng: skal indeholde \"${i.includes}\"`:i.format===\"regex\"?`Ugyldig streng: skal matche m\\xF8nsteret ${i.pattern}`:`Ugyldig ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Ugyldigt tal: skal v\\xE6re deleligt med ${r.divisor}`;case\"unrecognized_keys\":return`${r.keys.length>1?\"Ukendte n\\xF8gler\":\"Ukendt n\\xF8gle\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Ugyldig n\\xF8gle i ${r.origin}`;case\"invalid_union\":return\"Ugyldigt input: matcher ingen af de tilladte typer\";case\"invalid_element\":return`Ugyldig v\\xE6rdi i ${r.origin}`;default:return\"Ugyldigt input\"}}};function v_(){return{localeError:gw()}}var vw=()=>{let e={string:{unit:\"Zeichen\",verb:\"zu haben\"},file:{unit:\"Bytes\",verb:\"zu haben\"},array:{unit:\"Elemente\",verb:\"zu haben\"},set:{unit:\"Elemente\",verb:\"zu haben\"},map:{unit:\"Elemente\",verb:\"zu haben\"}};function t(r){return e[r]??null}let n={regex:\"Eingabe\",email:\"E-Mail-Adresse\",url:\"URL\",emoji:\"Emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO-Datum und -Uhrzeit\",date:\"ISO-Datum\",time:\"ISO-Uhrzeit\",duration:\"ISO-Dauer\",ipv4:\"IPv4-Adresse\",ipv6:\"IPv6-Adresse\",mac:\"MAC-Adresse\",cidrv4:\"IPv4-Bereich\",cidrv6:\"IPv6-Bereich\",base64:\"Base64-codierter String\",base64url:\"Base64-URL-codierter String\",json_string:\"JSON-String\",e164:\"E.164-Nummer\",credit_card:\"Kreditkartennummer\",currency_code:\"W\\xE4hrungscode\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"Eingabe\"},o={nan:\"NaN\",number:\"Zahl\",array:\"Array\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Ung\\xFCltige Eingabe: erwartet instanceof ${r.expected}, erhalten ${s}`:`Ung\\xFCltige Eingabe: erwartet ${i}, erhalten ${s}`}case\"invalid_value\":return r.values.length===1?`Ung\\xFCltige Eingabe: erwartet ${w(r.values[0])}`:`Ung\\xFCltige Option: erwartet eine von ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Zu gro\\xDF: erwartet, dass ${r.origin??\"Wert\"} ${i}${r.maximum.toString()} ${a.unit??\"Elemente\"} hat`:`Zu gro\\xDF: erwartet, dass ${r.origin??\"Wert\"} ${i}${r.maximum.toString()} ist`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Zu klein: erwartet, dass ${r.origin} ${i}${r.minimum.toString()} ${a.unit} hat`:`Zu klein: erwartet, dass ${r.origin} ${i}${r.minimum.toString()} ist`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Ung\\xFCltiger String: muss mit \"${i.prefix}\" beginnen`:i.format===\"ends_with\"?`Ung\\xFCltiger String: muss mit \"${i.suffix}\" enden`:i.format===\"includes\"?`Ung\\xFCltiger String: muss \"${i.includes}\" enthalten`:i.format===\"regex\"?`Ung\\xFCltiger String: muss dem Muster ${i.pattern} entsprechen`:`Ung\\xFCltig: ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Ung\\xFCltige Zahl: muss ein Vielfaches von ${r.divisor} sein`;case\"unrecognized_keys\":return`${r.keys.length>1?\"Unbekannte Schl\\xFCssel\":\"Unbekannter Schl\\xFCssel\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Ung\\xFCltiger Schl\\xFCssel in ${r.origin}`;case\"invalid_union\":return\"Ung\\xFCltige Eingabe\";case\"invalid_element\":return`Ung\\xFCltiger Wert in ${r.origin}`;default:return\"Ung\\xFCltige Eingabe\"}}};function __(){return{localeError:vw()}}var _w=()=>{let e={string:{unit:\"\\u03C7\\u03B1\\u03C1\\u03B1\\u03BA\\u03C4\\u03AE\\u03C1\\u03B5\\u03C2\",verb:\"\\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9\"},file:{unit:\"bytes\",verb:\"\\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9\"},array:{unit:\"\\u03C3\\u03C4\\u03BF\\u03B9\\u03C7\\u03B5\\u03AF\\u03B1\",verb:\"\\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9\"},set:{unit:\"\\u03C3\\u03C4\\u03BF\\u03B9\\u03C7\\u03B5\\u03AF\\u03B1\",verb:\"\\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9\"},map:{unit:\"\\u03BA\\u03B1\\u03C4\\u03B1\\u03C7\\u03C9\\u03C1\\u03AE\\u03C3\\u03B5\\u03B9\\u03C2\",verb:\"\\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9\"}};function t(r){return e[r]??null}let n={regex:\"\\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2\",email:\"\\u03B4\\u03B9\\u03B5\\u03CD\\u03B8\\u03C5\\u03BD\\u03C3\\u03B7 email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u03B7\\u03BC\\u03B5\\u03C1\\u03BF\\u03BC\\u03B7\\u03BD\\u03AF\\u03B1 \\u03BA\\u03B1\\u03B9 \\u03CE\\u03C1\\u03B1\",date:\"ISO \\u03B7\\u03BC\\u03B5\\u03C1\\u03BF\\u03BC\\u03B7\\u03BD\\u03AF\\u03B1\",time:\"ISO \\u03CE\\u03C1\\u03B1\",duration:\"ISO \\u03B4\\u03B9\\u03AC\\u03C1\\u03BA\\u03B5\\u03B9\\u03B1\",ipv4:\"\\u03B4\\u03B9\\u03B5\\u03CD\\u03B8\\u03C5\\u03BD\\u03C3\\u03B7 IPv4\",ipv6:\"\\u03B4\\u03B9\\u03B5\\u03CD\\u03B8\\u03C5\\u03BD\\u03C3\\u03B7 IPv6\",mac:\"\\u03B4\\u03B9\\u03B5\\u03CD\\u03B8\\u03C5\\u03BD\\u03C3\\u03B7 MAC\",cidrv4:\"\\u03B5\\u03CD\\u03C1\\u03BF\\u03C2 IPv4\",cidrv6:\"\\u03B5\\u03CD\\u03C1\\u03BF\\u03C2 IPv6\",base64:\"\\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC \\u03BA\\u03C9\\u03B4\\u03B9\\u03BA\\u03BF\\u03C0\\u03BF\\u03B9\\u03B7\\u03BC\\u03AD\\u03BD\\u03B7 \\u03C3\\u03B5 base64\",base64url:\"\\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC \\u03BA\\u03C9\\u03B4\\u03B9\\u03BA\\u03BF\\u03C0\\u03BF\\u03B9\\u03B7\\u03BC\\u03AD\\u03BD\\u03B7 \\u03C3\\u03B5 base64url\",json_string:\"\\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC JSON\",e164:\"\\u03B1\\u03C1\\u03B9\\u03B8\\u03BC\\u03CC\\u03C2 E.164\",credit_card:\"\\u03B1\\u03C1\\u03B9\\u03B8\\u03BC\\u03CC\\u03C2 \\u03C0\\u03B9\\u03C3\\u03C4\\u03C9\\u03C4\\u03B9\\u03BA\\u03AE\\u03C2 \\u03BA\\u03AC\\u03C1\\u03C4\\u03B1\\u03C2\",currency_code:\"\\u03BA\\u03C9\\u03B4\\u03B9\\u03BA\\u03CC\\u03C2 \\u03BD\\u03BF\\u03BC\\u03AF\\u03C3\\u03BC\\u03B1\\u03C4\\u03BF\\u03C2\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return typeof r.expected==\"string\"&&/^[A-Z]/.test(r.expected)?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD instanceof ${r.expected}, \\u03BB\\u03AE\\u03C6\\u03B8\\u03B7\\u03BA\\u03B5 ${s}`:`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${i}, \\u03BB\\u03AE\\u03C6\\u03B8\\u03B7\\u03BA\\u03B5 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${w(r.values[0])}`:`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03C0\\u03B9\\u03BB\\u03BF\\u03B3\\u03AE: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD \\u03AD\\u03BD\\u03B1 \\u03B1\\u03C0\\u03CC ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u03A0\\u03BF\\u03BB\\u03CD \\u03BC\\u03B5\\u03B3\\u03AC\\u03BB\\u03BF: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${r.origin??\"\\u03C4\\u03B9\\u03BC\\u03AE\"} \\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9 ${i}${r.maximum.toString()} ${a.unit??\"\\u03C3\\u03C4\\u03BF\\u03B9\\u03C7\\u03B5\\u03AF\\u03B1\"}`:`\\u03A0\\u03BF\\u03BB\\u03CD \\u03BC\\u03B5\\u03B3\\u03AC\\u03BB\\u03BF: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${r.origin??\"\\u03C4\\u03B9\\u03BC\\u03AE\"} \\u03BD\\u03B1 \\u03B5\\u03AF\\u03BD\\u03B1\\u03B9 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u03A0\\u03BF\\u03BB\\u03CD \\u03BC\\u03B9\\u03BA\\u03C1\\u03CC: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${r.origin} \\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9 ${i}${r.minimum.toString()} ${a.unit}`:`\\u03A0\\u03BF\\u03BB\\u03CD \\u03BC\\u03B9\\u03BA\\u03C1\\u03CC: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${r.origin} \\u03BD\\u03B1 \\u03B5\\u03AF\\u03BD\\u03B1\\u03B9 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC: \\u03C0\\u03C1\\u03AD\\u03C0\\u03B5\\u03B9 \\u03BD\\u03B1 \\u03BE\\u03B5\\u03BA\\u03B9\\u03BD\\u03AC \\u03BC\\u03B5 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC: \\u03C0\\u03C1\\u03AD\\u03C0\\u03B5\\u03B9 \\u03BD\\u03B1 \\u03C4\\u03B5\\u03BB\\u03B5\\u03B9\\u03CE\\u03BD\\u03B5\\u03B9 \\u03BC\\u03B5 \"${i.suffix}\"`:i.format===\"includes\"?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC: \\u03C0\\u03C1\\u03AD\\u03C0\\u03B5\\u03B9 \\u03BD\\u03B1 \\u03C0\\u03B5\\u03C1\\u03B9\\u03AD\\u03C7\\u03B5\\u03B9 \"${i.includes}\"`:i.format===\"regex\"?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC: \\u03C0\\u03C1\\u03AD\\u03C0\\u03B5\\u03B9 \\u03BD\\u03B1 \\u03C4\\u03B1\\u03B9\\u03C1\\u03B9\\u03AC\\u03B6\\u03B5\\u03B9 \\u03BC\\u03B5 \\u03C4\\u03BF \\u03BC\\u03BF\\u03C4\\u03AF\\u03B2\\u03BF ${i.pattern}`:`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03BF: ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03BF\\u03C2 \\u03B1\\u03C1\\u03B9\\u03B8\\u03BC\\u03CC\\u03C2: \\u03C0\\u03C1\\u03AD\\u03C0\\u03B5\\u03B9 \\u03BD\\u03B1 \\u03B5\\u03AF\\u03BD\\u03B1\\u03B9 \\u03C0\\u03BF\\u03BB\\u03BB\\u03B1\\u03C0\\u03BB\\u03AC\\u03C3\\u03B9\\u03BF \\u03C4\\u03BF\\u03C5 ${r.divisor}`;case\"unrecognized_keys\":return`\\u0386\\u03B3\\u03BD\\u03C9\\u03C3\\u03C4${r.keys.length>1?\"\\u03B1\":\"\\u03BF\"} \\u03BA\\u03BB\\u03B5\\u03B9\\u03B4${r.keys.length>1?\"\\u03B9\\u03AC\":\"\\u03AF\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03BF \\u03BA\\u03BB\\u03B5\\u03B9\\u03B4\\u03AF \\u03C3\\u03C4\\u03BF ${r.origin}`;case\"invalid_union\":return\"\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2\";case\"invalid_element\":return`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03C4\\u03B9\\u03BC\\u03AE \\u03C3\\u03C4\\u03BF ${r.origin}`;default:return\"\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2\"}}};function S_(){return{localeError:_w()}}var Sw=()=>{let e={string:{unit:\"characters\",verb:\"to have\"},file:{unit:\"bytes\",verb:\"to have\"},array:{unit:\"items\",verb:\"to have\"},set:{unit:\"items\",verb:\"to have\"},map:{unit:\"entries\",verb:\"to have\"}};function t(i){return e[i]??null}let n={regex:\"input\",email:\"email address\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO datetime\",date:\"ISO date\",time:\"ISO time\",duration:\"ISO duration\",ipv4:\"IPv4 address\",ipv6:\"IPv6 address\",mac:\"MAC address\",cidrv4:\"IPv4 range\",cidrv6:\"IPv6 range\",base64:\"base64-encoded string\",base64url:\"base64url-encoded string\",json_string:\"JSON string\",e164:\"E.164 number\",currency_code:\"currency code\",credit_card:\"credit card number\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\"};function r(i,a){return i===\"number\"&&typeof a==\"number\"&&!Number.isFinite(a)?String(a):o[i]??i}return i=>{switch(i.code){case\"invalid_type\":{let a=r(i.expected),s=k(i.input),c=r(s,i.input);return`Invalid input: expected ${a}, received ${c}`}case\"invalid_value\":return i.values.length===1?`Invalid input: expected ${w(i.values[0])}`:`Invalid option: expected one of ${S(i.values,\"|\")}`;case\"too_big\":{let a=i.exact?\"exactly \":i.inclusive?\"<=\":\"<\",s=t(i.origin);return s?`Too big: expected ${i.origin??\"value\"} to have ${a}${i.maximum.toString()} ${s.unit??\"elements\"}`:`Too big: expected ${i.origin??\"value\"} to be ${a}${i.maximum.toString()}`}case\"too_small\":{let a=i.exact?\"exactly \":i.inclusive?\">=\":\">\",s=t(i.origin);return s?`Too small: expected ${i.origin} to have ${a}${i.minimum.toString()} ${s.unit}`:`Too small: expected ${i.origin} to be ${a}${i.minimum.toString()}`}case\"invalid_format\":{let a=i;return a.format===\"starts_with\"?`Invalid string: must start with \"${a.prefix}\"`:a.format===\"ends_with\"?`Invalid string: must end with \"${a.suffix}\"`:a.format===\"includes\"?`Invalid string: must include \"${a.includes}\"`:a.format===\"regex\"?`Invalid string: must match pattern ${a.pattern}`:`Invalid ${n[a.format]??i.format}`}case\"not_multiple_of\":return`Invalid number: must be a multiple of ${i.divisor}`;case\"unrecognized_keys\":return`Unrecognized key${i.keys.length>1?\"s\":\"\"}: ${S(i.keys,\", \")}`;case\"invalid_key\":return`Invalid key in ${i.origin}`;case\"invalid_union\":return i.options&&Array.isArray(i.options)&&i.options.length>0?`Invalid discriminator value. Expected ${i.options.map(s=>`'${s}'`).join(\" | \")}`:i.inclusive===!1?\"Invalid input: more than one option matched\":\"Invalid input\";case\"invalid_element\":return`Invalid value in ${i.origin}`;default:return\"Invalid input\"}}};function Rl(){return{localeError:Sw()}}var yw=()=>{let e={string:{unit:\"karaktrojn\",verb:\"havi\"},file:{unit:\"bajtojn\",verb:\"havi\"},array:{unit:\"elementojn\",verb:\"havi\"},set:{unit:\"elementojn\",verb:\"havi\"},map:{unit:\"elementojn\",verb:\"havi\"}};function t(r){return e[r]??null}let n={regex:\"enigo\",email:\"retadreso\",url:\"URL\",emoji:\"emo\\u011Dio\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO-datotempo\",date:\"ISO-dato\",time:\"ISO-tempo\",duration:\"ISO-da\\u016Dro\",ipv4:\"IPv4-adreso\",ipv6:\"IPv6-adreso\",mac:\"MAC-adreso\",cidrv4:\"IPv4-rango\",cidrv6:\"IPv6-rango\",base64:\"64-ume kodita karaktraro\",base64url:\"URL-64-ume kodita karaktraro\",json_string:\"JSON-karaktraro\",e164:\"E.164-nombro\",credit_card:\"kreditkarta numero\",currency_code:\"valuta kodo\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"enigo\"},o={nan:\"NaN\",number:\"nombro\",array:\"tabelo\",null:\"senvalora\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Nevalida enigo: atendi\\u011Dis instanceof ${r.expected}, ricevi\\u011Dis ${s}`:`Nevalida enigo: atendi\\u011Dis ${i}, ricevi\\u011Dis ${s}`}case\"invalid_value\":return r.values.length===1?`Nevalida enigo: atendi\\u011Dis ${w(r.values[0])}`:`Nevalida opcio: atendi\\u011Dis unu el ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Tro granda: atendi\\u011Dis ke ${r.origin??\"valoro\"} havu ${i}${r.maximum.toString()} ${a.unit??\"elementojn\"}`:`Tro granda: atendi\\u011Dis ke ${r.origin??\"valoro\"} havu ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Tro malgranda: atendi\\u011Dis ke ${r.origin} havu ${i}${r.minimum.toString()} ${a.unit}`:`Tro malgranda: atendi\\u011Dis ke ${r.origin} estu ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Nevalida karaktraro: devas komenci\\u011Di per \"${i.prefix}\"`:i.format===\"ends_with\"?`Nevalida karaktraro: devas fini\\u011Di per \"${i.suffix}\"`:i.format===\"includes\"?`Nevalida karaktraro: devas inkluzivi \"${i.includes}\"`:i.format===\"regex\"?`Nevalida karaktraro: devas kongrui kun la modelo ${i.pattern}`:`Nevalida ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Nevalida nombro: devas esti oblo de ${r.divisor}`;case\"unrecognized_keys\":return`Nekonata${r.keys.length>1?\"j\":\"\"} \\u015Dlosilo${r.keys.length>1?\"j\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Nevalida \\u015Dlosilo en ${r.origin}`;case\"invalid_union\":return\"Nevalida enigo\";case\"invalid_element\":return`Nevalida valoro en ${r.origin}`;default:return\"Nevalida enigo\"}}};function y_(){return{localeError:yw()}}var bw=()=>{let e={string:{unit:\"caracteres\",verb:\"tener\"},file:{unit:\"bytes\",verb:\"tener\"},array:{unit:\"elementos\",verb:\"tener\"},set:{unit:\"elementos\",verb:\"tener\"}};function t(r){return e[r]??null}let n={regex:\"entrada\",email:\"direcci\\xF3n de correo electr\\xF3nico\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"fecha y hora ISO\",date:\"fecha ISO\",time:\"hora ISO\",duration:\"duraci\\xF3n ISO\",ipv4:\"direcci\\xF3n IPv4\",ipv6:\"direcci\\xF3n IPv6\",mac:\"direcci\\xF3n MAC\",cidrv4:\"rango IPv4\",cidrv6:\"rango IPv6\",base64:\"cadena codificada en base64\",base64url:\"URL codificada en base64\",json_string:\"cadena JSON\",e164:\"n\\xFAmero E.164\",credit_card:\"n\\xFAmero de tarjeta de cr\\xE9dito\",currency_code:\"c\\xF3digo de moneda\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"entrada\"},o={nan:\"NaN\",string:\"texto\",number:\"n\\xFAmero\",boolean:\"booleano\",array:\"arreglo\",object:\"objeto\",set:\"conjunto\",file:\"archivo\",date:\"fecha\",bigint:\"n\\xFAmero grande\",symbol:\"s\\xEDmbolo\",undefined:\"indefinido\",null:\"nulo\",function:\"funci\\xF3n\",map:\"mapa\",record:\"registro\",tuple:\"tupla\",enum:\"enumeraci\\xF3n\",union:\"uni\\xF3n\",literal:\"literal\",promise:\"promesa\",void:\"vac\\xEDo\",never:\"nunca\",unknown:\"desconocido\",any:\"cualquiera\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Entrada inv\\xE1lida: se esperaba instanceof ${r.expected}, recibido ${s}`:`Entrada inv\\xE1lida: se esperaba ${i}, recibido ${s}`}case\"invalid_value\":return r.values.length===1?`Entrada inv\\xE1lida: se esperaba ${w(r.values[0])}`:`Opci\\xF3n inv\\xE1lida: se esperaba una de ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin),s=o[r.origin]??r.origin;return a?`Demasiado grande: se esperaba que ${s??\"valor\"} tuviera ${i}${r.maximum.toString()} ${a.unit??\"elementos\"}`:`Demasiado grande: se esperaba que ${s??\"valor\"} fuera ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin),s=o[r.origin]??r.origin;return a?`Demasiado peque\\xF1o: se esperaba que ${s} tuviera ${i}${r.minimum.toString()} ${a.unit}`:`Demasiado peque\\xF1o: se esperaba que ${s} fuera ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Cadena inv\\xE1lida: debe comenzar con \"${i.prefix}\"`:i.format===\"ends_with\"?`Cadena inv\\xE1lida: debe terminar en \"${i.suffix}\"`:i.format===\"includes\"?`Cadena inv\\xE1lida: debe incluir \"${i.includes}\"`:i.format===\"regex\"?`Cadena inv\\xE1lida: debe coincidir con el patr\\xF3n ${i.pattern}`:`Inv\\xE1lido ${n[i.format]??r.format}`}case\"not_multiple_of\":return`N\\xFAmero inv\\xE1lido: debe ser m\\xFAltiplo de ${r.divisor}`;case\"unrecognized_keys\":return`Llave${r.keys.length>1?\"s\":\"\"} desconocida${r.keys.length>1?\"s\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Llave inv\\xE1lida en ${o[r.origin]??r.origin}`;case\"invalid_union\":return\"Entrada inv\\xE1lida\";case\"invalid_element\":return`Valor inv\\xE1lido en ${o[r.origin]??r.origin}`;default:return\"Entrada inv\\xE1lida\"}}};function b_(){return{localeError:bw()}}var $w=()=>{let e={string:{unit:\"\\u06A9\\u0627\\u0631\\u0627\\u06A9\\u062A\\u0631\",verb:\"\\u062F\\u0627\\u0634\\u062A\\u0647 \\u0628\\u0627\\u0634\\u062F\"},file:{unit:\"\\u0628\\u0627\\u06CC\\u062A\",verb:\"\\u062F\\u0627\\u0634\\u062A\\u0647 \\u0628\\u0627\\u0634\\u062F\"},array:{unit:\"\\u0622\\u06CC\\u062A\\u0645\",verb:\"\\u062F\\u0627\\u0634\\u062A\\u0647 \\u0628\\u0627\\u0634\\u062F\"},set:{unit:\"\\u0622\\u06CC\\u062A\\u0645\",verb:\"\\u062F\\u0627\\u0634\\u062A\\u0647 \\u0628\\u0627\\u0634\\u062F\"},map:{unit:\"\\u0622\\u06CC\\u062A\\u0645\",verb:\"\\u062F\\u0627\\u0634\\u062A\\u0647 \\u0628\\u0627\\u0634\\u062F\"}};function t(r){return e[r]??null}let n={regex:\"\\u0648\\u0631\\u0648\\u062F\\u06CC\",email:\"\\u0622\\u062F\\u0631\\u0633 \\u0627\\u06CC\\u0645\\u06CC\\u0644\",url:\"URL\",emoji:\"\\u0627\\u06CC\\u0645\\u0648\\u062C\\u06CC\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u062A\\u0627\\u0631\\u06CC\\u062E \\u0648 \\u0632\\u0645\\u0627\\u0646 \\u0627\\u06CC\\u0632\\u0648\",date:\"\\u062A\\u0627\\u0631\\u06CC\\u062E \\u0627\\u06CC\\u0632\\u0648\",time:\"\\u0632\\u0645\\u0627\\u0646 \\u0627\\u06CC\\u0632\\u0648\",duration:\"\\u0645\\u062F\\u062A \\u0632\\u0645\\u0627\\u0646 \\u0627\\u06CC\\u0632\\u0648\",ipv4:\"IPv4 \\u0622\\u062F\\u0631\\u0633\",ipv6:\"IPv6 \\u0622\\u062F\\u0631\\u0633\",mac:\"MAC \\u0622\\u062F\\u0631\\u0633\",cidrv4:\"IPv4 \\u062F\\u0627\\u0645\\u0646\\u0647\",cidrv6:\"IPv6 \\u062F\\u0627\\u0645\\u0646\\u0647\",base64:\"base64-encoded \\u0631\\u0634\\u062A\\u0647\",base64url:\"base64url-encoded \\u0631\\u0634\\u062A\\u0647\",json_string:\"JSON \\u0631\\u0634\\u062A\\u0647\",e164:\"E.164 \\u0639\\u062F\\u062F\",credit_card:\"\\u0634\\u0645\\u0627\\u0631\\u0647 \\u06A9\\u0627\\u0631\\u062A \\u0627\\u0639\\u062A\\u0628\\u0627\\u0631\\u06CC\",currency_code:\"\\u06A9\\u062F \\u0627\\u0631\\u0632\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0648\\u0631\\u0648\\u062F\\u06CC\"},o={nan:\"NaN\",number:\"\\u0639\\u062F\\u062F\",array:\"\\u0622\\u0631\\u0627\\u06CC\\u0647\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u0648\\u0631\\u0648\\u062F\\u06CC \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0645\\u06CC\\u200C\\u0628\\u0627\\u06CC\\u0633\\u062A instanceof ${r.expected} \\u0645\\u06CC\\u200C\\u0628\\u0648\\u062F\\u060C ${s} \\u062F\\u0631\\u06CC\\u0627\\u0641\\u062A \\u0634\\u062F`:`\\u0648\\u0631\\u0648\\u062F\\u06CC \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0645\\u06CC\\u200C\\u0628\\u0627\\u06CC\\u0633\\u062A ${i} \\u0645\\u06CC\\u200C\\u0628\\u0648\\u062F\\u060C ${s} \\u062F\\u0631\\u06CC\\u0627\\u0641\\u062A \\u0634\\u062F`}case\"invalid_value\":return r.values.length===1?`\\u0648\\u0631\\u0648\\u062F\\u06CC \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0645\\u06CC\\u200C\\u0628\\u0627\\u06CC\\u0633\\u062A ${w(r.values[0])} \\u0645\\u06CC\\u200C\\u0628\\u0648\\u062F`:`\\u06AF\\u0632\\u06CC\\u0646\\u0647 \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0645\\u06CC\\u200C\\u0628\\u0627\\u06CC\\u0633\\u062A \\u06CC\\u06A9\\u06CC \\u0627\\u0632 ${S(r.values,\"|\")} \\u0645\\u06CC\\u200C\\u0628\\u0648\\u062F`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u062E\\u06CC\\u0644\\u06CC \\u0628\\u0632\\u0631\\u06AF: ${r.origin??\"\\u0645\\u0642\\u062F\\u0627\\u0631\"} \\u0628\\u0627\\u06CC\\u062F ${i}${r.maximum.toString()} ${a.unit??\"\\u0639\\u0646\\u0635\\u0631\"} \\u0628\\u0627\\u0634\\u062F`:`\\u062E\\u06CC\\u0644\\u06CC \\u0628\\u0632\\u0631\\u06AF: ${r.origin??\"\\u0645\\u0642\\u062F\\u0627\\u0631\"} \\u0628\\u0627\\u06CC\\u062F ${i}${r.maximum.toString()} \\u0628\\u0627\\u0634\\u062F`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u062E\\u06CC\\u0644\\u06CC \\u06A9\\u0648\\u0686\\u06A9: ${r.origin} \\u0628\\u0627\\u06CC\\u062F ${i}${r.minimum.toString()} ${a.unit} \\u0628\\u0627\\u0634\\u062F`:`\\u062E\\u06CC\\u0644\\u06CC \\u06A9\\u0648\\u0686\\u06A9: ${r.origin} \\u0628\\u0627\\u06CC\\u062F ${i}${r.minimum.toString()} \\u0628\\u0627\\u0634\\u062F`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0631\\u0634\\u062A\\u0647 \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0628\\u0627\\u06CC\\u062F \\u0628\\u0627 \"${i.prefix}\" \\u0634\\u0631\\u0648\\u0639 \\u0634\\u0648\\u062F`:i.format===\"ends_with\"?`\\u0631\\u0634\\u062A\\u0647 \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0628\\u0627\\u06CC\\u062F \\u0628\\u0627 \"${i.suffix}\" \\u062A\\u0645\\u0627\\u0645 \\u0634\\u0648\\u062F`:i.format===\"includes\"?`\\u0631\\u0634\\u062A\\u0647 \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0628\\u0627\\u06CC\\u062F \\u0634\\u0627\\u0645\\u0644 \"${i.includes}\" \\u0628\\u0627\\u0634\\u062F`:i.format===\"regex\"?`\\u0631\\u0634\\u062A\\u0647 \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0628\\u0627\\u06CC\\u062F \\u0628\\u0627 \\u0627\\u0644\\u06AF\\u0648\\u06CC ${i.pattern} \\u0645\\u0637\\u0627\\u0628\\u0642\\u062A \\u062F\\u0627\\u0634\\u062A\\u0647 \\u0628\\u0627\\u0634\\u062F`:`${n[i.format]??r.format} \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631`}case\"not_multiple_of\":return`\\u0639\\u062F\\u062F \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0628\\u0627\\u06CC\\u062F \\u0645\\u0636\\u0631\\u0628 ${r.divisor} \\u0628\\u0627\\u0634\\u062F`;case\"unrecognized_keys\":return`\\u06A9\\u0644\\u06CC\\u062F${r.keys.length>1?\"\\u0647\\u0627\\u06CC\":\"\"} \\u0646\\u0627\\u0634\\u0646\\u0627\\u0633: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u06A9\\u0644\\u06CC\\u062F \\u0646\\u0627\\u0634\\u0646\\u0627\\u0633 \\u062F\\u0631 ${r.origin}`;case\"invalid_union\":return\"\\u0648\\u0631\\u0648\\u062F\\u06CC \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631\";case\"invalid_element\":return`\\u0645\\u0642\\u062F\\u0627\\u0631 \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631 \\u062F\\u0631 ${r.origin}`;default:return\"\\u0648\\u0631\\u0648\\u062F\\u06CC \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631\"}}};function $_(){return{localeError:$w()}}var zw=()=>{let e={string:{unit:\"merkki\\xE4\",subject:\"merkkijonon\"},file:{unit:\"tavua\",subject:\"tiedoston\"},array:{unit:\"alkiota\",subject:\"listan\"},set:{unit:\"alkiota\",subject:\"joukon\"},map:{unit:\"alkiota\",subject:\"kuvauksen\"},number:{unit:\"\",subject:\"luvun\"},bigint:{unit:\"\",subject:\"suuren kokonaisluvun\"},int:{unit:\"\",subject:\"kokonaisluvun\"},date:{unit:\"\",subject:\"p\\xE4iv\\xE4m\\xE4\\xE4r\\xE4n\"}};function t(r){return e[r]??null}let n={regex:\"s\\xE4\\xE4nn\\xF6llinen lauseke\",email:\"s\\xE4hk\\xF6postiosoite\",url:\"URL-osoite\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO-aikaleima\",date:\"ISO-p\\xE4iv\\xE4m\\xE4\\xE4r\\xE4\",time:\"ISO-aika\",duration:\"ISO-kesto\",ipv4:\"IPv4-osoite\",ipv6:\"IPv6-osoite\",mac:\"MAC-osoite\",cidrv4:\"IPv4-alue\",cidrv6:\"IPv6-alue\",base64:\"base64-koodattu merkkijono\",base64url:\"base64url-koodattu merkkijono\",json_string:\"JSON-merkkijono\",e164:\"E.164-luku\",credit_card:\"luottokortin numero\",currency_code:\"valuuttakoodi\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"templaattimerkkijono\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Virheellinen tyyppi: odotettiin instanceof ${r.expected}, oli ${s}`:`Virheellinen tyyppi: odotettiin ${i}, oli ${s}`}case\"invalid_value\":return r.values.length===1?`Virheellinen sy\\xF6te: t\\xE4ytyy olla ${w(r.values[0])}`:`Virheellinen valinta: t\\xE4ytyy olla yksi seuraavista: ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Liian suuri: ${a.subject} t\\xE4ytyy olla ${i}${r.maximum.toString()} ${a.unit}`.trim():`Liian suuri: arvon t\\xE4ytyy olla ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Liian pieni: ${a.subject} t\\xE4ytyy olla ${i}${r.minimum.toString()} ${a.unit}`.trim():`Liian pieni: arvon t\\xE4ytyy olla ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Virheellinen sy\\xF6te: t\\xE4ytyy alkaa \"${i.prefix}\"`:i.format===\"ends_with\"?`Virheellinen sy\\xF6te: t\\xE4ytyy loppua \"${i.suffix}\"`:i.format===\"includes\"?`Virheellinen sy\\xF6te: t\\xE4ytyy sis\\xE4lt\\xE4\\xE4 \"${i.includes}\"`:i.format===\"regex\"?`Virheellinen sy\\xF6te: t\\xE4ytyy vastata s\\xE4\\xE4nn\\xF6llist\\xE4 lauseketta ${i.pattern}`:`Virheellinen ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Virheellinen luku: t\\xE4ytyy olla luvun ${r.divisor} monikerta`;case\"unrecognized_keys\":return`${r.keys.length>1?\"Tuntemattomat avaimet\":\"Tuntematon avain\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return\"Virheellinen avain tietueessa\";case\"invalid_union\":return\"Virheellinen unioni\";case\"invalid_element\":return\"Virheellinen arvo joukossa\";default:return\"Virheellinen sy\\xF6te\"}}};function z_(){return{localeError:zw()}}var ww=()=>{let e={string:{unit:\"caract\\xE8res\",verb:\"avoir\"},file:{unit:\"octets\",verb:\"avoir\"},array:{unit:\"\\xE9l\\xE9ments\",verb:\"avoir\"},set:{unit:\"\\xE9l\\xE9ments\",verb:\"avoir\"}};function t(r){return e[r]??null}let n={regex:\"expression r\\xE9guli\\xE8re\",email:\"adresse e-mail\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"date et heure ISO\",date:\"date ISO\",time:\"heure ISO\",duration:\"dur\\xE9e ISO\",ipv4:\"adresse IPv4\",ipv6:\"adresse IPv6\",mac:\"adresse MAC\",cidrv4:\"plage IPv4\",cidrv6:\"plage IPv6\",base64:\"cha\\xEEne de caract\\xE8res encod\\xE9e en base64\",base64url:\"cha\\xEEne de caract\\xE8res encod\\xE9e en base64url\",json_string:\"cha\\xEEne de caract\\xE8res JSON\",e164:\"num\\xE9ro au format E.164\",credit_card:\"num\\xE9ro de carte de cr\\xE9dit\",currency_code:\"code de devise\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"entr\\xE9e\"},o={string:\"cha\\xEEne de caract\\xE8res\",number:\"nombre\",int:\"entier\",boolean:\"bool\\xE9en\",bigint:\"grand entier\",symbol:\"symbole\",undefined:\"ind\\xE9fini\",null:\"null\",never:\"jamais\",void:\"vide\",date:\"date\",array:\"tableau\",object:\"objet\",tuple:\"tuple\",record:\"record\",map:\"map\",set:\"ensemble\",file:\"fichier\",nonoptional:\"non optionnel\",nan:\"NaN\",function:\"fonction\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Entr\\xE9e invalide : instance de ${r.expected} attendu, ${s} re\\xE7u`:`Entr\\xE9e invalide : ${i} attendu, ${s} re\\xE7u`}case\"invalid_value\":return r.values.length===1?`Entr\\xE9e invalide : ${w(r.values[0])} attendu`:`Option invalide : une valeur parmi ${S(r.values,\"|\")} attendue`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Trop grand : ${o[r.origin]??\"valeur\"} doit ${a.verb} ${i}${r.maximum.toString()} ${a.unit??\"\\xE9l\\xE9ment(s)\"}`:`Trop grand : ${o[r.origin]??\"valeur\"} doit \\xEAtre ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Trop petit : ${o[r.origin]??\"valeur\"} doit ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`Trop petit : ${o[r.origin]??\"valeur\"} doit \\xEAtre ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Cha\\xEEne de caract\\xE8res invalide : doit commencer par \"${i.prefix}\"`:i.format===\"ends_with\"?`Cha\\xEEne de caract\\xE8res invalide : doit se terminer par \"${i.suffix}\"`:i.format===\"includes\"?`Cha\\xEEne de caract\\xE8res invalide : doit inclure \"${i.includes}\"`:i.format===\"regex\"?`Cha\\xEEne de caract\\xE8res invalide : doit correspondre au motif ${i.pattern}`:`${n[i.format]??r.format} invalide`}case\"not_multiple_of\":return`Nombre invalide : doit \\xEAtre un multiple de ${r.divisor}`;case\"unrecognized_keys\":return`Cl\\xE9${r.keys.length>1?\"s\":\"\"} non reconnue${r.keys.length>1?\"s\":\"\"} : ${S(r.keys,\", \")}`;case\"invalid_key\":return`Cl\\xE9 invalide dans ${r.origin}`;case\"invalid_union\":return\"Entr\\xE9e invalide\";case\"invalid_element\":return`Valeur invalide dans ${r.origin}`;default:return\"Entr\\xE9e invalide\"}}};function w_(){return{localeError:ww()}}var kw=()=>{let e={string:{unit:\"caract\\xE8res\",verb:\"avoir\"},file:{unit:\"octets\",verb:\"avoir\"},array:{unit:\"\\xE9l\\xE9ments\",verb:\"avoir\"},set:{unit:\"\\xE9l\\xE9ments\",verb:\"avoir\"},map:{unit:\"\\xE9l\\xE9ments\",verb:\"avoir\"}};function t(r){return e[r]??null}let n={regex:\"entr\\xE9e\",email:\"adresse courriel\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"date-heure ISO\",date:\"date ISO\",time:\"heure ISO\",duration:\"dur\\xE9e ISO\",ipv4:\"adresse IPv4\",ipv6:\"adresse IPv6\",mac:\"adresse MAC\",cidrv4:\"plage IPv4\",cidrv6:\"plage IPv6\",base64:\"cha\\xEEne encod\\xE9e en base64\",base64url:\"cha\\xEEne encod\\xE9e en base64url\",json_string:\"cha\\xEEne JSON\",e164:\"num\\xE9ro E.164\",credit_card:\"num\\xE9ro de carte de cr\\xE9dit\",currency_code:\"code de devise\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"entr\\xE9e\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Entr\\xE9e invalide : attendu instanceof ${r.expected}, re\\xE7u ${s}`:`Entr\\xE9e invalide : attendu ${i}, re\\xE7u ${s}`}case\"invalid_value\":return r.values.length===1?`Entr\\xE9e invalide : attendu ${w(r.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"\\u2264\":\"<\",a=t(r.origin);return a?`Trop grand : attendu que ${r.origin??\"la valeur\"} ait ${i}${r.maximum.toString()} ${a.unit}`:`Trop grand : attendu que ${r.origin??\"la valeur\"} soit ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\"\\u2265\":\">\",a=t(r.origin);return a?`Trop petit : attendu que ${r.origin} ait ${i}${r.minimum.toString()} ${a.unit}`:`Trop petit : attendu que ${r.origin} soit ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Cha\\xEEne invalide : doit commencer par \"${i.prefix}\"`:i.format===\"ends_with\"?`Cha\\xEEne invalide : doit se terminer par \"${i.suffix}\"`:i.format===\"includes\"?`Cha\\xEEne invalide : doit inclure \"${i.includes}\"`:i.format===\"regex\"?`Cha\\xEEne invalide : doit correspondre au motif ${i.pattern}`:`${n[i.format]??r.format} invalide`}case\"not_multiple_of\":return`Nombre invalide : doit \\xEAtre un multiple de ${r.divisor}`;case\"unrecognized_keys\":return`Cl\\xE9${r.keys.length>1?\"s\":\"\"} non reconnue${r.keys.length>1?\"s\":\"\"} : ${S(r.keys,\", \")}`;case\"invalid_key\":return`Cl\\xE9 invalide dans ${r.origin}`;case\"invalid_union\":return\"Entr\\xE9e invalide\";case\"invalid_element\":return`Valeur invalide dans ${r.origin}`;default:return\"Entr\\xE9e invalide\"}}};function k_(){return{localeError:kw()}}var xw=()=>{let e={string:{unit:\"\\u0A85\\u0A95\\u0ACD\\u0AB7\\u0AB0\",verb:\"\\u0AB9\\u0ACB\\u0AB5\\u0ABE \\u0A9C\\u0ACB\\u0A88\\u0A8F\"},file:{unit:\"\\u0AAC\\u0ABE\\u0AAF\\u0A9F\",verb:\"\\u0AB9\\u0ACB\\u0AB5\\u0ABE \\u0A9C\\u0ACB\\u0A88\\u0A8F\"},array:{unit:\"\\u0A86\\u0A87\\u0A9F\\u0AAE\",verb:\"\\u0AB9\\u0ACB\\u0AB5\\u0ABE \\u0A9C\\u0ACB\\u0A88\\u0A8F\"},set:{unit:\"\\u0A86\\u0A87\\u0A9F\\u0AAE\",verb:\"\\u0AB9\\u0ACB\\u0AB5\\u0ABE \\u0A9C\\u0ACB\\u0A88\\u0A8F\"},map:{unit:\"\\u0A8F\\u0AA8\\u0ACD\\u0A9F\\u0ACD\\u0AB0\\u0AC0\",verb:\"\\u0AB9\\u0ACB\\u0AB5\\u0ABE \\u0A9C\\u0ACB\\u0A88\\u0A8F\"}};function t(r){return e[r]??null}let n={regex:\"\\u0A87\\u0AA8\\u0AAA\\u0AC1\\u0A9F\",email:\"\\u0A88\\u0AAE\\u0AC7\\u0A87\\u0AB2 \\u0A8F\\u0AA1\\u0ACD\\u0AB0\\u0AC7\\u0AB8\",url:\"URL\",emoji:\"\\u0A87\\u0AAE\\u0ACB\\u0A9C\\u0AC0\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0AA4\\u0ABE\\u0AB0\\u0AC0\\u0A96 \\u0A85\\u0AA8\\u0AC7 \\u0AB8\\u0AAE\\u0AAF\",date:\"ISO \\u0AA4\\u0ABE\\u0AB0\\u0AC0\\u0A96\",time:\"ISO \\u0AB8\\u0AAE\\u0AAF\",duration:\"ISO \\u0A85\\u0AB5\\u0AA7\\u0ABF\",ipv4:\"IPv4 \\u0A8F\\u0AA1\\u0ACD\\u0AB0\\u0AC7\\u0AB8\",ipv6:\"IPv6 \\u0A8F\\u0AA1\\u0ACD\\u0AB0\\u0AC7\\u0AB8\",mac:\"MAC \\u0A8F\\u0AA1\\u0ACD\\u0AB0\\u0AC7\\u0AB8\",cidrv4:\"IPv4 \\u0AB6\\u0ACD\\u0AB0\\u0AC7\\u0AA3\\u0AC0\",cidrv6:\"IPv6 \\u0AB6\\u0ACD\\u0AB0\\u0AC7\\u0AA3\\u0AC0\",base64:\"base64-\\u0A8F\\u0AA8\\u0ACD\\u0A95\\u0ACB\\u0AA1\\u0AC7\\u0AA1 \\u0AB8\\u0ACD\\u0A9F\\u0ACD\\u0AB0\\u0ABF\\u0A82\\u0A97\",base64url:\"base64url-\\u0A8F\\u0AA8\\u0ACD\\u0A95\\u0ACB\\u0AA1\\u0AC7\\u0AA1 \\u0AB8\\u0ACD\\u0A9F\\u0ACD\\u0AB0\\u0ABF\\u0A82\\u0A97\",json_string:\"JSON \\u0AB8\\u0ACD\\u0A9F\\u0ACD\\u0AB0\\u0ABF\\u0A82\\u0A97\",e164:\"E.164 \\u0AA8\\u0A82\\u0AAC\\u0AB0\",credit_card:\"\\u0A95\\u0ACD\\u0AB0\\u0AC7\\u0AA1\\u0ABF\\u0A9F \\u0A95\\u0ABE\\u0AB0\\u0ACD\\u0AA1 \\u0AA8\\u0A82\\u0AAC\\u0AB0\",currency_code:\"\\u0A9A\\u0AB2\\u0AA3 \\u0A95\\u0ACB\\u0AA1\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0A87\\u0AA8\\u0AAA\\u0AC1\\u0A9F\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0A87\\u0AA8\\u0AAA\\u0AC1\\u0A9F: \\u0A85\\u0AAA\\u0AC7\\u0A95\\u0ACD\\u0AB7\\u0ABF\\u0AA4 ${i}, \\u0AAA\\u0ACD\\u0AB0\\u0ABE\\u0AAA\\u0ACD\\u0AA4 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0A87\\u0AA8\\u0AAA\\u0AC1\\u0A9F: \\u0A85\\u0AAA\\u0AC7\\u0A95\\u0ACD\\u0AB7\\u0ABF\\u0AA4 ${w(r.values[0])}`:`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0AB5\\u0ABF\\u0A95\\u0AB2\\u0ACD\\u0AAA: ${S(r.values,\" | \")} \\u0AAE\\u0ABE\\u0AA7\\u0ACD\\u0AAF\\u0AAE\\u0AA5\\u0AC0 \\u0A8F\\u0A95 \\u0A85\\u0AAA\\u0AC7\\u0A95\\u0ACD\\u0AB7\\u0ABF\\u0AA4`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0A96\\u0AC2\\u0AAC \\u0AAE\\u0ACB\\u0A9F\\u0AC1\\u0A82: ${r.origin??\"\\u0AAE\\u0AC2\\u0AB2\\u0ACD\\u0AAF\"} ${i}${r.maximum.toString()} ${a.unit??\"\\u0A8F\\u0AB2\\u0ABF\\u0AAE\\u0AC7\\u0AA8\\u0ACD\\u0A9F\"} \\u0AB9\\u0ACB\\u0AB5\\u0ABE \\u0A9C\\u0ACB\\u0A88\\u0A8F`:`\\u0A96\\u0AC2\\u0AAC \\u0AAE\\u0ACB\\u0A9F\\u0AC1\\u0A82: ${r.origin??\"\\u0AAE\\u0AC2\\u0AB2\\u0ACD\\u0AAF\"} ${i}${r.maximum.toString()} \\u0AB9\\u0ACB\\u0AB5\\u0AC1\\u0A82 \\u0A9C\\u0ACB\\u0A88\\u0A8F`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0A96\\u0AC2\\u0AAC \\u0AA8\\u0ABE\\u0AA8\\u0AC1\\u0A82: ${r.origin} ${i}${r.minimum.toString()} ${a.unit} \\u0AB9\\u0ACB\\u0AB5\\u0ABE \\u0A9C\\u0ACB\\u0A88\\u0A8F`:`\\u0A96\\u0AC2\\u0AAC \\u0AA8\\u0ABE\\u0AA8\\u0AC1\\u0A82: ${r.origin} ${i}${r.minimum.toString()} \\u0AB9\\u0ACB\\u0AB5\\u0AC1\\u0A82 \\u0A9C\\u0ACB\\u0A88\\u0A8F`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0AB8\\u0ACD\\u0A9F\\u0ACD\\u0AB0\\u0ABF\\u0A82\\u0A97: \"${i.prefix}\" \\u0AA5\\u0AC0 \\u0AB6\\u0AB0\\u0AC2 \\u0AA5\\u0AB5\\u0AC1\\u0A82 \\u0A9C\\u0ACB\\u0A88\\u0A8F`:i.format===\"ends_with\"?`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0AB8\\u0ACD\\u0A9F\\u0ACD\\u0AB0\\u0ABF\\u0A82\\u0A97: \"${i.suffix}\" \\u0AAA\\u0AB0 \\u0AB8\\u0AAE\\u0ABE\\u0AAA\\u0ACD\\u0AA4 \\u0AA5\\u0AB5\\u0AC1\\u0A82 \\u0A9C\\u0ACB\\u0A88\\u0A8F`:i.format===\"includes\"?`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0AB8\\u0ACD\\u0A9F\\u0ACD\\u0AB0\\u0ABF\\u0A82\\u0A97: \"${i.includes}\" \\u0AB6\\u0ABE\\u0AAE\\u0AC7\\u0AB2 \\u0AB9\\u0ACB\\u0AB5\\u0AC1\\u0A82 \\u0A9C\\u0ACB\\u0A88\\u0A8F`:i.format===\"regex\"?`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0AB8\\u0ACD\\u0A9F\\u0ACD\\u0AB0\\u0ABF\\u0A82\\u0A97: \\u0AAA\\u0AC7\\u0A9F\\u0AB0\\u0ACD\\u0AA8 ${i.pattern} \\u0AB8\\u0ABE\\u0AA5\\u0AC7 \\u0AAE\\u0AC7\\u0AB3 \\u0A96\\u0ABE\\u0AB5\\u0AC1\\u0A82 \\u0A9C\\u0ACB\\u0A88\\u0A8F`:`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0AA8\\u0A82\\u0AAC\\u0AB0: ${r.divisor} \\u0AA8\\u0ACB \\u0A97\\u0AC1\\u0AA3\\u0ABE\\u0A82\\u0A95 \\u0AB9\\u0ACB\\u0AB5\\u0ACB \\u0A9C\\u0ACB\\u0A88\\u0A8F`;case\"unrecognized_keys\":return`\\u0A93\\u0AB3\\u0A96\\u0AC0 \\u0AB6\\u0A95\\u0ABE\\u0AA4\\u0ABE \\u0AA8\\u0AB9\\u0AC0\\u0A82 \\u0AA4\\u0AC7 \\u0A95\\u0AC0${r.keys.length>1?\"\\u0A93\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} \\u0AAE\\u0ABE\\u0A82 \\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0A95\\u0AC0`;case\"invalid_union\":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0AA1\\u0ABF\\u0AB8\\u0ACD\\u0A95\\u0ACD\\u0AB0\\u0ABF\\u0AAE\\u0ABF\\u0AA8\\u0AC7\\u0A9F\\u0AB0 \\u0AAE\\u0AC2\\u0AB2\\u0ACD\\u0AAF. \\u0A85\\u0AAA\\u0AC7\\u0A95\\u0ACD\\u0AB7\\u0ABF\\u0AA4 ${r.options.map(a=>`'${a}'`).join(\" | \")}`:\"\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0A87\\u0AA8\\u0AAA\\u0AC1\\u0A9F\";case\"invalid_element\":return`${r.origin} \\u0AAE\\u0ABE\\u0A82 \\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0AAE\\u0AC2\\u0AB2\\u0ACD\\u0AAF`;default:return\"\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0A87\\u0AA8\\u0AAA\\u0AC1\\u0A9F\"}}};function x_(){return{localeError:xw()}}var Iw=()=>{let e={string:{label:\"\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA\",gender:\"f\"},number:{label:\"\\u05DE\\u05E1\\u05E4\\u05E8\",gender:\"m\"},boolean:{label:\"\\u05E2\\u05E8\\u05DA \\u05D1\\u05D5\\u05DC\\u05D9\\u05D0\\u05E0\\u05D9\",gender:\"m\"},bigint:{label:\"BigInt\",gender:\"m\"},date:{label:\"\\u05EA\\u05D0\\u05E8\\u05D9\\u05DA\",gender:\"m\"},array:{label:\"\\u05DE\\u05E2\\u05E8\\u05DA\",gender:\"m\"},object:{label:\"\\u05D0\\u05D5\\u05D1\\u05D9\\u05D9\\u05E7\\u05D8\",gender:\"m\"},null:{label:\"\\u05E2\\u05E8\\u05DA \\u05E8\\u05D9\\u05E7 (null)\",gender:\"m\"},undefined:{label:\"\\u05E2\\u05E8\\u05DA \\u05DC\\u05D0 \\u05DE\\u05D5\\u05D2\\u05D3\\u05E8 (undefined)\",gender:\"m\"},symbol:{label:\"\\u05E1\\u05D9\\u05DE\\u05D1\\u05D5\\u05DC (Symbol)\",gender:\"m\"},function:{label:\"\\u05E4\\u05D5\\u05E0\\u05E7\\u05E6\\u05D9\\u05D4\",gender:\"f\"},map:{label:\"\\u05DE\\u05E4\\u05D4 (Map)\",gender:\"f\"},set:{label:\"\\u05E7\\u05D1\\u05D5\\u05E6\\u05D4 (Set)\",gender:\"f\"},file:{label:\"\\u05E7\\u05D5\\u05D1\\u05E5\",gender:\"m\"},promise:{label:\"Promise\",gender:\"m\"},NaN:{label:\"NaN\",gender:\"m\"},unknown:{label:\"\\u05E2\\u05E8\\u05DA \\u05DC\\u05D0 \\u05D9\\u05D3\\u05D5\\u05E2\",gender:\"m\"},value:{label:\"\\u05E2\\u05E8\\u05DA\",gender:\"m\"}},t={string:{unit:\"\\u05EA\\u05D5\\u05D5\\u05D9\\u05DD\",shortLabel:\"\\u05E7\\u05E6\\u05E8\",longLabel:\"\\u05D0\\u05E8\\u05D5\\u05DA\"},file:{unit:\"\\u05D1\\u05D9\\u05D9\\u05D8\\u05D9\\u05DD\",shortLabel:\"\\u05E7\\u05D8\\u05DF\",longLabel:\"\\u05D2\\u05D3\\u05D5\\u05DC\"},array:{unit:\"\\u05E4\\u05E8\\u05D9\\u05D8\\u05D9\\u05DD\",shortLabel:\"\\u05E7\\u05D8\\u05DF\",longLabel:\"\\u05D2\\u05D3\\u05D5\\u05DC\"},set:{unit:\"\\u05E4\\u05E8\\u05D9\\u05D8\\u05D9\\u05DD\",shortLabel:\"\\u05E7\\u05D8\\u05DF\",longLabel:\"\\u05D2\\u05D3\\u05D5\\u05DC\"},number:{unit:\"\",shortLabel:\"\\u05E7\\u05D8\\u05DF\",longLabel:\"\\u05D2\\u05D3\\u05D5\\u05DC\"}},n=l=>l?e[l]:void 0,o=l=>{let d=n(l);return d?d.label:l??e.unknown.label},r=l=>`\\u05D4${o(l)}`,i=l=>(n(l)?.gender??\"m\")===\"f\"?\"\\u05E6\\u05E8\\u05D9\\u05DB\\u05D4 \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA\":\"\\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA\",a=l=>l?t[l]??null:null,s={regex:{label:\"\\u05E7\\u05DC\\u05D8\",gender:\"m\"},email:{label:\"\\u05DB\\u05EA\\u05D5\\u05D1\\u05EA \\u05D0\\u05D9\\u05DE\\u05D9\\u05D9\\u05DC\",gender:\"f\"},url:{label:\"\\u05DB\\u05EA\\u05D5\\u05D1\\u05EA \\u05E8\\u05E9\\u05EA\",gender:\"f\"},emoji:{label:\"\\u05D0\\u05D9\\u05DE\\u05D5\\u05D2'\\u05D9\",gender:\"m\"},uuid:{label:\"UUID\",gender:\"m\"},uuidv4:{label:\"UUIDv4\",gender:\"m\"},uuidv6:{label:\"UUIDv6\",gender:\"m\"},nanoid:{label:\"nanoid\",gender:\"m\"},guid:{label:\"GUID\",gender:\"m\"},cuid:{label:\"cuid\",gender:\"m\"},cuid2:{label:\"cuid2\",gender:\"m\"},ulid:{label:\"ULID\",gender:\"m\"},xid:{label:\"XID\",gender:\"m\"},ksuid:{label:\"KSUID\",gender:\"m\"},datetime:{label:\"\\u05EA\\u05D0\\u05E8\\u05D9\\u05DA \\u05D5\\u05D6\\u05DE\\u05DF ISO\",gender:\"m\"},date:{label:\"\\u05EA\\u05D0\\u05E8\\u05D9\\u05DA ISO\",gender:\"m\"},time:{label:\"\\u05D6\\u05DE\\u05DF ISO\",gender:\"m\"},duration:{label:\"\\u05DE\\u05E9\\u05DA \\u05D6\\u05DE\\u05DF ISO\",gender:\"m\"},ipv4:{label:\"\\u05DB\\u05EA\\u05D5\\u05D1\\u05EA IPv4\",gender:\"f\"},ipv6:{label:\"\\u05DB\\u05EA\\u05D5\\u05D1\\u05EA IPv6\",gender:\"f\"},mac:{label:\"\\u05DB\\u05EA\\u05D5\\u05D1\\u05EA MAC\",gender:\"f\"},cidrv4:{label:\"\\u05D8\\u05D5\\u05D5\\u05D7 IPv4\",gender:\"m\"},cidrv6:{label:\"\\u05D8\\u05D5\\u05D5\\u05D7 IPv6\",gender:\"m\"},base64:{label:\"\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D1\\u05D1\\u05E1\\u05D9\\u05E1 64\",gender:\"f\"},base64url:{label:\"\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D1\\u05D1\\u05E1\\u05D9\\u05E1 64 \\u05DC\\u05DB\\u05EA\\u05D5\\u05D1\\u05D5\\u05EA \\u05E8\\u05E9\\u05EA\",gender:\"f\"},json_string:{label:\"\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA JSON\",gender:\"f\"},e164:{label:\"\\u05DE\\u05E1\\u05E4\\u05E8 E.164\",gender:\"m\"},credit_card:{label:\"\\u05DE\\u05E1\\u05E4\\u05E8 \\u05DB\\u05E8\\u05D8\\u05D9\\u05E1 \\u05D0\\u05E9\\u05E8\\u05D0\\u05D9\",gender:\"m\"},currency_code:{label:\"\\u05E7\\u05D5\\u05D3 \\u05DE\\u05D8\\u05D1\\u05E2\",gender:\"m\"},iban:{label:\"IBAN\",gender:\"m\"},jwt:{label:\"JWT\",gender:\"m\"},template_literal:{label:\"\\u05E7\\u05DC\\u05D8\",gender:\"m\"},ends_with:{label:\"\\u05E7\\u05DC\\u05D8\",gender:\"m\"},includes:{label:\"\\u05E7\\u05DC\\u05D8\",gender:\"m\"},lowercase:{label:\"\\u05E7\\u05DC\\u05D8\",gender:\"m\"},starts_with:{label:\"\\u05E7\\u05DC\\u05D8\",gender:\"m\"},uppercase:{label:\"\\u05E7\\u05DC\\u05D8\",gender:\"m\"}},c={nan:\"NaN\"};return l=>{switch(l.code){case\"invalid_type\":{let d=l.expected,p=c[d??\"\"]??o(d),f=k(l.input),g=c[f]??e[f]?.label??f;return/^[A-Z]/.test(l.expected)?`\\u05E7\\u05DC\\u05D8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA instanceof ${l.expected}, \\u05D4\\u05EA\\u05E7\\u05D1\\u05DC ${g}`:`\\u05E7\\u05DC\\u05D8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA ${p}, \\u05D4\\u05EA\\u05E7\\u05D1\\u05DC ${g}`}case\"invalid_value\":{if(l.values.length===1)return`\\u05E2\\u05E8\\u05DA \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05D4\\u05E2\\u05E8\\u05DA \\u05D7\\u05D9\\u05D9\\u05D1 \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA ${w(l.values[0])}`;let d=l.values.map(g=>w(g));if(l.values.length===2)return`\\u05E2\\u05E8\\u05DA \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05D4\\u05D0\\u05E4\\u05E9\\u05E8\\u05D5\\u05D9\\u05D5\\u05EA \\u05D4\\u05DE\\u05EA\\u05D0\\u05D9\\u05DE\\u05D5\\u05EA \\u05D4\\u05DF ${d[0]} \\u05D0\\u05D5 ${d[1]}`;let p=d[d.length-1];return`\\u05E2\\u05E8\\u05DA \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05D4\\u05D0\\u05E4\\u05E9\\u05E8\\u05D5\\u05D9\\u05D5\\u05EA \\u05D4\\u05DE\\u05EA\\u05D0\\u05D9\\u05DE\\u05D5\\u05EA \\u05D4\\u05DF ${d.slice(0,-1).join(\", \")} \\u05D0\\u05D5 ${p}`}case\"too_big\":{let d=a(l.origin),p=r(l.origin??\"value\");if(l.origin===\"string\")return`${d?.longLabel??\"\\u05D0\\u05E8\\u05D5\\u05DA\"} \\u05DE\\u05D3\\u05D9: ${p} \\u05E6\\u05E8\\u05D9\\u05DB\\u05D4 \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${l.maximum.toString()} ${d?.unit??\"\"} ${l.inclusive?\"\\u05D0\\u05D5 \\u05E4\\u05D7\\u05D5\\u05EA\":\"\\u05DC\\u05DB\\u05DC \\u05D4\\u05D9\\u05D5\\u05EA\\u05E8\"}`.trim();if(l.origin===\"number\"){let _=l.inclusive?`\\u05E7\\u05D8\\u05DF \\u05D0\\u05D5 \\u05E9\\u05D5\\u05D5\\u05D4 \\u05DC-${l.maximum}`:`\\u05E7\\u05D8\\u05DF \\u05DE-${l.maximum}`;return`\\u05D2\\u05D3\\u05D5\\u05DC \\u05DE\\u05D3\\u05D9: ${p} \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA ${_}`}if(l.origin===\"array\"||l.origin===\"set\"){let _=l.origin===\"set\"?\"\\u05E6\\u05E8\\u05D9\\u05DB\\u05D4\":\"\\u05E6\\u05E8\\u05D9\\u05DA\",b=l.inclusive?`${l.maximum} ${d?.unit??\"\"} \\u05D0\\u05D5 \\u05E4\\u05D7\\u05D5\\u05EA`:`\\u05E4\\u05D7\\u05D5\\u05EA \\u05DE-${l.maximum} ${d?.unit??\"\"}`;return`\\u05D2\\u05D3\\u05D5\\u05DC \\u05DE\\u05D3\\u05D9: ${p} ${_} \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${b}`.trim()}let f=l.inclusive?\"<=\":\"<\",g=i(l.origin??\"value\");return d?.unit?`${d.longLabel} \\u05DE\\u05D3\\u05D9: ${p} ${g} ${f}${l.maximum.toString()} ${d.unit}`:`${d?.longLabel??\"\\u05D2\\u05D3\\u05D5\\u05DC\"} \\u05DE\\u05D3\\u05D9: ${p} ${g} ${f}${l.maximum.toString()}`}case\"too_small\":{let d=a(l.origin),p=r(l.origin??\"value\");if(l.origin===\"string\")return`${d?.shortLabel??\"\\u05E7\\u05E6\\u05E8\"} \\u05DE\\u05D3\\u05D9: ${p} \\u05E6\\u05E8\\u05D9\\u05DB\\u05D4 \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${l.minimum.toString()} ${d?.unit??\"\"} ${l.inclusive?\"\\u05D0\\u05D5 \\u05D9\\u05D5\\u05EA\\u05E8\":\"\\u05DC\\u05E4\\u05D7\\u05D5\\u05EA\"}`.trim();if(l.origin===\"number\"){let _=l.inclusive?`\\u05D2\\u05D3\\u05D5\\u05DC \\u05D0\\u05D5 \\u05E9\\u05D5\\u05D5\\u05D4 \\u05DC-${l.minimum}`:`\\u05D2\\u05D3\\u05D5\\u05DC \\u05DE-${l.minimum}`;return`\\u05E7\\u05D8\\u05DF \\u05DE\\u05D3\\u05D9: ${p} \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA ${_}`}if(l.origin===\"array\"||l.origin===\"set\"){let _=l.origin===\"set\"?\"\\u05E6\\u05E8\\u05D9\\u05DB\\u05D4\":\"\\u05E6\\u05E8\\u05D9\\u05DA\";if(l.minimum===1&&l.inclusive){let x=(l.origin===\"set\",\"\\u05DC\\u05E4\\u05D7\\u05D5\\u05EA \\u05E4\\u05E8\\u05D9\\u05D8 \\u05D0\\u05D7\\u05D3\");return`\\u05E7\\u05D8\\u05DF \\u05DE\\u05D3\\u05D9: ${p} ${_} \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${x}`}let b=l.inclusive?`${l.minimum} ${d?.unit??\"\"} \\u05D0\\u05D5 \\u05D9\\u05D5\\u05EA\\u05E8`:`\\u05D9\\u05D5\\u05EA\\u05E8 \\u05DE-${l.minimum} ${d?.unit??\"\"}`;return`\\u05E7\\u05D8\\u05DF \\u05DE\\u05D3\\u05D9: ${p} ${_} \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${b}`.trim()}let f=l.inclusive?\">=\":\">\",g=i(l.origin??\"value\");return d?.unit?`${d.shortLabel} \\u05DE\\u05D3\\u05D9: ${p} ${g} ${f}${l.minimum.toString()} ${d.unit}`:`${d?.shortLabel??\"\\u05E7\\u05D8\\u05DF\"} \\u05DE\\u05D3\\u05D9: ${p} ${g} ${f}${l.minimum.toString()}`}case\"invalid_format\":{let d=l;if(d.format===\"starts_with\")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05D4\\u05EA\\u05D7\\u05D9\\u05DC \\u05D1 \"${d.prefix}\"`;if(d.format===\"ends_with\")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05D4\\u05E1\\u05EA\\u05D9\\u05D9\\u05DD \\u05D1 \"${d.suffix}\"`;if(d.format===\"includes\")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05DB\\u05DC\\u05D5\\u05DC \"${d.includes}\"`;if(d.format===\"regex\")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05D4\\u05EA\\u05D0\\u05D9\\u05DD \\u05DC\\u05EA\\u05D1\\u05E0\\u05D9\\u05EA ${d.pattern}`;let p=s[d.format],f=p?.label??d.format,_=(p?.gender??\"m\")===\"f\"?\"\\u05EA\\u05E7\\u05D9\\u05E0\\u05D4\":\"\\u05EA\\u05E7\\u05D9\\u05DF\";return`${f} \\u05DC\\u05D0 ${_}`}case\"not_multiple_of\":return`\\u05DE\\u05E1\\u05E4\\u05E8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05D7\\u05D9\\u05D9\\u05D1 \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA \\u05DE\\u05DB\\u05E4\\u05DC\\u05D4 \\u05E9\\u05DC ${l.divisor}`;case\"unrecognized_keys\":return`\\u05DE\\u05E4\\u05EA\\u05D7${l.keys.length>1?\"\\u05D5\\u05EA\":\"\"} \\u05DC\\u05D0 \\u05DE\\u05D6\\u05D5\\u05D4${l.keys.length>1?\"\\u05D9\\u05DD\":\"\\u05D4\"}: ${S(l.keys,\", \")}`;case\"invalid_key\":return\"\\u05E9\\u05D3\\u05D4 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF \\u05D1\\u05D0\\u05D5\\u05D1\\u05D9\\u05D9\\u05E7\\u05D8\";case\"invalid_union\":return\"\\u05E7\\u05DC\\u05D8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF\";case\"invalid_element\":return`\\u05E2\\u05E8\\u05DA \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF \\u05D1${r(l.origin??\"array\")}`;default:return\"\\u05E7\\u05DC\\u05D8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF\"}}};function I_(){return{localeError:Iw()}}var Rw=()=>{let e={string:{unit:\"\\u0905\\u0915\\u094D\\u0937\\u0930\",verb:\"\\u0930\\u0916\\u0928\\u0947 \\u0915\\u0947 \\u0932\\u093F\\u090F\"},file:{unit:\"\\u092C\\u093E\\u0907\\u091F\\u094D\\u0938\",verb:\"\\u0930\\u0916\\u0928\\u0947 \\u0915\\u0947 \\u0932\\u093F\\u090F\"},array:{unit:\"\\u0924\\u0924\\u094D\\u0935\",verb:\"\\u0930\\u0916\\u0928\\u0947 \\u0915\\u0947 \\u0932\\u093F\\u090F\"},set:{unit:\"\\u0924\\u0924\\u094D\\u0935\",verb:\"\\u0930\\u0916\\u0928\\u0947 \\u0915\\u0947 \\u0932\\u093F\\u090F\"},map:{unit:\"\\u092A\\u094D\\u0930\\u0935\\u093F\\u0937\\u094D\\u091F\\u093F\\u092F\\u093E\\u0901\",verb:\"\\u0930\\u0916\\u0928\\u0947 \\u0915\\u0947 \\u0932\\u093F\\u090F\"}};function t(r){return e[r]??null}let n={regex:\"\\u0907\\u0928\\u092A\\u0941\\u091F\",email:\"\\u0908\\u092E\\u0947\\u0932 \\u092A\\u0924\\u093E\",url:\"URL\",emoji:\"\\u0907\\u092E\\u094B\\u091C\\u0940\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0924\\u093F\\u0925\\u093F \\u0914\\u0930 \\u0938\\u092E\\u092F\",date:\"ISO \\u0924\\u093F\\u0925\\u093F\",time:\"ISO \\u0938\\u092E\\u092F\",duration:\"ISO \\u0905\\u0935\\u0927\\u093F\",ipv4:\"IPv4 \\u092A\\u0924\\u093E\",ipv6:\"IPv6 \\u092A\\u0924\\u093E\",mac:\"MAC \\u092A\\u0924\\u093E\",cidrv4:\"IPv4 \\u0936\\u094D\\u0930\\u0947\\u0923\\u0940\",cidrv6:\"IPv6 \\u0936\\u094D\\u0930\\u0947\\u0923\\u0940\",base64:\"Base64-\\u090F\\u0928\\u094D\\u0915\\u094B\\u0921\\u0947\\u0921 \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0902\\u0917\",base64url:\"Base64URL-\\u090F\\u0928\\u094D\\u0915\\u094B\\u0921\\u0947\\u0921 \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0902\\u0917\",json_string:\"JSON \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0902\\u0917\",e164:\"E.164 \\u0938\\u0902\\u0916\\u094D\\u092F\\u093E\",credit_card:\"\\u0915\\u094D\\u0930\\u0947\\u0921\\u093F\\u091F \\u0915\\u093E\\u0930\\u094D\\u0921 \\u0938\\u0902\\u0916\\u094D\\u092F\\u093E\",currency_code:\"\\u092E\\u0941\\u0926\\u094D\\u0930\\u093E \\u0915\\u094B\\u0921\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0907\\u0928\\u092A\\u0941\\u091F\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0907\\u0928\\u092A\\u0941\\u091F: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 ${i}, \\u092A\\u094D\\u0930\\u093E\\u092A\\u094D\\u0924 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0907\\u0928\\u092A\\u0941\\u091F: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 ${w(r.values[0])}`:`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0935\\u093F\\u0915\\u0932\\u094D\\u092A: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 \\u092E\\u093E\\u0928\\u094B\\u0902 \\u092E\\u0947\\u0902 \\u0938\\u0947 \\u090F\\u0915 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u092C\\u0939\\u0941\\u0924 \\u092C\\u0921\\u093C\\u093E: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 \\u0925\\u093E \\u0915\\u093F ${r.origin??\"\\u092E\\u093E\\u0928\"} \\u092E\\u0947\\u0902 ${i}${r.maximum} ${a.unit} \\u0939\\u094B\\u0902`:`\\u092C\\u0939\\u0941\\u0924 \\u092C\\u0921\\u093C\\u093E: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 \\u0925\\u093E \\u0915\\u093F ${r.origin??\"\\u092E\\u093E\\u0928\"} ${i}${r.maximum} \\u0939\\u094B`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u092C\\u0939\\u0941\\u0924 \\u091B\\u094B\\u091F\\u093E: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 \\u0925\\u093E \\u0915\\u093F ${r.origin} \\u092E\\u0947\\u0902 ${i}${r.minimum} ${a.unit} \\u0939\\u094B\\u0902`:`\\u092C\\u0939\\u0941\\u0924 \\u091B\\u094B\\u091F\\u093E: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 \\u0925\\u093E \\u0915\\u093F ${r.origin} ${i}${r.minimum} \\u0939\\u094B`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0902\\u0917: \"${i.prefix}\" \\u0938\\u0947 \\u0936\\u0941\\u0930\\u0942 \\u0939\\u094B\\u0928\\u093E \\u091A\\u093E\\u0939\\u093F\\u090F`:i.format===\"ends_with\"?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0902\\u0917: \"${i.suffix}\" \\u092A\\u0930 \\u0938\\u092E\\u093E\\u092A\\u094D\\u0924 \\u0939\\u094B\\u0928\\u093E \\u091A\\u093E\\u0939\\u093F\\u090F`:i.format===\"includes\"?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0902\\u0917: \\u0907\\u0938\\u092E\\u0947\\u0902 \"${i.includes}\" \\u0936\\u093E\\u092E\\u093F\\u0932 \\u0939\\u094B\\u0928\\u093E \\u091A\\u093E\\u0939\\u093F\\u090F`:i.format===\"regex\"?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0902\\u0917: \\u092A\\u0948\\u091F\\u0930\\u094D\\u0928 ${i.pattern} \\u0938\\u0947 \\u092E\\u0947\\u0932 \\u0916\\u093E\\u0928\\u093E \\u091A\\u093E\\u0939\\u093F\\u090F`:`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u0902\\u0916\\u094D\\u092F\\u093E: \\u092F\\u0939 ${r.divisor} \\u0915\\u093E \\u0917\\u0941\\u0923\\u091C \\u0939\\u094B\\u0928\\u093E \\u091A\\u093E\\u0939\\u093F\\u090F`;case\"unrecognized_keys\":return`\\u0905\\u092A\\u0930\\u093F\\u091A\\u093F\\u0924 \\u0915\\u0941\\u0902\\u091C\\u0940${r.keys.length>1?\"\\u092F\\u093E\\u0901\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0915\\u0941\\u0902\\u091C\\u0940: ${r.origin} \\u092E\\u0947\\u0902`;case\"invalid_union\":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0921\\u093F\\u0938\\u094D\\u0915\\u094D\\u0930\\u093F\\u092E\\u093F\\u0928\\u0947\\u091F\\u0930 \\u092E\\u093E\\u0928: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 ${r.options.map(a=>`'${a}'`).join(\" | \")}`:\"\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0907\\u0928\\u092A\\u0941\\u091F\";case\"invalid_element\":return`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u092E\\u093E\\u0928: ${r.origin} \\u092E\\u0947\\u0902`;default:return\"\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0907\\u0928\\u092A\\u0941\\u091F\"}}};function R_(){return{localeError:Rw()}}var Pw=()=>{let e={string:{unit:\"znakova\",verb:\"imati\"},file:{unit:\"bajtova\",verb:\"imati\"},array:{unit:\"stavki\",verb:\"imati\"},set:{unit:\"stavki\",verb:\"imati\"}};function t(r){return e[r]??null}let n={regex:\"unos\",email:\"email adresa\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO datum i vrijeme\",date:\"ISO datum\",time:\"ISO vrijeme\",duration:\"ISO trajanje\",ipv4:\"IPv4 adresa\",ipv6:\"IPv6 adresa\",mac:\"MAC adresa\",cidrv4:\"IPv4 raspon\",cidrv6:\"IPv6 raspon\",base64:\"base64 kodirani tekst\",base64url:\"base64url kodirani tekst\",json_string:\"JSON tekst\",e164:\"E.164 broj\",credit_card:\"broj kreditne kartice\",currency_code:\"kod valute\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"unos\"},o={nan:\"NaN\",string:\"tekst\",number:\"broj\",boolean:\"boolean\",array:\"niz\",object:\"objekt\",set:\"skup\",file:\"datoteka\",date:\"datum\",bigint:\"bigint\",symbol:\"simbol\",undefined:\"undefined\",null:\"null\",function:\"funkcija\",map:\"mapa\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Neispravan unos: o\\u010Dekuje se instanceof ${r.expected}, a primljeno je ${s}`:`Neispravan unos: o\\u010Dekuje se ${i}, a primljeno je ${s}`}case\"invalid_value\":return r.values.length===1?`Neispravna vrijednost: o\\u010Dekivano ${w(r.values[0])}`:`Neispravna opcija: o\\u010Dekivano jedno od ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin),s=o[r.origin]??r.origin;return a?`Preveliko: o\\u010Dekivano da ${s??\"vrijednost\"} ima ${i}${r.maximum.toString()} ${a.unit??\"elemenata\"}`:`Preveliko: o\\u010Dekivano da ${s??\"vrijednost\"} bude ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin),s=o[r.origin]??r.origin;return a?`Premalo: o\\u010Dekivano da ${s} ima ${i}${r.minimum.toString()} ${a.unit}`:`Premalo: o\\u010Dekivano da ${s} bude ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Neispravan tekst: mora zapo\\u010Dinjati s \"${i.prefix}\"`:i.format===\"ends_with\"?`Neispravan tekst: mora zavr\\u0161avati s \"${i.suffix}\"`:i.format===\"includes\"?`Neispravan tekst: mora sadr\\u017Eavati \"${i.includes}\"`:i.format===\"regex\"?`Neispravan tekst: mora odgovarati uzorku ${i.pattern}`:`Neispravna ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Neispravan broj: mora biti vi\\u0161ekratnik od ${r.divisor}`;case\"unrecognized_keys\":return`Neprepoznat${r.keys.length>1?\"i klju\\u010Devi\":\" klju\\u010D\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Neispravan klju\\u010D u ${o[r.origin]??r.origin}`;case\"invalid_union\":return\"Neispravan unos\";case\"invalid_element\":return`Neispravna vrijednost u ${o[r.origin]??r.origin}`;default:return\"Neispravan unos\"}}};function P_(){return{localeError:Pw()}}var Tw=()=>{let e={string:{unit:\"karakter\",verb:\"legyen\"},file:{unit:\"byte\",verb:\"legyen\"},array:{unit:\"elem\",verb:\"legyen\"},set:{unit:\"elem\",verb:\"legyen\"},map:{unit:\"elem\",verb:\"legyen\"}};function t(r){return e[r]??null}let n={regex:\"bemenet\",email:\"email c\\xEDm\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO id\\u0151b\\xE9lyeg\",date:\"ISO d\\xE1tum\",time:\"ISO id\\u0151\",duration:\"ISO id\\u0151intervallum\",ipv4:\"IPv4 c\\xEDm\",ipv6:\"IPv6 c\\xEDm\",mac:\"MAC c\\xEDm\",cidrv4:\"IPv4 tartom\\xE1ny\",cidrv6:\"IPv6 tartom\\xE1ny\",base64:\"base64-k\\xF3dolt string\",base64url:\"base64url-k\\xF3dolt string\",json_string:\"JSON string\",e164:\"E.164 sz\\xE1m\",credit_card:\"hitelk\\xE1rtyasz\\xE1m\",currency_code:\"p\\xE9nznemk\\xF3d\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"bemenet\"},o={nan:\"NaN\",number:\"sz\\xE1m\",array:\"t\\xF6mb\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\xC9rv\\xE9nytelen bemenet: a v\\xE1rt \\xE9rt\\xE9k instanceof ${r.expected}, a kapott \\xE9rt\\xE9k ${s}`:`\\xC9rv\\xE9nytelen bemenet: a v\\xE1rt \\xE9rt\\xE9k ${i}, a kapott \\xE9rt\\xE9k ${s}`}case\"invalid_value\":return r.values.length===1?`\\xC9rv\\xE9nytelen bemenet: a v\\xE1rt \\xE9rt\\xE9k ${w(r.values[0])}`:`\\xC9rv\\xE9nytelen opci\\xF3: valamelyik \\xE9rt\\xE9k v\\xE1rt ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`T\\xFAl nagy: ${r.origin??\"\\xE9rt\\xE9k\"} m\\xE9rete t\\xFAl nagy ${i}${r.maximum.toString()} ${a.unit??\"elem\"}`:`T\\xFAl nagy: a bemeneti \\xE9rt\\xE9k ${r.origin??\"\\xE9rt\\xE9k\"} t\\xFAl nagy: ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`T\\xFAl kicsi: a bemeneti \\xE9rt\\xE9k ${r.origin} m\\xE9rete t\\xFAl kicsi ${i}${r.minimum.toString()} ${a.unit}`:`T\\xFAl kicsi: a bemeneti \\xE9rt\\xE9k ${r.origin} t\\xFAl kicsi ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\xC9rv\\xE9nytelen string: \"${i.prefix}\" \\xE9rt\\xE9kkel kell kezd\\u0151dnie`:i.format===\"ends_with\"?`\\xC9rv\\xE9nytelen string: \"${i.suffix}\" \\xE9rt\\xE9kkel kell v\\xE9gz\\u0151dnie`:i.format===\"includes\"?`\\xC9rv\\xE9nytelen string: \"${i.includes}\" \\xE9rt\\xE9ket kell tartalmaznia`:i.format===\"regex\"?`\\xC9rv\\xE9nytelen string: ${i.pattern} mint\\xE1nak kell megfelelnie`:`\\xC9rv\\xE9nytelen ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\xC9rv\\xE9nytelen sz\\xE1m: ${r.divisor} t\\xF6bbsz\\xF6r\\xF6s\\xE9nek kell lennie`;case\"unrecognized_keys\":return`Ismeretlen kulcs${r.keys.length>1?\"s\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\xC9rv\\xE9nytelen kulcs ${r.origin}`;case\"invalid_union\":return\"\\xC9rv\\xE9nytelen bemenet\";case\"invalid_element\":return`\\xC9rv\\xE9nytelen \\xE9rt\\xE9k: ${r.origin}`;default:return\"\\xC9rv\\xE9nytelen bemenet\"}}};function T_(){return{localeError:Tw()}}function E_(e,t,n){return Math.abs(e)===1?t:n}function Tn(e){if(!e)return\"\";let t=[\"\\u0561\",\"\\u0565\",\"\\u0568\",\"\\u056B\",\"\\u0578\",\"\\u0578\\u0582\",\"\\u0585\"],n=e[e.length-1];return e+(t.includes(n)?\"\\u0576\":\"\\u0568\")}var Ew=()=>{let e={string:{unit:{one:\"\\u0576\\u0577\\u0561\\u0576\",many:\"\\u0576\\u0577\\u0561\\u0576\\u0576\\u0565\\u0580\"},verb:\"\\u0578\\u0582\\u0576\\u0565\\u0576\\u0561\\u056C\"},file:{unit:{one:\"\\u0562\\u0561\\u0575\\u0569\",many:\"\\u0562\\u0561\\u0575\\u0569\\u0565\\u0580\"},verb:\"\\u0578\\u0582\\u0576\\u0565\\u0576\\u0561\\u056C\"},array:{unit:{one:\"\\u057F\\u0561\\u0580\\u0580\",many:\"\\u057F\\u0561\\u0580\\u0580\\u0565\\u0580\"},verb:\"\\u0578\\u0582\\u0576\\u0565\\u0576\\u0561\\u056C\"},set:{unit:{one:\"\\u057F\\u0561\\u0580\\u0580\",many:\"\\u057F\\u0561\\u0580\\u0580\\u0565\\u0580\"},verb:\"\\u0578\\u0582\\u0576\\u0565\\u0576\\u0561\\u056C\"},map:{unit:{one:\"\\u057F\\u0561\\u0580\\u0580\",many:\"\\u057F\\u0561\\u0580\\u0580\\u0565\\u0580\"},verb:\"\\u0578\\u0582\\u0576\\u0565\\u0576\\u0561\\u056C\"}};function t(r){return e[r]??null}let n={regex:\"\\u0574\\u0578\\u0582\\u057F\\u0584\",email:\"\\u0567\\u056C. \\u0570\\u0561\\u057D\\u0581\\u0565\",url:\"URL\",emoji:\"\\u0567\\u0574\\u0578\\u057B\\u056B\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0561\\u0574\\u057D\\u0561\\u0569\\u056B\\u057E \\u0587 \\u056A\\u0561\\u0574\",date:\"ISO \\u0561\\u0574\\u057D\\u0561\\u0569\\u056B\\u057E\",time:\"ISO \\u056A\\u0561\\u0574\",duration:\"ISO \\u057F\\u0587\\u0578\\u0572\\u0578\\u0582\\u0569\\u0575\\u0578\\u0582\\u0576\",ipv4:\"IPv4 \\u0570\\u0561\\u057D\\u0581\\u0565\",ipv6:\"IPv6 \\u0570\\u0561\\u057D\\u0581\\u0565\",mac:\"MAC \\u0570\\u0561\\u057D\\u0581\\u0565\",cidrv4:\"IPv4 \\u0574\\u056B\\u057B\\u0561\\u056F\\u0561\\u0575\\u0584\",cidrv6:\"IPv6 \\u0574\\u056B\\u057B\\u0561\\u056F\\u0561\\u0575\\u0584\",base64:\"base64 \\u0571\\u0587\\u0561\\u0579\\u0561\\u0583\\u0578\\u057E \\u057F\\u0578\\u0572\",base64url:\"base64url \\u0571\\u0587\\u0561\\u0579\\u0561\\u0583\\u0578\\u057E \\u057F\\u0578\\u0572\",json_string:\"JSON \\u057F\\u0578\\u0572\",e164:\"E.164 \\u0570\\u0561\\u0574\\u0561\\u0580\",credit_card:\"\\u056F\\u0580\\u0565\\u0564\\u056B\\u057F \\u0584\\u0561\\u0580\\u057F\\u056B \\u0570\\u0561\\u0574\\u0561\\u0580\",currency_code:\"\\u0561\\u0580\\u056A\\u0578\\u0582\\u0575\\u0569\\u056B \\u056F\\u0578\\u0564\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0574\\u0578\\u0582\\u057F\\u0584\"},o={nan:\"NaN\",number:\"\\u0569\\u056B\\u057E\",array:\"\\u0566\\u0561\\u0576\\u0563\\u057E\\u0561\\u056E\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u054D\\u056D\\u0561\\u056C \\u0574\\u0578\\u0582\\u057F\\u0584\\u0561\\u0563\\u0580\\u0578\\u0582\\u0574\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567\\u0580 instanceof ${r.expected}, \\u057D\\u057F\\u0561\\u0581\\u057E\\u0565\\u056C \\u0567 ${s}`:`\\u054D\\u056D\\u0561\\u056C \\u0574\\u0578\\u0582\\u057F\\u0584\\u0561\\u0563\\u0580\\u0578\\u0582\\u0574\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567\\u0580 ${i}, \\u057D\\u057F\\u0561\\u0581\\u057E\\u0565\\u056C \\u0567 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u054D\\u056D\\u0561\\u056C \\u0574\\u0578\\u0582\\u057F\\u0584\\u0561\\u0563\\u0580\\u0578\\u0582\\u0574\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567\\u0580 ${w(r.values[1])}`:`\\u054D\\u056D\\u0561\\u056C \\u057F\\u0561\\u0580\\u0562\\u0565\\u0580\\u0561\\u056F\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567\\u0580 \\u0570\\u0565\\u057F\\u0587\\u0575\\u0561\\u056C\\u0576\\u0565\\u0580\\u056B\\u0581 \\u0574\\u0565\\u056F\\u0568\\u055D ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);if(a){let s=Number(r.maximum),c=E_(s,a.unit.one,a.unit.many);return`\\u0549\\u0561\\u0583\\u0561\\u0566\\u0561\\u0576\\u0581 \\u0574\\u0565\\u056E \\u0561\\u0580\\u056A\\u0565\\u0584\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567, \\u0578\\u0580 ${Tn(r.origin??\"\\u0561\\u0580\\u056A\\u0565\\u0584\")} \\u056F\\u0578\\u0582\\u0576\\u0565\\u0576\\u0561 ${i}${r.maximum.toString()} ${c}`}return`\\u0549\\u0561\\u0583\\u0561\\u0566\\u0561\\u0576\\u0581 \\u0574\\u0565\\u056E \\u0561\\u0580\\u056A\\u0565\\u0584\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567, \\u0578\\u0580 ${Tn(r.origin??\"\\u0561\\u0580\\u056A\\u0565\\u0584\")} \\u056C\\u056B\\u0576\\u056B ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);if(a){let s=Number(r.minimum),c=E_(s,a.unit.one,a.unit.many);return`\\u0549\\u0561\\u0583\\u0561\\u0566\\u0561\\u0576\\u0581 \\u0583\\u0578\\u0584\\u0580 \\u0561\\u0580\\u056A\\u0565\\u0584\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567, \\u0578\\u0580 ${Tn(r.origin)} \\u056F\\u0578\\u0582\\u0576\\u0565\\u0576\\u0561 ${i}${r.minimum.toString()} ${c}`}return`\\u0549\\u0561\\u0583\\u0561\\u0566\\u0561\\u0576\\u0581 \\u0583\\u0578\\u0584\\u0580 \\u0561\\u0580\\u056A\\u0565\\u0584\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567, \\u0578\\u0580 ${Tn(r.origin)} \\u056C\\u056B\\u0576\\u056B ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u054D\\u056D\\u0561\\u056C \\u057F\\u0578\\u0572\\u2024 \\u057A\\u0565\\u057F\\u0584 \\u0567 \\u057D\\u056F\\u057D\\u057E\\u056B \"${i.prefix}\"-\\u0578\\u057E`:i.format===\"ends_with\"?`\\u054D\\u056D\\u0561\\u056C \\u057F\\u0578\\u0572\\u2024 \\u057A\\u0565\\u057F\\u0584 \\u0567 \\u0561\\u057E\\u0561\\u0580\\u057F\\u057E\\u056B \"${i.suffix}\"-\\u0578\\u057E`:i.format===\"includes\"?`\\u054D\\u056D\\u0561\\u056C \\u057F\\u0578\\u0572\\u2024 \\u057A\\u0565\\u057F\\u0584 \\u0567 \\u057A\\u0561\\u0580\\u0578\\u0582\\u0576\\u0561\\u056F\\u056B \"${i.includes}\"`:i.format===\"regex\"?`\\u054D\\u056D\\u0561\\u056C \\u057F\\u0578\\u0572\\u2024 \\u057A\\u0565\\u057F\\u0584 \\u0567 \\u0570\\u0561\\u0574\\u0561\\u057A\\u0561\\u057F\\u0561\\u057D\\u056D\\u0561\\u0576\\u056B ${i.pattern} \\u0571\\u0587\\u0561\\u0579\\u0561\\u0583\\u056B\\u0576`:`\\u054D\\u056D\\u0561\\u056C ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u054D\\u056D\\u0561\\u056C \\u0569\\u056B\\u057E\\u2024 \\u057A\\u0565\\u057F\\u0584 \\u0567 \\u0562\\u0561\\u0566\\u0574\\u0561\\u057A\\u0561\\u057F\\u056B\\u056F \\u056C\\u056B\\u0576\\u056B ${r.divisor}-\\u056B`;case\"unrecognized_keys\":return`\\u0549\\u0573\\u0561\\u0576\\u0561\\u0579\\u057E\\u0561\\u056E \\u0562\\u0561\\u0576\\u0561\\u056C\\u056B${r.keys.length>1?\"\\u0576\\u0565\\u0580\":\"\"}. ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u054D\\u056D\\u0561\\u056C \\u0562\\u0561\\u0576\\u0561\\u056C\\u056B ${Tn(r.origin)}-\\u0578\\u0582\\u0574`;case\"invalid_union\":return\"\\u054D\\u056D\\u0561\\u056C \\u0574\\u0578\\u0582\\u057F\\u0584\\u0561\\u0563\\u0580\\u0578\\u0582\\u0574\";case\"invalid_element\":return`\\u054D\\u056D\\u0561\\u056C \\u0561\\u0580\\u056A\\u0565\\u0584 ${Tn(r.origin)}-\\u0578\\u0582\\u0574`;default:return\"\\u054D\\u056D\\u0561\\u056C \\u0574\\u0578\\u0582\\u057F\\u0584\\u0561\\u0563\\u0580\\u0578\\u0582\\u0574\"}}};function O_(){return{localeError:Ew()}}var Ow=()=>{let e={string:{unit:\"karakter\",verb:\"memiliki\"},file:{unit:\"byte\",verb:\"memiliki\"},array:{unit:\"item\",verb:\"memiliki\"},set:{unit:\"item\",verb:\"memiliki\"},map:{unit:\"item\",verb:\"memiliki\"}};function t(r){return e[r]??null}let n={regex:\"input\",email:\"alamat email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"tanggal dan waktu format ISO\",date:\"tanggal format ISO\",time:\"jam format ISO\",duration:\"durasi format ISO\",ipv4:\"alamat IPv4\",ipv6:\"alamat IPv6\",mac:\"alamat MAC\",cidrv4:\"rentang alamat IPv4\",cidrv6:\"rentang alamat IPv6\",base64:\"string dengan enkode base64\",base64url:\"string dengan enkode base64url\",json_string:\"string JSON\",e164:\"angka E.164\",credit_card:\"nomor kartu kredit\",currency_code:\"kode mata uang\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Input tidak valid: diharapkan instanceof ${r.expected}, diterima ${s}`:`Input tidak valid: diharapkan ${i}, diterima ${s}`}case\"invalid_value\":return r.values.length===1?`Input tidak valid: diharapkan ${w(r.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Terlalu besar: diharapkan ${r.origin??\"value\"} memiliki ${i}${r.maximum.toString()} ${a.unit??\"elemen\"}`:`Terlalu besar: diharapkan ${r.origin??\"value\"} menjadi ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Terlalu kecil: diharapkan ${r.origin} memiliki ${i}${r.minimum.toString()} ${a.unit}`:`Terlalu kecil: diharapkan ${r.origin} menjadi ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`String tidak valid: harus dimulai dengan \"${i.prefix}\"`:i.format===\"ends_with\"?`String tidak valid: harus berakhir dengan \"${i.suffix}\"`:i.format===\"includes\"?`String tidak valid: harus menyertakan \"${i.includes}\"`:i.format===\"regex\"?`String tidak valid: harus sesuai pola ${i.pattern}`:`${n[i.format]??r.format} tidak valid`}case\"not_multiple_of\":return`Angka tidak valid: harus kelipatan dari ${r.divisor}`;case\"unrecognized_keys\":return`Kunci tidak dikenali ${r.keys.length>1?\"s\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Kunci tidak valid di ${r.origin}`;case\"invalid_union\":return\"Input tidak valid\";case\"invalid_element\":return`Nilai tidak valid di ${r.origin}`;default:return\"Input tidak valid\"}}};function C_(){return{localeError:Ow()}}var Cw=()=>{let e={string:{unit:\"stafi\",verb:\"a\\xF0 hafa\"},file:{unit:\"b\\xE6ti\",verb:\"a\\xF0 hafa\"},array:{unit:\"hluti\",verb:\"a\\xF0 hafa\"},set:{unit:\"hluti\",verb:\"a\\xF0 hafa\"},map:{unit:\"hluti\",verb:\"a\\xF0 hafa\"}};function t(r){return e[r]??null}let n={regex:\"gildi\",email:\"netfang\",url:\"vefsl\\xF3\\xF0\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO dagsetning og t\\xEDmi\",date:\"ISO dagsetning\",time:\"ISO t\\xEDmi\",duration:\"ISO t\\xEDmalengd\",ipv4:\"IPv4 address\",ipv6:\"IPv6 address\",mac:\"MAC address\",cidrv4:\"IPv4 range\",cidrv6:\"IPv6 range\",base64:\"base64-encoded strengur\",base64url:\"base64url-encoded strengur\",json_string:\"JSON strengur\",e164:\"E.164 t\\xF6lugildi\",credit_card:\"kreditkortan\\xFAmer\",currency_code:\"gjaldmi\\xF0ilsk\\xF3\\xF0i\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"gildi\"},o={nan:\"NaN\",number:\"n\\xFAmer\",array:\"fylki\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Rangt gildi: \\xDE\\xFA sl\\xF3st inn ${s} \\xFEar sem \\xE1 a\\xF0 vera instanceof ${r.expected}`:`Rangt gildi: \\xDE\\xFA sl\\xF3st inn ${s} \\xFEar sem \\xE1 a\\xF0 vera ${i}`}case\"invalid_value\":return r.values.length===1?`Rangt gildi: gert r\\xE1\\xF0 fyrir ${w(r.values[0])}`:`\\xD3gilt val: m\\xE1 vera eitt af eftirfarandi ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Of st\\xF3rt: gert er r\\xE1\\xF0 fyrir a\\xF0 ${r.origin??\"gildi\"} hafi ${i}${r.maximum.toString()} ${a.unit??\"hluti\"}`:`Of st\\xF3rt: gert er r\\xE1\\xF0 fyrir a\\xF0 ${r.origin??\"gildi\"} s\\xE9 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Of l\\xEDti\\xF0: gert er r\\xE1\\xF0 fyrir a\\xF0 ${r.origin} hafi ${i}${r.minimum.toString()} ${a.unit}`:`Of l\\xEDti\\xF0: gert er r\\xE1\\xF0 fyrir a\\xF0 ${r.origin} s\\xE9 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\xD3gildur strengur: ver\\xF0ur a\\xF0 byrja \\xE1 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\xD3gildur strengur: ver\\xF0ur a\\xF0 enda \\xE1 \"${i.suffix}\"`:i.format===\"includes\"?`\\xD3gildur strengur: ver\\xF0ur a\\xF0 innihalda \"${i.includes}\"`:i.format===\"regex\"?`\\xD3gildur strengur: ver\\xF0ur a\\xF0 fylgja mynstri ${i.pattern}`:`Rangt ${n[i.format]??r.format}`}case\"not_multiple_of\":return`R\\xF6ng tala: ver\\xF0ur a\\xF0 vera margfeldi af ${r.divisor}`;case\"unrecognized_keys\":return`\\xD3\\xFEekkt ${r.keys.length>1?\"ir lyklar\":\"ur lykill\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Rangur lykill \\xED ${r.origin}`;case\"invalid_union\":return\"Rangt gildi\";case\"invalid_element\":return`Rangt gildi \\xED ${r.origin}`;default:return\"Rangt gildi\"}}};function N_(){return{localeError:Cw()}}var Nw=()=>{let e={string:{unit:\"caratteri\",verb:\"avere\"},file:{unit:\"byte\",verb:\"avere\"},array:{unit:\"elementi\",verb:\"avere\"},set:{unit:\"elementi\",verb:\"avere\"},map:{unit:\"elementi\",verb:\"avere\"}};function t(r){return e[r]??null}let n={regex:\"input\",email:\"indirizzo email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"data e ora ISO\",date:\"data ISO\",time:\"ora ISO\",duration:\"durata ISO\",ipv4:\"indirizzo IPv4\",ipv6:\"indirizzo IPv6\",mac:\"indirizzo MAC\",cidrv4:\"intervallo IPv4\",cidrv6:\"intervallo IPv6\",base64:\"stringa codificata in base64\",base64url:\"URL codificata in base64\",json_string:\"stringa JSON\",e164:\"numero E.164\",credit_card:\"numero di carta di credito\",currency_code:\"codice valuta\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\",number:\"numero\",array:\"vettore\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Input non valido: atteso instanceof ${r.expected}, ricevuto ${s}`:`Input non valido: atteso ${i}, ricevuto ${s}`}case\"invalid_value\":return r.values.length===1?`Input non valido: atteso ${w(r.values[0])}`:`Opzione non valida: atteso uno tra ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Troppo grande: ${r.origin??\"valore\"} deve avere ${i}${r.maximum.toString()} ${a.unit??\"elementi\"}`:`Troppo grande: ${r.origin??\"valore\"} deve essere ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Troppo piccolo: ${r.origin} deve avere ${i}${r.minimum.toString()} ${a.unit}`:`Troppo piccolo: ${r.origin} deve essere ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Stringa non valida: deve iniziare con \"${i.prefix}\"`:i.format===\"ends_with\"?`Stringa non valida: deve terminare con \"${i.suffix}\"`:i.format===\"includes\"?`Stringa non valida: deve includere \"${i.includes}\"`:i.format===\"regex\"?`Stringa non valida: deve corrispondere al pattern ${i.pattern}`:`Input non valido: ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Numero non valido: deve essere un multiplo di ${r.divisor}`;case\"unrecognized_keys\":return`Chiav${r.keys.length>1?\"i\":\"e\"} non riconosciut${r.keys.length>1?\"e\":\"a\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Chiave non valida in ${r.origin}`;case\"invalid_union\":return\"Input non valido\";case\"invalid_element\":return`Valore non valido in ${r.origin}`;default:return\"Input non valido\"}}};function j_(){return{localeError:Nw()}}var jw=()=>{let e={string:{unit:\"\\u6587\\u5B57\",verb:\"\\u3067\\u3042\\u308B\"},file:{unit:\"\\u30D0\\u30A4\\u30C8\",verb:\"\\u3067\\u3042\\u308B\"},array:{unit:\"\\u8981\\u7D20\",verb:\"\\u3067\\u3042\\u308B\"},set:{unit:\"\\u8981\\u7D20\",verb:\"\\u3067\\u3042\\u308B\"},map:{unit:\"\\u8981\\u7D20\",verb:\"\\u3067\\u3042\\u308B\"}};function t(r){return e[r]??null}let n={regex:\"\\u5165\\u529B\\u5024\",email:\"\\u30E1\\u30FC\\u30EB\\u30A2\\u30C9\\u30EC\\u30B9\",url:\"URL\",emoji:\"\\u7D75\\u6587\\u5B57\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO\\u65E5\\u6642\",date:\"ISO\\u65E5\\u4ED8\",time:\"ISO\\u6642\\u523B\",duration:\"ISO\\u671F\\u9593\",ipv4:\"IPv4\\u30A2\\u30C9\\u30EC\\u30B9\",ipv6:\"IPv6\\u30A2\\u30C9\\u30EC\\u30B9\",mac:\"MAC\\u30A2\\u30C9\\u30EC\\u30B9\",cidrv4:\"IPv4\\u7BC4\\u56F2\",cidrv6:\"IPv6\\u7BC4\\u56F2\",base64:\"base64\\u30A8\\u30F3\\u30B3\\u30FC\\u30C9\\u6587\\u5B57\\u5217\",base64url:\"base64url\\u30A8\\u30F3\\u30B3\\u30FC\\u30C9\\u6587\\u5B57\\u5217\",json_string:\"JSON\\u6587\\u5B57\\u5217\",e164:\"E.164\\u756A\\u53F7\",credit_card:\"\\u30AF\\u30EC\\u30B8\\u30C3\\u30C8\\u30AB\\u30FC\\u30C9\\u756A\\u53F7\",currency_code:\"\\u901A\\u8CA8\\u30B3\\u30FC\\u30C9\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u5165\\u529B\\u5024\"},o={nan:\"NaN\",number:\"\\u6570\\u5024\",array:\"\\u914D\\u5217\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u7121\\u52B9\\u306A\\u5165\\u529B: instanceof ${r.expected}\\u304C\\u671F\\u5F85\\u3055\\u308C\\u307E\\u3057\\u305F\\u304C\\u3001${s}\\u304C\\u5165\\u529B\\u3055\\u308C\\u307E\\u3057\\u305F`:`\\u7121\\u52B9\\u306A\\u5165\\u529B: ${i}\\u304C\\u671F\\u5F85\\u3055\\u308C\\u307E\\u3057\\u305F\\u304C\\u3001${s}\\u304C\\u5165\\u529B\\u3055\\u308C\\u307E\\u3057\\u305F`}case\"invalid_value\":return r.values.length===1?`\\u7121\\u52B9\\u306A\\u5165\\u529B: ${w(r.values[0])}\\u304C\\u671F\\u5F85\\u3055\\u308C\\u307E\\u3057\\u305F`:`\\u7121\\u52B9\\u306A\\u9078\\u629E: ${S(r.values,\"\\u3001\")}\\u306E\\u3044\\u305A\\u308C\\u304B\\u3067\\u3042\\u308B\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`;case\"too_big\":{let i=r.inclusive?\"\\u4EE5\\u4E0B\\u3067\\u3042\\u308B\":\"\\u3088\\u308A\\u5C0F\\u3055\\u3044\",a=t(r.origin);return a?`\\u5927\\u304D\\u3059\\u304E\\u308B\\u5024: ${r.origin??\"\\u5024\"}\\u306F${r.maximum.toString()}${a.unit??\"\\u8981\\u7D20\"}${i}\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`:`\\u5927\\u304D\\u3059\\u304E\\u308B\\u5024: ${r.origin??\"\\u5024\"}\\u306F${r.maximum.toString()}${i}\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`}case\"too_small\":{let i=r.inclusive?\"\\u4EE5\\u4E0A\\u3067\\u3042\\u308B\":\"\\u3088\\u308A\\u5927\\u304D\\u3044\",a=t(r.origin);return a?`\\u5C0F\\u3055\\u3059\\u304E\\u308B\\u5024: ${r.origin}\\u306F${r.minimum.toString()}${a.unit}${i}\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`:`\\u5C0F\\u3055\\u3059\\u304E\\u308B\\u5024: ${r.origin}\\u306F${r.minimum.toString()}${i}\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u7121\\u52B9\\u306A\\u6587\\u5B57\\u5217: \"${i.prefix}\"\\u3067\\u59CB\\u307E\\u308B\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`:i.format===\"ends_with\"?`\\u7121\\u52B9\\u306A\\u6587\\u5B57\\u5217: \"${i.suffix}\"\\u3067\\u7D42\\u308F\\u308B\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`:i.format===\"includes\"?`\\u7121\\u52B9\\u306A\\u6587\\u5B57\\u5217: \"${i.includes}\"\\u3092\\u542B\\u3080\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`:i.format===\"regex\"?`\\u7121\\u52B9\\u306A\\u6587\\u5B57\\u5217: \\u30D1\\u30BF\\u30FC\\u30F3${i.pattern}\\u306B\\u4E00\\u81F4\\u3059\\u308B\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`:`\\u7121\\u52B9\\u306A${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u7121\\u52B9\\u306A\\u6570\\u5024: ${r.divisor}\\u306E\\u500D\\u6570\\u3067\\u3042\\u308B\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`;case\"unrecognized_keys\":return`\\u8A8D\\u8B58\\u3055\\u308C\\u3066\\u3044\\u306A\\u3044\\u30AD\\u30FC${r.keys.length>1?\"\\u7FA4\":\"\"}: ${S(r.keys,\"\\u3001\")}`;case\"invalid_key\":return`${r.origin}\\u5185\\u306E\\u7121\\u52B9\\u306A\\u30AD\\u30FC`;case\"invalid_union\":return\"\\u7121\\u52B9\\u306A\\u5165\\u529B\";case\"invalid_element\":return`${r.origin}\\u5185\\u306E\\u7121\\u52B9\\u306A\\u5024`;default:return\"\\u7121\\u52B9\\u306A\\u5165\\u529B\"}}};function A_(){return{localeError:jw()}}var Aw=()=>{let e={string:{unit:\"\\u10E1\\u10D8\\u10DB\\u10D1\\u10DD\\u10DA\\u10DD\",verb:\"\\u10E3\\u10DC\\u10D3\\u10D0 \\u10E8\\u10D4\\u10D8\\u10EA\\u10D0\\u10D5\\u10D3\\u10D4\\u10E1\"},file:{unit:\"\\u10D1\\u10D0\\u10D8\\u10E2\\u10D8\",verb:\"\\u10E3\\u10DC\\u10D3\\u10D0 \\u10E8\\u10D4\\u10D8\\u10EA\\u10D0\\u10D5\\u10D3\\u10D4\\u10E1\"},array:{unit:\"\\u10D4\\u10DA\\u10D4\\u10DB\\u10D4\\u10DC\\u10E2\\u10D8\",verb:\"\\u10E3\\u10DC\\u10D3\\u10D0 \\u10E8\\u10D4\\u10D8\\u10EA\\u10D0\\u10D5\\u10D3\\u10D4\\u10E1\"},set:{unit:\"\\u10D4\\u10DA\\u10D4\\u10DB\\u10D4\\u10DC\\u10E2\\u10D8\",verb:\"\\u10E3\\u10DC\\u10D3\\u10D0 \\u10E8\\u10D4\\u10D8\\u10EA\\u10D0\\u10D5\\u10D3\\u10D4\\u10E1\"},map:{unit:\"\\u10D4\\u10DA\\u10D4\\u10DB\\u10D4\\u10DC\\u10E2\\u10D8\",verb:\"\\u10E3\\u10DC\\u10D3\\u10D0 \\u10E8\\u10D4\\u10D8\\u10EA\\u10D0\\u10D5\\u10D3\\u10D4\\u10E1\"}};function t(r){return e[r]??null}let n={regex:\"\\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0\",email:\"\\u10D4\\u10DA-\\u10E4\\u10DD\\u10E1\\u10E2\\u10D8\\u10E1 \\u10DB\\u10D8\\u10E1\\u10D0\\u10DB\\u10D0\\u10E0\\u10D7\\u10D8\",url:\"URL\",emoji:\"\\u10D4\\u10DB\\u10DD\\u10EF\\u10D8\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u10D7\\u10D0\\u10E0\\u10D8\\u10E6\\u10D8-\\u10D3\\u10E0\\u10DD\",date:\"\\u10D7\\u10D0\\u10E0\\u10D8\\u10E6\\u10D8\",time:\"\\u10D3\\u10E0\\u10DD\",duration:\"\\u10EE\\u10D0\\u10DC\\u10D2\\u10E0\\u10EB\\u10DA\\u10D8\\u10D5\\u10DD\\u10D1\\u10D0\",ipv4:\"IPv4 \\u10DB\\u10D8\\u10E1\\u10D0\\u10DB\\u10D0\\u10E0\\u10D7\\u10D8\",ipv6:\"IPv6 \\u10DB\\u10D8\\u10E1\\u10D0\\u10DB\\u10D0\\u10E0\\u10D7\\u10D8\",mac:\"MAC \\u10DB\\u10D8\\u10E1\\u10D0\\u10DB\\u10D0\\u10E0\\u10D7\\u10D8\",cidrv4:\"IPv4 \\u10D3\\u10D8\\u10D0\\u10DE\\u10D0\\u10D6\\u10DD\\u10DC\\u10D8\",cidrv6:\"IPv6 \\u10D3\\u10D8\\u10D0\\u10DE\\u10D0\\u10D6\\u10DD\\u10DC\\u10D8\",base64:\"base64-\\u10D9\\u10DD\\u10D3\\u10D8\\u10E0\\u10D4\\u10D1\\u10E3\\u10DA\\u10D8 \\u10D5\\u10D4\\u10DA\\u10D8\",base64url:\"base64url-\\u10D9\\u10DD\\u10D3\\u10D8\\u10E0\\u10D4\\u10D1\\u10E3\\u10DA\\u10D8 \\u10D5\\u10D4\\u10DA\\u10D8\",json_string:\"JSON \\u10D5\\u10D4\\u10DA\\u10D8\",e164:\"E.164 \\u10DC\\u10DD\\u10DB\\u10D4\\u10E0\\u10D8\",credit_card:\"\\u10E1\\u10D0\\u10D9\\u10E0\\u10D4\\u10D3\\u10D8\\u10E2\\u10DD \\u10D1\\u10D0\\u10E0\\u10D0\\u10D7\\u10D8\\u10E1 \\u10DC\\u10DD\\u10DB\\u10D4\\u10E0\\u10D8\",currency_code:\"\\u10D5\\u10D0\\u10DA\\u10E3\\u10E2\\u10D8\\u10E1 \\u10D9\\u10DD\\u10D3\\u10D8\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0\"},o={nan:\"NaN\",number:\"\\u10E0\\u10D8\\u10EA\\u10EE\\u10D5\\u10D8\",string:\"\\u10D5\\u10D4\\u10DA\\u10D8\",boolean:\"\\u10D1\\u10E3\\u10DA\\u10D4\\u10D0\\u10DC\\u10D8\",function:\"\\u10E4\\u10E3\\u10DC\\u10E5\\u10EA\\u10D8\\u10D0\",array:\"\\u10DB\\u10D0\\u10E1\\u10D8\\u10D5\\u10D8\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 instanceof ${r.expected}, \\u10DB\\u10D8\\u10E6\\u10D4\\u10D1\\u10E3\\u10DA\\u10D8 ${s}`:`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${i}, \\u10DB\\u10D8\\u10E6\\u10D4\\u10D1\\u10E3\\u10DA\\u10D8 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${w(r.values[0])}`:`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10D5\\u10D0\\u10E0\\u10D8\\u10D0\\u10DC\\u10E2\\u10D8: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8\\u10D0 \\u10D4\\u10E0\\u10D7-\\u10D4\\u10E0\\u10D7\\u10D8 ${S(r.values,\"|\")}-\\u10D3\\u10D0\\u10DC`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u10D6\\u10D4\\u10D3\\u10DB\\u10D4\\u10E2\\u10D0\\u10D3 \\u10D3\\u10D8\\u10D3\\u10D8: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${r.origin??\"\\u10DB\\u10DC\\u10D8\\u10E8\\u10D5\\u10DC\\u10D4\\u10DA\\u10DD\\u10D1\\u10D0\"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit}`:`\\u10D6\\u10D4\\u10D3\\u10DB\\u10D4\\u10E2\\u10D0\\u10D3 \\u10D3\\u10D8\\u10D3\\u10D8: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${r.origin??\"\\u10DB\\u10DC\\u10D8\\u10E8\\u10D5\\u10DC\\u10D4\\u10DA\\u10DD\\u10D1\\u10D0\"} \\u10D8\\u10E7\\u10DD\\u10E1 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u10D6\\u10D4\\u10D3\\u10DB\\u10D4\\u10E2\\u10D0\\u10D3 \\u10DE\\u10D0\\u10E2\\u10D0\\u10E0\\u10D0: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`\\u10D6\\u10D4\\u10D3\\u10DB\\u10D4\\u10E2\\u10D0\\u10D3 \\u10DE\\u10D0\\u10E2\\u10D0\\u10E0\\u10D0: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${r.origin} \\u10D8\\u10E7\\u10DD\\u10E1 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10D5\\u10D4\\u10DA\\u10D8: \\u10E3\\u10DC\\u10D3\\u10D0 \\u10D8\\u10EC\\u10E7\\u10D4\\u10D1\\u10DD\\u10D3\\u10D4\\u10E1 \"${i.prefix}\"-\\u10D8\\u10D7`:i.format===\"ends_with\"?`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10D5\\u10D4\\u10DA\\u10D8: \\u10E3\\u10DC\\u10D3\\u10D0 \\u10DB\\u10D7\\u10D0\\u10D5\\u10E0\\u10D3\\u10D4\\u10D1\\u10DD\\u10D3\\u10D4\\u10E1 \"${i.suffix}\"-\\u10D8\\u10D7`:i.format===\"includes\"?`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10D5\\u10D4\\u10DA\\u10D8: \\u10E3\\u10DC\\u10D3\\u10D0 \\u10E8\\u10D4\\u10D8\\u10EA\\u10D0\\u10D5\\u10D3\\u10D4\\u10E1 \"${i.includes}\"-\\u10E1`:i.format===\"regex\"?`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10D5\\u10D4\\u10DA\\u10D8: \\u10E3\\u10DC\\u10D3\\u10D0 \\u10E8\\u10D4\\u10D4\\u10E1\\u10D0\\u10D1\\u10D0\\u10DB\\u10D4\\u10D1\\u10DD\\u10D3\\u10D4\\u10E1 \\u10E8\\u10D0\\u10D1\\u10DA\\u10DD\\u10DC\\u10E1 ${i.pattern}`:`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10E0\\u10D8\\u10EA\\u10EE\\u10D5\\u10D8: \\u10E3\\u10DC\\u10D3\\u10D0 \\u10D8\\u10E7\\u10DD\\u10E1 ${r.divisor}-\\u10D8\\u10E1 \\u10EF\\u10D4\\u10E0\\u10D0\\u10D3\\u10D8`;case\"unrecognized_keys\":return`\\u10E3\\u10EA\\u10DC\\u10DD\\u10D1\\u10D8 \\u10D2\\u10D0\\u10E1\\u10D0\\u10E6\\u10D4\\u10D1${r.keys.length>1?\"\\u10D4\\u10D1\\u10D8\":\"\\u10D8\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10D2\\u10D0\\u10E1\\u10D0\\u10E6\\u10D4\\u10D1\\u10D8 ${r.origin}-\\u10E8\\u10D8`;case\"invalid_union\":return\"\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0\";case\"invalid_element\":return`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10DB\\u10DC\\u10D8\\u10E8\\u10D5\\u10DC\\u10D4\\u10DA\\u10DD\\u10D1\\u10D0 ${r.origin}-\\u10E8\\u10D8`;default:return\"\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0\"}}};function U_(){return{localeError:Aw()}}var Uw=()=>{let e={string:{unit:\"\\u178F\\u17BD\\u17A2\\u1780\\u17D2\\u179F\\u179A\",verb:\"\\u1782\\u17BD\\u179A\\u1798\\u17B6\\u1793\"},file:{unit:\"\\u1794\\u17C3\",verb:\"\\u1782\\u17BD\\u179A\\u1798\\u17B6\\u1793\"},array:{unit:\"\\u1792\\u17B6\\u178F\\u17BB\",verb:\"\\u1782\\u17BD\\u179A\\u1798\\u17B6\\u1793\"},set:{unit:\"\\u1792\\u17B6\\u178F\\u17BB\",verb:\"\\u1782\\u17BD\\u179A\\u1798\\u17B6\\u1793\"},map:{unit:\"\\u1792\\u17B6\\u178F\\u17BB\",verb:\"\\u1782\\u17BD\\u179A\\u1798\\u17B6\\u1793\"}};function t(r){return e[r]??null}let n={regex:\"\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1794\\u1789\\u17D2\\u1785\\u17BC\\u179B\",email:\"\\u17A2\\u17B6\\u179F\\u1799\\u178A\\u17D2\\u178B\\u17B6\\u1793\\u17A2\\u17CA\\u17B8\\u1798\\u17C2\\u179B\",url:\"URL\",emoji:\"\\u179F\\u1789\\u17D2\\u1789\\u17B6\\u17A2\\u17B6\\u179A\\u1798\\u17D2\\u1798\\u178E\\u17CD\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u1780\\u17B6\\u179B\\u1794\\u179A\\u17B7\\u1785\\u17D2\\u1786\\u17C1\\u1791 \\u1793\\u17B7\\u1784\\u1798\\u17C9\\u17C4\\u1784 ISO\",date:\"\\u1780\\u17B6\\u179B\\u1794\\u179A\\u17B7\\u1785\\u17D2\\u1786\\u17C1\\u1791 ISO\",time:\"\\u1798\\u17C9\\u17C4\\u1784 ISO\",duration:\"\\u179A\\u1799\\u17C8\\u1796\\u17C1\\u179B ISO\",ipv4:\"\\u17A2\\u17B6\\u179F\\u1799\\u178A\\u17D2\\u178B\\u17B6\\u1793 IPv4\",ipv6:\"\\u17A2\\u17B6\\u179F\\u1799\\u178A\\u17D2\\u178B\\u17B6\\u1793 IPv6\",mac:\"\\u17A2\\u17B6\\u179F\\u1799\\u178A\\u17D2\\u178B\\u17B6\\u1793 MAC\",cidrv4:\"\\u178A\\u17C2\\u1793\\u17A2\\u17B6\\u179F\\u1799\\u178A\\u17D2\\u178B\\u17B6\\u1793 IPv4\",cidrv6:\"\\u178A\\u17C2\\u1793\\u17A2\\u17B6\\u179F\\u1799\\u178A\\u17D2\\u178B\\u17B6\\u1793 IPv6\",base64:\"\\u1781\\u17D2\\u179F\\u17C2\\u17A2\\u1780\\u17D2\\u179F\\u179A\\u17A2\\u17CA\\u17B7\\u1780\\u17BC\\u178A base64\",base64url:\"\\u1781\\u17D2\\u179F\\u17C2\\u17A2\\u1780\\u17D2\\u179F\\u179A\\u17A2\\u17CA\\u17B7\\u1780\\u17BC\\u178A base64url\",json_string:\"\\u1781\\u17D2\\u179F\\u17C2\\u17A2\\u1780\\u17D2\\u179F\\u179A JSON\",e164:\"\\u179B\\u17C1\\u1781 E.164\",credit_card:\"\\u179B\\u17C1\\u1781\\u1794\\u17D0\\u178E\\u17D2\\u178E\\u17A5\\u178E\\u1791\\u17B6\\u1793\",currency_code:\"\\u1780\\u17BC\\u178A\\u179A\\u17BC\\u1794\\u17B7\\u1799\\u1794\\u17D0\\u178E\\u17D2\\u178E\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1794\\u1789\\u17D2\\u1785\\u17BC\\u179B\"},o={nan:\"NaN\",number:\"\\u179B\\u17C1\\u1781\",array:\"\\u17A2\\u17B6\\u179A\\u17C1 (Array)\",null:\"\\u1782\\u17D2\\u1798\\u17B6\\u1793\\u178F\\u1798\\u17D2\\u179B\\u17C3 (null)\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1794\\u1789\\u17D2\\u1785\\u17BC\\u179B\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A instanceof ${r.expected} \\u1794\\u17C9\\u17BB\\u1793\\u17D2\\u178F\\u17C2\\u1791\\u1791\\u17BD\\u179B\\u1794\\u17B6\\u1793 ${s}`:`\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1794\\u1789\\u17D2\\u1785\\u17BC\\u179B\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${i} \\u1794\\u17C9\\u17BB\\u1793\\u17D2\\u178F\\u17C2\\u1791\\u1791\\u17BD\\u179B\\u1794\\u17B6\\u1793 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1794\\u1789\\u17D2\\u1785\\u17BC\\u179B\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${w(r.values[0])}`:`\\u1787\\u1798\\u17D2\\u179A\\u17BE\\u179F\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1787\\u17B6\\u1798\\u17BD\\u1799\\u1780\\u17D2\\u1793\\u17BB\\u1784\\u1785\\u17C6\\u178E\\u17C4\\u1798 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u1792\\u17C6\\u1796\\u17C1\\u1780\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${r.origin??\"\\u178F\\u1798\\u17D2\\u179B\\u17C3\"} ${i} ${r.maximum.toString()} ${a.unit??\"\\u1792\\u17B6\\u178F\\u17BB\"}`:`\\u1792\\u17C6\\u1796\\u17C1\\u1780\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${r.origin??\"\\u178F\\u1798\\u17D2\\u179B\\u17C3\"} ${i} ${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u178F\\u17BC\\u1785\\u1796\\u17C1\\u1780\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${r.origin} ${i} ${r.minimum.toString()} ${a.unit}`:`\\u178F\\u17BC\\u1785\\u1796\\u17C1\\u1780\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${r.origin} ${i} ${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u1781\\u17D2\\u179F\\u17C2\\u17A2\\u1780\\u17D2\\u179F\\u179A\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1785\\u17B6\\u1794\\u17CB\\u1795\\u17D2\\u178F\\u17BE\\u1798\\u178A\\u17C4\\u1799 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u1781\\u17D2\\u179F\\u17C2\\u17A2\\u1780\\u17D2\\u179F\\u179A\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1794\\u1789\\u17D2\\u1785\\u1794\\u17CB\\u178A\\u17C4\\u1799 \"${i.suffix}\"`:i.format===\"includes\"?`\\u1781\\u17D2\\u179F\\u17C2\\u17A2\\u1780\\u17D2\\u179F\\u179A\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1798\\u17B6\\u1793 \"${i.includes}\"`:i.format===\"regex\"?`\\u1781\\u17D2\\u179F\\u17C2\\u17A2\\u1780\\u17D2\\u179F\\u179A\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u178F\\u17C2\\u1795\\u17D2\\u1782\\u17BC\\u1795\\u17D2\\u1782\\u1784\\u1793\\u17B9\\u1784\\u1791\\u1798\\u17D2\\u179A\\u1784\\u17CB\\u178A\\u17C2\\u179B\\u1794\\u17B6\\u1793\\u1780\\u17C6\\u178E\\u178F\\u17CB ${i.pattern}`:`\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u179B\\u17C1\\u1781\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u178F\\u17C2\\u1787\\u17B6\\u1796\\u17A0\\u17BB\\u1782\\u17BB\\u178E\\u1793\\u17C3 ${r.divisor}`;case\"unrecognized_keys\":return`\\u179A\\u1780\\u1783\\u17BE\\u1789\\u179F\\u17C4\\u1798\\u17B7\\u1793\\u179F\\u17D2\\u1782\\u17B6\\u179B\\u17CB\\u17D6 ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u179F\\u17C4\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1793\\u17C5\\u1780\\u17D2\\u1793\\u17BB\\u1784 ${r.origin}`;case\"invalid_union\":return\"\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\";case\"invalid_element\":return`\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1793\\u17C5\\u1780\\u17D2\\u1793\\u17BB\\u1784 ${r.origin}`;default:return\"\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\"}}};function Pl(){return{localeError:Uw()}}function D_(){return Pl()}var Dw=()=>{let e={string:{unit:\"\\u0C85\\u0C95\\u0CCD\\u0CB7\\u0CB0\\u0C97\\u0CB3\\u0CC1\",verb:\"\\u0CB9\\u0CCA\\u0C82\\u0CA6\\u0CB2\\u0CC1\"},file:{unit:\"\\u0CAC\\u0CC8\\u0C9F\\u0CCD\\u200C\\u0C97\\u0CB3\\u0CC1\",verb:\"\\u0CB9\\u0CCA\\u0C82\\u0CA6\\u0CB2\\u0CC1\"},array:{unit:\"\\u0CB5\\u0CB8\\u0CCD\\u0CA4\\u0CC1\\u0C97\\u0CB3\\u0CC1\",verb:\"\\u0CB9\\u0CCA\\u0C82\\u0CA6\\u0CB2\\u0CC1\"},set:{unit:\"\\u0CB5\\u0CB8\\u0CCD\\u0CA4\\u0CC1\\u0C97\\u0CB3\\u0CC1\",verb:\"\\u0CB9\\u0CCA\\u0C82\\u0CA6\\u0CB2\\u0CC1\"},map:{unit:\"entries\",verb:\"\\u0CB9\\u0CCA\\u0C82\\u0CA6\\u0CB2\\u0CC1\"}};function t(r){return e[r]??null}let n={regex:\"\\u0C87\\u0CA8\\u0CCD\\u0CAA\\u0CC1\\u0C9F\\u0CCD\",email:\"email \\u0CB5\\u0CBF\\u0CB3\\u0CBE\\u0CB8\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0CA6\\u0CBF\\u0CA8\\u0CBE\\u0C82\\u0C95\\u0CA6 \\u0CB8\\u0CAE\\u0CAF\",date:\"ISO \\u0CA6\\u0CBF\\u0CA8\\u0CBE\\u0C82\\u0C95\",time:\"ISO \\u0CB8\\u0CAE\\u0CAF\",duration:\"ISO \\u0C85\\u0CB5\\u0CA7\\u0CBF\",ipv4:\"IPv4 \\u0CB5\\u0CBF\\u0CB3\\u0CBE\\u0CB8\",ipv6:\"IPv6 \\u0CB5\\u0CBF\\u0CB3\\u0CBE\\u0CB8\",mac:\"MAC \\u0CB5\\u0CBF\\u0CB3\\u0CBE\\u0CB8\",cidrv4:\"IPv4 \\u0CB5\\u0CCD\\u0CAF\\u0CBE\\u0CAA\\u0CCD\\u0CA4\\u0CBF\\u0CAF\",cidrv6:\"IPv6 \\u0CB5\\u0CCD\\u0CAF\\u0CBE\\u0CAA\\u0CCD\\u0CA4\\u0CBF\\u0CAF\",base64:\"base64-encoded\\u0CB8\\u0CCD\\u0C9F\\u0CCD\\u0CB0\\u0CBF\\u0C82\\u0C97\\u0CCD\",base64url:\"base64url-encoded\\u0CB8\\u0CCD\\u0C9F\\u0CCD\\u0CB0\\u0CBF\\u0C82\\u0C97\\u0CCD\",json_string:\"JSON\\u0CB8\\u0CCD\\u0C9F\\u0CCD\\u0CB0\\u0CBF\\u0C82\\u0C97\\u0CCD\",e164:\"E.164 \\u0CB8\\u0C82\\u0C96\\u0CCD\\u0CAF\\u0CC6\",credit_card:\"\\u0C95\\u0CCD\\u0CB0\\u0CC6\\u0CA1\\u0CBF\\u0C9F\\u0CCD \\u0C95\\u0CBE\\u0CB0\\u0CCD\\u0CA1\\u0CCD \\u0CB8\\u0C82\\u0C96\\u0CCD\\u0CAF\\u0CC6\",currency_code:\"\\u0C95\\u0CB0\\u0CC6\\u0CA8\\u0CCD\\u0CB8\\u0CBF \\u0C95\\u0CCB\\u0CA1\\u0CCD\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0C87\\u0CA8\\u0CCD\\u0CAA\\u0CC1\\u0C9F\\u0CCD\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0C87\\u0CA8\\u0CCD\\u200C\\u0CAA\\u0CC1\\u0C9F\\u0CCD: \\u0CA8\\u0CBF\\u0CB0\\u0CC0\\u0C95\\u0CCD\\u0CB7\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CBF\\u0CA6\\u0CC6 ${i}, \\u0CB8\\u0CCD\\u0CB5\\u0CC0\\u0C95\\u0CB0\\u0CBF\\u0CB8\\u0CBF\\u0CA6\\u0CA8\\u0CC1 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0C87\\u0CA8\\u0CCD\\u200C\\u0CAA\\u0CC1\\u0C9F\\u0CCD: \\u0CA8\\u0CBF\\u0CB0\\u0CC0\\u0C95\\u0CCD\\u0CB7\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CBF\\u0CA6\\u0CC6 ${w(r.values[0])}`:`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0C86\\u0CAF\\u0CCD\\u0C95\\u0CC6: \\u0C87\\u0CB5\\u0CC1\\u0C97\\u0CB3\\u0CB2\\u0CCD\\u0CB2\\u0CBF \\u0C92\\u0C82\\u0CA6\\u0CA8\\u0CCD\\u0CA8\\u0CC1 \\u0CA8\\u0CBF\\u0CB0\\u0CC0\\u0C95\\u0CCD\\u0CB7\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CBF\\u0CA6\\u0CC6 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0CA4\\u0CC1\\u0C82\\u0CAC\\u0CBE \\u0CA6\\u0CCA\\u0CA1\\u0CCD\\u0CA1\\u0CA6\\u0CC1: \\u0CA8\\u0CBF\\u0CB0\\u0CC0\\u0C95\\u0CCD\\u0CB7\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CBF\\u0CA6\\u0CC6 ${r.origin??\"value\"} \\u0CB9\\u0CCA\\u0C82\\u0CA6\\u0CB2\\u0CC1 ${i}${r.maximum.toString()} ${a.unit??\"\\u0C85\\u0C82\\u0CB6\\u0C97\\u0CB3\\u0CC1\"}`:`\\u0CA4\\u0CC1\\u0C82\\u0CAC\\u0CBE \\u0CA6\\u0CCA\\u0CA1\\u0CCD\\u0CA1\\u0CA6\\u0CC1: \\u0CA8\\u0CBF\\u0CB0\\u0CC0\\u0C95\\u0CCD\\u0CB7\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CBF\\u0CA6\\u0CC6 ${r.origin??\"value\"} \\u0C8E\\u0C82\\u0CA6\\u0CC1 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0CA4\\u0CC1\\u0C82\\u0CAC\\u0CBE \\u0C9A\\u0CBF\\u0C95\\u0CCD\\u0C95\\u0CA6\\u0CC1: \\u0CA8\\u0CBF\\u0CB0\\u0CC0\\u0C95\\u0CCD\\u0CB7\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CBF\\u0CA6\\u0CC6 ${r.origin} \\u0CB9\\u0CCA\\u0C82\\u0CA6\\u0CB2\\u0CC1 ${i}${r.minimum.toString()} ${a.unit}`:`\\u0CA4\\u0CC1\\u0C82\\u0CAC\\u0CBE \\u0C9A\\u0CBF\\u0C95\\u0CCD\\u0C95\\u0CA6\\u0CC1: \\u0CA8\\u0CBF\\u0CB0\\u0CC0\\u0C95\\u0CCD\\u0CB7\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CBF\\u0CA6\\u0CC6 ${r.origin} \\u0C8E\\u0C82\\u0CA6\\u0CC1 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF\\u0CB5\\u0CBE\\u0CA6 \\u0CB8\\u0CCD\\u0C9F\\u0CCD\\u0CB0\\u0CBF\\u0C82\\u0C97\\u0CCD: \\u0C87\\u0CA6\\u0CB0\\u0CCA\\u0C82\\u0CA6\\u0CBF\\u0C97\\u0CC6 \\u0CAA\\u0CCD\\u0CB0\\u0CBE\\u0CB0\\u0C82\\u0CAD\\u0CBF\\u0CB8\\u0CAC\\u0CC7\\u0C95\\u0CC1 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF\\u0CB5\\u0CBE\\u0CA6 \\u0CB8\\u0CCD\\u0C9F\\u0CCD\\u0CB0\\u0CBF\\u0C82\\u0C97\\u0CCD: \\u0C87\\u0CA6\\u0CB0\\u0CCA\\u0C82\\u0CA6\\u0CBF\\u0C97\\u0CC6 \\u0C95\\u0CCA\\u0CA8\\u0CC6\\u0C97\\u0CCA\\u0CB3\\u0CCD\\u0CB3\\u0CAC\\u0CC7\\u0C95\\u0CC1 \"${i.suffix}\"`:i.format===\"includes\"?`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0CB8\\u0CCD\\u0C9F\\u0CCD\\u0CB0\\u0CBF\\u0C82\\u0C97\\u0CCD: \\u0C92\\u0CB3\\u0C97\\u0CCA\\u0C82\\u0CA1\\u0CBF\\u0CB0\\u0CAC\\u0CC7\\u0C95\\u0CC1 \"${i.includes}\"`:i.format===\"regex\"?`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF\\u0CB5\\u0CBE\\u0CA6 \\u0CB8\\u0CCD\\u0C9F\\u0CCD\\u0CB0\\u0CBF\\u0C82\\u0C97\\u0CCD: \\u0CAE\\u0CBE\\u0CA6\\u0CB0\\u0CBF\\u0C97\\u0CC6 \\u0CB9\\u0CCA\\u0C82\\u0CA6\\u0CBF\\u0C95\\u0CC6\\u0CAF\\u0CBE\\u0C97\\u0CAC\\u0CC7\\u0C95\\u0CC1 ${i.pattern}`:`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0CB8\\u0C82\\u0C96\\u0CCD\\u0CAF\\u0CC6: \\u0CAC\\u0CB9\\u0CC1\\u0CB8\\u0C82\\u0C96\\u0CCD\\u0CAF\\u0CC6\\u0CAF\\u0CBE\\u0C97\\u0CBF\\u0CB0\\u0CAC\\u0CC7\\u0C95\\u0CC1 ${r.divisor}`;case\"unrecognized_keys\":return`\\u0C97\\u0CC1\\u0CB0\\u0CC1\\u0CA4\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CA6 \\u0C95\\u0CC0 ${r.keys.length>1?\"s\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF\\u0CB5\\u0CBE\\u0CA6 \\u0C95\\u0CC0 \\u0C87\\u0CA8\\u0CCD ${r.origin}`;case\"invalid_union\":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0CA4\\u0CBE\\u0CB0\\u0CA4\\u0CAE\\u0CCD\\u0CAF \\u0CAE\\u0CCC\\u0CB2\\u0CCD\\u0CAF. \\u0CA8\\u0CBF\\u0CB0\\u0CC0\\u0C95\\u0CCD\\u0CB7\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CBF\\u0CA6\\u0CC6 ${r.options.map(a=>`'${a}'`).join(\" | \")}`:\"\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0C87\\u0CA8\\u0CCD\\u200C\\u0CAA\\u0CC1\\u0C9F\\u0CCD\";case\"invalid_element\":return`\\u0CB0\\u0CB2\\u0CCD\\u0CB2\\u0CBF \\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0CAE\\u0CCC\\u0CB2\\u0CCD\\u0CAF ${r.origin}`;default:return\"\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0C87\\u0CA8\\u0CCD\\u200C\\u0CAA\\u0CC1\\u0C9F\\u0CCD\"}}};function M_(){return{localeError:Dw()}}var Mw=()=>{let e={string:{unit:\"\\uBB38\\uC790\",verb:\"to have\"},file:{unit:\"\\uBC14\\uC774\\uD2B8\",verb:\"to have\"},array:{unit:\"\\uAC1C\",verb:\"to have\"},set:{unit:\"\\uAC1C\",verb:\"to have\"},map:{unit:\"\\uAC1C\",verb:\"to have\"}};function t(r){return e[r]??null}let n={regex:\"\\uC785\\uB825\",email:\"\\uC774\\uBA54\\uC77C \\uC8FC\\uC18C\",url:\"URL\",emoji:\"\\uC774\\uBAA8\\uC9C0\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\uB0A0\\uC9DC\\uC2DC\\uAC04\",date:\"ISO \\uB0A0\\uC9DC\",time:\"ISO \\uC2DC\\uAC04\",duration:\"ISO \\uAE30\\uAC04\",ipv4:\"IPv4 \\uC8FC\\uC18C\",ipv6:\"IPv6 \\uC8FC\\uC18C\",mac:\"MAC \\uC8FC\\uC18C\",cidrv4:\"IPv4 \\uBC94\\uC704\",cidrv6:\"IPv6 \\uBC94\\uC704\",base64:\"base64 \\uC778\\uCF54\\uB529 \\uBB38\\uC790\\uC5F4\",base64url:\"base64url \\uC778\\uCF54\\uB529 \\uBB38\\uC790\\uC5F4\",json_string:\"JSON \\uBB38\\uC790\\uC5F4\",e164:\"E.164 \\uBC88\\uD638\",credit_card:\"\\uC2E0\\uC6A9\\uCE74\\uB4DC \\uBC88\\uD638\",currency_code:\"\\uD1B5\\uD654 \\uCF54\\uB4DC\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\uC785\\uB825\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\uC798\\uBABB\\uB41C \\uC785\\uB825: \\uC608\\uC0C1 \\uD0C0\\uC785\\uC740 instanceof ${r.expected}, \\uBC1B\\uC740 \\uD0C0\\uC785\\uC740 ${s}\\uC785\\uB2C8\\uB2E4`:`\\uC798\\uBABB\\uB41C \\uC785\\uB825: \\uC608\\uC0C1 \\uD0C0\\uC785\\uC740 ${i}, \\uBC1B\\uC740 \\uD0C0\\uC785\\uC740 ${s}\\uC785\\uB2C8\\uB2E4`}case\"invalid_value\":return r.values.length===1?`\\uC798\\uBABB\\uB41C \\uC785\\uB825: \\uAC12\\uC740 ${w(r.values[0])} \\uC774\\uC5B4\\uC57C \\uD569\\uB2C8\\uB2E4`:`\\uC798\\uBABB\\uB41C \\uC635\\uC158: ${S(r.values,\"\\uB610\\uB294 \")} \\uC911 \\uD558\\uB098\\uC5EC\\uC57C \\uD569\\uB2C8\\uB2E4`;case\"too_big\":{let i=r.inclusive?\"\\uC774\\uD558\":\"\\uBBF8\\uB9CC\",a=i===\"\\uBBF8\\uB9CC\"?\"\\uC774\\uC5B4\\uC57C \\uD569\\uB2C8\\uB2E4\":\"\\uC5EC\\uC57C \\uD569\\uB2C8\\uB2E4\",s=t(r.origin),c=s?.unit??\"\\uC694\\uC18C\";return s?`${r.origin??\"\\uAC12\"}\\uC774 \\uB108\\uBB34 \\uD07D\\uB2C8\\uB2E4: ${r.maximum.toString()}${c} ${i}${a}`:`${r.origin??\"\\uAC12\"}\\uC774 \\uB108\\uBB34 \\uD07D\\uB2C8\\uB2E4: ${r.maximum.toString()} ${i}${a}`}case\"too_small\":{let i=r.inclusive?\"\\uC774\\uC0C1\":\"\\uCD08\\uACFC\",a=i===\"\\uC774\\uC0C1\"?\"\\uC774\\uC5B4\\uC57C \\uD569\\uB2C8\\uB2E4\":\"\\uC5EC\\uC57C \\uD569\\uB2C8\\uB2E4\",s=t(r.origin),c=s?.unit??\"\\uC694\\uC18C\";return s?`${r.origin??\"\\uAC12\"}\\uC774 \\uB108\\uBB34 \\uC791\\uC2B5\\uB2C8\\uB2E4: ${r.minimum.toString()}${c} ${i}${a}`:`${r.origin??\"\\uAC12\"}\\uC774 \\uB108\\uBB34 \\uC791\\uC2B5\\uB2C8\\uB2E4: ${r.minimum.toString()} ${i}${a}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\uC798\\uBABB\\uB41C \\uBB38\\uC790\\uC5F4: \"${i.prefix}\"(\\uC73C)\\uB85C \\uC2DC\\uC791\\uD574\\uC57C \\uD569\\uB2C8\\uB2E4`:i.format===\"ends_with\"?`\\uC798\\uBABB\\uB41C \\uBB38\\uC790\\uC5F4: \"${i.suffix}\"(\\uC73C)\\uB85C \\uB05D\\uB098\\uC57C \\uD569\\uB2C8\\uB2E4`:i.format===\"includes\"?`\\uC798\\uBABB\\uB41C \\uBB38\\uC790\\uC5F4: \"${i.includes}\"\\uC744(\\uB97C) \\uD3EC\\uD568\\uD574\\uC57C \\uD569\\uB2C8\\uB2E4`:i.format===\"regex\"?`\\uC798\\uBABB\\uB41C \\uBB38\\uC790\\uC5F4: \\uC815\\uADDC\\uC2DD ${i.pattern} \\uD328\\uD134\\uACFC \\uC77C\\uCE58\\uD574\\uC57C \\uD569\\uB2C8\\uB2E4`:`\\uC798\\uBABB\\uB41C ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\uC798\\uBABB\\uB41C \\uC22B\\uC790: ${r.divisor}\\uC758 \\uBC30\\uC218\\uC5EC\\uC57C \\uD569\\uB2C8\\uB2E4`;case\"unrecognized_keys\":return`\\uC778\\uC2DD\\uD560 \\uC218 \\uC5C6\\uB294 \\uD0A4: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\uC798\\uBABB\\uB41C \\uD0A4: ${r.origin}`;case\"invalid_union\":return\"\\uC798\\uBABB\\uB41C \\uC785\\uB825\";case\"invalid_element\":return`\\uC798\\uBABB\\uB41C \\uAC12: ${r.origin}`;default:return\"\\uC798\\uBABB\\uB41C \\uC785\\uB825\"}}};function q_(){return{localeError:Mw()}}var ea=e=>e.charAt(0).toUpperCase()+e.slice(1);function L_(e){let t=Math.abs(e),n=t%10,o=t%100;return o>=11&&o<=19||n===0?\"many\":n===1?\"one\":\"few\"}var qw=()=>{let e={string:{unit:{one:\"simbolis\",few:\"simboliai\",many:\"simboli\\u0173\"},verb:{smaller:{inclusive:\"turi b\\u016Bti ne ilgesn\\u0117 kaip\",notInclusive:\"turi b\\u016Bti trumpesn\\u0117 kaip\"},bigger:{inclusive:\"turi b\\u016Bti ne trumpesn\\u0117 kaip\",notInclusive:\"turi b\\u016Bti ilgesn\\u0117 kaip\"}}},file:{unit:{one:\"baitas\",few:\"baitai\",many:\"bait\\u0173\"},verb:{smaller:{inclusive:\"turi b\\u016Bti ne didesnis kaip\",notInclusive:\"turi b\\u016Bti ma\\u017Eesnis kaip\"},bigger:{inclusive:\"turi b\\u016Bti ne ma\\u017Eesnis kaip\",notInclusive:\"turi b\\u016Bti didesnis kaip\"}}},array:{unit:{one:\"element\\u0105\",few:\"elementus\",many:\"element\\u0173\"},verb:{smaller:{inclusive:\"turi tur\\u0117ti ne daugiau kaip\",notInclusive:\"turi tur\\u0117ti ma\\u017Eiau kaip\"},bigger:{inclusive:\"turi tur\\u0117ti ne ma\\u017Eiau kaip\",notInclusive:\"turi tur\\u0117ti daugiau kaip\"}}},set:{unit:{one:\"element\\u0105\",few:\"elementus\",many:\"element\\u0173\"},verb:{smaller:{inclusive:\"turi tur\\u0117ti ne daugiau kaip\",notInclusive:\"turi tur\\u0117ti ma\\u017Eiau kaip\"},bigger:{inclusive:\"turi tur\\u0117ti ne ma\\u017Eiau kaip\",notInclusive:\"turi tur\\u0117ti daugiau kaip\"}}}};function t(r,i,a,s){let c=e[r]??null;return c===null?c:{unit:c.unit[i],verb:c.verb[s][a?\"inclusive\":\"notInclusive\"]}}let n={regex:\"\\u012Fvestis\",email:\"el. pa\\u0161to adresas\",url:\"URL\",emoji:\"jaustukas\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO data ir laikas\",date:\"ISO data\",time:\"ISO laikas\",duration:\"ISO trukm\\u0117\",ipv4:\"IPv4 adresas\",ipv6:\"IPv6 adresas\",mac:\"MAC adresas\",cidrv4:\"IPv4 tinklo prefiksas (CIDR)\",cidrv6:\"IPv6 tinklo prefiksas (CIDR)\",base64:\"base64 u\\u017Ekoduota eilut\\u0117\",base64url:\"base64url u\\u017Ekoduota eilut\\u0117\",json_string:\"JSON eilut\\u0117\",e164:\"E.164 numeris\",credit_card:\"kredito kortel\\u0117s numeris\",currency_code:\"valiutos kodas\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u012Fvestis\"},o={nan:\"NaN\",number:\"skai\\u010Dius\",bigint:\"sveikasis skai\\u010Dius\",string:\"eilut\\u0117\",boolean:\"login\\u0117 reik\\u0161m\\u0117\",undefined:\"neapibr\\u0117\\u017Eta reik\\u0161m\\u0117\",function:\"funkcija\",symbol:\"simbolis\",array:\"masyvas\",object:\"objektas\",null:\"nulin\\u0117 reik\\u0161m\\u0117\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Gautas tipas ${s}, o tik\\u0117tasi - instanceof ${r.expected}`:`Gautas tipas ${s}, o tik\\u0117tasi - ${i}`}case\"invalid_value\":return r.values.length===1?`Privalo b\\u016Bti ${w(r.values[0])}`:`Privalo b\\u016Bti vienas i\\u0161 ${S(r.values,\"|\")} pasirinkim\\u0173`;case\"too_big\":{let i=o[r.origin]??r.origin,a=t(r.origin,L_(Number(r.maximum)),r.inclusive??!1,\"smaller\");if(a?.verb)return`${ea(i??r.origin??\"reik\\u0161m\\u0117\")} ${a.verb} ${r.maximum.toString()} ${a.unit??\"element\\u0173\"}`;let s=r.inclusive?\"ne didesnis kaip\":\"ma\\u017Eesnis kaip\";return`${ea(i??r.origin??\"reik\\u0161m\\u0117\")} turi b\\u016Bti ${s} ${r.maximum.toString()} ${a?.unit}`}case\"too_small\":{let i=o[r.origin]??r.origin,a=t(r.origin,L_(Number(r.minimum)),r.inclusive??!1,\"bigger\");if(a?.verb)return`${ea(i??r.origin??\"reik\\u0161m\\u0117\")} ${a.verb} ${r.minimum.toString()} ${a.unit??\"element\\u0173\"}`;let s=r.inclusive?\"ne ma\\u017Eesnis kaip\":\"didesnis kaip\";return`${ea(i??r.origin??\"reik\\u0161m\\u0117\")} turi b\\u016Bti ${s} ${r.minimum.toString()} ${a?.unit}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Eilut\\u0117 privalo prasid\\u0117ti \"${i.prefix}\"`:i.format===\"ends_with\"?`Eilut\\u0117 privalo pasibaigti \"${i.suffix}\"`:i.format===\"includes\"?`Eilut\\u0117 privalo \\u012Ftraukti \"${i.includes}\"`:i.format===\"regex\"?`Eilut\\u0117 privalo atitikti ${i.pattern}`:`Neteisingas ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Skai\\u010Dius privalo b\\u016Bti ${r.divisor} kartotinis.`;case\"unrecognized_keys\":return`Neatpa\\u017Eint${r.keys.length>1?\"i\":\"as\"} rakt${r.keys.length>1?\"ai\":\"as\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return\"Rastas klaidingas raktas\";case\"invalid_union\":return\"Klaidinga \\u012Fvestis\";case\"invalid_element\":{let i=o[r.origin]??r.origin;return`${ea(i??r.origin??\"reik\\u0161m\\u0117\")} turi klaiding\\u0105 \\u012Fvest\\u012F`}default:return\"Klaidinga \\u012Fvestis\"}}};function V_(){return{localeError:qw()}}var Lw=()=>{let e={string:{unit:\"\\u0437\\u043D\\u0430\\u0446\\u0438\",verb:\"\\u0434\\u0430 \\u0438\\u043C\\u0430\\u0430\\u0442\"},file:{unit:\"\\u0431\\u0430\\u0458\\u0442\\u0438\",verb:\"\\u0434\\u0430 \\u0438\\u043C\\u0430\\u0430\\u0442\"},array:{unit:\"\\u0441\\u0442\\u0430\\u0432\\u043A\\u0438\",verb:\"\\u0434\\u0430 \\u0438\\u043C\\u0430\\u0430\\u0442\"},set:{unit:\"\\u0441\\u0442\\u0430\\u0432\\u043A\\u0438\",verb:\"\\u0434\\u0430 \\u0438\\u043C\\u0430\\u0430\\u0442\"},map:{unit:\"\\u0441\\u0442\\u0430\\u0432\\u043A\\u0438\",verb:\"\\u0434\\u0430 \\u0438\\u043C\\u0430\\u0430\\u0442\"}};function t(r){return e[r]??null}let n={regex:\"\\u0432\\u043D\\u0435\\u0441\",email:\"\\u0430\\u0434\\u0440\\u0435\\u0441\\u0430 \\u043D\\u0430 \\u0435-\\u043F\\u043E\\u0448\\u0442\\u0430\",url:\"URL\",emoji:\"\\u0435\\u043C\\u043E\\u045F\\u0438\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0434\\u0430\\u0442\\u0443\\u043C \\u0438 \\u0432\\u0440\\u0435\\u043C\\u0435\",date:\"ISO \\u0434\\u0430\\u0442\\u0443\\u043C\",time:\"ISO \\u0432\\u0440\\u0435\\u043C\\u0435\",duration:\"ISO \\u0432\\u0440\\u0435\\u043C\\u0435\\u0442\\u0440\\u0430\\u0435\\u045A\\u0435\",ipv4:\"IPv4 \\u0430\\u0434\\u0440\\u0435\\u0441\\u0430\",ipv6:\"IPv6 \\u0430\\u0434\\u0440\\u0435\\u0441\\u0430\",mac:\"MAC \\u0430\\u0434\\u0440\\u0435\\u0441\\u0430\",cidrv4:\"IPv4 \\u043E\\u043F\\u0441\\u0435\\u0433\",cidrv6:\"IPv6 \\u043E\\u043F\\u0441\\u0435\\u0433\",base64:\"base64-\\u0435\\u043D\\u043A\\u043E\\u0434\\u0438\\u0440\\u0430\\u043D\\u0430 \\u043D\\u0438\\u0437\\u0430\",base64url:\"base64url-\\u0435\\u043D\\u043A\\u043E\\u0434\\u0438\\u0440\\u0430\\u043D\\u0430 \\u043D\\u0438\\u0437\\u0430\",json_string:\"JSON \\u043D\\u0438\\u0437\\u0430\",e164:\"E.164 \\u0431\\u0440\\u043E\\u0458\",credit_card:\"\\u0431\\u0440\\u043E\\u0458 \\u043D\\u0430 \\u043A\\u0440\\u0435\\u0434\\u0438\\u0442\\u043D\\u0430 \\u043A\\u0430\\u0440\\u0442\\u0438\\u0447\\u043A\\u0430\",currency_code:\"\\u043A\\u043E\\u0434 \\u043D\\u0430 \\u0432\\u0430\\u043B\\u0443\\u0442\\u0430\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0432\\u043D\\u0435\\u0441\"},o={nan:\"NaN\",number:\"\\u0431\\u0440\\u043E\\u0458\",array:\"\\u043D\\u0438\\u0437\\u0430\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u0413\\u0440\\u0435\\u0448\\u0435\\u043D \\u0432\\u043D\\u0435\\u0441: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 instanceof ${r.expected}, \\u043F\\u0440\\u0438\\u043C\\u0435\\u043D\\u043E ${s}`:`\\u0413\\u0440\\u0435\\u0448\\u0435\\u043D \\u0432\\u043D\\u0435\\u0441: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 ${i}, \\u043F\\u0440\\u0438\\u043C\\u0435\\u043D\\u043E ${s}`}case\"invalid_value\":return r.values.length===1?`Invalid input: expected ${w(r.values[0])}`:`\\u0413\\u0440\\u0435\\u0448\\u0430\\u043D\\u0430 \\u043E\\u043F\\u0446\\u0438\\u0458\\u0430: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 \\u0435\\u0434\\u043D\\u0430 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u041F\\u0440\\u0435\\u043C\\u043D\\u043E\\u0433\\u0443 \\u0433\\u043E\\u043B\\u0435\\u043C: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 ${r.origin??\"\\u0432\\u0440\\u0435\\u0434\\u043D\\u043E\\u0441\\u0442\\u0430\"} \\u0434\\u0430 \\u0438\\u043C\\u0430 ${i}${r.maximum.toString()} ${a.unit??\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0438\"}`:`\\u041F\\u0440\\u0435\\u043C\\u043D\\u043E\\u0433\\u0443 \\u0433\\u043E\\u043B\\u0435\\u043C: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 ${r.origin??\"\\u0432\\u0440\\u0435\\u0434\\u043D\\u043E\\u0441\\u0442\\u0430\"} \\u0434\\u0430 \\u0431\\u0438\\u0434\\u0435 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u041F\\u0440\\u0435\\u043C\\u043D\\u043E\\u0433\\u0443 \\u043C\\u0430\\u043B: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 ${r.origin} \\u0434\\u0430 \\u0438\\u043C\\u0430 ${i}${r.minimum.toString()} ${a.unit}`:`\\u041F\\u0440\\u0435\\u043C\\u043D\\u043E\\u0433\\u0443 \\u043C\\u0430\\u043B: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 ${r.origin} \\u0434\\u0430 \\u0431\\u0438\\u0434\\u0435 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u041D\\u0435\\u0432\\u0430\\u0436\\u0435\\u0447\\u043A\\u0430 \\u043D\\u0438\\u0437\\u0430: \\u043C\\u043E\\u0440\\u0430 \\u0434\\u0430 \\u0437\\u0430\\u043F\\u043E\\u0447\\u043D\\u0443\\u0432\\u0430 \\u0441\\u043E \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u041D\\u0435\\u0432\\u0430\\u0436\\u0435\\u0447\\u043A\\u0430 \\u043D\\u0438\\u0437\\u0430: \\u043C\\u043E\\u0440\\u0430 \\u0434\\u0430 \\u0437\\u0430\\u0432\\u0440\\u0448\\u0443\\u0432\\u0430 \\u0441\\u043E \"${i.suffix}\"`:i.format===\"includes\"?`\\u041D\\u0435\\u0432\\u0430\\u0436\\u0435\\u0447\\u043A\\u0430 \\u043D\\u0438\\u0437\\u0430: \\u043C\\u043E\\u0440\\u0430 \\u0434\\u0430 \\u0432\\u043A\\u043B\\u0443\\u0447\\u0443\\u0432\\u0430 \"${i.includes}\"`:i.format===\"regex\"?`\\u041D\\u0435\\u0432\\u0430\\u0436\\u0435\\u0447\\u043A\\u0430 \\u043D\\u0438\\u0437\\u0430: \\u043C\\u043E\\u0440\\u0430 \\u0434\\u0430 \\u043E\\u0434\\u0433\\u043E\\u0430\\u0440\\u0430 \\u043D\\u0430 \\u043F\\u0430\\u0442\\u0435\\u0440\\u043D\\u043E\\u0442 ${i.pattern}`:`Invalid ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u0413\\u0440\\u0435\\u0448\\u0435\\u043D \\u0431\\u0440\\u043E\\u0458: \\u043C\\u043E\\u0440\\u0430 \\u0434\\u0430 \\u0431\\u0438\\u0434\\u0435 \\u0434\\u0435\\u043B\\u0438\\u0432 \\u0441\\u043E ${r.divisor}`;case\"unrecognized_keys\":return`${r.keys.length>1?\"\\u041D\\u0435\\u043F\\u0440\\u0435\\u043F\\u043E\\u0437\\u043D\\u0430\\u0435\\u043D\\u0438 \\u043A\\u043B\\u0443\\u0447\\u0435\\u0432\\u0438\":\"\\u041D\\u0435\\u043F\\u0440\\u0435\\u043F\\u043E\\u0437\\u043D\\u0430\\u0435\\u043D \\u043A\\u043B\\u0443\\u0447\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u0413\\u0440\\u0435\\u0448\\u0435\\u043D \\u043A\\u043B\\u0443\\u0447 \\u0432\\u043E ${r.origin}`;case\"invalid_union\":return\"\\u0413\\u0440\\u0435\\u0448\\u0435\\u043D \\u0432\\u043D\\u0435\\u0441\";case\"invalid_element\":return`\\u0413\\u0440\\u0435\\u0448\\u043D\\u0430 \\u0432\\u0440\\u0435\\u0434\\u043D\\u043E\\u0441\\u0442 \\u0432\\u043E ${r.origin}`;default:return\"\\u0413\\u0440\\u0435\\u0448\\u0435\\u043D \\u0432\\u043D\\u0435\\u0441\"}}};function Z_(){return{localeError:Lw()}}var Vw=()=>{let e={string:{unit:\"aksara\",verb:\"mempunyai\"},file:{unit:\"bait\",verb:\"mempunyai\"},array:{unit:\"elemen\",verb:\"mempunyai\"},set:{unit:\"elemen\",verb:\"mempunyai\"},map:{unit:\"elemen\",verb:\"mempunyai\"}};function t(r){return e[r]??null}let n={regex:\"input\",email:\"alamat e-mel\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"tarikh masa ISO\",date:\"tarikh ISO\",time:\"masa ISO\",duration:\"tempoh ISO\",ipv4:\"alamat IPv4\",ipv6:\"alamat IPv6\",mac:\"alamat MAC\",cidrv4:\"julat IPv4\",cidrv6:\"julat IPv6\",base64:\"string dikodkan base64\",base64url:\"string dikodkan base64url\",json_string:\"string JSON\",e164:\"nombor E.164\",credit_card:\"nombor kad kredit\",currency_code:\"kod mata wang\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\",number:\"nombor\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Input tidak sah: dijangka instanceof ${r.expected}, diterima ${s}`:`Input tidak sah: dijangka ${i}, diterima ${s}`}case\"invalid_value\":return r.values.length===1?`Input tidak sah: dijangka ${w(r.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Terlalu besar: dijangka ${r.origin??\"nilai\"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit??\"elemen\"}`:`Terlalu besar: dijangka ${r.origin??\"nilai\"} adalah ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Terlalu kecil: dijangka ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`Terlalu kecil: dijangka ${r.origin} adalah ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`String tidak sah: mesti bermula dengan \"${i.prefix}\"`:i.format===\"ends_with\"?`String tidak sah: mesti berakhir dengan \"${i.suffix}\"`:i.format===\"includes\"?`String tidak sah: mesti mengandungi \"${i.includes}\"`:i.format===\"regex\"?`String tidak sah: mesti sepadan dengan corak ${i.pattern}`:`${n[i.format]??r.format} tidak sah`}case\"not_multiple_of\":return`Nombor tidak sah: perlu gandaan ${r.divisor}`;case\"unrecognized_keys\":return`Kunci tidak dikenali: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Kunci tidak sah dalam ${r.origin}`;case\"invalid_union\":return\"Input tidak sah\";case\"invalid_element\":return`Nilai tidak sah dalam ${r.origin}`;default:return\"Input tidak sah\"}}};function F_(){return{localeError:Vw()}}var Zw=()=>{let e={string:{unit:\"\\u0905\\u0915\\u094D\\u0937\\u0930\",verb:\"\\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B\"},file:{unit:\"\\u092C\\u093E\\u0907\\u091F\",verb:\"\\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B\"},array:{unit:\"\\u0924\\u0924\\u094D\\u0935\",verb:\"\\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B\"},set:{unit:\"\\u0924\\u0924\\u094D\\u0935\",verb:\"\\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B\"},map:{unit:\"\\u092A\\u094D\\u0930\\u0935\\u093F\\u0937\\u094D\\u091F\\u093F\",verb:\"\\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B\"}};function t(r){return e[r]??null}let n={regex:\"\\u0907\\u0928\\u092A\\u0941\\u091F\",email:\"\\u0907\\u092E\\u0947\\u0932 \\u0920\\u0947\\u0917\\u093E\\u0928\\u093E\",url:\"URL\",emoji:\"\\u0907\\u092E\\u094B\\u091C\\u0940\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u092E\\u093F\\u0924\\u093F \\u0930 \\u0938\\u092E\\u092F\",date:\"ISO \\u092E\\u093F\\u0924\\u093F\",time:\"ISO \\u0938\\u092E\\u092F\",duration:\"ISO \\u0905\\u0935\\u0927\\u093F\",ipv4:\"IPv4 \\u0920\\u0947\\u0917\\u093E\\u0928\\u093E\",ipv6:\"IPv6 \\u0920\\u0947\\u0917\\u093E\\u0928\\u093E\",mac:\"MAC \\u0920\\u0947\\u0917\\u093E\\u0928\\u093E\",cidrv4:\"IPv4 \\u0926\\u093E\\u092F\\u0930\\u093E\",cidrv6:\"IPv6 \\u0926\\u093E\\u092F\\u0930\\u093E\",base64:\"base64-\\u0907\\u0928\\u094D\\u0915\\u094B\\u0921 \\u0917\\u0930\\u093F\\u090F\\u0915\\u094B \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0919\",base64url:\"base64url-\\u0907\\u0928\\u094D\\u0915\\u094B\\u0921 \\u0917\\u0930\\u093F\\u090F\\u0915\\u094B \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0919\",json_string:\"JSON \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0919\",e164:\"E.164 \\u0928\\u092E\\u094D\\u092C\\u0930\",credit_card:\"\\u0915\\u094D\\u0930\\u0947\\u0921\\u093F\\u091F \\u0915\\u093E\\u0930\\u094D\\u0921 \\u0928\\u092E\\u094D\\u092C\\u0930\",currency_code:\"\\u092E\\u0941\\u0926\\u094D\\u0930\\u093E \\u0915\\u094B\\u0921\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0907\\u0928\\u092A\\u0941\\u091F\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0907\\u0928\\u092A\\u0941\\u091F: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 ${i}, \\u092A\\u094D\\u0930\\u093E\\u092A\\u094D\\u0924 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0907\\u0928\\u092A\\u0941\\u091F: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 ${w(r.values[0])}`:`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0935\\u093F\\u0915\\u0932\\u094D\\u092A: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 \\u092E\\u093E\\u0928\\u0939\\u0930\\u0942 \\u092E\\u0927\\u094D\\u092F\\u0947 \\u090F\\u0915 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0927\\u0947\\u0930\\u0948 \\u0920\\u0942\\u0932\\u094B: ${r.origin??\"\\u092E\\u093E\\u0928\"} \\u092E\\u093E ${i}${r.maximum.toString()} ${a.unit} ${a.verb}`:`\\u0927\\u0947\\u0930\\u0948 \\u0920\\u0942\\u0932\\u094B: ${r.origin??\"\\u092E\\u093E\\u0928\"} ${i}${r.maximum.toString()} \\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0927\\u0947\\u0930\\u0948 \\u0938\\u093E\\u0928\\u094B: ${r.origin} \\u092E\\u093E ${i}${r.minimum.toString()} ${a.unit} ${a.verb}`:`\\u0927\\u0947\\u0930\\u0948 \\u0938\\u093E\\u0928\\u094B: ${r.origin} ${i}${r.minimum.toString()} \\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0919: \"${i.prefix}\" \\u092C\\u093E\\u091F \\u0938\\u0941\\u0930\\u0941 \\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B`:i.format===\"ends_with\"?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0919: \"${i.suffix}\" \\u092E\\u093E \\u0938\\u092E\\u093E\\u092A\\u094D\\u0924 \\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B`:i.format===\"includes\"?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0919: \"${i.includes}\" \\u0938\\u092E\\u093E\\u0935\\u0947\\u0936 \\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B`:i.format===\"regex\"?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0919: \\u0922\\u093E\\u0901\\u091A\\u093E ${i.pattern} \\u0938\\u0901\\u0917 \\u092E\\u0947\\u0932 \\u0916\\u093E\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B`:`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u0902\\u0916\\u094D\\u092F\\u093E: ${r.divisor} \\u0915\\u094B \\u0917\\u0941\\u0923\\u091C \\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B`;case\"unrecognized_keys\":return`\\u0905\\u092A\\u0930\\u093F\\u091A\\u093F\\u0924 \\u0915\\u0941\\u091E\\u094D\\u091C\\u0940${r.keys.length>1?\"\\u0939\\u0930\\u0942\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0915\\u0941\\u091E\\u094D\\u091C\\u0940: ${r.origin} \\u092E\\u093E`;case\"invalid_union\":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0921\\u093F\\u0938\\u094D\\u0915\\u094D\\u0930\\u093F\\u092E\\u093F\\u0928\\u0947\\u091F\\u0930 \\u092E\\u093E\\u0928: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 ${r.options.map(a=>`'${a}'`).join(\" | \")}`:\"\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0907\\u0928\\u092A\\u0941\\u091F\";case\"invalid_element\":return`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u092E\\u093E\\u0928: ${r.origin} \\u092E\\u093E`;default:return\"\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0907\\u0928\\u092A\\u0941\\u091F\"}}};function J_(){return{localeError:Zw()}}var Fw=()=>{let e={string:{unit:\"tekens\",verb:\"heeft\"},file:{unit:\"bytes\",verb:\"heeft\"},array:{unit:\"elementen\",verb:\"heeft\"},set:{unit:\"elementen\",verb:\"heeft\"},map:{unit:\"elementen\",verb:\"heeft\"}};function t(r){return e[r]??null}let n={regex:\"invoer\",email:\"emailadres\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO datum en tijd\",date:\"ISO datum\",time:\"ISO tijd\",duration:\"ISO duur\",ipv4:\"IPv4-adres\",ipv6:\"IPv6-adres\",mac:\"MAC-adres\",cidrv4:\"IPv4-bereik\",cidrv6:\"IPv6-bereik\",base64:\"base64-gecodeerde tekst\",base64url:\"base64 URL-gecodeerde tekst\",json_string:\"JSON string\",e164:\"E.164-nummer\",credit_card:\"creditcardnummer\",currency_code:\"valutacode\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"invoer\"},o={nan:\"NaN\",number:\"getal\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Ongeldige invoer: verwacht instanceof ${r.expected}, ontving ${s}`:`Ongeldige invoer: verwacht ${i}, ontving ${s}`}case\"invalid_value\":return r.values.length===1?`Ongeldige invoer: verwacht ${w(r.values[0])}`:`Ongeldige optie: verwacht \\xE9\\xE9n van ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin),s=r.origin===\"date\"?\"laat\":r.origin===\"string\"?\"lang\":\"groot\";return a?`Te ${s}: verwacht dat ${r.origin??\"waarde\"} ${i}${r.maximum.toString()} ${a.unit??\"elementen\"} ${a.verb}`:`Te ${s}: verwacht dat ${r.origin??\"waarde\"} ${i}${r.maximum.toString()} is`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin),s=r.origin===\"date\"?\"vroeg\":r.origin===\"string\"?\"kort\":\"klein\";return a?`Te ${s}: verwacht dat ${r.origin} ${i}${r.minimum.toString()} ${a.unit} ${a.verb}`:`Te ${s}: verwacht dat ${r.origin} ${i}${r.minimum.toString()} is`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Ongeldige tekst: moet met \"${i.prefix}\" beginnen`:i.format===\"ends_with\"?`Ongeldige tekst: moet op \"${i.suffix}\" eindigen`:i.format===\"includes\"?`Ongeldige tekst: moet \"${i.includes}\" bevatten`:i.format===\"regex\"?`Ongeldige tekst: moet overeenkomen met patroon ${i.pattern}`:`Ongeldig: ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Ongeldig getal: moet een veelvoud van ${r.divisor} zijn`;case\"unrecognized_keys\":return`Onbekende key${r.keys.length>1?\"s\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Ongeldige key in ${r.origin}`;case\"invalid_union\":return\"Ongeldige invoer\";case\"invalid_element\":return`Ongeldige waarde in ${r.origin}`;default:return\"Ongeldige invoer\"}}};function H_(){return{localeError:Fw()}}var Jw=()=>{let e={string:{unit:\"teikn\",verb:\"\\xE5 ha\"},file:{unit:\"bytes\",verb:\"\\xE5 ha\"},array:{unit:\"element\",verb:\"\\xE5 innehalde\"},set:{unit:\"element\",verb:\"\\xE5 innehalde\"},map:{unit:\"element\",verb:\"\\xE5 innehalde\"}};function t(r){return e[r]??null}let n={regex:\"input\",email:\"e-postadresse\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO dato- og klokkeslett\",date:\"ISO-dato\",time:\"ISO-klokkeslett\",duration:\"ISO-varigheit\",ipv4:\"IPv4-adresse\",ipv6:\"IPv6-adresse\",mac:\"MAC-adresse\",cidrv4:\"IPv4-spekter\",cidrv6:\"IPv6-spekter\",base64:\"base64-enkoda streng\",base64url:\"base64url-enkoda streng\",json_string:\"JSON-streng\",e164:\"E.164-nummer\",credit_card:\"kredittkortnummer\",currency_code:\"valutakode\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\",number:\"tal\",array:\"liste\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Ugyldig input: forventa instanceof ${r.expected}, fekk ${s}`:`Ugyldig input: forventa ${i}, fekk ${s}`}case\"invalid_value\":return r.values.length===1?`Ugyldig verdi: forventa ${w(r.values[0])}`:`Ugyldig val: forventa eitt av ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`For stor(t): forventa ${r.origin??\"value\"} til \\xE5 ha ${i}${r.maximum.toString()} ${a.unit??\"element\"}`:`For stor(t): forventa ${r.origin??\"value\"} til \\xE5 ha ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`For lite(n): forventa ${r.origin} til \\xE5 ha ${i}${r.minimum.toString()} ${a.unit}`:`For lite(n): forventa ${r.origin} til \\xE5 ha ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Ugyldig streng: m\\xE5 starte med \"${i.prefix}\"`:i.format===\"ends_with\"?`Ugyldig streng: m\\xE5 slutte med \"${i.suffix}\"`:i.format===\"includes\"?`Ugyldig streng: m\\xE5 innehalde \"${i.includes}\"`:i.format===\"regex\"?`Ugyldig streng: m\\xE5 matche m\\xF8nsteret ${i.pattern}`:`Ugyldig ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Ugyldig tal: m\\xE5 vere eit multiplum av ${r.divisor}`;case\"unrecognized_keys\":return`${r.keys.length>1?\"Ukjende n\\xF8klar\":\"Ukjend n\\xF8kkel\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Ugyldig n\\xF8kkel i ${r.origin}`;case\"invalid_union\":return\"Ugyldig input\";case\"invalid_element\":return`Ugyldig verdi i ${r.origin}`;default:return\"Ugyldig input\"}}};function B_(){return{localeError:Jw()}}var Hw=()=>{let e={string:{unit:\"tegn\",verb:\"\\xE5 ha\"},file:{unit:\"bytes\",verb:\"\\xE5 ha\"},array:{unit:\"elementer\",verb:\"\\xE5 inneholde\"},set:{unit:\"elementer\",verb:\"\\xE5 inneholde\"},map:{unit:\"elementer\",verb:\"\\xE5 inneholde\"}};function t(r){return e[r]??null}let n={regex:\"input\",email:\"e-postadresse\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO dato- og klokkeslett\",date:\"ISO-dato\",time:\"ISO-klokkeslett\",duration:\"ISO-varighet\",ipv4:\"IPv4-adresse\",ipv6:\"IPv6-adresse\",mac:\"MAC-adresse\",cidrv4:\"IPv4-spekter\",cidrv6:\"IPv6-spekter\",base64:\"base64-enkodet streng\",base64url:\"base64url-enkodet streng\",json_string:\"JSON-streng\",e164:\"E.164-nummer\",credit_card:\"kredittkortnummer\",currency_code:\"valutakode\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\",number:\"tall\",array:\"liste\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Ugyldig input: forventet instanceof ${r.expected}, fikk ${s}`:`Ugyldig input: forventet ${i}, fikk ${s}`}case\"invalid_value\":return r.values.length===1?`Ugyldig verdi: forventet ${w(r.values[0])}`:`Ugyldig valg: forventet en av ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`For stor(t): forventet ${r.origin??\"value\"} til \\xE5 ha ${i}${r.maximum.toString()} ${a.unit??\"elementer\"}`:`For stor(t): forventet ${r.origin??\"value\"} til \\xE5 ha ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`For lite(n): forventet ${r.origin} til \\xE5 ha ${i}${r.minimum.toString()} ${a.unit}`:`For lite(n): forventet ${r.origin} til \\xE5 ha ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Ugyldig streng: m\\xE5 starte med \"${i.prefix}\"`:i.format===\"ends_with\"?`Ugyldig streng: m\\xE5 ende med \"${i.suffix}\"`:i.format===\"includes\"?`Ugyldig streng: m\\xE5 inneholde \"${i.includes}\"`:i.format===\"regex\"?`Ugyldig streng: m\\xE5 matche m\\xF8nsteret ${i.pattern}`:`Ugyldig ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Ugyldig tall: m\\xE5 v\\xE6re et multiplum av ${r.divisor}`;case\"unrecognized_keys\":return`${r.keys.length>1?\"Ukjente n\\xF8kler\":\"Ukjent n\\xF8kkel\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Ugyldig n\\xF8kkel i ${r.origin}`;case\"invalid_union\":return\"Ugyldig input\";case\"invalid_element\":return`Ugyldig verdi i ${r.origin}`;default:return\"Ugyldig input\"}}};function K_(){return{localeError:Hw()}}var Bw=()=>{let e={string:{unit:\"harf\",verb:\"olmal\\u0131d\\u0131r\"},file:{unit:\"bayt\",verb:\"olmal\\u0131d\\u0131r\"},array:{unit:\"unsur\",verb:\"olmal\\u0131d\\u0131r\"},set:{unit:\"unsur\",verb:\"olmal\\u0131d\\u0131r\"},map:{unit:\"unsur\",verb:\"olmal\\u0131d\\u0131r\"}};function t(r){return e[r]??null}let n={regex:\"giren\",email:\"epostag\\xE2h\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO heng\\xE2m\\u0131\",date:\"ISO tarihi\",time:\"ISO zaman\\u0131\",duration:\"ISO m\\xFCddeti\",ipv4:\"IPv4 ni\\u015F\\xE2n\\u0131\",ipv6:\"IPv6 ni\\u015F\\xE2n\\u0131\",mac:\"MAC ni\\u015F\\xE2n\\u0131\",cidrv4:\"IPv4 menzili\",cidrv6:\"IPv6 menzili\",base64:\"base64-\\u015Fifreli metin\",base64url:\"base64url-\\u015Fifreli metin\",json_string:\"JSON metin\",e164:\"E.164 say\\u0131s\\u0131\",credit_card:\"i'tib\\xE2r kart\\u0131 numaras\\u0131\",currency_code:\"para birimi kodu\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"giren\"},o={nan:\"NaN\",number:\"numara\",array:\"saf\",null:\"gayb\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`F\\xE2sit giren: umulan instanceof ${r.expected}, al\\u0131nan ${s}`:`F\\xE2sit giren: umulan ${i}, al\\u0131nan ${s}`}case\"invalid_value\":return r.values.length===1?`F\\xE2sit giren: umulan ${w(r.values[0])}`:`F\\xE2sit tercih: m\\xFBteberler ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Fazla b\\xFCy\\xFCk: ${r.origin??\"value\"}, ${i}${r.maximum.toString()} ${a.unit??\"elements\"} sahip olmal\\u0131yd\\u0131.`:`Fazla b\\xFCy\\xFCk: ${r.origin??\"value\"}, ${i}${r.maximum.toString()} olmal\\u0131yd\\u0131.`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Fazla k\\xFC\\xE7\\xFCk: ${r.origin}, ${i}${r.minimum.toString()} ${a.unit} sahip olmal\\u0131yd\\u0131.`:`Fazla k\\xFC\\xE7\\xFCk: ${r.origin}, ${i}${r.minimum.toString()} olmal\\u0131yd\\u0131.`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`F\\xE2sit metin: \"${i.prefix}\" ile ba\\u015Flamal\\u0131.`:i.format===\"ends_with\"?`F\\xE2sit metin: \"${i.suffix}\" ile bitmeli.`:i.format===\"includes\"?`F\\xE2sit metin: \"${i.includes}\" ihtiv\\xE2 etmeli.`:i.format===\"regex\"?`F\\xE2sit metin: ${i.pattern} nak\\u015F\\u0131na uymal\\u0131.`:`F\\xE2sit ${n[i.format]??r.format}`}case\"not_multiple_of\":return`F\\xE2sit say\\u0131: ${r.divisor} kat\\u0131 olmal\\u0131yd\\u0131.`;case\"unrecognized_keys\":return`Tan\\u0131nmayan anahtar ${r.keys.length>1?\"s\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} i\\xE7in tan\\u0131nmayan anahtar var.`;case\"invalid_union\":return\"Giren tan\\u0131namad\\u0131.\";case\"invalid_element\":return`${r.origin} i\\xE7in tan\\u0131nmayan k\\u0131ymet var.`;default:return\"K\\u0131ymet tan\\u0131namad\\u0131.\"}}};function G_(){return{localeError:Bw()}}var Kw=()=>{let e={string:{unit:\"\\u062A\\u0648\\u06A9\\u064A\",verb:\"\\u0648\\u0644\\u0631\\u064A\"},file:{unit:\"\\u0628\\u0627\\u06CC\\u067C\\u0633\",verb:\"\\u0648\\u0644\\u0631\\u064A\"},array:{unit:\"\\u062A\\u0648\\u06A9\\u064A\",verb:\"\\u0648\\u0644\\u0631\\u064A\"},set:{unit:\"\\u062A\\u0648\\u06A9\\u064A\",verb:\"\\u0648\\u0644\\u0631\\u064A\"},map:{unit:\"\\u062A\\u0648\\u06A9\\u064A\",verb:\"\\u0648\\u0644\\u0631\\u064A\"}};function t(r){return e[r]??null}let n={regex:\"\\u0648\\u0631\\u0648\\u062F\\u064A\",email:\"\\u0628\\u0631\\u06CC\\u069A\\u0646\\u0627\\u0644\\u06CC\\u06A9\",url:\"\\u06CC\\u0648 \\u0622\\u0631 \\u0627\\u0644\",emoji:\"\\u0627\\u06CC\\u0645\\u0648\\u062C\\u064A\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u0646\\u06CC\\u067C\\u0647 \\u0627\\u0648 \\u0648\\u062E\\u062A\",date:\"\\u0646\\u06D0\\u067C\\u0647\",time:\"\\u0648\\u062E\\u062A\",duration:\"\\u0645\\u0648\\u062F\\u0647\",ipv4:\"\\u062F IPv4 \\u067E\\u062A\\u0647\",ipv6:\"\\u062F IPv6 \\u067E\\u062A\\u0647\",mac:\"\\u062F MAC \\u067E\\u062A\\u0647\",cidrv4:\"\\u062F IPv4 \\u0633\\u0627\\u062D\\u0647\",cidrv6:\"\\u062F IPv6 \\u0633\\u0627\\u062D\\u0647\",base64:\"base64-encoded \\u0645\\u062A\\u0646\",base64url:\"base64url-encoded \\u0645\\u062A\\u0646\",json_string:\"JSON \\u0645\\u062A\\u0646\",e164:\"\\u062F E.164 \\u0634\\u0645\\u06D0\\u0631\\u0647\",credit_card:\"\\u062F \\u06A9\\u0631\\u06CC\\u0689\\u06CC\\u067C \\u06A9\\u0627\\u0631\\u062A \\u0634\\u0645\\u06CC\\u0631\\u0647\",currency_code:\"\\u062F \\u0627\\u0633\\u0639\\u0627\\u0631\\u0648 \\u06A9\\u0648\\u0689\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0648\\u0631\\u0648\\u062F\\u064A\"},o={nan:\"NaN\",number:\"\\u0639\\u062F\\u062F\",array:\"\\u0627\\u0631\\u06D0\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u0646\\u0627\\u0633\\u0645 \\u0648\\u0631\\u0648\\u062F\\u064A: \\u0628\\u0627\\u06CC\\u062F instanceof ${r.expected} \\u0648\\u0627\\u06CC, \\u0645\\u06AB\\u0631 ${s} \\u062A\\u0631\\u0644\\u0627\\u0633\\u0647 \\u0634\\u0648`:`\\u0646\\u0627\\u0633\\u0645 \\u0648\\u0631\\u0648\\u062F\\u064A: \\u0628\\u0627\\u06CC\\u062F ${i} \\u0648\\u0627\\u06CC, \\u0645\\u06AB\\u0631 ${s} \\u062A\\u0631\\u0644\\u0627\\u0633\\u0647 \\u0634\\u0648`}case\"invalid_value\":return r.values.length===1?`\\u0646\\u0627\\u0633\\u0645 \\u0648\\u0631\\u0648\\u062F\\u064A: \\u0628\\u0627\\u06CC\\u062F ${w(r.values[0])} \\u0648\\u0627\\u06CC`:`\\u0646\\u0627\\u0633\\u0645 \\u0627\\u0646\\u062A\\u062E\\u0627\\u0628: \\u0628\\u0627\\u06CC\\u062F \\u06CC\\u0648 \\u0644\\u0647 ${S(r.values,\"|\")} \\u0685\\u062E\\u0647 \\u0648\\u0627\\u06CC`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0689\\u06CC\\u0631 \\u0644\\u0648\\u06CC: ${r.origin??\"\\u0627\\u0631\\u0632\\u069A\\u062A\"} \\u0628\\u0627\\u06CC\\u062F ${i}${r.maximum.toString()} ${a.unit??\"\\u0639\\u0646\\u0635\\u0631\\u0648\\u0646\\u0647\"} \\u0648\\u0644\\u0631\\u064A`:`\\u0689\\u06CC\\u0631 \\u0644\\u0648\\u06CC: ${r.origin??\"\\u0627\\u0631\\u0632\\u069A\\u062A\"} \\u0628\\u0627\\u06CC\\u062F ${i}${r.maximum.toString()} \\u0648\\u064A`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0689\\u06CC\\u0631 \\u06A9\\u0648\\u0686\\u0646\\u06CC: ${r.origin} \\u0628\\u0627\\u06CC\\u062F ${i}${r.minimum.toString()} ${a.unit} \\u0648\\u0644\\u0631\\u064A`:`\\u0689\\u06CC\\u0631 \\u06A9\\u0648\\u0686\\u0646\\u06CC: ${r.origin} \\u0628\\u0627\\u06CC\\u062F ${i}${r.minimum.toString()} \\u0648\\u064A`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0646\\u0627\\u0633\\u0645 \\u0645\\u062A\\u0646: \\u0628\\u0627\\u06CC\\u062F \\u062F \"${i.prefix}\" \\u0633\\u0631\\u0647 \\u067E\\u06CC\\u0644 \\u0634\\u064A`:i.format===\"ends_with\"?`\\u0646\\u0627\\u0633\\u0645 \\u0645\\u062A\\u0646: \\u0628\\u0627\\u06CC\\u062F \\u062F \"${i.suffix}\" \\u0633\\u0631\\u0647 \\u067E\\u0627\\u06CC \\u062A\\u0647 \\u0648\\u0631\\u0633\\u064A\\u0696\\u064A`:i.format===\"includes\"?`\\u0646\\u0627\\u0633\\u0645 \\u0645\\u062A\\u0646: \\u0628\\u0627\\u06CC\\u062F \"${i.includes}\" \\u0648\\u0644\\u0631\\u064A`:i.format===\"regex\"?`\\u0646\\u0627\\u0633\\u0645 \\u0645\\u062A\\u0646: \\u0628\\u0627\\u06CC\\u062F \\u062F ${i.pattern} \\u0633\\u0631\\u0647 \\u0645\\u0637\\u0627\\u0628\\u0642\\u062A \\u0648\\u0644\\u0631\\u064A`:`${n[i.format]??r.format} \\u0646\\u0627\\u0633\\u0645 \\u062F\\u06CC`}case\"not_multiple_of\":return`\\u0646\\u0627\\u0633\\u0645 \\u0639\\u062F\\u062F: \\u0628\\u0627\\u06CC\\u062F \\u062F ${r.divisor} \\u0645\\u0636\\u0631\\u0628 \\u0648\\u064A`;case\"unrecognized_keys\":return`\\u0646\\u0627\\u0633\\u0645 ${r.keys.length>1?\"\\u06A9\\u0644\\u06CC\\u0689\\u0648\\u0646\\u0647\":\"\\u06A9\\u0644\\u06CC\\u0689\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u0646\\u0627\\u0633\\u0645 \\u06A9\\u0644\\u06CC\\u0689 \\u067E\\u0647 ${r.origin} \\u06A9\\u06D0`;case\"invalid_union\":return\"\\u0646\\u0627\\u0633\\u0645\\u0647 \\u0648\\u0631\\u0648\\u062F\\u064A\";case\"invalid_element\":return`\\u0646\\u0627\\u0633\\u0645 \\u0639\\u0646\\u0635\\u0631 \\u067E\\u0647 ${r.origin} \\u06A9\\u06D0`;default:return\"\\u0646\\u0627\\u0633\\u0645\\u0647 \\u0648\\u0631\\u0648\\u062F\\u064A\"}}};function W_(){return{localeError:Kw()}}var Gw=()=>{let e={string:{unit:\"znak\\xF3w\",verb:\"mie\\u0107\"},file:{unit:\"bajt\\xF3w\",verb:\"mie\\u0107\"},array:{unit:\"element\\xF3w\",verb:\"mie\\u0107\"},set:{unit:\"element\\xF3w\",verb:\"mie\\u0107\"},map:{unit:\"element\\xF3w\",verb:\"mie\\u0107\"}};function t(r){return e[r]??null}let n={regex:\"wyra\\u017Cenie\",email:\"adres email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"data i godzina w formacie ISO\",date:\"data w formacie ISO\",time:\"godzina w formacie ISO\",duration:\"czas trwania ISO\",ipv4:\"adres IPv4\",ipv6:\"adres IPv6\",mac:\"adres MAC\",cidrv4:\"zakres IPv4\",cidrv6:\"zakres IPv6\",base64:\"ci\\u0105g znak\\xF3w zakodowany w formacie base64\",base64url:\"ci\\u0105g znak\\xF3w zakodowany w formacie base64url\",json_string:\"ci\\u0105g znak\\xF3w w formacie JSON\",e164:\"liczba E.164\",credit_card:\"numer karty kredytowej\",currency_code:\"kod waluty\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"wej\\u015Bcie\"},o={nan:\"NaN\",number:\"liczba\",array:\"tablica\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Nieprawid\\u0142owe dane wej\\u015Bciowe: oczekiwano instanceof ${r.expected}, otrzymano ${s}`:`Nieprawid\\u0142owe dane wej\\u015Bciowe: oczekiwano ${i}, otrzymano ${s}`}case\"invalid_value\":return r.values.length===1?`Nieprawid\\u0142owe dane wej\\u015Bciowe: oczekiwano ${w(r.values[0])}`:`Nieprawid\\u0142owa opcja: oczekiwano jednej z warto\\u015Bci ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Za du\\u017Ca warto\\u015B\\u0107: oczekiwano, \\u017Ce ${r.origin??\"warto\\u015B\\u0107\"} b\\u0119dzie mie\\u0107 ${i}${r.maximum.toString()} ${a.unit??\"element\\xF3w\"}`:`Zbyt du\\u017C(y/a/e): oczekiwano, \\u017Ce ${r.origin??\"warto\\u015B\\u0107\"} b\\u0119dzie wynosi\\u0107 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Za ma\\u0142a warto\\u015B\\u0107: oczekiwano, \\u017Ce ${r.origin??\"warto\\u015B\\u0107\"} b\\u0119dzie mie\\u0107 ${i}${r.minimum.toString()} ${a.unit??\"element\\xF3w\"}`:`Zbyt ma\\u0142(y/a/e): oczekiwano, \\u017Ce ${r.origin??\"warto\\u015B\\u0107\"} b\\u0119dzie wynosi\\u0107 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Nieprawid\\u0142owy ci\\u0105g znak\\xF3w: musi zaczyna\\u0107 si\\u0119 od \"${i.prefix}\"`:i.format===\"ends_with\"?`Nieprawid\\u0142owy ci\\u0105g znak\\xF3w: musi ko\\u0144czy\\u0107 si\\u0119 na \"${i.suffix}\"`:i.format===\"includes\"?`Nieprawid\\u0142owy ci\\u0105g znak\\xF3w: musi zawiera\\u0107 \"${i.includes}\"`:i.format===\"regex\"?`Nieprawid\\u0142owy ci\\u0105g znak\\xF3w: musi odpowiada\\u0107 wzorcowi ${i.pattern}`:`Nieprawid\\u0142ow(y/a/e) ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Nieprawid\\u0142owa liczba: musi by\\u0107 wielokrotno\\u015Bci\\u0105 ${r.divisor}`;case\"unrecognized_keys\":return`Nierozpoznane klucze${r.keys.length>1?\"s\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Nieprawid\\u0142owy klucz w ${r.origin}`;case\"invalid_union\":return\"Nieprawid\\u0142owe dane wej\\u015Bciowe\";case\"invalid_element\":return`Nieprawid\\u0142owa warto\\u015B\\u0107 w ${r.origin}`;default:return\"Nieprawid\\u0142owe dane wej\\u015Bciowe\"}}};function Y_(){return{localeError:Gw()}}var Ww=()=>{let e={string:{unit:\"caracteres\"},file:{unit:\"bytes\"},array:{unit:\"elementos\"},set:{unit:\"elementos\"},map:{unit:\"entradas\"}};function t(a){return e[a]??null}let n={regex:\"a entrada\",email:\"o endere\\xE7o de e-mail\",url:\"o URL\",emoji:\"o emoji\",uuid:\"o UUID\",uuidv4:\"o UUIDv4\",uuidv6:\"o UUIDv6\",nanoid:\"o nanoid\",guid:\"o GUID\",cuid:\"o cuid\",cuid2:\"o cuid2\",ulid:\"o ULID\",xid:\"o XID\",ksuid:\"o KSUID\",datetime:\"a data e hora ISO\",date:\"a data ISO\",time:\"a hora ISO\",duration:\"a dura\\xE7\\xE3o ISO\",ipv4:\"o endere\\xE7o IPv4\",ipv6:\"o endere\\xE7o IPv6\",mac:\"o endere\\xE7o MAC\",cidrv4:\"o intervalo de endere\\xE7os IPv4\",cidrv6:\"o intervalo de endere\\xE7os IPv6\",base64:\"o texto codificado em base64\",base64url:\"o texto codificado em base64url\",json_string:\"o texto JSON\",e164:\"o n\\xFAmero E.164\",credit_card:\"o n\\xFAmero de cart\\xE3o de cr\\xE9dito\",currency_code:\"o c\\xF3digo de moeda\",iban:\"o IBAN\",jwt:\"o JWT\",template_literal:\"a entrada\"},o={masculine:{definite:\"o\",indefinite:\"um\"},feminine:{definite:\"a\",indefinite:\"uma\"}},r={string:{name:\"texto\",articles:o.masculine},number:{name:\"n\\xFAmero\",articles:o.masculine},int:{name:\"n\\xFAmero inteiro\",articles:o.masculine},boolean:{name:\"valor booleano\",articles:o.masculine},bigint:{name:\"n\\xFAmero bigint\",articles:o.masculine},symbol:{name:\"s\\xEDmbolo\",articles:o.masculine},undefined:{name:'valor \"undefined\"',articles:o.masculine},null:{name:'valor \"nulo\"',articles:o.masculine},never:{name:'valor \"never\"',articles:o.masculine},void:{name:'valor \"void\"',articles:o.masculine},date:{name:\"data\",articles:o.feminine},array:{name:\"vetor\",articles:o.masculine},object:{name:\"objeto\",articles:o.masculine},tuple:{name:\"tuplo\",articles:o.masculine},record:{name:\"registo\",articles:o.masculine},map:{name:\"mapa\",articles:o.masculine},set:{name:\"conjunto\",articles:o.masculine},file:{name:\"ficheiro\",articles:o.masculine},nonoptional:{name:\"valor n\\xE3o opcional\",articles:o.masculine},nan:{name:'valor \"NaN\"',articles:o.masculine},function:{name:\"fun\\xE7\\xE3o\",articles:o.feminine}};function i(a,s){let c=r[a]??{name:`valor \"${a}\"`,articles:o.masculine};return`${c.articles[s]} ${c.name}`}return a=>{switch(a.code){case\"invalid_type\":{let s=i(a.expected,\"indefinite\"),c=k(a.input),l=i(c,\"indefinite\");return`Entrada inv\\xE1lida: esperava ${s}, recebeu ${l}`}case\"invalid_value\":return a.values.length===1?`Entrada inv\\xE1lida: esperava ${w(a.values[0])}`:`Op\\xE7\\xE3o inv\\xE1lida: esperava uma das seguintes op\\xE7\\xF5es: ${S(a.values,\"|\")}`;case\"too_big\":{let s=a.inclusive?\"<=\":\"<\",c=t(a.origin);return c?`Demasiado grande: esperava que ${i(a.origin,\"definite\")} tivesse ${s} ${a.maximum.toString()} ${c.unit??\"elementos\"}`:`Demasiado grande: esperava que ${i(a.origin,\"definite\")} fosse ${s} ${a.maximum.toString()}`}case\"too_small\":{let s=a.inclusive?\">=\":\">\",c=t(a.origin);return c?`Demasiado pequeno: esperava que ${i(a.origin,\"definite\")} tivesse ${s} ${a.minimum.toString()} ${c.unit??\"elementos\"}`:`Demasiado pequeno: esperava que ${i(a.origin,\"definite\")} fosse ${s} ${a.minimum.toString()}`}case\"invalid_format\":{let s=a;return s.format===\"starts_with\"?`Texto inv\\xE1lido: deve come\\xE7ar por \"${s.prefix}\"`:s.format===\"ends_with\"?`Texto inv\\xE1lido: deve terminar em \"${s.suffix}\"`:s.format===\"includes\"?`Texto inv\\xE1lido: deve incluir \"${s.includes}\"`:s.format===\"regex\"?`Texto inv\\xE1lido: deve corresponder ao padr\\xE3o ${s.pattern}`:`Formato d${n[s.format]??a.format} inv\\xE1lido`}case\"not_multiple_of\":return`N\\xFAmero inv\\xE1lido: deve ser m\\xFAltiplo de ${a.divisor}`;case\"unrecognized_keys\":{let s=a.keys.length>1?\"s\":\"\";return`Chave${s} inv\\xE1lida${s}: ${S(a.keys,\", \")}`}case\"invalid_key\":return`Entrada inv\\xE1lida n${i(a.origin,\"definite\")}`;case\"invalid_union\":return a.options&&Array.isArray(a.options)&&a.options.length>0?`Valor de discrimina\\xE7\\xE3o inv\\xE1lido. Esperava ${a.options.map(c=>`'${c}'`).join(\" | \")}`:\"Entrada inv\\xE1lida\";case\"invalid_element\":return`Entrada inv\\xE1lida n${i(a.origin,\"definite\")}`;default:return\"Entrada inv\\xE1lida\"}}};function X_(){return{localeError:Ww()}}var Yw=()=>{let e={string:{unit:\"caracteres\"},file:{unit:\"bytes\"},array:{unit:\"elementos\"},set:{unit:\"elementos\"},map:{unit:\"entradas\"}};function t(a){return e[a]??null}let n={regex:\"a entrada\",email:\"o endere\\xE7o de e-mail\",url:\"o URL\",emoji:\"o emoji\",uuid:\"o UUID\",uuidv4:\"o UUIDv4\",uuidv6:\"o UUIDv6\",nanoid:\"o nanoid\",guid:\"o GUID\",cuid:\"o cuid\",cuid2:\"o cuid2\",ulid:\"o ULID\",xid:\"o XID\",ksuid:\"o KSUID\",datetime:\"a data e hora ISO\",date:\"a data ISO\",time:\"a hora ISO\",duration:\"a dura\\xE7\\xE3o ISO\",ipv4:\"o endere\\xE7o IPv4\",ipv6:\"o endere\\xE7o IPv6\",mac:\"o endere\\xE7o MAC\",cidrv4:\"a faixa de endere\\xE7os IPv4\",cidrv6:\"a faixa de endere\\xE7os IPv6\",base64:\"o texto codificado em base64\",base64url:\"o texto codificado em base64url\",json_string:\"o texto JSON\",e164:\"o n\\xFAmero E.164\",credit_card:\"o n\\xFAmero de cart\\xE3o de cr\\xE9dito\",currency_code:\"o c\\xF3digo de moeda\",iban:\"o IBAN\",jwt:\"o JWT\",template_literal:\"a entrada\"},o={masculine:{definite:\"o\",indefinite:\"um\"},feminine:{definite:\"a\",indefinite:\"uma\"}},r={string:{name:\"texto\",articles:o.masculine},number:{name:\"n\\xFAmero\",articles:o.masculine},int:{name:\"n\\xFAmero inteiro\",articles:o.masculine},boolean:{name:\"valor booleano\",articles:o.masculine},bigint:{name:\"n\\xFAmero bigint\",articles:o.masculine},symbol:{name:\"s\\xEDmbolo\",articles:o.masculine},undefined:{name:'valor \"undefined\"',articles:o.masculine},null:{name:'valor \"nulo\"',articles:o.masculine},never:{name:'valor \"never\"',articles:o.masculine},void:{name:'valor \"void\"',articles:o.masculine},date:{name:\"data\",articles:o.feminine},array:{name:\"vetor\",articles:o.masculine},object:{name:\"objeto\",articles:o.masculine},tuple:{name:\"tupla\",articles:o.feminine},record:{name:\"registro\",articles:o.masculine},map:{name:\"mapa\",articles:o.masculine},set:{name:\"conjunto\",articles:o.masculine},file:{name:\"arquivo\",articles:o.masculine},nonoptional:{name:\"valor n\\xE3o opcional\",articles:o.masculine},nan:{name:'valor \"NaN\"',articles:o.masculine},function:{name:\"fun\\xE7\\xE3o\",articles:o.feminine}};function i(a,s){let c=r[a]??{name:`valor \"${a}\"`,articles:o.masculine};return`${c.articles[s]} ${c.name}`}return a=>{switch(a.code){case\"invalid_type\":{let s=i(a.expected,\"indefinite\"),c=k(a.input),l=i(c,\"indefinite\");return`Entrada inv\\xE1lida: esperava ${s}, recebeu ${l}`}case\"invalid_value\":return a.values.length===1?`Entrada inv\\xE1lida: esperava ${w(a.values[0])}`:`Op\\xE7\\xE3o inv\\xE1lida: esperava uma das seguintes op\\xE7\\xF5es: ${S(a.values,\"|\")}`;case\"too_big\":{let s=a.inclusive?\"<=\":\"<\",c=t(a.origin);return c?`Grande demais: esperava que ${i(a.origin,\"definite\")} tivesse ${s} ${a.maximum.toString()} ${c.unit??\"elementos\"}`:`Grande demais: esperava que ${i(a.origin,\"definite\")} fosse ${s} ${a.maximum.toString()}`}case\"too_small\":{let s=a.inclusive?\">=\":\">\",c=t(a.origin);return c?`Pequeno demais: esperava que ${i(a.origin,\"definite\")} tivesse ${s} ${a.minimum.toString()} ${c.unit??\"elementos\"}`:`Pequeno demais: esperava que ${i(a.origin,\"definite\")} fosse ${s} ${a.minimum.toString()}`}case\"invalid_format\":{let s=a;return s.format===\"starts_with\"?`Texto inv\\xE1lido: deve come\\xE7ar com \"${s.prefix}\"`:s.format===\"ends_with\"?`Texto inv\\xE1lido: deve terminar com \"${s.suffix}\"`:s.format===\"includes\"?`Texto inv\\xE1lido: deve incluir \"${s.includes}\"`:s.format===\"regex\"?`Texto inv\\xE1lido: deve corresponder ao padr\\xE3o ${s.pattern}`:`Formato d${n[s.format]??a.format} inv\\xE1lido`}case\"not_multiple_of\":return`N\\xFAmero inv\\xE1lido: deve ser m\\xFAltiplo de ${a.divisor}`;case\"unrecognized_keys\":{let s=a.keys.length>1?\"s\":\"\";return`Chave${s} inv\\xE1lida${s}: ${S(a.keys,\", \")}`}case\"invalid_key\":return`Entrada inv\\xE1lida n${i(a.origin,\"definite\")}`;case\"invalid_union\":return a.options&&Array.isArray(a.options)&&a.options.length>0?`Valor de discrimina\\xE7\\xE3o inv\\xE1lido. Esperava ${a.options.map(c=>`'${c}'`).join(\" | \")}`:\"Entrada inv\\xE1lida\";case\"invalid_element\":return`Entrada inv\\xE1lida n${i(a.origin,\"definite\")}`;default:return\"Entrada inv\\xE1lida\"}}};function Q_(){return{localeError:Yw()}}var Xw=()=>{let e={string:{unit:\"caractere\",verb:\"s\\u0103 aib\\u0103\"},file:{unit:\"octe\\u021Bi\",verb:\"s\\u0103 aib\\u0103\"},array:{unit:\"elemente\",verb:\"s\\u0103 aib\\u0103\"},set:{unit:\"elemente\",verb:\"s\\u0103 aib\\u0103\"},map:{unit:\"intr\\u0103ri\",verb:\"s\\u0103 aib\\u0103\"}};function t(r){return e[r]??null}let n={regex:\"intrare\",email:\"adres\\u0103 de email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"dat\\u0103 \\u0219i or\\u0103 ISO\",date:\"dat\\u0103 ISO\",time:\"or\\u0103 ISO\",duration:\"durat\\u0103 ISO\",ipv4:\"adres\\u0103 IPv4\",ipv6:\"adres\\u0103 IPv6\",mac:\"adres\\u0103 MAC\",cidrv4:\"interval IPv4\",cidrv6:\"interval IPv6\",base64:\"\\u0219ir codat base64\",base64url:\"\\u0219ir codat base64url\",json_string:\"\\u0219ir JSON\",e164:\"num\\u0103r E.164\",credit_card:\"num\\u0103r de card de credit\",currency_code:\"cod valutar\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"intrare\"},o={nan:\"NaN\",string:\"\\u0219ir\",number:\"num\\u0103r\",boolean:\"boolean\",function:\"func\\u021Bie\",array:\"matrice\",object:\"obiect\",undefined:\"nedefinit\",symbol:\"simbol\",bigint:\"num\\u0103r mare\",void:\"void\",never:\"never\",map:\"hart\\u0103\",set:\"set\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return`Intrare invalid\\u0103: a\\u0219teptat ${i}, primit ${s}`}case\"invalid_value\":return r.values.length===1?`Intrare invalid\\u0103: a\\u0219teptat ${w(r.values[0])}`:`Op\\u021Biune invalid\\u0103: a\\u0219teptat una dintre ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Prea mare: a\\u0219teptat ca ${r.origin??\"valoarea\"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit??\"elemente\"}`:`Prea mare: a\\u0219teptat ca ${r.origin??\"valoarea\"} s\\u0103 fie ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Prea mic: a\\u0219teptat ca ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`Prea mic: a\\u0219teptat ca ${r.origin} s\\u0103 fie ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0218ir invalid: trebuie s\\u0103 \\xEEnceap\\u0103 cu \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u0218ir invalid: trebuie s\\u0103 se termine cu \"${i.suffix}\"`:i.format===\"includes\"?`\\u0218ir invalid: trebuie s\\u0103 includ\\u0103 \"${i.includes}\"`:i.format===\"regex\"?`\\u0218ir invalid: trebuie s\\u0103 se potriveasc\\u0103 cu modelul ${i.pattern}`:`Format invalid: ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Num\\u0103r invalid: trebuie s\\u0103 fie multiplu de ${r.divisor}`;case\"unrecognized_keys\":return`Chei nerecunoscute: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Cheie invalid\\u0103 \\xEEn ${r.origin}`;case\"invalid_union\":return\"Intrare invalid\\u0103\";case\"invalid_element\":return`Valoare invalid\\u0103 \\xEEn ${r.origin}`;default:return\"Intrare invalid\\u0103\"}}};function eS(){return{localeError:Xw()}}function tS(e,t,n,o){let r=Math.abs(e),i=r%10,a=r%100;return a>=11&&a<=19?o:i===1?t:i>=2&&i<=4?n:o}var Qw=()=>{let e={string:{unit:{one:\"\\u0441\\u0438\\u043C\\u0432\\u043E\\u043B\",few:\"\\u0441\\u0438\\u043C\\u0432\\u043E\\u043B\\u0430\",many:\"\\u0441\\u0438\\u043C\\u0432\\u043E\\u043B\\u043E\\u0432\"},verb:\"\\u0438\\u043C\\u0435\\u0442\\u044C\"},file:{unit:{one:\"\\u0431\\u0430\\u0439\\u0442\",few:\"\\u0431\\u0430\\u0439\\u0442\\u0430\",many:\"\\u0431\\u0430\\u0439\\u0442\"},verb:\"\\u0438\\u043C\\u0435\\u0442\\u044C\"},array:{unit:{one:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\",few:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\",many:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u043E\\u0432\"},verb:\"\\u0438\\u043C\\u0435\\u0442\\u044C\"},set:{unit:{one:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\",few:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\",many:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u043E\\u0432\"},verb:\"\\u0438\\u043C\\u0435\\u0442\\u044C\"},map:{unit:{one:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\",few:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\",many:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u043E\\u0432\"},verb:\"\\u0438\\u043C\\u0435\\u0442\\u044C\"}};function t(r){return e[r]??null}let n={regex:\"\\u0432\\u0432\\u043E\\u0434\",email:\"email \\u0430\\u0434\\u0440\\u0435\\u0441\",url:\"URL\",emoji:\"\\u044D\\u043C\\u043E\\u0434\\u0437\\u0438\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0434\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043C\\u044F\",date:\"ISO \\u0434\\u0430\\u0442\\u0430\",time:\"ISO \\u0432\\u0440\\u0435\\u043C\\u044F\",duration:\"ISO \\u0434\\u043B\\u0438\\u0442\\u0435\\u043B\\u044C\\u043D\\u043E\\u0441\\u0442\\u044C\",ipv4:\"IPv4 \\u0430\\u0434\\u0440\\u0435\\u0441\",ipv6:\"IPv6 \\u0430\\u0434\\u0440\\u0435\\u0441\",mac:\"MAC \\u0430\\u0434\\u0440\\u0435\\u0441\",cidrv4:\"IPv4 \\u0434\\u0438\\u0430\\u043F\\u0430\\u0437\\u043E\\u043D\",cidrv6:\"IPv6 \\u0434\\u0438\\u0430\\u043F\\u0430\\u0437\\u043E\\u043D\",base64:\"\\u0441\\u0442\\u0440\\u043E\\u043A\\u0430 \\u0432 \\u0444\\u043E\\u0440\\u043C\\u0430\\u0442\\u0435 base64\",base64url:\"\\u0441\\u0442\\u0440\\u043E\\u043A\\u0430 \\u0432 \\u0444\\u043E\\u0440\\u043C\\u0430\\u0442\\u0435 base64url\",json_string:\"JSON \\u0441\\u0442\\u0440\\u043E\\u043A\\u0430\",e164:\"\\u043D\\u043E\\u043C\\u0435\\u0440 E.164\",credit_card:\"\\u043D\\u043E\\u043C\\u0435\\u0440 \\u043A\\u0440\\u0435\\u0434\\u0438\\u0442\\u043D\\u043E\\u0439 \\u043A\\u0430\\u0440\\u0442\\u044B\",currency_code:\"\\u043A\\u043E\\u0434 \\u0432\\u0430\\u043B\\u044E\\u0442\\u044B\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0432\\u0432\\u043E\\u0434\"},o={nan:\"NaN\",number:\"\\u0447\\u0438\\u0441\\u043B\\u043E\",array:\"\\u043C\\u0430\\u0441\\u0441\\u0438\\u0432\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0439 \\u0432\\u0432\\u043E\\u0434: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C instanceof ${r.expected}, \\u043F\\u043E\\u043B\\u0443\\u0447\\u0435\\u043D\\u043E ${s}`:`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0439 \\u0432\\u0432\\u043E\\u0434: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C ${i}, \\u043F\\u043E\\u043B\\u0443\\u0447\\u0435\\u043D\\u043E ${s}`}case\"invalid_value\":return r.values.length===1?`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0439 \\u0432\\u0432\\u043E\\u0434: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C ${w(r.values[0])}`:`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0439 \\u0432\\u0430\\u0440\\u0438\\u0430\\u043D\\u0442: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C \\u043E\\u0434\\u043D\\u043E \\u0438\\u0437 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);if(a){let s=Number(r.maximum),c=tS(s,a.unit.one,a.unit.few,a.unit.many);return`\\u0421\\u043B\\u0438\\u0448\\u043A\\u043E\\u043C \\u0431\\u043E\\u043B\\u044C\\u0448\\u043E\\u0435 \\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C, \\u0447\\u0442\\u043E ${r.origin??\"\\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435\"} \\u0431\\u0443\\u0434\\u0435\\u0442 \\u0438\\u043C\\u0435\\u0442\\u044C ${i}${r.maximum.toString()} ${c}`}return`\\u0421\\u043B\\u0438\\u0448\\u043A\\u043E\\u043C \\u0431\\u043E\\u043B\\u044C\\u0448\\u043E\\u0435 \\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C, \\u0447\\u0442\\u043E ${r.origin??\"\\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435\"} \\u0431\\u0443\\u0434\\u0435\\u0442 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);if(a){let s=Number(r.minimum),c=tS(s,a.unit.one,a.unit.few,a.unit.many);return`\\u0421\\u043B\\u0438\\u0448\\u043A\\u043E\\u043C \\u043C\\u0430\\u043B\\u0435\\u043D\\u044C\\u043A\\u043E\\u0435 \\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C, \\u0447\\u0442\\u043E ${r.origin} \\u0431\\u0443\\u0434\\u0435\\u0442 \\u0438\\u043C\\u0435\\u0442\\u044C ${i}${r.minimum.toString()} ${c}`}return`\\u0421\\u043B\\u0438\\u0448\\u043A\\u043E\\u043C \\u043C\\u0430\\u043B\\u0435\\u043D\\u044C\\u043A\\u043E\\u0435 \\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C, \\u0447\\u0442\\u043E ${r.origin} \\u0431\\u0443\\u0434\\u0435\\u0442 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u0430\\u044F \\u0441\\u0442\\u0440\\u043E\\u043A\\u0430: \\u0434\\u043E\\u043B\\u0436\\u043D\\u0430 \\u043D\\u0430\\u0447\\u0438\\u043D\\u0430\\u0442\\u044C\\u0441\\u044F \\u0441 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u0430\\u044F \\u0441\\u0442\\u0440\\u043E\\u043A\\u0430: \\u0434\\u043E\\u043B\\u0436\\u043D\\u0430 \\u0437\\u0430\\u043A\\u0430\\u043D\\u0447\\u0438\\u0432\\u0430\\u0442\\u044C\\u0441\\u044F \\u043D\\u0430 \"${i.suffix}\"`:i.format===\"includes\"?`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u0430\\u044F \\u0441\\u0442\\u0440\\u043E\\u043A\\u0430: \\u0434\\u043E\\u043B\\u0436\\u043D\\u0430 \\u0441\\u043E\\u0434\\u0435\\u0440\\u0436\\u0430\\u0442\\u044C \"${i.includes}\"`:i.format===\"regex\"?`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u0430\\u044F \\u0441\\u0442\\u0440\\u043E\\u043A\\u0430: \\u0434\\u043E\\u043B\\u0436\\u043D\\u0430 \\u0441\\u043E\\u043E\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u043E\\u0432\\u0430\\u0442\\u044C \\u0448\\u0430\\u0431\\u043B\\u043E\\u043D\\u0443 ${i.pattern}`:`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0439 ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u043E\\u0435 \\u0447\\u0438\\u0441\\u043B\\u043E: \\u0434\\u043E\\u043B\\u0436\\u043D\\u043E \\u0431\\u044B\\u0442\\u044C \\u043A\\u0440\\u0430\\u0442\\u043D\\u044B\\u043C ${r.divisor}`;case\"unrecognized_keys\":return`\\u041D\\u0435\\u0440\\u0430\\u0441\\u043F\\u043E\\u0437\\u043D\\u0430\\u043D\\u043D${r.keys.length>1?\"\\u044B\\u0435\":\"\\u044B\\u0439\"} \\u043A\\u043B\\u044E\\u0447${r.keys.length>1?\"\\u0438\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0439 \\u043A\\u043B\\u044E\\u0447 \\u0432 ${r.origin}`;case\"invalid_union\":return\"\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0435 \\u0432\\u0445\\u043E\\u0434\\u043D\\u044B\\u0435 \\u0434\\u0430\\u043D\\u043D\\u044B\\u0435\";case\"invalid_element\":return`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u043E\\u0435 \\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435 \\u0432 ${r.origin}`;default:return\"\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0435 \\u0432\\u0445\\u043E\\u0434\\u043D\\u044B\\u0435 \\u0434\\u0430\\u043D\\u043D\\u044B\\u0435\"}}};function rS(){return{localeError:Qw()}}var ek=()=>{let e={string:{unit:\"znakov\",verb:\"ma\\u0165\"},file:{unit:\"bajtov\",verb:\"ma\\u0165\"},array:{unit:\"prvkov\",verb:\"ma\\u0165\"},set:{unit:\"prvkov\",verb:\"ma\\u0165\"},map:{unit:\"polo\\u017Eiek\",verb:\"ma\\u0165\"}};function t(r){return e[r]??null}let n={regex:\"regul\\xE1rny v\\xFDraz\",email:\"e-mailov\\xE1 adresa\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"d\\xE1tum a \\u010Das vo form\\xE1te ISO\",date:\"d\\xE1tum vo form\\xE1te ISO\",time:\"\\u010Das vo form\\xE1te ISO\",duration:\"doba trvania ISO\",ipv4:\"IPv4 adresa\",ipv6:\"IPv6 adresa\",mac:\"MAC adresa\",cidrv4:\"rozsah IPv4\",cidrv6:\"rozsah IPv6\",base64:\"re\\u0165azec zak\\xF3dovan\\xFD vo form\\xE1te base64\",base64url:\"re\\u0165azec zak\\xF3dovan\\xFD vo form\\xE1te base64url\",json_string:\"re\\u0165azec vo form\\xE1te JSON\",e164:\"\\u010D\\xEDslo E.164\",credit_card:\"\\u010D\\xEDslo kreditnej karty\",currency_code:\"k\\xF3d meny\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"vstup\"},o={nan:\"NaN\",number:\"\\u010D\\xEDslo\",string:\"re\\u0165azec\",function:\"funkcia\",array:\"pole\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Neplatn\\xFD vstup: o\\u010Dak\\xE1van\\xE9 instanceof ${r.expected}, obdr\\u017Ean\\xE9 ${s}`:`Neplatn\\xFD vstup: o\\u010Dak\\xE1van\\xE9 ${i}, obdr\\u017Ean\\xE9 ${s}`}case\"invalid_value\":return r.values.length===1?`Neplatn\\xFD vstup: o\\u010Dak\\xE1van\\xE9 ${w(r.values[0])}`:`Neplatn\\xFD vstup: o\\u010Dak\\xE1van\\xE1 jedna z hodn\\xF4t ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Hodnota je pr\\xEDli\\u0161 ve\\u013Ek\\xE1: ${r.origin??\"hodnota\"} mus\\xED ma\\u0165 ${i}${r.maximum.toString()} ${a.unit??\"prvkov\"}`:`Hodnota je pr\\xEDli\\u0161 ve\\u013Ek\\xE1: ${r.origin??\"hodnota\"} mus\\xED by\\u0165 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Hodnota je pr\\xEDli\\u0161 mal\\xE1: ${r.origin??\"hodnota\"} mus\\xED ma\\u0165 ${i}${r.minimum.toString()} ${a.unit??\"prvkov\"}`:`Hodnota je pr\\xEDli\\u0161 mal\\xE1: ${r.origin??\"hodnota\"} mus\\xED by\\u0165 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Neplatn\\xFD re\\u0165azec: mus\\xED za\\u010D\\xEDna\\u0165 na \"${i.prefix}\"`:i.format===\"ends_with\"?`Neplatn\\xFD re\\u0165azec: mus\\xED kon\\u010Di\\u0165 na \"${i.suffix}\"`:i.format===\"includes\"?`Neplatn\\xFD re\\u0165azec: mus\\xED obsahova\\u0165 \"${i.includes}\"`:i.format===\"regex\"?`Neplatn\\xFD re\\u0165azec: mus\\xED zodpoveda\\u0165 vzoru ${i.pattern}`:`Neplatn\\xFD form\\xE1t ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Neplatn\\xE9 \\u010D\\xEDslo: mus\\xED by\\u0165 n\\xE1sobkom ${r.divisor}`;case\"unrecognized_keys\":return`Nezn\\xE1me kl\\xFA\\u010De: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Neplatn\\xFD kl\\xFA\\u010D v ${r.origin}`;case\"invalid_union\":return\"Neplatn\\xFD vstup\";case\"invalid_element\":return`Neplatn\\xE1 hodnota v ${r.origin}`;default:return\"Neplatn\\xFD vstup\"}}};function nS(){return{localeError:ek()}}var tk=()=>{let e={string:{unit:\"znakov\",verb:\"imeti\"},file:{unit:\"bajtov\",verb:\"imeti\"},array:{unit:\"elementov\",verb:\"imeti\"},set:{unit:\"elementov\",verb:\"imeti\"},map:{unit:\"elementov\",verb:\"imeti\"}};function t(r){return e[r]??null}let n={regex:\"vnos\",email:\"e-po\\u0161tni naslov\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO datum in \\u010Das\",date:\"ISO datum\",time:\"ISO \\u010Das\",duration:\"ISO trajanje\",ipv4:\"IPv4 naslov\",ipv6:\"IPv6 naslov\",mac:\"MAC naslov\",cidrv4:\"obseg IPv4\",cidrv6:\"obseg IPv6\",base64:\"base64 kodiran niz\",base64url:\"base64url kodiran niz\",json_string:\"JSON niz\",e164:\"E.164 \\u0161tevilka\",credit_card:\"\\u0161tevilka kreditne kartice\",currency_code:\"koda valute\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"vnos\"},o={nan:\"NaN\",number:\"\\u0161tevilo\",array:\"tabela\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Neveljaven vnos: pri\\u010Dakovano instanceof ${r.expected}, prejeto ${s}`:`Neveljaven vnos: pri\\u010Dakovano ${i}, prejeto ${s}`}case\"invalid_value\":return r.values.length===1?`Neveljaven vnos: pri\\u010Dakovano ${w(r.values[0])}`:`Neveljavna mo\\u017Enost: pri\\u010Dakovano eno izmed ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Preveliko: pri\\u010Dakovano, da bo ${r.origin??\"vrednost\"} imelo ${i}${r.maximum.toString()} ${a.unit??\"elementov\"}`:`Preveliko: pri\\u010Dakovano, da bo ${r.origin??\"vrednost\"} ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Premajhno: pri\\u010Dakovano, da bo ${r.origin} imelo ${i}${r.minimum.toString()} ${a.unit}`:`Premajhno: pri\\u010Dakovano, da bo ${r.origin} ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Neveljaven niz: mora se za\\u010Deti z \"${i.prefix}\"`:i.format===\"ends_with\"?`Neveljaven niz: mora se kon\\u010Dati z \"${i.suffix}\"`:i.format===\"includes\"?`Neveljaven niz: mora vsebovati \"${i.includes}\"`:i.format===\"regex\"?`Neveljaven niz: mora ustrezati vzorcu ${i.pattern}`:`Neveljaven ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Neveljavno \\u0161tevilo: mora biti ve\\u010Dkratnik ${r.divisor}`;case\"unrecognized_keys\":return`Neprepoznan${r.keys.length>1?\"i klju\\u010Di\":\" klju\\u010D\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Neveljaven klju\\u010D v ${r.origin}`;case\"invalid_union\":return\"Neveljaven vnos\";case\"invalid_element\":return`Neveljavna vrednost v ${r.origin}`;default:return\"Neveljaven vnos\"}}};function iS(){return{localeError:tk()}}var rk=()=>{let e={string:{unit:\"tecken\",verb:\"att ha\"},file:{unit:\"bytes\",verb:\"att ha\"},array:{unit:\"objekt\",verb:\"att inneh\\xE5lla\"},set:{unit:\"objekt\",verb:\"att inneh\\xE5lla\"},map:{unit:\"objekt\",verb:\"att inneh\\xE5lla\"}};function t(r){return e[r]??null}let n={regex:\"regulj\\xE4rt uttryck\",email:\"e-postadress\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO-datum och tid\",date:\"ISO-datum\",time:\"ISO-tid\",duration:\"ISO-varaktighet\",ipv4:\"IPv4-adress\",ipv6:\"IPv6-adress\",mac:\"MAC-adress\",cidrv4:\"IPv4-spektrum\",cidrv6:\"IPv6-spektrum\",base64:\"base64-kodad str\\xE4ng\",base64url:\"base64url-kodad str\\xE4ng\",json_string:\"JSON-str\\xE4ng\",e164:\"E.164-nummer\",credit_card:\"kreditkortsnummer\",currency_code:\"valutakod\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"mall-literal\"},o={nan:\"NaN\",number:\"antal\",array:\"lista\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Ogiltig inmatning: f\\xF6rv\\xE4ntat instanceof ${r.expected}, fick ${s}`:`Ogiltig inmatning: f\\xF6rv\\xE4ntat ${i}, fick ${s}`}case\"invalid_value\":return r.values.length===1?`Ogiltig inmatning: f\\xF6rv\\xE4ntat ${w(r.values[0])}`:`Ogiltigt val: f\\xF6rv\\xE4ntade en av ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`F\\xF6r stor(t): f\\xF6rv\\xE4ntade ${r.origin??\"v\\xE4rdet\"} att ha ${i}${r.maximum.toString()} ${a.unit??\"element\"}`:`F\\xF6r stor(t): f\\xF6rv\\xE4ntat ${r.origin??\"v\\xE4rdet\"} att ha ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`F\\xF6r lite(t): f\\xF6rv\\xE4ntade ${r.origin??\"v\\xE4rdet\"} att ha ${i}${r.minimum.toString()} ${a.unit}`:`F\\xF6r lite(t): f\\xF6rv\\xE4ntade ${r.origin??\"v\\xE4rdet\"} att ha ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Ogiltig str\\xE4ng: m\\xE5ste b\\xF6rja med \"${i.prefix}\"`:i.format===\"ends_with\"?`Ogiltig str\\xE4ng: m\\xE5ste sluta med \"${i.suffix}\"`:i.format===\"includes\"?`Ogiltig str\\xE4ng: m\\xE5ste inneh\\xE5lla \"${i.includes}\"`:i.format===\"regex\"?`Ogiltig str\\xE4ng: m\\xE5ste matcha m\\xF6nstret \"${i.pattern}\"`:`Ogiltig(t) ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Ogiltigt tal: m\\xE5ste vara en multipel av ${r.divisor}`;case\"unrecognized_keys\":return`${r.keys.length>1?\"Ok\\xE4nda nycklar\":\"Ok\\xE4nd nyckel\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Ogiltig nyckel i ${r.origin??\"v\\xE4rdet\"}`;case\"invalid_union\":return\"Ogiltig input\";case\"invalid_element\":return`Ogiltigt v\\xE4rde i ${r.origin??\"v\\xE4rdet\"}`;default:return\"Ogiltig input\"}}};function oS(){return{localeError:rk()}}var nk=()=>{let e={string:{unit:\"\\u0B8E\\u0BB4\\u0BC1\\u0BA4\\u0BCD\\u0BA4\\u0BC1\\u0B95\\u0BCD\\u0B95\\u0BB3\\u0BCD\",verb:\"\\u0B95\\u0BCA\\u0BA3\\u0BCD\\u0B9F\\u0BBF\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD\"},file:{unit:\"\\u0BAA\\u0BC8\\u0B9F\\u0BCD\\u0B9F\\u0BC1\\u0B95\\u0BB3\\u0BCD\",verb:\"\\u0B95\\u0BCA\\u0BA3\\u0BCD\\u0B9F\\u0BBF\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD\"},array:{unit:\"\\u0B89\\u0BB1\\u0BC1\\u0BAA\\u0BCD\\u0BAA\\u0BC1\\u0B95\\u0BB3\\u0BCD\",verb:\"\\u0B95\\u0BCA\\u0BA3\\u0BCD\\u0B9F\\u0BBF\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD\"},set:{unit:\"\\u0B89\\u0BB1\\u0BC1\\u0BAA\\u0BCD\\u0BAA\\u0BC1\\u0B95\\u0BB3\\u0BCD\",verb:\"\\u0B95\\u0BCA\\u0BA3\\u0BCD\\u0B9F\\u0BBF\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD\"},map:{unit:\"\\u0B89\\u0BB1\\u0BC1\\u0BAA\\u0BCD\\u0BAA\\u0BC1\\u0B95\\u0BB3\\u0BCD\",verb:\"\\u0B95\\u0BCA\\u0BA3\\u0BCD\\u0B9F\\u0BBF\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD\"}};function t(r){return e[r]??null}let n={regex:\"\\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0BC0\\u0B9F\\u0BC1\",email:\"\\u0BAE\\u0BBF\\u0BA9\\u0BCD\\u0BA9\\u0B9E\\u0BCD\\u0B9A\\u0BB2\\u0BCD \\u0BAE\\u0BC1\\u0B95\\u0BB5\\u0BB0\\u0BBF\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0BA4\\u0BC7\\u0BA4\\u0BBF \\u0BA8\\u0BC7\\u0BB0\\u0BAE\\u0BCD\",date:\"ISO \\u0BA4\\u0BC7\\u0BA4\\u0BBF\",time:\"ISO \\u0BA8\\u0BC7\\u0BB0\\u0BAE\\u0BCD\",duration:\"ISO \\u0B95\\u0BBE\\u0BB2 \\u0B85\\u0BB3\\u0BB5\\u0BC1\",ipv4:\"IPv4 \\u0BAE\\u0BC1\\u0B95\\u0BB5\\u0BB0\\u0BBF\",ipv6:\"IPv6 \\u0BAE\\u0BC1\\u0B95\\u0BB5\\u0BB0\\u0BBF\",mac:\"MAC \\u0BAE\\u0BC1\\u0B95\\u0BB5\\u0BB0\\u0BBF\",cidrv4:\"IPv4 \\u0BB5\\u0BB0\\u0BAE\\u0BCD\\u0BAA\\u0BC1\",cidrv6:\"IPv6 \\u0BB5\\u0BB0\\u0BAE\\u0BCD\\u0BAA\\u0BC1\",base64:\"base64-encoded \\u0B9A\\u0BB0\\u0BAE\\u0BCD\",base64url:\"base64url-encoded \\u0B9A\\u0BB0\\u0BAE\\u0BCD\",json_string:\"JSON \\u0B9A\\u0BB0\\u0BAE\\u0BCD\",e164:\"E.164 \\u0B8E\\u0BA3\\u0BCD\",credit_card:\"\\u0B95\\u0B9F\\u0BA9\\u0BCD \\u0B85\\u0B9F\\u0BCD\\u0B9F\\u0BC8 \\u0B8E\\u0BA3\\u0BCD\",currency_code:\"\\u0BA8\\u0BBE\\u0BA3\\u0BAF\\u0B95\\u0BCD \\u0B95\\u0BC1\\u0BB1\\u0BBF\\u0BAF\\u0BC0\\u0B9F\\u0BC1\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\",number:\"\\u0B8E\\u0BA3\\u0BCD\",array:\"\\u0B85\\u0BA3\\u0BBF\",null:\"\\u0BB5\\u0BC6\\u0BB1\\u0BC1\\u0BAE\\u0BC8\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0BC0\\u0B9F\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 instanceof ${r.expected}, \\u0BAA\\u0BC6\\u0BB1\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${s}`:`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0BC0\\u0B9F\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${i}, \\u0BAA\\u0BC6\\u0BB1\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0BC0\\u0B9F\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${w(r.values[0])}`:`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0BB5\\u0BBF\\u0BB0\\u0BC1\\u0BAA\\u0BCD\\u0BAA\\u0BAE\\u0BCD: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${S(r.values,\"|\")} \\u0B87\\u0BB2\\u0BCD \\u0B92\\u0BA9\\u0BCD\\u0BB1\\u0BC1`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0BAE\\u0BBF\\u0B95 \\u0BAA\\u0BC6\\u0BB0\\u0BBF\\u0BAF\\u0BA4\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${r.origin??\"\\u0BAE\\u0BA4\\u0BBF\\u0BAA\\u0BCD\\u0BAA\\u0BC1\"} ${i}${r.maximum.toString()} ${a.unit??\"\\u0B89\\u0BB1\\u0BC1\\u0BAA\\u0BCD\\u0BAA\\u0BC1\\u0B95\\u0BB3\\u0BCD\"} \\u0B86\\u0B95 \\u0B87\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`:`\\u0BAE\\u0BBF\\u0B95 \\u0BAA\\u0BC6\\u0BB0\\u0BBF\\u0BAF\\u0BA4\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${r.origin??\"\\u0BAE\\u0BA4\\u0BBF\\u0BAA\\u0BCD\\u0BAA\\u0BC1\"} ${i}${r.maximum.toString()} \\u0B86\\u0B95 \\u0B87\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0BAE\\u0BBF\\u0B95\\u0B9A\\u0BCD \\u0B9A\\u0BBF\\u0BB1\\u0BBF\\u0BAF\\u0BA4\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${r.origin} ${i}${r.minimum.toString()} ${a.unit} \\u0B86\\u0B95 \\u0B87\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`:`\\u0BAE\\u0BBF\\u0B95\\u0B9A\\u0BCD \\u0B9A\\u0BBF\\u0BB1\\u0BBF\\u0BAF\\u0BA4\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${r.origin} ${i}${r.minimum.toString()} \\u0B86\\u0B95 \\u0B87\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B9A\\u0BB0\\u0BAE\\u0BCD: \"${i.prefix}\" \\u0B87\\u0BB2\\u0BCD \\u0BA4\\u0BCA\\u0B9F\\u0B99\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`:i.format===\"ends_with\"?`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B9A\\u0BB0\\u0BAE\\u0BCD: \"${i.suffix}\" \\u0B87\\u0BB2\\u0BCD \\u0BAE\\u0BC1\\u0B9F\\u0BBF\\u0BB5\\u0B9F\\u0BC8\\u0BAF \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`:i.format===\"includes\"?`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B9A\\u0BB0\\u0BAE\\u0BCD: \"${i.includes}\" \\u0B90 \\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0B9F\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`:i.format===\"regex\"?`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B9A\\u0BB0\\u0BAE\\u0BCD: ${i.pattern} \\u0BAE\\u0BC1\\u0BB1\\u0BC8\\u0BAA\\u0BBE\\u0B9F\\u0BCD\\u0B9F\\u0BC1\\u0B9F\\u0BA9\\u0BCD \\u0BAA\\u0BCA\\u0BB0\\u0BC1\\u0BA8\\u0BCD\\u0BA4 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`:`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B8E\\u0BA3\\u0BCD: ${r.divisor} \\u0B87\\u0BA9\\u0BCD \\u0BAA\\u0BB2\\u0BAE\\u0BBE\\u0B95 \\u0B87\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`;case\"unrecognized_keys\":return`\\u0B85\\u0B9F\\u0BC8\\u0BAF\\u0BBE\\u0BB3\\u0BAE\\u0BCD \\u0BA4\\u0BC6\\u0BB0\\u0BBF\\u0BAF\\u0BBE\\u0BA4 \\u0BB5\\u0BBF\\u0B9A\\u0BC8${r.keys.length>1?\"\\u0B95\\u0BB3\\u0BCD\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} \\u0B87\\u0BB2\\u0BCD \\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0BB5\\u0BBF\\u0B9A\\u0BC8`;case\"invalid_union\":return\"\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0BC0\\u0B9F\\u0BC1\";case\"invalid_element\":return`${r.origin} \\u0B87\\u0BB2\\u0BCD \\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0BAE\\u0BA4\\u0BBF\\u0BAA\\u0BCD\\u0BAA\\u0BC1`;default:return\"\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0BC0\\u0B9F\\u0BC1\"}}};function aS(){return{localeError:nk()}}var ik=()=>{let e={string:{unit:\"\\u0430\\u043B\\u043E\\u043C\\u0430\\u0442\",verb:\"\\u0434\\u043E\\u0448\\u0442\\u0430 \\u0431\\u043E\\u0448\\u0430\\u0434\"},file:{unit:\"\\u0431\\u0430\\u0439\\u0442\",verb:\"\\u0434\\u043E\\u0448\\u0442\\u0430 \\u0431\\u043E\\u0448\\u0430\\u0434\"},array:{unit:\"\\u0443\\u043D\\u0441\\u0443\\u0440\",verb:\"\\u0434\\u043E\\u0448\\u0442\\u0430 \\u0431\\u043E\\u0448\\u0430\\u0434\"},set:{unit:\"\\u0443\\u043D\\u0441\\u0443\\u0440\",verb:\"\\u0434\\u043E\\u0448\\u0442\\u0430 \\u0431\\u043E\\u0448\\u0430\\u0434\"},map:{unit:\"\\u0441\\u0430\\u0431\\u0442\",verb:\"\\u0434\\u043E\\u0448\\u0442\\u0430 \\u0431\\u043E\\u0448\\u0430\\u0434\"}};function t(r){return e[r]??null}let n={regex:\"\\u0432\\u0443\\u0440\\u0443\\u0434\",email:\"\\u0441\\u0443\\u0440\\u043E\\u0493\\u0430\\u0438 email\",url:\"URL\",emoji:\"\\u044D\\u043C\\u043E\\u04B7\\u0438\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u0441\\u0430\\u043D\\u0430\\u0432\\u0443 \\u0432\\u0430\\u049B\\u0442\\u0438 ISO\",date:\"\\u0441\\u0430\\u043D\\u0430\\u0438 ISO\",time:\"\\u0432\\u0430\\u049B\\u0442\\u0438 ISO\",duration:\"\\u0434\\u0430\\u0432\\u043E\\u043C\\u043D\\u043E\\u043A\\u0438\\u0438 ISO\",ipv4:\"\\u0441\\u0443\\u0440\\u043E\\u0493\\u0430\\u0438 IPv4\",ipv6:\"\\u0441\\u0443\\u0440\\u043E\\u0493\\u0430\\u0438 IPv6\",mac:\"\\u0441\\u0443\\u0440\\u043E\\u0493\\u0430\\u0438 MAC\",cidrv4:\"\\u043C\\u0430\\u04B3\\u0434\\u0443\\u0434\\u0430\\u0438 IPv4\",cidrv6:\"\\u043C\\u0430\\u04B3\\u0434\\u0443\\u0434\\u0430\\u0438 IPv6\",base64:\"\\u0441\\u0430\\u0442\\u0440\\u0438 \\u0434\\u0430\\u0440 \\u0444\\u043E\\u0440\\u043C\\u0430\\u0442\\u0438 base64\",base64url:\"\\u0441\\u0430\\u0442\\u0440\\u0438 \\u0434\\u0430\\u0440 \\u0444\\u043E\\u0440\\u043C\\u0430\\u0442\\u0438 base64url\",json_string:\"\\u0441\\u0430\\u0442\\u0440\\u0438 JSON\",e164:\"\\u0440\\u0430\\u049B\\u0430\\u043C\\u0438 E.164\",credit_card:\"\\u0440\\u0430\\u049B\\u0430\\u043C\\u0438 \\u043A\\u043E\\u0440\\u0442\\u0438 \\u043A\\u0440\\u0435\\u0434\\u0438\\u0442\\u04E3\",currency_code:\"\\u0440\\u0430\\u043C\\u0437\\u0438 \\u0430\\u0441\\u044A\\u043E\\u0440\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0432\\u0443\\u0440\\u0443\\u0434\"},o={nan:\"NaN\",number:\"\\u0440\\u0430\\u049B\\u0430\\u043C\",string:\"\\u0441\\u0430\\u0442\\u0440\",array:\"\\u043C\\u0430\\u0441\\u0441\\u0438\\u0432\",object:\"\\u043E\\u0431\\u044A\\u0435\\u043A\\u0442\",date:\"\\u0441\\u0430\\u043D\\u0430\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return`\\u0412\\u0443\\u0440\\u0443\\u0434\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442: ${i} \\u0438\\u043D\\u0442\\u0438\\u0437\\u043E\\u0440 \\u043C\\u0435\\u0440\\u0430\\u0444\\u0442, ${s} \\u0433\\u0438\\u0440\\u0438\\u0444\\u0442\\u0430 \\u0448\\u0443\\u0434`}case\"invalid_value\":return r.values.length===1?`\\u0412\\u0443\\u0440\\u0443\\u0434\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442: ${w(r.values[0])} \\u0438\\u043D\\u0442\\u0438\\u0437\\u043E\\u0440 \\u043C\\u0435\\u0440\\u0430\\u0444\\u0442`:`\\u0418\\u043D\\u0442\\u0438\\u0445\\u043E\\u0431\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442: \\u044F\\u043A\\u0435 \\u0430\\u0437 ${S(r.values,\"|\")} \\u0438\\u043D\\u0442\\u0438\\u0437\\u043E\\u0440 \\u043C\\u0435\\u0440\\u0430\\u0444\\u0442`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0425\\u0435\\u043B\\u0435 \\u043A\\u0430\\u043B\\u043E\\u043D: ${r.origin??\"\\u049B\\u0438\\u043C\\u0430\\u0442\"} \\u0431\\u043E\\u044F\\u0434 ${i}${r.maximum.toString()} ${a.unit} ${a.verb}`:`\\u0425\\u0435\\u043B\\u0435 \\u043A\\u0430\\u043B\\u043E\\u043D: ${r.origin??\"\\u049B\\u0438\\u043C\\u0430\\u0442\"} \\u0431\\u043E\\u044F\\u0434 ${i}${r.maximum.toString()} \\u0431\\u043E\\u0448\\u0430\\u0434`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0425\\u0435\\u043B\\u0435 \\u0445\\u0443\\u0440\\u0434: ${r.origin} \\u0431\\u043E\\u044F\\u0434 ${i}${r.minimum.toString()} ${a.unit} ${a.verb}`:`\\u0425\\u0435\\u043B\\u0435 \\u0445\\u0443\\u0440\\u0434: ${r.origin} \\u0431\\u043E\\u044F\\u0434 ${i}${r.minimum.toString()} \\u0431\\u043E\\u0448\\u0430\\u0434`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0421\\u0430\\u0442\\u0440\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442: \\u0431\\u043E\\u044F\\u0434 \\u0431\\u043E \"${i.prefix}\" \\u043E\\u0493\\u043E\\u0437 \\u0448\\u0430\\u0432\\u0430\\u0434`:i.format===\"ends_with\"?`\\u0421\\u0430\\u0442\\u0440\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442: \\u0431\\u043E\\u044F\\u0434 \\u0431\\u043E \"${i.suffix}\" \\u0430\\u043D\\u04B7\\u043E\\u043C \\u0451\\u0431\\u0430\\u0434`:i.format===\"includes\"?`\\u0421\\u0430\\u0442\\u0440\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442: \\u0431\\u043E\\u044F\\u0434 \"${i.includes}\"-\\u0440\\u043E \\u0434\\u0430\\u0440 \\u0431\\u0430\\u0440 \\u0433\\u0438\\u0440\\u0430\\u0434`:i.format===\"regex\"?`\\u0421\\u0430\\u0442\\u0440\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442: \\u0431\\u043E\\u044F\\u0434 \\u0431\\u0430 \\u043D\\u0430\\u043C\\u0443\\u043D\\u0430\\u0438 ${i.pattern} \\u043C\\u0443\\u0432\\u043E\\u0444\\u0438\\u049B\\u0430\\u0442 \\u043A\\u0443\\u043D\\u0430\\u0434`:`${n[i.format]??r.format}-\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442`}case\"not_multiple_of\":return`\\u0420\\u0430\\u049B\\u0430\\u043C\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442: \\u0431\\u043E\\u044F\\u0434 \\u0431\\u0430 ${r.divisor} \\u0431\\u0435 \\u0431\\u0430\\u049B\\u0438\\u044F \\u0442\\u0430\\u049B\\u0441\\u0438\\u043C \\u0448\\u0430\\u0432\\u0430\\u0434`;case\"unrecognized_keys\":return`\\u041A\\u0430\\u043B\\u0438\\u0434${r.keys.length>1?\"\\u04B3\\u043E\\u0438\":\"\\u0438\"} \\u043D\\u043E\\u043C\\u0430\\u044A\\u043B\\u0443\\u043C: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u041A\\u0430\\u043B\\u0438\\u0434\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442 \\u0434\\u0430\\u0440 ${r.origin}`;case\"invalid_union\":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\\u049A\\u0438\\u043C\\u0430\\u0442\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442\\u0438 \\u0434\\u0438\\u0441\\u043A\\u0440\\u0438\\u043C\\u0438\\u043D\\u0430\\u0442\\u043E\\u0440: ${r.options.map(a=>`'${a}'`).join(\" | \")} \\u0438\\u043D\\u0442\\u0438\\u0437\\u043E\\u0440 \\u043C\\u0435\\u0440\\u0430\\u0444\\u0442`:\"\\u0412\\u0443\\u0440\\u0443\\u0434\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442\";case\"invalid_element\":return`\\u049A\\u0438\\u043C\\u0430\\u0442\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442 \\u0434\\u0430\\u0440 ${r.origin}`;default:return\"\\u0412\\u0443\\u0440\\u0443\\u0434\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442\"}}};function sS(){return{localeError:ik()}}var ok=()=>{let e={string:{unit:\"\\u0E15\\u0E31\\u0E27\\u0E2D\\u0E31\\u0E01\\u0E29\\u0E23\",verb:\"\\u0E04\\u0E27\\u0E23\\u0E21\\u0E35\"},file:{unit:\"\\u0E44\\u0E1A\\u0E15\\u0E4C\",verb:\"\\u0E04\\u0E27\\u0E23\\u0E21\\u0E35\"},array:{unit:\"\\u0E23\\u0E32\\u0E22\\u0E01\\u0E32\\u0E23\",verb:\"\\u0E04\\u0E27\\u0E23\\u0E21\\u0E35\"},set:{unit:\"\\u0E23\\u0E32\\u0E22\\u0E01\\u0E32\\u0E23\",verb:\"\\u0E04\\u0E27\\u0E23\\u0E21\\u0E35\"},map:{unit:\"\\u0E23\\u0E32\\u0E22\\u0E01\\u0E32\\u0E23\",verb:\"\\u0E04\\u0E27\\u0E23\\u0E21\\u0E35\"}};function t(r){return e[r]??null}let n={regex:\"\\u0E02\\u0E49\\u0E2D\\u0E21\\u0E39\\u0E25\\u0E17\\u0E35\\u0E48\\u0E1B\\u0E49\\u0E2D\\u0E19\",email:\"\\u0E17\\u0E35\\u0E48\\u0E2D\\u0E22\\u0E39\\u0E48\\u0E2D\\u0E35\\u0E40\\u0E21\\u0E25\",url:\"URL\",emoji:\"\\u0E2D\\u0E34\\u0E42\\u0E21\\u0E08\\u0E34\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u0E27\\u0E31\\u0E19\\u0E17\\u0E35\\u0E48\\u0E40\\u0E27\\u0E25\\u0E32\\u0E41\\u0E1A\\u0E1A ISO\",date:\"\\u0E27\\u0E31\\u0E19\\u0E17\\u0E35\\u0E48\\u0E41\\u0E1A\\u0E1A ISO\",time:\"\\u0E40\\u0E27\\u0E25\\u0E32\\u0E41\\u0E1A\\u0E1A ISO\",duration:\"\\u0E0A\\u0E48\\u0E27\\u0E07\\u0E40\\u0E27\\u0E25\\u0E32\\u0E41\\u0E1A\\u0E1A ISO\",ipv4:\"\\u0E17\\u0E35\\u0E48\\u0E2D\\u0E22\\u0E39\\u0E48 IPv4\",ipv6:\"\\u0E17\\u0E35\\u0E48\\u0E2D\\u0E22\\u0E39\\u0E48 IPv6\",mac:\"\\u0E17\\u0E35\\u0E48\\u0E2D\\u0E22\\u0E39\\u0E48 MAC\",cidrv4:\"\\u0E0A\\u0E48\\u0E27\\u0E07 IP \\u0E41\\u0E1A\\u0E1A IPv4\",cidrv6:\"\\u0E0A\\u0E48\\u0E27\\u0E07 IP \\u0E41\\u0E1A\\u0E1A IPv6\",base64:\"\\u0E02\\u0E49\\u0E2D\\u0E04\\u0E27\\u0E32\\u0E21\\u0E41\\u0E1A\\u0E1A Base64\",base64url:\"\\u0E02\\u0E49\\u0E2D\\u0E04\\u0E27\\u0E32\\u0E21\\u0E41\\u0E1A\\u0E1A Base64 \\u0E2A\\u0E33\\u0E2B\\u0E23\\u0E31\\u0E1A URL\",json_string:\"\\u0E02\\u0E49\\u0E2D\\u0E04\\u0E27\\u0E32\\u0E21\\u0E41\\u0E1A\\u0E1A JSON\",e164:\"\\u0E40\\u0E1A\\u0E2D\\u0E23\\u0E4C\\u0E42\\u0E17\\u0E23\\u0E28\\u0E31\\u0E1E\\u0E17\\u0E4C\\u0E23\\u0E30\\u0E2B\\u0E27\\u0E48\\u0E32\\u0E07\\u0E1B\\u0E23\\u0E30\\u0E40\\u0E17\\u0E28 (E.164)\",credit_card:\"\\u0E2B\\u0E21\\u0E32\\u0E22\\u0E40\\u0E25\\u0E02\\u0E1A\\u0E31\\u0E15\\u0E23\\u0E40\\u0E04\\u0E23\\u0E14\\u0E34\\u0E15\",currency_code:\"\\u0E23\\u0E2B\\u0E31\\u0E2A\\u0E2A\\u0E01\\u0E38\\u0E25\\u0E40\\u0E07\\u0E34\\u0E19\",iban:\"IBAN\",jwt:\"\\u0E42\\u0E17\\u0E40\\u0E04\\u0E19 JWT\",template_literal:\"\\u0E02\\u0E49\\u0E2D\\u0E21\\u0E39\\u0E25\\u0E17\\u0E35\\u0E48\\u0E1B\\u0E49\\u0E2D\\u0E19\"},o={nan:\"NaN\",number:\"\\u0E15\\u0E31\\u0E27\\u0E40\\u0E25\\u0E02\",array:\"\\u0E2D\\u0E32\\u0E23\\u0E4C\\u0E40\\u0E23\\u0E22\\u0E4C (Array)\",null:\"\\u0E44\\u0E21\\u0E48\\u0E21\\u0E35\\u0E04\\u0E48\\u0E32 (null)\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u0E1B\\u0E23\\u0E30\\u0E40\\u0E20\\u0E17\\u0E02\\u0E49\\u0E2D\\u0E21\\u0E39\\u0E25\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E04\\u0E27\\u0E23\\u0E40\\u0E1B\\u0E47\\u0E19 instanceof ${r.expected} \\u0E41\\u0E15\\u0E48\\u0E44\\u0E14\\u0E49\\u0E23\\u0E31\\u0E1A ${s}`:`\\u0E1B\\u0E23\\u0E30\\u0E40\\u0E20\\u0E17\\u0E02\\u0E49\\u0E2D\\u0E21\\u0E39\\u0E25\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E04\\u0E27\\u0E23\\u0E40\\u0E1B\\u0E47\\u0E19 ${i} \\u0E41\\u0E15\\u0E48\\u0E44\\u0E14\\u0E49\\u0E23\\u0E31\\u0E1A ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0E04\\u0E48\\u0E32\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E04\\u0E27\\u0E23\\u0E40\\u0E1B\\u0E47\\u0E19 ${w(r.values[0])}`:`\\u0E15\\u0E31\\u0E27\\u0E40\\u0E25\\u0E37\\u0E2D\\u0E01\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E04\\u0E27\\u0E23\\u0E40\\u0E1B\\u0E47\\u0E19\\u0E2B\\u0E19\\u0E36\\u0E48\\u0E07\\u0E43\\u0E19 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"\\u0E44\\u0E21\\u0E48\\u0E40\\u0E01\\u0E34\\u0E19\":\"\\u0E19\\u0E49\\u0E2D\\u0E22\\u0E01\\u0E27\\u0E48\\u0E32\",a=t(r.origin);return a?`\\u0E40\\u0E01\\u0E34\\u0E19\\u0E01\\u0E33\\u0E2B\\u0E19\\u0E14: ${r.origin??\"\\u0E04\\u0E48\\u0E32\"} \\u0E04\\u0E27\\u0E23\\u0E21\\u0E35${i} ${r.maximum.toString()} ${a.unit??\"\\u0E23\\u0E32\\u0E22\\u0E01\\u0E32\\u0E23\"}`:`\\u0E40\\u0E01\\u0E34\\u0E19\\u0E01\\u0E33\\u0E2B\\u0E19\\u0E14: ${r.origin??\"\\u0E04\\u0E48\\u0E32\"} \\u0E04\\u0E27\\u0E23\\u0E21\\u0E35${i} ${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\"\\u0E2D\\u0E22\\u0E48\\u0E32\\u0E07\\u0E19\\u0E49\\u0E2D\\u0E22\":\"\\u0E21\\u0E32\\u0E01\\u0E01\\u0E27\\u0E48\\u0E32\",a=t(r.origin);return a?`\\u0E19\\u0E49\\u0E2D\\u0E22\\u0E01\\u0E27\\u0E48\\u0E32\\u0E01\\u0E33\\u0E2B\\u0E19\\u0E14: ${r.origin} \\u0E04\\u0E27\\u0E23\\u0E21\\u0E35${i} ${r.minimum.toString()} ${a.unit}`:`\\u0E19\\u0E49\\u0E2D\\u0E22\\u0E01\\u0E27\\u0E48\\u0E32\\u0E01\\u0E33\\u0E2B\\u0E19\\u0E14: ${r.origin} \\u0E04\\u0E27\\u0E23\\u0E21\\u0E35${i} ${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0E23\\u0E39\\u0E1B\\u0E41\\u0E1A\\u0E1A\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E02\\u0E49\\u0E2D\\u0E04\\u0E27\\u0E32\\u0E21\\u0E15\\u0E49\\u0E2D\\u0E07\\u0E02\\u0E36\\u0E49\\u0E19\\u0E15\\u0E49\\u0E19\\u0E14\\u0E49\\u0E27\\u0E22 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u0E23\\u0E39\\u0E1B\\u0E41\\u0E1A\\u0E1A\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E02\\u0E49\\u0E2D\\u0E04\\u0E27\\u0E32\\u0E21\\u0E15\\u0E49\\u0E2D\\u0E07\\u0E25\\u0E07\\u0E17\\u0E49\\u0E32\\u0E22\\u0E14\\u0E49\\u0E27\\u0E22 \"${i.suffix}\"`:i.format===\"includes\"?`\\u0E23\\u0E39\\u0E1B\\u0E41\\u0E1A\\u0E1A\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E02\\u0E49\\u0E2D\\u0E04\\u0E27\\u0E32\\u0E21\\u0E15\\u0E49\\u0E2D\\u0E07\\u0E21\\u0E35 \"${i.includes}\" \\u0E2D\\u0E22\\u0E39\\u0E48\\u0E43\\u0E19\\u0E02\\u0E49\\u0E2D\\u0E04\\u0E27\\u0E32\\u0E21`:i.format===\"regex\"?`\\u0E23\\u0E39\\u0E1B\\u0E41\\u0E1A\\u0E1A\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E15\\u0E49\\u0E2D\\u0E07\\u0E15\\u0E23\\u0E07\\u0E01\\u0E31\\u0E1A\\u0E23\\u0E39\\u0E1B\\u0E41\\u0E1A\\u0E1A\\u0E17\\u0E35\\u0E48\\u0E01\\u0E33\\u0E2B\\u0E19\\u0E14 ${i.pattern}`:`\\u0E23\\u0E39\\u0E1B\\u0E41\\u0E1A\\u0E1A\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u0E15\\u0E31\\u0E27\\u0E40\\u0E25\\u0E02\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E15\\u0E49\\u0E2D\\u0E07\\u0E40\\u0E1B\\u0E47\\u0E19\\u0E08\\u0E33\\u0E19\\u0E27\\u0E19\\u0E17\\u0E35\\u0E48\\u0E2B\\u0E32\\u0E23\\u0E14\\u0E49\\u0E27\\u0E22 ${r.divisor} \\u0E44\\u0E14\\u0E49\\u0E25\\u0E07\\u0E15\\u0E31\\u0E27`;case\"unrecognized_keys\":return`\\u0E1E\\u0E1A\\u0E04\\u0E35\\u0E22\\u0E4C\\u0E17\\u0E35\\u0E48\\u0E44\\u0E21\\u0E48\\u0E23\\u0E39\\u0E49\\u0E08\\u0E31\\u0E01: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u0E04\\u0E35\\u0E22\\u0E4C\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07\\u0E43\\u0E19 ${r.origin}`;case\"invalid_union\":return\"\\u0E02\\u0E49\\u0E2D\\u0E21\\u0E39\\u0E25\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E44\\u0E21\\u0E48\\u0E15\\u0E23\\u0E07\\u0E01\\u0E31\\u0E1A\\u0E23\\u0E39\\u0E1B\\u0E41\\u0E1A\\u0E1A\\u0E22\\u0E39\\u0E40\\u0E19\\u0E35\\u0E22\\u0E19\\u0E17\\u0E35\\u0E48\\u0E01\\u0E33\\u0E2B\\u0E19\\u0E14\\u0E44\\u0E27\\u0E49\";case\"invalid_element\":return`\\u0E02\\u0E49\\u0E2D\\u0E21\\u0E39\\u0E25\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07\\u0E43\\u0E19 ${r.origin}`;default:return\"\\u0E02\\u0E49\\u0E2D\\u0E21\\u0E39\\u0E25\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07\"}}};function cS(){return{localeError:ok()}}var ak=()=>{let e={string:{unit:\"simwol\",verb:\"bolmaly\"},file:{unit:\"ba\\xFDt\",verb:\"bolmaly\"},array:{unit:\"elementler\",verb:\"bolmaly\"},set:{unit:\"elementler\",verb:\"bolmaly\"},map:{unit:\"elementler\",verb:\"bolmaly\"}};function t(r){return e[r]??null}let n={regex:\"giri\\u015F\",email:\"e-po\\xE7ta salgysy\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO sene we wagt\",date:\"ISO sene\",time:\"ISO wagt\",duration:\"ISO wagt aralygy\",ipv4:\"IPv4 salgysy\",ipv6:\"IPv6 salgysy\",mac:\"MAC salgysy\",cidrv4:\"IPv4 aralygy\",cidrv6:\"IPv6 aralygy\",base64:\"base64 bilen \\u015Fifrlenen setir\",base64url:\"base64url bilen \\u015Fifrlenen setir\",json_string:\"JSON setiri\",e164:\"E.164 nomeri\",credit_card:\"kredit kartyny\\u0148 nomeri\",currency_code:\"wal\\xFDuta kody\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u015Fablon\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return`N\\xE4dogry baha: gara\\u015Fylan ${i} \\xFDerine ${s} alyndy`}case\"invalid_value\":return r.values.length===1?`N\\xE4dogry baha: ${w(r.values[0])} bolmaly`:`N\\xE4dogry sa\\xFDlaw: a\\u015Fakdakylardan biri bolmaly: ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Has uly: gara\\u015Fyl\\xFDan ${r.origin??\"baha\"} ${i} ${r.maximum.toString()} ${a.unit??\"element\"}`:`Has uly: gara\\u015Fyl\\xFDan ${r.origin??\"baha\"} ${i} ${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Has ki\\xE7i: gara\\u015Fyl\\xFDan ${r.origin} ${i} ${r.minimum.toString()} ${a.unit}`:`Has ki\\xE7i: gara\\u015Fyl\\xFDan ${r.origin} ${i} ${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`N\\xE4dogry setir: \"${i.prefix}\" bilen ba\\u015Flamaly`:i.format===\"ends_with\"?`N\\xE4dogry setir: \"${i.suffix}\" bilen gutarmaly`:i.format===\"includes\"?`N\\xE4dogry setir: \"${i.includes}\" saklamaly`:i.format===\"regex\"?`N\\xE4dogry setir: ${i.pattern} nusga la\\xFDyk bolmaly`:`N\\xE4dogry ${n[i.format]??r.format}`}case\"not_multiple_of\":return`N\\xE4dogry san: ${r.divisor} bilen galyndysyz b\\xF6l\\xFCnmeli`;case\"unrecognized_keys\":return`Tanalma\\xFDan a\\xE7ar${r.keys.length>1?\"lar\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} i\\xE7inde n\\xE4dogry a\\xE7ar`;case\"invalid_union\":return\"N\\xE4dogry baha\";case\"invalid_element\":return`${r.origin} i\\xE7inde n\\xE4dogry baha`;default:return\"N\\xE4dogry baha\"}}};function lS(){return{localeError:ak()}}var sk=()=>{let e={string:{unit:\"karakter\",verb:\"olmal\\u0131\"},file:{unit:\"bayt\",verb:\"olmal\\u0131\"},array:{unit:\"\\xF6\\u011Fe\",verb:\"olmal\\u0131\"},set:{unit:\"\\xF6\\u011Fe\",verb:\"olmal\\u0131\"},map:{unit:\"\\xF6\\u011Fe\",verb:\"olmal\\u0131\"}};function t(r){return e[r]??null}let n={regex:\"girdi\",email:\"e-posta adresi\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO tarih ve saat\",date:\"ISO tarih\",time:\"ISO saat\",duration:\"ISO s\\xFCre\",ipv4:\"IPv4 adresi\",ipv6:\"IPv6 adresi\",mac:\"MAC adresi\",cidrv4:\"IPv4 aral\\u0131\\u011F\\u0131\",cidrv6:\"IPv6 aral\\u0131\\u011F\\u0131\",base64:\"base64 ile \\u015Fifrelenmi\\u015F metin\",base64url:\"base64url ile \\u015Fifrelenmi\\u015F metin\",json_string:\"JSON dizesi\",e164:\"E.164 say\\u0131s\\u0131\",credit_card:\"kredi kart\\u0131 numaras\\u0131\",currency_code:\"para birimi kodu\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u015Eablon dizesi\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Ge\\xE7ersiz de\\u011Fer: beklenen instanceof ${r.expected}, al\\u0131nan ${s}`:`Ge\\xE7ersiz de\\u011Fer: beklenen ${i}, al\\u0131nan ${s}`}case\"invalid_value\":return r.values.length===1?`Ge\\xE7ersiz de\\u011Fer: beklenen ${w(r.values[0])}`:`Ge\\xE7ersiz se\\xE7enek: a\\u015Fa\\u011F\\u0131dakilerden biri olmal\\u0131: ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\xC7ok b\\xFCy\\xFCk: beklenen ${r.origin??\"de\\u011Fer\"} ${i}${r.maximum.toString()} ${a.unit??\"\\xF6\\u011Fe\"}`:`\\xC7ok b\\xFCy\\xFCk: beklenen ${r.origin??\"de\\u011Fer\"} ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\xC7ok k\\xFC\\xE7\\xFCk: beklenen ${r.origin} ${i}${r.minimum.toString()} ${a.unit}`:`\\xC7ok k\\xFC\\xE7\\xFCk: beklenen ${r.origin} ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Ge\\xE7ersiz metin: \"${i.prefix}\" ile ba\\u015Flamal\\u0131`:i.format===\"ends_with\"?`Ge\\xE7ersiz metin: \"${i.suffix}\" ile bitmeli`:i.format===\"includes\"?`Ge\\xE7ersiz metin: \"${i.includes}\" i\\xE7ermeli`:i.format===\"regex\"?`Ge\\xE7ersiz metin: ${i.pattern} desenine uymal\\u0131`:`Ge\\xE7ersiz ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Ge\\xE7ersiz say\\u0131: ${r.divisor} ile tam b\\xF6l\\xFCnebilmeli`;case\"unrecognized_keys\":return`Tan\\u0131nmayan anahtar${r.keys.length>1?\"lar\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} i\\xE7inde ge\\xE7ersiz anahtar`;case\"invalid_union\":return\"Ge\\xE7ersiz de\\u011Fer\";case\"invalid_element\":return`${r.origin} i\\xE7inde ge\\xE7ersiz de\\u011Fer`;default:return\"Ge\\xE7ersiz de\\u011Fer\"}}};function uS(){return{localeError:sk()}}var ck=()=>{let e={string:{unit:\"\\u0441\\u0438\\u043C\\u0432\\u043E\\u043B\\u0456\\u0432\",verb:\"\\u043C\\u0430\\u0442\\u0438\\u043C\\u0435\"},file:{unit:\"\\u0431\\u0430\\u0439\\u0442\\u0456\\u0432\",verb:\"\\u043C\\u0430\\u0442\\u0438\\u043C\\u0435\"},array:{unit:\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0456\\u0432\",verb:\"\\u043C\\u0430\\u0442\\u0438\\u043C\\u0435\"},set:{unit:\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0456\\u0432\",verb:\"\\u043C\\u0430\\u0442\\u0438\\u043C\\u0435\"},map:{unit:\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0456\\u0432\",verb:\"\\u043C\\u0430\\u0442\\u0438\\u043C\\u0435\"}};function t(r){return e[r]??null}let n={regex:\"\\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456\",email:\"\\u0430\\u0434\\u0440\\u0435\\u0441\\u0430 \\u0435\\u043B\\u0435\\u043A\\u0442\\u0440\\u043E\\u043D\\u043D\\u043E\\u0457 \\u043F\\u043E\\u0448\\u0442\\u0438\",url:\"URL\",emoji:\"\\u0435\\u043C\\u043E\\u0434\\u0437\\u0456\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u0434\\u0430\\u0442\\u0430 \\u0442\\u0430 \\u0447\\u0430\\u0441 ISO\",date:\"\\u0434\\u0430\\u0442\\u0430 ISO\",time:\"\\u0447\\u0430\\u0441 ISO\",duration:\"\\u0442\\u0440\\u0438\\u0432\\u0430\\u043B\\u0456\\u0441\\u0442\\u044C ISO\",ipv4:\"\\u0430\\u0434\\u0440\\u0435\\u0441\\u0430 IPv4\",ipv6:\"\\u0430\\u0434\\u0440\\u0435\\u0441\\u0430 IPv6\",mac:\"\\u0430\\u0434\\u0440\\u0435\\u0441\\u0430 MAC\",cidrv4:\"\\u0434\\u0456\\u0430\\u043F\\u0430\\u0437\\u043E\\u043D IPv4\",cidrv6:\"\\u0434\\u0456\\u0430\\u043F\\u0430\\u0437\\u043E\\u043D IPv6\",base64:\"\\u0440\\u044F\\u0434\\u043E\\u043A \\u0443 \\u043A\\u043E\\u0434\\u0443\\u0432\\u0430\\u043D\\u043D\\u0456 base64\",base64url:\"\\u0440\\u044F\\u0434\\u043E\\u043A \\u0443 \\u043A\\u043E\\u0434\\u0443\\u0432\\u0430\\u043D\\u043D\\u0456 base64url\",json_string:\"\\u0440\\u044F\\u0434\\u043E\\u043A JSON\",e164:\"\\u043D\\u043E\\u043C\\u0435\\u0440 E.164\",credit_card:\"\\u043D\\u043E\\u043C\\u0435\\u0440 \\u043A\\u0440\\u0435\\u0434\\u0438\\u0442\\u043D\\u043E\\u0457 \\u043A\\u0430\\u0440\\u0442\\u043A\\u0438\",currency_code:\"\\u043A\\u043E\\u0434 \\u0432\\u0430\\u043B\\u044E\\u0442\\u0438\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456\"},o={nan:\"NaN\",number:\"\\u0447\\u0438\\u0441\\u043B\\u043E\",array:\"\\u043C\\u0430\\u0441\\u0438\\u0432\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0456 \\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F instanceof ${r.expected}, \\u043E\\u0442\\u0440\\u0438\\u043C\\u0430\\u043D\\u043E ${s}`:`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0456 \\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F ${i}, \\u043E\\u0442\\u0440\\u0438\\u043C\\u0430\\u043D\\u043E ${s}`}case\"invalid_value\":return r.values.length===1?`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0456 \\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F ${w(r.values[0])}`:`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0430 \\u043E\\u043F\\u0446\\u0456\\u044F: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F \\u043E\\u0434\\u043D\\u0435 \\u0437 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u043E \\u0432\\u0435\\u043B\\u0438\\u043A\\u0435: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F, \\u0449\\u043E ${r.origin??\"\\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u043D\\u044F\"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit??\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0456\\u0432\"}`:`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u043E \\u0432\\u0435\\u043B\\u0438\\u043A\\u0435: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F, \\u0449\\u043E ${r.origin??\"\\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u043D\\u044F\"} \\u0431\\u0443\\u0434\\u0435 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u043E \\u043C\\u0430\\u043B\\u0435: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F, \\u0449\\u043E ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u043E \\u043C\\u0430\\u043B\\u0435: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F, \\u0449\\u043E ${r.origin} \\u0431\\u0443\\u0434\\u0435 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0438\\u0439 \\u0440\\u044F\\u0434\\u043E\\u043A: \\u043F\\u043E\\u0432\\u0438\\u043D\\u0435\\u043D \\u043F\\u043E\\u0447\\u0438\\u043D\\u0430\\u0442\\u0438\\u0441\\u044F \\u0437 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0438\\u0439 \\u0440\\u044F\\u0434\\u043E\\u043A: \\u043F\\u043E\\u0432\\u0438\\u043D\\u0435\\u043D \\u0437\\u0430\\u043A\\u0456\\u043D\\u0447\\u0443\\u0432\\u0430\\u0442\\u0438\\u0441\\u044F \\u043D\\u0430 \"${i.suffix}\"`:i.format===\"includes\"?`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0438\\u0439 \\u0440\\u044F\\u0434\\u043E\\u043A: \\u043F\\u043E\\u0432\\u0438\\u043D\\u0435\\u043D \\u043C\\u0456\\u0441\\u0442\\u0438\\u0442\\u0438 \"${i.includes}\"`:i.format===\"regex\"?`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0438\\u0439 \\u0440\\u044F\\u0434\\u043E\\u043A: \\u043F\\u043E\\u0432\\u0438\\u043D\\u0435\\u043D \\u0432\\u0456\\u0434\\u043F\\u043E\\u0432\\u0456\\u0434\\u0430\\u0442\\u0438 \\u0448\\u0430\\u0431\\u043B\\u043E\\u043D\\u0443 ${i.pattern}`:`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0438\\u0439 ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0435 \\u0447\\u0438\\u0441\\u043B\\u043E: \\u043F\\u043E\\u0432\\u0438\\u043D\\u043D\\u043E \\u0431\\u0443\\u0442\\u0438 \\u043A\\u0440\\u0430\\u0442\\u043D\\u0438\\u043C ${r.divisor}`;case\"unrecognized_keys\":return`\\u041D\\u0435\\u0440\\u043E\\u0437\\u043F\\u0456\\u0437\\u043D\\u0430\\u043D\\u0438\\u0439 \\u043A\\u043B\\u044E\\u0447${r.keys.length>1?\"\\u0456\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0438\\u0439 \\u043A\\u043B\\u044E\\u0447 \\u0443 ${r.origin}`;case\"invalid_union\":return\"\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0456 \\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456\";case\"invalid_element\":return`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0435 \\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u043D\\u044F \\u0443 ${r.origin}`;default:return\"\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0456 \\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456\"}}};function Tl(){return{localeError:ck()}}function dS(){return Tl()}var lk=()=>{let e={string:{unit:\"\\u062D\\u0631\\u0648\\u0641\",verb:\"\\u06C1\\u0648\\u0646\\u0627\"},file:{unit:\"\\u0628\\u0627\\u0626\\u0679\\u0633\",verb:\"\\u06C1\\u0648\\u0646\\u0627\"},array:{unit:\"\\u0622\\u0626\\u0679\\u0645\\u0632\",verb:\"\\u06C1\\u0648\\u0646\\u0627\"},set:{unit:\"\\u0622\\u0626\\u0679\\u0645\\u0632\",verb:\"\\u06C1\\u0648\\u0646\\u0627\"},map:{unit:\"\\u0622\\u0626\\u0679\\u0645\\u0632\",verb:\"\\u06C1\\u0648\\u0646\\u0627\"}};function t(r){return e[r]??null}let n={regex:\"\\u0627\\u0646 \\u067E\\u0679\",email:\"\\u0627\\u06CC \\u0645\\u06CC\\u0644 \\u0627\\u06CC\\u0688\\u0631\\u06CC\\u0633\",url:\"\\u06CC\\u0648 \\u0622\\u0631 \\u0627\\u06CC\\u0644\",emoji:\"\\u0627\\u06CC\\u0645\\u0648\\u062C\\u06CC\",uuid:\"\\u06CC\\u0648 \\u06CC\\u0648 \\u0622\\u0626\\u06CC \\u0688\\u06CC\",uuidv4:\"\\u06CC\\u0648 \\u06CC\\u0648 \\u0622\\u0626\\u06CC \\u0688\\u06CC \\u0648\\u06CC 4\",uuidv6:\"\\u06CC\\u0648 \\u06CC\\u0648 \\u0622\\u0626\\u06CC \\u0688\\u06CC \\u0648\\u06CC 6\",nanoid:\"\\u0646\\u06CC\\u0646\\u0648 \\u0622\\u0626\\u06CC \\u0688\\u06CC\",guid:\"\\u062C\\u06CC \\u06CC\\u0648 \\u0622\\u0626\\u06CC \\u0688\\u06CC\",cuid:\"\\u0633\\u06CC \\u06CC\\u0648 \\u0622\\u0626\\u06CC \\u0688\\u06CC\",cuid2:\"\\u0633\\u06CC \\u06CC\\u0648 \\u0622\\u0626\\u06CC \\u0688\\u06CC 2\",ulid:\"\\u06CC\\u0648 \\u0627\\u06CC\\u0644 \\u0622\\u0626\\u06CC \\u0688\\u06CC\",xid:\"\\u0627\\u06CC\\u06A9\\u0633 \\u0622\\u0626\\u06CC \\u0688\\u06CC\",ksuid:\"\\u06A9\\u06D2 \\u0627\\u06CC\\u0633 \\u06CC\\u0648 \\u0622\\u0626\\u06CC \\u0688\\u06CC\",datetime:\"\\u0622\\u0626\\u06CC \\u0627\\u06CC\\u0633 \\u0627\\u0648 \\u0688\\u06CC\\u0679 \\u0679\\u0627\\u0626\\u0645\",date:\"\\u0622\\u0626\\u06CC \\u0627\\u06CC\\u0633 \\u0627\\u0648 \\u062A\\u0627\\u0631\\u06CC\\u062E\",time:\"\\u0622\\u0626\\u06CC \\u0627\\u06CC\\u0633 \\u0627\\u0648 \\u0648\\u0642\\u062A\",duration:\"\\u0622\\u0626\\u06CC \\u0627\\u06CC\\u0633 \\u0627\\u0648 \\u0645\\u062F\\u062A\",ipv4:\"\\u0622\\u0626\\u06CC \\u067E\\u06CC \\u0648\\u06CC 4 \\u0627\\u06CC\\u0688\\u0631\\u06CC\\u0633\",ipv6:\"\\u0622\\u0626\\u06CC \\u067E\\u06CC \\u0648\\u06CC 6 \\u0627\\u06CC\\u0688\\u0631\\u06CC\\u0633\",mac:\"\\u0627\\u06CC\\u0645 \\u0627\\u06D2 \\u0633\\u06CC \\u0627\\u06CC\\u0688\\u0631\\u06CC\\u0633\",cidrv4:\"\\u0622\\u0626\\u06CC \\u067E\\u06CC \\u0648\\u06CC 4 \\u0631\\u06CC\\u0646\\u062C\",cidrv6:\"\\u0622\\u0626\\u06CC \\u067E\\u06CC \\u0648\\u06CC 6 \\u0631\\u06CC\\u0646\\u062C\",base64:\"\\u0628\\u06CC\\u0633 64 \\u0627\\u0646 \\u06A9\\u0648\\u0688\\u0688 \\u0633\\u0679\\u0631\\u0646\\u06AF\",base64url:\"\\u0628\\u06CC\\u0633 64 \\u06CC\\u0648 \\u0622\\u0631 \\u0627\\u06CC\\u0644 \\u0627\\u0646 \\u06A9\\u0648\\u0688\\u0688 \\u0633\\u0679\\u0631\\u0646\\u06AF\",json_string:\"\\u062C\\u06D2 \\u0627\\u06CC\\u0633 \\u0627\\u0648 \\u0627\\u06CC\\u0646 \\u0633\\u0679\\u0631\\u0646\\u06AF\",e164:\"\\u0627\\u06CC 164 \\u0646\\u0645\\u0628\\u0631\",credit_card:\"\\u06A9\\u0631\\u06CC\\u0688\\u0679 \\u06A9\\u0627\\u0631\\u0688 \\u0646\\u0645\\u0628\\u0631\",currency_code:\"\\u06A9\\u0631\\u0646\\u0633\\u06CC \\u06A9\\u0648\\u0688\",iban:\"IBAN\",jwt:\"\\u062C\\u06D2 \\u0688\\u0628\\u0644\\u06CC\\u0648 \\u0679\\u06CC\",template_literal:\"\\u0627\\u0646 \\u067E\\u0679\"},o={nan:\"NaN\",number:\"\\u0646\\u0645\\u0628\\u0631\",array:\"\\u0622\\u0631\\u06D2\",null:\"\\u0646\\u0644\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u063A\\u0644\\u0637 \\u0627\\u0646 \\u067E\\u0679: instanceof ${r.expected} \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627\\u060C ${s} \\u0645\\u0648\\u0635\\u0648\\u0644 \\u06C1\\u0648\\u0627`:`\\u063A\\u0644\\u0637 \\u0627\\u0646 \\u067E\\u0679: ${i} \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627\\u060C ${s} \\u0645\\u0648\\u0635\\u0648\\u0644 \\u06C1\\u0648\\u0627`}case\"invalid_value\":return r.values.length===1?`\\u063A\\u0644\\u0637 \\u0627\\u0646 \\u067E\\u0679: ${w(r.values[0])} \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627`:`\\u063A\\u0644\\u0637 \\u0622\\u067E\\u0634\\u0646: ${S(r.values,\"|\")} \\u0645\\u06CC\\u06BA \\u0633\\u06D2 \\u0627\\u06CC\\u06A9 \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0628\\u06C1\\u062A \\u0628\\u0691\\u0627: ${r.origin??\"\\u0648\\u06CC\\u0644\\u06CC\\u0648\"} \\u06A9\\u06D2 ${i}${r.maximum.toString()} ${a.unit??\"\\u0639\\u0646\\u0627\\u0635\\u0631\"} \\u06C1\\u0648\\u0646\\u06D2 \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u06D2`:`\\u0628\\u06C1\\u062A \\u0628\\u0691\\u0627: ${r.origin??\"\\u0648\\u06CC\\u0644\\u06CC\\u0648\"} \\u06A9\\u0627 ${i}${r.maximum.toString()} \\u06C1\\u0648\\u0646\\u0627 \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0628\\u06C1\\u062A \\u0686\\u06BE\\u0648\\u0679\\u0627: ${r.origin} \\u06A9\\u06D2 ${i}${r.minimum.toString()} ${a.unit} \\u06C1\\u0648\\u0646\\u06D2 \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u06D2`:`\\u0628\\u06C1\\u062A \\u0686\\u06BE\\u0648\\u0679\\u0627: ${r.origin} \\u06A9\\u0627 ${i}${r.minimum.toString()} \\u06C1\\u0648\\u0646\\u0627 \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u063A\\u0644\\u0637 \\u0633\\u0679\\u0631\\u0646\\u06AF: \"${i.prefix}\" \\u0633\\u06D2 \\u0634\\u0631\\u0648\\u0639 \\u06C1\\u0648\\u0646\\u0627 \\u0686\\u0627\\u06C1\\u06CC\\u06D2`:i.format===\"ends_with\"?`\\u063A\\u0644\\u0637 \\u0633\\u0679\\u0631\\u0646\\u06AF: \"${i.suffix}\" \\u067E\\u0631 \\u062E\\u062A\\u0645 \\u06C1\\u0648\\u0646\\u0627 \\u0686\\u0627\\u06C1\\u06CC\\u06D2`:i.format===\"includes\"?`\\u063A\\u0644\\u0637 \\u0633\\u0679\\u0631\\u0646\\u06AF: \"${i.includes}\" \\u0634\\u0627\\u0645\\u0644 \\u06C1\\u0648\\u0646\\u0627 \\u0686\\u0627\\u06C1\\u06CC\\u06D2`:i.format===\"regex\"?`\\u063A\\u0644\\u0637 \\u0633\\u0679\\u0631\\u0646\\u06AF: \\u067E\\u06CC\\u0679\\u0631\\u0646 ${i.pattern} \\u0633\\u06D2 \\u0645\\u06CC\\u0686 \\u06C1\\u0648\\u0646\\u0627 \\u0686\\u0627\\u06C1\\u06CC\\u06D2`:`\\u063A\\u0644\\u0637 ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u063A\\u0644\\u0637 \\u0646\\u0645\\u0628\\u0631: ${r.divisor} \\u06A9\\u0627 \\u0645\\u0636\\u0627\\u0639\\u0641 \\u06C1\\u0648\\u0646\\u0627 \\u0686\\u0627\\u06C1\\u06CC\\u06D2`;case\"unrecognized_keys\":return`\\u063A\\u06CC\\u0631 \\u062A\\u0633\\u0644\\u06CC\\u0645 \\u0634\\u062F\\u06C1 \\u06A9\\u06CC${r.keys.length>1?\"\\u0632\":\"\"}: ${S(r.keys,\"\\u060C \")}`;case\"invalid_key\":return`${r.origin} \\u0645\\u06CC\\u06BA \\u063A\\u0644\\u0637 \\u06A9\\u06CC`;case\"invalid_union\":return\"\\u063A\\u0644\\u0637 \\u0627\\u0646 \\u067E\\u0679\";case\"invalid_element\":return`${r.origin} \\u0645\\u06CC\\u06BA \\u063A\\u0644\\u0637 \\u0648\\u06CC\\u0644\\u06CC\\u0648`;default:return\"\\u063A\\u0644\\u0637 \\u0627\\u0646 \\u067E\\u0679\"}}};function mS(){return{localeError:lk()}}var uk=()=>{let e={string:{unit:\"belgi\",verb:\"bo\\u2018lishi kerak\"},file:{unit:\"bayt\",verb:\"bo\\u2018lishi kerak\"},array:{unit:\"element\",verb:\"bo\\u2018lishi kerak\"},set:{unit:\"element\",verb:\"bo\\u2018lishi kerak\"},map:{unit:\"yozuv\",verb:\"bo\\u2018lishi kerak\"}};function t(r){return e[r]??null}let n={regex:\"kirish\",email:\"elektron pochta manzili\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO sana va vaqti\",date:\"ISO sana\",time:\"ISO vaqt\",duration:\"ISO davomiylik\",ipv4:\"IPv4 manzil\",ipv6:\"IPv6 manzil\",mac:\"MAC manzil\",cidrv4:\"IPv4 diapazon\",cidrv6:\"IPv6 diapazon\",base64:\"base64 kodlangan satr\",base64url:\"base64url kodlangan satr\",json_string:\"JSON satr\",e164:\"E.164 raqam\",credit_card:\"kredit karta raqami\",currency_code:\"valyuta kodi\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"kirish\"},o={nan:\"NaN\",number:\"raqam\",array:\"massiv\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Noto\\u2018g\\u2018ri kirish: kutilgan instanceof ${r.expected}, qabul qilingan ${s}`:`Noto\\u2018g\\u2018ri kirish: kutilgan ${i}, qabul qilingan ${s}`}case\"invalid_value\":return r.values.length===1?`Noto\\u2018g\\u2018ri kirish: kutilgan ${w(r.values[0])}`:`Noto\\u2018g\\u2018ri variant: quyidagilardan biri kutilgan ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Juda katta: kutilgan ${r.origin??\"qiymat\"} ${i}${r.maximum.toString()} ${a.unit} ${a.verb}`:`Juda katta: kutilgan ${r.origin??\"qiymat\"} ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Juda kichik: kutilgan ${r.origin} ${i}${r.minimum.toString()} ${a.unit} ${a.verb}`:`Juda kichik: kutilgan ${r.origin} ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Noto\\u2018g\\u2018ri satr: \"${i.prefix}\" bilan boshlanishi kerak`:i.format===\"ends_with\"?`Noto\\u2018g\\u2018ri satr: \"${i.suffix}\" bilan tugashi kerak`:i.format===\"includes\"?`Noto\\u2018g\\u2018ri satr: \"${i.includes}\" ni o\\u2018z ichiga olishi kerak`:i.format===\"regex\"?`Noto\\u2018g\\u2018ri satr: ${i.pattern} shabloniga mos kelishi kerak`:`Noto\\u2018g\\u2018ri ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Noto\\u2018g\\u2018ri raqam: ${r.divisor} ning karralisi bo\\u2018lishi kerak`;case\"unrecognized_keys\":return`Noma\\u2019lum kalit${r.keys.length>1?\"lar\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} dagi kalit noto\\u2018g\\u2018ri`;case\"invalid_union\":return\"Noto\\u2018g\\u2018ri kirish\";case\"invalid_element\":return`${r.origin} da noto\\u2018g\\u2018ri qiymat`;default:return\"Noto\\u2018g\\u2018ri kirish\"}}};function pS(){return{localeError:uk()}}var dk=()=>{let e={string:{unit:\"k\\xFD t\\u1EF1\",verb:\"c\\xF3\"},file:{unit:\"byte\",verb:\"c\\xF3\"},array:{unit:\"ph\\u1EA7n t\\u1EED\",verb:\"c\\xF3\"},set:{unit:\"ph\\u1EA7n t\\u1EED\",verb:\"c\\xF3\"},map:{unit:\"ph\\u1EA7n t\\u1EED\",verb:\"c\\xF3\"}};function t(r){return e[r]??null}let n={regex:\"\\u0111\\u1EA7u v\\xE0o\",email:\"\\u0111\\u1ECBa ch\\u1EC9 email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ng\\xE0y gi\\u1EDD ISO\",date:\"ng\\xE0y ISO\",time:\"gi\\u1EDD ISO\",duration:\"kho\\u1EA3ng th\\u1EDDi gian ISO\",ipv4:\"\\u0111\\u1ECBa ch\\u1EC9 IPv4\",ipv6:\"\\u0111\\u1ECBa ch\\u1EC9 IPv6\",mac:\"\\u0111\\u1ECBa ch\\u1EC9 MAC\",cidrv4:\"d\\u1EA3i IPv4\",cidrv6:\"d\\u1EA3i IPv6\",base64:\"chu\\u1ED7i m\\xE3 h\\xF3a base64\",base64url:\"chu\\u1ED7i m\\xE3 h\\xF3a base64url\",json_string:\"chu\\u1ED7i JSON\",e164:\"s\\u1ED1 E.164\",credit_card:\"s\\u1ED1 th\\u1EBB t\\xEDn d\\u1EE5ng\",currency_code:\"m\\xE3 ti\\u1EC1n t\\u1EC7\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0111\\u1EA7u v\\xE0o\"},o={nan:\"NaN\",number:\"s\\u1ED1\",array:\"m\\u1EA3ng\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7: mong \\u0111\\u1EE3i instanceof ${r.expected}, nh\\u1EADn \\u0111\\u01B0\\u1EE3c ${s}`:`\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7: mong \\u0111\\u1EE3i ${i}, nh\\u1EADn \\u0111\\u01B0\\u1EE3c ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7: mong \\u0111\\u1EE3i ${w(r.values[0])}`:`T\\xF9y ch\\u1ECDn kh\\xF4ng h\\u1EE3p l\\u1EC7: mong \\u0111\\u1EE3i m\\u1ED9t trong c\\xE1c gi\\xE1 tr\\u1ECB ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Qu\\xE1 l\\u1EDBn: mong \\u0111\\u1EE3i ${r.origin??\"gi\\xE1 tr\\u1ECB\"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit??\"ph\\u1EA7n t\\u1EED\"}`:`Qu\\xE1 l\\u1EDBn: mong \\u0111\\u1EE3i ${r.origin??\"gi\\xE1 tr\\u1ECB\"} ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Qu\\xE1 nh\\u1ECF: mong \\u0111\\u1EE3i ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`Qu\\xE1 nh\\u1ECF: mong \\u0111\\u1EE3i ${r.origin} ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Chu\\u1ED7i kh\\xF4ng h\\u1EE3p l\\u1EC7: ph\\u1EA3i b\\u1EAFt \\u0111\\u1EA7u b\\u1EB1ng \"${i.prefix}\"`:i.format===\"ends_with\"?`Chu\\u1ED7i kh\\xF4ng h\\u1EE3p l\\u1EC7: ph\\u1EA3i k\\u1EBFt th\\xFAc b\\u1EB1ng \"${i.suffix}\"`:i.format===\"includes\"?`Chu\\u1ED7i kh\\xF4ng h\\u1EE3p l\\u1EC7: ph\\u1EA3i bao g\\u1ED3m \"${i.includes}\"`:i.format===\"regex\"?`Chu\\u1ED7i kh\\xF4ng h\\u1EE3p l\\u1EC7: ph\\u1EA3i kh\\u1EDBp v\\u1EDBi m\\u1EABu ${i.pattern}`:`${n[i.format]??r.format} kh\\xF4ng h\\u1EE3p l\\u1EC7`}case\"not_multiple_of\":return`S\\u1ED1 kh\\xF4ng h\\u1EE3p l\\u1EC7: ph\\u1EA3i l\\xE0 b\\u1ED9i s\\u1ED1 c\\u1EE7a ${r.divisor}`;case\"unrecognized_keys\":return`Kh\\xF3a kh\\xF4ng \\u0111\\u01B0\\u1EE3c nh\\u1EADn d\\u1EA1ng: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Kh\\xF3a kh\\xF4ng h\\u1EE3p l\\u1EC7 trong ${r.origin}`;case\"invalid_union\":return\"\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7\";case\"invalid_element\":return`Gi\\xE1 tr\\u1ECB kh\\xF4ng h\\u1EE3p l\\u1EC7 trong ${r.origin}`;default:return\"\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7\"}}};function fS(){return{localeError:dk()}}var mk=()=>{let e={string:{unit:\"\\u5B57\\u7B26\",verb:\"\\u5305\\u542B\"},file:{unit:\"\\u5B57\\u8282\",verb:\"\\u5305\\u542B\"},array:{unit:\"\\u9879\",verb:\"\\u5305\\u542B\"},set:{unit:\"\\u9879\",verb:\"\\u5305\\u542B\"},map:{unit:\"\\u9879\",verb:\"\\u5305\\u542B\"}};function t(r){return e[r]??null}let n={regex:\"\\u8F93\\u5165\",email:\"\\u7535\\u5B50\\u90AE\\u4EF6\",url:\"URL\",emoji:\"\\u8868\\u60C5\\u7B26\\u53F7\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO\\u65E5\\u671F\\u65F6\\u95F4\",date:\"ISO\\u65E5\\u671F\",time:\"ISO\\u65F6\\u95F4\",duration:\"ISO\\u65F6\\u957F\",ipv4:\"IPv4\\u5730\\u5740\",ipv6:\"IPv6\\u5730\\u5740\",mac:\"MAC\\u5730\\u5740\",cidrv4:\"IPv4\\u7F51\\u6BB5\",cidrv6:\"IPv6\\u7F51\\u6BB5\",base64:\"base64\\u7F16\\u7801\\u5B57\\u7B26\\u4E32\",base64url:\"base64url\\u7F16\\u7801\\u5B57\\u7B26\\u4E32\",json_string:\"JSON\\u5B57\\u7B26\\u4E32\",e164:\"E.164\\u53F7\\u7801\",credit_card:\"\\u4FE1\\u7528\\u5361\\u53F7\",currency_code:\"\\u8D27\\u5E01\\u4EE3\\u7801\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u8F93\\u5165\"},o={nan:\"NaN\",number:\"\\u6570\\u5B57\",array:\"\\u6570\\u7EC4\",null:\"\\u7A7A\\u503C(null)\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u65E0\\u6548\\u8F93\\u5165\\uFF1A\\u671F\\u671B instanceof ${r.expected}\\uFF0C\\u5B9E\\u9645\\u63A5\\u6536 ${s}`:`\\u65E0\\u6548\\u8F93\\u5165\\uFF1A\\u671F\\u671B ${i}\\uFF0C\\u5B9E\\u9645\\u63A5\\u6536 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u65E0\\u6548\\u8F93\\u5165\\uFF1A\\u671F\\u671B ${w(r.values[0])}`:`\\u65E0\\u6548\\u9009\\u9879\\uFF1A\\u671F\\u671B\\u4EE5\\u4E0B\\u4E4B\\u4E00 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u6570\\u503C\\u8FC7\\u5927\\uFF1A\\u671F\\u671B ${r.origin??\"\\u503C\"} ${i}${r.maximum.toString()} ${a.unit??\"\\u4E2A\\u5143\\u7D20\"}`:`\\u6570\\u503C\\u8FC7\\u5927\\uFF1A\\u671F\\u671B ${r.origin??\"\\u503C\"} ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u6570\\u503C\\u8FC7\\u5C0F\\uFF1A\\u671F\\u671B ${r.origin} ${i}${r.minimum.toString()} ${a.unit}`:`\\u6570\\u503C\\u8FC7\\u5C0F\\uFF1A\\u671F\\u671B ${r.origin} ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u65E0\\u6548\\u5B57\\u7B26\\u4E32\\uFF1A\\u5FC5\\u987B\\u4EE5 \"${i.prefix}\" \\u5F00\\u5934`:i.format===\"ends_with\"?`\\u65E0\\u6548\\u5B57\\u7B26\\u4E32\\uFF1A\\u5FC5\\u987B\\u4EE5 \"${i.suffix}\" \\u7ED3\\u5C3E`:i.format===\"includes\"?`\\u65E0\\u6548\\u5B57\\u7B26\\u4E32\\uFF1A\\u5FC5\\u987B\\u5305\\u542B \"${i.includes}\"`:i.format===\"regex\"?`\\u65E0\\u6548\\u5B57\\u7B26\\u4E32\\uFF1A\\u5FC5\\u987B\\u6EE1\\u8DB3\\u6B63\\u5219\\u8868\\u8FBE\\u5F0F ${i.pattern}`:`\\u65E0\\u6548${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u65E0\\u6548\\u6570\\u5B57\\uFF1A\\u5FC5\\u987B\\u662F ${r.divisor} \\u7684\\u500D\\u6570`;case\"unrecognized_keys\":return`\\u51FA\\u73B0\\u672A\\u77E5\\u7684\\u952E(key): ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} \\u4E2D\\u7684\\u952E(key)\\u65E0\\u6548`;case\"invalid_union\":return\"\\u65E0\\u6548\\u8F93\\u5165\";case\"invalid_element\":return`${r.origin} \\u4E2D\\u5305\\u542B\\u65E0\\u6548\\u503C(value)`;default:return\"\\u65E0\\u6548\\u8F93\\u5165\"}}};function hS(){return{localeError:mk()}}var pk=()=>{let e={string:{unit:\"\\u5B57\\u5143\",verb:\"\\u64C1\\u6709\"},file:{unit:\"\\u4F4D\\u5143\\u7D44\",verb:\"\\u64C1\\u6709\"},array:{unit:\"\\u9805\\u76EE\",verb:\"\\u64C1\\u6709\"},set:{unit:\"\\u9805\\u76EE\",verb:\"\\u64C1\\u6709\"},map:{unit:\"\\u9805\\u76EE\",verb:\"\\u64C1\\u6709\"}};function t(r){return e[r]??null}let n={regex:\"\\u8F38\\u5165\",email:\"\\u90F5\\u4EF6\\u5730\\u5740\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u65E5\\u671F\\u6642\\u9593\",date:\"ISO \\u65E5\\u671F\",time:\"ISO \\u6642\\u9593\",duration:\"ISO \\u671F\\u9593\",ipv4:\"IPv4 \\u4F4D\\u5740\",ipv6:\"IPv6 \\u4F4D\\u5740\",mac:\"MAC \\u4F4D\\u5740\",cidrv4:\"IPv4 \\u7BC4\\u570D\",cidrv6:\"IPv6 \\u7BC4\\u570D\",base64:\"base64 \\u7DE8\\u78BC\\u5B57\\u4E32\",base64url:\"base64url \\u7DE8\\u78BC\\u5B57\\u4E32\",json_string:\"JSON \\u5B57\\u4E32\",e164:\"E.164 \\u6578\\u503C\",credit_card:\"\\u4FE1\\u7528\\u5361\\u865F\",currency_code:\"\\u8CA8\\u5E63\\u4EE3\\u78BC\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u8F38\\u5165\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\\uFF1A\\u9810\\u671F\\u70BA instanceof ${r.expected}\\uFF0C\\u4F46\\u6536\\u5230 ${s}`:`\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\\uFF1A\\u9810\\u671F\\u70BA ${i}\\uFF0C\\u4F46\\u6536\\u5230 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\\uFF1A\\u9810\\u671F\\u70BA ${w(r.values[0])}`:`\\u7121\\u6548\\u7684\\u9078\\u9805\\uFF1A\\u9810\\u671F\\u70BA\\u4EE5\\u4E0B\\u5176\\u4E2D\\u4E4B\\u4E00 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u6578\\u503C\\u904E\\u5927\\uFF1A\\u9810\\u671F ${r.origin??\"\\u503C\"} \\u61C9\\u70BA ${i}${r.maximum.toString()} ${a.unit??\"\\u500B\\u5143\\u7D20\"}`:`\\u6578\\u503C\\u904E\\u5927\\uFF1A\\u9810\\u671F ${r.origin??\"\\u503C\"} \\u61C9\\u70BA ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u6578\\u503C\\u904E\\u5C0F\\uFF1A\\u9810\\u671F ${r.origin} \\u61C9\\u70BA ${i}${r.minimum.toString()} ${a.unit}`:`\\u6578\\u503C\\u904E\\u5C0F\\uFF1A\\u9810\\u671F ${r.origin} \\u61C9\\u70BA ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u7121\\u6548\\u7684\\u5B57\\u4E32\\uFF1A\\u5FC5\\u9808\\u4EE5 \"${i.prefix}\" \\u958B\\u982D`:i.format===\"ends_with\"?`\\u7121\\u6548\\u7684\\u5B57\\u4E32\\uFF1A\\u5FC5\\u9808\\u4EE5 \"${i.suffix}\" \\u7D50\\u5C3E`:i.format===\"includes\"?`\\u7121\\u6548\\u7684\\u5B57\\u4E32\\uFF1A\\u5FC5\\u9808\\u5305\\u542B \"${i.includes}\"`:i.format===\"regex\"?`\\u7121\\u6548\\u7684\\u5B57\\u4E32\\uFF1A\\u5FC5\\u9808\\u7B26\\u5408\\u683C\\u5F0F ${i.pattern}`:`\\u7121\\u6548\\u7684 ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u7121\\u6548\\u7684\\u6578\\u5B57\\uFF1A\\u5FC5\\u9808\\u70BA ${r.divisor} \\u7684\\u500D\\u6578`;case\"unrecognized_keys\":return`\\u7121\\u6CD5\\u8B58\\u5225\\u7684\\u9375\\u503C${r.keys.length>1?\"\\u5011\":\"\"}\\uFF1A${S(r.keys,\"\\u3001\")}`;case\"invalid_key\":return`${r.origin} \\u4E2D\\u6709\\u7121\\u6548\\u7684\\u9375\\u503C`;case\"invalid_union\":return\"\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\";case\"invalid_element\":return`${r.origin} \\u4E2D\\u6709\\u7121\\u6548\\u7684\\u503C`;default:return\"\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\"}}};function gS(){return{localeError:pk()}}var fk=()=>{let e={string:{unit:\"\\xE0mi\",verb:\"n\\xED\"},file:{unit:\"bytes\",verb:\"n\\xED\"},array:{unit:\"nkan\",verb:\"n\\xED\"},set:{unit:\"nkan\",verb:\"n\\xED\"},map:{unit:\"nkan\",verb:\"n\\xED\"}};function t(r){return e[r]??null}let n={regex:\"\\u1EB9\\u0300r\\u1ECD \\xECb\\xE1w\\u1ECDl\\xE9\",email:\"\\xE0d\\xEDr\\u1EB9\\u0301s\\xEC \\xECm\\u1EB9\\u0301l\\xEC\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\xE0k\\xF3k\\xF2 ISO\",date:\"\\u1ECDj\\u1ECD\\u0301 ISO\",time:\"\\xE0k\\xF3k\\xF2 ISO\",duration:\"\\xE0k\\xF3k\\xF2 t\\xF3 p\\xE9 ISO\",ipv4:\"\\xE0d\\xEDr\\u1EB9\\u0301s\\xEC IPv4\",ipv6:\"\\xE0d\\xEDr\\u1EB9\\u0301s\\xEC IPv6\",mac:\"\\xE0d\\xEDr\\u1EB9\\u0301s\\xEC MAC\",cidrv4:\"\\xE0gb\\xE8gb\\xE8 IPv4\",cidrv6:\"\\xE0gb\\xE8gb\\xE8 IPv6\",base64:\"\\u1ECD\\u0300r\\u1ECD\\u0300 t\\xED a k\\u1ECD\\u0301 n\\xED base64\",base64url:\"\\u1ECD\\u0300r\\u1ECD\\u0300 base64url\",json_string:\"\\u1ECD\\u0300r\\u1ECD\\u0300 JSON\",e164:\"n\\u1ECD\\u0301mb\\xE0 E.164\",credit_card:\"n\\u1ECDmba kaadi gbese\",currency_code:\"koodu ow\\xF3\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u1EB9\\u0300r\\u1ECD \\xECb\\xE1w\\u1ECDl\\xE9\"},o={nan:\"NaN\",number:\"n\\u1ECD\\u0301mb\\xE0\",array:\"akop\\u1ECD\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e: a n\\xED l\\xE1ti fi instanceof ${r.expected}, \\xE0m\\u1ECD\\u0300 a r\\xED ${s}`:`\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e: a n\\xED l\\xE1ti fi ${i}, \\xE0m\\u1ECD\\u0300 a r\\xED ${s}`}case\"invalid_value\":return r.values.length===1?`\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e: a n\\xED l\\xE1ti fi ${w(r.values[0])}`:`\\xC0\\u1E63\\xE0y\\xE0n a\\u1E63\\xEC\\u1E63e: yan \\u1ECD\\u0300kan l\\xE1ra ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`T\\xF3 p\\u1ECD\\u0300 j\\xF9: a n\\xED l\\xE1ti j\\u1EB9\\u0301 p\\xE9 ${r.origin??\"iye\"} ${a.verb} ${i}${r.maximum} ${a.unit}`:`T\\xF3 p\\u1ECD\\u0300 j\\xF9: a n\\xED l\\xE1ti j\\u1EB9\\u0301 ${i}${r.maximum}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`K\\xE9r\\xE9 ju: a n\\xED l\\xE1ti j\\u1EB9\\u0301 p\\xE9 ${r.origin} ${a.verb} ${i}${r.minimum} ${a.unit}`:`K\\xE9r\\xE9 ju: a n\\xED l\\xE1ti j\\u1EB9\\u0301 ${i}${r.minimum}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u1ECC\\u0300r\\u1ECD\\u0300 a\\u1E63\\xEC\\u1E63e: gb\\u1ECD\\u0301d\\u1ECD\\u0300 b\\u1EB9\\u0300r\\u1EB9\\u0300 p\\u1EB9\\u0300l\\xFA \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u1ECC\\u0300r\\u1ECD\\u0300 a\\u1E63\\xEC\\u1E63e: gb\\u1ECD\\u0301d\\u1ECD\\u0300 par\\xED p\\u1EB9\\u0300l\\xFA \"${i.suffix}\"`:i.format===\"includes\"?`\\u1ECC\\u0300r\\u1ECD\\u0300 a\\u1E63\\xEC\\u1E63e: gb\\u1ECD\\u0301d\\u1ECD\\u0300 n\\xED \"${i.includes}\"`:i.format===\"regex\"?`\\u1ECC\\u0300r\\u1ECD\\u0300 a\\u1E63\\xEC\\u1E63e: gb\\u1ECD\\u0301d\\u1ECD\\u0300 b\\xE1 \\xE0p\\u1EB9\\u1EB9r\\u1EB9 mu ${i.pattern}`:`A\\u1E63\\xEC\\u1E63e: ${n[i.format]??r.format}`}case\"not_multiple_of\":return`N\\u1ECD\\u0301mb\\xE0 a\\u1E63\\xEC\\u1E63e: gb\\u1ECD\\u0301d\\u1ECD\\u0300 j\\u1EB9\\u0301 \\xE8y\\xE0 p\\xEDp\\xEDn ti ${r.divisor}`;case\"unrecognized_keys\":return`B\\u1ECDt\\xECn\\xEC \\xE0\\xECm\\u1ECD\\u0300: ${S(r.keys,\", \")}`;case\"invalid_key\":return`B\\u1ECDt\\xECn\\xEC a\\u1E63\\xEC\\u1E63e n\\xEDn\\xFA ${r.origin}`;case\"invalid_union\":return\"\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e\";case\"invalid_element\":return`Iye a\\u1E63\\xEC\\u1E63e n\\xEDn\\xFA ${r.origin}`;default:return\"\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e\"}}};function vS(){return{localeError:fk()}}var _S,cf=Symbol(\"ZodOutput\"),lf=Symbol(\"ZodInput\"),El=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){let o=n[0];return this._map.set(t,o),o&&typeof o==\"object\"&&\"id\"in o&&this._idmap.set(o.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let n=this._map.get(t);return n&&typeof n==\"object\"&&\"id\"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){let n=t._zod.parent;if(n){let o={...this.get(n)??{}};delete o.id;let r={...o,...this._map.get(t)};return Object.keys(r).length?r:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function Ol(){return new El}(_S=globalThis).__zod_globalRegistry??(_S.__zod_globalRegistry=Ol());var ge=globalThis.__zod_globalRegistry;var Ie=Symbol.for(\"zod.compile.invalid\"),SS=Symbol.for(\"zod.compile.fallback\"),Xe=class extends Error{constructor(t=\"z.compile does not support async refinements, transforms, or checks\"){super(t),this.name=\"ZodCompileAsyncError\"}},B=class extends Error{constructor(t,n=!0){super(`z.compile does not support ${t}; this schema must use the runtime parser`),this.name=\"ZodCompileUnsupportedError\",this.islandable=n}};function gk(e,t){try{return Nl(e,{assertOnly:!0})}catch{return t}}function pf(e,t){try{let n=Nl(e),o=Cl(e,n);return o._zod.bag.validator=gk(e,n),o}catch(n){if(t?.strict)throw n;return e}}function Cl(e,t){if(xl(e))throw new B(\"a schema whose subtree contains a reference cycle\");let n=Y(e),o=e._zod.run,r=o.__originalRun??o,i=(a,s)=>{if(s?.async||s?.direction===\"backward\"||s?.skipChecks||s?.[SS]||s&&Il(s,a.value))return r(a,s);let c=t(a.value);return c!==Ie?(a.value=c,a):(s&&(s[SS]=!0),r(a,s))};return i.__originalRun=r,n._zod.bag.fallbackRun=r,n._zod.bag.validator=t,n._zod.run=i,o.__originalRun||vk(n,e,t),n}function vk(e,t,n){let o=e,r=t;if(typeof r.safeParse==\"function\"){let i=r.safeParse;o.safeParse=(a,s)=>{let c=n(a);return c!==Ie?{success:!0,data:c}:i(a,s)}}if(typeof r.parse==\"function\"){let i=r.parse;o.parse=(a,s)=>{let c=n(a);return c!==Ie?c:i(a,s)}}}function Nl(e,t){let n=!0;try{n=xl(e)}catch{}if(n)throw new B(\"a schema whose subtree contains a reference cycle\");let o={constants:new Map,constantCounter:0,varCounter:0,definite:!0},r=new $r([\"input\"]),i=re(r,o,e,\"input\",!t?.assertOnly);r.write(i===null?\"return true;\":`return ${i};`);let a=[\"INVALID\",...o.constants.keys()],s=[Ie,...o.constants.values()],c=r.content.join(`\n`),l=t?.debug?a.length>0?`// Constants: ${a.join(\", \")}\n${c}`:c:\"\",d=Function,p=`return (input) => {\n${c}\n}`,f;try{f=new d(...a,p)(...s)}catch(g){throw new B(`this schema (generated code failed to evaluate: ${g.message})`)}return t?.debug&&(f.code=l),f.definite=o.definite,f}function V(e,t){for(let[o,r]of e.constants)if(r===t)return o;let n=`c${e.constantCounter++}`;return e.constants.set(n,t),n}function xr(e,t){return e.definite=!1,V(e,t)}function q(e){return`v${e.varCounter++}`}function _k(e,t){let n=e._zod.run({value:t,issues:[]},{});if(n&&typeof n.then==\"function\")return Ie;let o=n;return o.issues.length===0?o.value:Ie}function $e(e,t,n,o,r=!0){let i=e.content.length,a=t.constants.size,s=t.constantCounter,c=t.varCounter;try{return re(e,t,n,o,r)}catch(l){if(!(l instanceof B)||!l.islandable)throw l;if(e.content.length=i,t.constants.size>a){let d=Array.from(t.constants.keys()).slice(a);for(let p of d)t.constants.delete(p)}return t.constantCounter=s,t.varCounter=c,Sk(e,t,n,o)}}function Sk(e,t,n,o){t.definite=!1;let r=V(t,n),i=V(t,_k),a=q(t);return e.write(`const ${a} = ${i}(${r}, ${o});`),e.write(`if (${a} === INVALID) return INVALID;`),a}var yk=new Set([\"max_size\",\"min_size\",\"size_equals\",\"max_length\",\"min_length\",\"length_equals\"]);function bk(e,t,n,o){let r=n._zod.def.checks;if(!r||r.length===0)return o;let i=o;for(let a of r){let s=a._zod.def;if(s.when&&!yk.has(s.check))throw new B('check with a custom \"when\" condition');switch(s.check){case\"greater_than\":$k(e,t,s,i);break;case\"less_than\":zk(e,t,s,i);break;case\"multiple_of\":wk(e,t,s,i);break;case\"number_format\":kS(e,s,i);break;case\"min_length\":{let c=wr(s.minimum,\"min_length\"),l=uf(e,t,i,`${i}.length >= ${c} && ${i}.length < ${s.minimum*2}`);e.write(`if (${l} < ${c}) return INVALID;`);break}case\"max_length\":{let c=wr(s.maximum,\"max_length\"),l=uf(e,t,i,`${i}.length > ${c}`);e.write(`if (${l} > ${c}) return INVALID;`);break}case\"length_equals\":{let c=wr(s.length,\"length_equals\"),l=uf(e,t,i,`${i}.length >= ${c} && ${i}.length <= ${s.length*2}`);e.write(`if (${l} !== ${c}) return INVALID;`);break}case\"min_size\":e.write(`if (${i}.size < ${wr(s.minimum,\"min_size\")}) return INVALID;`);break;case\"max_size\":e.write(`if (${i}.size > ${wr(s.maximum,\"max_size\")}) return INVALID;`);break;case\"size_equals\":e.write(`if (${i}.size !== ${wr(s.size,\"size_equals\")}) return INVALID;`);break;case\"string_format\":i=xS(e,t,s,i);break;case\"custom\":i=Tk(e,t,a,i);break;case\"bigint_format\":kk(e,s,i);break;case\"mime_type\":xk(e,t,s,i);break;case\"property\":Rk(e,t,s,i);break;case\"properties\":Ik(e,t,s,i);break;case\"overwrite\":{let c=q(t);Pk(e,t,a,i,c),i=c;break}default:throw new B(`check type ${s.check}`)}}return i}function uf(e,t,n,o){let r=V(t,yr),i=q(t);return e.write(`const ${i} = typeof ${n} === \"string\" && ${o} ? ${r}(${n}) : ${n}.length;`),i}function wr(e,t){if(typeof e!=\"number\"||!Number.isFinite(e))throw new B(`${t} bound of type ${typeof e}`);return`${e}`}function wS(e,t){if(typeof t==\"bigint\")return`${t}n`;if(typeof t==\"number\"){if(Number.isNaN(t))throw new B(\"comparison check with NaN bound\");return`${t}`}if(t instanceof Date){if(Number.isNaN(t.getTime()))throw new B(\"comparison check with Invalid Date bound\");return V(e,t)}throw new B(`comparison check bound of type ${typeof t}`)}function $k(e,t,n,o){let r=n.inclusive?\"<\":\"<=\";e.write(`if (${o} ${r} ${wS(t,n.value)}) return INVALID;`)}function zk(e,t,n,o){let r=n.inclusive?\">\":\">=\";e.write(`if (${o} ${r} ${wS(t,n.value)}) return INVALID;`)}function wk(e,t,n,o){if(typeof n.value==\"bigint\"){if(n.value===BigInt(0))throw new B(\"multiple_of check with a zero divisor\");e.write(`if (${o} % ${n.value}n !== 0n) return INVALID;`)}else{let r=V(t,ko);e.write(`if (${r}(${o}, ${wr(n.value,\"multiple_of\")}) !== 0) return INVALID;`)}}function kS(e,t,n){let o=t.format;switch(o){case\"safeint\":e.write(`if (!Number.isSafeInteger(${n})) return INVALID;`);break;case\"int32\":e.write(`if (!Number.isInteger(${n}) || ${n} < -2147483648 || ${n} > 2147483647) return INVALID;`);break;case\"uint32\":e.write(`if (!Number.isInteger(${n}) || ${n} < 0 || ${n} > 4294967295) return INVALID;`);break;case\"float32\":e.write(`if (!Number.isFinite(${n}) || ${n} < -3.4028234663852886e38 || ${n} > 3.4028234663852886e38) return INVALID;`);break;case\"float64\":e.write(`if (!Number.isFinite(${n})) return INVALID;`);break;default:throw new B(`number format ${o}`)}}function kk(e,t,n){let o=t.format;if(o)switch(o){case\"int64\":e.write(`if (${n} < -9223372036854775808n || ${n} > 9223372036854775807n) return INVALID;`);break;case\"uint64\":e.write(`if (${n} < 0n || ${n} > 18446744073709551615n) return INVALID;`);break;default:throw new B(`bigint format ${o}`)}}function xk(e,t,n,o){let r=n.mime;if(r&&r.length>0){let i=V(t,new Set(r));e.write(`if (!${i}.has(${o}.type)) return INVALID;`)}}function Ik(e,t,n,o){if(n.when)throw new B('check with a custom \"when\" condition');e.write(`if (${o} == null) return INVALID;`);let r=n.shape;for(let i of Reflect.ownKeys(r)){let a=typeof i==\"symbol\"?V(t,i):ke(i),s=q(t);e.write(`const ${s} = ${o}[${a}];`),$e(e,t,r[i],s,!1)}}function Rk(e,t,n,o){let r=`${o}[${JSON.stringify(n.property)}]`;re(e,t,n.schema,r)}function Pk(e,t,n,o,r){let i=n._zod.def.tx;if(!i)throw new B(\"overwrite check without a transform function\");if(Ir(i))throw new Xe(\"z.compile: async overwrite transforms are not supported\");let a=V(t,i);e.write(`const ${r} = ${a}(${o});`)}function df(){throw new Ce}function ff(e){this.issues.push(e)}function Tk(e,t,n,o){let r=n._zod.def;if(r.fn){if(Ir(r.fn))throw new Xe(\"z.compile: async .refine() predicates are not supported\");let i=xr(t,r.fn),a=V(t,df),s=q(t);return e.write(`const ${s} = ${i}(${o});`),e.write(`if (${s} instanceof Promise) ${a}();`),e.write(`if (!${s}) return INVALID;`),o}if(n._zod.check){if(Ir(n._zod.check))throw new Xe(\"z.compile: async .superRefine() / check functions are not supported\");let i=n._zod.check,s=xr(t,l=>{let d={value:l,issues:[],addIssue:ff};return i(d)instanceof Promise&&df(),d.issues.length===0?d.value:Ie}),c=q(t);return e.write(`const ${c} = ${s}(${o});`),e.write(`if (${c} === INVALID) return INVALID;`),c}throw new B(\"custom check without a predicate or check function\")}var Ek=new Set([\"cidrv4\",\"cuid\",\"cuid2\",\"date\",\"datetime\",\"duration\",\"e164\",\"email\",\"emoji\",\"ends_with\",\"guid\",\"includes\",\"ipv4\",\"ksuid\",\"lowercase\",\"mac\",\"nanoid\",\"regex\",\"starts_with\",\"time\",\"ulid\",\"uppercase\",\"uuid\",\"xid\"]);function xS(e,t,n,o,r=!0){let i=n.format;if(i===\"base64\"){let l=V(t,Jo);return e.write(`if (!${l}(${o})) return INVALID;`),o}if(i===\"base64url\"){let l=V(t,pl);return e.write(`if (!${l}(${o})) return INVALID;`),o}if(i===\"jwt\"){let l=V(t,gl),d=V(t,n.alg??null);return e.write(`if (!${l}(${o}, ${d})) return INVALID;`),o}if(i===\"ipv6\"){let l=V(t,Fo);return e.write(`if (!${l}(${o})) return INVALID;`),o}if(i===\"cidrv6\"){let l=V(t,dl);return e.write(`if (!${l}(${o})) return INVALID;`),o}if(i===\"credit_card\"){let l=V(t,fl);return e.write(`if (!${l}(${o})) return INVALID;`),o}if(i===\"iban\"){let l=V(t,hl);return e.write(`if (!${l}(${o})) return INVALID;`),o}let a=n;if(i===\"url\"||i===\"httpurl\"||a.normalize||a.hostname!==void 0||a.protocol!==void 0){let l=V(t,cl),d=V(t,n),p=q(t),f=q(t);if(e.write(`const ${p} = ${o}.trim();`),e.write(`const ${f} = ${l}(${p}, ${d});`),e.write(`if (typeof ${f} === \"number\") return INVALID;`),a.hostname!==void 0){let b=V(t,ll);e.write(`if (!${b}(${f}, ${d}.hostname)) return INVALID;`)}if(a.protocol!==void 0){let b=V(t,ul);e.write(`if (!${b}(${f}, ${d}.protocol)) return INVALID;`)}if(!r)return null;let g=q(t),_=a.normalize?`${f}.href`:`${V(t,Zo)}(${p})`;return e.write(`const ${g} = ${_};`),g}let s=n.fn;if(s){if(Ir(s))throw new B(`async string format ${i}`);let l=V(t,s);return e.write(`if (!${l}(${o})) return INVALID;`),o}if(Ek.has(i)&&n.pattern){let l=V(t,n.pattern);return e.write(`${l}.lastIndex = 0;`),e.write(`if (!${l}.test(${o})) return INVALID;`),o}let c=n.format;switch(c){case\"regex\":throw new B(\"regex format without a pattern\");case\"lowercase\":e.write(`if (${o} !== ${o}.toLowerCase()) return INVALID;`);break;case\"uppercase\":e.write(`if (${o} !== ${o}.toUpperCase()) return INVALID;`);break;case\"includes\":e.write(`if (!${o}.includes(${ke(n.includes)})) return INVALID;`);break;case\"starts_with\":{let l=n.prefix;e.write(`if (${o}.slice(0, ${l.length}) !== ${ke(l)}) return INVALID;`);break}case\"ends_with\":{let l=n.suffix;e.write(`if (${o}.slice(-${l.length}) !== ${ke(l)}) return INVALID;`);break}default:throw new B(`string format ${c}`)}return o}function re(e,t,n,o,r=!0){let i=n._zod.def,a=i.type;if(i.coerce)throw new B(`coercion (z.coerce.${a}())`);let s=r||!!i.checks?.length,c;switch(a){case\"string\":c=Ok(e,t,n,o,s);break;case\"number\":c=Ck(e,n,o);break;case\"boolean\":c=Nk(e,o);break;case\"bigint\":c=jk(e,n,o);break;case\"symbol\":c=Ak(e,o);break;case\"undefined\":c=Uk(e,o);break;case\"null\":c=Dk(e,o);break;case\"any\":case\"unknown\":c=o;break;case\"never\":e.write(\"return INVALID;\"),c=o;break;case\"void\":c=Mk(e,o);break;case\"nan\":c=qk(e,o);break;case\"date\":c=Lk(e,o);break;case\"object\":c=Vk(e,t,n,o,s);break;case\"optional\":c=Zk(e,t,n,o,s);break;case\"nullable\":c=Hk(e,t,n,o,s);break;case\"array\":c=Bk(e,t,n,o,s);break;case\"literal\":c=Kk(e,t,n,o);break;case\"enum\":c=Gk(e,t,n,o);break;case\"readonly\":{let l=bS(e,t,n,o),d=q(t);e.write(`const ${d} = Object.freeze(${l});`),c=d;break}case\"success\":bS(e,t,n,o),c=\"true\";break;case\"default\":case\"prefault\":c=Wk(e,t,n,o);break;case\"nonoptional\":c=Yk(e,t,n,o);break;case\"tuple\":c=Xk(e,t,n,o);break;case\"union\":c=Qk(e,t,n,o);break;case\"intersection\":c=rx(e,t,n,o);break;case\"record\":c=nx(e,t,n,o);break;case\"map\":c=ox(e,t,n,o);break;case\"set\":c=ax(e,t,n,o);break;case\"file\":c=sx(e,o);break;case\"template_literal\":c=cx(e,t,n,o);break;case\"lazy\":c=lx(e,t,n,o);break;case\"pipe\":c=ux(e,t,n,o);break;case\"custom\":c=dx(e,t,n,o);break;case\"transform\":c=fx(e,t,n,o);break;case\"catch\":c=px(e,t,n,o);break;default:throw new B(`schema type ${a}`)}return c===null?null:bk(e,t,n,c)}function Ok(e,t,n,o,r=!0){e.write(`if (typeof ${o} !== \"string\") return INVALID;`);let i=n._zod.def;return i.format===void 0?o:xS(e,t,i,o,r)}function Ck(e,t,n){e.write(`if (typeof ${n} !== \"number\" || !Number.isFinite(${n})) return INVALID;`);let o=t._zod.def;return o.check===\"number_format\"&&o.format&&kS(e,{format:o.format},n),n}function Nk(e,t){return e.write(`if (typeof ${t} !== \"boolean\") return INVALID;`),t}function jk(e,t,n){e.write(`if (typeof ${n} !== \"bigint\") return INVALID;`);let o=t._zod.def;if(o.format)switch(o.format){case\"int64\":e.write(`if (${n} < -9223372036854775808n || ${n} > 9223372036854775807n) return INVALID;`);break;case\"uint64\":e.write(`if (${n} < 0n || ${n} > 18446744073709551615n) return INVALID;`);break}return n}function Ak(e,t){return e.write(`if (typeof ${t} !== \"symbol\") return INVALID;`),t}function Uk(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function Dk(e,t){return e.write(`if (${t} !== null) return INVALID;`),t}function Mk(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function qk(e,t){return e.write(`if (typeof ${t} !== \"number\" || !Number.isNaN(${t})) return INVALID;`),t}function Lk(e,t){return e.write(`if (!(${t} instanceof Date) || Number.isNaN(${t}.getTime())) return INVALID;`),t}function Vk(e,t,n,o,r=!0){let i=n._zod.def;e.write(`if (typeof ${o} !== \"object\" || ${o} === null || Array.isArray(${o})) return INVALID;`);let a=i.shape,s=Object.keys(a),c=Object.getOwnPropertySymbols(a),l=c.length?[...s,...c]:s,d=P=>typeof P==\"symbol\"?V(t,P):ke(P),p=P=>typeof P==\"symbol\"?`[${d(P)}]`:ke(P),f=a;if(s.includes(\"__proto__\"))throw new B('object shape key \"__proto__\"');let g=new Map;for(let P of l){let U=f[P],J=d(P),G=q(t);if(e.write(`const ${G} = ${o}[${J}];`),U._zod.optin!==void 0){let D=q(t);e.write(`let ${D} = (() => {`),e.indented(W=>{let Ae=$e(W,t,U,G);W.write(`return ${Ae};`)}),e.write(\"})();\"),U._zod.optout===\"optional\"?(e.write(`if (${D} === INVALID) {`),e.indented(W=>{W.write(`if (${J} in ${o}) return INVALID;`),W.write(`${D} = undefined;`)}),e.write(\"}\")):e.write(`if (${D} === INVALID) return INVALID;`),g.set(P,D)}else{Jk(U)&&e.write(`if (!(${J} in ${o})) return INVALID;`);let D=$e(e,t,U,G,r);D!==null&&g.set(P,D)}}let _=i.catchall,b=\"none\";if(_){let P=_._zod.def.type;if(P===\"never\"){let U=s.map(J=>`k !== ${ke(J)}`).join(\" && \")||\"true\";e.write(`for (const k in ${o}) {`),e.indented(J=>{J.write(`if (${U}) return INVALID;`)}),e.write(\"}\")}else(P===\"unknown\"||P===\"any\")&&!_._zod.def.checks?.length?b=\"passthrough\":b=\"schema\"}let x=q(t),O=l.some(P=>yS(f[P])||mf(f[P]));if(!r){if(b===\"schema\"){let P=s.length>0?V(t,new Set(s)):null;e.write(`for (const k in ${o}) {`),e.indented(U=>{U.write('if (k === \"__proto__\") continue;'),P&&U.write(`if (${P}.has(k)) continue;`);let J=q(t);U.write(`const ${J} = ${o}[k];`),$e(U,t,_,J,!1)}),e.write(\"}\")}return null}if(O){e.write(`const ${x} = {};`);for(let P of l){let U=d(P),J=g.get(P);mf(f[P])?e.write(`if (${U} in ${o}) ${x}[${U}] = ${J};`):yS(f[P])?e.write(`if (${J} !== undefined || ${U} in ${o}) ${x}[${U}] = ${J};`):e.write(`${x}[${U}] = ${J};`)}}else{let P=l.map(U=>`${p(U)}: ${g.get(U)}`).join(\", \");e.write(`const ${x} = { ${P} };`)}if(b!==\"none\"){let P=s.length>0?V(t,new Set(s)):null;e.write(`for (const k in ${o}) {`),e.indented(U=>{if(U.write('if (k === \"__proto__\") continue;'),P&&U.write(`if (${P}.has(k)) continue;`),b===\"passthrough\")U.write(`${x}[k] = ${o}[k];`);else{let J=q(t);U.write(`const ${J} = ${o}[k];`);let G=$e(U,t,_,J);U.write(`${x}[k] = ${G};`)}}),e.write(\"}\")}return x}function Zk(e,t,n,o,r=!0){let i=n._zod.def;if(Fk(n))return re(e,t,i.innerType,o,r);if(i.innerType._zod.optin===\"defaulted\"){let s=q(t),c=q(t);return e.write(`let ${s};`),e.write(`if (${o} === undefined) {`),e.indented(l=>{l.write(`const ${c} = (() => {`),l.indented(d=>{let p=re(d,t,i.innerType,o);d.write(`return ${p};`)}),l.write(\"})();\"),l.write(`if (${c} !== INVALID) ${s} = ${c};`)}),e.write(\"} else {\"),e.indented(l=>{let d=re(l,t,i.innerType,o);l.write(`${s} = ${d};`)}),e.write(\"}\"),s}let a=r?q(t):null;return a&&e.write(`let ${a};`),e.write(`if (${o} !== undefined) {`),e.indented(s=>{let c=re(s,t,i.innerType,o,r);a&&c!==null&&s.write(`${a} = ${c};`)}),e.write(\"}\"),a}function Fk(e){return e._zod.traits?.has(\"$ZodExactOptional\")===!0}function Jk(e){return e._zod.optin===void 0&&kr(e)}function kr(e){if(e._zod.def.coerce)return!0;let t=e._zod.def;switch(t.type){case\"any\":case\"unknown\":case\"undefined\":case\"void\":case\"default\":case\"prefault\":case\"transform\":case\"custom\":case\"lazy\":return!0;case\"string\":case\"number\":case\"boolean\":case\"bigint\":case\"symbol\":case\"null\":case\"never\":case\"nan\":case\"date\":case\"object\":case\"array\":case\"tuple\":case\"record\":case\"map\":case\"set\":case\"file\":case\"template_literal\":return!1;case\"nonoptional\":return t.innerType?kr(t.innerType):!1;case\"literal\":return!!t.values?.includes(void 0);case\"enum\":return!!e._zod.values?.has(void 0);case\"optional\":case\"nullable\":case\"readonly\":case\"success\":return t.innerType?kr(t.innerType):!0;case\"catch\":return!0;case\"union\":return t.options?t.options.some(kr):!0;case\"intersection\":return!t.left||!t.right?!0:kr(t.left)&&kr(t.right);case\"pipe\":return t.in?kr(t.in):!0;default:return!0}}function mf(e){return e._zod.optin===\"optional\"&&e._zod.optout===\"optional\"}function yS(e){return(e._zod.optin!==\"defaulted\"||e._zod.optout===\"optional\")&&En(e)}function En(e){let t=e._zod.def;switch(t.type){case\"string\":case\"number\":case\"boolean\":case\"bigint\":case\"symbol\":case\"null\":case\"nan\":case\"date\":case\"object\":case\"array\":case\"tuple\":case\"record\":case\"map\":case\"set\":case\"file\":case\"template_literal\":case\"never\":case\"success\":return!1;case\"literal\":return!!t.values?.includes(void 0);case\"enum\":return!!e._zod.values?.has(void 0);case\"optional\":return!0;case\"nullable\":case\"readonly\":case\"nonoptional\":return t.innerType?En(t.innerType):!0;case\"union\":return t.options?t.options.some(En):!0;case\"intersection\":return!t.left||!t.right||En(t.left)||En(t.right);case\"pipe\":return t.out?En(t.out):!0;default:return!0}}function Hk(e,t,n,o,r=!0){let i=n._zod.def,a=r?q(t):null;return a&&e.write(`let ${a} = null;`),e.write(`if (${o} !== null) {`),e.indented(s=>{let c=re(s,t,i.innerType,o,r);a&&c!==null&&s.write(`${a} = ${c};`)}),e.write(\"}\"),a}function Bk(e,t,n,o,r=!0){let i=n._zod.def;e.write(`if (!Array.isArray(${o})) return INVALID;`);let a=r?q(t):null,s=q(t),c=q(t);return a&&e.write(`const ${a} = new Array(${o}.length);`),e.write(`for (let ${s} = 0; ${s} < ${o}.length; ${s}++) {`),e.indented(l=>{l.write(`const ${c} = ${o}[${s}];`);let d=$e(l,t,i.element,c,r);a&&d!==null&&l.write(`${a}[${s}] = ${d};`)}),e.write(\"}\"),a}function Kk(e,t,n,o){let i=n._zod.def.values;if(i.length!==1){let s=V(t,new Set(i));return e.write(`if (!${s}.has(${o})) return INVALID;`),o}let a=i[0];if(typeof a==\"number\"&&Number.isNaN(a)){let s=V(t,new Set(i));return e.write(`if (!${s}.has(${o})) return INVALID;`),o}if(typeof a==\"string\")e.write(`if (${o} !== ${ke(a)}) return INVALID;`);else if(typeof a==\"number\"||typeof a==\"boolean\")e.write(`if (${o} !== ${a}) return INVALID;`);else if(a===null)e.write(`if (${o} !== null) return INVALID;`);else if(a===void 0)e.write(`if (${o} !== undefined) return INVALID;`);else if(typeof a==\"bigint\")e.write(`if (${o} !== ${a}n) return INVALID;`);else throw new B(`literal type ${typeof a}`);return o}function Gk(e,t,n,o){let r=n._zod.values;if(!r)throw new B(\"enum schema without enumerated values\");let i=V(t,r);return e.write(`if (!${i}.has(${o})) return INVALID;`),o}function bS(e,t,n,o){let r=n._zod.def;return re(e,t,r.innerType,o)}function Wk(e,t,n,o){let r=n._zod.def,a=Object.getOwnPropertyDescriptor(n._zod.def,\"defaultValue\")?()=>n._zod.def.defaultValue:void 0;if(n._zod.def.type===\"prefault\"){if(!a)return re(e,t,r.innerType,o);let c=V(t,a),l=q(t);return e.write(`let ${l} = ${o};`),e.write(`if (${o} === undefined) ${l} = ${c}();`),re(e,t,r.innerType,l)}let s=q(t);if(a){let c=V(t,a),l=V(t,xo);e.write(`let ${s};`),e.write(`if (${o} === undefined) {`),e.indented(d=>{d.write(`${s} = ${l}(${c}());`)}),e.write(\"} else {\"),e.indented(d=>{let p=re(d,t,r.innerType,o);d.write(`${s} = ${p} === undefined ? ${l}(${c}()) : ${p};`)}),e.write(\"}\")}else e.write(`let ${s};`),e.write(`if (${o} !== undefined) {`),e.indented(c=>{let l=re(c,t,r.innerType,o);c.write(`${s} = ${l};`)}),e.write(\"}\");return s}function Yk(e,t,n,o){let r=n._zod.def,i=re(e,t,r.innerType,o),a=q(t);return e.write(`const ${a} = ${i};`),e.write(`if (${a} === undefined) return INVALID;`),a}function Xk(e,t,n,o){let r=n._zod.def,i=r.items,a=r.rest;e.write(`if (!Array.isArray(${o})) return INVALID;`);let s=$S(i,\"optin\"),c=$S(i,\"optout\");a?e.write(`if (${o}.length < ${s}) return INVALID;`):e.write(`if (${o}.length < ${s} || ${o}.length > ${i.length}) return INVALID;`);let l=q(t);e.write(`const ${l} = [];`);for(let d=0;d<i.length;d++){let p=i[d];if(d>=c)e.write(`if (${l}.length === ${d}) {`),e.indented(f=>{f.write(`if (${d} < ${o}.length) {`),f.indented(g=>{let _=q(t);g.write(`const ${_} = ${o}[${d}];`);let b=$e(g,t,p,_);g.write(`${l}[${d}] = ${b};`)}),f.write(\"} else {\"),f.indented(g=>{if(mf(p)){g.write(`${l}.length = ${d};`);return}let _=q(t),b=q(t);g.write(`const ${_} = undefined;`),g.write(`const ${b} = (() => {`),g.indented(x=>{let O=$e(x,t,p,_);x.write(`return ${O};`)}),g.write(\"})();\"),g.write(`if (${b} === INVALID || ${b} === undefined) ${l}.length = ${d};`),g.write(`else ${l}[${d}] = ${b};`)}),f.write(\"}\")}),e.write(\"}\");else{let f=q(t);e.write(`const ${f} = ${o}[${d}];`);let g=$e(e,t,p,f);e.write(`${l}[${d}] = ${g};`)}}if(a){let d=q(t),p=q(t);e.write(`for (let ${d} = ${i.length}; ${d} < ${o}.length; ${d}++) {`),e.indented(f=>{f.write(`const ${p} = ${o}[${d}];`);let g=$e(f,t,a,p);f.write(`${l}[${d}] = ${g};`)}),e.write(\"}\")}return l}function $S(e,t){for(let n=e.length-1;n>=0;n--)if(!(t===\"optin\"?e[n]._zod.optin!==void 0:e[n]._zod.optout===\"optional\"))return n+1;return 0}function Qk(e,t,n,o){let r=n._zod.def,i=r.options;if(r.discriminator)return ex(e,t,r,o);if(r.inclusive===!1)throw new B(\"exclusive unions (z.xor)\");if(i.length===0)return e.write(\"return INVALID;\"),o;if(i.length===1)return re(e,t,i[0],o);if(i.every(c=>c._zod.def.type===\"literal\"&&!c._zod.def.checks?.length)){let c=new Set(i.flatMap(d=>d._zod.def.values)),l=V(t,c);return e.write(`if (!${l}.has(${o})) return INVALID;`),o}let s=q(t);e.write(`let ${s};`);for(let c=0;c<i.length;c++){let l=i[c];c===0?e.write(`${s} = (() => {`):e.write(`if (${s} === INVALID) ${s} = (() => {`),e.indented(d=>{let p=re(d,t,l,o);d.write(`return ${p};`)}),e.write(\"})();\")}return e.write(`if (${s} === INVALID) return INVALID;`),s}function ex(e,t,n,o){if(n.unionFallback)throw new B(\"discriminated union with unionFallback\");if(n.options.length===0)return e.write(\"return INVALID;\"),o;let r=q(t),i=q(t);e.write(`const ${r} = ${o}?.[${ke(n.discriminator)}];`),e.write(`let ${i};`);let a=!0,s=new Set;for(let c of n.options){let l=c._zod.propValues?.[n.discriminator];if(!l||l.size===0)throw new B(\"discriminated union option without static discriminator values\");for(let f of l){if(s.has(f))throw new B(`duplicate discriminator value ${String(f)}`);s.add(f)}let d=Array.from(l,f=>tx(t,r,f)),p=a?\"if\":\"else if\";e.write(`${p} (${d.join(\" || \")}) {`),e.indented(f=>{let g=re(f,t,c,o);f.write(`${i} = ${g};`)}),e.write(\"}\"),a=!1}return e.write(\"else { return INVALID; }\"),i}function tx(e,t,n){if(typeof n==\"string\")return`${t} === ${ke(n)}`;if(typeof n==\"number\")return Number.isNaN(n)?`Number.isNaN(${t})`:`${t} === ${n}`;if(typeof n==\"boolean\")return`${t} === ${n}`;if(n===null)return`${t} === null`;if(n===void 0)return`${t} === undefined`;if(typeof n==\"bigint\")return`${t} === ${n}n`;if(typeof n==\"symbol\"){let o=V(e,n);return`${t} === ${o}`}throw new B(`literal discriminator value ${String(n)}`)}function rx(e,t,n,o){let r=n._zod.def;t.definite=!1;let i=$e(e,t,r.left,o),a=$e(e,t,r.right,o),s=V(t,Rn),c=q(t);return e.write(`const ${c} = ${s}(${i}, ${a});`),e.write(`if (!${c}.valid) return INVALID;`),`${c}.data`}function nx(e,t,n,o){let r=n._zod.def,i=V(t,Je);e.write(`if (!${i}(${o})) return INVALID;`);let a=q(t),s=q(t),c=q(t);e.write(`const ${a} = {};`);let l=r,d=l.partial?void 0:r.keyType._zod.values;if(d){let g=[];for(let b of d){if(!(typeof b==\"string\"||typeof b==\"number\"||typeof b==\"symbol\"))throw new B(`record key value ${String(b)}`);let x=typeof b==\"number\"?b.toString():b;if(x===\"__proto__\")throw new B('record key \"__proto__\"');g.push(x);let O=V(t,b),P=re(e,t,r.keyType,O),U=q(t);e.write(`const ${U} = ${o}[${ix(t,x)}];`);let J=$e(e,t,r.valueType,U);e.write(`${a}[${P}] = ${J};`)}let _=V(t,new Set(g));return e.write(`for (const ${s} in ${o}) {`),e.indented(b=>{b.write(`if (${_}.has(${s})) continue;`),l.mode===\"loose\"?b.write(`if (${s} !== \"__proto__\") ${a}[${s}] = ${o}[${s}];`):b.write(\"return INVALID;\")}),e.write(\"}\"),a}let p=r.keyType._zod.def;if(!(p.type===\"string\"&&p.format===void 0&&!p.coerce&&(p.checks?.length??0)===0)){let g=r.mode===\"loose\",_=Nl(r.keyType);_.definite===!1&&(t.definite=!1);let b=V(t,_),x=V(t,yt),O=q(t);return zS(e,t,o,s,P=>{P.write(`let ${O} = ${b}(${s});`),P.write(`if (${O} === INVALID && typeof ${s} === \"string\" && ${x}.test(${s})) ${O} = ${b}(Number(${s}));`),g?P.write(`if (${O} === INVALID) { ${a}[${s}] = ${o}[${s}]; continue; }`):P.write(`if (${O} === INVALID) return INVALID;`),P.write(`if (${O} === \"__proto__\") continue;`);let U=q(t);P.write(`const ${U} = ${o}[${s}];`);let J=$e(P,t,r.valueType,U);P.write(`${a}[${O}] = ${J};`)}),a}return zS(e,t,o,s,g=>{g.write(`const ${c} = ${o}[${s}];`);let _=$e(g,t,r.valueType,c);g.write(`${a}[${s}] = ${_};`)},\"return INVALID;\"),a}function zS(e,t,n,o,r,i){let a=V(t,Object.prototype.propertyIsEnumerable),s=q(t),c=q(t),l=q(t);e.write(`const ${s} = Object.getOwnPropertySymbols(${n});`),e.write(`const ${c} = Object.getOwnPropertyNames(${n});`),e.write(`for (let ${l} = 0; ${l} < ${c}.length; ${l}++) {`),e.indented(d=>{d.write(`const ${o} = ${c}[${l}];`),d.write(`if (${o} === \"__proto__\" || !${a}.call(${n}, ${o})) continue;`),r(d)}),e.write(\"}\"),e.write(`for (let ${l} = 0; ${l} < ${s}.length; ${l}++) {`),e.indented(d=>{d.write(`const ${o} = ${s}[${l}];`),d.write(`if (!${a}.call(${n}, ${o})) continue;`),i?d.write(i):r(d)}),e.write(\"}\")}function ix(e,t){return typeof t==\"string\"?ke(t):V(e,t)}function ox(e,t,n,o){let r=n._zod.def;e.write(`if (!(${o} instanceof Map)) return INVALID;`);let i=q(t),a=q(t),s=q(t);return e.write(`const ${i} = new Map();`),e.write(`for (const [${a}, ${s}] of ${o}) {`),e.indented(c=>{let l=re(c,t,r.keyType,a),d=re(c,t,r.valueType,s);c.write(`${i}.set(${l}, ${d});`)}),e.write(\"}\"),i}function ax(e,t,n,o){let r=n._zod.def;e.write(`if (!(${o} instanceof Set)) return INVALID;`);let i=q(t),a=q(t);return e.write(`const ${i} = new Set();`),e.write(`for (const ${a} of ${o}) {`),e.indented(s=>{let c=re(s,t,r.valueType,a);s.write(`${i}.add(${c});`)}),e.write(\"}\"),i}function sx(e,t){return e.write(`if (!(${t} instanceof File)) return INVALID;`),t}function cx(e,t,n,o){e.write(`if (typeof ${o} !== \"string\") return INVALID;`);let r=n._zod.pattern;if(r){let i=V(t,r);e.write(`${i}.lastIndex = 0;`),e.write(`if (!${i}.test(${o})) return INVALID;`)}return o}function lx(e,t,n,o){let r=n._zod.def,i=xr(t,r.getter),a=V(t,{parser:null});e.write(`if (!${a}.parser) {`),e.indented(c=>{c.write(`const inner = ${i}();`),c.write(`${a}.parser = function(input) {`),c.indented(l=>{l.write(\"const result = inner._zod.run({ value: input, issues: [] }, {});\"),l.write(\"return result.issues.length === 0 ? result.value : INVALID;\")}),c.write(\"};\")}),e.write(\"}\");let s=q(t);return e.write(`const ${s} = ${a}.parser(${o});`),e.write(`if (${s} === INVALID) return INVALID;`),s}function ux(e,t,n,o){let r=n._zod.def,i=re(e,t,r.in,o);if(r.transform){if(Ir(r.transform))throw new Xe(\"z.compile: async transforms in pipes are not supported\");let a=r.transform,c=xr(t,d=>{let p={value:d,issues:[],addIssue:ff},f=a(d,p);return f instanceof Promise?Ie:p.issues.length===0?f:Ie}),l=q(t);return e.write(`const ${l} = ${c}(${i});`),e.write(`if (${l} === INVALID) return INVALID;`),re(e,t,r.out,l)}else return re(e,t,r.out,i)}function Ir(e){return typeof e==\"function\"&&(e.constructor.name===\"AsyncFunction\"||e[Symbol.toStringTag]===\"AsyncFunction\")}function dx(e,t,n,o){let r=n._zod.def;if(r.fn){if(Ir(r.fn))throw new Xe(\"z.compile: async custom predicates are not supported\");let i=xr(t,r.fn),a=V(t,df),s=q(t);e.write(`const ${s} = ${i}(${o});`),e.write(`if (${s} instanceof Promise) ${a}();`),e.write(`if (!${s}) return INVALID;`)}else throw new B(\"custom schema without a predicate function\");return o}function mx(e,t,n){let o=e._zod.run({value:n,issues:[]},{});if(o&&typeof o.then==\"function\")return Ie;let r=o;return r.issues.length===0?r.value:t()}function px(e,t,n,o){let r=n._zod.def;if(!r.catchValue[Mc])throw new B(\"catch with a callback (only a constant catch value compiles)\",!1);let i=q(t);e.write(`let ${i} = (() => {`),e.indented(l=>{let d=$e(l,t,r.innerType,o);l.write(`return ${d};`)}),e.write(\"})();\");let a=V(t,r.innerType),s=xr(t,r.catchValue),c=V(t,mx);return e.write(`if (${i} === INVALID) {`),e.indented(l=>{l.write(`${i} = ${c}(${a}, ${s}, ${o});`),l.write(`if (${i} === INVALID) return INVALID;`)}),e.write(\"}\"),i}function fx(e,t,n,o){let r=n._zod.def;if(r.transform){if(Ir(r.transform))throw new Xe(\"z.compile: async transforms are not supported\");let i=r.transform,s=xr(t,l=>{let d={value:l,issues:[],addIssue:ff},p=i(l,d);return p instanceof Promise?Ie:d.issues.length===0?p:Ie}),c=q(t);return e.write(`const ${c} = ${s}(${o});`),e.write(`if (${c} === INVALID) return INVALID;`),c}return o}function jl(e){return e.checks&&(e.checks=[...e.checks]),e}function hf(e,t){return new e(jl({type:\"string\",...R(t)}))}function gf(e,t){return new e(jl({type:\"string\",coerce:!0,...R(t)}))}function Al(e,t){return new e({type:\"string\",format:\"email\",check:\"string_format\",abort:!1,...R(t)})}function Ul(e,t){return new e({type:\"string\",format:\"guid\",check:\"string_format\",abort:!1,...R(t)})}function Dl(e,t){return new e({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,...R(t)})}function Ml(e,t){return new e({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,version:\"v4\",...R(t)})}function ql(e,t){return new e({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,version:\"v6\",...R(t)})}function Ll(e,t){return new e({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,version:\"v7\",...R(t)})}function ra(e,t){return new e({type:\"string\",format:\"url\",check:\"string_format\",abort:!1,...R(t)})}function Vl(e,t){return new e({type:\"string\",format:\"emoji\",check:\"string_format\",abort:!1,...R(t)})}function Zl(e,t){return new e({type:\"string\",format:\"nanoid\",check:\"string_format\",abort:!1,...R(t)})}function Fl(e,t){return new e({type:\"string\",format:\"cuid\",check:\"string_format\",abort:!1,...R(t)})}function Jl(e,t){return new e({type:\"string\",format:\"cuid2\",check:\"string_format\",abort:!1,...R(t)})}function Hl(e,t){return new e({type:\"string\",format:\"ulid\",check:\"string_format\",abort:!1,...R(t)})}function Bl(e,t){return new e({type:\"string\",format:\"xid\",check:\"string_format\",abort:!1,...R(t)})}function Kl(e,t){return new e({type:\"string\",format:\"ksuid\",check:\"string_format\",abort:!1,...R(t)})}function Gl(e,t){return new e({type:\"string\",format:\"ipv4\",check:\"string_format\",abort:!1,...R(t)})}function Wl(e,t){return new e({type:\"string\",format:\"ipv6\",check:\"string_format\",abort:!1,...R(t)})}function vf(e,t){return new e({type:\"string\",format:\"mac\",check:\"string_format\",abort:!1,...R(t)})}function Yl(e,t){return new e({type:\"string\",format:\"cidrv4\",check:\"string_format\",abort:!1,...R(t)})}function Xl(e,t){return new e({type:\"string\",format:\"cidrv6\",check:\"string_format\",abort:!1,...R(t)})}function Ql(e,t){return new e({type:\"string\",format:\"base64\",check:\"string_format\",abort:!1,...R(t)})}function eu(e,t){return new e({type:\"string\",format:\"base64url\",check:\"string_format\",abort:!1,...R(t)})}function tu(e,t){return new e({type:\"string\",format:\"e164\",check:\"string_format\",abort:!1,...R(t)})}function _f(e,t){return new e({type:\"string\",format:\"credit_card\",check:\"string_format\",abort:!1,...R(t)})}function Sf(e,t){return new e({type:\"string\",format:\"iban\",check:\"string_format\",abort:!1,...R(t)})}function ru(e,t){return new e({type:\"string\",format:\"jwt\",check:\"string_format\",abort:!1,...R(t)})}var yf={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function na(e,t){return new e({type:\"string\",format:\"datetime\",check:\"string_format\",offset:!1,local:!1,precision:null,...R(t)})}function ia(e,t){return new e({type:\"string\",format:\"date\",check:\"string_format\",...R(t)})}function oa(e,t){return new e({type:\"string\",format:\"time\",check:\"string_format\",precision:null,...R(t)})}function aa(e,t){return new e({type:\"string\",format:\"duration\",check:\"string_format\",...R(t)})}function bf(e,t){return new e(jl({type:\"number\",checks:[],...R(t)}))}function $f(e,t){return new e(jl({type:\"number\",coerce:!0,checks:[],...R(t)}))}function zf(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"safeint\",...R(t)})}function wf(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"float32\",...R(t)})}function kf(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"float64\",...R(t)})}function xf(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"int32\",...R(t)})}function If(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"uint32\",...R(t)})}function Rf(e,t){return new e({type:\"boolean\",...R(t)})}function Pf(e,t){return new e({type:\"boolean\",coerce:!0,...R(t)})}function Tf(e,t){return new e({type:\"bigint\",...R(t)})}function Ef(e,t){return new e({type:\"bigint\",coerce:!0,...R(t)})}function Of(e,t){return new e({type:\"bigint\",check:\"bigint_format\",abort:!1,format:\"int64\",...R(t)})}function Cf(e,t){return new e({type:\"bigint\",check:\"bigint_format\",abort:!1,format:\"uint64\",...R(t)})}function Nf(e,t){return new e({type:\"symbol\",...R(t)})}function jf(e,t){return new e({type:\"undefined\",...R(t)})}function Af(e,t){return new e({type:\"null\",...R(t)})}function Uf(e){return new e({type:\"any\"})}function Df(e){return new e({type:\"unknown\"})}function Mf(e,t){return new e({type:\"never\",...R(t)})}function qf(e,t){return new e({type:\"void\",...R(t)})}function Lf(e,t){return new e({type:\"date\",...R(t)})}function Vf(e,t){return new e({type:\"date\",coerce:!0,...R(t)})}function Zf(e,t){return new e({type:\"nan\",...R(t)})}function ot(e,t){return new tl({check:\"less_than\",...R(t),value:e,inclusive:!1})}function Me(e,t){return new tl({check:\"less_than\",...R(t),value:e,inclusive:!0})}function at(e,t){return new rl({check:\"greater_than\",...R(t),value:e,inclusive:!1})}function qe(e,t){return new rl({check:\"greater_than\",...R(t),value:e,inclusive:!0})}function nu(e){return at(0,e)}function iu(e){return ot(0,e)}function ou(e){return Me(0,e)}function au(e){return qe(0,e)}function Mt(e,t){return new xm({check:\"multiple_of\",...R(t),value:e})}function qt(e,t){return new Pm({check:\"max_size\",...R(t),maximum:e})}function st(e,t){return new Tm({check:\"min_size\",...R(t),minimum:e})}function Rr(e,t){return new Em({check:\"size_equals\",...R(t),size:e})}function Pr(e,t){return new Om({check:\"max_length\",...R(t),maximum:e})}function bt(e,t){return new Cm({check:\"min_length\",...R(t),minimum:e})}function Tr(e,t){return new Nm({check:\"length_equals\",...R(t),length:e})}function On(e,t){return new jm({check:\"string_format\",format:\"regex\",...R(t),pattern:e})}function Cn(e){return new Am({check:\"string_format\",format:\"lowercase\",...R(e)})}function Nn(e){return new Um({check:\"string_format\",format:\"uppercase\",...R(e)})}function jn(e,t){return new Dm({check:\"string_format\",format:\"includes\",...R(t),includes:e})}function An(e,t){return new Mm({check:\"string_format\",format:\"starts_with\",...R(t),prefix:e})}function Un(e,t){return new qm({check:\"string_format\",format:\"ends_with\",...R(t),suffix:e})}function su(e,t,n){return new Lm({check:\"property\",property:e,schema:t,...R(n)})}function Dn(e,t){return new Vm({check:\"properties\",shape:e,...R(t)})}function Mn(e,t){return new Zm({check:\"mime_type\",mime:e,...R(t)})}function Qe(e){return new Fm({check:\"overwrite\",tx:e})}function qn(e){return Qe(t=>t.normalize(e))}function Ln(){return Qe(e=>e.trim())}function Vn(){return Qe(e=>e.toLowerCase())}function Zn(){return Qe(e=>e.toUpperCase())}function Fn(){return Qe(e=>Pd(e))}function Ff(e,t,n){return new e({type:\"array\",element:t,...R(n)})}function hx(e,t,n){return new e({type:\"union\",options:t,...R(n)})}function gx(e,t,n){return new e({type:\"union\",options:t,inclusive:!1,...R(n)})}function vx(e,t,n,o){return new e({type:\"union\",options:n,discriminator:t,...R(o)})}function _x(e,t,n){return new e({type:\"intersection\",left:t,right:n})}function Sx(e,t,n,o){let r=n instanceof Z,i=r?o:n,a=r?n:null;return new e({type:\"tuple\",items:t,rest:a,...R(i)})}function yx(e,t,n,o){return new e({type:\"record\",keyType:t,valueType:n,...R(o)})}function bx(e,t,n,o){return new e({type:\"map\",keyType:t,valueType:n,...R(o)})}function $x(e,t,n){return new e({type:\"set\",valueType:t,...R(n)})}function zx(e,t,n){let o=Array.isArray(t)?Object.fromEntries(t.map(r=>[r,r])):t;return new e({type:\"enum\",entries:o,...R(n)})}function wx(e,t,n){return new e({type:\"enum\",entries:t,...R(n)})}function kx(e,t,n){return new e({type:\"literal\",values:Array.isArray(t)?t:[t],...R(n)})}function Jf(e,t){return new e({type:\"file\",...R(t)})}function xx(e,t){return new e({type:\"transform\",transform:t})}function Ix(e,t){return new e({type:\"optional\",innerType:t})}function Rx(e,t){return new e({type:\"nullable\",innerType:t})}function Px(e,t,n){return new e({type:\"default\",innerType:t,get defaultValue(){return typeof n==\"function\"?n():xo(n)}})}function Tx(e,t,n){return new e({type:\"nonoptional\",innerType:t,...R(n)})}function Ex(e,t){return new e({type:\"success\",innerType:t})}function Ox(e,t,n){return new e({type:\"catch\",innerType:t,catchValue:typeof n==\"function\"?n:jd(n)})}function Cx(e,t,n){return new e({type:\"pipe\",in:t,out:n})}function Nx(e,t){return new e({type:\"readonly\",innerType:t})}function jx(e,t,n){return new e({type:\"template_literal\",parts:t,...R(n)})}function Ax(e,t){return new e({type:\"lazy\",getter:t})}function Ux(e,t){return new e({type:\"promise\",innerType:t})}function Hf(e,t,n){let o=R(n);return o.abort??(o.abort=!0),new e({type:\"custom\",check:\"custom\",fn:t,...o})}function Bf(e,t,n){return new e({type:\"custom\",check:\"custom\",fn:t,...R(n)})}function Kf(e,t){let n=IS(o=>(o.addIssue=r=>{if(typeof r==\"string\")o.issues.push($n(r,o.value,n._zod.def));else{let i=r;i.fatal&&(i.continue=!1),i.code??(i.code=\"custom\"),\"input\"in i||(i.input=o.value),i.inst??(i.inst=n),i.continue??(i.continue=!n._zod.def.abort),o.issues.push($n(i))}},e(o.value,o)),t);return n}function IS(e,t){let n=new te({check:\"custom\",...R(t)});return n._zod.check=e,n}function Gf(e){let t=new te({check:\"describe\"});return t._zod.onattach=[n=>{let o=ge.get(n)??{};ge.add(n,{...o,description:e})}],t._zod.check=()=>{},t}function Wf(e){let t=new te({check:\"meta\"});return t._zod.onattach=[n=>{let o=ge.get(n)??{};ge.add(n,{...o,...e})}],t._zod.check=()=>{},t}function Yf(e,t){let n=R(t),o=n.truthy??[\"true\",\"1\",\"yes\",\"on\",\"y\",\"enabled\"],r=n.falsy??[\"false\",\"0\",\"no\",\"off\",\"n\",\"disabled\"];n.case!==\"sensitive\"&&(o=o.map(g=>typeof g==\"string\"?g.toLowerCase():g),r=r.map(g=>typeof g==\"string\"?g.toLowerCase():g));let i=new Set(o),a=new Set(r),s=e.Codec??Go,c=e.Boolean??Bo,l=e.String??zr,d=new l({type:\"string\",error:n.error}),p=new c({type:\"boolean\",error:n.error}),f=new s({type:\"pipe\",in:d,out:p,transform:((g,_)=>{let b=g;return n.case!==\"sensitive\"&&(b=b.toLowerCase()),i.has(b)?!0:a.has(b)?!1:(_.issues.push({code:\"invalid_value\",expected:\"stringbool\",values:[...i,...a],input:_.value,inst:f,continue:!1}),{})}),reverseTransform:((g,_)=>g===!0?o[0]||\"true\":r[0]||\"false\"),error:n.error});return f._zod.bag.truthy=o,f._zod.bag.falsy=r,f._zod.bag.case=n.case??\"insensitive\",f}function Er(e,t,n,o={}){let r=R(o),i={check:\"string_format\",type:\"string\",format:t,fn:typeof n==\"function\"?n:s=>n.test(s),...r};return n instanceof RegExp&&(i.pattern=n),new e(i)}function sa(e,...t){for(let n of t)for(let o of Reflect.ownKeys(n))Object.prototype.propertyIsEnumerable.call(n,o)&&he(e,o,n[o]);return e}function Lt(e){let t=e?.target??\"draft-2020-12\";return t===\"draft-4\"&&(t=\"draft-04\"),t===\"draft-7\"&&(t=\"draft-07\"),{processors:e.processors??{},metadataRegistry:e?.metadata??ge,target:t,unrepresentable:e?.unrepresentable??\"throw\",override:e?.override??(()=>{}),io:e?.io??\"output\",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??\"ref\",reused:e?.reused??\"inline\",intersections:[],deferred:[],external:e?.external??void 0}}function le(e,t,n,o,r){let i=typeof t.unrepresentable==\"function\"?t.unrepresentable({zodSchema:e,path:o.path,message:r}):t.unrepresentable;if(i===\"any\")return!1;if(i===void 0||i===\"throw\")throw new Error(r);return Object.assign(n,i),!0}function Q(e,t,n={path:[],schemaPath:[]}){var o;let r=e._zod.def,i=t.seen.get(e);if(i)return i.count++,n.schemaPath.includes(e)&&(i.cycle=n.path),i.schema;let a={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,a),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;let s=e._zod.toJSONSchema?.();if(s)a.schema=s;else{let d={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,d);else{let f=a.schema,g=t.processors[r.type];if(!g)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${r.type}`);g(e,t,f,d)}let p=e._zod.parent;p&&(a.ref||(a.ref=p),Q(p,t,d),t.seen.get(p).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&sa(a.schema,c),t.io===\"input\"&&Re(e)&&(delete a.schema.examples,delete a.schema.default),t.io===\"input\"&&\"_prefault\"in a.schema&&((o=a.schema).default??(o.default=a.schema._prefault)),delete a.schema._prefault,t.seen.get(e).schema}function RS(e){return e.replace(/~/g,\"~0\").replace(/\\//g,\"~1\")}function Vt(e,t){let n=e.seen.get(t);if(!n)throw new Error(\"Unprocessed schema. This is a bug in Zod.\");if(e.external&&e.sharedDefsExtractedFor===e.external)return;let o=new Map;for(let a of e.seen.entries()){let s=e.metadataRegistry.get(a[0])?.id;if(s){let c=o.get(s);if(c&&c!==a[0])throw new Error(`Duplicate schema id \"${s}\" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);o.set(s,a[0])}}let r=a=>{let s=e.target===\"draft-2020-12\"?\"$defs\":\"definitions\";if(e.external){let p=e.external.registry.get(a[0])?.id,f=e.external.uri??(_=>_);if(p)return{ref:f(p)};let g=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=g,{defId:g,ref:`${f(\"__shared\")}#/${s}/${RS(g)}`}}let c=\"#\",l=`${c}/${s}/`;if(a[1]===n&&!a[1].schema.id)return{ref:c};let d=a[1].schema.id??`__schema${e.counter++}`;return{defId:d,ref:l+RS(d)}},i=a=>{if(a[1].schema.$ref)return;let s=a[1],{ref:c,defId:l}=r(a);s.def={...s.schema},l&&(s.defId=l);let d=s.schema;for(let p in d)delete d[p];d.$ref=c};if(e.cycles===\"throw\")for(let a of e.seen.entries()){let s=a[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join(\"/\")}/<root>\n\nSet the \\`cycles\\` parameter to \\`\"ref\"\\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let s=a[1];if(t===a[0]){i(a);continue}if(e.external){let l=e.external.registry.get(a[0])?.id;if(t!==a[0]&&l){i(a);continue}}if(e.metadataRegistry.get(a[0])?.id){i(a);continue}if(s.cycle){i(a);continue}s.count>1&&e.reused===\"ref\"&&i(a)}e.external&&(e.sharedDefsExtractedFor=e.external)}function ES(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let n=[];for(let o of t){if(!o||typeof o!=\"object\")return;ES(o);let r=Object.keys(o);if(r.length!==1||r[0]!==\"type\")return;let i=o.type;for(let a of Array.isArray(i)?i:[i]){if(typeof a!=\"string\")return;n.includes(a)||n.push(a)}}delete e.anyOf,e.type=n.length===1?n[0]:n}var OS=new Set([\"type\",\"properties\",\"required\",\"additionalProperties\"]),PS=[\"oneOf\",\"anyOf\"];function TS(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!=\"object\"||t===null?null:Object.keys(t).length?t:null}function Xf(e){let t=[];for(let i of e){if(typeof i!=\"object\"||i.type!==\"object\")return null;for(let a in i)if(!OS.has(a))return null;t.push(i)}let n={},o=new Set;for(let i of t){for(let a in i.properties){if(Object.prototype.hasOwnProperty.call(n,a))continue;let s=[];for(let l of t){let d=l.properties?.[a]??TS(l);d!=null&&(s.some(p=>JSON.stringify(p)===JSON.stringify(d))||s.push(d))}let c=s.length===1?s[0]:Xf(s)??{allOf:s};he(n,a,c)}for(let a of i.required??[])o.add(a)}let r={type:\"object\",properties:n};if(o.size&&(r.required=[...o]),t.every(i=>i.additionalProperties===!1))r.additionalProperties=!1;else{let i=[];for(let a of t){let s=TS(a);s&&!i.some(c=>JSON.stringify(c)===JSON.stringify(s))&&i.push(s)}i.length===1?r.additionalProperties=i[0]:i.length>1&&(r.additionalProperties={allOf:i})}return r}function Dx(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let r of OS)if(r in e)return;let n=t.filter(r=>PS.some(i=>Array.isArray(r[i]))),o=null;if(!n.length)o=Xf(t);else{let r=n[0],i=PS.find(c=>Array.isArray(r[c]));if(Object.keys(r).length!==1)return;let a=t.filter(c=>c!==r),s=r[i].map(c=>Xf([...a,c]));if(s.some(c=>!c))return;o={[i]:s}}o&&(delete e.allOf,sa(e,o))}function Zt(e,t){let n=e.seen.get(t);if(!n)throw new Error(\"Unprocessed schema. This is a bug in Zod.\");let o=s=>{let c=e.seen.get(s);if(c.ref===null)return;let l=c.def??c.schema,d={...l},p=c.ref;if(c.ref=null,p){o(p);let g=e.seen.get(p),_=g.schema;if(_.$ref&&(e.target===\"draft-07\"||e.target===\"draft-04\"||e.target===\"openapi-3.0\")?(l.allOf=l.allOf??[],l.allOf.push(_)):sa(l,_),sa(l,d),s._zod.parent===p)for(let x in l)x===\"$ref\"||x===\"allOf\"||x in d||delete l[x];if(_.$ref&&g.def)for(let x in l)x===\"$ref\"||x===\"allOf\"||x in g.def&&JSON.stringify(l[x])===JSON.stringify(g.def[x])&&delete l[x]}let f=s._zod.parent;if(f&&f!==p){o(f);let g=e.seen.get(f);if(g?.schema.$ref&&(l.$ref=g.schema.$ref,g.def))for(let _ in l)_===\"$ref\"||_===\"allOf\"||_ in g.def&&JSON.stringify(l[_])===JSON.stringify(g.def[_])&&delete l[_]}e.override({zodSchema:s,jsonSchema:l,path:c.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let s of[...e.seen.entries()].reverse())o(s[0]);if(e.target!==\"openapi-3.0\")for(let s of e.seen.entries())ES(s[1].def??s[1].schema);for(let s of e.deferred)s();if(e.intersections.length){let s=new Map;for(let c of e.seen.values())for(let l of[c.schema,c.def]){let d=l?.allOf;if(!Array.isArray(d))continue;let p=s.get(d);p?p.push(l):s.set(d,[l])}for(let c of e.intersections)for(let l of s.get(c)??[])Dx(l)}}let r={};if(e.target===\"draft-2020-12\"?r.$schema=\"https://json-schema.org/draft/2020-12/schema\":e.target===\"draft-07\"?r.$schema=\"http://json-schema.org/draft-07/schema#\":e.target===\"draft-04\"?r.$schema=\"http://json-schema.org/draft-04/schema#\":e.target,e.external?.uri){let s=e.external.registry.get(t)?.id;if(!s)throw new Error(\"Schema is missing an `id` property\");r.$id=e.external.uri(s)}sa(r,n.defId?n.schema:n.def??n.schema);let i=e.metadataRegistry.get(t)?.id;i!==void 0&&r.id===i&&delete r.id;let a=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let s of e.seen.entries()){let c=s[1];c.def&&c.defId&&(c.def.id===c.defId&&delete c.def.id,he(a,c.defId,c.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(a).length>0&&(e.target===\"draft-2020-12\"?r.$defs=a:r.definitions=a);try{let s=JSON.parse(JSON.stringify(r));return Object.defineProperty(s,\"~standard\",{value:{...t[\"~standard\"],jsonSchema:{input:Jn(t,\"input\",e.processors),output:Jn(t,\"output\",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error(\"Error converting schema to JSON.\")}}function Re(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let o=e._zod.def;if(o.type===\"transform\")return!0;if(o.type===\"array\")return Re(o.element,n);if(o.type===\"set\")return Re(o.valueType,n);if(o.type===\"lazy\")return Re(o.getter(),n);if(o.type===\"promise\"||o.type===\"optional\"||o.type===\"nonoptional\"||o.type===\"nullable\"||o.type===\"readonly\"||o.type===\"default\"||o.type===\"prefault\"||o.type===\"catch\")return Re(o.innerType,n);if(o.type===\"intersection\")return Re(o.left,n)||Re(o.right,n);if(o.type===\"record\"||o.type===\"map\")return Re(o.keyType,n)||Re(o.valueType,n);if(o.type===\"pipe\")return e._zod.traits.has(\"$ZodCodec\")?!0:Re(o.in,n)||Re(o.out,n);if(o.type===\"object\"){for(let r in o.shape)if(Re(o.shape[r],n))return!0;return!1}if(o.type===\"union\"){for(let r of o.options)if(Re(r,n))return!0;return!1}if(o.type===\"tuple\"){for(let r of o.items)if(Re(r,n))return!0;return!!(o.rest&&Re(o.rest,n))}return!1}var Qf=(e,t={})=>n=>{let o=Lt({...n,processors:t});return Q(e,o),Vt(o,e),Zt(o,e)},Jn=(e,t,n={})=>o=>{let{libraryOptions:r,target:i}=o??{},a=Lt({...r??{},target:i,io:t,processors:n});return Q(e,a),Vt(a,e),Zt(a,e)};var Hn=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},Bn=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},CS=(e,t)=>{Hn(e,\"minimum\",t),Bn(e,\"maximum\",t)},US=(e,t)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(t)||e.multipleOf.push(t)},DS=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},MS=(e,t)=>{e.mime=e.mime?e.mime.filter(n=>t.includes(n)):[...t]},qS=(e,t)=>{e.format=t,t.includes(\"int\")&&(e.isInt=!0)},NS=(e,t)=>Hn(e,\"minimum\",t.minimum),jS=(e,t)=>Bn(e,\"maximum\",t.maximum),AS=e=>(t,n)=>{qS(t,n.format);let[o,r]=e[n.format];Hn(t,\"minimum\",o),Bn(t,\"maximum\",r)},Mx={greater_than:(e,t)=>Hn(e,t.inclusive?\"minimum\":\"exclusiveMinimum\",t.value),less_than:(e,t)=>Bn(e,t.inclusive?\"maximum\":\"exclusiveMaximum\",t.value),multiple_of:(e,t)=>US(e,t.value),number_format:AS(Ro),bigint_format:AS(Po),min_length:NS,max_length:jS,length_equals:(e,t)=>CS(e,t.length),min_size:NS,max_size:jS,size_equals:(e,t)=>CS(e,t.size),string_format:(e,t)=>{qS(e,t.format),t.pattern&&DS(e,t.pattern),(t.format===\"base64\"||t.format===\"base64url\")&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>MS(e,t.mime)};function ue(e){let t={},n=e._zod.def,o=e._zod.traits.has(\"$ZodCheck\")?[e,...n.checks??[]]:n.checks??[];for(let i of o)Mx[i._zod.def.check]?.(t,i._zod.def);let r=e._zod.bag;r.minimum!==void 0&&Hn(t,\"minimum\",r.minimum),r.exclusiveMinimum!==void 0&&Hn(t,\"exclusiveMinimum\",r.exclusiveMinimum),r.maximum!==void 0&&Bn(t,\"maximum\",r.maximum),r.exclusiveMaximum!==void 0&&Bn(t,\"exclusiveMaximum\",r.exclusiveMaximum),r.multipleOf!==void 0&&US(t,r.multipleOf),r.format!==void 0&&(t.format??(t.format=r.format),r.format.includes(\"int\")&&(t.isInt=!0)),r.mime&&MS(t,r.mime);for(let i of r.patterns??[])DS(t,i);return t}var qx={guid:\"uuid\",url:\"uri\",datetime:\"date-time\",json_string:\"json-string\",regex:\"\"},Lx=new Map([[ml,am],[Ho,sm]]),LS=e=>Lx.get(e)??e,rh=(e,t,n,o)=>{let r=n;r.type=\"string\";let{minimum:i,maximum:a,format:s,patterns:c,contentEncoding:l,laxFormat:d}=ue(e);if(typeof i==\"number\"&&(r.minLength=i),typeof a==\"number\"&&(r.maxLength=a),s&&(r.format=qx[s]??s,r.format===\"\"&&delete r.format,(s===\"time\"||d)&&delete r.format),l&&(r.contentEncoding=l),c&&c.size>0){let p=[...c].map(LS);p.length===1?r.pattern=p[0].source:p.length>1&&(r.allOf=[...p.map(f=>({...t.target===\"draft-07\"||t.target===\"draft-04\"||t.target===\"openapi-3.0\"?{type:\"string\"}:{},pattern:f.source}))])}},nh=(e,t,n,o)=>{let r=n,{minimum:i,maximum:a,multipleOf:s,exclusiveMaximum:c,exclusiveMinimum:l,isInt:d}=ue(e);r.type=d?\"integer\":\"number\";let p=typeof l==\"number\"&&l>=(i??Number.NEGATIVE_INFINITY),f=typeof c==\"number\"&&c<=(a??Number.POSITIVE_INFINITY),g=t.target===\"draft-04\"||t.target===\"openapi-3.0\";if(p?g?(r.minimum=l,r.exclusiveMinimum=!0):r.exclusiveMinimum=l:typeof i==\"number\"&&(r.minimum=i),f?g?(r.maximum=c,r.exclusiveMaximum=!0):r.exclusiveMaximum=c:typeof a==\"number\"&&(r.maximum=a),s){let _=new Set;for(let O of s)Number.isFinite(O)&&O!==0?_.add(Math.abs(O)):le(e,t,r,o,`A multipleOf divisor of ${O} cannot be represented in JSON Schema`);let[b,...x]=_;b!==void 0&&(r.multipleOf=b),x.length&&(r.allOf=[...r.allOf??[],...x.map(O=>({multipleOf:O}))])}},ih=(e,t,n,o)=>{n.type=\"boolean\"},oh=(e,t,n,o)=>{le(e,t,n,o,\"BigInt cannot be represented in JSON Schema\")},ah=(e,t,n,o)=>{le(e,t,n,o,\"Symbols cannot be represented in JSON Schema\")},sh=(e,t,n,o)=>{t.target===\"openapi-3.0\"?(n.type=\"string\",n.nullable=!0,n.enum=[null]):n.type=\"null\"},ch=(e,t,n,o)=>{le(e,t,n,o,\"Undefined cannot be represented in JSON Schema\")},lh=(e,t,n,o)=>{le(e,t,n,o,\"Void cannot be represented in JSON Schema\")},uh=(e,t,n,o)=>{n.not={}},dh=(e,t,n,o)=>{},mh=(e,t,n,o)=>{},ph=(e,t,n,o)=>{le(e,t,n,o,\"Date cannot be represented in JSON Schema\")},fh=(e,t,n,o)=>{let r=e._zod.def,i=_n(r.entries);if(i.length===0){n.not={};return}i.every(a=>typeof a==\"number\")&&(n.type=\"number\"),i.every(a=>typeof a==\"string\")&&(n.type=\"string\"),n.enum=i},hh=(e,t,n,o)=>{let r=e._zod.def;if(r.values.length===0){n.not={};return}let i=[];for(let a of r.values)if(a===void 0){if(le(e,t,n,o,\"Literal `undefined` cannot be represented in JSON Schema\"))return}else if(typeof a==\"bigint\"){if(le(e,t,n,o,\"BigInt literals cannot be represented in JSON Schema\"))return;i.push(Number(a))}else i.push(a);if(i.length!==0)if(i.length===1){let a=i[0];n.type=a===null?\"null\":typeof a,t.target===\"draft-04\"||t.target===\"openapi-3.0\"?n.enum=[a]:n.const=a}else i.every(a=>typeof a==\"number\")&&(n.type=\"number\"),i.every(a=>typeof a==\"string\")&&(n.type=\"string\"),i.every(a=>typeof a==\"boolean\")&&(n.type=\"boolean\"),i.every(a=>a===null)&&(n.type=\"null\"),n.enum=i},gh=(e,t,n,o)=>{le(e,t,n,o,\"NaN cannot be represented in JSON Schema\")},vh=(e,t,n,o)=>{let r=n,i=e._zod.pattern;if(!i)throw new Error(\"Pattern not found in template literal\");r.type=\"string\",r.pattern=i.source},_h=(e,t,n,o)=>{let r=n;r.type=\"string\",r.format=\"binary\",r.contentEncoding=\"binary\";let{minimum:i,maximum:a,mime:s}=ue(e);i!==void 0&&(r.minLength=i),a!==void 0&&(r.maxLength=a),s&&(s.length===0?r.not={}:s.length===1?r.contentMediaType=s[0]:r.anyOf=s.map(c=>({contentMediaType:c})))},Sh=(e,t,n,o)=>{n.type=\"boolean\"},yh=(e,t,n,o)=>{le(e,t,n,o,\"Custom types cannot be represented in JSON Schema\")},bh=(e,t,n,o)=>{le(e,t,n,o,\"Function types cannot be represented in JSON Schema\")},$h=(e,t,n,o)=>{le(e,t,n,o,\"Transforms cannot be represented in JSON Schema\")},zh=(e,t,n,o)=>{le(e,t,n,o,\"Map cannot be represented in JSON Schema\")},wh=(e,t,n,o)=>{le(e,t,n,o,\"Set cannot be represented in JSON Schema\")},kh=(e,t,n,o)=>{let r=n,i=e._zod.def,{minimum:a,maximum:s}=ue(e);typeof a==\"number\"&&(r.minItems=a),typeof s==\"number\"&&(r.maxItems=s),r.type=\"array\",r.items=Q(i.element,t,{...o,path:[...o.path,\"items\"]})};function ca(e){let t=e._zod.def;return t.type===\"pipe\"&&t.in._zod.traits.has(\"$ZodTransform\")?ca(t.out):t.type===\"catch\"?ca(t.innerType):e._zod.optin}var xh=(e,t,n,o)=>{let r=n,i=e._zod.def,a=i.shape;if(Object.getOwnPropertySymbols(a).length&&le(e,t,r,o,\"Symbol keys cannot be represented in JSON Schema\"))return;r.type=\"object\",r.properties={};for(let l in a)he(r.properties,l,Q(a[l],t,{...o,path:[...o.path,\"properties\",l]}));let c=[];for(let l of Object.keys(a)){let d=i.shape[l];(t.io===\"input\"?ca(d)===void 0:d._zod.optout===void 0)&&c.push(l)}c.length>0&&(r.required=c),i.catchall?._zod.def.type===\"never\"?r.additionalProperties=!1:i.catchall?i.catchall&&(r.additionalProperties=Q(i.catchall,t,{...o,path:[...o.path,\"additionalProperties\"]})):t.io===\"output\"&&(r.additionalProperties=!1)},lu=(e,t,n,o)=>{let r=e._zod.def,i=r.inclusive===!1,a=r.options.map((s,c)=>Q(s,t,{...o,path:[...o.path,i?\"oneOf\":\"anyOf\",c]}));i?n.oneOf=a:n.anyOf=a},Ih=(e,t,n,o)=>{let r=e._zod.def,i=Q(r.left,t,{...o,path:[...o.path,\"allOf\",0]}),a=Q(r.right,t,{...o,path:[...o.path,\"allOf\",1]}),s=l=>\"allOf\"in l&&Object.keys(l).length===1,c=[...s(i)?i.allOf:[i],...s(a)?a.allOf:[a]];n.allOf=c,t.intersections.push(c)},Rh=(e,t,n,o)=>{let r=n,i=e._zod.def;r.type=\"array\";let a=t.target===\"draft-2020-12\"?\"prefixItems\":\"items\",s=t.target===\"draft-2020-12\"||t.target===\"openapi-3.0\"?\"items\":\"additionalItems\",c=i.items.map((b,x)=>Q(b,t,{...o,path:[...o.path,a,x]})),l=i.rest?Q(i.rest,t,{...o,path:[...o.path,s,...t.target===\"openapi-3.0\"?[i.items.length]:[]]}):null,d=i.items.length;for(;d>0;){let b=i.items[d-1];if(!(t.io===\"input\"?ca(b)!==void 0:b._zod.optout===\"optional\"))break;d--}let p=i.items.length,f=!i.rest;t.target===\"draft-2020-12\"?(r.prefixItems=c,f?r.items=!1:l&&(r.items=l),d>0&&(r.minItems=d),f&&(r.maxItems=p)):t.target===\"openapi-3.0\"?(r.items={anyOf:c},l&&r.items.anyOf.push(l),d>0&&(r.minItems=d),f&&(r.maxItems=p)):(r.items=c,f?r.additionalItems=!1:l&&(r.additionalItems=l),d>0&&(r.minItems=d),f&&(r.maxItems=p));let{minimum:g,maximum:_}=ue(e);typeof g==\"number\"&&(r.minItems=g),typeof _==\"number\"&&(r.maxItems=_)};function eh(e,t,n){if(t.$ref){if(n.has(t))return t;n.add(t);let _=e.get(t)?.def;if(!_)return t;let b=eh(e,_,n);return b===_?t:b}for(let _ of[\"anyOf\",\"oneOf\"]){let b=t[_];if(!Array.isArray(b))continue;let x=b.map(O=>eh(e,O,n));x.some((O,P)=>O!==b[P])&&(t={...t,[_]:x})}let o=Array.isArray(t.type)?t.type:[t.type],r=!o.includes(\"string\")&&o.some(_=>_===\"number\"||_===\"integer\"),i=t.enum??(t.const!==void 0?[t.const]:void 0);if(!r&&!i?.some(_=>typeof _==\"number\"))return t;let{minimum:a,maximum:s,exclusiveMinimum:c,exclusiveMaximum:l,multipleOf:d,format:p,id:f,...g}=t;return g.enum?g.enum=g.enum.map(_=>typeof _==\"number\"?String(_):_):typeof g.const==\"number\"&&(g.const=String(g.const)),r&&(g.type=\"string\",i||(g.pattern=(o.includes(\"number\")?yt:Mo).source)),g}var th=new WeakMap;function Vx(e){let t=new Map;for(let o of e.seen.values())o.def&&!t.has(o.schema)&&t.set(o.schema,o);let n=new Map;for(let o of th.get(e)??[]){let r=e.seen.get(o),i=(r?.def??r?.schema)?.propertyNames;if(!i||i===!0||n.has(i))continue;let a=eh(t,i,new Set);a!==i&&n.set(i,a)}if(n.size)for(let o of e.seen.values())for(let r of[o.schema,o.def]){let i=r&&n.get(r.propertyNames);i&&(r.propertyNames=i)}}var Ph=(e,t,n,o)=>{let r=n,i=e._zod.def;r.type=\"object\";let a=i.keyType,s=ue(a).patterns;if(i.mode===\"loose\"&&s&&s.size>0){let d=Q(i.valueType,t,{...o,path:[...o.path,\"patternProperties\",\"*\"]});r.patternProperties={};for(let p of s)he(r.patternProperties,LS(p).source,d)}else{if(t.target===\"draft-07\"||t.target===\"draft-2020-12\"){r.propertyNames=Q(i.keyType,t,{...o,path:[...o.path,\"propertyNames\"]});let d=th.get(t);d||(d=[],th.set(t,d),t.deferred.push(()=>Vx(t))),d.push(e)}r.additionalProperties=Q(i.valueType,t,{...o,path:[...o.path,\"additionalProperties\"]})}let c=a._zod.values,l=t.io===\"input\"&&ca(i.valueType)!==void 0;if(c&&!i.partial&&!l){let d=[...c].filter(p=>typeof p==\"string\"||typeof p==\"number\");d.length>0&&(r.required=d.map(String))}},Th=(e,t,n,o)=>{let r=e._zod.def,i=Q(r.innerType,t,o),a=t.seen.get(e);t.target===\"openapi-3.0\"?(a.ref=r.innerType,n.nullable=!0):n.anyOf=[i,{type:\"null\"}]},Eh=(e,t,n,o)=>{let r=e._zod.def;Q(r.innerType,t,o);let i=t.seen.get(e);i.ref=r.innerType},Oh=Symbol();function VS(e,t,n,o,r){let i=!1,a=JSON.stringify(e,(s,c)=>typeof c!=\"bigint\"?c:(i=!0,null));return i?(le(t,n,o,r,\"BigInt defaults cannot be represented in JSON Schema\"),Oh):JSON.parse(a)}var Ch=(e,t,n,o)=>{let r=e._zod.def;Q(r.innerType,t,o);let i=t.seen.get(e);i.ref=r.innerType;let a=VS(r.defaultValue,e,t,n,o);a!==Oh&&(n.default=a)},Nh=(e,t,n,o)=>{let r=e._zod.def;Q(r.innerType,t,o);let i=t.seen.get(e);if(i.ref=r.innerType,t.io!==\"input\")return;let a=VS(r.defaultValue,e,t,n,o);a!==Oh&&(n._prefault=a)},jh=(e,t,n,o)=>{let r=e._zod.def;Q(r.innerType,t,o);let i=t.seen.get(e);i.ref=r.innerType;let a;try{a=r.catchValue(void 0)}catch{le(e,t,n,o,\"Dynamic catch values are not supported in JSON Schema\");return}n.default=a},Ah=(e,t,n,o)=>{let r=e._zod.def,i=r.in._zod.traits.has(\"$ZodTransform\"),a=t.io===\"input\"?i?r.out:r.in:r.out;Q(a,t,o);let s=t.seen.get(e);s.ref=a},Uh=(e,t,n,o)=>{let r=e._zod.def;Q(r.innerType,t,o);let i=t.seen.get(e);i.ref=r.innerType,n.readOnly=!0},Dh=(e,t,n,o)=>{let r=e._zod.def;Q(r.innerType,t,o);let i=t.seen.get(e);i.ref=r.innerType},uu=(e,t,n,o)=>{let r=e._zod.def;Q(r.innerType,t,o);let i=t.seen.get(e);i.ref=r.innerType},Mh=(e,t,n,o)=>{let r=e._zod.innerType;Q(r,t,o);let i=t.seen.get(e);i.ref=r},cu={string:rh,number:nh,boolean:ih,bigint:oh,symbol:ah,null:sh,undefined:ch,void:lh,never:uh,any:dh,unknown:mh,date:ph,enum:fh,literal:hh,nan:gh,template_literal:vh,file:_h,success:Sh,custom:yh,function:bh,transform:$h,map:zh,set:wh,array:kh,object:xh,union:lu,intersection:Ih,tuple:Rh,record:Ph,nullable:Th,nonoptional:Eh,default:Ch,prefault:Nh,catch:jh,pipe:Ah,readonly:Uh,promise:Dh,optional:uu,lazy:Mh};function Or(e,t){if(\"_idmap\"in e){let o=e,r=Lt({...t,processors:cu}),i={};for(let c of o._idmap.entries()){let[l,d]=c;Q(d,r)}let a={},s={registry:o,uri:t?.uri,defs:i};r.external=s;for(let c of o._idmap.entries()){let[l,d]=c;Vt(r,d),he(a,l,Zt(r,d))}if(Object.keys(i).length>0){let c=r.target===\"draft-2020-12\"?\"$defs\":\"definitions\";a.__shared={[c]:i}}return{schemas:a}}let n=Lt({...t,processors:cu});return Q(e,n),Vt(n,e),Zt(n,e)}var du=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let n=t?.target??\"draft-2020-12\";n===\"draft-4\"&&(n=\"draft-04\"),n===\"draft-7\"&&(n=\"draft-07\"),this.ctx=Lt({processors:cu,target:n,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,n={path:[],schemaPath:[]}){return Q(t,this.ctx,n)}emit(t,n){n&&(n.cycles&&(this.ctx.cycles=n.cycles),n.reused&&(this.ctx.reused=n.reused),n.external&&(this.ctx.external=n.external)),this.ctx.sharedDefsExtractedFor=void 0,this.ctx.sharedEmitDoneFor=void 0,Vt(this.ctx,t);let o=Zt(this.ctx,t),{\"~standard\":r,...i}=o;return i}};var ZS={};var ti={};vt(ti,{ZodAny:()=>ng,ZodArray:()=>sg,ZodBase64:()=>Eu,ZodBase64URL:()=>Ou,ZodBigInt:()=>ei,ZodBigIntFormat:()=>ju,ZodBoolean:()=>Qn,ZodCIDRv4:()=>Pu,ZodCIDRv6:()=>Tu,ZodCUID:()=>$u,ZodCUID2:()=>zu,ZodCatch:()=>xg,ZodCodec:()=>va,ZodCreditCard:()=>Xh,ZodCustom:()=>_a,ZodCustomStringFormat:()=>Nr,ZodDate:()=>ma,ZodDefault:()=>yg,ZodDiscriminatedUnion:()=>lg,ZodE164:()=>Cu,ZodEmail:()=>vu,ZodEmoji:()=>yu,ZodEnum:()=>Gn,ZodExactOptional:()=>Mu,ZodFile:()=>gg,ZodFunction:()=>jg,ZodGUID:()=>Su,ZodIBAN:()=>Qh,ZodIPv4:()=>Iu,ZodIPv6:()=>Ru,ZodISODate:()=>Jt,ZodISODateTime:()=>Ft,ZodISODuration:()=>Bt,ZodISOTime:()=>Ht,ZodInstanceOf:()=>Dg,ZodIntersection:()=>ug,ZodJWT:()=>Nu,ZodKSUID:()=>xu,ZodLazy:()=>Cg,ZodLiteral:()=>hg,ZodMAC:()=>Yh,ZodMap:()=>pg,ZodNaN:()=>Rg,ZodNanoID:()=>bu,ZodNever:()=>og,ZodNonOptional:()=>qu,ZodNull:()=>rg,ZodNullable:()=>Sg,ZodNumber:()=>Xn,ZodNumberFormat:()=>jr,ZodObject:()=>pa,ZodOptional:()=>ha,ZodPipe:()=>ga,ZodPrefault:()=>$g,ZodPreprocess:()=>Pg,ZodPromise:()=>Ng,ZodReadonly:()=>Tg,ZodRecord:()=>Kn,ZodSet:()=>fg,ZodString:()=>Wn,ZodStringFormat:()=>ee,ZodSuccess:()=>kg,ZodSymbol:()=>eg,ZodTemplateLiteral:()=>Og,ZodTransform:()=>vg,ZodTuple:()=>dg,ZodType:()=>F,ZodULID:()=>wu,ZodURL:()=>da,ZodUUID:()=>ct,ZodUndefined:()=>tg,ZodUnion:()=>fa,ZodUnknown:()=>ig,ZodVoid:()=>ag,ZodXID:()=>ku,ZodXor:()=>cg,_ZodString:()=>gu,_default:()=>bg,_function:()=>Ky,any:()=>Au,array:()=>y,base64:()=>uy,base64url:()=>dy,bigint:()=>ky,boolean:()=>C,catch:()=>Ig,check:()=>Gy,cidrv4:()=>cy,cidrv6:()=>ly,codec:()=>Fy,creditCard:()=>py,cuid:()=>ey,cuid2:()=>ty,currencyCode:()=>Sy,custom:()=>Wy,date:()=>Ey,describe:()=>Yy,discriminatedUnion:()=>Kt,e164:()=>my,email:()=>_u,emoji:()=>XS,enum:()=>L,exactOptional:()=>_g,file:()=>qy,float32:()=>by,float64:()=>$y,function:()=>Ky,guid:()=>HS,hash:()=>yy,hex:()=>_y,hostname:()=>vy,httpUrl:()=>YS,iban:()=>fy,instanceof:()=>Qy,int:()=>fu,int32:()=>zy,int64:()=>xy,intersection:()=>et,invertCodec:()=>Jy,ipv4:()=>oy,ipv6:()=>sy,json:()=>tb,jwt:()=>hy,keyof:()=>Oy,ksuid:()=>iy,lazy:()=>Gt,literal:()=>$,looseObject:()=>M,looseRecord:()=>Ay,mac:()=>ay,map:()=>Uy,meta:()=>Xy,nan:()=>Zy,nanoid:()=>QS,nativeEnum:()=>My,never:()=>Uu,nonoptional:()=>wg,null:()=>lt,nullable:()=>ua,nullish:()=>Ly,number:()=>I,object:()=>h,optional:()=>j,partialRecord:()=>jy,pipe:()=>hu,prefault:()=>zg,preprocess:()=>zt,promise:()=>By,readonly:()=>Eg,record:()=>T,refine:()=>Ag,set:()=>Dy,strictObject:()=>Cy,string:()=>u,stringFormat:()=>gy,stringbool:()=>eb,success:()=>Vy,superRefine:()=>Ug,symbol:()=>Ry,templateLiteral:()=>Hy,transform:()=>Du,tuple:()=>mg,uint32:()=>wy,uint64:()=>Iy,ulid:()=>ry,undefined:()=>Py,union:()=>E,unknown:()=>A,url:()=>Yn,uuid:()=>BS,uuidv4:()=>KS,uuidv6:()=>GS,uuidv7:()=>WS,void:()=>Ty,xid:()=>ny,xor:()=>Ny});var mu={};vt(mu,{endsWith:()=>Un,gt:()=>at,gte:()=>qe,includes:()=>jn,length:()=>Tr,lowercase:()=>Cn,lt:()=>ot,lte:()=>Me,maxLength:()=>Pr,maxSize:()=>qt,mime:()=>Mn,minLength:()=>bt,minSize:()=>st,multipleOf:()=>Mt,negative:()=>iu,nonnegative:()=>au,nonpositive:()=>ou,normalize:()=>qn,overwrite:()=>Qe,positive:()=>nu,properties:()=>Dn,property:()=>su,regex:()=>On,size:()=>Rr,slugify:()=>Fn,startsWith:()=>An,toLowerCase:()=>Vn,toUpperCase:()=>Zn,trim:()=>Ln,uppercase:()=>Nn});var FS=new WeakSet([Object.prototype,Error.prototype]);function pu(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let o=n(this);return Object.defineProperty(this,t,{value:o,configurable:!0,writable:!0}),o},set(o){Object.defineProperty(this,t,{value:o,configurable:!0,writable:!0})}})}var JS=(e,t)=>{qd.init(e,t),e.name=\"ZodError\";let n=Object.getPrototypeOf(e);FS.has(n)||(FS.add(n),pu(n,\"format\",o=>r=>jo(o,r)),pu(n,\"flatten\",o=>r=>No(o,r)),pu(n,\"addIssue\",o=>r=>{o.issues.push(r),o.message=JSON.stringify(o.issues,Sn,2)}),pu(n,\"addIssues\",o=>r=>{o.issues.push(...r),o.message=JSON.stringify(o.issues,Sn,2)}),Object.defineProperty(n,\"isEmpty\",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},Fx=v(\"ZodError\",JS),je=v(\"ZodError\",JS,void 0,{Parent:Error});var qh=zn(je),Lh=wn(je),la=kn(je),Vh=xn(je),Zh=Zc(je),Fh=Fc(je),Jh=Jc(je),Hh=Hc(je),Bh=Bc(je),Kh=Kc(je),Gh=Gc(je),Wh=Wc(je);function Hx(){me.localeError||ae(Rl())}function Cr(){me.memoizer||ae({memoizer:Qo()})}var F=v(\"ZodType\",(e,t)=>(Hx(),Z.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(z.mergeDefs(t,{checks:[...t.checks??[],...e.map(n=>typeof n==\"function\"?{_zod:{check:n,def:{check:\"custom\"},onattach:[]}}:n)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return Y(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(Ag(e,t))},superRefine(e,t){return this.check(Ug(e,t))},overwrite(e){return this.check(Qe(e))},optional(){return j(this)},exactOptional(){return _g(this)},nullable(){return ua(this)},nullish(){return j(ua(this))},nonoptional(e){return wg(this,e)},array(){return y(this)},or(e){return E([this,e])},and(e){return et(this,e)},transform(e){return hu(this,Du(e))},default(e){return bg(this,e)},prefault(e){return zg(this,e)},catch(e){return Ig(this,e)},pipe(e){return hu(this,e)},readonly(){return Eg(this)},describe(e){let t=this.clone();return ge.add(t,{description:e}),t},meta(...e){if(e.length===0)return ge.get(this);let t=this.clone();return ge.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get\"~standard\"(){return z.hide(this,\"~standard\",{...sl(this),jsonSchema:{input:Jn(this,\"input\"),output:Jn(this,\"output\")}})},set\"~standard\"(e){z.own(this,\"~standard\",e)},parse:function e(t,n){return qh(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await Lh(this,t,n,{callee:e})},safeParse(e,t){return la(this,e,t)},async safeParseAsync(e,t){return Vh(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){z.own(this,\"spa\",e)},validate(e,t){return Ao(this,e,t)},validateAsync(e,t){return Uo(this,e,t)},encode:function e(t,n){return Zh(this,t,n,{callee:e})},decode:function e(t,n){return Fh(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await Jh(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await Hh(this,t,n,{callee:e})},safeEncode(e,t){return Bh(this,e,t)},safeDecode(e,t){return Kh(this,e,t)},async safeEncodeAsync(e,t){return Gh(this,e,t)},async safeDecodeAsync(e,t){return Wh(this,e,t)},toJSONSchema(e){return Qf(this,{})(e)},get description(){return ge.get(this)?.description},get _def(){return this._zod.def}}),gu=v(\"_ZodString\",(e,t)=>{zr.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>rh(e,n,o,r)},z.derived({format:e=>ue(e).format??null,minLength:e=>ue(e).minimum??null,maxLength:e=>ue(e).maximum??null},{regex(...e){return this.check(On(...e))},includes(...e){return this.check(jn(...e))},startsWith(...e){return this.check(An(...e))},endsWith(...e){return this.check(Un(...e))},min(...e){return this.check(bt(...e))},max(...e){return this.check(Pr(...e))},length(...e){return this.check(Tr(...e))},nonempty(...e){return this.check(bt(1,...e))},lowercase(e){return this.check(Cn(e))},uppercase(e){return this.check(Nn(e))},trim(){return this.check(Ln())},normalize(...e){return this.check(qn(...e))},toLowerCase(){return this.check(Vn())},toUpperCase(){return this.check(Zn())},slugify(){return this.check(Fn())}})),Wn=v(\"ZodString\",(e,t)=>{zr.init(e,t),gu.init(e,t)},{email(e){return this.check(Al(vu,e))},url(e){return this.check(ra(da,e))},jwt(e){return this.check(ru(Nu,e))},emoji(e){return this.check(Vl(yu,e))},guid(e){return this.check(Ul(Su,e))},uuid(e){return this.check(Dl(ct,e))},uuidv4(e){return this.check(Ml(ct,e))},uuidv6(e){return this.check(ql(ct,e))},uuidv7(e){return this.check(Ll(ct,e))},nanoid(e){return this.check(Zl(bu,e))},cuid(e){return this.check(Fl($u,e))},cuid2(e){return this.check(Jl(zu,e))},ulid(e){return this.check(Hl(wu,e))},base64(e){return this.check(Ql(Eu,e))},base64url(e){return this.check(eu(Ou,e))},xid(e){return this.check(Bl(ku,e))},ksuid(e){return this.check(Kl(xu,e))},ipv4(e){return this.check(Gl(Iu,e))},ipv6(e){return this.check(Wl(Ru,e))},cidrv4(e){return this.check(Yl(Pu,e))},cidrv6(e){return this.check(Xl(Tu,e))},e164(e){return this.check(tu(Cu,e))},datetime(e){return this.check(na(Ft,e))},date(e){return this.check(ia(Jt,e))},time(e){return this.check(oa(Ht,e))},duration(e){return this.check(aa(Bt,e))}});function u(e){return hf(Wn,e)}var ee=v(\"ZodStringFormat\",(e,t)=>{X.init(e,t),gu.init(e,t)}),Ft=v(\"ZodISODateTime\",(e,t)=>{ap.init(e,t),ee.init(e,t)}),Jt=v(\"ZodISODate\",(e,t)=>{sp.init(e,t),ee.init(e,t)}),Ht=v(\"ZodISOTime\",(e,t)=>{cp.init(e,t),ee.init(e,t)}),Bt=v(\"ZodISODuration\",(e,t)=>{lp.init(e,t),ee.init(e,t)}),vu=v(\"ZodEmail\",(e,t)=>{Gm.init(e,t),ee.init(e,t)});function _u(e){return Al(vu,e)}var Su=v(\"ZodGUID\",(e,t)=>{Bm.init(e,t),ee.init(e,t)});function HS(e){return Ul(Su,e)}var ct=v(\"ZodUUID\",(e,t)=>{Km.init(e,t),ee.init(e,t)});function BS(e){return Dl(ct,e)}function KS(e){return Ml(ct,e)}function GS(e){return ql(ct,e)}function WS(e){return Ll(ct,e)}var da=v(\"ZodURL\",(e,t)=>{Xm.init(e,t),ee.init(e,t)});function Yn(e){return ra(da,e)}function YS(e){return ra(da,{protocol:Do,hostname:lm,...z.normalizeParams(e)})}var yu=v(\"ZodEmoji\",(e,t)=>{Qm.init(e,t),ee.init(e,t)});function XS(e){return Vl(yu,e)}var bu=v(\"ZodNanoID\",(e,t)=>{ep.init(e,t),ee.init(e,t)});function QS(e){return Zl(bu,e)}var $u=v(\"ZodCUID\",(e,t)=>{tp.init(e,t),ee.init(e,t)});function ey(e){return Fl($u,e)}var zu=v(\"ZodCUID2\",(e,t)=>{rp.init(e,t),ee.init(e,t)});function ty(e){return Jl(zu,e)}var wu=v(\"ZodULID\",(e,t)=>{np.init(e,t),ee.init(e,t)});function ry(e){return Hl(wu,e)}var ku=v(\"ZodXID\",(e,t)=>{ip.init(e,t),ee.init(e,t)});function ny(e){return Bl(ku,e)}var xu=v(\"ZodKSUID\",(e,t)=>{op.init(e,t),ee.init(e,t)});function iy(e){return Kl(xu,e)}var Iu=v(\"ZodIPv4\",(e,t)=>{up.init(e,t),ee.init(e,t)});function oy(e){return Gl(Iu,e)}var Yh=v(\"ZodMAC\",(e,t)=>{mp.init(e,t),ee.init(e,t)});function ay(e){return vf(Yh,e)}var Ru=v(\"ZodIPv6\",(e,t)=>{dp.init(e,t),ee.init(e,t)});function sy(e){return Wl(Ru,e)}var Pu=v(\"ZodCIDRv4\",(e,t)=>{pp.init(e,t),ee.init(e,t)});function cy(e){return Yl(Pu,e)}var Tu=v(\"ZodCIDRv6\",(e,t)=>{fp.init(e,t),ee.init(e,t)});function ly(e){return Xl(Tu,e)}var Eu=v(\"ZodBase64\",(e,t)=>{hp.init(e,t),ee.init(e,t)});function uy(e){return Ql(Eu,e)}var Ou=v(\"ZodBase64URL\",(e,t)=>{gp.init(e,t),ee.init(e,t)});function dy(e){return eu(Ou,e)}var Cu=v(\"ZodE164\",(e,t)=>{vp.init(e,t),ee.init(e,t)});function my(e){return tu(Cu,e)}var Xh=v(\"ZodCreditCard\",(e,t)=>{_p.init(e,t),ee.init(e,t)});function py(e){return _f(Xh,e)}var Qh=v(\"ZodIBAN\",(e,t)=>{Sp.init(e,t),ee.init(e,t)});function fy(e){return Sf(Qh,e)}var Nu=v(\"ZodJWT\",(e,t)=>{yp.init(e,t),ee.init(e,t)});function hy(e){return ru(Nu,e)}var Nr=v(\"ZodCustomStringFormat\",(e,t)=>{bp.init(e,t),ee.init(e,t)});function gy(e,t,n={}){return Er(Nr,e,t,n)}function vy(e){return Er(Nr,\"hostname\",cm,e)}function _y(e){return Er(Nr,\"hex\",zm,e)}function Sy(e){return Er(Nr,\"currency_code\",dm,e)}function yy(e,t){let n=t?.enc??\"hex\",o=`${e}_${n}`,r=Be[o];if(!r)throw new Error(`Unrecognized hash format: ${o}`);return Er(Nr,o,r,t)}var Xn=v(\"ZodNumber\",(e,t)=>{vl.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>nh(e,n,o,r),e.isFinite=!0},z.derived({minValue:e=>{let{minimum:t,exclusiveMinimum:n}=ue(e);return Math.max(t??Number.NEGATIVE_INFINITY,n??Number.NEGATIVE_INFINITY)},maxValue:e=>{let{maximum:t,exclusiveMaximum:n}=ue(e);return Math.min(t??Number.POSITIVE_INFINITY,n??Number.POSITIVE_INFINITY)},isInt:e=>{let{isInt:t,multipleOf:n}=ue(e);return!!t||!!n?.some(Number.isSafeInteger)},format:e=>ue(e).format??null},{gt(e,t){return this.check(at(e,t))},gte(e,t){return this.check(qe(e,t))},min(e,t){return this.check(qe(e,t))},lt(e,t){return this.check(ot(e,t))},lte(e,t){return this.check(Me(e,t))},max(e,t){return this.check(Me(e,t))},int(e){return this.check(fu(e))},safe(e){return this.check(fu(e))},positive(e){return this.check(at(0,e))},nonnegative(e){return this.check(qe(0,e))},negative(e){return this.check(ot(0,e))},nonpositive(e){return this.check(Me(0,e))},multipleOf(e,t){return this.check(Mt(e,t))},step(e,t){return this.check(Mt(e,t))},finite(){return this}}));function I(e){return bf(Xn,e)}var jr=v(\"ZodNumberFormat\",(e,t)=>{$p.init(e,t),Xn.init(e,t)});function fu(e){return zf(jr,e)}function by(e){return wf(jr,e)}function $y(e){return kf(jr,e)}function zy(e){return xf(jr,e)}function wy(e){return If(jr,e)}var Qn=v(\"ZodBoolean\",(e,t)=>{Bo.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>ih(e,n,o,r)});function C(e){return Rf(Qn,e)}var ei=v(\"ZodBigInt\",(e,t)=>{_l.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>oh(e,n,o,r)},z.derived({minValue:e=>ue(e).minimum??null,maxValue:e=>ue(e).maximum??null,format:e=>ue(e).format??null},{gte(e,t){return this.check(qe(e,t))},min(e,t){return this.check(qe(e,t))},gt(e,t){return this.check(at(e,t))},lt(e,t){return this.check(ot(e,t))},lte(e,t){return this.check(Me(e,t))},max(e,t){return this.check(Me(e,t))},positive(e){return this.check(at(BigInt(0),e))},negative(e){return this.check(ot(BigInt(0),e))},nonpositive(e){return this.check(Me(BigInt(0),e))},nonnegative(e){return this.check(qe(BigInt(0),e))},multipleOf(e,t){return this.check(Mt(e,t))}}));function ky(e){return Tf(ei,e)}var ju=v(\"ZodBigIntFormat\",(e,t)=>{zp.init(e,t),ei.init(e,t)});function xy(e){return Of(ju,e)}function Iy(e){return Cf(ju,e)}var eg=v(\"ZodSymbol\",(e,t)=>{wp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>ah(e,n,o,r)});function Ry(e){return Nf(eg,e)}var tg=v(\"ZodUndefined\",(e,t)=>{kp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>ch(e,n,o,r)});function Py(e){return jf(tg,e)}var rg=v(\"ZodNull\",(e,t)=>{xp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>sh(e,n,o,r)});function lt(e){return Af(rg,e)}var ng=v(\"ZodAny\",(e,t)=>{Ip.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>dh(e,n,o,r)});function Au(){return Uf(ng)}var ig=v(\"ZodUnknown\",(e,t)=>{Rp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>mh(e,n,o,r)});function A(){return Df(ig)}var og=v(\"ZodNever\",(e,t)=>{Pp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>uh(e,n,o,r)});function Uu(e){return Mf(og,e)}var ag=v(\"ZodVoid\",(e,t)=>{Tp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>lh(e,n,o,r)});function Ty(e){return qf(ag,e)}var ma=v(\"ZodDate\",(e,t)=>{Ep.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>ph(e,n,o,r),e.min=(n,o)=>e.check(qe(n,o)),e.max=(n,o)=>e.check(Me(n,o))},z.derived({minDate:e=>{let{minimum:t}=ue(e);return t?new Date(t):null},maxDate:e=>{let{maximum:t}=ue(e);return t?new Date(t):null}},{}));function Ey(e){return Lf(ma,e)}var sg=v(\"ZodArray\",(e,t)=>{Cr(),Op.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>kh(e,n,o,r),e.element=t.element},{min(e,t){return this.check(bt(e,t))},nonempty(e){return this.check(bt(1,e))},max(e,t){return this.check(Pr(e,t))},length(e,t){return this.check(Tr(e,t))},unwrap(){return this.element}});function y(e,t){return Ff(sg,e,t)}function Oy(e){let t=e._zod.def.shape;return L(Object.keys(t))}var pa=v(\"ZodObject\",(e,t)=>{Cr(),Cp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>xh(e,n,o,r),z.installLazyProp(e,\"shape\",n=>n._zod.def.shape,!1)},{keyof(){return L(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(z.mergeDefs(this._zod.def,{catchall:e}))},passthrough(){return this.clone(z.mergeDefs(this._zod.def,{catchall:A()}))},loose(){return this.clone(z.mergeDefs(this._zod.def,{catchall:A()}))},strict(){return this.clone(z.mergeDefs(this._zod.def,{catchall:Uu()}))},strip(){return this.clone(z.mergeDefs(this._zod.def,{catchall:void 0}))},extend(e){return z.extend(this,e)},safeExtend(e){return z.safeExtend(this,e)},merge(e){return z.merge(this,e)},pick(e){return z.pick(this,e)},omit(e){return z.omit(this,e)},partial(...e){return z.partial(ha,this,e[0])},exactPartial(...e){return z.partial(Mu,this,e[0],\"exactPartial\")},required(...e){return z.required(qu,this,e[0])}});function h(e,t){let n={type:\"object\",shape:e??{},...z.normalizeParams(t)};return new pa(n)}function Cy(e,t){return new pa({type:\"object\",shape:e,catchall:Uu(),...z.normalizeParams(t)})}function M(e,t){return new pa({type:\"object\",shape:e,catchall:A(),...z.normalizeParams(t)})}var fa=v(\"ZodUnion\",(e,t)=>{Ko.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>lu(e,n,o,r),e.options=t.options});function E(e,t){return new fa({type:\"union\",options:e,...z.normalizeParams(t)})}var cg=v(\"ZodXor\",(e,t)=>{fa.init(e,t),Np.init(e,t),e._zod.processJSONSchema=(n,o,r)=>lu(e,n,o,r),e.options=t.options});function Ny(e,t){return new cg({type:\"union\",options:e,inclusive:!1,...z.normalizeParams(t)})}var lg=v(\"ZodDiscriminatedUnion\",(e,t)=>{fa.init(e,t),Ap.init(e,t)});function Kt(e,t,n){return new lg({type:\"union\",options:t,discriminator:e,...z.normalizeParams(n)})}var ug=v(\"ZodIntersection\",(e,t)=>{Up.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Ih(e,n,o,r)});function et(e,t){return new ug({type:\"intersection\",left:e,right:t})}var dg=v(\"ZodTuple\",(e,t)=>{Cr(),Sl.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Rh(e,n,o,r)},{rest(e){return this.clone({...this._zod.def,rest:e})},partial(){let e=this._zod.def;if(e.checks?.length)throw new Error(\".partial() cannot be used on tuple schemas containing refinements\");return this.clone({...e,items:e.items.map(t=>new ha({type:\"optional\",innerType:t}))})}});function mg(e,t,n){let o=t instanceof Z,r=o?n:t,i=o?t:null;return new dg({type:\"tuple\",items:e,rest:i,...z.normalizeParams(r)})}var Kn=v(\"ZodRecord\",(e,t)=>{Cr(),Dp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Ph(e,n,o,r),e.keyType=t.keyType,e.valueType=t.valueType});function T(e,t,n){return!t||!t._zod?new Kn({type:\"record\",keyType:u(),valueType:e,...z.normalizeParams(t)}):new Kn({type:\"record\",keyType:e,valueType:t,...z.normalizeParams(n)})}function jy(e,t,n){return new Kn({type:\"record\",keyType:e,valueType:t,...z.normalizeParams(n),partial:!0})}function Ay(e,t,n){return new Kn({type:\"record\",keyType:e,valueType:t,mode:\"loose\",...z.normalizeParams(n)})}var pg=v(\"ZodMap\",(e,t)=>{Cr(),Mp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>zh(e,n,o,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...n)=>e.check(st(...n)),e.nonempty=n=>e.check(st(1,n)),e.max=(...n)=>e.check(qt(...n)),e.size=(...n)=>e.check(Rr(...n))});function Uy(e,t,n){return new pg({type:\"map\",keyType:e,valueType:t,...z.normalizeParams(n)})}var fg=v(\"ZodSet\",(e,t)=>{Cr(),qp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>wh(e,n,o,r),e.min=(...n)=>e.check(st(...n)),e.nonempty=n=>e.check(st(1,n)),e.max=(...n)=>e.check(qt(...n)),e.size=(...n)=>e.check(Rr(...n))});function Dy(e,t){return new fg({type:\"set\",valueType:e,...z.normalizeParams(t)})}var Gn=v(\"ZodEnum\",(e,t)=>{Lp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(o,r,i)=>fh(e,o,r,i),e.enum=t.entries,e.options=[...e._zod.values];let n=new Set(Object.keys(t.entries));e.extract=(o,r)=>{let i={};for(let a of o)if(n.has(a))i[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new Gn({...t,checks:[],...z.normalizeParams(r),entries:i})},e.exclude=(o,r)=>{let i={...t.entries};for(let a of o)if(n.has(a))delete i[a];else throw new Error(`Key ${a} not found in enum`);return new Gn({...t,checks:[],...z.normalizeParams(r),entries:i})}});function L(e,t){let n=Array.isArray(e)?Object.fromEntries(e.map(o=>[o,o])):e;return new Gn({type:\"enum\",entries:n,...z.normalizeParams(t)})}function My(e,t){return new Gn({type:\"enum\",entries:e,...z.normalizeParams(t)})}var hg=v(\"ZodLiteral\",(e,t)=>{Vp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>hh(e,n,o,r),e.values=new Set(t.values),Object.defineProperty(e,\"value\",{get(){if(t.values.length>1)throw new Error(\"This schema contains multiple valid literal values. Use `.values` instead.\");return t.values[0]}})});function $(e,t){return new hg({type:\"literal\",values:Array.isArray(e)?e:[e],...z.normalizeParams(t)})}var gg=v(\"ZodFile\",(e,t)=>{Zp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>_h(e,n,o,r),e.min=(n,o)=>e.check(st(n,o)),e.max=(n,o)=>e.check(qt(n,o)),e.mime=(n,o)=>e.check(Mn(Array.isArray(n)?n:[n],o))});function qy(e){return Jf(gg,e)}var vg=v(\"ZodTransform\",(e,t)=>{Cr(),Fp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>$h(e,n,o,r),e._zod.parse=(n,o)=>{if(o.direction===\"backward\")throw new Dt(e.constructor.name);n.addIssue=i=>{if(typeof i==\"string\")n.issues.push(z.issue(i,n.value,t));else{let a=i;a.fatal&&(a.continue=!1),a.code??(a.code=\"custom\"),\"input\"in a||(a.input=n.value),a.inst??(a.inst=e),n.issues.push(z.issue(a))}};let r=t.transform(n.value,n);return r instanceof Promise?r.then(i=>(n.value=i,n)):(n.value=r,n)}});function Du(e){return new vg({type:\"transform\",transform:e})}var ha=v(\"ZodOptional\",(e,t)=>{yl.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>uu(e,n,o,r),e.unwrap=()=>e._zod.def.innerType});function j(e){return new ha({type:\"optional\",innerType:e})}var Mu=v(\"ZodExactOptional\",(e,t)=>{Jp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>uu(e,n,o,r),e.unwrap=()=>e._zod.def.innerType});function _g(e){return new Mu({type:\"optional\",innerType:e})}var Sg=v(\"ZodNullable\",(e,t)=>{Hp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Th(e,n,o,r),e.unwrap=()=>e._zod.def.innerType});function ua(e){return new Sg({type:\"nullable\",innerType:e})}function Ly(e){return j(ua(e))}var yg=v(\"ZodDefault\",(e,t)=>{Bp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Ch(e,n,o,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function bg(e,t){return new yg({type:\"default\",innerType:e,get defaultValue(){return typeof t==\"function\"?t():z.shallowClone(t)}})}var $g=v(\"ZodPrefault\",(e,t)=>{Kp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Nh(e,n,o,r),e.unwrap=()=>e._zod.def.innerType});function zg(e,t){return new $g({type:\"prefault\",innerType:e,get defaultValue(){return typeof t==\"function\"?t():z.shallowClone(t)}})}var qu=v(\"ZodNonOptional\",(e,t)=>{Gp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Eh(e,n,o,r),e.unwrap=()=>e._zod.def.innerType});function wg(e,t){return new qu({type:\"nonoptional\",innerType:e,...z.normalizeParams(t)})}var kg=v(\"ZodSuccess\",(e,t)=>{Wp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Sh(e,n,o,r),e.unwrap=()=>e._zod.def.innerType});function Vy(e){return new kg({type:\"success\",innerType:e})}var xg=v(\"ZodCatch\",(e,t)=>{Yp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>jh(e,n,o,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Ig(e,t){return new xg({type:\"catch\",innerType:e,catchValue:typeof t==\"function\"?t:z.constantCatch(t)})}var Rg=v(\"ZodNaN\",(e,t)=>{Xp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>gh(e,n,o,r)});function Zy(e){return Zf(Rg,e)}var ga=v(\"ZodPipe\",(e,t)=>{bl.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Ah(e,n,o,r),e.in=t.in,e.out=t.out});function hu(e,t){return new ga({type:\"pipe\",in:e,out:t})}var va=v(\"ZodCodec\",(e,t)=>{ga.init(e,t),Go.init(e,t)});function Fy(e,t,n){return new va({type:\"pipe\",in:e,out:t,transform:n.decode,reverseTransform:n.encode})}function Jy(e){let t=e._zod.def;return new va({type:\"pipe\",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}var Pg=v(\"ZodPreprocess\",(e,t)=>{ga.init(e,t),Qp.init(e,t)}),Tg=v(\"ZodReadonly\",(e,t)=>{ef.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Uh(e,n,o,r),e.unwrap=()=>e._zod.def.innerType});function Eg(e){return new Tg({type:\"readonly\",innerType:e})}var Og=v(\"ZodTemplateLiteral\",(e,t)=>{tf.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>vh(e,n,o,r)});function Hy(e,t){return new Og({type:\"template_literal\",parts:e,...z.normalizeParams(t)})}var Cg=v(\"ZodLazy\",(e,t)=>{Wo.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Mh(e,n,o,r),e.unwrap=()=>e._zod.def.getter()});function Gt(e){return new Cg({type:\"lazy\",getter:e})}var Ng=v(\"ZodPromise\",(e,t)=>{nf.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Dh(e,n,o,r),e.unwrap=()=>e._zod.def.innerType});function By(e){return new Ng({type:\"promise\",innerType:e})}var jg=v(\"ZodFunction\",(e,t)=>{rf.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>bh(e,n,o,r)});function Ky(e){return new jg({type:\"function\",input:Array.isArray(e?.input)?mg(e?.input):e?.input??y(A()),output:e?.output??A()})}var _a=v(\"ZodCustom\",(e,t)=>{of.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>yh(e,n,o,r)});function Gy(e){let t=new te({check:\"custom\"});return t._zod.check=e,t}function Wy(e,t){return Hf(_a,e??(()=>!0),t)}function Ag(e,t={}){return Bf(_a,e,t)}function Ug(e,t){return Kf(e,t)}var Yy=Gf,Xy=Wf,Dg=v(\"ZodInstanceOf\",(e,t)=>{_a.init(e,t)},{properties(e,t){return this.check(Dn(e,t))}});function Qy(e,t={}){let n=new Dg({type:\"custom\",check:\"custom\",fn:o=>o instanceof e,abort:!0,...z.normalizeParams(t)});return n._zod.bag.Class=e,n._zod.check=o=>{o.value instanceof e||o.issues.push({code:\"invalid_type\",expected:e.name,input:o.value,inst:n,path:[...n._zod.def.path??[]]})},n}var eb=(...e)=>Yf({Codec:va,Boolean:Qn,String:Wn},...e);function tb(e){let t=Gt(()=>E([u(e),I(),C(),lt(),y(t),T(u(),t)]));return t}function zt(e,t){return new Pg({type:\"pipe\",in:Du(e),out:t})}var qg={invalid_type:\"invalid_type\",too_big:\"too_big\",too_small:\"too_small\",invalid_format:\"invalid_format\",not_multiple_of:\"not_multiple_of\",unrecognized_keys:\"unrecognized_keys\",invalid_union:\"invalid_union\",invalid_key:\"invalid_key\",invalid_element:\"invalid_element\",invalid_value:\"invalid_value\",custom:\"custom\"};function Bx(e){ae({customError:e})}function Kx(){return ae().customError}var Mg;Mg||(Mg={});var Ke={};vt(Ke,{ZodISODate:()=>Jt,ZodISODateTime:()=>Ft,ZodISODuration:()=>Bt,ZodISOTime:()=>Ht,date:()=>Wx,datetime:()=>Gx,duration:()=>Xx,time:()=>Yx});function Gx(e){return na(Ft,e)}function Wx(e){return ia(Jt,e)}function Yx(e){return oa(Ht,e)}function Xx(e){return aa(Bt,e)}var N={...ti,...mu,iso:Ke},Qx=new Set([\"$schema\",\"$ref\",\"$defs\",\"definitions\",\"$id\",\"id\",\"$comment\",\"$anchor\",\"$vocabulary\",\"$dynamicRef\",\"$dynamicAnchor\",\"type\",\"enum\",\"const\",\"anyOf\",\"oneOf\",\"allOf\",\"not\",\"properties\",\"required\",\"additionalProperties\",\"patternProperties\",\"propertyNames\",\"minProperties\",\"maxProperties\",\"items\",\"prefixItems\",\"additionalItems\",\"minItems\",\"maxItems\",\"uniqueItems\",\"contains\",\"minContains\",\"maxContains\",\"minLength\",\"maxLength\",\"pattern\",\"format\",\"minimum\",\"maximum\",\"exclusiveMinimum\",\"exclusiveMaximum\",\"multipleOf\",\"description\",\"default\",\"contentEncoding\",\"contentMediaType\",\"contentSchema\",\"unevaluatedItems\",\"unevaluatedProperties\",\"if\",\"then\",\"else\",\"dependentSchemas\",\"dependentRequired\",\"nullable\",\"readOnly\"]);function eI(e,t){let n=e.$schema;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??\"draft-2020-12\"}function rb(e,t){return e.map((n,o)=>o<t?n:n.optional())}function tI(e){return e.replace(/~1/g,\"/\").replace(/~0/g,\"~\")}function rI(e,t){if(!e.startsWith(\"#\"))throw new Error(\"External $ref is not supported, only local refs (#/...) are allowed\");let n=e.slice(1).split(\"/\").filter(Boolean);if(n.length===0)return t.rootSchema;let o=t.version===\"draft-2020-12\"?\"$defs\":\"definitions\";if(n[0]===o){let r=n[1]===void 0?void 0:tI(n[1]);if(!r||!t.defs[r])throw new Error(`Reference not found: ${e}`);return t.defs[r]}throw new Error(`Reference not found: ${e}`)}function nI(e,t){return N.transform(o=>o).check(o=>{let r=o.value;if(typeof r!=\"object\"||r===null||Array.isArray(r))return;let i=Object.getOwnPropertyNames(r);if(t.minProperties!==void 0&&i.length<t.minProperties&&o.issues.push({origin:\"object\",code:\"too_small\",minimum:t.minProperties,inclusive:!0,message:`Too small: expected object to have >=${t.minProperties} properties`,input:r,inst:e,continue:!0}),t.maxProperties!==void 0&&i.length>t.maxProperties&&o.issues.push({origin:\"object\",code:\"too_big\",maximum:t.maxProperties,inclusive:!0,message:`Too big: expected object to have <=${t.maxProperties} properties`,input:r,inst:e,continue:!0}),t.keySchema)for(let a of i){let s=t.keySchema.safeParse(a);s.success||o.issues.push({code:\"invalid_key\",origin:\"record\",issues:s.error.issues,input:a,path:[a],continue:!0})}}).pipe(e)}function Lg(e,t){if(e===null)return\"z\";let n=typeof e;if(n!==\"object\"){if(n===\"number\"&&Number.isNaN(e))return null;let o=String(e);return`${n[0]}${o.length}:${o}`}if(t.has(e))return null;t.add(e);try{if(Array.isArray(e)){let i=[];for(let a of e){let s=Lg(a,t);if(s===null)return null;i.push(s)}return`a${i.length}:[${i.join(\",\")}]`}let o=Object.keys(e).sort(),r=[];for(let i of o){let a=Lg(e[i],t);if(a===null)return null;r.push(`${i.length}:${i}=${a}`)}return`o${r.length}:{${r.join(\",\")}}`}finally{t.delete(e)}}var iI=new Set([\"items\",\"prefixItems\",\"additionalItems\",\"additionalProperties\",\"contains\",\"propertyNames\",\"not\",\"if\",\"then\",\"else\",\"allOf\",\"anyOf\",\"oneOf\",\"unevaluatedItems\",\"unevaluatedProperties\",\"contentSchema\"]),oI=new Set([\"properties\",\"patternProperties\",\"dependentSchemas\",\"dependencies\",\"$defs\",\"definitions\"]);function Sa(e){return typeof e!=\"object\"||e===null?!1:Array.isArray(e)?e.some(Sa):typeof e.$ref==\"string\"?!0:Object.entries(e).some(([t,n])=>iI.has(t)?Sa(n):!oI.has(t)||typeof n!=\"object\"||n===null?!1:Object.values(n).some(Sa))}function nb(e){return e===1?\"element\":\"elements\"}function aI(e,t){return N.transform(o=>o).check(o=>{let r=o.value;if(Array.isArray(r)){if(t.uniqueItems===!0){let i=new Map;for(let a=0;a<r.length;a++){let s=Lg(r[a],new Set);if(s===null)continue;let c=i.get(s);if(c===void 0){i.set(s,a);continue}o.issues.push({code:\"custom\",message:`Array items must be unique: element at index ${a} duplicates the one at index ${c}`,input:r,path:[a],continue:!0})}}if(t.containsSchema){let i=t.minContains??1,a=t.maxContains!==void 0?t.maxContains+1:Number.POSITIVE_INFINITY,s=0;for(let c of r)if(t.containsSchema.safeParse(c).success&&++s>=a)break;s<i&&o.issues.push({code:\"custom\",message:`Array must contain at least ${i} matching ${nb(i)}; found ${s}`,input:r,continue:!0}),t.maxContains!==void 0&&s>t.maxContains&&o.issues.push({code:\"custom\",message:`Array must contain at most ${t.maxContains} matching ${nb(t.maxContains)}`,input:r,continue:!0})}}}).pipe(e)}function ib(e,t){if(e!==!1)return e===void 0||e===!0?N.any():Pe(e,t)}var sI=/^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$/;function ob(e,t){if(e.not!==void 0){if(typeof e.not==\"object\"&&Object.keys(e.not).length===0)return N.never();throw new Error(\"not is not supported in Zod (except { not: {} } for never)\")}if(e.unevaluatedItems!==void 0)throw new Error(\"unevaluatedItems is not supported\");if(e.unevaluatedProperties!==void 0)throw new Error(\"unevaluatedProperties is not supported\");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error(\"Conditional schemas (if/then/else) are not supported\");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error(\"dependentSchemas and dependentRequired are not supported\");if(e.$ref){let r=e.$ref;if(t.refs.has(r))return t.refs.get(r);if(t.processing.has(r))return N.lazy(()=>{if(!t.refs.has(r))throw new Error(`Circular reference not resolved: ${r}`);return t.refs.get(r)});t.processing.add(r);let i=rI(r,t),a=Pe(i,t);return t.refs.set(r,a),t.processing.delete(r),a}if(e.enum!==void 0){let r=e.enum;if(t.version===\"openapi-3.0\"&&e.nullable===!0&&r.length===1&&r[0]===null)return N.null();if(r.length===0)return N.never();if(r.length===1)return N.literal(r[0]);if(r.every(a=>typeof a==\"string\"))return N.enum(r);let i=r.map(a=>N.literal(a));return i.length<2?i[0]:N.union([i[0],i[1],...i.slice(2)])}if(e.const!==void 0)return N.literal(e.const);let n=e.type;if(Array.isArray(n)){let r=n.map(i=>{let a={...e,type:i};return ob(a,t)});return r.length===0?N.never():r.length===1?r[0]:N.union(r)}if(!n)return N.any();let o;switch(n){case\"string\":{let r=N.string();if(e.format){let i=e.format;i===\"email\"?r=r.check(N.email()):i===\"uri\"||i===\"uri-reference\"?r=r.check(N.url()):i===\"uuid\"||i===\"guid\"?r=r.check(N.uuid()):i===\"date-time\"?r=r.check(N.iso.datetime({offset:!0})):i===\"date\"?r=r.check(N.iso.date()):i===\"time\"?r=r.check(N.regex(sI)):i===\"duration\"?r=r.check(N.iso.duration()):i===\"hostname\"?r=r.check(N.hostname()):i===\"ipv4\"?r=r.check(N.ipv4()):i===\"ipv6\"?r=r.check(N.ipv6()):i===\"mac\"?r=r.check(N.mac()):i===\"cidr\"?r=r.check(N.cidrv4()):i===\"cidr-v6\"?r=r.check(N.cidrv6()):i===\"base64\"?r=r.check(N.base64()):i===\"base64url\"?r=r.check(N.base64url()):i===\"e164\"?r=r.check(N.e164()):i===\"credit_card\"?r=r.check(N.creditCard()):i===\"iban\"?r=r.check(N.iban()):i===\"jwt\"?r=r.check(N.jwt()):i===\"emoji\"?r=r.check(N.emoji()):i===\"nanoid\"?r=r.check(N.nanoid()):i===\"cuid\"?r=r.check(N.cuid()):i===\"cuid2\"?r=r.check(N.cuid2()):i===\"ulid\"?r=r.check(N.ulid()):i===\"xid\"?r=r.check(N.xid()):i===\"ksuid\"&&(r=r.check(N.ksuid()))}typeof e.minLength==\"number\"&&(r=r.min(e.minLength)),typeof e.maxLength==\"number\"&&(r=r.max(e.maxLength)),e.pattern&&(r=r.regex(new RegExp(e.pattern))),o=r;break}case\"number\":case\"integer\":{let r=n===\"integer\"?N.number().int():N.number();typeof e.minimum==\"number\"&&e.exclusiveMinimum!==!0&&(r=r.min(e.minimum)),typeof e.maximum==\"number\"&&e.exclusiveMaximum!==!0&&(r=r.max(e.maximum)),typeof e.exclusiveMinimum==\"number\"?r=r.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum==\"number\"&&(r=r.gt(e.minimum)),typeof e.exclusiveMaximum==\"number\"?r=r.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum==\"number\"&&(r=r.lt(e.maximum)),typeof e.multipleOf==\"number\"&&(r=r.multipleOf(e.multipleOf)),o=r;break}case\"boolean\":{o=N.boolean();break}case\"null\":{o=N.null();break}case\"object\":{let r={},i=e.properties||{},a=new Set(e.required||[]),s=typeof e.additionalProperties==\"object\"?Pe(e.additionalProperties,t):void 0;for(let[p,f]of Object.entries(i)){let g=Pe(f,t);he(r,p,a.has(p)?g:g.optional())}if(e.patternProperties){let p=e.patternProperties,f=Object.keys(p),g=[];for(let b of f){let x=Pe(p[b],t),O=N.string().regex(new RegExp(b));g.push(N.looseRecord(O,x))}let _=[];if(Object.keys(r).length>0&&_.push(N.object(r).passthrough()),_.push(...g),_.length===0)o=N.object({}).passthrough();else if(_.length===1)o=_[0];else{let b=N.intersection(_[0],_[1]);for(let x=2;x<_.length;x++)b=N.intersection(b,_[x]);o=b}if(e.additionalProperties===!1){let b=Object.keys(r),x=f.map(P=>new RegExp(P)),O=o;o=o.check(P=>{if(!Je(P.value))return;let U=[];for(let J of Object.keys(P.value))b.includes(J)||x.some(G=>G.test(J))||U.push(J);U.length&&P.issues.push({code:\"unrecognized_keys\",keys:U,input:P.value,inst:O})})}}else{let p=N.object(r);e.additionalProperties===!1?o=p.strict():s?o=p.catchall(s):o=p.passthrough()}let c=e.propertyNames!==void 0&&e.propertyNames!==!0,l=typeof e.minProperties==\"number\"?e.minProperties:void 0,d=typeof e.maxProperties==\"number\"?e.maxProperties:void 0;if(c||l!==void 0||d!==void 0){let p;if(c){let f=typeof e.propertyNames==\"object\"&&e.propertyNames.type===void 0?{type:\"string\",...e.propertyNames}:e.propertyNames;p=Pe(f,t)}o=nI(o,{keySchema:p,minProperties:l,maxProperties:d})}break}case\"array\":{let r=e.prefixItems,i=e.items;if(r&&Array.isArray(r)){let a=typeof e.minItems==\"number\"?e.minItems:0,s=r.map(p=>Pe(p,t)),c=rb(s,a),l=Array.isArray(i)?void 0:ib(i,t),d=N.tuple(c);o=l?d.rest(l):d,typeof e.minItems==\"number\"&&(o=o.check(N.minLength(e.minItems))),typeof e.maxItems==\"number\"&&(o=o.check(N.maxLength(e.maxItems)))}else if(Array.isArray(i)){let a=typeof e.minItems==\"number\"?e.minItems:0,s=i.map(p=>Pe(p,t)),c=rb(s,a),l=ib(e.additionalItems,t),d=N.tuple(c);o=l?d.rest(l):d,typeof e.minItems==\"number\"&&(o=o.check(N.minLength(e.minItems))),typeof e.maxItems==\"number\"&&(o=o.check(N.maxLength(e.maxItems)))}else if(i!==void 0){let a=Pe(i,t),s=N.array(a);typeof e.minItems==\"number\"&&(s=s.min(e.minItems)),typeof e.maxItems==\"number\"&&(s=s.max(e.maxItems)),o=s}else o=N.array(N.any());(e.uniqueItems===!0||e.contains!==void 0)&&(o=aI(o,{uniqueItems:e.uniqueItems===!0,containsSchema:e.contains!==void 0?Pe(e.contains,t):void 0,minContains:typeof e.minContains==\"number\"?e.minContains:void 0,maxContains:typeof e.maxContains==\"number\"?e.maxContains:void 0}));break}default:throw new Error(`Unsupported type: ${n}`)}return o}function Pe(e,t){if(typeof e==\"boolean\")return e?N.any():N.never();let n=ob(e,t),o=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let s=e.anyOf.map(l=>Pe(l,t)),c=N.union(s);n=o?N.intersection(n,c):c}if(e.oneOf&&Array.isArray(e.oneOf)){let s=e.oneOf.map(l=>Pe(l,t)),c=N.xor(s);n=o?N.intersection(n,c):c}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)n=o?n:N.any();else{let s=o?n:Pe(e.allOf[0],t),c=o?0:1;for(let l=c;l<e.allOf.length;l++)s=N.intersection(s,Pe(e.allOf[l],t));n=s}e.nullable===!0&&t.version===\"openapi-3.0\"&&(n=N.nullable(n)),e.readOnly===!0&&(n=N.readonly(n)),e.default!==void 0&&(n=n.default(e.default));let r={},i=[\"$id\",\"id\",\"$comment\",\"$anchor\",\"$vocabulary\",\"$dynamicRef\",\"$dynamicAnchor\"];for(let s of i)s in e&&(r[s]=e[s]);let a=[\"contentEncoding\",\"contentMediaType\",\"contentSchema\"];for(let s of a)s in e&&(r[s]=e[s]);if(e.type===\"object\"&&e.$ref===void 0){e.propertyNames!==void 0&&!Sa(e.propertyNames)&&(r.propertyNames=e.propertyNames);for(let s of[\"minProperties\",\"maxProperties\"])e[s]!==void 0&&(r[s]=e[s])}if(e.type===\"array\"&&e.$ref===void 0){e.contains!==void 0&&!Sa(e.contains)&&(r.contains=e.contains);for(let s of[\"uniqueItems\",\"minContains\",\"maxContains\"])e[s]!==void 0&&(r[s]=e[s])}for(let s of Object.keys(e))Qx.has(s)||he(r,s,e[s]);return Object.keys(r).length>0&&t.registry.add(n,r),e.description&&(n=n.describe(e.description)),n}function ab(e,t){if(typeof e==\"boolean\")return e?N.any():N.never();let n;try{n=JSON.parse(JSON.stringify(e))}catch{throw new Error(\"fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas\")}let o=eI(n,t?.defaultTarget),r=n.$defs||n.definitions||{},i={version:o,defs:r,refs:new Map,processing:new Set,rootSchema:n,registry:t?.registry??ge};return Pe(n,i)}var sb=Symbol(\"z.visit/resolving\");function ya(e,t){let n=typeof t==\"function\"?t:(a,s)=>{let c=t[a._zod.def.type];return c?c(a,s):a},o=new Map;function r(a){let s=o.get(a);if(s===sb)return new Wo({type:\"lazy\",getter:()=>o.get(a)});if(s!==void 0)return s;o.set(a,sb);let c=i(a),l=n(c,c!==a);return o.set(a,l),l}function i(a){let s=a._zod.def,c=s.type;switch(c){case\"object\":{let l=s.shape,d=Object.keys(l),p=!1,f={};for(let _ of d){let b=r(l[_]);b!==l[_]&&(p=!0),f[_]=b}let g=s.catchall;return s.catchall&&(g=r(s.catchall),g!==s.catchall&&(p=!0)),p?Y(a,{...s,shape:f,catchall:g}):a}case\"array\":{let l=r(s.element);return l===s.element?a:Y(a,{...s,element:l})}case\"tuple\":{let l=s.items,d=!1,p=[];for(let g of l){let _=r(g);_!==g&&(d=!0),p.push(_)}let f=s.rest;return s.rest&&(f=r(s.rest),f!==s.rest&&(d=!0)),d?Y(a,{...s,items:p,rest:f}):a}case\"record\":case\"map\":{let l=r(s.keyType),d=r(s.valueType);return l===s.keyType&&d===s.valueType?a:Y(a,{...s,keyType:l,valueType:d})}case\"set\":{let l=r(s.valueType);return l===s.valueType?a:Y(a,{...s,valueType:l})}case\"union\":{let l=s.options,d=!1,p=[];for(let f of l){let g=r(f);g!==f&&(d=!0),p.push(g)}return d?Y(a,{...s,options:p}):a}case\"intersection\":{let l=r(s.left),d=r(s.right);return l===s.left&&d===s.right?a:Y(a,{...s,left:l,right:d})}case\"optional\":case\"nullable\":case\"default\":case\"prefault\":case\"catch\":case\"readonly\":case\"nonoptional\":case\"promise\":case\"success\":{let l=r(s.innerType);return l===s.innerType?a:Y(a,{...s,innerType:l})}case\"pipe\":{let l=r(s.in),d=r(s.out);return l===s.in&&d===s.out?a:Y(a,{...s,in:l,out:d})}case\"function\":{let l=r(s.input),d=r(s.output);return l===s.input&&d===s.output?a:Y(a,{...s,input:l,output:d})}case\"lazy\":{let l=s.getter,{_cachedInner:d,...p}=s;return Y(a,{...p,getter:()=>r(l())})}case\"template_literal\":case\"string\":case\"number\":case\"int\":case\"boolean\":case\"bigint\":case\"symbol\":case\"undefined\":case\"null\":case\"void\":case\"never\":case\"any\":case\"unknown\":case\"date\":case\"nan\":case\"enum\":case\"literal\":case\"file\":case\"transform\":case\"custom\":return a;default:return a}}return r(e)}function cb(e){return ya(e,{object:t=>t.partial(),union:t=>{let n=t._zod.def;return n.discriminator===void 0?t:E(n.options)}})}function cI(e,t){if(!t?.length)return e;let n=e._zod.def;return Y(e,Ye(n,{checks:[...n.checks??[],...t]}),{parent:!0})}function lb(e){return cI(e.out,e.checks)}function lI(e){return e.in._zod.traits.has(\"$ZodTransform\")?lb(e):e.in}function ub(e){return ya(e,{pipe:t=>lI(t._zod.def),default:(t,n)=>n?j(t._zod.def.innerType):t,catch:(t,n)=>n?t._zod.def.innerType:t})}function db(e){return ya(e,{pipe:t=>lb(t._zod.def),prefault:(t,n)=>n?t._zod.def.innerType:t})}var ba={};vt(ba,{bigint:()=>pI,boolean:()=>mI,date:()=>fI,number:()=>dI,string:()=>uI});function uI(e){return gf(Wn,e)}function dI(e){return $f(Xn,e)}function mI(e){return Pf(Qn,e)}function pI(e){return Ef(ei,e)}function fI(e){return Vf(ma,e)}var Lu=\"2025-11-25\";var Vu=[Lu,\"2025-06-18\",\"2025-03-26\",\"2024-11-05\",\"2024-10-07\"],Zu=\"io.modelcontextprotocol/related-task\",Ar=\"io.modelcontextprotocol/protocolVersion\",ri=\"io.modelcontextprotocol/clientInfo\",Yt=\"io.modelcontextprotocol/serverInfo\",Ur=\"io.modelcontextprotocol/clientCapabilities\",Fu=\"io.modelcontextprotocol/subscriptionId\",ni=\"io.modelcontextprotocol/logLevel\";var Dr=\"2.0\";var wt=Gt(()=>E([u(),I(),C(),lt(),T(u(),wt),y(wt)])),ne=T(u(),wt),Ju=y(wt),ii=E([u(),I().int()]),oi=u(),$a=h({ttl:I().optional()}),za=h({taskId:u()}),ai=M({progressToken:ii.optional(),[Zu]:za.optional()}),fe=h({_meta:ai.optional()}),Xt=fe.extend({task:$a.optional()}),ie=h({method:u(),params:fe.loose().optional()}),ze=h({_meta:ai.optional()}),ve=h({method:u(),params:ze.loose().optional()}),si=M({get[Yt](){return dt.optional().catch(void 0)}}),oe=M({_meta:si.optional()}),tt=E([u(),I().int()]),ci=h({jsonrpc:$(Dr),id:tt,...ie.shape}).strict(),li=h({jsonrpc:$(Dr),...ve.shape}).strict(),Mr=h({jsonrpc:$(Dr),id:tt,result:oe}).strict(),qr=h({jsonrpc:$(Dr),id:tt.optional(),error:h({code:I().int(),message:u(),data:A().optional()})}).strict(),Lr=E([ci,li,Mr,qr]),Hu=E([Mr,qr]),Qt=oe.strict(),wa=ze.extend({requestId:tt.optional(),reason:u().optional()}),ui=ve.extend({method:$(\"notifications/cancelled\"),params:wa}),ka=h({src:u(),mimeType:u().optional(),sizes:y(u()).optional(),theme:L([\"light\",\"dark\"]).optional()}),kt=h({icons:y(ka).optional()}),ut=h({name:u(),title:u().optional()}),dt=ut.extend({...ut.shape,...kt.shape,version:u(),websiteUrl:u().optional(),description:u().optional()}),gI=et(h({applyDefaults:C().optional()}),ne),vI=zt(e=>e&&typeof e==\"object\"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,et(h({form:gI.optional(),url:ne.optional()}),ne.optional())),Bu=M({list:ne.optional(),cancel:ne.optional(),requests:M({sampling:M({createMessage:ne.optional()}).optional(),elicitation:M({create:ne.optional()}).optional()}).optional()}),Ku=M({list:ne.optional(),cancel:ne.optional(),requests:M({tools:M({call:ne.optional()}).optional()}).optional()}),xa=h({experimental:T(u(),ne).optional(),sampling:h({context:ne.optional(),tools:ne.optional()}).optional(),elicitation:vI.optional(),roots:h({listChanged:C().optional()}).optional(),tasks:Bu.optional(),extensions:T(u(),ne).optional()}),Ia=fe.extend({protocolVersion:u(),capabilities:xa,clientInfo:dt}),Ra=ie.extend({method:$(\"initialize\"),params:Ia}),di=h({experimental:T(u(),ne).optional(),logging:ne.optional(),completions:ne.optional(),prompts:h({listChanged:C().optional()}).optional(),resources:h({subscribe:C().optional(),listChanged:C().optional()}).optional(),tools:h({listChanged:C().optional()}).optional(),tasks:Ku.optional(),extensions:T(u(),ne).optional()}),Pa=oe.extend({protocolVersion:u(),capabilities:di,serverInfo:dt,instructions:u().optional()}),Ta=ve.extend({method:$(\"notifications/initialized\"),params:ze.optional()}),Ea=ie.extend({method:$(\"server/discover\"),params:fe.optional()}),mi=oe.extend({supportedVersions:y(u()),capabilities:di,instructions:u().optional()}),pi=ie.extend({method:$(\"ping\"),params:fe.optional()}),Oa=h({progress:I(),total:j(I()),message:j(u())}),Ca=h({...ze.shape,...Oa.shape,progressToken:ii}),fi=ve.extend({method:$(\"notifications/progress\"),params:Ca}),Na=fe.extend({cursor:oi.optional()}),xt=ie.extend({params:Na.optional()}),It=oe.extend({nextCursor:oi.optional()}),hi=h({uri:u(),mimeType:j(u()),_meta:T(u(),A()).optional()}),gi=hi.extend({text:u()}),Zg=u().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:\"Invalid Base64 string\"}),vi=hi.extend({blob:Zg}),Rt=L([\"user\",\"assistant\"]),mt=h({audience:y(Rt).optional(),priority:I().min(0).max(1).optional(),lastModified:Ke.datetime({offset:!0}).optional()}),_i=h({...ut.shape,...kt.shape,uri:u(),description:j(u()),mimeType:j(u()),size:j(I()),annotations:mt.optional(),_meta:j(M({}))}),ja=h({...ut.shape,...kt.shape,uriTemplate:u(),description:j(u()),mimeType:j(u()),annotations:mt.optional(),_meta:j(M({}))}),Aa=xt.extend({method:$(\"resources/list\")}),Ua=It.extend({resources:y(_i)}),Da=xt.extend({method:$(\"resources/templates/list\")}),Ma=It.extend({resourceTemplates:y(ja)}),Vr=fe.extend({uri:u()}),qa=Vr,La=ie.extend({method:$(\"resources/read\"),params:qa}),Va=oe.extend({contents:y(E([gi,vi]))}),Za=ve.extend({method:$(\"notifications/resources/list_changed\"),params:ze.optional()}),Fa=Vr,Ja=ie.extend({method:$(\"resources/subscribe\"),params:Fa}),Ha=Vr,Ba=ie.extend({method:$(\"resources/unsubscribe\"),params:Ha}),Si=h({toolsListChanged:C().optional(),promptsListChanged:C().optional(),resourcesListChanged:C().optional(),resourceSubscriptions:y(u()).optional()}),Ka=fe.extend({notifications:Si}),Ga=ie.extend({method:$(\"subscriptions/listen\"),params:Ka}),Wa=ze.extend({notifications:Si}),Ya=ve.extend({method:$(\"notifications/subscriptions/acknowledged\"),params:Wa}),Xa=si.extend({[Fu]:tt}),Qa=oe.extend({_meta:Xa}),es=ze.extend({uri:u()}),ts=ve.extend({method:$(\"notifications/resources/updated\"),params:es}),rs=h({name:u(),description:j(u()),required:j(C())}),ns=h({...ut.shape,...kt.shape,description:j(u()),arguments:j(y(rs)),_meta:j(M({}))}),is=xt.extend({method:$(\"prompts/list\")}),os=It.extend({prompts:y(ns)}),as=fe.extend({name:u(),arguments:T(u(),u()).optional()}),ss=ie.extend({method:$(\"prompts/get\"),params:as}),Zr=h({type:$(\"text\"),text:u(),annotations:mt.optional(),_meta:T(u(),A()).optional()}),Fr=h({type:$(\"image\"),data:Zg,mimeType:u(),annotations:mt.optional(),_meta:T(u(),A()).optional()}),Jr=h({type:$(\"audio\"),data:Zg,mimeType:u(),annotations:mt.optional(),_meta:T(u(),A()).optional()}),cs=h({type:$(\"tool_use\"),name:u(),id:u(),input:T(u(),A()),_meta:T(u(),A()).optional()}),Hr=h({type:$(\"resource\"),resource:E([gi,vi]),annotations:mt.optional(),_meta:T(u(),A()).optional()}),Br=_i.extend({type:$(\"resource_link\")}),pt=E([Zr,Fr,Jr,Br,Hr]),ls=h({role:Rt,content:pt}),us=oe.extend({description:u().optional(),messages:y(ls)}),ds=ve.extend({method:$(\"notifications/prompts/list_changed\"),params:ze.optional()}),ms=h({title:u().optional(),readOnlyHint:C().optional(),destructiveHint:C().optional(),idempotentHint:C().optional(),openWorldHint:C().optional()}),ps=h({taskSupport:L([\"required\",\"optional\",\"forbidden\"]).optional()}),er=h({...ut.shape,...kt.shape,description:u().optional(),inputSchema:h({type:$(\"object\"),properties:T(u(),wt).optional(),required:y(u()).optional()}).catchall(A()),outputSchema:M({$schema:u().optional()}).optional(),annotations:ms.optional(),execution:ps.optional(),_meta:T(u(),A()).optional()}),fs=xt.extend({method:$(\"tools/list\")}),hs=It.extend({tools:y(er)}),tr=oe.extend({content:y(pt).default([]),structuredContent:A().optional(),isError:C().optional()}),Gu=tr.or(oe.extend({toolResult:A()})),gs=Xt.extend({name:u(),arguments:T(u(),A()).optional()}),vs=ie.extend({method:$(\"tools/call\"),params:gs}),_s=ve.extend({method:$(\"notifications/tools/list_changed\"),params:ze.optional()}),Wu=h({autoRefresh:C().default(!0),debounceMs:I().int().nonnegative().default(300)}),yi=L([\"debug\",\"info\",\"notice\",\"warning\",\"error\",\"critical\",\"alert\",\"emergency\"]),Ss=fe.extend({level:yi}),ys=ie.extend({method:$(\"logging/setLevel\"),params:Ss}),bs=ze.extend({level:yi,logger:u().optional(),data:A()}),$s=ve.extend({method:$(\"notifications/message\"),params:bs}),zs=h({name:u().optional()}),ws=h({hints:y(zs).optional(),costPriority:I().min(0).max(1).optional(),speedPriority:I().min(0).max(1).optional(),intelligencePriority:I().min(0).max(1).optional()}),ks=h({mode:L([\"auto\",\"required\",\"none\"]).optional()}),xs=h({type:$(\"tool_result\"),toolUseId:u().describe(\"The unique identifier for the corresponding tool call.\"),content:y(pt),structuredContent:A().optional(),isError:C().optional(),_meta:T(u(),A()).optional()}),Is=Kt(\"type\",[Zr,Fr,Jr]),Wt=Kt(\"type\",[Zr,Fr,Jr,cs,xs]),Rs=h({role:Rt,content:E([Wt,y(Wt)]),_meta:T(u(),A()).optional()}),Ps=Xt.extend({messages:y(Rs),modelPreferences:ws.optional(),systemPrompt:u().optional(),includeContext:L([\"none\",\"thisServer\",\"allServers\"]).optional(),temperature:I().optional(),maxTokens:I().int(),stopSequences:y(u()).optional(),metadata:ne.optional(),tools:y(er).optional(),toolChoice:ks.optional()}),Ts=ie.extend({method:$(\"sampling/createMessage\"),params:Ps}),Es=oe.extend({model:u(),stopReason:j(L([\"endTurn\",\"stopSequence\",\"maxTokens\"]).or(u())),role:Rt,content:Is}),Os=oe.extend({model:u(),stopReason:j(L([\"endTurn\",\"stopSequence\",\"maxTokens\",\"toolUse\"]).or(u())),role:Rt,content:E([Wt,y(Wt)])}),bi=h({type:$(\"boolean\"),title:u().optional(),description:u().optional(),default:C().optional()}),Kr=h({type:$(\"string\"),title:u().optional(),description:u().optional(),minLength:I().optional(),maxLength:I().optional(),format:L([\"email\",\"uri\",\"date\",\"date-time\"]).optional(),default:u().optional()}),Gr=h({type:L([\"number\",\"integer\"]),title:u().optional(),description:u().optional(),minimum:I().optional(),maximum:I().optional(),default:I().optional()}),$i=h({type:$(\"string\"),title:u().optional(),description:u().optional(),enum:y(u()),default:u().optional()}),zi=h({type:$(\"string\"),title:u().optional(),description:u().optional(),oneOf:y(h({const:u(),title:u()})),default:u().optional()}),wi=h({type:$(\"string\"),title:u().optional(),description:u().optional(),enum:y(u()),enumNames:y(u()).optional(),default:u().optional()}),Cs=E([$i,zi]),ki=h({type:$(\"array\"),title:u().optional(),description:u().optional(),minItems:I().optional(),maxItems:I().optional(),items:h({type:$(\"string\"),enum:y(u())}),default:y(u()).optional()}),xi=h({type:$(\"array\"),title:u().optional(),description:u().optional(),minItems:I().optional(),maxItems:I().optional(),items:h({anyOf:y(h({const:u(),title:u()}))}),default:y(u()).optional()}),Ns=E([ki,xi]),js=E([wi,Cs,Ns]),Ii=E([js,bi,Kr,Gr]),Wr=Xt.extend({mode:$(\"form\").optional(),message:u(),requestedSchema:h({type:$(\"object\"),properties:T(u(),Ii),required:y(u()).optional()}).catchall(A())}),As=Xt.extend({mode:$(\"url\"),message:u(),elicitationId:u(),url:u().url()}),Us=E([Wr,As]),Ds=ie.extend({method:$(\"elicitation/create\"),params:Us}),Ms=ze.extend({elicitationId:u()}),qs=ve.extend({method:$(\"notifications/elicitation/complete\"),params:Ms}),Ls=oe.extend({action:L([\"accept\",\"decline\",\"cancel\"]),content:zt(e=>e===null?void 0:e,T(u(),E([u(),I(),C(),y(u())])).optional())}),Vs=h({type:$(\"ref/resource\"),uri:u()}),Zs=h({type:$(\"ref/prompt\"),name:u()}),Fs=fe.extend({ref:E([Zs,Vs]),argument:h({name:u(),value:u()}),context:h({arguments:T(u(),u()).optional()}).optional()}),Js=ie.extend({method:$(\"completion/complete\"),params:Fs}),Hs=oe.extend({completion:M({values:y(u()).max(100),total:j(I().int()),hasMore:j(C())})}),Bs=h({uri:u().startsWith(\"file://\"),name:u().optional(),_meta:T(u(),A()).optional()}),Ks=ie.extend({method:$(\"roots/list\"),params:fe.optional()}),Gs=oe.extend({roots:y(Bs)}),Ws=ve.extend({method:$(\"notifications/roots/list_changed\"),params:ze.optional()}),Yu=M({ttl:I().optional(),pollInterval:I().optional()}),Ys=L([\"working\",\"input_required\",\"completed\",\"failed\",\"cancelled\"]),Pt=h({taskId:u(),status:Ys,ttl:E([I(),lt()]),createdAt:u(),lastUpdatedAt:u(),pollInterval:j(I()),statusMessage:j(u())}),Xu=oe.extend({task:Pt}),Xs=ze.merge(Pt),Qu=ve.extend({method:$(\"notifications/tasks/status\"),params:Xs}),ed=ie.extend({method:$(\"tasks/get\"),params:fe.extend({taskId:u()})}),td=oe.merge(Pt),rd=ie.extend({method:$(\"tasks/result\"),params:fe.extend({taskId:u()})}),nd=oe.loose(),id=xt.extend({method:$(\"tasks/list\")}),od=It.extend({tasks:y(Pt)}),ad=ie.extend({method:$(\"tasks/cancel\"),params:fe.extend({taskId:u()})}),sd=oe.merge(Pt),cd=E([pi,Ra,Ea,Js,ys,ss,is,Aa,Da,La,Ja,Ba,Ga,vs,fs]),ld=E([ui,fi,Ta,Ws]),ud=E([Qt,Es,Os,Ls,Gs]),dd=E([pi,Ts,Ds,Ks]),md=E([ui,fi,$s,ts,Za,_s,ds,Ya,qs]),pd=E([Qt,Pa,mi,Hs,us,os,Ua,Ma,Va,tr,hs,Qa]),pe=Yn().superRefine((e,t)=>{if(!URL.canParse(e))return t.addIssue({code:qg.custom,message:\"URL must be parseable\",fatal:!0}),Co}).refine(e=>{let t=new URL(e);return t.protocol!==\"javascript:\"&&t.protocol!==\"data:\"&&t.protocol!==\"vbscript:\"},{message:\"URL cannot use javascript:, data:, or vbscript: scheme\"}),Qs=M({resource:u().url(),authorization_servers:y(pe).optional(),jwks_uri:u().url().optional(),scopes_supported:y(u()).optional(),bearer_methods_supported:y(u()).optional(),resource_signing_alg_values_supported:y(u()).optional(),resource_name:u().optional(),resource_documentation:u().optional(),resource_policy_uri:u().url().optional(),resource_tos_uri:u().url().optional(),tls_client_certificate_bound_access_tokens:C().optional(),authorization_details_types_supported:y(u()).optional(),dpop_signing_alg_values_supported:y(u()).optional(),dpop_bound_access_tokens_required:C().optional()}),Ri=M({issuer:u(),authorization_endpoint:pe,token_endpoint:pe,registration_endpoint:pe.optional(),scopes_supported:y(u()).optional(),response_types_supported:y(u()),response_modes_supported:y(u()).optional(),grant_types_supported:y(u()).optional(),token_endpoint_auth_methods_supported:y(u()).optional(),token_endpoint_auth_signing_alg_values_supported:y(u()).optional(),service_documentation:pe.optional(),revocation_endpoint:pe.optional(),revocation_endpoint_auth_methods_supported:y(u()).optional(),revocation_endpoint_auth_signing_alg_values_supported:y(u()).optional(),introspection_endpoint:u().optional(),introspection_endpoint_auth_methods_supported:y(u()).optional(),introspection_endpoint_auth_signing_alg_values_supported:y(u()).optional(),code_challenge_methods_supported:y(u()).optional(),client_id_metadata_document_supported:C().optional(),authorization_response_iss_parameter_supported:C().optional().catch(void 0),dpop_signing_alg_values_supported:y(u()).optional()}),ec=M({issuer:u(),authorization_endpoint:pe,token_endpoint:pe,userinfo_endpoint:pe.optional(),jwks_uri:pe,registration_endpoint:pe.optional(),scopes_supported:y(u()).optional(),response_types_supported:y(u()),response_modes_supported:y(u()).optional(),grant_types_supported:y(u()).optional(),acr_values_supported:y(u()).optional(),subject_types_supported:y(u()),id_token_signing_alg_values_supported:y(u()),id_token_encryption_alg_values_supported:y(u()).optional(),id_token_encryption_enc_values_supported:y(u()).optional(),userinfo_signing_alg_values_supported:y(u()).optional(),userinfo_encryption_alg_values_supported:y(u()).optional(),userinfo_encryption_enc_values_supported:y(u()).optional(),request_object_signing_alg_values_supported:y(u()).optional(),request_object_encryption_alg_values_supported:y(u()).optional(),request_object_encryption_enc_values_supported:y(u()).optional(),token_endpoint_auth_methods_supported:y(u()).optional(),token_endpoint_auth_signing_alg_values_supported:y(u()).optional(),display_values_supported:y(u()).optional(),claim_types_supported:y(u()).optional(),claims_supported:y(u()).optional(),service_documentation:u().optional(),claims_locales_supported:y(u()).optional(),ui_locales_supported:y(u()).optional(),claims_parameter_supported:C().optional(),request_parameter_supported:C().optional(),request_uri_parameter_supported:C().optional(),require_request_uri_registration:C().optional(),op_policy_uri:pe.optional(),op_tos_uri:pe.optional(),client_id_metadata_document_supported:C().optional(),authorization_response_iss_parameter_supported:C().optional().catch(void 0)}),tc=h({...ec.shape,...Ri.pick({code_challenge_methods_supported:!0}).shape}),rc=h({access_token:u(),id_token:u().optional(),token_type:u(),expires_in:ba.number().optional(),scope:u().optional(),refresh_token:u().optional(),issuer:u().optional().catch(void 0)}).strip(),nc=h({issued_token_type:$(\"urn:ietf:params:oauth:token-type:id-jag\"),access_token:u(),token_type:u().optional(),expires_in:I().optional(),scope:u().optional()}).strip(),ic=h({error:u(),error_description:u().optional(),error_uri:u().optional()}),Vg=pe.optional().or($(\"\").transform(()=>{})),oc=h({redirect_uris:y(pe),token_endpoint_auth_method:u().optional(),grant_types:y(u()).optional(),response_types:y(u()).optional(),application_type:u().optional(),client_name:u().optional(),client_uri:pe.optional(),logo_uri:Vg,scope:u().optional(),contacts:y(u()).optional(),tos_uri:Vg,policy_uri:u().optional(),jwks_uri:pe.optional(),jwks:Au().optional(),software_id:u().optional(),software_version:u().optional(),software_statement:u().optional()}).strip(),ac=h({client_id:u(),client_secret:u().optional(),client_id_issued_at:I().optional(),client_secret_expires_at:I().optional(),issuer:u().optional().catch(void 0)}).strip(),sc=oc.merge(ac),fd=h({error:u(),error_description:u().optional()}).strip(),hd=h({token:u(),token_type_hint:u().optional()}).strip();var Gg=Symbol.for(\"mcp.sdk.errorBrands\");function Yr(e,t){let n=new Set,o=t;for(;typeof o==\"function\";){let r=o.mcpBrand;Object.prototype.hasOwnProperty.call(o,\"mcpBrand\")&&typeof r==\"string\"&&n.add(r),o=Object.getPrototypeOf(o)}n.size!==0&&Object.defineProperty(e,Gg,{value:n,enumerable:!1,configurable:!0})}function Le(e,t){try{if(typeof t==\"object\"&&t!==null&&Object.prototype.hasOwnProperty.call(e,\"mcpBrand\")&&typeof e.mcpBrand==\"string\"&&Object.prototype.hasOwnProperty.call(t,Gg)){let n=t[Gg];if(n&&typeof n.has==\"function\"&&n.has(e.mcpBrand))return!0}}catch{}return Function.prototype[Symbol.hasInstance].call(e,t)}var _I=class Eb extends Error{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.OAuthError\"})}static[Symbol.hasInstance](t){return Le(this,t)}static isInstance(t){if(typeof this!=\"function\")throw new TypeError(\"isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`\");return Le(this,t)}constructor(t,n,o){super(n),this.code=t,this.errorUri=o,this.name=\"OAuthError\",Yr(this,new.target)}toResponseObject(){let t={error:this.code,error_description:this.message};return this.errorUri&&(t.error_uri=this.errorUri),t}static fromResponse(t){return new Eb(t.error,t.error_description??t.error,t.error_uri)}},_e=(function(e){return e.NotConnected=\"NOT_CONNECTED\",e.AlreadyConnected=\"ALREADY_CONNECTED\",e.NotInitialized=\"NOT_INITIALIZED\",e.CapabilityNotSupported=\"CAPABILITY_NOT_SUPPORTED\",e.RequestTimeout=\"REQUEST_TIMEOUT\",e.ConnectionClosed=\"CONNECTION_CLOSED\",e.SendFailed=\"SEND_FAILED\",e.InvalidResult=\"INVALID_RESULT\",e.UnsupportedResultType=\"UNSUPPORTED_RESULT_TYPE\",e.InputRequiredRoundsExceeded=\"INPUT_REQUIRED_ROUNDS_EXCEEDED\",e.ListPaginationExceeded=\"LIST_PAGINATION_EXCEEDED\",e.MethodNotSupportedByProtocolVersion=\"METHOD_NOT_SUPPORTED_BY_PROTOCOL_VERSION\",e.EraNegotiationFailed=\"ERA_NEGOTIATION_FAILED\",e.ClientHttpNotImplemented=\"CLIENT_HTTP_NOT_IMPLEMENTED\",e.ClientHttpAuthentication=\"CLIENT_HTTP_AUTHENTICATION\",e.ClientHttpForbidden=\"CLIENT_HTTP_FORBIDDEN\",e.ClientHttpUnexpectedContent=\"CLIENT_HTTP_UNEXPECTED_CONTENT\",e.ClientHttpFailedToOpenStream=\"CLIENT_HTTP_FAILED_TO_OPEN_STREAM\",e.ClientHttpFailedToTerminateSession=\"CLIENT_HTTP_FAILED_TO_TERMINATE_SESSION\",e})({}),ce=class extends Error{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.SdkError\"})}static[Symbol.hasInstance](e){return Le(this,e)}static isInstance(e){if(typeof this!=\"function\")throw new TypeError(\"isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`\");return Le(this,e)}constructor(e,t,n,o){super(t,o),this.code=e,this.data=n,this.name=\"SdkError\",Yr(this,new.target)}},SI=class extends ce{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.SdkHttpError\"})}constructor(e,t,n,o){super(e,t,n,o),this.name=\"SdkHttpError\"}get status(){return this.data.status}get statusText(){return this.data.statusText}};var yI=\"2026-07-28\";function Ob(e){return e>=yI}function Cb(e){let t=e.structuredContent;return t===void 0||!(typeof t!=\"object\"||t===null||Array.isArray(t))||(e.content?.some(n=>n.type===\"text\")??!1)?e:{...e,content:[...e.content??[],{type:\"text\",text:JSON.stringify(t)}]}}var Nb=[\"task\",\"inputRequests\",\"requestState\"];function bI(e){return e===null||typeof e!=\"object\"||Array.isArray(e)||e.content!==void 0||Nb.some(t=>t in e)?e:{...e,content:[]}}function $I(){let e=Gt(()=>E([u(),I(),C(),lt(),T(u(),e),y(e)])),t=T(u(),e),n=E([u(),I().int()]),o=u(),r=h({ttl:I().optional()}),i=h({taskId:u()}),a=M({progressToken:n.optional(),\"io.modelcontextprotocol/related-task\":i.optional()}),s=h({_meta:a.optional()}),c=s.extend({task:r.optional()}),l=h({method:u(),params:s.loose().optional()}),d=h({_meta:a.optional()}),p=h({method:u(),params:d.loose().optional()}),f=M({_meta:a.optional()}),g=E([u(),I().int()]),_=f.strict(),b=d.extend({requestId:g.optional(),reason:u().optional()}),x=p.extend({method:$(\"notifications/cancelled\"),params:b}),O=h({src:u(),mimeType:u().optional(),sizes:y(u()).optional(),theme:L([\"light\",\"dark\"]).optional()}),P=h({icons:y(O).optional()}),U=h({name:u(),title:u().optional()}),J=U.extend({...U.shape,...P.shape,version:u(),websiteUrl:u().optional(),description:u().optional()}),G=et(h({applyDefaults:C().optional()}),t),D=zt(be=>be&&typeof be==\"object\"&&!Array.isArray(be)&&Object.keys(be).length===0?{form:{}}:be,et(h({form:G.optional(),url:t.optional()}),t.optional())),W=M({list:t.optional(),cancel:t.optional(),requests:M({sampling:M({createMessage:t.optional()}).optional(),elicitation:M({create:t.optional()}).optional()}).optional()}),Ae=M({list:t.optional(),cancel:t.optional(),requests:M({tools:M({call:t.optional()}).optional()}).optional()}),de=h({experimental:T(u(),t).optional(),sampling:h({context:t.optional(),tools:t.optional()}).optional(),elicitation:D.optional(),roots:h({listChanged:C().optional()}).optional(),tasks:W.optional(),extensions:T(u(),t).optional()}),Ze=s.extend({protocolVersion:u(),capabilities:de,clientInfo:J}),rt=l.extend({method:$(\"initialize\"),params:Ze}),nr=h({experimental:T(u(),t).optional(),logging:t.optional(),completions:t.optional(),prompts:h({listChanged:C().optional()}).optional(),resources:h({subscribe:C().optional(),listChanged:C().optional()}).optional(),tools:h({listChanged:C().optional()}).optional(),tasks:Ae.optional(),extensions:T(u(),t).optional()}),ir=f.extend({protocolVersion:u(),capabilities:nr,serverInfo:J,instructions:u().optional()}),Qr=p.extend({method:$(\"notifications/initialized\"),params:d.optional()}),Tt=l.extend({method:$(\"ping\"),params:s.optional()}),or=h({progress:I(),total:j(I()),message:j(u())}),nt=h({...d.shape,...or.shape,progressToken:n}),Et=p.extend({method:$(\"notifications/progress\"),params:nt}),en=s.extend({cursor:o.optional()}),ht=l.extend({params:en.optional()}),gt=f.extend({nextCursor:o.optional()}),tn=h({uri:u(),mimeType:j(u()),_meta:T(u(),A()).optional()}),rn=tn.extend({text:u()}),ar=u().refine(be=>{try{return atob(be),!0}catch{return!1}},{message:\"Invalid Base64 string\"}),nn=tn.extend({blob:ar}),it=L([\"user\",\"assistant\"]),Ge=h({audience:y(it).optional(),priority:I().min(0).max(1).optional(),lastModified:Ke.datetime({offset:!0}).optional()}),sr=h({...U.shape,...P.shape,uri:u(),description:j(u()),mimeType:j(u()),size:j(I()),annotations:Ge.optional(),_meta:j(M({}))}),Ti=h({...U.shape,...P.shape,uriTemplate:u(),description:j(u()),mimeType:j(u()),annotations:Ge.optional(),_meta:j(M({}))}),Ei=ht.extend({method:$(\"resources/list\")}),Oi=gt.extend({resources:y(sr)}),Ot=ht.extend({method:$(\"resources/templates/list\")}),on=gt.extend({resourceTemplates:y(Ti)}),cr=s.extend({uri:u()}),Ci=cr,Ni=l.extend({method:$(\"resources/read\"),params:Ci}),ji=f.extend({contents:y(E([rn,nn]))}),Ai=p.extend({method:$(\"notifications/resources/list_changed\"),params:d.optional()}),Ui=cr,Di=l.extend({method:$(\"resources/subscribe\"),params:Ui}),Mi=cr,qi=l.extend({method:$(\"resources/unsubscribe\"),params:Mi}),Li=d.extend({uri:u()}),Vi=p.extend({method:$(\"notifications/resources/updated\"),params:Li}),Zi=h({name:u(),description:j(u()),required:j(C())}),Fi=h({...U.shape,...P.shape,description:j(u()),arguments:j(y(Zi)),_meta:j(M({}))}),Ji=ht.extend({method:$(\"prompts/list\")}),Hi=gt.extend({prompts:y(Fi)}),Bi=s.extend({name:u(),arguments:T(u(),u()).optional()}),Ki=l.extend({method:$(\"prompts/get\"),params:Bi}),lr=h({type:$(\"text\"),text:u(),annotations:Ge.optional(),_meta:T(u(),A()).optional()}),ur=h({type:$(\"image\"),data:ar,mimeType:u(),annotations:Ge.optional(),_meta:T(u(),A()).optional()}),dr=h({type:$(\"audio\"),data:ar,mimeType:u(),annotations:Ge.optional(),_meta:T(u(),A()).optional()}),Gi=h({type:$(\"tool_use\"),name:u(),id:u(),input:T(u(),A()),_meta:T(u(),A()).optional()}),Ct=h({type:$(\"resource\"),resource:E([rn,nn]),annotations:Ge.optional(),_meta:T(u(),A()).optional()}),Wi=sr.extend({type:$(\"resource_link\")}),Fe=E([lr,ur,dr,Wi,Ct]),an=h({role:it,content:Fe}),sn=f.extend({description:u().optional(),messages:y(an)}),mr=p.extend({method:$(\"notifications/prompts/list_changed\"),params:d.optional()}),Yi=h({title:u().optional(),readOnlyHint:C().optional(),destructiveHint:C().optional(),idempotentHint:C().optional(),openWorldHint:C().optional()}),cn=h({taskSupport:L([\"required\",\"optional\",\"forbidden\"]).optional()}),pr=h({...U.shape,...P.shape,description:u().optional(),inputSchema:h({type:$(\"object\"),properties:T(u(),e).optional(),required:y(u()).optional()}).catchall(A()),outputSchema:h({type:$(\"object\"),properties:T(u(),e).optional(),required:y(u()).optional()}).catchall(A()).optional(),annotations:Yi.optional(),execution:cn.optional(),_meta:T(u(),A()).optional()}),ln=ht.extend({method:$(\"tools/list\")}),un=gt.extend({tools:y(pr)}),dn=f.extend({content:y(Fe),structuredContent:T(u(),A()).optional(),isError:C().optional()}),ye=c.extend({name:u(),arguments:T(u(),A()).optional()}),Xi=l.extend({method:$(\"tools/call\"),params:ye}),_c=p.extend({method:$(\"notifications/tools/list_changed\"),params:d.optional()}),mn=L([\"debug\",\"info\",\"notice\",\"warning\",\"error\",\"critical\",\"alert\",\"emergency\"]),Qi=s.extend({level:mn}),eo=l.extend({method:$(\"logging/setLevel\"),params:Qi}),to=d.extend({level:mn,logger:u().optional(),data:A()}),ro=p.extend({method:$(\"notifications/message\"),params:to}),no=h({name:u().optional()}),io=h({hints:y(no).optional(),costPriority:I().min(0).max(1).optional(),speedPriority:I().min(0).max(1).optional(),intelligencePriority:I().min(0).max(1).optional()}),oo=h({mode:L([\"auto\",\"required\",\"none\"]).optional()}),Sc=h({type:$(\"tool_result\"),toolUseId:u().describe(\"The unique identifier for the corresponding tool call.\"),content:y(Fe),structuredContent:h({}).loose().optional(),isError:C().optional(),_meta:T(u(),A()).optional()}),ao=Kt(\"type\",[lr,ur,dr]),Nt=Kt(\"type\",[lr,ur,dr,Gi,Sc]),so=h({role:it,content:E([Nt,y(Nt)]),_meta:T(u(),A()).optional()}),co=c.extend({messages:y(so),modelPreferences:io.optional(),systemPrompt:u().optional(),includeContext:L([\"none\",\"thisServer\",\"allServers\"]).optional(),temperature:I().optional(),maxTokens:I().int(),stopSequences:y(u()).optional(),metadata:t.optional(),tools:y(pr).optional(),toolChoice:oo.optional()}),lo=l.extend({method:$(\"sampling/createMessage\"),params:co}),uo=f.extend({model:u(),stopReason:j(L([\"endTurn\",\"stopSequence\",\"maxTokens\"]).or(u())),role:it,content:ao}),mo=f.extend({model:u(),stopReason:j(L([\"endTurn\",\"stopSequence\",\"maxTokens\",\"toolUse\"]).or(u())),role:it,content:E([Nt,y(Nt)])}),po=h({type:$(\"boolean\"),title:u().optional(),description:u().optional(),default:C().optional()}),fo=h({type:$(\"string\"),title:u().optional(),description:u().optional(),minLength:I().optional(),maxLength:I().optional(),format:L([\"email\",\"uri\",\"date\",\"date-time\"]).optional(),default:u().optional()}),ho=h({type:L([\"number\",\"integer\"]),title:u().optional(),description:u().optional(),minimum:I().optional(),maximum:I().optional(),default:I().optional()}),go=h({type:$(\"string\"),title:u().optional(),description:u().optional(),enum:y(u()),default:u().optional()}),vo=h({type:$(\"string\"),title:u().optional(),description:u().optional(),oneOf:y(h({const:u(),title:u()})),default:u().optional()}),_o=h({type:$(\"string\"),title:u().optional(),description:u().optional(),enum:y(u()),enumNames:y(u()).optional(),default:u().optional()}),So=E([go,vo]),fr=h({type:$(\"array\"),title:u().optional(),description:u().optional(),minItems:I().optional(),maxItems:I().optional(),items:h({type:$(\"string\"),enum:y(u())}),default:y(u()).optional()}),hr=h({type:$(\"array\"),title:u().optional(),description:u().optional(),minItems:I().optional(),maxItems:I().optional(),items:h({anyOf:y(h({const:u(),title:u()}))}),default:y(u()).optional()}),yc=E([fr,hr]),bc=E([_o,So,yc]),Ue=E([bc,po,fo,ho]),De=c.extend({mode:$(\"form\").optional(),message:u(),requestedSchema:h({type:$(\"object\"),properties:T(u(),Ue),required:y(u()).optional()}).catchall(A())}),yo=c.extend({mode:$(\"url\"),message:u(),elicitationId:u(),url:u().url()}),We=E([De,yo]),$c=l.extend({method:$(\"elicitation/create\"),params:We}),zc=d.extend({elicitationId:u()}),wc=p.extend({method:$(\"notifications/elicitation/complete\"),params:zc}),kc=f.extend({action:L([\"accept\",\"decline\",\"cancel\"]),content:zt(be=>be===null?void 0:be,T(u(),E([u(),I(),C(),y(u())])).optional())}),xc=h({type:$(\"ref/resource\"),uri:u()}),Ic=h({type:$(\"ref/prompt\"),name:u()}),Rc=s.extend({ref:E([Ic,xc]),argument:h({name:u(),value:u()}),context:h({arguments:T(u(),u()).optional()}).optional()}),bo=l.extend({method:$(\"completion/complete\"),params:Rc}),Pc=f.extend({completion:M({values:y(u()).max(100),total:j(I().int()),hasMore:j(C())})}),Tc=h({uri:u().startsWith(\"file://\"),name:u().optional(),_meta:T(u(),A()).optional()}),pn=l.extend({method:$(\"roots/list\"),params:s.optional()}),$o=f.extend({roots:y(Tc)}),Ec=p.extend({method:$(\"notifications/roots/list_changed\"),params:d.optional()}),Oc=M({ttl:I().optional(),pollInterval:I().optional()}),zo=L([\"working\",\"input_required\",\"completed\",\"failed\",\"cancelled\"]),jt=h({taskId:u(),status:zo,ttl:E([I(),lt()]),createdAt:u(),lastUpdatedAt:u(),pollInterval:j(I()),statusMessage:j(u())}),Te=f.extend({task:jt}),Cc=d.merge(jt),gr=p.extend({method:$(\"notifications/tasks/status\"),params:Cc}),fn=l.extend({method:$(\"tasks/get\"),params:s.extend({taskId:u()})}),hn=f.merge(jt),gn=l.extend({method:$(\"tasks/result\"),params:s.extend({taskId:u()})}),wd=f.loose(),we=ht.extend({method:$(\"tasks/list\")}),se=gt.extend({tasks:y(jt)}),vr=l.extend({method:$(\"tasks/cancel\"),params:s.extend({taskId:u()})});return{JSONValueSchema:e,JSONObjectSchema:t,ProgressTokenSchema:n,CursorSchema:o,TaskMetadataSchema:r,RelatedTaskMetadataSchema:i,RequestMetaSchema:a,BaseRequestParamsSchema:s,TaskAugmentedRequestParamsSchema:c,RequestSchema:l,NotificationsParamsSchema:d,NotificationSchema:p,ResultSchema:f,RequestIdSchema:g,EmptyResultSchema:_,CancelledNotificationParamsSchema:b,CancelledNotificationSchema:x,IconSchema:O,IconsSchema:P,BaseMetadataSchema:U,ImplementationSchema:J,ClientTasksCapabilitySchema:W,ServerTasksCapabilitySchema:Ae,ClientCapabilitiesSchema:de,InitializeRequestParamsSchema:Ze,InitializeRequestSchema:rt,ServerCapabilitiesSchema:nr,InitializeResultSchema:ir,InitializedNotificationSchema:Qr,PingRequestSchema:Tt,ProgressSchema:or,ProgressNotificationParamsSchema:nt,ProgressNotificationSchema:Et,PaginatedRequestParamsSchema:en,PaginatedRequestSchema:ht,PaginatedResultSchema:gt,ResourceContentsSchema:tn,TextResourceContentsSchema:rn,BlobResourceContentsSchema:nn,RoleSchema:it,AnnotationsSchema:Ge,ResourceSchema:sr,ResourceTemplateSchema:Ti,ListResourcesRequestSchema:Ei,ListResourcesResultSchema:Oi,ListResourceTemplatesRequestSchema:Ot,ListResourceTemplatesResultSchema:on,ResourceRequestParamsSchema:cr,ReadResourceRequestParamsSchema:Ci,ReadResourceRequestSchema:Ni,ReadResourceResultSchema:ji,ResourceListChangedNotificationSchema:Ai,SubscribeRequestParamsSchema:Ui,SubscribeRequestSchema:Di,UnsubscribeRequestParamsSchema:Mi,UnsubscribeRequestSchema:qi,ResourceUpdatedNotificationParamsSchema:Li,ResourceUpdatedNotificationSchema:Vi,PromptArgumentSchema:Zi,PromptSchema:Fi,ListPromptsRequestSchema:Ji,ListPromptsResultSchema:Hi,GetPromptRequestParamsSchema:Bi,GetPromptRequestSchema:Ki,TextContentSchema:lr,ImageContentSchema:ur,AudioContentSchema:dr,ToolUseContentSchema:Gi,EmbeddedResourceSchema:Ct,ResourceLinkSchema:Wi,ContentBlockSchema:Fe,PromptMessageSchema:an,GetPromptResultSchema:sn,PromptListChangedNotificationSchema:mr,ToolAnnotationsSchema:Yi,ToolExecutionSchema:cn,ToolSchema:pr,ListToolsRequestSchema:ln,ListToolsResultSchema:un,CallToolResultSchema:dn,CallToolRequestParamsSchema:ye,CallToolRequestSchema:Xi,ToolListChangedNotificationSchema:_c,LoggingLevelSchema:mn,SetLevelRequestParamsSchema:Qi,SetLevelRequestSchema:eo,LoggingMessageNotificationParamsSchema:to,LoggingMessageNotificationSchema:ro,ModelHintSchema:no,ModelPreferencesSchema:io,ToolChoiceSchema:oo,ToolResultContentSchema:Sc,SamplingContentSchema:ao,SamplingMessageContentBlockSchema:Nt,SamplingMessageSchema:so,CreateMessageRequestParamsSchema:co,CreateMessageRequestSchema:lo,CreateMessageResultSchema:uo,CreateMessageResultWithToolsSchema:mo,BooleanSchemaSchema:po,StringSchemaSchema:fo,NumberSchemaSchema:ho,UntitledSingleSelectEnumSchemaSchema:go,TitledSingleSelectEnumSchemaSchema:vo,LegacyTitledEnumSchemaSchema:_o,SingleSelectEnumSchemaSchema:So,UntitledMultiSelectEnumSchemaSchema:fr,TitledMultiSelectEnumSchemaSchema:hr,MultiSelectEnumSchemaSchema:yc,EnumSchemaSchema:bc,PrimitiveSchemaDefinitionSchema:Ue,ElicitRequestFormParamsSchema:De,ElicitRequestURLParamsSchema:yo,ElicitRequestParamsSchema:We,ElicitRequestSchema:$c,ElicitationCompleteNotificationParamsSchema:zc,ElicitationCompleteNotificationSchema:wc,ElicitResultSchema:kc,ResourceTemplateReferenceSchema:xc,PromptReferenceSchema:Ic,CompleteRequestParamsSchema:Rc,CompleteRequestSchema:bo,CompleteResultSchema:Pc,RootSchema:Tc,ListRootsRequestSchema:pn,ListRootsResultSchema:$o,RootsListChangedNotificationSchema:Ec,TaskCreationParamsSchema:Oc,TaskStatusSchema:zo,TaskSchema:jt,CreateTaskResultSchema:Te,TaskStatusNotificationParamsSchema:Cc,TaskStatusNotificationSchema:gr,GetTaskRequestSchema:fn,GetTaskResultSchema:hn,GetTaskPayloadRequestSchema:gn,GetTaskPayloadResultSchema:wd,ListTasksRequestSchema:we,ListTasksResultSchema:se,CancelTaskRequestSchema:vr,CancelTaskResultSchema:f.merge(jt),ClientRequestSchema:E([Tt,rt,bo,eo,Ki,Ji,Ei,Ot,Ni,Di,qi,Xi,ln,fn,gn,we,vr]),ClientNotificationSchema:E([x,Et,Qr,Ec,gr]),ClientResultSchema:E([_,uo,mo,kc,$o,hn,se,Te]),ServerRequestSchema:E([Tt,lo,$c,pn,fn,gn,we,vr]),ServerNotificationSchema:E([x,Et,ro,Vi,Ai,_c,mr,gr,wc]),ServerResultSchema:E([_,ir,Pc,sn,Hi,Oi,on,ji,dn,un,hn,se,Te]),CallToolResultWireSchema:A().superRefine((be,y$)=>{if(!(typeof be!=\"object\"||be===null||Array.isArray(be)||be.content!==void 0)){for(let vv of Nb)if(vv in be){y$.addIssue({code:\"custom\",message:`content is required when the body carries '${vv}' \\u2014 another result family cannot default into an empty tools/call success`});return}}}).transform(bI).pipe(dn)}}var zI;function jb(){return zI??=$I()}function Ab(e){return e.type!==\"object\"}var wI=new Set([\"const\",\"enum\",\"default\",\"examples\"]),kI=new Set([\"properties\",\"patternProperties\",\"$defs\",\"definitions\",\"dependentSchemas\",\"dependencies\"]);function bb(e){return e!==void 0&&!(typeof e==\"string\"&&e.startsWith(\"#\"))}function xI(e){let t=typeof e.$schema==\"string\"?e.$schema:void 0;if(bb(e.$id))return{...t!==void 0&&{$schema:t},type:\"object\",properties:{result:e},required:[\"result\"]};let n=bv(e.$schema)&&e.$recursiveAnchor!==!0,o=(r,i)=>{if(Array.isArray(r))return r.map(c=>o(c,!1));if(r===null||typeof r!=\"object\"||!i&&bb(r.$id))return r;let a={},s=!1;for(let[c,l]of Object.entries(r))i?a[c]=o(l,!1):(c===\"$ref\"||c===\"$dynamicRef\")&&typeof l==\"string\"?a[c]=l===\"#\"?\"#/properties/result\":l.startsWith(\"#/\")?`#/properties/result${l.slice(1)}`:l:c===\"$recursiveRef\"&&l===\"#\"&&n?s=!0:wI.has(c)?a[c]=l:kI.has(c)?a[c]=o(l,!0):a[c]=o(l,!1);return s&&(\"$ref\"in a?a.allOf=[...Array.isArray(a.allOf)?a.allOf:[],{$ref:\"#/properties/result\"}]:a.$ref=\"#/properties/result\"),a};return{...t!==void 0&&{$schema:t},type:\"object\",properties:{result:o(e,!1)},required:[\"result\"]}}var Ub={ping:null,initialize:null,\"completion/complete\":null,\"logging/setLevel\":null,\"prompts/get\":null,\"prompts/list\":null,\"resources/list\":null,\"resources/templates/list\":null,\"resources/read\":null,\"resources/subscribe\":null,\"resources/unsubscribe\":null,\"tools/call\":null,\"tools/list\":null,\"tasks/get\":null,\"tasks/result\":null,\"tasks/list\":null,\"tasks/cancel\":null,\"sampling/createMessage\":null,\"elicitation/create\":null,\"roots/list\":null},Db={\"notifications/cancelled\":null,\"notifications/progress\":null,\"notifications/initialized\":null,\"notifications/roots/list_changed\":null,\"notifications/tasks/status\":null,\"notifications/message\":null,\"notifications/resources/updated\":null,\"notifications/resources/list_changed\":null,\"notifications/tools/list_changed\":null,\"notifications/prompts/list_changed\":null,\"notifications/elicitation/complete\":null},II={ping:null,initialize:null,\"completion/complete\":null,\"logging/setLevel\":null,\"prompts/get\":null,\"prompts/list\":null,\"resources/list\":null,\"resources/templates/list\":null,\"resources/read\":null,\"resources/subscribe\":null,\"resources/unsubscribe\":null,\"tools/call\":null,\"tools/list\":null,\"sampling/createMessage\":null,\"elicitation/create\":null,\"roots/list\":null},gd;function tv(){if(gd)return gd;let e=jb();return gd={requestSchemas:{ping:e.PingRequestSchema,initialize:e.InitializeRequestSchema,\"completion/complete\":e.CompleteRequestSchema,\"logging/setLevel\":e.SetLevelRequestSchema,\"prompts/get\":e.GetPromptRequestSchema,\"prompts/list\":e.ListPromptsRequestSchema,\"resources/list\":e.ListResourcesRequestSchema,\"resources/templates/list\":e.ListResourceTemplatesRequestSchema,\"resources/read\":e.ReadResourceRequestSchema,\"resources/subscribe\":e.SubscribeRequestSchema,\"resources/unsubscribe\":e.UnsubscribeRequestSchema,\"tools/call\":e.CallToolRequestSchema,\"tools/list\":e.ListToolsRequestSchema,\"tasks/get\":e.GetTaskRequestSchema,\"tasks/result\":e.GetTaskPayloadRequestSchema,\"tasks/list\":e.ListTasksRequestSchema,\"tasks/cancel\":e.CancelTaskRequestSchema,\"sampling/createMessage\":e.CreateMessageRequestSchema,\"elicitation/create\":e.ElicitRequestSchema,\"roots/list\":e.ListRootsRequestSchema},notificationSchemas:{\"notifications/cancelled\":e.CancelledNotificationSchema,\"notifications/progress\":e.ProgressNotificationSchema,\"notifications/initialized\":e.InitializedNotificationSchema,\"notifications/roots/list_changed\":e.RootsListChangedNotificationSchema,\"notifications/tasks/status\":e.TaskStatusNotificationSchema,\"notifications/message\":e.LoggingMessageNotificationSchema,\"notifications/resources/updated\":e.ResourceUpdatedNotificationSchema,\"notifications/resources/list_changed\":e.ResourceListChangedNotificationSchema,\"notifications/tools/list_changed\":e.ToolListChangedNotificationSchema,\"notifications/prompts/list_changed\":e.PromptListChangedNotificationSchema,\"notifications/elicitation/complete\":e.ElicitationCompleteNotificationSchema},resultSchemas:{ping:e.EmptyResultSchema,initialize:e.InitializeResultSchema,\"completion/complete\":e.CompleteResultSchema,\"logging/setLevel\":e.EmptyResultSchema,\"prompts/get\":e.GetPromptResultSchema,\"prompts/list\":e.ListPromptsResultSchema,\"resources/list\":e.ListResourcesResultSchema,\"resources/templates/list\":e.ListResourceTemplatesResultSchema,\"resources/read\":e.ReadResourceResultSchema,\"resources/subscribe\":e.EmptyResultSchema,\"resources/unsubscribe\":e.EmptyResultSchema,\"tools/call\":e.CallToolResultWireSchema,\"tools/list\":e.ListToolsResultSchema,\"sampling/createMessage\":e.CreateMessageResultWithToolsSchema,\"elicitation/create\":e.ElicitResultSchema,\"roots/list\":e.ListRootsResultSchema}},gd}function Mb(e){return Object.prototype.hasOwnProperty.call(Ub,e)}function qb(e){return Object.prototype.hasOwnProperty.call(Db,e)}function RI(e){return Object.prototype.hasOwnProperty.call(II,e)}function PI(e){return RI(e)?tv().resultSchemas[e]:void 0}function TI(e){return Mb(e)?tv().requestSchemas[e]:void 0}function EI(e){return qb(e)?tv().notificationSchemas[e]:void 0}var IC=Object.keys(Ub),RC=Object.keys(Db);function Wg(e){return e!==null&&typeof e==\"object\"&&!Array.isArray(e)}function vd(e,t){if(e===void 0)return{ok:!1,reason:\"not-in-era\"};let n=e.safeParse(t);return n.success?{ok:!0,value:n.data}:{ok:!1,reason:\"invalid\",message:String(n.error)}}var $b={ok:!1,reason:\"not-in-era\"};function zb(e){return Wg(e)&&Wg(e.outputSchema)&&Ab(e.outputSchema)}var rv={era:\"2025-11-25\",hasRequestMethod:Mb,hasNotificationMethod:qb,validateRequest:(e,t)=>vd(TI(e),t),validateResult:(e,t)=>vd(PI(e),t),validateNotification:(e,t)=>vd(EI(e),t),hasInputRequestMethod:()=>!1,validateInputRequest:()=>$b,validateInputResponse:()=>$b,samplingResultVariant:((e,t)=>{let n=jb();return vd(e?n.CreateMessageResultWithToolsSchema:n.CreateMessageResultSchema,t)}),outboundEnvelope:e=>{},validateEnvelopeMeta:e=>[],projectCallToolResult(e,t){let n=Cb(e),o=n.structuredContent;if(o===void 0)return n;let r=typeof o!=\"object\"||o===null||Array.isArray(o),i=t!==void 0&&Ab(t);return!r&&!i?n:{...n,structuredContent:{result:o}}},decodeResult(e,t){if(Wg(t)&&\"resultType\"in t){let n={...t};return delete n.resultType,{kind:\"complete\",result:n}}return{kind:\"complete\",result:t}},encodeResult(e,t){if(e!==\"tools/list\")return t;let n=t.tools;return!Array.isArray(n)||!n.some(o=>zb(o))?t:{...t,tools:n.map(o=>zb(o)?{...o,outputSchema:xI(o.outputSchema)}:o)}},encodeErrorCode:e=>e===-32002?-32602:e,checkInboundEnvelope:e=>{}};function OI(){let e=Gt(()=>E([u(),I(),C(),lt(),T(u(),e),y(e)])),t=T(u(),e),n=E([u(),I().int()]),o=u(),r=E([u(),I().int()]),i=L([\"user\",\"assistant\"]),a=L([\"debug\",\"info\",\"notice\",\"warning\",\"error\",\"critical\",\"alert\",\"emergency\"]),s=u().refine(se=>{try{return atob(se),!0}catch{return!1}},{message:\"Invalid Base64 string\"}),c=h({ttl:I().optional()}),l=h({taskId:u()}),d=M({progressToken:n.optional(),\"io.modelcontextprotocol/related-task\":l.optional()}),p=h({_meta:d.optional()}),f=p.extend({task:c.optional()}),g=h({_meta:d.optional()}),_=h({method:u(),params:g.loose().optional()}),b=h({src:u(),mimeType:u().optional(),sizes:y(u()).optional(),theme:L([\"light\",\"dark\"]).optional()}),x=h({icons:y(b).optional()}),O=h({name:u(),title:u().optional()}),P=O.extend({...O.shape,...x.shape,version:u(),websiteUrl:u().optional(),description:u().optional()}),U=et(h({applyDefaults:C().optional()}),t),J=zt(se=>se&&typeof se==\"object\"&&!Array.isArray(se)&&Object.keys(se).length===0?{form:{}}:se,et(h({form:U.optional(),url:t.optional()}),t.optional())),G=M({list:t.optional(),cancel:t.optional(),requests:M({sampling:M({createMessage:t.optional()}).optional(),elicitation:M({create:t.optional()}).optional()}).optional()}),D=M({list:t.optional(),cancel:t.optional(),requests:M({tools:M({call:t.optional()}).optional()}).optional()}),W=h({experimental:T(u(),t).optional(),sampling:h({context:t.optional(),tools:t.optional()}).optional(),elicitation:J.optional(),roots:h({listChanged:C().optional()}).optional(),tasks:G.optional(),extensions:T(u(),t).optional()}),Ae=h({experimental:T(u(),t).optional(),logging:t.optional(),completions:t.optional(),prompts:h({listChanged:C().optional()}).optional(),resources:h({subscribe:C().optional(),listChanged:C().optional()}).optional(),tools:h({listChanged:C().optional()}).optional(),tasks:D.optional(),extensions:T(u(),t).optional()}),de=h({progress:I(),total:j(I()),message:j(u())}),Ze=h({...g.shape,...de.shape,progressToken:n}),rt=_.extend({method:$(\"notifications/progress\"),params:Ze}),nr=g.extend({level:a,logger:u().optional(),data:A()}),ir=_.extend({method:$(\"notifications/message\"),params:nr}),Qr=h({uri:u(),mimeType:j(u()),_meta:T(u(),A()).optional()}),Tt=Qr.extend({text:u()}),or=Qr.extend({blob:s}),nt=h({audience:y(i).optional(),priority:I().min(0).max(1).optional(),lastModified:Ke.datetime({offset:!0}).optional()}),Et=h({...O.shape,...x.shape,uri:u(),description:j(u()),mimeType:j(u()),size:j(I()),annotations:nt.optional(),_meta:j(M({}))}),en=h({...O.shape,...x.shape,uriTemplate:u(),description:j(u()),mimeType:j(u()),annotations:nt.optional(),_meta:j(M({}))}),ht=_.extend({method:$(\"notifications/resources/list_changed\"),params:g.optional()}),gt=g.extend({uri:u()}),tn=_.extend({method:$(\"notifications/resources/updated\"),params:gt}),rn=h({name:u(),description:j(u()),required:j(C())}),ar=h({...O.shape,...x.shape,description:j(u()),arguments:j(y(rn)),_meta:j(M({}))}),nn=_.extend({method:$(\"notifications/prompts/list_changed\"),params:g.optional()}),it=h({type:$(\"text\"),text:u(),annotations:nt.optional(),_meta:T(u(),A()).optional()}),Ge=h({type:$(\"image\"),data:s,mimeType:u(),annotations:nt.optional(),_meta:T(u(),A()).optional()}),sr=h({type:$(\"audio\"),data:s,mimeType:u(),annotations:nt.optional(),_meta:T(u(),A()).optional()}),Ti=h({type:$(\"tool_use\"),name:u(),id:u(),input:T(u(),A()),_meta:T(u(),A()).optional()}),Ei=h({type:$(\"resource\"),resource:E([Tt,or]),annotations:nt.optional(),_meta:T(u(),A()).optional()}),Oi=Et.extend({type:$(\"resource_link\")}),Ot=E([it,Ge,sr,Oi,Ei]),on=h({role:i,content:Ot}),cr=h({title:u().optional(),readOnlyHint:C().optional(),destructiveHint:C().optional(),idempotentHint:C().optional(),openWorldHint:C().optional()}),Ci=_.extend({method:$(\"notifications/tools/list_changed\"),params:g.optional()}),Ni=h({name:u().optional()}),ji=h({hints:y(Ni).optional(),costPriority:I().min(0).max(1).optional(),speedPriority:I().min(0).max(1).optional(),intelligencePriority:I().min(0).max(1).optional()}),Ai=h({mode:L([\"auto\",\"required\",\"none\"]).optional()}),Ui=h({type:$(\"boolean\"),title:u().optional(),description:u().optional(),default:C().optional()}),Di=h({type:$(\"string\"),title:u().optional(),description:u().optional(),minLength:I().optional(),maxLength:I().optional(),format:L([\"email\",\"uri\",\"date\",\"date-time\"]).optional(),default:u().optional()}),Mi=h({type:L([\"number\",\"integer\"]),title:u().optional(),description:u().optional(),minimum:I().optional(),maximum:I().optional(),default:I().optional()}),qi=h({type:$(\"string\"),title:u().optional(),description:u().optional(),enum:y(u()),default:u().optional()}),Li=h({type:$(\"string\"),title:u().optional(),description:u().optional(),oneOf:y(h({const:u(),title:u()})),default:u().optional()}),Vi=h({type:$(\"string\"),title:u().optional(),description:u().optional(),enum:y(u()),enumNames:y(u()).optional(),default:u().optional()}),Zi=E([qi,Li]),Fi=h({type:$(\"array\"),title:u().optional(),description:u().optional(),minItems:I().optional(),maxItems:I().optional(),items:h({type:$(\"string\"),enum:y(u())}),default:y(u()).optional()}),Ji=h({type:$(\"array\"),title:u().optional(),description:u().optional(),minItems:I().optional(),maxItems:I().optional(),items:h({anyOf:y(h({const:u(),title:u()}))}),default:y(u()).optional()}),Hi=E([Fi,Ji]),Bi=E([Vi,Zi,Hi]),Ki=E([Bi,Ui,Di,Mi]),lr=f.extend({mode:$(\"form\").optional(),message:u(),requestedSchema:h({type:$(\"object\"),properties:T(u(),Ki),required:y(u()).optional()}).catchall(A())}),ur=h({type:$(\"ref/resource\"),uri:u()}),dr=h({type:$(\"ref/prompt\"),name:u()}),Gi=h({uri:u().startsWith(\"file://\"),name:u().optional(),_meta:T(u(),A()).optional()}),Ct=W.shape,Wi=h({experimental:Ct.experimental,sampling:Ct.sampling,elicitation:Ct.elicitation,roots:Ct.roots,extensions:Ct.extensions}),Fe=Ae.shape,an=h({experimental:Fe.experimental,logging:Fe.logging,completions:Fe.completions,prompts:Fe.prompts,resources:Fe.resources,tools:Fe.tools,extensions:Fe.extensions}),sn=M({progressToken:n.optional(),[Ar]:u(),[ri]:P.optional(),[Ur]:Wi,[ni]:a.optional()}),mr=h({...O.shape,...x.shape,description:u().optional(),inputSchema:M({$schema:u().optional(),type:$(\"object\")}),outputSchema:M({$schema:u().optional()}).optional(),annotations:cr.optional(),_meta:T(u(),A()).optional()}),Yi=h({type:$(\"tool_result\"),toolUseId:u(),content:y(Ot),structuredContent:A().optional(),isError:C().optional(),_meta:T(u(),A()).optional()}),cn=E([it,Ge,sr,Ti,Yi]),pr=h({role:i,content:E([cn,y(cn)]),_meta:T(u(),A()).optional()}),ln=u(),un=M({[Yt]:P.optional().catch(void 0)}),dn=un.optional();function ye(se){return M({_meta:dn,resultType:ln.default(\"complete\"),...se})}let Xi=ye({}),_c=ye({nextCursor:o.optional()}),mn=ye({content:y(Ot),structuredContent:A().optional(),isError:C().optional()}),Qi=ye({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),tools:y(mr),nextCursor:o.optional()}),eo=ye({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),prompts:y(ar),nextCursor:o.optional()}),to=ye({description:u().optional(),messages:y(on)}),ro=ye({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),resources:y(Et),nextCursor:o.optional()}),no=ye({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),resourceTemplates:y(en),nextCursor:o.optional()}),io=ye({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),contents:y(E([Tt,or]))}),oo=ye({completion:h({values:y(u()).max(100),total:I().int().optional(),hasMore:C().optional()}).loose()}),Sc=ye({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"])}),ao=ye({ttlMs:I().int().min(0).catch(0),cacheScope:L([\"public\",\"private\"]).catch(\"private\"),supportedVersions:y(u()),capabilities:an,instructions:u().optional()}),Nt=h({messages:y(pr),modelPreferences:ji.optional(),systemPrompt:u().optional(),includeContext:L([\"none\",\"thisServer\",\"allServers\"]).optional(),temperature:I().optional(),maxTokens:I().int(),stopSequences:y(u()).optional(),metadata:t.optional(),tools:y(mr).optional(),toolChoice:Ai.optional()}),so=h({method:$(\"sampling/createMessage\"),params:Nt}),co=h({method:$(\"roots/list\"),params:h({_meta:T(u(),A()).optional()}).optional()}),lo=h({...pr.shape,model:u(),stopReason:u().optional()}),uo=h({roots:y(Gi)}),mo=h({action:L([\"accept\",\"decline\",\"cancel\"]),content:T(u(),E([u(),I(),C(),y(u())])).optional()}),po=h({mode:$(\"url\"),message:u(),url:u().url()}),fo=E([lr,po]),ho=h({method:$(\"elicitation/create\"),params:fo}),go=E([so,co,ho]),vo=E([lo,uo,mo]),_o=T(u(),go),So=T(u(),vo),fr=ye({inputRequests:_o.optional(),requestState:u().optional()}),hr={inputResponses:So.optional(),requestState:u().optional()},yc=h({_meta:sn,...hr}),bc=M({progressToken:n.optional()});function Ue(se,vr){return h({method:$(se),params:h({_meta:sn,...vr})})}function De(se,vr){return h({method:$(se),params:h({_meta:bc.optional(),...vr}).optional()})}let yo={name:u(),arguments:T(u(),A()).optional(),...hr},We={cursor:o.optional()},$c=Ue(\"tools/call\",yo),zc=Ue(\"tools/list\",We),wc=Ue(\"prompts/list\",We),kc=Ue(\"prompts/get\",{name:u(),arguments:T(u(),u()).optional(),...hr}),xc=Ue(\"resources/list\",We),Ic=Ue(\"resources/templates/list\",We),Rc=Ue(\"resources/read\",{uri:u(),...hr}),bo={ref:E([dr,ur]),argument:h({name:u(),value:u()}),context:h({arguments:T(u(),u()).optional()}).optional()},Pc=Ue(\"completion/complete\",bo),Tc=Ue(\"server/discover\",{}),pn=h({toolsListChanged:C().optional(),promptsListChanged:C().optional(),resourcesListChanged:C().optional(),resourceSubscriptions:y(u()).optional()}),$o={notifications:pn},Ec=Ue(\"subscriptions/listen\",$o),Oc=un.extend({\"io.modelcontextprotocol/subscriptionId\":r}),zo=M({_meta:Oc,resultType:ln.default(\"complete\")}),jt={\"tools/call\":De(\"tools/call\",yo),\"tools/list\":De(\"tools/list\",We),\"prompts/get\":De(\"prompts/get\",{name:u(),arguments:T(u(),u()).optional()}),\"prompts/list\":De(\"prompts/list\",We),\"resources/list\":De(\"resources/list\",We),\"resources/templates/list\":De(\"resources/templates/list\",We),\"resources/read\":De(\"resources/read\",{uri:u()}),\"completion/complete\":De(\"completion/complete\",bo),\"server/discover\":De(\"server/discover\",{}),\"subscriptions/listen\":De(\"subscriptions/listen\",$o)};function Te(se){return M({_meta:dn,...se})}let Cc={\"tools/call\":Te({content:y(Ot),structuredContent:A().optional(),isError:C().optional()}),\"tools/list\":Te({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),tools:y(mr),nextCursor:o.optional()}),\"prompts/get\":Te({description:u().optional(),messages:y(on)}),\"prompts/list\":Te({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),prompts:y(ar),nextCursor:o.optional()}),\"resources/list\":Te({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),resources:y(Et),nextCursor:o.optional()}),\"resources/templates/list\":Te({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),resourceTemplates:y(en),nextCursor:o.optional()}),\"resources/read\":Te({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),contents:y(E([Tt,or]))}),\"completion/complete\":Te({completion:h({values:y(u()).max(100),total:I().int().optional(),hasMore:C().optional()}).loose()}),\"server/discover\":Te({ttlMs:I().int().min(0).catch(0),cacheScope:L([\"public\",\"private\"]).catch(\"private\"),supportedVersions:y(u()),capabilities:an,instructions:u().optional()}),\"subscriptions/listen\":Te({})},gr=M({\"io.modelcontextprotocol/subscriptionId\":r.optional()}),fn=h({method:$(\"notifications/subscriptions/acknowledged\"),params:h({_meta:gr.optional(),notifications:pn})}),hn=h({_meta:gr.optional(),requestId:r,reason:u().optional()}),gn=h({method:$(\"notifications/cancelled\"),params:hn}),wd={\"notifications/cancelled\":gn,\"notifications/progress\":rt,\"notifications/message\":ir,\"notifications/resources/updated\":tn,\"notifications/resources/list_changed\":ht,\"notifications/tools/list_changed\":Ci,\"notifications/prompts/list_changed\":nn,\"notifications/subscriptions/acknowledged\":fn},we=se=>h({jsonrpc:$(\"2.0\"),id:E([u(),I().int()]),result:se}).strict();return{JSONValueSchema:e,JSONObjectSchema:t,ProgressTokenSchema:n,CursorSchema:o,RequestIdSchema:r,RoleSchema:i,LoggingLevelSchema:a,TaskMetadataSchema:c,RelatedTaskMetadataSchema:l,RequestMetaSchema:d,BaseRequestParamsSchema:p,TaskAugmentedRequestParamsSchema:f,NotificationsParamsSchema:g,NotificationSchema:_,IconSchema:b,IconsSchema:x,BaseMetadataSchema:O,ImplementationSchema:P,ClientTasksCapabilitySchema:G,ServerTasksCapabilitySchema:D,ClientCapabilitiesSchema:W,ServerCapabilitiesSchema:Ae,ProgressSchema:de,ProgressNotificationParamsSchema:Ze,ProgressNotificationSchema:rt,LoggingMessageNotificationParamsSchema:nr,LoggingMessageNotificationSchema:ir,ResourceContentsSchema:Qr,TextResourceContentsSchema:Tt,BlobResourceContentsSchema:or,AnnotationsSchema:nt,ResourceSchema:Et,ResourceTemplateSchema:en,ResourceListChangedNotificationSchema:ht,ResourceUpdatedNotificationParamsSchema:gt,ResourceUpdatedNotificationSchema:tn,PromptArgumentSchema:rn,PromptSchema:ar,PromptListChangedNotificationSchema:nn,TextContentSchema:it,ImageContentSchema:Ge,AudioContentSchema:sr,ToolUseContentSchema:Ti,EmbeddedResourceSchema:Ei,ResourceLinkSchema:Oi,ContentBlockSchema:Ot,PromptMessageSchema:on,ToolAnnotationsSchema:cr,ToolListChangedNotificationSchema:Ci,ModelHintSchema:Ni,ModelPreferencesSchema:ji,ToolChoiceSchema:Ai,BooleanSchemaSchema:Ui,StringSchemaSchema:Di,NumberSchemaSchema:Mi,UntitledSingleSelectEnumSchemaSchema:qi,TitledSingleSelectEnumSchemaSchema:Li,LegacyTitledEnumSchemaSchema:Vi,SingleSelectEnumSchemaSchema:Zi,UntitledMultiSelectEnumSchemaSchema:Fi,TitledMultiSelectEnumSchemaSchema:Ji,MultiSelectEnumSchemaSchema:Hi,EnumSchemaSchema:Bi,PrimitiveSchemaDefinitionSchema:Ki,ElicitRequestFormParamsSchema:lr,ResourceTemplateReferenceSchema:ur,PromptReferenceSchema:dr,RootSchema:Gi,ClientCapabilities2026Schema:Wi,ServerCapabilities2026Schema:an,RequestMetaEnvelopeSchema:sn,ToolSchema:mr,ToolResultContentSchema:Yi,SamplingMessageContentBlockSchema:cn,SamplingMessageSchema:pr,ResultTypeSchema:ln,ResultMetaSchema:un,ResultSchema:Xi,PaginatedResultSchema:_c,CallToolResultSchema:mn,ListToolsResultSchema:Qi,ListPromptsResultSchema:eo,GetPromptResultSchema:to,ListResourcesResultSchema:ro,ListResourceTemplatesResultSchema:no,ReadResourceResultSchema:io,CompleteResultSchema:oo,CacheableResultSchema:Sc,DiscoverResultSchema:ao,CreateMessageRequestParamsSchema:Nt,CreateMessageRequestSchema:so,ListRootsRequestSchema:co,CreateMessageResultSchema:lo,ListRootsResultSchema:uo,ElicitResultSchema:mo,ElicitRequestURLParamsSchema:po,ElicitRequestParamsSchema:fo,ElicitRequestSchema:ho,InputRequestSchema:go,InputResponseSchema:vo,InputRequestsSchema:_o,InputResponsesSchema:So,InputRequiredResultSchema:fr,InputResponseRequestParamsSchema:yc,CallToolRequestSchema:$c,ListToolsRequestSchema:zc,ListPromptsRequestSchema:wc,GetPromptRequestSchema:kc,ListResourcesRequestSchema:xc,ListResourceTemplatesRequestSchema:Ic,ReadResourceRequestSchema:Rc,CompleteRequestSchema:Pc,DiscoverRequestSchema:Tc,SubscriptionFilterSchema:pn,SubscriptionsListenRequestSchema:Ec,SubscriptionsListenResultMetaSchema:Oc,SubscriptionsListenResultSchema:zo,dispatchRequestSchemas:jt,dispatchResultSchemas:Cc,NotificationMetaSchema:gr,SubscriptionsAcknowledgedNotificationSchema:fn,CancelledNotificationParamsSchema:hn,CancelledNotificationSchema:gn,notificationSchemas2026:wd,JSONRPCResultResponseSchema:we(Xi),CallToolResultResponseSchema:we(E([mn,fr])),ListToolsResultResponseSchema:we(Qi),ListPromptsResultResponseSchema:we(eo),GetPromptResultResponseSchema:we(E([to,fr])),ListResourcesResultResponseSchema:we(ro),ListResourceTemplatesResultResponseSchema:we(no),ReadResourceResultResponseSchema:we(E([io,fr])),CompleteResultResponseSchema:we(oo),DiscoverResultResponseSchema:we(ao),SubscriptionsListenResultResponseSchema:we(zo)}}var CI;function rr(){return CI??=OI()}var NI=[\"tools/list\",\"prompts/list\",\"resources/list\",\"resources/templates/list\",\"resources/read\",\"server/discover\"];function jI(e){return NI.includes(e)}var nv=Symbol(\"modelcontextprotocol.resultCacheHintFallback\");function AI(e){return e[nv]}function Lb(e){return typeof e==\"number\"&&Number.isSafeInteger(e)&&e>=0}function Vb(e){return e===\"public\"||e===\"private\"}var K=(function(e){return e[e.ParseError=-32700]=\"ParseError\",e[e.InvalidRequest=-32600]=\"InvalidRequest\",e[e.MethodNotFound=-32601]=\"MethodNotFound\",e[e.InvalidParams=-32602]=\"InvalidParams\",e[e.InternalError=-32603]=\"InternalError\",e[e.ResourceNotFound=-32002]=\"ResourceNotFound\",e[e.MissingRequiredClientCapability=-32021]=\"MissingRequiredClientCapability\",e[e.UnsupportedProtocolVersion=-32022]=\"UnsupportedProtocolVersion\",e[e.UrlElicitationRequired=-32042]=\"UrlElicitationRequired\",e})({}),Se=class Zb extends Error{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.ProtocolError\"})}static[Symbol.hasInstance](t){return Le(this,t)}static isInstance(t){if(typeof this!=\"function\")throw new TypeError(\"isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`\");return Le(this,t)}constructor(t,n,o){super(n),this.code=t,this.data=o,this.name=\"ProtocolError\",Yr(this,new.target)}static fromError(t,n,o){if(t===K.UrlElicitationRequired&&o){let r=o;if(r.elicitations)return new Jb(r.elicitations,n)}if(t===K.UnsupportedProtocolVersion&&o){let r=o;if(Array.isArray(r.supported)&&typeof r.requested==\"string\")return new Hb({supported:r.supported,requested:r.requested},n)}if(t===K.InvalidParams||t===K.ResourceNotFound){let r=o;if(typeof r?.uri==\"string\"&&(t===K.ResourceNotFound||Object.keys(r).length===1))return new Fb(r.uri,n)}if(t===K.MissingRequiredClientCapability&&o){let r=o;if(r.requiredCapabilities!==null&&typeof r.requiredCapabilities==\"object\"&&!Array.isArray(r.requiredCapabilities))return new Bb({requiredCapabilities:r.requiredCapabilities},n)}return new Zb(t,n,o)}},Fb=class extends Se{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.ResourceNotFoundError\"})}constructor(e,t=`Resource not found: ${e}`){super(K.InvalidParams,t,{uri:e})}get uri(){return this.data.uri}},Jb=class extends Se{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.UrlElicitationRequiredError\"})}constructor(e,t=`URL elicitation${e.length>1?\"s\":\"\"} required`){super(K.UrlElicitationRequired,t,{elicitations:e})}get elicitations(){return this.data?.elicitations??[]}},Hb=class extends Se{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.UnsupportedProtocolVersionError\"})}constructor(e,t=`Unsupported protocol version: ${e.requested}`){super(K.UnsupportedProtocolVersion,t,e)}get supported(){return this.data.supported}get requested(){return this.data.requested}},Bb=class extends Se{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.MissingRequiredClientCapabilityError\"})}constructor(e,t=`Missing required client capabilities: ${Object.keys(e.requiredCapabilities).join(\", \")}`){super(K.MissingRequiredClientCapability,t,e)}get requiredCapabilities(){return this.data.requiredCapabilities}},UI=0,DI=\"private\",MI=[\"tools/call\",\"prompts/get\",\"resources/read\"];function qI(e,t){let n=t.resultType;if(n===void 0)return{...t,resultType:\"complete\"};if(n===\"complete\"||MI.includes(e))return t;throw new Se(K.InternalError,`Handler for ${e} returned resultType '${String(n)}', but results of ${e} only support 'complete' on protocol revision 2026-07-28`)}function LI(e,t){let n=AI(t);if(t.resultType!==\"complete\"||!jI(e))return n===void 0?t:HI(t);let o=t,r=Lb(o.ttlMs)?o.ttlMs:FI(n),i=Vb(o.cacheScope)?o.cacheScope:JI(n),a={...o,ttlMs:r,cacheScope:i};return delete a[nv],a}function VI(e){return e!==null&&typeof e==\"object\"&&!Array.isArray(e)}function ZI(e,t){if(t===void 0)return e;let n=e._meta;return n===void 0?{...e,_meta:{[Yt]:t}}:!VI(n)||n[Yt]!==void 0?e:{...e,_meta:{...n,[Yt]:t}}}function FI(e){return e!==void 0&&Lb(e.ttlMs)?e.ttlMs:UI}function JI(e){return e!==void 0&&Vb(e.cacheScope)?e.cacheScope:DI}function HI(e){let t={...e};return delete t[nv],t}var BI=[\"elicitation/create\",\"sampling/createMessage\",\"roots/list\"],_d;function Kb(){if(_d)return _d;let e=rr();return _d={request:{\"elicitation/create\":h({method:$(\"elicitation/create\"),params:e.ElicitRequestParamsSchema}),\"sampling/createMessage\":h({method:$(\"sampling/createMessage\"),params:e.CreateMessageRequestParamsSchema}),\"roots/list\":h({method:$(\"roots/list\"),params:M({}).optional()})},response:{\"elicitation/create\":e.ElicitResultSchema,\"sampling/createMessage\":e.CreateMessageResultSchema,\"roots/list\":e.ListRootsResultSchema}},_d}function Gb(e){return BI.includes(e)}function Fg(e){return Gb(e)?Kb().request[e]:void 0}function KI(e){return Gb(e)?Kb().response[e]:void 0}var iv={\"tools/call\":null,\"tools/list\":null,\"prompts/get\":null,\"prompts/list\":null,\"resources/list\":null,\"resources/templates/list\":null,\"resources/read\":null,\"completion/complete\":null,\"server/discover\":null,\"subscriptions/listen\":null},Wb={\"notifications/cancelled\":null,\"notifications/progress\":null,\"notifications/message\":null,\"notifications/resources/updated\":null,\"notifications/resources/list_changed\":null,\"notifications/tools/list_changed\":null,\"notifications/prompts/list_changed\":null,\"notifications/subscriptions/acknowledged\":null};function Yb(e){return Object.prototype.hasOwnProperty.call(iv,e)}function Xb(e){return Object.prototype.hasOwnProperty.call(Wb,e)}function GI(e){return Object.prototype.hasOwnProperty.call(iv,e)}function WI(e){return Yb(e)?rr().dispatchRequestSchemas[e]:void 0}function YI(e){return GI(e)?rr().dispatchResultSchemas[e]:void 0}function XI(e){return Xb(e)?rr().notificationSchemas2026[e]:void 0}var PC=Object.keys(iv),TC=Object.keys(Wb);function uc(e){return e!==null&&typeof e==\"object\"&&!Array.isArray(e)}function cc(e,t){if(e===void 0)return{ok:!1,reason:\"not-in-era\"};let n=e.safeParse(t);return n.success?{ok:!0,value:n.data}:{ok:!1,reason:\"invalid\",message:String(n.error)}}var QI={ok:!1,reason:\"not-in-era\"},eR=[Ar,Ur];function tR(e,t){let n=t,o=!1,r=()=>(o||(n={...n},o=!0),n),i=t.tools;e===\"tools/list\"&&Array.isArray(i)&&i.some(s=>uc(s)&&\"execution\"in s)&&(r().tools=i.map(s=>{if(!uc(s)||!(\"execution\"in s))return s;let c={...s};return delete c.execution,c}));let a=t.capabilities;if(uc(a)&&\"tasks\"in a){let s={...a};delete s.tasks,r().capabilities=s}return n}var ov={era:\"2026-07-28\",hasRequestMethod:Yb,hasNotificationMethod:Xb,hasInputRequestMethod:e=>Fg(e)!==void 0,validateRequest:(e,t)=>cc(WI(e),t),validateResult:(e,t)=>cc(YI(e),t),validateNotification:(e,t)=>cc(XI(e),t),validateInputRequest:(e,t)=>cc(Fg(e),t),validateInputResponse:(e,t)=>cc(KI(e),t),samplingResultVariant:()=>QI,outboundEnvelope(e){return{[Ar]:e.protocolVersion,[ri]:e.clientInfo,[Ur]:e.clientCapabilities,...e.logLevel!==void 0&&{[ni]:e.logLevel}}},validateEnvelopeMeta(e){let t=[];for(let o of eR)o in e||t.push({key:o,problem:\"missing\"});let n=rr().RequestMetaEnvelopeSchema.safeParse(e);if(!n.success)for(let o of n.error.issues){let r=o.path.map(String),i=r.length>0?r.join(\".\"):\"_meta\";r.length===1&&t.some(a=>a.key===i&&a.problem===\"missing\")||t.push({key:i,problem:o.message})}return t},projectCallToolResult:e=>Cb(e),inputRequestSchema:Fg,decodeResult(e,t){if(!uc(t))return{kind:\"invalid\",error:new ce(_e.InvalidResult,`Invalid result for ${e}: not an object`,{method:e})};let n=t.resultType;if(n===void 0)return{kind:\"invalid\",error:new ce(_e.InvalidResult,`Invalid result for ${e}: missing required resultType \\u2014 servers implementing protocol revision 2026-07-28 MUST include it (the absent-means-complete bridge applies only to earlier-revision servers)`,{method:e,violation:\"missing-resultType\"})};if(typeof n!=\"string\")return{kind:\"invalid\",error:new ce(_e.InvalidResult,`Invalid result for ${e}: non-string resultType`,{method:e,resultType:n})};if(n===\"input_required\"){let a=t.inputRequests,s=uc(a)?a:{},c=t.requestState,l=t._meta===void 0?void 0:rr().ResultMetaSchema.safeParse(t._meta),d=l?.success?l.data:void 0;return Object.keys(s).length===0&&typeof c!=\"string\"?{kind:\"invalid\",error:new ce(_e.InvalidResult,`Invalid result for ${e}: input_required carries neither inputRequests nor requestState (every input_required result must include at least one of the two)`,{method:e,violation:\"input-required-missing-both\"})}:{kind:\"input_required\",inputRequests:s,...typeof c==\"string\"&&{requestState:c},...d!==void 0&&{_meta:d}}}if(n!==\"complete\")return{kind:\"invalid\",error:new ce(_e.UnsupportedResultType,`Unsupported result type '${n}' for ${e}`,{resultType:n,method:e})};let o=rR(),r=Object.hasOwn(o,e)?o[e]:void 0;if(r!==void 0){let a=r.safeParse(t);if(!a.success)return{kind:\"invalid\",error:new ce(_e.InvalidResult,`Invalid result for ${e}: ${a.error}`,{method:e})}}let i={...t};return delete i.resultType,{kind:\"complete\",result:i}},encodeResult(e,t,n){return ZI(LI(e,qI(e,tR(e,t))),n)},encodeErrorCode:e=>e===-32002?-32602:e,checkInboundEnvelope(e){if(e.envelope===void 0)return\"Request is missing the required _meta envelope for protocol revision 2026-07-28 (io.modelcontextprotocol/protocolVersion, io.modelcontextprotocol/clientCapabilities)\";let t=rr().RequestMetaEnvelopeSchema.safeParse(e.envelope);if(!t.success)return`Invalid _meta envelope for protocol revision 2026-07-28: ${t.error.issues.map(n=>n.message).join(\"; \")}`}},Sd;function rR(){if(Sd)return Sd;let e=rr();return Sd={\"tools/call\":e.CallToolResultSchema,\"tools/list\":e.ListToolsResultSchema,\"prompts/get\":e.GetPromptResultSchema,\"prompts/list\":e.ListPromptsResultSchema,\"resources/list\":e.ListResourcesResultSchema,\"resources/templates/list\":e.ListResourceTemplatesResultSchema,\"resources/read\":e.ReadResourceResultSchema,\"completion/complete\":e.CompleteResultSchema,\"server/discover\":e.DiscoverResultSchema},Sd}var av=\"2026-07-28\";function mc(e){return e!==void 0&&Ob(e)?ov:rv}function wb(e){return e.revision!==void 0?mc(e.revision).era:e.era===\"modern\"?ov.era:rv.era}function Jg(e){return Qb.some(t=>t.hasRequestMethod(e))}function Hg(e){return Qb.some(t=>t.hasNotificationMethod(e))}function kb(e){return e===\"tasks/get\"||e===\"tasks/cancel\"}var Qb=[rv,ov],nR=Sv({AnnotationsSchema:()=>mt,AudioContentSchema:()=>Jr,BaseMetadataSchema:()=>ut,BaseRequestParamsSchema:()=>fe,BlobResourceContentsSchema:()=>vi,BooleanSchemaSchema:()=>bi,CallToolRequestParamsSchema:()=>gs,CallToolRequestSchema:()=>vs,CallToolResultSchema:()=>tr,CancelTaskRequestSchema:()=>ad,CancelTaskResultSchema:()=>sd,CancelledNotificationParamsSchema:()=>wa,CancelledNotificationSchema:()=>ui,ClientCapabilitiesSchema:()=>xa,ClientNotificationSchema:()=>ld,ClientRequestSchema:()=>cd,ClientResultSchema:()=>ud,ClientTasksCapabilitySchema:()=>Bu,CompatibilityCallToolResultSchema:()=>Gu,CompleteRequestParamsSchema:()=>Fs,CompleteRequestSchema:()=>Js,CompleteResultSchema:()=>Hs,ContentBlockSchema:()=>pt,CreateMessageRequestParamsSchema:()=>Ps,CreateMessageRequestSchema:()=>Ts,CreateMessageResultSchema:()=>Es,CreateMessageResultWithToolsSchema:()=>Os,CreateTaskResultSchema:()=>Xu,CursorSchema:()=>oi,DiscoverRequestSchema:()=>Ea,DiscoverResultSchema:()=>mi,ElicitRequestFormParamsSchema:()=>Wr,ElicitRequestParamsSchema:()=>Us,ElicitRequestSchema:()=>Ds,ElicitRequestURLParamsSchema:()=>As,ElicitResultSchema:()=>Ls,ElicitationCompleteNotificationParamsSchema:()=>Ms,ElicitationCompleteNotificationSchema:()=>qs,EmbeddedResourceSchema:()=>Hr,EmptyResultSchema:()=>Qt,EnumSchemaSchema:()=>js,GetPromptRequestParamsSchema:()=>as,GetPromptRequestSchema:()=>ss,GetPromptResultSchema:()=>us,GetTaskPayloadRequestSchema:()=>rd,GetTaskPayloadResultSchema:()=>nd,GetTaskRequestSchema:()=>ed,GetTaskResultSchema:()=>td,IconSchema:()=>ka,IconsSchema:()=>kt,ImageContentSchema:()=>Fr,ImplementationSchema:()=>dt,InitializeRequestParamsSchema:()=>Ia,InitializeRequestSchema:()=>Ra,InitializeResultSchema:()=>Pa,InitializedNotificationSchema:()=>Ta,JSONArraySchema:()=>Ju,JSONObjectSchema:()=>ne,JSONRPCErrorResponseSchema:()=>qr,JSONRPCMessageSchema:()=>Lr,JSONRPCNotificationSchema:()=>li,JSONRPCRequestSchema:()=>ci,JSONRPCResponseSchema:()=>Hu,JSONRPCResultResponseSchema:()=>Mr,JSONValueSchema:()=>wt,LegacyTitledEnumSchemaSchema:()=>wi,ListChangedOptionsBaseSchema:()=>Wu,ListPromptsRequestSchema:()=>is,ListPromptsResultSchema:()=>os,ListResourceTemplatesRequestSchema:()=>Da,ListResourceTemplatesResultSchema:()=>Ma,ListResourcesRequestSchema:()=>Aa,ListResourcesResultSchema:()=>Ua,ListRootsRequestSchema:()=>Ks,ListRootsResultSchema:()=>Gs,ListTasksRequestSchema:()=>id,ListTasksResultSchema:()=>od,ListToolsRequestSchema:()=>fs,ListToolsResultSchema:()=>hs,LoggingLevelSchema:()=>yi,LoggingMessageNotificationParamsSchema:()=>bs,LoggingMessageNotificationSchema:()=>$s,ModelHintSchema:()=>zs,ModelPreferencesSchema:()=>ws,MultiSelectEnumSchemaSchema:()=>Ns,NotificationSchema:()=>ve,NotificationsParamsSchema:()=>ze,NumberSchemaSchema:()=>Gr,PaginatedRequestParamsSchema:()=>Na,PaginatedRequestSchema:()=>xt,PaginatedResultSchema:()=>It,PingRequestSchema:()=>pi,PrimitiveSchemaDefinitionSchema:()=>Ii,ProgressNotificationParamsSchema:()=>Ca,ProgressNotificationSchema:()=>fi,ProgressSchema:()=>Oa,ProgressTokenSchema:()=>ii,PromptArgumentSchema:()=>rs,PromptListChangedNotificationSchema:()=>ds,PromptMessageSchema:()=>ls,PromptReferenceSchema:()=>Zs,PromptSchema:()=>ns,ReadResourceRequestParamsSchema:()=>qa,ReadResourceRequestSchema:()=>La,ReadResourceResultSchema:()=>Va,RelatedTaskMetadataSchema:()=>za,RequestIdSchema:()=>tt,RequestMetaSchema:()=>ai,RequestSchema:()=>ie,ResourceContentsSchema:()=>hi,ResourceLinkSchema:()=>Br,ResourceListChangedNotificationSchema:()=>Za,ResourceRequestParamsSchema:()=>Vr,ResourceSchema:()=>_i,ResourceTemplateReferenceSchema:()=>Vs,ResourceTemplateSchema:()=>ja,ResourceUpdatedNotificationParamsSchema:()=>es,ResourceUpdatedNotificationSchema:()=>ts,ResultMetaObjectSchema:()=>si,ResultSchema:()=>oe,RoleSchema:()=>Rt,RootSchema:()=>Bs,RootsListChangedNotificationSchema:()=>Ws,SamplingContentSchema:()=>Is,SamplingMessageContentBlockSchema:()=>Wt,SamplingMessageSchema:()=>Rs,ServerCapabilitiesSchema:()=>di,ServerNotificationSchema:()=>md,ServerRequestSchema:()=>dd,ServerResultSchema:()=>pd,ServerTasksCapabilitySchema:()=>Ku,SetLevelRequestParamsSchema:()=>Ss,SetLevelRequestSchema:()=>ys,SingleSelectEnumSchemaSchema:()=>Cs,StringSchemaSchema:()=>Kr,SubscribeRequestParamsSchema:()=>Fa,SubscribeRequestSchema:()=>Ja,SubscriptionFilterSchema:()=>Si,SubscriptionsAcknowledgedNotificationParamsSchema:()=>Wa,SubscriptionsAcknowledgedNotificationSchema:()=>Ya,SubscriptionsListenRequestParamsSchema:()=>Ka,SubscriptionsListenRequestSchema:()=>Ga,SubscriptionsListenResultMetaSchema:()=>Xa,SubscriptionsListenResultSchema:()=>Qa,TaskAugmentedRequestParamsSchema:()=>Xt,TaskCreationParamsSchema:()=>Yu,TaskMetadataSchema:()=>$a,TaskSchema:()=>Pt,TaskStatusNotificationParamsSchema:()=>Xs,TaskStatusNotificationSchema:()=>Qu,TaskStatusSchema:()=>Ys,TextContentSchema:()=>Zr,TextResourceContentsSchema:()=>gi,TitledMultiSelectEnumSchemaSchema:()=>xi,TitledSingleSelectEnumSchemaSchema:()=>zi,ToolAnnotationsSchema:()=>ms,ToolChoiceSchema:()=>ks,ToolExecutionSchema:()=>ps,ToolListChangedNotificationSchema:()=>_s,ToolResultContentSchema:()=>xs,ToolSchema:()=>er,ToolUseContentSchema:()=>cs,UnsubscribeRequestParamsSchema:()=>Ha,UnsubscribeRequestSchema:()=>Ba,UntitledMultiSelectEnumSchemaSchema:()=>ki,UntitledSingleSelectEnumSchemaSchema:()=>$i});var e$=e=>ci.safeParse(e).success,t$=e=>li.safeParse(e).success,Yg=e=>Mr.safeParse(e).success,r$=e=>qr.safeParse(e).success;var dc=-32020,EC=[{rung:\"http-method\",order:1,evaluatedAt:\"edge\",codes:[-32e3],conformance:[],rationale:\"The modern era is POST-only; GET/DELETE are body-less 2025-era session operations and are method-routed to legacy serving (405 when legacy serving is not configured), before any body is read.\"},{rung:\"jsonrpc-shape\",order:2,evaluatedAt:\"edge\",codes:[K.InvalidRequest],conformance:[\"server-stateless\"],rationale:\"The body must be a JSON-RPC request or notification: posted responses and batch arrays containing a modern or invalid element are rejected before classification (element-wise batch rule); all-legacy arrays stay legacy traffic.\"},{rung:\"era-classification\",order:3,evaluatedAt:\"edge\",codes:[dc,K.UnsupportedProtocolVersion],conformance:[\"server-stateless\",\"http-header-validation\",\"http-custom-header-server-validation\"],rationale:\"Body-primary era classification with the protocol-version header as a cross-check; a header/body disagreement is rejected with -32020 (HeaderMismatch), and an envelope-less request on a modern-only endpoint is answered with the unsupported-protocol-version error naming the supported revisions.\"},{rung:\"envelope\",order:4,evaluatedAt:\"edge\",codes:[K.InvalidParams],conformance:[\"server-stateless\"],rationale:\"A present envelope claim with a malformed envelope \\u2014 and a missing envelope on a request whose protocol-version header names a modern revision \\u2014 is an invalid-params rejection naming the offending or missing key(s); never a silent fall back to legacy handling. This is the only place an invalid-params rejection maps to HTTP 400.\"},{rung:\"method-registry\",order:5,evaluatedAt:\"dispatch\",codes:[K.MethodNotFound],conformance:[\"server-stateless\"],rationale:\"Method existence outranks parameter validity: a method absent from the negotiated revision\\u2019s registry (or with no handler installed) answers method-not-found before params or capabilities are looked at.\"},{rung:\"request-params\",order:6,evaluatedAt:\"dispatch\",codes:[K.InvalidParams],conformance:[],rationale:\"Per-method params validation; emitted in-band by the dispatch layer (HTTP 200), never via the ladder status table.\"},{rung:\"standard-header-validation\",order:7,evaluatedAt:\"pre-dispatch\",codes:[dc],conformance:[\"http-header-validation\"],rationale:\"SEP-2243 standard `MCP-Protocol-Version` / `Mcp-Method` / `Mcp-Name` headers \\u2014 presence, sentinel decoding, and `Mcp-Name` \\u2194 body cross-check \\u2014 are validated by the HTTP entry on a modern-classified request after the supported-revision gate and before dispatch. The spec requires `MCP-Protocol-Version` and `Mcp-Method` on every modern *request* POST (`Mcp-Name` only for the methods that mirror `params.name` / `params.uri` / `params.taskId`, see `MCP_NAME_HEADER_SOURCE`) and names them in that order, so a request missing several is answered by the earliest. Notification POSTs are exempt: the presence half runs on requests only, so a modern-enveloped notification is dispatched even with no standard headers at all. The classifier\\u2019s own header-mismatch cells (protocol-version, `Mcp-Method` mismatch) stay on the edge `era-classification` rung; this rung carries the entry-layer presence/`Mcp-Name` half \\u2014 including the missing `MCP-Protocol-Version` cell, which cannot live on the edge rung without breaking body-primary classification. Evaluated before the capability gate, the factory call, and the `Mcp-Param-*` rung so a request that fails several rungs is answered by the standard-header rung first. The documented order (after method-registry 5 and request-params 6) is NOT the observed precedence: serveModern evaluates this rung immediately after the supported-revision gate, so a request that also fails a dispatch rung is answered here before the dispatch rungs (5\\u20136) are consulted.\"},{rung:\"client-capabilities\",order:8,evaluatedAt:\"pre-dispatch\",codes:[K.MissingRequiredClientCapability],conformance:[\"server-stateless\"],rationale:\"The capability requirement is checked by the HTTP entry, pre-dispatch, against the validated envelope the classifier produced \\u2014 pinning the spec-mandated HTTP 400 independently of how dispatch- and handler-produced errors are mapped. The documented order (after method resolution and params validation) is preserved observably only while the requirement table is empty: once a served method gains a requirement entry, a request that is missing the capability and would also fail a dispatch rung is answered by this gate first, so the entry must consult the method registry before the gate if the documented precedence is to stay observable.\"},{rung:\"param-header-validation\",order:9,evaluatedAt:\"pre-dispatch\",codes:[dc],conformance:[\"http-custom-header-server-validation\"],rationale:\"SEP-2243 `Mcp-Param-*` headers are validated against the named tool\\u2019s `x-mcp-header` declarations and the body `arguments` after the tool registry is known and before dispatch reaches the handler; a missing/disagreeing/malformed header is rejected 400 / -32020 with the same shape as the standard-header cross-checks. The documented order (after method resolution and params validation) is preserved observably only when the body `arguments` would otherwise validate: the check runs pre-dispatch, so a `tools/call` that fails BOTH this rung and a dispatch-time rung (e.g. order-6 `request-params`, -32602) is answered by this gate first with 400 / -32020, not by the earlier-ordered rung.\"}],OC={[K.ParseError]:400,[K.InvalidRequest]:400,[K.MethodNotFound]:404,[K.UnsupportedProtocolVersion]:400,[K.MissingRequiredClientCapability]:400,[dc]:400};function sv(e,t){return la(e,t)}function lc(e){return new Set(e.flatMap(t=>Object.keys(t.shape)))}function Xg(e){if(e==null)return!1;let t=typeof e;return t!==\"object\"&&t!==\"function\"||!(\"~standard\"in e)?!1:typeof e[\"~standard\"]?.validate==\"function\"}var xb=!1,Qg=\"draft-2020-12\";function iR(e,t=\"input\"){let n=e[\"~standard\"],o;if(n.jsonSchema)o=n.jsonSchema[t]({target:Qg});else if(n.vendor===\"zod\"){if(!(\"_zod\"in e))throw new Error(\"Schema appears to be from zod 3, which the SDK cannot convert to JSON Schema. Upgrade to zod >=4.2.0, or wrap your JSON Schema with fromJsonSchema().\");xb||(xb=!0,console.warn(\"[mcp-sdk] Your zod version does not implement `~standard.jsonSchema` (added in zod 4.2.0). Falling back to z.toJSONSchema(). Upgrade to zod >=4.2.0 to silence this warning.\")),o=Or(e,{target:Qg,io:t})}else throw new Error(`Schema library \"${n.vendor}\" does not implement StandardJSONSchemaV1 (\\`~standard.jsonSchema\\`). Upgrade to a version that does, or wrap your JSON Schema with fromJsonSchema().`);if(t===\"output\")return o.type!==void 0?o:n$(o)?{type:\"object\",...o}:o;if(o.type!==void 0&&o.type!==\"object\")throw new Error(`MCP tool and prompt schemas must describe objects (got type: ${JSON.stringify(o.type)}). Wrap your schema in z.object({...}) or equivalent.`);return{type:\"object\",...o}}function n$(e){if(\"properties\"in e||\"patternProperties\"in e||\"additionalProperties\"in e||\"required\"in e)return!0;for(let t of[\"oneOf\",\"anyOf\",\"allOf\"]){let n=e[t];if(Array.isArray(n)&&n.length>0)return n.every(o=>o!==null&&typeof o==\"object\"&&(o.type===\"object\"||n$(o)))}return!1}function oR(e){return e.path?.length?`${e.path.map(t=>String(typeof t==\"object\"?t.key:t)).join(\".\")}: ${e.message}`:e.message}async function Bg(e,t){let n=await e[\"~standard\"].validate(t);return n.issues&&n.issues.length>0?{success:!1,error:n.issues.map(o=>oR(o)).join(\", \")}:{success:!0,data:n.value}}function aR(e){let t=Or(e,{target:Qg,io:\"input\"});return typeof t.pattern==\"string\"?t.pattern:void 0}var sR=/\\\\\\.\\\\d\\{(\\d+)\\}/;function cR(e){let t=sR.exec(e),n=[void 0,-1,0];return t&&n.push(Number(t[1])),[!1,!0].flatMap(o=>[!1,!0].flatMap(r=>n.map(i=>Ke.datetime({local:o,offset:r,precision:i}))))}function lR(e,t){let n;switch(e){case\"email\":n=[_u()];break;case\"uri\":n=[Yn()];break;case\"date\":n=[Ke.date()];break;case\"date-time\":n=cR(t);break}return new Set(n.map(o=>aR(o)).filter(o=>o!==void 0))}function uR(e,t,n){return n!==\"zod\"?!0:lR(e,t).has(t)}function pc(e){return typeof e==\"object\"&&e!==null&&!Array.isArray(e)}function dR(e){try{return iR(e,\"input\")}catch(t){let n=t instanceof Error?t.message:String(t);throw new Se(K.InvalidParams,`Elicitation requestedSchema must describe an object with flat primitive properties: ${n}`)}}var mR=new Set([\"$comment\",\"deprecated\",\"description\",\"examples\",\"readOnly\",\"title\",\"writeOnly\"]);function cv(e){return mR.has(e)||e.startsWith(\"x-\")}var pR=new Set([\"$schema\",...Object.keys(Wr.shape.requestedSchema.shape)]),Ib={string:lc([Kr,$i,zi,wi]),number:lc([Gr]),integer:lc([Gr]),boolean:lc([bi]),array:lc([ki,xi])},fR=new Set(Kr.shape.format.unwrap().options);function hR(e,t,n,o){if(!pc(e))return e;let r=typeof e.type==\"string\"&&Object.hasOwn(Ib,e.type)?Ib[e.type]:void 0;if(r===void 0)return e;let i={};for(let[a,s]of Object.entries(e))r.has(a)||cv(a)?i[a]=s:a===\"pattern\"&&e.type===\"string\"&&typeof e.format==\"string\"?fR.has(e.format)?(typeof s!=\"string\"||!uR(e.format,s,n))&&o.push(`${t}.${a}`):i[a]=s:o.push(`${t}.${a}`);return i}function gR(e,t){let n={},o=[];for(let[r,i]of Object.entries(e))r===\"properties\"&&pc(i)?n[r]=Object.fromEntries(Object.entries(i).map(([a,s])=>[a,hR(s,`properties.${a}`,t,o)])):pR.has(r)?n[r]=i:cv(r)||o.push(r);if(o.length>0)throw new Se(K.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${o.join(\", \")}`);return n}function vR(e,t){if(!pc(e.properties))return t;let n=Object.entries(e.properties).filter(([,o])=>!sv(Ii,o).success).map(([o])=>`properties.${o}`);return n.length>0?n.join(\", \"):t}function ev(e,t,n=\"\"){return Array.isArray(e)&&Array.isArray(t)?e.flatMap((o,r)=>ev(o,t[r],`${n}[${r}]`)):!pc(e)||!pc(t)?[]:Object.entries(e).flatMap(([o,r])=>{let i=n?`${n}.${o}`:o;return Object.prototype.hasOwnProperty.call(t,o)?ev(r,t[o],i):cv(o)?[]:[i]})}function _R(e){if(!Xg(e.requestedSchema))return{...e,mode:\"form\",requestedSchema:e.requestedSchema};let t=e.requestedSchema[\"~standard\"].vendor,n=gR(dR(e.requestedSchema),t),o=sv(Wr.shape.requestedSchema,n);if(!o.success)throw new Se(K.InvalidParams,`Elicitation requestedSchema only supports flat primitive properties (string, number, integer, boolean, and string enums): ${vR(n,o.error.message)}`);let r=ev(n,o.data);if(r.length>0)throw new Se(K.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${r.join(\", \")}`);let i=(o.data.required??[]).filter(a=>!Object.prototype.hasOwnProperty.call(o.data.properties,a));if(i.length>0)throw new Se(K.InvalidParams,`Elicitation requestedSchema lists required properties that are not defined in properties: ${i.join(\", \")}`);return{...e,mode:\"form\",requestedSchema:o.data}}function SR(e){let t=e.inputRequests!==void 0&&Object.keys(e.inputRequests).length>0,n=typeof e.requestState==\"string\";if(!t&&!n)throw new TypeError(\"inputRequired() requires at least one of inputRequests (with at least one entry) or requestState (spec: every InputRequiredResult MUST include at least one of the two)\");return{resultType:\"input_required\",...e.inputRequests!==void 0&&{inputRequests:e.inputRequests},...e.requestState!==void 0&&{requestState:e.requestState}}}var CC=Object.assign(SR,{elicit(e){try{return{method:\"elicitation/create\",params:_R(e)}}catch(t){throw t instanceof Se?new TypeError(t.message,{cause:t}):t}},elicitUrl(e){return{method:\"elicitation/create\",params:{...e,mode:\"url\"}}},createMessage(e){return{method:\"sampling/createMessage\",params:e}},listRoots(){return{method:\"roots/list\"}}});var yR=[\"AnnotationsSchema\",\"AudioContentSchema\",\"BaseMetadataSchema\",\"BlobResourceContentsSchema\",\"BooleanSchemaSchema\",\"CallToolRequestSchema\",\"CallToolRequestParamsSchema\",\"CallToolResultSchema\",\"CancelledNotificationSchema\",\"CancelledNotificationParamsSchema\",\"CancelTaskRequestSchema\",\"CancelTaskResultSchema\",\"ClientCapabilitiesSchema\",\"ClientNotificationSchema\",\"ClientRequestSchema\",\"ClientResultSchema\",\"CompatibilityCallToolResultSchema\",\"CompleteRequestSchema\",\"CompleteRequestParamsSchema\",\"CompleteResultSchema\",\"ContentBlockSchema\",\"CreateMessageRequestSchema\",\"CreateMessageRequestParamsSchema\",\"CreateMessageResultSchema\",\"CreateMessageResultWithToolsSchema\",\"CreateTaskResultSchema\",\"CursorSchema\",\"DiscoverRequestSchema\",\"DiscoverResultSchema\",\"ElicitationCompleteNotificationSchema\",\"ElicitationCompleteNotificationParamsSchema\",\"ElicitRequestSchema\",\"ElicitRequestFormParamsSchema\",\"ElicitRequestParamsSchema\",\"ElicitRequestURLParamsSchema\",\"ElicitResultSchema\",\"EmbeddedResourceSchema\",\"EmptyResultSchema\",\"EnumSchemaSchema\",\"GetPromptRequestSchema\",\"GetPromptRequestParamsSchema\",\"GetPromptResultSchema\",\"GetTaskPayloadRequestSchema\",\"GetTaskPayloadResultSchema\",\"GetTaskRequestSchema\",\"GetTaskResultSchema\",\"IconSchema\",\"IconsSchema\",\"ImageContentSchema\",\"ImplementationSchema\",\"InitializedNotificationSchema\",\"InitializeRequestSchema\",\"InitializeRequestParamsSchema\",\"InitializeResultSchema\",\"JSONArraySchema\",\"JSONObjectSchema\",\"JSONRPCErrorResponseSchema\",\"JSONRPCMessageSchema\",\"JSONRPCNotificationSchema\",\"JSONRPCRequestSchema\",\"JSONRPCResponseSchema\",\"JSONRPCResultResponseSchema\",\"JSONValueSchema\",\"LegacyTitledEnumSchemaSchema\",\"ListPromptsRequestSchema\",\"ListPromptsResultSchema\",\"ListResourcesRequestSchema\",\"ListResourcesResultSchema\",\"ListResourceTemplatesRequestSchema\",\"ListResourceTemplatesResultSchema\",\"ListRootsRequestSchema\",\"ListRootsResultSchema\",\"ListTasksRequestSchema\",\"ListTasksResultSchema\",\"ListToolsRequestSchema\",\"ListToolsResultSchema\",\"LoggingLevelSchema\",\"LoggingMessageNotificationSchema\",\"LoggingMessageNotificationParamsSchema\",\"ModelHintSchema\",\"ModelPreferencesSchema\",\"MultiSelectEnumSchemaSchema\",\"NotificationSchema\",\"NumberSchemaSchema\",\"PaginatedRequestSchema\",\"PaginatedRequestParamsSchema\",\"PaginatedResultSchema\",\"PingRequestSchema\",\"PrimitiveSchemaDefinitionSchema\",\"ProgressSchema\",\"ProgressNotificationSchema\",\"ProgressNotificationParamsSchema\",\"ProgressTokenSchema\",\"PromptSchema\",\"PromptArgumentSchema\",\"PromptListChangedNotificationSchema\",\"PromptMessageSchema\",\"PromptReferenceSchema\",\"ReadResourceRequestSchema\",\"ReadResourceRequestParamsSchema\",\"ReadResourceResultSchema\",\"RelatedTaskMetadataSchema\",\"RequestSchema\",\"RequestIdSchema\",\"RequestMetaSchema\",\"ResourceSchema\",\"ResourceContentsSchema\",\"ResourceLinkSchema\",\"ResourceListChangedNotificationSchema\",\"ResourceRequestParamsSchema\",\"ResourceTemplateSchema\",\"ResourceTemplateReferenceSchema\",\"ResourceUpdatedNotificationSchema\",\"ResourceUpdatedNotificationParamsSchema\",\"ResultMetaObjectSchema\",\"ResultSchema\",\"RoleSchema\",\"RootSchema\",\"RootsListChangedNotificationSchema\",\"SamplingContentSchema\",\"SamplingMessageSchema\",\"SamplingMessageContentBlockSchema\",\"ServerCapabilitiesSchema\",\"ServerNotificationSchema\",\"ServerRequestSchema\",\"ServerResultSchema\",\"SetLevelRequestSchema\",\"SetLevelRequestParamsSchema\",\"SingleSelectEnumSchemaSchema\",\"StringSchemaSchema\",\"SubscribeRequestSchema\",\"SubscribeRequestParamsSchema\",\"SubscriptionFilterSchema\",\"SubscriptionsAcknowledgedNotificationSchema\",\"SubscriptionsAcknowledgedNotificationParamsSchema\",\"SubscriptionsListenRequestSchema\",\"SubscriptionsListenRequestParamsSchema\",\"SubscriptionsListenResultSchema\",\"SubscriptionsListenResultMetaSchema\",\"TaskAugmentedRequestParamsSchema\",\"TaskCreationParamsSchema\",\"TaskMetadataSchema\",\"TaskSchema\",\"TaskStatusSchema\",\"TaskStatusNotificationSchema\",\"TaskStatusNotificationParamsSchema\",\"TextContentSchema\",\"TextResourceContentsSchema\",\"TitledMultiSelectEnumSchemaSchema\",\"TitledSingleSelectEnumSchemaSchema\",\"ToolSchema\",\"ToolAnnotationsSchema\",\"ToolChoiceSchema\",\"ToolExecutionSchema\",\"ToolListChangedNotificationSchema\",\"ToolResultContentSchema\",\"ToolUseContentSchema\",\"UnsubscribeRequestSchema\",\"UnsubscribeRequestParamsSchema\",\"UntitledMultiSelectEnumSchemaSchema\",\"UntitledSingleSelectEnumSchemaSchema\"],bR={IdJagTokenExchangeResponseSchema:nc,OAuthClientInformationFullSchema:sc,OAuthClientInformationSchema:ac,OAuthClientMetadataSchema:oc,OAuthClientRegistrationErrorSchema:fd,OAuthErrorResponseSchema:ic,OAuthMetadataSchema:Ri,OAuthProtectedResourceMetadataSchema:Qs,OAuthTokenRevocationRequestSchema:hd,OAuthTokensSchema:rc,OpenIdProviderDiscoveryMetadataSchema:tc,OpenIdProviderMetadataSchema:ec},i$={},o$={};function a$(e,t){let n=e.slice(0,-6);i$[n]=t,o$[n]=o=>t.safeParse(o).success}for(let e of yR)a$(e,nR[e]);for(let[e,t]of Object.entries(bR))a$(e,t);var $R=Object.freeze(i$),zR=Object.freeze(o$);function wR(e){switch(e){case\"initialize\":case\"notifications/initialized\":return mc(void 0);case\"server/discover\":return mc(av);default:return}}var s$=6e4,kR=[Ar,ri,Ur,ni],xR=[\"inputResponses\",\"requestState\"];function Rb(e,t){let n=e.params;if(!Kg(n))return{message:e,lifted:{}};let o=n._meta,r=Kg(o)?kR.filter(c=>c in o):[],i=t===\"request\"?xR.filter(c=>c in n):[];if(r.length===0&&i.length===0)return{message:e,lifted:{}};let a={},s={...n};if(r.length>0&&Kg(o)){let c={},l={...o};for(let d of r)c[d]=o[d],delete l[d];a.envelope=c,Object.keys(l).length>0?s._meta=l:delete s._meta}for(let c of i)c===\"inputResponses\"&&(a.inputResponses=s[c]),c===\"requestState\"&&(a.requestState=s[c]),delete s[c];return{message:{...e,params:s},lifted:a}}function Pb(e,t){let n=e.validateResult(t,void 0);if(!(!n.ok&&n.reason===\"not-in-era\"))return{\"~standard\":{version:1,vendor:\"mcp-wire-codec\",validate(o){let r=e.validateResult(t,o);return r.ok?{value:r.value}:{issues:[{message:r.reason===\"invalid\"?r.message:`not-in-era: ${t}`}]}}}}}function c$(e){return()=>e}var IR=c$(void 0),RR,lv=class{_transport;_requestMessageId=0;_requestHandlers=new Map;_customSchemaRequestMethods=new Set;_requestHandlerAbortControllers=new Map;_notificationHandlers=new Map;_responseHandlers=new Map;_progressHandlers=new Map;_timeoutInfo=new Map;_pendingDebouncedNotifications=new Set;_negotiatedProtocolVersion;static{RR=(e,t)=>{e._negotiatedProtocolVersion=t}}_supportedProtocolVersions;onclose;onerror;fallbackRequestHandler;fallbackNotificationHandler;constructor(e){this._options=e,this._supportedProtocolVersions=e?.supportedProtocolVersions??Vu,this.setNotificationHandler(\"notifications/cancelled\",t=>{this._oncancel(t)}),this.setNotificationHandler(\"notifications/progress\",t=>{this._onprogress(t)}),this.setRequestHandler(\"ping\",t=>({}))}_shouldDropInbound(e){}_outboundMetaEnvelope(){}_envelopeOutbound(e){let t=this._outboundMetaEnvelope();if(t===void 0)return e;let n=e.params??{};return{...e,params:{...n,_meta:{...t,...n._meta}}}}_resolveNonCompleteResult(e,t){return Promise.reject(new ce(_e.UnsupportedResultType,`Unsupported result type '${e.kind}' for ${t.request.method}`,{resultType:e.kind,method:t.request.method}))}_getRequestHandler(e){return this._requestHandlers.get(e)}async _oncancel(e){e.params.requestId!==void 0&&this._requestHandlerAbortControllers.get(e.params.requestId)?.abort(e.params.reason)}_setupTimeout(e,t,n,o,r=!1){this._timeoutInfo.set(e,{timeoutId:setTimeout(o,t),startTime:Date.now(),timeout:t,maxTotalTimeout:n,resetTimeoutOnProgress:r,onTimeout:o})}_resetTimeout(e){let t=this._timeoutInfo.get(e);if(!t)return!1;let n=Date.now()-t.startTime;if(t.maxTotalTimeout&&n>=t.maxTotalTimeout)throw this._timeoutInfo.delete(e),new ce(_e.RequestTimeout,\"Maximum total timeout exceeded\",{maxTotalTimeout:t.maxTotalTimeout,totalElapsed:n});return clearTimeout(t.timeoutId),t.timeoutId=setTimeout(t.onTimeout,t.timeout),!0}_cleanupTimeout(e){let t=this._timeoutInfo.get(e);t&&(clearTimeout(t.timeoutId),this._timeoutInfo.delete(e))}async connect(e){this._transport=e;let t=this.transport?.onclose;this._transport.onclose=()=>{try{t?.()}finally{this._onclose()}};let n=this.transport?.onerror;this._transport.onerror=r=>{n?.(r),this._onerror(r)};let o=this._transport?.onmessage;this._transport.onmessage=(r,i)=>{o?.(r,i),Yg(r)||r$(r)?this._onresponse(r):e$(r)?this._onrequest(r,i):t$(r)?this._onnotification(r,i):this._onerror(new Error(`Unknown message type: ${JSON.stringify(r)}`))},e.setSupportedProtocolVersions?.(this._supportedProtocolVersions),await this._transport.start()}_onclose(){let e=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._pendingDebouncedNotifications.clear();for(let o of this._timeoutInfo.values())clearTimeout(o.timeoutId);this._timeoutInfo.clear();let t=this._requestHandlerAbortControllers;this._requestHandlerAbortControllers=new Map;let n=new ce(_e.ConnectionClosed,\"Connection closed\");this._transport=void 0;try{this.onclose?.()}finally{for(let o of e.values())o(n);for(let o of t.values())o.abort(n)}}_onerror(e){this.onerror?.(e)}_onnotification(e,t){let{message:n}=Rb(e,\"notification\"),o=this._negotiatedWireCodec();if(t?.classification===void 0&&this._shouldDropInbound(e)===\"drop\")return;if(t?.classification!==void 0){let a=wb(t.classification);if(a!==o.era){this._onerror(new Error(`Era mismatch on inbound notification '${n.method}': classified as ${a} but this instance serves ${o.era}`));return}}if(Hg(n.method)&&!o.hasNotificationMethod(n.method))return;let r=this._notificationHandlers.get(n.method),i=this.fallbackNotificationHandler;r===void 0&&i===void 0||Promise.resolve().then(()=>r===void 0?i(n):r(n,o)).catch(a=>this._onerror(new Error(`Uncaught error in notification handler: ${a}`)))}_onrequest(e,t){let{message:n,lifted:o}=Rb(e,\"request\"),r=this._negotiatedWireCodec();if(t?.classification===void 0&&this._shouldDropInbound(e)===\"drop\"){this._onerror(new Error(`Dropped inbound request '${e.method}': not servable on this connection's protocol era`));return}let i=this._transport,a=(b,x,O)=>{let P={jsonrpc:\"2.0\",id:n.id,error:{code:b,message:x,...O!==void 0&&{data:O}}};i?.send(P).catch(U=>this._onerror(new Error(`Failed to send an error response: ${U}`)))};if(t?.classification!==void 0){let b=wb(t.classification);if(b!==r.era){this._onerror(new Error(`Era mismatch on inbound request '${n.method}': classified as ${b} but this instance serves ${r.era}`));let x=t.classification.revision??b;a(K.UnsupportedProtocolVersion,`Unsupported protocol version: ${x}`,{supported:this._supportedProtocolVersions,requested:x});return}}if(Jg(n.method)&&!r.hasRequestMethod(n.method)&&!(kb(n.method)&&this._customSchemaRequestMethods.has(n.method))){a(K.MethodNotFound,\"Method not found\");return}let s=this._requestHandlers.get(n.method)??this.fallbackRequestHandler;if(s===void 0){a(K.MethodNotFound,\"Method not found\");return}let c=r.checkInboundEnvelope(o);if(c!==void 0){a(K.InvalidParams,c);return}let l=(b,x)=>this._notificationViaCodec(this._resolveOutboundCodec(b.method),b,{...x,relatedRequestId:n.id}),d=(b,x,O)=>this._requestWithSchemaViaCodec(this._resolveOutboundCodec(b.method),b,x,{...O,relatedRequestId:n.id}),p=new AbortController;this._requestHandlerAbortControllers.set(n.id,p);let f=o.inputResponses===void 0?void 0:PR(o.inputResponses),g={sessionId:i?.sessionId,mcpReq:{id:n.id,method:n.method,_meta:n.params?._meta,...o.envelope!==void 0&&{envelope:o.envelope},...f!==void 0&&{inputResponses:f.accepted},...f!==void 0&&f.droppedKeys.length>0&&{droppedInputResponseKeys:f.droppedKeys},requestState:o.requestState===void 0?IR:c$(o.requestState),signal:p.signal,send:((b,x,O)=>{let P=this._resolveOutboundCodec(b.method);if(this._assertOutboundRequestInEra(P,b.method),Xg(x))return d(b,x,O);let U=Pb(P,b.method);if(U===void 0)throw new TypeError(`'${b.method}' is not a spec method; pass a result schema as the second argument to ctx.mcpReq.send().`);return d(b,U,x)}),notify:l},http:t?.authInfo?{authInfo:t.authInfo}:void 0},_=this.buildContext(g,t);Promise.resolve().then(()=>s(n,_)).then(async b=>{if(p.signal.aborted)return;let x;try{x=r.encodeResult(n.method,b,this._outboundServerInfo())}catch(P){this._onerror(new Error(`Failed to encode result for ${n.method}: ${P}`)),a(K.InternalError,\"Internal error\");return}let O={result:x,jsonrpc:\"2.0\",id:n.id};await i?.send(O)},async b=>{if(p.signal.aborted)return;let x=Number.isSafeInteger(b.code)?b.code:K.InternalError,O={jsonrpc:\"2.0\",id:n.id,error:{code:r.encodeErrorCode(x),message:b.message??\"Internal error\",...b.data!==void 0&&{data:b.data}}};await i?.send(O)}).catch(b=>this._onerror(new Error(`Failed to send response: ${b}`))).finally(()=>{this._requestHandlerAbortControllers.get(n.id)===p&&this._requestHandlerAbortControllers.delete(n.id)})}_onprogress(e){let{progressToken:t,...n}=e.params,o=Number(t),r=this._progressHandlers.get(o);if(!r){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(e)}`));return}let i=this._responseHandlers.get(o),a=this._timeoutInfo.get(o);if(a&&i&&a.resetTimeoutOnProgress)try{this._resetTimeout(o)}catch(s){this._responseHandlers.delete(o),this._progressHandlers.delete(o),this._cleanupTimeout(o),i(s);return}r(n)}_onresponse(e){let t=Number(e.id),n=this._responseHandlers.get(t);if(n===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`));return}this._responseHandlers.delete(t),this._cleanupTimeout(t),this._progressHandlers.delete(t),Yg(e)?n(e):n(Se.fromError(e.error.code,e.error.message,e.error.data))}get transport(){return this._transport}async close(){await this._transport?.close()}request(e,t,n){let o=this._resolveOutboundCodec(e.method);if(Xg(t))return kb(e.method)||this._assertOutboundRequestInEra(o,e.method),this._requestWithSchemaViaCodec(o,e,t,n);this._assertOutboundRequestInEra(o,e.method);let r=Pb(o,e.method);if(r===void 0)throw new TypeError(`'${e.method}' is not a spec method; pass a result schema as the second argument to request().`);return this._requestWithSchemaViaCodec(o,e,r,t)}_negotiatedWireCodec(){return mc(this._negotiatedProtocolVersion)}_wireCodec(){return this._negotiatedWireCodec()}_resolveOutboundCodec(e){if(this._negotiatedProtocolVersion===void 0){let t=wR(e);if(t)return t}return this._negotiatedWireCodec()}_assertOutboundRequestInEra(e,t){if(Jg(t)&&!e.hasRequestMethod(t))throw new ce(_e.MethodNotSupportedByProtocolVersion,`Method '${t}' is not supported by the negotiated protocol version (wire era ${e.era})`,{method:t,era:e.era})}_requestWithSchema(e,t,n){let o=this._resolveOutboundCodec(e.method);return this._assertOutboundRequestInEra(o,e.method),this._requestWithSchemaViaCodec(o,e,t,n)}_requestWithSchemaViaCodec(e,t,n,o){let{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a,headers:s}=o??{},c=Date.now(),l,d;return new Promise((p,f)=>{let g=D=>{f(D)};if(!this._transport){g(new Error(\"Not connected\"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(t.method)}catch(D){g(D);return}if(o?.signal?.aborted){let D=o.signal.reason;throw D instanceof ce?D:new ce(_e.RequestTimeout,String(D))}let _=e.era===av&&this._transport.hasPerRequestStream===!0?new AbortController:void 0,b=this._requestMessageId++;d=b;let x={...t,jsonrpc:\"2.0\",id:b};o?.onprogress&&(this._progressHandlers.set(b,o.onprogress),x.params={...t.params,_meta:{...t.params?._meta,progressToken:b}});let O=this._envelopeOutbound(x),P=!1,U=D=>{P||(this._progressHandlers.delete(b),_===void 0?t.method!==\"initialize\"&&this._transport?.send(this._envelopeOutbound({jsonrpc:\"2.0\",method:\"notifications/cancelled\",params:{requestId:b,reason:String(D)}}),{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a}).catch(W=>this._onerror(new Error(`Failed to send cancellation: ${W}`))):_.abort(),f(D instanceof ce?D:new ce(_e.RequestTimeout,String(D))))};this._responseHandlers.set(b,D=>{if(o?.signal?.aborted)return;if(P=!0,D instanceof Error)return f(D);let W;try{W=e.decodeResult(t.method,D.result)}catch(de){return f(de instanceof Error?de:new Error(String(de)))}if(W.kind===\"invalid\")return f(W.error);if(W.kind===\"input_required\"){if(o?.allowInputRequired===!0)return p(TR(W));let de={codec:e,request:t,resultSchema:n,options:o,flowStartedAt:c,retry:(Ze,rt)=>this._requestWithSchemaViaCodec(e,Ze===void 0?{method:t.method}:{method:t.method,params:Ze},n,rt)};return p(this._resolveNonCompleteResult(W,de))}let Ae=W.result;Bg(n,Ae).then(de=>{de.success?p(de.data):f(new ce(_e.InvalidResult,`Invalid result for ${t.method}: ${de.error}`))},f)}),l=()=>U(o?.signal?.reason),o?.signal?.addEventListener(\"abort\",l,{once:!0});let J=o?.timeout??s$,G=()=>U(new ce(_e.RequestTimeout,\"Request timed out\",{timeout:J}));this._setupTimeout(b,J,o?.maxTotalTimeout,G,o?.resetTimeoutOnProgress??!1),this._transport.send(O,{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a,headers:s,requestSignal:_?.signal}).catch(D=>{this._progressHandlers.delete(b),f(D)})}).finally(()=>{l&&o?.signal?.removeEventListener(\"abort\",l),d!==void 0&&(this._responseHandlers.delete(d),this._cleanupTimeout(d))})}async notification(e,t){return await this._notificationViaCodec(this._resolveOutboundCodec(e.method),e,t)}async _notificationViaCodec(e,t,n){if(!this._transport)throw new ce(_e.NotConnected,\"Not connected\");if(Hg(t.method)&&!e.hasNotificationMethod(t.method))throw new ce(_e.MethodNotSupportedByProtocolVersion,`Notification '${t.method}' is not supported by the negotiated protocol version (wire era ${e.era})`,{method:t.method,era:e.era});this.assertNotificationCapability(t.method);let o=this._envelopeOutbound({jsonrpc:\"2.0\",...t});if((this._options?.debouncedNotificationMethods??[]).includes(t.method)&&!t.params&&n?.relatedRequestId===void 0){if(this._pendingDebouncedNotifications.has(t.method))return;this._pendingDebouncedNotifications.add(t.method),Promise.resolve().then(()=>{this._pendingDebouncedNotifications.delete(t.method),this._transport&&this._transport?.send(o,n).catch(r=>this._onerror(r))});return}await this._transport.send(o,n)}setRequestHandler(e,t,n){this.assertRequestHandlerCapability(e);let o;if(typeof t==\"function\"){if(!Jg(e))throw new TypeError(`'${e}' is not a spec request method; pass schemas as the second argument to setRequestHandler().`);o=(r,i)=>{let a=this._negotiatedWireCodec(),s=a.validateRequest(e,r);if(!s.ok&&s.reason===\"not-in-era\"&&(s=a.validateInputRequest(e,r)),!s.ok)throw s.reason===\"not-in-era\"?new Se(K.InternalError,`No wire schema for ${e} in the resolved era`):new Error(s.message);return Promise.resolve(t(s.value,i))}}else if(n)o=async(r,i)=>{let a=await Bg(t.params,{...r.params});if(!a.success)throw new Se(K.InvalidParams,`Invalid params for ${e}: ${a.error}`);return n(a.data,i)};else throw new TypeError(\"setRequestHandler: handler is required\");typeof t==\"function\"?this._customSchemaRequestMethods.delete(e):this._customSchemaRequestMethods.add(e),this._requestHandlers.set(e,this._wrapHandler(e,o))}_wrapHandler(e,t){return t}_outboundServerInfo(){}removeRequestHandler(e){this._requestHandlers.delete(e),this._customSchemaRequestMethods.delete(e)}assertCanSetRequestHandler(e){if(this._requestHandlers.has(e))throw new Error(`A request handler for ${e} already exists, which would be overridden`)}setNotificationHandler(e,t,n){if(typeof t==\"function\"){if(!Hg(e))throw new TypeError(`'${e}' is not a spec notification method; pass schemas as the second argument to setNotificationHandler().`);this._notificationHandlers.set(e,(o,r)=>{let i=r.validateNotification(e,o);if(!i.ok)throw i.reason===\"not-in-era\"?new Se(K.InternalError,`No wire schema for ${e} in the resolved era`):new Error(i.message);return Promise.resolve(t(i.value))});return}if(!n)throw new TypeError(\"setNotificationHandler: handler is required\");this._notificationHandlers.set(e,async o=>{let r=await Bg(t.params,{...o.params});if(!r.success)throw new Se(K.InvalidParams,`Invalid params for notification ${e}: ${r.error}`);await n(r.data,o)})}removeNotificationHandler(e){this._notificationHandlers.delete(e)}};function Kg(e){return e!==null&&typeof e==\"object\"&&!Array.isArray(e)}function Tb(e){return typeof e==\"object\"&&e!==null&&!Array.isArray(e)}function PR(e){let t={},n=[];if(!Tb(e))return{accepted:t,droppedKeys:n};for(let[o,r]of Object.entries(e)){if(!Tb(r)||\"method\"in r||\"result\"in r){n.push(o);continue}t[o]=r}return{accepted:t,droppedKeys:n}}function TR(e){return{resultType:\"input_required\",inputRequests:e.inputRequests,...e.requestState!==void 0&&{requestState:e.requestState},...e._meta!==void 0&&{_meta:e._meta}}}/*!\n* content-type\n* Copyright(c) 2015 Douglas Christopher Wilson\n* MIT Licensed\n*/var ER=_v((e=>{var t=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *(\"(?:[\\u000b\\u0020\\u0021\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u000b\\u0020-\\u00ff])*\"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,n=/\\\\([\\u000b\\u0020-\\u00ff])/g,o=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;e.parse=r;function r(s){if(!s)throw new TypeError(\"argument string is required\");var c=typeof s==\"object\"?i(s):s;if(typeof c!=\"string\")throw new TypeError(\"argument string is required to be a string\");var l=c.indexOf(\";\"),d=l!==-1?c.slice(0,l).trim():c.trim();if(!o.test(d))throw new TypeError(\"invalid media type\");var p=new a(d.toLowerCase());if(l!==-1){var f,g,_;for(t.lastIndex=l;g=t.exec(c);){if(g.index!==l)throw new TypeError(\"invalid parameter format\");l+=g[0].length,f=g[1].toLowerCase(),_=g[2],_.charCodeAt(0)===34&&(_=_.slice(1,-1),_.indexOf(\"\\\\\")!==-1&&(_=_.replace(n,\"$1\"))),p.parameters[f]=_}if(l!==c.length)throw new TypeError(\"invalid parameter format\")}return p}function i(s){var c;if(typeof s.getHeader==\"function\"?c=s.getHeader(\"content-type\"):typeof s.headers==\"object\"&&(c=s.headers&&s.headers[\"content-type\"]),typeof c!=\"string\")throw new TypeError(\"content-type header is missing from object\");return c}function a(s){this.parameters=Object.create(null),this.type=s}})),NC=yv(ER(),1);var OR=10*1024*1024;var JC=typeof self<\"u\"&&self.location&&self.location.origin!==\"null\"?new URL(self.location.origin+self.location.pathname+location.search):new URL(\"https://github.com/cfworker\");var CR=/^(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)$/,NR=[0,31,28,31,30,31,30,31,31,30,31,30,31],jR=/^(\\d\\d):(\\d\\d):(\\d\\d)(\\.\\d+)?(z|[+-]\\d\\d(?::?\\d\\d)?)?$/i,AR=/^(?=.{1,253}\\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\\.?$/i,UR=/^(?:[a-z][a-z0-9+\\-.]*:)?(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\\.[a-z0-9\\-._~!$&'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)|(?:[a-z0-9\\-._~!$&'\"()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\\?(?:[a-z0-9\\-._~!$&'\"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&'\"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,DR=/^(?:(?:[^\\x00-\\x20\"'<>%\\\\^`{|}]|%[0-9a-f]{2})|\\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?)*\\})*$/i,MR=/^(?:(?:https?|ftp):\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?!10(?:\\.\\d{1,3}){3})(?!127(?:\\.\\d{1,3}){3})(?!169\\.254(?:\\.\\d{1,3}){2})(?!192\\.168(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u{00a1}-\\u{ffff}0-9]+-?)*[a-z\\u{00a1}-\\u{ffff}0-9]+)(?:\\.(?:[a-z\\u{00a1}-\\u{ffff}0-9]+-?)*[a-z\\u{00a1}-\\u{ffff}0-9]+)*(?:\\.(?:[a-z\\u{00a1}-\\u{ffff}]{2,})))(?::\\d{2,5})?(?:\\/[^\\s]*)?$/iu,qR=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,LR=/^(?:\\/(?:[^~/]|~0|~1)*)*$/,VR=/^#(?:\\/(?:[a-z0-9_\\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,ZR=/^(?:0|[1-9][0-9]*)(?:#|(?:\\/(?:[^~/]|~0|~1)*)*)$/,FR=e=>{if(e[0]==='\"')return!1;let[t,n,...o]=e.split(\"@\");return!t||!n||o.length!==0||t.length>64||n.length>253||t[0]===\".\"||t.endsWith(\".\")||t.includes(\"..\")||!/^[a-z0-9.-]+$/i.test(n)||!/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+$/i.test(t)?!1:n.split(\".\").every(r=>/^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$/i.test(r))},JR=/^(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)$/,HR=/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))$/i,BR=e=>e.length>1&&e.length<80&&(/^P\\d+([.,]\\d+)?W$/.test(e)||/^P[\\dYMDTHS]*(\\d[.,]\\d+)?[YMDHS]$/.test(e)&&/^P([.,\\d]+Y)?([.,\\d]+M)?([.,\\d]+D)?(T([.,\\d]+H)?([.,\\d]+M)?([.,\\d]+S)?)?$/.test(e));function ft(e){return e.test.bind(e)}var HC={date:l$,time:u$.bind(void 0,!1),\"date-time\":WR,duration:BR,uri:QR,\"uri-reference\":ft(UR),\"uri-template\":ft(DR),url:ft(MR),email:FR,hostname:ft(AR),ipv4:ft(JR),ipv6:ft(HR),regex:tP,uuid:ft(qR),\"json-pointer\":ft(LR),\"json-pointer-uri-fragment\":ft(VR),\"relative-json-pointer\":ft(ZR)};function KR(e){return e%4===0&&(e%100!==0||e%400===0)}function l$(e){let t=e.match(CR);if(!t)return!1;let n=+t[1],o=+t[2],r=+t[3];return o>=1&&o<=12&&r>=1&&r<=(o==2&&KR(n)?29:NR[o])}function u$(e,t){let n=t.match(jR);if(!n)return!1;let o=+n[1],r=+n[2],i=+n[3],a=!!n[5];return(o<=23&&r<=59&&i<=59||o==23&&r==59&&i==60)&&(!e||a)}var GR=/t|\\s/i;function WR(e){let t=e.split(GR);return t.length==2&&l$(t[0])&&u$(!0,t[1])}var YR=/\\/|:/,XR=/^(?:[a-z][a-z0-9+\\-.]*:)(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\\.[a-z0-9\\-._~!$&'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)|(?:[a-z0-9\\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\\?(?:[a-z0-9\\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function QR(e){return YR.test(e)&&XR.test(e)}var eP=/[^\\\\]\\\\Z/;function tP(e){if(eP.test(e))return!1;try{return new RegExp(e,\"u\"),!0}catch{return!1}}var nP;nP=globalThis.crypto;var fc=class extends Error{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.OAuthClientFlowError\"})}static[Symbol.hasInstance](e){return Le(this,e)}static isInstance(e){if(typeof this!=\"function\")throw new TypeError(\"isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`\");return Le(this,e)}constructor(e){super(e),this.name=new.target.name,Yr(this,new.target)}},q0=class extends fc{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.IssuerMismatchError\"})}kind;expected;received;constructor(e,t,n){super(`Issuer mismatch in ${e===\"metadata\"?\"authorization server metadata (RFC 8414 \\xA73.3)\":\"authorization response (RFC 9207)\"}: expected ${JSON.stringify(t)}, received ${JSON.stringify(n)}`),this.kind=e,this.expected=t,this.received=n}},L0=class extends fc{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.RegistrationRejectedError\"})}status;body;submittedMetadata;constructor(e){super(`Dynamic Client Registration rejected (HTTP ${e.status}): ${e.body}`),this.status=e.status,this.body=e.body,this.submittedMetadata=e.submittedMetadata}},V0=class extends fc{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.InsecureTokenEndpointError\"})}tokenEndpoint;constructor(e){super(`Refusing to send credentials to non-https token endpoint '${e}'. OAuth token requests MUST use TLS (localhost / *.localhost / 127.0.0.1 / ::1 are exempt).`),this.tokenEndpoint=e}},Z0=class extends fc{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.AuthorizationServerMismatchError\"})}constructor(e,t){super(`Authorization server mismatch: credentials are bound to ${JSON.stringify(e)} but this call resolved ${JSON.stringify(t)}; refusing to present them to a different authorization server`),this.recordedIssuer=e,this.currentIssuer=t}},F0=class extends fc{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.InsufficientScopeError\"})}requiredScope;resourceMetadataUrl;errorDescription;constructor(e){super(`Insufficient scope${e.requiredScope?`: required \"${e.requiredScope}\"`:\"\"}`),this.requiredScope=e.requiredScope,this.resourceMetadataUrl=e.resourceMetadataUrl,this.errorDescription=e.errorDescription}};var J0=class extends Error{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.UnauthorizedError\"})}static[Symbol.hasInstance](e){return Le(this,e)}static isInstance(e){if(typeof this!=\"function\")throw new TypeError(\"isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`\");return Le(this,e)}constructor(e){super(e??\"Unauthorized\"),this.name=\"UnauthorizedError\",Yr(this,new.target)}};var H0=class extends Error{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.SseError\"})}static[Symbol.hasInstance](e){return Le(this,e)}static isInstance(e){if(typeof this!=\"function\")throw new TypeError(\"isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`\");return Le(this,e)}constructor(e,t,n){super(`SSE error: ${t}`),this.code=e,this.event=n,Yr(this,new.target)}};var uv=class{_eventSlots=new Map;setHandler(t,n){let o=this._ensureEventSlot(t);o.onHandler&&n&&console.warn(`[MCP Apps] on${String(t)} handler replaced. Use addEventListener(\"${String(t)}\", \\u2026) to add multiple listeners without replacing.`),o.onHandler=n}getHandler(t){return this._eventSlots.get(t)?.onHandler}addEventListener(t,n){this._ensureEventSlot(t).listeners.push(n)}removeEventListener(t,n){let o=this._eventSlots.get(t);if(!o)return;let r=o.listeners.indexOf(n);r!==-1&&o.listeners.splice(r,1)}dispatch(t,n){let o=this._eventSlots.get(t);if(o){o.onHandler?.(n);for(let r of[...o.listeners])r(n)}}_ensureEventSlot(t){let n=this._eventSlots.get(t);return n||(n={listeners:[]},this._eventSlots.set(t,n)),n}},dv=class{_methods=new Set;claim(t,n){if(this._methods.has(t))throw Error(`Handler for \"${t}\" already registered (via ${n}). Use addEventListener() to attach multiple listeners, or the on* setter for replace semantics.`);this._methods.add(t)}replace(t){this._methods.add(t)}release(t){this._methods.delete(t)}has(t){return this._methods.has(t)}},d$=new Set;function m$(e,t){let[n,o]=t,r=n?.shape;if(typeof r?.method?.value!=\"string\")return;let i=r.method.value,a=e===\"request\"?\"setRequestHandler\":\"setNotificationHandler\";d$.has(a)||(d$.add(a),console.warn(`[ext-apps] ${a}(Schema, handler) is deprecated; use ${a}(\"${i}\", { params: Schema.shape.params }, handler).`));let s=o;return[i,{params:r.params},e===\"request\"?(c,l)=>s({method:i,params:c},iP(l)):c=>s({method:i,params:c})]}function iP(e){return{signal:e.mcpReq.signal,requestId:e.mcpReq.id,sessionId:e.sessionId,_meta:e.mcpReq._meta,sendRequest:e.mcpReq.send,sendNotification:e.mcpReq.notify,authInfo:e.http?.authInfo}}var oP=\"2026-01-26\";var aP=\"ui/notifications/tool-input-partial\";var mv=class{eventTarget;eventSource;messageListener;constructor(t=window.parent,n){this.eventTarget=t,this.eventSource=n,this.messageListener=o=>{if(n&&o.source!==this.eventSource){console.debug(\"Ignoring message from unknown source\",o);return}let r=Lr.safeParse(o.data);r.success?(console.debug(\"Parsed message\",r.data),this.onmessage?.(r.data)):o.data?.jsonrpc!==\"2.0\"?console.debug(\"Ignoring non-JSON-RPC message\",r.error.message,o):(console.error(\"Failed to parse message\",r.error.message,o),this.onerror?.(Error(\"Invalid JSON-RPC message received: \"+r.error.message)))}}async start(){window.addEventListener(\"message\",this.messageListener)}async send(t,n){t.method!==aP&&console.debug(\"Sending message\",t),this.eventTarget.postMessage(t,\"*\")}async close(){window.removeEventListener(\"message\",this.messageListener),this.onclose?.()}onclose;onerror;onmessage;sessionId;setProtocolVersion},sP=m.union([m.literal(\"light\"),m.literal(\"dark\")]).describe(\"Color theme preference for the host environment.\"),hc=m.union([m.literal(\"inline\"),m.literal(\"fullscreen\"),m.literal(\"pip\")]).describe(\"Display mode for UI presentation.\"),cP=m.union([m.literal(\"--color-background-primary\"),m.literal(\"--color-background-secondary\"),m.literal(\"--color-background-tertiary\"),m.literal(\"--color-background-inverse\"),m.literal(\"--color-background-ghost\"),m.literal(\"--color-background-info\"),m.literal(\"--color-background-danger\"),m.literal(\"--color-background-success\"),m.literal(\"--color-background-warning\"),m.literal(\"--color-background-disabled\"),m.literal(\"--color-text-primary\"),m.literal(\"--color-text-secondary\"),m.literal(\"--color-text-tertiary\"),m.literal(\"--color-text-inverse\"),m.literal(\"--color-text-ghost\"),m.literal(\"--color-text-info\"),m.literal(\"--color-text-danger\"),m.literal(\"--color-text-success\"),m.literal(\"--color-text-warning\"),m.literal(\"--color-text-disabled\"),m.literal(\"--color-border-primary\"),m.literal(\"--color-border-secondary\"),m.literal(\"--color-border-tertiary\"),m.literal(\"--color-border-inverse\"),m.literal(\"--color-border-ghost\"),m.literal(\"--color-border-info\"),m.literal(\"--color-border-danger\"),m.literal(\"--color-border-success\"),m.literal(\"--color-border-warning\"),m.literal(\"--color-border-disabled\"),m.literal(\"--color-ring-primary\"),m.literal(\"--color-ring-secondary\"),m.literal(\"--color-ring-inverse\"),m.literal(\"--color-ring-info\"),m.literal(\"--color-ring-danger\"),m.literal(\"--color-ring-success\"),m.literal(\"--color-ring-warning\"),m.literal(\"--font-sans\"),m.literal(\"--font-mono\"),m.literal(\"--font-weight-normal\"),m.literal(\"--font-weight-medium\"),m.literal(\"--font-weight-semibold\"),m.literal(\"--font-weight-bold\"),m.literal(\"--font-text-xs-size\"),m.literal(\"--font-text-sm-size\"),m.literal(\"--font-text-md-size\"),m.literal(\"--font-text-lg-size\"),m.literal(\"--font-heading-xs-size\"),m.literal(\"--font-heading-sm-size\"),m.literal(\"--font-heading-md-size\"),m.literal(\"--font-heading-lg-size\"),m.literal(\"--font-heading-xl-size\"),m.literal(\"--font-heading-2xl-size\"),m.literal(\"--font-heading-3xl-size\"),m.literal(\"--font-text-xs-line-height\"),m.literal(\"--font-text-sm-line-height\"),m.literal(\"--font-text-md-line-height\"),m.literal(\"--font-text-lg-line-height\"),m.literal(\"--font-heading-xs-line-height\"),m.literal(\"--font-heading-sm-line-height\"),m.literal(\"--font-heading-md-line-height\"),m.literal(\"--font-heading-lg-line-height\"),m.literal(\"--font-heading-xl-line-height\"),m.literal(\"--font-heading-2xl-line-height\"),m.literal(\"--font-heading-3xl-line-height\"),m.literal(\"--border-radius-xs\"),m.literal(\"--border-radius-sm\"),m.literal(\"--border-radius-md\"),m.literal(\"--border-radius-lg\"),m.literal(\"--border-radius-xl\"),m.literal(\"--border-radius-full\"),m.literal(\"--border-width-regular\"),m.literal(\"--shadow-hairline\"),m.literal(\"--shadow-sm\"),m.literal(\"--shadow-md\"),m.literal(\"--shadow-lg\")]).describe(\"CSS variable keys available to MCP apps for theming.\"),lP=m.record(cP.describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),m.union([m.string(),m.undefined()]).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`)).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),lN=m.object({method:m.literal(\"ui/open-link\"),params:m.object({url:m.string().describe(\"URL to open in the host's browser\")})}),uP=m.object({isError:m.boolean().optional().describe(\"True if the host failed to open the URL (e.g., due to security policy).\")}).passthrough(),dP=m.object({isError:m.boolean().optional().describe(\"True if the download failed (e.g., user cancelled or host denied).\")}).passthrough(),mP=m.object({isError:m.boolean().optional().describe(\"True if the host rejected or failed to deliver the message.\")}).passthrough(),uN=m.object({method:m.literal(\"ui/notifications/sandbox-proxy-ready\"),params:m.object({})}),pv=m.object({connectDomains:m.array(m.string()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).\n\n- Maps to CSP \\`connect-src\\` directive\n- Empty or omitted \\u2192 no network connections (secure default)`),resourceDomains:m.array(m.string()).optional().describe(\"Origins for static resources (images, scripts, stylesheets, fonts, media).\\n\\n- Maps to CSP `img-src`, `script-src`, `style-src`, `font-src`, `media-src` directives\\n- Wildcard subdomains supported: `https://*.example.com`\\n- Empty or omitted \\u2192 no network resources (secure default)\"),frameDomains:m.array(m.string()).optional().describe(\"Origins for nested iframes.\\n\\n- Maps to CSP `frame-src` directive\\n- Empty or omitted \\u2192 no nested iframes allowed (`frame-src 'none'`)\"),baseUriDomains:m.array(m.string()).optional().describe(\"Allowed base URIs for the document.\\n\\n- Maps to CSP `base-uri` directive\\n- Empty or omitted \\u2192 only same origin allowed (`base-uri 'self'`)\")}),fv=m.object({camera:m.object({}).optional().describe(\"Request camera access.\\n\\nMaps to Permission Policy `camera` feature.\"),microphone:m.object({}).optional().describe(\"Request microphone access.\\n\\nMaps to Permission Policy `microphone` feature.\"),geolocation:m.object({}).optional().describe(\"Request geolocation access.\\n\\nMaps to Permission Policy `geolocation` feature.\"),clipboardWrite:m.object({}).optional().describe(\"Request clipboard write access.\\n\\nMaps to Permission Policy `clipboard-write` feature.\")}),dN=m.object({method:m.literal(\"ui/notifications/size-changed\"),params:m.object({width:m.number().optional().describe(\"New width in pixels.\"),height:m.number().optional().describe(\"New height in pixels.\")})}),pP=m.object({method:m.literal(\"ui/notifications/tool-input\"),params:m.object({arguments:m.record(m.string(),m.unknown().describe(\"Complete tool call arguments as key-value pairs.\")).optional().describe(\"Complete tool call arguments as key-value pairs.\")})}),fP=m.object({method:m.literal(\"ui/notifications/tool-input-partial\"),params:m.object({arguments:m.record(m.string(),m.unknown().describe(\"Partial tool call arguments (incomplete, may change).\")).optional().describe(\"Partial tool call arguments (incomplete, may change).\")})}),hP=m.object({method:m.literal(\"ui/notifications/tool-cancelled\"),params:m.object({reason:m.string().optional().describe('Optional reason for the cancellation (e.g., \"user action\", \"timeout\").')})}),gP=m.object({fonts:m.string().optional()}),vP=m.object({variables:lP.optional().describe(\"CSS variables for theming the app.\"),css:gP.optional().describe(\"CSS blocks that apps can inject.\")}),_P=m.object({method:m.literal(\"ui/resource-teardown\"),params:m.object({})}),SP=m.record(m.string(),m.unknown()),p$=m.object({text:m.object({}).optional().describe(\"Host supports text content blocks.\"),image:m.object({}).optional().describe(\"Host supports image content blocks.\"),audio:m.object({}).optional().describe(\"Host supports audio content blocks.\"),resource:m.object({}).optional().describe(\"Host supports resource content blocks.\"),resourceLink:m.object({}).optional().describe(\"Host supports resource link content blocks.\"),structuredContent:m.object({}).optional().describe(\"Host supports structured content.\")}),mN=m.object({method:m.literal(\"ui/notifications/request-teardown\"),params:m.object({}).optional()}),yP=m.object({experimental:m.record(m.string(),m.record(m.string(),m.any()).describe(\"Experimental features keyed by identifier.\")).optional().describe(\"Experimental features keyed by identifier.\"),openLinks:m.object({}).optional().describe(\"Host supports opening external URLs.\"),downloadFile:m.object({}).optional().describe(\"Host supports file downloads via ui/download-file.\"),serverTools:m.object({listChanged:m.boolean().optional().describe(\"Host supports tools/list_changed notifications.\")}).optional().describe(\"Host can proxy tool calls to the MCP server.\"),serverResources:m.object({listChanged:m.boolean().optional().describe(\"Host supports resources/list_changed notifications.\")}).optional().describe(\"Host can proxy resource reads to the MCP server.\"),logging:m.object({}).optional().describe(\"Host accepts log messages.\"),sandbox:m.object({permissions:fv.optional().describe(\"Permissions granted by the host (camera, microphone, geolocation).\"),csp:pv.optional().describe(\"CSP domains approved by the host.\")}).optional().describe(\"Sandbox configuration applied by the host.\"),updateModelContext:p$.optional().describe(\"Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns.\"),message:p$.optional().describe(\"Host supports receiving content messages (ui/message) from the view.\"),sampling:m.object({tools:m.object({}).optional().describe(\"Host supports tool use via `tools` and `toolChoice` parameters.\")}).optional().describe(\"Host supports LLM sampling (sampling/createMessage) from the view.\\nMirrors the MCP `ClientCapabilities.sampling` shape so hosts can pass it through.\")}),bP=m.object({experimental:m.record(m.string(),m.record(m.string(),m.any()).describe(\"Experimental features keyed by identifier.\")).optional().describe(\"Experimental features keyed by identifier.\"),tools:m.object({listChanged:m.boolean().optional().describe(\"App supports tools/list_changed notifications.\")}).optional().describe(\"App exposes MCP-style tools that the host can call.\"),availableDisplayModes:m.array(hc).optional().describe(\"Display modes the app supports.\")}),pN=m.object({method:m.literal(\"ui/notifications/initialized\"),params:m.object({}).optional()}),fN=m.object({csp:pv.optional().describe(\"Content Security Policy configuration for UI resources.\"),permissions:fv.optional().describe(\"Sandbox permissions requested by the UI resource.\"),domain:m.string().optional().describe(`Dedicated origin for view sandbox.\n\nUseful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.\n\n**Host-dependent:** The format and validation rules for this field are determined by each host. Servers MUST consult host-specific documentation for the expected domain format. Common patterns include:\n- Hash-based subdomains (e.g., \\`{hash}.claudemcpcontent.com\\`)\n- URL-derived subdomains (e.g., \\`www-example-com.oaiusercontent.com\\`)\n\nIf omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:m.boolean().optional().describe(`Visual boundary preference - true if view prefers a visible border.\n\nBoolean requesting whether a visible border and background is provided by the host. Specifying an explicit value for this is recommended because hosts' defaults may vary.\n\n- \\`true\\`: request visible border + background\n- \\`false\\`: request no visible border + background\n- omitted: host decides border`)}),hN=m.object({method:m.literal(\"ui/request-display-mode\"),params:m.object({mode:hc.describe(\"The display mode being requested.\")})}),$P=m.object({mode:hc.describe(\"The display mode that was actually set. May differ from requested if not supported.\")}).passthrough(),zP=m.union([m.literal(\"model\"),m.literal(\"app\")]).describe(\"Tool visibility scope - who can access the tool.\"),gN=m.object({resourceUri:m.string().optional(),visibility:m.array(zP).optional().describe(`Who can access this tool. Default: [\"model\", \"app\"]\n- \"model\": Tool visible to and callable by the agent\n- \"app\": Tool callable by the app from this server only`),csp:m.never().optional(),permissions:m.never().optional()}),vN=m.object({mimeTypes:m.array(m.string()).optional().describe('Array of supported MIME types for UI resources.\\nMust include `\"text/html;profile=mcp-app\"` for MCP Apps support.')}),_N=m.object({method:m.literal(\"ui/download-file\"),params:m.object({contents:m.array(m.union([Hr,Br])).describe(\"Resource contents to download \\u2014 embedded (inline data) or linked (host fetches). Uses standard MCP resource types.\")})}),SN=m.object({method:m.literal(\"ui/message\"),params:m.object({role:m.literal(\"user\").describe('Message role, currently only \"user\" is supported.'),content:m.array(pt).describe(\"Message content blocks (text, image, etc.).\")})}),yN=m.object({method:m.literal(\"ui/notifications/sandbox-resource-ready\"),params:m.object({html:m.string().describe(\"HTML content to load into the inner iframe.\"),sandbox:m.string().optional().describe(\"Optional override for the inner iframe's sandbox attribute.\"),csp:pv.optional().describe(\"CSP configuration from resource metadata.\"),permissions:fv.optional().describe(\"Sandbox permissions from resource metadata.\")})}),wP=m.object({method:m.literal(\"ui/notifications/tool-result\"),params:tr.describe(\"Standard MCP tool execution result.\")}),g$=m.object({toolInfo:m.object({id:tt.optional().describe(\"JSON-RPC id of the tools/call request.\"),tool:er.describe(\"Tool definition including name, inputSchema, etc.\")}).optional().describe(\"Metadata of the tool call that instantiated this App.\"),theme:sP.optional().describe(\"Current color theme preference.\"),styles:vP.optional().describe(\"Style configuration for theming the app.\"),displayMode:hc.optional().describe(\"How the UI is currently displayed.\"),availableDisplayModes:m.array(hc).optional().describe(\"Display modes the host supports.\"),containerDimensions:m.union([m.object({height:m.number().describe(\"Fixed container height in pixels.\")}),m.object({maxHeight:m.union([m.number(),m.undefined()]).optional().describe(\"Maximum container height in pixels.\")})]).and(m.union([m.object({width:m.number().describe(\"Fixed container width in pixels.\")}),m.object({maxWidth:m.union([m.number(),m.undefined()]).optional().describe(\"Maximum container width in pixels.\")})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other\ncontainer holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:m.string().optional().describe(\"User's language and region preference in BCP 47 format.\"),timeZone:m.string().optional().describe(\"User's timezone in IANA format.\"),userAgent:m.string().optional().describe(\"Host application identifier.\"),platform:m.union([m.literal(\"web\"),m.literal(\"desktop\"),m.literal(\"mobile\")]).optional().describe(\"Platform type for responsive design decisions.\"),deviceCapabilities:m.object({touch:m.boolean().optional().describe(\"Whether the device supports touch input.\"),hover:m.boolean().optional().describe(\"Whether the device supports hover interactions.\")}).optional().describe(\"Device input capabilities.\"),safeAreaInsets:m.object({top:m.number().describe(\"Top safe area inset in pixels.\"),right:m.number().describe(\"Right safe area inset in pixels.\"),bottom:m.number().describe(\"Bottom safe area inset in pixels.\"),left:m.number().describe(\"Left safe area inset in pixels.\")}).optional().describe(\"Mobile safe area boundaries in pixels.\")}).passthrough(),kP=m.object({method:m.literal(\"ui/notifications/host-context-changed\"),params:g$.describe(\"Partial context update containing only changed fields.\")}),bN=m.object({method:m.literal(\"ui/update-model-context\"),params:m.object({content:m.array(pt).optional().describe(\"Context content blocks (text, image, etc.).\"),structuredContent:m.record(m.string(),m.unknown().describe(\"Structured content for machine-readable context data.\")).optional().describe(\"Structured content for machine-readable context data.\")})}),$N=m.object({method:m.literal(\"ui/initialize\"),params:m.object({appInfo:dt.describe(\"App identification (name and version).\"),appCapabilities:bP.describe(\"Features and capabilities this app provides.\"),protocolVersion:m.string().describe(\"Protocol version this app supports.\")})}),xP=m.object({protocolVersion:m.string().describe('Negotiated protocol version string (e.g., \"2025-11-21\").'),hostInfo:dt.describe(\"Host application identification and version.\"),hostCapabilities:yP.describe(\"Features and capabilities provided by the host.\"),hostContext:g$.describe(\"Rich context about the host environment.\")}).passthrough(),IP={target:\"draft-2020-12\"};async function f$(e,t){let n=e[\"~standard\"];if(n.jsonSchema)return n.jsonSchema[t](IP);throw Error(`Schema (vendor: ${n.vendor}) does not implement Standard JSON Schema (~standard.jsonSchema). Use a library that does (zod v4, ArkType, Valibot) or wrap your schema accordingly.`)}async function h$(e,t,n=\"\"){let o=await e[\"~standard\"].validate(t);if(o.issues){let r=o.issues.map(i=>{let a=i.path?.map(s=>typeof s==\"object\"?s.key:s).join(\".\");return a?`${a}: ${i.message}`:i.message}).join(\"; \");throw Error(n+r)}return o.value}function RP(e,t){let n={...e,...t};return t.experimental!==void 0&&(n.experimental={...e.experimental,...t.experimental}),t.tools!==void 0&&(n.tools={...e.tools,...t.tools}),n}var yd=class e extends lv{_appInfo;_appCapabilities;options;_hostCapabilities;_hostInfo;_hostContext;_registeredTools={};_initializedSent=!1;_registeredEvents=new Set;_events=new uv;_methods=new dv;setRequestHandler=(...t)=>{let[n,...o]=m$(\"request\",t)??t;this._methods.claim(n,\"setRequestHandler\"),super.setRequestHandler.call(this,n,...o)};setNotificationHandler=(...t)=>{let[n,...o]=m$(\"notification\",t)??t;this._methods.claim(n,\"setNotificationHandler\"),super.setNotificationHandler.call(this,n,...o)};removeRequestHandler=t=>{this._methods.release(t),super.removeRequestHandler(t)};removeNotificationHandler=t=>{this._methods.release(t),super.removeNotificationHandler(t)};replaceRequestHandler=(t,...n)=>{this._methods.replace(t),super.setRequestHandler.call(this,t,...n)};_assertInitialized(t){if(this._initializedSent)return;let n=`[ext-apps] App.${t}() called before connect() completed the ui/initialize handshake. Await app.connect() before calling this method, or move data loading to an ontoolresult handler.`;if(this.options?.strict)throw Error(n);console.warn(`${n}. This will throw in a future release.`)}eventSchemas={toolinput:pP,toolinputpartial:fP,toolresult:wP,toolcancelled:hP,hostcontextchanged:kP};static ONE_SHOT_EVENTS=new Set([\"toolinput\",\"toolinputpartial\",\"toolresult\",\"toolcancelled\"]);_everHadListener=new Set;_assertHandlerTiming(t){if(!e.ONE_SHOT_EVENTS.has(t)||this._everHadListener.has(t)||(this._everHadListener.add(t),!this._initializedSent))return;let n=`[ext-apps] \"${String(t)}\" handler registered after connect() completed the ui/initialize handshake. The host may have already sent this notification. Register handlers before calling app.connect().`;if(this.options?.strict)throw Error(n);console.warn(n)}setEventHandler(t,n){n&&this._assertHandlerTiming(t),this._ensureEventSlot(t),this._events.setHandler(t,n)}addEventListener(t,n){this._assertHandlerTiming(t),this._ensureEventSlot(t),this._events.addEventListener(t,n)}removeEventListener(t,n){this._events.removeEventListener(t,n)}_ensureEventSlot(t){if(this._registeredEvents.has(t))return;let n=this.eventSchemas[t];if(!n)throw Error(`Unknown event: ${String(t)}`);this.setNotificationHandler(n.shape.method.value,{params:n.shape.params},o=>{let r=o;t===\"hostcontextchanged\"&&(this._hostContext={...this._hostContext,...r}),this._events.dispatch(t,r)}),this._registeredEvents.add(t)}getEventHandler(t){return this._events.getHandler(t)}warnIfRequestHandlerReplaced(t,n,o){n&&o&&console.warn(`[MCP Apps] ${t} handler replaced. Previous handler will no longer be called.`)}constructor(t,n={},o={autoResize:!0}){super(o),this._appInfo=t,this._appCapabilities=n,this.options=o,this._methods.replace(\"notifications/cancelled\"),this._methods.replace(\"notifications/progress\"),!o.allowUnsafeEval&&m.config({jitless:!0}),this.replaceRequestHandler(\"ping\",r=>(console.log(\"Received ping:\",r.params),{})),this.setEventHandler(\"hostcontextchanged\",void 0)}buildContext(t){return t}registerAppCapabilities(t){if(this.transport)throw Error(\"Cannot register capabilities after transport is established\");this._appCapabilities=RP(this._appCapabilities,t)}registerTool(t,n,o){if(this._registeredTools[t])throw Error(`Tool ${t} is already registered`);let r=this,i=()=>{r._initializedSent&&r._appCapabilities.tools?.listChanged&&r.sendToolListChanged()},a=n.inputSchema!==void 0,s={title:n.title,description:n.description,inputSchema:n.inputSchema,outputSchema:n.outputSchema,annotations:n.annotations,_meta:n._meta,enabled:!0,enable(){this.enabled=!0,i()},disable(){this.enabled=!1,i()},update(c){Object.assign(this,c),i()},remove(){r._registeredTools[t]===s&&(delete r._registeredTools[t],i())},handler:async(c,l)=>{if(!s.enabled)throw Error(`Tool ${t} is disabled`);let d;if(a){let p=s.inputSchema,f=p?await h$(p,c??{},`Invalid input for tool ${t}: `):c??{};d=await o(f,l)}else d=await o(l);return s.outputSchema&&!d.isError&&(d.structuredContent=await h$(s.outputSchema,d.structuredContent,`Invalid output for tool ${t}: `)),d}};return this._registeredTools[t]=s,!this._appCapabilities.tools&&!this.transport&&this.registerAppCapabilities({tools:{listChanged:!0}}),this.ensureToolHandlersInitialized(),i(),s}_toolHandlersInitialized=!1;ensureToolHandlersInitialized(){this._toolHandlersInitialized||(this._toolHandlersInitialized=!0,this.oncalltool=async(t,n)=>{let o=this._registeredTools[t.name];if(!o)throw Error(`Tool ${t.name} not found`);return o.handler(t.arguments,n)},this.onlisttools=async(t,n)=>({tools:await Promise.all(Object.entries(this._registeredTools).filter(([o,r])=>r.enabled).map(async([o,r])=>{let i={name:o,title:r.title,description:r.description,inputSchema:r.inputSchema?await f$(r.inputSchema,\"input\"):{type:\"object\",properties:{}}};return r.outputSchema&&(i.outputSchema=await f$(r.outputSchema,\"output\")),r.annotations&&(i.annotations=r.annotations),r._meta&&(i._meta=r._meta),i}))}))}async sendToolListChanged(t={}){this._assertInitialized(\"sendToolListChanged\"),await this.notification({method:\"notifications/tools/list_changed\",params:t})}getHostCapabilities(){return this._hostCapabilities}getHostVersion(){return this._hostInfo}getHostContext(){return this._hostContext}get ontoolinput(){return this.getEventHandler(\"toolinput\")}set ontoolinput(t){this.setEventHandler(\"toolinput\",t)}get ontoolinputpartial(){return this.getEventHandler(\"toolinputpartial\")}set ontoolinputpartial(t){this.setEventHandler(\"toolinputpartial\",t)}get ontoolresult(){return this.getEventHandler(\"toolresult\")}set ontoolresult(t){this.setEventHandler(\"toolresult\",t)}get ontoolcancelled(){return this.getEventHandler(\"toolcancelled\")}set ontoolcancelled(t){this.setEventHandler(\"toolcancelled\",t)}get onhostcontextchanged(){return this.getEventHandler(\"hostcontextchanged\")}set onhostcontextchanged(t){this.setEventHandler(\"hostcontextchanged\",t)}_onteardown;get onteardown(){return this._onteardown}set onteardown(t){this.warnIfRequestHandlerReplaced(\"onteardown\",this._onteardown,t),this._onteardown=t,this.replaceRequestHandler(\"ui/resource-teardown\",{params:_P.shape.params,result:SP},(n,o)=>{if(!this._onteardown)throw Error(\"No onteardown handler set\");return this._onteardown(n,o)})}_oncalltool;get oncalltool(){return this._oncalltool}set oncalltool(t){this.warnIfRequestHandlerReplaced(\"oncalltool\",this._oncalltool,t),this._oncalltool=t,this.replaceRequestHandler(\"tools/call\",(n,o)=>{if(!this._oncalltool)throw Error(\"No oncalltool handler set\");return this._oncalltool(n.params,o)})}_onlisttools;get onlisttools(){return this._onlisttools}set onlisttools(t){this.warnIfRequestHandlerReplaced(\"onlisttools\",this._onlisttools,t),this._onlisttools=t,this.replaceRequestHandler(\"tools/list\",(n,o)=>{if(!this._onlisttools)throw Error(\"No onlisttools handler set\");return this._onlisttools(n.params,o)})}assertCapabilityForMethod(t){switch(t){case\"sampling/createMessage\":if(!this._hostCapabilities?.sampling)throw Error(`Host does not support sampling (required for ${t})`);break}}assertRequestHandlerCapability(t){switch(t){case\"tools/call\":case\"tools/list\":if(!this._appCapabilities.tools)throw Error(`Client does not support tool capability (required for ${t})`);return;default:return}}assertNotificationCapability(t){}async callServerTool(t,n){if(this._assertInitialized(\"callServerTool\"),typeof t==\"string\")throw Error(`callServerTool() expects an object as its first argument, but received a string (\"${t}\"). Did you mean: callServerTool({ name: \"${t}\", arguments: { ... } })?`);return await this.request({method:\"tools/call\",params:t},{onprogress:()=>{},resetTimeoutOnProgress:!0,...n})}async readServerResource(t,n){return this._assertInitialized(\"readServerResource\"),await this.request({method:\"resources/read\",params:t},n)}async listServerResources(t,n){return this._assertInitialized(\"listServerResources\"),await this.request({method:\"resources/list\",params:t},n)}async createSamplingMessage(t,n){return this._assertInitialized(\"createSamplingMessage\"),await this.request({method:\"sampling/createMessage\",params:t},n)}sendMessage(t,n){return this._assertInitialized(\"sendMessage\"),this.request({method:\"ui/message\",params:t},mP,n)}sendLog(t){return this.notification({method:\"notifications/message\",params:t})}updateModelContext(t,n){return this._assertInitialized(\"updateModelContext\"),this.request({method:\"ui/update-model-context\",params:t},Qt,n)}openLink(t,n){return this._assertInitialized(\"openLink\"),this.request({method:\"ui/open-link\",params:t},uP,n)}sendOpenLink=this.openLink;downloadFile(t,n){return this._assertInitialized(\"downloadFile\"),this.request({method:\"ui/download-file\",params:t},dP,n)}requestTeardown(t={}){return this.notification({method:\"ui/notifications/request-teardown\",params:t})}requestDisplayMode(t,n){return this._assertInitialized(\"requestDisplayMode\"),this.request({method:\"ui/request-display-mode\",params:t},$P,n)}sendSizeChanged(t){return this.notification({method:\"ui/notifications/size-changed\",params:t})}setupSizeChangedNotifications(){let t=!1,n=0,o=0,r=()=>{t||(t=!0,requestAnimationFrame(()=>{t=!1;let a=document.documentElement,s=a.style.height;a.style.height=\"max-content\";let c=Math.ceil(a.getBoundingClientRect().height);a.style.height=s;let l=Math.ceil(window.innerWidth);(l!==n||c!==o)&&(n=l,o=c,this.sendSizeChanged({width:l,height:c}))}))};r();let i=new ResizeObserver(r);return i.observe(document.documentElement),i.observe(document.body),()=>i.disconnect()}async connect(t=new mv(window.parent,window.parent),n){if(this.transport)throw Error(\"App is already connected. Call close() before connecting again.\");this._initializedSent=!1;try{await super.connect(t);let o=await this.request({method:\"ui/initialize\",params:{appCapabilities:this._appCapabilities,appInfo:this._appInfo,protocolVersion:oP}},xP,n);if(o===void 0)throw Error(`Server sent invalid initialize result: ${o}`);this._hostCapabilities=o.hostCapabilities,this._hostInfo=o.hostInfo,this._hostContext=o.hostContext,await this.notification({method:\"ui/notifications/initialized\"}),this._initializedSent=!0,this.options?.autoResize&&this.setupSizeChangedNotifications()}catch(o){throw this.close(),o}}};var v$=\"Kloudy Sample card\",bd={tools:[[\"open_source\",\"Open source\"],[\"paid\",\"Paid tools\"],[\"hybrid\",\"Mix of both\"],[\"free_then_paid\",\"Free tier, then ask\"]],target:[[\"local\",\"This device\"],[\"www\",\"World Wide Web\"],[\"bww\",\"Bot Wide Web\"],[\"mixed\",\"A mix\"]],delivery:[[\"silent\",\"Quietly\"],[\"paid\",\"Paid tools only\"],[\"all\",\"Every tool\"]]},PP=()=>({tools:null,target:null,delivery:\"silent\"});function TP(e){return!!e&&typeof e==\"object\"&&!Array.isArray(e)&&Object.keys(e).length===3&&Object.entries(bd).every(([t,n])=>t!==\"delivery\"&&e[t]===null||n.some(([o])=>o===e[t]))}function _$(e,t=\"site\"){return[{key:\"tools\",question:\"Which tools do you prefer?\",intro:[\"ide\",\"chatbot\",\"terminal\"].includes(t)?\"Kloudy gives your assistant tools to build your projects.\":\"Kloudy uses tools to build your projects.\"},{key:\"target\",question:\"Where will your projects run?\",intro:\"Choose where people will use your projects.\"},{key:\"delivery\",question:\"How much should Kloudy show?\",intro:\"Quietly is the default. You can ask for updates instead.\"}][e]||null}var $d=class{constructor(t=PP()){if(!TP(t))throw Error(\"Invalid preferences\");this.value=structuredClone(t),this.step=0}choose(t){let n=_$(this.step);if(!n||!bd[n.key].some(([o])=>o===t))throw Error(\"Choose one of the offered options.\");return this.value[n.key]=t,this.step++,this.value}back(){this.step=Math.max(0,this.step-1)}};var Pi=e=>String(e??\"\").replace(/[&<>\"']/g,t=>({\"&\":\"&\",\"<\":\"<\",\">\":\">\",'\"':\""\",\"'\":\"'\"})[t]);function S$(e,{surface:t=\"site\",notice:n=\"\"}={}){let o=_$(e.step,t),r=!o;return`<section class=\"sample-card\" aria-label=\"${v$}\"><header><span class=\"sample-orb\" aria-hidden=\"true\"></span><span>${v$}</span><small>${r?\"Ready\":e.step+1+\" / 3\"}</small></header><h1 tabindex=\"-1\">${r?\"Your way to build.\":Pi(o.question)}</h1>${r?\"\":`<p>${Pi(o.intro)}</p>`}${r?`<dl>${Object.entries(bd).map(([i,a])=>`<dt>${Pi({tools:\"Tools\",target:\"Where\",delivery:\"Updates\"}[i])}</dt><dd>${Pi(a.find(([s])=>s===e.value[i])?.[1]||\"Ask when needed\")}</dd>`).join(\"\")}</dl><button class=\"sample-primary\" data-sample-save>Save preferences</button>`:`<div class=\"sample-options\">${bd[o.key].map(([i,a])=>`<button data-sample-choice=\"${i}\" aria-pressed=\"${e.value[o.key]===i}\">${Pi(a)}</button>`).join(\"\")}</div>`}<p class=\"sample-note\">${o?.key===\"tools\"?\"Open source describes the tools; hosting or compute may still cost money.\":o?.key===\"target\"?\"Bot Wide Web sites need hosting: your computer, your cloud, or a paid host.\":\"New costs always need your approval. Ask which tools are connected anytime.\"}</p><details><summary>How this works</summary><p>Quietly means fewer updates, not permission to spend. Free tiers ending always prompt a choice. These preferences do not install tools or authorize a connection.</p></details><footer>${e.step?\"<button data-sample-back>Back</button>\":\"\"}<button data-sample-later>Not now</button></footer><p role=\"status\" class=\"sample-status\">${Pi(n)}</p></section>`}var vc=new yd({name:\"Tool preferences card\",version:\"1.0.0\"},{},{autoResize:!0}),Ve=document.querySelector(\"#sample-root\"),gc=new $d,gv=\"chatbot\",zd=!1,hv=!1;function Xr(e=\"\"){Ve.innerHTML=S$(gc,{surface:gv,notice:e}),Ve.querySelector(\"section\").setAttribute(\"aria-label\",\"Tool preferences card\"),Ve.querySelector(\"header span:not(.sample-orb)\").textContent=\"Tool preferences card\";let t=Ve.querySelector(\"[data-sample-save]\");t&&(t.textContent=\"Use in this conversation\")}Xr();vc.ontoolresult=({structuredContent:e})=>{e?.version!==\"kloudy.sample/1\"||e.kind!==\"preferences\"||(gv=[\"site\",\"ide\",\"chatbot\"].includes(e.surface)?e.surface:\"chatbot\",Xr())};Ve.addEventListener(\"click\",async e=>{let t=e.target.closest(\"button,a\");if(!(!t||hv)){if(t.tagName===\"A\"){if(zd){e.preventDefault();try{await vc.openLink({url:t.href})}catch{Xr(\"Open Kloudy to save your choices.\")}}return}if(t.hasAttribute(\"data-sample-choice\"))gc.choose(t.dataset.sampleChoice),Xr(),Ve.querySelector(\"h1\")?.focus();else if(t.hasAttribute(\"data-sample-back\"))gc.back(),Xr();else if(t.hasAttribute(\"data-sample-later\"))Ve.textContent=\"You can choose your tool preferences later.\";else if(t.hasAttribute(\"data-sample-save\")){hv=!0,t.disabled=!0;try{if(!zd)throw Error(\"Open Kloudy to save your choices.\");if((await vc.updateModelContext({content:[{type:\"text\",text:JSON.stringify({type:\"kloudy.sample.preferences\",version:1,preferences:gc.value,authority:\"presentation-only\",spendingAuthorized:!1,accountSaved:!1})}]}))?.isError)throw Error(\"Your choices could not be shared. Try again.\");Xr(\"Choices shared for this conversation. No tools were connected.\"),Ve.querySelector(\"[data-sample-save]\")?.remove(),Ve.querySelector(\"h1\").textContent=\"Your choices are ready.\",Ve.querySelector(\"[data-sample-back]\").textContent=\"Edit choices\",Ve.querySelector(\"[data-sample-later]\").textContent=\"Done\"}catch{Xr(\"Your choices could not be shared. Try again.\"),Ve.querySelector(\"[data-sample-save]\").textContent=\"Try again\"}finally{hv=!1;let n=document.createElement(\"details\"),o=document.createElement(\"summary\"),r=document.createElement(\"p\"),i=document.createElement(\"a\");o.textContent=\"Save across devices\",r.textContent=\"GitHub sign-in coming soon. You can preview your choices on Kloudy.\",i.href=\"https://kloudy.ai/samples?frontdoor=\"+gv+\"#preferences=\"+encodeURIComponent(JSON.stringify(gc.value)),i.textContent=\"Preview on Kloudy\",n.append(o,r,i),Ve.querySelector(\"section\")?.append(n)}}}});vc.onerror=()=>{zd=!1};window.parent!==window&&vc.connect().then(()=>{zd=!0}).catch(()=>{});})();\n</script><script type=\"text/plain\" id=\"notices\">node_modules/@modelcontextprotocol/client/LICENSE\nThe MCP project is undergoing a licensing transition from the MIT License to the Apache License, Version 2.0 (\"Apache-2.0\"). All new code and specification contributions to the project are licensed under Apache-2.0. Documentation contributions (excluding specifications) are licensed under CC-BY-4.0.\n\nContributions for which relicensing consent has been obtained are licensed under Apache-2.0. Contributions made by authors who originally licensed their work under the MIT License and who have not yet granted explicit permission to relicense remain licensed under the MIT License.\n\nNo rights beyond those granted by the applicable original license are conveyed for such contributions.\n\n---\n\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to the Licensor for inclusion in the Work by the copyright\n owner or by an individual or Legal Entity authorized to submit on behalf\n of the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n---\n\nMIT License\n\nCopyright (c) 2024-2025 Model Context Protocol a Series of LF Projects, LLC.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n---\n\nCreative Commons Attribution 4.0 International (CC-BY-4.0)\n\nDocumentation in this project (excluding specifications) is licensed under\nCC-BY-4.0. See https://creativecommons.org/licenses/by/4.0/legalcode for\nthe full license text.\n\n\nnode_modules/@modelcontextprotocol/core/LICENSE\nThe MCP project is undergoing a licensing transition from the MIT License to the Apache License, Version 2.0 (\"Apache-2.0\"). All new code and specification contributions to the project are licensed under Apache-2.0. Documentation contributions (excluding specifications) are licensed under CC-BY-4.0.\n\nContributions for which relicensing consent has been obtained are licensed under Apache-2.0. Contributions made by authors who originally licensed their work under the MIT License and who have not yet granted explicit permission to relicense remain licensed under the MIT License.\n\nNo rights beyond those granted by the applicable original license are conveyed for such contributions.\n\n---\n\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to the Licensor for inclusion in the Work by the copyright\n owner or by an individual or Legal Entity authorized to submit on behalf\n of the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n---\n\nMIT License\n\nCopyright (c) 2024-2025 Model Context Protocol a Series of LF Projects, LLC.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n---\n\nCreative Commons Attribution 4.0 International (CC-BY-4.0)\n\nDocumentation in this project (excluding specifications) is licensed under\nCC-BY-4.0. See https://creativecommons.org/licenses/by/4.0/legalcode for\nthe full license text.\n\n\nnode_modules/@modelcontextprotocol/ext-apps/LICENSE\nThe MCP project is undergoing a licensing transition from the MIT License to the Apache License, Version 2.0 (\"Apache-2.0\"). All new code and specification contributions to the project are licensed under Apache-2.0. Documentation contributions (excluding specifications) are licensed under CC-BY-4.0.\n\nContributions for which relicensing consent has been obtained are licensed under Apache-2.0. Contributions made by authors who originally licensed their work under the MIT License and who have not yet granted explicit permission to relicense remain licensed under the MIT License.\n\nNo rights beyond those granted by the applicable original license are conveyed for such contributions.\n\n---\n\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to the Licensor for inclusion in the Work by the copyright\n owner or by an individual or Legal Entity authorized to submit on behalf\n of the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n---\n\nMIT License\n\nCopyright (c) 2024-2025 Model Context Protocol a Series of LF Projects, LLC.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n---\n\nCreative Commons Attribution 4.0 International (CC-BY-4.0)\n\nDocumentation in this project (excluding specifications) is licensed under\nCC-BY-4.0. See https://creativecommons.org/licenses/by/4.0/legalcode for\nthe full license text.\n\n\nnode_modules/eventsource/LICENSE\nThe MIT License\n\nCopyright (c) EventSource GitHub organisation\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\nnode_modules/eventsource-parser/LICENSE\nMIT License\n\nCopyright (c) 2026 Espen Hovlandsdal <espen@hovlandsdal.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\nnode_modules/jose/LICENSE.md\nThe MIT License (MIT)\n\nCopyright (c) 2018 Filip Skokan\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\nnode_modules/pkce-challenge/LICENSE\nMIT License\n\nCopyright (c) 2019 \n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\nnode_modules/zod/LICENSE\nMIT License\n\nCopyright (c) 2025 Colin McDonnell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n</script></body></html>\n";
|
|
1
|
+
// Generated by scripts/build-sample.mjs
|
|
2
|
+
export const preferencesHTML="<!doctype html><html lang=\"en\"><head><meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\"><title>Tool preferences card</title><style>:root{color-scheme:light dark;--sample-bg:#fff;--sample-ink:#292631;--sample-muted:#656071;--sample-line:#ded9e9;--sample-active:#ede5ff}*{box-sizing:border-box}.sample-page{margin:0;background:#faf9fc;color:var(--sample-ink);font:16px/1.5 system-ui,sans-serif}.sample-page>nav{display:flex;justify-content:space-between;padding:18px 22px}.sample-page a{color:inherit}.sample-page>main{max-width:470px;margin:5vh auto;padding:14px}.sample-card{background:var(--sample-bg);color:var(--sample-ink);padding:22px;border:1px solid var(--sample-line);border-radius:24px;max-width:440px;font:15px/1.45 system-ui,sans-serif;overflow-wrap:anywhere}.sample-card header{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:650}.sample-card header small{margin-left:auto;color:var(--sample-muted);white-space:nowrap}.sample-orb{display:inline-block;width:22px;height:22px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#bdffff,#a771ff 40%,#6126c0);box-shadow:0 0 15px #aa7dff88}.sample-card h1{font-size:23px;line-height:1.2;margin:22px 0 12px;letter-spacing:-.4px}.sample-card p{color:var(--sample-muted);margin:12px 0}.sample-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sample-card button,.sample-card a.sample-primary{font:inherit;color:inherit;border:1px solid var(--sample-line);border-radius:12px;padding:12px;text-align:left;cursor:pointer;min-height:44px;background:var(--sample-bg);text-decoration:none}.sample-card button[aria-pressed=true]{background:var(--sample-active);border-color:#9b74d7}.sample-card .sample-primary{display:block;background:#342540;color:white;font-weight:600;width:100%;border-color:#342540}.sample-card button:disabled{opacity:.55;cursor:wait}.sample-card .sample-note,.sample-card details,.sample-status{font-size:12px}.sample-card details{margin-top:14px}.sample-card summary{cursor:pointer;min-height:36px;align-content:center}.sample-card footer{display:flex;gap:10px;justify-content:space-between;margin-top:12px}.sample-card footer button{font-size:12px;padding:8px 10px;min-height:36px}.sample-card dl{display:grid;grid-template-columns:70px 1fr;gap:10px;font-size:13px}.sample-card dd{margin:0}.sample-card dt{color:var(--sample-muted)}.sample-card :focus-visible{outline:3px solid #9470d3;outline-offset:3px}.sample-status:empty{display:none}.sample-card .bill-amount{font-size:32px;font-weight:650;color:var(--sample-ink)}.sample-links{margin-top:20px;font-size:13px}.sample-links nav{display:grid;gap:12px;padding:16px 0}.sample-card [hidden]{display:none!important}@media(prefers-color-scheme:dark){:root{--sample-bg:#24202b;--sample-ink:#f5f0fa;--sample-muted:#c8bfd2;--sample-line:#53475f;--sample-active:#50396b}.sample-page{background:#18151d}.sample-card .sample-primary{background:#e1cffb;color:#21132e}}@media(max-width:320px){.sample-card{padding:14px;border-radius:18px}.sample-card h1{font-size:20px}.sample-options{grid-template-columns:1fr}.sample-page>main{padding:8px;margin:0 auto}.sample-card header{font-size:11px}}\r\n.sample-page{--canvas:var(--sample-bg);--ink:var(--sample-ink)}@media(max-width:320px){.sample-options{grid-template-columns:1fr 1fr}.sample-card button{font-size:12px;padding:8px}.sample-card h1{font-size:18px;margin:14px 0 8px}.sample-card p{font-size:12px;margin:8px 0}.sample-card footer{margin-top:8px}.sample-card summary{min-height:30px}.sample-page>nav{padding:10px}.sample-card header{font-size:10px;gap:6px}}\r\n\r\n/* Device preference owns card appearance; no preference keeps the light default. */\r\n:root{color-scheme:light;--sample-wordmark:#656770}\r\n.sample-card header,.sample-page>nav>a:first-child{color:var(--sample-wordmark)}\r\n@media(prefers-color-scheme:dark){\r\n :root{color-scheme:dark;--sample-wordmark:#f1f1f4}\r\n}\r\n\r\n/* One responsive card, with the same copy and larger targets in either theme. */\r\n.sample-page>nav>a,.sample-page .site-options>summary{min-height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center}.sample-card summary,.sample-links summary{min-height:44px;align-content:center}.sample-card footer button{min-height:44px}.sample-card>a:not(.sample-primary),.sample-links nav a{display:flex;align-items:center;min-height:44px}\r\n.sample-card details a{display:inline-flex;align-items:center;min-height:44px}\r\n\r\n/* Standalone host cards share the homepage palette even without the site stylesheet. */\r\n:root{--sample-bg:#fff;--sample-ink:#34353a;--sample-muted:#656770;--sample-line:#e2e2e8;--sample-active:#efeff4;--sample-wordmark:#656770;--sample-action:#33343a;--sample-action-ink:#fff}\r\n.sample-page{background:#fafafa}.sample-card .sample-primary{background:var(--sample-action);color:var(--sample-action-ink);border-color:var(--sample-action)}.sample-card button[aria-pressed=true]{border-color:var(--sample-wordmark)}\r\n.sample-orb{animation:sample-alive 3s ease-in-out infinite}@keyframes sample-alive{50%{transform:scale(1.08);box-shadow:0 0 20px #aa7dff88}}\r\n@media(prefers-color-scheme:dark){:root{--sample-bg:#292a34;--sample-ink:#e7e7ec;--sample-muted:#aaabb5;--sample-line:#34353f;--sample-active:#262730;--sample-wordmark:#f1f1f4;--sample-action:#e9e9ed;--sample-action-ink:#202126}.sample-page{background:#17181c}}\r\n@media(prefers-reduced-motion:reduce){.sample-orb{animation:none}}\r\n body{margin:0;padding:8px;background:transparent}.sample-card{border:0;max-width:440px}</style></head><body><main id=\"sample-root\"></main><script>(()=>{var b$=Object.defineProperty;var vt=(e,t)=>{for(var n in t)b$(e,n,{get:t[n],enumerable:!0})};var $$=Object.create,Nc=Object.defineProperty,z$=Object.getOwnPropertyDescriptor,w$=Object.getOwnPropertyNames,k$=Object.getPrototypeOf,x$=Object.prototype.hasOwnProperty,_v=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Sv=(e,t)=>{let n={};for(var o in e)Nc(n,o,{get:e[o],enumerable:!0});return t&&Nc(n,Symbol.toStringTag,{value:\"Module\"}),n},I$=(e,t,n,o)=>{if(t&&typeof t==\"object\"||typeof t==\"function\")for(var r=w$(t),i=0,a=r.length,s;i<a;i++)s=r[i],!x$.call(e,s)&&s!==n&&Nc(e,s,{get:(c=>t[c]).bind(null,s),enumerable:!(o=z$(t,s))||o.enumerable});return e},yv=(e,t,n)=>(n=e!=null?$$(k$(e)):{},I$(t||!e||!e.__esModule?Nc(n,\"default\",{value:e,enumerable:!0}):n,e));var R$=new Set([\"https://json-schema.org/draft/2019-09/schema\",\"http://json-schema.org/draft/2019-09/schema\"]);function bv(e){return typeof e==\"string\"&&R$.has(e.replace(/#$/,\"\"))}var m={};vt(m,{$brand:()=>Ud,$input:()=>lf,$output:()=>cf,INVALID:()=>Ie,NEVER:()=>Co,TimePrecision:()=>yf,ZodAny:()=>ng,ZodArray:()=>sg,ZodBase64:()=>Eu,ZodBase64URL:()=>Ou,ZodBigInt:()=>ei,ZodBigIntFormat:()=>ju,ZodBoolean:()=>Qn,ZodCIDRv4:()=>Pu,ZodCIDRv6:()=>Tu,ZodCUID:()=>$u,ZodCUID2:()=>zu,ZodCatch:()=>xg,ZodCodec:()=>va,ZodCompileAsyncError:()=>Xe,ZodCompileUnsupportedError:()=>B,ZodCreditCard:()=>Xh,ZodCustom:()=>_a,ZodCustomStringFormat:()=>Nr,ZodDate:()=>ma,ZodDefault:()=>yg,ZodDiscriminatedUnion:()=>lg,ZodE164:()=>Cu,ZodEmail:()=>vu,ZodEmoji:()=>yu,ZodEnum:()=>Gn,ZodError:()=>Fx,ZodExactOptional:()=>Mu,ZodFile:()=>gg,ZodFirstPartyTypeKind:()=>Mg,ZodFunction:()=>jg,ZodGUID:()=>Su,ZodIBAN:()=>Qh,ZodIPv4:()=>Iu,ZodIPv6:()=>Ru,ZodISODate:()=>Jt,ZodISODateTime:()=>Ft,ZodISODuration:()=>Bt,ZodISOTime:()=>Ht,ZodInstanceOf:()=>Dg,ZodIntersection:()=>ug,ZodIssueCode:()=>qg,ZodJWT:()=>Nu,ZodKSUID:()=>xu,ZodLazy:()=>Cg,ZodLiteral:()=>hg,ZodMAC:()=>Yh,ZodMap:()=>pg,ZodNaN:()=>Rg,ZodNanoID:()=>bu,ZodNever:()=>og,ZodNonOptional:()=>qu,ZodNull:()=>rg,ZodNullable:()=>Sg,ZodNumber:()=>Xn,ZodNumberFormat:()=>jr,ZodObject:()=>pa,ZodOptional:()=>ha,ZodPipe:()=>ga,ZodPrefault:()=>$g,ZodPreprocess:()=>Pg,ZodPromise:()=>Ng,ZodReadonly:()=>Tg,ZodRealError:()=>je,ZodRecord:()=>Kn,ZodSet:()=>fg,ZodString:()=>Wn,ZodStringFormat:()=>ee,ZodSuccess:()=>kg,ZodSymbol:()=>eg,ZodTemplateLiteral:()=>Og,ZodTransform:()=>vg,ZodTuple:()=>dg,ZodType:()=>F,ZodULID:()=>wu,ZodURL:()=>da,ZodUUID:()=>ct,ZodUndefined:()=>tg,ZodUnion:()=>fa,ZodUnknown:()=>ig,ZodVoid:()=>ag,ZodXID:()=>ku,ZodXor:()=>cg,_ZodString:()=>gu,_default:()=>bg,_function:()=>Ky,any:()=>Au,array:()=>y,base64:()=>uy,base64url:()=>dy,bigint:()=>ky,boolean:()=>C,catch:()=>Ig,check:()=>Gy,cidrv4:()=>cy,cidrv6:()=>ly,clone:()=>Y,codec:()=>Fy,coerce:()=>ba,compile:()=>pf,config:()=>ae,core:()=>$t,creditCard:()=>py,cuid:()=>ey,cuid2:()=>ty,currencyCode:()=>Sy,custom:()=>Wy,date:()=>Ey,decode:()=>Fh,decodeAsync:()=>Hh,deepPartial:()=>cb,describe:()=>Yy,discriminatedUnion:()=>Kt,e164:()=>my,email:()=>_u,emoji:()=>XS,encode:()=>Zh,encodeAsync:()=>Jh,endsWith:()=>Un,enum:()=>L,exactOptional:()=>_g,file:()=>qy,flattenError:()=>No,float32:()=>by,float64:()=>$y,formatError:()=>jo,fromJSONSchema:()=>ab,function:()=>Ky,getDiscriminatedOption:()=>jp,getErrorMap:()=>Kx,globalRegistry:()=>ge,gt:()=>at,gte:()=>qe,guid:()=>HS,hash:()=>yy,hex:()=>_y,hostname:()=>vy,httpUrl:()=>YS,iban:()=>fy,includes:()=>jn,input:()=>ub,instanceof:()=>Qy,int:()=>fu,int32:()=>zy,int64:()=>xy,intersection:()=>et,invertCodec:()=>Jy,ipv4:()=>oy,ipv6:()=>sy,iso:()=>Ke,json:()=>tb,jwt:()=>hy,keyof:()=>Oy,ksuid:()=>iy,lazy:()=>Gt,length:()=>Tr,literal:()=>$,locales:()=>ta,looseObject:()=>M,looseRecord:()=>Ay,lowercase:()=>Cn,lt:()=>ot,lte:()=>Me,mac:()=>ay,map:()=>Uy,maxLength:()=>Pr,maxSize:()=>qt,memoizer:()=>Qo,meta:()=>Xy,mime:()=>Mn,minLength:()=>bt,minSize:()=>st,multipleOf:()=>Mt,nan:()=>Zy,nanoid:()=>QS,nativeEnum:()=>My,negative:()=>iu,never:()=>Uu,nonnegative:()=>au,nonoptional:()=>wg,nonpositive:()=>ou,normalize:()=>qn,null:()=>lt,nullable:()=>ua,nullish:()=>Ly,number:()=>I,object:()=>h,optional:()=>j,output:()=>db,overwrite:()=>Qe,parse:()=>qh,parseAsync:()=>Lh,partialRecord:()=>jy,pipe:()=>hu,positive:()=>nu,prefault:()=>zg,preprocess:()=>zt,prettifyError:()=>Vd,promise:()=>By,properties:()=>Dn,property:()=>su,readonly:()=>Eg,record:()=>T,refine:()=>Ag,regex:()=>On,regexes:()=>Be,registry:()=>Ol,safeDecode:()=>Kh,safeDecodeAsync:()=>Wh,safeEncode:()=>Bh,safeEncodeAsync:()=>Gh,safeParse:()=>la,safeParseAsync:()=>Vh,set:()=>Dy,setErrorMap:()=>Bx,size:()=>Rr,slugify:()=>Fn,startsWith:()=>An,strictObject:()=>Cy,string:()=>u,stringFormat:()=>gy,stringbool:()=>eb,success:()=>Vy,superRefine:()=>Ug,symbol:()=>Ry,templateLiteral:()=>Hy,toJSONSchema:()=>Or,toLowerCase:()=>Vn,toUpperCase:()=>Zn,toZod:()=>wo,transform:()=>Du,treeifyError:()=>Ld,trim:()=>Ln,tuple:()=>mg,uint32:()=>wy,uint64:()=>Iy,ulid:()=>ry,undefined:()=>Py,union:()=>E,unknown:()=>A,uppercase:()=>Nn,url:()=>Yn,util:()=>z,uuid:()=>BS,uuidv4:()=>KS,uuidv6:()=>GS,uuidv7:()=>WS,validate:()=>Ao,validateAsync:()=>Uo,void:()=>Ty,withParser:()=>Cl,xid:()=>ny,xor:()=>Ny});var $t={};vt($t,{$ZodAny:()=>Ip,$ZodArray:()=>Op,$ZodAsyncError:()=>Ce,$ZodBase64:()=>hp,$ZodBase64URL:()=>gp,$ZodBigInt:()=>_l,$ZodBigIntFormat:()=>zp,$ZodBoolean:()=>Bo,$ZodCIDRv4:()=>pp,$ZodCIDRv6:()=>fp,$ZodCUID:()=>tp,$ZodCUID2:()=>rp,$ZodCatch:()=>Yp,$ZodCheck:()=>te,$ZodCheckBigIntFormat:()=>Rm,$ZodCheckEndsWith:()=>qm,$ZodCheckGreaterThan:()=>rl,$ZodCheckIncludes:()=>Dm,$ZodCheckLengthEquals:()=>Nm,$ZodCheckLessThan:()=>tl,$ZodCheckLowerCase:()=>Am,$ZodCheckMaxLength:()=>Om,$ZodCheckMaxSize:()=>Pm,$ZodCheckMimeType:()=>Zm,$ZodCheckMinLength:()=>Cm,$ZodCheckMinSize:()=>Tm,$ZodCheckMultipleOf:()=>xm,$ZodCheckNumberFormat:()=>Im,$ZodCheckOverwrite:()=>Fm,$ZodCheckProperties:()=>Vm,$ZodCheckProperty:()=>Lm,$ZodCheckRegex:()=>jm,$ZodCheckSizeEquals:()=>Em,$ZodCheckStartsWith:()=>Mm,$ZodCheckStringFormat:()=>In,$ZodCheckUpperCase:()=>Um,$ZodCodec:()=>Go,$ZodCreditCard:()=>_p,$ZodCustom:()=>of,$ZodCustomStringFormat:()=>bp,$ZodCyclicError:()=>kl,$ZodDate:()=>Ep,$ZodDefault:()=>Bp,$ZodDiscriminatedUnion:()=>Ap,$ZodE164:()=>vp,$ZodEmail:()=>Gm,$ZodEmoji:()=>Qm,$ZodEncodeError:()=>Dt,$ZodEnum:()=>Lp,$ZodError:()=>qd,$ZodExactOptional:()=>Jp,$ZodFile:()=>Zp,$ZodFunction:()=>rf,$ZodGUID:()=>Bm,$ZodIBAN:()=>Sp,$ZodIPv4:()=>up,$ZodIPv6:()=>dp,$ZodISODate:()=>sp,$ZodISODateTime:()=>ap,$ZodISODuration:()=>lp,$ZodISOTime:()=>cp,$ZodIntersection:()=>Up,$ZodJWT:()=>yp,$ZodKSUID:()=>op,$ZodLazy:()=>Wo,$ZodLiteral:()=>Vp,$ZodMAC:()=>mp,$ZodMap:()=>Mp,$ZodNaN:()=>Xp,$ZodNanoID:()=>ep,$ZodNever:()=>Pp,$ZodNonOptional:()=>Gp,$ZodNull:()=>xp,$ZodNullable:()=>Hp,$ZodNumber:()=>vl,$ZodNumberFormat:()=>$p,$ZodObject:()=>r_,$ZodObjectJIT:()=>Cp,$ZodOptional:()=>yl,$ZodPipe:()=>bl,$ZodPrefault:()=>Kp,$ZodPreprocess:()=>Qp,$ZodPromise:()=>nf,$ZodReadonly:()=>ef,$ZodRealError:()=>Ne,$ZodRecord:()=>Dp,$ZodRegistry:()=>El,$ZodSet:()=>qp,$ZodString:()=>zr,$ZodStringFormat:()=>X,$ZodSuccess:()=>Wp,$ZodSymbol:()=>wp,$ZodTemplateLiteral:()=>tf,$ZodTransform:()=>Fp,$ZodTuple:()=>Sl,$ZodType:()=>Z,$ZodULID:()=>np,$ZodURL:()=>Xm,$ZodUUID:()=>Km,$ZodUndefined:()=>kp,$ZodUnion:()=>Ko,$ZodUnknown:()=>Rp,$ZodVoid:()=>Tp,$ZodXID:()=>ip,$ZodXor:()=>Np,$brand:()=>Ud,$constructor:()=>v,$input:()=>lf,$output:()=>cf,Doc:()=>$r,INVALID:()=>Ie,JSONSchema:()=>ZS,JSONSchemaGenerator:()=>du,NEVER:()=>Co,TimePrecision:()=>yf,URL_BAD_FORMAT:()=>Wm,URL_UNPARSEABLE:()=>Vo,ZodCompileAsyncError:()=>Xe,ZodCompileUnsupportedError:()=>B,_any:()=>Uf,_array:()=>Ff,_base64:()=>Ql,_base64url:()=>eu,_bigint:()=>Tf,_boolean:()=>Rf,_catch:()=>Ox,_check:()=>IS,_cidrv4:()=>Yl,_cidrv6:()=>Xl,_coercedBigint:()=>Ef,_coercedBoolean:()=>Pf,_coercedDate:()=>Vf,_coercedNumber:()=>$f,_coercedString:()=>gf,_creditCard:()=>_f,_cuid:()=>Fl,_cuid2:()=>Jl,_custom:()=>Hf,_date:()=>Lf,_decode:()=>Fc,_decodeAsync:()=>Hc,_default:()=>Px,_discriminatedUnion:()=>vx,_e164:()=>tu,_email:()=>Al,_emoji:()=>Vl,_encode:()=>Zc,_encodeAsync:()=>Jc,_endsWith:()=>Un,_enum:()=>zx,_file:()=>Jf,_float32:()=>wf,_float64:()=>kf,_gt:()=>at,_gte:()=>qe,_guid:()=>Ul,_iban:()=>Sf,_includes:()=>jn,_int:()=>zf,_int32:()=>xf,_int64:()=>Of,_intersection:()=>_x,_ipv4:()=>Gl,_ipv6:()=>Wl,_isoDate:()=>ia,_isoDateTime:()=>na,_isoDuration:()=>aa,_isoTime:()=>oa,_jwt:()=>ru,_ksuid:()=>Kl,_lazy:()=>Ax,_length:()=>Tr,_literal:()=>kx,_lowercase:()=>Cn,_lt:()=>ot,_lte:()=>Me,_mac:()=>vf,_map:()=>bx,_max:()=>Me,_maxLength:()=>Pr,_maxSize:()=>qt,_mime:()=>Mn,_min:()=>qe,_minLength:()=>bt,_minSize:()=>st,_multipleOf:()=>Mt,_nan:()=>Zf,_nanoid:()=>Zl,_nativeEnum:()=>wx,_negative:()=>iu,_never:()=>Mf,_nonnegative:()=>au,_nonoptional:()=>Tx,_nonpositive:()=>ou,_normalize:()=>qn,_null:()=>Af,_nullable:()=>Rx,_number:()=>bf,_optional:()=>Ix,_overwrite:()=>Qe,_parse:()=>zn,_parseAsync:()=>wn,_pipe:()=>Cx,_positive:()=>nu,_promise:()=>Ux,_properties:()=>Dn,_property:()=>su,_readonly:()=>Nx,_record:()=>yx,_refine:()=>Bf,_regex:()=>On,_safeDecode:()=>Kc,_safeDecodeAsync:()=>Wc,_safeEncode:()=>Bc,_safeEncodeAsync:()=>Gc,_safeParse:()=>kn,_safeParseAsync:()=>xn,_set:()=>$x,_size:()=>Rr,_slugify:()=>Fn,_startsWith:()=>An,_string:()=>hf,_stringFormat:()=>Er,_stringbool:()=>Yf,_success:()=>Ex,_superRefine:()=>Kf,_symbol:()=>Nf,_templateLiteral:()=>jx,_toLowerCase:()=>Vn,_toUpperCase:()=>Zn,_transform:()=>xx,_trim:()=>Ln,_tuple:()=>Sx,_uint32:()=>If,_uint64:()=>Cf,_ulid:()=>Hl,_undefined:()=>jf,_union:()=>hx,_unknown:()=>Df,_uppercase:()=>Nn,_url:()=>ra,_uuid:()=>Dl,_uuidv4:()=>Ml,_uuidv6:()=>ql,_uuidv7:()=>Ll,_void:()=>qf,_xid:()=>Bl,_xor:()=>gx,base64Charset:()=>ml,base64urlCharset:()=>Ho,canParseURL:()=>Ym,clone:()=>Y,compile:()=>pf,compileFn:()=>Nl,config:()=>ae,createStandardJSONSchemaMethod:()=>Jn,createToJSONSchemaMethod:()=>Qf,decode:()=>Sz,decodeAsync:()=>bz,describe:()=>Gf,encode:()=>_z,encodeAsync:()=>yz,extractDefs:()=>Vt,finalize:()=>Zt,flattenError:()=>No,formatError:()=>jo,getDiscriminatedOption:()=>jp,globalConfig:()=>me,globalRegistry:()=>ge,handleUnrepresentable:()=>le,initializeContext:()=>Lt,isBackEdge:()=>Il,isRecursiveSchema:()=>xl,isValidBase64:()=>Jo,isValidBase64URL:()=>pl,isValidCIDRv6:()=>dl,isValidCreditCard:()=>fl,isValidIBAN:()=>hl,isValidIPv6:()=>Fo,isValidJWT:()=>gl,locales:()=>ta,memoizer:()=>Qo,mergeValues:()=>Rn,meta:()=>Wf,parse:()=>Lc,parseAsync:()=>Vc,parseURLObject:()=>Qv,prettifyError:()=>Vd,process:()=>Q,processSchema:()=>Q,regexes:()=>Be,registry:()=>Ol,safeDecode:()=>zz,safeDecodeAsync:()=>kz,safeEncode:()=>$z,safeEncodeAsync:()=>wz,safeParse:()=>pz,safeParseAsync:()=>fz,standardProps:()=>sl,stripTabAndNewline:()=>Zo,toDotPath:()=>Ov,toJSONSchema:()=>Or,toZod:()=>wo,treeifyError:()=>Ld,urlHostnameOk:()=>ll,urlProtocolOk:()=>ul,util:()=>z,validate:()=>Ao,validateAsync:()=>Uo,validateURL:()=>cl,version:()=>Jm,withParser:()=>Cl});var z={};vt(z,{BIGINT_FORMAT_RANGES:()=>Po,CONSTANT_CATCH:()=>Mc,Class:()=>Id,NUMBER_FORMAT_RANGES:()=>Ro,aborted:()=>xe,allowsEval:()=>Td,assert:()=>C$,assertEqual:()=>P$,assertIs:()=>E$,assertNever:()=>O$,assertNotEqual:()=>T$,assignProp:()=>he,attachSchema:()=>Dc,base64ToUint8Array:()=>xv,base64urlToUint8Array:()=>X$,cached:()=>yn,captureStackTrace:()=>Ac,cleanEnum:()=>Y$,cleanRegex:()=>St,clone:()=>Y,cloneDef:()=>A$,codePointLength:()=>yr,constantCatch:()=>jd,createTransparentProxy:()=>V$,defineLazy:()=>Rd,defineLazyInternal:()=>H,derived:()=>rz,esc:()=>ke,escapeRegex:()=>He,explicitlyAborted:()=>Cd,extend:()=>J$,finalizeIssue:()=>Oe,floatSafeRemainder:()=>ko,getElementAtPath:()=>U$,getEnumValues:()=>_n,getLengthableOrigin:()=>Eo,getParsedType:()=>L$,getSizableOrigin:()=>To,hexToUint8Array:()=>ez,hide:()=>Oo,installLazyProp:()=>az,isObject:()=>Sr,isPlainObject:()=>Je,issue:()=>$n,joinValues:()=>S,jsonStringifyReplacer:()=>Sn,members:()=>Nd,merge:()=>B$,mergeDefs:()=>Ye,normalizeParams:()=>R,nullish:()=>jc,numKeys:()=>q$,objectClone:()=>N$,omit:()=>F$,optionalKeys:()=>Od,own:()=>Ut,parsedType:()=>k,partial:()=>K$,pick:()=>Z$,prefixIssues:()=>Ee,primitiveTypes:()=>Ed,promiseAllObject:()=>D$,propertyKeyTypes:()=>Io,randomString:()=>M$,rawShape:()=>bn,required:()=>G$,safeExtend:()=>H$,shallowClone:()=>xo,slugify:()=>Pd,stringifyPrimitive:()=>w,toZod:()=>wo,uint8ArrayToBase64:()=>Iv,uint8ArrayToBase64url:()=>Q$,uint8ArrayToHex:()=>tz,unwrapMessage:()=>vn});function P$(e){return e}function T$(e){return e}function wo(){return e=>e}function E$(e){}function O$(e){throw new Error(\"Unexpected value in exhaustive check\")}function C$(e){}function _n(e){let t=Object.values(e).filter(o=>typeof o==\"number\");return Object.entries(e).filter(([o,r])=>t.indexOf(+o)===-1).map(([o,r])=>r)}function S(e,t=\"|\"){return e.map(n=>w(n)).join(t)}function Sn(e,t){return typeof t==\"bigint\"?t.toString():t}var xd=class{constructor(t){this._getter=t,this._value=void 0}get value(){let t=this._getter;return t!==void 0&&(this._value=t(),this._getter=void 0),this._value}};function yn(e){return new xd(e)}function jc(e){return e==null}function St(e){let t=e.startsWith(\"^\")?1:0,n=e.endsWith(\"$\")?e.length-1:e.length;return e.slice(t,n)}function ko(e,t){let n=e/t,o=Math.round(n),r=4*Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-o)<r?0:n-o}var $v=Symbol(\"evaluating\");function Rd(e,t,n){let o;Object.defineProperty(e,t,{get(){if(o!==$v)return o===void 0&&(o=$v,o=n()),o},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function N$(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function he(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function bn(e){let t=Object.getOwnPropertyDescriptor(e,\"shape\");return t?.get?t.get.raw:t?.value}function _t(e){return bn(e._zod.def)??e._zod.def.shape}function zv(e,t,n){Object.defineProperty(e,t,{get(){let o=n();return he(this,t,o),o},enumerable:!0,configurable:!0})}function wv(e,t,n){t in e?he(e,t,n):e[t]=n}function _r(e,t,n,o){let r=_t(t);for(let i of n){let a=Object.getOwnPropertyDescriptor(r,i);a.enumerable&&(a.get?zv(e,i,()=>{let s=t._zod.def.shape[i];return o?o(s,i):s}):wv(e,i,o?o(a.value,i):a.value))}}function j$(e,t){for(let n of Reflect.ownKeys(t)){let o=Object.getOwnPropertyDescriptor(t,n);o.enumerable&&(o.get?zv(e,n,()=>t[n]):wv(e,n,o.value))}}function Ye(...e){let t={};for(let n of e){let o=Object.getOwnPropertyDescriptors(n);Object.assign(t,o)}return Object.defineProperties({},t)}function A$(e){return Ye(e._zod.def)}function U$(e,t){return t?t.reduce((n,o)=>n?.[o],e):e}function D$(e){let t=Object.keys(e),n=t.map(o=>e[o]);return Promise.all(n).then(o=>{let r={};for(let i=0;i<t.length;i++)r[t[i]]=o[i];return r})}function M$(e=10){let t=\"abcdefghijklmnopqrstuvwxyz\",n=\"\";for(let o=0;o<e;o++)n+=t[Math.floor(Math.random()*t.length)];return n}function ke(e){return JSON.stringify(e)}function Pd(e){return e.toLowerCase().trim().replace(/[^\\w\\s-]/g,\"\").replace(/[\\s_-]+/g,\"-\").replace(/^-+|-+$/g,\"\")}var Ac=\"captureStackTrace\"in Error?Error.captureStackTrace:(...e)=>{};function Sr(e){return typeof e==\"object\"&&e!==null&&!Array.isArray(e)}var Td=yn(()=>{if(me.jitless||typeof navigator<\"u\"&&navigator?.userAgent?.includes(\"Cloudflare\"))return!1;try{let e=Function;return new e(\"\"),!0}catch{return!1}});function Je(e){if(Sr(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=\"function\")return!0;let n=t.prototype;return!(Sr(n)===!1||Object.prototype.hasOwnProperty.call(n,\"isPrototypeOf\")===!1)}function xo(e){return Je(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function q$(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}var L$=e=>{let t=typeof e;switch(t){case\"undefined\":return\"undefined\";case\"string\":return\"string\";case\"number\":return Number.isNaN(e)?\"nan\":\"number\";case\"boolean\":return\"boolean\";case\"function\":return\"function\";case\"bigint\":return\"bigint\";case\"symbol\":return\"symbol\";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\";default:throw new Error(`Unknown data type: ${t}`)}},Io=new Set([\"string\",\"number\",\"symbol\"]),Ed=new Set([\"string\",\"number\",\"bigint\",\"boolean\",\"symbol\",\"undefined\"]);function He(e){return e.replace(/[.*+?^${}()|[\\]\\\\]/g,\"\\\\$&\")}function Y(e,t,n){let o=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(o._zod.parent=e),o}function R(e){let t=e;if(!t)return{};if(typeof t==\"string\")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error(\"Cannot specify both `message` and `error` params\");t.error=t.message}return delete t.message,typeof t.error==\"string\"?{...t,error:()=>t.error}:t}function V$(e){let t;return new Proxy({},{get(n,o,r){return t??(t=e()),Reflect.get(t,o,r)},set(n,o,r,i){return t??(t=e()),Reflect.set(t,o,r,i)},has(n,o){return t??(t=e()),Reflect.has(t,o)},deleteProperty(n,o){return t??(t=e()),Reflect.deleteProperty(t,o)},ownKeys(n){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(n,o){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,o)},defineProperty(n,o,r){return t??(t=e()),Reflect.defineProperty(t,o,r)}})}function w(e){return typeof e==\"bigint\"?e.toString()+\"n\":typeof e==\"string\"?`\"${e}\"`:`${e}`}function Od(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout===\"optional\")}var Ro={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Po={int64:[BigInt(\"-9223372036854775808\"),BigInt(\"9223372036854775807\")],uint64:[BigInt(0),BigInt(\"18446744073709551615\")]};function Z$(e,t){let n=e._zod.def,o=n.checks;if(o&&o.length>0)throw new Error(\".pick() cannot be used on object schemas containing refinements\");let i={};return _r(i,e,Uc(e,t)),Y(e,Ye(n,{shape:i,checks:[]}))}function Uc(e,t){let n=_t(e),o=[];for(let r of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(n,r)?.enumerable)throw new Error(`Unrecognized key: \"${String(r)}\"`);t[r]&&o.push(r)}return o}function F$(e,t){let n=e._zod.def,o=n.checks;if(o&&o.length>0)throw new Error(\".omit() cannot be used on object schemas containing refinements\");let i=new Set(Uc(e,t)),a={};return _r(a,e,Reflect.ownKeys(_t(e)).filter(s=>!i.has(s))),Y(e,Ye(n,{shape:a,checks:[]}))}function J$(e,t){if(!Je(t))throw new Error(\"Invalid input to extend: expected a plain object\");let n=e._zod.def.checks;if(n&&n.length>0){let r=_t(e);for(let i of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(r,i)!==void 0)throw new Error(\"Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.\")}return Y(e,Ye(e._zod.def,{shape:kv(e,t)}))}function kv(e,t){let n={};return _r(n,e,Reflect.ownKeys(_t(e))),j$(n,t),n}function H$(e,t){if(!Je(t))throw new Error(\"Invalid input to safeExtend: expected a plain object\");return Y(e,Ye(e._zod.def,{shape:kv(e,t)}))}function B$(e,t){if(!t?._zod?.def)throw new Error(\"Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.\");if(e._zod.def.checks?.length)throw new Error(\".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.\");let n={};_r(n,e,Reflect.ownKeys(_t(e))),_r(n,t,Reflect.ownKeys(_t(t)));let o=Ye(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return Y(e,o)}function K$(e,t,n,o=\"partial\"){let i=t._zod.def.checks;if(i&&i.length>0)throw new Error(`.${o}() cannot be used on object schemas containing refinements`);let s=n?new Set(Uc(t,n)):void 0,c={};return _r(c,t,Reflect.ownKeys(_t(t)),e&&((l,d)=>s&&!s.has(d)?l:new e({type:\"optional\",innerType:l}))),Y(t,Ye(t._zod.def,{shape:c,checks:[]}))}function G$(e,t,n){let o=n?new Set(Uc(t,n)):void 0,r={};return _r(r,t,Reflect.ownKeys(_t(t)),(i,a)=>o&&!o.has(a)?i:new e({type:\"nonoptional\",innerType:i})),Y(t,Ye(t._zod.def,{shape:r}))}function xe(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function Cd(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function Ee(e,t){return t.map(n=>{var o;return(o=n).path??(o.path=[]),n.path.unshift(e),n})}function vn(e){return typeof e==\"string\"?e:e?.message}function Dc(e,t,n){var o;for(let r=t;r<e.length;r++)(o=e[r]).schema??(o.schema=n)}function Oe(e,t,n){var o;let r=e.inst?._zod?.traits;r?.has(\"$ZodType\")&&(r.has(\"$ZodCheck\")?(o=e).schema??(o.schema=e.inst):e.schema=e.inst);let i=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,a=e.message?e.message:vn(e.inst?._zod.def?.error?.(e))??vn(i?.(e))??vn(t?.error?.(e))??vn(n.customError?.(e))??vn(n.localeError?.(e))??\"Invalid input\",s={};for(let c of Object.keys(e))c===\"inst\"||c===\"schema\"||c===\"continue\"||c===\"input\"||c===\"__proto__\"||(s[c]=e[c]);return s.path??(s.path=[]),s.message=a,t?.reportInput&&(s.input=e.input),s}function To(e){return e instanceof Set?\"set\":e instanceof Map?\"map\":e instanceof File?\"file\":\"unknown\"}var W$=/[\\uD800-\\uDBFF]/;function yr(e){let t=e.length;if(!W$.test(e))return t;let n=t;for(let o=0;o<t-1;o++)(e.charCodeAt(o)&64512)===55296&&(e.charCodeAt(o+1)&64512)===56320&&(n--,o++);return n}function Eo(e){return Array.isArray(e)?\"array\":typeof e==\"string\"?\"string\":\"unknown\"}function k(e){let t=typeof e;switch(t){case\"number\":return Number.isNaN(e)?\"nan\":\"number\";case\"object\":{if(e===null)return\"null\";if(Array.isArray(e))return\"array\";let n=e;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&\"constructor\"in n&&n.constructor)return n.constructor.name}}return t}function $n(...e){let[t,n,o]=e;return typeof t==\"string\"?{message:t,code:\"custom\",input:n,inst:o}:{...t}}function Y$(e){return Object.entries(e).filter(([t,n])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function xv(e){let t=atob(e),n=new Uint8Array(t.length);for(let o=0;o<t.length;o++)n[o]=t.charCodeAt(o);return n}function Iv(e){let t=\"\";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function X$(e){let t=e.replace(/-/g,\"+\").replace(/_/g,\"/\"),n=\"=\".repeat((4-t.length%4)%4);return xv(t+n)}function Q$(e){return Iv(e).replace(/\\+/g,\"-\").replace(/\\//g,\"_\").replace(/=/g,\"\")}function ez(e){let t=e.replace(/^0x/,\"\");if(t.length%2!==0)throw new Error(\"Invalid hex string length\");let n=new Uint8Array(t.length/2);for(let o=0;o<t.length;o+=2)n[o/2]=Number.parseInt(t.slice(o,o+2),16);return n}function tz(e){return Array.from(e).map(t=>t.toString(16).padStart(2,\"0\")).join(\"\")}var Id=class{constructor(...t){}};function Nd(e,t){for(let n in t){let o=Object.getOwnPropertyDescriptor(t,n);o.get?Object.defineProperty(e,n,{...o,enumerable:!1}):nz(e,n,o.value)}}function Ut(e,t,n,o=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:o,value:n}),n}function Oo(e,t,n){return Ut(e,t,n,!1)}function rz(e,t){for(let n in e){let o=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return Ut(this,n,o(this))},set(r){Ut(this,n,r)}})}return t}function nz(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:Ut(this,t,n.bind(this))},set(o){Ut(this,t,o)}})}function iz(e,t){let n=Object.getPrototypeOf(e);return t in n?void 0:n}var kd,At=!1,oz={configurable:!0,get(){At=!0}};function H(e,t,n){let o=Object.getPrototypeOf(e._zod);if(t in o&&kd!==e._zod){kd=void 0;return}kd=e._zod,Object.defineProperty(o,t,{configurable:!0,get(){Object.defineProperty(this,t,oz);let r=At;At=!1;try{let i=n(this);return At?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:i}),At=At||r,i}catch(i){throw delete this[t],At=At||r,i}},set(r){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:r})}})}function az(e,t,n,o){let r=iz(e,t);r&&Object.defineProperty(r,t,{configurable:!0,get(){let i={configurable:!0,writable:!0,enumerable:o,value:void 0};return Object.defineProperty(this,t,i),i.value=n(this),Object.defineProperty(this,t,i),i.value},set(i){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:o,value:i})}})}var Mc=\"~constantCatch\";function jd(e){let t=()=>e;return t[Mc]=!0,t}var Rv,Co=Object.freeze({status:\"aborted\"}),Ad={value:void 0,enumerable:!1},Pv=\"captureStackTrace\"in Error?Error:null;function sz(e){let t=Pv;if(t){let n=t.stackTraceLimit;if(typeof n==\"number\"){try{t.stackTraceLimit=0}catch{return Pv=null,new e}try{return new e}finally{t.stackTraceLimit=n}}}return new e}function v(e,t,n,o){let r={};function i(f){this.def=f,this.constr=p,this.traits=new Set}i.prototype=r;let a=n,s=a&&new WeakSet;function c(f,g){if(f._zod){if(f._zod.traits.has(e))return}else{Ad.value=new i(g);try{Object.defineProperty(f,\"_zod\",Ad)}finally{Ad.value=void 0}}if(f._zod.traits.add(e),t(f,g),s){let b=Object.getPrototypeOf(f),x=f._zod.constr.prototype,O=b;for(;O&&O!==x;)O=Object.getPrototypeOf(O);let P=O??b;s.has(P)||(s.add(P),Nd(P,a))}let _=p.prototype;for(let b in _)Object.prototype.hasOwnProperty.call(_,b)&&(b in f||(f[b]=_[b].bind(f)))}let l=o?.Parent??Object;class d extends l{}Object.defineProperty(d,\"name\",{value:e});function p(f){let g=o?.Parent?sz(d):this;c(g,f);let _=g._zod.deferred;if(_){for(let x of _)x();g._zod.deferred=void 0}let b=globalThis.__zod_globalConfig?.postProcessor;return b&&b(g),g}return Object.defineProperty(p,\"init\",{value:c}),Object.defineProperty(p,Symbol.hasInstance,{value:f=>o?.Parent&&f instanceof o.Parent?!0:f?._zod?.traits?.has(e)}),Object.defineProperty(p,\"name\",{value:e}),p}var Ud=Symbol(\"zod_brand\"),Ce=class extends Error{constructor(){super(\"Encountered Promise during synchronous parse. Use .parseAsync() instead.\")}},Dt=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name=\"ZodEncodeError\"}};(Rv=globalThis).__zod_globalConfig??(Rv.__zod_globalConfig={});var me=globalThis.__zod_globalConfig;function ae(e){return e&&Object.assign(me,e),me}function cz(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,Sn,2)),e.message}function lz(e){this._zod.message=e}var uz={get:cz,set:lz,enumerable:!0,configurable:!0},Md={value:void 0,enumerable:!1},Tv=new WeakSet([Object.prototype,Error.prototype]),Ev=(e,t)=>{e.name=\"$ZodError\",Md.value=t,Object.defineProperty(e,\"issues\",Md),Md.value=void 0,Object.defineProperty(e,\"message\",uz);let n=Object.getPrototypeOf(e);Tv.has(n)||(Tv.add(n),Object.defineProperty(n,\"toString\",{configurable:!0,enumerable:!1,get(){let o=()=>this.message;return Object.defineProperty(this,\"toString\",{value:o,configurable:!0,writable:!0}),o},set(o){Object.defineProperty(this,\"toString\",{value:o,configurable:!0,writable:!0})}}))},qd=v(\"$ZodError\",Ev),Ne=v(\"$ZodError\",Ev,void 0,{Parent:Error});function dz(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)||(t===\"__proto__\"?Object.defineProperty(e,t,{value:n(),writable:!0,enumerable:!0,configurable:!0}):e[t]=n()),e[t]}function No(e,t=n=>n.message){let n={},o=[];for(let r of e.issues)r.path.length>0?dz(n,r.path[0],()=>[]).push(t(r)):o.push(t(r));return{formErrors:o,fieldErrors:n}}function jo(e,t=n=>n.message){let n={_errors:[]},o=(r,i=[])=>{for(let a of r.issues)if(a.code===\"invalid_union\"&&a.errors.length)a.errors.map(s=>o({issues:s},[...i,...a.path]));else if(a.code===\"invalid_key\")o({issues:a.issues},[...i,...a.path]);else if(a.code===\"invalid_element\")o({issues:a.issues},[...i,...a.path]);else{let s=[...i,...a.path];if(s.length===0)n._errors.push(t(a));else{let c=n,l=0;for(;l<s.length;){let d=s[l],p=l===s.length-1;if(d===\"_errors\"){p&&c._errors.push(t(a)),l++;continue}Object.prototype.hasOwnProperty.call(c,d)||Object.defineProperty(c,d,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let f=c[d];p&&f._errors.push(t(a)),c=f,l++}}}};return o(e),n}function Ld(e,t=n=>n.message){let n={errors:[]},o=(r,i=[])=>{var a;for(let s of r.issues)if(s.code===\"invalid_union\"&&s.errors.length)s.errors.map(c=>o({issues:c},[...i,...s.path]));else if(s.code===\"invalid_key\")o({issues:s.issues},[...i,...s.path]);else if(s.code===\"invalid_element\")o({issues:s.issues},[...i,...s.path]);else{let c=[...i,...s.path];if(c.length===0){n.errors.push(t(s));continue}let l=n,d=0;for(;d<c.length;){let p=c[d],f=d===c.length-1;typeof p==\"string\"?(l.properties??(l.properties={}),Object.prototype.hasOwnProperty.call(l.properties,p)||Object.defineProperty(l.properties,p,{value:{errors:[]},enumerable:!0,writable:!0,configurable:!0}),l=l.properties[p]):(l.items??(l.items=[]),(a=l.items)[p]??(a[p]={errors:[]}),l=l.items[p]),f&&l.errors.push(t(s)),d++}}};return o(e),n}function Ov(e){let t=[],n=e.map(o=>typeof o==\"object\"?o.key:o);for(let o of n)typeof o==\"number\"?t.push(`[${o}]`):typeof o==\"symbol\"?t.push(`[${JSON.stringify(String(o))}]`):/[^\\w$]/.test(o)?t.push(`[${JSON.stringify(o)}]`):(t.length&&t.push(\".\"),t.push(o));return t.join(\"\")}function Vd(e){let t=[],n=[...e.issues].sort((o,r)=>(o.path??[]).length-(r.path??[]).length);for(let o of n)t.push(`\\u2716 ${o.message}`),o.path?.length&&t.push(` \\u2192 at ${Ov(o.path)}`);return t.join(`\n`)}function qc(e,t){return{callee:t?.callee??e,Err:t?.Err}}var zn=e=>{let t=(n,o,r,i)=>{let a=r?{...r,async:!1}:{async:!1},s=n._zod.run({value:o,issues:[]},a);if(s instanceof Promise)throw new Ce;if(s.issues.length){let c=new(i?.Err??e)(s.issues.map(l=>Oe(l,a,ae())));throw Ac(c,i?.callee??t),c}return s.value};return t},Lc=zn(Ne),wn=e=>{let t=async(n,o,r,i)=>{let a=r?{...r,async:!0}:{async:!0},s=n._zod.run({value:o,issues:[]},a);if(s instanceof Promise&&(s=await s),s.issues.length){let c=new(i?.Err??e)(s.issues.map(l=>Oe(l,a,ae())));throw Ac(c,i?.callee??t),c}return s.value};return t},Vc=wn(Ne),kn=e=>(t,n,o)=>{let r=o?{...o,async:!1}:{async:!1},i=t._zod.run({value:n,issues:[]},r);if(i instanceof Promise)throw new Ce;return i.issues.length?Cv(e,i.issues,r):{success:!0,data:i.value}},pz=kn(Ne);function Cv(e,t,n){let o;return{success:!1,get error(){return o||(o=new e(t.map(r=>Oe(r,n,ae()))),t=void 0,n=void 0),o},set error(r){o=r,t=void 0,n=void 0}}}var xn=e=>async(t,n,o)=>{let r=o?{...o,async:!0}:{async:!0},i=t._zod.run({value:n,issues:[]},r);return i instanceof Promise&&(i=await i),i.issues.length?Cv(e,i.issues,r):{success:!0,data:i.value}},fz=xn(Ne),hz=Symbol.for(\"zod.compile.invalid\"),gz=Symbol.for(\"zod.compile.fallback\"),Ao=((e,t,n)=>{let o=e._zod.bag.validator;if(o!==void 0){if(o(t)!==hz)return!0;if(o.definite===!0&&n===void 0)return!1}return vz(e,t,n)});function vz(e,t,n){let o=n?{...n,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},r=e._zod.bag.fallbackRun,i;if(r?(o[gz]=!0,i=r({value:t,issues:[]},o)):i=e._zod.run({value:t,issues:[]},o),i instanceof Promise)throw new Ce;return i.issues.length===0}var Uo=async(e,t,n)=>{let o=n?{...n,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},r=e._zod.run({value:t,issues:[]},o);return r instanceof Promise&&(r=await r),r.issues.length===0},Zc=e=>{let t=zn(e),n=(o,r,i,a)=>{let s=i?{...i,direction:\"backward\"}:{direction:\"backward\"};return t(o,r,s,qc(n,a))};return n},_z=Zc(Ne),Fc=e=>{let t=zn(e),n=(o,r,i,a)=>t(o,r,i,qc(n,a));return n},Sz=Fc(Ne),Jc=e=>{let t=wn(e),n=async(o,r,i,a)=>{let s=i?{...i,direction:\"backward\"}:{direction:\"backward\"};return await t(o,r,s,qc(n,a))};return n},yz=Jc(Ne),Hc=e=>{let t=wn(e),n=async(o,r,i,a)=>await t(o,r,i,qc(n,a));return n},bz=Hc(Ne),Bc=e=>(t,n,o)=>{let r=o?{...o,direction:\"backward\"}:{direction:\"backward\"};return kn(e)(t,n,r)},$z=Bc(Ne),Kc=e=>(t,n,o)=>kn(e)(t,n,o),zz=Kc(Ne),Gc=e=>async(t,n,o)=>{let r=o?{...o,direction:\"backward\"}:{direction:\"backward\"};return xn(e)(t,n,r)},wz=Gc(Ne),Wc=e=>async(t,n,o)=>xn(e)(t,n,o),kz=Wc(Ne);var Be={};vt(Be,{anyString:()=>hm,base64:()=>am,base64url:()=>sm,bigint:()=>vm,boolean:()=>_m,browserEmail:()=>Cz,cidrv4:()=>im,cidrv6:()=>om,creditCard:()=>Yc,cuid:()=>Fd,cuid2:()=>Jd,currencyCode:()=>dm,date:()=>mm,datetime:()=>fm,domain:()=>lm,duration:()=>Yd,e164:()=>um,email:()=>Qd,emoji:()=>em,extendedDuration:()=>xz,guid:()=>Xd,hex:()=>zm,hostname:()=>cm,html5Email:()=>Tz,httpProtocol:()=>Do,iban:()=>Xc,idnEmail:()=>Oz,integer:()=>Mo,ipv4:()=>tm,ipv6:()=>rm,ksuid:()=>Kd,lowercase:()=>bm,mac:()=>nm,md5_base64:()=>Uz,md5_base64url:()=>Dz,md5_hex:()=>Az,nanoid:()=>Gd,nanoidOfLength:()=>Wd,null:()=>Sm,number:()=>yt,rfc5322Email:()=>Ez,sha1_base64:()=>qz,sha1_base64url:()=>Lz,sha1_hex:()=>Mz,sha256_base64:()=>Zz,sha256_base64url:()=>Fz,sha256_hex:()=>Vz,sha384_base64:()=>Hz,sha384_base64url:()=>Bz,sha384_hex:()=>Jz,sha512_base64:()=>Gz,sha512_base64url:()=>Wz,sha512_hex:()=>Kz,string:()=>gm,time:()=>pm,ulid:()=>Hd,undefined:()=>ym,unicodeEmail:()=>Nv,uppercase:()=>$m,uuid:()=>br,uuid4:()=>Iz,uuid6:()=>Rz,uuid7:()=>Pz,xid:()=>Bd});var Fd=/^[cC][0-9a-z]{6,}$/,Jd=/^[0-9a-z]+$/,Hd=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,Bd=/^[0-9a-vA-V]{20}$/,Kd=/^[A-Za-z0-9]{27}$/,Gd=/^[a-zA-Z0-9_-]{21}$/;function Wd(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var Yd=/^P(?:(\\d+W)|(?!.*W)(?=\\d|T\\d)(\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+([.,]\\d+)?S)?)?)$/,xz=/^[-+]?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)?)??$/,Xd=/^([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})$/,br=e=>e?new 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)$/,Iz=br(4),Rz=br(6),Pz=br(7),Qd=/^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$/,Tz=/^[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])?)*$/,Ez=/^(([^<>()\\[\\]\\\\.,;:\\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,}))$/,Nv=/^[^\\s@\"]{1,64}@[^\\s@]{1,255}$/u,Oz=Nv,Cz=/^[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])?)*$/,Nz=\"^(?=[\\\\s\\\\S]*[\\\\p{Extended_Pictographic}\\\\p{Regional_Indicator}\\\\u20E3])[\\\\p{Extended_Pictographic}\\\\p{Emoji_Component}]+$\";function em(){return new RegExp(Nz,\"u\")}var tm=/^(?:(?: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])$/,rm=/^(([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}|:))$/,nm=e=>{let t=He(e??\":\");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},im=/^((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])$/,om=/^(([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}|:))\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,am=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,sm=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,cm=/^(?=.{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])?)*\\.?$/,lm=/^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,63}$/,Do=/^https?$/,um=/^\\+[1-9]\\d{6,14}$/,Yc=/^\\d(?:[ -]?\\d){11,18}$/,dm=/^(?:AED|AFN|ALL|AMD|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLE|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VED|VES|VND|VUV|WST|XAD|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XCG|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWG)$/,Xc=/^[A-Z]{2}(?!00|01|99)\\d{2}[A-Z0-9]{11,30}$/,jv=\"(?:(?:\\\\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])))\";function jz(e){return new RegExp(`^${e}$`)}var mm=jz(jv);function Zd(e){let t=\"(?:[01]\\\\d|2[0-3]):[0-5]\\\\d\";return typeof e.precision==\"number\"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\\\d`:`${t}:[0-5]\\\\d\\\\.\\\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\\\d(?:\\\\.\\\\d+)?`:`${t}(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?`}function pm(e){return new RegExp(`^${Zd(e)}$`)}function fm(e){let t=[\"Z\"];e.offset&&t.push(\"([+-](?:[01]\\\\d|2[0-3]):[0-5]\\\\d)\");let n=`${Zd({precision:e.precision,seconds:!0})}(?:${t.join(\"|\")})`,o=e.local?`${n}|${Zd({precision:e.precision})}`:n;return new RegExp(`^${jv}T(?:${o})$`)}var hm=/^[\\s\\S]{0,}$/,gm=e=>{let t=e?`[\\\\s\\\\S]{${e?.minimum??0},${e?.maximum??\"\"}}`:\"[\\\\s\\\\S]*\";return new RegExp(`^${t}$`)},vm=/^-?\\d+n?$/,Mo=/^-?\\d+$/,yt=/^-?\\d+(?:\\.\\d+)?$/,_m=/^(?:true|false)$/i,Sm=/^null$/i;var ym=/^undefined$/i;var bm=/^[^A-Z]*$/,$m=/^[^a-z]*$/,zm=/^[0-9a-fA-F]*$/;function qo(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function Lo(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var Az=/^[0-9a-fA-F]{32}$/,Uz=qo(22,\"==\"),Dz=Lo(22),Mz=/^[0-9a-fA-F]{40}$/,qz=qo(27,\"=\"),Lz=Lo(27),Vz=/^[0-9a-fA-F]{64}$/,Zz=qo(43,\"=\"),Fz=Lo(43),Jz=/^[0-9a-fA-F]{96}$/,Hz=qo(64,\"\"),Bz=Lo(64),Kz=/^[0-9a-fA-F]{128}$/,Gz=qo(86,\"==\"),Wz=Lo(86);var te=v(\"$ZodCheck\",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),wm=e=>{let t=e.value;return!jc(t)&&t.size!==void 0},km=e=>{let t=e.value;return!jc(t)&&t.length!==void 0},Qc={number:\"number\",bigint:\"bigint\",object:\"date\"},tl=v(\"$ZodCheckLessThan\",(e,t)=>{te.init(e,t);let n=Qc[typeof t.value];e._zod.check=o=>{(t.inclusive?o.value<=t.value:o.value<t.value)||o.issues.push({origin:Qc[typeof o.value]??n,code:\"too_big\",maximum:typeof t.value==\"object\"?t.value.getTime():t.value,input:o.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),rl=v(\"$ZodCheckGreaterThan\",(e,t)=>{te.init(e,t);let n=Qc[typeof t.value];e._zod.check=o=>{(t.inclusive?o.value>=t.value:o.value>t.value)||o.issues.push({origin:Qc[typeof o.value]??n,code:\"too_small\",minimum:typeof t.value==\"object\"?t.value.getTime():t.value,input:o.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),xm=v(\"$ZodCheckMultipleOf\",(e,t)=>{te.init(e,t),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error(\"Cannot mix number and bigint in multiple_of check.\");(typeof n.value==\"bigint\"?t.value!==BigInt(0)&&n.value%t.value===BigInt(0):ko(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:\"not_multiple_of\",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),Im=v(\"$ZodCheckNumberFormat\",(e,t)=>{te.init(e,t),t.format=t.format||\"float64\";let n=t.format?.includes(\"int\"),o=n?\"int\":\"number\",[r,i]=Ro[t.format];e._zod.check=a=>{let s=a.value;if(n){if(!Number.isInteger(s)){a.issues.push({expected:o,format:t.format,code:\"invalid_type\",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:\"too_big\",maximum:Number.MAX_SAFE_INTEGER,note:\"Integers must be within the safe integer range.\",inst:e,origin:o,inclusive:!0,continue:!t.abort}):a.issues.push({input:s,code:\"too_small\",minimum:Number.MIN_SAFE_INTEGER,note:\"Integers must be within the safe integer range.\",inst:e,origin:o,inclusive:!0,continue:!t.abort});return}}s<r&&a.issues.push({origin:\"number\",input:s,code:\"too_small\",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),s>i&&a.issues.push({origin:\"number\",input:s,code:\"too_big\",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),Rm=v(\"$ZodCheckBigIntFormat\",(e,t)=>{te.init(e,t);let[n,o]=Po[t.format];e._zod.check=r=>{let i=r.value;i<n&&r.issues.push({origin:\"bigint\",input:i,code:\"too_small\",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),i>o&&r.issues.push({origin:\"bigint\",input:i,code:\"too_big\",maximum:o,inclusive:!0,inst:e,continue:!t.abort})}}),Pm=v(\"$ZodCheckMaxSize\",(e,t)=>{var n;te.init(e,t),(n=e._zod.def).when??(n.when=wm),e._zod.check=o=>{let r=o.value;r.size<=t.maximum||o.issues.push({origin:To(r),code:\"too_big\",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Tm=v(\"$ZodCheckMinSize\",(e,t)=>{var n;te.init(e,t),(n=e._zod.def).when??(n.when=wm),e._zod.check=o=>{let r=o.value;r.size>=t.minimum||o.issues.push({origin:To(r),code:\"too_small\",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Em=v(\"$ZodCheckSizeEquals\",(e,t)=>{var n;te.init(e,t),(n=e._zod.def).when??(n.when=wm),e._zod.check=o=>{let r=o.value,i=r.size;if(i===t.size)return;let a=i>t.size;o.issues.push({origin:To(r),...a?{code:\"too_big\",maximum:t.size}:{code:\"too_small\",minimum:t.size},inclusive:!0,exact:!0,input:o.value,inst:e,continue:!t.abort})}}),Om=v(\"$ZodCheckMaxLength\",(e,t)=>{var n;te.init(e,t),(n=e._zod.def).when??(n.when=km),e._zod.check=o=>{let r=o.value,i=r.length;if((typeof r==\"string\"&&i>t.maximum?yr(r):i)<=t.maximum)return;let s=Eo(r);o.issues.push({origin:s,code:\"too_big\",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Cm=v(\"$ZodCheckMinLength\",(e,t)=>{var n;te.init(e,t),(n=e._zod.def).when??(n.when=km),e._zod.check=o=>{let r=o.value,i=r.length;if((typeof r==\"string\"&&i>=t.minimum&&i<t.minimum*2?yr(r):i)>=t.minimum)return;let s=Eo(r);o.issues.push({origin:s,code:\"too_small\",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Nm=v(\"$ZodCheckLengthEquals\",(e,t)=>{var n;te.init(e,t),(n=e._zod.def).when??(n.when=km),e._zod.check=o=>{let r=o.value,i=r.length,a=typeof r==\"string\"&&i>=t.length&&i<=t.length*2?yr(r):i;if(a===t.length)return;let s=Eo(r),c=a>t.length;o.issues.push({origin:s,...c?{code:\"too_big\",maximum:t.length}:{code:\"too_small\",minimum:t.length},inclusive:!0,exact:!0,input:o.value,inst:e,continue:!t.abort})}}),In=v(\"$ZodCheckStringFormat\",(e,t)=>{var n,o;te.init(e,t),t.pattern?(n=e._zod).check??(n.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:\"string\",code:\"invalid_format\",format:t.format,input:r.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(o=e._zod).check??(o.check=()=>{})}),jm=v(\"$ZodCheckRegex\",(e,t)=>{In.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:\"string\",code:\"invalid_format\",format:\"regex\",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Am=v(\"$ZodCheckLowerCase\",(e,t)=>{t.pattern??(t.pattern=bm),In.init(e,t)}),Um=v(\"$ZodCheckUpperCase\",(e,t)=>{t.pattern??(t.pattern=$m),In.init(e,t)}),Dm=v(\"$ZodCheckIncludes\",(e,t)=>{te.init(e,t);let n=He(t.includes),o=new RegExp(typeof t.position==\"number\"?`^.{${t.position},}${n}`:n);t.pattern=o,e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:\"string\",code:\"invalid_format\",format:\"includes\",includes:t.includes,input:r.value,inst:e,continue:!t.abort})}}),Mm=v(\"$ZodCheckStartsWith\",(e,t)=>{te.init(e,t);let n=new RegExp(`^${He(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.check=o=>{o.value.startsWith(t.prefix)||o.issues.push({origin:\"string\",code:\"invalid_format\",format:\"starts_with\",prefix:t.prefix,input:o.value,inst:e,continue:!t.abort})}}),qm=v(\"$ZodCheckEndsWith\",(e,t)=>{te.init(e,t);let n=new RegExp(`.*${He(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.check=o=>{o.value.endsWith(t.suffix)||o.issues.push({origin:\"string\",code:\"invalid_format\",format:\"ends_with\",suffix:t.suffix,input:o.value,inst:e,continue:!t.abort})}});function el(e,t,n){e.issues.length&&t.issues.push(...Ee(n,e.issues))}var Lm=v(\"$ZodCheckProperty\",(e,t)=>{te.init(e,t),e._zod.check=n=>{let o=t.schema._zod.run({value:n.value[t.property],issues:[]},{});if(o instanceof Promise)return o.then(r=>el(r,n,t.property));el(o,n,t.property)}}),Vm=v(\"$ZodCheckProperties\",(e,t)=>{te.init(e,t),Oo(e,Symbol.iterator,function*(){yield e});let n;e._zod.check=o=>{if(o.value==null){o.issues.push({expected:\"object\",code:\"invalid_type\",input:o.value,inst:e});return}n??(n=Reflect.ownKeys(t.shape).map(a=>[a,t.shape[a]]));let r=o.value,i;for(let[a,s]of n){let c=s._zod.run({value:r[a],issues:[]},{});c instanceof Promise?(i??(i=[]),i.push(c.then(l=>el(l,o,a)))):el(c,o,a)}if(i)return Promise.all(i).then(()=>{})}}),Zm=v(\"$ZodCheckMimeType\",(e,t)=>{te.init(e,t);let n=new Set(t.mime);e._zod.check=o=>{n.has(o.value.type)||o.issues.push({code:\"invalid_value\",values:t.mime,input:o.value.type,inst:e,continue:!t.abort})}}),Fm=v(\"$ZodCheckOverwrite\",(e,t)=>{te.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});var $r=class{constructor(t=[],n={}){this.content=[],this.indent=0,this.args=t,this.closed=n}indented(t){this.indent+=1;try{t(this)}finally{this.indent-=1}}write(t){if(typeof t==\"function\"){t(this,{execution:\"sync\"}),t(this,{execution:\"async\"});return}let o=t.split(`\n`).filter(a=>a),r=Math.min(...o.map(a=>a.length-a.trimStart().length)),i=o.map(a=>a.slice(r)).map(a=>\" \".repeat(this.indent*2)+a);for(let a of i)this.content.push(a)}compile(){let t=Function,n=this?.content??[\"\"];return new t(...Object.keys(this.closed),`return function (${this.args.join(\", \")}) {\n${n.join(`\n`)}\n};`)(...Object.values(this.closed))}};var Jm={major:4,minor:6,patch:5};var Z=v(\"$ZodType\",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Jm;let o=e._zod.def.checks,r=e._zod.traits.has(\"$ZodCheck\")?[e,...o??[]]:o?.length?[...o]:[];for(let i of r)for(let a of i._zod.onattach)a(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let i=(s,c,l)=>{if(s.memo)return s;let d=xe(s),p;for(let f of c){if(f._zod.def.when){if(Cd(s)||!f._zod.def.when(s))continue}else if(d)continue;let g=s.issues.length,_=f._zod.check(s);if(_ instanceof Promise&&l?.async===!1)throw new Ce;if(p||_ instanceof Promise)p=(p??Promise.resolve()).then(async()=>{await _,s.issues.length!==g&&(Dc(s.issues,g,e),d||(d=xe(s,g)))});else{if(s.issues.length===g)continue;Dc(s.issues,g,e),d||(d=xe(s,g))}}return p?p.then(()=>s):s},a=(s,c,l)=>{if(xe(s))return s.aborted=!0,s;let d=i(c,r,l);if(d instanceof Promise){if(l.async===!1)throw new Ce;return d.then(p=>e._zod.parse(p,l))}return e._zod.parse(d,l)};e._zod.run=(s,c)=>{if(c.skipChecks)return e._zod.parse(s,c);if(c.direction===\"backward\"){let d=e._zod.parse({value:s.value,issues:[]},{...c,skipChecks:!0});return d instanceof Promise?d.then(p=>a(p,s,c)):a(d,s,c)}let l=e._zod.parse(s,c);if(l instanceof Promise){if(c.async===!1)throw new Ce;return l.then(d=>i(d,r,c))}return i(l,r,c)}}},{get\"~standard\"(){return Oo(this,\"~standard\",sl(this))},set\"~standard\"(e){Ut(this,\"~standard\",e)}}),Xv=(e,t)=>e.issues.length?{issues:e.issues.map(n=>Oe(n,t,ae()))}:{value:e.value};async function Yz(e,t){let n={async:!0};return Xv(await e._zod.run({value:t,issues:[]},n),n)}function sl(e){return{validate:t=>{let n={async:!1};try{let o=e._zod.run({value:t,issues:[]},n);if(!(o instanceof Promise))return Xv(o,n)}catch{}return Yz(e,t)},vendor:\"zod\",version:1}}var zr=v(\"$ZodString\",(e,t)=>{Z.init(e,t),e._zod.pattern=t.pattern??hm,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==\"string\"||n.issues.push({expected:\"string\",code:\"invalid_type\",input:n.value,inst:e}),n}}),X=v(\"$ZodStringFormat\",(e,t)=>{In.init(e,t),zr.init(e,t)}),Bm=v(\"$ZodGUID\",(e,t)=>{t.pattern??(t.pattern=Xd),X.init(e,t)}),Km=v(\"$ZodUUID\",(e,t)=>{if(t.version){let o={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(o===void 0)throw new Error(`Invalid UUID version: \"${t.version}\"`);t.pattern??(t.pattern=br(o))}else t.pattern??(t.pattern=br());X.init(e,t)}),Gm=v(\"$ZodEmail\",(e,t)=>{t.pattern??(t.pattern=Qd),X.init(e,t)}),Wm=1,Vo=2;function Ym(e){try{return typeof URL<\"u\"&&typeof URL.canParse==\"function\"?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function cl(e,t){return!(\"normalize\"in t)&&!(\"hostname\"in t)&&!(\"protocol\"in t)?Ym(e)||Vo:Qv(e,t)}function Qv(e,t){if(!t.normalize&&t.protocol?.source===Do.source&&!/^https?:\\/\\//i.test(e))return Wm;try{if(typeof URL<\"u\"){let n=URL;if(typeof n.parse==\"function\")return n.parse(e)??Vo}return new URL(e)}catch{return Vo}}var Xz=/[\\t\\n\\r]/g;function Zo(e){return e.replace(Xz,\"\")}function ll(e,t){return t.lastIndex=0,t.test(e.hostname)}function ul(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(\":\")?e.protocol.slice(0,-1):e.protocol)}var Xm=v(\"$ZodURL\",(e,t)=>{X.init(e,t),e._zod.check=n=>{try{let o=n.value.trim(),r=cl(o,t);if(r===Wm){n.issues.push({code:\"invalid_format\",format:\"url\",note:\"Invalid URL format\",input:n.value,inst:e,continue:!t.abort});return}if(r===Vo){n.issues.push({code:\"invalid_format\",format:\"url\",input:n.value,inst:e,continue:!t.abort});return}if(r===!0){n.value=Zo(o);return}t.hostname&&!ll(r,t.hostname)&&n.issues.push({code:\"invalid_format\",format:\"url\",note:\"Invalid hostname\",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort}),t.protocol&&!ul(r,t.protocol)&&n.issues.push({code:\"invalid_format\",format:\"url\",note:\"Invalid protocol\",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort}),n.value=t.normalize?r.href:Zo(o);return}catch{n.issues.push({code:\"invalid_format\",format:\"url\",input:n.value,inst:e,continue:!t.abort})}}}),Qm=v(\"$ZodEmoji\",(e,t)=>{t.pattern??(t.pattern=em()),X.init(e,t)}),ep=v(\"$ZodNanoID\",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw new Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?Gd:Wd(t.length)),X.init(e,t)}),tp=v(\"$ZodCUID\",(e,t)=>{t.pattern??(t.pattern=Fd),X.init(e,t)}),rp=v(\"$ZodCUID2\",(e,t)=>{t.pattern??(t.pattern=Jd),X.init(e,t)}),np=v(\"$ZodULID\",(e,t)=>{t.pattern??(t.pattern=Hd),X.init(e,t)}),ip=v(\"$ZodXID\",(e,t)=>{t.pattern??(t.pattern=Bd),X.init(e,t)}),op=v(\"$ZodKSUID\",(e,t)=>{t.pattern??(t.pattern=Kd),X.init(e,t)}),ap=v(\"$ZodISODateTime\",(e,t)=>{t.pattern??(t.pattern=fm(t)),X.init(e,t)}),sp=v(\"$ZodISODate\",(e,t)=>{t.pattern??(t.pattern=mm),X.init(e,t)}),cp=v(\"$ZodISOTime\",(e,t)=>{t.pattern??(t.pattern=pm(t)),X.init(e,t)}),lp=v(\"$ZodISODuration\",(e,t)=>{t.pattern??(t.pattern=Yd),X.init(e,t)}),up=v(\"$ZodIPv4\",(e,t)=>{t.pattern??(t.pattern=tm),X.init(e,t)}),Qz=/^[0-9a-fA-F:.]+$/;function Fo(e){return Qz.test(e)?Ym(`http://[${e}]`):!1}var dp=v(\"$ZodIPv6\",(e,t)=>{t.pattern??(t.pattern=rm),X.init(e,t),e._zod.check=n=>{Fo(n.value)||n.issues.push({code:\"invalid_format\",format:\"ipv6\",input:n.value,inst:e,continue:!t.abort})}}),mp=v(\"$ZodMAC\",(e,t)=>{t.pattern??(t.pattern=nm(t.delimiter)),X.init(e,t)}),pp=v(\"$ZodCIDRv4\",(e,t)=>{t.pattern??(t.pattern=im),X.init(e,t)});function dl(e){let t=e.split(\"/\");if(t.length!==2)return!1;let[n,o]=t;if(!o)return!1;let r=Number(o);return`${r}`!==o||r<0||r>128?!1:Fo(n)}var fp=v(\"$ZodCIDRv6\",(e,t)=>{t.pattern??(t.pattern=om),X.init(e,t),e._zod.check=n=>{dl(n.value)||n.issues.push({code:\"invalid_format\",format:\"cidrv6\",input:n.value,inst:e,continue:!t.abort})}});function Jo(e){if(e===\"\")return!0;if(/\\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var ml=/^[0-9a-zA-Z+/]*={0,2}$/,hp=v(\"$ZodBase64\",(e,t)=>{t.pattern??(t.pattern=ml),X.init(e,t),e._zod.check=n=>{Jo(n.value)||n.issues.push({code:\"invalid_format\",format:\"base64\",input:n.value,inst:e,continue:!t.abort})}}),Ho=/^[A-Za-z0-9_-]*$/;function pl(e){if(!Ho.test(e))return!1;let t=e.replace(/[-_]/g,o=>o===\"-\"?\"+\":\"/\"),n=t.padEnd(Math.ceil(t.length/4)*4,\"=\");return Jo(n)}var gp=v(\"$ZodBase64URL\",(e,t)=>{t.pattern??(t.pattern=Ho),X.init(e,t),e._zod.check=n=>{pl(n.value)||n.issues.push({code:\"invalid_format\",format:\"base64url\",input:n.value,inst:e,continue:!t.abort})}}),vp=v(\"$ZodE164\",(e,t)=>{t.pattern??(t.pattern=um),X.init(e,t)}),ew=/[- ]/g;function tw(e){let t=e.length,n=1,o=0;for(;t;){let r=e.charCodeAt(--t)-48;n^=1,o+=n?[0,2,4,6,8,1,3,5,7,9][r]:r}return o%10===0}function fl(e){return Yc.test(e)?tw(e.replace(ew,\"\")):!1}var _p=v(\"$ZodCreditCard\",(e,t)=>{t.pattern??(t.pattern=Yc),X.init(e,t),e._zod.check=n=>{fl(n.value)||n.issues.push({code:\"invalid_format\",format:\"credit_card\",input:n.value,inst:e,continue:!t.abort})}});function rw(e){let t=0,n=e.length;for(let o=4;o<n;o++){let r=e.charCodeAt(o);t=(r>=65?t*100+(r-55):t*10+(r-48))%97}for(let o=0;o<4;o++){let r=e.charCodeAt(o);t=(r>=65?t*100+(r-55):t*10+(r-48))%97}return t===1}function hl(e){return Xc.test(e)?rw(e):!1}var Sp=v(\"$ZodIBAN\",(e,t)=>{t.pattern??(t.pattern=Xc),X.init(e,t),e._zod.check=n=>{hl(n.value)||n.issues.push({code:\"invalid_format\",format:\"iban\",input:n.value,inst:e,continue:!t.abort})}});function gl(e,t=null){try{let n=e.split(\".\");if(n.length!==3)return!1;let[o]=n;if(!o)return!1;let r=JSON.parse(atob(o));return!(\"typ\"in r&&r?.typ!==\"JWT\"||!r.alg||t&&(!(\"alg\"in r)||r.alg!==t))}catch{return!1}}var yp=v(\"$ZodJWT\",(e,t)=>{X.init(e,t),e._zod.check=n=>{gl(n.value,t.alg)||n.issues.push({code:\"invalid_format\",format:\"jwt\",input:n.value,inst:e,continue:!t.abort})}}),bp=v(\"$ZodCustomStringFormat\",(e,t)=>{X.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:\"invalid_format\",format:t.format,input:n.value,inst:e,continue:!t.abort})}}),vl=v(\"$ZodNumber\",(e,t)=>{Z.init(e,t),e._zod.pattern=yt,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let r=n.value;if(typeof r==\"number\"&&!Number.isNaN(r)&&Number.isFinite(r))return n;let i=typeof r==\"number\"?Number.isNaN(r)?\"NaN\":Number.isFinite(r)?void 0:String(r):void 0;return n.issues.push({expected:\"number\",code:\"invalid_type\",input:r,inst:e,...i?{received:i}:{}}),n}}),$p=v(\"$ZodNumberFormat\",(e,t)=>{Im.init(e,t),vl.init(e,t)}),Bo=v(\"$ZodBoolean\",(e,t)=>{Z.init(e,t),e._zod.pattern=_m,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=!!n.value}catch{}let r=n.value;return typeof r==\"boolean\"||n.issues.push({expected:\"boolean\",code:\"invalid_type\",input:r,inst:e}),n}}),_l=v(\"$ZodBigInt\",(e,t)=>{Z.init(e,t),e._zod.pattern=vm,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=BigInt(n.value)}catch{}return typeof n.value==\"bigint\"||n.issues.push({expected:\"bigint\",code:\"invalid_type\",input:n.value,inst:e}),n}}),zp=v(\"$ZodBigIntFormat\",(e,t)=>{Rm.init(e,t),_l.init(e,t)}),wp=v(\"$ZodSymbol\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;return typeof r==\"symbol\"||n.issues.push({expected:\"symbol\",code:\"invalid_type\",input:r,inst:e}),n}}),kp=v(\"$ZodUndefined\",(e,t)=>{Z.init(e,t),e._zod.pattern=ym,e._zod.values=new Set([void 0]),e._zod.parse=(n,o)=>{let r=n.value;return typeof r>\"u\"||n.issues.push({expected:\"undefined\",code:\"invalid_type\",input:r,inst:e}),n}}),xp=v(\"$ZodNull\",(e,t)=>{Z.init(e,t),e._zod.pattern=Sm,e._zod.values=new Set([null]),e._zod.parse=(n,o)=>{let r=n.value;return r===null||n.issues.push({expected:\"null\",code:\"invalid_type\",input:r,inst:e}),n}}),Ip=v(\"$ZodAny\",(e,t)=>{Z.init(e,t),e._zod.parse=n=>n}),Rp=v(\"$ZodUnknown\",(e,t)=>{Z.init(e,t),e._zod.parse=n=>n}),Pp=v(\"$ZodNever\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>(n.issues.push({expected:\"never\",code:\"invalid_type\",input:n.value,inst:e}),n)}),Tp=v(\"$ZodVoid\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;return typeof r>\"u\"||n.issues.push({expected:\"void\",code:\"invalid_type\",input:r,inst:e}),n}}),Ep=v(\"$ZodDate\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=new Date(n.value)}catch{}let r=n.value,i=r instanceof Date;return i&&!Number.isNaN(r.getTime())||n.issues.push({expected:\"date\",code:\"invalid_type\",input:r,...i?{received:\"Invalid Date\"}:{},inst:e}),n}});function Uv(e,t,n){e.issues.length&&t.issues.push(...Ee(n,e.issues)),t.value[n]=e.value}var Op=v(\"$ZodArray\",(e,t)=>{Z.init(e,t);let n=me.memoizer;n?.attach(e),e._zod.parse=(o,r)=>{let i=o.value;if(!Array.isArray(i))return o.issues.push({expected:\"array\",code:\"invalid_type\",input:i,inst:e}),o;o.value=n?n.alloc(e,o,Array(i.length),r):Array(i.length);let a=[],s=r?.abortEarly;for(let c=0;c<i.length;c++){let l=i[c],d=t.element._zod.run({value:l,issues:[]},r);if(d instanceof Promise)a.push(d.then(p=>Uv(p,o,c)));else if(Uv(d,o,c),s&&d.issues.length!==0&&xe(d))break}return a.length?Promise.all(a).then(()=>o):o}});function al(e,t,n,o,r,i){let a=n in o,s=i===\"optional\";if(!(!a&&s&&r===\"optional\")){if(e.issues.length){if(r!==void 0&&s&&!a)return;t.issues.push(...Ee(n,e.issues))}if(!a&&r===void 0){e.issues.length||t.issues.push({code:\"invalid_type\",expected:\"nonoptional\",input:void 0,path:[n]});return}e.value===void 0?(a||r===\"defaulted\"&&!s)&&(t.value[n]=void 0):t.value[n]=e.value}}var nw=[];function e_(e){let t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),o=n.length?n:nw,r=o.length?[...t,...o]:t;for(let a of r)if(!e.shape?.[a]?._zod?.traits?.has(\"$ZodType\"))throw new Error(`Invalid element at key \"${String(a)}\": expected a Zod schema`);let i=Od(e.shape);return{...e,allKeys:r,symbolKeys:o,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(i)}}function t_(e,t,n,o,r,i,a){let s=[],c=r.keySet,l=r.catchall._zod,d=l.def.type,p=l.optin,f=l.optout,g=0;for(let _ in t){if(a&&n.issues.length!==g){if(xe(n,g))break;g=n.issues.length}if(c.has(_))continue;if(_===\"__proto__\"){d===\"never\"&&s.push(_);continue}if(d===\"never\"){s.push(_);continue}let b=l.run({value:t[_],issues:[]},o);b instanceof Promise?e.push(b.then(x=>al(x,n,_,t,p,f))):al(b,n,_,t,p,f)}return s.length&&n.issues.push({code:\"unrecognized_keys\",keys:s,input:t,inst:i,continue:!0}),e.length?Promise.all(e).then(()=>n):n}var r_=v(\"$ZodObject\",(e,t)=>{Z.init(e,t);let n=Object.getOwnPropertyDescriptor(t,\"shape\"),o=n?.get?n.get.raw:t.shape??{};if(o){let l=()=>{let d={...o};return Object.defineProperty(t,\"shape\",{value:d}),l.raw=d,d};l.raw=o,Object.defineProperty(t,\"shape\",{get:l})}let r=yn(()=>e_(t));H(e,\"propValues\",l=>{let d=l.def.shape,p={};for(let f in d){let g=d[f]._zod;if(g.values){Object.prototype.hasOwnProperty.call(p,f)||he(p,f,new Set);for(let _ of g.values)p[f].add(_);g.optin!==void 0&&p[f].add(void 0)}}return p});let i=Sr,a=t.catchall,s,c=me.memoizer;c?.attach(e),e._zod.parse=(l,d)=>{s??(s=r.value);let p=l.value;if(!i(p))return l.issues.push({expected:\"object\",code:\"invalid_type\",input:p,inst:e}),l;l.value=c?c.alloc(e,l,{},d):{};let f=[],g=s.shape,_=d?.abortEarly,b=l.issues.length;for(let x of s.allKeys){if(_&&l.issues.length!==b){if(xe(l,b))break;b=l.issues.length}if(x===\"__proto__\")continue;let O=g[x],P=O._zod.optin,U=O._zod.optout,J=O._zod.run({value:p[x],issues:[]},d);J instanceof Promise?f.push(J.then(G=>al(G,l,x,p,P,U))):al(J,l,x,p,P,U)}return a?t_(f,p,l,d,r.value,e,_===!0):f.length?Promise.all(f).then(()=>l):l}}),Cp=v(\"$ZodObjectJIT\",(e,t)=>{r_.init(e,t);let n=e._zod.parse,o=yn(()=>e_(t)),r=me.memoizer,i=g=>{let _=o.value,b=_.symbolKeys,x=new $r([\"payload\",\"ctx\"],{shape:g,inst:e,memo:r,syms:b}),O=G=>`shape[${G}]._zod.run({ value: input[${G}], issues: [] }, ctx)`,P=(G,D)=>`\n let ${G}_ab = false;\n for (let i = 0; i < ${G}.issues.length; i++) {\n const iss = ${G}.issues[i];\n iss.path = iss.path ? [${D}, ...iss.path] : [${D}];\n payload.issues.push(iss);\n if (iss.continue !== true) ${G}_ab = true;\n }\n if (${G}_ab && ctx && ctx.abortEarly) {\n payload.value = newResult;\n return payload;\n }`;x.write(\"const input = payload.value;\");let U=Object.create(null),J=0;for(let G of _.allKeys)U[G]=`key_${J++}`;x.write(r?\"const newResult = memo.alloc(inst, payload, {}, ctx);\":\"const newResult = {};\");for(let G of _.allKeys){if(G===\"__proto__\")continue;let D=U[G],W=typeof G==\"symbol\"?`syms[${b.indexOf(G)}]`:ke(G),Ae=`${W} in input`,de=g[G],Ze=de?._zod?.optin,rt=Ze!==void 0,nr=de?._zod?.optout===\"optional\";if(x.write(`const ${D} = ${O(W)};`),rt&&nr){let ir=Ze===\"optional\"?`${D}_present`:`${D}.value !== undefined || ${D}_present`;x.write(`\n const ${D}_present = ${Ae};\n if (!${D}.issues.length || ${D}_present) {\n if (${D}.issues.length) {${P(D,W)}\n }\n\n if (${ir}) {\n newResult[${W}] = ${D}.value;\n }\n }\n\n `)}else rt?(x.write(`\n if (${D}.issues.length) {${P(D,W)}\n }\n `),Ze===\"defaulted\"?x.write(`newResult[${W}] = ${D}.value;`):x.write(`\n if (${D}.value !== undefined || ${Ae}) {\n newResult[${W}] = ${D}.value;\n }\n `)):x.write(`\n const ${D}_present = ${Ae};\n if (${D}.issues.length) {${P(D,W)}\n }\n if (!${D}_present && !${D}.issues.length) {\n payload.issues.push({\n code: \"invalid_type\",\n expected: \"nonoptional\",\n input: undefined,\n path: [${W}]\n });\n if (ctx && ctx.abortEarly) {\n payload.value = newResult;\n return payload;\n }\n }\n\n if (${D}_present) {\n newResult[${W}] = ${D}.value;\n }\n\n `)}return x.write(\"payload.value = newResult;\"),x.write(\"return payload;\"),x.compile()},a,s=Sr,c=!me.jitless,d=c&&Td.value,p=t.catchall,f;e._zod.parse=(g,_)=>{f??(f=o.value);let b=g.value;return s(b)?c&&d&&_?.async===!1&&_.jitless!==!0?(a||(a=i(t.shape)),g=a(g,_),p?t_([],b,g,_,f,e,_?.abortEarly===!0):g):n(g,_):(g.issues.push({expected:\"object\",code:\"invalid_type\",input:b,inst:e}),g)}});function Dv(e,t,n,o){for(let i of e)if(i.issues.length===0)return t.value=i.value,t;let r=e.filter(i=>!xe(i));return r.length===1?(t.value=r[0].value,r[0]):(t.issues.push({code:\"invalid_union\",input:t.value,inst:n,errors:e.map(i=>i.issues.map(a=>Oe(a,o,ae())))}),t)}var Ko=v(\"$ZodUnion\",(e,t)=>{Z.init(e,t),H(e,\"optin\",o=>o.def.options.some(r=>r._zod.optin===\"defaulted\")?\"defaulted\":o.def.options.some(r=>r._zod.optin!==void 0)?\"optional\":void 0),H(e,\"optout\",o=>o.def.options.some(r=>r._zod.optout===\"optional\")?\"optional\":void 0),H(e,\"values\",o=>{if(o.def.options.every(r=>r._zod.values))return new Set(o.def.options.flatMap(r=>Array.from(r._zod.values)))}),H(e,\"pattern\",o=>{if(o.def.options.every(r=>r._zod.pattern)){let r=o.def.options.map(i=>i._zod.pattern);return new RegExp(`^(${r.map(i=>St(i.source)).join(\"|\")})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(o,r)=>{if(n)return n(o,r);let i=!1,a=[];for(let s of t.options){let c=s._zod.run({value:o.value,issues:[]},r);if(c instanceof Promise)a.push(c),i=!0;else{if(c.issues.length===0)return c;a.push(c)}}return i?Promise.all(a).then(s=>Dv(s,o,e,r)):Dv(a,o,e,r)}});function Mv(e,t,n,o){let r=[];for(let i=0;i<e.length;i++)e[i].issues.length===0&&r.push(i);return r.length===1?(t.value=e[r[0]].value,t):(r.length===0?t.issues.push({code:\"invalid_union\",input:t.value,inst:n,errors:e.map(i=>i.issues.map(a=>Oe(a,o,ae())))}):t.issues.push({code:\"invalid_union\",input:t.value,inst:n,errors:[],inclusive:!1,matches:r}),t)}var Np=v(\"$ZodXor\",(e,t)=>{Ko.init(e,t),t.inclusive=!1;let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(o,r)=>{if(n)return n(o,r);let i=!1,a=[];for(let s of t.options){let c=s._zod.run({value:o.value,issues:[]},r);c instanceof Promise?(a.push(c),i=!0):a.push(c)}return i?Promise.all(a).then(s=>Mv(s,o,e,r)):Mv(a,o,e,r)}});function jp(e,t){let n=e._zod,o=n.bag.optionsMap;o||(o=n_(n.def),n.bag.optionsMap=o);let r=o.get(t);if(r===null)throw new Error(`Ambiguous discriminator value \"${String(t)}\"`);return r}function n_(e){let t=new Map;for(let n of e.options){let o=n._zod.propValues?.[e.discriminator];if(!o||o.size===0)throw new Error(`Invalid discriminated union option at index \"${e.options.indexOf(n)}\"`);for(let r of o)if(t.has(r)){if(r!==void 0)throw new Error(`Duplicate discriminator value \"${String(r)}\"`);t.set(r,null)}else t.set(r,n)}return t}var Ap=v(\"$ZodDiscriminatedUnion\",(e,t)=>{t.inclusive=!1,Ko.init(e,t);let n=e._zod.parse;H(e,\"propValues\",r=>{let i={},a=0;for(let s of r.def.options){let c=s._zod.propValues;if(!c||Object.keys(c).length===0)throw new Error(`Invalid discriminated union option at index \"${r.def.options.indexOf(s)}\"`);c[r.def.discriminator]?.has(void 0)&&a++;for(let[l,d]of Object.entries(c)){Object.prototype.hasOwnProperty.call(i,l)||he(i,l,new Set);for(let p of d)i[l].add(p)}}return!r.def.unionFallback&&a>1&&i[r.def.discriminator]?.delete(void 0),i}),t.options.forEach((r,i)=>{let a=bn(r._zod.def);if(a&&!Object.prototype.hasOwnProperty.call(a,t.discriminator))throw new Error(`Invalid discriminated union option at index \"${i}\"`)});let o=yn(()=>n_(t));e._zod.parse=(r,i)=>{let a=r.value;if(!Sr(a))return r.issues.push({code:\"invalid_type\",expected:\"object\",input:a,inst:e}),r;let s=a?.[t.discriminator],c=o.value.get(s);return c&&(s!==void 0||i.direction!==\"backward\")?c._zod.run(r,i):t.unionFallback||i.direction===\"backward\"?n(r,i):(r.issues.push({code:\"invalid_union\",errors:[],note:\"No matching discriminator\",discriminator:t.discriminator,options:Array.from(o.value.keys()).filter(l=>o.value.get(l)!==null),input:a,path:[t.discriminator],inst:e}),r)}}),Up=v(\"$ZodIntersection\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>{let r=n.value,i=t.left._zod.run({value:r,issues:[]},o),a=t.right._zod.run({value:r,issues:[]},o);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([c,l])=>qv(n,c,l)):qv(n,i,a)}});function Rn(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Je(e)&&Je(t)){let n=Object.keys(t),o=Object.keys(e).filter(i=>n.indexOf(i)!==-1),r={...e,...t};Object.prototype.hasOwnProperty.call(r,\"__proto__\")&&delete r.__proto__;for(let i of o){if(i===\"__proto__\")continue;let a=Rn(e[i],t[i]);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};r[i]=a.data}return{valid:!0,data:r}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let o=0;o<e.length;o++){let r=e[o],i=t[o],a=Rn(r,i);if(!a.valid)return{valid:!1,mergeErrorPath:[o,...a.mergeErrorPath]};n.push(a.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function qv(e,t,n){let o=new Map,r,i=new Map,a=(l,d)=>{let p;if(l.code===\"unrecognized_keys\"&&!l.path?.length)r??(r=l),p=l.keys;else if(l.code===\"invalid_key\"&&l.origin===\"record\"&&l.path?.length===1){let f=String(l.path[0]);i.has(f)||i.set(f,l),p=[f]}else return!1;for(let f of p)o.has(f)||o.set(f,{}),o.get(f)[d]=!0;return!0};for(let l of t.issues)a(l,\"l\")||e.issues.push(l);for(let l of n.issues)a(l,\"r\")||e.issues.push(l);let s=[...o].filter(([,l])=>l.l&&l.r).map(([l])=>l);if(s.length){let l=r?s.filter(d=>r.keys.includes(d)):[];l.length&&e.issues.push({...r,keys:l});for(let d of s)!l.includes(d)&&i.has(d)&&e.issues.push(i.get(d))}let c=Rn(t.value,n.value);if(!c.valid){if(xe(e))return e;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(c.mergeErrorPath)}`)}return e.value=c.data,e}var Sl=v(\"$ZodTuple\",(e,t)=>{Z.init(e,t);let n=t.items,o=me.memoizer;o?.attach(e),e._zod.parse=(r,i)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({input:a,inst:e,expected:\"tuple\",code:\"invalid_type\"}),r;r.value=o?o.alloc(e,r,[],i):[];let s=[],c=Lv(n,\"optin\"),l=Lv(n,\"optout\");if(!t.rest){if(a.length<c)return r.issues.push({code:\"too_small\",minimum:c,inclusive:!0,input:a,inst:e,origin:\"array\"}),r;a.length>n.length&&r.issues.push({code:\"too_big\",maximum:n.length,inclusive:!0,input:a,inst:e,origin:\"array\"})}let d=new Array(n.length),p=t.rest?i?.abortEarly:void 0,f=!1;for(let g=0;g<n.length;g++){let _=n[g]._zod.run({value:a[g],issues:[]},i);_ instanceof Promise?s.push(_.then(b=>{d[g]=b})):(d[g]=_,p&&!f&&_.issues.length&&(f=xe(_)))}if(t.rest&&!f){let g=n.length-1,_=a.slice(n.length),b=r.issues.length;for(let x of _){if(p&&r.issues.length!==b){if(xe(r,b))break;b=r.issues.length}g++;let O=t.rest._zod.run({value:x,issues:[]},i);O instanceof Promise?s.push(O.then(P=>Vv(P,r,g))):Vv(O,r,g)}}return s.length?Promise.all(s).then(()=>Zv(d,r,n,a,l)):Zv(d,r,n,a,l)}});function Lv(e,t){for(let n=e.length-1;n>=0;n--)if(!(t===\"optin\"?e[n]._zod.optin!==void 0:e[n]._zod.optout===\"optional\"))return n+1;return 0}function Vv(e,t,n){e.issues.length&&t.issues.push(...Ee(n,e.issues)),t.value[n]=e.value}function Zv(e,t,n,o,r){for(let i=0;i<n.length;i++){let a=e[i],s=i<o.length;if(!s&&i>=r&&n[i]._zod.optin===\"optional\"){t.value.length=i;break}if(a.issues.length){if(!s&&i>=r){t.value.length=i;break}t.issues.push(...Ee(i,a.issues))}t.value[i]=a.value}for(let i=t.value.length-1;i>=o.length&&(n[i]._zod.optout===\"optional\"&&t.value[i]===void 0);i--)t.value.length=i;return t}var Dp=v(\"$ZodRecord\",(e,t)=>{Z.init(e,t);let n=me.memoizer;n?.attach(e),e._zod.parse=(o,r)=>{let i=o.value;if(!Je(i))return o.issues.push({expected:\"record\",code:\"invalid_type\",input:i,inst:e}),o;let a=[],s=t.keyType._zod.values;if(s&&!t.partial){o.value=n?n.alloc(e,o,{},r):{};let c=new Set;for(let d of s)if(typeof d==\"string\"||typeof d==\"number\"||typeof d==\"symbol\"){if(c.add(typeof d==\"number\"?d.toString():d),d===\"__proto__\")continue;let p=t.keyType._zod.run({value:d,issues:[]},r);if(p instanceof Promise)throw new Error(\"Async schemas not supported in object keys currently\");if(p.issues.length){o.issues.push({code:\"invalid_key\",origin:\"record\",issues:p.issues.map(_=>Oe(_,r,ae())),input:d,path:[d],inst:e});continue}let f=p.value;if(f===\"__proto__\")continue;let g=t.valueType._zod.run({value:i[d],issues:[]},r);g instanceof Promise?a.push(g.then(_=>{_.issues.length&&o.issues.push(...Ee(d,_.issues)),o.value[f]=_.value})):(g.issues.length&&o.issues.push(...Ee(d,g.issues)),o.value[f]=g.value)}let l;for(let d in i)if(!c.has(d))if(t.mode===\"loose\"){if(d===\"__proto__\")continue;o.value[d]=i[d]}else l=l??[],l.push(d);l&&l.length>0&&o.issues.push({code:\"unrecognized_keys\",input:i,inst:e,keys:l,continue:!0})}else{o.value=n?n.alloc(e,o,{},r):{};let c;for(let l of Reflect.ownKeys(i)){if(l===\"__proto__\"||!Object.prototype.propertyIsEnumerable.call(i,l))continue;let d=t.keyType._zod.run({value:l,issues:[]},r);if(d instanceof Promise)throw new Error(\"Async schemas not supported in object keys currently\");if(typeof l==\"string\"&&yt.test(l)&&d.issues.length){let _=t.keyType._zod.run({value:Number(l),issues:[]},r);if(_ instanceof Promise)throw new Error(\"Async schemas not supported in object keys currently\");_.issues.length===0&&(d=_)}if(d.issues.length){t.mode===\"loose\"?o.value[l]=i[l]:s?(c=c??[],c.push(l)):o.issues.push({code:\"invalid_key\",origin:\"record\",issues:d.issues.map(_=>Oe(_,r,ae())),input:l,path:[l],inst:e});continue}let f=d.value;if(f===\"__proto__\")continue;let g=t.valueType._zod.run({value:i[l],issues:[]},r);g instanceof Promise?a.push(g.then(_=>{_.issues.length&&o.issues.push(...Ee(l,_.issues)),o.value[f]=_.value})):(g.issues.length&&o.issues.push(...Ee(l,g.issues)),o.value[f]=g.value)}c&&c.length>0&&o.issues.push({code:\"unrecognized_keys\",input:i,inst:e,keys:c,continue:!0})}return a.length?Promise.all(a).then(()=>o):o}}),Mp=v(\"$ZodMap\",(e,t)=>{Z.init(e,t);let n=me.memoizer;n?.attach(e),e._zod.parse=(o,r)=>{let i=o.value;if(!(i instanceof Map))return o.issues.push({expected:\"map\",code:\"invalid_type\",input:i,inst:e}),o;let a=[];o.value=n?n.alloc(e,o,new Map,r):new Map;let s=r?.abortEarly,c=o.issues.length;for(let[l,d]of i){if(s&&o.issues.length!==c){if(xe(o,c))break;c=o.issues.length}let p=t.keyType._zod.run({value:l,issues:[]},r),f=t.valueType._zod.run({value:d,issues:[]},r);p instanceof Promise||f instanceof Promise?a.push(Promise.all([p,f]).then(([g,_])=>{Fv(g,_,o,l,i,e,r)})):Fv(p,f,o,l,i,e,r)}return a.length?Promise.all(a).then(()=>o):o}});function Fv(e,t,n,o,r,i,a){e.issues.length&&(Io.has(typeof o)?n.issues.push(...Ee(o,e.issues)):n.issues.push({code:\"invalid_key\",origin:\"map\",input:r,inst:i,issues:e.issues.map(s=>Oe(s,a,ae()))})),t.issues.length&&(Io.has(typeof o)?n.issues.push(...Ee(o,t.issues)):n.issues.push({origin:\"map\",code:\"invalid_element\",input:r,inst:i,key:o,issues:t.issues.map(s=>Oe(s,a,ae()))})),n.value.set(e.value,t.value)}var qp=v(\"$ZodSet\",(e,t)=>{Z.init(e,t);let n=me.memoizer;n?.attach(e),e._zod.parse=(o,r)=>{let i=o.value;if(!(i instanceof Set))return o.issues.push({input:i,inst:e,expected:\"set\",code:\"invalid_type\"}),o;let a=[];o.value=n?n.alloc(e,o,new Set,r):new Set;let s=r?.abortEarly,c=o.issues.length;for(let l of i){if(s&&o.issues.length!==c){if(xe(o,c))break;c=o.issues.length}let d=t.valueType._zod.run({value:l,issues:[]},r);d instanceof Promise?a.push(d.then(p=>Jv(p,o))):Jv(d,o)}return a.length?Promise.all(a).then(()=>o):o}});function Jv(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}var Lp=v(\"$ZodEnum\",(e,t)=>{Z.init(e,t);let n=_n(t.entries),o=new Set(n);e._zod.values=o,H(e,\"pattern\",r=>{let i=_n(r.def.entries).filter(a=>Io.has(typeof a));return new RegExp(i.length?`^(${i.map(a=>He(a.toString())).join(\"|\")})$`:\"^[^\\\\s\\\\S]$\")}),e._zod.parse=(r,i)=>{let a=r.value;return o.has(a)||r.issues.push({code:\"invalid_value\",values:n,input:a,inst:e}),r}}),Vp=v(\"$ZodLiteral\",(e,t)=>{Z.init(e,t);let n=new Set(t.values);e._zod.values=n,H(e,\"pattern\",o=>{let r=o.def.values;return new RegExp(r.length?`^(${r.map(i=>typeof i==\"string\"?He(i):i?He(i.toString()):String(i)).join(\"|\")})$`:\"^[^\\\\s\\\\S]$\")}),e._zod.parse=(o,r)=>{let i=o.value;return n.has(i)||o.issues.push({code:\"invalid_value\",values:t.values,input:i,inst:e}),o}}),Zp=v(\"$ZodFile\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>{let r=n.value;return r instanceof File||n.issues.push({expected:\"file\",code:\"invalid_type\",input:r,inst:e}),n}}),Fp=v(\"$ZodTransform\",(e,t)=>{Z.init(e,t),e._zod.optin=\"optional\",me.memoizer?.guard(e),e._zod.parse=(n,o)=>{if(o.direction===\"backward\")throw new Dt(e.constructor.name);let r=t.transform(n.value,n);if(o.async)return(r instanceof Promise?r:Promise.resolve(r)).then(a=>(n.value=a,n));if(r instanceof Promise)throw new Ce;return n.value=r,n}});function Hv(e,t){return e.value=t.issues.length?void 0:t.value,e}var yl=v(\"$ZodOptional\",(e,t)=>{Z.init(e,t),H(e,\"optin\",n=>n.def.innerType._zod.optin===\"defaulted\"?\"defaulted\":\"optional\"),e._zod.optout=\"optional\",H(e,\"values\",n=>{let o=n.def.innerType._zod.values;return o?new Set([...o,void 0]):void 0}),H(e,\"pattern\",n=>{let o=n.def.innerType._zod.pattern;return o?new RegExp(`^(${St(o.source)})?$`):void 0}),e._zod.parse=(n,o)=>{if(n.value===void 0){if(t.innerType._zod.optin!==\"defaulted\")return n;let r=t.innerType._zod.run({value:n.value,issues:[]},o);return r instanceof Promise?r.then(i=>Hv(n,i)):Hv(n,r)}return t.innerType._zod.run(n,o)}}),Jp=v(\"$ZodExactOptional\",(e,t)=>{yl.init(e,t),H(e,\"values\",n=>n.def.innerType._zod.values),H(e,\"pattern\",n=>n.def.innerType._zod.pattern),e._zod.parse=(n,o)=>t.innerType._zod.run(n,o)}),Hp=v(\"$ZodNullable\",(e,t)=>{Z.init(e,t),H(e,\"optin\",n=>n.def.innerType._zod.optin),H(e,\"optout\",n=>n.def.innerType._zod.optout),H(e,\"pattern\",n=>{let o=n.def.innerType._zod.pattern;return o?new RegExp(`^(${St(o.source)}|null)$`):void 0}),H(e,\"values\",n=>n.def.innerType._zod.values?new Set([...n.def.innerType._zod.values,null]):void 0),e._zod.parse=(n,o)=>n.value===null?n:t.innerType._zod.run(n,o)}),Bp=v(\"$ZodDefault\",(e,t)=>{Z.init(e,t),e._zod.optin=\"defaulted\",H(e,\"values\",n=>n.def.innerType._zod.values),e._zod.parse=(n,o)=>{if(o.direction===\"backward\")return t.innerType._zod.run(n,o);if(n.value===void 0)return n.value=t.defaultValue,n;let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(i=>Bv(i,t)):Bv(r,t)}});function Bv(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Kp=v(\"$ZodPrefault\",(e,t)=>{Z.init(e,t),e._zod.optin=\"defaulted\",H(e,\"values\",n=>n.def.innerType._zod.values),e._zod.parse=(n,o)=>(o.direction===\"backward\"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,o))}),Gp=v(\"$ZodNonOptional\",(e,t)=>{Z.init(e,t),H(e,\"values\",n=>{let o=n.def.innerType._zod.values;return o?new Set([...o].filter(r=>r!==void 0)):void 0}),e._zod.parse=(n,o)=>{let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(i=>Kv(i,e)):Kv(r,e)}});function Kv(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:\"invalid_type\",expected:\"nonoptional\",input:e.value,inst:t}),e}var Wp=v(\"$ZodSuccess\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>{if(o.direction===\"backward\")throw new Dt(\"ZodSuccess\");let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(i=>(n.value=i.issues.length===0,n)):(n.value=r.issues.length===0,n)}});function Gv(e,t,n,o){return t.issues.length?(e.value=n.catchValue({...t,value:e.value,error:{issues:t.issues.map(r=>Oe(r,o,ae()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}var Yp=v(\"$ZodCatch\",(e,t)=>{Z.init(e,t),H(e,\"optin\",n=>n.def.innerType._zod.optin===\"defaulted\"?\"defaulted\":\"optional\"),H(e,\"optout\",n=>n.def.innerType._zod.optout),H(e,\"values\",n=>n.def.innerType._zod.values),e._zod.parse=(n,o)=>{if(o.direction===\"backward\")return t.innerType._zod.run(n,o);let r=t.innerType._zod.run({value:n.value,issues:[]},o);return r instanceof Promise?r.then(i=>Gv(n,i,t,o)):Gv(n,r,t,o)}}),Xp=v(\"$ZodNaN\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>((typeof n.value!=\"number\"||!Number.isNaN(n.value))&&n.issues.push({input:n.value,inst:e,expected:\"nan\",code:\"invalid_type\"}),n)}),bl=v(\"$ZodPipe\",(e,t)=>{Z.init(e,t),H(e,\"values\",n=>n.def.in._zod.values),H(e,\"optin\",n=>n.def.in._zod.optin),H(e,\"optout\",n=>n.def.out._zod.optout),H(e,\"propValues\",n=>n.def.in._zod.propValues),e._zod.parse=(n,o)=>{if(o.direction===\"backward\"){let i=t.out._zod.run(n,o);return i instanceof Promise?i.then(a=>nl(a,t.in,o)):nl(i,t.in,o)}let r=t.in._zod.run(n,o);return r instanceof Promise?r.then(i=>nl(i,t.out,o)):nl(r,t.out,o)}});function nl(e,t,n){return e.issues.some(o=>o.code!==\"unrecognized_keys\")?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var Go=v(\"$ZodCodec\",(e,t)=>{Z.init(e,t),H(e,\"values\",n=>n.def.in._zod.values),H(e,\"optin\",n=>n.def.in._zod.optin),H(e,\"optout\",n=>n.def.out._zod.optout),H(e,\"propValues\",n=>n.def.in._zod.propValues),e._zod.parse=(n,o)=>{if((o.direction||\"forward\")===\"forward\"){let i=t.in._zod.run(n,o);return i instanceof Promise?i.then(a=>il(a,t,o)):il(i,t,o)}else{let i=t.out._zod.run(n,o);return i instanceof Promise?i.then(a=>il(a,t,o)):il(i,t,o)}}});function il(e,t,n){if(e.issues.length)return e.aborted=!0,e;if((n.direction||\"forward\")===\"forward\"){let r=t.transform(e.value,e);return r instanceof Promise?r.then(i=>ol(e,i,t.out,n)):ol(e,r,t.out,n)}else{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(i=>ol(e,i,t.in,n)):ol(e,r,t.in,n)}}function ol(e,t,n,o){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},o)}var Qp=v(\"$ZodPreprocess\",(e,t)=>{bl.init(e,t)}),ef=v(\"$ZodReadonly\",(e,t)=>{Z.init(e,t),H(e,\"propValues\",n=>n.def.innerType._zod.propValues),H(e,\"values\",n=>n.def.innerType._zod.values),H(e,\"optin\",n=>n.def.innerType?._zod?.optin),H(e,\"optout\",n=>n.def.innerType?._zod?.optout),e._zod.parse=(n,o)=>{if(o.direction===\"backward\")return t.innerType._zod.run(n,o);let r=t.innerType._zod.run(n,o);return r instanceof Promise?r.then(Wv):Wv(r)}});function Wv(e){return e.memo||(e.value=Object.freeze(e.value)),e}function iw(e){let t=e._zod.def,n=t.pattern,o=!!t.format?.includes(\"int\"),r,i;for(let s of t.checks??[]){let c=s._zod.def;c.pattern&&(n=c.pattern),o||(o=!!c.format?.includes(\"int\"));let l=c.minimum??c.length,d=c.maximum??c.length;l!==void 0&&(r===void 0||l>r)&&(r=l),d!==void 0&&(i===void 0||d<i)&&(i=d)}if(n)return n.source;if(r!==void 0&&i!==void 0&&r>i)return\"(?!)\";if(r!==void 0||i!==void 0)return gm({minimum:r,maximum:i}).source;let a=e._zod.pattern;return(o&&a===yt?Mo:a)?.source}function Hm(e){let t=e._zod.def,n=e._zod.pattern?.source,o=t.innerType??e._zod.innerType;if(o){let r=o._zod.pattern?.source,i=Hm(o);return n&&r&&i&&i!==r?n.replace(St(r),()=>St(i)):n}if(t.options){let r=t.options.map(Hm);if(r.every(Boolean))return`^(${r.map(i=>St(i)).join(\"|\")})$`}return iw(e)}var tf=v(\"$ZodTemplateLiteral\",(e,t)=>{Z.init(e,t);let n=[];for(let o of t.parts)if(typeof o==\"object\"&&o!==null){let r=Hm(o);if(!r)throw new Error(`Invalid template literal part, no pattern found: ${[...o._zod.traits].shift()}`);n.push(St(r))}else if(o===null||Ed.has(typeof o))n.push(He(`${o}`));else throw new Error(`Invalid template literal part: ${o}`);e._zod.pattern=new RegExp(`^${n.join(\"\")}$`),e._zod.parse=(o,r)=>typeof o.value!=\"string\"?(o.issues.push({input:o.value,inst:e,expected:\"string\",code:\"invalid_type\"}),o):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(o.value)||o.issues.push({input:o.value,inst:e,code:\"invalid_format\",format:t.format??\"template_literal\",pattern:e._zod.pattern.source}),o)}),rf=v(\"$ZodFunction\",(e,t)=>(Z.init(e,t),Object.defineProperty(e,\"_def\",{value:t}),e._zod.def=t,e.implement=n=>{if(typeof n!=\"function\")throw new Error(\"implement() must be called with a function\");return Object.defineProperty(function(...o){let r=e._def.input?Lc(e._def.input,o):o,i=Reflect.apply(n,this,r);return e._def.output?Lc(e._def.output,i):i},\"_zod\",{value:e._zod,enumerable:!1})},e.implementAsync=n=>{if(typeof n!=\"function\")throw new Error(\"implementAsync() must be called with a function\");return Object.defineProperty(async function(...o){let r=e._def.input?await Vc(e._def.input,o):o,i=await Reflect.apply(n,this,r);return e._def.output?await Vc(e._def.output,i):i},\"_zod\",{value:e._zod,enumerable:!1})},e._zod.parse=(n,o)=>typeof n.value!=\"function\"?(n.issues.push({code:\"invalid_type\",expected:\"function\",input:n.value,inst:e}),n):(e._def.output&&e._def.output._zod.def.type===\"promise\"?n.value=e.implementAsync(n.value):n.value=e.implement(n.value),n),e.input=(...n)=>{let o=e.constructor;return Array.isArray(n[0])?new o({type:\"function\",input:new Sl({type:\"tuple\",items:n[0],rest:n[1]}),output:e._def.output}):new o({type:\"function\",input:n[0],output:e._def.output})},e.output=n=>{let o=e.constructor;return new o({type:\"function\",input:e._def.input,output:n})},e)),nf=v(\"$ZodPromise\",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>Promise.resolve(n.value).then(r=>t.innerType._zod.run({value:r,issues:[]},o))}),Wo=v(\"$ZodLazy\",(e,t)=>{Z.init(e,t),Rd(e._zod,\"innerType\",()=>{let n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),H(e,\"pattern\",n=>n.innerType?._zod?.pattern),H(e,\"propValues\",n=>n.innerType?._zod?.propValues),H(e,\"optin\",n=>n.innerType?._zod?.optin??void 0),H(e,\"optout\",n=>n.innerType?._zod?.optout??void 0),e._zod.parse=(n,o)=>e._zod.innerType._zod.run(n,o)}),of=v(\"$ZodCustom\",(e,t)=>{te.init(e,t),Z.init(e,t),e._zod.parse=(n,o)=>n,e._zod.check=n=>{let o=n.value,r=t.fn(o);if(r instanceof Promise)return r.then(i=>Yv(i,n,o,e));Yv(r,n,o,e)}});function Yv(e,t,n,o){if(!e){let r={code:\"custom\",input:n,inst:o,path:[...o._zod.def.path??[]],continue:!o._zod.def.abort};o._zod.def.params&&(r.params=o._zod.def.params),t.issues.push($n(r))}}var kl=class extends Error{constructor(){super(\"Cannot parse a reference cycle that closes through a transform\"),this.name=\"ZodCyclicError\"}},sf=\"~memo\",o_=[];function a_(e){return e!==null&&typeof e==\"object\"}function af(e){return e.map(t=>t.path?{...t,path:t.path.slice()}:{...t})}var s_=new WeakMap,Pn=0,wl=1,Yo=2;function Xo(e,t,n){let o=s_.get(e);if(o!==void 0)return o?Yo:Pn;if(t.has(e))return Yo;t.add(e);let r=Pn,i=d=>{if(r!==Yo&&d?._zod){let p=Xo(d,t,n);p>r&&(r=p)}},a=(d,p)=>{let f=Pn;for(let g of Reflect.ownKeys(d)){let _=Object.getOwnPropertyDescriptor(d,g);if(p&&!_.enumerable)continue;let b=_.get?wl:_.value?._zod?Xo(_.value,t,n):Pn;b>f&&(f=b)}return f},s=d=>{d>r&&(r=d)},c=e._zod.def,l=c.type;switch(l){case\"object\":{let d=bn(c);s(d?a(d,!0):wl),i(c.catchall);break}case\"array\":i(c.element);break;case\"tuple\":for(let d of c.items)i(d);i(c.rest);break;case\"record\":case\"map\":i(c.keyType),i(c.valueType);break;case\"set\":i(c.valueType);break;case\"union\":for(let d of c.options)i(d);break;case\"intersection\":i(c.left),i(c.right);break;case\"optional\":case\"nullable\":case\"default\":case\"prefault\":case\"catch\":case\"readonly\":case\"nonoptional\":case\"promise\":case\"success\":i(c.innerType);break;case\"pipe\":i(c.in),i(c.out);break;case\"function\":i(c.input),i(c.output);break;case\"lazy\":{let d=c._cachedInner??(n?e._zod.innerType:void 0);s(d?Xo(d,t,!1):wl);break}case\"template_literal\":case\"string\":case\"number\":case\"int\":case\"boolean\":case\"bigint\":case\"symbol\":case\"undefined\":case\"null\":case\"void\":case\"never\":case\"any\":case\"unknown\":case\"date\":case\"nan\":case\"enum\":case\"literal\":case\"file\":case\"transform\":case\"custom\":break;default:for(let d in c){let p=Object.getOwnPropertyDescriptor(c,d);if(!p||p.get)continue;let f=p.value;if(!(!f||typeof f!=\"object\")){if(f._zod)i(f);else if(Array.isArray(f))for(let g of f)i(g)}}}return t.delete(e),ow(e,r)}function ow(e,t){return t!==wl&&s_.set(e,t===Yo),t}function xl(e){return Xo(e,new Set,!0)!==Pn}function aw(e,t){let n=e.buckets.get(t);return n||(n=new WeakMap,e.buckets.set(t,n)),n}var $l,zl=[],sw={alloc(e,t,n){let o=$l;if(!o)return n;$l=void 0;let r={value:n,issues:null};return o.set(t.value,r),zl.push(r),n},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let n=e._zod.parse,o=(r,i)=>{if(i.direction!==\"backward\"&&Il(i,r.value))throw new kl;return n(r,i)};e._zod.parse=o,e._zod.run===n&&(e._zod.run=o)})},attach(e){var t;let n,o=!1,r,i;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let a=e._zod.parse,s=(c,l)=>{if(n===void 0){let O=Xo(e,new Set,!1);if(O===Pn)return e._zod.parse=a,e._zod.run===s&&(e._zod.run=a),a(c,l);O===Yo||o?n=!0:o=!0}let d=c.value;if(!a_(d))return a(c,l);let p=l[sf];p||(p={buckets:new WeakMap,backEdges:void 0},l[sf]=p);let f;r===l?f=i:(f=aw(p,e),r=l,i=f);let g=f.get(d);if(g)return c.value=g.value,g.issues?g.issues.length&&c.issues.push(...af(g.issues)):(c.memo=!0,p.backEdges??(p.backEdges=new WeakSet),p.backEdges.add(g.value)),c;$l=f;let _=zl.length,b=a(c,l);$l=void 0;let x=zl.length>_?zl.pop():void 0;return b instanceof Promise?b.then(O=>(x&&(x.issues=O.issues.length?af(O.issues):o_),O)):(x&&(x.issues=b.issues.length?af(b.issues):o_),b)};e._zod.parse=s,e._zod.run===a&&(e._zod.run=s)})}};function Qo(){return sw}function Il(e,t){let n=e[sf]?.backEdges;return n!==void 0&&a_(t)&&n.has(t)}var ta={};vt(ta,{ar:()=>c_,az:()=>l_,be:()=>d_,bg:()=>m_,bn:()=>p_,ca:()=>f_,ckb:()=>h_,cs:()=>g_,da:()=>v_,de:()=>__,el:()=>S_,en:()=>Rl,eo:()=>y_,es:()=>b_,fa:()=>$_,fi:()=>z_,fr:()=>w_,frCA:()=>k_,gu:()=>x_,he:()=>I_,hi:()=>R_,hr:()=>P_,hu:()=>T_,hy:()=>O_,id:()=>C_,is:()=>N_,it:()=>j_,ja:()=>A_,ka:()=>U_,kh:()=>D_,km:()=>Pl,kn:()=>M_,ko:()=>q_,lt:()=>V_,mk:()=>Z_,ms:()=>F_,ne:()=>J_,nl:()=>H_,nn:()=>B_,no:()=>K_,ota:()=>G_,pl:()=>Y_,ps:()=>W_,pt:()=>X_,ptBR:()=>Q_,ro:()=>eS,ru:()=>rS,sk:()=>nS,sl:()=>iS,sv:()=>oS,ta:()=>aS,tg:()=>sS,th:()=>cS,tk:()=>lS,tr:()=>uS,ua:()=>dS,uk:()=>Tl,ur:()=>mS,uz:()=>pS,vi:()=>fS,yo:()=>vS,zhCN:()=>hS,zhTW:()=>gS});var cw=()=>{let e={string:{unit:\"\\u062D\\u0631\\u0641\",verb:\"\\u0623\\u0646 \\u064A\\u062D\\u0648\\u064A\"},file:{unit:\"\\u0628\\u0627\\u064A\\u062A\",verb:\"\\u0623\\u0646 \\u064A\\u062D\\u0648\\u064A\"},array:{unit:\"\\u0639\\u0646\\u0635\\u0631\",verb:\"\\u0623\\u0646 \\u064A\\u062D\\u0648\\u064A\"},set:{unit:\"\\u0639\\u0646\\u0635\\u0631\",verb:\"\\u0623\\u0646 \\u064A\\u062D\\u0648\\u064A\"},map:{unit:\"\\u0639\\u0646\\u0635\\u0631\",verb:\"\\u0623\\u0646 \\u064A\\u062D\\u0648\\u064A\"}};function t(r){return e[r]??null}let n={regex:\"\\u0645\\u062F\\u062E\\u0644\",email:\"\\u0628\\u0631\\u064A\\u062F \\u0625\\u0644\\u0643\\u062A\\u0631\\u0648\\u0646\\u064A\",url:\"\\u0631\\u0627\\u0628\\u0637\",emoji:\"\\u0625\\u064A\\u0645\\u0648\\u062C\\u064A\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u062A\\u0627\\u0631\\u064A\\u062E \\u0648\\u0648\\u0642\\u062A \\u0628\\u0645\\u0639\\u064A\\u0627\\u0631 ISO\",date:\"\\u062A\\u0627\\u0631\\u064A\\u062E \\u0628\\u0645\\u0639\\u064A\\u0627\\u0631 ISO\",time:\"\\u0648\\u0642\\u062A \\u0628\\u0645\\u0639\\u064A\\u0627\\u0631 ISO\",duration:\"\\u0645\\u062F\\u0629 \\u0628\\u0645\\u0639\\u064A\\u0627\\u0631 ISO\",ipv4:\"\\u0639\\u0646\\u0648\\u0627\\u0646 IPv4\",ipv6:\"\\u0639\\u0646\\u0648\\u0627\\u0646 IPv6\",mac:\"\\u0639\\u0646\\u0648\\u0627\\u0646 MAC\",cidrv4:\"\\u0645\\u062F\\u0649 \\u0639\\u0646\\u0627\\u0648\\u064A\\u0646 \\u0628\\u0635\\u064A\\u063A\\u0629 IPv4\",cidrv6:\"\\u0645\\u062F\\u0649 \\u0639\\u0646\\u0627\\u0648\\u064A\\u0646 \\u0628\\u0635\\u064A\\u063A\\u0629 IPv6\",base64:\"\\u0646\\u064E\\u0635 \\u0628\\u062A\\u0631\\u0645\\u064A\\u0632 base64-encoded\",base64url:\"\\u0646\\u064E\\u0635 \\u0628\\u062A\\u0631\\u0645\\u064A\\u0632 base64url-encoded\",json_string:\"\\u0646\\u064E\\u0635 \\u0639\\u0644\\u0649 \\u0647\\u064A\\u0626\\u0629 JSON\",e164:\"\\u0631\\u0642\\u0645 \\u0647\\u0627\\u062A\\u0641 \\u0628\\u0645\\u0639\\u064A\\u0627\\u0631 E.164\",credit_card:\"\\u0631\\u0642\\u0645 \\u0628\\u0637\\u0627\\u0642\\u0629 \\u0627\\u0644\\u0627\\u0626\\u062A\\u0645\\u0627\\u0646\",currency_code:\"\\u0631\\u0645\\u0632 \\u0627\\u0644\\u0639\\u0645\\u0644\\u0629\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0645\\u062F\\u062E\\u0644\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u0645\\u062F\\u062E\\u0644\\u0627\\u062A \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644\\u0629: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0625\\u062F\\u062E\\u0627\\u0644 instanceof ${r.expected}\\u060C \\u0648\\u0644\\u0643\\u0646 \\u062A\\u0645 \\u0625\\u062F\\u062E\\u0627\\u0644 ${s}`:`\\u0645\\u062F\\u062E\\u0644\\u0627\\u062A \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644\\u0629: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0625\\u062F\\u062E\\u0627\\u0644 ${i}\\u060C \\u0648\\u0644\\u0643\\u0646 \\u062A\\u0645 \\u0625\\u062F\\u062E\\u0627\\u0644 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0645\\u062F\\u062E\\u0644\\u0627\\u062A \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644\\u0629: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0625\\u062F\\u062E\\u0627\\u0644 ${w(r.values[0])}`:`\\u0627\\u062E\\u062A\\u064A\\u0627\\u0631 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644: \\u064A\\u062A\\u0648\\u0642\\u0639 \\u0627\\u0646\\u062A\\u0642\\u0627\\u0621 \\u0623\\u062D\\u062F \\u0647\\u0630\\u0647 \\u0627\\u0644\\u062E\\u064A\\u0627\\u0631\\u0627\\u062A: ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?` \\u0623\\u0643\\u0628\\u0631 \\u0645\\u0646 \\u0627\\u0644\\u0644\\u0627\\u0632\\u0645: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0623\\u0646 \\u062A\\u0643\\u0648\\u0646 ${r.origin??\"\\u0627\\u0644\\u0642\\u064A\\u0645\\u0629\"} ${i} ${r.maximum.toString()} ${a.unit??\"\\u0639\\u0646\\u0635\\u0631\"}`:`\\u0623\\u0643\\u0628\\u0631 \\u0645\\u0646 \\u0627\\u0644\\u0644\\u0627\\u0632\\u0645: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0623\\u0646 \\u062A\\u0643\\u0648\\u0646 ${r.origin??\"\\u0627\\u0644\\u0642\\u064A\\u0645\\u0629\"} ${i} ${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0623\\u0635\\u063A\\u0631 \\u0645\\u0646 \\u0627\\u0644\\u0644\\u0627\\u0632\\u0645: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0644\\u0640 ${r.origin} \\u0623\\u0646 \\u064A\\u0643\\u0648\\u0646 ${i} ${r.minimum.toString()} ${a.unit}`:`\\u0623\\u0635\\u063A\\u0631 \\u0645\\u0646 \\u0627\\u0644\\u0644\\u0627\\u0632\\u0645: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0644\\u0640 ${r.origin} \\u0623\\u0646 \\u064A\\u0643\\u0648\\u0646 ${i} ${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0646\\u064E\\u0635 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644: \\u064A\\u062C\\u0628 \\u0623\\u0646 \\u064A\\u0628\\u062F\\u0623 \\u0628\\u0640 \"${r.prefix}\"`:i.format===\"ends_with\"?`\\u0646\\u064E\\u0635 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644: \\u064A\\u062C\\u0628 \\u0623\\u0646 \\u064A\\u0646\\u062A\\u0647\\u064A \\u0628\\u0640 \"${i.suffix}\"`:i.format===\"includes\"?`\\u0646\\u064E\\u0635 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644: \\u064A\\u062C\\u0628 \\u0623\\u0646 \\u064A\\u062A\\u0636\\u0645\\u0651\\u064E\\u0646 \"${i.includes}\"`:i.format===\"regex\"?`\\u0646\\u064E\\u0635 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644: \\u064A\\u062C\\u0628 \\u0623\\u0646 \\u064A\\u0637\\u0627\\u0628\\u0642 \\u0627\\u0644\\u0646\\u0645\\u0637 ${i.pattern}`:`${n[i.format]??r.format} \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644`}case\"not_multiple_of\":return`\\u0631\\u0642\\u0645 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644: \\u064A\\u062C\\u0628 \\u0623\\u0646 \\u064A\\u0643\\u0648\\u0646 \\u0645\\u0646 \\u0645\\u0636\\u0627\\u0639\\u0641\\u0627\\u062A ${r.divisor}`;case\"unrecognized_keys\":return`\\u0645\\u0639\\u0631\\u0641${r.keys.length>1?\"\\u0627\\u062A\":\"\"} \\u063A\\u0631\\u064A\\u0628${r.keys.length>1?\"\\u0629\":\"\"}: ${S(r.keys,\"\\u060C \")}`;case\"invalid_key\":return`\\u0645\\u0639\\u0631\\u0641 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644 \\u0641\\u064A ${r.origin}`;case\"invalid_union\":return\"\\u0645\\u062F\\u062E\\u0644 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644\";case\"invalid_element\":return`\\u0645\\u062F\\u062E\\u0644 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644 \\u0641\\u064A ${r.origin}`;default:return\"\\u0645\\u062F\\u062E\\u0644 \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644\"}}};function c_(){return{localeError:cw()}}var lw=()=>{let e={string:{unit:\"simvol\",verb:\"olmal\\u0131d\\u0131r\"},file:{unit:\"bayt\",verb:\"olmal\\u0131d\\u0131r\"},array:{unit:\"element\",verb:\"olmal\\u0131d\\u0131r\"},set:{unit:\"element\",verb:\"olmal\\u0131d\\u0131r\"},map:{unit:\"element\",verb:\"olmal\\u0131d\\u0131r\"}};function t(r){return e[r]??null}let n={regex:\"input\",email:\"email address\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO datetime\",date:\"ISO date\",time:\"ISO time\",duration:\"ISO duration\",ipv4:\"IPv4 address\",ipv6:\"IPv6 address\",mac:\"MAC address\",cidrv4:\"IPv4 range\",cidrv6:\"IPv6 range\",base64:\"base64-encoded string\",base64url:\"base64url-encoded string\",json_string:\"JSON string\",e164:\"E.164 number\",credit_card:\"kredit kart\\u0131 n\\xF6mr\\u0259si\",currency_code:\"valyuta kodu\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Yanl\\u0131\\u015F d\\u0259y\\u0259r: g\\xF6zl\\u0259nil\\u0259n instanceof ${r.expected}, daxil olan ${s}`:`Yanl\\u0131\\u015F d\\u0259y\\u0259r: g\\xF6zl\\u0259nil\\u0259n ${i}, daxil olan ${s}`}case\"invalid_value\":return r.values.length===1?`Yanl\\u0131\\u015F d\\u0259y\\u0259r: g\\xF6zl\\u0259nil\\u0259n ${w(r.values[0])}`:`Yanl\\u0131\\u015F se\\xE7im: a\\u015Fa\\u011F\\u0131dak\\u0131lardan biri olmal\\u0131d\\u0131r: ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\xC7ox b\\xF6y\\xFCk: g\\xF6zl\\u0259nil\\u0259n ${r.origin??\"d\\u0259y\\u0259r\"} ${i}${r.maximum.toString()} ${a.unit??\"element\"}`:`\\xC7ox b\\xF6y\\xFCk: g\\xF6zl\\u0259nil\\u0259n ${r.origin??\"d\\u0259y\\u0259r\"} ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\xC7ox ki\\xE7ik: g\\xF6zl\\u0259nil\\u0259n ${r.origin} ${i}${r.minimum.toString()} ${a.unit}`:`\\xC7ox ki\\xE7ik: g\\xF6zl\\u0259nil\\u0259n ${r.origin} ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Yanl\\u0131\\u015F m\\u0259tn: \"${i.prefix}\" il\\u0259 ba\\u015Flamal\\u0131d\\u0131r`:i.format===\"ends_with\"?`Yanl\\u0131\\u015F m\\u0259tn: \"${i.suffix}\" il\\u0259 bitm\\u0259lidir`:i.format===\"includes\"?`Yanl\\u0131\\u015F m\\u0259tn: \"${i.includes}\" daxil olmal\\u0131d\\u0131r`:i.format===\"regex\"?`Yanl\\u0131\\u015F m\\u0259tn: ${i.pattern} \\u015Fablonuna uy\\u011Fun olmal\\u0131d\\u0131r`:`Yanl\\u0131\\u015F ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Yanl\\u0131\\u015F \\u0259d\\u0259d: ${r.divisor} il\\u0259 b\\xF6l\\xFCn\\u0259 bil\\u0259n olmal\\u0131d\\u0131r`;case\"unrecognized_keys\":return`Tan\\u0131nmayan a\\xE7ar${r.keys.length>1?\"lar\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} daxilind\\u0259 yanl\\u0131\\u015F a\\xE7ar`;case\"invalid_union\":return\"Yanl\\u0131\\u015F d\\u0259y\\u0259r\";case\"invalid_element\":return`${r.origin} daxilind\\u0259 yanl\\u0131\\u015F d\\u0259y\\u0259r`;default:return\"Yanl\\u0131\\u015F d\\u0259y\\u0259r\"}}};function l_(){return{localeError:lw()}}function u_(e,t,n,o){let r=Math.abs(e),i=r%10,a=r%100;return a>=11&&a<=19?o:i===1?t:i>=2&&i<=4?n:o}var uw=()=>{let e={string:{unit:{one:\"\\u0441\\u0456\\u043C\\u0432\\u0430\\u043B\",few:\"\\u0441\\u0456\\u043C\\u0432\\u0430\\u043B\\u044B\",many:\"\\u0441\\u0456\\u043C\\u0432\\u0430\\u043B\\u0430\\u045E\"},verb:\"\\u043C\\u0435\\u0446\\u044C\"},array:{unit:{one:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\",few:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u044B\",many:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\\u045E\"},verb:\"\\u043C\\u0435\\u0446\\u044C\"},set:{unit:{one:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\",few:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u044B\",many:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\\u045E\"},verb:\"\\u043C\\u0435\\u0446\\u044C\"},map:{unit:{one:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\",few:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u044B\",many:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\\u045E\"},verb:\"\\u043C\\u0435\\u0446\\u044C\"},file:{unit:{one:\"\\u0431\\u0430\\u0439\\u0442\",few:\"\\u0431\\u0430\\u0439\\u0442\\u044B\",many:\"\\u0431\\u0430\\u0439\\u0442\\u0430\\u045E\"},verb:\"\\u043C\\u0435\\u0446\\u044C\"}};function t(r){return e[r]??null}let n={regex:\"\\u0443\\u0432\\u043E\\u0434\",email:\"email \\u0430\\u0434\\u0440\\u0430\\u0441\",url:\"URL\",emoji:\"\\u044D\\u043C\\u043E\\u0434\\u0437\\u0456\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0434\\u0430\\u0442\\u0430 \\u0456 \\u0447\\u0430\\u0441\",date:\"ISO \\u0434\\u0430\\u0442\\u0430\",time:\"ISO \\u0447\\u0430\\u0441\",duration:\"ISO \\u043F\\u0440\\u0430\\u0446\\u044F\\u0433\\u043B\\u0430\\u0441\\u0446\\u044C\",ipv4:\"IPv4 \\u0430\\u0434\\u0440\\u0430\\u0441\",ipv6:\"IPv6 \\u0430\\u0434\\u0440\\u0430\\u0441\",mac:\"MAC \\u0430\\u0434\\u0440\\u0430\\u0441\",cidrv4:\"IPv4 \\u0434\\u044B\\u044F\\u043F\\u0430\\u0437\\u043E\\u043D\",cidrv6:\"IPv6 \\u0434\\u044B\\u044F\\u043F\\u0430\\u0437\\u043E\\u043D\",base64:\"\\u0440\\u0430\\u0434\\u043E\\u043A \\u0443 \\u0444\\u0430\\u0440\\u043C\\u0430\\u0446\\u0435 base64\",base64url:\"\\u0440\\u0430\\u0434\\u043E\\u043A \\u0443 \\u0444\\u0430\\u0440\\u043C\\u0430\\u0446\\u0435 base64url\",json_string:\"JSON \\u0440\\u0430\\u0434\\u043E\\u043A\",e164:\"\\u043D\\u0443\\u043C\\u0430\\u0440 E.164\",credit_card:\"\\u043D\\u0443\\u043C\\u0430\\u0440 \\u043A\\u0440\\u044D\\u0434\\u044B\\u0442\\u043D\\u0430\\u0439 \\u043A\\u0430\\u0440\\u0442\\u044B\",currency_code:\"\\u043A\\u043E\\u0434 \\u0432\\u0430\\u043B\\u044E\\u0442\\u044B\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0443\\u0432\\u043E\\u0434\"},o={nan:\"NaN\",number:\"\\u043B\\u0456\\u043A\",array:\"\\u043C\\u0430\\u0441\\u0456\\u045E\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u045E\\u0432\\u043E\\u0434: \\u0447\\u0430\\u043A\\u0430\\u045E\\u0441\\u044F instanceof ${r.expected}, \\u0430\\u0442\\u0440\\u044B\\u043C\\u0430\\u043D\\u0430 ${s}`:`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u045E\\u0432\\u043E\\u0434: \\u0447\\u0430\\u043A\\u0430\\u045E\\u0441\\u044F ${i}, \\u0430\\u0442\\u0440\\u044B\\u043C\\u0430\\u043D\\u0430 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u045E\\u0432\\u043E\\u0434: \\u0447\\u0430\\u043A\\u0430\\u043B\\u0430\\u0441\\u044F ${w(r.values[0])}`:`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u0432\\u0430\\u0440\\u044B\\u044F\\u043D\\u0442: \\u0447\\u0430\\u043A\\u0430\\u045E\\u0441\\u044F \\u0430\\u0434\\u0437\\u0456\\u043D \\u0437 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);if(a){let s=Number(r.maximum),c=u_(s,a.unit.one,a.unit.few,a.unit.many);return`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u0430 \\u0432\\u044F\\u043B\\u0456\\u043A\\u0456: \\u0447\\u0430\\u043A\\u0430\\u043B\\u0430\\u0441\\u044F, \\u0448\\u0442\\u043E ${r.origin??\"\\u0437\\u043D\\u0430\\u0447\\u044D\\u043D\\u043D\\u0435\"} \\u043F\\u0430\\u0432\\u0456\\u043D\\u043D\\u0430 ${a.verb} ${i}${r.maximum.toString()} ${c}`}return`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u0430 \\u0432\\u044F\\u043B\\u0456\\u043A\\u0456: \\u0447\\u0430\\u043A\\u0430\\u043B\\u0430\\u0441\\u044F, \\u0448\\u0442\\u043E ${r.origin??\"\\u0437\\u043D\\u0430\\u0447\\u044D\\u043D\\u043D\\u0435\"} \\u043F\\u0430\\u0432\\u0456\\u043D\\u043D\\u0430 \\u0431\\u044B\\u0446\\u044C ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);if(a){let s=Number(r.minimum),c=u_(s,a.unit.one,a.unit.few,a.unit.many);return`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u0430 \\u043C\\u0430\\u043B\\u044B: \\u0447\\u0430\\u043A\\u0430\\u043B\\u0430\\u0441\\u044F, \\u0448\\u0442\\u043E ${r.origin} \\u043F\\u0430\\u0432\\u0456\\u043D\\u043D\\u0430 ${a.verb} ${i}${r.minimum.toString()} ${c}`}return`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u0430 \\u043C\\u0430\\u043B\\u044B: \\u0447\\u0430\\u043A\\u0430\\u043B\\u0430\\u0441\\u044F, \\u0448\\u0442\\u043E ${r.origin} \\u043F\\u0430\\u0432\\u0456\\u043D\\u043D\\u0430 \\u0431\\u044B\\u0446\\u044C ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u0440\\u0430\\u0434\\u043E\\u043A: \\u043F\\u0430\\u0432\\u0456\\u043D\\u0435\\u043D \\u043F\\u0430\\u0447\\u044B\\u043D\\u0430\\u0446\\u0446\\u0430 \\u0437 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u0440\\u0430\\u0434\\u043E\\u043A: \\u043F\\u0430\\u0432\\u0456\\u043D\\u0435\\u043D \\u0437\\u0430\\u043A\\u0430\\u043D\\u0447\\u0432\\u0430\\u0446\\u0446\\u0430 \\u043D\\u0430 \"${i.suffix}\"`:i.format===\"includes\"?`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u0440\\u0430\\u0434\\u043E\\u043A: \\u043F\\u0430\\u0432\\u0456\\u043D\\u0435\\u043D \\u0437\\u043C\\u044F\\u0448\\u0447\\u0430\\u0446\\u044C \"${i.includes}\"`:i.format===\"regex\"?`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u0440\\u0430\\u0434\\u043E\\u043A: \\u043F\\u0430\\u0432\\u0456\\u043D\\u0435\\u043D \\u0430\\u0434\\u043F\\u0430\\u0432\\u044F\\u0434\\u0430\\u0446\\u044C \\u0448\\u0430\\u0431\\u043B\\u043E\\u043D\\u0443 ${i.pattern}`:`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u043B\\u0456\\u043A: \\u043F\\u0430\\u0432\\u0456\\u043D\\u0435\\u043D \\u0431\\u044B\\u0446\\u044C \\u043A\\u0440\\u0430\\u0442\\u043D\\u044B\\u043C ${r.divisor}`;case\"unrecognized_keys\":return`\\u041D\\u0435\\u0440\\u0430\\u0441\\u043F\\u0430\\u0437\\u043D\\u0430\\u043D\\u044B ${r.keys.length>1?\"\\u043A\\u043B\\u044E\\u0447\\u044B\":\"\\u043A\\u043B\\u044E\\u0447\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u043A\\u043B\\u044E\\u0447 \\u0443 ${r.origin}`;case\"invalid_union\":return\"\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u045E\\u0432\\u043E\\u0434\";case\"invalid_element\":return`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u0430\\u0435 \\u0437\\u043D\\u0430\\u0447\\u044D\\u043D\\u043D\\u0435 \\u045E ${r.origin}`;default:return\"\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u045E\\u0432\\u043E\\u0434\"}}};function d_(){return{localeError:uw()}}var dw=()=>{let e={string:{unit:\"\\u0441\\u0438\\u043C\\u0432\\u043E\\u043B\\u0430\",verb:\"\\u0434\\u0430 \\u0441\\u044A\\u0434\\u044A\\u0440\\u0436\\u0430\"},file:{unit:\"\\u0431\\u0430\\u0439\\u0442\\u0430\",verb:\"\\u0434\\u0430 \\u0441\\u044A\\u0434\\u044A\\u0440\\u0436\\u0430\"},array:{unit:\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\",verb:\"\\u0434\\u0430 \\u0441\\u044A\\u0434\\u044A\\u0440\\u0436\\u0430\"},set:{unit:\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\",verb:\"\\u0434\\u0430 \\u0441\\u044A\\u0434\\u044A\\u0440\\u0436\\u0430\"},map:{unit:\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\",verb:\"\\u0434\\u0430 \\u0441\\u044A\\u0434\\u044A\\u0440\\u0436\\u0430\"}};function t(r){return e[r]??null}let n={regex:\"\\u0432\\u0445\\u043E\\u0434\",email:\"\\u0438\\u043C\\u0435\\u0439\\u043B \\u0430\\u0434\\u0440\\u0435\\u0441\",url:\"URL\",emoji:\"\\u0435\\u043C\\u043E\\u0434\\u0436\\u0438\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0432\\u0440\\u0435\\u043C\\u0435\",date:\"ISO \\u0434\\u0430\\u0442\\u0430\",time:\"ISO \\u0432\\u0440\\u0435\\u043C\\u0435\",duration:\"ISO \\u043F\\u0440\\u043E\\u0434\\u044A\\u043B\\u0436\\u0438\\u0442\\u0435\\u043B\\u043D\\u043E\\u0441\\u0442\",ipv4:\"IPv4 \\u0430\\u0434\\u0440\\u0435\\u0441\",ipv6:\"IPv6 \\u0430\\u0434\\u0440\\u0435\\u0441\",mac:\"MAC \\u0430\\u0434\\u0440\\u0435\\u0441\",cidrv4:\"IPv4 \\u0434\\u0438\\u0430\\u043F\\u0430\\u0437\\u043E\\u043D\",cidrv6:\"IPv6 \\u0434\\u0438\\u0430\\u043F\\u0430\\u0437\\u043E\\u043D\",base64:\"base64-\\u043A\\u043E\\u0434\\u0438\\u0440\\u0430\\u043D \\u043D\\u0438\\u0437\",base64url:\"base64url-\\u043A\\u043E\\u0434\\u0438\\u0440\\u0430\\u043D \\u043D\\u0438\\u0437\",json_string:\"JSON \\u043D\\u0438\\u0437\",e164:\"E.164 \\u043D\\u043E\\u043C\\u0435\\u0440\",credit_card:\"\\u043D\\u043E\\u043C\\u0435\\u0440 \\u043D\\u0430 \\u043A\\u0440\\u0435\\u0434\\u0438\\u0442\\u043D\\u0430 \\u043A\\u0430\\u0440\\u0442\\u0430\",currency_code:\"\\u043A\\u043E\\u0434 \\u043D\\u0430 \\u0432\\u0430\\u043B\\u0443\\u0442\\u0430\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0432\\u0445\\u043E\\u0434\"},o={nan:\"NaN\",number:\"\\u0447\\u0438\\u0441\\u043B\\u043E\",array:\"\\u043C\\u0430\\u0441\\u0438\\u0432\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u0432\\u0445\\u043E\\u0434: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430\\u043D instanceof ${r.expected}, \\u043F\\u043E\\u043B\\u0443\\u0447\\u0435\\u043D ${s}`:`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u0432\\u0445\\u043E\\u0434: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430\\u043D ${i}, \\u043F\\u043E\\u043B\\u0443\\u0447\\u0435\\u043D ${s}`}case\"invalid_value\":return r.values.length===1?`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u0432\\u0445\\u043E\\u0434: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430\\u043D ${w(r.values[0])}`:`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u0430 \\u043E\\u043F\\u0446\\u0438\\u044F: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430\\u043D\\u043E \\u0435\\u0434\\u043D\\u043E \\u043E\\u0442 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0422\\u0432\\u044A\\u0440\\u0434\\u0435 \\u0433\\u043E\\u043B\\u044F\\u043C\\u043E: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430 \\u0441\\u0435 ${r.origin??\"\\u0441\\u0442\\u043E\\u0439\\u043D\\u043E\\u0441\\u0442\"} \\u0434\\u0430 \\u0441\\u044A\\u0434\\u044A\\u0440\\u0436\\u0430 ${i}${r.maximum.toString()} ${a.unit??\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\"}`:`\\u0422\\u0432\\u044A\\u0440\\u0434\\u0435 \\u0433\\u043E\\u043B\\u044F\\u043C\\u043E: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430 \\u0441\\u0435 ${r.origin??\"\\u0441\\u0442\\u043E\\u0439\\u043D\\u043E\\u0441\\u0442\"} \\u0434\\u0430 \\u0431\\u044A\\u0434\\u0435 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0422\\u0432\\u044A\\u0440\\u0434\\u0435 \\u043C\\u0430\\u043B\\u043A\\u043E: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430 \\u0441\\u0435 ${r.origin} \\u0434\\u0430 \\u0441\\u044A\\u0434\\u044A\\u0440\\u0436\\u0430 ${i}${r.minimum.toString()} ${a.unit}`:`\\u0422\\u0432\\u044A\\u0440\\u0434\\u0435 \\u043C\\u0430\\u043B\\u043A\\u043E: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430 \\u0441\\u0435 ${r.origin} \\u0434\\u0430 \\u0431\\u044A\\u0434\\u0435 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;if(i.format===\"starts_with\")return`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u043D\\u0438\\u0437: \\u0442\\u0440\\u044F\\u0431\\u0432\\u0430 \\u0434\\u0430 \\u0437\\u0430\\u043F\\u043E\\u0447\\u0432\\u0430 \\u0441 \"${i.prefix}\"`;if(i.format===\"ends_with\")return`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u043D\\u0438\\u0437: \\u0442\\u0440\\u044F\\u0431\\u0432\\u0430 \\u0434\\u0430 \\u0437\\u0430\\u0432\\u044A\\u0440\\u0448\\u0432\\u0430 \\u0441 \"${i.suffix}\"`;if(i.format===\"includes\")return`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u043D\\u0438\\u0437: \\u0442\\u0440\\u044F\\u0431\\u0432\\u0430 \\u0434\\u0430 \\u0432\\u043A\\u043B\\u044E\\u0447\\u0432\\u0430 \"${i.includes}\"`;if(i.format===\"regex\")return`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u043D\\u0438\\u0437: \\u0442\\u0440\\u044F\\u0431\\u0432\\u0430 \\u0434\\u0430 \\u0441\\u044A\\u0432\\u043F\\u0430\\u0434\\u0430 \\u0441 ${i.pattern}`;let a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D\";return i.format===\"emoji\"&&(a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u043E\"),i.format===\"datetime\"&&(a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u043E\"),i.format===\"date\"&&(a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u0430\"),i.format===\"time\"&&(a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u043E\"),i.format===\"duration\"&&(a=\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u0430\"),`${a} ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u043E \\u0447\\u0438\\u0441\\u043B\\u043E: \\u0442\\u0440\\u044F\\u0431\\u0432\\u0430 \\u0434\\u0430 \\u0431\\u044A\\u0434\\u0435 \\u043A\\u0440\\u0430\\u0442\\u043D\\u043E \\u043D\\u0430 ${r.divisor}`;case\"unrecognized_keys\":return`\\u041D\\u0435\\u0440\\u0430\\u0437\\u043F\\u043E\\u0437\\u043D\\u0430\\u0442${r.keys.length>1?\"\\u0438\":\"\"} \\u043A\\u043B\\u044E\\u0447${r.keys.length>1?\"\\u043E\\u0432\\u0435\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u043A\\u043B\\u044E\\u0447 \\u0432 ${r.origin}`;case\"invalid_union\":return\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u0432\\u0445\\u043E\\u0434\";case\"invalid_element\":return`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u043D\\u0430 \\u0441\\u0442\\u043E\\u0439\\u043D\\u043E\\u0441\\u0442 \\u0432 ${r.origin}`;default:return\"\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u0432\\u0445\\u043E\\u0434\"}}};function m_(){return{localeError:dw()}}var mw=()=>{let e={string:{unit:\"\\u0985\\u0995\\u09CD\\u09B7\\u09B0\",verb:\"\\u09A5\\u09BE\\u0995\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7\"},file:{unit:\"\\u09AC\\u09BE\\u0987\\u099F\",verb:\"\\u09A5\\u09BE\\u0995\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7\"},array:{unit:\"\\u0986\\u0987\\u099F\\u09C7\\u09AE\",verb:\"\\u09A5\\u09BE\\u0995\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7\"},set:{unit:\"\\u0986\\u0987\\u099F\\u09C7\\u09AE\",verb:\"\\u09A5\\u09BE\\u0995\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7\"},map:{unit:\"\\u098F\\u09A8\\u09CD\\u099F\\u09CD\\u09B0\\u09BF\",verb:\"\\u09A5\\u09BE\\u0995\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7\"}};function t(r){return e[r]??null}let n={regex:\"\\u0987\\u09A8\\u09AA\\u09C1\\u099F\",email:\"\\u0987\\u09AE\\u09C7\\u0987\\u09B2 \\u09A0\\u09BF\\u0995\\u09BE\\u09A8\\u09BE\",url:\"URL\",emoji:\"\\u0987\\u09AE\\u09CB\\u099C\\u09BF\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u09A4\\u09BE\\u09B0\\u09BF\\u0996 \\u0993 \\u09B8\\u09AE\\u09AF\\u09BC\",date:\"ISO \\u09A4\\u09BE\\u09B0\\u09BF\\u0996\",time:\"ISO \\u09B8\\u09AE\\u09AF\\u09BC\",duration:\"ISO \\u09B8\\u09AE\\u09AF\\u09BC\\u0995\\u09BE\\u09B2\",ipv4:\"IPv4 \\u09A0\\u09BF\\u0995\\u09BE\\u09A8\\u09BE\",ipv6:\"IPv6 \\u09A0\\u09BF\\u0995\\u09BE\\u09A8\\u09BE\",mac:\"MAC \\u09A0\\u09BF\\u0995\\u09BE\\u09A8\\u09BE\",cidrv4:\"IPv4 \\u09B0\\u09C7\\u099E\\u09CD\\u099C\",cidrv6:\"IPv6 \\u09B0\\u09C7\\u099E\\u09CD\\u099C\",base64:\"base64-\\u098F\\u09A8\\u0995\\u09CB\\u09A1\\u09C7\\u09A1 \\u09B8\\u09CD\\u099F\\u09CD\\u09B0\\u09BF\\u0982\",base64url:\"base64url-\\u098F\\u09A8\\u0995\\u09CB\\u09A1\\u09C7\\u09A1 \\u09B8\\u09CD\\u099F\\u09CD\\u09B0\\u09BF\\u0982\",json_string:\"JSON \\u09B8\\u09CD\\u099F\\u09CD\\u09B0\\u09BF\\u0982\",e164:\"E.164 \\u09A8\\u09AE\\u09CD\\u09AC\\u09B0\",credit_card:\"\\u0995\\u09CD\\u09B0\\u09C7\\u09A1\\u09BF\\u099F \\u0995\\u09BE\\u09B0\\u09CD\\u09A1 \\u09A8\\u09AE\\u09CD\\u09AC\\u09B0\",currency_code:\"\\u09AE\\u09C1\\u09A6\\u09CD\\u09B0\\u09BE \\u0995\\u09CB\\u09A1\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0987\\u09A8\\u09AA\\u09C1\\u099F\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return`\\u0985\\u09AC\\u09C8\\u09A7 \\u0987\\u09A8\\u09AA\\u09C1\\u099F: \\u09AA\\u09CD\\u09B0\\u09A4\\u09CD\\u09AF\\u09BE\\u09B6\\u09BF\\u09A4 ${i}, \\u09AA\\u09CD\\u09B0\\u09BE\\u09AA\\u09CD\\u09A4 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0985\\u09AC\\u09C8\\u09A7 \\u0987\\u09A8\\u09AA\\u09C1\\u099F: \\u09AA\\u09CD\\u09B0\\u09A4\\u09CD\\u09AF\\u09BE\\u09B6\\u09BF\\u09A4 ${w(r.values[0])}`:`\\u0985\\u09AC\\u09C8\\u09A7 \\u0985\\u09AA\\u09B6\\u09A8: ${S(r.values,\" | \")} \\u098F\\u09B0 \\u09AE\\u09A7\\u09CD\\u09AF\\u09C7 \\u098F\\u0995\\u099F\\u09BF \\u09AA\\u09CD\\u09B0\\u09A4\\u09CD\\u09AF\\u09BE\\u09B6\\u09BF\\u09A4`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0985\\u09A8\\u09C7\\u0995 \\u09AC\\u09A1\\u09BC: ${r.origin??\"\\u09AE\\u09BE\\u09A8\"} ${i}${r.maximum.toString()} ${a.unit??\"\\u098F\\u09B2\\u09BF\\u09AE\\u09C7\\u09A8\\u09CD\\u099F\"} \\u09B9\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`:`\\u0985\\u09A8\\u09C7\\u0995 \\u09AC\\u09A1\\u09BC: ${r.origin??\"\\u09AE\\u09BE\\u09A8\"} ${i}${r.maximum.toString()} \\u09B9\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0985\\u09A8\\u09C7\\u0995 \\u099B\\u09CB\\u099F: ${r.origin} ${i}${r.minimum.toString()} ${a.unit} \\u09B9\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`:`\\u0985\\u09A8\\u09C7\\u0995 \\u099B\\u09CB\\u099F: ${r.origin} ${i}${r.minimum.toString()} \\u09B9\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0985\\u09AC\\u09C8\\u09A7 \\u09B8\\u09CD\\u099F\\u09CD\\u09B0\\u09BF\\u0982: \"${i.prefix}\" \\u09A6\\u09BF\\u09AF\\u09BC\\u09C7 \\u09B6\\u09C1\\u09B0\\u09C1 \\u09B9\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`:i.format===\"ends_with\"?`\\u0985\\u09AC\\u09C8\\u09A7 \\u09B8\\u09CD\\u099F\\u09CD\\u09B0\\u09BF\\u0982: \"${i.suffix}\" \\u09A6\\u09BF\\u09AF\\u09BC\\u09C7 \\u09B6\\u09C7\\u09B7 \\u09B9\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`:i.format===\"includes\"?`\\u0985\\u09AC\\u09C8\\u09A7 \\u09B8\\u09CD\\u099F\\u09CD\\u09B0\\u09BF\\u0982: \"${i.includes}\" \\u0985\\u09A8\\u09CD\\u09A4\\u09B0\\u09CD\\u09AD\\u09C1\\u0995\\u09CD\\u09A4 \\u09A5\\u09BE\\u0995\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`:i.format===\"regex\"?`\\u0985\\u09AC\\u09C8\\u09A7 \\u09B8\\u09CD\\u099F\\u09CD\\u09B0\\u09BF\\u0982: ${i.pattern} \\u09AA\\u09CD\\u09AF\\u09BE\\u099F\\u09BE\\u09B0\\u09CD\\u09A8 \\u09AE\\u09BF\\u09B2\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`:`\\u0985\\u09AC\\u09C8\\u09A7 ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u0985\\u09AC\\u09C8\\u09A7 \\u09A8\\u09AE\\u09CD\\u09AC\\u09B0: ${r.divisor} \\u098F\\u09B0 \\u0997\\u09C1\\u09A3\\u09BF\\u09A4\\u0995 \\u09B9\\u09A4\\u09C7 \\u09B9\\u09AC\\u09C7`;case\"unrecognized_keys\":return`\\u0985\\u099A\\u09C7\\u09A8\\u09BE \\u0995\\u09C0${r.keys.length>1?\"\\u0997\\u09C1\\u09B2\\u09CB\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} \\u098F \\u0985\\u09AC\\u09C8\\u09A7 \\u0995\\u09C0`;case\"invalid_union\":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\\u0985\\u09AC\\u09C8\\u09A7 \\u09A1\\u09BF\\u09B8\\u0995\\u09CD\\u09B0\\u09BF\\u09AE\\u09BF\\u09A8\\u09C7\\u099F\\u09B0 \\u09AE\\u09BE\\u09A8\\u0964 \\u09AA\\u09CD\\u09B0\\u09A4\\u09CD\\u09AF\\u09BE\\u09B6\\u09BF\\u09A4 ${r.options.map(a=>`'${a}'`).join(\" | \")}`:\"\\u0985\\u09AC\\u09C8\\u09A7 \\u0987\\u09A8\\u09AA\\u09C1\\u099F\";case\"invalid_element\":return`${r.origin} \\u098F \\u0985\\u09AC\\u09C8\\u09A7 \\u09AE\\u09BE\\u09A8`;default:return\"\\u0985\\u09AC\\u09C8\\u09A7 \\u0987\\u09A8\\u09AA\\u09C1\\u099F\"}}};function p_(){return{localeError:mw()}}var pw=()=>{let e={string:{unit:\"car\\xE0cters\",verb:\"contenir\"},file:{unit:\"bytes\",verb:\"contenir\"},array:{unit:\"elements\",verb:\"contenir\"},set:{unit:\"elements\",verb:\"contenir\"},map:{unit:\"elements\",verb:\"contenir\"}};function t(r){return e[r]??null}let n={regex:\"entrada\",email:\"adre\\xE7a electr\\xF2nica\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"data i hora ISO\",date:\"data ISO\",time:\"hora ISO\",duration:\"durada ISO\",ipv4:\"adre\\xE7a IPv4\",ipv6:\"adre\\xE7a IPv6\",mac:\"adre\\xE7a MAC\",cidrv4:\"rang IPv4\",cidrv6:\"rang IPv6\",base64:\"cadena codificada en base64\",base64url:\"cadena codificada en base64url\",json_string:\"cadena JSON\",e164:\"n\\xFAmero E.164\",credit_card:\"n\\xFAmero de targeta de cr\\xE8dit\",currency_code:\"codi de moneda\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"entrada\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Tipus inv\\xE0lid: s'esperava instanceof ${r.expected}, s'ha rebut ${s}`:`Tipus inv\\xE0lid: s'esperava ${i}, s'ha rebut ${s}`}case\"invalid_value\":return r.values.length===1?`Valor inv\\xE0lid: s'esperava ${w(r.values[0])}`:`Opci\\xF3 inv\\xE0lida: s'esperava una de ${S(r.values,\" o \")}`;case\"too_big\":{let i=r.inclusive?\"com a m\\xE0xim\":\"menys de\",a=t(r.origin);return a?`Massa gran: s'esperava que ${r.origin??\"el valor\"} contingu\\xE9s ${i} ${r.maximum.toString()} ${a.unit??\"elements\"}`:`Massa gran: s'esperava que ${r.origin??\"el valor\"} fos ${i} ${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\"com a m\\xEDnim\":\"m\\xE9s de\",a=t(r.origin);return a?`Massa petit: s'esperava que ${r.origin} contingu\\xE9s ${i} ${r.minimum.toString()} ${a.unit}`:`Massa petit: s'esperava que ${r.origin} fos ${i} ${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Format inv\\xE0lid: ha de comen\\xE7ar amb \"${i.prefix}\"`:i.format===\"ends_with\"?`Format inv\\xE0lid: ha d'acabar amb \"${i.suffix}\"`:i.format===\"includes\"?`Format inv\\xE0lid: ha d'incloure \"${i.includes}\"`:i.format===\"regex\"?`Format inv\\xE0lid: ha de coincidir amb el patr\\xF3 ${i.pattern}`:`Format inv\\xE0lid per a ${n[i.format]??r.format}`}case\"not_multiple_of\":return`N\\xFAmero inv\\xE0lid: ha de ser m\\xFAltiple de ${r.divisor}`;case\"unrecognized_keys\":return`Clau${r.keys.length>1?\"s\":\"\"} no reconeguda${r.keys.length>1?\"s\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Clau inv\\xE0lida a ${r.origin}`;case\"invalid_union\":return\"Entrada inv\\xE0lida\";case\"invalid_element\":return`Element inv\\xE0lid a ${r.origin}`;default:return\"Entrada inv\\xE0lida\"}}};function f_(){return{localeError:pw()}}var fw=()=>{let e={string:{unit:\"\\u067E\\u06CC\\u062A\",verb:\"\\u0628\\u06CE\\u062A\"},file:{unit:\"\\u0628\\u0627\\u06CC\\u062A\",verb:\"\\u0628\\u06CE\\u062A\"},array:{unit:\"\\u062F\\u0627\\u0646\\u06D5\",verb:\"\\u0628\\u06CE\\u062A\"},set:{unit:\"\\u062F\\u0627\\u0646\\u06D5\",verb:\"\\u0628\\u06CE\\u062A\"},map:{unit:\"\\u062F\\u0627\\u0646\\u06D5\",verb:\"\\u0628\\u06CE\\u062A\"}};function t(r){return e[r]??null}let n={regex:\"regex\",email:\"\\u0626\\u06CC\\u0645\\u06D5\\u06CC\\u06B5\",url:\"\\u0628\\u06D5\\u0633\\u062A\\u06D5\\u0631 (URL)\",emoji:\"\\u0626\\u06CC\\u0645\\u06C6\\u062C\\u06CC\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u0695\\u06CE\\u06A9\\u06D5\\u0648\\u062A \\u0648 \\u06A9\\u0627\\u062A\",date:\"\\u0695\\u06CE\\u06A9\\u06D5\\u0648\\u062A\",time:\"\\u06A9\\u0627\\u062A\",duration:\"\\u0645\\u0627\\u0648\\u06D5\",ipv4:\"\\u0646\\u0627\\u0648\\u0646\\u06CC\\u0634\\u0627\\u0646\\u06CC IPv4\",ipv6:\"\\u0646\\u0627\\u0648\\u0646\\u06CC\\u0634\\u0627\\u0646\\u06CC IPv6\",mac:\"\\u0646\\u0627\\u0648\\u0646\\u06CC\\u0634\\u0627\\u0646\\u06CC MAC\",cidrv4:\"\\u0645\\u06D5\\u0648\\u062F\\u0627\\u06CC IPv4\",cidrv6:\"\\u0645\\u06D5\\u0648\\u062F\\u0627\\u06CC IPv6\",base64:\"\\u062F\\u06D5\\u0642\\u06CC base64\",base64url:\"\\u062F\\u06D5\\u0642\\u06CC base64url\",json_string:\"\\u062F\\u06D5\\u0642\\u06CC JSON\",e164:\"\\u0698\\u0645\\u0627\\u0631\\u06D5\\u06CC E.164\",credit_card:\"\\u0698\\u0645\\u0627\\u0631\\u06D5\\u06CC \\u06A9\\u0627\\u0631\\u062A\\u06CC \\u06A9\\u0631\\u06CE\\u062F\\u06CC\\u062A\",currency_code:\"\\u06A9\\u06C6\\u062F\\u06CC \\u062F\\u0631\\u0627\\u0648\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u062A\\u06CE\\u06A9\\u0631\\u062F\\u06D5\"},o={nan:\"NaN\",string:\"\\u0646\\u0648\\u0648\\u0633\\u06CC\\u0646\",number:\"\\u0698\\u0645\\u0627\\u0631\\u06D5\",boolean:\"boolean\",array:\"array\",object:\"object\",date:\"\\u0695\\u06CE\\u06A9\\u06D5\\u0648\\u062A\",integer:\"\\u0698\\u0645\\u0627\\u0631\\u06D5\",float:\"\\u0698\\u0645\\u0627\\u0631\\u06D5\",null:\"null\",undefined:\"undefined\",function:\"function\",symbol:\"symbol\",unknown:\"unknown\",promise:\"promise\",void:\"void\",never:\"never\",map:\"map\",set:\"set\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a,c=[\"\\u0627\",\"\\u0648\",\"\\u06C6\",\"\\u0648\\u0648\",\"\\u06D5\",\"\\u06CC\",\"\\u06CE\"].some(d=>s.endsWith(d))?\"\\u06CC\\u06D5\":\"\\u06D5\",l=/^[a-zA-Z]+$/.test(s);return a===\"null\"||a===\"undefined\"?\"\\u062F\\u0627\\u0648\\u0627\\u06A9\\u0631\\u0627\\u0648\\u06D5\":`\\u0686\\u0627\\u0648\\u06D5\\u0695\\u0648\\u0627\\u0646\\u06A9\\u0631\\u0627\\u0648\\u06D5 ${i} \\u0628\\u06CE\\u062A\\u060C \\u0628\\u06D5\\u06B5\\u0627\\u0645 ${s}${l?\"\":c}`}case\"invalid_value\":return r.values.length===1?`\\u0628\\u06D5\\u0647\\u0627\\u06A9\\u06D5 \\u0646\\u0627\\u062F\\u0631\\u0648\\u0648\\u0633\\u062A\\u06D5: \\u0686\\u0627\\u0648\\u06D5\\u0695\\u0648\\u0627\\u0646\\u06A9\\u0631\\u0627\\u0648\\u06D5 ${w(r.values[0])} \\u0628\\u06CE\\u062A`:`\\u0647\\u06D5\\u06B5\\u0628\\u0698\\u0627\\u0631\\u062F\\u06D5\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A: \\u0686\\u0627\\u0648\\u06D5\\u0695\\u0648\\u0627\\u0646\\u06A9\\u0631\\u0627\\u0648\\u06D5 \\u06CC\\u06D5\\u06A9\\u06CE\\u06A9 \\u0628\\u06CE\\u062A \\u0644\\u06D5 ${S(r.values,\"|\")}`;case\"too_big\":{let i=t(r.origin);return i?`\\u067E\\u06CE\\u0648\\u06CC\\u0633\\u062A\\u06D5 \\u0628\\u06D5 \\u0644\\u0627\\u06CC\\u06D5\\u0646\\u06CC \\u0632\\u06C6\\u0631\\u06D5\\u0648\\u06D5 ${r.maximum.toString()} ${i.unit} ${i.verb}`:`\\u067E\\u06CE\\u0648\\u06CC\\u0633\\u062A\\u06D5 \\u0628\\u06D5 \\u0644\\u0627\\u06CC\\u06D5\\u0646\\u06CC \\u0632\\u06C6\\u0631\\u06D5\\u0648\\u06D5 ${r.maximum.toString()} \\u0628\\u06CE\\u062A`}case\"too_small\":{let i=t(r.origin);return i?`\\u067E\\u06CE\\u0648\\u06CC\\u0633\\u062A\\u06D5 \\u0628\\u06D5 \\u0644\\u0627\\u06CC\\u06D5\\u0646\\u06CC \\u06A9\\u06D5\\u0645\\u06D5\\u0648\\u06D5 ${r.minimum.toString()} ${i.unit} ${i.verb}`:`\\u067E\\u06CE\\u0648\\u06CC\\u0633\\u062A\\u06D5 \\u0628\\u06D5 \\u0644\\u0627\\u06CC\\u06D5\\u0646\\u06CC \\u06A9\\u06D5\\u0645\\u06D5\\u0648\\u06D5 ${r.minimum.toString()} \\u0628\\u06CE\\u062A`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u062F\\u06D5\\u0642\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A: \\u067E\\u06CE\\u0648\\u06CC\\u0633\\u062A\\u06D5 \\u062F\\u06D5\\u0633\\u062A\\u067E\\u06CE\\u0628\\u06A9\\u0627\\u062A \\u0628\\u06D5 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u062F\\u06D5\\u0642\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A: \\u067E\\u06CE\\u0648\\u06CC\\u0633\\u062A\\u06D5 \\u06A9\\u06C6\\u062A\\u0627\\u06CC\\u06CC\\u0628\\u06CE\\u062A \\u0628\\u06D5 \"${i.suffix}\"`:i.format===\"includes\"?`\\u062F\\u06D5\\u0642\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A: \\u067E\\u06CE\\u0648\\u06CC\\u0633\\u062A\\u06D5 \"${i.includes}\" \\u0644\\u06D5\\u062E\\u06C6\\u0628\\u06AF\\u0631\\u06CE\\u062A`:i.format===\"regex\"?`\\u062F\\u06D5\\u0642\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A: \\u067E\\u06CE\\u0648\\u06CC\\u0633\\u062A\\u06D5 \\u0644\\u06D5\\u06AF\\u06D5\\u06B5 \\u067E\\u0627\\u062A\\u06CE\\u0631\\u0646\\u06CC ${i.pattern} \\u0628\\u06AF\\u0648\\u0646\\u062C\\u06CE\\u062A`:`\\u0628\\u06D5\\u0647\\u0627\\u06CC ${n[i.format]??r.format} \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A\\u06D5`}case\"not_multiple_of\":return`\\u0698\\u0645\\u0627\\u0631\\u06D5\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A: \\u062F\\u06D5\\u0628\\u06CE\\u062A \\u0686\\u06D5\\u0646\\u062F \\u0647\\u06CE\\u0646\\u062F\\u06D5 \\u0628\\u06CE\\u062A \\u0628\\u06C6 ${r.divisor}`;case\"unrecognized_keys\":return`\\u06A9\\u0644\\u06CC\\u0644\\u06CC \\u0646\\u06D5\\u0646\\u0627\\u0633\\u0631\\u0627\\u0648: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u06A9\\u0644\\u06CC\\u0644\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A \\u0644\\u06D5 ${r.origin}`;case\"invalid_union\":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\\u0628\\u06D5\\u0647\\u0627\\u06CC \\u0646\\u06D5\\u0646\\u0627\\u0633\\u0631\\u0627\\u0648 \\u0647\\u06D5\\u06CC\\u06D5. \\u0628\\u06D5\\u0647\\u0627\\u06CC \\u0686\\u0627\\u0648\\u06D5\\u0695\\u0648\\u0627\\u0646\\u06A9\\u0631\\u0627\\u0648: ${r.options.map(a=>`'${a}'`).join(\" | \")}`:\"\\u06CC\\u06D5\\u06A9\\u06AF\\u0631\\u062A\\u0646\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A\";case\"invalid_element\":return`${r.origin} \\u0628\\u06D5\\u0647\\u0627\\u06A9\\u06D5 \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A\\u06D5`;default:return\"\\u062A\\u06CE\\u06A9\\u0631\\u062F\\u06D5\\u06CC \\u0646\\u0627\\u062F\\u0631\\u0648\\u0633\\u062A\"}}};function h_(){return{localeError:fw()}}var hw=()=>{let e={string:{unit:\"znak\\u016F\",verb:\"m\\xEDt\"},file:{unit:\"bajt\\u016F\",verb:\"m\\xEDt\"},array:{unit:\"prvk\\u016F\",verb:\"m\\xEDt\"},set:{unit:\"prvk\\u016F\",verb:\"m\\xEDt\"},map:{unit:\"prvk\\u016F\",verb:\"m\\xEDt\"}};function t(r){return e[r]??null}let n={regex:\"regul\\xE1rn\\xED v\\xFDraz\",email:\"e-mailov\\xE1 adresa\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"datum a \\u010Das ve form\\xE1tu ISO\",date:\"datum ve form\\xE1tu ISO\",time:\"\\u010Das ve form\\xE1tu ISO\",duration:\"doba trv\\xE1n\\xED ISO\",ipv4:\"IPv4 adresa\",ipv6:\"IPv6 adresa\",mac:\"MAC adresa\",cidrv4:\"rozsah IPv4\",cidrv6:\"rozsah IPv6\",base64:\"\\u0159et\\u011Bzec zak\\xF3dovan\\xFD ve form\\xE1tu base64\",base64url:\"\\u0159et\\u011Bzec zak\\xF3dovan\\xFD ve form\\xE1tu base64url\",json_string:\"\\u0159et\\u011Bzec ve form\\xE1tu JSON\",e164:\"\\u010D\\xEDslo E.164\",credit_card:\"\\u010D\\xEDslo kreditn\\xED karty\",currency_code:\"k\\xF3d m\\u011Bny\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"vstup\"},o={nan:\"NaN\",number:\"\\u010D\\xEDslo\",string:\"\\u0159et\\u011Bzec\",function:\"funkce\",array:\"pole\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Neplatn\\xFD vstup: o\\u010Dek\\xE1v\\xE1no instanceof ${r.expected}, obdr\\u017Eeno ${s}`:`Neplatn\\xFD vstup: o\\u010Dek\\xE1v\\xE1no ${i}, obdr\\u017Eeno ${s}`}case\"invalid_value\":return r.values.length===1?`Neplatn\\xFD vstup: o\\u010Dek\\xE1v\\xE1no ${w(r.values[0])}`:`Neplatn\\xE1 mo\\u017Enost: o\\u010Dek\\xE1v\\xE1na jedna z hodnot ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Hodnota je p\\u0159\\xEDli\\u0161 velk\\xE1: ${r.origin??\"hodnota\"} mus\\xED m\\xEDt ${i}${r.maximum.toString()} ${a.unit??\"prvk\\u016F\"}`:`Hodnota je p\\u0159\\xEDli\\u0161 velk\\xE1: ${r.origin??\"hodnota\"} mus\\xED b\\xFDt ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Hodnota je p\\u0159\\xEDli\\u0161 mal\\xE1: ${r.origin??\"hodnota\"} mus\\xED m\\xEDt ${i}${r.minimum.toString()} ${a.unit??\"prvk\\u016F\"}`:`Hodnota je p\\u0159\\xEDli\\u0161 mal\\xE1: ${r.origin??\"hodnota\"} mus\\xED b\\xFDt ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Neplatn\\xFD \\u0159et\\u011Bzec: mus\\xED za\\u010D\\xEDnat na \"${i.prefix}\"`:i.format===\"ends_with\"?`Neplatn\\xFD \\u0159et\\u011Bzec: mus\\xED kon\\u010Dit na \"${i.suffix}\"`:i.format===\"includes\"?`Neplatn\\xFD \\u0159et\\u011Bzec: mus\\xED obsahovat \"${i.includes}\"`:i.format===\"regex\"?`Neplatn\\xFD \\u0159et\\u011Bzec: mus\\xED odpov\\xEDdat vzoru ${i.pattern}`:`Neplatn\\xFD form\\xE1t ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Neplatn\\xE9 \\u010D\\xEDslo: mus\\xED b\\xFDt n\\xE1sobkem ${r.divisor}`;case\"unrecognized_keys\":return`Nezn\\xE1m\\xE9 kl\\xED\\u010De: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Neplatn\\xFD kl\\xED\\u010D v ${r.origin}`;case\"invalid_union\":return\"Neplatn\\xFD vstup\";case\"invalid_element\":return`Neplatn\\xE1 hodnota v ${r.origin}`;default:return\"Neplatn\\xFD vstup\"}}};function g_(){return{localeError:hw()}}var gw=()=>{let e={string:{unit:\"tegn\",verb:\"havde\"},file:{unit:\"bytes\",verb:\"havde\"},array:{unit:\"elementer\",verb:\"indeholdt\"},set:{unit:\"elementer\",verb:\"indeholdt\"},map:{unit:\"elementer\",verb:\"indeholdt\"}};function t(r){return e[r]??null}let n={regex:\"input\",email:\"e-mailadresse\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO dato- og klokkesl\\xE6t\",date:\"ISO-dato\",time:\"ISO-klokkesl\\xE6t\",duration:\"ISO-varighed\",ipv4:\"IPv4-adresse\",ipv6:\"IPv6-adresse\",mac:\"MAC-adresse\",cidrv4:\"IPv4-spektrum\",cidrv6:\"IPv6-spektrum\",base64:\"base64-kodet streng\",base64url:\"base64url-kodet streng\",json_string:\"JSON-streng\",e164:\"E.164-nummer\",credit_card:\"kreditkortnummer\",currency_code:\"valutakode\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\",string:\"streng\",number:\"tal\",boolean:\"boolean\",array:\"liste\",object:\"objekt\",set:\"s\\xE6t\",file:\"fil\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Ugyldigt input: forventede instanceof ${r.expected}, fik ${s}`:`Ugyldigt input: forventede ${i}, fik ${s}`}case\"invalid_value\":return r.values.length===1?`Ugyldig v\\xE6rdi: forventede ${w(r.values[0])}`:`Ugyldigt valg: forventede en af f\\xF8lgende ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin),s=o[r.origin]??r.origin;return a?`For stor: forventede ${s??\"value\"} ${a.verb} ${i} ${r.maximum.toString()} ${a.unit??\"elementer\"}`:`For stor: forventede ${s??\"value\"} havde ${i} ${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin),s=o[r.origin]??r.origin;return a?`For lille: forventede ${s} ${a.verb} ${i} ${r.minimum.toString()} ${a.unit}`:`For lille: forventede ${s} havde ${i} ${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Ugyldig streng: skal starte med \"${i.prefix}\"`:i.format===\"ends_with\"?`Ugyldig streng: skal ende med \"${i.suffix}\"`:i.format===\"includes\"?`Ugyldig streng: skal indeholde \"${i.includes}\"`:i.format===\"regex\"?`Ugyldig streng: skal matche m\\xF8nsteret ${i.pattern}`:`Ugyldig ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Ugyldigt tal: skal v\\xE6re deleligt med ${r.divisor}`;case\"unrecognized_keys\":return`${r.keys.length>1?\"Ukendte n\\xF8gler\":\"Ukendt n\\xF8gle\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Ugyldig n\\xF8gle i ${r.origin}`;case\"invalid_union\":return\"Ugyldigt input: matcher ingen af de tilladte typer\";case\"invalid_element\":return`Ugyldig v\\xE6rdi i ${r.origin}`;default:return\"Ugyldigt input\"}}};function v_(){return{localeError:gw()}}var vw=()=>{let e={string:{unit:\"Zeichen\",verb:\"zu haben\"},file:{unit:\"Bytes\",verb:\"zu haben\"},array:{unit:\"Elemente\",verb:\"zu haben\"},set:{unit:\"Elemente\",verb:\"zu haben\"},map:{unit:\"Elemente\",verb:\"zu haben\"}};function t(r){return e[r]??null}let n={regex:\"Eingabe\",email:\"E-Mail-Adresse\",url:\"URL\",emoji:\"Emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO-Datum und -Uhrzeit\",date:\"ISO-Datum\",time:\"ISO-Uhrzeit\",duration:\"ISO-Dauer\",ipv4:\"IPv4-Adresse\",ipv6:\"IPv6-Adresse\",mac:\"MAC-Adresse\",cidrv4:\"IPv4-Bereich\",cidrv6:\"IPv6-Bereich\",base64:\"Base64-codierter String\",base64url:\"Base64-URL-codierter String\",json_string:\"JSON-String\",e164:\"E.164-Nummer\",credit_card:\"Kreditkartennummer\",currency_code:\"W\\xE4hrungscode\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"Eingabe\"},o={nan:\"NaN\",number:\"Zahl\",array:\"Array\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Ung\\xFCltige Eingabe: erwartet instanceof ${r.expected}, erhalten ${s}`:`Ung\\xFCltige Eingabe: erwartet ${i}, erhalten ${s}`}case\"invalid_value\":return r.values.length===1?`Ung\\xFCltige Eingabe: erwartet ${w(r.values[0])}`:`Ung\\xFCltige Option: erwartet eine von ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Zu gro\\xDF: erwartet, dass ${r.origin??\"Wert\"} ${i}${r.maximum.toString()} ${a.unit??\"Elemente\"} hat`:`Zu gro\\xDF: erwartet, dass ${r.origin??\"Wert\"} ${i}${r.maximum.toString()} ist`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Zu klein: erwartet, dass ${r.origin} ${i}${r.minimum.toString()} ${a.unit} hat`:`Zu klein: erwartet, dass ${r.origin} ${i}${r.minimum.toString()} ist`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Ung\\xFCltiger String: muss mit \"${i.prefix}\" beginnen`:i.format===\"ends_with\"?`Ung\\xFCltiger String: muss mit \"${i.suffix}\" enden`:i.format===\"includes\"?`Ung\\xFCltiger String: muss \"${i.includes}\" enthalten`:i.format===\"regex\"?`Ung\\xFCltiger String: muss dem Muster ${i.pattern} entsprechen`:`Ung\\xFCltig: ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Ung\\xFCltige Zahl: muss ein Vielfaches von ${r.divisor} sein`;case\"unrecognized_keys\":return`${r.keys.length>1?\"Unbekannte Schl\\xFCssel\":\"Unbekannter Schl\\xFCssel\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Ung\\xFCltiger Schl\\xFCssel in ${r.origin}`;case\"invalid_union\":return\"Ung\\xFCltige Eingabe\";case\"invalid_element\":return`Ung\\xFCltiger Wert in ${r.origin}`;default:return\"Ung\\xFCltige Eingabe\"}}};function __(){return{localeError:vw()}}var _w=()=>{let e={string:{unit:\"\\u03C7\\u03B1\\u03C1\\u03B1\\u03BA\\u03C4\\u03AE\\u03C1\\u03B5\\u03C2\",verb:\"\\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9\"},file:{unit:\"bytes\",verb:\"\\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9\"},array:{unit:\"\\u03C3\\u03C4\\u03BF\\u03B9\\u03C7\\u03B5\\u03AF\\u03B1\",verb:\"\\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9\"},set:{unit:\"\\u03C3\\u03C4\\u03BF\\u03B9\\u03C7\\u03B5\\u03AF\\u03B1\",verb:\"\\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9\"},map:{unit:\"\\u03BA\\u03B1\\u03C4\\u03B1\\u03C7\\u03C9\\u03C1\\u03AE\\u03C3\\u03B5\\u03B9\\u03C2\",verb:\"\\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9\"}};function t(r){return e[r]??null}let n={regex:\"\\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2\",email:\"\\u03B4\\u03B9\\u03B5\\u03CD\\u03B8\\u03C5\\u03BD\\u03C3\\u03B7 email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u03B7\\u03BC\\u03B5\\u03C1\\u03BF\\u03BC\\u03B7\\u03BD\\u03AF\\u03B1 \\u03BA\\u03B1\\u03B9 \\u03CE\\u03C1\\u03B1\",date:\"ISO \\u03B7\\u03BC\\u03B5\\u03C1\\u03BF\\u03BC\\u03B7\\u03BD\\u03AF\\u03B1\",time:\"ISO \\u03CE\\u03C1\\u03B1\",duration:\"ISO \\u03B4\\u03B9\\u03AC\\u03C1\\u03BA\\u03B5\\u03B9\\u03B1\",ipv4:\"\\u03B4\\u03B9\\u03B5\\u03CD\\u03B8\\u03C5\\u03BD\\u03C3\\u03B7 IPv4\",ipv6:\"\\u03B4\\u03B9\\u03B5\\u03CD\\u03B8\\u03C5\\u03BD\\u03C3\\u03B7 IPv6\",mac:\"\\u03B4\\u03B9\\u03B5\\u03CD\\u03B8\\u03C5\\u03BD\\u03C3\\u03B7 MAC\",cidrv4:\"\\u03B5\\u03CD\\u03C1\\u03BF\\u03C2 IPv4\",cidrv6:\"\\u03B5\\u03CD\\u03C1\\u03BF\\u03C2 IPv6\",base64:\"\\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC \\u03BA\\u03C9\\u03B4\\u03B9\\u03BA\\u03BF\\u03C0\\u03BF\\u03B9\\u03B7\\u03BC\\u03AD\\u03BD\\u03B7 \\u03C3\\u03B5 base64\",base64url:\"\\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC \\u03BA\\u03C9\\u03B4\\u03B9\\u03BA\\u03BF\\u03C0\\u03BF\\u03B9\\u03B7\\u03BC\\u03AD\\u03BD\\u03B7 \\u03C3\\u03B5 base64url\",json_string:\"\\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC JSON\",e164:\"\\u03B1\\u03C1\\u03B9\\u03B8\\u03BC\\u03CC\\u03C2 E.164\",credit_card:\"\\u03B1\\u03C1\\u03B9\\u03B8\\u03BC\\u03CC\\u03C2 \\u03C0\\u03B9\\u03C3\\u03C4\\u03C9\\u03C4\\u03B9\\u03BA\\u03AE\\u03C2 \\u03BA\\u03AC\\u03C1\\u03C4\\u03B1\\u03C2\",currency_code:\"\\u03BA\\u03C9\\u03B4\\u03B9\\u03BA\\u03CC\\u03C2 \\u03BD\\u03BF\\u03BC\\u03AF\\u03C3\\u03BC\\u03B1\\u03C4\\u03BF\\u03C2\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return typeof r.expected==\"string\"&&/^[A-Z]/.test(r.expected)?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD instanceof ${r.expected}, \\u03BB\\u03AE\\u03C6\\u03B8\\u03B7\\u03BA\\u03B5 ${s}`:`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${i}, \\u03BB\\u03AE\\u03C6\\u03B8\\u03B7\\u03BA\\u03B5 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${w(r.values[0])}`:`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03C0\\u03B9\\u03BB\\u03BF\\u03B3\\u03AE: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD \\u03AD\\u03BD\\u03B1 \\u03B1\\u03C0\\u03CC ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u03A0\\u03BF\\u03BB\\u03CD \\u03BC\\u03B5\\u03B3\\u03AC\\u03BB\\u03BF: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${r.origin??\"\\u03C4\\u03B9\\u03BC\\u03AE\"} \\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9 ${i}${r.maximum.toString()} ${a.unit??\"\\u03C3\\u03C4\\u03BF\\u03B9\\u03C7\\u03B5\\u03AF\\u03B1\"}`:`\\u03A0\\u03BF\\u03BB\\u03CD \\u03BC\\u03B5\\u03B3\\u03AC\\u03BB\\u03BF: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${r.origin??\"\\u03C4\\u03B9\\u03BC\\u03AE\"} \\u03BD\\u03B1 \\u03B5\\u03AF\\u03BD\\u03B1\\u03B9 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u03A0\\u03BF\\u03BB\\u03CD \\u03BC\\u03B9\\u03BA\\u03C1\\u03CC: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${r.origin} \\u03BD\\u03B1 \\u03AD\\u03C7\\u03B5\\u03B9 ${i}${r.minimum.toString()} ${a.unit}`:`\\u03A0\\u03BF\\u03BB\\u03CD \\u03BC\\u03B9\\u03BA\\u03C1\\u03CC: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${r.origin} \\u03BD\\u03B1 \\u03B5\\u03AF\\u03BD\\u03B1\\u03B9 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC: \\u03C0\\u03C1\\u03AD\\u03C0\\u03B5\\u03B9 \\u03BD\\u03B1 \\u03BE\\u03B5\\u03BA\\u03B9\\u03BD\\u03AC \\u03BC\\u03B5 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC: \\u03C0\\u03C1\\u03AD\\u03C0\\u03B5\\u03B9 \\u03BD\\u03B1 \\u03C4\\u03B5\\u03BB\\u03B5\\u03B9\\u03CE\\u03BD\\u03B5\\u03B9 \\u03BC\\u03B5 \"${i.suffix}\"`:i.format===\"includes\"?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC: \\u03C0\\u03C1\\u03AD\\u03C0\\u03B5\\u03B9 \\u03BD\\u03B1 \\u03C0\\u03B5\\u03C1\\u03B9\\u03AD\\u03C7\\u03B5\\u03B9 \"${i.includes}\"`:i.format===\"regex\"?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03C3\\u03C5\\u03BC\\u03B2\\u03BF\\u03BB\\u03BF\\u03C3\\u03B5\\u03B9\\u03C1\\u03AC: \\u03C0\\u03C1\\u03AD\\u03C0\\u03B5\\u03B9 \\u03BD\\u03B1 \\u03C4\\u03B1\\u03B9\\u03C1\\u03B9\\u03AC\\u03B6\\u03B5\\u03B9 \\u03BC\\u03B5 \\u03C4\\u03BF \\u03BC\\u03BF\\u03C4\\u03AF\\u03B2\\u03BF ${i.pattern}`:`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03BF: ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03BF\\u03C2 \\u03B1\\u03C1\\u03B9\\u03B8\\u03BC\\u03CC\\u03C2: \\u03C0\\u03C1\\u03AD\\u03C0\\u03B5\\u03B9 \\u03BD\\u03B1 \\u03B5\\u03AF\\u03BD\\u03B1\\u03B9 \\u03C0\\u03BF\\u03BB\\u03BB\\u03B1\\u03C0\\u03BB\\u03AC\\u03C3\\u03B9\\u03BF \\u03C4\\u03BF\\u03C5 ${r.divisor}`;case\"unrecognized_keys\":return`\\u0386\\u03B3\\u03BD\\u03C9\\u03C3\\u03C4${r.keys.length>1?\"\\u03B1\":\"\\u03BF\"} \\u03BA\\u03BB\\u03B5\\u03B9\\u03B4${r.keys.length>1?\"\\u03B9\\u03AC\":\"\\u03AF\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03BF \\u03BA\\u03BB\\u03B5\\u03B9\\u03B4\\u03AF \\u03C3\\u03C4\\u03BF ${r.origin}`;case\"invalid_union\":return\"\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2\";case\"invalid_element\":return`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03C4\\u03B9\\u03BC\\u03AE \\u03C3\\u03C4\\u03BF ${r.origin}`;default:return\"\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2\"}}};function S_(){return{localeError:_w()}}var Sw=()=>{let e={string:{unit:\"characters\",verb:\"to have\"},file:{unit:\"bytes\",verb:\"to have\"},array:{unit:\"items\",verb:\"to have\"},set:{unit:\"items\",verb:\"to have\"},map:{unit:\"entries\",verb:\"to have\"}};function t(i){return e[i]??null}let n={regex:\"input\",email:\"email address\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO datetime\",date:\"ISO date\",time:\"ISO time\",duration:\"ISO duration\",ipv4:\"IPv4 address\",ipv6:\"IPv6 address\",mac:\"MAC address\",cidrv4:\"IPv4 range\",cidrv6:\"IPv6 range\",base64:\"base64-encoded string\",base64url:\"base64url-encoded string\",json_string:\"JSON string\",e164:\"E.164 number\",currency_code:\"currency code\",credit_card:\"credit card number\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\"};function r(i,a){return i===\"number\"&&typeof a==\"number\"&&!Number.isFinite(a)?String(a):o[i]??i}return i=>{switch(i.code){case\"invalid_type\":{let a=r(i.expected),s=k(i.input),c=r(s,i.input);return`Invalid input: expected ${a}, received ${c}`}case\"invalid_value\":return i.values.length===1?`Invalid input: expected ${w(i.values[0])}`:`Invalid option: expected one of ${S(i.values,\"|\")}`;case\"too_big\":{let a=i.exact?\"exactly \":i.inclusive?\"<=\":\"<\",s=t(i.origin);return s?`Too big: expected ${i.origin??\"value\"} to have ${a}${i.maximum.toString()} ${s.unit??\"elements\"}`:`Too big: expected ${i.origin??\"value\"} to be ${a}${i.maximum.toString()}`}case\"too_small\":{let a=i.exact?\"exactly \":i.inclusive?\">=\":\">\",s=t(i.origin);return s?`Too small: expected ${i.origin} to have ${a}${i.minimum.toString()} ${s.unit}`:`Too small: expected ${i.origin} to be ${a}${i.minimum.toString()}`}case\"invalid_format\":{let a=i;return a.format===\"starts_with\"?`Invalid string: must start with \"${a.prefix}\"`:a.format===\"ends_with\"?`Invalid string: must end with \"${a.suffix}\"`:a.format===\"includes\"?`Invalid string: must include \"${a.includes}\"`:a.format===\"regex\"?`Invalid string: must match pattern ${a.pattern}`:`Invalid ${n[a.format]??i.format}`}case\"not_multiple_of\":return`Invalid number: must be a multiple of ${i.divisor}`;case\"unrecognized_keys\":return`Unrecognized key${i.keys.length>1?\"s\":\"\"}: ${S(i.keys,\", \")}`;case\"invalid_key\":return`Invalid key in ${i.origin}`;case\"invalid_union\":return i.options&&Array.isArray(i.options)&&i.options.length>0?`Invalid discriminator value. Expected ${i.options.map(s=>`'${s}'`).join(\" | \")}`:i.inclusive===!1?\"Invalid input: more than one option matched\":\"Invalid input\";case\"invalid_element\":return`Invalid value in ${i.origin}`;default:return\"Invalid input\"}}};function Rl(){return{localeError:Sw()}}var yw=()=>{let e={string:{unit:\"karaktrojn\",verb:\"havi\"},file:{unit:\"bajtojn\",verb:\"havi\"},array:{unit:\"elementojn\",verb:\"havi\"},set:{unit:\"elementojn\",verb:\"havi\"},map:{unit:\"elementojn\",verb:\"havi\"}};function t(r){return e[r]??null}let n={regex:\"enigo\",email:\"retadreso\",url:\"URL\",emoji:\"emo\\u011Dio\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO-datotempo\",date:\"ISO-dato\",time:\"ISO-tempo\",duration:\"ISO-da\\u016Dro\",ipv4:\"IPv4-adreso\",ipv6:\"IPv6-adreso\",mac:\"MAC-adreso\",cidrv4:\"IPv4-rango\",cidrv6:\"IPv6-rango\",base64:\"64-ume kodita karaktraro\",base64url:\"URL-64-ume kodita karaktraro\",json_string:\"JSON-karaktraro\",e164:\"E.164-nombro\",credit_card:\"kreditkarta numero\",currency_code:\"valuta kodo\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"enigo\"},o={nan:\"NaN\",number:\"nombro\",array:\"tabelo\",null:\"senvalora\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Nevalida enigo: atendi\\u011Dis instanceof ${r.expected}, ricevi\\u011Dis ${s}`:`Nevalida enigo: atendi\\u011Dis ${i}, ricevi\\u011Dis ${s}`}case\"invalid_value\":return r.values.length===1?`Nevalida enigo: atendi\\u011Dis ${w(r.values[0])}`:`Nevalida opcio: atendi\\u011Dis unu el ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Tro granda: atendi\\u011Dis ke ${r.origin??\"valoro\"} havu ${i}${r.maximum.toString()} ${a.unit??\"elementojn\"}`:`Tro granda: atendi\\u011Dis ke ${r.origin??\"valoro\"} havu ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Tro malgranda: atendi\\u011Dis ke ${r.origin} havu ${i}${r.minimum.toString()} ${a.unit}`:`Tro malgranda: atendi\\u011Dis ke ${r.origin} estu ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Nevalida karaktraro: devas komenci\\u011Di per \"${i.prefix}\"`:i.format===\"ends_with\"?`Nevalida karaktraro: devas fini\\u011Di per \"${i.suffix}\"`:i.format===\"includes\"?`Nevalida karaktraro: devas inkluzivi \"${i.includes}\"`:i.format===\"regex\"?`Nevalida karaktraro: devas kongrui kun la modelo ${i.pattern}`:`Nevalida ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Nevalida nombro: devas esti oblo de ${r.divisor}`;case\"unrecognized_keys\":return`Nekonata${r.keys.length>1?\"j\":\"\"} \\u015Dlosilo${r.keys.length>1?\"j\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Nevalida \\u015Dlosilo en ${r.origin}`;case\"invalid_union\":return\"Nevalida enigo\";case\"invalid_element\":return`Nevalida valoro en ${r.origin}`;default:return\"Nevalida enigo\"}}};function y_(){return{localeError:yw()}}var bw=()=>{let e={string:{unit:\"caracteres\",verb:\"tener\"},file:{unit:\"bytes\",verb:\"tener\"},array:{unit:\"elementos\",verb:\"tener\"},set:{unit:\"elementos\",verb:\"tener\"}};function t(r){return e[r]??null}let n={regex:\"entrada\",email:\"direcci\\xF3n de correo electr\\xF3nico\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"fecha y hora ISO\",date:\"fecha ISO\",time:\"hora ISO\",duration:\"duraci\\xF3n ISO\",ipv4:\"direcci\\xF3n IPv4\",ipv6:\"direcci\\xF3n IPv6\",mac:\"direcci\\xF3n MAC\",cidrv4:\"rango IPv4\",cidrv6:\"rango IPv6\",base64:\"cadena codificada en base64\",base64url:\"URL codificada en base64\",json_string:\"cadena JSON\",e164:\"n\\xFAmero E.164\",credit_card:\"n\\xFAmero de tarjeta de cr\\xE9dito\",currency_code:\"c\\xF3digo de moneda\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"entrada\"},o={nan:\"NaN\",string:\"texto\",number:\"n\\xFAmero\",boolean:\"booleano\",array:\"arreglo\",object:\"objeto\",set:\"conjunto\",file:\"archivo\",date:\"fecha\",bigint:\"n\\xFAmero grande\",symbol:\"s\\xEDmbolo\",undefined:\"indefinido\",null:\"nulo\",function:\"funci\\xF3n\",map:\"mapa\",record:\"registro\",tuple:\"tupla\",enum:\"enumeraci\\xF3n\",union:\"uni\\xF3n\",literal:\"literal\",promise:\"promesa\",void:\"vac\\xEDo\",never:\"nunca\",unknown:\"desconocido\",any:\"cualquiera\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Entrada inv\\xE1lida: se esperaba instanceof ${r.expected}, recibido ${s}`:`Entrada inv\\xE1lida: se esperaba ${i}, recibido ${s}`}case\"invalid_value\":return r.values.length===1?`Entrada inv\\xE1lida: se esperaba ${w(r.values[0])}`:`Opci\\xF3n inv\\xE1lida: se esperaba una de ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin),s=o[r.origin]??r.origin;return a?`Demasiado grande: se esperaba que ${s??\"valor\"} tuviera ${i}${r.maximum.toString()} ${a.unit??\"elementos\"}`:`Demasiado grande: se esperaba que ${s??\"valor\"} fuera ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin),s=o[r.origin]??r.origin;return a?`Demasiado peque\\xF1o: se esperaba que ${s} tuviera ${i}${r.minimum.toString()} ${a.unit}`:`Demasiado peque\\xF1o: se esperaba que ${s} fuera ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Cadena inv\\xE1lida: debe comenzar con \"${i.prefix}\"`:i.format===\"ends_with\"?`Cadena inv\\xE1lida: debe terminar en \"${i.suffix}\"`:i.format===\"includes\"?`Cadena inv\\xE1lida: debe incluir \"${i.includes}\"`:i.format===\"regex\"?`Cadena inv\\xE1lida: debe coincidir con el patr\\xF3n ${i.pattern}`:`Inv\\xE1lido ${n[i.format]??r.format}`}case\"not_multiple_of\":return`N\\xFAmero inv\\xE1lido: debe ser m\\xFAltiplo de ${r.divisor}`;case\"unrecognized_keys\":return`Llave${r.keys.length>1?\"s\":\"\"} desconocida${r.keys.length>1?\"s\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Llave inv\\xE1lida en ${o[r.origin]??r.origin}`;case\"invalid_union\":return\"Entrada inv\\xE1lida\";case\"invalid_element\":return`Valor inv\\xE1lido en ${o[r.origin]??r.origin}`;default:return\"Entrada inv\\xE1lida\"}}};function b_(){return{localeError:bw()}}var $w=()=>{let e={string:{unit:\"\\u06A9\\u0627\\u0631\\u0627\\u06A9\\u062A\\u0631\",verb:\"\\u062F\\u0627\\u0634\\u062A\\u0647 \\u0628\\u0627\\u0634\\u062F\"},file:{unit:\"\\u0628\\u0627\\u06CC\\u062A\",verb:\"\\u062F\\u0627\\u0634\\u062A\\u0647 \\u0628\\u0627\\u0634\\u062F\"},array:{unit:\"\\u0622\\u06CC\\u062A\\u0645\",verb:\"\\u062F\\u0627\\u0634\\u062A\\u0647 \\u0628\\u0627\\u0634\\u062F\"},set:{unit:\"\\u0622\\u06CC\\u062A\\u0645\",verb:\"\\u062F\\u0627\\u0634\\u062A\\u0647 \\u0628\\u0627\\u0634\\u062F\"},map:{unit:\"\\u0622\\u06CC\\u062A\\u0645\",verb:\"\\u062F\\u0627\\u0634\\u062A\\u0647 \\u0628\\u0627\\u0634\\u062F\"}};function t(r){return e[r]??null}let n={regex:\"\\u0648\\u0631\\u0648\\u062F\\u06CC\",email:\"\\u0622\\u062F\\u0631\\u0633 \\u0627\\u06CC\\u0645\\u06CC\\u0644\",url:\"URL\",emoji:\"\\u0627\\u06CC\\u0645\\u0648\\u062C\\u06CC\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u062A\\u0627\\u0631\\u06CC\\u062E \\u0648 \\u0632\\u0645\\u0627\\u0646 \\u0627\\u06CC\\u0632\\u0648\",date:\"\\u062A\\u0627\\u0631\\u06CC\\u062E \\u0627\\u06CC\\u0632\\u0648\",time:\"\\u0632\\u0645\\u0627\\u0646 \\u0627\\u06CC\\u0632\\u0648\",duration:\"\\u0645\\u062F\\u062A \\u0632\\u0645\\u0627\\u0646 \\u0627\\u06CC\\u0632\\u0648\",ipv4:\"IPv4 \\u0622\\u062F\\u0631\\u0633\",ipv6:\"IPv6 \\u0622\\u062F\\u0631\\u0633\",mac:\"MAC \\u0622\\u062F\\u0631\\u0633\",cidrv4:\"IPv4 \\u062F\\u0627\\u0645\\u0646\\u0647\",cidrv6:\"IPv6 \\u062F\\u0627\\u0645\\u0646\\u0647\",base64:\"base64-encoded \\u0631\\u0634\\u062A\\u0647\",base64url:\"base64url-encoded \\u0631\\u0634\\u062A\\u0647\",json_string:\"JSON \\u0631\\u0634\\u062A\\u0647\",e164:\"E.164 \\u0639\\u062F\\u062F\",credit_card:\"\\u0634\\u0645\\u0627\\u0631\\u0647 \\u06A9\\u0627\\u0631\\u062A \\u0627\\u0639\\u062A\\u0628\\u0627\\u0631\\u06CC\",currency_code:\"\\u06A9\\u062F \\u0627\\u0631\\u0632\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0648\\u0631\\u0648\\u062F\\u06CC\"},o={nan:\"NaN\",number:\"\\u0639\\u062F\\u062F\",array:\"\\u0622\\u0631\\u0627\\u06CC\\u0647\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u0648\\u0631\\u0648\\u062F\\u06CC \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0645\\u06CC\\u200C\\u0628\\u0627\\u06CC\\u0633\\u062A instanceof ${r.expected} \\u0645\\u06CC\\u200C\\u0628\\u0648\\u062F\\u060C ${s} \\u062F\\u0631\\u06CC\\u0627\\u0641\\u062A \\u0634\\u062F`:`\\u0648\\u0631\\u0648\\u062F\\u06CC \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0645\\u06CC\\u200C\\u0628\\u0627\\u06CC\\u0633\\u062A ${i} \\u0645\\u06CC\\u200C\\u0628\\u0648\\u062F\\u060C ${s} \\u062F\\u0631\\u06CC\\u0627\\u0641\\u062A \\u0634\\u062F`}case\"invalid_value\":return r.values.length===1?`\\u0648\\u0631\\u0648\\u062F\\u06CC \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0645\\u06CC\\u200C\\u0628\\u0627\\u06CC\\u0633\\u062A ${w(r.values[0])} \\u0645\\u06CC\\u200C\\u0628\\u0648\\u062F`:`\\u06AF\\u0632\\u06CC\\u0646\\u0647 \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0645\\u06CC\\u200C\\u0628\\u0627\\u06CC\\u0633\\u062A \\u06CC\\u06A9\\u06CC \\u0627\\u0632 ${S(r.values,\"|\")} \\u0645\\u06CC\\u200C\\u0628\\u0648\\u062F`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u062E\\u06CC\\u0644\\u06CC \\u0628\\u0632\\u0631\\u06AF: ${r.origin??\"\\u0645\\u0642\\u062F\\u0627\\u0631\"} \\u0628\\u0627\\u06CC\\u062F ${i}${r.maximum.toString()} ${a.unit??\"\\u0639\\u0646\\u0635\\u0631\"} \\u0628\\u0627\\u0634\\u062F`:`\\u062E\\u06CC\\u0644\\u06CC \\u0628\\u0632\\u0631\\u06AF: ${r.origin??\"\\u0645\\u0642\\u062F\\u0627\\u0631\"} \\u0628\\u0627\\u06CC\\u062F ${i}${r.maximum.toString()} \\u0628\\u0627\\u0634\\u062F`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u062E\\u06CC\\u0644\\u06CC \\u06A9\\u0648\\u0686\\u06A9: ${r.origin} \\u0628\\u0627\\u06CC\\u062F ${i}${r.minimum.toString()} ${a.unit} \\u0628\\u0627\\u0634\\u062F`:`\\u062E\\u06CC\\u0644\\u06CC \\u06A9\\u0648\\u0686\\u06A9: ${r.origin} \\u0628\\u0627\\u06CC\\u062F ${i}${r.minimum.toString()} \\u0628\\u0627\\u0634\\u062F`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0631\\u0634\\u062A\\u0647 \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0628\\u0627\\u06CC\\u062F \\u0628\\u0627 \"${i.prefix}\" \\u0634\\u0631\\u0648\\u0639 \\u0634\\u0648\\u062F`:i.format===\"ends_with\"?`\\u0631\\u0634\\u062A\\u0647 \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0628\\u0627\\u06CC\\u062F \\u0628\\u0627 \"${i.suffix}\" \\u062A\\u0645\\u0627\\u0645 \\u0634\\u0648\\u062F`:i.format===\"includes\"?`\\u0631\\u0634\\u062A\\u0647 \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0628\\u0627\\u06CC\\u062F \\u0634\\u0627\\u0645\\u0644 \"${i.includes}\" \\u0628\\u0627\\u0634\\u062F`:i.format===\"regex\"?`\\u0631\\u0634\\u062A\\u0647 \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0628\\u0627\\u06CC\\u062F \\u0628\\u0627 \\u0627\\u0644\\u06AF\\u0648\\u06CC ${i.pattern} \\u0645\\u0637\\u0627\\u0628\\u0642\\u062A \\u062F\\u0627\\u0634\\u062A\\u0647 \\u0628\\u0627\\u0634\\u062F`:`${n[i.format]??r.format} \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631`}case\"not_multiple_of\":return`\\u0639\\u062F\\u062F \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0628\\u0627\\u06CC\\u062F \\u0645\\u0636\\u0631\\u0628 ${r.divisor} \\u0628\\u0627\\u0634\\u062F`;case\"unrecognized_keys\":return`\\u06A9\\u0644\\u06CC\\u062F${r.keys.length>1?\"\\u0647\\u0627\\u06CC\":\"\"} \\u0646\\u0627\\u0634\\u0646\\u0627\\u0633: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u06A9\\u0644\\u06CC\\u062F \\u0646\\u0627\\u0634\\u0646\\u0627\\u0633 \\u062F\\u0631 ${r.origin}`;case\"invalid_union\":return\"\\u0648\\u0631\\u0648\\u062F\\u06CC \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631\";case\"invalid_element\":return`\\u0645\\u0642\\u062F\\u0627\\u0631 \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631 \\u062F\\u0631 ${r.origin}`;default:return\"\\u0648\\u0631\\u0648\\u062F\\u06CC \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631\"}}};function $_(){return{localeError:$w()}}var zw=()=>{let e={string:{unit:\"merkki\\xE4\",subject:\"merkkijonon\"},file:{unit:\"tavua\",subject:\"tiedoston\"},array:{unit:\"alkiota\",subject:\"listan\"},set:{unit:\"alkiota\",subject:\"joukon\"},map:{unit:\"alkiota\",subject:\"kuvauksen\"},number:{unit:\"\",subject:\"luvun\"},bigint:{unit:\"\",subject:\"suuren kokonaisluvun\"},int:{unit:\"\",subject:\"kokonaisluvun\"},date:{unit:\"\",subject:\"p\\xE4iv\\xE4m\\xE4\\xE4r\\xE4n\"}};function t(r){return e[r]??null}let n={regex:\"s\\xE4\\xE4nn\\xF6llinen lauseke\",email:\"s\\xE4hk\\xF6postiosoite\",url:\"URL-osoite\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO-aikaleima\",date:\"ISO-p\\xE4iv\\xE4m\\xE4\\xE4r\\xE4\",time:\"ISO-aika\",duration:\"ISO-kesto\",ipv4:\"IPv4-osoite\",ipv6:\"IPv6-osoite\",mac:\"MAC-osoite\",cidrv4:\"IPv4-alue\",cidrv6:\"IPv6-alue\",base64:\"base64-koodattu merkkijono\",base64url:\"base64url-koodattu merkkijono\",json_string:\"JSON-merkkijono\",e164:\"E.164-luku\",credit_card:\"luottokortin numero\",currency_code:\"valuuttakoodi\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"templaattimerkkijono\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Virheellinen tyyppi: odotettiin instanceof ${r.expected}, oli ${s}`:`Virheellinen tyyppi: odotettiin ${i}, oli ${s}`}case\"invalid_value\":return r.values.length===1?`Virheellinen sy\\xF6te: t\\xE4ytyy olla ${w(r.values[0])}`:`Virheellinen valinta: t\\xE4ytyy olla yksi seuraavista: ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Liian suuri: ${a.subject} t\\xE4ytyy olla ${i}${r.maximum.toString()} ${a.unit}`.trim():`Liian suuri: arvon t\\xE4ytyy olla ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Liian pieni: ${a.subject} t\\xE4ytyy olla ${i}${r.minimum.toString()} ${a.unit}`.trim():`Liian pieni: arvon t\\xE4ytyy olla ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Virheellinen sy\\xF6te: t\\xE4ytyy alkaa \"${i.prefix}\"`:i.format===\"ends_with\"?`Virheellinen sy\\xF6te: t\\xE4ytyy loppua \"${i.suffix}\"`:i.format===\"includes\"?`Virheellinen sy\\xF6te: t\\xE4ytyy sis\\xE4lt\\xE4\\xE4 \"${i.includes}\"`:i.format===\"regex\"?`Virheellinen sy\\xF6te: t\\xE4ytyy vastata s\\xE4\\xE4nn\\xF6llist\\xE4 lauseketta ${i.pattern}`:`Virheellinen ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Virheellinen luku: t\\xE4ytyy olla luvun ${r.divisor} monikerta`;case\"unrecognized_keys\":return`${r.keys.length>1?\"Tuntemattomat avaimet\":\"Tuntematon avain\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return\"Virheellinen avain tietueessa\";case\"invalid_union\":return\"Virheellinen unioni\";case\"invalid_element\":return\"Virheellinen arvo joukossa\";default:return\"Virheellinen sy\\xF6te\"}}};function z_(){return{localeError:zw()}}var ww=()=>{let e={string:{unit:\"caract\\xE8res\",verb:\"avoir\"},file:{unit:\"octets\",verb:\"avoir\"},array:{unit:\"\\xE9l\\xE9ments\",verb:\"avoir\"},set:{unit:\"\\xE9l\\xE9ments\",verb:\"avoir\"}};function t(r){return e[r]??null}let n={regex:\"expression r\\xE9guli\\xE8re\",email:\"adresse e-mail\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"date et heure ISO\",date:\"date ISO\",time:\"heure ISO\",duration:\"dur\\xE9e ISO\",ipv4:\"adresse IPv4\",ipv6:\"adresse IPv6\",mac:\"adresse MAC\",cidrv4:\"plage IPv4\",cidrv6:\"plage IPv6\",base64:\"cha\\xEEne de caract\\xE8res encod\\xE9e en base64\",base64url:\"cha\\xEEne de caract\\xE8res encod\\xE9e en base64url\",json_string:\"cha\\xEEne de caract\\xE8res JSON\",e164:\"num\\xE9ro au format E.164\",credit_card:\"num\\xE9ro de carte de cr\\xE9dit\",currency_code:\"code de devise\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"entr\\xE9e\"},o={string:\"cha\\xEEne de caract\\xE8res\",number:\"nombre\",int:\"entier\",boolean:\"bool\\xE9en\",bigint:\"grand entier\",symbol:\"symbole\",undefined:\"ind\\xE9fini\",null:\"null\",never:\"jamais\",void:\"vide\",date:\"date\",array:\"tableau\",object:\"objet\",tuple:\"tuple\",record:\"record\",map:\"map\",set:\"ensemble\",file:\"fichier\",nonoptional:\"non optionnel\",nan:\"NaN\",function:\"fonction\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Entr\\xE9e invalide : instance de ${r.expected} attendu, ${s} re\\xE7u`:`Entr\\xE9e invalide : ${i} attendu, ${s} re\\xE7u`}case\"invalid_value\":return r.values.length===1?`Entr\\xE9e invalide : ${w(r.values[0])} attendu`:`Option invalide : une valeur parmi ${S(r.values,\"|\")} attendue`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Trop grand : ${o[r.origin]??\"valeur\"} doit ${a.verb} ${i}${r.maximum.toString()} ${a.unit??\"\\xE9l\\xE9ment(s)\"}`:`Trop grand : ${o[r.origin]??\"valeur\"} doit \\xEAtre ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Trop petit : ${o[r.origin]??\"valeur\"} doit ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`Trop petit : ${o[r.origin]??\"valeur\"} doit \\xEAtre ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Cha\\xEEne de caract\\xE8res invalide : doit commencer par \"${i.prefix}\"`:i.format===\"ends_with\"?`Cha\\xEEne de caract\\xE8res invalide : doit se terminer par \"${i.suffix}\"`:i.format===\"includes\"?`Cha\\xEEne de caract\\xE8res invalide : doit inclure \"${i.includes}\"`:i.format===\"regex\"?`Cha\\xEEne de caract\\xE8res invalide : doit correspondre au motif ${i.pattern}`:`${n[i.format]??r.format} invalide`}case\"not_multiple_of\":return`Nombre invalide : doit \\xEAtre un multiple de ${r.divisor}`;case\"unrecognized_keys\":return`Cl\\xE9${r.keys.length>1?\"s\":\"\"} non reconnue${r.keys.length>1?\"s\":\"\"} : ${S(r.keys,\", \")}`;case\"invalid_key\":return`Cl\\xE9 invalide dans ${r.origin}`;case\"invalid_union\":return\"Entr\\xE9e invalide\";case\"invalid_element\":return`Valeur invalide dans ${r.origin}`;default:return\"Entr\\xE9e invalide\"}}};function w_(){return{localeError:ww()}}var kw=()=>{let e={string:{unit:\"caract\\xE8res\",verb:\"avoir\"},file:{unit:\"octets\",verb:\"avoir\"},array:{unit:\"\\xE9l\\xE9ments\",verb:\"avoir\"},set:{unit:\"\\xE9l\\xE9ments\",verb:\"avoir\"},map:{unit:\"\\xE9l\\xE9ments\",verb:\"avoir\"}};function t(r){return e[r]??null}let n={regex:\"entr\\xE9e\",email:\"adresse courriel\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"date-heure ISO\",date:\"date ISO\",time:\"heure ISO\",duration:\"dur\\xE9e ISO\",ipv4:\"adresse IPv4\",ipv6:\"adresse IPv6\",mac:\"adresse MAC\",cidrv4:\"plage IPv4\",cidrv6:\"plage IPv6\",base64:\"cha\\xEEne encod\\xE9e en base64\",base64url:\"cha\\xEEne encod\\xE9e en base64url\",json_string:\"cha\\xEEne JSON\",e164:\"num\\xE9ro E.164\",credit_card:\"num\\xE9ro de carte de cr\\xE9dit\",currency_code:\"code de devise\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"entr\\xE9e\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Entr\\xE9e invalide : attendu instanceof ${r.expected}, re\\xE7u ${s}`:`Entr\\xE9e invalide : attendu ${i}, re\\xE7u ${s}`}case\"invalid_value\":return r.values.length===1?`Entr\\xE9e invalide : attendu ${w(r.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"\\u2264\":\"<\",a=t(r.origin);return a?`Trop grand : attendu que ${r.origin??\"la valeur\"} ait ${i}${r.maximum.toString()} ${a.unit}`:`Trop grand : attendu que ${r.origin??\"la valeur\"} soit ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\"\\u2265\":\">\",a=t(r.origin);return a?`Trop petit : attendu que ${r.origin} ait ${i}${r.minimum.toString()} ${a.unit}`:`Trop petit : attendu que ${r.origin} soit ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Cha\\xEEne invalide : doit commencer par \"${i.prefix}\"`:i.format===\"ends_with\"?`Cha\\xEEne invalide : doit se terminer par \"${i.suffix}\"`:i.format===\"includes\"?`Cha\\xEEne invalide : doit inclure \"${i.includes}\"`:i.format===\"regex\"?`Cha\\xEEne invalide : doit correspondre au motif ${i.pattern}`:`${n[i.format]??r.format} invalide`}case\"not_multiple_of\":return`Nombre invalide : doit \\xEAtre un multiple de ${r.divisor}`;case\"unrecognized_keys\":return`Cl\\xE9${r.keys.length>1?\"s\":\"\"} non reconnue${r.keys.length>1?\"s\":\"\"} : ${S(r.keys,\", \")}`;case\"invalid_key\":return`Cl\\xE9 invalide dans ${r.origin}`;case\"invalid_union\":return\"Entr\\xE9e invalide\";case\"invalid_element\":return`Valeur invalide dans ${r.origin}`;default:return\"Entr\\xE9e invalide\"}}};function k_(){return{localeError:kw()}}var xw=()=>{let e={string:{unit:\"\\u0A85\\u0A95\\u0ACD\\u0AB7\\u0AB0\",verb:\"\\u0AB9\\u0ACB\\u0AB5\\u0ABE \\u0A9C\\u0ACB\\u0A88\\u0A8F\"},file:{unit:\"\\u0AAC\\u0ABE\\u0AAF\\u0A9F\",verb:\"\\u0AB9\\u0ACB\\u0AB5\\u0ABE \\u0A9C\\u0ACB\\u0A88\\u0A8F\"},array:{unit:\"\\u0A86\\u0A87\\u0A9F\\u0AAE\",verb:\"\\u0AB9\\u0ACB\\u0AB5\\u0ABE \\u0A9C\\u0ACB\\u0A88\\u0A8F\"},set:{unit:\"\\u0A86\\u0A87\\u0A9F\\u0AAE\",verb:\"\\u0AB9\\u0ACB\\u0AB5\\u0ABE \\u0A9C\\u0ACB\\u0A88\\u0A8F\"},map:{unit:\"\\u0A8F\\u0AA8\\u0ACD\\u0A9F\\u0ACD\\u0AB0\\u0AC0\",verb:\"\\u0AB9\\u0ACB\\u0AB5\\u0ABE \\u0A9C\\u0ACB\\u0A88\\u0A8F\"}};function t(r){return e[r]??null}let n={regex:\"\\u0A87\\u0AA8\\u0AAA\\u0AC1\\u0A9F\",email:\"\\u0A88\\u0AAE\\u0AC7\\u0A87\\u0AB2 \\u0A8F\\u0AA1\\u0ACD\\u0AB0\\u0AC7\\u0AB8\",url:\"URL\",emoji:\"\\u0A87\\u0AAE\\u0ACB\\u0A9C\\u0AC0\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0AA4\\u0ABE\\u0AB0\\u0AC0\\u0A96 \\u0A85\\u0AA8\\u0AC7 \\u0AB8\\u0AAE\\u0AAF\",date:\"ISO \\u0AA4\\u0ABE\\u0AB0\\u0AC0\\u0A96\",time:\"ISO \\u0AB8\\u0AAE\\u0AAF\",duration:\"ISO \\u0A85\\u0AB5\\u0AA7\\u0ABF\",ipv4:\"IPv4 \\u0A8F\\u0AA1\\u0ACD\\u0AB0\\u0AC7\\u0AB8\",ipv6:\"IPv6 \\u0A8F\\u0AA1\\u0ACD\\u0AB0\\u0AC7\\u0AB8\",mac:\"MAC \\u0A8F\\u0AA1\\u0ACD\\u0AB0\\u0AC7\\u0AB8\",cidrv4:\"IPv4 \\u0AB6\\u0ACD\\u0AB0\\u0AC7\\u0AA3\\u0AC0\",cidrv6:\"IPv6 \\u0AB6\\u0ACD\\u0AB0\\u0AC7\\u0AA3\\u0AC0\",base64:\"base64-\\u0A8F\\u0AA8\\u0ACD\\u0A95\\u0ACB\\u0AA1\\u0AC7\\u0AA1 \\u0AB8\\u0ACD\\u0A9F\\u0ACD\\u0AB0\\u0ABF\\u0A82\\u0A97\",base64url:\"base64url-\\u0A8F\\u0AA8\\u0ACD\\u0A95\\u0ACB\\u0AA1\\u0AC7\\u0AA1 \\u0AB8\\u0ACD\\u0A9F\\u0ACD\\u0AB0\\u0ABF\\u0A82\\u0A97\",json_string:\"JSON \\u0AB8\\u0ACD\\u0A9F\\u0ACD\\u0AB0\\u0ABF\\u0A82\\u0A97\",e164:\"E.164 \\u0AA8\\u0A82\\u0AAC\\u0AB0\",credit_card:\"\\u0A95\\u0ACD\\u0AB0\\u0AC7\\u0AA1\\u0ABF\\u0A9F \\u0A95\\u0ABE\\u0AB0\\u0ACD\\u0AA1 \\u0AA8\\u0A82\\u0AAC\\u0AB0\",currency_code:\"\\u0A9A\\u0AB2\\u0AA3 \\u0A95\\u0ACB\\u0AA1\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0A87\\u0AA8\\u0AAA\\u0AC1\\u0A9F\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0A87\\u0AA8\\u0AAA\\u0AC1\\u0A9F: \\u0A85\\u0AAA\\u0AC7\\u0A95\\u0ACD\\u0AB7\\u0ABF\\u0AA4 ${i}, \\u0AAA\\u0ACD\\u0AB0\\u0ABE\\u0AAA\\u0ACD\\u0AA4 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0A87\\u0AA8\\u0AAA\\u0AC1\\u0A9F: \\u0A85\\u0AAA\\u0AC7\\u0A95\\u0ACD\\u0AB7\\u0ABF\\u0AA4 ${w(r.values[0])}`:`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0AB5\\u0ABF\\u0A95\\u0AB2\\u0ACD\\u0AAA: ${S(r.values,\" | \")} \\u0AAE\\u0ABE\\u0AA7\\u0ACD\\u0AAF\\u0AAE\\u0AA5\\u0AC0 \\u0A8F\\u0A95 \\u0A85\\u0AAA\\u0AC7\\u0A95\\u0ACD\\u0AB7\\u0ABF\\u0AA4`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0A96\\u0AC2\\u0AAC \\u0AAE\\u0ACB\\u0A9F\\u0AC1\\u0A82: ${r.origin??\"\\u0AAE\\u0AC2\\u0AB2\\u0ACD\\u0AAF\"} ${i}${r.maximum.toString()} ${a.unit??\"\\u0A8F\\u0AB2\\u0ABF\\u0AAE\\u0AC7\\u0AA8\\u0ACD\\u0A9F\"} \\u0AB9\\u0ACB\\u0AB5\\u0ABE \\u0A9C\\u0ACB\\u0A88\\u0A8F`:`\\u0A96\\u0AC2\\u0AAC \\u0AAE\\u0ACB\\u0A9F\\u0AC1\\u0A82: ${r.origin??\"\\u0AAE\\u0AC2\\u0AB2\\u0ACD\\u0AAF\"} ${i}${r.maximum.toString()} \\u0AB9\\u0ACB\\u0AB5\\u0AC1\\u0A82 \\u0A9C\\u0ACB\\u0A88\\u0A8F`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0A96\\u0AC2\\u0AAC \\u0AA8\\u0ABE\\u0AA8\\u0AC1\\u0A82: ${r.origin} ${i}${r.minimum.toString()} ${a.unit} \\u0AB9\\u0ACB\\u0AB5\\u0ABE \\u0A9C\\u0ACB\\u0A88\\u0A8F`:`\\u0A96\\u0AC2\\u0AAC \\u0AA8\\u0ABE\\u0AA8\\u0AC1\\u0A82: ${r.origin} ${i}${r.minimum.toString()} \\u0AB9\\u0ACB\\u0AB5\\u0AC1\\u0A82 \\u0A9C\\u0ACB\\u0A88\\u0A8F`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0AB8\\u0ACD\\u0A9F\\u0ACD\\u0AB0\\u0ABF\\u0A82\\u0A97: \"${i.prefix}\" \\u0AA5\\u0AC0 \\u0AB6\\u0AB0\\u0AC2 \\u0AA5\\u0AB5\\u0AC1\\u0A82 \\u0A9C\\u0ACB\\u0A88\\u0A8F`:i.format===\"ends_with\"?`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0AB8\\u0ACD\\u0A9F\\u0ACD\\u0AB0\\u0ABF\\u0A82\\u0A97: \"${i.suffix}\" \\u0AAA\\u0AB0 \\u0AB8\\u0AAE\\u0ABE\\u0AAA\\u0ACD\\u0AA4 \\u0AA5\\u0AB5\\u0AC1\\u0A82 \\u0A9C\\u0ACB\\u0A88\\u0A8F`:i.format===\"includes\"?`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0AB8\\u0ACD\\u0A9F\\u0ACD\\u0AB0\\u0ABF\\u0A82\\u0A97: \"${i.includes}\" \\u0AB6\\u0ABE\\u0AAE\\u0AC7\\u0AB2 \\u0AB9\\u0ACB\\u0AB5\\u0AC1\\u0A82 \\u0A9C\\u0ACB\\u0A88\\u0A8F`:i.format===\"regex\"?`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0AB8\\u0ACD\\u0A9F\\u0ACD\\u0AB0\\u0ABF\\u0A82\\u0A97: \\u0AAA\\u0AC7\\u0A9F\\u0AB0\\u0ACD\\u0AA8 ${i.pattern} \\u0AB8\\u0ABE\\u0AA5\\u0AC7 \\u0AAE\\u0AC7\\u0AB3 \\u0A96\\u0ABE\\u0AB5\\u0AC1\\u0A82 \\u0A9C\\u0ACB\\u0A88\\u0A8F`:`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0AA8\\u0A82\\u0AAC\\u0AB0: ${r.divisor} \\u0AA8\\u0ACB \\u0A97\\u0AC1\\u0AA3\\u0ABE\\u0A82\\u0A95 \\u0AB9\\u0ACB\\u0AB5\\u0ACB \\u0A9C\\u0ACB\\u0A88\\u0A8F`;case\"unrecognized_keys\":return`\\u0A93\\u0AB3\\u0A96\\u0AC0 \\u0AB6\\u0A95\\u0ABE\\u0AA4\\u0ABE \\u0AA8\\u0AB9\\u0AC0\\u0A82 \\u0AA4\\u0AC7 \\u0A95\\u0AC0${r.keys.length>1?\"\\u0A93\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} \\u0AAE\\u0ABE\\u0A82 \\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0A95\\u0AC0`;case\"invalid_union\":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0AA1\\u0ABF\\u0AB8\\u0ACD\\u0A95\\u0ACD\\u0AB0\\u0ABF\\u0AAE\\u0ABF\\u0AA8\\u0AC7\\u0A9F\\u0AB0 \\u0AAE\\u0AC2\\u0AB2\\u0ACD\\u0AAF. \\u0A85\\u0AAA\\u0AC7\\u0A95\\u0ACD\\u0AB7\\u0ABF\\u0AA4 ${r.options.map(a=>`'${a}'`).join(\" | \")}`:\"\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0A87\\u0AA8\\u0AAA\\u0AC1\\u0A9F\";case\"invalid_element\":return`${r.origin} \\u0AAE\\u0ABE\\u0A82 \\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0AAE\\u0AC2\\u0AB2\\u0ACD\\u0AAF`;default:return\"\\u0A85\\u0AAE\\u0ABE\\u0AA8\\u0ACD\\u0AAF \\u0A87\\u0AA8\\u0AAA\\u0AC1\\u0A9F\"}}};function x_(){return{localeError:xw()}}var Iw=()=>{let e={string:{label:\"\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA\",gender:\"f\"},number:{label:\"\\u05DE\\u05E1\\u05E4\\u05E8\",gender:\"m\"},boolean:{label:\"\\u05E2\\u05E8\\u05DA \\u05D1\\u05D5\\u05DC\\u05D9\\u05D0\\u05E0\\u05D9\",gender:\"m\"},bigint:{label:\"BigInt\",gender:\"m\"},date:{label:\"\\u05EA\\u05D0\\u05E8\\u05D9\\u05DA\",gender:\"m\"},array:{label:\"\\u05DE\\u05E2\\u05E8\\u05DA\",gender:\"m\"},object:{label:\"\\u05D0\\u05D5\\u05D1\\u05D9\\u05D9\\u05E7\\u05D8\",gender:\"m\"},null:{label:\"\\u05E2\\u05E8\\u05DA \\u05E8\\u05D9\\u05E7 (null)\",gender:\"m\"},undefined:{label:\"\\u05E2\\u05E8\\u05DA \\u05DC\\u05D0 \\u05DE\\u05D5\\u05D2\\u05D3\\u05E8 (undefined)\",gender:\"m\"},symbol:{label:\"\\u05E1\\u05D9\\u05DE\\u05D1\\u05D5\\u05DC (Symbol)\",gender:\"m\"},function:{label:\"\\u05E4\\u05D5\\u05E0\\u05E7\\u05E6\\u05D9\\u05D4\",gender:\"f\"},map:{label:\"\\u05DE\\u05E4\\u05D4 (Map)\",gender:\"f\"},set:{label:\"\\u05E7\\u05D1\\u05D5\\u05E6\\u05D4 (Set)\",gender:\"f\"},file:{label:\"\\u05E7\\u05D5\\u05D1\\u05E5\",gender:\"m\"},promise:{label:\"Promise\",gender:\"m\"},NaN:{label:\"NaN\",gender:\"m\"},unknown:{label:\"\\u05E2\\u05E8\\u05DA \\u05DC\\u05D0 \\u05D9\\u05D3\\u05D5\\u05E2\",gender:\"m\"},value:{label:\"\\u05E2\\u05E8\\u05DA\",gender:\"m\"}},t={string:{unit:\"\\u05EA\\u05D5\\u05D5\\u05D9\\u05DD\",shortLabel:\"\\u05E7\\u05E6\\u05E8\",longLabel:\"\\u05D0\\u05E8\\u05D5\\u05DA\"},file:{unit:\"\\u05D1\\u05D9\\u05D9\\u05D8\\u05D9\\u05DD\",shortLabel:\"\\u05E7\\u05D8\\u05DF\",longLabel:\"\\u05D2\\u05D3\\u05D5\\u05DC\"},array:{unit:\"\\u05E4\\u05E8\\u05D9\\u05D8\\u05D9\\u05DD\",shortLabel:\"\\u05E7\\u05D8\\u05DF\",longLabel:\"\\u05D2\\u05D3\\u05D5\\u05DC\"},set:{unit:\"\\u05E4\\u05E8\\u05D9\\u05D8\\u05D9\\u05DD\",shortLabel:\"\\u05E7\\u05D8\\u05DF\",longLabel:\"\\u05D2\\u05D3\\u05D5\\u05DC\"},number:{unit:\"\",shortLabel:\"\\u05E7\\u05D8\\u05DF\",longLabel:\"\\u05D2\\u05D3\\u05D5\\u05DC\"}},n=l=>l?e[l]:void 0,o=l=>{let d=n(l);return d?d.label:l??e.unknown.label},r=l=>`\\u05D4${o(l)}`,i=l=>(n(l)?.gender??\"m\")===\"f\"?\"\\u05E6\\u05E8\\u05D9\\u05DB\\u05D4 \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA\":\"\\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA\",a=l=>l?t[l]??null:null,s={regex:{label:\"\\u05E7\\u05DC\\u05D8\",gender:\"m\"},email:{label:\"\\u05DB\\u05EA\\u05D5\\u05D1\\u05EA \\u05D0\\u05D9\\u05DE\\u05D9\\u05D9\\u05DC\",gender:\"f\"},url:{label:\"\\u05DB\\u05EA\\u05D5\\u05D1\\u05EA \\u05E8\\u05E9\\u05EA\",gender:\"f\"},emoji:{label:\"\\u05D0\\u05D9\\u05DE\\u05D5\\u05D2'\\u05D9\",gender:\"m\"},uuid:{label:\"UUID\",gender:\"m\"},uuidv4:{label:\"UUIDv4\",gender:\"m\"},uuidv6:{label:\"UUIDv6\",gender:\"m\"},nanoid:{label:\"nanoid\",gender:\"m\"},guid:{label:\"GUID\",gender:\"m\"},cuid:{label:\"cuid\",gender:\"m\"},cuid2:{label:\"cuid2\",gender:\"m\"},ulid:{label:\"ULID\",gender:\"m\"},xid:{label:\"XID\",gender:\"m\"},ksuid:{label:\"KSUID\",gender:\"m\"},datetime:{label:\"\\u05EA\\u05D0\\u05E8\\u05D9\\u05DA \\u05D5\\u05D6\\u05DE\\u05DF ISO\",gender:\"m\"},date:{label:\"\\u05EA\\u05D0\\u05E8\\u05D9\\u05DA ISO\",gender:\"m\"},time:{label:\"\\u05D6\\u05DE\\u05DF ISO\",gender:\"m\"},duration:{label:\"\\u05DE\\u05E9\\u05DA \\u05D6\\u05DE\\u05DF ISO\",gender:\"m\"},ipv4:{label:\"\\u05DB\\u05EA\\u05D5\\u05D1\\u05EA IPv4\",gender:\"f\"},ipv6:{label:\"\\u05DB\\u05EA\\u05D5\\u05D1\\u05EA IPv6\",gender:\"f\"},mac:{label:\"\\u05DB\\u05EA\\u05D5\\u05D1\\u05EA MAC\",gender:\"f\"},cidrv4:{label:\"\\u05D8\\u05D5\\u05D5\\u05D7 IPv4\",gender:\"m\"},cidrv6:{label:\"\\u05D8\\u05D5\\u05D5\\u05D7 IPv6\",gender:\"m\"},base64:{label:\"\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D1\\u05D1\\u05E1\\u05D9\\u05E1 64\",gender:\"f\"},base64url:{label:\"\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D1\\u05D1\\u05E1\\u05D9\\u05E1 64 \\u05DC\\u05DB\\u05EA\\u05D5\\u05D1\\u05D5\\u05EA \\u05E8\\u05E9\\u05EA\",gender:\"f\"},json_string:{label:\"\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA JSON\",gender:\"f\"},e164:{label:\"\\u05DE\\u05E1\\u05E4\\u05E8 E.164\",gender:\"m\"},credit_card:{label:\"\\u05DE\\u05E1\\u05E4\\u05E8 \\u05DB\\u05E8\\u05D8\\u05D9\\u05E1 \\u05D0\\u05E9\\u05E8\\u05D0\\u05D9\",gender:\"m\"},currency_code:{label:\"\\u05E7\\u05D5\\u05D3 \\u05DE\\u05D8\\u05D1\\u05E2\",gender:\"m\"},iban:{label:\"IBAN\",gender:\"m\"},jwt:{label:\"JWT\",gender:\"m\"},template_literal:{label:\"\\u05E7\\u05DC\\u05D8\",gender:\"m\"},ends_with:{label:\"\\u05E7\\u05DC\\u05D8\",gender:\"m\"},includes:{label:\"\\u05E7\\u05DC\\u05D8\",gender:\"m\"},lowercase:{label:\"\\u05E7\\u05DC\\u05D8\",gender:\"m\"},starts_with:{label:\"\\u05E7\\u05DC\\u05D8\",gender:\"m\"},uppercase:{label:\"\\u05E7\\u05DC\\u05D8\",gender:\"m\"}},c={nan:\"NaN\"};return l=>{switch(l.code){case\"invalid_type\":{let d=l.expected,p=c[d??\"\"]??o(d),f=k(l.input),g=c[f]??e[f]?.label??f;return/^[A-Z]/.test(l.expected)?`\\u05E7\\u05DC\\u05D8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA instanceof ${l.expected}, \\u05D4\\u05EA\\u05E7\\u05D1\\u05DC ${g}`:`\\u05E7\\u05DC\\u05D8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA ${p}, \\u05D4\\u05EA\\u05E7\\u05D1\\u05DC ${g}`}case\"invalid_value\":{if(l.values.length===1)return`\\u05E2\\u05E8\\u05DA \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05D4\\u05E2\\u05E8\\u05DA \\u05D7\\u05D9\\u05D9\\u05D1 \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA ${w(l.values[0])}`;let d=l.values.map(g=>w(g));if(l.values.length===2)return`\\u05E2\\u05E8\\u05DA \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05D4\\u05D0\\u05E4\\u05E9\\u05E8\\u05D5\\u05D9\\u05D5\\u05EA \\u05D4\\u05DE\\u05EA\\u05D0\\u05D9\\u05DE\\u05D5\\u05EA \\u05D4\\u05DF ${d[0]} \\u05D0\\u05D5 ${d[1]}`;let p=d[d.length-1];return`\\u05E2\\u05E8\\u05DA \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05D4\\u05D0\\u05E4\\u05E9\\u05E8\\u05D5\\u05D9\\u05D5\\u05EA \\u05D4\\u05DE\\u05EA\\u05D0\\u05D9\\u05DE\\u05D5\\u05EA \\u05D4\\u05DF ${d.slice(0,-1).join(\", \")} \\u05D0\\u05D5 ${p}`}case\"too_big\":{let d=a(l.origin),p=r(l.origin??\"value\");if(l.origin===\"string\")return`${d?.longLabel??\"\\u05D0\\u05E8\\u05D5\\u05DA\"} \\u05DE\\u05D3\\u05D9: ${p} \\u05E6\\u05E8\\u05D9\\u05DB\\u05D4 \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${l.maximum.toString()} ${d?.unit??\"\"} ${l.inclusive?\"\\u05D0\\u05D5 \\u05E4\\u05D7\\u05D5\\u05EA\":\"\\u05DC\\u05DB\\u05DC \\u05D4\\u05D9\\u05D5\\u05EA\\u05E8\"}`.trim();if(l.origin===\"number\"){let _=l.inclusive?`\\u05E7\\u05D8\\u05DF \\u05D0\\u05D5 \\u05E9\\u05D5\\u05D5\\u05D4 \\u05DC-${l.maximum}`:`\\u05E7\\u05D8\\u05DF \\u05DE-${l.maximum}`;return`\\u05D2\\u05D3\\u05D5\\u05DC \\u05DE\\u05D3\\u05D9: ${p} \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA ${_}`}if(l.origin===\"array\"||l.origin===\"set\"){let _=l.origin===\"set\"?\"\\u05E6\\u05E8\\u05D9\\u05DB\\u05D4\":\"\\u05E6\\u05E8\\u05D9\\u05DA\",b=l.inclusive?`${l.maximum} ${d?.unit??\"\"} \\u05D0\\u05D5 \\u05E4\\u05D7\\u05D5\\u05EA`:`\\u05E4\\u05D7\\u05D5\\u05EA \\u05DE-${l.maximum} ${d?.unit??\"\"}`;return`\\u05D2\\u05D3\\u05D5\\u05DC \\u05DE\\u05D3\\u05D9: ${p} ${_} \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${b}`.trim()}let f=l.inclusive?\"<=\":\"<\",g=i(l.origin??\"value\");return d?.unit?`${d.longLabel} \\u05DE\\u05D3\\u05D9: ${p} ${g} ${f}${l.maximum.toString()} ${d.unit}`:`${d?.longLabel??\"\\u05D2\\u05D3\\u05D5\\u05DC\"} \\u05DE\\u05D3\\u05D9: ${p} ${g} ${f}${l.maximum.toString()}`}case\"too_small\":{let d=a(l.origin),p=r(l.origin??\"value\");if(l.origin===\"string\")return`${d?.shortLabel??\"\\u05E7\\u05E6\\u05E8\"} \\u05DE\\u05D3\\u05D9: ${p} \\u05E6\\u05E8\\u05D9\\u05DB\\u05D4 \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${l.minimum.toString()} ${d?.unit??\"\"} ${l.inclusive?\"\\u05D0\\u05D5 \\u05D9\\u05D5\\u05EA\\u05E8\":\"\\u05DC\\u05E4\\u05D7\\u05D5\\u05EA\"}`.trim();if(l.origin===\"number\"){let _=l.inclusive?`\\u05D2\\u05D3\\u05D5\\u05DC \\u05D0\\u05D5 \\u05E9\\u05D5\\u05D5\\u05D4 \\u05DC-${l.minimum}`:`\\u05D2\\u05D3\\u05D5\\u05DC \\u05DE-${l.minimum}`;return`\\u05E7\\u05D8\\u05DF \\u05DE\\u05D3\\u05D9: ${p} \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA ${_}`}if(l.origin===\"array\"||l.origin===\"set\"){let _=l.origin===\"set\"?\"\\u05E6\\u05E8\\u05D9\\u05DB\\u05D4\":\"\\u05E6\\u05E8\\u05D9\\u05DA\";if(l.minimum===1&&l.inclusive){let x=(l.origin===\"set\",\"\\u05DC\\u05E4\\u05D7\\u05D5\\u05EA \\u05E4\\u05E8\\u05D9\\u05D8 \\u05D0\\u05D7\\u05D3\");return`\\u05E7\\u05D8\\u05DF \\u05DE\\u05D3\\u05D9: ${p} ${_} \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${x}`}let b=l.inclusive?`${l.minimum} ${d?.unit??\"\"} \\u05D0\\u05D5 \\u05D9\\u05D5\\u05EA\\u05E8`:`\\u05D9\\u05D5\\u05EA\\u05E8 \\u05DE-${l.minimum} ${d?.unit??\"\"}`;return`\\u05E7\\u05D8\\u05DF \\u05DE\\u05D3\\u05D9: ${p} ${_} \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${b}`.trim()}let f=l.inclusive?\">=\":\">\",g=i(l.origin??\"value\");return d?.unit?`${d.shortLabel} \\u05DE\\u05D3\\u05D9: ${p} ${g} ${f}${l.minimum.toString()} ${d.unit}`:`${d?.shortLabel??\"\\u05E7\\u05D8\\u05DF\"} \\u05DE\\u05D3\\u05D9: ${p} ${g} ${f}${l.minimum.toString()}`}case\"invalid_format\":{let d=l;if(d.format===\"starts_with\")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05D4\\u05EA\\u05D7\\u05D9\\u05DC \\u05D1 \"${d.prefix}\"`;if(d.format===\"ends_with\")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05D4\\u05E1\\u05EA\\u05D9\\u05D9\\u05DD \\u05D1 \"${d.suffix}\"`;if(d.format===\"includes\")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05DB\\u05DC\\u05D5\\u05DC \"${d.includes}\"`;if(d.format===\"regex\")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05D4\\u05EA\\u05D0\\u05D9\\u05DD \\u05DC\\u05EA\\u05D1\\u05E0\\u05D9\\u05EA ${d.pattern}`;let p=s[d.format],f=p?.label??d.format,_=(p?.gender??\"m\")===\"f\"?\"\\u05EA\\u05E7\\u05D9\\u05E0\\u05D4\":\"\\u05EA\\u05E7\\u05D9\\u05DF\";return`${f} \\u05DC\\u05D0 ${_}`}case\"not_multiple_of\":return`\\u05DE\\u05E1\\u05E4\\u05E8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05D7\\u05D9\\u05D9\\u05D1 \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA \\u05DE\\u05DB\\u05E4\\u05DC\\u05D4 \\u05E9\\u05DC ${l.divisor}`;case\"unrecognized_keys\":return`\\u05DE\\u05E4\\u05EA\\u05D7${l.keys.length>1?\"\\u05D5\\u05EA\":\"\"} \\u05DC\\u05D0 \\u05DE\\u05D6\\u05D5\\u05D4${l.keys.length>1?\"\\u05D9\\u05DD\":\"\\u05D4\"}: ${S(l.keys,\", \")}`;case\"invalid_key\":return\"\\u05E9\\u05D3\\u05D4 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF \\u05D1\\u05D0\\u05D5\\u05D1\\u05D9\\u05D9\\u05E7\\u05D8\";case\"invalid_union\":return\"\\u05E7\\u05DC\\u05D8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF\";case\"invalid_element\":return`\\u05E2\\u05E8\\u05DA \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF \\u05D1${r(l.origin??\"array\")}`;default:return\"\\u05E7\\u05DC\\u05D8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF\"}}};function I_(){return{localeError:Iw()}}var Rw=()=>{let e={string:{unit:\"\\u0905\\u0915\\u094D\\u0937\\u0930\",verb:\"\\u0930\\u0916\\u0928\\u0947 \\u0915\\u0947 \\u0932\\u093F\\u090F\"},file:{unit:\"\\u092C\\u093E\\u0907\\u091F\\u094D\\u0938\",verb:\"\\u0930\\u0916\\u0928\\u0947 \\u0915\\u0947 \\u0932\\u093F\\u090F\"},array:{unit:\"\\u0924\\u0924\\u094D\\u0935\",verb:\"\\u0930\\u0916\\u0928\\u0947 \\u0915\\u0947 \\u0932\\u093F\\u090F\"},set:{unit:\"\\u0924\\u0924\\u094D\\u0935\",verb:\"\\u0930\\u0916\\u0928\\u0947 \\u0915\\u0947 \\u0932\\u093F\\u090F\"},map:{unit:\"\\u092A\\u094D\\u0930\\u0935\\u093F\\u0937\\u094D\\u091F\\u093F\\u092F\\u093E\\u0901\",verb:\"\\u0930\\u0916\\u0928\\u0947 \\u0915\\u0947 \\u0932\\u093F\\u090F\"}};function t(r){return e[r]??null}let n={regex:\"\\u0907\\u0928\\u092A\\u0941\\u091F\",email:\"\\u0908\\u092E\\u0947\\u0932 \\u092A\\u0924\\u093E\",url:\"URL\",emoji:\"\\u0907\\u092E\\u094B\\u091C\\u0940\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0924\\u093F\\u0925\\u093F \\u0914\\u0930 \\u0938\\u092E\\u092F\",date:\"ISO \\u0924\\u093F\\u0925\\u093F\",time:\"ISO \\u0938\\u092E\\u092F\",duration:\"ISO \\u0905\\u0935\\u0927\\u093F\",ipv4:\"IPv4 \\u092A\\u0924\\u093E\",ipv6:\"IPv6 \\u092A\\u0924\\u093E\",mac:\"MAC \\u092A\\u0924\\u093E\",cidrv4:\"IPv4 \\u0936\\u094D\\u0930\\u0947\\u0923\\u0940\",cidrv6:\"IPv6 \\u0936\\u094D\\u0930\\u0947\\u0923\\u0940\",base64:\"Base64-\\u090F\\u0928\\u094D\\u0915\\u094B\\u0921\\u0947\\u0921 \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0902\\u0917\",base64url:\"Base64URL-\\u090F\\u0928\\u094D\\u0915\\u094B\\u0921\\u0947\\u0921 \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0902\\u0917\",json_string:\"JSON \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0902\\u0917\",e164:\"E.164 \\u0938\\u0902\\u0916\\u094D\\u092F\\u093E\",credit_card:\"\\u0915\\u094D\\u0930\\u0947\\u0921\\u093F\\u091F \\u0915\\u093E\\u0930\\u094D\\u0921 \\u0938\\u0902\\u0916\\u094D\\u092F\\u093E\",currency_code:\"\\u092E\\u0941\\u0926\\u094D\\u0930\\u093E \\u0915\\u094B\\u0921\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0907\\u0928\\u092A\\u0941\\u091F\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0907\\u0928\\u092A\\u0941\\u091F: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 ${i}, \\u092A\\u094D\\u0930\\u093E\\u092A\\u094D\\u0924 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0907\\u0928\\u092A\\u0941\\u091F: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 ${w(r.values[0])}`:`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0935\\u093F\\u0915\\u0932\\u094D\\u092A: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 \\u092E\\u093E\\u0928\\u094B\\u0902 \\u092E\\u0947\\u0902 \\u0938\\u0947 \\u090F\\u0915 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u092C\\u0939\\u0941\\u0924 \\u092C\\u0921\\u093C\\u093E: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 \\u0925\\u093E \\u0915\\u093F ${r.origin??\"\\u092E\\u093E\\u0928\"} \\u092E\\u0947\\u0902 ${i}${r.maximum} ${a.unit} \\u0939\\u094B\\u0902`:`\\u092C\\u0939\\u0941\\u0924 \\u092C\\u0921\\u093C\\u093E: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 \\u0925\\u093E \\u0915\\u093F ${r.origin??\"\\u092E\\u093E\\u0928\"} ${i}${r.maximum} \\u0939\\u094B`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u092C\\u0939\\u0941\\u0924 \\u091B\\u094B\\u091F\\u093E: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 \\u0925\\u093E \\u0915\\u093F ${r.origin} \\u092E\\u0947\\u0902 ${i}${r.minimum} ${a.unit} \\u0939\\u094B\\u0902`:`\\u092C\\u0939\\u0941\\u0924 \\u091B\\u094B\\u091F\\u093E: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 \\u0925\\u093E \\u0915\\u093F ${r.origin} ${i}${r.minimum} \\u0939\\u094B`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0902\\u0917: \"${i.prefix}\" \\u0938\\u0947 \\u0936\\u0941\\u0930\\u0942 \\u0939\\u094B\\u0928\\u093E \\u091A\\u093E\\u0939\\u093F\\u090F`:i.format===\"ends_with\"?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0902\\u0917: \"${i.suffix}\" \\u092A\\u0930 \\u0938\\u092E\\u093E\\u092A\\u094D\\u0924 \\u0939\\u094B\\u0928\\u093E \\u091A\\u093E\\u0939\\u093F\\u090F`:i.format===\"includes\"?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0902\\u0917: \\u0907\\u0938\\u092E\\u0947\\u0902 \"${i.includes}\" \\u0936\\u093E\\u092E\\u093F\\u0932 \\u0939\\u094B\\u0928\\u093E \\u091A\\u093E\\u0939\\u093F\\u090F`:i.format===\"regex\"?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0902\\u0917: \\u092A\\u0948\\u091F\\u0930\\u094D\\u0928 ${i.pattern} \\u0938\\u0947 \\u092E\\u0947\\u0932 \\u0916\\u093E\\u0928\\u093E \\u091A\\u093E\\u0939\\u093F\\u090F`:`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u0902\\u0916\\u094D\\u092F\\u093E: \\u092F\\u0939 ${r.divisor} \\u0915\\u093E \\u0917\\u0941\\u0923\\u091C \\u0939\\u094B\\u0928\\u093E \\u091A\\u093E\\u0939\\u093F\\u090F`;case\"unrecognized_keys\":return`\\u0905\\u092A\\u0930\\u093F\\u091A\\u093F\\u0924 \\u0915\\u0941\\u0902\\u091C\\u0940${r.keys.length>1?\"\\u092F\\u093E\\u0901\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0915\\u0941\\u0902\\u091C\\u0940: ${r.origin} \\u092E\\u0947\\u0902`;case\"invalid_union\":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0921\\u093F\\u0938\\u094D\\u0915\\u094D\\u0930\\u093F\\u092E\\u093F\\u0928\\u0947\\u091F\\u0930 \\u092E\\u093E\\u0928: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 ${r.options.map(a=>`'${a}'`).join(\" | \")}`:\"\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0907\\u0928\\u092A\\u0941\\u091F\";case\"invalid_element\":return`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u092E\\u093E\\u0928: ${r.origin} \\u092E\\u0947\\u0902`;default:return\"\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0907\\u0928\\u092A\\u0941\\u091F\"}}};function R_(){return{localeError:Rw()}}var Pw=()=>{let e={string:{unit:\"znakova\",verb:\"imati\"},file:{unit:\"bajtova\",verb:\"imati\"},array:{unit:\"stavki\",verb:\"imati\"},set:{unit:\"stavki\",verb:\"imati\"}};function t(r){return e[r]??null}let n={regex:\"unos\",email:\"email adresa\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO datum i vrijeme\",date:\"ISO datum\",time:\"ISO vrijeme\",duration:\"ISO trajanje\",ipv4:\"IPv4 adresa\",ipv6:\"IPv6 adresa\",mac:\"MAC adresa\",cidrv4:\"IPv4 raspon\",cidrv6:\"IPv6 raspon\",base64:\"base64 kodirani tekst\",base64url:\"base64url kodirani tekst\",json_string:\"JSON tekst\",e164:\"E.164 broj\",credit_card:\"broj kreditne kartice\",currency_code:\"kod valute\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"unos\"},o={nan:\"NaN\",string:\"tekst\",number:\"broj\",boolean:\"boolean\",array:\"niz\",object:\"objekt\",set:\"skup\",file:\"datoteka\",date:\"datum\",bigint:\"bigint\",symbol:\"simbol\",undefined:\"undefined\",null:\"null\",function:\"funkcija\",map:\"mapa\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Neispravan unos: o\\u010Dekuje se instanceof ${r.expected}, a primljeno je ${s}`:`Neispravan unos: o\\u010Dekuje se ${i}, a primljeno je ${s}`}case\"invalid_value\":return r.values.length===1?`Neispravna vrijednost: o\\u010Dekivano ${w(r.values[0])}`:`Neispravna opcija: o\\u010Dekivano jedno od ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin),s=o[r.origin]??r.origin;return a?`Preveliko: o\\u010Dekivano da ${s??\"vrijednost\"} ima ${i}${r.maximum.toString()} ${a.unit??\"elemenata\"}`:`Preveliko: o\\u010Dekivano da ${s??\"vrijednost\"} bude ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin),s=o[r.origin]??r.origin;return a?`Premalo: o\\u010Dekivano da ${s} ima ${i}${r.minimum.toString()} ${a.unit}`:`Premalo: o\\u010Dekivano da ${s} bude ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Neispravan tekst: mora zapo\\u010Dinjati s \"${i.prefix}\"`:i.format===\"ends_with\"?`Neispravan tekst: mora zavr\\u0161avati s \"${i.suffix}\"`:i.format===\"includes\"?`Neispravan tekst: mora sadr\\u017Eavati \"${i.includes}\"`:i.format===\"regex\"?`Neispravan tekst: mora odgovarati uzorku ${i.pattern}`:`Neispravna ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Neispravan broj: mora biti vi\\u0161ekratnik od ${r.divisor}`;case\"unrecognized_keys\":return`Neprepoznat${r.keys.length>1?\"i klju\\u010Devi\":\" klju\\u010D\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Neispravan klju\\u010D u ${o[r.origin]??r.origin}`;case\"invalid_union\":return\"Neispravan unos\";case\"invalid_element\":return`Neispravna vrijednost u ${o[r.origin]??r.origin}`;default:return\"Neispravan unos\"}}};function P_(){return{localeError:Pw()}}var Tw=()=>{let e={string:{unit:\"karakter\",verb:\"legyen\"},file:{unit:\"byte\",verb:\"legyen\"},array:{unit:\"elem\",verb:\"legyen\"},set:{unit:\"elem\",verb:\"legyen\"},map:{unit:\"elem\",verb:\"legyen\"}};function t(r){return e[r]??null}let n={regex:\"bemenet\",email:\"email c\\xEDm\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO id\\u0151b\\xE9lyeg\",date:\"ISO d\\xE1tum\",time:\"ISO id\\u0151\",duration:\"ISO id\\u0151intervallum\",ipv4:\"IPv4 c\\xEDm\",ipv6:\"IPv6 c\\xEDm\",mac:\"MAC c\\xEDm\",cidrv4:\"IPv4 tartom\\xE1ny\",cidrv6:\"IPv6 tartom\\xE1ny\",base64:\"base64-k\\xF3dolt string\",base64url:\"base64url-k\\xF3dolt string\",json_string:\"JSON string\",e164:\"E.164 sz\\xE1m\",credit_card:\"hitelk\\xE1rtyasz\\xE1m\",currency_code:\"p\\xE9nznemk\\xF3d\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"bemenet\"},o={nan:\"NaN\",number:\"sz\\xE1m\",array:\"t\\xF6mb\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\xC9rv\\xE9nytelen bemenet: a v\\xE1rt \\xE9rt\\xE9k instanceof ${r.expected}, a kapott \\xE9rt\\xE9k ${s}`:`\\xC9rv\\xE9nytelen bemenet: a v\\xE1rt \\xE9rt\\xE9k ${i}, a kapott \\xE9rt\\xE9k ${s}`}case\"invalid_value\":return r.values.length===1?`\\xC9rv\\xE9nytelen bemenet: a v\\xE1rt \\xE9rt\\xE9k ${w(r.values[0])}`:`\\xC9rv\\xE9nytelen opci\\xF3: valamelyik \\xE9rt\\xE9k v\\xE1rt ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`T\\xFAl nagy: ${r.origin??\"\\xE9rt\\xE9k\"} m\\xE9rete t\\xFAl nagy ${i}${r.maximum.toString()} ${a.unit??\"elem\"}`:`T\\xFAl nagy: a bemeneti \\xE9rt\\xE9k ${r.origin??\"\\xE9rt\\xE9k\"} t\\xFAl nagy: ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`T\\xFAl kicsi: a bemeneti \\xE9rt\\xE9k ${r.origin} m\\xE9rete t\\xFAl kicsi ${i}${r.minimum.toString()} ${a.unit}`:`T\\xFAl kicsi: a bemeneti \\xE9rt\\xE9k ${r.origin} t\\xFAl kicsi ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\xC9rv\\xE9nytelen string: \"${i.prefix}\" \\xE9rt\\xE9kkel kell kezd\\u0151dnie`:i.format===\"ends_with\"?`\\xC9rv\\xE9nytelen string: \"${i.suffix}\" \\xE9rt\\xE9kkel kell v\\xE9gz\\u0151dnie`:i.format===\"includes\"?`\\xC9rv\\xE9nytelen string: \"${i.includes}\" \\xE9rt\\xE9ket kell tartalmaznia`:i.format===\"regex\"?`\\xC9rv\\xE9nytelen string: ${i.pattern} mint\\xE1nak kell megfelelnie`:`\\xC9rv\\xE9nytelen ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\xC9rv\\xE9nytelen sz\\xE1m: ${r.divisor} t\\xF6bbsz\\xF6r\\xF6s\\xE9nek kell lennie`;case\"unrecognized_keys\":return`Ismeretlen kulcs${r.keys.length>1?\"s\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\xC9rv\\xE9nytelen kulcs ${r.origin}`;case\"invalid_union\":return\"\\xC9rv\\xE9nytelen bemenet\";case\"invalid_element\":return`\\xC9rv\\xE9nytelen \\xE9rt\\xE9k: ${r.origin}`;default:return\"\\xC9rv\\xE9nytelen bemenet\"}}};function T_(){return{localeError:Tw()}}function E_(e,t,n){return Math.abs(e)===1?t:n}function Tn(e){if(!e)return\"\";let t=[\"\\u0561\",\"\\u0565\",\"\\u0568\",\"\\u056B\",\"\\u0578\",\"\\u0578\\u0582\",\"\\u0585\"],n=e[e.length-1];return e+(t.includes(n)?\"\\u0576\":\"\\u0568\")}var Ew=()=>{let e={string:{unit:{one:\"\\u0576\\u0577\\u0561\\u0576\",many:\"\\u0576\\u0577\\u0561\\u0576\\u0576\\u0565\\u0580\"},verb:\"\\u0578\\u0582\\u0576\\u0565\\u0576\\u0561\\u056C\"},file:{unit:{one:\"\\u0562\\u0561\\u0575\\u0569\",many:\"\\u0562\\u0561\\u0575\\u0569\\u0565\\u0580\"},verb:\"\\u0578\\u0582\\u0576\\u0565\\u0576\\u0561\\u056C\"},array:{unit:{one:\"\\u057F\\u0561\\u0580\\u0580\",many:\"\\u057F\\u0561\\u0580\\u0580\\u0565\\u0580\"},verb:\"\\u0578\\u0582\\u0576\\u0565\\u0576\\u0561\\u056C\"},set:{unit:{one:\"\\u057F\\u0561\\u0580\\u0580\",many:\"\\u057F\\u0561\\u0580\\u0580\\u0565\\u0580\"},verb:\"\\u0578\\u0582\\u0576\\u0565\\u0576\\u0561\\u056C\"},map:{unit:{one:\"\\u057F\\u0561\\u0580\\u0580\",many:\"\\u057F\\u0561\\u0580\\u0580\\u0565\\u0580\"},verb:\"\\u0578\\u0582\\u0576\\u0565\\u0576\\u0561\\u056C\"}};function t(r){return e[r]??null}let n={regex:\"\\u0574\\u0578\\u0582\\u057F\\u0584\",email:\"\\u0567\\u056C. \\u0570\\u0561\\u057D\\u0581\\u0565\",url:\"URL\",emoji:\"\\u0567\\u0574\\u0578\\u057B\\u056B\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0561\\u0574\\u057D\\u0561\\u0569\\u056B\\u057E \\u0587 \\u056A\\u0561\\u0574\",date:\"ISO \\u0561\\u0574\\u057D\\u0561\\u0569\\u056B\\u057E\",time:\"ISO \\u056A\\u0561\\u0574\",duration:\"ISO \\u057F\\u0587\\u0578\\u0572\\u0578\\u0582\\u0569\\u0575\\u0578\\u0582\\u0576\",ipv4:\"IPv4 \\u0570\\u0561\\u057D\\u0581\\u0565\",ipv6:\"IPv6 \\u0570\\u0561\\u057D\\u0581\\u0565\",mac:\"MAC \\u0570\\u0561\\u057D\\u0581\\u0565\",cidrv4:\"IPv4 \\u0574\\u056B\\u057B\\u0561\\u056F\\u0561\\u0575\\u0584\",cidrv6:\"IPv6 \\u0574\\u056B\\u057B\\u0561\\u056F\\u0561\\u0575\\u0584\",base64:\"base64 \\u0571\\u0587\\u0561\\u0579\\u0561\\u0583\\u0578\\u057E \\u057F\\u0578\\u0572\",base64url:\"base64url \\u0571\\u0587\\u0561\\u0579\\u0561\\u0583\\u0578\\u057E \\u057F\\u0578\\u0572\",json_string:\"JSON \\u057F\\u0578\\u0572\",e164:\"E.164 \\u0570\\u0561\\u0574\\u0561\\u0580\",credit_card:\"\\u056F\\u0580\\u0565\\u0564\\u056B\\u057F \\u0584\\u0561\\u0580\\u057F\\u056B \\u0570\\u0561\\u0574\\u0561\\u0580\",currency_code:\"\\u0561\\u0580\\u056A\\u0578\\u0582\\u0575\\u0569\\u056B \\u056F\\u0578\\u0564\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0574\\u0578\\u0582\\u057F\\u0584\"},o={nan:\"NaN\",number:\"\\u0569\\u056B\\u057E\",array:\"\\u0566\\u0561\\u0576\\u0563\\u057E\\u0561\\u056E\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u054D\\u056D\\u0561\\u056C \\u0574\\u0578\\u0582\\u057F\\u0584\\u0561\\u0563\\u0580\\u0578\\u0582\\u0574\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567\\u0580 instanceof ${r.expected}, \\u057D\\u057F\\u0561\\u0581\\u057E\\u0565\\u056C \\u0567 ${s}`:`\\u054D\\u056D\\u0561\\u056C \\u0574\\u0578\\u0582\\u057F\\u0584\\u0561\\u0563\\u0580\\u0578\\u0582\\u0574\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567\\u0580 ${i}, \\u057D\\u057F\\u0561\\u0581\\u057E\\u0565\\u056C \\u0567 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u054D\\u056D\\u0561\\u056C \\u0574\\u0578\\u0582\\u057F\\u0584\\u0561\\u0563\\u0580\\u0578\\u0582\\u0574\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567\\u0580 ${w(r.values[1])}`:`\\u054D\\u056D\\u0561\\u056C \\u057F\\u0561\\u0580\\u0562\\u0565\\u0580\\u0561\\u056F\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567\\u0580 \\u0570\\u0565\\u057F\\u0587\\u0575\\u0561\\u056C\\u0576\\u0565\\u0580\\u056B\\u0581 \\u0574\\u0565\\u056F\\u0568\\u055D ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);if(a){let s=Number(r.maximum),c=E_(s,a.unit.one,a.unit.many);return`\\u0549\\u0561\\u0583\\u0561\\u0566\\u0561\\u0576\\u0581 \\u0574\\u0565\\u056E \\u0561\\u0580\\u056A\\u0565\\u0584\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567, \\u0578\\u0580 ${Tn(r.origin??\"\\u0561\\u0580\\u056A\\u0565\\u0584\")} \\u056F\\u0578\\u0582\\u0576\\u0565\\u0576\\u0561 ${i}${r.maximum.toString()} ${c}`}return`\\u0549\\u0561\\u0583\\u0561\\u0566\\u0561\\u0576\\u0581 \\u0574\\u0565\\u056E \\u0561\\u0580\\u056A\\u0565\\u0584\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567, \\u0578\\u0580 ${Tn(r.origin??\"\\u0561\\u0580\\u056A\\u0565\\u0584\")} \\u056C\\u056B\\u0576\\u056B ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);if(a){let s=Number(r.minimum),c=E_(s,a.unit.one,a.unit.many);return`\\u0549\\u0561\\u0583\\u0561\\u0566\\u0561\\u0576\\u0581 \\u0583\\u0578\\u0584\\u0580 \\u0561\\u0580\\u056A\\u0565\\u0584\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567, \\u0578\\u0580 ${Tn(r.origin)} \\u056F\\u0578\\u0582\\u0576\\u0565\\u0576\\u0561 ${i}${r.minimum.toString()} ${c}`}return`\\u0549\\u0561\\u0583\\u0561\\u0566\\u0561\\u0576\\u0581 \\u0583\\u0578\\u0584\\u0580 \\u0561\\u0580\\u056A\\u0565\\u0584\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567, \\u0578\\u0580 ${Tn(r.origin)} \\u056C\\u056B\\u0576\\u056B ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u054D\\u056D\\u0561\\u056C \\u057F\\u0578\\u0572\\u2024 \\u057A\\u0565\\u057F\\u0584 \\u0567 \\u057D\\u056F\\u057D\\u057E\\u056B \"${i.prefix}\"-\\u0578\\u057E`:i.format===\"ends_with\"?`\\u054D\\u056D\\u0561\\u056C \\u057F\\u0578\\u0572\\u2024 \\u057A\\u0565\\u057F\\u0584 \\u0567 \\u0561\\u057E\\u0561\\u0580\\u057F\\u057E\\u056B \"${i.suffix}\"-\\u0578\\u057E`:i.format===\"includes\"?`\\u054D\\u056D\\u0561\\u056C \\u057F\\u0578\\u0572\\u2024 \\u057A\\u0565\\u057F\\u0584 \\u0567 \\u057A\\u0561\\u0580\\u0578\\u0582\\u0576\\u0561\\u056F\\u056B \"${i.includes}\"`:i.format===\"regex\"?`\\u054D\\u056D\\u0561\\u056C \\u057F\\u0578\\u0572\\u2024 \\u057A\\u0565\\u057F\\u0584 \\u0567 \\u0570\\u0561\\u0574\\u0561\\u057A\\u0561\\u057F\\u0561\\u057D\\u056D\\u0561\\u0576\\u056B ${i.pattern} \\u0571\\u0587\\u0561\\u0579\\u0561\\u0583\\u056B\\u0576`:`\\u054D\\u056D\\u0561\\u056C ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u054D\\u056D\\u0561\\u056C \\u0569\\u056B\\u057E\\u2024 \\u057A\\u0565\\u057F\\u0584 \\u0567 \\u0562\\u0561\\u0566\\u0574\\u0561\\u057A\\u0561\\u057F\\u056B\\u056F \\u056C\\u056B\\u0576\\u056B ${r.divisor}-\\u056B`;case\"unrecognized_keys\":return`\\u0549\\u0573\\u0561\\u0576\\u0561\\u0579\\u057E\\u0561\\u056E \\u0562\\u0561\\u0576\\u0561\\u056C\\u056B${r.keys.length>1?\"\\u0576\\u0565\\u0580\":\"\"}. ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u054D\\u056D\\u0561\\u056C \\u0562\\u0561\\u0576\\u0561\\u056C\\u056B ${Tn(r.origin)}-\\u0578\\u0582\\u0574`;case\"invalid_union\":return\"\\u054D\\u056D\\u0561\\u056C \\u0574\\u0578\\u0582\\u057F\\u0584\\u0561\\u0563\\u0580\\u0578\\u0582\\u0574\";case\"invalid_element\":return`\\u054D\\u056D\\u0561\\u056C \\u0561\\u0580\\u056A\\u0565\\u0584 ${Tn(r.origin)}-\\u0578\\u0582\\u0574`;default:return\"\\u054D\\u056D\\u0561\\u056C \\u0574\\u0578\\u0582\\u057F\\u0584\\u0561\\u0563\\u0580\\u0578\\u0582\\u0574\"}}};function O_(){return{localeError:Ew()}}var Ow=()=>{let e={string:{unit:\"karakter\",verb:\"memiliki\"},file:{unit:\"byte\",verb:\"memiliki\"},array:{unit:\"item\",verb:\"memiliki\"},set:{unit:\"item\",verb:\"memiliki\"},map:{unit:\"item\",verb:\"memiliki\"}};function t(r){return e[r]??null}let n={regex:\"input\",email:\"alamat email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"tanggal dan waktu format ISO\",date:\"tanggal format ISO\",time:\"jam format ISO\",duration:\"durasi format ISO\",ipv4:\"alamat IPv4\",ipv6:\"alamat IPv6\",mac:\"alamat MAC\",cidrv4:\"rentang alamat IPv4\",cidrv6:\"rentang alamat IPv6\",base64:\"string dengan enkode base64\",base64url:\"string dengan enkode base64url\",json_string:\"string JSON\",e164:\"angka E.164\",credit_card:\"nomor kartu kredit\",currency_code:\"kode mata uang\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Input tidak valid: diharapkan instanceof ${r.expected}, diterima ${s}`:`Input tidak valid: diharapkan ${i}, diterima ${s}`}case\"invalid_value\":return r.values.length===1?`Input tidak valid: diharapkan ${w(r.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Terlalu besar: diharapkan ${r.origin??\"value\"} memiliki ${i}${r.maximum.toString()} ${a.unit??\"elemen\"}`:`Terlalu besar: diharapkan ${r.origin??\"value\"} menjadi ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Terlalu kecil: diharapkan ${r.origin} memiliki ${i}${r.minimum.toString()} ${a.unit}`:`Terlalu kecil: diharapkan ${r.origin} menjadi ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`String tidak valid: harus dimulai dengan \"${i.prefix}\"`:i.format===\"ends_with\"?`String tidak valid: harus berakhir dengan \"${i.suffix}\"`:i.format===\"includes\"?`String tidak valid: harus menyertakan \"${i.includes}\"`:i.format===\"regex\"?`String tidak valid: harus sesuai pola ${i.pattern}`:`${n[i.format]??r.format} tidak valid`}case\"not_multiple_of\":return`Angka tidak valid: harus kelipatan dari ${r.divisor}`;case\"unrecognized_keys\":return`Kunci tidak dikenali ${r.keys.length>1?\"s\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Kunci tidak valid di ${r.origin}`;case\"invalid_union\":return\"Input tidak valid\";case\"invalid_element\":return`Nilai tidak valid di ${r.origin}`;default:return\"Input tidak valid\"}}};function C_(){return{localeError:Ow()}}var Cw=()=>{let e={string:{unit:\"stafi\",verb:\"a\\xF0 hafa\"},file:{unit:\"b\\xE6ti\",verb:\"a\\xF0 hafa\"},array:{unit:\"hluti\",verb:\"a\\xF0 hafa\"},set:{unit:\"hluti\",verb:\"a\\xF0 hafa\"},map:{unit:\"hluti\",verb:\"a\\xF0 hafa\"}};function t(r){return e[r]??null}let n={regex:\"gildi\",email:\"netfang\",url:\"vefsl\\xF3\\xF0\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO dagsetning og t\\xEDmi\",date:\"ISO dagsetning\",time:\"ISO t\\xEDmi\",duration:\"ISO t\\xEDmalengd\",ipv4:\"IPv4 address\",ipv6:\"IPv6 address\",mac:\"MAC address\",cidrv4:\"IPv4 range\",cidrv6:\"IPv6 range\",base64:\"base64-encoded strengur\",base64url:\"base64url-encoded strengur\",json_string:\"JSON strengur\",e164:\"E.164 t\\xF6lugildi\",credit_card:\"kreditkortan\\xFAmer\",currency_code:\"gjaldmi\\xF0ilsk\\xF3\\xF0i\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"gildi\"},o={nan:\"NaN\",number:\"n\\xFAmer\",array:\"fylki\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Rangt gildi: \\xDE\\xFA sl\\xF3st inn ${s} \\xFEar sem \\xE1 a\\xF0 vera instanceof ${r.expected}`:`Rangt gildi: \\xDE\\xFA sl\\xF3st inn ${s} \\xFEar sem \\xE1 a\\xF0 vera ${i}`}case\"invalid_value\":return r.values.length===1?`Rangt gildi: gert r\\xE1\\xF0 fyrir ${w(r.values[0])}`:`\\xD3gilt val: m\\xE1 vera eitt af eftirfarandi ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Of st\\xF3rt: gert er r\\xE1\\xF0 fyrir a\\xF0 ${r.origin??\"gildi\"} hafi ${i}${r.maximum.toString()} ${a.unit??\"hluti\"}`:`Of st\\xF3rt: gert er r\\xE1\\xF0 fyrir a\\xF0 ${r.origin??\"gildi\"} s\\xE9 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Of l\\xEDti\\xF0: gert er r\\xE1\\xF0 fyrir a\\xF0 ${r.origin} hafi ${i}${r.minimum.toString()} ${a.unit}`:`Of l\\xEDti\\xF0: gert er r\\xE1\\xF0 fyrir a\\xF0 ${r.origin} s\\xE9 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\xD3gildur strengur: ver\\xF0ur a\\xF0 byrja \\xE1 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\xD3gildur strengur: ver\\xF0ur a\\xF0 enda \\xE1 \"${i.suffix}\"`:i.format===\"includes\"?`\\xD3gildur strengur: ver\\xF0ur a\\xF0 innihalda \"${i.includes}\"`:i.format===\"regex\"?`\\xD3gildur strengur: ver\\xF0ur a\\xF0 fylgja mynstri ${i.pattern}`:`Rangt ${n[i.format]??r.format}`}case\"not_multiple_of\":return`R\\xF6ng tala: ver\\xF0ur a\\xF0 vera margfeldi af ${r.divisor}`;case\"unrecognized_keys\":return`\\xD3\\xFEekkt ${r.keys.length>1?\"ir lyklar\":\"ur lykill\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Rangur lykill \\xED ${r.origin}`;case\"invalid_union\":return\"Rangt gildi\";case\"invalid_element\":return`Rangt gildi \\xED ${r.origin}`;default:return\"Rangt gildi\"}}};function N_(){return{localeError:Cw()}}var Nw=()=>{let e={string:{unit:\"caratteri\",verb:\"avere\"},file:{unit:\"byte\",verb:\"avere\"},array:{unit:\"elementi\",verb:\"avere\"},set:{unit:\"elementi\",verb:\"avere\"},map:{unit:\"elementi\",verb:\"avere\"}};function t(r){return e[r]??null}let n={regex:\"input\",email:\"indirizzo email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"data e ora ISO\",date:\"data ISO\",time:\"ora ISO\",duration:\"durata ISO\",ipv4:\"indirizzo IPv4\",ipv6:\"indirizzo IPv6\",mac:\"indirizzo MAC\",cidrv4:\"intervallo IPv4\",cidrv6:\"intervallo IPv6\",base64:\"stringa codificata in base64\",base64url:\"URL codificata in base64\",json_string:\"stringa JSON\",e164:\"numero E.164\",credit_card:\"numero di carta di credito\",currency_code:\"codice valuta\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\",number:\"numero\",array:\"vettore\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Input non valido: atteso instanceof ${r.expected}, ricevuto ${s}`:`Input non valido: atteso ${i}, ricevuto ${s}`}case\"invalid_value\":return r.values.length===1?`Input non valido: atteso ${w(r.values[0])}`:`Opzione non valida: atteso uno tra ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Troppo grande: ${r.origin??\"valore\"} deve avere ${i}${r.maximum.toString()} ${a.unit??\"elementi\"}`:`Troppo grande: ${r.origin??\"valore\"} deve essere ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Troppo piccolo: ${r.origin} deve avere ${i}${r.minimum.toString()} ${a.unit}`:`Troppo piccolo: ${r.origin} deve essere ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Stringa non valida: deve iniziare con \"${i.prefix}\"`:i.format===\"ends_with\"?`Stringa non valida: deve terminare con \"${i.suffix}\"`:i.format===\"includes\"?`Stringa non valida: deve includere \"${i.includes}\"`:i.format===\"regex\"?`Stringa non valida: deve corrispondere al pattern ${i.pattern}`:`Input non valido: ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Numero non valido: deve essere un multiplo di ${r.divisor}`;case\"unrecognized_keys\":return`Chiav${r.keys.length>1?\"i\":\"e\"} non riconosciut${r.keys.length>1?\"e\":\"a\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Chiave non valida in ${r.origin}`;case\"invalid_union\":return\"Input non valido\";case\"invalid_element\":return`Valore non valido in ${r.origin}`;default:return\"Input non valido\"}}};function j_(){return{localeError:Nw()}}var jw=()=>{let e={string:{unit:\"\\u6587\\u5B57\",verb:\"\\u3067\\u3042\\u308B\"},file:{unit:\"\\u30D0\\u30A4\\u30C8\",verb:\"\\u3067\\u3042\\u308B\"},array:{unit:\"\\u8981\\u7D20\",verb:\"\\u3067\\u3042\\u308B\"},set:{unit:\"\\u8981\\u7D20\",verb:\"\\u3067\\u3042\\u308B\"},map:{unit:\"\\u8981\\u7D20\",verb:\"\\u3067\\u3042\\u308B\"}};function t(r){return e[r]??null}let n={regex:\"\\u5165\\u529B\\u5024\",email:\"\\u30E1\\u30FC\\u30EB\\u30A2\\u30C9\\u30EC\\u30B9\",url:\"URL\",emoji:\"\\u7D75\\u6587\\u5B57\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO\\u65E5\\u6642\",date:\"ISO\\u65E5\\u4ED8\",time:\"ISO\\u6642\\u523B\",duration:\"ISO\\u671F\\u9593\",ipv4:\"IPv4\\u30A2\\u30C9\\u30EC\\u30B9\",ipv6:\"IPv6\\u30A2\\u30C9\\u30EC\\u30B9\",mac:\"MAC\\u30A2\\u30C9\\u30EC\\u30B9\",cidrv4:\"IPv4\\u7BC4\\u56F2\",cidrv6:\"IPv6\\u7BC4\\u56F2\",base64:\"base64\\u30A8\\u30F3\\u30B3\\u30FC\\u30C9\\u6587\\u5B57\\u5217\",base64url:\"base64url\\u30A8\\u30F3\\u30B3\\u30FC\\u30C9\\u6587\\u5B57\\u5217\",json_string:\"JSON\\u6587\\u5B57\\u5217\",e164:\"E.164\\u756A\\u53F7\",credit_card:\"\\u30AF\\u30EC\\u30B8\\u30C3\\u30C8\\u30AB\\u30FC\\u30C9\\u756A\\u53F7\",currency_code:\"\\u901A\\u8CA8\\u30B3\\u30FC\\u30C9\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u5165\\u529B\\u5024\"},o={nan:\"NaN\",number:\"\\u6570\\u5024\",array:\"\\u914D\\u5217\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u7121\\u52B9\\u306A\\u5165\\u529B: instanceof ${r.expected}\\u304C\\u671F\\u5F85\\u3055\\u308C\\u307E\\u3057\\u305F\\u304C\\u3001${s}\\u304C\\u5165\\u529B\\u3055\\u308C\\u307E\\u3057\\u305F`:`\\u7121\\u52B9\\u306A\\u5165\\u529B: ${i}\\u304C\\u671F\\u5F85\\u3055\\u308C\\u307E\\u3057\\u305F\\u304C\\u3001${s}\\u304C\\u5165\\u529B\\u3055\\u308C\\u307E\\u3057\\u305F`}case\"invalid_value\":return r.values.length===1?`\\u7121\\u52B9\\u306A\\u5165\\u529B: ${w(r.values[0])}\\u304C\\u671F\\u5F85\\u3055\\u308C\\u307E\\u3057\\u305F`:`\\u7121\\u52B9\\u306A\\u9078\\u629E: ${S(r.values,\"\\u3001\")}\\u306E\\u3044\\u305A\\u308C\\u304B\\u3067\\u3042\\u308B\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`;case\"too_big\":{let i=r.inclusive?\"\\u4EE5\\u4E0B\\u3067\\u3042\\u308B\":\"\\u3088\\u308A\\u5C0F\\u3055\\u3044\",a=t(r.origin);return a?`\\u5927\\u304D\\u3059\\u304E\\u308B\\u5024: ${r.origin??\"\\u5024\"}\\u306F${r.maximum.toString()}${a.unit??\"\\u8981\\u7D20\"}${i}\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`:`\\u5927\\u304D\\u3059\\u304E\\u308B\\u5024: ${r.origin??\"\\u5024\"}\\u306F${r.maximum.toString()}${i}\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`}case\"too_small\":{let i=r.inclusive?\"\\u4EE5\\u4E0A\\u3067\\u3042\\u308B\":\"\\u3088\\u308A\\u5927\\u304D\\u3044\",a=t(r.origin);return a?`\\u5C0F\\u3055\\u3059\\u304E\\u308B\\u5024: ${r.origin}\\u306F${r.minimum.toString()}${a.unit}${i}\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`:`\\u5C0F\\u3055\\u3059\\u304E\\u308B\\u5024: ${r.origin}\\u306F${r.minimum.toString()}${i}\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u7121\\u52B9\\u306A\\u6587\\u5B57\\u5217: \"${i.prefix}\"\\u3067\\u59CB\\u307E\\u308B\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`:i.format===\"ends_with\"?`\\u7121\\u52B9\\u306A\\u6587\\u5B57\\u5217: \"${i.suffix}\"\\u3067\\u7D42\\u308F\\u308B\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`:i.format===\"includes\"?`\\u7121\\u52B9\\u306A\\u6587\\u5B57\\u5217: \"${i.includes}\"\\u3092\\u542B\\u3080\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`:i.format===\"regex\"?`\\u7121\\u52B9\\u306A\\u6587\\u5B57\\u5217: \\u30D1\\u30BF\\u30FC\\u30F3${i.pattern}\\u306B\\u4E00\\u81F4\\u3059\\u308B\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`:`\\u7121\\u52B9\\u306A${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u7121\\u52B9\\u306A\\u6570\\u5024: ${r.divisor}\\u306E\\u500D\\u6570\\u3067\\u3042\\u308B\\u5FC5\\u8981\\u304C\\u3042\\u308A\\u307E\\u3059`;case\"unrecognized_keys\":return`\\u8A8D\\u8B58\\u3055\\u308C\\u3066\\u3044\\u306A\\u3044\\u30AD\\u30FC${r.keys.length>1?\"\\u7FA4\":\"\"}: ${S(r.keys,\"\\u3001\")}`;case\"invalid_key\":return`${r.origin}\\u5185\\u306E\\u7121\\u52B9\\u306A\\u30AD\\u30FC`;case\"invalid_union\":return\"\\u7121\\u52B9\\u306A\\u5165\\u529B\";case\"invalid_element\":return`${r.origin}\\u5185\\u306E\\u7121\\u52B9\\u306A\\u5024`;default:return\"\\u7121\\u52B9\\u306A\\u5165\\u529B\"}}};function A_(){return{localeError:jw()}}var Aw=()=>{let e={string:{unit:\"\\u10E1\\u10D8\\u10DB\\u10D1\\u10DD\\u10DA\\u10DD\",verb:\"\\u10E3\\u10DC\\u10D3\\u10D0 \\u10E8\\u10D4\\u10D8\\u10EA\\u10D0\\u10D5\\u10D3\\u10D4\\u10E1\"},file:{unit:\"\\u10D1\\u10D0\\u10D8\\u10E2\\u10D8\",verb:\"\\u10E3\\u10DC\\u10D3\\u10D0 \\u10E8\\u10D4\\u10D8\\u10EA\\u10D0\\u10D5\\u10D3\\u10D4\\u10E1\"},array:{unit:\"\\u10D4\\u10DA\\u10D4\\u10DB\\u10D4\\u10DC\\u10E2\\u10D8\",verb:\"\\u10E3\\u10DC\\u10D3\\u10D0 \\u10E8\\u10D4\\u10D8\\u10EA\\u10D0\\u10D5\\u10D3\\u10D4\\u10E1\"},set:{unit:\"\\u10D4\\u10DA\\u10D4\\u10DB\\u10D4\\u10DC\\u10E2\\u10D8\",verb:\"\\u10E3\\u10DC\\u10D3\\u10D0 \\u10E8\\u10D4\\u10D8\\u10EA\\u10D0\\u10D5\\u10D3\\u10D4\\u10E1\"},map:{unit:\"\\u10D4\\u10DA\\u10D4\\u10DB\\u10D4\\u10DC\\u10E2\\u10D8\",verb:\"\\u10E3\\u10DC\\u10D3\\u10D0 \\u10E8\\u10D4\\u10D8\\u10EA\\u10D0\\u10D5\\u10D3\\u10D4\\u10E1\"}};function t(r){return e[r]??null}let n={regex:\"\\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0\",email:\"\\u10D4\\u10DA-\\u10E4\\u10DD\\u10E1\\u10E2\\u10D8\\u10E1 \\u10DB\\u10D8\\u10E1\\u10D0\\u10DB\\u10D0\\u10E0\\u10D7\\u10D8\",url:\"URL\",emoji:\"\\u10D4\\u10DB\\u10DD\\u10EF\\u10D8\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u10D7\\u10D0\\u10E0\\u10D8\\u10E6\\u10D8-\\u10D3\\u10E0\\u10DD\",date:\"\\u10D7\\u10D0\\u10E0\\u10D8\\u10E6\\u10D8\",time:\"\\u10D3\\u10E0\\u10DD\",duration:\"\\u10EE\\u10D0\\u10DC\\u10D2\\u10E0\\u10EB\\u10DA\\u10D8\\u10D5\\u10DD\\u10D1\\u10D0\",ipv4:\"IPv4 \\u10DB\\u10D8\\u10E1\\u10D0\\u10DB\\u10D0\\u10E0\\u10D7\\u10D8\",ipv6:\"IPv6 \\u10DB\\u10D8\\u10E1\\u10D0\\u10DB\\u10D0\\u10E0\\u10D7\\u10D8\",mac:\"MAC \\u10DB\\u10D8\\u10E1\\u10D0\\u10DB\\u10D0\\u10E0\\u10D7\\u10D8\",cidrv4:\"IPv4 \\u10D3\\u10D8\\u10D0\\u10DE\\u10D0\\u10D6\\u10DD\\u10DC\\u10D8\",cidrv6:\"IPv6 \\u10D3\\u10D8\\u10D0\\u10DE\\u10D0\\u10D6\\u10DD\\u10DC\\u10D8\",base64:\"base64-\\u10D9\\u10DD\\u10D3\\u10D8\\u10E0\\u10D4\\u10D1\\u10E3\\u10DA\\u10D8 \\u10D5\\u10D4\\u10DA\\u10D8\",base64url:\"base64url-\\u10D9\\u10DD\\u10D3\\u10D8\\u10E0\\u10D4\\u10D1\\u10E3\\u10DA\\u10D8 \\u10D5\\u10D4\\u10DA\\u10D8\",json_string:\"JSON \\u10D5\\u10D4\\u10DA\\u10D8\",e164:\"E.164 \\u10DC\\u10DD\\u10DB\\u10D4\\u10E0\\u10D8\",credit_card:\"\\u10E1\\u10D0\\u10D9\\u10E0\\u10D4\\u10D3\\u10D8\\u10E2\\u10DD \\u10D1\\u10D0\\u10E0\\u10D0\\u10D7\\u10D8\\u10E1 \\u10DC\\u10DD\\u10DB\\u10D4\\u10E0\\u10D8\",currency_code:\"\\u10D5\\u10D0\\u10DA\\u10E3\\u10E2\\u10D8\\u10E1 \\u10D9\\u10DD\\u10D3\\u10D8\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0\"},o={nan:\"NaN\",number:\"\\u10E0\\u10D8\\u10EA\\u10EE\\u10D5\\u10D8\",string:\"\\u10D5\\u10D4\\u10DA\\u10D8\",boolean:\"\\u10D1\\u10E3\\u10DA\\u10D4\\u10D0\\u10DC\\u10D8\",function:\"\\u10E4\\u10E3\\u10DC\\u10E5\\u10EA\\u10D8\\u10D0\",array:\"\\u10DB\\u10D0\\u10E1\\u10D8\\u10D5\\u10D8\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 instanceof ${r.expected}, \\u10DB\\u10D8\\u10E6\\u10D4\\u10D1\\u10E3\\u10DA\\u10D8 ${s}`:`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${i}, \\u10DB\\u10D8\\u10E6\\u10D4\\u10D1\\u10E3\\u10DA\\u10D8 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${w(r.values[0])}`:`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10D5\\u10D0\\u10E0\\u10D8\\u10D0\\u10DC\\u10E2\\u10D8: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8\\u10D0 \\u10D4\\u10E0\\u10D7-\\u10D4\\u10E0\\u10D7\\u10D8 ${S(r.values,\"|\")}-\\u10D3\\u10D0\\u10DC`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u10D6\\u10D4\\u10D3\\u10DB\\u10D4\\u10E2\\u10D0\\u10D3 \\u10D3\\u10D8\\u10D3\\u10D8: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${r.origin??\"\\u10DB\\u10DC\\u10D8\\u10E8\\u10D5\\u10DC\\u10D4\\u10DA\\u10DD\\u10D1\\u10D0\"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit}`:`\\u10D6\\u10D4\\u10D3\\u10DB\\u10D4\\u10E2\\u10D0\\u10D3 \\u10D3\\u10D8\\u10D3\\u10D8: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${r.origin??\"\\u10DB\\u10DC\\u10D8\\u10E8\\u10D5\\u10DC\\u10D4\\u10DA\\u10DD\\u10D1\\u10D0\"} \\u10D8\\u10E7\\u10DD\\u10E1 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u10D6\\u10D4\\u10D3\\u10DB\\u10D4\\u10E2\\u10D0\\u10D3 \\u10DE\\u10D0\\u10E2\\u10D0\\u10E0\\u10D0: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`\\u10D6\\u10D4\\u10D3\\u10DB\\u10D4\\u10E2\\u10D0\\u10D3 \\u10DE\\u10D0\\u10E2\\u10D0\\u10E0\\u10D0: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${r.origin} \\u10D8\\u10E7\\u10DD\\u10E1 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10D5\\u10D4\\u10DA\\u10D8: \\u10E3\\u10DC\\u10D3\\u10D0 \\u10D8\\u10EC\\u10E7\\u10D4\\u10D1\\u10DD\\u10D3\\u10D4\\u10E1 \"${i.prefix}\"-\\u10D8\\u10D7`:i.format===\"ends_with\"?`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10D5\\u10D4\\u10DA\\u10D8: \\u10E3\\u10DC\\u10D3\\u10D0 \\u10DB\\u10D7\\u10D0\\u10D5\\u10E0\\u10D3\\u10D4\\u10D1\\u10DD\\u10D3\\u10D4\\u10E1 \"${i.suffix}\"-\\u10D8\\u10D7`:i.format===\"includes\"?`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10D5\\u10D4\\u10DA\\u10D8: \\u10E3\\u10DC\\u10D3\\u10D0 \\u10E8\\u10D4\\u10D8\\u10EA\\u10D0\\u10D5\\u10D3\\u10D4\\u10E1 \"${i.includes}\"-\\u10E1`:i.format===\"regex\"?`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10D5\\u10D4\\u10DA\\u10D8: \\u10E3\\u10DC\\u10D3\\u10D0 \\u10E8\\u10D4\\u10D4\\u10E1\\u10D0\\u10D1\\u10D0\\u10DB\\u10D4\\u10D1\\u10DD\\u10D3\\u10D4\\u10E1 \\u10E8\\u10D0\\u10D1\\u10DA\\u10DD\\u10DC\\u10E1 ${i.pattern}`:`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10E0\\u10D8\\u10EA\\u10EE\\u10D5\\u10D8: \\u10E3\\u10DC\\u10D3\\u10D0 \\u10D8\\u10E7\\u10DD\\u10E1 ${r.divisor}-\\u10D8\\u10E1 \\u10EF\\u10D4\\u10E0\\u10D0\\u10D3\\u10D8`;case\"unrecognized_keys\":return`\\u10E3\\u10EA\\u10DC\\u10DD\\u10D1\\u10D8 \\u10D2\\u10D0\\u10E1\\u10D0\\u10E6\\u10D4\\u10D1${r.keys.length>1?\"\\u10D4\\u10D1\\u10D8\":\"\\u10D8\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10D2\\u10D0\\u10E1\\u10D0\\u10E6\\u10D4\\u10D1\\u10D8 ${r.origin}-\\u10E8\\u10D8`;case\"invalid_union\":return\"\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0\";case\"invalid_element\":return`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10DB\\u10DC\\u10D8\\u10E8\\u10D5\\u10DC\\u10D4\\u10DA\\u10DD\\u10D1\\u10D0 ${r.origin}-\\u10E8\\u10D8`;default:return\"\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0\"}}};function U_(){return{localeError:Aw()}}var Uw=()=>{let e={string:{unit:\"\\u178F\\u17BD\\u17A2\\u1780\\u17D2\\u179F\\u179A\",verb:\"\\u1782\\u17BD\\u179A\\u1798\\u17B6\\u1793\"},file:{unit:\"\\u1794\\u17C3\",verb:\"\\u1782\\u17BD\\u179A\\u1798\\u17B6\\u1793\"},array:{unit:\"\\u1792\\u17B6\\u178F\\u17BB\",verb:\"\\u1782\\u17BD\\u179A\\u1798\\u17B6\\u1793\"},set:{unit:\"\\u1792\\u17B6\\u178F\\u17BB\",verb:\"\\u1782\\u17BD\\u179A\\u1798\\u17B6\\u1793\"},map:{unit:\"\\u1792\\u17B6\\u178F\\u17BB\",verb:\"\\u1782\\u17BD\\u179A\\u1798\\u17B6\\u1793\"}};function t(r){return e[r]??null}let n={regex:\"\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1794\\u1789\\u17D2\\u1785\\u17BC\\u179B\",email:\"\\u17A2\\u17B6\\u179F\\u1799\\u178A\\u17D2\\u178B\\u17B6\\u1793\\u17A2\\u17CA\\u17B8\\u1798\\u17C2\\u179B\",url:\"URL\",emoji:\"\\u179F\\u1789\\u17D2\\u1789\\u17B6\\u17A2\\u17B6\\u179A\\u1798\\u17D2\\u1798\\u178E\\u17CD\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u1780\\u17B6\\u179B\\u1794\\u179A\\u17B7\\u1785\\u17D2\\u1786\\u17C1\\u1791 \\u1793\\u17B7\\u1784\\u1798\\u17C9\\u17C4\\u1784 ISO\",date:\"\\u1780\\u17B6\\u179B\\u1794\\u179A\\u17B7\\u1785\\u17D2\\u1786\\u17C1\\u1791 ISO\",time:\"\\u1798\\u17C9\\u17C4\\u1784 ISO\",duration:\"\\u179A\\u1799\\u17C8\\u1796\\u17C1\\u179B ISO\",ipv4:\"\\u17A2\\u17B6\\u179F\\u1799\\u178A\\u17D2\\u178B\\u17B6\\u1793 IPv4\",ipv6:\"\\u17A2\\u17B6\\u179F\\u1799\\u178A\\u17D2\\u178B\\u17B6\\u1793 IPv6\",mac:\"\\u17A2\\u17B6\\u179F\\u1799\\u178A\\u17D2\\u178B\\u17B6\\u1793 MAC\",cidrv4:\"\\u178A\\u17C2\\u1793\\u17A2\\u17B6\\u179F\\u1799\\u178A\\u17D2\\u178B\\u17B6\\u1793 IPv4\",cidrv6:\"\\u178A\\u17C2\\u1793\\u17A2\\u17B6\\u179F\\u1799\\u178A\\u17D2\\u178B\\u17B6\\u1793 IPv6\",base64:\"\\u1781\\u17D2\\u179F\\u17C2\\u17A2\\u1780\\u17D2\\u179F\\u179A\\u17A2\\u17CA\\u17B7\\u1780\\u17BC\\u178A base64\",base64url:\"\\u1781\\u17D2\\u179F\\u17C2\\u17A2\\u1780\\u17D2\\u179F\\u179A\\u17A2\\u17CA\\u17B7\\u1780\\u17BC\\u178A base64url\",json_string:\"\\u1781\\u17D2\\u179F\\u17C2\\u17A2\\u1780\\u17D2\\u179F\\u179A JSON\",e164:\"\\u179B\\u17C1\\u1781 E.164\",credit_card:\"\\u179B\\u17C1\\u1781\\u1794\\u17D0\\u178E\\u17D2\\u178E\\u17A5\\u178E\\u1791\\u17B6\\u1793\",currency_code:\"\\u1780\\u17BC\\u178A\\u179A\\u17BC\\u1794\\u17B7\\u1799\\u1794\\u17D0\\u178E\\u17D2\\u178E\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1794\\u1789\\u17D2\\u1785\\u17BC\\u179B\"},o={nan:\"NaN\",number:\"\\u179B\\u17C1\\u1781\",array:\"\\u17A2\\u17B6\\u179A\\u17C1 (Array)\",null:\"\\u1782\\u17D2\\u1798\\u17B6\\u1793\\u178F\\u1798\\u17D2\\u179B\\u17C3 (null)\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1794\\u1789\\u17D2\\u1785\\u17BC\\u179B\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A instanceof ${r.expected} \\u1794\\u17C9\\u17BB\\u1793\\u17D2\\u178F\\u17C2\\u1791\\u1791\\u17BD\\u179B\\u1794\\u17B6\\u1793 ${s}`:`\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1794\\u1789\\u17D2\\u1785\\u17BC\\u179B\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${i} \\u1794\\u17C9\\u17BB\\u1793\\u17D2\\u178F\\u17C2\\u1791\\u1791\\u17BD\\u179B\\u1794\\u17B6\\u1793 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1794\\u1789\\u17D2\\u1785\\u17BC\\u179B\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${w(r.values[0])}`:`\\u1787\\u1798\\u17D2\\u179A\\u17BE\\u179F\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1787\\u17B6\\u1798\\u17BD\\u1799\\u1780\\u17D2\\u1793\\u17BB\\u1784\\u1785\\u17C6\\u178E\\u17C4\\u1798 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u1792\\u17C6\\u1796\\u17C1\\u1780\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${r.origin??\"\\u178F\\u1798\\u17D2\\u179B\\u17C3\"} ${i} ${r.maximum.toString()} ${a.unit??\"\\u1792\\u17B6\\u178F\\u17BB\"}`:`\\u1792\\u17C6\\u1796\\u17C1\\u1780\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${r.origin??\"\\u178F\\u1798\\u17D2\\u179B\\u17C3\"} ${i} ${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u178F\\u17BC\\u1785\\u1796\\u17C1\\u1780\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${r.origin} ${i} ${r.minimum.toString()} ${a.unit}`:`\\u178F\\u17BC\\u1785\\u1796\\u17C1\\u1780\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${r.origin} ${i} ${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u1781\\u17D2\\u179F\\u17C2\\u17A2\\u1780\\u17D2\\u179F\\u179A\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1785\\u17B6\\u1794\\u17CB\\u1795\\u17D2\\u178F\\u17BE\\u1798\\u178A\\u17C4\\u1799 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u1781\\u17D2\\u179F\\u17C2\\u17A2\\u1780\\u17D2\\u179F\\u179A\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1794\\u1789\\u17D2\\u1785\\u1794\\u17CB\\u178A\\u17C4\\u1799 \"${i.suffix}\"`:i.format===\"includes\"?`\\u1781\\u17D2\\u179F\\u17C2\\u17A2\\u1780\\u17D2\\u179F\\u179A\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1798\\u17B6\\u1793 \"${i.includes}\"`:i.format===\"regex\"?`\\u1781\\u17D2\\u179F\\u17C2\\u17A2\\u1780\\u17D2\\u179F\\u179A\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u178F\\u17C2\\u1795\\u17D2\\u1782\\u17BC\\u1795\\u17D2\\u1782\\u1784\\u1793\\u17B9\\u1784\\u1791\\u1798\\u17D2\\u179A\\u1784\\u17CB\\u178A\\u17C2\\u179B\\u1794\\u17B6\\u1793\\u1780\\u17C6\\u178E\\u178F\\u17CB ${i.pattern}`:`\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u179B\\u17C1\\u1781\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u178F\\u17C2\\u1787\\u17B6\\u1796\\u17A0\\u17BB\\u1782\\u17BB\\u178E\\u1793\\u17C3 ${r.divisor}`;case\"unrecognized_keys\":return`\\u179A\\u1780\\u1783\\u17BE\\u1789\\u179F\\u17C4\\u1798\\u17B7\\u1793\\u179F\\u17D2\\u1782\\u17B6\\u179B\\u17CB\\u17D6 ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u179F\\u17C4\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1793\\u17C5\\u1780\\u17D2\\u1793\\u17BB\\u1784 ${r.origin}`;case\"invalid_union\":return\"\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\";case\"invalid_element\":return`\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1793\\u17C5\\u1780\\u17D2\\u1793\\u17BB\\u1784 ${r.origin}`;default:return\"\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\"}}};function Pl(){return{localeError:Uw()}}function D_(){return Pl()}var Dw=()=>{let e={string:{unit:\"\\u0C85\\u0C95\\u0CCD\\u0CB7\\u0CB0\\u0C97\\u0CB3\\u0CC1\",verb:\"\\u0CB9\\u0CCA\\u0C82\\u0CA6\\u0CB2\\u0CC1\"},file:{unit:\"\\u0CAC\\u0CC8\\u0C9F\\u0CCD\\u200C\\u0C97\\u0CB3\\u0CC1\",verb:\"\\u0CB9\\u0CCA\\u0C82\\u0CA6\\u0CB2\\u0CC1\"},array:{unit:\"\\u0CB5\\u0CB8\\u0CCD\\u0CA4\\u0CC1\\u0C97\\u0CB3\\u0CC1\",verb:\"\\u0CB9\\u0CCA\\u0C82\\u0CA6\\u0CB2\\u0CC1\"},set:{unit:\"\\u0CB5\\u0CB8\\u0CCD\\u0CA4\\u0CC1\\u0C97\\u0CB3\\u0CC1\",verb:\"\\u0CB9\\u0CCA\\u0C82\\u0CA6\\u0CB2\\u0CC1\"},map:{unit:\"entries\",verb:\"\\u0CB9\\u0CCA\\u0C82\\u0CA6\\u0CB2\\u0CC1\"}};function t(r){return e[r]??null}let n={regex:\"\\u0C87\\u0CA8\\u0CCD\\u0CAA\\u0CC1\\u0C9F\\u0CCD\",email:\"email \\u0CB5\\u0CBF\\u0CB3\\u0CBE\\u0CB8\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0CA6\\u0CBF\\u0CA8\\u0CBE\\u0C82\\u0C95\\u0CA6 \\u0CB8\\u0CAE\\u0CAF\",date:\"ISO \\u0CA6\\u0CBF\\u0CA8\\u0CBE\\u0C82\\u0C95\",time:\"ISO \\u0CB8\\u0CAE\\u0CAF\",duration:\"ISO \\u0C85\\u0CB5\\u0CA7\\u0CBF\",ipv4:\"IPv4 \\u0CB5\\u0CBF\\u0CB3\\u0CBE\\u0CB8\",ipv6:\"IPv6 \\u0CB5\\u0CBF\\u0CB3\\u0CBE\\u0CB8\",mac:\"MAC \\u0CB5\\u0CBF\\u0CB3\\u0CBE\\u0CB8\",cidrv4:\"IPv4 \\u0CB5\\u0CCD\\u0CAF\\u0CBE\\u0CAA\\u0CCD\\u0CA4\\u0CBF\\u0CAF\",cidrv6:\"IPv6 \\u0CB5\\u0CCD\\u0CAF\\u0CBE\\u0CAA\\u0CCD\\u0CA4\\u0CBF\\u0CAF\",base64:\"base64-encoded\\u0CB8\\u0CCD\\u0C9F\\u0CCD\\u0CB0\\u0CBF\\u0C82\\u0C97\\u0CCD\",base64url:\"base64url-encoded\\u0CB8\\u0CCD\\u0C9F\\u0CCD\\u0CB0\\u0CBF\\u0C82\\u0C97\\u0CCD\",json_string:\"JSON\\u0CB8\\u0CCD\\u0C9F\\u0CCD\\u0CB0\\u0CBF\\u0C82\\u0C97\\u0CCD\",e164:\"E.164 \\u0CB8\\u0C82\\u0C96\\u0CCD\\u0CAF\\u0CC6\",credit_card:\"\\u0C95\\u0CCD\\u0CB0\\u0CC6\\u0CA1\\u0CBF\\u0C9F\\u0CCD \\u0C95\\u0CBE\\u0CB0\\u0CCD\\u0CA1\\u0CCD \\u0CB8\\u0C82\\u0C96\\u0CCD\\u0CAF\\u0CC6\",currency_code:\"\\u0C95\\u0CB0\\u0CC6\\u0CA8\\u0CCD\\u0CB8\\u0CBF \\u0C95\\u0CCB\\u0CA1\\u0CCD\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0C87\\u0CA8\\u0CCD\\u0CAA\\u0CC1\\u0C9F\\u0CCD\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0C87\\u0CA8\\u0CCD\\u200C\\u0CAA\\u0CC1\\u0C9F\\u0CCD: \\u0CA8\\u0CBF\\u0CB0\\u0CC0\\u0C95\\u0CCD\\u0CB7\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CBF\\u0CA6\\u0CC6 ${i}, \\u0CB8\\u0CCD\\u0CB5\\u0CC0\\u0C95\\u0CB0\\u0CBF\\u0CB8\\u0CBF\\u0CA6\\u0CA8\\u0CC1 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0C87\\u0CA8\\u0CCD\\u200C\\u0CAA\\u0CC1\\u0C9F\\u0CCD: \\u0CA8\\u0CBF\\u0CB0\\u0CC0\\u0C95\\u0CCD\\u0CB7\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CBF\\u0CA6\\u0CC6 ${w(r.values[0])}`:`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0C86\\u0CAF\\u0CCD\\u0C95\\u0CC6: \\u0C87\\u0CB5\\u0CC1\\u0C97\\u0CB3\\u0CB2\\u0CCD\\u0CB2\\u0CBF \\u0C92\\u0C82\\u0CA6\\u0CA8\\u0CCD\\u0CA8\\u0CC1 \\u0CA8\\u0CBF\\u0CB0\\u0CC0\\u0C95\\u0CCD\\u0CB7\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CBF\\u0CA6\\u0CC6 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0CA4\\u0CC1\\u0C82\\u0CAC\\u0CBE \\u0CA6\\u0CCA\\u0CA1\\u0CCD\\u0CA1\\u0CA6\\u0CC1: \\u0CA8\\u0CBF\\u0CB0\\u0CC0\\u0C95\\u0CCD\\u0CB7\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CBF\\u0CA6\\u0CC6 ${r.origin??\"value\"} \\u0CB9\\u0CCA\\u0C82\\u0CA6\\u0CB2\\u0CC1 ${i}${r.maximum.toString()} ${a.unit??\"\\u0C85\\u0C82\\u0CB6\\u0C97\\u0CB3\\u0CC1\"}`:`\\u0CA4\\u0CC1\\u0C82\\u0CAC\\u0CBE \\u0CA6\\u0CCA\\u0CA1\\u0CCD\\u0CA1\\u0CA6\\u0CC1: \\u0CA8\\u0CBF\\u0CB0\\u0CC0\\u0C95\\u0CCD\\u0CB7\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CBF\\u0CA6\\u0CC6 ${r.origin??\"value\"} \\u0C8E\\u0C82\\u0CA6\\u0CC1 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0CA4\\u0CC1\\u0C82\\u0CAC\\u0CBE \\u0C9A\\u0CBF\\u0C95\\u0CCD\\u0C95\\u0CA6\\u0CC1: \\u0CA8\\u0CBF\\u0CB0\\u0CC0\\u0C95\\u0CCD\\u0CB7\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CBF\\u0CA6\\u0CC6 ${r.origin} \\u0CB9\\u0CCA\\u0C82\\u0CA6\\u0CB2\\u0CC1 ${i}${r.minimum.toString()} ${a.unit}`:`\\u0CA4\\u0CC1\\u0C82\\u0CAC\\u0CBE \\u0C9A\\u0CBF\\u0C95\\u0CCD\\u0C95\\u0CA6\\u0CC1: \\u0CA8\\u0CBF\\u0CB0\\u0CC0\\u0C95\\u0CCD\\u0CB7\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CBF\\u0CA6\\u0CC6 ${r.origin} \\u0C8E\\u0C82\\u0CA6\\u0CC1 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF\\u0CB5\\u0CBE\\u0CA6 \\u0CB8\\u0CCD\\u0C9F\\u0CCD\\u0CB0\\u0CBF\\u0C82\\u0C97\\u0CCD: \\u0C87\\u0CA6\\u0CB0\\u0CCA\\u0C82\\u0CA6\\u0CBF\\u0C97\\u0CC6 \\u0CAA\\u0CCD\\u0CB0\\u0CBE\\u0CB0\\u0C82\\u0CAD\\u0CBF\\u0CB8\\u0CAC\\u0CC7\\u0C95\\u0CC1 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF\\u0CB5\\u0CBE\\u0CA6 \\u0CB8\\u0CCD\\u0C9F\\u0CCD\\u0CB0\\u0CBF\\u0C82\\u0C97\\u0CCD: \\u0C87\\u0CA6\\u0CB0\\u0CCA\\u0C82\\u0CA6\\u0CBF\\u0C97\\u0CC6 \\u0C95\\u0CCA\\u0CA8\\u0CC6\\u0C97\\u0CCA\\u0CB3\\u0CCD\\u0CB3\\u0CAC\\u0CC7\\u0C95\\u0CC1 \"${i.suffix}\"`:i.format===\"includes\"?`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0CB8\\u0CCD\\u0C9F\\u0CCD\\u0CB0\\u0CBF\\u0C82\\u0C97\\u0CCD: \\u0C92\\u0CB3\\u0C97\\u0CCA\\u0C82\\u0CA1\\u0CBF\\u0CB0\\u0CAC\\u0CC7\\u0C95\\u0CC1 \"${i.includes}\"`:i.format===\"regex\"?`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF\\u0CB5\\u0CBE\\u0CA6 \\u0CB8\\u0CCD\\u0C9F\\u0CCD\\u0CB0\\u0CBF\\u0C82\\u0C97\\u0CCD: \\u0CAE\\u0CBE\\u0CA6\\u0CB0\\u0CBF\\u0C97\\u0CC6 \\u0CB9\\u0CCA\\u0C82\\u0CA6\\u0CBF\\u0C95\\u0CC6\\u0CAF\\u0CBE\\u0C97\\u0CAC\\u0CC7\\u0C95\\u0CC1 ${i.pattern}`:`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0CB8\\u0C82\\u0C96\\u0CCD\\u0CAF\\u0CC6: \\u0CAC\\u0CB9\\u0CC1\\u0CB8\\u0C82\\u0C96\\u0CCD\\u0CAF\\u0CC6\\u0CAF\\u0CBE\\u0C97\\u0CBF\\u0CB0\\u0CAC\\u0CC7\\u0C95\\u0CC1 ${r.divisor}`;case\"unrecognized_keys\":return`\\u0C97\\u0CC1\\u0CB0\\u0CC1\\u0CA4\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CA6 \\u0C95\\u0CC0 ${r.keys.length>1?\"s\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF\\u0CB5\\u0CBE\\u0CA6 \\u0C95\\u0CC0 \\u0C87\\u0CA8\\u0CCD ${r.origin}`;case\"invalid_union\":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0CA4\\u0CBE\\u0CB0\\u0CA4\\u0CAE\\u0CCD\\u0CAF \\u0CAE\\u0CCC\\u0CB2\\u0CCD\\u0CAF. \\u0CA8\\u0CBF\\u0CB0\\u0CC0\\u0C95\\u0CCD\\u0CB7\\u0CBF\\u0CB8\\u0CB2\\u0CBE\\u0C97\\u0CBF\\u0CA6\\u0CC6 ${r.options.map(a=>`'${a}'`).join(\" | \")}`:\"\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0C87\\u0CA8\\u0CCD\\u200C\\u0CAA\\u0CC1\\u0C9F\\u0CCD\";case\"invalid_element\":return`\\u0CB0\\u0CB2\\u0CCD\\u0CB2\\u0CBF \\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0CAE\\u0CCC\\u0CB2\\u0CCD\\u0CAF ${r.origin}`;default:return\"\\u0C85\\u0CAE\\u0CBE\\u0CA8\\u0CCD\\u0CAF \\u0C87\\u0CA8\\u0CCD\\u200C\\u0CAA\\u0CC1\\u0C9F\\u0CCD\"}}};function M_(){return{localeError:Dw()}}var Mw=()=>{let e={string:{unit:\"\\uBB38\\uC790\",verb:\"to have\"},file:{unit:\"\\uBC14\\uC774\\uD2B8\",verb:\"to have\"},array:{unit:\"\\uAC1C\",verb:\"to have\"},set:{unit:\"\\uAC1C\",verb:\"to have\"},map:{unit:\"\\uAC1C\",verb:\"to have\"}};function t(r){return e[r]??null}let n={regex:\"\\uC785\\uB825\",email:\"\\uC774\\uBA54\\uC77C \\uC8FC\\uC18C\",url:\"URL\",emoji:\"\\uC774\\uBAA8\\uC9C0\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\uB0A0\\uC9DC\\uC2DC\\uAC04\",date:\"ISO \\uB0A0\\uC9DC\",time:\"ISO \\uC2DC\\uAC04\",duration:\"ISO \\uAE30\\uAC04\",ipv4:\"IPv4 \\uC8FC\\uC18C\",ipv6:\"IPv6 \\uC8FC\\uC18C\",mac:\"MAC \\uC8FC\\uC18C\",cidrv4:\"IPv4 \\uBC94\\uC704\",cidrv6:\"IPv6 \\uBC94\\uC704\",base64:\"base64 \\uC778\\uCF54\\uB529 \\uBB38\\uC790\\uC5F4\",base64url:\"base64url \\uC778\\uCF54\\uB529 \\uBB38\\uC790\\uC5F4\",json_string:\"JSON \\uBB38\\uC790\\uC5F4\",e164:\"E.164 \\uBC88\\uD638\",credit_card:\"\\uC2E0\\uC6A9\\uCE74\\uB4DC \\uBC88\\uD638\",currency_code:\"\\uD1B5\\uD654 \\uCF54\\uB4DC\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\uC785\\uB825\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\uC798\\uBABB\\uB41C \\uC785\\uB825: \\uC608\\uC0C1 \\uD0C0\\uC785\\uC740 instanceof ${r.expected}, \\uBC1B\\uC740 \\uD0C0\\uC785\\uC740 ${s}\\uC785\\uB2C8\\uB2E4`:`\\uC798\\uBABB\\uB41C \\uC785\\uB825: \\uC608\\uC0C1 \\uD0C0\\uC785\\uC740 ${i}, \\uBC1B\\uC740 \\uD0C0\\uC785\\uC740 ${s}\\uC785\\uB2C8\\uB2E4`}case\"invalid_value\":return r.values.length===1?`\\uC798\\uBABB\\uB41C \\uC785\\uB825: \\uAC12\\uC740 ${w(r.values[0])} \\uC774\\uC5B4\\uC57C \\uD569\\uB2C8\\uB2E4`:`\\uC798\\uBABB\\uB41C \\uC635\\uC158: ${S(r.values,\"\\uB610\\uB294 \")} \\uC911 \\uD558\\uB098\\uC5EC\\uC57C \\uD569\\uB2C8\\uB2E4`;case\"too_big\":{let i=r.inclusive?\"\\uC774\\uD558\":\"\\uBBF8\\uB9CC\",a=i===\"\\uBBF8\\uB9CC\"?\"\\uC774\\uC5B4\\uC57C \\uD569\\uB2C8\\uB2E4\":\"\\uC5EC\\uC57C \\uD569\\uB2C8\\uB2E4\",s=t(r.origin),c=s?.unit??\"\\uC694\\uC18C\";return s?`${r.origin??\"\\uAC12\"}\\uC774 \\uB108\\uBB34 \\uD07D\\uB2C8\\uB2E4: ${r.maximum.toString()}${c} ${i}${a}`:`${r.origin??\"\\uAC12\"}\\uC774 \\uB108\\uBB34 \\uD07D\\uB2C8\\uB2E4: ${r.maximum.toString()} ${i}${a}`}case\"too_small\":{let i=r.inclusive?\"\\uC774\\uC0C1\":\"\\uCD08\\uACFC\",a=i===\"\\uC774\\uC0C1\"?\"\\uC774\\uC5B4\\uC57C \\uD569\\uB2C8\\uB2E4\":\"\\uC5EC\\uC57C \\uD569\\uB2C8\\uB2E4\",s=t(r.origin),c=s?.unit??\"\\uC694\\uC18C\";return s?`${r.origin??\"\\uAC12\"}\\uC774 \\uB108\\uBB34 \\uC791\\uC2B5\\uB2C8\\uB2E4: ${r.minimum.toString()}${c} ${i}${a}`:`${r.origin??\"\\uAC12\"}\\uC774 \\uB108\\uBB34 \\uC791\\uC2B5\\uB2C8\\uB2E4: ${r.minimum.toString()} ${i}${a}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\uC798\\uBABB\\uB41C \\uBB38\\uC790\\uC5F4: \"${i.prefix}\"(\\uC73C)\\uB85C \\uC2DC\\uC791\\uD574\\uC57C \\uD569\\uB2C8\\uB2E4`:i.format===\"ends_with\"?`\\uC798\\uBABB\\uB41C \\uBB38\\uC790\\uC5F4: \"${i.suffix}\"(\\uC73C)\\uB85C \\uB05D\\uB098\\uC57C \\uD569\\uB2C8\\uB2E4`:i.format===\"includes\"?`\\uC798\\uBABB\\uB41C \\uBB38\\uC790\\uC5F4: \"${i.includes}\"\\uC744(\\uB97C) \\uD3EC\\uD568\\uD574\\uC57C \\uD569\\uB2C8\\uB2E4`:i.format===\"regex\"?`\\uC798\\uBABB\\uB41C \\uBB38\\uC790\\uC5F4: \\uC815\\uADDC\\uC2DD ${i.pattern} \\uD328\\uD134\\uACFC \\uC77C\\uCE58\\uD574\\uC57C \\uD569\\uB2C8\\uB2E4`:`\\uC798\\uBABB\\uB41C ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\uC798\\uBABB\\uB41C \\uC22B\\uC790: ${r.divisor}\\uC758 \\uBC30\\uC218\\uC5EC\\uC57C \\uD569\\uB2C8\\uB2E4`;case\"unrecognized_keys\":return`\\uC778\\uC2DD\\uD560 \\uC218 \\uC5C6\\uB294 \\uD0A4: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\uC798\\uBABB\\uB41C \\uD0A4: ${r.origin}`;case\"invalid_union\":return\"\\uC798\\uBABB\\uB41C \\uC785\\uB825\";case\"invalid_element\":return`\\uC798\\uBABB\\uB41C \\uAC12: ${r.origin}`;default:return\"\\uC798\\uBABB\\uB41C \\uC785\\uB825\"}}};function q_(){return{localeError:Mw()}}var ea=e=>e.charAt(0).toUpperCase()+e.slice(1);function L_(e){let t=Math.abs(e),n=t%10,o=t%100;return o>=11&&o<=19||n===0?\"many\":n===1?\"one\":\"few\"}var qw=()=>{let e={string:{unit:{one:\"simbolis\",few:\"simboliai\",many:\"simboli\\u0173\"},verb:{smaller:{inclusive:\"turi b\\u016Bti ne ilgesn\\u0117 kaip\",notInclusive:\"turi b\\u016Bti trumpesn\\u0117 kaip\"},bigger:{inclusive:\"turi b\\u016Bti ne trumpesn\\u0117 kaip\",notInclusive:\"turi b\\u016Bti ilgesn\\u0117 kaip\"}}},file:{unit:{one:\"baitas\",few:\"baitai\",many:\"bait\\u0173\"},verb:{smaller:{inclusive:\"turi b\\u016Bti ne didesnis kaip\",notInclusive:\"turi b\\u016Bti ma\\u017Eesnis kaip\"},bigger:{inclusive:\"turi b\\u016Bti ne ma\\u017Eesnis kaip\",notInclusive:\"turi b\\u016Bti didesnis kaip\"}}},array:{unit:{one:\"element\\u0105\",few:\"elementus\",many:\"element\\u0173\"},verb:{smaller:{inclusive:\"turi tur\\u0117ti ne daugiau kaip\",notInclusive:\"turi tur\\u0117ti ma\\u017Eiau kaip\"},bigger:{inclusive:\"turi tur\\u0117ti ne ma\\u017Eiau kaip\",notInclusive:\"turi tur\\u0117ti daugiau kaip\"}}},set:{unit:{one:\"element\\u0105\",few:\"elementus\",many:\"element\\u0173\"},verb:{smaller:{inclusive:\"turi tur\\u0117ti ne daugiau kaip\",notInclusive:\"turi tur\\u0117ti ma\\u017Eiau kaip\"},bigger:{inclusive:\"turi tur\\u0117ti ne ma\\u017Eiau kaip\",notInclusive:\"turi tur\\u0117ti daugiau kaip\"}}}};function t(r,i,a,s){let c=e[r]??null;return c===null?c:{unit:c.unit[i],verb:c.verb[s][a?\"inclusive\":\"notInclusive\"]}}let n={regex:\"\\u012Fvestis\",email:\"el. pa\\u0161to adresas\",url:\"URL\",emoji:\"jaustukas\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO data ir laikas\",date:\"ISO data\",time:\"ISO laikas\",duration:\"ISO trukm\\u0117\",ipv4:\"IPv4 adresas\",ipv6:\"IPv6 adresas\",mac:\"MAC adresas\",cidrv4:\"IPv4 tinklo prefiksas (CIDR)\",cidrv6:\"IPv6 tinklo prefiksas (CIDR)\",base64:\"base64 u\\u017Ekoduota eilut\\u0117\",base64url:\"base64url u\\u017Ekoduota eilut\\u0117\",json_string:\"JSON eilut\\u0117\",e164:\"E.164 numeris\",credit_card:\"kredito kortel\\u0117s numeris\",currency_code:\"valiutos kodas\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u012Fvestis\"},o={nan:\"NaN\",number:\"skai\\u010Dius\",bigint:\"sveikasis skai\\u010Dius\",string:\"eilut\\u0117\",boolean:\"login\\u0117 reik\\u0161m\\u0117\",undefined:\"neapibr\\u0117\\u017Eta reik\\u0161m\\u0117\",function:\"funkcija\",symbol:\"simbolis\",array:\"masyvas\",object:\"objektas\",null:\"nulin\\u0117 reik\\u0161m\\u0117\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Gautas tipas ${s}, o tik\\u0117tasi - instanceof ${r.expected}`:`Gautas tipas ${s}, o tik\\u0117tasi - ${i}`}case\"invalid_value\":return r.values.length===1?`Privalo b\\u016Bti ${w(r.values[0])}`:`Privalo b\\u016Bti vienas i\\u0161 ${S(r.values,\"|\")} pasirinkim\\u0173`;case\"too_big\":{let i=o[r.origin]??r.origin,a=t(r.origin,L_(Number(r.maximum)),r.inclusive??!1,\"smaller\");if(a?.verb)return`${ea(i??r.origin??\"reik\\u0161m\\u0117\")} ${a.verb} ${r.maximum.toString()} ${a.unit??\"element\\u0173\"}`;let s=r.inclusive?\"ne didesnis kaip\":\"ma\\u017Eesnis kaip\";return`${ea(i??r.origin??\"reik\\u0161m\\u0117\")} turi b\\u016Bti ${s} ${r.maximum.toString()} ${a?.unit}`}case\"too_small\":{let i=o[r.origin]??r.origin,a=t(r.origin,L_(Number(r.minimum)),r.inclusive??!1,\"bigger\");if(a?.verb)return`${ea(i??r.origin??\"reik\\u0161m\\u0117\")} ${a.verb} ${r.minimum.toString()} ${a.unit??\"element\\u0173\"}`;let s=r.inclusive?\"ne ma\\u017Eesnis kaip\":\"didesnis kaip\";return`${ea(i??r.origin??\"reik\\u0161m\\u0117\")} turi b\\u016Bti ${s} ${r.minimum.toString()} ${a?.unit}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Eilut\\u0117 privalo prasid\\u0117ti \"${i.prefix}\"`:i.format===\"ends_with\"?`Eilut\\u0117 privalo pasibaigti \"${i.suffix}\"`:i.format===\"includes\"?`Eilut\\u0117 privalo \\u012Ftraukti \"${i.includes}\"`:i.format===\"regex\"?`Eilut\\u0117 privalo atitikti ${i.pattern}`:`Neteisingas ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Skai\\u010Dius privalo b\\u016Bti ${r.divisor} kartotinis.`;case\"unrecognized_keys\":return`Neatpa\\u017Eint${r.keys.length>1?\"i\":\"as\"} rakt${r.keys.length>1?\"ai\":\"as\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return\"Rastas klaidingas raktas\";case\"invalid_union\":return\"Klaidinga \\u012Fvestis\";case\"invalid_element\":{let i=o[r.origin]??r.origin;return`${ea(i??r.origin??\"reik\\u0161m\\u0117\")} turi klaiding\\u0105 \\u012Fvest\\u012F`}default:return\"Klaidinga \\u012Fvestis\"}}};function V_(){return{localeError:qw()}}var Lw=()=>{let e={string:{unit:\"\\u0437\\u043D\\u0430\\u0446\\u0438\",verb:\"\\u0434\\u0430 \\u0438\\u043C\\u0430\\u0430\\u0442\"},file:{unit:\"\\u0431\\u0430\\u0458\\u0442\\u0438\",verb:\"\\u0434\\u0430 \\u0438\\u043C\\u0430\\u0430\\u0442\"},array:{unit:\"\\u0441\\u0442\\u0430\\u0432\\u043A\\u0438\",verb:\"\\u0434\\u0430 \\u0438\\u043C\\u0430\\u0430\\u0442\"},set:{unit:\"\\u0441\\u0442\\u0430\\u0432\\u043A\\u0438\",verb:\"\\u0434\\u0430 \\u0438\\u043C\\u0430\\u0430\\u0442\"},map:{unit:\"\\u0441\\u0442\\u0430\\u0432\\u043A\\u0438\",verb:\"\\u0434\\u0430 \\u0438\\u043C\\u0430\\u0430\\u0442\"}};function t(r){return e[r]??null}let n={regex:\"\\u0432\\u043D\\u0435\\u0441\",email:\"\\u0430\\u0434\\u0440\\u0435\\u0441\\u0430 \\u043D\\u0430 \\u0435-\\u043F\\u043E\\u0448\\u0442\\u0430\",url:\"URL\",emoji:\"\\u0435\\u043C\\u043E\\u045F\\u0438\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0434\\u0430\\u0442\\u0443\\u043C \\u0438 \\u0432\\u0440\\u0435\\u043C\\u0435\",date:\"ISO \\u0434\\u0430\\u0442\\u0443\\u043C\",time:\"ISO \\u0432\\u0440\\u0435\\u043C\\u0435\",duration:\"ISO \\u0432\\u0440\\u0435\\u043C\\u0435\\u0442\\u0440\\u0430\\u0435\\u045A\\u0435\",ipv4:\"IPv4 \\u0430\\u0434\\u0440\\u0435\\u0441\\u0430\",ipv6:\"IPv6 \\u0430\\u0434\\u0440\\u0435\\u0441\\u0430\",mac:\"MAC \\u0430\\u0434\\u0440\\u0435\\u0441\\u0430\",cidrv4:\"IPv4 \\u043E\\u043F\\u0441\\u0435\\u0433\",cidrv6:\"IPv6 \\u043E\\u043F\\u0441\\u0435\\u0433\",base64:\"base64-\\u0435\\u043D\\u043A\\u043E\\u0434\\u0438\\u0440\\u0430\\u043D\\u0430 \\u043D\\u0438\\u0437\\u0430\",base64url:\"base64url-\\u0435\\u043D\\u043A\\u043E\\u0434\\u0438\\u0440\\u0430\\u043D\\u0430 \\u043D\\u0438\\u0437\\u0430\",json_string:\"JSON \\u043D\\u0438\\u0437\\u0430\",e164:\"E.164 \\u0431\\u0440\\u043E\\u0458\",credit_card:\"\\u0431\\u0440\\u043E\\u0458 \\u043D\\u0430 \\u043A\\u0440\\u0435\\u0434\\u0438\\u0442\\u043D\\u0430 \\u043A\\u0430\\u0440\\u0442\\u0438\\u0447\\u043A\\u0430\",currency_code:\"\\u043A\\u043E\\u0434 \\u043D\\u0430 \\u0432\\u0430\\u043B\\u0443\\u0442\\u0430\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0432\\u043D\\u0435\\u0441\"},o={nan:\"NaN\",number:\"\\u0431\\u0440\\u043E\\u0458\",array:\"\\u043D\\u0438\\u0437\\u0430\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u0413\\u0440\\u0435\\u0448\\u0435\\u043D \\u0432\\u043D\\u0435\\u0441: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 instanceof ${r.expected}, \\u043F\\u0440\\u0438\\u043C\\u0435\\u043D\\u043E ${s}`:`\\u0413\\u0440\\u0435\\u0448\\u0435\\u043D \\u0432\\u043D\\u0435\\u0441: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 ${i}, \\u043F\\u0440\\u0438\\u043C\\u0435\\u043D\\u043E ${s}`}case\"invalid_value\":return r.values.length===1?`Invalid input: expected ${w(r.values[0])}`:`\\u0413\\u0440\\u0435\\u0448\\u0430\\u043D\\u0430 \\u043E\\u043F\\u0446\\u0438\\u0458\\u0430: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 \\u0435\\u0434\\u043D\\u0430 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u041F\\u0440\\u0435\\u043C\\u043D\\u043E\\u0433\\u0443 \\u0433\\u043E\\u043B\\u0435\\u043C: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 ${r.origin??\"\\u0432\\u0440\\u0435\\u0434\\u043D\\u043E\\u0441\\u0442\\u0430\"} \\u0434\\u0430 \\u0438\\u043C\\u0430 ${i}${r.maximum.toString()} ${a.unit??\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0438\"}`:`\\u041F\\u0440\\u0435\\u043C\\u043D\\u043E\\u0433\\u0443 \\u0433\\u043E\\u043B\\u0435\\u043C: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 ${r.origin??\"\\u0432\\u0440\\u0435\\u0434\\u043D\\u043E\\u0441\\u0442\\u0430\"} \\u0434\\u0430 \\u0431\\u0438\\u0434\\u0435 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u041F\\u0440\\u0435\\u043C\\u043D\\u043E\\u0433\\u0443 \\u043C\\u0430\\u043B: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 ${r.origin} \\u0434\\u0430 \\u0438\\u043C\\u0430 ${i}${r.minimum.toString()} ${a.unit}`:`\\u041F\\u0440\\u0435\\u043C\\u043D\\u043E\\u0433\\u0443 \\u043C\\u0430\\u043B: \\u0441\\u0435 \\u043E\\u0447\\u0435\\u043A\\u0443\\u0432\\u0430 ${r.origin} \\u0434\\u0430 \\u0431\\u0438\\u0434\\u0435 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u041D\\u0435\\u0432\\u0430\\u0436\\u0435\\u0447\\u043A\\u0430 \\u043D\\u0438\\u0437\\u0430: \\u043C\\u043E\\u0440\\u0430 \\u0434\\u0430 \\u0437\\u0430\\u043F\\u043E\\u0447\\u043D\\u0443\\u0432\\u0430 \\u0441\\u043E \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u041D\\u0435\\u0432\\u0430\\u0436\\u0435\\u0447\\u043A\\u0430 \\u043D\\u0438\\u0437\\u0430: \\u043C\\u043E\\u0440\\u0430 \\u0434\\u0430 \\u0437\\u0430\\u0432\\u0440\\u0448\\u0443\\u0432\\u0430 \\u0441\\u043E \"${i.suffix}\"`:i.format===\"includes\"?`\\u041D\\u0435\\u0432\\u0430\\u0436\\u0435\\u0447\\u043A\\u0430 \\u043D\\u0438\\u0437\\u0430: \\u043C\\u043E\\u0440\\u0430 \\u0434\\u0430 \\u0432\\u043A\\u043B\\u0443\\u0447\\u0443\\u0432\\u0430 \"${i.includes}\"`:i.format===\"regex\"?`\\u041D\\u0435\\u0432\\u0430\\u0436\\u0435\\u0447\\u043A\\u0430 \\u043D\\u0438\\u0437\\u0430: \\u043C\\u043E\\u0440\\u0430 \\u0434\\u0430 \\u043E\\u0434\\u0433\\u043E\\u0430\\u0440\\u0430 \\u043D\\u0430 \\u043F\\u0430\\u0442\\u0435\\u0440\\u043D\\u043E\\u0442 ${i.pattern}`:`Invalid ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u0413\\u0440\\u0435\\u0448\\u0435\\u043D \\u0431\\u0440\\u043E\\u0458: \\u043C\\u043E\\u0440\\u0430 \\u0434\\u0430 \\u0431\\u0438\\u0434\\u0435 \\u0434\\u0435\\u043B\\u0438\\u0432 \\u0441\\u043E ${r.divisor}`;case\"unrecognized_keys\":return`${r.keys.length>1?\"\\u041D\\u0435\\u043F\\u0440\\u0435\\u043F\\u043E\\u0437\\u043D\\u0430\\u0435\\u043D\\u0438 \\u043A\\u043B\\u0443\\u0447\\u0435\\u0432\\u0438\":\"\\u041D\\u0435\\u043F\\u0440\\u0435\\u043F\\u043E\\u0437\\u043D\\u0430\\u0435\\u043D \\u043A\\u043B\\u0443\\u0447\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u0413\\u0440\\u0435\\u0448\\u0435\\u043D \\u043A\\u043B\\u0443\\u0447 \\u0432\\u043E ${r.origin}`;case\"invalid_union\":return\"\\u0413\\u0440\\u0435\\u0448\\u0435\\u043D \\u0432\\u043D\\u0435\\u0441\";case\"invalid_element\":return`\\u0413\\u0440\\u0435\\u0448\\u043D\\u0430 \\u0432\\u0440\\u0435\\u0434\\u043D\\u043E\\u0441\\u0442 \\u0432\\u043E ${r.origin}`;default:return\"\\u0413\\u0440\\u0435\\u0448\\u0435\\u043D \\u0432\\u043D\\u0435\\u0441\"}}};function Z_(){return{localeError:Lw()}}var Vw=()=>{let e={string:{unit:\"aksara\",verb:\"mempunyai\"},file:{unit:\"bait\",verb:\"mempunyai\"},array:{unit:\"elemen\",verb:\"mempunyai\"},set:{unit:\"elemen\",verb:\"mempunyai\"},map:{unit:\"elemen\",verb:\"mempunyai\"}};function t(r){return e[r]??null}let n={regex:\"input\",email:\"alamat e-mel\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"tarikh masa ISO\",date:\"tarikh ISO\",time:\"masa ISO\",duration:\"tempoh ISO\",ipv4:\"alamat IPv4\",ipv6:\"alamat IPv6\",mac:\"alamat MAC\",cidrv4:\"julat IPv4\",cidrv6:\"julat IPv6\",base64:\"string dikodkan base64\",base64url:\"string dikodkan base64url\",json_string:\"string JSON\",e164:\"nombor E.164\",credit_card:\"nombor kad kredit\",currency_code:\"kod mata wang\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\",number:\"nombor\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Input tidak sah: dijangka instanceof ${r.expected}, diterima ${s}`:`Input tidak sah: dijangka ${i}, diterima ${s}`}case\"invalid_value\":return r.values.length===1?`Input tidak sah: dijangka ${w(r.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Terlalu besar: dijangka ${r.origin??\"nilai\"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit??\"elemen\"}`:`Terlalu besar: dijangka ${r.origin??\"nilai\"} adalah ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Terlalu kecil: dijangka ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`Terlalu kecil: dijangka ${r.origin} adalah ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`String tidak sah: mesti bermula dengan \"${i.prefix}\"`:i.format===\"ends_with\"?`String tidak sah: mesti berakhir dengan \"${i.suffix}\"`:i.format===\"includes\"?`String tidak sah: mesti mengandungi \"${i.includes}\"`:i.format===\"regex\"?`String tidak sah: mesti sepadan dengan corak ${i.pattern}`:`${n[i.format]??r.format} tidak sah`}case\"not_multiple_of\":return`Nombor tidak sah: perlu gandaan ${r.divisor}`;case\"unrecognized_keys\":return`Kunci tidak dikenali: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Kunci tidak sah dalam ${r.origin}`;case\"invalid_union\":return\"Input tidak sah\";case\"invalid_element\":return`Nilai tidak sah dalam ${r.origin}`;default:return\"Input tidak sah\"}}};function F_(){return{localeError:Vw()}}var Zw=()=>{let e={string:{unit:\"\\u0905\\u0915\\u094D\\u0937\\u0930\",verb:\"\\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B\"},file:{unit:\"\\u092C\\u093E\\u0907\\u091F\",verb:\"\\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B\"},array:{unit:\"\\u0924\\u0924\\u094D\\u0935\",verb:\"\\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B\"},set:{unit:\"\\u0924\\u0924\\u094D\\u0935\",verb:\"\\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B\"},map:{unit:\"\\u092A\\u094D\\u0930\\u0935\\u093F\\u0937\\u094D\\u091F\\u093F\",verb:\"\\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B\"}};function t(r){return e[r]??null}let n={regex:\"\\u0907\\u0928\\u092A\\u0941\\u091F\",email:\"\\u0907\\u092E\\u0947\\u0932 \\u0920\\u0947\\u0917\\u093E\\u0928\\u093E\",url:\"URL\",emoji:\"\\u0907\\u092E\\u094B\\u091C\\u0940\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u092E\\u093F\\u0924\\u093F \\u0930 \\u0938\\u092E\\u092F\",date:\"ISO \\u092E\\u093F\\u0924\\u093F\",time:\"ISO \\u0938\\u092E\\u092F\",duration:\"ISO \\u0905\\u0935\\u0927\\u093F\",ipv4:\"IPv4 \\u0920\\u0947\\u0917\\u093E\\u0928\\u093E\",ipv6:\"IPv6 \\u0920\\u0947\\u0917\\u093E\\u0928\\u093E\",mac:\"MAC \\u0920\\u0947\\u0917\\u093E\\u0928\\u093E\",cidrv4:\"IPv4 \\u0926\\u093E\\u092F\\u0930\\u093E\",cidrv6:\"IPv6 \\u0926\\u093E\\u092F\\u0930\\u093E\",base64:\"base64-\\u0907\\u0928\\u094D\\u0915\\u094B\\u0921 \\u0917\\u0930\\u093F\\u090F\\u0915\\u094B \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0919\",base64url:\"base64url-\\u0907\\u0928\\u094D\\u0915\\u094B\\u0921 \\u0917\\u0930\\u093F\\u090F\\u0915\\u094B \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0919\",json_string:\"JSON \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0919\",e164:\"E.164 \\u0928\\u092E\\u094D\\u092C\\u0930\",credit_card:\"\\u0915\\u094D\\u0930\\u0947\\u0921\\u093F\\u091F \\u0915\\u093E\\u0930\\u094D\\u0921 \\u0928\\u092E\\u094D\\u092C\\u0930\",currency_code:\"\\u092E\\u0941\\u0926\\u094D\\u0930\\u093E \\u0915\\u094B\\u0921\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0907\\u0928\\u092A\\u0941\\u091F\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0907\\u0928\\u092A\\u0941\\u091F: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 ${i}, \\u092A\\u094D\\u0930\\u093E\\u092A\\u094D\\u0924 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0907\\u0928\\u092A\\u0941\\u091F: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 ${w(r.values[0])}`:`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0935\\u093F\\u0915\\u0932\\u094D\\u092A: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 \\u092E\\u093E\\u0928\\u0939\\u0930\\u0942 \\u092E\\u0927\\u094D\\u092F\\u0947 \\u090F\\u0915 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0927\\u0947\\u0930\\u0948 \\u0920\\u0942\\u0932\\u094B: ${r.origin??\"\\u092E\\u093E\\u0928\"} \\u092E\\u093E ${i}${r.maximum.toString()} ${a.unit} ${a.verb}`:`\\u0927\\u0947\\u0930\\u0948 \\u0920\\u0942\\u0932\\u094B: ${r.origin??\"\\u092E\\u093E\\u0928\"} ${i}${r.maximum.toString()} \\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0927\\u0947\\u0930\\u0948 \\u0938\\u093E\\u0928\\u094B: ${r.origin} \\u092E\\u093E ${i}${r.minimum.toString()} ${a.unit} ${a.verb}`:`\\u0927\\u0947\\u0930\\u0948 \\u0938\\u093E\\u0928\\u094B: ${r.origin} ${i}${r.minimum.toString()} \\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0919: \"${i.prefix}\" \\u092C\\u093E\\u091F \\u0938\\u0941\\u0930\\u0941 \\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B`:i.format===\"ends_with\"?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0919: \"${i.suffix}\" \\u092E\\u093E \\u0938\\u092E\\u093E\\u092A\\u094D\\u0924 \\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B`:i.format===\"includes\"?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0919: \"${i.includes}\" \\u0938\\u092E\\u093E\\u0935\\u0947\\u0936 \\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B`:i.format===\"regex\"?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u094D\\u091F\\u094D\\u0930\\u093F\\u0919: \\u0922\\u093E\\u0901\\u091A\\u093E ${i.pattern} \\u0938\\u0901\\u0917 \\u092E\\u0947\\u0932 \\u0916\\u093E\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B`:`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0938\\u0902\\u0916\\u094D\\u092F\\u093E: ${r.divisor} \\u0915\\u094B \\u0917\\u0941\\u0923\\u091C \\u0939\\u0941\\u0928\\u0941\\u092A\\u0930\\u094D\\u091B`;case\"unrecognized_keys\":return`\\u0905\\u092A\\u0930\\u093F\\u091A\\u093F\\u0924 \\u0915\\u0941\\u091E\\u094D\\u091C\\u0940${r.keys.length>1?\"\\u0939\\u0930\\u0942\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0915\\u0941\\u091E\\u094D\\u091C\\u0940: ${r.origin} \\u092E\\u093E`;case\"invalid_union\":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0921\\u093F\\u0938\\u094D\\u0915\\u094D\\u0930\\u093F\\u092E\\u093F\\u0928\\u0947\\u091F\\u0930 \\u092E\\u093E\\u0928: \\u0905\\u092A\\u0947\\u0915\\u094D\\u0937\\u093F\\u0924 ${r.options.map(a=>`'${a}'`).join(\" | \")}`:\"\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0907\\u0928\\u092A\\u0941\\u091F\";case\"invalid_element\":return`\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u092E\\u093E\\u0928: ${r.origin} \\u092E\\u093E`;default:return\"\\u0905\\u092E\\u093E\\u0928\\u094D\\u092F \\u0907\\u0928\\u092A\\u0941\\u091F\"}}};function J_(){return{localeError:Zw()}}var Fw=()=>{let e={string:{unit:\"tekens\",verb:\"heeft\"},file:{unit:\"bytes\",verb:\"heeft\"},array:{unit:\"elementen\",verb:\"heeft\"},set:{unit:\"elementen\",verb:\"heeft\"},map:{unit:\"elementen\",verb:\"heeft\"}};function t(r){return e[r]??null}let n={regex:\"invoer\",email:\"emailadres\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO datum en tijd\",date:\"ISO datum\",time:\"ISO tijd\",duration:\"ISO duur\",ipv4:\"IPv4-adres\",ipv6:\"IPv6-adres\",mac:\"MAC-adres\",cidrv4:\"IPv4-bereik\",cidrv6:\"IPv6-bereik\",base64:\"base64-gecodeerde tekst\",base64url:\"base64 URL-gecodeerde tekst\",json_string:\"JSON string\",e164:\"E.164-nummer\",credit_card:\"creditcardnummer\",currency_code:\"valutacode\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"invoer\"},o={nan:\"NaN\",number:\"getal\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Ongeldige invoer: verwacht instanceof ${r.expected}, ontving ${s}`:`Ongeldige invoer: verwacht ${i}, ontving ${s}`}case\"invalid_value\":return r.values.length===1?`Ongeldige invoer: verwacht ${w(r.values[0])}`:`Ongeldige optie: verwacht \\xE9\\xE9n van ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin),s=r.origin===\"date\"?\"laat\":r.origin===\"string\"?\"lang\":\"groot\";return a?`Te ${s}: verwacht dat ${r.origin??\"waarde\"} ${i}${r.maximum.toString()} ${a.unit??\"elementen\"} ${a.verb}`:`Te ${s}: verwacht dat ${r.origin??\"waarde\"} ${i}${r.maximum.toString()} is`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin),s=r.origin===\"date\"?\"vroeg\":r.origin===\"string\"?\"kort\":\"klein\";return a?`Te ${s}: verwacht dat ${r.origin} ${i}${r.minimum.toString()} ${a.unit} ${a.verb}`:`Te ${s}: verwacht dat ${r.origin} ${i}${r.minimum.toString()} is`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Ongeldige tekst: moet met \"${i.prefix}\" beginnen`:i.format===\"ends_with\"?`Ongeldige tekst: moet op \"${i.suffix}\" eindigen`:i.format===\"includes\"?`Ongeldige tekst: moet \"${i.includes}\" bevatten`:i.format===\"regex\"?`Ongeldige tekst: moet overeenkomen met patroon ${i.pattern}`:`Ongeldig: ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Ongeldig getal: moet een veelvoud van ${r.divisor} zijn`;case\"unrecognized_keys\":return`Onbekende key${r.keys.length>1?\"s\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Ongeldige key in ${r.origin}`;case\"invalid_union\":return\"Ongeldige invoer\";case\"invalid_element\":return`Ongeldige waarde in ${r.origin}`;default:return\"Ongeldige invoer\"}}};function H_(){return{localeError:Fw()}}var Jw=()=>{let e={string:{unit:\"teikn\",verb:\"\\xE5 ha\"},file:{unit:\"bytes\",verb:\"\\xE5 ha\"},array:{unit:\"element\",verb:\"\\xE5 innehalde\"},set:{unit:\"element\",verb:\"\\xE5 innehalde\"},map:{unit:\"element\",verb:\"\\xE5 innehalde\"}};function t(r){return e[r]??null}let n={regex:\"input\",email:\"e-postadresse\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO dato- og klokkeslett\",date:\"ISO-dato\",time:\"ISO-klokkeslett\",duration:\"ISO-varigheit\",ipv4:\"IPv4-adresse\",ipv6:\"IPv6-adresse\",mac:\"MAC-adresse\",cidrv4:\"IPv4-spekter\",cidrv6:\"IPv6-spekter\",base64:\"base64-enkoda streng\",base64url:\"base64url-enkoda streng\",json_string:\"JSON-streng\",e164:\"E.164-nummer\",credit_card:\"kredittkortnummer\",currency_code:\"valutakode\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\",number:\"tal\",array:\"liste\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Ugyldig input: forventa instanceof ${r.expected}, fekk ${s}`:`Ugyldig input: forventa ${i}, fekk ${s}`}case\"invalid_value\":return r.values.length===1?`Ugyldig verdi: forventa ${w(r.values[0])}`:`Ugyldig val: forventa eitt av ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`For stor(t): forventa ${r.origin??\"value\"} til \\xE5 ha ${i}${r.maximum.toString()} ${a.unit??\"element\"}`:`For stor(t): forventa ${r.origin??\"value\"} til \\xE5 ha ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`For lite(n): forventa ${r.origin} til \\xE5 ha ${i}${r.minimum.toString()} ${a.unit}`:`For lite(n): forventa ${r.origin} til \\xE5 ha ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Ugyldig streng: m\\xE5 starte med \"${i.prefix}\"`:i.format===\"ends_with\"?`Ugyldig streng: m\\xE5 slutte med \"${i.suffix}\"`:i.format===\"includes\"?`Ugyldig streng: m\\xE5 innehalde \"${i.includes}\"`:i.format===\"regex\"?`Ugyldig streng: m\\xE5 matche m\\xF8nsteret ${i.pattern}`:`Ugyldig ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Ugyldig tal: m\\xE5 vere eit multiplum av ${r.divisor}`;case\"unrecognized_keys\":return`${r.keys.length>1?\"Ukjende n\\xF8klar\":\"Ukjend n\\xF8kkel\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Ugyldig n\\xF8kkel i ${r.origin}`;case\"invalid_union\":return\"Ugyldig input\";case\"invalid_element\":return`Ugyldig verdi i ${r.origin}`;default:return\"Ugyldig input\"}}};function B_(){return{localeError:Jw()}}var Hw=()=>{let e={string:{unit:\"tegn\",verb:\"\\xE5 ha\"},file:{unit:\"bytes\",verb:\"\\xE5 ha\"},array:{unit:\"elementer\",verb:\"\\xE5 inneholde\"},set:{unit:\"elementer\",verb:\"\\xE5 inneholde\"},map:{unit:\"elementer\",verb:\"\\xE5 inneholde\"}};function t(r){return e[r]??null}let n={regex:\"input\",email:\"e-postadresse\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO dato- og klokkeslett\",date:\"ISO-dato\",time:\"ISO-klokkeslett\",duration:\"ISO-varighet\",ipv4:\"IPv4-adresse\",ipv6:\"IPv6-adresse\",mac:\"MAC-adresse\",cidrv4:\"IPv4-spekter\",cidrv6:\"IPv6-spekter\",base64:\"base64-enkodet streng\",base64url:\"base64url-enkodet streng\",json_string:\"JSON-streng\",e164:\"E.164-nummer\",credit_card:\"kredittkortnummer\",currency_code:\"valutakode\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\",number:\"tall\",array:\"liste\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Ugyldig input: forventet instanceof ${r.expected}, fikk ${s}`:`Ugyldig input: forventet ${i}, fikk ${s}`}case\"invalid_value\":return r.values.length===1?`Ugyldig verdi: forventet ${w(r.values[0])}`:`Ugyldig valg: forventet en av ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`For stor(t): forventet ${r.origin??\"value\"} til \\xE5 ha ${i}${r.maximum.toString()} ${a.unit??\"elementer\"}`:`For stor(t): forventet ${r.origin??\"value\"} til \\xE5 ha ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`For lite(n): forventet ${r.origin} til \\xE5 ha ${i}${r.minimum.toString()} ${a.unit}`:`For lite(n): forventet ${r.origin} til \\xE5 ha ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Ugyldig streng: m\\xE5 starte med \"${i.prefix}\"`:i.format===\"ends_with\"?`Ugyldig streng: m\\xE5 ende med \"${i.suffix}\"`:i.format===\"includes\"?`Ugyldig streng: m\\xE5 inneholde \"${i.includes}\"`:i.format===\"regex\"?`Ugyldig streng: m\\xE5 matche m\\xF8nsteret ${i.pattern}`:`Ugyldig ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Ugyldig tall: m\\xE5 v\\xE6re et multiplum av ${r.divisor}`;case\"unrecognized_keys\":return`${r.keys.length>1?\"Ukjente n\\xF8kler\":\"Ukjent n\\xF8kkel\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Ugyldig n\\xF8kkel i ${r.origin}`;case\"invalid_union\":return\"Ugyldig input\";case\"invalid_element\":return`Ugyldig verdi i ${r.origin}`;default:return\"Ugyldig input\"}}};function K_(){return{localeError:Hw()}}var Bw=()=>{let e={string:{unit:\"harf\",verb:\"olmal\\u0131d\\u0131r\"},file:{unit:\"bayt\",verb:\"olmal\\u0131d\\u0131r\"},array:{unit:\"unsur\",verb:\"olmal\\u0131d\\u0131r\"},set:{unit:\"unsur\",verb:\"olmal\\u0131d\\u0131r\"},map:{unit:\"unsur\",verb:\"olmal\\u0131d\\u0131r\"}};function t(r){return e[r]??null}let n={regex:\"giren\",email:\"epostag\\xE2h\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO heng\\xE2m\\u0131\",date:\"ISO tarihi\",time:\"ISO zaman\\u0131\",duration:\"ISO m\\xFCddeti\",ipv4:\"IPv4 ni\\u015F\\xE2n\\u0131\",ipv6:\"IPv6 ni\\u015F\\xE2n\\u0131\",mac:\"MAC ni\\u015F\\xE2n\\u0131\",cidrv4:\"IPv4 menzili\",cidrv6:\"IPv6 menzili\",base64:\"base64-\\u015Fifreli metin\",base64url:\"base64url-\\u015Fifreli metin\",json_string:\"JSON metin\",e164:\"E.164 say\\u0131s\\u0131\",credit_card:\"i'tib\\xE2r kart\\u0131 numaras\\u0131\",currency_code:\"para birimi kodu\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"giren\"},o={nan:\"NaN\",number:\"numara\",array:\"saf\",null:\"gayb\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`F\\xE2sit giren: umulan instanceof ${r.expected}, al\\u0131nan ${s}`:`F\\xE2sit giren: umulan ${i}, al\\u0131nan ${s}`}case\"invalid_value\":return r.values.length===1?`F\\xE2sit giren: umulan ${w(r.values[0])}`:`F\\xE2sit tercih: m\\xFBteberler ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Fazla b\\xFCy\\xFCk: ${r.origin??\"value\"}, ${i}${r.maximum.toString()} ${a.unit??\"elements\"} sahip olmal\\u0131yd\\u0131.`:`Fazla b\\xFCy\\xFCk: ${r.origin??\"value\"}, ${i}${r.maximum.toString()} olmal\\u0131yd\\u0131.`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Fazla k\\xFC\\xE7\\xFCk: ${r.origin}, ${i}${r.minimum.toString()} ${a.unit} sahip olmal\\u0131yd\\u0131.`:`Fazla k\\xFC\\xE7\\xFCk: ${r.origin}, ${i}${r.minimum.toString()} olmal\\u0131yd\\u0131.`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`F\\xE2sit metin: \"${i.prefix}\" ile ba\\u015Flamal\\u0131.`:i.format===\"ends_with\"?`F\\xE2sit metin: \"${i.suffix}\" ile bitmeli.`:i.format===\"includes\"?`F\\xE2sit metin: \"${i.includes}\" ihtiv\\xE2 etmeli.`:i.format===\"regex\"?`F\\xE2sit metin: ${i.pattern} nak\\u015F\\u0131na uymal\\u0131.`:`F\\xE2sit ${n[i.format]??r.format}`}case\"not_multiple_of\":return`F\\xE2sit say\\u0131: ${r.divisor} kat\\u0131 olmal\\u0131yd\\u0131.`;case\"unrecognized_keys\":return`Tan\\u0131nmayan anahtar ${r.keys.length>1?\"s\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} i\\xE7in tan\\u0131nmayan anahtar var.`;case\"invalid_union\":return\"Giren tan\\u0131namad\\u0131.\";case\"invalid_element\":return`${r.origin} i\\xE7in tan\\u0131nmayan k\\u0131ymet var.`;default:return\"K\\u0131ymet tan\\u0131namad\\u0131.\"}}};function G_(){return{localeError:Bw()}}var Kw=()=>{let e={string:{unit:\"\\u062A\\u0648\\u06A9\\u064A\",verb:\"\\u0648\\u0644\\u0631\\u064A\"},file:{unit:\"\\u0628\\u0627\\u06CC\\u067C\\u0633\",verb:\"\\u0648\\u0644\\u0631\\u064A\"},array:{unit:\"\\u062A\\u0648\\u06A9\\u064A\",verb:\"\\u0648\\u0644\\u0631\\u064A\"},set:{unit:\"\\u062A\\u0648\\u06A9\\u064A\",verb:\"\\u0648\\u0644\\u0631\\u064A\"},map:{unit:\"\\u062A\\u0648\\u06A9\\u064A\",verb:\"\\u0648\\u0644\\u0631\\u064A\"}};function t(r){return e[r]??null}let n={regex:\"\\u0648\\u0631\\u0648\\u062F\\u064A\",email:\"\\u0628\\u0631\\u06CC\\u069A\\u0646\\u0627\\u0644\\u06CC\\u06A9\",url:\"\\u06CC\\u0648 \\u0622\\u0631 \\u0627\\u0644\",emoji:\"\\u0627\\u06CC\\u0645\\u0648\\u062C\\u064A\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u0646\\u06CC\\u067C\\u0647 \\u0627\\u0648 \\u0648\\u062E\\u062A\",date:\"\\u0646\\u06D0\\u067C\\u0647\",time:\"\\u0648\\u062E\\u062A\",duration:\"\\u0645\\u0648\\u062F\\u0647\",ipv4:\"\\u062F IPv4 \\u067E\\u062A\\u0647\",ipv6:\"\\u062F IPv6 \\u067E\\u062A\\u0647\",mac:\"\\u062F MAC \\u067E\\u062A\\u0647\",cidrv4:\"\\u062F IPv4 \\u0633\\u0627\\u062D\\u0647\",cidrv6:\"\\u062F IPv6 \\u0633\\u0627\\u062D\\u0647\",base64:\"base64-encoded \\u0645\\u062A\\u0646\",base64url:\"base64url-encoded \\u0645\\u062A\\u0646\",json_string:\"JSON \\u0645\\u062A\\u0646\",e164:\"\\u062F E.164 \\u0634\\u0645\\u06D0\\u0631\\u0647\",credit_card:\"\\u062F \\u06A9\\u0631\\u06CC\\u0689\\u06CC\\u067C \\u06A9\\u0627\\u0631\\u062A \\u0634\\u0645\\u06CC\\u0631\\u0647\",currency_code:\"\\u062F \\u0627\\u0633\\u0639\\u0627\\u0631\\u0648 \\u06A9\\u0648\\u0689\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0648\\u0631\\u0648\\u062F\\u064A\"},o={nan:\"NaN\",number:\"\\u0639\\u062F\\u062F\",array:\"\\u0627\\u0631\\u06D0\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u0646\\u0627\\u0633\\u0645 \\u0648\\u0631\\u0648\\u062F\\u064A: \\u0628\\u0627\\u06CC\\u062F instanceof ${r.expected} \\u0648\\u0627\\u06CC, \\u0645\\u06AB\\u0631 ${s} \\u062A\\u0631\\u0644\\u0627\\u0633\\u0647 \\u0634\\u0648`:`\\u0646\\u0627\\u0633\\u0645 \\u0648\\u0631\\u0648\\u062F\\u064A: \\u0628\\u0627\\u06CC\\u062F ${i} \\u0648\\u0627\\u06CC, \\u0645\\u06AB\\u0631 ${s} \\u062A\\u0631\\u0644\\u0627\\u0633\\u0647 \\u0634\\u0648`}case\"invalid_value\":return r.values.length===1?`\\u0646\\u0627\\u0633\\u0645 \\u0648\\u0631\\u0648\\u062F\\u064A: \\u0628\\u0627\\u06CC\\u062F ${w(r.values[0])} \\u0648\\u0627\\u06CC`:`\\u0646\\u0627\\u0633\\u0645 \\u0627\\u0646\\u062A\\u062E\\u0627\\u0628: \\u0628\\u0627\\u06CC\\u062F \\u06CC\\u0648 \\u0644\\u0647 ${S(r.values,\"|\")} \\u0685\\u062E\\u0647 \\u0648\\u0627\\u06CC`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0689\\u06CC\\u0631 \\u0644\\u0648\\u06CC: ${r.origin??\"\\u0627\\u0631\\u0632\\u069A\\u062A\"} \\u0628\\u0627\\u06CC\\u062F ${i}${r.maximum.toString()} ${a.unit??\"\\u0639\\u0646\\u0635\\u0631\\u0648\\u0646\\u0647\"} \\u0648\\u0644\\u0631\\u064A`:`\\u0689\\u06CC\\u0631 \\u0644\\u0648\\u06CC: ${r.origin??\"\\u0627\\u0631\\u0632\\u069A\\u062A\"} \\u0628\\u0627\\u06CC\\u062F ${i}${r.maximum.toString()} \\u0648\\u064A`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0689\\u06CC\\u0631 \\u06A9\\u0648\\u0686\\u0646\\u06CC: ${r.origin} \\u0628\\u0627\\u06CC\\u062F ${i}${r.minimum.toString()} ${a.unit} \\u0648\\u0644\\u0631\\u064A`:`\\u0689\\u06CC\\u0631 \\u06A9\\u0648\\u0686\\u0646\\u06CC: ${r.origin} \\u0628\\u0627\\u06CC\\u062F ${i}${r.minimum.toString()} \\u0648\\u064A`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0646\\u0627\\u0633\\u0645 \\u0645\\u062A\\u0646: \\u0628\\u0627\\u06CC\\u062F \\u062F \"${i.prefix}\" \\u0633\\u0631\\u0647 \\u067E\\u06CC\\u0644 \\u0634\\u064A`:i.format===\"ends_with\"?`\\u0646\\u0627\\u0633\\u0645 \\u0645\\u062A\\u0646: \\u0628\\u0627\\u06CC\\u062F \\u062F \"${i.suffix}\" \\u0633\\u0631\\u0647 \\u067E\\u0627\\u06CC \\u062A\\u0647 \\u0648\\u0631\\u0633\\u064A\\u0696\\u064A`:i.format===\"includes\"?`\\u0646\\u0627\\u0633\\u0645 \\u0645\\u062A\\u0646: \\u0628\\u0627\\u06CC\\u062F \"${i.includes}\" \\u0648\\u0644\\u0631\\u064A`:i.format===\"regex\"?`\\u0646\\u0627\\u0633\\u0645 \\u0645\\u062A\\u0646: \\u0628\\u0627\\u06CC\\u062F \\u062F ${i.pattern} \\u0633\\u0631\\u0647 \\u0645\\u0637\\u0627\\u0628\\u0642\\u062A \\u0648\\u0644\\u0631\\u064A`:`${n[i.format]??r.format} \\u0646\\u0627\\u0633\\u0645 \\u062F\\u06CC`}case\"not_multiple_of\":return`\\u0646\\u0627\\u0633\\u0645 \\u0639\\u062F\\u062F: \\u0628\\u0627\\u06CC\\u062F \\u062F ${r.divisor} \\u0645\\u0636\\u0631\\u0628 \\u0648\\u064A`;case\"unrecognized_keys\":return`\\u0646\\u0627\\u0633\\u0645 ${r.keys.length>1?\"\\u06A9\\u0644\\u06CC\\u0689\\u0648\\u0646\\u0647\":\"\\u06A9\\u0644\\u06CC\\u0689\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u0646\\u0627\\u0633\\u0645 \\u06A9\\u0644\\u06CC\\u0689 \\u067E\\u0647 ${r.origin} \\u06A9\\u06D0`;case\"invalid_union\":return\"\\u0646\\u0627\\u0633\\u0645\\u0647 \\u0648\\u0631\\u0648\\u062F\\u064A\";case\"invalid_element\":return`\\u0646\\u0627\\u0633\\u0645 \\u0639\\u0646\\u0635\\u0631 \\u067E\\u0647 ${r.origin} \\u06A9\\u06D0`;default:return\"\\u0646\\u0627\\u0633\\u0645\\u0647 \\u0648\\u0631\\u0648\\u062F\\u064A\"}}};function W_(){return{localeError:Kw()}}var Gw=()=>{let e={string:{unit:\"znak\\xF3w\",verb:\"mie\\u0107\"},file:{unit:\"bajt\\xF3w\",verb:\"mie\\u0107\"},array:{unit:\"element\\xF3w\",verb:\"mie\\u0107\"},set:{unit:\"element\\xF3w\",verb:\"mie\\u0107\"},map:{unit:\"element\\xF3w\",verb:\"mie\\u0107\"}};function t(r){return e[r]??null}let n={regex:\"wyra\\u017Cenie\",email:\"adres email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"data i godzina w formacie ISO\",date:\"data w formacie ISO\",time:\"godzina w formacie ISO\",duration:\"czas trwania ISO\",ipv4:\"adres IPv4\",ipv6:\"adres IPv6\",mac:\"adres MAC\",cidrv4:\"zakres IPv4\",cidrv6:\"zakres IPv6\",base64:\"ci\\u0105g znak\\xF3w zakodowany w formacie base64\",base64url:\"ci\\u0105g znak\\xF3w zakodowany w formacie base64url\",json_string:\"ci\\u0105g znak\\xF3w w formacie JSON\",e164:\"liczba E.164\",credit_card:\"numer karty kredytowej\",currency_code:\"kod waluty\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"wej\\u015Bcie\"},o={nan:\"NaN\",number:\"liczba\",array:\"tablica\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Nieprawid\\u0142owe dane wej\\u015Bciowe: oczekiwano instanceof ${r.expected}, otrzymano ${s}`:`Nieprawid\\u0142owe dane wej\\u015Bciowe: oczekiwano ${i}, otrzymano ${s}`}case\"invalid_value\":return r.values.length===1?`Nieprawid\\u0142owe dane wej\\u015Bciowe: oczekiwano ${w(r.values[0])}`:`Nieprawid\\u0142owa opcja: oczekiwano jednej z warto\\u015Bci ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Za du\\u017Ca warto\\u015B\\u0107: oczekiwano, \\u017Ce ${r.origin??\"warto\\u015B\\u0107\"} b\\u0119dzie mie\\u0107 ${i}${r.maximum.toString()} ${a.unit??\"element\\xF3w\"}`:`Zbyt du\\u017C(y/a/e): oczekiwano, \\u017Ce ${r.origin??\"warto\\u015B\\u0107\"} b\\u0119dzie wynosi\\u0107 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Za ma\\u0142a warto\\u015B\\u0107: oczekiwano, \\u017Ce ${r.origin??\"warto\\u015B\\u0107\"} b\\u0119dzie mie\\u0107 ${i}${r.minimum.toString()} ${a.unit??\"element\\xF3w\"}`:`Zbyt ma\\u0142(y/a/e): oczekiwano, \\u017Ce ${r.origin??\"warto\\u015B\\u0107\"} b\\u0119dzie wynosi\\u0107 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Nieprawid\\u0142owy ci\\u0105g znak\\xF3w: musi zaczyna\\u0107 si\\u0119 od \"${i.prefix}\"`:i.format===\"ends_with\"?`Nieprawid\\u0142owy ci\\u0105g znak\\xF3w: musi ko\\u0144czy\\u0107 si\\u0119 na \"${i.suffix}\"`:i.format===\"includes\"?`Nieprawid\\u0142owy ci\\u0105g znak\\xF3w: musi zawiera\\u0107 \"${i.includes}\"`:i.format===\"regex\"?`Nieprawid\\u0142owy ci\\u0105g znak\\xF3w: musi odpowiada\\u0107 wzorcowi ${i.pattern}`:`Nieprawid\\u0142ow(y/a/e) ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Nieprawid\\u0142owa liczba: musi by\\u0107 wielokrotno\\u015Bci\\u0105 ${r.divisor}`;case\"unrecognized_keys\":return`Nierozpoznane klucze${r.keys.length>1?\"s\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Nieprawid\\u0142owy klucz w ${r.origin}`;case\"invalid_union\":return\"Nieprawid\\u0142owe dane wej\\u015Bciowe\";case\"invalid_element\":return`Nieprawid\\u0142owa warto\\u015B\\u0107 w ${r.origin}`;default:return\"Nieprawid\\u0142owe dane wej\\u015Bciowe\"}}};function Y_(){return{localeError:Gw()}}var Ww=()=>{let e={string:{unit:\"caracteres\"},file:{unit:\"bytes\"},array:{unit:\"elementos\"},set:{unit:\"elementos\"},map:{unit:\"entradas\"}};function t(a){return e[a]??null}let n={regex:\"a entrada\",email:\"o endere\\xE7o de e-mail\",url:\"o URL\",emoji:\"o emoji\",uuid:\"o UUID\",uuidv4:\"o UUIDv4\",uuidv6:\"o UUIDv6\",nanoid:\"o nanoid\",guid:\"o GUID\",cuid:\"o cuid\",cuid2:\"o cuid2\",ulid:\"o ULID\",xid:\"o XID\",ksuid:\"o KSUID\",datetime:\"a data e hora ISO\",date:\"a data ISO\",time:\"a hora ISO\",duration:\"a dura\\xE7\\xE3o ISO\",ipv4:\"o endere\\xE7o IPv4\",ipv6:\"o endere\\xE7o IPv6\",mac:\"o endere\\xE7o MAC\",cidrv4:\"o intervalo de endere\\xE7os IPv4\",cidrv6:\"o intervalo de endere\\xE7os IPv6\",base64:\"o texto codificado em base64\",base64url:\"o texto codificado em base64url\",json_string:\"o texto JSON\",e164:\"o n\\xFAmero E.164\",credit_card:\"o n\\xFAmero de cart\\xE3o de cr\\xE9dito\",currency_code:\"o c\\xF3digo de moeda\",iban:\"o IBAN\",jwt:\"o JWT\",template_literal:\"a entrada\"},o={masculine:{definite:\"o\",indefinite:\"um\"},feminine:{definite:\"a\",indefinite:\"uma\"}},r={string:{name:\"texto\",articles:o.masculine},number:{name:\"n\\xFAmero\",articles:o.masculine},int:{name:\"n\\xFAmero inteiro\",articles:o.masculine},boolean:{name:\"valor booleano\",articles:o.masculine},bigint:{name:\"n\\xFAmero bigint\",articles:o.masculine},symbol:{name:\"s\\xEDmbolo\",articles:o.masculine},undefined:{name:'valor \"undefined\"',articles:o.masculine},null:{name:'valor \"nulo\"',articles:o.masculine},never:{name:'valor \"never\"',articles:o.masculine},void:{name:'valor \"void\"',articles:o.masculine},date:{name:\"data\",articles:o.feminine},array:{name:\"vetor\",articles:o.masculine},object:{name:\"objeto\",articles:o.masculine},tuple:{name:\"tuplo\",articles:o.masculine},record:{name:\"registo\",articles:o.masculine},map:{name:\"mapa\",articles:o.masculine},set:{name:\"conjunto\",articles:o.masculine},file:{name:\"ficheiro\",articles:o.masculine},nonoptional:{name:\"valor n\\xE3o opcional\",articles:o.masculine},nan:{name:'valor \"NaN\"',articles:o.masculine},function:{name:\"fun\\xE7\\xE3o\",articles:o.feminine}};function i(a,s){let c=r[a]??{name:`valor \"${a}\"`,articles:o.masculine};return`${c.articles[s]} ${c.name}`}return a=>{switch(a.code){case\"invalid_type\":{let s=i(a.expected,\"indefinite\"),c=k(a.input),l=i(c,\"indefinite\");return`Entrada inv\\xE1lida: esperava ${s}, recebeu ${l}`}case\"invalid_value\":return a.values.length===1?`Entrada inv\\xE1lida: esperava ${w(a.values[0])}`:`Op\\xE7\\xE3o inv\\xE1lida: esperava uma das seguintes op\\xE7\\xF5es: ${S(a.values,\"|\")}`;case\"too_big\":{let s=a.inclusive?\"<=\":\"<\",c=t(a.origin);return c?`Demasiado grande: esperava que ${i(a.origin,\"definite\")} tivesse ${s} ${a.maximum.toString()} ${c.unit??\"elementos\"}`:`Demasiado grande: esperava que ${i(a.origin,\"definite\")} fosse ${s} ${a.maximum.toString()}`}case\"too_small\":{let s=a.inclusive?\">=\":\">\",c=t(a.origin);return c?`Demasiado pequeno: esperava que ${i(a.origin,\"definite\")} tivesse ${s} ${a.minimum.toString()} ${c.unit??\"elementos\"}`:`Demasiado pequeno: esperava que ${i(a.origin,\"definite\")} fosse ${s} ${a.minimum.toString()}`}case\"invalid_format\":{let s=a;return s.format===\"starts_with\"?`Texto inv\\xE1lido: deve come\\xE7ar por \"${s.prefix}\"`:s.format===\"ends_with\"?`Texto inv\\xE1lido: deve terminar em \"${s.suffix}\"`:s.format===\"includes\"?`Texto inv\\xE1lido: deve incluir \"${s.includes}\"`:s.format===\"regex\"?`Texto inv\\xE1lido: deve corresponder ao padr\\xE3o ${s.pattern}`:`Formato d${n[s.format]??a.format} inv\\xE1lido`}case\"not_multiple_of\":return`N\\xFAmero inv\\xE1lido: deve ser m\\xFAltiplo de ${a.divisor}`;case\"unrecognized_keys\":{let s=a.keys.length>1?\"s\":\"\";return`Chave${s} inv\\xE1lida${s}: ${S(a.keys,\", \")}`}case\"invalid_key\":return`Entrada inv\\xE1lida n${i(a.origin,\"definite\")}`;case\"invalid_union\":return a.options&&Array.isArray(a.options)&&a.options.length>0?`Valor de discrimina\\xE7\\xE3o inv\\xE1lido. Esperava ${a.options.map(c=>`'${c}'`).join(\" | \")}`:\"Entrada inv\\xE1lida\";case\"invalid_element\":return`Entrada inv\\xE1lida n${i(a.origin,\"definite\")}`;default:return\"Entrada inv\\xE1lida\"}}};function X_(){return{localeError:Ww()}}var Yw=()=>{let e={string:{unit:\"caracteres\"},file:{unit:\"bytes\"},array:{unit:\"elementos\"},set:{unit:\"elementos\"},map:{unit:\"entradas\"}};function t(a){return e[a]??null}let n={regex:\"a entrada\",email:\"o endere\\xE7o de e-mail\",url:\"o URL\",emoji:\"o emoji\",uuid:\"o UUID\",uuidv4:\"o UUIDv4\",uuidv6:\"o UUIDv6\",nanoid:\"o nanoid\",guid:\"o GUID\",cuid:\"o cuid\",cuid2:\"o cuid2\",ulid:\"o ULID\",xid:\"o XID\",ksuid:\"o KSUID\",datetime:\"a data e hora ISO\",date:\"a data ISO\",time:\"a hora ISO\",duration:\"a dura\\xE7\\xE3o ISO\",ipv4:\"o endere\\xE7o IPv4\",ipv6:\"o endere\\xE7o IPv6\",mac:\"o endere\\xE7o MAC\",cidrv4:\"a faixa de endere\\xE7os IPv4\",cidrv6:\"a faixa de endere\\xE7os IPv6\",base64:\"o texto codificado em base64\",base64url:\"o texto codificado em base64url\",json_string:\"o texto JSON\",e164:\"o n\\xFAmero E.164\",credit_card:\"o n\\xFAmero de cart\\xE3o de cr\\xE9dito\",currency_code:\"o c\\xF3digo de moeda\",iban:\"o IBAN\",jwt:\"o JWT\",template_literal:\"a entrada\"},o={masculine:{definite:\"o\",indefinite:\"um\"},feminine:{definite:\"a\",indefinite:\"uma\"}},r={string:{name:\"texto\",articles:o.masculine},number:{name:\"n\\xFAmero\",articles:o.masculine},int:{name:\"n\\xFAmero inteiro\",articles:o.masculine},boolean:{name:\"valor booleano\",articles:o.masculine},bigint:{name:\"n\\xFAmero bigint\",articles:o.masculine},symbol:{name:\"s\\xEDmbolo\",articles:o.masculine},undefined:{name:'valor \"undefined\"',articles:o.masculine},null:{name:'valor \"nulo\"',articles:o.masculine},never:{name:'valor \"never\"',articles:o.masculine},void:{name:'valor \"void\"',articles:o.masculine},date:{name:\"data\",articles:o.feminine},array:{name:\"vetor\",articles:o.masculine},object:{name:\"objeto\",articles:o.masculine},tuple:{name:\"tupla\",articles:o.feminine},record:{name:\"registro\",articles:o.masculine},map:{name:\"mapa\",articles:o.masculine},set:{name:\"conjunto\",articles:o.masculine},file:{name:\"arquivo\",articles:o.masculine},nonoptional:{name:\"valor n\\xE3o opcional\",articles:o.masculine},nan:{name:'valor \"NaN\"',articles:o.masculine},function:{name:\"fun\\xE7\\xE3o\",articles:o.feminine}};function i(a,s){let c=r[a]??{name:`valor \"${a}\"`,articles:o.masculine};return`${c.articles[s]} ${c.name}`}return a=>{switch(a.code){case\"invalid_type\":{let s=i(a.expected,\"indefinite\"),c=k(a.input),l=i(c,\"indefinite\");return`Entrada inv\\xE1lida: esperava ${s}, recebeu ${l}`}case\"invalid_value\":return a.values.length===1?`Entrada inv\\xE1lida: esperava ${w(a.values[0])}`:`Op\\xE7\\xE3o inv\\xE1lida: esperava uma das seguintes op\\xE7\\xF5es: ${S(a.values,\"|\")}`;case\"too_big\":{let s=a.inclusive?\"<=\":\"<\",c=t(a.origin);return c?`Grande demais: esperava que ${i(a.origin,\"definite\")} tivesse ${s} ${a.maximum.toString()} ${c.unit??\"elementos\"}`:`Grande demais: esperava que ${i(a.origin,\"definite\")} fosse ${s} ${a.maximum.toString()}`}case\"too_small\":{let s=a.inclusive?\">=\":\">\",c=t(a.origin);return c?`Pequeno demais: esperava que ${i(a.origin,\"definite\")} tivesse ${s} ${a.minimum.toString()} ${c.unit??\"elementos\"}`:`Pequeno demais: esperava que ${i(a.origin,\"definite\")} fosse ${s} ${a.minimum.toString()}`}case\"invalid_format\":{let s=a;return s.format===\"starts_with\"?`Texto inv\\xE1lido: deve come\\xE7ar com \"${s.prefix}\"`:s.format===\"ends_with\"?`Texto inv\\xE1lido: deve terminar com \"${s.suffix}\"`:s.format===\"includes\"?`Texto inv\\xE1lido: deve incluir \"${s.includes}\"`:s.format===\"regex\"?`Texto inv\\xE1lido: deve corresponder ao padr\\xE3o ${s.pattern}`:`Formato d${n[s.format]??a.format} inv\\xE1lido`}case\"not_multiple_of\":return`N\\xFAmero inv\\xE1lido: deve ser m\\xFAltiplo de ${a.divisor}`;case\"unrecognized_keys\":{let s=a.keys.length>1?\"s\":\"\";return`Chave${s} inv\\xE1lida${s}: ${S(a.keys,\", \")}`}case\"invalid_key\":return`Entrada inv\\xE1lida n${i(a.origin,\"definite\")}`;case\"invalid_union\":return a.options&&Array.isArray(a.options)&&a.options.length>0?`Valor de discrimina\\xE7\\xE3o inv\\xE1lido. Esperava ${a.options.map(c=>`'${c}'`).join(\" | \")}`:\"Entrada inv\\xE1lida\";case\"invalid_element\":return`Entrada inv\\xE1lida n${i(a.origin,\"definite\")}`;default:return\"Entrada inv\\xE1lida\"}}};function Q_(){return{localeError:Yw()}}var Xw=()=>{let e={string:{unit:\"caractere\",verb:\"s\\u0103 aib\\u0103\"},file:{unit:\"octe\\u021Bi\",verb:\"s\\u0103 aib\\u0103\"},array:{unit:\"elemente\",verb:\"s\\u0103 aib\\u0103\"},set:{unit:\"elemente\",verb:\"s\\u0103 aib\\u0103\"},map:{unit:\"intr\\u0103ri\",verb:\"s\\u0103 aib\\u0103\"}};function t(r){return e[r]??null}let n={regex:\"intrare\",email:\"adres\\u0103 de email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"dat\\u0103 \\u0219i or\\u0103 ISO\",date:\"dat\\u0103 ISO\",time:\"or\\u0103 ISO\",duration:\"durat\\u0103 ISO\",ipv4:\"adres\\u0103 IPv4\",ipv6:\"adres\\u0103 IPv6\",mac:\"adres\\u0103 MAC\",cidrv4:\"interval IPv4\",cidrv6:\"interval IPv6\",base64:\"\\u0219ir codat base64\",base64url:\"\\u0219ir codat base64url\",json_string:\"\\u0219ir JSON\",e164:\"num\\u0103r E.164\",credit_card:\"num\\u0103r de card de credit\",currency_code:\"cod valutar\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"intrare\"},o={nan:\"NaN\",string:\"\\u0219ir\",number:\"num\\u0103r\",boolean:\"boolean\",function:\"func\\u021Bie\",array:\"matrice\",object:\"obiect\",undefined:\"nedefinit\",symbol:\"simbol\",bigint:\"num\\u0103r mare\",void:\"void\",never:\"never\",map:\"hart\\u0103\",set:\"set\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return`Intrare invalid\\u0103: a\\u0219teptat ${i}, primit ${s}`}case\"invalid_value\":return r.values.length===1?`Intrare invalid\\u0103: a\\u0219teptat ${w(r.values[0])}`:`Op\\u021Biune invalid\\u0103: a\\u0219teptat una dintre ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Prea mare: a\\u0219teptat ca ${r.origin??\"valoarea\"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit??\"elemente\"}`:`Prea mare: a\\u0219teptat ca ${r.origin??\"valoarea\"} s\\u0103 fie ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Prea mic: a\\u0219teptat ca ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`Prea mic: a\\u0219teptat ca ${r.origin} s\\u0103 fie ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0218ir invalid: trebuie s\\u0103 \\xEEnceap\\u0103 cu \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u0218ir invalid: trebuie s\\u0103 se termine cu \"${i.suffix}\"`:i.format===\"includes\"?`\\u0218ir invalid: trebuie s\\u0103 includ\\u0103 \"${i.includes}\"`:i.format===\"regex\"?`\\u0218ir invalid: trebuie s\\u0103 se potriveasc\\u0103 cu modelul ${i.pattern}`:`Format invalid: ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Num\\u0103r invalid: trebuie s\\u0103 fie multiplu de ${r.divisor}`;case\"unrecognized_keys\":return`Chei nerecunoscute: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Cheie invalid\\u0103 \\xEEn ${r.origin}`;case\"invalid_union\":return\"Intrare invalid\\u0103\";case\"invalid_element\":return`Valoare invalid\\u0103 \\xEEn ${r.origin}`;default:return\"Intrare invalid\\u0103\"}}};function eS(){return{localeError:Xw()}}function tS(e,t,n,o){let r=Math.abs(e),i=r%10,a=r%100;return a>=11&&a<=19?o:i===1?t:i>=2&&i<=4?n:o}var Qw=()=>{let e={string:{unit:{one:\"\\u0441\\u0438\\u043C\\u0432\\u043E\\u043B\",few:\"\\u0441\\u0438\\u043C\\u0432\\u043E\\u043B\\u0430\",many:\"\\u0441\\u0438\\u043C\\u0432\\u043E\\u043B\\u043E\\u0432\"},verb:\"\\u0438\\u043C\\u0435\\u0442\\u044C\"},file:{unit:{one:\"\\u0431\\u0430\\u0439\\u0442\",few:\"\\u0431\\u0430\\u0439\\u0442\\u0430\",many:\"\\u0431\\u0430\\u0439\\u0442\"},verb:\"\\u0438\\u043C\\u0435\\u0442\\u044C\"},array:{unit:{one:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\",few:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\",many:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u043E\\u0432\"},verb:\"\\u0438\\u043C\\u0435\\u0442\\u044C\"},set:{unit:{one:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\",few:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\",many:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u043E\\u0432\"},verb:\"\\u0438\\u043C\\u0435\\u0442\\u044C\"},map:{unit:{one:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\",few:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0430\",many:\"\\u044D\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u043E\\u0432\"},verb:\"\\u0438\\u043C\\u0435\\u0442\\u044C\"}};function t(r){return e[r]??null}let n={regex:\"\\u0432\\u0432\\u043E\\u0434\",email:\"email \\u0430\\u0434\\u0440\\u0435\\u0441\",url:\"URL\",emoji:\"\\u044D\\u043C\\u043E\\u0434\\u0437\\u0438\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0434\\u0430\\u0442\\u0430 \\u0438 \\u0432\\u0440\\u0435\\u043C\\u044F\",date:\"ISO \\u0434\\u0430\\u0442\\u0430\",time:\"ISO \\u0432\\u0440\\u0435\\u043C\\u044F\",duration:\"ISO \\u0434\\u043B\\u0438\\u0442\\u0435\\u043B\\u044C\\u043D\\u043E\\u0441\\u0442\\u044C\",ipv4:\"IPv4 \\u0430\\u0434\\u0440\\u0435\\u0441\",ipv6:\"IPv6 \\u0430\\u0434\\u0440\\u0435\\u0441\",mac:\"MAC \\u0430\\u0434\\u0440\\u0435\\u0441\",cidrv4:\"IPv4 \\u0434\\u0438\\u0430\\u043F\\u0430\\u0437\\u043E\\u043D\",cidrv6:\"IPv6 \\u0434\\u0438\\u0430\\u043F\\u0430\\u0437\\u043E\\u043D\",base64:\"\\u0441\\u0442\\u0440\\u043E\\u043A\\u0430 \\u0432 \\u0444\\u043E\\u0440\\u043C\\u0430\\u0442\\u0435 base64\",base64url:\"\\u0441\\u0442\\u0440\\u043E\\u043A\\u0430 \\u0432 \\u0444\\u043E\\u0440\\u043C\\u0430\\u0442\\u0435 base64url\",json_string:\"JSON \\u0441\\u0442\\u0440\\u043E\\u043A\\u0430\",e164:\"\\u043D\\u043E\\u043C\\u0435\\u0440 E.164\",credit_card:\"\\u043D\\u043E\\u043C\\u0435\\u0440 \\u043A\\u0440\\u0435\\u0434\\u0438\\u0442\\u043D\\u043E\\u0439 \\u043A\\u0430\\u0440\\u0442\\u044B\",currency_code:\"\\u043A\\u043E\\u0434 \\u0432\\u0430\\u043B\\u044E\\u0442\\u044B\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0432\\u0432\\u043E\\u0434\"},o={nan:\"NaN\",number:\"\\u0447\\u0438\\u0441\\u043B\\u043E\",array:\"\\u043C\\u0430\\u0441\\u0441\\u0438\\u0432\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0439 \\u0432\\u0432\\u043E\\u0434: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C instanceof ${r.expected}, \\u043F\\u043E\\u043B\\u0443\\u0447\\u0435\\u043D\\u043E ${s}`:`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0439 \\u0432\\u0432\\u043E\\u0434: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C ${i}, \\u043F\\u043E\\u043B\\u0443\\u0447\\u0435\\u043D\\u043E ${s}`}case\"invalid_value\":return r.values.length===1?`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0439 \\u0432\\u0432\\u043E\\u0434: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C ${w(r.values[0])}`:`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0439 \\u0432\\u0430\\u0440\\u0438\\u0430\\u043D\\u0442: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C \\u043E\\u0434\\u043D\\u043E \\u0438\\u0437 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);if(a){let s=Number(r.maximum),c=tS(s,a.unit.one,a.unit.few,a.unit.many);return`\\u0421\\u043B\\u0438\\u0448\\u043A\\u043E\\u043C \\u0431\\u043E\\u043B\\u044C\\u0448\\u043E\\u0435 \\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C, \\u0447\\u0442\\u043E ${r.origin??\"\\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435\"} \\u0431\\u0443\\u0434\\u0435\\u0442 \\u0438\\u043C\\u0435\\u0442\\u044C ${i}${r.maximum.toString()} ${c}`}return`\\u0421\\u043B\\u0438\\u0448\\u043A\\u043E\\u043C \\u0431\\u043E\\u043B\\u044C\\u0448\\u043E\\u0435 \\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C, \\u0447\\u0442\\u043E ${r.origin??\"\\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435\"} \\u0431\\u0443\\u0434\\u0435\\u0442 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);if(a){let s=Number(r.minimum),c=tS(s,a.unit.one,a.unit.few,a.unit.many);return`\\u0421\\u043B\\u0438\\u0448\\u043A\\u043E\\u043C \\u043C\\u0430\\u043B\\u0435\\u043D\\u044C\\u043A\\u043E\\u0435 \\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C, \\u0447\\u0442\\u043E ${r.origin} \\u0431\\u0443\\u0434\\u0435\\u0442 \\u0438\\u043C\\u0435\\u0442\\u044C ${i}${r.minimum.toString()} ${c}`}return`\\u0421\\u043B\\u0438\\u0448\\u043A\\u043E\\u043C \\u043C\\u0430\\u043B\\u0435\\u043D\\u044C\\u043A\\u043E\\u0435 \\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C, \\u0447\\u0442\\u043E ${r.origin} \\u0431\\u0443\\u0434\\u0435\\u0442 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u0430\\u044F \\u0441\\u0442\\u0440\\u043E\\u043A\\u0430: \\u0434\\u043E\\u043B\\u0436\\u043D\\u0430 \\u043D\\u0430\\u0447\\u0438\\u043D\\u0430\\u0442\\u044C\\u0441\\u044F \\u0441 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u0430\\u044F \\u0441\\u0442\\u0440\\u043E\\u043A\\u0430: \\u0434\\u043E\\u043B\\u0436\\u043D\\u0430 \\u0437\\u0430\\u043A\\u0430\\u043D\\u0447\\u0438\\u0432\\u0430\\u0442\\u044C\\u0441\\u044F \\u043D\\u0430 \"${i.suffix}\"`:i.format===\"includes\"?`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u0430\\u044F \\u0441\\u0442\\u0440\\u043E\\u043A\\u0430: \\u0434\\u043E\\u043B\\u0436\\u043D\\u0430 \\u0441\\u043E\\u0434\\u0435\\u0440\\u0436\\u0430\\u0442\\u044C \"${i.includes}\"`:i.format===\"regex\"?`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u0430\\u044F \\u0441\\u0442\\u0440\\u043E\\u043A\\u0430: \\u0434\\u043E\\u043B\\u0436\\u043D\\u0430 \\u0441\\u043E\\u043E\\u0442\\u0432\\u0435\\u0442\\u0441\\u0442\\u0432\\u043E\\u0432\\u0430\\u0442\\u044C \\u0448\\u0430\\u0431\\u043B\\u043E\\u043D\\u0443 ${i.pattern}`:`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0439 ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u043E\\u0435 \\u0447\\u0438\\u0441\\u043B\\u043E: \\u0434\\u043E\\u043B\\u0436\\u043D\\u043E \\u0431\\u044B\\u0442\\u044C \\u043A\\u0440\\u0430\\u0442\\u043D\\u044B\\u043C ${r.divisor}`;case\"unrecognized_keys\":return`\\u041D\\u0435\\u0440\\u0430\\u0441\\u043F\\u043E\\u0437\\u043D\\u0430\\u043D\\u043D${r.keys.length>1?\"\\u044B\\u0435\":\"\\u044B\\u0439\"} \\u043A\\u043B\\u044E\\u0447${r.keys.length>1?\"\\u0438\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0439 \\u043A\\u043B\\u044E\\u0447 \\u0432 ${r.origin}`;case\"invalid_union\":return\"\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0435 \\u0432\\u0445\\u043E\\u0434\\u043D\\u044B\\u0435 \\u0434\\u0430\\u043D\\u043D\\u044B\\u0435\";case\"invalid_element\":return`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u043E\\u0435 \\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435 \\u0432 ${r.origin}`;default:return\"\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0435 \\u0432\\u0445\\u043E\\u0434\\u043D\\u044B\\u0435 \\u0434\\u0430\\u043D\\u043D\\u044B\\u0435\"}}};function rS(){return{localeError:Qw()}}var ek=()=>{let e={string:{unit:\"znakov\",verb:\"ma\\u0165\"},file:{unit:\"bajtov\",verb:\"ma\\u0165\"},array:{unit:\"prvkov\",verb:\"ma\\u0165\"},set:{unit:\"prvkov\",verb:\"ma\\u0165\"},map:{unit:\"polo\\u017Eiek\",verb:\"ma\\u0165\"}};function t(r){return e[r]??null}let n={regex:\"regul\\xE1rny v\\xFDraz\",email:\"e-mailov\\xE1 adresa\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"d\\xE1tum a \\u010Das vo form\\xE1te ISO\",date:\"d\\xE1tum vo form\\xE1te ISO\",time:\"\\u010Das vo form\\xE1te ISO\",duration:\"doba trvania ISO\",ipv4:\"IPv4 adresa\",ipv6:\"IPv6 adresa\",mac:\"MAC adresa\",cidrv4:\"rozsah IPv4\",cidrv6:\"rozsah IPv6\",base64:\"re\\u0165azec zak\\xF3dovan\\xFD vo form\\xE1te base64\",base64url:\"re\\u0165azec zak\\xF3dovan\\xFD vo form\\xE1te base64url\",json_string:\"re\\u0165azec vo form\\xE1te JSON\",e164:\"\\u010D\\xEDslo E.164\",credit_card:\"\\u010D\\xEDslo kreditnej karty\",currency_code:\"k\\xF3d meny\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"vstup\"},o={nan:\"NaN\",number:\"\\u010D\\xEDslo\",string:\"re\\u0165azec\",function:\"funkcia\",array:\"pole\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Neplatn\\xFD vstup: o\\u010Dak\\xE1van\\xE9 instanceof ${r.expected}, obdr\\u017Ean\\xE9 ${s}`:`Neplatn\\xFD vstup: o\\u010Dak\\xE1van\\xE9 ${i}, obdr\\u017Ean\\xE9 ${s}`}case\"invalid_value\":return r.values.length===1?`Neplatn\\xFD vstup: o\\u010Dak\\xE1van\\xE9 ${w(r.values[0])}`:`Neplatn\\xFD vstup: o\\u010Dak\\xE1van\\xE1 jedna z hodn\\xF4t ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Hodnota je pr\\xEDli\\u0161 ve\\u013Ek\\xE1: ${r.origin??\"hodnota\"} mus\\xED ma\\u0165 ${i}${r.maximum.toString()} ${a.unit??\"prvkov\"}`:`Hodnota je pr\\xEDli\\u0161 ve\\u013Ek\\xE1: ${r.origin??\"hodnota\"} mus\\xED by\\u0165 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Hodnota je pr\\xEDli\\u0161 mal\\xE1: ${r.origin??\"hodnota\"} mus\\xED ma\\u0165 ${i}${r.minimum.toString()} ${a.unit??\"prvkov\"}`:`Hodnota je pr\\xEDli\\u0161 mal\\xE1: ${r.origin??\"hodnota\"} mus\\xED by\\u0165 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Neplatn\\xFD re\\u0165azec: mus\\xED za\\u010D\\xEDna\\u0165 na \"${i.prefix}\"`:i.format===\"ends_with\"?`Neplatn\\xFD re\\u0165azec: mus\\xED kon\\u010Di\\u0165 na \"${i.suffix}\"`:i.format===\"includes\"?`Neplatn\\xFD re\\u0165azec: mus\\xED obsahova\\u0165 \"${i.includes}\"`:i.format===\"regex\"?`Neplatn\\xFD re\\u0165azec: mus\\xED zodpoveda\\u0165 vzoru ${i.pattern}`:`Neplatn\\xFD form\\xE1t ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Neplatn\\xE9 \\u010D\\xEDslo: mus\\xED by\\u0165 n\\xE1sobkom ${r.divisor}`;case\"unrecognized_keys\":return`Nezn\\xE1me kl\\xFA\\u010De: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Neplatn\\xFD kl\\xFA\\u010D v ${r.origin}`;case\"invalid_union\":return\"Neplatn\\xFD vstup\";case\"invalid_element\":return`Neplatn\\xE1 hodnota v ${r.origin}`;default:return\"Neplatn\\xFD vstup\"}}};function nS(){return{localeError:ek()}}var tk=()=>{let e={string:{unit:\"znakov\",verb:\"imeti\"},file:{unit:\"bajtov\",verb:\"imeti\"},array:{unit:\"elementov\",verb:\"imeti\"},set:{unit:\"elementov\",verb:\"imeti\"},map:{unit:\"elementov\",verb:\"imeti\"}};function t(r){return e[r]??null}let n={regex:\"vnos\",email:\"e-po\\u0161tni naslov\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO datum in \\u010Das\",date:\"ISO datum\",time:\"ISO \\u010Das\",duration:\"ISO trajanje\",ipv4:\"IPv4 naslov\",ipv6:\"IPv6 naslov\",mac:\"MAC naslov\",cidrv4:\"obseg IPv4\",cidrv6:\"obseg IPv6\",base64:\"base64 kodiran niz\",base64url:\"base64url kodiran niz\",json_string:\"JSON niz\",e164:\"E.164 \\u0161tevilka\",credit_card:\"\\u0161tevilka kreditne kartice\",currency_code:\"koda valute\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"vnos\"},o={nan:\"NaN\",number:\"\\u0161tevilo\",array:\"tabela\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Neveljaven vnos: pri\\u010Dakovano instanceof ${r.expected}, prejeto ${s}`:`Neveljaven vnos: pri\\u010Dakovano ${i}, prejeto ${s}`}case\"invalid_value\":return r.values.length===1?`Neveljaven vnos: pri\\u010Dakovano ${w(r.values[0])}`:`Neveljavna mo\\u017Enost: pri\\u010Dakovano eno izmed ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Preveliko: pri\\u010Dakovano, da bo ${r.origin??\"vrednost\"} imelo ${i}${r.maximum.toString()} ${a.unit??\"elementov\"}`:`Preveliko: pri\\u010Dakovano, da bo ${r.origin??\"vrednost\"} ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Premajhno: pri\\u010Dakovano, da bo ${r.origin} imelo ${i}${r.minimum.toString()} ${a.unit}`:`Premajhno: pri\\u010Dakovano, da bo ${r.origin} ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Neveljaven niz: mora se za\\u010Deti z \"${i.prefix}\"`:i.format===\"ends_with\"?`Neveljaven niz: mora se kon\\u010Dati z \"${i.suffix}\"`:i.format===\"includes\"?`Neveljaven niz: mora vsebovati \"${i.includes}\"`:i.format===\"regex\"?`Neveljaven niz: mora ustrezati vzorcu ${i.pattern}`:`Neveljaven ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Neveljavno \\u0161tevilo: mora biti ve\\u010Dkratnik ${r.divisor}`;case\"unrecognized_keys\":return`Neprepoznan${r.keys.length>1?\"i klju\\u010Di\":\" klju\\u010D\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Neveljaven klju\\u010D v ${r.origin}`;case\"invalid_union\":return\"Neveljaven vnos\";case\"invalid_element\":return`Neveljavna vrednost v ${r.origin}`;default:return\"Neveljaven vnos\"}}};function iS(){return{localeError:tk()}}var rk=()=>{let e={string:{unit:\"tecken\",verb:\"att ha\"},file:{unit:\"bytes\",verb:\"att ha\"},array:{unit:\"objekt\",verb:\"att inneh\\xE5lla\"},set:{unit:\"objekt\",verb:\"att inneh\\xE5lla\"},map:{unit:\"objekt\",verb:\"att inneh\\xE5lla\"}};function t(r){return e[r]??null}let n={regex:\"regulj\\xE4rt uttryck\",email:\"e-postadress\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO-datum och tid\",date:\"ISO-datum\",time:\"ISO-tid\",duration:\"ISO-varaktighet\",ipv4:\"IPv4-adress\",ipv6:\"IPv6-adress\",mac:\"MAC-adress\",cidrv4:\"IPv4-spektrum\",cidrv6:\"IPv6-spektrum\",base64:\"base64-kodad str\\xE4ng\",base64url:\"base64url-kodad str\\xE4ng\",json_string:\"JSON-str\\xE4ng\",e164:\"E.164-nummer\",credit_card:\"kreditkortsnummer\",currency_code:\"valutakod\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"mall-literal\"},o={nan:\"NaN\",number:\"antal\",array:\"lista\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Ogiltig inmatning: f\\xF6rv\\xE4ntat instanceof ${r.expected}, fick ${s}`:`Ogiltig inmatning: f\\xF6rv\\xE4ntat ${i}, fick ${s}`}case\"invalid_value\":return r.values.length===1?`Ogiltig inmatning: f\\xF6rv\\xE4ntat ${w(r.values[0])}`:`Ogiltigt val: f\\xF6rv\\xE4ntade en av ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`F\\xF6r stor(t): f\\xF6rv\\xE4ntade ${r.origin??\"v\\xE4rdet\"} att ha ${i}${r.maximum.toString()} ${a.unit??\"element\"}`:`F\\xF6r stor(t): f\\xF6rv\\xE4ntat ${r.origin??\"v\\xE4rdet\"} att ha ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`F\\xF6r lite(t): f\\xF6rv\\xE4ntade ${r.origin??\"v\\xE4rdet\"} att ha ${i}${r.minimum.toString()} ${a.unit}`:`F\\xF6r lite(t): f\\xF6rv\\xE4ntade ${r.origin??\"v\\xE4rdet\"} att ha ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Ogiltig str\\xE4ng: m\\xE5ste b\\xF6rja med \"${i.prefix}\"`:i.format===\"ends_with\"?`Ogiltig str\\xE4ng: m\\xE5ste sluta med \"${i.suffix}\"`:i.format===\"includes\"?`Ogiltig str\\xE4ng: m\\xE5ste inneh\\xE5lla \"${i.includes}\"`:i.format===\"regex\"?`Ogiltig str\\xE4ng: m\\xE5ste matcha m\\xF6nstret \"${i.pattern}\"`:`Ogiltig(t) ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Ogiltigt tal: m\\xE5ste vara en multipel av ${r.divisor}`;case\"unrecognized_keys\":return`${r.keys.length>1?\"Ok\\xE4nda nycklar\":\"Ok\\xE4nd nyckel\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Ogiltig nyckel i ${r.origin??\"v\\xE4rdet\"}`;case\"invalid_union\":return\"Ogiltig input\";case\"invalid_element\":return`Ogiltigt v\\xE4rde i ${r.origin??\"v\\xE4rdet\"}`;default:return\"Ogiltig input\"}}};function oS(){return{localeError:rk()}}var nk=()=>{let e={string:{unit:\"\\u0B8E\\u0BB4\\u0BC1\\u0BA4\\u0BCD\\u0BA4\\u0BC1\\u0B95\\u0BCD\\u0B95\\u0BB3\\u0BCD\",verb:\"\\u0B95\\u0BCA\\u0BA3\\u0BCD\\u0B9F\\u0BBF\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD\"},file:{unit:\"\\u0BAA\\u0BC8\\u0B9F\\u0BCD\\u0B9F\\u0BC1\\u0B95\\u0BB3\\u0BCD\",verb:\"\\u0B95\\u0BCA\\u0BA3\\u0BCD\\u0B9F\\u0BBF\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD\"},array:{unit:\"\\u0B89\\u0BB1\\u0BC1\\u0BAA\\u0BCD\\u0BAA\\u0BC1\\u0B95\\u0BB3\\u0BCD\",verb:\"\\u0B95\\u0BCA\\u0BA3\\u0BCD\\u0B9F\\u0BBF\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD\"},set:{unit:\"\\u0B89\\u0BB1\\u0BC1\\u0BAA\\u0BCD\\u0BAA\\u0BC1\\u0B95\\u0BB3\\u0BCD\",verb:\"\\u0B95\\u0BCA\\u0BA3\\u0BCD\\u0B9F\\u0BBF\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD\"},map:{unit:\"\\u0B89\\u0BB1\\u0BC1\\u0BAA\\u0BCD\\u0BAA\\u0BC1\\u0B95\\u0BB3\\u0BCD\",verb:\"\\u0B95\\u0BCA\\u0BA3\\u0BCD\\u0B9F\\u0BBF\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD\"}};function t(r){return e[r]??null}let n={regex:\"\\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0BC0\\u0B9F\\u0BC1\",email:\"\\u0BAE\\u0BBF\\u0BA9\\u0BCD\\u0BA9\\u0B9E\\u0BCD\\u0B9A\\u0BB2\\u0BCD \\u0BAE\\u0BC1\\u0B95\\u0BB5\\u0BB0\\u0BBF\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u0BA4\\u0BC7\\u0BA4\\u0BBF \\u0BA8\\u0BC7\\u0BB0\\u0BAE\\u0BCD\",date:\"ISO \\u0BA4\\u0BC7\\u0BA4\\u0BBF\",time:\"ISO \\u0BA8\\u0BC7\\u0BB0\\u0BAE\\u0BCD\",duration:\"ISO \\u0B95\\u0BBE\\u0BB2 \\u0B85\\u0BB3\\u0BB5\\u0BC1\",ipv4:\"IPv4 \\u0BAE\\u0BC1\\u0B95\\u0BB5\\u0BB0\\u0BBF\",ipv6:\"IPv6 \\u0BAE\\u0BC1\\u0B95\\u0BB5\\u0BB0\\u0BBF\",mac:\"MAC \\u0BAE\\u0BC1\\u0B95\\u0BB5\\u0BB0\\u0BBF\",cidrv4:\"IPv4 \\u0BB5\\u0BB0\\u0BAE\\u0BCD\\u0BAA\\u0BC1\",cidrv6:\"IPv6 \\u0BB5\\u0BB0\\u0BAE\\u0BCD\\u0BAA\\u0BC1\",base64:\"base64-encoded \\u0B9A\\u0BB0\\u0BAE\\u0BCD\",base64url:\"base64url-encoded \\u0B9A\\u0BB0\\u0BAE\\u0BCD\",json_string:\"JSON \\u0B9A\\u0BB0\\u0BAE\\u0BCD\",e164:\"E.164 \\u0B8E\\u0BA3\\u0BCD\",credit_card:\"\\u0B95\\u0B9F\\u0BA9\\u0BCD \\u0B85\\u0B9F\\u0BCD\\u0B9F\\u0BC8 \\u0B8E\\u0BA3\\u0BCD\",currency_code:\"\\u0BA8\\u0BBE\\u0BA3\\u0BAF\\u0B95\\u0BCD \\u0B95\\u0BC1\\u0BB1\\u0BBF\\u0BAF\\u0BC0\\u0B9F\\u0BC1\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"input\"},o={nan:\"NaN\",number:\"\\u0B8E\\u0BA3\\u0BCD\",array:\"\\u0B85\\u0BA3\\u0BBF\",null:\"\\u0BB5\\u0BC6\\u0BB1\\u0BC1\\u0BAE\\u0BC8\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0BC0\\u0B9F\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 instanceof ${r.expected}, \\u0BAA\\u0BC6\\u0BB1\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${s}`:`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0BC0\\u0B9F\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${i}, \\u0BAA\\u0BC6\\u0BB1\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0BC0\\u0B9F\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${w(r.values[0])}`:`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0BB5\\u0BBF\\u0BB0\\u0BC1\\u0BAA\\u0BCD\\u0BAA\\u0BAE\\u0BCD: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${S(r.values,\"|\")} \\u0B87\\u0BB2\\u0BCD \\u0B92\\u0BA9\\u0BCD\\u0BB1\\u0BC1`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0BAE\\u0BBF\\u0B95 \\u0BAA\\u0BC6\\u0BB0\\u0BBF\\u0BAF\\u0BA4\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${r.origin??\"\\u0BAE\\u0BA4\\u0BBF\\u0BAA\\u0BCD\\u0BAA\\u0BC1\"} ${i}${r.maximum.toString()} ${a.unit??\"\\u0B89\\u0BB1\\u0BC1\\u0BAA\\u0BCD\\u0BAA\\u0BC1\\u0B95\\u0BB3\\u0BCD\"} \\u0B86\\u0B95 \\u0B87\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`:`\\u0BAE\\u0BBF\\u0B95 \\u0BAA\\u0BC6\\u0BB0\\u0BBF\\u0BAF\\u0BA4\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${r.origin??\"\\u0BAE\\u0BA4\\u0BBF\\u0BAA\\u0BCD\\u0BAA\\u0BC1\"} ${i}${r.maximum.toString()} \\u0B86\\u0B95 \\u0B87\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0BAE\\u0BBF\\u0B95\\u0B9A\\u0BCD \\u0B9A\\u0BBF\\u0BB1\\u0BBF\\u0BAF\\u0BA4\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${r.origin} ${i}${r.minimum.toString()} ${a.unit} \\u0B86\\u0B95 \\u0B87\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`:`\\u0BAE\\u0BBF\\u0B95\\u0B9A\\u0BCD \\u0B9A\\u0BBF\\u0BB1\\u0BBF\\u0BAF\\u0BA4\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${r.origin} ${i}${r.minimum.toString()} \\u0B86\\u0B95 \\u0B87\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B9A\\u0BB0\\u0BAE\\u0BCD: \"${i.prefix}\" \\u0B87\\u0BB2\\u0BCD \\u0BA4\\u0BCA\\u0B9F\\u0B99\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`:i.format===\"ends_with\"?`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B9A\\u0BB0\\u0BAE\\u0BCD: \"${i.suffix}\" \\u0B87\\u0BB2\\u0BCD \\u0BAE\\u0BC1\\u0B9F\\u0BBF\\u0BB5\\u0B9F\\u0BC8\\u0BAF \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`:i.format===\"includes\"?`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B9A\\u0BB0\\u0BAE\\u0BCD: \"${i.includes}\" \\u0B90 \\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0B9F\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`:i.format===\"regex\"?`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B9A\\u0BB0\\u0BAE\\u0BCD: ${i.pattern} \\u0BAE\\u0BC1\\u0BB1\\u0BC8\\u0BAA\\u0BBE\\u0B9F\\u0BCD\\u0B9F\\u0BC1\\u0B9F\\u0BA9\\u0BCD \\u0BAA\\u0BCA\\u0BB0\\u0BC1\\u0BA8\\u0BCD\\u0BA4 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`:`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B8E\\u0BA3\\u0BCD: ${r.divisor} \\u0B87\\u0BA9\\u0BCD \\u0BAA\\u0BB2\\u0BAE\\u0BBE\\u0B95 \\u0B87\\u0BB0\\u0BC1\\u0B95\\u0BCD\\u0B95 \\u0BB5\\u0BC7\\u0BA3\\u0BCD\\u0B9F\\u0BC1\\u0BAE\\u0BCD`;case\"unrecognized_keys\":return`\\u0B85\\u0B9F\\u0BC8\\u0BAF\\u0BBE\\u0BB3\\u0BAE\\u0BCD \\u0BA4\\u0BC6\\u0BB0\\u0BBF\\u0BAF\\u0BBE\\u0BA4 \\u0BB5\\u0BBF\\u0B9A\\u0BC8${r.keys.length>1?\"\\u0B95\\u0BB3\\u0BCD\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} \\u0B87\\u0BB2\\u0BCD \\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0BB5\\u0BBF\\u0B9A\\u0BC8`;case\"invalid_union\":return\"\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0BC0\\u0B9F\\u0BC1\";case\"invalid_element\":return`${r.origin} \\u0B87\\u0BB2\\u0BCD \\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0BAE\\u0BA4\\u0BBF\\u0BAA\\u0BCD\\u0BAA\\u0BC1`;default:return\"\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0BC0\\u0B9F\\u0BC1\"}}};function aS(){return{localeError:nk()}}var ik=()=>{let e={string:{unit:\"\\u0430\\u043B\\u043E\\u043C\\u0430\\u0442\",verb:\"\\u0434\\u043E\\u0448\\u0442\\u0430 \\u0431\\u043E\\u0448\\u0430\\u0434\"},file:{unit:\"\\u0431\\u0430\\u0439\\u0442\",verb:\"\\u0434\\u043E\\u0448\\u0442\\u0430 \\u0431\\u043E\\u0448\\u0430\\u0434\"},array:{unit:\"\\u0443\\u043D\\u0441\\u0443\\u0440\",verb:\"\\u0434\\u043E\\u0448\\u0442\\u0430 \\u0431\\u043E\\u0448\\u0430\\u0434\"},set:{unit:\"\\u0443\\u043D\\u0441\\u0443\\u0440\",verb:\"\\u0434\\u043E\\u0448\\u0442\\u0430 \\u0431\\u043E\\u0448\\u0430\\u0434\"},map:{unit:\"\\u0441\\u0430\\u0431\\u0442\",verb:\"\\u0434\\u043E\\u0448\\u0442\\u0430 \\u0431\\u043E\\u0448\\u0430\\u0434\"}};function t(r){return e[r]??null}let n={regex:\"\\u0432\\u0443\\u0440\\u0443\\u0434\",email:\"\\u0441\\u0443\\u0440\\u043E\\u0493\\u0430\\u0438 email\",url:\"URL\",emoji:\"\\u044D\\u043C\\u043E\\u04B7\\u0438\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u0441\\u0430\\u043D\\u0430\\u0432\\u0443 \\u0432\\u0430\\u049B\\u0442\\u0438 ISO\",date:\"\\u0441\\u0430\\u043D\\u0430\\u0438 ISO\",time:\"\\u0432\\u0430\\u049B\\u0442\\u0438 ISO\",duration:\"\\u0434\\u0430\\u0432\\u043E\\u043C\\u043D\\u043E\\u043A\\u0438\\u0438 ISO\",ipv4:\"\\u0441\\u0443\\u0440\\u043E\\u0493\\u0430\\u0438 IPv4\",ipv6:\"\\u0441\\u0443\\u0440\\u043E\\u0493\\u0430\\u0438 IPv6\",mac:\"\\u0441\\u0443\\u0440\\u043E\\u0493\\u0430\\u0438 MAC\",cidrv4:\"\\u043C\\u0430\\u04B3\\u0434\\u0443\\u0434\\u0430\\u0438 IPv4\",cidrv6:\"\\u043C\\u0430\\u04B3\\u0434\\u0443\\u0434\\u0430\\u0438 IPv6\",base64:\"\\u0441\\u0430\\u0442\\u0440\\u0438 \\u0434\\u0430\\u0440 \\u0444\\u043E\\u0440\\u043C\\u0430\\u0442\\u0438 base64\",base64url:\"\\u0441\\u0430\\u0442\\u0440\\u0438 \\u0434\\u0430\\u0440 \\u0444\\u043E\\u0440\\u043C\\u0430\\u0442\\u0438 base64url\",json_string:\"\\u0441\\u0430\\u0442\\u0440\\u0438 JSON\",e164:\"\\u0440\\u0430\\u049B\\u0430\\u043C\\u0438 E.164\",credit_card:\"\\u0440\\u0430\\u049B\\u0430\\u043C\\u0438 \\u043A\\u043E\\u0440\\u0442\\u0438 \\u043A\\u0440\\u0435\\u0434\\u0438\\u0442\\u04E3\",currency_code:\"\\u0440\\u0430\\u043C\\u0437\\u0438 \\u0430\\u0441\\u044A\\u043E\\u0440\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0432\\u0443\\u0440\\u0443\\u0434\"},o={nan:\"NaN\",number:\"\\u0440\\u0430\\u049B\\u0430\\u043C\",string:\"\\u0441\\u0430\\u0442\\u0440\",array:\"\\u043C\\u0430\\u0441\\u0441\\u0438\\u0432\",object:\"\\u043E\\u0431\\u044A\\u0435\\u043A\\u0442\",date:\"\\u0441\\u0430\\u043D\\u0430\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return`\\u0412\\u0443\\u0440\\u0443\\u0434\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442: ${i} \\u0438\\u043D\\u0442\\u0438\\u0437\\u043E\\u0440 \\u043C\\u0435\\u0440\\u0430\\u0444\\u0442, ${s} \\u0433\\u0438\\u0440\\u0438\\u0444\\u0442\\u0430 \\u0448\\u0443\\u0434`}case\"invalid_value\":return r.values.length===1?`\\u0412\\u0443\\u0440\\u0443\\u0434\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442: ${w(r.values[0])} \\u0438\\u043D\\u0442\\u0438\\u0437\\u043E\\u0440 \\u043C\\u0435\\u0440\\u0430\\u0444\\u0442`:`\\u0418\\u043D\\u0442\\u0438\\u0445\\u043E\\u0431\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442: \\u044F\\u043A\\u0435 \\u0430\\u0437 ${S(r.values,\"|\")} \\u0438\\u043D\\u0442\\u0438\\u0437\\u043E\\u0440 \\u043C\\u0435\\u0440\\u0430\\u0444\\u0442`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0425\\u0435\\u043B\\u0435 \\u043A\\u0430\\u043B\\u043E\\u043D: ${r.origin??\"\\u049B\\u0438\\u043C\\u0430\\u0442\"} \\u0431\\u043E\\u044F\\u0434 ${i}${r.maximum.toString()} ${a.unit} ${a.verb}`:`\\u0425\\u0435\\u043B\\u0435 \\u043A\\u0430\\u043B\\u043E\\u043D: ${r.origin??\"\\u049B\\u0438\\u043C\\u0430\\u0442\"} \\u0431\\u043E\\u044F\\u0434 ${i}${r.maximum.toString()} \\u0431\\u043E\\u0448\\u0430\\u0434`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0425\\u0435\\u043B\\u0435 \\u0445\\u0443\\u0440\\u0434: ${r.origin} \\u0431\\u043E\\u044F\\u0434 ${i}${r.minimum.toString()} ${a.unit} ${a.verb}`:`\\u0425\\u0435\\u043B\\u0435 \\u0445\\u0443\\u0440\\u0434: ${r.origin} \\u0431\\u043E\\u044F\\u0434 ${i}${r.minimum.toString()} \\u0431\\u043E\\u0448\\u0430\\u0434`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0421\\u0430\\u0442\\u0440\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442: \\u0431\\u043E\\u044F\\u0434 \\u0431\\u043E \"${i.prefix}\" \\u043E\\u0493\\u043E\\u0437 \\u0448\\u0430\\u0432\\u0430\\u0434`:i.format===\"ends_with\"?`\\u0421\\u0430\\u0442\\u0440\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442: \\u0431\\u043E\\u044F\\u0434 \\u0431\\u043E \"${i.suffix}\" \\u0430\\u043D\\u04B7\\u043E\\u043C \\u0451\\u0431\\u0430\\u0434`:i.format===\"includes\"?`\\u0421\\u0430\\u0442\\u0440\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442: \\u0431\\u043E\\u044F\\u0434 \"${i.includes}\"-\\u0440\\u043E \\u0434\\u0430\\u0440 \\u0431\\u0430\\u0440 \\u0433\\u0438\\u0440\\u0430\\u0434`:i.format===\"regex\"?`\\u0421\\u0430\\u0442\\u0440\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442: \\u0431\\u043E\\u044F\\u0434 \\u0431\\u0430 \\u043D\\u0430\\u043C\\u0443\\u043D\\u0430\\u0438 ${i.pattern} \\u043C\\u0443\\u0432\\u043E\\u0444\\u0438\\u049B\\u0430\\u0442 \\u043A\\u0443\\u043D\\u0430\\u0434`:`${n[i.format]??r.format}-\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442`}case\"not_multiple_of\":return`\\u0420\\u0430\\u049B\\u0430\\u043C\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442: \\u0431\\u043E\\u044F\\u0434 \\u0431\\u0430 ${r.divisor} \\u0431\\u0435 \\u0431\\u0430\\u049B\\u0438\\u044F \\u0442\\u0430\\u049B\\u0441\\u0438\\u043C \\u0448\\u0430\\u0432\\u0430\\u0434`;case\"unrecognized_keys\":return`\\u041A\\u0430\\u043B\\u0438\\u0434${r.keys.length>1?\"\\u04B3\\u043E\\u0438\":\"\\u0438\"} \\u043D\\u043E\\u043C\\u0430\\u044A\\u043B\\u0443\\u043C: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u041A\\u0430\\u043B\\u0438\\u0434\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442 \\u0434\\u0430\\u0440 ${r.origin}`;case\"invalid_union\":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\\u049A\\u0438\\u043C\\u0430\\u0442\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442\\u0438 \\u0434\\u0438\\u0441\\u043A\\u0440\\u0438\\u043C\\u0438\\u043D\\u0430\\u0442\\u043E\\u0440: ${r.options.map(a=>`'${a}'`).join(\" | \")} \\u0438\\u043D\\u0442\\u0438\\u0437\\u043E\\u0440 \\u043C\\u0435\\u0440\\u0430\\u0444\\u0442`:\"\\u0412\\u0443\\u0440\\u0443\\u0434\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442\";case\"invalid_element\":return`\\u049A\\u0438\\u043C\\u0430\\u0442\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442 \\u0434\\u0430\\u0440 ${r.origin}`;default:return\"\\u0412\\u0443\\u0440\\u0443\\u0434\\u0438 \\u043D\\u043E\\u0434\\u0443\\u0440\\u0443\\u0441\\u0442\"}}};function sS(){return{localeError:ik()}}var ok=()=>{let e={string:{unit:\"\\u0E15\\u0E31\\u0E27\\u0E2D\\u0E31\\u0E01\\u0E29\\u0E23\",verb:\"\\u0E04\\u0E27\\u0E23\\u0E21\\u0E35\"},file:{unit:\"\\u0E44\\u0E1A\\u0E15\\u0E4C\",verb:\"\\u0E04\\u0E27\\u0E23\\u0E21\\u0E35\"},array:{unit:\"\\u0E23\\u0E32\\u0E22\\u0E01\\u0E32\\u0E23\",verb:\"\\u0E04\\u0E27\\u0E23\\u0E21\\u0E35\"},set:{unit:\"\\u0E23\\u0E32\\u0E22\\u0E01\\u0E32\\u0E23\",verb:\"\\u0E04\\u0E27\\u0E23\\u0E21\\u0E35\"},map:{unit:\"\\u0E23\\u0E32\\u0E22\\u0E01\\u0E32\\u0E23\",verb:\"\\u0E04\\u0E27\\u0E23\\u0E21\\u0E35\"}};function t(r){return e[r]??null}let n={regex:\"\\u0E02\\u0E49\\u0E2D\\u0E21\\u0E39\\u0E25\\u0E17\\u0E35\\u0E48\\u0E1B\\u0E49\\u0E2D\\u0E19\",email:\"\\u0E17\\u0E35\\u0E48\\u0E2D\\u0E22\\u0E39\\u0E48\\u0E2D\\u0E35\\u0E40\\u0E21\\u0E25\",url:\"URL\",emoji:\"\\u0E2D\\u0E34\\u0E42\\u0E21\\u0E08\\u0E34\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u0E27\\u0E31\\u0E19\\u0E17\\u0E35\\u0E48\\u0E40\\u0E27\\u0E25\\u0E32\\u0E41\\u0E1A\\u0E1A ISO\",date:\"\\u0E27\\u0E31\\u0E19\\u0E17\\u0E35\\u0E48\\u0E41\\u0E1A\\u0E1A ISO\",time:\"\\u0E40\\u0E27\\u0E25\\u0E32\\u0E41\\u0E1A\\u0E1A ISO\",duration:\"\\u0E0A\\u0E48\\u0E27\\u0E07\\u0E40\\u0E27\\u0E25\\u0E32\\u0E41\\u0E1A\\u0E1A ISO\",ipv4:\"\\u0E17\\u0E35\\u0E48\\u0E2D\\u0E22\\u0E39\\u0E48 IPv4\",ipv6:\"\\u0E17\\u0E35\\u0E48\\u0E2D\\u0E22\\u0E39\\u0E48 IPv6\",mac:\"\\u0E17\\u0E35\\u0E48\\u0E2D\\u0E22\\u0E39\\u0E48 MAC\",cidrv4:\"\\u0E0A\\u0E48\\u0E27\\u0E07 IP \\u0E41\\u0E1A\\u0E1A IPv4\",cidrv6:\"\\u0E0A\\u0E48\\u0E27\\u0E07 IP \\u0E41\\u0E1A\\u0E1A IPv6\",base64:\"\\u0E02\\u0E49\\u0E2D\\u0E04\\u0E27\\u0E32\\u0E21\\u0E41\\u0E1A\\u0E1A Base64\",base64url:\"\\u0E02\\u0E49\\u0E2D\\u0E04\\u0E27\\u0E32\\u0E21\\u0E41\\u0E1A\\u0E1A Base64 \\u0E2A\\u0E33\\u0E2B\\u0E23\\u0E31\\u0E1A URL\",json_string:\"\\u0E02\\u0E49\\u0E2D\\u0E04\\u0E27\\u0E32\\u0E21\\u0E41\\u0E1A\\u0E1A JSON\",e164:\"\\u0E40\\u0E1A\\u0E2D\\u0E23\\u0E4C\\u0E42\\u0E17\\u0E23\\u0E28\\u0E31\\u0E1E\\u0E17\\u0E4C\\u0E23\\u0E30\\u0E2B\\u0E27\\u0E48\\u0E32\\u0E07\\u0E1B\\u0E23\\u0E30\\u0E40\\u0E17\\u0E28 (E.164)\",credit_card:\"\\u0E2B\\u0E21\\u0E32\\u0E22\\u0E40\\u0E25\\u0E02\\u0E1A\\u0E31\\u0E15\\u0E23\\u0E40\\u0E04\\u0E23\\u0E14\\u0E34\\u0E15\",currency_code:\"\\u0E23\\u0E2B\\u0E31\\u0E2A\\u0E2A\\u0E01\\u0E38\\u0E25\\u0E40\\u0E07\\u0E34\\u0E19\",iban:\"IBAN\",jwt:\"\\u0E42\\u0E17\\u0E40\\u0E04\\u0E19 JWT\",template_literal:\"\\u0E02\\u0E49\\u0E2D\\u0E21\\u0E39\\u0E25\\u0E17\\u0E35\\u0E48\\u0E1B\\u0E49\\u0E2D\\u0E19\"},o={nan:\"NaN\",number:\"\\u0E15\\u0E31\\u0E27\\u0E40\\u0E25\\u0E02\",array:\"\\u0E2D\\u0E32\\u0E23\\u0E4C\\u0E40\\u0E23\\u0E22\\u0E4C (Array)\",null:\"\\u0E44\\u0E21\\u0E48\\u0E21\\u0E35\\u0E04\\u0E48\\u0E32 (null)\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u0E1B\\u0E23\\u0E30\\u0E40\\u0E20\\u0E17\\u0E02\\u0E49\\u0E2D\\u0E21\\u0E39\\u0E25\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E04\\u0E27\\u0E23\\u0E40\\u0E1B\\u0E47\\u0E19 instanceof ${r.expected} \\u0E41\\u0E15\\u0E48\\u0E44\\u0E14\\u0E49\\u0E23\\u0E31\\u0E1A ${s}`:`\\u0E1B\\u0E23\\u0E30\\u0E40\\u0E20\\u0E17\\u0E02\\u0E49\\u0E2D\\u0E21\\u0E39\\u0E25\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E04\\u0E27\\u0E23\\u0E40\\u0E1B\\u0E47\\u0E19 ${i} \\u0E41\\u0E15\\u0E48\\u0E44\\u0E14\\u0E49\\u0E23\\u0E31\\u0E1A ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0E04\\u0E48\\u0E32\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E04\\u0E27\\u0E23\\u0E40\\u0E1B\\u0E47\\u0E19 ${w(r.values[0])}`:`\\u0E15\\u0E31\\u0E27\\u0E40\\u0E25\\u0E37\\u0E2D\\u0E01\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E04\\u0E27\\u0E23\\u0E40\\u0E1B\\u0E47\\u0E19\\u0E2B\\u0E19\\u0E36\\u0E48\\u0E07\\u0E43\\u0E19 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"\\u0E44\\u0E21\\u0E48\\u0E40\\u0E01\\u0E34\\u0E19\":\"\\u0E19\\u0E49\\u0E2D\\u0E22\\u0E01\\u0E27\\u0E48\\u0E32\",a=t(r.origin);return a?`\\u0E40\\u0E01\\u0E34\\u0E19\\u0E01\\u0E33\\u0E2B\\u0E19\\u0E14: ${r.origin??\"\\u0E04\\u0E48\\u0E32\"} \\u0E04\\u0E27\\u0E23\\u0E21\\u0E35${i} ${r.maximum.toString()} ${a.unit??\"\\u0E23\\u0E32\\u0E22\\u0E01\\u0E32\\u0E23\"}`:`\\u0E40\\u0E01\\u0E34\\u0E19\\u0E01\\u0E33\\u0E2B\\u0E19\\u0E14: ${r.origin??\"\\u0E04\\u0E48\\u0E32\"} \\u0E04\\u0E27\\u0E23\\u0E21\\u0E35${i} ${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\"\\u0E2D\\u0E22\\u0E48\\u0E32\\u0E07\\u0E19\\u0E49\\u0E2D\\u0E22\":\"\\u0E21\\u0E32\\u0E01\\u0E01\\u0E27\\u0E48\\u0E32\",a=t(r.origin);return a?`\\u0E19\\u0E49\\u0E2D\\u0E22\\u0E01\\u0E27\\u0E48\\u0E32\\u0E01\\u0E33\\u0E2B\\u0E19\\u0E14: ${r.origin} \\u0E04\\u0E27\\u0E23\\u0E21\\u0E35${i} ${r.minimum.toString()} ${a.unit}`:`\\u0E19\\u0E49\\u0E2D\\u0E22\\u0E01\\u0E27\\u0E48\\u0E32\\u0E01\\u0E33\\u0E2B\\u0E19\\u0E14: ${r.origin} \\u0E04\\u0E27\\u0E23\\u0E21\\u0E35${i} ${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u0E23\\u0E39\\u0E1B\\u0E41\\u0E1A\\u0E1A\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E02\\u0E49\\u0E2D\\u0E04\\u0E27\\u0E32\\u0E21\\u0E15\\u0E49\\u0E2D\\u0E07\\u0E02\\u0E36\\u0E49\\u0E19\\u0E15\\u0E49\\u0E19\\u0E14\\u0E49\\u0E27\\u0E22 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u0E23\\u0E39\\u0E1B\\u0E41\\u0E1A\\u0E1A\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E02\\u0E49\\u0E2D\\u0E04\\u0E27\\u0E32\\u0E21\\u0E15\\u0E49\\u0E2D\\u0E07\\u0E25\\u0E07\\u0E17\\u0E49\\u0E32\\u0E22\\u0E14\\u0E49\\u0E27\\u0E22 \"${i.suffix}\"`:i.format===\"includes\"?`\\u0E23\\u0E39\\u0E1B\\u0E41\\u0E1A\\u0E1A\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E02\\u0E49\\u0E2D\\u0E04\\u0E27\\u0E32\\u0E21\\u0E15\\u0E49\\u0E2D\\u0E07\\u0E21\\u0E35 \"${i.includes}\" \\u0E2D\\u0E22\\u0E39\\u0E48\\u0E43\\u0E19\\u0E02\\u0E49\\u0E2D\\u0E04\\u0E27\\u0E32\\u0E21`:i.format===\"regex\"?`\\u0E23\\u0E39\\u0E1B\\u0E41\\u0E1A\\u0E1A\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E15\\u0E49\\u0E2D\\u0E07\\u0E15\\u0E23\\u0E07\\u0E01\\u0E31\\u0E1A\\u0E23\\u0E39\\u0E1B\\u0E41\\u0E1A\\u0E1A\\u0E17\\u0E35\\u0E48\\u0E01\\u0E33\\u0E2B\\u0E19\\u0E14 ${i.pattern}`:`\\u0E23\\u0E39\\u0E1B\\u0E41\\u0E1A\\u0E1A\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u0E15\\u0E31\\u0E27\\u0E40\\u0E25\\u0E02\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E15\\u0E49\\u0E2D\\u0E07\\u0E40\\u0E1B\\u0E47\\u0E19\\u0E08\\u0E33\\u0E19\\u0E27\\u0E19\\u0E17\\u0E35\\u0E48\\u0E2B\\u0E32\\u0E23\\u0E14\\u0E49\\u0E27\\u0E22 ${r.divisor} \\u0E44\\u0E14\\u0E49\\u0E25\\u0E07\\u0E15\\u0E31\\u0E27`;case\"unrecognized_keys\":return`\\u0E1E\\u0E1A\\u0E04\\u0E35\\u0E22\\u0E4C\\u0E17\\u0E35\\u0E48\\u0E44\\u0E21\\u0E48\\u0E23\\u0E39\\u0E49\\u0E08\\u0E31\\u0E01: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u0E04\\u0E35\\u0E22\\u0E4C\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07\\u0E43\\u0E19 ${r.origin}`;case\"invalid_union\":return\"\\u0E02\\u0E49\\u0E2D\\u0E21\\u0E39\\u0E25\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E44\\u0E21\\u0E48\\u0E15\\u0E23\\u0E07\\u0E01\\u0E31\\u0E1A\\u0E23\\u0E39\\u0E1B\\u0E41\\u0E1A\\u0E1A\\u0E22\\u0E39\\u0E40\\u0E19\\u0E35\\u0E22\\u0E19\\u0E17\\u0E35\\u0E48\\u0E01\\u0E33\\u0E2B\\u0E19\\u0E14\\u0E44\\u0E27\\u0E49\";case\"invalid_element\":return`\\u0E02\\u0E49\\u0E2D\\u0E21\\u0E39\\u0E25\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07\\u0E43\\u0E19 ${r.origin}`;default:return\"\\u0E02\\u0E49\\u0E2D\\u0E21\\u0E39\\u0E25\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07\"}}};function cS(){return{localeError:ok()}}var ak=()=>{let e={string:{unit:\"simwol\",verb:\"bolmaly\"},file:{unit:\"ba\\xFDt\",verb:\"bolmaly\"},array:{unit:\"elementler\",verb:\"bolmaly\"},set:{unit:\"elementler\",verb:\"bolmaly\"},map:{unit:\"elementler\",verb:\"bolmaly\"}};function t(r){return e[r]??null}let n={regex:\"giri\\u015F\",email:\"e-po\\xE7ta salgysy\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO sene we wagt\",date:\"ISO sene\",time:\"ISO wagt\",duration:\"ISO wagt aralygy\",ipv4:\"IPv4 salgysy\",ipv6:\"IPv6 salgysy\",mac:\"MAC salgysy\",cidrv4:\"IPv4 aralygy\",cidrv6:\"IPv6 aralygy\",base64:\"base64 bilen \\u015Fifrlenen setir\",base64url:\"base64url bilen \\u015Fifrlenen setir\",json_string:\"JSON setiri\",e164:\"E.164 nomeri\",credit_card:\"kredit kartyny\\u0148 nomeri\",currency_code:\"wal\\xFDuta kody\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u015Fablon\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return`N\\xE4dogry baha: gara\\u015Fylan ${i} \\xFDerine ${s} alyndy`}case\"invalid_value\":return r.values.length===1?`N\\xE4dogry baha: ${w(r.values[0])} bolmaly`:`N\\xE4dogry sa\\xFDlaw: a\\u015Fakdakylardan biri bolmaly: ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Has uly: gara\\u015Fyl\\xFDan ${r.origin??\"baha\"} ${i} ${r.maximum.toString()} ${a.unit??\"element\"}`:`Has uly: gara\\u015Fyl\\xFDan ${r.origin??\"baha\"} ${i} ${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Has ki\\xE7i: gara\\u015Fyl\\xFDan ${r.origin} ${i} ${r.minimum.toString()} ${a.unit}`:`Has ki\\xE7i: gara\\u015Fyl\\xFDan ${r.origin} ${i} ${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`N\\xE4dogry setir: \"${i.prefix}\" bilen ba\\u015Flamaly`:i.format===\"ends_with\"?`N\\xE4dogry setir: \"${i.suffix}\" bilen gutarmaly`:i.format===\"includes\"?`N\\xE4dogry setir: \"${i.includes}\" saklamaly`:i.format===\"regex\"?`N\\xE4dogry setir: ${i.pattern} nusga la\\xFDyk bolmaly`:`N\\xE4dogry ${n[i.format]??r.format}`}case\"not_multiple_of\":return`N\\xE4dogry san: ${r.divisor} bilen galyndysyz b\\xF6l\\xFCnmeli`;case\"unrecognized_keys\":return`Tanalma\\xFDan a\\xE7ar${r.keys.length>1?\"lar\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} i\\xE7inde n\\xE4dogry a\\xE7ar`;case\"invalid_union\":return\"N\\xE4dogry baha\";case\"invalid_element\":return`${r.origin} i\\xE7inde n\\xE4dogry baha`;default:return\"N\\xE4dogry baha\"}}};function lS(){return{localeError:ak()}}var sk=()=>{let e={string:{unit:\"karakter\",verb:\"olmal\\u0131\"},file:{unit:\"bayt\",verb:\"olmal\\u0131\"},array:{unit:\"\\xF6\\u011Fe\",verb:\"olmal\\u0131\"},set:{unit:\"\\xF6\\u011Fe\",verb:\"olmal\\u0131\"},map:{unit:\"\\xF6\\u011Fe\",verb:\"olmal\\u0131\"}};function t(r){return e[r]??null}let n={regex:\"girdi\",email:\"e-posta adresi\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO tarih ve saat\",date:\"ISO tarih\",time:\"ISO saat\",duration:\"ISO s\\xFCre\",ipv4:\"IPv4 adresi\",ipv6:\"IPv6 adresi\",mac:\"MAC adresi\",cidrv4:\"IPv4 aral\\u0131\\u011F\\u0131\",cidrv6:\"IPv6 aral\\u0131\\u011F\\u0131\",base64:\"base64 ile \\u015Fifrelenmi\\u015F metin\",base64url:\"base64url ile \\u015Fifrelenmi\\u015F metin\",json_string:\"JSON dizesi\",e164:\"E.164 say\\u0131s\\u0131\",credit_card:\"kredi kart\\u0131 numaras\\u0131\",currency_code:\"para birimi kodu\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u015Eablon dizesi\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Ge\\xE7ersiz de\\u011Fer: beklenen instanceof ${r.expected}, al\\u0131nan ${s}`:`Ge\\xE7ersiz de\\u011Fer: beklenen ${i}, al\\u0131nan ${s}`}case\"invalid_value\":return r.values.length===1?`Ge\\xE7ersiz de\\u011Fer: beklenen ${w(r.values[0])}`:`Ge\\xE7ersiz se\\xE7enek: a\\u015Fa\\u011F\\u0131dakilerden biri olmal\\u0131: ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\xC7ok b\\xFCy\\xFCk: beklenen ${r.origin??\"de\\u011Fer\"} ${i}${r.maximum.toString()} ${a.unit??\"\\xF6\\u011Fe\"}`:`\\xC7ok b\\xFCy\\xFCk: beklenen ${r.origin??\"de\\u011Fer\"} ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\xC7ok k\\xFC\\xE7\\xFCk: beklenen ${r.origin} ${i}${r.minimum.toString()} ${a.unit}`:`\\xC7ok k\\xFC\\xE7\\xFCk: beklenen ${r.origin} ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Ge\\xE7ersiz metin: \"${i.prefix}\" ile ba\\u015Flamal\\u0131`:i.format===\"ends_with\"?`Ge\\xE7ersiz metin: \"${i.suffix}\" ile bitmeli`:i.format===\"includes\"?`Ge\\xE7ersiz metin: \"${i.includes}\" i\\xE7ermeli`:i.format===\"regex\"?`Ge\\xE7ersiz metin: ${i.pattern} desenine uymal\\u0131`:`Ge\\xE7ersiz ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Ge\\xE7ersiz say\\u0131: ${r.divisor} ile tam b\\xF6l\\xFCnebilmeli`;case\"unrecognized_keys\":return`Tan\\u0131nmayan anahtar${r.keys.length>1?\"lar\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} i\\xE7inde ge\\xE7ersiz anahtar`;case\"invalid_union\":return\"Ge\\xE7ersiz de\\u011Fer\";case\"invalid_element\":return`${r.origin} i\\xE7inde ge\\xE7ersiz de\\u011Fer`;default:return\"Ge\\xE7ersiz de\\u011Fer\"}}};function uS(){return{localeError:sk()}}var ck=()=>{let e={string:{unit:\"\\u0441\\u0438\\u043C\\u0432\\u043E\\u043B\\u0456\\u0432\",verb:\"\\u043C\\u0430\\u0442\\u0438\\u043C\\u0435\"},file:{unit:\"\\u0431\\u0430\\u0439\\u0442\\u0456\\u0432\",verb:\"\\u043C\\u0430\\u0442\\u0438\\u043C\\u0435\"},array:{unit:\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0456\\u0432\",verb:\"\\u043C\\u0430\\u0442\\u0438\\u043C\\u0435\"},set:{unit:\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0456\\u0432\",verb:\"\\u043C\\u0430\\u0442\\u0438\\u043C\\u0435\"},map:{unit:\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0456\\u0432\",verb:\"\\u043C\\u0430\\u0442\\u0438\\u043C\\u0435\"}};function t(r){return e[r]??null}let n={regex:\"\\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456\",email:\"\\u0430\\u0434\\u0440\\u0435\\u0441\\u0430 \\u0435\\u043B\\u0435\\u043A\\u0442\\u0440\\u043E\\u043D\\u043D\\u043E\\u0457 \\u043F\\u043E\\u0448\\u0442\\u0438\",url:\"URL\",emoji:\"\\u0435\\u043C\\u043E\\u0434\\u0437\\u0456\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\u0434\\u0430\\u0442\\u0430 \\u0442\\u0430 \\u0447\\u0430\\u0441 ISO\",date:\"\\u0434\\u0430\\u0442\\u0430 ISO\",time:\"\\u0447\\u0430\\u0441 ISO\",duration:\"\\u0442\\u0440\\u0438\\u0432\\u0430\\u043B\\u0456\\u0441\\u0442\\u044C ISO\",ipv4:\"\\u0430\\u0434\\u0440\\u0435\\u0441\\u0430 IPv4\",ipv6:\"\\u0430\\u0434\\u0440\\u0435\\u0441\\u0430 IPv6\",mac:\"\\u0430\\u0434\\u0440\\u0435\\u0441\\u0430 MAC\",cidrv4:\"\\u0434\\u0456\\u0430\\u043F\\u0430\\u0437\\u043E\\u043D IPv4\",cidrv6:\"\\u0434\\u0456\\u0430\\u043F\\u0430\\u0437\\u043E\\u043D IPv6\",base64:\"\\u0440\\u044F\\u0434\\u043E\\u043A \\u0443 \\u043A\\u043E\\u0434\\u0443\\u0432\\u0430\\u043D\\u043D\\u0456 base64\",base64url:\"\\u0440\\u044F\\u0434\\u043E\\u043A \\u0443 \\u043A\\u043E\\u0434\\u0443\\u0432\\u0430\\u043D\\u043D\\u0456 base64url\",json_string:\"\\u0440\\u044F\\u0434\\u043E\\u043A JSON\",e164:\"\\u043D\\u043E\\u043C\\u0435\\u0440 E.164\",credit_card:\"\\u043D\\u043E\\u043C\\u0435\\u0440 \\u043A\\u0440\\u0435\\u0434\\u0438\\u0442\\u043D\\u043E\\u0457 \\u043A\\u0430\\u0440\\u0442\\u043A\\u0438\",currency_code:\"\\u043A\\u043E\\u0434 \\u0432\\u0430\\u043B\\u044E\\u0442\\u0438\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456\"},o={nan:\"NaN\",number:\"\\u0447\\u0438\\u0441\\u043B\\u043E\",array:\"\\u043C\\u0430\\u0441\\u0438\\u0432\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0456 \\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F instanceof ${r.expected}, \\u043E\\u0442\\u0440\\u0438\\u043C\\u0430\\u043D\\u043E ${s}`:`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0456 \\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F ${i}, \\u043E\\u0442\\u0440\\u0438\\u043C\\u0430\\u043D\\u043E ${s}`}case\"invalid_value\":return r.values.length===1?`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0456 \\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F ${w(r.values[0])}`:`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0430 \\u043E\\u043F\\u0446\\u0456\\u044F: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F \\u043E\\u0434\\u043D\\u0435 \\u0437 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u043E \\u0432\\u0435\\u043B\\u0438\\u043A\\u0435: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F, \\u0449\\u043E ${r.origin??\"\\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u043D\\u044F\"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit??\"\\u0435\\u043B\\u0435\\u043C\\u0435\\u043D\\u0442\\u0456\\u0432\"}`:`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u043E \\u0432\\u0435\\u043B\\u0438\\u043A\\u0435: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F, \\u0449\\u043E ${r.origin??\"\\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u043D\\u044F\"} \\u0431\\u0443\\u0434\\u0435 ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u043E \\u043C\\u0430\\u043B\\u0435: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F, \\u0449\\u043E ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u043E \\u043C\\u0430\\u043B\\u0435: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F, \\u0449\\u043E ${r.origin} \\u0431\\u0443\\u0434\\u0435 ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0438\\u0439 \\u0440\\u044F\\u0434\\u043E\\u043A: \\u043F\\u043E\\u0432\\u0438\\u043D\\u0435\\u043D \\u043F\\u043E\\u0447\\u0438\\u043D\\u0430\\u0442\\u0438\\u0441\\u044F \\u0437 \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0438\\u0439 \\u0440\\u044F\\u0434\\u043E\\u043A: \\u043F\\u043E\\u0432\\u0438\\u043D\\u0435\\u043D \\u0437\\u0430\\u043A\\u0456\\u043D\\u0447\\u0443\\u0432\\u0430\\u0442\\u0438\\u0441\\u044F \\u043D\\u0430 \"${i.suffix}\"`:i.format===\"includes\"?`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0438\\u0439 \\u0440\\u044F\\u0434\\u043E\\u043A: \\u043F\\u043E\\u0432\\u0438\\u043D\\u0435\\u043D \\u043C\\u0456\\u0441\\u0442\\u0438\\u0442\\u0438 \"${i.includes}\"`:i.format===\"regex\"?`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0438\\u0439 \\u0440\\u044F\\u0434\\u043E\\u043A: \\u043F\\u043E\\u0432\\u0438\\u043D\\u0435\\u043D \\u0432\\u0456\\u0434\\u043F\\u043E\\u0432\\u0456\\u0434\\u0430\\u0442\\u0438 \\u0448\\u0430\\u0431\\u043B\\u043E\\u043D\\u0443 ${i.pattern}`:`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0438\\u0439 ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0435 \\u0447\\u0438\\u0441\\u043B\\u043E: \\u043F\\u043E\\u0432\\u0438\\u043D\\u043D\\u043E \\u0431\\u0443\\u0442\\u0438 \\u043A\\u0440\\u0430\\u0442\\u043D\\u0438\\u043C ${r.divisor}`;case\"unrecognized_keys\":return`\\u041D\\u0435\\u0440\\u043E\\u0437\\u043F\\u0456\\u0437\\u043D\\u0430\\u043D\\u0438\\u0439 \\u043A\\u043B\\u044E\\u0447${r.keys.length>1?\"\\u0456\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0438\\u0439 \\u043A\\u043B\\u044E\\u0447 \\u0443 ${r.origin}`;case\"invalid_union\":return\"\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0456 \\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456\";case\"invalid_element\":return`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0435 \\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u043D\\u044F \\u0443 ${r.origin}`;default:return\"\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0456 \\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456\"}}};function Tl(){return{localeError:ck()}}function dS(){return Tl()}var lk=()=>{let e={string:{unit:\"\\u062D\\u0631\\u0648\\u0641\",verb:\"\\u06C1\\u0648\\u0646\\u0627\"},file:{unit:\"\\u0628\\u0627\\u0626\\u0679\\u0633\",verb:\"\\u06C1\\u0648\\u0646\\u0627\"},array:{unit:\"\\u0622\\u0626\\u0679\\u0645\\u0632\",verb:\"\\u06C1\\u0648\\u0646\\u0627\"},set:{unit:\"\\u0622\\u0626\\u0679\\u0645\\u0632\",verb:\"\\u06C1\\u0648\\u0646\\u0627\"},map:{unit:\"\\u0622\\u0626\\u0679\\u0645\\u0632\",verb:\"\\u06C1\\u0648\\u0646\\u0627\"}};function t(r){return e[r]??null}let n={regex:\"\\u0627\\u0646 \\u067E\\u0679\",email:\"\\u0627\\u06CC \\u0645\\u06CC\\u0644 \\u0627\\u06CC\\u0688\\u0631\\u06CC\\u0633\",url:\"\\u06CC\\u0648 \\u0622\\u0631 \\u0627\\u06CC\\u0644\",emoji:\"\\u0627\\u06CC\\u0645\\u0648\\u062C\\u06CC\",uuid:\"\\u06CC\\u0648 \\u06CC\\u0648 \\u0622\\u0626\\u06CC \\u0688\\u06CC\",uuidv4:\"\\u06CC\\u0648 \\u06CC\\u0648 \\u0622\\u0626\\u06CC \\u0688\\u06CC \\u0648\\u06CC 4\",uuidv6:\"\\u06CC\\u0648 \\u06CC\\u0648 \\u0622\\u0626\\u06CC \\u0688\\u06CC \\u0648\\u06CC 6\",nanoid:\"\\u0646\\u06CC\\u0646\\u0648 \\u0622\\u0626\\u06CC \\u0688\\u06CC\",guid:\"\\u062C\\u06CC \\u06CC\\u0648 \\u0622\\u0626\\u06CC \\u0688\\u06CC\",cuid:\"\\u0633\\u06CC \\u06CC\\u0648 \\u0622\\u0626\\u06CC \\u0688\\u06CC\",cuid2:\"\\u0633\\u06CC \\u06CC\\u0648 \\u0622\\u0626\\u06CC \\u0688\\u06CC 2\",ulid:\"\\u06CC\\u0648 \\u0627\\u06CC\\u0644 \\u0622\\u0626\\u06CC \\u0688\\u06CC\",xid:\"\\u0627\\u06CC\\u06A9\\u0633 \\u0622\\u0626\\u06CC \\u0688\\u06CC\",ksuid:\"\\u06A9\\u06D2 \\u0627\\u06CC\\u0633 \\u06CC\\u0648 \\u0622\\u0626\\u06CC \\u0688\\u06CC\",datetime:\"\\u0622\\u0626\\u06CC \\u0627\\u06CC\\u0633 \\u0627\\u0648 \\u0688\\u06CC\\u0679 \\u0679\\u0627\\u0626\\u0645\",date:\"\\u0622\\u0626\\u06CC \\u0627\\u06CC\\u0633 \\u0627\\u0648 \\u062A\\u0627\\u0631\\u06CC\\u062E\",time:\"\\u0622\\u0626\\u06CC \\u0627\\u06CC\\u0633 \\u0627\\u0648 \\u0648\\u0642\\u062A\",duration:\"\\u0622\\u0626\\u06CC \\u0627\\u06CC\\u0633 \\u0627\\u0648 \\u0645\\u062F\\u062A\",ipv4:\"\\u0622\\u0626\\u06CC \\u067E\\u06CC \\u0648\\u06CC 4 \\u0627\\u06CC\\u0688\\u0631\\u06CC\\u0633\",ipv6:\"\\u0622\\u0626\\u06CC \\u067E\\u06CC \\u0648\\u06CC 6 \\u0627\\u06CC\\u0688\\u0631\\u06CC\\u0633\",mac:\"\\u0627\\u06CC\\u0645 \\u0627\\u06D2 \\u0633\\u06CC \\u0627\\u06CC\\u0688\\u0631\\u06CC\\u0633\",cidrv4:\"\\u0622\\u0626\\u06CC \\u067E\\u06CC \\u0648\\u06CC 4 \\u0631\\u06CC\\u0646\\u062C\",cidrv6:\"\\u0622\\u0626\\u06CC \\u067E\\u06CC \\u0648\\u06CC 6 \\u0631\\u06CC\\u0646\\u062C\",base64:\"\\u0628\\u06CC\\u0633 64 \\u0627\\u0646 \\u06A9\\u0648\\u0688\\u0688 \\u0633\\u0679\\u0631\\u0646\\u06AF\",base64url:\"\\u0628\\u06CC\\u0633 64 \\u06CC\\u0648 \\u0622\\u0631 \\u0627\\u06CC\\u0644 \\u0627\\u0646 \\u06A9\\u0648\\u0688\\u0688 \\u0633\\u0679\\u0631\\u0646\\u06AF\",json_string:\"\\u062C\\u06D2 \\u0627\\u06CC\\u0633 \\u0627\\u0648 \\u0627\\u06CC\\u0646 \\u0633\\u0679\\u0631\\u0646\\u06AF\",e164:\"\\u0627\\u06CC 164 \\u0646\\u0645\\u0628\\u0631\",credit_card:\"\\u06A9\\u0631\\u06CC\\u0688\\u0679 \\u06A9\\u0627\\u0631\\u0688 \\u0646\\u0645\\u0628\\u0631\",currency_code:\"\\u06A9\\u0631\\u0646\\u0633\\u06CC \\u06A9\\u0648\\u0688\",iban:\"IBAN\",jwt:\"\\u062C\\u06D2 \\u0688\\u0628\\u0644\\u06CC\\u0648 \\u0679\\u06CC\",template_literal:\"\\u0627\\u0646 \\u067E\\u0679\"},o={nan:\"NaN\",number:\"\\u0646\\u0645\\u0628\\u0631\",array:\"\\u0622\\u0631\\u06D2\",null:\"\\u0646\\u0644\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u063A\\u0644\\u0637 \\u0627\\u0646 \\u067E\\u0679: instanceof ${r.expected} \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627\\u060C ${s} \\u0645\\u0648\\u0635\\u0648\\u0644 \\u06C1\\u0648\\u0627`:`\\u063A\\u0644\\u0637 \\u0627\\u0646 \\u067E\\u0679: ${i} \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627\\u060C ${s} \\u0645\\u0648\\u0635\\u0648\\u0644 \\u06C1\\u0648\\u0627`}case\"invalid_value\":return r.values.length===1?`\\u063A\\u0644\\u0637 \\u0627\\u0646 \\u067E\\u0679: ${w(r.values[0])} \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627`:`\\u063A\\u0644\\u0637 \\u0622\\u067E\\u0634\\u0646: ${S(r.values,\"|\")} \\u0645\\u06CC\\u06BA \\u0633\\u06D2 \\u0627\\u06CC\\u06A9 \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u0628\\u06C1\\u062A \\u0628\\u0691\\u0627: ${r.origin??\"\\u0648\\u06CC\\u0644\\u06CC\\u0648\"} \\u06A9\\u06D2 ${i}${r.maximum.toString()} ${a.unit??\"\\u0639\\u0646\\u0627\\u0635\\u0631\"} \\u06C1\\u0648\\u0646\\u06D2 \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u06D2`:`\\u0628\\u06C1\\u062A \\u0628\\u0691\\u0627: ${r.origin??\"\\u0648\\u06CC\\u0644\\u06CC\\u0648\"} \\u06A9\\u0627 ${i}${r.maximum.toString()} \\u06C1\\u0648\\u0646\\u0627 \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u0628\\u06C1\\u062A \\u0686\\u06BE\\u0648\\u0679\\u0627: ${r.origin} \\u06A9\\u06D2 ${i}${r.minimum.toString()} ${a.unit} \\u06C1\\u0648\\u0646\\u06D2 \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u06D2`:`\\u0628\\u06C1\\u062A \\u0686\\u06BE\\u0648\\u0679\\u0627: ${r.origin} \\u06A9\\u0627 ${i}${r.minimum.toString()} \\u06C1\\u0648\\u0646\\u0627 \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u063A\\u0644\\u0637 \\u0633\\u0679\\u0631\\u0646\\u06AF: \"${i.prefix}\" \\u0633\\u06D2 \\u0634\\u0631\\u0648\\u0639 \\u06C1\\u0648\\u0646\\u0627 \\u0686\\u0627\\u06C1\\u06CC\\u06D2`:i.format===\"ends_with\"?`\\u063A\\u0644\\u0637 \\u0633\\u0679\\u0631\\u0646\\u06AF: \"${i.suffix}\" \\u067E\\u0631 \\u062E\\u062A\\u0645 \\u06C1\\u0648\\u0646\\u0627 \\u0686\\u0627\\u06C1\\u06CC\\u06D2`:i.format===\"includes\"?`\\u063A\\u0644\\u0637 \\u0633\\u0679\\u0631\\u0646\\u06AF: \"${i.includes}\" \\u0634\\u0627\\u0645\\u0644 \\u06C1\\u0648\\u0646\\u0627 \\u0686\\u0627\\u06C1\\u06CC\\u06D2`:i.format===\"regex\"?`\\u063A\\u0644\\u0637 \\u0633\\u0679\\u0631\\u0646\\u06AF: \\u067E\\u06CC\\u0679\\u0631\\u0646 ${i.pattern} \\u0633\\u06D2 \\u0645\\u06CC\\u0686 \\u06C1\\u0648\\u0646\\u0627 \\u0686\\u0627\\u06C1\\u06CC\\u06D2`:`\\u063A\\u0644\\u0637 ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u063A\\u0644\\u0637 \\u0646\\u0645\\u0628\\u0631: ${r.divisor} \\u06A9\\u0627 \\u0645\\u0636\\u0627\\u0639\\u0641 \\u06C1\\u0648\\u0646\\u0627 \\u0686\\u0627\\u06C1\\u06CC\\u06D2`;case\"unrecognized_keys\":return`\\u063A\\u06CC\\u0631 \\u062A\\u0633\\u0644\\u06CC\\u0645 \\u0634\\u062F\\u06C1 \\u06A9\\u06CC${r.keys.length>1?\"\\u0632\":\"\"}: ${S(r.keys,\"\\u060C \")}`;case\"invalid_key\":return`${r.origin} \\u0645\\u06CC\\u06BA \\u063A\\u0644\\u0637 \\u06A9\\u06CC`;case\"invalid_union\":return\"\\u063A\\u0644\\u0637 \\u0627\\u0646 \\u067E\\u0679\";case\"invalid_element\":return`${r.origin} \\u0645\\u06CC\\u06BA \\u063A\\u0644\\u0637 \\u0648\\u06CC\\u0644\\u06CC\\u0648`;default:return\"\\u063A\\u0644\\u0637 \\u0627\\u0646 \\u067E\\u0679\"}}};function mS(){return{localeError:lk()}}var uk=()=>{let e={string:{unit:\"belgi\",verb:\"bo\\u2018lishi kerak\"},file:{unit:\"bayt\",verb:\"bo\\u2018lishi kerak\"},array:{unit:\"element\",verb:\"bo\\u2018lishi kerak\"},set:{unit:\"element\",verb:\"bo\\u2018lishi kerak\"},map:{unit:\"yozuv\",verb:\"bo\\u2018lishi kerak\"}};function t(r){return e[r]??null}let n={regex:\"kirish\",email:\"elektron pochta manzili\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO sana va vaqti\",date:\"ISO sana\",time:\"ISO vaqt\",duration:\"ISO davomiylik\",ipv4:\"IPv4 manzil\",ipv6:\"IPv6 manzil\",mac:\"MAC manzil\",cidrv4:\"IPv4 diapazon\",cidrv6:\"IPv6 diapazon\",base64:\"base64 kodlangan satr\",base64url:\"base64url kodlangan satr\",json_string:\"JSON satr\",e164:\"E.164 raqam\",credit_card:\"kredit karta raqami\",currency_code:\"valyuta kodi\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"kirish\"},o={nan:\"NaN\",number:\"raqam\",array:\"massiv\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`Noto\\u2018g\\u2018ri kirish: kutilgan instanceof ${r.expected}, qabul qilingan ${s}`:`Noto\\u2018g\\u2018ri kirish: kutilgan ${i}, qabul qilingan ${s}`}case\"invalid_value\":return r.values.length===1?`Noto\\u2018g\\u2018ri kirish: kutilgan ${w(r.values[0])}`:`Noto\\u2018g\\u2018ri variant: quyidagilardan biri kutilgan ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Juda katta: kutilgan ${r.origin??\"qiymat\"} ${i}${r.maximum.toString()} ${a.unit} ${a.verb}`:`Juda katta: kutilgan ${r.origin??\"qiymat\"} ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Juda kichik: kutilgan ${r.origin} ${i}${r.minimum.toString()} ${a.unit} ${a.verb}`:`Juda kichik: kutilgan ${r.origin} ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Noto\\u2018g\\u2018ri satr: \"${i.prefix}\" bilan boshlanishi kerak`:i.format===\"ends_with\"?`Noto\\u2018g\\u2018ri satr: \"${i.suffix}\" bilan tugashi kerak`:i.format===\"includes\"?`Noto\\u2018g\\u2018ri satr: \"${i.includes}\" ni o\\u2018z ichiga olishi kerak`:i.format===\"regex\"?`Noto\\u2018g\\u2018ri satr: ${i.pattern} shabloniga mos kelishi kerak`:`Noto\\u2018g\\u2018ri ${n[i.format]??r.format}`}case\"not_multiple_of\":return`Noto\\u2018g\\u2018ri raqam: ${r.divisor} ning karralisi bo\\u2018lishi kerak`;case\"unrecognized_keys\":return`Noma\\u2019lum kalit${r.keys.length>1?\"lar\":\"\"}: ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} dagi kalit noto\\u2018g\\u2018ri`;case\"invalid_union\":return\"Noto\\u2018g\\u2018ri kirish\";case\"invalid_element\":return`${r.origin} da noto\\u2018g\\u2018ri qiymat`;default:return\"Noto\\u2018g\\u2018ri kirish\"}}};function pS(){return{localeError:uk()}}var dk=()=>{let e={string:{unit:\"k\\xFD t\\u1EF1\",verb:\"c\\xF3\"},file:{unit:\"byte\",verb:\"c\\xF3\"},array:{unit:\"ph\\u1EA7n t\\u1EED\",verb:\"c\\xF3\"},set:{unit:\"ph\\u1EA7n t\\u1EED\",verb:\"c\\xF3\"},map:{unit:\"ph\\u1EA7n t\\u1EED\",verb:\"c\\xF3\"}};function t(r){return e[r]??null}let n={regex:\"\\u0111\\u1EA7u v\\xE0o\",email:\"\\u0111\\u1ECBa ch\\u1EC9 email\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ng\\xE0y gi\\u1EDD ISO\",date:\"ng\\xE0y ISO\",time:\"gi\\u1EDD ISO\",duration:\"kho\\u1EA3ng th\\u1EDDi gian ISO\",ipv4:\"\\u0111\\u1ECBa ch\\u1EC9 IPv4\",ipv6:\"\\u0111\\u1ECBa ch\\u1EC9 IPv6\",mac:\"\\u0111\\u1ECBa ch\\u1EC9 MAC\",cidrv4:\"d\\u1EA3i IPv4\",cidrv6:\"d\\u1EA3i IPv6\",base64:\"chu\\u1ED7i m\\xE3 h\\xF3a base64\",base64url:\"chu\\u1ED7i m\\xE3 h\\xF3a base64url\",json_string:\"chu\\u1ED7i JSON\",e164:\"s\\u1ED1 E.164\",credit_card:\"s\\u1ED1 th\\u1EBB t\\xEDn d\\u1EE5ng\",currency_code:\"m\\xE3 ti\\u1EC1n t\\u1EC7\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u0111\\u1EA7u v\\xE0o\"},o={nan:\"NaN\",number:\"s\\u1ED1\",array:\"m\\u1EA3ng\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7: mong \\u0111\\u1EE3i instanceof ${r.expected}, nh\\u1EADn \\u0111\\u01B0\\u1EE3c ${s}`:`\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7: mong \\u0111\\u1EE3i ${i}, nh\\u1EADn \\u0111\\u01B0\\u1EE3c ${s}`}case\"invalid_value\":return r.values.length===1?`\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7: mong \\u0111\\u1EE3i ${w(r.values[0])}`:`T\\xF9y ch\\u1ECDn kh\\xF4ng h\\u1EE3p l\\u1EC7: mong \\u0111\\u1EE3i m\\u1ED9t trong c\\xE1c gi\\xE1 tr\\u1ECB ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`Qu\\xE1 l\\u1EDBn: mong \\u0111\\u1EE3i ${r.origin??\"gi\\xE1 tr\\u1ECB\"} ${a.verb} ${i}${r.maximum.toString()} ${a.unit??\"ph\\u1EA7n t\\u1EED\"}`:`Qu\\xE1 l\\u1EDBn: mong \\u0111\\u1EE3i ${r.origin??\"gi\\xE1 tr\\u1ECB\"} ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`Qu\\xE1 nh\\u1ECF: mong \\u0111\\u1EE3i ${r.origin} ${a.verb} ${i}${r.minimum.toString()} ${a.unit}`:`Qu\\xE1 nh\\u1ECF: mong \\u0111\\u1EE3i ${r.origin} ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`Chu\\u1ED7i kh\\xF4ng h\\u1EE3p l\\u1EC7: ph\\u1EA3i b\\u1EAFt \\u0111\\u1EA7u b\\u1EB1ng \"${i.prefix}\"`:i.format===\"ends_with\"?`Chu\\u1ED7i kh\\xF4ng h\\u1EE3p l\\u1EC7: ph\\u1EA3i k\\u1EBFt th\\xFAc b\\u1EB1ng \"${i.suffix}\"`:i.format===\"includes\"?`Chu\\u1ED7i kh\\xF4ng h\\u1EE3p l\\u1EC7: ph\\u1EA3i bao g\\u1ED3m \"${i.includes}\"`:i.format===\"regex\"?`Chu\\u1ED7i kh\\xF4ng h\\u1EE3p l\\u1EC7: ph\\u1EA3i kh\\u1EDBp v\\u1EDBi m\\u1EABu ${i.pattern}`:`${n[i.format]??r.format} kh\\xF4ng h\\u1EE3p l\\u1EC7`}case\"not_multiple_of\":return`S\\u1ED1 kh\\xF4ng h\\u1EE3p l\\u1EC7: ph\\u1EA3i l\\xE0 b\\u1ED9i s\\u1ED1 c\\u1EE7a ${r.divisor}`;case\"unrecognized_keys\":return`Kh\\xF3a kh\\xF4ng \\u0111\\u01B0\\u1EE3c nh\\u1EADn d\\u1EA1ng: ${S(r.keys,\", \")}`;case\"invalid_key\":return`Kh\\xF3a kh\\xF4ng h\\u1EE3p l\\u1EC7 trong ${r.origin}`;case\"invalid_union\":return\"\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7\";case\"invalid_element\":return`Gi\\xE1 tr\\u1ECB kh\\xF4ng h\\u1EE3p l\\u1EC7 trong ${r.origin}`;default:return\"\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7\"}}};function fS(){return{localeError:dk()}}var mk=()=>{let e={string:{unit:\"\\u5B57\\u7B26\",verb:\"\\u5305\\u542B\"},file:{unit:\"\\u5B57\\u8282\",verb:\"\\u5305\\u542B\"},array:{unit:\"\\u9879\",verb:\"\\u5305\\u542B\"},set:{unit:\"\\u9879\",verb:\"\\u5305\\u542B\"},map:{unit:\"\\u9879\",verb:\"\\u5305\\u542B\"}};function t(r){return e[r]??null}let n={regex:\"\\u8F93\\u5165\",email:\"\\u7535\\u5B50\\u90AE\\u4EF6\",url:\"URL\",emoji:\"\\u8868\\u60C5\\u7B26\\u53F7\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO\\u65E5\\u671F\\u65F6\\u95F4\",date:\"ISO\\u65E5\\u671F\",time:\"ISO\\u65F6\\u95F4\",duration:\"ISO\\u65F6\\u957F\",ipv4:\"IPv4\\u5730\\u5740\",ipv6:\"IPv6\\u5730\\u5740\",mac:\"MAC\\u5730\\u5740\",cidrv4:\"IPv4\\u7F51\\u6BB5\",cidrv6:\"IPv6\\u7F51\\u6BB5\",base64:\"base64\\u7F16\\u7801\\u5B57\\u7B26\\u4E32\",base64url:\"base64url\\u7F16\\u7801\\u5B57\\u7B26\\u4E32\",json_string:\"JSON\\u5B57\\u7B26\\u4E32\",e164:\"E.164\\u53F7\\u7801\",credit_card:\"\\u4FE1\\u7528\\u5361\\u53F7\",currency_code:\"\\u8D27\\u5E01\\u4EE3\\u7801\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u8F93\\u5165\"},o={nan:\"NaN\",number:\"\\u6570\\u5B57\",array:\"\\u6570\\u7EC4\",null:\"\\u7A7A\\u503C(null)\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u65E0\\u6548\\u8F93\\u5165\\uFF1A\\u671F\\u671B instanceof ${r.expected}\\uFF0C\\u5B9E\\u9645\\u63A5\\u6536 ${s}`:`\\u65E0\\u6548\\u8F93\\u5165\\uFF1A\\u671F\\u671B ${i}\\uFF0C\\u5B9E\\u9645\\u63A5\\u6536 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u65E0\\u6548\\u8F93\\u5165\\uFF1A\\u671F\\u671B ${w(r.values[0])}`:`\\u65E0\\u6548\\u9009\\u9879\\uFF1A\\u671F\\u671B\\u4EE5\\u4E0B\\u4E4B\\u4E00 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u6570\\u503C\\u8FC7\\u5927\\uFF1A\\u671F\\u671B ${r.origin??\"\\u503C\"} ${i}${r.maximum.toString()} ${a.unit??\"\\u4E2A\\u5143\\u7D20\"}`:`\\u6570\\u503C\\u8FC7\\u5927\\uFF1A\\u671F\\u671B ${r.origin??\"\\u503C\"} ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u6570\\u503C\\u8FC7\\u5C0F\\uFF1A\\u671F\\u671B ${r.origin} ${i}${r.minimum.toString()} ${a.unit}`:`\\u6570\\u503C\\u8FC7\\u5C0F\\uFF1A\\u671F\\u671B ${r.origin} ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u65E0\\u6548\\u5B57\\u7B26\\u4E32\\uFF1A\\u5FC5\\u987B\\u4EE5 \"${i.prefix}\" \\u5F00\\u5934`:i.format===\"ends_with\"?`\\u65E0\\u6548\\u5B57\\u7B26\\u4E32\\uFF1A\\u5FC5\\u987B\\u4EE5 \"${i.suffix}\" \\u7ED3\\u5C3E`:i.format===\"includes\"?`\\u65E0\\u6548\\u5B57\\u7B26\\u4E32\\uFF1A\\u5FC5\\u987B\\u5305\\u542B \"${i.includes}\"`:i.format===\"regex\"?`\\u65E0\\u6548\\u5B57\\u7B26\\u4E32\\uFF1A\\u5FC5\\u987B\\u6EE1\\u8DB3\\u6B63\\u5219\\u8868\\u8FBE\\u5F0F ${i.pattern}`:`\\u65E0\\u6548${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u65E0\\u6548\\u6570\\u5B57\\uFF1A\\u5FC5\\u987B\\u662F ${r.divisor} \\u7684\\u500D\\u6570`;case\"unrecognized_keys\":return`\\u51FA\\u73B0\\u672A\\u77E5\\u7684\\u952E(key): ${S(r.keys,\", \")}`;case\"invalid_key\":return`${r.origin} \\u4E2D\\u7684\\u952E(key)\\u65E0\\u6548`;case\"invalid_union\":return\"\\u65E0\\u6548\\u8F93\\u5165\";case\"invalid_element\":return`${r.origin} \\u4E2D\\u5305\\u542B\\u65E0\\u6548\\u503C(value)`;default:return\"\\u65E0\\u6548\\u8F93\\u5165\"}}};function hS(){return{localeError:mk()}}var pk=()=>{let e={string:{unit:\"\\u5B57\\u5143\",verb:\"\\u64C1\\u6709\"},file:{unit:\"\\u4F4D\\u5143\\u7D44\",verb:\"\\u64C1\\u6709\"},array:{unit:\"\\u9805\\u76EE\",verb:\"\\u64C1\\u6709\"},set:{unit:\"\\u9805\\u76EE\",verb:\"\\u64C1\\u6709\"},map:{unit:\"\\u9805\\u76EE\",verb:\"\\u64C1\\u6709\"}};function t(r){return e[r]??null}let n={regex:\"\\u8F38\\u5165\",email:\"\\u90F5\\u4EF6\\u5730\\u5740\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"ISO \\u65E5\\u671F\\u6642\\u9593\",date:\"ISO \\u65E5\\u671F\",time:\"ISO \\u6642\\u9593\",duration:\"ISO \\u671F\\u9593\",ipv4:\"IPv4 \\u4F4D\\u5740\",ipv6:\"IPv6 \\u4F4D\\u5740\",mac:\"MAC \\u4F4D\\u5740\",cidrv4:\"IPv4 \\u7BC4\\u570D\",cidrv6:\"IPv6 \\u7BC4\\u570D\",base64:\"base64 \\u7DE8\\u78BC\\u5B57\\u4E32\",base64url:\"base64url \\u7DE8\\u78BC\\u5B57\\u4E32\",json_string:\"JSON \\u5B57\\u4E32\",e164:\"E.164 \\u6578\\u503C\",credit_card:\"\\u4FE1\\u7528\\u5361\\u865F\",currency_code:\"\\u8CA8\\u5E63\\u4EE3\\u78BC\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u8F38\\u5165\"},o={nan:\"NaN\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\\uFF1A\\u9810\\u671F\\u70BA instanceof ${r.expected}\\uFF0C\\u4F46\\u6536\\u5230 ${s}`:`\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\\uFF1A\\u9810\\u671F\\u70BA ${i}\\uFF0C\\u4F46\\u6536\\u5230 ${s}`}case\"invalid_value\":return r.values.length===1?`\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\\uFF1A\\u9810\\u671F\\u70BA ${w(r.values[0])}`:`\\u7121\\u6548\\u7684\\u9078\\u9805\\uFF1A\\u9810\\u671F\\u70BA\\u4EE5\\u4E0B\\u5176\\u4E2D\\u4E4B\\u4E00 ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`\\u6578\\u503C\\u904E\\u5927\\uFF1A\\u9810\\u671F ${r.origin??\"\\u503C\"} \\u61C9\\u70BA ${i}${r.maximum.toString()} ${a.unit??\"\\u500B\\u5143\\u7D20\"}`:`\\u6578\\u503C\\u904E\\u5927\\uFF1A\\u9810\\u671F ${r.origin??\"\\u503C\"} \\u61C9\\u70BA ${i}${r.maximum.toString()}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`\\u6578\\u503C\\u904E\\u5C0F\\uFF1A\\u9810\\u671F ${r.origin} \\u61C9\\u70BA ${i}${r.minimum.toString()} ${a.unit}`:`\\u6578\\u503C\\u904E\\u5C0F\\uFF1A\\u9810\\u671F ${r.origin} \\u61C9\\u70BA ${i}${r.minimum.toString()}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u7121\\u6548\\u7684\\u5B57\\u4E32\\uFF1A\\u5FC5\\u9808\\u4EE5 \"${i.prefix}\" \\u958B\\u982D`:i.format===\"ends_with\"?`\\u7121\\u6548\\u7684\\u5B57\\u4E32\\uFF1A\\u5FC5\\u9808\\u4EE5 \"${i.suffix}\" \\u7D50\\u5C3E`:i.format===\"includes\"?`\\u7121\\u6548\\u7684\\u5B57\\u4E32\\uFF1A\\u5FC5\\u9808\\u5305\\u542B \"${i.includes}\"`:i.format===\"regex\"?`\\u7121\\u6548\\u7684\\u5B57\\u4E32\\uFF1A\\u5FC5\\u9808\\u7B26\\u5408\\u683C\\u5F0F ${i.pattern}`:`\\u7121\\u6548\\u7684 ${n[i.format]??r.format}`}case\"not_multiple_of\":return`\\u7121\\u6548\\u7684\\u6578\\u5B57\\uFF1A\\u5FC5\\u9808\\u70BA ${r.divisor} \\u7684\\u500D\\u6578`;case\"unrecognized_keys\":return`\\u7121\\u6CD5\\u8B58\\u5225\\u7684\\u9375\\u503C${r.keys.length>1?\"\\u5011\":\"\"}\\uFF1A${S(r.keys,\"\\u3001\")}`;case\"invalid_key\":return`${r.origin} \\u4E2D\\u6709\\u7121\\u6548\\u7684\\u9375\\u503C`;case\"invalid_union\":return\"\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\";case\"invalid_element\":return`${r.origin} \\u4E2D\\u6709\\u7121\\u6548\\u7684\\u503C`;default:return\"\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\"}}};function gS(){return{localeError:pk()}}var fk=()=>{let e={string:{unit:\"\\xE0mi\",verb:\"n\\xED\"},file:{unit:\"bytes\",verb:\"n\\xED\"},array:{unit:\"nkan\",verb:\"n\\xED\"},set:{unit:\"nkan\",verb:\"n\\xED\"},map:{unit:\"nkan\",verb:\"n\\xED\"}};function t(r){return e[r]??null}let n={regex:\"\\u1EB9\\u0300r\\u1ECD \\xECb\\xE1w\\u1ECDl\\xE9\",email:\"\\xE0d\\xEDr\\u1EB9\\u0301s\\xEC \\xECm\\u1EB9\\u0301l\\xEC\",url:\"URL\",emoji:\"emoji\",uuid:\"UUID\",uuidv4:\"UUIDv4\",uuidv6:\"UUIDv6\",nanoid:\"nanoid\",guid:\"GUID\",cuid:\"cuid\",cuid2:\"cuid2\",ulid:\"ULID\",xid:\"XID\",ksuid:\"KSUID\",datetime:\"\\xE0k\\xF3k\\xF2 ISO\",date:\"\\u1ECDj\\u1ECD\\u0301 ISO\",time:\"\\xE0k\\xF3k\\xF2 ISO\",duration:\"\\xE0k\\xF3k\\xF2 t\\xF3 p\\xE9 ISO\",ipv4:\"\\xE0d\\xEDr\\u1EB9\\u0301s\\xEC IPv4\",ipv6:\"\\xE0d\\xEDr\\u1EB9\\u0301s\\xEC IPv6\",mac:\"\\xE0d\\xEDr\\u1EB9\\u0301s\\xEC MAC\",cidrv4:\"\\xE0gb\\xE8gb\\xE8 IPv4\",cidrv6:\"\\xE0gb\\xE8gb\\xE8 IPv6\",base64:\"\\u1ECD\\u0300r\\u1ECD\\u0300 t\\xED a k\\u1ECD\\u0301 n\\xED base64\",base64url:\"\\u1ECD\\u0300r\\u1ECD\\u0300 base64url\",json_string:\"\\u1ECD\\u0300r\\u1ECD\\u0300 JSON\",e164:\"n\\u1ECD\\u0301mb\\xE0 E.164\",credit_card:\"n\\u1ECDmba kaadi gbese\",currency_code:\"koodu ow\\xF3\",iban:\"IBAN\",jwt:\"JWT\",template_literal:\"\\u1EB9\\u0300r\\u1ECD \\xECb\\xE1w\\u1ECDl\\xE9\"},o={nan:\"NaN\",number:\"n\\u1ECD\\u0301mb\\xE0\",array:\"akop\\u1ECD\"};return r=>{switch(r.code){case\"invalid_type\":{let i=o[r.expected]??r.expected,a=k(r.input),s=o[a]??a;return/^[A-Z]/.test(r.expected)?`\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e: a n\\xED l\\xE1ti fi instanceof ${r.expected}, \\xE0m\\u1ECD\\u0300 a r\\xED ${s}`:`\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e: a n\\xED l\\xE1ti fi ${i}, \\xE0m\\u1ECD\\u0300 a r\\xED ${s}`}case\"invalid_value\":return r.values.length===1?`\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e: a n\\xED l\\xE1ti fi ${w(r.values[0])}`:`\\xC0\\u1E63\\xE0y\\xE0n a\\u1E63\\xEC\\u1E63e: yan \\u1ECD\\u0300kan l\\xE1ra ${S(r.values,\"|\")}`;case\"too_big\":{let i=r.inclusive?\"<=\":\"<\",a=t(r.origin);return a?`T\\xF3 p\\u1ECD\\u0300 j\\xF9: a n\\xED l\\xE1ti j\\u1EB9\\u0301 p\\xE9 ${r.origin??\"iye\"} ${a.verb} ${i}${r.maximum} ${a.unit}`:`T\\xF3 p\\u1ECD\\u0300 j\\xF9: a n\\xED l\\xE1ti j\\u1EB9\\u0301 ${i}${r.maximum}`}case\"too_small\":{let i=r.inclusive?\">=\":\">\",a=t(r.origin);return a?`K\\xE9r\\xE9 ju: a n\\xED l\\xE1ti j\\u1EB9\\u0301 p\\xE9 ${r.origin} ${a.verb} ${i}${r.minimum} ${a.unit}`:`K\\xE9r\\xE9 ju: a n\\xED l\\xE1ti j\\u1EB9\\u0301 ${i}${r.minimum}`}case\"invalid_format\":{let i=r;return i.format===\"starts_with\"?`\\u1ECC\\u0300r\\u1ECD\\u0300 a\\u1E63\\xEC\\u1E63e: gb\\u1ECD\\u0301d\\u1ECD\\u0300 b\\u1EB9\\u0300r\\u1EB9\\u0300 p\\u1EB9\\u0300l\\xFA \"${i.prefix}\"`:i.format===\"ends_with\"?`\\u1ECC\\u0300r\\u1ECD\\u0300 a\\u1E63\\xEC\\u1E63e: gb\\u1ECD\\u0301d\\u1ECD\\u0300 par\\xED p\\u1EB9\\u0300l\\xFA \"${i.suffix}\"`:i.format===\"includes\"?`\\u1ECC\\u0300r\\u1ECD\\u0300 a\\u1E63\\xEC\\u1E63e: gb\\u1ECD\\u0301d\\u1ECD\\u0300 n\\xED \"${i.includes}\"`:i.format===\"regex\"?`\\u1ECC\\u0300r\\u1ECD\\u0300 a\\u1E63\\xEC\\u1E63e: gb\\u1ECD\\u0301d\\u1ECD\\u0300 b\\xE1 \\xE0p\\u1EB9\\u1EB9r\\u1EB9 mu ${i.pattern}`:`A\\u1E63\\xEC\\u1E63e: ${n[i.format]??r.format}`}case\"not_multiple_of\":return`N\\u1ECD\\u0301mb\\xE0 a\\u1E63\\xEC\\u1E63e: gb\\u1ECD\\u0301d\\u1ECD\\u0300 j\\u1EB9\\u0301 \\xE8y\\xE0 p\\xEDp\\xEDn ti ${r.divisor}`;case\"unrecognized_keys\":return`B\\u1ECDt\\xECn\\xEC \\xE0\\xECm\\u1ECD\\u0300: ${S(r.keys,\", \")}`;case\"invalid_key\":return`B\\u1ECDt\\xECn\\xEC a\\u1E63\\xEC\\u1E63e n\\xEDn\\xFA ${r.origin}`;case\"invalid_union\":return\"\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e\";case\"invalid_element\":return`Iye a\\u1E63\\xEC\\u1E63e n\\xEDn\\xFA ${r.origin}`;default:return\"\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e\"}}};function vS(){return{localeError:fk()}}var _S,cf=Symbol(\"ZodOutput\"),lf=Symbol(\"ZodInput\"),El=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){let o=n[0];return this._map.set(t,o),o&&typeof o==\"object\"&&\"id\"in o&&this._idmap.set(o.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let n=this._map.get(t);return n&&typeof n==\"object\"&&\"id\"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){let n=t._zod.parent;if(n){let o={...this.get(n)??{}};delete o.id;let r={...o,...this._map.get(t)};return Object.keys(r).length?r:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function Ol(){return new El}(_S=globalThis).__zod_globalRegistry??(_S.__zod_globalRegistry=Ol());var ge=globalThis.__zod_globalRegistry;var Ie=Symbol.for(\"zod.compile.invalid\"),SS=Symbol.for(\"zod.compile.fallback\"),Xe=class extends Error{constructor(t=\"z.compile does not support async refinements, transforms, or checks\"){super(t),this.name=\"ZodCompileAsyncError\"}},B=class extends Error{constructor(t,n=!0){super(`z.compile does not support ${t}; this schema must use the runtime parser`),this.name=\"ZodCompileUnsupportedError\",this.islandable=n}};function gk(e,t){try{return Nl(e,{assertOnly:!0})}catch{return t}}function pf(e,t){try{let n=Nl(e),o=Cl(e,n);return o._zod.bag.validator=gk(e,n),o}catch(n){if(t?.strict)throw n;return e}}function Cl(e,t){if(xl(e))throw new B(\"a schema whose subtree contains a reference cycle\");let n=Y(e),o=e._zod.run,r=o.__originalRun??o,i=(a,s)=>{if(s?.async||s?.direction===\"backward\"||s?.skipChecks||s?.[SS]||s&&Il(s,a.value))return r(a,s);let c=t(a.value);return c!==Ie?(a.value=c,a):(s&&(s[SS]=!0),r(a,s))};return i.__originalRun=r,n._zod.bag.fallbackRun=r,n._zod.bag.validator=t,n._zod.run=i,o.__originalRun||vk(n,e,t),n}function vk(e,t,n){let o=e,r=t;if(typeof r.safeParse==\"function\"){let i=r.safeParse;o.safeParse=(a,s)=>{let c=n(a);return c!==Ie?{success:!0,data:c}:i(a,s)}}if(typeof r.parse==\"function\"){let i=r.parse;o.parse=(a,s)=>{let c=n(a);return c!==Ie?c:i(a,s)}}}function Nl(e,t){let n=!0;try{n=xl(e)}catch{}if(n)throw new B(\"a schema whose subtree contains a reference cycle\");let o={constants:new Map,constantCounter:0,varCounter:0,definite:!0},r=new $r([\"input\"]),i=re(r,o,e,\"input\",!t?.assertOnly);r.write(i===null?\"return true;\":`return ${i};`);let a=[\"INVALID\",...o.constants.keys()],s=[Ie,...o.constants.values()],c=r.content.join(`\n`),l=t?.debug?a.length>0?`// Constants: ${a.join(\", \")}\n${c}`:c:\"\",d=Function,p=`return (input) => {\n${c}\n}`,f;try{f=new d(...a,p)(...s)}catch(g){throw new B(`this schema (generated code failed to evaluate: ${g.message})`)}return t?.debug&&(f.code=l),f.definite=o.definite,f}function V(e,t){for(let[o,r]of e.constants)if(r===t)return o;let n=`c${e.constantCounter++}`;return e.constants.set(n,t),n}function xr(e,t){return e.definite=!1,V(e,t)}function q(e){return`v${e.varCounter++}`}function _k(e,t){let n=e._zod.run({value:t,issues:[]},{});if(n&&typeof n.then==\"function\")return Ie;let o=n;return o.issues.length===0?o.value:Ie}function $e(e,t,n,o,r=!0){let i=e.content.length,a=t.constants.size,s=t.constantCounter,c=t.varCounter;try{return re(e,t,n,o,r)}catch(l){if(!(l instanceof B)||!l.islandable)throw l;if(e.content.length=i,t.constants.size>a){let d=Array.from(t.constants.keys()).slice(a);for(let p of d)t.constants.delete(p)}return t.constantCounter=s,t.varCounter=c,Sk(e,t,n,o)}}function Sk(e,t,n,o){t.definite=!1;let r=V(t,n),i=V(t,_k),a=q(t);return e.write(`const ${a} = ${i}(${r}, ${o});`),e.write(`if (${a} === INVALID) return INVALID;`),a}var yk=new Set([\"max_size\",\"min_size\",\"size_equals\",\"max_length\",\"min_length\",\"length_equals\"]);function bk(e,t,n,o){let r=n._zod.def.checks;if(!r||r.length===0)return o;let i=o;for(let a of r){let s=a._zod.def;if(s.when&&!yk.has(s.check))throw new B('check with a custom \"when\" condition');switch(s.check){case\"greater_than\":$k(e,t,s,i);break;case\"less_than\":zk(e,t,s,i);break;case\"multiple_of\":wk(e,t,s,i);break;case\"number_format\":kS(e,s,i);break;case\"min_length\":{let c=wr(s.minimum,\"min_length\"),l=uf(e,t,i,`${i}.length >= ${c} && ${i}.length < ${s.minimum*2}`);e.write(`if (${l} < ${c}) return INVALID;`);break}case\"max_length\":{let c=wr(s.maximum,\"max_length\"),l=uf(e,t,i,`${i}.length > ${c}`);e.write(`if (${l} > ${c}) return INVALID;`);break}case\"length_equals\":{let c=wr(s.length,\"length_equals\"),l=uf(e,t,i,`${i}.length >= ${c} && ${i}.length <= ${s.length*2}`);e.write(`if (${l} !== ${c}) return INVALID;`);break}case\"min_size\":e.write(`if (${i}.size < ${wr(s.minimum,\"min_size\")}) return INVALID;`);break;case\"max_size\":e.write(`if (${i}.size > ${wr(s.maximum,\"max_size\")}) return INVALID;`);break;case\"size_equals\":e.write(`if (${i}.size !== ${wr(s.size,\"size_equals\")}) return INVALID;`);break;case\"string_format\":i=xS(e,t,s,i);break;case\"custom\":i=Tk(e,t,a,i);break;case\"bigint_format\":kk(e,s,i);break;case\"mime_type\":xk(e,t,s,i);break;case\"property\":Rk(e,t,s,i);break;case\"properties\":Ik(e,t,s,i);break;case\"overwrite\":{let c=q(t);Pk(e,t,a,i,c),i=c;break}default:throw new B(`check type ${s.check}`)}}return i}function uf(e,t,n,o){let r=V(t,yr),i=q(t);return e.write(`const ${i} = typeof ${n} === \"string\" && ${o} ? ${r}(${n}) : ${n}.length;`),i}function wr(e,t){if(typeof e!=\"number\"||!Number.isFinite(e))throw new B(`${t} bound of type ${typeof e}`);return`${e}`}function wS(e,t){if(typeof t==\"bigint\")return`${t}n`;if(typeof t==\"number\"){if(Number.isNaN(t))throw new B(\"comparison check with NaN bound\");return`${t}`}if(t instanceof Date){if(Number.isNaN(t.getTime()))throw new B(\"comparison check with Invalid Date bound\");return V(e,t)}throw new B(`comparison check bound of type ${typeof t}`)}function $k(e,t,n,o){let r=n.inclusive?\"<\":\"<=\";e.write(`if (${o} ${r} ${wS(t,n.value)}) return INVALID;`)}function zk(e,t,n,o){let r=n.inclusive?\">\":\">=\";e.write(`if (${o} ${r} ${wS(t,n.value)}) return INVALID;`)}function wk(e,t,n,o){if(typeof n.value==\"bigint\"){if(n.value===BigInt(0))throw new B(\"multiple_of check with a zero divisor\");e.write(`if (${o} % ${n.value}n !== 0n) return INVALID;`)}else{let r=V(t,ko);e.write(`if (${r}(${o}, ${wr(n.value,\"multiple_of\")}) !== 0) return INVALID;`)}}function kS(e,t,n){let o=t.format;switch(o){case\"safeint\":e.write(`if (!Number.isSafeInteger(${n})) return INVALID;`);break;case\"int32\":e.write(`if (!Number.isInteger(${n}) || ${n} < -2147483648 || ${n} > 2147483647) return INVALID;`);break;case\"uint32\":e.write(`if (!Number.isInteger(${n}) || ${n} < 0 || ${n} > 4294967295) return INVALID;`);break;case\"float32\":e.write(`if (!Number.isFinite(${n}) || ${n} < -3.4028234663852886e38 || ${n} > 3.4028234663852886e38) return INVALID;`);break;case\"float64\":e.write(`if (!Number.isFinite(${n})) return INVALID;`);break;default:throw new B(`number format ${o}`)}}function kk(e,t,n){let o=t.format;if(o)switch(o){case\"int64\":e.write(`if (${n} < -9223372036854775808n || ${n} > 9223372036854775807n) return INVALID;`);break;case\"uint64\":e.write(`if (${n} < 0n || ${n} > 18446744073709551615n) return INVALID;`);break;default:throw new B(`bigint format ${o}`)}}function xk(e,t,n,o){let r=n.mime;if(r&&r.length>0){let i=V(t,new Set(r));e.write(`if (!${i}.has(${o}.type)) return INVALID;`)}}function Ik(e,t,n,o){if(n.when)throw new B('check with a custom \"when\" condition');e.write(`if (${o} == null) return INVALID;`);let r=n.shape;for(let i of Reflect.ownKeys(r)){let a=typeof i==\"symbol\"?V(t,i):ke(i),s=q(t);e.write(`const ${s} = ${o}[${a}];`),$e(e,t,r[i],s,!1)}}function Rk(e,t,n,o){let r=`${o}[${JSON.stringify(n.property)}]`;re(e,t,n.schema,r)}function Pk(e,t,n,o,r){let i=n._zod.def.tx;if(!i)throw new B(\"overwrite check without a transform function\");if(Ir(i))throw new Xe(\"z.compile: async overwrite transforms are not supported\");let a=V(t,i);e.write(`const ${r} = ${a}(${o});`)}function df(){throw new Ce}function ff(e){this.issues.push(e)}function Tk(e,t,n,o){let r=n._zod.def;if(r.fn){if(Ir(r.fn))throw new Xe(\"z.compile: async .refine() predicates are not supported\");let i=xr(t,r.fn),a=V(t,df),s=q(t);return e.write(`const ${s} = ${i}(${o});`),e.write(`if (${s} instanceof Promise) ${a}();`),e.write(`if (!${s}) return INVALID;`),o}if(n._zod.check){if(Ir(n._zod.check))throw new Xe(\"z.compile: async .superRefine() / check functions are not supported\");let i=n._zod.check,s=xr(t,l=>{let d={value:l,issues:[],addIssue:ff};return i(d)instanceof Promise&&df(),d.issues.length===0?d.value:Ie}),c=q(t);return e.write(`const ${c} = ${s}(${o});`),e.write(`if (${c} === INVALID) return INVALID;`),c}throw new B(\"custom check without a predicate or check function\")}var Ek=new Set([\"cidrv4\",\"cuid\",\"cuid2\",\"date\",\"datetime\",\"duration\",\"e164\",\"email\",\"emoji\",\"ends_with\",\"guid\",\"includes\",\"ipv4\",\"ksuid\",\"lowercase\",\"mac\",\"nanoid\",\"regex\",\"starts_with\",\"time\",\"ulid\",\"uppercase\",\"uuid\",\"xid\"]);function xS(e,t,n,o,r=!0){let i=n.format;if(i===\"base64\"){let l=V(t,Jo);return e.write(`if (!${l}(${o})) return INVALID;`),o}if(i===\"base64url\"){let l=V(t,pl);return e.write(`if (!${l}(${o})) return INVALID;`),o}if(i===\"jwt\"){let l=V(t,gl),d=V(t,n.alg??null);return e.write(`if (!${l}(${o}, ${d})) return INVALID;`),o}if(i===\"ipv6\"){let l=V(t,Fo);return e.write(`if (!${l}(${o})) return INVALID;`),o}if(i===\"cidrv6\"){let l=V(t,dl);return e.write(`if (!${l}(${o})) return INVALID;`),o}if(i===\"credit_card\"){let l=V(t,fl);return e.write(`if (!${l}(${o})) return INVALID;`),o}if(i===\"iban\"){let l=V(t,hl);return e.write(`if (!${l}(${o})) return INVALID;`),o}let a=n;if(i===\"url\"||i===\"httpurl\"||a.normalize||a.hostname!==void 0||a.protocol!==void 0){let l=V(t,cl),d=V(t,n),p=q(t),f=q(t);if(e.write(`const ${p} = ${o}.trim();`),e.write(`const ${f} = ${l}(${p}, ${d});`),e.write(`if (typeof ${f} === \"number\") return INVALID;`),a.hostname!==void 0){let b=V(t,ll);e.write(`if (!${b}(${f}, ${d}.hostname)) return INVALID;`)}if(a.protocol!==void 0){let b=V(t,ul);e.write(`if (!${b}(${f}, ${d}.protocol)) return INVALID;`)}if(!r)return null;let g=q(t),_=a.normalize?`${f}.href`:`${V(t,Zo)}(${p})`;return e.write(`const ${g} = ${_};`),g}let s=n.fn;if(s){if(Ir(s))throw new B(`async string format ${i}`);let l=V(t,s);return e.write(`if (!${l}(${o})) return INVALID;`),o}if(Ek.has(i)&&n.pattern){let l=V(t,n.pattern);return e.write(`${l}.lastIndex = 0;`),e.write(`if (!${l}.test(${o})) return INVALID;`),o}let c=n.format;switch(c){case\"regex\":throw new B(\"regex format without a pattern\");case\"lowercase\":e.write(`if (${o} !== ${o}.toLowerCase()) return INVALID;`);break;case\"uppercase\":e.write(`if (${o} !== ${o}.toUpperCase()) return INVALID;`);break;case\"includes\":e.write(`if (!${o}.includes(${ke(n.includes)})) return INVALID;`);break;case\"starts_with\":{let l=n.prefix;e.write(`if (${o}.slice(0, ${l.length}) !== ${ke(l)}) return INVALID;`);break}case\"ends_with\":{let l=n.suffix;e.write(`if (${o}.slice(-${l.length}) !== ${ke(l)}) return INVALID;`);break}default:throw new B(`string format ${c}`)}return o}function re(e,t,n,o,r=!0){let i=n._zod.def,a=i.type;if(i.coerce)throw new B(`coercion (z.coerce.${a}())`);let s=r||!!i.checks?.length,c;switch(a){case\"string\":c=Ok(e,t,n,o,s);break;case\"number\":c=Ck(e,n,o);break;case\"boolean\":c=Nk(e,o);break;case\"bigint\":c=jk(e,n,o);break;case\"symbol\":c=Ak(e,o);break;case\"undefined\":c=Uk(e,o);break;case\"null\":c=Dk(e,o);break;case\"any\":case\"unknown\":c=o;break;case\"never\":e.write(\"return INVALID;\"),c=o;break;case\"void\":c=Mk(e,o);break;case\"nan\":c=qk(e,o);break;case\"date\":c=Lk(e,o);break;case\"object\":c=Vk(e,t,n,o,s);break;case\"optional\":c=Zk(e,t,n,o,s);break;case\"nullable\":c=Hk(e,t,n,o,s);break;case\"array\":c=Bk(e,t,n,o,s);break;case\"literal\":c=Kk(e,t,n,o);break;case\"enum\":c=Gk(e,t,n,o);break;case\"readonly\":{let l=bS(e,t,n,o),d=q(t);e.write(`const ${d} = Object.freeze(${l});`),c=d;break}case\"success\":bS(e,t,n,o),c=\"true\";break;case\"default\":case\"prefault\":c=Wk(e,t,n,o);break;case\"nonoptional\":c=Yk(e,t,n,o);break;case\"tuple\":c=Xk(e,t,n,o);break;case\"union\":c=Qk(e,t,n,o);break;case\"intersection\":c=rx(e,t,n,o);break;case\"record\":c=nx(e,t,n,o);break;case\"map\":c=ox(e,t,n,o);break;case\"set\":c=ax(e,t,n,o);break;case\"file\":c=sx(e,o);break;case\"template_literal\":c=cx(e,t,n,o);break;case\"lazy\":c=lx(e,t,n,o);break;case\"pipe\":c=ux(e,t,n,o);break;case\"custom\":c=dx(e,t,n,o);break;case\"transform\":c=fx(e,t,n,o);break;case\"catch\":c=px(e,t,n,o);break;default:throw new B(`schema type ${a}`)}return c===null?null:bk(e,t,n,c)}function Ok(e,t,n,o,r=!0){e.write(`if (typeof ${o} !== \"string\") return INVALID;`);let i=n._zod.def;return i.format===void 0?o:xS(e,t,i,o,r)}function Ck(e,t,n){e.write(`if (typeof ${n} !== \"number\" || !Number.isFinite(${n})) return INVALID;`);let o=t._zod.def;return o.check===\"number_format\"&&o.format&&kS(e,{format:o.format},n),n}function Nk(e,t){return e.write(`if (typeof ${t} !== \"boolean\") return INVALID;`),t}function jk(e,t,n){e.write(`if (typeof ${n} !== \"bigint\") return INVALID;`);let o=t._zod.def;if(o.format)switch(o.format){case\"int64\":e.write(`if (${n} < -9223372036854775808n || ${n} > 9223372036854775807n) return INVALID;`);break;case\"uint64\":e.write(`if (${n} < 0n || ${n} > 18446744073709551615n) return INVALID;`);break}return n}function Ak(e,t){return e.write(`if (typeof ${t} !== \"symbol\") return INVALID;`),t}function Uk(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function Dk(e,t){return e.write(`if (${t} !== null) return INVALID;`),t}function Mk(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function qk(e,t){return e.write(`if (typeof ${t} !== \"number\" || !Number.isNaN(${t})) return INVALID;`),t}function Lk(e,t){return e.write(`if (!(${t} instanceof Date) || Number.isNaN(${t}.getTime())) return INVALID;`),t}function Vk(e,t,n,o,r=!0){let i=n._zod.def;e.write(`if (typeof ${o} !== \"object\" || ${o} === null || Array.isArray(${o})) return INVALID;`);let a=i.shape,s=Object.keys(a),c=Object.getOwnPropertySymbols(a),l=c.length?[...s,...c]:s,d=P=>typeof P==\"symbol\"?V(t,P):ke(P),p=P=>typeof P==\"symbol\"?`[${d(P)}]`:ke(P),f=a;if(s.includes(\"__proto__\"))throw new B('object shape key \"__proto__\"');let g=new Map;for(let P of l){let U=f[P],J=d(P),G=q(t);if(e.write(`const ${G} = ${o}[${J}];`),U._zod.optin!==void 0){let D=q(t);e.write(`let ${D} = (() => {`),e.indented(W=>{let Ae=$e(W,t,U,G);W.write(`return ${Ae};`)}),e.write(\"})();\"),U._zod.optout===\"optional\"?(e.write(`if (${D} === INVALID) {`),e.indented(W=>{W.write(`if (${J} in ${o}) return INVALID;`),W.write(`${D} = undefined;`)}),e.write(\"}\")):e.write(`if (${D} === INVALID) return INVALID;`),g.set(P,D)}else{Jk(U)&&e.write(`if (!(${J} in ${o})) return INVALID;`);let D=$e(e,t,U,G,r);D!==null&&g.set(P,D)}}let _=i.catchall,b=\"none\";if(_){let P=_._zod.def.type;if(P===\"never\"){let U=s.map(J=>`k !== ${ke(J)}`).join(\" && \")||\"true\";e.write(`for (const k in ${o}) {`),e.indented(J=>{J.write(`if (${U}) return INVALID;`)}),e.write(\"}\")}else(P===\"unknown\"||P===\"any\")&&!_._zod.def.checks?.length?b=\"passthrough\":b=\"schema\"}let x=q(t),O=l.some(P=>yS(f[P])||mf(f[P]));if(!r){if(b===\"schema\"){let P=s.length>0?V(t,new Set(s)):null;e.write(`for (const k in ${o}) {`),e.indented(U=>{U.write('if (k === \"__proto__\") continue;'),P&&U.write(`if (${P}.has(k)) continue;`);let J=q(t);U.write(`const ${J} = ${o}[k];`),$e(U,t,_,J,!1)}),e.write(\"}\")}return null}if(O){e.write(`const ${x} = {};`);for(let P of l){let U=d(P),J=g.get(P);mf(f[P])?e.write(`if (${U} in ${o}) ${x}[${U}] = ${J};`):yS(f[P])?e.write(`if (${J} !== undefined || ${U} in ${o}) ${x}[${U}] = ${J};`):e.write(`${x}[${U}] = ${J};`)}}else{let P=l.map(U=>`${p(U)}: ${g.get(U)}`).join(\", \");e.write(`const ${x} = { ${P} };`)}if(b!==\"none\"){let P=s.length>0?V(t,new Set(s)):null;e.write(`for (const k in ${o}) {`),e.indented(U=>{if(U.write('if (k === \"__proto__\") continue;'),P&&U.write(`if (${P}.has(k)) continue;`),b===\"passthrough\")U.write(`${x}[k] = ${o}[k];`);else{let J=q(t);U.write(`const ${J} = ${o}[k];`);let G=$e(U,t,_,J);U.write(`${x}[k] = ${G};`)}}),e.write(\"}\")}return x}function Zk(e,t,n,o,r=!0){let i=n._zod.def;if(Fk(n))return re(e,t,i.innerType,o,r);if(i.innerType._zod.optin===\"defaulted\"){let s=q(t),c=q(t);return e.write(`let ${s};`),e.write(`if (${o} === undefined) {`),e.indented(l=>{l.write(`const ${c} = (() => {`),l.indented(d=>{let p=re(d,t,i.innerType,o);d.write(`return ${p};`)}),l.write(\"})();\"),l.write(`if (${c} !== INVALID) ${s} = ${c};`)}),e.write(\"} else {\"),e.indented(l=>{let d=re(l,t,i.innerType,o);l.write(`${s} = ${d};`)}),e.write(\"}\"),s}let a=r?q(t):null;return a&&e.write(`let ${a};`),e.write(`if (${o} !== undefined) {`),e.indented(s=>{let c=re(s,t,i.innerType,o,r);a&&c!==null&&s.write(`${a} = ${c};`)}),e.write(\"}\"),a}function Fk(e){return e._zod.traits?.has(\"$ZodExactOptional\")===!0}function Jk(e){return e._zod.optin===void 0&&kr(e)}function kr(e){if(e._zod.def.coerce)return!0;let t=e._zod.def;switch(t.type){case\"any\":case\"unknown\":case\"undefined\":case\"void\":case\"default\":case\"prefault\":case\"transform\":case\"custom\":case\"lazy\":return!0;case\"string\":case\"number\":case\"boolean\":case\"bigint\":case\"symbol\":case\"null\":case\"never\":case\"nan\":case\"date\":case\"object\":case\"array\":case\"tuple\":case\"record\":case\"map\":case\"set\":case\"file\":case\"template_literal\":return!1;case\"nonoptional\":return t.innerType?kr(t.innerType):!1;case\"literal\":return!!t.values?.includes(void 0);case\"enum\":return!!e._zod.values?.has(void 0);case\"optional\":case\"nullable\":case\"readonly\":case\"success\":return t.innerType?kr(t.innerType):!0;case\"catch\":return!0;case\"union\":return t.options?t.options.some(kr):!0;case\"intersection\":return!t.left||!t.right?!0:kr(t.left)&&kr(t.right);case\"pipe\":return t.in?kr(t.in):!0;default:return!0}}function mf(e){return e._zod.optin===\"optional\"&&e._zod.optout===\"optional\"}function yS(e){return(e._zod.optin!==\"defaulted\"||e._zod.optout===\"optional\")&&En(e)}function En(e){let t=e._zod.def;switch(t.type){case\"string\":case\"number\":case\"boolean\":case\"bigint\":case\"symbol\":case\"null\":case\"nan\":case\"date\":case\"object\":case\"array\":case\"tuple\":case\"record\":case\"map\":case\"set\":case\"file\":case\"template_literal\":case\"never\":case\"success\":return!1;case\"literal\":return!!t.values?.includes(void 0);case\"enum\":return!!e._zod.values?.has(void 0);case\"optional\":return!0;case\"nullable\":case\"readonly\":case\"nonoptional\":return t.innerType?En(t.innerType):!0;case\"union\":return t.options?t.options.some(En):!0;case\"intersection\":return!t.left||!t.right||En(t.left)||En(t.right);case\"pipe\":return t.out?En(t.out):!0;default:return!0}}function Hk(e,t,n,o,r=!0){let i=n._zod.def,a=r?q(t):null;return a&&e.write(`let ${a} = null;`),e.write(`if (${o} !== null) {`),e.indented(s=>{let c=re(s,t,i.innerType,o,r);a&&c!==null&&s.write(`${a} = ${c};`)}),e.write(\"}\"),a}function Bk(e,t,n,o,r=!0){let i=n._zod.def;e.write(`if (!Array.isArray(${o})) return INVALID;`);let a=r?q(t):null,s=q(t),c=q(t);return a&&e.write(`const ${a} = new Array(${o}.length);`),e.write(`for (let ${s} = 0; ${s} < ${o}.length; ${s}++) {`),e.indented(l=>{l.write(`const ${c} = ${o}[${s}];`);let d=$e(l,t,i.element,c,r);a&&d!==null&&l.write(`${a}[${s}] = ${d};`)}),e.write(\"}\"),a}function Kk(e,t,n,o){let i=n._zod.def.values;if(i.length!==1){let s=V(t,new Set(i));return e.write(`if (!${s}.has(${o})) return INVALID;`),o}let a=i[0];if(typeof a==\"number\"&&Number.isNaN(a)){let s=V(t,new Set(i));return e.write(`if (!${s}.has(${o})) return INVALID;`),o}if(typeof a==\"string\")e.write(`if (${o} !== ${ke(a)}) return INVALID;`);else if(typeof a==\"number\"||typeof a==\"boolean\")e.write(`if (${o} !== ${a}) return INVALID;`);else if(a===null)e.write(`if (${o} !== null) return INVALID;`);else if(a===void 0)e.write(`if (${o} !== undefined) return INVALID;`);else if(typeof a==\"bigint\")e.write(`if (${o} !== ${a}n) return INVALID;`);else throw new B(`literal type ${typeof a}`);return o}function Gk(e,t,n,o){let r=n._zod.values;if(!r)throw new B(\"enum schema without enumerated values\");let i=V(t,r);return e.write(`if (!${i}.has(${o})) return INVALID;`),o}function bS(e,t,n,o){let r=n._zod.def;return re(e,t,r.innerType,o)}function Wk(e,t,n,o){let r=n._zod.def,a=Object.getOwnPropertyDescriptor(n._zod.def,\"defaultValue\")?()=>n._zod.def.defaultValue:void 0;if(n._zod.def.type===\"prefault\"){if(!a)return re(e,t,r.innerType,o);let c=V(t,a),l=q(t);return e.write(`let ${l} = ${o};`),e.write(`if (${o} === undefined) ${l} = ${c}();`),re(e,t,r.innerType,l)}let s=q(t);if(a){let c=V(t,a),l=V(t,xo);e.write(`let ${s};`),e.write(`if (${o} === undefined) {`),e.indented(d=>{d.write(`${s} = ${l}(${c}());`)}),e.write(\"} else {\"),e.indented(d=>{let p=re(d,t,r.innerType,o);d.write(`${s} = ${p} === undefined ? ${l}(${c}()) : ${p};`)}),e.write(\"}\")}else e.write(`let ${s};`),e.write(`if (${o} !== undefined) {`),e.indented(c=>{let l=re(c,t,r.innerType,o);c.write(`${s} = ${l};`)}),e.write(\"}\");return s}function Yk(e,t,n,o){let r=n._zod.def,i=re(e,t,r.innerType,o),a=q(t);return e.write(`const ${a} = ${i};`),e.write(`if (${a} === undefined) return INVALID;`),a}function Xk(e,t,n,o){let r=n._zod.def,i=r.items,a=r.rest;e.write(`if (!Array.isArray(${o})) return INVALID;`);let s=$S(i,\"optin\"),c=$S(i,\"optout\");a?e.write(`if (${o}.length < ${s}) return INVALID;`):e.write(`if (${o}.length < ${s} || ${o}.length > ${i.length}) return INVALID;`);let l=q(t);e.write(`const ${l} = [];`);for(let d=0;d<i.length;d++){let p=i[d];if(d>=c)e.write(`if (${l}.length === ${d}) {`),e.indented(f=>{f.write(`if (${d} < ${o}.length) {`),f.indented(g=>{let _=q(t);g.write(`const ${_} = ${o}[${d}];`);let b=$e(g,t,p,_);g.write(`${l}[${d}] = ${b};`)}),f.write(\"} else {\"),f.indented(g=>{if(mf(p)){g.write(`${l}.length = ${d};`);return}let _=q(t),b=q(t);g.write(`const ${_} = undefined;`),g.write(`const ${b} = (() => {`),g.indented(x=>{let O=$e(x,t,p,_);x.write(`return ${O};`)}),g.write(\"})();\"),g.write(`if (${b} === INVALID || ${b} === undefined) ${l}.length = ${d};`),g.write(`else ${l}[${d}] = ${b};`)}),f.write(\"}\")}),e.write(\"}\");else{let f=q(t);e.write(`const ${f} = ${o}[${d}];`);let g=$e(e,t,p,f);e.write(`${l}[${d}] = ${g};`)}}if(a){let d=q(t),p=q(t);e.write(`for (let ${d} = ${i.length}; ${d} < ${o}.length; ${d}++) {`),e.indented(f=>{f.write(`const ${p} = ${o}[${d}];`);let g=$e(f,t,a,p);f.write(`${l}[${d}] = ${g};`)}),e.write(\"}\")}return l}function $S(e,t){for(let n=e.length-1;n>=0;n--)if(!(t===\"optin\"?e[n]._zod.optin!==void 0:e[n]._zod.optout===\"optional\"))return n+1;return 0}function Qk(e,t,n,o){let r=n._zod.def,i=r.options;if(r.discriminator)return ex(e,t,r,o);if(r.inclusive===!1)throw new B(\"exclusive unions (z.xor)\");if(i.length===0)return e.write(\"return INVALID;\"),o;if(i.length===1)return re(e,t,i[0],o);if(i.every(c=>c._zod.def.type===\"literal\"&&!c._zod.def.checks?.length)){let c=new Set(i.flatMap(d=>d._zod.def.values)),l=V(t,c);return e.write(`if (!${l}.has(${o})) return INVALID;`),o}let s=q(t);e.write(`let ${s};`);for(let c=0;c<i.length;c++){let l=i[c];c===0?e.write(`${s} = (() => {`):e.write(`if (${s} === INVALID) ${s} = (() => {`),e.indented(d=>{let p=re(d,t,l,o);d.write(`return ${p};`)}),e.write(\"})();\")}return e.write(`if (${s} === INVALID) return INVALID;`),s}function ex(e,t,n,o){if(n.unionFallback)throw new B(\"discriminated union with unionFallback\");if(n.options.length===0)return e.write(\"return INVALID;\"),o;let r=q(t),i=q(t);e.write(`const ${r} = ${o}?.[${ke(n.discriminator)}];`),e.write(`let ${i};`);let a=!0,s=new Set;for(let c of n.options){let l=c._zod.propValues?.[n.discriminator];if(!l||l.size===0)throw new B(\"discriminated union option without static discriminator values\");for(let f of l){if(s.has(f))throw new B(`duplicate discriminator value ${String(f)}`);s.add(f)}let d=Array.from(l,f=>tx(t,r,f)),p=a?\"if\":\"else if\";e.write(`${p} (${d.join(\" || \")}) {`),e.indented(f=>{let g=re(f,t,c,o);f.write(`${i} = ${g};`)}),e.write(\"}\"),a=!1}return e.write(\"else { return INVALID; }\"),i}function tx(e,t,n){if(typeof n==\"string\")return`${t} === ${ke(n)}`;if(typeof n==\"number\")return Number.isNaN(n)?`Number.isNaN(${t})`:`${t} === ${n}`;if(typeof n==\"boolean\")return`${t} === ${n}`;if(n===null)return`${t} === null`;if(n===void 0)return`${t} === undefined`;if(typeof n==\"bigint\")return`${t} === ${n}n`;if(typeof n==\"symbol\"){let o=V(e,n);return`${t} === ${o}`}throw new B(`literal discriminator value ${String(n)}`)}function rx(e,t,n,o){let r=n._zod.def;t.definite=!1;let i=$e(e,t,r.left,o),a=$e(e,t,r.right,o),s=V(t,Rn),c=q(t);return e.write(`const ${c} = ${s}(${i}, ${a});`),e.write(`if (!${c}.valid) return INVALID;`),`${c}.data`}function nx(e,t,n,o){let r=n._zod.def,i=V(t,Je);e.write(`if (!${i}(${o})) return INVALID;`);let a=q(t),s=q(t),c=q(t);e.write(`const ${a} = {};`);let l=r,d=l.partial?void 0:r.keyType._zod.values;if(d){let g=[];for(let b of d){if(!(typeof b==\"string\"||typeof b==\"number\"||typeof b==\"symbol\"))throw new B(`record key value ${String(b)}`);let x=typeof b==\"number\"?b.toString():b;if(x===\"__proto__\")throw new B('record key \"__proto__\"');g.push(x);let O=V(t,b),P=re(e,t,r.keyType,O),U=q(t);e.write(`const ${U} = ${o}[${ix(t,x)}];`);let J=$e(e,t,r.valueType,U);e.write(`${a}[${P}] = ${J};`)}let _=V(t,new Set(g));return e.write(`for (const ${s} in ${o}) {`),e.indented(b=>{b.write(`if (${_}.has(${s})) continue;`),l.mode===\"loose\"?b.write(`if (${s} !== \"__proto__\") ${a}[${s}] = ${o}[${s}];`):b.write(\"return INVALID;\")}),e.write(\"}\"),a}let p=r.keyType._zod.def;if(!(p.type===\"string\"&&p.format===void 0&&!p.coerce&&(p.checks?.length??0)===0)){let g=r.mode===\"loose\",_=Nl(r.keyType);_.definite===!1&&(t.definite=!1);let b=V(t,_),x=V(t,yt),O=q(t);return zS(e,t,o,s,P=>{P.write(`let ${O} = ${b}(${s});`),P.write(`if (${O} === INVALID && typeof ${s} === \"string\" && ${x}.test(${s})) ${O} = ${b}(Number(${s}));`),g?P.write(`if (${O} === INVALID) { ${a}[${s}] = ${o}[${s}]; continue; }`):P.write(`if (${O} === INVALID) return INVALID;`),P.write(`if (${O} === \"__proto__\") continue;`);let U=q(t);P.write(`const ${U} = ${o}[${s}];`);let J=$e(P,t,r.valueType,U);P.write(`${a}[${O}] = ${J};`)}),a}return zS(e,t,o,s,g=>{g.write(`const ${c} = ${o}[${s}];`);let _=$e(g,t,r.valueType,c);g.write(`${a}[${s}] = ${_};`)},\"return INVALID;\"),a}function zS(e,t,n,o,r,i){let a=V(t,Object.prototype.propertyIsEnumerable),s=q(t),c=q(t),l=q(t);e.write(`const ${s} = Object.getOwnPropertySymbols(${n});`),e.write(`const ${c} = Object.getOwnPropertyNames(${n});`),e.write(`for (let ${l} = 0; ${l} < ${c}.length; ${l}++) {`),e.indented(d=>{d.write(`const ${o} = ${c}[${l}];`),d.write(`if (${o} === \"__proto__\" || !${a}.call(${n}, ${o})) continue;`),r(d)}),e.write(\"}\"),e.write(`for (let ${l} = 0; ${l} < ${s}.length; ${l}++) {`),e.indented(d=>{d.write(`const ${o} = ${s}[${l}];`),d.write(`if (!${a}.call(${n}, ${o})) continue;`),i?d.write(i):r(d)}),e.write(\"}\")}function ix(e,t){return typeof t==\"string\"?ke(t):V(e,t)}function ox(e,t,n,o){let r=n._zod.def;e.write(`if (!(${o} instanceof Map)) return INVALID;`);let i=q(t),a=q(t),s=q(t);return e.write(`const ${i} = new Map();`),e.write(`for (const [${a}, ${s}] of ${o}) {`),e.indented(c=>{let l=re(c,t,r.keyType,a),d=re(c,t,r.valueType,s);c.write(`${i}.set(${l}, ${d});`)}),e.write(\"}\"),i}function ax(e,t,n,o){let r=n._zod.def;e.write(`if (!(${o} instanceof Set)) return INVALID;`);let i=q(t),a=q(t);return e.write(`const ${i} = new Set();`),e.write(`for (const ${a} of ${o}) {`),e.indented(s=>{let c=re(s,t,r.valueType,a);s.write(`${i}.add(${c});`)}),e.write(\"}\"),i}function sx(e,t){return e.write(`if (!(${t} instanceof File)) return INVALID;`),t}function cx(e,t,n,o){e.write(`if (typeof ${o} !== \"string\") return INVALID;`);let r=n._zod.pattern;if(r){let i=V(t,r);e.write(`${i}.lastIndex = 0;`),e.write(`if (!${i}.test(${o})) return INVALID;`)}return o}function lx(e,t,n,o){let r=n._zod.def,i=xr(t,r.getter),a=V(t,{parser:null});e.write(`if (!${a}.parser) {`),e.indented(c=>{c.write(`const inner = ${i}();`),c.write(`${a}.parser = function(input) {`),c.indented(l=>{l.write(\"const result = inner._zod.run({ value: input, issues: [] }, {});\"),l.write(\"return result.issues.length === 0 ? result.value : INVALID;\")}),c.write(\"};\")}),e.write(\"}\");let s=q(t);return e.write(`const ${s} = ${a}.parser(${o});`),e.write(`if (${s} === INVALID) return INVALID;`),s}function ux(e,t,n,o){let r=n._zod.def,i=re(e,t,r.in,o);if(r.transform){if(Ir(r.transform))throw new Xe(\"z.compile: async transforms in pipes are not supported\");let a=r.transform,c=xr(t,d=>{let p={value:d,issues:[],addIssue:ff},f=a(d,p);return f instanceof Promise?Ie:p.issues.length===0?f:Ie}),l=q(t);return e.write(`const ${l} = ${c}(${i});`),e.write(`if (${l} === INVALID) return INVALID;`),re(e,t,r.out,l)}else return re(e,t,r.out,i)}function Ir(e){return typeof e==\"function\"&&(e.constructor.name===\"AsyncFunction\"||e[Symbol.toStringTag]===\"AsyncFunction\")}function dx(e,t,n,o){let r=n._zod.def;if(r.fn){if(Ir(r.fn))throw new Xe(\"z.compile: async custom predicates are not supported\");let i=xr(t,r.fn),a=V(t,df),s=q(t);e.write(`const ${s} = ${i}(${o});`),e.write(`if (${s} instanceof Promise) ${a}();`),e.write(`if (!${s}) return INVALID;`)}else throw new B(\"custom schema without a predicate function\");return o}function mx(e,t,n){let o=e._zod.run({value:n,issues:[]},{});if(o&&typeof o.then==\"function\")return Ie;let r=o;return r.issues.length===0?r.value:t()}function px(e,t,n,o){let r=n._zod.def;if(!r.catchValue[Mc])throw new B(\"catch with a callback (only a constant catch value compiles)\",!1);let i=q(t);e.write(`let ${i} = (() => {`),e.indented(l=>{let d=$e(l,t,r.innerType,o);l.write(`return ${d};`)}),e.write(\"})();\");let a=V(t,r.innerType),s=xr(t,r.catchValue),c=V(t,mx);return e.write(`if (${i} === INVALID) {`),e.indented(l=>{l.write(`${i} = ${c}(${a}, ${s}, ${o});`),l.write(`if (${i} === INVALID) return INVALID;`)}),e.write(\"}\"),i}function fx(e,t,n,o){let r=n._zod.def;if(r.transform){if(Ir(r.transform))throw new Xe(\"z.compile: async transforms are not supported\");let i=r.transform,s=xr(t,l=>{let d={value:l,issues:[],addIssue:ff},p=i(l,d);return p instanceof Promise?Ie:d.issues.length===0?p:Ie}),c=q(t);return e.write(`const ${c} = ${s}(${o});`),e.write(`if (${c} === INVALID) return INVALID;`),c}return o}function jl(e){return e.checks&&(e.checks=[...e.checks]),e}function hf(e,t){return new e(jl({type:\"string\",...R(t)}))}function gf(e,t){return new e(jl({type:\"string\",coerce:!0,...R(t)}))}function Al(e,t){return new e({type:\"string\",format:\"email\",check:\"string_format\",abort:!1,...R(t)})}function Ul(e,t){return new e({type:\"string\",format:\"guid\",check:\"string_format\",abort:!1,...R(t)})}function Dl(e,t){return new e({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,...R(t)})}function Ml(e,t){return new e({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,version:\"v4\",...R(t)})}function ql(e,t){return new e({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,version:\"v6\",...R(t)})}function Ll(e,t){return new e({type:\"string\",format:\"uuid\",check:\"string_format\",abort:!1,version:\"v7\",...R(t)})}function ra(e,t){return new e({type:\"string\",format:\"url\",check:\"string_format\",abort:!1,...R(t)})}function Vl(e,t){return new e({type:\"string\",format:\"emoji\",check:\"string_format\",abort:!1,...R(t)})}function Zl(e,t){return new e({type:\"string\",format:\"nanoid\",check:\"string_format\",abort:!1,...R(t)})}function Fl(e,t){return new e({type:\"string\",format:\"cuid\",check:\"string_format\",abort:!1,...R(t)})}function Jl(e,t){return new e({type:\"string\",format:\"cuid2\",check:\"string_format\",abort:!1,...R(t)})}function Hl(e,t){return new e({type:\"string\",format:\"ulid\",check:\"string_format\",abort:!1,...R(t)})}function Bl(e,t){return new e({type:\"string\",format:\"xid\",check:\"string_format\",abort:!1,...R(t)})}function Kl(e,t){return new e({type:\"string\",format:\"ksuid\",check:\"string_format\",abort:!1,...R(t)})}function Gl(e,t){return new e({type:\"string\",format:\"ipv4\",check:\"string_format\",abort:!1,...R(t)})}function Wl(e,t){return new e({type:\"string\",format:\"ipv6\",check:\"string_format\",abort:!1,...R(t)})}function vf(e,t){return new e({type:\"string\",format:\"mac\",check:\"string_format\",abort:!1,...R(t)})}function Yl(e,t){return new e({type:\"string\",format:\"cidrv4\",check:\"string_format\",abort:!1,...R(t)})}function Xl(e,t){return new e({type:\"string\",format:\"cidrv6\",check:\"string_format\",abort:!1,...R(t)})}function Ql(e,t){return new e({type:\"string\",format:\"base64\",check:\"string_format\",abort:!1,...R(t)})}function eu(e,t){return new e({type:\"string\",format:\"base64url\",check:\"string_format\",abort:!1,...R(t)})}function tu(e,t){return new e({type:\"string\",format:\"e164\",check:\"string_format\",abort:!1,...R(t)})}function _f(e,t){return new e({type:\"string\",format:\"credit_card\",check:\"string_format\",abort:!1,...R(t)})}function Sf(e,t){return new e({type:\"string\",format:\"iban\",check:\"string_format\",abort:!1,...R(t)})}function ru(e,t){return new e({type:\"string\",format:\"jwt\",check:\"string_format\",abort:!1,...R(t)})}var yf={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function na(e,t){return new e({type:\"string\",format:\"datetime\",check:\"string_format\",offset:!1,local:!1,precision:null,...R(t)})}function ia(e,t){return new e({type:\"string\",format:\"date\",check:\"string_format\",...R(t)})}function oa(e,t){return new e({type:\"string\",format:\"time\",check:\"string_format\",precision:null,...R(t)})}function aa(e,t){return new e({type:\"string\",format:\"duration\",check:\"string_format\",...R(t)})}function bf(e,t){return new e(jl({type:\"number\",checks:[],...R(t)}))}function $f(e,t){return new e(jl({type:\"number\",coerce:!0,checks:[],...R(t)}))}function zf(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"safeint\",...R(t)})}function wf(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"float32\",...R(t)})}function kf(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"float64\",...R(t)})}function xf(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"int32\",...R(t)})}function If(e,t){return new e({type:\"number\",check:\"number_format\",abort:!1,format:\"uint32\",...R(t)})}function Rf(e,t){return new e({type:\"boolean\",...R(t)})}function Pf(e,t){return new e({type:\"boolean\",coerce:!0,...R(t)})}function Tf(e,t){return new e({type:\"bigint\",...R(t)})}function Ef(e,t){return new e({type:\"bigint\",coerce:!0,...R(t)})}function Of(e,t){return new e({type:\"bigint\",check:\"bigint_format\",abort:!1,format:\"int64\",...R(t)})}function Cf(e,t){return new e({type:\"bigint\",check:\"bigint_format\",abort:!1,format:\"uint64\",...R(t)})}function Nf(e,t){return new e({type:\"symbol\",...R(t)})}function jf(e,t){return new e({type:\"undefined\",...R(t)})}function Af(e,t){return new e({type:\"null\",...R(t)})}function Uf(e){return new e({type:\"any\"})}function Df(e){return new e({type:\"unknown\"})}function Mf(e,t){return new e({type:\"never\",...R(t)})}function qf(e,t){return new e({type:\"void\",...R(t)})}function Lf(e,t){return new e({type:\"date\",...R(t)})}function Vf(e,t){return new e({type:\"date\",coerce:!0,...R(t)})}function Zf(e,t){return new e({type:\"nan\",...R(t)})}function ot(e,t){return new tl({check:\"less_than\",...R(t),value:e,inclusive:!1})}function Me(e,t){return new tl({check:\"less_than\",...R(t),value:e,inclusive:!0})}function at(e,t){return new rl({check:\"greater_than\",...R(t),value:e,inclusive:!1})}function qe(e,t){return new rl({check:\"greater_than\",...R(t),value:e,inclusive:!0})}function nu(e){return at(0,e)}function iu(e){return ot(0,e)}function ou(e){return Me(0,e)}function au(e){return qe(0,e)}function Mt(e,t){return new xm({check:\"multiple_of\",...R(t),value:e})}function qt(e,t){return new Pm({check:\"max_size\",...R(t),maximum:e})}function st(e,t){return new Tm({check:\"min_size\",...R(t),minimum:e})}function Rr(e,t){return new Em({check:\"size_equals\",...R(t),size:e})}function Pr(e,t){return new Om({check:\"max_length\",...R(t),maximum:e})}function bt(e,t){return new Cm({check:\"min_length\",...R(t),minimum:e})}function Tr(e,t){return new Nm({check:\"length_equals\",...R(t),length:e})}function On(e,t){return new jm({check:\"string_format\",format:\"regex\",...R(t),pattern:e})}function Cn(e){return new Am({check:\"string_format\",format:\"lowercase\",...R(e)})}function Nn(e){return new Um({check:\"string_format\",format:\"uppercase\",...R(e)})}function jn(e,t){return new Dm({check:\"string_format\",format:\"includes\",...R(t),includes:e})}function An(e,t){return new Mm({check:\"string_format\",format:\"starts_with\",...R(t),prefix:e})}function Un(e,t){return new qm({check:\"string_format\",format:\"ends_with\",...R(t),suffix:e})}function su(e,t,n){return new Lm({check:\"property\",property:e,schema:t,...R(n)})}function Dn(e,t){return new Vm({check:\"properties\",shape:e,...R(t)})}function Mn(e,t){return new Zm({check:\"mime_type\",mime:e,...R(t)})}function Qe(e){return new Fm({check:\"overwrite\",tx:e})}function qn(e){return Qe(t=>t.normalize(e))}function Ln(){return Qe(e=>e.trim())}function Vn(){return Qe(e=>e.toLowerCase())}function Zn(){return Qe(e=>e.toUpperCase())}function Fn(){return Qe(e=>Pd(e))}function Ff(e,t,n){return new e({type:\"array\",element:t,...R(n)})}function hx(e,t,n){return new e({type:\"union\",options:t,...R(n)})}function gx(e,t,n){return new e({type:\"union\",options:t,inclusive:!1,...R(n)})}function vx(e,t,n,o){return new e({type:\"union\",options:n,discriminator:t,...R(o)})}function _x(e,t,n){return new e({type:\"intersection\",left:t,right:n})}function Sx(e,t,n,o){let r=n instanceof Z,i=r?o:n,a=r?n:null;return new e({type:\"tuple\",items:t,rest:a,...R(i)})}function yx(e,t,n,o){return new e({type:\"record\",keyType:t,valueType:n,...R(o)})}function bx(e,t,n,o){return new e({type:\"map\",keyType:t,valueType:n,...R(o)})}function $x(e,t,n){return new e({type:\"set\",valueType:t,...R(n)})}function zx(e,t,n){let o=Array.isArray(t)?Object.fromEntries(t.map(r=>[r,r])):t;return new e({type:\"enum\",entries:o,...R(n)})}function wx(e,t,n){return new e({type:\"enum\",entries:t,...R(n)})}function kx(e,t,n){return new e({type:\"literal\",values:Array.isArray(t)?t:[t],...R(n)})}function Jf(e,t){return new e({type:\"file\",...R(t)})}function xx(e,t){return new e({type:\"transform\",transform:t})}function Ix(e,t){return new e({type:\"optional\",innerType:t})}function Rx(e,t){return new e({type:\"nullable\",innerType:t})}function Px(e,t,n){return new e({type:\"default\",innerType:t,get defaultValue(){return typeof n==\"function\"?n():xo(n)}})}function Tx(e,t,n){return new e({type:\"nonoptional\",innerType:t,...R(n)})}function Ex(e,t){return new e({type:\"success\",innerType:t})}function Ox(e,t,n){return new e({type:\"catch\",innerType:t,catchValue:typeof n==\"function\"?n:jd(n)})}function Cx(e,t,n){return new e({type:\"pipe\",in:t,out:n})}function Nx(e,t){return new e({type:\"readonly\",innerType:t})}function jx(e,t,n){return new e({type:\"template_literal\",parts:t,...R(n)})}function Ax(e,t){return new e({type:\"lazy\",getter:t})}function Ux(e,t){return new e({type:\"promise\",innerType:t})}function Hf(e,t,n){let o=R(n);return o.abort??(o.abort=!0),new e({type:\"custom\",check:\"custom\",fn:t,...o})}function Bf(e,t,n){return new e({type:\"custom\",check:\"custom\",fn:t,...R(n)})}function Kf(e,t){let n=IS(o=>(o.addIssue=r=>{if(typeof r==\"string\")o.issues.push($n(r,o.value,n._zod.def));else{let i=r;i.fatal&&(i.continue=!1),i.code??(i.code=\"custom\"),\"input\"in i||(i.input=o.value),i.inst??(i.inst=n),i.continue??(i.continue=!n._zod.def.abort),o.issues.push($n(i))}},e(o.value,o)),t);return n}function IS(e,t){let n=new te({check:\"custom\",...R(t)});return n._zod.check=e,n}function Gf(e){let t=new te({check:\"describe\"});return t._zod.onattach=[n=>{let o=ge.get(n)??{};ge.add(n,{...o,description:e})}],t._zod.check=()=>{},t}function Wf(e){let t=new te({check:\"meta\"});return t._zod.onattach=[n=>{let o=ge.get(n)??{};ge.add(n,{...o,...e})}],t._zod.check=()=>{},t}function Yf(e,t){let n=R(t),o=n.truthy??[\"true\",\"1\",\"yes\",\"on\",\"y\",\"enabled\"],r=n.falsy??[\"false\",\"0\",\"no\",\"off\",\"n\",\"disabled\"];n.case!==\"sensitive\"&&(o=o.map(g=>typeof g==\"string\"?g.toLowerCase():g),r=r.map(g=>typeof g==\"string\"?g.toLowerCase():g));let i=new Set(o),a=new Set(r),s=e.Codec??Go,c=e.Boolean??Bo,l=e.String??zr,d=new l({type:\"string\",error:n.error}),p=new c({type:\"boolean\",error:n.error}),f=new s({type:\"pipe\",in:d,out:p,transform:((g,_)=>{let b=g;return n.case!==\"sensitive\"&&(b=b.toLowerCase()),i.has(b)?!0:a.has(b)?!1:(_.issues.push({code:\"invalid_value\",expected:\"stringbool\",values:[...i,...a],input:_.value,inst:f,continue:!1}),{})}),reverseTransform:((g,_)=>g===!0?o[0]||\"true\":r[0]||\"false\"),error:n.error});return f._zod.bag.truthy=o,f._zod.bag.falsy=r,f._zod.bag.case=n.case??\"insensitive\",f}function Er(e,t,n,o={}){let r=R(o),i={check:\"string_format\",type:\"string\",format:t,fn:typeof n==\"function\"?n:s=>n.test(s),...r};return n instanceof RegExp&&(i.pattern=n),new e(i)}function sa(e,...t){for(let n of t)for(let o of Reflect.ownKeys(n))Object.prototype.propertyIsEnumerable.call(n,o)&&he(e,o,n[o]);return e}function Lt(e){let t=e?.target??\"draft-2020-12\";return t===\"draft-4\"&&(t=\"draft-04\"),t===\"draft-7\"&&(t=\"draft-07\"),{processors:e.processors??{},metadataRegistry:e?.metadata??ge,target:t,unrepresentable:e?.unrepresentable??\"throw\",override:e?.override??(()=>{}),io:e?.io??\"output\",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??\"ref\",reused:e?.reused??\"inline\",intersections:[],deferred:[],external:e?.external??void 0}}function le(e,t,n,o,r){let i=typeof t.unrepresentable==\"function\"?t.unrepresentable({zodSchema:e,path:o.path,message:r}):t.unrepresentable;if(i===\"any\")return!1;if(i===void 0||i===\"throw\")throw new Error(r);return Object.assign(n,i),!0}function Q(e,t,n={path:[],schemaPath:[]}){var o;let r=e._zod.def,i=t.seen.get(e);if(i)return i.count++,n.schemaPath.includes(e)&&(i.cycle=n.path),i.schema;let a={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,a),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;let s=e._zod.toJSONSchema?.();if(s)a.schema=s;else{let d={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,d);else{let f=a.schema,g=t.processors[r.type];if(!g)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${r.type}`);g(e,t,f,d)}let p=e._zod.parent;p&&(a.ref||(a.ref=p),Q(p,t,d),t.seen.get(p).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&sa(a.schema,c),t.io===\"input\"&&Re(e)&&(delete a.schema.examples,delete a.schema.default),t.io===\"input\"&&\"_prefault\"in a.schema&&((o=a.schema).default??(o.default=a.schema._prefault)),delete a.schema._prefault,t.seen.get(e).schema}function RS(e){return e.replace(/~/g,\"~0\").replace(/\\//g,\"~1\")}function Vt(e,t){let n=e.seen.get(t);if(!n)throw new Error(\"Unprocessed schema. This is a bug in Zod.\");if(e.external&&e.sharedDefsExtractedFor===e.external)return;let o=new Map;for(let a of e.seen.entries()){let s=e.metadataRegistry.get(a[0])?.id;if(s){let c=o.get(s);if(c&&c!==a[0])throw new Error(`Duplicate schema id \"${s}\" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);o.set(s,a[0])}}let r=a=>{let s=e.target===\"draft-2020-12\"?\"$defs\":\"definitions\";if(e.external){let p=e.external.registry.get(a[0])?.id,f=e.external.uri??(_=>_);if(p)return{ref:f(p)};let g=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=g,{defId:g,ref:`${f(\"__shared\")}#/${s}/${RS(g)}`}}let c=\"#\",l=`${c}/${s}/`;if(a[1]===n&&!a[1].schema.id)return{ref:c};let d=a[1].schema.id??`__schema${e.counter++}`;return{defId:d,ref:l+RS(d)}},i=a=>{if(a[1].schema.$ref)return;let s=a[1],{ref:c,defId:l}=r(a);s.def={...s.schema},l&&(s.defId=l);let d=s.schema;for(let p in d)delete d[p];d.$ref=c};if(e.cycles===\"throw\")for(let a of e.seen.entries()){let s=a[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join(\"/\")}/<root>\n\nSet the \\`cycles\\` parameter to \\`\"ref\"\\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let s=a[1];if(t===a[0]){i(a);continue}if(e.external){let l=e.external.registry.get(a[0])?.id;if(t!==a[0]&&l){i(a);continue}}if(e.metadataRegistry.get(a[0])?.id){i(a);continue}if(s.cycle){i(a);continue}s.count>1&&e.reused===\"ref\"&&i(a)}e.external&&(e.sharedDefsExtractedFor=e.external)}function ES(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let n=[];for(let o of t){if(!o||typeof o!=\"object\")return;ES(o);let r=Object.keys(o);if(r.length!==1||r[0]!==\"type\")return;let i=o.type;for(let a of Array.isArray(i)?i:[i]){if(typeof a!=\"string\")return;n.includes(a)||n.push(a)}}delete e.anyOf,e.type=n.length===1?n[0]:n}var OS=new Set([\"type\",\"properties\",\"required\",\"additionalProperties\"]),PS=[\"oneOf\",\"anyOf\"];function TS(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!=\"object\"||t===null?null:Object.keys(t).length?t:null}function Xf(e){let t=[];for(let i of e){if(typeof i!=\"object\"||i.type!==\"object\")return null;for(let a in i)if(!OS.has(a))return null;t.push(i)}let n={},o=new Set;for(let i of t){for(let a in i.properties){if(Object.prototype.hasOwnProperty.call(n,a))continue;let s=[];for(let l of t){let d=l.properties?.[a]??TS(l);d!=null&&(s.some(p=>JSON.stringify(p)===JSON.stringify(d))||s.push(d))}let c=s.length===1?s[0]:Xf(s)??{allOf:s};he(n,a,c)}for(let a of i.required??[])o.add(a)}let r={type:\"object\",properties:n};if(o.size&&(r.required=[...o]),t.every(i=>i.additionalProperties===!1))r.additionalProperties=!1;else{let i=[];for(let a of t){let s=TS(a);s&&!i.some(c=>JSON.stringify(c)===JSON.stringify(s))&&i.push(s)}i.length===1?r.additionalProperties=i[0]:i.length>1&&(r.additionalProperties={allOf:i})}return r}function Dx(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let r of OS)if(r in e)return;let n=t.filter(r=>PS.some(i=>Array.isArray(r[i]))),o=null;if(!n.length)o=Xf(t);else{let r=n[0],i=PS.find(c=>Array.isArray(r[c]));if(Object.keys(r).length!==1)return;let a=t.filter(c=>c!==r),s=r[i].map(c=>Xf([...a,c]));if(s.some(c=>!c))return;o={[i]:s}}o&&(delete e.allOf,sa(e,o))}function Zt(e,t){let n=e.seen.get(t);if(!n)throw new Error(\"Unprocessed schema. This is a bug in Zod.\");let o=s=>{let c=e.seen.get(s);if(c.ref===null)return;let l=c.def??c.schema,d={...l},p=c.ref;if(c.ref=null,p){o(p);let g=e.seen.get(p),_=g.schema;if(_.$ref&&(e.target===\"draft-07\"||e.target===\"draft-04\"||e.target===\"openapi-3.0\")?(l.allOf=l.allOf??[],l.allOf.push(_)):sa(l,_),sa(l,d),s._zod.parent===p)for(let x in l)x===\"$ref\"||x===\"allOf\"||x in d||delete l[x];if(_.$ref&&g.def)for(let x in l)x===\"$ref\"||x===\"allOf\"||x in g.def&&JSON.stringify(l[x])===JSON.stringify(g.def[x])&&delete l[x]}let f=s._zod.parent;if(f&&f!==p){o(f);let g=e.seen.get(f);if(g?.schema.$ref&&(l.$ref=g.schema.$ref,g.def))for(let _ in l)_===\"$ref\"||_===\"allOf\"||_ in g.def&&JSON.stringify(l[_])===JSON.stringify(g.def[_])&&delete l[_]}e.override({zodSchema:s,jsonSchema:l,path:c.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let s of[...e.seen.entries()].reverse())o(s[0]);if(e.target!==\"openapi-3.0\")for(let s of e.seen.entries())ES(s[1].def??s[1].schema);for(let s of e.deferred)s();if(e.intersections.length){let s=new Map;for(let c of e.seen.values())for(let l of[c.schema,c.def]){let d=l?.allOf;if(!Array.isArray(d))continue;let p=s.get(d);p?p.push(l):s.set(d,[l])}for(let c of e.intersections)for(let l of s.get(c)??[])Dx(l)}}let r={};if(e.target===\"draft-2020-12\"?r.$schema=\"https://json-schema.org/draft/2020-12/schema\":e.target===\"draft-07\"?r.$schema=\"http://json-schema.org/draft-07/schema#\":e.target===\"draft-04\"?r.$schema=\"http://json-schema.org/draft-04/schema#\":e.target,e.external?.uri){let s=e.external.registry.get(t)?.id;if(!s)throw new Error(\"Schema is missing an `id` property\");r.$id=e.external.uri(s)}sa(r,n.defId?n.schema:n.def??n.schema);let i=e.metadataRegistry.get(t)?.id;i!==void 0&&r.id===i&&delete r.id;let a=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let s of e.seen.entries()){let c=s[1];c.def&&c.defId&&(c.def.id===c.defId&&delete c.def.id,he(a,c.defId,c.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(a).length>0&&(e.target===\"draft-2020-12\"?r.$defs=a:r.definitions=a);try{let s=JSON.parse(JSON.stringify(r));return Object.defineProperty(s,\"~standard\",{value:{...t[\"~standard\"],jsonSchema:{input:Jn(t,\"input\",e.processors),output:Jn(t,\"output\",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error(\"Error converting schema to JSON.\")}}function Re(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let o=e._zod.def;if(o.type===\"transform\")return!0;if(o.type===\"array\")return Re(o.element,n);if(o.type===\"set\")return Re(o.valueType,n);if(o.type===\"lazy\")return Re(o.getter(),n);if(o.type===\"promise\"||o.type===\"optional\"||o.type===\"nonoptional\"||o.type===\"nullable\"||o.type===\"readonly\"||o.type===\"default\"||o.type===\"prefault\"||o.type===\"catch\")return Re(o.innerType,n);if(o.type===\"intersection\")return Re(o.left,n)||Re(o.right,n);if(o.type===\"record\"||o.type===\"map\")return Re(o.keyType,n)||Re(o.valueType,n);if(o.type===\"pipe\")return e._zod.traits.has(\"$ZodCodec\")?!0:Re(o.in,n)||Re(o.out,n);if(o.type===\"object\"){for(let r in o.shape)if(Re(o.shape[r],n))return!0;return!1}if(o.type===\"union\"){for(let r of o.options)if(Re(r,n))return!0;return!1}if(o.type===\"tuple\"){for(let r of o.items)if(Re(r,n))return!0;return!!(o.rest&&Re(o.rest,n))}return!1}var Qf=(e,t={})=>n=>{let o=Lt({...n,processors:t});return Q(e,o),Vt(o,e),Zt(o,e)},Jn=(e,t,n={})=>o=>{let{libraryOptions:r,target:i}=o??{},a=Lt({...r??{},target:i,io:t,processors:n});return Q(e,a),Vt(a,e),Zt(a,e)};var Hn=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},Bn=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},CS=(e,t)=>{Hn(e,\"minimum\",t),Bn(e,\"maximum\",t)},US=(e,t)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(t)||e.multipleOf.push(t)},DS=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},MS=(e,t)=>{e.mime=e.mime?e.mime.filter(n=>t.includes(n)):[...t]},qS=(e,t)=>{e.format=t,t.includes(\"int\")&&(e.isInt=!0)},NS=(e,t)=>Hn(e,\"minimum\",t.minimum),jS=(e,t)=>Bn(e,\"maximum\",t.maximum),AS=e=>(t,n)=>{qS(t,n.format);let[o,r]=e[n.format];Hn(t,\"minimum\",o),Bn(t,\"maximum\",r)},Mx={greater_than:(e,t)=>Hn(e,t.inclusive?\"minimum\":\"exclusiveMinimum\",t.value),less_than:(e,t)=>Bn(e,t.inclusive?\"maximum\":\"exclusiveMaximum\",t.value),multiple_of:(e,t)=>US(e,t.value),number_format:AS(Ro),bigint_format:AS(Po),min_length:NS,max_length:jS,length_equals:(e,t)=>CS(e,t.length),min_size:NS,max_size:jS,size_equals:(e,t)=>CS(e,t.size),string_format:(e,t)=>{qS(e,t.format),t.pattern&&DS(e,t.pattern),(t.format===\"base64\"||t.format===\"base64url\")&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>MS(e,t.mime)};function ue(e){let t={},n=e._zod.def,o=e._zod.traits.has(\"$ZodCheck\")?[e,...n.checks??[]]:n.checks??[];for(let i of o)Mx[i._zod.def.check]?.(t,i._zod.def);let r=e._zod.bag;r.minimum!==void 0&&Hn(t,\"minimum\",r.minimum),r.exclusiveMinimum!==void 0&&Hn(t,\"exclusiveMinimum\",r.exclusiveMinimum),r.maximum!==void 0&&Bn(t,\"maximum\",r.maximum),r.exclusiveMaximum!==void 0&&Bn(t,\"exclusiveMaximum\",r.exclusiveMaximum),r.multipleOf!==void 0&&US(t,r.multipleOf),r.format!==void 0&&(t.format??(t.format=r.format),r.format.includes(\"int\")&&(t.isInt=!0)),r.mime&&MS(t,r.mime);for(let i of r.patterns??[])DS(t,i);return t}var qx={guid:\"uuid\",url:\"uri\",datetime:\"date-time\",json_string:\"json-string\",regex:\"\"},Lx=new Map([[ml,am],[Ho,sm]]),LS=e=>Lx.get(e)??e,rh=(e,t,n,o)=>{let r=n;r.type=\"string\";let{minimum:i,maximum:a,format:s,patterns:c,contentEncoding:l,laxFormat:d}=ue(e);if(typeof i==\"number\"&&(r.minLength=i),typeof a==\"number\"&&(r.maxLength=a),s&&(r.format=qx[s]??s,r.format===\"\"&&delete r.format,(s===\"time\"||d)&&delete r.format),l&&(r.contentEncoding=l),c&&c.size>0){let p=[...c].map(LS);p.length===1?r.pattern=p[0].source:p.length>1&&(r.allOf=[...p.map(f=>({...t.target===\"draft-07\"||t.target===\"draft-04\"||t.target===\"openapi-3.0\"?{type:\"string\"}:{},pattern:f.source}))])}},nh=(e,t,n,o)=>{let r=n,{minimum:i,maximum:a,multipleOf:s,exclusiveMaximum:c,exclusiveMinimum:l,isInt:d}=ue(e);r.type=d?\"integer\":\"number\";let p=typeof l==\"number\"&&l>=(i??Number.NEGATIVE_INFINITY),f=typeof c==\"number\"&&c<=(a??Number.POSITIVE_INFINITY),g=t.target===\"draft-04\"||t.target===\"openapi-3.0\";if(p?g?(r.minimum=l,r.exclusiveMinimum=!0):r.exclusiveMinimum=l:typeof i==\"number\"&&(r.minimum=i),f?g?(r.maximum=c,r.exclusiveMaximum=!0):r.exclusiveMaximum=c:typeof a==\"number\"&&(r.maximum=a),s){let _=new Set;for(let O of s)Number.isFinite(O)&&O!==0?_.add(Math.abs(O)):le(e,t,r,o,`A multipleOf divisor of ${O} cannot be represented in JSON Schema`);let[b,...x]=_;b!==void 0&&(r.multipleOf=b),x.length&&(r.allOf=[...r.allOf??[],...x.map(O=>({multipleOf:O}))])}},ih=(e,t,n,o)=>{n.type=\"boolean\"},oh=(e,t,n,o)=>{le(e,t,n,o,\"BigInt cannot be represented in JSON Schema\")},ah=(e,t,n,o)=>{le(e,t,n,o,\"Symbols cannot be represented in JSON Schema\")},sh=(e,t,n,o)=>{t.target===\"openapi-3.0\"?(n.type=\"string\",n.nullable=!0,n.enum=[null]):n.type=\"null\"},ch=(e,t,n,o)=>{le(e,t,n,o,\"Undefined cannot be represented in JSON Schema\")},lh=(e,t,n,o)=>{le(e,t,n,o,\"Void cannot be represented in JSON Schema\")},uh=(e,t,n,o)=>{n.not={}},dh=(e,t,n,o)=>{},mh=(e,t,n,o)=>{},ph=(e,t,n,o)=>{le(e,t,n,o,\"Date cannot be represented in JSON Schema\")},fh=(e,t,n,o)=>{let r=e._zod.def,i=_n(r.entries);if(i.length===0){n.not={};return}i.every(a=>typeof a==\"number\")&&(n.type=\"number\"),i.every(a=>typeof a==\"string\")&&(n.type=\"string\"),n.enum=i},hh=(e,t,n,o)=>{let r=e._zod.def;if(r.values.length===0){n.not={};return}let i=[];for(let a of r.values)if(a===void 0){if(le(e,t,n,o,\"Literal `undefined` cannot be represented in JSON Schema\"))return}else if(typeof a==\"bigint\"){if(le(e,t,n,o,\"BigInt literals cannot be represented in JSON Schema\"))return;i.push(Number(a))}else i.push(a);if(i.length!==0)if(i.length===1){let a=i[0];n.type=a===null?\"null\":typeof a,t.target===\"draft-04\"||t.target===\"openapi-3.0\"?n.enum=[a]:n.const=a}else i.every(a=>typeof a==\"number\")&&(n.type=\"number\"),i.every(a=>typeof a==\"string\")&&(n.type=\"string\"),i.every(a=>typeof a==\"boolean\")&&(n.type=\"boolean\"),i.every(a=>a===null)&&(n.type=\"null\"),n.enum=i},gh=(e,t,n,o)=>{le(e,t,n,o,\"NaN cannot be represented in JSON Schema\")},vh=(e,t,n,o)=>{let r=n,i=e._zod.pattern;if(!i)throw new Error(\"Pattern not found in template literal\");r.type=\"string\",r.pattern=i.source},_h=(e,t,n,o)=>{let r=n;r.type=\"string\",r.format=\"binary\",r.contentEncoding=\"binary\";let{minimum:i,maximum:a,mime:s}=ue(e);i!==void 0&&(r.minLength=i),a!==void 0&&(r.maxLength=a),s&&(s.length===0?r.not={}:s.length===1?r.contentMediaType=s[0]:r.anyOf=s.map(c=>({contentMediaType:c})))},Sh=(e,t,n,o)=>{n.type=\"boolean\"},yh=(e,t,n,o)=>{le(e,t,n,o,\"Custom types cannot be represented in JSON Schema\")},bh=(e,t,n,o)=>{le(e,t,n,o,\"Function types cannot be represented in JSON Schema\")},$h=(e,t,n,o)=>{le(e,t,n,o,\"Transforms cannot be represented in JSON Schema\")},zh=(e,t,n,o)=>{le(e,t,n,o,\"Map cannot be represented in JSON Schema\")},wh=(e,t,n,o)=>{le(e,t,n,o,\"Set cannot be represented in JSON Schema\")},kh=(e,t,n,o)=>{let r=n,i=e._zod.def,{minimum:a,maximum:s}=ue(e);typeof a==\"number\"&&(r.minItems=a),typeof s==\"number\"&&(r.maxItems=s),r.type=\"array\",r.items=Q(i.element,t,{...o,path:[...o.path,\"items\"]})};function ca(e){let t=e._zod.def;return t.type===\"pipe\"&&t.in._zod.traits.has(\"$ZodTransform\")?ca(t.out):t.type===\"catch\"?ca(t.innerType):e._zod.optin}var xh=(e,t,n,o)=>{let r=n,i=e._zod.def,a=i.shape;if(Object.getOwnPropertySymbols(a).length&&le(e,t,r,o,\"Symbol keys cannot be represented in JSON Schema\"))return;r.type=\"object\",r.properties={};for(let l in a)he(r.properties,l,Q(a[l],t,{...o,path:[...o.path,\"properties\",l]}));let c=[];for(let l of Object.keys(a)){let d=i.shape[l];(t.io===\"input\"?ca(d)===void 0:d._zod.optout===void 0)&&c.push(l)}c.length>0&&(r.required=c),i.catchall?._zod.def.type===\"never\"?r.additionalProperties=!1:i.catchall?i.catchall&&(r.additionalProperties=Q(i.catchall,t,{...o,path:[...o.path,\"additionalProperties\"]})):t.io===\"output\"&&(r.additionalProperties=!1)},lu=(e,t,n,o)=>{let r=e._zod.def,i=r.inclusive===!1,a=r.options.map((s,c)=>Q(s,t,{...o,path:[...o.path,i?\"oneOf\":\"anyOf\",c]}));i?n.oneOf=a:n.anyOf=a},Ih=(e,t,n,o)=>{let r=e._zod.def,i=Q(r.left,t,{...o,path:[...o.path,\"allOf\",0]}),a=Q(r.right,t,{...o,path:[...o.path,\"allOf\",1]}),s=l=>\"allOf\"in l&&Object.keys(l).length===1,c=[...s(i)?i.allOf:[i],...s(a)?a.allOf:[a]];n.allOf=c,t.intersections.push(c)},Rh=(e,t,n,o)=>{let r=n,i=e._zod.def;r.type=\"array\";let a=t.target===\"draft-2020-12\"?\"prefixItems\":\"items\",s=t.target===\"draft-2020-12\"||t.target===\"openapi-3.0\"?\"items\":\"additionalItems\",c=i.items.map((b,x)=>Q(b,t,{...o,path:[...o.path,a,x]})),l=i.rest?Q(i.rest,t,{...o,path:[...o.path,s,...t.target===\"openapi-3.0\"?[i.items.length]:[]]}):null,d=i.items.length;for(;d>0;){let b=i.items[d-1];if(!(t.io===\"input\"?ca(b)!==void 0:b._zod.optout===\"optional\"))break;d--}let p=i.items.length,f=!i.rest;t.target===\"draft-2020-12\"?(r.prefixItems=c,f?r.items=!1:l&&(r.items=l),d>0&&(r.minItems=d),f&&(r.maxItems=p)):t.target===\"openapi-3.0\"?(r.items={anyOf:c},l&&r.items.anyOf.push(l),d>0&&(r.minItems=d),f&&(r.maxItems=p)):(r.items=c,f?r.additionalItems=!1:l&&(r.additionalItems=l),d>0&&(r.minItems=d),f&&(r.maxItems=p));let{minimum:g,maximum:_}=ue(e);typeof g==\"number\"&&(r.minItems=g),typeof _==\"number\"&&(r.maxItems=_)};function eh(e,t,n){if(t.$ref){if(n.has(t))return t;n.add(t);let _=e.get(t)?.def;if(!_)return t;let b=eh(e,_,n);return b===_?t:b}for(let _ of[\"anyOf\",\"oneOf\"]){let b=t[_];if(!Array.isArray(b))continue;let x=b.map(O=>eh(e,O,n));x.some((O,P)=>O!==b[P])&&(t={...t,[_]:x})}let o=Array.isArray(t.type)?t.type:[t.type],r=!o.includes(\"string\")&&o.some(_=>_===\"number\"||_===\"integer\"),i=t.enum??(t.const!==void 0?[t.const]:void 0);if(!r&&!i?.some(_=>typeof _==\"number\"))return t;let{minimum:a,maximum:s,exclusiveMinimum:c,exclusiveMaximum:l,multipleOf:d,format:p,id:f,...g}=t;return g.enum?g.enum=g.enum.map(_=>typeof _==\"number\"?String(_):_):typeof g.const==\"number\"&&(g.const=String(g.const)),r&&(g.type=\"string\",i||(g.pattern=(o.includes(\"number\")?yt:Mo).source)),g}var th=new WeakMap;function Vx(e){let t=new Map;for(let o of e.seen.values())o.def&&!t.has(o.schema)&&t.set(o.schema,o);let n=new Map;for(let o of th.get(e)??[]){let r=e.seen.get(o),i=(r?.def??r?.schema)?.propertyNames;if(!i||i===!0||n.has(i))continue;let a=eh(t,i,new Set);a!==i&&n.set(i,a)}if(n.size)for(let o of e.seen.values())for(let r of[o.schema,o.def]){let i=r&&n.get(r.propertyNames);i&&(r.propertyNames=i)}}var Ph=(e,t,n,o)=>{let r=n,i=e._zod.def;r.type=\"object\";let a=i.keyType,s=ue(a).patterns;if(i.mode===\"loose\"&&s&&s.size>0){let d=Q(i.valueType,t,{...o,path:[...o.path,\"patternProperties\",\"*\"]});r.patternProperties={};for(let p of s)he(r.patternProperties,LS(p).source,d)}else{if(t.target===\"draft-07\"||t.target===\"draft-2020-12\"){r.propertyNames=Q(i.keyType,t,{...o,path:[...o.path,\"propertyNames\"]});let d=th.get(t);d||(d=[],th.set(t,d),t.deferred.push(()=>Vx(t))),d.push(e)}r.additionalProperties=Q(i.valueType,t,{...o,path:[...o.path,\"additionalProperties\"]})}let c=a._zod.values,l=t.io===\"input\"&&ca(i.valueType)!==void 0;if(c&&!i.partial&&!l){let d=[...c].filter(p=>typeof p==\"string\"||typeof p==\"number\");d.length>0&&(r.required=d.map(String))}},Th=(e,t,n,o)=>{let r=e._zod.def,i=Q(r.innerType,t,o),a=t.seen.get(e);t.target===\"openapi-3.0\"?(a.ref=r.innerType,n.nullable=!0):n.anyOf=[i,{type:\"null\"}]},Eh=(e,t,n,o)=>{let r=e._zod.def;Q(r.innerType,t,o);let i=t.seen.get(e);i.ref=r.innerType},Oh=Symbol();function VS(e,t,n,o,r){let i=!1,a=JSON.stringify(e,(s,c)=>typeof c!=\"bigint\"?c:(i=!0,null));return i?(le(t,n,o,r,\"BigInt defaults cannot be represented in JSON Schema\"),Oh):JSON.parse(a)}var Ch=(e,t,n,o)=>{let r=e._zod.def;Q(r.innerType,t,o);let i=t.seen.get(e);i.ref=r.innerType;let a=VS(r.defaultValue,e,t,n,o);a!==Oh&&(n.default=a)},Nh=(e,t,n,o)=>{let r=e._zod.def;Q(r.innerType,t,o);let i=t.seen.get(e);if(i.ref=r.innerType,t.io!==\"input\")return;let a=VS(r.defaultValue,e,t,n,o);a!==Oh&&(n._prefault=a)},jh=(e,t,n,o)=>{let r=e._zod.def;Q(r.innerType,t,o);let i=t.seen.get(e);i.ref=r.innerType;let a;try{a=r.catchValue(void 0)}catch{le(e,t,n,o,\"Dynamic catch values are not supported in JSON Schema\");return}n.default=a},Ah=(e,t,n,o)=>{let r=e._zod.def,i=r.in._zod.traits.has(\"$ZodTransform\"),a=t.io===\"input\"?i?r.out:r.in:r.out;Q(a,t,o);let s=t.seen.get(e);s.ref=a},Uh=(e,t,n,o)=>{let r=e._zod.def;Q(r.innerType,t,o);let i=t.seen.get(e);i.ref=r.innerType,n.readOnly=!0},Dh=(e,t,n,o)=>{let r=e._zod.def;Q(r.innerType,t,o);let i=t.seen.get(e);i.ref=r.innerType},uu=(e,t,n,o)=>{let r=e._zod.def;Q(r.innerType,t,o);let i=t.seen.get(e);i.ref=r.innerType},Mh=(e,t,n,o)=>{let r=e._zod.innerType;Q(r,t,o);let i=t.seen.get(e);i.ref=r},cu={string:rh,number:nh,boolean:ih,bigint:oh,symbol:ah,null:sh,undefined:ch,void:lh,never:uh,any:dh,unknown:mh,date:ph,enum:fh,literal:hh,nan:gh,template_literal:vh,file:_h,success:Sh,custom:yh,function:bh,transform:$h,map:zh,set:wh,array:kh,object:xh,union:lu,intersection:Ih,tuple:Rh,record:Ph,nullable:Th,nonoptional:Eh,default:Ch,prefault:Nh,catch:jh,pipe:Ah,readonly:Uh,promise:Dh,optional:uu,lazy:Mh};function Or(e,t){if(\"_idmap\"in e){let o=e,r=Lt({...t,processors:cu}),i={};for(let c of o._idmap.entries()){let[l,d]=c;Q(d,r)}let a={},s={registry:o,uri:t?.uri,defs:i};r.external=s;for(let c of o._idmap.entries()){let[l,d]=c;Vt(r,d),he(a,l,Zt(r,d))}if(Object.keys(i).length>0){let c=r.target===\"draft-2020-12\"?\"$defs\":\"definitions\";a.__shared={[c]:i}}return{schemas:a}}let n=Lt({...t,processors:cu});return Q(e,n),Vt(n,e),Zt(n,e)}var du=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let n=t?.target??\"draft-2020-12\";n===\"draft-4\"&&(n=\"draft-04\"),n===\"draft-7\"&&(n=\"draft-07\"),this.ctx=Lt({processors:cu,target:n,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,n={path:[],schemaPath:[]}){return Q(t,this.ctx,n)}emit(t,n){n&&(n.cycles&&(this.ctx.cycles=n.cycles),n.reused&&(this.ctx.reused=n.reused),n.external&&(this.ctx.external=n.external)),this.ctx.sharedDefsExtractedFor=void 0,this.ctx.sharedEmitDoneFor=void 0,Vt(this.ctx,t);let o=Zt(this.ctx,t),{\"~standard\":r,...i}=o;return i}};var ZS={};var ti={};vt(ti,{ZodAny:()=>ng,ZodArray:()=>sg,ZodBase64:()=>Eu,ZodBase64URL:()=>Ou,ZodBigInt:()=>ei,ZodBigIntFormat:()=>ju,ZodBoolean:()=>Qn,ZodCIDRv4:()=>Pu,ZodCIDRv6:()=>Tu,ZodCUID:()=>$u,ZodCUID2:()=>zu,ZodCatch:()=>xg,ZodCodec:()=>va,ZodCreditCard:()=>Xh,ZodCustom:()=>_a,ZodCustomStringFormat:()=>Nr,ZodDate:()=>ma,ZodDefault:()=>yg,ZodDiscriminatedUnion:()=>lg,ZodE164:()=>Cu,ZodEmail:()=>vu,ZodEmoji:()=>yu,ZodEnum:()=>Gn,ZodExactOptional:()=>Mu,ZodFile:()=>gg,ZodFunction:()=>jg,ZodGUID:()=>Su,ZodIBAN:()=>Qh,ZodIPv4:()=>Iu,ZodIPv6:()=>Ru,ZodISODate:()=>Jt,ZodISODateTime:()=>Ft,ZodISODuration:()=>Bt,ZodISOTime:()=>Ht,ZodInstanceOf:()=>Dg,ZodIntersection:()=>ug,ZodJWT:()=>Nu,ZodKSUID:()=>xu,ZodLazy:()=>Cg,ZodLiteral:()=>hg,ZodMAC:()=>Yh,ZodMap:()=>pg,ZodNaN:()=>Rg,ZodNanoID:()=>bu,ZodNever:()=>og,ZodNonOptional:()=>qu,ZodNull:()=>rg,ZodNullable:()=>Sg,ZodNumber:()=>Xn,ZodNumberFormat:()=>jr,ZodObject:()=>pa,ZodOptional:()=>ha,ZodPipe:()=>ga,ZodPrefault:()=>$g,ZodPreprocess:()=>Pg,ZodPromise:()=>Ng,ZodReadonly:()=>Tg,ZodRecord:()=>Kn,ZodSet:()=>fg,ZodString:()=>Wn,ZodStringFormat:()=>ee,ZodSuccess:()=>kg,ZodSymbol:()=>eg,ZodTemplateLiteral:()=>Og,ZodTransform:()=>vg,ZodTuple:()=>dg,ZodType:()=>F,ZodULID:()=>wu,ZodURL:()=>da,ZodUUID:()=>ct,ZodUndefined:()=>tg,ZodUnion:()=>fa,ZodUnknown:()=>ig,ZodVoid:()=>ag,ZodXID:()=>ku,ZodXor:()=>cg,_ZodString:()=>gu,_default:()=>bg,_function:()=>Ky,any:()=>Au,array:()=>y,base64:()=>uy,base64url:()=>dy,bigint:()=>ky,boolean:()=>C,catch:()=>Ig,check:()=>Gy,cidrv4:()=>cy,cidrv6:()=>ly,codec:()=>Fy,creditCard:()=>py,cuid:()=>ey,cuid2:()=>ty,currencyCode:()=>Sy,custom:()=>Wy,date:()=>Ey,describe:()=>Yy,discriminatedUnion:()=>Kt,e164:()=>my,email:()=>_u,emoji:()=>XS,enum:()=>L,exactOptional:()=>_g,file:()=>qy,float32:()=>by,float64:()=>$y,function:()=>Ky,guid:()=>HS,hash:()=>yy,hex:()=>_y,hostname:()=>vy,httpUrl:()=>YS,iban:()=>fy,instanceof:()=>Qy,int:()=>fu,int32:()=>zy,int64:()=>xy,intersection:()=>et,invertCodec:()=>Jy,ipv4:()=>oy,ipv6:()=>sy,json:()=>tb,jwt:()=>hy,keyof:()=>Oy,ksuid:()=>iy,lazy:()=>Gt,literal:()=>$,looseObject:()=>M,looseRecord:()=>Ay,mac:()=>ay,map:()=>Uy,meta:()=>Xy,nan:()=>Zy,nanoid:()=>QS,nativeEnum:()=>My,never:()=>Uu,nonoptional:()=>wg,null:()=>lt,nullable:()=>ua,nullish:()=>Ly,number:()=>I,object:()=>h,optional:()=>j,partialRecord:()=>jy,pipe:()=>hu,prefault:()=>zg,preprocess:()=>zt,promise:()=>By,readonly:()=>Eg,record:()=>T,refine:()=>Ag,set:()=>Dy,strictObject:()=>Cy,string:()=>u,stringFormat:()=>gy,stringbool:()=>eb,success:()=>Vy,superRefine:()=>Ug,symbol:()=>Ry,templateLiteral:()=>Hy,transform:()=>Du,tuple:()=>mg,uint32:()=>wy,uint64:()=>Iy,ulid:()=>ry,undefined:()=>Py,union:()=>E,unknown:()=>A,url:()=>Yn,uuid:()=>BS,uuidv4:()=>KS,uuidv6:()=>GS,uuidv7:()=>WS,void:()=>Ty,xid:()=>ny,xor:()=>Ny});var mu={};vt(mu,{endsWith:()=>Un,gt:()=>at,gte:()=>qe,includes:()=>jn,length:()=>Tr,lowercase:()=>Cn,lt:()=>ot,lte:()=>Me,maxLength:()=>Pr,maxSize:()=>qt,mime:()=>Mn,minLength:()=>bt,minSize:()=>st,multipleOf:()=>Mt,negative:()=>iu,nonnegative:()=>au,nonpositive:()=>ou,normalize:()=>qn,overwrite:()=>Qe,positive:()=>nu,properties:()=>Dn,property:()=>su,regex:()=>On,size:()=>Rr,slugify:()=>Fn,startsWith:()=>An,toLowerCase:()=>Vn,toUpperCase:()=>Zn,trim:()=>Ln,uppercase:()=>Nn});var FS=new WeakSet([Object.prototype,Error.prototype]);function pu(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let o=n(this);return Object.defineProperty(this,t,{value:o,configurable:!0,writable:!0}),o},set(o){Object.defineProperty(this,t,{value:o,configurable:!0,writable:!0})}})}var JS=(e,t)=>{qd.init(e,t),e.name=\"ZodError\";let n=Object.getPrototypeOf(e);FS.has(n)||(FS.add(n),pu(n,\"format\",o=>r=>jo(o,r)),pu(n,\"flatten\",o=>r=>No(o,r)),pu(n,\"addIssue\",o=>r=>{o.issues.push(r),o.message=JSON.stringify(o.issues,Sn,2)}),pu(n,\"addIssues\",o=>r=>{o.issues.push(...r),o.message=JSON.stringify(o.issues,Sn,2)}),Object.defineProperty(n,\"isEmpty\",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},Fx=v(\"ZodError\",JS),je=v(\"ZodError\",JS,void 0,{Parent:Error});var qh=zn(je),Lh=wn(je),la=kn(je),Vh=xn(je),Zh=Zc(je),Fh=Fc(je),Jh=Jc(je),Hh=Hc(je),Bh=Bc(je),Kh=Kc(je),Gh=Gc(je),Wh=Wc(je);function Hx(){me.localeError||ae(Rl())}function Cr(){me.memoizer||ae({memoizer:Qo()})}var F=v(\"ZodType\",(e,t)=>(Hx(),Z.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(z.mergeDefs(t,{checks:[...t.checks??[],...e.map(n=>typeof n==\"function\"?{_zod:{check:n,def:{check:\"custom\"},onattach:[]}}:n)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return Y(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(Ag(e,t))},superRefine(e,t){return this.check(Ug(e,t))},overwrite(e){return this.check(Qe(e))},optional(){return j(this)},exactOptional(){return _g(this)},nullable(){return ua(this)},nullish(){return j(ua(this))},nonoptional(e){return wg(this,e)},array(){return y(this)},or(e){return E([this,e])},and(e){return et(this,e)},transform(e){return hu(this,Du(e))},default(e){return bg(this,e)},prefault(e){return zg(this,e)},catch(e){return Ig(this,e)},pipe(e){return hu(this,e)},readonly(){return Eg(this)},describe(e){let t=this.clone();return ge.add(t,{description:e}),t},meta(...e){if(e.length===0)return ge.get(this);let t=this.clone();return ge.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get\"~standard\"(){return z.hide(this,\"~standard\",{...sl(this),jsonSchema:{input:Jn(this,\"input\"),output:Jn(this,\"output\")}})},set\"~standard\"(e){z.own(this,\"~standard\",e)},parse:function e(t,n){return qh(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await Lh(this,t,n,{callee:e})},safeParse(e,t){return la(this,e,t)},async safeParseAsync(e,t){return Vh(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){z.own(this,\"spa\",e)},validate(e,t){return Ao(this,e,t)},validateAsync(e,t){return Uo(this,e,t)},encode:function e(t,n){return Zh(this,t,n,{callee:e})},decode:function e(t,n){return Fh(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await Jh(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await Hh(this,t,n,{callee:e})},safeEncode(e,t){return Bh(this,e,t)},safeDecode(e,t){return Kh(this,e,t)},async safeEncodeAsync(e,t){return Gh(this,e,t)},async safeDecodeAsync(e,t){return Wh(this,e,t)},toJSONSchema(e){return Qf(this,{})(e)},get description(){return ge.get(this)?.description},get _def(){return this._zod.def}}),gu=v(\"_ZodString\",(e,t)=>{zr.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>rh(e,n,o,r)},z.derived({format:e=>ue(e).format??null,minLength:e=>ue(e).minimum??null,maxLength:e=>ue(e).maximum??null},{regex(...e){return this.check(On(...e))},includes(...e){return this.check(jn(...e))},startsWith(...e){return this.check(An(...e))},endsWith(...e){return this.check(Un(...e))},min(...e){return this.check(bt(...e))},max(...e){return this.check(Pr(...e))},length(...e){return this.check(Tr(...e))},nonempty(...e){return this.check(bt(1,...e))},lowercase(e){return this.check(Cn(e))},uppercase(e){return this.check(Nn(e))},trim(){return this.check(Ln())},normalize(...e){return this.check(qn(...e))},toLowerCase(){return this.check(Vn())},toUpperCase(){return this.check(Zn())},slugify(){return this.check(Fn())}})),Wn=v(\"ZodString\",(e,t)=>{zr.init(e,t),gu.init(e,t)},{email(e){return this.check(Al(vu,e))},url(e){return this.check(ra(da,e))},jwt(e){return this.check(ru(Nu,e))},emoji(e){return this.check(Vl(yu,e))},guid(e){return this.check(Ul(Su,e))},uuid(e){return this.check(Dl(ct,e))},uuidv4(e){return this.check(Ml(ct,e))},uuidv6(e){return this.check(ql(ct,e))},uuidv7(e){return this.check(Ll(ct,e))},nanoid(e){return this.check(Zl(bu,e))},cuid(e){return this.check(Fl($u,e))},cuid2(e){return this.check(Jl(zu,e))},ulid(e){return this.check(Hl(wu,e))},base64(e){return this.check(Ql(Eu,e))},base64url(e){return this.check(eu(Ou,e))},xid(e){return this.check(Bl(ku,e))},ksuid(e){return this.check(Kl(xu,e))},ipv4(e){return this.check(Gl(Iu,e))},ipv6(e){return this.check(Wl(Ru,e))},cidrv4(e){return this.check(Yl(Pu,e))},cidrv6(e){return this.check(Xl(Tu,e))},e164(e){return this.check(tu(Cu,e))},datetime(e){return this.check(na(Ft,e))},date(e){return this.check(ia(Jt,e))},time(e){return this.check(oa(Ht,e))},duration(e){return this.check(aa(Bt,e))}});function u(e){return hf(Wn,e)}var ee=v(\"ZodStringFormat\",(e,t)=>{X.init(e,t),gu.init(e,t)}),Ft=v(\"ZodISODateTime\",(e,t)=>{ap.init(e,t),ee.init(e,t)}),Jt=v(\"ZodISODate\",(e,t)=>{sp.init(e,t),ee.init(e,t)}),Ht=v(\"ZodISOTime\",(e,t)=>{cp.init(e,t),ee.init(e,t)}),Bt=v(\"ZodISODuration\",(e,t)=>{lp.init(e,t),ee.init(e,t)}),vu=v(\"ZodEmail\",(e,t)=>{Gm.init(e,t),ee.init(e,t)});function _u(e){return Al(vu,e)}var Su=v(\"ZodGUID\",(e,t)=>{Bm.init(e,t),ee.init(e,t)});function HS(e){return Ul(Su,e)}var ct=v(\"ZodUUID\",(e,t)=>{Km.init(e,t),ee.init(e,t)});function BS(e){return Dl(ct,e)}function KS(e){return Ml(ct,e)}function GS(e){return ql(ct,e)}function WS(e){return Ll(ct,e)}var da=v(\"ZodURL\",(e,t)=>{Xm.init(e,t),ee.init(e,t)});function Yn(e){return ra(da,e)}function YS(e){return ra(da,{protocol:Do,hostname:lm,...z.normalizeParams(e)})}var yu=v(\"ZodEmoji\",(e,t)=>{Qm.init(e,t),ee.init(e,t)});function XS(e){return Vl(yu,e)}var bu=v(\"ZodNanoID\",(e,t)=>{ep.init(e,t),ee.init(e,t)});function QS(e){return Zl(bu,e)}var $u=v(\"ZodCUID\",(e,t)=>{tp.init(e,t),ee.init(e,t)});function ey(e){return Fl($u,e)}var zu=v(\"ZodCUID2\",(e,t)=>{rp.init(e,t),ee.init(e,t)});function ty(e){return Jl(zu,e)}var wu=v(\"ZodULID\",(e,t)=>{np.init(e,t),ee.init(e,t)});function ry(e){return Hl(wu,e)}var ku=v(\"ZodXID\",(e,t)=>{ip.init(e,t),ee.init(e,t)});function ny(e){return Bl(ku,e)}var xu=v(\"ZodKSUID\",(e,t)=>{op.init(e,t),ee.init(e,t)});function iy(e){return Kl(xu,e)}var Iu=v(\"ZodIPv4\",(e,t)=>{up.init(e,t),ee.init(e,t)});function oy(e){return Gl(Iu,e)}var Yh=v(\"ZodMAC\",(e,t)=>{mp.init(e,t),ee.init(e,t)});function ay(e){return vf(Yh,e)}var Ru=v(\"ZodIPv6\",(e,t)=>{dp.init(e,t),ee.init(e,t)});function sy(e){return Wl(Ru,e)}var Pu=v(\"ZodCIDRv4\",(e,t)=>{pp.init(e,t),ee.init(e,t)});function cy(e){return Yl(Pu,e)}var Tu=v(\"ZodCIDRv6\",(e,t)=>{fp.init(e,t),ee.init(e,t)});function ly(e){return Xl(Tu,e)}var Eu=v(\"ZodBase64\",(e,t)=>{hp.init(e,t),ee.init(e,t)});function uy(e){return Ql(Eu,e)}var Ou=v(\"ZodBase64URL\",(e,t)=>{gp.init(e,t),ee.init(e,t)});function dy(e){return eu(Ou,e)}var Cu=v(\"ZodE164\",(e,t)=>{vp.init(e,t),ee.init(e,t)});function my(e){return tu(Cu,e)}var Xh=v(\"ZodCreditCard\",(e,t)=>{_p.init(e,t),ee.init(e,t)});function py(e){return _f(Xh,e)}var Qh=v(\"ZodIBAN\",(e,t)=>{Sp.init(e,t),ee.init(e,t)});function fy(e){return Sf(Qh,e)}var Nu=v(\"ZodJWT\",(e,t)=>{yp.init(e,t),ee.init(e,t)});function hy(e){return ru(Nu,e)}var Nr=v(\"ZodCustomStringFormat\",(e,t)=>{bp.init(e,t),ee.init(e,t)});function gy(e,t,n={}){return Er(Nr,e,t,n)}function vy(e){return Er(Nr,\"hostname\",cm,e)}function _y(e){return Er(Nr,\"hex\",zm,e)}function Sy(e){return Er(Nr,\"currency_code\",dm,e)}function yy(e,t){let n=t?.enc??\"hex\",o=`${e}_${n}`,r=Be[o];if(!r)throw new Error(`Unrecognized hash format: ${o}`);return Er(Nr,o,r,t)}var Xn=v(\"ZodNumber\",(e,t)=>{vl.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>nh(e,n,o,r),e.isFinite=!0},z.derived({minValue:e=>{let{minimum:t,exclusiveMinimum:n}=ue(e);return Math.max(t??Number.NEGATIVE_INFINITY,n??Number.NEGATIVE_INFINITY)},maxValue:e=>{let{maximum:t,exclusiveMaximum:n}=ue(e);return Math.min(t??Number.POSITIVE_INFINITY,n??Number.POSITIVE_INFINITY)},isInt:e=>{let{isInt:t,multipleOf:n}=ue(e);return!!t||!!n?.some(Number.isSafeInteger)},format:e=>ue(e).format??null},{gt(e,t){return this.check(at(e,t))},gte(e,t){return this.check(qe(e,t))},min(e,t){return this.check(qe(e,t))},lt(e,t){return this.check(ot(e,t))},lte(e,t){return this.check(Me(e,t))},max(e,t){return this.check(Me(e,t))},int(e){return this.check(fu(e))},safe(e){return this.check(fu(e))},positive(e){return this.check(at(0,e))},nonnegative(e){return this.check(qe(0,e))},negative(e){return this.check(ot(0,e))},nonpositive(e){return this.check(Me(0,e))},multipleOf(e,t){return this.check(Mt(e,t))},step(e,t){return this.check(Mt(e,t))},finite(){return this}}));function I(e){return bf(Xn,e)}var jr=v(\"ZodNumberFormat\",(e,t)=>{$p.init(e,t),Xn.init(e,t)});function fu(e){return zf(jr,e)}function by(e){return wf(jr,e)}function $y(e){return kf(jr,e)}function zy(e){return xf(jr,e)}function wy(e){return If(jr,e)}var Qn=v(\"ZodBoolean\",(e,t)=>{Bo.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>ih(e,n,o,r)});function C(e){return Rf(Qn,e)}var ei=v(\"ZodBigInt\",(e,t)=>{_l.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>oh(e,n,o,r)},z.derived({minValue:e=>ue(e).minimum??null,maxValue:e=>ue(e).maximum??null,format:e=>ue(e).format??null},{gte(e,t){return this.check(qe(e,t))},min(e,t){return this.check(qe(e,t))},gt(e,t){return this.check(at(e,t))},lt(e,t){return this.check(ot(e,t))},lte(e,t){return this.check(Me(e,t))},max(e,t){return this.check(Me(e,t))},positive(e){return this.check(at(BigInt(0),e))},negative(e){return this.check(ot(BigInt(0),e))},nonpositive(e){return this.check(Me(BigInt(0),e))},nonnegative(e){return this.check(qe(BigInt(0),e))},multipleOf(e,t){return this.check(Mt(e,t))}}));function ky(e){return Tf(ei,e)}var ju=v(\"ZodBigIntFormat\",(e,t)=>{zp.init(e,t),ei.init(e,t)});function xy(e){return Of(ju,e)}function Iy(e){return Cf(ju,e)}var eg=v(\"ZodSymbol\",(e,t)=>{wp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>ah(e,n,o,r)});function Ry(e){return Nf(eg,e)}var tg=v(\"ZodUndefined\",(e,t)=>{kp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>ch(e,n,o,r)});function Py(e){return jf(tg,e)}var rg=v(\"ZodNull\",(e,t)=>{xp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>sh(e,n,o,r)});function lt(e){return Af(rg,e)}var ng=v(\"ZodAny\",(e,t)=>{Ip.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>dh(e,n,o,r)});function Au(){return Uf(ng)}var ig=v(\"ZodUnknown\",(e,t)=>{Rp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>mh(e,n,o,r)});function A(){return Df(ig)}var og=v(\"ZodNever\",(e,t)=>{Pp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>uh(e,n,o,r)});function Uu(e){return Mf(og,e)}var ag=v(\"ZodVoid\",(e,t)=>{Tp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>lh(e,n,o,r)});function Ty(e){return qf(ag,e)}var ma=v(\"ZodDate\",(e,t)=>{Ep.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>ph(e,n,o,r),e.min=(n,o)=>e.check(qe(n,o)),e.max=(n,o)=>e.check(Me(n,o))},z.derived({minDate:e=>{let{minimum:t}=ue(e);return t?new Date(t):null},maxDate:e=>{let{maximum:t}=ue(e);return t?new Date(t):null}},{}));function Ey(e){return Lf(ma,e)}var sg=v(\"ZodArray\",(e,t)=>{Cr(),Op.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>kh(e,n,o,r),e.element=t.element},{min(e,t){return this.check(bt(e,t))},nonempty(e){return this.check(bt(1,e))},max(e,t){return this.check(Pr(e,t))},length(e,t){return this.check(Tr(e,t))},unwrap(){return this.element}});function y(e,t){return Ff(sg,e,t)}function Oy(e){let t=e._zod.def.shape;return L(Object.keys(t))}var pa=v(\"ZodObject\",(e,t)=>{Cr(),Cp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>xh(e,n,o,r),z.installLazyProp(e,\"shape\",n=>n._zod.def.shape,!1)},{keyof(){return L(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(z.mergeDefs(this._zod.def,{catchall:e}))},passthrough(){return this.clone(z.mergeDefs(this._zod.def,{catchall:A()}))},loose(){return this.clone(z.mergeDefs(this._zod.def,{catchall:A()}))},strict(){return this.clone(z.mergeDefs(this._zod.def,{catchall:Uu()}))},strip(){return this.clone(z.mergeDefs(this._zod.def,{catchall:void 0}))},extend(e){return z.extend(this,e)},safeExtend(e){return z.safeExtend(this,e)},merge(e){return z.merge(this,e)},pick(e){return z.pick(this,e)},omit(e){return z.omit(this,e)},partial(...e){return z.partial(ha,this,e[0])},exactPartial(...e){return z.partial(Mu,this,e[0],\"exactPartial\")},required(...e){return z.required(qu,this,e[0])}});function h(e,t){let n={type:\"object\",shape:e??{},...z.normalizeParams(t)};return new pa(n)}function Cy(e,t){return new pa({type:\"object\",shape:e,catchall:Uu(),...z.normalizeParams(t)})}function M(e,t){return new pa({type:\"object\",shape:e,catchall:A(),...z.normalizeParams(t)})}var fa=v(\"ZodUnion\",(e,t)=>{Ko.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>lu(e,n,o,r),e.options=t.options});function E(e,t){return new fa({type:\"union\",options:e,...z.normalizeParams(t)})}var cg=v(\"ZodXor\",(e,t)=>{fa.init(e,t),Np.init(e,t),e._zod.processJSONSchema=(n,o,r)=>lu(e,n,o,r),e.options=t.options});function Ny(e,t){return new cg({type:\"union\",options:e,inclusive:!1,...z.normalizeParams(t)})}var lg=v(\"ZodDiscriminatedUnion\",(e,t)=>{fa.init(e,t),Ap.init(e,t)});function Kt(e,t,n){return new lg({type:\"union\",options:t,discriminator:e,...z.normalizeParams(n)})}var ug=v(\"ZodIntersection\",(e,t)=>{Up.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Ih(e,n,o,r)});function et(e,t){return new ug({type:\"intersection\",left:e,right:t})}var dg=v(\"ZodTuple\",(e,t)=>{Cr(),Sl.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Rh(e,n,o,r)},{rest(e){return this.clone({...this._zod.def,rest:e})},partial(){let e=this._zod.def;if(e.checks?.length)throw new Error(\".partial() cannot be used on tuple schemas containing refinements\");return this.clone({...e,items:e.items.map(t=>new ha({type:\"optional\",innerType:t}))})}});function mg(e,t,n){let o=t instanceof Z,r=o?n:t,i=o?t:null;return new dg({type:\"tuple\",items:e,rest:i,...z.normalizeParams(r)})}var Kn=v(\"ZodRecord\",(e,t)=>{Cr(),Dp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Ph(e,n,o,r),e.keyType=t.keyType,e.valueType=t.valueType});function T(e,t,n){return!t||!t._zod?new Kn({type:\"record\",keyType:u(),valueType:e,...z.normalizeParams(t)}):new Kn({type:\"record\",keyType:e,valueType:t,...z.normalizeParams(n)})}function jy(e,t,n){return new Kn({type:\"record\",keyType:e,valueType:t,...z.normalizeParams(n),partial:!0})}function Ay(e,t,n){return new Kn({type:\"record\",keyType:e,valueType:t,mode:\"loose\",...z.normalizeParams(n)})}var pg=v(\"ZodMap\",(e,t)=>{Cr(),Mp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>zh(e,n,o,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...n)=>e.check(st(...n)),e.nonempty=n=>e.check(st(1,n)),e.max=(...n)=>e.check(qt(...n)),e.size=(...n)=>e.check(Rr(...n))});function Uy(e,t,n){return new pg({type:\"map\",keyType:e,valueType:t,...z.normalizeParams(n)})}var fg=v(\"ZodSet\",(e,t)=>{Cr(),qp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>wh(e,n,o,r),e.min=(...n)=>e.check(st(...n)),e.nonempty=n=>e.check(st(1,n)),e.max=(...n)=>e.check(qt(...n)),e.size=(...n)=>e.check(Rr(...n))});function Dy(e,t){return new fg({type:\"set\",valueType:e,...z.normalizeParams(t)})}var Gn=v(\"ZodEnum\",(e,t)=>{Lp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(o,r,i)=>fh(e,o,r,i),e.enum=t.entries,e.options=[...e._zod.values];let n=new Set(Object.keys(t.entries));e.extract=(o,r)=>{let i={};for(let a of o)if(n.has(a))i[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new Gn({...t,checks:[],...z.normalizeParams(r),entries:i})},e.exclude=(o,r)=>{let i={...t.entries};for(let a of o)if(n.has(a))delete i[a];else throw new Error(`Key ${a} not found in enum`);return new Gn({...t,checks:[],...z.normalizeParams(r),entries:i})}});function L(e,t){let n=Array.isArray(e)?Object.fromEntries(e.map(o=>[o,o])):e;return new Gn({type:\"enum\",entries:n,...z.normalizeParams(t)})}function My(e,t){return new Gn({type:\"enum\",entries:e,...z.normalizeParams(t)})}var hg=v(\"ZodLiteral\",(e,t)=>{Vp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>hh(e,n,o,r),e.values=new Set(t.values),Object.defineProperty(e,\"value\",{get(){if(t.values.length>1)throw new Error(\"This schema contains multiple valid literal values. Use `.values` instead.\");return t.values[0]}})});function $(e,t){return new hg({type:\"literal\",values:Array.isArray(e)?e:[e],...z.normalizeParams(t)})}var gg=v(\"ZodFile\",(e,t)=>{Zp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>_h(e,n,o,r),e.min=(n,o)=>e.check(st(n,o)),e.max=(n,o)=>e.check(qt(n,o)),e.mime=(n,o)=>e.check(Mn(Array.isArray(n)?n:[n],o))});function qy(e){return Jf(gg,e)}var vg=v(\"ZodTransform\",(e,t)=>{Cr(),Fp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>$h(e,n,o,r),e._zod.parse=(n,o)=>{if(o.direction===\"backward\")throw new Dt(e.constructor.name);n.addIssue=i=>{if(typeof i==\"string\")n.issues.push(z.issue(i,n.value,t));else{let a=i;a.fatal&&(a.continue=!1),a.code??(a.code=\"custom\"),\"input\"in a||(a.input=n.value),a.inst??(a.inst=e),n.issues.push(z.issue(a))}};let r=t.transform(n.value,n);return r instanceof Promise?r.then(i=>(n.value=i,n)):(n.value=r,n)}});function Du(e){return new vg({type:\"transform\",transform:e})}var ha=v(\"ZodOptional\",(e,t)=>{yl.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>uu(e,n,o,r),e.unwrap=()=>e._zod.def.innerType});function j(e){return new ha({type:\"optional\",innerType:e})}var Mu=v(\"ZodExactOptional\",(e,t)=>{Jp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>uu(e,n,o,r),e.unwrap=()=>e._zod.def.innerType});function _g(e){return new Mu({type:\"optional\",innerType:e})}var Sg=v(\"ZodNullable\",(e,t)=>{Hp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Th(e,n,o,r),e.unwrap=()=>e._zod.def.innerType});function ua(e){return new Sg({type:\"nullable\",innerType:e})}function Ly(e){return j(ua(e))}var yg=v(\"ZodDefault\",(e,t)=>{Bp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Ch(e,n,o,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function bg(e,t){return new yg({type:\"default\",innerType:e,get defaultValue(){return typeof t==\"function\"?t():z.shallowClone(t)}})}var $g=v(\"ZodPrefault\",(e,t)=>{Kp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Nh(e,n,o,r),e.unwrap=()=>e._zod.def.innerType});function zg(e,t){return new $g({type:\"prefault\",innerType:e,get defaultValue(){return typeof t==\"function\"?t():z.shallowClone(t)}})}var qu=v(\"ZodNonOptional\",(e,t)=>{Gp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Eh(e,n,o,r),e.unwrap=()=>e._zod.def.innerType});function wg(e,t){return new qu({type:\"nonoptional\",innerType:e,...z.normalizeParams(t)})}var kg=v(\"ZodSuccess\",(e,t)=>{Wp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Sh(e,n,o,r),e.unwrap=()=>e._zod.def.innerType});function Vy(e){return new kg({type:\"success\",innerType:e})}var xg=v(\"ZodCatch\",(e,t)=>{Yp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>jh(e,n,o,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Ig(e,t){return new xg({type:\"catch\",innerType:e,catchValue:typeof t==\"function\"?t:z.constantCatch(t)})}var Rg=v(\"ZodNaN\",(e,t)=>{Xp.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>gh(e,n,o,r)});function Zy(e){return Zf(Rg,e)}var ga=v(\"ZodPipe\",(e,t)=>{bl.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Ah(e,n,o,r),e.in=t.in,e.out=t.out});function hu(e,t){return new ga({type:\"pipe\",in:e,out:t})}var va=v(\"ZodCodec\",(e,t)=>{ga.init(e,t),Go.init(e,t)});function Fy(e,t,n){return new va({type:\"pipe\",in:e,out:t,transform:n.decode,reverseTransform:n.encode})}function Jy(e){let t=e._zod.def;return new va({type:\"pipe\",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}var Pg=v(\"ZodPreprocess\",(e,t)=>{ga.init(e,t),Qp.init(e,t)}),Tg=v(\"ZodReadonly\",(e,t)=>{ef.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Uh(e,n,o,r),e.unwrap=()=>e._zod.def.innerType});function Eg(e){return new Tg({type:\"readonly\",innerType:e})}var Og=v(\"ZodTemplateLiteral\",(e,t)=>{tf.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>vh(e,n,o,r)});function Hy(e,t){return new Og({type:\"template_literal\",parts:e,...z.normalizeParams(t)})}var Cg=v(\"ZodLazy\",(e,t)=>{Wo.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Mh(e,n,o,r),e.unwrap=()=>e._zod.def.getter()});function Gt(e){return new Cg({type:\"lazy\",getter:e})}var Ng=v(\"ZodPromise\",(e,t)=>{nf.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>Dh(e,n,o,r),e.unwrap=()=>e._zod.def.innerType});function By(e){return new Ng({type:\"promise\",innerType:e})}var jg=v(\"ZodFunction\",(e,t)=>{rf.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>bh(e,n,o,r)});function Ky(e){return new jg({type:\"function\",input:Array.isArray(e?.input)?mg(e?.input):e?.input??y(A()),output:e?.output??A()})}var _a=v(\"ZodCustom\",(e,t)=>{of.init(e,t),F.init(e,t),e._zod.processJSONSchema=(n,o,r)=>yh(e,n,o,r)});function Gy(e){let t=new te({check:\"custom\"});return t._zod.check=e,t}function Wy(e,t){return Hf(_a,e??(()=>!0),t)}function Ag(e,t={}){return Bf(_a,e,t)}function Ug(e,t){return Kf(e,t)}var Yy=Gf,Xy=Wf,Dg=v(\"ZodInstanceOf\",(e,t)=>{_a.init(e,t)},{properties(e,t){return this.check(Dn(e,t))}});function Qy(e,t={}){let n=new Dg({type:\"custom\",check:\"custom\",fn:o=>o instanceof e,abort:!0,...z.normalizeParams(t)});return n._zod.bag.Class=e,n._zod.check=o=>{o.value instanceof e||o.issues.push({code:\"invalid_type\",expected:e.name,input:o.value,inst:n,path:[...n._zod.def.path??[]]})},n}var eb=(...e)=>Yf({Codec:va,Boolean:Qn,String:Wn},...e);function tb(e){let t=Gt(()=>E([u(e),I(),C(),lt(),y(t),T(u(),t)]));return t}function zt(e,t){return new Pg({type:\"pipe\",in:Du(e),out:t})}var qg={invalid_type:\"invalid_type\",too_big:\"too_big\",too_small:\"too_small\",invalid_format:\"invalid_format\",not_multiple_of:\"not_multiple_of\",unrecognized_keys:\"unrecognized_keys\",invalid_union:\"invalid_union\",invalid_key:\"invalid_key\",invalid_element:\"invalid_element\",invalid_value:\"invalid_value\",custom:\"custom\"};function Bx(e){ae({customError:e})}function Kx(){return ae().customError}var Mg;Mg||(Mg={});var Ke={};vt(Ke,{ZodISODate:()=>Jt,ZodISODateTime:()=>Ft,ZodISODuration:()=>Bt,ZodISOTime:()=>Ht,date:()=>Wx,datetime:()=>Gx,duration:()=>Xx,time:()=>Yx});function Gx(e){return na(Ft,e)}function Wx(e){return ia(Jt,e)}function Yx(e){return oa(Ht,e)}function Xx(e){return aa(Bt,e)}var N={...ti,...mu,iso:Ke},Qx=new Set([\"$schema\",\"$ref\",\"$defs\",\"definitions\",\"$id\",\"id\",\"$comment\",\"$anchor\",\"$vocabulary\",\"$dynamicRef\",\"$dynamicAnchor\",\"type\",\"enum\",\"const\",\"anyOf\",\"oneOf\",\"allOf\",\"not\",\"properties\",\"required\",\"additionalProperties\",\"patternProperties\",\"propertyNames\",\"minProperties\",\"maxProperties\",\"items\",\"prefixItems\",\"additionalItems\",\"minItems\",\"maxItems\",\"uniqueItems\",\"contains\",\"minContains\",\"maxContains\",\"minLength\",\"maxLength\",\"pattern\",\"format\",\"minimum\",\"maximum\",\"exclusiveMinimum\",\"exclusiveMaximum\",\"multipleOf\",\"description\",\"default\",\"contentEncoding\",\"contentMediaType\",\"contentSchema\",\"unevaluatedItems\",\"unevaluatedProperties\",\"if\",\"then\",\"else\",\"dependentSchemas\",\"dependentRequired\",\"nullable\",\"readOnly\"]);function eI(e,t){let n=e.$schema;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??\"draft-2020-12\"}function rb(e,t){return e.map((n,o)=>o<t?n:n.optional())}function tI(e){return e.replace(/~1/g,\"/\").replace(/~0/g,\"~\")}function rI(e,t){if(!e.startsWith(\"#\"))throw new Error(\"External $ref is not supported, only local refs (#/...) are allowed\");let n=e.slice(1).split(\"/\").filter(Boolean);if(n.length===0)return t.rootSchema;let o=t.version===\"draft-2020-12\"?\"$defs\":\"definitions\";if(n[0]===o){let r=n[1]===void 0?void 0:tI(n[1]);if(!r||!t.defs[r])throw new Error(`Reference not found: ${e}`);return t.defs[r]}throw new Error(`Reference not found: ${e}`)}function nI(e,t){return N.transform(o=>o).check(o=>{let r=o.value;if(typeof r!=\"object\"||r===null||Array.isArray(r))return;let i=Object.getOwnPropertyNames(r);if(t.minProperties!==void 0&&i.length<t.minProperties&&o.issues.push({origin:\"object\",code:\"too_small\",minimum:t.minProperties,inclusive:!0,message:`Too small: expected object to have >=${t.minProperties} properties`,input:r,inst:e,continue:!0}),t.maxProperties!==void 0&&i.length>t.maxProperties&&o.issues.push({origin:\"object\",code:\"too_big\",maximum:t.maxProperties,inclusive:!0,message:`Too big: expected object to have <=${t.maxProperties} properties`,input:r,inst:e,continue:!0}),t.keySchema)for(let a of i){let s=t.keySchema.safeParse(a);s.success||o.issues.push({code:\"invalid_key\",origin:\"record\",issues:s.error.issues,input:a,path:[a],continue:!0})}}).pipe(e)}function Lg(e,t){if(e===null)return\"z\";let n=typeof e;if(n!==\"object\"){if(n===\"number\"&&Number.isNaN(e))return null;let o=String(e);return`${n[0]}${o.length}:${o}`}if(t.has(e))return null;t.add(e);try{if(Array.isArray(e)){let i=[];for(let a of e){let s=Lg(a,t);if(s===null)return null;i.push(s)}return`a${i.length}:[${i.join(\",\")}]`}let o=Object.keys(e).sort(),r=[];for(let i of o){let a=Lg(e[i],t);if(a===null)return null;r.push(`${i.length}:${i}=${a}`)}return`o${r.length}:{${r.join(\",\")}}`}finally{t.delete(e)}}var iI=new Set([\"items\",\"prefixItems\",\"additionalItems\",\"additionalProperties\",\"contains\",\"propertyNames\",\"not\",\"if\",\"then\",\"else\",\"allOf\",\"anyOf\",\"oneOf\",\"unevaluatedItems\",\"unevaluatedProperties\",\"contentSchema\"]),oI=new Set([\"properties\",\"patternProperties\",\"dependentSchemas\",\"dependencies\",\"$defs\",\"definitions\"]);function Sa(e){return typeof e!=\"object\"||e===null?!1:Array.isArray(e)?e.some(Sa):typeof e.$ref==\"string\"?!0:Object.entries(e).some(([t,n])=>iI.has(t)?Sa(n):!oI.has(t)||typeof n!=\"object\"||n===null?!1:Object.values(n).some(Sa))}function nb(e){return e===1?\"element\":\"elements\"}function aI(e,t){return N.transform(o=>o).check(o=>{let r=o.value;if(Array.isArray(r)){if(t.uniqueItems===!0){let i=new Map;for(let a=0;a<r.length;a++){let s=Lg(r[a],new Set);if(s===null)continue;let c=i.get(s);if(c===void 0){i.set(s,a);continue}o.issues.push({code:\"custom\",message:`Array items must be unique: element at index ${a} duplicates the one at index ${c}`,input:r,path:[a],continue:!0})}}if(t.containsSchema){let i=t.minContains??1,a=t.maxContains!==void 0?t.maxContains+1:Number.POSITIVE_INFINITY,s=0;for(let c of r)if(t.containsSchema.safeParse(c).success&&++s>=a)break;s<i&&o.issues.push({code:\"custom\",message:`Array must contain at least ${i} matching ${nb(i)}; found ${s}`,input:r,continue:!0}),t.maxContains!==void 0&&s>t.maxContains&&o.issues.push({code:\"custom\",message:`Array must contain at most ${t.maxContains} matching ${nb(t.maxContains)}`,input:r,continue:!0})}}}).pipe(e)}function ib(e,t){if(e!==!1)return e===void 0||e===!0?N.any():Pe(e,t)}var sI=/^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|[+-](?:[01]\\d|2[0-3]):[0-5]\\d)$/;function ob(e,t){if(e.not!==void 0){if(typeof e.not==\"object\"&&Object.keys(e.not).length===0)return N.never();throw new Error(\"not is not supported in Zod (except { not: {} } for never)\")}if(e.unevaluatedItems!==void 0)throw new Error(\"unevaluatedItems is not supported\");if(e.unevaluatedProperties!==void 0)throw new Error(\"unevaluatedProperties is not supported\");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error(\"Conditional schemas (if/then/else) are not supported\");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error(\"dependentSchemas and dependentRequired are not supported\");if(e.$ref){let r=e.$ref;if(t.refs.has(r))return t.refs.get(r);if(t.processing.has(r))return N.lazy(()=>{if(!t.refs.has(r))throw new Error(`Circular reference not resolved: ${r}`);return t.refs.get(r)});t.processing.add(r);let i=rI(r,t),a=Pe(i,t);return t.refs.set(r,a),t.processing.delete(r),a}if(e.enum!==void 0){let r=e.enum;if(t.version===\"openapi-3.0\"&&e.nullable===!0&&r.length===1&&r[0]===null)return N.null();if(r.length===0)return N.never();if(r.length===1)return N.literal(r[0]);if(r.every(a=>typeof a==\"string\"))return N.enum(r);let i=r.map(a=>N.literal(a));return i.length<2?i[0]:N.union([i[0],i[1],...i.slice(2)])}if(e.const!==void 0)return N.literal(e.const);let n=e.type;if(Array.isArray(n)){let r=n.map(i=>{let a={...e,type:i};return ob(a,t)});return r.length===0?N.never():r.length===1?r[0]:N.union(r)}if(!n)return N.any();let o;switch(n){case\"string\":{let r=N.string();if(e.format){let i=e.format;i===\"email\"?r=r.check(N.email()):i===\"uri\"||i===\"uri-reference\"?r=r.check(N.url()):i===\"uuid\"||i===\"guid\"?r=r.check(N.uuid()):i===\"date-time\"?r=r.check(N.iso.datetime({offset:!0})):i===\"date\"?r=r.check(N.iso.date()):i===\"time\"?r=r.check(N.regex(sI)):i===\"duration\"?r=r.check(N.iso.duration()):i===\"hostname\"?r=r.check(N.hostname()):i===\"ipv4\"?r=r.check(N.ipv4()):i===\"ipv6\"?r=r.check(N.ipv6()):i===\"mac\"?r=r.check(N.mac()):i===\"cidr\"?r=r.check(N.cidrv4()):i===\"cidr-v6\"?r=r.check(N.cidrv6()):i===\"base64\"?r=r.check(N.base64()):i===\"base64url\"?r=r.check(N.base64url()):i===\"e164\"?r=r.check(N.e164()):i===\"credit_card\"?r=r.check(N.creditCard()):i===\"iban\"?r=r.check(N.iban()):i===\"jwt\"?r=r.check(N.jwt()):i===\"emoji\"?r=r.check(N.emoji()):i===\"nanoid\"?r=r.check(N.nanoid()):i===\"cuid\"?r=r.check(N.cuid()):i===\"cuid2\"?r=r.check(N.cuid2()):i===\"ulid\"?r=r.check(N.ulid()):i===\"xid\"?r=r.check(N.xid()):i===\"ksuid\"&&(r=r.check(N.ksuid()))}typeof e.minLength==\"number\"&&(r=r.min(e.minLength)),typeof e.maxLength==\"number\"&&(r=r.max(e.maxLength)),e.pattern&&(r=r.regex(new RegExp(e.pattern))),o=r;break}case\"number\":case\"integer\":{let r=n===\"integer\"?N.number().int():N.number();typeof e.minimum==\"number\"&&e.exclusiveMinimum!==!0&&(r=r.min(e.minimum)),typeof e.maximum==\"number\"&&e.exclusiveMaximum!==!0&&(r=r.max(e.maximum)),typeof e.exclusiveMinimum==\"number\"?r=r.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum==\"number\"&&(r=r.gt(e.minimum)),typeof e.exclusiveMaximum==\"number\"?r=r.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum==\"number\"&&(r=r.lt(e.maximum)),typeof e.multipleOf==\"number\"&&(r=r.multipleOf(e.multipleOf)),o=r;break}case\"boolean\":{o=N.boolean();break}case\"null\":{o=N.null();break}case\"object\":{let r={},i=e.properties||{},a=new Set(e.required||[]),s=typeof e.additionalProperties==\"object\"?Pe(e.additionalProperties,t):void 0;for(let[p,f]of Object.entries(i)){let g=Pe(f,t);he(r,p,a.has(p)?g:g.optional())}if(e.patternProperties){let p=e.patternProperties,f=Object.keys(p),g=[];for(let b of f){let x=Pe(p[b],t),O=N.string().regex(new RegExp(b));g.push(N.looseRecord(O,x))}let _=[];if(Object.keys(r).length>0&&_.push(N.object(r).passthrough()),_.push(...g),_.length===0)o=N.object({}).passthrough();else if(_.length===1)o=_[0];else{let b=N.intersection(_[0],_[1]);for(let x=2;x<_.length;x++)b=N.intersection(b,_[x]);o=b}if(e.additionalProperties===!1){let b=Object.keys(r),x=f.map(P=>new RegExp(P)),O=o;o=o.check(P=>{if(!Je(P.value))return;let U=[];for(let J of Object.keys(P.value))b.includes(J)||x.some(G=>G.test(J))||U.push(J);U.length&&P.issues.push({code:\"unrecognized_keys\",keys:U,input:P.value,inst:O})})}}else{let p=N.object(r);e.additionalProperties===!1?o=p.strict():s?o=p.catchall(s):o=p.passthrough()}let c=e.propertyNames!==void 0&&e.propertyNames!==!0,l=typeof e.minProperties==\"number\"?e.minProperties:void 0,d=typeof e.maxProperties==\"number\"?e.maxProperties:void 0;if(c||l!==void 0||d!==void 0){let p;if(c){let f=typeof e.propertyNames==\"object\"&&e.propertyNames.type===void 0?{type:\"string\",...e.propertyNames}:e.propertyNames;p=Pe(f,t)}o=nI(o,{keySchema:p,minProperties:l,maxProperties:d})}break}case\"array\":{let r=e.prefixItems,i=e.items;if(r&&Array.isArray(r)){let a=typeof e.minItems==\"number\"?e.minItems:0,s=r.map(p=>Pe(p,t)),c=rb(s,a),l=Array.isArray(i)?void 0:ib(i,t),d=N.tuple(c);o=l?d.rest(l):d,typeof e.minItems==\"number\"&&(o=o.check(N.minLength(e.minItems))),typeof e.maxItems==\"number\"&&(o=o.check(N.maxLength(e.maxItems)))}else if(Array.isArray(i)){let a=typeof e.minItems==\"number\"?e.minItems:0,s=i.map(p=>Pe(p,t)),c=rb(s,a),l=ib(e.additionalItems,t),d=N.tuple(c);o=l?d.rest(l):d,typeof e.minItems==\"number\"&&(o=o.check(N.minLength(e.minItems))),typeof e.maxItems==\"number\"&&(o=o.check(N.maxLength(e.maxItems)))}else if(i!==void 0){let a=Pe(i,t),s=N.array(a);typeof e.minItems==\"number\"&&(s=s.min(e.minItems)),typeof e.maxItems==\"number\"&&(s=s.max(e.maxItems)),o=s}else o=N.array(N.any());(e.uniqueItems===!0||e.contains!==void 0)&&(o=aI(o,{uniqueItems:e.uniqueItems===!0,containsSchema:e.contains!==void 0?Pe(e.contains,t):void 0,minContains:typeof e.minContains==\"number\"?e.minContains:void 0,maxContains:typeof e.maxContains==\"number\"?e.maxContains:void 0}));break}default:throw new Error(`Unsupported type: ${n}`)}return o}function Pe(e,t){if(typeof e==\"boolean\")return e?N.any():N.never();let n=ob(e,t),o=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let s=e.anyOf.map(l=>Pe(l,t)),c=N.union(s);n=o?N.intersection(n,c):c}if(e.oneOf&&Array.isArray(e.oneOf)){let s=e.oneOf.map(l=>Pe(l,t)),c=N.xor(s);n=o?N.intersection(n,c):c}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)n=o?n:N.any();else{let s=o?n:Pe(e.allOf[0],t),c=o?0:1;for(let l=c;l<e.allOf.length;l++)s=N.intersection(s,Pe(e.allOf[l],t));n=s}e.nullable===!0&&t.version===\"openapi-3.0\"&&(n=N.nullable(n)),e.readOnly===!0&&(n=N.readonly(n)),e.default!==void 0&&(n=n.default(e.default));let r={},i=[\"$id\",\"id\",\"$comment\",\"$anchor\",\"$vocabulary\",\"$dynamicRef\",\"$dynamicAnchor\"];for(let s of i)s in e&&(r[s]=e[s]);let a=[\"contentEncoding\",\"contentMediaType\",\"contentSchema\"];for(let s of a)s in e&&(r[s]=e[s]);if(e.type===\"object\"&&e.$ref===void 0){e.propertyNames!==void 0&&!Sa(e.propertyNames)&&(r.propertyNames=e.propertyNames);for(let s of[\"minProperties\",\"maxProperties\"])e[s]!==void 0&&(r[s]=e[s])}if(e.type===\"array\"&&e.$ref===void 0){e.contains!==void 0&&!Sa(e.contains)&&(r.contains=e.contains);for(let s of[\"uniqueItems\",\"minContains\",\"maxContains\"])e[s]!==void 0&&(r[s]=e[s])}for(let s of Object.keys(e))Qx.has(s)||he(r,s,e[s]);return Object.keys(r).length>0&&t.registry.add(n,r),e.description&&(n=n.describe(e.description)),n}function ab(e,t){if(typeof e==\"boolean\")return e?N.any():N.never();let n;try{n=JSON.parse(JSON.stringify(e))}catch{throw new Error(\"fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas\")}let o=eI(n,t?.defaultTarget),r=n.$defs||n.definitions||{},i={version:o,defs:r,refs:new Map,processing:new Set,rootSchema:n,registry:t?.registry??ge};return Pe(n,i)}var sb=Symbol(\"z.visit/resolving\");function ya(e,t){let n=typeof t==\"function\"?t:(a,s)=>{let c=t[a._zod.def.type];return c?c(a,s):a},o=new Map;function r(a){let s=o.get(a);if(s===sb)return new Wo({type:\"lazy\",getter:()=>o.get(a)});if(s!==void 0)return s;o.set(a,sb);let c=i(a),l=n(c,c!==a);return o.set(a,l),l}function i(a){let s=a._zod.def,c=s.type;switch(c){case\"object\":{let l=s.shape,d=Object.keys(l),p=!1,f={};for(let _ of d){let b=r(l[_]);b!==l[_]&&(p=!0),f[_]=b}let g=s.catchall;return s.catchall&&(g=r(s.catchall),g!==s.catchall&&(p=!0)),p?Y(a,{...s,shape:f,catchall:g}):a}case\"array\":{let l=r(s.element);return l===s.element?a:Y(a,{...s,element:l})}case\"tuple\":{let l=s.items,d=!1,p=[];for(let g of l){let _=r(g);_!==g&&(d=!0),p.push(_)}let f=s.rest;return s.rest&&(f=r(s.rest),f!==s.rest&&(d=!0)),d?Y(a,{...s,items:p,rest:f}):a}case\"record\":case\"map\":{let l=r(s.keyType),d=r(s.valueType);return l===s.keyType&&d===s.valueType?a:Y(a,{...s,keyType:l,valueType:d})}case\"set\":{let l=r(s.valueType);return l===s.valueType?a:Y(a,{...s,valueType:l})}case\"union\":{let l=s.options,d=!1,p=[];for(let f of l){let g=r(f);g!==f&&(d=!0),p.push(g)}return d?Y(a,{...s,options:p}):a}case\"intersection\":{let l=r(s.left),d=r(s.right);return l===s.left&&d===s.right?a:Y(a,{...s,left:l,right:d})}case\"optional\":case\"nullable\":case\"default\":case\"prefault\":case\"catch\":case\"readonly\":case\"nonoptional\":case\"promise\":case\"success\":{let l=r(s.innerType);return l===s.innerType?a:Y(a,{...s,innerType:l})}case\"pipe\":{let l=r(s.in),d=r(s.out);return l===s.in&&d===s.out?a:Y(a,{...s,in:l,out:d})}case\"function\":{let l=r(s.input),d=r(s.output);return l===s.input&&d===s.output?a:Y(a,{...s,input:l,output:d})}case\"lazy\":{let l=s.getter,{_cachedInner:d,...p}=s;return Y(a,{...p,getter:()=>r(l())})}case\"template_literal\":case\"string\":case\"number\":case\"int\":case\"boolean\":case\"bigint\":case\"symbol\":case\"undefined\":case\"null\":case\"void\":case\"never\":case\"any\":case\"unknown\":case\"date\":case\"nan\":case\"enum\":case\"literal\":case\"file\":case\"transform\":case\"custom\":return a;default:return a}}return r(e)}function cb(e){return ya(e,{object:t=>t.partial(),union:t=>{let n=t._zod.def;return n.discriminator===void 0?t:E(n.options)}})}function cI(e,t){if(!t?.length)return e;let n=e._zod.def;return Y(e,Ye(n,{checks:[...n.checks??[],...t]}),{parent:!0})}function lb(e){return cI(e.out,e.checks)}function lI(e){return e.in._zod.traits.has(\"$ZodTransform\")?lb(e):e.in}function ub(e){return ya(e,{pipe:t=>lI(t._zod.def),default:(t,n)=>n?j(t._zod.def.innerType):t,catch:(t,n)=>n?t._zod.def.innerType:t})}function db(e){return ya(e,{pipe:t=>lb(t._zod.def),prefault:(t,n)=>n?t._zod.def.innerType:t})}var ba={};vt(ba,{bigint:()=>pI,boolean:()=>mI,date:()=>fI,number:()=>dI,string:()=>uI});function uI(e){return gf(Wn,e)}function dI(e){return $f(Xn,e)}function mI(e){return Pf(Qn,e)}function pI(e){return Ef(ei,e)}function fI(e){return Vf(ma,e)}var Lu=\"2025-11-25\";var Vu=[Lu,\"2025-06-18\",\"2025-03-26\",\"2024-11-05\",\"2024-10-07\"],Zu=\"io.modelcontextprotocol/related-task\",Ar=\"io.modelcontextprotocol/protocolVersion\",ri=\"io.modelcontextprotocol/clientInfo\",Yt=\"io.modelcontextprotocol/serverInfo\",Ur=\"io.modelcontextprotocol/clientCapabilities\",Fu=\"io.modelcontextprotocol/subscriptionId\",ni=\"io.modelcontextprotocol/logLevel\";var Dr=\"2.0\";var wt=Gt(()=>E([u(),I(),C(),lt(),T(u(),wt),y(wt)])),ne=T(u(),wt),Ju=y(wt),ii=E([u(),I().int()]),oi=u(),$a=h({ttl:I().optional()}),za=h({taskId:u()}),ai=M({progressToken:ii.optional(),[Zu]:za.optional()}),fe=h({_meta:ai.optional()}),Xt=fe.extend({task:$a.optional()}),ie=h({method:u(),params:fe.loose().optional()}),ze=h({_meta:ai.optional()}),ve=h({method:u(),params:ze.loose().optional()}),si=M({get[Yt](){return dt.optional().catch(void 0)}}),oe=M({_meta:si.optional()}),tt=E([u(),I().int()]),ci=h({jsonrpc:$(Dr),id:tt,...ie.shape}).strict(),li=h({jsonrpc:$(Dr),...ve.shape}).strict(),Mr=h({jsonrpc:$(Dr),id:tt,result:oe}).strict(),qr=h({jsonrpc:$(Dr),id:tt.optional(),error:h({code:I().int(),message:u(),data:A().optional()})}).strict(),Lr=E([ci,li,Mr,qr]),Hu=E([Mr,qr]),Qt=oe.strict(),wa=ze.extend({requestId:tt.optional(),reason:u().optional()}),ui=ve.extend({method:$(\"notifications/cancelled\"),params:wa}),ka=h({src:u(),mimeType:u().optional(),sizes:y(u()).optional(),theme:L([\"light\",\"dark\"]).optional()}),kt=h({icons:y(ka).optional()}),ut=h({name:u(),title:u().optional()}),dt=ut.extend({...ut.shape,...kt.shape,version:u(),websiteUrl:u().optional(),description:u().optional()}),gI=et(h({applyDefaults:C().optional()}),ne),vI=zt(e=>e&&typeof e==\"object\"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,et(h({form:gI.optional(),url:ne.optional()}),ne.optional())),Bu=M({list:ne.optional(),cancel:ne.optional(),requests:M({sampling:M({createMessage:ne.optional()}).optional(),elicitation:M({create:ne.optional()}).optional()}).optional()}),Ku=M({list:ne.optional(),cancel:ne.optional(),requests:M({tools:M({call:ne.optional()}).optional()}).optional()}),xa=h({experimental:T(u(),ne).optional(),sampling:h({context:ne.optional(),tools:ne.optional()}).optional(),elicitation:vI.optional(),roots:h({listChanged:C().optional()}).optional(),tasks:Bu.optional(),extensions:T(u(),ne).optional()}),Ia=fe.extend({protocolVersion:u(),capabilities:xa,clientInfo:dt}),Ra=ie.extend({method:$(\"initialize\"),params:Ia}),di=h({experimental:T(u(),ne).optional(),logging:ne.optional(),completions:ne.optional(),prompts:h({listChanged:C().optional()}).optional(),resources:h({subscribe:C().optional(),listChanged:C().optional()}).optional(),tools:h({listChanged:C().optional()}).optional(),tasks:Ku.optional(),extensions:T(u(),ne).optional()}),Pa=oe.extend({protocolVersion:u(),capabilities:di,serverInfo:dt,instructions:u().optional()}),Ta=ve.extend({method:$(\"notifications/initialized\"),params:ze.optional()}),Ea=ie.extend({method:$(\"server/discover\"),params:fe.optional()}),mi=oe.extend({supportedVersions:y(u()),capabilities:di,instructions:u().optional()}),pi=ie.extend({method:$(\"ping\"),params:fe.optional()}),Oa=h({progress:I(),total:j(I()),message:j(u())}),Ca=h({...ze.shape,...Oa.shape,progressToken:ii}),fi=ve.extend({method:$(\"notifications/progress\"),params:Ca}),Na=fe.extend({cursor:oi.optional()}),xt=ie.extend({params:Na.optional()}),It=oe.extend({nextCursor:oi.optional()}),hi=h({uri:u(),mimeType:j(u()),_meta:T(u(),A()).optional()}),gi=hi.extend({text:u()}),Zg=u().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:\"Invalid Base64 string\"}),vi=hi.extend({blob:Zg}),Rt=L([\"user\",\"assistant\"]),mt=h({audience:y(Rt).optional(),priority:I().min(0).max(1).optional(),lastModified:Ke.datetime({offset:!0}).optional()}),_i=h({...ut.shape,...kt.shape,uri:u(),description:j(u()),mimeType:j(u()),size:j(I()),annotations:mt.optional(),_meta:j(M({}))}),ja=h({...ut.shape,...kt.shape,uriTemplate:u(),description:j(u()),mimeType:j(u()),annotations:mt.optional(),_meta:j(M({}))}),Aa=xt.extend({method:$(\"resources/list\")}),Ua=It.extend({resources:y(_i)}),Da=xt.extend({method:$(\"resources/templates/list\")}),Ma=It.extend({resourceTemplates:y(ja)}),Vr=fe.extend({uri:u()}),qa=Vr,La=ie.extend({method:$(\"resources/read\"),params:qa}),Va=oe.extend({contents:y(E([gi,vi]))}),Za=ve.extend({method:$(\"notifications/resources/list_changed\"),params:ze.optional()}),Fa=Vr,Ja=ie.extend({method:$(\"resources/subscribe\"),params:Fa}),Ha=Vr,Ba=ie.extend({method:$(\"resources/unsubscribe\"),params:Ha}),Si=h({toolsListChanged:C().optional(),promptsListChanged:C().optional(),resourcesListChanged:C().optional(),resourceSubscriptions:y(u()).optional()}),Ka=fe.extend({notifications:Si}),Ga=ie.extend({method:$(\"subscriptions/listen\"),params:Ka}),Wa=ze.extend({notifications:Si}),Ya=ve.extend({method:$(\"notifications/subscriptions/acknowledged\"),params:Wa}),Xa=si.extend({[Fu]:tt}),Qa=oe.extend({_meta:Xa}),es=ze.extend({uri:u()}),ts=ve.extend({method:$(\"notifications/resources/updated\"),params:es}),rs=h({name:u(),description:j(u()),required:j(C())}),ns=h({...ut.shape,...kt.shape,description:j(u()),arguments:j(y(rs)),_meta:j(M({}))}),is=xt.extend({method:$(\"prompts/list\")}),os=It.extend({prompts:y(ns)}),as=fe.extend({name:u(),arguments:T(u(),u()).optional()}),ss=ie.extend({method:$(\"prompts/get\"),params:as}),Zr=h({type:$(\"text\"),text:u(),annotations:mt.optional(),_meta:T(u(),A()).optional()}),Fr=h({type:$(\"image\"),data:Zg,mimeType:u(),annotations:mt.optional(),_meta:T(u(),A()).optional()}),Jr=h({type:$(\"audio\"),data:Zg,mimeType:u(),annotations:mt.optional(),_meta:T(u(),A()).optional()}),cs=h({type:$(\"tool_use\"),name:u(),id:u(),input:T(u(),A()),_meta:T(u(),A()).optional()}),Hr=h({type:$(\"resource\"),resource:E([gi,vi]),annotations:mt.optional(),_meta:T(u(),A()).optional()}),Br=_i.extend({type:$(\"resource_link\")}),pt=E([Zr,Fr,Jr,Br,Hr]),ls=h({role:Rt,content:pt}),us=oe.extend({description:u().optional(),messages:y(ls)}),ds=ve.extend({method:$(\"notifications/prompts/list_changed\"),params:ze.optional()}),ms=h({title:u().optional(),readOnlyHint:C().optional(),destructiveHint:C().optional(),idempotentHint:C().optional(),openWorldHint:C().optional()}),ps=h({taskSupport:L([\"required\",\"optional\",\"forbidden\"]).optional()}),er=h({...ut.shape,...kt.shape,description:u().optional(),inputSchema:h({type:$(\"object\"),properties:T(u(),wt).optional(),required:y(u()).optional()}).catchall(A()),outputSchema:M({$schema:u().optional()}).optional(),annotations:ms.optional(),execution:ps.optional(),_meta:T(u(),A()).optional()}),fs=xt.extend({method:$(\"tools/list\")}),hs=It.extend({tools:y(er)}),tr=oe.extend({content:y(pt).default([]),structuredContent:A().optional(),isError:C().optional()}),Gu=tr.or(oe.extend({toolResult:A()})),gs=Xt.extend({name:u(),arguments:T(u(),A()).optional()}),vs=ie.extend({method:$(\"tools/call\"),params:gs}),_s=ve.extend({method:$(\"notifications/tools/list_changed\"),params:ze.optional()}),Wu=h({autoRefresh:C().default(!0),debounceMs:I().int().nonnegative().default(300)}),yi=L([\"debug\",\"info\",\"notice\",\"warning\",\"error\",\"critical\",\"alert\",\"emergency\"]),Ss=fe.extend({level:yi}),ys=ie.extend({method:$(\"logging/setLevel\"),params:Ss}),bs=ze.extend({level:yi,logger:u().optional(),data:A()}),$s=ve.extend({method:$(\"notifications/message\"),params:bs}),zs=h({name:u().optional()}),ws=h({hints:y(zs).optional(),costPriority:I().min(0).max(1).optional(),speedPriority:I().min(0).max(1).optional(),intelligencePriority:I().min(0).max(1).optional()}),ks=h({mode:L([\"auto\",\"required\",\"none\"]).optional()}),xs=h({type:$(\"tool_result\"),toolUseId:u().describe(\"The unique identifier for the corresponding tool call.\"),content:y(pt),structuredContent:A().optional(),isError:C().optional(),_meta:T(u(),A()).optional()}),Is=Kt(\"type\",[Zr,Fr,Jr]),Wt=Kt(\"type\",[Zr,Fr,Jr,cs,xs]),Rs=h({role:Rt,content:E([Wt,y(Wt)]),_meta:T(u(),A()).optional()}),Ps=Xt.extend({messages:y(Rs),modelPreferences:ws.optional(),systemPrompt:u().optional(),includeContext:L([\"none\",\"thisServer\",\"allServers\"]).optional(),temperature:I().optional(),maxTokens:I().int(),stopSequences:y(u()).optional(),metadata:ne.optional(),tools:y(er).optional(),toolChoice:ks.optional()}),Ts=ie.extend({method:$(\"sampling/createMessage\"),params:Ps}),Es=oe.extend({model:u(),stopReason:j(L([\"endTurn\",\"stopSequence\",\"maxTokens\"]).or(u())),role:Rt,content:Is}),Os=oe.extend({model:u(),stopReason:j(L([\"endTurn\",\"stopSequence\",\"maxTokens\",\"toolUse\"]).or(u())),role:Rt,content:E([Wt,y(Wt)])}),bi=h({type:$(\"boolean\"),title:u().optional(),description:u().optional(),default:C().optional()}),Kr=h({type:$(\"string\"),title:u().optional(),description:u().optional(),minLength:I().optional(),maxLength:I().optional(),format:L([\"email\",\"uri\",\"date\",\"date-time\"]).optional(),default:u().optional()}),Gr=h({type:L([\"number\",\"integer\"]),title:u().optional(),description:u().optional(),minimum:I().optional(),maximum:I().optional(),default:I().optional()}),$i=h({type:$(\"string\"),title:u().optional(),description:u().optional(),enum:y(u()),default:u().optional()}),zi=h({type:$(\"string\"),title:u().optional(),description:u().optional(),oneOf:y(h({const:u(),title:u()})),default:u().optional()}),wi=h({type:$(\"string\"),title:u().optional(),description:u().optional(),enum:y(u()),enumNames:y(u()).optional(),default:u().optional()}),Cs=E([$i,zi]),ki=h({type:$(\"array\"),title:u().optional(),description:u().optional(),minItems:I().optional(),maxItems:I().optional(),items:h({type:$(\"string\"),enum:y(u())}),default:y(u()).optional()}),xi=h({type:$(\"array\"),title:u().optional(),description:u().optional(),minItems:I().optional(),maxItems:I().optional(),items:h({anyOf:y(h({const:u(),title:u()}))}),default:y(u()).optional()}),Ns=E([ki,xi]),js=E([wi,Cs,Ns]),Ii=E([js,bi,Kr,Gr]),Wr=Xt.extend({mode:$(\"form\").optional(),message:u(),requestedSchema:h({type:$(\"object\"),properties:T(u(),Ii),required:y(u()).optional()}).catchall(A())}),As=Xt.extend({mode:$(\"url\"),message:u(),elicitationId:u(),url:u().url()}),Us=E([Wr,As]),Ds=ie.extend({method:$(\"elicitation/create\"),params:Us}),Ms=ze.extend({elicitationId:u()}),qs=ve.extend({method:$(\"notifications/elicitation/complete\"),params:Ms}),Ls=oe.extend({action:L([\"accept\",\"decline\",\"cancel\"]),content:zt(e=>e===null?void 0:e,T(u(),E([u(),I(),C(),y(u())])).optional())}),Vs=h({type:$(\"ref/resource\"),uri:u()}),Zs=h({type:$(\"ref/prompt\"),name:u()}),Fs=fe.extend({ref:E([Zs,Vs]),argument:h({name:u(),value:u()}),context:h({arguments:T(u(),u()).optional()}).optional()}),Js=ie.extend({method:$(\"completion/complete\"),params:Fs}),Hs=oe.extend({completion:M({values:y(u()).max(100),total:j(I().int()),hasMore:j(C())})}),Bs=h({uri:u().startsWith(\"file://\"),name:u().optional(),_meta:T(u(),A()).optional()}),Ks=ie.extend({method:$(\"roots/list\"),params:fe.optional()}),Gs=oe.extend({roots:y(Bs)}),Ws=ve.extend({method:$(\"notifications/roots/list_changed\"),params:ze.optional()}),Yu=M({ttl:I().optional(),pollInterval:I().optional()}),Ys=L([\"working\",\"input_required\",\"completed\",\"failed\",\"cancelled\"]),Pt=h({taskId:u(),status:Ys,ttl:E([I(),lt()]),createdAt:u(),lastUpdatedAt:u(),pollInterval:j(I()),statusMessage:j(u())}),Xu=oe.extend({task:Pt}),Xs=ze.merge(Pt),Qu=ve.extend({method:$(\"notifications/tasks/status\"),params:Xs}),ed=ie.extend({method:$(\"tasks/get\"),params:fe.extend({taskId:u()})}),td=oe.merge(Pt),rd=ie.extend({method:$(\"tasks/result\"),params:fe.extend({taskId:u()})}),nd=oe.loose(),id=xt.extend({method:$(\"tasks/list\")}),od=It.extend({tasks:y(Pt)}),ad=ie.extend({method:$(\"tasks/cancel\"),params:fe.extend({taskId:u()})}),sd=oe.merge(Pt),cd=E([pi,Ra,Ea,Js,ys,ss,is,Aa,Da,La,Ja,Ba,Ga,vs,fs]),ld=E([ui,fi,Ta,Ws]),ud=E([Qt,Es,Os,Ls,Gs]),dd=E([pi,Ts,Ds,Ks]),md=E([ui,fi,$s,ts,Za,_s,ds,Ya,qs]),pd=E([Qt,Pa,mi,Hs,us,os,Ua,Ma,Va,tr,hs,Qa]),pe=Yn().superRefine((e,t)=>{if(!URL.canParse(e))return t.addIssue({code:qg.custom,message:\"URL must be parseable\",fatal:!0}),Co}).refine(e=>{let t=new URL(e);return t.protocol!==\"javascript:\"&&t.protocol!==\"data:\"&&t.protocol!==\"vbscript:\"},{message:\"URL cannot use javascript:, data:, or vbscript: scheme\"}),Qs=M({resource:u().url(),authorization_servers:y(pe).optional(),jwks_uri:u().url().optional(),scopes_supported:y(u()).optional(),bearer_methods_supported:y(u()).optional(),resource_signing_alg_values_supported:y(u()).optional(),resource_name:u().optional(),resource_documentation:u().optional(),resource_policy_uri:u().url().optional(),resource_tos_uri:u().url().optional(),tls_client_certificate_bound_access_tokens:C().optional(),authorization_details_types_supported:y(u()).optional(),dpop_signing_alg_values_supported:y(u()).optional(),dpop_bound_access_tokens_required:C().optional()}),Ri=M({issuer:u(),authorization_endpoint:pe,token_endpoint:pe,registration_endpoint:pe.optional(),scopes_supported:y(u()).optional(),response_types_supported:y(u()),response_modes_supported:y(u()).optional(),grant_types_supported:y(u()).optional(),token_endpoint_auth_methods_supported:y(u()).optional(),token_endpoint_auth_signing_alg_values_supported:y(u()).optional(),service_documentation:pe.optional(),revocation_endpoint:pe.optional(),revocation_endpoint_auth_methods_supported:y(u()).optional(),revocation_endpoint_auth_signing_alg_values_supported:y(u()).optional(),introspection_endpoint:u().optional(),introspection_endpoint_auth_methods_supported:y(u()).optional(),introspection_endpoint_auth_signing_alg_values_supported:y(u()).optional(),code_challenge_methods_supported:y(u()).optional(),client_id_metadata_document_supported:C().optional(),authorization_response_iss_parameter_supported:C().optional().catch(void 0),dpop_signing_alg_values_supported:y(u()).optional()}),ec=M({issuer:u(),authorization_endpoint:pe,token_endpoint:pe,userinfo_endpoint:pe.optional(),jwks_uri:pe,registration_endpoint:pe.optional(),scopes_supported:y(u()).optional(),response_types_supported:y(u()),response_modes_supported:y(u()).optional(),grant_types_supported:y(u()).optional(),acr_values_supported:y(u()).optional(),subject_types_supported:y(u()),id_token_signing_alg_values_supported:y(u()),id_token_encryption_alg_values_supported:y(u()).optional(),id_token_encryption_enc_values_supported:y(u()).optional(),userinfo_signing_alg_values_supported:y(u()).optional(),userinfo_encryption_alg_values_supported:y(u()).optional(),userinfo_encryption_enc_values_supported:y(u()).optional(),request_object_signing_alg_values_supported:y(u()).optional(),request_object_encryption_alg_values_supported:y(u()).optional(),request_object_encryption_enc_values_supported:y(u()).optional(),token_endpoint_auth_methods_supported:y(u()).optional(),token_endpoint_auth_signing_alg_values_supported:y(u()).optional(),display_values_supported:y(u()).optional(),claim_types_supported:y(u()).optional(),claims_supported:y(u()).optional(),service_documentation:u().optional(),claims_locales_supported:y(u()).optional(),ui_locales_supported:y(u()).optional(),claims_parameter_supported:C().optional(),request_parameter_supported:C().optional(),request_uri_parameter_supported:C().optional(),require_request_uri_registration:C().optional(),op_policy_uri:pe.optional(),op_tos_uri:pe.optional(),client_id_metadata_document_supported:C().optional(),authorization_response_iss_parameter_supported:C().optional().catch(void 0)}),tc=h({...ec.shape,...Ri.pick({code_challenge_methods_supported:!0}).shape}),rc=h({access_token:u(),id_token:u().optional(),token_type:u(),expires_in:ba.number().optional(),scope:u().optional(),refresh_token:u().optional(),issuer:u().optional().catch(void 0)}).strip(),nc=h({issued_token_type:$(\"urn:ietf:params:oauth:token-type:id-jag\"),access_token:u(),token_type:u().optional(),expires_in:I().optional(),scope:u().optional()}).strip(),ic=h({error:u(),error_description:u().optional(),error_uri:u().optional()}),Vg=pe.optional().or($(\"\").transform(()=>{})),oc=h({redirect_uris:y(pe),token_endpoint_auth_method:u().optional(),grant_types:y(u()).optional(),response_types:y(u()).optional(),application_type:u().optional(),client_name:u().optional(),client_uri:pe.optional(),logo_uri:Vg,scope:u().optional(),contacts:y(u()).optional(),tos_uri:Vg,policy_uri:u().optional(),jwks_uri:pe.optional(),jwks:Au().optional(),software_id:u().optional(),software_version:u().optional(),software_statement:u().optional()}).strip(),ac=h({client_id:u(),client_secret:u().optional(),client_id_issued_at:I().optional(),client_secret_expires_at:I().optional(),issuer:u().optional().catch(void 0)}).strip(),sc=oc.merge(ac),fd=h({error:u(),error_description:u().optional()}).strip(),hd=h({token:u(),token_type_hint:u().optional()}).strip();var Gg=Symbol.for(\"mcp.sdk.errorBrands\");function Yr(e,t){let n=new Set,o=t;for(;typeof o==\"function\";){let r=o.mcpBrand;Object.prototype.hasOwnProperty.call(o,\"mcpBrand\")&&typeof r==\"string\"&&n.add(r),o=Object.getPrototypeOf(o)}n.size!==0&&Object.defineProperty(e,Gg,{value:n,enumerable:!1,configurable:!0})}function Le(e,t){try{if(typeof t==\"object\"&&t!==null&&Object.prototype.hasOwnProperty.call(e,\"mcpBrand\")&&typeof e.mcpBrand==\"string\"&&Object.prototype.hasOwnProperty.call(t,Gg)){let n=t[Gg];if(n&&typeof n.has==\"function\"&&n.has(e.mcpBrand))return!0}}catch{}return Function.prototype[Symbol.hasInstance].call(e,t)}var _I=class Eb extends Error{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.OAuthError\"})}static[Symbol.hasInstance](t){return Le(this,t)}static isInstance(t){if(typeof this!=\"function\")throw new TypeError(\"isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`\");return Le(this,t)}constructor(t,n,o){super(n),this.code=t,this.errorUri=o,this.name=\"OAuthError\",Yr(this,new.target)}toResponseObject(){let t={error:this.code,error_description:this.message};return this.errorUri&&(t.error_uri=this.errorUri),t}static fromResponse(t){return new Eb(t.error,t.error_description??t.error,t.error_uri)}},_e=(function(e){return e.NotConnected=\"NOT_CONNECTED\",e.AlreadyConnected=\"ALREADY_CONNECTED\",e.NotInitialized=\"NOT_INITIALIZED\",e.CapabilityNotSupported=\"CAPABILITY_NOT_SUPPORTED\",e.RequestTimeout=\"REQUEST_TIMEOUT\",e.ConnectionClosed=\"CONNECTION_CLOSED\",e.SendFailed=\"SEND_FAILED\",e.InvalidResult=\"INVALID_RESULT\",e.UnsupportedResultType=\"UNSUPPORTED_RESULT_TYPE\",e.InputRequiredRoundsExceeded=\"INPUT_REQUIRED_ROUNDS_EXCEEDED\",e.ListPaginationExceeded=\"LIST_PAGINATION_EXCEEDED\",e.MethodNotSupportedByProtocolVersion=\"METHOD_NOT_SUPPORTED_BY_PROTOCOL_VERSION\",e.EraNegotiationFailed=\"ERA_NEGOTIATION_FAILED\",e.ClientHttpNotImplemented=\"CLIENT_HTTP_NOT_IMPLEMENTED\",e.ClientHttpAuthentication=\"CLIENT_HTTP_AUTHENTICATION\",e.ClientHttpForbidden=\"CLIENT_HTTP_FORBIDDEN\",e.ClientHttpUnexpectedContent=\"CLIENT_HTTP_UNEXPECTED_CONTENT\",e.ClientHttpFailedToOpenStream=\"CLIENT_HTTP_FAILED_TO_OPEN_STREAM\",e.ClientHttpFailedToTerminateSession=\"CLIENT_HTTP_FAILED_TO_TERMINATE_SESSION\",e})({}),ce=class extends Error{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.SdkError\"})}static[Symbol.hasInstance](e){return Le(this,e)}static isInstance(e){if(typeof this!=\"function\")throw new TypeError(\"isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`\");return Le(this,e)}constructor(e,t,n,o){super(t,o),this.code=e,this.data=n,this.name=\"SdkError\",Yr(this,new.target)}},SI=class extends ce{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.SdkHttpError\"})}constructor(e,t,n,o){super(e,t,n,o),this.name=\"SdkHttpError\"}get status(){return this.data.status}get statusText(){return this.data.statusText}};var yI=\"2026-07-28\";function Ob(e){return e>=yI}function Cb(e){let t=e.structuredContent;return t===void 0||!(typeof t!=\"object\"||t===null||Array.isArray(t))||(e.content?.some(n=>n.type===\"text\")??!1)?e:{...e,content:[...e.content??[],{type:\"text\",text:JSON.stringify(t)}]}}var Nb=[\"task\",\"inputRequests\",\"requestState\"];function bI(e){return e===null||typeof e!=\"object\"||Array.isArray(e)||e.content!==void 0||Nb.some(t=>t in e)?e:{...e,content:[]}}function $I(){let e=Gt(()=>E([u(),I(),C(),lt(),T(u(),e),y(e)])),t=T(u(),e),n=E([u(),I().int()]),o=u(),r=h({ttl:I().optional()}),i=h({taskId:u()}),a=M({progressToken:n.optional(),\"io.modelcontextprotocol/related-task\":i.optional()}),s=h({_meta:a.optional()}),c=s.extend({task:r.optional()}),l=h({method:u(),params:s.loose().optional()}),d=h({_meta:a.optional()}),p=h({method:u(),params:d.loose().optional()}),f=M({_meta:a.optional()}),g=E([u(),I().int()]),_=f.strict(),b=d.extend({requestId:g.optional(),reason:u().optional()}),x=p.extend({method:$(\"notifications/cancelled\"),params:b}),O=h({src:u(),mimeType:u().optional(),sizes:y(u()).optional(),theme:L([\"light\",\"dark\"]).optional()}),P=h({icons:y(O).optional()}),U=h({name:u(),title:u().optional()}),J=U.extend({...U.shape,...P.shape,version:u(),websiteUrl:u().optional(),description:u().optional()}),G=et(h({applyDefaults:C().optional()}),t),D=zt(be=>be&&typeof be==\"object\"&&!Array.isArray(be)&&Object.keys(be).length===0?{form:{}}:be,et(h({form:G.optional(),url:t.optional()}),t.optional())),W=M({list:t.optional(),cancel:t.optional(),requests:M({sampling:M({createMessage:t.optional()}).optional(),elicitation:M({create:t.optional()}).optional()}).optional()}),Ae=M({list:t.optional(),cancel:t.optional(),requests:M({tools:M({call:t.optional()}).optional()}).optional()}),de=h({experimental:T(u(),t).optional(),sampling:h({context:t.optional(),tools:t.optional()}).optional(),elicitation:D.optional(),roots:h({listChanged:C().optional()}).optional(),tasks:W.optional(),extensions:T(u(),t).optional()}),Ze=s.extend({protocolVersion:u(),capabilities:de,clientInfo:J}),rt=l.extend({method:$(\"initialize\"),params:Ze}),nr=h({experimental:T(u(),t).optional(),logging:t.optional(),completions:t.optional(),prompts:h({listChanged:C().optional()}).optional(),resources:h({subscribe:C().optional(),listChanged:C().optional()}).optional(),tools:h({listChanged:C().optional()}).optional(),tasks:Ae.optional(),extensions:T(u(),t).optional()}),ir=f.extend({protocolVersion:u(),capabilities:nr,serverInfo:J,instructions:u().optional()}),Qr=p.extend({method:$(\"notifications/initialized\"),params:d.optional()}),Tt=l.extend({method:$(\"ping\"),params:s.optional()}),or=h({progress:I(),total:j(I()),message:j(u())}),nt=h({...d.shape,...or.shape,progressToken:n}),Et=p.extend({method:$(\"notifications/progress\"),params:nt}),en=s.extend({cursor:o.optional()}),ht=l.extend({params:en.optional()}),gt=f.extend({nextCursor:o.optional()}),tn=h({uri:u(),mimeType:j(u()),_meta:T(u(),A()).optional()}),rn=tn.extend({text:u()}),ar=u().refine(be=>{try{return atob(be),!0}catch{return!1}},{message:\"Invalid Base64 string\"}),nn=tn.extend({blob:ar}),it=L([\"user\",\"assistant\"]),Ge=h({audience:y(it).optional(),priority:I().min(0).max(1).optional(),lastModified:Ke.datetime({offset:!0}).optional()}),sr=h({...U.shape,...P.shape,uri:u(),description:j(u()),mimeType:j(u()),size:j(I()),annotations:Ge.optional(),_meta:j(M({}))}),Ti=h({...U.shape,...P.shape,uriTemplate:u(),description:j(u()),mimeType:j(u()),annotations:Ge.optional(),_meta:j(M({}))}),Ei=ht.extend({method:$(\"resources/list\")}),Oi=gt.extend({resources:y(sr)}),Ot=ht.extend({method:$(\"resources/templates/list\")}),on=gt.extend({resourceTemplates:y(Ti)}),cr=s.extend({uri:u()}),Ci=cr,Ni=l.extend({method:$(\"resources/read\"),params:Ci}),ji=f.extend({contents:y(E([rn,nn]))}),Ai=p.extend({method:$(\"notifications/resources/list_changed\"),params:d.optional()}),Ui=cr,Di=l.extend({method:$(\"resources/subscribe\"),params:Ui}),Mi=cr,qi=l.extend({method:$(\"resources/unsubscribe\"),params:Mi}),Li=d.extend({uri:u()}),Vi=p.extend({method:$(\"notifications/resources/updated\"),params:Li}),Zi=h({name:u(),description:j(u()),required:j(C())}),Fi=h({...U.shape,...P.shape,description:j(u()),arguments:j(y(Zi)),_meta:j(M({}))}),Ji=ht.extend({method:$(\"prompts/list\")}),Hi=gt.extend({prompts:y(Fi)}),Bi=s.extend({name:u(),arguments:T(u(),u()).optional()}),Ki=l.extend({method:$(\"prompts/get\"),params:Bi}),lr=h({type:$(\"text\"),text:u(),annotations:Ge.optional(),_meta:T(u(),A()).optional()}),ur=h({type:$(\"image\"),data:ar,mimeType:u(),annotations:Ge.optional(),_meta:T(u(),A()).optional()}),dr=h({type:$(\"audio\"),data:ar,mimeType:u(),annotations:Ge.optional(),_meta:T(u(),A()).optional()}),Gi=h({type:$(\"tool_use\"),name:u(),id:u(),input:T(u(),A()),_meta:T(u(),A()).optional()}),Ct=h({type:$(\"resource\"),resource:E([rn,nn]),annotations:Ge.optional(),_meta:T(u(),A()).optional()}),Wi=sr.extend({type:$(\"resource_link\")}),Fe=E([lr,ur,dr,Wi,Ct]),an=h({role:it,content:Fe}),sn=f.extend({description:u().optional(),messages:y(an)}),mr=p.extend({method:$(\"notifications/prompts/list_changed\"),params:d.optional()}),Yi=h({title:u().optional(),readOnlyHint:C().optional(),destructiveHint:C().optional(),idempotentHint:C().optional(),openWorldHint:C().optional()}),cn=h({taskSupport:L([\"required\",\"optional\",\"forbidden\"]).optional()}),pr=h({...U.shape,...P.shape,description:u().optional(),inputSchema:h({type:$(\"object\"),properties:T(u(),e).optional(),required:y(u()).optional()}).catchall(A()),outputSchema:h({type:$(\"object\"),properties:T(u(),e).optional(),required:y(u()).optional()}).catchall(A()).optional(),annotations:Yi.optional(),execution:cn.optional(),_meta:T(u(),A()).optional()}),ln=ht.extend({method:$(\"tools/list\")}),un=gt.extend({tools:y(pr)}),dn=f.extend({content:y(Fe),structuredContent:T(u(),A()).optional(),isError:C().optional()}),ye=c.extend({name:u(),arguments:T(u(),A()).optional()}),Xi=l.extend({method:$(\"tools/call\"),params:ye}),_c=p.extend({method:$(\"notifications/tools/list_changed\"),params:d.optional()}),mn=L([\"debug\",\"info\",\"notice\",\"warning\",\"error\",\"critical\",\"alert\",\"emergency\"]),Qi=s.extend({level:mn}),eo=l.extend({method:$(\"logging/setLevel\"),params:Qi}),to=d.extend({level:mn,logger:u().optional(),data:A()}),ro=p.extend({method:$(\"notifications/message\"),params:to}),no=h({name:u().optional()}),io=h({hints:y(no).optional(),costPriority:I().min(0).max(1).optional(),speedPriority:I().min(0).max(1).optional(),intelligencePriority:I().min(0).max(1).optional()}),oo=h({mode:L([\"auto\",\"required\",\"none\"]).optional()}),Sc=h({type:$(\"tool_result\"),toolUseId:u().describe(\"The unique identifier for the corresponding tool call.\"),content:y(Fe),structuredContent:h({}).loose().optional(),isError:C().optional(),_meta:T(u(),A()).optional()}),ao=Kt(\"type\",[lr,ur,dr]),Nt=Kt(\"type\",[lr,ur,dr,Gi,Sc]),so=h({role:it,content:E([Nt,y(Nt)]),_meta:T(u(),A()).optional()}),co=c.extend({messages:y(so),modelPreferences:io.optional(),systemPrompt:u().optional(),includeContext:L([\"none\",\"thisServer\",\"allServers\"]).optional(),temperature:I().optional(),maxTokens:I().int(),stopSequences:y(u()).optional(),metadata:t.optional(),tools:y(pr).optional(),toolChoice:oo.optional()}),lo=l.extend({method:$(\"sampling/createMessage\"),params:co}),uo=f.extend({model:u(),stopReason:j(L([\"endTurn\",\"stopSequence\",\"maxTokens\"]).or(u())),role:it,content:ao}),mo=f.extend({model:u(),stopReason:j(L([\"endTurn\",\"stopSequence\",\"maxTokens\",\"toolUse\"]).or(u())),role:it,content:E([Nt,y(Nt)])}),po=h({type:$(\"boolean\"),title:u().optional(),description:u().optional(),default:C().optional()}),fo=h({type:$(\"string\"),title:u().optional(),description:u().optional(),minLength:I().optional(),maxLength:I().optional(),format:L([\"email\",\"uri\",\"date\",\"date-time\"]).optional(),default:u().optional()}),ho=h({type:L([\"number\",\"integer\"]),title:u().optional(),description:u().optional(),minimum:I().optional(),maximum:I().optional(),default:I().optional()}),go=h({type:$(\"string\"),title:u().optional(),description:u().optional(),enum:y(u()),default:u().optional()}),vo=h({type:$(\"string\"),title:u().optional(),description:u().optional(),oneOf:y(h({const:u(),title:u()})),default:u().optional()}),_o=h({type:$(\"string\"),title:u().optional(),description:u().optional(),enum:y(u()),enumNames:y(u()).optional(),default:u().optional()}),So=E([go,vo]),fr=h({type:$(\"array\"),title:u().optional(),description:u().optional(),minItems:I().optional(),maxItems:I().optional(),items:h({type:$(\"string\"),enum:y(u())}),default:y(u()).optional()}),hr=h({type:$(\"array\"),title:u().optional(),description:u().optional(),minItems:I().optional(),maxItems:I().optional(),items:h({anyOf:y(h({const:u(),title:u()}))}),default:y(u()).optional()}),yc=E([fr,hr]),bc=E([_o,So,yc]),Ue=E([bc,po,fo,ho]),De=c.extend({mode:$(\"form\").optional(),message:u(),requestedSchema:h({type:$(\"object\"),properties:T(u(),Ue),required:y(u()).optional()}).catchall(A())}),yo=c.extend({mode:$(\"url\"),message:u(),elicitationId:u(),url:u().url()}),We=E([De,yo]),$c=l.extend({method:$(\"elicitation/create\"),params:We}),zc=d.extend({elicitationId:u()}),wc=p.extend({method:$(\"notifications/elicitation/complete\"),params:zc}),kc=f.extend({action:L([\"accept\",\"decline\",\"cancel\"]),content:zt(be=>be===null?void 0:be,T(u(),E([u(),I(),C(),y(u())])).optional())}),xc=h({type:$(\"ref/resource\"),uri:u()}),Ic=h({type:$(\"ref/prompt\"),name:u()}),Rc=s.extend({ref:E([Ic,xc]),argument:h({name:u(),value:u()}),context:h({arguments:T(u(),u()).optional()}).optional()}),bo=l.extend({method:$(\"completion/complete\"),params:Rc}),Pc=f.extend({completion:M({values:y(u()).max(100),total:j(I().int()),hasMore:j(C())})}),Tc=h({uri:u().startsWith(\"file://\"),name:u().optional(),_meta:T(u(),A()).optional()}),pn=l.extend({method:$(\"roots/list\"),params:s.optional()}),$o=f.extend({roots:y(Tc)}),Ec=p.extend({method:$(\"notifications/roots/list_changed\"),params:d.optional()}),Oc=M({ttl:I().optional(),pollInterval:I().optional()}),zo=L([\"working\",\"input_required\",\"completed\",\"failed\",\"cancelled\"]),jt=h({taskId:u(),status:zo,ttl:E([I(),lt()]),createdAt:u(),lastUpdatedAt:u(),pollInterval:j(I()),statusMessage:j(u())}),Te=f.extend({task:jt}),Cc=d.merge(jt),gr=p.extend({method:$(\"notifications/tasks/status\"),params:Cc}),fn=l.extend({method:$(\"tasks/get\"),params:s.extend({taskId:u()})}),hn=f.merge(jt),gn=l.extend({method:$(\"tasks/result\"),params:s.extend({taskId:u()})}),wd=f.loose(),we=ht.extend({method:$(\"tasks/list\")}),se=gt.extend({tasks:y(jt)}),vr=l.extend({method:$(\"tasks/cancel\"),params:s.extend({taskId:u()})});return{JSONValueSchema:e,JSONObjectSchema:t,ProgressTokenSchema:n,CursorSchema:o,TaskMetadataSchema:r,RelatedTaskMetadataSchema:i,RequestMetaSchema:a,BaseRequestParamsSchema:s,TaskAugmentedRequestParamsSchema:c,RequestSchema:l,NotificationsParamsSchema:d,NotificationSchema:p,ResultSchema:f,RequestIdSchema:g,EmptyResultSchema:_,CancelledNotificationParamsSchema:b,CancelledNotificationSchema:x,IconSchema:O,IconsSchema:P,BaseMetadataSchema:U,ImplementationSchema:J,ClientTasksCapabilitySchema:W,ServerTasksCapabilitySchema:Ae,ClientCapabilitiesSchema:de,InitializeRequestParamsSchema:Ze,InitializeRequestSchema:rt,ServerCapabilitiesSchema:nr,InitializeResultSchema:ir,InitializedNotificationSchema:Qr,PingRequestSchema:Tt,ProgressSchema:or,ProgressNotificationParamsSchema:nt,ProgressNotificationSchema:Et,PaginatedRequestParamsSchema:en,PaginatedRequestSchema:ht,PaginatedResultSchema:gt,ResourceContentsSchema:tn,TextResourceContentsSchema:rn,BlobResourceContentsSchema:nn,RoleSchema:it,AnnotationsSchema:Ge,ResourceSchema:sr,ResourceTemplateSchema:Ti,ListResourcesRequestSchema:Ei,ListResourcesResultSchema:Oi,ListResourceTemplatesRequestSchema:Ot,ListResourceTemplatesResultSchema:on,ResourceRequestParamsSchema:cr,ReadResourceRequestParamsSchema:Ci,ReadResourceRequestSchema:Ni,ReadResourceResultSchema:ji,ResourceListChangedNotificationSchema:Ai,SubscribeRequestParamsSchema:Ui,SubscribeRequestSchema:Di,UnsubscribeRequestParamsSchema:Mi,UnsubscribeRequestSchema:qi,ResourceUpdatedNotificationParamsSchema:Li,ResourceUpdatedNotificationSchema:Vi,PromptArgumentSchema:Zi,PromptSchema:Fi,ListPromptsRequestSchema:Ji,ListPromptsResultSchema:Hi,GetPromptRequestParamsSchema:Bi,GetPromptRequestSchema:Ki,TextContentSchema:lr,ImageContentSchema:ur,AudioContentSchema:dr,ToolUseContentSchema:Gi,EmbeddedResourceSchema:Ct,ResourceLinkSchema:Wi,ContentBlockSchema:Fe,PromptMessageSchema:an,GetPromptResultSchema:sn,PromptListChangedNotificationSchema:mr,ToolAnnotationsSchema:Yi,ToolExecutionSchema:cn,ToolSchema:pr,ListToolsRequestSchema:ln,ListToolsResultSchema:un,CallToolResultSchema:dn,CallToolRequestParamsSchema:ye,CallToolRequestSchema:Xi,ToolListChangedNotificationSchema:_c,LoggingLevelSchema:mn,SetLevelRequestParamsSchema:Qi,SetLevelRequestSchema:eo,LoggingMessageNotificationParamsSchema:to,LoggingMessageNotificationSchema:ro,ModelHintSchema:no,ModelPreferencesSchema:io,ToolChoiceSchema:oo,ToolResultContentSchema:Sc,SamplingContentSchema:ao,SamplingMessageContentBlockSchema:Nt,SamplingMessageSchema:so,CreateMessageRequestParamsSchema:co,CreateMessageRequestSchema:lo,CreateMessageResultSchema:uo,CreateMessageResultWithToolsSchema:mo,BooleanSchemaSchema:po,StringSchemaSchema:fo,NumberSchemaSchema:ho,UntitledSingleSelectEnumSchemaSchema:go,TitledSingleSelectEnumSchemaSchema:vo,LegacyTitledEnumSchemaSchema:_o,SingleSelectEnumSchemaSchema:So,UntitledMultiSelectEnumSchemaSchema:fr,TitledMultiSelectEnumSchemaSchema:hr,MultiSelectEnumSchemaSchema:yc,EnumSchemaSchema:bc,PrimitiveSchemaDefinitionSchema:Ue,ElicitRequestFormParamsSchema:De,ElicitRequestURLParamsSchema:yo,ElicitRequestParamsSchema:We,ElicitRequestSchema:$c,ElicitationCompleteNotificationParamsSchema:zc,ElicitationCompleteNotificationSchema:wc,ElicitResultSchema:kc,ResourceTemplateReferenceSchema:xc,PromptReferenceSchema:Ic,CompleteRequestParamsSchema:Rc,CompleteRequestSchema:bo,CompleteResultSchema:Pc,RootSchema:Tc,ListRootsRequestSchema:pn,ListRootsResultSchema:$o,RootsListChangedNotificationSchema:Ec,TaskCreationParamsSchema:Oc,TaskStatusSchema:zo,TaskSchema:jt,CreateTaskResultSchema:Te,TaskStatusNotificationParamsSchema:Cc,TaskStatusNotificationSchema:gr,GetTaskRequestSchema:fn,GetTaskResultSchema:hn,GetTaskPayloadRequestSchema:gn,GetTaskPayloadResultSchema:wd,ListTasksRequestSchema:we,ListTasksResultSchema:se,CancelTaskRequestSchema:vr,CancelTaskResultSchema:f.merge(jt),ClientRequestSchema:E([Tt,rt,bo,eo,Ki,Ji,Ei,Ot,Ni,Di,qi,Xi,ln,fn,gn,we,vr]),ClientNotificationSchema:E([x,Et,Qr,Ec,gr]),ClientResultSchema:E([_,uo,mo,kc,$o,hn,se,Te]),ServerRequestSchema:E([Tt,lo,$c,pn,fn,gn,we,vr]),ServerNotificationSchema:E([x,Et,ro,Vi,Ai,_c,mr,gr,wc]),ServerResultSchema:E([_,ir,Pc,sn,Hi,Oi,on,ji,dn,un,hn,se,Te]),CallToolResultWireSchema:A().superRefine((be,y$)=>{if(!(typeof be!=\"object\"||be===null||Array.isArray(be)||be.content!==void 0)){for(let vv of Nb)if(vv in be){y$.addIssue({code:\"custom\",message:`content is required when the body carries '${vv}' \\u2014 another result family cannot default into an empty tools/call success`});return}}}).transform(bI).pipe(dn)}}var zI;function jb(){return zI??=$I()}function Ab(e){return e.type!==\"object\"}var wI=new Set([\"const\",\"enum\",\"default\",\"examples\"]),kI=new Set([\"properties\",\"patternProperties\",\"$defs\",\"definitions\",\"dependentSchemas\",\"dependencies\"]);function bb(e){return e!==void 0&&!(typeof e==\"string\"&&e.startsWith(\"#\"))}function xI(e){let t=typeof e.$schema==\"string\"?e.$schema:void 0;if(bb(e.$id))return{...t!==void 0&&{$schema:t},type:\"object\",properties:{result:e},required:[\"result\"]};let n=bv(e.$schema)&&e.$recursiveAnchor!==!0,o=(r,i)=>{if(Array.isArray(r))return r.map(c=>o(c,!1));if(r===null||typeof r!=\"object\"||!i&&bb(r.$id))return r;let a={},s=!1;for(let[c,l]of Object.entries(r))i?a[c]=o(l,!1):(c===\"$ref\"||c===\"$dynamicRef\")&&typeof l==\"string\"?a[c]=l===\"#\"?\"#/properties/result\":l.startsWith(\"#/\")?`#/properties/result${l.slice(1)}`:l:c===\"$recursiveRef\"&&l===\"#\"&&n?s=!0:wI.has(c)?a[c]=l:kI.has(c)?a[c]=o(l,!0):a[c]=o(l,!1);return s&&(\"$ref\"in a?a.allOf=[...Array.isArray(a.allOf)?a.allOf:[],{$ref:\"#/properties/result\"}]:a.$ref=\"#/properties/result\"),a};return{...t!==void 0&&{$schema:t},type:\"object\",properties:{result:o(e,!1)},required:[\"result\"]}}var Ub={ping:null,initialize:null,\"completion/complete\":null,\"logging/setLevel\":null,\"prompts/get\":null,\"prompts/list\":null,\"resources/list\":null,\"resources/templates/list\":null,\"resources/read\":null,\"resources/subscribe\":null,\"resources/unsubscribe\":null,\"tools/call\":null,\"tools/list\":null,\"tasks/get\":null,\"tasks/result\":null,\"tasks/list\":null,\"tasks/cancel\":null,\"sampling/createMessage\":null,\"elicitation/create\":null,\"roots/list\":null},Db={\"notifications/cancelled\":null,\"notifications/progress\":null,\"notifications/initialized\":null,\"notifications/roots/list_changed\":null,\"notifications/tasks/status\":null,\"notifications/message\":null,\"notifications/resources/updated\":null,\"notifications/resources/list_changed\":null,\"notifications/tools/list_changed\":null,\"notifications/prompts/list_changed\":null,\"notifications/elicitation/complete\":null},II={ping:null,initialize:null,\"completion/complete\":null,\"logging/setLevel\":null,\"prompts/get\":null,\"prompts/list\":null,\"resources/list\":null,\"resources/templates/list\":null,\"resources/read\":null,\"resources/subscribe\":null,\"resources/unsubscribe\":null,\"tools/call\":null,\"tools/list\":null,\"sampling/createMessage\":null,\"elicitation/create\":null,\"roots/list\":null},gd;function tv(){if(gd)return gd;let e=jb();return gd={requestSchemas:{ping:e.PingRequestSchema,initialize:e.InitializeRequestSchema,\"completion/complete\":e.CompleteRequestSchema,\"logging/setLevel\":e.SetLevelRequestSchema,\"prompts/get\":e.GetPromptRequestSchema,\"prompts/list\":e.ListPromptsRequestSchema,\"resources/list\":e.ListResourcesRequestSchema,\"resources/templates/list\":e.ListResourceTemplatesRequestSchema,\"resources/read\":e.ReadResourceRequestSchema,\"resources/subscribe\":e.SubscribeRequestSchema,\"resources/unsubscribe\":e.UnsubscribeRequestSchema,\"tools/call\":e.CallToolRequestSchema,\"tools/list\":e.ListToolsRequestSchema,\"tasks/get\":e.GetTaskRequestSchema,\"tasks/result\":e.GetTaskPayloadRequestSchema,\"tasks/list\":e.ListTasksRequestSchema,\"tasks/cancel\":e.CancelTaskRequestSchema,\"sampling/createMessage\":e.CreateMessageRequestSchema,\"elicitation/create\":e.ElicitRequestSchema,\"roots/list\":e.ListRootsRequestSchema},notificationSchemas:{\"notifications/cancelled\":e.CancelledNotificationSchema,\"notifications/progress\":e.ProgressNotificationSchema,\"notifications/initialized\":e.InitializedNotificationSchema,\"notifications/roots/list_changed\":e.RootsListChangedNotificationSchema,\"notifications/tasks/status\":e.TaskStatusNotificationSchema,\"notifications/message\":e.LoggingMessageNotificationSchema,\"notifications/resources/updated\":e.ResourceUpdatedNotificationSchema,\"notifications/resources/list_changed\":e.ResourceListChangedNotificationSchema,\"notifications/tools/list_changed\":e.ToolListChangedNotificationSchema,\"notifications/prompts/list_changed\":e.PromptListChangedNotificationSchema,\"notifications/elicitation/complete\":e.ElicitationCompleteNotificationSchema},resultSchemas:{ping:e.EmptyResultSchema,initialize:e.InitializeResultSchema,\"completion/complete\":e.CompleteResultSchema,\"logging/setLevel\":e.EmptyResultSchema,\"prompts/get\":e.GetPromptResultSchema,\"prompts/list\":e.ListPromptsResultSchema,\"resources/list\":e.ListResourcesResultSchema,\"resources/templates/list\":e.ListResourceTemplatesResultSchema,\"resources/read\":e.ReadResourceResultSchema,\"resources/subscribe\":e.EmptyResultSchema,\"resources/unsubscribe\":e.EmptyResultSchema,\"tools/call\":e.CallToolResultWireSchema,\"tools/list\":e.ListToolsResultSchema,\"sampling/createMessage\":e.CreateMessageResultWithToolsSchema,\"elicitation/create\":e.ElicitResultSchema,\"roots/list\":e.ListRootsResultSchema}},gd}function Mb(e){return Object.prototype.hasOwnProperty.call(Ub,e)}function qb(e){return Object.prototype.hasOwnProperty.call(Db,e)}function RI(e){return Object.prototype.hasOwnProperty.call(II,e)}function PI(e){return RI(e)?tv().resultSchemas[e]:void 0}function TI(e){return Mb(e)?tv().requestSchemas[e]:void 0}function EI(e){return qb(e)?tv().notificationSchemas[e]:void 0}var IC=Object.keys(Ub),RC=Object.keys(Db);function Wg(e){return e!==null&&typeof e==\"object\"&&!Array.isArray(e)}function vd(e,t){if(e===void 0)return{ok:!1,reason:\"not-in-era\"};let n=e.safeParse(t);return n.success?{ok:!0,value:n.data}:{ok:!1,reason:\"invalid\",message:String(n.error)}}var $b={ok:!1,reason:\"not-in-era\"};function zb(e){return Wg(e)&&Wg(e.outputSchema)&&Ab(e.outputSchema)}var rv={era:\"2025-11-25\",hasRequestMethod:Mb,hasNotificationMethod:qb,validateRequest:(e,t)=>vd(TI(e),t),validateResult:(e,t)=>vd(PI(e),t),validateNotification:(e,t)=>vd(EI(e),t),hasInputRequestMethod:()=>!1,validateInputRequest:()=>$b,validateInputResponse:()=>$b,samplingResultVariant:((e,t)=>{let n=jb();return vd(e?n.CreateMessageResultWithToolsSchema:n.CreateMessageResultSchema,t)}),outboundEnvelope:e=>{},validateEnvelopeMeta:e=>[],projectCallToolResult(e,t){let n=Cb(e),o=n.structuredContent;if(o===void 0)return n;let r=typeof o!=\"object\"||o===null||Array.isArray(o),i=t!==void 0&&Ab(t);return!r&&!i?n:{...n,structuredContent:{result:o}}},decodeResult(e,t){if(Wg(t)&&\"resultType\"in t){let n={...t};return delete n.resultType,{kind:\"complete\",result:n}}return{kind:\"complete\",result:t}},encodeResult(e,t){if(e!==\"tools/list\")return t;let n=t.tools;return!Array.isArray(n)||!n.some(o=>zb(o))?t:{...t,tools:n.map(o=>zb(o)?{...o,outputSchema:xI(o.outputSchema)}:o)}},encodeErrorCode:e=>e===-32002?-32602:e,checkInboundEnvelope:e=>{}};function OI(){let e=Gt(()=>E([u(),I(),C(),lt(),T(u(),e),y(e)])),t=T(u(),e),n=E([u(),I().int()]),o=u(),r=E([u(),I().int()]),i=L([\"user\",\"assistant\"]),a=L([\"debug\",\"info\",\"notice\",\"warning\",\"error\",\"critical\",\"alert\",\"emergency\"]),s=u().refine(se=>{try{return atob(se),!0}catch{return!1}},{message:\"Invalid Base64 string\"}),c=h({ttl:I().optional()}),l=h({taskId:u()}),d=M({progressToken:n.optional(),\"io.modelcontextprotocol/related-task\":l.optional()}),p=h({_meta:d.optional()}),f=p.extend({task:c.optional()}),g=h({_meta:d.optional()}),_=h({method:u(),params:g.loose().optional()}),b=h({src:u(),mimeType:u().optional(),sizes:y(u()).optional(),theme:L([\"light\",\"dark\"]).optional()}),x=h({icons:y(b).optional()}),O=h({name:u(),title:u().optional()}),P=O.extend({...O.shape,...x.shape,version:u(),websiteUrl:u().optional(),description:u().optional()}),U=et(h({applyDefaults:C().optional()}),t),J=zt(se=>se&&typeof se==\"object\"&&!Array.isArray(se)&&Object.keys(se).length===0?{form:{}}:se,et(h({form:U.optional(),url:t.optional()}),t.optional())),G=M({list:t.optional(),cancel:t.optional(),requests:M({sampling:M({createMessage:t.optional()}).optional(),elicitation:M({create:t.optional()}).optional()}).optional()}),D=M({list:t.optional(),cancel:t.optional(),requests:M({tools:M({call:t.optional()}).optional()}).optional()}),W=h({experimental:T(u(),t).optional(),sampling:h({context:t.optional(),tools:t.optional()}).optional(),elicitation:J.optional(),roots:h({listChanged:C().optional()}).optional(),tasks:G.optional(),extensions:T(u(),t).optional()}),Ae=h({experimental:T(u(),t).optional(),logging:t.optional(),completions:t.optional(),prompts:h({listChanged:C().optional()}).optional(),resources:h({subscribe:C().optional(),listChanged:C().optional()}).optional(),tools:h({listChanged:C().optional()}).optional(),tasks:D.optional(),extensions:T(u(),t).optional()}),de=h({progress:I(),total:j(I()),message:j(u())}),Ze=h({...g.shape,...de.shape,progressToken:n}),rt=_.extend({method:$(\"notifications/progress\"),params:Ze}),nr=g.extend({level:a,logger:u().optional(),data:A()}),ir=_.extend({method:$(\"notifications/message\"),params:nr}),Qr=h({uri:u(),mimeType:j(u()),_meta:T(u(),A()).optional()}),Tt=Qr.extend({text:u()}),or=Qr.extend({blob:s}),nt=h({audience:y(i).optional(),priority:I().min(0).max(1).optional(),lastModified:Ke.datetime({offset:!0}).optional()}),Et=h({...O.shape,...x.shape,uri:u(),description:j(u()),mimeType:j(u()),size:j(I()),annotations:nt.optional(),_meta:j(M({}))}),en=h({...O.shape,...x.shape,uriTemplate:u(),description:j(u()),mimeType:j(u()),annotations:nt.optional(),_meta:j(M({}))}),ht=_.extend({method:$(\"notifications/resources/list_changed\"),params:g.optional()}),gt=g.extend({uri:u()}),tn=_.extend({method:$(\"notifications/resources/updated\"),params:gt}),rn=h({name:u(),description:j(u()),required:j(C())}),ar=h({...O.shape,...x.shape,description:j(u()),arguments:j(y(rn)),_meta:j(M({}))}),nn=_.extend({method:$(\"notifications/prompts/list_changed\"),params:g.optional()}),it=h({type:$(\"text\"),text:u(),annotations:nt.optional(),_meta:T(u(),A()).optional()}),Ge=h({type:$(\"image\"),data:s,mimeType:u(),annotations:nt.optional(),_meta:T(u(),A()).optional()}),sr=h({type:$(\"audio\"),data:s,mimeType:u(),annotations:nt.optional(),_meta:T(u(),A()).optional()}),Ti=h({type:$(\"tool_use\"),name:u(),id:u(),input:T(u(),A()),_meta:T(u(),A()).optional()}),Ei=h({type:$(\"resource\"),resource:E([Tt,or]),annotations:nt.optional(),_meta:T(u(),A()).optional()}),Oi=Et.extend({type:$(\"resource_link\")}),Ot=E([it,Ge,sr,Oi,Ei]),on=h({role:i,content:Ot}),cr=h({title:u().optional(),readOnlyHint:C().optional(),destructiveHint:C().optional(),idempotentHint:C().optional(),openWorldHint:C().optional()}),Ci=_.extend({method:$(\"notifications/tools/list_changed\"),params:g.optional()}),Ni=h({name:u().optional()}),ji=h({hints:y(Ni).optional(),costPriority:I().min(0).max(1).optional(),speedPriority:I().min(0).max(1).optional(),intelligencePriority:I().min(0).max(1).optional()}),Ai=h({mode:L([\"auto\",\"required\",\"none\"]).optional()}),Ui=h({type:$(\"boolean\"),title:u().optional(),description:u().optional(),default:C().optional()}),Di=h({type:$(\"string\"),title:u().optional(),description:u().optional(),minLength:I().optional(),maxLength:I().optional(),format:L([\"email\",\"uri\",\"date\",\"date-time\"]).optional(),default:u().optional()}),Mi=h({type:L([\"number\",\"integer\"]),title:u().optional(),description:u().optional(),minimum:I().optional(),maximum:I().optional(),default:I().optional()}),qi=h({type:$(\"string\"),title:u().optional(),description:u().optional(),enum:y(u()),default:u().optional()}),Li=h({type:$(\"string\"),title:u().optional(),description:u().optional(),oneOf:y(h({const:u(),title:u()})),default:u().optional()}),Vi=h({type:$(\"string\"),title:u().optional(),description:u().optional(),enum:y(u()),enumNames:y(u()).optional(),default:u().optional()}),Zi=E([qi,Li]),Fi=h({type:$(\"array\"),title:u().optional(),description:u().optional(),minItems:I().optional(),maxItems:I().optional(),items:h({type:$(\"string\"),enum:y(u())}),default:y(u()).optional()}),Ji=h({type:$(\"array\"),title:u().optional(),description:u().optional(),minItems:I().optional(),maxItems:I().optional(),items:h({anyOf:y(h({const:u(),title:u()}))}),default:y(u()).optional()}),Hi=E([Fi,Ji]),Bi=E([Vi,Zi,Hi]),Ki=E([Bi,Ui,Di,Mi]),lr=f.extend({mode:$(\"form\").optional(),message:u(),requestedSchema:h({type:$(\"object\"),properties:T(u(),Ki),required:y(u()).optional()}).catchall(A())}),ur=h({type:$(\"ref/resource\"),uri:u()}),dr=h({type:$(\"ref/prompt\"),name:u()}),Gi=h({uri:u().startsWith(\"file://\"),name:u().optional(),_meta:T(u(),A()).optional()}),Ct=W.shape,Wi=h({experimental:Ct.experimental,sampling:Ct.sampling,elicitation:Ct.elicitation,roots:Ct.roots,extensions:Ct.extensions}),Fe=Ae.shape,an=h({experimental:Fe.experimental,logging:Fe.logging,completions:Fe.completions,prompts:Fe.prompts,resources:Fe.resources,tools:Fe.tools,extensions:Fe.extensions}),sn=M({progressToken:n.optional(),[Ar]:u(),[ri]:P.optional(),[Ur]:Wi,[ni]:a.optional()}),mr=h({...O.shape,...x.shape,description:u().optional(),inputSchema:M({$schema:u().optional(),type:$(\"object\")}),outputSchema:M({$schema:u().optional()}).optional(),annotations:cr.optional(),_meta:T(u(),A()).optional()}),Yi=h({type:$(\"tool_result\"),toolUseId:u(),content:y(Ot),structuredContent:A().optional(),isError:C().optional(),_meta:T(u(),A()).optional()}),cn=E([it,Ge,sr,Ti,Yi]),pr=h({role:i,content:E([cn,y(cn)]),_meta:T(u(),A()).optional()}),ln=u(),un=M({[Yt]:P.optional().catch(void 0)}),dn=un.optional();function ye(se){return M({_meta:dn,resultType:ln.default(\"complete\"),...se})}let Xi=ye({}),_c=ye({nextCursor:o.optional()}),mn=ye({content:y(Ot),structuredContent:A().optional(),isError:C().optional()}),Qi=ye({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),tools:y(mr),nextCursor:o.optional()}),eo=ye({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),prompts:y(ar),nextCursor:o.optional()}),to=ye({description:u().optional(),messages:y(on)}),ro=ye({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),resources:y(Et),nextCursor:o.optional()}),no=ye({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),resourceTemplates:y(en),nextCursor:o.optional()}),io=ye({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),contents:y(E([Tt,or]))}),oo=ye({completion:h({values:y(u()).max(100),total:I().int().optional(),hasMore:C().optional()}).loose()}),Sc=ye({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"])}),ao=ye({ttlMs:I().int().min(0).catch(0),cacheScope:L([\"public\",\"private\"]).catch(\"private\"),supportedVersions:y(u()),capabilities:an,instructions:u().optional()}),Nt=h({messages:y(pr),modelPreferences:ji.optional(),systemPrompt:u().optional(),includeContext:L([\"none\",\"thisServer\",\"allServers\"]).optional(),temperature:I().optional(),maxTokens:I().int(),stopSequences:y(u()).optional(),metadata:t.optional(),tools:y(mr).optional(),toolChoice:Ai.optional()}),so=h({method:$(\"sampling/createMessage\"),params:Nt}),co=h({method:$(\"roots/list\"),params:h({_meta:T(u(),A()).optional()}).optional()}),lo=h({...pr.shape,model:u(),stopReason:u().optional()}),uo=h({roots:y(Gi)}),mo=h({action:L([\"accept\",\"decline\",\"cancel\"]),content:T(u(),E([u(),I(),C(),y(u())])).optional()}),po=h({mode:$(\"url\"),message:u(),url:u().url()}),fo=E([lr,po]),ho=h({method:$(\"elicitation/create\"),params:fo}),go=E([so,co,ho]),vo=E([lo,uo,mo]),_o=T(u(),go),So=T(u(),vo),fr=ye({inputRequests:_o.optional(),requestState:u().optional()}),hr={inputResponses:So.optional(),requestState:u().optional()},yc=h({_meta:sn,...hr}),bc=M({progressToken:n.optional()});function Ue(se,vr){return h({method:$(se),params:h({_meta:sn,...vr})})}function De(se,vr){return h({method:$(se),params:h({_meta:bc.optional(),...vr}).optional()})}let yo={name:u(),arguments:T(u(),A()).optional(),...hr},We={cursor:o.optional()},$c=Ue(\"tools/call\",yo),zc=Ue(\"tools/list\",We),wc=Ue(\"prompts/list\",We),kc=Ue(\"prompts/get\",{name:u(),arguments:T(u(),u()).optional(),...hr}),xc=Ue(\"resources/list\",We),Ic=Ue(\"resources/templates/list\",We),Rc=Ue(\"resources/read\",{uri:u(),...hr}),bo={ref:E([dr,ur]),argument:h({name:u(),value:u()}),context:h({arguments:T(u(),u()).optional()}).optional()},Pc=Ue(\"completion/complete\",bo),Tc=Ue(\"server/discover\",{}),pn=h({toolsListChanged:C().optional(),promptsListChanged:C().optional(),resourcesListChanged:C().optional(),resourceSubscriptions:y(u()).optional()}),$o={notifications:pn},Ec=Ue(\"subscriptions/listen\",$o),Oc=un.extend({\"io.modelcontextprotocol/subscriptionId\":r}),zo=M({_meta:Oc,resultType:ln.default(\"complete\")}),jt={\"tools/call\":De(\"tools/call\",yo),\"tools/list\":De(\"tools/list\",We),\"prompts/get\":De(\"prompts/get\",{name:u(),arguments:T(u(),u()).optional()}),\"prompts/list\":De(\"prompts/list\",We),\"resources/list\":De(\"resources/list\",We),\"resources/templates/list\":De(\"resources/templates/list\",We),\"resources/read\":De(\"resources/read\",{uri:u()}),\"completion/complete\":De(\"completion/complete\",bo),\"server/discover\":De(\"server/discover\",{}),\"subscriptions/listen\":De(\"subscriptions/listen\",$o)};function Te(se){return M({_meta:dn,...se})}let Cc={\"tools/call\":Te({content:y(Ot),structuredContent:A().optional(),isError:C().optional()}),\"tools/list\":Te({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),tools:y(mr),nextCursor:o.optional()}),\"prompts/get\":Te({description:u().optional(),messages:y(on)}),\"prompts/list\":Te({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),prompts:y(ar),nextCursor:o.optional()}),\"resources/list\":Te({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),resources:y(Et),nextCursor:o.optional()}),\"resources/templates/list\":Te({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),resourceTemplates:y(en),nextCursor:o.optional()}),\"resources/read\":Te({ttlMs:I().int().min(0),cacheScope:L([\"public\",\"private\"]),contents:y(E([Tt,or]))}),\"completion/complete\":Te({completion:h({values:y(u()).max(100),total:I().int().optional(),hasMore:C().optional()}).loose()}),\"server/discover\":Te({ttlMs:I().int().min(0).catch(0),cacheScope:L([\"public\",\"private\"]).catch(\"private\"),supportedVersions:y(u()),capabilities:an,instructions:u().optional()}),\"subscriptions/listen\":Te({})},gr=M({\"io.modelcontextprotocol/subscriptionId\":r.optional()}),fn=h({method:$(\"notifications/subscriptions/acknowledged\"),params:h({_meta:gr.optional(),notifications:pn})}),hn=h({_meta:gr.optional(),requestId:r,reason:u().optional()}),gn=h({method:$(\"notifications/cancelled\"),params:hn}),wd={\"notifications/cancelled\":gn,\"notifications/progress\":rt,\"notifications/message\":ir,\"notifications/resources/updated\":tn,\"notifications/resources/list_changed\":ht,\"notifications/tools/list_changed\":Ci,\"notifications/prompts/list_changed\":nn,\"notifications/subscriptions/acknowledged\":fn},we=se=>h({jsonrpc:$(\"2.0\"),id:E([u(),I().int()]),result:se}).strict();return{JSONValueSchema:e,JSONObjectSchema:t,ProgressTokenSchema:n,CursorSchema:o,RequestIdSchema:r,RoleSchema:i,LoggingLevelSchema:a,TaskMetadataSchema:c,RelatedTaskMetadataSchema:l,RequestMetaSchema:d,BaseRequestParamsSchema:p,TaskAugmentedRequestParamsSchema:f,NotificationsParamsSchema:g,NotificationSchema:_,IconSchema:b,IconsSchema:x,BaseMetadataSchema:O,ImplementationSchema:P,ClientTasksCapabilitySchema:G,ServerTasksCapabilitySchema:D,ClientCapabilitiesSchema:W,ServerCapabilitiesSchema:Ae,ProgressSchema:de,ProgressNotificationParamsSchema:Ze,ProgressNotificationSchema:rt,LoggingMessageNotificationParamsSchema:nr,LoggingMessageNotificationSchema:ir,ResourceContentsSchema:Qr,TextResourceContentsSchema:Tt,BlobResourceContentsSchema:or,AnnotationsSchema:nt,ResourceSchema:Et,ResourceTemplateSchema:en,ResourceListChangedNotificationSchema:ht,ResourceUpdatedNotificationParamsSchema:gt,ResourceUpdatedNotificationSchema:tn,PromptArgumentSchema:rn,PromptSchema:ar,PromptListChangedNotificationSchema:nn,TextContentSchema:it,ImageContentSchema:Ge,AudioContentSchema:sr,ToolUseContentSchema:Ti,EmbeddedResourceSchema:Ei,ResourceLinkSchema:Oi,ContentBlockSchema:Ot,PromptMessageSchema:on,ToolAnnotationsSchema:cr,ToolListChangedNotificationSchema:Ci,ModelHintSchema:Ni,ModelPreferencesSchema:ji,ToolChoiceSchema:Ai,BooleanSchemaSchema:Ui,StringSchemaSchema:Di,NumberSchemaSchema:Mi,UntitledSingleSelectEnumSchemaSchema:qi,TitledSingleSelectEnumSchemaSchema:Li,LegacyTitledEnumSchemaSchema:Vi,SingleSelectEnumSchemaSchema:Zi,UntitledMultiSelectEnumSchemaSchema:Fi,TitledMultiSelectEnumSchemaSchema:Ji,MultiSelectEnumSchemaSchema:Hi,EnumSchemaSchema:Bi,PrimitiveSchemaDefinitionSchema:Ki,ElicitRequestFormParamsSchema:lr,ResourceTemplateReferenceSchema:ur,PromptReferenceSchema:dr,RootSchema:Gi,ClientCapabilities2026Schema:Wi,ServerCapabilities2026Schema:an,RequestMetaEnvelopeSchema:sn,ToolSchema:mr,ToolResultContentSchema:Yi,SamplingMessageContentBlockSchema:cn,SamplingMessageSchema:pr,ResultTypeSchema:ln,ResultMetaSchema:un,ResultSchema:Xi,PaginatedResultSchema:_c,CallToolResultSchema:mn,ListToolsResultSchema:Qi,ListPromptsResultSchema:eo,GetPromptResultSchema:to,ListResourcesResultSchema:ro,ListResourceTemplatesResultSchema:no,ReadResourceResultSchema:io,CompleteResultSchema:oo,CacheableResultSchema:Sc,DiscoverResultSchema:ao,CreateMessageRequestParamsSchema:Nt,CreateMessageRequestSchema:so,ListRootsRequestSchema:co,CreateMessageResultSchema:lo,ListRootsResultSchema:uo,ElicitResultSchema:mo,ElicitRequestURLParamsSchema:po,ElicitRequestParamsSchema:fo,ElicitRequestSchema:ho,InputRequestSchema:go,InputResponseSchema:vo,InputRequestsSchema:_o,InputResponsesSchema:So,InputRequiredResultSchema:fr,InputResponseRequestParamsSchema:yc,CallToolRequestSchema:$c,ListToolsRequestSchema:zc,ListPromptsRequestSchema:wc,GetPromptRequestSchema:kc,ListResourcesRequestSchema:xc,ListResourceTemplatesRequestSchema:Ic,ReadResourceRequestSchema:Rc,CompleteRequestSchema:Pc,DiscoverRequestSchema:Tc,SubscriptionFilterSchema:pn,SubscriptionsListenRequestSchema:Ec,SubscriptionsListenResultMetaSchema:Oc,SubscriptionsListenResultSchema:zo,dispatchRequestSchemas:jt,dispatchResultSchemas:Cc,NotificationMetaSchema:gr,SubscriptionsAcknowledgedNotificationSchema:fn,CancelledNotificationParamsSchema:hn,CancelledNotificationSchema:gn,notificationSchemas2026:wd,JSONRPCResultResponseSchema:we(Xi),CallToolResultResponseSchema:we(E([mn,fr])),ListToolsResultResponseSchema:we(Qi),ListPromptsResultResponseSchema:we(eo),GetPromptResultResponseSchema:we(E([to,fr])),ListResourcesResultResponseSchema:we(ro),ListResourceTemplatesResultResponseSchema:we(no),ReadResourceResultResponseSchema:we(E([io,fr])),CompleteResultResponseSchema:we(oo),DiscoverResultResponseSchema:we(ao),SubscriptionsListenResultResponseSchema:we(zo)}}var CI;function rr(){return CI??=OI()}var NI=[\"tools/list\",\"prompts/list\",\"resources/list\",\"resources/templates/list\",\"resources/read\",\"server/discover\"];function jI(e){return NI.includes(e)}var nv=Symbol(\"modelcontextprotocol.resultCacheHintFallback\");function AI(e){return e[nv]}function Lb(e){return typeof e==\"number\"&&Number.isSafeInteger(e)&&e>=0}function Vb(e){return e===\"public\"||e===\"private\"}var K=(function(e){return e[e.ParseError=-32700]=\"ParseError\",e[e.InvalidRequest=-32600]=\"InvalidRequest\",e[e.MethodNotFound=-32601]=\"MethodNotFound\",e[e.InvalidParams=-32602]=\"InvalidParams\",e[e.InternalError=-32603]=\"InternalError\",e[e.ResourceNotFound=-32002]=\"ResourceNotFound\",e[e.MissingRequiredClientCapability=-32021]=\"MissingRequiredClientCapability\",e[e.UnsupportedProtocolVersion=-32022]=\"UnsupportedProtocolVersion\",e[e.UrlElicitationRequired=-32042]=\"UrlElicitationRequired\",e})({}),Se=class Zb extends Error{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.ProtocolError\"})}static[Symbol.hasInstance](t){return Le(this,t)}static isInstance(t){if(typeof this!=\"function\")throw new TypeError(\"isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`\");return Le(this,t)}constructor(t,n,o){super(n),this.code=t,this.data=o,this.name=\"ProtocolError\",Yr(this,new.target)}static fromError(t,n,o){if(t===K.UrlElicitationRequired&&o){let r=o;if(r.elicitations)return new Jb(r.elicitations,n)}if(t===K.UnsupportedProtocolVersion&&o){let r=o;if(Array.isArray(r.supported)&&typeof r.requested==\"string\")return new Hb({supported:r.supported,requested:r.requested},n)}if(t===K.InvalidParams||t===K.ResourceNotFound){let r=o;if(typeof r?.uri==\"string\"&&(t===K.ResourceNotFound||Object.keys(r).length===1))return new Fb(r.uri,n)}if(t===K.MissingRequiredClientCapability&&o){let r=o;if(r.requiredCapabilities!==null&&typeof r.requiredCapabilities==\"object\"&&!Array.isArray(r.requiredCapabilities))return new Bb({requiredCapabilities:r.requiredCapabilities},n)}return new Zb(t,n,o)}},Fb=class extends Se{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.ResourceNotFoundError\"})}constructor(e,t=`Resource not found: ${e}`){super(K.InvalidParams,t,{uri:e})}get uri(){return this.data.uri}},Jb=class extends Se{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.UrlElicitationRequiredError\"})}constructor(e,t=`URL elicitation${e.length>1?\"s\":\"\"} required`){super(K.UrlElicitationRequired,t,{elicitations:e})}get elicitations(){return this.data?.elicitations??[]}},Hb=class extends Se{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.UnsupportedProtocolVersionError\"})}constructor(e,t=`Unsupported protocol version: ${e.requested}`){super(K.UnsupportedProtocolVersion,t,e)}get supported(){return this.data.supported}get requested(){return this.data.requested}},Bb=class extends Se{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.MissingRequiredClientCapabilityError\"})}constructor(e,t=`Missing required client capabilities: ${Object.keys(e.requiredCapabilities).join(\", \")}`){super(K.MissingRequiredClientCapability,t,e)}get requiredCapabilities(){return this.data.requiredCapabilities}},UI=0,DI=\"private\",MI=[\"tools/call\",\"prompts/get\",\"resources/read\"];function qI(e,t){let n=t.resultType;if(n===void 0)return{...t,resultType:\"complete\"};if(n===\"complete\"||MI.includes(e))return t;throw new Se(K.InternalError,`Handler for ${e} returned resultType '${String(n)}', but results of ${e} only support 'complete' on protocol revision 2026-07-28`)}function LI(e,t){let n=AI(t);if(t.resultType!==\"complete\"||!jI(e))return n===void 0?t:HI(t);let o=t,r=Lb(o.ttlMs)?o.ttlMs:FI(n),i=Vb(o.cacheScope)?o.cacheScope:JI(n),a={...o,ttlMs:r,cacheScope:i};return delete a[nv],a}function VI(e){return e!==null&&typeof e==\"object\"&&!Array.isArray(e)}function ZI(e,t){if(t===void 0)return e;let n=e._meta;return n===void 0?{...e,_meta:{[Yt]:t}}:!VI(n)||n[Yt]!==void 0?e:{...e,_meta:{...n,[Yt]:t}}}function FI(e){return e!==void 0&&Lb(e.ttlMs)?e.ttlMs:UI}function JI(e){return e!==void 0&&Vb(e.cacheScope)?e.cacheScope:DI}function HI(e){let t={...e};return delete t[nv],t}var BI=[\"elicitation/create\",\"sampling/createMessage\",\"roots/list\"],_d;function Kb(){if(_d)return _d;let e=rr();return _d={request:{\"elicitation/create\":h({method:$(\"elicitation/create\"),params:e.ElicitRequestParamsSchema}),\"sampling/createMessage\":h({method:$(\"sampling/createMessage\"),params:e.CreateMessageRequestParamsSchema}),\"roots/list\":h({method:$(\"roots/list\"),params:M({}).optional()})},response:{\"elicitation/create\":e.ElicitResultSchema,\"sampling/createMessage\":e.CreateMessageResultSchema,\"roots/list\":e.ListRootsResultSchema}},_d}function Gb(e){return BI.includes(e)}function Fg(e){return Gb(e)?Kb().request[e]:void 0}function KI(e){return Gb(e)?Kb().response[e]:void 0}var iv={\"tools/call\":null,\"tools/list\":null,\"prompts/get\":null,\"prompts/list\":null,\"resources/list\":null,\"resources/templates/list\":null,\"resources/read\":null,\"completion/complete\":null,\"server/discover\":null,\"subscriptions/listen\":null},Wb={\"notifications/cancelled\":null,\"notifications/progress\":null,\"notifications/message\":null,\"notifications/resources/updated\":null,\"notifications/resources/list_changed\":null,\"notifications/tools/list_changed\":null,\"notifications/prompts/list_changed\":null,\"notifications/subscriptions/acknowledged\":null};function Yb(e){return Object.prototype.hasOwnProperty.call(iv,e)}function Xb(e){return Object.prototype.hasOwnProperty.call(Wb,e)}function GI(e){return Object.prototype.hasOwnProperty.call(iv,e)}function WI(e){return Yb(e)?rr().dispatchRequestSchemas[e]:void 0}function YI(e){return GI(e)?rr().dispatchResultSchemas[e]:void 0}function XI(e){return Xb(e)?rr().notificationSchemas2026[e]:void 0}var PC=Object.keys(iv),TC=Object.keys(Wb);function uc(e){return e!==null&&typeof e==\"object\"&&!Array.isArray(e)}function cc(e,t){if(e===void 0)return{ok:!1,reason:\"not-in-era\"};let n=e.safeParse(t);return n.success?{ok:!0,value:n.data}:{ok:!1,reason:\"invalid\",message:String(n.error)}}var QI={ok:!1,reason:\"not-in-era\"},eR=[Ar,Ur];function tR(e,t){let n=t,o=!1,r=()=>(o||(n={...n},o=!0),n),i=t.tools;e===\"tools/list\"&&Array.isArray(i)&&i.some(s=>uc(s)&&\"execution\"in s)&&(r().tools=i.map(s=>{if(!uc(s)||!(\"execution\"in s))return s;let c={...s};return delete c.execution,c}));let a=t.capabilities;if(uc(a)&&\"tasks\"in a){let s={...a};delete s.tasks,r().capabilities=s}return n}var ov={era:\"2026-07-28\",hasRequestMethod:Yb,hasNotificationMethod:Xb,hasInputRequestMethod:e=>Fg(e)!==void 0,validateRequest:(e,t)=>cc(WI(e),t),validateResult:(e,t)=>cc(YI(e),t),validateNotification:(e,t)=>cc(XI(e),t),validateInputRequest:(e,t)=>cc(Fg(e),t),validateInputResponse:(e,t)=>cc(KI(e),t),samplingResultVariant:()=>QI,outboundEnvelope(e){return{[Ar]:e.protocolVersion,[ri]:e.clientInfo,[Ur]:e.clientCapabilities,...e.logLevel!==void 0&&{[ni]:e.logLevel}}},validateEnvelopeMeta(e){let t=[];for(let o of eR)o in e||t.push({key:o,problem:\"missing\"});let n=rr().RequestMetaEnvelopeSchema.safeParse(e);if(!n.success)for(let o of n.error.issues){let r=o.path.map(String),i=r.length>0?r.join(\".\"):\"_meta\";r.length===1&&t.some(a=>a.key===i&&a.problem===\"missing\")||t.push({key:i,problem:o.message})}return t},projectCallToolResult:e=>Cb(e),inputRequestSchema:Fg,decodeResult(e,t){if(!uc(t))return{kind:\"invalid\",error:new ce(_e.InvalidResult,`Invalid result for ${e}: not an object`,{method:e})};let n=t.resultType;if(n===void 0)return{kind:\"invalid\",error:new ce(_e.InvalidResult,`Invalid result for ${e}: missing required resultType \\u2014 servers implementing protocol revision 2026-07-28 MUST include it (the absent-means-complete bridge applies only to earlier-revision servers)`,{method:e,violation:\"missing-resultType\"})};if(typeof n!=\"string\")return{kind:\"invalid\",error:new ce(_e.InvalidResult,`Invalid result for ${e}: non-string resultType`,{method:e,resultType:n})};if(n===\"input_required\"){let a=t.inputRequests,s=uc(a)?a:{},c=t.requestState,l=t._meta===void 0?void 0:rr().ResultMetaSchema.safeParse(t._meta),d=l?.success?l.data:void 0;return Object.keys(s).length===0&&typeof c!=\"string\"?{kind:\"invalid\",error:new ce(_e.InvalidResult,`Invalid result for ${e}: input_required carries neither inputRequests nor requestState (every input_required result must include at least one of the two)`,{method:e,violation:\"input-required-missing-both\"})}:{kind:\"input_required\",inputRequests:s,...typeof c==\"string\"&&{requestState:c},...d!==void 0&&{_meta:d}}}if(n!==\"complete\")return{kind:\"invalid\",error:new ce(_e.UnsupportedResultType,`Unsupported result type '${n}' for ${e}`,{resultType:n,method:e})};let o=rR(),r=Object.hasOwn(o,e)?o[e]:void 0;if(r!==void 0){let a=r.safeParse(t);if(!a.success)return{kind:\"invalid\",error:new ce(_e.InvalidResult,`Invalid result for ${e}: ${a.error}`,{method:e})}}let i={...t};return delete i.resultType,{kind:\"complete\",result:i}},encodeResult(e,t,n){return ZI(LI(e,qI(e,tR(e,t))),n)},encodeErrorCode:e=>e===-32002?-32602:e,checkInboundEnvelope(e){if(e.envelope===void 0)return\"Request is missing the required _meta envelope for protocol revision 2026-07-28 (io.modelcontextprotocol/protocolVersion, io.modelcontextprotocol/clientCapabilities)\";let t=rr().RequestMetaEnvelopeSchema.safeParse(e.envelope);if(!t.success)return`Invalid _meta envelope for protocol revision 2026-07-28: ${t.error.issues.map(n=>n.message).join(\"; \")}`}},Sd;function rR(){if(Sd)return Sd;let e=rr();return Sd={\"tools/call\":e.CallToolResultSchema,\"tools/list\":e.ListToolsResultSchema,\"prompts/get\":e.GetPromptResultSchema,\"prompts/list\":e.ListPromptsResultSchema,\"resources/list\":e.ListResourcesResultSchema,\"resources/templates/list\":e.ListResourceTemplatesResultSchema,\"resources/read\":e.ReadResourceResultSchema,\"completion/complete\":e.CompleteResultSchema,\"server/discover\":e.DiscoverResultSchema},Sd}var av=\"2026-07-28\";function mc(e){return e!==void 0&&Ob(e)?ov:rv}function wb(e){return e.revision!==void 0?mc(e.revision).era:e.era===\"modern\"?ov.era:rv.era}function Jg(e){return Qb.some(t=>t.hasRequestMethod(e))}function Hg(e){return Qb.some(t=>t.hasNotificationMethod(e))}function kb(e){return e===\"tasks/get\"||e===\"tasks/cancel\"}var Qb=[rv,ov],nR=Sv({AnnotationsSchema:()=>mt,AudioContentSchema:()=>Jr,BaseMetadataSchema:()=>ut,BaseRequestParamsSchema:()=>fe,BlobResourceContentsSchema:()=>vi,BooleanSchemaSchema:()=>bi,CallToolRequestParamsSchema:()=>gs,CallToolRequestSchema:()=>vs,CallToolResultSchema:()=>tr,CancelTaskRequestSchema:()=>ad,CancelTaskResultSchema:()=>sd,CancelledNotificationParamsSchema:()=>wa,CancelledNotificationSchema:()=>ui,ClientCapabilitiesSchema:()=>xa,ClientNotificationSchema:()=>ld,ClientRequestSchema:()=>cd,ClientResultSchema:()=>ud,ClientTasksCapabilitySchema:()=>Bu,CompatibilityCallToolResultSchema:()=>Gu,CompleteRequestParamsSchema:()=>Fs,CompleteRequestSchema:()=>Js,CompleteResultSchema:()=>Hs,ContentBlockSchema:()=>pt,CreateMessageRequestParamsSchema:()=>Ps,CreateMessageRequestSchema:()=>Ts,CreateMessageResultSchema:()=>Es,CreateMessageResultWithToolsSchema:()=>Os,CreateTaskResultSchema:()=>Xu,CursorSchema:()=>oi,DiscoverRequestSchema:()=>Ea,DiscoverResultSchema:()=>mi,ElicitRequestFormParamsSchema:()=>Wr,ElicitRequestParamsSchema:()=>Us,ElicitRequestSchema:()=>Ds,ElicitRequestURLParamsSchema:()=>As,ElicitResultSchema:()=>Ls,ElicitationCompleteNotificationParamsSchema:()=>Ms,ElicitationCompleteNotificationSchema:()=>qs,EmbeddedResourceSchema:()=>Hr,EmptyResultSchema:()=>Qt,EnumSchemaSchema:()=>js,GetPromptRequestParamsSchema:()=>as,GetPromptRequestSchema:()=>ss,GetPromptResultSchema:()=>us,GetTaskPayloadRequestSchema:()=>rd,GetTaskPayloadResultSchema:()=>nd,GetTaskRequestSchema:()=>ed,GetTaskResultSchema:()=>td,IconSchema:()=>ka,IconsSchema:()=>kt,ImageContentSchema:()=>Fr,ImplementationSchema:()=>dt,InitializeRequestParamsSchema:()=>Ia,InitializeRequestSchema:()=>Ra,InitializeResultSchema:()=>Pa,InitializedNotificationSchema:()=>Ta,JSONArraySchema:()=>Ju,JSONObjectSchema:()=>ne,JSONRPCErrorResponseSchema:()=>qr,JSONRPCMessageSchema:()=>Lr,JSONRPCNotificationSchema:()=>li,JSONRPCRequestSchema:()=>ci,JSONRPCResponseSchema:()=>Hu,JSONRPCResultResponseSchema:()=>Mr,JSONValueSchema:()=>wt,LegacyTitledEnumSchemaSchema:()=>wi,ListChangedOptionsBaseSchema:()=>Wu,ListPromptsRequestSchema:()=>is,ListPromptsResultSchema:()=>os,ListResourceTemplatesRequestSchema:()=>Da,ListResourceTemplatesResultSchema:()=>Ma,ListResourcesRequestSchema:()=>Aa,ListResourcesResultSchema:()=>Ua,ListRootsRequestSchema:()=>Ks,ListRootsResultSchema:()=>Gs,ListTasksRequestSchema:()=>id,ListTasksResultSchema:()=>od,ListToolsRequestSchema:()=>fs,ListToolsResultSchema:()=>hs,LoggingLevelSchema:()=>yi,LoggingMessageNotificationParamsSchema:()=>bs,LoggingMessageNotificationSchema:()=>$s,ModelHintSchema:()=>zs,ModelPreferencesSchema:()=>ws,MultiSelectEnumSchemaSchema:()=>Ns,NotificationSchema:()=>ve,NotificationsParamsSchema:()=>ze,NumberSchemaSchema:()=>Gr,PaginatedRequestParamsSchema:()=>Na,PaginatedRequestSchema:()=>xt,PaginatedResultSchema:()=>It,PingRequestSchema:()=>pi,PrimitiveSchemaDefinitionSchema:()=>Ii,ProgressNotificationParamsSchema:()=>Ca,ProgressNotificationSchema:()=>fi,ProgressSchema:()=>Oa,ProgressTokenSchema:()=>ii,PromptArgumentSchema:()=>rs,PromptListChangedNotificationSchema:()=>ds,PromptMessageSchema:()=>ls,PromptReferenceSchema:()=>Zs,PromptSchema:()=>ns,ReadResourceRequestParamsSchema:()=>qa,ReadResourceRequestSchema:()=>La,ReadResourceResultSchema:()=>Va,RelatedTaskMetadataSchema:()=>za,RequestIdSchema:()=>tt,RequestMetaSchema:()=>ai,RequestSchema:()=>ie,ResourceContentsSchema:()=>hi,ResourceLinkSchema:()=>Br,ResourceListChangedNotificationSchema:()=>Za,ResourceRequestParamsSchema:()=>Vr,ResourceSchema:()=>_i,ResourceTemplateReferenceSchema:()=>Vs,ResourceTemplateSchema:()=>ja,ResourceUpdatedNotificationParamsSchema:()=>es,ResourceUpdatedNotificationSchema:()=>ts,ResultMetaObjectSchema:()=>si,ResultSchema:()=>oe,RoleSchema:()=>Rt,RootSchema:()=>Bs,RootsListChangedNotificationSchema:()=>Ws,SamplingContentSchema:()=>Is,SamplingMessageContentBlockSchema:()=>Wt,SamplingMessageSchema:()=>Rs,ServerCapabilitiesSchema:()=>di,ServerNotificationSchema:()=>md,ServerRequestSchema:()=>dd,ServerResultSchema:()=>pd,ServerTasksCapabilitySchema:()=>Ku,SetLevelRequestParamsSchema:()=>Ss,SetLevelRequestSchema:()=>ys,SingleSelectEnumSchemaSchema:()=>Cs,StringSchemaSchema:()=>Kr,SubscribeRequestParamsSchema:()=>Fa,SubscribeRequestSchema:()=>Ja,SubscriptionFilterSchema:()=>Si,SubscriptionsAcknowledgedNotificationParamsSchema:()=>Wa,SubscriptionsAcknowledgedNotificationSchema:()=>Ya,SubscriptionsListenRequestParamsSchema:()=>Ka,SubscriptionsListenRequestSchema:()=>Ga,SubscriptionsListenResultMetaSchema:()=>Xa,SubscriptionsListenResultSchema:()=>Qa,TaskAugmentedRequestParamsSchema:()=>Xt,TaskCreationParamsSchema:()=>Yu,TaskMetadataSchema:()=>$a,TaskSchema:()=>Pt,TaskStatusNotificationParamsSchema:()=>Xs,TaskStatusNotificationSchema:()=>Qu,TaskStatusSchema:()=>Ys,TextContentSchema:()=>Zr,TextResourceContentsSchema:()=>gi,TitledMultiSelectEnumSchemaSchema:()=>xi,TitledSingleSelectEnumSchemaSchema:()=>zi,ToolAnnotationsSchema:()=>ms,ToolChoiceSchema:()=>ks,ToolExecutionSchema:()=>ps,ToolListChangedNotificationSchema:()=>_s,ToolResultContentSchema:()=>xs,ToolSchema:()=>er,ToolUseContentSchema:()=>cs,UnsubscribeRequestParamsSchema:()=>Ha,UnsubscribeRequestSchema:()=>Ba,UntitledMultiSelectEnumSchemaSchema:()=>ki,UntitledSingleSelectEnumSchemaSchema:()=>$i});var e$=e=>ci.safeParse(e).success,t$=e=>li.safeParse(e).success,Yg=e=>Mr.safeParse(e).success,r$=e=>qr.safeParse(e).success;var dc=-32020,EC=[{rung:\"http-method\",order:1,evaluatedAt:\"edge\",codes:[-32e3],conformance:[],rationale:\"The modern era is POST-only; GET/DELETE are body-less 2025-era session operations and are method-routed to legacy serving (405 when legacy serving is not configured), before any body is read.\"},{rung:\"jsonrpc-shape\",order:2,evaluatedAt:\"edge\",codes:[K.InvalidRequest],conformance:[\"server-stateless\"],rationale:\"The body must be a JSON-RPC request or notification: posted responses and batch arrays containing a modern or invalid element are rejected before classification (element-wise batch rule); all-legacy arrays stay legacy traffic.\"},{rung:\"era-classification\",order:3,evaluatedAt:\"edge\",codes:[dc,K.UnsupportedProtocolVersion],conformance:[\"server-stateless\",\"http-header-validation\",\"http-custom-header-server-validation\"],rationale:\"Body-primary era classification with the protocol-version header as a cross-check; a header/body disagreement is rejected with -32020 (HeaderMismatch), and an envelope-less request on a modern-only endpoint is answered with the unsupported-protocol-version error naming the supported revisions.\"},{rung:\"envelope\",order:4,evaluatedAt:\"edge\",codes:[K.InvalidParams],conformance:[\"server-stateless\"],rationale:\"A present envelope claim with a malformed envelope \\u2014 and a missing envelope on a request whose protocol-version header names a modern revision \\u2014 is an invalid-params rejection naming the offending or missing key(s); never a silent fall back to legacy handling. This is the only place an invalid-params rejection maps to HTTP 400.\"},{rung:\"method-registry\",order:5,evaluatedAt:\"dispatch\",codes:[K.MethodNotFound],conformance:[\"server-stateless\"],rationale:\"Method existence outranks parameter validity: a method absent from the negotiated revision\\u2019s registry (or with no handler installed) answers method-not-found before params or capabilities are looked at.\"},{rung:\"request-params\",order:6,evaluatedAt:\"dispatch\",codes:[K.InvalidParams],conformance:[],rationale:\"Per-method params validation; emitted in-band by the dispatch layer (HTTP 200), never via the ladder status table.\"},{rung:\"standard-header-validation\",order:7,evaluatedAt:\"pre-dispatch\",codes:[dc],conformance:[\"http-header-validation\"],rationale:\"SEP-2243 standard `MCP-Protocol-Version` / `Mcp-Method` / `Mcp-Name` headers \\u2014 presence, sentinel decoding, and `Mcp-Name` \\u2194 body cross-check \\u2014 are validated by the HTTP entry on a modern-classified request after the supported-revision gate and before dispatch. The spec requires `MCP-Protocol-Version` and `Mcp-Method` on every modern *request* POST (`Mcp-Name` only for the methods that mirror `params.name` / `params.uri` / `params.taskId`, see `MCP_NAME_HEADER_SOURCE`) and names them in that order, so a request missing several is answered by the earliest. Notification POSTs are exempt: the presence half runs on requests only, so a modern-enveloped notification is dispatched even with no standard headers at all. The classifier\\u2019s own header-mismatch cells (protocol-version, `Mcp-Method` mismatch) stay on the edge `era-classification` rung; this rung carries the entry-layer presence/`Mcp-Name` half \\u2014 including the missing `MCP-Protocol-Version` cell, which cannot live on the edge rung without breaking body-primary classification. Evaluated before the capability gate, the factory call, and the `Mcp-Param-*` rung so a request that fails several rungs is answered by the standard-header rung first. The documented order (after method-registry 5 and request-params 6) is NOT the observed precedence: serveModern evaluates this rung immediately after the supported-revision gate, so a request that also fails a dispatch rung is answered here before the dispatch rungs (5\\u20136) are consulted.\"},{rung:\"client-capabilities\",order:8,evaluatedAt:\"pre-dispatch\",codes:[K.MissingRequiredClientCapability],conformance:[\"server-stateless\"],rationale:\"The capability requirement is checked by the HTTP entry, pre-dispatch, against the validated envelope the classifier produced \\u2014 pinning the spec-mandated HTTP 400 independently of how dispatch- and handler-produced errors are mapped. The documented order (after method resolution and params validation) is preserved observably only while the requirement table is empty: once a served method gains a requirement entry, a request that is missing the capability and would also fail a dispatch rung is answered by this gate first, so the entry must consult the method registry before the gate if the documented precedence is to stay observable.\"},{rung:\"param-header-validation\",order:9,evaluatedAt:\"pre-dispatch\",codes:[dc],conformance:[\"http-custom-header-server-validation\"],rationale:\"SEP-2243 `Mcp-Param-*` headers are validated against the named tool\\u2019s `x-mcp-header` declarations and the body `arguments` after the tool registry is known and before dispatch reaches the handler; a missing/disagreeing/malformed header is rejected 400 / -32020 with the same shape as the standard-header cross-checks. The documented order (after method resolution and params validation) is preserved observably only when the body `arguments` would otherwise validate: the check runs pre-dispatch, so a `tools/call` that fails BOTH this rung and a dispatch-time rung (e.g. order-6 `request-params`, -32602) is answered by this gate first with 400 / -32020, not by the earlier-ordered rung.\"}],OC={[K.ParseError]:400,[K.InvalidRequest]:400,[K.MethodNotFound]:404,[K.UnsupportedProtocolVersion]:400,[K.MissingRequiredClientCapability]:400,[dc]:400};function sv(e,t){return la(e,t)}function lc(e){return new Set(e.flatMap(t=>Object.keys(t.shape)))}function Xg(e){if(e==null)return!1;let t=typeof e;return t!==\"object\"&&t!==\"function\"||!(\"~standard\"in e)?!1:typeof e[\"~standard\"]?.validate==\"function\"}var xb=!1,Qg=\"draft-2020-12\";function iR(e,t=\"input\"){let n=e[\"~standard\"],o;if(n.jsonSchema)o=n.jsonSchema[t]({target:Qg});else if(n.vendor===\"zod\"){if(!(\"_zod\"in e))throw new Error(\"Schema appears to be from zod 3, which the SDK cannot convert to JSON Schema. Upgrade to zod >=4.2.0, or wrap your JSON Schema with fromJsonSchema().\");xb||(xb=!0,console.warn(\"[mcp-sdk] Your zod version does not implement `~standard.jsonSchema` (added in zod 4.2.0). Falling back to z.toJSONSchema(). Upgrade to zod >=4.2.0 to silence this warning.\")),o=Or(e,{target:Qg,io:t})}else throw new Error(`Schema library \"${n.vendor}\" does not implement StandardJSONSchemaV1 (\\`~standard.jsonSchema\\`). Upgrade to a version that does, or wrap your JSON Schema with fromJsonSchema().`);if(t===\"output\")return o.type!==void 0?o:n$(o)?{type:\"object\",...o}:o;if(o.type!==void 0&&o.type!==\"object\")throw new Error(`MCP tool and prompt schemas must describe objects (got type: ${JSON.stringify(o.type)}). Wrap your schema in z.object({...}) or equivalent.`);return{type:\"object\",...o}}function n$(e){if(\"properties\"in e||\"patternProperties\"in e||\"additionalProperties\"in e||\"required\"in e)return!0;for(let t of[\"oneOf\",\"anyOf\",\"allOf\"]){let n=e[t];if(Array.isArray(n)&&n.length>0)return n.every(o=>o!==null&&typeof o==\"object\"&&(o.type===\"object\"||n$(o)))}return!1}function oR(e){return e.path?.length?`${e.path.map(t=>String(typeof t==\"object\"?t.key:t)).join(\".\")}: ${e.message}`:e.message}async function Bg(e,t){let n=await e[\"~standard\"].validate(t);return n.issues&&n.issues.length>0?{success:!1,error:n.issues.map(o=>oR(o)).join(\", \")}:{success:!0,data:n.value}}function aR(e){let t=Or(e,{target:Qg,io:\"input\"});return typeof t.pattern==\"string\"?t.pattern:void 0}var sR=/\\\\\\.\\\\d\\{(\\d+)\\}/;function cR(e){let t=sR.exec(e),n=[void 0,-1,0];return t&&n.push(Number(t[1])),[!1,!0].flatMap(o=>[!1,!0].flatMap(r=>n.map(i=>Ke.datetime({local:o,offset:r,precision:i}))))}function lR(e,t){let n;switch(e){case\"email\":n=[_u()];break;case\"uri\":n=[Yn()];break;case\"date\":n=[Ke.date()];break;case\"date-time\":n=cR(t);break}return new Set(n.map(o=>aR(o)).filter(o=>o!==void 0))}function uR(e,t,n){return n!==\"zod\"?!0:lR(e,t).has(t)}function pc(e){return typeof e==\"object\"&&e!==null&&!Array.isArray(e)}function dR(e){try{return iR(e,\"input\")}catch(t){let n=t instanceof Error?t.message:String(t);throw new Se(K.InvalidParams,`Elicitation requestedSchema must describe an object with flat primitive properties: ${n}`)}}var mR=new Set([\"$comment\",\"deprecated\",\"description\",\"examples\",\"readOnly\",\"title\",\"writeOnly\"]);function cv(e){return mR.has(e)||e.startsWith(\"x-\")}var pR=new Set([\"$schema\",...Object.keys(Wr.shape.requestedSchema.shape)]),Ib={string:lc([Kr,$i,zi,wi]),number:lc([Gr]),integer:lc([Gr]),boolean:lc([bi]),array:lc([ki,xi])},fR=new Set(Kr.shape.format.unwrap().options);function hR(e,t,n,o){if(!pc(e))return e;let r=typeof e.type==\"string\"&&Object.hasOwn(Ib,e.type)?Ib[e.type]:void 0;if(r===void 0)return e;let i={};for(let[a,s]of Object.entries(e))r.has(a)||cv(a)?i[a]=s:a===\"pattern\"&&e.type===\"string\"&&typeof e.format==\"string\"?fR.has(e.format)?(typeof s!=\"string\"||!uR(e.format,s,n))&&o.push(`${t}.${a}`):i[a]=s:o.push(`${t}.${a}`);return i}function gR(e,t){let n={},o=[];for(let[r,i]of Object.entries(e))r===\"properties\"&&pc(i)?n[r]=Object.fromEntries(Object.entries(i).map(([a,s])=>[a,hR(s,`properties.${a}`,t,o)])):pR.has(r)?n[r]=i:cv(r)||o.push(r);if(o.length>0)throw new Se(K.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${o.join(\", \")}`);return n}function vR(e,t){if(!pc(e.properties))return t;let n=Object.entries(e.properties).filter(([,o])=>!sv(Ii,o).success).map(([o])=>`properties.${o}`);return n.length>0?n.join(\", \"):t}function ev(e,t,n=\"\"){return Array.isArray(e)&&Array.isArray(t)?e.flatMap((o,r)=>ev(o,t[r],`${n}[${r}]`)):!pc(e)||!pc(t)?[]:Object.entries(e).flatMap(([o,r])=>{let i=n?`${n}.${o}`:o;return Object.prototype.hasOwnProperty.call(t,o)?ev(r,t[o],i):cv(o)?[]:[i]})}function _R(e){if(!Xg(e.requestedSchema))return{...e,mode:\"form\",requestedSchema:e.requestedSchema};let t=e.requestedSchema[\"~standard\"].vendor,n=gR(dR(e.requestedSchema),t),o=sv(Wr.shape.requestedSchema,n);if(!o.success)throw new Se(K.InvalidParams,`Elicitation requestedSchema only supports flat primitive properties (string, number, integer, boolean, and string enums): ${vR(n,o.error.message)}`);let r=ev(n,o.data);if(r.length>0)throw new Se(K.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${r.join(\", \")}`);let i=(o.data.required??[]).filter(a=>!Object.prototype.hasOwnProperty.call(o.data.properties,a));if(i.length>0)throw new Se(K.InvalidParams,`Elicitation requestedSchema lists required properties that are not defined in properties: ${i.join(\", \")}`);return{...e,mode:\"form\",requestedSchema:o.data}}function SR(e){let t=e.inputRequests!==void 0&&Object.keys(e.inputRequests).length>0,n=typeof e.requestState==\"string\";if(!t&&!n)throw new TypeError(\"inputRequired() requires at least one of inputRequests (with at least one entry) or requestState (spec: every InputRequiredResult MUST include at least one of the two)\");return{resultType:\"input_required\",...e.inputRequests!==void 0&&{inputRequests:e.inputRequests},...e.requestState!==void 0&&{requestState:e.requestState}}}var CC=Object.assign(SR,{elicit(e){try{return{method:\"elicitation/create\",params:_R(e)}}catch(t){throw t instanceof Se?new TypeError(t.message,{cause:t}):t}},elicitUrl(e){return{method:\"elicitation/create\",params:{...e,mode:\"url\"}}},createMessage(e){return{method:\"sampling/createMessage\",params:e}},listRoots(){return{method:\"roots/list\"}}});var yR=[\"AnnotationsSchema\",\"AudioContentSchema\",\"BaseMetadataSchema\",\"BlobResourceContentsSchema\",\"BooleanSchemaSchema\",\"CallToolRequestSchema\",\"CallToolRequestParamsSchema\",\"CallToolResultSchema\",\"CancelledNotificationSchema\",\"CancelledNotificationParamsSchema\",\"CancelTaskRequestSchema\",\"CancelTaskResultSchema\",\"ClientCapabilitiesSchema\",\"ClientNotificationSchema\",\"ClientRequestSchema\",\"ClientResultSchema\",\"CompatibilityCallToolResultSchema\",\"CompleteRequestSchema\",\"CompleteRequestParamsSchema\",\"CompleteResultSchema\",\"ContentBlockSchema\",\"CreateMessageRequestSchema\",\"CreateMessageRequestParamsSchema\",\"CreateMessageResultSchema\",\"CreateMessageResultWithToolsSchema\",\"CreateTaskResultSchema\",\"CursorSchema\",\"DiscoverRequestSchema\",\"DiscoverResultSchema\",\"ElicitationCompleteNotificationSchema\",\"ElicitationCompleteNotificationParamsSchema\",\"ElicitRequestSchema\",\"ElicitRequestFormParamsSchema\",\"ElicitRequestParamsSchema\",\"ElicitRequestURLParamsSchema\",\"ElicitResultSchema\",\"EmbeddedResourceSchema\",\"EmptyResultSchema\",\"EnumSchemaSchema\",\"GetPromptRequestSchema\",\"GetPromptRequestParamsSchema\",\"GetPromptResultSchema\",\"GetTaskPayloadRequestSchema\",\"GetTaskPayloadResultSchema\",\"GetTaskRequestSchema\",\"GetTaskResultSchema\",\"IconSchema\",\"IconsSchema\",\"ImageContentSchema\",\"ImplementationSchema\",\"InitializedNotificationSchema\",\"InitializeRequestSchema\",\"InitializeRequestParamsSchema\",\"InitializeResultSchema\",\"JSONArraySchema\",\"JSONObjectSchema\",\"JSONRPCErrorResponseSchema\",\"JSONRPCMessageSchema\",\"JSONRPCNotificationSchema\",\"JSONRPCRequestSchema\",\"JSONRPCResponseSchema\",\"JSONRPCResultResponseSchema\",\"JSONValueSchema\",\"LegacyTitledEnumSchemaSchema\",\"ListPromptsRequestSchema\",\"ListPromptsResultSchema\",\"ListResourcesRequestSchema\",\"ListResourcesResultSchema\",\"ListResourceTemplatesRequestSchema\",\"ListResourceTemplatesResultSchema\",\"ListRootsRequestSchema\",\"ListRootsResultSchema\",\"ListTasksRequestSchema\",\"ListTasksResultSchema\",\"ListToolsRequestSchema\",\"ListToolsResultSchema\",\"LoggingLevelSchema\",\"LoggingMessageNotificationSchema\",\"LoggingMessageNotificationParamsSchema\",\"ModelHintSchema\",\"ModelPreferencesSchema\",\"MultiSelectEnumSchemaSchema\",\"NotificationSchema\",\"NumberSchemaSchema\",\"PaginatedRequestSchema\",\"PaginatedRequestParamsSchema\",\"PaginatedResultSchema\",\"PingRequestSchema\",\"PrimitiveSchemaDefinitionSchema\",\"ProgressSchema\",\"ProgressNotificationSchema\",\"ProgressNotificationParamsSchema\",\"ProgressTokenSchema\",\"PromptSchema\",\"PromptArgumentSchema\",\"PromptListChangedNotificationSchema\",\"PromptMessageSchema\",\"PromptReferenceSchema\",\"ReadResourceRequestSchema\",\"ReadResourceRequestParamsSchema\",\"ReadResourceResultSchema\",\"RelatedTaskMetadataSchema\",\"RequestSchema\",\"RequestIdSchema\",\"RequestMetaSchema\",\"ResourceSchema\",\"ResourceContentsSchema\",\"ResourceLinkSchema\",\"ResourceListChangedNotificationSchema\",\"ResourceRequestParamsSchema\",\"ResourceTemplateSchema\",\"ResourceTemplateReferenceSchema\",\"ResourceUpdatedNotificationSchema\",\"ResourceUpdatedNotificationParamsSchema\",\"ResultMetaObjectSchema\",\"ResultSchema\",\"RoleSchema\",\"RootSchema\",\"RootsListChangedNotificationSchema\",\"SamplingContentSchema\",\"SamplingMessageSchema\",\"SamplingMessageContentBlockSchema\",\"ServerCapabilitiesSchema\",\"ServerNotificationSchema\",\"ServerRequestSchema\",\"ServerResultSchema\",\"SetLevelRequestSchema\",\"SetLevelRequestParamsSchema\",\"SingleSelectEnumSchemaSchema\",\"StringSchemaSchema\",\"SubscribeRequestSchema\",\"SubscribeRequestParamsSchema\",\"SubscriptionFilterSchema\",\"SubscriptionsAcknowledgedNotificationSchema\",\"SubscriptionsAcknowledgedNotificationParamsSchema\",\"SubscriptionsListenRequestSchema\",\"SubscriptionsListenRequestParamsSchema\",\"SubscriptionsListenResultSchema\",\"SubscriptionsListenResultMetaSchema\",\"TaskAugmentedRequestParamsSchema\",\"TaskCreationParamsSchema\",\"TaskMetadataSchema\",\"TaskSchema\",\"TaskStatusSchema\",\"TaskStatusNotificationSchema\",\"TaskStatusNotificationParamsSchema\",\"TextContentSchema\",\"TextResourceContentsSchema\",\"TitledMultiSelectEnumSchemaSchema\",\"TitledSingleSelectEnumSchemaSchema\",\"ToolSchema\",\"ToolAnnotationsSchema\",\"ToolChoiceSchema\",\"ToolExecutionSchema\",\"ToolListChangedNotificationSchema\",\"ToolResultContentSchema\",\"ToolUseContentSchema\",\"UnsubscribeRequestSchema\",\"UnsubscribeRequestParamsSchema\",\"UntitledMultiSelectEnumSchemaSchema\",\"UntitledSingleSelectEnumSchemaSchema\"],bR={IdJagTokenExchangeResponseSchema:nc,OAuthClientInformationFullSchema:sc,OAuthClientInformationSchema:ac,OAuthClientMetadataSchema:oc,OAuthClientRegistrationErrorSchema:fd,OAuthErrorResponseSchema:ic,OAuthMetadataSchema:Ri,OAuthProtectedResourceMetadataSchema:Qs,OAuthTokenRevocationRequestSchema:hd,OAuthTokensSchema:rc,OpenIdProviderDiscoveryMetadataSchema:tc,OpenIdProviderMetadataSchema:ec},i$={},o$={};function a$(e,t){let n=e.slice(0,-6);i$[n]=t,o$[n]=o=>t.safeParse(o).success}for(let e of yR)a$(e,nR[e]);for(let[e,t]of Object.entries(bR))a$(e,t);var $R=Object.freeze(i$),zR=Object.freeze(o$);function wR(e){switch(e){case\"initialize\":case\"notifications/initialized\":return mc(void 0);case\"server/discover\":return mc(av);default:return}}var s$=6e4,kR=[Ar,ri,Ur,ni],xR=[\"inputResponses\",\"requestState\"];function Rb(e,t){let n=e.params;if(!Kg(n))return{message:e,lifted:{}};let o=n._meta,r=Kg(o)?kR.filter(c=>c in o):[],i=t===\"request\"?xR.filter(c=>c in n):[];if(r.length===0&&i.length===0)return{message:e,lifted:{}};let a={},s={...n};if(r.length>0&&Kg(o)){let c={},l={...o};for(let d of r)c[d]=o[d],delete l[d];a.envelope=c,Object.keys(l).length>0?s._meta=l:delete s._meta}for(let c of i)c===\"inputResponses\"&&(a.inputResponses=s[c]),c===\"requestState\"&&(a.requestState=s[c]),delete s[c];return{message:{...e,params:s},lifted:a}}function Pb(e,t){let n=e.validateResult(t,void 0);if(!(!n.ok&&n.reason===\"not-in-era\"))return{\"~standard\":{version:1,vendor:\"mcp-wire-codec\",validate(o){let r=e.validateResult(t,o);return r.ok?{value:r.value}:{issues:[{message:r.reason===\"invalid\"?r.message:`not-in-era: ${t}`}]}}}}}function c$(e){return()=>e}var IR=c$(void 0),RR,lv=class{_transport;_requestMessageId=0;_requestHandlers=new Map;_customSchemaRequestMethods=new Set;_requestHandlerAbortControllers=new Map;_notificationHandlers=new Map;_responseHandlers=new Map;_progressHandlers=new Map;_timeoutInfo=new Map;_pendingDebouncedNotifications=new Set;_negotiatedProtocolVersion;static{RR=(e,t)=>{e._negotiatedProtocolVersion=t}}_supportedProtocolVersions;onclose;onerror;fallbackRequestHandler;fallbackNotificationHandler;constructor(e){this._options=e,this._supportedProtocolVersions=e?.supportedProtocolVersions??Vu,this.setNotificationHandler(\"notifications/cancelled\",t=>{this._oncancel(t)}),this.setNotificationHandler(\"notifications/progress\",t=>{this._onprogress(t)}),this.setRequestHandler(\"ping\",t=>({}))}_shouldDropInbound(e){}_outboundMetaEnvelope(){}_envelopeOutbound(e){let t=this._outboundMetaEnvelope();if(t===void 0)return e;let n=e.params??{};return{...e,params:{...n,_meta:{...t,...n._meta}}}}_resolveNonCompleteResult(e,t){return Promise.reject(new ce(_e.UnsupportedResultType,`Unsupported result type '${e.kind}' for ${t.request.method}`,{resultType:e.kind,method:t.request.method}))}_getRequestHandler(e){return this._requestHandlers.get(e)}async _oncancel(e){e.params.requestId!==void 0&&this._requestHandlerAbortControllers.get(e.params.requestId)?.abort(e.params.reason)}_setupTimeout(e,t,n,o,r=!1){this._timeoutInfo.set(e,{timeoutId:setTimeout(o,t),startTime:Date.now(),timeout:t,maxTotalTimeout:n,resetTimeoutOnProgress:r,onTimeout:o})}_resetTimeout(e){let t=this._timeoutInfo.get(e);if(!t)return!1;let n=Date.now()-t.startTime;if(t.maxTotalTimeout&&n>=t.maxTotalTimeout)throw this._timeoutInfo.delete(e),new ce(_e.RequestTimeout,\"Maximum total timeout exceeded\",{maxTotalTimeout:t.maxTotalTimeout,totalElapsed:n});return clearTimeout(t.timeoutId),t.timeoutId=setTimeout(t.onTimeout,t.timeout),!0}_cleanupTimeout(e){let t=this._timeoutInfo.get(e);t&&(clearTimeout(t.timeoutId),this._timeoutInfo.delete(e))}async connect(e){this._transport=e;let t=this.transport?.onclose;this._transport.onclose=()=>{try{t?.()}finally{this._onclose()}};let n=this.transport?.onerror;this._transport.onerror=r=>{n?.(r),this._onerror(r)};let o=this._transport?.onmessage;this._transport.onmessage=(r,i)=>{o?.(r,i),Yg(r)||r$(r)?this._onresponse(r):e$(r)?this._onrequest(r,i):t$(r)?this._onnotification(r,i):this._onerror(new Error(`Unknown message type: ${JSON.stringify(r)}`))},e.setSupportedProtocolVersions?.(this._supportedProtocolVersions),await this._transport.start()}_onclose(){let e=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._pendingDebouncedNotifications.clear();for(let o of this._timeoutInfo.values())clearTimeout(o.timeoutId);this._timeoutInfo.clear();let t=this._requestHandlerAbortControllers;this._requestHandlerAbortControllers=new Map;let n=new ce(_e.ConnectionClosed,\"Connection closed\");this._transport=void 0;try{this.onclose?.()}finally{for(let o of e.values())o(n);for(let o of t.values())o.abort(n)}}_onerror(e){this.onerror?.(e)}_onnotification(e,t){let{message:n}=Rb(e,\"notification\"),o=this._negotiatedWireCodec();if(t?.classification===void 0&&this._shouldDropInbound(e)===\"drop\")return;if(t?.classification!==void 0){let a=wb(t.classification);if(a!==o.era){this._onerror(new Error(`Era mismatch on inbound notification '${n.method}': classified as ${a} but this instance serves ${o.era}`));return}}if(Hg(n.method)&&!o.hasNotificationMethod(n.method))return;let r=this._notificationHandlers.get(n.method),i=this.fallbackNotificationHandler;r===void 0&&i===void 0||Promise.resolve().then(()=>r===void 0?i(n):r(n,o)).catch(a=>this._onerror(new Error(`Uncaught error in notification handler: ${a}`)))}_onrequest(e,t){let{message:n,lifted:o}=Rb(e,\"request\"),r=this._negotiatedWireCodec();if(t?.classification===void 0&&this._shouldDropInbound(e)===\"drop\"){this._onerror(new Error(`Dropped inbound request '${e.method}': not servable on this connection's protocol era`));return}let i=this._transport,a=(b,x,O)=>{let P={jsonrpc:\"2.0\",id:n.id,error:{code:b,message:x,...O!==void 0&&{data:O}}};i?.send(P).catch(U=>this._onerror(new Error(`Failed to send an error response: ${U}`)))};if(t?.classification!==void 0){let b=wb(t.classification);if(b!==r.era){this._onerror(new Error(`Era mismatch on inbound request '${n.method}': classified as ${b} but this instance serves ${r.era}`));let x=t.classification.revision??b;a(K.UnsupportedProtocolVersion,`Unsupported protocol version: ${x}`,{supported:this._supportedProtocolVersions,requested:x});return}}if(Jg(n.method)&&!r.hasRequestMethod(n.method)&&!(kb(n.method)&&this._customSchemaRequestMethods.has(n.method))){a(K.MethodNotFound,\"Method not found\");return}let s=this._requestHandlers.get(n.method)??this.fallbackRequestHandler;if(s===void 0){a(K.MethodNotFound,\"Method not found\");return}let c=r.checkInboundEnvelope(o);if(c!==void 0){a(K.InvalidParams,c);return}let l=(b,x)=>this._notificationViaCodec(this._resolveOutboundCodec(b.method),b,{...x,relatedRequestId:n.id}),d=(b,x,O)=>this._requestWithSchemaViaCodec(this._resolveOutboundCodec(b.method),b,x,{...O,relatedRequestId:n.id}),p=new AbortController;this._requestHandlerAbortControllers.set(n.id,p);let f=o.inputResponses===void 0?void 0:PR(o.inputResponses),g={sessionId:i?.sessionId,mcpReq:{id:n.id,method:n.method,_meta:n.params?._meta,...o.envelope!==void 0&&{envelope:o.envelope},...f!==void 0&&{inputResponses:f.accepted},...f!==void 0&&f.droppedKeys.length>0&&{droppedInputResponseKeys:f.droppedKeys},requestState:o.requestState===void 0?IR:c$(o.requestState),signal:p.signal,send:((b,x,O)=>{let P=this._resolveOutboundCodec(b.method);if(this._assertOutboundRequestInEra(P,b.method),Xg(x))return d(b,x,O);let U=Pb(P,b.method);if(U===void 0)throw new TypeError(`'${b.method}' is not a spec method; pass a result schema as the second argument to ctx.mcpReq.send().`);return d(b,U,x)}),notify:l},http:t?.authInfo?{authInfo:t.authInfo}:void 0},_=this.buildContext(g,t);Promise.resolve().then(()=>s(n,_)).then(async b=>{if(p.signal.aborted)return;let x;try{x=r.encodeResult(n.method,b,this._outboundServerInfo())}catch(P){this._onerror(new Error(`Failed to encode result for ${n.method}: ${P}`)),a(K.InternalError,\"Internal error\");return}let O={result:x,jsonrpc:\"2.0\",id:n.id};await i?.send(O)},async b=>{if(p.signal.aborted)return;let x=Number.isSafeInteger(b.code)?b.code:K.InternalError,O={jsonrpc:\"2.0\",id:n.id,error:{code:r.encodeErrorCode(x),message:b.message??\"Internal error\",...b.data!==void 0&&{data:b.data}}};await i?.send(O)}).catch(b=>this._onerror(new Error(`Failed to send response: ${b}`))).finally(()=>{this._requestHandlerAbortControllers.get(n.id)===p&&this._requestHandlerAbortControllers.delete(n.id)})}_onprogress(e){let{progressToken:t,...n}=e.params,o=Number(t),r=this._progressHandlers.get(o);if(!r){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(e)}`));return}let i=this._responseHandlers.get(o),a=this._timeoutInfo.get(o);if(a&&i&&a.resetTimeoutOnProgress)try{this._resetTimeout(o)}catch(s){this._responseHandlers.delete(o),this._progressHandlers.delete(o),this._cleanupTimeout(o),i(s);return}r(n)}_onresponse(e){let t=Number(e.id),n=this._responseHandlers.get(t);if(n===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`));return}this._responseHandlers.delete(t),this._cleanupTimeout(t),this._progressHandlers.delete(t),Yg(e)?n(e):n(Se.fromError(e.error.code,e.error.message,e.error.data))}get transport(){return this._transport}async close(){await this._transport?.close()}request(e,t,n){let o=this._resolveOutboundCodec(e.method);if(Xg(t))return kb(e.method)||this._assertOutboundRequestInEra(o,e.method),this._requestWithSchemaViaCodec(o,e,t,n);this._assertOutboundRequestInEra(o,e.method);let r=Pb(o,e.method);if(r===void 0)throw new TypeError(`'${e.method}' is not a spec method; pass a result schema as the second argument to request().`);return this._requestWithSchemaViaCodec(o,e,r,t)}_negotiatedWireCodec(){return mc(this._negotiatedProtocolVersion)}_wireCodec(){return this._negotiatedWireCodec()}_resolveOutboundCodec(e){if(this._negotiatedProtocolVersion===void 0){let t=wR(e);if(t)return t}return this._negotiatedWireCodec()}_assertOutboundRequestInEra(e,t){if(Jg(t)&&!e.hasRequestMethod(t))throw new ce(_e.MethodNotSupportedByProtocolVersion,`Method '${t}' is not supported by the negotiated protocol version (wire era ${e.era})`,{method:t,era:e.era})}_requestWithSchema(e,t,n){let o=this._resolveOutboundCodec(e.method);return this._assertOutboundRequestInEra(o,e.method),this._requestWithSchemaViaCodec(o,e,t,n)}_requestWithSchemaViaCodec(e,t,n,o){let{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a,headers:s}=o??{},c=Date.now(),l,d;return new Promise((p,f)=>{let g=D=>{f(D)};if(!this._transport){g(new Error(\"Not connected\"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(t.method)}catch(D){g(D);return}if(o?.signal?.aborted){let D=o.signal.reason;throw D instanceof ce?D:new ce(_e.RequestTimeout,String(D))}let _=e.era===av&&this._transport.hasPerRequestStream===!0?new AbortController:void 0,b=this._requestMessageId++;d=b;let x={...t,jsonrpc:\"2.0\",id:b};o?.onprogress&&(this._progressHandlers.set(b,o.onprogress),x.params={...t.params,_meta:{...t.params?._meta,progressToken:b}});let O=this._envelopeOutbound(x),P=!1,U=D=>{P||(this._progressHandlers.delete(b),_===void 0?t.method!==\"initialize\"&&this._transport?.send(this._envelopeOutbound({jsonrpc:\"2.0\",method:\"notifications/cancelled\",params:{requestId:b,reason:String(D)}}),{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a}).catch(W=>this._onerror(new Error(`Failed to send cancellation: ${W}`))):_.abort(),f(D instanceof ce?D:new ce(_e.RequestTimeout,String(D))))};this._responseHandlers.set(b,D=>{if(o?.signal?.aborted)return;if(P=!0,D instanceof Error)return f(D);let W;try{W=e.decodeResult(t.method,D.result)}catch(de){return f(de instanceof Error?de:new Error(String(de)))}if(W.kind===\"invalid\")return f(W.error);if(W.kind===\"input_required\"){if(o?.allowInputRequired===!0)return p(TR(W));let de={codec:e,request:t,resultSchema:n,options:o,flowStartedAt:c,retry:(Ze,rt)=>this._requestWithSchemaViaCodec(e,Ze===void 0?{method:t.method}:{method:t.method,params:Ze},n,rt)};return p(this._resolveNonCompleteResult(W,de))}let Ae=W.result;Bg(n,Ae).then(de=>{de.success?p(de.data):f(new ce(_e.InvalidResult,`Invalid result for ${t.method}: ${de.error}`))},f)}),l=()=>U(o?.signal?.reason),o?.signal?.addEventListener(\"abort\",l,{once:!0});let J=o?.timeout??s$,G=()=>U(new ce(_e.RequestTimeout,\"Request timed out\",{timeout:J}));this._setupTimeout(b,J,o?.maxTotalTimeout,G,o?.resetTimeoutOnProgress??!1),this._transport.send(O,{relatedRequestId:r,resumptionToken:i,onresumptiontoken:a,headers:s,requestSignal:_?.signal}).catch(D=>{this._progressHandlers.delete(b),f(D)})}).finally(()=>{l&&o?.signal?.removeEventListener(\"abort\",l),d!==void 0&&(this._responseHandlers.delete(d),this._cleanupTimeout(d))})}async notification(e,t){return await this._notificationViaCodec(this._resolveOutboundCodec(e.method),e,t)}async _notificationViaCodec(e,t,n){if(!this._transport)throw new ce(_e.NotConnected,\"Not connected\");if(Hg(t.method)&&!e.hasNotificationMethod(t.method))throw new ce(_e.MethodNotSupportedByProtocolVersion,`Notification '${t.method}' is not supported by the negotiated protocol version (wire era ${e.era})`,{method:t.method,era:e.era});this.assertNotificationCapability(t.method);let o=this._envelopeOutbound({jsonrpc:\"2.0\",...t});if((this._options?.debouncedNotificationMethods??[]).includes(t.method)&&!t.params&&n?.relatedRequestId===void 0){if(this._pendingDebouncedNotifications.has(t.method))return;this._pendingDebouncedNotifications.add(t.method),Promise.resolve().then(()=>{this._pendingDebouncedNotifications.delete(t.method),this._transport&&this._transport?.send(o,n).catch(r=>this._onerror(r))});return}await this._transport.send(o,n)}setRequestHandler(e,t,n){this.assertRequestHandlerCapability(e);let o;if(typeof t==\"function\"){if(!Jg(e))throw new TypeError(`'${e}' is not a spec request method; pass schemas as the second argument to setRequestHandler().`);o=(r,i)=>{let a=this._negotiatedWireCodec(),s=a.validateRequest(e,r);if(!s.ok&&s.reason===\"not-in-era\"&&(s=a.validateInputRequest(e,r)),!s.ok)throw s.reason===\"not-in-era\"?new Se(K.InternalError,`No wire schema for ${e} in the resolved era`):new Error(s.message);return Promise.resolve(t(s.value,i))}}else if(n)o=async(r,i)=>{let a=await Bg(t.params,{...r.params});if(!a.success)throw new Se(K.InvalidParams,`Invalid params for ${e}: ${a.error}`);return n(a.data,i)};else throw new TypeError(\"setRequestHandler: handler is required\");typeof t==\"function\"?this._customSchemaRequestMethods.delete(e):this._customSchemaRequestMethods.add(e),this._requestHandlers.set(e,this._wrapHandler(e,o))}_wrapHandler(e,t){return t}_outboundServerInfo(){}removeRequestHandler(e){this._requestHandlers.delete(e),this._customSchemaRequestMethods.delete(e)}assertCanSetRequestHandler(e){if(this._requestHandlers.has(e))throw new Error(`A request handler for ${e} already exists, which would be overridden`)}setNotificationHandler(e,t,n){if(typeof t==\"function\"){if(!Hg(e))throw new TypeError(`'${e}' is not a spec notification method; pass schemas as the second argument to setNotificationHandler().`);this._notificationHandlers.set(e,(o,r)=>{let i=r.validateNotification(e,o);if(!i.ok)throw i.reason===\"not-in-era\"?new Se(K.InternalError,`No wire schema for ${e} in the resolved era`):new Error(i.message);return Promise.resolve(t(i.value))});return}if(!n)throw new TypeError(\"setNotificationHandler: handler is required\");this._notificationHandlers.set(e,async o=>{let r=await Bg(t.params,{...o.params});if(!r.success)throw new Se(K.InvalidParams,`Invalid params for notification ${e}: ${r.error}`);await n(r.data,o)})}removeNotificationHandler(e){this._notificationHandlers.delete(e)}};function Kg(e){return e!==null&&typeof e==\"object\"&&!Array.isArray(e)}function Tb(e){return typeof e==\"object\"&&e!==null&&!Array.isArray(e)}function PR(e){let t={},n=[];if(!Tb(e))return{accepted:t,droppedKeys:n};for(let[o,r]of Object.entries(e)){if(!Tb(r)||\"method\"in r||\"result\"in r){n.push(o);continue}t[o]=r}return{accepted:t,droppedKeys:n}}function TR(e){return{resultType:\"input_required\",inputRequests:e.inputRequests,...e.requestState!==void 0&&{requestState:e.requestState},...e._meta!==void 0&&{_meta:e._meta}}}/*!\n* content-type\n* Copyright(c) 2015 Douglas Christopher Wilson\n* MIT Licensed\n*/var ER=_v((e=>{var t=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *(\"(?:[\\u000b\\u0020\\u0021\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u000b\\u0020-\\u00ff])*\"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,n=/\\\\([\\u000b\\u0020-\\u00ff])/g,o=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;e.parse=r;function r(s){if(!s)throw new TypeError(\"argument string is required\");var c=typeof s==\"object\"?i(s):s;if(typeof c!=\"string\")throw new TypeError(\"argument string is required to be a string\");var l=c.indexOf(\";\"),d=l!==-1?c.slice(0,l).trim():c.trim();if(!o.test(d))throw new TypeError(\"invalid media type\");var p=new a(d.toLowerCase());if(l!==-1){var f,g,_;for(t.lastIndex=l;g=t.exec(c);){if(g.index!==l)throw new TypeError(\"invalid parameter format\");l+=g[0].length,f=g[1].toLowerCase(),_=g[2],_.charCodeAt(0)===34&&(_=_.slice(1,-1),_.indexOf(\"\\\\\")!==-1&&(_=_.replace(n,\"$1\"))),p.parameters[f]=_}if(l!==c.length)throw new TypeError(\"invalid parameter format\")}return p}function i(s){var c;if(typeof s.getHeader==\"function\"?c=s.getHeader(\"content-type\"):typeof s.headers==\"object\"&&(c=s.headers&&s.headers[\"content-type\"]),typeof c!=\"string\")throw new TypeError(\"content-type header is missing from object\");return c}function a(s){this.parameters=Object.create(null),this.type=s}})),NC=yv(ER(),1);var OR=10*1024*1024;var JC=typeof self<\"u\"&&self.location&&self.location.origin!==\"null\"?new URL(self.location.origin+self.location.pathname+location.search):new URL(\"https://github.com/cfworker\");var CR=/^(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)$/,NR=[0,31,28,31,30,31,30,31,31,30,31,30,31],jR=/^(\\d\\d):(\\d\\d):(\\d\\d)(\\.\\d+)?(z|[+-]\\d\\d(?::?\\d\\d)?)?$/i,AR=/^(?=.{1,253}\\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\\.?$/i,UR=/^(?:[a-z][a-z0-9+\\-.]*:)?(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\\.[a-z0-9\\-._~!$&'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)|(?:[a-z0-9\\-._~!$&'\"()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'\"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\\?(?:[a-z0-9\\-._~!$&'\"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&'\"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,DR=/^(?:(?:[^\\x00-\\x20\"'<>%\\\\^`{|}]|%[0-9a-f]{2})|\\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?)*\\})*$/i,MR=/^(?:(?:https?|ftp):\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?!10(?:\\.\\d{1,3}){3})(?!127(?:\\.\\d{1,3}){3})(?!169\\.254(?:\\.\\d{1,3}){2})(?!192\\.168(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u{00a1}-\\u{ffff}0-9]+-?)*[a-z\\u{00a1}-\\u{ffff}0-9]+)(?:\\.(?:[a-z\\u{00a1}-\\u{ffff}0-9]+-?)*[a-z\\u{00a1}-\\u{ffff}0-9]+)*(?:\\.(?:[a-z\\u{00a1}-\\u{ffff}]{2,})))(?::\\d{2,5})?(?:\\/[^\\s]*)?$/iu,qR=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,LR=/^(?:\\/(?:[^~/]|~0|~1)*)*$/,VR=/^#(?:\\/(?:[a-z0-9_\\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,ZR=/^(?:0|[1-9][0-9]*)(?:#|(?:\\/(?:[^~/]|~0|~1)*)*)$/,FR=e=>{if(e[0]==='\"')return!1;let[t,n,...o]=e.split(\"@\");return!t||!n||o.length!==0||t.length>64||n.length>253||t[0]===\".\"||t.endsWith(\".\")||t.includes(\"..\")||!/^[a-z0-9.-]+$/i.test(n)||!/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+$/i.test(t)?!1:n.split(\".\").every(r=>/^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$/i.test(r))},JR=/^(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)$/,HR=/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))$/i,BR=e=>e.length>1&&e.length<80&&(/^P\\d+([.,]\\d+)?W$/.test(e)||/^P[\\dYMDTHS]*(\\d[.,]\\d+)?[YMDHS]$/.test(e)&&/^P([.,\\d]+Y)?([.,\\d]+M)?([.,\\d]+D)?(T([.,\\d]+H)?([.,\\d]+M)?([.,\\d]+S)?)?$/.test(e));function ft(e){return e.test.bind(e)}var HC={date:l$,time:u$.bind(void 0,!1),\"date-time\":WR,duration:BR,uri:QR,\"uri-reference\":ft(UR),\"uri-template\":ft(DR),url:ft(MR),email:FR,hostname:ft(AR),ipv4:ft(JR),ipv6:ft(HR),regex:tP,uuid:ft(qR),\"json-pointer\":ft(LR),\"json-pointer-uri-fragment\":ft(VR),\"relative-json-pointer\":ft(ZR)};function KR(e){return e%4===0&&(e%100!==0||e%400===0)}function l$(e){let t=e.match(CR);if(!t)return!1;let n=+t[1],o=+t[2],r=+t[3];return o>=1&&o<=12&&r>=1&&r<=(o==2&&KR(n)?29:NR[o])}function u$(e,t){let n=t.match(jR);if(!n)return!1;let o=+n[1],r=+n[2],i=+n[3],a=!!n[5];return(o<=23&&r<=59&&i<=59||o==23&&r==59&&i==60)&&(!e||a)}var GR=/t|\\s/i;function WR(e){let t=e.split(GR);return t.length==2&&l$(t[0])&&u$(!0,t[1])}var YR=/\\/|:/,XR=/^(?:[a-z][a-z0-9+\\-.]*:)(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\\.[a-z0-9\\-._~!$&'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)|(?:[a-z0-9\\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\\?(?:[a-z0-9\\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function QR(e){return YR.test(e)&&XR.test(e)}var eP=/[^\\\\]\\\\Z/;function tP(e){if(eP.test(e))return!1;try{return new RegExp(e,\"u\"),!0}catch{return!1}}var nP;nP=globalThis.crypto;var fc=class extends Error{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.OAuthClientFlowError\"})}static[Symbol.hasInstance](e){return Le(this,e)}static isInstance(e){if(typeof this!=\"function\")throw new TypeError(\"isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`\");return Le(this,e)}constructor(e){super(e),this.name=new.target.name,Yr(this,new.target)}},q0=class extends fc{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.IssuerMismatchError\"})}kind;expected;received;constructor(e,t,n){super(`Issuer mismatch in ${e===\"metadata\"?\"authorization server metadata (RFC 8414 \\xA73.3)\":\"authorization response (RFC 9207)\"}: expected ${JSON.stringify(t)}, received ${JSON.stringify(n)}`),this.kind=e,this.expected=t,this.received=n}},L0=class extends fc{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.RegistrationRejectedError\"})}status;body;submittedMetadata;constructor(e){super(`Dynamic Client Registration rejected (HTTP ${e.status}): ${e.body}`),this.status=e.status,this.body=e.body,this.submittedMetadata=e.submittedMetadata}},V0=class extends fc{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.InsecureTokenEndpointError\"})}tokenEndpoint;constructor(e){super(`Refusing to send credentials to non-https token endpoint '${e}'. OAuth token requests MUST use TLS (localhost / *.localhost / 127.0.0.1 / ::1 are exempt).`),this.tokenEndpoint=e}},Z0=class extends fc{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.AuthorizationServerMismatchError\"})}constructor(e,t){super(`Authorization server mismatch: credentials are bound to ${JSON.stringify(e)} but this call resolved ${JSON.stringify(t)}; refusing to present them to a different authorization server`),this.recordedIssuer=e,this.currentIssuer=t}},F0=class extends fc{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.InsufficientScopeError\"})}requiredScope;resourceMetadataUrl;errorDescription;constructor(e){super(`Insufficient scope${e.requiredScope?`: required \"${e.requiredScope}\"`:\"\"}`),this.requiredScope=e.requiredScope,this.resourceMetadataUrl=e.resourceMetadataUrl,this.errorDescription=e.errorDescription}};var J0=class extends Error{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.UnauthorizedError\"})}static[Symbol.hasInstance](e){return Le(this,e)}static isInstance(e){if(typeof this!=\"function\")throw new TypeError(\"isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`\");return Le(this,e)}constructor(e){super(e??\"Unauthorized\"),this.name=\"UnauthorizedError\",Yr(this,new.target)}};var H0=class extends Error{static{Object.defineProperty(this,\"mcpBrand\",{value:\"mcp.SseError\"})}static[Symbol.hasInstance](e){return Le(this,e)}static isInstance(e){if(typeof this!=\"function\")throw new TypeError(\"isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`\");return Le(this,e)}constructor(e,t,n){super(`SSE error: ${t}`),this.code=e,this.event=n,Yr(this,new.target)}};var uv=class{_eventSlots=new Map;setHandler(t,n){let o=this._ensureEventSlot(t);o.onHandler&&n&&console.warn(`[MCP Apps] on${String(t)} handler replaced. Use addEventListener(\"${String(t)}\", \\u2026) to add multiple listeners without replacing.`),o.onHandler=n}getHandler(t){return this._eventSlots.get(t)?.onHandler}addEventListener(t,n){this._ensureEventSlot(t).listeners.push(n)}removeEventListener(t,n){let o=this._eventSlots.get(t);if(!o)return;let r=o.listeners.indexOf(n);r!==-1&&o.listeners.splice(r,1)}dispatch(t,n){let o=this._eventSlots.get(t);if(o){o.onHandler?.(n);for(let r of[...o.listeners])r(n)}}_ensureEventSlot(t){let n=this._eventSlots.get(t);return n||(n={listeners:[]},this._eventSlots.set(t,n)),n}},dv=class{_methods=new Set;claim(t,n){if(this._methods.has(t))throw Error(`Handler for \"${t}\" already registered (via ${n}). Use addEventListener() to attach multiple listeners, or the on* setter for replace semantics.`);this._methods.add(t)}replace(t){this._methods.add(t)}release(t){this._methods.delete(t)}has(t){return this._methods.has(t)}},d$=new Set;function m$(e,t){let[n,o]=t,r=n?.shape;if(typeof r?.method?.value!=\"string\")return;let i=r.method.value,a=e===\"request\"?\"setRequestHandler\":\"setNotificationHandler\";d$.has(a)||(d$.add(a),console.warn(`[ext-apps] ${a}(Schema, handler) is deprecated; use ${a}(\"${i}\", { params: Schema.shape.params }, handler).`));let s=o;return[i,{params:r.params},e===\"request\"?(c,l)=>s({method:i,params:c},iP(l)):c=>s({method:i,params:c})]}function iP(e){return{signal:e.mcpReq.signal,requestId:e.mcpReq.id,sessionId:e.sessionId,_meta:e.mcpReq._meta,sendRequest:e.mcpReq.send,sendNotification:e.mcpReq.notify,authInfo:e.http?.authInfo}}var oP=\"2026-01-26\";var aP=\"ui/notifications/tool-input-partial\";var mv=class{eventTarget;eventSource;messageListener;constructor(t=window.parent,n){this.eventTarget=t,this.eventSource=n,this.messageListener=o=>{if(n&&o.source!==this.eventSource){console.debug(\"Ignoring message from unknown source\",o);return}let r=Lr.safeParse(o.data);r.success?(console.debug(\"Parsed message\",r.data),this.onmessage?.(r.data)):o.data?.jsonrpc!==\"2.0\"?console.debug(\"Ignoring non-JSON-RPC message\",r.error.message,o):(console.error(\"Failed to parse message\",r.error.message,o),this.onerror?.(Error(\"Invalid JSON-RPC message received: \"+r.error.message)))}}async start(){window.addEventListener(\"message\",this.messageListener)}async send(t,n){t.method!==aP&&console.debug(\"Sending message\",t),this.eventTarget.postMessage(t,\"*\")}async close(){window.removeEventListener(\"message\",this.messageListener),this.onclose?.()}onclose;onerror;onmessage;sessionId;setProtocolVersion},sP=m.union([m.literal(\"light\"),m.literal(\"dark\")]).describe(\"Color theme preference for the host environment.\"),hc=m.union([m.literal(\"inline\"),m.literal(\"fullscreen\"),m.literal(\"pip\")]).describe(\"Display mode for UI presentation.\"),cP=m.union([m.literal(\"--color-background-primary\"),m.literal(\"--color-background-secondary\"),m.literal(\"--color-background-tertiary\"),m.literal(\"--color-background-inverse\"),m.literal(\"--color-background-ghost\"),m.literal(\"--color-background-info\"),m.literal(\"--color-background-danger\"),m.literal(\"--color-background-success\"),m.literal(\"--color-background-warning\"),m.literal(\"--color-background-disabled\"),m.literal(\"--color-text-primary\"),m.literal(\"--color-text-secondary\"),m.literal(\"--color-text-tertiary\"),m.literal(\"--color-text-inverse\"),m.literal(\"--color-text-ghost\"),m.literal(\"--color-text-info\"),m.literal(\"--color-text-danger\"),m.literal(\"--color-text-success\"),m.literal(\"--color-text-warning\"),m.literal(\"--color-text-disabled\"),m.literal(\"--color-border-primary\"),m.literal(\"--color-border-secondary\"),m.literal(\"--color-border-tertiary\"),m.literal(\"--color-border-inverse\"),m.literal(\"--color-border-ghost\"),m.literal(\"--color-border-info\"),m.literal(\"--color-border-danger\"),m.literal(\"--color-border-success\"),m.literal(\"--color-border-warning\"),m.literal(\"--color-border-disabled\"),m.literal(\"--color-ring-primary\"),m.literal(\"--color-ring-secondary\"),m.literal(\"--color-ring-inverse\"),m.literal(\"--color-ring-info\"),m.literal(\"--color-ring-danger\"),m.literal(\"--color-ring-success\"),m.literal(\"--color-ring-warning\"),m.literal(\"--font-sans\"),m.literal(\"--font-mono\"),m.literal(\"--font-weight-normal\"),m.literal(\"--font-weight-medium\"),m.literal(\"--font-weight-semibold\"),m.literal(\"--font-weight-bold\"),m.literal(\"--font-text-xs-size\"),m.literal(\"--font-text-sm-size\"),m.literal(\"--font-text-md-size\"),m.literal(\"--font-text-lg-size\"),m.literal(\"--font-heading-xs-size\"),m.literal(\"--font-heading-sm-size\"),m.literal(\"--font-heading-md-size\"),m.literal(\"--font-heading-lg-size\"),m.literal(\"--font-heading-xl-size\"),m.literal(\"--font-heading-2xl-size\"),m.literal(\"--font-heading-3xl-size\"),m.literal(\"--font-text-xs-line-height\"),m.literal(\"--font-text-sm-line-height\"),m.literal(\"--font-text-md-line-height\"),m.literal(\"--font-text-lg-line-height\"),m.literal(\"--font-heading-xs-line-height\"),m.literal(\"--font-heading-sm-line-height\"),m.literal(\"--font-heading-md-line-height\"),m.literal(\"--font-heading-lg-line-height\"),m.literal(\"--font-heading-xl-line-height\"),m.literal(\"--font-heading-2xl-line-height\"),m.literal(\"--font-heading-3xl-line-height\"),m.literal(\"--border-radius-xs\"),m.literal(\"--border-radius-sm\"),m.literal(\"--border-radius-md\"),m.literal(\"--border-radius-lg\"),m.literal(\"--border-radius-xl\"),m.literal(\"--border-radius-full\"),m.literal(\"--border-width-regular\"),m.literal(\"--shadow-hairline\"),m.literal(\"--shadow-sm\"),m.literal(\"--shadow-md\"),m.literal(\"--shadow-lg\")]).describe(\"CSS variable keys available to MCP apps for theming.\"),lP=m.record(cP.describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),m.union([m.string(),m.undefined()]).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`)).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),lN=m.object({method:m.literal(\"ui/open-link\"),params:m.object({url:m.string().describe(\"URL to open in the host's browser\")})}),uP=m.object({isError:m.boolean().optional().describe(\"True if the host failed to open the URL (e.g., due to security policy).\")}).passthrough(),dP=m.object({isError:m.boolean().optional().describe(\"True if the download failed (e.g., user cancelled or host denied).\")}).passthrough(),mP=m.object({isError:m.boolean().optional().describe(\"True if the host rejected or failed to deliver the message.\")}).passthrough(),uN=m.object({method:m.literal(\"ui/notifications/sandbox-proxy-ready\"),params:m.object({})}),pv=m.object({connectDomains:m.array(m.string()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).\n\n- Maps to CSP \\`connect-src\\` directive\n- Empty or omitted \\u2192 no network connections (secure default)`),resourceDomains:m.array(m.string()).optional().describe(\"Origins for static resources (images, scripts, stylesheets, fonts, media).\\n\\n- Maps to CSP `img-src`, `script-src`, `style-src`, `font-src`, `media-src` directives\\n- Wildcard subdomains supported: `https://*.example.com`\\n- Empty or omitted \\u2192 no network resources (secure default)\"),frameDomains:m.array(m.string()).optional().describe(\"Origins for nested iframes.\\n\\n- Maps to CSP `frame-src` directive\\n- Empty or omitted \\u2192 no nested iframes allowed (`frame-src 'none'`)\"),baseUriDomains:m.array(m.string()).optional().describe(\"Allowed base URIs for the document.\\n\\n- Maps to CSP `base-uri` directive\\n- Empty or omitted \\u2192 only same origin allowed (`base-uri 'self'`)\")}),fv=m.object({camera:m.object({}).optional().describe(\"Request camera access.\\n\\nMaps to Permission Policy `camera` feature.\"),microphone:m.object({}).optional().describe(\"Request microphone access.\\n\\nMaps to Permission Policy `microphone` feature.\"),geolocation:m.object({}).optional().describe(\"Request geolocation access.\\n\\nMaps to Permission Policy `geolocation` feature.\"),clipboardWrite:m.object({}).optional().describe(\"Request clipboard write access.\\n\\nMaps to Permission Policy `clipboard-write` feature.\")}),dN=m.object({method:m.literal(\"ui/notifications/size-changed\"),params:m.object({width:m.number().optional().describe(\"New width in pixels.\"),height:m.number().optional().describe(\"New height in pixels.\")})}),pP=m.object({method:m.literal(\"ui/notifications/tool-input\"),params:m.object({arguments:m.record(m.string(),m.unknown().describe(\"Complete tool call arguments as key-value pairs.\")).optional().describe(\"Complete tool call arguments as key-value pairs.\")})}),fP=m.object({method:m.literal(\"ui/notifications/tool-input-partial\"),params:m.object({arguments:m.record(m.string(),m.unknown().describe(\"Partial tool call arguments (incomplete, may change).\")).optional().describe(\"Partial tool call arguments (incomplete, may change).\")})}),hP=m.object({method:m.literal(\"ui/notifications/tool-cancelled\"),params:m.object({reason:m.string().optional().describe('Optional reason for the cancellation (e.g., \"user action\", \"timeout\").')})}),gP=m.object({fonts:m.string().optional()}),vP=m.object({variables:lP.optional().describe(\"CSS variables for theming the app.\"),css:gP.optional().describe(\"CSS blocks that apps can inject.\")}),_P=m.object({method:m.literal(\"ui/resource-teardown\"),params:m.object({})}),SP=m.record(m.string(),m.unknown()),p$=m.object({text:m.object({}).optional().describe(\"Host supports text content blocks.\"),image:m.object({}).optional().describe(\"Host supports image content blocks.\"),audio:m.object({}).optional().describe(\"Host supports audio content blocks.\"),resource:m.object({}).optional().describe(\"Host supports resource content blocks.\"),resourceLink:m.object({}).optional().describe(\"Host supports resource link content blocks.\"),structuredContent:m.object({}).optional().describe(\"Host supports structured content.\")}),mN=m.object({method:m.literal(\"ui/notifications/request-teardown\"),params:m.object({}).optional()}),yP=m.object({experimental:m.record(m.string(),m.record(m.string(),m.any()).describe(\"Experimental features keyed by identifier.\")).optional().describe(\"Experimental features keyed by identifier.\"),openLinks:m.object({}).optional().describe(\"Host supports opening external URLs.\"),downloadFile:m.object({}).optional().describe(\"Host supports file downloads via ui/download-file.\"),serverTools:m.object({listChanged:m.boolean().optional().describe(\"Host supports tools/list_changed notifications.\")}).optional().describe(\"Host can proxy tool calls to the MCP server.\"),serverResources:m.object({listChanged:m.boolean().optional().describe(\"Host supports resources/list_changed notifications.\")}).optional().describe(\"Host can proxy resource reads to the MCP server.\"),logging:m.object({}).optional().describe(\"Host accepts log messages.\"),sandbox:m.object({permissions:fv.optional().describe(\"Permissions granted by the host (camera, microphone, geolocation).\"),csp:pv.optional().describe(\"CSP domains approved by the host.\")}).optional().describe(\"Sandbox configuration applied by the host.\"),updateModelContext:p$.optional().describe(\"Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns.\"),message:p$.optional().describe(\"Host supports receiving content messages (ui/message) from the view.\"),sampling:m.object({tools:m.object({}).optional().describe(\"Host supports tool use via `tools` and `toolChoice` parameters.\")}).optional().describe(\"Host supports LLM sampling (sampling/createMessage) from the view.\\nMirrors the MCP `ClientCapabilities.sampling` shape so hosts can pass it through.\")}),bP=m.object({experimental:m.record(m.string(),m.record(m.string(),m.any()).describe(\"Experimental features keyed by identifier.\")).optional().describe(\"Experimental features keyed by identifier.\"),tools:m.object({listChanged:m.boolean().optional().describe(\"App supports tools/list_changed notifications.\")}).optional().describe(\"App exposes MCP-style tools that the host can call.\"),availableDisplayModes:m.array(hc).optional().describe(\"Display modes the app supports.\")}),pN=m.object({method:m.literal(\"ui/notifications/initialized\"),params:m.object({}).optional()}),fN=m.object({csp:pv.optional().describe(\"Content Security Policy configuration for UI resources.\"),permissions:fv.optional().describe(\"Sandbox permissions requested by the UI resource.\"),domain:m.string().optional().describe(`Dedicated origin for view sandbox.\n\nUseful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.\n\n**Host-dependent:** The format and validation rules for this field are determined by each host. Servers MUST consult host-specific documentation for the expected domain format. Common patterns include:\n- Hash-based subdomains (e.g., \\`{hash}.claudemcpcontent.com\\`)\n- URL-derived subdomains (e.g., \\`www-example-com.oaiusercontent.com\\`)\n\nIf omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:m.boolean().optional().describe(`Visual boundary preference - true if view prefers a visible border.\n\nBoolean requesting whether a visible border and background is provided by the host. Specifying an explicit value for this is recommended because hosts' defaults may vary.\n\n- \\`true\\`: request visible border + background\n- \\`false\\`: request no visible border + background\n- omitted: host decides border`)}),hN=m.object({method:m.literal(\"ui/request-display-mode\"),params:m.object({mode:hc.describe(\"The display mode being requested.\")})}),$P=m.object({mode:hc.describe(\"The display mode that was actually set. May differ from requested if not supported.\")}).passthrough(),zP=m.union([m.literal(\"model\"),m.literal(\"app\")]).describe(\"Tool visibility scope - who can access the tool.\"),gN=m.object({resourceUri:m.string().optional(),visibility:m.array(zP).optional().describe(`Who can access this tool. Default: [\"model\", \"app\"]\n- \"model\": Tool visible to and callable by the agent\n- \"app\": Tool callable by the app from this server only`),csp:m.never().optional(),permissions:m.never().optional()}),vN=m.object({mimeTypes:m.array(m.string()).optional().describe('Array of supported MIME types for UI resources.\\nMust include `\"text/html;profile=mcp-app\"` for MCP Apps support.')}),_N=m.object({method:m.literal(\"ui/download-file\"),params:m.object({contents:m.array(m.union([Hr,Br])).describe(\"Resource contents to download \\u2014 embedded (inline data) or linked (host fetches). Uses standard MCP resource types.\")})}),SN=m.object({method:m.literal(\"ui/message\"),params:m.object({role:m.literal(\"user\").describe('Message role, currently only \"user\" is supported.'),content:m.array(pt).describe(\"Message content blocks (text, image, etc.).\")})}),yN=m.object({method:m.literal(\"ui/notifications/sandbox-resource-ready\"),params:m.object({html:m.string().describe(\"HTML content to load into the inner iframe.\"),sandbox:m.string().optional().describe(\"Optional override for the inner iframe's sandbox attribute.\"),csp:pv.optional().describe(\"CSP configuration from resource metadata.\"),permissions:fv.optional().describe(\"Sandbox permissions from resource metadata.\")})}),wP=m.object({method:m.literal(\"ui/notifications/tool-result\"),params:tr.describe(\"Standard MCP tool execution result.\")}),g$=m.object({toolInfo:m.object({id:tt.optional().describe(\"JSON-RPC id of the tools/call request.\"),tool:er.describe(\"Tool definition including name, inputSchema, etc.\")}).optional().describe(\"Metadata of the tool call that instantiated this App.\"),theme:sP.optional().describe(\"Current color theme preference.\"),styles:vP.optional().describe(\"Style configuration for theming the app.\"),displayMode:hc.optional().describe(\"How the UI is currently displayed.\"),availableDisplayModes:m.array(hc).optional().describe(\"Display modes the host supports.\"),containerDimensions:m.union([m.object({height:m.number().describe(\"Fixed container height in pixels.\")}),m.object({maxHeight:m.union([m.number(),m.undefined()]).optional().describe(\"Maximum container height in pixels.\")})]).and(m.union([m.object({width:m.number().describe(\"Fixed container width in pixels.\")}),m.object({maxWidth:m.union([m.number(),m.undefined()]).optional().describe(\"Maximum container width in pixels.\")})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other\ncontainer holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:m.string().optional().describe(\"User's language and region preference in BCP 47 format.\"),timeZone:m.string().optional().describe(\"User's timezone in IANA format.\"),userAgent:m.string().optional().describe(\"Host application identifier.\"),platform:m.union([m.literal(\"web\"),m.literal(\"desktop\"),m.literal(\"mobile\")]).optional().describe(\"Platform type for responsive design decisions.\"),deviceCapabilities:m.object({touch:m.boolean().optional().describe(\"Whether the device supports touch input.\"),hover:m.boolean().optional().describe(\"Whether the device supports hover interactions.\")}).optional().describe(\"Device input capabilities.\"),safeAreaInsets:m.object({top:m.number().describe(\"Top safe area inset in pixels.\"),right:m.number().describe(\"Right safe area inset in pixels.\"),bottom:m.number().describe(\"Bottom safe area inset in pixels.\"),left:m.number().describe(\"Left safe area inset in pixels.\")}).optional().describe(\"Mobile safe area boundaries in pixels.\")}).passthrough(),kP=m.object({method:m.literal(\"ui/notifications/host-context-changed\"),params:g$.describe(\"Partial context update containing only changed fields.\")}),bN=m.object({method:m.literal(\"ui/update-model-context\"),params:m.object({content:m.array(pt).optional().describe(\"Context content blocks (text, image, etc.).\"),structuredContent:m.record(m.string(),m.unknown().describe(\"Structured content for machine-readable context data.\")).optional().describe(\"Structured content for machine-readable context data.\")})}),$N=m.object({method:m.literal(\"ui/initialize\"),params:m.object({appInfo:dt.describe(\"App identification (name and version).\"),appCapabilities:bP.describe(\"Features and capabilities this app provides.\"),protocolVersion:m.string().describe(\"Protocol version this app supports.\")})}),xP=m.object({protocolVersion:m.string().describe('Negotiated protocol version string (e.g., \"2025-11-21\").'),hostInfo:dt.describe(\"Host application identification and version.\"),hostCapabilities:yP.describe(\"Features and capabilities provided by the host.\"),hostContext:g$.describe(\"Rich context about the host environment.\")}).passthrough(),IP={target:\"draft-2020-12\"};async function f$(e,t){let n=e[\"~standard\"];if(n.jsonSchema)return n.jsonSchema[t](IP);throw Error(`Schema (vendor: ${n.vendor}) does not implement Standard JSON Schema (~standard.jsonSchema). Use a library that does (zod v4, ArkType, Valibot) or wrap your schema accordingly.`)}async function h$(e,t,n=\"\"){let o=await e[\"~standard\"].validate(t);if(o.issues){let r=o.issues.map(i=>{let a=i.path?.map(s=>typeof s==\"object\"?s.key:s).join(\".\");return a?`${a}: ${i.message}`:i.message}).join(\"; \");throw Error(n+r)}return o.value}function RP(e,t){let n={...e,...t};return t.experimental!==void 0&&(n.experimental={...e.experimental,...t.experimental}),t.tools!==void 0&&(n.tools={...e.tools,...t.tools}),n}var yd=class e extends lv{_appInfo;_appCapabilities;options;_hostCapabilities;_hostInfo;_hostContext;_registeredTools={};_initializedSent=!1;_registeredEvents=new Set;_events=new uv;_methods=new dv;setRequestHandler=(...t)=>{let[n,...o]=m$(\"request\",t)??t;this._methods.claim(n,\"setRequestHandler\"),super.setRequestHandler.call(this,n,...o)};setNotificationHandler=(...t)=>{let[n,...o]=m$(\"notification\",t)??t;this._methods.claim(n,\"setNotificationHandler\"),super.setNotificationHandler.call(this,n,...o)};removeRequestHandler=t=>{this._methods.release(t),super.removeRequestHandler(t)};removeNotificationHandler=t=>{this._methods.release(t),super.removeNotificationHandler(t)};replaceRequestHandler=(t,...n)=>{this._methods.replace(t),super.setRequestHandler.call(this,t,...n)};_assertInitialized(t){if(this._initializedSent)return;let n=`[ext-apps] App.${t}() called before connect() completed the ui/initialize handshake. Await app.connect() before calling this method, or move data loading to an ontoolresult handler.`;if(this.options?.strict)throw Error(n);console.warn(`${n}. This will throw in a future release.`)}eventSchemas={toolinput:pP,toolinputpartial:fP,toolresult:wP,toolcancelled:hP,hostcontextchanged:kP};static ONE_SHOT_EVENTS=new Set([\"toolinput\",\"toolinputpartial\",\"toolresult\",\"toolcancelled\"]);_everHadListener=new Set;_assertHandlerTiming(t){if(!e.ONE_SHOT_EVENTS.has(t)||this._everHadListener.has(t)||(this._everHadListener.add(t),!this._initializedSent))return;let n=`[ext-apps] \"${String(t)}\" handler registered after connect() completed the ui/initialize handshake. The host may have already sent this notification. Register handlers before calling app.connect().`;if(this.options?.strict)throw Error(n);console.warn(n)}setEventHandler(t,n){n&&this._assertHandlerTiming(t),this._ensureEventSlot(t),this._events.setHandler(t,n)}addEventListener(t,n){this._assertHandlerTiming(t),this._ensureEventSlot(t),this._events.addEventListener(t,n)}removeEventListener(t,n){this._events.removeEventListener(t,n)}_ensureEventSlot(t){if(this._registeredEvents.has(t))return;let n=this.eventSchemas[t];if(!n)throw Error(`Unknown event: ${String(t)}`);this.setNotificationHandler(n.shape.method.value,{params:n.shape.params},o=>{let r=o;t===\"hostcontextchanged\"&&(this._hostContext={...this._hostContext,...r}),this._events.dispatch(t,r)}),this._registeredEvents.add(t)}getEventHandler(t){return this._events.getHandler(t)}warnIfRequestHandlerReplaced(t,n,o){n&&o&&console.warn(`[MCP Apps] ${t} handler replaced. Previous handler will no longer be called.`)}constructor(t,n={},o={autoResize:!0}){super(o),this._appInfo=t,this._appCapabilities=n,this.options=o,this._methods.replace(\"notifications/cancelled\"),this._methods.replace(\"notifications/progress\"),!o.allowUnsafeEval&&m.config({jitless:!0}),this.replaceRequestHandler(\"ping\",r=>(console.log(\"Received ping:\",r.params),{})),this.setEventHandler(\"hostcontextchanged\",void 0)}buildContext(t){return t}registerAppCapabilities(t){if(this.transport)throw Error(\"Cannot register capabilities after transport is established\");this._appCapabilities=RP(this._appCapabilities,t)}registerTool(t,n,o){if(this._registeredTools[t])throw Error(`Tool ${t} is already registered`);let r=this,i=()=>{r._initializedSent&&r._appCapabilities.tools?.listChanged&&r.sendToolListChanged()},a=n.inputSchema!==void 0,s={title:n.title,description:n.description,inputSchema:n.inputSchema,outputSchema:n.outputSchema,annotations:n.annotations,_meta:n._meta,enabled:!0,enable(){this.enabled=!0,i()},disable(){this.enabled=!1,i()},update(c){Object.assign(this,c),i()},remove(){r._registeredTools[t]===s&&(delete r._registeredTools[t],i())},handler:async(c,l)=>{if(!s.enabled)throw Error(`Tool ${t} is disabled`);let d;if(a){let p=s.inputSchema,f=p?await h$(p,c??{},`Invalid input for tool ${t}: `):c??{};d=await o(f,l)}else d=await o(l);return s.outputSchema&&!d.isError&&(d.structuredContent=await h$(s.outputSchema,d.structuredContent,`Invalid output for tool ${t}: `)),d}};return this._registeredTools[t]=s,!this._appCapabilities.tools&&!this.transport&&this.registerAppCapabilities({tools:{listChanged:!0}}),this.ensureToolHandlersInitialized(),i(),s}_toolHandlersInitialized=!1;ensureToolHandlersInitialized(){this._toolHandlersInitialized||(this._toolHandlersInitialized=!0,this.oncalltool=async(t,n)=>{let o=this._registeredTools[t.name];if(!o)throw Error(`Tool ${t.name} not found`);return o.handler(t.arguments,n)},this.onlisttools=async(t,n)=>({tools:await Promise.all(Object.entries(this._registeredTools).filter(([o,r])=>r.enabled).map(async([o,r])=>{let i={name:o,title:r.title,description:r.description,inputSchema:r.inputSchema?await f$(r.inputSchema,\"input\"):{type:\"object\",properties:{}}};return r.outputSchema&&(i.outputSchema=await f$(r.outputSchema,\"output\")),r.annotations&&(i.annotations=r.annotations),r._meta&&(i._meta=r._meta),i}))}))}async sendToolListChanged(t={}){this._assertInitialized(\"sendToolListChanged\"),await this.notification({method:\"notifications/tools/list_changed\",params:t})}getHostCapabilities(){return this._hostCapabilities}getHostVersion(){return this._hostInfo}getHostContext(){return this._hostContext}get ontoolinput(){return this.getEventHandler(\"toolinput\")}set ontoolinput(t){this.setEventHandler(\"toolinput\",t)}get ontoolinputpartial(){return this.getEventHandler(\"toolinputpartial\")}set ontoolinputpartial(t){this.setEventHandler(\"toolinputpartial\",t)}get ontoolresult(){return this.getEventHandler(\"toolresult\")}set ontoolresult(t){this.setEventHandler(\"toolresult\",t)}get ontoolcancelled(){return this.getEventHandler(\"toolcancelled\")}set ontoolcancelled(t){this.setEventHandler(\"toolcancelled\",t)}get onhostcontextchanged(){return this.getEventHandler(\"hostcontextchanged\")}set onhostcontextchanged(t){this.setEventHandler(\"hostcontextchanged\",t)}_onteardown;get onteardown(){return this._onteardown}set onteardown(t){this.warnIfRequestHandlerReplaced(\"onteardown\",this._onteardown,t),this._onteardown=t,this.replaceRequestHandler(\"ui/resource-teardown\",{params:_P.shape.params,result:SP},(n,o)=>{if(!this._onteardown)throw Error(\"No onteardown handler set\");return this._onteardown(n,o)})}_oncalltool;get oncalltool(){return this._oncalltool}set oncalltool(t){this.warnIfRequestHandlerReplaced(\"oncalltool\",this._oncalltool,t),this._oncalltool=t,this.replaceRequestHandler(\"tools/call\",(n,o)=>{if(!this._oncalltool)throw Error(\"No oncalltool handler set\");return this._oncalltool(n.params,o)})}_onlisttools;get onlisttools(){return this._onlisttools}set onlisttools(t){this.warnIfRequestHandlerReplaced(\"onlisttools\",this._onlisttools,t),this._onlisttools=t,this.replaceRequestHandler(\"tools/list\",(n,o)=>{if(!this._onlisttools)throw Error(\"No onlisttools handler set\");return this._onlisttools(n.params,o)})}assertCapabilityForMethod(t){switch(t){case\"sampling/createMessage\":if(!this._hostCapabilities?.sampling)throw Error(`Host does not support sampling (required for ${t})`);break}}assertRequestHandlerCapability(t){switch(t){case\"tools/call\":case\"tools/list\":if(!this._appCapabilities.tools)throw Error(`Client does not support tool capability (required for ${t})`);return;default:return}}assertNotificationCapability(t){}async callServerTool(t,n){if(this._assertInitialized(\"callServerTool\"),typeof t==\"string\")throw Error(`callServerTool() expects an object as its first argument, but received a string (\"${t}\"). Did you mean: callServerTool({ name: \"${t}\", arguments: { ... } })?`);return await this.request({method:\"tools/call\",params:t},{onprogress:()=>{},resetTimeoutOnProgress:!0,...n})}async readServerResource(t,n){return this._assertInitialized(\"readServerResource\"),await this.request({method:\"resources/read\",params:t},n)}async listServerResources(t,n){return this._assertInitialized(\"listServerResources\"),await this.request({method:\"resources/list\",params:t},n)}async createSamplingMessage(t,n){return this._assertInitialized(\"createSamplingMessage\"),await this.request({method:\"sampling/createMessage\",params:t},n)}sendMessage(t,n){return this._assertInitialized(\"sendMessage\"),this.request({method:\"ui/message\",params:t},mP,n)}sendLog(t){return this.notification({method:\"notifications/message\",params:t})}updateModelContext(t,n){return this._assertInitialized(\"updateModelContext\"),this.request({method:\"ui/update-model-context\",params:t},Qt,n)}openLink(t,n){return this._assertInitialized(\"openLink\"),this.request({method:\"ui/open-link\",params:t},uP,n)}sendOpenLink=this.openLink;downloadFile(t,n){return this._assertInitialized(\"downloadFile\"),this.request({method:\"ui/download-file\",params:t},dP,n)}requestTeardown(t={}){return this.notification({method:\"ui/notifications/request-teardown\",params:t})}requestDisplayMode(t,n){return this._assertInitialized(\"requestDisplayMode\"),this.request({method:\"ui/request-display-mode\",params:t},$P,n)}sendSizeChanged(t){return this.notification({method:\"ui/notifications/size-changed\",params:t})}setupSizeChangedNotifications(){let t=!1,n=0,o=0,r=()=>{t||(t=!0,requestAnimationFrame(()=>{t=!1;let a=document.documentElement,s=a.style.height;a.style.height=\"max-content\";let c=Math.ceil(a.getBoundingClientRect().height);a.style.height=s;let l=Math.ceil(window.innerWidth);(l!==n||c!==o)&&(n=l,o=c,this.sendSizeChanged({width:l,height:c}))}))};r();let i=new ResizeObserver(r);return i.observe(document.documentElement),i.observe(document.body),()=>i.disconnect()}async connect(t=new mv(window.parent,window.parent),n){if(this.transport)throw Error(\"App is already connected. Call close() before connecting again.\");this._initializedSent=!1;try{await super.connect(t);let o=await this.request({method:\"ui/initialize\",params:{appCapabilities:this._appCapabilities,appInfo:this._appInfo,protocolVersion:oP}},xP,n);if(o===void 0)throw Error(`Server sent invalid initialize result: ${o}`);this._hostCapabilities=o.hostCapabilities,this._hostInfo=o.hostInfo,this._hostContext=o.hostContext,await this.notification({method:\"ui/notifications/initialized\"}),this._initializedSent=!0,this.options?.autoResize&&this.setupSizeChangedNotifications()}catch(o){throw this.close(),o}}};var v$=\"Kloudy Sample card\",bd={tools:[[\"open_source\",\"Open source\"],[\"paid\",\"Paid tools\"],[\"hybrid\",\"Mix of both\"],[\"free_then_paid\",\"Free tier, then ask\"]],target:[[\"local\",\"This device\"],[\"www\",\"World Wide Web\"],[\"bww\",\"Bot Wide Web\"],[\"mixed\",\"A mix\"]],delivery:[[\"silent\",\"Quietly\"],[\"paid\",\"Paid tools only\"],[\"all\",\"Every tool\"]]},PP=()=>({tools:null,target:null,delivery:\"silent\"});function TP(e){return!!e&&typeof e==\"object\"&&!Array.isArray(e)&&Object.keys(e).length===3&&Object.entries(bd).every(([t,n])=>t!==\"delivery\"&&e[t]===null||n.some(([o])=>o===e[t]))}function _$(e,t=\"site\"){return[{key:\"tools\",question:\"Which tools do you prefer?\",intro:[\"ide\",\"chatbot\",\"terminal\"].includes(t)?\"Kloudy gives your assistant tools to build your projects.\":\"Kloudy uses tools to build your projects.\"},{key:\"target\",question:\"Where will your projects run?\",intro:\"Choose where people will use your projects.\"},{key:\"delivery\",question:\"How much should Kloudy show?\",intro:\"Quietly is the default. You can ask for updates instead.\"}][e]||null}var $d=class{constructor(t=PP()){if(!TP(t))throw Error(\"Invalid preferences\");this.value=structuredClone(t),this.step=0}choose(t){let n=_$(this.step);if(!n||!bd[n.key].some(([o])=>o===t))throw Error(\"Choose one of the offered options.\");return this.value[n.key]=t,this.step++,this.value}back(){this.step=Math.max(0,this.step-1)}};var Pi=e=>String(e??\"\").replace(/[&<>\"']/g,t=>({\"&\":\"&\",\"<\":\"<\",\">\":\">\",'\"':\""\",\"'\":\"'\"})[t]);function S$(e,{surface:t=\"site\",notice:n=\"\"}={}){let o=_$(e.step,t),r=!o;return`<section class=\"sample-card\" aria-label=\"${v$}\"><header><span class=\"sample-orb\" aria-hidden=\"true\"></span><span>${v$}</span><small>${r?\"Ready\":e.step+1+\" / 3\"}</small></header><h1 tabindex=\"-1\">${r?\"Your way to build.\":Pi(o.question)}</h1>${r?\"\":`<p>${Pi(o.intro)}</p>`}${r?`<dl>${Object.entries(bd).map(([i,a])=>`<dt>${Pi({tools:\"Tools\",target:\"Where\",delivery:\"Updates\"}[i])}</dt><dd>${Pi(a.find(([s])=>s===e.value[i])?.[1]||\"Ask when needed\")}</dd>`).join(\"\")}</dl><button class=\"sample-primary\" data-sample-save>Save preferences</button>`:`<div class=\"sample-options\">${bd[o.key].map(([i,a])=>`<button data-sample-choice=\"${i}\" aria-pressed=\"${e.value[o.key]===i}\">${Pi(a)}</button>`).join(\"\")}</div>`}<p class=\"sample-note\">${o?.key===\"tools\"?\"Open source describes the tools; hosting or compute may still cost money.\":o?.key===\"target\"?\"Bot Wide Web sites need hosting: your computer, your cloud, or a paid host.\":\"New costs always need your approval. Ask which tools are connected anytime.\"}</p><details><summary>How this works</summary><p>Quietly means fewer updates, not permission to spend. Free tiers ending always prompt a choice. These preferences do not install tools or authorize a connection.</p></details><footer>${e.step?\"<button data-sample-back>Back</button>\":\"\"}<button data-sample-later>Not now</button></footer><p role=\"status\" class=\"sample-status\">${Pi(n)}</p></section>`}var vc=new yd({name:\"Tool preferences card\",version:\"1.0.0\"},{},{autoResize:!0}),Ve=document.querySelector(\"#sample-root\"),gc=new $d,gv=\"chatbot\",zd=!1,hv=!1;function Xr(e=\"\"){Ve.innerHTML=S$(gc,{surface:gv,notice:e}),Ve.querySelector(\"section\").setAttribute(\"aria-label\",\"Tool preferences card\"),Ve.querySelector(\"header span:not(.sample-orb)\").textContent=\"Tool preferences card\";let t=Ve.querySelector(\"[data-sample-save]\");t&&(t.textContent=\"Use in this conversation\")}Xr();vc.ontoolresult=({structuredContent:e})=>{e?.version!==\"kloudy.sample/1\"||e.kind!==\"preferences\"||(gv=[\"site\",\"ide\",\"chatbot\"].includes(e.surface)?e.surface:\"chatbot\",Xr())};Ve.addEventListener(\"click\",async e=>{let t=e.target.closest(\"button,a\");if(!(!t||hv)){if(t.tagName===\"A\"){if(zd){e.preventDefault();try{await vc.openLink({url:t.href})}catch{Xr(\"Open Kloudy to save your choices.\")}}return}if(t.hasAttribute(\"data-sample-choice\"))gc.choose(t.dataset.sampleChoice),Xr(),Ve.querySelector(\"h1\")?.focus();else if(t.hasAttribute(\"data-sample-back\"))gc.back(),Xr();else if(t.hasAttribute(\"data-sample-later\"))Ve.textContent=\"You can choose your tool preferences later.\";else if(t.hasAttribute(\"data-sample-save\")){hv=!0,t.disabled=!0;try{if(!zd)throw Error(\"Open Kloudy to save your choices.\");if((await vc.updateModelContext({content:[{type:\"text\",text:JSON.stringify({type:\"kloudy.sample.preferences\",version:1,preferences:gc.value,authority:\"presentation-only\",spendingAuthorized:!1,accountSaved:!1})}]}))?.isError)throw Error(\"Your choices could not be shared. Try again.\");Xr(\"Choices shared for this conversation. No tools were connected.\"),Ve.querySelector(\"[data-sample-save]\")?.remove(),Ve.querySelector(\"h1\").textContent=\"Your choices are ready.\",Ve.querySelector(\"[data-sample-back]\").textContent=\"Edit choices\",Ve.querySelector(\"[data-sample-later]\").textContent=\"Done\"}catch{Xr(\"Your choices could not be shared. Try again.\"),Ve.querySelector(\"[data-sample-save]\").textContent=\"Try again\"}finally{hv=!1;let n=document.createElement(\"details\"),o=document.createElement(\"summary\"),r=document.createElement(\"p\"),i=document.createElement(\"a\");o.textContent=\"Save across devices\",r.textContent=\"GitHub sign-in coming soon. You can preview your choices on Kloudy.\",i.href=\"https://kloudy.ai/samples?frontdoor=\"+gv+\"#preferences=\"+encodeURIComponent(JSON.stringify(gc.value)),i.textContent=\"Preview on Kloudy\",n.append(o,r,i),Ve.querySelector(\"section\")?.append(n)}}}});vc.onerror=()=>{zd=!1};window.parent!==window&&vc.connect().then(()=>{zd=!0}).catch(()=>{});})();\n</script><script type=\"text/plain\" id=\"notices\">node_modules/@modelcontextprotocol/client/LICENSE\nThe MCP project is undergoing a licensing transition from the MIT License to the Apache License, Version 2.0 (\"Apache-2.0\"). All new code and specification contributions to the project are licensed under Apache-2.0. Documentation contributions (excluding specifications) are licensed under CC-BY-4.0.\n\nContributions for which relicensing consent has been obtained are licensed under Apache-2.0. Contributions made by authors who originally licensed their work under the MIT License and who have not yet granted explicit permission to relicense remain licensed under the MIT License.\n\nNo rights beyond those granted by the applicable original license are conveyed for such contributions.\n\n---\n\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to the Licensor for inclusion in the Work by the copyright\n owner or by an individual or Legal Entity authorized to submit on behalf\n of the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n---\n\nMIT License\n\nCopyright (c) 2024-2025 Model Context Protocol a Series of LF Projects, LLC.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n---\n\nCreative Commons Attribution 4.0 International (CC-BY-4.0)\n\nDocumentation in this project (excluding specifications) is licensed under\nCC-BY-4.0. See https://creativecommons.org/licenses/by/4.0/legalcode for\nthe full license text.\n\n\nnode_modules/@modelcontextprotocol/core/LICENSE\nThe MCP project is undergoing a licensing transition from the MIT License to the Apache License, Version 2.0 (\"Apache-2.0\"). All new code and specification contributions to the project are licensed under Apache-2.0. Documentation contributions (excluding specifications) are licensed under CC-BY-4.0.\n\nContributions for which relicensing consent has been obtained are licensed under Apache-2.0. Contributions made by authors who originally licensed their work under the MIT License and who have not yet granted explicit permission to relicense remain licensed under the MIT License.\n\nNo rights beyond those granted by the applicable original license are conveyed for such contributions.\n\n---\n\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to the Licensor for inclusion in the Work by the copyright\n owner or by an individual or Legal Entity authorized to submit on behalf\n of the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n---\n\nMIT License\n\nCopyright (c) 2024-2025 Model Context Protocol a Series of LF Projects, LLC.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n---\n\nCreative Commons Attribution 4.0 International (CC-BY-4.0)\n\nDocumentation in this project (excluding specifications) is licensed under\nCC-BY-4.0. See https://creativecommons.org/licenses/by/4.0/legalcode for\nthe full license text.\n\n\nnode_modules/@modelcontextprotocol/ext-apps/LICENSE\nThe MCP project is undergoing a licensing transition from the MIT License to the Apache License, Version 2.0 (\"Apache-2.0\"). All new code and specification contributions to the project are licensed under Apache-2.0. Documentation contributions (excluding specifications) are licensed under CC-BY-4.0.\n\nContributions for which relicensing consent has been obtained are licensed under Apache-2.0. Contributions made by authors who originally licensed their work under the MIT License and who have not yet granted explicit permission to relicense remain licensed under the MIT License.\n\nNo rights beyond those granted by the applicable original license are conveyed for such contributions.\n\n---\n\n Apache License\n Version 2.0, January 2004\n http://www.apache.org/licenses/\n\n TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n 1. Definitions.\n\n \"License\" shall mean the terms and conditions for use, reproduction,\n and distribution as defined by Sections 1 through 9 of this document.\n\n \"Licensor\" shall mean the copyright owner or entity authorized by\n the copyright owner that is granting the License.\n\n \"Legal Entity\" shall mean the union of the acting entity and all\n other entities that control, are controlled by, or are under common\n control with that entity. For the purposes of this definition,\n \"control\" means (i) the power, direct or indirect, to cause the\n direction or management of such entity, whether by contract or\n otherwise, or (ii) ownership of fifty percent (50%) or more of the\n outstanding shares, or (iii) beneficial ownership of such entity.\n\n \"You\" (or \"Your\") shall mean an individual or Legal Entity\n exercising permissions granted by this License.\n\n \"Source\" form shall mean the preferred form for making modifications,\n including but not limited to software source code, documentation\n source, and configuration files.\n\n \"Object\" form shall mean any form resulting from mechanical\n transformation or translation of a Source form, including but\n not limited to compiled object code, generated documentation,\n and conversions to other media types.\n\n \"Work\" shall mean the work of authorship, whether in Source or\n Object form, made available under the License, as indicated by a\n copyright notice that is included in or attached to the work\n (an example is provided in the Appendix below).\n\n \"Derivative Works\" shall mean any work, whether in Source or Object\n form, that is based on (or derived from) the Work and for which the\n editorial revisions, annotations, elaborations, or other modifications\n represent, as a whole, an original work of authorship. For the purposes\n of this License, Derivative Works shall not include works that remain\n separable from, or merely link (or bind by name) to the interfaces of,\n the Work and Derivative Works thereof.\n\n \"Contribution\" shall mean any work of authorship, including\n the original version of the Work and any modifications or additions\n to that Work or Derivative Works thereof, that is intentionally\n submitted to the Licensor for inclusion in the Work by the copyright\n owner or by an individual or Legal Entity authorized to submit on behalf\n of the copyright owner. For the purposes of this definition, \"submitted\"\n means any form of electronic, verbal, or written communication sent\n to the Licensor or its representatives, including but not limited to\n communication on electronic mailing lists, source code control systems,\n and issue tracking systems that are managed by, or on behalf of, the\n Licensor for the purpose of discussing and improving the Work, but\n excluding communication that is conspicuously marked or otherwise\n designated in writing by the copyright owner as \"Not a Contribution.\"\n\n \"Contributor\" shall mean Licensor and any individual or Legal Entity\n on behalf of whom a Contribution has been received by Licensor and\n subsequently incorporated within the Work.\n\n 2. Grant of Copyright License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n copyright license to reproduce, prepare Derivative Works of,\n publicly display, publicly perform, sublicense, and distribute the\n Work and such Derivative Works in Source or Object form.\n\n 3. Grant of Patent License. Subject to the terms and conditions of\n this License, each Contributor hereby grants to You a perpetual,\n worldwide, non-exclusive, no-charge, royalty-free, irrevocable\n (except as stated in this section) patent license to make, have made,\n use, offer to sell, sell, import, and otherwise transfer the Work,\n where such license applies only to those patent claims licensable\n by such Contributor that are necessarily infringed by their\n Contribution(s) alone or by combination of their Contribution(s)\n with the Work to which such Contribution(s) was submitted. If You\n institute patent litigation against any entity (including a\n cross-claim or counterclaim in a lawsuit) alleging that the Work\n or a Contribution incorporated within the Work constitutes direct\n or contributory patent infringement, then any patent licenses\n granted to You under this License for that Work shall terminate\n as of the date such litigation is filed.\n\n 4. Redistribution. You may reproduce and distribute copies of the\n Work or Derivative Works thereof in any medium, with or without\n modifications, and in Source or Object form, provided that You\n meet the following conditions:\n\n (a) You must give any other recipients of the Work or\n Derivative Works a copy of this License; and\n\n (b) You must cause any modified files to carry prominent notices\n stating that You changed the files; and\n\n (c) You must retain, in the Source form of any Derivative Works\n that You distribute, all copyright, patent, trademark, and\n attribution notices from the Source form of the Work,\n excluding those notices that do not pertain to any part of\n the Derivative Works; and\n\n (d) If the Work includes a \"NOTICE\" text file as part of its\n distribution, then any Derivative Works that You distribute must\n include a readable copy of the attribution notices contained\n within such NOTICE file, excluding those notices that do not\n pertain to any part of the Derivative Works, in at least one\n of the following places: within a NOTICE text file distributed\n as part of the Derivative Works; within the Source form or\n documentation, if provided along with the Derivative Works; or,\n within a display generated by the Derivative Works, if and\n wherever such third-party notices normally appear. The contents\n of the NOTICE file are for informational purposes only and\n do not modify the License. You may add Your own attribution\n notices within Derivative Works that You distribute, alongside\n or as an addendum to the NOTICE text from the Work, provided\n that such additional attribution notices cannot be construed\n as modifying the License.\n\n You may add Your own copyright statement to Your modifications and\n may provide additional or different license terms and conditions\n for use, reproduction, or distribution of Your modifications, or\n for any such Derivative Works as a whole, provided Your use,\n reproduction, and distribution of the Work otherwise complies with\n the conditions stated in this License.\n\n 5. Submission of Contributions. Unless You explicitly state otherwise,\n any Contribution intentionally submitted for inclusion in the Work\n by You to the Licensor shall be under the terms and conditions of\n this License, without any additional terms or conditions.\n Notwithstanding the above, nothing herein shall supersede or modify\n the terms of any separate license agreement you may have executed\n with Licensor regarding such Contributions.\n\n 6. Trademarks. This License does not grant permission to use the trade\n names, trademarks, service marks, or product names of the Licensor,\n except as required for reasonable and customary use in describing the\n origin of the Work and reproducing the content of the NOTICE file.\n\n 7. Disclaimer of Warranty. Unless required by applicable law or\n agreed to in writing, Licensor provides the Work (and each\n Contributor provides its Contributions) on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or\n implied, including, without limitation, any warranties or conditions\n of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A\n PARTICULAR PURPOSE. You are solely responsible for determining the\n appropriateness of using or redistributing the Work and assume any\n risks associated with Your exercise of permissions under this License.\n\n 8. Limitation of Liability. In no event and under no legal theory,\n whether in tort (including negligence), contract, or otherwise,\n unless required by applicable law (such as deliberate and grossly\n negligent acts) or agreed to in writing, shall any Contributor be\n liable to You for damages, including any direct, indirect, special,\n incidental, or consequential damages of any character arising as a\n result of this License or out of the use or inability to use the\n Work (including but not limited to damages for loss of goodwill,\n work stoppage, computer failure or malfunction, or any and all\n other commercial damages or losses), even if such Contributor\n has been advised of the possibility of such damages.\n\n 9. Accepting Warranty or Additional Liability. While redistributing\n the Work or Derivative Works thereof, You may choose to offer,\n and charge a fee for, acceptance of support, warranty, indemnity,\n or other liability obligations and/or rights consistent with this\n License. However, in accepting such obligations, You may act only\n on Your own behalf and on Your sole responsibility, not on behalf\n of any other Contributor, and only if You agree to indemnify,\n defend, and hold each Contributor harmless for any liability\n incurred by, or claims asserted against, such Contributor by reason\n of your accepting any such warranty or additional liability.\n\n END OF TERMS AND CONDITIONS\n\n---\n\nMIT License\n\nCopyright (c) 2024-2025 Model Context Protocol a Series of LF Projects, LLC.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n---\n\nCreative Commons Attribution 4.0 International (CC-BY-4.0)\n\nDocumentation in this project (excluding specifications) is licensed under\nCC-BY-4.0. See https://creativecommons.org/licenses/by/4.0/legalcode for\nthe full license text.\n\n\nnode_modules/eventsource/LICENSE\nThe MIT License\n\nCopyright (c) EventSource GitHub organisation\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\nnode_modules/eventsource-parser/LICENSE\nMIT License\n\nCopyright (c) 2026 Espen Hovlandsdal <espen@hovlandsdal.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\nnode_modules/jose/LICENSE.md\nThe MIT License (MIT)\n\nCopyright (c) 2018 Filip Skokan\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\nnode_modules/pkce-challenge/LICENSE\nMIT License\n\nCopyright (c) 2019 \n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n\nnode_modules/zod/LICENSE\nMIT License\n\nCopyright (c) 2025 Colin McDonnell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n</script></body></html>\n";
|