1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5703],{5529:(e,t,r)=>{r.d(t,{bpZ:()=>n.safeParseAsync,blZ:()=>n.toJSONSchema,z:()=>n});var n=r(216982)},8872:(e,t,r)=>{r.d(t,{XX:()=>n.y,jH:()=>n.C});var n=r(640662)},187121:(e,t,r)=>{r.d(t,{b:()=>n});let n=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"]},216982:(e,t,r)=>{r.r(t),r.d(t,{$brand:()=>g,$input:()=>iY,$output:()=>iG,NEVER:()=>h,TimePrecision:()=>ad,ZodAny:()=>l4,ZodArray:()=>ur,ZodBase64:()=>lT,ZodBase64URL:()=>lx,ZodBigInt:()=>lG,ZodBigIntFormat:()=>lV,ZodBoolean:()=>lZ,ZodCIDRv4:()=>lv,ZodCIDRv6:()=>ly,ZodCUID:()=>lr,ZodCUID2:()=>li,ZodCatch:()=>uJ,ZodCodec:()=>u6,ZodCustom:()=>ca,ZodCustomStringFormat:()=>lC,ZodDate:()=>ue,ZodDefault:()=>uZ,ZodDiscriminatedUnion:()=>up,ZodE164:()=>lI,ZodEmail:()=>oK,ZodEmoji:()=>o7,ZodEnum:()=>uS,ZodError:()=>o$,ZodExactOptional:()=>uU,ZodFile:()=>uw,ZodFirstPartyTypeKind:()=>i,ZodFunction:()=>cn,ZodGUID:()=>oX,ZodIPv4:()=>lm,ZodIPv6:()=>lg,ZodISODate:()=>ox,ZodISODateTime:()=>oT,ZodISODuration:()=>oN,ZodISOTime:()=>oI,ZodIntersection:()=>uf,ZodIssueCode:()=>cg,ZodJWT:()=>lN,ZodKSUID:()=>lc,ZodLazy:()=>u8,ZodLiteral:()=>uC,ZodMAC:()=>lh,ZodMap:()=>uk,ZodNaN:()=>uQ,ZodNanoID:()=>le,ZodNever:()=>l5,ZodNonOptional:()=>uV,ZodNull:()=>l0,ZodNullable:()=>uj,ZodNumber:()=>lL,ZodNumberFormat:()=>lM,ZodObject:()=>ua,ZodOptional:()=>uP,ZodPipe:()=>u1,ZodPrefault:()=>uG,ZodPromise:()=>ct,ZodReadonly:()=>u9,ZodRealError:()=>ow,ZodRecord:()=>uE,ZodSet:()=>uA,ZodString:()=>oV,ZodStringFormat:()=>oq,ZodSuccess:()=>uq,ZodSymbol:()=>lK,ZodTemplateLiteral:()=>u3,ZodTransform:()=>uR,ZodTuple:()=>u_,ZodType:()=>oG,ZodULID:()=>ls,ZodURL:()=>o9,ZodUUID:()=>o0,ZodUndefined:()=>lX,ZodUnion:()=>uu,ZodUnknown:()=>l2,ZodVoid:()=>l7,ZodXID:()=>ll,ZodXor:()=>ud,_ZodString:()=>oY,_default:()=>uH,_function:()=>ci,any:()=>l6,array:()=>un,base64:()=>lk,base64url:()=>lA,bigint:()=>lY,boolean:()=>lH,catch:()=>uX,check:()=>cs,cidrv4:()=>lE,cidrv6:()=>lb,clone:()=>ee,codec:()=>u2,coerce:()=>p,config:()=>y,core:()=>u,cuid:()=>ln,cuid2:()=>la,custom:()=>co,date:()=>ut,decode:()=>oU,decodeAsync:()=>oj,describe:()=>cc,discriminatedUnion:()=>uh,e164:()=>lS,email:()=>oJ,emoji:()=>o8,encode:()=>oM,encodeAsync:()=>oz,endsWith:()=>a9,enum:()=>uN,exactOptional:()=>uz,file:()=>uD,flattenError:()=>eD,float32:()=>lz,float64:()=>lj,formatError:()=>eR,fromJSONSchema:()=>cb,function:()=>ci,getErrorMap:()=>cv,globalRegistry:()=>iq,gt:()=>aF,gte:()=>aB,guid:()=>oQ,hash:()=>lR,hex:()=>lD,hostname:()=>lw,httpUrl:()=>o3,includes:()=>a6,instanceof:()=>cm,int:()=>lU,int32:()=>lF,int64:()=>lW,intersection:()=>ug,ipv4:()=>lp,ipv6:()=>l_,iso:()=>d,json:()=>ch,jwt:()=>lO,keyof:()=>ui,ksuid:()=>ld,lazy:()=>ce,length:()=>aQ,literal:()=>u$,locales:()=>o,looseObject:()=>ul,looseRecord:()=>uT,lowercase:()=>a1,lt:()=>az,lte:()=>aj,mac:()=>lf,map:()=>ux,maxLength:()=>aJ,maxSize:()=>aW,meta:()=>cd,mime:()=>a3,minLength:()=>aX,minSize:()=>aq,multipleOf:()=>aV,nan:()=>u0,nanoid:()=>lt,nativeEnum:()=>uO,negative:()=>aH,never:()=>l3,nonnegative:()=>aY,nonoptional:()=>uW,nonpositive:()=>aG,normalize:()=>a8,null:()=>l1,nullable:()=>uF,nullish:()=>uB,number:()=>lP,object:()=>us,optional:()=>uM,overwrite:()=>a7,parse:()=>oD,parseAsync:()=>oR,partialRecord:()=>ub,pipe:()=>u4,positive:()=>aZ,prefault:()=>uY,preprocess:()=>cf,prettifyError:()=>eM,promise:()=>cr,property:()=>a5,readonly:()=>u5,record:()=>uy,refine:()=>cl,regex:()=>a0,regexes:()=>s,registry:()=>iW,safeDecode:()=>oB,safeDecodeAsync:()=>oH,safeEncode:()=>oF,safeEncodeAsync:()=>oZ,safeParse:()=>oL,safeParseAsync:()=>oP,set:()=>uI,setErrorMap:()=>c_,size:()=>aK,slugify:()=>sn,startsWith:()=>a2,strictObject:()=>uo,string:()=>oW,stringFormat:()=>l$,stringbool:()=>cp,success:()=>uK,superRefine:()=>cu,symbol:()=>lJ,templateLiteral:()=>u7,toJSONSchema:()=>oy,toLowerCase:()=>st,toUpperCase:()=>sr,transform:()=>uL,treeifyError:()=>eL,trim:()=>se,tuple:()=>uv,uint32:()=>lB,uint64:()=>lq,ulid:()=>lo,undefined:()=>lQ,union:()=>uc,unknown:()=>l9,uppercase:()=>a4,url:()=>o5,util:()=>a,uuid:()=>o1,uuidv4:()=>o4,uuidv6:()=>o6,uuidv7:()=>o2,void:()=>l8,xid:()=>lu,xor:()=>um});var n,i,a={};r.r(a),r.d(a,{BIGINT_FORMAT_RANGES:()=>es,Class:()=>eO,NUMBER_FORMAT_RANGES:()=>ea,aborted:()=>eh,allowsEval:()=>Y,assert:()=>A,assertEqual:()=>b,assertIs:()=>k,assertNever:()=>x,assertNotEqual:()=>T,assignProp:()=>P,base64ToUint8Array:()=>ek,base64urlToUint8Array:()=>eA,cached:()=>O,captureStackTrace:()=>H,cleanEnum:()=>eT,cleanRegex:()=>$,clone:()=>
1ee,cloneDef:()=>U,createTransparentProxy:()=>er,defineLazy:()=>R,esc:()=>B,escapeRegex:()=>Q,extend:()=>eu,finalizeIssue:()=>e_,floatSafeRemainder:()=>w,getElementAtPath:()=>z,getEnumValues:()=>I,getLengthableOrigin:()=>eE,getParsedType:()=>K,getSizableOrigin:()=>ev,hexToUint8Array:()=>eS,isObject:()=>G,isPlainObject:()=>V,issue:()=>eb,joinValues:()=>S,jsonStringifyReplacer:()=>N,merge:()=>ed,mergeDefs:()=>M,normalizeParams:()=>et,nullish:()=>C,numKeys:()=>q,objectClone:()=>L,omit:()=>el,optionalKeys:()=>ei,parsedType:()=>ey,partial:()=>em,pick:()=>eo,prefixIssues:()=>ef,primitiveTypes:()=>X,promiseAllObject:()=>j,propertyKeyTypes:()=>J,randomString:()=>F,required:()=>ep,safeExtend:()=>ec,shallowClone:()=>W,slugify:()=>Z,stringifyPrimitive:()=>en,uint8ArrayToBase64:()=>ex,uint8ArrayToBase64url:()=>eI,uint8ArrayToHex:()=>eN,unwrapMessage:()=>eg});var s={};r.r(s),r.d(s,{base64:()=>tk,base64url:()=>tx,bigint:()=>tR,boolean:()=>tM,browserEmail:()=>tg,cidrv4:()=>tb,cidrv6:()=>tT,cuid:()=>e7,cuid2:()=>e8,date:()=>tO,datetime:()=>tw,domain:()=>tI,duration:()=>ti,e164:()=>tS,email:()=>td,emoji:()=>t_,extendedDuration:()=>ta,guid:()=>ts,hex:()=>tB,hostname:()=>tA,html5Email:()=>tm,idnEmail:()=>tf,integer:()=>tL,ipv4:()=>tv,ipv6:()=>tE,ksuid:()=>tr,lowercase:()=>tj,mac:()=>ty,md5_base64:()=>tY,md5_base64url:()=>tV,md5_hex:()=>tG,nanoid:()=>tn,null:()=>tU,number:()=>tP,rfc5322Email:()=>tp,sha1_base64:()=>tq,sha1_base64url:()=>tK,sha1_hex:()=>tW,sha256_base64:()=>tX,sha256_base64url:()=>tQ,sha256_hex:()=>tJ,sha384_base64:()=>t1,sha384_base64url:()=>t4,sha384_hex:()=>t0,sha512_base64:()=>t2,sha512_base64url:()=>t9,sha512_hex:()=>t6,string:()=>tD,time:()=>t$,ulid:()=>te,undefined:()=>tz,unicodeEmail:()=>th,uppercase:()=>tF,uuid:()=>to,uuid4:()=>tl,uuid6:()=>tu,uuid7:()=>tc,xid:()=>tt});var o={};r.r(o),r.d(o,{ar:()=>nX,az:()=>nQ,be:()=>n1,bg:()=>n4,ca:()=>n6,cs:()=>n2,da:()=>n9,de:()=>n5,en:()=>n3,eo:()=>n7,es:()=>n8,fa:()=>ie,fi:()=>it,fr:()=>ir,frCA:()=>ii,he:()=>ia,hu:()=>is,hy:()=>iu,id:()=>ic,is:()=>id,it:()=>im,ja:()=>ip,ka:()=>ih,kh:()=>i_,km:()=>ig,ko:()=>iv,lt:()=>ib,mk:()=>iT,ms:()=>ik,nl:()=>ix,no:()=>iA,ota:()=>iI,pl:()=>iN,ps:()=>iS,pt:()=>iO,ru:()=>i$,sl:()=>iw,sv:()=>iD,ta:()=>iR,th:()=>iL,tr:()=>iP,ua:()=>iU,uk:()=>iM,ur:()=>iz,uz:()=>ij,vi:()=>iF,yo:()=>iH,zhCN:()=>iB,zhTW:()=>iZ});var l={};r.r(l);var u={};r.r(u),r.d(u,{$ZodAny:()=>r3,$ZodArray:()=>nn,$ZodAsyncError:()=>_,$ZodBase64:()=>rY,$ZodBase64URL:()=>rW,$ZodBigInt:()=>r4,$ZodBigIntFormat:()=>r6,$ZodBoolean:()=>r1,$ZodCIDRv4:()=>rZ,$ZodCIDRv6:()=>rH,$ZodCUID:()=>r$,$ZodCUID2:()=>rw,$ZodCatch:()=>nM,$ZodCheck:()=>t5,$ZodCheckBigIntFormat:()=>rr,$ZodCheckEndsWith:()=>rf,$ZodCheckGreaterThan:()=>t8,$ZodCheckIncludes:()=>rp,$ZodCheckLengthEquals:()=>rl,$ZodCheckLessThan:()=>t7,$ZodCheckLowerCase:()=>rd,$ZodCheckMaxLength:()=>rs,$ZodCheckMaxSize:()=>rn,$ZodCheckMimeType:()=>rv,$ZodCheckMinLength:()=>ro,$ZodCheckMinSize:()=>ri,$ZodCheckMultipleOf:()=>re,$ZodCheckNumberFormat:()=>rt,$ZodCheckOverwrite:()=>rE,$ZodCheckProperty:()=>r_,$ZodCheckRegex:()=>rc,$ZodCheckSizeEquals:()=>ra,$ZodCheckStartsWith:()=>rh,$ZodCheckStringFormat:()=>ru,$ZodCheckUpperCase:()=>rm,$ZodCodec:()=>nF,$ZodCustom:()=>nK,$ZodCustomStringFormat:()=>rX,$ZodDate:()=>nt,$ZodDefault:()=>n$,$ZodDiscriminatedUnion:()=>np,$ZodE164:()=>rq,$ZodEmail:()=>rS,$ZodEmoji:()=>rO,$ZodEncodeError:()=>v,$ZodEnum:()=>nk,$ZodError:()=>e$,$ZodExactOptional:()=>nO,$ZodFile:()=>nA,$ZodFunction:()=>nV,$ZodGUID:()=>rA,$ZodIPv4:()=>rj,$ZodIPv6:()=>rF,$ZodISODate:()=>rM,$ZodISODateTime:()=>rP,$ZodISODuration:()=>rz,$ZodISOTime:()=>rU,$ZodIntersection:()=>nh,$ZodJWT:()=>rJ,$ZodKSUID:()=>rL,$ZodLazy:()=>nq,$ZodLiteral:()=>nx,$ZodMAC:()=>rB,$ZodMap:()=>nE,$ZodNaN:()=>nU,$ZodNanoID:()=>rC,$ZodNever:()=>r8,$ZodNonOptional:()=>nR,$ZodNull:()=>r5,$ZodNullable:()=>nC,$ZodNumber:()=>rQ,$ZodNumberFormat:()=>r0,$ZodObject:()=>no,$ZodObjectJIT:()=>nl,$ZodOptional:()=>nN,$ZodPipe:()=>nz,$ZodPrefault:()=>nD,$ZodPromise:()=>nW,$ZodReadonly:()=>nH,$ZodRealError:()=>ew,$ZodRecord:()=>nv,$ZodRegistry:()=>iV,$ZodSet:()=>nb,$ZodString:()=>rk,$ZodStringFormat:()=>rx,$ZodSuccess:()=>nP,$ZodSymbol:()=>
1r2,$ZodTemplateLiteral:()=>nY,$ZodTransform:()=>nI,$ZodTuple:()=>ng,$ZodType:()=>rT,$ZodULID:()=>rD,$ZodURL:()=>rN,$ZodUUID:()=>rI,$ZodUndefined:()=>r9,$ZodUnion:()=>nc,$ZodUnknown:()=>r7,$ZodVoid:()=>ne,$ZodXID:()=>rR,$ZodXor:()=>nm,$brand:()=>g,$constructor:()=>f,$input:()=>iY,$output:()=>iG,Doc:()=>ry,JSONSchema:()=>l,JSONSchemaGenerator:()=>ob,NEVER:()=>h,TimePrecision:()=>ad,_any:()=>aw,_array:()=>si,_base64:()=>ao,_base64url:()=>al,_bigint:()=>aA,_boolean:()=>ak,_catch:()=>sk,_check:()=>sw,_cidrv4:()=>aa,_cidrv6:()=>as,_coercedBigint:()=>aI,_coercedBoolean:()=>ax,_coercedDate:()=>aM,_coercedNumber:()=>a_,_coercedString:()=>iJ,_cuid:()=>i3,_cuid2:()=>i7,_custom:()=>sO,_date:()=>aP,_decode:()=>eW,_decodeAsync:()=>eX,_default:()=>sy,_discriminatedUnion:()=>so,_e164:()=>au,_email:()=>iX,_emoji:()=>i9,_encode:()=>eY,_encodeAsync:()=>eK,_endsWith:()=>a9,_enum:()=>sp,_file:()=>sg,_float32:()=>aE,_float64:()=>ay,_gt:()=>aF,_gte:()=>aB,_guid:()=>iQ,_includes:()=>a6,_int:()=>av,_int32:()=>ab,_int64:()=>aS,_intersection:()=>sl,_ipv4:()=>ar,_ipv6:()=>an,_isoDate:()=>ap,_isoDateTime:()=>am,_isoDuration:()=>af,_isoTime:()=>ah,_jwt:()=>ac,_ksuid:()=>at,_lazy:()=>sS,_length:()=>aQ,_literal:()=>sf,_lowercase:()=>a1,_lt:()=>az,_lte:()=>aj,_mac:()=>ai,_map:()=>sd,_max:()=>aj,_maxLength:()=>aJ,_maxSize:()=>aW,_mime:()=>a3,_min:()=>aB,_minLength:()=>aX,_minSize:()=>aq,_multipleOf:()=>aV,_nan:()=>aU,_nanoid:()=>i5,_nativeEnum:()=>sh,_negative:()=>aH,_never:()=>aR,_nonnegative:()=>aY,_nonoptional:()=>sb,_nonpositive:()=>aG,_normalize:()=>a8,_null:()=>a$,_nullable:()=>sE,_number:()=>ag,_optional:()=>sv,_overwrite:()=>a7,_parse:()=>eU,_parseAsync:()=>ej,_pipe:()=>sx,_positive:()=>aZ,_promise:()=>sN,_property:()=>a5,_readonly:()=>sA,_record:()=>sc,_refine:()=>sC,_regex:()=>a0,_safeDecode:()=>e4,_safeDecodeAsync:()=>e5,_safeEncode:()=>e0,_safeEncodeAsync:()=>e2,_safeParse:()=>eB,_safeParseAsync:()=>eH,_set:()=>sm,_size:()=>aK,_slugify:()=>sn,_startsWith:()=>a2,_string:()=>iK,_stringFormat:()=>sP,_stringbool:()=>sL,_success:()=>sT,_superRefine:()=>s$,_symbol:()=>aO,_templateLiteral:()=>sI,_toLowerCase:()=>st,_toUpperCase:()=>sr,_transform:()=>s_,_trim:()=>se,_tuple:()=>su,_uint32:()=>aT,_uint64:()=>aN,_ulid:()=>i8,_undefined:()=>aC,_union:()=>sa,_unknown:()=>aD,_uppercase:()=>a4,_url:()=>i2,_uuid:()=>i0,_uuidv4:()=>i1,_uuidv6:()=>i4,_uuidv7:()=>i6,_void:()=>aL,_xid:()=>ae,_xor:()=>ss,clone:()=>ee,config:()=>y,createStandardJSONSchemaMethod:()=>sB,createToJSONSchemaMethod:()=>sF,decode:()=>eq,decodeAsync:()=>eQ,describe:()=>sD,encode:()=>eV,encodeAsync:()=>eJ,extractDefs:()=>sz,finalize:()=>sj,flattenError:()=>eD,formatError:()=>eR,globalConfig:()=>E,globalRegistry:()=>iq,initializeContext:()=>sM,isValidBase64:()=>rG,isValidBase64URL:()=>rV,isValidJWT:()=>rK,locales:()=>o,meta:()=>sR,parse:()=>ez,parseAsync:()=>eF,prettifyError:()=>eM,process:()=>sU,regexes:()=>s,registry:()=>iW,safeDecode:()=>e6,safeDecodeAsync:()=>e3,safeEncode:()=>e1,safeEncodeAsync:()=>e9,safeParse:()=>eZ,safeParseAsync:()=>eG,toDotPath:()=>eP,toJSONSchema:()=>oy,treeifyError:()=>eL,util:()=>a,version:()=>rb});var c={};r.r(c),r.d(c,{endsWith:()=>a9,gt:()=>aF,gte:()=>aB,includes:()=>a6,length:()=>aQ,lowercase:()=>a1,lt:()=>az,lte:()=>aj,maxLength:()=>aJ,maxSize:()=>aW,mime:()=>a3,minLength:()=>aX,minSize:()=>aq,multipleOf:()=>aV,negative:()=>aH,nonnegative:()=>aY,nonpositive:()=>aG,normalize:()=>a8,overwrite:()=>a7,positive:()=>aZ,property:()=>a5,regex:()=>a0,size:()=>aK,slugify:()=>sn,startsWith:()=>a2,toLowerCase:()=>st,toUpperCase:()=>sr,trim:()=>se,uppercase:()=>a4});var d={};r.r(d),r.d(d,{ZodISODate:()=>ox,ZodISODateTime:()=>oT,ZodISODuration:()=>oN,ZodISOTime:()=>oI,date:()=>oA,datetime:()=>ok,duration:()=>oO,time:()=>oS});var m={};r.r(m),r.d(m,{ZodAny:()=>l4,ZodArray:()=>ur,ZodBase64:()=>lT,ZodBase64URL:()=>lx,ZodBigInt:()=>lG,ZodBigIntFormat:()=>lV,ZodBoolean:()=>lZ,ZodCIDRv4:()=>lv,ZodCIDRv6:()=>ly,ZodCUID:()=>lr,ZodCUID2:()=>li,ZodCatch:()=>uJ,ZodCodec:()=>u6,ZodCustom:()=>ca,ZodCustomStringFormat:()=>lC,ZodDate:()=>ue,ZodDefault:()=>uZ,ZodDiscriminatedUnion:()=>up,ZodE164:()=>lI,ZodEmail:()=>oK,ZodEmoji:()=>o7,ZodEnum:()=>uS,ZodExactOptional:()=>uU,ZodFile:()=>uw,ZodFunction:()=>cn,ZodGUID:()=>oX,ZodIPv4:()=>lm,ZodIPv6:()=>lg,ZodIntersection:()=>uf,ZodJWT:()=>lN,ZodKSUID:()=>lc,ZodLazy:()=>u8,ZodLiteral:()=>uC,ZodMAC:()=>lh,ZodMap:()=>uk,ZodNaN:()=>uQ,ZodNanoID:()=>le,ZodNever:()=>l5,ZodNonOptional:()=>uV,ZodNull:()=>l0,ZodNullable:()=>uj,ZodNumber:()=>lL,ZodNumberFormat:()=>lM,ZodObject:()=>ua,ZodOptional:()=>uP,ZodPipe:()=>u1,ZodPrefault:()=>uG,ZodPromise:()=>ct,ZodReadonly:()=>u9,ZodRecord:()=>uE,ZodSet:()=>uA,ZodString:()=>
1oV,ZodStringFormat:()=>oq,ZodSuccess:()=>uq,ZodSymbol:()=>lK,ZodTemplateLiteral:()=>u3,ZodTransform:()=>uR,ZodTuple:()=>u_,ZodType:()=>oG,ZodULID:()=>ls,ZodURL:()=>o9,ZodUUID:()=>o0,ZodUndefined:()=>lX,ZodUnion:()=>uu,ZodUnknown:()=>l2,ZodVoid:()=>l7,ZodXID:()=>ll,ZodXor:()=>ud,_ZodString:()=>oY,_default:()=>uH,_function:()=>ci,any:()=>l6,array:()=>un,base64:()=>lk,base64url:()=>lA,bigint:()=>lY,boolean:()=>lH,catch:()=>uX,check:()=>cs,cidrv4:()=>lE,cidrv6:()=>lb,codec:()=>u2,cuid:()=>ln,cuid2:()=>la,custom:()=>co,date:()=>ut,describe:()=>cc,discriminatedUnion:()=>uh,e164:()=>lS,email:()=>oJ,emoji:()=>o8,enum:()=>uN,exactOptional:()=>uz,file:()=>uD,float32:()=>lz,float64:()=>lj,function:()=>ci,guid:()=>oQ,hash:()=>lR,hex:()=>lD,hostname:()=>lw,httpUrl:()=>o3,instanceof:()=>cm,int:()=>lU,int32:()=>lF,int64:()=>lW,intersection:()=>ug,ipv4:()=>lp,ipv6:()=>l_,json:()=>ch,jwt:()=>lO,keyof:()=>ui,ksuid:()=>ld,lazy:()=>ce,literal:()=>u$,looseObject:()=>ul,looseRecord:()=>uT,mac:()=>lf,map:()=>ux,meta:()=>cd,nan:()=>u0,nanoid:()=>lt,nativeEnum:()=>uO,never:()=>l3,nonoptional:()=>uW,null:()=>l1,nullable:()=>uF,nullish:()=>uB,number:()=>lP,object:()=>us,optional:()=>uM,partialRecord:()=>ub,pipe:()=>u4,prefault:()=>uY,preprocess:()=>cf,promise:()=>cr,readonly:()=>u5,record:()=>uy,refine:()=>cl,set:()=>uI,strictObject:()=>uo,string:()=>oW,stringFormat:()=>l$,stringbool:()=>cp,success:()=>uK,superRefine:()=>cu,symbol:()=>lJ,templateLiteral:()=>u7,transform:()=>uL,tuple:()=>uv,uint32:()=>lB,uint64:()=>lq,ulid:()=>lo,undefined:()=>lQ,union:()=>uc,unknown:()=>l9,url:()=>o5,uuid:()=>o1,uuidv4:()=>o4,uuidv6:()=>o6,uuidv7:()=>o2,void:()=>l8,xid:()=>lu,xor:()=>um});var p={};r.r(p),r.d(p,{bigint:()=>cA,boolean:()=>cx,date:()=>cI,number:()=>ck,string:()=>cT});let h=Object.freeze({status:"aborted"});function f(e,t,r){function n(r,n){if(r._zod||Object.defineProperty(r,"_zod",{value:{def:n,constr:s,traits:new Set},enumerable:!1}),r._zod.traits.has(e))return;r._zod.traits.add(e),t(r,n);let i=s.prototype,a=Object.keys(i);for(let e=0;e<a.length;e++){let t=a[e];t in r||(r[t]=i[t].bind(r))}}let i=r?.Parent??Object;class a extends i{}function s(e){var t;let i=r?.Parent?new a:this;for(let r of(n(i,e),(t=i._zod).deferred??(t.deferred=[]),i._zod.deferred))r();return i}return Object.defineProperty(a,"name",{value:e}),Object.defineProperty(s,"init",{value:n}),Object.defineProperty(s,Symbol.hasInstance,{value:t=>!!r?.Parent&&t instanceof r.Parent||t?._zod?.traits?.has(e)}),Object.defineProperty(s,"name",{value:e}),s}let g=Symbol("zod_brand");class _ extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class v extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}let E={};function y(e){return e&&Object.assign(E,e),E}function b(e){return e}function T(e){return e}function k(e){}function x(e){throw Error("Unexpected value in exhaustive check")}function A(e){}function I(e){let t=Object.values(e).filter(e=>"number"==typeof e);return Object.entries(e).filter(([e,r])=>-1===t.indexOf(+e)).map(([e,t])=>t)}function S(e,t="|"){return e.map(e=>en(e)).join(t)}function N(e,t){return"bigint"==typeof t?t.toString():t}function O(e){return{get value(){{let t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function C(e){return null==e}function $(e){let t=+!!e.startsWith("^"),r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function w(e,t){let r=(e.toString().split(".")[1]||"").length,n=t.toString(),i=(n.split(".")[1]||"").length;if(0===i&&/\d?e-\d?/.test(n)){let e=n.match(/\d?e-(\d?)/);e?.[1]&&(i=Number.parseInt(e[1]))}let a=r>i?r:i;return Number.parseInt(e.toFixed(a).replace(".",""))%Number.parseInt(t.toFixed(a).replace(".",""))/10**a}let D=Symbol("evaluating");function R(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==D)return void 0===n&&(n=D,n=r()),n},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function L(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function P(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function M(...e){let t={};for(let r of e)Object.assign(t,Object.getOwnPropertyDescriptors(r));return Object.defineProperties({},t)}function U(e){return M(e._zod.def)}function z(e,t){return t?t.reduce((e,t)=>
1e?.[t],e):e}function j(e){let t=Object.keys(e);return Promise.all(t.map(t=>e[t])).then(e=>{let r={};for(let n=0;n<t.length;n++)r[t[n]]=e[n];return r})}function F(e=10){let t="abcdefghijklmnopqrstuvwxyz",r="";for(let n=0;n<e;n++)r+=t[Math.floor(Math.random()*t.length)];return r}function B(e){return JSON.stringify(e)}function Z(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}let H="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function G(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}let Y=O(()=>{if("u">typeof navigator&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return Function(""),!0}catch(e){return!1}});function V(e){if(!1===G(e))return!1;let t=e.constructor;if(void 0===t||"function"!=typeof t)return!0;let r=t.prototype;return!1!==G(r)&&!1!==Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")}function W(e){return V(e)?{...e}:Array.isArray(e)?[...e]:e}function q(e){let t=0;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}let K=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":if(Array.isArray(e))return"array";if(null===e)return"null";if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return"promise";if("u">typeof Map&&e instanceof Map)return"map";if("u">typeof Set&&e instanceof Set)return"set";if("u">typeof Date&&e instanceof Date)return"date";if("u">typeof File&&e instanceof File)return"file";return"object";default:throw Error(`Unknown data type: ${t}`)}},J=new Set(["string","number","symbol"]),X=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Q(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ee(e,t,r){let n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function et(e){if(!e)return{};if("string"==typeof e)return{error:()=>e};if(e?.message!==void 0){if(e?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");e.error=e.message}return(delete e.message,"string"==typeof e.error)?{...e,error:()=>e.error}:e}function er(e){let t;return new Proxy({},{get:(r,n,i)=>(t??(t=e()),Reflect.get(t,n,i)),set:(r,n,i,a)=>(t??(t=e()),Reflect.set(t,n,i,a)),has:(r,n)=>(t??(t=e()),Reflect.has(t,n)),deleteProperty:(r,n)=>(t??(t=e()),Reflect.deleteProperty(t,n)),ownKeys:r=>(t??(t=e()),Reflect.ownKeys(t)),getOwnPropertyDescriptor:(r,n)=>(t??(t=e()),Reflect.getOwnPropertyDescriptor(t,n)),defineProperty:(r,n,i)=>(t??(t=e()),Reflect.defineProperty(t,n,i))})}function en(e){return"bigint"==typeof e?e.toString()+"n":"string"==typeof e?`"${e}"`:`${e}`}function ei(e){return Object.keys(e).filter(t=>"optional"===e[t]._zod.optin&&"optional"===e[t]._zod.optout)}let ea={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-0x80000000,0x7fffffff],uint32:[0,0xffffffff],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},es={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function eo(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw Error(".pick() cannot be used on object schemas containing refinements");let i=M(e._zod.def,{get shape(){let e={};for(let n in t){if(!(n in r.shape))throw Error(`Unrecognized key: "${n}"`);t[n]&&(e[n]=r.shape[n])}return P(this,"shape",e),e},checks:[]});return ee(e,i)}function el(e,t){let r=e._zod.def,n=r.checks;if(n&&n.length>0)throw Error(".omit() cannot be used on object schemas containing refinements");let i=M(e._zod.def,{get shape(){let n={...e._zod.def.shape};for(let e in t){if(!(e in r.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete n[e]}return P(this,"shape",n),n},checks:[]});return ee(e,i)}function eu(e,t){if(!V(t))throw Error("Invalid input to extend: expected a plain object");let r=e._zod.def.checks;if(r&&r.length>0){let r=e._zod.def.shape;for(let e in t)if(void 0!==Object.getOwnPropertyDescriptor(r,e))throw Error("Cannot over
1write keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let n=M(e._zod.def,{get shape(){let r={...e._zod.def.shape,...t};return P(this,"shape",r),r}});return ee(e,n)}function ec(e,t){if(!V(t))throw Error("Invalid input to safeExtend: expected a plain object");let r=M(e._zod.def,{get shape(){let r={...e._zod.def.shape,...t};return P(this,"shape",r),r}});return ee(e,r)}function ed(e,t){let r=M(e._zod.def,{get shape(){let r={...e._zod.def.shape,...t._zod.def.shape};return P(this,"shape",r),r},get catchall(){return t._zod.def.catchall},checks:[]});return ee(e,r)}function em(e,t,r){let n=t._zod.def.checks;if(n&&n.length>0)throw Error(".partial() cannot be used on object schemas containing refinements");let i=M(t._zod.def,{get shape(){let n=t._zod.def.shape,i={...n};if(r)for(let t in r){if(!(t in n))throw Error(`Unrecognized key: "${t}"`);r[t]&&(i[t]=e?new e({type:"optional",innerType:n[t]}):n[t])}else for(let t in n)i[t]=e?new e({type:"optional",innerType:n[t]}):n[t];return P(this,"shape",i),i},checks:[]});return ee(t,i)}function ep(e,t,r){let n=M(t._zod.def,{get shape(){let n=t._zod.def.shape,i={...n};if(r)for(let t in r){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);r[t]&&(i[t]=new e({type:"nonoptional",innerType:n[t]}))}else for(let t in n)i[t]=new e({type:"nonoptional",innerType:n[t]});return P(this,"shape",i),i}});return ee(t,n)}function eh(e,t=0){if(!0===e.aborted)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function ef(e,t){return t.map(t=>(t.path??(t.path=[]),t.path.unshift(e),t))}function eg(e){return"string"==typeof e?e:e?.message}function e_(e,t,r){let n={...e,path:e.path??[]};return e.message||(n.message=eg(e.inst?._zod.def?.error?.(e))??eg(t?.error?.(e))??eg(r.customError?.(e))??eg(r.localeError?.(e))??"Invalid input"),delete n.inst,delete n.continue,t?.reportInput||delete n.input,n}function ev(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function eE(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}function ey(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":if(null===e)return"null";if(Array.isArray(e))return"array";if(e&&Object.getPrototypeOf(e)!==Object.prototype&&"constructor"in e&&e.constructor)return e.constructor.name}return t}function eb(...e){let[t,r,n]=e;return"string"==typeof t?{message:t,code:"custom",input:r,inst:n}:{...t}}function eT(e){return Object.entries(e).filter(([e,t])=>Number.isNaN(Number.parseInt(e,10))).map(e=>e[1])}function ek(e){let t=atob(e),r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r}function ex(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function eA(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),r="=".repeat((4-t.length%4)%4);return ek(t+r)}function eI(e){return ex(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function eS(e){let t=e.replace(/^0x/,"");if(t.length%2!=0)throw Error("Invalid hex string length");let r=new Uint8Array(t.length/2);for(let e=0;e<t.length;e+=2)r[e/2]=Number.parseInt(t.slice(e,e+2),16);return r}function eN(e){return Array.from(e).map(e=>e.toString(16).padStart(2,"0")).join("")}class eO{constructor(...e){}}let eC=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,N,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},e$=f("$ZodError",eC),ew=f("$ZodError",eC,{Parent:Error});function eD(e,t=e=>e.message){let r={},n=[];for(let i of e.issues)i.path.length>0?(r[i.path[0]]=r[i.path[0]]||[],r[i.path[0]].push(t(i))):n.push(t(i));return{formErrors:n,fieldErrors:r}}function eR(e,t=e=>e.message){let r={_errors:[]},n=e=>{for(let i of e.issues)if("invalid_union"===i.code&&i.errors.length)i.errors.map(e=>n({issues:e}));else if("invalid_key"===i.code)n({issues:i.issues});else if("invalid_element"===i.code)n({issues:i.issues});else if(0===i.path.length)r._errors.push(t(i));else{let e=r,n=0;for(;n<i.path.length;){let r=i.path[n];n===i.path.length-1?(e[r]=e[r]||{_errors:[]},e[r]._errors.push(t(i))):e[r]=e[r]||{_errors:[]},e=e[r],n++}}};return n(e),r}function eL(e,t=e=>e.message){let r={errors:[]},n=(e,i=[])=>{var a,s;for(let o of e.issues)if("invalid_union"===o.code&&o.errors.length)o.errors.map(e=>n({issues:e},o.path));else if("invalid_key"===o.code)n({issues:o.issues},o.path);else if("invalid_element"===o.code)n({issues:o.issues},o.path);else{let e=[...i,...o.path];if(0===e.length){r.errors.push(t(o));continue}let n=r,l=0;for(;l<e.length;){let r=e[l],i=l===e.length-1;"string"==typeof r?(n.properties??(n.properties={}),(a=n.properties)[r]??(a[r]={errors:[]}),n=n.properties[r]):(n.items??(n.items=[]),(s=n.items)[r]??(s[r]={errors:[]}),n=n.items[r]),i&&n.errors.push(t(o)),l++}}};return n(e),r}function eP(e){let t=[];for(let r of e.map(e=>
1"object"==typeof e?e.key:e))"number"==typeof r?t.push(`[${r}]`):"symbol"==typeof r?t.push(`[${JSON.stringify(String(r))}]`):/[^\w$]/.test(r)?t.push(`[${JSON.stringify(r)}]`):(t.length&&t.push("."),t.push(r));return t.join("")}function eM(e){let t=[];for(let r of[...e.issues].sort((e,t)=>(e.path??[]).length-(t.path??[]).length))t.push(`â ${r.message}`),r.path?.length&&t.push(` â at ${eP(r.path)}`);return t.join("\n")}let eU=e=>(t,r,n,i)=>{let a=n?Object.assign(n,{async:!1}):{async:!1},s=t._zod.run({value:r,issues:[]},a);if(s instanceof Promise)throw new _;if(s.issues.length){let t=new(i?.Err??e)(s.issues.map(e=>e_(e,a,y())));throw H(t,i?.callee),t}return s.value},ez=eU(ew),ej=e=>async(t,r,n,i)=>{let a=n?Object.assign(n,{async:!0}):{async:!0},s=t._zod.run({value:r,issues:[]},a);if(s instanceof Promise&&(s=await s),s.issues.length){let t=new(i?.Err??e)(s.issues.map(e=>e_(e,a,y())));throw H(t,i?.callee),t}return s.value},eF=ej(ew),eB=e=>(t,r,n)=>{let i=n?{...n,async:!1}:{async:!1},a=t._zod.run({value:r,issues:[]},i);if(a instanceof Promise)throw new _;return a.issues.length?{success:!1,error:new(e??e$)(a.issues.map(e=>e_(e,i,y())))}:{success:!0,data:a.value}},eZ=eB(ew),eH=e=>async(t,r,n)=>{let i=n?Object.assign(n,{async:!0}):{async:!0},a=t._zod.run({value:r,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>e_(e,i,y())))}:{success:!0,data:a.value}},eG=eH(ew),eY=e=>(t,r,n)=>{let i=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return eU(e)(t,r,i)},eV=eY(ew),eW=e=>(t,r,n)=>eU(e)(t,r,n),eq=eW(ew),eK=e=>async(t,r,n)=>{let i=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return ej(e)(t,r,i)},eJ=eK(ew),eX=e=>async(t,r,n)=>ej(e)(t,r,n),eQ=eX(ew),e0=e=>(t,r,n)=>{let i=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return eB(e)(t,r,i)},e1=e0(ew),e4=e=>(t,r,n)=>eB(e)(t,r,n),e6=e4(ew),e2=e=>async(t,r,n)=>{let i=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return eH(e)(t,r,i)},e9=e2(ew),e5=e=>async(t,r,n)=>eH(e)(t,r,n),e3=e5(ew),e7=/^[cC][^\s-]{8,}$/,e8=/^[0-9a-z]+$/,te=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,tt=/^[0-9a-vA-V]{20}$/,tr=/^[A-Za-z0-9]{27}$/,tn=/^[a-zA-Z0-9_-]{21}$/,ti=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,ta=/^[-+]?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)?)??$/,ts=/^([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})$/,to=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,tl=to(4),tu=to(6),tc=to(7),td=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,tm=/^[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])?)*$/,tp=/^(([^<>()\[\]\\.,;:\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,}))$/,th=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,tf=th,tg=/^[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])?)*$/;function t_(){return RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")}let tv=/^(?:(?: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])$/,tE=/^(([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}|:))$/,ty=e=>{let t=Q(e??":");return RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},tb=/^((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])$/,tT=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,tk=/^$|^(?:[0-9a-zA-Z+/]{4}
1)*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,tx=/^[A-Za-z0-9_-]*$/,tA=/^(?=.{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])?)*\.?$/,tI=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,tS=/^\+[1-9]\d{6,14}$/,tN="(?:(?:\\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])))",tO=RegExp(`^${tN}$`);function tC(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return"number"==typeof e.precision?-1===e.precision?`${t}`:0===e.precision?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function t$(e){return RegExp(`^${tC(e)}$`)}function tw(e){let t=tC({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let n=`${t}(?:${r.join("|")})`;return RegExp(`^${tN}T(?:${n})$`)}let tD=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return RegExp(`^${t}$`)},tR=/^-?\d+n?$/,tL=/^-?\d+$/,tP=/^-?\d+(?:\.\d+)?$/,tM=/^(?:true|false)$/i,tU=/^null$/i,tz=/^undefined$/i,tj=/^[^A-Z]*$/,tF=/^[^a-z]*$/,tB=/^[0-9a-fA-F]*$/;function tZ(e,t){return RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function tH(e){return RegExp(`^[A-Za-z0-9_-]{${e}}$`)}let tG=/^[0-9a-fA-F]{32}$/,tY=tZ(22,"=="),tV=tH(22),tW=/^[0-9a-fA-F]{40}$/,tq=tZ(27,"="),tK=tH(27),tJ=/^[0-9a-fA-F]{64}$/,tX=tZ(43,"="),tQ=tH(43),t0=/^[0-9a-fA-F]{96}$/,t1=tZ(64,""),t4=tH(64),t6=/^[0-9a-fA-F]{128}$/,t2=tZ(86,"=="),t9=tH(86),t5=f("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),t3={number:"number",bigint:"bigint",object:"date"},t7=f("$ZodCheckLessThan",(e,t)=>{t5.init(e,t);let r=t3[typeof t.value];e._zod.onattach.push(e=>{let r=e._zod.bag,n=(t.inclusive?r.maximum:r.exclusiveMaximum)??1/0;t.value<n&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:r,code:"too_big",maximum:"object"==typeof t.value?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),t8=f("$ZodCheckGreaterThan",(e,t)=>{t5.init(e,t);let r=t3[typeof t.value];e._zod.onattach.push(e=>{let r=e._zod.bag,n=(t.inclusive?r.minimum:r.exclusiveMinimum)??-1/0;t.value>n&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:r,code:"too_small",minimum:"object"==typeof t.value?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),re=f("$ZodCheckMultipleOf",(e,t)=>{t5.init(e,t),e._zod.onattach.push(e=>{var r;(r=e._zod.bag).multipleOf??(r.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw Error("Cannot mix number and bigint in multiple_of check.");("bigint"==typeof r.value?r.value%t.value===BigInt(0):0===w(r.value,t.value))||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),rt=f("$ZodCheckNumberFormat",(e,t)=>{t5.init(e,t),t.format=t.format||"float64";let r=t.format?.includes("int"),n=r?"int":"number",[i,a]=ea[t.format];e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,n.minimum=i,n.maximum=a,r&&(n.pattern=tL)}),e._zod.check=s=>{let o=s.value;if(r){if(!Number.isInteger(o))return void s.issues.push({expected:n,format:t.format,code:"invalid_type",continue:!1,input:o,inst:e});if(!Number.isSafeInteger(o))return void(o>0?s.issues.push({input:o,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort}):s.issues.push({input:o,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort}))}o<i&&s.issues.push({origin:"number",input:o,code:"too_small",minimum:i,inclusive:!0,inst:e,continue:!t.abort}),o>a&&s.issues.push({origin:"number",input:o,code:"too_big",maximum:a,inclusive:!0,inst:e,continue:!t.abort})}}),rr=f("$ZodCheckBigIntFormat",(e,t)=>{t5.init(e,t);let[r,n]=es[t.format];e._zod.onattach.push(e=>{let i=e._zod.bag;i.format=t.format,i.minimum=r,i.maximum=n}),e._zod.check=i=>{let a=i.value;a<r&&i.issues.push({origin:"bigint",input:a,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),a>n&&i.issues.push({origin:"bigint",input:a,code:"too_big",maximum:n,inclusive:!0,inst:e,continue:!t.abort})}}),rn=f("$ZodCheckMaxSize",(e,t)=>{var r;t5.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!C(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let r=e._zod.bag.maximum??1/0;t.maximum<r&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=r=>{let n=r.value;n.size<=t.maximum||r.issues.push({origin:ev(n),code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),ri=f("$ZodCheckMinSize",(e,t)=>{var r;t5.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!C(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let r=e._zod.bag.minimum??-1/0;t.minimum>r&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=r=>{let n=r.value;n.size>=t.minimum||r.issues.push({origin:ev(n),code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),ra=f("$ZodCheckSizeEquals",(e,t)=>{var r;t5.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!C(t)&&void 0!==t.size}),e._zod.onattach.push(e=>{let r=e._zod.bag;r.minimum=t.size,r.maximum=t.size,r.size=t.size}),e._zod.check=r=>{let n=r.value,i=n.size;if(i===t.size)return;let a=i>t.size;r.issues.push({origin:ev(n),...a?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),rs=f("$ZodCheckMaxLength",(e,t)=>{var r;t5.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!C(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let r=e._zod.bag.maximum??1/0;t.maximum<r&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=r=>{let n=r.value;if(n.length<=t.maximum)return;let i=eE(n);r.issues.push({origin:i,code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),ro=f("$ZodCheckMinLength",(e,t)=>{var r;t5.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!C(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let r=e._zod.bag.minimum??-1/0;t.minimum>r&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=r=>{let n=r.value;if(n.length>=t.minimum)return;let i=eE(n);r.issues.push({origin:i,code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),rl=f("$ZodCheckLengthEquals",(e,t)=>{var r;t5.init(e,t),(r=e._zod.def).when??(r.when=e=>{let t=e.value;return!C(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{let r=e._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length}),e._zod.check=r=>{let n=r.value,i=n.length;if(i===t.length)return;let a=eE(n),s=i>t.length;r.issues.push({origin:a,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),ru=f("$ZodCheckStringFormat",(e,t)=>{var r,n;t5.init(e,t),e._zod.onattach.push(e=>{let r=e._zod.bag;r.format=t.format,t.pattern&&(r.patterns??(r.patterns=new Set),r.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.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})}):(n=e._zod).check??(n.check=()=>{})}),rc=f("$ZodCheckRegex",(e,t)=>{ru.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,t.pattern.test(r.value)||r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),rd=f("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=tj),ru.init(e,t)}),rm=f("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=tF),ru.init(e,t)}),rp=f("$ZodCheckIncludes",(e,t)=>{t5.init(e,t);let r=Q(t.includes),n=new RegExp("number"==typeof t.position?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),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
1:r.value,inst:e,continue:!t.abort})}}),rh=f("$ZodCheckStartsWith",(e,t)=>{t5.init(e,t);let r=RegExp(`^${Q(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=r=>{r.value.startsWith(t.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:r.value,inst:e,continue:!t.abort})}}),rf=f("$ZodCheckEndsWith",(e,t)=>{t5.init(e,t);let r=RegExp(`.*${Q(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=r=>{r.value.endsWith(t.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:r.value,inst:e,continue:!t.abort})}});function rg(e,t,r){e.issues.length&&t.issues.push(...ef(r,e.issues))}let r_=f("$ZodCheckProperty",(e,t)=>{t5.init(e,t),e._zod.check=e=>{let r=t.schema._zod.run({value:e.value[t.property],issues:[]},{});if(r instanceof Promise)return r.then(r=>rg(r,e,t.property));rg(r,e,t.property)}}),rv=f("$ZodCheckMimeType",(e,t)=>{t5.init(e,t);let r=new Set(t.mime);e._zod.onattach.push(e=>{e._zod.bag.mime=t.mime}),e._zod.check=n=>{r.has(n.value.type)||n.issues.push({code:"invalid_value",values:t.mime,input:n.value.type,inst:e,continue:!t.abort})}}),rE=f("$ZodCheckOverwrite",(e,t)=>{t5.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}});class ry{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if("function"==typeof e){e(this,{execution:"sync"}),e(this,{execution:"async"});return}let t=e.split("\n").filter(e=>e),r=Math.min(...t.map(e=>e.length-e.trimStart().length));for(let e of t.map(e=>e.slice(r)).map(e=>" ".repeat(2*this.indent)+e))this.content.push(e)}compile(){return Function(...this?.args,[...(this?.content??[""]).map(e=>` ${e}`)].join("\n"))}}let rb={major:4,minor:3,patch:5},rT=f("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=rb;let n=[...e._zod.def.checks??[]];for(let t of(e._zod.traits.has("$ZodCheck")&&n.unshift(e),n))for(let r of t._zod.onattach)r(e);if(0===n.length)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,r)=>{let n,i=eh(e);for(let a of t){if(a._zod.def.when){if(!a._zod.def.when(e))continue}else if(i)continue;let t=e.issues.length,s=a._zod.check(e);if(s instanceof Promise&&r?.async===!1)throw new _;if(n||s instanceof Promise)n=(n??Promise.resolve()).then(async()=>{await s,e.issues.length!==t&&(i||(i=eh(e,t)))});else{if(e.issues.length===t)continue;i||(i=eh(e,t))}}return n?n.then(()=>e):e},r=(r,i,a)=>{if(eh(r))return r.aborted=!0,r;let s=t(i,n,a);if(s instanceof Promise){if(!1===a.async)throw new _;return s.then(t=>e._zod.parse(t,a))}return e._zod.parse(s,a)};e._zod.run=(i,a)=>
1{if(a.skipChecks)return e._zod.parse(i,a);if("backward"===a.direction){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>r(e,i,a)):r(t,i,a)}let s=e._zod.parse(i,a);if(s instanceof Promise){if(!1===a.async)throw new _;return s.then(e=>t(e,n,a))}return t(s,n,a)}}R(e,"~standard",()=>({validate:t=>{try{let r=eZ(e,t);return r.success?{value:r.data}:{issues:r.error?.issues}}catch(r){return eG(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:"zod",version:1}))}),rk=f("$ZodString",(e,t)=>{rT.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??tD(e._zod.bag),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch(e){}return"string"==typeof r.value||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),rx=f("$ZodStringFormat",(e,t)=>{ru.init(e,t),rk.init(e,t)}),rA=f("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=ts),rx.init(e,t)}),rI=f("$ZodUUID",(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(void 0===e)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=to(e))}else t.pattern??(t.pattern=to());rx.init(e,t)}),rS=f("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=td),rx.init(e,t)}),rN=f("$ZodURL",(e,t)=>{rx.init(e,t),e._zod.check=r=>{try{let n=r.value.trim(),i=new URL(n);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=i.href:r.value=n;return}catch(n){r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),rO=f("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=t_()),rx.init(e,t)}),rC=f("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=tn),rx.init(e,t)}),r$=f("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=e7),rx.init(e,t)}),rw=f("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=e8),rx.init(e,t)}),rD=f("$ZodULID",(e,t)=>{t.pattern??(t.pattern=te),rx.init(e,t)}),rR=f("$ZodXID",(e,t)=>{t.pattern??(t.pattern=tt),rx.init(e,t)}),rL=f("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=tr),rx.init(e,t)}),rP=f("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=tw(t)),rx.init(e,t)}),rM=f("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=tO),rx.init(e,t)}),rU=f("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=t$(t)),rx.init(e,t)}),rz=f("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=ti),rx.init(e,t)}),rj=f("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=tv),rx.init(e,t),e._zod.bag.format="ipv4"}),rF=f("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=tE),rx.init(e,t),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),rB=f("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=ty(t.delimiter)),rx.init(e,t),e._zod.bag.format="mac"}),rZ=f("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=tb),rx.init(e,t)}),rH=f("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=tT),rx.init(e,t),e._zod.check=r=>{let n=r.value.split("/");try{if(2!==n.length)throw Error();let[e,t]=n;if(!t)throw Error();let r=Number(t);if(`${r}`!==t||r<0||r>128)throw Error();new URL(`http://[${e}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function rG(e){if(""===e)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}let rY=f("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=tk),rx.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{rG(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});function rV(e){if(!tx.test(e))return!1;let t=e.replace(/[-_]/g,e=>"-"===e?"+":"/");return rG(t.padEnd(4*Math.ceil(t.length/4),"="))}let rW=f("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=tx),rx.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{rV(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),rq=f("$ZodE164",(e,t)=>{t.pattern??(t.pattern=tS),rx.init(e,t)});function rK(e,t=null){try{let r=e.split(".");if(3!==r.length)return!1;let[n]=r;if(!n)return!1;let i=JSON.parse(atob(n));
1if("typ"in i&&i?.typ!=="JWT"||!i.alg||t&&(!("alg"in i)||i.alg!==t))return!1;return!0}catch{return!1}}let rJ=f("$ZodJWT",(e,t)=>{rx.init(e,t),e._zod.check=r=>{rK(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),rX=f("$ZodCustomStringFormat",(e,t)=>{rx.init(e,t),e._zod.check=r=>{t.fn(r.value)||r.issues.push({code:"invalid_format",format:t.format,input:r.value,inst:e,continue:!t.abort})}}),rQ=f("$ZodNumber",(e,t)=>{rT.init(e,t),e._zod.pattern=e._zod.bag.pattern??tP,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch(e){}let i=r.value;if("number"==typeof i&&!Number.isNaN(i)&&Number.isFinite(i))return r;let a="number"==typeof i?Number.isNaN(i)?"NaN":Number.isFinite(i)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:i,inst:e,...a?{received:a}:{}}),r}}),r0=f("$ZodNumberFormat",(e,t)=>{rt.init(e,t),rQ.init(e,t)}),r1=f("$ZodBoolean",(e,t)=>{rT.init(e,t),e._zod.pattern=tM,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=!!r.value}catch(e){}let i=r.value;return"boolean"==typeof i||r.issues.push({expected:"boolean",code:"invalid_type",input:i,inst:e}),r}}),r4=f("$ZodBigInt",(e,t)=>{rT.init(e,t),e._zod.pattern=tR,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=BigInt(r.value)}catch(e){}return"bigint"==typeof r.value||r.issues.push({expected:"bigint",code:"invalid_type",input:r.value,inst:e}),r}}),r6=f("$ZodBigIntFormat",(e,t)=>{rr.init(e,t),r4.init(e,t)}),r2=f("$ZodSymbol",(e,t)=>{rT.init(e,t),e._zod.parse=(t,r)=>{let n=t.value;return"symbol"==typeof n||t.issues.push({expected:"symbol",code:"invalid_type",input:n,inst:e}),t}}),r9=f("$ZodUndefined",(e,t)=>{rT.init(e,t),e._zod.pattern=tz,e._zod.values=new Set([void 0]),e._zod.optin="optional",e._zod.optout="optional",e._zod.parse=(t,r)=>{let n=t.value;return void 0===n||t.issues.push({expected:"undefined",code:"invalid_type",input:n,inst:e}),t}}),r5=f("$ZodNull",(e,t)=>{rT.init(e,t),e._zod.pattern=tU,e._zod.values=new Set([null]),e._zod.parse=(t,r)=>{let n=t.value;return null===n||t.issues.push({expected:"null",code:"invalid_type",input:n,inst:e}),t}}),r3=f("$ZodAny",(e,t)=>{rT.init(e,t),e._zod.parse=e=>e}),r7=f("$ZodUnknown",(e,t)=>{rT.init(e,t),e._zod.parse=e=>e}),r8=f("$ZodNever",(e,t)=>{rT.init(e,t),e._zod.parse=(t,r)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)}),ne=f("$ZodVoid",(e,t)=>{rT.init(e,t),e._zod.parse=(t,r)=>{let n=t.value;return void 0===n||t.issues.push({expected:"void",code:"invalid_type",input:n,inst:e}),t}}),nt=f("$ZodDate",(e,t)=>{rT.init(e,t),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=new Date(r.value)}catch(e){}let i=r.value,a=i instanceof Date;return a&&!Number.isNaN(i.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:i,...a?{received:"Invalid Date"}:{},inst:e}),r}});function nr(e,t,r){e.issues.length&&t.issues.push(...ef(r,e.issues)),t.value[r]=e.value}let nn=f("$ZodArray",(e,t)=>{rT.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!Array.isArray(i))return r.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),r;r.value=Array(i.length);let a=[];for(let e=0;e<i.length;e++){let s=i[e],o=t.element._zod.run({value:s,issues:[]},n);o instanceof Promise?a.push(o.then(t=>nr(t,r,e))):nr(o,r,e)}return a.length?Promise.all(a).then(()=>r):r}});function ni(e,t,r,n,i){if(e.issues.length){if(i&&!(r in n))return;t.issues.push(...ef(r,e.issues))}void 0===e.value?r in n&&(t.value[r]=void 0):t.value[r]=e.value}function na(e){let t=Object.keys(e.shape);for(let r of t)if(!e.shape?.[r]?._zod?.traits?.has("$ZodType"))throw Error(`Invalid element at key "${r}": expected a Zod schema`);let r=ei(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function ns(e,t,r,n,i,a){let s=[],o=i.keySet,l=i.catchall._zod,u=l.def.type,c="optional"===l.optout;for(let i in t){if(o.has(i))continue;if("never"===u){s.push(i);continue}let a=l.run({value:t[i],issues:[]},n);a instanceof Promise?e.push(a.then(e=>ni(e,r,i,t,c))):ni(a,r,i,t,c)}return(s.length&&r.issues.push({code:"unrecognized_keys",keys:s,input:t,inst:a}),e.length)?Promise.all(e).then(()=>r):r}let no=f("$ZodObject",(e,t)=>{let r;rT.init(e,t);let n=Object.getOwnPropertyDescriptor(t,"shape");if(!n?.get){let e=t.shape;Object.defineProperty(t,"shape",{get:()=>{let r={...e};return Object.defineProperty(t,"shape",{value:r}),r}})}let i=O(()=>na(t));R(e._zod,"propValues",()=>{let e=t.shape,r={};for(let t in e){let n=e[t]._zod;if(n.values)for(let e of(r[t]??(r[t]=new Set),n.values))r[t].add(e)}return r});let a=t.catchall;e._zod.parse=(t,n)=>{r??(r=i.value);let s=t.value;if(!G(s))return t.issues.push({expected:"object",code:"invalid_type",input:s,inst:e}),t;t.value={};let o=[],l=r.shape;for(let e of r.keys){let r=l[e],i="optional"===r._zod.optout,a=r._zod.run({value:s[e],issues:[]},n);a instanceof Promise?o.push(a.then(r=>ni(r,t,e,s,i))):ni(a,t,e,s,i)}return a?ns(o,s,t,n,i.value,e):o.length?Promise.all(o).then(()=>t):t}}),nl=f("$ZodObjectJIT",(e,t)=>{let r,n;no.init(e,t);let i=e._zod.parse,a=O(()=>na(t)),s=!E.jitless,o=s&&Y.value,l=t.catchall;e._zod.parse=(u,c)=>{n??(n=a.value);let d=u.value;return G(d)?s&&o&&c?.async===!1&&!0!==c.jitless?(r||(r=(e=>{let t=new ry(["shape","payload","ctx"]),r=a.value,n=e=>{let t=B(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write("const input = payload.value;");let i=Object.create(null),s=0;for(let e of r.keys)i[e]=`key_${s++}`;for(let a of(t.write("const newResult = {};"),r.keys)){let r=i[a],s=B(a),o=e[a],l=o?._zod?.optout==="optional";t.write(`const ${r} = ${n(a)};`),l?t.write(` 2 if (${r}.issues.length) { 3 if (${s} in input) { 4 payload.issues = payload.issues.concat(${r}.issues.map(iss => ({ 5 ...iss, 6 path: iss.path ? [${s}, ...iss.path] : [${s}] 7 }))); 8 } 9 } 10 11 if (${r}.value === undefined) { 12 if (${s} in input) { 13 newResult[${s}] = undefined; 14 } 15 } else { 16 newResult[${s}] = ${r}.value; 17 } 18 19 `):t.write(` 20 if (${r}.issues.length) { 21 payload.issues = payload.issues.concat(${r}.issues.map(iss => ({ 22 ...iss, 23 path: iss.path ? [${s}, ...iss.path] : [${s}] 24 }))); 25 } 26 27 if (${r}.value === undefined) { 28 if (${s} in input) { 29 newResult[${s}] = undefined; 30 } 31 } else { 32 newResult[${s}] = ${r}.value; 33 } 34 35 `)}t.write("payload.value = newResult;"),t.write("return payload;");let o=t.compile();return(t,r)=>o(e,t,r)})(t.shape)),u=r(u,c),l)?ns([],d,u,c,n,e):u:i(u,c):(u.issues.push({expected:"object",code:"invalid_type",input:d,inst:e}),u)}});function nu(e,t,r,n){for(let r of e)if(0===r.issues.length)return t.value=r.value,t;let i=e.filter(e=>!eh(e));return 1===i.length?(t.value=i[0].value,i[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(e=>e.issues.map(e=>e_(e,n,y())))}),t)}let nc=f("$ZodUnion",(e,t)=>{rT.init(e,t),R(e._zod,"optin",()=>t.options.some(e=>
35"optional"===e._zod.optin)?"optional":void 0),R(e._zod,"optout",()=>t.options.some(e=>"optional"===e._zod.optout)?"optional":void 0),R(e._zod,"values",()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),R(e._zod,"pattern",()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>$(e.source)).join("|")})$`)}});let r=1===t.options.length,n=t.options[0]._zod.run;e._zod.parse=(i,a)=>{if(r)return n(i,a);let s=!1,o=[];for(let e of t.options){let t=e._zod.run({value:i.value,issues:[]},a);if(t instanceof Promise)o.push(t),s=!0;else{if(0===t.issues.length)return t;o.push(t)}}return s?Promise.all(o).then(t=>nu(t,i,e,a)):nu(o,i,e,a)}});function nd(e,t,r,n){let i=e.filter(e=>0===e.issues.length);return 1===i.length?t.value=i[0].value:0===i.length?t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(e=>e.issues.map(e=>e_(e,n,y())))}):t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:[],inclusive:!1}),t}let nm=f("$ZodXor",(e,t)=>{nc.init(e,t),t.inclusive=!1;let r=1===t.options.length,n=t.options[0]._zod.run;e._zod.parse=(i,a)=>{if(r)return n(i,a);let s=!1,o=[];for(let e of t.options){let t=e._zod.run({value:i.value,issues:[]},a);t instanceof Promise?(o.push(t),s=!0):o.push(t)}return s?Promise.all(o).then(t=>nd(t,i,e,a)):nd(o,i,e,a)}}),np=f("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,nc.init(e,t);let r=e._zod.parse;R(e._zod,"propValues",()=>{let e={};for(let r of t.options){let n=r._zod.propValues;if(!n||0===Object.keys(n).length)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(r)}"`);for(let[t,r]of Object.entries(n))for(let n of(e[t]||(e[t]=new Set),r))e[t].add(n)}return e});let n=O(()=>{let e=t.options,r=new Map;for(let n of e){let e=n._zod.propValues?.[t.discriminator];if(!e||0===e.size)throw Error(`Invalid discriminated union option at index "${t.options.indexOf(n)}"`);for(let t of e){if(r.has(t))throw Error(`Duplicate discriminator value "${String(t)}"`);r.set(t,n)}}return r});e._zod.parse=(i,a)=>{let s=i.value;if(!G(s))return i.issues.push({code:"invalid_type",expected:"object",input:s,inst:e}),i;let o=n.value.get(s?.[t.discriminator]);return o?o._zod.run(i,a):t.unionFallback?r(i,a):(i.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:s,path:[t.discriminator],inst:e}),i)}}),nh=f("$ZodIntersection",(e,t)=>{rT.init(e,t),e._zod.parse=(e,r)=>{let n=e.value,i=t.left._zod.run({value:n,issues:[]},r),a=t.right._zod.run({value:n,issues:[]},r);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,r])=>nf(e,t,r)):nf(e,i,a)}});function nf(e,t,r){let n,i=new Map;for(let r of t.issues)if("unrecognized_keys"===r.code)for(let e of(n??(n=r),r.keys))i.has(e)||i.set(e,{}),i.get(e).l=!0;else e.issues.push(r);for(let t of r.issues)if("unrecognized_keys"===t.code)for(let e of t.keys)i.has(e)||i.set(e,{}),i.get(e).r=!0;else e.issues.push(t);let a=[...i].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(a.length&&n&&e.issues.push({...n,keys:a}),eh(e))return e;let s=function e(t,r){if(t===r||t instanceof Date&&r instanceof Date&&+t==+r)return{valid:!0,data:t};if(V(t)&&V(r)){let n=Object.keys(r),i=Object.keys(t).filter(e=>-1!==n.indexOf(e)),a={...t,...r};for(let n of i){let i=e(t[n],r[n]);if(!i.valid)return{valid:!1,mergeErrorPath:[n,...i.mergeErrorPath]};a[n]=i.data}return{valid:!0,data:a}}if(Array.isArray(t)&&Array.isArray(r)){if(t.length!==r.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let i=0;i<t.length;i++){let a=e(t[i],r[i]);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};n.push(a.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}(t.value,r.value);if(!s.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(s.mergeErrorPath)}`);return e.value=s.data,e}let ng=f("$ZodTuple",(e,t)=>{rT.init(e,t);let r=t.items;e._zod.parse=(n,i)=>{let a=n.value;if(!Array.isArray(a))return n.issues.push({input:a,inst:e,expected:"tuple",code:"invalid_type"}),n;n.value=[];let s=[],o=[...r].reverse().findIndex(e=>"optional"!==e._zod.optin),l=-1===o?0:r.length-o;if(!t.rest){let t=a.length>r.length,i=a.length<l-1;if(t||i)return n.issues.push({...t?{code:"too_big",maximum:r.length,inclusive:!0}:{code:"too_small",minimum:r.length}
35,input:a,inst:e,origin:"array"}),n}let u=-1;for(let e of r){if(++u>=a.length&&u>=l)continue;let t=e._zod.run({value:a[u],issues:[]},i);t instanceof Promise?s.push(t.then(e=>n_(e,n,u))):n_(t,n,u)}if(t.rest)for(let e of a.slice(r.length)){u++;let r=t.rest._zod.run({value:e,issues:[]},i);r instanceof Promise?s.push(r.then(e=>n_(e,n,u))):n_(r,n,u)}return s.length?Promise.all(s).then(()=>n):n}});function n_(e,t,r){e.issues.length&&t.issues.push(...ef(r,e.issues)),t.value[r]=e.value}let nv=f("$ZodRecord",(e,t)=>{rT.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!V(i))return r.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),r;let a=[],s=t.keyType._zod.values;if(s){let o;r.value={};let l=new Set;for(let e of s)if("string"==typeof e||"number"==typeof e||"symbol"==typeof e){l.add("number"==typeof e?e.toString():e);let s=t.valueType._zod.run({value:i[e],issues:[]},n);s instanceof Promise?a.push(s.then(t=>{t.issues.length&&r.issues.push(...ef(e,t.issues)),r.value[e]=t.value})):(s.issues.length&&r.issues.push(...ef(e,s.issues)),r.value[e]=s.value)}for(let e in i)l.has(e)||(o=o??[]).push(e);o&&o.length>0&&r.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:o})}else for(let s of(r.value={},Reflect.ownKeys(i))){if("__proto__"===s)continue;let o=t.keyType._zod.run({value:s,issues:[]},n);if(o instanceof Promise)throw Error("Async schemas not supported in object keys currently");if("string"==typeof s&&tP.test(s)&&o.issues.length&&o.issues.some(e=>"invalid_type"===e.code&&"number"===e.expected)){let e=t.keyType._zod.run({value:Number(s),issues:[]},n);if(e instanceof Promise)throw Error("Async schemas not supported in object keys currently");0===e.issues.length&&(o=e)}if(o.issues.length){"loose"===t.mode?r.value[s]=i[s]:r.issues.push({code:"invalid_key",origin:"record",issues:o.issues.map(e=>e_(e,n,y())),input:s,path:[s],inst:e});continue}let l=t.valueType._zod.run({value:i[s],issues:[]},n);l instanceof Promise?a.push(l.then(e=>{e.issues.length&&r.issues.push(...ef(s,e.issues)),r.value[o.value]=e.value})):(l.issues.length&&r.issues.push(...ef(s,l.issues)),r.value[o.value]=l.value)}return a.length?Promise.all(a).then(()=>r):r}}),nE=f("$ZodMap",(e,t)=>{rT.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!(i instanceof Map))return r.issues.push({expected:"map",code:"invalid_type",input:i,inst:e}),r;let a=[];for(let[s,o]of(r.value=new Map,i)){let l=t.keyType._zod.run({value:s,issues:[]},n),u=t.valueType._zod.run({value:o,issues:[]},n);l instanceof Promise||u instanceof Promise?a.push(Promise.all([l,u]).then(([t,a])=>{ny(t,a,r,s,i,e,n)})):ny(l,u,r,s,i,e,n)}return a.length?Promise.all(a).then(()=>r):r}});function ny(e,t,r,n,i,a,s){e.issues.length&&(J.has(typeof n)?r.issues.push(...ef(n,e.issues)):r.issues.push({code:"invalid_key",origin:"map",input:i,inst:a,issues:e.issues.map(e=>e_(e,s,y()))})),t.issues.length&&(J.has(typeof n)?r.issues.push(...ef(n,t.issues)):r.issues.push({origin:"map",code:"invalid_element",input:i,inst:a,key:n,issues:t.issues.map(e=>e_(e,s,y()))})),r.value.set(e.value,t.value)}let nb=f("$ZodSet",(e,t)=>{rT.init(e,t),e._zod.parse=(r,n)=>{let i=r.value;if(!(i instanceof Set))return r.issues.push({input:i,inst:e,expected:"set",code:"invalid_type"}),r;let a=[];for(let e of(r.value=new Set,i)){let i=t.valueType._zod.run({value:e,issues:[]},n);i instanceof Promise?a.push(i.then(e=>nT(e,r))):nT(i,r)}return a.length?Promise.all(a).then(()=>r):r}});function nT(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}let nk=f("$ZodEnum",(e,t)=>{rT.init(e,t);let r=I(t.entries),n=new Set(r);e._zod.values=n,e._zod.pattern=RegExp(`^(${r.filter(e=>J.has(typeof e)).map(e=>"string"==typeof e?Q(e):e.toString()).join("|")})$`),e._zod.parse=(t,i)=>{let a=t.value;return n.has(a)||t.issues.push({code:"invalid_value",values:r,input:a,inst:e}),t}}),nx=f("$ZodLiteral",(e,t)=>{if(rT.init(e,t),0===t.values.length)throw Error("Cannot create literal schema with no valid values");let r=new Set(t.values);e._zod.values=r,e._zod.pattern=RegExp(`^(${t.values.map(e=>"string"==typeof e?Q(e):e?Q(e.toString()):String(e)).join("|")})$`),e._zod.parse=(n,i)=>{let a=n.value;return r.has(a)||n.issues.push({code:"invalid_value",values:t.values,input:a,inst:e}),n}}),nA=f("$ZodFile",(e,t)=>{rT.init(e,t),e._zod.parse=(t,r)=>{let n=t.value;return n instanceof File||t.issues.push({expected:"file",code:"invalid_type",input:n,inst:e}),t}}),nI=f("$ZodTransform",(e,t)=>{rT.init(e,t),e._zod.parse=(r,n)=>{if("backward"===n.direction)throw new v(e.constructor.name);let i=t.transform(r.value,r);if(n.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(r.value=e,r));if(i instanceof Promise)throw new _;return r.value=i,r}});function nS(e,t){return e.issues.length&&void 0===t?{issues:[],value:void 0}:e}let nN=f("$ZodOptional",(e,t)=>{rT.init(e,t),e._zod.optin="optional",e._zod.optout="optional",R(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),R(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${$(e.source)})?$`):void 0}),e._zod.parse=(e,r)=>{if("optional"===t.innerType._zod.optin){let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(t=>nS(t,e.value)):nS(n,e.value)}return void 0===e.value?e:t.innerType._zod.run(e,r)}}),nO=f("$ZodExactOptional",(e,t)=>{nN.init(e,t),R(e._zod,"values",()=>t.innerType._zod.values),R(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(e,r)=>t.innerType._zod.run(e,r)}),nC=f("$ZodNullable",(e,t)=>{rT.init(e,t),R(e._zod,"optin",()=>t.innerType._zod.optin),R(e._zod,"optout",()=>t.innerType._zod.optout),R(e._zod,"pattern",()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${$(e.source)}|null)$`):void 0}),R(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,r)=>null===e.value?e:t.innerType._zod.run(e,r)}),n$=f("$ZodDefault",(e,t)=>{rT.init(e,t),e._zod.optin="optional",R(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);if(void 0===e.value)return e.value=t.defaultValue,e;let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(e=>nw(e,t)):nw(n,t)}});function nw(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}let nD=f("$ZodPrefault",(e,t)=>{rT.init(e,t),e._zod.optin="optional",R(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,r)=>("backward"===r.direction||void 0===e.value&&(e.value=t.defaultValue),t.innerType._zod.run(e,r))}),nR=f("$ZodNonOptional",(e,t)=>{rT.init(e,t),R(e._zod,"values",()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>void 0!==e)):void 0}),e._zod.parse=(r,n)=>{let i=t.innerType._zod.run(r,n);return i instanceof Promise?i.then(t=>nL(t,e)):nL(i,e)}});function nL(e,t){return e.issues.length||void 0!==e.value||e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}let nP=f("$ZodSuccess",(e,t)=>{rT.init(e,t),e._zod.parse=(e,r)=>{if("backward"===r.direction)throw new v("ZodSuccess");let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(t=>(e.value=0===t.issues.length,e)):(e.value=0===n.issues.length,e)}}),nM=f("$ZodCatch",(e,t)=>{rT.init(e,t),R(e._zod,"optin",()=>t.innerType._zod.optin),R(e._zod,"optout",()=>t.innerType._zod.optout),R(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(n=>
35(e.value=n.value,n.issues.length&&(e.value=t.catchValue({...e,error:{issues:n.issues.map(e=>e_(e,r,y()))},input:e.value}),e.issues=[]),e)):(e.value=n.value,n.issues.length&&(e.value=t.catchValue({...e,error:{issues:n.issues.map(e=>e_(e,r,y()))},input:e.value}),e.issues=[]),e)}}),nU=f("$ZodNaN",(e,t)=>{rT.init(e,t),e._zod.parse=(t,r)=>("number"==typeof t.value&&Number.isNaN(t.value)||t.issues.push({input:t.value,inst:e,expected:"nan",code:"invalid_type"}),t)}),nz=f("$ZodPipe",(e,t)=>{rT.init(e,t),R(e._zod,"values",()=>t.in._zod.values),R(e._zod,"optin",()=>t.in._zod.optin),R(e._zod,"optout",()=>t.out._zod.optout),R(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(e,r)=>{if("backward"===r.direction){let n=t.out._zod.run(e,r);return n instanceof Promise?n.then(e=>nj(e,t.in,r)):nj(n,t.in,r)}let n=t.in._zod.run(e,r);return n instanceof Promise?n.then(e=>nj(e,t.out,r)):nj(n,t.out,r)}});function nj(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}let nF=f("$ZodCodec",(e,t)=>{rT.init(e,t),R(e._zod,"values",()=>t.in._zod.values),R(e._zod,"optin",()=>t.in._zod.optin),R(e._zod,"optout",()=>t.out._zod.optout),R(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(e,r)=>{if("forward"===(r.direction||"forward")){let n=t.in._zod.run(e,r);return n instanceof Promise?n.then(e=>nB(e,t,r)):nB(n,t,r)}{let n=t.out._zod.run(e,r);return n instanceof Promise?n.then(e=>nB(e,t,r)):nB(n,t,r)}}});function nB(e,t,r){if(e.issues.length)return e.aborted=!0,e;if("forward"===(r.direction||"forward")){let n=t.transform(e.value,e);return n instanceof Promise?n.then(n=>nZ(e,n,t.out,r)):nZ(e,n,t.out,r)}{let n=t.reverseTransform(e.value,e);return n instanceof Promise?n.then(n=>nZ(e,n,t.in,r)):nZ(e,n,t.in,r)}}function nZ(e,t,r,n){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:t,issues:e.issues},n)}let nH=f("$ZodReadonly",(e,t)=>{rT.init(e,t),R(e._zod,"propValues",()=>t.innerType._zod.propValues),R(e._zod,"values",()=>t.innerType._zod.values),R(e._zod,"optin",()=>t.innerType?._zod?.optin),R(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);let n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(nG):nG(n)}});function nG(e){return e.value=Object.freeze(e.value),e}let nY=f("$ZodTemplateLiteral",(e,t)=>{rT.init(e,t);let r=[];for(let e of t.parts)if("object"==typeof e&&null!==e){if(!e._zod.pattern)throw Error(`Invalid template literal part, no pattern found: ${[...e._zod.traits].shift()}`);let t=e._zod.pattern instanceof RegExp?e._zod.pattern.source:e._zod.pattern;if(!t)throw Error(`Invalid template literal part: ${e._zod.traits}`);let n=+!!t.startsWith("^"),i=t.endsWith("$")?t.length-1:t.length;r.push(t.slice(n,i))}else if(null===e||X.has(typeof e))r.push(Q(`${e}`));else throw Error(`Invalid template literal part: ${e}`);e._zod.pattern=RegExp(`^${r.join("")}$`),e._zod.parse=(r,n)=>("string"!=typeof r.value?r.issues.push({input:r.value,inst:e,expected:"string",code:"invalid_type"}):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(r.value)||r.issues.push({input:r.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source})),r)}),nV=f("$ZodFunction",(e,t)=>(rT.init(e,t),e._def=t,e._zod.def=t,e.implement=t=>{if("function"!=typeof t)throw Error("implement() must be called with a function");return function(...r){let n=Reflect.apply(t,this,e._def.input?ez(e._def.input,r):r);return e._def.output?ez(e._def.output,n):n}},e.implementAsync=t=>{if("function"!=typeof t)throw Error("implementAsync() must be called with a function");return async function(...r){let n=e._def.input?await eF(e._def.input,r):r,i=await Reflect.apply(t,this,n);return e._def.output?await eF(e._def.output,i):i}},e._zod.parse=(t,r)=>("function"!=typeof t.value?t.issues.push({code:"invalid_type",expected:"function",input:t.value,inst:e}):e._def.output&&"promise"===e._def.output._zod.def.type?t.value=e.implementAsync(t.value):t.value=e.implement(t.value),t),e.input=(...t)=>{let r=e.constructor;return new r(Array.isArray(t[0])?{type:"function",input:new ng({type:"tuple",items:t[0],rest:t[1]}),output:e._def.output}:{type:"function",input:t[0],output:e._def.output})},e.output=t=>new e.constructor({type:"function",input:e._def.input,output:t}),e)),nW=f("$ZodPromise",(e,t)=>{rT.init(e,t),e._zod.parse=(e,r)=>Promise.resolve(e.value).then(e=>t.innerType._zod.run({value:e,issues:[]},r))}),nq=f("$ZodLazy",(e,t)=>{rT.init(e,t),R(e._zod,"innerType",()=>t.getter()),R(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),R(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),R(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),R(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(t,r)=>e._zod.innerType._zod.run(t,r)}),nK=f("$ZodCustom",(e,t)=>{t5.init(e,t),rT.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=r=>{let n=r.value,i=t.fn(n);if(i instanceof Promise)return i.then(t=>nJ(t,r,n,e));nJ(i,r,n,e)}});function nJ(e,t,r,n){if(!e){let e={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(e.params=n._zod.def.params),t.issues.push(eb(e))}}function nX(){let e,t,r;return{localeError:(e={string:{unit:"ØØ±Ù",verb:"Ø£Ù ÙØÙÙ"},file:{unit:"Ø¨Ø§ÙØª",verb:"Ø£Ù ÙØÙÙ"},array:{unit:"Ø¹ÙØµØ±",verb:"Ø£Ù ÙØÙÙ"},set:{unit:"Ø¹ÙØµØ±",verb:"Ø£Ù ÙØÙÙ"}},t={regex:"Ù
دخÙ",email:"Ø¨Ø±ÙØ¯ Ø¥ÙÙØªØ±ÙÙÙ",url:"رابط",emoji:"Ø¥ÙÙ
ÙØ¬Ù",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ØªØ§Ø±ÙØ® ÙÙÙØª بÙ
Ø¹ÙØ§Ø± ISO",date:"ØªØ§Ø±ÙØ® بÙ
Ø¹ÙØ§Ø± ISO",time:"ÙÙØª بÙ
Ø¹ÙØ§Ø± ISO",duration:"Ù
دة بÙ
Ø¹ÙØ§Ø± ISO",ipv4:"عÙÙØ§Ù IPv4",ipv6:"عÙÙØ§Ù IPv6",cidrv4:"Ù
Ø¯Ù Ø¹ÙØ§ÙÙÙ Ø¨ØµÙØºØ© IPv4",cidrv6:"Ù
Ø¯Ù Ø¹ÙØ§ÙÙÙ Ø¨ØµÙØºØ© IPv6",base64:"ÙÙØµ بترÙ
ÙØ² base64-encoded",base64url:"ÙÙØµ بترÙ
ÙØ² base64url-encoded",json_string:"ÙÙØµ عÙÙ ÙÙØ¦Ø© JSON",e164:"رÙÙ
ÙØ§ØªÙ بÙ
Ø¹ÙØ§Ø± E.164",jwt:"JWT",template_literal:"Ù
دخÙ"},r={nan:"NaN"},n=>
35{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Ù
Ø¯Ø®ÙØ§Øª ØºÙØ± Ù
ÙØ¨ÙÙØ©: ÙÙØªØ±Ø¶ إدخا٠instanceof ${n.expected}Ø ÙÙÙ٠تÙ
إدخا٠${i}`;return`Ù
Ø¯Ø®ÙØ§Øª ØºÙØ± Ù
ÙØ¨ÙÙØ©: ÙÙØªØ±Ø¶ إدخا٠${e}Ø ÙÙÙ٠تÙ
إدخا٠${i}`}case"invalid_value":if(1===n.values.length)return`Ù
Ø¯Ø®ÙØ§Øª ØºÙØ± Ù
ÙØ¨ÙÙØ©: ÙÙØªØ±Ø¶ إدخا٠${en(n.values[0])}`;return`Ø§Ø®ØªÙØ§Ø± ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØªÙÙØ¹ Ø§ÙØªÙاء Ø£ØØ¯ ÙØ°Ù Ø§ÙØ®Ùارات: ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return` Ø£ÙØ¨Ø± Ù
٠اÙÙØ§Ø²Ù
: ÙÙØªØ±Ø¶ أ٠تÙÙÙ ${n.origin??"اÙÙÙÙ
Ø©"} ${t} ${n.maximum.toString()} ${r.unit??"Ø¹ÙØµØ±"}`;return`Ø£ÙØ¨Ø± Ù
٠اÙÙØ§Ø²Ù
: ÙÙØªØ±Ø¶ أ٠تÙÙÙ ${n.origin??"اÙÙÙÙ
Ø©"} ${t} ${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`أصغر Ù
٠اÙÙØ§Ø²Ù
: ÙÙØªØ±Ø¶ ÙÙ ${n.origin} Ø£Ù ÙÙÙÙ ${t} ${n.minimum.toString()} ${r.unit}`;return`أصغر Ù
٠اÙÙØ§Ø²Ù
: ÙÙØªØ±Ø¶ ÙÙ ${n.origin} Ø£Ù ÙÙÙÙ ${t} ${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`ÙÙØµ ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙØ¨Ø¯Ø£ ب٠"${n.prefix}"`;if("ends_with"===n.format)return`ÙÙØµ ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙÙØªÙ٠ب٠"${n.suffix}"`;if("includes"===n.format)return`ÙÙØµ ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙØªØ¶Ù
ÙÙÙ "${n.includes}"`;if("regex"===n.format)return`ÙÙØµ ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙØ·Ø§Ø¨Ù اÙÙÙ
Ø· ${n.pattern}`;return`${t[n.format]??n.format} ØºÙØ± Ù
ÙØ¨ÙÙ`;case"not_multiple_of":return`رÙÙ
ØºÙØ± Ù
ÙØ¨ÙÙ: ÙØ¬Ø¨ Ø£Ù ÙÙÙÙ Ù
Ù Ù
Ø¶Ø§Ø¹ÙØ§Øª ${n.divisor}`;case"unrecognized_keys":return`Ù
عرÙ${n.keys.length>1?"ات":""} ØºØ±ÙØ¨${n.keys.length>1?"Ø©":""}: ${S(n.keys,"Ø ")}`;case"invalid_key":return`Ù
Ø¹Ø±Ù ØºÙØ± Ù
ÙØ¨ÙÙ ÙÙ ${n.origin}`;case"invalid_union":default:return"Ù
Ø¯Ø®Ù ØºÙØ± Ù
ÙØ¨ÙÙ";case"invalid_element":return`Ù
Ø¯Ø®Ù ØºÙØ± Ù
ÙØ¨ÙÙ ÙÙ ${n.origin}`}})}}function nQ(){let e,t,r;return{localeError:(e={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}},t={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},r={nan:"NaN"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`YanlıŠdÉyÉr: g\xf6zlÉnilÉn instanceof ${n.expected}, daxil olan ${i}`;return`YanlıŠdÉyÉr: g\xf6zlÉnilÉn ${e}, daxil olan ${i}`}case"invalid_value":if(1===n.values.length)return`YanlıŠdÉyÉr: g\xf6zlÉnilÉn ${en(n.values[0])}`;return`YanlıŠse\xe7im: aÅaÄıdakılardan biri olmalıdır: ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`\xc7ox b\xf6y\xfck: g\xf6zlÉnilÉn ${n.origin??"dÉyÉr"} ${t}${n.maximum.toString()} ${r.unit??"element"}`;return`\xc7ox b\xf6y\xfck: g\xf6zlÉnilÉn ${n.origin??"dÉyÉr"} ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`\xc7ox ki\xe7ik: g\xf6zlÉnilÉn ${n.origin} ${t}${n.minimum.toString()} ${r.unit}`;return`\xc7ox ki\xe7ik: g\xf6zlÉnilÉn ${n.origin} ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`YanlıŠmÉtn: "${n.prefix}" ilÉ baÅlamalıdır`;if("ends_with"===n.format)return`YanlıŠmÉtn: "${n.suffix}" ilÉ bitmÉlidir`;if("includes"===n.format)return`YanlıŠmÉtn: "${n.includes}" daxil olmalıdır`;if("regex"===n.format)return`YanlıŠmÉtn: ${n.pattern} Åablonuna uyÄun olmalıdır`;return`YanlıŠ${t[n.format]??n.format}`;case"not_multiple_of":return`YanlıŠÉdÉd: ${n.divisor} ilÉ b\xf6l\xfcnÉ bilÉn olmalıdır`;case"unrecognized_keys":return`Tanınmayan a\xe7ar${n.keys.length>1?"lar":""}: ${S(n.keys,", ")}`;
35case"invalid_key":return`${n.origin} daxilindÉ yanlıŠa\xe7ar`;case"invalid_union":default:return"YanlıŠdÉyÉr";case"invalid_element":return`${n.origin} daxilindÉ yanlıŠdÉyÉr`}})}}function n0(e,t,r,n){let i=Math.abs(e),a=i%10,s=i%100;return s>=11&&s<=19?n:1===a?t:a>=2&&a<=4?r:n}function n1(){let e,t,r;return{localeError:(e={string:{unit:{one:"ÑÑмвал",few:"ÑÑмвалÑ",many:"ÑÑмвалаÑ"},verb:"меÑÑ"},array:{unit:{one:"ÑлеменÑ",few:"ÑлеменÑÑ",many:"ÑлеменÑаÑ"},verb:"меÑÑ"},set:{unit:{one:"ÑлеменÑ",few:"ÑлеменÑÑ",many:"ÑлеменÑаÑ"},verb:"меÑÑ"},file:{unit:{one:"байÑ",few:"байÑÑ",many:"байÑаÑ"},verb:"меÑÑ"}},t={regex:"Ñвод",email:"email адÑаÑ",url:"URL",emoji:"ÑмодзÑ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO даÑа Ñ ÑаÑ",date:"ISO даÑа",time:"ISO ÑаÑ",duration:"ISO пÑаÑÑглаÑÑÑ",ipv4:"IPv4 адÑаÑ",ipv6:"IPv6 адÑаÑ",cidrv4:"IPv4 дÑÑпазон",cidrv6:"IPv6 дÑÑпазон",base64:"Ñадок Ñ ÑаÑмаÑе base64",base64url:"Ñадок Ñ ÑаÑмаÑе base64url",json_string:"JSON Ñадок",e164:"нÑÐ¼Ð°Ñ E.164",jwt:"JWT",template_literal:"Ñвод"},r={nan:"NaN",number:"лÑк",array:"маÑÑÑ"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`ÐÑпÑавÑлÑÐ½Ñ Ñвод: ÑакаÑÑÑ instanceof ${n.expected}, аÑÑÑмана ${i}`;return`ÐÑпÑавÑлÑÐ½Ñ Ñвод: ÑакаÑÑÑ ${e}, аÑÑÑмана ${i}`}case"invalid_value":if(1===n.values.length)return`ÐÑпÑавÑлÑÐ½Ñ Ñвод: ÑакалаÑÑ ${en(n.values[0])}`;return`ÐÑпÑавÑлÑÐ½Ñ Ð²Ð°ÑÑÑнÑ: ÑакаÑÑÑ Ð°Ð´Ð·Ñн з ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r){let e=n0(Number(n.maximum),r.unit.one,r.unit.few,r.unit.many);return`ÐанадÑа вÑлÑкÑ: ÑакалаÑÑ, ÑÑо ${n.origin??"знаÑÑнне"} павÑнна ${r.verb} ${t}${n.maximum.toString()} ${e}`}return`ÐанадÑа вÑлÑкÑ: ÑакалаÑÑ, ÑÑо ${n.origin??"знаÑÑнне"} павÑнна бÑÑÑ ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r){let e=n0(Number(n.minimum),r.unit.one,r.unit.few,r.unit.many);return`ÐанадÑа малÑ: ÑакалаÑÑ, ÑÑо ${n.origin} павÑнна ${r.verb} ${t}${n.minimum.toString()} ${e}`}return`ÐанадÑа малÑ: ÑакалаÑÑ, ÑÑо ${n.origin} павÑнна бÑÑÑ ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`ÐÑпÑавÑлÑÐ½Ñ Ñадок: павÑнен паÑÑнаÑÑа з "${n.prefix}"`;if("ends_with"===n.format)return`ÐÑпÑавÑлÑÐ½Ñ Ñадок: павÑнен заканÑваÑÑа на "${n.suffix}"`;if("includes"===n.format)return`ÐÑпÑавÑлÑÐ½Ñ Ñадок: павÑнен змÑÑÑаÑÑ "${n.includes}"`;if("regex"===n.format)return`ÐÑпÑавÑлÑÐ½Ñ Ñадок: павÑнен адпавÑдаÑÑ ÑÐ°Ð±Ð»Ð¾Ð½Ñ ${n.pattern}`;return`ÐÑпÑавÑлÑÐ½Ñ ${t[n.format]??n.format}`;case"not_multiple_of":return`ÐÑпÑавÑлÑÐ½Ñ Ð»Ñк: павÑнен бÑÑÑ ÐºÑаÑнÑм ${n.divisor}`;case"unrecognized_keys":return`ÐеÑаÑÐ¿Ð°Ð·Ð½Ð°Ð½Ñ ${n.keys.length>1?"клÑÑÑ":"клÑÑ"}: ${S(n.keys,", ")}`;case"invalid_key":return`ÐÑпÑавÑлÑÐ½Ñ ÐºÐ»ÑÑ Ñ ${n.origin}`;case"invalid_union":default:return"ÐÑпÑавÑлÑÐ½Ñ Ñвод";case"invalid_element":return`ÐÑпÑавÑлÑнае знаÑÑнне Ñ ${n.origin}`}})}}function n4(){let e,t,r;return{localeError:(e={string:{unit:"Ñимвола",verb:"да ÑÑдÑÑжа"},file:{unit:"байÑа",verb:"да ÑÑдÑÑжа"},array:{unit:"елеменÑа",verb:"да ÑÑдÑÑжа"},set:{unit:"елеменÑа",verb:"да ÑÑдÑÑжа"}},t={regex:"вÑ
од",email:"имейл адÑеÑ",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO вÑеме",date:"ISO даÑа",time:"ISO вÑеме",duration:"ISO пÑодÑлжиÑелноÑÑ",ipv4:"IPv4 адÑеÑ",ipv6:"IPv6 адÑеÑ",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиÑан низ",base64url:"base64url-кодиÑан низ",json_string:"JSON низ",e164:"E.164 номеÑ",jwt:"JWT",template_literal:"вÑ
од"},r={nan:"NaN",number:"ÑиÑло",array:"маÑив"},n=>
35{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Ðевалиден вÑ
од: оÑакван instanceof ${n.expected}, полÑÑен ${i}`;return`Ðевалиден вÑ
од: оÑакван ${e}, полÑÑен ${i}`}case"invalid_value":if(1===n.values.length)return`Ðевалиден вÑ
од: оÑакван ${en(n.values[0])}`;return`Ðевалидна опÑиÑ: оÑаквано едно Ð¾Ñ ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`ТвÑÑде голÑмо: оÑаква Ñе ${n.origin??"ÑÑойноÑÑ"} да ÑÑдÑÑжа ${t}${n.maximum.toString()} ${r.unit??"елеменÑа"}`;return`ТвÑÑде голÑмо: оÑаква Ñе ${n.origin??"ÑÑойноÑÑ"} да бÑде ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`ТвÑÑде малко: оÑаква Ñе ${n.origin} да ÑÑдÑÑжа ${t}${n.minimum.toString()} ${r.unit}`;return`ТвÑÑде малко: оÑаква Ñе ${n.origin} да бÑде ${t}${n.minimum.toString()}`}case"invalid_format":{if("starts_with"===n.format)return`Ðевалиден низ: ÑÑÑбва да запоÑва Ñ "${n.prefix}"`;if("ends_with"===n.format)return`Ðевалиден низ: ÑÑÑбва да завÑÑÑва Ñ "${n.suffix}"`;if("includes"===n.format)return`Ðевалиден низ: ÑÑÑбва да вклÑÑва "${n.includes}"`;if("regex"===n.format)return`Ðевалиден низ: ÑÑÑбва да ÑÑвпада Ñ ${n.pattern}`;let e="Ðевалиден";return"emoji"===n.format&&(e="Ðевалидно"),"datetime"===n.format&&(e="Ðевалидно"),"date"===n.format&&(e="Ðевалидна"),"time"===n.format&&(e="Ðевалидно"),"duration"===n.format&&(e="Ðевалидна"),`${e} ${t[n.format]??n.format}`}case"not_multiple_of":return`Ðевалидно ÑиÑло: ÑÑÑбва да бÑде кÑаÑно на ${n.divisor}`;case"unrecognized_keys":return`ÐеÑазпознаÑ${n.keys.length>1?"и":""} клÑÑ${n.keys.length>1?"ове":""}: ${S(n.keys,", ")}`;case"invalid_key":return`Ðевалиден клÑÑ Ð² ${n.origin}`;case"invalid_union":default:return"Ðевалиден вÑ
од";case"invalid_element":return`Ðевалидна ÑÑойноÑÑ Ð² ${n.origin}`}})}}function n6(){let e,t,r;return{localeError:(e={string:{unit:"car\xe0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}},t={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",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",jwt:"JWT",template_literal:"entrada"},r={nan:"NaN"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Tipus inv\xe0lid: s'esperava instanceof ${n.expected}, s'ha rebut ${i}`;return`Tipus inv\xe0lid: s'esperava ${e}, s'ha rebut ${i}`}case"invalid_value":if(1===n.values.length)return`Valor inv\xe0lid: s'esperava ${en(n.values[0])}`;return`Opci\xf3 inv\xe0lida: s'esperava una de ${S(n.values," o ")}`;case"too_big":{let t=n.inclusive?"com a m\xe0xim":"menys de",r=e[n.origin]??null;if(r)return`Massa gran: s'esperava que ${n.origin??"el valor"} contingu\xe9s ${t} ${n.maximum.toString()} ${r.unit??"elements"}`;return`Massa gran: s'esperava que ${n.origin??"el valor"} fos ${t} ${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?"com a m\xednim":"m\xe9s de",r=e[n.origin]??null;if(r)return`Massa petit: s'esperava que ${n.origin} contingu\xe9s ${t} ${n.minimum.toString()} ${r.unit}`;return`Massa petit: s'esperava que ${n.origin} fos ${t} ${n.minimum.toString()}`}
35case"invalid_format":if("starts_with"===n.format)return`Format inv\xe0lid: ha de comen\xe7ar amb "${n.prefix}"`;if("ends_with"===n.format)return`Format inv\xe0lid: ha d'acabar amb "${n.suffix}"`;if("includes"===n.format)return`Format inv\xe0lid: ha d'incloure "${n.includes}"`;if("regex"===n.format)return`Format inv\xe0lid: ha de coincidir amb el patr\xf3 ${n.pattern}`;return`Format inv\xe0lid per a ${t[n.format]??n.format}`;case"not_multiple_of":return`N\xfamero inv\xe0lid: ha de ser m\xfaltiple de ${n.divisor}`;case"unrecognized_keys":return`Clau${n.keys.length>1?"s":""} no reconeguda${n.keys.length>1?"s":""}: ${S(n.keys,", ")}`;case"invalid_key":return`Clau inv\xe0lida a ${n.origin}`;case"invalid_union":default:return"Entrada inv\xe0lida";case"invalid_element":return`Element inv\xe0lid a ${n.origin}`}})}}function n2(){let e,t,r;return{localeError:(e={string:{unit:"znaků",verb:"m\xedt"},file:{unit:"bajtů",verb:"m\xedt"},array:{unit:"prvků",verb:"m\xedt"},set:{unit:"prvků",verb:"m\xedt"}},t={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 Äas ve form\xe1tu ISO",date:"datum ve form\xe1tu ISO",time:"Äas ve form\xe1tu ISO",duration:"doba trv\xe1n\xed ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"ÅetÄzec zak\xf3dovan\xfd ve form\xe1tu base64",base64url:"ÅetÄzec zak\xf3dovan\xfd ve form\xe1tu base64url",json_string:"ÅetÄzec ve form\xe1tu JSON",e164:"Ä\xedslo E.164",jwt:"JWT",template_literal:"vstup"},r={nan:"NaN",number:"Ä\xedslo",string:"ÅetÄzec",function:"funkce",array:"pole"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Neplatn\xfd vstup: oÄek\xe1v\xe1no instanceof ${n.expected}, obdrženo ${i}`;return`Neplatn\xfd vstup: oÄek\xe1v\xe1no ${e}, obdrženo ${i}`}case"invalid_value":if(1===n.values.length)return`Neplatn\xfd vstup: oÄek\xe1v\xe1no ${en(n.values[0])}`;return`Neplatn\xe1 možnost: oÄek\xe1v\xe1na jedna z hodnot ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Hodnota je pÅ\xedliÅ¡ velk\xe1: ${n.origin??"hodnota"} mus\xed m\xedt ${t}${n.maximum.toString()} ${r.unit??"prvků"}`;return`Hodnota je pÅ\xedliÅ¡ velk\xe1: ${n.origin??"hodnota"} mus\xed b\xfdt ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Hodnota je pÅ\xedliÅ¡ mal\xe1: ${n.origin??"hodnota"} mus\xed m\xedt ${t}${n.minimum.toString()} ${r.unit??"prvků"}`;return`Hodnota je pÅ\xedliÅ¡ mal\xe1: ${n.origin??"hodnota"} mus\xed b\xfdt ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Neplatn\xfd ÅetÄzec: mus\xed zaÄ\xednat na "${n.prefix}"`;if("ends_with"===n.format)return`Neplatn\xfd ÅetÄzec: mus\xed konÄit na "${n.suffix}"`;if("includes"===n.format)return`Neplatn\xfd ÅetÄzec: mus\xed obsahovat "${n.includes}"`;if("regex"===n.format)return`Neplatn\xfd ÅetÄzec: mus\xed odpov\xeddat vzoru ${n.pattern}`;return`Neplatn\xfd form\xe1t ${t[n.format]??n.format}`;case"not_multiple_of":return`Neplatn\xe9 Ä\xedslo: mus\xed b\xfdt n\xe1sobkem ${n.divisor}`;case"unrecognized_keys":return`Nezn\xe1m\xe9 kl\xedÄe: ${S(n.keys,", ")}`;case"invalid_key":return`Neplatn\xfd kl\xedÄ v ${n.origin}`;case"invalid_union":default:return"Neplatn\xfd vstup";case"invalid_element":return`Neplatn\xe1 hodnota v ${n.origin}`}})}}function n9(){let e,t,r;return{localeError:(e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}},t={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkesl\xe6t",date:"ISO-dato",time:"ISO-klokkesl\xe6t",duration:"ISO-varighed",ipv4:"IPv4-omr\xe5de",ipv6:"IPv6-omr\xe5de",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},r={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"s\xe6t",file:"fil"},n=>
35{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Ugyldigt input: forventede instanceof ${n.expected}, fik ${i}`;return`Ugyldigt input: forventede ${e}, fik ${i}`}case"invalid_value":if(1===n.values.length)return`Ugyldig v\xe6rdi: forventede ${en(n.values[0])}`;return`Ugyldigt valg: forventede en af f\xf8lgende ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",i=e[n.origin]??null,a=r[n.origin]??n.origin;if(i)return`For stor: forventede ${a??"value"} ${i.verb} ${t} ${n.maximum.toString()} ${i.unit??"elementer"}`;return`For stor: forventede ${a??"value"} havde ${t} ${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",i=e[n.origin]??null,a=r[n.origin]??n.origin;if(i)return`For lille: forventede ${a} ${i.verb} ${t} ${n.minimum.toString()} ${i.unit}`;return`For lille: forventede ${a} havde ${t} ${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Ugyldig streng: skal starte med "${n.prefix}"`;if("ends_with"===n.format)return`Ugyldig streng: skal ende med "${n.suffix}"`;if("includes"===n.format)return`Ugyldig streng: skal indeholde "${n.includes}"`;if("regex"===n.format)return`Ugyldig streng: skal matche m\xf8nsteret ${n.pattern}`;return`Ugyldig ${t[n.format]??n.format}`;case"not_multiple_of":return`Ugyldigt tal: skal v\xe6re deleligt med ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"Ukendte n\xf8gler":"Ukendt n\xf8gle"}: ${S(n.keys,", ")}`;case"invalid_key":return`Ugyldig n\xf8gle i ${n.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig v\xe6rdi i ${n.origin}`;default:return"Ugyldigt input"}})}}function n5(){let e,t,r;return{localeError:(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"}},t={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},r={nan:"NaN",number:"Zahl",array:"Array"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Ung\xfcltige Eingabe: erwartet instanceof ${n.expected}, erhalten ${i}`;return`Ung\xfcltige Eingabe: erwartet ${e}, erhalten ${i}`}case"invalid_value":if(1===n.values.length)return`Ung\xfcltige Eingabe: erwartet ${en(n.values[0])}`;return`Ung\xfcltige Option: erwartet eine von ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Zu gro\xdf: erwartet, dass ${n.origin??"Wert"} ${t}${n.maximum.toString()} ${r.unit??"Elemente"} hat`;return`Zu gro\xdf: erwartet, dass ${n.origin??"Wert"} ${t}${n.maximum.toString()} ist`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Zu klein: erwartet, dass ${n.origin} ${t}${n.minimum.toString()} ${r.unit} hat`;return`Zu klein: erwartet, dass ${n.origin} ${t}${n.minimum.toString()} ist`}case"invalid_format":if("starts_with"===n.format)return`Ung\xfcltiger String: muss mit "${n.prefix}" beginnen`;if("ends_with"===n.format)return`Ung\xfcltiger String: muss mit "${n.suffix}" enden`;if("includes"===n.format)return`Ung\xfcltiger String: muss "${n.includes}" enthalten`;if("regex"===n.format)return`Ung\xfcltiger String: muss dem Muster ${n.pattern} entsprechen`;return`Ung\xfcltig: ${t[n.format]??n.format}`;case"not_multiple_of":return`Ung\xfcltige Zahl: muss ein Vielfaches von ${n.divisor} sein`;case"unrecognized_keys":return`${n.keys.length>1?"Unbekannte Schl\xfcssel":"Unbekannter Schl\xfcssel"}: ${S(n.keys,", ")}`;case"invalid_key":return`Ung\xfcltiger Schl\xfcssel in ${n.origin}`;
35case"invalid_union":default:return"Ung\xfcltige Eingabe";case"invalid_element":return`Ung\xfcltiger Wert in ${n.origin}`}})}}function n3(){let e,t,r;return{localeError:(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"}},t={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},r={nan:"NaN"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;return`Invalid input: expected ${e}, received ${i}`}case"invalid_value":if(1===n.values.length)return`Invalid input: expected ${en(n.values[0])}`;return`Invalid option: expected one of ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Too big: expected ${n.origin??"value"} to have ${t}${n.maximum.toString()} ${r.unit??"elements"}`;return`Too big: expected ${n.origin??"value"} to be ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Too small: expected ${n.origin} to have ${t}${n.minimum.toString()} ${r.unit}`;return`Too small: expected ${n.origin} to be ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Invalid string: must start with "${n.prefix}"`;if("ends_with"===n.format)return`Invalid string: must end with "${n.suffix}"`;if("includes"===n.format)return`Invalid string: must include "${n.includes}"`;if("regex"===n.format)return`Invalid string: must match pattern ${n.pattern}`;return`Invalid ${t[n.format]??n.format}`;case"not_multiple_of":return`Invalid number: must be a multiple of ${n.divisor}`;case"unrecognized_keys":return`Unrecognized key${n.keys.length>1?"s":""}: ${S(n.keys,", ")}`;case"invalid_key":return`Invalid key in ${n.origin}`;case"invalid_union":default:return"Invalid input";case"invalid_element":return`Invalid value in ${n.origin}`}})}}function n7(){let e,t,r;return{localeError:(e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}},t={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoÄio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daÅro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",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",jwt:"JWT",template_literal:"enigo"},r={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Nevalida enigo: atendiÄis instanceof ${n.expected}, riceviÄis ${i}`;return`Nevalida enigo: atendiÄis ${e}, riceviÄis ${i}`}case"invalid_value":if(1===n.values.length)return`Nevalida enigo: atendiÄis ${en(n.values[0])}`;return`Nevalida opcio: atendiÄis unu el ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Tro granda: atendiÄis ke ${n.origin??"valoro"} havu ${t}${n.maximum.toString()} ${r.unit??"elementojn"}`;return`Tro granda: atendiÄis ke ${n.origin??"valoro"} havu ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Tro malgranda: atendiÄis ke ${n.origin} havu ${t}${n.minimum.toString()} ${r.unit}`;return`Tro malgranda: atendiÄis ke ${n.origin} estu ${t}${n.minimum.toString()}`}
35case"invalid_format":if("starts_with"===n.format)return`Nevalida karaktraro: devas komenciÄi per "${n.prefix}"`;if("ends_with"===n.format)return`Nevalida karaktraro: devas finiÄi per "${n.suffix}"`;if("includes"===n.format)return`Nevalida karaktraro: devas inkluzivi "${n.includes}"`;if("regex"===n.format)return`Nevalida karaktraro: devas kongrui kun la modelo ${n.pattern}`;return`Nevalida ${t[n.format]??n.format}`;case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${n.divisor}`;case"unrecognized_keys":return`Nekonata${n.keys.length>1?"j":""} Ålosilo${n.keys.length>1?"j":""}: ${S(n.keys,", ")}`;case"invalid_key":return`Nevalida Ålosilo en ${n.origin}`;case"invalid_union":default:return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${n.origin}`}})}}function n8(){let e,t,r;return{localeError:(e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}},t={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",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",jwt:"JWT",template_literal:"entrada"},r={nan:"NaN",string:"texto",number:"n\xfamero",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"n\xfamero grande",symbol
35:"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"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Entrada inv\xe1lida: se esperaba instanceof ${n.expected}, recibido ${i}`;return`Entrada inv\xe1lida: se esperaba ${e}, recibido ${i}`}case"invalid_value":if(1===n.values.length)return`Entrada inv\xe1lida: se esperaba ${en(n.values[0])}`;return`Opci\xf3n inv\xe1lida: se esperaba una de ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",i=e[n.origin]??null,a=r[n.origin]??n.origin;if(i)return`Demasiado grande: se esperaba que ${a??"valor"} tuviera ${t}${n.maximum.toString()} ${i.unit??"elementos"}`;return`Demasiado grande: se esperaba que ${a??"valor"} fuera ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",i=e[n.origin]??null,a=r[n.origin]??n.origin;if(i)return`Demasiado peque\xf1o: se esperaba que ${a} tuviera ${t}${n.minimum.toString()} ${i.unit}`;return`Demasiado peque\xf1o: se esperaba que ${a} fuera ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Cadena inv\xe1lida: debe comenzar con "${n.prefix}"`;if("ends_with"===n.format)return`Cadena inv\xe1lida: debe terminar en "${n.suffix}"`;if("includes"===n.format)return`Cadena inv\xe1lida: debe incluir "${n.includes}"`;if("regex"===n.format)return`Cadena inv\xe1lida: debe coincidir con el patr\xf3n ${n.pattern}`;return`Inv\xe1lido ${t[n.format]??n.format}`;case"not_multiple_of":return`N\xfamero inv\xe1lido: debe ser m\xfaltiplo de ${n.divisor}`;case"unrecognized_keys":return`Llave${n.keys.length>1?"s":""} desconocida${n.keys.length>1?"s":""}: ${S(n.keys,", ")}`;case"invalid_key":return`Llave inv\xe1lida en ${r[n.origin]??n.origin}`;case"invalid_union":default:return"Entrada inv\xe1lida";case"invalid_element":return`Valor inv\xe1lido en ${r[n.origin]??n.origin}`}})}}function ie(){let e,t,r;return{localeError:(e={string:{unit:"کاراکتر",verb:"داشت٠باشد"},file:{unit:"Ø¨Ø§ÛØª",verb:"داشت٠باشد"},array:{unit:"Ø¢ÛØªÙ
",verb:"داشت٠باشد"},set:{unit:"Ø¢ÛØªÙ
",verb:"داشت٠باشد"}},t={regex:"ÙØ±ÙدÛ",email:"آدرس اÛÙ
ÛÙ",url:"URL",emoji:"اÛÙ
ÙØ¬Û",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ØªØ§Ø±ÛØ® ٠زÙ
Ø§Ù Ø§ÛØ²Ù",date:"ØªØ§Ø±ÛØ® Ø§ÛØ²Ù",time:"زÙ
Ø§Ù Ø§ÛØ²Ù",duration:"Ù
دت زÙ
Ø§Ù Ø§ÛØ²Ù",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 داÙ
ÙÙ",cidrv6:"IPv6 داÙ
ÙÙ",base64:"base64-encoded رشتÙ",base64url:"base64url-encoded رشتÙ",json_string:"JSON رشتÙ",e164:"E.164 عدد",jwt:"JWT",template_literal:"ÙØ±ÙدÛ"},r={nan:"NaN",number:"عدد",array:"آراÛÙ"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`ÙØ±ÙØ¯Û ÙØ§Ù
عتبر: Ù
ÛâØ¨Ø§ÛØ³Øª instanceof ${n.expected} Ù
ÛâØ¨ÙØ¯Ø ${i} Ø¯Ø±ÛØ§Ùت شد`;return`ÙØ±ÙØ¯Û ÙØ§Ù
عتبر: Ù
ÛâØ¨Ø§ÛØ³Øª ${e} Ù
ÛâØ¨ÙØ¯Ø ${i} Ø¯Ø±ÛØ§Ùت شد`}case"invalid_value":if(1===n.values.length)return`ÙØ±ÙØ¯Û ÙØ§Ù
عتبر: Ù
ÛâØ¨Ø§ÛØ³Øª ${en(n.values[0])} Ù
ÛâØ¨ÙØ¯`;return`گزÛÙÙ ÙØ§Ù
عتبر: Ù
ÛâØ¨Ø§ÛØ³Øª ÛÚ©Û Ø§Ø² ${S(n.values,"|")} Ù
ÛâØ¨ÙØ¯`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Ø®ÛÙÛ Ø¨Ø²Ø±Ú¯: ${n.origin??"Ù
ÙØ¯Ø§Ø±"} Ø¨Ø§ÛØ¯ ${t}${n.maximum.toString()} ${r.unit??"Ø¹ÙØµØ±"} باشد`;return`Ø®ÛÙÛ Ø¨Ø²Ø±Ú¯: ${n.origin??"Ù
ÙØ¯Ø§Ø±"} Ø¨Ø§ÛØ¯ ${t}${n.maximum.toString()} باشد`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Ø®ÛÙÛ Ú©ÙÚÚ©: ${n.origin} Ø¨Ø§ÛØ¯ ${t}${n.minimum.toString()} ${r.unit} باشد`;return`Ø®ÛÙÛ Ú©ÙÚÚ©: ${n.origin} Ø¨Ø§ÛØ¯ ${t}${n.minimum.toString()} باشد`}
35case"invalid_format":if("starts_with"===n.format)return`Ø±Ø´ØªÙ ÙØ§Ù
عتبر: Ø¨Ø§ÛØ¯ با "${n.prefix}" Ø´Ø±ÙØ¹ Ø´ÙØ¯`;if("ends_with"===n.format)return`Ø±Ø´ØªÙ ÙØ§Ù
عتبر: Ø¨Ø§ÛØ¯ با "${n.suffix}" تÙ
اÙ
Ø´ÙØ¯`;if("includes"===n.format)return`Ø±Ø´ØªÙ ÙØ§Ù
عتبر: Ø¨Ø§ÛØ¯ شاÙ
Ù "${n.includes}" باشد`;if("regex"===n.format)return`Ø±Ø´ØªÙ ÙØ§Ù
عتبر: Ø¨Ø§ÛØ¯ با اÙÚ¯ÙÛ ${n.pattern} Ù
Ø·Ø§Ø¨ÙØª داشت٠باشد`;return`${t[n.format]??n.format} ÙØ§Ù
عتبر`;case"not_multiple_of":return`عدد ÙØ§Ù
عتبر: Ø¨Ø§ÛØ¯ Ù
ضرب ${n.divisor} باشد`;case"unrecognized_keys":return`Ú©ÙÛØ¯${n.keys.length>1?"ÙØ§Û":""} ÙØ§Ø´Ùاس: ${S(n.keys,", ")}`;case"invalid_key":return`Ú©ÙÛØ¯ ÙØ§Ø´Ùاس در ${n.origin}`;case"invalid_union":default:return"ÙØ±ÙØ¯Û ÙØ§Ù
عتبر";case"invalid_element":return`Ù
ÙØ¯Ø§Ø± ÙØ§Ù
عتبر در ${n.origin}`}})}}function it(){let e,t,r;return{localeError:(e={string:{unit:"merkki\xe4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xe4iv\xe4m\xe4\xe4r\xe4n"}},t={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",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},r={nan:"NaN"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Virheellinen tyyppi: odotettiin instanceof ${n.expected}, oli ${i}`;return`Virheellinen tyyppi: odotettiin ${e}, oli ${i}`}case"invalid_value":if(1===n.values.length)return`Virheellinen sy\xf6te: t\xe4ytyy olla ${en(n.values[0])}`;return`Virheellinen valinta: t\xe4ytyy olla yksi seuraavista: ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Liian suuri: ${r.subject} t\xe4ytyy olla ${t}${n.maximum.toString()} ${r.unit}`.trim();return`Liian suuri: arvon t\xe4ytyy olla ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Liian pieni: ${r.subject} t\xe4ytyy olla ${t}${n.minimum.toString()} ${r.unit}`.trim();return`Liian pieni: arvon t\xe4ytyy olla ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Virheellinen sy\xf6te: t\xe4ytyy alkaa "${n.prefix}"`;if("ends_with"===n.format)return`Virheellinen sy\xf6te: t\xe4ytyy loppua "${n.suffix}"`;if("includes"===n.format)return`Virheellinen sy\xf6te: t\xe4ytyy sis\xe4lt\xe4\xe4 "${n.includes}"`;if("regex"===n.format)return`Virheellinen sy\xf6te: t\xe4ytyy vastata s\xe4\xe4nn\xf6llist\xe4 lauseketta ${n.pattern}`;return`Virheellinen ${t[n.format]??n.format}`;case"not_multiple_of":return`Virheellinen luku: t\xe4ytyy olla luvun ${n.divisor} monikerta`;case"unrecognized_keys":return`${n.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${S(n.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 ir(){let e,t,r;return{localeError:(e={string:{unit:"caract\xe8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xe9l\xe9ments",verb:"avoir"},set:{unit:"\xe9l\xe9ments",verb:"avoir"}},t={regex:"entr\xe9e",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",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",jwt:"JWT",template_literal:"entr\xe9e"},r={nan:"NaN",number:"nombre",array:"tableau"},n=>
35{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Entr\xe9e invalide : instanceof ${n.expected} attendu, ${i} re\xe7u`;return`Entr\xe9e invalide : ${e} attendu, ${i} re\xe7u`}case"invalid_value":if(1===n.values.length)return`Entr\xe9e invalide : ${en(n.values[0])} attendu`;return`Option invalide : une valeur parmi ${S(n.values,"|")} attendue`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Trop grand : ${n.origin??"valeur"} doit ${r.verb} ${t}${n.maximum.toString()} ${r.unit??"\xe9l\xe9ment(s)"}`;return`Trop grand : ${n.origin??"valeur"} doit \xeatre ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Trop petit : ${n.origin} doit ${r.verb} ${t}${n.minimum.toString()} ${r.unit}`;return`Trop petit : ${n.origin} doit \xeatre ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Cha\xeene invalide : doit commencer par "${n.prefix}"`;if("ends_with"===n.format)return`Cha\xeene invalide : doit se terminer par "${n.suffix}"`;if("includes"===n.format)return`Cha\xeene invalide : doit inclure "${n.includes}"`;if("regex"===n.format)return`Cha\xeene invalide : doit correspondre au mod\xe8le ${n.pattern}`;return`${t[n.format]??n.format} invalide`;case"not_multiple_of":return`Nombre invalide : doit \xeatre un multiple de ${n.divisor}`;case"unrecognized_keys":return`Cl\xe9${n.keys.length>1?"s":""} non reconnue${n.keys.length>1?"s":""} : ${S(n.keys,", ")}`;case"invalid_key":return`Cl\xe9 invalide dans ${n.origin}`;case"invalid_union":default:return"Entr\xe9e invalide";case"invalid_element":return`Valeur invalide dans ${n.origin}`}})}}function ii(){let e,t,r;return{localeError:(e={string:{unit:"caract\xe8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xe9l\xe9ments",verb:"avoir"},set:{unit:"\xe9l\xe9ments",verb:"avoir"}},t={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",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",jwt:"JWT",template_literal:"entr\xe9e"},r={nan:"NaN"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Entr\xe9e invalide : attendu instanceof ${n.expected}, re\xe7u ${i}`;return`Entr\xe9e invalide : attendu ${e}, re\xe7u ${i}`}case"invalid_value":if(1===n.values.length)return`Entr\xe9e invalide : attendu ${en(n.values[0])}`;
35return`Option invalide : attendu l'une des valeurs suivantes ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"â¤":"<",r=e[n.origin]??null;if(r)return`Trop grand : attendu que ${n.origin??"la valeur"} ait ${t}${n.maximum.toString()} ${r.unit}`;return`Trop grand : attendu que ${n.origin??"la valeur"} soit ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?"â¥":">",r=e[n.origin]??null;if(r)return`Trop petit : attendu que ${n.origin} ait ${t}${n.minimum.toString()} ${r.unit}`;return`Trop petit : attendu que ${n.origin} soit ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Cha\xeene invalide : doit commencer par "${n.prefix}"`;if("ends_with"===n.format)return`Cha\xeene invalide : doit se terminer par "${n.suffix}"`;if("includes"===n.format)return`Cha\xeene invalide : doit inclure "${n.includes}"`;if("regex"===n.format)return`Cha\xeene invalide : doit correspondre au motif ${n.pattern}`;return`${t[n.format]??n.format} invalide`;case"not_multiple_of":return`Nombre invalide : doit \xeatre un multiple de ${n.divisor}`;case"unrecognized_keys":return`Cl\xe9${n.keys.length>1?"s":""} non reconnue${n.keys.length>1?"s":""} : ${S(n.keys,", ")}`;case"invalid_key":return`Cl\xe9 invalide dans ${n.origin}`;case"invalid_union":default:return"Entr\xe9e invalide";case"invalid_element":return`Valeur invalide dans ${n.origin}`}})}}function ia(){let e,t,r,n,i,a,s,o,l;return{localeError:(e={string:{label:"××ר××ת",gender:"f"},number:{label:"×ספר",gender:"m"},boolean:{label:"×¢×¨× ×××××× ×",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"ת×ר××",gender:"m"},array:{label:"×ער×",gender:"m"},object:{label:"××××××§×",gender:"m"},null:{label:"×¢×¨× ×¨××§ (null)",gender:"m"},undefined:{label:"×¢×¨× ×× ××××ר (undefined)",gender:"m"},symbol:{label:"ס××××× (Symbol)",gender:"m"},function:{label:"פ×× ×§×¦××",gender:"f"},map:{label:"××¤× (Map)",gender:"f"},set:{label:"×§×××¦× (Set)",gender:"f"},file:{label:"×§×××¥",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"×¢×¨× ×× ××××¢",gender:"m"},value:{label:"ער×",gender:"m"}},t={string:{unit:"ת××××",shortLabel:"קצר",longLabel:"×ר××"},file:{unit:"××××××",shortLabel:"×§××",longLabel:"××××"},array:{unit:"פר××××",shortLabel:"×§××",longLabel:"××××"},set:{unit:"פר××××",shortLabel:"×§××",longLabel:"××××"},number:{unit:"",shortLabel:"×§××",longLabel:"××××"}},r=t=>t?e[t]:void 0,n=t=>{let n=r(t);return n?n.label:t??e.unknown.label},i=e=>`×${n(e)}`,a=e=>{let t=r(e);return"f"===(t?.gender??"m")?"צר××× ××××ת":"צר×× ××××ת"},s=e=>e?t[e]??null:null,o={regex:{label:"×§××",gender:"m"},email:{label:"×ת××ת ××××××",gender:"f"},url:{label:"×ת××ת רשת",gender:"f"},emoji:{label:"×××××'×",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"ת×ר×× ×××× ISO",gender:"m"},date:{label:"ת×ר×× ISO",gender:"m"},time:{label:"××× ISO",gender:"m"},duration:{label:"××©× ××× ISO",gender:"m"},ipv4:{label:"×ת××ת IPv4",gender:"f"},ipv6:{label:"×ת××ת IPv6",gender:"f"},cidrv4:{label:"×××× IPv4",gender:"m"},cidrv6:{label:"×××× IPv6",gender:"m"},base64:{label:"××ר××ת ××ס×ס 64",gender:"f"},base64url:{label:"××ר××ת ××ס×ס 64 ××ת×××ת רשת",gender:"f"},json_string:{label:"××ר××ת JSON",gender:"f"},e164:{label:"×ספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"×§××",gender:"m"},includes:{label:"×§××",gender:"m"},lowercase:{label:"×§××",gender:"m"},starts_with:{label:"×§××",gender:"m"},uppercase:{label:"×§××",gender:"m"}},l={nan:"NaN"},t=>{switch(t.code){case"invalid_type":{let r=t.expected,i=l[r??""]??n(r),a=ey(t.input),s=l[a]??e[a]?.label??a;
35if(/^[A-Z]/.test(t.expected))return`×§×× ×× ×ª×§××: צר×× ××××ת instanceof ${t.expected}, ×תק×× ${s}`;return`×§×× ×× ×ª×§××: צר×× ××××ת ${i}, ×תק×× ${s}`}case"invalid_value":{if(1===t.values.length)return`×¢×¨× ×× ×ª×§××: ××¢×¨× ×××× ××××ת ${en(t.values[0])}`;let e=t.values.map(e=>en(e));if(2===t.values.length)return`×¢×¨× ×× ×ª×§××: ××פשר×××ת ××ת××××ת ×× ${e[0]} ×× ${e[1]}`;let r=e[e.length-1],n=e.slice(0,-1).join(", ");return`×¢×¨× ×× ×ª×§××: ××פשר×××ת ××ת××××ת ×× ${n} ×× ${r}`}case"too_big":{let e=s(t.origin),r=i(t.origin??"value");if("string"===t.origin)return`${e?.longLabel??"×ר××"} ×××: ${r} צר××× ××××× ${t.maximum.toString()} ${e?.unit??""} ${t.inclusive?"×× ×¤××ת":"××× ×××תר"}`.trim();if("number"===t.origin){let e=t.inclusive?`×§×× ×× ×©××× ×-${t.maximum}`:`×§×× ×-${t.maximum}`;return`×××× ×××: ${r} צר×× ××××ת ${e}`}if("array"===t.origin||"set"===t.origin){let n="set"===t.origin?"צר×××":"צר××",i=t.inclusive?`${t.maximum} ${e?.unit??""} ×× ×¤××ת`:`פ××ת ×-${t.maximum} ${e?.unit??""}`;return`×××× ×××: ${r} ${n} ××××× ${i}`.trim()}let n=t.inclusive?"<=":"<",o=a(t.origin??"value");if(e?.unit)return`${e.longLabel} ×××: ${r} ${o} ${n}${t.maximum.toString()} ${e.unit}`;return`${e?.longLabel??"××××"} ×××: ${r} ${o} ${n}${t.maximum.toString()}`}case"too_small":{let e=s(t.origin),r=i(t.origin??"value");if("string"===t.origin)return`${e?.shortLabel??"קצר"} ×××: ${r} צר××× ××××× ${t.minimum.toString()} ${e?.unit??""} ${t.inclusive?"×× ××תר":"×פ××ת"}`.trim();if("number"===t.origin){let e=t.inclusive?`×××× ×× ×©××× ×-${t.minimum}`:`×××× ×-${t.minimum}`;return`×§×× ×××: ${r} צר×× ××××ת ${e}`}if("array"===t.origin||"set"===t.origin){let n="set"===t.origin?"צר×××":"צר××";if(1===t.minimum&&t.inclusive){let e=(t.origin,"×פ××ת פר×× ×××");return`×§×× ×××: ${r} ${n} ××××× ${e}`}let i=t.inclusive?`${t.minimum} ${e?.unit??""} ×× ××תר`:`××תר ×-${t.minimum} ${e?.unit??""}`;return`×§×× ×××: ${r} ${n} ××××× ${i}`.trim()}let n=t.inclusive?">=":">",o=a(t.origin??"value");if(e?.unit)return`${e.shortLabel} ×××: ${r} ${o} ${n}${t.minimum.toString()} ${e.unit}`;return`${e?.shortLabel??"×§××"} ×××: ${r} ${o} ${n}${t.minimum.toString()}`}case"invalid_format":{if("starts_with"===t.format)return`×××ר××ת ××××ת ××ת××× × "${t.prefix}"`;if("ends_with"===t.format)return`×××ר××ת ××××ת ××סת××× × "${t.suffix}"`;if("includes"===t.format)return`×××ר××ת ××××ת ××××× "${t.includes}"`;if("regex"===t.format)return`×××ר××ת ××××ת ××ת××× ×ת×× ×ת ${t.pattern}`;let e=o[t.format],r=e?.label??t.format,n=e?.gender??"m";return`${r} ×× ${"f"===n?"תק×× ×":"תק××"}`}case"not_multiple_of":return`×ספר ×× ×ª×§××: ×××× ××××ת ××פ×× ×©× ${t.divisor}`;case"unrecognized_keys":return`×פת×${t.keys.length>1?"×ת":""} ×× ××××${t.keys.length>1?"××":"×"}: ${S(t.keys,", ")}`;case"invalid_key":return"ש×× ×× ×ª×§×× ×××××××§×";case"invalid_union":default:return"×§×× ×× ×ª×§××";case"invalid_element":{let e=i(t.origin??"array");return`×¢×¨× ×× ×ª×§×× ×${e}`}}})}}function is(){let e,t,r;return{localeError:(e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}},t={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Åb\xe9lyeg",date:"ISO d\xe1tum",time:"ISO idÅ",duration:"ISO idÅintervallum",ipv4:"IPv4 c\xedm",ipv6:"IPv6 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",jwt:"JWT",template_literal:"bemenet"},r={nan:"NaN",number:"sz\xe1m",array:"t\xf6mb"},n=>
35{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`\xc9rv\xe9nytelen bemenet: a v\xe1rt \xe9rt\xe9k instanceof ${n.expected}, a kapott \xe9rt\xe9k ${i}`;return`\xc9rv\xe9nytelen bemenet: a v\xe1rt \xe9rt\xe9k ${e}, a kapott \xe9rt\xe9k ${i}`}case"invalid_value":if(1===n.values.length)return`\xc9rv\xe9nytelen bemenet: a v\xe1rt \xe9rt\xe9k ${en(n.values[0])}`;return`\xc9rv\xe9nytelen opci\xf3: valamelyik \xe9rt\xe9k v\xe1rt ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`T\xfal nagy: ${n.origin??"\xe9rt\xe9k"} m\xe9rete t\xfal nagy ${t}${n.maximum.toString()} ${r.unit??"elem"}`;return`T\xfal nagy: a bemeneti \xe9rt\xe9k ${n.origin??"\xe9rt\xe9k"} t\xfal nagy: ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`T\xfal kicsi: a bemeneti \xe9rt\xe9k ${n.origin} m\xe9rete t\xfal kicsi ${t}${n.minimum.toString()} ${r.unit}`;return`T\xfal kicsi: a bemeneti \xe9rt\xe9k ${n.origin} t\xfal kicsi ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`\xc9rv\xe9nytelen string: "${n.prefix}" \xe9rt\xe9kkel kell kezdÅdnie`;if("ends_with"===n.format)return`\xc9rv\xe9nytelen string: "${n.suffix}" \xe9rt\xe9kkel kell v\xe9gzÅdnie`;if("includes"===n.format)return`\xc9rv\xe9nytelen string: "${n.includes}" \xe9rt\xe9ket kell tartalmaznia`;if("regex"===n.format)return`\xc9rv\xe9nytelen string: ${n.pattern} mint\xe1nak kell megfelelnie`;return`\xc9rv\xe9nytelen ${t[n.format]??n.format}`;case"not_multiple_of":return`\xc9rv\xe9nytelen sz\xe1m: ${n.divisor} t\xf6bbsz\xf6r\xf6s\xe9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${n.keys.length>1?"s":""}: ${S(n.keys,", ")}`;case"invalid_key":return`\xc9rv\xe9nytelen kulcs ${n.origin}`;case"invalid_union":default:return"\xc9rv\xe9nytelen bemenet";case"invalid_element":return`\xc9rv\xe9nytelen \xe9rt\xe9k: ${n.origin}`}})}}function io(e,t,r){return 1===Math.abs(e)?t:r}function il(e){if(!e)return"";let t=e[e.length-1];return e+(["Õ¡","Õ¥","Õ¨","Õ«","Õ¸","Õ¸Ö","Ö
"].includes(t)?"Õ¶":"Õ¨")}function iu(){let e,t,r;return{localeError:(e={string:{unit:{one:"Õ¶Õ·Õ¡Õ¶",many:"Õ¶Õ·Õ¡Õ¶Õ¶Õ¥Ö"},verb:"Õ¸ÖÕ¶Õ¥Õ¶Õ¡Õ¬"},file:{unit:{one:"Õ¢Õ¡ÕµÕ©",many:"Õ¢Õ¡ÕµÕ©Õ¥Ö"},verb:"Õ¸ÖÕ¶Õ¥Õ¶Õ¡Õ¬"},array:{unit:{one:"Õ¿Õ¡ÖÖ",many:"Õ¿Õ¡ÖÖÕ¥Ö"},verb:"Õ¸ÖÕ¶Õ¥Õ¶Õ¡Õ¬"},set:{unit:{one:"Õ¿Õ¡ÖÖ",many:"Õ¿Õ¡ÖÖÕ¥Ö"},verb:"Õ¸ÖÕ¶Õ¥Õ¶Õ¡Õ¬"}},t={regex:"Õ´Õ¸ÖÕ¿Ö",email:"Õ§Õ¬. Õ°Õ¡Õ½ÖÕ¥",url:"URL",emoji:"Õ§Õ´Õ¸Õ»Õ«",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO Õ¡Õ´Õ½Õ¡Õ©Õ«Õ¾ Ö ÕªÕ¡Õ´",date:"ISO Õ¡Õ´Õ½Õ¡Õ©Õ«Õ¾",time:"ISO ÕªÕ¡Õ´",duration:"ISO Õ¿ÖÕ¸Õ²Õ¸ÖÕ©ÕµÕ¸ÖÕ¶",ipv4:"IPv4 Õ°Õ¡Õ½ÖÕ¥",ipv6:"IPv6 Õ°Õ¡Õ½ÖÕ¥",cidrv4:"IPv4 Õ´Õ«Õ»Õ¡Õ¯Õ¡ÕµÖ",cidrv6:"IPv6 Õ´Õ«Õ»Õ¡Õ¯Õ¡ÕµÖ",base64:"base64 Õ±ÖÕ¡Õ¹Õ¡ÖÕ¸Õ¾ Õ¿Õ¸Õ²",base64url:"base64url Õ±ÖÕ¡Õ¹Õ¡ÖÕ¸Õ¾ Õ¿Õ¸Õ²",json_string:"JSON Õ¿Õ¸Õ²",e164:"E.164 Õ°Õ¡Õ´Õ¡Ö",jwt:"JWT",template_literal:"Õ´Õ¸ÖÕ¿Ö"},r={nan:"NaN",number:"Õ©Õ«Õ¾",array:"Õ¦Õ¡Õ¶Õ£Õ¾Õ¡Õ®"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`ÕÕÕ¡Õ¬ Õ´Õ¸ÖÕ¿ÖÕ¡Õ£ÖÕ¸Öմ⤠սպասվոÖÕ´ Õ§Ö instanceof ${n.expected}, Õ½Õ¿Õ¡ÖÕ¾Õ¥Õ¬ Õ§ ${i}`;return`ÕÕÕ¡Õ¬ Õ´Õ¸ÖÕ¿ÖÕ¡Õ£ÖÕ¸Öմ⤠սպասվոÖÕ´ Õ§Ö ${e}, Õ½Õ¿Õ¡ÖÕ¾Õ¥Õ¬ Õ§ ${i}`}case"invalid_value":if(1===n.values.length)return`ÕÕÕ¡Õ¬ Õ´Õ¸ÖÕ¿ÖÕ¡Õ£ÖÕ¸Öմ⤠սպասվոÖÕ´ Õ§Ö ${en(n.values[1])}`;return`ÕÕÕ¡Õ¬ Õ¿Õ¡ÖÕ¢Õ¥Öակ⤠սպասվոÖÕ´ Õ§Ö Õ°Õ¥Õ¿ÖÕµÕ¡Õ¬Õ¶Õ¥ÖÕ«Ö Õ´Õ¥Õ¯Õ¨Õ ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r){let e=io(Number(n.maximum),r.unit.one,r.unit.many);return`ÕÕ¡ÖÕ¡Õ¦Õ¡Õ¶Ö Õ´Õ¥Õ® Õ¡ÖÕªÕ¥Ö⤠սպասվոÖÕ´ Õ§, Õ¸Ö ${il(n.origin??"Õ¡ÖÕªÕ¥Ö")} Õ¯Õ¸ÖÕ¶Õ¥Õ¶Õ¡ ${t}${n.maximum.toString()} ${e}`}return`ÕÕ¡ÖÕ¡Õ¦Õ¡Õ¶Ö Õ´Õ¥Õ® Õ¡ÖÕªÕ¥Ö⤠սպասվոÖÕ´ Õ§, Õ¸Ö ${il(n.origin??"Õ¡ÖÕªÕ¥Ö")} Õ¬Õ«Õ¶Õ« ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r){let e=io(Number(n.minimum),r.unit.one,r.unit.many);return`ÕÕ¡ÖÕ¡Õ¦Õ¡Õ¶Ö ÖÕ¸ÖÖ Õ¡ÖÕªÕ¥Ö⤠սպասվոÖÕ´ Õ§, Õ¸Ö ${il(n.origin)} Õ¯Õ¸ÖÕ¶Õ¥Õ¶Õ¡ ${t}${n.minimum.toString()} ${e}`}return`ÕÕ¡ÖÕ¡Õ¦Õ¡Õ¶Ö ÖÕ¸ÖÖ Õ¡ÖÕªÕ¥Ö⤠սպասվոÖÕ´ Õ§, Õ¸Ö ${il(n.origin)} Õ¬Õ«Õ¶Õ« ${t}${n.minimum.toString()}`}
35case"invalid_format":if("starts_with"===n.format)return`ÕÕÕ¡Õ¬ Õ¿Õ¸Õ²â¤ ÕºÕ¥Õ¿Ö Õ§ Õ½Õ¯Õ½Õ¾Õ« "${n.prefix}"-Õ¸Õ¾`;if("ends_with"===n.format)return`ÕÕÕ¡Õ¬ Õ¿Õ¸Õ²â¤ ÕºÕ¥Õ¿Ö Õ§ Õ¡Õ¾Õ¡ÖÕ¿Õ¾Õ« "${n.suffix}"-Õ¸Õ¾`;if("includes"===n.format)return`ÕÕÕ¡Õ¬ Õ¿Õ¸Õ²â¤ ÕºÕ¥Õ¿Ö Õ§ ÕºÕ¡ÖÕ¸ÖÕ¶Õ¡Õ¯Õ« "${n.includes}"`;if("regex"===n.format)return`ÕÕÕ¡Õ¬ Õ¿Õ¸Õ²â¤ ÕºÕ¥Õ¿Ö Õ§ Õ°Õ¡Õ´Õ¡ÕºÕ¡Õ¿Õ¡Õ½ÕÕ¡Õ¶Õ« ${n.pattern} Õ±ÖÕ¡Õ¹Õ¡ÖÕ«Õ¶`;return`ÕÕÕ¡Õ¬ ${t[n.format]??n.format}`;case"not_multiple_of":return`ÕÕÕ¡Õ¬ Õ©Õ«Õ¾â¤ ÕºÕ¥Õ¿Ö Õ§ Õ¢Õ¡Õ¦Õ´Õ¡ÕºÕ¡Õ¿Õ«Õ¯ Õ¬Õ«Õ¶Õ« ${n.divisor}-Õ«`;case"unrecognized_keys":return`ÕÕ³Õ¡Õ¶Õ¡Õ¹Õ¾Õ¡Õ® Õ¢Õ¡Õ¶Õ¡Õ¬Õ«${n.keys.length>1?"Õ¶Õ¥Ö":""}. ${S(n.keys,", ")}`;case"invalid_key":return`ÕÕÕ¡Õ¬ Õ¢Õ¡Õ¶Õ¡Õ¬Õ« ${il(n.origin)}-Õ¸ÖÕ´`;case"invalid_union":default:return"ÕÕÕ¡Õ¬ Õ´Õ¸ÖÕ¿ÖÕ¡Õ£ÖÕ¸ÖÕ´";case"invalid_element":return`ÕÕÕ¡Õ¬ Õ¡ÖÕªÕ¥Ö ${il(n.origin)}-Õ¸ÖÕ´`}})}}function ic(){let e,t,r;return{localeError:(e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}},t={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",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",jwt:"JWT",template_literal:"input"},r={nan:"NaN"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Input tidak valid: diharapkan instanceof ${n.expected}, diterima ${i}`;return`Input tidak valid: diharapkan ${e}, diterima ${i}`}case"invalid_value":if(1===n.values.length)return`Input tidak valid: diharapkan ${en(n.values[0])}`;return`Pilihan tidak valid: diharapkan salah satu dari ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Terlalu besar: diharapkan ${n.origin??"value"} memiliki ${t}${n.maximum.toString()} ${r.unit??"elemen"}`;return`Terlalu besar: diharapkan ${n.origin??"value"} menjadi ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Terlalu kecil: diharapkan ${n.origin} memiliki ${t}${n.minimum.toString()} ${r.unit}`;return`Terlalu kecil: diharapkan ${n.origin} menjadi ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`String tidak valid: harus dimulai dengan "${n.prefix}"`;if("ends_with"===n.format)return`String tidak valid: harus berakhir dengan "${n.suffix}"`;if("includes"===n.format)return`String tidak valid: harus menyertakan "${n.includes}"`;if("regex"===n.format)return`String tidak valid: harus sesuai pola ${n.pattern}`;return`${t[n.format]??n.format} tidak valid`;case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${n.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${n.keys.length>1?"s":""}: ${S(n.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${n.origin}`;case"invalid_union":default:return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${n.origin}`}})}}function id(){let e,t,r;return{localeError:(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"}},t={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",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 t\xf6lugildi",jwt:"JWT",template_literal:"gildi"},r={nan:"NaN",number:"n\xfamer",array:"fylki"},n=>
35{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Rangt gildi: \xde\xfa sl\xf3st inn ${i} \xfear sem \xe1 a\xf0 vera instanceof ${n.expected}`;return`Rangt gildi: \xde\xfa sl\xf3st inn ${i} \xfear sem \xe1 a\xf0 vera ${e}`}case"invalid_value":if(1===n.values.length)return`Rangt gildi: gert r\xe1\xf0 fyrir ${en(n.values[0])}`;return`\xd3gilt val: m\xe1 vera eitt af eftirfarandi ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Of st\xf3rt: gert er r\xe1\xf0 fyrir a\xf0 ${n.origin??"gildi"} hafi ${t}${n.maximum.toString()} ${r.unit??"hluti"}`;return`Of st\xf3rt: gert er r\xe1\xf0 fyrir a\xf0 ${n.origin??"gildi"} s\xe9 ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Of l\xedti\xf0: gert er r\xe1\xf0 fyrir a\xf0 ${n.origin} hafi ${t}${n.minimum.toString()} ${r.unit}`;return`Of l\xedti\xf0: gert er r\xe1\xf0 fyrir a\xf0 ${n.origin} s\xe9 ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`\xd3gildur strengur: ver\xf0ur a\xf0 byrja \xe1 "${n.prefix}"`;if("ends_with"===n.format)return`\xd3gildur strengur: ver\xf0ur a\xf0 enda \xe1 "${n.suffix}"`;if("includes"===n.format)return`\xd3gildur strengur: ver\xf0ur a\xf0 innihalda "${n.includes}"`;if("regex"===n.format)return`\xd3gildur strengur: ver\xf0ur a\xf0 fylgja mynstri ${n.pattern}`;return`Rangt ${t[n.format]??n.format}`;case"not_multiple_of":return`R\xf6ng tala: ver\xf0ur a\xf0 vera margfeldi af ${n.divisor}`;case"unrecognized_keys":return`\xd3\xfeekkt ${n.keys.length>1?"ir lyklar":"ur lykill"}: ${S(n.keys,", ")}`;case"invalid_key":return`Rangur lykill \xed ${n.origin}`;case"invalid_union":default:return"Rangt gildi";case"invalid_element":return`Rangt gildi \xed ${n.origin}`}})}}function im(){let e,t,r;return{localeError:(e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}},t={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},r={nan:"NaN",number:"numero",array:"vettore"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Input non valido: atteso instanceof ${n.expected}, ricevuto ${i}`;return`Input non valido: atteso ${e}, ricevuto ${i}`}case"invalid_value":if(1===n.values.length)return`Input non valido: atteso ${en(n.values[0])}`;return`Opzione non valida: atteso uno tra ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Troppo grande: ${n.origin??"valore"} deve avere ${t}${n.maximum.toString()} ${r.unit??"elementi"}`;return`Troppo grande: ${n.origin??"valore"} deve essere ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Troppo piccolo: ${n.origin} deve avere ${t}${n.minimum.toString()} ${r.unit}`;return`Troppo piccolo: ${n.origin} deve essere ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Stringa non valida: deve iniziare con "${n.prefix}"`;if("ends_with"===n.format)return`Stringa non valida: deve terminare con "${n.suffix}"`;if("includes"===n.format)return`Stringa non valida: deve includere "${n.includes}"`;if("regex"===n.format)return`Stringa non valida: deve corrispondere al pattern ${n.pattern}`;return`Invalid ${t[n.format]??n.format}`;case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${n.divisor}`;case"unrecognized_keys":return`Chiav${n.keys.length>1?"i":"e"} non riconosciut${n.keys.length>1?"e":"a"}: ${S(n.keys,", ")}`;
35case"invalid_key":return`Chiave non valida in ${n.origin}`;case"invalid_union":default:return"Input non valido";case"invalid_element":return`Valore non valido in ${n.origin}`}})}}function ip(){let e,t,r;return{localeError:(e={string:{unit:"æå",verb:"ã§ãã"},file:{unit:"ãã¤ã",verb:"ã§ãã"},array:{unit:"è¦ç´ ",verb:"ã§ãã"},set:{unit:"è¦ç´ ",verb:"ã§ãã"}},t={regex:"å
¥åå¤",email:"ã¡ã¼ã«ã¢ãã¬ã¹",url:"URL",emoji:"çµµæå",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISOæ¥æ",date:"ISOæ¥ä»",time:"ISOæå»",duration:"ISOæé",ipv4:"IPv4ã¢ãã¬ã¹",ipv6:"IPv6ã¢ãã¬ã¹",cidrv4:"IPv4ç¯å²",cidrv6:"IPv6ç¯å²",base64:"base64ã¨ã³ã³ã¼ãæåå",base64url:"base64urlã¨ã³ã³ã¼ãæåå",json_string:"JSONæåå",e164:"E.164çªå·",jwt:"JWT",template_literal:"å
¥åå¤"},r={nan:"NaN",number:"æ°å¤",array:"é
å"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`ç¡å¹ãªå
¥å: instanceof ${n.expected}ãæå¾
ããã¾ãããã${i}ãå
¥åããã¾ãã`;return`ç¡å¹ãªå
¥å: ${e}ãæå¾
ããã¾ãããã${i}ãå
¥åããã¾ãã`}case"invalid_value":if(1===n.values.length)return`ç¡å¹ãªå
¥å: ${en(n.values[0])}ãæå¾
ããã¾ãã`;return`ç¡å¹ãªé¸æ: ${S(n.values,"ã")}ã®ããããã§ããå¿
è¦ãããã¾ã`;case"too_big":{let t=n.inclusive?"以ä¸ã§ãã":"ããå°ãã",r=e[n.origin]??null;if(r)return`大ããããå¤: ${n.origin??"å¤"}ã¯${n.maximum.toString()}${r.unit??"è¦ç´ "}${t}å¿
è¦ãããã¾ã`;return`大ããããå¤: ${n.origin??"å¤"}ã¯${n.maximum.toString()}${t}å¿
è¦ãããã¾ã`}case"too_small":{let t=n.inclusive?"以ä¸ã§ãã":"ãã大ãã",r=e[n.origin]??null;if(r)return`å°ããããå¤: ${n.origin}ã¯${n.minimum.toString()}${r.unit}${t}å¿
è¦ãããã¾ã`;return`å°ããããå¤: ${n.origin}ã¯${n.minimum.toString()}${t}å¿
è¦ãããã¾ã`}case"invalid_format":if("starts_with"===n.format)return`ç¡å¹ãªæåå: "${n.prefix}"ã§å§ã¾ãå¿
è¦ãããã¾ã`;if("ends_with"===n.format)return`ç¡å¹ãªæåå: "${n.suffix}"ã§çµããå¿
è¦ãããã¾ã`;if("includes"===n.format)return`ç¡å¹ãªæåå: "${n.includes}"ãå«ãå¿
è¦ãããã¾ã`;if("regex"===n.format)return`ç¡å¹ãªæåå: ãã¿ã¼ã³${n.pattern}ã«ä¸è´ããå¿
è¦ãããã¾ã`;return`ç¡å¹ãª${t[n.format]??n.format}`;case"not_multiple_of":return`ç¡å¹ãªæ°å¤: ${n.divisor}ã®åæ°ã§ããå¿
è¦ãããã¾ã`;case"unrecognized_keys":return`èªèããã¦ããªããã¼${n.keys.length>1?"群":""}: ${S(n.keys,"ã")}`;case"invalid_key":return`${n.origin}å
ã®ç¡å¹ãªãã¼`;case"invalid_union":default:return"ç¡å¹ãªå
¥å";case"invalid_element":return`${n.origin}å
ã®ç¡å¹ãªå¤`}})}}function ih(){let e,t,r;return{localeError:(e={string:{unit:"á¡áááááá",verb:"á£ááá á¨áááªááááá¡"},file:{unit:"áááá¢á",verb:"á£ááá á¨áááªááááá¡"},array:{unit:"ááááááá¢á",verb:"á£ááá á¨áááªááááá¡"},set:{unit:"ááááááá¢á",verb:"á£ááá á¨áááªááááá¡"}},t={regex:"á¨áá§áááá",email:"áá-á¤áá¡á¢áá¡ ááá¡áááá áá",url:"URL",emoji:"áááá¯á",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ááá áá¦á-áá á",date:"ááá áá¦á",time:"áá á",duration:"á®áááá á«áááááá",ipv4:"IPv4 ááá¡áááá áá",ipv6:"IPv6 ááá¡áááá áá",cidrv4:"IPv4 ááááááááá",cidrv6:"IPv6 ááááááááá",base64:"base64-ááááá ááá£áá á¡á¢á áááá",base64url:"base64url-ááááá ááá£áá á¡á¢á áááá",json_string:"JSON á¡á¢á áááá",e164:"E.164 ááááá á",jwt:"JWT",template_literal:"á¨áá§áááá"},r={nan:"NaN",number:"á ááªá®áá",string:"á¡á¢á áááá",boolean:"áá£ááááá",function:"á¤á£áá¥áªáá",array:"ááá¡ááá"},n=>
35{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`áá áá¡á¬áá á á¨áá§áááá: ááá¡áááááááá instanceof ${n.expected}, ááá¦ááá£áá ${i}`;return`áá áá¡á¬áá á á¨áá§áááá: ááá¡áááááááá ${e}, ááá¦ááá£áá ${i}`}case"invalid_value":if(1===n.values.length)return`áá áá¡á¬áá á á¨áá§áááá: ááá¡áááááááá ${en(n.values[0])}`;return`áá áá¡á¬áá á ááá áááá¢á: ááá¡ááááááááá áá á-áá áá ${S(n.values,"|")}-ááá`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`áááááá¢áá áááá: ááá¡áááááááá ${n.origin??"áááá¨ááááááá"} ${r.verb} ${t}${n.maximum.toString()} ${r.unit}`;return`áááááá¢áá áááá: ááá¡áááááááá ${n.origin??"áááá¨ááááááá"} áá§áá¡ ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`áááááá¢áá ááá¢áá á: ááá¡áááááááá ${n.origin} ${r.verb} ${t}${n.minimum.toString()} ${r.unit}`;return`áááááá¢áá ááá¢áá á: ááá¡áááááááá ${n.origin} áá§áá¡ ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`áá áá¡á¬áá á á¡á¢á áááá: á£ááá áá¬á§áááááá¡ "${n.prefix}"-áá`;if("ends_with"===n.format)return`áá áá¡á¬áá á á¡á¢á áááá: á£ááá ááááá ááááááá¡ "${n.suffix}"-áá`;if("includes"===n.format)return`áá áá¡á¬áá á á¡á¢á áááá: á£ááá á¨áááªááááá¡ "${n.includes}"-á¡`;if("regex"===n.format)return`áá áá¡á¬áá á á¡á¢á áááá: á£ááá á¨ááá¡áááááááááá¡ á¨áááááá¡ ${n.pattern}`;return`áá áá¡á¬áá á ${t[n.format]??n.format}`;case"not_multiple_of":return`áá áá¡á¬áá á á ááªá®áá: á£ááá áá§áá¡ ${n.divisor}-áá¡ á¯áá ááá`;case"unrecognized_keys":return`á£áªáááá ááá¡áá¦áá${n.keys.length>1?"ááá":"á"}: ${S(n.keys,", ")}`;case"invalid_key":return`áá áá¡á¬áá á ááá¡áá¦ááá ${n.origin}-á¨á`;case"invalid_union":default:return"áá áá¡á¬áá á á¨áá§áááá";case"invalid_element":return`áá áá¡á¬áá á áááá¨ááááááá ${n.origin}-á¨á`}})}}function ig(){let e,t,r;return{localeError:(e={string:{unit:"áá½á¢áááá",verb:"áá½ááá¶á"},file:{unit:"áá",verb:"áá½ááá¶á"},array:{unit:"áá¶áá»",verb:"áá½ááá¶á"},set:{unit:"áá¶áá»",verb:"áá½ááá¶á"}},t={regex:"áá·áááááááááá
á¼á",email:"á¢á¶áááááá¶áá¢áá¸ááá",url:"URL",emoji:"ááááá¶á¢á¶áááááá",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"áá¶áááá·á
áááá áá·ááááá ISO",date:"áá¶áááá·á
áááá ISO",time:"áááá ISO",duration:"áááááá ISO",ipv4:"á¢á¶áááááá¶á IPv4",ipv6:"á¢á¶áááááá¶á IPv6",cidrv4:"áááá¢á¶áááááá¶á IPv4",cidrv6:"áááá¢á¶áááááá¶á IPv6",base64:"ááááá¢ááááá¢áá·áá¼á base64",base64url:"ááááá¢ááááá¢áá·áá¼á base64url",json_string:"ááááá¢áááá JSON",e164:"ááá E.164",jwt:"JWT",template_literal:"áá·áááááááááá
á¼á"},r={nan:"NaN",number:"ááá",array:"á¢á¶áá (Array)",null:"áááá¶áááááá (null)"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`áá·áááááááááá
á¼ááá·ááááá¹ááááá¼áá áááá¼ááá¶á instanceof ${n.expected} ááá»ááááááá½ááá¶á ${i}`;return`áá·áááááááááá
á¼ááá·ááááá¹ááááá¼áá áááá¼ááá¶á ${e} ááá»ááááááá½ááá¶á ${i}`}
35case"invalid_value":if(1===n.values.length)return`áá·áááááááááá
á¼ááá·ááááá¹ááááá¼áá áááá¼ááá¶á ${en(n.values[0])}`;return`ááááá¾ááá·ááááá¹ááááá¼áá áááá¼ááá¶áá½ááááá»áá
áááá ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`áááááá áááá¼ááá¶á ${n.origin??"ááááá"} ${t} ${n.maximum.toString()} ${r.unit??"áá¶áá»"}`;return`áááááá áááá¼ááá¶á ${n.origin??"ááááá"} ${t} ${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`áá¼á
áááá áááá¼ááá¶á ${n.origin} ${t} ${n.minimum.toString()} ${r.unit}`;return`áá¼á
áááá áááá¼ááá¶á ${n.origin} ${t} ${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`ááááá¢áááááá·ááááá¹ááááá¼áá áááá¼áá
á¶áááááá¾áááá "${n.prefix}"`;if("ends_with"===n.format)return`ááááá¢áááááá·ááááá¹ááááá¼áá áááá¼ááááá
ááááá "${n.suffix}"`;if("includes"===n.format)return`ááááá¢áááááá·ááááá¹ááááá¼áá áááá¼ááá¶á "${n.includes}"`;if("regex"===n.format)return`ááááá¢áááááá·ááááá¹ááááá¼áá áááá¼ááááááá¼áááááá¹áááááááááááá¶áááááá ${n.pattern}`;return`áá·ááááá¹ááááá¼áá ${t[n.format]??n.format}`;case"not_multiple_of":return`ááááá·ááááá¹ááááá¼áá áááá¼ááááá¶áá á»áá»ááá ${n.divisor}`;case"unrecognized_keys":return`áááá¾ááááá·ááááá¶ááá ${S(n.keys,", ")}`;case"invalid_key":return`áááá·ááááá¹ááááá¼ááá
áááá»á ${n.origin}`;case"invalid_union":default:return"áá·áááááááá·ááááá¹ááááá¼á";case"invalid_element":return`áá·áááááááá·ááááá¹ááááá¼ááá
áááá»á ${n.origin}`}})}}function i_(){return ig()}function iv(){let e,t,r;return{localeError:(e={string:{unit:"문ì",verb:"to have"},file:{unit:"ë°ì´í¸",verb:"to have"},array:{unit:"ê°",verb:"to have"},set:{unit:"ê°",verb:"to have"}},t={regex:"ì
ë ¥",email:"ì´ë©ì¼ 주ì",url:"URL",emoji:"ì´ëª¨ì§",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ë ì§ìê°",date:"ISO ë ì§",time:"ISO ìê°",duration:"ISO 기ê°",ipv4:"IPv4 주ì",ipv6:"IPv6 주ì",cidrv4:"IPv4 ë²ì",cidrv6:"IPv6 ë²ì",base64:"base64 ì¸ì½ë© 문ìì´",base64url:"base64url ì¸ì½ë© 문ìì´",json_string:"JSON 문ìì´",e164:"E.164 ë²í¸",jwt:"JWT",template_literal:"ì
ë ¥"},r={nan:"NaN"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`ì못ë ì
ë ¥: ìì íì
ì instanceof ${n.expected}, ë°ì íì
ì ${i}ì
ëë¤`;return`ì못ë ì
ë ¥: ìì íì
ì ${e}, ë°ì íì
ì ${i}ì
ëë¤`}case"invalid_value":if(1===n.values.length)return`ì못ë ì
ë ¥: ê°ì ${en(n.values[0])} ì´ì´ì¼ í©ëë¤`;return`ì못ë ìµì
: ${S(n.values,"ëë ")} ì¤ íëì¬ì¼ í©ëë¤`;case"too_big":{let t=n.inclusive?"ì´í":"미ë§",r="미ë§"===t?"ì´ì´ì¼ í©ëë¤":"ì¬ì¼ í©ëë¤",i=e[n.origin]??null,a=i?.unit??"ìì";if(i)return`${n.origin??"ê°"}ì´ ë무 í½ëë¤: ${n.maximum.toString()}${a} ${t}${r}`;return`${n.origin??"ê°"}ì´ ë무 í½ëë¤: ${n.maximum.toString()} ${t}${r}`}case"too_small":{let t=n.inclusive?"ì´ì":"ì´ê³¼",r="ì´ì"===t?"ì´ì´ì¼ í©ëë¤":"ì¬ì¼ í©ëë¤",i=e[n.origin]??null,a=i?.unit??"ìì";if(i)return`${n.origin??"ê°"}ì´ ë무 ììµëë¤: ${n.minimum.toString()}${a} ${t}${r}`;return`${n.origin??"ê°"}ì´ ë무 ììµëë¤: ${n.minimum.toString()} ${t}${r}`}
35case"invalid_format":if("starts_with"===n.format)return`ì못ë 문ìì´: "${n.prefix}"(ì¼)ë¡ ììí´ì¼ í©ëë¤`;if("ends_with"===n.format)return`ì못ë 문ìì´: "${n.suffix}"(ì¼)ë¡ ëëì¼ í©ëë¤`;if("includes"===n.format)return`ì못ë 문ìì´: "${n.includes}"ì(를) í¬í¨í´ì¼ í©ëë¤`;if("regex"===n.format)return`ì못ë 문ìì´: ì ê·ì ${n.pattern} í¨í´ê³¼ ì¼ì¹í´ì¼ í©ëë¤`;return`ì못ë ${t[n.format]??n.format}`;case"not_multiple_of":return`ì못ë ì«ì: ${n.divisor}ì ë°°ìì¬ì¼ í©ëë¤`;case"unrecognized_keys":return`ì¸ìí ì ìë í¤: ${S(n.keys,", ")}`;case"invalid_key":return`ì못ë í¤: ${n.origin}`;case"invalid_union":default:return"ì못ë ì
ë ¥";case"invalid_element":return`ì못ë ê°: ${n.origin}`}})}}let iE=e=>e.charAt(0).toUpperCase()+e.slice(1);function iy(e){let t=Math.abs(e),r=t%10,n=t%100;return n>=11&&n<=19||0===r?"many":1===r?"one":"few"}function ib(){return{localeError:(()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi bÅ«ti ne ilgesnÄ kaip",notInclusive:"turi bÅ«ti trumpesnÄ kaip"},bigger:{inclusive:"turi bÅ«ti ne trumpesnÄ kaip",notInclusive:"turi bÅ«ti ilgesnÄ kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi bÅ«ti ne didesnis kaip",notInclusive:"turi bÅ«ti mažesnis kaip"},bigger:{inclusive:"turi bÅ«ti ne mažesnis kaip",notInclusive:"turi bÅ«ti didesnis kaip"}}},array:{unit:{one:"elementÄ
",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turÄti ne daugiau kaip",notInclusive:"turi turÄti mažiau kaip"},bigger:{inclusive:"turi turÄti ne mažiau kaip",notInclusive:"turi turÄti daugiau kaip"}}},set:{unit:{one:"elementÄ
",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turÄti ne daugiau kaip",notInclusive:"turi turÄti mažiau kaip"},bigger:{inclusive:"turi turÄti ne mažiau kaip",notInclusive:"turi turÄti daugiau kaip"}}}};function t(t,r,n,i){let a=e[t]??null;return null===a?a:{unit:a.unit[r],verb:a.verb[i][n?"inclusive":"notInclusive"]}}let r={regex:"įvestis",email:"el. paÅ¡to adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmÄ",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutÄ",base64url:"base64url užkoduota eilutÄ",json_string:"JSON eilutÄ",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},n={nan:"NaN",number:"skaiÄius",bigint:"sveikasis skaiÄius",string:"eilutÄ",boolean:"loginÄ reikÅ¡mÄ",undefined:"neapibrÄžta reikÅ¡mÄ",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinÄ reikÅ¡mÄ"};return e=>{switch(e.code){case"invalid_type":{let t=n[e.expected]??e.expected,r=ey(e.input),i=n[r]??r;if(/^[A-Z]/.test(e.expected))return`Gautas tipas ${i}, o tikÄtasi - instanceof ${e.expected}`;return`Gautas tipas ${i}, o tikÄtasi - ${t}`}case"invalid_value":if(1===e.values.length)return`Privalo bÅ«ti ${en(e.values[0])}`;return`Privalo bÅ«ti vienas iÅ¡ ${S(e.values,"|")} pasirinkimų`;case"too_big":{let r=n[e.origin]??e.origin,i=t(e.origin,iy(Number(e.maximum)),e.inclusive??!1,"smaller");if(i?.verb)return`${iE(r??e.origin??"reikÅ¡mÄ")} ${i.verb} ${e.maximum.toString()} ${i.unit??"elementų"}`;let a=e.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${iE(r??e.origin??"reikÅ¡mÄ")} turi bÅ«ti ${a} ${e.maximum.toString()} ${i?.unit}`}case"too_small":{let r=n[e.origin]??e.origin,i=t(e.origin,iy(Number(e.minimum)),e.inclusive??!1,"bigger");if(i?.verb)return`${iE(r??e.origin??"reikÅ¡mÄ")} ${i.verb} ${e.minimum.toString()} ${i.unit??"elementų"}`;let a=e.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${iE(r??e.origin??"reikÅ¡mÄ")} turi bÅ«ti ${a} ${e.minimum.toString()} ${i?.unit}`}case"invalid_format":if("starts_with"===e.format)return`EilutÄ privalo prasidÄti "${e.prefix}"`;if("ends_with"===e.format)return`EilutÄ privalo pasibaigti "${e.suffix}"`;if("includes"===e.format)return`EilutÄ privalo įtraukti "${e.includes}"`;if("regex"===e.format)return`EilutÄ privalo atitikti ${e.pattern}`;return`Neteisingas ${r[e.format]??e.format}`;case"not_multiple_of":return`SkaiÄius privalo bÅ«ti ${e.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${e.keys.length>1?"i":"as"} rakt${e.keys.length>1?"ai":"as"}: ${S(e.keys,", ")}`;
35case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":default:return"Klaidinga įvestis";case"invalid_element":{let t=n[e.origin]??e.origin;return`${iE(t??e.origin??"reikÅ¡mÄ")} turi klaidingÄ
įvestį`}}}})()}}function iT(){let e,t,r;return{localeError:(e={string:{unit:"знаÑи",verb:"да имааÑ"},file:{unit:"баÑÑи",verb:"да имааÑ"},array:{unit:"ÑÑавки",verb:"да имааÑ"},set:{unit:"ÑÑавки",verb:"да имааÑ"}},t={regex:"внеÑ",email:"адÑеÑа на е-поÑÑа",url:"URL",emoji:"емоÑи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO даÑÑм и вÑеме",date:"ISO даÑÑм",time:"ISO вÑеме",duration:"ISO вÑемеÑÑаеÑе",ipv4:"IPv4 адÑеÑа",ipv6:"IPv6 адÑеÑа",cidrv4:"IPv4 опÑег",cidrv6:"IPv6 опÑег",base64:"base64-енкодиÑана низа",base64url:"base64url-енкодиÑана низа",json_string:"JSON низа",e164:"E.164 бÑоÑ",jwt:"JWT",template_literal:"внеÑ"},r={nan:"NaN",number:"бÑоÑ",array:"низа"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`ÐÑеÑен внеÑ: Ñе оÑекÑва instanceof ${n.expected}, пÑимено ${i}`;return`ÐÑеÑен внеÑ: Ñе оÑекÑва ${e}, пÑимено ${i}`}case"invalid_value":if(1===n.values.length)return`Invalid input: expected ${en(n.values[0])}`;return`ÐÑеÑана опÑиÑа: Ñе оÑекÑва една ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`ÐÑÐµÐ¼Ð½Ð¾Ð³Ñ Ð³Ð¾Ð»ÐµÐ¼: Ñе оÑекÑва ${n.origin??"вÑедноÑÑа"} да има ${t}${n.maximum.toString()} ${r.unit??"елеменÑи"}`;return`ÐÑÐµÐ¼Ð½Ð¾Ð³Ñ Ð³Ð¾Ð»ÐµÐ¼: Ñе оÑекÑва ${n.origin??"вÑедноÑÑа"} да биде ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`ÐÑÐµÐ¼Ð½Ð¾Ð³Ñ Ð¼Ð°Ð»: Ñе оÑекÑва ${n.origin} да има ${t}${n.minimum.toString()} ${r.unit}`;return`ÐÑÐµÐ¼Ð½Ð¾Ð³Ñ Ð¼Ð°Ð»: Ñе оÑекÑва ${n.origin} да биде ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`ÐеважеÑка низа: моÑа да запоÑнÑва Ñо "${n.prefix}"`;if("ends_with"===n.format)return`ÐеважеÑка низа: моÑа да завÑÑÑва Ñо "${n.suffix}"`;if("includes"===n.format)return`ÐеважеÑка низа: моÑа да вклÑÑÑва "${n.includes}"`;if("regex"===n.format)return`ÐеважеÑка низа: моÑа да одгоаÑа на паÑеÑÐ½Ð¾Ñ ${n.pattern}`;return`Invalid ${t[n.format]??n.format}`;case"not_multiple_of":return`ÐÑеÑен бÑоÑ: моÑа да биде делив Ñо ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"ÐепÑепознаени клÑÑеви":"ÐепÑепознаен клÑÑ"}: ${S(n.keys,", ")}`;case"invalid_key":return`ÐÑеÑен клÑÑ Ð²Ð¾ ${n.origin}`;case"invalid_union":default:return"ÐÑеÑен внеÑ";case"invalid_element":return`ÐÑеÑна вÑедноÑÑ Ð²Ð¾ ${n.origin}`}})}}function ik(){let e,t,r;return{localeError:(e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}},t={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},r={nan:"NaN",number:"nombor"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Input tidak sah: dijangka instanceof ${n.expected}, diterima ${i}`;return`Input tidak sah: dijangka ${e}, diterima ${i}`}
35case"invalid_value":if(1===n.values.length)return`Input tidak sah: dijangka ${en(n.values[0])}`;return`Pilihan tidak sah: dijangka salah satu daripada ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Terlalu besar: dijangka ${n.origin??"nilai"} ${r.verb} ${t}${n.maximum.toString()} ${r.unit??"elemen"}`;return`Terlalu besar: dijangka ${n.origin??"nilai"} adalah ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Terlalu kecil: dijangka ${n.origin} ${r.verb} ${t}${n.minimum.toString()} ${r.unit}`;return`Terlalu kecil: dijangka ${n.origin} adalah ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`String tidak sah: mesti bermula dengan "${n.prefix}"`;if("ends_with"===n.format)return`String tidak sah: mesti berakhir dengan "${n.suffix}"`;if("includes"===n.format)return`String tidak sah: mesti mengandungi "${n.includes}"`;if("regex"===n.format)return`String tidak sah: mesti sepadan dengan corak ${n.pattern}`;return`${t[n.format]??n.format} tidak sah`;case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${n.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${S(n.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${n.origin}`;case"invalid_union":default:return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${n.origin}`}})}}function ix(){let e,t,r;return{localeError:(e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}},t={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},r={nan:"NaN",number:"getal"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Ongeldige invoer: verwacht instanceof ${n.expected}, ontving ${i}`;return`Ongeldige invoer: verwacht ${e}, ontving ${i}`}case"invalid_value":if(1===n.values.length)return`Ongeldige invoer: verwacht ${en(n.values[0])}`;return`Ongeldige optie: verwacht \xe9\xe9n van ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null,i="date"===n.origin?"laat":"string"===n.origin?"lang":"groot";if(r)return`Te ${i}: verwacht dat ${n.origin??"waarde"} ${t}${n.maximum.toString()} ${r.unit??"elementen"} ${r.verb}`;return`Te ${i}: verwacht dat ${n.origin??"waarde"} ${t}${n.maximum.toString()} is`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null,i="date"===n.origin?"vroeg":"string"===n.origin?"kort":"klein";if(r)return`Te ${i}: verwacht dat ${n.origin} ${t}${n.minimum.toString()} ${r.unit} ${r.verb}`;return`Te ${i}: verwacht dat ${n.origin} ${t}${n.minimum.toString()} is`}case"invalid_format":if("starts_with"===n.format)return`Ongeldige tekst: moet met "${n.prefix}" beginnen`;if("ends_with"===n.format)return`Ongeldige tekst: moet op "${n.suffix}" eindigen`;if("includes"===n.format)return`Ongeldige tekst: moet "${n.includes}" bevatten`;if("regex"===n.format)return`Ongeldige tekst: moet overeenkomen met patroon ${n.pattern}`;return`Ongeldig: ${t[n.format]??n.format}`;case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${n.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${n.keys.length>1?"s":""}: ${S(n.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${n.origin}`;case"invalid_union":default:return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${n.origin}`}})}}function iA(){let e,t,r;return{localeError:(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"}},t={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-omr\xe5de",ipv6:"IPv6-omr\xe5de",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},r={nan:"NaN",number:"tall",array:"liste"},n=>
35{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Ugyldig input: forventet instanceof ${n.expected}, fikk ${i}`;return`Ugyldig input: forventet ${e}, fikk ${i}`}case"invalid_value":if(1===n.values.length)return`Ugyldig verdi: forventet ${en(n.values[0])}`;return`Ugyldig valg: forventet en av ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`For stor(t): forventet ${n.origin??"value"} til \xe5 ha ${t}${n.maximum.toString()} ${r.unit??"elementer"}`;return`For stor(t): forventet ${n.origin??"value"} til \xe5 ha ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`For lite(n): forventet ${n.origin} til \xe5 ha ${t}${n.minimum.toString()} ${r.unit}`;return`For lite(n): forventet ${n.origin} til \xe5 ha ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Ugyldig streng: m\xe5 starte med "${n.prefix}"`;if("ends_with"===n.format)return`Ugyldig streng: m\xe5 ende med "${n.suffix}"`;if("includes"===n.format)return`Ugyldig streng: m\xe5 inneholde "${n.includes}"`;if("regex"===n.format)return`Ugyldig streng: m\xe5 matche m\xf8nsteret ${n.pattern}`;return`Ugyldig ${t[n.format]??n.format}`;case"not_multiple_of":return`Ugyldig tall: m\xe5 v\xe6re et multiplum av ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"Ukjente n\xf8kler":"Ukjent n\xf8kkel"}: ${S(n.keys,", ")}`;case"invalid_key":return`Ugyldig n\xf8kkel i ${n.origin}`;case"invalid_union":default:return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${n.origin}`}})}}function iI(){let e,t,r;return{localeError:(e={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}},t={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ı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO m\xfcddeti",ipv4:"IPv4 niÅ\xe2nı",ipv6:"IPv6 niÅ\xe2nı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-Åifreli metin",base64url:"base64url-Åifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},r={nan:"NaN",number:"numara",array:"saf",null:"gayb"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`F\xe2sit giren: umulan instanceof ${n.expected}, alınan ${i}`;return`F\xe2sit giren: umulan ${e}, alınan ${i}`}case"invalid_value":if(1===n.values.length)return`F\xe2sit giren: umulan ${en(n.values[0])}`;return`F\xe2sit tercih: m\xfbteberler ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Fazla b\xfcy\xfck: ${n.origin??"value"}, ${t}${n.maximum.toString()} ${r.unit??"elements"} sahip olmalıydı.`;return`Fazla b\xfcy\xfck: ${n.origin??"value"}, ${t}${n.maximum.toString()} olmalıydı.`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Fazla k\xfc\xe7\xfck: ${n.origin}, ${t}${n.minimum.toString()} ${r.unit} sahip olmalıydı.`;return`Fazla k\xfc\xe7\xfck: ${n.origin}, ${t}${n.minimum.toString()} olmalıydı.`}case"invalid_format":if("starts_with"===n.format)return`F\xe2sit metin: "${n.prefix}" ile baÅlamalı.`;if("ends_with"===n.format)return`F\xe2sit metin: "${n.suffix}" ile bitmeli.`;if("includes"===n.format)return`F\xe2sit metin: "${n.includes}" ihtiv\xe2 etmeli.`;if("regex"===n.format)return`F\xe2sit metin: ${n.pattern} nakÅına uymalı.`;return`F\xe2sit ${t[n.format]??n.format}`;case"not_multiple_of":return`F\xe2sit sayı: ${n.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${n.keys.length>1?"s":""}: ${S(n.keys,", ")}`;case"invalid_key":return`${n.origin} i\xe7in tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${n.origin} i\xe7in tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}})}}function iS(){let e,t,r;return{localeError:(e={string:{unit:"تÙÚ©Ù",verb:"ÙÙØ±Ù"},file:{unit:"باÛټس",verb:"ÙÙØ±Ù"},array:{unit:"تÙÚ©Ù",verb:"ÙÙØ±Ù"},set:{unit:"تÙÚ©Ù",verb:"ÙÙØ±Ù"}},t={regex:"ÙØ±ÙدÙ",email:"برÛÚÙØ§ÙÛÚ©",url:"Û٠آر اÙ",emoji:"اÛÙ
ÙØ¬Ù",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ÙÛÙ¼Ù Ø§Ù ÙØ®Øª",date:"ÙÛÙ¼Ù",t
35ime:"ÙØ®Øª",duration:"Ù
ÙØ¯Ù",ipv4:"د IPv4 پتÙ",ipv6:"د IPv6 پتÙ",cidrv4:"د IPv4 ساØÙ",cidrv6:"د IPv6 ساØÙ",base64:"base64-encoded Ù
تÙ",base64url:"base64url-encoded Ù
تÙ",json_string:"JSON Ù
تÙ",e164:"د E.164 Ø´Ù
ÛØ±Ù",jwt:"JWT",template_literal:"ÙØ±ÙدÙ"},r={nan:"NaN",number:"عدد",array:"ارÛ"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`ÙØ§Ø³Ù
ÙØ±ÙدÙ: Ø¨Ø§ÛØ¯ instanceof ${n.expected} ÙØ§Û, Ù
ګر ${i} ØªØ±ÙØ§Ø³Ù Ø´Ù`;return`ÙØ§Ø³Ù
ÙØ±ÙدÙ: Ø¨Ø§ÛØ¯ ${e} ÙØ§Û, Ù
ګر ${i} ØªØ±ÙØ§Ø³Ù Ø´Ù`}case"invalid_value":if(1===n.values.length)return`ÙØ§Ø³Ù
ÙØ±ÙدÙ: Ø¨Ø§ÛØ¯ ${en(n.values[0])} ÙØ§Û`;return`ÙØ§Ø³Ù
Ø§ÙØªØ®Ø§Ø¨: Ø¨Ø§ÛØ¯ ÛÙ ÙÙ ${S(n.values,"|")} Ú
Ø®Ù ÙØ§Û`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`ÚÛØ± ÙÙÛ: ${n.origin??"Ø§Ø±Ø²ÚØª"} Ø¨Ø§ÛØ¯ ${t}${n.maximum.toString()} ${r.unit??"Ø¹ÙØµØ±ÙÙÙ"} ÙÙØ±Ù`;return`ÚÛØ± ÙÙÛ: ${n.origin??"Ø§Ø±Ø²ÚØª"} Ø¨Ø§ÛØ¯ ${t}${n.maximum.toString()} ÙÙ`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`ÚÛØ± Ú©ÙÚÙÛ: ${n.origin} Ø¨Ø§ÛØ¯ ${t}${n.minimum.toString()} ${r.unit} ÙÙØ±Ù`;return`ÚÛØ± Ú©ÙÚÙÛ: ${n.origin} Ø¨Ø§ÛØ¯ ${t}${n.minimum.toString()} ÙÙ`}case"invalid_format":if("starts_with"===n.format)return`ÙØ§Ø³Ù
Ù
تÙ: Ø¨Ø§ÛØ¯ د "${n.prefix}" سر٠پÛÙ Ø´Ù`;if("ends_with"===n.format)return`ÙØ§Ø³Ù
Ù
تÙ: Ø¨Ø§ÛØ¯ د "${n.suffix}" Ø³Ø±Ù Ù¾Ø§Û ØªÙ ÙØ±Ø³ÙÚÙ`;if("includes"===n.format)return`ÙØ§Ø³Ù
Ù
تÙ: Ø¨Ø§ÛØ¯ "${n.includes}" ÙÙØ±Ù`;if("regex"===n.format)return`ÙØ§Ø³Ù
Ù
تÙ: Ø¨Ø§ÛØ¯ د ${n.pattern} سر٠Ù
Ø·Ø§Ø¨ÙØª ÙÙØ±Ù`;return`${t[n.format]??n.format} ÙØ§Ø³Ù
دÛ`;case"not_multiple_of":return`ÙØ§Ø³Ù
عدد: Ø¨Ø§ÛØ¯ د ${n.divisor} Ù
ضرب ÙÙ`;case"unrecognized_keys":return`ÙØ§Ø³Ù
${n.keys.length>1?"Ú©ÙÛÚÙÙÙ":"Ú©ÙÛÚ"}: ${S(n.keys,", ")}`;case"invalid_key":return`ÙØ§Ø³Ù
Ú©ÙÛÚ Ù¾Ù ${n.origin} Ú©Û`;case"invalid_union":default:return"ÙØ§Ø³Ù
Ù ÙØ±ÙدÙ";case"invalid_element":return`ÙØ§Ø³Ù
Ø¹ÙØµØ± Ù¾Ù ${n.origin} Ú©Û`}})}}function iN(){let e,t,r;return{localeError:(e={string:{unit:"znak\xf3w",verb:"mieÄ"},file:{unit:"bajt\xf3w",verb:"mieÄ"},array:{unit:"element\xf3w",verb:"mieÄ"},set:{unit:"element\xf3w",verb:"mieÄ"}},t={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciÄ
g znak\xf3w zakodowany w formacie base64",base64url:"ciÄ
g znak\xf3w zakodowany w formacie base64url",json_string:"ciÄ
g znak\xf3w w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejÅcie"},r={nan:"NaN",number:"liczba",array:"tablica"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`NieprawidÅowe dane wejÅciowe: oczekiwano instanceof ${n.expected}, otrzymano ${i}`;return`NieprawidÅowe dane wejÅciowe: oczekiwano ${e}, otrzymano ${i}`}case"invalid_value":if(1===n.values.length)return`NieprawidÅowe dane wejÅciowe: oczekiwano ${en(n.values[0])}`;return`NieprawidÅowa opcja: oczekiwano jednej z wartoÅci ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Za duża wartoÅÄ: oczekiwano, że ${n.origin??"wartoÅÄ"} bÄdzie mieÄ ${t}${n.maximum.toString()} ${r.unit??"element\xf3w"}`;return`Zbyt duż(y/a/e): oczekiwano, że ${n.origin??"wartoÅÄ"} bÄdzie wynosiÄ ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Za maÅa wartoÅÄ: oczekiwano, że ${n.origin??"wartoÅÄ"} bÄdzie mieÄ ${t}${n.minimum.toString()} ${r.unit??"element\xf3w"}`;return`Zbyt maÅ(y/a/e): oczekiwano, że ${n.origin??"wartoÅÄ"} bÄdzie wynosiÄ ${t}${n.minimum.toString()}`}
35case"invalid_format":if("starts_with"===n.format)return`NieprawidÅowy ciÄ
g znak\xf3w: musi zaczynaÄ siÄ od "${n.prefix}"`;if("ends_with"===n.format)return`NieprawidÅowy ciÄ
g znak\xf3w: musi koÅczyÄ siÄ na "${n.suffix}"`;if("includes"===n.format)return`NieprawidÅowy ciÄ
g znak\xf3w: musi zawieraÄ "${n.includes}"`;if("regex"===n.format)return`NieprawidÅowy ciÄ
g znak\xf3w: musi odpowiadaÄ wzorcowi ${n.pattern}`;return`NieprawidÅow(y/a/e) ${t[n.format]??n.format}`;case"not_multiple_of":return`NieprawidÅowa liczba: musi byÄ wielokrotnoÅciÄ
${n.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${n.keys.length>1?"s":""}: ${S(n.keys,", ")}`;case"invalid_key":return`NieprawidÅowy klucz w ${n.origin}`;case"invalid_union":default:return"NieprawidÅowe dane wejÅciowe";case"invalid_element":return`NieprawidÅowa wartoÅÄ w ${n.origin}`}})}}function iO(){let e,t,r;return{localeError:(e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}},t={regex:"padr\xe3o",email:"endere\xe7o de 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:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"dura\xe7\xe3o ISO",ipv4:"endere\xe7o IPv4",ipv6:"endere\xe7o IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"n\xfamero E.164",jwt:"JWT",template_literal:"entrada"},r={nan:"NaN",number:"n\xfamero",null:"nulo"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Tipo inv\xe1lido: esperado instanceof ${n.expected}, recebido ${i}`;return`Tipo inv\xe1lido: esperado ${e}, recebido ${i}`}case"invalid_value":if(1===n.values.length)return`Entrada inv\xe1lida: esperado ${en(n.values[0])}`;return`Op\xe7\xe3o inv\xe1lida: esperada uma das ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Muito grande: esperado que ${n.origin??"valor"} tivesse ${t}${n.maximum.toString()} ${r.unit??"elementos"}`;return`Muito grande: esperado que ${n.origin??"valor"} fosse ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Muito pequeno: esperado que ${n.origin} tivesse ${t}${n.minimum.toString()} ${r.unit}`;return`Muito pequeno: esperado que ${n.origin} fosse ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Texto inv\xe1lido: deve come\xe7ar com "${n.prefix}"`;if("ends_with"===n.format)return`Texto inv\xe1lido: deve terminar com "${n.suffix}"`;if("includes"===n.format)return`Texto inv\xe1lido: deve incluir "${n.includes}"`;if("regex"===n.format)return`Texto inv\xe1lido: deve corresponder ao padr\xe3o ${n.pattern}`;return`${t[n.format]??n.format} inv\xe1lido`;case"not_multiple_of":return`N\xfamero inv\xe1lido: deve ser m\xfaltiplo de ${n.divisor}`;case"unrecognized_keys":return`Chave${n.keys.length>1?"s":""} desconhecida${n.keys.length>1?"s":""}: ${S(n.keys,", ")}`;case"invalid_key":return`Chave inv\xe1lida em ${n.origin}`;case"invalid_union":return"Entrada inv\xe1lida";case"invalid_element":return`Valor inv\xe1lido em ${n.origin}`;default:return"Campo inv\xe1lido"}})}}function iC(e,t,r,n){let i=Math.abs(e),a=i%10,s=i%100;return s>=11&&s<=19?n:1===a?t:a>=2&&a<=4?r:n}function i$(){let e,t,r;return{localeError:(e={string:{unit:{one:"Ñимвол",few:"Ñимвола",many:"Ñимволов"},verb:"имеÑÑ"},file:{unit:{one:"байÑ",few:"байÑа",many:"байÑ"},verb:"имеÑÑ"},array:{unit:{one:"ÑлеменÑ",few:"ÑлеменÑа",many:"ÑлеменÑов"},verb:"имеÑÑ"},set:{unit:{one:"ÑлеменÑ",few:"ÑлеменÑа",many:"ÑлеменÑов"},verb:"имеÑÑ"}},t={regex:"ввод",email:"email адÑеÑ",url:"URL",emoji:"Ñмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO даÑа и вÑемÑ",date:"ISO даÑа",time:"ISO вÑемÑ",duration:"ISO длиÑелÑноÑÑÑ",ipv4:"IPv4 адÑеÑ",ipv6:"IPv6 адÑеÑ",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"ÑÑÑока в ÑоÑмаÑе base64",base64url:"ÑÑÑока в ÑоÑмаÑе base64url",json_string:"JSON ÑÑÑока",e164:"Ð½Ð¾Ð¼ÐµÑ E.164",jwt:"JWT",template_literal:"ввод"},r={nan:"NaN",number:"ÑиÑло",array:"маÑÑив"},n=>
35{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`ÐевеÑнÑй ввод: ожидалоÑÑ instanceof ${n.expected}, полÑÑено ${i}`;return`ÐевеÑнÑй ввод: ожидалоÑÑ ${e}, полÑÑено ${i}`}case"invalid_value":if(1===n.values.length)return`ÐевеÑнÑй ввод: ожидалоÑÑ ${en(n.values[0])}`;return`ÐевеÑнÑй ваÑианÑ: ожидалоÑÑ Ð¾Ð´Ð½Ð¾ из ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r){let e=iC(Number(n.maximum),r.unit.one,r.unit.few,r.unit.many);return`СлиÑком болÑÑое знаÑение: ожидалоÑÑ, ÑÑо ${n.origin??"знаÑение"} бÑÐ´ÐµÑ Ð¸Ð¼ÐµÑÑ ${t}${n.maximum.toString()} ${e}`}return`СлиÑком болÑÑое знаÑение: ожидалоÑÑ, ÑÑо ${n.origin??"знаÑение"} бÑÐ´ÐµÑ ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r){let e=iC(Number(n.minimum),r.unit.one,r.unit.few,r.unit.many);return`СлиÑком маленÑкое знаÑение: ожидалоÑÑ, ÑÑо ${n.origin} бÑÐ´ÐµÑ Ð¸Ð¼ÐµÑÑ ${t}${n.minimum.toString()} ${e}`}return`СлиÑком маленÑкое знаÑение: ожидалоÑÑ, ÑÑо ${n.origin} бÑÐ´ÐµÑ ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`ÐевеÑÐ½Ð°Ñ ÑÑÑока: должна наÑинаÑÑÑÑ Ñ "${n.prefix}"`;if("ends_with"===n.format)return`ÐевеÑÐ½Ð°Ñ ÑÑÑока: должна заканÑиваÑÑÑÑ Ð½Ð° "${n.suffix}"`;if("includes"===n.format)return`ÐевеÑÐ½Ð°Ñ ÑÑÑока: должна ÑодеÑжаÑÑ "${n.includes}"`;if("regex"===n.format)return`ÐевеÑÐ½Ð°Ñ ÑÑÑока: должна ÑооÑвеÑÑÑвоваÑÑ ÑÐ°Ð±Ð»Ð¾Ð½Ñ ${n.pattern}`;return`ÐевеÑнÑй ${t[n.format]??n.format}`;case"not_multiple_of":return`ÐевеÑное ÑиÑло: должно бÑÑÑ ÐºÑаÑнÑм ${n.divisor}`;case"unrecognized_keys":return`ÐеÑаÑпознанн${n.keys.length>1?"Ñе":"Ñй"} клÑÑ${n.keys.length>1?"и":""}: ${S(n.keys,", ")}`;case"invalid_key":return`ÐевеÑнÑй клÑÑ Ð² ${n.origin}`;case"invalid_union":default:return"ÐевеÑнÑе вÑ
однÑе даннÑе";case"invalid_element":return`ÐевеÑное знаÑение в ${n.origin}`}})}}function iw(){let e,t,r;return{localeError:(e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}},t={regex:"vnos",email:"e-poÅ¡tni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in Äas",date:"ISO datum",time:"ISO Äas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 Å¡tevilka",jwt:"JWT",template_literal:"vnos"},r={nan:"NaN",number:"Å¡tevilo",array:"tabela"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Neveljaven vnos: priÄakovano instanceof ${n.expected}, prejeto ${i}`;return`Neveljaven vnos: priÄakovano ${e}, prejeto ${i}`}case"invalid_value":if(1===n.values.length)return`Neveljaven vnos: priÄakovano ${en(n.values[0])}`;return`Neveljavna možnost: priÄakovano eno izmed ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Preveliko: priÄakovano, da bo ${n.origin??"vrednost"} imelo ${t}${n.maximum.toString()} ${r.unit??"elementov"}`;return`Preveliko: priÄakovano, da bo ${n.origin??"vrednost"} ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Premajhno: priÄakovano, da bo ${n.origin} imelo ${t}${n.minimum.toString()} ${r.unit}`;return`Premajhno: priÄakovano, da bo ${n.origin} ${t}${n.minimum.toString()}`}
35case"invalid_format":if("starts_with"===n.format)return`Neveljaven niz: mora se zaÄeti z "${n.prefix}"`;if("ends_with"===n.format)return`Neveljaven niz: mora se konÄati z "${n.suffix}"`;if("includes"===n.format)return`Neveljaven niz: mora vsebovati "${n.includes}"`;if("regex"===n.format)return`Neveljaven niz: mora ustrezati vzorcu ${n.pattern}`;return`Neveljaven ${t[n.format]??n.format}`;case"not_multiple_of":return`Neveljavno Å¡tevilo: mora biti veÄkratnik ${n.divisor}`;case"unrecognized_keys":return`Neprepoznan${n.keys.length>1?"i kljuÄi":" kljuÄ"}: ${S(n.keys,", ")}`;case"invalid_key":return`Neveljaven kljuÄ v ${n.origin}`;case"invalid_union":default:return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${n.origin}`}})}}function iD(){let e,t,r;return{localeError:(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"}},t={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-intervall",ipv6:"IPv6-intervall",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",jwt:"JWT",template_literal:"mall-literal"},r={nan:"NaN",number:"antal",array:"lista"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Ogiltig inmatning: f\xf6rv\xe4ntat instanceof ${n.expected}, fick ${i}`;return`Ogiltig inmatning: f\xf6rv\xe4ntat ${e}, fick ${i}`}case"invalid_value":if(1===n.values.length)return`Ogiltig inmatning: f\xf6rv\xe4ntat ${en(n.values[0])}`;return`Ogiltigt val: f\xf6rv\xe4ntade en av ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`F\xf6r stor(t): f\xf6rv\xe4ntade ${n.origin??"v\xe4rdet"} att ha ${t}${n.maximum.toString()} ${r.unit??"element"}`;return`F\xf6r stor(t): f\xf6rv\xe4ntat ${n.origin??"v\xe4rdet"} att ha ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`F\xf6r lite(t): f\xf6rv\xe4ntade ${n.origin??"v\xe4rdet"} att ha ${t}${n.minimum.toString()} ${r.unit}`;return`F\xf6r lite(t): f\xf6rv\xe4ntade ${n.origin??"v\xe4rdet"} att ha ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Ogiltig str\xe4ng: m\xe5ste b\xf6rja med "${n.prefix}"`;if("ends_with"===n.format)return`Ogiltig str\xe4ng: m\xe5ste sluta med "${n.suffix}"`;if("includes"===n.format)return`Ogiltig str\xe4ng: m\xe5ste inneh\xe5lla "${n.includes}"`;if("regex"===n.format)return`Ogiltig str\xe4ng: m\xe5ste matcha m\xf6nstret "${n.pattern}"`;return`Ogiltig(t) ${t[n.format]??n.format}`;case"not_multiple_of":return`Ogiltigt tal: m\xe5ste vara en multipel av ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"Ok\xe4nda nycklar":"Ok\xe4nd nyckel"}: ${S(n.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${n.origin??"v\xe4rdet"}`;case"invalid_union":default:return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xe4rde i ${n.origin??"v\xe4rdet"}`}})}}function iR(){let e,t,r;return{localeError:(e={string:{unit:"à®à®´à¯à®¤à¯à®¤à¯à®à¯à®à®³à¯",verb:"à®à¯à®£à¯à®à®¿à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯"},file:{unit:"பà¯à®à¯à®à¯à®à®³à¯",verb:"à®à¯à®£à¯à®à®¿à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯"},array:{unit:"à®à®±à¯à®ªà¯à®ªà¯à®à®³à¯",verb:"à®à¯à®£à¯à®à®¿à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯"},set:{unit:"à®à®±à¯à®ªà¯à®ªà¯à®à®³à¯",verb:"à®à¯à®£à¯à®à®¿à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯"}},t={regex:"à®à®³à¯à®³à¯à®à¯",email:"மினà¯à®©à®à¯à®à®²à¯ à®®à¯à®à®µà®°à®¿",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தà¯à®¤à®¿ நà¯à®°à®®à¯",date:"ISO தà¯à®¤à®¿",time:"ISO நà¯à®°à®®à¯",duration:"ISO à®à®¾à®² à®
ளவà¯",ipv4:"IPv4 à®®à¯à®à®µà®°à®¿",ipv6:"IPv6 à®®à¯à®à®µà®°à®¿",cidrv4:"IPv4 வரமà¯à®ª
35à¯",cidrv6:"IPv6 வரமà¯à®ªà¯",base64:"base64-encoded à®à®°à®®à¯",base64url:"base64url-encoded à®à®°à®®à¯",json_string:"JSON à®à®°à®®à¯",e164:"E.164 à®à®£à¯",jwt:"JWT",template_literal:"input"},r={nan:"NaN",number:"à®à®£à¯",array:"à®
ணி",null:"வà¯à®±à¯à®®à¯"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`தவறான à®à®³à¯à®³à¯à®à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ instanceof ${n.expected}, பà¯à®±à®ªà¯à®ªà®à¯à®à®¤à¯ ${i}`;return`தவறான à®à®³à¯à®³à¯à®à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${e}, பà¯à®±à®ªà¯à®ªà®à¯à®à®¤à¯ ${i}`}case"invalid_value":if(1===n.values.length)return`தவறான à®à®³à¯à®³à¯à®à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${en(n.values[0])}`;return`தவறான விரà¯à®ªà¯à®ªà®®à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${S(n.values,"|")} à®à®²à¯ à®à®©à¯à®±à¯`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`மி஠பà¯à®°à®¿à®¯à®¤à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${n.origin??"மதிபà¯à®ªà¯"} ${t}${n.maximum.toString()} ${r.unit??"à®à®±à¯à®ªà¯à®ªà¯à®à®³à¯"} à®à® à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`;return`மி஠பà¯à®°à®¿à®¯à®¤à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${n.origin??"மதிபà¯à®ªà¯"} ${t}${n.maximum.toString()} à®à® à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`மிà®à®à¯ à®à®¿à®±à®¿à®¯à®¤à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${n.origin} ${t}${n.minimum.toString()} ${r.unit} à®à® à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`;return`மிà®à®à¯ à®à®¿à®±à®¿à®¯à®¤à¯: à®à®¤à®¿à®°à¯à®ªà®¾à®°à¯à®à¯à®à®ªà¯à®ªà®à¯à®à®¤à¯ ${n.origin} ${t}${n.minimum.toString()} à®à® à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`}case"invalid_format":if("starts_with"===n.format)return`தவறான à®à®°à®®à¯: "${n.prefix}" à®à®²à¯ தà¯à®à®à¯à® வà¯à®£à¯à®à¯à®®à¯`;if("ends_with"===n.format)return`தவறான à®à®°à®®à¯: "${n.suffix}" à®à®²à¯ à®®à¯à®à®¿à®µà®à¯à®¯ வà¯à®£à¯à®à¯à®®à¯`;if("includes"===n.format)return`தவறான à®à®°à®®à¯: "${n.includes}" à® à®à®³à¯à®³à®à®à¯à® வà¯à®£à¯à®à¯à®®à¯`;if("regex"===n.format)return`தவறான à®à®°à®®à¯: ${n.pattern} à®®à¯à®±à¯à®ªà®¾à®à¯à®à¯à®à®©à¯ பà¯à®°à¯à®¨à¯à®¤ வà¯à®£à¯à®à¯à®®à¯`;return`தவறான ${t[n.format]??n.format}`;case"not_multiple_of":return`தவறான à®à®£à¯: ${n.divisor} à®à®©à¯ பலமா஠à®à®°à¯à®à¯à® வà¯à®£à¯à®à¯à®®à¯`;case"unrecognized_keys":return`à®
à®à¯à®¯à®¾à®³à®®à¯ தà¯à®°à®¿à®¯à®¾à®¤ விà®à¯${n.keys.length>1?"à®à®³à¯":""}: ${S(n.keys,", ")}`;case"invalid_key":return`${n.origin} à®à®²à¯ தவறான விà®à¯`;case"invalid_union":default:return"தவறான à®à®³à¯à®³à¯à®à¯";case"invalid_element":return`${n.origin} à®à®²à¯ தவறான மதிபà¯à®ªà¯`}})}}function iL(){let e,t,r;return{localeError:(e={string:{unit:"à¸à¸±à¸§à¸à¸±à¸à¸©à¸£",verb:"à¸à¸§à¸£à¸¡à¸µ"},file:{unit:"à¹à¸à¸à¹",verb:"à¸à¸§à¸£à¸¡à¸µ"},array:{unit:"รายà¸à¸²à¸£",verb:"à¸à¸§à¸£à¸¡à¸µ"},set:{unit:"รายà¸à¸²à¸£",verb:"à¸à¸§à¸£à¸¡à¸µ"}},t={regex:"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸µà¹à¸à¹à¸à¸",email:"à¸à¸µà¹à¸à¸¢à¸¹à¹à¸à¸µà¹à¸¡à¸¥",url:"URL",emoji:"à¸à¸´à¹à¸¡à¸à¸´",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วัà¸à¸à¸µà¹à¹à¸§à¸¥à¸²à¹à¸à¸ ISO",date:"วัà¸à¸à¸µà¹à¹à¸à¸ ISO",time:"à¹à¸§à¸¥à¸²à¹à¸à¸ ISO",duration:"à¸à¹à¸§à¸à¹à¸§à¸¥à¸²à¹à¸à¸ ISO",ipv4:"à¸à¸µà¹à¸à¸¢à¸¹à¹ IPv4",ipv6:"à¸à¸µà¹à¸à¸¢à¸¹à¹ IPv6",cidrv4:"à¸à¹à¸§à¸ IP à¹à¸à¸ IPv4",cidrv6:"à¸à¹à¸§à¸ IP à¹à¸à¸ IPv6",base64:"à¸à¹à¸à¸à¸§à¸²à¸¡à¹à¸à¸ Base64",base64url:"à¸à¹à¸à¸à¸§à¸²à¸¡à¹à¸à¸ Base64 สำหรัภURL",json_string:"à¸à¹à¸à¸à¸§à¸²à¸¡à¹à¸à¸ JSON",e164:"à¹à¸à¸à¸£à¹à¹à¸à¸£à¸¨à¸±à¸à¸à¹à¸£à¸°à¸«à¸§à¹à¸²à¸à¸à¸£à¸°à¹à¸à¸¨ (E.164)",jwt:"à¹à¸à¹à¸à¸ JWT",template_literal:"à¸à¹à¸à¸¡à¸¹à¸¥à¸à¸µà¹à¸à¹à¸à¸"},r={nan:"NaN",number:"à¸à¸±à¸§à¹à¸¥à¸",array:"à¸à¸²à¸£à¹à¹à¸£à¸¢à¹ (Array)",null:"à¹à¸¡à¹à¸¡à¸µà¸à¹à¸² (null)"},n=>
35{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`à¸à¸£à¸°à¹à¸ à¸à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¸§à¸£à¹à¸à¹à¸ instanceof ${n.expected} à¹à¸à¹à¹à¸à¹à¸£à¸±à¸ ${i}`;return`à¸à¸£à¸°à¹à¸ à¸à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¸§à¸£à¹à¸à¹à¸ ${e} à¹à¸à¹à¹à¸à¹à¸£à¸±à¸ ${i}`}case"invalid_value":if(1===n.values.length)return`à¸à¹à¸²à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¸§à¸£à¹à¸à¹à¸ ${en(n.values[0])}`;return`à¸à¸±à¸§à¹à¸¥à¸·à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¸§à¸£à¹à¸à¹à¸à¸«à¸à¸¶à¹à¸à¹à¸ ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"à¹à¸¡à¹à¹à¸à¸´à¸":"à¸à¹à¸à¸¢à¸à¸§à¹à¸²",r=e[n.origin]??null;if(r)return`à¹à¸à¸´à¸à¸à¸³à¸«à¸à¸: ${n.origin??"à¸à¹à¸²"} à¸à¸§à¸£à¸¡à¸µ${t} ${n.maximum.toString()} ${r.unit??"รายà¸à¸²à¸£"}`;return`à¹à¸à¸´à¸à¸à¸³à¸«à¸à¸: ${n.origin??"à¸à¹à¸²"} à¸à¸§à¸£à¸¡à¸µ${t} ${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?"à¸à¸¢à¹à¸²à¸à¸à¹à¸à¸¢":"มาà¸à¸à¸§à¹à¸²",r=e[n.origin]??null;if(r)return`à¸à¹à¸à¸¢à¸à¸§à¹à¸²à¸à¸³à¸«à¸à¸: ${n.origin} à¸à¸§à¸£à¸¡à¸µ${t} ${n.minimum.toString()} ${r.unit}`;return`à¸à¹à¸à¸¢à¸à¸§à¹à¸²à¸à¸³à¸«à¸à¸: ${n.origin} à¸à¸§à¸£à¸¡à¸µ${t} ${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¸§à¸²à¸¡à¸à¹à¸à¸à¸à¸¶à¹à¸à¸à¹à¸à¸à¹à¸§à¸¢ "${n.prefix}"`;if("ends_with"===n.format)return`รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¸§à¸²à¸¡à¸à¹à¸à¸à¸¥à¸à¸à¹à¸²à¸¢à¸à¹à¸§à¸¢ "${n.suffix}"`;if("includes"===n.format)return`รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¸§à¸²à¸¡à¸à¹à¸à¸à¸¡à¸µ "${n.includes}" à¸à¸¢à¸¹à¹à¹à¸à¸à¹à¸à¸à¸§à¸²à¸¡`;if("regex"===n.format)return`รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¸à¸£à¸à¸à¸±à¸à¸£à¸¹à¸à¹à¸à¸à¸à¸µà¹à¸à¸³à¸«à¸à¸ ${n.pattern}`;return`รูà¸à¹à¸à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: ${t[n.format]??n.format}`;case"not_multiple_of":return`à¸à¸±à¸§à¹à¸¥à¸à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¸à¹à¸à¸à¹à¸à¹à¸à¸à¸³à¸à¸§à¸à¸à¸µà¹à¸«à¸²à¸£à¸à¹à¸§à¸¢ ${n.divisor} à¹à¸à¹à¸¥à¸à¸à¸±à¸§`;case"unrecognized_keys":return`à¸à¸à¸à¸µà¸¢à¹à¸à¸µà¹à¹à¸¡à¹à¸£à¸¹à¹à¸à¸±à¸: ${S(n.keys,", ")}`;case"invalid_key":return`à¸à¸µà¸¢à¹à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸à¹à¸ ${n.origin}`;case"invalid_union":return"à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸: à¹à¸¡à¹à¸à¸£à¸à¸à¸±à¸à¸£à¸¹à¸à¹à¸à¸à¸¢à¸¹à¹à¸à¸µà¸¢à¸à¸à¸µà¹à¸à¸³à¸«à¸à¸à¹à¸§à¹";case"invalid_element":return`à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸à¹à¸ ${n.origin}`;default:return"à¸à¹à¸à¸¡à¸¹à¸¥à¹à¸¡à¹à¸à¸¹à¸à¸à¹à¸à¸"}})}}function iP(){let e,t,r;return{localeError:(e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"\xf6Äe",verb:"olmalı"},set:{unit:"\xf6Äe",verb:"olmalı"}},t={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO s\xfcre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralıÄı",cidrv6:"IPv6 aralıÄı",base64:"base64 ile ÅifrelenmiÅ metin",base64url:"base64url ile ÅifrelenmiÅ metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Åablon dizesi"},r={nan:"NaN"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Ge\xe7ersiz deÄer: beklenen instanceof ${n.expected}, alınan ${i}`;return`Ge\xe7ersiz deÄer: beklenen ${e}, alınan ${i}`}case"invalid_value":if(1===n.values.length)return`Ge\xe7ersiz deÄer: beklenen ${en(n.values[0])}`;return`Ge\xe7ersiz se\xe7enek: aÅaÄıdakilerden biri olmalı: ${S(n.values,"|")}`;
35case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`\xc7ok b\xfcy\xfck: beklenen ${n.origin??"deÄer"} ${t}${n.maximum.toString()} ${r.unit??"\xf6Äe"}`;return`\xc7ok b\xfcy\xfck: beklenen ${n.origin??"deÄer"} ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`\xc7ok k\xfc\xe7\xfck: beklenen ${n.origin} ${t}${n.minimum.toString()} ${r.unit}`;return`\xc7ok k\xfc\xe7\xfck: beklenen ${n.origin} ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Ge\xe7ersiz metin: "${n.prefix}" ile baÅlamalı`;if("ends_with"===n.format)return`Ge\xe7ersiz metin: "${n.suffix}" ile bitmeli`;if("includes"===n.format)return`Ge\xe7ersiz metin: "${n.includes}" i\xe7ermeli`;if("regex"===n.format)return`Ge\xe7ersiz metin: ${n.pattern} desenine uymalı`;return`Ge\xe7ersiz ${t[n.format]??n.format}`;case"not_multiple_of":return`Ge\xe7ersiz sayı: ${n.divisor} ile tam b\xf6l\xfcnebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${n.keys.length>1?"lar":""}: ${S(n.keys,", ")}`;case"invalid_key":return`${n.origin} i\xe7inde ge\xe7ersiz anahtar`;case"invalid_union":default:return"Ge\xe7ersiz deÄer";case"invalid_element":return`${n.origin} i\xe7inde ge\xe7ersiz deÄer`}})}}function iM(){let e,t,r;return{localeError:(e={string:{unit:"ÑимволÑв",verb:"маÑиме"},file:{unit:"байÑÑв",verb:"маÑиме"},array:{unit:"елеменÑÑв",verb:"маÑиме"},set:{unit:"елеменÑÑв",verb:"маÑиме"}},t={regex:"вÑ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ",email:"адÑеÑа елекÑÑÐ¾Ð½Ð½Ð¾Ñ Ð¿Ð¾ÑÑи",url:"URL",emoji:"емодзÑ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"даÑа Ñа ÑÐ°Ñ ISO",date:"даÑа ISO",time:"ÑÐ°Ñ ISO",duration:"ÑÑивалÑÑÑÑ ISO",ipv4:"адÑеÑа IPv4",ipv6:"адÑеÑа IPv6",cidrv4:"дÑапазон IPv4",cidrv6:"дÑапазон IPv6",base64:"ÑÑдок Ñ ÐºÐ¾Ð´ÑÐ²Ð°Ð½Ð½Ñ base64",base64url:"ÑÑдок Ñ ÐºÐ¾Ð´ÑÐ²Ð°Ð½Ð½Ñ base64url",json_string:"ÑÑдок JSON",e164:"Ð½Ð¾Ð¼ÐµÑ E.164",jwt:"JWT",template_literal:"вÑ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ"},r={nan:"NaN",number:"ÑиÑло",array:"маÑив"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`ÐепÑавилÑÐ½Ñ Ð²Ñ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ: оÑÑкÑÑÑÑÑÑ instanceof ${n.expected}, оÑÑимано ${i}`;return`ÐепÑавилÑÐ½Ñ Ð²Ñ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ: оÑÑкÑÑÑÑÑÑ ${e}, оÑÑимано ${i}`}case"invalid_value":if(1===n.values.length)return`ÐепÑавилÑÐ½Ñ Ð²Ñ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ: оÑÑкÑÑÑÑÑÑ ${en(n.values[0])}`;return`ÐепÑавилÑна опÑÑÑ: оÑÑкÑÑÑÑÑÑ Ð¾Ð´Ð½Ðµ з ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`ÐанадÑо велике: оÑÑкÑÑÑÑÑÑ, Ñо ${n.origin??"знаÑеннÑ"} ${r.verb} ${t}${n.maximum.toString()} ${r.unit??"елеменÑÑв"}`;return`ÐанадÑо велике: оÑÑкÑÑÑÑÑÑ, Ñо ${n.origin??"знаÑеннÑ"} бÑде ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`ÐанадÑо мале: оÑÑкÑÑÑÑÑÑ, Ñо ${n.origin} ${r.verb} ${t}${n.minimum.toString()} ${r.unit}`;return`ÐанадÑо мале: оÑÑкÑÑÑÑÑÑ, Ñо ${n.origin} бÑде ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`ÐепÑавилÑний ÑÑдок: повинен поÑинаÑиÑÑ Ð· "${n.prefix}"`;if("ends_with"===n.format)return`ÐепÑавилÑний ÑÑдок: повинен закÑнÑÑваÑиÑÑ Ð½Ð° "${n.suffix}"`;if("includes"===n.format)return`ÐепÑавилÑний ÑÑдок: повинен мÑÑÑиÑи "${n.includes}"`;if("regex"===n.format)return`ÐепÑавилÑний ÑÑдок: повинен вÑдповÑдаÑи ÑÐ°Ð±Ð»Ð¾Ð½Ñ ${n.pattern}`;return`ÐепÑавилÑний ${t[n.format]??n.format}`;case"not_multiple_of":return`ÐепÑавилÑне ÑиÑло: повинно бÑÑи Ð
35ºÑаÑним ${n.divisor}`;case"unrecognized_keys":return`ÐеÑозпÑзнаний клÑÑ${n.keys.length>1?"Ñ":""}: ${S(n.keys,", ")}`;case"invalid_key":return`ÐепÑавилÑний клÑÑ Ñ ${n.origin}`;case"invalid_union":default:return"ÐепÑавилÑÐ½Ñ Ð²Ñ
ÑÐ´Ð½Ñ Ð´Ð°Ð½Ñ";case"invalid_element":return`ÐепÑавилÑне знаÑÐµÐ½Ð½Ñ Ñ ${n.origin}`}})}}function iU(){return iM()}function iz(){let e,t,r;return{localeError:(e={string:{unit:"ØØ±ÙÙ",verb:"ÛÙÙØ§"},file:{unit:"بائٹس",verb:"ÛÙÙØ§"},array:{unit:"آئٹÙ
ز",verb:"ÛÙÙØ§"},set:{unit:"آئٹÙ
ز",verb:"ÛÙÙØ§"}},t={regex:"ا٠پٹ",email:"Ø§Û Ù
Û٠اÛÚØ±Ûس",url:"Û٠آر اÛÙ",emoji:"اÛÙ
ÙØ¬Û",uuid:"ÛÙ ÛÙ Ø¢Ø¦Û ÚÛ",uuidv4:"ÛÙ ÛÙ Ø¢Ø¦Û ÚÛ ÙÛ 4",uuidv6:"ÛÙ ÛÙ Ø¢Ø¦Û ÚÛ ÙÛ 6",nanoid:"ÙÛÙÙ Ø¢Ø¦Û ÚÛ",guid:"Ø¬Û ÛÙ Ø¢Ø¦Û ÚÛ",cuid:"Ø³Û ÛÙ Ø¢Ø¦Û ÚÛ",cuid2:"Ø³Û ÛÙ Ø¢Ø¦Û ÚÛ 2",ulid:"Û٠اÛÙ Ø¢Ø¦Û ÚÛ",xid:"اÛکس Ø¢Ø¦Û ÚÛ",ksuid:"Ú©Û Ø§ÛØ³ ÛÙ Ø¢Ø¦Û ÚÛ",datetime:"Ø¢Ø¦Û Ø§ÛØ³ ا٠ÚÛÙ¹ ٹائÙ
",date:"Ø¢Ø¦Û Ø§ÛØ³ Ø§Ù ØªØ§Ø±ÛØ®",time:"Ø¢Ø¦Û Ø§ÛØ³ ا٠ÙÙØª",duration:"Ø¢Ø¦Û Ø§ÛØ³ ا٠Ù
دت",ipv4:"Ø¢Ø¦Û Ù¾Û ÙÛ 4 اÛÚØ±Ûس",ipv6:"Ø¢Ø¦Û Ù¾Û ÙÛ 6 اÛÚØ±Ûس",cidrv4:"Ø¢Ø¦Û Ù¾Û ÙÛ 4 رÛÙØ¬",cidrv6:"Ø¢Ø¦Û Ù¾Û ÙÛ 6 رÛÙØ¬",base64:"Ø¨ÛØ³ 64 ا٠کÙÚÚ Ø³Ù¹Ø±ÙÚ¯",base64url:"Ø¨ÛØ³ 64 Û٠آر اÛ٠ا٠کÙÚÚ Ø³Ù¹Ø±ÙÚ¯",json_string:"Ø¬Û Ø§ÛØ³ ا٠اÛ٠سٹرÙÚ¯",e164:"Ø§Û 164 ÙÙ
بر",jwt:"Ø¬Û ÚØ¨ÙÛÙ Ù¹Û",template_literal:"ا٠پٹ"},r={nan:"NaN",number:"ÙÙ
بر",array:"آرÛ",null:"ÙÙ"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`ØºÙØ· ا٠پٹ: instanceof ${n.expected} Ù
تÙÙØ¹ ØªÚ¾Ø§Ø ${i} Ù
ÙØµÙÙ ÛÙØ§`;return`ØºÙØ· ا٠پٹ: ${e} Ù
تÙÙØ¹ ØªÚ¾Ø§Ø ${i} Ù
ÙØµÙÙ ÛÙØ§`}case"invalid_value":if(1===n.values.length)return`ØºÙØ· ا٠پٹ: ${en(n.values[0])} Ù
تÙÙØ¹ تھا`;return`ØºÙØ· آپشÙ: ${S(n.values,"|")} Ù
ÛÚº Ø³Û Ø§ÛÚ© Ù
تÙÙØ¹ تھا`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Ø¨ÛØª Ø¨ÚØ§: ${n.origin??"ÙÛÙÛÙ"} Ú©Û ${t}${n.maximum.toString()} ${r.unit??"Ø¹ÙØ§ØµØ±"} ÛÙÙÛ Ù
تÙÙØ¹ تھÛ`;return`Ø¨ÛØª Ø¨ÚØ§: ${n.origin??"ÙÛÙÛÙ"} کا ${t}${n.maximum.toString()} ÛÙÙØ§ Ù
تÙÙØ¹ تھا`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Ø¨ÛØª ÚÚ¾Ùٹا: ${n.origin} Ú©Û ${t}${n.minimum.toString()} ${r.unit} ÛÙÙÛ Ù
تÙÙØ¹ تھÛ`;return`Ø¨ÛØª ÚÚ¾Ùٹا: ${n.origin} کا ${t}${n.minimum.toString()} ÛÙÙØ§ Ù
تÙÙØ¹ تھا`}case"invalid_format":if("starts_with"===n.format)return`ØºÙØ· سٹرÙÚ¯: "${n.prefix}" Ø³Û Ø´Ø±ÙØ¹ ÛÙÙØ§ ÚØ§ÛÛÛ`;if("ends_with"===n.format)return`ØºÙØ· سٹرÙÚ¯: "${n.suffix}" پر ختÙ
ÛÙÙØ§ ÚØ§ÛÛÛ`;if("includes"===n.format)return`ØºÙØ· سٹرÙÚ¯: "${n.includes}" شاÙ
Ù ÛÙÙØ§ ÚØ§ÛÛÛ`;if("regex"===n.format)return`ØºÙØ· سٹرÙÚ¯: Ù¾Ûٹر٠${n.pattern} Ø³Û Ù
ÛÚ ÛÙÙØ§ ÚØ§ÛÛÛ`;return`ØºÙØ· ${t[n.format]??n.format}`;case"not_multiple_of":return`ØºÙØ· ÙÙ
بر: ${n.divisor} کا Ù
ضاع٠ÛÙÙØ§ ÚØ§ÛÛÛ`;case"unrecognized_keys":return`ØºÛØ± تسÙÛÙ
Ø´Ø¯Û Ú©Û${n.keys.length>1?"ز":""}: ${S(n.keys,"Ø ")}`;case"invalid_key":return`${n.origin} Ù
ÛÚº ØºÙØ· Ú©Û`;case"invalid_union":default:return"ØºÙØ· ا٠پٹ";case"invalid_element":return`${n.origin} Ù
ÛÚº ØºÙØ· ÙÛÙÛÙ`}})}}function ij(){let e,t,r;return{localeError:(e={string:{unit:"belgi",verb:"boâlishi kerak"},file:{unit:"bayt",verb:"boâlishi kerak"},array:{unit:"element",verb:"boâlishi kerak"},set:{unit:"element",verb:"boâlishi kerak"}},t={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",jwt:"JWT",template_literal:"kirish"},r={nan:"NaN",number:"raqam",array:"massiv"},n=>
35{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Notoâgâri kirish: kutilgan instanceof ${n.expected}, qabul qilingan ${i}`;return`Notoâgâri kirish: kutilgan ${e}, qabul qilingan ${i}`}case"invalid_value":if(1===n.values.length)return`Notoâgâri kirish: kutilgan ${en(n.values[0])}`;return`Notoâgâri variant: quyidagilardan biri kutilgan ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Juda katta: kutilgan ${n.origin??"qiymat"} ${t}${n.maximum.toString()} ${r.unit} ${r.verb}`;return`Juda katta: kutilgan ${n.origin??"qiymat"} ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Juda kichik: kutilgan ${n.origin} ${t}${n.minimum.toString()} ${r.unit} ${r.verb}`;return`Juda kichik: kutilgan ${n.origin} ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Notoâgâri satr: "${n.prefix}" bilan boshlanishi kerak`;if("ends_with"===n.format)return`Notoâgâri satr: "${n.suffix}" bilan tugashi kerak`;if("includes"===n.format)return`Notoâgâri satr: "${n.includes}" ni oâz ichiga olishi kerak`;if("regex"===n.format)return`Notoâgâri satr: ${n.pattern} shabloniga mos kelishi kerak`;return`Notoâgâri ${t[n.format]??n.format}`;case"not_multiple_of":return`Notoâgâri raqam: ${n.divisor} ning karralisi boâlishi kerak`;case"unrecognized_keys":return`Nomaâlum kalit${n.keys.length>1?"lar":""}: ${S(n.keys,", ")}`;case"invalid_key":return`${n.origin} dagi kalit notoâgâri`;case"invalid_union":default:return"Notoâgâri kirish";case"invalid_element":return`${n.origin} da notoâgâri qiymat`}})}}function iF(){let e,t,r;return{localeError:(e={string:{unit:"k\xfd tá»±",verb:"c\xf3"},file:{unit:"byte",verb:"c\xf3"},array:{unit:"phần tá»",verb:"c\xf3"},set:{unit:"phần tá»",verb:"c\xf3"}},t={regex:"Äầu v\xe0o",email:"Äá»a chá» email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ng\xe0y giá» ISO",date:"ng\xe0y ISO",time:"giá» ISO",duration:"khoảng thá»i gian ISO",ipv4:"Äá»a chá» IPv4",ipv6:"Äá»a chá» IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuá»i m\xe3 h\xf3a base64",base64url:"chuá»i m\xe3 h\xf3a base64url",json_string:"chuá»i JSON",e164:"sá» E.164",jwt:"JWT",template_literal:"Äầu v\xe0o"},r={nan:"NaN",number:"sá»",array:"mảng"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`Äầu v\xe0o kh\xf4ng hợp lá»: mong Äợi instanceof ${n.expected}, nháºn ÄÆ°á»£c ${i}`;return`Äầu v\xe0o kh\xf4ng hợp lá»: mong Äợi ${e}, nháºn ÄÆ°á»£c ${i}`}case"invalid_value":if(1===n.values.length)return`Äầu v\xe0o kh\xf4ng hợp lá»: mong Äợi ${en(n.values[0])}`;return`T\xf9y chá»n kh\xf4ng hợp lá»: mong Äợi má»t trong c\xe1c gi\xe1 trá» ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`Qu\xe1 lá»n: mong Äợi ${n.origin??"gi\xe1 trá»"} ${r.verb} ${t}${n.maximum.toString()} ${r.unit??"phần tá»"}`;return`Qu\xe1 lá»n: mong Äợi ${n.origin??"gi\xe1 trá»"} ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`Qu\xe1 nhá»: mong Äợi ${n.origin} ${r.verb} ${t}${n.minimum.toString()} ${r.unit}`;return`Qu\xe1 nhá»: mong Äợi ${n.origin} ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`Chuá»i kh\xf4ng hợp lá»: phải bắt Äầu bằng "${n.prefix}"`;if("ends_with"===n.format)return`Chuá»i kh\xf4ng hợp lá»: phải kết th\xfac bằng "${n.suffix}"`;if("includes"===n.format)return`Chuá»i kh\xf4ng hợp lá»: phải bao gá»m "${n.includes}"`;if("regex"===n.format)return`Chuá»i kh\xf4ng hợp lá»: phải khá»p vá»i mẫu ${n.pattern}`;return`${t[n.format]??n.format} kh\xf4ng hợp lá»`;case"not_multiple_of":return`Sá» kh\xf4ng hợp lá»: phải l\xe0 bá»i sá» cá»§a ${n.divisor}`;case"unrecognized_keys":return`Kh\xf3a kh\xf4ng ÄÆ°á»£c nháºn dạng: ${S(n.keys,", ")}`;
35case"invalid_key":return`Kh\xf3a kh\xf4ng hợp lá» trong ${n.origin}`;case"invalid_union":default:return"Äầu v\xe0o kh\xf4ng hợp lá»";case"invalid_element":return`Gi\xe1 trá» kh\xf4ng hợp lá» trong ${n.origin}`}})}}function iB(){let e,t,r;return{localeError:(e={string:{unit:"å符",verb:"å
å«"},file:{unit:"åè",verb:"å
å«"},array:{unit:"项",verb:"å
å«"},set:{unit:"项",verb:"å
å«"}},t={regex:"è¾å
¥",email:"çµåé®ä»¶",url:"URL",emoji:"表æ
符å·",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISOæ¥ææ¶é´",date:"ISOæ¥æ",time:"ISOæ¶é´",duration:"ISOæ¶é¿",ipv4:"IPv4å°å",ipv6:"IPv6å°å",cidrv4:"IPv4ç½æ®µ",cidrv6:"IPv6ç½æ®µ",base64:"base64ç¼ç å符串",base64url:"base64urlç¼ç å符串",json_string:"JSONå符串",e164:"E.164å·ç ",jwt:"JWT",template_literal:"è¾å
¥"},r={nan:"NaN",number:"æ°å",array:"æ°ç»",null:"空å¼(null)"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`æ æè¾å
¥ï¼ææ instanceof ${n.expected}ï¼å®é
æ¥æ¶ ${i}`;return`æ æè¾å
¥ï¼ææ ${e}ï¼å®é
æ¥æ¶ ${i}`}case"invalid_value":if(1===n.values.length)return`æ æè¾å
¥ï¼ææ ${en(n.values[0])}`;return`æ æéé¡¹ï¼ææä»¥ä¸ä¹ä¸ ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`æ°å¼è¿å¤§ï¼ææ ${n.origin??"å¼"} ${t}${n.maximum.toString()} ${r.unit??"个å
ç´ "}`;return`æ°å¼è¿å¤§ï¼ææ ${n.origin??"å¼"} ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`æ°å¼è¿å°ï¼ææ ${n.origin} ${t}${n.minimum.toString()} ${r.unit}`;return`æ°å¼è¿å°ï¼ææ ${n.origin} ${t}${n.minimum.toString()}`}case"invalid_format":if("starts_with"===n.format)return`æ æå符串ï¼å¿
须以 "${n.prefix}" å¼å¤´`;if("ends_with"===n.format)return`æ æå符串ï¼å¿
须以 "${n.suffix}" ç»å°¾`;if("includes"===n.format)return`æ æå符串ï¼å¿
é¡»å
å« "${n.includes}"`;if("regex"===n.format)return`æ æå符串ï¼å¿
须满足æ£åè¡¨è¾¾å¼ ${n.pattern}`;return`æ æ${t[n.format]??n.format}`;case"not_multiple_of":return`æ ææ°åï¼å¿
é¡»æ¯ ${n.divisor} çåæ°`;case"unrecognized_keys":return`åºç°æªç¥çé®(key): ${S(n.keys,", ")}`;case"invalid_key":return`${n.origin} ä¸çé®(key)æ æ`;case"invalid_union":default:return"æ æè¾å
¥";case"invalid_element":return`${n.origin} ä¸å
嫿 æå¼(value)`}})}}function iZ(){let e,t,r;return{localeError:(e={string:{unit:"åå
",verb:"ææ"},file:{unit:"ä½å
çµ",verb:"ææ"},array:{unit:"é
ç®",verb:"ææ"},set:{unit:"é
ç®",verb:"ææ"}},t={regex:"輸å
¥",email:"éµä»¶å°å",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO æ¥ææé",date:"ISO æ¥æ",time:"ISO æé",duration:"ISO æé",ipv4:"IPv4 ä½å",ipv6:"IPv6 ä½å",cidrv4:"IPv4 ç¯å",cidrv6:"IPv6 ç¯å",base64:"base64 編碼å串",base64url:"base64url 編碼å串",json_string:"JSON å串",e164:"E.164 æ¸å¼",jwt:"JWT",template_literal:"輸å
¥"},r={nan:"NaN"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`ç¡æç輸å
¥å¼ï¼é æçº instanceof ${n.expected}ï¼ä½æ¶å° ${i}`;return`ç¡æç輸å
¥å¼ï¼é æçº ${e}ï¼ä½æ¶å° ${i}`}case"invalid_value":if(1===n.values.length)return`ç¡æç輸å
¥å¼ï¼é æçº ${en(n.values[0])}`;return`ç¡æçé¸é
ï¼é æçºä»¥ä¸å
¶ä¸ä¹ä¸ ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`æ¸å¼é大ï¼é æ ${n.origin??"å¼"} æçº ${t}${n.maximum.toString()} ${r.unit??"åå
ç´ "}`;return`æ¸å¼é大ï¼é æ ${n.origin??"å¼"} æçº ${t}${n.maximum.toString()}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`æ¸å¼éå°ï¼é æ ${n.origin} æçº ${t}${n.minimum.toString()} ${r.unit}`;return`æ¸å¼éå°ï¼é æ ${n.origin} æçº ${t}${n.minimum.toString()}`}
35case"invalid_format":if("starts_with"===n.format)return`ç¡æçå串ï¼å¿
é 以 "${n.prefix}" éé `;if("ends_with"===n.format)return`ç¡æçå串ï¼å¿
é 以 "${n.suffix}" çµå°¾`;if("includes"===n.format)return`ç¡æçå串ï¼å¿
é å
å« "${n.includes}"`;if("regex"===n.format)return`ç¡æçå串ï¼å¿
é ç¬¦åæ ¼å¼ ${n.pattern}`;return`ç¡æç ${t[n.format]??n.format}`;case"not_multiple_of":return`ç¡æçæ¸åï¼å¿
é çº ${n.divisor} ç忏`;case"unrecognized_keys":return`ç¡æ³èå¥çéµå¼${n.keys.length>1?"å":""}ï¼${S(n.keys,"ã")}`;case"invalid_key":return`${n.origin} ä¸æç¡æçéµå¼`;case"invalid_union":default:return"ç¡æç輸å
¥å¼";case"invalid_element":return`${n.origin} ä¸æç¡æçå¼`}})}}function iH(){let e,t,r;return{localeError:(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"}},t={regex:"ẹÌrá» \xecb\xe1wá»l\xe9",email:"\xe0d\xedrẹÌs\xec \xecmẹÌl\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:"á»já»Ì ISO",time:"\xe0k\xf3k\xf2 ISO",duration:"\xe0k\xf3k\xf2 t\xf3 p\xe9 ISO",ipv4:"\xe0d\xedrẹÌs\xec IPv4",ipv6:"\xe0d\xedrẹÌs\xec IPv6",cidrv4:"\xe0gb\xe8gb\xe8 IPv4",cidrv6:"\xe0gb\xe8gb\xe8 IPv6",base64:"á»Ìrá»Ì t\xed a ká»Ì n\xed base64",base64url:"á»Ìrá»Ì base64url",json_string:"á»Ìrá»Ì JSON",e164:"ná»Ìmb\xe0 E.164",jwt:"JWT",template_literal:"ẹÌrá» \xecb\xe1wá»l\xe9"},r={nan:"NaN",number:"ná»Ìmb\xe0",array:"akopá»"},n=>{switch(n.code){case"invalid_type":{let e=r[n.expected]??n.expected,t=ey(n.input),i=r[t]??t;if(/^[A-Z]/.test(n.expected))return`\xccb\xe1wá»l\xe9 aá¹£\xecá¹£e: a n\xed l\xe1ti fi instanceof ${n.expected}, \xe0má»Ì a r\xed ${i}`;return`\xccb\xe1wá»l\xe9 aá¹£\xecá¹£e: a n\xed l\xe1ti fi ${e}, \xe0má»Ì a r\xed ${i}`}case"invalid_value":if(1===n.values.length)return`\xccb\xe1wá»l\xe9 aá¹£\xecá¹£e: a n\xed l\xe1ti fi ${en(n.values[0])}`;return`\xc0á¹£\xe0y\xe0n aá¹£\xecá¹£e: yan á»Ìkan l\xe1ra ${S(n.values,"|")}`;case"too_big":{let t=n.inclusive?"<=":"<",r=e[n.origin]??null;if(r)return`T\xf3 pá»Ì j\xf9: a n\xed l\xe1ti jáº¹Ì p\xe9 ${n.origin??"iye"} ${r.verb} ${t}${n.maximum} ${r.unit}`;return`T\xf3 pá»Ì j\xf9: a n\xed l\xe1ti jáº¹Ì ${t}${n.maximum}`}case"too_small":{let t=n.inclusive?">=":">",r=e[n.origin]??null;if(r)return`K\xe9r\xe9 ju: a n\xed l\xe1ti jáº¹Ì p\xe9 ${n.origin} ${r.verb} ${t}${n.minimum} ${r.unit}`;return`K\xe9r\xe9 ju: a n\xed l\xe1ti jáº¹Ì ${t}${n.minimum}`}case"invalid_format":if("starts_with"===n.format)return`á»Ìrá»Ì aá¹£\xecá¹£e: gbá»Ìdá»Ì bẹÌráº¹Ì pẹÌl\xfa "${n.prefix}"`;if("ends_with"===n.format)return`á»Ìrá»Ì aá¹£\xecá¹£e: gbá»Ìdá»Ì par\xed pẹÌl\xfa "${n.suffix}"`;if("includes"===n.format)return`á»Ìrá»Ì aá¹£\xecá¹£e: gbá»Ìdá»Ì n\xed "${n.includes}"`;if("regex"===n.format)return`á»Ìrá»Ì aá¹£\xecá¹£e: gbá»Ìdá»Ì b\xe1 \xe0pẹẹrẹ mu ${n.pattern}`;return`Aá¹£\xecá¹£e: ${t[n.format]??n.format}`;case"not_multiple_of":return`Ná»Ìmb\xe0 aá¹£\xecá¹£e: gbá»Ìdá»Ì jáº¹Ì \xe8y\xe0 p\xedp\xedn ti ${n.divisor}`;case"unrecognized_keys":return`Bá»t\xecn\xec \xe0\xecmá»Ì: ${S(n.keys,", ")}`;case"invalid_key":return`Bá»t\xecn\xec aá¹£\xecá¹£e n\xedn\xfa ${n.origin}`;case"invalid_union":default:return"\xccb\xe1wá»l\xe9 aá¹£\xecá¹£e";case"invalid_element":return`Iye aá¹£\xecá¹£e n\xedn\xfa ${n.origin}`}})}}let iG=Symbol("ZodOutput"),iY=Symbol("ZodInput");class iV{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let r=t[0];return this._map.set(e,r),r&&"object"==typeof r&&"id"in r&&this._idmap.set(r.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&"object"==typeof t&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let r={...this.get(t)??{}};delete r.id;let n={...r,...this._map.get(e)};return Object.keys(n).length?n:void 0}return this._map.get(e)}has(e){return this._map.has(e)}}function iW(){return new iV}(n=globalThis).__zod_globalRegistry??(n.__zod_globalRegistry=iW());let iq=globalThis.__zod_globalRegistry;function iK(e,t){return new e({type:"string",...et(t)})}function iJ(e,t){return new e({type:"string",coerce:!0,...et(t)})}function iX(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...et(t)})}function iQ(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...et(t)})}function i0(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...et(t)})}function i1(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...et(t)})}function i4(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...et(t)})}function i6(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...et(t)})}function i2(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...et(t)})}function i9(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...et(t)})}function i5(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...et(t)})}function i3(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...et(t)})}function i7(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...et(t)})}function i8(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...et(t)})}function ae(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...et(t)})}function at(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...et(t)})}function ar(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...et(t)})}function an(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...et(t)})}function ai(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...et(t)})}function aa(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...et(t)})}function as(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...et(t)})}function ao(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...et(t)})}function al(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...et(t)})}function au(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...et(t)})}function ac(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...et(t)})}let ad={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function am(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...et(t)})}function ap(e,t){return new e({type:"string",format:"date",check:"string_format",...et(t)})}function ah(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...et(t)})}function af(e,t){return new e({type:"string",format:"duration",check:"string_format",...et(t)})}function ag(e,t){return new e({type:"number",checks:[],...et(t)})}function a_(e,t){return new e({type:"number",coerce:!0,checks:[],...et(t)})}function av(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...et(t)})}function aE(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...et(t)})}function ay(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...et(t)})}function ab(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...et(t)})}function aT(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...et(t)})}function ak(e,t){return new e({type:"boolean",...et(t)})}function ax(e,t){return new e({type:"boolean",coerce:!0,...et(t)})}function aA(e,t){return new e({type:"bigint",...et(t)})}function aI(e,t){return new e({type:"bigint",coerce:!0,...et(t)})}function aS(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...et(t)})}function aN(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...et(t)})}function aO(e,t){return new e({type:"symbol",...et(t)})}function aC(e,t){return new e({type:"undefined",...et(t)})}function a$(e,t){return new e({type:"null",...et(t)})}function aw(e){return new e({type:"any"})}function aD(e){return new e({type:"unknown"})}function aR(e,t){return new e({type:"never",...et(t)})}function aL(e,t){return new e({type:"void",...et(t)})}function aP(e,t){return new e({type:"date",...et(t)})}function aM(e,t){return new e({type:"date",coerce:!0,...et(t)})}function aU(e,t){return new e({type:"nan",...et(t)})}function az(e,t){return new t7({check:"less_than",...et(t),value:e,inclusive:!1})}function aj(e,t){return new t7({check:"less_than",...et(t),value:e,inclusive:!0})}function aF(e,t){return new t8({check:"greater_than",...et(t),value:e,inclusive:!1})}function aB(e,t){return new t8({check:"greater_than",...et(t),value:e,inclusive:!0})}function aZ(e){return aF(0,e)}function aH(e){return az(0,e)}function aG(e){return aj(0,e)}function aY(e){return aB(0,e)}function aV(e,t){return new re({check:"multiple_of",...et(t),value:e})}function aW(e,t){return new rn({check:"max_size",...et(t),maximum:e})}function aq(e,t){return new ri({check:"min_size",...et(t),minimum:e})}function aK(e,t){return new ra({check:"size_equals",...et(t),size:e})}function aJ(e,t){return new rs({check:"max_length",...et(t),maximum:e})}function aX(e,t){return new ro({check:"min_length",...et(t),minimum:e})}function aQ(e,t){return new rl({check:"length_equals",...et(t),length:e})}function a0(e,t){return new rc({check:"string_format",format:"regex",...et(t),pattern:e})}function a1(e){return new rd({check:"string_format",format:"lowercase",...et(e)})}
35function a4(e){return new rm({check:"string_format",format:"uppercase",...et(e)})}function a6(e,t){return new rp({check:"string_format",format:"includes",...et(t),includes:e})}function a2(e,t){return new rh({check:"string_format",format:"starts_with",...et(t),prefix:e})}function a9(e,t){return new rf({check:"string_format",format:"ends_with",...et(t),suffix:e})}function a5(e,t,r){return new r_({check:"property",property:e,schema:t,...et(r)})}function a3(e,t){return new rv({check:"mime_type",mime:e,...et(t)})}function a7(e){return new rE({check:"overwrite",tx:e})}function a8(e){return a7(t=>t.normalize(e))}function se(){return a7(e=>e.trim())}function st(){return a7(e=>e.toLowerCase())}function sr(){return a7(e=>e.toUpperCase())}function sn(){return a7(e=>Z(e))}function si(e,t,r){return new e({type:"array",element:t,...et(r)})}function sa(e,t,r){return new e({type:"union",options:t,...et(r)})}function ss(e,t,r){return new e({type:"union",options:t,inclusive:!1,...et(r)})}function so(e,t,r,n){return new e({type:"union",options:r,discriminator:t,...et(n)})}function sl(e,t,r){return new e({type:"intersection",left:t,right:r})}function su(e,t,r,n){let i=r instanceof rT,a=i?n:r;return new e({type:"tuple",items:t,rest:i?r:null,...et(a)})}function sc(e,t,r,n){return new e({type:"record",keyType:t,valueType:r,...et(n)})}function sd(e,t,r,n){return new e({type:"map",keyType:t,valueType:r,...et(n)})}function sm(e,t,r){return new e({type:"set",valueType:t,...et(r)})}function sp(e,t,r){return new e({type:"enum",entries:Array.isArray(t)?Object.fromEntries(t.map(e=>[e,e])):t,...et(r)})}function sh(e,t,r){return new e({type:"enum",entries:t,...et(r)})}function sf(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],...et(r)})}function sg(e,t){return new e({type:"file",...et(t)})}function s_(e,t){return new e({type:"transform",transform:t})}function sv(e,t){return new e({type:"optional",innerType:t})}function sE(e,t){return new e({type:"nullable",innerType:t})}function sy(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return"function"==typeof r?r():W(r)}})}function sb(e,t,r){return new e({type:"nonoptional",innerType:t,...et(r)})}function sT(e,t){return new e({type:"success",innerType:t})}function sk(e,t,r){return new e({type:"catch",innerType:t,catchValue:"function"==typeof r?r:()=>r})}function sx(e,t,r){return new e({type:"pipe",in:t,out:r})}function sA(e,t){return new e({type:"readonly",innerType:t})}function sI(e,t,r){return new e({type:"template_literal",parts:t,...et(r)})}function sS(e,t){return new e({type:"lazy",getter:t})}function sN(e,t){return new e({type:"promise",innerType:t})}function sO(e,t,r){let n=et(r);return n.abort??(n.abort=!0),new e({type:"custom",check:"custom",fn:t,...n})}function sC(e,t,r){return new e({type:"custom",check:"custom",fn:t,...et(r)})}function s$(e){let t=sw(r=>(r.addIssue=e=>{"string"==typeof e?r.issues.push(eb(e,r.value,t._zod.def)):(e.fatal&&(e.continue=!1),e.code??(e.code="custom"),e.input??(e.input=r.value),e.inst??(e.inst=t),e.continue??(e.continue=!t._zod.def.abort),r.issues.push(eb(e)))},e(r.value,r)));return t}function sw(e,t){let r=new t5({check:"custom",...et(t)});return r._zod.check=e,r}function sD(e){let t=new t5({check:"describe"});return t._zod.onattach=[t=>{let r=iq.get(t)??{};iq.add(t,{...r,description:e})}],t._zod.check=()=>{},t}function sR(e){let t=new t5({check:"meta"});return t._zod.onattach=[t=>{let r=iq.get(t)??{};iq.add(t,{...r,...e})}],t._zod.check=()=>{},t}function sL(e,t){let r=et(t),n=r.truthy??["true","1","yes","on","y","enabled"],i=r.falsy??["false","0","no","off","n","disabled"];"sensitive"!==r.case&&(n=n.map(e=>"string"==typeof e?e.toLowerCase():e),i=i.map(e=>"string"==typeof e?e.toLowerCase():e));let a=new Set(n),s=new Set(i),o=e.Codec??nF,l=e.Boolean??r1,u=new o({type:"pipe",in:new(e.String??rk)({type:"string",error:r.error}),out:new l({type:"boolean",error:r.error}),transform:(e,t)=>{let n=e;return"sensitive"!==r.case&&(n=n.toLowerCase()),!!a.has(n)||!s.has(n)&&(t.issues.push({code:"invalid_value",expected:"stringbool",values:[...a,...s],input:t.value,inst:u,continue:!1}),{})},reverseTransform:(e,t)=>
35!0===e?n[0]||"true":i[0]||"false",error:r.error});return u}function sP(e,t,r,n={}){let i=et(n),a={...et(n),check:"string_format",type:"string",format:t,fn:"function"==typeof r?r:e=>r.test(e),...i};return r instanceof RegExp&&(a.pattern=r),new e(a)}function sM(e){let t=e?.target??"draft-2020-12";return"draft-4"===t&&(t="draft-04"),"draft-7"===t&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??iq,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function sU(e,t,r={path:[],schemaPath:[]}){var n;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,r.schemaPath.includes(e)&&(a.cycle=r.path),a.schema;let s={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,s);let o=e._zod.toJSONSchema?.();if(o)s.schema=o;else{let n={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,s.schema,n);else{let r=s.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,r,n)}let a=e._zod.parent;a&&(s.ref||(s.ref=a),sU(a,t,n),t.seen.get(a).isParent=!0)}let l=t.metadataRegistry.get(e);return l&&Object.assign(s.schema,l),"input"===t.io&&function e(t,r){let n=r??{seen:new Set};if(n.seen.has(t))return!1;n.seen.add(t);let i=t._zod.def;if("transform"===i.type)return!0;if("array"===i.type)return e(i.element,n);if("set"===i.type)return e(i.valueType,n);if("lazy"===i.type)return e(i.getter(),n);if("promise"===i.type||"optional"===i.type||"nonoptional"===i.type||"nullable"===i.type||"readonly"===i.type||"default"===i.type||"prefault"===i.type)return e(i.innerType,n);if("intersection"===i.type)return e(i.left,n)||e(i.right,n);if("record"===i.type||"map"===i.type)return e(i.keyType,n)||e(i.valueType,n);if("pipe"===i.type)return e(i.in,n)||e(i.out,n);if("object"===i.type){for(let t in i.shape)if(e(i.shape[t],n))return!0;return!1}if("union"===i.type){for(let t of i.options)if(e(t,n))return!0;return!1}if("tuple"===i.type){for(let t of i.items)if(e(t,n))return!0;if(i.rest&&e(i.rest,n))return!0}return!1}(e)&&(delete s.schema.examples,delete s.schema.default),"input"===t.io&&s.schema._prefault&&((n=s.schema).default??(n.default=s.schema._prefault)),delete s.schema._prefault,t.seen.get(e).schema}function sz(e,t){let r=e.seen.get(t);if(!r)throw Error("Unprocessed schema. This is a bug in Zod.");let n=new Map;for(let t of e.seen.entries()){let r=e.metadataRegistry.get(t[0])?.id;if(r){let e=n.get(r);if(e&&e!==t[0])throw Error(`Duplicate schema id "${r}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);n.set(r,t[0])}}let i=t=>{if(t[1].schema.$ref)return;let n=t[1],{ref:i,defId:a}=(t=>{let n="draft-2020-12"===e.target?"$defs":"definitions";if(e.external){let r=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(r)return{ref:i(r)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i("__shared")}#/${n}/${a}`}}if(t[1]===r)return{ref:"#"};let i=`#/${n}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}})(t);n.def={...n.schema},a&&(n.defId=a);let s=n.schema;for(let e in s)delete s[e];s.$ref=i};if("throw"===e.cycles)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join("/")}/<root> 36 37Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let r of e.seen.entries()){let n=r[1];if(t===r[0]){i(r);continue}if(e.external){let n=e.external.registry.get(r[0])?.id;if(t!==r[0]&&n){i(r);continue}}if(e.metadataRegistry.get(r[0])?.id||n.cycle||n.count>1&&"ref"===e.reused){i(r);continue}}}function sj(e,t){let r=e.seen.get(t);if(!r)throw Error("Unprocessed schema. This is a bug in Zod.");let n=t=>{let r=e.seen.get(t);if(null===r.ref)return;let i=r.def??r.schema,a={...i},s=r.ref;if(r.ref=null,s){n(s);let r=e.seen.get(s),o=r.schema;if(o.$ref&&("draft-07"===e.target||"draft-04"===e.target||"openapi-3.0"===e.target)?(i.allOf=i.allOf??[],i.allOf.push(o)):Object.assign(i,o),Object.assign(i,a),t._zod.parent===s)for(let e in i)"$ref"!==e&&"allOf"!==e&&(e in a||delete i[e]);if(o.$ref)for(let e in i)"$ref"!==e&&"allOf"!==e&&e in r.def&&JSON.stringify(i[e])===JSON.stringify(r.def[e])&&delete i[e]}let o=t._zod.parent;if(o&&o!==s){n(o);let t=e.seen.get(o);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)"$ref"!==e&&"allOf"!==e&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:r.path??[]})};for(let t of[...e.seen.entries()].reverse())n(t[0]);let i={};
37if("draft-2020-12"===e.target?i.$schema="https://json-schema.org/draft/2020-12/schema":"draft-07"===e.target?i.$schema="http://json-schema.org/draft-07/schema#":"draft-04"===e.target?i.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let r=e.external.registry.get(t)?.id;if(!r)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(r)}Object.assign(i,r.def??r.schema);let a=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(a[e.defId]=e.def)}e.external||Object.keys(a).length>0&&("draft-2020-12"===e.target?i.$defs=a:i.definitions=a);try{let r=JSON.parse(JSON.stringify(i));return Object.defineProperty(r,"~standard",{value:{...t["~standard"],jsonSchema:{input:sB(t,"input",e.processors),output:sB(t,"output",e.processors)}},enumerable:!1,writable:!1}),r}catch(e){throw Error("Error converting schema to JSON.")}}let sF=(e,t={})=>r=>{let n=sM({...r,processors:t});return sU(e,n),sz(n,e),sj(n,e)},sB=(e,t,r={})=>n=>{let{libraryOptions:i,target:a}=n??{},s=sM({...i??{},target:a,io:t,processors:r});return sU(e,s),sz(s,e),sj(s,e)},sZ={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},sH=(e,t,r,n)=>{r.type="string";let{minimum:i,maximum:a,format:s,patterns:o,contentEncoding:l}=e._zod.bag;if("number"==typeof i&&(r.minLength=i),"number"==typeof a&&(r.maxLength=a),s&&(r.format=sZ[s]??s,""===r.format&&delete r.format,"time"===s&&delete r.format),l&&(r.contentEncoding=l),o&&o.size>0){let e=[...o];1===e.length?r.pattern=e[0].source:e.length>1&&(r.allOf=[...e.map(e=>({..."draft-07"===t.target||"draft-04"===t.target||"openapi-3.0"===t.target?{type:"string"}:{},pattern:e.source}))])}},sG=(e,t,r,n)=>{let{minimum:i,maximum:a,format:s,multipleOf:o,exclusiveMaximum:l,exclusiveMinimum:u}=e._zod.bag;"string"==typeof s&&s.includes("int")?r.type="integer":r.type="number","number"==typeof u&&("draft-04"===t.target||"openapi-3.0"===t.target?(r.minimum=u,r.exclusiveMinimum=!0):r.exclusiveMinimum=u),"number"==typeof i&&(r.minimum=i,"number"==typeof u&&"draft-04"!==t.target&&(u>=i?delete r.minimum:delete r.exclusiveMinimum)),"number"==typeof l&&("draft-04"===t.target||"openapi-3.0"===t.target?(r.maximum=l,r.exclusiveMaximum=!0):r.exclusiveMaximum=l),"number"==typeof a&&(r.maximum=a,"number"==typeof l&&"draft-04"!==t.target&&(l<=a?delete r.maximum:delete r.exclusiveMaximum)),"number"==typeof o&&(r.multipleOf=o)},sY=(e,t,r,n)=>{r.type="boolean"},sV=(e,t,r,n)=>{if("throw"===t.unrepresentable)throw Error("BigInt cannot be represented in JSON Schema")},sW=(e,t,r,n)=>{if("throw"===t.unrepresentable)throw Error("Symbols cannot be represented in JSON Schema")},sq=(e,t,r,n)=>{"openapi-3.0"===t.target?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},sK=(e,t,r,n)=>{if("throw"===t.unrepresentable)throw Error("Undefined cannot be represented in JSON Schema")},sJ=(e,t,r,n)=>{if("throw"===t.unrepresentable)throw Error("Void cannot be represented in JSON Schema")},sX=(e,t,r,n)=>{r.not={}},sQ=(e,t,r,n)=>{},s0=(e,t,r,n)=>{},s1=(e,t,r,n)=>{if("throw"===t.unrepresentable)throw Error("Date cannot be represented in JSON Schema")},s4=(e,t,r,n)=>{let i=I(e._zod.def.entries);i.every(e=>"number"==typeof e)&&(r.type="number"),i.every(e=>"string"==typeof e)&&(r.type="string"),r.enum=i},s6=(e,t,r,n)=>{let i=e._zod.def,a=[];for(let e of i.values)if(void 0===e){if("throw"===t.unrepresentable)throw Error("Literal `undefined` cannot be represented in JSON Schema")}else if("bigint"==typeof e)if("throw"===t.unrepresentable)throw Error("BigInt literals cannot be represented in JSON Schema");else a.push(Number(e));else a.push(e);if(0===a.length);else if(1===a.length){let e=a[0];r.type=null===e?"null":typeof e,"draft-04"===t.target||"openapi-3.0"===t.target?r.enum=[e]:r.const=e}else a.every(e=>"number"==typeof e)&&(r.type="number"),a.every(e=>"string"==typeof e)&&(r.type="string"),a.every(e=>"boolean"==typeof e)&&(r.type="boolean"),a.every(e=>null===e)&&(r.type="null"),r.enum=a},s2=(e,t,r,n)=>{if("throw"===t.unrepresentable)throw Error("NaN cannot be represented in JSON Schema")},s9=(e,t,r,n)=>{let i=e._zod.pattern;if(!i)throw Error("Pattern not found in template literal");r.type="string",r.pattern=i.source},s5=(e,t,r,n)=>{let i={type:"string",format:"binary",contentEncoding:"binary"},{minimum:a,maximum:s,mime:o}=e._zod.bag;void 0!==a&&(i.minLength=a),void 0!==s&&(i.maxLength=s),o?1===o.length?(i.contentMediaType=o[0],Object.assign(r,i)):(Object.assign(r,i),r.anyOf=o.map(e=>({contentMediaType:e}))):Object.assign(r,i)},s3=(e,t,r,n)=>{r.type="boolean"},s7=(e,t,r,n)=>{if("throw"===t.unrepresentable)throw Error("Custom types cannot be represented in JSON Schema")},s8=(e,t,r,n)=>{if("throw"===t.unrepresentable)throw Error("Function types cannot be represented in JSON Schema")},oe=(e,t,r,n)=>{if("throw"===t.unrepresentable)throw Error("Transforms cannot be represented in JSON Schema")},ot=(e,t,r,n)=>{if("throw"===t.unrepresentable)throw Error("Map cannot be represented in JSON Schema")},or=(e,t,r,n)=>{if("throw"===t.unrepresentable)throw Error("Set cannot be represented in JSON Schema")},on=(e,t,r,n)=>{let i=e._zod.def,{minimum:a,maximum:s}=e._zod.bag;"number"==typeof a&&(r.minItems=a),"number"==typeof s&&(r.maxItems=s),r.type="array",r.items=sU(i.element,t,{...n,path:[...n.path,"items"]})},oi=(e,t,r,n)=>{let i=e._zod.def;r.type="object",r.properties={};let a=i.shape;for(let e in a)r.properties[e]=sU(a[e],t,{...n,path:[...n.path,"properties",e]});let s=new Set([...new Set(Object.keys(a))].filter(e=>{let r=i.shape[e]._zod;return"input"===t.io?void 0===r.optin:void 0===r.optout}));s.size>0&&(r.required=Array.from(s)),i.catchall?._zod.def.type==="never"?r.additionalProperties=!1:i.catchall?i.catchall&&(r.additionalProperties=sU(i.catchall,t,{...n,path:[...n.path,"additionalProperties"]})):"output"===t.io&&(r.additionalProperties=!1)},oa=(e,t,r,n)=>{let i=e._zod.def,a=!1===i.inclusive,s=i.options.map((e,r)=>sU(e,t,{...n,path:[...n.path,a?"oneOf":"anyOf",r]}));a?r.oneOf=s:r.anyOf=s},os=(e,t,r,n)=>{let i=e._zod.def,a=sU(i.left,t,{...n,path:[...n.path,"allOf",0]}),s=sU(i.right,t,{...n,path:[...n.path,"allOf",1]}),o=e=>"allOf"in e&&1===Object.keys(e).length;r.allOf=[...o(a)?a.allOf:[a],...o(s)?s.allOf:[s]]},oo=(e,t,r,n)=>{let i=e._zod.def;r.type="array";
37let a="draft-2020-12"===t.target?"prefixItems":"items",s="draft-2020-12"===t.target||"openapi-3.0"===t.target?"items":"additionalItems",o=i.items.map((e,r)=>sU(e,t,{...n,path:[...n.path,a,r]})),l=i.rest?sU(i.rest,t,{...n,path:[...n.path,s,..."openapi-3.0"===t.target?[i.items.length]:[]]}):null;"draft-2020-12"===t.target?(r.prefixItems=o,l&&(r.items=l)):"openapi-3.0"===t.target?(r.items={anyOf:o},l&&r.items.anyOf.push(l),r.minItems=o.length,l||(r.maxItems=o.length)):(r.items=o,l&&(r.additionalItems=l));let{minimum:u,maximum:c}=e._zod.bag;"number"==typeof u&&(r.minItems=u),"number"==typeof c&&(r.maxItems=c)},ol=(e,t,r,n)=>{let i=e._zod.def;r.type="object";let a=i.keyType,s=a._zod.bag,o=s?.patterns;if("loose"===i.mode&&o&&o.size>0){let e=sU(i.valueType,t,{...n,path:[...n.path,"patternProperties","*"]});for(let t of(r.patternProperties={},o))r.patternProperties[t.source]=e}else("draft-07"===t.target||"draft-2020-12"===t.target)&&(r.propertyNames=sU(i.keyType,t,{...n,path:[...n.path,"propertyNames"]})),r.additionalProperties=sU(i.valueType,t,{...n,path:[...n.path,"additionalProperties"]});let l=a._zod.values;if(l){let e=[...l].filter(e=>"string"==typeof e||"number"==typeof e);e.length>0&&(r.required=e)}},ou=(e,t,r,n)=>{let i=e._zod.def,a=sU(i.innerType,t,n),s=t.seen.get(e);"openapi-3.0"===t.target?(s.ref=i.innerType,r.nullable=!0):r.anyOf=[a,{type:"null"}]},oc=(e,t,r,n)=>{let i=e._zod.def;sU(i.innerType,t,n),t.seen.get(e).ref=i.innerType},od=(e,t,r,n)=>{let i=e._zod.def;sU(i.innerType,t,n),t.seen.get(e).ref=i.innerType,r.default=JSON.parse(JSON.stringify(i.defaultValue))},om=(e,t,r,n)=>{let i=e._zod.def;sU(i.innerType,t,n),t.seen.get(e).ref=i.innerType,"input"===t.io&&(r._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},op=(e,t,r,n)=>{let i,a=e._zod.def;sU(a.innerType,t,n),t.seen.get(e).ref=a.innerType;try{i=a.catchValue(void 0)}catch{throw Error("Dynamic catch values are not supported in JSON Schema")}r.default=i},oh=(e,t,r,n)=>{let i=e._zod.def,a="input"===t.io?"transform"===i.in._zod.def.type?i.out:i.in:i.out;sU(a,t,n),t.seen.get(e).ref=a},of=(e,t,r,n)=>{let i=e._zod.def;sU(i.innerType,t,n),t.seen.get(e).ref=i.innerType,r.readOnly=!0},og=(e,t,r,n)=>{let i=e._zod.def;sU(i.innerType,t,n),t.seen.get(e).ref=i.innerType},o_=(e,t,r,n)=>{let i=e._zod.def;sU(i.innerType,t,n),t.seen.get(e).ref=i.innerType},ov=(e,t,r,n)=>{let i=e._zod.innerType;sU(i,t,n),t.seen.get(e).ref=i},oE={string:sH,number:sG,boolean:sY,bigint:sV,symbol:sW,null:sq,undefined:sK,void:sJ,never:sX,any:sQ,unknown:s0,date:s1,enum:s4,literal:s6,nan:s2,template_literal:s9,file:s5,success:s3,custom:s7,function:s8,transform:oe,map:ot,set:or,array:on,object:oi,union:oa,intersection:os,tuple:oo,record:ol,nullable:ou,nonoptional:oc,default:od,prefault:om,catch:op,pipe:oh,readonly:of,promise:og,optional:o_,lazy:ov};function oy(e,t){if("_idmap"in e){let r=sM({...t,processors:oE}),n={};
37for(let t of e._idmap.entries()){let[e,n]=t;sU(n,r)}let i={};for(let a of(r.external={registry:e,uri:t?.uri,defs:n},e._idmap.entries())){let[e,t]=a;sz(r,t),i[e]=sj(r,t)}return Object.keys(n).length>0&&(i.__shared={["draft-2020-12"===r.target?"$defs":"definitions"]:n}),{schemas:i}}let r=sM({...t,processors:oE});return sU(e,r),sz(r,e),sj(r,e)}class ob{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(e){this.ctx.counter=e}get seen(){return this.ctx.seen}constructor(e){let t=e?.target??"draft-2020-12";"draft-4"===t&&(t="draft-04"),"draft-7"===t&&(t="draft-07"),this.ctx=sM({processors:oE,target:t,...e?.metadata&&{metadata:e.metadata},...e?.unrepresentable&&{unrepresentable:e.unrepresentable},...e?.override&&{override:e.override},...e?.io&&{io:e.io}})}process(e,t={path:[],schemaPath:[]}){return sU(e,this.ctx,t)}emit(e,t){t&&(t.cycles&&(this.ctx.cycles=t.cycles),t.reused&&(this.ctx.reused=t.reused),t.external&&(this.ctx.external=t.external)),sz(this.ctx,e);let{"~standard":r,...n}=sj(this.ctx,e);return n}}let oT=f("ZodISODateTime",(e,t)=>{rP.init(e,t),oq.init(e,t)});function ok(e){return am(oT,e)}let ox=f("ZodISODate",(e,t)=>{rM.init(e,t),oq.init(e,t)});function oA(e){return ap(ox,e)}let oI=f("ZodISOTime",(e,t)=>{rU.init(e,t),oq.init(e,t)});function oS(e){return ah(oI,e)}let oN=f("ZodISODuration",(e,t)=>{rz.init(e,t),oq.init(e,t)});function oO(e){return af(oN,e)}let oC=(e,t)=>{e$.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>eR(e,t)},flatten:{value:t=>eD(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,N,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,N,2)}},isEmpty:{get:()=>0===e.issues.length}})},o$=f("ZodError",oC),ow=f("ZodError",oC,{Parent:Error}),oD=eU(ow),oR=ej(ow),oL=eB(ow),oP=eH(ow),oM=eY(ow),oU=eW(ow),oz=eK(ow),oj=eX(ow),oF=e0(ow),oB=e4(ow),oZ=e2(ow),oH=e5(ow),oG=f("ZodType",(e,t)=>(rT.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:sB(e,"input"),output:sB(e,"output")}}),e.toJSONSchema=sF(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...r)=>e.clone(M(t,{checks:[...t.checks??[],...r.map(e=>"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e)]}),{parent:!0}),e.with=e.check,e.clone=(t,r)=>ee(e,t,r),e.brand=()=>e,e.register=(t,r)=>(t.add(e,r),e),e.parse=(t,r)=>oD(e,t,r,{callee:e.parse}),e.safeParse=(t,r)=>oL(e,t,r),e.parseAsync=async(t,r)=>oR(e,t,r,{callee:e.parseAsync}),e.safeParseAsync=async(t,r)=>oP(e,t,r),e.spa=e.safeParseAsync,e.encode=(t,r)=>oM(e,t,r),e.decode=(t,r)=>oU(e,t,r),e.encodeAsync=async(t,r)=>oz(e,t,r),e.decodeAsync=async(t,r)=>oj(e,t,r),e.safeEncode=(t,r)=>oF(e,t,r),e.safeDecode=(t,r)=>oB(e,t,r),e.safeEncodeAsync=async(t,r)=>oZ(e,t,r),e.safeDecodeAsync=async(t,r)=>oH(e,t,r),e.refine=(t,r)=>e.check(cl(t,r)),e.superRefine=t=>e.check(s$(t)),e.overwrite=t=>e.check(a7(t)),e.optional=()=>uM(e),e.exactOptional=()=>uz(e),e.nullable=()=>uF(e),e.nullish=()=>uM(uF(e)),e.nonoptional=t=>uW(e,t),e.array=()=>un(e),e.or=t=>uc([e,t]),e.and=t=>ug(e,t),e.transform=t=>u4(e,uL(t)),e.default=t=>uH(e,t),e.prefault=t=>uY(e,t),e.catch=t=>uX(e,t),e.pipe=t=>u4(e,t),e.readonly=()=>u5(e),e.describe=t=>{let r=e.clone();return iq.add(r,{description:t}),r},Object.defineProperty(e,"description",{get:()=>iq.get(e)?.description,configurable:!0}),e.meta=(...t)=>{if(0===t.length)return iq.get(e);let r=e.clone();return iq.add(r,t[0]),r},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=t=>t(e),e)),oY=f("_ZodString",(e,t)=>{rk.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>sH(e,t,r,n);let r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...t)=>e.check(a0(...t)),e.includes=(...t)=>e.check(a6(...t)),e.startsWith=(...t)=>e.check(a2(...t)),e.endsWith=(...t)=>e.check(a9(...t)),e.min=(...t)=>e.check(aX(...t)),e.max=(...t)=>e.check(aJ(...t)),e.length=(...t)=>e.check(aQ(...t)),e.nonempty=(...t)=>e.check(aX(1,...t)),e.lowercase=t=>e.check(a1(t)),e.uppercase=t=>e.check(a4(t)),e.trim=()=>e.check(se()),e.normalize=(...t)=>e.check(a8(...t)),e.toLowerCase=()=>e.check(st()),e.toUpperCase=()=>e.check(sr()),e.slugify=()=>e.check(sn())}),oV=f("ZodString",(e,t)=>{rk.init(e,t),oY.init(e,t),e.email=t=>e.check(iX(oK,t)),e.url=t=>e.check(i2(o9,t)),e.jwt=t=>e.check(ac(lN,t)),e.emoji=t=>e.check(i9(o7,t)),e.guid=t=>e.check(iQ(oX,t)),e.uuid=t=>e.check(i0(o0,t)),e.uuidv4=t=>e.check(i1(o0,t)),e.uuidv6=t=>e.check(i4(o0,t)),e.uuidv7=t=>e.check(i6(o0,t)),e.nanoid=t=>e.check(i5(le,t)),e.guid=t=>e.check(iQ(oX,t)),e.cuid=t=>e.check(i3(lr,t)),e.cuid2=t=>e.check(i7(li,t)),e.ulid=t=>e.check(i8(ls,t)),e.base64=t=>e.check(ao(lT,t)),e.base64url=t=>e.check(al(lx,t)),e.xid=t=>e.check(ae(ll,t)),e.ksuid=t=>e.check(at(lc,t)),e.ipv4=t=>e.check(ar(lm,t)),e.ipv6=t=>e.check(an(lg,t)),e.cidrv4=t=>e.check(aa(lv,t)),e.cidrv6=t=>e.check(as(ly,t)),e.e164=t=>e.check(au(lI,t)),e.datetime=t=>e.check(ok(t)),e.date=t=>e.check(oA(t)),e.time=t=>e.check(oS(t)),e.duration=t=>e.check(oO(t))});function oW(e){return iK(oV,e)}let oq=f("ZodStringFormat",(e,t)=>{rx.init(e,t),oY.init(e,t)}),oK=f("ZodEmail",(e,t)=>{rS.init(e,t),oq.init(e,t)});function oJ(e){return iX(oK,e)}let oX=f("ZodGUID",(e,t)=>{rA.init(e,t),oq.init(e,t)});function oQ(e){return iQ(oX,e)}let o0=f("ZodUUID",(e,t)=>{rI.init(e,t),oq.init(e,t)});function o1(e){return i0(o0,e)}function o4(e){return i1(o0,e)}
37function o6(e){return i4(o0,e)}function o2(e){return i6(o0,e)}let o9=f("ZodURL",(e,t)=>{rN.init(e,t),oq.init(e,t)});function o5(e){return i2(o9,e)}function o3(e){return i2(o9,{protocol:/^https?$/,hostname:tI,...et(e)})}let o7=f("ZodEmoji",(e,t)=>{rO.init(e,t),oq.init(e,t)});function o8(e){return i9(o7,e)}let le=f("ZodNanoID",(e,t)=>{rC.init(e,t),oq.init(e,t)});function lt(e){return i5(le,e)}let lr=f("ZodCUID",(e,t)=>{r$.init(e,t),oq.init(e,t)});function ln(e){return i3(lr,e)}let li=f("ZodCUID2",(e,t)=>{rw.init(e,t),oq.init(e,t)});function la(e){return i7(li,e)}let ls=f("ZodULID",(e,t)=>{rD.init(e,t),oq.init(e,t)});function lo(e){return i8(ls,e)}let ll=f("ZodXID",(e,t)=>{rR.init(e,t),oq.init(e,t)});function lu(e){return ae(ll,e)}let lc=f("ZodKSUID",(e,t)=>{rL.init(e,t),oq.init(e,t)});function ld(e){return at(lc,e)}let lm=f("ZodIPv4",(e,t)=>{rj.init(e,t),oq.init(e,t)});function lp(e){return ar(lm,e)}let lh=f("ZodMAC",(e,t)=>{rB.init(e,t),oq.init(e,t)});function lf(e){return ai(lh,e)}let lg=f("ZodIPv6",(e,t)=>{rF.init(e,t),oq.init(e,t)});function l_(e){return an(lg,e)}let lv=f("ZodCIDRv4",(e,t)=>{rZ.init(e,t),oq.init(e,t)});function lE(e){return aa(lv,e)}let ly=f("ZodCIDRv6",(e,t)=>{rH.init(e,t),oq.init(e,t)});function lb(e){return as(ly,e)}let lT=f("ZodBase64",(e,t)=>{rY.init(e,t),oq.init(e,t)});function lk(e){return ao(lT,e)}let lx=f("ZodBase64URL",(e,t)=>{rW.init(e,t),oq.init(e,t)});function lA(e){return al(lx,e)}let lI=f("ZodE164",(e,t)=>{rq.init(e,t),oq.init(e,t)});function lS(e){return au(lI,e)}let lN=f("ZodJWT",(e,t)=>{rJ.init(e,t),oq.init(e,t)});function lO(e){return ac(lN,e)}let lC=f("ZodCustomStringFormat",(e,t)=>{rX.init(e,t),oq.init(e,t)});function l$(e,t,r={}){return sP(lC,e,t,r)}function lw(e){return sP(lC,"hostname",tA,e)}function lD(e){return sP(lC,"hex",tB,e)}function lR(e,t){let r=t?.enc??"hex",n=`${e}_${r}`,i=s[n];if(!i)throw Error(`Unrecognized hash format: ${n}`);return sP(lC,n,i,t)}let lL=f("ZodNumber",(e,t)=>{rQ.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>sG(e,t,r,n),e.gt=(t,r)=>e.check(aF(t,r)),e.gte=(t,r)=>e.check(aB(t,r)),e.min=(t,r)=>e.check(aB(t,r)),e.lt=(t,r)=>e.check(az(t,r)),e.lte=(t,r)=>e.check(aj(t,r)),e.max=(t,r)=>e.check(aj(t,r)),e.int=t=>e.check(lU(t)),e.safe=t=>e.check(lU(t)),e.positive=t=>e.check(aF(0,t)),e.nonnegative=t=>e.check(aB(0,t)),e.negative=t=>e.check(az(0,t)),e.nonpositive=t=>e.check(aj(0,t)),e.multipleOf=(t,r)=>e.check(aV(t,r)),e.step=(t,r)=>e.check(aV(t,r)),e.finite=()=>e;let r=e._zod.bag;e.minValue=Math.max(r.minimum??-1/0,r.exclusiveMinimum??-1/0)??null,e.maxValue=Math.min(r.maximum??1/0,r.exclusiveMaximum??1/0)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function lP(e){return ag(lL,e)}let lM=f("ZodNumberFormat",(e,t)=>{r0.init(e,t),lL.init(e,t)});function lU(e){return av(lM,e)}function lz(e){return aE(lM,e)}function lj(e){return ay(lM,e)}function lF(e){return ab(lM,e)}function lB(e){return aT(lM,e)}let lZ=f("ZodBoolean",(e,t)=>{r1.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>sY(e,t,r,n)});function lH(e){return ak(lZ,e)}let lG=f("ZodBigInt",(e,t)=>{r4.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>sV(e,t,r,n),e.gte=(t,r)=>e.check(aB(t,r)),e.min=(t,r)=>e.check(aB(t,r)),e.gt=(t,r)=>e.check(aF(t,r)),e.gte=(t,r)=>e.check(aB(t,r)),e.min=(t,r)=>e.check(aB(t,r)),e.lt=(t,r)=>e.check(az(t,r)),e.lte=(t,r)=>e.check(aj(t,r)),e.max=(t,r)=>e.check(aj(t,r)),e.positive=t=>e.check(aF(BigInt(0),t)),e.negative=t=>e.check(az(BigInt(0),t)),e.nonpositive=t=>e.check(aj(BigInt(0),t)),e.nonnegative=t=>e.check(aB(BigInt(0),t)),e.multipleOf=(t,r)=>e.check(aV(t,r));let r=e._zod.bag;e.minValue=r.minimum??null,e.maxValue=r.maximum??null,e.format=r.format??null});function lY(e){return aA(lG,e)}let lV=f("ZodBigIntFormat",(e,t)=>{r6.init(e,t),lG.init(e,t)});function lW(e){return aS(lV,e)}function lq(e){return aN(lV,e)}let lK=f("ZodSymbol",(e,t)=>{r2.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>sW(e,t,r,n)});function lJ(e){return aO(lK,e)}let lX=f("ZodUndefined",(e,t)=>{r9.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>sK(e,t,r,n)});function lQ(e){return aC(lX,e)}let l0=f("ZodNull",(e,t)=>{r5.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>sq(e,t,r,n)});function l1(e){return a$(l0,e)}
37let l4=f("ZodAny",(e,t)=>{r3.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>sQ(e,t,r,n)});function l6(){return aw(l4)}let l2=f("ZodUnknown",(e,t)=>{r7.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>s0(e,t,r,n)});function l9(){return aD(l2)}let l5=f("ZodNever",(e,t)=>{r8.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>sX(e,t,r,n)});function l3(e){return aR(l5,e)}let l7=f("ZodVoid",(e,t)=>{ne.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>sJ(e,t,r,n)});function l8(e){return aL(l7,e)}let ue=f("ZodDate",(e,t)=>{nt.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>s1(e,t,r,n),e.min=(t,r)=>e.check(aB(t,r)),e.max=(t,r)=>e.check(aj(t,r));let r=e._zod.bag;e.minDate=r.minimum?new Date(r.minimum):null,e.maxDate=r.maximum?new Date(r.maximum):null});function ut(e){return aP(ue,e)}let ur=f("ZodArray",(e,t)=>{nn.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>on(e,t,r,n),e.element=t.element,e.min=(t,r)=>e.check(aX(t,r)),e.nonempty=t=>e.check(aX(1,t)),e.max=(t,r)=>e.check(aJ(t,r)),e.length=(t,r)=>e.check(aQ(t,r)),e.unwrap=()=>e.element});function un(e,t){return si(ur,e,t)}function ui(e){return uN(Object.keys(e._zod.def.shape))}let ua=f("ZodObject",(e,t)=>{nl.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>oi(e,t,r,n),R(e,"shape",()=>t.shape),e.keyof=()=>uN(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:l9()}),e.loose=()=>e.clone({...e._zod.def,catchall:l9()}),e.strict=()=>e.clone({...e._zod.def,catchall:l3()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>eu(e,t),e.safeExtend=t=>ec(e,t),e.merge=t=>ed(e,t),e.pick=t=>eo(e,t),e.omit=t=>el(e,t),e.partial=(...t)=>em(uP,e,t[0]),e.required=(...t)=>ep(uV,e,t[0])});function us(e,t){return new ua({type:"object",shape:e??{},...et(t)})}function uo(e,t){return new ua({type:"object",shape:e,catchall:l3(),...et(t)})}function ul(e,t){return new ua({type:"object",shape:e,catchall:l9(),...et(t)})}let uu=f("ZodUnion",(e,t)=>{nc.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>oa(e,t,r,n),e.options=t.options});function uc(e,t){return new uu({type:"union",options:e,...et(t)})}let ud=f("ZodXor",(e,t)=>{uu.init(e,t),nm.init(e,t),e._zod.processJSONSchema=(t,r,n)=>oa(e,t,r,n),e.options=t.options});function um(e,t){return new ud({type:"union",options:e,inclusive:!1,...et(t)})}let up=f("ZodDiscriminatedUnion",(e,t)=>{uu.init(e,t),np.init(e,t)});function uh(e,t,r){return new up({type:"union",options:t,discriminator:e,...et(r)})}let uf=f("ZodIntersection",(e,t)=>{nh.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>os(e,t,r,n)});function ug(e,t){return new uf({type:"intersection",left:e,right:t})}let u_=f("ZodTuple",(e,t)=>{ng.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>oo(e,t,r,n),e.rest=t=>e.clone({...e._zod.def,rest:t})});function uv(e,t,r){let n=t instanceof rT,i=n?r:t;return new u_({type:"tuple",items:e,rest:n?t:null,...et(i)})}let uE=f("ZodRecord",(e,t)=>{nv.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>ol(e,t,r,n),e.keyType=t.keyType,e.valueType=t.valueType});function uy(e,t,r){return new uE({type:"record",keyType:e,valueType:t,...et(r)})}function ub(e,t,r){let n=ee(e);return n._zod.values=void 0,new uE({type:"record",keyType:n,valueType:t,...et(r)})}function uT(e,t,r){return new uE({type:"record",keyType:e,valueType:t,mode:"loose",...et(r)})}let uk=f("ZodMap",(e,t)=>{nE.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>ot(e,t,r,n),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...t)=>e.check(aq(...t)),e.nonempty=t=>e.check(aq(1,t)),e.max=(...t)=>e.check(aW(...t)),e.size=(...t)=>e.check(aK(...t))});function ux(e,t,r){return new uk({type:"map",keyType:e,valueType:t,...et(r)})}let uA=f("ZodSet",(e,t)=>{nb.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>or(e,t,r,n),e.min=(...t)=>e.check(aq(...t)),e.nonempty=t=>e.check(aq(1,t)),e.max=(...t)=>e.check(aW(...t)),e.size=(...t)=>e.check(aK(...t))});function uI(e,t){return new uA({type:"set",valueType:e,...et(t)})}let uS=f("ZodEnum",(e,t)=>{nk.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>s4(e,t,r,n),e.enum=t.entries,e.options=Object.values(t.entries);let r=new Set(Object.keys(t.entries));e.extract=(e,n)=>{let i={};for(let n of e)if(r.has(n))i[n]=t.entries[n];else throw Error(`Key ${n} not found in enum`);
37return new uS({...t,checks:[],...et(n),entries:i})},e.exclude=(e,n)=>{let i={...t.entries};for(let t of e)if(r.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new uS({...t,checks:[],...et(n),entries:i})}});function uN(e,t){return new uS({type:"enum",entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...et(t)})}function uO(e,t){return new uS({type:"enum",entries:e,...et(t)})}let uC=f("ZodLiteral",(e,t)=>{nx.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>s6(e,t,r,n),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function u$(e,t){return new uC({type:"literal",values:Array.isArray(e)?e:[e],...et(t)})}let uw=f("ZodFile",(e,t)=>{nA.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>s5(e,t,r,n),e.min=(t,r)=>e.check(aq(t,r)),e.max=(t,r)=>e.check(aW(t,r)),e.mime=(t,r)=>e.check(a3(Array.isArray(t)?t:[t],r))});function uD(e){return sg(uw,e)}let uR=f("ZodTransform",(e,t)=>{nI.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>oe(e,t,r,n),e._zod.parse=(r,n)=>{if("backward"===n.direction)throw new v(e.constructor.name);r.addIssue=n=>{"string"==typeof n?r.issues.push(eb(n,r.value,t)):(n.fatal&&(n.continue=!1),n.code??(n.code="custom"),n.input??(n.input=r.value),n.inst??(n.inst=e),r.issues.push(eb(n)))};let i=t.transform(r.value,r);return i instanceof Promise?i.then(e=>(r.value=e,r)):(r.value=i,r)}});function uL(e){return new uR({type:"transform",transform:e})}let uP=f("ZodOptional",(e,t)=>{nN.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>o_(e,t,r,n),e.unwrap=()=>e._zod.def.innerType});function uM(e){return new uP({type:"optional",innerType:e})}let uU=f("ZodExactOptional",(e,t)=>{nO.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>o_(e,t,r,n),e.unwrap=()=>e._zod.def.innerType});function uz(e){return new uU({type:"optional",innerType:e})}let uj=f("ZodNullable",(e,t)=>{nC.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>ou(e,t,r,n),e.unwrap=()=>e._zod.def.innerType});function uF(e){return new uj({type:"nullable",innerType:e})}function uB(e){return uM(uF(e))}let uZ=f("ZodDefault",(e,t)=>{n$.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>od(e,t,r,n),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function uH(e,t){return new uZ({type:"default",innerType:e,get defaultValue(){return"function"==typeof t?t():W(t)}})}let uG=f("ZodPrefault",(e,t)=>{nD.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>om(e,t,r,n),e.unwrap=()=>e._zod.def.innerType});function uY(e,t){return new uG({type:"prefault",innerType:e,get defaultValue(){return"function"==typeof t?t():W(t)}})}let uV=f("ZodNonOptional",(e,t)=>{nR.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>oc(e,t,r,n),e.unwrap=()=>e._zod.def.innerType});function uW(e,t){return new uV({type:"nonoptional",innerType:e,...et(t)})}let uq=f("ZodSuccess",(e,t)=>{nP.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>s3(e,t,r,n),e.unwrap=()=>e._zod.def.innerType});function uK(e){return new uq({type:"success",innerType:e})}let uJ=f("ZodCatch",(e,t)=>{nM.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>op(e,t,r,n),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function uX(e,t){return new uJ({type:"catch",innerType:e,catchValue:"function"==typeof t?t:()=>t})}let uQ=f("ZodNaN",(e,t)=>{nU.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>s2(e,t,r,n)});function u0(e){return aU(uQ,e)}let u1=f("ZodPipe",(e,t)=>{nz.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>oh(e,t,r,n),e.in=t.in,e.out=t.out});function u4(e,t){return new u1({type:"pipe",in:e,out:t})}let u6=f("ZodCodec",(e,t)=>{u1.init(e,t),nF.init(e,t)});function u2(e,t,r){return new u6({type:"pipe",in:e,out:t,transform:r.decode,reverseTransform:r.encode})}let u9=f("ZodReadonly",(e,t)=>{nH.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>of(e,t,r,n),e.unwrap=()=>e._zod.def.innerType});function u5(e){return new u9({type:"readonly",innerType:e})}let u3=f("ZodTemplateLiteral",(e,t)=>{nY.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>s9(e,t,r,n)});function u7(e,t){return new u3({type:"template_literal",parts:e,...et(t)})}let u8=f("ZodLazy",(e,t)=>{nq.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>ov(e,t,r,n),e.unwrap=()=>e._zod.def.getter()});function ce(e){return new u8({type:"lazy",getter:e})}let ct=f("ZodPromise",(e,t)=>{nW.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>og(e,t,r,n),e.unwrap=()=>e._zod.def.innerType});function cr(e){return new ct({type:"promise",innerType:e})}let cn=f("ZodFunction",(e,t)=>{nV.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>s8(e,t,r,n)});function ci(e){return new cn({type:"function",input:Array.isArray(e?.input)?uv(e?.input):e?.input??un(l9()),output:e?.output??l9()})}let ca=f("ZodCustom",(e,t)=>{nK.init(e,t),oG.init(e,t),e._zod.processJSONSchema=(t,r,n)=>s7(e,t,r,n)});function cs(e){let t=new t5({check:"custom"});return t._zod.check=e,t}function co(e,t){return sO(ca,e??(()=>!0),t)}function cl(e,t={}){return sC(ca,e,t)}function cu(e){return s$(e)}let cc=sD,cd=sR;function cm(e,t={}){let r=new ca({type:"custom",check:"custom",fn:t=>t instanceof e,abort:!0,...et(t)});return r._zod.bag.Class=e,r._zod.check=t=>{t.value instanceof e||t.issues.push({code:"invalid_type",expected:e.name,input:t.value,inst:r,path:[...r._zod.def.path??[]]})},r}let cp=(...e)=>
37sL({Codec:u6,Boolean:lZ,String:oV},...e);function ch(e){let t=ce(()=>uc([oW(e),lP(),lH(),l1(),un(t),uy(oW(),t)]));return t}function cf(e,t){return u4(uL(e),t)}let cg={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 c_(e){y({customError:e})}function cv(){return y().customError}i||(i={});let cE={...m,...c,iso:d},cy=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 cb(e,t){var r;let n;if("boolean"==typeof e)return e?cE.any():cE.never();let i={version:(r=t?.defaultTarget,"https://json-schema.org/draft/2020-12/schema"===(n=e.$schema)?"draft-2020-12":"http://json-schema.org/draft-07/schema#"===n?"draft-7":"http://json-schema.org/draft-04/schema#"===n?"draft-4":r??"draft-2020-12"),defs:e.$defs||e.definitions||{},refs:new Map,processing:new Set,rootSchema:e,registry:t?.registry??iq};return function e(t,r){if("boolean"==typeof t)return t?cE.any():cE.never();let n=function t(r,n){let i;if(void 0!==r.not){if("object"==typeof r.not&&0===Object.keys(r.not).length)return cE.never();throw Error("not is not supported in Zod (except { not: {} } for never)")}if(void 0!==r.unevaluatedItems)throw Error("unevaluatedItems is not supported");if(void 0!==r.unevaluatedProperties)throw Error("unevaluatedProperties is not supported");if(void 0!==r.if||void 0!==r.then||void 0!==r.else)throw Error("Conditional schemas (if/then/else) are not supported");if(void 0!==r.dependentSchemas||void 0!==r.dependentRequired)throw Error("dependentSchemas and dependentRequired are not supported");if(r.$ref){let t=r.$ref;if(n.refs.has(t))return n.refs.get(t);if(n.processing.has(t))return cE.lazy(()=>{if(!n.refs.has(t))throw Error(`Circular reference not resolved: ${t}`);return n.refs.get(t)});n.processing.add(t);let i=e(function(e,t){if(!e.startsWith("#"))throw Error("External $ref is not supported, only local refs (#/...) are allowed");let r=e.slice(1).split("/").filter(Boolean);if(0===r.length)return t.rootSchema;let n="draft-2020-12"===t.version?"$defs":"definitions";if(r[0]===n){let n=r[1];if(!n||!t.defs[n])throw Error(`Reference not found: ${e}`);return t.defs[n]}throw Error(`Reference not found: ${e}`)}(t,n),n);return n.refs.set(t,i),n.processing.delete(t),i}if(void 0!==r.enum){let e=r.enum;if("openapi-3.0"===n.version&&!0===r.nullable&&1===e.length&&null===e[0])return cE.null();if(0===e.length)return cE.never();if(1===e.length)return cE.literal(e[0]);if(e.every(e=>"string"==typeof e))return cE.enum(e);let t=e.map(e=>cE.literal(e));return t.length<2?t[0]:cE.union([t[0],t[1],...t.slice(2)])}if(void 0!==r.const)return cE.literal(r.const);let a=r.type;if(Array.isArray(a)){let e=a.map(e=>t({...r,type:e},n));return 0===e.length?cE.never():1===e.length?e[0]:cE.union(e)}if(!a)return cE.any();switch(a){case"string":{let e=cE.string();if(r.format){let t=r.format;"email"===t?e=e.check(cE.email()):"uri"===t||"uri-reference"===t?e=e.check(cE.url()):"uuid"===t||"guid"===t?e=e.check(cE.uuid()):"date-time"===t?e=e.check(cE.iso.datetime()):"date"===t?e=e.check(cE.iso.date()):"time"===t?e=e.check(cE.iso.time()):"duration"===t?e=e.check(cE.iso.duration()):"ipv4"===t?e=e.check(cE.ipv4()):"ipv6"===t?e=e.check(cE.ipv6()):"mac"===t?e=e.check(cE.mac()):"cidr"===t?e=e.check(cE.cidrv4()):"cidr-v6"===t?e=e.check(cE.cidrv6()):"base64"===t?e=e.check(cE.base64()):"base64url"===t?e=e.check(cE.base64url()):"e164"===t?e=e.check(cE.e164()):"jwt"===t?e=e.check(cE.jwt()):"emoji"===t?e=e.check(cE.emoji()):"nanoid"===t?e=e.check(cE.nanoid()):"cuid"===t?e=e.check(cE.cuid()):"cuid2"===t?e=e.check(cE.cuid2()):"ulid"===t?e=e.check(cE.ulid()):"xid"===t?e=e.check(cE.xid()):"ksuid"===t&&(e=e.check(cE.ksuid()))}"number"==typeof r.minLength&&(e=e.min(r.minLength)),"number"==typeof r.maxLength&&(e=e.max(r.maxLength)),r.pattern&&(e=e.regex(new RegExp(r.pattern))),i=e;break}case"number":case"integer":{let e="integer"===a?cE.number().int():cE.number();"number"==typeof r.minimum&&(e=e.min(r.minimum)),"number"==typeof r.maximum&&(e=e.max(r.maximum)),"number"==typeof r.exclusiveMinimum?e=e.gt(r.exclusiveMinimum):!0===r.exclusiveMinimum&&"number"==typeof r.minimum&&(e=e.gt(r.minimum)),"number"==typeof r.exclusiveMaximum?e=e.lt(r.exclusiveMaximum):!0===r.exclusiveMaximum&&"number"==typeof r.maximum&&(e=e.lt(r.maximum)),"number"==typeof r.multipleOf&&(e=e.multipleOf(r.multipleOf)),i=e;break}case"boolean":i=cE.boolean();break;case"null":i=cE.null();break;case"object":{let t={},a=r.properties||{},s=new Set(r.required||[]);for(let[r,i]of Object.entries(a)){let a=e(i,n);t[r]=s.has(r)?a:a.optional()}if(r.propertyNames){let a=e(r.propertyNames,n),s=r.additionalProperties&&"object"==typeof r.additionalProperties?e(r.additionalProperties,n):cE.any();if(0===Object.keys(t).length){i=cE.record(a,s);break}let o=cE.object(t).passthrough(),l=cE.looseRecord(a,s);i=cE.intersection(o,l);break}if(r.patternProperties){let a=r.patternProperties,s=Object.keys(a),o=[];for(let t of s){let r=e(a[t],n),i=cE.string().regex(new RegExp(t));o.push(cE.looseRecord(i,r))}let l=[];
37if(Object.keys(t).length>0&&l.push(cE.object(t).passthrough()),l.push(...o),0===l.length)i=cE.object({}).passthrough();else if(1===l.length)i=l[0];else{let e=cE.intersection(l[0],l[1]);for(let t=2;t<l.length;t++)e=cE.intersection(e,l[t]);i=e}break}let o=cE.object(t);i=!1===r.additionalProperties?o.strict():"object"==typeof r.additionalProperties?o.catchall(e(r.additionalProperties,n)):o.passthrough();break}case"array":{let t=r.prefixItems,a=r.items;if(t&&Array.isArray(t)){let s=t.map(t=>e(t,n)),o=a&&"object"==typeof a&&!Array.isArray(a)?e(a,n):void 0;i=o?cE.tuple(s).rest(o):cE.tuple(s),"number"==typeof r.minItems&&(i=i.check(cE.minLength(r.minItems))),"number"==typeof r.maxItems&&(i=i.check(cE.maxLength(r.maxItems)))}else if(Array.isArray(a)){let t=a.map(t=>e(t,n)),s=r.additionalItems&&"object"==typeof r.additionalItems?e(r.additionalItems,n):void 0;i=s?cE.tuple(t).rest(s):cE.tuple(t),"number"==typeof r.minItems&&(i=i.check(cE.minLength(r.minItems))),"number"==typeof r.maxItems&&(i=i.check(cE.maxLength(r.maxItems)))}else if(void 0!==a){let t=e(a,n),s=cE.array(t);"number"==typeof r.minItems&&(s=s.min(r.minItems)),"number"==typeof r.maxItems&&(s=s.max(r.maxItems)),i=s}else i=cE.array(cE.any());break}default:throw Error(`Unsupported type: ${a}`)}return r.description&&(i=i.describe(r.description)),void 0!==r.default&&(i=i.default(r.default)),i}(t,r),i=t.type||void 0!==t.enum||void 0!==t.const;if(t.anyOf&&Array.isArray(t.anyOf)){let a=t.anyOf.map(t=>e(t,r)),s=cE.union(a);n=i?cE.intersection(n,s):s}if(t.oneOf&&Array.isArray(t.oneOf)){let a=t.oneOf.map(t=>e(t,r)),s=cE.xor(a);n=i?cE.intersection(n,s):s}if(t.allOf&&Array.isArray(t.allOf))if(0===t.allOf.length)n=i?n:cE.any();else{let a=i?n:e(t.allOf[0],r),s=+!i;for(let n=s;n<t.allOf.length;n++)a=cE.intersection(a,e(t.allOf[n],r));n=a}!0===t.nullable&&"openapi-3.0"===r.version&&(n=cE.nullable(n)),!0===t.readOnly&&(n=cE.readonly(n));let a={};for(let e of["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"])e in t&&(a[e]=t[e]);for(let e of["contentEncoding","contentMediaType","contentSchema"])e in t&&(a[e]=t[e]);for(let e of Object.keys(t))cy.has(e)||(a[e]=t[e]);return Object.keys(a).length>0&&r.registry.add(n,a),n}(e,i)}function cT(e){return iJ(oV,e)}function ck(e){return a_(lL,e)}function cx(e){return ax(lZ,e)}function cA(e){return aI(lG,e)}function cI(e){return aM(ue,e)}y(n3())},421637:(e,t,r)=>{r.d(t,{C:()=>a});
37class n extends Error{constructor(e,t){super(e),this.name="ParseError",this.type=t.type,this.field=t.field,this.value=t.value,this.line=t.line}}function i(e){}function a(e){if("function"==typeof e)throw TypeError("`config` must be an object, got a function instead. Did you mean `createParser({onEvent: fn})`?");let{onEvent:t=i,onError:r=i,onRetry:a=i,onComment:l,maxBufferSize:u}=e,c=[],d=0,m=!0,p,h="",f=0,g,_=!1;function v(){void 0!==u&&(d+h.length<=u||(_=!0,c.length=0,d=0,p=void 0,h="",f=0,g=void 0,r(new n(`Buffered data exceeded max buffer size of ${u} characters`,{type:"max-buffer-size-exceeded"}))))}function E(e){let r=0;if(-1===e.indexOf("\r")){let n=e.indexOf(` 38`,r);for(;-1!==n;){if(r===n){f>0&&t({id:p,event:g,data:h}),p=void 0,h="",f=0,g=void 0,r=n+1,n=e.indexOf(` 39`,r);continue}let i=e.charCodeAt(r);if(s(e,r,i)){let i=32===e.charCodeAt(r+5)?r+6:r+5,a=e.slice(i,n);if(0===f&&10===e.charCodeAt(n+1)){t({id:p,event:g,data:a}),p=void 0,h="",g=void 0,r=n+2,n=e.indexOf(` 40`,r);continue}h=0===f?a:`${h} 41${a}`,f++}else o(e,r,i)?g=e.slice(32===e.charCodeAt(r+6)?r+7:r+6,n)||void 0:y(e,r,n);r=n+1,n=e.indexOf(` 42`,r)}return e.slice(r)}for(;r<e.length;){let t=e.indexOf("\r",r),n=e.indexOf(` 43`,r),i=-1;if(-1!==t&&-1!==n?i=t<n?t:n:-1!==t?i=t===e.length-1?-1:t:-1!==n&&(i=n),-1===i)break;y(e,r,i),r=i+1,13===e.charCodeAt(r-1)&&10===e.charCodeAt(r)&&r++}return e.slice(r)}function y(e,r,n){if(r===n)return void(f>0&&t({id:p,event:g,data:h}),p=void 0,h="",f=0,g=void 0);let i=e.charCodeAt(r);if(s(e,r,i)){let t=32===e.charCodeAt(r+5)?r+6:r+5,i=e.slice(t,n);h=0===f?i:`${h} 44${i}`,f++;return}
44if(o(e,r,i)){g=e.slice(32===e.charCodeAt(r+6)?r+7:r+6,n)||void 0;return}if(105===i&&100===e.charCodeAt(r+1)&&58===e.charCodeAt(r+2)){let t=e.slice(32===e.charCodeAt(r+3)?r+4:r+3,n);p=t.includes("\0")?void 0:t;return}if(58===i){l&&l(e.slice(r,n).slice(32===e.charCodeAt(r+1)?2:1));return}let a=e.slice(r,n),u=a.indexOf(":");if(-1===u)return void b(a,"",a);let c=a.slice(0,u),d=32===a.charCodeAt(u+1)?2:1;b(c,a.slice(u+d),a)}function b(e,t,i){switch(e){case"event":g=t||void 0;break;case"data":h=0===f?t:`${h} 45${t}`,f++;break;case"id":p=t.includes("\0")?void 0:t;break;case"retry":/^\d+$/.test(t)?a(parseInt(t,10)):r(new n(`Invalid \`retry\` value: "${t}"`,{type:"invalid-retry",value:t,line:i}));break;default:r(new n(`Unknown field "${e.length>20?`${e.slice(0,20)}\u2026`:e}"`,{type:"unknown-field",field:e,value:t,line:i}))}}return{feed:function(e){if(_)throw Error("Cannot feed parser: it was terminated after exceeding the configured max buffer size. Call `reset()` to resume parsing.");if(m&&(m=!1,239===e.charCodeAt(0)&&187===e.charCodeAt(1)&&191===e.charCodeAt(2)&&(e=e.slice(3))),0===c.length){let t=E(e);""!==t&&(c.push(t),d=t.length),v();return}if(-1===e.indexOf(` 46`)&&-1===e.indexOf("\r")){c.push(e),d+=e.length,v();return}c.push(e);let t=c.join("");c.length=0,d=0;let r=E(t);""!==r&&(c.push(r),d=r.length),v()},reset:function(e={}){if(e.consume&&c.length>0){let e=c.join("");y(e,0,e.length)}m=!0,p=void 0,h="",f=0,g=void 0,c.length=0,d=0,_=!1}}}function s(e,t,r){return 100===r&&97===e.charCodeAt(t+1)&&116===e.charCodeAt(t+2)&&97===e.charCodeAt(t+3)&&58===e.charCodeAt(t+4)}function o(e,t,r){return 101===r&&118===e.charCodeAt(t+1)&&101===e.charCodeAt(t+2)&&110===e.charCodeAt(t+3)&&116===e.charCodeAt(t+4)&&58===e.charCodeAt(t+5)}},540604:(e,t,r)=>{let n;r.d(t,{W:()=>eB,nV:()=>eF,mD:()=>tT,Z9:()=>eP,n_:()=>eM,hK:()=>eV,$C:()=>eW,G1:()=>eq,ID:()=>ty,qx:()=>eK,_Z:()=>tS,cS:()=>eZ,hd:()=>tN,N8:()=>tI,ZZ:()=>tA,uM:()=>eH,k5:()=>tx,WZ:()=>eJ,jN:()=>tk});var i,a,s,o,l,u,c,d,m,p=r(855760),h=r(5529);(i=o||(o={})).assertEqual=e=>{},i.assertIs=function(e){},i.assertNever=function(e){throw Error()},i.arrayToEnum=e=>{let t={};for(let r of e)t[r]=r;return t},i.getValidEnumValues=e=>{let t=i.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),r={};for(let n of t)r[n]=e[n];return i.objectValues(r)},i.objectValues=e=>i.objectKeys(e).map(function(t){return e[t]}),i.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t},i.find=(e,t)=>{for(let r of e)if(t(r))return r},i.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&Number.isFinite(e)&&Math.floor(e)===e,i.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},i.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,(l||(l={})).mergeShapes=(e,t)=>({...e,...t});let f=o.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),g=e=>{switch(typeof e){case"undefined":return f.undefined;case"string":return f.string;case"number":return Number.isNaN(e)?f.nan:f.number;case"boolean":return f.boolean;case"function":return f.function;case"bigint":return f.bigint;case"symbol":return f.symbol;case"object":if(Array.isArray(e))return f.array;if(null===e)return f.null;if(e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch)return f.promise;if("u">typeof Map&&e instanceof Map)return f.map;if("u">typeof Set&&e instanceof Set)return f.set;if("u">typeof Date&&e instanceof Date)return f.date;return f.object;default:return f.unknown}}
46,_=o.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class v extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){let t=e||function(e){return e.message},r={_errors:[]},n=e=>{for(let i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(n);else if("invalid_return_type"===i.code)n(i.returnTypeError);else if("invalid_arguments"===i.code)n(i.argumentsError);else if(0===i.path.length)r._errors.push(t(i));else{let e=r,n=0;for(;n<i.path.length;){let r=i.path[n];n===i.path.length-1?(e[r]=e[r]||{_errors:[]},e[r]._errors.push(t(i))):e[r]=e[r]||{_errors:[]},e=e[r],n++}}};return n(this),r}static assert(e){if(!(e instanceof v))throw Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,o.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t=Object.create(null),r=[];for(let n of this.issues)if(n.path.length>0){let r=n.path[0];t[r]=t[r]||[],t[r].push(e(n))}else r.push(e(n));return{formErrors:r,fieldErrors:t}}get formErrors(){return this.flatten()}}v.create=e=>new v(e);let E=(e,t)=>{let r;switch(e.code){case _.invalid_type:r=e.received===f.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case _.invalid_literal:r=`Invalid literal value, expected ${JSON.stringify(e.expected,o.jsonStringifyReplacer)}`;break;case _.unrecognized_keys:r=`Unrecognized key(s) in object: ${o.joinValues(e.keys,", ")}`;break;case _.invalid_union:r="Invalid input";break;case _.invalid_union_discriminator:r=`Invalid discriminator value. Expected ${o.joinValues(e.options)}`;break;case _.invalid_enum_value:r=`Invalid enum value. Expected ${o.joinValues(e.options)}, received '${e.received}'`;break;case _.invalid_arguments:r="Invalid function arguments";break;case _.invalid_return_type:r="Invalid function return type";break;case _.invalid_date:r="Invalid date";break;case _.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(r=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(r=`${r} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?r=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?r=`Invalid input: must end with "${e.validation.endsWith}"`:o.assertNever(e.validation):r="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case _.too_small:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type||"bigint"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case _.too_big:r="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case _.custom:r="Invalid input";break;
vendor: 33,430 bytes, line 46
46case _.invalid_intersection_types:r="Intersection results could not be merged";break;case _.not_multiple_of:r=`Number must be a multiple of ${e.multipleOf}`;break;case _.not_finite:r="Number must be finite";break;default:r=t.defaultError,o.assertNever(e)}return{message:r}},y=e=>{let{data:t,path:r,errorMaps:n,issueData:i}=e,a=[...r,...i.path||[]],s={...i,path:a};if(void 0!==i.message)return{...i,path:a,message:i.message};let o="";for(let e of n.filter(e=>!!e).slice().reverse())o=e(s,{data:t,defaultError:o}).message;return{...i,path:a,message:o}};function b(e,t){let r=y({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,E,void 0].filter(e=>!!e)});e.common.issues.push(r)}class T{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let r=[];for(let n of t){if("aborted"===n.status)return k;"dirty"===n.status&&e.dirty(),r.push(n.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){let r=[];for(let e of t){let t=await e.key,n=await e.value;r.push({key:t,value:n})}return T.mergeObjectSync(e,r)}static mergeObjectSync(e,t){let r={};for(let n of t){let{key:t,value:i}=n;if("aborted"===t.status||"aborted"===i.status)return k;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"!==t.value&&(void 0!==i.value||n.alwaysSet)&&(r[t.value]=i.value)}return{status:e.value,value:r}}}let k=Object.freeze({status:"aborted"}),x=e=>({status:"dirty",value:e}),A=e=>({status:"valid",value:e}),I=e=>"u">typeof Promise&&e instanceof Promise;(a=u||(u={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},a.toString=e=>"string"==typeof e?e:e?.message;class S{constructor(e,t,r,n){this._cachedPath=[],this.parent=e,this.data=t,this._path=r,this._key=n}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let N=(e,t)=>{if("valid"===t.status)return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new v(e.common.issues);return this._error=t,this._error}}};function O(e){if(!e)return{};let{errorMap:t,invalid_type_error:r,required_error:n,description:i}=e;if(t&&(r||n))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(t,i)=>{let{message:a}=e;return"invalid_enum_value"===t.code?{message:a??i.defaultError}:void 0===i.data?{message:a??n??i.defaultError}:"invalid_type"!==t.code?{message:i.defaultError}:{message:a??r??i.defaultError}},description:i}}class C{get description(){return this._def.description}_getType(e){return g(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:g(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new T,ctx:{common:e.parent.common,data:e.data,parsedType:g(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(I(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let r=this.safeParse(e,t);if(r.success)return r.data;throw r.error}safeParse(e,t){let r={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:g(e)},n=this._parseSync({data:e,path:r.path,parent:r});return N(r,n)}"~validate"(e){let t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:g(e)};if(!this["~standard"].async)try{let r=this._parseSync({data:e,path:[],parent:t});return"valid"===r.status?{value:r.value}:{issues:t.common.issues}}catch(e){e?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>"valid"===e.status?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){let r=await this.safeParseAsync(e,t);if(r.success)return r.data;throw r.error}async safeParseAsync(e,t){let r={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:g(e)},n=this._parse({data:e,path:r.path,parent:r});return N(r,await (I(n)?n:Promise.resolve(n)))}refine(e,t){return this._refinement((r,n)=>{let i=e(r),a=()=>n.addIssue({code:_.custom,..."string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(r):t});return"u">typeof Promise&&i instanceof Promise?i.then(e=>!!e||(a(),!1)):!!i||(a(),!1)})}refinement(e,t){return this._refinement((r,n)=>!!e(r)||(n.addIssue("function"==typeof t?t(r,n):t),!1))}_refinement(e){return new ek({schema:this,typeName:c.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return ex.create(this,this._def)}nullable(){return eA.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return es.create(this)}promise(){return eT.create(this,this._def)}or(e){return el.create([this,e],this._def)}and(e){return ed.create(this,e,this._def)}transform(e){return new ek({...O(this._def),schema:this,typeName:c.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new eI({...O(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:c.ZodDefault})}brand(){return new eO({typeName:c.ZodBranded,type:this,...O(this._def)})}catch(e){return new eS({...O(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:c.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return eC.create(this,e)}readonly(){return e$.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let $=/^c[^\s-]{8,}$/i,w=/^[0-9a-z]+$/,D=/^[0-9A-HJKMNP-TV-Z]{26}$/i,R=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,L=/^[a-z0-9_-]{21}$/i,P=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,M=/^[-+]?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)?)??$/,U=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,z=/^(?:(?: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])$/,j=/^(?:(?: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])\/(3[0-2]|[12]?[0-9])$/,F=/^(([0-9a-fA-F]{1,4}:){7,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}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,B=/^(([0-9a-fA-F]{1,4}:){7,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}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Z=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,H=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,G="((\\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])))",Y=RegExp(`^${G}$`);function V(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`);let r=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${r}`}class W extends C{_parse(e){var t,r,i,a;let s;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==f.string){let t=this._getOrReturnCtx(e);return b(t,{code:_.invalid_type,expected:f.string,received:t.parsedType}),k}let l=new T;for(let u of this._def.checks)if("min"===u.kind)e.data.length<u.value&&(b(s=this._getOrReturnCtx(e,s),{code:_.too_small,minimum:u.value,type:"string",inclusive:!0,exact:!1,message:u.message}),l.dirty());else if("max"===u.kind)e.data.length>u.value&&(b(s=this._getOrReturnCtx(e,s),{code:_.too_big,maximum:u.value,type:"string",inclusive:!0,exact:!1,message:u.message}),l.dirty());else if("length"===u.kind){let t=e.data.length>u.value,r=e.data.length<u.value;(t||r)&&(s=this._getOrReturnCtx(e,s),t?b(s,{code:_.too_big,maximum:u.value,type:"string",inclusive:!0,exact:!0,message:u.message}):r&&b(s,{code:_.too_small,minimum:u.value,type:"string",inclusive:!0,exact:!0,message:u.message}),l.dirty())}else if("email"===u.kind)U.test(e.data)||(b(s=this._getOrReturnCtx(e,s),{validation:"email",code:_.invalid_string,message:u.message}),l.dirty());else if("emoji"===u.kind)n||(n=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),n.test(e.data)||(b(s=this._getOrReturnCtx(e,s),{validation:"emoji",code:_.invalid_string,message:u.message}),l.dirty());else if("uuid"===u.kind)R.test(e.data)||(b(s=this._getOrReturnCtx(e,s),{validation:"uuid",code:_.invalid_string,message:u.message}),l.dirty());else if("nanoid"===u.kind)L.test(e.data)||(b(s=this._getOrReturnCtx(e,s),{validation:"nanoid",code:_.invalid_string,message:u.message}),l.dirty());else if("cuid"===u.kind)$.test(e.data)||(b(s=this._getOrReturnCtx(e,s),{validation:"cuid",code:_.invalid_string,message:u.message}),l.dirty());else if("cuid2"===u.kind)w.test(e.data)||(b(s=this._getOrReturnCtx(e,s),{validation:"cuid2",code:_.invalid_string,message:u.message}),l.dirty());else if("ulid"===u.kind)D.test(e.data)||(b(s=this._getOrReturnCtx(e,s),{validation:"ulid",code:_.invalid_string,message:u.message}),l.dirty());else if("url"===u.kind)try{new URL(e.data)}catch{b(s=this._getOrReturnCtx(e,s),{validation:"url",code:_.invalid_string,message:u.message}),l.dirty()}else"regex"===u.kind?(u.regex.lastIndex=0,u.regex.test(e.data)||(b(s=this._getOrReturnCtx(e,s),{validation:"regex",code:_.invalid_string,message:u.message}),l.dirty())):"trim"===u.kind?e.data=e.data.trim():"includes"===u.kind?e.data.includes(u.value,u.position)||(b(s=this._getOrReturnCtx(e,s),{code:_.invalid_string,validation:{includes:u.value,position:u.position},message:u.message}),l.dirty()):"toLowerCase"===u.kind?e.data=e.data.toLowerCase():"toUpperCase"===u.kind?e.data=e.data.toUpperCase():"startsWith"===u.kind?e.data.startsWith(u.value)||(b(s=this._getOrReturnCtx(e,s),{code:_.invalid_string,validation:{startsWith:u.value},message:u.message}),l.dirty()):"endsWith"===u.kind?e.data.endsWith(u.value)||(b(s=this._getOrReturnCtx(e,s),{code:_.invalid_string,validation:{endsWith:u.value},message:u.message}),l.dirty()):"datetime"===u.kind?(function(e){let t=`${G}T${V(e)}`,r=[];return r.push(e.local?"Z?":"Z"),e.offset&&r.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${r.join("|")})`,RegExp(`^${t}$`)})(u).test(e.data)||(b(s=this._getOrReturnCtx(e,s),{code:_.invalid_string,validation:"datetime",message:u.message}),l.dirty()):"date"===u.kind?Y.test(e.data)||(b(s=this._getOrReturnCtx(e,s),{code:_.invalid_string,validation:"date",message:u.message}),l.dirty()):"time"===u.kind?RegExp(`^${V(u)}$`).test(e.data)||(b(s=this._getOrReturnCtx(e,s),{code:_.invalid_string,validation:"time",message:u.message}),l.dirty()):"duration"===u.kind?M.test(e.data)||(b(s=this._getOrReturnCtx(e,s),{validation:"duration",code:_.invalid_string,message:u.message}),l.dirty()):"ip"===u.kind?(t=e.data,!(("v4"===(r=u.version)||!r)&&z.test(t)||("v6"===r||!r)&&F.test(t))&&1&&(b(s=this._getOrReturnCtx(e,s),{validation:"ip",code:_.invalid_string,message:u.message}),l.dirty())):"jwt"===u.kind?!function(e,t){if(!P.test(e))return!1;try{let[r]=e.split(".");if(!r)return!1;let n=r.replace(/-/g,"+").replace(/_/g,"/").padEnd(r.length+(4-r.length%4)%4,"="),i=JSON.parse(atob(n));if("object"!=typeof i||null===i||"typ"in i&&i?.typ!=="JWT"||!i.alg||t&&i.alg!==t)return!1;return!0}catch{return!1}}(e.data,u.alg)&&(b(s=this._getOrReturnCtx(e,s),{validation:"jwt",code:_.invalid_string,message:u.message}),l.dirty()):"cidr"===u.kind?(i=e.data,!(("v4"===(a=u.version)||!a)&&j.test(i)||("v6"===a||!a)&&B.test(i))&&1&&(b(s=this._getOrReturnCtx(e,s),{validation:"cidr",code:_.invalid_string,message:u.message}),l.dirty())):"base64"===u.kind?Z.test(e.data)||(b(s=this._getOrReturnCtx(e,s),{validation:"base64",code:_.invalid_string,message:u.message}),l.dirty()):"base64url"===u.kind?H.test(e.data)||(b(s=this._getOrReturnCtx(e,s),{validation:"base64url",code:_.invalid_string,message:u.message}),l.dirty()):o.assertNever(u);return{status:l.value,value:e.data}}_regex(e,t,r){return this.refinement(t=>e.test(t),{validation:t,code:_.invalid_string,...u.errToObj(r)})}_addCheck(e){return new W({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...u.errToObj(e)})}url(e){return this._addCheck({kind:"url",...u.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...u.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...u.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...u.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...u.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...u.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...u.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...u.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...u.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...u.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...u.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...u.errToObj(e)})}datetime(e){return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===e?.precision?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...u.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===e?.precision?null:e?.precision,...u.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...u.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...u.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...u.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...u.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...u.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...u.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...u.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...u.errToObj(t)})}nonempty(e){return this.min(1,u.errToObj(e))}trim(){return new W({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new W({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new W({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}W.create=e=>new W({checks:[],typeName:c.ZodString,coerce:e?.coerce??!1,...O(e)});class q extends C{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==f.number){let t=this._getOrReturnCtx(e);return b(t,{code:_.invalid_type,expected:f.number,received:t.parsedType}),k}let r=new T;for(let n of this._def.checks)"int"===n.kind?o.isInteger(e.data)||(b(t=this._getOrReturnCtx(e,t),{code:_.invalid_type,expected:"integer",received:"float",message:n.message}),r.dirty()):"min"===n.kind?(n.inclusive?e.data<n.value:e.data<=n.value)&&(b(t=this._getOrReturnCtx(e,t),{code:_.too_small,minimum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),r.dirty()):"max"===n.kind?(n.inclusive?e.data>n.value:e.data>=n.value)&&(b(t=this._getOrReturnCtx(e,t),{code:_.too_big,maximum:n.value,type:"number",inclusive:n.inclusive,exact:!1,message:n.message}),r.dirty()):"multipleOf"===n.kind?0!==function(e,t){let r=(e.toString().split(".")[1]||"").length,n=(t.toString().split(".")[1]||"").length,i=r>n?r:n;return Number.parseInt(e.toFixed(i).replace(".",""))%Number.parseInt(t.toFixed(i).replace(".",""))/10**i}(e.data,n.value)&&(b(t=this._getOrReturnCtx(e,t),{code:_.not_multiple_of,multipleOf:n.value,message:n.message}),r.dirty()):"finite"===n.kind?Number.isFinite(e.data)||(b(t=this._getOrReturnCtx(e,t),{code:_.not_finite,message:n.message}),r.dirty()):o.assertNever(n);return{status:r.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,u.toString(t))}gt(e,t){return this.setLimit("min",e,!1,u.toString(t))}lte(e,t){return this.setLimit("max",e,!0,u.toString(t))}lt(e,t){return this.setLimit("max",e,!1,u.toString(t))}setLimit(e,t,r,n){return new q({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:u.toString(n)}]})}_addCheck(e){return new q({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:u.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:u.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:u.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:u.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:u.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:u.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:u.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:u.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:u.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&o.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let r of this._def.checks)if("finite"===r.kind||"int"===r.kind||"multipleOf"===r.kind)return!0;else"min"===r.kind?(null===t||r.value>t)&&(t=r.value):"max"===r.kind&&(null===e||r.value<e)&&(e=r.value);return Number.isFinite(t)&&Number.isFinite(e)}}q.create=e=>new q({checks:[],typeName:c.ZodNumber,coerce:e?.coerce||!1,...O(e)});class K extends C{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==f.bigint)return this._getInvalidInput(e);let r=new T;for(let n of this._def.checks)"min"===n.kind?(n.inclusive?e.data<n.value:e.data<=n.value)&&(b(t=this._getOrReturnCtx(e,t),{code:_.too_small,type:"bigint",minimum:n.value,inclusive:n.inclusive,message:n.message}),r.dirty()):"max"===n.kind?(n.inclusive?e.data>n.value:e.data>=n.value)&&(b(t=this._getOrReturnCtx(e,t),{code:_.too_big,type:"bigint",maximum:n.value,inclusive:n.inclusive,message:n.message}),r.dirty()):"multipleOf"===n.kind?e.data%n.value!==BigInt(0)&&(b(t=this._getOrReturnCtx(e,t),{code:_.not_multiple_of,multipleOf:n.value,message:n.message}),r.dirty()):o.assertNever(n);return{status:r.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return b(t,{code:_.invalid_type,expected:f.bigint,received:t.parsedType}),k}gte(e,t){return this.setLimit("min",e,!0,u.toString(t))}gt(e,t){return this.setLimit("min",e,!1,u.toString(t))}lte(e,t){return this.setLimit("max",e,!0,u.toString(t))}lt(e,t){return this.setLimit("max",e,!1,u.toString(t))}setLimit(e,t,r,n){return new K({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:r,message:u.toString(n)}]})}_addCheck(e){return new K({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:u.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:u.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:u.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:u.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:u.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}K.create=e=>new K({checks:[],typeName:c.ZodBigInt,coerce:e?.coerce??!1,...O(e)});class J extends C{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==f.boolean){let t=this._getOrReturnCtx(e);return b(t,{code:_.invalid_type,expected:f.boolean,received:t.parsedType}),k}return A(e.data)}}J.create=e=>new J({typeName:c.ZodBoolean,coerce:e?.coerce||!1,...O(e)});class X extends C{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==f.date){let t=this._getOrReturnCtx(e);return b(t,{code:_.invalid_type,expected:f.date,received:t.parsedType}),k}if(Number.isNaN(e.data.getTime()))return b(this._getOrReturnCtx(e),{code:_.invalid_date}),k;let r=new T;for(let n of this._def.checks)"min"===n.kind?e.data.getTime()<n.value&&(b(t=this._getOrReturnCtx(e,t),{code:_.too_small,message:n.message,inclusive:!0,exact:!1,minimum:n.value,type:"date"}),r.dirty()):"max"===n.kind?e.data.getTime()>n.value&&(b(t=this._getOrReturnCtx(e,t),{code:_.too_big,message:n.message,inclusive:!0,exact:!1,maximum:n.value,type:"date"}),r.dirty()):o.assertNever(n);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new X({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:u.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:u.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}X.create=e=>new X({checks:[],coerce:e?.coerce||!1,typeName:c.ZodDate,...O(e)});class Q extends C{_parse(e){if(this._getType(e)!==f.symbol){let t=this._getOrReturnCtx(e);return b(t,{code:_.invalid_type,expected:f.symbol,received:t.parsedType}),k}return A(e.data)}}Q.create=e=>new Q({typeName:c.ZodSymbol,...O(e)});class ee extends C{_parse(e){if(this._getType(e)!==f.undefined){let t=this._getOrReturnCtx(e);return b(t,{code:_.invalid_type,expected:f.undefined,received:t.parsedType}),k}return A(e.data)}}ee.create=e=>new ee({typeName:c.ZodUndefined,...O(e)});class et extends C{_parse(e){if(this._getType(e)!==f.null){let t=this._getOrReturnCtx(e);return b(t,{code:_.invalid_type,expected:f.null,received:t.parsedType}),k}return A(e.data)}}et.create=e=>new et({typeName:c.ZodNull,...O(e)});class er extends C{constructor(){super(...arguments),this._any=!0}_parse(e){return A(e.data)}}er.create=e=>new er({typeName:c.ZodAny,...O(e)});class en extends C{constructor(){super(...arguments),this._unknown=!0}_parse(e){return A(e.data)}}en.create=e=>new en({typeName:c.ZodUnknown,...O(e)});class ei extends C{_parse(e){let t=this._getOrReturnCtx(e);return b(t,{code:_.invalid_type,expected:f.never,received:t.parsedType}),k}}ei.create=e=>new ei({typeName:c.ZodNever,...O(e)});class ea extends C{_parse(e){if(this._getType(e)!==f.undefined){let t=this._getOrReturnCtx(e);return b(t,{code:_.invalid_type,expected:f.void,received:t.parsedType}),k}return A(e.data)}}ea.create=e=>new ea({typeName:c.ZodVoid,...O(e)});class es extends C{_parse(e){let{ctx:t,status:r}=this._processInputParams(e),n=this._def;if(t.parsedType!==f.array)return b(t,{code:_.invalid_type,expected:f.array,received:t.parsedType}),k;if(null!==n.exactLength){let e=t.data.length>n.exactLength.value,i=t.data.length<n.exactLength.value;(e||i)&&(b(t,{code:e?_.too_big:_.too_small,minimum:i?n.exactLength.value:void 0,maximum:e?n.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:n.exactLength.message}),r.dirty())}if(null!==n.minLength&&t.data.length<n.minLength.value&&(b(t,{code:_.too_small,minimum:n.minLength.value,type:"array",inclusive:!0,exact:!1,message:n.minLength.message}),r.dirty()),null!==n.maxLength&&t.data.length>n.maxLength.value&&(b(t,{code:_.too_big,maximum:n.maxLength.value,type:"array",inclusive:!0,exact:!1,message:n.maxLength.message}),r.dirty()),t.common.async)return Promise.all([...t.data].map((e,r)=>n.type._parseAsync(new S(t,e,t.path,r)))).then(e=>T.mergeArray(r,e));let i=[...t.data].map((e,r)=>n.type._parseSync(new S(t,e,t.path,r)));return T.mergeArray(r,i)}get element(){return this._def.type}min(e,t){return new es({...this._def,minLength:{value:e,message:u.toString(t)}})}max(e,t){return new es({...this._def,maxLength:{value:e,message:u.toString(t)}})}length(e,t){return new es({...this._def,exactLength:{value:e,message:u.toString(t)}})}nonempty(e){return this.min(1,e)}}es.create=(e,t)=>new es({type:e,minLength:null,maxLength:null,exactLength:null,typeName:c.ZodArray,...O(t)});class eo extends C{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=o.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==f.object){let t=this._getOrReturnCtx(e);return b(t,{code:_.invalid_type,expected:f.object,received:t.parsedType}),k}let{status:t,ctx:r}=this._processInputParams(e),{shape:n,keys:i}=this._getCached(),a=[];if(!(this._def.catchall instanceof ei&&"strip"===this._def.unknownKeys))for(let e in r.data)i.includes(e)||a.push(e);let s=[];for(let e of i){let t=n[e],i=r.data[e];s.push({key:{status:"valid",value:e},value:t._parse(new S(r,i,r.path,e)),alwaysSet:e in r.data})}if(this._def.catchall instanceof ei){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of a)s.push({key:{status:"valid",value:e},value:{status:"valid",value:r.data[e]}});else if("strict"===e)a.length>0&&(b(r,{code:_.unrecognized_keys,keys:a}),t.dirty());else if("strip"===e);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of a){let n=r.data[t];s.push({key:{status:"valid",value:t},value:e._parse(new S(r,n,r.path,t)),alwaysSet:t in r.data})}}return r.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of s){let r=await t.key,n=await t.value;e.push({key:r,value:n,alwaysSet:t.alwaysSet})}return e}).then(e=>T.mergeObjectSync(t,e)):T.mergeObjectSync(t,s)}get shape(){return this._def.shape()}strict(e){return u.errToObj,new eo({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,r)=>{let n=this._def.errorMap?.(t,r).message??r.defaultError;return"unrecognized_keys"===t.code?{message:u.errToObj(e).message??n}:{message:n}}}:{}})}strip(){return new eo({...this._def,unknownKeys:"strip"})}passthrough(){return new eo({...this._def,unknownKeys:"passthrough"})}extend(e){return new eo({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new eo({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:c.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new eo({...this._def,catchall:e})}pick(e){let t={};for(let r of o.objectKeys(e))e[r]&&this.shape[r]&&(t[r]=this.shape[r]);return new eo({...this._def,shape:()=>t})}omit(e){let t={};for(let r of o.objectKeys(this.shape))e[r]||(t[r]=this.shape[r]);return new eo({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(t instanceof eo){let r={};for(let n in t.shape){let i=t.shape[n];r[n]=ex.create(e(i))}return new eo({...t._def,shape:()=>r})}if(t instanceof es)return new es({...t._def,type:e(t.element)});if(t instanceof ex)return ex.create(e(t.unwrap()));if(t instanceof eA)return eA.create(e(t.unwrap()));if(t instanceof em)return em.create(t.items.map(t=>e(t)));else return t}(this)}partial(e){let t={};for(let r of o.objectKeys(this.shape)){let n=this.shape[r];e&&!e[r]?t[r]=n:t[r]=n.optional()}return new eo({...this._def,shape:()=>t})}required(e){let t={};for(let r of o.objectKeys(this.shape))if(e&&!e[r])t[r]=this.shape[r];else{let e=this.shape[r];for(;e instanceof ex;)e=e._def.innerType;t[r]=e}return new eo({...this._def,shape:()=>t})}keyof(){return eE(o.objectKeys(this.shape))}}eo.create=(e,t)=>new eo({shape:()=>e,unknownKeys:"strip",catchall:ei.create(),typeName:c.ZodObject,...O(t)}),eo.strictCreate=(e,t)=>new eo({shape:()=>e,unknownKeys:"strict",catchall:ei.create(),typeName:c.ZodObject,...O(t)}),eo.lazycreate=(e,t)=>new eo({shape:e,unknownKeys:"strip",catchall:ei.create(),typeName:c.ZodObject,...O(t)});class el extends C{_parse(e){let{ctx:t}=this._processInputParams(e),r=this._def.options;if(t.common.async)return Promise.all(r.map(async e=>{let r={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:r}),ctx:r}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let r of e)if("dirty"===r.result.status)return t.common.issues.push(...r.ctx.common.issues),r.result;let r=e.map(e=>new v(e.ctx.common.issues));return b(t,{code:_.invalid_union,unionErrors:r}),k});{let e,n=[];for(let i of r){let r={...t,common:{...t.common,issues:[]},parent:null},a=i._parseSync({data:t.data,path:t.path,parent:r});if("valid"===a.status)return a;"dirty"!==a.status||e||(e={result:a,ctx:r}),r.common.issues.length&&n.push(r.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=n.map(e=>new v(e));return b(t,{code:_.invalid_union,unionErrors:i}),k}}get options(){return this._def.options}}el.create=(e,t)=>
46new el({options:e,typeName:c.ZodUnion,...O(t)});let eu=e=>{if(e instanceof e_)return eu(e.schema);if(e instanceof ek)return eu(e.innerType());if(e instanceof ev)return[e.value];if(e instanceof ey)return e.options;if(e instanceof eb)return o.objectValues(e.enum);else if(e instanceof eI)return eu(e._def.innerType);else if(e instanceof ee)return[void 0];else if(e instanceof et)return[null];else if(e instanceof ex)return[void 0,...eu(e.unwrap())];else if(e instanceof eA)return[null,...eu(e.unwrap())];else if(e instanceof eO)return eu(e.unwrap());else if(e instanceof e$)return eu(e.unwrap());else if(e instanceof eS)return eu(e._def.innerType);else return[]};class ec extends C{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==f.object)return b(t,{code:_.invalid_type,expected:f.object,received:t.parsedType}),k;let r=this.discriminator,n=t.data[r],i=this.optionsMap.get(n);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(b(t,{code:_.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),k)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,r){let n=new Map;for(let r of t){let t=eu(r.shape[e]);if(!t.length)throw Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let i of t){if(n.has(i))throw Error(`Discriminator property ${String(e)} has duplicate value ${String(i)}`);n.set(i,r)}}return new ec({typeName:c.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:n,...O(r)})}}class ed extends C{_parse(e){let{status:t,ctx:r}=this._processInputParams(e),n=(e,n)=>{if("aborted"===e.status||"aborted"===n.status)return k;let i=function e(t,r){let n=g(t),i=g(r);if(t===r)return{valid:!0,data:t};if(n===f.object&&i===f.object){let n=o.objectKeys(r),i=o.objectKeys(t).filter(e=>-1!==n.indexOf(e)),a={...t,...r};for(let n of i){let i=e(t[n],r[n]);if(!i.valid)return{valid:!1};a[n]=i.data}return{valid:!0,data:a}}if(n===f.array&&i===f.array){if(t.length!==r.length)return{valid:!1};let n=[];for(let i=0;i<t.length;i++){let a=e(t[i],r[i]);if(!a.valid)return{valid:!1};n.push(a.data)}return{valid:!0,data:n}}if(n===f.date&&i===f.date&&+t==+r)return{valid:!0,data:t};return{valid:!1}}(e.value,n.value);return i.valid?(("dirty"===e.status||"dirty"===n.status)&&t.dirty(),{status:t.value,value:i.data}):(b(r,{code:_.invalid_intersection_types}),k)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([e,t])=>n(e,t)):n(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}ed.create=(e,t,r)=>new ed({left:e,right:t,typeName:c.ZodIntersection,...O(r)});class em extends C{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==f.array)return b(r,{code:_.invalid_type,expected:f.array,received:r.parsedType}),k;if(r.data.length<this._def.items.length)return b(r,{code:_.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),k;!this._def.rest&&r.data.length>this._def.items.length&&(b(r,{code:_.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let n=[...r.data].map((e,t)=>{let n=this._def.items[t]||this._def.rest;return n?n._parse(new S(r,e,r.path,t)):null}).filter(e=>!!e);return r.common.async?Promise.all(n).then(e=>T.mergeArray(t,e)):T.mergeArray(t,n)}get items(){return this._def.items}rest(e){return new em({...this._def,rest:e})}}em.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new em({items:e,typeName:c.ZodTuple,rest:null,...O(t)})};class ep extends C{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==f.object)return b(r,{code:_.invalid_type,expected:f.object,received:r.parsedType}),k;let n=[],i=this._def.keyType,a=this._def.valueType;for(let e in r.data)n.push({key:i._parse(new S(r,e,r.path,e)),value:a._parse(new S(r,r.data[e],r.path,e)),alwaysSet:e in r.data});return r.common.async?T.mergeObjectAsync(t,n):T.mergeObjectSync(t,n)}
46get element(){return this._def.valueType}static create(e,t,r){return new ep(t instanceof C?{keyType:e,valueType:t,typeName:c.ZodRecord,...O(r)}:{keyType:W.create(),valueType:e,typeName:c.ZodRecord,...O(t)})}}class eh extends C{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==f.map)return b(r,{code:_.invalid_type,expected:f.map,received:r.parsedType}),k;let n=this._def.keyType,i=this._def.valueType,a=[...r.data.entries()].map(([e,t],a)=>({key:n._parse(new S(r,e,r.path,[a,"key"])),value:i._parse(new S(r,t,r.path,[a,"value"]))}));if(r.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let r of a){let n=await r.key,i=await r.value;if("aborted"===n.status||"aborted"===i.status)return k;("dirty"===n.status||"dirty"===i.status)&&t.dirty(),e.set(n.value,i.value)}return{status:t.value,value:e}})}{let e=new Map;for(let r of a){let n=r.key,i=r.value;if("aborted"===n.status||"aborted"===i.status)return k;("dirty"===n.status||"dirty"===i.status)&&t.dirty(),e.set(n.value,i.value)}return{status:t.value,value:e}}}}eh.create=(e,t,r)=>new eh({valueType:t,keyType:e,typeName:c.ZodMap,...O(r)});class ef extends C{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.parsedType!==f.set)return b(r,{code:_.invalid_type,expected:f.set,received:r.parsedType}),k;let n=this._def;null!==n.minSize&&r.data.size<n.minSize.value&&(b(r,{code:_.too_small,minimum:n.minSize.value,type:"set",inclusive:!0,exact:!1,message:n.minSize.message}),t.dirty()),null!==n.maxSize&&r.data.size>n.maxSize.value&&(b(r,{code:_.too_big,maximum:n.maxSize.value,type:"set",inclusive:!0,exact:!1,message:n.maxSize.message}),t.dirty());let i=this._def.valueType;function a(e){let r=new Set;for(let n of e){if("aborted"===n.status)return k;"dirty"===n.status&&t.dirty(),r.add(n.value)}return{status:t.value,value:r}}let s=[...r.data.values()].map((e,t)=>i._parse(new S(r,e,r.path,t)));return r.common.async?Promise.all(s).then(e=>a(e)):a(s)}min(e,t){return new ef({...this._def,minSize:{value:e,message:u.toString(t)}})}max(e,t){return new ef({...this._def,maxSize:{value:e,message:u.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}ef.create=(e,t)=>new ef({valueType:e,minSize:null,maxSize:null,typeName:c.ZodSet,...O(t)});class eg extends C{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==f.function)return b(t,{code:_.invalid_type,expected:f.function,received:t.parsedType}),k;function r(e,r){return y({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,E,E].filter(e=>!!e),issueData:{code:_.invalid_arguments,argumentsError:r}})}function n(e,r){return y({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,E,E].filter(e=>!!e),issueData:{code:_.invalid_return_type,returnTypeError:r}})}let i={errorMap:t.common.contextualErrorMap},a=t.data;if(this._def.returns instanceof eT){let e=this;return A(async function(...t){let s=new v([]),o=await e._def.args.parseAsync(t,i).catch(e=>{throw s.addIssue(r(t,e)),s}),l=await Reflect.apply(a,this,o);return await e._def.returns._def.type.parseAsync(l,i).catch(e=>{throw s.addIssue(n(l,e)),s})})}{let e=this;return A(function(...t){let s=e._def.args.safeParse(t,i);if(!s.success)throw new v([r(t,s.error)]);let o=Reflect.apply(a,this,s.data),l=e._def.returns.safeParse(o,i);if(!l.success)throw new v([n(o,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new eg({...this._def,args:em.create(e).rest(en.create())})}returns(e){return new eg({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,r){return new eg({args:e||em.create([]).rest(en.create()),returns:t||en.create(),typeName:c.ZodFunction,...O(r)})}}class e_ extends C{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}e_.create=(e,t)=>
vendor: 4,630 bytes, line 46
46new e_({getter:e,typeName:c.ZodLazy,...O(t)});class ev extends C{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return b(t,{received:t.data,code:_.invalid_literal,expected:this._def.value}),k}return{status:"valid",value:e.data}}get value(){return this._def.value}}function eE(e,t){return new ey({values:e,typeName:c.ZodEnum,...O(t)})}ev.create=(e,t)=>new ev({value:e,typeName:c.ZodLiteral,...O(t)});class ey extends C{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),r=this._def.values;return b(t,{expected:o.joinValues(r),received:t.parsedType,code:_.invalid_type}),k}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),r=this._def.values;return b(t,{received:t.data,code:_.invalid_enum_value,options:r}),k}return A(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return ey.create(e,{...this._def,...t})}exclude(e,t=this._def){return ey.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}ey.create=eE;class eb extends C{_parse(e){let t=o.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==f.string&&r.parsedType!==f.number){let e=o.objectValues(t);return b(r,{expected:o.joinValues(e),received:r.parsedType,code:_.invalid_type}),k}if(this._cache||(this._cache=new Set(o.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let e=o.objectValues(t);return b(r,{received:r.data,code:_.invalid_enum_value,options:e}),k}return A(e.data)}get enum(){return this._def.values}}eb.create=(e,t)=>new eb({values:e,typeName:c.ZodNativeEnum,...O(t)});class eT extends C{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==f.promise&&!1===t.common.async?(b(t,{code:_.invalid_type,expected:f.promise,received:t.parsedType}),k):A((t.parsedType===f.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}eT.create=(e,t)=>new eT({type:e,typeName:c.ZodPromise,...O(t)});class ek extends C{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===c.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:r}=this._processInputParams(e),n=this._def.effect||null,i={addIssue:e=>{b(r,e),e.fatal?t.abort():t.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===n.type){let e=n.transform(r.data,i);if(r.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return k;let n=await this._def.schema._parseAsync({data:e,path:r.path,parent:r});return"aborted"===n.status?k:"dirty"===n.status||"dirty"===t.value?x(n.value):n});{if("aborted"===t.value)return k;let n=this._def.schema._parseSync({data:e,path:r.path,parent:r});return"aborted"===n.status?k:"dirty"===n.status||"dirty"===t.value?x(n.value):n}}if("refinement"===n.type){let e=e=>{let t=n.refinement(e,i);if(r.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(r=>"aborted"===r.status?k:("dirty"===r.status&&t.dirty(),e(r.value).then(()=>({status:t.value,value:r.value}))));{let n=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===n.status?k:("dirty"===n.status&&t.dirty(),e(n.value),{status:t.value,value:n.value})}}if("transform"===n.type)if(!1!==r.common.async)return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(e=>"valid"!==e.status?k:Promise.resolve(n.transform(e.value,i)).then(e=>({status:t.value,value:e})));else{let e=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if("valid"!==e.status)return k;let a=n.transform(e.value,i);if(a instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:a}}o.assertNever(n)}}ek.create=(e,t,r)=>new ek({schema:e,typeName:c.ZodEffects,effect:t,...O(r)}),ek.createWithPreprocess=(e,t,r)=>new ek({schema:t,effect:{type:"preprocess",transform:e},typeName:c.ZodEffects,...O(r)});class ex extends C{_parse(e){return this._getType(e)===f.undefined?A(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ex.create=(e,t)=>
46new ex({innerType:e,typeName:c.ZodOptional,...O(t)});class eA extends C{_parse(e){return this._getType(e)===f.null?A(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}eA.create=(e,t)=>new eA({innerType:e,typeName:c.ZodNullable,...O(t)});class eI extends C{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return t.parsedType===f.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}eI.create=(e,t)=>new eI({innerType:e,typeName:c.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...O(t)});class eS extends C{_parse(e){let{ctx:t}=this._processInputParams(e),r={...t,common:{...t.common,issues:[]}},n=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return I(n)?n.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new v(r.common.issues)},input:r.data})})):{status:"valid",value:"valid"===n.status?n.value:this._def.catchValue({get error(){return new v(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}eS.create=(e,t)=>new eS({innerType:e,typeName:c.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...O(t)});class eN extends C{_parse(e){if(this._getType(e)!==f.nan){let t=this._getOrReturnCtx(e);return b(t,{code:_.invalid_type,expected:f.nan,received:t.parsedType}),k}return{status:"valid",value:e.data}}}eN.create=e=>new eN({typeName:c.ZodNaN,...O(e)}),Symbol("zod_brand");class eO extends C{_parse(e){let{ctx:t}=this._processInputParams(e),r=t.data;return this._def.type._parse({data:r,path:t.path,parent:t})}unwrap(){return this._def.type}}class eC extends C{_parse(e){let{status:t,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?k:"dirty"===e.status?(t.dirty(),x(e.value)):this._def.out._parseAsync({data:e.value,path:r.path,parent:r})})();{let e=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return"aborted"===e.status?k:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:r.path,parent:r})}}static create(e,t){return new eC({in:e,out:t,typeName:c.ZodPipeline})}}class e$ extends C{_parse(e){let t=this._def.innerType._parse(e),r=e=>("valid"===e.status&&(e.value=Object.freeze(e.value)),e);return I(t)?t.then(e=>r(e)):r(t)}unwrap(){return this._def.innerType}}e$.create=(e,t)=>new e$({innerType:e,typeName:c.ZodReadonly,...O(t)}),eo.lazycreate,(s=c||(c={})).ZodString="ZodString",s.ZodNumber="ZodNumber",s.ZodNaN="ZodNaN",s.ZodBigInt="ZodBigInt",s.ZodBoolean="ZodBoolean",s.ZodDate="ZodDate",s.ZodSymbol="ZodSymbol",s.ZodUndefined="ZodUndefined",s.ZodNull="ZodNull",s.ZodAny="ZodAny",s.ZodUnknown="ZodUnknown",s.ZodNever="ZodNever",s.ZodVoid="ZodVoid",s.ZodArray="ZodArray",s.ZodObject="ZodObject",s.ZodUnion="ZodUnion",s.ZodDiscriminatedUnion="ZodDiscriminatedUnion",s.ZodIntersection="ZodIntersection",s.ZodTuple="ZodTuple",s.ZodRecord="ZodRecord",s.ZodMap="ZodMap",s.ZodSet="ZodSet",s.ZodFunction="ZodFunction",s.ZodLazy="ZodLazy",s.ZodLiteral="ZodLiteral",s.ZodEnum="ZodEnum",s.ZodEffects="ZodEffects",s.ZodNativeEnum="ZodNativeEnum",s.ZodOptional="ZodOptional",s.ZodNullable="ZodNullable",s.ZodDefault="ZodDefault",s.ZodCatch="ZodCatch",s.ZodPromise="ZodPromise",s.ZodBranded="ZodBranded",s.ZodPipeline="ZodPipeline",s.ZodReadonly="ZodReadonly",W.create,q.create,eN.create,K.create,J.create,X.create,Q.create,ee.create,et.create,er.create,en.create,ei.create,ea.create,es.create,eo.create,eo.strictCreate,el.create,ec.create,ed.create,em.create,ep.create,eh.create,ef.create,eg.create,e_.create,ev.create,ey.create,eb.create,eT.create,ek.create,ex.create,eA.create,ek.createWithPreprocess,eC.create;var ew=r(421637);class eD extends TransformStream{constructor({onError:e,onRetry:t,onComment:r,maxBufferSize:n}={}){let i;super({start(a){i=(0,ew.C)({onEvent:e=>{a.enqueue(e)},onError(t){"function"==typeof e&&e(t),("terminate"===e||"max-buffer-size-exceeded"===t.type)&&a.error(t)},onRetry:t,onComment:r,maxBufferSize:n})},transform(e){i.feed(e)}})}}r(969538);var{btoa:eR,atob:eL}=globalThis;function eP(e){let t=eL(e.replace(/-/g,"+").replace(/_/g,"/"));return Uint8Array.from(t,e=>e.codePointAt(0))}function eM(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCodePoint(e[r]);return eR(t)}var eU="AI_DownloadError",ez=`vercel.ai.error.${eU}`,ej=Symbol.for(ez),eF=class extends(m=p.bD,d=ej,m){constructor({url:e,statusCode:t,statusText:r,cause:n,message:i=null==n?`Failed to download ${e}: ${t} ${r}`:`Failed to download ${e}: ${n}`}){super({name:eU,message:i,cause:n}),this[d]=!0,this.url=e,this.statusCode=t,this.statusText=r}static isInstance(e){return p.bD.hasMarker(e,ez)}},eB=0x80000000;async function eZ({response:e,url:t,maxBytes:r=eB}){let n=e.headers.get("content-length");if(null!=n){let e=parseInt(n,10);if(!isNaN(e)&&e>r)throw new eF({url:t,message:`Download of ${t} exceeded maximum size of ${r} bytes (Content-Length: ${e}).`})}let i=e.body;if(null==i)return new Uint8Array(0);let a=i.getReader(),s=[],o=0;try{for(;;){let{done:e,value:n}=await a.read();if(e)break;if((o+=n.length)>r)throw new eF({url:t,message:`Download of ${t} exceeded maximum size of ${r} bytes.`});s.push(n)}}finally{try{await a.cancel()}finally{a.releaseLock()}}let l=new Uint8Array(o),u=0;
46for(let e of s)l.set(e,u),u+=e.length;return l}function eH(e){let t;try{t=new URL(e)}catch(t){throw new eF({url:e,message:`Invalid URL: ${e}`})}if("data:"===t.protocol)return;if("http:"!==t.protocol&&"https:"!==t.protocol)throw new eF({url:e,message:`URL scheme must be http, https, or data, got ${t.protocol}`});let r=t.hostname;if(!r)throw new eF({url:e,message:"URL must have a hostname"});if("localhost"===r||r.endsWith(".local")||r.endsWith(".localhost"))throw new eF({url:e,message:`URL with hostname ${r} is not allowed`});if(r.startsWith("[")&&r.endsWith("]")){if(function(e){let t=e.toLowerCase();if("::1"===t||"::"===t)return!0;if(t.startsWith("::ffff:")){let e=t.slice(7);if(eG(e))return eY(e);let r=e.split(":");if(2===r.length){let e=parseInt(r[0],16),t=parseInt(r[1],16);if(!isNaN(e)&&!isNaN(t))return eY(`${e>>8&255}.${255&e}.${t>>8&255}.${255&t}`)}}return!!(t.startsWith("fc")||t.startsWith("fd")||t.startsWith("fe80"))}(r.slice(1,-1)))throw new eF({url:e,message:`URL with IPv6 address ${r} is not allowed`});return}if(eG(r)){if(eY(r))throw new eF({url:e,message:`URL with IP address ${r} is not allowed`});return}}function eG(e){let t=e.split(".");return 4===t.length&&t.every(e=>{let t=Number(e);return Number.isInteger(t)&&t>=0&&t<=255&&String(t)===e})}function eY(e){let[t,r]=e.split(".").map(Number);return 0===t||10===t||127===t||169===t&&254===r||172===t&&!!(r>=16)&&!!(r<=31)||192===t&&168===r}var eV=({prefix:e,size:t=16,alphabet:r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",separator:n="-"}={})=>{let i=()=>{let e=r.length,n=Array(t);for(let i=0;i<t;i++)n[i]=r[Math.random()*e|0];return n.join("")};if(null==e)return i;if(r.includes(n))throw new p.Di({argument:"separator",message:`The separator "${n}" must not be part of the alphabet "${r}".`});return()=>`${e}${n}${i()}`},eW=eV();function eq(e=globalThis){var t,r,n;return e.window?"runtime/browser":(null==(t=e.navigator)?void 0:t.userAgent)?`runtime/${e.navigator.userAgent.toLowerCase()}`:(null==(n=null==(r=e.process)?void 0:r.versions)?void 0:n.node)?`runtime/node.js/${e.process.version.substring(0)}`:e.EdgeRuntime?"runtime/vercel-edge":"runtime/unknown"}function eK(e){if(null==e)return{};let t={};if(e instanceof Headers)e.forEach((e,r)=>{t[r.toLowerCase()]=e});else for(let[r,n]of(Array.isArray(e)||(e=Object.entries(e)),e))null!=n&&(t[r.toLowerCase()]=n);return t}function eJ(e,...t){let r=new Headers(eK(e)),n=r.get("user-agent")||"";return r.set("user-agent",[n,...t].filter(Boolean).join(" ")),Object.fromEntries(r.entries())}var eX=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,eQ=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;function e0(e){let t=JSON.parse(e);return null===t||"object"!=typeof t||!1===eX.test(e)&&!1===eQ.test(e)?t:function(e){let t=[e];for(;t.length;){let e=t;for(let r of(t=[],e)){if(Object.prototype.hasOwnProperty.call(r,"__proto__")||Object.prototype.hasOwnProperty.call(r,"constructor")&&null!==r.constructor&&"object"==typeof r.constructor&&Object.prototype.hasOwnProperty.call(r.constructor,"prototype"))throw SyntaxError("Object contains forbidden prototype property");for(let e in r){let n=r[e];n&&"object"==typeof n&&t.push(n)}}}return e}(t)}function e1(e){if("object"===e.type||Array.isArray(e.type)&&e.type.includes("object")){e.additionalProperties=!1;let{properties:t}=e;if(null!=t)for(let e of Object.keys(t))t[e]=e4(t[e])}null!=e.items&&(e.items=Array.isArray(e.items)?e.items.map(e4):e4(e.items)),null!=e.anyOf&&(e.anyOf=e.anyOf.map(e4)),null!=e.allOf&&(e.allOf=e.allOf.map(e4)),null!=e.oneOf&&(e.oneOf=e.oneOf.map(e4));let{definitions:t}=e;if(null!=t)for(let e of Object.keys(t))t[e]=e4(t[e]);return e}function e4(e){return"boolean"==typeof e?e:e1(e)}var e6=Symbol("Let zodToJsonSchema decide on which parser to use"),e2={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",allowedAdditionalProperties:!0,rejectedAdditionalProperties:!1,definitionPath:"definitions",strictUnions:!1,definitions:{},errorMessages:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"};function e9(e,t){return tg(e.type._def,t)}var e5=void 0,e3=/^[cC][^\s-]{8,}
46$/,e7=/^[0-9a-z]+$/,e8=/^[0-9A-HJKMNP-TV-Z]{26}$/,te=/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,tt=()=>(void 0===e5&&(e5=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),e5),tr=/^(?:(?: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])\/(3[0-2]|[12]?[0-9])$/,tn=/^(([0-9a-fA-F]{1,4}:){7,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}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,ti=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,ta=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,ts=/^[a-zA-Z0-9_-]{21}$/,to=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/;function tl(e,t){let r={type:"string"};if(e.checks)for(let n of e.checks)switch(n.kind){case"min":r.minLength="number"==typeof r.minLength?Math.max(r.minLength,n.value):n.value;break;case"max":r.maxLength="number"==typeof r.maxLength?Math.min(r.maxLength,n.value):n.value;break;case"email":switch(t.emailStrategy){case"format:email":td(r,"email",n.message,t);break;case"format:idn-email":td(r,"idn-email",n.message,t);break;case"pattern:zod":tm(r,te,n.message,t)}break;case"url":td(r,"uri",n.message,t);break;case"uuid":td(r,"uuid",n.message,t);break;case"regex":tm(r,n.regex,n.message,t);break;case"cuid":tm(r,e3,n.message,t);break;case"cuid2":tm(r,e7,n.message,t);break;case"startsWith":tm(r,RegExp(`^${tu(n.value,t)}`),n.message,t);break;case"endsWith":tm(r,RegExp(`${tu(n.value,t)}$`),n.message,t);break;case"datetime":td(r,"date-time",n.message,t);break;case"date":td(r,"date",n.message,t);break;case"time":td(r,"time",n.message,t);break;case"duration":td(r,"duration",n.message,t);break;case"length":r.minLength="number"==typeof r.minLength?Math.max(r.minLength,n.value):n.value,r.maxLength="number"==typeof r.maxLength?Math.min(r.maxLength,n.value):n.value;break;case"includes":tm(r,RegExp(tu(n.value,t)),n.message,t);break;case"ip":"v6"!==n.version&&td(r,"ipv4",n.message,t),"v4"!==n.version&&td(r,"ipv6",n.message,t);break;case"base64url":tm(r,ta,n.message,t);break;case"jwt":tm(r,to,n.message,t);break;case"cidr":"v6"!==n.version&&tm(r,tr,n.message,t),"v4"!==n.version&&tm(r,tn,n.message,t);break;case"emoji":tm(r,tt(),n.message,t);break;case"ulid":tm(r,e8,n.message,t);break;case"base64":switch(t.base64Strategy){case"format:binary":td(r,"binary",n.message,t);break;case"contentEncoding:base64":r.contentEncoding="base64";break;case"pattern:zod":tm(r,ti,n.message,t)}break;case"nanoid":tm(r,ts,n.message,t)}return r}function tu(e,t){return"escape"===t.patternStrategy?function(e){let t="";for(let r=0;r<e.length;r++)tc.has(e[r])||(t+="\\"),t+=e[r];return t}(e):e}var tc=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function td(e,t,r,n){var i;e.format||(null==(i=e.anyOf)?void 0:i.some(e=>e.format))?(e.anyOf||(e.anyOf=[]),e.format&&(e.anyOf.push({format:e.format}),delete e.format),e.anyOf.push({format:t,...r&&n.errorMessages&&{errorMessage:{format:r}}})):e.format=t}function tm(e,t,r,n){var i;e.pattern||(null==(i=e.allOf)?void 0:i.some(e=>e.pattern))?(e.allOf||(e.allOf=[]),e.pattern&&(e.allOf.push({pattern:e.pattern}),delete e.pattern),e.allOf.push({pattern:tp(t,n),...r&&n.errorMessages&&{errorMessage:{pattern:r}}})):e.pattern=tp(t,n)}function tp(e,t){var r;if(!t.applyRegexFlags||!e.flags)return e.source;let n={i:e.flags.includes("i"),m:e.flags.includes("m"),s:e.flags.includes("s")},i=n.i?e.source.toLowerCase():e.source,a="",s=!1,o=!1,l=!1;for(let e=0;e<i.length;e++){if(s){a+=i[e],s=!1;continue}
46if(n.i){if(o){if(i[e].match(/[a-z]/)){l?(a+=i[e],a+=`${i[e-2]}-${i[e]}`.toUpperCase(),l=!1):"-"===i[e+1]&&(null==(r=i[e+2])?void 0:r.match(/[a-z]/))?(a+=i[e],l=!0):a+=`${i[e]}${i[e].toUpperCase()}`;continue}}else if(i[e].match(/[a-z]/)){a+=`[${i[e]}${i[e].toUpperCase()}]`;continue}}if(n.m){if("^"===i[e]){a+=`(^|(?<=[\r 47]))`;continue}else if("$"===i[e]){a+=`($|(?=[\r 48]))`;continue}}if(n.s&&"."===i[e]){a+=o?`${i[e]}\r 49`:`[${i[e]}\r 50]`;continue}a+=i[e],"\\"===i[e]?s=!0:o&&"]"===i[e]?o=!1:o||"["!==i[e]||(o=!0)}try{new RegExp(a)}catch(r){return console.warn(`Could not convert regex pattern at ${t.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),e.source}return a}function th(e,t){var r,n,i,a,s,o;let l={type:"object",additionalProperties:null!=(r=tg(e.valueType._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]}))?r:t.allowedAdditionalProperties};if((null==(n=e.keyType)?void 0:n._def.typeName)===c.ZodString&&(null==(i=e.keyType._def.checks)?void 0:i.length)){let{type:r,...n}=tl(e.keyType._def,t);return{...l,propertyNames:n}}if((null==(a=e.keyType)?void 0:a._def.typeName)===c.ZodEnum)return{...l,propertyNames:{enum:e.keyType._def.values}};if((null==(s=e.keyType)?void 0:s._def.typeName)===c.ZodBranded&&e.keyType._def.type._def.typeName===c.ZodString&&(null==(o=e.keyType._def.type._def.checks)?void 0:o.length)){let{type:r,...n}=e9(e.keyType._def,t);return{...l,propertyNames:n}}return l}var tf={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function tg(e,t,r=!1){var n;let i=t.seen.get(e);if(t.override){let a=null==(n=t.override)?void 0:n.call(t,e,t,i,r);if(a!==e6)return a}if(i&&!r){let e=t_(i,t);if(void 0!==e)return e}let a={def:e,path:t.currentPath,jsonSchema:void 0};t.seen.set(e,a);let s=((e,t,r)=>{var n,i,a,s,o,l;switch(t){case c.ZodString:return tl(e,r);case c.ZodNumber:let u={type:"number"};if(!e.checks)return u;for(let t of e.checks)switch(t.kind){case"int":u.type="integer";break;case"min":t.inclusive?u.minimum=t.value:u.exclusiveMinimum=t.value;break;case"max":t.inclusive?u.maximum=t.value:u.exclusiveMaximum=t.value;break;case"multipleOf":u.multipleOf=t.value}return u;case c.ZodObject:return function(e,t){let r={type:"object",properties:{}},n=[],i=e.shape();for(let e in i){let a=i[e];if(void 0===a||void 0===a._def)continue;let s=function(e){try{return e.isOptional()}catch(e){return!0}}(a),o=tg(a._def,{...t,currentPath:[...t.currentPath,"properties",e],propertyPath:[...t.currentPath,"properties",e]});void 0!==o&&(r.properties[e]=o,s||n.push(e))}n.length&&(r.required=n);let a=function(e,t){if("ZodNever"!==e.catchall._def.typeName)return tg(e.catchall._def,{...t,currentPath:[...t.currentPath,"additionalProperties"]});switch(e.unknownKeys){case"passthrough":return t.allowedAdditionalProperties;case"strict":return t.rejectedAdditionalProperties;case"strip":return"strict"===t.removeAdditionalStrategy?t.allowedAdditionalProperties:t.rejectedAdditionalProperties}}(e,t);return void 0!==a&&(r.additionalProperties=a),r}(e,r);case c.ZodBigInt:let d={type:"integer",format:"int64"};if(!e.checks)return d;for(let t of e.checks)switch(t.kind){case"min":t.inclusive?d.minimum=t.value:d.exclusiveMinimum=t.value;break;case"max":t.inclusive?d.maximum=t.value:d.exclusiveMaximum=t.value;break;case"multipleOf":d.multipleOf=t.value}return d;case c.ZodBoolean:return{type:"boolean"};case c.ZodDate:return function e(t,r,n){let i=null!=n?n:r.dateStrategy;if(Array.isArray(i))return{anyOf:i.map((n,i)=>e(t,r,n))};switch(i){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":var a=t;let s={type:"integer",format:"unix-time"};for(let e of a.checks)switch(e.kind){case"min":s.minimum=e.value;break;case"max":s.maximum=e.value}return s}}(e,r);case c.ZodUndefined:return{not:{}};case c.ZodNull:return{type:"null"};case c.ZodArray:let m;return m={type:"array"},(null==(a=e.type)?void 0:a._def)&&(null==(o=null==(s=e.type)?void 0:s._def)?void 0:o.typeName)!==c.ZodAny&&(m.items=tg(e.type._def,{...r,currentPath:[...r.currentPath,"items"]})),e.minLength&&(m.minItems=e.minLength.value),e.maxLength&&(m.maxItems=e.maxLength.value),e.exactLength&&(m.minItems=e.exactLength.value,m.maxItems=e.exactLength.value),m;case c.ZodUnion:case c.ZodDiscriminatedUnion:let p,h=e.options instanceof Map?Array.from(e.options.values()):e.options;if(h.every(e=>e._def.typeName in tf&&(!e._def.checks||!e._def.checks.length))){let e=h.reduce((e,t)=>
50{let r=tf[t._def.typeName];return r&&!e.includes(r)?[...e,r]:e},[]);return{type:e.length>1?e:e[0]}}if(h.every(e=>"ZodLiteral"===e._def.typeName&&!e.description)){let e=h.reduce((e,t)=>{let r=typeof t._def.value;switch(r){case"string":case"number":case"boolean":return[...e,r];case"bigint":return[...e,"integer"];case"object":if(null===t._def.value)return[...e,"null"];default:return e}},[]);if(e.length===h.length){let t=e.filter((e,t,r)=>r.indexOf(e)===t);return{type:t.length>1?t:t[0],enum:h.reduce((e,t)=>e.includes(t._def.value)?e:[...e,t._def.value],[])}}}else if(h.every(e=>"ZodEnum"===e._def.typeName))return{type:"string",enum:h.reduce((e,t)=>[...e,...t._def.values.filter(t=>!e.includes(t))],[])};return n=e,i=r,(p=(n.options instanceof Map?Array.from(n.options.values()):n.options).map((e,t)=>tg(e._def,{...i,currentPath:[...i.currentPath,"anyOf",`${t}`]})).filter(e=>!!e&&(!i.strictUnions||"object"==typeof e&&Object.keys(e).length>0))).length?{anyOf:p}:void 0;case c.ZodIntersection:let f,g;return f=[tg(e.left._def,{...r,currentPath:[...r.currentPath,"allOf","0"]}),tg(e.right._def,{...r,currentPath:[...r.currentPath,"allOf","1"]})].filter(e=>!!e),g=[],f.forEach(e=>{if((!("type"in e)||"string"!==e.type)&&"allOf"in e)g.push(...e.allOf);else{let t=e;if("additionalProperties"in e&&!1===e.additionalProperties){let{additionalProperties:r,...n}=e;t=n}g.push(t)}}),g.length?{allOf:g}:void 0;case c.ZodTuple:return e.rest?{type:"array",minItems:e.items.length,items:e.items.map((e,t)=>tg(e._def,{...r,currentPath:[...r.currentPath,"items",`${t}`]})).reduce((e,t)=>void 0===t?e:[...e,t],[]),additionalItems:tg(e.rest._def,{...r,currentPath:[...r.currentPath,"additionalItems"]})}:{type:"array",minItems:e.items.length,maxItems:e.items.length,items:e.items.map((e,t)=>tg(e._def,{...r,currentPath:[...r.currentPath,"items",`${t}`]})).reduce((e,t)=>void 0===t?e:[...e,t],[])};case c.ZodRecord:return th(e,r);case c.ZodLiteral:let _;return"bigint"!=(_=typeof e.value)&&"number"!==_&&"boolean"!==_&&"string"!==_?{type:Array.isArray(e.value)?"array":"object"}:{type:"bigint"===_?"integer":_,const:e.value};case c.ZodEnum:return{type:"string",enum:Array.from(e.values)};case c.ZodNativeEnum:let v,E,y;return v=e.values,{type:1===(y=Array.from(new Set((E=Object.keys(e.values).filter(e=>"number"!=typeof v[v[e]]).map(e=>v[e])).map(e=>typeof e)))).length?"string"===y[0]?"string":"number":["string","number"],enum:E};case c.ZodNullable:if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(e.innerType._def.typeName)&&(!e.innerType._def.checks||!e.innerType._def.checks.length))return{type:[tf[e.innerType._def.typeName],"null"]};let b=tg(e.innerType._def,{...r,currentPath:[...r.currentPath,"anyOf","0"]});return b&&{anyOf:[b,{type:"null"}]};case c.ZodOptional:if(r.currentPath.toString()===(null==(l=r.propertyPath)?void 0:l.toString()))return tg(e.innerType._def,r);let T=tg(e.innerType._def,{...r,currentPath:[...r.currentPath,"anyOf","1"]});return T?{anyOf:[{not:{}},T]}:{};case c.ZodMap:if("record"===r.mapStrategy)return th(e,r);return{type:"array",maxItems:125,items:{type:"array",items:[tg(e.keyType._def,{...r,currentPath:[...r.currentPath,"items","items","0"]})||{},tg(e.valueType._def,{...r,currentPath:[...r.currentPath,"items","items","1"]})||{}],minItems:2,maxItems:2}};case c.ZodSet:let k;return k={type:"array",uniqueItems:!0,items:tg(e.valueType._def,{...r,currentPath:[...r.currentPath,"items"]})},e.minSize&&(k.minItems=e.minSize.value),e.maxSize&&(k.maxItems=e.maxSize.value),k;case c.ZodLazy:return()=>e.getter()._def;case c.ZodPromise:return tg(e.type._def,r);case c.ZodNaN:case c.ZodNever:return{not:{}};case c.ZodEffects:return"input"===r.effectStrategy?tg(e.schema._def,r):{};case c.ZodAny:case c.ZodUnknown:return{};case c.ZodDefault:return{...tg(e.innerType._def,r),default:e.defaultValue()};case c.ZodBranded:return e9(e,r);case c.ZodReadonly:case c.ZodCatch:return tg(e.innerType._def,r);case c.ZodPipeline:if("input"===r.pipeStrategy)return tg(e.in._def,r);if("output"===r.pipeStrategy)return tg(e.out._def,r);let x=tg(e.in._def,{...r,currentPath:[...r.currentPath,"allOf","0"]}),A=tg(e.out._def,{...r,currentPath:[...r.currentPath,"allOf",x?"1":"0"]});return{allOf:[x,A].filter(e=>void 0!==e)};case c.ZodFunction:case c.ZodVoid:case c.ZodSymbol:default:return}})(e,e.typeName,t),o="function"==typeof s?tg(s(),t):s;if(o&&tv(e,t,o),t.postProcess){let r=t.postProcess(o,e,t);return a.jsonSchema=o,r}return a.jsonSchema=o,o}var t_=(e,t)=>
50{switch(t.$refStrategy){case"root":return{$ref:e.path.join("/")};case"relative":return{$ref:((e,t)=>{let r=0;for(;r<e.length&&r<t.length&&e[r]===t[r];r++);return[(e.length-r).toString(),...t.slice(r)].join("/")})(t.currentPath,e.path)};case"none":case"seen":if(e.path.length<t.currentPath.length&&e.path.every((e,r)=>t.currentPath[r]===e))return console.warn(`Recursive reference detected at ${t.currentPath.join("/")}! Defaulting to any`),{};return"seen"===t.$refStrategy?{}:void 0}},tv=(e,t,r)=>(e.description&&(r.description=e.description),r),tE=Symbol.for("vercel.ai.schema");function ty(e){let t;return()=>(null==t&&(t=e()),t)}function tb(e,{validate:t}={}){return{[tE]:!0,_type:void 0,get jsonSchema(){return"function"==typeof e&&(e=e()),e},validate:t}}function tT(e){var t;return null==e?tb({properties:{},additionalProperties:!1}):"object"==typeof e&&null!==e&&tE in e&&!0===e[tE]&&"jsonSchema"in e&&"validate"in e?e:"~standard"in e?"zod"===e["~standard"].vendor?tk(e):(t=e,tb(()=>e1(t["~standard"].jsonSchema.input({target:"draft-07"})),{validate:async e=>{let r=await t["~standard"].validate(e);return"value"in r?{success:!0,value:r.value}:{success:!1,error:new p.iM({value:e,cause:r.issues})}}})):e()}function tk(e,t){var r,n;let i;if("_zod"in e){let n;return n=null!=(r=null==t?void 0:t.useReferences)&&r,tb(()=>e1(h.blZ(e,{target:"draft-7",io:"input",reused:n?"ref":"inline"})),{validate:async t=>{let r=await h.bpZ(e,t);return r.success?{success:!0,value:r.data}:{success:!1,error:r.error}}})}return i=null!=(n=null==t?void 0:t.useReferences)&&n,tb(()=>((e,t)=>{var r;let n,i,a=(i=void 0!==(n="string"==typeof t?{...e2,name:t}:{...e2,...t}).name?[...n.basePath,n.definitionPath,n.name]:n.basePath,{...n,currentPath:i,propertyPath:void 0,seen:new Map(Object.entries(n.definitions).map(([e,t])=>[t._def,{def:t._def,path:[...n.basePath,n.definitionPath,e],jsonSchema:void 0}]))}),s="object"==typeof t&&t.definitions?Object.entries(t.definitions).reduce((e,[t,r])=>{var n;return{...e,[t]:null!=(n=tg(r._def,{...a,currentPath:[...a.basePath,a.definitionPath,t]},!0))?n:{}}},{}):void 0,o="string"==typeof t?t:(null==t?void 0:t.nameStrategy)==="title"||null==t?void 0:t.name,l=null!=(r=tg(e._def,void 0===o?a:{...a,currentPath:[...a.basePath,a.definitionPath,o]},!1))?r:{},u="object"==typeof t&&void 0!==t.name&&"title"===t.nameStrategy?t.name:void 0;void 0!==u&&(l.title=u);let c=void 0===o?s?{...l,[a.definitionPath]:s}:l:{$ref:[..."relative"===a.$refStrategy?[]:a.basePath,a.definitionPath,o].join("/"),[a.definitionPath]:{...s,[o]:l}};return c.$schema="http://json-schema.org/draft-07/schema#",c})(e,{$refStrategy:i?"root":"none"}),{validate:async t=>{let r=await e.safeParseAsync(t);return r.success?{success:!0,value:r.data}:{success:!1,error:r.error}}})}async function tx({value:e,schema:t,context:r}){let n=await tA({value:e,schema:t,context:r});if(!n.success)throw p.iM.wrap({value:e,cause:n.error,context:r});return n.value}async function tA({value:e,schema:t,context:r}){let n=tT(t);try{if(null==n.validate)return{success:!0,value:e,rawValue:e};let t=await n.validate(e);if(t.success)return{success:!0,value:t.value,rawValue:e};return{success:!1,error:p.iM.wrap({value:e,cause:t.error,context:r}),rawValue:e}}catch(t){return{success:!1,error:p.iM.wrap({value:e,cause:t,context:r}),rawValue:e}}}async function tI({text:e,schema:t}){try{let r=function(e){let{stackTraceLimit:t}=Error;try{Error.stackTraceLimit=0}catch(t){return e0(e)}try{return e0(e)}finally{Error.stackTraceLimit=t}}(e);if(null==t)return{success:!0,value:r,rawValue:r};return await tA({value:r,schema:t})}catch(t){return{success:!1,error:p.u6.isInstance(t)?t:new p.u6({text:e,cause:t}),rawValue:void 0}}}function tS({stream:e,schema:t}){return e.pipeThrough(new TextDecoderStream).pipeThrough(new eD).pipeThrough(new TransformStream({async transform({data:e},r){"[DONE]"!==e&&r.enqueue(await tI({text:e,schema:t}))}}))}async function tN(e){return"function"==typeof e&&(e=e()),Promise.resolve(e)}},611464:(e,t,r)=>{r.d(t,{A:()=>i});let n={}.hasOwnProperty;function i(e,t){let r=t||{};function i(t,...r){let a=i.invalid,s=i.handlers;if(t&&n.call(t,e)){let r=String(t[e]);a=n.call(s,r)?s[r]:i.unknown}if(a)return a.call(this,t,...r)}return i.handlers=r.handlers||{}
50,i.invalid=r.invalid,i.unknown=r.unknown,i}},640662:(e,t,r)=>{r.d(t,{A:()=>sQ,C:()=>s1,c:()=>iD,f:()=>i2,l:()=>s6,y:()=>sY});var n={};r.r(n),r.d(n,{boolean:()=>T,booleanish:()=>k,commaOrSpaceSeparated:()=>N,commaSeparated:()=>S,number:()=>A,overloadedBoolean:()=>x,spaceSeparated:()=>I});var i=r(834023),a=r(239279),s=r(925876);let o="indicator",l="text-only",u="remove";function c(e,t){if("string"!=typeof e)return null;try{return new URL(e)}catch{if(t)try{return new URL(e,t)}catch{return null}if(e.startsWith("/")||e.startsWith("./")||e.startsWith("../"))try{return new URL(e,"http://example.com")}catch{}return null}}let d=new Set(["https:","http:","irc:","ircs:","mailto:","xmpp:","blob:"]),m=new Set(["javascript:","data:","file:","vbscript:"]);function p(e,t,r,n=!1,i=!1,a=[]){if(!e)return null;if("string"==typeof e&&e.startsWith("#")&&!i)try{if(new URL(e,"http://example.com").hash===e)return e}catch{}if("string"==typeof e&&e.startsWith("data:"))return i&&n&&e.startsWith("data:image/")?e:null;if("string"==typeof e&&e.startsWith("blob:")){try{let t=new URL(e);if("blob:"===t.protocol&&e.length>5){let t=e.substring(5);if(t&&t.length>0&&"invalid"!==t)return e}}catch{}return null}let s=c(e,r);if(!s||m.has(s.protocol)||!(d.has(s.protocol)||a.includes(s.protocol)||a.includes("*")))return null;if("mailto:"===s.protocol||!s.protocol.match(/^https?:$/))return s.href;let o="string"==typeof e&&(e.startsWith("/")||e.startsWith("./")||e.startsWith("../"));return s&&t.some(e=>{let t=c(e,r);return!!t&&t.origin===s.origin&&s.href.startsWith(t.href)})?o?s.pathname+s.search+s.hash:s.href:t.includes("*")?"https:"!==s.protocol&&"http:"!==s.protocol?null:o?s.pathname+s.search+s.hash:s.href:null}let h=Symbol("node-seen");var f=r(376314),g=r(288282);class _{constructor(e,t,r){this.property=e,this.normal=t,r&&(this.space=r)}}function v(e,t){let r={},n={},i=-1;for(;++i<e.length;)Object.assign(r,e[i].property),Object.assign(n,e[i].normal);return new _(r,n,t)}function E(e){return e.toLowerCase()}_.prototype.property={},_.prototype.normal={},_.prototype.space=null;class y{constructor(e,t){this.property=e,this.attribute=t}}y.prototype.space=null,y.prototype.boolean=!1,y.prototype.booleanish=!1,y.prototype.overloadedBoolean=!1,y.prototype.number=!1,y.prototype.commaSeparated=!1,y.prototype.spaceSeparated=!1,y.prototype.commaOrSpaceSeparated=!1,y.prototype.mustUseProperty=!1,y.prototype.defined=!1;let b=0,T=O(),k=O(),x=O(),A=O(),I=O(),S=O(),N=O();function O(){return 2**++b}let C=Object.keys(n);
50class $ extends y{constructor(e,t,r,i){let a=-1;if(super(e,t),function(e,t,r){r&&(e[t]=r)}(this,"space",i),"number"==typeof r)for(;++a<C.length;){const e=C[a];!function(e,t,r){r&&(e[t]=r)}(this,C[a],(r&n[e])===n[e])}}}$.prototype.defined=!0;let w={}.hasOwnProperty;function D(e){let t,r={},n={};for(t in e.properties)if(w.call(e.properties,t)){let i=e.properties[t],a=new $(t,e.transform(e.attributes||{},t),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(t)&&(a.mustUseProperty=!0),r[t]=a,n[E(t)]=t,n[E(a.attribute)]=t}return new _(r,n,e.space)}let R=D({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),L=D({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function P(e,t){return t in e?e[t]:t}function M(e,t){return P(e,t.toLowerCase())}let U=D({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:M,properties:{xmlns:null,xmlnsXLink:null}}),z=D({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:k,ariaAutoComplete:null,ariaBusy:k,ariaChecked:k,ariaColCount:A,ariaColIndex:A,ariaColSpan:A,ariaControls:I,ariaCurrent:null,ariaDescribedBy:I,ariaDetails:null,ariaDisabled:k,ariaDropEffect:I,ariaErrorMessage:null,ariaExpanded:k,ariaFlowTo:I,ariaGrabbed:k,ariaHasPopup:null,ariaHidden:k,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:I,ariaLevel:A,ariaLive:null,ariaModal:k,ariaMultiLine:k,ariaMultiSelectable:k,ariaOrientation:null,ariaOwns:I,ariaPlaceholder:null,ariaPosInSet:A,ariaPressed:k,ariaReadOnly:k,ariaRelevant:null,ariaRequired:k,ariaRoleDescription:I,ariaRowCount:A,ariaRowIndex:A,ariaRowSpan:A,ariaSelected:k,ariaSetSize:A,ariaSort:null,ariaValueMax:A,ariaValueMin:A,ariaValueNow:A,ariaValueText:null,role:null}}),j=D({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:M,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:S,acceptCharset:I,accessKey:I,action:null,allow:null,allowFullScreen:T,allowPaymentRequest:T,allowUserMedia:T,alt:null,as:null,async:T,autoCapitalize:null,autoComplete:I,autoFocus:T,autoPlay:T,capture:T,charSet:null,checked:T,cite:null,className:I,cols:A,colSpan:null,content:null,contentEditable:k,controls:T,controlsList:I,coords:A|S,crossOrigin:null,data:null,dateTime:null,decoding:null,default:T,defer:T,dir:null,dirName:null,disabled:T,download:x,draggable:k,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:T,formTarget:null,headers:I,height:A,hidden:T,high:A,href:null,hrefLang:null,htmlFor:I,httpEquiv:I,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:T,itemId:null,itemProp:I,itemRef:I,itemScope:T,itemType:I,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:T,low:A,manifest:null,max:null,maxLength:A,media:null,method:null,min:null,minLength:A,multiple:T,muted:T,name:null,nonce:null,noModule:T,noValidate:T,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:T,optimum:A,pattern:null,ping:I,placeholder:null,playsInl
50ine:T,poster:null,preload:null,readOnly:T,referrerPolicy:null,rel:I,required:T,reversed:T,rows:A,rowSpan:A,sandbox:I,scope:null,scoped:T,seamless:T,selected:T,shape:null,size:A,sizes:null,slot:null,span:A,spellCheck:k,src:null,srcDoc:null,srcLang:null,srcSet:null,start:A,step:null,style:null,tabIndex:A,target:null,title:null,translate:null,type:null,typeMustMatch:T,useMap:null,value:k,width:A,wrap:null,align:null,aLink:null,archive:I,axis:null,background:null,bgColor:null,border:A,borderColor:null,bottomMargin:A,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:T,declare:T,event:null,face:null,frame:null,frameBorder:null,hSpace:A,leftMargin:A,link:null,longDesc:null,lowSrc:null,marginHeight:A,marginWidth:A,noResize:T,noHref:T,noShade:T,noWrap:T,object:null,profile:null,prompt:null,rev:null,rightMargin:A,rules:null,scheme:null,scrolling:k,standby:null,summary:null,text:null,topMargin:A,valueType:null,version:null,vAlign:null,vLink:null,vSpace:A,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:T,disableRemotePlayback:T,prefix:null,property:null,results:A,security:null,unselectable:null}}),F=D({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
50-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:P,properties:{about:N,accentHeight:A,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:A,amplitude:A,arabicForm:null,ascent:A,attributeName:null,attributeType:null,azimuth:A,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:A,by:null,calcMode:null,capHeight:A,className:I,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:A,diffuseConstant:A,direction:null,display:null,dur:null,divisor:A,dominantBaseline:null,download:T,dx:null,dy:null,edgeMode:null,editable:null,elevation:A,enableBackground:null,end:null,event:null,exponent:A,externalResourcesRequired:null,fill:null,fillOpacity:A,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:S,g2:S,glyphName:S,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:A,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:A,horizOriginX:A,horizOriginY:A,id:null,ideographic:A,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:A,k:A,k1:A,k2:A,k3:A,k4:A,kernelMatrix:N,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:A,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:A,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
50Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:A,overlineThickness:A,paintOrder:null,panose1:null,path:null,pathLength:A,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:I,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:A,pointsAtY:A,pointsAtZ:A,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:N,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:N,rev:N,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:N,requiredFeatures:N,requiredFonts:N,requiredFormats:N,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:A,specularExponent:A,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:A,strikethroughThickness:A,string:null,stroke:null,strokeDashArray:N,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:A,strokeOpacity:A,strokeWidth:null,style:null,surfaceScale:A,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:N,tabIndex:A,tableValues:null,target:null,targetX:A,targetY:A,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:N,to:null,transform:null,u1:null,u2:null,underlinePosition:A,underlineThickness:A,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:A,values:null,vAlphabetic:A,vMathematical:A,vectorEffect:null,vHanging:A,vIdeographic:A,version:null,vertAdvY:A,vertOriginX:A,vertOriginY:A,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:A,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),B=v([L,R,U,z,j],"html"),Z=v([L,R,U,z,F],"svg");var H=r(380119);let G=/[#.]/g,Y=/^data[-\w.:]+$/i,V=/-[a-z]/g,W=/[A-Z]/g;function q(e,t){let r=E(t),n=t,i=y;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&"data"===r.slice(0,4)&&Y.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(V,J);n="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!V.test(e)){let r=e.replace(W,K);"-"!==r.charAt(0)&&(r="-"+r),t="data"+r}}i=$}return new i(n,t)}function K(e){return"-"+e.toLowerCase()}function J(e){return e.charAt(1).toUpperCase()}var X=r(181168);let Q={}.hasOwnProperty;function ee(e,t,r){let n=r&&function(e){let t={},r=-1;for(;++r<e.length;)t[e[r].toLowerCase()]=e[r];return t}(r);return function(r,i,...a){let s,o=-1;if(null==r)s={type:"root",children:[]},a.unshift(i);else if((s=function(e,t){let r,n,i=e||"",a={},s=0;for(;s<i.length;){G.lastIndex=s;let e=G.exec(i),t=i.slice(s,e?e.index:i.length);t&&(r?"#"===r?a.id=t:Array.isArray(a.className)?a.className.push(t):a.className=[t]:n=t,s+=t.length),e&&(r=e[0],s++)}return{type:"element",tagName:n||t||"div",properties:a,children:[]}}(r,t)).tagName=s.tagName.toLowerCase(),n&&Q.call(n,s.tagName)&&(s.tagName=n[s.tagName]),function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;for(let t of Object.keys(e)){let r=e[t];if(r&&"object"==typeof r){if(!Array.isArray(r))return!0;for(let e of r)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(i))a.unshift(i);else{let t;for(t in i)Q.call(i,t)&&function(e,t,r,n){let i,a=q(e,r),s=-1;if(null!=n){if("number"==typeof n){if(Number.isNaN(n))return;i=n}else i="boolean"==typeof n?n:"string"==typeof n?a.spaceSeparated?(0,X.q)(n):a.commaSeparated?(0,H.q)(n):a.commaOrSpaceSeparated?(0,X.q)((0,H.q)(n).join(" ")):et(a,a.property,n):Array.isArray(n)?n.concat():"style"===a.property?function(e){let t,r=[];for(t in e)Q.call(e,t)&&r.push([t,e[t]].join(": "));return r.join("; ")}(n):String(n);if(Array.isArray(i)){let e=[];for(;++s<i.length;){let t=et(a,a.property,i[s]);e[s]=t}i=e}if("className"===a.property&&Array.isArray(t.className)){let e=i;i=t.className.concat(e)}t[a.property]=i}}(e,s.properties,t,i[t])}for(;++o<a.length;)!function e(t,r){let n=-1;if(null==r);else if("string"==typeof r||"number"==typeof r)t.push({type:"text",value:String(r)});else if(Array.isArray(r))for(;++n<r.length;)e(t,r[n]);else if("object"==typeof r&&"type"in r)"root"===r.type?e(t,r.children):t.push(r);else throw Error("Expected node, nodes, or string, got `"+r+"`")}(s.children,a[o]);return"element"===s.type&&"template"===s.tagName&&(s.content={type:"root",children:s.children},s.children=[]),s}}function et(e,t,r){if("string"==typeof r){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);
50if((e.boolean||e.overloadedBoolean)&&(""===r||E(r)===E(t)))return!0}return r}let er=ee(B,"div"),en=ee(Z,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);function ei(e,t){let r=e.indexOf("\r",t),n=e.indexOf("\n",t);return -1===n?r:-1===r||r+1===n?n:r<n?r:n}let ea={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},es={}.hasOwnProperty,eo=Object.prototype;function el(e,t){let r;switch(t.nodeName){case"#comment":return r={type:"comment",value:t.data},ec(e,t,r),r;case"#document":case"#document-fragment":{let n="mode"in t&&("quirks"===t.mode||"limited-quirks"===t.mode);if(r={type:"root",children:eu(e,t.childNodes),data:{quirksMode:n}},e.file&&e.location){let t,n,i=String(e.file),a=(t=String(i),n=[],{toOffset:function(e){if(e&&"number"==typeof e.line&&"number"==typeof e.column&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;n.length<e.line;){let e=n[n.length-1],r=ei(t,e),i=-1===r?t.length+1:r+1;if(e===i)break;n.push(i)}let r=(e.line>1?n[e.line-2]:0)+e.column-1;if(r<n[e.line-1])return r}},toPoint:function(e){if("number"==typeof e&&e>-1&&e<=t.length){let r=0;for(;;){let i=n[r];if(void 0===i){let e=ei(t,n[r-1]);i=-1===e?t.length+1:e+1,n[r]=i}if(i>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}),s=a.toPoint(0),o=a.toPoint(i.length);(0,g.ok)(s,"expected `start`"),(0,g.ok)(o,"expected `end`"),r.position={start:s,end:o}}return r}case"#documentType":return ec(e,t,r={type:"doctype"}),r;case"#text":return r={type:"text",value:t.value},ec(e,t,r),r;default:return function(e,t){let r=e.schema;e.schema=t.namespaceURI===ea.svg?Z:B;let n=-1,i={};for(;++n<t.attrs.length;){let e=t.attrs[n],r=(e.prefix?e.prefix+":":"")+e.name;es.call(eo,r)||(i[r]=e.value)}let a=("svg"===e.schema.space?en:er)(t.tagName,i,eu(e,t.childNodes));if(ec(e,t,a),"template"===a.tagName){let r=t.sourceCodeLocation,n=r&&r.startTag&&ed(r.startTag),i=r&&r.endTag&&ed(r.endTag),s=el(e,t.content);n&&i&&e.file&&(s.position={start:n.end,end:i.start}),a.content=s}return e.schema=r,a}(e,t)}}function eu(e,t){let r=-1,n=[];for(;++r<t.length;){let i=el(e,t[r]);n.push(i)}return n}function ec(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){let n=function(e,t,r){let n=ed(r);if("element"===t.type){let i=t.children[t.children.length-1];if(n&&!r.endTag&&i&&i.position&&i.position.end&&(n.end=Object.assign({},i.position.end)),e.verbose){let n,i={};if(r.attrs)for(n in r.attrs)es.call(r.attrs,n)&&(i[q(e.schema,n).property]=ed(r.attrs[n]));(0,g.ok)(r.startTag,"a start tag should exist");let a=ed(r.startTag),s=r.endTag?ed(r.endTag):void 0,o={opening:a};s&&(o.closing=s),o.properties=i,t.data={position:o}}}return n}(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function ed(e){let t=em({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=em({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function em(e){return e.line&&e.column?e:void 0}var ep=r(611464);let eh={}.hasOwnProperty,ef=(0,ep.A)("type",{handlers:{root:function(e,t){let r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=eg(e.children,r,t),e_(e,r),r},element:function(e,t){var r,n;let i,a,s=t;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===t.space&&(s=Z);let o=[];if(e.properties){for(i in e.properties)if("children"!==i&&eh.call(e.properties,i)){let t=function(e,t,r){let n=q(e,t);if(!1===r||null==r||"number"==typeof r&&Number.isNaN(r)||!r&&n.boolean)return;Array.isArray(r)&&(r=n.commaSeparated?(0,H.A)(r):(0,X.A)(r));
50let i={name:n.attribute,value:!0===r?"":String(r)};if(n.space&&"html"!==n.space&&"svg"!==n.space){let e=i.name.indexOf(":");e<0?i.prefix="":(i.name=i.name.slice(e+1),i.prefix=n.attribute.slice(0,e)),i.namespace=ea[n.space]}return i}(s,i,e.properties[i]);t&&o.push(t)}}let l=s.space;(0,g.ok)(l);let u={nodeName:e.tagName,tagName:e.tagName,attrs:o,namespaceURI:ea[l],childNodes:[],parentNode:null};return u.childNodes=eg(e.children,u,s),e_(e,u),"template"===e.tagName&&e.content&&(r=e.content,n=s,(a={nodeName:"#document-fragment",childNodes:[]}).childNodes=eg(r.children,a,n),e_(r,a),u.content=a),u},text:function(e){let t={nodeName:"#text",value:e.value,parentNode:null};return e_(e,t),t},comment:function(e){let t={nodeName:"#comment",data:e.value,parentNode:null};return e_(e,t),t},doctype:function(e){let t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return e_(e,t),t}}});function eg(e,t,r){let n=-1,i=[];if(e)for(;++n<e.length;){let a=ef(e[n],r);a.parentNode=t,i.push(a)}return i}function e_(e,t){let r=e.position;r&&r.start&&r.end&&((0,g.ok)("number"==typeof r.start.offset),(0,g.ok)("number"==typeof r.end.offset),t.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}
vendor: 14,861 bytes, line 50
50var ev=r(187121);let eE=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]);(aY=a3||(a3={}))[aY.EOF=-1]="EOF",aY[aY.NULL=0]="NULL",aY[aY.TABULATION=9]="TABULATION",aY[aY.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",aY[aY.LINE_FEED=10]="LINE_FEED",aY[aY.FORM_FEED=12]="FORM_FEED",aY[aY.SPACE=32]="SPACE",aY[aY.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",aY[aY.QUOTATION_MARK=34]="QUOTATION_MARK",aY[aY.AMPERSAND=38]="AMPERSAND",aY[aY.APOSTROPHE=39]="APOSTROPHE",aY[aY.HYPHEN_MINUS=45]="HYPHEN_MINUS",aY[aY.SOLIDUS=47]="SOLIDUS",aY[aY.DIGIT_0=48]="DIGIT_0",aY[aY.DIGIT_9=57]="DIGIT_9",aY[aY.SEMICOLON=59]="SEMICOLON",aY[aY.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",aY[aY.EQUALS_SIGN=61]="EQUALS_SIGN",aY[aY.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",aY[aY.QUESTION_MARK=63]="QUESTION_MARK",aY[aY.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",aY[aY.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",aY[aY.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",aY[aY.GRAVE_ACCENT=96]="GRAVE_ACCENT",aY[aY.LATIN_SMALL_A=97]="LATIN_SMALL_A",aY[aY.LATIN_SMALL_Z=122]="LATIN_SMALL_Z";let ey="[CDATA[",eb="doctype",eT="script";function ek(e){return e>=55296&&e<=57343}function ex(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eA(e){return e>=64976&&e<=65007||eE.has(e)}(aV=a7||(a7={})).controlCharacterInInputStream="control-character-in-input-stream",aV.noncharacterInInputStream="noncharacter-in-input-stream",aV.surrogateInInputStream="surrogate-in-input-stream",aV.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",aV.endTagWithAttributes="end-tag-with-attributes",aV.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",aV.unexpectedSolidusInTag="unexpected-solidus-in-tag",aV.unexpectedNullCharacter="unexpected-null-character",aV.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",aV.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",aV.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",aV.missingEndTagName="missing-end-tag-name",aV.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",aV.unknownNamedCharacterReference="unknown-named-character-reference",aV.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",aV.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",aV.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",aV.eofBeforeTagName="eof-before-tag-name",aV.eofInTag="eof-in-tag",aV.missingAttributeValue="missing-attribute-value",aV.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",aV.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",aV.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",aV.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",aV.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",aV.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",aV.missingDoctypePublicIdentifier="missing-doctype-public-identifier",aV.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",aV.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",aV.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",aV.cdataInHtmlContent="cdata-in-html-content",aV.incorrectlyOpenedComment="incorrectly-opened-comment",aV.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",aV.eofInDoctype="eof-in-doctype",aV.nestedComment="nested-comment",aV.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",aV.eofInComment="eof-in-comment",aV.incorrectlyClosedComment="incorrectly-closed-comment",aV.eofInCdata="eof-in-cdata",aV.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",aV.nullCharacterReference="null-character-reference",aV.surrogateCharacterReference="surrogate-character-reference",aV.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",aV.controlCharacterReference="control-character-reference",aV.noncharacterCharacterReference="noncharacter-character-reference",aV.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",aV.missingDoctypeName="missing-doctype-name",aV.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",aV.duplicateAttribute="duplicate-attribute",aV.nonConformingDoctype="non-conforming-doctype",aV.missingDoctype="missing-doctype",aV.misplacedDoctype="misplaced-doctype",aV.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",aV.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",aV.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",aV.openElementsLeftAfterEof="open-elements-left-after-eof",aV.abandonedHeadElementChild="abandoned-head-element-child",aV.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",aV.nestedNoscriptInHead="nested-noscript-in-head",aV.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class eI{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:r,col:n,offset:i}=this,a=n+t,s=i+t;return{code:e,startLine:r,endLine:r,startCol:a,endCol:a,startOffset:s,endOffset:s}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,a3.EOF;return this._err(a7.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((32|this.html.charCodeAt(this.pos+t))!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,a3.EOF;let r=this.html.charCodeAt(t);return r===a3.CARRIAGE_RETURN?a3.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,a3.EOF;let e=this.html.charCodeAt(this.pos);return e===a3.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,a3.LINE_FEED):e===a3.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,ek(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===a3.LINE_FEED||e===a3.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){ex(e)?this._err(a7.controlCharacterInInputStream):eA(e)&&this._err(a7.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function eS(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}(aW=a8||(a8={}))[aW.CHARACTER=0]="CHARACTER",aW[aW.NULL_CHARACTER=1]="NULL_CHARACTER",aW[aW.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",aW[aW.START_TAG=3]="START_TAG",aW[aW.END_TAG=4]="END_TAG",aW[aW.COMMENT=5]="COMMENT",aW[aW.DOCTYPE=6]="DOCTYPE",aW[aW.EOF=7]="EOF",aW[aW.HIBERNATION=8]="HIBERNATION";let eN=new Uint16Array('áµ<\xd5ıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcfligè»\xc6äPè»&ä¦cuteè»\xc1äreve;äÄiyx}rcè»\xc2ä;är;ì\uD835\uDD04raveè»\xc0äpha;äacr;äd;æ©Ägp\x9d\xa1on;äf;ì\uD835\uDD38plyFunction;æ¡ingè»\xc5ä
Äcs\xbe\xc3r;ì\uD835\uDC9Cign;æildeè»\xc3ämlè»\xc4äÐaceforsu\xe5\xfb\xfeÄÄĢħĪÄcr\xea\xf2kslash;æÅ¶\xf6\xf8;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ì\uD835\uDD05pf;ì\uD835\uDD39eve;äc\xf2Ämpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»\xa9䩯cpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»\xc7ärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·\xf2Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ì\uD835\uDC9EpÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ì\uD835\uDD07Äaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ì\uD835\uDD3BÆ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegra\xecȹoɴ͹\0\0Í»\xbbÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æe\xe5ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\0\0ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\0Ñ\0ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\0ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ì\uD835\uDC9Frok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»\xd0äcuteè»\xc9äÆaiyÓÓÓron;ärcè»\xcaä;äot;är;ì\uD835\uDD08raveè»\xc8äement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ì\uD835\uDD3Csilon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»\xcbäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ì\uD835\uDD09lledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ì\uD835\uDD3DAll;æriertrf;æ±c\xf2רJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ì\uD835\uDD0A;æpf;ì\uD835\uDD3EeaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ì\uD835\uDCA2;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
\xf2Ú©rok;ä¦mpÅÛÛownHum\xf0įqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»\xcdäÄiyÜÜrcè»\xceä;äot;ä°r;æraveè»\xccäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lie\xf3ÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ì\uD835\uDD40a;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»\xcfäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ì\uD835\uDD0Dpf;ì\uD835\uDD41Ç£ß\0ßr;ì\uD835\uDCA5rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ì\uD835\uDD0Epf;ì\uD835\uDD42cr;ì\uD835\uDCA6ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\0à£bleBracket;æ¦nÇà£\0à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ight\xe1ÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ì\uD835\uDD0FÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ight\xe1οight\xe1Ïf;ì\uD835\uDD43erÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©\xf2à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ì\uD835\uDD10nusPlus;æpf;ì\uD835\uDD44c\xf2à©¶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«\xebà«eryThi\xeeà«tedÄGL૸à¬reaterGreate\xf2Ù³essLes\xf3à©Line;är;ì\uD835\uDD11ÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ì\uD835\uDCA9ildeè»\xd1ä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»\xd3äÄiyà·à·rcè»\xd4ä;äblac;ä
r;ì\uD835\uDD12raveè»\xd2äÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ì\uD835\uDD46enCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ì\uD835\uDCAAashè»\xd8äiŬื฼deè»\xd5äes;樷mlè»\xd6äerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;
50æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ì\uD835\uDD13i;ä¦;ä usMinus;ä±Äipຢàºncareplan\xe5Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ì\uD835\uDCAB;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ì\uD835\uDD14pf;æcr;ì\uD835\uDCACØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»\xae䮯cnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r\xbbཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\0á
bleBracket;æ§nÇá\0áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ì\uD835\uDD16ortÈDLRUáªá´á¾á
ownArrow\xbbÐeftArrow\xbbà¢ightArrow\xbbà¿pArrow;ægma;ä£allCircle;æpf;ì\uD835\uDD4Aɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ì\uD835\uDCAEar;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Th\xe1à¾;æÆ;esááá£ærsetÄ;Eááæqual;æet\xbbáÖHRSacfhiorsá¾ááááá±á¶ááááORNè»\xdeäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ì\uD835\uDD17Äeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ì\uD835\uDD4BipleDot;æÄctáár;ì\uD835\uDCAFrok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»\xdaärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»\xdbä;ä£blac;ä
°r;ì\uD835\uDD18raveè»\xd9äacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ì\uD835\uDD4CÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥own\xe1ϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ì\uD835\uDCB0ilde;ä
¨mlè»\xdcäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ì\uD835\uDD19pf;ì\uD835\uDD4Dcr;ì\uD835\uDCB1dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;ì\uD835\uDD1Apf;ì\uD835\uDD4Ecr;ì\uD835\uDCB2Èfiosáááár;ì\uD835\uDD1B;äpf;ì\uD835\uDD4Fcr;ì\uD835\uDCB3ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»\xddäÄiyáárc;ä
¶;ä«r;ì\uD835\uDD1Cpf;ì\uD835\uDD50cr;ì\uD835\uDCB4ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidt\xe8à«a;är;æ¨pf;æ¤cr;ì\uD835\uDCB5௡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»\xe1ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»\xe2ä¢teè»\xb4Ì;ä°ligè»\xe6ä¦Ä;r\xb2áº;ì\uD835\uDD1Eraveè»\xe0ä ÄepááÄfpáásym;æµ\xe8áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e\xbbásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢\xbb\xb9arr;æ¼Ägpá£á§on;ä
f;ì\uD835\uDD52Î;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eáá\xf1áingè»\xe5䥯ctyá¡á¦á¨r;ì\uD835\uDCB6;äªmpÄ;eáá¯\xf1Êildeè»\xe3ä£mlè»\xe4ä¤Äciááonin\xf4ɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e\xbbárkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰s\xe9áno\xf5ÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ì\uD835\uDD1FgÎcostuvwááá³ááááÆaiuááá\xf0Ý rc;æ¯p\xbbá±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨e\xe5á\xe5áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ì\uD835\uDD53Ä;táá¡£om\xbbátie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»\xa6ä¦Èceioá¥á¥á¥á¥ r;ì\uD835\uDCB7mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t\xbb᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æ\xeeÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;
50ädilè»\xe7ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»\xb8Æptyv;榲tè\xa2;eá¨á¨®ä¢r\xe4Ʋr;ì\uD835\uDD20Æceiᨽá©á©y;äckÄ;má©á©æark\xbbá©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáª\xbbà½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it\xbb᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;q\xc7\xc6Éá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æ\xeeá
eÄmx᫱᫶ent\xbbá«©e\xf3Éǧ᫾\0á¬Ä;dá»á¬ot;æ©n\xf4ÉÆfryá¬á¬á¬;ì\uD835\uDD54o\xe4Éè\xa9;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ì\uD835\uDCB8ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\0\0áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\0\0á¯re\xe3á³u\xe3áµee;æedge;æenè»\xa4ä¤earrowÄlrᯮ᯳eft\xbbá®ight\xbbᮽe\xe4á¯Äciá°á°onin\xf4Ç·nt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·r\xf2Îar;楥Èglrsá±á±á±á±ger;æ eth;æ¸\xf2á³hÄ;vá±á±æ\xbbà¤Å«á±¡á±§arow;æ¤a\xe3ÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»\xb0ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ì\uD835\uDD21arÄlrᲳᲵ\xbbà£\xbbáÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè\xf7;oá³§á³°ntimes;æn\xf8á³·cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ì\uD835\uDD55Ê;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedg\xe5\xfanÆadhá®áµáµ§ownarrow\xf3á²arpoonÄlrᵲᵶef\xf4á²´igh\xf4ᲶŢᵿá¶
karo\xf7à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ì\uD835\uDCB9;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·r\xf2Щa\xf2ྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´o\xf4á²Äcsá¸á¸uteè»\xe9ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»\xeaäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ì\uD835\uDD22Æ;rsá¹á¹á¹æªaveè»\xe8ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et\xbbáºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ì\uD835\uDD56Æalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon\xbbá»;äµÈcsuvỪỳá¼á¼£Äioữḱrc\xbbḮɩỹ\0\0á»»\xedÕantÄglá¼á¼tr\xbbá¹ess\xbbṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯o\xf4ÍÄahá½á½;ä·è»\xf0ä°Ämrá½á½lè»\xebä«o;æ¬Æcipὡὤὧl;ä¡s\xf4Õ®ÄeoὬὴctatio\xeeÕnential\xe5չৡá¾\0á¾\0ᾡᾧ\0\0á¿á¿\0á¿\0ῦῪâ\0ââllingdotse\xf1á¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ì\uD835\uDD23lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ì\uD835\uDD57ÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»\xbdä½;æ
è»\xbcä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»\xbeä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ì\uD835\uDCBBà¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlan\xf4Ù¥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ì\uD835\uDD24Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox\xbbâ¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ì\uD835\uDD58Äciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âpro\xf8âr;楸qÄlqØ¿âles\xf3âi\xedÙ«Äenâ£ârtneqq;ìâ©ï¸\xc5âªÔAabcefkosyâââ±âµâºâââ¯â¨â½r\xf2Î Èilmrâââârs\xf0áf\xbbâ¤il\xf4Ú©Ädrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it\xbbâlip;æ¦con;æ¹r;ì\uD835\uDD25sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ì\uD835\uDD59bar;æÆcltâ¯â´â¸r;ì\uD835\uDCBDas\xe8â´rok;ä§Äbpââull;æhen\xbbá±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»\xedäÆ;
50iyݱâ°âµrcè»\xeeä®;ä¸Äcxâ¼â¿y;äµclè»\xa1ä¡ÄfrÎâ;ì\uD835\uDD26raveè»\xecä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââin\xe5Þar\xf4Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§do\xf4âÊ;celpÝââââ¡al;æºÄgrââer\xf3á£\xe3âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ì\uD835\uDD5Aa;ä¹uestè»\xbfä¿Äciââr;ì\uD835\uDCBEnÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»\xefä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ì\uD835\uDD27ath;ä·pf;ì\uD835\uDD5BÇ£â¬\0â±r;ì\uD835\uDCBFrcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ì\uD835\uDD28reen;ä¸cy;ä
cy;äpf;ì\uD835\uDD5Ccr;ì\uD835\uDCC0à®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼r\xf2à§\xf2Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴ra\xeeà¡bda;ä»gÆ;dlà¢ââ;æ¦\xe5à¢;æª
uoè»\xabä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤\xebâp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼\xecࢰ\xe2â©;
50ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡a\xe9â¶arpoonÄduâ¯â´own\xbbÑp\xbb०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoon\xf3à¾quigarro\xf7â°hreetimes;æÆ;qsâà¦âºlan\xf4বÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââppro\xf8âot;æqÄgqââ
\xf4à¦gt\xf2â\xf4à¦i\xedলÆilrâ࣡âsht;楼;ì\uD835\uDD29Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââr\xf2âorne\xf2á´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che\xbbâÈEaesâ»â½ââ;æ¨pÄ;pââæªrox\xbbâÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½r\xebà£gÆlmrâ¿ââeftÄar০âight\xe1à§²apsto;æ¼ight\xe1à§½parrowÄlrâ¥â©ef\xf4âight;æ¬Æaflâ¶â¹â½r;æ¦
;ì\uD835\uDD5Dus;æ¨imes;樴šââst;æ\xe1áÆ;efââá ænge\xbbâarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âr\xf2ࢨorne\xf2á¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ì\uD835\uDCC1mÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹re\xe5â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸\xc5â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»\xafä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se\xbbâ¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»ow\xeeÒef\xf4à¤\xf0áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle\xbbá¦r;ì\uD835\uDD2Ao;æ§Æcdn⢯⢴â£roè»\xb5äµÈ;acdá¤â¢½â£â£s\xf4á§ir;æ«°otè»\xb7ƵusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«\xf2â\xf0àªÄdp⣩⣮els;æ§f;ì\uD835\uDD5EÄct⣸⣽r;ì\uD835\uDCC2pos\xbbáÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la\xbbËute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
ro\xf8à¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»\xa0ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸ui\xf6à£Äeiâ©â©ar;椨\xedà®istÄ;sà® à®r;ì\uD835\uDD2BÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lan\xf4௢i\xed௪Ä;rà®¶âª\xbbà®·ÆAapâªâªâªr\xf2⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹r\xf2⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro\xf7â«ightarro\xf7âªÆ;qs఻⪺⫪lan\xf4à±Ä;sà±â«´\xbbà°¶i\xedà±Ä;rవ⫾iÄ;eà°à°¥i\xe4à¶Äptâ¬â¬f;ì\uD835\uDD5Fè\xac;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlle\xecà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³u\xe5ಥÄ;cà²â¸Ä;eà²â½\xf1à²ÈAaitâ®â®â®â®§r\xf2â¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow\xbbâ®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯u\xe5àµ
;ì\uD835\uDCC3ortÉâ¬
\0\0â¯ar\xe1âmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯\xe5೸\xe5à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°\xf1à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±\xecà¯ldeè»\xf1ä±\xe7à±iangleÄlrâ±â±eftÄ;eà°â±\xf1à°¦ightÄ;eà³â±¥\xf1à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0â´¸âµâµ ⵥ⵲â¶á¬\0\0â¶â¶«\0â·â·\0â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»\xf3ä³Äiyâ´¼âµ
rÄ;cáªâµè»\xf4ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ì\uD835\uDD2Cͯ⵹\0\0âµ¼\0â¶n;äaveè»\xf2ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨r\xf2áªÄirâ¶â¶ r;榾oss;榻n\xe5à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ì\uD835\uDD60Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨r\xf2áªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f\xbbâ·¿è»\xaaäªè»\xbaäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§\xf2â¸ashè»\xf8ä¸l;æiŬⸯ⸴deè»\xf5äµesÄ;aÇ⸺s;樶mlè»\xf6ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;
50astÐâ¹§â¹²àº
è\xb6;lâ¹â¹®ä¶le\xecÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ì\uD835\uDD2DÆimo⺨⺰⺴Ä;vâºâº®ä;äma\xf4à©¶ne;æÆ;tv⺿â»â»ächfork\xbb´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æ\xf6â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»\xb1àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ì\uD835\uDD61ndè»\xa3ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷u\xe5à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾ppro\xf8â½urlye\xf1à»\xf1à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨i\xedà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½º\xf0â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴\xefà»»rel;æ°Äciâ¿â¿
r;ì\uD835\uDCC5;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ì\uD835\uDD2Epf;ì\uD835\uDD62rime;æcr;ì\uD835\uDCC6Æaeo⿸ããtÄei⿾ã
rnion\xf3Ú°nt;æ¨stÄ;eããä¿\xf1á¼\xf4à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããr\xf2á³\xf2Ïail;æ¤ar\xf2á±¥ar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
i\xe3á
®mptyv;榳gÈ;delà¿ããã;æ¦;榥\xe5à¿uoè»\xbbä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤\xebâ\xf0â®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶al\xf3à¼Æabrã§ãªã®r\xf2á¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
\xec࿲\xe2ãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
án\xe5á»ar\xf4ྩt;æÆilrã
©á£ã
®sht;楽;ì\uD835\uDD2FÄaoã
·ãrÄduã
½ã
¿\xbbÑ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãa\xe9ãarpoonÄduã»ã¿ow\xeeã
¾p\xbbáeftÄahããrrow\xf3࿪arpoon\xf3Õightarrows;æquigarro\xf7ãhreetimes;æg;äingdotse\xf1á¼²Æahmãããr\xf2࿪a\xf2Õ;æoustÄ;aããæ±che\xbbãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾r\xebáÆaflãããr;æ¦;ì\uD835\uDD63us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨ar\xf2ã£Èachqã»ãá¼ã
quo;æºr;ì\uD835\uDCC7Äbuã»ãoÄ;rÈÈÆhirããã re\xe5ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
qu\xefâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡u\xe5á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨i\xedá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrãã\xebâ¨Ä;oਸ਼਴tè»\xa7ä§i;ä»war;椩mÄinã©\xf0nu\xf3\xf1t;æ¶rÄ;oã¶âì\uD835\uDD30Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãi\xe4á¤ara\xec⹯è»\xadäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲ar\xf2á½Èaeitã¸ãããÄlsã½ãlsetm\xe9ãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ì\uD835\uDD64aÄdrãÐesÄ;uããæ it\xbbãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáã\xf1áÆ;esá¨áãetÄ;eá¨ã\xf1á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±\xbbá
¼ar\xf2á
Ècemtã¹ã¾ãã
r;ì\uD835\uDCC8tm\xee\xf1i\xecãar\xe6á¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsilo\xeeá» h\xe9⺯s\xbbâ¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦ppro\xf8ãºurlye\xf1á¾\xf1á³Æaesãããppro\xf8ãq\xf1ãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»\xb9ä¹è»\xb2ä²è»\xb3ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨\xebâ®Ä;oਫ਩war;椪ligè»\xdfä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;är\xebà¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ì\uD835\uDD31Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®ppro\xf8áim\xbbá¬s\xf0áÄasãºã®\xf0árnè»\xfeä¾Ç¬Ìãâ§esè\xd7;bdãããäÄ;
50aá¤ãr;樱;樰Æepsã¡ã£ã\xe1â©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ì\uD835\uDD65rk;æ«\xe1ã¢rime;æ´Æaipããã¤d\xe5áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown\xbbá¶»eftÄ;eâ ã¾\xf1म;æightÄ;eãªã\xf1áot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ì\uD835\uDCC9;äcy;ärok;ä
§Äioããx\xf4á·headÄlrãã eftarro\xf7à¡ightarrow\xbbà½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶r\xf2Ïar;楣Äcrãã¢uteè»\xfaäº\xf2á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»\xfbä»;äÆabhã ã ã r\xf2álac;ä
±a\xf2áÄirã ã sht;楾;ì\uD835\uDD32raveè»\xf9ä¹Å¡ã §ã ±rÄlr㠬㠮\xbbà¥\xbbálk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær\xbbã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»\xa8ÍÄgp㡢㡦on;ä
³f;ì\uD835\uDD66Ìadhlsuá
㡸㡽á²ã¢ã¢ own\xe1á³arpoonÄlrã¢ã¢ef\xf4ã igh\xf4ã ¯iÆ;hlã¢ã¢ã¢ä
\xbbáºon\xbbã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær\xbb㢽op;æng;ä
¯ri;æ¹cr;ì\uD835\uDCCAÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨\xbbá Äam㣯㣲r\xf2㢨lè»\xfcä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ r\xf2Ï·arÄ;v㤦㤧櫨;æ«©as\xe8Ï¡Änr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦app\xe1âothin\xe7áºÆhirã«â»ã¥op\xf4â¾µÄ;há·ã¥¢\xefãÄiu㥩ã¥gm\xe1ã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦et\xe1ãiangleÄlr㦪㦯eft\xbbथight\xbbáy;ä²ash\xbbá¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨a\xf2á©r;ì\uD835\uDD33tr\xe9㦮suÄbp㧯㧱\xbbà´\xbbàµpf;ì\uD835\uDD67ro\xf0à»»tr\xe9㦴Äcuã¨ã¨r;ì\uD835\uDCCBÄbpã¨ã¨nÄEeã¦ã¨\xbb㥾nÄEeã¦ã¨\xbbã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ì\uD835\uDD34pf;ì\uD835\uDD68Ä;eá¹ã©¦at\xe8á¹cr;ì\uD835\uDCCCà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátr\xe9ár;ì\uD835\uDD35ÄAaãªãªr\xf2Ïr\xf2à§¶;ä¾ÄAa㪡㪤r\xf2θr\xf2à§«a\xf0âis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ì\uD835\uDD69im\xe5á²ÄAaã«ã«r\xf2Ïr\xf2à¨Äcqã«á¸r;ì\uD835\uDCCDÄptáã«r\xe9áÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»\xfdä½;äÄiyã¬ã¬rc;ä
·;änè»\xa5ä¥r;ì\uD835\uDD36cy;äpf;ì\uD835\uDD6Acr;ì\uD835\uDCCEÄcm㬦㬩y;älè»\xffä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡tr\xe6áa;ä¶r;ì\uD835\uDD37cy;ä¶grarr;æpf;ì\uD835\uDD6Bcr;ì\uD835\uDCCFÄjnã®
ã®;æj;æ'.split("").map(e=>e.charCodeAt(0))),eO=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function eC(e){return e>=se.ZERO&&e<=se.NINE}(aq=se||(se={}))[aq.NUM=35]="NUM",aq[aq.SEMI=59]="SEMI",aq[aq.EQUALS=61]="EQUALS",aq[aq.ZERO=48]="ZERO",aq[aq.NINE=57]="NINE",aq[aq.LOWER_A=97]="LOWER_A",aq[aq.LOWER_F=102]="LOWER_F",aq[aq.LOWER_X=120]="LOWER_X",aq[aq.LOWER_Z=122]="LOWER_Z",aq[aq.UPPER_A=65]="UPPER_A",aq[aq.UPPER_F=70]="UPPER_F",aq[aq.UPPER_Z=90]="UPPER_Z",(aK=st||(st={}))[aK.VALUE_LENGTH=49152]="VALUE_LENGTH",aK[aK.BRANCH_LENGTH=16256]="BRANCH_LENGTH",aK[aK.JUMP_TABLE=127]="JUMP_TABLE",(aJ=sr||(sr={}))[aJ.EntityStart=0]="EntityStart",aJ[aJ.NumericStart=1]="NumericStart",aJ[aJ.NumericDecimal=2]="NumericDecimal",aJ[aJ.NumericHex=3]="NumericHex",aJ[aJ.NamedEntity=4]="NamedEntity",(aX=sn||(sn={}))[aX.Legacy=0]="Legacy",aX[aX.Strict=1]="Strict",aX[aX.Attribute=2]="Attribute";class e${constructor(e,t,r){this.decodeTree=e,this.emitCodePoint=t,this.errors=r,this.state=sr.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=sn.Strict}startEntity(e){this.decodeMode=e,this.state=sr.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case sr.EntityStart:if(e.charCodeAt(t)===se.NUM)return this.state=sr.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=sr.NamedEntity,this.stateNamedEntity(e,t);case sr.NumericStart:return this.stateNumericStart(e,t);case sr.NumericDecimal:return this.stateNumericDecimal(e,t);case sr.NumericHex:return this.stateNumericHex(e,t);case sr.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===se.LOWER_X?(this.state=sr.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=sr.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,r,n){if(t!==r){let i=r-t;this.result=this.result*Math.pow(n,i)+Number.parseInt(e.substr(t,
50i),n),this.consumed+=i}}stateNumericHex(e,t){let r=t;for(;t<e.length;){var n;let i=e.charCodeAt(t);if(!eC(i)&&(!((n=i)>=se.UPPER_A)||!(n<=se.UPPER_F))&&(!(n>=se.LOWER_A)||!(n<=se.LOWER_F)))return this.addToNumericResult(e,r,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,r,t,16),-1}stateNumericDecimal(e,t){let r=t;for(;t<e.length;){let n=e.charCodeAt(t);if(!eC(n))return this.addToNumericResult(e,r,t,10),this.emitNumericEntity(n,2);t+=1}return this.addToNumericResult(e,r,t,10),-1}emitNumericEntity(e,t){var r,n,i;if(this.consumed<=t)return null==(r=this.errors)||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===se.SEMI)this.consumed+=1;else if(this.decodeMode===sn.Strict)return 0;return this.emitCodePoint((n=this.result)>=55296&&n<=57343||n>1114111?65533:null!=(i=eO.get(n))?i:n,this.consumed),this.errors&&(e!==se.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:r}=this,n=r[this.treeIndex],i=(n&st.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=function(e,t,r,n){let i=(t&st.BRANCH_LENGTH)>>7,a=t&st.JUMP_TABLE;if(0===i)return 0!==a&&n===a?r:-1;if(a){let t=n-a;return t<0||t>=i?-1:e[r+t]-1}let s=r,o=s+i-1;for(;s<=o;){let t=s+o>>>1,r=e[t];if(r<n)s=t+1;else{if(!(r>n))return e[t+i];o=t-1}}return -1}(r,n,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return 0===this.result||this.decodeMode===sn.Attribute&&(0===i||function(e){var t;return e===se.EQUALS||(t=e)>=se.UPPER_A&&t<=se.UPPER_Z||t>=se.LOWER_A&&t<=se.LOWER_Z||eC(t)}(a))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((n=r[this.treeIndex])&st.VALUE_LENGTH)>>14)){if(a===se.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==sn.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:r}=this,n=(r[t]&st.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,n,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,r){let{decodeTree:n}=this;return this.emitCodePoint(1===t?n[e]&~st.VALUE_LENGTH:n[e+1],r),3===t&&this.emitCodePoint(n[e+2],r),r}end(){var e;switch(this.state){case sr.NamedEntity:return 0!==this.result&&(this.decodeMode!==sn.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case sr.NumericDecimal:return this.emitNumericEntity(0,2);case sr.NumericHex:return this.emitNumericEntity(0,3);case sr.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case sr.EntityStart:return 0}}}(aQ=si||(si={})).HTML="http://www.w3.org/1999/xhtml",aQ.MATHML="http://www.w3.org/1998/Math/MathML",aQ.SVG="http://www.w3.org/2000/svg",aQ.XLINK="http://www.w3.org/1999/xlink",aQ.XML="http://www.w3.org/XML/1998/namespace",aQ.XMLNS="http://www.w3.org/2000/xmlns/",(a0=sa||(sa={})).TYPE="type",a0.ACTION="action",a0.ENCODING="encoding",a0.PROMPT="prompt",a0.NAME="name",a0.COLOR="color",a0.FACE="face",a0.SIZE="size",(a1=ss||(ss={})).NO_QUIRKS="no-quirks",a1.QUIRKS="quirks",a1.LIMITED_QUIRKS="limited-quirks",(a4=so||(so={})).A="a",a4.ADDRESS="address",a4.ANNOTATION_XML="annotation-xml",a4.APPLET="applet",a4.AREA="area",a4.ARTICLE="article",a4.ASIDE="aside",a4.B="b",a4.BASE="base",a4.BASEFONT="basefont",a4.BGSOUND="bgsound",a4.BIG="big",a4.BLOCKQUOTE="blockquote",a4.BODY="body",a4.BR="br",a4.BUTTON="button",a4.CAPTION="caption",a4.CENTER="center",a4.CODE="code",a4.COL="col",a4.COLGROUP="colgroup",a4.DD="dd",a4.DESC="desc",a4.DETAILS="details",a4.DIALOG="dialog",a4.DIR="dir",a4.DIV="div",a4.DL="dl",a4.DT="dt",a4.EM="em",a4.EMBED="embed",a4.FIELDSET="fieldset",a4.FIGCAPTION="figcaption",a4.FIGURE="figure",a4.FONT="font",a4.FOOTER="footer",a4.FOREIGN_OBJECT="foreignObject",a4.FORM="form",a4.FRAME="frame",a4.FRAMESET="frameset",a4.H1="h1",a4.H2="h2",a4.H3="h3",a4.H4="h4",a4.H5="h5",a4.H6="h6",a4.HEAD="head",a4.HEADER="header",a4.HGROUP="hgroup",a4.HR="hr",a4.HTML="html",a4.I="i",a4.IMG="img",a4.IMAGE="image",a4.INPUT="input",a4.IFRAME="iframe",a4.KEYGEN="keygen",a4.LABEL="label",a4.LI="li",a4.LINK="link",a4.LISTING="listing",a4.MAIN="main",a4.MALIGNMARK="malignmark",a4.MARQUEE="marquee",a4.MATH="math",a4.MENU="menu",a4.META="meta",a4.MGLYPH="mglyph",a4.MI="mi",a4.MO="mo",a4.MN="mn",a4.MS="ms",a4.MTEXT="mtext",a4.NAV="nav",a4.NOBR="nobr",a4.NOFRAMES="noframes",a4.NOEMBED="noembed",a4.NOSCRIPT="noscript",a4.OBJECT="object",a4.OL="ol",a4.OPTGROUP="optgroup",a4.OPTION="option",a4.P="p",a4.PARAM="param",a4.PLAINTEXT="plaintext",a4.PRE="pre",a4.RB="rb",a4.RP="rp",a4.RT="rt",a4.RTC="rtc",a4.RUBY="ruby",a4.S="s",a4.SCRIPT="script",a4.SEARCH="search",a4.SECTION="section",a4.SELECT="select",a4.SOURCE="source",a4.SMALL="small",a4.SPAN="span",a4.STRIKE="str
50ike",a4.STRONG="strong",a4.STYLE="style",a4.SUB="sub",a4.SUMMARY="summary",a4.SUP="sup",a4.TABLE="table",a4.TBODY="tbody",a4.TEMPLATE="template",a4.TEXTAREA="textarea",a4.TFOOT="tfoot",a4.TD="td",a4.TH="th",a4.THEAD="thead",a4.TITLE="title",a4.TR="tr",a4.TRACK="track",a4.TT="tt",a4.U="u",a4.UL="ul",a4.SVG="svg",a4.VAR="var",a4.WBR="wbr",a4.XMP="xmp",(a6=sl||(sl={}))[a6.UNKNOWN=0]="UNKNOWN",a6[a6.A=1]="A",a6[a6.ADDRESS=2]="ADDRESS",a6[a6.ANNOTATION_XML=3]="ANNOTATION_XML",a6[a6.APPLET=4]="APPLET",a6[a6.AREA=5]="AREA",a6[a6.ARTICLE=6]="ARTICLE",a6[a6.ASIDE=7]="ASIDE",a6[a6.B=8]="B",a6[a6.BASE=9]="BASE",a6[a6.BASEFONT=10]="BASEFONT",a6[a6.BGSOUND=11]="BGSOUND",a6[a6.BIG=12]="BIG",a6[a6.BLOCKQUOTE=13]="BLOCKQUOTE",a6[a6.BODY=14]="BODY",a6[a6.BR=15]="BR",a6[a6.BUTTON=16]="BUTTON",a6[a6.CAPTION=17]="CAPTION",a6[a6.CENTER=18]="CENTER",a6[a6.CODE=19]="CODE",a6[a6.COL=20]="COL",a6[a6.COLGROUP=21]="COLGROUP",a6[a6.DD=22]="DD",a6[a6.DESC=23]="DESC",a6[a6.DETAILS=24]="DETAILS",a6[a6.DIALOG=25]="DIALOG",a6[a6.DIR=26]="DIR",a6[a6.DIV=27]="DIV",a6[a6.DL=28]="DL",a6[a6.DT=29]="DT",a6[a6.EM=30]="EM",a6[a6.EMBED=31]="EMBED",a6[a6.FIELDSET=32]="FIELDSET",a6[a6.FIGCAPTION=33]="FIGCAPTION",a6[a6.FIGURE=34]="FIGURE",a6[a6.FONT=35]="FONT",a6[a6.FOOTER=36]="FOOTER",a6[a6.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",a6[a6.FORM=38]="FORM",a6[a6.FRAME=39]="FRAME",a6[a6.FRAMESET=40]="FRAMESET",a6[a6.H1=41]="H1",a6[a6.H2=42]="H2",a6[a6.H3=43]="H3",a6[a6.H4=44]="H4",a6[a6.H5=45]="H5",a6[a6.H6=46]="H6",a6[a6.HEAD=47]="HEAD",a6[a6.HEADER=48]="HEADER",a6[a6.HGROUP=49]="HGROUP",a6[a6.HR=50]="HR",a6[a6.HTML=51]="HTML",a6[a6.I=52]="I",a6[a6.IMG=53]="IMG",a6[a6.IMAGE=54]="IMAGE",a6[a6.INPUT=55]="INPUT",a6[a6.IFRAME=56]="IFRAME",a6[a6.KEYGEN=57]="KEYGEN",a6[a6.LABEL=58]="LABEL",a6[a6.LI=59]="LI",a6[a6.LINK=60]="LINK",a6[a6.LISTING=61]="LISTING",a6[a6.MAIN=62]="MAIN",a6[a6.MALIGNMARK=63]="MALIGNMARK",a6[a6.MARQUEE=64]="MARQUEE",a6[a6.MATH=65]="MATH",a6[a6.MENU=66]="MENU",a6[a6.META=67]="META",a6[a6.MGLYPH=68]="MGLYPH",a6[a6.MI=69]="MI",a6[a6.MO=70]="MO",a6[a6.MN=71]="MN",a6[a6.MS=72]="MS",a6[a6.MTEXT=73]="MTEXT",a6[a6.NAV=74]="NAV",a6[a6.NOBR=75]="NOBR",a6[a6.NOFRAMES=76]="NOFRAMES",a6[a6.NOEMBED=77]="NOEMBED",a6[a6.NOSCRIPT=78]="NOSCRIPT",a6[a6.OBJECT=79]="OBJECT",a6[a6.OL=80]="OL",a6[a6.OPTGROUP=81]="OPTGROUP",a6[a6.OPTION=82]="OPTION",a6[a6.P=83]="P",a6[a6.PARAM=84]="PARAM",a6[a6.PLAINTEXT=85]="PLAINTEXT",a6[a6.PRE=86]="PRE",a6[a6.RB=87]="RB",a6[a6.RP=88]="RP",a6[a6.RT=89]="RT",a6[a6.RTC=90]="RTC",a6[a6.RUBY
50=91]="RUBY",a6[a6.S=92]="S",a6[a6.SCRIPT=93]="SCRIPT",a6[a6.SEARCH=94]="SEARCH",a6[a6.SECTION=95]="SECTION",a6[a6.SELECT=96]="SELECT",a6[a6.SOURCE=97]="SOURCE",a6[a6.SMALL=98]="SMALL",a6[a6.SPAN=99]="SPAN",a6[a6.STRIKE=100]="STRIKE",a6[a6.STRONG=101]="STRONG",a6[a6.STYLE=102]="STYLE",a6[a6.SUB=103]="SUB",a6[a6.SUMMARY=104]="SUMMARY",a6[a6.SUP=105]="SUP",a6[a6.TABLE=106]="TABLE",a6[a6.TBODY=107]="TBODY",a6[a6.TEMPLATE=108]="TEMPLATE",a6[a6.TEXTAREA=109]="TEXTAREA",a6[a6.TFOOT=110]="TFOOT",a6[a6.TD=111]="TD",a6[a6.TH=112]="TH",a6[a6.THEAD=113]="THEAD",a6[a6.TITLE=114]="TITLE",a6[a6.TR=115]="TR",a6[a6.TRACK=116]="TRACK",a6[a6.TT=117]="TT",a6[a6.U=118]="U",a6[a6.UL=119]="UL",a6[a6.SVG=120]="SVG",a6[a6.VAR=121]="VAR",a6[a6.WBR=122]="WBR",a6[a6.XMP=123]="XMP";let ew=new Map([[so.A,sl.A],[so.ADDRESS,sl.ADDRESS],[so.ANNOTATION_XML,sl.ANNOTATION_XML],[so.APPLET,sl.APPLET],[so.AREA,sl.AREA],[so.ARTICLE,sl.ARTICLE],[so.ASIDE,sl.ASIDE],[so.B,sl.B],[so.BASE,sl.BASE],[so.BASEFONT,sl.BASEFONT],[so.BGSOUND,sl.BGSOUND],[so.BIG,sl.BIG],[so.BLOCKQUOTE,sl.BLOCKQUOTE],[so.BODY,sl.BODY],[so.BR,sl.BR],[so.BUTTON,sl.BUTTON],[so.CAPTION,sl.CAPTION],[so.CENTER,sl.CENTER],[so.CODE,sl.CODE],[so.COL,sl.COL],[so.COLGROUP,sl.COLGROUP],[so.DD,sl.DD],[so.DESC,sl.DESC],[so.DETAILS,sl.DETAILS],[so.DIALOG,sl.DIALOG],[so.DIR,sl.DIR],[so.DIV,sl.DIV],[so.DL,sl.DL],[so.DT,sl.DT],[so.EM,sl.EM],[so.EMBED,sl.EMBED],[so.FIELDSET,sl.FIELDSET],[so.FIGCAPTION,sl.FIGCAPTION],[so.FIGURE,sl.FIGURE],[so.FONT,sl.FONT],[so.FOOTER,sl.FOOTER],[so.FOREIGN_OBJECT,sl.FOREIGN_OBJECT],[so.FORM,sl.FORM],[so.FRAME,sl.FRAME],[so.FRAMESET,sl.FRAMESET],[so.H1,sl.H1],[so.H2,sl.H2],[so.H3,sl.H3],[so.H4,sl.H4],[so.H5,sl.H5],[so.H6,sl.H6],[so.HEAD,sl.HEAD],[so.HEADER,sl.HEADER],[so.HGROUP,sl.HGROUP],[so.HR,sl.HR],[so.HTML,sl.HTML],[so.I,sl.I],[so.IMG,sl.IMG],[so.IMAGE,sl.IMAGE],[so.INPUT,sl.INPUT],[so.IFRAME,sl.IFRAME],[so.KEYGEN,sl.KEYGEN],[so.LABEL,sl.LABEL],[so.LI,sl.LI],[so.LINK,sl.LINK],[so.LISTING,sl.LISTING],[so.MAIN,sl.MAIN],[so.MALIGNMARK,sl.MALIGNMARK],[so.MARQUEE,sl.MARQUEE],[so.MATH,sl.MATH],[so.MENU,sl.MENU],[so.META,sl.META],[so.MGLYPH,sl.MGLYPH],[so.MI,sl.MI],[so.MO,sl.MO],[so.MN,sl.MN],[so.MS,sl.MS],[so.MTEXT,sl.MTEXT],[so.NAV,sl.NAV],[so.NOBR,sl.NOBR],[so.NOFRAMES,sl.NOFRAMES],[so.NOEMBED,sl.NOEMBED],[so.NOSCRIPT,sl.NOSCRIPT],[so.OBJECT,sl.OBJECT],[so.OL,sl.OL],[so.OPTGROUP,sl.OPTGROUP],[so.OPTION,sl.OPTION],[so.P,sl.P],[so.PARAM,sl.PARAM],[so.PLAINTEXT,sl.PLAINTEXT],[so.PRE,sl.PRE],[so.RB,sl.RB],[so.RP,sl.RP],[so.RT,sl.RT],[so.RTC,sl.RTC],[so.RUBY,sl.RUBY],[so.S,sl.S],[so.SCRIPT,sl.SCRIPT],[so.SEARCH,sl.SEARCH],[so.SECTION,sl.SECTION],[so.SELECT,sl.SELECT],[so.SOURCE,sl.SOURCE],[so.SMALL,sl.SMALL],[so.SPAN,sl.SPAN],[so.STRIKE,sl.STRIKE],[so.STRONG,sl.STRONG],[so.STYLE,sl.STYLE],[so.SUB,sl.SUB],[so.SUMMARY,sl.SUMMARY],[so.SUP,sl.SUP],[so.TABLE,sl.TABLE],[so.TBODY,sl.TBODY],[so.TEMPLATE,sl.TEMPLATE],[so.TEXTAREA,sl.TEXTAREA],[so.TFOOT,sl.TFOOT],[so.TD,sl.TD],[so.TH,sl.TH],[so.THEAD,sl.THEAD],[so.TITLE,sl.TITLE],[so.TR,sl.TR],[so.TRACK,sl.TRACK],[so.TT,sl.TT],[so.U,sl.U],[so.UL,sl.UL],[so.SVG,sl.SVG],[so.VAR,sl.VAR],[so.WBR,sl.WBR],[so.XMP,sl.XMP]]);function eD(e){var t;return null!=(t=ew.get(e))?t:sl.UNKNOWN}let eR=sl,eL={[si.HTML]:new Set([eR.ADDRESS,eR.APPLET,eR.AREA,eR.ARTICLE,eR.ASIDE,eR.BASE,eR.BASEFONT,eR.BGSOUND,eR.BLOCKQUOTE,eR.BODY,eR.BR,eR.BUTTON,eR.CAPTION,eR.CENTER,eR.COL,eR.COLGROUP,eR.DD,eR.DETAILS,eR.DIR,eR.DIV,eR.DL,eR.DT,eR.EMBED,eR.FIELDSET,eR.FIGCAPTION,eR.FIGURE,eR.FOOTER,eR.FORM,eR.FRAME,eR.FRAMESET,eR.H1,eR.H2,eR.H3,eR.H4,eR.H5,eR.H6,eR.HEAD,eR.HEADER,eR.HGROUP,eR.HR,eR.HTML,eR.IFRAME,eR.IMG,eR.INPUT,eR.LI,eR.LINK,eR.LISTING,eR.MAIN,eR.MARQUEE,eR.MENU,eR.META,eR.NAV,eR.NOEMBED,eR.NOFRAMES,eR.NOSCRIPT,eR.OBJECT,eR.OL,eR.P,eR.PARAM,eR.PLAINTEXT,eR.PRE,eR.SCRIPT,eR.SECTION,eR.SELECT,eR.SOURCE,eR.STYLE,eR.SUMMARY,eR.TABLE,eR.TBODY,eR.TD,eR.TEMPLATE,eR.TEXTAREA,eR.TFOOT,eR.TH,eR.THEAD,eR.TITLE,eR.TR,eR.TRACK,eR.UL,eR.WBR,eR.XMP]),[si.MATHML]:new Set([eR.MI,eR.MO,eR.MN,eR.MS,eR.MTEXT,eR.ANNOTATION_XML]),[si.SVG]:new Set([eR.TITLE,eR.FOREIGN_OBJECT,eR.DESC]),[si.XLINK]:new Set,[si.XML]:new Set,[si.XMLNS]:new Set},eP=new Set([eR.H1,eR.H2,eR.H3,eR.H4,eR.H5,eR.H6]);
50so.STYLE,so.SCRIPT,so.XMP,so.IFRAME,so.NOEMBED,so.NOFRAMES,so.PLAINTEXT,(a2=su||(su={}))[a2.DATA=0]="DATA",a2[a2.RCDATA=1]="RCDATA",a2[a2.RAWTEXT=2]="RAWTEXT",a2[a2.SCRIPT_DATA=3]="SCRIPT_DATA",a2[a2.PLAINTEXT=4]="PLAINTEXT",a2[a2.TAG_OPEN=5]="TAG_OPEN",a2[a2.END_TAG_OPEN=6]="END_TAG_OPEN",a2[a2.TAG_NAME=7]="TAG_NAME",a2[a2.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",a2[a2.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",a2[a2.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",a2[a2.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",a2[a2.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",a2[a2.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",a2[a2.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",a2[a2.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",a2[a2.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",a2[a2.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",a2[a2.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",a2[a2.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",a2[a2.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",a2[a2.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",a2[a2.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",a2[a2.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",a2[a2.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",a2[a2.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",a2[a2.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",a2[a2.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",a2[a2.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",a2[a2.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",a2[a2.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",a2[a2.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",a2[a2.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",a2[a2.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",a2[a2.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",a2[a2.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",a2[a2.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",a2[a2.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",a2[a2.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",a2[a2.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",a2[a2.BOGUS_COMMENT=40]="BOGUS_COMMENT",a2[a2.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",a2[a2.COMMENT_START=42]="COMMENT_START",a2[a2.COMMENT_START_DASH=43]="COMMENT_START_DASH",a2[a2.COMMENT=44]="COMMENT",a2[a2.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",a2[a2.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",a2[a2.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",a2[a2.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",a2[a2.COMMENT_END_DASH=49]="COMMENT_END_DASH",a2[a2.COMMENT_END=50]="COMMENT_END",a2[a2.COMMENT_END_BANG=51]="COMMENT_END_BANG",a2[a2.DOCTYPE=52]="DOCTYPE",a2[a2.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",a2[a2.DOCTYPE_NAME=54]="DOCTYPE_NAME",a2[a2.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",a2[a2.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",a2[a2.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",a2[a2.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",a2[a2.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",a2[a2.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",a2[a2.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",a2[a2.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",a2[a2.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",a2[a2.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",a2[a2.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",a2[a2.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",a2[a2.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",a2[a2.CDATA_SECTION=68]="CDATA_SECTION",a2[a2.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",a2[a2.CDATA_SECTION_END=70]="CDATA_SECTION_END",a2[a2.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",a2[a2.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND";let eM={DATA:su.DATA,RCDATA:su.RCDATA,RAWTEXT:su.RAWTEXT,SCRIPT_DATA:su.
50SCRIPT_DATA,PLAINTEXT:su.PLAINTEXT,CDATA_SECTION:su.CDATA_SECTION};function eU(e){return e>=a3.LATIN_CAPITAL_A&&e<=a3.LATIN_CAPITAL_Z}function ez(e){return e>=a3.LATIN_SMALL_A&&e<=a3.LATIN_SMALL_Z||eU(e)}function ej(e){return ez(e)||e>=a3.DIGIT_0&&e<=a3.DIGIT_9}function eF(e){return e===a3.SPACE||e===a3.LINE_FEED||e===a3.TABULATION||e===a3.FORM_FEED}function eB(e){return eF(e)||e===a3.SOLIDUS||e===a3.GREATER_THAN_SIGN}class eZ{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=su.DATA,this.returnState=su.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new eI(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new e$(eN,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(a7.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(a7.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=function(e){if(e===a3.NULL)return a7.nullCharacterReference;if(e>1114111)return a7.characterReferenceOutsideUnicodeRange;if(ek(e))return a7.surrogateCharacterReference;if(eA(e))return a7.noncharacterCharacterReference;if(ex(e)||e===a3.CARRIAGE_RETURN)return a7.controlCharacterReference;return null}(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var r,n;null==(n=(r=this.handler).onParseError)||n.call(r,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,r){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==r||r()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:a8.START_TAG,tagName:"",tagID:sl.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:a8.END_TAG,tagName:"",tagID:sl.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:a8.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:a8.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;let r=this.currentToken;null===eS(r,this.currentAttr.name)?(r.attrs.push(this.currentAttr),r.location&&this.currentLocation&&((null!=(e=(t=r.location).attrs)?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(a7.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=eD(e.tagName),e.type===a8.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(a7.endTagWithAttributes),e.selfClosing&&this._err(a7.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case a8.CHARACTER:this.handler.onCh
vendor: 6,265 bytes, line 50
50aracter(this.currentCharacterToken);break;case a8.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case a8.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:a8.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eF(e)?a8.WHITESPACE_CHARACTER:e===a3.NULL?a8.NULL_CHARACTER:a8.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(a8.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=su.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?sn.Attribute:sn.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===su.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===su.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===su.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case su.DATA:this._stateData(e);break;case su.RCDATA:this._stateRcdata(e);break;case su.RAWTEXT:this._stateRawtext(e);break;case su.SCRIPT_DATA:this._stateScriptData(e);break;case su.PLAINTEXT:this._statePlaintext(e);break;case su.TAG_OPEN:this._stateTagOpen(e);break;case su.END_TAG_OPEN:this._stateEndTagOpen(e);break;case su.TAG_NAME:this._stateTagName(e);break;case su.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case su.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case su.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case su.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case su.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case su.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case su.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case su.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case su.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case su.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case su.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case su.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case su.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case su.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case su.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case su.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case su.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case su.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case su.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case su.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case su.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case su.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case su.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case su.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case su.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case su.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case su.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case su.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case su.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case su.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case su.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case su.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case su.BOGUS_COMMENT:this._stateBogusComment(e);break;case su.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case su.COMMENT_START:this._stateCommentStart(e);break;case su.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case su.COMMENT:this._stateComment(e);break;case su.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case su.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case su.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case su.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case su.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case su.COMMENT_END:this._stateCommentEnd(e);break;case su.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case su.DOCTYPE:this._stateDoctype(e);break;case su.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case su.DOCTYPE_NAME:this._stateDoctypeName(e);break;case su.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case su.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case su.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case su.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case su.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case su.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case su.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case su.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case su.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctype
vendor: 4,224 bytes, line 50
50SystemIdentifier(e);break;case su.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case su.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case su.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case su.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case su.CDATA_SECTION:this._stateCdataSection(e);break;case su.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case su.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case su.CHARACTER_REFERENCE:this._stateCharacterReference();break;case su.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case a3.LESS_THAN_SIGN:this.state=su.TAG_OPEN;break;case a3.AMPERSAND:this._startCharacterReference();break;case a3.NULL:this._err(a7.unexpectedNullCharacter),this._emitCodePoint(e);break;case a3.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case a3.AMPERSAND:this._startCharacterReference();break;case a3.LESS_THAN_SIGN:this.state=su.RCDATA_LESS_THAN_SIGN;break;case a3.NULL:this._err(a7.unexpectedNullCharacter),this._emitChars("�");break;case a3.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case a3.LESS_THAN_SIGN:this.state=su.RAWTEXT_LESS_THAN_SIGN;break;case a3.NULL:this._err(a7.unexpectedNullCharacter),this._emitChars("�");break;case a3.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case a3.LESS_THAN_SIGN:this.state=su.SCRIPT_DATA_LESS_THAN_SIGN;break;case a3.NULL:this._err(a7.unexpectedNullCharacter),this._emitChars("�");break;case a3.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case a3.NULL:this._err(a7.unexpectedNullCharacter),this._emitChars("�");break;case a3.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(ez(e))this._createStartTagToken(),this.state=su.TAG_NAME,this._stateTagName(e);else switch(e){case a3.EXCLAMATION_MARK:this.state=su.MARKUP_DECLARATION_OPEN;break;case a3.SOLIDUS:this.state=su.END_TAG_OPEN;break;case a3.QUESTION_MARK:this._err(a7.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=su.BOGUS_COMMENT,this._stateBogusComment(e);break;case a3.EOF:this._err(a7.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(a7.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=su.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(ez(e))this._createEndTagToken(),this.state=su.TAG_NAME,this._stateTagName(e);else switch(e){case a3.GREATER_THAN_SIGN:this._err(a7.missingEndTagName),this.state=su.DATA;break;case a3.EOF:this._err(a7.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(a7.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=su.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:this.state=su.BEFORE_ATTRIBUTE_NAME;break;case a3.SOLIDUS:this.state=su.SELF_CLOSING_START_TAG;break;case a3.GREATER_THAN_SIGN:this.state=su.DATA,this.emitCurrentTagToken();break;case a3.NULL:this._err(a7.unexpectedNullCharacter),t.tagName+="�";break;case a3.EOF:this._err(a7.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(eU(e)?e+32:e)}}_stateRcdataLessThanSign(e){e===a3.SOLIDUS?this.state=su.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=su.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){ez(e)?(this.state=su.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=su.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=su.BEFORE_ATTRIBUTE_NAME,
vendor: 4,105 bytes, line 50
50!1;case a3.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=su.SELF_CLOSING_START_TAG,!1;case a3.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=su.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=su.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===a3.SOLIDUS?this.state=su.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=su.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){ez(e)?(this.state=su.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=su.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=su.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case a3.SOLIDUS:this.state=su.SCRIPT_DATA_END_TAG_OPEN;break;case a3.EXCLAMATION_MARK:this.state=su.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=su.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){ez(e)?(this.state=su.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=su.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=su.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===a3.HYPHEN_MINUS?(this.state=su.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=su.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===a3.HYPHEN_MINUS?(this.state=su.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=su.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case a3.HYPHEN_MINUS:this.state=su.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case a3.LESS_THAN_SIGN:this.state=su.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case a3.NULL:this._err(a7.unexpectedNullCharacter),this._emitChars("�");break;case a3.EOF:this._err(a7.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case a3.HYPHEN_MINUS:this.state=su.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case a3.LESS_THAN_SIGN:this.state=su.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case a3.NULL:this._err(a7.unexpectedNullCharacter),this.state=su.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case a3.EOF:this._err(a7.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=su.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case a3.HYPHEN_MINUS:this._emitChars("-");break;case a3.LESS_THAN_SIGN:this.state=su.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case a3.GREATER_THAN_SIGN:this.state=su.SCRIPT_DATA,this._emitChars(">");break;case a3.NULL:this._err(a7.unexpectedNullCharacter),this.state=su.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case a3.EOF:this._err(a7.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=su.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===a3.SOLIDUS?this.state=su.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:ez(e)?(this._emitChars("<"),this.state=su.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=su.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){ez(e)?(this.state=su.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=su.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=su.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(eT,!1)&&eB(this.preprocessor.peek(eT.length))){this._emitCodePoint(e);for(let e=0;e<eT.length;e++)this._emitCodePoint(this._consume());this.state=su.SCRIPT_DATA_DOUBLE_ESCAPED}
vendor: 5,915 bytes, line 50
50else this._ensureHibernation()||(this.state=su.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case a3.HYPHEN_MINUS:this.state=su.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case a3.LESS_THAN_SIGN:this.state=su.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case a3.NULL:this._err(a7.unexpectedNullCharacter),this._emitChars("�");break;case a3.EOF:this._err(a7.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case a3.HYPHEN_MINUS:this.state=su.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case a3.LESS_THAN_SIGN:this.state=su.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case a3.NULL:this._err(a7.unexpectedNullCharacter),this.state=su.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case a3.EOF:this._err(a7.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=su.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case a3.HYPHEN_MINUS:this._emitChars("-");break;case a3.LESS_THAN_SIGN:this.state=su.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case a3.GREATER_THAN_SIGN:this.state=su.SCRIPT_DATA,this._emitChars(">");break;case a3.NULL:this._err(a7.unexpectedNullCharacter),this.state=su.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case a3.EOF:this._err(a7.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=su.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===a3.SOLIDUS?(this.state=su.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=su.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(eT,!1)&&eB(this.preprocessor.peek(eT.length))){this._emitCodePoint(e);for(let e=0;e<eT.length;e++)this._emitCodePoint(this._consume());this.state=su.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=su.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:break;case a3.SOLIDUS:case a3.GREATER_THAN_SIGN:case a3.EOF:this.state=su.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case a3.EQUALS_SIGN:this._err(a7.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=su.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=su.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:case a3.SOLIDUS:case a3.GREATER_THAN_SIGN:case a3.EOF:this._leaveAttrName(),this.state=su.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case a3.EQUALS_SIGN:this._leaveAttrName(),this.state=su.BEFORE_ATTRIBUTE_VALUE;break;case a3.QUOTATION_MARK:case a3.APOSTROPHE:case a3.LESS_THAN_SIGN:this._err(a7.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case a3.NULL:this._err(a7.unexpectedNullCharacter),this.currentAttr.name+="�";break;default:this.currentAttr.name+=String.fromCodePoint(eU(e)?e+32:e)}}_stateAfterAttributeName(e){switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:break;case a3.SOLIDUS:this.state=su.SELF_CLOSING_START_TAG;break;case a3.EQUALS_SIGN:this.state=su.BEFORE_ATTRIBUTE_VALUE;break;case a3.GREATER_THAN_SIGN:this.state=su.DATA,this.emitCurrentTagToken();break;case a3.EOF:this._err(a7.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=su.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:break;case a3.QUOTATION_MARK:this.state=su.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case a3.APOSTROPHE:this.state=su.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case a3.GREATER_THAN_SIGN:this._err(a7.missingAttributeValue),this.state=su.DATA,this.emitCurrentTagToken();break;default:this.state=su.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case a3.QUOTATION_MARK:this.state=su.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case a3.AMPERSAND:this._startCharacterReference();break;case a3.NULL:this._err(a7.unexpectedNullCharacter),this.currentAttr.value+="�";break;case a3.EOF:this._err(a7.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case a3.APOSTROPHE:this.state=su.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case a3.AMPERSAND:this._startCharacterReference();break;case a3.NULL:this._err(a7.unexpectedNullCharacter),this.currentAttr.value+="�";break;case a3.EOF:this._err(a7.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:this._leaveAttrValue(),this.state=su.BEFORE_ATTRIBUTE_NAME;break;case a3.AMPERSAND:this._startCharacterReference();break;case a3.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=su.DATA,this.emitCurrentTagToken();break;case a3.NULL:this._err(a7.unexpectedNullCharacter),this.currentAttr.value+="�";break;case a3.QUOTATION_MARK:case a3.APOSTROPHE:case a3.LESS_THAN_SIGN:case a3.EQUALS_SIGN:case a3.GRAVE_ACCENT:this._err(a7.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case a3.EOF:this._err(a7.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:this._leaveAttrValue(),this.state=su.BEFORE_ATTRIBUTE_NAME;break;
vendor: 6,006 bytes, line 50
50case a3.SOLIDUS:this._leaveAttrValue(),this.state=su.SELF_CLOSING_START_TAG;break;case a3.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=su.DATA,this.emitCurrentTagToken();break;case a3.EOF:this._err(a7.eofInTag),this._emitEOFToken();break;default:this._err(a7.missingWhitespaceBetweenAttributes),this.state=su.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case a3.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=su.DATA,this.emitCurrentTagToken();break;case a3.EOF:this._err(a7.eofInTag),this._emitEOFToken();break;default:this._err(a7.unexpectedSolidusInTag),this.state=su.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case a3.GREATER_THAN_SIGN:this.state=su.DATA,this.emitCurrentComment(t);break;case a3.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case a3.NULL:this._err(a7.unexpectedNullCharacter),t.data+="�";break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=su.COMMENT_START):this._consumeSequenceIfMatch(eb,!1)?(this.currentLocation=this.getCurrentLocation(eb.length+1),this.state=su.DOCTYPE):this._consumeSequenceIfMatch(ey,!0)?this.inForeignNode?this.state=su.CDATA_SECTION:(this._err(a7.cdataInHtmlContent),this._createCommentToken(ey.length+1),this.currentToken.data="[CDATA[",this.state=su.BOGUS_COMMENT):this._ensureHibernation()||(this._err(a7.incorrectlyOpenedComment),this._createCommentToken(2),this.state=su.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case a3.HYPHEN_MINUS:this.state=su.COMMENT_START_DASH;break;case a3.GREATER_THAN_SIGN:{this._err(a7.abruptClosingOfEmptyComment),this.state=su.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=su.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case a3.HYPHEN_MINUS:this.state=su.COMMENT_END;break;case a3.GREATER_THAN_SIGN:this._err(a7.abruptClosingOfEmptyComment),this.state=su.DATA,this.emitCurrentComment(t);break;case a3.EOF:this._err(a7.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=su.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case a3.HYPHEN_MINUS:this.state=su.COMMENT_END_DASH;break;case a3.LESS_THAN_SIGN:t.data+="<",this.state=su.COMMENT_LESS_THAN_SIGN;break;case a3.NULL:this._err(a7.unexpectedNullCharacter),t.data+="�";break;case a3.EOF:this._err(a7.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case a3.EXCLAMATION_MARK:t.data+="!",this.state=su.COMMENT_LESS_THAN_SIGN_BANG;break;case a3.LESS_THAN_SIGN:t.data+="<";break;default:this.state=su.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===a3.HYPHEN_MINUS?this.state=su.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=su.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===a3.HYPHEN_MINUS?this.state=su.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=su.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==a3.GREATER_THAN_SIGN&&e!==a3.EOF&&this._err(a7.nestedComment),this.state=su.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case a3.HYPHEN_MINUS:this.state=su.COMMENT_END;break;case a3.EOF:this._err(a7.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=su.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case a3.GREATER_THAN_SIGN:this.state=su.DATA,this.emitCurrentComment(t);break;case a3.EXCLAMATION_MARK:this.state=su.COMMENT_END_BANG;break;case a3.HYPHEN_MINUS:t.data+="-";break;case a3.EOF:this._err(a7.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=su.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case a3.HYPHEN_MINUS:t.data+="--!",this.state=su.COMMENT_END_DASH;break;case a3.GREATER_THAN_SIGN:this._err(a7.incorrectlyClosedComment),this.state=su.DATA,this.emitCurrentComment(t);break;case a3.EOF:this._err(a7.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=su.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:this.state=su.BEFORE_DOCTYPE_NAME;break;case a3.GREATER_THAN_SIGN:this.state=su.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case a3.EOF:{this._err(a7.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(a7.missingWhitespaceBeforeDoctypeName),this.state=su.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(eU(e))this._createDoctypeToken(String.fromCharCode(e+32)),this.state=su.DOCTYPE_NAME;else switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:break;case a3.NULL:this._err(a7.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=su.DOCTYPE_NAME;break;case a3.GREATER_THAN_SIGN:{this._err(a7.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=su.DATA;break}case a3.EOF:{this._err(a7.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=su.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:this.state=su.AFTER_DOCTYPE_NAME;break;case a3.GREATER_THAN_SIGN:this.state=su.DATA,this.emitCurrentDoctype(t);break;
50case a3.NULL:this._err(a7.unexpectedNullCharacter),t.name+="�";break;case a3.EOF:this._err(a7.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(eU(e)?e+32:e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:break;case a3.GREATER_THAN_SIGN:this.state=su.DATA,this.emitCurrentDoctype(t);break;case a3.EOF:this._err(a7.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=su.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=su.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(a7.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=su.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:this.state=su.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case a3.QUOTATION_MARK:this._err(a7.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=su.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case a3.APOSTROPHE:this._err(a7.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=su.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case a3.GREATER_THAN_SIGN:this._err(a7.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=su.DATA,this.emitCurrentDoctype(t);break;case a3.EOF:this._err(a7.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(a7.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=su.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:break;case a3.QUOTATION_MARK:t.publicId="",this.state=su.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case a3.APOSTROPHE:t.publicId="",this.state=su.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case a3.GREATER_THAN_SIGN:this._err(a7.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=su.DATA,this.emitCurrentDoctype(t);break;case a3.EOF:this._err(a7.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(a7.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=su.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case a3.QUOTATION_MARK:this.state=su.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case a3.NULL:this._err(a7.unexpectedNullCharacter),t.publicId+="�";break;case a3.GREATER_THAN_SIGN:this._err(a7.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=su.DATA;break;case a3.EOF:this._err(a7.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case a3.APOSTROPHE:this.state=su.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case a3.NULL:this._err(a7.unexpectedNullCharacter),t.publicId+="�";break;case a3.GREATER_THAN_SIGN:this._err(a7.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=su.DATA;break;case a3.EOF:this._err(a7.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:this.state=su.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case a3.GREATER_THAN_SIGN:this.state=su.DATA,this.emitCurrentDoctype(t);break;case a3.QUOTATION_MARK:this._err(a7.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=su.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case a3.APOSTROPHE:this._err(a7.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=su.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case a3.EOF:this._err(a7.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;
vendor: 5,088 bytes, line 50
50default:this._err(a7.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=su.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:break;case a3.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=su.DATA;break;case a3.QUOTATION_MARK:t.systemId="",this.state=su.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case a3.APOSTROPHE:t.systemId="",this.state=su.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case a3.EOF:this._err(a7.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(a7.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=su.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:this.state=su.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case a3.QUOTATION_MARK:this._err(a7.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=su.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case a3.APOSTROPHE:this._err(a7.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=su.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case a3.GREATER_THAN_SIGN:this._err(a7.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=su.DATA,this.emitCurrentDoctype(t);break;case a3.EOF:this._err(a7.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(a7.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=su.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:break;case a3.QUOTATION_MARK:t.systemId="",this.state=su.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case a3.APOSTROPHE:t.systemId="",this.state=su.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case a3.GREATER_THAN_SIGN:this._err(a7.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=su.DATA,this.emitCurrentDoctype(t);break;case a3.EOF:this._err(a7.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(a7.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=su.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case a3.QUOTATION_MARK:this.state=su.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case a3.NULL:this._err(a7.unexpectedNullCharacter),t.systemId+="�";break;case a3.GREATER_THAN_SIGN:this._err(a7.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=su.DATA;break;case a3.EOF:this._err(a7.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case a3.APOSTROPHE:this.state=su.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case a3.NULL:this._err(a7.unexpectedNullCharacter),t.systemId+="�";break;case a3.GREATER_THAN_SIGN:this._err(a7.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=su.DATA;break;case a3.EOF:this._err(a7.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case a3.SPACE:case a3.LINE_FEED:case a3.TABULATION:case a3.FORM_FEED:break;case a3.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=su.DATA;break;case a3.EOF:this._err(a7.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(a7.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=su.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case a3.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=su.DATA;break;case a3.NULL:this._err(a7.unexpectedNullCharacter);break;case a3.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case a3.RIGHT_SQUARE_BRACKET:this.state=su.CDATA_SECTION_BRACKET;break;case a3.EOF:this._err(a7.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===a3.RIGHT_SQUARE_BRACKET?this.state=su.CDATA_SECTION_END:(this._emitChars("]"),this.state=su.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case a3.GREATER_THAN_SIGN:this.state=su.DATA;break;case a3.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=su.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}
vendor: 4,175 bytes, line 50
500===e?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(a3.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&ej(this.preprocessor.peek(1))?su.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){ej(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===a3.SEMICOLON&&this._err(a7.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}let eH=new Set([sl.DD,sl.DT,sl.LI,sl.OPTGROUP,sl.OPTION,sl.P,sl.RB,sl.RP,sl.RT,sl.RTC]),eG=new Set([...eH,sl.CAPTION,sl.COLGROUP,sl.TBODY,sl.TD,sl.TFOOT,sl.TH,sl.THEAD,sl.TR]),eY=new Set([sl.APPLET,sl.CAPTION,sl.HTML,sl.MARQUEE,sl.OBJECT,sl.TABLE,sl.TD,sl.TEMPLATE,sl.TH]),eV=new Set([...eY,sl.OL,sl.UL]),eW=new Set([...eY,sl.BUTTON]),eq=new Set([sl.ANNOTATION_XML,sl.MI,sl.MN,sl.MO,sl.MS,sl.MTEXT]),eK=new Set([sl.DESC,sl.FOREIGN_OBJECT,sl.TITLE]),eJ=new Set([sl.TR,sl.TEMPLATE,sl.HTML]),eX=new Set([sl.TBODY,sl.TFOOT,sl.THEAD,sl.TEMPLATE,sl.HTML]),eQ=new Set([sl.TABLE,sl.TEMPLATE,sl.HTML]),e0=new Set([sl.TD,sl.TH]);class e1{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,r){this.treeAdapter=t,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=sl.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===sl.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===si.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let r=this._indexOf(e);this.items[r]=t,r===this.stackTop&&(this.current=t)}insertAfter(e,t,r){let n=this._indexOf(e)+1;this.items.splice(n,0,t),this.tagIDs.splice(n,0,r),this.stackTop++,n===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,n===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==si.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let r=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(eP,si.HTML)}popUntilTableCellPopped(){this.popUntilPopped(e0,si.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let r=this.stackTop;r>=0;r--)if(e.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===t)return r;return -1}clearBackTo(e,t){let r=this._indexOfTagNames(e,t);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(eQ,si.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eX,si.HTML)}clearBackToTableRowContext(){this.clearBackTo(eJ,si.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===sl.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===sl.HTML}hasInDynamicScope(e,t){for(let r=this.stackTop;r>=0;r--){let n=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case si.HTML:if(n===e)return!0;
50if(t.has(n))return!1;break;case si.SVG:if(eK.has(n))return!1;break;case si.MATHML:if(eq.has(n))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,eY)}hasInListItemScope(e){return this.hasInDynamicScope(e,eV)}hasInButtonScope(e){return this.hasInDynamicScope(e,eW)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case si.HTML:if(eP.has(t))return!0;if(eY.has(t))return!1;break;case si.SVG:if(eK.has(t))return!1;break;case si.MATHML:if(eq.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===si.HTML)switch(this.tagIDs[t]){case e:return!0;case sl.TABLE:case sl.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===si.HTML)switch(this.tagIDs[e]){case sl.TBODY:case sl.THEAD:case sl.TFOOT:return!0;case sl.TABLE:case sl.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===si.HTML)switch(this.tagIDs[t]){case e:return!0;case sl.OPTION:case sl.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&eH.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&eG.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&eG.has(this.currentTagId);)this.pop()}}(a9=sc||(sc={}))[a9.Marker=0]="Marker",a9[a9.Element=1]="Element";let e4={type:sc.Marker};class e6{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let r=[],n=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===sc.Marker)break;let{element:s}=t;if(this.treeAdapter.getTagName(s)===i&&this.treeAdapter.getNamespaceURI(s)===a){let t=this.treeAdapter.getAttrList(s);t.length===n&&r.push({idx:e,attrs:t})}}return r}_ensureNoahArkCondition(e){if(this.entries.length<3)return;let t=this.treeAdapter.getAttrList(e),r=this._getNoahArkConditionCandidates(e,t);if(r.length<3)return;let n=new Map(t.map(e=>[e.name,e.value])),i=0;for(let e=0;e<r.length;e++){let t=r[e];t.attrs.every(e=>n.get(e.name)===e.value)&&(i+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(e4)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:sc.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:sc.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(e4);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===sc.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===sc.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===sc.Element&&t.element===e)}}let e2={createDocument:()=>({nodeName:"#document",mode:ss.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,r)=>({nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),createTextNode:e=>({nodeName:"#text",value:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,r){let n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,r,n){let i=e.childNodes.find(e=>"#documentType"===e.nodeName);i?(i.name=t,i.publicId=r,i.systemId=n):e2.appendChild(e,{nodeName:"#documentType",name:t,publicId:r,systemId:n,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let r=e.childNodes[e.childNodes.length-1];if(e2.isTextNode(r)){r.value+=t;return}}e2.appendChild(e,e2.createTextNode(t))},insertTextBefore(e,t,r){let n=e.childNodes[e.childNodes.indexOf(r)-1];n&&e2.isTextNode(n)?n.value+=t:e2.insertBefore(e,e2.createTextNode(t),r)},adoptAttributes(e,t){let r=new Set(e.attrs.map(e=>e.name));for(let n=0;n<t.length;n++)r.has(t[n].name)||e.attrs.push(t[n])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},e9="html",e5=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],e3=[...e5,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],e7=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e8=["-/
50/w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],te=[...e8,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function tt(e,t){return t.some(t=>e.startsWith(t))}let tr=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),tn=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:si.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:si.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:si.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:si.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:si.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:si.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:si.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:si.XML}],["xml:space",{prefix:"xml",name:"space",namespace:si.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:si.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:si.XMLNS}]]),ti=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),ta=new Set([sl.B,sl.BIG,sl.BLOCKQUOTE,sl.BODY,sl.BR,sl.CENTER,sl.CODE,sl.DD,sl.DIV,sl.DL,sl.DT,sl.EM,sl.EMBED,sl.H1,sl.H2,sl.H3,sl.H4,sl.H5,sl.H6,sl.HEAD,sl.HR,sl.I,sl.IMG,sl.LI,sl.LISTING,sl.MENU,sl.META,sl.NOBR,sl.OL,sl.P,sl.PRE,sl.RUBY,sl.S,sl.SMALL,sl.SPAN,sl.STRONG,sl.STRIKE,sl.SUB,sl.SUP,sl.TABLE,sl.TT,sl.U,sl.UL,sl.VAR]);function ts(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function to(e){for(let t=0;t<e.attrs.length;t++){let r=tr.get(e.attrs[t].name);null!=r&&(e.attrs[t].name=r)}}function tl(e){for(let t=0;t<e.attrs.length;t++){let r=tn.get(e.attrs[t].name);r&&(e.attrs[t].prefix=r.prefix,e.attrs[t].name=r.name,e.attrs[t].namespace=r.namespace)}}(a5=sd||(sd={}))[a5.INITIAL=0]="INITIAL",a5[a5.BEFORE_HTML=1]="BEFORE_HTML",a5[a5.BEFORE_HEAD=2]="BEFORE_HEAD",a5[a5.IN_HEAD=3]="IN_HEAD",a5[a5.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",a5[a5.AFTER_HEAD=5]="AFTER_HEAD",a5[a5.IN_BODY=6]="IN_BODY",a5[a5.TEXT=7]="TEXT",a5[a5.IN_TABLE=8]="IN_TABLE",a5[a5.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",a5[a5.IN_CAPTION=10]="IN_CAPTION",a5[a5.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",a5[a5.IN_TABLE_BODY=12]="IN_TABLE_BODY",a5[a5.IN_ROW=13]="IN_ROW",a5[a5.IN_CELL=14]="IN_CELL",a5[a5.IN_SELECT=15]="IN_SELECT",a5[a5.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",a5[a5.IN_TEMPLATE=17]="IN_TEMPLATE",a5[a5.AFTER_BODY=18]="AFTER_BODY",a5[a5.IN_FRAMESET=19]="IN_FRAMESET",a5[a5.AFTER_FRAMESET=20]="AFTER_FRAMESET",a5[a5.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",a5[a5.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET";let tu={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},tc=new Set([sl.TABLE,sl.TBODY,sl.TFOOT,sl.THEAD,sl.TR]),td={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:e2,onParseError:null};class tm{constructor(e,t,r=null,n=null){this.fragmentContext=r,this.scriptHandler=n,this.currentToken=null,this.stopped=!1,this.insertionMode=sd.INITIAL,this.originalInsertionMode=sd.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...td,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new eZ(this.options,this),this.activeFormattingElements=new e6(this.treeAdapter),this.fragmentContextID=r?eD(this.treeAdapter.getTagName(r)):sl.UNKNOWN,this._setContextModes(null!=r?r:this.document,this.fragmentContextID),this.openElements=new e1(this.document,this.treeAdapter,this)}static parse(e,t){let r=new this(t);return r.tokenizer.write(e,!0),r.document}static getFragmentParser(e,t){let r={...td,...t};null!=e||(e=r.treeAdapter.createElement(so.TEMPLATE,si.HTML,[]));let n=r.treeAdapter.createElement("documentmock",si.HTML,[]),i=new this(r,n,e);return i.fragmentContextID===sl.TEMPLATE&&i.tmplInsertionModeStack.unshift(sd.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,r){var n;if(!this.onParseError)return;let i=null!=(n=e.location)?n:tu,a={code:t,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:r?i.startLine:i.endLine,endCol:r?i.startCol:i.endCol,endOffset:r?i.startOffset:i.endOffset};this.onParseError(a)}onItemPush(e,t,r){var n,i;null==(i=(n=this.treeAdapter).onItemPush)||i.call(n,e),r&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var r,n;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null==(n=(r=this.treeAdapter).onItemPop)||n.call(r,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let r=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===si.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,si.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=sd.TEXT}switchToPlaintextParsing(){this.insertionMode=sd.TEXT,this.originalInsertionMode=sd.IN_BODY,this.tokenizer.state=eM.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;
50for(;e;){if(this.treeAdapter.getTagName(e)===so.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===si.HTML)switch(this.fragmentContextID){case sl.TITLE:case sl.TEXTAREA:this.tokenizer.state=eM.RCDATA;break;case sl.STYLE:case sl.XMP:case sl.IFRAME:case sl.NOEMBED:case sl.NOFRAMES:case sl.NOSCRIPT:this.tokenizer.state=eM.RAWTEXT;break;case sl.SCRIPT:this.tokenizer.state=eM.SCRIPT_DATA;break;case sl.PLAINTEXT:this.tokenizer.state=eM.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",r=e.publicId||"",n=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,r,n),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let r=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=t?t:this.document,e)}}_appendElement(e,t){let r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location)}_insertElement(e,t){let r=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID)}_insertFakeElement(e,t){let r=this.treeAdapter.createElement(e,si.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,si.HTML,e.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,r),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(so.HTML,si.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,sl.HTML)}_appendCommentNode(e,t){let r=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,e.location)}_insertCharacters(e){let t,r;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(t,e.chars,r):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let n=this.treeAdapter.getChildNodes(t),i=r?n.lastIndexOf(r):n.length,a=n[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){let{endLine:t,endCol:r,endOffset:n}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:t,endCol:r,endOffset:n})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)}_adoptNodes(e,t){for(let r=this.treeAdapter.getFirstChild(e);r;r=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(t,r)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let r=t.location,n=this.treeAdapter.getTagName(e),i=t.type===a8.END_TAG&&n===t.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){let t,r;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,r=this.fragmentContextID):{current:t,currentTagId:r}=this.openElements,(e.tagID!==sl.SVG||this.treeAdapter.getTagName(t)!==so.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==si.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===sl.MGLYPH||e.tagID===sl.MALIGNMARK)&&void 0!==r&&!this._isIntegrationPoint(r,t,si.HTML)))}_processToken(e){switch(e.type){case a8.CHARACTER:this.onCharacter(e);break;case a8.NULL_CHARACTER:this.onNullCharacter(e);break;case a8.COMMENT:this.onComment(e);break;case a8.DOCTYPE:this.onDoctype(e);break;
50case a8.START_TAG:this._processStartTag(e);break;case a8.END_TAG:this.onEndTag(e);break;case a8.EOF:this.onEof(e);break;case a8.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,r){let n=this.treeAdapter.getNamespaceURI(t),i=this.treeAdapter.getAttrList(t);return(!r||r===si.HTML)&&function(e,t,r){if(t===si.MATHML&&e===sl.ANNOTATION_XML){for(let e=0;e<r.length;e++)if(r[e].name===sa.ENCODING){let t=r[e].value.toLowerCase();return"text/html"===t||"application/xhtml+xml"===t}}return t===si.SVG&&(e===sl.FOREIGN_OBJECT||e===sl.DESC||e===sl.TITLE)}(e,n,i)||(!r||r===si.MATHML)&&n===si.MATHML&&(e===sl.MI||e===sl.MO||e===sl.MN||e===sl.MS||e===sl.MTEXT)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===sc.Marker||this.openElements.contains(e.element)),r=-1===t?e-1:t-1;for(let e=r;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=sd.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(sl.P),this.openElements.popUntilTagNamePopped(sl.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case sl.TR:this.insertionMode=sd.IN_ROW;return;case sl.TBODY:case sl.THEAD:case sl.TFOOT:this.insertionMode=sd.IN_TABLE_BODY;return;case sl.CAPTION:this.insertionMode=sd.IN_CAPTION;return;case sl.COLGROUP:this.insertionMode=sd.IN_COLUMN_GROUP;return;case sl.TABLE:this.insertionMode=sd.IN_TABLE;return;case sl.BODY:this.insertionMode=sd.IN_BODY;return;case sl.FRAMESET:this.insertionMode=sd.IN_FRAMESET;return;case sl.SELECT:return void this._resetInsertionModeForSelect(e);case sl.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case sl.HTML:this.insertionMode=this.headElement?sd.AFTER_HEAD:sd.BEFORE_HEAD;return;case sl.TD:case sl.TH:if(e>0){this.insertionMode=sd.IN_CELL;return}break;case sl.HEAD:if(e>0){this.insertionMode=sd.IN_HEAD;return}}this.insertionMode=sd.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===sl.TEMPLATE)break;if(e===sl.TABLE){this.insertionMode=sd.IN_SELECT_IN_TABLE;return}}this.insertionMode=sd.IN_SELECT}_isElementCausesFosterParenting(e){return tc.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case sl.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===si.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case sl.TABLE:{let r=this.treeAdapter.getParentNode(t);if(r)return{parent:r,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return eL[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,r;return void(t=this,r=e,t._insertCharacters(r),t.framesetOk=!1)}switch(this.insertionMode){case sd.INITIAL:tg(this,e);break;case sd.BEFORE_HTML:t_(this,e);break;case sd.BEFORE_HEAD:tv(this,e);break;case sd.IN_HEAD:tb(this,e);break;case sd.IN_HEAD_NO_SCRIPT:tT(this,e);break;case sd.AFTER_HEAD:tk(this,e);break;case sd.IN_BODY:case sd.IN_CAPTION:case sd.IN_CELL:case sd.IN_TEMPLATE:tI(this,e);break;case sd.TEXT:case sd.IN_SELECT:case sd.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case sd.IN_TABLE:case sd.IN_TABLE_BODY:case sd.IN_ROW:tL(this,e);break;case sd.IN_TABLE_TEXT:tj(this,e);break;case sd.IN_COLUMN_GROUP:tH(this,e);break;case sd.AFTER_BODY:tQ(this,e);break;case sd.AFTER_AFTER_BODY:t0(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,r;return void(t=this,(r=e).chars="�",t._insertCharacters(r))}switch(this.insertionMode){case sd.INITIAL:tg(this,e);break;case sd.BEFORE_HTML:t_(this,e);break;case sd.BEFORE_HEAD:tv(this,e);break;case sd.IN_HEAD:tb(this,e);break;case sd.IN_HEAD_NO_SCRIPT:tT(this,e);break;case sd.AFTER_HEAD:tk(this,e);break;case sd.TEXT:this._insertCharacters(e);break;case sd.IN_TABLE:case sd.IN_TABLE_BODY:case sd.IN_ROW:tL(this,e);break;case sd.IN_COLUMN_GROUP:tH(this,e);break;case sd.AFTER_BODY:tQ(this,e);break;case sd.AFTER_AFTER_BODY:t0(this,e)}}onComment(e){var t,r,n,i;if(this.skipNextNewLine=!1,this.currentNotInHTML)return void th(this,e);switch(this.insertionMode){case sd.INITIAL:case sd.BEFORE_HTML:case sd.BEFORE_HEAD:case sd.IN_HEAD:case sd.IN_HEAD_NO_SCRIPT:case sd.AFTER_HEAD:case sd.IN_BODY:case sd.IN_TABLE:case sd.IN_CAPTION:case sd.IN_COLUMN_GROUP:case sd.IN_TABLE_BODY:case sd.IN_ROW:case sd.IN_CELL:case sd.IN_SELECT:case sd.IN_SELECT_IN_TABLE:case sd.IN_TEMPLATE:case sd.IN_FRAMESET:case sd.AFTER_FRAMESET:th(this,e);break;case sd.IN_TABLE_TEXT:tF(this,e);break;case sd.AFTER_BODY:t=this,r=e,t._appendCommentNode(r,t.openElements.items[0]);break;case sd.AFTER_AFTER_BODY:case sd.AFTER_AFTER_FRAMESET:n=this,i=e,n._appendCommentNode(i,n.document)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case sd.INITIAL:!function(e,t){e._setDocumentType(t);let r=t.forceQuirks?ss.QUIRKS:function(e){if(e.name!==e9)return ss.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return ss.QUIRKS;let{publicId:r}=e;if(null!==r){if(r=r.toLowerCase(),e7.has(r))return ss.QUIRKS;let e=null===t?e3:e5;if(tt(r,e))return ss.QUIRKS;if(tt(r,e=null===t?e8:te))return ss.LIMITED_QUIRKS}return ss.NO_QUIRKS}(t);(t.name!==e9||null!==t.publicId||null!==t.systemId&&"about:legacy-compat"!==t.systemId)&&e._err(t,a7.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=sd.BEFORE_HTML}(this,e);break;case sd.BEFORE_HEAD:case sd.IN_HEAD:case sd.IN_HEAD_NO_SCRIPT:case sd.AFTER_HEAD:this._err(e,a7.misplacedDoctype);break;case sd.IN_TABLE_TEXT:tF(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,a7.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){let r;if((r=t.tagID)===sl.FONT&&t.attrs.some(({name:e})=>e===sa.COLOR||e===sa.SIZE||e===sa.FACE)||ta.has(r))t1(e),e._startTagOutsideForeignContent(t);else{let r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);if(n===si.MATHML)ts(t);else if(n===si.SVG){let e;null!=(e=ti.get(t.tagName))&&(t.tagName=e,t.tagID=eD(t.tagName)),to(t)}tl(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case sd.INITIAL:tg(this,e);break;case sd.BEFORE_HTML:t=this,(r=e).tagID===sl.HTML?(t._insertElement(r,si.HTML),t.insertionMode=sd.BEFORE_HEAD):t_(t,r);break;case sd.BEFORE_HEAD:var t,r,n,i,a,s,o,l,u,c,d,m,p=this,h=e;switch(h.tagID){case sl.HTML:t$(p,h);break;case sl.HEAD:p._insertElement(h,si.HTML),p.headElement=p.openElements.current,p.insertionMode=sd.IN_HEAD;break;default:tv(p,h)}break;case sd.IN_HEAD:tE(this,e);break;case sd.IN_HEAD_NO_SCRIPT:var f=this,g=e;switch(g.tagID){case sl.HTML:t$(f,g);break;
50case sl.BASEFONT:case sl.BGSOUND:case sl.HEAD:case sl.LINK:case sl.META:case sl.NOFRAMES:case sl.STYLE:tE(f,g);break;case sl.NOSCRIPT:f._err(g,a7.nestedNoscriptInHead);break;default:tT(f,g)}break;case sd.AFTER_HEAD:var _=this,v=e;switch(v.tagID){case sl.HTML:t$(_,v);break;case sl.BODY:_._insertElement(v,si.HTML),_.framesetOk=!1,_.insertionMode=sd.IN_BODY;break;case sl.FRAMESET:_._insertElement(v,si.HTML),_.insertionMode=sd.IN_FRAMESET;break;case sl.BASE:case sl.BASEFONT:case sl.BGSOUND:case sl.LINK:case sl.META:case sl.NOFRAMES:case sl.SCRIPT:case sl.STYLE:case sl.TEMPLATE:case sl.TITLE:_._err(v,a7.abandonedHeadElementChild),_.openElements.push(_.headElement,sl.HEAD),tE(_,v),_.openElements.remove(_.headElement);break;case sl.HEAD:_._err(v,a7.misplacedStartTagForHeadElement);break;default:tk(_,v)}break;case sd.IN_BODY:t$(this,e);break;case sd.IN_TABLE:tP(this,e);break;case sd.IN_TABLE_TEXT:tF(this,e);break;case sd.IN_CAPTION:let E;n=this,E=(i=e).tagID,tB.has(E)?n.openElements.hasInTableScope(sl.CAPTION)&&(n.openElements.generateImpliedEndTags(),n.openElements.popUntilTagNamePopped(sl.CAPTION),n.activeFormattingElements.clearToLastMarker(),n.insertionMode=sd.IN_TABLE,tP(n,i)):t$(n,i);break;case sd.IN_COLUMN_GROUP:tZ(this,e);break;case sd.IN_TABLE_BODY:tG(this,e);break;case sd.IN_ROW:tV(this,e);break;case sd.IN_CELL:let y;a=this,y=(s=e).tagID,tB.has(y)?(a.openElements.hasInTableScope(sl.TD)||a.openElements.hasInTableScope(sl.TH))&&(a._closeTableCell(),tV(a,s)):t$(a,s);break;case sd.IN_SELECT:tq(this,e);break;case sd.IN_SELECT_IN_TABLE:let b;o=this,(b=(l=e).tagID)===sl.CAPTION||b===sl.TABLE||b===sl.TBODY||b===sl.TFOOT||b===sl.THEAD||b===sl.TR||b===sl.TD||b===sl.TH?(o.openElements.popUntilTagNamePopped(sl.SELECT),o._resetInsertionMode(),o._processStartTag(l)):tq(o,l);break;case sd.IN_TEMPLATE:var T=this,k=e;switch(k.tagID){case sl.BASE:case sl.BASEFONT:case sl.BGSOUND:case sl.LINK:case sl.META:case sl.NOFRAMES:case sl.SCRIPT:case sl.STYLE:case sl.TEMPLATE:case sl.TITLE:tE(T,k);break;case sl.CAPTION:case sl.COLGROUP:case sl.TBODY:case sl.TFOOT:case sl.THEAD:T.tmplInsertionModeStack[0]=sd.IN_TABLE,T.insertionMode=sd.IN_TABLE,tP(T,k);break;case sl.COL:T.tmplInsertionModeStack[0]=sd.IN_COLUMN_GROUP,T.insertionMode=sd.IN_COLUMN_GROUP,tZ(T,k);break;case sl.TR:T.tmplInsertionModeStack[0]=sd.IN_TABLE_BODY,T.insertionMode=sd.IN_TABLE_BODY,tG(T,k);break;case sl.TD:case sl.TH:T.tmplInsertionModeStack[0]=sd.IN_ROW,T.insertionMode=sd.IN_ROW,tV(T,k);break;default:T.tmplInsertionModeStack[0]=sd.IN_BODY,T.insertionMode=sd.IN_BODY,t$(T,k)}break;case sd.AFTER_BODY:u=this,(c=e).tagID===sl.HTML?t$(u,c):tQ(u,c);break;case sd.IN_FRAMESET:var x=this,A=e;switch(A.tagID){case sl.HTML:t$(x,A);break;case sl.FRAMESET:x._insertElement(A,si.HTML);break;case sl.FRAME:x._appendElement(A,si.HTML),A.ackSelfClosing=!0;break;case sl.NOFRAMES:tE(x,A)}break;case sd.AFTER_FRAMESET:var I=this,S=e;switch(S.tagID){case sl.HTML:t$(I,S);break;case sl.NOFRAMES:tE(I,S)}break;case sd.AFTER_AFTER_BODY:d=this,(m=e).tagID===sl.HTML?t$(d,m):t0(d,m);break;case sd.AFTER_AFTER_FRAMESET:var N=this,O=e;switch(O.tagID){case sl.HTML:t$(N,O);break;case sl.NOFRAMES:tE(N,O)}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===sl.P||t.tagID===sl.BR){t1(e),e._endTagOutsideForeignContent(t);return}for(let r=e.openElements.stackTop;r>0;r--){let n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===si.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(n);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(r);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case sd.INITIAL:tg(this,e);break;case sd.BEFORE_HTML:let t;n=this,((t=(i=e).tagID)===sl.HTML||t===sl.HEAD||t===sl.BODY||t===sl.BR)&&t_(n,i);break;case sd.BEFORE_HEAD:let r;a=this,(r=(s=e).tagID)===sl.HEAD||r===sl.BODY||r===sl.HTML||r===sl.BR?tv(a,s):a._err(s,a7.endTagWithoutMatchingOpenElement);break;case sd.IN_HEAD:var n,i,a,s,o,l,u,c,d,m,p,h,f=this,g=e;
50switch(g.tagID){case sl.HEAD:f.openElements.pop(),f.insertionMode=sd.AFTER_HEAD;break;case sl.BODY:case sl.BR:case sl.HTML:tb(f,g);break;case sl.TEMPLATE:ty(f,g);break;default:f._err(g,a7.endTagWithoutMatchingOpenElement)}break;case sd.IN_HEAD_NO_SCRIPT:var _=this,v=e;switch(v.tagID){case sl.NOSCRIPT:_.openElements.pop(),_.insertionMode=sd.IN_HEAD;break;case sl.BR:tT(_,v);break;default:_._err(v,a7.endTagWithoutMatchingOpenElement)}break;case sd.AFTER_HEAD:var E=this,y=e;switch(y.tagID){case sl.BODY:case sl.HTML:case sl.BR:tk(E,y);break;case sl.TEMPLATE:ty(E,y);break;default:E._err(y,a7.endTagWithoutMatchingOpenElement)}break;case sd.IN_BODY:tD(this,e);break;case sd.TEXT:o=this,e.tagID===sl.SCRIPT&&(null==(l=o.scriptHandler)||l.call(o,o.openElements.current)),o.openElements.pop(),o.insertionMode=o.originalInsertionMode;break;case sd.IN_TABLE:tM(this,e);break;case sd.IN_TABLE_TEXT:tF(this,e);break;case sd.IN_CAPTION:var b=this,T=e;let k=T.tagID;switch(k){case sl.CAPTION:case sl.TABLE:b.openElements.hasInTableScope(sl.CAPTION)&&(b.openElements.generateImpliedEndTags(),b.openElements.popUntilTagNamePopped(sl.CAPTION),b.activeFormattingElements.clearToLastMarker(),b.insertionMode=sd.IN_TABLE,k===sl.TABLE&&tM(b,T));break;case sl.BODY:case sl.COL:case sl.COLGROUP:case sl.HTML:case sl.TBODY:case sl.TD:case sl.TFOOT:case sl.TH:case sl.THEAD:case sl.TR:break;default:tD(b,T)}break;case sd.IN_COLUMN_GROUP:var x=this,A=e;switch(A.tagID){case sl.COLGROUP:x.openElements.currentTagId===sl.COLGROUP&&(x.openElements.pop(),x.insertionMode=sd.IN_TABLE);break;case sl.TEMPLATE:ty(x,A);break;case sl.COL:break;default:tH(x,A)}break;case sd.IN_TABLE_BODY:tY(this,e);break;case sd.IN_ROW:tW(this,e);break;case sd.IN_CELL:var I=this,S=e;let N=S.tagID;switch(N){case sl.TD:case sl.TH:I.openElements.hasInTableScope(N)&&(I.openElements.generateImpliedEndTags(),I.openElements.popUntilTagNamePopped(N),I.activeFormattingElements.clearToLastMarker(),I.insertionMode=sd.IN_ROW);break;case sl.TABLE:case sl.TBODY:case sl.TFOOT:case sl.THEAD:case sl.TR:I.openElements.hasInTableScope(N)&&(I._closeTableCell(),tW(I,S));break;case sl.BODY:case sl.CAPTION:case sl.COL:case sl.COLGROUP:case sl.HTML:break;default:tD(I,S)}break;case sd.IN_SELECT:tK(this,e);break;case sd.IN_SELECT_IN_TABLE:let O;u=this,(O=(c=e).tagID)===sl.CAPTION||O===sl.TABLE||O===sl.TBODY||O===sl.TFOOT||O===sl.THEAD||O===sl.TR||O===sl.TD||O===sl.TH?u.openElements.hasInTableScope(O)&&(u.openElements.popUntilTagNamePopped(sl.SELECT),u._resetInsertionMode(),u.onEndTag(c)):tK(u,c);break;case sd.IN_TEMPLATE:d=this,(m=e).tagID===sl.TEMPLATE&&ty(d,m);break;case sd.AFTER_BODY:tX(this,e);break;case sd.IN_FRAMESET:p=this,e.tagID===sl.FRAMESET&&!p.openElements.isRootHtmlElementCurrent()&&(p.openElements.pop(),p.fragmentContext||p.openElements.currentTagId===sl.FRAMESET||(p.insertionMode=sd.AFTER_FRAMESET));break;case sd.AFTER_FRAMESET:h=this,e.tagID===sl.HTML&&(h.insertionMode=sd.AFTER_AFTER_FRAMESET);break;case sd.AFTER_AFTER_BODY:t0(this,e)}}onEof(e){switch(this.insertionMode){case sd.INITIAL:tg(this,e);break;case sd.BEFORE_HTML:t_(this,e);break;case sd.BEFORE_HEAD:tv(this,e);break;case sd.IN_HEAD:tb(this,e);break;case sd.IN_HEAD_NO_SCRIPT:tT(this,e);break;case sd.AFTER_HEAD:tk(this,e);break;case sd.IN_BODY:case sd.IN_TABLE:case sd.IN_CAPTION:case sd.IN_COLUMN_GROUP:case sd.IN_TABLE_BODY:case sd.IN_ROW:case sd.IN_CELL:case sd.IN_SELECT:case sd.IN_SELECT_IN_TABLE:tR(this,e);break;case sd.TEXT:var t,r;t=this,r=e,t._err(r,a7.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(r);break;case sd.IN_TABLE_TEXT:tF(this,e);break;case sd.IN_TEMPLATE:tJ(this,e);break;case sd.AFTER_BODY:case sd.IN_FRAMESET:case sd.AFTER_FRAMESET:case sd.AFTER_AFTER_BODY:case sd.AFTER_AFTER_FRAMESET:tf(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===a3.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)return void this._insertCharacters(e);switch(this.insertionMode){case sd.IN_HEAD:case sd.IN_HEAD_NO_SCRIPT:case sd.AFTER_HEAD:case sd.TEXT:case sd.IN_COLUMN_GROUP:case sd.IN_SELECT:case sd.IN_SELECT_IN_TABLE:case sd.IN_FRAMESET:case sd.AFTER_FRAMESET:this._insertCharacters(e);break;case sd.IN_BODY:case sd.IN_CAPTION:case sd.IN_CELL:case sd.IN_TEMPLATE:case sd.AFTER_BODY:case sd.AFTER_AFTER_BODY:case sd.AFTER_AFTER_FRAMESET:tA(this,e);break;case sd.IN_TABLE:case sd.IN_TABLE_BODY:case sd.IN_ROW:tL(this,e);break;case sd.IN_TABLE_TEXT:tz(this,e)}}}function tp(e,t){for(let r=0;r<8;r++){let r=function(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):tw(e,t),r}(e,t);if(!r)break;let n=function(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){let i=e.openElements.items[n];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[n])&&(r=i)}
50return r||(e.openElements.shortenToLength(Math.max(n,0)),e.activeFormattingElements.removeEntry(t)),r}(e,r);if(!n)break;e.activeFormattingElements.bookmark=r;let i=function(e,t,r){let n=t,i=e.openElements.getCommonAncestor(t);for(let a=0,s=i;s!==r;a++,s=i){i=e.openElements.getCommonAncestor(s);let r=e.activeFormattingElements.getElementEntry(s),o=r&&a>=3;!r||o?(o&&e.activeFormattingElements.removeEntry(r),e.openElements.remove(s)):(s=function(e,t){let r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}(e,r),n===t&&(e.activeFormattingElements.bookmark=r),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(s,n),n=s)}return n}(e,n,r.element),a=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),a&&function(e,t,r){let n=eD(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(n))e._fosterParentElement(r);else{let i=e.treeAdapter.getNamespaceURI(t);n===sl.TEMPLATE&&i===si.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}(e,a,i),function(e,t,r){let n=e.treeAdapter.getNamespaceURI(r.element),{token:i}=r,a=e.treeAdapter.createElement(i.tagName,n,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,a,i.tagID)}(e,n,r)}}function th(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function tf(e,t){if(e.stopped=!0,t.location){let r=2*!e.fragmentContext;for(let n=e.openElements.stackTop;n>=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let r=e.openElements.items[0],n=e.treeAdapter.getNodeSourceCodeLocation(r);if(n&&!n.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){let r=e.openElements.items[1],n=e.treeAdapter.getNodeSourceCodeLocation(r);n&&!n.endTag&&e._setEndLocation(r,t)}}}}function tg(e,t){e._err(t,a7.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,ss.QUIRKS),e.insertionMode=sd.BEFORE_HTML,e._processToken(t)}function t_(e,t){e._insertFakeRootElement(),e.insertionMode=sd.BEFORE_HEAD,e._processToken(t)}function tv(e,t){e._insertFakeElement(so.HEAD,sl.HEAD),e.headElement=e.openElements.current,e.insertionMode=sd.IN_HEAD,e._processToken(t)}function tE(e,t){switch(t.tagID){case sl.HTML:t$(e,t);break;case sl.BASE:case sl.BASEFONT:case sl.BGSOUND:case sl.LINK:case sl.META:e._appendElement(t,si.HTML),t.ackSelfClosing=!0;break;case sl.TITLE:e._switchToTextParsing(t,eM.RCDATA);break;case sl.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eM.RAWTEXT):(e._insertElement(t,si.HTML),e.insertionMode=sd.IN_HEAD_NO_SCRIPT);break;case sl.NOFRAMES:case sl.STYLE:e._switchToTextParsing(t,eM.RAWTEXT);break;case sl.SCRIPT:e._switchToTextParsing(t,eM.SCRIPT_DATA);break;case sl.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=sd.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(sd.IN_TEMPLATE);break;case sl.HEAD:e._err(t,a7.misplacedStartTagForHeadElement);break;default:tb(e,t)}}function ty(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==sl.TEMPLATE&&e._err(t,a7.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(sl.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,a7.endTagWithoutMatchingOpenElement)}function tb(e,t){e.openElements.pop(),e.insertionMode=sd.AFTER_HEAD,e._processToken(t)}function tT(e,t){let r=t.type===a8.EOF?a7.openElementsLeftAfterEof:a7.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=sd.IN_HEAD,e._processToken(t)}function tk(e,t){e._insertFakeElement(so.BODY,sl.BODY),e.insertionMode=sd.IN_BODY,tx(e,t)}function tx(e,t){switch(t.type){case a8.CHARACTER:tI(e,t);break;case a8.WHITESPACE_CHARACTER:tA(e,t);break;case a8.COMMENT:th(e,t);break;case a8.START_TAG:t$(e,t);break;case a8.END_TAG:tD(e,t);break;case a8.EOF:tR(e,t)}}function tA(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function tI(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tS(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,si.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tN(e){let t=eS(e,sa.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tO(e,t){e._switchToTextParsing(t,eM.RAWTEXT)}function tC(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,si.HTML)}function t$(e,t){switch(t.tagID){case sl.I:case sl.S:case sl.B:case sl.U:case sl.EM:case sl.TT:case sl.BIG:case sl.CODE:case sl.FONT:case sl.SMALL:case sl.STRIKE:case sl.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,si.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case sl.A:let r;(r=e.activeFormattingElements.getElementEntryInScopeWithTagName(so.A))&&(tp(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,si.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case sl.H1:case sl.H2:case sl.H3:case sl.H4:case sl.H5:case sl.H6:e.openElements.hasInButtonScope(sl.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&eP.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,si.HTML);break;case sl.P:case sl.DL:case sl.OL:case sl.UL:case sl.DIV:case sl.DIR:case sl.NAV:case sl.MAIN:case sl.MENU:case sl.ASIDE:case sl.CENTER:case sl.FIGURE:case sl.FOOTER:case sl.HEADER:case sl.HGROUP:case sl.DIALOG:case sl.DETAILS:case sl.ADDRESS:case sl.ARTICLE:case sl.SEARCH:case sl.SECTION:case sl.SUMMARY:case sl.FIELDSET:case sl.BLOCKQUOTE:case sl.FIGCAPTION:e.openElements.hasInButtonScope(sl.P)&&e._closePElement(),e._insertElement(t,si.HTML);break;case sl.LI:case sl.DD:case sl.DT:e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];
50if(n===sl.LI&&r===sl.LI||(n===sl.DD||n===sl.DT)&&(r===sl.DD||r===sl.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==sl.ADDRESS&&r!==sl.DIV&&r!==sl.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(sl.P)&&e._closePElement(),e._insertElement(t,si.HTML);break;case sl.BR:case sl.IMG:case sl.WBR:case sl.AREA:case sl.EMBED:case sl.KEYGEN:tS(e,t);break;case sl.HR:e.openElements.hasInButtonScope(sl.P)&&e._closePElement(),e._appendElement(t,si.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case sl.RB:case sl.RTC:e.openElements.hasInScope(sl.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,si.HTML);break;case sl.RT:case sl.RP:e.openElements.hasInScope(sl.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(sl.RTC),e._insertElement(t,si.HTML);break;case sl.PRE:case sl.LISTING:e.openElements.hasInButtonScope(sl.P)&&e._closePElement(),e._insertElement(t,si.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case sl.XMP:e.openElements.hasInButtonScope(sl.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eM.RAWTEXT);break;case sl.SVG:e._reconstructActiveFormattingElements(),to(t),tl(t),t.selfClosing?e._appendElement(t,si.SVG):e._insertElement(t,si.SVG),t.ackSelfClosing=!0;break;case sl.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case sl.BASE:case sl.LINK:case sl.META:case sl.STYLE:case sl.TITLE:case sl.SCRIPT:case sl.BGSOUND:case sl.BASEFONT:case sl.TEMPLATE:tE(e,t);break;case sl.BODY:let i;(i=e.openElements.tryPeekProperlyNestedBodyElement())&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(i,t.attrs));break;case sl.FORM:let a;a=e.openElements.tmplCount>0,(!e.formElement||a)&&(e.openElements.hasInButtonScope(sl.P)&&e._closePElement(),e._insertElement(t,si.HTML),a||(e.formElement=e.openElements.current));break;case sl.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(sl.NOBR)&&(tp(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,si.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case sl.MATH:e._reconstructActiveFormattingElements(),ts(t),tl(t),t.selfClosing?e._appendElement(t,si.MATHML):e._insertElement(t,si.MATHML),t.ackSelfClosing=!0;break;case sl.TABLE:e.treeAdapter.getDocumentMode(e.document)!==ss.QUIRKS&&e.openElements.hasInButtonScope(sl.P)&&e._closePElement(),e._insertElement(t,si.HTML),e.framesetOk=!1,e.insertionMode=sd.IN_TABLE;break;case sl.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,si.HTML),tN(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case sl.PARAM:case sl.TRACK:case sl.SOURCE:e._appendElement(t,si.HTML),t.ackSelfClosing=!0;break;case sl.IMAGE:t.tagName=so.IMG,t.tagID=sl.IMG,tS(e,t);break;case sl.BUTTON:e.openElements.hasInScope(sl.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(sl.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,si.HTML),e.framesetOk=!1;break;case sl.APPLET:case sl.OBJECT:case sl.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,si.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case sl.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eM.RAWTEXT);break;case sl.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,si.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===sd.IN_TABLE||e.insertionMode===sd.IN_CAPTION||e.insertionMode===sd.IN_TABLE_BODY||e.insertionMode===sd.IN_ROW||e.insertionMode===sd.IN_CELL?sd.IN_SELECT_IN_TABLE:sd.IN_SELECT;break;case sl.OPTION:case sl.OPTGROUP:e.openElements.currentTagId===sl.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,si.HTML);break;case sl.NOEMBED:case sl.NOFRAMES:tO(e,t);break;case sl.FRAMESET:let s;s=e.openElements.tryPeekProperlyNestedBodyElement(),e.framesetOk&&s&&(e.treeAdapter.detachNode(s),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,si.HTML),e.insertionMode=sd.IN_FRAMESET);break;case sl.TEXTAREA:e._insertElement(t,si.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eM.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=sd.TEXT;break;case sl.NOSCRIPT:e.options.scriptingEnabled?tO(e,t):tC(e,t);break;case sl.PLAINTEXT:e.openElements.hasInButtonScope(sl.P)&&e._closePElement(),e._insertElement(t,si.HTML),e.tokenizer.state=eM.PLAINTEXT;break;case sl.COL:case sl.TH:case sl.TD:case sl.TR:case sl.HEAD:case sl.FRAME:case sl.TBODY:case sl.TFOOT:case sl.THEAD:case sl.CAPTION:case sl.COLGROUP:break;default:tC(e,t)}}function tw(e,t){let r=t.tagName,n=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],a=e.openElements.tagIDs[t];if(n===a&&(n!==sl.UNKNOWN||e.treeAdapter.getTagName(i)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>
50=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,a))break}}function tD(e,t){switch(t.tagID){case sl.A:case sl.B:case sl.I:case sl.S:case sl.U:case sl.EM:case sl.TT:case sl.BIG:case sl.CODE:case sl.FONT:case sl.NOBR:case sl.SMALL:case sl.STRIKE:case sl.STRONG:tp(e,t);break;case sl.P:e.openElements.hasInButtonScope(sl.P)||e._insertFakeElement(so.P,sl.P),e._closePElement();break;case sl.DL:case sl.UL:case sl.OL:case sl.DIR:case sl.DIV:case sl.NAV:case sl.PRE:case sl.MAIN:case sl.MENU:case sl.ASIDE:case sl.BUTTON:case sl.CENTER:case sl.FIGURE:case sl.FOOTER:case sl.HEADER:case sl.HGROUP:case sl.DIALOG:case sl.ADDRESS:case sl.ARTICLE:case sl.DETAILS:case sl.SEARCH:case sl.SECTION:case sl.SUMMARY:case sl.LISTING:case sl.FIELDSET:case sl.BLOCKQUOTE:case sl.FIGCAPTION:let r;r=t.tagID,e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r));break;case sl.LI:e.openElements.hasInListItemScope(sl.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(sl.LI),e.openElements.popUntilTagNamePopped(sl.LI));break;case sl.DD:case sl.DT:let n;n=t.tagID,e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n));break;case sl.H1:case sl.H2:case sl.H3:case sl.H4:case sl.H5:case sl.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case sl.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(so.BR,sl.BR),e.openElements.pop(),e.framesetOk=!1;break;case sl.BODY:if(e.openElements.hasInScope(sl.BODY)&&(e.insertionMode=sd.AFTER_BODY,e.options.sourceCodeLocationInfo)){let r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}break;case sl.HTML:e.openElements.hasInScope(sl.BODY)&&(e.insertionMode=sd.AFTER_BODY,tX(e,t));break;case sl.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(sl.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(sl.FORM):r&&e.openElements.remove(r))}(e);break;case sl.APPLET:case sl.OBJECT:case sl.MARQUEE:let i;i=t.tagID,e.openElements.hasInScope(i)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(i),e.activeFormattingElements.clearToLastMarker());break;case sl.TEMPLATE:ty(e,t);break;default:tw(e,t)}}function tR(e,t){e.tmplInsertionModeStack.length>0?tJ(e,t):tf(e,t)}function tL(e,t){if(void 0!==e.openElements.currentTagId&&tc.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=sd.IN_TABLE_TEXT,t.type){case a8.CHARACTER:tj(e,t);break;case a8.WHITESPACE_CHARACTER:tz(e,t)}else tU(e,t)}function tP(e,t){switch(t.tagID){case sl.TD:case sl.TH:case sl.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(so.TBODY,sl.TBODY),e.insertionMode=sd.IN_TABLE_BODY,tG(e,t);break;case sl.STYLE:case sl.SCRIPT:case sl.TEMPLATE:tE(e,t);break;case sl.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(so.COLGROUP,sl.COLGROUP),e.insertionMode=sd.IN_COLUMN_GROUP,tZ(e,t);break;case sl.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,si.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case sl.TABLE:e.openElements.hasInTableScope(sl.TABLE)&&(e.openElements.popUntilTagNamePopped(sl.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case sl.TBODY:case sl.TFOOT:case sl.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,si.HTML),e.insertionMode=sd.IN_TABLE_BODY;break;case sl.INPUT:tN(t)?e._appendElement(t,si.HTML):tU(e,t),t.ackSelfClosing=!0;break;case sl.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,si.HTML),e.insertionMode=sd.IN_CAPTION;break;case sl.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,si.HTML),e.insertionMode=sd.IN_COLUMN_GROUP;break;default:tU(e,t)}}function tM(e,t){switch(t.tagID){case sl.TABLE:e.openElements.hasInTableScope(sl.TABLE)&&(e.openElements.popUntilTagNamePopped(sl.TABLE),e._resetInsertionMode());break;case sl.TEMPLATE:ty(e,t);break;case sl.BODY:case sl.CAPTION:case sl.COL:case sl.COLGROUP:case sl.HTML:case sl.TBODY:case sl.TD:case sl.TFOOT:case sl.TH:case sl.THEAD:case sl.TR:break;default:tU(e,t)}}function tU(e,t){let r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,tx(e,t),e.fosterParentingEnabled=r}
vendor: 5,294 bytes, line 50
50function tz(e,t){e.pendingCharacterTokens.push(t)}function tj(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tF(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)tU(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}let tB=new Set([sl.CAPTION,sl.COL,sl.COLGROUP,sl.TBODY,sl.TD,sl.TFOOT,sl.TH,sl.THEAD,sl.TR]);function tZ(e,t){switch(t.tagID){case sl.HTML:t$(e,t);break;case sl.COL:e._appendElement(t,si.HTML),t.ackSelfClosing=!0;break;case sl.TEMPLATE:tE(e,t);break;default:tH(e,t)}}function tH(e,t){e.openElements.currentTagId===sl.COLGROUP&&(e.openElements.pop(),e.insertionMode=sd.IN_TABLE,e._processToken(t))}function tG(e,t){switch(t.tagID){case sl.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,si.HTML),e.insertionMode=sd.IN_ROW;break;case sl.TH:case sl.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(so.TR,sl.TR),e.insertionMode=sd.IN_ROW,tV(e,t);break;case sl.CAPTION:case sl.COL:case sl.COLGROUP:case sl.TBODY:case sl.TFOOT:case sl.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=sd.IN_TABLE,tP(e,t));break;default:tP(e,t)}}function tY(e,t){let r=t.tagID;switch(t.tagID){case sl.TBODY:case sl.TFOOT:case sl.THEAD:e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=sd.IN_TABLE);break;case sl.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=sd.IN_TABLE,tM(e,t));break;case sl.BODY:case sl.CAPTION:case sl.COL:case sl.COLGROUP:case sl.HTML:case sl.TD:case sl.TH:case sl.TR:break;default:tM(e,t)}}function tV(e,t){switch(t.tagID){case sl.TH:case sl.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,si.HTML),e.insertionMode=sd.IN_CELL,e.activeFormattingElements.insertMarker();break;case sl.CAPTION:case sl.COL:case sl.COLGROUP:case sl.TBODY:case sl.TFOOT:case sl.THEAD:case sl.TR:e.openElements.hasInTableScope(sl.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=sd.IN_TABLE_BODY,tG(e,t));break;default:tP(e,t)}}function tW(e,t){switch(t.tagID){case sl.TR:e.openElements.hasInTableScope(sl.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=sd.IN_TABLE_BODY);break;case sl.TABLE:e.openElements.hasInTableScope(sl.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=sd.IN_TABLE_BODY,tY(e,t));break;case sl.TBODY:case sl.TFOOT:case sl.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(sl.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=sd.IN_TABLE_BODY,tY(e,t));break;case sl.BODY:case sl.CAPTION:case sl.COL:case sl.COLGROUP:case sl.HTML:case sl.TD:case sl.TH:break;default:tM(e,t)}}function tq(e,t){switch(t.tagID){case sl.HTML:t$(e,t);break;case sl.OPTION:e.openElements.currentTagId===sl.OPTION&&e.openElements.pop(),e._insertElement(t,si.HTML);break;case sl.OPTGROUP:e.openElements.currentTagId===sl.OPTION&&e.openElements.pop(),e.openElements.currentTagId===sl.OPTGROUP&&e.openElements.pop(),e._insertElement(t,si.HTML);break;case sl.HR:e.openElements.currentTagId===sl.OPTION&&e.openElements.pop(),e.openElements.currentTagId===sl.OPTGROUP&&e.openElements.pop(),e._appendElement(t,si.HTML),t.ackSelfClosing=!0;break;case sl.INPUT:case sl.KEYGEN:case sl.TEXTAREA:case sl.SELECT:e.openElements.hasInSelectScope(sl.SELECT)&&(e.openElements.popUntilTagNamePopped(sl.SELECT),e._resetInsertionMode(),t.tagID!==sl.SELECT&&e._processStartTag(t));break;case sl.SCRIPT:case sl.TEMPLATE:tE(e,t)}}function tK(e,t){switch(t.tagID){case sl.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===sl.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===sl.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===sl.OPTGROUP&&e.openElements.pop();break;case sl.OPTION:e.openElements.currentTagId===sl.OPTION&&e.openElements.pop();break;case sl.SELECT:e.openElements.hasInSelectScope(sl.SELECT)&&(e.openElements.popUntilTagNamePopped(sl.SELECT),e._resetInsertionMode());break;case sl.TEMPLATE:ty(e,t)}}function tJ(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(sl.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):tf(e,t)}function tX(e,t){var r;if(t.tagID===sl.HTML){if(e.fragmentContext||(e.insertionMode=sd.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===sl.HTML){e._setEndLocation(e.openElements.items[0],t);let n=e.openElements.items[1];!n||(null==(r=e.treeAdapter.getNodeSourceCodeLocation(n))?void 0:r.endTag)||e._setEndLocation(n,t)}}else tQ(e,t)}function tQ(e,t){e.insertionMode=sd.IN_BODY,tx(e,t)}function t0(e,t){e.insertionMode=sd.IN_BODY,tx(e,t)}function t1(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==si.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.o
50penElements.current);)e.openElements.pop()}String.prototype.codePointAt,so.AREA,so.BASE,so.BASEFONT,so.BGSOUND,so.BR,so.COL,so.EMBED,so.FRAME,so.HR,so.IMG,so.INPUT,so.KEYGEN,so.LINK,so.META,so.PARAM,so.SOURCE,so.TRACK,so.WBR;var t4=r(679629);let t6=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,t2=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),t9={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function t5(e,t){var r,n;let i,s,o=!!((i="root"===(n=e).type?n.children[0]:n)&&("doctype"===i.type||"element"===i.type&&"html"===i.tagName.toLowerCase())),l=(0,ep.A)("type",{handlers:{root:t7,element:t8,text:re,comment:rr,doctype:rt,raw:rn},unknown:ri}),u={parser:o?new tm(t9):tm.getFragmentParser(void 0,t9),handle(e){l(e,u)},stitches:!1,options:t||{}};l(e,u),ra(u,(0,t4.PW)());let c=(r=o?u.parser.document:u.parser.getFragment(),el({file:(s={file:u.options.file}).file||void 0,location:!1,schema:"svg"===s.space?Z:B,verbose:s.verbose||!1},r));return(u.stitches&&(0,a.YR)(c,"comment",function(e,t,r){if(e.value.stitch&&r&&void 0!==t)return r.children[t]=e.value.stitch,t}),"root"===c.type&&1===c.children.length&&c.children[0].type===e.type)?c.children[0]:c}function t3(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function t7(e,t){t3(e.children,t)}function t8(e,t){(function(e,t){let r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===eM.PLAINTEXT)return;ra(t,(0,t4.PW)(e));let n=t.parser.openElements.current,i="namespaceURI"in n?n.namespaceURI:ea.html;i===ea.html&&"svg"===r&&(i=ea.svg);let a=ef({...e,children:[]},"svg"===({space:i===ea.svg?"svg":"html"}).space?Z:B),s={type:a8.START_TAG,tagName:r,tagID:eD(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:ro(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r})(e,t),t3(e.children,t),function(e,t){let r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&ev.b.includes(r)||t.parser.tokenizer.state===eM.PLAINTEXT)return;ra(t,(0,t4.Y)(e));let n={type:a8.END_TAG,tagName:r,tagID:eD(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:ro(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===eM.RCDATA||t.parser.tokenizer.state===eM.RAWTEXT||t.parser.tokenizer.state===eM.SCRIPT_DATA)&&(t.parser.tokenizer.state=eM.DATA)}(e,t)}function re(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);let r={type:a8.CHARACTER,chars:e.value,location:ro(e)};ra(t,(0,t4.PW)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function rt(e,t){let r={type:a8.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:ro(e)};ra(t,(0,t4.PW)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function rr(e,t){let r=e.value,n={type:a8.COMMENT,data:r,location:ro(e)};ra(t,(0,t4.PW)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function rn(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,rs(t,(0,t4.PW)(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(t6,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function ri(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type)){var r;let n;t.stitches=!0,n="children"in(r=e)?(0,f.Ay)({...r,children:[]}):(0,f.Ay)(r),"children"in e&&"children"in n&&(n.children=t5({type:"root",children:e.children},t.options).children),rr({type:"comment",value:{stitch:n}},t)}else{let t="";
50throw t2.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function ra(e,t){rs(e,t);let r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eM.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function rs(e,t){if(t&&void 0!==t.offset){let r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=r}}function ro(e){let t=(0,t4.PW)(e)||{line:void 0,column:void 0,offset:void 0},r=(0,t4.Y)(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function rl(e){return function(t,r){return t5(t,{...e,file:r})}}let ru=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],rc={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...ru,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...ru],h2:[["className","sr-only"]],img:[...ru,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...ru,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...ru],table:[...ru],ul:[...ru,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},rd={}.hasOwnProperty;function rm(e,t){if(t&&"object"==typeof t)switch("string"==typeof t.type?t.type:""){case"comment":var r,n,i=e,a=t;if(i.schema.allowComments){let e="string"==typeof a.value?a.value:"",t=e.indexOf("--\x3e"),r={type:"comment",value:t<0?e:e.slice(0,t)};return rg(r,a),r}return;case"doctype":var s=e,o=t;if(s.schema.allowDoctypes){let e={type:"doctype"};return rg(e,o),e}return;case"element":return function(e,t){let r="string"==typeof t.tagName?t.tagName:"";e.stack.push(r);let n=rp(e,t.children),i=function(e,t){let r,n=e.stack[e.stack.length-1],i=e.schema.attributes,a=e.schema.required,s=i&&rd.call(i,n)?i[n]:void 0,o=i&&rd.call(i,"*")?i["*"]:void 0,l=t&&"object"==typeof t?t:{},u={};for(r in l)if(rd.call(l,r)){let t=l[r],n=rh(e,r_(s,r),r,t);null==n&&(n=rh(e,r_(o,r),r,t)),null!=n&&(u[r]=n)}
50if(a&&rd.call(a,n)){let e=a[n];for(r in e)rd.call(e,r)&&!rd.call(u,r)&&(u[r]=e[r])}return u}(e,t.properties);e.stack.pop();let a=!1;if(r&&"*"!==r&&(!e.schema.tagNames||e.schema.tagNames.includes(r))&&(a=!0,e.schema.ancestors&&rd.call(e.schema.ancestors,r))){let t=e.schema.ancestors[r],n=-1;for(a=!1;++n<t.length;)e.stack.includes(t[n])&&(a=!0)}if(!a)return e.schema.strip&&!e.schema.strip.includes(r)?n:void 0;let s={type:"element",tagName:r,properties:i,children:n};return rg(s,t),s}(e,t);case"root":let l;return rg(l={type:"root",children:rp(e,(r=t).children)},r),l;case"text":let u;return rg(u={type:"text",value:"string"==typeof(n=t).value?n.value:""},n),u}}function rp(e,t){let r=[];if(Array.isArray(t)){let n=-1;for(;++n<t.length;){let i=rm(e,t[n]);i&&(Array.isArray(i)?r.push(...i):r.push(i))}}return r}function rh(e,t,r,n){return t?Array.isArray(n)?function(e,t,r,n){let i=-1,a=[];for(;++i<n.length;){let s=rf(e,t,r,n[i]);("number"==typeof s||"string"==typeof s)&&a.push(s)}return a}(e,t,r,n):rf(e,t,r,n):void 0}function rf(e,t,r,n){if(("boolean"==typeof n||"number"==typeof n||"string"==typeof n)&&function(e,t,r){let n=e.schema.protocols&&rd.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;
50if(!n||0===n.length)return!0;let i=String(r),a=i.indexOf(":"),s=i.indexOf("?"),o=i.indexOf("#"),l=i.indexOf("/");if(a<0||l>-1&&a>l||s>-1&&a>s||o>-1&&a>o)return!0;let u=-1;for(;++u<n.length;){let e=n[u];if(a===e.length&&i.slice(0,e.length)===e)return!0}return!1}(e,r,n)){if("object"==typeof t&&t.length>1){let e=!1,r=0;for(;++r<t.length;){let i=t[r];if(i&&"object"==typeof i&&"flags"in i){if(i.test(String(n))){e=!0;break}}else if(i===n){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(r)?e.schema.clobberPrefix+n:n}}function rg(e,t){let r=(0,t4.G1)(t);t.data&&(e.data=(0,f.Ay)(t.data)),r&&(e.position=r)}function r_(e,t){let r,n=-1;if(e)for(;++n<e.length;){let i=e[n],a="string"==typeof i?i:i[0];if(a===t)return i;"data*"===a&&(r=i)}if(t.length>4&&"data"===t.slice(0,4).toLowerCase())return r}function rv(e){return function(t){let r,n;return r={type:"root",children:[]},(n=rm({schema:e?{...rc,...e}:rc,stack:[]},t))&&(Array.isArray(n)?1===n.length?r=n[0]:r.children=n:r=n),r}}var rE=r(591141),ry=Object.defineProperty,rb=Object.defineProperties,rT=Object.getOwnPropertyDescriptors,rk=Object.getOwnPropertySymbols,rx=Object.prototype.hasOwnProperty,rA=Object.prototype.propertyIsEnumerable,rI=(e,t,r)=>t in e?ry(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,rS=(e,t)=>{for(var r in t||(t={}))rx.call(t,r)&&rI(e,r,t[r]);if(rk)for(var r of rk(t))rA.call(t,r)&&rI(e,r,t[r]);return e},rN=(e,t)=>{let r=!1,n=!1;for(let i=0;i<t;i+=1){if("\\"===e[i]&&i+1<e.length&&"`"===e[i+1]){i+=1;continue}if("```"===e.substring(i,i+3)){n=!n,i+=2;continue}n||"`"!==e[i]||(r=!r)}return r||n},rO=(e,t)=>{let r="```"===e.substring(t,t+3),n=t>0&&"```"===e.substring(t-1,t+2),i=t>1&&"```"===e.substring(t-2,t+1);return r||n||i},rC=(e,t)=>{let r=!1,n=!1,i=-1;for(let a=0;a<e.length;a+=1){if("\\"===e[a]&&a+1<e.length&&"`"===e[a+1]){a+=1;continue}if("```"===e.substring(a,a+3)){n=!n,a+=2;continue}if(!n&&"`"===e[a])if(r){if(i<t&&t<a)return!0;r=!1,i=-1}else r=!0,i=a}return!1},r$=/^(\s*(?:[-*+]|\d+[.)]) +)>(=?\s*[$]?\d)/gm,rw=/(\*\*)([^*]*\*?)$/,rD=/(__)([^_]*?)$/,rR=/(\*\*\*)([^*]*?)$/,rL=/(\*)([^*]*?)$/,rP=/(_)([^_]*?)$/,rM=/(`)([^`]*?)$/,rU=/(~~)([^~]*?)$/,rz=/^[\s_~*`]*$/,rj=/^[\s]*[-*+][\s]+$/,rF=/[\p{L}\p{N}_]/u,rB=/^```[^`\n]*```?$/,rZ=/^\*{4,}$/,rH=/(__)([^_]+)_$/,rG=/(~~)([^~]+)~$/,rY=/~~/g,rV=e=>{if(!e)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||95===t||rF.test(e)},rW=(e,t)=>{let r=1;for(let n=t+1;n<e.length;n+=1)if("["===e[n])r+=1;else if("]"===e[n]&&0==(r-=1))return n;return -1},rq=(e,t)=>{let r=!1,n=!1;for(let i=0;i<e.length&&i<t;i+=1){if("\\"===e[i]&&"$"===e[i+1]){i+=1;continue}"$"===e[i]&&("$"===e[i+1]?(n=!n,i+=1,r=!1):n||(r=!r))}return r||n},rK=(e,t)=>{for(let r=t;r<e.length;r+=1){if(")"===e[r])return!0;if(e[r]===` 51`)break}return!1},rJ=(e,t)=>{for(let r=t-1;r>=0&&")"!==e[r];r-=1){if("("===e[r])return r>0&&"]"===e[r-1]&&rK(e,t);if(e[r]===` 52`)break}return!1},rX=(e,t,r)=>{let n=0;for(let r=t-1;r>=0;r-=1)if(e[r]===` 53`){n=r+1;break}let i=e.length;for(let r=t;r<e.length;r+=1)if(e[r]===` 54`){i=r;break}let a=e.substring(n,i),s=0,o=!1;for(let e of a)if(e===r)s+=1;else if(" "!==e&&" "!==e){o=!0;break}return s>=3&&!o},rQ=(e,t,r,n)=>!!("\\"===r||e.includes("$")&&rq(e,t))||("*"!==r&&"*"===n?(t<e.length-2?e[t+2]:"")!=="*":!!("*"===r||r&&n&&rV(r)&&rV(n)||(!r||" "===r||" "===r||r===` 55`)&&(!n||" "===n||" "===n||n===` 56`))),r0=e=>{let t=0,r=!1,n=e.length;for(let i=0;i<n;i+=1){if("`"===e[i]&&i+2<n&&"`"===e[i+1]&&"`"===e[i+2]){r=!r,i+=2;continue}if(r||"*"!==e[i])continue;let a=i>0?e[i-1]:"",s=i<n-1?e[i+1]:"";rQ(e,i,a,s)||(t+=1)}return t},r1=(e,t,r,n)=>!!("\\"===r||e.includes("$")&&rq(e,t)||rJ(e,t)||((e,t)=>{for(let r=t-1;r>=0&&">"!==e[r];r-=1){if("<"===e[r]){let t=r+1<e.length?e[r+1]:"";return t>="a"&&t<="z"||t>="A"&&t<="Z"||"/"===t}if(e[r]===` 57`)break}return!1})(e,t)||"_"===r||"_"===n||r&&n&&rV(r)&&rV(n)),r4=e=>{let t=0,r=!1;for(let n=0;n<e.length;n+=1){if("`"===e[n]&&n+2<e.length&&"`"===e[n+1]&&"`"===e[n+2]){r=!r,n+=2;continue}r||"*"===e[n]&&n+1<e.length&&"*"===e[n+1]&&(t+=1,n+=1)}return t},r6=e=>{let t=0,r=!1;for(let n=0;n<e.length;n+=1){if("`"===e[n]&&n+2<e.length&&"`"===e[n+1]&&"`"===e[n+2]){r=!r,n+=2;continue}r||"_"===e[n]&&n+1<e.length&&"_"===e[n+1]&&(t+=1,n+=1)}return t},r2=e=>{let t=!1;for(let r=0;r<e.length;r+=1){if("`"===e[r]&&r+2<e.length&&"`"===e[r+1]&&"`"===e[r+2]){t=!t,r+=2;continue}if(!t&&"_"===e[r]&&"_"!==e[r-1]&&"_"!==e[r+1]&&"\\"!==e[r-1]&&!rq(e,r)&&!rJ(e,r)){let t=r>0?e[r-1]:"",n=r<e.length-1?e[r+1]:"";if(t&&n&&rV(t)&&rV(n))continue;return r}}return -1},r9=/<[a-zA-Z/][^>]*$/,r5=(e,t)=>t>=2&&"```"===e.substring(t-2,t+1)||t>=1&&"```"===e.substring(t-1,t+2)||t<=e.length-3&&"```"===e.substring(t,t+3),r3=(e,t,r)=>{let n=t>0&&"!"===e[t-1],i=n?t-1:t;if(!e.substring(t+1).includes("]")||-1===rW(e,t)){let a=e.substring(0,i);if(n)return a;
57if("text-only"===r){let r=((e,t)=>{for(let r=0;r<t;r++)if("["===e[r]&&!rN(e,r)){if(r>0&&"!"===e[r-1])continue;let t=rW(e,r);if(-1===t)return r;if(t+1<e.length&&"("===e[t+1]){let n=e.indexOf(")",t+2);-1!==n&&(r=n)}}return t})(e,t);return e.substring(0,r)+e.substring(r+1)}return`${e}](streamdown:incomplete-link)`}return null},r7=(e,t="protocol")=>{let r=e.lastIndexOf("](");if(-1!==r&&!rN(e,r)){let n=((e,t,r)=>{if(e.substring(t+2).includes(")"))return null;let n=((e,t)=>{let r=1;for(let n=t-1;n>=0;n-=1)if("]"===e[n])r+=1;else if("["===e[n]&&0==(r-=1))return n;return -1})(e,t);if(-1===n||rN(e,n))return null;let i=n>0&&"!"===e[n-1],a=e.substring(0,i?n-1:n);if(i)return a;let s=e.substring(n+1,t);return"text-only"===r?`${a}${s}`:`${a}[${s}](streamdown:incomplete-link)`})(e,r,t);if(null!==n)return n}for(let r=e.length-1;r>=0;r-=1)if("["===e[r]&&!rN(e,r)){let n=r3(e,r,t);if(null!==n)return n}return e},r8=/^-{1,2}$/,ne=/^[\s]*-{1,2}[\s]+$/,nt=/^={1,2}$/,nr=/^[\s]*={1,2}[\s]+$/,nn=RegExp("(?<=[\\p{L}\\p{N}_])~(?!~)(?=[\\p{L}\\p{N}_])","gu"),ni=[{handler:{name:"singleTilde",handle:e=>e&&"string"==typeof e&&e.includes("~")?e.replace(nn,(t,r)=>rN(e,r)?t:"\\~"):e,priority:0},optionKey:"singleTilde"},{handler:{name:"comparisonOperators",handle:e=>e&&"string"==typeof e&&e.includes(">")?e.replace(r$,(t,r,n,i)=>rN(e,i)?t:`${r}\\>${n}`):e,priority:5},optionKey:"comparisonOperators"},{handler:{name:"htmlTags",handle:e=>{let t=e.match(r9);return!t||void 0===t.index||rN(e,t.index)?e:e.substring(0,t.index).trimEnd()},priority:10},optionKey:"htmlTags"},{handler:{name:"setextHeadings",handle:e=>{if(!e||"string"!=typeof e)return e;let t=e.lastIndexOf(` 58`);if(-1===t)return e;let r=e.substring(t+1),n=e.substring(0,t),i=r.trim();if(r8.test(i)&&!r.match(ne)){let t=n.split(` 59`).at(-1);if(t&&t.trim().length>0)return`${e}\u200B`}if(nt.test(i)&&!r.match(nr)){let t=n.split(` 60`).at(-1);if(t&&t.trim().length>0)return`${e}\u200B`}return e},priority:15},optionKey:"setextHeadings"},{handler:{name:"links",handle:r7,priority:20},optionKey:"links",earlyReturn:e=>e.endsWith("](streamdown:incomplete-link)")},{handler:{name:"boldItalic",handle:e=>{let t,r;if(rZ.test(e))return e;let n=e.match(rR);if(!n)return e;let i=n[2],a=e.lastIndexOf(n[1]);return!i||rz.test(i)||rN(e,a)||rC(e,a)||rX(e,a,"*")?e:(e=>{let t=0,r=0,n=!1;for(let i=0;i<e.length;i+=1){if("`"===e[i]&&i+2<e.length&&"`"===e[i+1]&&"`"===e[i+2]){r>=3&&(t+=Math.floor(r/3)),r=0,n=!n,i+=2;continue}n||("*"===e[i]?r+=1:(r>=3&&(t+=Math.floor(r/3)),r=0))}return r>=3&&(t+=Math.floor(r/3)),t})(e)%2==1?(t=r4(e),r=r0(e),t%2==0&&r%2==0)?e:`${e}***`:e},priority:30},optionKey:"boldItalic"},{handler:{name:"bold",handle:e=>{let t=e.match(rw);if(!t)return e;let r=t[2],n=e.lastIndexOf(t[1]);return rN(e,n)||rC(e,n)||((e,t,r)=>{if(!t||rz.test(t))return!0;let n=e.substring(0,r).lastIndexOf(` 61`),i=e.substring(-1===n?0:n+1,r);return!!(rj.test(i)&&t.includes(` 62`))||rX(e,r,"*")})(e,r,n)?e:r4(e)%2==1?r.endsWith("*")?`${e}*`:`${e}**`:e},priority:35},optionKey:"bold"},{handler:{name:"italicDoubleUnderscore",handle:e=>{let t=e.match(rD);if(!t){let t=e.match(rH);if(t){let r=e.lastIndexOf(t[1]);if(!(rN(e,r)||rC(e,r))&&r6(e)%2==1)return`${e}_`}return e}let r=t[2],n=e.lastIndexOf(t[1]);return rN(e,n)||rC(e,n)||((e,t,r)=>{if(!t||rz.test(t))return!0;let n=e.substring(0,r).lastIndexOf(` 63`),i=e.substring(-1===n?0:n+1,r);return!!(rj.test(i)&&t.includes(` 64`))||rX(e,r,"_")})(e,r,n)?e:r6(e)%2==1?`${e}__`:e},priority:40},optionKey:"italic"},{handler:{name:"italicSingleAsterisk",handle:e=>{if(!e.match(rL))return e;let t=(e=>{let t=!1;for(let r=0;r<e.length;r+=1){if("`"===e[r]&&r+2<e.length&&"`"===e[r+1]&&"`"===e[r+2]){t=!t,r+=2;continue}if(!t&&"*"===e[r]&&"*"!==e[r-1]&&"*"!==e[r+1]&&"\\"!==e[r-1]&&!rq(e,r)){let t=r>0?e[r-1]:"",n=r<e.length-1?e[r+1]:"";if((!t||" "===t||" "===t||t===` 65`)&&(!n||" "===n||" "===n||n===` 66`)||t&&n&&rV(t)&&rV(n))continue;return r}}return -1})(e);if(-1===t||rN(e,t)||rC(e,t))return e;let r=e.substring(t+1);return!r||rz.test(r)?e:r0(e)%2==1?`${e}*`:e},priority:41},optionKey:"italic"},{handler:{name:"italicSingleUnderscore",handle:e=>{if(!e.match(rP))return e;let t=r2(e);if(-1===t)return e;let r=e.substring(t+1);if(!r||rz.test(r)||rN(e,t)||rC(e,t))return e;if((e=>{let t=0,r=!1,n=e.length;for(let i=0;i<n;i+=1){if("`"===e[i]&&i+2<n&&"`"===e[i+1]&&"`"===e[i+2]){r=!r,i+=2;continue}if(r||"_"!==e[i])continue;let a=i>0?e[i-1]:"",s=i<n-1?e[i+1]:"";r1(e,i,a,s)||(t+=1)}return t})(e)%2==1){let t=(e=>{if(!e.endsWith("**"))return null;let t=e.slice(0,-2);if(r4(t)%2!=1)return null;let r=t.indexOf("**"),n=r2(t);return -1!==r&&-1!==n&&r<n?`${t}_**`:null})(e);return null!==t?t:(e=>{let t=e.length;for(;t>0&&e[t-1]===` 67`;)t-=1;if(t<e.length){let r=e.slice(0,t),n=e.slice(t);return`${r}_${n}`}return`${e}_`})(e)}return e},priority:42},optionKey:"italic"},{handler:{name:"inlineCode",handle:e=>{let t=!e.match(rB)||e.includes(` 68`)?null:e.endsWith("``")&&!e.endsWith("```")?`${e}\``:e;if(null!==t)return t;let r=e.match(rM);if(r&&(e.match(/```/g)||[]).length%2!=1){let t=r[2];if(!t||rz.test(t))return e;if((e=>{let t=0;for(let r=0;r<e.length;r+=1){if("\\"===e[r]&&r+1<e.length&&"`"===e[r+1]){r+=1;continue}"`"!==e[r]||rO(e,r)||(t+=1)}return t})(e)%2==1)return`${e}\``}return e},priority:50},optionKey:"inlineCode"},{handler:{name:"strikethrough",handle:e=>{var t,r;let n=e.match(rU);if(n){let r=n[2];if(!r||rz.test(r))return e;let i=e.lastIndexOf(n[1]);if(rN(e,i)||rC(e,i))return e;if((null==(t=e.match(rY))?void 0:t.length)%2==1)return`${e}~~`}else{let t=e.match(rG);if(t){let n=e.lastIndexOf(t[0].slice(0,2));if(rN(e,n)||rC(e,n))return e;if((null==(r=e.match(rY))?void 0:r.length)%2==1)return`${e}~`}}return e},priority:60},optionKey:"strikethrough"},{handler:{name:"katex",handle:e=>(e=>{let t=0,r=!1;for(let n=0;n<e.length-1;n+=1)"`"!==e[n]||r5(e,n)||(r=!r),r||"$"!==e[n]||"$"!==e[n+1]||(t+=1,n+=1);return t})(e)%2==0?e:(e=>{if(e.endsWith("$")&&!e.endsWith("$$"))return`${e}$`;let t=e.indexOf("$$");return -1===t||-1===e.indexOf(` 69`,t)||e.endsWith(` 70`)?`${e}$$`:`${e} 71$$`})(e),priority:70},optionKey:"katex"},{handler:{name:"inlineKatex",handle:e=>(e=>{let t=0,r=!1;for(let n=0;n<e.length;n+=1){if("\\"===e[n]){n+=1;continue}
71if("`"===e[n]&&!r5(e,n)){r=!r;continue}r||"$"!==e[n]||(n+1<e.length&&"$"===e[n+1]?n+=1:t+=1)}return t})(e)%2==1?`${e}$`:e,priority:75},optionKey:"inlineKatex"}],na=r(777633),ns=r(826501),no=r(294799),nl=r(656742),nu=r(9862),nc=r(885632),nd=r(941894),nm=r(754975),np=r(197752);function nh(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var nf=nh(),ng={exec:()=>null};function n_(e,t=""){let r="string"==typeof e?e:e.source,n={replace:(e,t)=>{let i="string"==typeof t?t:t.source;return i=i.replace(nE.caret,"$1"),r=r.replace(e,i),n},getRegex:()=>new RegExp(r,t)};return n}var nv=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),nE={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}>`)},ny=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,nb=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,nT=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,nk=n_(nT).replace(/bull/g,nb).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),nx=n_(nT).replace(/bull/g,nb).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),nA=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,nI=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,nS=n_(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",nI).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),nN=n_(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,nb).getRegex(),nO="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",nC=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,n$=n_("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>
71)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",nC).replace("tag",nO).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),nw=n_(nA).replace("hr",ny).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",nO).getRegex(),nD={blockquote:n_(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",nw).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:nS,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:ny,html:n$,lheading:nk,list:nN,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:nw,table:ng,text:/^[^\n]+/},nR=n_("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",ny).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",nO).getRegex(),nL={...nD,lheading:nx,table:nR,paragraph:n_(nA).replace("hr",ny).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",nR).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",nO).getRegex()},nP={...nD,html:n_("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",nC).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:ng,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:n_(nA).replace("hr",ny).replace("heading",` *#{1,6} *[^ 72]`).replace("lheading",nk).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},nM=/^( {2,}|\\)\n(?!\s*$)/,nU=/[\p{P}\p{S}]/u,nz=/[\s\p{P}\p{S}]/u,nj=/[^\s\p{P}\p{S}]/u,nF=n_(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,nz).getRegex(),nB=/(?!~)[\p{P}\p{S}]/u,nZ=n_(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",nv?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),nH=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,nG=n_(nH,"u").replace(/punct/g,nU).getRegex(),nY=n_(nH,"u").replace(/punct/g,nB).getRegex(),nV="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",nW=n_(nV,"gu").replace(/notPunctSpace/g,nj).replace(/punctSpace/g,nz).replace(/punct/g,nU).getRegex(),nq=n_(nV,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,nB).getRegex(),nK=n_("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,nj).replace(/punctSpace/g,nz).replace(/punct/g,nU).getRegex(),nJ=n_(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,nU).getRegex(),nX=n_("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,nj).replace(/punctSpace/g,nz).replace(/punct/g,nU).getRegex(),nQ=n_(/\\(punct)/,"gu").replace(/punct/g,nU).getRegex(),n0=n_(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[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])?)+(?![-_])/).getRegex(),n1=n_(nC).replace("(?:--\x3e|$)","--\x3e").getRegex(),n4=n_("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",n1).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),n6=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,n2=n_(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",n6).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),n9=n_(/^!?\[(label)\]\[(ref)\]/).replace("label",n6).replace("ref",nI).getRegex(),n5=n_(/^!?\[(ref)\](?:\[\])?/).replace("ref",nI).getRegex(),n3=n_("reflink|nolink(?!\\()","g").replace("reflink",n9).replace("nolink",n5).getRegex(),n7=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,n8={_backpedal:ng,anyPunctuation:nQ,autolink:n0,blockSkip:nZ,br:nM,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:ng,delLDelim:ng,delRDelim:ng,emStrongLDelim:nG,emStrongRDelimAst:nW,emStrongRDelimUnd:nK,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:n2,nolink:n5,punctuation:nF,reflink:n9,reflinkSearch:n3,tag:n4,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:ng},ie={...n8,link:n_(/^!?\[(label)\]\((.*?)\)/).replace("label",n6).getRegex(),reflink:n_(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",n6).getRegex()},it={...n8,emStrongRDelimAst:nq,emStrongLDelim:nY,delLDelim:nJ,delRDelim:nX,url:n_(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",n7).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:n_(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",n7).getRegex()},ir={...it,br:n_(nM).replace("{2,}","*").getRegex(),text:n_(it.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ii={normal:nD,gfm:nL,pedantic:nP},ia={normal:n8,gfm:it,breaks:ir,pedantic:ie},is={"&":"&","<":"<",">":">",'"':""","'":"'"},io=e=>is[e];function il(e,t){if(t){if(nE.escapeTest.test(e))return e.replace(nE.escapeReplace,io)}else if(nE.escapeTestNoEncode.test(e))return e.replace(nE.escapeReplaceNoEncode,io);return e}function iu(e){try{e=encodeURI(e).replace(nE.percentDecode,"%")}catch{return null}return e}function ic(e,t){let r=e.replace(nE.findPipe,(e,t,r)=>{let n=!1,i=t;for(;--i>=0&&"\\"===r[i];)n=!n;return n?"|":" |"}).split(nE.splitPipe),n=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;n<r.length;n++)r[n]=r[n].trim().replace(nE.slashPipe,"|");return r}function id(e,t,r){let n=e.length;if(0===n)return"";let i=0;for(;i<n;){let a=e.charAt(n-i-1);if(a!==t||r)if(a!==t&&r)i++;else break;else i++}return e.slice(0,n-i)}function im(e,t,r,n,i){let a=t.href,s=t.title||null,o=e[1].replace(i.other.outputLinkReplace,"$1");n.state.inLink=!0;let l={type:"!"===e[0].charAt(0)?"image":"link",raw:r,href:a,title:s,text:o,tokens:n.inlineTokens(o)};return n.state.inLink=!1,l}var ip=class{options;rules;lexer;constructor(e){this.options=e||nf}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:id(e,` 73`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],r=function(e,t,r){let n=e.match(r.other.indentCodeCompensation);if(null===n)return t;let i=n[1];return t.split(` 74`).map(e=>{let t=e.match(r.other.beginningSpace);if(null===t)return e;let[n]=t;return n.length>=i.length?e.slice(i.length):e}).join(` 75`)}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=id(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:id(t[0],` 76`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=id(t[0],` 77`).split(` 78`),r="",n="",i=[];for(;e.length>0;){let t=!1,a=[],s;for(s=0;s<e.length;s++)if(this.rules.other.blockquoteStart.test(e[s]))a.push(e[s]),t=!0;else if(t)break;else a.push(e[s]);e=e.slice(s);let o=a.join(` 79`),l=o.replace(this.rules.other.blockquoteSetextReplace,` 80 $1`).replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r} 81${o}`:o,n=n?`${n} 82${l}`:l;let u=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,i,!0),this.lexer.state.top=u,0===e.length)break;let c=i.at(-1);if(c?.type==="code")break;if(c?.type==="blockquote"){let t=c.raw+` 83`+e.join(` 84`),a=this.blockquote(t);i[i.length-1]=a,r=r.substring(0,r.length-c.raw.length)+a.raw,n=n.substring(0,n.length-c.text.length)+a.text;break}if(c?.type==="list"){let t=c.raw+` 85`+e.join(` 86`),a=this.list(t);i[i.length-1]=a,r=r.substring(0,r.length-c.raw.length)+a.raw,n=n.substring(0,n.length-c.raw.length)+a.raw,e=t.substring(i.at(-1).raw.length).split(` 87`);continue}}return{type:"blockquote",raw:r,tokens:i,text:n}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim(),n=r.length>1,i={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let a=this.rules.other.listItemRegex(r),s=!1;for(;e;){let r=!1,n="",o="";if(!(t=a.exec(e))||this.rules.block.hr.test(e))break;n=t[0],e=e.substring(n.length);let l=function(e,t=0){let r=t,n="";for(let t of e)if(" "===t){let e=4-r%4;n+=" ".repeat(e),r+=e}else n+=t,r++;return n}(t[2].split(` 88`,1)[0],t[1].length),u=e.split(` 89`,1)[0],c=!l.trim(),d=0;if(this.options.pedantic?(d=2,o=l.trimStart()):c?d=t[1].length+1:(d=(d=l.search(this.rules.other.nonSpaceChar))>4?1:d,o=l.slice(d),d+=t[1].length),c&&this.rules.other.blankLine.test(u)&&(n+=u+` 90`,e=e.substring(u.length+1),r=!0),!r){let t=this.rules.other.nextBulletRegex(d),r=this.rules.other.hrRegex(d),i=this.rules.other.fencesBeginRegex(d),a=this.rules.other.headingBeginRegex(d),s=this.rules.other.htmlBeginRegex(d),m=this.rules.other.blockquoteBeginRegex(d);for(;e;){let p=e.split(` 91`,1)[0],h;if(u=p,h=this.options.pedantic?u=u.replace(this.rules.other.listReplaceNesting," "):u.replace(this.rules.other.tabCharGlobal," "),i.test(u)||a.test(u)||s.test(u)||m.test(u)||t.test(u)||r.test(u))break;if(h.search(this.rules.other.nonSpaceChar)>=d||!u.trim())o+=` 92`+h.slice(d);else{if(c||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||i.test(l)||a.test(l)||r.test(l))break;o+=` 93`+u}
93c=!u.trim(),n+=p+` 94`,e=e.substring(p.length+1),l=h.slice(d)}}i.loose||(s?i.loose=!0:this.rules.other.doubleBlankLine.test(n)&&(s=!0)),i.items.push({type:"list_item",raw:n,task:!!this.options.gfm&&this.rules.other.listIsTask.test(o),loose:!1,text:o,tokens:[]}),i.raw+=n}let o=i.items.at(-1);if(!o)return;for(let e of(o.raw=o.raw.trimEnd(),o.text=o.text.trimEnd(),i.raw=i.raw.trimEnd(),i.items)){if(this.lexer.state.top=!1,e.tokens=this.lexer.blockTokens(e.text,[]),e.task){if(e.text=e.text.replace(this.rules.other.listReplaceTask,""),e.tokens[0]?.type==="text"||e.tokens[0]?.type==="paragraph"){e.tokens[0].raw=e.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),e.tokens[0].text=e.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let e=this.lexer.inlineQueue.length-1;e>=0;e--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)){this.lexer.inlineQueue[e].src=this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask,"");break}}let t=this.rules.other.listTaskCheckbox.exec(e.raw);if(t){let r={type:"checkbox",raw:t[0]+" ",checked:"[ ]"!==t[0]};e.checked=r.checked,i.loose?e.tokens[0]&&["paragraph","text"].includes(e.tokens[0].type)&&"tokens"in e.tokens[0]&&e.tokens[0].tokens?(e.tokens[0].raw=r.raw+e.tokens[0].raw,e.tokens[0].text=r.raw+e.tokens[0].text,e.tokens[0].tokens.unshift(r)):e.tokens.unshift({type:"paragraph",raw:r.raw,text:r.raw,tokens:[r]}):e.tokens.unshift(r)}}if(!i.loose){let t=e.tokens.filter(e=>"space"===e.type);i.loose=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw))}}if(i.loose)for(let e of i.items)for(let t of(e.loose=!0,e.tokens))"text"===t.type&&(t.type="paragraph");return i}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:r,title:n}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let r=ic(t[1]),n=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(` 95`):[],a={type:"table",raw:t[0],header:[],align:[],rows:[]};if(r.length===n.length){for(let e of n)this.rules.other.tableAlignRight.test(e)?a.align.push("right"):this.rules.other.tableAlignCenter.test(e)?a.align.push("center"):this.rules.other.tableAlignLeft.test(e)?a.align.push("left"):a.align.push(null);for(let e=0;e<r.length;e++)a.header.push({text:r[e],tokens:this.lexer.inline(r[e]),header:!0,align:a.align[e]});for(let e of i)a.rows.push(ic(e,a.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:a.align[t]})));return a}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let e=t[1].trim();return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:e,tokens:this.lexer.inline(e)}}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e=t[1].charAt(t[1].length-1)===` 96`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=id(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e){if(-1===e.indexOf(")"))return -1;let t=0;for(let r=0;r<e.length;r++)if("\\"===e[r])r++;else if("("===e[r])t++;else if(")"===e[r]&&--t<0)return r;return t>0?-2:-1}(t[2]);if(-2===e)return;if(e>-1){let r=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,r).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(r);e&&(r=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(r=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?r.slice(1):r.slice(1,-1)),im(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let e=t[(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=r[0].charAt(0);return{type:"text",raw:e,text:e}}return im(r,e,r[0],this.lexer,this.rules)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!(!n||!n[1]&&!n[2]&&!n[3]&&!n[4]||n[4]&&r.match(this.rules.other.unicodeAlphaNumeric))&&(!(n[1]||n[3])||!r||this.rules.inline.punctuation.exec(r))){let r=[...n[0]].length-1,i,a,s=r,o=0,l="*"===n[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+r);null!==(n=l.exec(t));){if(!(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6]))continue;if(a=[...i].length,n[3]||n[4]){s+=a;continue}if((n[5]||n[6])&&r%3&&!((r+a)%3)){o+=a;continue}if((s-=a)>0)continue;a=Math.min(a,a+s+o);let t=[...n[0]][0].length,l=e.slice(0,r+n.index+t+a);if(Math.min(r,a)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let u=l.slice(2,-2);return{type:"strong",raw:l,text:u,tokens:this.lexer.inlineTokens(u)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(e),n=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return r&&n&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e,t,r=""){let n=this.rules.inline.delLDelim.exec(e);if(n&&(!n[1]||!r||this.rules.inline.punctuation.exec(r))){let r=[...n[0]].length-1,i,a,s=r,o=this.rules.inline.delRDelim;for(o.lastIndex=0,t=t.slice(-1*e.length+r);null!==(n=o.exec(t));){if(!(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6])||(a=[...i].length)!==r)continue;if(n[3]||n[4]){s+=a;continue}if((s-=a)>0)continue;a=Math.min(a,a+s);let t=[...n[0]][0].length,o=e.slice(0,r+n.index+t+a),l=o.slice(r,-r);return{type:"del",raw:o,text:l,tokens:this.lexer.inlineTokens(l)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,r;return r="@"===t[2]?"mailto:"+(e=t[1]):e=t[1],{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,r;if("@"===t[2])r="mailto:"+(e=t[0]);else{let n;do n=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(n!==t[0]);e=t[0],r="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}},ih=class e{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||nf,this.options.tokenizer=this.options.tokenizer||new ip,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:nE,block:ii.normal,inline:ia.normal};this.options.pedantic?(t.block=ii.pedantic,t.inline=ia.pedantic):this.options.gfm&&(t.block=ii.gfm,this.options.breaks?t.inline=ia.breaks:t.inline=ia.gfm),this.tokenizer.rules=t}static get rules(){return{block:ii,inline:ia}}static lex(t,r){return new e(r).lex(t)}static lexInline(t,r){return new e(r).inlineTokens(t)}lex(e){e=e.replace(nE.carriageReturn,` 97`),this.blockTokens(e,this.tokens);for(let e=0;
97e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],r=!1){for(this.tokenizer.lexer=this,this.options.pedantic&&(e=e.replace(nE.tabCharGlobal," ").replace(nE.spaceLine,""));e;){let n;if(this.options.extensions?.block?.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))continue;if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length);let r=t.at(-1);1===n.raw.length&&void 0!==r?r.raw+=` 98`:t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length);let r=t.at(-1);r?.type==="paragraph"||r?.type==="text"?(r.raw+=(r.raw.endsWith(` 99`)?"":` 100`)+n.raw,r.text+=` 101`+n.text,this.inlineQueue.at(-1).src=r.text):t.push(n);continue}if((n=this.tokenizer.fences(e))||(n=this.tokenizer.heading(e))||(n=this.tokenizer.hr(e))||(n=this.tokenizer.blockquote(e))||(n=this.tokenizer.list(e))||(n=this.tokenizer.html(e))){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length);let r=t.at(-1);r?.type==="paragraph"||r?.type==="text"?(r.raw+=(r.raw.endsWith(` 102`)?"":` 103`)+n.raw,r.text+=` 104`+n.raw,this.inlineQueue.at(-1).src=r.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title},t.push(n));continue}if((n=this.tokenizer.table(e))||(n=this.tokenizer.lheading(e))){e=e.substring(n.raw.length),t.push(n);continue}let i=e;if(this.options.extensions?.startBlock){let t=1/0,r=e.slice(1),n;this.options.extensions.startBlock.forEach(e=>{"number"==typeof(n=e.call({lexer:this},r))&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(n=this.tokenizer.paragraph(i))){let a=t.at(-1);r&&a?.type==="paragraph"?(a.raw+=(a.raw.endsWith(` 105`)?"":` 106`)+n.raw,a.text+=` 107`+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):t.push(n),r=i.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length);let r=t.at(-1);r?.type==="text"?(r.raw+=(r.raw.endsWith(` 108`)?"":` 109`)+n.raw,r.text+=` 110`+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(n);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let r;this.tokenizer.lexer=this;let n=e,i=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!==(i=this.tokenizer.rules.inline.reflinkSearch.exec(n));)e.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!==(i=this.tokenizer.rules.inline.anyPunctuation.exec(n));)n=n.slice(0,i.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!==(i=this.tokenizer.rules.inline.blockSkip.exec(n));)r=i[2]?i[2].length:0,n=n.slice(0,i.index+r)+"["+"a".repeat(i[0].length-r-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let a=!1,s="";for(;e;){let r;if(a||(s=""),a=!1,this.options.extensions?.inline?.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))continue;if((r=this.tokenizer.escape(e))||(r=this.tokenizer.tag(e))||(r=this.tokenizer.link(e))){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length);let n=t.at(-1);"text"===r.type&&n?.type==="text"?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if((r=this.tokenizer.emStrong(e,n,s))||(r=this.tokenizer.codespan(e))||(r=this.tokenizer.br(e))||(r=this.tokenizer.del(e,n,s))||(r=this.tokenizer.autolink(e))||!this.state.inLink&&(r=this.tokenizer.url(e))){e=e.substring(r.raw.length),t.push(r);continue}let i=e;if(this.options.extensions?.startInline){let t=1/0,r=e.slice(1),n;this.options.extensions.startInline.forEach(e=>{"number"==typeof(n=e.call({lexer:this},r))&&n>=0&&(t=Math.min(t,n))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(r=this.tokenizer.inlineText(i)){e=e.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(s=r.raw.slice(-1)),a=!0;let n=t.at(-1);n?.type==="text"?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}},ig=class{options;parser;constructor(e){this.options=e||nf}space(e){return""}code({text:e,lang:t,escaped:r}){let n=(t||"").match(nE.notSpaceStart)?.[0],i=e.replace(nE.endingNewline,"")+` 111`;return n?'<pre><code class="language-'+il(n)+'">'+(r?i:il(i,!0))+`</code></pre> 112`:"<pre><code>"+(r?i:il(i,!0))+`</code></pre> 113`}blockquote({tokens:e}){return`<blockquote> 114${this.parser.parse(e)}</blockquote> 115`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}> 116`}hr(e){return`<hr> 117`}list(e){let t=e.ordered,r=e.start,n="";for(let t=0;t<e.items.length;t++){let r=e.items[t];n+=this.listitem(r)}let i=t?"ol":"ul";return"<"+i+(t&&1!==r?' start="'+r+'"':"")+`> 118`+n+"</"+i+`> 119`}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li> 120`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p> 121`}table(e){let t="",r="";for(let t=0;t<e.header.length;t++)r+=this.tablecell(e.header[t]);t+=this.tablerow({text:r});let n="";for(let t=0;t<e.rows.length;t++){let i=e.rows[t];r="";for(let e=0;e<i.length;e++)r+=this.tablecell(i[e]);n+=this.tablerow({text:r})}return n&&(n=`<tbody>${n}</tbody>`),`<table> 122<thead> 123`+t+`</thead> 124`+n+`</table> 125`}tablerow({text:e}){return`<tr> 126${e}</tr> 127`}tablecell(e){let t=this.parser.parseInline(e.tokens),r=e.header?"th":"td";return(e.align?`<${r} align="${e.align}">`:`<${r}>`)+t+`</${r}> 128`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${il(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:r}){let n=this.parser.parseInline(r),i=iu(e);if(null===i)return n;let a='<a href="'+(e=i)+'"';return t&&(a+=' title="'+il(t)+'"'),a+=">"+n+"</a>"}image({href:e,title:t,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));let i=iu(e);if(null===i)return il(r);e=i;let a=`<img src="${e}" alt="${il(r)}"`;return t&&(a+=` title="${il(t)}"`),a+=">"}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:il(e.text)}},i_=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}checkbox({raw:e}){return e}},iv=class e{options;renderer;textRenderer;constructor(e){this.options=e||nf,this.options.renderer=this.options.renderer||new ig,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new i_}static parse(t,r){return new e(r).parse(t)}static parseInline(t,r){return new e(r).parseInline(t)}parse(e){this.renderer.parser=this;let t="";for(let r=0;r<e.length;r++){let n=e[r];if(this.options.extensions?.renderers?.[n.type]){let e=this.options.extensions.renderers[n.type].call({parser:this},n);if(!1!==e||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(n.t
128ype)){t+=e||"";continue}}switch(n.type){case"space":t+=this.renderer.space(n);break;case"hr":t+=this.renderer.hr(n);break;case"heading":t+=this.renderer.heading(n);break;case"code":t+=this.renderer.code(n);break;case"table":t+=this.renderer.table(n);break;case"blockquote":t+=this.renderer.blockquote(n);break;case"list":t+=this.renderer.list(n);break;case"checkbox":t+=this.renderer.checkbox(n);break;case"html":t+=this.renderer.html(n);break;case"def":t+=this.renderer.def(n);break;case"paragraph":t+=this.renderer.paragraph(n);break;case"text":t+=this.renderer.text(n);break;default:{let e='Token with "'+n.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return t}parseInline(e,t=this.renderer){this.renderer.parser=this;let r="";for(let n=0;n<e.length;n++){let i=e[n];if(this.options.extensions?.renderers?.[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){r+=e||"";continue}}switch(i.type){case"escape":case"text":r+=t.text(i);break;case"html":r+=t.html(i);break;case"link":r+=t.link(i);break;case"image":r+=t.image(i);break;case"checkbox":r+=t.checkbox(i);break;case"strong":r+=t.strong(i);break;case"em":r+=t.em(i);break;case"codespan":r+=t.codespan(i);break;case"br":r+=t.br(i);break;case"del":r+=t.del(i);break;default:{let e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return r}},iE=class{options;block;constructor(e){this.options=e||nf}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(e=this.block){return e?ih.lex:ih.lexInline}provideParser(e=this.block){return e?iv.parse:iv.parseInline}},iy=new class{defaults=nh();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=iv;Renderer=ig;TextRenderer=i_;Lexer=ih;Tokenizer=ip;Hooks=iE;constructor(...e){this.use(...e)}walkTokens(e,t){let r=[];for(let n of e)switch(r=r.concat(t.call(this,n)),n.type){case"table":for(let e of n.header)r=r.concat(this.walkTokens(e.tokens,t));for(let e of n.rows)for(let n of e)r=r.concat(this.walkTokens(n.tokens,t));break;case"list":r=r.concat(this.walkTokens(n.items,t));break;default:{let e=n;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(n=>{let i=e[n].flat(1/0);r=r.concat(this.walkTokens(i,t))}):e.tokens&&(r=r.concat(this.walkTokens(e.tokens,t)))}}return r}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let r={...e};if(r.async=this.defaults.async||r.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if("renderer"in e){let r=t.renderers[e.name];r?t.renderers[e.name]=function(...t){let n=e.renderer.apply(this,t);return!1===n&&(n=r.apply(this,t)),n}:t.renderers[e.name]=e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");let r=t[e.level];r?r.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),r.extensions=t),e.renderer){let t=this.defaults.renderer||new ig(this.defaults);for(let r in e.renderer){if(!(r in t))throw Error(`renderer '${r}' does not exist`);if(["options","parser"].includes(r))continue;let n=e.renderer[r],i=t[r];t[r]=(...e)=>{let r=n.apply(t,e);return!1===r&&(r=i.apply(t,e)),r||""}}r.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new ip(this.defaults);for(let r in e.tokenizer){if(!(r in t))throw Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;let n=e.tokenizer[r],i=t[r];t[r]=(...e)=>{let r=n.apply(t,e);return!1===r&&(r=i.apply(t,e)),r}}r.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new iE;for(let r in e.hooks){if(!(r in t))throw Error(`hook '${r}' does not exist`);if(["options","block"].includes(r))continue;let n=e.hooks[r],i=t[r];
128iE.passThroughHooks.has(r)?t[r]=e=>{if(this.defaults.async&&iE.passThroughHooksRespectAsync.has(r))return(async()=>{let r=await n.call(t,e);return i.call(t,r)})();let a=n.call(t,e);return i.call(t,a)}:t[r]=(...e)=>{if(this.defaults.async)return(async()=>{let r=await n.apply(t,e);return!1===r&&(r=await i.apply(t,e)),r})();let r=n.apply(t,e);return!1===r&&(r=i.apply(t,e)),r}}r.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,n=e.walkTokens;r.walkTokens=function(e){let r=[];return r.push(n.call(this,e)),t&&(r=r.concat(t.call(this,e))),r}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return ih.lex(e,t??this.defaults)}parser(e,t){return iv.parse(e,t??this.defaults)}parseMarkdown(e){return(t,r)=>{let n={...r},i={...this.defaults,...n},a=this.onError(!!i.silent,!!i.async);if(!0===this.defaults.async&&!1===n.async)return a(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return a(Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return a(Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(i.hooks&&(i.hooks.options=i,i.hooks.block=e),i.async)return(async()=>{let r=i.hooks?await i.hooks.preprocess(t):t,n=await (i.hooks?await i.hooks.provideLexer(e):e?ih.lex:ih.lexInline)(r,i),a=i.hooks?await i.hooks.processAllTokens(n):n;i.walkTokens&&await Promise.all(this.walkTokens(a,i.walkTokens));let s=await (i.hooks?await i.hooks.provideParser(e):e?iv.parse:iv.parseInline)(a,i);return i.hooks?await i.hooks.postprocess(s):s})().catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let r=(i.hooks?i.hooks.provideLexer(e):e?ih.lex:ih.lexInline)(t,i);i.hooks&&(r=i.hooks.processAllTokens(r)),i.walkTokens&&this.walkTokens(r,i.walkTokens);let n=(i.hooks?i.hooks.provideParser(e):e?iv.parse:iv.parseInline)(r,i);return i.hooks&&(n=i.hooks.postprocess(n)),n}catch(e){return a(e)}}}onError(e,t){return r=>{if(r.message+=` 129Please report this to https://github.com/markedjs/marked.`,e){let e="<p>An error occurred:</p><pre>"+il(r.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(r);throw r}}};function ib(e,t){return iy.parse(e,t)}ib.options=ib.setOptions=function(e){return iy.setOptions(e),ib.defaults=iy.defaults,nf=ib.defaults,ib},ib.getDefaults=nh,ib.defaults=nf,ib.use=function(...e){return iy.use(...e),ib.defaults=iy.defaults,nf=ib.defaults,ib},ib.walkTokens=function(e,t){return iy.walkTokens(e,t)},ib.parseInline=iy.parseInline,ib.Parser=iv,ib.parser=iv.parse,ib.Renderer=ig,ib.TextRenderer=i_,ib.Lexer=ih,ib.lexer=ih.lex,ib.Tokenizer=ip,ib.Hooks=iE,ib.parse=ib,ib.options,ib.setOptions,ib.use,ib.walkTokens,ib.parseInline,iv.parse,ih.lex;var iT=/\s/,ik=/^\s+$/,ix=new Set(["code","pre","svg","math","annotation"]),iA=0;function iI(e){var t,r,n,i,a;let o={animation:null!=(t=null==e?void 0:e.animation)?t:"fadeIn",duration:null!=(r=null==e?void 0:e.duration)?r:150,easing:null!=(n=null==e?void 0:e.easing)?n:"ease",sep:null!=(i=null==e?void 0:e.sep)?i:"word",stagger:null!=(a=null==e?void 0:e.stagger)?a:40},l={prevContentLength:0,lastRenderCharCount:0},u=iA++,c=()=>e=>{let t={count:0,newIndex:0};(0,s.VG)(e,"text",(e,r)=>((e,t,r,n,i)=>{let a=t.at(-1);if(!(a&&"children"in a))return;if(t.some(e=>"object"==typeof e&&null!==e&&"type"in e&&"element"===e.type&&ix.has(e.tagName)))return s._Z;let o=a.children.indexOf(e);if(-1===o)return;let l=e.value;if(!l.trim()){i.count+=l.length;return}let u="char"===r.sep?(e=>{let t=[],r="";for(let n of e)iT.test(n)?r+=n:(r&&(t.push(r),r=""),t.push(n));return r&&t.push(r),t})(l):(e=>{let t=[],r="",n=!1;for(let i of e){let e=iT.test(i);e!==n&&r&&(t.push(r),r=""),r+=i,n=e}return r&&t.push(r),t})(l),c=n.prevContentLength,d=u.map(e=>{var t,n,a;let s,o=i.count;if(i.count+=e.length,ik.test(e))return{type:"text",value:e};let l=c>0&&o<c,u=l?0:i.newIndex++*r.stagger;return t=r.animation,n=r.duration,a=r.easing,s=`--sd-animation:sd-${t};--sd-duration:${l?0:n}ms;--sd-easing:${a}`,u&&(s+=`;--sd-delay:${u}ms`),{type:"element",tagName:"span",properties:{"data-sd-animate":!0,style:s},children:[{type:"text",value:e}]}});return a.children.splice(o,1,...d),o+d.length})(e,r,o,l,t)),l.lastRenderCharCount=t.count,l.prevContentLength=0};return Object.defineProperty(c,"name",{value:`rehypeAnimate$${u}`}),{name:"animate",type:"animate",rehypePlugin:c,setPrevContentLength(e){l.prevContentLength=e},getLastRenderCharCount(){let e=l.lastRenderCharCount;return l.lastRenderCharCount=0,e}}}iI();var iS=(0,i.createContext)(!1),iN=(...e)=>(0,ns.QP)((0,na.$)(e)),iO=(e,t,r)=>{let n="string"==typeof t&&r.startsWith("text/csv")?"\uFEFF":"",i="string"==typeof t?new Blob([n+t],{type:r}):t,a=URL.createObjectURL(i),s=document.createElement("a");s.href=a,s.download=e,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(a)},iC=(0,i.createContext)(iN),i$=()=>(0,i.useContext)(iC),iw=iN("block","before:content-[counter(line)]","before:inline-block","before:[counter-increment:line]","before:w-6","before:mr-4","before:text-[13px]","before:text-right","before:text-muted-foreground
129/50","before:font-mono","before:select-none"),iD=(0,i.memo)(({children:e,result:t,language:r,className:n,startLine:a,lineNumbers:s=!0,...o})=>{let l=i$(),u=(0,i.useMemo)(()=>l(iw),[l]),c=(0,i.useMemo)(()=>{let e={};return t.bg&&(e["--sdm-bg"]=t.bg),t.fg&&(e["--sdm-fg"]=t.fg),t.rootStyle&&Object.assign(e,(e=>{let t={};for(let r of e.split(";")){let e=r.indexOf(":");if(e>0){let n=r.slice(0,e).trim(),i=r.slice(e+1).trim();n&&i&&(t[n]=i)}}return t})(t.rootStyle)),e},[t.bg,t.fg,t.rootStyle]);return(0,no.jsx)("div",{className:l(n,"overflow-x-auto rounded-md border border-border bg-background p-4 text-sm"),"data-language":r,"data-streamdown":"code-block-body",...o,children:(0,no.jsx)("pre",{className:l(n,"bg-[var(--sdm-bg,inherit]","dark:bg-[var(--shiki-dark-bg,var(--sdm-bg,inherit)]"),style:c,children:(0,no.jsx)("code",{className:s?l("[counter-increment:line_0] [counter-reset:line]"):void 0,style:s&&a&&a>1?{counterReset:`line ${a-1}`}:void 0,children:t.tokens.map((e,t)=>(0,no.jsx)("span",{className:s?u:void 0,children:0===e.length||1===e.length&&""===e[0].content?` 130`:e.map((e,t)=>{let r={},n=!!e.bgColor;if(e.color&&(r["--sdm-c"]=e.color),e.bgColor&&(r["--sdm-tbg"]=e.bgColor),e.htmlStyle)for(let[t,i]of Object.entries(e.htmlStyle))"color"===t?r["--sdm-c"]=i:"background-color"===t?(r["--sdm-tbg"]=i,n=!0):r[t]=i;return(0,no.jsx)("span",{className:l("text-[var(--sdm-c,inherit)]","dark:text-[var(--shiki-dark,var(--sdm-c,inherit))]",n&&"bg-[var(--sdm-tbg)]",n&&"dark:bg-[var(--shiki-dark-bg,var(--sdm-tbg))]"),style:r,...e.htmlAttrs,children:e.content},t)})},t))})})})},(e,t)=>e.result===t.result&&e.language===t.language&&e.className===t.className&&e.startLine===t.startLine&&e.lineNumbers===t.lineNumbers),iR=({className:e,language:t,style:r,isIncomplete:n,...i})=>{let a=i$();return(0,no.jsx)("div",{className:a("my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2",e),"data-incomplete":n||void 0,"data-language":t,"data-streamdown":"code-block",style:{contentVisibility:"auto",containIntrinsicSize:"auto 200px",...r},...i})},iL=(0,i.createContext)({code:""}),iP=()=>(0,i.useContext)(iL),iM=({language:e})=>{let t=i$();return(0,no.jsx)("div",{className:t("flex h-8 items-center text-muted-foreground text-xs"),"data-language":e,"data-streamdown":"code-block-header",children:(0,no.jsx)("span",{className:t("ml-1 font-mono lowercase"),children:e})})},iU=(0,i.lazy)(()=>r.e(3424).then(r.bind(r,303424)).then(e=>({default:e.HighlightedCodeBlockBody}))),iz=({code:e,language:t,className:r,children:n,isIncomplete:a=!1,startLine:s,lineNumbers:o,...l})=>{let u=i$(),c=(0,i.useMemo)(()=>(e=>{let t=e.length;for(;t>0&&e[t-1]===` 131`;)t--;return e.slice(0,t)})(e),[e]),d=(0,i.useMemo)(()=>({bg:"transparent",fg:"inherit",tokens:c.split(` 132`).map(e=>[{content:e,color:"inherit",bgColor:"transparent",htmlStyle:{},offset:0}])}),[c]);return(0,no.jsx)(iL.Provider,{value:{code:e},children:(0,no.jsxs)(iR,{isIncomplete:a,language:t,children:[(0,no.jsx)(iM,{language:t}),n?(0,no.jsx)("div",{className:u("pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end"),children:(0,no.jsx)("div",{className:u("pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur"),"data-streamdown":"code-block-actions",children:n})}):null,(0,no.jsx)(i.Suspense,{fallback:(0,no.jsx)(iD,{className:r,language:t,lineNumbers:o,result:d,startLine:s,...l}),children:(0,no.jsx)(iU,{className:r,code:c,language:t,lineNumbers:o,raw:d,startLine:s,...l})})]})})},ij={CheckIcon:e=>(0,no.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,no.jsx)("path",{clipRule:"evenodd",d:"M15.5607 3.99999L15.0303 4.53032L6.23744 13.3232C5.55403 14.0066 4.44599 14.0066 3.76257 13.3232L4.2929 12.7929L3.76257 13.3232L0.969676 10.5303L0.439346 9.99999L1.50001 8.93933L2.03034 9.46966L4.82323 12.2626C4.92086 12.3602 5.07915 12.3602 5.17678 12.2626L13.9697 3.46966L14.5 2.93933L15.5607 3.99999Z",fill:"currentColor",fillRule:"evenodd"})}),CopyIcon:e=>(0,no.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,no.jsx)("path",{clipRule:"evenodd",d:"M2.75 0.5C1.7835 0.5 1 1.2835 1 2.25V9.75C1 10.7165 1.7835 11.5 2.75 11.5H3.75H4.5V10H3.75H2.75C2.61193 10 2.5 9.88807 2.5 9.75V2.25C2.5 2.11193 2.61193 2 2.75 2H8.25C8.38807 2 8.5 2.11193 8.5 2.25V3H10V2.25C10 1.2835 9.2165 0.5 8.25 0.5H2.75ZM7.75 4.5C6.7835 4.5 6 5.2835 6 6.25V13.75C6 14.7165 6.7835 15.5 7.75 15.5H13.25C14.2165 15.5 15 14.7165 15 13.75V6.25C15 5.2835 14.2165 4.5 13.25 4.5H7.75ZM7.5 6.25C7.5 6.11193 7.61193 6 7.75 6H13.25C13.3881 6 13.5 6.11193 13.5 6.25V13.75C13.5 13.8881 13.3881 14 13.25 14H7.75C7.61193 14 7.5 13.8881 7.5 13.75V6.25Z",fill:"currentColor",fillRule:"evenodd"})}),DownloadIcon:e=>(0,no.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,no.jsx)("path",{clipRule:"evenodd",d:"M8.75 1V1.75V8.68934L10.7197 6.71967L11.25 6.18934L12.3107 7.25L11.7803 7.78033L8.70711 10.8536C8.31658 11.2441 7.
13268342 11.2441 7.29289 10.8536L4.21967 7.78033L3.68934 7.25L4.75 6.18934L5.28033 6.71967L7.25 8.68934V1.75V1H8.75ZM13.5 9.25V13.5H2.5V9.25V8.5H1V9.25V14C1 14.5523 1.44771 15 2 15H14C14.5523 15 15 14.5523 15 14V9.25V8.5H13.5V9.25Z",fill:"currentColor",fillRule:"evenodd"})}),ExternalLinkIcon:e=>(0,no.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,no.jsx)("path",{clipRule:"evenodd",d:"M13.5 10.25V13.25C13.5 13.3881 13.3881 13.5 13.25 13.5H2.75C2.61193 13.5 2.5 13.3881 2.5 13.25L2.5 2.75C2.5 2.61193 2.61193 2.5 2.75 2.5H5.75H6.5V1H5.75H2.75C1.7835 1 1 1.7835 1 2.75V13.25C1 14.2165 1.7835 15 2.75 15H13.25C14.2165 15 15 14.2165 15 13.25V10.25V9.5H13.5V10.25ZM9 1H9.75H14.2495C14.6637 1 14.9995 1.33579 14.9995 1.75V6.25V7H13.4995V6.25V3.56066L8.53033 8.52978L8 9.06011L6.93934 7.99945L7.46967 7.46912L12.4388 2.5H9.75H9V1Z",fill:"currentColor",fillRule:"evenodd"})}),Loader2Icon:e=>(0,no.jsxs)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:[(0,no.jsx)("path",{d:"M8 0V4",stroke:"currentColor",strokeWidth:"1.5"}),(0,no.jsx)("path",{d:"M8 16V12",opacity:"0.5",stroke:"currentColor",strokeWidth:"1.5"}),(0,no.jsx)("path",{d:"M3.29773 1.52783L5.64887 4.7639",opacity:"0.9",stroke:"currentColor",strokeWidth:"1.5"}),(0,no.jsx)("path",{d:"M12.7023 1.52783L10.3511 4.7639",opacity:"0.1",stroke:"currentColor",strokeWidth:"1.5"}),(0,no.jsx)("path",{d:"M12.7023 14.472L10.3511 11.236",opacity:"0.4",stroke:"currentColor",strokeWidth:"1.5"}),(0,no.jsx)("path",{d:"M3.29773 14.472L5.64887 11.236",opacity:"0.6",stroke:"currentColor",strokeWidth:"1.5"}),(0,no.jsx)("path",{d:"M15.6085 5.52783L11.8043 6.7639",opacity:"0.2",stroke:"currentColor",strokeWidth:"1.5"}),(0,no.jsx)("path",{d:"M0.391602 10.472L4.19583 9.23598",opacity:"0.7",stroke:"currentColor",strokeWidth:"1.5"}),(0,no.jsx)("path",{d:"M15.6085 10.4722L11.8043 9.2361",opacity:"0.3",stroke:"currentColor",strokeWidth:"1.5"}),(0,no.jsx)("path",{d:"M0.391602 5.52783L4.19583 6.7639",opacity:"0.8",stroke:"currentColor",strokeWidth:"1.5"})]}),Maximize2Icon:e=>(0,no.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,no.jsx)("path",{clipRule:"evenodd",d:"M1 5.25V6H2.5V5.25V2.5H5.25H6V1H5.25H2C1.44772 1 1 1.44772 1 2V5.25ZM5.25 14.9994H6V13.4994H5.25H2.5V10.7494V9.99939H1V10.7494V13.9994C1 14.5517 1.44772 14.9994 2 14.9994H5.25ZM15 10V10.75V14C15 14.5523 14.5523 15 14 15H10.75H10V13.5H10.75H13.5V10.75V10H15ZM10.75 1H10V2.5H10.75H13.5V5.25V6H15V5.25V2C15 1.44772 14.5523 1 14 1H10.75Z",fill:"currentColor",fillRule:"evenodd"})}),RotateCcwIcon:e=>(0,no.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,no.jsx)("path",{clipRule:"evenodd",d:"M13.5 8C13.5 4.96643 11.0257 2.5 7.96452 2.5C5.42843 2.5 3.29365 4.19393 2.63724 6.5H5.25H6V8H5.25H0.75C0.335787 8 0 7.66421 0 7.25V2.75V2H1.5V2.75V5.23347C2.57851 2.74164 5.06835 1 7.96452 1C11.8461 1 15 4.13001 15 8C15 11.87 11.8461 15 7.96452 15C5.62368 15 3.54872 13.8617 2.27046 12.1122L1.828 11.5066L3.03915 10.6217L3.48161 11.2273C4.48831 12.6051 6.12055 13.5 7.96452 13.5C11.0257 13.5 13.5 11.0336 13.5 8Z",fill:"currentColor",fillRule:"evenodd"})}),XIcon:e=>(0,no.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,no.jsx)("path",{clipRule:"evenodd",d:"M12.4697 13.5303L13 14.0607L14.0607 13L13.5303 12.4697L9.06065 7.99999L13.5303 3.53032L14.0607 2.99999L13 1.93933L12.4697 2.46966L7.99999 6.93933L3.53032 2.46966L2.99999 1.93933L1.93933 2.99999L2.46966 3.53032L6.93933 7.99999L2.46966 12.4697L1.93933 13L2.99999 14.0607L3.53032 13.5303L7.99999 9.06065L12.4697 13.5303Z",fill:"currentColor",fillRule:"evenodd"})}),ZoomInIcon:e=>(0,no.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,no.jsx)("path",{clipRule:"evenodd",d:"M1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5ZM6.5 0C2.91015 0 0 2.91015 0 6.5C0 10.0899 2.91015 13 6.5 13C8.02469 13 9.42677 12.475 10.5353 11.596L13.9697 15.0303L14.5 15.5607L15.5607 14.5L15.0303 13.9697L11.596 10.5353C12.475 9.42677 13 8.02469 13 6.5C13 2.91015 10.0899 0 6.5 0ZM4.125 5.875H4.75H5.875V4.75V4.125H7.125V4.75V5.875H8.25H8.875V7.125H8.25H7.125V8.25V8.875H5.875V8.25V7.125H4.75H4.125V5.875Z",fill:"currentColor",fillRule:"evenodd"})}),ZoomOutIcon:e=>(0,no.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,no.jsx)("path",{clipRule:"evenodd",d:"M1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5ZM6.5 0C2.91015 0 0 2.91015 0 6.5C0 10.0899 2.91015 13 6.5 13C8.02469 13 9.42677 12.475 10.5353 11.596L13.9697 15.0303L14.5 15.5607L15.5607 14.5L15.0303 13.9697L11.596 10.5353C12.475 9.42677 13 8.02469 13 6.5C13 2.91015 10.0899 0 6.5 0ZM4.125 5.875H4.75H8.25H8.875V7.125H8.25H4.75H4.125V5.875Z",fill:"currentColor",fillRule:"evenodd"})})},iF=(0,i.createContext)(ij),iB=({icons:e,children:t})=>{let r=(0,i.useRef)(e),n=(0,i.useRef)(e?{...ij,...e}:ij);((e,t)=>
132{if(e===t)return!0;if(!(e&&t))return e===t;let r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(r=>e[r]===t[r])})(r.current,e)||(r.current=e,n.current=e?{...ij,...e}:ij);let a=n.current;return(0,no.jsx)(iF.Provider,{value:a,children:t})},iZ=()=>(0,i.useContext)(iF),iH={copyCode:"Copy Code",downloadFile:"Download file",downloadDiagram:"Download diagram",downloadDiagramAsSvg:"Download diagram as SVG",downloadDiagramAsPng:"Download diagram as PNG",downloadDiagramAsMmd:"Download diagram as MMD",viewFullscreen:"View fullscreen",exitFullscreen:"Exit fullscreen",mermaidFormatSvg:"SVG",mermaidFormatPng:"PNG",mermaidFormatMmd:"MMD",copyTable:"Copy table",copyTableAsMarkdown:"Copy table as Markdown",copyTableAsCsv:"Copy table as CSV",copyTableAsTsv:"Copy table as TSV",downloadTable:"Download table",downloadTableAsCsv:"Download table as CSV",downloadTableAsMarkdown:"Download table as Markdown",tableFormatMarkdown:"Markdown",tableFormatCsv:"CSV",tableFormatTsv:"TSV",imageNotAvailable:"Image not available",downloadImage:"Download image",openExternalLink:"Open external link?",externalLinkWarning:"You're about to visit an external website.",close:"Close",copyLink:"Copy link",copied:"Copied",openLink:"Open link"},iG=(0,i.createContext)(iH),iY=()=>(0,i.useContext)(iG),iV=({onCopy:e,onError:t,timeout:r=2e3,children:n,className:a,code:s,...o})=>{let l=i$(),[u,c]=(0,i.useState)(!1),d=(0,i.useRef)(0),{code:m}=iP(),{isAnimating:p}=(0,i.useContext)(sQ),h=iY(),f=null!=s?s:m,g=async()=>{var n;if("u"<typeof window||!(null!=(n=null==navigator?void 0:navigator.clipboard)&&n.writeText)){null==t||t(Error("Clipboard API not available"));return}try{u||(await navigator.clipboard.writeText(f),c(!0),null==e||e(),d.current=window.setTimeout(()=>c(!1),r))}catch(e){null==t||t(e)}};(0,i.useEffect)(()=>()=>{window.clearTimeout(d.current)},[]);let _=iZ(),v=u?_.CheckIcon:_.CopyIcon;return(0,no.jsx)("button",{className:l("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),"data-streamdown":"code-block-copy-button",disabled:p,onClick:g,title:h.copyCode,type:"button",...o,children:null!=n?n:(0,no.jsx)(v,{size:14})})},iW={"1c":"1c","1c-query":"1cq",abap:"abap","actionscript-3":"as",ada:"ada",adoc:"adoc","angular-html":"html","angular-ts":"ts",apache:"conf",apex:"cls",apl:"apl",applescript:"applescript",ara:"ara",asciidoc:"adoc",asm:"asm",astro:"astro",awk:"awk",ballerina:"bal",bash:"sh",bat:"bat",batch:"bat",be:"be",beancount:"beancount",berry:"berry",bibtex:"bib",bicep:"bicep",blade:"blade.php",bsl:"bsl",c:"c","c#":"cs","c++":"cpp",cadence:"cdc",cairo:"cairo",cdc:"cdc",clarity:"clar",clj:"clj",clojure:"clj","closure-templates":"soy",cmake:"cmake",cmd:"cmd",cobol:"cob",codeowners:"CODEOWNERS",codeql:"ql",coffee:"coffee",coffeescript:"coffee","common-lisp":"lisp",console:"sh",coq:"v",cpp:"cpp",cql:"cql",crystal:"cr",cs:"cs",csharp:"cs",css:"css",csv:"csv",cue:"cue",cypher:"cql",d:"d",dart:"dart",dax:"dax",desktop:"desktop",diff:"diff",docker:"dockerfile",dockerfile:"dockerfile",dotenv:"env","dream-maker":"dm",edge:"edge",elisp:"el",elixir:"ex",elm:"elm","emacs-lisp":"el",erb:"erb",erl:"erl",erlang:"erl",f:"f","f#":"fs",f03:"f03",f08:"f08",f18:"f18",f77:"f77",f90:"f90",f95:"f95",fennel:"fnl",fish:"fish",fluent:"ftl",for:"for","fortran-fixed-form":"f","fortran-free-form":"f90",fs:"fs",fsharp:"fs",fsl:"fsl",ftl:"ftl",gdresource:"tres",gdscript:"gd",gdshader:"gdshader",genie:"gs",gherkin:"feature","git-commit":"gitcommit","git-rebase":"gitrebase",gjs:"js",gleam:"gleam","glimmer-js":"js","glimmer-ts":"ts",glsl:"glsl",gnuplot:"plt",go:"go",gql:"gql",graphql:"graphql",groovy:"groovy",gts:"gts",hack:"hack",haml:"haml",handlebars:"hbs",haskell:"hs",haxe:"hx",hbs:"hbs",hcl:"hcl",hjson:"hjson",hlsl:"hlsl",hs:"hs",html:"html","html-derivative":"html",http:"http",hxml:"hxml",hy:"hy",imba:"imba",ini:"ini",jade:"jade",java:"java",javascript:"js",jinja:"jinja",jison:"jison",jl:"jl",js:"js",json:"json",json5:"json5",jsonc:"jsonc",jsonl:"jsonl",jsonnet:"jsonnet",jssm:"jssm",jsx:"jsx",julia:"jl",kotlin:"kt",kql:"kql",kt:"kt",kts:"kts",kusto:"kql",latex:"tex",lean:"lean",lean4:"lean",less:"less",liquid:"liquid",lisp:"lisp",lit:"lit",llvm:"ll",log:"log",logo:"logo",lua:"lua",luau:"luau",make:"mak",makefile:"mak",markdown:"md",marko:"marko",matlab:"m",md:"md",mdc:"mdc",mdx:"mdx",mediawiki:"wiki",mermaid:"mmd",mips:"s",mipsasm:"s",mmd:"mmd",mojo:"mojo",move:"move",nar:"nar",narrat:"narrat",nextflow:"nf",nf:"nf",nginx:"conf",nim:"nim",nix:"nix",nu:"nu",nushell:"nu",objc:"m","objective-c":"m","objective-cpp":"mm",ocaml:"ml",pascal:"pas",perl:"pl",perl6:"p6",php:"php",plsql:"pls",po:"po",polar:"polar",postcss:"pcss",pot:"pot",potx:"potx",powerquery:"pq",powershell:"ps1",prisma:"prisma",prolog:"pl",properties:"properties",proto:"proto",protobuf:"proto",ps:"ps",ps1:"ps1",pug:"pug",puppet:"pp",purescript:"purs",py:"py",python:"py",ql:"ql",qml:"qml",qmldir:"qmldir",qss:"qss",r:"r",racket:"rkt",raku:"raku",razor:"cshtml",rb:"rb",reg:"reg",regex:"regex",regexp:"regexp",rel:"rel",riscv:"s",rs:"rs",rst:"rst",ruby:"rb",rust:"rs",sas:"sas",sass:"sass",scala:"scala",scheme:"scm",scss:"scss",sdbl:"sdbl",sh:"sh",shader:"shader",shaderlab:"shader",shell:"sh",shellscript:"sh",shellsession:"sh",smalltalk:"st",solidity:"sol",soy:"soy",sparql:"rq",spl:"spl",splunk:"spl",sql:"sql","ssh-config":"config",stata:"do",styl:"styl",stylus:"styl",svelte:"svelte",swift:"swift","system-verilog":"sv",systemd:"service",talon:"talon",talonscript:"talon",tasl:"tasl",tcl:"tcl",templ:"templ",terraform:"tf",tex:"tex",tf:"tf",tfvars:"tfvars",toml:"toml",ts:"ts","ts-tags":"ts",tsp:"tsp",tsv:"tsv",tsx:"tsx",turtle:"ttl",twig:"twig",typ:"typ",typescript:"ts",typespec:"tsp",typst:"typ",v:"v",vala:"vala",vb:"vb",verilog:"v",vhdl:"vhdl",vim:"vim",viml:"vim",vimscript:"vim",vue:"vue","vue-html":"html","vue-vine":"vine",vy:"vy",vyper:"vy",wasm:"wasm",wenyan:"wy",wgsl:"wgsl",wiki:"wiki",wikitext:"wiki",wit:"wit",wl:"wl",wolfram:"wl",xml:"xml",xsl:"xsl",yaml:"yaml",yml:"yml",zenscript:"zs",zig:"zig",zsh:"zsh",æè¨:"wy"},iq=({onDownload:e,onError:t,language:r,children:n,className:a,code:s,...o})=>{let l=i$(),{code:u}=iP(),{isAnimating:c}=(0,i.useContext)(sQ),d=iY(),m=iZ(),p=null!=s?s:u,h=`file.${r&&r in iW?iW[r]:"txt"}`;return(0,no.jsx)("button",{className:l("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),"data-streamdown":"code-block-download-button",disabled:c,onClick:()=>{try{iO(h,p,"text/plain"),null==e||e()}catch(e){null==t||t(e)}},title:d.downloadFile,type:"button",...o,children:null!=n?n:(0,no.jsx)(m.DownloadIcon,{size:14})})},iK=()=>{let{Loader2Icon:e}=iZ(),t=i$();return(0,no.jsxs)("div",{className:t("w-full divide-y divide-border overflow-hidden rounded-xl border border-border"),children:[(0,no.jsx)("div",{className:t("h-[46px] w-full bg-muted/80")}),(0,no.jsx)("div",{className:t("flex w-full items-center justify-center p-4"),children:(0,no.jsx)(e,{className:t("size-4 animate-spin")})})]})},iJ=/\.[^/.]+$/,iX=0,iQ=()=>{1===(iX+=1)&&(document.body.style.overflow="hidden")},i0=()=>{0===(iX=Math.max(0,iX-1))&&(document.body.style.overflow="")},i1=({url:e,isOpen:t,onClose:r,onConfirm:n})=>{let{CheckIcon:a,CopyIcon:s,ExternalLinkIcon:o,XIcon:l}=iZ(),u=i$(),[c,d]=(0,i.useState)(!1),m=iY(),p=(0,i.useCallback)(async()=>{try{await navigator.clipboard.writeText(e),d(!0),setTimeout(()=>d(!1),2e3)}catch(e){}},[e]),h=(0,i.useCallback)(()=>{n(),r()},[n,r]);return(0,i.useEffect)(()=>
132{if(t){iQ();let e=e=>{"Escape"===e.key&&r()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e),i0()}}},[t,r]),t?(0,no.jsx)("div",{className:u("fixed inset-0 z-50 flex items-center justify-center bg-background/50 backdrop-blur-sm"),"data-streamdown":"link-safety-modal",onClick:r,onKeyDown:e=>{"Escape"===e.key&&r()},role:"button",tabIndex:0,children:(0,no.jsxs)("div",{className:u("relative mx-4 flex w-full max-w-md flex-col gap-4 rounded-xl border bg-background p-6 shadow-lg"),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",children:[(0,no.jsx)("button",{className:u("absolute top-4 right-4 rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:r,title:m.close,type:"button",children:(0,no.jsx)(l,{size:16})}),(0,no.jsxs)("div",{className:u("flex flex-col gap-2"),children:[(0,no.jsxs)("div",{className:u("flex items-center gap-2 font-semibold text-lg"),children:[(0,no.jsx)(o,{size:20}),(0,no.jsx)("span",{children:m.openExternalLink})]}),(0,no.jsx)("p",{className:u("text-muted-foreground text-sm"),children:m.externalLinkWarning})]}),(0,no.jsx)("div",{className:u("break-all rounded-md bg-muted p-3 font-mono text-sm",e.length>100&&"max-h-32 overflow-y-auto"),children:e}),(0,no.jsxs)("div",{className:u("flex gap-2"),children:[(0,no.jsx)("button",{className:u("flex flex-1 items-center justify-center gap-2 rounded-md border bg-background px-4 py-2 font-medium text-sm transition-all hover:bg-muted"),onClick:p,type:"button",children:c?(0,no.jsxs)(no.Fragment,{children:[(0,no.jsx)(a,{size:14}),(0,no.jsx)("span",{children:m.copied})]}):(0,no.jsxs)(no.Fragment,{children:[(0,no.jsx)(s,{size:14}),(0,no.jsx)("span",{children:m.copyLink})]})}),(0,no.jsxs)("button",{className:u("flex flex-1 items-center justify-center gap-2 rounded-md bg-primary px-4 py-2 font-medium text-primary-foreground text-sm transition-all hover:bg-primary/90"),onClick:h,type:"button",children:[(0,no.jsx)(o,{size:14}),(0,no.jsx)("span",{children:m.openLink})]})]})]})}):null},i4=(0,i.createContext)(null),i6=()=>(0,i.useContext)(i4),i2=()=>{var e;let t=i6();return null!=(e=null==t?void 0:t.code)?e:null},i9=()=>{var e;let t=i6();return null!=(e=null==t?void 0:t.mermaid)?e:null},i5=({chart:e,children:t,className:r,onDownload:n,config:a,onError:s})=>{let o=i$(),[l,u]=(0,i.useState)(!1),c=(0,i.useRef)(null),{isAnimating:d}=(0,i.useContext)(sQ),m=iZ(),p=i9(),h=iY(),f=async t=>{try{if("mmd"===t){iO("diagram.mmd",e,"text/plain"),u(!1),null==n||n(t);return}if(!p){null==s||s(Error("Mermaid plugin not available"));return}let i=p.getMermaid(a),o=e.split("").reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0),l=`mermaid-${Math.abs(o)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:c}=await i.render(l,e);if(!c){null==s||s(Error("SVG not found. Please wait for the diagram to render."));return}if("svg"===t){iO("diagram.svg",c,"image/svg+xml"),u(!1),null==n||n(t);return}if("png"===t){var r;let e=await (r=c,new Promise((e,t)=>{let n="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(r))),i=new Image;i.crossOrigin="anonymous",i.onload=()=>{let r=document.createElement("canvas"),n=5*i.width,a=5*i.height;r.width=n,r.height=a;let s=r.getContext("2d");s?(s.drawImage(i,0,0,n,a),r.toBlob(r=>{r?e(r):t(Error("Failed to create PNG blob"))},"image/png")):t(Error("Failed to create 2D canvas context for PNG export"))},i.onerror=()=>t(Error("Failed to load SVG image")),i.src=n}));iO("diagram.png",e,"image/png"),null==n||n(t),u(!1);return}}catch(e){null==s||s(e)}};return(0,i.useEffect)(()=>{let e=e=>{let t=e.composedPath();c.current&&!t.includes(c.current)&&u(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,no.jsxs)("div",{className:o("relative"),ref:c,children:[(0,no.jsx)("button",{className:o("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",r),disabled:d,onClick:()=>u(!l),title:h.downloadDiagram,type:"button",children:null!=t?t:(0,no.jsx)(m.DownloadIcon,{size:14})}),l?(0,no.jsxs)("div",{className:o("absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[(0,no.jsx)("button",{className:o("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>f("svg"),title:h.downloadDiagramAsSvg,type:"button",children:h.mermaidFormatSvg}),(0,no.jsx)("button",{className:o("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>f("png"),title:h.downloadDiagramAsPng,type:"button",children:h.mermaidFormatPng}),(0,no.jsx)("button",{className:o("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>f("mmd"),title:h.downloadDiagramAsMmd,type:"button",children:h.mermaidFormatMmd})]}):null]})},i3=({chart:e,config:t,onFullscreen:r,onExit:n,className:a,...s})=>{let{Maximize2Icon:o,XIcon:l}=iZ(),u=i$(),[c,d]=(0,i.useState)(!1),{isAnimating:m,controls:p}=(0,i.useContext)(sQ),h=iY(),f=(()=>
132{if("boolean"==typeof p)return p;let e=p.mermaid;return!1!==e&&(!0===e||void 0===e||!1!==e.panZoom)})(),g=()=>{d(!c)};return(0,i.useEffect)(()=>{if(c){iQ();let e=e=>{"Escape"===e.key&&d(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e),i0()}}},[c]),(0,i.useEffect)(()=>{c?null==r||r():n&&n()},[c,r,n]),(0,no.jsxs)(no.Fragment,{children:[(0,no.jsx)("button",{className:u("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),disabled:m,onClick:g,title:h.viewFullscreen,type:"button",...s,children:(0,no.jsx)(o,{size:14})}),c?(0,nl.createPortal)((0,no.jsxs)("div",{className:u("fixed inset-0 z-50 flex items-center justify-center bg-background/95 backdrop-blur-sm"),onClick:g,onKeyDown:e=>{"Escape"===e.key&&g()},role:"button",tabIndex:0,children:[(0,no.jsx)("button",{className:u("absolute top-4 right-4 z-10 rounded-md p-2 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:g,title:h.exitFullscreen,type:"button",children:(0,no.jsx)(l,{size:20})}),(0,no.jsx)("div",{className:u("flex size-full items-center justify-center p-4"),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",children:(0,no.jsx)(s6,{chart:e,className:u("size-full [&_svg]:h-auto [&_svg]:w-auto"),config:t,fullscreen:!0,showControls:f})})]}),document.body):null]})},i7=e=>{var t,r;let n=[],i=[];for(let r of e.querySelectorAll("thead th"))n.push((null==(t=r.textContent)?void 0:t.trim())||"");for(let t of e.querySelectorAll("tbody tr")){let e=[];
132for(let n of t.querySelectorAll("td"))e.push((null==(r=n.textContent)?void 0:r.trim())||"");i.push(e)}return{headers:n,rows:i}},i8=e=>{let{headers:t,rows:r}=e,n=e=>{let t=!1,r=!1;for(let n of e){if('"'===n){t=!0,r=!0;break}(","===n||n===` 133`)&&(t=!0)}return t?r?`"${e.replace(/"/g,'""')}"`:`"${e}"`:e},i=Array(t.length>0?r.length+1:r.length),a=0;for(let e of(t.length>0&&(i[a]=t.map(n).join(","),a+=1),r))i[a]=e.map(n).join(","),a+=1;return i.join(` 134`)},ae=e=>{let{headers:t,rows:r}=e,n=e=>{let t=!1;for(let r of e)if(" "===r||r===` 135`||"\r"===r){t=!0;break}if(!t)return e;let r=[];for(let t of e)" "===t?r.push("\\t"):t===` 136`?r.push("\\n"):"\r"===t?r.push("\\r"):r.push(t);return r.join("")},i=Array(t.length>0?r.length+1:r.length),a=0;for(let e of(t.length>0&&(i[a]=t.map(n).join(" "),a+=1),r))i[a]=e.map(n).join(" "),a+=1;return i.join(` 137`)},at=e=>{let t=!1;for(let r of e)if("\\"===r||"|"===r){t=!0;break}if(!t)return e;let r=[];for(let t of e)"\\"===t?r.push("\\\\"):"|"===t?r.push("\\|"):r.push(t);return r.join("")},ar=e=>{let{headers:t,rows:r}=e;if(0===t.length)return"";let n=Array(r.length+2),i=0,a=t.map(e=>at(e));n[i]=`| ${a.join(" | ")} |`,i+=1;let s=Array(t.length);for(let e=0;e<t.length;e+=1)s[e]="---";for(let e of(n[i]=`| ${s.join(" | ")} |`,i+=1,r))if(e.length<t.length){let r=Array(t.length);for(let n=0;n<t.length;n+=1)r[n]=n<e.length?at(e[n]):"";n[i]=`| ${r.join(" | ")} |`,i+=1}else{let t=e.map(e=>at(e));n[i]=`| ${t.join(" | ")} |`,i+=1}return n.join(` 138`)},an=({children:e,className:t,onCopy:r,onError:n,timeout:a=2e3})=>{let s=i$(),[o,l]=(0,i.useState)(!1),[u,c]=(0,i.useState)(!1),d=(0,i.useRef)(null),m=(0,i.useRef)(0),{isAnimating:p}=(0,i.useContext)(sQ),h=iY(),f=async e=>{var t,i;if("u"<typeof window||!(null!=(t=null==navigator?void 0:navigator.clipboard)&&t.write)){null==n||n(Error("Clipboard API not available"));return}try{let t=null==(i=d.current)?void 0:i.closest('[data-streamdown="table-wrapper"]'),s=null==t?void 0:t.querySelector("table");if(!s){null==n||n(Error("Table not found"));return}let o=i7(s),u=(({csv:i8,tsv:ae,md:ar})[e]||ar)(o),p=new ClipboardItem({"text/plain":new Blob([u],{type:"text/plain"}),"text/html":new Blob([s.outerHTML],{type:"text/html"})});await navigator.clipboard.write([p]),c(!0),l(!1),null==r||r(e),m.current=window.setTimeout(()=>c(!1),a)}catch(e){null==n||n(e)}};(0,i.useEffect)(()=>{let e=e=>{let t=e.composedPath();d.current&&!t.includes(d.current)&&l(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e),window.clearTimeout(m.current)}},[]);let g=iZ(),_=u?g.CheckIcon:g.CopyIcon;return(0,no.jsxs)("div",{className:s("relative"),ref:d,children:[(0,no.jsx)("button",{className:s("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:p,onClick:()=>l(!o),title:h.copyTable,type:"button",children:null!=e?e:(0,no.jsx)(_,{height:14,width:14})}),o?(0,no.jsxs)("div",{className:s("absolute top-full right-0 z-20 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[(0,no.jsx)("button",{className:s("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>f("md"),title:h.copyTableAsMarkdown,type:"button",children:h.tableFormatMarkdown}),(0,no.jsx)("button",{className:s("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>f("csv"),title:h.copyTableAsCsv,type:"button",children:h.tableFormatCsv}),(0,no.jsx)("button",{className:s("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>f("tsv"),title:h.copyTableAsTsv,type:"button",children:h.tableFormatTsv})]}):null]})},ai=({children:e,className:t,onDownload:r,onError:n})=>{let a=i$(),[s,o]=(0,i.useState)(!1),l=(0,i.useRef)(null),{isAnimating:u}=(0,i.useContext)(sQ),c=iY(),d=iZ(),m=e=>{var t;try{let i=null==(t=l.current)?void 0:t.closest('[data-streamdown="table-wrapper"]'),a=null==i?void 0:i.querySelector("table");if(!a){null==n||n(Error("Table not found"));return}let s=i7(a),u="csv"===e?i8(s):ar(s);iO(`table.${"csv"===e?"csv":"md"}`,u,"csv"===e?"text/csv":"text/markdown"),o(!1),null==r||r(e)}catch(e){null==n||n(e)}};return(0,i.useEffect)(()=>{let e=e=>{let t=e.composedPath();l.current&&!t.includes(l.current)&&o(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,no.jsxs)("div",{className:a("relative"),ref:l,children:[(0,no.jsx)("button",{className:a("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:u,onClick:()=>o(!s),title:c.downloadTable,type:"button",children:null!=e?e:(0,no.jsx)(d.DownloadIcon,{size:14})}),s?(0,no.jsxs)("div",{className:a("absolute top-full right-0 z-20 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[(0,no.jsx)("button",{className:a("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>m("csv"),title:c.downloadTableAsCsv,type:"button",children:c.tableFormatCsv}),(0,no.jsx)("button",{className:a("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>
138m("markdown"),title:c.downloadTableAsMarkdown,type:"button",children:c.tableFormatMarkdown})]}):null]})},aa=({children:e,className:t,showCopy:r=!0,showDownload:n=!0})=>{let{Maximize2Icon:a,XIcon:s}=iZ(),o=i$(),[l,u]=(0,i.useState)(!1),{isAnimating:c}=(0,i.useContext)(sQ),d=iY(),m=()=>{u(!1)};return(0,i.useEffect)(()=>{if(l){iQ();let e=e=>{"Escape"===e.key&&u(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e),i0()}}},[l]),(0,no.jsxs)(no.Fragment,{children:[(0,no.jsx)("button",{className:o("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:c,onClick:()=>{u(!0)},title:d.viewFullscreen,type:"button",children:(0,no.jsx)(a,{size:14})}),l?(0,nl.createPortal)((0,no.jsx)("div",{"aria-label":d.viewFullscreen,"aria-modal":"true",className:o("fixed inset-0 z-50 flex flex-col bg-background"),"data-streamdown":"table-fullscreen",onClick:m,onKeyDown:e=>{"Escape"===e.key&&m()},role:"dialog",children:(0,no.jsxs)("div",{className:o("flex h-full flex-col"),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",children:[(0,no.jsxs)("div",{className:o("flex items-center justify-end gap-1 p-4"),children:[r?(0,no.jsx)(an,{}):null,n?(0,no.jsx)(ai,{}):null,(0,no.jsx)("button",{className:o("rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:m,title:d.exitFullscreen,type:"button",children:(0,no.jsx)(s,{size:20})})]}),(0,no.jsx)("div",{className:o("flex-1 overflow-auto p-4 pt-0 [&_thead]:sticky [&_thead]:top-0 [&_thead]:z-10"),children:(0,no.jsx)("table",{className:o("w-full border-collapse border border-border"),"data-streamdown":"table",children:e})})]})}),document.body):null]})},as=({children:e,className:t,showControls:r,showCopy:n=!0,showDownload:i=!0,showFullscreen:a=!0,...s})=>{let o=i$(),l=r&&n,u=r&&i,c=r&&a,d=l||u||c;return(0,no.jsxs)("div",{className:o("my-4 flex flex-col gap-2 rounded-lg border border-border bg-sidebar p-2"),"data-streamdown":"table-wrapper",children:[d?(0,no.jsxs)("div",{className:o("flex items-center justify-end gap-1"),children:[l?(0,no.jsx)(an,{}):null,u?(0,no.jsx)(ai,{}):null,c?(0,no.jsx)(aa,{showCopy:l,showDownload:u,children:e}):null]}):null,(0,no.jsx)("div",{className:o("border-collapse overflow-x-auto overflow-y-auto rounded-md border border-border bg-background"),children:(0,no.jsx)("table",{className:o("w-full divide-y divide-border",t),"data-streamdown":"table",...s,children:e})})]})},ao=/startLine=(\d+)/,al=/\bnoLineNumbers\b/,au=(0,i.lazy)(()=>r.e(63929).then(r.bind(r,963929)).then(e=>({default:e.Mermaid}))),ac=/language-([^\s]+)/;function ad(e,t){if(!(null!=e&&e.position||null!=t&&t.position))return!0;if(!(null!=e&&e.position&&null!=t&&t.position))return!1;let r=e.position.start,n=t.position.start,i=e.position.end,a=t.position.end;return(null==r?void 0:r.line)===(null==n?void 0:n.line)&&(null==r?void 0:r.column)===(null==n?void 0:n.column)&&(null==i?void 0:i.line)===(null==a?void 0:a.line)&&(null==i?void 0:i.column)===(null==a?void 0:a.column)}function am(e,t){return e.className===t.className&&ad(e.node,t.node)}var ap=(e,t)=>"boolean"==typeof e?e:!1!==e[t],ah=(e,t)=>{if("boolean"==typeof e)return e;let r=e.table;return!1!==r&&(!0===r||void 0===r||!1!==r[t])},af=(e,t)=>{if("boolean"==typeof e)return e;let r=e.code;return!1!==r&&(!0===r||void 0===r||!1!==r[t])},ag=(e,t)=>{if("boolean"==typeof e)return e;let r=e.mermaid;return!1!==r&&(!0===r||void 0===r||!1!==r[t])},a_=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("ol",{className:i("list-inside list-decimal whitespace-normal [li_&]:pl-6",t),"data-streamdown":"ordered-list",...n,children:e})},(e,t)=>am(e,t));a_.displayName="MarkdownOl";var av=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("li",{className:i("py-1 [&>p]:inline",t),"data-streamdown":"list-item",...n,children:e})},(e,t)=>e.className===t.className&&ad(e.node,t.node));av.displayName="MarkdownLi";var aE=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("ul",{className:i("list-inside list-disc whitespace-normal [li_&]:pl-6",t),"data-streamdown":"unordered-list",...n,children:e})},(e,t)=>am(e,t));aE.displayName="MarkdownUl";var ay=(0,i.memo)(({className:e,node:t,...r})=>{let n=i$();return(0,no.jsx)("hr",{className:n("my-6 border-border",e),"data-streamdown":"horizontal-rule",...r})},(e,t)=>am(e,t));ay.displayName="MarkdownHr";var ab=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("span",{className:i("font-semibold",t),"data-streamdown":"strong",...n,children:e})},(e,t)=>am(e,t));ab.displayName="MarkdownStrong";var aT=(0,i.memo)(({children:e,className:t,href:r,node:n,...a})=>{let s=i$(),{linkSafety:o}=(0,i.useContext)(sQ),[l,u]=(0,i.useState)(!1),c="streamdown:incomplete-link"===r,d=(0,i.useCallback)(async e=>{if(!(!(null!=o&&o.enabled&&r)||c)){if(e.preventDefault(),o.onLinkCheck&&await o.onLinkCheck(r))return void window.open(r,"_blank","noreferrer");u(!0)}},[o,r,c]),m=(0,i.useCallback)(()=>{r&&window.open(r,"_blank","noreferrer")},[r]),p={url:null!=r?r:"",isOpen:l,onClose:(0,i.useCallback)(()=>{u(!1)},[]),onConfirm:m};return null!=o&&o.enabled&&r?(0,no.jsxs)(no.Fragment,{children:[(0,no.jsx)("button",{className:s("wrap-anywhere appearance-none text-left font-medium text-primary underline",t),"data-incomplete":c,"data-streamdown":"link",onClick:d,type:"button",children:e}),o.renderModal?o.renderModal(p):(0,no.jsx)(i1,{...p})]}):(0,no.jsx)("a",{className:s("wrap-anywhere font-medium text-primary underline",t),"data-incomplete":c,"data-streamdown":"link",href:r,rel:"noreferrer",target:"_blank",...a,children:e})},(e,t)=>am(e,t)&&e.href===t.href);aT.displayName="MarkdownA";var ak=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("h1",{className:i("mt-6 mb-2 font-semibold text-3xl",t),"data-streamdown":"heading-1",...n,children:e})},(e,t)=>am(e,t));ak.displayName="MarkdownH1";var ax=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("h2",{className:i("mt-6 mb-2 font-semibold text-2xl",t),"data-streamdown":"heading-2",...n,children:e})},(e,t)=>am(e,t));ax.displayName="MarkdownH2";var aA=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("h3",{className:i("mt-6 mb-2 font-semibold text-xl",t),"data-streamdown":"heading-3",...n,children:e})},(e,t)=>am(e,t));aA.displayName="MarkdownH3";var aI=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("h4",{className:i("mt-6 mb-2 font-semibold text-lg",t),"data-streamdown":"heading-4",...n,children:e})},(e,t)=>am(e,t));aI.displayName="MarkdownH4";var aS=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("h5",{className:i("mt-6 mb-2 font-semibold text-base",t),"data-streamdown":"heading-5",...n,children:e})},(e,t)=>am(e,t));aS.displayName="MarkdownH5";var aN=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("h6",{className:i("mt-6 mb-2 font-semibold text-sm",t),"data-streamdown":"heading-6",...n,children:e})},(e,t)=>am(e,t));aN.displayName="MarkdownH6";var aO=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let{controls:a}=(0,i.useContext)(sQ),s=ap(a,"table"),o=ah(a,"copy"),l=ah(a,"download"),u=ah(a,"fullscreen");return(0,no.jsx)(as,{className:t,showControls:s,showCopy:o,showDownload:l,showFullscreen:u,...n,children:e})},(e,t)=>am(e,t));aO.displayName="MarkdownTable";var aC=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("thead",{className:i("bg-muted/80",t),"data-streamdown":"table-header",...n,children:e})},(e,t)=>am(e,t));aC.displayName="MarkdownThead";var a$=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("tbody",{className:i("divide-y divide-border",t),"data-streamdown":"table-body",...n,children:e})},(e,t)=>am(e,t));a$.displayName="MarkdownTbody";var aw=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("tr",{className:i("border-border",t),"data-streamdown":"table-row",...n,children:e})},(e,t)=>am(e,t));aw.displayName="MarkdownTr";var aD=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("th",{className:i("whitespace-nowrap px-4 py-2 text-left font-semibold text-sm",t),"data-streamdown":"table-header-cell",...n,children:e})},(e,t)=>am(e,t));aD.displayName="MarkdownTh";var aR=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("td",{className:i("px-4 py-2 text-sm",t),"data-streamdown":"table-cell",...n,children:e})},(e,t)=>am(e,t));aR.displayName="MarkdownTd";var aL=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("blockquote",{className:i("my-4 border-muted-foreground
138/30 border-l-4 pl-4 text-muted-foreground italic",t),"data-streamdown":"blockquote",...n,children:e})},(e,t)=>am(e,t));aL.displayName="MarkdownBlockquote";var aP=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("sup",{className:i("text-sm",t),"data-streamdown":"superscript",...n,children:e})},(e,t)=>am(e,t));aP.displayName="MarkdownSup";var aM=(0,i.memo)(({children:e,className:t,node:r,...n})=>{let i=i$();return(0,no.jsx)("sub",{className:i("text-sm",t),"data-streamdown":"subscript",...n,children:e})},(e,t)=>am(e,t));aM.displayName="MarkdownSub";var aU=(0,i.memo)(({children:e,className:t,node:r,...n})=>{if("data-footnotes"in n){let r=Array.isArray(e)?e.map(e=>{if(!(0,i.isValidElement)(e))return e;if(e.type===a_){let t=(Array.isArray(e.props.children)?e.props.children:[e.props.children]).filter(e=>!(e=>{var t,r;if(!(0,i.isValidElement)(e))return!1;let n=Array.isArray(e.props.children)?e.props.children:[e.props.children],a=!1,s=!1;for(let e of n)if(e){if("string"==typeof e)""!==e.trim()&&(a=!0);else if((0,i.isValidElement)(e)){if((null==(t=e.props)?void 0:t["data-footnote-backref"])!==void 0)s=!0;else for(let t of Array.isArray(e.props.children)?e.props.children:[e.props.children])if("string"==typeof t&&""!==t.trim()||(0,i.isValidElement)(t)&&(null==(r=t.props)?void 0:r["data-footnote-backref"])===void 0){a=!0;break}}}return s&&!a})(e));return 0===t.length?null:{...e,props:{...e.props,children:t}}}return e}):e;return(Array.isArray(r)?r.some(e=>null!==e):null!==r)?(0,no.jsx)("section",{className:t,...n,children:r}):null}return(0,no.jsx)("section",{className:t,...n,children:e})},(e,t)=>am(e,t));aU.displayName="MarkdownSection";var az=(0,i.memo)(({node:e,className:t,children:r,...n})=>{var a,s,o;let l,u=i$(),c=!("data-block"in n),{mermaid:d,controls:m,lineNumbers:p}=(0,i.useContext)(sQ),h=i9(),f=(0,i.useContext)(iS),g=null==t?void 0:t.match(ac),_=null!=(a=null==g?void 0:g.at(1))?a:"",v=null!=(l=i6())&&l.renderers&&_&&null!=(o=l.renderers.find(e=>Array.isArray(e.language)?e.language.includes(_):e.language===_))?o:null;if(c)return(0,no.jsx)("code",{className:u("rounded bg-muted px-1.5 py-0.5 font-mono text-sm",t),"data-streamdown":"inline-code",...n,children:r});let E=null==(s=null==e?void 0:e.properties)?void 0:s.metastring,y=null==E?void 0:E.match(ao),b=y?Number.parseInt(y[1],10):void 0,T=!(E&&al.test(E))&&!1!==p,k="";if((0,i.isValidElement)(r)&&r.props&&"object"==typeof r.props&&"children"in r.props&&"string"==typeof r.props.children?k=r.props.children:"string"==typeof r&&(k=r),v){let e=v.component;return(0,no.jsx)(i.Suspense,{fallback:(0,no.jsx)(iK,{}),children:(0,no.jsx)(e,{code:k,isIncomplete:f,language:_,meta:E})})}if("mermaid"===_&&h){let e=ap(m,"mermaid"),r=ag(m,"download"),n=ag(m,"copy"),a=ag(m,"fullscreen"),s=ag(m,"panZoom");return(0,no.jsx)(i.Suspense,{fallback:(0,no.jsx)(iK,{}),children:(0,no.jsxs)("div",{className:u("group relative my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2",t),"data-streamdown":"mermaid-block",children:[(0,no.jsx)("div",{className:u("flex h-8 items-center text-muted-foreground text-xs"),children:(0,no.jsx)("span",{className:u("ml-1 font-mono lowercase"),children:"mermaid"})}),e&&(r||n||a)?(0,no.jsx)("div",{className:u("pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end"),children:(0,no.jsxs)("div",{className:u("pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur"),"data-streamdown":"mermaid-block-actions",children:[r?(0,no.jsx)(i5,{chart:k,config:null==d?void 0:d.config}):null,n?(0,no.jsx)(iV,{code:k}):null,a?(0,no.jsx)(i3,{chart:k,config:null==d?void 0:d.config}):null]})}):null,(0,no.jsx)("div",{className:u("rounded-md border border-border bg-background"),children:(0,no.jsx)(au,{chart:k,config:null==d?void 0:d.config,showControls:s})})]})})}let x=ap(m,"code"),A=af(m,"download"),I=af(m,"copy");return(0,no.jsx)(iz,{className:t,code:k,isIncomplete:f,language:_,lineNumbers:T,startLine:void 0!==b&&b>=1?b:void 0,children:x?(0,no.jsxs)(no.Fragment,{children:[A?(0,no.jsx)(iq,{code:k,language:_}):null,I?(0,no.jsx)(iV,{}):null]}):null})},(e,t)=>e.className===t.className&&ad(e.node,t.node));az.displayName="MarkdownCode";var aj=(0,i.memo)(({node:e,className:t,src:r,alt:n,onLoad:a,onError:s,...o})=>{let{DownloadIcon:l}=iZ(),u=i$(),c=(0,i.useRef)(null),[d,m]=(0,i.useState)(!1),[p,h]=(0,i.useState)(!1),f=iY(),g=null!=o.width||null!=o.height,_=(d||g)&&!p,v=p&&!g;(0,i.useEffect)(()=>
138{let e=c.current;if(null!=e&&e.complete){let t=e.naturalWidth>0;m(t),h(!t)}},[]);let E=(0,i.useCallback)(e=>{m(!0),h(!1),null==a||a(e)},[a]),y=(0,i.useCallback)(e=>{m(!1),h(!0),null==s||s(e)},[s]),b=async()=>{if(r)try{let e=await (await fetch(r)).blob(),t=new URL(r,window.location.origin).pathname.split("/").pop()||"",i=t.split(".").pop(),a=t.includes(".")&&void 0!==i&&i.length<=4,s="";if(a)s=t;else{let r=e.type,i="png";r.includes("jpeg")||r.includes("jpg")?i="jpg":r.includes("png")?i="png":r.includes("svg")?i="svg":r.includes("gif")?i="gif":r.includes("webp")&&(i="webp"),s=`${(n||t||"image").replace(iJ,"")}.${i}`}iO(s,e,e.type)}catch(e){window.open(r,"_blank")}};return r?(0,no.jsxs)("div",{className:u("group relative my-4 inline-block"),"data-streamdown":"image-wrapper",children:[(0,no.jsx)("img",{alt:n,className:u("max-w-full rounded-lg",v&&"hidden",t),"data-streamdown":"image",onError:y,onLoad:E,ref:c,src:r,...o}),v&&(0,no.jsx)("span",{className:u("text-muted-foreground text-xs italic"),"data-streamdown":"image-fallback",children:f.imageNotAvailable}),(0,no.jsx)("div",{className:u("pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block")}),_&&(0,no.jsx)("button",{className:u("absolute right-2 bottom-2 flex h-8 w-8 cursor-pointer items-center justify-center rounded-md border border-border bg-background/90 shadow-sm backdrop-blur-sm transition-all duration-200 hover:bg-background","opacity-0 group-hover:opacity-100"),onClick:b,title:f.downloadImage,type:"button",children:(0,no.jsx)(l,{size:14})})]}):null},(e,t)=>e.className===t.className&&ad(e.node,t.node));aj.displayName="MarkdownImg";var aF=(0,i.memo)(({children:e,node:t,...r})=>{let n=(Array.isArray(e)?e:[e]).filter(e=>null!=e&&""!==e);if(1===n.length&&(0,i.isValidElement)(n[0])){let t=n[0].props.node,r=null==t?void 0:t.tagName;if("img"===r||"code"===r&&"data-block"in n[0].props)return(0,no.jsx)(no.Fragment,{children:e})}return(0,no.jsx)("p",{...r,children:e})},(e,t)=>am(e,t));aF.displayName="MarkdownParagraph";var aB={ol:a_,li:av,ul:aE,hr:ay,strong:ab,a:aT,h1:ak,h2:ax,h3:aA,h4:aI,h5:aS,h6:aN,table:aO,thead:aC,tbody:a$,tr:aw,th:aD,td:aR,blockquote:aL,code:az,img:aj,pre:({children:e})=>(0,i.isValidElement)(e)?(0,i.cloneElement)(e,{"data-block":"true"}):e,sup:aP,sub:aM,p:aF,section:aU},aZ=/[\u0590-\u08FF\uFB1D-\uFDFF\uFE70-\uFEFF]/,aH=/\p{L}/u;function aG(e){for(let t of e.replace(/^#{1,6}\s+/gm,"").replace(/(\*{1,3}|_{1,3})/g,"").replace(/`[^`]*`/g,"").replace(/\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/^[\s>*\-+\d.]+/gm,"")){if(aZ.test(t))return"rtl";if(aH.test(t))break}return"ltr"}var aY,aV,aW,aq,aK,aJ,aX,aQ,a0,a1,a4,a6,a2,a9,a5,a3,a7,a8,se,st,sr,sn,si,sa,ss,so,sl,su,sc,sd,sm,sp,sh,sf,sg=/^[ \t]{0,3}(`{3,}|~{3,})/,s_=/^\|?[ \t]*:?-{1,}:?[ \t]*(\|[ \t]*:?-{1,}:?[ \t]*)*\|?$/,sv=e=>{let t=e.split(` 139`),r=null,n=0;for(let e of t){let t=sg.exec(e);if(null===r){if(t){let e=t[1];r=e[0],n=e.length}}else if(t){let e=t[1],i=e[0],a=e.length;i===r&&a>=n&&(r=null,n=0)}}return null!==r},sE=()=>e=>{(0,a.YR)(e,"html",(e,t,r)=>{r&&"number"==typeof t&&(r.children[t]={type:"text",value:e.value})})},sy=[],sb={allowDangerousHtml:!0},sT=new WeakMap,sk=new class{constructor(){this.cache=new Map,this.keyCache=new WeakMap,this.maxSize=100}generateCacheKey(e){let t=this.keyCache.get(e);if(t)return t;let r=e.rehypePlugins,n=e.remarkPlugins,i=e.remarkRehypeOptions;if(!(r||n||i)){let t="default";return this.keyCache.set(e,t),t}let a=e=>{if(!e||0===e.length)return"";let t="";for(let r=0;r<e.length;r+=1){let n=e[r];if(r>0&&(t+=","),Array.isArray(n)){let[e,r]=n;if("function"==typeof e){let r=sT.get(e);r||(r=e.name,sT.set(e,r)),t+=r}else t+=String(e);t+=":",t+=JSON.stringify(r)}else if("function"==typeof n){let e=sT.get(n);e||(e=n.name,sT.set(n,e)),t+=e}else t+=String(n)}return t},s=a(r),o=a(n),l=i?JSON.stringify(i):"",u=`${o}::${s}::${l}`;return this.keyCache.set(e,u),u}get(e){let t=this.generateCacheKey(e),r=this.cache.get(t);return r&&(this.cache.delete(t),this.cache.set(t,r)),r}set(e,t){let r=this.generateCacheKey(e);if(this.cache.size>=this.maxSize){let e=this.cache.keys().next().value;e&&this.cache.delete(e)}this.cache.set(r,t)}clear(){this.cache.clear()}},sx=e=>{let t=sA(e),r=e.children||"";return sN(t.runSync(t.parse(r),r),e)},sA=e=>{let t=sk.get(e);if(t)return t;let r=sI(e);return sk.set(e,r),r},sI=e=>{let t=e.rehypePlugins||sy,r=e.remarkPlugins||sy,n=t.some(e=>Array.isArray(e)?e[0]===rl:e===rl)?r:[...r,sE],i=e.remarkRehypeOptions?{...sb,...e.remarkRehypeOptions}:sb;return(0,np.l)().use(nd.A).use(n).use(nm.A,i).use(t)},sS=e=>e,sN=(e,t)=>{let{allowElement:r,allowedElements:n,disallowedElements:i,skipHtml:s,unwrapDisallowed:o,urlTransform:l}=t;if(r||n||i||s||l){let t=l||sS;(0,a.YR)(e,(e,a,l)=>{var u;
139let c;return"raw"===e.type&&l&&"number"==typeof a?(u=e.value,s?l.children.splice(a,1):l.children[a]={type:"text",value:u},a):"element"===e.type&&(((e,t)=>{var r;for(let n in nc.$)if(Object.hasOwn(nc.$,n)&&Object.hasOwn(e.properties,n)){let i=e.properties[n],a=nc.$[n];(null===a||a.includes(e.tagName))&&(e.properties[n]=null!=(r=t(String(i||""),n,e))?r:void 0)}})(e,t),c=!1,n?c=!n.includes(e.tagName):i&&(c=i.includes(e.tagName)),!c&&r&&"number"==typeof a&&(c=!r(e,a,l)),c&&l&&"number"==typeof a)?(o&&e.children?l.children.splice(a,1,...e.children):l.children.splice(a,1),a):void 0})}return(0,nu.H)(e,{Fragment:no.Fragment,components:t.components,ignoreInvalidStyle:!0,jsx:no.jsx,jsxs:no.jsxs,passKeys:!0,passNode:!0})},sO=/\[\^[\w-]{1,200}\](?!:)/,sC=/\[\^[\w-]{1,200}\]:/,s$=/<(\w+)[\s>]/,sw=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),sD=new Map,sR=new Map,sL=(e,t)=>{if(sw.has(t.toLowerCase()))return 0;let r=e.match((e=>{let t=e.toLowerCase(),r=sD.get(t);if(r)return r;let n=RegExp(`<${t}(?=[\\s>/])[^>]*>`,"gi");return sD.set(t,n),n})(t));if(!r)return 0;let n=0;for(let e of r)e.trimEnd().endsWith("/>")||(n+=1);return n},sP=(e,t)=>{let r=e.match((e=>{let t=e.toLowerCase(),r=sR.get(t);if(r)return r;let n=RegExp(`</${t}(?=[\\s>])[^>]*>`,"gi");return sR.set(t,n),n})(t));return r?r.length:0},sM=e=>{let t=0;for(let r=0;r<e.length-1;r+=1)"$"===e[r]&&"$"===e[r+1]&&(t+=1,r+=1);return t},sU=e=>{let t=sO.test(e),r=sC.test(e);if(t||r)return[e];let n=ih.lex(e,{gfm:!0}),i=[],a=[],s=!1;for(let e of n){let t=e.raw,r=i.length;if(a.length>0){i[r-1]+=t;let e=a.at(-1),n=sL(t,e),s=sP(t,e);for(let t=0;t<n;t+=1)a.push(e);for(let t=0;t<s;t+=1)a.length>0&&a.at(-1)===e&&a.pop();continue}if("html"===e.type&&e.block){let e=t.match(s$);if(e){let r=e[1];sL(t,r)>sP(t,r)&&a.push(r)}}if(r>0&&!s){let e=i[r-1];if(sM(e)%2==1){i[r-1]=e+t;continue}}i.push(t),"space"!==e.type&&(s="code"===e.type)}return i},sz=/([\\`*_~[\]|])/g,sj=e=>e.replace(sz,"\\$1"),sF=e=>"text"===e.type?e.value:"children"in e&&Array.isArray(e.children)?e.children.map(sF).join(""):"",sB=e=>t=>{if(!e||0===e.length)return;let r=new Set(e.map(e=>e.toLowerCase()));(0,a.YR)(t,"element",e=>{if(r.has(e.tagName.toLowerCase())){let t=sF(e);e.children=t?[{type:"text",value:t}]:[]}})},sZ=/^[ \t]*<[\w!/?-]/,sH=/(^|\n)[ \t]{4,}(?=<[\w!/?-])/g,sG={...rc,protocols:{...rc.protocols,href:[...null!=(sp=null==(sm=rc.protocols)?void 0:sm.href)?sp:[],"tel"]},attributes:{...rc.attributes,code:[...null!=(sf=null==(sh=rc.attributes)?void 0:sh.code)?sf:[],"metastring"]}},sY={raw:rl,sanitize:[rv,sG],harden:[function({defaultOrigin:e="",allowedLinkPrefixes:t=[],allowedImagePrefixes:r=[],allowDataImages:n=!1,allowedProtocols:i=[],blockedImageClass:c="inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm",blockedLinkClass:d="text-gray-500",linkBlockPolicy:m=o,imageBlockPolicy:f=o}){let g=t.length&&!t.every(e=>"*"===e),_=r.length&&!r.every(e=>"*"===e);if(!e&&(g||_))throw Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");return o=>{var g,_,v,E,y,b,T,k,x;let A,I=(g=e,_=t,v=r,E=n,y=i,b=c,T=d,k=m,x=f,A=(e,t,r)=>{if("element"!==e.type||e[h])return s.IN;if("a"===e.tagName){let n=p(e.properties.href,_,g,!1,!1,y);if(null!==n)return e.properties.href=n,e.properties.target="_blank",e.properties.rel="noopener noreferrer",s.IN;if(e[h]=!0,(0,a.YR)(e,A),r&&"number"==typeof t){let n=k===u?{type:"remove"}:k===l?{type:"replace",element:{type:"element",tagName:"span",properties:{},children:[...e.children]}}:{type:"replace",element:{type:"element",tagName:"span",properties:{title:"Blocked URL: "+String(e.properties.href),class:T},children:[...e.children,{type:"text",value:" [blocked]"}]}};if("remove"===n.type)return r.children.splice(t,1),[s._Z,t];r.children[t]=n.element}return s._Z}if("img"===e.tagName){let n=p(e.properties.src,v,g,E,!0,y);if(null===n){if(e[h]=!0,(0,a.YR)(e,A),r&&"number"==typeof t){let n=function(e,t,r){if(t===u)return{type:"remove"};if(t===l){let t=String(e.properties.alt||"");return t?{type:"replace",element:{type:"element",tagName:"span",properties:{},children:[{type:"text",value:t}]}}:{type:"remove"}}return{type:"replace",element:{type:"element",tagName:"span",properties:{class:r},children:[{type:"text",value:"[Image blocked: "+String(e.properties.alt||"No description")+"]"}]}}}(e,x,b);
139if("remove"===n.type)return r.children.splice(t,1),[s._Z,t];r.children[t]=n.element}return s._Z}e.properties.src=n}return s.IN});(function e(t){if("children"in t&&Array.isArray(t.children))for(let r of(t.children=t.children.filter(e=>null!=e),t.children))e(r)})(o),(0,a.YR)(o,I)}},{allowedImagePrefixes:["*"],allowedLinkPrefixes:["*"],allowedProtocols:["*"],defaultOrigin:void 0,allowDataImages:!0}]},sV={gfm:[rE.A,{}],codeMeta:()=>e=>{(0,a.YR)(e,"code",e=>{var t,r;e.meta&&(e.data=null!=(t=e.data)?t:{},e.data.hProperties={...null!=(r=e.data.hProperties)?r:{},metastring:e.meta})})}},sW=Object.values(sY),sq=Object.values(sV),sK={block:" â",circle:" â"},sJ=["github-light","github-dark"],sX={enabled:!0},sQ=(0,i.createContext)({shikiTheme:sJ,controls:!0,isAnimating:!1,lineNumbers:!0,mode:"streaming",mermaid:void 0,linkSafety:sX}),s0=(0,i.memo)(({content:e,shouldParseIncompleteMarkdown:t,shouldNormalizeHtmlIndentation:r,index:n,isIncomplete:i,dir:a,animatePlugin:s,...o})=>{if(s){let e=s.getLastRenderCharCount();s.setPrevContentLength(e)}let l="string"==typeof e&&r&&"string"==typeof e&&0!==e.length&&sZ.test(e)?e.replace(sH,"$1"):e,u=(0,no.jsx)(sx,{...o,children:l});return(0,no.jsx)(iS.Provider,{value:i,children:a?(0,no.jsx)("div",{dir:a,style:{display:"contents"},children:u}):u})},(e,t)=>{if(e.content!==t.content||e.shouldNormalizeHtmlIndentation!==t.shouldNormalizeHtmlIndentation||e.index!==t.index||e.isIncomplete!==t.isIncomplete||e.dir!==t.dir)return!1;if(e.components!==t.components){let r=Object.keys(e.components||{}),n=Object.keys(t.components||{});if(r.length!==n.length||r.some(r=>{var n,i;return(null==(n=e.components)?void 0:n[r])!==(null==(i=t.components)?void 0:i[r])}))return!1}return e.rehypePlugins===t.rehypePlugins&&e.remarkPlugins===t.remarkPlugins});s0.displayName="Block";var s1=(0,i.memo)(({children:e,mode:t="streaming",dir:r,parseIncompleteMarkdown:n=!0,normalizeHtmlIndentation:a=!1,components:s,rehypePlugins:o=sW,remarkPlugins:l=sq,className:u,shikiTheme:c=sJ,mermaid:d,controls:m=!0,isAnimating:p=!1,animated:h,BlockComponent:f=s0,parseMarkdownIntoBlocksFn:g=sU,caret:_,plugins:v,remend:E,linkSafety:y=sX,lineNumbers:b=!0,allowedTags:T,literalTagContent:k,translations:x,icons:A,prefix:I,onAnimationStart:S,onAnimationEnd:N,...O})=>{let C=(0,i.useId)(),[$,w]=(0,i.useTransition)(),D=(0,i.useMemo)(()=>I?(...e)=>((e,t)=>{if(!e||!t)return t;let r=`${e}:`;return t.split(/\s+/).filter(Boolean).map(t=>t.startsWith(r)?t:`${e}:${t}`).join(" ")})(I,(0,ns.QP)((0,na.$)(e))):iN,[I]),R=(0,i.useRef)(null),L=(0,i.useRef)(S),P=(0,i.useRef)(N);L.current=S,P.current=N,(0,i.useEffect)(()=>{var e,r,n;if("static"===t)return;let i=R.current;if(R.current=p,null===i){p&&(null==(e=L.current)||e.call(L));return}p&&!i?null==(r=L.current)||r.call(L):!p&&i&&(null==(n=P.current)||n.call(P))},[p,t]);let M=(0,i.useMemo)(()=>T?Object.keys(T):[],[T]),U=(0,i.useMemo)(()=>{if("string"!=typeof e)return"";let r="streaming"===t&&n?((e,t)=>{var r,n;let i;if(!e||"string"!=typeof e)return e;let a=e.endsWith(" ")&&!e.endsWith(" ")?e.slice(0,-1):e;for(let{handler:e,earlyReturn:s}of[...(i=null!=(n=null==t?void 0:t.linkMode)?n:"protocol",ni.filter(({handler:e,optionKey:r})=>"links"===e.name?!1!==(null==t?void 0:t.links)||!1!==(null==t?void 0:t.images):"inlineKatex"===e.name?!0===(null==t?void 0:t.inlineKatex):!1!==(null==t?void 0:t[r])).map(({handler:e,earlyReturn:t})=>"links"===e.name?{handler:rb(rS({},e),rT({handle:e=>r7(e,i)})),earlyReturn:"protocol"===i?t:void 0}:{handler:e,earlyReturn:t})),...(null!=(r=null==t?void 0:t.handlers)?r:[]).map(e=>{var t;return{handler:rb(rS({},e),rT({priority:null!=(t=e.priority)?t:100})),earlyReturn:void 0}})].sort((e,t)=>{var r,n;return(null!=(r=e.handler.priority)?r:0)-(null!=(n=t.handler.priority)?n:0)}))if(a=e.handle(a),null!=s&&s(a))break;return a})(e,E):e;return k&&k.length>0&&(r=((e,t)=>{if(!t.length)return e;let r=e;for(let e of t){let t=RegExp(`(<${e}(?=[\\s>/])[^>]*>)([\\s\\S]*?)(</${e}\\s*>)`,"gi");r=r.replace(t,(e,t,r,n)=>t+sj(r).replace(/\n\n/g," ")+n)}return r})(r,k)),M.length>0&&(r=((e,t)=>{if(!t.length)return e;let r=e;
139for(let e of t){let t=RegExp(`(<${e}(?=[\\s>/])[^>]*>)([\\s\\S]*?)(</${e}\\s*>)`,"gi");r=r.replace(t,(e,t,r,n)=>{if(!r.includes(` 140 141`))return t+r+n;let i=r.replace(/\n\n/g,` 142<!----> 143`),a=(i.startsWith(` 144`)?"":` 145`)+i+(i.endsWith(` 146`)?"":` 147`);return`${t}${a}${n} 148 149`})}return r})(r,M)),r},[e,t,n,E,M,k]),z=(0,i.useMemo)(()=>g(U),[U,g]),[j,F]=(0,i.useState)(z);(0,i.useEffect)(()=>{"streaming"!==t||Y?F(z):w(()=>{F(z)})},[z,t]);let B="streaming"===t?j:z,Z=(0,i.useMemo)(()=>"auto"===r?B.map(aG):void 0,[B,r]),H=(0,i.useMemo)(()=>B.map((e,t)=>`${C}-${t}`),[B.length,C]),G=(0,i.useMemo)(()=>!0===h?"true":h?JSON.stringify(h):"",[h]),Y=(0,i.useMemo)(()=>G?"true"===G?iI():iI(h):null,[G]),V=(0,i.useMemo)(()=>{var e,r;return{shikiTheme:null!=(r=null==(e=null==v?void 0:v.code)?void 0:e.getThemes())?r:c,controls:m,isAnimating:p,lineNumbers:b,mode:t,mermaid:d,linkSafety:y}},[c,m,p,b,t,d,y,null==v?void 0:v.code]),W=(0,i.useMemo)(()=>x?JSON.stringify(x):"",[x]),q=(0,i.useMemo)(()=>({...iH,...x}),[W]),K=(0,i.useMemo)(()=>{let{inlineCode:e,...t}=null!=s?s:{},r={...aB,...t};if(e){let t=r.code;r.code=r=>"data-block"in r?t?(0,i.createElement)(t,r):null:(0,i.createElement)(e,r)}return r},[s]),J=(0,i.useMemo)(()=>{let e=[];return null!=v&&v.cjk&&(e=[...e,...v.cjk.remarkPluginsBefore]),e=[...e,...l],null!=v&&v.cjk&&(e=[...e,...v.cjk.remarkPluginsAfter]),null!=v&&v.math&&(e=[...e,v.math.remarkPlugin]),e},[l,null==v?void 0:v.math,null==v?void 0:v.cjk]),X=(0,i.useMemo)(()=>{var e;let t=o;if(T&&Object.keys(T).length>0&&o===sW){let r={...sG,tagNames:[...null!=(e=sG.tagNames)?e:[],...Object.keys(T)],attributes:{...sG.attributes,...T}};t=[sY.raw,[rv,r],sY.harden]}return k&&k.length>0&&(t=[...t,[sB,k]]),null!=v&&v.math&&(t=[...t,v.math.rehypePlugin]),Y&&p&&(t=[...t,Y.rehypePlugin]),t},[o,null==v?void 0:v.math,Y,p,T,k]),Q=(0,i.useMemo)(()=>{if(!p||0===B.length)return!1;let e=B.at(-1);return sv(e)||(e=>{for(let t of e.split(` 150`)){let e=t.trim();if(e.length>0&&e.includes("|")&&s_.test(e))return!0}return!1})(e)},[p,B]),ee=(0,i.useMemo)(()=>_&&p&&!Q?{"--streamdown-caret":`"${sK[_]}"`}:void 0,[_,p,Q]);return"static"===t?(0,no.jsx)(iG.Provider,{value:q,children:(0,no.jsx)(i4.Provider,{value:null!=v?v:null,children:(0,no.jsx)(sQ.Provider,{value:V,children:(0,no.jsx)(iB,{icons:A,children:(0,no.jsx)(iC.Provider,{value:D,children:(0,no.jsx)("div",{className:D("space-y-4 whitespace-normal [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",u),dir:"auto"===r?aG(U):r,children:(0,no.jsx)(sx,{components:K,rehypePlugins:X,remarkPlugins:J,...O,children:U})})})})})})}):(0,no.jsx)(iG.Provider,{value:q,children:(0,no.jsx)(i4.Provider,{value:null!=v?v:null,children:(0,no.jsx)(sQ.Provider,{value:V,children:(0,no.jsx)(iB,{icons:A,children:(0,no.jsx)(iC.Provider,{value:D,children:(0,no.jsxs)("div",{className:D("space-y-4 whitespace-normal [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",_&&!Q?"[&>*:last-child]:after:inline [&>*:last-child]:after:align-baseline [&>*:last-child]:after:content-[var(--streamdown-caret)]":null,u),style:ee,children:[0===B.length&&_&&p&&(0,no.jsx)("span",{}),B.map((e,t)=>{var i;let s=t===B.length-1,o=p&&s&&sv(e);return(0,no.jsx)(f,{animatePlugin:Y,components:K,content:e,dir:null!=(i=null==Z?void 0:Z[t])?i:"auto"!==r?r:void 0,index:t,isIncomplete:o,rehypePlugins:X,remarkPlugins:J,shouldNormalizeHtmlIndentation:a,shouldParseIncompleteMarkdown:n,...O},H[t])})]})})})})})})},(e,t)=>e.children===t.children&&e.shikiTheme===t.shikiTheme&&e.isAnimating===t.isAnimating&&e.animated===t.animated&&e.mode===t.mode&&e.plugins===t.plugins&&e.className===t.className&&e.linkSafety===t.linkSafety&&e.lineNumbers===t.lineNumbers&&e.normalizeHtmlIndentation===t.normalizeHtmlIndentation&&e.literalTagContent===t.literalTagContent&&JSON.stringify(e.translations)===JSON.stringify(t.translations)&&e.prefix===t.prefix&&e.dir===t.dir);s1.displayName="Streamdown";var s4=({children:e,className:t,minZoom:r=.5,maxZoom:n=3,zoomStep:a=.1,showControls:s=!0,initialZoom:o=1,fullscreen:l=!1})=>{let{RotateCcwIcon:u,ZoomInIcon:c,ZoomOutIcon:d}=iZ(),m=i$(),p=(0,i.useRef)(null),h=(0,i.useRef)(null),[f,g]=(0,i.useState)(o),[_,v]=(0,i.useState)({x:0,y:0}),[E,y]=(0,i.useState)(!1),[b,T]=(0,i.useState)({x:0,y:0}),[k,x]=(0,i.useState)({x:0,y:0}),A=(0,i.useCallback)(e=>{g(t=>Math.max(r,Math.min(n,t+e)))},[r,n]),I=(0,i.useCallback)(()=>{A(a)},[A,a]),S=(0,i.useCallback)(()=>{A(-a)},[A,a]),N=(0,i.useCallback)(()=>{g(o),v({x:0,y:0})}
150,[o]),O=(0,i.useCallback)(e=>{e.preventDefault(),A(e.deltaY>0?-a:a)},[A,a]),C=(0,i.useCallback)(e=>{if(0!==e.button||!1===e.isPrimary)return;y(!0),T({x:e.clientX,y:e.clientY}),x(_);let t=e.currentTarget;t instanceof HTMLElement&&t.setPointerCapture(e.pointerId)},[_]),$=(0,i.useCallback)(e=>{if(!E)return;e.preventDefault();let t=e.clientX-b.x,r=e.clientY-b.y;v({x:k.x+t,y:k.y+r})},[E,b,k]),w=(0,i.useCallback)(e=>{y(!1);let t=e.currentTarget;t instanceof HTMLElement&&t.releasePointerCapture(e.pointerId)},[]);return(0,i.useEffect)(()=>{let e=p.current;if(e)return e.addEventListener("wheel",O,{passive:!1}),()=>{e.removeEventListener("wheel",O)}},[O]),(0,i.useEffect)(()=>{let e=h.current;if(e&&E)return document.body.style.userSelect="none",e.addEventListener("pointermove",$,{passive:!1}),e.addEventListener("pointerup",w),e.addEventListener("pointercancel",w),()=>{document.body.style.userSelect="",e.removeEventListener("pointermove",$),e.removeEventListener("pointerup",w),e.removeEventListener("pointercancel",w)}},[E,$,w]),(0,no.jsxs)("div",{className:m("relative flex flex-col",l?"h-full w-full":"min-h-28 w-full",t),ref:p,style:{cursor:E?"grabbing":"grab"},children:[s?(0,no.jsxs)("div",{className:m("absolute z-10 flex flex-col gap-1 rounded-md border border-border bg-background/80 p-1 supports-[backdrop-filter]:bg-background/70 supports-[backdrop-filter]:backdrop-blur-sm",l?"bottom-4 left-4":"bottom-2 left-2"),children:[(0,no.jsx)("button",{className:m("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50"),disabled:f>=n,onClick:I,title:"Zoom in",type:"button",children:(0,no.jsx)(c,{size:16})}),(0,no.jsx)("button",{className:m("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50"),disabled:f<=r,onClick:S,title:"Zoom out",type:"button",children:(0,no.jsx)(d,{size:16})}),(0,no.jsx)("button",{className:m("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"),onClick:N,title:"Reset zoom and pan",type:"button",children:(0,no.jsx)(u,{size:16})})]}):null,(0,no.jsx)("div",{className:m("flex-1 origin-center transition-transform duration-150 ease-out",l?"flex h-full w-full items-center justify-center":"flex w-full items-center justify-center"),onPointerDown:C,ref:h,role:"application",style:{transform:`translate(${_.x}px, ${_.y}px) scale(${f})`,transformOrigin:"center center",touchAction:"none",willChange:"transform"},children:e})]})},s6=({chart:e,className:t,config:r,fullscreen:n=!1,showControls:a=!0})=>{let s=i$(),[o,l]=(0,i.useState)(null),[u,c]=(0,i.useState)(!1),[d,m]=(0,i.useState)(""),[p,h]=(0,i.useState)(""),[f,g]=(0,i.useState)(0),{mermaid:_}=(0,i.useContext)(sQ),v=i9(),E=null==_?void 0:_.errorComponent,{shouldRender:y,containerRef:b}=function(e={}){let{immediate:t=!1,debounceDelay:r=300,rootMargin:n="300px",idleTimeout:a=500}=e,[s,o]=(0,i.useState)(!1),l=(0,i.useRef)(null),u=(0,i.useRef)(null),c=(0,i.useRef)(null),d=(0,i.useMemo)(()=>e=>{let t=Date.now();return window.setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})},1)},[]),m=(0,i.useMemo)(()=>"u">typeof window&&window.requestIdleCallback?(e,t)=>window.requestIdleCallback(e,t):d,[d]),p=(0,i.useMemo)(()=>"u">typeof window&&window.cancelIdleCallback?e=>window.cancelIdleCallback(e):e=>{clearTimeout(e)},[]);return(0,i.useEffect)(()=>{if(t)return void o(!0);let e=l.current;if(!e)return;u.current&&(clearTimeout(u.current),u.current=null),c.current&&(p(c.current),c.current=null);let i=()=>{u.current&&(clearTimeout(u.current),u.current=null),c.current&&(p(c.current),c.current=null)},s=(e,t)=>{e.isIntersecting?(i(),u.current=window.setTimeout(()=>{var e,r;let n=t.takeRecords();(0===n.length||null!=(r=null==(e=n.at(-1))?void 0:e.isIntersecting)&&r)&&(c.current=m(e=>{e.timeRemaining()>0||e.didTimeout?(o(!0),t.disconnect()):c.current=m(()=>{o(!0),t.disconnect()},{timeout:a/2})},{timeout:a}))},r)):i()},d=new IntersectionObserver(e=>{for(let t of e)s(t,d)},{rootMargin:n,threshold:0});return d.observe(e),()=>{u.current&&clearTimeout(u.current),c.current&&p(c.current),d.disconnect()}},[t,r,n,a,p,m]),{shouldRender:s,containerRef:l}}({immediate:n});return((0,i.useEffect)(()=>
150{if(y){if(!v)return void l("Mermaid plugin not available. Please add the mermaid plugin to enable diagram rendering.");(async()=>{try{l(null),c(!0);let t=v.getMermaid(r),n=e.split("").reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0),i=`mermaid-${Math.abs(n)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:a}=await t.render(i,e);m(a),h(a)}catch(e){p||d||l(e instanceof Error?e.message:"Failed to render Mermaid chart")}finally{c(!1)}})()}},[e,r,f,y,v]),y||d||p)?!u||d||p?!o||d||p?(0,no.jsx)("div",{className:s("size-full",t),"data-streamdown":"mermaid",ref:b,children:(0,no.jsx)(s4,{className:s(n?"size-full overflow-hidden":"overflow-hidden",t),fullscreen:n,maxZoom:3,minZoom:.5,showControls:a,zoomStep:.1,children:(0,no.jsx)("div",{"aria-label":"Mermaid chart",className:s("flex justify-center",n?"size-full items-center":null),dangerouslySetInnerHTML:{__html:d||p},role:"img"})})}):E?(0,no.jsx)("div",{ref:b,children:(0,no.jsx)(E,{chart:e,error:o,retry:()=>g(e=>e+1)})}):(0,no.jsxs)("div",{className:s("rounded-md bg-red-50 p-4",t),ref:b,children:[(0,no.jsxs)("p",{className:s("font-mono text-red-700 text-sm"),children:["Mermaid Error: ",o]}),(0,no.jsxs)("details",{className:s("mt-2"),children:[(0,no.jsx)("summary",{className:s("cursor-pointer text-red-600 text-xs"),children:"Show Code"}),(0,no.jsx)("pre",{className:s("mt-2 overflow-x-auto rounded bg-red-100 p-2 text-red-800 text-xs"),children:e})]})]}):(0,no.jsx)("div",{className:s("my-4 flex justify-center p-4",t),ref:b,children:(0,no.jsxs)("div",{className:s("flex items-center space-x-2 text-muted-foreground"),children:[(0,no.jsx)("div",{className:s("h-4 w-4 animate-spin rounded-full border-current border-b-2")}),(0,no.jsx)("span",{className:s("text-sm"),children:"Loading diagram..."})]})}):(0,no.jsx)("div",{className:s("my-4 min-h-[200px]",t),ref:b})}},855760:(e,t,r)=>{r.d(t,{Di:()=>k,b8:()=>B,bD:()=>_,eM:()=>D,iM:()=>U,u1:()=>E,u6:()=>N});var n,i,a,s,o,l,u,c,d,m,p,h,f="vercel.ai.error",g=Symbol.for(f),_=class e extends(i=Error,n=g,i){constructor({name:e,message:t,cause:r}){super(t),this[n]=!0,this.name=e,this.cause=r}static isInstance(t){return e.hasMarker(t,f)}static hasMarker(e,t){let r=Symbol.for(t);return null!=e&&"object"==typeof e&&r in e&&"boolean"==typeof e[r]&&!0===e[r]}},v=Symbol.for("vercel.ai.error.AI_APICallError");Symbol.for("vercel.ai.error.AI_EmptyResponseBodyError");function E(e){return null==e?"unknown error":"string"==typeof e?e:e instanceof Error?e.message:JSON.stringify(e)}var y="AI_InvalidArgumentError",b=`vercel.ai.error.${y}`,T=Symbol.for(b),k=class extends(s=_,a=T,s){constructor({message:e,cause:t,argument:r}){super({name:y,message:e,cause:t}),this[a]=!0,this.argument=r}static isInstance(e){return _.hasMarker(e,b)}},x=Symbol.for("vercel.ai.error.AI_InvalidPromptError");Symbol.for("vercel.ai.error.AI_InvalidResponseDataError");var A="AI_JSONParseError",I=`vercel.ai.error.${A}`,S=Symbol.for(I),N=class extends(l=_,o=S,l){constructor({text:e,cause:t}){super({name:A,message:`JSON parsing failed: Text: ${e}. 151Error message: ${E(t)}`,cause:t}),this[o]=!0,this.text=e}static isInstance(e){return _.hasMarker(e,I)}},O=Symbol.for("vercel.ai.error.AI_LoadAPIKeyError");Symbol.for("vercel.ai.error.AI_LoadSettingError");Symbol.for("vercel.ai.error.AI_NoContentGeneratedError");var C="AI_NoSuchModelError",$=`vercel.ai.error.${C}`,w=Symbol.for($),D=class extends(c=_,u=w,c){constructor({errorName:e=C,modelId:t,modelType:r,message:n=`No such ${r}: ${t}`}){super({name:e,message:n}),this[u]=!0,this.modelId=t,this.modelType=r}static isInstance(e){return _.hasMarker(e,$)}},R=Symbol.for("vercel.ai.error.AI_TooManyEmbeddingValuesForCallError"),L="AI_TypeValidationError",P=`vercel.ai.error.${L}`,M=Symbol.for(P),U=class e extends(m=_,d=M,m){constructor({value:e,cause:t,context:r}){let n="Type validation failed";if((null==r?void 0:r.field)&&(n+=` for ${r.field}`),(null==r?void 0:r.entityName)||(null==r?void 0:r.entityId)){n+=" (";const e=[];r.entityName&&e.push(r.entityName),r.entityId&&e.push(`id: "${r.entityId}"`),n+=e.join(", "),n+=")"}super({name:L,message:`${n}: Value: ${JSON.stringify(e)}. 152Error message: ${E(t)}`,cause:t}),this[d]=!0,this.value=e,this.context=r}static isInstance(e){return _.hasMarker(e,P)}static wrap({value:t,cause:r,context:n}){var i,a,s;return e.isInstance(r)&&r.value===t&&(null==(i=r.context)?void 0:i.field)===(null==n?void 0:n.field)&&(null==(a=r.context)?void 0:a.entityName)===(null==n?void 0:n.entityName)&&(null==(s=r.context)?void 0:s.entity
152Id)===(null==n?void 0:n.entityId)?r:new e({value:t,cause:r,context:n})}},z="AI_UnsupportedFunctionalityError",j=`vercel.ai.error.${z}`,F=Symbol.for(j),B=class extends(h=_,p=F,h){constructor({functionality:e,message:t=`'${e}' functionality not supported.`}){super({name:z,message:t}),this[p]=!0,this.functionality=e}static isInstance(e){return _.hasMarker(e,j)}}}}]); 153//# sourceMappingURL=5703-a87cc930a8f2024f.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.