@qodercn-ai/qoderclicn 1.1.98 → 1.1.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,127 @@
1
+ import { createRequire as __banner_createRequire } from 'node:module'; import { fileURLToPath as __banner_fileURLToPath } from 'node:url'; import { dirname as __banner_dirname } from 'node:path'; const require = __banner_createRequire(import.meta.url); const __chunk_filename = __banner_fileURLToPath(import.meta.url); const __chunk_dirname = __banner_dirname(__chunk_filename);
2
+ var CO=Object.create;var bc=Object.defineProperty;var RO=Object.getOwnPropertyDescriptor;var jO=Object.getOwnPropertyNames;var NO=Object.getPrototypeOf,zO=Object.prototype.hasOwnProperty;var xe=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var ut=(e,t)=>()=>(e&&(t=e(e=0)),t);var ue=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Bt=(e,t)=>{for(var n in t)bc(e,n,{get:t[n],enumerable:!0})},LO=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of jO(t))!zO.call(e,r)&&r!==n&&bc(e,r,{get:()=>t[r],enumerable:!(i=RO(t,r))||i.enumerable});return e};var MO=(e,t,n)=>(n=e!=null?CO(NO(e)):{},LO(t||!e||!e.__esModule?bc(n,"default",{value:e,enumerable:!0}):n,e));var xP=ut(()=>{"use strict";Pn();});var Xm,Ym=ut(()=>{"use strict";Xm="1.1.100"});import{fileURLToPath as GR}from"node:url";import CR from"node:path";var RR,$B,IP=ut(()=>{"use strict";Ym();RR=GR(import.meta.url),$B=CR.dirname(RR)});function V(e){return`${jR}${e}`}function we(e){return`${GP}${e}`}function Yr(e){return process.env[e]}var kP,Qm,AP,wP,EB,EP,OB,OR,OP,TP,jR,GP,CP,RP,TB,GB,CB,RB,jB,NB,zB,LB,MB,UB,jP,NP,e_,BB,WB,VB,ZB,HB,JB,KB,qB,XB,YB,QB,eW,tW,nW,rW,iW,oW,aW,sW,cW,uW,lW,dW,fW,mW,_W,pW,gW,FW,hW,PW,vW,DW,yW,TR,bW,SW,$W,xW,IW,kW,AW,wW,EW,OW,TW,GW,CW,RW,jW,NW,zP,zW,LW,MW,UW,BW,WW,t_,VW,ZW,HW,JW,KW,qW,XW,YW,QW,e5,t5,n5,r5,i5,o5,a5,Pn=ut(()=>{"use strict";xP();IP();kP="Qoder CLI CN",Qm="qoderclicn",AP="qodercli",wP="@qodercn-ai/qoderclicn",EB=Object.freeze("@qoder-ai/qodercli,@qodercn-ai/qoderclicn".split(",")),EP="qodercli",OB=`${EP}_`,OR=`${EP}_version`,OP=".qoder-cn",TP=".qoder",jR="QODERCN_",GP="QODER_",CP="QODERCLI_";RP=GP.replace(/_$/,"").toLowerCase(),TB=`${RP}-worktree.json`,GB=we("BASE"),CB=`.${RP}`,RB=we("PROJECT_DIR"),jB=we("PLUGIN_ROOT"),NB=we("PLUGIN_DATA"),zB=we("SKILL_DIR"),LB=we("SESSION_ID"),MB=we("CONFIG_DIR"),UB=we("USER_CONFIG_DIR"),jP=V("CLI_HOME"),NP=V("CONFIG_DIR"),e_=V("CONFIG_DIR_NAME"),BB=V("CLI_MAX_MCP_OUTPUT_TOKENS"),WB=V("CLI_INTEGRATION_TEST"),VB=V("PID"),ZB=V("WRITE_SYSTEM_MD"),HB=V("CLI_WORKTREE_HANDLED"),JB=V("CLI_WORKTREE_INFO"),KB=V("MODEL"),qB=V("SHELL_PREFIX"),XB=V("CLI_TEST_VAR"),YB=V("FORCE_FILE_STORAGE"),QB=V("FORCE_ENCRYPTED_FILE_STORAGE"),eW=V("HOME"),tW=V("RUNNING_ENV"),nW=V("FORK_SUBAGENT"),rW=V("AGENT_TEAMS"),iW=V("ENABLE_AGENT_SESSIONS"),oW=V("CLI_MAX_SUBAGENT_SPAWN_DEPTH"),aW=V("CLI_MAX_CONCURRENT_SUBAGENTS"),sW=V("MAX_REQUEST_IMAGES"),cW=V("MEMORY_HEADLESS"),uW=V("MEMORY_PROJECT"),lW=V("MEMORY_USER"),dW=V("DREAM"),fW=we("PROFILING"),mW=we("PROFILE_DIR"),_W=we("PROFILE_LOG_INTERVAL_MS"),pW=we("STARTUP_TRACE"),gW=we("FAKE_STREAM_DELAY_MS"),FW=we("INTEGRATION_ID"),hW=we("AGENT_SDK_ENTRYPOINT"),PW=we("AGENT_SDK_VERSION"),vW=we("AGENT_SDK_LANGUAGE"),DW=we("SECURITY_SCAN_SETTINGS_JSON"),yW=we("SECURITY_SCAN_RULES_FILE"),TR=we("BUSINESS_SUB_TASK"),bW=V("CLIENT_TYPE"),SW=V("CLIENT_VERSION"),$W=V("BUSINESS_PRODUCT"),xW=V("BUSINESS_TYPE"),IW=V("SCENE"),kW=V("SUBAGENT_MODEL"),AW=V("PLAN_MODE_INTERVIEW_PHASE"),wW=V("PLAN_PHASE4_VARIANT"),EW=V("PLAN_MODE_AGENT_COUNT"),OW=V("PLAN_MODE_EXPLORE_AGENT_COUNT"),TW=V("DISABLE_EXPLORE_PLAN_AGENTS"),GW=V("EMIT_SESSION_STATE_EVENTS"),CW=V("PLUGIN_GIT_TIMEOUT_MS"),RW=V("PLUGIN_CACHE_DIR"),jW=V("PLUGIN_ZIP_CACHE"),NW=V("SESSION_STATE_PLAINTEXT"),zP=V("EXPOSE_TOKEN_USAGE"),zW=V("EXPOSE_REQUEST_ID"),LW=V("RUNTIME_ROLE"),MW=V("PARENT_SURFACE"),UW=V("CLI_PARENT_SURFACE"),BW=V("PARENT_TASK_ID"),WW=V("TASK_ID"),t_=V("REMOTE_WORKER"),VW=V("WORKER_CWD"),ZW=V("GIT_BASH_PATH"),HW=V("BASH_PATH"),JW=V("CLI_GLOB_NO_IGNORE"),KW=V("CLI_GLOB_HIDDEN"),qW=V("CLI_GLOB_TIMEOUT_SECONDS"),XW=V("AUTOCOMPACT_WINDOW"),YW=V("AUTOCOMPACT_PCT_OVERRIDE"),QW=V("BLOCKING_LIMIT_OVERRIDE"),e5=V("REPEATED_TOOL_CALL_THRESHOLD"),t5=V("REMOTE_CONTROL_SERVER"),n5=V("FEATURE_"),r5=V("MESSAGING_SOCKET"),i5=V("MESSAGING_SELF_TOKEN"),o5=V("USER_DIALOG_TIMEOUT_MS"),a5=V("DISABLE_UMID_REPORT")});var ov=ut(()=>{"use strict";});var av=ut(()=>{"use strict";});var sv=ut(()=>{"use strict";});function _j(e){let t=Array.from(e).length;return t>=1&&t<=64&&!e.startsWith(" ")&&!e.endsWith(" ")&&!e.endsWith(".")&&e!=="."&&e!==".."&&uj.test(e)&&!lj.test(e)}function uv(e){if(e.rawValue===void 0||e.rawValue==="")return{userConfigDirName:e.userDefault,projectConfigDirName:e.projectDefault};let t=e.rawValue.normalize("NFC");if(!_j(t))throw new Error(`${e.envName} ${dj}; received ${JSON.stringify(e.rawValue)}`);if(fj.has(t.toLowerCase()))throw new Error(`${e.envName} ${mj}; received ${JSON.stringify(e.rawValue)}`);return{userConfigDirName:t,projectConfigDirName:t}}var uj,lj,dj,cv,fj,mj,lv=ut(()=>{"use strict";uj=/^[\p{L}\p{N}\p{M}._ -]+$/u,lj=/^(?:con|prn|aux|nul|com[1-9]|lpt[1-9])(?:\.|$)/iu,dj='must be a valid directory name after NFC normalization: 1-64 Unicode characters using letters, numbers, combining marks, ".", "_", "-", or internal spaces; it must not start or end with a space, end with ".", or use a reserved name',cv=[".git",".svn",".hg",".vscode",".idea",".husky",".github","node_modules","bower_components"],fj=new Set(cv.map(e=>e.toLowerCase())),mj=`must not use protected directory name; protected names are ${cv.join(", ")}`});function vo(e){let t=e.replace(/[^a-zA-Z0-9]/g,"-");if(t.length<=200)return t;let n=5381;for(let i=0;i<e.length;i++)n=n*33^e.charCodeAt(i);return`${t.slice(0,200)}-${Math.abs(n).toString(36)}`}var dv=ut(()=>{"use strict"});import a_ from"node:path";import _v from"node:os";function gj(){return globalThis[pj]}function Fj(){let e=Yr(jP);return e||_v.homedir()}function gv(){let e=gj();if(s_!==void 0&&mv===e)return s_;let t,n=Yr(NP);if(e)t=e;else if(n)t=a_.resolve(n).normalize("NFC");else{let i=Fj();i?t=a_.join(i,fv).normalize("NFC"):t=a_.join(hj(),fv).normalize("NFC")}return s_=t,mv=e,t}function hj(){return _v.tmpdir()}var pv,q5,fv,pj,s_,mv,Fv=ut(()=>{"use strict";av();sv();Pn();lv();dv();pv=uv({rawValue:Yr(e_),envName:e_,userDefault:OP,projectDefault:TP}),q5=pv.projectConfigDirName,fv=pv.userConfigDirName,pj=Symbol.for("cli.configHomeDirOverride")});function Pj(){return vj(Yr(zP))}function hv(e){return Pj()?e:0}function vj(e){let t=e?.trim().toLowerCase();return t==="1"||t==="true"||t==="yes"}var Pv=ut(()=>{"use strict";Pn();});import*as Me from"node:fs";import*as vt from"node:path";import*as $v from"node:util";function Do(e=new Date){let t=e.getTimezoneOffset(),i=new Date(e.getTime()-t*6e4).toISOString().slice(0,-1);if(t===0)return`${i}Z`;let r=t<=0?"+":"-",o=Math.abs(t),a=String(Math.floor(o/60)).padStart(2,"0"),c=String(o%60).padStart(2,"0");return`${i}${r}${a}:${c}`}function Dj(e){let t=Do(e).replace(/[:.]/g,"-"),n=Math.random().toString(36).slice(2,8);return`${t}-${n}-p${process.pid}`}function Dv(){return process.env[t_]==="1"?"remote-worker":"main"}function yj(e){return e===void 0?"undefined":e===null?"null":typeof e=="string"?JSON.stringify(e):typeof e=="number"||typeof e=="boolean"||typeof e=="bigint"?String(e):JSON.stringify(e)}function bj(e){if(!e)return"";let t=[["session",e.session_id],["turn",e.turn_id],["loop",e.loop_id],["stream",e.stream_id],["request",e.request_id],["tool",e.tool_call_id],["permission",e.permission_id],["span",e.span_id]].flatMap(([n,i])=>i?[`${n}=${i}`]:[]);return t.length>0?`[${t.join(" ")}] `:""}function Sj(e){if(!e)return"";let t=Object.entries(e).filter(([,n])=>n!==void 0).map(([n,i])=>`${n}=${yj(i)}`).join(" ");return t?` ${t}`:""}function $j(e){return!!e&&typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0}function Ms(e,t,n=new WeakMap){if(t&&Ij.has(t)&&typeof e=="number"&&Number.isFinite(e))return hv(e);if(Array.isArray(e)){let i=n.get(e);if(i)return i;let r=[];n.set(e,r);for(let o of e)r.push(Ms(o,void 0,n));return r}if(e&&typeof e=="object"&&kj(e)){let i=n.get(e);if(i)return i;let r={};n.set(e,r);for(let[o,a]of Object.entries(e))r[o]=Ms(a,o,n);return r}return e}function kj(e){let t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}function yv(e){if(e)return Ms(e)}function Aj(e,t){if(!e)return;let n={};for(let[i,r]of Object.entries(e))r!==void 0&&(Array.isArray(r)&&r.length===0||$j(r)||r===!1&&xj.has(i)||i==="request_id"&&r===t?.request_id||(n[i]=r));return Object.keys(n).length>0?n:void 0}function wj(e){let t=e.ids,n={ts:e.ts,seq:e.seq,level:e.level,type:e.type,turn_id:t?.turn_id,loop_id:t?.loop_id,request_id:t?.request_id,tool_call_id:t?.tool_call_id,permission_id:t?.permission_id,data:Aj(e.data,t)};for(let i of Object.keys(n))n[i]===void 0&&delete n[i];return n}function c_(e){let t=e.summary?` ${e.summary}`:"";return`${e.ts} ${e.level.toUpperCase().padEnd(5)} ${bj(e.ids)}${e.type}${t}${Sj(e.data)}
3
+ `}function bv(e){try{Me.mkdirSync(vt.dirname(e),{recursive:!0});let t=Me.openSync(e,"a");return{write(n){Me.writeSync(t,n)},close(){Me.closeSync(t)}}}catch{return}}var vv,xj,Ij,Sv,u_,Ej,yo,xv=ut(()=>{"use strict";ov();Fv();Ym();Pn();Pv();vv=`${AP}.log`;xj=new Set(["is_error","denied_by_permission","updated_input","truncated"]),Ij=new Set(["after_token_count","before_token_count","cache_creation_input_tokens","cache_read_input_tokens","cache_read_tokens","cache_write_tokens","cached_content_token_count","compact_token_usage_json","completion_tokens","current_tokens","history_size_tokens","input_token_count","input_tokens","output_token_count","output_tokens","overflow_tokens","prompt_tokens","thoughts_token_count","thinking_tokens","token_count","tokens_after","tokens_after_compact","tokens_before","tokens_before_compact","tokens_saved","tool_token_count","total_cache_read_tokens","total_cache_write_tokens","total_input_tokens","total_output_tokens","total_thinking_tokens","total_token_count","total_tokens","true_after_token_count"]);Sv={error:0,warn:1,info:2,debug:3},u_=class{startedAt=new Date;runId=Dj(this.startedAt);logsRoot=vt.join(gv(),"logs");runDir=vt.join(this.logsRoot,"runs",this.runId);processLogPath=vt.join(this.runDir,vv);manifestPath=vt.join(this.runDir,"manifest.json");seq=0;_minLevel="info";initialized=!1;closed=!1;processLogWriter;sessionLogWriters=new Map;ensuredSessionDirs=new Set;sessionProjectIds=new Map;exitContext;handleProcessExit=t=>{this.close(t)};constructor(){process.once("exit",this.handleProcessExit)}set minLevel(t){this._minLevel=t}get minLevel(){return this._minLevel}shouldLog(t){return Sv[t]<=Sv[this._minLevel]}getRunId(){return this.runId}getRunDir(){return this.runDir}getProcessLogPath(){return this.processLogPath}bindSessionProject(t,n){this.sessionProjectIds.set(t,vo(n))}clearSessionProject(t){this.sessionProjectIds.delete(t)}setExitContext(t){this.exitContext||(this.exitContext=t)}ensureInitialized(){if(this.initialized)return!0;if(this.closed)return!1;try{return Me.mkdirSync(this.runDir,{recursive:!0}),Me.writeFileSync(this.manifestPath,JSON.stringify(this.createManifest(),null,2)+`
4
+ `,"utf8"),this.processLogWriter=bv(this.processLogPath),this.updateLatestSymlink(),this.initialized=!0,this.event({level:"info",kind:"process",type:"process.started",data:{run_id:this.runId,pid:process.pid,role:Dv()}}),!0}catch{return!1}}createManifest(){let t=process.cwd(),n=String(Xm);return{run_id:this.runId,started_at:Do(this.startedAt),pid:process.pid,ppid:process.ppid,process_role:Dv(),cli_version:n!=="UNKNOWN"?n:"1.1.100",node_version:process.version,platform:process.platform,arch:process.arch,cwd:t,project_id:vo(t),argv:process.argv.slice(),env_flags:{debug:!!process.env.DEBUG,remote_worker:process.env[t_]==="1",ci:!!process.env.CI},log_files:{process:vv}}}updateLatestSymlink(){let t=vt.join(this.logsRoot,"latest");try{Me.rmSync(t,{recursive:!0,force:!0}),Me.symlinkSync(vt.relative(this.logsRoot,this.runDir),t)}catch{}}getOrCreateSessionWriter(t){if(!t?.session_id)return;let n=t.project_id??this.sessionProjectIds.get(t.session_id)??vo(process.cwd()),i=vt.join(this.logsRoot,"sessions",n,t.session_id,"segments"),r=vt.join(i,`${this.runId}.jsonl`),o=this.sessionLogWriters.get(r);if(o)return o;if(!this.ensuredSessionDirs.has(i)){try{Me.mkdirSync(i,{recursive:!0})}catch{return}this.ensuredSessionDirs.add(i)}return o=bv(r),o&&this.sessionLogWriters.set(r,o),o}event(t){if(!this.shouldLog(t.level)||!this.ensureInitialized())return;let n=++this.seq,{preserveSessionTokenUsage:i=!1,...r}=t,o={ts:Do(),seq:n,run_id:this.runId,pid:process.pid,...r,data:yv(t.data)};try{let a=c_(o);this.processLogWriter?.write(a);let c=this.getOrCreateSessionWriter(o.ids);if(c){let l=i?{...o,data:t.data}:o;c.write(JSON.stringify(wj(l))+`
5
+ `)}}catch{this.initialized=!1}}text(t,n,i,r,o){if(this.shouldLog(t)&&this.ensureInitialized())try{this.processLogWriter?.write(c_({ts:Do(),level:t,type:n,summary:i,data:yv(r),ids:o}))}catch{this.initialized=!1}}debugMessage(t,n){this.text(t,"debug.message",$v.format(...n.map(i=>Ms(i))))}close(t){if(!this.closed){if(this.initialized&&this.processLogWriter){let n=t??this.exitContext?.exit_code??process.exitCode??void 0,i=this.exitContext,r={};n!==void 0&&(r.exit_code=n),i?(r.reason=i.reason,i.message&&(r.message=i.message),i.source&&(r.source=i.source),i.signal&&(r.signal=i.signal),i.error_name&&(r.error_name=i.error_name),i.error_stack&&(r.error_stack=i.error_stack.slice(0,2e3))):n===0||n===void 0?r.reason="success":(r.reason="unknown",r.message="no exit context was set before process.exit()"),r.uptime_ms=Date.now()-this.startedAt.getTime();let o=n!==void 0&&n!==0?"warn":"info",a=c_({ts:Do(),level:o,type:"process.exiting",data:r});try{this.processLogWriter.write(a)}catch{}}this.closed=!0;try{this.processLogWriter?.close()}catch{}this.processLogWriter=void 0;for(let n of this.sessionLogWriters.values())try{n.close()}catch{}this.sessionLogWriters.clear(),process.off("exit",this.handleProcessExit)}}},Ej=new u_,yo=Ej});var Us,l_,ft,Iv=ut(()=>{"use strict";xv();Us={ERROR:0,WARN:1,LOG:2,DEBUG:3},l_=class{_minLevel="LOG";set minLevel(t){this._minLevel=t,yo.minLevel=t==="LOG"?"info":t.toLowerCase()}get minLevel(){return this._minLevel}get isDebugEnabled(){return Us[this._minLevel]>=Us.DEBUG}getDebugLogPath(){return yo.getProcessLogPath()}async close(){yo.close()}shouldLog(t){return Us[t]<=Us[this._minLevel]}writeLogEntry(t,n,i){this.shouldLog(n)&&yo.debugMessage(t,i)}log(...t){this.writeLogEntry("info","LOG",t)}warn(...t){this.writeLogEntry("warn","WARN",t)}error(...t){this.writeLogEntry("error","ERROR",t)}debug(...t){this.writeLogEntry("debug","DEBUG",t)}},ft=new l_});var Ct=ue((_V,wv)=>{var Av=e=>typeof e<"u"&&e!==null,Cj=e=>typeof e=="object",Rj=e=>Object.prototype.toString.call(e)==="[object Object]",jj=e=>typeof e=="function",Nj=e=>typeof e=="boolean",zj=e=>e instanceof Buffer,Lj=e=>{if(Av(e))switch(e.constructor){case Uint8Array:case Uint8ClampedArray:case Int8Array:case Uint16Array:case Int16Array:case Uint32Array:case Int32Array:case Float32Array:case Float64Array:return!0}return!1},Mj=e=>e instanceof ArrayBuffer,Uj=e=>typeof e=="string"&&e.length>0,Bj=e=>typeof e=="number"&&!Number.isNaN(e),Wj=e=>Number.isInteger(e),Vj=(e,t,n)=>e>=t&&e<=n,Zj=(e,t)=>t.includes(e),Hj=(e,t,n)=>new Error(`Expected ${t} for ${e} but received ${n} of type ${typeof n}`),Jj=(e,t)=>(t.message=e.message,t);wv.exports={defined:Av,object:Cj,plainObject:Rj,fn:jj,bool:Nj,buffer:zj,typedArray:Lj,arrayBuffer:Mj,string:Uj,number:Bj,integer:Wj,inRange:Vj,inArray:Zj,invalidParameterError:Hj,nativeError:Jj}});var Tv=ue((pV,Ov)=>{"use strict";var Ev=()=>process.platform==="linux",Ws=null,Kj=()=>{if(!Ws)if(Ev()&&process.report){let e=process.report.excludeNetwork;process.report.excludeNetwork=!0,Ws=process.report.getReport(),process.report.excludeNetwork=e}else Ws={};return Ws};Ov.exports={isLinux:Ev,getReport:Kj}});var Cv=ue((gV,Gv)=>{"use strict";var ei=xe("fs"),qj="/usr/bin/ldd",Xj="/proc/self/exe",Vs=2048,Yj=e=>{let t=ei.openSync(e,"r"),n=Buffer.alloc(Vs),i=ei.readSync(t,n,0,Vs,0);return ei.close(t,()=>{}),n.subarray(0,i)},Qj=e=>new Promise((t,n)=>{ei.open(e,"r",(i,r)=>{if(i)n(i);else{let o=Buffer.alloc(Vs);ei.read(r,o,0,Vs,0,(a,c)=>{t(o.subarray(0,c)),ei.close(r,()=>{})})}})});Gv.exports={LDD_PATH:qj,SELF_PATH:Xj,readFileSync:Yj,readFile:Qj}});var jv=ue((FV,Rv)=>{"use strict";var eN=e=>{if(e.length<64||e.readUInt32BE(0)!==2135247942||e.readUInt8(4)!==2||e.readUInt8(5)!==1)return null;let t=e.readUInt32LE(32),n=e.readUInt16LE(54),i=e.readUInt16LE(56);for(let r=0;r<i;r++){let o=t+r*n;if(e.readUInt32LE(o)===3){let c=e.readUInt32LE(o+8),l=e.readUInt32LE(o+32);return e.subarray(c,c+l).toString().replace(/\0.*$/g,"")}}return null};Rv.exports={interpreterPath:eN}});var Hs=ue((hV,tD)=>{"use strict";var zv=xe("child_process"),{isLinux:ti,getReport:Lv}=Tv(),{LDD_PATH:Zs,SELF_PATH:Mv,readFile:d_,readFileSync:f_}=Cv(),{interpreterPath:Uv}=jv(),Rt,jt,Nt,Bv="getconf GNU_LIBC_VERSION 2>&1 || true; ldd --version 2>&1 || true",vn="",Wv=()=>vn||new Promise(e=>{zv.exec(Bv,(t,n)=>{vn=t?" ":n,e(vn)})}),Vv=()=>{if(!vn)try{vn=zv.execSync(Bv,{encoding:"utf8"})}catch{vn=" "}return vn},qt="glibc",Zv=/LIBC[a-z0-9 \-).]*?(\d+\.\d+)/i,Xn="musl",tN=e=>e.includes("libc.musl-")||e.includes("ld-musl-"),Hv=()=>{let e=Lv();return e.header&&e.header.glibcVersionRuntime?qt:Array.isArray(e.sharedObjects)&&e.sharedObjects.some(tN)?Xn:null},Jv=e=>{let[t,n]=e.split(/[\r\n]+/);return t&&t.includes(qt)?qt:n&&n.includes(Xn)?Xn:null},Kv=e=>{if(e){if(e.includes("/ld-musl-"))return Xn;if(e.includes("/ld-linux-"))return qt}return null},qv=e=>(e=e.toString(),e.includes("musl")?Xn:e.includes("GNU C Library")?qt:null),nN=async()=>{if(jt!==void 0)return jt;jt=null;try{let e=await d_(Zs);jt=qv(e)}catch{}return jt},rN=()=>{if(jt!==void 0)return jt;jt=null;try{let e=f_(Zs);jt=qv(e)}catch{}return jt},iN=async()=>{if(Rt!==void 0)return Rt;Rt=null;try{let e=await d_(Mv),t=Uv(e);Rt=Kv(t)}catch{}return Rt},oN=()=>{if(Rt!==void 0)return Rt;Rt=null;try{let e=f_(Mv),t=Uv(e);Rt=Kv(t)}catch{}return Rt},Xv=async()=>{let e=null;if(ti()&&(e=await iN(),!e&&(e=await nN(),e||(e=Hv()),!e))){let t=await Wv();e=Jv(t)}return e},Yv=()=>{let e=null;if(ti()&&(e=oN(),!e&&(e=rN(),e||(e=Hv()),!e))){let t=Vv();e=Jv(t)}return e},aN=async()=>ti()&&await Xv()!==qt,sN=()=>ti()&&Yv()!==qt,cN=async()=>{if(Nt!==void 0)return Nt;Nt=null;try{let t=(await d_(Zs)).match(Zv);t&&(Nt=t[1])}catch{}return Nt},uN=()=>{if(Nt!==void 0)return Nt;Nt=null;try{let t=f_(Zs).match(Zv);t&&(Nt=t[1])}catch{}return Nt},Qv=()=>{let e=Lv();return e.header&&e.header.glibcVersionRuntime?e.header.glibcVersionRuntime:null},Nv=e=>e.trim().split(/\s+/)[1],eD=e=>{let[t,n,i]=e.split(/[\r\n]+/);return t&&t.includes(qt)?Nv(t):n&&i&&n.includes(Xn)?Nv(i):null},lN=async()=>{let e=null;if(ti()&&(e=await cN(),e||(e=Qv()),!e)){let t=await Wv();e=eD(t)}return e},dN=()=>{let e=null;if(ti()&&(e=uN(),e||(e=Qv()),!e)){let t=Vv();e=eD(t)}return e};tD.exports={GLIBC:qt,MUSL:Xn,family:Xv,familySync:Yv,isNonGlibcLinux:aN,isNonGlibcLinuxSync:sN,version:lN,versionSync:dN}});var bo=ue((PV,nD)=>{"use strict";var fN=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};nD.exports=fN});var Js=ue((vV,rD)=>{"use strict";var mN="2.0.0",_N=Number.MAX_SAFE_INTEGER||9007199254740991,pN=16,gN=250,FN=["major","premajor","minor","preminor","patch","prepatch","prerelease"];rD.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:pN,MAX_SAFE_BUILD_LENGTH:gN,MAX_SAFE_INTEGER:_N,RELEASE_TYPES:FN,SEMVER_SPEC_VERSION:mN,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var So=ue((zt,iD)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:m_,MAX_SAFE_BUILD_LENGTH:hN,MAX_LENGTH:PN}=Js(),vN=bo();zt=iD.exports={};var DN=zt.re=[],yN=zt.safeRe=[],B=zt.src=[],bN=zt.safeSrc=[],W=zt.t={},SN=0,__="[a-zA-Z0-9-]",$N=[["\\s",1],["\\d",PN],[__,hN]],xN=e=>{for(let[t,n]of $N)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e},re=(e,t,n)=>{let i=xN(t),r=SN++;vN(e,r,t),W[e]=r,B[r]=t,bN[r]=i,DN[r]=new RegExp(t,n?"g":void 0),yN[r]=new RegExp(i,n?"g":void 0)};re("NUMERICIDENTIFIER","0|[1-9]\\d*");re("NUMERICIDENTIFIERLOOSE","\\d+");re("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${__}*`);re("MAINVERSION",`(${B[W.NUMERICIDENTIFIER]})\\.(${B[W.NUMERICIDENTIFIER]})\\.(${B[W.NUMERICIDENTIFIER]})`);re("MAINVERSIONLOOSE",`(${B[W.NUMERICIDENTIFIERLOOSE]})\\.(${B[W.NUMERICIDENTIFIERLOOSE]})\\.(${B[W.NUMERICIDENTIFIERLOOSE]})`);re("PRERELEASEIDENTIFIER",`(?:${B[W.NONNUMERICIDENTIFIER]}|${B[W.NUMERICIDENTIFIER]})`);re("PRERELEASEIDENTIFIERLOOSE",`(?:${B[W.NONNUMERICIDENTIFIER]}|${B[W.NUMERICIDENTIFIERLOOSE]})`);re("PRERELEASE",`(?:-(${B[W.PRERELEASEIDENTIFIER]}(?:\\.${B[W.PRERELEASEIDENTIFIER]})*))`);re("PRERELEASELOOSE",`(?:-?(${B[W.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${B[W.PRERELEASEIDENTIFIERLOOSE]})*))`);re("BUILDIDENTIFIER",`${__}+`);re("BUILD",`(?:\\+(${B[W.BUILDIDENTIFIER]}(?:\\.${B[W.BUILDIDENTIFIER]})*))`);re("FULLPLAIN",`v?${B[W.MAINVERSION]}${B[W.PRERELEASE]}?${B[W.BUILD]}?`);re("FULL",`^${B[W.FULLPLAIN]}$`);re("LOOSEPLAIN",`[v=\\s]*${B[W.MAINVERSIONLOOSE]}${B[W.PRERELEASELOOSE]}?${B[W.BUILD]}?`);re("LOOSE",`^${B[W.LOOSEPLAIN]}$`);re("GTLT","((?:<|>)?=?)");re("XRANGEIDENTIFIERLOOSE",`${B[W.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);re("XRANGEIDENTIFIER",`${B[W.NUMERICIDENTIFIER]}|x|X|\\*`);re("XRANGEPLAIN",`[v=\\s]*(${B[W.XRANGEIDENTIFIER]})(?:\\.(${B[W.XRANGEIDENTIFIER]})(?:\\.(${B[W.XRANGEIDENTIFIER]})(?:${B[W.PRERELEASE]})?${B[W.BUILD]}?)?)?`);re("XRANGEPLAINLOOSE",`[v=\\s]*(${B[W.XRANGEIDENTIFIERLOOSE]})(?:\\.(${B[W.XRANGEIDENTIFIERLOOSE]})(?:\\.(${B[W.XRANGEIDENTIFIERLOOSE]})(?:${B[W.PRERELEASELOOSE]})?${B[W.BUILD]}?)?)?`);re("XRANGE",`^${B[W.GTLT]}\\s*${B[W.XRANGEPLAIN]}$`);re("XRANGELOOSE",`^${B[W.GTLT]}\\s*${B[W.XRANGEPLAINLOOSE]}$`);re("COERCEPLAIN",`(^|[^\\d])(\\d{1,${m_}})(?:\\.(\\d{1,${m_}}))?(?:\\.(\\d{1,${m_}}))?`);re("COERCE",`${B[W.COERCEPLAIN]}(?:$|[^\\d])`);re("COERCEFULL",B[W.COERCEPLAIN]+`(?:${B[W.PRERELEASE]})?(?:${B[W.BUILD]})?(?:$|[^\\d])`);re("COERCERTL",B[W.COERCE],!0);re("COERCERTLFULL",B[W.COERCEFULL],!0);re("LONETILDE","(?:~>?)");re("TILDETRIM",`(\\s*)${B[W.LONETILDE]}\\s+`,!0);zt.tildeTrimReplace="$1~";re("TILDE",`^${B[W.LONETILDE]}${B[W.XRANGEPLAIN]}$`);re("TILDELOOSE",`^${B[W.LONETILDE]}${B[W.XRANGEPLAINLOOSE]}$`);re("LONECARET","(?:\\^)");re("CARETTRIM",`(\\s*)${B[W.LONECARET]}\\s+`,!0);zt.caretTrimReplace="$1^";re("CARET",`^${B[W.LONECARET]}${B[W.XRANGEPLAIN]}$`);re("CARETLOOSE",`^${B[W.LONECARET]}${B[W.XRANGEPLAINLOOSE]}$`);re("COMPARATORLOOSE",`^${B[W.GTLT]}\\s*(${B[W.LOOSEPLAIN]})$|^$`);re("COMPARATOR",`^${B[W.GTLT]}\\s*(${B[W.FULLPLAIN]})$|^$`);re("COMPARATORTRIM",`(\\s*)${B[W.GTLT]}\\s*(${B[W.LOOSEPLAIN]}|${B[W.XRANGEPLAIN]})`,!0);zt.comparatorTrimReplace="$1$2$3";re("HYPHENRANGE",`^\\s*(${B[W.XRANGEPLAIN]})\\s+-\\s+(${B[W.XRANGEPLAIN]})\\s*$`);re("HYPHENRANGELOOSE",`^\\s*(${B[W.XRANGEPLAINLOOSE]})\\s+-\\s+(${B[W.XRANGEPLAINLOOSE]})\\s*$`);re("STAR","(<|>)?=?\\s*\\*");re("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");re("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Ks=ue((DV,oD)=>{"use strict";var IN=Object.freeze({loose:!0}),kN=Object.freeze({}),AN=e=>e?typeof e!="object"?IN:e:kN;oD.exports=AN});var uD=ue((yV,cD)=>{"use strict";var aD=/^[0-9]+$/,sD=(e,t)=>{if(typeof e=="number"&&typeof t=="number")return e===t?0:e<t?-1:1;let n=aD.test(e),i=aD.test(t);return n&&i&&(e=+e,t=+t),e===t?0:n&&!i?-1:i&&!n?1:e<t?-1:1},wN=(e,t)=>sD(t,e);cD.exports={compareIdentifiers:sD,rcompareIdentifiers:wN}});var ni=ue((bV,dD)=>{"use strict";var qs=bo(),{MAX_LENGTH:lD,MAX_SAFE_INTEGER:Xs}=Js(),{safeRe:Ys,t:Qs}=So(),EN=Ks(),{compareIdentifiers:p_}=uD(),g_=class e{constructor(t,n){if(n=EN(n),t instanceof e){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>lD)throw new TypeError(`version is longer than ${lD} characters`);qs("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let i=t.trim().match(n.loose?Ys[Qs.LOOSE]:Ys[Qs.FULL]);if(!i)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>Xs||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Xs||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Xs||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(r=>{if(/^[0-9]+$/.test(r)){let o=+r;if(o>=0&&o<Xs)return o}return r}):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(qs("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if(typeof t=="string"&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),this.major<t.major?-1:this.major>t.major?1:this.minor<t.minor?-1:this.minor>t.minor?1:this.patch<t.patch?-1:this.patch>t.patch?1:0}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{let i=this.prerelease[n],r=t.prerelease[n];if(qs("prerelease compare",n,i,r),i===void 0&&r===void 0)return 0;if(r===void 0)return 1;if(i===void 0)return-1;if(i===r)continue;return p_(i,r)}while(++n)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let n=0;do{let i=this.build[n],r=t.build[n];if(qs("build compare",n,i,r),i===void 0&&r===void 0)return 0;if(r===void 0)return 1;if(i===void 0)return-1;if(i===r)continue;return p_(i,r)}while(++n)}inc(t,n,i){if(t.startsWith("pre")){if(!n&&i===!1)throw new Error("invalid increment argument: identifier is empty");if(n){let r=`-${n}`.match(this.options.loose?Ys[Qs.PRERELEASELOOSE]:Ys[Qs.PRERELEASE]);if(!r||r[1]!==n)throw new Error(`invalid identifier: ${n}`)}}switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,i),this.inc("pre",n,i);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,i),this.inc("pre",n,i);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let r=Number(i)?1:0;if(this.prerelease.length===0)this.prerelease=[r];else{let o=this.prerelease.length;for(;--o>=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(n===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(r)}}if(n){let o=[n,r];i===!1&&(o=[n]),p_(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};dD.exports=g_});var _D=ue((SV,mD)=>{"use strict";var fD=ni(),ON=(e,t,n=!1)=>{if(e instanceof fD)return e;try{return new fD(e,t)}catch(i){if(!n)return null;throw i}};mD.exports=ON});var gD=ue(($V,pD)=>{"use strict";var TN=ni(),GN=_D(),{safeRe:ec,t:tc}=So(),CN=(e,t)=>{if(e instanceof TN)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let n=null;if(!t.rtl)n=e.match(t.includePrerelease?ec[tc.COERCEFULL]:ec[tc.COERCE]);else{let l=t.includePrerelease?ec[tc.COERCERTLFULL]:ec[tc.COERCERTL],f;for(;(f=l.exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||f.index+f[0].length!==n.index+n[0].length)&&(n=f),l.lastIndex=f.index+f[1].length+f[2].length;l.lastIndex=-1}if(n===null)return null;let i=n[2],r=n[3]||"0",o=n[4]||"0",a=t.includePrerelease&&n[5]?`-${n[5]}`:"",c=t.includePrerelease&&n[6]?`+${n[6]}`:"";return GN(`${i}.${r}.${o}${a}${c}`,t)};pD.exports=CN});var Yn=ue((xV,hD)=>{"use strict";var FD=ni(),RN=(e,t,n)=>new FD(e,n).compare(new FD(t,n));hD.exports=RN});var F_=ue((IV,PD)=>{"use strict";var jN=Yn(),NN=(e,t,n)=>jN(e,t,n)>=0;PD.exports=NN});var DD=ue((kV,vD)=>{"use strict";var h_=class{constructor(){this.max=1e3,this.map=new Map}get(t){let n=this.map.get(t);if(n!==void 0)return this.map.delete(t),this.map.set(t,n),n}delete(t){return this.map.delete(t)}set(t,n){if(!this.delete(t)&&n!==void 0){if(this.map.size>=this.max){let r=this.map.keys().next().value;this.delete(r)}this.map.set(t,n)}return this}};vD.exports=h_});var bD=ue((AV,yD)=>{"use strict";var zN=Yn(),LN=(e,t,n)=>zN(e,t,n)===0;yD.exports=LN});var $D=ue((wV,SD)=>{"use strict";var MN=Yn(),UN=(e,t,n)=>MN(e,t,n)!==0;SD.exports=UN});var ID=ue((EV,xD)=>{"use strict";var BN=Yn(),WN=(e,t,n)=>BN(e,t,n)>0;xD.exports=WN});var AD=ue((OV,kD)=>{"use strict";var VN=Yn(),ZN=(e,t,n)=>VN(e,t,n)<0;kD.exports=ZN});var ED=ue((TV,wD)=>{"use strict";var HN=Yn(),JN=(e,t,n)=>HN(e,t,n)<=0;wD.exports=JN});var TD=ue((GV,OD)=>{"use strict";var KN=bD(),qN=$D(),XN=ID(),YN=F_(),QN=AD(),e2=ED(),t2=(e,t,n,i)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e===n;case"!==":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e!==n;case"":case"=":case"==":return KN(e,n,i);case"!=":return qN(e,n,i);case">":return XN(e,n,i);case">=":return YN(e,n,i);case"<":return QN(e,n,i);case"<=":return e2(e,n,i);default:throw new TypeError(`Invalid operator: ${t}`)}};OD.exports=t2});var LD=ue((CV,zD)=>{"use strict";var $o=Symbol("SemVer ANY"),D_=class e{static get ANY(){return $o}constructor(t,n){if(n=GD(n),t instanceof e){if(t.loose===!!n.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),v_("comparator",t,n),this.options=n,this.loose=!!n.loose,this.parse(t),this.semver===$o?this.value="":this.value=this.operator+this.semver.version,v_("comp",this)}parse(t){let n=this.options.loose?CD[RD.COMPARATORLOOSE]:CD[RD.COMPARATOR],i=t.match(n);if(!i)throw new TypeError(`Invalid comparator: ${t}`);this.operator=i[1]!==void 0?i[1]:"",this.operator==="="&&(this.operator=""),i[2]?this.semver=new jD(i[2],this.options.loose):this.semver=$o}toString(){return this.value}test(t){if(v_("Comparator.test",t,this.options.loose),this.semver===$o||t===$o)return!0;if(typeof t=="string")try{t=new jD(t,this.options)}catch{return!1}return P_(t,this.operator,this.semver,this.options)}intersects(t,n){if(!(t instanceof e))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new ND(t.value,n).test(this.value):t.operator===""?t.value===""?!0:new ND(this.value,n).test(t.semver):(n=GD(n),n.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")||!n.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&t.operator.startsWith(">")||this.operator.startsWith("<")&&t.operator.startsWith("<")||this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")||P_(this.semver,"<",t.semver,n)&&this.operator.startsWith(">")&&t.operator.startsWith("<")||P_(this.semver,">",t.semver,n)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}};zD.exports=D_;var GD=Ks(),{safeRe:CD,t:RD}=So(),P_=TD(),v_=bo(),jD=ni(),ND=y_()});var y_=ue((RV,WD)=>{"use strict";var n2=/\s+/g,b_=class e{constructor(t,n){if(n=i2(n),t instanceof e)return t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease?t:new e(t.raw,n);if(t instanceof S_)return this.raw=t.value,this.set=[[t]],this.formatted=void 0,this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=t.trim().replace(n2," "),this.set=this.raw.split("||").map(i=>this.parseRange(i.trim())).filter(i=>i.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let i=this.set[0];if(this.set=this.set.filter(r=>!UD(r[0])),this.set.length===0)this.set=[i];else if(this.set.length>1){for(let r of this.set)if(r.length===1&&d2(r[0])){this.set=[r];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let t=0;t<this.set.length;t++){t>0&&(this.formatted+="||");let n=this.set[t];for(let i=0;i<n.length;i++)i>0&&(this.formatted+=" "),this.formatted+=n[i].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(t){let i=((this.options.includePrerelease&&u2)|(this.options.loose&&l2))+":"+t,r=MD.get(i);if(r)return r;let o=this.options.loose,a=o?Xe[Ue.HYPHENRANGELOOSE]:Xe[Ue.HYPHENRANGE];t=t.replace(a,D2(this.options.includePrerelease)),be("hyphen replace",t),t=t.replace(Xe[Ue.COMPARATORTRIM],a2),be("comparator trim",t),t=t.replace(Xe[Ue.TILDETRIM],s2),be("tilde trim",t),t=t.replace(Xe[Ue.CARETTRIM],c2),be("caret trim",t);let c=t.split(" ").map(D=>f2(D,this.options)).join(" ").split(/\s+/).map(D=>v2(D,this.options));o&&(c=c.filter(D=>(be("loose invalid filter",D,this.options),!!D.match(Xe[Ue.COMPARATORLOOSE])))),be("range list",c);let l=new Map,f=c.map(D=>new S_(D,this.options));for(let D of f){if(UD(D))return[D];l.set(D.value,D)}l.size>1&&l.has("")&&l.delete("");let g=[...l.values()];return MD.set(i,g),g}intersects(t,n){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some(i=>BD(i,n)&&t.set.some(r=>BD(r,n)&&i.every(o=>r.every(a=>o.intersects(a,n)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new o2(t,this.options)}catch{return!1}for(let n=0;n<this.set.length;n++)if(y2(this.set[n],t,this.options))return!0;return!1}};WD.exports=b_;var r2=DD(),MD=new r2,i2=Ks(),S_=LD(),be=bo(),o2=ni(),{safeRe:Xe,t:Ue,comparatorTrimReplace:a2,tildeTrimReplace:s2,caretTrimReplace:c2}=So(),{FLAG_INCLUDE_PRERELEASE:u2,FLAG_LOOSE:l2}=Js(),UD=e=>e.value==="<0.0.0-0",d2=e=>e.value==="",BD=(e,t)=>{let n=!0,i=e.slice(),r=i.pop();for(;n&&i.length;)n=i.every(o=>r.intersects(o,t)),r=i.pop();return n},f2=(e,t)=>(e=e.replace(Xe[Ue.BUILD],""),be("comp",e,t),e=p2(e,t),be("caret",e),e=m2(e,t),be("tildes",e),e=F2(e,t),be("xrange",e),e=P2(e,t),be("stars",e),e),Ye=e=>!e||e.toLowerCase()==="x"||e==="*",m2=(e,t)=>e.trim().split(/\s+/).map(n=>_2(n,t)).join(" "),_2=(e,t)=>{let n=t.loose?Xe[Ue.TILDELOOSE]:Xe[Ue.TILDE];return e.replace(n,(i,r,o,a,c)=>{be("tilde",e,i,r,o,a,c);let l;return Ye(r)?l="":Ye(o)?l=`>=${r}.0.0 <${+r+1}.0.0-0`:Ye(a)?l=`>=${r}.${o}.0 <${r}.${+o+1}.0-0`:c?(be("replaceTilde pr",c),l=`>=${r}.${o}.${a}-${c} <${r}.${+o+1}.0-0`):l=`>=${r}.${o}.${a} <${r}.${+o+1}.0-0`,be("tilde return",l),l})},p2=(e,t)=>e.trim().split(/\s+/).map(n=>g2(n,t)).join(" "),g2=(e,t)=>{be("caret",e,t);let n=t.loose?Xe[Ue.CARETLOOSE]:Xe[Ue.CARET],i=t.includePrerelease?"-0":"";return e.replace(n,(r,o,a,c,l)=>{be("caret",e,r,o,a,c,l);let f;return Ye(o)?f="":Ye(a)?f=`>=${o}.0.0${i} <${+o+1}.0.0-0`:Ye(c)?o==="0"?f=`>=${o}.${a}.0${i} <${o}.${+a+1}.0-0`:f=`>=${o}.${a}.0${i} <${+o+1}.0.0-0`:l?(be("replaceCaret pr",l),o==="0"?a==="0"?f=`>=${o}.${a}.${c}-${l} <${o}.${a}.${+c+1}-0`:f=`>=${o}.${a}.${c}-${l} <${o}.${+a+1}.0-0`:f=`>=${o}.${a}.${c}-${l} <${+o+1}.0.0-0`):(be("no pr"),o==="0"?a==="0"?f=`>=${o}.${a}.${c}${i} <${o}.${a}.${+c+1}-0`:f=`>=${o}.${a}.${c}${i} <${o}.${+a+1}.0-0`:f=`>=${o}.${a}.${c} <${+o+1}.0.0-0`),be("caret return",f),f})},F2=(e,t)=>(be("replaceXRanges",e,t),e.split(/\s+/).map(n=>h2(n,t)).join(" ")),h2=(e,t)=>{e=e.trim();let n=t.loose?Xe[Ue.XRANGELOOSE]:Xe[Ue.XRANGE];return e.replace(n,(i,r,o,a,c,l)=>{be("xRange",e,i,r,o,a,c,l);let f=Ye(o),g=f||Ye(a),D=g||Ye(c),b=D;return r==="="&&b&&(r=""),l=t.includePrerelease?"-0":"",f?r===">"||r==="<"?i="<0.0.0-0":i="*":r&&b?(g&&(a=0),c=0,r===">"?(r=">=",g?(o=+o+1,a=0,c=0):(a=+a+1,c=0)):r==="<="&&(r="<",g?o=+o+1:a=+a+1),r==="<"&&(l="-0"),i=`${r+o}.${a}.${c}${l}`):g?i=`>=${o}.0.0${l} <${+o+1}.0.0-0`:D&&(i=`>=${o}.${a}.0${l} <${o}.${+a+1}.0-0`),be("xRange return",i),i})},P2=(e,t)=>(be("replaceStars",e,t),e.trim().replace(Xe[Ue.STAR],"")),v2=(e,t)=>(be("replaceGTE0",e,t),e.trim().replace(Xe[t.includePrerelease?Ue.GTE0PRE:Ue.GTE0],"")),D2=e=>(t,n,i,r,o,a,c,l,f,g,D,b)=>(Ye(i)?n="":Ye(r)?n=`>=${i}.0.0${e?"-0":""}`:Ye(o)?n=`>=${i}.${r}.0${e?"-0":""}`:a?n=`>=${n}`:n=`>=${n}${e?"-0":""}`,Ye(f)?l="":Ye(g)?l=`<${+f+1}.0.0-0`:Ye(D)?l=`<${f}.${+g+1}.0-0`:b?l=`<=${f}.${g}.${D}-${b}`:e?l=`<${f}.${g}.${+D+1}-0`:l=`<=${l}`,`${n} ${l}`.trim()),y2=(e,t,n)=>{for(let i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let i=0;i<e.length;i++)if(be(e[i].semver),e[i].semver!==S_.ANY&&e[i].semver.prerelease.length>0){let r=e[i].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}});var ZD=ue((jV,VD)=>{"use strict";var b2=y_(),S2=(e,t,n)=>{try{t=new b2(t,n)}catch{return!1}return t.test(e)};VD.exports=S2});var $_=ue((NV,$2)=>{$2.exports={name:"sharp",description:"High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images",version:"0.34.5",author:"Lovell Fuller <npm@lovell.info>",homepage:"https://sharp.pixelplumbing.com",contributors:["Pierre Inglebert <pierre.inglebert@gmail.com>","Jonathan Ong <jonathanrichardong@gmail.com>","Chanon Sajjamanochai <chanon.s@gmail.com>","Juliano Julio <julianojulio@gmail.com>","Daniel Gasienica <daniel@gasienica.ch>","Julian Walker <julian@fiftythree.com>","Amit Pitaru <pitaru.amit@gmail.com>","Brandon Aaron <hello.brandon@aaron.sh>","Andreas Lind <andreas@one.com>","Maurus Cuelenaere <mcuelenaere@gmail.com>","Linus Unneb\xE4ck <linus@folkdatorn.se>","Victor Mateevitsi <mvictoras@gmail.com>","Alaric Holloway <alaric.holloway@gmail.com>","Bernhard K. Weisshuhn <bkw@codingforce.com>","Chris Riley <criley@primedia.com>","David Carley <dacarley@gmail.com>","John Tobin <john@limelightmobileinc.com>","Kenton Gray <kentongray@gmail.com>","Felix B\xFCnemann <Felix.Buenemann@gmail.com>","Samy Al Zahrani <samyalzahrany@gmail.com>","Chintan Thakkar <lemnisk8@gmail.com>","F. Orlando Galashan <frulo@gmx.de>","Kleis Auke Wolthuizen <info@kleisauke.nl>","Matt Hirsch <mhirsch@media.mit.edu>","Matthias Thoemmes <thoemmes@gmail.com>","Patrick Paskaris <patrick@paskaris.gr>","J\xE9r\xE9my Lal <kapouer@melix.org>","Rahul Nanwani <r.nanwani@gmail.com>","Alice Monday <alice0meta@gmail.com>","Kristo Jorgenson <kristo.jorgenson@gmail.com>","YvesBos <yves_bos@outlook.com>","Guy Maliar <guy@tailorbrands.com>","Nicolas Coden <nicolas@ncoden.fr>","Matt Parrish <matt.r.parrish@gmail.com>","Marcel Bretschneider <marcel.bretschneider@gmail.com>","Matthew McEachen <matthew+github@mceachen.org>","Jarda Kot\u011B\u0161ovec <jarda.kotesovec@gmail.com>","Kenric D'Souza <kenric.dsouza@gmail.com>","Oleh Aleinyk <oleg.aleynik@gmail.com>","Marcel Bretschneider <marcel.bretschneider@gmail.com>","Andrea Bianco <andrea.bianco@unibas.ch>","Rik Heywood <rik@rik.org>","Thomas Parisot <hi@oncletom.io>","Nathan Graves <nathanrgraves+github@gmail.com>","Tom Lokhorst <tom@lokhorst.eu>","Espen Hovlandsdal <espen@hovlandsdal.com>","Sylvain Dumont <sylvain.dumont35@gmail.com>","Alun Davies <alun.owain.davies@googlemail.com>","Aidan Hoolachan <ajhoolachan21@gmail.com>","Axel Eirola <axel.eirola@iki.fi>","Freezy <freezy@xbmc.org>","Daiz <taneli.vatanen@gmail.com>","Julian Aubourg <j@ubourg.net>","Keith Belovay <keith@picthrive.com>","Michael B. Klein <mbklein@gmail.com>","Jordan Prudhomme <jordan@raboland.fr>","Ilya Ovdin <iovdin@gmail.com>","Andargor <andargor@yahoo.com>","Paul Neave <paul.neave@gmail.com>","Brendan Kennedy <brenwken@gmail.com>","Brychan Bennett-Odlum <git@brychan.io>","Edward Silverton <e.silverton@gmail.com>","Roman Malieiev <aromaleev@gmail.com>","Tomas Szabo <tomas.szabo@deftomat.com>","Robert O'Rourke <robert@o-rourke.org>","Guillermo Alfonso Varela Chouci\xF1o <guillevch@gmail.com>","Christian Flintrup <chr@gigahost.dk>","Manan Jadhav <manan@motionden.com>","Leon Radley <leon@radley.se>","alza54 <alza54@thiocod.in>","Jacob Smith <jacob@frende.me>","Michael Nutt <michael@nutt.im>","Brad Parham <baparham@gmail.com>","Taneli Vatanen <taneli.vatanen@gmail.com>","Joris Dugu\xE9 <zaruike10@gmail.com>","Chris Banks <christopher.bradley.banks@gmail.com>","Ompal Singh <ompal.hitm09@gmail.com>","Brodan <christopher.hranj@gmail.com>","Ankur Parihar <ankur.github@gmail.com>","Brahim Ait elhaj <brahima@gmail.com>","Mart Jansink <m.jansink@gmail.com>","Lachlan Newman <lachnewman007@gmail.com>","Dennis Beatty <dennis@dcbeatty.com>","Ingvar Stepanyan <me@rreverser.com>","Don Denton <don@happycollision.com>"],scripts:{build:"node install/build.js",install:"node install/check.js || npm run build",clean:"rm -rf src/build/ .nyc_output/ coverage/ test/fixtures/output.*",test:"npm run lint && npm run test-unit",lint:"npm run lint-cpp && npm run lint-js && npm run lint-types","lint-cpp":"cpplint --quiet src/*.h src/*.cc","lint-js":"biome lint","lint-types":"tsd --files ./test/types/sharp.test-d.ts","test-leak":"./test/leak/leak.sh","test-unit":"node --experimental-test-coverage test/unit.mjs","package-from-local-build":"node npm/from-local-build.js","package-release-notes":"node npm/release-notes.js","docs-build":"node docs/build.mjs","docs-serve":"cd docs && npm start","docs-publish":"cd docs && npm run build && npx firebase-tools deploy --project pixelplumbing --only hosting:pixelplumbing-sharp"},type:"commonjs",main:"lib/index.js",types:"lib/index.d.ts",files:["install","lib","src/*.{cc,h,gyp}"],repository:{type:"git",url:"git://github.com/lovell/sharp.git"},keywords:["jpeg","png","webp","avif","tiff","gif","svg","jp2","dzi","image","resize","thumbnail","crop","embed","libvips","vips"],dependencies:{"@img/colour":"^1.0.0","detect-libc":"^2.1.2",semver:"^7.7.3"},optionalDependencies:{"@img/sharp-darwin-arm64":"0.34.5","@img/sharp-darwin-x64":"0.34.5","@img/sharp-libvips-darwin-arm64":"1.2.4","@img/sharp-libvips-darwin-x64":"1.2.4","@img/sharp-libvips-linux-arm":"1.2.4","@img/sharp-libvips-linux-arm64":"1.2.4","@img/sharp-libvips-linux-ppc64":"1.2.4","@img/sharp-libvips-linux-riscv64":"1.2.4","@img/sharp-libvips-linux-s390x":"1.2.4","@img/sharp-libvips-linux-x64":"1.2.4","@img/sharp-libvips-linuxmusl-arm64":"1.2.4","@img/sharp-libvips-linuxmusl-x64":"1.2.4","@img/sharp-linux-arm":"0.34.5","@img/sharp-linux-arm64":"0.34.5","@img/sharp-linux-ppc64":"0.34.5","@img/sharp-linux-riscv64":"0.34.5","@img/sharp-linux-s390x":"0.34.5","@img/sharp-linux-x64":"0.34.5","@img/sharp-linuxmusl-arm64":"0.34.5","@img/sharp-linuxmusl-x64":"0.34.5","@img/sharp-wasm32":"0.34.5","@img/sharp-win32-arm64":"0.34.5","@img/sharp-win32-ia32":"0.34.5","@img/sharp-win32-x64":"0.34.5"},devDependencies:{"@biomejs/biome":"^2.3.4","@cpplint/cli":"^0.1.0","@emnapi/runtime":"^1.7.0","@img/sharp-libvips-dev":"1.2.4","@img/sharp-libvips-dev-wasm32":"1.2.4","@img/sharp-libvips-win32-arm64":"1.2.4","@img/sharp-libvips-win32-ia32":"1.2.4","@img/sharp-libvips-win32-x64":"1.2.4","@types/node":"*",emnapi:"^1.7.0","exif-reader":"^2.0.2","extract-zip":"^2.0.1",icc:"^3.0.0","jsdoc-to-markdown":"^9.1.3","node-addon-api":"^8.5.0","node-gyp":"^11.5.0","tar-fs":"^3.1.1",tsd:"^0.33.0"},license:"Apache-2.0",engines:{node:"^18.17.0 || ^20.3.0 || >=21.0.0"},config:{libvips:">=8.17.3"},funding:{url:"https://opencollective.com/libvips"}}});var I_=ue((zV,ny)=>{var{spawnSync:nc}=xe("node:child_process"),{createHash:x2}=xe("node:crypto"),qD=gD(),I2=F_(),k2=ZD(),HD=Hs(),{config:A2,engines:JD,optionalDependencies:w2}=$_(),E2=process.env.npm_package_config_libvips||A2.libvips,XD=qD(E2).version,O2=["darwin-arm64","darwin-x64","linux-arm","linux-arm64","linux-ppc64","linux-riscv64","linux-s390x","linux-x64","linuxmusl-arm64","linuxmusl-x64","win32-arm64","win32-ia32","win32-x64"],rc={encoding:"utf8",shell:!0},T2=e=>{e instanceof Error?console.error(`sharp: Installation error: ${e.message}`):console.log(`sharp: ${e}`)},YD=()=>HD.isNonGlibcLinuxSync()?HD.familySync():"",G2=()=>`${process.platform}${YD()}-${process.arch}`,ri=()=>{if(QD())return"wasm32";let{npm_config_arch:e,npm_config_platform:t,npm_config_libc:n}=process.env,i=typeof n=="string"?n:YD();return`${t||process.platform}${i}-${e||process.arch}`},C2=()=>{try{return xe(`@img/sharp-libvips-dev-${ri()}/include`)}catch{try{return xe("@img/sharp-libvips-dev/include")}catch{}}return""},R2=()=>{try{return xe("@img/sharp-libvips-dev/cplusplus")}catch{}return""},j2=()=>{try{return xe(`@img/sharp-libvips-dev-${ri()}/lib`)}catch{try{return xe(`@img/sharp-libvips-${ri()}/lib`)}catch{}}return""},N2=()=>{if(process.release?.name==="node"&&process.versions&&!k2(process.versions.node,JD.node))return{found:process.versions.node,expected:JD.node}},QD=()=>{let{CC:e}=process.env;return!!e?.endsWith("/emcc")},z2=()=>process.platform==="darwin"&&process.arch==="x64"?(nc("sysctl sysctl.proc_translated",rc).stdout||"").trim()==="sysctl.proc_translated: 1":!1,KD=e=>x2("sha512").update(e).digest("hex"),L2=()=>{try{let e=KD(`imgsharp-libvips-${ri()}`),t=qD(w2[`@img/sharp-libvips-${ri()}`],{includePrerelease:!0}).version;return KD(`${e}npm:${t}`).slice(0,10)}catch{}return""},M2=()=>nc(`node-gyp rebuild --directory=src ${QD()?"--nodedir=emscripten":""}`,{...rc,stdio:"inherit"}).status,ey=()=>process.platform!=="win32"?(nc("pkg-config --modversion vips-cpp",{...rc,env:{...process.env,PKG_CONFIG_PATH:ty()}}).stdout||"").trim():"",ty=()=>process.platform!=="win32"?[(nc('which brew >/dev/null 2>&1 && brew environment --plain | grep PKG_CONFIG_LIBDIR | cut -d" " -f2',rc).stdout||"").trim(),process.env.PKG_CONFIG_PATH,"/usr/local/lib/pkgconfig","/usr/lib/pkgconfig","/usr/local/libdata/pkgconfig","/usr/libdata/pkgconfig"].filter(Boolean).join(":"):"",x_=(e,t,n)=>(n&&n(`Detected ${t}, skipping search for globally-installed libvips`),e),U2=e=>{if(process.env.SHARP_IGNORE_GLOBAL_LIBVIPS)return x_(!1,"SHARP_IGNORE_GLOBAL_LIBVIPS",e);if(process.env.SHARP_FORCE_GLOBAL_LIBVIPS)return x_(!0,"SHARP_FORCE_GLOBAL_LIBVIPS",e);if(z2())return x_(!1,"Rosetta",e);let t=ey();return!!t&&I2(t,XD)};ny.exports={minimumLibvipsVersion:XD,prebuiltPlatforms:O2,buildPlatformArch:ri,buildSharpLibvipsIncludeDir:C2,buildSharpLibvipsCPlusPlusDir:R2,buildSharpLibvipsLibDir:j2,isUnsupportedNodeRuntime:N2,runtimePlatformArch:G2,log:T2,yarnLocator:L2,spawnRebuild:M2,globalLibvipsVersion:ey,pkgConfigPath:ty,useGlobalLibvips:U2}});var Io=ue((MV,iy)=>{var{familySync:B2,versionSync:W2}=Hs(),{runtimePlatformArch:V2,isUnsupportedNodeRuntime:ry,prebuiltPlatforms:Z2,minimumLibvipsVersion:H2}=I_(),Qn=V2(),J2=[`../src/build/Release/sharp-${Qn}.node`,"../src/build/Release/sharp-wasm32.node",`@img/sharp-${Qn}/sharp.node`,"@img/sharp-wasm32/sharp.node"],k_,ii,xo=[];for(k_ of J2)try{ii=xe(k_);break}catch(e){xo.push(e)}if(ii&&k_.startsWith("@img/sharp-linux-x64")&&!ii._isUsingX64V2()){let e=new Error("Prebuilt binaries for linux-x64 require v2 microarchitecture");e.code="Unsupported CPU",xo.push(e),ii=null}if(ii)iy.exports=ii;else{let[e,t,n]=["linux","darwin","win32"].map(o=>Qn.startsWith(o)),i=[`Could not load the "sharp" module using the ${Qn} runtime`];xo.forEach(o=>{o.code!=="MODULE_NOT_FOUND"&&i.push(`${o.code}: ${o.message}`)});let r=xo.map(o=>o.message).join(" ");if(i.push("Possible solutions:"),ry()){let{found:o,expected:a}=ry();i.push("- Please upgrade Node.js:",` Found ${o}`,` Requires ${a}`)}else if(Z2.includes(Qn)){let[o,a]=Qn.split("-"),c=o.endsWith("musl")?" --libc=musl":"";i.push("- Ensure optional dependencies can be installed:"," npm install --include=optional sharp","- Ensure your package manager supports multi-platform installation:"," See https://sharp.pixelplumbing.com/install#cross-platform","- Add platform-specific dependencies:",` npm install --os=${o.replace("musl","")}${c} --cpu=${a} sharp`)}else i.push(`- Manually install libvips >= ${H2}`,"- Add experimental WebAssembly-based dependencies:"," npm install --cpu=wasm32 sharp"," npm install @img/sharp-wasm32");if(e&&/(symbol not found|CXXABI_)/i.test(r))try{let{config:o}=xe(`@img/sharp-libvips-${Qn}/package`),a=`${B2()} ${W2()}`,c=`${o.musl?"musl":"glibc"} ${o.musl||o.glibc}`;i.push("- Update your OS:",` Found ${a}`,` Requires ${c}`)}catch{}throw e&&/\/snap\/core[0-9]{2}/.test(r)&&i.push("- Remove the Node.js Snap, which does not support native modules"," snap remove node"),t&&/Incompatible library version/.test(r)&&i.push("- Update Homebrew:"," brew update && brew upgrade vips"),xo.some(o=>o.code==="ERR_DLOPEN_DISABLED")&&i.push("- Run Node.js without using the --no-addons flag"),n&&/The specified procedure could not be found/.test(r)&&i.push("- Using the canvas package on Windows?"," See https://sharp.pixelplumbing.com/install#canvas-and-windows","- Check for outdated versions of sharp in the dependency tree:"," npm ls sharp"),i.push("- Consult the installation documentation:"," See https://sharp.pixelplumbing.com/install"),new Error(i.join(`
6
+ `))}});var ay=ue((BV,oy)=>{var K2=xe("node:util"),A_=xe("node:stream"),q2=Ct();Io();var X2=K2.debuglog("sharp"),Y2=e=>{er.queue.emit("change",e)},er=function(e,t){if(arguments.length===1&&!q2.defined(e))throw new Error("Invalid input");return this instanceof er?(A_.Duplex.call(this),this.options={topOffsetPre:-1,leftOffsetPre:-1,widthPre:-1,heightPre:-1,topOffsetPost:-1,leftOffsetPost:-1,widthPost:-1,heightPost:-1,width:-1,height:-1,canvas:"crop",position:0,resizeBackground:[0,0,0,255],angle:0,rotationAngle:0,rotationBackground:[0,0,0,255],rotateBefore:!1,orientBefore:!1,flip:!1,flop:!1,extendTop:0,extendBottom:0,extendLeft:0,extendRight:0,extendBackground:[0,0,0,255],extendWith:"background",withoutEnlargement:!1,withoutReduction:!1,affineMatrix:[],affineBackground:[0,0,0,255],affineIdx:0,affineIdy:0,affineOdx:0,affineOdy:0,affineInterpolator:this.constructor.interpolators.bilinear,kernel:"lanczos3",fastShrinkOnLoad:!0,tint:[-1,0,0,0],flatten:!1,flattenBackground:[0,0,0],unflatten:!1,negate:!1,negateAlpha:!0,medianSize:0,blurSigma:0,precision:"integer",minAmpl:.2,sharpenSigma:0,sharpenM1:1,sharpenM2:2,sharpenX1:2,sharpenY2:10,sharpenY3:20,threshold:0,thresholdGrayscale:!0,trimBackground:[],trimThreshold:-1,trimLineArt:!1,dilateWidth:0,erodeWidth:0,gamma:0,gammaOut:0,greyscale:!1,normalise:!1,normaliseLower:1,normaliseUpper:99,claheWidth:0,claheHeight:0,claheMaxSlope:3,brightness:1,saturation:1,hue:0,lightness:0,booleanBufferIn:null,booleanFileIn:"",joinChannelIn:[],extractChannel:-1,removeAlpha:!1,ensureAlpha:-1,colourspace:"srgb",colourspacePipeline:"last",composite:[],fileOut:"",formatOut:"input",streamOut:!1,keepMetadata:0,withMetadataOrientation:-1,withMetadataDensity:0,withIccProfile:"",withExif:{},withExifMerge:!0,withXmp:"",resolveWithObject:!1,loop:-1,delay:[],jpegQuality:80,jpegProgressive:!1,jpegChromaSubsampling:"4:2:0",jpegTrellisQuantisation:!1,jpegOvershootDeringing:!1,jpegOptimiseScans:!1,jpegOptimiseCoding:!0,jpegQuantisationTable:0,pngProgressive:!1,pngCompressionLevel:6,pngAdaptiveFiltering:!1,pngPalette:!1,pngQuality:100,pngEffort:7,pngBitdepth:8,pngDither:1,jp2Quality:80,jp2TileHeight:512,jp2TileWidth:512,jp2Lossless:!1,jp2ChromaSubsampling:"4:4:4",webpQuality:80,webpAlphaQuality:100,webpLossless:!1,webpNearLossless:!1,webpSmartSubsample:!1,webpSmartDeblock:!1,webpPreset:"default",webpEffort:4,webpMinSize:!1,webpMixed:!1,gifBitdepth:8,gifEffort:7,gifDither:1,gifInterFrameMaxError:0,gifInterPaletteMaxError:3,gifKeepDuplicateFrames:!1,gifReuse:!0,gifProgressive:!1,tiffQuality:80,tiffCompression:"jpeg",tiffBigtiff:!1,tiffPredictor:"horizontal",tiffPyramid:!1,tiffMiniswhite:!1,tiffBitdepth:8,tiffTile:!1,tiffTileHeight:256,tiffTileWidth:256,tiffXres:1,tiffYres:1,tiffResolutionUnit:"inch",heifQuality:50,heifLossless:!1,heifCompression:"av1",heifEffort:4,heifChromaSubsampling:"4:4:4",heifBitdepth:8,jxlDistance:1,jxlDecodingTier:0,jxlEffort:7,jxlLossless:!1,rawDepth:"uchar",tileSize:256,tileOverlap:0,tileContainer:"fs",tileLayout:"dz",tileFormat:"last",tileDepth:"last",tileAngle:0,tileSkipBlanks:-1,tileBackground:[255,255,255,255],tileCentre:!1,tileId:"https://example.com/iiif",tileBasename:"",timeoutSeconds:0,linearA:[],linearB:[],pdfBackground:[255,255,255,255],debuglog:n=>{this.emit("warning",n),X2(n)},queueListener:Y2},this.options.input=this._createInputDescriptor(e,t,{allowStream:!0}),this):new er(e,t)};Object.setPrototypeOf(er.prototype,A_.Duplex.prototype);Object.setPrototypeOf(er,A_.Duplex);function Q2(){let e=this.constructor.call(),{debuglog:t,queueListener:n,...i}=this.options;return e.options=structuredClone(i),e.options.debuglog=t,e.options.queueListener=n,this._isStreamInput()&&this.on("finish",()=>{this._flattenBufferIn(),e.options.input.buffer=this.options.input.buffer,e.emit("finish")}),e}Object.assign(er.prototype,{clone:Q2});oy.exports=er});var uy=ue((WV,cy)=>{var x=Ct(),Dn=Io(),ez={left:"low",top:"low",low:"low",center:"centre",centre:"centre",right:"high",bottom:"high",high:"high"},tz=["failOn","limitInputPixels","unlimited","animated","autoOrient","density","ignoreIcc","page","pages","sequentialRead","jp2","openSlide","pdf","raw","svg","tiff","failOnError","openSlideLevel","pdfBackground","tiffSubifd"];function sy(e){let t=tz.filter(n=>x.defined(e[n])).map(n=>[n,e[n]]);return t.length?Object.fromEntries(t):void 0}function nz(e,t,n){let i={autoOrient:!1,failOn:"warning",limitInputPixels:268402689,ignoreIcc:!1,unlimited:!1,sequentialRead:!0};if(x.string(e))i.file=e;else if(x.buffer(e)){if(e.length===0)throw Error("Input Buffer is empty");i.buffer=e}else if(x.arrayBuffer(e)){if(e.byteLength===0)throw Error("Input bit Array is empty");i.buffer=Buffer.from(e,0,e.byteLength)}else if(x.typedArray(e)){if(e.length===0)throw Error("Input Bit Array is empty");i.buffer=Buffer.from(e.buffer,e.byteOffset,e.byteLength)}else if(x.plainObject(e)&&!x.defined(t))t=e,sy(t)&&(i.buffer=[]);else if(!x.defined(e)&&!x.defined(t)&&x.object(n)&&n.allowStream)i.buffer=[];else if(Array.isArray(e))if(e.length>1)if(!this.options.joining)this.options.joining=!0,this.options.join=e.map(r=>this._createInputDescriptor(r));else throw new Error("Recursive join is unsupported");else throw new Error("Expected at least two images to join");else throw new Error(`Unsupported input '${e}' of type ${typeof e}${x.defined(t)?` when also providing options of type ${typeof t}`:""}`);if(x.object(t)){if(x.defined(t.failOnError))if(x.bool(t.failOnError))i.failOn=t.failOnError?"warning":"none";else throw x.invalidParameterError("failOnError","boolean",t.failOnError);if(x.defined(t.failOn))if(x.string(t.failOn)&&x.inArray(t.failOn,["none","truncated","error","warning"]))i.failOn=t.failOn;else throw x.invalidParameterError("failOn","one of: none, truncated, error, warning",t.failOn);if(x.defined(t.autoOrient))if(x.bool(t.autoOrient))i.autoOrient=t.autoOrient;else throw x.invalidParameterError("autoOrient","boolean",t.autoOrient);if(x.defined(t.density))if(x.inRange(t.density,1,1e5))i.density=t.density;else throw x.invalidParameterError("density","number between 1 and 100000",t.density);if(x.defined(t.ignoreIcc))if(x.bool(t.ignoreIcc))i.ignoreIcc=t.ignoreIcc;else throw x.invalidParameterError("ignoreIcc","boolean",t.ignoreIcc);if(x.defined(t.limitInputPixels))if(x.bool(t.limitInputPixels))i.limitInputPixels=t.limitInputPixels?16383**2:0;else if(x.integer(t.limitInputPixels)&&x.inRange(t.limitInputPixels,0,Number.MAX_SAFE_INTEGER))i.limitInputPixels=t.limitInputPixels;else throw x.invalidParameterError("limitInputPixels","positive integer",t.limitInputPixels);if(x.defined(t.unlimited))if(x.bool(t.unlimited))i.unlimited=t.unlimited;else throw x.invalidParameterError("unlimited","boolean",t.unlimited);if(x.defined(t.sequentialRead))if(x.bool(t.sequentialRead))i.sequentialRead=t.sequentialRead;else throw x.invalidParameterError("sequentialRead","boolean",t.sequentialRead);if(x.defined(t.raw)){if(x.object(t.raw)&&x.integer(t.raw.width)&&t.raw.width>0&&x.integer(t.raw.height)&&t.raw.height>0&&x.integer(t.raw.channels)&&x.inRange(t.raw.channels,1,4))switch(i.rawWidth=t.raw.width,i.rawHeight=t.raw.height,i.rawChannels=t.raw.channels,e.constructor){case Uint8Array:case Uint8ClampedArray:i.rawDepth="uchar";break;case Int8Array:i.rawDepth="char";break;case Uint16Array:i.rawDepth="ushort";break;case Int16Array:i.rawDepth="short";break;case Uint32Array:i.rawDepth="uint";break;case Int32Array:i.rawDepth="int";break;case Float32Array:i.rawDepth="float";break;case Float64Array:i.rawDepth="double";break;default:i.rawDepth="uchar";break}else throw new Error("Expected width, height and channels for raw pixel input");if(i.rawPremultiplied=!1,x.defined(t.raw.premultiplied))if(x.bool(t.raw.premultiplied))i.rawPremultiplied=t.raw.premultiplied;else throw x.invalidParameterError("raw.premultiplied","boolean",t.raw.premultiplied);if(i.rawPageHeight=0,x.defined(t.raw.pageHeight))if(x.integer(t.raw.pageHeight)&&t.raw.pageHeight>0&&t.raw.pageHeight<=t.raw.height){if(t.raw.height%t.raw.pageHeight!==0)throw new Error(`Expected raw.height ${t.raw.height} to be a multiple of raw.pageHeight ${t.raw.pageHeight}`);i.rawPageHeight=t.raw.pageHeight}else throw x.invalidParameterError("raw.pageHeight","positive integer",t.raw.pageHeight)}if(x.defined(t.animated))if(x.bool(t.animated))i.pages=t.animated?-1:1;else throw x.invalidParameterError("animated","boolean",t.animated);if(x.defined(t.pages))if(x.integer(t.pages)&&x.inRange(t.pages,-1,1e5))i.pages=t.pages;else throw x.invalidParameterError("pages","integer between -1 and 100000",t.pages);if(x.defined(t.page))if(x.integer(t.page)&&x.inRange(t.page,0,1e5))i.page=t.page;else throw x.invalidParameterError("page","integer between 0 and 100000",t.page);if(x.object(t.openSlide)&&x.defined(t.openSlide.level))if(x.integer(t.openSlide.level)&&x.inRange(t.openSlide.level,0,256))i.openSlideLevel=t.openSlide.level;else throw x.invalidParameterError("openSlide.level","integer between 0 and 256",t.openSlide.level);else if(x.defined(t.level))if(x.integer(t.level)&&x.inRange(t.level,0,256))i.openSlideLevel=t.level;else throw x.invalidParameterError("level","integer between 0 and 256",t.level);if(x.object(t.tiff)&&x.defined(t.tiff.subifd))if(x.integer(t.tiff.subifd)&&x.inRange(t.tiff.subifd,-1,1e5))i.tiffSubifd=t.tiff.subifd;else throw x.invalidParameterError("tiff.subifd","integer between -1 and 100000",t.tiff.subifd);else if(x.defined(t.subifd))if(x.integer(t.subifd)&&x.inRange(t.subifd,-1,1e5))i.tiffSubifd=t.subifd;else throw x.invalidParameterError("subifd","integer between -1 and 100000",t.subifd);if(x.object(t.svg)){if(x.defined(t.svg.stylesheet))if(x.string(t.svg.stylesheet))i.svgStylesheet=t.svg.stylesheet;else throw x.invalidParameterError("svg.stylesheet","string",t.svg.stylesheet);if(x.defined(t.svg.highBitdepth))if(x.bool(t.svg.highBitdepth))i.svgHighBitdepth=t.svg.highBitdepth;else throw x.invalidParameterError("svg.highBitdepth","boolean",t.svg.highBitdepth)}if(x.object(t.pdf)&&x.defined(t.pdf.background)?i.pdfBackground=this._getBackgroundColourOption(t.pdf.background):x.defined(t.pdfBackground)&&(i.pdfBackground=this._getBackgroundColourOption(t.pdfBackground)),x.object(t.jp2)&&x.defined(t.jp2.oneshot))if(x.bool(t.jp2.oneshot))i.jp2Oneshot=t.jp2.oneshot;else throw x.invalidParameterError("jp2.oneshot","boolean",t.jp2.oneshot);if(x.defined(t.create))if(x.object(t.create)&&x.integer(t.create.width)&&t.create.width>0&&x.integer(t.create.height)&&t.create.height>0&&x.integer(t.create.channels)){if(i.createWidth=t.create.width,i.createHeight=t.create.height,i.createChannels=t.create.channels,i.createPageHeight=0,x.defined(t.create.pageHeight))if(x.integer(t.create.pageHeight)&&t.create.pageHeight>0&&t.create.pageHeight<=t.create.height){if(t.create.height%t.create.pageHeight!==0)throw new Error(`Expected create.height ${t.create.height} to be a multiple of create.pageHeight ${t.create.pageHeight}`);i.createPageHeight=t.create.pageHeight}else throw x.invalidParameterError("create.pageHeight","positive integer",t.create.pageHeight);if(x.defined(t.create.noise)){if(!x.object(t.create.noise))throw new Error("Expected noise to be an object");if(t.create.noise.type!=="gaussian")throw new Error("Only gaussian noise is supported at the moment");if(i.createNoiseType=t.create.noise.type,!x.inRange(t.create.channels,1,4))throw x.invalidParameterError("create.channels","number between 1 and 4",t.create.channels);if(i.createNoiseMean=128,x.defined(t.create.noise.mean))if(x.number(t.create.noise.mean)&&x.inRange(t.create.noise.mean,0,1e4))i.createNoiseMean=t.create.noise.mean;else throw x.invalidParameterError("create.noise.mean","number between 0 and 10000",t.create.noise.mean);if(i.createNoiseSigma=30,x.defined(t.create.noise.sigma))if(x.number(t.create.noise.sigma)&&x.inRange(t.create.noise.sigma,0,1e4))i.createNoiseSigma=t.create.noise.sigma;else throw x.invalidParameterError("create.noise.sigma","number between 0 and 10000",t.create.noise.sigma)}else if(x.defined(t.create.background)){if(!x.inRange(t.create.channels,3,4))throw x.invalidParameterError("create.channels","number between 3 and 4",t.create.channels);i.createBackground=this._getBackgroundColourOption(t.create.background)}else throw new Error("Expected valid noise or background to create a new input image");delete i.buffer}else throw new Error("Expected valid width, height and channels to create a new input image");if(x.defined(t.text))if(x.object(t.text)&&x.string(t.text.text)){if(i.textValue=t.text.text,x.defined(t.text.height)&&x.defined(t.text.dpi))throw new Error("Expected only one of dpi or height");if(x.defined(t.text.font))if(x.string(t.text.font))i.textFont=t.text.font;else throw x.invalidParameterError("text.font","string",t.text.font);if(x.defined(t.text.fontfile))if(x.string(t.text.fontfile))i.textFontfile=t.text.fontfile;else throw x.invalidParameterError("text.fontfile","string",t.text.fontfile);if(x.defined(t.text.width))if(x.integer(t.text.width)&&t.text.width>0)i.textWidth=t.text.width;else throw x.invalidParameterError("text.width","positive integer",t.text.width);if(x.defined(t.text.height))if(x.integer(t.text.height)&&t.text.height>0)i.textHeight=t.text.height;else throw x.invalidParameterError("text.height","positive integer",t.text.height);if(x.defined(t.text.align))if(x.string(t.text.align)&&x.string(this.constructor.align[t.text.align]))i.textAlign=this.constructor.align[t.text.align];else throw x.invalidParameterError("text.align","valid alignment",t.text.align);if(x.defined(t.text.justify))if(x.bool(t.text.justify))i.textJustify=t.text.justify;else throw x.invalidParameterError("text.justify","boolean",t.text.justify);if(x.defined(t.text.dpi))if(x.integer(t.text.dpi)&&x.inRange(t.text.dpi,1,1e6))i.textDpi=t.text.dpi;else throw x.invalidParameterError("text.dpi","integer between 1 and 1000000",t.text.dpi);if(x.defined(t.text.rgba))if(x.bool(t.text.rgba))i.textRgba=t.text.rgba;else throw x.invalidParameterError("text.rgba","bool",t.text.rgba);if(x.defined(t.text.spacing))if(x.integer(t.text.spacing)&&x.inRange(t.text.spacing,-1e6,1e6))i.textSpacing=t.text.spacing;else throw x.invalidParameterError("text.spacing","integer between -1000000 and 1000000",t.text.spacing);if(x.defined(t.text.wrap))if(x.string(t.text.wrap)&&x.inArray(t.text.wrap,["word","char","word-char","none"]))i.textWrap=t.text.wrap;else throw x.invalidParameterError("text.wrap","one of: word, char, word-char, none",t.text.wrap);delete i.buffer}else throw new Error("Expected a valid string to create an image with text.");if(x.defined(t.join))if(x.defined(this.options.join)){if(x.defined(t.join.animated))if(x.bool(t.join.animated))i.joinAnimated=t.join.animated;else throw x.invalidParameterError("join.animated","boolean",t.join.animated);if(x.defined(t.join.across))if(x.integer(t.join.across)&&x.inRange(t.join.across,1,1e6))i.joinAcross=t.join.across;else throw x.invalidParameterError("join.across","integer between 1 and 100000",t.join.across);if(x.defined(t.join.shim))if(x.integer(t.join.shim)&&x.inRange(t.join.shim,0,1e6))i.joinShim=t.join.shim;else throw x.invalidParameterError("join.shim","integer between 0 and 100000",t.join.shim);if(x.defined(t.join.background)&&(i.joinBackground=this._getBackgroundColourOption(t.join.background)),x.defined(t.join.halign))if(x.string(t.join.halign)&&x.string(this.constructor.align[t.join.halign]))i.joinHalign=this.constructor.align[t.join.halign];else throw x.invalidParameterError("join.halign","valid alignment",t.join.halign);if(x.defined(t.join.valign))if(x.string(t.join.valign)&&x.string(this.constructor.align[t.join.valign]))i.joinValign=this.constructor.align[t.join.valign];else throw x.invalidParameterError("join.valign","valid alignment",t.join.valign)}else throw new Error("Expected input to be an array of images to join")}else if(x.defined(t))throw new Error(`Invalid input options ${t}`);return i}function rz(e,t,n){Array.isArray(this.options.input.buffer)?x.buffer(e)?(this.options.input.buffer.length===0&&this.on("finish",()=>{this.streamInFinished=!0}),this.options.input.buffer.push(e),n()):n(new Error("Non-Buffer data on Writable Stream")):n(new Error("Unexpected data on Writable Stream"))}function iz(){this._isStreamInput()&&(this.options.input.buffer=Buffer.concat(this.options.input.buffer))}function oz(){return Array.isArray(this.options.input.buffer)}function az(e){let t=Error();return x.fn(e)?(this._isStreamInput()?this.on("finish",()=>{this._flattenBufferIn(),Dn.metadata(this.options,(n,i)=>{n?e(x.nativeError(n,t)):e(null,i)})}):Dn.metadata(this.options,(n,i)=>{n?e(x.nativeError(n,t)):e(null,i)}),this):this._isStreamInput()?new Promise((n,i)=>{let r=()=>{this._flattenBufferIn(),Dn.metadata(this.options,(o,a)=>{o?i(x.nativeError(o,t)):n(a)})};this.writableFinished?r():this.once("finish",r)}):new Promise((n,i)=>{Dn.metadata(this.options,(r,o)=>{r?i(x.nativeError(r,t)):n(o)})})}function sz(e){let t=Error();return x.fn(e)?(this._isStreamInput()?this.on("finish",()=>{this._flattenBufferIn(),Dn.stats(this.options,(n,i)=>{n?e(x.nativeError(n,t)):e(null,i)})}):Dn.stats(this.options,(n,i)=>{n?e(x.nativeError(n,t)):e(null,i)}),this):this._isStreamInput()?new Promise((n,i)=>{this.on("finish",function(){this._flattenBufferIn(),Dn.stats(this.options,(r,o)=>{r?i(x.nativeError(r,t)):n(o)})})}):new Promise((n,i)=>{Dn.stats(this.options,(r,o)=>{r?i(x.nativeError(r,t)):n(o)})})}cy.exports=e=>{Object.assign(e.prototype,{_inputOptionsFromObject:sy,_createInputDescriptor:nz,_write:rz,_flattenBufferIn:iz,_isStreamInput:oz,metadata:az,stats:sz}),e.align=ez}});var py=ue((VV,_y)=>{var K=Ct(),dy={center:0,centre:0,north:1,east:2,south:3,west:4,northeast:5,southeast:6,southwest:7,northwest:8},fy={top:1,right:2,bottom:3,left:4,"right top":5,"right bottom":6,"left bottom":7,"left top":8},ly={background:"background",copy:"copy",repeat:"repeat",mirror:"mirror"},my={entropy:16,attention:17},w_={nearest:"nearest",linear:"linear",cubic:"cubic",mitchell:"mitchell",lanczos2:"lanczos2",lanczos3:"lanczos3",mks2013:"mks2013",mks2021:"mks2021"},cz={contain:"contain",cover:"cover",fill:"fill",inside:"inside",outside:"outside"},uz={contain:"embed",cover:"crop",fill:"ignore_aspect",inside:"max",outside:"min"};function E_(e){return e.angle%360!==0||e.rotationAngle!==0}function ic(e){return e.width!==-1||e.height!==-1}function lz(e,t,n){if(ic(this.options)&&this.options.debuglog("ignoring previous resize options"),this.options.widthPost!==-1&&this.options.debuglog("operation order will be: extract, resize, extract"),K.defined(e))if(K.object(e)&&!K.defined(n))n=e;else if(K.integer(e)&&e>0)this.options.width=e;else throw K.invalidParameterError("width","positive integer",e);else this.options.width=-1;if(K.defined(t))if(K.integer(t)&&t>0)this.options.height=t;else throw K.invalidParameterError("height","positive integer",t);else this.options.height=-1;if(K.object(n)){if(K.defined(n.width))if(K.integer(n.width)&&n.width>0)this.options.width=n.width;else throw K.invalidParameterError("width","positive integer",n.width);if(K.defined(n.height))if(K.integer(n.height)&&n.height>0)this.options.height=n.height;else throw K.invalidParameterError("height","positive integer",n.height);if(K.defined(n.fit)){let i=uz[n.fit];if(K.string(i))this.options.canvas=i;else throw K.invalidParameterError("fit","valid fit",n.fit)}if(K.defined(n.position)){let i=K.integer(n.position)?n.position:my[n.position]||fy[n.position]||dy[n.position];if(K.integer(i)&&(K.inRange(i,0,8)||K.inRange(i,16,17)))this.options.position=i;else throw K.invalidParameterError("position","valid position/gravity/strategy",n.position)}if(this._setBackgroundColourOption("resizeBackground",n.background),K.defined(n.kernel))if(K.string(w_[n.kernel]))this.options.kernel=w_[n.kernel];else throw K.invalidParameterError("kernel","valid kernel name",n.kernel);K.defined(n.withoutEnlargement)&&this._setBooleanOption("withoutEnlargement",n.withoutEnlargement),K.defined(n.withoutReduction)&&this._setBooleanOption("withoutReduction",n.withoutReduction),K.defined(n.fastShrinkOnLoad)&&this._setBooleanOption("fastShrinkOnLoad",n.fastShrinkOnLoad)}return E_(this.options)&&ic(this.options)&&(this.options.rotateBefore=!0),this}function dz(e){if(K.integer(e)&&e>0)this.options.extendTop=e,this.options.extendBottom=e,this.options.extendLeft=e,this.options.extendRight=e;else if(K.object(e)){if(K.defined(e.top))if(K.integer(e.top)&&e.top>=0)this.options.extendTop=e.top;else throw K.invalidParameterError("top","positive integer",e.top);if(K.defined(e.bottom))if(K.integer(e.bottom)&&e.bottom>=0)this.options.extendBottom=e.bottom;else throw K.invalidParameterError("bottom","positive integer",e.bottom);if(K.defined(e.left))if(K.integer(e.left)&&e.left>=0)this.options.extendLeft=e.left;else throw K.invalidParameterError("left","positive integer",e.left);if(K.defined(e.right))if(K.integer(e.right)&&e.right>=0)this.options.extendRight=e.right;else throw K.invalidParameterError("right","positive integer",e.right);if(this._setBackgroundColourOption("extendBackground",e.background),K.defined(e.extendWith))if(K.string(ly[e.extendWith]))this.options.extendWith=ly[e.extendWith];else throw K.invalidParameterError("extendWith","one of: background, copy, repeat, mirror",e.extendWith)}else throw K.invalidParameterError("extend","integer or object",e);return this}function fz(e){let t=ic(this.options)||this.options.widthPre!==-1?"Post":"Pre";return this.options[`width${t}`]!==-1&&this.options.debuglog("ignoring previous extract options"),["left","top","width","height"].forEach(function(n){let i=e[n];if(K.integer(i)&&i>=0)this.options[n+(n==="left"||n==="top"?"Offset":"")+t]=i;else throw K.invalidParameterError(n,"integer",i)},this),E_(this.options)&&!ic(this.options)&&(this.options.widthPre===-1||this.options.widthPost===-1)&&(this.options.rotateBefore=!0),this.options.input.autoOrient&&(this.options.orientBefore=!0),this}function mz(e){if(this.options.trimThreshold=10,K.defined(e))if(K.object(e)){if(K.defined(e.background)&&this._setBackgroundColourOption("trimBackground",e.background),K.defined(e.threshold))if(K.number(e.threshold)&&e.threshold>=0)this.options.trimThreshold=e.threshold;else throw K.invalidParameterError("threshold","positive number",e.threshold);K.defined(e.lineArt)&&this._setBooleanOption("trimLineArt",e.lineArt)}else throw K.invalidParameterError("trim","object",e);return E_(this.options)&&(this.options.rotateBefore=!0),this}_y.exports=e=>{Object.assign(e.prototype,{resize:lz,extend:dz,extract:fz,trim:mz}),e.gravity=dy,e.strategy=my,e.kernel=w_,e.fit=cz,e.position=fy}});var Fy=ue((ZV,gy)=>{var De=Ct(),O_={clear:"clear",source:"source",over:"over",in:"in",out:"out",atop:"atop",dest:"dest","dest-over":"dest-over","dest-in":"dest-in","dest-out":"dest-out","dest-atop":"dest-atop",xor:"xor",add:"add",saturate:"saturate",multiply:"multiply",screen:"screen",overlay:"overlay",darken:"darken",lighten:"lighten","colour-dodge":"colour-dodge","color-dodge":"colour-dodge","colour-burn":"colour-burn","color-burn":"colour-burn","hard-light":"hard-light","soft-light":"soft-light",difference:"difference",exclusion:"exclusion"};function _z(e){if(!Array.isArray(e))throw De.invalidParameterError("images to composite","array",e);return this.options.composite=e.map(t=>{if(!De.object(t))throw De.invalidParameterError("image to composite","object",t);let n=this._inputOptionsFromObject(t),i={input:this._createInputDescriptor(t.input,n,{allowStream:!1}),blend:"over",tile:!1,left:0,top:0,hasOffset:!1,gravity:0,premultiplied:!1};if(De.defined(t.blend))if(De.string(O_[t.blend]))i.blend=O_[t.blend];else throw De.invalidParameterError("blend","valid blend name",t.blend);if(De.defined(t.tile))if(De.bool(t.tile))i.tile=t.tile;else throw De.invalidParameterError("tile","boolean",t.tile);if(De.defined(t.left))if(De.integer(t.left))i.left=t.left;else throw De.invalidParameterError("left","integer",t.left);if(De.defined(t.top))if(De.integer(t.top))i.top=t.top;else throw De.invalidParameterError("top","integer",t.top);if(De.defined(t.top)!==De.defined(t.left))throw new Error("Expected both left and top to be set");if(i.hasOffset=De.integer(t.top)&&De.integer(t.left),De.defined(t.gravity))if(De.integer(t.gravity)&&De.inRange(t.gravity,0,8))i.gravity=t.gravity;else if(De.string(t.gravity)&&De.integer(this.constructor.gravity[t.gravity]))i.gravity=this.constructor.gravity[t.gravity];else throw De.invalidParameterError("gravity","valid gravity",t.gravity);if(De.defined(t.premultiplied))if(De.bool(t.premultiplied))i.premultiplied=t.premultiplied;else throw De.invalidParameterError("premultiplied","boolean",t.premultiplied);return i}),this}gy.exports=e=>{e.prototype.composite=_z,e.blend=O_}});var yy=ue((HV,Dy)=>{var w=Ct(),hy={integer:"integer",float:"float",approximate:"approximate"};function pz(e,t){if(!w.defined(e))return this.autoOrient();if((this.options.angle||this.options.rotationAngle)&&(this.options.debuglog("ignoring previous rotate options"),this.options.angle=0,this.options.rotationAngle=0),w.integer(e)&&!(e%90))this.options.angle=e;else if(w.number(e))this.options.rotationAngle=e,w.object(t)&&t.background&&this._setBackgroundColourOption("rotationBackground",t.background);else throw w.invalidParameterError("angle","numeric",e);return this}function gz(){return this.options.input.autoOrient=!0,this}function Fz(e){return this.options.flip=w.bool(e)?e:!0,this}function hz(e){return this.options.flop=w.bool(e)?e:!0,this}function Pz(e,t){let n=[].concat(...e);if(n.length===4&&n.every(w.number))this.options.affineMatrix=n;else throw w.invalidParameterError("matrix","1x4 or 2x2 array",e);if(w.defined(t))if(w.object(t)){if(this._setBackgroundColourOption("affineBackground",t.background),w.defined(t.idx))if(w.number(t.idx))this.options.affineIdx=t.idx;else throw w.invalidParameterError("options.idx","number",t.idx);if(w.defined(t.idy))if(w.number(t.idy))this.options.affineIdy=t.idy;else throw w.invalidParameterError("options.idy","number",t.idy);if(w.defined(t.odx))if(w.number(t.odx))this.options.affineOdx=t.odx;else throw w.invalidParameterError("options.odx","number",t.odx);if(w.defined(t.ody))if(w.number(t.ody))this.options.affineOdy=t.ody;else throw w.invalidParameterError("options.ody","number",t.ody);if(w.defined(t.interpolator))if(w.inArray(t.interpolator,Object.values(this.constructor.interpolators)))this.options.affineInterpolator=t.interpolator;else throw w.invalidParameterError("options.interpolator","valid interpolator name",t.interpolator)}else throw w.invalidParameterError("options","object",t);return this}function vz(e,t,n){if(!w.defined(e))this.options.sharpenSigma=-1;else if(w.bool(e))this.options.sharpenSigma=e?-1:0;else if(w.number(e)&&w.inRange(e,.01,1e4)){if(this.options.sharpenSigma=e,w.defined(t))if(w.number(t)&&w.inRange(t,0,1e4))this.options.sharpenM1=t;else throw w.invalidParameterError("flat","number between 0 and 10000",t);if(w.defined(n))if(w.number(n)&&w.inRange(n,0,1e4))this.options.sharpenM2=n;else throw w.invalidParameterError("jagged","number between 0 and 10000",n)}else if(w.plainObject(e)){if(w.number(e.sigma)&&w.inRange(e.sigma,1e-6,10))this.options.sharpenSigma=e.sigma;else throw w.invalidParameterError("options.sigma","number between 0.000001 and 10",e.sigma);if(w.defined(e.m1))if(w.number(e.m1)&&w.inRange(e.m1,0,1e6))this.options.sharpenM1=e.m1;else throw w.invalidParameterError("options.m1","number between 0 and 1000000",e.m1);if(w.defined(e.m2))if(w.number(e.m2)&&w.inRange(e.m2,0,1e6))this.options.sharpenM2=e.m2;else throw w.invalidParameterError("options.m2","number between 0 and 1000000",e.m2);if(w.defined(e.x1))if(w.number(e.x1)&&w.inRange(e.x1,0,1e6))this.options.sharpenX1=e.x1;else throw w.invalidParameterError("options.x1","number between 0 and 1000000",e.x1);if(w.defined(e.y2))if(w.number(e.y2)&&w.inRange(e.y2,0,1e6))this.options.sharpenY2=e.y2;else throw w.invalidParameterError("options.y2","number between 0 and 1000000",e.y2);if(w.defined(e.y3))if(w.number(e.y3)&&w.inRange(e.y3,0,1e6))this.options.sharpenY3=e.y3;else throw w.invalidParameterError("options.y3","number between 0 and 1000000",e.y3)}else throw w.invalidParameterError("sigma","number between 0.01 and 10000",e);return this}function Dz(e){if(!w.defined(e))this.options.medianSize=3;else if(w.integer(e)&&w.inRange(e,1,1e3))this.options.medianSize=e;else throw w.invalidParameterError("size","integer between 1 and 1000",e);return this}function yz(e){let t;if(w.number(e))t=e;else if(w.plainObject(e)){if(!w.number(e.sigma))throw w.invalidParameterError("options.sigma","number between 0.3 and 1000",t);if(t=e.sigma,"precision"in e)if(w.string(hy[e.precision]))this.options.precision=hy[e.precision];else throw w.invalidParameterError("precision","one of: integer, float, approximate",e.precision);if("minAmplitude"in e)if(w.number(e.minAmplitude)&&w.inRange(e.minAmplitude,.001,1))this.options.minAmpl=e.minAmplitude;else throw w.invalidParameterError("minAmplitude","number between 0.001 and 1",e.minAmplitude)}if(!w.defined(e))this.options.blurSigma=-1;else if(w.bool(e))this.options.blurSigma=e?-1:0;else if(w.number(t)&&w.inRange(t,.3,1e3))this.options.blurSigma=t;else throw w.invalidParameterError("sigma","number between 0.3 and 1000",t);return this}function Py(e){if(!w.defined(e))this.options.dilateWidth=1;else if(w.integer(e)&&e>0)this.options.dilateWidth=e;else throw w.invalidParameterError("dilate","positive integer",Py);return this}function vy(e){if(!w.defined(e))this.options.erodeWidth=1;else if(w.integer(e)&&e>0)this.options.erodeWidth=e;else throw w.invalidParameterError("erode","positive integer",vy);return this}function bz(e){return this.options.flatten=w.bool(e)?e:!0,w.object(e)&&this._setBackgroundColourOption("flattenBackground",e.background),this}function Sz(){return this.options.unflatten=!0,this}function $z(e,t){if(!w.defined(e))this.options.gamma=2.2;else if(w.number(e)&&w.inRange(e,1,3))this.options.gamma=e;else throw w.invalidParameterError("gamma","number between 1.0 and 3.0",e);if(!w.defined(t))this.options.gammaOut=this.options.gamma;else if(w.number(t)&&w.inRange(t,1,3))this.options.gammaOut=t;else throw w.invalidParameterError("gammaOut","number between 1.0 and 3.0",t);return this}function xz(e){if(this.options.negate=w.bool(e)?e:!0,w.plainObject(e)&&"alpha"in e)if(w.bool(e.alpha))this.options.negateAlpha=e.alpha;else throw w.invalidParameterError("alpha","should be boolean value",e.alpha);return this}function Iz(e){if(w.plainObject(e)){if(w.defined(e.lower))if(w.number(e.lower)&&w.inRange(e.lower,0,99))this.options.normaliseLower=e.lower;else throw w.invalidParameterError("lower","number between 0 and 99",e.lower);if(w.defined(e.upper))if(w.number(e.upper)&&w.inRange(e.upper,1,100))this.options.normaliseUpper=e.upper;else throw w.invalidParameterError("upper","number between 1 and 100",e.upper)}if(this.options.normaliseLower>=this.options.normaliseUpper)throw w.invalidParameterError("range","lower to be less than upper",`${this.options.normaliseLower} >= ${this.options.normaliseUpper}`);return this.options.normalise=!0,this}function kz(e){return this.normalise(e)}function Az(e){if(w.plainObject(e)){if(w.integer(e.width)&&e.width>0)this.options.claheWidth=e.width;else throw w.invalidParameterError("width","integer greater than zero",e.width);if(w.integer(e.height)&&e.height>0)this.options.claheHeight=e.height;else throw w.invalidParameterError("height","integer greater than zero",e.height);if(w.defined(e.maxSlope))if(w.integer(e.maxSlope)&&w.inRange(e.maxSlope,0,100))this.options.claheMaxSlope=e.maxSlope;else throw w.invalidParameterError("maxSlope","integer between 0 and 100",e.maxSlope)}else throw w.invalidParameterError("options","plain object",e);return this}function wz(e){if(!w.object(e)||!Array.isArray(e.kernel)||!w.integer(e.width)||!w.integer(e.height)||!w.inRange(e.width,3,1001)||!w.inRange(e.height,3,1001)||e.height*e.width!==e.kernel.length)throw new Error("Invalid convolution kernel");return w.integer(e.scale)||(e.scale=e.kernel.reduce((t,n)=>t+n,0)),e.scale<1&&(e.scale=1),w.integer(e.offset)||(e.offset=0),this.options.convKernel=e,this}function Ez(e,t){if(!w.defined(e))this.options.threshold=128;else if(w.bool(e))this.options.threshold=e?128:0;else if(w.integer(e)&&w.inRange(e,0,255))this.options.threshold=e;else throw w.invalidParameterError("threshold","integer between 0 and 255",e);return!w.object(t)||t.greyscale===!0||t.grayscale===!0?this.options.thresholdGrayscale=!0:this.options.thresholdGrayscale=!1,this}function Oz(e,t,n){if(this.options.boolean=this._createInputDescriptor(e,n),w.string(t)&&w.inArray(t,["and","or","eor"]))this.options.booleanOp=t;else throw w.invalidParameterError("operator","one of: and, or, eor",t);return this}function Tz(e,t){if(!w.defined(e)&&w.number(t)?e=1:w.number(e)&&!w.defined(t)&&(t=0),!w.defined(e))this.options.linearA=[];else if(w.number(e))this.options.linearA=[e];else if(Array.isArray(e)&&e.length&&e.every(w.number))this.options.linearA=e;else throw w.invalidParameterError("a","number or array of numbers",e);if(!w.defined(t))this.options.linearB=[];else if(w.number(t))this.options.linearB=[t];else if(Array.isArray(t)&&t.length&&t.every(w.number))this.options.linearB=t;else throw w.invalidParameterError("b","number or array of numbers",t);if(this.options.linearA.length!==this.options.linearB.length)throw new Error("Expected a and b to be arrays of the same length");return this}function Gz(e){if(!Array.isArray(e))throw w.invalidParameterError("inputMatrix","array",e);if(e.length!==3&&e.length!==4)throw w.invalidParameterError("inputMatrix","3x3 or 4x4 array",e.length);let t=e.flat().map(Number);if(t.length!==9&&t.length!==16)throw w.invalidParameterError("inputMatrix","cardinality of 9 or 16",t.length);return this.options.recombMatrix=t,this}function Cz(e){if(!w.plainObject(e))throw w.invalidParameterError("options","plain object",e);if("brightness"in e)if(w.number(e.brightness)&&e.brightness>=0)this.options.brightness=e.brightness;else throw w.invalidParameterError("brightness","number above zero",e.brightness);if("saturation"in e)if(w.number(e.saturation)&&e.saturation>=0)this.options.saturation=e.saturation;else throw w.invalidParameterError("saturation","number above zero",e.saturation);if("hue"in e)if(w.integer(e.hue))this.options.hue=e.hue%360;else throw w.invalidParameterError("hue","number",e.hue);if("lightness"in e)if(w.number(e.lightness))this.options.lightness=e.lightness;else throw w.invalidParameterError("lightness","number",e.lightness);return this}Dy.exports=e=>{Object.assign(e.prototype,{autoOrient:gz,rotate:pz,flip:Fz,flop:hz,affine:Pz,sharpen:vz,erode:vy,dilate:Py,median:Dz,blur:yz,flatten:bz,unflatten:Sz,gamma:$z,negate:xz,normalise:Iz,normalize:kz,clahe:Az,convolve:wz,threshold:Ez,boolean:Oz,linear:Tz,recomb:Gz,modulate:Cz})}});var ky=ue((JV,Iy)=>{var j_=Object.defineProperty,Rz=Object.getOwnPropertyDescriptor,jz=Object.getOwnPropertyNames,Nz=Object.prototype.hasOwnProperty,zz=(e,t)=>{for(var n in t)j_(e,n,{get:t[n],enumerable:!0})},Lz=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of jz(t))!Nz.call(e,r)&&r!==n&&j_(e,r,{get:()=>t[r],enumerable:!(i=Rz(t,r))||i.enumerable});return e},Mz=e=>Lz(j_({},"__esModule",{value:!0}),e),by={};zz(by,{default:()=>tL});Iy.exports=Mz(by);var T_={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};for(let e in T_)Object.freeze(T_[e]);var Lt=Object.freeze(T_),Sy=Object.create(null);for(let e in Lt)Object.hasOwn(Lt,e)&&(Sy[Lt[e]]=e);var at={to:{},get:{}};at.get=function(e){let t=e.slice(0,3).toLowerCase(),n,i;switch(t){case"hsl":{n=at.get.hsl(e),i="hsl";break}case"hwb":{n=at.get.hwb(e),i="hwb";break}default:{n=at.get.rgb(e),i="rgb";break}}return n?{model:i,value:n}:null};at.get.rgb=function(e){if(!e)return null;let t=/^#([a-f\d]{3,4})$/i,n=/^#([a-f\d]{6})([a-f\d]{2})?$/i,i=/^rgba?\(\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)(?=[\s,])\s*(?:,\s*)?([+-]?(?:\d*\.)?\d+(?:e\d+)?)\s*(?:[\s,|/]\s*([+-]?(?:\d*\.)?\d+(?:e\d+)?)(%?)\s*)?\)$/i,r=/^rgba?\(\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[\s,|/]\s*([+-]?[\d.]+)(%?)\s*)?\)$/i,o=/^(\w+)$/,a=[0,0,0,1],c,l,f;if(c=e.match(n)){for(f=c[2],c=c[1],l=0;l<3;l++){let g=l*2;a[l]=Number.parseInt(c.slice(g,g+2),16)}f&&(a[3]=Number.parseInt(f,16)/255)}else if(c=e.match(t)){for(c=c[1],f=c[3],l=0;l<3;l++)a[l]=Number.parseInt(c[l]+c[l],16);f&&(a[3]=Number.parseInt(f+f,16)/255)}else if(c=e.match(i)){for(l=0;l<3;l++)a[l]=Number.parseFloat(c[l+1]);c[4]&&(a[3]=c[5]?Number.parseFloat(c[4])*.01:Number.parseFloat(c[4]))}else if(c=e.match(r)){for(l=0;l<3;l++)a[l]=Math.round(Number.parseFloat(c[l+1])*2.55);c[4]&&(a[3]=c[5]?Number.parseFloat(c[4])*.01:Number.parseFloat(c[4]))}else return(c=e.toLowerCase().match(o))?c[1]==="transparent"?[0,0,0,0]:Object.hasOwn(Lt,c[1])?(a=Lt[c[1]].slice(),a[3]=1,a):null:null;for(l=0;l<3;l++)a[l]=yn(a[l],0,255);return a[3]=yn(a[3],0,1),a};at.get.hsl=function(e){if(!e)return null;let t=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d.]+)%\s*,?\s*([+-]?[\d.]+)%\s*(?:[,|/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,n=e.match(t);if(n){let i=Number.parseFloat(n[4]),r=(Number.parseFloat(n[1])%360+360)%360,o=yn(Number.parseFloat(n[2]),0,100),a=yn(Number.parseFloat(n[3]),0,100),c=yn(Number.isNaN(i)?1:i,0,1);return[r,o,a,c]}return null};at.get.hwb=function(e){if(!e)return null;let t=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*[\s,]\s*([+-]?[\d.]+)%\s*[\s,]\s*([+-]?[\d.]+)%\s*(?:[\s,]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:e[+-]?\d+)?)\s*)?\)$/i,n=e.match(t);if(n){let i=Number.parseFloat(n[4]),r=(Number.parseFloat(n[1])%360+360)%360,o=yn(Number.parseFloat(n[2]),0,100),a=yn(Number.parseFloat(n[3]),0,100),c=yn(Number.isNaN(i)?1:i,0,1);return[r,o,a,c]}return null};at.to.hex=function(...e){return"#"+oc(e[0])+oc(e[1])+oc(e[2])+(e[3]<1?oc(Math.round(e[3]*255)):"")};at.to.rgb=function(...e){return e.length<4||e[3]===1?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"};at.to.rgb.percent=function(...e){let t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),i=Math.round(e[2]/255*100);return e.length<4||e[3]===1?"rgb("+t+"%, "+n+"%, "+i+"%)":"rgba("+t+"%, "+n+"%, "+i+"%, "+e[3]+")"};at.to.hsl=function(...e){return e.length<4||e[3]===1?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"};at.to.hwb=function(...e){let t="";return e.length>=4&&e[3]!==1&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"};at.to.keyword=function(...e){return Sy[e.slice(0,3)]};function yn(e,t,n){return Math.min(Math.max(t,e),n)}function oc(e){let t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}var oi=at,$y={};for(let e of Object.keys(Lt))$y[Lt[e]]=e;var U={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},oklab:{channels:3,labels:["okl","oka","okb"]},lch:{channels:3,labels:"lch"},oklch:{channels:3,labels:["okl","okc","okh"]},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},tr=U,Xt=(6/29)**3;function si(e){let t=e>.0031308?1.055*e**.4166666666666667-.055:e*12.92;return Math.min(Math.max(0,t),1)}function ci(e){return e>.04045?((e+.055)/1.055)**2.4:e/12.92}for(let e of Object.keys(U)){if(!("channels"in U[e]))throw new Error("missing channels property: "+e);if(!("labels"in U[e]))throw new Error("missing channel labels property: "+e);if(U[e].labels.length!==U[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:n}=U[e];delete U[e].channels,delete U[e].labels,Object.defineProperty(U[e],"channels",{value:t}),Object.defineProperty(U[e],"labels",{value:n})}U.rgb.hsl=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.min(t,n,i),o=Math.max(t,n,i),a=o-r,c,l;switch(o){case r:{c=0;break}case t:{c=(n-i)/a;break}case n:{c=2+(i-t)/a;break}case i:{c=4+(t-n)/a;break}}c=Math.min(c*60,360),c<0&&(c+=360);let f=(r+o)/2;return o===r?l=0:f<=.5?l=a/(o+r):l=a/(2-o-r),[c,l*100,f*100]};U.rgb.hsv=function(e){let t,n,i,r,o,a=e[0]/255,c=e[1]/255,l=e[2]/255,f=Math.max(a,c,l),g=f-Math.min(a,c,l),D=function(b){return(f-b)/6/g+1/2};if(g===0)r=0,o=0;else{switch(o=g/f,t=D(a),n=D(c),i=D(l),f){case a:{r=i-n;break}case c:{r=1/3+t-i;break}case l:{r=2/3+n-t;break}}r<0?r+=1:r>1&&(r-=1)}return[r*360,o*100,f*100]};U.rgb.hwb=function(e){let t=e[0],n=e[1],i=e[2],r=U.rgb.hsl(e)[0],o=1/255*Math.min(t,Math.min(n,i));return i=1-1/255*Math.max(t,Math.max(n,i)),[r,o*100,i*100]};U.rgb.oklab=function(e){let t=ci(e[0]/255),n=ci(e[1]/255),i=ci(e[2]/255),r=Math.cbrt(.4122214708*t+.5363325363*n+.0514459929*i),o=Math.cbrt(.2119034982*t+.6806995451*n+.1073969566*i),a=Math.cbrt(.0883024619*t+.2817188376*n+.6299787005*i),c=.2104542553*r+.793617785*o-.0040720468*a,l=1.9779984951*r-2.428592205*o+.4505937099*a,f=.0259040371*r+.7827717662*o-.808675766*a;return[c*100,l*100,f*100]};U.rgb.cmyk=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.min(1-t,1-n,1-i),o=(1-t-r)/(1-r)||0,a=(1-n-r)/(1-r)||0,c=(1-i-r)/(1-r)||0;return[o*100,a*100,c*100,r*100]};function Uz(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}U.rgb.keyword=function(e){let t=$y[e];if(t)return t;let n=Number.POSITIVE_INFINITY,i;for(let r of Object.keys(Lt)){let o=Lt[r],a=Uz(e,o);a<n&&(n=a,i=r)}return i};U.keyword.rgb=function(e){return[...Lt[e]]};U.rgb.xyz=function(e){let t=ci(e[0]/255),n=ci(e[1]/255),i=ci(e[2]/255),r=t*.4124564+n*.3575761+i*.1804375,o=t*.2126729+n*.7151522+i*.072175,a=t*.0193339+n*.119192+i*.9503041;return[r*100,o*100,a*100]};U.rgb.lab=function(e){let t=U.rgb.xyz(e),n=t[0],i=t[1],r=t[2];n/=95.047,i/=100,r/=108.883,n=n>Xt?n**(1/3):7.787*n+16/116,i=i>Xt?i**(1/3):7.787*i+16/116,r=r>Xt?r**(1/3):7.787*r+16/116;let o=116*i-16,a=500*(n-i),c=200*(i-r);return[o,a,c]};U.hsl.rgb=function(e){let t=e[0]/360,n=e[1]/100,i=e[2]/100,r,o;if(n===0)return o=i*255,[o,o,o];let a=i<.5?i*(1+n):i+n-i*n,c=2*i-a,l=[0,0,0];for(let f=0;f<3;f++)r=t+1/3*-(f-1),r<0&&r++,r>1&&r--,6*r<1?o=c+(a-c)*6*r:2*r<1?o=a:3*r<2?o=c+(a-c)*(2/3-r)*6:o=c,l[f]=o*255;return l};U.hsl.hsv=function(e){let t=e[0],n=e[1]/100,i=e[2]/100,r=n,o=Math.max(i,.01);i*=2,n*=i<=1?i:2-i,r*=o<=1?o:2-o;let a=(i+n)/2,c=i===0?2*r/(o+r):2*n/(i+n);return[t,c*100,a*100]};U.hsv.rgb=function(e){let t=e[0]/60,n=e[1]/100,i=e[2]/100,r=Math.floor(t)%6,o=t-Math.floor(t),a=255*i*(1-n),c=255*i*(1-n*o),l=255*i*(1-n*(1-o));switch(i*=255,r){case 0:return[i,l,a];case 1:return[c,i,a];case 2:return[a,i,l];case 3:return[a,c,i];case 4:return[l,a,i];case 5:return[i,a,c]}};U.hsv.hsl=function(e){let t=e[0],n=e[1]/100,i=e[2]/100,r=Math.max(i,.01),o,a;a=(2-n)*i;let c=(2-n)*r;return o=n*r,o/=c<=1?c:2-c,o=o||0,a/=2,[t,o*100,a*100]};U.hwb.rgb=function(e){let t=e[0]/360,n=e[1]/100,i=e[2]/100,r=n+i,o;r>1&&(n/=r,i/=r);let a=Math.floor(6*t),c=1-i;o=6*t-a,(a&1)!==0&&(o=1-o);let l=n+o*(c-n),f,g,D;switch(a){default:case 6:case 0:{f=c,g=l,D=n;break}case 1:{f=l,g=c,D=n;break}case 2:{f=n,g=c,D=l;break}case 3:{f=n,g=l,D=c;break}case 4:{f=l,g=n,D=c;break}case 5:{f=c,g=n,D=l;break}}return[f*255,g*255,D*255]};U.cmyk.rgb=function(e){let t=e[0]/100,n=e[1]/100,i=e[2]/100,r=e[3]/100,o=1-Math.min(1,t*(1-r)+r),a=1-Math.min(1,n*(1-r)+r),c=1-Math.min(1,i*(1-r)+r);return[o*255,a*255,c*255]};U.xyz.rgb=function(e){let t=e[0]/100,n=e[1]/100,i=e[2]/100,r,o,a;return r=t*3.2404542+n*-1.5371385+i*-.4985314,o=t*-.969266+n*1.8760108+i*.041556,a=t*.0556434+n*-.2040259+i*1.0572252,r=si(r),o=si(o),a=si(a),[r*255,o*255,a*255]};U.xyz.lab=function(e){let t=e[0],n=e[1],i=e[2];t/=95.047,n/=100,i/=108.883,t=t>Xt?t**(1/3):7.787*t+16/116,n=n>Xt?n**(1/3):7.787*n+16/116,i=i>Xt?i**(1/3):7.787*i+16/116;let r=116*n-16,o=500*(t-n),a=200*(n-i);return[r,o,a]};U.xyz.oklab=function(e){let t=e[0]/100,n=e[1]/100,i=e[2]/100,r=Math.cbrt(.8189330101*t+.3618667424*n-.1288597137*i),o=Math.cbrt(.0329845436*t+.9293118715*n+.0361456387*i),a=Math.cbrt(.0482003018*t+.2643662691*n+.633851707*i),c=.2104542553*r+.793617785*o-.0040720468*a,l=1.9779984951*r-2.428592205*o+.4505937099*a,f=.0259040371*r+.7827717662*o-.808675766*a;return[c*100,l*100,f*100]};U.oklab.oklch=function(e){return U.lab.lch(e)};U.oklab.xyz=function(e){let t=e[0]/100,n=e[1]/100,i=e[2]/100,r=(.999999998*t+.396337792*n+.215803758*i)**3,o=(1.000000008*t-.105561342*n-.063854175*i)**3,a=(1.000000055*t-.089484182*n-1.291485538*i)**3,c=1.227013851*r-.55779998*o+.281256149*a,l=-.040580178*r+1.11225687*o-.071676679*a,f=-.076381285*r-.421481978*o+1.58616322*a;return[c*100,l*100,f*100]};U.oklab.rgb=function(e){let t=e[0]/100,n=e[1]/100,i=e[2]/100,r=(t+.3963377774*n+.2158037573*i)**3,o=(t-.1055613458*n-.0638541728*i)**3,a=(t-.0894841775*n-1.291485548*i)**3,c=si(4.0767416621*r-3.3077115913*o+.2309699292*a),l=si(-1.2684380046*r+2.6097574011*o-.3413193965*a),f=si(-.0041960863*r-.7034186147*o+1.707614701*a);return[c*255,l*255,f*255]};U.oklch.oklab=function(e){return U.lch.lab(e)};U.lab.xyz=function(e){let t=e[0],n=e[1],i=e[2],r,o,a;o=(t+16)/116,r=n/500+o,a=o-i/200;let c=o**3,l=r**3,f=a**3;return o=c>Xt?c:(o-16/116)/7.787,r=l>Xt?l:(r-16/116)/7.787,a=f>Xt?f:(a-16/116)/7.787,r*=95.047,o*=100,a*=108.883,[r,o,a]};U.lab.lch=function(e){let t=e[0],n=e[1],i=e[2],r;r=Math.atan2(i,n)*360/2/Math.PI,r<0&&(r+=360);let a=Math.sqrt(n*n+i*i);return[t,a,r]};U.lch.lab=function(e){let t=e[0],n=e[1],r=e[2]/360*2*Math.PI,o=n*Math.cos(r),a=n*Math.sin(r);return[t,o,a]};U.rgb.ansi16=function(e,t=null){let[n,i,r]=e,o=t===null?U.rgb.hsv(e)[2]:t;if(o=Math.round(o/50),o===0)return 30;let a=30+(Math.round(r/255)<<2|Math.round(i/255)<<1|Math.round(n/255));return o===2&&(a+=60),a};U.hsv.ansi16=function(e){return U.rgb.ansi16(U.hsv.rgb(e),e[2])};U.rgb.ansi256=function(e){let t=e[0],n=e[1],i=e[2];return t>>4===n>>4&&n>>4===i>>4?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)};U.ansi16.rgb=function(e){e=e[0];let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let n=(Math.trunc(e>50)+1)*.5,i=(t&1)*n*255,r=(t>>1&1)*n*255,o=(t>>2&1)*n*255;return[i,r,o]};U.ansi256.rgb=function(e){if(e=e[0],e>=232){let o=(e-232)*10+8;return[o,o,o]}e-=16;let t,n=Math.floor(e/36)/5*255,i=Math.floor((t=e%36)/6)/5*255,r=t%6/5*255;return[n,i,r]};U.rgb.hex=function(e){let n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".slice(n.length)+n};U.hex.rgb=function(e){let t=e.toString(16).match(/[a-f\d]{6}|[a-f\d]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=[...n].map(c=>c+c).join(""));let i=Number.parseInt(n,16),r=i>>16&255,o=i>>8&255,a=i&255;return[r,o,a]};U.rgb.hcg=function(e){let t=e[0]/255,n=e[1]/255,i=e[2]/255,r=Math.max(Math.max(t,n),i),o=Math.min(Math.min(t,n),i),a=r-o,c,l=a<1?o/(1-a):0;return a<=0?c=0:r===t?c=(n-i)/a%6:r===n?c=2+(i-t)/a:c=4+(t-n)/a,c/=6,c%=1,[c*360,a*100,l*100]};U.hsl.hcg=function(e){let t=e[1]/100,n=e[2]/100,i=n<.5?2*t*n:2*t*(1-n),r=0;return i<1&&(r=(n-.5*i)/(1-i)),[e[0],i*100,r*100]};U.hsv.hcg=function(e){let t=e[1]/100,n=e[2]/100,i=t*n,r=0;return i<1&&(r=(n-i)/(1-i)),[e[0],i*100,r*100]};U.hcg.rgb=function(e){let t=e[0]/360,n=e[1]/100,i=e[2]/100;if(n===0)return[i*255,i*255,i*255];let r=[0,0,0],o=t%1*6,a=o%1,c=1-a,l=0;switch(Math.floor(o)){case 0:{r[0]=1,r[1]=a,r[2]=0;break}case 1:{r[0]=c,r[1]=1,r[2]=0;break}case 2:{r[0]=0,r[1]=1,r[2]=a;break}case 3:{r[0]=0,r[1]=c,r[2]=1;break}case 4:{r[0]=a,r[1]=0,r[2]=1;break}default:r[0]=1,r[1]=0,r[2]=c}return l=(1-n)*i,[(n*r[0]+l)*255,(n*r[1]+l)*255,(n*r[2]+l)*255]};U.hcg.hsv=function(e){let t=e[1]/100,n=e[2]/100,i=t+n*(1-t),r=0;return i>0&&(r=t/i),[e[0],r*100,i*100]};U.hcg.hsl=function(e){let t=e[1]/100,i=e[2]/100*(1-t)+.5*t,r=0;return i>0&&i<.5?r=t/(2*i):i>=.5&&i<1&&(r=t/(2*(1-i))),[e[0],r*100,i*100]};U.hcg.hwb=function(e){let t=e[1]/100,n=e[2]/100,i=t+n*(1-t);return[e[0],(i-t)*100,(1-i)*100]};U.hwb.hcg=function(e){let t=e[1]/100,i=1-e[2]/100,r=i-t,o=0;return r<1&&(o=(i-r)/(1-r)),[e[0],r*100,o*100]};U.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};U.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};U.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};U.gray.hsl=function(e){return[0,0,e[0]]};U.gray.hsv=U.gray.hsl;U.gray.hwb=function(e){return[0,100,e[0]]};U.gray.cmyk=function(e){return[0,0,0,e[0]]};U.gray.lab=function(e){return[e[0],0,0]};U.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,i=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".slice(i.length)+i};U.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};function Bz(){let e={},t=Object.keys(tr);for(let{length:n}=t,i=0;i<n;i++)e[t[i]]={distance:-1,parent:null};return e}function Wz(e){let t=Bz(),n=[e];for(t[e].distance=0;n.length>0;){let i=n.pop(),r=Object.keys(tr[i]);for(let{length:o}=r,a=0;a<o;a++){let c=r[a],l=t[c];l.distance===-1&&(l.distance=t[i].distance+1,l.parent=i,n.unshift(c))}}return t}function Vz(e,t){return function(n){return t(e(n))}}function Zz(e,t){let n=[t[e].parent,e],i=tr[t[e].parent][e],r=t[e].parent;for(;t[r].parent;)n.unshift(t[r].parent),i=Vz(tr[t[r].parent][r],i),r=t[r].parent;return i.conversion=n,i}function Hz(e){let t=Wz(e),n={},i=Object.keys(t);for(let{length:r}=i,o=0;o<r;o++){let a=i[o];t[a].parent!==null&&(n[a]=Zz(a,t))}return n}var Jz=Hz,ai={},Kz=Object.keys(tr);function qz(e){let t=function(...n){let i=n[0];return i==null?i:(i.length>1&&(n=i),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function Xz(e){let t=function(...n){let i=n[0];if(i==null)return i;i.length>1&&(n=i);let r=e(n);if(typeof r=="object")for(let{length:o}=r,a=0;a<o;a++)r[a]=Math.round(r[a]);return r};return"conversion"in e&&(t.conversion=e.conversion),t}for(let e of Kz){ai[e]={},Object.defineProperty(ai[e],"channels",{value:tr[e].channels}),Object.defineProperty(ai[e],"labels",{value:tr[e].labels});let t=Jz(e),n=Object.keys(t);for(let i of n){let r=t[i];ai[e][i]=Xz(r),ai[e][i].raw=qz(r)}}var mt=ai,xy=["keyword","gray","hex"],G_={};for(let e of Object.keys(mt))G_[[...mt[e].labels].sort().join("")]=e;var C_={};function Re(e,t){if(!(this instanceof Re))return new Re(e,t);if(t&&t in xy&&(t=null),t&&!(t in mt))throw new Error("Unknown model: "+t);let n,i;if(e==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof Re)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if(typeof e=="string"){let r=oi.get(e);if(r===null)throw new Error("Unable to parse color from string: "+e);this.model=r.model,i=mt[this.model].channels,this.color=r.value.slice(0,i),this.valpha=typeof r.value[i]=="number"?r.value[i]:1}else if(e.length>0){this.model=t||"rgb",i=mt[this.model].channels;let r=Array.prototype.slice.call(e,0,i);this.color=R_(r,i),this.valpha=typeof e[i]=="number"?e[i]:1}else if(typeof e=="number")this.model="rgb",this.color=[e>>16&255,e>>8&255,e&255],this.valpha=1;else{this.valpha=1;let r=Object.keys(e);"alpha"in e&&(r.splice(r.indexOf("alpha"),1),this.valpha=typeof e.alpha=="number"?e.alpha:0);let o=r.sort().join("");if(!(o in G_))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=G_[o];let{labels:a}=mt[this.model],c=[];for(n=0;n<a.length;n++)c.push(e[a[n]]);this.color=R_(c)}if(C_[this.model])for(i=mt[this.model].channels,n=0;n<i;n++){let r=C_[this.model][n];r&&(this.color[n]=r(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}Re.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let t=this.model in oi.to?this:this.rgb();t=t.round(typeof e=="number"?e:1);let n=t.valpha===1?t.color:[...t.color,this.valpha];return oi.to[t.model](...n)},percentString(e){let t=this.rgb().round(typeof e=="number"?e:1),n=t.valpha===1?t.color:[...t.color,this.valpha];return oi.to.rgb.percent(...n)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){let e={},{channels:t}=mt[this.model],{labels:n}=mt[this.model];for(let i=0;i<t;i++)e[n[i]]=this.color[i];return this.valpha!==1&&(e.alpha=this.valpha),e},unitArray(){let e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,this.valpha!==1&&e.push(this.valpha),e},unitObject(){let e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,this.valpha!==1&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new Re([...this.color.map(Qz(e)),this.valpha],this.model)},alpha(e){return e!==void 0?new Re([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:ke("rgb",0,Te(255)),green:ke("rgb",1,Te(255)),blue:ke("rgb",2,Te(255)),hue:ke(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:ke("hsl",1,Te(100)),lightness:ke("hsl",2,Te(100)),saturationv:ke("hsv",1,Te(100)),value:ke("hsv",2,Te(100)),chroma:ke("hcg",1,Te(100)),gray:ke("hcg",2,Te(100)),white:ke("hwb",1,Te(100)),wblack:ke("hwb",2,Te(100)),cyan:ke("cmyk",0,Te(100)),magenta:ke("cmyk",1,Te(100)),yellow:ke("cmyk",2,Te(100)),black:ke("cmyk",3,Te(100)),x:ke("xyz",0,Te(95.047)),y:ke("xyz",1,Te(100)),z:ke("xyz",2,Te(108.833)),l:ke("lab",0,Te(100)),a:ke("lab",1),b:ke("lab",2),keyword(e){return e!==void 0?new Re(e):mt[this.model].keyword(this.color)},hex(e){return e!==void 0?new Re(e):oi.to.hex(...this.rgb().round().color)},hexa(e){if(e!==void 0)return new Re(e);let t=this.rgb().round().color,n=Math.round(this.valpha*255).toString(16).toUpperCase();return n.length===1&&(n="0"+n),oi.to.hex(...t)+n},rgbNumber(){let e=this.rgb().color;return(e[0]&255)<<16|(e[1]&255)<<8|e[2]&255},luminosity(){let e=this.rgb().color,t=[];for(let[n,i]of e.entries()){let r=i/255;t[n]=r<=.04045?r/12.92:((r+.055)/1.055)**2.4}return .2126*t[0]+.7152*t[1]+.0722*t[2]},contrast(e){let t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level(e){let t=this.contrast(e);return t>=7?"AAA":t>=4.5?"AA":""},isDark(){let e=this.rgb().color;return(e[0]*2126+e[1]*7152+e[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){let e=this.rgb();for(let t=0;t<3;t++)e.color[t]=255-e.color[t];return e},lighten(e){let t=this.hsl();return t.color[2]+=t.color[2]*e,t},darken(e){let t=this.hsl();return t.color[2]-=t.color[2]*e,t},saturate(e){let t=this.hsl();return t.color[1]+=t.color[1]*e,t},desaturate(e){let t=this.hsl();return t.color[1]-=t.color[1]*e,t},whiten(e){let t=this.hwb();return t.color[1]+=t.color[1]*e,t},blacken(e){let t=this.hwb();return t.color[2]+=t.color[2]*e,t},grayscale(){let e=this.rgb().color,t=e[0]*.3+e[1]*.59+e[2]*.11;return Re.rgb(t,t,t)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){let t=this.hsl(),n=t.color[0];return n=(n+e)%360,n=n<0?360+n:n,t.color[0]=n,t},mix(e,t){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);let n=e.rgb(),i=this.rgb(),r=t===void 0?.5:t,o=2*r-1,a=n.alpha()-i.alpha(),c=((o*a===-1?o:(o+a)/(1+o*a))+1)/2,l=1-c;return Re.rgb(c*n.red()+l*i.red(),c*n.green()+l*i.green(),c*n.blue()+l*i.blue(),n.alpha()*r+i.alpha()*(1-r))}};for(let e of Object.keys(mt)){if(xy.includes(e))continue;let{channels:t}=mt[e];Re.prototype[e]=function(...n){return this.model===e?new Re(this):n.length>0?new Re(n,e):new Re([...eL(mt[this.model][e].raw(this.color)),this.valpha],e)},Re[e]=function(...n){let i=n[0];return typeof i=="number"&&(i=R_(n,t)),new Re(i,e)}}function Yz(e,t){return Number(e.toFixed(t))}function Qz(e){return function(t){return Yz(t,e)}}function ke(e,t,n){e=Array.isArray(e)?e:[e];for(let i of e)(C_[i]||=[])[t]=n;return e=e[0],function(i){let r;return i!==void 0?(n&&(i=n(i)),r=this[e](),r.color[t]=i,r):(r=this[e]().color[t],n&&(r=n(r)),r)}}function Te(e){return function(t){return Math.max(0,Math.min(e,t))}}function eL(e){return Array.isArray(e)?e:[e]}function R_(e,t){for(let n=0;n<t;n++)typeof e[n]!="number"&&(e[n]=0);return e}var tL=Re});var wy=ue((KV,Ay)=>{Ay.exports=ky().default});var Gy=ue((qV,Ty)=>{var nL=wy(),Yt=Ct(),Ey={multiband:"multiband","b-w":"b-w",bw:"b-w",cmyk:"cmyk",srgb:"srgb"};function rL(e){return this._setBackgroundColourOption("tint",e),this}function iL(e){return this.options.greyscale=Yt.bool(e)?e:!0,this}function oL(e){return this.greyscale(e)}function aL(e){if(!Yt.string(e))throw Yt.invalidParameterError("colourspace","string",e);return this.options.colourspacePipeline=e,this}function sL(e){return this.pipelineColourspace(e)}function cL(e){if(!Yt.string(e))throw Yt.invalidParameterError("colourspace","string",e);return this.options.colourspace=e,this}function uL(e){return this.toColourspace(e)}function Oy(e){if(Yt.object(e)||Yt.string(e)&&e.length>=3&&e.length<=200){let t=nL(e);return[t.red(),t.green(),t.blue(),Math.round(t.alpha()*255)]}else throw Yt.invalidParameterError("background","object or string",e)}function lL(e,t){Yt.defined(t)&&(this.options[e]=Oy(t))}Ty.exports=e=>{Object.assign(e.prototype,{tint:rL,greyscale:iL,grayscale:oL,pipelineColourspace:aL,pipelineColorspace:sL,toColourspace:cL,toColorspace:uL,_getBackgroundColourOption:Oy,_setBackgroundColourOption:lL}),e.colourspace=Ey,e.colorspace=Ey}});var Ry=ue((XV,Cy)=>{var Mt=Ct(),dL={and:"and",or:"or",eor:"eor"};function fL(){return this.options.removeAlpha=!0,this}function mL(e){if(Mt.defined(e))if(Mt.number(e)&&Mt.inRange(e,0,1))this.options.ensureAlpha=e;else throw Mt.invalidParameterError("alpha","number between 0 and 1",e);else this.options.ensureAlpha=1;return this}function _L(e){let t={red:0,green:1,blue:2,alpha:3};if(Object.keys(t).includes(e)&&(e=t[e]),Mt.integer(e)&&Mt.inRange(e,0,4))this.options.extractChannel=e;else throw Mt.invalidParameterError("channel","integer or one of: red, green, blue, alpha",e);return this}function pL(e,t){return Array.isArray(e)?e.forEach(function(n){this.options.joinChannelIn.push(this._createInputDescriptor(n,t))},this):this.options.joinChannelIn.push(this._createInputDescriptor(e,t)),this}function gL(e){if(Mt.string(e)&&Mt.inArray(e,["and","or","eor"]))this.options.bandBoolOp=e;else throw Mt.invalidParameterError("boolOp","one of: and, or, eor",e);return this}Cy.exports=e=>{Object.assign(e.prototype,{removeAlpha:fL,ensureAlpha:mL,extractChannel:_L,joinChannel:pL,bandbool:gL}),e.bool=dL}});var My=ue((YV,Ly)=>{var N_=xe("node:path"),P=Ct(),ui=Io(),jy=new Map([["heic","heif"],["heif","heif"],["avif","avif"],["jpeg","jpeg"],["jpg","jpeg"],["jpe","jpeg"],["tile","tile"],["dz","tile"],["png","png"],["raw","raw"],["tiff","tiff"],["tif","tiff"],["webp","webp"],["gif","gif"],["jp2","jp2"],["jpx","jp2"],["j2k","jp2"],["j2c","jp2"],["jxl","jxl"]]),FL=/\.(jp[2x]|j2[kc])$/i,Ny=()=>new Error("JP2 output requires libvips with support for OpenJPEG"),zy=e=>1<<31-Math.clz32(Math.ceil(Math.log2(e)));function hL(e,t){let n;if(P.string(e)?P.string(this.options.input.file)&&N_.resolve(this.options.input.file)===N_.resolve(e)?n=new Error("Cannot use same file for input and output"):FL.test(N_.extname(e))&&!this.constructor.format.jp2k.output.file&&(n=Ny()):n=new Error("Missing output file path"),n)if(P.fn(t))t(n);else return Promise.reject(n);else{this.options.fileOut=e;let i=Error();return this._pipeline(t,i)}return this}function PL(e,t){P.object(e)?this._setBooleanOption("resolveWithObject",e.resolveWithObject):this.options.resolveWithObject&&(this.options.resolveWithObject=!1),this.options.fileOut="";let n=Error();return this._pipeline(P.fn(e)?e:t,n)}function vL(){return this.options.keepMetadata|=1,this}function DL(e){if(P.object(e))for(let[t,n]of Object.entries(e))if(P.object(n))for(let[i,r]of Object.entries(n))if(P.string(r))this.options.withExif[`exif-${t.toLowerCase()}-${i}`]=r;else throw P.invalidParameterError(`${t}.${i}`,"string",r);else throw P.invalidParameterError(t,"object",n);else throw P.invalidParameterError("exif","object",e);return this.options.withExifMerge=!1,this.keepExif()}function yL(e){return this.withExif(e),this.options.withExifMerge=!0,this}function bL(){return this.options.keepMetadata|=8,this}function SL(e,t){if(P.string(e))this.options.withIccProfile=e;else throw P.invalidParameterError("icc","string",e);if(this.keepIccProfile(),P.object(t)&&P.defined(t.attach))if(P.bool(t.attach))t.attach||(this.options.keepMetadata&=-9);else throw P.invalidParameterError("attach","boolean",t.attach);return this}function $L(){return this.options.keepMetadata|=2,this}function xL(e){if(P.string(e)&&e.length>0)this.options.withXmp=e,this.options.keepMetadata|=2;else throw P.invalidParameterError("xmp","non-empty string",e);return this}function IL(){return this.options.keepMetadata=31,this}function kL(e){if(this.keepMetadata(),this.withIccProfile("srgb"),P.object(e)){if(P.defined(e.orientation))if(P.integer(e.orientation)&&P.inRange(e.orientation,1,8))this.options.withMetadataOrientation=e.orientation;else throw P.invalidParameterError("orientation","integer between 1 and 8",e.orientation);if(P.defined(e.density))if(P.number(e.density)&&e.density>0)this.options.withMetadataDensity=e.density;else throw P.invalidParameterError("density","positive number",e.density);P.defined(e.icc)&&this.withIccProfile(e.icc),P.defined(e.exif)&&this.withExifMerge(e.exif)}return this}function AL(e,t){let n=jy.get((P.object(e)&&P.string(e.id)?e.id:e).toLowerCase());if(!n)throw P.invalidParameterError("format",`one of: ${[...jy.keys()].join(", ")}`,e);return this[n](t)}function wL(e){if(P.object(e)){if(P.defined(e.quality))if(P.integer(e.quality)&&P.inRange(e.quality,1,100))this.options.jpegQuality=e.quality;else throw P.invalidParameterError("quality","integer between 1 and 100",e.quality);if(P.defined(e.progressive)&&this._setBooleanOption("jpegProgressive",e.progressive),P.defined(e.chromaSubsampling))if(P.string(e.chromaSubsampling)&&P.inArray(e.chromaSubsampling,["4:2:0","4:4:4"]))this.options.jpegChromaSubsampling=e.chromaSubsampling;else throw P.invalidParameterError("chromaSubsampling","one of: 4:2:0, 4:4:4",e.chromaSubsampling);let t=P.bool(e.optimizeCoding)?e.optimizeCoding:e.optimiseCoding;if(P.defined(t)&&this._setBooleanOption("jpegOptimiseCoding",t),P.defined(e.mozjpeg))if(P.bool(e.mozjpeg))e.mozjpeg&&(this.options.jpegTrellisQuantisation=!0,this.options.jpegOvershootDeringing=!0,this.options.jpegOptimiseScans=!0,this.options.jpegProgressive=!0,this.options.jpegQuantisationTable=3);else throw P.invalidParameterError("mozjpeg","boolean",e.mozjpeg);let n=P.bool(e.trellisQuantization)?e.trellisQuantization:e.trellisQuantisation;P.defined(n)&&this._setBooleanOption("jpegTrellisQuantisation",n),P.defined(e.overshootDeringing)&&this._setBooleanOption("jpegOvershootDeringing",e.overshootDeringing);let i=P.bool(e.optimizeScans)?e.optimizeScans:e.optimiseScans;P.defined(i)&&(this._setBooleanOption("jpegOptimiseScans",i),i&&(this.options.jpegProgressive=!0));let r=P.number(e.quantizationTable)?e.quantizationTable:e.quantisationTable;if(P.defined(r))if(P.integer(r)&&P.inRange(r,0,8))this.options.jpegQuantisationTable=r;else throw P.invalidParameterError("quantisationTable","integer between 0 and 8",r)}return this._updateFormatOut("jpeg",e)}function EL(e){if(P.object(e)){if(P.defined(e.progressive)&&this._setBooleanOption("pngProgressive",e.progressive),P.defined(e.compressionLevel))if(P.integer(e.compressionLevel)&&P.inRange(e.compressionLevel,0,9))this.options.pngCompressionLevel=e.compressionLevel;else throw P.invalidParameterError("compressionLevel","integer between 0 and 9",e.compressionLevel);P.defined(e.adaptiveFiltering)&&this._setBooleanOption("pngAdaptiveFiltering",e.adaptiveFiltering);let t=e.colours||e.colors;if(P.defined(t))if(P.integer(t)&&P.inRange(t,2,256))this.options.pngBitdepth=zy(t);else throw P.invalidParameterError("colours","integer between 2 and 256",t);if(P.defined(e.palette)?this._setBooleanOption("pngPalette",e.palette):[e.quality,e.effort,e.colours,e.colors,e.dither].some(P.defined)&&this._setBooleanOption("pngPalette",!0),this.options.pngPalette){if(P.defined(e.quality))if(P.integer(e.quality)&&P.inRange(e.quality,0,100))this.options.pngQuality=e.quality;else throw P.invalidParameterError("quality","integer between 0 and 100",e.quality);if(P.defined(e.effort))if(P.integer(e.effort)&&P.inRange(e.effort,1,10))this.options.pngEffort=e.effort;else throw P.invalidParameterError("effort","integer between 1 and 10",e.effort);if(P.defined(e.dither))if(P.number(e.dither)&&P.inRange(e.dither,0,1))this.options.pngDither=e.dither;else throw P.invalidParameterError("dither","number between 0.0 and 1.0",e.dither)}}return this._updateFormatOut("png",e)}function OL(e){if(P.object(e)){if(P.defined(e.quality))if(P.integer(e.quality)&&P.inRange(e.quality,1,100))this.options.webpQuality=e.quality;else throw P.invalidParameterError("quality","integer between 1 and 100",e.quality);if(P.defined(e.alphaQuality))if(P.integer(e.alphaQuality)&&P.inRange(e.alphaQuality,0,100))this.options.webpAlphaQuality=e.alphaQuality;else throw P.invalidParameterError("alphaQuality","integer between 0 and 100",e.alphaQuality);if(P.defined(e.lossless)&&this._setBooleanOption("webpLossless",e.lossless),P.defined(e.nearLossless)&&this._setBooleanOption("webpNearLossless",e.nearLossless),P.defined(e.smartSubsample)&&this._setBooleanOption("webpSmartSubsample",e.smartSubsample),P.defined(e.smartDeblock)&&this._setBooleanOption("webpSmartDeblock",e.smartDeblock),P.defined(e.preset))if(P.string(e.preset)&&P.inArray(e.preset,["default","photo","picture","drawing","icon","text"]))this.options.webpPreset=e.preset;else throw P.invalidParameterError("preset","one of: default, photo, picture, drawing, icon, text",e.preset);if(P.defined(e.effort))if(P.integer(e.effort)&&P.inRange(e.effort,0,6))this.options.webpEffort=e.effort;else throw P.invalidParameterError("effort","integer between 0 and 6",e.effort);P.defined(e.minSize)&&this._setBooleanOption("webpMinSize",e.minSize),P.defined(e.mixed)&&this._setBooleanOption("webpMixed",e.mixed)}return z_(e,this.options),this._updateFormatOut("webp",e)}function TL(e){if(P.object(e)){P.defined(e.reuse)&&this._setBooleanOption("gifReuse",e.reuse),P.defined(e.progressive)&&this._setBooleanOption("gifProgressive",e.progressive);let t=e.colours||e.colors;if(P.defined(t))if(P.integer(t)&&P.inRange(t,2,256))this.options.gifBitdepth=zy(t);else throw P.invalidParameterError("colours","integer between 2 and 256",t);if(P.defined(e.effort))if(P.number(e.effort)&&P.inRange(e.effort,1,10))this.options.gifEffort=e.effort;else throw P.invalidParameterError("effort","integer between 1 and 10",e.effort);if(P.defined(e.dither))if(P.number(e.dither)&&P.inRange(e.dither,0,1))this.options.gifDither=e.dither;else throw P.invalidParameterError("dither","number between 0.0 and 1.0",e.dither);if(P.defined(e.interFrameMaxError))if(P.number(e.interFrameMaxError)&&P.inRange(e.interFrameMaxError,0,32))this.options.gifInterFrameMaxError=e.interFrameMaxError;else throw P.invalidParameterError("interFrameMaxError","number between 0.0 and 32.0",e.interFrameMaxError);if(P.defined(e.interPaletteMaxError))if(P.number(e.interPaletteMaxError)&&P.inRange(e.interPaletteMaxError,0,256))this.options.gifInterPaletteMaxError=e.interPaletteMaxError;else throw P.invalidParameterError("interPaletteMaxError","number between 0.0 and 256.0",e.interPaletteMaxError);if(P.defined(e.keepDuplicateFrames))if(P.bool(e.keepDuplicateFrames))this._setBooleanOption("gifKeepDuplicateFrames",e.keepDuplicateFrames);else throw P.invalidParameterError("keepDuplicateFrames","boolean",e.keepDuplicateFrames)}return z_(e,this.options),this._updateFormatOut("gif",e)}function GL(e){if(!this.constructor.format.jp2k.output.buffer)throw Ny();if(P.object(e)){if(P.defined(e.quality))if(P.integer(e.quality)&&P.inRange(e.quality,1,100))this.options.jp2Quality=e.quality;else throw P.invalidParameterError("quality","integer between 1 and 100",e.quality);if(P.defined(e.lossless))if(P.bool(e.lossless))this.options.jp2Lossless=e.lossless;else throw P.invalidParameterError("lossless","boolean",e.lossless);if(P.defined(e.tileWidth))if(P.integer(e.tileWidth)&&P.inRange(e.tileWidth,1,32768))this.options.jp2TileWidth=e.tileWidth;else throw P.invalidParameterError("tileWidth","integer between 1 and 32768",e.tileWidth);if(P.defined(e.tileHeight))if(P.integer(e.tileHeight)&&P.inRange(e.tileHeight,1,32768))this.options.jp2TileHeight=e.tileHeight;else throw P.invalidParameterError("tileHeight","integer between 1 and 32768",e.tileHeight);if(P.defined(e.chromaSubsampling))if(P.string(e.chromaSubsampling)&&P.inArray(e.chromaSubsampling,["4:2:0","4:4:4"]))this.options.jp2ChromaSubsampling=e.chromaSubsampling;else throw P.invalidParameterError("chromaSubsampling","one of: 4:2:0, 4:4:4",e.chromaSubsampling)}return this._updateFormatOut("jp2",e)}function z_(e,t){if(P.object(e)&&P.defined(e.loop))if(P.integer(e.loop)&&P.inRange(e.loop,0,65535))t.loop=e.loop;else throw P.invalidParameterError("loop","integer between 0 and 65535",e.loop);if(P.object(e)&&P.defined(e.delay))if(P.integer(e.delay)&&P.inRange(e.delay,0,65535))t.delay=[e.delay];else if(Array.isArray(e.delay)&&e.delay.every(P.integer)&&e.delay.every(n=>P.inRange(n,0,65535)))t.delay=e.delay;else throw P.invalidParameterError("delay","integer or an array of integers between 0 and 65535",e.delay)}function CL(e){if(P.object(e)){if(P.defined(e.quality))if(P.integer(e.quality)&&P.inRange(e.quality,1,100))this.options.tiffQuality=e.quality;else throw P.invalidParameterError("quality","integer between 1 and 100",e.quality);if(P.defined(e.bitdepth))if(P.integer(e.bitdepth)&&P.inArray(e.bitdepth,[1,2,4,8]))this.options.tiffBitdepth=e.bitdepth;else throw P.invalidParameterError("bitdepth","1, 2, 4 or 8",e.bitdepth);if(P.defined(e.tile)&&this._setBooleanOption("tiffTile",e.tile),P.defined(e.tileWidth))if(P.integer(e.tileWidth)&&e.tileWidth>0)this.options.tiffTileWidth=e.tileWidth;else throw P.invalidParameterError("tileWidth","integer greater than zero",e.tileWidth);if(P.defined(e.tileHeight))if(P.integer(e.tileHeight)&&e.tileHeight>0)this.options.tiffTileHeight=e.tileHeight;else throw P.invalidParameterError("tileHeight","integer greater than zero",e.tileHeight);if(P.defined(e.miniswhite)&&this._setBooleanOption("tiffMiniswhite",e.miniswhite),P.defined(e.pyramid)&&this._setBooleanOption("tiffPyramid",e.pyramid),P.defined(e.xres))if(P.number(e.xres)&&e.xres>0)this.options.tiffXres=e.xres;else throw P.invalidParameterError("xres","number greater than zero",e.xres);if(P.defined(e.yres))if(P.number(e.yres)&&e.yres>0)this.options.tiffYres=e.yres;else throw P.invalidParameterError("yres","number greater than zero",e.yres);if(P.defined(e.compression))if(P.string(e.compression)&&P.inArray(e.compression,["none","jpeg","deflate","packbits","ccittfax4","lzw","webp","zstd","jp2k"]))this.options.tiffCompression=e.compression;else throw P.invalidParameterError("compression","one of: none, jpeg, deflate, packbits, ccittfax4, lzw, webp, zstd, jp2k",e.compression);if(P.defined(e.bigtiff)&&this._setBooleanOption("tiffBigtiff",e.bigtiff),P.defined(e.predictor))if(P.string(e.predictor)&&P.inArray(e.predictor,["none","horizontal","float"]))this.options.tiffPredictor=e.predictor;else throw P.invalidParameterError("predictor","one of: none, horizontal, float",e.predictor);if(P.defined(e.resolutionUnit))if(P.string(e.resolutionUnit)&&P.inArray(e.resolutionUnit,["inch","cm"]))this.options.tiffResolutionUnit=e.resolutionUnit;else throw P.invalidParameterError("resolutionUnit","one of: inch, cm",e.resolutionUnit)}return this._updateFormatOut("tiff",e)}function RL(e){return this.heif({...e,compression:"av1"})}function jL(e){if(P.object(e)){if(P.string(e.compression)&&P.inArray(e.compression,["av1","hevc"]))this.options.heifCompression=e.compression;else throw P.invalidParameterError("compression","one of: av1, hevc",e.compression);if(P.defined(e.quality))if(P.integer(e.quality)&&P.inRange(e.quality,1,100))this.options.heifQuality=e.quality;else throw P.invalidParameterError("quality","integer between 1 and 100",e.quality);if(P.defined(e.lossless))if(P.bool(e.lossless))this.options.heifLossless=e.lossless;else throw P.invalidParameterError("lossless","boolean",e.lossless);if(P.defined(e.effort))if(P.integer(e.effort)&&P.inRange(e.effort,0,9))this.options.heifEffort=e.effort;else throw P.invalidParameterError("effort","integer between 0 and 9",e.effort);if(P.defined(e.chromaSubsampling))if(P.string(e.chromaSubsampling)&&P.inArray(e.chromaSubsampling,["4:2:0","4:4:4"]))this.options.heifChromaSubsampling=e.chromaSubsampling;else throw P.invalidParameterError("chromaSubsampling","one of: 4:2:0, 4:4:4",e.chromaSubsampling);if(P.defined(e.bitdepth))if(P.integer(e.bitdepth)&&P.inArray(e.bitdepth,[8,10,12])){if(e.bitdepth!==8&&this.constructor.versions.heif)throw P.invalidParameterError("bitdepth when using prebuilt binaries",8,e.bitdepth);this.options.heifBitdepth=e.bitdepth}else throw P.invalidParameterError("bitdepth","8, 10 or 12",e.bitdepth)}else throw P.invalidParameterError("options","Object",e);return this._updateFormatOut("heif",e)}function NL(e){if(P.object(e)){if(P.defined(e.quality))if(P.integer(e.quality)&&P.inRange(e.quality,1,100))this.options.jxlDistance=e.quality>=30?.1+(100-e.quality)*.09:53/3e3*e.quality*e.quality-23/20*e.quality+25;else throw P.invalidParameterError("quality","integer between 1 and 100",e.quality);else if(P.defined(e.distance))if(P.number(e.distance)&&P.inRange(e.distance,0,15))this.options.jxlDistance=e.distance;else throw P.invalidParameterError("distance","number between 0.0 and 15.0",e.distance);if(P.defined(e.decodingTier))if(P.integer(e.decodingTier)&&P.inRange(e.decodingTier,0,4))this.options.jxlDecodingTier=e.decodingTier;else throw P.invalidParameterError("decodingTier","integer between 0 and 4",e.decodingTier);if(P.defined(e.lossless))if(P.bool(e.lossless))this.options.jxlLossless=e.lossless;else throw P.invalidParameterError("lossless","boolean",e.lossless);if(P.defined(e.effort))if(P.integer(e.effort)&&P.inRange(e.effort,1,9))this.options.jxlEffort=e.effort;else throw P.invalidParameterError("effort","integer between 1 and 9",e.effort)}return z_(e,this.options),this._updateFormatOut("jxl",e)}function zL(e){if(P.object(e)&&P.defined(e.depth))if(P.string(e.depth)&&P.inArray(e.depth,["char","uchar","short","ushort","int","uint","float","complex","double","dpcomplex"]))this.options.rawDepth=e.depth;else throw P.invalidParameterError("depth","one of: char, uchar, short, ushort, int, uint, float, complex, double, dpcomplex",e.depth);return this._updateFormatOut("raw")}function LL(e){if(P.object(e)){if(P.defined(e.size))if(P.integer(e.size)&&P.inRange(e.size,1,8192))this.options.tileSize=e.size;else throw P.invalidParameterError("size","integer between 1 and 8192",e.size);if(P.defined(e.overlap))if(P.integer(e.overlap)&&P.inRange(e.overlap,0,8192)){if(e.overlap>this.options.tileSize)throw P.invalidParameterError("overlap",`<= size (${this.options.tileSize})`,e.overlap);this.options.tileOverlap=e.overlap}else throw P.invalidParameterError("overlap","integer between 0 and 8192",e.overlap);if(P.defined(e.container))if(P.string(e.container)&&P.inArray(e.container,["fs","zip"]))this.options.tileContainer=e.container;else throw P.invalidParameterError("container","one of: fs, zip",e.container);if(P.defined(e.layout))if(P.string(e.layout)&&P.inArray(e.layout,["dz","google","iiif","iiif3","zoomify"]))this.options.tileLayout=e.layout;else throw P.invalidParameterError("layout","one of: dz, google, iiif, iiif3, zoomify",e.layout);if(P.defined(e.angle))if(P.integer(e.angle)&&!(e.angle%90))this.options.tileAngle=e.angle;else throw P.invalidParameterError("angle","positive/negative multiple of 90",e.angle);if(this._setBackgroundColourOption("tileBackground",e.background),P.defined(e.depth))if(P.string(e.depth)&&P.inArray(e.depth,["onepixel","onetile","one"]))this.options.tileDepth=e.depth;else throw P.invalidParameterError("depth","one of: onepixel, onetile, one",e.depth);if(P.defined(e.skipBlanks))if(P.integer(e.skipBlanks)&&P.inRange(e.skipBlanks,-1,65535))this.options.tileSkipBlanks=e.skipBlanks;else throw P.invalidParameterError("skipBlanks","integer between -1 and 255/65535",e.skipBlanks);else P.defined(e.layout)&&e.layout==="google"&&(this.options.tileSkipBlanks=5);let t=P.bool(e.center)?e.center:e.centre;if(P.defined(t)&&this._setBooleanOption("tileCentre",t),P.defined(e.id))if(P.string(e.id))this.options.tileId=e.id;else throw P.invalidParameterError("id","string",e.id);if(P.defined(e.basename))if(P.string(e.basename))this.options.tileBasename=e.basename;else throw P.invalidParameterError("basename","string",e.basename)}if(P.inArray(this.options.formatOut,["jpeg","png","webp"]))this.options.tileFormat=this.options.formatOut;else if(this.options.formatOut!=="input")throw P.invalidParameterError("format","one of: jpeg, png, webp",this.options.formatOut);return this._updateFormatOut("dz")}function ML(e){if(!P.plainObject(e))throw P.invalidParameterError("options","object",e);if(P.integer(e.seconds)&&P.inRange(e.seconds,0,3600))this.options.timeoutSeconds=e.seconds;else throw P.invalidParameterError("seconds","integer between 0 and 3600",e.seconds);return this}function UL(e,t){return P.object(t)&&t.force===!1||(this.options.formatOut=e),this}function BL(e,t){if(P.bool(t))this.options[e]=t;else throw P.invalidParameterError(e,"boolean",t)}function WL(){if(!this.options.streamOut){this.options.streamOut=!0;let e=Error();this._pipeline(void 0,e)}}function VL(e,t){return typeof e=="function"?(this._isStreamInput()?this.on("finish",()=>{this._flattenBufferIn(),ui.pipeline(this.options,(n,i,r)=>{n?e(P.nativeError(n,t)):e(null,i,r)})}):ui.pipeline(this.options,(n,i,r)=>{n?e(P.nativeError(n,t)):e(null,i,r)}),this):this.options.streamOut?(this._isStreamInput()?(this.once("finish",()=>{this._flattenBufferIn(),ui.pipeline(this.options,(n,i,r)=>{n?this.emit("error",P.nativeError(n,t)):(this.emit("info",r),this.push(i)),this.push(null),this.on("end",()=>this.emit("close"))})}),this.streamInFinished&&this.emit("finish")):ui.pipeline(this.options,(n,i,r)=>{n?this.emit("error",P.nativeError(n,t)):(this.emit("info",r),this.push(i)),this.push(null),this.on("end",()=>this.emit("close"))}),this):this._isStreamInput()?new Promise((n,i)=>{this.once("finish",()=>{this._flattenBufferIn(),ui.pipeline(this.options,(r,o,a)=>{r?i(P.nativeError(r,t)):this.options.resolveWithObject?n({data:o,info:a}):n(o)})})}):new Promise((n,i)=>{ui.pipeline(this.options,(r,o,a)=>{r?i(P.nativeError(r,t)):this.options.resolveWithObject?n({data:o,info:a}):n(o)})})}Ly.exports=e=>{Object.assign(e.prototype,{toFile:hL,toBuffer:PL,keepExif:vL,withExif:DL,withExifMerge:yL,keepIccProfile:bL,withIccProfile:SL,keepXmp:$L,withXmp:xL,keepMetadata:IL,withMetadata:kL,toFormat:AL,jpeg:wL,jp2:GL,png:EL,webp:OL,tiff:CL,avif:RL,heif:jL,jxl:NL,gif:TL,raw:zL,tile:LL,timeout:ML,_updateFormatOut:UL,_setBooleanOption:BL,_read:WL,_pipeline:VL})}});var Vy=ue((QV,Wy)=>{var ZL=xe("node:events"),ac=Hs(),Dt=Ct(),{runtimePlatformArch:HL}=I_(),Qe=Io(),Uy=HL(),L_=Qe.libvipsVersion(),bn=Qe.format();bn.heif.output.alias=["avif","heic"];bn.jpeg.output.alias=["jpe","jpg"];bn.tiff.output.alias=["tif"];bn.jp2k.output.alias=["j2c","j2k","jp2","jpx"];var JL={nearest:"nearest",bilinear:"bilinear",bicubic:"bicubic",locallyBoundedBicubic:"lbb",nohalo:"nohalo",vertexSplitQuadraticBasisSpline:"vsqbs"},li={vips:L_.semver};if(!L_.isGlobal)if(L_.isWasm)try{li=xe("@img/sharp-wasm32/versions")}catch{}else try{li=xe(`@img/sharp-${Uy}/versions`)}catch{try{li=xe(`@img/sharp-libvips-${Uy}/versions`)}catch{}}li.sharp=$_().version;li.heif&&bn.heif&&(bn.heif.input.fileSuffix=[".avif"],bn.heif.output.alias=["avif"]);function By(e){return Dt.bool(e)?e?Qe.cache(50,20,100):Qe.cache(0,0,0):Dt.object(e)?Qe.cache(e.memory,e.files,e.items):Qe.cache()}By(!0);function KL(e){return Qe.concurrency(Dt.integer(e)?e:null)}ac.familySync()===ac.GLIBC&&!Qe._isUsingJemalloc()?Qe.concurrency(1):ac.familySync()===ac.MUSL&&Qe.concurrency()===1024&&Qe.concurrency(xe("node:os").availableParallelism());var qL=new ZL.EventEmitter;function XL(){return Qe.counters()}function YL(e){return Qe.simd(Dt.bool(e)?e:null)}function QL(e){if(Dt.object(e))if(Array.isArray(e.operation)&&e.operation.every(Dt.string))Qe.block(e.operation,!0);else throw Dt.invalidParameterError("operation","Array<string>",e.operation);else throw Dt.invalidParameterError("options","object",e)}function e4(e){if(Dt.object(e))if(Array.isArray(e.operation)&&e.operation.every(Dt.string))Qe.block(e.operation,!1);else throw Dt.invalidParameterError("operation","Array<string>",e.operation);else throw Dt.invalidParameterError("options","object",e)}Wy.exports=e=>{e.cache=By,e.concurrency=KL,e.counters=XL,e.simd=YL,e.format=bn,e.interpolators=JL,e.versions=li,e.queue=qL,e.block=QL,e.unblock=e4}});var Hy=ue((t3,Zy)=>{var Qt=ay();uy()(Qt);py()(Qt);Fy()(Qt);yy()(Qt);Gy()(Qt);Ry()(Qt);My()(Qt);Vy()(Qt);Zy.exports=Qt});import x4 from"node:fs/promises";var ht={};Bt(ht,{$brand:()=>jc,$input:()=>ud,$output:()=>cd,INVALID:()=>Je,NEVER:()=>Rc,TimePrecision:()=>Dd,ZodAny:()=>um,ZodArray:()=>mm,ZodBase64:()=>xs,ZodBase64URL:()=>Is,ZodBigInt:()=>Kr,ZodBigIntFormat:()=>ws,ZodBoolean:()=>Jr,ZodCIDRv4:()=>Ss,ZodCIDRv6:()=>$s,ZodCUID:()=>Fs,ZodCUID2:()=>hs,ZodCatch:()=>Gm,ZodCodec:()=>po,ZodCompileAsyncError:()=>xt,ZodCompileUnsupportedError:()=>le,ZodCreditCard:()=>tm,ZodCustom:()=>go,ZodCustomStringFormat:()=>Jn,ZodDate:()=>co,ZodDefault:()=>km,ZodDiscriminatedUnion:()=>pm,ZodE164:()=>ks,ZodEmail:()=>ms,ZodEmoji:()=>ps,ZodEnum:()=>Vr,ZodError:()=>aR,ZodExactOptional:()=>Gs,ZodFile:()=>Sm,ZodFirstPartyTypeKind:()=>Jm,ZodFunction:()=>Wm,ZodGUID:()=>_s,ZodIBAN:()=>nm,ZodIPv4:()=>ys,ZodIPv6:()=>bs,ZodISODate:()=>gn,ZodISODateTime:()=>pn,ZodISODuration:()=>hn,ZodISOTime:()=>Fn,ZodInstanceOf:()=>Hm,ZodIntersection:()=>gm,ZodIssueCode:()=>uR,ZodJWT:()=>As,ZodKSUID:()=>Ds,ZodLazy:()=>Mm,ZodLiteral:()=>bm,ZodMAC:()=>em,ZodMap:()=>Dm,ZodNaN:()=>Rm,ZodNanoID:()=>gs,ZodNever:()=>dm,ZodNonOptional:()=>Cs,ZodNull:()=>sm,ZodNullable:()=>Im,ZodNumber:()=>Hr,ZodNumberFormat:()=>Kn,ZodObject:()=>lo,ZodOptional:()=>mo,ZodPipe:()=>_o,ZodPrefault:()=>wm,ZodPreprocess:()=>jm,ZodPromise:()=>Bm,ZodReadonly:()=>Nm,ZodRealError:()=>ot,ZodRecord:()=>Wr,ZodSet:()=>ym,ZodString:()=>Zr,ZodStringFormat:()=>he,ZodSuccess:()=>Tm,ZodSymbol:()=>om,ZodTemplateLiteral:()=>Lm,ZodTransform:()=>$m,ZodTuple:()=>hm,ZodType:()=>ae,ZodULID:()=>Ps,ZodURL:()=>so,ZodUUID:()=>Gt,ZodUndefined:()=>am,ZodUnion:()=>fo,ZodUnknown:()=>lm,ZodVoid:()=>fm,ZodXID:()=>vs,ZodXor:()=>_m,_ZodString:()=>fs,_default:()=>Am,_function:()=>sP,any:()=>Nh,array:()=>uo,base64:()=>hh,base64url:()=>Ph,bigint:()=>Th,boolean:()=>im,catch:()=>Cm,check:()=>cP,cidrv4:()=>gh,cidrv6:()=>Fh,clone:()=>pe,codec:()=>rP,coerce:()=>qm,compile:()=>md,config:()=>Ie,core:()=>Jt,creditCard:()=>Dh,cuid:()=>ch,cuid2:()=>uh,currencyCode:()=>Ih,custom:()=>uP,date:()=>Lh,decode:()=>Hf,decodeAsync:()=>Kf,deepPartial:()=>yP,describe:()=>lP,discriminatedUnion:()=>Zh,e164:()=>vh,email:()=>YF,emoji:()=>ah,encode:()=>Zf,encodeAsync:()=>Jf,endsWith:()=>Tr,enum:()=>Os,exactOptional:()=>xm,file:()=>Qh,flattenError:()=>wi,float32:()=>Ah,float64:()=>wh,formatError:()=>Ei,fromJSONSchema:()=>vP,function:()=>sP,getDiscriminatedOption:()=>Rl,getErrorMap:()=>dR,globalRegistry:()=>ze,gt:()=>Ot,gte:()=>dt,guid:()=>QF,hash:()=>kh,hex:()=>xh,hostname:()=>$h,httpUrl:()=>oh,iban:()=>yh,includes:()=>Er,input:()=>SP,instanceof:()=>fP,int:()=>ls,int32:()=>Eh,int64:()=>Gh,intersection:()=>Fm,invertCodec:()=>iP,ipv4:()=>mh,ipv6:()=>ph,iso:()=>Fo,json:()=>_P,jwt:()=>bh,keyof:()=>Mh,ksuid:()=>fh,lazy:()=>Um,length:()=>Bn,literal:()=>Yh,locales:()=>Xi,looseObject:()=>Wh,looseRecord:()=>Jh,lowercase:()=>Ar,lt:()=>Et,lte:()=>lt,mac:()=>_h,map:()=>Kh,maxLength:()=>Un,maxSize:()=>dn,memoizer:()=>Ki,meta:()=>dP,mime:()=>Cr,minLength:()=>Ht,minSize:()=>Tt,multipleOf:()=>ln,nan:()=>nP,nanoid:()=>sh,nativeEnum:()=>Xh,negative:()=>Qa,never:()=>Es,nonnegative:()=>ts,nonoptional:()=>Om,nonpositive:()=>es,normalize:()=>Rr,null:()=>cm,nullable:()=>ao,nullish:()=>eP,number:()=>rm,object:()=>Uh,optional:()=>Zn,output:()=>$P,overwrite:()=>It,parse:()=>Uf,parseAsync:()=>Bf,partialRecord:()=>Hh,pipe:()=>ds,positive:()=>Ya,prefault:()=>Em,preprocess:()=>pP,prettifyError:()=>Uc,promise:()=>aP,properties:()=>Gr,property:()=>ns,readonly:()=>zm,record:()=>vm,refine:()=>Vm,regex:()=>kr,regexes:()=>Ft,registry:()=>Ia,safeDecode:()=>Xf,safeDecodeAsync:()=>Qf,safeEncode:()=>qf,safeEncodeAsync:()=>Yf,safeParse:()=>Wf,safeParseAsync:()=>Vf,set:()=>qh,setErrorMap:()=>lR,size:()=>Mn,slugify:()=>Lr,startsWith:()=>Or,strictObject:()=>Bh,string:()=>oo,stringFormat:()=>Sh,stringbool:()=>mP,success:()=>tP,superRefine:()=>Zm,symbol:()=>Rh,templateLiteral:()=>oP,toJSONSchema:()=>as,toLowerCase:()=>Nr,toUpperCase:()=>zr,toZod:()=>vi,transform:()=>Ts,treeifyError:()=>Mc,trim:()=>jr,tuple:()=>Pm,uint32:()=>Oh,uint64:()=>Ch,ulid:()=>lh,undefined:()=>jh,union:()=>qr,unknown:()=>Vn,uppercase:()=>wr,url:()=>ih,util:()=>T,uuid:()=>eh,uuidv4:()=>th,uuidv6:()=>nh,uuidv7:()=>rh,validate:()=>Oi,validateAsync:()=>Ti,void:()=>zh,withParser:()=>ka,xid:()=>dh,xor:()=>Vh});var Jt={};Bt(Jt,{$ZodAny:()=>Il,$ZodArray:()=>Tl,$ZodAsyncError:()=>rt,$ZodBase64:()=>pl,$ZodBase64URL:()=>gl,$ZodBigInt:()=>ma,$ZodBigIntFormat:()=>bl,$ZodBoolean:()=>Bi,$ZodCIDRv4:()=>ml,$ZodCIDRv6:()=>_l,$ZodCUID:()=>tl,$ZodCUID2:()=>nl,$ZodCatch:()=>Yl,$ZodCheck:()=>ve,$ZodCheckBigIntFormat:()=>ku,$ZodCheckEndsWith:()=>Lu,$ZodCheckGreaterThan:()=>Xo,$ZodCheckIncludes:()=>Nu,$ZodCheckLengthEquals:()=>Gu,$ZodCheckLessThan:()=>qo,$ZodCheckLowerCase:()=>Ru,$ZodCheckMaxLength:()=>Ou,$ZodCheckMaxSize:()=>Au,$ZodCheckMimeType:()=>Bu,$ZodCheckMinLength:()=>Tu,$ZodCheckMinSize:()=>wu,$ZodCheckMultipleOf:()=>xu,$ZodCheckNumberFormat:()=>Iu,$ZodCheckOverwrite:()=>Wu,$ZodCheckProperties:()=>Uu,$ZodCheckProperty:()=>Mu,$ZodCheckRegex:()=>Cu,$ZodCheckSizeEquals:()=>Eu,$ZodCheckStartsWith:()=>zu,$ZodCheckStringFormat:()=>br,$ZodCheckUpperCase:()=>ju,$ZodCodec:()=>Vi,$ZodCreditCard:()=>hl,$ZodCustom:()=>od,$ZodCustomStringFormat:()=>Dl,$ZodCyclicError:()=>va,$ZodDate:()=>El,$ZodDefault:()=>Jl,$ZodDiscriminatedUnion:()=>jl,$ZodE164:()=>Fl,$ZodEmail:()=>Ku,$ZodEmoji:()=>Qu,$ZodEncodeError:()=>cn,$ZodEnum:()=>Ul,$ZodError:()=>Lc,$ZodExactOptional:()=>Zl,$ZodFile:()=>Wl,$ZodFunction:()=>rd,$ZodGUID:()=>Hu,$ZodIBAN:()=>Pl,$ZodIPv4:()=>ll,$ZodIPv6:()=>dl,$ZodISODate:()=>sl,$ZodISODateTime:()=>al,$ZodISODuration:()=>ul,$ZodISOTime:()=>cl,$ZodIntersection:()=>Nl,$ZodJWT:()=>vl,$ZodKSUID:()=>ol,$ZodLazy:()=>Zi,$ZodLiteral:()=>Bl,$ZodMAC:()=>fl,$ZodMap:()=>Ll,$ZodNaN:()=>Ql,$ZodNanoID:()=>el,$ZodNever:()=>Al,$ZodNonOptional:()=>ql,$ZodNull:()=>xl,$ZodNullable:()=>Hl,$ZodNumber:()=>fa,$ZodNumberFormat:()=>yl,$ZodObject:()=>cg,$ZodObjectJIT:()=>Gl,$ZodOptional:()=>pa,$ZodPipe:()=>ga,$ZodPrefault:()=>Kl,$ZodPreprocess:()=>ed,$ZodPromise:()=>id,$ZodReadonly:()=>td,$ZodRealError:()=>it,$ZodRecord:()=>zl,$ZodRegistry:()=>xa,$ZodSet:()=>Ml,$ZodString:()=>jn,$ZodStringFormat:()=>ge,$ZodSuccess:()=>Xl,$ZodSymbol:()=>Sl,$ZodTemplateLiteral:()=>nd,$ZodTransform:()=>Vl,$ZodTuple:()=>_a,$ZodType:()=>ne,$ZodULID:()=>rl,$ZodURL:()=>Yu,$ZodUUID:()=>Ju,$ZodUndefined:()=>$l,$ZodUnion:()=>Wi,$ZodUnknown:()=>kl,$ZodVoid:()=>wl,$ZodXID:()=>il,$ZodXor:()=>Cl,$brand:()=>jc,$constructor:()=>I,$input:()=>ud,$output:()=>cd,Doc:()=>Rn,INVALID:()=>Je,JSONSchema:()=>KF,JSONSchemaGenerator:()=>ss,NEVER:()=>Rc,TimePrecision:()=>Dd,URL_BAD_FORMAT:()=>qu,URL_UNPARSEABLE:()=>Ni,ZodCompileAsyncError:()=>xt,ZodCompileUnsupportedError:()=>le,_any:()=>Nd,_array:()=>Vd,_base64:()=>Ja,_base64url:()=>Ka,_bigint:()=>Ed,_boolean:()=>Ad,_catch:()=>JC,_check:()=>TF,_cidrv4:()=>Za,_cidrv6:()=>Ha,_coercedBigint:()=>Od,_coercedBoolean:()=>wd,_coercedDate:()=>Bd,_coercedNumber:()=>bd,_coercedString:()=>Fd,_creditCard:()=>Pd,_cuid:()=>za,_cuid2:()=>La,_custom:()=>Hd,_date:()=>Ud,_decode:()=>zo,_decodeAsync:()=>Mo,_default:()=>VC,_discriminatedUnion:()=>TC,_e164:()=>qa,_email:()=>Ea,_emoji:()=>ja,_encode:()=>No,_encodeAsync:()=>Lo,_endsWith:()=>Tr,_enum:()=>zC,_file:()=>Zd,_float32:()=>$d,_float64:()=>xd,_gt:()=>Ot,_gte:()=>dt,_guid:()=>Oa,_iban:()=>vd,_includes:()=>Er,_int:()=>Sd,_int32:()=>Id,_int64:()=>Td,_intersection:()=>GC,_ipv4:()=>Wa,_ipv6:()=>Va,_isoDate:()=>eo,_isoDateTime:()=>Qi,_isoDuration:()=>no,_isoTime:()=>to,_jwt:()=>Xa,_ksuid:()=>Ba,_lazy:()=>YC,_length:()=>Bn,_literal:()=>MC,_lowercase:()=>Ar,_lt:()=>Et,_lte:()=>lt,_mac:()=>hd,_map:()=>jC,_max:()=>lt,_maxLength:()=>Un,_maxSize:()=>dn,_mime:()=>Cr,_min:()=>dt,_minLength:()=>Ht,_minSize:()=>Tt,_multipleOf:()=>ln,_nan:()=>Wd,_nanoid:()=>Na,_nativeEnum:()=>LC,_negative:()=>Qa,_never:()=>Ld,_nonnegative:()=>ts,_nonoptional:()=>ZC,_nonpositive:()=>es,_normalize:()=>Rr,_null:()=>jd,_nullable:()=>WC,_number:()=>yd,_optional:()=>BC,_overwrite:()=>It,_parse:()=>Pr,_parseAsync:()=>vr,_pipe:()=>KC,_positive:()=>Ya,_promise:()=>QC,_properties:()=>Gr,_property:()=>ns,_readonly:()=>qC,_record:()=>RC,_refine:()=>Jd,_regex:()=>kr,_safeDecode:()=>Bo,_safeDecodeAsync:()=>Vo,_safeEncode:()=>Uo,_safeEncodeAsync:()=>Wo,_safeParse:()=>Dr,_safeParseAsync:()=>yr,_set:()=>NC,_size:()=>Mn,_slugify:()=>Lr,_startsWith:()=>Or,_string:()=>gd,_stringFormat:()=>Wn,_stringbool:()=>Yd,_success:()=>HC,_superRefine:()=>Kd,_symbol:()=>Cd,_templateLiteral:()=>XC,_toLowerCase:()=>Nr,_toUpperCase:()=>zr,_transform:()=>UC,_trim:()=>jr,_tuple:()=>CC,_uint32:()=>kd,_uint64:()=>Gd,_ulid:()=>Ma,_undefined:()=>Rd,_union:()=>EC,_unknown:()=>zd,_uppercase:()=>wr,_url:()=>Yi,_uuid:()=>Ta,_uuidv4:()=>Ga,_uuidv6:()=>Ca,_uuidv7:()=>Ra,_void:()=>Md,_xid:()=>Ua,_xor:()=>OC,base64Charset:()=>sa,base64urlCharset:()=>Ui,canParseURL:()=>Xu,clone:()=>pe,compile:()=>md,compileFn:()=>Aa,config:()=>Ie,createStandardJSONSchemaMethod:()=>Mr,createToJSONSchemaMethod:()=>ef,decode:()=>OT,decodeAsync:()=>GT,describe:()=>qd,encode:()=>ET,encodeAsync:()=>TT,extractDefs:()=>mn,finalize:()=>_n,flattenError:()=>wi,formatError:()=>Ei,getDiscriminatedOption:()=>Rl,globalConfig:()=>Ge,globalRegistry:()=>ze,handleUnrepresentable:()=>Ee,initializeContext:()=>fn,isBackEdge:()=>ya,isRecursiveSchema:()=>Da,isValidBase64:()=>Mi,isValidBase64URL:()=>ca,isValidCIDRv6:()=>aa,isValidCreditCard:()=>ua,isValidIBAN:()=>la,isValidIPv6:()=>Li,isValidJWT:()=>da,locales:()=>Xi,memoizer:()=>Ki,mergeValues:()=>Sr,meta:()=>Xd,parse:()=>Ro,parseAsync:()=>jo,parseURLObject:()=>og,prettifyError:()=>Uc,process:()=>Fe,processSchema:()=>Fe,regexes:()=>Ft,registry:()=>Ia,safeDecode:()=>RT,safeDecodeAsync:()=>NT,safeEncode:()=>CT,safeEncodeAsync:()=>jT,safeParse:()=>xT,safeParseAsync:()=>IT,standardProps:()=>na,stripTabAndNewline:()=>zi,toDotPath:()=>Np,toJSONSchema:()=>as,toZod:()=>vi,treeifyError:()=>Mc,urlHostnameOk:()=>ia,urlProtocolOk:()=>oa,util:()=>T,validate:()=>Oi,validateAsync:()=>Ti,validateURL:()=>ra,version:()=>Vu,withParser:()=>ka});var T={};Bt(T,{BIGINT_FORMAT_RANGES:()=>$i,CONSTANT_CATCH:()=>Go,Class:()=>xc,NUMBER_FORMAT_RANGES:()=>Si,aborted:()=>He,allowsEval:()=>Ac,assert:()=>ZO,assertEqual:()=>UO,assertIs:()=>WO,assertNever:()=>VO,assertNotEqual:()=>BO,assignProp:()=>Ne,attachSchema:()=>xi,base64ToUint8Array:()=>Op,base64urlToUint8Array:()=>dT,cached:()=>pr,captureStackTrace:()=>Oo,cleanEnum:()=>lT,cleanRegex:()=>Vt,clone:()=>pe,cloneDef:()=>KO,codePointLength:()=>Gn,constantCatch:()=>Gc,createTransparentProxy:()=>tT,defineLazy:()=>Ic,defineLazyInternal:()=>se,derived:()=>pT,esc:()=>Ze,escapeRegex:()=>gt,explicitlyAborted:()=>Oc,extend:()=>iT,finalizeIssue:()=>nt,floatSafeRemainder:()=>Di,getElementAtPath:()=>qO,getEnumValues:()=>mr,getLengthableOrigin:()=>ki,getParsedType:()=>eT,getSizableOrigin:()=>Ii,hexToUint8Array:()=>mT,hide:()=>Ai,installLazyProp:()=>PT,isObject:()=>Tn,isPlainObject:()=>pt,issue:()=>hr,joinValues:()=>k,jsonStringifyReplacer:()=>_r,members:()=>Tc,merge:()=>aT,mergeDefs:()=>$t,normalizeParams:()=>z,nullish:()=>Eo,numKeys:()=>QO,objectClone:()=>HO,omit:()=>rT,optionalKeys:()=>Ec,own:()=>sn,parsedType:()=>C,partial:()=>sT,pick:()=>nT,prefixIssues:()=>tt,primitiveTypes:()=>wc,promiseAllObject:()=>XO,propertyKeyTypes:()=>bi,randomString:()=>YO,rawShape:()=>gr,required:()=>cT,safeExtend:()=>oT,shallowClone:()=>yi,sizeCaps:()=>Fr,slugify:()=>kc,stringifyPrimitive:()=>G,toZod:()=>vi,uint8ArrayToBase64:()=>Tp,uint8ArrayToBase64url:()=>fT,uint8ArrayToHex:()=>_T,unwrapMessage:()=>fr});function UO(e){return e}function BO(e){return e}function vi(){return e=>e}function WO(e){}function VO(e){throw new Error("Unexpected value in exhaustive check")}function ZO(e){}function mr(e){let t=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,r])=>t.indexOf(+i)===-1).map(([i,r])=>r)}function k(e,t="|"){return e.map(n=>G(n)).join(t)}function _r(e,t){return typeof t=="bigint"?t.toString():t}var $c=class{constructor(t){this._getter=t,this._value=void 0}get value(){let t=this._getter;return t!==void 0&&(this._value=t(),this._getter=void 0),this._value}};function pr(e){return new $c(e)}function Eo(e){return e==null}function Vt(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function Di(e,t){let n=e/t,i=Math.round(n),r=4*Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-i)<r?0:n-i}var kp=Symbol("evaluating");function Ic(e,t,n){let i;Object.defineProperty(e,t,{get(){if(i!==kp)return i===void 0&&(i=kp,i=n()),i},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function HO(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function Ne(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function gr(e){let t=Object.getOwnPropertyDescriptor(e,"shape");return t?.get?t.get.raw:t?.value}function Wt(e){return gr(e._zod.def)??e._zod.def.shape}function Ap(e,t,n){Object.defineProperty(e,t,{get(){let i=n();return Ne(this,t,i),i},enumerable:!0,configurable:!0})}function wp(e,t,n){t in e?Ne(e,t,n):e[t]=n}function On(e,t,n,i){let r=Wt(t);for(let o of n){let a=Object.getOwnPropertyDescriptor(r,o);a.enumerable&&(a.get?Ap(e,o,()=>{let c=t._zod.def.shape[o];return i?i(c,o):c}):wp(e,o,i?i(a.value,o):a.value))}}function JO(e,t){for(let n of Reflect.ownKeys(t)){let i=Object.getOwnPropertyDescriptor(t,n);i.enumerable&&(i.get?Ap(e,n,()=>t[n]):wp(e,n,i.value))}}function $t(...e){let t={};for(let n of e){let i=Object.getOwnPropertyDescriptors(n);Object.assign(t,i)}return Object.defineProperties({},t)}function KO(e){return $t(e._zod.def)}function qO(e,t){return t?t.reduce((n,i)=>n?.[i],e):e}function XO(e){let t=Object.keys(e),n=t.map(i=>e[i]);return Promise.all(n).then(i=>{let r={};for(let o=0;o<t.length;o++)r[t[o]]=i[o];return r})}function YO(e=10){let t="abcdefghijklmnopqrstuvwxyz",n="";for(let i=0;i<e;i++)n+=t[Math.floor(Math.random()*t.length)];return n}function Ze(e){return JSON.stringify(e)}function kc(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var Oo="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Tn(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var Ac=pr(()=>{if(Ge.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function pt(e){if(Tn(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let n=t.prototype;return!(Tn(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function yi(e){return pt(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function QO(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}var eT=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},bi=new Set(["string","number","symbol"]),wc=new Set(["string","number","bigint","boolean","symbol","undefined"]);function gt(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function pe(e,t,n){let i=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(i._zod.parent=e),i}function z(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function tT(e){let t;return new Proxy({},{get(n,i,r){return t??(t=e()),Reflect.get(t,i,r)},set(n,i,r,o){return t??(t=e()),Reflect.set(t,i,r,o)},has(n,i){return t??(t=e()),Reflect.has(t,i)},deleteProperty(n,i){return t??(t=e()),Reflect.deleteProperty(t,i)},ownKeys(n){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(n,i){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,i)},defineProperty(n,i,r){return t??(t=e()),Reflect.defineProperty(t,i,r)}})}function G(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Ec(e){return Object.keys(e).filter(t=>e[t]._zod.optin!==void 0&&e[t]._zod.optout==="optional")}var Si={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},$i={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function nT(e,t){let n=e._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");let o={};return On(o,e,To(e,t)),pe(e,$t(n,{shape:o,checks:[]}))}function To(e,t){let n=Wt(e),i=[];for(let r of Reflect.ownKeys(t)){if(!Object.getOwnPropertyDescriptor(n,r)?.enumerable)throw new Error(`Unrecognized key: "${String(r)}"`);t[r]&&i.push(r)}return i}function rT(e,t){let n=e._zod.def,i=n.checks;if(i&&i.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");let o=new Set(To(e,t)),a={};return On(a,e,Reflect.ownKeys(Wt(e)).filter(c=>!o.has(c))),pe(e,$t(n,{shape:a,checks:[]}))}function iT(e,t){if(!pt(t))throw new Error("Invalid input to extend: expected a plain object");let n=e._zod.def.checks;if(n&&n.length>0){let r=Wt(e);for(let o of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(r,o)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return pe(e,$t(e._zod.def,{shape:Ep(e,t)}))}function Ep(e,t){let n={};return On(n,e,Reflect.ownKeys(Wt(e))),JO(n,t),n}function oT(e,t){if(!pt(t))throw new Error("Invalid input to safeExtend: expected a plain object");return pe(e,$t(e._zod.def,{shape:Ep(e,t)}))}function aT(e,t){if(!t?._zod?.def)throw new Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let n={};On(n,e,Reflect.ownKeys(Wt(e))),On(n,t,Reflect.ownKeys(Wt(t)));let i=$t(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return pe(e,i)}function sT(e,t,n,i="partial"){let o=t._zod.def.checks;if(o&&o.length>0)throw new Error(`.${i}() cannot be used on object schemas containing refinements`);let c=n?new Set(To(t,n)):void 0,l={};return On(l,t,Reflect.ownKeys(Wt(t)),e&&((f,g)=>c&&!c.has(g)?f:new e({type:"optional",innerType:f}))),pe(t,$t(t._zod.def,{shape:l,checks:[]}))}function cT(e,t,n){let i=n?new Set(To(t,n)):void 0,r={};return On(r,t,Reflect.ownKeys(Wt(t)),(o,a)=>i&&!i.has(a)?o:new e({type:"nonoptional",innerType:o})),pe(t,$t(t._zod.def,{shape:r}))}function He(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue!==!0)return!0;return!1}function Oc(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n<e.issues.length;n++)if(e.issues[n]?.continue===!1)return!0;return!1}function tt(e,t){return t.map(n=>{var i;return(i=n).path??(i.path=[]),n.path.unshift(e),n})}function fr(e){return typeof e=="string"?e:e?.message}function Fr(e){let t=[];for(let n of e??[]){let i=n._zod.def;if(!/_(length|size)$|_equals$/.test(i.check))break;let r=i.maximum??i.length??i.size;r>=0&&t.push([r,n])}return t}function xi(e,t,n){var i;for(let r=t;r<e.length;r++)(i=e[r]).schema??(i.schema=n)}function nt(e,t,n){var i;let r=e.inst?._zod?.traits;r?.has("$ZodType")&&(r.has("$ZodCheck")?(i=e).schema??(i.schema=e.inst):e.schema=e.inst);let o=e.schema!==e.inst?e.schema?._zod.def?.error:void 0,a=e.message?e.message:fr(e.inst?._zod.def?.error?.(e))??fr(o?.(e))??fr(t?.error?.(e))??fr(n.customError?.(e))??fr(n.localeError?.(e))??"Invalid input",c={};for(let l of Object.keys(e))l==="inst"||l==="schema"||l==="continue"||l==="input"||l==="__proto__"||(c[l]=e[l]);return c.path??(c.path=[]),c.message=a,t?.reportInput&&(c.input=e.input),c}function Ii(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}var uT=/[\uD800-\uDBFF]/;function Gn(e){let t=e.length;if(!uT.test(e))return t;let n=t;for(let i=0;i<t-1;i++)(e.charCodeAt(i)&64512)===55296&&(e.charCodeAt(i+1)&64512)===56320&&(n--,i++);return n}function ki(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function C(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let n=e;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&"constructor"in n&&n.constructor)return n.constructor.name}}return t}function hr(...e){let[t,n,i]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:i}:{...t}}function lT(e){return Object.entries(e).filter(([t,n])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function Op(e){let t=atob(e),n=new Uint8Array(t.length);for(let i=0;i<t.length;i++)n[i]=t.charCodeAt(i);return n}function Tp(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function dT(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),n="=".repeat((4-t.length%4)%4);return Op(t+n)}function fT(e){return Tp(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function mT(e){let t=e.replace(/^0x/,"");if(t.length%2!==0)throw new Error("Invalid hex string length");let n=new Uint8Array(t.length/2);for(let i=0;i<t.length;i+=2)n[i/2]=Number.parseInt(t.slice(i,i+2),16);return n}function _T(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}var xc=class{constructor(...t){}};function Tc(e,t){for(let n in t){let i=Object.getOwnPropertyDescriptor(t,n);i.get?Object.defineProperty(e,n,{...i,enumerable:!1}):gT(e,n,i.value)}}function sn(e,t,n,i=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:i,value:n}),n}function Ai(e,t,n){return sn(e,t,n,!1)}function pT(e,t){for(let n in e){let i=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return sn(this,n,i(this))},set(r){sn(this,n,r)}})}return t}function gT(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:sn(this,t,n.bind(this))},set(i){sn(this,t,i)}})}function FT(e,t){let n=Object.getPrototypeOf(e);return t in n?void 0:n}var Sc,an=!1,hT={configurable:!0,get(){an=!0}};function se(e,t,n){let i=Object.getPrototypeOf(e._zod);if(t in i&&Sc!==e._zod){Sc=void 0;return}Sc=e._zod,Object.defineProperty(i,t,{configurable:!0,get(){Object.defineProperty(this,t,hT);let r=an;an=!1;try{let o=n(this);return an?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:o}),an=an||r,o}catch(o){throw delete this[t],an=an||r,o}},set(r){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:r})}})}function PT(e,t,n,i){let r=FT(e,t);r&&Object.defineProperty(r,t,{configurable:!0,get(){let o={configurable:!0,writable:!0,enumerable:i,value:void 0};return Object.defineProperty(this,t,o),o.value=n(this),Object.defineProperty(this,t,o),o.value},set(o){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:i,value:o})}})}var Go="~constantCatch";function Gc(e){let t=()=>e;return t[Go]=!0,t}var Gp,Rc=Object.freeze({status:"aborted"}),Cc={value:void 0,enumerable:!1},Cp="captureStackTrace"in Error?Error:null;function vT(e){let t=Cp;if(t){let n=t.stackTraceLimit;if(typeof n=="number"){try{t.stackTraceLimit=0}catch{return Cp=null,new e}try{return new e}finally{t.stackTraceLimit=n}}}return new e}function I(e,t,n,i){let r={};function o(b){this.def=b,this.constr=D,this.traits=new Set}o.prototype=r;let a=n,c=a&&new WeakSet;function l(b,y){if(b._zod){if(b._zod.traits.has(e))return}else{Cc.value=new o(y);try{Object.defineProperty(b,"_zod",Cc)}finally{Cc.value=void 0}}if(b._zod.traits.add(e),t(b,y),c){let E=Object.getPrototypeOf(b),j=b._zod.constr.prototype,M=E;for(;M&&M!==j;)M=Object.getPrototypeOf(M);let R=M??E;c.has(R)||(c.add(R),Tc(R,a))}let $=D.prototype;for(let E in $)Object.prototype.hasOwnProperty.call($,E)&&(E in b||(b[E]=$[E].bind(b)))}let f=i?.Parent??Object;class g extends f{}Object.defineProperty(g,"name",{value:e});function D(b){let y=i?.Parent?vT(g):this;l(y,b);let $=y._zod.deferred;if($){for(let j of $)j();y._zod.deferred=void 0}let E=globalThis.__zod_globalConfig?.postProcessor;return E&&E(y),y}return Object.defineProperty(D,"init",{value:l}),Object.defineProperty(D,Symbol.hasInstance,{value:b=>i?.Parent&&b instanceof i.Parent?!0:b?._zod?.traits?.has(e)}),Object.defineProperty(D,"name",{value:e}),D}var jc=Symbol("zod_brand"),rt=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},cn=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}};(Gp=globalThis).__zod_globalConfig??(Gp.__zod_globalConfig={});var Ge=globalThis.__zod_globalConfig;function Ie(e){return e&&Object.assign(Ge,e),Ge}function DT(){let e=this._zod;return e.message??(e.message=JSON.stringify(e.def,_r,2)),e.message}function yT(e){this._zod.message=e}var bT={get:DT,set:yT,enumerable:!0,configurable:!0},zc={value:void 0,enumerable:!1},Rp=new WeakSet([Object.prototype,Error.prototype]),jp=(e,t)=>{e.name="$ZodError",zc.value=t,Object.defineProperty(e,"issues",zc),zc.value=void 0,Object.defineProperty(e,"message",bT);let n=Object.getPrototypeOf(e);Rp.has(n)||(Rp.add(n),Object.defineProperty(n,"toString",{configurable:!0,enumerable:!1,get(){let i=()=>this.message;return Object.defineProperty(this,"toString",{value:i,configurable:!0,writable:!0}),i},set(i){Object.defineProperty(this,"toString",{value:i,configurable:!0,writable:!0})}}))},Lc=I("$ZodError",jp),it=I("$ZodError",jp,void 0,{Parent:Error});function ST(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)||(t==="__proto__"?Object.defineProperty(e,t,{value:n(),writable:!0,enumerable:!0,configurable:!0}):e[t]=n()),e[t]}function wi(e,t=n=>n.message){let n={},i=[];for(let r of e.issues)r.path.length>0?ST(n,r.path[0],()=>[]).push(t(r)):i.push(t(r));return{formErrors:i,fieldErrors:n}}function Ei(e,t=n=>n.message){let n={_errors:[]},i=(r,o=[])=>{for(let a of r.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(c=>i({issues:c},[...o,...a.path]));else if(a.code==="invalid_key")i({issues:a.issues},[...o,...a.path]);else if(a.code==="invalid_element")i({issues:a.issues},[...o,...a.path]);else{let c=[...o,...a.path];if(c.length===0)n._errors.push(t(a));else{let l=n,f=0;for(;f<c.length;){let g=c[f],D=f===c.length-1;if(g==="_errors"){D&&l._errors.push(t(a)),f++;continue}Object.prototype.hasOwnProperty.call(l,g)||Object.defineProperty(l,g,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});let b=l[g];D&&b._errors.push(t(a)),l=b,f++}}}};return i(e),n}function Mc(e,t=n=>n.message){let n={errors:[]},i=(r,o=[])=>{var a;for(let c of r.issues)if(c.code==="invalid_union"&&c.errors.length)c.errors.map(l=>i({issues:l},[...o,...c.path]));else if(c.code==="invalid_key")i({issues:c.issues},[...o,...c.path]);else if(c.code==="invalid_element")i({issues:c.issues},[...o,...c.path]);else{let l=[...o,...c.path];if(l.length===0){n.errors.push(t(c));continue}let f=n,g=0;for(;g<l.length;){let D=l[g],b=g===l.length-1;typeof D=="string"?(f.properties??(f.properties={}),Object.prototype.hasOwnProperty.call(f.properties,D)||Object.defineProperty(f.properties,D,{value:{errors:[]},enumerable:!0,writable:!0,configurable:!0}),f=f.properties[D]):(f.items??(f.items=[]),(a=f.items)[D]??(a[D]={errors:[]}),f=f.items[D]),b&&f.errors.push(t(c)),g++}}};return i(e),n}function Np(e){let t=[],n=e.map(i=>typeof i=="object"?i.key:i);for(let i of n)typeof i=="number"?t.push(`[${i}]`):typeof i=="symbol"?t.push(`[${JSON.stringify(String(i))}]`):/[^\w$]/.test(i)?t.push(`[${JSON.stringify(i)}]`):(t.length&&t.push("."),t.push(i));return t.join("")}function Uc(e){let t=[],n=[...e.issues].sort((i,r)=>(i.path??[]).length-(r.path??[]).length);for(let i of n)t.push(`\u2716 ${i.message}`),i.path?.length&&t.push(` \u2192 at ${Np(i.path)}`);return t.join(`
7
+ `)}function Co(e,t){return{callee:t?.callee??e,Err:t?.Err}}var Pr=e=>{let t=(n,i,r,o)=>{let a=r?{...r,async:!1}:{async:!1},c=n._zod.run({value:i,issues:[]},a);if(c instanceof Promise)throw new rt;if(c.issues.length){let l=new(o?.Err??e)(c.issues.map(f=>nt(f,a,Ie())));throw Oo(l,o?.callee??t),l}return c.value};return t},Ro=Pr(it),vr=e=>{let t=async(n,i,r,o)=>{let a=r?{...r,async:!0}:{async:!0},c=n._zod.run({value:i,issues:[]},a);if(c instanceof Promise&&(c=await c),c.issues.length){let l=new(o?.Err??e)(c.issues.map(f=>nt(f,a,Ie())));throw Oo(l,o?.callee??t),l}return c.value};return t},jo=vr(it),Dr=e=>(t,n,i)=>{let r=i?{...i,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},r);if(o instanceof Promise)throw new rt;return o.issues.length?zp(e,o.issues,r):{success:!0,data:o.value}},xT=Dr(it);function zp(e,t,n){let i;return{success:!1,get error(){return i||(i=new e(t.map(r=>nt(r,n,Ie()))),t=void 0,n=void 0),i},set error(r){i=r,t=void 0,n=void 0}}}var yr=e=>async(t,n,i)=>{let r=i?{...i,async:!0}:{async:!0},o=t._zod.run({value:n,issues:[]},r);return o instanceof Promise&&(o=await o),o.issues.length?zp(e,o.issues,r):{success:!0,data:o.value}},IT=yr(it),kT=Symbol.for("zod.compile.invalid"),AT=Symbol.for("zod.compile.fallback"),Oi=(e,t,n)=>{let i=e._zod.bag.validator;if(i!==void 0){if(i(t)!==kT)return!0;if(i.definite===!0&&n===void 0)return!1}return wT(e,t,n)};function wT(e,t,n){let i=n?{...n,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},r=e._zod.bag.fallbackRun,o;if(r?(i[AT]=!0,o=r({value:t,issues:[]},i)):o=e._zod.run({value:t,issues:[]},i),o instanceof Promise)throw new rt;return o.issues.length===0}var Ti=async(e,t,n)=>{let i=n?{...n,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0},r=e._zod.run({value:t,issues:[]},i);return r instanceof Promise&&(r=await r),r.issues.length===0},No=e=>{let t=Pr(e),n=(i,r,o,a)=>{let c=o?{...o,direction:"backward"}:{direction:"backward"};return t(i,r,c,Co(n,a))};return n},ET=No(it),zo=e=>{let t=Pr(e),n=(i,r,o,a)=>t(i,r,o,Co(n,a));return n},OT=zo(it),Lo=e=>{let t=vr(e),n=async(i,r,o,a)=>{let c=o?{...o,direction:"backward"}:{direction:"backward"};return await t(i,r,c,Co(n,a))};return n},TT=Lo(it),Mo=e=>{let t=vr(e),n=async(i,r,o,a)=>await t(i,r,o,Co(n,a));return n},GT=Mo(it),Uo=e=>(t,n,i)=>{let r=i?{...i,direction:"backward"}:{direction:"backward"};return Dr(e)(t,n,r)},CT=Uo(it),Bo=e=>(t,n,i)=>Dr(e)(t,n,i),RT=Bo(it),Wo=e=>async(t,n,i)=>{let r=i?{...i,direction:"backward"}:{direction:"backward"};return yr(e)(t,n,r)},jT=Wo(it),Vo=e=>async(t,n,i)=>yr(e)(t,n,i),NT=Vo(it);var Ft={};Bt(Ft,{anyString:()=>pu,base64:()=>au,base64url:()=>su,bigint:()=>Fu,boolean:()=>hu,browserEmail:()=>ZT,cidrv4:()=>iu,cidrv6:()=>ou,creditCard:()=>Zo,cuid:()=>Wc,cuid2:()=>Vc,currencyCode:()=>du,date:()=>fu,datetime:()=>_u,domain:()=>uu,duration:()=>Xc,e164:()=>lu,email:()=>Qc,emoji:()=>eu,extendedDuration:()=>zT,guid:()=>Yc,hex:()=>bu,hostname:()=>cu,html5Email:()=>BT,httpProtocol:()=>Gi,iban:()=>Ho,idnEmail:()=>VT,integer:()=>Ci,ipv4:()=>tu,ipv6:()=>nu,ksuid:()=>Jc,lowercase:()=>Du,mac:()=>ru,md5_base64:()=>qT,md5_base64url:()=>XT,md5_hex:()=>KT,nanoid:()=>Kc,nanoidOfLength:()=>qc,null:()=>Pu,number:()=>Zt,rfc5322Email:()=>WT,sha1_base64:()=>QT,sha1_base64url:()=>e1,sha1_hex:()=>YT,sha256_base64:()=>n1,sha256_base64url:()=>r1,sha256_hex:()=>t1,sha384_base64:()=>o1,sha384_base64url:()=>a1,sha384_hex:()=>i1,sha512_base64:()=>c1,sha512_base64url:()=>u1,sha512_hex:()=>s1,string:()=>gu,time:()=>mu,ulid:()=>Zc,undefined:()=>vu,unicodeEmail:()=>Lp,uppercase:()=>yu,uuid:()=>Cn,uuid4:()=>LT,uuid6:()=>MT,uuid7:()=>UT,xid:()=>Hc});var Wc=/^[cC][0-9a-z]{6,}$/,Vc=/^[0-9a-z]+$/,Zc=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,Hc=/^[0-9a-vA-V]{20}$/,Jc=/^[A-Za-z0-9]{27}$/,Kc=/^[a-zA-Z0-9_-]{21}$/;function qc(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}var Xc=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,zT=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Yc=/^([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})$/,Cn=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,LT=Cn(4),MT=Cn(6),UT=Cn(7),Qc=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,BT=/^[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])?)*$/,WT=/^(([^<>()\[\]\\.,;:\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,}))$/,Lp=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,VT=Lp,ZT=/^[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])?)*$/,HT="^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function eu(){return new RegExp(HT,"u")}var tu=/^(?:(?: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])$/,nu=/^(([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}|:))$/,ru=e=>{let t=gt(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},iu=/^((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])$/,ou=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,au=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,su=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,cu=/^(?=.{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])?)*\.?$/,uu=/^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,63}$/,Gi=/^https?$/,lu=/^\+[1-9]\d{6,14}$/,Zo=/^\d(?:[ -]?\d){11,18}$/,du=/^(?:AED|AFN|ALL|AMD|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLE|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VED|VES|VND|VUV|WST|XAD|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XCG|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWG)$/,Ho=/^[A-Z]{2}(?!00|01|99)\d{2}[A-Z0-9]{11,30}$/,Mp="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))";function JT(e){return new RegExp(`^${e}$`)}var fu=JT(Mp);function Bc(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:e.seconds?`${t}:[0-5]\\d(?:\\.\\d+)?`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function mu(e){return new RegExp(`^${Bc(e)}$`)}function _u(e){let t=["Z"];e.offset&&t.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");let n=`${Bc({precision:e.precision,seconds:!0})}(?:${t.join("|")})`,i=e.local?`${n}|${Bc({precision:e.precision})}`:n;return new RegExp(`^${Mp}T(?:${i})$`)}var pu=/^[\s\S]{0,}$/,gu=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},Fu=/^-?\d+n?$/,Ci=/^-?\d+$/,Zt=/^-?\d+(?:\.\d+)?$/,hu=/^(?:true|false)$/i,Pu=/^null$/i;var vu=/^undefined$/i;var Du=/^[^A-Z]*$/,yu=/^[^a-z]*$/,bu=/^[0-9a-fA-F]*$/;function Ri(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function ji(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var KT=/^[0-9a-fA-F]{32}$/,qT=Ri(22,"=="),XT=ji(22),YT=/^[0-9a-fA-F]{40}$/,QT=Ri(27,"="),e1=ji(27),t1=/^[0-9a-fA-F]{64}$/,n1=Ri(43,"="),r1=ji(43),i1=/^[0-9a-fA-F]{96}$/,o1=Ri(64,""),a1=ji(64),s1=/^[0-9a-fA-F]{128}$/,c1=Ri(86,"=="),u1=ji(86);var ve=I("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Su=e=>{let t=e.value;return!Eo(t)&&t.size!==void 0},$u=e=>{let t=e.value;return!Eo(t)&&t.length!==void 0},Jo={number:"number",bigint:"bigint",object:"date"},qo=I("$ZodCheckLessThan",(e,t)=>{ve.init(e,t);let n=Jo[typeof t.value];e._zod.check=i=>{(t.inclusive?i.value<=t.value:i.value<t.value)||i.issues.push({origin:Jo[typeof i.value]??n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Xo=I("$ZodCheckGreaterThan",(e,t)=>{ve.init(e,t);let n=Jo[typeof t.value];e._zod.check=i=>{(t.inclusive?i.value>=t.value:i.value>t.value)||i.issues.push({origin:Jo[typeof i.value]??n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),xu=I("$ZodCheckMultipleOf",(e,t)=>{ve.init(e,t),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?t.value!==BigInt(0)&&n.value%t.value===BigInt(0):Di(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),Iu=I("$ZodCheckNumberFormat",(e,t)=>{ve.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),i=n?"int":"number",[r,o]=Si[t.format];e._zod.check=a=>{let c=a.value;if(n){if(!Number.isInteger(c)){a.issues.push({expected:i,format:t.format,code:"invalid_type",continue:!1,input:c,inst:e});return}if(!Number.isSafeInteger(c)){c>0?a.issues.push({input:c,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort}):a.issues.push({input:c,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort});return}}c<r&&a.issues.push({origin:"number",input:c,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),c>o&&a.issues.push({origin:"number",input:c,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!t.abort})}}),ku=I("$ZodCheckBigIntFormat",(e,t)=>{ve.init(e,t);let[n,i]=$i[t.format];e._zod.check=r=>{let o=r.value;o<n&&r.issues.push({origin:"bigint",input:o,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),o>i&&r.issues.push({origin:"bigint",input:o,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),Au=I("$ZodCheckMaxSize",(e,t)=>{var n;ve.init(e,t),(n=e._zod.def).when??(n.when=Su),e._zod.check=i=>{let r=i.value;r.size<=t.maximum||i.issues.push({origin:Ii(r),code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),wu=I("$ZodCheckMinSize",(e,t)=>{var n;ve.init(e,t),(n=e._zod.def).when??(n.when=Su),e._zod.check=i=>{let r=i.value;r.size>=t.minimum||i.issues.push({origin:Ii(r),code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Eu=I("$ZodCheckSizeEquals",(e,t)=>{var n;ve.init(e,t),(n=e._zod.def).when??(n.when=Su),e._zod.check=i=>{let r=i.value,o=r.size;if(o===t.size)return;let a=o>t.size;i.issues.push({origin:Ii(r),...a?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),Ou=I("$ZodCheckMaxLength",(e,t)=>{var n;ve.init(e,t),(n=e._zod.def).when??(n.when=$u),e._zod.check=i=>{let r=i.value,o=r.length;if((typeof r=="string"&&o>t.maximum?Gn(r):o)<=t.maximum)return;let c=ki(r);i.issues.push({origin:c,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Tu=I("$ZodCheckMinLength",(e,t)=>{var n;ve.init(e,t),(n=e._zod.def).when??(n.when=$u),e._zod.check=i=>{let r=i.value,o=r.length;if((typeof r=="string"&&o>=t.minimum&&o<t.minimum*2?Gn(r):o)>=t.minimum)return;let c=ki(r);i.issues.push({origin:c,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Gu=I("$ZodCheckLengthEquals",(e,t)=>{var n;ve.init(e,t),(n=e._zod.def).when??(n.when=$u),e._zod.check=i=>{let r=i.value,o=r.length,a=typeof r=="string"&&o>=t.length&&o<=t.length*2?Gn(r):o;if(a===t.length)return;let c=ki(r),l=a>t.length;i.issues.push({origin:c,...l?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),br=I("$ZodCheckStringFormat",(e,t)=>{var n,i;ve.init(e,t),t.pattern?(n=e._zod).check??(n.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:t.format,input:r.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(i=e._zod).check??(i.check=()=>{})}),Cu=I("$ZodCheckRegex",(e,t)=>{br.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Ru=I("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=Du),br.init(e,t)}),ju=I("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=yu),br.init(e,t)}),Nu=I("$ZodCheckIncludes",(e,t)=>{ve.init(e,t);let n=gt(t.includes),i=new RegExp(typeof t.position=="number"?`^.{${t.position},}${n}`:n);t.pattern=i,e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:r.value,inst:e,continue:!t.abort})}}),zu=I("$ZodCheckStartsWith",(e,t)=>{ve.init(e,t);let n=new RegExp(`^${gt(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.check=i=>{i.value.startsWith(t.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:i.value,inst:e,continue:!t.abort})}}),Lu=I("$ZodCheckEndsWith",(e,t)=>{ve.init(e,t);let n=new RegExp(`.*${gt(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.check=i=>{i.value.endsWith(t.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:i.value,inst:e,continue:!t.abort})}});function Ko(e,t,n){e.issues.length&&t.issues.push(...tt(n,e.issues))}var Mu=I("$ZodCheckProperty",(e,t)=>{ve.init(e,t),e._zod.check=n=>{let i=t.schema._zod.run({value:n.value[t.property],issues:[]},{});if(i instanceof Promise)return i.then(r=>Ko(r,n,t.property));Ko(i,n,t.property)}}),Uu=I("$ZodCheckProperties",(e,t)=>{ve.init(e,t),Ai(e,Symbol.iterator,function*(){yield e});let n;e._zod.check=i=>{if(i.value==null){i.issues.push({expected:"object",code:"invalid_type",input:i.value,inst:e});return}n??(n=Reflect.ownKeys(t.shape).map(a=>[a,t.shape[a]]));let r=i.value,o;for(let[a,c]of n){let l=c._zod.run({value:r[a],issues:[]},{});l instanceof Promise?(o??(o=[]),o.push(l.then(f=>Ko(f,i,a)))):Ko(l,i,a)}if(o)return Promise.all(o).then(()=>{})}}),Bu=I("$ZodCheckMimeType",(e,t)=>{ve.init(e,t);let n=new Set(t.mime);e._zod.check=i=>{n.has(i.value.type)||i.issues.push({code:"invalid_value",values:t.mime,input:i.value.type,inst:e,continue:!t.abort})}}),Wu=I("$ZodCheckOverwrite",(e,t)=>{ve.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});var Rn=class{constructor(t=[],n={}){this.content=[],this.indent=0,this.args=t,this.closed=n}indented(t){this.indent+=1;try{t(this)}finally{this.indent-=1}}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let i=t.split(`
8
+ `).filter(a=>a),r=Math.min(...i.map(a=>a.length-a.trimStart().length)),o=i.map(a=>a.slice(r)).map(a=>" ".repeat(this.indent*2)+a);for(let a of o)this.content.push(a)}compile(){let t=Function,n=this?.content??[""];return new t(...Object.keys(this.closed),`return function (${this.args.join(", ")}) {
9
+ ${n.join(`
10
+ `)}
11
+ };`)(...Object.values(this.closed))}};var Vu={major:4,minor:6,patch:7};var ne=I("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Vu;let i=e._zod.def.checks,r=e._zod.traits.has("$ZodCheck")?[e,...i??[]]:i?.length?[...i]:[];for(let o of r)for(let a of o._zod.onattach)a(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let o=(c,l,f)=>{if(c.memo)return c;let g=He(c),D;for(let b of l){if(b._zod.def.when){if(Oc(c)||!b._zod.def.when(c))continue}else if(g)continue;let y=c.issues.length,$=b._zod.check(c);if($ instanceof Promise&&f?.async===!1)throw new rt;if(D||$ instanceof Promise)D=(D??Promise.resolve()).then(async()=>{await $,c.issues.length!==y&&(xi(c.issues,y,e),g||(g=He(c,y)))});else{if(c.issues.length===y)continue;xi(c.issues,y,e),g||(g=He(c,y))}}return D?D.then(()=>c):c},a=(c,l,f)=>{if(He(c))return c.aborted=!0,c;let g=o(l,r,f);if(g instanceof Promise){if(f.async===!1)throw new rt;return g.then(D=>e._zod.parse(D,f))}return e._zod.parse(g,f)};e._zod.run=(c,l)=>{if(l.skipChecks)return e._zod.parse(c,l);if(l.direction==="backward"){let g=e._zod.parse({value:c.value,issues:[]},{...l,skipChecks:!0});return g instanceof Promise?g.then(D=>a(D,c,l)):a(g,c,l)}let f=e._zod.parse(c,l);if(f instanceof Promise){if(l.async===!1)throw new rt;return f.then(g=>o(g,r,l))}return o(f,r,l)}}},{get"~standard"(){return Ai(this,"~standard",na(this))},set"~standard"(e){sn(this,"~standard",e)}}),ig=(e,t)=>e.issues.length?{issues:e.issues.map(n=>nt(n,t,Ie()))}:{value:e.value};async function l1(e,t){let n={async:!0};return ig(await e._zod.run({value:t,issues:[]},n),n)}function na(e){return{validate:t=>{let n={async:!1};try{let i=e._zod.run({value:t,issues:[]},n);if(!(i instanceof Promise))return ig(i,n)}catch{}return l1(e,t)},vendor:"zod",version:1}}var jn=I("$ZodString",(e,t)=>{ne.init(e,t),e._zod.pattern=t.pattern??pu,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),ge=I("$ZodStringFormat",(e,t)=>{br.init(e,t),jn.init(e,t)}),Hu=I("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=Yc),ge.init(e,t)}),Ju=I("$ZodUUID",(e,t)=>{if(t.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(i===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=Cn(i))}else t.pattern??(t.pattern=Cn());ge.init(e,t)}),Ku=I("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=Qc),ge.init(e,t)}),qu=1,Ni=2;function Xu(e){try{return typeof URL<"u"&&typeof URL.canParse=="function"?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function ra(e,t){return!("normalize"in t)&&!("hostname"in t)&&!("protocol"in t)?Xu(e)||Ni:og(e,t)}function og(e,t){if(!t.normalize&&t.protocol?.source===Gi.source&&!/^https?:\/\//i.test(e))return qu;try{if(typeof URL<"u"){let n=URL;if(typeof n.parse=="function")return n.parse(e)??Ni}return new URL(e)}catch{return Ni}}var d1=/[\t\n\r]/g;function zi(e){return e.replace(d1,"")}function ia(e,t){return t.lastIndex=0,t.test(e.hostname)}function oa(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}var Yu=I("$ZodURL",(e,t)=>{ge.init(e,t),e._zod.check=n=>{try{let i=n.value.trim(),r=ra(i,t);if(r===qu){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:e,continue:!t.abort});return}if(r===Ni){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort});return}if(r===!0){n.value=zi(i);return}t.hostname&&!ia(r,t.hostname)&&n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort}),t.protocol&&!oa(r,t.protocol)&&n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort}),n.value=t.normalize?r.href:zi(i);return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),Qu=I("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=eu()),ge.init(e,t)}),el=I("$ZodNanoID",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw new Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?Kc:qc(t.length)),ge.init(e,t)}),tl=I("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=Wc),ge.init(e,t)}),nl=I("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=Vc),ge.init(e,t)}),rl=I("$ZodULID",(e,t)=>{t.pattern??(t.pattern=Zc),ge.init(e,t)}),il=I("$ZodXID",(e,t)=>{t.pattern??(t.pattern=Hc),ge.init(e,t)}),ol=I("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Jc),ge.init(e,t)}),al=I("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=_u(t)),ge.init(e,t)}),sl=I("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=fu),ge.init(e,t)}),cl=I("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=mu(t)),ge.init(e,t)}),ul=I("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=Xc),ge.init(e,t)}),ll=I("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=tu),ge.init(e,t)}),f1=/^[0-9a-fA-F:.]+$/;function Li(e){return f1.test(e)?Xu(`http://[${e}]`):!1}var dl=I("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=nu),ge.init(e,t),e._zod.check=n=>{Li(n.value)||n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}),fl=I("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=ru(t.delimiter)),ge.init(e,t)}),ml=I("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=iu),ge.init(e,t)});function aa(e){let t=e.split("/");if(t.length!==2)return!1;let[n,i]=t;if(!i)return!1;let r=Number(i);return`${r}`!==i||r<0||r>128?!1:Li(n)}var _l=I("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=ou),ge.init(e,t),e._zod.check=n=>{aa(n.value)||n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}});function Mi(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var sa=/^[0-9a-zA-Z+/]*={0,2}$/,pl=I("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=sa),ge.init(e,t),e._zod.check=n=>{Mi(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}}),Ui=/^[A-Za-z0-9_-]*$/;function ca(e){if(!Ui.test(e))return!1;let t=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return Mi(n)}var gl=I("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=Ui),ge.init(e,t),e._zod.check=n=>{ca(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),Fl=I("$ZodE164",(e,t)=>{t.pattern??(t.pattern=lu),ge.init(e,t)}),m1=/[- ]/g;function _1(e){let t=e.length,n=1,i=0;for(;t;){let r=e.charCodeAt(--t)-48;n^=1,i+=n?[0,2,4,6,8,1,3,5,7,9][r]:r}return i%10===0}function ua(e){return Zo.test(e)?_1(e.replace(m1,"")):!1}var hl=I("$ZodCreditCard",(e,t)=>{t.pattern??(t.pattern=Zo),ge.init(e,t),e._zod.check=n=>{ua(n.value)||n.issues.push({code:"invalid_format",format:"credit_card",input:n.value,inst:e,continue:!t.abort})}});function p1(e){let t=0,n=e.length;for(let i=4;i<n;i++){let r=e.charCodeAt(i);t=(r>=65?t*100+(r-55):t*10+(r-48))%97}for(let i=0;i<4;i++){let r=e.charCodeAt(i);t=(r>=65?t*100+(r-55):t*10+(r-48))%97}return t===1}function la(e){return Ho.test(e)?p1(e):!1}var Pl=I("$ZodIBAN",(e,t)=>{t.pattern??(t.pattern=Ho),ge.init(e,t),e._zod.check=n=>{la(n.value)||n.issues.push({code:"invalid_format",format:"iban",input:n.value,inst:e,continue:!t.abort})}});function da(e,t=null){try{let n=e.split(".");if(n.length!==3)return!1;let[i]=n;if(!i)return!1;let r=JSON.parse(atob(i));return!("typ"in r&&r?.typ!=="JWT"||!r.alg||t&&(!("alg"in r)||r.alg!==t))}catch{return!1}}var vl=I("$ZodJWT",(e,t)=>{ge.init(e,t),e._zod.check=n=>{da(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),Dl=I("$ZodCustomStringFormat",(e,t)=>{ge.init(e,t),e._zod.check=n=>{t.fn(n.value)||n.issues.push({code:"invalid_format",format:t.format,input:n.value,inst:e,continue:!t.abort})}}),fa=I("$ZodNumber",(e,t)=>{ne.init(e,t),e._zod.pattern=Zt,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}let r=n.value;if(typeof r=="number"&&!Number.isNaN(r)&&Number.isFinite(r))return n;let o=typeof r=="number"?Number.isNaN(r)?"NaN":Number.isFinite(r)?void 0:String(r):void 0;return n.issues.push({expected:"number",code:"invalid_type",input:r,inst:e,...o?{received:o}:{}}),n}}),yl=I("$ZodNumberFormat",(e,t)=>{Iu.init(e,t),fa.init(e,t)}),Bi=I("$ZodBoolean",(e,t)=>{ne.init(e,t),e._zod.pattern=hu,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=!!n.value}catch{}let r=n.value;return typeof r=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:r,inst:e}),n}}),ma=I("$ZodBigInt",(e,t)=>{ne.init(e,t),e._zod.pattern=Fu,e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=BigInt(n.value)}catch{}return typeof n.value=="bigint"||n.issues.push({expected:"bigint",code:"invalid_type",input:n.value,inst:e}),n}}),bl=I("$ZodBigIntFormat",(e,t)=>{ku.init(e,t),ma.init(e,t)}),Sl=I("$ZodSymbol",(e,t)=>{ne.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;return typeof r=="symbol"||n.issues.push({expected:"symbol",code:"invalid_type",input:r,inst:e}),n}}),$l=I("$ZodUndefined",(e,t)=>{ne.init(e,t),e._zod.pattern=vu,e._zod.values=new Set([void 0]),e._zod.parse=(n,i)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:r,inst:e}),n}}),xl=I("$ZodNull",(e,t)=>{ne.init(e,t),e._zod.pattern=Pu,e._zod.values=new Set([null]),e._zod.parse=(n,i)=>{let r=n.value;return r===null||n.issues.push({expected:"null",code:"invalid_type",input:r,inst:e}),n}}),Il=I("$ZodAny",(e,t)=>{ne.init(e,t),e._zod.parse=n=>n}),kl=I("$ZodUnknown",(e,t)=>{ne.init(e,t),e._zod.parse=n=>n}),Al=I("$ZodNever",(e,t)=>{ne.init(e,t),e._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)}),wl=I("$ZodVoid",(e,t)=>{ne.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;return typeof r>"u"||n.issues.push({expected:"void",code:"invalid_type",input:r,inst:e}),n}}),El=I("$ZodDate",(e,t)=>{ne.init(e,t),e._zod.parse=(n,i)=>{if(t.coerce)try{n.value=new Date(n.value)}catch{}let r=n.value,o=r instanceof Date;return o&&!Number.isNaN(r.getTime())||n.issues.push({expected:"date",code:"invalid_type",input:r,...o?{received:"Invalid Date"}:{},inst:e}),n}});function Ol(e,t){let n=Fr(e._zod.def.checks);if(!n.length)return;let i=Math.min(...n.map(o=>o[0])),r=e._zod.parse;e._zod.parse=(o,a)=>{let c=t(o.value);if(c>i&&!a?.skipChecks&&a?.direction!=="backward"){for(let[l,f]of Fr(e._zod.def.checks))if(c>l&&f._zod.def.when(o)){let g=o.issues.length;return f._zod.check(o),o.issues[g].continue=!1,xi(o.issues,g,e),o}}return r(o,a)}}var g1=e=>Array.isArray(e)?e.length:-1,F1=e=>e instanceof Map?e.size:-1,h1=e=>e instanceof Set?e.size:-1;function Bp(e,t,n){e.issues.length&&t.issues.push(...tt(n,e.issues)),t.value[n]=e.value}var Tl=I("$ZodArray",(e,t)=>{ne.init(e,t);let n=Ge.memoizer;n?.attach(e),e._zod.parse=(i,r)=>{let o=i.value;if(!Array.isArray(o))return i.issues.push({expected:"array",code:"invalid_type",input:o,inst:e}),i;i.value=n?n.alloc(e,i,Array(o.length),r):Array(o.length);let a=[],c=r?.abortEarly;for(let l=0;l<o.length;l++){let f=o[l],g=t.element._zod.run({value:f,issues:[]},r);if(g instanceof Promise)a.push(g.then(D=>Bp(D,i,l)));else if(Bp(g,i,l),c&&g.issues.length!==0&&He(g))break}return a.length?Promise.all(a).then(()=>i):i},Ol(e,g1)});function ta(e,t,n,i,r,o){let a=n in i,c=o==="optional";if(!(!a&&c&&r==="optional")){if(e.issues.length){if(r!==void 0&&c&&!a)return;t.issues.push(...tt(n,e.issues))}if(!a&&r===void 0){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}e.value===void 0?(a||r==="defaulted"&&!c)&&(t.value[n]=void 0):t.value[n]=e.value}}var P1=[];function ag(e){let t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),i=n.length?n:P1,r=i.length?[...t,...i]:t;for(let a of r)if(!e.shape?.[a]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${String(a)}": expected a Zod schema`);let o=Ec(e.shape);return{...e,allKeys:r,symbolKeys:i,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(o)}}function sg(e,t,n,i,r,o,a){let c=[],l=r.keySet,f=r.catchall._zod,g=f.def.type,D=f.optin,b=f.optout,y=0;for(let $ in t){if(a&&n.issues.length!==y){if(He(n,y))break;y=n.issues.length}if(l.has($))continue;if($==="__proto__"){g==="never"&&c.push($);continue}if(g==="never"){c.push($);continue}let E=f.run({value:t[$],issues:[]},i);E instanceof Promise?e.push(E.then(j=>ta(j,n,$,t,D,b))):ta(E,n,$,t,D,b)}return c.length&&n.issues.push({code:"unrecognized_keys",keys:c,input:t,inst:o,continue:!0}),e.length?Promise.all(e).then(()=>n):n}var cg=I("$ZodObject",(e,t)=>{ne.init(e,t);let n=Object.getOwnPropertyDescriptor(t,"shape"),i=n?.get?n.get.raw:t.shape??{};if(i){let f=()=>{let g={...i};return Object.defineProperty(t,"shape",{value:g}),f.raw=g,g};f.raw=i,Object.defineProperty(t,"shape",{get:f})}let r=pr(()=>ag(t));se(e,"propValues",f=>{let g=f.def.shape,D={};for(let b in g){let y=g[b]._zod;if(y.values){Object.prototype.hasOwnProperty.call(D,b)||Ne(D,b,new Set);for(let $ of y.values)D[b].add($);y.optin!==void 0&&D[b].add(void 0)}}return D});let o=Tn,a=t.catchall,c,l=Ge.memoizer;l?.attach(e),e._zod.parse=(f,g)=>{c??(c=r.value);let D=f.value;if(!o(D))return f.issues.push({expected:"object",code:"invalid_type",input:D,inst:e}),f;f.value=l?l.alloc(e,f,{},g):{};let b=[],y=c.shape,$=g?.abortEarly,E=f.issues.length;for(let j of c.allKeys){if($&&f.issues.length!==E){if(He(f,E))break;E=f.issues.length}if(j==="__proto__")continue;let M=y[j],R=M._zod.optin,Z=M._zod.optout,Q=M._zod.run({value:D[j],issues:[]},g);Q instanceof Promise?b.push(Q.then(d=>ta(d,f,j,D,R,Z))):ta(Q,f,j,D,R,Z)}return a?sg(b,D,f,g,r.value,e,$===!0):b.length?Promise.all(b).then(()=>f):f}}),Gl=I("$ZodObjectJIT",(e,t)=>{cg.init(e,t);let n=e._zod.parse,i=pr(()=>ag(t)),r=Ge.memoizer,o=y=>{let $=i.value,E=$.symbolKeys,j=new Rn(["payload","ctx"],{shape:y,inst:e,memo:r,syms:E}),M=d=>`shape[${d}]._zod.run({ value: input[${d}], issues: [] }, ctx)`,R=(d,X)=>`
12
+ let ${d}_ab = false;
13
+ for (let i = 0; i < ${d}.issues.length; i++) {
14
+ const iss = ${d}.issues[i];
15
+ iss.path = iss.path ? [${X}, ...iss.path] : [${X}];
16
+ payload.issues.push(iss);
17
+ if (iss.continue !== true) ${d}_ab = true;
18
+ }
19
+ if (${d}_ab && ctx && ctx.abortEarly) {
20
+ payload.value = newResult;
21
+ return payload;
22
+ }`;j.write("const input = payload.value;");let Z=Object.create(null),Q=0;for(let d of $.allKeys)Z[d]=`key_${Q++}`;j.write(r?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(let d of $.allKeys){if(d==="__proto__")continue;let X=Z[d],Se=typeof d=="symbol"?`syms[${E.indexOf(d)}]`:Ze(d),_t=`${Se} in input`,We=y[d],en=We?._zod?.optin,dc=en!==void 0,rr=We?._zod?.optout==="optional";if(j.write(`const ${X} = ${M(Se)};`),dc&&rr){let _=en==="optional"?`${X}_present`:`${X}.value !== undefined || ${X}_present`;j.write(`
23
+ const ${X}_present = ${_t};
24
+ if (!${X}.issues.length || ${X}_present) {
25
+ if (${X}.issues.length) {${R(X,Se)}
26
+ }
27
+
28
+ if (${_}) {
29
+ newResult[${Se}] = ${X}.value;
30
+ }
31
+ }
32
+
33
+ `)}else dc?(j.write(`
34
+ if (${X}.issues.length) {${R(X,Se)}
35
+ }
36
+ `),en==="defaulted"?j.write(`newResult[${Se}] = ${X}.value;`):j.write(`
37
+ if (${X}.value !== undefined || ${_t}) {
38
+ newResult[${Se}] = ${X}.value;
39
+ }
40
+ `)):j.write(`
41
+ const ${X}_present = ${_t};
42
+ if (${X}.issues.length) {${R(X,Se)}
43
+ }
44
+ if (!${X}_present && !${X}.issues.length) {
45
+ payload.issues.push({
46
+ code: "invalid_type",
47
+ expected: "nonoptional",
48
+ input: undefined,
49
+ path: [${Se}]
50
+ });
51
+ if (ctx && ctx.abortEarly) {
52
+ payload.value = newResult;
53
+ return payload;
54
+ }
55
+ }
56
+
57
+ if (${X}_present) {
58
+ newResult[${Se}] = ${X}.value;
59
+ }
60
+
61
+ `)}return j.write("payload.value = newResult;"),j.write("return payload;"),j.compile()},a,c=Tn,l=!Ge.jitless,g=l&&Ac.value,D=t.catchall,b;e._zod.parse=(y,$)=>{b??(b=i.value);let E=y.value;return c(E)?l&&g&&$?.async===!1&&$.jitless!==!0?(a||(a=o(t.shape)),y=a(y,$),D?sg([],E,y,$,b,e,$?.abortEarly===!0):y):n(y,$):(y.issues.push({expected:"object",code:"invalid_type",input:E,inst:e}),y)}});function Wp(e,t,n,i){for(let o of e)if(o.issues.length===0)return t.value=o.value,t;let r=e.filter(o=>!He(o));return r.length===1?(t.value=r[0].value,r[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(o=>o.issues.map(a=>nt(a,i,Ie())))}),t)}var Wi=I("$ZodUnion",(e,t)=>{ne.init(e,t),se(e,"optin",i=>i.def.options.some(r=>r._zod.optin==="defaulted")?"defaulted":i.def.options.some(r=>r._zod.optin!==void 0)?"optional":void 0),se(e,"optout",i=>i.def.options.some(r=>r._zod.optout==="optional")?"optional":void 0),se(e,"values",i=>{if(i.def.options.every(r=>r._zod.values))return new Set(i.def.options.flatMap(r=>Array.from(r._zod.values)))}),se(e,"pattern",i=>{if(i.def.options.every(r=>r._zod.pattern)){let r=i.def.options.map(o=>o._zod.pattern);return new RegExp(`^(${r.map(o=>Vt(o.source)).join("|")})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(i,r)=>{if(n)return n(i,r);let o=!1,a=[];for(let c of t.options){let l=c._zod.run({value:i.value,issues:[]},r);if(l instanceof Promise)a.push(l),o=!0;else{if(l.issues.length===0)return l;a.push(l)}}return o?Promise.all(a).then(c=>Wp(c,i,e,r)):Wp(a,i,e,r)}});function Vp(e,t,n,i){let r=[];for(let o=0;o<e.length;o++)e[o].issues.length===0&&r.push(o);return r.length===1?(t.value=e[r[0]].value,t):(r.length===0?t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(o=>o.issues.map(a=>nt(a,i,Ie())))}):t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:[],inclusive:!1,matches:r}),t)}var Cl=I("$ZodXor",(e,t)=>{Wi.init(e,t),t.inclusive=!1;let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(i,r)=>{if(n)return n(i,r);let o=!1,a=[];for(let c of t.options){let l=c._zod.run({value:i.value,issues:[]},r);l instanceof Promise?(a.push(l),o=!0):a.push(l)}return o?Promise.all(a).then(c=>Vp(c,i,e,r)):Vp(a,i,e,r)}});function Rl(e,t){let n=e._zod,i=n.bag.optionsMap;i||(i=ug(n.def),n.bag.optionsMap=i);let r=i.get(t);if(r===null)throw new Error(`Ambiguous discriminator value "${String(t)}"`);return r}function ug(e){let t=new Map;for(let n of e.options){let i=n._zod.propValues?.[e.discriminator];if(!i||i.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(n)}"`);for(let r of i)if(t.has(r)){if(r!==void 0)throw new Error(`Duplicate discriminator value "${String(r)}"`);t.set(r,null)}else t.set(r,n)}return t}var jl=I("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,Wi.init(e,t);let n=e._zod.parse;se(e,"propValues",r=>{let o={},a=0;for(let c of r.def.options){let l=c._zod.propValues;if(!l||Object.keys(l).length===0)throw new Error(`Invalid discriminated union option at index "${r.def.options.indexOf(c)}"`);l[r.def.discriminator]?.has(void 0)&&a++;for(let[f,g]of Object.entries(l)){Object.prototype.hasOwnProperty.call(o,f)||Ne(o,f,new Set);for(let D of g)o[f].add(D)}}return!r.def.unionFallback&&a>1&&o[r.def.discriminator]?.delete(void 0),o}),t.options.forEach((r,o)=>{let a=gr(r._zod.def);if(a&&!Object.prototype.hasOwnProperty.call(a,t.discriminator))throw new Error(`Invalid discriminated union option at index "${o}"`)});let i=pr(()=>ug(t));e._zod.parse=(r,o)=>{let a=r.value;if(!Tn(a))return r.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),r;let c=a?.[t.discriminator],l=i.value.get(c);return l&&(c!==void 0||o.direction!=="backward")?l._zod.run(r,o):t.unionFallback||o.direction==="backward"?n(r,o):(r.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(i.value.keys()).filter(f=>i.value.get(f)!==null),input:a,path:[t.discriminator],inst:e}),r)}}),Nl=I("$ZodIntersection",(e,t)=>{ne.init(e,t),e._zod.parse=(n,i)=>{let r=n.value,o=t.left._zod.run({value:r,issues:[]},i),a=t.right._zod.run({value:r,issues:[]},i);return o instanceof Promise||a instanceof Promise?Promise.all([o,a]).then(([l,f])=>Zp(n,l,f)):Zp(n,o,a)}});function Sr(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(pt(e)&&pt(t)){let n=Object.keys(t),i=Object.keys(e).filter(o=>n.indexOf(o)!==-1),r={...e,...t};Object.prototype.hasOwnProperty.call(r,"__proto__")&&delete r.__proto__;for(let o of i){if(o==="__proto__")continue;let a=Sr(e[o],t[o]);if(!a.valid)return{valid:!1,mergeErrorPath:[o,...a.mergeErrorPath]};r[o]=a.data}return{valid:!0,data:r}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let i=0;i<e.length;i++){let r=e[i],o=t[i],a=Sr(r,o);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};n.push(a.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function Zp(e,t,n){let i=new Map,r,o=new Map,a=(f,g)=>{let D;if(f.code==="unrecognized_keys"&&!f.path?.length)r??(r=f),D=f.keys;else if(f.code==="invalid_key"&&f.origin==="record"&&f.path?.length===1){let b=String(f.path[0]);o.has(b)||o.set(b,f),D=[b]}else return!1;for(let b of D)i.has(b)||i.set(b,{}),i.get(b)[g]=!0;return!0};for(let f of t.issues)a(f,"l")||e.issues.push(f);for(let f of n.issues)a(f,"r")||e.issues.push(f);let c=[...i].filter(([,f])=>f.l&&f.r).map(([f])=>f);if(c.length){let f=r?c.filter(g=>r.keys.includes(g)):[];f.length&&e.issues.push({...r,keys:f});for(let g of c)!f.includes(g)&&o.has(g)&&e.issues.push(o.get(g))}let l=Sr(t.value,n.value);if(!l.valid){if(He(e))return e;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(l.mergeErrorPath)}`)}return e.value=l.data,e}var _a=I("$ZodTuple",(e,t)=>{ne.init(e,t);let n=t.items,i=Ge.memoizer;i?.attach(e),e._zod.parse=(r,o)=>{let a=r.value;if(!Array.isArray(a))return r.issues.push({input:a,inst:e,expected:"tuple",code:"invalid_type"}),r;r.value=i?i.alloc(e,r,[],o):[];let c=[],l=Hp(n,"optin"),f=Hp(n,"optout");if(!t.rest){if(a.length<l)return r.issues.push({code:"too_small",minimum:l,inclusive:!0,input:a,inst:e,origin:"array"}),r;a.length>n.length&&r.issues.push({code:"too_big",maximum:n.length,inclusive:!0,input:a,inst:e,origin:"array"})}let g=new Array(n.length),D=t.rest?o?.abortEarly:void 0,b=!1;for(let y=0;y<n.length;y++){let $=n[y]._zod.run({value:a[y],issues:[]},o);$ instanceof Promise?c.push($.then(E=>{g[y]=E})):(g[y]=$,D&&!b&&$.issues.length&&(b=He($)))}if(t.rest&&!b){let y=n.length-1,$=a.slice(n.length),E=r.issues.length;for(let j of $){if(D&&r.issues.length!==E){if(He(r,E))break;E=r.issues.length}y++;let M=t.rest._zod.run({value:j,issues:[]},o);M instanceof Promise?c.push(M.then(R=>Jp(R,r,y))):Jp(M,r,y)}}return c.length?Promise.all(c).then(()=>Kp(g,r,n,a,f)):Kp(g,r,n,a,f)}});function Hp(e,t){for(let n=e.length-1;n>=0;n--)if(!(t==="optin"?e[n]._zod.optin!==void 0:e[n]._zod.optout==="optional"))return n+1;return 0}function Jp(e,t,n){e.issues.length&&t.issues.push(...tt(n,e.issues)),t.value[n]=e.value}function Kp(e,t,n,i,r){for(let o=0;o<n.length;o++){let a=e[o],c=o<i.length;if(!c&&o>=r&&n[o]._zod.optin==="optional"){t.value.length=o;break}if(a.issues.length){if(!c&&o>=r){t.value.length=o;break}t.issues.push(...tt(o,a.issues))}t.value[o]=a.value}for(let o=t.value.length-1;o>=i.length&&(n[o]._zod.optout==="optional"&&t.value[o]===void 0);o--)t.value.length=o;return t}var zl=I("$ZodRecord",(e,t)=>{ne.init(e,t);let n=Ge.memoizer;n?.attach(e),e._zod.parse=(i,r)=>{let o=i.value;if(!pt(o))return i.issues.push({expected:"record",code:"invalid_type",input:o,inst:e}),i;let a=[],c=t.keyType._zod.values;if(c&&!t.partial){i.value=n?n.alloc(e,i,{},r):{};let l=new Set;for(let g of c)if(typeof g=="string"||typeof g=="number"||typeof g=="symbol"){if(l.add(typeof g=="number"?g.toString():g),g==="__proto__")continue;let D=t.keyType._zod.run({value:g,issues:[]},r);if(D instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(D.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:D.issues.map($=>nt($,r,Ie())),input:g,path:[g],inst:e});continue}let b=D.value;if(b==="__proto__")continue;let y=t.valueType._zod.run({value:o[g],issues:[]},r);y instanceof Promise?a.push(y.then($=>{$.issues.length&&i.issues.push(...tt(g,$.issues)),i.value[b]=$.value})):(y.issues.length&&i.issues.push(...tt(g,y.issues)),i.value[b]=y.value)}let f;for(let g in o)if(!l.has(g))if(t.mode==="loose"){if(g==="__proto__")continue;i.value[g]=o[g]}else f=f??[],f.push(g);f&&f.length>0&&i.issues.push({code:"unrecognized_keys",input:o,inst:e,keys:f,continue:!0})}else{i.value=n?n.alloc(e,i,{},r):{};let l;for(let f of Reflect.ownKeys(o)){if(f==="__proto__"||!Object.prototype.propertyIsEnumerable.call(o,f))continue;let g=t.keyType._zod.run({value:f,issues:[]},r);if(g instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof f=="string"&&Zt.test(f)&&g.issues.length){let $=t.keyType._zod.run({value:Number(f),issues:[]},r);if($ instanceof Promise)throw new Error("Async schemas not supported in object keys currently");$.issues.length===0&&(g=$)}if(g.issues.length){t.mode==="loose"?i.value[f]=o[f]:c?(l=l??[],l.push(f)):i.issues.push({code:"invalid_key",origin:"record",issues:g.issues.map($=>nt($,r,Ie())),input:f,path:[f],inst:e});continue}let b=g.value;if(b==="__proto__")continue;let y=t.valueType._zod.run({value:o[f],issues:[]},r);y instanceof Promise?a.push(y.then($=>{$.issues.length&&i.issues.push(...tt(f,$.issues)),i.value[b]=$.value})):(y.issues.length&&i.issues.push(...tt(f,y.issues)),i.value[b]=y.value)}l&&l.length>0&&i.issues.push({code:"unrecognized_keys",input:o,inst:e,keys:l,continue:!0})}return a.length?Promise.all(a).then(()=>i):i}}),Ll=I("$ZodMap",(e,t)=>{ne.init(e,t);let n=Ge.memoizer;n?.attach(e),e._zod.parse=(i,r)=>{let o=i.value;if(!(o instanceof Map))return i.issues.push({expected:"map",code:"invalid_type",input:o,inst:e}),i;let a=[];i.value=n?n.alloc(e,i,new Map,r):new Map;let c=r?.abortEarly,l=i.issues.length;for(let[f,g]of o){if(c&&i.issues.length!==l){if(He(i,l))break;l=i.issues.length}let D=t.keyType._zod.run({value:f,issues:[]},r),b=t.valueType._zod.run({value:g,issues:[]},r);D instanceof Promise||b instanceof Promise?a.push(Promise.all([D,b]).then(([y,$])=>{qp(y,$,i,f,o,e,r)})):qp(D,b,i,f,o,e,r)}return a.length?Promise.all(a).then(()=>i):i},Ol(e,F1)});function qp(e,t,n,i,r,o,a){e.issues.length&&(bi.has(typeof i)?n.issues.push(...tt(i,e.issues)):n.issues.push({code:"invalid_key",origin:"map",input:r,inst:o,issues:e.issues.map(c=>nt(c,a,Ie()))})),t.issues.length&&(bi.has(typeof i)?n.issues.push(...tt(i,t.issues)):n.issues.push({origin:"map",code:"invalid_element",input:r,inst:o,key:i,issues:t.issues.map(c=>nt(c,a,Ie()))})),n.value.set(e.value,t.value)}var Ml=I("$ZodSet",(e,t)=>{ne.init(e,t);let n=Ge.memoizer;n?.attach(e),e._zod.parse=(i,r)=>{let o=i.value;if(!(o instanceof Set))return i.issues.push({input:o,inst:e,expected:"set",code:"invalid_type"}),i;let a=[];i.value=n?n.alloc(e,i,new Set,r):new Set;let c=r?.abortEarly,l=i.issues.length;for(let f of o){if(c&&i.issues.length!==l){if(He(i,l))break;l=i.issues.length}let g=t.valueType._zod.run({value:f,issues:[]},r);g instanceof Promise?a.push(g.then(D=>Xp(D,i))):Xp(g,i)}return a.length?Promise.all(a).then(()=>i):i},Ol(e,h1)});function Xp(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}var Ul=I("$ZodEnum",(e,t)=>{ne.init(e,t);let n=mr(t.entries),i=new Set(n);e._zod.values=i,se(e,"pattern",r=>{let o=mr(r.def.entries).filter(a=>bi.has(typeof a));return new RegExp(o.length?`^(${o.map(a=>gt(a.toString())).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(r,o)=>{let a=r.value;return i.has(a)||r.issues.push({code:"invalid_value",values:n,input:a,inst:e}),r}}),Bl=I("$ZodLiteral",(e,t)=>{ne.init(e,t);let n=new Set(t.values);e._zod.values=n,se(e,"pattern",i=>{let r=i.def.values;return new RegExp(r.length?`^(${r.map(o=>typeof o=="string"?gt(o):o?gt(o.toString()):String(o)).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(i,r)=>{let o=i.value;return n.has(o)||i.issues.push({code:"invalid_value",values:t.values,input:o,inst:e}),i}}),Wl=I("$ZodFile",(e,t)=>{ne.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;return r instanceof File||n.issues.push({expected:"file",code:"invalid_type",input:r,inst:e}),n}}),Vl=I("$ZodTransform",(e,t)=>{ne.init(e,t),e._zod.optin="optional",Ge.memoizer?.guard(e),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new cn(e.constructor.name);let r=t.transform(n.value,n);if(i.async)return(r instanceof Promise?r:Promise.resolve(r)).then(a=>(n.value=a,n));if(r instanceof Promise)throw new rt;return n.value=r,n}});function Yp(e,t){return e.value=t.issues.length?void 0:t.value,e}var pa=I("$ZodOptional",(e,t)=>{ne.init(e,t),se(e,"optin",n=>n.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",se(e,"values",n=>{let i=n.def.innerType._zod.values;return i?new Set([...i,void 0]):void 0}),se(e,"pattern",n=>{let i=n.def.innerType._zod.pattern;return i?new RegExp(`^(${Vt(i.source)})?$`):void 0}),e._zod.parse=(n,i)=>{if(n.value===void 0){if(t.innerType._zod.optin!=="defaulted")return n;let r=t.innerType._zod.run({value:n.value,issues:[]},i);return r instanceof Promise?r.then(o=>Yp(n,o)):Yp(n,r)}return t.innerType._zod.run(n,i)}}),Zl=I("$ZodExactOptional",(e,t)=>{pa.init(e,t),se(e,"values",n=>n.def.innerType._zod.values),se(e,"pattern",n=>n.def.innerType._zod.pattern),e._zod.parse=(n,i)=>t.innerType._zod.run(n,i)}),Hl=I("$ZodNullable",(e,t)=>{ne.init(e,t),se(e,"optin",n=>n.def.innerType._zod.optin),se(e,"optout",n=>n.def.innerType._zod.optout),se(e,"pattern",n=>{let i=n.def.innerType._zod.pattern;return i?new RegExp(`^(${Vt(i.source)}|null)$`):void 0}),se(e,"values",n=>n.def.innerType._zod.values?new Set([...n.def.innerType._zod.values,null]):void 0),e._zod.parse=(n,i)=>n.value===null?n:t.innerType._zod.run(n,i)}),Jl=I("$ZodDefault",(e,t)=>{ne.init(e,t),e._zod.optin="defaulted",se(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,i)=>{if(i.direction==="backward")return t.innerType._zod.run(n,i);if(n.value===void 0)return n.value=t.defaultValue,n;let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>Qp(o,t)):Qp(r,t)}});function Qp(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Kl=I("$ZodPrefault",(e,t)=>{ne.init(e,t),e._zod.optin="defaulted",se(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,i)=>(i.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,i))}),ql=I("$ZodNonOptional",(e,t)=>{ne.init(e,t),se(e,"values",n=>{let i=n.def.innerType._zod.values;return i?new Set([...i].filter(r=>r!==void 0)):void 0}),e._zod.parse=(n,i)=>{let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>eg(o,e)):eg(r,e)}});function eg(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}var Xl=I("$ZodSuccess",(e,t)=>{ne.init(e,t),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new cn("ZodSuccess");let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>(n.value=o.issues.length===0,n)):(n.value=r.issues.length===0,n)}});function tg(e,t,n,i){return t.issues.length?(e.value=n.catchValue({...t,value:e.value,error:{issues:t.issues.map(r=>nt(r,i,Ie()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}var Yl=I("$ZodCatch",(e,t)=>{ne.init(e,t),se(e,"optin",n=>n.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),se(e,"optout",n=>n.def.innerType._zod.optout),se(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,i)=>{if(i.direction==="backward")return t.innerType._zod.run(n,i);let r=t.innerType._zod.run({value:n.value,issues:[]},i);return r instanceof Promise?r.then(o=>tg(n,o,t,i)):tg(n,r,t,i)}}),Ql=I("$ZodNaN",(e,t)=>{ne.init(e,t),e._zod.parse=(n,i)=>((typeof n.value!="number"||!Number.isNaN(n.value))&&n.issues.push({input:n.value,inst:e,expected:"nan",code:"invalid_type"}),n)}),ga=I("$ZodPipe",(e,t)=>{ne.init(e,t),se(e,"values",n=>n.def.in._zod.values),se(e,"optin",n=>n.def.in._zod.optin),se(e,"optout",n=>n.def.out._zod.optout),se(e,"propValues",n=>n.def.in._zod.propValues),e._zod.parse=(n,i)=>{if(i.direction==="backward"){let o=t.out._zod.run(n,i);return o instanceof Promise?o.then(a=>Yo(a,t.in,i)):Yo(o,t.in,i)}let r=t.in._zod.run(n,i);return r instanceof Promise?r.then(o=>Yo(o,t.out,i)):Yo(r,t.out,i)}});function Yo(e,t,n){return e.issues.some(i=>i.code!=="unrecognized_keys")?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var Vi=I("$ZodCodec",(e,t)=>{ne.init(e,t),se(e,"values",n=>n.def.in._zod.values),se(e,"optin",n=>n.def.in._zod.optin),se(e,"optout",n=>n.def.out._zod.optout),se(e,"propValues",n=>n.def.in._zod.propValues),e._zod.parse=(n,i)=>{if((i.direction||"forward")==="forward"){let o=t.in._zod.run(n,i);return o instanceof Promise?o.then(a=>Qo(a,t,i)):Qo(o,t,i)}else{let o=t.out._zod.run(n,i);return o instanceof Promise?o.then(a=>Qo(a,t,i)):Qo(o,t,i)}}});function Qo(e,t,n){if(e.issues.length)return e.aborted=!0,e;if((n.direction||"forward")==="forward"){let r=t.transform(e.value,e);return r instanceof Promise?r.then(o=>ea(e,o,t.out,n)):ea(e,r,t.out,n)}else{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(o=>ea(e,o,t.in,n)):ea(e,r,t.in,n)}}function ea(e,t,n,i){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},i)}var ed=I("$ZodPreprocess",(e,t)=>{ga.init(e,t)}),td=I("$ZodReadonly",(e,t)=>{ne.init(e,t),se(e,"propValues",n=>n.def.innerType._zod.propValues),se(e,"values",n=>n.def.innerType._zod.values),se(e,"optin",n=>n.def.innerType?._zod?.optin),se(e,"optout",n=>n.def.innerType?._zod?.optout),e._zod.parse=(n,i)=>{if(i.direction==="backward")return t.innerType._zod.run(n,i);let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(ng):ng(r)}});function ng(e){return e.memo||(e.value=Object.freeze(e.value)),e}function v1(e){let t=e._zod.def,n=t.pattern,i=!!t.format?.includes("int"),r,o;for(let c of t.checks??[]){let l=c._zod.def;l.pattern&&(n=l.pattern),i||(i=!!l.format?.includes("int"));let f=l.minimum??l.length,g=l.maximum??l.length;f!==void 0&&(r===void 0||f>r)&&(r=f),g!==void 0&&(o===void 0||g<o)&&(o=g)}if(n)return n.source;if(r!==void 0&&o!==void 0&&r>o)return"(?!)";if(r!==void 0||o!==void 0)return gu({minimum:r,maximum:o}).source;let a=e._zod.pattern;return(i&&a===Zt?Ci:a)?.source}function Zu(e){let t=e._zod.def,n=e._zod.pattern?.source,i=t.innerType??e._zod.innerType;if(i){let r=i._zod.pattern?.source,o=Zu(i);return n&&r&&o&&o!==r?n.replace(Vt(r),()=>Vt(o)):n}if(t.options){let r=t.options.map(Zu);if(r.every(Boolean))return`^(${r.map(o=>Vt(o)).join("|")})$`}return v1(e)}var nd=I("$ZodTemplateLiteral",(e,t)=>{ne.init(e,t);let n=[];for(let i of t.parts)if(typeof i=="object"&&i!==null){let r=Zu(i);if(!r)throw new Error(`Invalid template literal part, no pattern found: ${[...i._zod.traits].shift()}`);n.push(Vt(r))}else if(i===null||wc.has(typeof i))n.push(gt(`${i}`));else throw new Error(`Invalid template literal part: ${i}`);e._zod.pattern=new RegExp(`^${n.join("")}$`),e._zod.parse=(i,r)=>typeof i.value!="string"?(i.issues.push({input:i.value,inst:e,expected:"string",code:"invalid_type"}),i):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(i.value)||i.issues.push({input:i.value,inst:e,code:"invalid_format",format:t.format??"template_literal",pattern:e._zod.pattern.source}),i)}),rd=I("$ZodFunction",(e,t)=>(ne.init(e,t),Object.defineProperty(e,"_def",{value:t}),e._zod.def=t,e.implement=n=>{if(typeof n!="function")throw new Error("implement() must be called with a function");return Object.defineProperty(function(...i){let r=e._def.input?Ro(e._def.input,i):i,o=Reflect.apply(n,this,r);return e._def.output?Ro(e._def.output,o):o},"_zod",{value:e._zod,enumerable:!1})},e.implementAsync=n=>{if(typeof n!="function")throw new Error("implementAsync() must be called with a function");return Object.defineProperty(async function(...i){let r=e._def.input?await jo(e._def.input,i):i,o=await Reflect.apply(n,this,r);return e._def.output?await jo(e._def.output,o):o},"_zod",{value:e._zod,enumerable:!1})},e._zod.parse=(n,i)=>typeof n.value!="function"?(n.issues.push({code:"invalid_type",expected:"function",input:n.value,inst:e}),n):(e._def.output&&e._def.output._zod.def.type==="promise"?n.value=e.implementAsync(n.value):n.value=e.implement(n.value),n),e.input=(...n)=>{let i=e.constructor;return Array.isArray(n[0])?new i({type:"function",input:new _a({type:"tuple",items:n[0],rest:n[1]}),output:e._def.output}):new i({type:"function",input:n[0],output:e._def.output})},e.output=n=>{let i=e.constructor;return new i({type:"function",input:e._def.input,output:n})},e)),id=I("$ZodPromise",(e,t)=>{ne.init(e,t),e._zod.parse=(n,i)=>Promise.resolve(n.value).then(r=>t.innerType._zod.run({value:r,issues:[]},i))}),Zi=I("$ZodLazy",(e,t)=>{ne.init(e,t),Ic(e._zod,"innerType",()=>{let n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),se(e,"pattern",n=>n.innerType?._zod?.pattern),se(e,"propValues",n=>n.innerType?._zod?.propValues),se(e,"optin",n=>n.innerType?._zod?.optin??void 0),se(e,"optout",n=>n.innerType?._zod?.optout??void 0),e._zod.parse=(n,i)=>e._zod.innerType._zod.run(n,i)}),od=I("$ZodCustom",(e,t)=>{ve.init(e,t),ne.init(e,t),e._zod.parse=(n,i)=>n,e._zod.check=n=>{let i=n.value,r=t.fn(i);if(r instanceof Promise)return r.then(o=>rg(o,n,i,e));rg(r,n,i,e)}});function rg(e,t,n,i){if(!e){let r={code:"custom",input:n,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(r.params=i._zod.def.params),t.issues.push(hr(r))}}var va=class extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform"),this.name="ZodCyclicError"}},sd="~memo",dg=[];function fg(e){return e!==null&&typeof e=="object"}function ad(e){return e.map(t=>t.path?{...t,path:t.path.slice()}:{...t})}var mg=new WeakMap,$r=0,Pa=1,Hi=2;function Ji(e,t,n){let i=mg.get(e);if(i!==void 0)return i?Hi:$r;if(t.has(e))return Hi;t.add(e);let r=$r,o=g=>{if(r!==Hi&&g?._zod){let D=Ji(g,t,n);D>r&&(r=D)}},a=(g,D)=>{let b=$r;for(let y of Reflect.ownKeys(g)){let $=Object.getOwnPropertyDescriptor(g,y);if(D&&!$.enumerable)continue;let E=$.get?Pa:$.value?._zod?Ji($.value,t,n):$r;E>b&&(b=E)}return b},c=g=>{g>r&&(r=g)},l=e._zod.def,f=l.type;switch(f){case"object":{let g=gr(l);c(g?a(g,!0):Pa),o(l.catchall);break}case"array":o(l.element);break;case"tuple":for(let g of l.items)o(g);o(l.rest);break;case"record":case"map":o(l.keyType),o(l.valueType);break;case"set":o(l.valueType);break;case"union":for(let g of l.options)o(g);break;case"intersection":o(l.left),o(l.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":o(l.innerType);break;case"pipe":o(l.in),o(l.out);break;case"function":o(l.input),o(l.output);break;case"lazy":{let g=l._cachedInner??(n?e._zod.innerType:void 0);c(g?Ji(g,t,!1):Pa);break}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(let g in l){let D=Object.getOwnPropertyDescriptor(l,g);if(!D||D.get)continue;let b=D.value;if(!(!b||typeof b!="object")){if(b._zod)o(b);else if(Array.isArray(b))for(let y of b)o(y)}}}return t.delete(e),D1(e,r)}function D1(e,t){return t!==Pa&&mg.set(e,t===Hi),t}function Da(e){return Ji(e,new Set,!0)!==$r}function y1(e,t){let n=e.buckets.get(t);return n||(n=new WeakMap,e.buckets.set(t,n)),n}var Fa,ha=[],b1={alloc(e,t,n){let i=Fa;if(!i)return n;Fa=void 0;let r={value:n,issues:null};return i.set(t.value,r),ha.push(r),n},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let n=e._zod.parse,i=(r,o)=>{if(o.direction!=="backward"&&ya(o,r.value))throw new va;return n(r,o)};e._zod.parse=i,e._zod.run===n&&(e._zod.run=i)})},attach(e){var t;let n,i=!1,r,o;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let a=e._zod.parse,c=(l,f)=>{if(n===void 0){let M=Ji(e,new Set,!1);if(M===$r)return e._zod.parse=a,e._zod.run===c&&(e._zod.run=a),a(l,f);M===Hi||i?n=!0:i=!0}let g=l.value;if(!fg(g))return a(l,f);let D=f[sd];D||(D={buckets:new WeakMap,backEdges:void 0},f[sd]=D);let b;r===f?b=o:(b=y1(D,e),r=f,o=b);let y=b.get(g);if(y)return l.value=y.value,y.issues?y.issues.length&&l.issues.push(...ad(y.issues)):(l.memo=!0,D.backEdges??(D.backEdges=new WeakSet),D.backEdges.add(y.value)),l;Fa=b;let $=ha.length,E=a(l,f);Fa=void 0;let j=ha.length>$?ha.pop():void 0;return E instanceof Promise?E.then(M=>(j&&(j.issues=M.issues.length?ad(M.issues):dg),M)):(j&&(j.issues=E.issues.length?ad(E.issues):dg),E)};e._zod.parse=c,e._zod.run===a&&(e._zod.run=c)})}};function Ki(){return b1}function ya(e,t){let n=e[sd]?.backEdges;return n!==void 0&&fg(t)&&n.has(t)}var Xi={};Bt(Xi,{ar:()=>_g,az:()=>pg,be:()=>Fg,bg:()=>hg,bn:()=>Pg,ca:()=>vg,ckb:()=>Dg,cs:()=>yg,da:()=>bg,de:()=>Sg,el:()=>$g,en:()=>ba,eo:()=>xg,es:()=>Ig,fa:()=>kg,fi:()=>Ag,fr:()=>wg,frCA:()=>Eg,gu:()=>Og,he:()=>Tg,hi:()=>Gg,hr:()=>Cg,hu:()=>Rg,hy:()=>Ng,id:()=>zg,is:()=>Lg,it:()=>Mg,ja:()=>Ug,ka:()=>Bg,kh:()=>Wg,km:()=>Sa,kn:()=>Vg,ko:()=>Zg,lt:()=>Jg,mk:()=>Kg,ms:()=>qg,ne:()=>Xg,nl:()=>Yg,nn:()=>Qg,no:()=>eF,ota:()=>tF,pl:()=>rF,ps:()=>nF,pt:()=>iF,ptBR:()=>oF,ro:()=>aF,ru:()=>cF,sk:()=>uF,sl:()=>lF,sv:()=>dF,ta:()=>fF,tg:()=>mF,th:()=>_F,tk:()=>pF,tr:()=>gF,ua:()=>FF,uk:()=>$a,ur:()=>hF,uz:()=>PF,vi:()=>vF,yo:()=>bF,zhCN:()=>DF,zhTW:()=>yF});var S1=()=>{let e={string:{unit:"\u062D\u0631\u0641",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},file:{unit:"\u0628\u0627\u064A\u062A",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},array:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},set:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},map:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"}};function t(r){return e[r]??null}let n={regex:"\u0645\u062F\u062E\u0644",email:"\u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",url:"\u0631\u0627\u0628\u0637",emoji:"\u0625\u064A\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u064A\u062E \u0648\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",date:"\u062A\u0627\u0631\u064A\u062E \u0628\u0645\u0639\u064A\u0627\u0631 ISO",time:"\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",duration:"\u0645\u062F\u0629 \u0628\u0645\u0639\u064A\u0627\u0631 ISO",ipv4:"\u0639\u0646\u0648\u0627\u0646 IPv4",ipv6:"\u0639\u0646\u0648\u0627\u0646 IPv6",mac:"\u0639\u0646\u0648\u0627\u0646 MAC",cidrv4:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv4",cidrv6:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv6",base64:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64-encoded",base64url:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64url-encoded",json_string:"\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",e164:"\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",credit_card:"\u0631\u0642\u0645 \u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u0627\u0626\u062A\u0645\u0627\u0646",currency_code:"\u0631\u0645\u0632 \u0627\u0644\u0639\u0645\u0644\u0629",iban:"IBAN",jwt:"JWT",template_literal:"\u0645\u062F\u062E\u0644"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 instanceof ${r.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${c}`:`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${o}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${c}`}case"invalid_value":return r.values.length===1?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${G(r.values[0])}`:`\u0627\u062E\u062A\u064A\u0627\u0631 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062A\u0648\u0642\u0639 \u0627\u0646\u062A\u0642\u0627\u0621 \u0623\u062D\u062F \u0647\u0630\u0647 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A: ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?` \u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${r.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${o} ${r.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631"}`:`\u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${r.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${r.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${o} ${r.minimum.toString()} ${a.unit}`:`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${r.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${o} ${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0628\u062F\u0623 \u0628\u0640 "${r.prefix}"`:o.format==="ends_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0646\u062A\u0647\u064A \u0628\u0640 "${o.suffix}"`:o.format==="includes"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0651\u064E\u0646 "${o.includes}"`:o.format==="regex"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0637\u0627\u0628\u0642 \u0627\u0644\u0646\u0645\u0637 ${o.pattern}`:`${n[o.format]??r.format} \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644`}case"not_multiple_of":return`\u0631\u0642\u0645 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0645\u0646 \u0645\u0636\u0627\u0639\u0641\u0627\u062A ${r.divisor}`;case"unrecognized_keys":return`\u0645\u0639\u0631\u0641${r.keys.length>1?"\u0627\u062A":""} \u063A\u0631\u064A\u0628${r.keys.length>1?"\u0629":""}: ${k(r.keys,"\u060C ")}`;case"invalid_key":return`\u0645\u0639\u0631\u0641 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${r.origin}`;case"invalid_union":return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644";case"invalid_element":return`\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${r.origin}`;default:return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644"}}};function _g(){return{localeError:S1()}}var $1=()=>{let e={string:{unit:"simvol",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"element",verb:"olmal\u0131d\u0131r"},set:{unit:"element",verb:"olmal\u0131d\u0131r"},map:{unit:"element",verb:"olmal\u0131d\u0131r"}};function t(r){return e[r]??null}let n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",credit_card:"kredit kart\u0131 n\xF6mr\u0259si",currency_code:"valyuta kodu",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n instanceof ${r.expected}, daxil olan ${c}`:`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${o}, daxil olan ${c}`}case"invalid_value":return r.values.length===1?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${G(r.values[0])}`:`Yanl\u0131\u015F se\xE7im: a\u015Fa\u011F\u0131dak\u0131lardan biri olmal\u0131d\u0131r: ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${r.origin??"d\u0259y\u0259r"} ${o}${r.maximum.toString()} ${a.unit??"element"}`:`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${r.origin??"d\u0259y\u0259r"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${r.origin} ${o}${r.minimum.toString()} ${a.unit}`:`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Yanl\u0131\u015F m\u0259tn: "${o.prefix}" il\u0259 ba\u015Flamal\u0131d\u0131r`:o.format==="ends_with"?`Yanl\u0131\u015F m\u0259tn: "${o.suffix}" il\u0259 bitm\u0259lidir`:o.format==="includes"?`Yanl\u0131\u015F m\u0259tn: "${o.includes}" daxil olmal\u0131d\u0131r`:o.format==="regex"?`Yanl\u0131\u015F m\u0259tn: ${o.pattern} \u015Fablonuna uy\u011Fun olmal\u0131d\u0131r`:`Yanl\u0131\u015F ${n[o.format]??r.format}`}case"not_multiple_of":return`Yanl\u0131\u015F \u0259d\u0259d: ${r.divisor} il\u0259 b\xF6l\xFCn\u0259 bil\u0259n olmal\u0131d\u0131r`;case"unrecognized_keys":return`Tan\u0131nmayan a\xE7ar${r.keys.length>1?"lar":""}: ${k(r.keys,", ")}`;case"invalid_key":return`${r.origin} daxilind\u0259 yanl\u0131\u015F a\xE7ar`;case"invalid_union":return"Yanl\u0131\u015F d\u0259y\u0259r";case"invalid_element":return`${r.origin} daxilind\u0259 yanl\u0131\u015F d\u0259y\u0259r`;default:return"Yanl\u0131\u015F d\u0259y\u0259r"}}};function pg(){return{localeError:$1()}}function gg(e,t,n,i){let r=Math.abs(e),o=r%10,a=r%100;return a>=11&&a<=19?i:o===1?t:o>=2&&o<=4?n:i}var x1=()=>{let e={string:{unit:{one:"\u0441\u0456\u043C\u0432\u0430\u043B",few:"\u0441\u0456\u043C\u0432\u0430\u043B\u044B",many:"\u0441\u0456\u043C\u0432\u0430\u043B\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},map:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u044B",many:"\u0431\u0430\u0439\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"}};function t(r){return e[r]??null}let n={regex:"\u0443\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0430\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0456 \u0447\u0430\u0441",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0447\u0430\u0441",duration:"ISO \u043F\u0440\u0430\u0446\u044F\u0433\u043B\u0430\u0441\u0446\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0430\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0430\u0441",mac:"MAC \u0430\u0434\u0440\u0430\u0441",cidrv4:"IPv4 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",base64:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64",base64url:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64url",json_string:"JSON \u0440\u0430\u0434\u043E\u043A",e164:"\u043D\u0443\u043C\u0430\u0440 E.164",credit_card:"\u043D\u0443\u043C\u0430\u0440 \u043A\u0440\u044D\u0434\u044B\u0442\u043D\u0430\u0439 \u043A\u0430\u0440\u0442\u044B",currency_code:"\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",iban:"IBAN",jwt:"JWT",template_literal:"\u0443\u0432\u043E\u0434"},i={nan:"NaN",number:"\u043B\u0456\u043A",array:"\u043C\u0430\u0441\u0456\u045E"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F instanceof ${r.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${c}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${o}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${c}`}case"invalid_value":return r.values.length===1?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F ${G(r.values[0])}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0432\u0430\u0440\u044B\u044F\u043D\u0442: \u0447\u0430\u043A\u0430\u045E\u0441\u044F \u0430\u0434\u0437\u0456\u043D \u0437 ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);if(a){let c=Number(r.maximum),l=gg(c,a.unit.one,a.unit.few,a.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${a.verb} ${o}${r.maximum.toString()} ${l}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);if(a){let c=Number(r.minimum),l=gg(c,a.unit.one,a.unit.few,a.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${a.verb} ${o}${r.minimum.toString()} ${l}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${r.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u043F\u0430\u0447\u044B\u043D\u0430\u0446\u0446\u0430 \u0437 "${o.prefix}"`:o.format==="ends_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u0430\u043A\u0430\u043D\u0447\u0432\u0430\u0446\u0446\u0430 \u043D\u0430 "${o.suffix}"`:o.format==="includes"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u043C\u044F\u0448\u0447\u0430\u0446\u044C "${o.includes}"`:o.format==="regex"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0430\u0434\u043F\u0430\u0432\u044F\u0434\u0430\u0446\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${o.pattern}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B ${n[o.format]??r.format}`}case"not_multiple_of":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043B\u0456\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0431\u044B\u0446\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u044B ${r.keys.length>1?"\u043A\u043B\u044E\u0447\u044B":"\u043A\u043B\u044E\u0447"}: ${k(r.keys,", ")}`;case"invalid_key":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043A\u043B\u044E\u0447 \u0443 ${r.origin}`;case"invalid_union":return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434";case"invalid_element":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u0430\u0435 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435 \u045E ${r.origin}`;default:return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434"}}};function Fg(){return{localeError:x1()}}var I1=()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},file:{unit:"\u0431\u0430\u0439\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"},map:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430",verb:"\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430"}};function t(r){return e[r]??null}let n={regex:"\u0432\u0445\u043E\u0434",email:"\u0438\u043C\u0435\u0439\u043B \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0436\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u043F\u0440\u043E\u0434\u044A\u043B\u0436\u0438\u0442\u0435\u043B\u043D\u043E\u0441\u0442",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",mac:"MAC \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"base64-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",base64url:"base64url-\u043A\u043E\u0434\u0438\u0440\u0430\u043D \u043D\u0438\u0437",json_string:"JSON \u043D\u0438\u0437",e164:"E.164 \u043D\u043E\u043C\u0435\u0440",credit_card:"\u043D\u043E\u043C\u0435\u0440 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0430",currency_code:"\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",iban:"IBAN",jwt:"JWT",template_literal:"\u0432\u0445\u043E\u0434"},i={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D instanceof ${r.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${c}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${o}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D ${c}`}case"invalid_value":return r.values.length===1?`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434: \u043E\u0447\u0430\u043A\u0432\u0430\u043D ${G(r.values[0])}`:`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u043E\u043F\u0446\u0438\u044F: \u043E\u0447\u0430\u043A\u0432\u0430\u043D\u043E \u0435\u0434\u043D\u043E \u043E\u0442 ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${o}${r.maximum.toString()} ${a.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430"}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u0433\u043E\u043B\u044F\u043C\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin??"\u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442"} \u0434\u0430 \u0431\u044A\u0434\u0435 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin} \u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 ${o}${r.minimum.toString()} ${a.unit}`:`\u0422\u0432\u044A\u0440\u0434\u0435 \u043C\u0430\u043B\u043A\u043E: \u043E\u0447\u0430\u043A\u0432\u0430 \u0441\u0435 ${r.origin} \u0434\u0430 \u0431\u044A\u0434\u0435 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;if(o.format==="starts_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u0432\u0430 \u0441 "${o.prefix}"`;if(o.format==="ends_with")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0437\u0430\u0432\u044A\u0440\u0448\u0432\u0430 \u0441 "${o.suffix}"`;if(o.format==="includes")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0432\u043A\u043B\u044E\u0447\u0432\u0430 "${o.includes}"`;if(o.format==="regex")return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043D\u0438\u0437: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0441\u044A\u0432\u043F\u0430\u0434\u0430 \u0441 ${o.pattern}`;let a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D";return o.format==="emoji"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),o.format==="datetime"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),o.format==="date"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),o.format==="time"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E"),o.format==="duration"&&(a="\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430"),`${a} ${n[o.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u043E \u0447\u0438\u0441\u043B\u043E: \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u043A\u0440\u0430\u0442\u043D\u043E \u043D\u0430 ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0437\u043F\u043E\u0437\u043D\u0430\u0442${r.keys.length>1?"\u0438":""} \u043A\u043B\u044E\u0447${r.keys.length>1?"\u043E\u0432\u0435":""}: ${k(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u043A\u043B\u044E\u0447 \u0432 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434";case"invalid_element":return`\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0430 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442 \u0432 ${r.origin}`;default:return"\u041D\u0435\u0432\u0430\u043B\u0438\u0434\u0435\u043D \u0432\u0445\u043E\u0434"}}};function hg(){return{localeError:I1()}}var k1=()=>{let e={string:{unit:"\u0985\u0995\u09CD\u09B7\u09B0",verb:"\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7"},file:{unit:"\u09AC\u09BE\u0987\u099F",verb:"\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7"},array:{unit:"\u0986\u0987\u099F\u09C7\u09AE",verb:"\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7"},set:{unit:"\u0986\u0987\u099F\u09C7\u09AE",verb:"\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7"},map:{unit:"\u098F\u09A8\u09CD\u099F\u09CD\u09B0\u09BF",verb:"\u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7"}};function t(r){return e[r]??null}let n={regex:"\u0987\u09A8\u09AA\u09C1\u099F",email:"\u0987\u09AE\u09C7\u0987\u09B2 \u09A0\u09BF\u0995\u09BE\u09A8\u09BE",url:"URL",emoji:"\u0987\u09AE\u09CB\u099C\u09BF",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u09A4\u09BE\u09B0\u09BF\u0996 \u0993 \u09B8\u09AE\u09AF\u09BC",date:"ISO \u09A4\u09BE\u09B0\u09BF\u0996",time:"ISO \u09B8\u09AE\u09AF\u09BC",duration:"ISO \u09B8\u09AE\u09AF\u09BC\u0995\u09BE\u09B2",ipv4:"IPv4 \u09A0\u09BF\u0995\u09BE\u09A8\u09BE",ipv6:"IPv6 \u09A0\u09BF\u0995\u09BE\u09A8\u09BE",mac:"MAC \u09A0\u09BF\u0995\u09BE\u09A8\u09BE",cidrv4:"IPv4 \u09B0\u09C7\u099E\u09CD\u099C",cidrv6:"IPv6 \u09B0\u09C7\u099E\u09CD\u099C",base64:"base64-\u098F\u09A8\u0995\u09CB\u09A1\u09C7\u09A1 \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982",base64url:"base64url-\u098F\u09A8\u0995\u09CB\u09A1\u09C7\u09A1 \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982",json_string:"JSON \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982",e164:"E.164 \u09A8\u09AE\u09CD\u09AC\u09B0",credit_card:"\u0995\u09CD\u09B0\u09C7\u09A1\u09BF\u099F \u0995\u09BE\u09B0\u09CD\u09A1 \u09A8\u09AE\u09CD\u09AC\u09B0",currency_code:"\u09AE\u09C1\u09A6\u09CD\u09B0\u09BE \u0995\u09CB\u09A1",iban:"IBAN",jwt:"JWT",template_literal:"\u0987\u09A8\u09AA\u09C1\u099F"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return`\u0985\u09AC\u09C8\u09A7 \u0987\u09A8\u09AA\u09C1\u099F: \u09AA\u09CD\u09B0\u09A4\u09CD\u09AF\u09BE\u09B6\u09BF\u09A4 ${o}, \u09AA\u09CD\u09B0\u09BE\u09AA\u09CD\u09A4 ${c}`}case"invalid_value":return r.values.length===1?`\u0985\u09AC\u09C8\u09A7 \u0987\u09A8\u09AA\u09C1\u099F: \u09AA\u09CD\u09B0\u09A4\u09CD\u09AF\u09BE\u09B6\u09BF\u09A4 ${G(r.values[0])}`:`\u0985\u09AC\u09C8\u09A7 \u0985\u09AA\u09B6\u09A8: ${k(r.values," | ")} \u098F\u09B0 \u09AE\u09A7\u09CD\u09AF\u09C7 \u098F\u0995\u099F\u09BF \u09AA\u09CD\u09B0\u09A4\u09CD\u09AF\u09BE\u09B6\u09BF\u09A4`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0985\u09A8\u09C7\u0995 \u09AC\u09A1\u09BC: ${r.origin??"\u09AE\u09BE\u09A8"} ${o}${r.maximum.toString()} ${a.unit??"\u098F\u09B2\u09BF\u09AE\u09C7\u09A8\u09CD\u099F"} \u09B9\u09A4\u09C7 \u09B9\u09AC\u09C7`:`\u0985\u09A8\u09C7\u0995 \u09AC\u09A1\u09BC: ${r.origin??"\u09AE\u09BE\u09A8"} ${o}${r.maximum.toString()} \u09B9\u09A4\u09C7 \u09B9\u09AC\u09C7`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u0985\u09A8\u09C7\u0995 \u099B\u09CB\u099F: ${r.origin} ${o}${r.minimum.toString()} ${a.unit} \u09B9\u09A4\u09C7 \u09B9\u09AC\u09C7`:`\u0985\u09A8\u09C7\u0995 \u099B\u09CB\u099F: ${r.origin} ${o}${r.minimum.toString()} \u09B9\u09A4\u09C7 \u09B9\u09AC\u09C7`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0985\u09AC\u09C8\u09A7 \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982: "${o.prefix}" \u09A6\u09BF\u09AF\u09BC\u09C7 \u09B6\u09C1\u09B0\u09C1 \u09B9\u09A4\u09C7 \u09B9\u09AC\u09C7`:o.format==="ends_with"?`\u0985\u09AC\u09C8\u09A7 \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982: "${o.suffix}" \u09A6\u09BF\u09AF\u09BC\u09C7 \u09B6\u09C7\u09B7 \u09B9\u09A4\u09C7 \u09B9\u09AC\u09C7`:o.format==="includes"?`\u0985\u09AC\u09C8\u09A7 \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982: "${o.includes}" \u0985\u09A8\u09CD\u09A4\u09B0\u09CD\u09AD\u09C1\u0995\u09CD\u09A4 \u09A5\u09BE\u0995\u09A4\u09C7 \u09B9\u09AC\u09C7`:o.format==="regex"?`\u0985\u09AC\u09C8\u09A7 \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982: ${o.pattern} \u09AA\u09CD\u09AF\u09BE\u099F\u09BE\u09B0\u09CD\u09A8 \u09AE\u09BF\u09B2\u09A4\u09C7 \u09B9\u09AC\u09C7`:`\u0985\u09AC\u09C8\u09A7 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u0985\u09AC\u09C8\u09A7 \u09A8\u09AE\u09CD\u09AC\u09B0: ${r.divisor} \u098F\u09B0 \u0997\u09C1\u09A3\u09BF\u09A4\u0995 \u09B9\u09A4\u09C7 \u09B9\u09AC\u09C7`;case"unrecognized_keys":return`\u0985\u099A\u09C7\u09A8\u09BE \u0995\u09C0${r.keys.length>1?"\u0997\u09C1\u09B2\u09CB":""}: ${k(r.keys,", ")}`;case"invalid_key":return`${r.origin} \u098F \u0985\u09AC\u09C8\u09A7 \u0995\u09C0`;case"invalid_union":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\u0985\u09AC\u09C8\u09A7 \u09A1\u09BF\u09B8\u0995\u09CD\u09B0\u09BF\u09AE\u09BF\u09A8\u09C7\u099F\u09B0 \u09AE\u09BE\u09A8\u0964 \u09AA\u09CD\u09B0\u09A4\u09CD\u09AF\u09BE\u09B6\u09BF\u09A4 ${r.options.map(a=>`'${a}'`).join(" | ")}`:"\u0985\u09AC\u09C8\u09A7 \u0987\u09A8\u09AA\u09C1\u099F";case"invalid_element":return`${r.origin} \u098F \u0985\u09AC\u09C8\u09A7 \u09AE\u09BE\u09A8`;default:return"\u0985\u09AC\u09C8\u09A7 \u0987\u09A8\u09AA\u09C1\u099F"}}};function Pg(){return{localeError:k1()}}var A1=()=>{let e={string:{unit:"car\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"},map:{unit:"elements",verb:"contenir"}};function t(r){return e[r]??null}let n={regex:"entrada",email:"adre\xE7a electr\xF2nica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adre\xE7a IPv4",ipv6:"adre\xE7a IPv6",mac:"adre\xE7a MAC",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\xFAmero E.164",credit_card:"n\xFAmero de targeta de cr\xE8dit",currency_code:"codi de moneda",iban:"IBAN",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Tipus inv\xE0lid: s'esperava instanceof ${r.expected}, s'ha rebut ${c}`:`Tipus inv\xE0lid: s'esperava ${o}, s'ha rebut ${c}`}case"invalid_value":return r.values.length===1?`Valor inv\xE0lid: s'esperava ${G(r.values[0])}`:`Opci\xF3 inv\xE0lida: s'esperava una de ${k(r.values," o ")}`;case"too_big":{let o=r.inclusive?"com a m\xE0xim":"menys de",a=t(r.origin);return a?`Massa gran: s'esperava que ${r.origin??"el valor"} contingu\xE9s ${o} ${r.maximum.toString()} ${a.unit??"elements"}`:`Massa gran: s'esperava que ${r.origin??"el valor"} fos ${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?"com a m\xEDnim":"m\xE9s de",a=t(r.origin);return a?`Massa petit: s'esperava que ${r.origin} contingu\xE9s ${o} ${r.minimum.toString()} ${a.unit}`:`Massa petit: s'esperava que ${r.origin} fos ${o} ${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Format inv\xE0lid: ha de comen\xE7ar amb "${o.prefix}"`:o.format==="ends_with"?`Format inv\xE0lid: ha d'acabar amb "${o.suffix}"`:o.format==="includes"?`Format inv\xE0lid: ha d'incloure "${o.includes}"`:o.format==="regex"?`Format inv\xE0lid: ha de coincidir amb el patr\xF3 ${o.pattern}`:`Format inv\xE0lid per a ${n[o.format]??r.format}`}case"not_multiple_of":return`N\xFAmero inv\xE0lid: ha de ser m\xFAltiple de ${r.divisor}`;case"unrecognized_keys":return`Clau${r.keys.length>1?"s":""} no reconeguda${r.keys.length>1?"s":""}: ${k(r.keys,", ")}`;case"invalid_key":return`Clau inv\xE0lida a ${r.origin}`;case"invalid_union":return"Entrada inv\xE0lida";case"invalid_element":return`Element inv\xE0lid a ${r.origin}`;default:return"Entrada inv\xE0lida"}}};function vg(){return{localeError:A1()}}var w1=()=>{let e={string:{unit:"\u067E\u06CC\u062A",verb:"\u0628\u06CE\u062A"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u0628\u06CE\u062A"},array:{unit:"\u062F\u0627\u0646\u06D5",verb:"\u0628\u06CE\u062A"},set:{unit:"\u062F\u0627\u0646\u06D5",verb:"\u0628\u06CE\u062A"},map:{unit:"\u062F\u0627\u0646\u06D5",verb:"\u0628\u06CE\u062A"}};function t(r){return e[r]??null}let n={regex:"regex",email:"\u0626\u06CC\u0645\u06D5\u06CC\u06B5",url:"\u0628\u06D5\u0633\u062A\u06D5\u0631 (URL)",emoji:"\u0626\u06CC\u0645\u06C6\u062C\u06CC",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0695\u06CE\u06A9\u06D5\u0648\u062A \u0648 \u06A9\u0627\u062A",date:"\u0695\u06CE\u06A9\u06D5\u0648\u062A",time:"\u06A9\u0627\u062A",duration:"\u0645\u0627\u0648\u06D5",ipv4:"\u0646\u0627\u0648\u0646\u06CC\u0634\u0627\u0646\u06CC IPv4",ipv6:"\u0646\u0627\u0648\u0646\u06CC\u0634\u0627\u0646\u06CC IPv6",mac:"\u0646\u0627\u0648\u0646\u06CC\u0634\u0627\u0646\u06CC MAC",cidrv4:"\u0645\u06D5\u0648\u062F\u0627\u06CC IPv4",cidrv6:"\u0645\u06D5\u0648\u062F\u0627\u06CC IPv6",base64:"\u062F\u06D5\u0642\u06CC base64",base64url:"\u062F\u06D5\u0642\u06CC base64url",json_string:"\u062F\u06D5\u0642\u06CC JSON",e164:"\u0698\u0645\u0627\u0631\u06D5\u06CC E.164",credit_card:"\u0698\u0645\u0627\u0631\u06D5\u06CC \u06A9\u0627\u0631\u062A\u06CC \u06A9\u0631\u06CE\u062F\u06CC\u062A",currency_code:"\u06A9\u06C6\u062F\u06CC \u062F\u0631\u0627\u0648",iban:"IBAN",jwt:"JWT",template_literal:"\u062A\u06CE\u06A9\u0631\u062F\u06D5"},i={nan:"NaN",string:"\u0646\u0648\u0648\u0633\u06CC\u0646",number:"\u0698\u0645\u0627\u0631\u06D5",boolean:"boolean",array:"array",object:"object",date:"\u0695\u06CE\u06A9\u06D5\u0648\u062A",integer:"\u0698\u0645\u0627\u0631\u06D5",float:"\u0698\u0645\u0627\u0631\u06D5",null:"null",undefined:"undefined",function:"function",symbol:"symbol",unknown:"unknown",promise:"promise",void:"void",never:"never",map:"map",set:"set"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a,l=["\u0627","\u0648","\u06C6","\u0648\u0648","\u06D5","\u06CC","\u06CE"].some(g=>c.endsWith(g))?"\u06CC\u06D5":"\u06D5",f=/^[a-zA-Z]+$/.test(c);return a==="null"||a==="undefined"?"\u062F\u0627\u0648\u0627\u06A9\u0631\u0627\u0648\u06D5":`\u0686\u0627\u0648\u06D5\u0695\u0648\u0627\u0646\u06A9\u0631\u0627\u0648\u06D5 ${o} \u0628\u06CE\u062A\u060C \u0628\u06D5\u06B5\u0627\u0645 ${c}${f?"":l}`}case"invalid_value":return r.values.length===1?`\u0628\u06D5\u0647\u0627\u06A9\u06D5 \u0646\u0627\u062F\u0631\u0648\u0648\u0633\u062A\u06D5: \u0686\u0627\u0648\u06D5\u0695\u0648\u0627\u0646\u06A9\u0631\u0627\u0648\u06D5 ${G(r.values[0])} \u0628\u06CE\u062A`:`\u0647\u06D5\u06B5\u0628\u0698\u0627\u0631\u062F\u06D5\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A: \u0686\u0627\u0648\u06D5\u0695\u0648\u0627\u0646\u06A9\u0631\u0627\u0648\u06D5 \u06CC\u06D5\u06A9\u06CE\u06A9 \u0628\u06CE\u062A \u0644\u06D5 ${k(r.values,"|")}`;case"too_big":{let o=t(r.origin);return o?`\u067E\u06CE\u0648\u06CC\u0633\u062A\u06D5 \u0628\u06D5 \u0644\u0627\u06CC\u06D5\u0646\u06CC \u0632\u06C6\u0631\u06D5\u0648\u06D5 ${r.maximum.toString()} ${o.unit} ${o.verb}`:`\u067E\u06CE\u0648\u06CC\u0633\u062A\u06D5 \u0628\u06D5 \u0644\u0627\u06CC\u06D5\u0646\u06CC \u0632\u06C6\u0631\u06D5\u0648\u06D5 ${r.maximum.toString()} \u0628\u06CE\u062A`}case"too_small":{let o=t(r.origin);return o?`\u067E\u06CE\u0648\u06CC\u0633\u062A\u06D5 \u0628\u06D5 \u0644\u0627\u06CC\u06D5\u0646\u06CC \u06A9\u06D5\u0645\u06D5\u0648\u06D5 ${r.minimum.toString()} ${o.unit} ${o.verb}`:`\u067E\u06CE\u0648\u06CC\u0633\u062A\u06D5 \u0628\u06D5 \u0644\u0627\u06CC\u06D5\u0646\u06CC \u06A9\u06D5\u0645\u06D5\u0648\u06D5 ${r.minimum.toString()} \u0628\u06CE\u062A`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u062F\u06D5\u0642\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A: \u067E\u06CE\u0648\u06CC\u0633\u062A\u06D5 \u062F\u06D5\u0633\u062A\u067E\u06CE\u0628\u06A9\u0627\u062A \u0628\u06D5 "${o.prefix}"`:o.format==="ends_with"?`\u062F\u06D5\u0642\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A: \u067E\u06CE\u0648\u06CC\u0633\u062A\u06D5 \u06A9\u06C6\u062A\u0627\u06CC\u06CC\u0628\u06CE\u062A \u0628\u06D5 "${o.suffix}"`:o.format==="includes"?`\u062F\u06D5\u0642\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A: \u067E\u06CE\u0648\u06CC\u0633\u062A\u06D5 "${o.includes}" \u0644\u06D5\u062E\u06C6\u0628\u06AF\u0631\u06CE\u062A`:o.format==="regex"?`\u062F\u06D5\u0642\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A: \u067E\u06CE\u0648\u06CC\u0633\u062A\u06D5 \u0644\u06D5\u06AF\u06D5\u06B5 \u067E\u0627\u062A\u06CE\u0631\u0646\u06CC ${o.pattern} \u0628\u06AF\u0648\u0646\u062C\u06CE\u062A`:`\u0628\u06D5\u0647\u0627\u06CC ${n[o.format]??r.format} \u0646\u0627\u062F\u0631\u0648\u0633\u062A\u06D5`}case"not_multiple_of":return`\u0698\u0645\u0627\u0631\u06D5\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A: \u062F\u06D5\u0628\u06CE\u062A \u0686\u06D5\u0646\u062F \u0647\u06CE\u0646\u062F\u06D5 \u0628\u06CE\u062A \u0628\u06C6 ${r.divisor}`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u0644\u06CC \u0646\u06D5\u0646\u0627\u0633\u0631\u0627\u0648: ${k(r.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u0644\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A \u0644\u06D5 ${r.origin}`;case"invalid_union":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\u0628\u06D5\u0647\u0627\u06CC \u0646\u06D5\u0646\u0627\u0633\u0631\u0627\u0648 \u0647\u06D5\u06CC\u06D5. \u0628\u06D5\u0647\u0627\u06CC \u0686\u0627\u0648\u06D5\u0695\u0648\u0627\u0646\u06A9\u0631\u0627\u0648: ${r.options.map(a=>`'${a}'`).join(" | ")}`:"\u06CC\u06D5\u06A9\u06AF\u0631\u062A\u0646\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A";case"invalid_element":return`${r.origin} \u0628\u06D5\u0647\u0627\u06A9\u06D5 \u0646\u0627\u062F\u0631\u0648\u0633\u062A\u06D5`;default:return"\u062A\u06CE\u06A9\u0631\u062F\u06D5\u06CC \u0646\u0627\u062F\u0631\u0648\u0633\u062A"}}};function Dg(){return{localeError:w1()}}var E1=()=>{let e={string:{unit:"znak\u016F",verb:"m\xEDt"},file:{unit:"bajt\u016F",verb:"m\xEDt"},array:{unit:"prvk\u016F",verb:"m\xEDt"},set:{unit:"prvk\u016F",verb:"m\xEDt"},map:{unit:"prvk\u016F",verb:"m\xEDt"}};function t(r){return e[r]??null}let n={regex:"regul\xE1rn\xED v\xFDraz",email:"e-mailov\xE1 adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a \u010Das ve form\xE1tu ISO",date:"datum ve form\xE1tu ISO",time:"\u010Das ve form\xE1tu ISO",duration:"doba trv\xE1n\xED ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",mac:"MAC adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64",base64url:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64url",json_string:"\u0159et\u011Bzec ve form\xE1tu JSON",e164:"\u010D\xEDslo E.164",credit_card:"\u010D\xEDslo kreditn\xED karty",currency_code:"k\xF3d m\u011Bny",iban:"IBAN",jwt:"JWT",template_literal:"vstup"},i={nan:"NaN",number:"\u010D\xEDslo",string:"\u0159et\u011Bzec",function:"funkce",array:"pole"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no instanceof ${r.expected}, obdr\u017Eeno ${c}`:`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${o}, obdr\u017Eeno ${c}`}case"invalid_value":return r.values.length===1?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${G(r.values[0])}`:`Neplatn\xE1 mo\u017Enost: o\u010Dek\xE1v\xE1na jedna z hodnot ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${r.origin??"hodnota"} mus\xED m\xEDt ${o}${r.maximum.toString()} ${a.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${r.origin??"hodnota"} mus\xED b\xFDt ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${r.origin??"hodnota"} mus\xED m\xEDt ${o}${r.minimum.toString()} ${a.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${r.origin??"hodnota"} mus\xED b\xFDt ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED za\u010D\xEDnat na "${o.prefix}"`:o.format==="ends_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED kon\u010Dit na "${o.suffix}"`:o.format==="includes"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED obsahovat "${o.includes}"`:o.format==="regex"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED odpov\xEDdat vzoru ${o.pattern}`:`Neplatn\xFD form\xE1t ${n[o.format]??r.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED b\xFDt n\xE1sobkem ${r.divisor}`;case"unrecognized_keys":return`Nezn\xE1m\xE9 kl\xED\u010De: ${k(r.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xED\u010D v ${r.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${r.origin}`;default:return"Neplatn\xFD vstup"}}};function yg(){return{localeError:E1()}}var O1=()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"},map:{unit:"elementer",verb:"indeholdt"}};function t(r){return e[r]??null}let n={regex:"input",email:"e-mailadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkesl\xE6t",date:"ISO-dato",time:"ISO-klokkesl\xE6t",duration:"ISO-varighed",ipv4:"IPv4-adresse",ipv6:"IPv6-adresse",mac:"MAC-adresse",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",credit_card:"kreditkortnummer",currency_code:"valutakode",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"s\xE6t",file:"fil"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ugyldigt input: forventede instanceof ${r.expected}, fik ${c}`:`Ugyldigt input: forventede ${o}, fik ${c}`}case"invalid_value":return r.values.length===1?`Ugyldig v\xE6rdi: forventede ${G(r.values[0])}`:`Ugyldigt valg: forventede en af f\xF8lgende ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin),c=i[r.origin]??r.origin;return a?`For stor: forventede ${c??"value"} ${a.verb} ${o} ${r.maximum.toString()} ${a.unit??"elementer"}`:`For stor: forventede ${c??"value"} havde ${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin),c=i[r.origin]??r.origin;return a?`For lille: forventede ${c} ${a.verb} ${o} ${r.minimum.toString()} ${a.unit}`:`For lille: forventede ${c} havde ${o} ${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ugyldig streng: skal starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: skal ende med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: skal indeholde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: skal matche m\xF8nsteret ${o.pattern}`:`Ugyldig ${n[o.format]??r.format}`}case"not_multiple_of":return`Ugyldigt tal: skal v\xE6re deleligt med ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ukendte n\xF8gler":"Ukendt n\xF8gle"}: ${k(r.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8gle i ${r.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig v\xE6rdi i ${r.origin}`;default:return"Ugyldigt input"}}};function bg(){return{localeError:O1()}}var T1=()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"},map:{unit:"Elemente",verb:"zu haben"}};function t(r){return e[r]??null}let n={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",mac:"MAC-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",credit_card:"Kreditkartennummer",currency_code:"W\xE4hrungscode",iban:"IBAN",jwt:"JWT",template_literal:"Eingabe"},i={nan:"NaN",number:"Zahl",array:"Array"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ung\xFCltige Eingabe: erwartet instanceof ${r.expected}, erhalten ${c}`:`Ung\xFCltige Eingabe: erwartet ${o}, erhalten ${c}`}case"invalid_value":return r.values.length===1?`Ung\xFCltige Eingabe: erwartet ${G(r.values[0])}`:`Ung\xFCltige Option: erwartet eine von ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Zu gro\xDF: erwartet, dass ${r.origin??"Wert"} ${o}${r.maximum.toString()} ${a.unit??"Elemente"} hat`:`Zu gro\xDF: erwartet, dass ${r.origin??"Wert"} ${o}${r.maximum.toString()} ist`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Zu klein: erwartet, dass ${r.origin} ${o}${r.minimum.toString()} ${a.unit} hat`:`Zu klein: erwartet, dass ${r.origin} ${o}${r.minimum.toString()} ist`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ung\xFCltiger String: muss mit "${o.prefix}" beginnen`:o.format==="ends_with"?`Ung\xFCltiger String: muss mit "${o.suffix}" enden`:o.format==="includes"?`Ung\xFCltiger String: muss "${o.includes}" enthalten`:o.format==="regex"?`Ung\xFCltiger String: muss dem Muster ${o.pattern} entsprechen`:`Ung\xFCltig: ${n[o.format]??r.format}`}case"not_multiple_of":return`Ung\xFCltige Zahl: muss ein Vielfaches von ${r.divisor} sein`;case"unrecognized_keys":return`${r.keys.length>1?"Unbekannte Schl\xFCssel":"Unbekannter Schl\xFCssel"}: ${k(r.keys,", ")}`;case"invalid_key":return`Ung\xFCltiger Schl\xFCssel in ${r.origin}`;case"invalid_union":return"Ung\xFCltige Eingabe";case"invalid_element":return`Ung\xFCltiger Wert in ${r.origin}`;default:return"Ung\xFCltige Eingabe"}}};function Sg(){return{localeError:T1()}}var G1=()=>{let e={string:{unit:"\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},file:{unit:"bytes",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},array:{unit:"\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},set:{unit:"\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"},map:{unit:"\u03BA\u03B1\u03C4\u03B1\u03C7\u03C9\u03C1\u03AE\u03C3\u03B5\u03B9\u03C2",verb:"\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9"}};function t(r){return e[r]??null}let n={regex:"\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2",email:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1 \u03BA\u03B1\u03B9 \u03CE\u03C1\u03B1",date:"ISO \u03B7\u03BC\u03B5\u03C1\u03BF\u03BC\u03B7\u03BD\u03AF\u03B1",time:"ISO \u03CE\u03C1\u03B1",duration:"ISO \u03B4\u03B9\u03AC\u03C1\u03BA\u03B5\u03B9\u03B1",ipv4:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 IPv4",ipv6:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 IPv6",mac:"\u03B4\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 MAC",cidrv4:"\u03B5\u03CD\u03C1\u03BF\u03C2 IPv4",cidrv6:"\u03B5\u03CD\u03C1\u03BF\u03C2 IPv6",base64:"\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC \u03BA\u03C9\u03B4\u03B9\u03BA\u03BF\u03C0\u03BF\u03B9\u03B7\u03BC\u03AD\u03BD\u03B7 \u03C3\u03B5 base64",base64url:"\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC \u03BA\u03C9\u03B4\u03B9\u03BA\u03BF\u03C0\u03BF\u03B9\u03B7\u03BC\u03AD\u03BD\u03B7 \u03C3\u03B5 base64url",json_string:"\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC JSON",e164:"\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 E.164",credit_card:"\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 \u03C0\u03B9\u03C3\u03C4\u03C9\u03C4\u03B9\u03BA\u03AE\u03C2 \u03BA\u03AC\u03C1\u03C4\u03B1\u03C2",currency_code:"\u03BA\u03C9\u03B4\u03B9\u03BA\u03CC\u03C2 \u03BD\u03BF\u03BC\u03AF\u03C3\u03BC\u03B1\u03C4\u03BF\u03C2",iban:"IBAN",jwt:"JWT",template_literal:"\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return typeof r.expected=="string"&&/^[A-Z]/.test(r.expected)?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD instanceof ${r.expected}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${c}`:`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${o}, \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 ${c}`}case"invalid_value":return r.values.length===1?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${G(r.values[0])}`:`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD \u03AD\u03BD\u03B1 \u03B1\u03C0\u03CC ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${r.origin??"\u03C4\u03B9\u03BC\u03AE"} \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 ${o}${r.maximum.toString()} ${a.unit??"\u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1"}`:`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${r.origin??"\u03C4\u03B9\u03BC\u03AE"} \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B9\u03BA\u03C1\u03CC: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${r.origin} \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 ${o}${r.minimum.toString()} ${a.unit}`:`\u03A0\u03BF\u03BB\u03CD \u03BC\u03B9\u03BA\u03C1\u03CC: \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03C4\u03B1\u03BD ${r.origin} \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03BE\u03B5\u03BA\u03B9\u03BD\u03AC \u03BC\u03B5 "${o.prefix}"`:o.format==="ends_with"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B5\u03BB\u03B5\u03B9\u03CE\u03BD\u03B5\u03B9 \u03BC\u03B5 "${o.suffix}"`:o.format==="includes"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C0\u03B5\u03C1\u03B9\u03AD\u03C7\u03B5\u03B9 "${o.includes}"`:o.format==="regex"?`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C4\u03B1\u03B9\u03C1\u03B9\u03AC\u03B6\u03B5\u03B9 \u03BC\u03B5 \u03C4\u03BF \u03BC\u03BF\u03C4\u03AF\u03B2\u03BF ${o.pattern}`:`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF: ${n[o.format]??r.format}`}case"not_multiple_of":return`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF\u03C2 \u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2: \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03BF\u03BB\u03BB\u03B1\u03C0\u03BB\u03AC\u03C3\u03B9\u03BF \u03C4\u03BF\u03C5 ${r.divisor}`;case"unrecognized_keys":return`\u0386\u03B3\u03BD\u03C9\u03C3\u03C4${r.keys.length>1?"\u03B1":"\u03BF"} \u03BA\u03BB\u03B5\u03B9\u03B4${r.keys.length>1?"\u03B9\u03AC":"\u03AF"}: ${k(r.keys,", ")}`;case"invalid_key":return`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03BF \u03BA\u03BB\u03B5\u03B9\u03B4\u03AF \u03C3\u03C4\u03BF ${r.origin}`;case"invalid_union":return"\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2";case"invalid_element":return`\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03C4\u03B9\u03BC\u03AE \u03C3\u03C4\u03BF ${r.origin}`;default:return"\u039C\u03B7 \u03AD\u03B3\u03BA\u03C5\u03C1\u03B7 \u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"}}};function $g(){return{localeError:G1()}}var C1=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"},map:{unit:"entries",verb:"to have"}};function t(o){return e[o]??null}let n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",currency_code:"currency code",credit_card:"credit card number",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};function r(o,a){return o==="number"&&typeof a=="number"&&!Number.isFinite(a)?String(a):i[o]??o}return o=>{switch(o.code){case"invalid_type":{let a=r(o.expected),c=C(o.input),l=r(c,o.input);return`Invalid input: expected ${a}, received ${l}`}case"invalid_value":return o.values.length===1?`Invalid input: expected ${G(o.values[0])}`:`Invalid option: expected one of ${k(o.values,"|")}`;case"too_big":{let a=o.exact?"exactly ":o.inclusive?"<=":"<",c=t(o.origin);return c?`Too big: expected ${o.origin??"value"} to have ${a}${o.maximum.toString()} ${c.unit??"elements"}`:`Too big: expected ${o.origin??"value"} to be ${a}${o.maximum.toString()}`}case"too_small":{let a=o.exact?"exactly ":o.inclusive?">=":">",c=t(o.origin);return c?`Too small: expected ${o.origin} to have ${a}${o.minimum.toString()} ${c.unit}`:`Too small: expected ${o.origin} to be ${a}${o.minimum.toString()}`}case"invalid_format":{let a=o;return a.format==="starts_with"?`Invalid string: must start with "${a.prefix}"`:a.format==="ends_with"?`Invalid string: must end with "${a.suffix}"`:a.format==="includes"?`Invalid string: must include "${a.includes}"`:a.format==="regex"?`Invalid string: must match pattern ${a.pattern}`:`Invalid ${n[a.format]??o.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${o.divisor}`;case"unrecognized_keys":return`Unrecognized key${o.keys.length>1?"s":""}: ${k(o.keys,", ")}`;case"invalid_key":return`Invalid key in ${o.origin}`;case"invalid_union":return o.options&&Array.isArray(o.options)&&o.options.length>0?`Invalid discriminator value. Expected ${o.options.map(c=>`'${c}'`).join(" | ")}`:o.inclusive===!1?"Invalid input: more than one option matched":"Invalid input";case"invalid_element":return`Invalid value in ${o.origin}`;default:return"Invalid input"}}};function ba(){return{localeError:C1()}}var R1=()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"},map:{unit:"elementojn",verb:"havi"}};function t(r){return e[r]??null}let n={regex:"enigo",email:"retadreso",url:"URL",emoji:"emo\u011Dio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-da\u016Dro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",mac:"MAC-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",credit_card:"kreditkarta numero",currency_code:"valuta kodo",iban:"IBAN",jwt:"JWT",template_literal:"enigo"},i={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Nevalida enigo: atendi\u011Dis instanceof ${r.expected}, ricevi\u011Dis ${c}`:`Nevalida enigo: atendi\u011Dis ${o}, ricevi\u011Dis ${c}`}case"invalid_value":return r.values.length===1?`Nevalida enigo: atendi\u011Dis ${G(r.values[0])}`:`Nevalida opcio: atendi\u011Dis unu el ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Tro granda: atendi\u011Dis ke ${r.origin??"valoro"} havu ${o}${r.maximum.toString()} ${a.unit??"elementojn"}`:`Tro granda: atendi\u011Dis ke ${r.origin??"valoro"} havu ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Tro malgranda: atendi\u011Dis ke ${r.origin} havu ${o}${r.minimum.toString()} ${a.unit}`:`Tro malgranda: atendi\u011Dis ke ${r.origin} estu ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Nevalida karaktraro: devas komenci\u011Di per "${o.prefix}"`:o.format==="ends_with"?`Nevalida karaktraro: devas fini\u011Di per "${o.suffix}"`:o.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${o.includes}"`:o.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${o.pattern}`:`Nevalida ${n[o.format]??r.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${r.divisor}`;case"unrecognized_keys":return`Nekonata${r.keys.length>1?"j":""} \u015Dlosilo${r.keys.length>1?"j":""}: ${k(r.keys,", ")}`;case"invalid_key":return`Nevalida \u015Dlosilo en ${r.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${r.origin}`;default:return"Nevalida enigo"}}};function xg(){return{localeError:R1()}}var j1=()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(r){return e[r]??null}let n={regex:"entrada",email:"direcci\xF3n de correo electr\xF3nico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duraci\xF3n ISO",ipv4:"direcci\xF3n IPv4",ipv6:"direcci\xF3n IPv6",mac:"direcci\xF3n MAC",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xFAmero E.164",credit_card:"n\xFAmero de tarjeta de cr\xE9dito",currency_code:"c\xF3digo de moneda",iban:"IBAN",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN",string:"texto",number:"n\xFAmero",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"n\xFAmero grande",symbol:"s\xEDmbolo",undefined:"indefinido",null:"nulo",function:"funci\xF3n",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeraci\xF3n",union:"uni\xF3n",literal:"literal",promise:"promesa",void:"vac\xEDo",never:"nunca",unknown:"desconocido",any:"cualquiera"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Entrada inv\xE1lida: se esperaba instanceof ${r.expected}, recibido ${c}`:`Entrada inv\xE1lida: se esperaba ${o}, recibido ${c}`}case"invalid_value":return r.values.length===1?`Entrada inv\xE1lida: se esperaba ${G(r.values[0])}`:`Opci\xF3n inv\xE1lida: se esperaba una de ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin),c=i[r.origin]??r.origin;return a?`Demasiado grande: se esperaba que ${c??"valor"} tuviera ${o}${r.maximum.toString()} ${a.unit??"elementos"}`:`Demasiado grande: se esperaba que ${c??"valor"} fuera ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin),c=i[r.origin]??r.origin;return a?`Demasiado peque\xF1o: se esperaba que ${c} tuviera ${o}${r.minimum.toString()} ${a.unit}`:`Demasiado peque\xF1o: se esperaba que ${c} fuera ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Cadena inv\xE1lida: debe comenzar con "${o.prefix}"`:o.format==="ends_with"?`Cadena inv\xE1lida: debe terminar en "${o.suffix}"`:o.format==="includes"?`Cadena inv\xE1lida: debe incluir "${o.includes}"`:o.format==="regex"?`Cadena inv\xE1lida: debe coincidir con el patr\xF3n ${o.pattern}`:`Inv\xE1lido ${n[o.format]??r.format}`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: debe ser m\xFAltiplo de ${r.divisor}`;case"unrecognized_keys":return`Llave${r.keys.length>1?"s":""} desconocida${r.keys.length>1?"s":""}: ${k(r.keys,", ")}`;case"invalid_key":return`Llave inv\xE1lida en ${i[r.origin]??r.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido en ${i[r.origin]??r.origin}`;default:return"Entrada inv\xE1lida"}}};function Ig(){return{localeError:j1()}}var N1=()=>{let e={string:{unit:"\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},array:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},set:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},map:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"}};function t(r){return e[r]??null}let n={regex:"\u0648\u0631\u0648\u062F\u06CC",email:"\u0622\u062F\u0631\u0633 \u0627\u06CC\u0645\u06CC\u0644",url:"URL",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u06CC\u062E \u0648 \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",date:"\u062A\u0627\u0631\u06CC\u062E \u0627\u06CC\u0632\u0648",time:"\u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",duration:"\u0645\u062F\u062A \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",ipv4:"IPv4 \u0622\u062F\u0631\u0633",ipv6:"IPv6 \u0622\u062F\u0631\u0633",mac:"MAC \u0622\u062F\u0631\u0633",cidrv4:"IPv4 \u062F\u0627\u0645\u0646\u0647",cidrv6:"IPv6 \u062F\u0627\u0645\u0646\u0647",base64:"base64-encoded \u0631\u0634\u062A\u0647",base64url:"base64url-encoded \u0631\u0634\u062A\u0647",json_string:"JSON \u0631\u0634\u062A\u0647",e164:"E.164 \u0639\u062F\u062F",credit_card:"\u0634\u0645\u0627\u0631\u0647 \u06A9\u0627\u0631\u062A \u0627\u0639\u062A\u0628\u0627\u0631\u06CC",currency_code:"\u06A9\u062F \u0627\u0631\u0632",iban:"IBAN",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u06CC"},i={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0622\u0631\u0627\u06CC\u0647"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A instanceof ${r.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${c} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`:`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${o} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${c} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`}case"invalid_value":return r.values.length===1?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${G(r.values[0])} \u0645\u06CC\u200C\u0628\u0648\u062F`:`\u06AF\u0632\u06CC\u0646\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A \u06CC\u06A9\u06CC \u0627\u0632 ${k(r.values,"|")} \u0645\u06CC\u200C\u0628\u0648\u062F`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${r.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${o}${r.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631"} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${r.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${o}${r.maximum.toString()} \u0628\u0627\u0634\u062F`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${r.origin} \u0628\u0627\u06CC\u062F ${o}${r.minimum.toString()} ${a.unit} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${r.origin} \u0628\u0627\u06CC\u062F ${o}${r.minimum.toString()} \u0628\u0627\u0634\u062F`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${o.prefix}" \u0634\u0631\u0648\u0639 \u0634\u0648\u062F`:o.format==="ends_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${o.suffix}" \u062A\u0645\u0627\u0645 \u0634\u0648\u062F`:o.format==="includes"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0634\u0627\u0645\u0644 "${o.includes}" \u0628\u0627\u0634\u062F`:o.format==="regex"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 \u0627\u0644\u06AF\u0648\u06CC ${o.pattern} \u0645\u0637\u0627\u0628\u0642\u062A \u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F`:`${n[o.format]??r.format} \u0646\u0627\u0645\u0639\u062A\u0628\u0631`}case"not_multiple_of":return`\u0639\u062F\u062F \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0645\u0636\u0631\u0628 ${r.divisor} \u0628\u0627\u0634\u062F`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u062F${r.keys.length>1?"\u0647\u0627\u06CC":""} \u0646\u0627\u0634\u0646\u0627\u0633: ${k(r.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u062F \u0646\u0627\u0634\u0646\u0627\u0633 \u062F\u0631 ${r.origin}`;case"invalid_union":return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631";case"invalid_element":return`\u0645\u0642\u062F\u0627\u0631 \u0646\u0627\u0645\u0639\u062A\u0628\u0631 \u062F\u0631 ${r.origin}`;default:return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631"}}};function kg(){return{localeError:N1()}}var z1=()=>{let e={string:{unit:"merkki\xE4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},map:{unit:"alkiota",subject:"kuvauksen"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xE4iv\xE4m\xE4\xE4r\xE4n"}};function t(r){return e[r]??null}let n={regex:"s\xE4\xE4nn\xF6llinen lauseke",email:"s\xE4hk\xF6postiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-p\xE4iv\xE4m\xE4\xE4r\xE4",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",mac:"MAC-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",credit_card:"luottokortin numero",currency_code:"valuuttakoodi",iban:"IBAN",jwt:"JWT",template_literal:"templaattimerkkijono"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Virheellinen tyyppi: odotettiin instanceof ${r.expected}, oli ${c}`:`Virheellinen tyyppi: odotettiin ${o}, oli ${c}`}case"invalid_value":return r.values.length===1?`Virheellinen sy\xF6te: t\xE4ytyy olla ${G(r.values[0])}`:`Virheellinen valinta: t\xE4ytyy olla yksi seuraavista: ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Liian suuri: ${a.subject} t\xE4ytyy olla ${o}${r.maximum.toString()} ${a.unit}`.trim():`Liian suuri: arvon t\xE4ytyy olla ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Liian pieni: ${a.subject} t\xE4ytyy olla ${o}${r.minimum.toString()} ${a.unit}`.trim():`Liian pieni: arvon t\xE4ytyy olla ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Virheellinen sy\xF6te: t\xE4ytyy alkaa "${o.prefix}"`:o.format==="ends_with"?`Virheellinen sy\xF6te: t\xE4ytyy loppua "${o.suffix}"`:o.format==="includes"?`Virheellinen sy\xF6te: t\xE4ytyy sis\xE4lt\xE4\xE4 "${o.includes}"`:o.format==="regex"?`Virheellinen sy\xF6te: t\xE4ytyy vastata s\xE4\xE4nn\xF6llist\xE4 lauseketta ${o.pattern}`:`Virheellinen ${n[o.format]??r.format}`}case"not_multiple_of":return`Virheellinen luku: t\xE4ytyy olla luvun ${r.divisor} monikerta`;case"unrecognized_keys":return`${r.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${k(r.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen sy\xF6te"}}};function Ag(){return{localeError:z1()}}var L1=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(r){return e[r]??null}let n={regex:"expression r\xE9guli\xE8re",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",mac:"adresse MAC",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne de caract\xE8res encod\xE9e en base64",base64url:"cha\xEEne de caract\xE8res encod\xE9e en base64url",json_string:"cha\xEEne de caract\xE8res JSON",e164:"num\xE9ro au format E.164",credit_card:"num\xE9ro de carte de cr\xE9dit",currency_code:"code de devise",iban:"IBAN",jwt:"JWT",template_literal:"entr\xE9e"},i={string:"cha\xEEne de caract\xE8res",number:"nombre",int:"entier",boolean:"bool\xE9en",bigint:"grand entier",symbol:"symbole",undefined:"ind\xE9fini",null:"null",never:"jamais",void:"vide",date:"date",array:"tableau",object:"objet",tuple:"tuple",record:"record",map:"map",set:"ensemble",file:"fichier",nonoptional:"non optionnel",nan:"NaN",function:"fonction"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Entr\xE9e invalide : instance de ${r.expected} attendu, ${c} re\xE7u`:`Entr\xE9e invalide : ${o} attendu, ${c} re\xE7u`}case"invalid_value":return r.values.length===1?`Entr\xE9e invalide : ${G(r.values[0])} attendu`:`Option invalide : une valeur parmi ${k(r.values,"|")} attendue`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Trop grand : ${i[r.origin]??"valeur"} doit ${a.verb} ${o}${r.maximum.toString()} ${a.unit??"\xE9l\xE9ment(s)"}`:`Trop grand : ${i[r.origin]??"valeur"} doit \xEAtre ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Trop petit : ${i[r.origin]??"valeur"} doit ${a.verb} ${o}${r.minimum.toString()} ${a.unit}`:`Trop petit : ${i[r.origin]??"valeur"} doit \xEAtre ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Cha\xEEne de caract\xE8res invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Cha\xEEne de caract\xE8res invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Cha\xEEne de caract\xE8res invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Cha\xEEne de caract\xE8res invalide : doit correspondre au motif ${o.pattern}`:`${n[o.format]??r.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xE9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${k(r.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${r.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`;default:return"Entr\xE9e invalide"}}};function wg(){return{localeError:L1()}}var M1=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"},map:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(r){return e[r]??null}let n={regex:"entr\xE9e",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",mac:"adresse MAC",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",credit_card:"num\xE9ro de carte de cr\xE9dit",currency_code:"code de devise",iban:"IBAN",jwt:"JWT",template_literal:"entr\xE9e"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Entr\xE9e invalide : attendu instanceof ${r.expected}, re\xE7u ${c}`:`Entr\xE9e invalide : attendu ${o}, re\xE7u ${c}`}case"invalid_value":return r.values.length===1?`Entr\xE9e invalide : attendu ${G(r.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"\u2264":"<",a=t(r.origin);return a?`Trop grand : attendu que ${r.origin??"la valeur"} ait ${o}${r.maximum.toString()} ${a.unit}`:`Trop grand : attendu que ${r.origin??"la valeur"} soit ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?"\u2265":">",a=t(r.origin);return a?`Trop petit : attendu que ${r.origin} ait ${o}${r.minimum.toString()} ${a.unit}`:`Trop petit : attendu que ${r.origin} soit ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Cha\xEEne invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Cha\xEEne invalide : doit correspondre au motif ${o.pattern}`:`${n[o.format]??r.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${r.divisor}`;case"unrecognized_keys":return`Cl\xE9${r.keys.length>1?"s":""} non reconnue${r.keys.length>1?"s":""} : ${k(r.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${r.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${r.origin}`;default:return"Entr\xE9e invalide"}}};function Eg(){return{localeError:M1()}}var U1=()=>{let e={string:{unit:"\u0A85\u0A95\u0ACD\u0AB7\u0AB0",verb:"\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F"},file:{unit:"\u0AAC\u0ABE\u0AAF\u0A9F",verb:"\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F"},array:{unit:"\u0A86\u0A87\u0A9F\u0AAE",verb:"\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F"},set:{unit:"\u0A86\u0A87\u0A9F\u0AAE",verb:"\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F"},map:{unit:"\u0A8F\u0AA8\u0ACD\u0A9F\u0ACD\u0AB0\u0AC0",verb:"\u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F"}};function t(r){return e[r]??null}let n={regex:"\u0A87\u0AA8\u0AAA\u0AC1\u0A9F",email:"\u0A88\u0AAE\u0AC7\u0A87\u0AB2 \u0A8F\u0AA1\u0ACD\u0AB0\u0AC7\u0AB8",url:"URL",emoji:"\u0A87\u0AAE\u0ACB\u0A9C\u0AC0",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0AA4\u0ABE\u0AB0\u0AC0\u0A96 \u0A85\u0AA8\u0AC7 \u0AB8\u0AAE\u0AAF",date:"ISO \u0AA4\u0ABE\u0AB0\u0AC0\u0A96",time:"ISO \u0AB8\u0AAE\u0AAF",duration:"ISO \u0A85\u0AB5\u0AA7\u0ABF",ipv4:"IPv4 \u0A8F\u0AA1\u0ACD\u0AB0\u0AC7\u0AB8",ipv6:"IPv6 \u0A8F\u0AA1\u0ACD\u0AB0\u0AC7\u0AB8",mac:"MAC \u0A8F\u0AA1\u0ACD\u0AB0\u0AC7\u0AB8",cidrv4:"IPv4 \u0AB6\u0ACD\u0AB0\u0AC7\u0AA3\u0AC0",cidrv6:"IPv6 \u0AB6\u0ACD\u0AB0\u0AC7\u0AA3\u0AC0",base64:"base64-\u0A8F\u0AA8\u0ACD\u0A95\u0ACB\u0AA1\u0AC7\u0AA1 \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97",base64url:"base64url-\u0A8F\u0AA8\u0ACD\u0A95\u0ACB\u0AA1\u0AC7\u0AA1 \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97",json_string:"JSON \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97",e164:"E.164 \u0AA8\u0A82\u0AAC\u0AB0",credit_card:"\u0A95\u0ACD\u0AB0\u0AC7\u0AA1\u0ABF\u0A9F \u0A95\u0ABE\u0AB0\u0ACD\u0AA1 \u0AA8\u0A82\u0AAC\u0AB0",currency_code:"\u0A9A\u0AB2\u0AA3 \u0A95\u0ACB\u0AA1",iban:"IBAN",jwt:"JWT",template_literal:"\u0A87\u0AA8\u0AAA\u0AC1\u0A9F"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0A87\u0AA8\u0AAA\u0AC1\u0A9F: \u0A85\u0AAA\u0AC7\u0A95\u0ACD\u0AB7\u0ABF\u0AA4 ${o}, \u0AAA\u0ACD\u0AB0\u0ABE\u0AAA\u0ACD\u0AA4 ${c}`}case"invalid_value":return r.values.length===1?`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0A87\u0AA8\u0AAA\u0AC1\u0A9F: \u0A85\u0AAA\u0AC7\u0A95\u0ACD\u0AB7\u0ABF\u0AA4 ${G(r.values[0])}`:`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0AB5\u0ABF\u0A95\u0AB2\u0ACD\u0AAA: ${k(r.values," | ")} \u0AAE\u0ABE\u0AA7\u0ACD\u0AAF\u0AAE\u0AA5\u0AC0 \u0A8F\u0A95 \u0A85\u0AAA\u0AC7\u0A95\u0ACD\u0AB7\u0ABF\u0AA4`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0A96\u0AC2\u0AAC \u0AAE\u0ACB\u0A9F\u0AC1\u0A82: ${r.origin??"\u0AAE\u0AC2\u0AB2\u0ACD\u0AAF"} ${o}${r.maximum.toString()} ${a.unit??"\u0A8F\u0AB2\u0ABF\u0AAE\u0AC7\u0AA8\u0ACD\u0A9F"} \u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F`:`\u0A96\u0AC2\u0AAC \u0AAE\u0ACB\u0A9F\u0AC1\u0A82: ${r.origin??"\u0AAE\u0AC2\u0AB2\u0ACD\u0AAF"} ${o}${r.maximum.toString()} \u0AB9\u0ACB\u0AB5\u0AC1\u0A82 \u0A9C\u0ACB\u0A88\u0A8F`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u0A96\u0AC2\u0AAC \u0AA8\u0ABE\u0AA8\u0AC1\u0A82: ${r.origin} ${o}${r.minimum.toString()} ${a.unit} \u0AB9\u0ACB\u0AB5\u0ABE \u0A9C\u0ACB\u0A88\u0A8F`:`\u0A96\u0AC2\u0AAC \u0AA8\u0ABE\u0AA8\u0AC1\u0A82: ${r.origin} ${o}${r.minimum.toString()} \u0AB9\u0ACB\u0AB5\u0AC1\u0A82 \u0A9C\u0ACB\u0A88\u0A8F`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97: "${o.prefix}" \u0AA5\u0AC0 \u0AB6\u0AB0\u0AC2 \u0AA5\u0AB5\u0AC1\u0A82 \u0A9C\u0ACB\u0A88\u0A8F`:o.format==="ends_with"?`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97: "${o.suffix}" \u0AAA\u0AB0 \u0AB8\u0AAE\u0ABE\u0AAA\u0ACD\u0AA4 \u0AA5\u0AB5\u0AC1\u0A82 \u0A9C\u0ACB\u0A88\u0A8F`:o.format==="includes"?`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97: "${o.includes}" \u0AB6\u0ABE\u0AAE\u0AC7\u0AB2 \u0AB9\u0ACB\u0AB5\u0AC1\u0A82 \u0A9C\u0ACB\u0A88\u0A8F`:o.format==="regex"?`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97: \u0AAA\u0AC7\u0A9F\u0AB0\u0ACD\u0AA8 ${o.pattern} \u0AB8\u0ABE\u0AA5\u0AC7 \u0AAE\u0AC7\u0AB3 \u0A96\u0ABE\u0AB5\u0AC1\u0A82 \u0A9C\u0ACB\u0A88\u0A8F`:`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF ${n[o.format]??r.format}`}case"not_multiple_of":return`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0AA8\u0A82\u0AAC\u0AB0: ${r.divisor} \u0AA8\u0ACB \u0A97\u0AC1\u0AA3\u0ABE\u0A82\u0A95 \u0AB9\u0ACB\u0AB5\u0ACB \u0A9C\u0ACB\u0A88\u0A8F`;case"unrecognized_keys":return`\u0A93\u0AB3\u0A96\u0AC0 \u0AB6\u0A95\u0ABE\u0AA4\u0ABE \u0AA8\u0AB9\u0AC0\u0A82 \u0AA4\u0AC7 \u0A95\u0AC0${r.keys.length>1?"\u0A93":""}: ${k(r.keys,", ")}`;case"invalid_key":return`${r.origin} \u0AAE\u0ABE\u0A82 \u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0A95\u0AC0`;case"invalid_union":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0AA1\u0ABF\u0AB8\u0ACD\u0A95\u0ACD\u0AB0\u0ABF\u0AAE\u0ABF\u0AA8\u0AC7\u0A9F\u0AB0 \u0AAE\u0AC2\u0AB2\u0ACD\u0AAF. \u0A85\u0AAA\u0AC7\u0A95\u0ACD\u0AB7\u0ABF\u0AA4 ${r.options.map(a=>`'${a}'`).join(" | ")}`:"\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0A87\u0AA8\u0AAA\u0AC1\u0A9F";case"invalid_element":return`${r.origin} \u0AAE\u0ABE\u0A82 \u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0AAE\u0AC2\u0AB2\u0ACD\u0AAF`;default:return"\u0A85\u0AAE\u0ABE\u0AA8\u0ACD\u0AAF \u0A87\u0AA8\u0AAA\u0AC1\u0A9F"}}};function Og(){return{localeError:U1()}}var B1=()=>{let e={string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA",gender:"f"},number:{label:"\u05DE\u05E1\u05E4\u05E8",gender:"m"},boolean:{label:"\u05E2\u05E8\u05DA \u05D1\u05D5\u05DC\u05D9\u05D0\u05E0\u05D9",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA",gender:"m"},array:{label:"\u05DE\u05E2\u05E8\u05DA",gender:"m"},object:{label:"\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8",gender:"m"},null:{label:"\u05E2\u05E8\u05DA \u05E8\u05D9\u05E7 (null)",gender:"m"},undefined:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05DE\u05D5\u05D2\u05D3\u05E8 (undefined)",gender:"m"},symbol:{label:"\u05E1\u05D9\u05DE\u05D1\u05D5\u05DC (Symbol)",gender:"m"},function:{label:"\u05E4\u05D5\u05E0\u05E7\u05E6\u05D9\u05D4",gender:"f"},map:{label:"\u05DE\u05E4\u05D4 (Map)",gender:"f"},set:{label:"\u05E7\u05D1\u05D5\u05E6\u05D4 (Set)",gender:"f"},file:{label:"\u05E7\u05D5\u05D1\u05E5",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"\u05E2\u05E8\u05DA \u05DC\u05D0 \u05D9\u05D3\u05D5\u05E2",gender:"m"},value:{label:"\u05E2\u05E8\u05DA",gender:"m"}},t={string:{unit:"\u05EA\u05D5\u05D5\u05D9\u05DD",shortLabel:"\u05E7\u05E6\u05E8",longLabel:"\u05D0\u05E8\u05D5\u05DA"},file:{unit:"\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},array:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},set:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"},number:{unit:"",shortLabel:"\u05E7\u05D8\u05DF",longLabel:"\u05D2\u05D3\u05D5\u05DC"}},n=f=>f?e[f]:void 0,i=f=>{let g=n(f);return g?g.label:f??e.unknown.label},r=f=>`\u05D4${i(f)}`,o=f=>(n(f)?.gender??"m")==="f"?"\u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05D9\u05D5\u05EA":"\u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA",a=f=>f?t[f]??null:null,c={regex:{label:"\u05E7\u05DC\u05D8",gender:"m"},email:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC",gender:"f"},url:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05E8\u05E9\u05EA",gender:"f"},emoji:{label:"\u05D0\u05D9\u05DE\u05D5\u05D2'\u05D9",gender:"m"},uuid:{label:"UUID",gender:"m"},uuidv4:{label:"UUIDv4",gender:"m"},uuidv6:{label:"UUIDv6",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D5\u05D6\u05DE\u05DF ISO",gender:"m"},date:{label:"\u05EA\u05D0\u05E8\u05D9\u05DA ISO",gender:"m"},time:{label:"\u05D6\u05DE\u05DF ISO",gender:"m"},duration:{label:"\u05DE\u05E9\u05DA \u05D6\u05DE\u05DF ISO",gender:"m"},ipv4:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv4",gender:"f"},ipv6:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv6",gender:"f"},mac:{label:"\u05DB\u05EA\u05D5\u05D1\u05EA MAC",gender:"f"},cidrv4:{label:"\u05D8\u05D5\u05D5\u05D7 IPv4",gender:"m"},cidrv6:{label:"\u05D8\u05D5\u05D5\u05D7 IPv6",gender:"m"},base64:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64",gender:"f"},base64url:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64 \u05DC\u05DB\u05EA\u05D5\u05D1\u05D5\u05EA \u05E8\u05E9\u05EA",gender:"f"},json_string:{label:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON",gender:"f"},e164:{label:"\u05DE\u05E1\u05E4\u05E8 E.164",gender:"m"},credit_card:{label:"\u05DE\u05E1\u05E4\u05E8 \u05DB\u05E8\u05D8\u05D9\u05E1 \u05D0\u05E9\u05E8\u05D0\u05D9",gender:"m"},currency_code:{label:"\u05E7\u05D5\u05D3 \u05DE\u05D8\u05D1\u05E2",gender:"m"},iban:{label:"IBAN",gender:"m"},jwt:{label:"JWT",gender:"m"},template_literal:{label:"\u05E7\u05DC\u05D8",gender:"m"},ends_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},includes:{label:"\u05E7\u05DC\u05D8",gender:"m"},lowercase:{label:"\u05E7\u05DC\u05D8",gender:"m"},starts_with:{label:"\u05E7\u05DC\u05D8",gender:"m"},uppercase:{label:"\u05E7\u05DC\u05D8",gender:"m"}},l={nan:"NaN"};return f=>{switch(f.code){case"invalid_type":{let g=f.expected,D=l[g??""]??i(g),b=C(f.input),y=l[b]??e[b]?.label??b;return/^[A-Z]/.test(f.expected)?`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA instanceof ${f.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${y}`:`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${D}, \u05D4\u05EA\u05E7\u05D1\u05DC ${y}`}case"invalid_value":{if(f.values.length===1)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05E2\u05E8\u05DA \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA ${G(f.values[0])}`;let g=f.values.map(y=>G(y));if(f.values.length===2)return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${g[0]} \u05D0\u05D5 ${g[1]}`;let D=g[g.length-1];return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA \u05D4\u05DE\u05EA\u05D0\u05D9\u05DE\u05D5\u05EA \u05D4\u05DF ${g.slice(0,-1).join(", ")} \u05D0\u05D5 ${D}`}case"too_big":{let g=a(f.origin),D=r(f.origin??"value");if(f.origin==="string")return`${g?.longLabel??"\u05D0\u05E8\u05D5\u05DA"} \u05DE\u05D3\u05D9: ${D} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${f.maximum.toString()} ${g?.unit??""} ${f.inclusive?"\u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA":"\u05DC\u05DB\u05DC \u05D4\u05D9\u05D5\u05EA\u05E8"}`.trim();if(f.origin==="number"){let $=f.inclusive?`\u05E7\u05D8\u05DF \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${f.maximum}`:`\u05E7\u05D8\u05DF \u05DE-${f.maximum}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${D} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${$}`}if(f.origin==="array"||f.origin==="set"){let $=f.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA",E=f.inclusive?`${f.maximum} ${g?.unit??""} \u05D0\u05D5 \u05E4\u05D7\u05D5\u05EA`:`\u05E4\u05D7\u05D5\u05EA \u05DE-${f.maximum} ${g?.unit??""}`;return`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${D} ${$} \u05DC\u05D4\u05DB\u05D9\u05DC ${E}`.trim()}let b=f.inclusive?"<=":"<",y=o(f.origin??"value");return g?.unit?`${g.longLabel} \u05DE\u05D3\u05D9: ${D} ${y} ${b}${f.maximum.toString()} ${g.unit}`:`${g?.longLabel??"\u05D2\u05D3\u05D5\u05DC"} \u05DE\u05D3\u05D9: ${D} ${y} ${b}${f.maximum.toString()}`}case"too_small":{let g=a(f.origin),D=r(f.origin??"value");if(f.origin==="string")return`${g?.shortLabel??"\u05E7\u05E6\u05E8"} \u05DE\u05D3\u05D9: ${D} \u05E6\u05E8\u05D9\u05DB\u05D4 \u05DC\u05D4\u05DB\u05D9\u05DC ${f.minimum.toString()} ${g?.unit??""} ${f.inclusive?"\u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8":"\u05DC\u05E4\u05D7\u05D5\u05EA"}`.trim();if(f.origin==="number"){let $=f.inclusive?`\u05D2\u05D3\u05D5\u05DC \u05D0\u05D5 \u05E9\u05D5\u05D5\u05D4 \u05DC-${f.minimum}`:`\u05D2\u05D3\u05D5\u05DC \u05DE-${f.minimum}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${D} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${$}`}if(f.origin==="array"||f.origin==="set"){let $=f.origin==="set"?"\u05E6\u05E8\u05D9\u05DB\u05D4":"\u05E6\u05E8\u05D9\u05DA";if(f.minimum===1&&f.inclusive){let j=(f.origin==="set","\u05DC\u05E4\u05D7\u05D5\u05EA \u05E4\u05E8\u05D9\u05D8 \u05D0\u05D7\u05D3");return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${D} ${$} \u05DC\u05D4\u05DB\u05D9\u05DC ${j}`}let E=f.inclusive?`${f.minimum} ${g?.unit??""} \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8`:`\u05D9\u05D5\u05EA\u05E8 \u05DE-${f.minimum} ${g?.unit??""}`;return`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${D} ${$} \u05DC\u05D4\u05DB\u05D9\u05DC ${E}`.trim()}let b=f.inclusive?">=":">",y=o(f.origin??"value");return g?.unit?`${g.shortLabel} \u05DE\u05D3\u05D9: ${D} ${y} ${b}${f.minimum.toString()} ${g.unit}`:`${g?.shortLabel??"\u05E7\u05D8\u05DF"} \u05DE\u05D3\u05D9: ${D} ${y} ${b}${f.minimum.toString()}`}case"invalid_format":{let g=f;if(g.format==="starts_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1 "${g.prefix}"`;if(g.format==="ends_with")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05E1\u05EA\u05D9\u05D9\u05DD \u05D1 "${g.suffix}"`;if(g.format==="includes")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05DB\u05DC\u05D5\u05DC "${g.includes}"`;if(g.format==="regex")return`\u05D4\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05EA\u05D1\u05E0\u05D9\u05EA ${g.pattern}`;let D=c[g.format],b=D?.label??g.format,$=(D?.gender??"m")==="f"?"\u05EA\u05E7\u05D9\u05E0\u05D4":"\u05EA\u05E7\u05D9\u05DF";return`${b} \u05DC\u05D0 ${$}`}case"not_multiple_of":return`\u05DE\u05E1\u05E4\u05E8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DE\u05DB\u05E4\u05DC\u05D4 \u05E9\u05DC ${f.divisor}`;case"unrecognized_keys":return`\u05DE\u05E4\u05EA\u05D7${f.keys.length>1?"\u05D5\u05EA":""} \u05DC\u05D0 \u05DE\u05D6\u05D5\u05D4${f.keys.length>1?"\u05D9\u05DD":"\u05D4"}: ${k(f.keys,", ")}`;case"invalid_key":return"\u05E9\u05D3\u05D4 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1\u05D0\u05D5\u05D1\u05D9\u05D9\u05E7\u05D8";case"invalid_union":return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF";case"invalid_element":return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${r(f.origin??"array")}`;default:return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF"}}};function Tg(){return{localeError:B1()}}var W1=()=>{let e={string:{unit:"\u0905\u0915\u094D\u0937\u0930",verb:"\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F"},file:{unit:"\u092C\u093E\u0907\u091F\u094D\u0938",verb:"\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F"},array:{unit:"\u0924\u0924\u094D\u0935",verb:"\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F"},set:{unit:"\u0924\u0924\u094D\u0935",verb:"\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F"},map:{unit:"\u092A\u094D\u0930\u0935\u093F\u0937\u094D\u091F\u093F\u092F\u093E\u0901",verb:"\u0930\u0916\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F"}};function t(r){return e[r]??null}let n={regex:"\u0907\u0928\u092A\u0941\u091F",email:"\u0908\u092E\u0947\u0932 \u092A\u0924\u093E",url:"URL",emoji:"\u0907\u092E\u094B\u091C\u0940",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0924\u093F\u0925\u093F \u0914\u0930 \u0938\u092E\u092F",date:"ISO \u0924\u093F\u0925\u093F",time:"ISO \u0938\u092E\u092F",duration:"ISO \u0905\u0935\u0927\u093F",ipv4:"IPv4 \u092A\u0924\u093E",ipv6:"IPv6 \u092A\u0924\u093E",mac:"MAC \u092A\u0924\u093E",cidrv4:"IPv4 \u0936\u094D\u0930\u0947\u0923\u0940",cidrv6:"IPv6 \u0936\u094D\u0930\u0947\u0923\u0940",base64:"Base64-\u090F\u0928\u094D\u0915\u094B\u0921\u0947\u0921 \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917",base64url:"Base64URL-\u090F\u0928\u094D\u0915\u094B\u0921\u0947\u0921 \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917",json_string:"JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917",e164:"E.164 \u0938\u0902\u0916\u094D\u092F\u093E",credit_card:"\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0938\u0902\u0916\u094D\u092F\u093E",currency_code:"\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",iban:"IBAN",jwt:"JWT",template_literal:"\u0907\u0928\u092A\u0941\u091F"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return`\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 ${o}, \u092A\u094D\u0930\u093E\u092A\u094D\u0924 ${c}`}case"invalid_value":return r.values.length===1?`\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 ${G(r.values[0])}`:`\u0905\u092E\u093E\u0928\u094D\u092F \u0935\u093F\u0915\u0932\u094D\u092A: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 \u092E\u093E\u0928\u094B\u0902 \u092E\u0947\u0902 \u0938\u0947 \u090F\u0915 ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u092C\u0939\u0941\u0924 \u092C\u0921\u093C\u093E: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 \u0925\u093E \u0915\u093F ${r.origin??"\u092E\u093E\u0928"} \u092E\u0947\u0902 ${o}${r.maximum} ${a.unit} \u0939\u094B\u0902`:`\u092C\u0939\u0941\u0924 \u092C\u0921\u093C\u093E: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 \u0925\u093E \u0915\u093F ${r.origin??"\u092E\u093E\u0928"} ${o}${r.maximum} \u0939\u094B`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u092C\u0939\u0941\u0924 \u091B\u094B\u091F\u093E: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 \u0925\u093E \u0915\u093F ${r.origin} \u092E\u0947\u0902 ${o}${r.minimum} ${a.unit} \u0939\u094B\u0902`:`\u092C\u0939\u0941\u0924 \u091B\u094B\u091F\u093E: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 \u0925\u093E \u0915\u093F ${r.origin} ${o}${r.minimum} \u0939\u094B`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917: "${o.prefix}" \u0938\u0947 \u0936\u0941\u0930\u0942 \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F`:o.format==="ends_with"?`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917: "${o.suffix}" \u092A\u0930 \u0938\u092E\u093E\u092A\u094D\u0924 \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F`:o.format==="includes"?`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917: \u0907\u0938\u092E\u0947\u0902 "${o.includes}" \u0936\u093E\u092E\u093F\u0932 \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F`:o.format==="regex"?`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917: \u092A\u0948\u091F\u0930\u094D\u0928 ${o.pattern} \u0938\u0947 \u092E\u0947\u0932 \u0916\u093E\u0928\u093E \u091A\u093E\u0939\u093F\u090F`:`\u0905\u092E\u093E\u0928\u094D\u092F ${n[o.format]??r.format}`}case"not_multiple_of":return`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u0902\u0916\u094D\u092F\u093E: \u092F\u0939 ${r.divisor} \u0915\u093E \u0917\u0941\u0923\u091C \u0939\u094B\u0928\u093E \u091A\u093E\u0939\u093F\u090F`;case"unrecognized_keys":return`\u0905\u092A\u0930\u093F\u091A\u093F\u0924 \u0915\u0941\u0902\u091C\u0940${r.keys.length>1?"\u092F\u093E\u0901":""}: ${k(r.keys,", ")}`;case"invalid_key":return`\u0905\u092E\u093E\u0928\u094D\u092F \u0915\u0941\u0902\u091C\u0940: ${r.origin} \u092E\u0947\u0902`;case"invalid_union":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\u0905\u092E\u093E\u0928\u094D\u092F \u0921\u093F\u0938\u094D\u0915\u094D\u0930\u093F\u092E\u093F\u0928\u0947\u091F\u0930 \u092E\u093E\u0928: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 ${r.options.map(a=>`'${a}'`).join(" | ")}`:"\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F";case"invalid_element":return`\u0905\u092E\u093E\u0928\u094D\u092F \u092E\u093E\u0928: ${r.origin} \u092E\u0947\u0902`;default:return"\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F"}}};function Gg(){return{localeError:W1()}}var V1=()=>{let e={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function t(r){return e[r]??null}let n={regex:"unos",email:"email adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum i vrijeme",date:"ISO datum",time:"ISO vrijeme",duration:"ISO trajanje",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",mac:"MAC adresa",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",credit_card:"broj kreditne kartice",currency_code:"kod valute",iban:"IBAN",jwt:"JWT",template_literal:"unos"},i={nan:"NaN",string:"tekst",number:"broj",boolean:"boolean",array:"niz",object:"objekt",set:"skup",file:"datoteka",date:"datum",bigint:"bigint",symbol:"simbol",undefined:"undefined",null:"null",function:"funkcija",map:"mapa"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Neispravan unos: o\u010Dekuje se instanceof ${r.expected}, a primljeno je ${c}`:`Neispravan unos: o\u010Dekuje se ${o}, a primljeno je ${c}`}case"invalid_value":return r.values.length===1?`Neispravna vrijednost: o\u010Dekivano ${G(r.values[0])}`:`Neispravna opcija: o\u010Dekivano jedno od ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin),c=i[r.origin]??r.origin;return a?`Preveliko: o\u010Dekivano da ${c??"vrijednost"} ima ${o}${r.maximum.toString()} ${a.unit??"elemenata"}`:`Preveliko: o\u010Dekivano da ${c??"vrijednost"} bude ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin),c=i[r.origin]??r.origin;return a?`Premalo: o\u010Dekivano da ${c} ima ${o}${r.minimum.toString()} ${a.unit}`:`Premalo: o\u010Dekivano da ${c} bude ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Neispravan tekst: mora zapo\u010Dinjati s "${o.prefix}"`:o.format==="ends_with"?`Neispravan tekst: mora zavr\u0161avati s "${o.suffix}"`:o.format==="includes"?`Neispravan tekst: mora sadr\u017Eavati "${o.includes}"`:o.format==="regex"?`Neispravan tekst: mora odgovarati uzorku ${o.pattern}`:`Neispravna ${n[o.format]??r.format}`}case"not_multiple_of":return`Neispravan broj: mora biti vi\u0161ekratnik od ${r.divisor}`;case"unrecognized_keys":return`Neprepoznat${r.keys.length>1?"i klju\u010Devi":" klju\u010D"}: ${k(r.keys,", ")}`;case"invalid_key":return`Neispravan klju\u010D u ${i[r.origin]??r.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${i[r.origin]??r.origin}`;default:return"Neispravan unos"}}};function Cg(){return{localeError:V1()}}var Z1=()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"},map:{unit:"elem",verb:"legyen"}};function t(r){return e[r]??null}let n={regex:"bemenet",email:"email c\xEDm",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO id\u0151b\xE9lyeg",date:"ISO d\xE1tum",time:"ISO id\u0151",duration:"ISO id\u0151intervallum",ipv4:"IPv4 c\xEDm",ipv6:"IPv6 c\xEDm",mac:"MAC c\xEDm",cidrv4:"IPv4 tartom\xE1ny",cidrv6:"IPv6 tartom\xE1ny",base64:"base64-k\xF3dolt string",base64url:"base64url-k\xF3dolt string",json_string:"JSON string",e164:"E.164 sz\xE1m",credit_card:"hitelk\xE1rtyasz\xE1m",currency_code:"p\xE9nznemk\xF3d",iban:"IBAN",jwt:"JWT",template_literal:"bemenet"},i={nan:"NaN",number:"sz\xE1m",array:"t\xF6mb"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k instanceof ${r.expected}, a kapott \xE9rt\xE9k ${c}`:`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${o}, a kapott \xE9rt\xE9k ${c}`}case"invalid_value":return r.values.length===1?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${G(r.values[0])}`:`\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`T\xFAl nagy: ${r.origin??"\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${o}${r.maximum.toString()} ${a.unit??"elem"}`:`T\xFAl nagy: a bemeneti \xE9rt\xE9k ${r.origin??"\xE9rt\xE9k"} t\xFAl nagy: ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${r.origin} m\xE9rete t\xFAl kicsi ${o}${r.minimum.toString()} ${a.unit}`:`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${r.origin} t\xFAl kicsi ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\xC9rv\xE9nytelen string: "${o.prefix}" \xE9rt\xE9kkel kell kezd\u0151dnie`:o.format==="ends_with"?`\xC9rv\xE9nytelen string: "${o.suffix}" \xE9rt\xE9kkel kell v\xE9gz\u0151dnie`:o.format==="includes"?`\xC9rv\xE9nytelen string: "${o.includes}" \xE9rt\xE9ket kell tartalmaznia`:o.format==="regex"?`\xC9rv\xE9nytelen string: ${o.pattern} mint\xE1nak kell megfelelnie`:`\xC9rv\xE9nytelen ${n[o.format]??r.format}`}case"not_multiple_of":return`\xC9rv\xE9nytelen sz\xE1m: ${r.divisor} t\xF6bbsz\xF6r\xF6s\xE9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${r.keys.length>1?"s":""}: ${k(r.keys,", ")}`;case"invalid_key":return`\xC9rv\xE9nytelen kulcs ${r.origin}`;case"invalid_union":return"\xC9rv\xE9nytelen bemenet";case"invalid_element":return`\xC9rv\xE9nytelen \xE9rt\xE9k: ${r.origin}`;default:return"\xC9rv\xE9nytelen bemenet"}}};function Rg(){return{localeError:Z1()}}function jg(e,t,n){return Math.abs(e)===1?t:n}function xr(e){if(!e)return"";let t=["\u0561","\u0565","\u0568","\u056B","\u0578","\u0578\u0582","\u0585"],n=e[e.length-1];return e+(t.includes(n)?"\u0576":"\u0568")}var H1=()=>{let e={string:{unit:{one:"\u0576\u0577\u0561\u0576",many:"\u0576\u0577\u0561\u0576\u0576\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},file:{unit:{one:"\u0562\u0561\u0575\u0569",many:"\u0562\u0561\u0575\u0569\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},array:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},set:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"},map:{unit:{one:"\u057F\u0561\u0580\u0580",many:"\u057F\u0561\u0580\u0580\u0565\u0580"},verb:"\u0578\u0582\u0576\u0565\u0576\u0561\u056C"}};function t(r){return e[r]??null}let n={regex:"\u0574\u0578\u0582\u057F\u0584",email:"\u0567\u056C. \u0570\u0561\u057D\u0581\u0565",url:"URL",emoji:"\u0567\u0574\u0578\u057B\u056B",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E \u0587 \u056A\u0561\u0574",date:"ISO \u0561\u0574\u057D\u0561\u0569\u056B\u057E",time:"ISO \u056A\u0561\u0574",duration:"ISO \u057F\u0587\u0578\u0572\u0578\u0582\u0569\u0575\u0578\u0582\u0576",ipv4:"IPv4 \u0570\u0561\u057D\u0581\u0565",ipv6:"IPv6 \u0570\u0561\u057D\u0581\u0565",mac:"MAC \u0570\u0561\u057D\u0581\u0565",cidrv4:"IPv4 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",cidrv6:"IPv6 \u0574\u056B\u057B\u0561\u056F\u0561\u0575\u0584",base64:"base64 \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",base64url:"base64url \u0571\u0587\u0561\u0579\u0561\u0583\u0578\u057E \u057F\u0578\u0572",json_string:"JSON \u057F\u0578\u0572",e164:"E.164 \u0570\u0561\u0574\u0561\u0580",credit_card:"\u056F\u0580\u0565\u0564\u056B\u057F \u0584\u0561\u0580\u057F\u056B \u0570\u0561\u0574\u0561\u0580",currency_code:"\u0561\u0580\u056A\u0578\u0582\u0575\u0569\u056B \u056F\u0578\u0564",iban:"IBAN",jwt:"JWT",template_literal:"\u0574\u0578\u0582\u057F\u0584"},i={nan:"NaN",number:"\u0569\u056B\u057E",array:"\u0566\u0561\u0576\u0563\u057E\u0561\u056E"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 instanceof ${r.expected}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${c}`:`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${o}, \u057D\u057F\u0561\u0581\u057E\u0565\u056C \u0567 ${c}`}case"invalid_value":return r.values.length===1?`\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 ${G(r.values[1])}`:`\u054D\u056D\u0561\u056C \u057F\u0561\u0580\u0562\u0565\u0580\u0561\u056F\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567\u0580 \u0570\u0565\u057F\u0587\u0575\u0561\u056C\u0576\u0565\u0580\u056B\u0581 \u0574\u0565\u056F\u0568\u055D ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);if(a){let c=Number(r.maximum),l=jg(c,a.unit.one,a.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${xr(r.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${o}${r.maximum.toString()} ${l}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0574\u0565\u056E \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${xr(r.origin??"\u0561\u0580\u056A\u0565\u0584")} \u056C\u056B\u0576\u056B ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);if(a){let c=Number(r.minimum),l=jg(c,a.unit.one,a.unit.many);return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${xr(r.origin)} \u056F\u0578\u0582\u0576\u0565\u0576\u0561 ${o}${r.minimum.toString()} ${l}`}return`\u0549\u0561\u0583\u0561\u0566\u0561\u0576\u0581 \u0583\u0578\u0584\u0580 \u0561\u0580\u056A\u0565\u0584\u2024 \u057D\u057A\u0561\u057D\u057E\u0578\u0582\u0574 \u0567, \u0578\u0580 ${xr(r.origin)} \u056C\u056B\u0576\u056B ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057D\u056F\u057D\u057E\u056B "${o.prefix}"-\u0578\u057E`:o.format==="ends_with"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0561\u057E\u0561\u0580\u057F\u057E\u056B "${o.suffix}"-\u0578\u057E`:o.format==="includes"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u057A\u0561\u0580\u0578\u0582\u0576\u0561\u056F\u056B "${o.includes}"`:o.format==="regex"?`\u054D\u056D\u0561\u056C \u057F\u0578\u0572\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0570\u0561\u0574\u0561\u057A\u0561\u057F\u0561\u057D\u056D\u0561\u0576\u056B ${o.pattern} \u0571\u0587\u0561\u0579\u0561\u0583\u056B\u0576`:`\u054D\u056D\u0561\u056C ${n[o.format]??r.format}`}case"not_multiple_of":return`\u054D\u056D\u0561\u056C \u0569\u056B\u057E\u2024 \u057A\u0565\u057F\u0584 \u0567 \u0562\u0561\u0566\u0574\u0561\u057A\u0561\u057F\u056B\u056F \u056C\u056B\u0576\u056B ${r.divisor}-\u056B`;case"unrecognized_keys":return`\u0549\u0573\u0561\u0576\u0561\u0579\u057E\u0561\u056E \u0562\u0561\u0576\u0561\u056C\u056B${r.keys.length>1?"\u0576\u0565\u0580":""}. ${k(r.keys,", ")}`;case"invalid_key":return`\u054D\u056D\u0561\u056C \u0562\u0561\u0576\u0561\u056C\u056B ${xr(r.origin)}-\u0578\u0582\u0574`;case"invalid_union":return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574";case"invalid_element":return`\u054D\u056D\u0561\u056C \u0561\u0580\u056A\u0565\u0584 ${xr(r.origin)}-\u0578\u0582\u0574`;default:return"\u054D\u056D\u0561\u056C \u0574\u0578\u0582\u057F\u0584\u0561\u0563\u0580\u0578\u0582\u0574"}}};function Ng(){return{localeError:H1()}}var J1=()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"},map:{unit:"item",verb:"memiliki"}};function t(r){return e[r]??null}let n={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",mac:"alamat MAC",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",credit_card:"nomor kartu kredit",currency_code:"kode mata uang",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Input tidak valid: diharapkan instanceof ${r.expected}, diterima ${c}`:`Input tidak valid: diharapkan ${o}, diterima ${c}`}case"invalid_value":return r.values.length===1?`Input tidak valid: diharapkan ${G(r.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Terlalu besar: diharapkan ${r.origin??"value"} memiliki ${o}${r.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: diharapkan ${r.origin??"value"} menjadi ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Terlalu kecil: diharapkan ${r.origin} memiliki ${o}${r.minimum.toString()} ${a.unit}`:`Terlalu kecil: diharapkan ${r.origin} menjadi ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`String tidak valid: harus dimulai dengan "${o.prefix}"`:o.format==="ends_with"?`String tidak valid: harus berakhir dengan "${o.suffix}"`:o.format==="includes"?`String tidak valid: harus menyertakan "${o.includes}"`:o.format==="regex"?`String tidak valid: harus sesuai pola ${o.pattern}`:`${n[o.format]??r.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${r.keys.length>1?"s":""}: ${k(r.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${r.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${r.origin}`;default:return"Input tidak valid"}}};function zg(){return{localeError:J1()}}var K1=()=>{let e={string:{unit:"stafi",verb:"a\xF0 hafa"},file:{unit:"b\xE6ti",verb:"a\xF0 hafa"},array:{unit:"hluti",verb:"a\xF0 hafa"},set:{unit:"hluti",verb:"a\xF0 hafa"},map:{unit:"hluti",verb:"a\xF0 hafa"}};function t(r){return e[r]??null}let n={regex:"gildi",email:"netfang",url:"vefsl\xF3\xF0",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dagsetning og t\xEDmi",date:"ISO dagsetning",time:"ISO t\xEDmi",duration:"ISO t\xEDmalengd",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 t\xF6lugildi",credit_card:"kreditkortan\xFAmer",currency_code:"gjaldmi\xF0ilsk\xF3\xF0i",iban:"IBAN",jwt:"JWT",template_literal:"gildi"},i={nan:"NaN",number:"n\xFAmer",array:"fylki"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Rangt gildi: \xDE\xFA sl\xF3st inn ${c} \xFEar sem \xE1 a\xF0 vera instanceof ${r.expected}`:`Rangt gildi: \xDE\xFA sl\xF3st inn ${c} \xFEar sem \xE1 a\xF0 vera ${o}`}case"invalid_value":return r.values.length===1?`Rangt gildi: gert r\xE1\xF0 fyrir ${G(r.values[0])}`:`\xD3gilt val: m\xE1 vera eitt af eftirfarandi ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin??"gildi"} hafi ${o}${r.maximum.toString()} ${a.unit??"hluti"}`:`Of st\xF3rt: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin??"gildi"} s\xE9 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin} hafi ${o}${r.minimum.toString()} ${a.unit}`:`Of l\xEDti\xF0: gert er r\xE1\xF0 fyrir a\xF0 ${r.origin} s\xE9 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 byrja \xE1 "${o.prefix}"`:o.format==="ends_with"?`\xD3gildur strengur: ver\xF0ur a\xF0 enda \xE1 "${o.suffix}"`:o.format==="includes"?`\xD3gildur strengur: ver\xF0ur a\xF0 innihalda "${o.includes}"`:o.format==="regex"?`\xD3gildur strengur: ver\xF0ur a\xF0 fylgja mynstri ${o.pattern}`:`Rangt ${n[o.format]??r.format}`}case"not_multiple_of":return`R\xF6ng tala: ver\xF0ur a\xF0 vera margfeldi af ${r.divisor}`;case"unrecognized_keys":return`\xD3\xFEekkt ${r.keys.length>1?"ir lyklar":"ur lykill"}: ${k(r.keys,", ")}`;case"invalid_key":return`Rangur lykill \xED ${r.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi \xED ${r.origin}`;default:return"Rangt gildi"}}};function Lg(){return{localeError:K1()}}var q1=()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"},map:{unit:"elementi",verb:"avere"}};function t(r){return e[r]??null}let n={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",mac:"indirizzo MAC",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",credit_card:"numero di carta di credito",currency_code:"codice valuta",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"numero",array:"vettore"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Input non valido: atteso instanceof ${r.expected}, ricevuto ${c}`:`Input non valido: atteso ${o}, ricevuto ${c}`}case"invalid_value":return r.values.length===1?`Input non valido: atteso ${G(r.values[0])}`:`Opzione non valida: atteso uno tra ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Troppo grande: ${r.origin??"valore"} deve avere ${o}${r.maximum.toString()} ${a.unit??"elementi"}`:`Troppo grande: ${r.origin??"valore"} deve essere ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Troppo piccolo: ${r.origin} deve avere ${o}${r.minimum.toString()} ${a.unit}`:`Troppo piccolo: ${r.origin} deve essere ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Stringa non valida: deve iniziare con "${o.prefix}"`:o.format==="ends_with"?`Stringa non valida: deve terminare con "${o.suffix}"`:o.format==="includes"?`Stringa non valida: deve includere "${o.includes}"`:o.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${o.pattern}`:`Input non valido: ${n[o.format]??r.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${r.divisor}`;case"unrecognized_keys":return`Chiav${r.keys.length>1?"i":"e"} non riconosciut${r.keys.length>1?"e":"a"}: ${k(r.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${r.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${r.origin}`;default:return"Input non valido"}}};function Mg(){return{localeError:q1()}}var X1=()=>{let e={string:{unit:"\u6587\u5B57",verb:"\u3067\u3042\u308B"},file:{unit:"\u30D0\u30A4\u30C8",verb:"\u3067\u3042\u308B"},array:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},set:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},map:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"}};function t(r){return e[r]??null}let n={regex:"\u5165\u529B\u5024",email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",url:"URL",emoji:"\u7D75\u6587\u5B57",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u6642",date:"ISO\u65E5\u4ED8",time:"ISO\u6642\u523B",duration:"ISO\u671F\u9593",ipv4:"IPv4\u30A2\u30C9\u30EC\u30B9",ipv6:"IPv6\u30A2\u30C9\u30EC\u30B9",mac:"MAC\u30A2\u30C9\u30EC\u30B9",cidrv4:"IPv4\u7BC4\u56F2",cidrv6:"IPv6\u7BC4\u56F2",base64:"base64\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",base64url:"base64url\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",json_string:"JSON\u6587\u5B57\u5217",e164:"E.164\u756A\u53F7",credit_card:"\u30AF\u30EC\u30B8\u30C3\u30C8\u30AB\u30FC\u30C9\u756A\u53F7",currency_code:"\u901A\u8CA8\u30B3\u30FC\u30C9",iban:"IBAN",jwt:"JWT",template_literal:"\u5165\u529B\u5024"},i={nan:"NaN",number:"\u6570\u5024",array:"\u914D\u5217"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u7121\u52B9\u306A\u5165\u529B: instanceof ${r.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${c}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u5165\u529B: ${o}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${c}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`}case"invalid_value":return r.values.length===1?`\u7121\u52B9\u306A\u5165\u529B: ${G(r.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u9078\u629E: ${k(r.values,"\u3001")}\u306E\u3044\u305A\u308C\u304B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"too_big":{let o=r.inclusive?"\u4EE5\u4E0B\u3067\u3042\u308B":"\u3088\u308A\u5C0F\u3055\u3044",a=t(r.origin);return a?`\u5927\u304D\u3059\u304E\u308B\u5024: ${r.origin??"\u5024"}\u306F${r.maximum.toString()}${a.unit??"\u8981\u7D20"}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5927\u304D\u3059\u304E\u308B\u5024: ${r.origin??"\u5024"}\u306F${r.maximum.toString()}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"too_small":{let o=r.inclusive?"\u4EE5\u4E0A\u3067\u3042\u308B":"\u3088\u308A\u5927\u304D\u3044",a=t(r.origin);return a?`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${r.origin}\u306F${r.minimum.toString()}${a.unit}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${r.origin}\u306F${r.minimum.toString()}${o}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${o.prefix}"\u3067\u59CB\u307E\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:o.format==="ends_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${o.suffix}"\u3067\u7D42\u308F\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:o.format==="includes"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${o.includes}"\u3092\u542B\u3080\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:o.format==="regex"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: \u30D1\u30BF\u30FC\u30F3${o.pattern}\u306B\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u7121\u52B9\u306A${n[o.format]??r.format}`}case"not_multiple_of":return`\u7121\u52B9\u306A\u6570\u5024: ${r.divisor}\u306E\u500D\u6570\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"unrecognized_keys":return`\u8A8D\u8B58\u3055\u308C\u3066\u3044\u306A\u3044\u30AD\u30FC${r.keys.length>1?"\u7FA4":""}: ${k(r.keys,"\u3001")}`;case"invalid_key":return`${r.origin}\u5185\u306E\u7121\u52B9\u306A\u30AD\u30FC`;case"invalid_union":return"\u7121\u52B9\u306A\u5165\u529B";case"invalid_element":return`${r.origin}\u5185\u306E\u7121\u52B9\u306A\u5024`;default:return"\u7121\u52B9\u306A\u5165\u529B"}}};function Ug(){return{localeError:X1()}}var Y1=()=>{let e={string:{unit:"\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},file:{unit:"\u10D1\u10D0\u10D8\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},array:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},set:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"},map:{unit:"\u10D4\u10DA\u10D4\u10DB\u10D4\u10DC\u10E2\u10D8",verb:"\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1"}};function t(r){return e[r]??null}let n={regex:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0",email:"\u10D4\u10DA-\u10E4\u10DD\u10E1\u10E2\u10D8\u10E1 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",url:"URL",emoji:"\u10D4\u10DB\u10DD\u10EF\u10D8",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8-\u10D3\u10E0\u10DD",date:"\u10D7\u10D0\u10E0\u10D8\u10E6\u10D8",time:"\u10D3\u10E0\u10DD",duration:"\u10EE\u10D0\u10DC\u10D2\u10E0\u10EB\u10DA\u10D8\u10D5\u10DD\u10D1\u10D0",ipv4:"IPv4 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",ipv6:"IPv6 \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",mac:"MAC \u10DB\u10D8\u10E1\u10D0\u10DB\u10D0\u10E0\u10D7\u10D8",cidrv4:"IPv4 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",cidrv6:"IPv6 \u10D3\u10D8\u10D0\u10DE\u10D0\u10D6\u10DD\u10DC\u10D8",base64:"base64-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10D5\u10D4\u10DA\u10D8",base64url:"base64url-\u10D9\u10DD\u10D3\u10D8\u10E0\u10D4\u10D1\u10E3\u10DA\u10D8 \u10D5\u10D4\u10DA\u10D8",json_string:"JSON \u10D5\u10D4\u10DA\u10D8",e164:"E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",credit_card:"\u10E1\u10D0\u10D9\u10E0\u10D4\u10D3\u10D8\u10E2\u10DD \u10D1\u10D0\u10E0\u10D0\u10D7\u10D8\u10E1 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",currency_code:"\u10D5\u10D0\u10DA\u10E3\u10E2\u10D8\u10E1 \u10D9\u10DD\u10D3\u10D8",iban:"IBAN",jwt:"JWT",template_literal:"\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"},i={nan:"NaN",number:"\u10E0\u10D8\u10EA\u10EE\u10D5\u10D8",string:"\u10D5\u10D4\u10DA\u10D8",boolean:"\u10D1\u10E3\u10DA\u10D4\u10D0\u10DC\u10D8",function:"\u10E4\u10E3\u10DC\u10E5\u10EA\u10D8\u10D0",array:"\u10DB\u10D0\u10E1\u10D8\u10D5\u10D8"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 instanceof ${r.expected}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${c}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${o}, \u10DB\u10D8\u10E6\u10D4\u10D1\u10E3\u10DA\u10D8 ${c}`}case"invalid_value":return r.values.length===1?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${G(r.values[0])}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D0\u10E0\u10D8\u10D0\u10DC\u10E2\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8\u10D0 \u10D4\u10E0\u10D7-\u10D4\u10E0\u10D7\u10D8 ${k(r.values,"|")}-\u10D3\u10D0\u10DC`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} ${a.verb} ${o}${r.maximum.toString()} ${a.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10D3\u10D8\u10D3\u10D8: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin??"\u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0"} \u10D8\u10E7\u10DD\u10E1 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin} ${a.verb} ${o}${r.minimum.toString()} ${a.unit}`:`\u10D6\u10D4\u10D3\u10DB\u10D4\u10E2\u10D0\u10D3 \u10DE\u10D0\u10E2\u10D0\u10E0\u10D0: \u10DB\u10DD\u10E1\u10D0\u10DA\u10DD\u10D3\u10DC\u10D4\u10DA\u10D8 ${r.origin} \u10D8\u10E7\u10DD\u10E1 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10EC\u10E7\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${o.prefix}"-\u10D8\u10D7`:o.format==="ends_with"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10DB\u10D7\u10D0\u10D5\u10E0\u10D3\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 "${o.suffix}"-\u10D8\u10D7`:o.format==="includes"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1 "${o.includes}"-\u10E1`:o.format==="regex"?`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D5\u10D4\u10DA\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D4\u10E1\u10D0\u10D1\u10D0\u10DB\u10D4\u10D1\u10DD\u10D3\u10D4\u10E1 \u10E8\u10D0\u10D1\u10DA\u10DD\u10DC\u10E1 ${o.pattern}`:`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E0\u10D8\u10EA\u10EE\u10D5\u10D8: \u10E3\u10DC\u10D3\u10D0 \u10D8\u10E7\u10DD\u10E1 ${r.divisor}-\u10D8\u10E1 \u10EF\u10D4\u10E0\u10D0\u10D3\u10D8`;case"unrecognized_keys":return`\u10E3\u10EA\u10DC\u10DD\u10D1\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1${r.keys.length>1?"\u10D4\u10D1\u10D8":"\u10D8"}: ${k(r.keys,", ")}`;case"invalid_key":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10D2\u10D0\u10E1\u10D0\u10E6\u10D4\u10D1\u10D8 ${r.origin}-\u10E8\u10D8`;case"invalid_union":return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0";case"invalid_element":return`\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10DB\u10DC\u10D8\u10E8\u10D5\u10DC\u10D4\u10DA\u10DD\u10D1\u10D0 ${r.origin}-\u10E8\u10D8`;default:return"\u10D0\u10E0\u10D0\u10E1\u10EC\u10DD\u10E0\u10D8 \u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"}}};function Bg(){return{localeError:Y1()}}var Q1=()=>{let e={string:{unit:"\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},file:{unit:"\u1794\u17C3",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},array:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},set:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},map:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"}};function t(r){return e[r]??null}let n={regex:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B",email:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793\u17A2\u17CA\u17B8\u1798\u17C2\u179B",url:"URL",emoji:"\u179F\u1789\u17D2\u1789\u17B6\u17A2\u17B6\u179A\u1798\u17D2\u1798\u178E\u17CD",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 \u1793\u17B7\u1784\u1798\u17C9\u17C4\u1784 ISO",date:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 ISO",time:"\u1798\u17C9\u17C4\u1784 ISO",duration:"\u179A\u1799\u17C8\u1796\u17C1\u179B ISO",ipv4:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",ipv6:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",mac:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 MAC",cidrv4:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",cidrv6:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",base64:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64",base64url:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64url",json_string:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",e164:"\u179B\u17C1\u1781 E.164",credit_card:"\u179B\u17C1\u1781\u1794\u17D0\u178E\u17D2\u178E\u17A5\u178E\u1791\u17B6\u1793",currency_code:"\u1780\u17BC\u178A\u179A\u17BC\u1794\u17B7\u1799\u1794\u17D0\u178E\u17D2\u178E",iban:"IBAN",jwt:"JWT",template_literal:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"},i={nan:"NaN",number:"\u179B\u17C1\u1781",array:"\u17A2\u17B6\u179A\u17C1 (Array)",null:"\u1782\u17D2\u1798\u17B6\u1793\u178F\u1798\u17D2\u179B\u17C3 (null)"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A instanceof ${r.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${c}`:`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${o} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${c}`}case"invalid_value":return r.values.length===1?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${G(r.values[0])}`:`\u1787\u1798\u17D2\u179A\u17BE\u179F\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1787\u17B6\u1798\u17BD\u1799\u1780\u17D2\u1793\u17BB\u1784\u1785\u17C6\u178E\u17C4\u1798 ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${o} ${r.maximum.toString()} ${a.unit??"\u1792\u17B6\u178F\u17BB"}`:`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin} ${o} ${r.minimum.toString()} ${a.unit}`:`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${r.origin} ${o} ${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1785\u17B6\u1794\u17CB\u1795\u17D2\u178F\u17BE\u1798\u178A\u17C4\u1799 "${o.prefix}"`:o.format==="ends_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1794\u1789\u17D2\u1785\u1794\u17CB\u178A\u17C4\u1799 "${o.suffix}"`:o.format==="includes"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1798\u17B6\u1793 "${o.includes}"`:o.format==="regex"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1795\u17D2\u1782\u17BC\u1795\u17D2\u1782\u1784\u1793\u17B9\u1784\u1791\u1798\u17D2\u179A\u1784\u17CB\u178A\u17C2\u179B\u1794\u17B6\u1793\u1780\u17C6\u178E\u178F\u17CB ${o.pattern}`:`\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u179B\u17C1\u1781\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1787\u17B6\u1796\u17A0\u17BB\u1782\u17BB\u178E\u1793\u17C3 ${r.divisor}`;case"unrecognized_keys":return`\u179A\u1780\u1783\u17BE\u1789\u179F\u17C4\u1798\u17B7\u1793\u179F\u17D2\u1782\u17B6\u179B\u17CB\u17D6 ${k(r.keys,", ")}`;case"invalid_key":return`\u179F\u17C4\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${r.origin}`;case"invalid_union":return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C";case"invalid_element":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${r.origin}`;default:return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C"}}};function Sa(){return{localeError:Q1()}}function Wg(){return Sa()}var eG=()=>{let e={string:{unit:"\u0C85\u0C95\u0CCD\u0CB7\u0CB0\u0C97\u0CB3\u0CC1",verb:"\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1"},file:{unit:"\u0CAC\u0CC8\u0C9F\u0CCD\u200C\u0C97\u0CB3\u0CC1",verb:"\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1"},array:{unit:"\u0CB5\u0CB8\u0CCD\u0CA4\u0CC1\u0C97\u0CB3\u0CC1",verb:"\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1"},set:{unit:"\u0CB5\u0CB8\u0CCD\u0CA4\u0CC1\u0C97\u0CB3\u0CC1",verb:"\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1"},map:{unit:"entries",verb:"\u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1"}};function t(r){return e[r]??null}let n={regex:"\u0C87\u0CA8\u0CCD\u0CAA\u0CC1\u0C9F\u0CCD",email:"email \u0CB5\u0CBF\u0CB3\u0CBE\u0CB8",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0CA6\u0CBF\u0CA8\u0CBE\u0C82\u0C95\u0CA6 \u0CB8\u0CAE\u0CAF",date:"ISO \u0CA6\u0CBF\u0CA8\u0CBE\u0C82\u0C95",time:"ISO \u0CB8\u0CAE\u0CAF",duration:"ISO \u0C85\u0CB5\u0CA7\u0CBF",ipv4:"IPv4 \u0CB5\u0CBF\u0CB3\u0CBE\u0CB8",ipv6:"IPv6 \u0CB5\u0CBF\u0CB3\u0CBE\u0CB8",mac:"MAC \u0CB5\u0CBF\u0CB3\u0CBE\u0CB8",cidrv4:"IPv4 \u0CB5\u0CCD\u0CAF\u0CBE\u0CAA\u0CCD\u0CA4\u0CBF\u0CAF",cidrv6:"IPv6 \u0CB5\u0CCD\u0CAF\u0CBE\u0CAA\u0CCD\u0CA4\u0CBF\u0CAF",base64:"base64-encoded\u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD",base64url:"base64url-encoded\u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD",json_string:"JSON\u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD",e164:"E.164 \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",credit_card:"\u0C95\u0CCD\u0CB0\u0CC6\u0CA1\u0CBF\u0C9F\u0CCD \u0C95\u0CBE\u0CB0\u0CCD\u0CA1\u0CCD \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",currency_code:"\u0C95\u0CB0\u0CC6\u0CA8\u0CCD\u0CB8\u0CBF \u0C95\u0CCB\u0CA1\u0CCD",iban:"IBAN",jwt:"JWT",template_literal:"\u0C87\u0CA8\u0CCD\u0CAA\u0CC1\u0C9F\u0CCD"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0C87\u0CA8\u0CCD\u200C\u0CAA\u0CC1\u0C9F\u0CCD: \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${o}, \u0CB8\u0CCD\u0CB5\u0CC0\u0C95\u0CB0\u0CBF\u0CB8\u0CBF\u0CA6\u0CA8\u0CC1 ${c}`}case"invalid_value":return r.values.length===1?`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0C87\u0CA8\u0CCD\u200C\u0CAA\u0CC1\u0C9F\u0CCD: \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${G(r.values[0])}`:`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0C86\u0CAF\u0CCD\u0C95\u0CC6: \u0C87\u0CB5\u0CC1\u0C97\u0CB3\u0CB2\u0CCD\u0CB2\u0CBF \u0C92\u0C82\u0CA6\u0CA8\u0CCD\u0CA8\u0CC1 \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0CA4\u0CC1\u0C82\u0CAC\u0CBE \u0CA6\u0CCA\u0CA1\u0CCD\u0CA1\u0CA6\u0CC1: \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${r.origin??"value"} \u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1 ${o}${r.maximum.toString()} ${a.unit??"\u0C85\u0C82\u0CB6\u0C97\u0CB3\u0CC1"}`:`\u0CA4\u0CC1\u0C82\u0CAC\u0CBE \u0CA6\u0CCA\u0CA1\u0CCD\u0CA1\u0CA6\u0CC1: \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${r.origin??"value"} \u0C8E\u0C82\u0CA6\u0CC1 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u0CA4\u0CC1\u0C82\u0CAC\u0CBE \u0C9A\u0CBF\u0C95\u0CCD\u0C95\u0CA6\u0CC1: \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${r.origin} \u0CB9\u0CCA\u0C82\u0CA6\u0CB2\u0CC1 ${o}${r.minimum.toString()} ${a.unit}`:`\u0CA4\u0CC1\u0C82\u0CAC\u0CBE \u0C9A\u0CBF\u0C95\u0CCD\u0C95\u0CA6\u0CC1: \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${r.origin} \u0C8E\u0C82\u0CA6\u0CC1 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF\u0CB5\u0CBE\u0CA6 \u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD: \u0C87\u0CA6\u0CB0\u0CCA\u0C82\u0CA6\u0CBF\u0C97\u0CC6 \u0CAA\u0CCD\u0CB0\u0CBE\u0CB0\u0C82\u0CAD\u0CBF\u0CB8\u0CAC\u0CC7\u0C95\u0CC1 "${o.prefix}"`:o.format==="ends_with"?`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF\u0CB5\u0CBE\u0CA6 \u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD: \u0C87\u0CA6\u0CB0\u0CCA\u0C82\u0CA6\u0CBF\u0C97\u0CC6 \u0C95\u0CCA\u0CA8\u0CC6\u0C97\u0CCA\u0CB3\u0CCD\u0CB3\u0CAC\u0CC7\u0C95\u0CC1 "${o.suffix}"`:o.format==="includes"?`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD: \u0C92\u0CB3\u0C97\u0CCA\u0C82\u0CA1\u0CBF\u0CB0\u0CAC\u0CC7\u0C95\u0CC1 "${o.includes}"`:o.format==="regex"?`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF\u0CB5\u0CBE\u0CA6 \u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD: \u0CAE\u0CBE\u0CA6\u0CB0\u0CBF\u0C97\u0CC6 \u0CB9\u0CCA\u0C82\u0CA6\u0CBF\u0C95\u0CC6\u0CAF\u0CBE\u0C97\u0CAC\u0CC7\u0C95\u0CC1 ${o.pattern}`:`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF ${n[o.format]??r.format}`}case"not_multiple_of":return`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6: \u0CAC\u0CB9\u0CC1\u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6\u0CAF\u0CBE\u0C97\u0CBF\u0CB0\u0CAC\u0CC7\u0C95\u0CC1 ${r.divisor}`;case"unrecognized_keys":return`\u0C97\u0CC1\u0CB0\u0CC1\u0CA4\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CA6 \u0C95\u0CC0 ${r.keys.length>1?"s":""}: ${k(r.keys,", ")}`;case"invalid_key":return`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF\u0CB5\u0CBE\u0CA6 \u0C95\u0CC0 \u0C87\u0CA8\u0CCD ${r.origin}`;case"invalid_union":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0CA4\u0CBE\u0CB0\u0CA4\u0CAE\u0CCD\u0CAF \u0CAE\u0CCC\u0CB2\u0CCD\u0CAF. \u0CA8\u0CBF\u0CB0\u0CC0\u0C95\u0CCD\u0CB7\u0CBF\u0CB8\u0CB2\u0CBE\u0C97\u0CBF\u0CA6\u0CC6 ${r.options.map(a=>`'${a}'`).join(" | ")}`:"\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0C87\u0CA8\u0CCD\u200C\u0CAA\u0CC1\u0C9F\u0CCD";case"invalid_element":return`\u0CB0\u0CB2\u0CCD\u0CB2\u0CBF \u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0CAE\u0CCC\u0CB2\u0CCD\u0CAF ${r.origin}`;default:return"\u0C85\u0CAE\u0CBE\u0CA8\u0CCD\u0CAF \u0C87\u0CA8\u0CCD\u200C\u0CAA\u0CC1\u0C9F\u0CCD"}}};function Vg(){return{localeError:eG()}}var tG=()=>{let e={string:{unit:"\uBB38\uC790",verb:"to have"},file:{unit:"\uBC14\uC774\uD2B8",verb:"to have"},array:{unit:"\uAC1C",verb:"to have"},set:{unit:"\uAC1C",verb:"to have"},map:{unit:"\uAC1C",verb:"to have"}};function t(r){return e[r]??null}let n={regex:"\uC785\uB825",email:"\uC774\uBA54\uC77C \uC8FC\uC18C",url:"URL",emoji:"\uC774\uBAA8\uC9C0",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \uB0A0\uC9DC\uC2DC\uAC04",date:"ISO \uB0A0\uC9DC",time:"ISO \uC2DC\uAC04",duration:"ISO \uAE30\uAC04",ipv4:"IPv4 \uC8FC\uC18C",ipv6:"IPv6 \uC8FC\uC18C",mac:"MAC \uC8FC\uC18C",cidrv4:"IPv4 \uBC94\uC704",cidrv6:"IPv6 \uBC94\uC704",base64:"base64 \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",base64url:"base64url \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",json_string:"JSON \uBB38\uC790\uC5F4",e164:"E.164 \uBC88\uD638",credit_card:"\uC2E0\uC6A9\uCE74\uB4DC \uBC88\uD638",currency_code:"\uD1B5\uD654 \uCF54\uB4DC",iban:"IBAN",jwt:"JWT",template_literal:"\uC785\uB825"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 instanceof ${r.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${c}\uC785\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${o}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${c}\uC785\uB2C8\uB2E4`}case"invalid_value":return r.values.length===1?`\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${G(r.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC635\uC158: ${k(r.values,"\uB610\uB294 ")} \uC911 \uD558\uB098\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"too_big":{let o=r.inclusive?"\uC774\uD558":"\uBBF8\uB9CC",a=o==="\uBBF8\uB9CC"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",c=t(r.origin),l=c?.unit??"\uC694\uC18C";return c?`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${r.maximum.toString()}${l} ${o}${a}`:`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${r.maximum.toString()} ${o}${a}`}case"too_small":{let o=r.inclusive?"\uC774\uC0C1":"\uCD08\uACFC",a=o==="\uC774\uC0C1"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",c=t(r.origin),l=c?.unit??"\uC694\uC18C";return c?`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${r.minimum.toString()}${l} ${o}${a}`:`${r.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${r.minimum.toString()} ${o}${a}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${o.prefix}"(\uC73C)\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4`:o.format==="ends_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${o.suffix}"(\uC73C)\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4`:o.format==="includes"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${o.includes}"\uC744(\uB97C) \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4`:o.format==="regex"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: \uC815\uADDC\uC2DD ${o.pattern} \uD328\uD134\uACFC \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C ${n[o.format]??r.format}`}case"not_multiple_of":return`\uC798\uBABB\uB41C \uC22B\uC790: ${r.divisor}\uC758 \uBC30\uC218\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"unrecognized_keys":return`\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uD0A4: ${k(r.keys,", ")}`;case"invalid_key":return`\uC798\uBABB\uB41C \uD0A4: ${r.origin}`;case"invalid_union":return"\uC798\uBABB\uB41C \uC785\uB825";case"invalid_element":return`\uC798\uBABB\uB41C \uAC12: ${r.origin}`;default:return"\uC798\uBABB\uB41C \uC785\uB825"}}};function Zg(){return{localeError:tG()}}var qi=e=>e.charAt(0).toUpperCase()+e.slice(1);function Hg(e){let t=Math.abs(e),n=t%10,i=t%100;return i>=11&&i<=19||n===0?"many":n===1?"one":"few"}var nG=()=>{let e={string:{unit:{one:"simbolis",few:"simboliai",many:"simboli\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne ilgesn\u0117 kaip",notInclusive:"turi b\u016Bti trumpesn\u0117 kaip"},bigger:{inclusive:"turi b\u016Bti ne trumpesn\u0117 kaip",notInclusive:"turi b\u016Bti ilgesn\u0117 kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"bait\u0173"},verb:{smaller:{inclusive:"turi b\u016Bti ne didesnis kaip",notInclusive:"turi b\u016Bti ma\u017Eesnis kaip"},bigger:{inclusive:"turi b\u016Bti ne ma\u017Eesnis kaip",notInclusive:"turi b\u016Bti didesnis kaip"}}},array:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}},set:{unit:{one:"element\u0105",few:"elementus",many:"element\u0173"},verb:{smaller:{inclusive:"turi tur\u0117ti ne daugiau kaip",notInclusive:"turi tur\u0117ti ma\u017Eiau kaip"},bigger:{inclusive:"turi tur\u0117ti ne ma\u017Eiau kaip",notInclusive:"turi tur\u0117ti daugiau kaip"}}}};function t(r,o,a,c){let l=e[r]??null;return l===null?l:{unit:l.unit[o],verb:l.verb[c][a?"inclusive":"notInclusive"]}}let n={regex:"\u012Fvestis",email:"el. pa\u0161to adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukm\u0117",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",mac:"MAC adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 u\u017Ekoduota eilut\u0117",base64url:"base64url u\u017Ekoduota eilut\u0117",json_string:"JSON eilut\u0117",e164:"E.164 numeris",credit_card:"kredito kortel\u0117s numeris",currency_code:"valiutos kodas",iban:"IBAN",jwt:"JWT",template_literal:"\u012Fvestis"},i={nan:"NaN",number:"skai\u010Dius",bigint:"sveikasis skai\u010Dius",string:"eilut\u0117",boolean:"login\u0117 reik\u0161m\u0117",undefined:"neapibr\u0117\u017Eta reik\u0161m\u0117",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulin\u0117 reik\u0161m\u0117"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Gautas tipas ${c}, o tik\u0117tasi - instanceof ${r.expected}`:`Gautas tipas ${c}, o tik\u0117tasi - ${o}`}case"invalid_value":return r.values.length===1?`Privalo b\u016Bti ${G(r.values[0])}`:`Privalo b\u016Bti vienas i\u0161 ${k(r.values,"|")} pasirinkim\u0173`;case"too_big":{let o=i[r.origin]??r.origin,a=t(r.origin,Hg(Number(r.maximum)),r.inclusive??!1,"smaller");if(a?.verb)return`${qi(o??r.origin??"reik\u0161m\u0117")} ${a.verb} ${r.maximum.toString()} ${a.unit??"element\u0173"}`;let c=r.inclusive?"ne didesnis kaip":"ma\u017Eesnis kaip";return`${qi(o??r.origin??"reik\u0161m\u0117")} turi b\u016Bti ${c} ${r.maximum.toString()} ${a?.unit}`}case"too_small":{let o=i[r.origin]??r.origin,a=t(r.origin,Hg(Number(r.minimum)),r.inclusive??!1,"bigger");if(a?.verb)return`${qi(o??r.origin??"reik\u0161m\u0117")} ${a.verb} ${r.minimum.toString()} ${a.unit??"element\u0173"}`;let c=r.inclusive?"ne ma\u017Eesnis kaip":"didesnis kaip";return`${qi(o??r.origin??"reik\u0161m\u0117")} turi b\u016Bti ${c} ${r.minimum.toString()} ${a?.unit}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Eilut\u0117 privalo prasid\u0117ti "${o.prefix}"`:o.format==="ends_with"?`Eilut\u0117 privalo pasibaigti "${o.suffix}"`:o.format==="includes"?`Eilut\u0117 privalo \u012Ftraukti "${o.includes}"`:o.format==="regex"?`Eilut\u0117 privalo atitikti ${o.pattern}`:`Neteisingas ${n[o.format]??r.format}`}case"not_multiple_of":return`Skai\u010Dius privalo b\u016Bti ${r.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpa\u017Eint${r.keys.length>1?"i":"as"} rakt${r.keys.length>1?"ai":"as"}: ${k(r.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga \u012Fvestis";case"invalid_element":{let o=i[r.origin]??r.origin;return`${qi(o??r.origin??"reik\u0161m\u0117")} turi klaiding\u0105 \u012Fvest\u012F`}default:return"Klaidinga \u012Fvestis"}}};function Jg(){return{localeError:nG()}}var rG=()=>{let e={string:{unit:"\u0437\u043D\u0430\u0446\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},file:{unit:"\u0431\u0430\u0458\u0442\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},array:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},set:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},map:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"}};function t(r){return e[r]??null}let n={regex:"\u0432\u043D\u0435\u0441",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u043D\u0430 \u0435-\u043F\u043E\u0448\u0442\u0430",url:"URL",emoji:"\u0435\u043C\u043E\u045F\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0443\u043C \u0438 \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0443\u043C",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u0432\u0440\u0435\u043C\u0435\u0442\u0440\u0430\u0435\u045A\u0435",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441\u0430",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441\u0430",mac:"MAC \u0430\u0434\u0440\u0435\u0441\u0430",cidrv4:"IPv4 \u043E\u043F\u0441\u0435\u0433",cidrv6:"IPv6 \u043E\u043F\u0441\u0435\u0433",base64:"base64-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",base64url:"base64url-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",json_string:"JSON \u043D\u0438\u0437\u0430",e164:"E.164 \u0431\u0440\u043E\u0458",credit_card:"\u0431\u0440\u043E\u0458 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u0447\u043A\u0430",currency_code:"\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",iban:"IBAN",jwt:"JWT",template_literal:"\u0432\u043D\u0435\u0441"},i={nan:"NaN",number:"\u0431\u0440\u043E\u0458",array:"\u043D\u0438\u0437\u0430"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 instanceof ${r.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${c}`:`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${o}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${c}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${G(r.values[0])}`:`\u0413\u0440\u0435\u0448\u0430\u043D\u0430 \u043E\u043F\u0446\u0438\u0458\u0430: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 \u0435\u0434\u043D\u0430 ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0438\u043C\u0430 ${o}${r.maximum.toString()} ${a.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438"}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0431\u0438\u0434\u0435 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin} \u0434\u0430 \u0438\u043C\u0430 ${o}${r.minimum.toString()} ${a.unit}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${r.origin} \u0434\u0430 \u0431\u0438\u0434\u0435 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0443\u0432\u0430 \u0441\u043E "${o.prefix}"`:o.format==="ends_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u0432\u0440\u0448\u0443\u0432\u0430 \u0441\u043E "${o.suffix}"`:o.format==="includes"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0432\u043A\u043B\u0443\u0447\u0443\u0432\u0430 "${o.includes}"`:o.format==="regex"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u043E\u0434\u0433\u043E\u0430\u0440\u0430 \u043D\u0430 \u043F\u0430\u0442\u0435\u0440\u043D\u043E\u0442 ${o.pattern}`:`Invalid ${n[o.format]??r.format}`}case"not_multiple_of":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0431\u0440\u043E\u0458: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0431\u0438\u0434\u0435 \u0434\u0435\u043B\u0438\u0432 \u0441\u043E ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D\u0438 \u043A\u043B\u0443\u0447\u0435\u0432\u0438":"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D \u043A\u043B\u0443\u0447"}: ${k(r.keys,", ")}`;case"invalid_key":return`\u0413\u0440\u0435\u0448\u0435\u043D \u043A\u043B\u0443\u0447 \u0432\u043E ${r.origin}`;case"invalid_union":return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441";case"invalid_element":return`\u0413\u0440\u0435\u0448\u043D\u0430 \u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442 \u0432\u043E ${r.origin}`;default:return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441"}}};function Kg(){return{localeError:rG()}}var iG=()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"},map:{unit:"elemen",verb:"mempunyai"}};function t(r){return e[r]??null}let n={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",mac:"alamat MAC",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",credit_card:"nombor kad kredit",currency_code:"kod mata wang",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"nombor"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Input tidak sah: dijangka instanceof ${r.expected}, diterima ${c}`:`Input tidak sah: dijangka ${o}, diterima ${c}`}case"invalid_value":return r.values.length===1?`Input tidak sah: dijangka ${G(r.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Terlalu besar: dijangka ${r.origin??"nilai"} ${a.verb} ${o}${r.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: dijangka ${r.origin??"nilai"} adalah ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Terlalu kecil: dijangka ${r.origin} ${a.verb} ${o}${r.minimum.toString()} ${a.unit}`:`Terlalu kecil: dijangka ${r.origin} adalah ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`String tidak sah: mesti bermula dengan "${o.prefix}"`:o.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${o.suffix}"`:o.format==="includes"?`String tidak sah: mesti mengandungi "${o.includes}"`:o.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${o.pattern}`:`${n[o.format]??r.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${r.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${k(r.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${r.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${r.origin}`;default:return"Input tidak sah"}}};function qg(){return{localeError:iG()}}var oG=()=>{let e={string:{unit:"\u0905\u0915\u094D\u0937\u0930",verb:"\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B"},file:{unit:"\u092C\u093E\u0907\u091F",verb:"\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B"},array:{unit:"\u0924\u0924\u094D\u0935",verb:"\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B"},set:{unit:"\u0924\u0924\u094D\u0935",verb:"\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B"},map:{unit:"\u092A\u094D\u0930\u0935\u093F\u0937\u094D\u091F\u093F",verb:"\u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B"}};function t(r){return e[r]??null}let n={regex:"\u0907\u0928\u092A\u0941\u091F",email:"\u0907\u092E\u0947\u0932 \u0920\u0947\u0917\u093E\u0928\u093E",url:"URL",emoji:"\u0907\u092E\u094B\u091C\u0940",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u092E\u093F\u0924\u093F \u0930 \u0938\u092E\u092F",date:"ISO \u092E\u093F\u0924\u093F",time:"ISO \u0938\u092E\u092F",duration:"ISO \u0905\u0935\u0927\u093F",ipv4:"IPv4 \u0920\u0947\u0917\u093E\u0928\u093E",ipv6:"IPv6 \u0920\u0947\u0917\u093E\u0928\u093E",mac:"MAC \u0920\u0947\u0917\u093E\u0928\u093E",cidrv4:"IPv4 \u0926\u093E\u092F\u0930\u093E",cidrv6:"IPv6 \u0926\u093E\u092F\u0930\u093E",base64:"base64-\u0907\u0928\u094D\u0915\u094B\u0921 \u0917\u0930\u093F\u090F\u0915\u094B \u0938\u094D\u091F\u094D\u0930\u093F\u0919",base64url:"base64url-\u0907\u0928\u094D\u0915\u094B\u0921 \u0917\u0930\u093F\u090F\u0915\u094B \u0938\u094D\u091F\u094D\u0930\u093F\u0919",json_string:"JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0919",e164:"E.164 \u0928\u092E\u094D\u092C\u0930",credit_card:"\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0928\u092E\u094D\u092C\u0930",currency_code:"\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",iban:"IBAN",jwt:"JWT",template_literal:"\u0907\u0928\u092A\u0941\u091F"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return`\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 ${o}, \u092A\u094D\u0930\u093E\u092A\u094D\u0924 ${c}`}case"invalid_value":return r.values.length===1?`\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 ${G(r.values[0])}`:`\u0905\u092E\u093E\u0928\u094D\u092F \u0935\u093F\u0915\u0932\u094D\u092A: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 \u092E\u093E\u0928\u0939\u0930\u0942 \u092E\u0927\u094D\u092F\u0947 \u090F\u0915 ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0927\u0947\u0930\u0948 \u0920\u0942\u0932\u094B: ${r.origin??"\u092E\u093E\u0928"} \u092E\u093E ${o}${r.maximum.toString()} ${a.unit} ${a.verb}`:`\u0927\u0947\u0930\u0948 \u0920\u0942\u0932\u094B: ${r.origin??"\u092E\u093E\u0928"} ${o}${r.maximum.toString()} \u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u0927\u0947\u0930\u0948 \u0938\u093E\u0928\u094B: ${r.origin} \u092E\u093E ${o}${r.minimum.toString()} ${a.unit} ${a.verb}`:`\u0927\u0947\u0930\u0948 \u0938\u093E\u0928\u094B: ${r.origin} ${o}${r.minimum.toString()} \u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u094D\u091F\u094D\u0930\u093F\u0919: "${o.prefix}" \u092C\u093E\u091F \u0938\u0941\u0930\u0941 \u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B`:o.format==="ends_with"?`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u094D\u091F\u094D\u0930\u093F\u0919: "${o.suffix}" \u092E\u093E \u0938\u092E\u093E\u092A\u094D\u0924 \u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B`:o.format==="includes"?`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u094D\u091F\u094D\u0930\u093F\u0919: "${o.includes}" \u0938\u092E\u093E\u0935\u0947\u0936 \u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B`:o.format==="regex"?`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u094D\u091F\u094D\u0930\u093F\u0919: \u0922\u093E\u0901\u091A\u093E ${o.pattern} \u0938\u0901\u0917 \u092E\u0947\u0932 \u0916\u093E\u0928\u0941\u092A\u0930\u094D\u091B`:`\u0905\u092E\u093E\u0928\u094D\u092F ${n[o.format]??r.format}`}case"not_multiple_of":return`\u0905\u092E\u093E\u0928\u094D\u092F \u0938\u0902\u0916\u094D\u092F\u093E: ${r.divisor} \u0915\u094B \u0917\u0941\u0923\u091C \u0939\u0941\u0928\u0941\u092A\u0930\u094D\u091B`;case"unrecognized_keys":return`\u0905\u092A\u0930\u093F\u091A\u093F\u0924 \u0915\u0941\u091E\u094D\u091C\u0940${r.keys.length>1?"\u0939\u0930\u0942":""}: ${k(r.keys,", ")}`;case"invalid_key":return`\u0905\u092E\u093E\u0928\u094D\u092F \u0915\u0941\u091E\u094D\u091C\u0940: ${r.origin} \u092E\u093E`;case"invalid_union":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\u0905\u092E\u093E\u0928\u094D\u092F \u0921\u093F\u0938\u094D\u0915\u094D\u0930\u093F\u092E\u093F\u0928\u0947\u091F\u0930 \u092E\u093E\u0928: \u0905\u092A\u0947\u0915\u094D\u0937\u093F\u0924 ${r.options.map(a=>`'${a}'`).join(" | ")}`:"\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F";case"invalid_element":return`\u0905\u092E\u093E\u0928\u094D\u092F \u092E\u093E\u0928: ${r.origin} \u092E\u093E`;default:return"\u0905\u092E\u093E\u0928\u094D\u092F \u0907\u0928\u092A\u0941\u091F"}}};function Xg(){return{localeError:oG()}}var aG=()=>{let e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"},map:{unit:"elementen",verb:"heeft"}};function t(r){return e[r]??null}let n={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",mac:"MAC-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",credit_card:"creditcardnummer",currency_code:"valutacode",iban:"IBAN",jwt:"JWT",template_literal:"invoer"},i={nan:"NaN",number:"getal"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ongeldige invoer: verwacht instanceof ${r.expected}, ontving ${c}`:`Ongeldige invoer: verwacht ${o}, ontving ${c}`}case"invalid_value":return r.values.length===1?`Ongeldige invoer: verwacht ${G(r.values[0])}`:`Ongeldige optie: verwacht \xE9\xE9n van ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin),c=r.origin==="date"?"laat":r.origin==="string"?"lang":"groot";return a?`Te ${c}: verwacht dat ${r.origin??"waarde"} ${o}${r.maximum.toString()} ${a.unit??"elementen"} ${a.verb}`:`Te ${c}: verwacht dat ${r.origin??"waarde"} ${o}${r.maximum.toString()} is`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin),c=r.origin==="date"?"vroeg":r.origin==="string"?"kort":"klein";return a?`Te ${c}: verwacht dat ${r.origin} ${o}${r.minimum.toString()} ${a.unit} ${a.verb}`:`Te ${c}: verwacht dat ${r.origin} ${o}${r.minimum.toString()} is`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ongeldige tekst: moet met "${o.prefix}" beginnen`:o.format==="ends_with"?`Ongeldige tekst: moet op "${o.suffix}" eindigen`:o.format==="includes"?`Ongeldige tekst: moet "${o.includes}" bevatten`:o.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${o.pattern}`:`Ongeldig: ${n[o.format]??r.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${r.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${r.keys.length>1?"s":""}: ${k(r.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${r.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${r.origin}`;default:return"Ongeldige invoer"}}};function Yg(){return{localeError:aG()}}var sG=()=>{let e={string:{unit:"teikn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"element",verb:"\xE5 innehalde"},set:{unit:"element",verb:"\xE5 innehalde"},map:{unit:"element",verb:"\xE5 innehalde"}};function t(r){return e[r]??null}let n={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varigheit",ipv4:"IPv4-adresse",ipv6:"IPv6-adresse",mac:"MAC-adresse",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkoda streng",base64url:"base64url-enkoda streng",json_string:"JSON-streng",e164:"E.164-nummer",credit_card:"kredittkortnummer",currency_code:"valutakode",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"tal",array:"liste"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ugyldig input: forventa instanceof ${r.expected}, fekk ${c}`:`Ugyldig input: forventa ${o}, fekk ${c}`}case"invalid_value":return r.values.length===1?`Ugyldig verdi: forventa ${G(r.values[0])}`:`Ugyldig val: forventa eitt av ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`For stor(t): forventa ${r.origin??"value"} til \xE5 ha ${o}${r.maximum.toString()} ${a.unit??"element"}`:`For stor(t): forventa ${r.origin??"value"} til \xE5 ha ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`For lite(n): forventa ${r.origin} til \xE5 ha ${o}${r.minimum.toString()} ${a.unit}`:`For lite(n): forventa ${r.origin} til \xE5 ha ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ugyldig streng: m\xE5 starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: m\xE5 slutte med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: m\xE5 innehalde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: m\xE5 matche m\xF8nsteret ${o.pattern}`:`Ugyldig ${n[o.format]??r.format}`}case"not_multiple_of":return`Ugyldig tal: m\xE5 vere eit multiplum av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ukjende n\xF8klar":"Ukjend n\xF8kkel"}: ${k(r.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${r.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${r.origin}`;default:return"Ugyldig input"}}};function Qg(){return{localeError:sG()}}var cG=()=>{let e={string:{unit:"tegn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"elementer",verb:"\xE5 inneholde"},set:{unit:"elementer",verb:"\xE5 inneholde"},map:{unit:"elementer",verb:"\xE5 inneholde"}};function t(r){return e[r]??null}let n={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-adresse",ipv6:"IPv6-adresse",mac:"MAC-adresse",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",credit_card:"kredittkortnummer",currency_code:"valutakode",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"tall",array:"liste"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ugyldig input: forventet instanceof ${r.expected}, fikk ${c}`:`Ugyldig input: forventet ${o}, fikk ${c}`}case"invalid_value":return r.values.length===1?`Ugyldig verdi: forventet ${G(r.values[0])}`:`Ugyldig valg: forventet en av ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`For stor(t): forventet ${r.origin??"value"} til \xE5 ha ${o}${r.maximum.toString()} ${a.unit??"elementer"}`:`For stor(t): forventet ${r.origin??"value"} til \xE5 ha ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`For lite(n): forventet ${r.origin} til \xE5 ha ${o}${r.minimum.toString()} ${a.unit}`:`For lite(n): forventet ${r.origin} til \xE5 ha ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ugyldig streng: m\xE5 starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: m\xE5 ende med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: m\xE5 inneholde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: m\xE5 matche m\xF8nsteret ${o.pattern}`:`Ugyldig ${n[o.format]??r.format}`}case"not_multiple_of":return`Ugyldig tall: m\xE5 v\xE6re et multiplum av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ukjente n\xF8kler":"Ukjent n\xF8kkel"}: ${k(r.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${r.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${r.origin}`;default:return"Ugyldig input"}}};function eF(){return{localeError:cG()}}var uG=()=>{let e={string:{unit:"harf",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"unsur",verb:"olmal\u0131d\u0131r"},set:{unit:"unsur",verb:"olmal\u0131d\u0131r"},map:{unit:"unsur",verb:"olmal\u0131d\u0131r"}};function t(r){return e[r]??null}let n={regex:"giren",email:"epostag\xE2h",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO heng\xE2m\u0131",date:"ISO tarihi",time:"ISO zaman\u0131",duration:"ISO m\xFCddeti",ipv4:"IPv4 ni\u015F\xE2n\u0131",ipv6:"IPv6 ni\u015F\xE2n\u0131",mac:"MAC ni\u015F\xE2n\u0131",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-\u015Fifreli metin",base64url:"base64url-\u015Fifreli metin",json_string:"JSON metin",e164:"E.164 say\u0131s\u0131",credit_card:"i'tib\xE2r kart\u0131 numaras\u0131",currency_code:"para birimi kodu",iban:"IBAN",jwt:"JWT",template_literal:"giren"},i={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`F\xE2sit giren: umulan instanceof ${r.expected}, al\u0131nan ${c}`:`F\xE2sit giren: umulan ${o}, al\u0131nan ${c}`}case"invalid_value":return r.values.length===1?`F\xE2sit giren: umulan ${G(r.values[0])}`:`F\xE2sit tercih: m\xFBteberler ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Fazla b\xFCy\xFCk: ${r.origin??"value"}, ${o}${r.maximum.toString()} ${a.unit??"elements"} sahip olmal\u0131yd\u0131.`:`Fazla b\xFCy\xFCk: ${r.origin??"value"}, ${o}${r.maximum.toString()} olmal\u0131yd\u0131.`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Fazla k\xFC\xE7\xFCk: ${r.origin}, ${o}${r.minimum.toString()} ${a.unit} sahip olmal\u0131yd\u0131.`:`Fazla k\xFC\xE7\xFCk: ${r.origin}, ${o}${r.minimum.toString()} olmal\u0131yd\u0131.`}case"invalid_format":{let o=r;return o.format==="starts_with"?`F\xE2sit metin: "${o.prefix}" ile ba\u015Flamal\u0131.`:o.format==="ends_with"?`F\xE2sit metin: "${o.suffix}" ile bitmeli.`:o.format==="includes"?`F\xE2sit metin: "${o.includes}" ihtiv\xE2 etmeli.`:o.format==="regex"?`F\xE2sit metin: ${o.pattern} nak\u015F\u0131na uymal\u0131.`:`F\xE2sit ${n[o.format]??r.format}`}case"not_multiple_of":return`F\xE2sit say\u0131: ${r.divisor} kat\u0131 olmal\u0131yd\u0131.`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar ${r.keys.length>1?"s":""}: ${k(r.keys,", ")}`;case"invalid_key":return`${r.origin} i\xE7in tan\u0131nmayan anahtar var.`;case"invalid_union":return"Giren tan\u0131namad\u0131.";case"invalid_element":return`${r.origin} i\xE7in tan\u0131nmayan k\u0131ymet var.`;default:return"K\u0131ymet tan\u0131namad\u0131."}}};function tF(){return{localeError:uG()}}var lG=()=>{let e={string:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},file:{unit:"\u0628\u0627\u06CC\u067C\u0633",verb:"\u0648\u0644\u0631\u064A"},array:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},set:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},map:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"}};function t(r){return e[r]??null}let n={regex:"\u0648\u0631\u0648\u062F\u064A",email:"\u0628\u0631\u06CC\u069A\u0646\u0627\u0644\u06CC\u06A9",url:"\u06CC\u0648 \u0622\u0631 \u0627\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0646\u06CC\u067C\u0647 \u0627\u0648 \u0648\u062E\u062A",date:"\u0646\u06D0\u067C\u0647",time:"\u0648\u062E\u062A",duration:"\u0645\u0648\u062F\u0647",ipv4:"\u062F IPv4 \u067E\u062A\u0647",ipv6:"\u062F IPv6 \u067E\u062A\u0647",mac:"\u062F MAC \u067E\u062A\u0647",cidrv4:"\u062F IPv4 \u0633\u0627\u062D\u0647",cidrv6:"\u062F IPv6 \u0633\u0627\u062D\u0647",base64:"base64-encoded \u0645\u062A\u0646",base64url:"base64url-encoded \u0645\u062A\u0646",json_string:"JSON \u0645\u062A\u0646",e164:"\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",credit_card:"\u062F \u06A9\u0631\u06CC\u0689\u06CC\u067C \u06A9\u0627\u0631\u062A \u0634\u0645\u06CC\u0631\u0647",currency_code:"\u062F \u0627\u0633\u0639\u0627\u0631\u0648 \u06A9\u0648\u0689",iban:"IBAN",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u064A"},i={nan:"NaN",number:"\u0639\u062F\u062F",array:"\u0627\u0631\u06D0"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F instanceof ${r.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${c} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`:`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${o} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${c} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`}case"invalid_value":return r.values.length===1?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${G(r.values[0])} \u0648\u0627\u06CC`:`\u0646\u0627\u0633\u0645 \u0627\u0646\u062A\u062E\u0627\u0628: \u0628\u0627\u06CC\u062F \u06CC\u0648 \u0644\u0647 ${k(r.values,"|")} \u0685\u062E\u0647 \u0648\u0627\u06CC`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${r.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${o}${r.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631\u0648\u0646\u0647"} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${r.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${o}${r.maximum.toString()} \u0648\u064A`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${r.origin} \u0628\u0627\u06CC\u062F ${o}${r.minimum.toString()} ${a.unit} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${r.origin} \u0628\u0627\u06CC\u062F ${o}${r.minimum.toString()} \u0648\u064A`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${o.prefix}" \u0633\u0631\u0647 \u067E\u06CC\u0644 \u0634\u064A`:o.format==="ends_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${o.suffix}" \u0633\u0631\u0647 \u067E\u0627\u06CC \u062A\u0647 \u0648\u0631\u0633\u064A\u0696\u064A`:o.format==="includes"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F "${o.includes}" \u0648\u0644\u0631\u064A`:o.format==="regex"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F ${o.pattern} \u0633\u0631\u0647 \u0645\u0637\u0627\u0628\u0642\u062A \u0648\u0644\u0631\u064A`:`${n[o.format]??r.format} \u0646\u0627\u0633\u0645 \u062F\u06CC`}case"not_multiple_of":return`\u0646\u0627\u0633\u0645 \u0639\u062F\u062F: \u0628\u0627\u06CC\u062F \u062F ${r.divisor} \u0645\u0636\u0631\u0628 \u0648\u064A`;case"unrecognized_keys":return`\u0646\u0627\u0633\u0645 ${r.keys.length>1?"\u06A9\u0644\u06CC\u0689\u0648\u0646\u0647":"\u06A9\u0644\u06CC\u0689"}: ${k(r.keys,", ")}`;case"invalid_key":return`\u0646\u0627\u0633\u0645 \u06A9\u0644\u06CC\u0689 \u067E\u0647 ${r.origin} \u06A9\u06D0`;case"invalid_union":return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A";case"invalid_element":return`\u0646\u0627\u0633\u0645 \u0639\u0646\u0635\u0631 \u067E\u0647 ${r.origin} \u06A9\u06D0`;default:return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A"}}};function nF(){return{localeError:lG()}}var dG=()=>{let e={string:{unit:"znak\xF3w",verb:"mie\u0107"},file:{unit:"bajt\xF3w",verb:"mie\u0107"},array:{unit:"element\xF3w",verb:"mie\u0107"},set:{unit:"element\xF3w",verb:"mie\u0107"},map:{unit:"element\xF3w",verb:"mie\u0107"}};function t(r){return e[r]??null}let n={regex:"wyra\u017Cenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",mac:"adres MAC",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ci\u0105g znak\xF3w zakodowany w formacie base64",base64url:"ci\u0105g znak\xF3w zakodowany w formacie base64url",json_string:"ci\u0105g znak\xF3w w formacie JSON",e164:"liczba E.164",credit_card:"numer karty kredytowej",currency_code:"kod waluty",iban:"IBAN",jwt:"JWT",template_literal:"wej\u015Bcie"},i={nan:"NaN",number:"liczba",array:"tablica"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano instanceof ${r.expected}, otrzymano ${c}`:`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${o}, otrzymano ${c}`}case"invalid_value":return r.values.length===1?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${G(r.values[0])}`:`Nieprawid\u0142owa opcja: oczekiwano jednej z warto\u015Bci ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Za du\u017Ca warto\u015B\u0107: oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${o}${r.maximum.toString()} ${a.unit??"element\xF3w"}`:`Zbyt du\u017C(y/a/e): oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Za ma\u0142a warto\u015B\u0107: oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${o}${r.minimum.toString()} ${a.unit??"element\xF3w"}`:`Zbyt ma\u0142(y/a/e): oczekiwano, \u017Ce ${r.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zaczyna\u0107 si\u0119 od "${o.prefix}"`:o.format==="ends_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi ko\u0144czy\u0107 si\u0119 na "${o.suffix}"`:o.format==="includes"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zawiera\u0107 "${o.includes}"`:o.format==="regex"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi odpowiada\u0107 wzorcowi ${o.pattern}`:`Nieprawid\u0142ow(y/a/e) ${n[o.format]??r.format}`}case"not_multiple_of":return`Nieprawid\u0142owa liczba: musi by\u0107 wielokrotno\u015Bci\u0105 ${r.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${r.keys.length>1?"s":""}: ${k(r.keys,", ")}`;case"invalid_key":return`Nieprawid\u0142owy klucz w ${r.origin}`;case"invalid_union":return"Nieprawid\u0142owe dane wej\u015Bciowe";case"invalid_element":return`Nieprawid\u0142owa warto\u015B\u0107 w ${r.origin}`;default:return"Nieprawid\u0142owe dane wej\u015Bciowe"}}};function rF(){return{localeError:dG()}}var fG=()=>{let e={string:{unit:"caracteres"},file:{unit:"bytes"},array:{unit:"elementos"},set:{unit:"elementos"},map:{unit:"entradas"}};function t(a){return e[a]??null}let n={regex:"a entrada",email:"o endere\xE7o de e-mail",url:"o URL",emoji:"o emoji",uuid:"o UUID",uuidv4:"o UUIDv4",uuidv6:"o UUIDv6",nanoid:"o nanoid",guid:"o GUID",cuid:"o cuid",cuid2:"o cuid2",ulid:"o ULID",xid:"o XID",ksuid:"o KSUID",datetime:"a data e hora ISO",date:"a data ISO",time:"a hora ISO",duration:"a dura\xE7\xE3o ISO",ipv4:"o endere\xE7o IPv4",ipv6:"o endere\xE7o IPv6",mac:"o endere\xE7o MAC",cidrv4:"o intervalo de endere\xE7os IPv4",cidrv6:"o intervalo de endere\xE7os IPv6",base64:"o texto codificado em base64",base64url:"o texto codificado em base64url",json_string:"o texto JSON",e164:"o n\xFAmero E.164",credit_card:"o n\xFAmero de cart\xE3o de cr\xE9dito",currency_code:"o c\xF3digo de moeda",iban:"o IBAN",jwt:"o JWT",template_literal:"a entrada"},i={masculine:{definite:"o",indefinite:"um"},feminine:{definite:"a",indefinite:"uma"}},r={string:{name:"texto",articles:i.masculine},number:{name:"n\xFAmero",articles:i.masculine},int:{name:"n\xFAmero inteiro",articles:i.masculine},boolean:{name:"valor booleano",articles:i.masculine},bigint:{name:"n\xFAmero bigint",articles:i.masculine},symbol:{name:"s\xEDmbolo",articles:i.masculine},undefined:{name:'valor "undefined"',articles:i.masculine},null:{name:'valor "nulo"',articles:i.masculine},never:{name:'valor "never"',articles:i.masculine},void:{name:'valor "void"',articles:i.masculine},date:{name:"data",articles:i.feminine},array:{name:"vetor",articles:i.masculine},object:{name:"objeto",articles:i.masculine},tuple:{name:"tuplo",articles:i.masculine},record:{name:"registo",articles:i.masculine},map:{name:"mapa",articles:i.masculine},set:{name:"conjunto",articles:i.masculine},file:{name:"ficheiro",articles:i.masculine},nonoptional:{name:"valor n\xE3o opcional",articles:i.masculine},nan:{name:'valor "NaN"',articles:i.masculine},function:{name:"fun\xE7\xE3o",articles:i.feminine}};function o(a,c){let l=r[a]??{name:`valor "${a}"`,articles:i.masculine};return`${l.articles[c]} ${l.name}`}return a=>{switch(a.code){case"invalid_type":{let c=o(a.expected,"indefinite"),l=C(a.input),f=o(l,"indefinite");return`Entrada inv\xE1lida: esperava ${c}, recebeu ${f}`}case"invalid_value":return a.values.length===1?`Entrada inv\xE1lida: esperava ${G(a.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperava uma das seguintes op\xE7\xF5es: ${k(a.values,"|")}`;case"too_big":{let c=a.inclusive?"<=":"<",l=t(a.origin);return l?`Demasiado grande: esperava que ${o(a.origin,"definite")} tivesse ${c} ${a.maximum.toString()} ${l.unit??"elementos"}`:`Demasiado grande: esperava que ${o(a.origin,"definite")} fosse ${c} ${a.maximum.toString()}`}case"too_small":{let c=a.inclusive?">=":">",l=t(a.origin);return l?`Demasiado pequeno: esperava que ${o(a.origin,"definite")} tivesse ${c} ${a.minimum.toString()} ${l.unit??"elementos"}`:`Demasiado pequeno: esperava que ${o(a.origin,"definite")} fosse ${c} ${a.minimum.toString()}`}case"invalid_format":{let c=a;return c.format==="starts_with"?`Texto inv\xE1lido: deve come\xE7ar por "${c.prefix}"`:c.format==="ends_with"?`Texto inv\xE1lido: deve terminar em "${c.suffix}"`:c.format==="includes"?`Texto inv\xE1lido: deve incluir "${c.includes}"`:c.format==="regex"?`Texto inv\xE1lido: deve corresponder ao padr\xE3o ${c.pattern}`:`Formato d${n[c.format]??a.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${a.divisor}`;case"unrecognized_keys":{let c=a.keys.length>1?"s":"";return`Chave${c} inv\xE1lida${c}: ${k(a.keys,", ")}`}case"invalid_key":return`Entrada inv\xE1lida n${o(a.origin,"definite")}`;case"invalid_union":return a.options&&Array.isArray(a.options)&&a.options.length>0?`Valor de discrimina\xE7\xE3o inv\xE1lido. Esperava ${a.options.map(l=>`'${l}'`).join(" | ")}`:"Entrada inv\xE1lida";case"invalid_element":return`Entrada inv\xE1lida n${o(a.origin,"definite")}`;default:return"Entrada inv\xE1lida"}}};function iF(){return{localeError:fG()}}var mG=()=>{let e={string:{unit:"caracteres"},file:{unit:"bytes"},array:{unit:"elementos"},set:{unit:"elementos"},map:{unit:"entradas"}};function t(a){return e[a]??null}let n={regex:"a entrada",email:"o endere\xE7o de e-mail",url:"o URL",emoji:"o emoji",uuid:"o UUID",uuidv4:"o UUIDv4",uuidv6:"o UUIDv6",nanoid:"o nanoid",guid:"o GUID",cuid:"o cuid",cuid2:"o cuid2",ulid:"o ULID",xid:"o XID",ksuid:"o KSUID",datetime:"a data e hora ISO",date:"a data ISO",time:"a hora ISO",duration:"a dura\xE7\xE3o ISO",ipv4:"o endere\xE7o IPv4",ipv6:"o endere\xE7o IPv6",mac:"o endere\xE7o MAC",cidrv4:"a faixa de endere\xE7os IPv4",cidrv6:"a faixa de endere\xE7os IPv6",base64:"o texto codificado em base64",base64url:"o texto codificado em base64url",json_string:"o texto JSON",e164:"o n\xFAmero E.164",credit_card:"o n\xFAmero de cart\xE3o de cr\xE9dito",currency_code:"o c\xF3digo de moeda",iban:"o IBAN",jwt:"o JWT",template_literal:"a entrada"},i={masculine:{definite:"o",indefinite:"um"},feminine:{definite:"a",indefinite:"uma"}},r={string:{name:"texto",articles:i.masculine},number:{name:"n\xFAmero",articles:i.masculine},int:{name:"n\xFAmero inteiro",articles:i.masculine},boolean:{name:"valor booleano",articles:i.masculine},bigint:{name:"n\xFAmero bigint",articles:i.masculine},symbol:{name:"s\xEDmbolo",articles:i.masculine},undefined:{name:'valor "undefined"',articles:i.masculine},null:{name:'valor "nulo"',articles:i.masculine},never:{name:'valor "never"',articles:i.masculine},void:{name:'valor "void"',articles:i.masculine},date:{name:"data",articles:i.feminine},array:{name:"vetor",articles:i.masculine},object:{name:"objeto",articles:i.masculine},tuple:{name:"tupla",articles:i.feminine},record:{name:"registro",articles:i.masculine},map:{name:"mapa",articles:i.masculine},set:{name:"conjunto",articles:i.masculine},file:{name:"arquivo",articles:i.masculine},nonoptional:{name:"valor n\xE3o opcional",articles:i.masculine},nan:{name:'valor "NaN"',articles:i.masculine},function:{name:"fun\xE7\xE3o",articles:i.feminine}};function o(a,c){let l=r[a]??{name:`valor "${a}"`,articles:i.masculine};return`${l.articles[c]} ${l.name}`}return a=>{switch(a.code){case"invalid_type":{let c=o(a.expected,"indefinite"),l=C(a.input),f=o(l,"indefinite");return`Entrada inv\xE1lida: esperava ${c}, recebeu ${f}`}case"invalid_value":return a.values.length===1?`Entrada inv\xE1lida: esperava ${G(a.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperava uma das seguintes op\xE7\xF5es: ${k(a.values,"|")}`;case"too_big":{let c=a.inclusive?"<=":"<",l=t(a.origin);return l?`Grande demais: esperava que ${o(a.origin,"definite")} tivesse ${c} ${a.maximum.toString()} ${l.unit??"elementos"}`:`Grande demais: esperava que ${o(a.origin,"definite")} fosse ${c} ${a.maximum.toString()}`}case"too_small":{let c=a.inclusive?">=":">",l=t(a.origin);return l?`Pequeno demais: esperava que ${o(a.origin,"definite")} tivesse ${c} ${a.minimum.toString()} ${l.unit??"elementos"}`:`Pequeno demais: esperava que ${o(a.origin,"definite")} fosse ${c} ${a.minimum.toString()}`}case"invalid_format":{let c=a;return c.format==="starts_with"?`Texto inv\xE1lido: deve come\xE7ar com "${c.prefix}"`:c.format==="ends_with"?`Texto inv\xE1lido: deve terminar com "${c.suffix}"`:c.format==="includes"?`Texto inv\xE1lido: deve incluir "${c.includes}"`:c.format==="regex"?`Texto inv\xE1lido: deve corresponder ao padr\xE3o ${c.pattern}`:`Formato d${n[c.format]??a.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${a.divisor}`;case"unrecognized_keys":{let c=a.keys.length>1?"s":"";return`Chave${c} inv\xE1lida${c}: ${k(a.keys,", ")}`}case"invalid_key":return`Entrada inv\xE1lida n${o(a.origin,"definite")}`;case"invalid_union":return a.options&&Array.isArray(a.options)&&a.options.length>0?`Valor de discrimina\xE7\xE3o inv\xE1lido. Esperava ${a.options.map(l=>`'${l}'`).join(" | ")}`:"Entrada inv\xE1lida";case"invalid_element":return`Entrada inv\xE1lida n${o(a.origin,"definite")}`;default:return"Entrada inv\xE1lida"}}};function oF(){return{localeError:mG()}}var _G=()=>{let e={string:{unit:"caractere",verb:"s\u0103 aib\u0103"},file:{unit:"octe\u021Bi",verb:"s\u0103 aib\u0103"},array:{unit:"elemente",verb:"s\u0103 aib\u0103"},set:{unit:"elemente",verb:"s\u0103 aib\u0103"},map:{unit:"intr\u0103ri",verb:"s\u0103 aib\u0103"}};function t(r){return e[r]??null}let n={regex:"intrare",email:"adres\u0103 de email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"dat\u0103 \u0219i or\u0103 ISO",date:"dat\u0103 ISO",time:"or\u0103 ISO",duration:"durat\u0103 ISO",ipv4:"adres\u0103 IPv4",ipv6:"adres\u0103 IPv6",mac:"adres\u0103 MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"\u0219ir codat base64",base64url:"\u0219ir codat base64url",json_string:"\u0219ir JSON",e164:"num\u0103r E.164",credit_card:"num\u0103r de card de credit",currency_code:"cod valutar",iban:"IBAN",jwt:"JWT",template_literal:"intrare"},i={nan:"NaN",string:"\u0219ir",number:"num\u0103r",boolean:"boolean",function:"func\u021Bie",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"num\u0103r mare",void:"void",never:"never",map:"hart\u0103",set:"set"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return`Intrare invalid\u0103: a\u0219teptat ${o}, primit ${c}`}case"invalid_value":return r.values.length===1?`Intrare invalid\u0103: a\u0219teptat ${G(r.values[0])}`:`Op\u021Biune invalid\u0103: a\u0219teptat una dintre ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Prea mare: a\u0219teptat ca ${r.origin??"valoarea"} ${a.verb} ${o}${r.maximum.toString()} ${a.unit??"elemente"}`:`Prea mare: a\u0219teptat ca ${r.origin??"valoarea"} s\u0103 fie ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Prea mic: a\u0219teptat ca ${r.origin} ${a.verb} ${o}${r.minimum.toString()} ${a.unit}`:`Prea mic: a\u0219teptat ca ${r.origin} s\u0103 fie ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0218ir invalid: trebuie s\u0103 \xEEnceap\u0103 cu "${o.prefix}"`:o.format==="ends_with"?`\u0218ir invalid: trebuie s\u0103 se termine cu "${o.suffix}"`:o.format==="includes"?`\u0218ir invalid: trebuie s\u0103 includ\u0103 "${o.includes}"`:o.format==="regex"?`\u0218ir invalid: trebuie s\u0103 se potriveasc\u0103 cu modelul ${o.pattern}`:`Format invalid: ${n[o.format]??r.format}`}case"not_multiple_of":return`Num\u0103r invalid: trebuie s\u0103 fie multiplu de ${r.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${k(r.keys,", ")}`;case"invalid_key":return`Cheie invalid\u0103 \xEEn ${r.origin}`;case"invalid_union":return"Intrare invalid\u0103";case"invalid_element":return`Valoare invalid\u0103 \xEEn ${r.origin}`;default:return"Intrare invalid\u0103"}}};function aF(){return{localeError:_G()}}function sF(e,t,n,i){let r=Math.abs(e),o=r%10,a=r%100;return a>=11&&a<=19?i:o===1?t:o>=2&&o<=4?n:i}var pG=()=>{let e={string:{unit:{one:"\u0441\u0438\u043C\u0432\u043E\u043B",few:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",many:"\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u0430",many:"\u0431\u0430\u0439\u0442"},verb:"\u0438\u043C\u0435\u0442\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},map:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"}};function t(r){return e[r]??null}let n={regex:"\u0432\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u044F",duration:"ISO \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",mac:"MAC \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64",base64url:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64url",json_string:"JSON \u0441\u0442\u0440\u043E\u043A\u0430",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",credit_card:"\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0439 \u043A\u0430\u0440\u0442\u044B",currency_code:"\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",iban:"IBAN",jwt:"JWT",template_literal:"\u0432\u0432\u043E\u0434"},i={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0441\u0438\u0432"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C instanceof ${r.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${c}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${o}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${c}`}case"invalid_value":return r.values.length===1?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${G(r.values[0])}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0434\u043D\u043E \u0438\u0437 ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);if(a){let c=Number(r.maximum),l=sF(c,a.unit.one,a.unit.few,a.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${o}${r.maximum.toString()} ${l}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);if(a){let c=Number(r.minimum),l=sF(c,a.unit.one,a.unit.few,a.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${o}${r.minimum.toString()} ${l}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${r.origin} \u0431\u0443\u0434\u0435\u0442 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0430\u0447\u0438\u043D\u0430\u0442\u044C\u0441\u044F \u0441 "${o.prefix}"`:o.format==="ends_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043D\u0430 "${o.suffix}"`:o.format==="includes"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C "${o.includes}"`:o.format==="regex"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${o.pattern}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E: \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D${r.keys.length>1?"\u044B\u0435":"\u044B\u0439"} \u043A\u043B\u044E\u0447${r.keys.length>1?"\u0438":""}: ${k(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0432 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435";case"invalid_element":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 ${r.origin}`;default:return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"}}};function cF(){return{localeError:pG()}}var gG=()=>{let e={string:{unit:"znakov",verb:"ma\u0165"},file:{unit:"bajtov",verb:"ma\u0165"},array:{unit:"prvkov",verb:"ma\u0165"},set:{unit:"prvkov",verb:"ma\u0165"},map:{unit:"polo\u017Eiek",verb:"ma\u0165"}};function t(r){return e[r]??null}let n={regex:"regul\xE1rny v\xFDraz",email:"e-mailov\xE1 adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"d\xE1tum a \u010Das vo form\xE1te ISO",date:"d\xE1tum vo form\xE1te ISO",time:"\u010Das vo form\xE1te ISO",duration:"doba trvania ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",mac:"MAC adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"re\u0165azec zak\xF3dovan\xFD vo form\xE1te base64",base64url:"re\u0165azec zak\xF3dovan\xFD vo form\xE1te base64url",json_string:"re\u0165azec vo form\xE1te JSON",e164:"\u010D\xEDslo E.164",credit_card:"\u010D\xEDslo kreditnej karty",currency_code:"k\xF3d meny",iban:"IBAN",jwt:"JWT",template_literal:"vstup"},i={nan:"NaN",number:"\u010D\xEDslo",string:"re\u0165azec",function:"funkcia",array:"pole"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Neplatn\xFD vstup: o\u010Dak\xE1van\xE9 instanceof ${r.expected}, obdr\u017Ean\xE9 ${c}`:`Neplatn\xFD vstup: o\u010Dak\xE1van\xE9 ${o}, obdr\u017Ean\xE9 ${c}`}case"invalid_value":return r.values.length===1?`Neplatn\xFD vstup: o\u010Dak\xE1van\xE9 ${G(r.values[0])}`:`Neplatn\xFD vstup: o\u010Dak\xE1van\xE1 jedna z hodn\xF4t ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Hodnota je pr\xEDli\u0161 ve\u013Ek\xE1: ${r.origin??"hodnota"} mus\xED ma\u0165 ${o}${r.maximum.toString()} ${a.unit??"prvkov"}`:`Hodnota je pr\xEDli\u0161 ve\u013Ek\xE1: ${r.origin??"hodnota"} mus\xED by\u0165 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Hodnota je pr\xEDli\u0161 mal\xE1: ${r.origin??"hodnota"} mus\xED ma\u0165 ${o}${r.minimum.toString()} ${a.unit??"prvkov"}`:`Hodnota je pr\xEDli\u0161 mal\xE1: ${r.origin??"hodnota"} mus\xED by\u0165 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Neplatn\xFD re\u0165azec: mus\xED za\u010D\xEDna\u0165 na "${o.prefix}"`:o.format==="ends_with"?`Neplatn\xFD re\u0165azec: mus\xED kon\u010Di\u0165 na "${o.suffix}"`:o.format==="includes"?`Neplatn\xFD re\u0165azec: mus\xED obsahova\u0165 "${o.includes}"`:o.format==="regex"?`Neplatn\xFD re\u0165azec: mus\xED zodpoveda\u0165 vzoru ${o.pattern}`:`Neplatn\xFD form\xE1t ${n[o.format]??r.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED by\u0165 n\xE1sobkom ${r.divisor}`;case"unrecognized_keys":return`Nezn\xE1me kl\xFA\u010De: ${k(r.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xFA\u010D v ${r.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${r.origin}`;default:return"Neplatn\xFD vstup"}}};function uF(){return{localeError:gG()}}var FG=()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"},map:{unit:"elementov",verb:"imeti"}};function t(r){return e[r]??null}let n={regex:"vnos",email:"e-po\u0161tni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in \u010Das",date:"ISO datum",time:"ISO \u010Das",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",mac:"MAC naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 \u0161tevilka",credit_card:"\u0161tevilka kreditne kartice",currency_code:"koda valute",iban:"IBAN",jwt:"JWT",template_literal:"vnos"},i={nan:"NaN",number:"\u0161tevilo",array:"tabela"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Neveljaven vnos: pri\u010Dakovano instanceof ${r.expected}, prejeto ${c}`:`Neveljaven vnos: pri\u010Dakovano ${o}, prejeto ${c}`}case"invalid_value":return r.values.length===1?`Neveljaven vnos: pri\u010Dakovano ${G(r.values[0])}`:`Neveljavna mo\u017Enost: pri\u010Dakovano eno izmed ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Preveliko: pri\u010Dakovano, da bo ${r.origin??"vrednost"} imelo ${o}${r.maximum.toString()} ${a.unit??"elementov"}`:`Preveliko: pri\u010Dakovano, da bo ${r.origin??"vrednost"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Premajhno: pri\u010Dakovano, da bo ${r.origin} imelo ${o}${r.minimum.toString()} ${a.unit}`:`Premajhno: pri\u010Dakovano, da bo ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Neveljaven niz: mora se za\u010Deti z "${o.prefix}"`:o.format==="ends_with"?`Neveljaven niz: mora se kon\u010Dati z "${o.suffix}"`:o.format==="includes"?`Neveljaven niz: mora vsebovati "${o.includes}"`:o.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${o.pattern}`:`Neveljaven ${n[o.format]??r.format}`}case"not_multiple_of":return`Neveljavno \u0161tevilo: mora biti ve\u010Dkratnik ${r.divisor}`;case"unrecognized_keys":return`Neprepoznan${r.keys.length>1?"i klju\u010Di":" klju\u010D"}: ${k(r.keys,", ")}`;case"invalid_key":return`Neveljaven klju\u010D v ${r.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${r.origin}`;default:return"Neveljaven vnos"}}};function lF(){return{localeError:FG()}}var hG=()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xE5lla"},set:{unit:"objekt",verb:"att inneh\xE5lla"},map:{unit:"objekt",verb:"att inneh\xE5lla"}};function t(r){return e[r]??null}let n={regex:"regulj\xE4rt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-adress",ipv6:"IPv6-adress",mac:"MAC-adress",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad str\xE4ng",base64url:"base64url-kodad str\xE4ng",json_string:"JSON-str\xE4ng",e164:"E.164-nummer",credit_card:"kreditkortsnummer",currency_code:"valutakod",iban:"IBAN",jwt:"JWT",template_literal:"mall-literal"},i={nan:"NaN",number:"antal",array:"lista"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ogiltig inmatning: f\xF6rv\xE4ntat instanceof ${r.expected}, fick ${c}`:`Ogiltig inmatning: f\xF6rv\xE4ntat ${o}, fick ${c}`}case"invalid_value":return r.values.length===1?`Ogiltig inmatning: f\xF6rv\xE4ntat ${G(r.values[0])}`:`Ogiltigt val: f\xF6rv\xE4ntade en av ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`F\xF6r stor(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${o}${r.maximum.toString()} ${a.unit??"element"}`:`F\xF6r stor(t): f\xF6rv\xE4ntat ${r.origin??"v\xE4rdet"} att ha ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`F\xF6r lite(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${o}${r.minimum.toString()} ${a.unit}`:`F\xF6r lite(t): f\xF6rv\xE4ntade ${r.origin??"v\xE4rdet"} att ha ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ogiltig str\xE4ng: m\xE5ste b\xF6rja med "${o.prefix}"`:o.format==="ends_with"?`Ogiltig str\xE4ng: m\xE5ste sluta med "${o.suffix}"`:o.format==="includes"?`Ogiltig str\xE4ng: m\xE5ste inneh\xE5lla "${o.includes}"`:o.format==="regex"?`Ogiltig str\xE4ng: m\xE5ste matcha m\xF6nstret "${o.pattern}"`:`Ogiltig(t) ${n[o.format]??r.format}`}case"not_multiple_of":return`Ogiltigt tal: m\xE5ste vara en multipel av ${r.divisor}`;case"unrecognized_keys":return`${r.keys.length>1?"Ok\xE4nda nycklar":"Ok\xE4nd nyckel"}: ${k(r.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${r.origin??"v\xE4rdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xE4rde i ${r.origin??"v\xE4rdet"}`;default:return"Ogiltig input"}}};function dF(){return{localeError:hG()}}var PG=()=>{let e={string:{unit:"\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},file:{unit:"\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},array:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},set:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},map:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"}};function t(r){return e[r]??null}let n={regex:"\u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1",email:"\u0BAE\u0BBF\u0BA9\u0BCD\u0BA9\u0B9E\u0BCD\u0B9A\u0BB2\u0BCD \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0BA4\u0BC7\u0BA4\u0BBF \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",date:"ISO \u0BA4\u0BC7\u0BA4\u0BBF",time:"ISO \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",duration:"ISO \u0B95\u0BBE\u0BB2 \u0B85\u0BB3\u0BB5\u0BC1",ipv4:"IPv4 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",ipv6:"IPv6 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",mac:"MAC \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",cidrv4:"IPv4 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",cidrv6:"IPv6 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",base64:"base64-encoded \u0B9A\u0BB0\u0BAE\u0BCD",base64url:"base64url-encoded \u0B9A\u0BB0\u0BAE\u0BCD",json_string:"JSON \u0B9A\u0BB0\u0BAE\u0BCD",e164:"E.164 \u0B8E\u0BA3\u0BCD",credit_card:"\u0B95\u0B9F\u0BA9\u0BCD \u0B85\u0B9F\u0BCD\u0B9F\u0BC8 \u0B8E\u0BA3\u0BCD",currency_code:"\u0BA8\u0BBE\u0BA3\u0BAF\u0B95\u0BCD \u0B95\u0BC1\u0BB1\u0BBF\u0BAF\u0BC0\u0B9F\u0BC1",iban:"IBAN",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"\u0B8E\u0BA3\u0BCD",array:"\u0B85\u0BA3\u0BBF",null:"\u0BB5\u0BC6\u0BB1\u0BC1\u0BAE\u0BC8"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 instanceof ${r.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${c}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${o}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${c}`}case"invalid_value":return r.values.length===1?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${G(r.values[0])}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0BB0\u0BC1\u0BAA\u0BCD\u0BAA\u0BAE\u0BCD: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${k(r.values,"|")} \u0B87\u0BB2\u0BCD \u0B92\u0BA9\u0BCD\u0BB1\u0BC1`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${o}${r.maximum.toString()} ${a.unit??"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD"} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${o}${r.maximum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin} ${o}${r.minimum.toString()} ${a.unit} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r.origin} ${o}${r.minimum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${o.prefix}" \u0B87\u0BB2\u0BCD \u0BA4\u0BCA\u0B9F\u0B99\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:o.format==="ends_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${o.suffix}" \u0B87\u0BB2\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0B9F\u0BC8\u0BAF \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:o.format==="includes"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${o.includes}" \u0B90 \u0B89\u0BB3\u0BCD\u0BB3\u0B9F\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:o.format==="regex"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: ${o.pattern} \u0BAE\u0BC1\u0BB1\u0BC8\u0BAA\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0B9F\u0BA9\u0BCD \u0BAA\u0BCA\u0BB0\u0BC1\u0BA8\u0BCD\u0BA4 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B8E\u0BA3\u0BCD: ${r.divisor} \u0B87\u0BA9\u0BCD \u0BAA\u0BB2\u0BAE\u0BBE\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`;case"unrecognized_keys":return`\u0B85\u0B9F\u0BC8\u0BAF\u0BBE\u0BB3\u0BAE\u0BCD \u0BA4\u0BC6\u0BB0\u0BBF\u0BAF\u0BBE\u0BA4 \u0BB5\u0BBF\u0B9A\u0BC8${r.keys.length>1?"\u0B95\u0BB3\u0BCD":""}: ${k(r.keys,", ")}`;case"invalid_key":return`${r.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0B9A\u0BC8`;case"invalid_union":return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1";case"invalid_element":return`${r.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1`;default:return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1"}}};function fF(){return{localeError:PG()}}var vG=()=>{let e={string:{unit:"\u0430\u043B\u043E\u043C\u0430\u0442",verb:"\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434"},file:{unit:"\u0431\u0430\u0439\u0442",verb:"\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434"},array:{unit:"\u0443\u043D\u0441\u0443\u0440",verb:"\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434"},set:{unit:"\u0443\u043D\u0441\u0443\u0440",verb:"\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434"},map:{unit:"\u0441\u0430\u0431\u0442",verb:"\u0434\u043E\u0448\u0442\u0430 \u0431\u043E\u0448\u0430\u0434"}};function t(r){return e[r]??null}let n={regex:"\u0432\u0443\u0440\u0443\u0434",email:"\u0441\u0443\u0440\u043E\u0493\u0430\u0438 email",url:"URL",emoji:"\u044D\u043C\u043E\u04B7\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0441\u0430\u043D\u0430\u0432\u0443 \u0432\u0430\u049B\u0442\u0438 ISO",date:"\u0441\u0430\u043D\u0430\u0438 ISO",time:"\u0432\u0430\u049B\u0442\u0438 ISO",duration:"\u0434\u0430\u0432\u043E\u043C\u043D\u043E\u043A\u0438\u0438 ISO",ipv4:"\u0441\u0443\u0440\u043E\u0493\u0430\u0438 IPv4",ipv6:"\u0441\u0443\u0440\u043E\u0493\u0430\u0438 IPv6",mac:"\u0441\u0443\u0440\u043E\u0493\u0430\u0438 MAC",cidrv4:"\u043C\u0430\u04B3\u0434\u0443\u0434\u0430\u0438 IPv4",cidrv6:"\u043C\u0430\u04B3\u0434\u0443\u0434\u0430\u0438 IPv6",base64:"\u0441\u0430\u0442\u0440\u0438 \u0434\u0430\u0440 \u0444\u043E\u0440\u043C\u0430\u0442\u0438 base64",base64url:"\u0441\u0430\u0442\u0440\u0438 \u0434\u0430\u0440 \u0444\u043E\u0440\u043C\u0430\u0442\u0438 base64url",json_string:"\u0441\u0430\u0442\u0440\u0438 JSON",e164:"\u0440\u0430\u049B\u0430\u043C\u0438 E.164",credit_card:"\u0440\u0430\u049B\u0430\u043C\u0438 \u043A\u043E\u0440\u0442\u0438 \u043A\u0440\u0435\u0434\u0438\u0442\u04E3",currency_code:"\u0440\u0430\u043C\u0437\u0438 \u0430\u0441\u044A\u043E\u0440",iban:"IBAN",jwt:"JWT",template_literal:"\u0432\u0443\u0440\u0443\u0434"},i={nan:"NaN",number:"\u0440\u0430\u049B\u0430\u043C",string:"\u0441\u0430\u0442\u0440",array:"\u043C\u0430\u0441\u0441\u0438\u0432",object:"\u043E\u0431\u044A\u0435\u043A\u0442",date:"\u0441\u0430\u043D\u0430"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return`\u0412\u0443\u0440\u0443\u0434\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: ${o} \u0438\u043D\u0442\u0438\u0437\u043E\u0440 \u043C\u0435\u0440\u0430\u0444\u0442, ${c} \u0433\u0438\u0440\u0438\u0444\u0442\u0430 \u0448\u0443\u0434`}case"invalid_value":return r.values.length===1?`\u0412\u0443\u0440\u0443\u0434\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: ${G(r.values[0])} \u0438\u043D\u0442\u0438\u0437\u043E\u0440 \u043C\u0435\u0440\u0430\u0444\u0442`:`\u0418\u043D\u0442\u0438\u0445\u043E\u0431\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: \u044F\u043A\u0435 \u0430\u0437 ${k(r.values,"|")} \u0438\u043D\u0442\u0438\u0437\u043E\u0440 \u043C\u0435\u0440\u0430\u0444\u0442`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0425\u0435\u043B\u0435 \u043A\u0430\u043B\u043E\u043D: ${r.origin??"\u049B\u0438\u043C\u0430\u0442"} \u0431\u043E\u044F\u0434 ${o}${r.maximum.toString()} ${a.unit} ${a.verb}`:`\u0425\u0435\u043B\u0435 \u043A\u0430\u043B\u043E\u043D: ${r.origin??"\u049B\u0438\u043C\u0430\u0442"} \u0431\u043E\u044F\u0434 ${o}${r.maximum.toString()} \u0431\u043E\u0448\u0430\u0434`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u0425\u0435\u043B\u0435 \u0445\u0443\u0440\u0434: ${r.origin} \u0431\u043E\u044F\u0434 ${o}${r.minimum.toString()} ${a.unit} ${a.verb}`:`\u0425\u0435\u043B\u0435 \u0445\u0443\u0440\u0434: ${r.origin} \u0431\u043E\u044F\u0434 ${o}${r.minimum.toString()} \u0431\u043E\u0448\u0430\u0434`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0421\u0430\u0442\u0440\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: \u0431\u043E\u044F\u0434 \u0431\u043E "${o.prefix}" \u043E\u0493\u043E\u0437 \u0448\u0430\u0432\u0430\u0434`:o.format==="ends_with"?`\u0421\u0430\u0442\u0440\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: \u0431\u043E\u044F\u0434 \u0431\u043E "${o.suffix}" \u0430\u043D\u04B7\u043E\u043C \u0451\u0431\u0430\u0434`:o.format==="includes"?`\u0421\u0430\u0442\u0440\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: \u0431\u043E\u044F\u0434 "${o.includes}"-\u0440\u043E \u0434\u0430\u0440 \u0431\u0430\u0440 \u0433\u0438\u0440\u0430\u0434`:o.format==="regex"?`\u0421\u0430\u0442\u0440\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: \u0431\u043E\u044F\u0434 \u0431\u0430 \u043D\u0430\u043C\u0443\u043D\u0430\u0438 ${o.pattern} \u043C\u0443\u0432\u043E\u0444\u0438\u049B\u0430\u0442 \u043A\u0443\u043D\u0430\u0434`:`${n[o.format]??r.format}-\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442`}case"not_multiple_of":return`\u0420\u0430\u049B\u0430\u043C\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442: \u0431\u043E\u044F\u0434 \u0431\u0430 ${r.divisor} \u0431\u0435 \u0431\u0430\u049B\u0438\u044F \u0442\u0430\u049B\u0441\u0438\u043C \u0448\u0430\u0432\u0430\u0434`;case"unrecognized_keys":return`\u041A\u0430\u043B\u0438\u0434${r.keys.length>1?"\u04B3\u043E\u0438":"\u0438"} \u043D\u043E\u043C\u0430\u044A\u043B\u0443\u043C: ${k(r.keys,", ")}`;case"invalid_key":return`\u041A\u0430\u043B\u0438\u0434\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442 \u0434\u0430\u0440 ${r.origin}`;case"invalid_union":return r.options&&Array.isArray(r.options)&&r.options.length>0?`\u049A\u0438\u043C\u0430\u0442\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442\u0438 \u0434\u0438\u0441\u043A\u0440\u0438\u043C\u0438\u043D\u0430\u0442\u043E\u0440: ${r.options.map(a=>`'${a}'`).join(" | ")} \u0438\u043D\u0442\u0438\u0437\u043E\u0440 \u043C\u0435\u0440\u0430\u0444\u0442`:"\u0412\u0443\u0440\u0443\u0434\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442";case"invalid_element":return`\u049A\u0438\u043C\u0430\u0442\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442 \u0434\u0430\u0440 ${r.origin}`;default:return"\u0412\u0443\u0440\u0443\u0434\u0438 \u043D\u043E\u0434\u0443\u0440\u0443\u0441\u0442"}}};function mF(){return{localeError:vG()}}var DG=()=>{let e={string:{unit:"\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},file:{unit:"\u0E44\u0E1A\u0E15\u0E4C",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},array:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},set:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},map:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"}};function t(r){return e[r]??null}let n={regex:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19",email:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E2D\u0E35\u0E40\u0E21\u0E25",url:"URL",emoji:"\u0E2D\u0E34\u0E42\u0E21\u0E08\u0E34",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",date:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E1A\u0E1A ISO",time:"\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",duration:"\u0E0A\u0E48\u0E27\u0E07\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",ipv4:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv4",ipv6:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv6",mac:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 MAC",cidrv4:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv4",cidrv6:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv6",base64:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64",base64url:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64 \u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A URL",json_string:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",e164:"\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",credit_card:"\u0E2B\u0E21\u0E32\u0E22\u0E40\u0E25\u0E02\u0E1A\u0E31\u0E15\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15",currency_code:"\u0E23\u0E2B\u0E31\u0E2A\u0E2A\u0E01\u0E38\u0E25\u0E40\u0E07\u0E34\u0E19",iban:"IBAN",jwt:"\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",template_literal:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"},i={nan:"NaN",number:"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02",array:"\u0E2D\u0E32\u0E23\u0E4C\u0E40\u0E23\u0E22\u0E4C (Array)",null:"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E48\u0E32 (null)"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 instanceof ${r.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${c}`:`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${o} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${c}`}case"invalid_value":return r.values.length===1?`\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${G(r.values[0])}`:`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19 ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19":"\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",a=t(r.origin);return a?`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${r.maximum.toString()} ${a.unit??"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}`:`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?"\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22":"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",a=t(r.origin);return a?`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${r.minimum.toString()} ${a.unit}`:`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${r.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${o} ${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E02\u0E36\u0E49\u0E19\u0E15\u0E49\u0E19\u0E14\u0E49\u0E27\u0E22 "${o.prefix}"`:o.format==="ends_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E25\u0E07\u0E17\u0E49\u0E32\u0E22\u0E14\u0E49\u0E27\u0E22 "${o.suffix}"`:o.format==="includes"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35 "${o.includes}" \u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21`:o.format==="regex"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14 ${o.pattern}`:`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: ${n[o.format]??r.format}`}case"not_multiple_of":return`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E1B\u0E47\u0E19\u0E08\u0E33\u0E19\u0E27\u0E19\u0E17\u0E35\u0E48\u0E2B\u0E32\u0E23\u0E14\u0E49\u0E27\u0E22 ${r.divisor} \u0E44\u0E14\u0E49\u0E25\u0E07\u0E15\u0E31\u0E27`;case"unrecognized_keys":return`\u0E1E\u0E1A\u0E04\u0E35\u0E22\u0E4C\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E23\u0E39\u0E49\u0E08\u0E31\u0E01: ${k(r.keys,", ")}`;case"invalid_key":return`\u0E04\u0E35\u0E22\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${r.origin}`;case"invalid_union":return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E44\u0E21\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E22\u0E39\u0E40\u0E19\u0E35\u0E22\u0E19\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E44\u0E27\u0E49";case"invalid_element":return`\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${r.origin}`;default:return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07"}}};function _F(){return{localeError:DG()}}var yG=()=>{let e={string:{unit:"simwol",verb:"bolmaly"},file:{unit:"ba\xFDt",verb:"bolmaly"},array:{unit:"elementler",verb:"bolmaly"},set:{unit:"elementler",verb:"bolmaly"},map:{unit:"elementler",verb:"bolmaly"}};function t(r){return e[r]??null}let n={regex:"giri\u015F",email:"e-po\xE7ta salgysy",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sene we wagt",date:"ISO sene",time:"ISO wagt",duration:"ISO wagt aralygy",ipv4:"IPv4 salgysy",ipv6:"IPv6 salgysy",mac:"MAC salgysy",cidrv4:"IPv4 aralygy",cidrv6:"IPv6 aralygy",base64:"base64 bilen \u015Fifrlenen setir",base64url:"base64url bilen \u015Fifrlenen setir",json_string:"JSON setiri",e164:"E.164 nomeri",credit_card:"kredit kartyny\u0148 nomeri",currency_code:"wal\xFDuta kody",iban:"IBAN",jwt:"JWT",template_literal:"\u015Fablon"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return`N\xE4dogry baha: gara\u015Fylan ${o} \xFDerine ${c} alyndy`}case"invalid_value":return r.values.length===1?`N\xE4dogry baha: ${G(r.values[0])} bolmaly`:`N\xE4dogry sa\xFDlaw: a\u015Fakdakylardan biri bolmaly: ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Has uly: gara\u015Fyl\xFDan ${r.origin??"baha"} ${o} ${r.maximum.toString()} ${a.unit??"element"}`:`Has uly: gara\u015Fyl\xFDan ${r.origin??"baha"} ${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Has ki\xE7i: gara\u015Fyl\xFDan ${r.origin} ${o} ${r.minimum.toString()} ${a.unit}`:`Has ki\xE7i: gara\u015Fyl\xFDan ${r.origin} ${o} ${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`N\xE4dogry setir: "${o.prefix}" bilen ba\u015Flamaly`:o.format==="ends_with"?`N\xE4dogry setir: "${o.suffix}" bilen gutarmaly`:o.format==="includes"?`N\xE4dogry setir: "${o.includes}" saklamaly`:o.format==="regex"?`N\xE4dogry setir: ${o.pattern} nusga la\xFDyk bolmaly`:`N\xE4dogry ${n[o.format]??r.format}`}case"not_multiple_of":return`N\xE4dogry san: ${r.divisor} bilen galyndysyz b\xF6l\xFCnmeli`;case"unrecognized_keys":return`Tanalma\xFDan a\xE7ar${r.keys.length>1?"lar":""}: ${k(r.keys,", ")}`;case"invalid_key":return`${r.origin} i\xE7inde n\xE4dogry a\xE7ar`;case"invalid_union":return"N\xE4dogry baha";case"invalid_element":return`${r.origin} i\xE7inde n\xE4dogry baha`;default:return"N\xE4dogry baha"}}};function pF(){return{localeError:yG()}}var bG=()=>{let e={string:{unit:"karakter",verb:"olmal\u0131"},file:{unit:"bayt",verb:"olmal\u0131"},array:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},set:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},map:{unit:"\xF6\u011Fe",verb:"olmal\u0131"}};function t(r){return e[r]??null}let n={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO s\xFCre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",mac:"MAC adresi",cidrv4:"IPv4 aral\u0131\u011F\u0131",cidrv6:"IPv6 aral\u0131\u011F\u0131",base64:"base64 ile \u015Fifrelenmi\u015F metin",base64url:"base64url ile \u015Fifrelenmi\u015F metin",json_string:"JSON dizesi",e164:"E.164 say\u0131s\u0131",credit_card:"kredi kart\u0131 numaras\u0131",currency_code:"para birimi kodu",iban:"IBAN",jwt:"JWT",template_literal:"\u015Eablon dizesi"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ge\xE7ersiz de\u011Fer: beklenen instanceof ${r.expected}, al\u0131nan ${c}`:`Ge\xE7ersiz de\u011Fer: beklenen ${o}, al\u0131nan ${c}`}case"invalid_value":return r.values.length===1?`Ge\xE7ersiz de\u011Fer: beklenen ${G(r.values[0])}`:`Ge\xE7ersiz se\xE7enek: a\u015Fa\u011F\u0131dakilerden biri olmal\u0131: ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\xC7ok b\xFCy\xFCk: beklenen ${r.origin??"de\u011Fer"} ${o}${r.maximum.toString()} ${a.unit??"\xF6\u011Fe"}`:`\xC7ok b\xFCy\xFCk: beklenen ${r.origin??"de\u011Fer"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\xC7ok k\xFC\xE7\xFCk: beklenen ${r.origin} ${o}${r.minimum.toString()} ${a.unit}`:`\xC7ok k\xFC\xE7\xFCk: beklenen ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Ge\xE7ersiz metin: "${o.prefix}" ile ba\u015Flamal\u0131`:o.format==="ends_with"?`Ge\xE7ersiz metin: "${o.suffix}" ile bitmeli`:o.format==="includes"?`Ge\xE7ersiz metin: "${o.includes}" i\xE7ermeli`:o.format==="regex"?`Ge\xE7ersiz metin: ${o.pattern} desenine uymal\u0131`:`Ge\xE7ersiz ${n[o.format]??r.format}`}case"not_multiple_of":return`Ge\xE7ersiz say\u0131: ${r.divisor} ile tam b\xF6l\xFCnebilmeli`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar${r.keys.length>1?"lar":""}: ${k(r.keys,", ")}`;case"invalid_key":return`${r.origin} i\xE7inde ge\xE7ersiz anahtar`;case"invalid_union":return"Ge\xE7ersiz de\u011Fer";case"invalid_element":return`${r.origin} i\xE7inde ge\xE7ersiz de\u011Fer`;default:return"Ge\xE7ersiz de\u011Fer"}}};function gF(){return{localeError:bG()}}var SG=()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},file:{unit:"\u0431\u0430\u0439\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},map:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"}};function t(r){return e[r]??null}let n={regex:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u0438",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0434\u0430\u0442\u0430 \u0442\u0430 \u0447\u0430\u0441 ISO",date:"\u0434\u0430\u0442\u0430 ISO",time:"\u0447\u0430\u0441 ISO",duration:"\u0442\u0440\u0438\u0432\u0430\u043B\u0456\u0441\u0442\u044C ISO",ipv4:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv4",ipv6:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv6",mac:"\u0430\u0434\u0440\u0435\u0441\u0430 MAC",cidrv4:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv4",cidrv6:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv6",base64:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64",base64url:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64url",json_string:"\u0440\u044F\u0434\u043E\u043A JSON",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",credit_card:"\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0457 \u043A\u0430\u0440\u0442\u043A\u0438",currency_code:"\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u0438",iban:"IBAN",jwt:"JWT",template_literal:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"},i={nan:"NaN",number:"\u0447\u0438\u0441\u043B\u043E",array:"\u043C\u0430\u0441\u0438\u0432"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F instanceof ${r.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${c}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${o}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${c}`}case"invalid_value":return r.values.length===1?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${G(r.values[0])}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0430 \u043E\u043F\u0446\u0456\u044F: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F \u043E\u0434\u043D\u0435 \u0437 ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} ${a.verb} ${o}${r.maximum.toString()} ${a.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432"}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} \u0431\u0443\u0434\u0435 ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin} ${a.verb} ${o}${r.minimum.toString()} ${a.unit}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${r.origin} \u0431\u0443\u0434\u0435 ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043F\u043E\u0447\u0438\u043D\u0430\u0442\u0438\u0441\u044F \u0437 "${o.prefix}"`:o.format==="ends_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0437\u0430\u043A\u0456\u043D\u0447\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 "${o.suffix}"`:o.format==="includes"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0456\u0441\u0442\u0438\u0442\u0438 "${o.includes}"`:o.format==="regex"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${o.pattern}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0447\u0438\u0441\u043B\u043E: \u043F\u043E\u0432\u0438\u043D\u043D\u043E \u0431\u0443\u0442\u0438 \u043A\u0440\u0430\u0442\u043D\u0438\u043C ${r.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u0438\u0439 \u043A\u043B\u044E\u0447${r.keys.length>1?"\u0456":""}: ${k(r.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447 \u0443 ${r.origin}`;case"invalid_union":return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456";case"invalid_element":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0443 ${r.origin}`;default:return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"}}};function $a(){return{localeError:SG()}}function FF(){return $a()}var $G=()=>{let e={string:{unit:"\u062D\u0631\u0648\u0641",verb:"\u06C1\u0648\u0646\u0627"},file:{unit:"\u0628\u0627\u0626\u0679\u0633",verb:"\u06C1\u0648\u0646\u0627"},array:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},set:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},map:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"}};function t(r){return e[r]??null}let n={regex:"\u0627\u0646 \u067E\u0679",email:"\u0627\u06CC \u0645\u06CC\u0644 \u0627\u06CC\u0688\u0631\u06CC\u0633",url:"\u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",uuidv4:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 4",uuidv6:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 6",nanoid:"\u0646\u06CC\u0646\u0648 \u0622\u0626\u06CC \u0688\u06CC",guid:"\u062C\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid2:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC 2",ulid:"\u06CC\u0648 \u0627\u06CC\u0644 \u0622\u0626\u06CC \u0688\u06CC",xid:"\u0627\u06CC\u06A9\u0633 \u0622\u0626\u06CC \u0688\u06CC",ksuid:"\u06A9\u06D2 \u0627\u06CC\u0633 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",datetime:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0688\u06CC\u0679 \u0679\u0627\u0626\u0645",date:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u062A\u0627\u0631\u06CC\u062E",time:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0648\u0642\u062A",duration:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0645\u062F\u062A",ipv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0627\u06CC\u0688\u0631\u06CC\u0633",ipv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0627\u06CC\u0688\u0631\u06CC\u0633",mac:"\u0627\u06CC\u0645 \u0627\u06D2 \u0633\u06CC \u0627\u06CC\u0688\u0631\u06CC\u0633",cidrv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0631\u06CC\u0646\u062C",cidrv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0631\u06CC\u0646\u062C",base64:"\u0628\u06CC\u0633 64 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",base64url:"\u0628\u06CC\u0633 64 \u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",json_string:"\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",e164:"\u0627\u06CC 164 \u0646\u0645\u0628\u0631",credit_card:"\u06A9\u0631\u06CC\u0688\u0679 \u06A9\u0627\u0631\u0688 \u0646\u0645\u0628\u0631",currency_code:"\u06A9\u0631\u0646\u0633\u06CC \u06A9\u0648\u0688",iban:"IBAN",jwt:"\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",template_literal:"\u0627\u0646 \u067E\u0679"},i={nan:"NaN",number:"\u0646\u0645\u0628\u0631",array:"\u0622\u0631\u06D2",null:"\u0646\u0644"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: instanceof ${r.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${c} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`:`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${o} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${c} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`}case"invalid_value":return r.values.length===1?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${G(r.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`:`\u063A\u0644\u0637 \u0622\u067E\u0634\u0646: ${k(r.values,"|")} \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u0628\u06C1\u062A \u0628\u0691\u0627: ${r.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u06D2 ${o}${r.maximum.toString()} ${a.unit??"\u0639\u0646\u0627\u0635\u0631"} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0628\u0691\u0627: ${r.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u0627 ${o}${r.maximum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${r.origin} \u06A9\u06D2 ${o}${r.minimum.toString()} ${a.unit} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${r.origin} \u06A9\u0627 ${o}${r.minimum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${o.prefix}" \u0633\u06D2 \u0634\u0631\u0648\u0639 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:o.format==="ends_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${o.suffix}" \u067E\u0631 \u062E\u062A\u0645 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:o.format==="includes"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${o.includes}" \u0634\u0627\u0645\u0644 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:o.format==="regex"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: \u067E\u06CC\u0679\u0631\u0646 ${o.pattern} \u0633\u06D2 \u0645\u06CC\u0686 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:`\u063A\u0644\u0637 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u063A\u0644\u0637 \u0646\u0645\u0628\u0631: ${r.divisor} \u06A9\u0627 \u0645\u0636\u0627\u0639\u0641 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`;case"unrecognized_keys":return`\u063A\u06CC\u0631 \u062A\u0633\u0644\u06CC\u0645 \u0634\u062F\u06C1 \u06A9\u06CC${r.keys.length>1?"\u0632":""}: ${k(r.keys,"\u060C ")}`;case"invalid_key":return`${r.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u06A9\u06CC`;case"invalid_union":return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679";case"invalid_element":return`${r.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u0648\u06CC\u0644\u06CC\u0648`;default:return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679"}}};function hF(){return{localeError:$G()}}var xG=()=>{let e={string:{unit:"belgi",verb:"bo\u2018lishi kerak"},file:{unit:"bayt",verb:"bo\u2018lishi kerak"},array:{unit:"element",verb:"bo\u2018lishi kerak"},set:{unit:"element",verb:"bo\u2018lishi kerak"},map:{unit:"yozuv",verb:"bo\u2018lishi kerak"}};function t(r){return e[r]??null}let n={regex:"kirish",email:"elektron pochta manzili",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO sana va vaqti",date:"ISO sana",time:"ISO vaqt",duration:"ISO davomiylik",ipv4:"IPv4 manzil",ipv6:"IPv6 manzil",mac:"MAC manzil",cidrv4:"IPv4 diapazon",cidrv6:"IPv6 diapazon",base64:"base64 kodlangan satr",base64url:"base64url kodlangan satr",json_string:"JSON satr",e164:"E.164 raqam",credit_card:"kredit karta raqami",currency_code:"valyuta kodi",iban:"IBAN",jwt:"JWT",template_literal:"kirish"},i={nan:"NaN",number:"raqam",array:"massiv"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`Noto\u2018g\u2018ri kirish: kutilgan instanceof ${r.expected}, qabul qilingan ${c}`:`Noto\u2018g\u2018ri kirish: kutilgan ${o}, qabul qilingan ${c}`}case"invalid_value":return r.values.length===1?`Noto\u2018g\u2018ri kirish: kutilgan ${G(r.values[0])}`:`Noto\u2018g\u2018ri variant: quyidagilardan biri kutilgan ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Juda katta: kutilgan ${r.origin??"qiymat"} ${o}${r.maximum.toString()} ${a.unit} ${a.verb}`:`Juda katta: kutilgan ${r.origin??"qiymat"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Juda kichik: kutilgan ${r.origin} ${o}${r.minimum.toString()} ${a.unit} ${a.verb}`:`Juda kichik: kutilgan ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Noto\u2018g\u2018ri satr: "${o.prefix}" bilan boshlanishi kerak`:o.format==="ends_with"?`Noto\u2018g\u2018ri satr: "${o.suffix}" bilan tugashi kerak`:o.format==="includes"?`Noto\u2018g\u2018ri satr: "${o.includes}" ni o\u2018z ichiga olishi kerak`:o.format==="regex"?`Noto\u2018g\u2018ri satr: ${o.pattern} shabloniga mos kelishi kerak`:`Noto\u2018g\u2018ri ${n[o.format]??r.format}`}case"not_multiple_of":return`Noto\u2018g\u2018ri raqam: ${r.divisor} ning karralisi bo\u2018lishi kerak`;case"unrecognized_keys":return`Noma\u2019lum kalit${r.keys.length>1?"lar":""}: ${k(r.keys,", ")}`;case"invalid_key":return`${r.origin} dagi kalit noto\u2018g\u2018ri`;case"invalid_union":return"Noto\u2018g\u2018ri kirish";case"invalid_element":return`${r.origin} da noto\u2018g\u2018ri qiymat`;default:return"Noto\u2018g\u2018ri kirish"}}};function PF(){return{localeError:xG()}}var IG=()=>{let e={string:{unit:"k\xFD t\u1EF1",verb:"c\xF3"},file:{unit:"byte",verb:"c\xF3"},array:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},set:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},map:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"}};function t(r){return e[r]??null}let n={regex:"\u0111\u1EA7u v\xE0o",email:"\u0111\u1ECBa ch\u1EC9 email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ng\xE0y gi\u1EDD ISO",date:"ng\xE0y ISO",time:"gi\u1EDD ISO",duration:"kho\u1EA3ng th\u1EDDi gian ISO",ipv4:"\u0111\u1ECBa ch\u1EC9 IPv4",ipv6:"\u0111\u1ECBa ch\u1EC9 IPv6",mac:"\u0111\u1ECBa ch\u1EC9 MAC",cidrv4:"d\u1EA3i IPv4",cidrv6:"d\u1EA3i IPv6",base64:"chu\u1ED7i m\xE3 h\xF3a base64",base64url:"chu\u1ED7i m\xE3 h\xF3a base64url",json_string:"chu\u1ED7i JSON",e164:"s\u1ED1 E.164",credit_card:"s\u1ED1 th\u1EBB t\xEDn d\u1EE5ng",currency_code:"m\xE3 ti\u1EC1n t\u1EC7",iban:"IBAN",jwt:"JWT",template_literal:"\u0111\u1EA7u v\xE0o"},i={nan:"NaN",number:"s\u1ED1",array:"m\u1EA3ng"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i instanceof ${r.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${c}`:`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${o}, nh\u1EADn \u0111\u01B0\u1EE3c ${c}`}case"invalid_value":return r.values.length===1?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${G(r.values[0])}`:`T\xF9y ch\u1ECDn kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i m\u1ED9t trong c\xE1c gi\xE1 tr\u1ECB ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${r.origin??"gi\xE1 tr\u1ECB"} ${a.verb} ${o}${r.maximum.toString()} ${a.unit??"ph\u1EA7n t\u1EED"}`:`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${r.origin??"gi\xE1 tr\u1ECB"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${r.origin} ${a.verb} ${o}${r.minimum.toString()} ${a.unit}`:`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i b\u1EAFt \u0111\u1EA7u b\u1EB1ng "${o.prefix}"`:o.format==="ends_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i k\u1EBFt th\xFAc b\u1EB1ng "${o.suffix}"`:o.format==="includes"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i bao g\u1ED3m "${o.includes}"`:o.format==="regex"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i kh\u1EDBp v\u1EDBi m\u1EABu ${o.pattern}`:`${n[o.format]??r.format} kh\xF4ng h\u1EE3p l\u1EC7`}case"not_multiple_of":return`S\u1ED1 kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i l\xE0 b\u1ED9i s\u1ED1 c\u1EE7a ${r.divisor}`;case"unrecognized_keys":return`Kh\xF3a kh\xF4ng \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng: ${k(r.keys,", ")}`;case"invalid_key":return`Kh\xF3a kh\xF4ng h\u1EE3p l\u1EC7 trong ${r.origin}`;case"invalid_union":return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7";case"invalid_element":return`Gi\xE1 tr\u1ECB kh\xF4ng h\u1EE3p l\u1EC7 trong ${r.origin}`;default:return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7"}}};function vF(){return{localeError:IG()}}var kG=()=>{let e={string:{unit:"\u5B57\u7B26",verb:"\u5305\u542B"},file:{unit:"\u5B57\u8282",verb:"\u5305\u542B"},array:{unit:"\u9879",verb:"\u5305\u542B"},set:{unit:"\u9879",verb:"\u5305\u542B"},map:{unit:"\u9879",verb:"\u5305\u542B"}};function t(r){return e[r]??null}let n={regex:"\u8F93\u5165",email:"\u7535\u5B50\u90AE\u4EF6",url:"URL",emoji:"\u8868\u60C5\u7B26\u53F7",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u671F\u65F6\u95F4",date:"ISO\u65E5\u671F",time:"ISO\u65F6\u95F4",duration:"ISO\u65F6\u957F",ipv4:"IPv4\u5730\u5740",ipv6:"IPv6\u5730\u5740",mac:"MAC\u5730\u5740",cidrv4:"IPv4\u7F51\u6BB5",cidrv6:"IPv6\u7F51\u6BB5",base64:"base64\u7F16\u7801\u5B57\u7B26\u4E32",base64url:"base64url\u7F16\u7801\u5B57\u7B26\u4E32",json_string:"JSON\u5B57\u7B26\u4E32",e164:"E.164\u53F7\u7801",credit_card:"\u4FE1\u7528\u5361\u53F7",currency_code:"\u8D27\u5E01\u4EE3\u7801",iban:"IBAN",jwt:"JWT",template_literal:"\u8F93\u5165"},i={nan:"NaN",number:"\u6570\u5B57",array:"\u6570\u7EC4",null:"\u7A7A\u503C(null)"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B instanceof ${r.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${c}`:`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${o}\uFF0C\u5B9E\u9645\u63A5\u6536 ${c}`}case"invalid_value":return r.values.length===1?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${G(r.values[0])}`:`\u65E0\u6548\u9009\u9879\uFF1A\u671F\u671B\u4EE5\u4E0B\u4E4B\u4E00 ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${r.origin??"\u503C"} ${o}${r.maximum.toString()} ${a.unit??"\u4E2A\u5143\u7D20"}`:`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${r.origin??"\u503C"} ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${r.origin} ${o}${r.minimum.toString()} ${a.unit}`:`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${r.origin} ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${o.prefix}" \u5F00\u5934`:o.format==="ends_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${o.suffix}" \u7ED3\u5C3E`:o.format==="includes"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u5305\u542B "${o.includes}"`:o.format==="regex"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u6EE1\u8DB3\u6B63\u5219\u8868\u8FBE\u5F0F ${o.pattern}`:`\u65E0\u6548${n[o.format]??r.format}`}case"not_multiple_of":return`\u65E0\u6548\u6570\u5B57\uFF1A\u5FC5\u987B\u662F ${r.divisor} \u7684\u500D\u6570`;case"unrecognized_keys":return`\u51FA\u73B0\u672A\u77E5\u7684\u952E(key): ${k(r.keys,", ")}`;case"invalid_key":return`${r.origin} \u4E2D\u7684\u952E(key)\u65E0\u6548`;case"invalid_union":return"\u65E0\u6548\u8F93\u5165";case"invalid_element":return`${r.origin} \u4E2D\u5305\u542B\u65E0\u6548\u503C(value)`;default:return"\u65E0\u6548\u8F93\u5165"}}};function DF(){return{localeError:kG()}}var AG=()=>{let e={string:{unit:"\u5B57\u5143",verb:"\u64C1\u6709"},file:{unit:"\u4F4D\u5143\u7D44",verb:"\u64C1\u6709"},array:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},set:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},map:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"}};function t(r){return e[r]??null}let n={regex:"\u8F38\u5165",email:"\u90F5\u4EF6\u5730\u5740",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u65E5\u671F\u6642\u9593",date:"ISO \u65E5\u671F",time:"ISO \u6642\u9593",duration:"ISO \u671F\u9593",ipv4:"IPv4 \u4F4D\u5740",ipv6:"IPv6 \u4F4D\u5740",mac:"MAC \u4F4D\u5740",cidrv4:"IPv4 \u7BC4\u570D",cidrv6:"IPv6 \u7BC4\u570D",base64:"base64 \u7DE8\u78BC\u5B57\u4E32",base64url:"base64url \u7DE8\u78BC\u5B57\u4E32",json_string:"JSON \u5B57\u4E32",e164:"E.164 \u6578\u503C",credit_card:"\u4FE1\u7528\u5361\u865F",currency_code:"\u8CA8\u5E63\u4EE3\u78BC",iban:"IBAN",jwt:"JWT",template_literal:"\u8F38\u5165"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA instanceof ${r.expected}\uFF0C\u4F46\u6536\u5230 ${c}`:`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${o}\uFF0C\u4F46\u6536\u5230 ${c}`}case"invalid_value":return r.values.length===1?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${G(r.values[0])}`:`\u7121\u6548\u7684\u9078\u9805\uFF1A\u9810\u671F\u70BA\u4EE5\u4E0B\u5176\u4E2D\u4E4B\u4E00 ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${r.origin??"\u503C"} \u61C9\u70BA ${o}${r.maximum.toString()} ${a.unit??"\u500B\u5143\u7D20"}`:`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${r.origin??"\u503C"} \u61C9\u70BA ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${r.origin} \u61C9\u70BA ${o}${r.minimum.toString()} ${a.unit}`:`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${r.origin} \u61C9\u70BA ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${o.prefix}" \u958B\u982D`:o.format==="ends_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${o.suffix}" \u7D50\u5C3E`:o.format==="includes"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u5305\u542B "${o.includes}"`:o.format==="regex"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u7B26\u5408\u683C\u5F0F ${o.pattern}`:`\u7121\u6548\u7684 ${n[o.format]??r.format}`}case"not_multiple_of":return`\u7121\u6548\u7684\u6578\u5B57\uFF1A\u5FC5\u9808\u70BA ${r.divisor} \u7684\u500D\u6578`;case"unrecognized_keys":return`\u7121\u6CD5\u8B58\u5225\u7684\u9375\u503C${r.keys.length>1?"\u5011":""}\uFF1A${k(r.keys,"\u3001")}`;case"invalid_key":return`${r.origin} \u4E2D\u6709\u7121\u6548\u7684\u9375\u503C`;case"invalid_union":return"\u7121\u6548\u7684\u8F38\u5165\u503C";case"invalid_element":return`${r.origin} \u4E2D\u6709\u7121\u6548\u7684\u503C`;default:return"\u7121\u6548\u7684\u8F38\u5165\u503C"}}};function yF(){return{localeError:AG()}}var wG=()=>{let e={string:{unit:"\xE0mi",verb:"n\xED"},file:{unit:"bytes",verb:"n\xED"},array:{unit:"nkan",verb:"n\xED"},set:{unit:"nkan",verb:"n\xED"},map:{unit:"nkan",verb:"n\xED"}};function t(r){return e[r]??null}let n={regex:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9",email:"\xE0d\xEDr\u1EB9\u0301s\xEC \xECm\u1EB9\u0301l\xEC",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\xE0k\xF3k\xF2 ISO",date:"\u1ECDj\u1ECD\u0301 ISO",time:"\xE0k\xF3k\xF2 ISO",duration:"\xE0k\xF3k\xF2 t\xF3 p\xE9 ISO",ipv4:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv4",ipv6:"\xE0d\xEDr\u1EB9\u0301s\xEC IPv6",mac:"\xE0d\xEDr\u1EB9\u0301s\xEC MAC",cidrv4:"\xE0gb\xE8gb\xE8 IPv4",cidrv6:"\xE0gb\xE8gb\xE8 IPv6",base64:"\u1ECD\u0300r\u1ECD\u0300 t\xED a k\u1ECD\u0301 n\xED base64",base64url:"\u1ECD\u0300r\u1ECD\u0300 base64url",json_string:"\u1ECD\u0300r\u1ECD\u0300 JSON",e164:"n\u1ECD\u0301mb\xE0 E.164",credit_card:"n\u1ECDmba kaadi gbese",currency_code:"koodu ow\xF3",iban:"IBAN",jwt:"JWT",template_literal:"\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"},i={nan:"NaN",number:"n\u1ECD\u0301mb\xE0",array:"akop\u1ECD"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=C(r.input),c=i[a]??a;return/^[A-Z]/.test(r.expected)?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi instanceof ${r.expected}, \xE0m\u1ECD\u0300 a r\xED ${c}`:`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${o}, \xE0m\u1ECD\u0300 a r\xED ${c}`}case"invalid_value":return r.values.length===1?`\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e: a n\xED l\xE1ti fi ${G(r.values[0])}`:`\xC0\u1E63\xE0y\xE0n a\u1E63\xEC\u1E63e: yan \u1ECD\u0300kan l\xE1ra ${k(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${r.origin??"iye"} ${a.verb} ${o}${r.maximum} ${a.unit}`:`T\xF3 p\u1ECD\u0300 j\xF9: a n\xED l\xE1ti j\u1EB9\u0301 ${o}${r.maximum}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 p\xE9 ${r.origin} ${a.verb} ${o}${r.minimum} ${a.unit}`:`K\xE9r\xE9 ju: a n\xED l\xE1ti j\u1EB9\u0301 ${o}${r.minimum}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\u1EB9\u0300r\u1EB9\u0300 p\u1EB9\u0300l\xFA "${o.prefix}"`:o.format==="ends_with"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 par\xED p\u1EB9\u0300l\xFA "${o.suffix}"`:o.format==="includes"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 n\xED "${o.includes}"`:o.format==="regex"?`\u1ECC\u0300r\u1ECD\u0300 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 b\xE1 \xE0p\u1EB9\u1EB9r\u1EB9 mu ${o.pattern}`:`A\u1E63\xEC\u1E63e: ${n[o.format]??r.format}`}case"not_multiple_of":return`N\u1ECD\u0301mb\xE0 a\u1E63\xEC\u1E63e: gb\u1ECD\u0301d\u1ECD\u0300 j\u1EB9\u0301 \xE8y\xE0 p\xEDp\xEDn ti ${r.divisor}`;case"unrecognized_keys":return`B\u1ECDt\xECn\xEC \xE0\xECm\u1ECD\u0300: ${k(r.keys,", ")}`;case"invalid_key":return`B\u1ECDt\xECn\xEC a\u1E63\xEC\u1E63e n\xEDn\xFA ${r.origin}`;case"invalid_union":return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e";case"invalid_element":return`Iye a\u1E63\xEC\u1E63e n\xEDn\xFA ${r.origin}`;default:return"\xCCb\xE1w\u1ECDl\xE9 a\u1E63\xEC\u1E63e"}}};function bF(){return{localeError:wG()}}var SF,cd=Symbol("ZodOutput"),ud=Symbol("ZodInput"),xa=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){let i=n[0];return this._map.set(t,i),i&&typeof i=="object"&&"id"in i&&this._idmap.set(i.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){let n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){let n=t._zod.parent;if(n){let i={...this.get(n)??{}};delete i.id;let r={...i,...this._map.get(t)};return Object.keys(r).length?r:void 0}return this._map.get(t)}has(t){return this._map.has(t)}};function Ia(){return new xa}(SF=globalThis).__zod_globalRegistry??(SF.__zod_globalRegistry=Ia());var ze=globalThis.__zod_globalRegistry;var Je=Symbol.for("zod.compile.invalid"),$F=Symbol.for("zod.compile.fallback"),xt=class extends Error{constructor(t="z.compile does not support async refinements, transforms, or checks"){super(t),this.name="ZodCompileAsyncError"}},le=class extends Error{constructor(t,n=!0){super(`z.compile does not support ${t}; this schema must use the runtime parser`),this.name="ZodCompileUnsupportedError",this.islandable=n}};function OG(e,t){try{return Aa(e,{assertOnly:!0})}catch{return t}}function md(e,t){try{let n=Aa(e),i=ka(e,n);return i._zod.bag.validator=OG(e,n),i}catch(n){if(t?.strict)throw n;return e}}function ka(e,t){if(Da(e))throw new le("a schema whose subtree contains a reference cycle");let n=pe(e),i=e._zod.run,r=i.__originalRun??i,o=(a,c)=>{if(c?.async||c?.direction==="backward"||c?.skipChecks||c?.[$F]||c&&ya(c,a.value))return r(a,c);let l=t(a.value);return l!==Je?(a.value=l,a):(c&&(c[$F]=!0),r(a,c))};return o.__originalRun=r,n._zod.bag.fallbackRun=r,n._zod.bag.validator=t,n._zod.run=o,i.__originalRun||TG(n,e,t),n}function TG(e,t,n){let i=e,r=t;if(typeof r.safeParse=="function"){let o=r.safeParse;i.safeParse=(a,c)=>{let l=n(a);return l!==Je?{success:!0,data:l}:o(a,c)}}if(typeof r.parse=="function"){let o=r.parse;i.parse=(a,c)=>{let l=n(a);return l!==Je?l:o(a,c)}}}function Aa(e,t){let n=!0;try{n=Da(e)}catch{}if(n)throw new le("a schema whose subtree contains a reference cycle");let i={constants:new Map,constantCounter:0,varCounter:0,definite:!0},r=new Rn(["input"]),o=$e(r,i,e,"input",!t?.assertOnly);r.write(o===null?"return true;":`return ${o};`);let a=["INVALID",...i.constants.keys()],c=[Je,...i.constants.values()],l=r.content.join(`
62
+ `),f=t?.debug?a.length>0?`// Constants: ${a.join(", ")}
63
+ ${l}`:l:"",g=Function,D=`return (input) => {
64
+ ${l}
65
+ }`,b;try{b=new g(...a,D)(...c)}catch(y){throw new le(`this schema (generated code failed to evaluate: ${y.message})`)}return t?.debug&&(b.code=f),b.definite=i.definite,b}function Y(e,t){for(let[i,r]of e.constants)if(r===t)return i;let n=`c${e.constantCounter++}`;return e.constants.set(n,t),n}function zn(e,t){return e.definite=!1,Y(e,t)}function q(e){return`v${e.varCounter++}`}function GG(e,t){let n=e._zod.run({value:t,issues:[]},{});if(n&&typeof n.then=="function")return Je;let i=n;return i.issues.length===0?i.value:Je}function Le(e,t,n,i,r=!0){let o=e.content.length,a=t.constants.size,c=t.constantCounter,l=t.varCounter;try{return $e(e,t,n,i,r)}catch(f){if(!(f instanceof le)||!f.islandable)throw f;if(e.content.length=o,t.constants.size>a){let g=Array.from(t.constants.keys()).slice(a);for(let D of g)t.constants.delete(D)}return t.constantCounter=c,t.varCounter=l,CG(e,t,n,i)}}function CG(e,t,n,i){t.definite=!1;let r=Y(t,n),o=Y(t,GG),a=q(t);return e.write(`const ${a} = ${o}(${r}, ${i});`),e.write(`if (${a} === INVALID) return INVALID;`),a}var RG=new Set(["max_size","min_size","size_equals","max_length","min_length","length_equals"]);function jG(e,t,n,i){let r=n._zod.def.checks;if(!r||r.length===0)return i;let o=i;for(let a of r){let c=a._zod.def;if(c.when&&!RG.has(c.check))throw new le('check with a custom "when" condition');switch(c.check){case"greater_than":NG(e,t,c,o);break;case"less_than":zG(e,t,c,o);break;case"multiple_of":LG(e,t,c,o);break;case"number_format":EF(e,c,o);break;case"min_length":{let l=un(c.minimum,"min_length"),f=ld(e,t,o,`${o}.length >= ${l} && ${o}.length < ${c.minimum*2}`);e.write(`if (${f} < ${l}) return INVALID;`);break}case"max_length":{let l=un(c.maximum,"max_length"),f=ld(e,t,o,`${o}.length > ${l}`);e.write(`if (${f} > ${l}) return INVALID;`);break}case"length_equals":{let l=un(c.length,"length_equals"),f=ld(e,t,o,`${o}.length >= ${l} && ${o}.length <= ${c.length*2}`);e.write(`if (${f} !== ${l}) return INVALID;`);break}case"min_size":e.write(`if (${o}.size < ${un(c.minimum,"min_size")}) return INVALID;`);break;case"max_size":e.write(`if (${o}.size > ${un(c.maximum,"max_size")}) return INVALID;`);break;case"size_equals":e.write(`if (${o}.size !== ${un(c.size,"size_equals")}) return INVALID;`);break;case"string_format":o=OF(e,t,c,o);break;case"custom":o=ZG(e,t,a,o);break;case"bigint_format":MG(e,c,o);break;case"mime_type":UG(e,t,c,o);break;case"property":WG(e,t,c,o);break;case"properties":BG(e,t,c,o);break;case"overwrite":{let l=q(t);VG(e,t,a,o,l),o=l;break}default:throw new le(`check type ${c.check}`)}}return o}function ld(e,t,n,i){let r=Y(t,Gn),o=q(t);return e.write(`const ${o} = typeof ${n} === "string" && ${i} ? ${r}(${n}) : ${n}.length;`),o}function un(e,t){if(typeof e!="number"||!Number.isFinite(e))throw new le(`${t} bound of type ${typeof e}`);return`${e}`}function wF(e,t){if(typeof t=="bigint")return`${t}n`;if(typeof t=="number"){if(Number.isNaN(t))throw new le("comparison check with NaN bound");return`${t}`}if(t instanceof Date){if(Number.isNaN(t.getTime()))throw new le("comparison check with Invalid Date bound");return Y(e,t)}throw new le(`comparison check bound of type ${typeof t}`)}function NG(e,t,n,i){let r=n.inclusive?"<":"<=";e.write(`if (${i} ${r} ${wF(t,n.value)}) return INVALID;`)}function zG(e,t,n,i){let r=n.inclusive?">":">=";e.write(`if (${i} ${r} ${wF(t,n.value)}) return INVALID;`)}function LG(e,t,n,i){if(typeof n.value=="bigint"){if(n.value===BigInt(0))throw new le("multiple_of check with a zero divisor");e.write(`if (${i} % ${n.value}n !== 0n) return INVALID;`)}else{let r=Y(t,Di);e.write(`if (${r}(${i}, ${un(n.value,"multiple_of")}) !== 0) return INVALID;`)}}function EF(e,t,n){let i=t.format;switch(i){case"safeint":e.write(`if (!Number.isSafeInteger(${n})) return INVALID;`);break;case"int32":e.write(`if (!Number.isInteger(${n}) || ${n} < -2147483648 || ${n} > 2147483647) return INVALID;`);break;case"uint32":e.write(`if (!Number.isInteger(${n}) || ${n} < 0 || ${n} > 4294967295) return INVALID;`);break;case"float32":e.write(`if (!Number.isFinite(${n}) || ${n} < -3.4028234663852886e38 || ${n} > 3.4028234663852886e38) return INVALID;`);break;case"float64":e.write(`if (!Number.isFinite(${n})) return INVALID;`);break;default:throw new le(`number format ${i}`)}}function MG(e,t,n){let i=t.format;if(i)switch(i){case"int64":e.write(`if (${n} < -9223372036854775808n || ${n} > 9223372036854775807n) return INVALID;`);break;case"uint64":e.write(`if (${n} < 0n || ${n} > 18446744073709551615n) return INVALID;`);break;default:throw new le(`bigint format ${i}`)}}function UG(e,t,n,i){let r=n.mime;if(r&&r.length>0){let o=Y(t,new Set(r));e.write(`if (!${o}.has(${i}.type)) return INVALID;`)}}function BG(e,t,n,i){if(n.when)throw new le('check with a custom "when" condition');e.write(`if (${i} == null) return INVALID;`);let r=n.shape;for(let o of Reflect.ownKeys(r)){let a=typeof o=="symbol"?Y(t,o):Ze(o),c=q(t);e.write(`const ${c} = ${i}[${a}];`),Le(e,t,r[o],c,!1)}}function WG(e,t,n,i){let r=`${i}[${JSON.stringify(n.property)}]`;$e(e,t,n.schema,r)}function VG(e,t,n,i,r){let o=n._zod.def.tx;if(!o)throw new le("overwrite check without a transform function");if(Ln(o))throw new xt("z.compile: async overwrite transforms are not supported");let a=Y(t,o);e.write(`const ${r} = ${a}(${i});`)}function dd(){throw new rt}function _d(e){this.issues.push(e)}function ZG(e,t,n,i){let r=n._zod.def;if(r.fn){if(Ln(r.fn))throw new xt("z.compile: async .refine() predicates are not supported");let o=zn(t,r.fn),a=Y(t,dd),c=q(t);return e.write(`const ${c} = ${o}(${i});`),e.write(`if (${c} instanceof Promise) ${a}();`),e.write(`if (!${c}) return INVALID;`),i}if(n._zod.check){if(Ln(n._zod.check))throw new xt("z.compile: async .superRefine() / check functions are not supported");let o=n._zod.check,c=zn(t,f=>{let g={value:f,issues:[],addIssue:_d};return o(g)instanceof Promise&&dd(),g.issues.length===0?g.value:Je}),l=q(t);return e.write(`const ${l} = ${c}(${i});`),e.write(`if (${l} === INVALID) return INVALID;`),l}throw new le("custom check without a predicate or check function")}var HG=new Set(["cidrv4","cuid","cuid2","date","datetime","duration","e164","email","emoji","ends_with","guid","includes","ipv4","ksuid","lowercase","mac","nanoid","regex","starts_with","time","ulid","uppercase","uuid","xid"]);function OF(e,t,n,i,r=!0){let o=n.format;if(o==="base64"){let f=Y(t,Mi);return e.write(`if (!${f}(${i})) return INVALID;`),i}if(o==="base64url"){let f=Y(t,ca);return e.write(`if (!${f}(${i})) return INVALID;`),i}if(o==="jwt"){let f=Y(t,da),g=Y(t,n.alg??null);return e.write(`if (!${f}(${i}, ${g})) return INVALID;`),i}if(o==="ipv6"){let f=Y(t,Li);return e.write(`if (!${f}(${i})) return INVALID;`),i}if(o==="cidrv6"){let f=Y(t,aa);return e.write(`if (!${f}(${i})) return INVALID;`),i}if(o==="credit_card"){let f=Y(t,ua);return e.write(`if (!${f}(${i})) return INVALID;`),i}if(o==="iban"){let f=Y(t,la);return e.write(`if (!${f}(${i})) return INVALID;`),i}let a=n;if(o==="url"||o==="httpurl"||a.normalize||a.hostname!==void 0||a.protocol!==void 0){let f=Y(t,ra),g=Y(t,n),D=q(t),b=q(t);if(e.write(`const ${D} = ${i}.trim();`),e.write(`const ${b} = ${f}(${D}, ${g});`),e.write(`if (typeof ${b} === "number") return INVALID;`),a.hostname!==void 0){let E=Y(t,ia);e.write(`if (!${E}(${b}, ${g}.hostname)) return INVALID;`)}if(a.protocol!==void 0){let E=Y(t,oa);e.write(`if (!${E}(${b}, ${g}.protocol)) return INVALID;`)}if(!r)return null;let y=q(t),$=a.normalize?`${b}.href`:`${Y(t,zi)}(${D})`;return e.write(`const ${y} = ${$};`),y}let c=n.fn;if(c){if(Ln(c))throw new le(`async string format ${o}`);let f=Y(t,c);return e.write(`if (!${f}(${i})) return INVALID;`),i}if(HG.has(o)&&n.pattern){let f=Y(t,n.pattern);return e.write(`${f}.lastIndex = 0;`),e.write(`if (!${f}.test(${i})) return INVALID;`),i}let l=n.format;switch(l){case"regex":throw new le("regex format without a pattern");case"lowercase":e.write(`if (${i} !== ${i}.toLowerCase()) return INVALID;`);break;case"uppercase":e.write(`if (${i} !== ${i}.toUpperCase()) return INVALID;`);break;case"includes":e.write(`if (!${i}.includes(${Ze(n.includes)})) return INVALID;`);break;case"starts_with":{let f=n.prefix;e.write(`if (${i}.slice(0, ${f.length}) !== ${Ze(f)}) return INVALID;`);break}case"ends_with":{let f=n.suffix;e.write(`if (${i}.slice(-${f.length}) !== ${Ze(f)}) return INVALID;`);break}default:throw new le(`string format ${l}`)}return i}function $e(e,t,n,i,r=!0){let o=n._zod.def,a=o.type;if(o.coerce)throw new le(`coercion (z.coerce.${a}())`);let c=r||!!o.checks?.length,l;switch(a){case"string":l=JG(e,t,n,i,c);break;case"number":l=KG(e,n,i);break;case"boolean":l=qG(e,i);break;case"bigint":l=XG(e,n,i);break;case"symbol":l=YG(e,i);break;case"undefined":l=QG(e,i);break;case"null":l=eC(e,i);break;case"any":case"unknown":l=i;break;case"never":e.write("return INVALID;"),l=i;break;case"void":l=tC(e,i);break;case"nan":l=nC(e,i);break;case"date":l=rC(e,i);break;case"object":l=iC(e,t,n,i,c);break;case"optional":l=oC(e,t,n,i,c);break;case"nullable":l=cC(e,t,n,i,c);break;case"array":l=uC(e,t,n,i,c);break;case"literal":l=lC(e,t,n,i);break;case"enum":l=dC(e,t,n,i);break;case"readonly":{let f=IF(e,t,n,i),g=q(t);e.write(`const ${g} = Object.freeze(${f});`),l=g;break}case"success":IF(e,t,n,i),l="true";break;case"default":case"prefault":l=fC(e,t,n,i);break;case"nonoptional":l=mC(e,t,n,i);break;case"tuple":l=_C(e,t,n,i);break;case"union":l=pC(e,t,n,i);break;case"intersection":l=hC(e,t,n,i);break;case"record":l=PC(e,t,n,i);break;case"map":l=DC(e,t,n,i);break;case"set":l=yC(e,t,n,i);break;case"file":l=bC(e,i);break;case"template_literal":l=SC(e,t,n,i);break;case"lazy":l=$C(e,t,n,i);break;case"pipe":l=xC(e,t,n,i);break;case"custom":l=IC(e,t,n,i);break;case"transform":l=wC(e,t,n,i);break;case"catch":l=AC(e,t,n,i);break;default:throw new le(`schema type ${a}`)}return l===null?null:jG(e,t,n,l)}function JG(e,t,n,i,r=!0){e.write(`if (typeof ${i} !== "string") return INVALID;`);let o=n._zod.def;return o.format===void 0?i:OF(e,t,o,i,r)}function KG(e,t,n){e.write(`if (typeof ${n} !== "number" || !Number.isFinite(${n})) return INVALID;`);let i=t._zod.def;return i.check==="number_format"&&i.format&&EF(e,{format:i.format},n),n}function qG(e,t){return e.write(`if (typeof ${t} !== "boolean") return INVALID;`),t}function XG(e,t,n){e.write(`if (typeof ${n} !== "bigint") return INVALID;`);let i=t._zod.def;if(i.format)switch(i.format){case"int64":e.write(`if (${n} < -9223372036854775808n || ${n} > 9223372036854775807n) return INVALID;`);break;case"uint64":e.write(`if (${n} < 0n || ${n} > 18446744073709551615n) return INVALID;`);break}return n}function YG(e,t){return e.write(`if (typeof ${t} !== "symbol") return INVALID;`),t}function QG(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function eC(e,t){return e.write(`if (${t} !== null) return INVALID;`),t}function tC(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function nC(e,t){return e.write(`if (typeof ${t} !== "number" || !Number.isNaN(${t})) return INVALID;`),t}function rC(e,t){return e.write(`if (!(${t} instanceof Date) || Number.isNaN(${t}.getTime())) return INVALID;`),t}function iC(e,t,n,i,r=!0){let o=n._zod.def;e.write(`if (typeof ${i} !== "object" || ${i} === null || Array.isArray(${i})) return INVALID;`);let a=o.shape,c=Object.keys(a),l=Object.getOwnPropertySymbols(a),f=l.length?[...c,...l]:c,g=R=>typeof R=="symbol"?Y(t,R):Ze(R),D=R=>typeof R=="symbol"?`[${g(R)}]`:Ze(R),b=a;if(c.includes("__proto__"))throw new le('object shape key "__proto__"');let y=new Map;for(let R of f){let Z=b[R],Q=g(R),d=q(t);if(e.write(`const ${d} = ${i}[${Q}];`),Z._zod.optin!==void 0){let X=q(t);e.write(`let ${X} = (() => {`),e.indented(Se=>{let _t=Le(Se,t,Z,d);Se.write(`return ${_t};`)}),e.write("})();"),Z._zod.optout==="optional"?(e.write(`if (${X} === INVALID) {`),e.indented(Se=>{Se.write(`if (${Q} in ${i}) return INVALID;`),Se.write(`${X} = undefined;`)}),e.write("}")):e.write(`if (${X} === INVALID) return INVALID;`),y.set(R,X)}else{sC(Z)&&e.write(`if (!(${Q} in ${i})) return INVALID;`);let X=Le(e,t,Z,d,r);X!==null&&y.set(R,X)}}let $=o.catchall,E="none";if($){let R=$._zod.def.type;if(R==="never"){let Z=c.map(Q=>`k !== ${Ze(Q)}`).join(" && ")||"true";e.write(`for (const k in ${i}) {`),e.indented(Q=>{Q.write(`if (${Z}) return INVALID;`)}),e.write("}")}else(R==="unknown"||R==="any")&&!$._zod.def.checks?.length?E="passthrough":E="schema"}let j=q(t),M=f.some(R=>xF(b[R])||fd(b[R]));if(!r){if(E==="schema"){let R=c.length>0?Y(t,new Set(c)):null;e.write(`for (const k in ${i}) {`),e.indented(Z=>{Z.write('if (k === "__proto__") continue;'),R&&Z.write(`if (${R}.has(k)) continue;`);let Q=q(t);Z.write(`const ${Q} = ${i}[k];`),Le(Z,t,$,Q,!1)}),e.write("}")}return null}if(M){e.write(`const ${j} = {};`);for(let R of f){let Z=g(R),Q=y.get(R);fd(b[R])?e.write(`if (${Z} in ${i}) ${j}[${Z}] = ${Q};`):xF(b[R])?e.write(`if (${Q} !== undefined || ${Z} in ${i}) ${j}[${Z}] = ${Q};`):e.write(`${j}[${Z}] = ${Q};`)}}else{let R=f.map(Z=>`${D(Z)}: ${y.get(Z)}`).join(", ");e.write(`const ${j} = { ${R} };`)}if(E!=="none"){let R=c.length>0?Y(t,new Set(c)):null;e.write(`for (const k in ${i}) {`),e.indented(Z=>{if(Z.write('if (k === "__proto__") continue;'),R&&Z.write(`if (${R}.has(k)) continue;`),E==="passthrough")Z.write(`${j}[k] = ${i}[k];`);else{let Q=q(t);Z.write(`const ${Q} = ${i}[k];`);let d=Le(Z,t,$,Q);Z.write(`${j}[k] = ${d};`)}}),e.write("}")}return j}function oC(e,t,n,i,r=!0){let o=n._zod.def;if(aC(n))return $e(e,t,o.innerType,i,r);if(o.innerType._zod.optin==="defaulted"){let c=q(t),l=q(t);return e.write(`let ${c};`),e.write(`if (${i} === undefined) {`),e.indented(f=>{f.write(`const ${l} = (() => {`),f.indented(g=>{let D=$e(g,t,o.innerType,i);g.write(`return ${D};`)}),f.write("})();"),f.write(`if (${l} !== INVALID) ${c} = ${l};`)}),e.write("} else {"),e.indented(f=>{let g=$e(f,t,o.innerType,i);f.write(`${c} = ${g};`)}),e.write("}"),c}let a=r?q(t):null;return a&&e.write(`let ${a};`),e.write(`if (${i} !== undefined) {`),e.indented(c=>{let l=$e(c,t,o.innerType,i,r);a&&l!==null&&c.write(`${a} = ${l};`)}),e.write("}"),a}function aC(e){return e._zod.traits?.has("$ZodExactOptional")===!0}function sC(e){return e._zod.optin===void 0&&Nn(e)}function Nn(e){if(e._zod.def.coerce)return!0;let t=e._zod.def;switch(t.type){case"any":case"unknown":case"undefined":case"void":case"default":case"prefault":case"transform":case"custom":case"lazy":return!0;case"string":case"number":case"boolean":case"bigint":case"symbol":case"null":case"never":case"nan":case"date":case"object":case"array":case"tuple":case"record":case"map":case"set":case"file":case"template_literal":return!1;case"nonoptional":return t.innerType?Nn(t.innerType):!1;case"literal":return!!t.values?.includes(void 0);case"enum":return!!e._zod.values?.has(void 0);case"optional":case"nullable":case"readonly":case"success":return t.innerType?Nn(t.innerType):!0;case"catch":return!0;case"union":return t.options?t.options.some(Nn):!0;case"intersection":return!t.left||!t.right?!0:Nn(t.left)&&Nn(t.right);case"pipe":return t.in?Nn(t.in):!0;default:return!0}}function fd(e){return e._zod.optin==="optional"&&e._zod.optout==="optional"}function xF(e){return(e._zod.optin!=="defaulted"||e._zod.optout==="optional")&&Ir(e)}function Ir(e){let t=e._zod.def;switch(t.type){case"string":case"number":case"boolean":case"bigint":case"symbol":case"null":case"nan":case"date":case"object":case"array":case"tuple":case"record":case"map":case"set":case"file":case"template_literal":case"never":case"success":return!1;case"literal":return!!t.values?.includes(void 0);case"enum":return!!e._zod.values?.has(void 0);case"optional":return!0;case"nullable":case"readonly":case"nonoptional":return t.innerType?Ir(t.innerType):!0;case"union":return t.options?t.options.some(Ir):!0;case"intersection":return!t.left||!t.right||Ir(t.left)||Ir(t.right);case"pipe":return t.out?Ir(t.out):!0;default:return!0}}function cC(e,t,n,i,r=!0){let o=n._zod.def,a=r?q(t):null;return a&&e.write(`let ${a} = null;`),e.write(`if (${i} !== null) {`),e.indented(c=>{let l=$e(c,t,o.innerType,i,r);a&&l!==null&&c.write(`${a} = ${l};`)}),e.write("}"),a}function pd(e,t,n){for(let[i,r]of Fr(t._zod.def.checks))e.write(`if (${n} > ${un(i,r._zod.def.check)}) return INVALID;`)}function uC(e,t,n,i,r=!0){let o=n._zod.def;e.write(`if (!Array.isArray(${i})) return INVALID;`),pd(e,n,`${i}.length`);let a=r?q(t):null,c=q(t),l=q(t);return a&&e.write(`const ${a} = new Array(${i}.length);`),e.write(`for (let ${c} = 0; ${c} < ${i}.length; ${c}++) {`),e.indented(f=>{f.write(`const ${l} = ${i}[${c}];`);let g=Le(f,t,o.element,l,r);a&&g!==null&&f.write(`${a}[${c}] = ${g};`)}),e.write("}"),a}function lC(e,t,n,i){let o=n._zod.def.values;if(o.length!==1){let c=Y(t,new Set(o));return e.write(`if (!${c}.has(${i})) return INVALID;`),i}let a=o[0];if(typeof a=="number"&&Number.isNaN(a)){let c=Y(t,new Set(o));return e.write(`if (!${c}.has(${i})) return INVALID;`),i}if(typeof a=="string")e.write(`if (${i} !== ${Ze(a)}) return INVALID;`);else if(typeof a=="number"||typeof a=="boolean")e.write(`if (${i} !== ${a}) return INVALID;`);else if(a===null)e.write(`if (${i} !== null) return INVALID;`);else if(a===void 0)e.write(`if (${i} !== undefined) return INVALID;`);else if(typeof a=="bigint")e.write(`if (${i} !== ${a}n) return INVALID;`);else throw new le(`literal type ${typeof a}`);return i}function dC(e,t,n,i){let r=n._zod.values;if(!r)throw new le("enum schema without enumerated values");let o=Y(t,r);return e.write(`if (!${o}.has(${i})) return INVALID;`),i}function IF(e,t,n,i){let r=n._zod.def;return $e(e,t,r.innerType,i)}function fC(e,t,n,i){let r=n._zod.def,a=Object.getOwnPropertyDescriptor(n._zod.def,"defaultValue")?()=>n._zod.def.defaultValue:void 0;if(n._zod.def.type==="prefault"){if(!a)return $e(e,t,r.innerType,i);let l=Y(t,a),f=q(t);return e.write(`let ${f} = ${i};`),e.write(`if (${i} === undefined) ${f} = ${l}();`),$e(e,t,r.innerType,f)}let c=q(t);if(a){let l=Y(t,a),f=Y(t,yi);e.write(`let ${c};`),e.write(`if (${i} === undefined) {`),e.indented(g=>{g.write(`${c} = ${f}(${l}());`)}),e.write("} else {"),e.indented(g=>{let D=$e(g,t,r.innerType,i);g.write(`${c} = ${D} === undefined ? ${f}(${l}()) : ${D};`)}),e.write("}")}else e.write(`let ${c};`),e.write(`if (${i} !== undefined) {`),e.indented(l=>{let f=$e(l,t,r.innerType,i);l.write(`${c} = ${f};`)}),e.write("}");return c}function mC(e,t,n,i){let r=n._zod.def,o=$e(e,t,r.innerType,i),a=q(t);return e.write(`const ${a} = ${o};`),e.write(`if (${a} === undefined) return INVALID;`),a}function _C(e,t,n,i){let r=n._zod.def,o=r.items,a=r.rest;e.write(`if (!Array.isArray(${i})) return INVALID;`);let c=kF(o,"optin"),l=kF(o,"optout");a?e.write(`if (${i}.length < ${c}) return INVALID;`):e.write(`if (${i}.length < ${c} || ${i}.length > ${o.length}) return INVALID;`);let f=q(t);e.write(`const ${f} = [];`);for(let g=0;g<o.length;g++){let D=o[g];if(g>=l)e.write(`if (${f}.length === ${g}) {`),e.indented(b=>{b.write(`if (${g} < ${i}.length) {`),b.indented(y=>{let $=q(t);y.write(`const ${$} = ${i}[${g}];`);let E=Le(y,t,D,$);y.write(`${f}[${g}] = ${E};`)}),b.write("} else {"),b.indented(y=>{if(fd(D)){y.write(`${f}.length = ${g};`);return}let $=q(t),E=q(t);y.write(`const ${$} = undefined;`),y.write(`const ${E} = (() => {`),y.indented(j=>{let M=Le(j,t,D,$);j.write(`return ${M};`)}),y.write("})();"),y.write(`if (${E} === INVALID || ${E} === undefined) ${f}.length = ${g};`),y.write(`else ${f}[${g}] = ${E};`)}),b.write("}")}),e.write("}");else{let b=q(t);e.write(`const ${b} = ${i}[${g}];`);let y=Le(e,t,D,b);e.write(`${f}[${g}] = ${y};`)}}if(a){let g=q(t),D=q(t);e.write(`for (let ${g} = ${o.length}; ${g} < ${i}.length; ${g}++) {`),e.indented(b=>{b.write(`const ${D} = ${i}[${g}];`);let y=Le(b,t,a,D);b.write(`${f}[${g}] = ${y};`)}),e.write("}")}return f}function kF(e,t){for(let n=e.length-1;n>=0;n--)if(!(t==="optin"?e[n]._zod.optin!==void 0:e[n]._zod.optout==="optional"))return n+1;return 0}function pC(e,t,n,i){let r=n._zod.def,o=r.options;if(r.discriminator)return gC(e,t,r,i);if(r.inclusive===!1)throw new le("exclusive unions (z.xor)");if(o.length===0)return e.write("return INVALID;"),i;if(o.length===1)return $e(e,t,o[0],i);if(o.every(l=>l._zod.def.type==="literal"&&!l._zod.def.checks?.length)){let l=new Set(o.flatMap(g=>g._zod.def.values)),f=Y(t,l);return e.write(`if (!${f}.has(${i})) return INVALID;`),i}let c=q(t);e.write(`let ${c};`);for(let l=0;l<o.length;l++){let f=o[l];l===0?e.write(`${c} = (() => {`):e.write(`if (${c} === INVALID) ${c} = (() => {`),e.indented(g=>{let D=$e(g,t,f,i);g.write(`return ${D};`)}),e.write("})();")}return e.write(`if (${c} === INVALID) return INVALID;`),c}function gC(e,t,n,i){if(n.unionFallback)throw new le("discriminated union with unionFallback");if(n.options.length===0)return e.write("return INVALID;"),i;let r=q(t),o=q(t);e.write(`const ${r} = ${i}?.[${Ze(n.discriminator)}];`),e.write(`let ${o};`);let a=!0,c=new Set;for(let l of n.options){let f=l._zod.propValues?.[n.discriminator];if(!f||f.size===0)throw new le("discriminated union option without static discriminator values");for(let b of f){if(c.has(b))throw new le(`duplicate discriminator value ${String(b)}`);c.add(b)}let g=Array.from(f,b=>FC(t,r,b)),D=a?"if":"else if";e.write(`${D} (${g.join(" || ")}) {`),e.indented(b=>{let y=$e(b,t,l,i);b.write(`${o} = ${y};`)}),e.write("}"),a=!1}return e.write("else { return INVALID; }"),o}function FC(e,t,n){if(typeof n=="string")return`${t} === ${Ze(n)}`;if(typeof n=="number")return Number.isNaN(n)?`Number.isNaN(${t})`:`${t} === ${n}`;if(typeof n=="boolean")return`${t} === ${n}`;if(n===null)return`${t} === null`;if(n===void 0)return`${t} === undefined`;if(typeof n=="bigint")return`${t} === ${n}n`;if(typeof n=="symbol"){let i=Y(e,n);return`${t} === ${i}`}throw new le(`literal discriminator value ${String(n)}`)}function hC(e,t,n,i){let r=n._zod.def;t.definite=!1;let o=Le(e,t,r.left,i),a=Le(e,t,r.right,i),c=Y(t,Sr),l=q(t);return e.write(`const ${l} = ${c}(${o}, ${a});`),e.write(`if (!${l}.valid) return INVALID;`),`${l}.data`}function PC(e,t,n,i){let r=n._zod.def,o=Y(t,pt);e.write(`if (!${o}(${i})) return INVALID;`);let a=q(t),c=q(t),l=q(t);e.write(`const ${a} = {};`);let f=r,g=f.partial?void 0:r.keyType._zod.values;if(g){let y=[];for(let E of g){if(!(typeof E=="string"||typeof E=="number"||typeof E=="symbol"))throw new le(`record key value ${String(E)}`);let j=typeof E=="number"?E.toString():E;if(j==="__proto__")throw new le('record key "__proto__"');y.push(j);let M=Y(t,E),R=$e(e,t,r.keyType,M),Z=q(t);e.write(`const ${Z} = ${i}[${vC(t,j)}];`);let Q=Le(e,t,r.valueType,Z);e.write(`${a}[${R}] = ${Q};`)}let $=Y(t,new Set(y));return e.write(`for (const ${c} in ${i}) {`),e.indented(E=>{E.write(`if (${$}.has(${c})) continue;`),f.mode==="loose"?E.write(`if (${c} !== "__proto__") ${a}[${c}] = ${i}[${c}];`):E.write("return INVALID;")}),e.write("}"),a}let D=r.keyType._zod.def;if(!(D.type==="string"&&D.format===void 0&&!D.coerce&&(D.checks?.length??0)===0)){let y=r.mode==="loose",$=Aa(r.keyType);$.definite===!1&&(t.definite=!1);let E=Y(t,$),j=Y(t,Zt),M=q(t);return AF(e,t,i,c,R=>{R.write(`let ${M} = ${E}(${c});`),R.write(`if (${M} === INVALID && typeof ${c} === "string" && ${j}.test(${c})) ${M} = ${E}(Number(${c}));`),y?R.write(`if (${M} === INVALID) { ${a}[${c}] = ${i}[${c}]; continue; }`):R.write(`if (${M} === INVALID) return INVALID;`),R.write(`if (${M} === "__proto__") continue;`);let Z=q(t);R.write(`const ${Z} = ${i}[${c}];`);let Q=Le(R,t,r.valueType,Z);R.write(`${a}[${M}] = ${Q};`)}),a}return AF(e,t,i,c,y=>{y.write(`const ${l} = ${i}[${c}];`);let $=Le(y,t,r.valueType,l);y.write(`${a}[${c}] = ${$};`)},"return INVALID;"),a}function AF(e,t,n,i,r,o){let a=Y(t,Object.prototype.propertyIsEnumerable),c=q(t),l=q(t),f=q(t);e.write(`const ${c} = Object.getOwnPropertySymbols(${n});`),e.write(`const ${l} = Object.getOwnPropertyNames(${n});`),e.write(`for (let ${f} = 0; ${f} < ${l}.length; ${f}++) {`),e.indented(g=>{g.write(`const ${i} = ${l}[${f}];`),g.write(`if (${i} === "__proto__" || !${a}.call(${n}, ${i})) continue;`),r(g)}),e.write("}"),e.write(`for (let ${f} = 0; ${f} < ${c}.length; ${f}++) {`),e.indented(g=>{g.write(`const ${i} = ${c}[${f}];`),g.write(`if (!${a}.call(${n}, ${i})) continue;`),o?g.write(o):r(g)}),e.write("}")}function vC(e,t){return typeof t=="string"?Ze(t):Y(e,t)}function DC(e,t,n,i){let r=n._zod.def;e.write(`if (!(${i} instanceof Map)) return INVALID;`),pd(e,n,`${i}.size`);let o=q(t),a=q(t),c=q(t);return e.write(`const ${o} = new Map();`),e.write(`for (const [${a}, ${c}] of ${i}) {`),e.indented(l=>{let f=$e(l,t,r.keyType,a),g=$e(l,t,r.valueType,c);l.write(`${o}.set(${f}, ${g});`)}),e.write("}"),o}function yC(e,t,n,i){let r=n._zod.def;e.write(`if (!(${i} instanceof Set)) return INVALID;`),pd(e,n,`${i}.size`);let o=q(t),a=q(t);return e.write(`const ${o} = new Set();`),e.write(`for (const ${a} of ${i}) {`),e.indented(c=>{let l=$e(c,t,r.valueType,a);c.write(`${o}.add(${l});`)}),e.write("}"),o}function bC(e,t){return e.write(`if (!(${t} instanceof File)) return INVALID;`),t}function SC(e,t,n,i){e.write(`if (typeof ${i} !== "string") return INVALID;`);let r=n._zod.pattern;if(r){let o=Y(t,r);e.write(`${o}.lastIndex = 0;`),e.write(`if (!${o}.test(${i})) return INVALID;`)}return i}function $C(e,t,n,i){let r=n._zod.def,o=zn(t,r.getter),a=Y(t,{parser:null});e.write(`if (!${a}.parser) {`),e.indented(l=>{l.write(`const inner = ${o}();`),l.write(`${a}.parser = function(input) {`),l.indented(f=>{f.write("const result = inner._zod.run({ value: input, issues: [] }, {});"),f.write("return result.issues.length === 0 ? result.value : INVALID;")}),l.write("};")}),e.write("}");let c=q(t);return e.write(`const ${c} = ${a}.parser(${i});`),e.write(`if (${c} === INVALID) return INVALID;`),c}function xC(e,t,n,i){let r=n._zod.def,o=$e(e,t,r.in,i);if(r.transform){if(Ln(r.transform))throw new xt("z.compile: async transforms in pipes are not supported");let a=r.transform,l=zn(t,g=>{let D={value:g,issues:[],addIssue:_d},b=a(g,D);return b instanceof Promise?Je:D.issues.length===0?b:Je}),f=q(t);return e.write(`const ${f} = ${l}(${o});`),e.write(`if (${f} === INVALID) return INVALID;`),$e(e,t,r.out,f)}else return $e(e,t,r.out,o)}function Ln(e){return typeof e=="function"&&(e.constructor.name==="AsyncFunction"||e[Symbol.toStringTag]==="AsyncFunction")}function IC(e,t,n,i){let r=n._zod.def;if(r.fn){if(Ln(r.fn))throw new xt("z.compile: async custom predicates are not supported");let o=zn(t,r.fn),a=Y(t,dd),c=q(t);e.write(`const ${c} = ${o}(${i});`),e.write(`if (${c} instanceof Promise) ${a}();`),e.write(`if (!${c}) return INVALID;`)}else throw new le("custom schema without a predicate function");return i}function kC(e,t,n){let i=e._zod.run({value:n,issues:[]},{});if(i&&typeof i.then=="function")return Je;let r=i;return r.issues.length===0?r.value:t()}function AC(e,t,n,i){let r=n._zod.def;if(!r.catchValue[Go])throw new le("catch with a callback (only a constant catch value compiles)",!1);let o=q(t);e.write(`let ${o} = (() => {`),e.indented(f=>{let g=Le(f,t,r.innerType,i);f.write(`return ${g};`)}),e.write("})();");let a=Y(t,r.innerType),c=zn(t,r.catchValue),l=Y(t,kC);return e.write(`if (${o} === INVALID) {`),e.indented(f=>{f.write(`${o} = ${l}(${a}, ${c}, ${i});`),f.write(`if (${o} === INVALID) return INVALID;`)}),e.write("}"),o}function wC(e,t,n,i){let r=n._zod.def;if(r.transform){if(Ln(r.transform))throw new xt("z.compile: async transforms are not supported");let o=r.transform,c=zn(t,f=>{let g={value:f,issues:[],addIssue:_d},D=o(f,g);return D instanceof Promise?Je:g.issues.length===0?D:Je}),l=q(t);return e.write(`const ${l} = ${c}(${i});`),e.write(`if (${l} === INVALID) return INVALID;`),l}return i}function wa(e){return e.checks&&(e.checks=[...e.checks]),e}function gd(e,t){return new e(wa({type:"string",...z(t)}))}function Fd(e,t){return new e(wa({type:"string",coerce:!0,...z(t)}))}function Ea(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...z(t)})}function Oa(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...z(t)})}function Ta(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...z(t)})}function Ga(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...z(t)})}function Ca(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...z(t)})}function Ra(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...z(t)})}function Yi(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...z(t)})}function ja(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...z(t)})}function Na(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...z(t)})}function za(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...z(t)})}function La(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...z(t)})}function Ma(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...z(t)})}function Ua(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...z(t)})}function Ba(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...z(t)})}function Wa(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...z(t)})}function Va(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...z(t)})}function hd(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...z(t)})}function Za(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...z(t)})}function Ha(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...z(t)})}function Ja(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...z(t)})}function Ka(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...z(t)})}function qa(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...z(t)})}function Pd(e,t){return new e({type:"string",format:"credit_card",check:"string_format",abort:!1,...z(t)})}function vd(e,t){return new e({type:"string",format:"iban",check:"string_format",abort:!1,...z(t)})}function Xa(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...z(t)})}var Dd={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function Qi(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...z(t)})}function eo(e,t){return new e({type:"string",format:"date",check:"string_format",...z(t)})}function to(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...z(t)})}function no(e,t){return new e({type:"string",format:"duration",check:"string_format",...z(t)})}function yd(e,t){return new e(wa({type:"number",checks:[],...z(t)}))}function bd(e,t){return new e(wa({type:"number",coerce:!0,checks:[],...z(t)}))}function Sd(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...z(t)})}function $d(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...z(t)})}function xd(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...z(t)})}function Id(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...z(t)})}function kd(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...z(t)})}function Ad(e,t){return new e({type:"boolean",...z(t)})}function wd(e,t){return new e({type:"boolean",coerce:!0,...z(t)})}function Ed(e,t){return new e({type:"bigint",...z(t)})}function Od(e,t){return new e({type:"bigint",coerce:!0,...z(t)})}function Td(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...z(t)})}function Gd(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...z(t)})}function Cd(e,t){return new e({type:"symbol",...z(t)})}function Rd(e,t){return new e({type:"undefined",...z(t)})}function jd(e,t){return new e({type:"null",...z(t)})}function Nd(e){return new e({type:"any"})}function zd(e){return new e({type:"unknown"})}function Ld(e,t){return new e({type:"never",...z(t)})}function Md(e,t){return new e({type:"void",...z(t)})}function Ud(e,t){return new e({type:"date",...z(t)})}function Bd(e,t){return new e({type:"date",coerce:!0,...z(t)})}function Wd(e,t){return new e({type:"nan",...z(t)})}function Et(e,t){return new qo({check:"less_than",...z(t),value:e,inclusive:!1})}function lt(e,t){return new qo({check:"less_than",...z(t),value:e,inclusive:!0})}function Ot(e,t){return new Xo({check:"greater_than",...z(t),value:e,inclusive:!1})}function dt(e,t){return new Xo({check:"greater_than",...z(t),value:e,inclusive:!0})}function Ya(e){return Ot(0,e)}function Qa(e){return Et(0,e)}function es(e){return lt(0,e)}function ts(e){return dt(0,e)}function ln(e,t){return new xu({check:"multiple_of",...z(t),value:e})}function dn(e,t){return new Au({check:"max_size",...z(t),maximum:e})}function Tt(e,t){return new wu({check:"min_size",...z(t),minimum:e})}function Mn(e,t){return new Eu({check:"size_equals",...z(t),size:e})}function Un(e,t){return new Ou({check:"max_length",...z(t),maximum:e})}function Ht(e,t){return new Tu({check:"min_length",...z(t),minimum:e})}function Bn(e,t){return new Gu({check:"length_equals",...z(t),length:e})}function kr(e,t){return new Cu({check:"string_format",format:"regex",...z(t),pattern:e})}function Ar(e){return new Ru({check:"string_format",format:"lowercase",...z(e)})}function wr(e){return new ju({check:"string_format",format:"uppercase",...z(e)})}function Er(e,t){return new Nu({check:"string_format",format:"includes",...z(t),includes:e})}function Or(e,t){return new zu({check:"string_format",format:"starts_with",...z(t),prefix:e})}function Tr(e,t){return new Lu({check:"string_format",format:"ends_with",...z(t),suffix:e})}function ns(e,t,n){return new Mu({check:"property",property:e,schema:t,...z(n)})}function Gr(e,t){return new Uu({check:"properties",shape:e,...z(t)})}function Cr(e,t){return new Bu({check:"mime_type",mime:e,...z(t)})}function It(e){return new Wu({check:"overwrite",tx:e})}function Rr(e){return It(t=>t.normalize(e))}function jr(){return It(e=>e.trim())}function Nr(){return It(e=>e.toLowerCase())}function zr(){return It(e=>e.toUpperCase())}function Lr(){return It(e=>kc(e))}function Vd(e,t,n){return new e({type:"array",element:t,...z(n)})}function EC(e,t,n){return new e({type:"union",options:t,...z(n)})}function OC(e,t,n){return new e({type:"union",options:t,inclusive:!1,...z(n)})}function TC(e,t,n,i){return new e({type:"union",options:n,discriminator:t,...z(i)})}function GC(e,t,n){return new e({type:"intersection",left:t,right:n})}function CC(e,t,n,i){let r=n instanceof ne,o=r?i:n,a=r?n:null;return new e({type:"tuple",items:t,rest:a,...z(o)})}function RC(e,t,n,i){return new e({type:"record",keyType:t,valueType:n,...z(i)})}function jC(e,t,n,i){return new e({type:"map",keyType:t,valueType:n,...z(i)})}function NC(e,t,n){return new e({type:"set",valueType:t,...z(n)})}function zC(e,t,n){let i=Array.isArray(t)?Object.fromEntries(t.map(r=>[r,r])):t;return new e({type:"enum",entries:i,...z(n)})}function LC(e,t,n){return new e({type:"enum",entries:t,...z(n)})}function MC(e,t,n){return new e({type:"literal",values:Array.isArray(t)?t:[t],...z(n)})}function Zd(e,t){return new e({type:"file",...z(t)})}function UC(e,t){return new e({type:"transform",transform:t})}function BC(e,t){return new e({type:"optional",innerType:t})}function WC(e,t){return new e({type:"nullable",innerType:t})}function VC(e,t,n){return new e({type:"default",innerType:t,get defaultValue(){return typeof n=="function"?n():yi(n)}})}function ZC(e,t,n){return new e({type:"nonoptional",innerType:t,...z(n)})}function HC(e,t){return new e({type:"success",innerType:t})}function JC(e,t,n){return new e({type:"catch",innerType:t,catchValue:typeof n=="function"?n:Gc(n)})}function KC(e,t,n){return new e({type:"pipe",in:t,out:n})}function qC(e,t){return new e({type:"readonly",innerType:t})}function XC(e,t,n){return new e({type:"template_literal",parts:t,...z(n)})}function YC(e,t){return new e({type:"lazy",getter:t})}function QC(e,t){return new e({type:"promise",innerType:t})}function Hd(e,t,n){let i=z(n);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:t,...i})}function Jd(e,t,n){return new e({type:"custom",check:"custom",fn:t,...z(n)})}function Kd(e,t){let n=TF(i=>(i.addIssue=r=>{if(typeof r=="string")i.issues.push(hr(r,i.value,n._zod.def));else{let o=r;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),"input"in o||(o.input=i.value),o.inst??(o.inst=n),o.continue??(o.continue=!n._zod.def.abort),i.issues.push(hr(o))}},e(i.value,i)),t);return n}function TF(e,t){let n=new ve({check:"custom",...z(t)});return n._zod.check=e,n}function qd(e){let t=new ve({check:"describe"});return t._zod.onattach=[n=>{let i=ze.get(n)??{};ze.add(n,{...i,description:e})}],t._zod.check=()=>{},t}function Xd(e){let t=new ve({check:"meta"});return t._zod.onattach=[n=>{let i=ze.get(n)??{};ze.add(n,{...i,...e})}],t._zod.check=()=>{},t}function Yd(e,t){let n=z(t),i=n.truthy??["true","1","yes","on","y","enabled"],r=n.falsy??["false","0","no","off","n","disabled"];n.case!=="sensitive"&&(i=i.map(y=>typeof y=="string"?y.toLowerCase():y),r=r.map(y=>typeof y=="string"?y.toLowerCase():y));let o=new Set(i),a=new Set(r),c=e.Codec??Vi,l=e.Boolean??Bi,f=e.String??jn,g=new f({type:"string",error:n.error}),D=new l({type:"boolean",error:n.error}),b=new c({type:"pipe",in:g,out:D,transform:(y,$)=>{let E=y;return n.case!=="sensitive"&&(E=E.toLowerCase()),o.has(E)?!0:a.has(E)?!1:($.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...a],input:$.value,inst:b,continue:!1}),{})},reverseTransform:(y,$)=>y===!0?i[0]||"true":r[0]||"false",error:n.error});return b._zod.bag.truthy=i,b._zod.bag.falsy=r,b._zod.bag.case=n.case??"insensitive",b}function Wn(e,t,n,i={}){let r=z(i),o={check:"string_format",type:"string",format:t,fn:typeof n=="function"?n:c=>n.test(c),...r};return n instanceof RegExp&&(o.pattern=n),new e(o)}function ro(e,...t){for(let n of t)for(let i of Reflect.ownKeys(n))Object.prototype.propertyIsEnumerable.call(n,i)&&Ne(e,i,n[i]);return e}function fn(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??ze,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??"ref",reused:e?.reused??"inline",intersections:[],deferred:[],external:e?.external??void 0}}function Ee(e,t,n,i,r){let o=typeof t.unrepresentable=="function"?t.unrepresentable({zodSchema:e,path:i.path,message:r}):t.unrepresentable;if(o==="any")return!1;if(o===void 0||o==="throw")throw new Error(r);return Object.assign(n,o),!0}function Fe(e,t,n={path:[],schemaPath:[]}){var i;let r=e._zod.def,o=t.seen.get(e);if(o)return o.count++,n.schemaPath.includes(e)&&(o.cycle=n.path),o.schema;let a={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,a),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;let c=e._zod.toJSONSchema?.();if(c)a.schema=c;else{let g={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,g);else{let b=a.schema,y=t.processors[r.type];if(!y)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${r.type}`);y(e,t,b,g)}let D=e._zod.parent;D&&(a.ref||(a.ref=D),Fe(D,t,g),t.seen.get(D).isParent=!0)}let l=t.metadataRegistry.get(e);return l&&ro(a.schema,l),t.io==="input"&&Ke(e)&&(delete a.schema.examples,delete a.schema.default),t.io==="input"&&"_prefault"in a.schema&&((i=a.schema).default??(i.default=a.schema._prefault)),delete a.schema._prefault,t.seen.get(e).schema}function GF(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function mn(e,t){let n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;let i=new Map;for(let a of e.seen.entries()){let c=e.metadataRegistry.get(a[0])?.id;if(c){let l=i.get(c);if(l&&l!==a[0])throw new Error(`Duplicate schema id "${c}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(c,a[0])}}let r=a=>{let c=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let D=e.external.registry.get(a[0])?.id,b=e.external.uri??($=>$);if(D)return{ref:b(D)};let y=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=y,{defId:y,ref:`${b("__shared")}#/${c}/${GF(y)}`}}let l="#",f=`${l}/${c}/`;if(a[1]===n&&!a[1].schema.id)return{ref:l};let g=a[1].schema.id??`__schema${e.counter++}`;return{defId:g,ref:f+GF(g)}},o=a=>{if(a[1].schema.$ref)return;let c=a[1],{ref:l,defId:f}=r(a);c.def={...c.schema},f&&(c.defId=f);let g=c.schema;for(let D in g)delete g[D];g.$ref=l};if(e.cycles==="throw")for(let a of e.seen.entries()){let c=a[1];if(c.cycle)throw new Error(`Cycle detected: #/${c.cycle?.join("/")}/<root>
66
+
67
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let c=a[1];if(t===a[0]){o(a);continue}if(e.external){let f=e.external.registry.get(a[0])?.id;if(t!==a[0]&&f){o(a);continue}}if(e.metadataRegistry.get(a[0])?.id){o(a);continue}if(c.cycle){o(a);continue}c.count>1&&e.reused==="ref"&&o(a)}e.external&&(e.sharedDefsExtractedFor=e.external)}function jF(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let n=[];for(let i of t){if(!i||typeof i!="object")return;jF(i);let r=Object.keys(i);if(r.length!==1||r[0]!=="type")return;let o=i.type;for(let a of Array.isArray(o)?o:[o]){if(typeof a!="string")return;n.includes(a)||n.push(a)}}delete e.anyOf,e.type=n.length===1?n[0]:n}var NF=new Set(["type","properties","required","additionalProperties"]),CF=["oneOf","anyOf"];function RF(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!="object"||t===null?null:Object.keys(t).length?t:null}function Qd(e){let t=[];for(let o of e){if(typeof o!="object"||o.type!=="object")return null;for(let a in o)if(!NF.has(a))return null;t.push(o)}let n={},i=new Set;for(let o of t){for(let a in o.properties){if(Object.prototype.hasOwnProperty.call(n,a))continue;let c=[];for(let f of t){let g=f.properties?.[a]??RF(f);g!=null&&(c.some(D=>JSON.stringify(D)===JSON.stringify(g))||c.push(g))}let l=c.length===1?c[0]:Qd(c)??{allOf:c};Ne(n,a,l)}for(let a of o.required??[])i.add(a)}let r={type:"object",properties:n};if(i.size&&(r.required=[...i]),t.every(o=>o.additionalProperties===!1))r.additionalProperties=!1;else{let o=[];for(let a of t){let c=RF(a);c&&!o.some(l=>JSON.stringify(l)===JSON.stringify(c))&&o.push(c)}o.length===1?r.additionalProperties=o[0]:o.length>1&&(r.additionalProperties={allOf:o})}return r}function eR(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let r of NF)if(r in e)return;let n=t.filter(r=>CF.some(o=>Array.isArray(r[o]))),i=null;if(!n.length)i=Qd(t);else{let r=n[0],o=CF.find(l=>Array.isArray(r[l]));if(Object.keys(r).length!==1)return;let a=t.filter(l=>l!==r),c=r[o].map(l=>Qd([...a,l]));if(c.some(l=>!l))return;i={[o]:c}}i&&(delete e.allOf,ro(e,i))}function _n(e,t){let n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=c=>{let l=e.seen.get(c);if(l.ref===null)return;let f=l.def??l.schema,g={...f},D=l.ref;if(l.ref=null,D){i(D);let y=e.seen.get(D),$=y.schema;if($.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(f.allOf=f.allOf??[],f.allOf.push($)):ro(f,$),ro(f,g),c._zod.parent===D)for(let j in f)j==="$ref"||j==="allOf"||j in g||delete f[j];if($.$ref&&y.def)for(let j in f)j==="$ref"||j==="allOf"||j in y.def&&JSON.stringify(f[j])===JSON.stringify(y.def[j])&&delete f[j]}let b=c._zod.parent;if(b&&b!==D){i(b);let y=e.seen.get(b);if(y?.schema.$ref&&(f.$ref=y.schema.$ref,y.def))for(let $ in f)$==="$ref"||$==="allOf"||$ in y.def&&JSON.stringify(f[$])===JSON.stringify(y.def[$])&&delete f[$]}e.override({zodSchema:c,jsonSchema:f,path:l.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let c of[...e.seen.entries()].reverse())i(c[0]);if(e.target!=="openapi-3.0")for(let c of e.seen.entries())jF(c[1].def??c[1].schema);for(let c of e.deferred)c();if(e.intersections.length){let c=new Map;for(let l of e.seen.values())for(let f of[l.schema,l.def]){let g=f?.allOf;if(!Array.isArray(g))continue;let D=c.get(g);D?D.push(f):c.set(g,[f])}for(let l of e.intersections)for(let f of c.get(l)??[])eR(f)}}let r={};if(e.target==="draft-2020-12"?r.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?r.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?r.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let c=e.external.registry.get(t)?.id;if(!c)throw new Error("Schema is missing an `id` property");r.$id=e.external.uri(c)}ro(r,n.defId?n.schema:n.def??n.schema);let o=e.metadataRegistry.get(t)?.id;o!==void 0&&r.id===o&&delete r.id;let a=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let c of e.seen.entries()){let l=c[1];l.def&&l.defId&&(l.def.id===l.defId&&delete l.def.id,Ne(a,l.defId,l.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(a).length>0&&(e.target==="draft-2020-12"?r.$defs=a:r.definitions=a);try{let c=JSON.parse(JSON.stringify(r));return Object.defineProperty(c,"~standard",{value:{...t["~standard"],jsonSchema:{input:Mr(t,"input",e.processors),output:Mr(t,"output",e.processors)}},enumerable:!1,writable:!1}),c}catch{throw new Error("Error converting schema to JSON.")}}function Ke(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return Ke(i.element,n);if(i.type==="set")return Ke(i.valueType,n);if(i.type==="lazy")return Ke(i.getter(),n);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault"||i.type==="catch")return Ke(i.innerType,n);if(i.type==="intersection")return Ke(i.left,n)||Ke(i.right,n);if(i.type==="record"||i.type==="map")return Ke(i.keyType,n)||Ke(i.valueType,n);if(i.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Ke(i.in,n)||Ke(i.out,n);if(i.type==="object"){for(let r in i.shape)if(Ke(i.shape[r],n))return!0;return!1}if(i.type==="union"){for(let r of i.options)if(Ke(r,n))return!0;return!1}if(i.type==="tuple"){for(let r of i.items)if(Ke(r,n))return!0;return!!(i.rest&&Ke(i.rest,n))}return!1}var ef=(e,t={})=>n=>{let i=fn({...n,processors:t});return Fe(e,i),mn(i,e),_n(i,e)},Mr=(e,t,n={})=>i=>{let{libraryOptions:r,target:o}=i??{},a=fn({...r??{},target:o,io:t,processors:n});return Fe(e,a),mn(a,e),_n(a,e)};var Ur=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},Br=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},zF=(e,t)=>{Ur(e,"minimum",t),Br(e,"maximum",t)},BF=(e,t)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(t)||e.multipleOf.push(t)},WF=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},VF=(e,t)=>{e.mime=e.mime?e.mime.filter(n=>t.includes(n)):[...t]},ZF=(e,t)=>{e.format=t,t.includes("int")&&(e.isInt=!0)},LF=(e,t)=>Ur(e,"minimum",t.minimum),MF=(e,t)=>Br(e,"maximum",t.maximum),UF=e=>(t,n)=>{ZF(t,n.format);let[i,r]=e[n.format];Ur(t,"minimum",i),Br(t,"maximum",r)},tR={greater_than:(e,t)=>Ur(e,t.inclusive?"minimum":"exclusiveMinimum",t.value),less_than:(e,t)=>Br(e,t.inclusive?"maximum":"exclusiveMaximum",t.value),multiple_of:(e,t)=>BF(e,t.value),number_format:UF(Si),bigint_format:UF($i),min_length:LF,max_length:MF,length_equals:(e,t)=>zF(e,t.length),min_size:LF,max_size:MF,size_equals:(e,t)=>zF(e,t.size),string_format:(e,t)=>{ZF(e,t.format),t.pattern&&WF(e,t.pattern),(t.format==="base64"||t.format==="base64url")&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>VF(e,t.mime)};function Oe(e){let t={},n=e._zod.def,i=e._zod.traits.has("$ZodCheck")?[e,...n.checks??[]]:n.checks??[];for(let o of i)tR[o._zod.def.check]?.(t,o._zod.def);let r=e._zod.bag;r.minimum!==void 0&&Ur(t,"minimum",r.minimum),r.exclusiveMinimum!==void 0&&Ur(t,"exclusiveMinimum",r.exclusiveMinimum),r.maximum!==void 0&&Br(t,"maximum",r.maximum),r.exclusiveMaximum!==void 0&&Br(t,"exclusiveMaximum",r.exclusiveMaximum),r.multipleOf!==void 0&&BF(t,r.multipleOf),r.format!==void 0&&(t.format??(t.format=r.format),r.format.includes("int")&&(t.isInt=!0)),r.mime&&VF(t,r.mime);for(let o of r.patterns??[])WF(t,o);return t}var nR={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},rR=new Map([[sa,au],[Ui,su]]),HF=e=>rR.get(e)??e,rf=(e,t,n,i)=>{let r=n;r.type="string";let{minimum:o,maximum:a,format:c,patterns:l,contentEncoding:f,laxFormat:g}=Oe(e);if(typeof o=="number"&&(r.minLength=o),typeof a=="number"&&(r.maxLength=a),c&&(r.format=nR[c]??c,r.format===""&&delete r.format,(c==="time"||g)&&delete r.format),f&&(r.contentEncoding=f),l&&l.size>0){let D=[...l].map(HF);D.length===1?r.pattern=D[0].source:D.length>1&&(r.allOf=[...D.map(b=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:b.source}))])}},of=(e,t,n,i)=>{let r=n,{minimum:o,maximum:a,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:f,isInt:g}=Oe(e);r.type=g?"integer":"number";let D=typeof f=="number"&&f>=(o??Number.NEGATIVE_INFINITY),b=typeof l=="number"&&l<=(a??Number.POSITIVE_INFINITY),y=t.target==="draft-04"||t.target==="openapi-3.0";if(D?y?(r.minimum=f,r.exclusiveMinimum=!0):r.exclusiveMinimum=f:typeof o=="number"&&(r.minimum=o),b?y?(r.maximum=l,r.exclusiveMaximum=!0):r.exclusiveMaximum=l:typeof a=="number"&&(r.maximum=a),c){let $=new Set;for(let M of c)Number.isFinite(M)&&M!==0?$.add(Math.abs(M)):Ee(e,t,r,i,`A multipleOf divisor of ${M} cannot be represented in JSON Schema`);let[E,...j]=$;E!==void 0&&(r.multipleOf=E),j.length&&(r.allOf=[...r.allOf??[],...j.map(M=>({multipleOf:M}))])}},af=(e,t,n,i)=>{n.type="boolean"},sf=(e,t,n,i)=>{Ee(e,t,n,i,"BigInt cannot be represented in JSON Schema")},cf=(e,t,n,i)=>{Ee(e,t,n,i,"Symbols cannot be represented in JSON Schema")},uf=(e,t,n,i)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},lf=(e,t,n,i)=>{Ee(e,t,n,i,"Undefined cannot be represented in JSON Schema")},df=(e,t,n,i)=>{Ee(e,t,n,i,"Void cannot be represented in JSON Schema")},ff=(e,t,n,i)=>{n.not={}},mf=(e,t,n,i)=>{},_f=(e,t,n,i)=>{},pf=(e,t,n,i)=>{Ee(e,t,n,i,"Date cannot be represented in JSON Schema")},gf=(e,t,n,i)=>{let r=e._zod.def,o=mr(r.entries);if(o.length===0){n.not={};return}o.every(a=>typeof a=="number")&&(n.type="number"),o.every(a=>typeof a=="string")&&(n.type="string"),n.enum=o},Ff=(e,t,n,i)=>{let r=e._zod.def;if(r.values.length===0){n.not={};return}let o=[];for(let a of r.values)if(a===void 0){if(Ee(e,t,n,i,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof a=="bigint"){if(Ee(e,t,n,i,"BigInt literals cannot be represented in JSON Schema"))return;o.push(Number(a))}else o.push(a);if(o.length!==0)if(o.length===1){let a=o[0];n.type=a===null?"null":typeof a,t.target==="draft-04"||t.target==="openapi-3.0"?n.enum=[a]:n.const=a}else o.every(a=>typeof a=="number")&&(n.type="number"),o.every(a=>typeof a=="string")&&(n.type="string"),o.every(a=>typeof a=="boolean")&&(n.type="boolean"),o.every(a=>a===null)&&(n.type="null"),n.enum=o},hf=(e,t,n,i)=>{Ee(e,t,n,i,"NaN cannot be represented in JSON Schema")},Pf=(e,t,n,i)=>{let r=n,o=e._zod.pattern;if(!o)throw new Error("Pattern not found in template literal");r.type="string",r.pattern=o.source},vf=(e,t,n,i)=>{let r=n;r.type="string",r.format="binary",r.contentEncoding="binary";let{minimum:o,maximum:a,mime:c}=Oe(e);o!==void 0&&(r.minLength=o),a!==void 0&&(r.maxLength=a),c&&(c.length===0?r.not={}:c.length===1?r.contentMediaType=c[0]:r.anyOf=c.map(l=>({contentMediaType:l})))},Df=(e,t,n,i)=>{n.type="boolean"},yf=(e,t,n,i)=>{Ee(e,t,n,i,"Custom types cannot be represented in JSON Schema")},bf=(e,t,n,i)=>{Ee(e,t,n,i,"Function types cannot be represented in JSON Schema")},Sf=(e,t,n,i)=>{Ee(e,t,n,i,"Transforms cannot be represented in JSON Schema")},$f=(e,t,n,i)=>{Ee(e,t,n,i,"Map cannot be represented in JSON Schema")},xf=(e,t,n,i)=>{Ee(e,t,n,i,"Set cannot be represented in JSON Schema")},If=(e,t,n,i)=>{let r=n,o=e._zod.def,{minimum:a,maximum:c}=Oe(e);typeof a=="number"&&(r.minItems=a),typeof c=="number"&&(r.maxItems=c),r.type="array",r.items=Fe(o.element,t,{...i,path:[...i.path,"items"]})};function io(e){let t=e._zod.def;return t.type==="pipe"&&t.in._zod.traits.has("$ZodTransform")?io(t.out):t.type==="catch"?io(t.innerType):e._zod.optin}var kf=(e,t,n,i)=>{let r=n,o=e._zod.def,a=o.shape;if(Object.getOwnPropertySymbols(a).length&&Ee(e,t,r,i,"Symbol keys cannot be represented in JSON Schema"))return;r.type="object",r.properties={};for(let f in a)Ne(r.properties,f,Fe(a[f],t,{...i,path:[...i.path,"properties",f]}));let l=[];for(let f of Object.keys(a)){let g=o.shape[f];(t.io==="input"?io(g)===void 0:g._zod.optout===void 0)&&l.push(f)}l.length>0&&(r.required=l),o.catchall?._zod.def.type==="never"?r.additionalProperties=!1:o.catchall?o.catchall&&(r.additionalProperties=Fe(o.catchall,t,{...i,path:[...i.path,"additionalProperties"]})):t.io==="output"&&(r.additionalProperties=!1)},is=(e,t,n,i)=>{let r=e._zod.def,o=r.inclusive===!1,a=r.options.map((c,l)=>Fe(c,t,{...i,path:[...i.path,o?"oneOf":"anyOf",l]}));o?n.oneOf=a:n.anyOf=a},Af=(e,t,n,i)=>{let r=e._zod.def,o=Fe(r.left,t,{...i,path:[...i.path,"allOf",0]}),a=Fe(r.right,t,{...i,path:[...i.path,"allOf",1]}),c=f=>"allOf"in f&&Object.keys(f).length===1,l=[...c(o)?o.allOf:[o],...c(a)?a.allOf:[a]];n.allOf=l,t.intersections.push(l)},wf=(e,t,n,i)=>{let r=n,o=e._zod.def;r.type="array";let a=t.target==="draft-2020-12"?"prefixItems":"items",c=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",l=o.items.map((E,j)=>Fe(E,t,{...i,path:[...i.path,a,j]})),f=o.rest?Fe(o.rest,t,{...i,path:[...i.path,c,...t.target==="openapi-3.0"?[o.items.length]:[]]}):null,g=o.items.length;for(;g>0;){let E=o.items[g-1];if(!(t.io==="input"?io(E)!==void 0:E._zod.optout==="optional"))break;g--}let D=o.items.length,b=!o.rest;t.target==="draft-2020-12"?(r.prefixItems=l,b?r.items=!1:f&&(r.items=f),g>0&&(r.minItems=g),b&&(r.maxItems=D)):t.target==="openapi-3.0"?(r.items={anyOf:l},f&&r.items.anyOf.push(f),g>0&&(r.minItems=g),b&&(r.maxItems=D)):(r.items=l,b?r.additionalItems=!1:f&&(r.additionalItems=f),g>0&&(r.minItems=g),b&&(r.maxItems=D));let{minimum:y,maximum:$}=Oe(e);typeof y=="number"&&(r.minItems=y),typeof $=="number"&&(r.maxItems=$)};function tf(e,t,n){if(t.$ref){if(n.has(t))return t;n.add(t);let $=e.get(t)?.def;if(!$)return t;let E=tf(e,$,n);return E===$?t:E}for(let $ of["anyOf","oneOf"]){let E=t[$];if(!Array.isArray(E))continue;let j=E.map(M=>tf(e,M,n));j.some((M,R)=>M!==E[R])&&(t={...t,[$]:j})}let i=Array.isArray(t.type)?t.type:[t.type],r=!i.includes("string")&&i.some($=>$==="number"||$==="integer"),o=t.enum??(t.const!==void 0?[t.const]:void 0);if(!r&&!o?.some($=>typeof $=="number"))return t;let{minimum:a,maximum:c,exclusiveMinimum:l,exclusiveMaximum:f,multipleOf:g,format:D,id:b,...y}=t;return y.enum?y.enum=y.enum.map($=>typeof $=="number"?String($):$):typeof y.const=="number"&&(y.const=String(y.const)),r&&(y.type="string",o||(y.pattern=(i.includes("number")?Zt:Ci).source)),y}var nf=new WeakMap;function iR(e){let t=new Map;for(let i of e.seen.values())i.def&&!t.has(i.schema)&&t.set(i.schema,i);let n=new Map;for(let i of nf.get(e)??[]){let r=e.seen.get(i),o=(r?.def??r?.schema)?.propertyNames;if(!o||o===!0||n.has(o))continue;let a=tf(t,o,new Set);a!==o&&n.set(o,a)}if(n.size)for(let i of e.seen.values())for(let r of[i.schema,i.def]){let o=r&&n.get(r.propertyNames);o&&(r.propertyNames=o)}}var Ef=(e,t,n,i)=>{let r=n,o=e._zod.def;r.type="object";let a=o.keyType,c=Oe(a).patterns;if(o.mode==="loose"&&c&&c.size>0){let g=Fe(o.valueType,t,{...i,path:[...i.path,"patternProperties","*"]});r.patternProperties={};for(let D of c)Ne(r.patternProperties,HF(D).source,g)}else{if(t.target==="draft-07"||t.target==="draft-2020-12"){r.propertyNames=Fe(o.keyType,t,{...i,path:[...i.path,"propertyNames"]});let g=nf.get(t);g||(g=[],nf.set(t,g),t.deferred.push(()=>iR(t))),g.push(e)}r.additionalProperties=Fe(o.valueType,t,{...i,path:[...i.path,"additionalProperties"]})}let l=a._zod.values,f=t.io==="input"&&io(o.valueType)!==void 0;if(l&&!o.partial&&!f){let g=[...l].filter(D=>typeof D=="string"||typeof D=="number");g.length>0&&(r.required=g.map(String))}},Of=(e,t,n,i)=>{let r=e._zod.def,o=Fe(r.innerType,t,i),a=t.seen.get(e);t.target==="openapi-3.0"?(a.ref=r.innerType,n.nullable=!0):n.anyOf=[o,{type:"null"}]},Tf=(e,t,n,i)=>{let r=e._zod.def;Fe(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},Gf=Symbol();function JF(e,t,n,i,r){let o=!1,a=JSON.stringify(e,(c,l)=>typeof l!="bigint"?l:(o=!0,null));return o?(Ee(t,n,i,r,"BigInt defaults cannot be represented in JSON Schema"),Gf):JSON.parse(a)}var Cf=(e,t,n,i)=>{let r=e._zod.def;Fe(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType;let a=JF(r.defaultValue,e,t,n,i);a!==Gf&&(n.default=a)},Rf=(e,t,n,i)=>{let r=e._zod.def;Fe(r.innerType,t,i);let o=t.seen.get(e);if(o.ref=r.innerType,t.io!=="input")return;let a=JF(r.defaultValue,e,t,n,i);a!==Gf&&(n._prefault=a)},jf=(e,t,n,i)=>{let r=e._zod.def;Fe(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType;let a;try{a=r.catchValue(void 0)}catch{Ee(e,t,n,i,"Dynamic catch values are not supported in JSON Schema");return}n.default=a},Nf=(e,t,n,i)=>{let r=e._zod.def,o=r.in._zod.traits.has("$ZodTransform"),a=t.io==="input"?o?r.out:r.in:r.out;Fe(a,t,i);let c=t.seen.get(e);c.ref=a},zf=(e,t,n,i)=>{let r=e._zod.def;Fe(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,n.readOnly=!0},Lf=(e,t,n,i)=>{let r=e._zod.def;Fe(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},os=(e,t,n,i)=>{let r=e._zod.def;Fe(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},Mf=(e,t,n,i)=>{let r=e._zod.innerType;Fe(r,t,i);let o=t.seen.get(e);o.ref=r},rs={string:rf,number:of,boolean:af,bigint:sf,symbol:cf,null:uf,undefined:lf,void:df,never:ff,any:mf,unknown:_f,date:pf,enum:gf,literal:Ff,nan:hf,template_literal:Pf,file:vf,success:Df,custom:yf,function:bf,transform:Sf,map:$f,set:xf,array:If,object:kf,union:is,intersection:Af,tuple:wf,record:Ef,nullable:Of,nonoptional:Tf,default:Cf,prefault:Rf,catch:jf,pipe:Nf,readonly:zf,promise:Lf,optional:os,lazy:Mf};function as(e,t){if("_idmap"in e){let i=e,r=fn({...t,processors:rs}),o={};for(let l of i._idmap.entries()){let[f,g]=l;Fe(g,r)}let a={},c={registry:i,uri:t?.uri,defs:o};r.external=c;for(let l of i._idmap.entries()){let[f,g]=l;mn(r,g),Ne(a,f,_n(r,g))}if(Object.keys(o).length>0){let l=r.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[l]:o}}return{schemas:a}}let n=fn({...t,processors:rs});return Fe(e,n),mn(n,e),_n(n,e)}var ss=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let n=t?.target??"draft-2020-12";n==="draft-4"&&(n="draft-04"),n==="draft-7"&&(n="draft-07"),this.ctx=fn({processors:rs,target:n,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,n={path:[],schemaPath:[]}){return Fe(t,this.ctx,n)}emit(t,n){n&&(n.cycles&&(this.ctx.cycles=n.cycles),n.reused&&(this.ctx.reused=n.reused),n.external&&(this.ctx.external=n.external)),this.ctx.sharedDefsExtractedFor=void 0,this.ctx.sharedEmitDoneFor=void 0,mn(this.ctx,t);let i=_n(this.ctx,t),{"~standard":r,...o}=i;return o}};var KF={};var Xr={};Bt(Xr,{ZodAny:()=>um,ZodArray:()=>mm,ZodBase64:()=>xs,ZodBase64URL:()=>Is,ZodBigInt:()=>Kr,ZodBigIntFormat:()=>ws,ZodBoolean:()=>Jr,ZodCIDRv4:()=>Ss,ZodCIDRv6:()=>$s,ZodCUID:()=>Fs,ZodCUID2:()=>hs,ZodCatch:()=>Gm,ZodCodec:()=>po,ZodCreditCard:()=>tm,ZodCustom:()=>go,ZodCustomStringFormat:()=>Jn,ZodDate:()=>co,ZodDefault:()=>km,ZodDiscriminatedUnion:()=>pm,ZodE164:()=>ks,ZodEmail:()=>ms,ZodEmoji:()=>ps,ZodEnum:()=>Vr,ZodExactOptional:()=>Gs,ZodFile:()=>Sm,ZodFunction:()=>Wm,ZodGUID:()=>_s,ZodIBAN:()=>nm,ZodIPv4:()=>ys,ZodIPv6:()=>bs,ZodISODate:()=>gn,ZodISODateTime:()=>pn,ZodISODuration:()=>hn,ZodISOTime:()=>Fn,ZodInstanceOf:()=>Hm,ZodIntersection:()=>gm,ZodJWT:()=>As,ZodKSUID:()=>Ds,ZodLazy:()=>Mm,ZodLiteral:()=>bm,ZodMAC:()=>em,ZodMap:()=>Dm,ZodNaN:()=>Rm,ZodNanoID:()=>gs,ZodNever:()=>dm,ZodNonOptional:()=>Cs,ZodNull:()=>sm,ZodNullable:()=>Im,ZodNumber:()=>Hr,ZodNumberFormat:()=>Kn,ZodObject:()=>lo,ZodOptional:()=>mo,ZodPipe:()=>_o,ZodPrefault:()=>wm,ZodPreprocess:()=>jm,ZodPromise:()=>Bm,ZodReadonly:()=>Nm,ZodRecord:()=>Wr,ZodSet:()=>ym,ZodString:()=>Zr,ZodStringFormat:()=>he,ZodSuccess:()=>Tm,ZodSymbol:()=>om,ZodTemplateLiteral:()=>Lm,ZodTransform:()=>$m,ZodTuple:()=>hm,ZodType:()=>ae,ZodULID:()=>Ps,ZodURL:()=>so,ZodUUID:()=>Gt,ZodUndefined:()=>am,ZodUnion:()=>fo,ZodUnknown:()=>lm,ZodVoid:()=>fm,ZodXID:()=>vs,ZodXor:()=>_m,_ZodString:()=>fs,_default:()=>Am,_function:()=>sP,any:()=>Nh,array:()=>uo,base64:()=>hh,base64url:()=>Ph,bigint:()=>Th,boolean:()=>im,catch:()=>Cm,check:()=>cP,cidrv4:()=>gh,cidrv6:()=>Fh,codec:()=>rP,creditCard:()=>Dh,cuid:()=>ch,cuid2:()=>uh,currencyCode:()=>Ih,custom:()=>uP,date:()=>Lh,describe:()=>lP,discriminatedUnion:()=>Zh,e164:()=>vh,email:()=>YF,emoji:()=>ah,enum:()=>Os,exactOptional:()=>xm,file:()=>Qh,float32:()=>Ah,float64:()=>wh,function:()=>sP,guid:()=>QF,hash:()=>kh,hex:()=>xh,hostname:()=>$h,httpUrl:()=>oh,iban:()=>yh,instanceof:()=>fP,int:()=>ls,int32:()=>Eh,int64:()=>Gh,intersection:()=>Fm,invertCodec:()=>iP,ipv4:()=>mh,ipv6:()=>ph,json:()=>_P,jwt:()=>bh,keyof:()=>Mh,ksuid:()=>fh,lazy:()=>Um,literal:()=>Yh,looseObject:()=>Wh,looseRecord:()=>Jh,mac:()=>_h,map:()=>Kh,meta:()=>dP,nan:()=>nP,nanoid:()=>sh,nativeEnum:()=>Xh,never:()=>Es,nonoptional:()=>Om,null:()=>cm,nullable:()=>ao,nullish:()=>eP,number:()=>rm,object:()=>Uh,optional:()=>Zn,partialRecord:()=>Hh,pipe:()=>ds,prefault:()=>Em,preprocess:()=>pP,promise:()=>aP,readonly:()=>zm,record:()=>vm,refine:()=>Vm,set:()=>qh,strictObject:()=>Bh,string:()=>oo,stringFormat:()=>Sh,stringbool:()=>mP,success:()=>tP,superRefine:()=>Zm,symbol:()=>Rh,templateLiteral:()=>oP,transform:()=>Ts,tuple:()=>Pm,uint32:()=>Oh,uint64:()=>Ch,ulid:()=>lh,undefined:()=>jh,union:()=>qr,unknown:()=>Vn,url:()=>ih,uuid:()=>eh,uuidv4:()=>th,uuidv6:()=>nh,uuidv7:()=>rh,void:()=>zh,xid:()=>dh,xor:()=>Vh});var cs={};Bt(cs,{endsWith:()=>Tr,gt:()=>Ot,gte:()=>dt,includes:()=>Er,length:()=>Bn,lowercase:()=>Ar,lt:()=>Et,lte:()=>lt,maxLength:()=>Un,maxSize:()=>dn,mime:()=>Cr,minLength:()=>Ht,minSize:()=>Tt,multipleOf:()=>ln,negative:()=>Qa,nonnegative:()=>ts,nonpositive:()=>es,normalize:()=>Rr,overwrite:()=>It,positive:()=>Ya,properties:()=>Gr,property:()=>ns,regex:()=>kr,size:()=>Mn,slugify:()=>Lr,startsWith:()=>Or,toLowerCase:()=>Nr,toUpperCase:()=>zr,trim:()=>jr,uppercase:()=>wr});var qF=new WeakSet([Object.prototype,Error.prototype]);function us(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let i=n(this);return Object.defineProperty(this,t,{value:i,configurable:!0,writable:!0}),i},set(i){Object.defineProperty(this,t,{value:i,configurable:!0,writable:!0})}})}var XF=(e,t)=>{Lc.init(e,t),e.name="ZodError";let n=Object.getPrototypeOf(e);qF.has(n)||(qF.add(n),us(n,"format",i=>r=>Ei(i,r)),us(n,"flatten",i=>r=>wi(i,r)),us(n,"addIssue",i=>r=>{i.issues.push(r),i.message=JSON.stringify(i.issues,_r,2)}),us(n,"addIssues",i=>r=>{i.issues.push(...r),i.message=JSON.stringify(i.issues,_r,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},aR=I("ZodError",XF),ot=I("ZodError",XF,void 0,{Parent:Error});var Uf=Pr(ot),Bf=vr(ot),Wf=Dr(ot),Vf=yr(ot),Zf=No(ot),Hf=zo(ot),Jf=Lo(ot),Kf=Mo(ot),qf=Uo(ot),Xf=Bo(ot),Yf=Wo(ot),Qf=Vo(ot);function cR(){Ge.localeError||Ie(ba())}function Hn(){Ge.memoizer||Ie({memoizer:Ki()})}var ae=I("ZodType",(e,t)=>(cR(),ne.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(T.mergeDefs(t,{checks:[...t.checks??[],...e.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return pe(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(Vm(e,t))},superRefine(e,t){return this.check(Zm(e,t))},overwrite(e){return this.check(It(e))},optional(){return Zn(this)},exactOptional(){return xm(this)},nullable(){return ao(this)},nullish(){return Zn(ao(this))},nonoptional(e){return Om(this,e)},array(){return uo(this)},or(e){return qr([this,e])},and(e){return Fm(this,e)},transform(e){return ds(this,Ts(e))},default(e){return Am(this,e)},prefault(e){return Em(this,e)},catch(e){return Cm(this,e)},pipe(e){return ds(this,e)},readonly(){return zm(this)},describe(e){let t=this.clone();return ze.add(t,{description:e}),t},meta(...e){if(e.length===0)return ze.get(this);let t=this.clone();return ze.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get"~standard"(){return T.hide(this,"~standard",{...na(this),jsonSchema:{input:Mr(this,"input"),output:Mr(this,"output")}})},set"~standard"(e){T.own(this,"~standard",e)},parse:function e(t,n){return Uf(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await Bf(this,t,n,{callee:e})},safeParse(e,t){return Wf(this,e,t)},async safeParseAsync(e,t){return Vf(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){T.own(this,"spa",e)},validate(e,t){return Oi(this,e,t)},validateAsync(e,t){return Ti(this,e,t)},encode:function e(t,n){return Zf(this,t,n,{callee:e})},decode:function e(t,n){return Hf(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await Jf(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await Kf(this,t,n,{callee:e})},safeEncode(e,t){return qf(this,e,t)},safeDecode(e,t){return Xf(this,e,t)},async safeEncodeAsync(e,t){return Yf(this,e,t)},async safeDecodeAsync(e,t){return Qf(this,e,t)},toJSONSchema(e){return ef(this,{})(e)},get description(){return ze.get(this)?.description},get _def(){return this._zod.def}}),fs=I("_ZodString",(e,t)=>{jn.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>rf(e,n,i,r)},T.derived({format:e=>Oe(e).format??null,minLength:e=>Oe(e).minimum??null,maxLength:e=>Oe(e).maximum??null},{regex(...e){return this.check(kr(...e))},includes(...e){return this.check(Er(...e))},startsWith(...e){return this.check(Or(...e))},endsWith(...e){return this.check(Tr(...e))},min(...e){return this.check(Ht(...e))},max(...e){return this.check(Un(...e))},length(...e){return this.check(Bn(...e))},nonempty(...e){return this.check(Ht(1,...e))},lowercase(e){return this.check(Ar(e))},uppercase(e){return this.check(wr(e))},trim(){return this.check(jr())},normalize(...e){return this.check(Rr(...e))},toLowerCase(){return this.check(Nr())},toUpperCase(){return this.check(zr())},slugify(){return this.check(Lr())}})),Zr=I("ZodString",(e,t)=>{jn.init(e,t),fs.init(e,t)},{email(e){return this.check(Ea(ms,e))},url(e){return this.check(Yi(so,e))},jwt(e){return this.check(Xa(As,e))},emoji(e){return this.check(ja(ps,e))},guid(e){return this.check(Oa(_s,e))},uuid(e){return this.check(Ta(Gt,e))},uuidv4(e){return this.check(Ga(Gt,e))},uuidv6(e){return this.check(Ca(Gt,e))},uuidv7(e){return this.check(Ra(Gt,e))},nanoid(e){return this.check(Na(gs,e))},cuid(e){return this.check(za(Fs,e))},cuid2(e){return this.check(La(hs,e))},ulid(e){return this.check(Ma(Ps,e))},base64(e){return this.check(Ja(xs,e))},base64url(e){return this.check(Ka(Is,e))},xid(e){return this.check(Ua(vs,e))},ksuid(e){return this.check(Ba(Ds,e))},ipv4(e){return this.check(Wa(ys,e))},ipv6(e){return this.check(Va(bs,e))},cidrv4(e){return this.check(Za(Ss,e))},cidrv6(e){return this.check(Ha($s,e))},e164(e){return this.check(qa(ks,e))},datetime(e){return this.check(Qi(pn,e))},date(e){return this.check(eo(gn,e))},time(e){return this.check(to(Fn,e))},duration(e){return this.check(no(hn,e))}});function oo(e){return gd(Zr,e)}var he=I("ZodStringFormat",(e,t)=>{ge.init(e,t),fs.init(e,t)}),pn=I("ZodISODateTime",(e,t)=>{al.init(e,t),he.init(e,t)}),gn=I("ZodISODate",(e,t)=>{sl.init(e,t),he.init(e,t)}),Fn=I("ZodISOTime",(e,t)=>{cl.init(e,t),he.init(e,t)}),hn=I("ZodISODuration",(e,t)=>{ul.init(e,t),he.init(e,t)}),ms=I("ZodEmail",(e,t)=>{Ku.init(e,t),he.init(e,t)});function YF(e){return Ea(ms,e)}var _s=I("ZodGUID",(e,t)=>{Hu.init(e,t),he.init(e,t)});function QF(e){return Oa(_s,e)}var Gt=I("ZodUUID",(e,t)=>{Ju.init(e,t),he.init(e,t)});function eh(e){return Ta(Gt,e)}function th(e){return Ga(Gt,e)}function nh(e){return Ca(Gt,e)}function rh(e){return Ra(Gt,e)}var so=I("ZodURL",(e,t)=>{Yu.init(e,t),he.init(e,t)});function ih(e){return Yi(so,e)}function oh(e){return Yi(so,{protocol:Gi,hostname:uu,...T.normalizeParams(e)})}var ps=I("ZodEmoji",(e,t)=>{Qu.init(e,t),he.init(e,t)});function ah(e){return ja(ps,e)}var gs=I("ZodNanoID",(e,t)=>{el.init(e,t),he.init(e,t)});function sh(e){return Na(gs,e)}var Fs=I("ZodCUID",(e,t)=>{tl.init(e,t),he.init(e,t)});function ch(e){return za(Fs,e)}var hs=I("ZodCUID2",(e,t)=>{nl.init(e,t),he.init(e,t)});function uh(e){return La(hs,e)}var Ps=I("ZodULID",(e,t)=>{rl.init(e,t),he.init(e,t)});function lh(e){return Ma(Ps,e)}var vs=I("ZodXID",(e,t)=>{il.init(e,t),he.init(e,t)});function dh(e){return Ua(vs,e)}var Ds=I("ZodKSUID",(e,t)=>{ol.init(e,t),he.init(e,t)});function fh(e){return Ba(Ds,e)}var ys=I("ZodIPv4",(e,t)=>{ll.init(e,t),he.init(e,t)});function mh(e){return Wa(ys,e)}var em=I("ZodMAC",(e,t)=>{fl.init(e,t),he.init(e,t)});function _h(e){return hd(em,e)}var bs=I("ZodIPv6",(e,t)=>{dl.init(e,t),he.init(e,t)});function ph(e){return Va(bs,e)}var Ss=I("ZodCIDRv4",(e,t)=>{ml.init(e,t),he.init(e,t)});function gh(e){return Za(Ss,e)}var $s=I("ZodCIDRv6",(e,t)=>{_l.init(e,t),he.init(e,t)});function Fh(e){return Ha($s,e)}var xs=I("ZodBase64",(e,t)=>{pl.init(e,t),he.init(e,t)});function hh(e){return Ja(xs,e)}var Is=I("ZodBase64URL",(e,t)=>{gl.init(e,t),he.init(e,t)});function Ph(e){return Ka(Is,e)}var ks=I("ZodE164",(e,t)=>{Fl.init(e,t),he.init(e,t)});function vh(e){return qa(ks,e)}var tm=I("ZodCreditCard",(e,t)=>{hl.init(e,t),he.init(e,t)});function Dh(e){return Pd(tm,e)}var nm=I("ZodIBAN",(e,t)=>{Pl.init(e,t),he.init(e,t)});function yh(e){return vd(nm,e)}var As=I("ZodJWT",(e,t)=>{vl.init(e,t),he.init(e,t)});function bh(e){return Xa(As,e)}var Jn=I("ZodCustomStringFormat",(e,t)=>{Dl.init(e,t),he.init(e,t)});function Sh(e,t,n={}){return Wn(Jn,e,t,n)}function $h(e){return Wn(Jn,"hostname",cu,e)}function xh(e){return Wn(Jn,"hex",bu,e)}function Ih(e){return Wn(Jn,"currency_code",du,e)}function kh(e,t){let n=t?.enc??"hex",i=`${e}_${n}`,r=Ft[i];if(!r)throw new Error(`Unrecognized hash format: ${i}`);return Wn(Jn,i,r,t)}var Hr=I("ZodNumber",(e,t)=>{fa.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>of(e,n,i,r),e.isFinite=!0},T.derived({minValue:e=>{let{minimum:t,exclusiveMinimum:n}=Oe(e);return Math.max(t??Number.NEGATIVE_INFINITY,n??Number.NEGATIVE_INFINITY)},maxValue:e=>{let{maximum:t,exclusiveMaximum:n}=Oe(e);return Math.min(t??Number.POSITIVE_INFINITY,n??Number.POSITIVE_INFINITY)},isInt:e=>{let{isInt:t,multipleOf:n}=Oe(e);return!!t||!!n?.some(Number.isSafeInteger)},format:e=>Oe(e).format??null},{gt(e,t){return this.check(Ot(e,t))},gte(e,t){return this.check(dt(e,t))},min(e,t){return this.check(dt(e,t))},lt(e,t){return this.check(Et(e,t))},lte(e,t){return this.check(lt(e,t))},max(e,t){return this.check(lt(e,t))},int(e){return this.check(ls(e))},safe(e){return this.check(ls(e))},positive(e){return this.check(Ot(0,e))},nonnegative(e){return this.check(dt(0,e))},negative(e){return this.check(Et(0,e))},nonpositive(e){return this.check(lt(0,e))},multipleOf(e,t){return this.check(ln(e,t))},step(e,t){return this.check(ln(e,t))},finite(){return this}}));function rm(e){return yd(Hr,e)}var Kn=I("ZodNumberFormat",(e,t)=>{yl.init(e,t),Hr.init(e,t)});function ls(e){return Sd(Kn,e)}function Ah(e){return $d(Kn,e)}function wh(e){return xd(Kn,e)}function Eh(e){return Id(Kn,e)}function Oh(e){return kd(Kn,e)}var Jr=I("ZodBoolean",(e,t)=>{Bi.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>af(e,n,i,r)});function im(e){return Ad(Jr,e)}var Kr=I("ZodBigInt",(e,t)=>{ma.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>sf(e,n,i,r)},T.derived({minValue:e=>Oe(e).minimum??null,maxValue:e=>Oe(e).maximum??null,format:e=>Oe(e).format??null},{gte(e,t){return this.check(dt(e,t))},min(e,t){return this.check(dt(e,t))},gt(e,t){return this.check(Ot(e,t))},lt(e,t){return this.check(Et(e,t))},lte(e,t){return this.check(lt(e,t))},max(e,t){return this.check(lt(e,t))},positive(e){return this.check(Ot(BigInt(0),e))},negative(e){return this.check(Et(BigInt(0),e))},nonpositive(e){return this.check(lt(BigInt(0),e))},nonnegative(e){return this.check(dt(BigInt(0),e))},multipleOf(e,t){return this.check(ln(e,t))}}));function Th(e){return Ed(Kr,e)}var ws=I("ZodBigIntFormat",(e,t)=>{bl.init(e,t),Kr.init(e,t)});function Gh(e){return Td(ws,e)}function Ch(e){return Gd(ws,e)}var om=I("ZodSymbol",(e,t)=>{Sl.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>cf(e,n,i,r)});function Rh(e){return Cd(om,e)}var am=I("ZodUndefined",(e,t)=>{$l.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>lf(e,n,i,r)});function jh(e){return Rd(am,e)}var sm=I("ZodNull",(e,t)=>{xl.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>uf(e,n,i,r)});function cm(e){return jd(sm,e)}var um=I("ZodAny",(e,t)=>{Il.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>mf(e,n,i,r)});function Nh(){return Nd(um)}var lm=I("ZodUnknown",(e,t)=>{kl.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>_f(e,n,i,r)});function Vn(){return zd(lm)}var dm=I("ZodNever",(e,t)=>{Al.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>ff(e,n,i,r)});function Es(e){return Ld(dm,e)}var fm=I("ZodVoid",(e,t)=>{wl.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>df(e,n,i,r)});function zh(e){return Md(fm,e)}var co=I("ZodDate",(e,t)=>{El.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>pf(e,n,i,r),e.min=(n,i)=>e.check(dt(n,i)),e.max=(n,i)=>e.check(lt(n,i))},T.derived({minDate:e=>{let{minimum:t}=Oe(e);return t?new Date(t):null},maxDate:e=>{let{maximum:t}=Oe(e);return t?new Date(t):null}},{}));function Lh(e){return Ud(co,e)}var mm=I("ZodArray",(e,t)=>{Hn(),Tl.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>If(e,n,i,r),e.element=t.element},{min(e,t){return this.check(Ht(e,t))},nonempty(e){return this.check(Ht(1,e))},max(e,t){return this.check(Un(e,t))},length(e,t){return this.check(Bn(e,t))},unwrap(){return this.element}});function uo(e,t){return Vd(mm,e,t)}function Mh(e){let t=e._zod.def.shape;return Os(Object.keys(t))}var lo=I("ZodObject",(e,t)=>{Hn(),Gl.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>kf(e,n,i,r),T.installLazyProp(e,"shape",n=>n._zod.def.shape,!1)},{keyof(){return Os(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(T.mergeDefs(this._zod.def,{catchall:e}))},passthrough(){return this.clone(T.mergeDefs(this._zod.def,{catchall:Vn()}))},loose(){return this.clone(T.mergeDefs(this._zod.def,{catchall:Vn()}))},strict(){return this.clone(T.mergeDefs(this._zod.def,{catchall:Es()}))},strip(){return this.clone(T.mergeDefs(this._zod.def,{catchall:void 0}))},extend(e){return T.extend(this,e)},safeExtend(e){return T.safeExtend(this,e)},merge(e){return T.merge(this,e)},pick(e){return T.pick(this,e)},omit(e){return T.omit(this,e)},partial(...e){return T.partial(mo,this,e[0])},exactPartial(...e){return T.partial(Gs,this,e[0],"exactPartial")},required(...e){return T.required(Cs,this,e[0])}});function Uh(e,t){let n={type:"object",shape:e??{},...T.normalizeParams(t)};return new lo(n)}function Bh(e,t){return new lo({type:"object",shape:e,catchall:Es(),...T.normalizeParams(t)})}function Wh(e,t){return new lo({type:"object",shape:e,catchall:Vn(),...T.normalizeParams(t)})}var fo=I("ZodUnion",(e,t)=>{Wi.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>is(e,n,i,r),e.options=t.options});function qr(e,t){return new fo({type:"union",options:e,...T.normalizeParams(t)})}var _m=I("ZodXor",(e,t)=>{fo.init(e,t),Cl.init(e,t),e._zod.processJSONSchema=(n,i,r)=>is(e,n,i,r),e.options=t.options});function Vh(e,t){return new _m({type:"union",options:e,inclusive:!1,...T.normalizeParams(t)})}var pm=I("ZodDiscriminatedUnion",(e,t)=>{fo.init(e,t),jl.init(e,t)});function Zh(e,t,n){return new pm({type:"union",options:t,discriminator:e,...T.normalizeParams(n)})}var gm=I("ZodIntersection",(e,t)=>{Nl.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Af(e,n,i,r)});function Fm(e,t){return new gm({type:"intersection",left:e,right:t})}var hm=I("ZodTuple",(e,t)=>{Hn(),_a.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>wf(e,n,i,r)},{rest(e){return this.clone({...this._zod.def,rest:e})},partial(){let e=this._zod.def;if(e.checks?.length)throw new Error(".partial() cannot be used on tuple schemas containing refinements");return this.clone({...e,items:e.items.map(t=>new mo({type:"optional",innerType:t}))})}});function Pm(e,t,n){let i=t instanceof ne,r=i?n:t,o=i?t:null;return new hm({type:"tuple",items:e,rest:o,...T.normalizeParams(r)})}var Wr=I("ZodRecord",(e,t)=>{Hn(),zl.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Ef(e,n,i,r),e.keyType=t.keyType,e.valueType=t.valueType});function vm(e,t,n){return!t||!t._zod?new Wr({type:"record",keyType:oo(),valueType:e,...T.normalizeParams(t)}):new Wr({type:"record",keyType:e,valueType:t,...T.normalizeParams(n)})}function Hh(e,t,n){return new Wr({type:"record",keyType:e,valueType:t,...T.normalizeParams(n),partial:!0})}function Jh(e,t,n){return new Wr({type:"record",keyType:e,valueType:t,mode:"loose",...T.normalizeParams(n)})}var Dm=I("ZodMap",(e,t)=>{Hn(),Ll.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>$f(e,n,i,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...n)=>e.check(Tt(...n)),e.nonempty=n=>e.check(Tt(1,n)),e.max=(...n)=>e.check(dn(...n)),e.size=(...n)=>e.check(Mn(...n))});function Kh(e,t,n){return new Dm({type:"map",keyType:e,valueType:t,...T.normalizeParams(n)})}var ym=I("ZodSet",(e,t)=>{Hn(),Ml.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>xf(e,n,i,r),e.min=(...n)=>e.check(Tt(...n)),e.nonempty=n=>e.check(Tt(1,n)),e.max=(...n)=>e.check(dn(...n)),e.size=(...n)=>e.check(Mn(...n))});function qh(e,t){return new ym({type:"set",valueType:e,...T.normalizeParams(t)})}var Vr=I("ZodEnum",(e,t)=>{Ul.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(i,r,o)=>gf(e,i,r,o),e.enum=t.entries,e.options=[...e._zod.values];let n=new Set(Object.keys(t.entries));e.extract=(i,r)=>{let o={};for(let a of i)if(n.has(a))o[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new Vr({...t,checks:[],...T.normalizeParams(r),entries:o})},e.exclude=(i,r)=>{let o={...t.entries};for(let a of i)if(n.has(a))delete o[a];else throw new Error(`Key ${a} not found in enum`);return new Vr({...t,checks:[],...T.normalizeParams(r),entries:o})}});function Os(e,t){let n=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new Vr({type:"enum",entries:n,...T.normalizeParams(t)})}function Xh(e,t){return new Vr({type:"enum",entries:e,...T.normalizeParams(t)})}var bm=I("ZodLiteral",(e,t)=>{Bl.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Ff(e,n,i,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function Yh(e,t){return new bm({type:"literal",values:Array.isArray(e)?e:[e],...T.normalizeParams(t)})}var Sm=I("ZodFile",(e,t)=>{Wl.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>vf(e,n,i,r),e.min=(n,i)=>e.check(Tt(n,i)),e.max=(n,i)=>e.check(dn(n,i)),e.mime=(n,i)=>e.check(Cr(Array.isArray(n)?n:[n],i))});function Qh(e){return Zd(Sm,e)}var $m=I("ZodTransform",(e,t)=>{Hn(),Vl.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Sf(e,n,i,r),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new cn(e.constructor.name);n.addIssue=o=>{if(typeof o=="string")n.issues.push(T.issue(o,n.value,t));else{let a=o;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),"input"in a||(a.input=n.value),a.inst??(a.inst=e),n.issues.push(T.issue(a))}};let r=t.transform(n.value,n);return r instanceof Promise?r.then(o=>(n.value=o,n)):(n.value=r,n)}});function Ts(e){return new $m({type:"transform",transform:e})}var mo=I("ZodOptional",(e,t)=>{pa.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>os(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Zn(e){return new mo({type:"optional",innerType:e})}var Gs=I("ZodExactOptional",(e,t)=>{Zl.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>os(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function xm(e){return new Gs({type:"optional",innerType:e})}var Im=I("ZodNullable",(e,t)=>{Hl.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Of(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function ao(e){return new Im({type:"nullable",innerType:e})}function eP(e){return Zn(ao(e))}var km=I("ZodDefault",(e,t)=>{Jl.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Cf(e,n,i,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Am(e,t){return new km({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():T.shallowClone(t)}})}var wm=I("ZodPrefault",(e,t)=>{Kl.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Rf(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Em(e,t){return new wm({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():T.shallowClone(t)}})}var Cs=I("ZodNonOptional",(e,t)=>{ql.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Tf(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Om(e,t){return new Cs({type:"nonoptional",innerType:e,...T.normalizeParams(t)})}var Tm=I("ZodSuccess",(e,t)=>{Xl.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Df(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function tP(e){return new Tm({type:"success",innerType:e})}var Gm=I("ZodCatch",(e,t)=>{Yl.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>jf(e,n,i,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Cm(e,t){return new Gm({type:"catch",innerType:e,catchValue:typeof t=="function"?t:T.constantCatch(t)})}var Rm=I("ZodNaN",(e,t)=>{Ql.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>hf(e,n,i,r)});function nP(e){return Wd(Rm,e)}var _o=I("ZodPipe",(e,t)=>{ga.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Nf(e,n,i,r),e.in=t.in,e.out=t.out});function ds(e,t){return new _o({type:"pipe",in:e,out:t})}var po=I("ZodCodec",(e,t)=>{_o.init(e,t),Vi.init(e,t)});function rP(e,t,n){return new po({type:"pipe",in:e,out:t,transform:n.decode,reverseTransform:n.encode})}function iP(e){let t=e._zod.def;return new po({type:"pipe",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}var jm=I("ZodPreprocess",(e,t)=>{_o.init(e,t),ed.init(e,t)}),Nm=I("ZodReadonly",(e,t)=>{td.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>zf(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function zm(e){return new Nm({type:"readonly",innerType:e})}var Lm=I("ZodTemplateLiteral",(e,t)=>{nd.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Pf(e,n,i,r)});function oP(e,t){return new Lm({type:"template_literal",parts:e,...T.normalizeParams(t)})}var Mm=I("ZodLazy",(e,t)=>{Zi.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Mf(e,n,i,r),e.unwrap=()=>e._zod.def.getter()});function Um(e){return new Mm({type:"lazy",getter:e})}var Bm=I("ZodPromise",(e,t)=>{id.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Lf(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function aP(e){return new Bm({type:"promise",innerType:e})}var Wm=I("ZodFunction",(e,t)=>{rd.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>bf(e,n,i,r)});function sP(e){return new Wm({type:"function",input:Array.isArray(e?.input)?Pm(e?.input):e?.input??uo(Vn()),output:e?.output??Vn()})}var go=I("ZodCustom",(e,t)=>{od.init(e,t),ae.init(e,t),e._zod.processJSONSchema=(n,i,r)=>yf(e,n,i,r)});function cP(e){let t=new ve({check:"custom"});return t._zod.check=e,t}function uP(e,t){return Hd(go,e??(()=>!0),t)}function Vm(e,t={}){return Jd(go,e,t)}function Zm(e,t){return Kd(e,t)}var lP=qd,dP=Xd,Hm=I("ZodInstanceOf",(e,t)=>{go.init(e,t)},{properties(e,t){return this.check(Gr(e,t))}});function fP(e,t={}){let n=new Hm({type:"custom",check:"custom",fn:i=>i instanceof e,abort:!0,...T.normalizeParams(t)});return n._zod.bag.Class=e,n._zod.check=i=>{i.value instanceof e||i.issues.push({code:"invalid_type",expected:e.name,input:i.value,inst:n,path:[...n._zod.def.path??[]]})},n}var mP=(...e)=>Yd({Codec:po,Boolean:Jr,String:Zr},...e);function _P(e){let t=Um(()=>qr([oo(e),rm(),im(),cm(),uo(t),vm(oo(),t)]));return t}function pP(e,t){return new jm({type:"pipe",in:Ts(e),out:t})}var uR={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 lR(e){Ie({customError:e})}function dR(){return Ie().customError}var Jm;Jm||(Jm={});var Fo={};Bt(Fo,{ZodISODate:()=>gn,ZodISODateTime:()=>pn,ZodISODuration:()=>hn,ZodISOTime:()=>Fn,date:()=>mR,datetime:()=>fR,duration:()=>pR,time:()=>_R});function fR(e){return Qi(pn,e)}function mR(e){return eo(gn,e)}function _R(e){return to(Fn,e)}function pR(e){return no(hn,e)}var L={...Xr,...cs,iso:Fo},gR=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 FR(e,t){let n=e.$schema;return n==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":n==="http://json-schema.org/draft-07/schema#"?"draft-7":n==="http://json-schema.org/draft-04/schema#"?"draft-4":t??"draft-2020-12"}function gP(e,t){return e.map((n,i)=>i<t?n:n.optional())}function hR(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function PR(e,t){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");let n=e.slice(1).split("/").filter(Boolean);if(n.length===0)return t.rootSchema;let i=t.version==="draft-2020-12"?"$defs":"definitions";if(n[0]===i){let r=n[1]===void 0?void 0:hR(n[1]);if(!r||!t.defs[r])throw new Error(`Reference not found: ${e}`);return t.defs[r]}throw new Error(`Reference not found: ${e}`)}function vR(e,t){return L.transform(i=>i).check(i=>{let r=i.value;if(typeof r!="object"||r===null||Array.isArray(r))return;let o=Object.getOwnPropertyNames(r);if(t.minProperties!==void 0&&o.length<t.minProperties&&i.issues.push({origin:"object",code:"too_small",minimum:t.minProperties,inclusive:!0,message:`Too small: expected object to have >=${t.minProperties} properties`,input:r,inst:e,continue:!0}),t.maxProperties!==void 0&&o.length>t.maxProperties&&i.issues.push({origin:"object",code:"too_big",maximum:t.maxProperties,inclusive:!0,message:`Too big: expected object to have <=${t.maxProperties} properties`,input:r,inst:e,continue:!0}),t.keySchema)for(let a of o){let c=t.keySchema.safeParse(a);c.success||i.issues.push({code:"invalid_key",origin:"record",issues:c.error.issues,input:a,path:[a],continue:!0})}}).pipe(e)}function Km(e,t){if(e===null)return"z";let n=typeof e;if(n!=="object"){if(n==="number"&&Number.isNaN(e))return null;let i=String(e);return`${n[0]}${i.length}:${i}`}if(t.has(e))return null;t.add(e);try{if(Array.isArray(e)){let o=[];for(let a of e){let c=Km(a,t);if(c===null)return null;o.push(c)}return`a${o.length}:[${o.join(",")}]`}let i=Object.keys(e).sort(),r=[];for(let o of i){let a=Km(e[o],t);if(a===null)return null;r.push(`${o.length}:${o}=${a}`)}return`o${r.length}:{${r.join(",")}}`}finally{t.delete(e)}}var DR=new Set(["items","prefixItems","additionalItems","additionalProperties","contains","propertyNames","not","if","then","else","allOf","anyOf","oneOf","unevaluatedItems","unevaluatedProperties","contentSchema"]),yR=new Set(["properties","patternProperties","dependentSchemas","dependencies","$defs","definitions"]);function ho(e){return typeof e!="object"||e===null?!1:Array.isArray(e)?e.some(ho):typeof e.$ref=="string"?!0:Object.entries(e).some(([t,n])=>DR.has(t)?ho(n):!yR.has(t)||typeof n!="object"||n===null?!1:Object.values(n).some(ho))}function FP(e){return e===1?"element":"elements"}function bR(e,t){return L.transform(i=>i).check(i=>{let r=i.value;if(Array.isArray(r)){if(t.uniqueItems===!0){let o=new Map;for(let a=0;a<r.length;a++){let c=Km(r[a],new Set);if(c===null)continue;let l=o.get(c);if(l===void 0){o.set(c,a);continue}i.issues.push({code:"custom",message:`Array items must be unique: element at index ${a} duplicates the one at index ${l}`,input:r,path:[a],continue:!0})}}if(t.containsSchema){let o=t.minContains??1,a=t.maxContains!==void 0?t.maxContains+1:Number.POSITIVE_INFINITY,c=0;for(let l of r)if(t.containsSchema.safeParse(l).success&&++c>=a)break;c<o&&i.issues.push({code:"custom",message:`Array must contain at least ${o} matching ${FP(o)}; found ${c}`,input:r,continue:!0}),t.maxContains!==void 0&&c>t.maxContains&&i.issues.push({code:"custom",message:`Array must contain at most ${t.maxContains} matching ${FP(t.maxContains)}`,input:r,continue:!0})}}}).pipe(e)}function hP(e,t){if(e!==!1)return e===void 0||e===!0?L.any():qe(e,t)}var SR=/^(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$/;function PP(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return L.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let r=e.$ref;if(t.refs.has(r))return t.refs.get(r);if(t.processing.has(r))return L.lazy(()=>{if(!t.refs.has(r))throw new Error(`Circular reference not resolved: ${r}`);return t.refs.get(r)});t.processing.add(r);let o=PR(r,t),a=qe(o,t);return t.refs.set(r,a),t.processing.delete(r),a}if(e.enum!==void 0){let r=e.enum;if(t.version==="openapi-3.0"&&e.nullable===!0&&r.length===1&&r[0]===null)return L.null();if(r.length===0)return L.never();if(r.length===1)return L.literal(r[0]);if(r.every(a=>typeof a=="string"))return L.enum(r);let o=r.map(a=>L.literal(a));return o.length<2?o[0]:L.union([o[0],o[1],...o.slice(2)])}if(e.const!==void 0)return L.literal(e.const);let n=e.type;if(Array.isArray(n)){let r=n.map(o=>{let a={...e,type:o};return PP(a,t)});return r.length===0?L.never():r.length===1?r[0]:L.union(r)}if(!n)return L.any();let i;switch(n){case"string":{let r=L.string();if(e.format){let o=e.format;o==="email"?r=r.check(L.email()):o==="uri"||o==="uri-reference"?r=r.check(L.url()):o==="uuid"||o==="guid"?r=r.check(L.uuid()):o==="date-time"?r=r.check(L.iso.datetime({offset:!0})):o==="date"?r=r.check(L.iso.date()):o==="time"?r=r.check(L.regex(SR)):o==="duration"?r=r.check(L.iso.duration()):o==="hostname"?r=r.check(L.hostname()):o==="ipv4"?r=r.check(L.ipv4()):o==="ipv6"?r=r.check(L.ipv6()):o==="mac"?r=r.check(L.mac()):o==="cidr"?r=r.check(L.cidrv4()):o==="cidr-v6"?r=r.check(L.cidrv6()):o==="base64"?r=r.check(L.base64()):o==="base64url"?r=r.check(L.base64url()):o==="e164"?r=r.check(L.e164()):o==="credit_card"?r=r.check(L.creditCard()):o==="iban"?r=r.check(L.iban()):o==="jwt"?r=r.check(L.jwt()):o==="emoji"?r=r.check(L.emoji()):o==="nanoid"?r=r.check(L.nanoid()):o==="cuid"?r=r.check(L.cuid()):o==="cuid2"?r=r.check(L.cuid2()):o==="ulid"?r=r.check(L.ulid()):o==="xid"?r=r.check(L.xid()):o==="ksuid"&&(r=r.check(L.ksuid()))}typeof e.minLength=="number"&&(r=r.min(e.minLength)),typeof e.maxLength=="number"&&(r=r.max(e.maxLength)),e.pattern&&(r=r.regex(new RegExp(e.pattern))),i=r;break}case"number":case"integer":{let r=n==="integer"?L.number().int():L.number();typeof e.minimum=="number"&&e.exclusiveMinimum!==!0&&(r=r.min(e.minimum)),typeof e.maximum=="number"&&e.exclusiveMaximum!==!0&&(r=r.max(e.maximum)),typeof e.exclusiveMinimum=="number"?r=r.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(r=r.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?r=r.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(r=r.lt(e.maximum)),typeof e.multipleOf=="number"&&(r=r.multipleOf(e.multipleOf)),i=r;break}case"boolean":{i=L.boolean();break}case"null":{i=L.null();break}case"object":{let r={},o=e.properties||{},a=new Set(e.required||[]),c=typeof e.additionalProperties=="object"?qe(e.additionalProperties,t):void 0;for(let[D,b]of Object.entries(o)){let y=qe(b,t);Ne(r,D,a.has(D)?y:y.optional())}if(e.patternProperties){let D=e.patternProperties,b=Object.keys(D),y=[];for(let E of b){let j=qe(D[E],t),M=L.string().regex(new RegExp(E));y.push(L.looseRecord(M,j))}let $=[];if(Object.keys(r).length>0&&$.push(L.object(r).passthrough()),$.push(...y),$.length===0)i=L.object({}).passthrough();else if($.length===1)i=$[0];else{let E=L.intersection($[0],$[1]);for(let j=2;j<$.length;j++)E=L.intersection(E,$[j]);i=E}if(e.additionalProperties===!1){let E=Object.keys(r),j=b.map(R=>new RegExp(R)),M=i;i=i.check(R=>{if(!pt(R.value))return;let Z=[];for(let Q of Object.keys(R.value))E.includes(Q)||j.some(d=>d.test(Q))||Z.push(Q);Z.length&&R.issues.push({code:"unrecognized_keys",keys:Z,input:R.value,inst:M})})}}else{let D=L.object(r);e.additionalProperties===!1?i=D.strict():c?i=D.catchall(c):i=D.passthrough()}let l=e.propertyNames!==void 0&&e.propertyNames!==!0,f=typeof e.minProperties=="number"?e.minProperties:void 0,g=typeof e.maxProperties=="number"?e.maxProperties:void 0;if(l||f!==void 0||g!==void 0){let D;if(l){let b=typeof e.propertyNames=="object"&&e.propertyNames.type===void 0?{type:"string",...e.propertyNames}:e.propertyNames;D=qe(b,t)}i=vR(i,{keySchema:D,minProperties:f,maxProperties:g})}break}case"array":{let r=e.prefixItems,o=e.items;if(r&&Array.isArray(r)){let a=typeof e.minItems=="number"?e.minItems:0,c=r.map(D=>qe(D,t)),l=gP(c,a),f=Array.isArray(o)?void 0:hP(o,t),g=L.tuple(l);i=f?g.rest(f):g,typeof e.minItems=="number"&&(i=i.check(L.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(L.maxLength(e.maxItems)))}else if(Array.isArray(o)){let a=typeof e.minItems=="number"?e.minItems:0,c=o.map(D=>qe(D,t)),l=gP(c,a),f=hP(e.additionalItems,t),g=L.tuple(l);i=f?g.rest(f):g,typeof e.minItems=="number"&&(i=i.check(L.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(L.maxLength(e.maxItems)))}else if(o!==void 0){let a=qe(o,t),c=L.array(a);typeof e.minItems=="number"&&(c=c.min(e.minItems)),typeof e.maxItems=="number"&&(c=c.max(e.maxItems)),i=c}else i=L.array(L.any());(e.uniqueItems===!0||e.contains!==void 0)&&(i=bR(i,{uniqueItems:e.uniqueItems===!0,containsSchema:e.contains!==void 0?qe(e.contains,t):void 0,minContains:typeof e.minContains=="number"?e.minContains:void 0,maxContains:typeof e.maxContains=="number"?e.maxContains:void 0}));break}default:throw new Error(`Unsupported type: ${n}`)}return i}function qe(e,t){if(typeof e=="boolean")return e?L.any():L.never();let n=PP(e,t),i=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let c=e.anyOf.map(f=>qe(f,t)),l=L.union(c);n=i?L.intersection(n,l):l}if(e.oneOf&&Array.isArray(e.oneOf)){let c=e.oneOf.map(f=>qe(f,t)),l=L.xor(c);n=i?L.intersection(n,l):l}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)n=i?n:L.any();else{let c=i?n:qe(e.allOf[0],t),l=i?0:1;for(let f=l;f<e.allOf.length;f++)c=L.intersection(c,qe(e.allOf[f],t));n=c}e.nullable===!0&&t.version==="openapi-3.0"&&(n=L.nullable(n)),e.readOnly===!0&&(n=L.readonly(n)),e.default!==void 0&&(n=n.default(e.default));let r={},o=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let c of o)c in e&&(r[c]=e[c]);let a=["contentEncoding","contentMediaType","contentSchema"];for(let c of a)c in e&&(r[c]=e[c]);if(e.type==="object"&&e.$ref===void 0){e.propertyNames!==void 0&&!ho(e.propertyNames)&&(r.propertyNames=e.propertyNames);for(let c of["minProperties","maxProperties"])e[c]!==void 0&&(r[c]=e[c])}if(e.type==="array"&&e.$ref===void 0){e.contains!==void 0&&!ho(e.contains)&&(r.contains=e.contains);for(let c of["uniqueItems","minContains","maxContains"])e[c]!==void 0&&(r[c]=e[c])}for(let c of Object.keys(e))gR.has(c)||Ne(r,c,e[c]);return Object.keys(r).length>0&&t.registry.add(n,r),e.description&&(n=n.describe(e.description)),n}function vP(e,t){if(typeof e=="boolean")return e?L.any():L.never();let n;try{n=JSON.parse(JSON.stringify(e))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let i=FR(n,t?.defaultTarget),r=n.$defs||n.definitions||{},o={version:i,defs:r,refs:new Map,processing:new Set,rootSchema:n,registry:t?.registry??ze};return qe(n,o)}var DP=Symbol("z.visit/resolving");function Po(e,t){let n=typeof t=="function"?t:(a,c)=>{let l=t[a._zod.def.type];return l?l(a,c):a},i=new Map;function r(a){let c=i.get(a);if(c===DP)return new Zi({type:"lazy",getter:()=>i.get(a)});if(c!==void 0)return c;i.set(a,DP);let l=o(a),f=n(l,l!==a);return i.set(a,f),f}function o(a){let c=a._zod.def,l=c.type;switch(l){case"object":{let f=c.shape,g=Object.keys(f),D=!1,b={};for(let $ of g){let E=r(f[$]);E!==f[$]&&(D=!0),b[$]=E}let y=c.catchall;return c.catchall&&(y=r(c.catchall),y!==c.catchall&&(D=!0)),D?pe(a,{...c,shape:b,catchall:y}):a}case"array":{let f=r(c.element);return f===c.element?a:pe(a,{...c,element:f})}case"tuple":{let f=c.items,g=!1,D=[];for(let y of f){let $=r(y);$!==y&&(g=!0),D.push($)}let b=c.rest;return c.rest&&(b=r(c.rest),b!==c.rest&&(g=!0)),g?pe(a,{...c,items:D,rest:b}):a}case"record":case"map":{let f=r(c.keyType),g=r(c.valueType);return f===c.keyType&&g===c.valueType?a:pe(a,{...c,keyType:f,valueType:g})}case"set":{let f=r(c.valueType);return f===c.valueType?a:pe(a,{...c,valueType:f})}case"union":{let f=c.options,g=!1,D=[];for(let b of f){let y=r(b);y!==b&&(g=!0),D.push(y)}return g?pe(a,{...c,options:D}):a}case"intersection":{let f=r(c.left),g=r(c.right);return f===c.left&&g===c.right?a:pe(a,{...c,left:f,right:g})}case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":{let f=r(c.innerType);return f===c.innerType?a:pe(a,{...c,innerType:f})}case"pipe":{let f=r(c.in),g=r(c.out);return f===c.in&&g===c.out?a:pe(a,{...c,in:f,out:g})}case"function":{let f=r(c.input),g=r(c.output);return f===c.input&&g===c.output?a:pe(a,{...c,input:f,output:g})}case"lazy":{let f=c.getter,{_cachedInner:g,...D}=c;return pe(a,{...D,getter:()=>r(f())})}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":return a;default:return a}}return r(e)}function yP(e){return Po(e,{object:t=>t.partial(),union:t=>{let n=t._zod.def;return n.discriminator===void 0?t:qr(n.options)}})}function $R(e,t){if(!t?.length)return e;let n=e._zod.def;return pe(e,$t(n,{checks:[...n.checks??[],...t]}),{parent:!0})}function bP(e){return $R(e.out,e.checks)}function xR(e){return e.in._zod.traits.has("$ZodTransform")?bP(e):e.in}function SP(e){return Po(e,{pipe:t=>xR(t._zod.def),default:(t,n)=>n?Zn(t._zod.def.innerType):t,catch:(t,n)=>n?t._zod.def.innerType:t})}function $P(e){return Po(e,{pipe:t=>bP(t._zod.def),prefault:(t,n)=>n?t._zod.def.innerType:t})}var qm={};Bt(qm,{bigint:()=>wR,boolean:()=>AR,date:()=>ER,number:()=>kR,string:()=>IR});function IR(e){return Fd(Zr,e)}function kR(e){return bd(Hr,e)}function AR(e){return wd(Jr,e)}function wR(e){return Od(Kr,e)}function ER(e){return Bd(co,e)}import js from"node:fs";import Pt from"node:path";import{fileURLToPath as MP}from"node:url";var Rs={};Pn();var NR=Pt.dirname(MP(import.meta.url));function LP(e){return Pt.isAbsolute(e)?e:Pt.resolve(NR,e)}function zR(e){let t=Pt.join(e,"package.json");try{let n=js.readFileSync(t,"utf8"),i=JSON.parse(n);return i.name===wP&&Array.isArray(i.workspaces)&&i.workspaces.includes("packages/*")}catch{return!1}}function LR(e){let t=Pt.resolve(e);for(;;){if(zR(t))return t;let n=Pt.dirname(t);if(n===t)return null;t=n}}function MR(e=[]){for(let t of e){let n=LR(t);if(n)return n}return null}function UR(e){let t=`${e}/`;for(let n of Object.keys(Rs))if(n.startsWith(t)){let i=n.slice(t.length).split("/").length,r=Rs[n];for(let o=0;o<i;o++)r=Pt.dirname(r);return r}return null}function UP(e,t,n){let i=Rs[n];if(i)return LP(i);let r=UR(n);if(r)return LP(r);let o=Pt.dirname(MP(e)),a=Pt.resolve(o,t);if(js.existsSync(a))return a;let c=Pt.dirname(process.execPath),l=Pt.resolve(c,t);if(js.existsSync(l))return l;let f=MR([o,process.cwd()]);if(f){let g=Pt.resolve(f,n);if(js.existsSync(g))return g}return a}import sb from"node:fs/promises";import b4 from"node:path";async function Kt(e,t,n){e.stage=t;let i=performance.now();try{return await n()}finally{let r=`${t}Ms`;e[r]=(e[r]??0)+performance.now()-i}}async function BR(e={}){var t;(function(){function s(N){N=N.split("-")[0];for(var H=N.split(".").slice(0,3);H.length<3;)H.push("00");return H=H.map((ee,ce,J)=>ee.padStart(2,"0")),H.join("")}var u=N=>[N/1e4|0,(N/100|0)%100,N%100].join("."),m=2147483647,h=typeof process<"u"&&process.versions?.node?s(process.versions.node):m;if(h<180300)throw new Error(`This emscripten-generated code requires node v${u(180300)} (detected v${u(h)})`);var v=typeof navigator<"u"&&navigator.userAgent;if(v){var S=v.includes("Safari/")&&!v.includes("Chrome/")&&v.match(/Version\/(\d+\.?\d*\.?\d*)/)?s(v.match(/Version\/(\d+\.?\d*\.?\d*)/)[1]):m;if(S<15e4)throw new Error(`This emscripten-generated code requires Safari v${u(15e4)} (detected v${S})`);var A=v.match(/Firefox\/(\d+(?:\.\d+)?)/)?parseFloat(v.match(/Firefox\/(\d+(?:\.\d+)?)/)[1]):m;if(A<79)throw new Error(`This emscripten-generated code requires Firefox v79 (detected v${A})`);var O=v.match(/Chrome\/(\d+(?:\.\d+)?)/)?parseFloat(v.match(/Chrome\/(\d+(?:\.\d+)?)/)[1]):m;if(O<85)throw new Error(`This emscripten-generated code requires Chrome v85 (detected v${O})`)}})();var n=e,i=!!globalThis.window,r=!!globalThis.WorkerGlobalScope,o=globalThis.process?.versions?.node&&globalThis.process?.type!="renderer",a=!i&&!o&&!r;if(o){let{createRequire:s}=await import("node:module");var c=s(import.meta.url)}var l=[],f="./this.program",g=(s,u)=>{throw u},D=import.meta.url,b="";function y(s){return n.locateFile?n.locateFile(s,b):b+s}var $,E;if(o){if(!(globalThis.process?.versions?.node&&globalThis.process?.type!="renderer"))throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var j=c("node:fs");D.startsWith("file:")&&(b=c("node:path").dirname(c("node:url").fileURLToPath(D))+"/"),E=u=>{u=X(u)?new URL(u):u;var m=j.readFileSync(u);return d(Buffer.isBuffer(m)),m},$=async(u,m=!0)=>{u=X(u)?new URL(u):u;var h=j.readFileSync(u,m?void 0:"utf8");return d(m?Buffer.isBuffer(h):typeof h=="string"),h},process.argv.length>1&&(f=process.argv[1].replace(/\\/g,"/")),l=process.argv.slice(2),g=(u,m)=>{throw process.exitCode=u,m}}else if(!a)if(i||r){try{b=new URL(".",D).href}catch{}if(!(globalThis.window||globalThis.WorkerGlobalScope))throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");r&&(E=s=>{var u=new XMLHttpRequest;return u.open("GET",s,!1),u.responseType="arraybuffer",u.send(null),new Uint8Array(u.response)}),$=async s=>{if(X(s))return new Promise((m,h)=>{var v=new XMLHttpRequest;v.open("GET",s,!0),v.responseType="arraybuffer",v.onload=()=>{if(v.status==200||v.status==0&&v.response){m(v.response);return}h(v.status)},v.onerror=h,v.send(null)});var u=await fetch(s,{credentials:"same-origin"});if(u.ok)return u.arrayBuffer();throw new Error(u.status+" : "+u.url)}}else throw new Error("environment detection error");var M=console.log.bind(console),R=console.error.bind(console);d(!a,"shell environment detected but not enabled at build time (add `shell` to `-sENVIRONMENT` to enable)");var Z;globalThis.WebAssembly||R("no native wasm support detected");var Q=!1;function d(s,u){s||Ae("Assertion failed"+(u?": "+u:""))}var X=s=>s.startsWith("file://");function Se(){var s=Dc();d((s&3)==0),s==0&&(s+=4),fe[s>>2]=34821223,fe[s+4>>2]=2310721022,fe[0]=1668509029}function _t(){if(!Q){var s=Dc();s==0&&(s+=4);var u=fe[s>>2],m=fe[s+4>>2];(u!=34821223||m!=2310721022)&&Ae(`Stack overflow! Stack cookie has been overwritten at ${_i(s)}, expected hex dwords 0x89BACDFE and 0x2135467, but received ${_i(m)} ${_i(u)}`),fe[0]!=1668509029&&Ae("Runtime error: The application has corrupted its heap memory area (address zero)!")}}class We{}class en extends We{}var dc=!0;(()=>{var s=new Int16Array(1),u=new Int8Array(s.buffer);s[0]=25459,(u[0]!==115||u[1]!==99)&&Ae("Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)")})();function rr(s){Object.getOwnPropertyDescriptor(n,s)||Object.defineProperty(n,s,{configurable:!0,set(){Ae(`Attempt to set \`Module.${s}\` after it has already been processed. This can happen, for example, when code is injected via '--post-js' rather than '--pre-js'`)}})}function _(s){return()=>d(!1,`call to '${s}' via reference taken before Wasm module initialization`)}function Sn(s){Object.getOwnPropertyDescriptor(n,s)&&Ae(`\`Module.${s}\` was supplied but \`${s}\` not included in INCOMING_MODULE_JS_API`)}function lb(s){return s==="FS_createPath"||s==="FS_createDataFile"||s==="FS_createPreloadedFile"||s==="FS_preloadFile"||s==="FS_unlink"||s==="addRunDependency"||s==="FS_createLazyFile"||s==="FS_createDevice"||s==="removeRunDependency"}function db(s){K_(s)}function K_(s){Object.getOwnPropertyDescriptor(n,s)||Object.defineProperty(n,s,{configurable:!0,get(){var u=`'${s}' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the Emscripten FAQ)`;lb(s)&&(u+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),Ae(u)}})}var q_,X_,mi=!1;function Y_(){var s=wo.buffer;n.HEAP8=st=new Int8Array(s),n.HEAP16=ir=new Int16Array(s),n.HEAPU8=or=new Uint8Array(s),n.HEAPU16=yb=new Uint16Array(s),n.HEAP32=de=new Int32Array(s),n.HEAPU32=fe=new Uint32Array(s),n.HEAPF32=Q_=new Float32Array(s),n.HEAPF64=ep=new Float64Array(s),Ve=new BigInt64Array(s),bb=new BigUint64Array(s)}d(globalThis.Int32Array&&globalThis.Float64Array&&Int32Array.prototype.subarray&&Int32Array.prototype.set,"JS engine does not provide full typed array support");function fb(){if(n.preRun)for(typeof n.preRun=="function"&&(n.preRun=[n.preRun]);n.preRun.length;)$b(n.preRun.shift());rr("preRun"),tp(rp)}function mb(){d(!mi),mi=!0,_t(),!n.noFSInit&&!F.initialized&&F.init(),tn.init(),on.__wasm_call_ctors(),F.ignorePermissions=!1}function _b(){if(_t(),n.postRun)for(typeof n.postRun=="function"&&(n.postRun=[n.postRun]);n.postRun.length;)Sb(n.postRun.shift());rr("postRun"),tp(np)}function Ae(s){n.onAbort?.(s),s=`Aborted(${s})`,R(s),Q=!0;var u=new WebAssembly.RuntimeError(s);throw X_?.(u),u}function p(s,u){return(...m)=>{d(mi,`native function \`${s}\` called before runtime initialization`);var h=on[s];return d(h,`exported native function \`${s}\` not found`),d(m.length<=u,`native function \`${s}\` called with ${m.length} args but expects ${u}`),h(...m)}}var fc;function pb(){return n.locateFile?y("pdfium.esm.wasm"):new URL("pdfium.esm.wasm",import.meta.url).href}function gb(s){if(s==fc&&Z)return new Uint8Array(Z);if(E)return E(s);throw"both async and sync fetching of the wasm failed"}async function Fb(s){if(!Z)try{var u=await $(s);return new Uint8Array(u)}catch{}return gb(s)}async function hb(s,u){try{var m=await Fb(s),h=await WebAssembly.instantiate(m,u);return h}catch(v){R(`failed to asynchronously prepare wasm: ${v}`),X(s)&&R(`warning: Loading from a file URI (${s}) is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing`),Ae(v)}}async function Pb(s,u,m){if(!s&&!X(u)&&!o)try{var h=fetch(u,{credentials:"same-origin"}),v=await WebAssembly.instantiateStreaming(h,m);return v}catch(S){R(`wasm streaming compile failed: ${S}`),R("falling back to ArrayBuffer instantiation")}return hb(u,m)}function vb(){var s={env:xp,wasi_snapshot_preview1:xp};return s}async function Db(){function s(A,O){return on=A.exports,IO(on),n.wasmExports=on,Y_(),on}var u=n;function m(A){return d(n===u,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),u=null,s(A.instance)}var h=vb();if(n.instantiateWasm)return new Promise((A,O)=>{try{n.instantiateWasm(h,(N,H)=>{A(s(N,H))})}catch(N){R(`Module.instantiateWasm callback failed with error: ${N}`),O(N)}});fc??=pb();var v=await Pb(Z,fc,h),S=m(v);return S}class A4{name="ExitStatus";constructor(u){this.message=`Program terminated with exit(${u})`,this.status=u}}var ir,de,Ve,st,Q_,ep,yb,fe,bb,or,tp=s=>{for(;s.length>0;)s.shift()(n)},np=[],Sb=s=>np.push(s),rp=[],$b=s=>rp.push(s),xb=!0;function _i(s){return d(typeof s=="number",`ptrToString expects a number, got ${typeof s}`),s>>>=0,"0x"+s.toString(16).padStart(8,"0")}function Ib(s,u,m="i8"){switch(m.endsWith("*")&&(m="*"),m){case"i1":st[s]=u;break;case"i8":st[s]=u;break;case"i16":ir[s>>1]=u;break;case"i32":de[s>>2]=u;break;case"i64":Ve[s>>3]=BigInt(u);break;case"float":Q_[s>>2]=u;break;case"double":ep[s>>3]=u;break;case"*":fe[s>>2]=u;break;default:Ae(`invalid type for setValue: ${m}`)}}var $n=s=>bp(s),xn=()=>$p(),pi=s=>{pi.shown||={},pi.shown[s]||(pi.shown[s]=1,o&&(s="warning: "+s),R(s))},ko=()=>{d(me.varargs!=null);var s=de[+me.varargs>>2];return me.varargs+=4,s},ar=ko,Pe={isAbs:s=>s.charAt(0)==="/",splitPath:s=>{var u=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;return u.exec(s).slice(1)},normalizeArray:(s,u)=>{for(var m=0,h=s.length-1;h>=0;h--){var v=s[h];v==="."?s.splice(h,1):v===".."?(s.splice(h,1),m++):m&&(s.splice(h,1),m--)}if(u)for(;m;m--)s.unshift("..");return s},normalize:s=>{var u=Pe.isAbs(s),m=s.slice(-1)==="/";return s=Pe.normalizeArray(s.split("/").filter(h=>!!h),!u).join("/"),!s&&!u&&(s="."),s&&m&&(s+="/"),(u?"/":"")+s},dirname:s=>{var u=Pe.splitPath(s),m=u[0],h=u[1];return!m&&!h?".":(h&&(h=h.slice(0,-1)),m+h)},basename:s=>s&&s.match(/([^\/]+|\/)\/*$/)[1],join:(...s)=>Pe.normalize(s.join("/")),join2:(s,u)=>Pe.normalize(s+"/"+u)},kb=()=>{if(o){var s=c("node:crypto");return u=>s.randomFillSync(u)}return u=>(crypto.getRandomValues(u),0)},ip=s=>(ip=kb())(s),sr={resolve:(...s)=>{for(var u="",m=!1,h=s.length-1;h>=-1&&!m;h--){var v=h>=0?s[h]:F.cwd();if(typeof v!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!v)return"";u=v+"/"+u,m=Pe.isAbs(v)}return u=Pe.normalizeArray(u.split("/").filter(S=>!!S),!m).join("/"),(m?"/":"")+u||"."},relative:(s,u)=>{s=sr.resolve(s).slice(1),u=sr.resolve(u).slice(1);function m(H){for(var ee=0;ee<H.length&&H[ee]==="";ee++);for(var ce=H.length-1;ce>=0&&H[ce]==="";ce--);return ee>ce?[]:H.slice(ee,ce-ee+1)}for(var h=m(s.split("/")),v=m(u.split("/")),S=Math.min(h.length,v.length),A=S,O=0;O<S;O++)if(h[O]!==v[O]){A=O;break}for(var N=[],O=A;O<h.length;O++)N.push("..");return N=N.concat(v.slice(A)),N.join("/")}},op=globalThis.TextDecoder&&new TextDecoder,Ab=(s,u,m,h)=>{var v=u+m;if(h)return v;for(;s[u]&&!(u>=v);)++u;return u},cr=(s,u=0,m,h)=>{var v=Ab(s,u,m,h);if(v-u>16&&s.buffer&&op)return op.decode(s.subarray(u,v));for(var S="";u<v;){var A=s[u++];if(!(A&128)){S+=String.fromCharCode(A);continue}var O=s[u++]&63;if((A&224)==192){S+=String.fromCharCode((A&31)<<6|O);continue}var N=s[u++]&63;if((A&240)==224?A=(A&15)<<12|O<<6|N:((A&248)!=240&&pi(`Invalid UTF-8 leading byte ${_i(A)} encountered when deserializing a UTF-8 string in wasm memory to a JS string!`),A=(A&7)<<18|O<<12|N<<6|s[u++]&63),A<65536)S+=String.fromCharCode(A);else{var H=A-65536;S+=String.fromCharCode(55296|H>>10,56320|H&1023)}}return S},mc=[],gi=s=>{for(var u=0,m=0;m<s.length;++m){var h=s.charCodeAt(m);h<=127?u++:h<=2047?u+=2:h>=55296&&h<=57343?(u+=4,++m):u+=3}return u},ap=(s,u,m,h)=>{if(d(typeof s=="string",`stringToUTF8Array expects a string (got ${typeof s})`),!(h>0))return 0;for(var v=m,S=m+h-1,A=0;A<s.length;++A){var O=s.codePointAt(A);if(O<=127){if(m>=S)break;u[m++]=O}else if(O<=2047){if(m+1>=S)break;u[m++]=192|O>>6,u[m++]=128|O&63}else if(O<=65535){if(m+2>=S)break;u[m++]=224|O>>12,u[m++]=128|O>>6&63,u[m++]=128|O&63}else{if(m+3>=S)break;O>1114111&&pi(`Invalid Unicode code point ${_i(O)} encountered when serializing a JS string to a UTF-8 string in wasm memory! (Valid unicode code points should be in range 0-0x10FFFF).`),u[m++]=240|O>>18,u[m++]=128|O>>12&63,u[m++]=128|O>>6&63,u[m++]=128|O&63,A++}}return u[m]=0,m-v},_c=(s,u,m)=>{var h=m>0?m:gi(s)+1,v=new Array(h),S=ap(s,v,0,v.length);return u&&(v.length=S),v},wb=()=>{if(!mc.length){var s=null;if(o){var u=256,m=Buffer.alloc(u),h=0,v=process.stdin.fd;try{h=j.readSync(v,m,0,u)}catch(S){if(S.toString().includes("EOF"))h=0;else throw S}h>0&&(s=m.slice(0,h).toString("utf-8"))}else globalThis.window?.prompt&&(s=window.prompt("Input: "),s!==null&&(s+=`
68
+ `));if(!s)return null;mc=_c(s,!0)}return mc.shift()},tn={ttys:[],init(){},shutdown(){},register(s,u){tn.ttys[s]={input:[],output:[],ops:u},F.registerDevice(s,tn.stream_ops)},stream_ops:{open(s){var u=tn.ttys[s.node.rdev];if(!u)throw new F.ErrnoError(43);s.tty=u,s.seekable=!1},close(s){s.tty.ops.fsync(s.tty)},fsync(s){s.tty.ops.fsync(s.tty)},read(s,u,m,h,v){if(!s.tty||!s.tty.ops.get_char)throw new F.ErrnoError(60);for(var S=0,A=0;A<h;A++){var O;try{O=s.tty.ops.get_char(s.tty)}catch{throw new F.ErrnoError(29)}if(O===void 0&&S===0)throw new F.ErrnoError(6);if(O==null)break;S++,u[m+A]=O}return S&&(s.node.atime=Date.now()),S},write(s,u,m,h,v){if(!s.tty||!s.tty.ops.put_char)throw new F.ErrnoError(60);try{for(var S=0;S<h;S++)s.tty.ops.put_char(s.tty,u[m+S])}catch{throw new F.ErrnoError(29)}return h&&(s.node.mtime=s.node.ctime=Date.now()),S}},default_tty_ops:{get_char(s){return wb()},put_char(s,u){u===null||u===10?(M(cr(s.output)),s.output=[]):u!=0&&s.output.push(u)},fsync(s){s.output?.length>0&&(M(cr(s.output)),s.output=[])},ioctl_tcgets(s){return{c_iflag:25856,c_oflag:5,c_cflag:191,c_lflag:35387,c_cc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}},ioctl_tcsets(s,u,m){return 0},ioctl_tiocgwinsz(s){return[24,80]}},default_tty1_ops:{put_char(s,u){u===null||u===10?(R(cr(s.output)),s.output=[]):u!=0&&s.output.push(u)},fsync(s){s.output?.length>0&&(R(cr(s.output)),s.output=[])}}},Eb=(s,u)=>or.fill(0,s,s+u),sp=(s,u)=>(d(u,"alignment argument is required"),Math.ceil(s/u)*u),cp=s=>{s=sp(s,65536);var u=vp(65536,s);return u&&Eb(u,s),u},ie={ops_table:null,mount(s){return ie.createNode(null,"/",16895,0)},createNode(s,u,m,h){if(F.isBlkdev(m)||F.isFIFO(m))throw new F.ErrnoError(63);ie.ops_table||={dir:{node:{getattr:ie.node_ops.getattr,setattr:ie.node_ops.setattr,lookup:ie.node_ops.lookup,mknod:ie.node_ops.mknod,rename:ie.node_ops.rename,unlink:ie.node_ops.unlink,rmdir:ie.node_ops.rmdir,readdir:ie.node_ops.readdir,symlink:ie.node_ops.symlink},stream:{llseek:ie.stream_ops.llseek}},file:{node:{getattr:ie.node_ops.getattr,setattr:ie.node_ops.setattr},stream:{llseek:ie.stream_ops.llseek,read:ie.stream_ops.read,write:ie.stream_ops.write,mmap:ie.stream_ops.mmap,msync:ie.stream_ops.msync}},link:{node:{getattr:ie.node_ops.getattr,setattr:ie.node_ops.setattr,readlink:ie.node_ops.readlink},stream:{}},chrdev:{node:{getattr:ie.node_ops.getattr,setattr:ie.node_ops.setattr},stream:F.chrdev_stream_ops}};var v=F.createNode(s,u,m,h);return F.isDir(v.mode)?(v.node_ops=ie.ops_table.dir.node,v.stream_ops=ie.ops_table.dir.stream,v.contents={}):F.isFile(v.mode)?(v.node_ops=ie.ops_table.file.node,v.stream_ops=ie.ops_table.file.stream,v.usedBytes=0,v.contents=ie.emptyFileContents??=new Uint8Array(0)):F.isLink(v.mode)?(v.node_ops=ie.ops_table.link.node,v.stream_ops=ie.ops_table.link.stream):F.isChrdev(v.mode)&&(v.node_ops=ie.ops_table.chrdev.node,v.stream_ops=ie.ops_table.chrdev.stream),v.atime=v.mtime=v.ctime=Date.now(),s&&(s.contents[u]=v,s.atime=s.mtime=s.ctime=v.atime),v},getFileDataAsTypedArray(s){return d(F.isFile(s.mode),"getFileDataAsTypedArray called on non-file"),s.contents.subarray(0,s.usedBytes)},expandFileStorage(s,u){var m=s.contents.length;if(!(m>=u)){var h=1024*1024;u=Math.max(u,m*(m<h?2:1.125)>>>0),m&&(u=Math.max(u,256));var v=ie.getFileDataAsTypedArray(s);s.contents=new Uint8Array(u),s.contents.set(v)}},resizeFileStorage(s,u){if(s.usedBytes!=u){var m=s.contents;s.contents=new Uint8Array(u),s.contents.set(m.subarray(0,Math.min(u,s.usedBytes))),s.usedBytes=u}},node_ops:{getattr(s){var u={};return u.dev=F.isChrdev(s.mode)?s.id:1,u.ino=s.id,u.mode=s.mode,u.nlink=1,u.uid=0,u.gid=0,u.rdev=s.rdev,F.isDir(s.mode)?u.size=4096:F.isFile(s.mode)?u.size=s.usedBytes:F.isLink(s.mode)?u.size=s.link.length:u.size=0,u.atime=new Date(s.atime),u.mtime=new Date(s.mtime),u.ctime=new Date(s.ctime),u.blksize=4096,u.blocks=Math.ceil(u.size/u.blksize),u},setattr(s,u){for(let m of["mode","atime","mtime","ctime"])u[m]!=null&&(s[m]=u[m]);u.size!==void 0&&ie.resizeFileStorage(s,u.size)},lookup(s,u){throw new F.ErrnoError(44)},mknod(s,u,m,h){return ie.createNode(s,u,m,h)},rename(s,u,m){var h;try{h=F.lookupNode(u,m)}catch{}if(h){if(F.isDir(s.mode))for(var v in h.contents)throw new F.ErrnoError(55);F.hashRemoveNode(h)}delete s.parent.contents[s.name],u.contents[m]=s,s.name=m,u.ctime=u.mtime=s.parent.ctime=s.parent.mtime=Date.now()},unlink(s,u){delete s.contents[u],s.ctime=s.mtime=Date.now()},rmdir(s,u){var m=F.lookupNode(s,u);for(var h in m.contents)throw new F.ErrnoError(55);delete s.contents[u],s.ctime=s.mtime=Date.now()},readdir(s){return[".","..",...Object.keys(s.contents)]},symlink(s,u,m){var h=ie.createNode(s,u,41471,0);return h.link=m,h},readlink(s){if(!F.isLink(s.mode))throw new F.ErrnoError(28);return s.link}},stream_ops:{read(s,u,m,h,v){var S=s.node.contents;if(v>=s.node.usedBytes)return 0;var A=Math.min(s.node.usedBytes-v,h);return d(A>=0),u.set(S.subarray(v,v+A),m),A},write(s,u,m,h,v,S){if(d(u.subarray,"FS.write expects a TypedArray"),u.buffer===st.buffer&&(S=!1),!h)return 0;var A=s.node;return A.mtime=A.ctime=Date.now(),S?(d(v===0,"canOwn must imply no weird position inside the file"),A.contents=u.subarray(m,m+h),A.usedBytes=h):A.usedBytes===0&&v===0?(A.contents=u.slice(m,m+h),A.usedBytes=h):(ie.expandFileStorage(A,v+h),A.contents.set(u.subarray(m,m+h),v),A.usedBytes=Math.max(A.usedBytes,v+h)),h},llseek(s,u,m){var h=u;if(m===1?h+=s.position:m===2&&F.isFile(s.node.mode)&&(h+=s.node.usedBytes),h<0)throw new F.ErrnoError(28);return h},mmap(s,u,m,h,v){if(!F.isFile(s.node.mode))throw new F.ErrnoError(43);var S,A,O=s.node.contents;if(!(v&2)&&O.buffer===st.buffer)A=!1,S=O.byteOffset;else{if(A=!0,S=cp(u),!S)throw new F.ErrnoError(48);O&&((m>0||m+u<O.length)&&(O.subarray?O=O.subarray(m,m+u):O=Array.prototype.slice.call(O,m,m+u)),st.set(O,S))}return{ptr:S,allocated:A}},msync(s,u,m,h,v){return ie.stream_ops.write(s,u,0,h,m,!1),0}}},Ob=s=>{if(typeof s!="string")return s;var u={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},m=u[s];if(typeof m>"u")throw new Error(`Unknown file open mode: ${s}`);return m},up=s=>(typeof s=="string"&&(s=_c(s,!0)),s.subarray||(s=new Uint8Array(s)),s),pc=(s,u)=>{var m=0;return s&&(m|=365),u&&(m|=146),m},Ao=(s,u,m)=>(d(typeof s=="number",`UTF8ToString expects a number (got ${typeof s})`),s?cr(or,s,u,m):""),Tb=s=>Ao(Dp(s)),lp={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135},Gb=async s=>{var u=await $(s);return d(u,`Loading data file "${s}" failed (no arrayBuffer).`),new Uint8Array(u)},dp=(...s)=>F.createDataFile(...s),Cb=s=>{for(var u=s;;){if(!ur[s])return s;s=u+Math.random()}},In=0,Fi=null,ur={},nn=null,fp=s=>{if(In--,n.monitorRunDependencies?.(In),d(s,"removeRunDependency requires an ID"),d(ur[s]),delete ur[s],In==0&&(nn!==null&&(clearInterval(nn),nn=null),Fi)){var u=Fi;Fi=null,u()}},mp=s=>{In++,n.monitorRunDependencies?.(In),d(s,"addRunDependency requires an ID"),d(!ur[s]),ur[s]=1,nn===null&&globalThis.setInterval&&(nn=setInterval(()=>{if(Q){clearInterval(nn),nn=null;return}var u=!1;for(var m in ur)u||(u=!0,R("still waiting on run dependencies:")),R(`dependency: ${m}`);u&&R("(end of list)")},1e4),nn.unref?.())},_p=[],Rb=async(s,u)=>{typeof Browser<"u"&&Browser.init();for(var m of _p)if(m.canHandle(u))return d(m.handle.constructor.name==="AsyncFunction","Filesystem plugin handlers must be async functions (See #24914)"),m.handle(s,u);return s},gc=async(s,u,m,h,v,S,A,O)=>{var N=u?sr.resolve(Pe.join2(s,u)):s,H=Cb(`cp ${N}`);mp(H);try{var ee=m;typeof m=="string"&&(ee=await Gb(m)),ee=await Rb(ee,N),O?.(),S||dp(s,u,ee,h,v,A)}finally{fp(H)}},jb=(s,u,m,h,v,S,A,O,N,H)=>{gc(s,u,m,h,v,O,N,H).then(S).catch(A)},F={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,filesystems:null,syncFSRequests:0,ErrnoError:class extends Error{name="ErrnoError";constructor(s){super(mi?Tb(s):""),this.errno=s;for(var u in lp)if(lp[u]===s){this.code=u;break}}},FSStream:class{shared={};get object(){return this.node}set object(s){this.node=s}get isRead(){return(this.flags&2097155)!==1}get isWrite(){return(this.flags&2097155)!==0}get isAppend(){return this.flags&1024}get flags(){return this.shared.flags}set flags(s){this.shared.flags=s}get position(){return this.shared.position}set position(s){this.shared.position=s}},FSNode:class{node_ops={};stream_ops={};readMode=365;writeMode=146;mounted=null;constructor(s,u,m,h){s||(s=this),this.parent=s,this.mount=s.mount,this.id=F.nextInode++,this.name=u,this.mode=m,this.rdev=h,this.atime=this.mtime=this.ctime=Date.now()}get read(){return(this.mode&this.readMode)===this.readMode}set read(s){s?this.mode|=this.readMode:this.mode&=~this.readMode}get write(){return(this.mode&this.writeMode)===this.writeMode}set write(s){s?this.mode|=this.writeMode:this.mode&=~this.writeMode}get isFolder(){return F.isDir(this.mode)}get isDevice(){return F.isChrdev(this.mode)}},lookupPath(s,u={}){if(!s)throw new F.ErrnoError(44);u.follow_mount??=!0,Pe.isAbs(s)||(s=F.cwd()+"/"+s);e:for(var m=0;m<40;m++){for(var h=s.split("/").filter(H=>!!H),v=F.root,S="/",A=0;A<h.length;A++){var O=A===h.length-1;if(O&&u.parent)break;if(h[A]!=="."){if(h[A]===".."){if(S=Pe.dirname(S),F.isRoot(v)){s=S+"/"+h.slice(A+1).join("/"),m--;continue e}else v=v.parent;continue}S=Pe.join2(S,h[A]);try{v=F.lookupNode(v,h[A])}catch(H){if(H?.errno===44&&O&&u.noent_okay)return{path:S};throw H}if(F.isMountpoint(v)&&(!O||u.follow_mount)&&(v=v.mounted.root),F.isLink(v.mode)&&(!O||u.follow)){if(!v.node_ops.readlink)throw new F.ErrnoError(52);var N=v.node_ops.readlink(v);Pe.isAbs(N)||(N=Pe.dirname(S)+"/"+N),s=N+"/"+h.slice(A+1).join("/");continue e}}}return{path:S,node:v}}throw new F.ErrnoError(32)},getPath(s){for(var u;;){if(F.isRoot(s)){var m=s.mount.mountpoint;return u?m[m.length-1]!=="/"?`${m}/${u}`:m+u:m}u=u?`${s.name}/${u}`:s.name,s=s.parent}},hashName(s,u){for(var m=0,h=0;h<u.length;h++)m=(m<<5)-m+u.charCodeAt(h)|0;return(s+m>>>0)%F.nameTable.length},hashAddNode(s){var u=F.hashName(s.parent.id,s.name);s.name_next=F.nameTable[u],F.nameTable[u]=s},hashRemoveNode(s){var u=F.hashName(s.parent.id,s.name);if(F.nameTable[u]===s)F.nameTable[u]=s.name_next;else for(var m=F.nameTable[u];m;){if(m.name_next===s){m.name_next=s.name_next;break}m=m.name_next}},lookupNode(s,u){var m=F.mayLookup(s);if(m)throw new F.ErrnoError(m);for(var h=F.hashName(s.id,u),v=F.nameTable[h];v;v=v.name_next){var S=v.name;if(v.parent.id===s.id&&S===u)return v}return F.lookup(s,u)},createNode(s,u,m,h){d(typeof s=="object");var v=new F.FSNode(s,u,m,h);return F.hashAddNode(v),v},destroyNode(s){F.hashRemoveNode(s)},isRoot(s){return s===s.parent},isMountpoint(s){return!!s.mounted},isFile(s){return(s&61440)===32768},isDir(s){return(s&61440)===16384},isLink(s){return(s&61440)===40960},isChrdev(s){return(s&61440)===8192},isBlkdev(s){return(s&61440)===24576},isFIFO(s){return(s&61440)===4096},isSocket(s){return(s&49152)===49152},flagsToPermissionString(s){var u=["r","w","rw"][s&3];return s&512&&(u+="w"),u},nodePermissions(s,u){return F.ignorePermissions?0:u.includes("r")&&!(s.mode&292)||u.includes("w")&&!(s.mode&146)||u.includes("x")&&!(s.mode&73)?2:0},mayLookup(s){if(!F.isDir(s.mode))return 54;var u=F.nodePermissions(s,"x");return u||(s.node_ops.lookup?0:2)},mayCreate(s,u){if(!F.isDir(s.mode))return 54;try{var m=F.lookupNode(s,u);return 20}catch{}return F.nodePermissions(s,"wx")},mayDelete(s,u,m){var h;try{h=F.lookupNode(s,u)}catch(S){return S.errno}var v=F.nodePermissions(s,"wx");if(v)return v;if(m){if(!F.isDir(h.mode))return 54;if(F.isRoot(h)||F.getPath(h)===F.cwd())return 10}else if(F.isDir(h.mode))return 31;return 0},mayOpen(s,u){if(!s)return 44;if(F.isLink(s.mode))return 32;var m=F.flagsToPermissionString(u);return F.isDir(s.mode)&&(m!=="r"||u&576)?31:F.nodePermissions(s,m)},checkOpExists(s,u){if(!s)throw new F.ErrnoError(u);return s},MAX_OPEN_FDS:4096,nextfd(){for(var s=0;s<=F.MAX_OPEN_FDS;s++)if(!F.streams[s])return s;throw new F.ErrnoError(33)},getStreamChecked(s){var u=F.getStream(s);if(!u)throw new F.ErrnoError(8);return u},getStream:s=>F.streams[s],createStream(s,u=-1){return d(u>=-1),s=Object.assign(new F.FSStream,s),u==-1&&(u=F.nextfd()),s.fd=u,F.streams[u]=s,s},closeStream(s){F.streams[s]=null},dupStream(s,u=-1){var m=F.createStream(s,u);return m.stream_ops?.dup?.(m),m},doSetAttr(s,u,m){var h=s?.stream_ops.setattr,v=h?s:u;h??=u.node_ops.setattr,F.checkOpExists(h,63);try{h(v,m)}catch(S){throw S instanceof RangeError?new F.ErrnoError(22):S}},chrdev_stream_ops:{open(s){var u=F.getDevice(s.node.rdev);s.stream_ops=u.stream_ops,s.stream_ops.open?.(s)},llseek(){throw new F.ErrnoError(70)}},major:s=>s>>8,minor:s=>s&255,makedev:(s,u)=>s<<8|u,registerDevice(s,u){F.devices[s]={stream_ops:u}},getDevice:s=>F.devices[s],getMounts(s){for(var u=[],m=[s];m.length;){var h=m.pop();u.push(h),m.push(...h.mounts)}return u},syncfs(s,u){typeof s=="function"&&(u=s,s=!1),F.syncFSRequests++,F.syncFSRequests>1&&R(`warning: ${F.syncFSRequests} FS.syncfs operations in flight at once, probably just doing extra work`);var m=F.getMounts(F.root.mount),h=0;function v(O){return d(F.syncFSRequests>0),F.syncFSRequests--,u(O)}function S(O){if(O)return S.errored?void 0:(S.errored=!0,v(O));++h>=m.length&&v(null)}for(var A of m)A.type.syncfs?A.type.syncfs(A,s,S):S(null)},mount(s,u,m){if(typeof s=="string")throw s;var h=m==="/",v=!m,S;if(h&&F.root)throw new F.ErrnoError(10);if(!h&&!v){var A=F.lookupPath(m,{follow_mount:!1});if(m=A.path,S=A.node,F.isMountpoint(S))throw new F.ErrnoError(10);if(!F.isDir(S.mode))throw new F.ErrnoError(54)}var O={type:s,opts:u,mountpoint:m,mounts:[]},N=s.mount(O);return N.mount=O,O.root=N,h?F.root=N:S&&(S.mounted=O,S.mount&&S.mount.mounts.push(O)),N},unmount(s){var u=F.lookupPath(s,{follow_mount:!1});if(!F.isMountpoint(u.node))throw new F.ErrnoError(28);var m=u.node,h=m.mounted,v=F.getMounts(h);for(var[S,A]of Object.entries(F.nameTable))for(;A;){var O=A.name_next;v.includes(A.mount)&&F.destroyNode(A),A=O}m.mounted=null;var N=m.mount.mounts.indexOf(h);d(N!==-1),m.mount.mounts.splice(N,1)},lookup(s,u){return s.node_ops.lookup(s,u)},mknod(s,u,m){var h=F.lookupPath(s,{parent:!0}),v=h.node,S=Pe.basename(s);if(!S)throw new F.ErrnoError(28);if(S==="."||S==="..")throw new F.ErrnoError(20);var A=F.mayCreate(v,S);if(A)throw new F.ErrnoError(A);if(!v.node_ops.mknod)throw new F.ErrnoError(63);return v.node_ops.mknod(v,S,u,m)},statfs(s){return F.statfsNode(F.lookupPath(s,{follow:!0}).node)},statfsStream(s){return F.statfsNode(s.node)},statfsNode(s){var u={bsize:4096,frsize:4096,blocks:1e6,bfree:5e5,bavail:5e5,files:F.nextInode,ffree:F.nextInode-1,fsid:42,flags:2,namelen:255};return s.node_ops.statfs&&Object.assign(u,s.node_ops.statfs(s.mount.opts.root)),u},create(s,u=438){return u&=4095,u|=32768,F.mknod(s,u,0)},mkdir(s,u=511){return u&=1023,u|=16384,F.mknod(s,u,0)},mkdirTree(s,u){var m=s.split("/"),h="";for(var v of m)if(v){(h||Pe.isAbs(s))&&(h+="/"),h+=v;try{F.mkdir(h,u)}catch(S){if(S.errno!=20)throw S}}},mkdev(s,u,m){return typeof m>"u"&&(m=u,u=438),u|=8192,F.mknod(s,u,m)},symlink(s,u){if(!sr.resolve(s))throw new F.ErrnoError(44);var m=F.lookupPath(u,{parent:!0}),h=m.node;if(!h)throw new F.ErrnoError(44);var v=Pe.basename(u),S=F.mayCreate(h,v);if(S)throw new F.ErrnoError(S);if(!h.node_ops.symlink)throw new F.ErrnoError(63);return h.node_ops.symlink(h,v,s)},rename(s,u){var m=Pe.dirname(s),h=Pe.dirname(u),v=Pe.basename(s),S=Pe.basename(u),A,O,N;if(A=F.lookupPath(s,{parent:!0}),O=A.node,A=F.lookupPath(u,{parent:!0}),N=A.node,!O||!N)throw new F.ErrnoError(44);if(O.mount!==N.mount)throw new F.ErrnoError(75);var H=F.lookupNode(O,v),ee=sr.relative(s,h);if(ee.charAt(0)!==".")throw new F.ErrnoError(28);if(ee=sr.relative(u,m),ee.charAt(0)!==".")throw new F.ErrnoError(55);var ce;try{ce=F.lookupNode(N,S)}catch{}if(H!==ce){var J=F.isDir(H.mode),te=F.mayDelete(O,v,J);if(te)throw new F.ErrnoError(te);if(te=ce?F.mayDelete(N,S,J):F.mayCreate(N,S),te)throw new F.ErrnoError(te);if(!O.node_ops.rename)throw new F.ErrnoError(63);if(F.isMountpoint(H)||ce&&F.isMountpoint(ce))throw new F.ErrnoError(10);if(N!==O&&(te=F.nodePermissions(O,"w"),te))throw new F.ErrnoError(te);F.hashRemoveNode(H);try{O.node_ops.rename(H,N,S),H.parent=N}catch(oe){throw oe}finally{F.hashAddNode(H)}}},rmdir(s){var u=F.lookupPath(s,{parent:!0}),m=u.node,h=Pe.basename(s),v=F.lookupNode(m,h),S=F.mayDelete(m,h,!0);if(S)throw new F.ErrnoError(S);if(!m.node_ops.rmdir)throw new F.ErrnoError(63);if(F.isMountpoint(v))throw new F.ErrnoError(10);m.node_ops.rmdir(m,h),F.destroyNode(v)},readdir(s){var u=F.lookupPath(s,{follow:!0}),m=u.node,h=F.checkOpExists(m.node_ops.readdir,54);return h(m)},unlink(s){var u=F.lookupPath(s,{parent:!0}),m=u.node;if(!m)throw new F.ErrnoError(44);var h=Pe.basename(s),v=F.lookupNode(m,h),S=F.mayDelete(m,h,!1);if(S)throw new F.ErrnoError(S);if(!m.node_ops.unlink)throw new F.ErrnoError(63);if(F.isMountpoint(v))throw new F.ErrnoError(10);m.node_ops.unlink(m,h),F.destroyNode(v)},readlink(s){var u=F.lookupPath(s),m=u.node;if(!m)throw new F.ErrnoError(44);if(!m.node_ops.readlink)throw new F.ErrnoError(28);return m.node_ops.readlink(m)},stat(s,u){var m=F.lookupPath(s,{follow:!u}),h=m.node,v=F.checkOpExists(h.node_ops.getattr,63);return v(h)},fstat(s){var u=F.getStreamChecked(s),m=u.node,h=u.stream_ops.getattr,v=h?u:m;return h??=m.node_ops.getattr,F.checkOpExists(h,63),h(v)},lstat(s){return F.stat(s,!0)},doChmod(s,u,m,h){F.doSetAttr(s,u,{mode:m&4095|u.mode&-4096,ctime:Date.now(),dontFollow:h})},chmod(s,u,m){var h;if(typeof s=="string"){var v=F.lookupPath(s,{follow:!m});h=v.node}else h=s;F.doChmod(null,h,u,m)},lchmod(s,u){F.chmod(s,u,!0)},fchmod(s,u){var m=F.getStreamChecked(s);F.doChmod(m,m.node,u,!1)},doChown(s,u,m){F.doSetAttr(s,u,{timestamp:Date.now(),dontFollow:m})},chown(s,u,m,h){var v;if(typeof s=="string"){var S=F.lookupPath(s,{follow:!h});v=S.node}else v=s;F.doChown(null,v,h)},lchown(s,u,m){F.chown(s,u,m,!0)},fchown(s,u,m){var h=F.getStreamChecked(s);F.doChown(h,h.node,!1)},doTruncate(s,u,m){if(F.isDir(u.mode))throw new F.ErrnoError(31);if(!F.isFile(u.mode))throw new F.ErrnoError(28);var h=F.nodePermissions(u,"w");if(h)throw new F.ErrnoError(h);F.doSetAttr(s,u,{size:m,timestamp:Date.now()})},truncate(s,u){if(u<0)throw new F.ErrnoError(28);var m;if(typeof s=="string"){var h=F.lookupPath(s,{follow:!0});m=h.node}else m=s;F.doTruncate(null,m,u)},ftruncate(s,u){var m=F.getStreamChecked(s);if(u<0||(m.flags&2097155)===0)throw new F.ErrnoError(28);F.doTruncate(m,m.node,u)},utime(s,u,m){var h=F.lookupPath(s,{follow:!0}),v=h.node,S=F.checkOpExists(v.node_ops.setattr,63);S(v,{atime:u,mtime:m})},open(s,u,m=438){if(s==="")throw new F.ErrnoError(44);u=Ob(u),u&64?m=m&4095|32768:m=0;var h,v;if(typeof s=="object")h=s;else{v=s.endsWith("/");var S=F.lookupPath(s,{follow:!(u&131072),noent_okay:!0});h=S.node,s=S.path}var A=!1;if(u&64)if(h){if(u&128)throw new F.ErrnoError(20)}else{if(v)throw new F.ErrnoError(31);h=F.mknod(s,m|511,0),A=!0}if(!h)throw new F.ErrnoError(44);if(F.isChrdev(h.mode)&&(u&=-513),u&65536&&!F.isDir(h.mode))throw new F.ErrnoError(54);if(!A){var O=F.mayOpen(h,u);if(O)throw new F.ErrnoError(O)}u&512&&!A&&F.truncate(h,0),u&=-131713;var N=F.createStream({node:h,path:F.getPath(h),flags:u,seekable:!0,position:0,stream_ops:h.stream_ops,ungotten:[],error:!1});return N.stream_ops.open&&N.stream_ops.open(N),A&&F.chmod(h,m&511),N},close(s){if(F.isClosed(s))throw new F.ErrnoError(8);s.getdents&&(s.getdents=null);try{s.stream_ops.close&&s.stream_ops.close(s)}catch(u){throw u}finally{F.closeStream(s.fd)}s.fd=null},isClosed(s){return s.fd===null},llseek(s,u,m){if(F.isClosed(s))throw new F.ErrnoError(8);if(!s.seekable||!s.stream_ops.llseek)throw new F.ErrnoError(70);if(m!=0&&m!=1&&m!=2)throw new F.ErrnoError(28);return s.position=s.stream_ops.llseek(s,u,m),s.ungotten=[],s.position},read(s,u,m,h,v){if(d(m>=0),h<0||v<0)throw new F.ErrnoError(28);if(F.isClosed(s))throw new F.ErrnoError(8);if((s.flags&2097155)===1)throw new F.ErrnoError(8);if(F.isDir(s.node.mode))throw new F.ErrnoError(31);if(!s.stream_ops.read)throw new F.ErrnoError(28);var S=typeof v<"u";if(!S)v=s.position;else if(!s.seekable)throw new F.ErrnoError(70);var A=s.stream_ops.read(s,u,m,h,v);return S||(s.position+=A),A},write(s,u,m,h,v,S){if(d(m>=0),d(u.subarray,"FS.write expects a TypedArray"),h<0||v<0)throw new F.ErrnoError(28);if(F.isClosed(s))throw new F.ErrnoError(8);if((s.flags&2097155)===0)throw new F.ErrnoError(8);if(F.isDir(s.node.mode))throw new F.ErrnoError(31);if(!s.stream_ops.write)throw new F.ErrnoError(28);s.seekable&&s.flags&1024&&F.llseek(s,0,2);var A=typeof v<"u";if(!A)v=s.position;else if(!s.seekable)throw new F.ErrnoError(70);var O=s.stream_ops.write(s,u,m,h,v,S);return A||(s.position+=O),O},mmap(s,u,m,h,v){if((h&2)!==0&&(v&2)===0&&(s.flags&2097155)!==2)throw new F.ErrnoError(2);if((s.flags&2097155)===1)throw new F.ErrnoError(2);if(!s.stream_ops.mmap)throw new F.ErrnoError(43);if(!u)throw new F.ErrnoError(28);return s.stream_ops.mmap(s,u,m,h,v)},msync(s,u,m,h,v){return d(m>=0),s.stream_ops.msync?s.stream_ops.msync(s,u,m,h,v):0},ioctl(s,u,m){if(!s.stream_ops.ioctl)throw new F.ErrnoError(59);return s.stream_ops.ioctl(s,u,m)},readFile(s,u={}){u.flags=u.flags??0,u.encoding=u.encoding??"binary",u.encoding!=="utf8"&&u.encoding!=="binary"&&Ae(`Invalid encoding type "${u.encoding}"`);var m=F.open(s,u.flags),h=F.stat(s),v=h.size,S=new Uint8Array(v);return F.read(m,S,0,v,0),u.encoding==="utf8"&&(S=cr(S)),F.close(m),S},writeFile(s,u,m={}){m.flags=m.flags??577;var h=F.open(s,m.flags,m.mode);u=up(u),F.write(h,u,0,u.byteLength,void 0,m.canOwn),F.close(h)},cwd:()=>F.currentPath,chdir(s){var u=F.lookupPath(s,{follow:!0});if(u.node===null)throw new F.ErrnoError(44);if(!F.isDir(u.node.mode))throw new F.ErrnoError(54);var m=F.nodePermissions(u.node,"x");if(m)throw new F.ErrnoError(m);F.currentPath=u.path},createDefaultDirectories(){F.mkdir("/tmp"),F.mkdir("/home"),F.mkdir("/home/web_user")},createDefaultDevices(){F.mkdir("/dev"),F.registerDevice(F.makedev(1,3),{read:()=>0,write:(h,v,S,A,O)=>A,llseek:()=>0}),F.mkdev("/dev/null",F.makedev(1,3)),tn.register(F.makedev(5,0),tn.default_tty_ops),tn.register(F.makedev(6,0),tn.default_tty1_ops),F.mkdev("/dev/tty",F.makedev(5,0)),F.mkdev("/dev/tty1",F.makedev(6,0));var s=new Uint8Array(1024),u=0,m=()=>(u===0&&(ip(s),u=s.byteLength),s[--u]);F.createDevice("/dev","random",m),F.createDevice("/dev","urandom",m),F.mkdir("/dev/shm"),F.mkdir("/dev/shm/tmp")},createSpecialDirectories(){F.mkdir("/proc");var s=F.mkdir("/proc/self");F.mkdir("/proc/self/fd"),F.mount({mount(){var u=F.createNode(s,"fd",16895,73);return u.stream_ops={llseek:ie.stream_ops.llseek},u.node_ops={lookup(m,h){var v=+h,S=F.getStreamChecked(v),A={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:()=>S.path},id:v+1};return A.parent=A,A},readdir(){return Array.from(F.streams.entries()).filter(([m,h])=>h).map(([m,h])=>m.toString())}},u}},{},"/proc/self/fd")},createStandardStreams(s,u,m){s?F.createDevice("/dev","stdin",s):F.symlink("/dev/tty","/dev/stdin"),u?F.createDevice("/dev","stdout",null,u):F.symlink("/dev/tty","/dev/stdout"),m?F.createDevice("/dev","stderr",null,m):F.symlink("/dev/tty1","/dev/stderr");var h=F.open("/dev/stdin",0),v=F.open("/dev/stdout",1),S=F.open("/dev/stderr",1);d(h.fd===0,`invalid handle for stdin (${h.fd})`),d(v.fd===1,`invalid handle for stdout (${v.fd})`),d(S.fd===2,`invalid handle for stderr (${S.fd})`)},staticInit(){F.nameTable=new Array(4096),F.mount(ie,{},"/"),F.createDefaultDirectories(),F.createDefaultDevices(),F.createSpecialDirectories(),F.filesystems={MEMFS:ie}},init(s,u,m){d(!F.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),F.initialized=!0,s??=n.stdin,u??=n.stdout,m??=n.stderr,F.createStandardStreams(s,u,m)},quit(){F.initialized=!1,Pp(0);for(var s of F.streams)s&&F.close(s)},findObject(s,u){var m=F.analyzePath(s,u);return m.exists?m.object:null},analyzePath(s,u){try{var m=F.lookupPath(s,{follow:!u});s=m.path}catch{}var h={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var m=F.lookupPath(s,{parent:!0});h.parentExists=!0,h.parentPath=m.path,h.parentObject=m.node,h.name=Pe.basename(s),m=F.lookupPath(s,{follow:!u}),h.exists=!0,h.path=m.path,h.object=m.node,h.name=m.node.name,h.isRoot=m.path==="/"}catch(v){h.error=v.errno}return h},createPath(s,u,m,h){s=typeof s=="string"?s:F.getPath(s);for(var v=u.split("/").reverse();v.length;){var S=v.pop();if(S){var A=Pe.join2(s,S);try{F.mkdir(A)}catch(O){if(O.errno!=20)throw O}s=A}}return A},createFile(s,u,m,h,v){var S=Pe.join2(typeof s=="string"?s:F.getPath(s),u),A=pc(h,v);return F.create(S,A)},createDataFile(s,u,m,h,v,S){var A=u;s&&(s=typeof s=="string"?s:F.getPath(s),A=u?Pe.join2(s,u):s);var O=pc(h,v),N=F.create(A,O);if(m){m=up(m),F.chmod(N,O|146);var H=F.open(N,577);F.write(H,m,0,m.length,0,S),F.close(H),F.chmod(N,O)}},createDevice(s,u,m,h){var v=Pe.join2(typeof s=="string"?s:F.getPath(s),u),S=pc(!!m,!!h);F.createDevice.major??=64;var A=F.makedev(F.createDevice.major++,0);return F.registerDevice(A,{open(O){O.seekable=!1},close(O){h?.buffer?.length&&h(10)},read(O,N,H,ee,ce){for(var J=0,te=0;te<ee;te++){var oe;try{oe=m()}catch{throw new F.ErrnoError(29)}if(oe===void 0&&J===0)throw new F.ErrnoError(6);if(oe==null)break;J++,N[H+te]=oe}return J&&(O.node.atime=Date.now()),J},write(O,N,H,ee,ce){for(var J=0;J<ee;J++)try{h(N[H+J])}catch{throw new F.ErrnoError(29)}return ee&&(O.node.mtime=O.node.ctime=Date.now()),J}}),F.mkdev(v,S,A)},forceLoadFile(s){if(s.isDevice||s.isFolder||s.link||s.contents)return!0;if(globalThis.XMLHttpRequest)Ae("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");else try{s.contents=E(s.url)}catch{throw new F.ErrnoError(29)}},createLazyFile(s,u,m,h,v){class S{lengthKnown=!1;chunks=[];get(J){if(!(J>this.length-1||J<0)){var te=J%this.chunkSize,oe=J/this.chunkSize|0;return this.getter(oe)[te]}}setDataGetter(J){this.getter=J}cacheLength(){var J=new XMLHttpRequest;J.open("HEAD",m,!1),J.send(null),J.status>=200&&J.status<300||J.status===304||Ae("Couldn't load "+m+". Status: "+J.status);var te=Number(J.getResponseHeader("Content-length")),oe,ye=(oe=J.getResponseHeader("Accept-Ranges"))&&oe==="bytes",ct=(oe=J.getResponseHeader("Content-Encoding"))&&oe==="gzip",et=1024*1024;ye||(et=te);var St=(wt,dr)=>{wt>dr&&Ae(`invalid range (${wt}, ${dr}) or no bytes requested!`),dr>te-1&&Ae(`only ${te} bytes available! programmer error!`);var je=new XMLHttpRequest;return je.open("GET",m,!1),te!==et&&je.setRequestHeader("Range","bytes="+wt+"-"+dr),je.responseType="arraybuffer",je.overrideMimeType&&je.overrideMimeType("text/plain; charset=x-user-defined"),je.send(null),je.status>=200&&je.status<300||je.status===304||Ae("Couldn't load "+m+". Status: "+je.status),je.response!==void 0?new Uint8Array(je.response||[]):_c(je.responseText??"",!0)},Pi=this;Pi.setDataGetter(wt=>{var dr=wt*et,je=(wt+1)*et-1;return je=Math.min(je,te-1),typeof Pi.chunks[wt]>"u"&&(Pi.chunks[wt]=St(dr,je)),typeof Pi.chunks[wt]>"u"&&Ae("doXHR failed!"),Pi.chunks[wt]}),(ct||!te)&&(et=te=1,te=this.getter(0).length,et=te,M("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=te,this._chunkSize=et,this.lengthKnown=!0}get length(){return this.lengthKnown||this.cacheLength(),this._length}get chunkSize(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}if(globalThis.XMLHttpRequest){r||Ae("Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc");var A=new S,O={isDevice:!1,contents:A}}else var O={isDevice:!1,url:m};var N=F.createFile(s,u,O,h,v);O.contents?N.contents=O.contents:O.url&&(N.contents=null,N.url=O.url),Object.defineProperties(N,{usedBytes:{get:function(){return this.contents.length}}});var H={};for(let[ce,J]of Object.entries(N.stream_ops))H[ce]=(...te)=>(F.forceLoadFile(N),J(...te));function ee(ce,J,te,oe,ye){var ct=ce.node.contents;if(ye>=ct.length)return 0;var et=Math.min(ct.length-ye,oe);if(d(et>=0),ct.slice)for(var St=0;St<et;St++)J[te+St]=ct[ye+St];else for(var St=0;St<et;St++)J[te+St]=ct.get(ye+St);return et}return H.read=(ce,J,te,oe,ye)=>(F.forceLoadFile(N),ee(ce,J,te,oe,ye)),H.mmap=(ce,J,te,oe,ye)=>{F.forceLoadFile(N);var ct=cp(J);if(!ct)throw new F.ErrnoError(48);return ee(ce,st,ct,J,te),{ptr:ct,allocated:!0}},N.stream_ops=H,N}},me={currentUmask:18,calculateAt(s,u,m){if(Pe.isAbs(u))return u;var h;if(s===-100)h=F.cwd();else{var v=me.getStreamFromFD(s);h=v.path}if(u.length==0){if(!m)throw new F.ErrnoError(44);return h}return h+"/"+u},writeStat(s,u){fe[s>>2]=u.dev,fe[s+4>>2]=u.mode,fe[s+8>>2]=u.nlink,fe[s+12>>2]=u.uid,fe[s+16>>2]=u.gid,fe[s+20>>2]=u.rdev,Ve[s+24>>3]=BigInt(u.size),de[s+32>>2]=4096,de[s+36>>2]=u.blocks;var m=u.atime.getTime(),h=u.mtime.getTime(),v=u.ctime.getTime();return Ve[s+40>>3]=BigInt(Math.floor(m/1e3)),fe[s+48>>2]=m%1e3*1e3*1e3,Ve[s+56>>3]=BigInt(Math.floor(h/1e3)),fe[s+64>>2]=h%1e3*1e3*1e3,Ve[s+72>>3]=BigInt(Math.floor(v/1e3)),fe[s+80>>2]=v%1e3*1e3*1e3,Ve[s+88>>3]=BigInt(u.ino),0},writeStatFs(s,u){fe[s+4>>2]=u.bsize,fe[s+60>>2]=u.bsize,Ve[s+8>>3]=BigInt(u.blocks),Ve[s+16>>3]=BigInt(u.bfree),Ve[s+24>>3]=BigInt(u.bavail),Ve[s+32>>3]=BigInt(u.files),Ve[s+40>>3]=BigInt(u.ffree),fe[s+48>>2]=u.fsid,fe[s+64>>2]=u.flags,fe[s+56>>2]=u.namelen},doMsync(s,u,m,h,v){if(!F.isFile(u.node.mode))throw new F.ErrnoError(43);if(h&2)return 0;var S=or.slice(s,s+m);F.msync(u,S,v,m,h)},getStreamFromFD(s){var u=F.getStreamChecked(s);return u},varargs:void 0,getStr(s){var u=Ao(s);return u}};function Nb(s,u,m){me.varargs=m;try{var h=me.getStreamFromFD(s);switch(u){case 0:{var v=ko();if(v<0)return-28;for(;F.streams[v];)v++;var S;return S=F.dupStream(h,v),S.fd}case 1:case 2:return 0;case 3:return h.flags;case 4:{var v=ko(),A=289792;return h.flags=h.flags&~A|v&A,0}case 12:{var v=ar(),O=0;return ir[v+O>>1]=2,0}case 13:case 14:return 0}return-28}catch(N){if(typeof F>"u"||N.name!=="ErrnoError")throw N;return-N.errno}}function zb(s,u){try{return me.writeStat(u,F.fstat(s))}catch(m){if(typeof F>"u"||m.name!=="ErrnoError")throw m;return-m.errno}}var Lb=9007199254740992,Mb=-9007199254740992,lr=s=>s<Mb||s>Lb?NaN:Number(s);function Ub(s,u){u=lr(u);try{return isNaN(u)?-22:(F.ftruncate(s,u),0)}catch(m){if(typeof F>"u"||m.name!=="ErrnoError")throw m;return-m.errno}}var kn=(s,u,m)=>(d(typeof m=="number","stringToUTF8 requires a third parameter that specifies the length of the output buffer"),ap(s,or,u,m));function Bb(s,u,m){try{var h=me.getStreamFromFD(s);h.getdents||=F.readdir(h.path);for(var v=280,S=0,A=F.llseek(h,0,1),O=Math.floor(A/v),N=Math.min(h.getdents.length,O+Math.floor(m/v)),H=O;H<N;H++){var ee,ce,J=h.getdents[H];if(J===".")ee=h.node.id,ce=4;else if(J===".."){var te=F.lookupPath(h.path,{parent:!0});ee=te.node.id,ce=4}else{var oe;try{oe=F.lookupNode(h.node,J)}catch(ye){if(ye?.errno===28)continue;throw ye}ee=oe.id,ce=F.isChrdev(oe.mode)?2:F.isDir(oe.mode)?4:F.isLink(oe.mode)?10:8}d(ee),Ve[u+S>>3]=BigInt(ee),Ve[u+S+8>>3]=BigInt((H+1)*v),ir[u+S+16>>1]=280,st[u+S+18]=ce,kn(J,u+S+19,256),S+=v}return F.llseek(h,H*v,0),S}catch(ye){if(typeof F>"u"||ye.name!=="ErrnoError")throw ye;return-ye.errno}}function Wb(s,u,m){me.varargs=m;try{var h=me.getStreamFromFD(s);switch(u){case 21509:return h.tty?0:-59;case 21505:{if(!h.tty)return-59;if(h.tty.ops.ioctl_tcgets){var v=h.tty.ops.ioctl_tcgets(h),S=ar();de[S>>2]=v.c_iflag||0,de[S+4>>2]=v.c_oflag||0,de[S+8>>2]=v.c_cflag||0,de[S+12>>2]=v.c_lflag||0;for(var A=0;A<32;A++)st[S+A+17]=v.c_cc[A]||0;return 0}return 0}case 21510:case 21511:case 21512:return h.tty?0:-59;case 21506:case 21507:case 21508:{if(!h.tty)return-59;if(h.tty.ops.ioctl_tcsets){for(var S=ar(),O=de[S>>2],N=de[S+4>>2],H=de[S+8>>2],ee=de[S+12>>2],ce=[],A=0;A<32;A++)ce.push(st[S+A+17]);return h.tty.ops.ioctl_tcsets(h.tty,u,{c_iflag:O,c_oflag:N,c_cflag:H,c_lflag:ee,c_cc:ce})}return 0}case 21519:{if(!h.tty)return-59;var S=ar();return de[S>>2]=0,0}case 21520:return h.tty?-28:-59;case 21537:case 21531:{var S=ar();return F.ioctl(h,u,S)}case 21523:{if(!h.tty)return-59;if(h.tty.ops.ioctl_tiocgwinsz){var J=h.tty.ops.ioctl_tiocgwinsz(h.tty),S=ar();ir[S>>1]=J[0],ir[S+2>>1]=J[1]}return 0}case 21524:return h.tty?0:-59;case 21515:return h.tty?0:-59;default:return-28}}catch(te){if(typeof F>"u"||te.name!=="ErrnoError")throw te;return-te.errno}}function Vb(s,u){try{return s=me.getStr(s),me.writeStat(u,F.lstat(s))}catch(m){if(typeof F>"u"||m.name!=="ErrnoError")throw m;return-m.errno}}function Zb(s,u,m,h){try{u=me.getStr(u);var v=h&256,S=h&4096;return h=h&-6401,d(!h,`unknown flags in __syscall_newfstatat: ${h}`),u=me.calculateAt(s,u,S),me.writeStat(m,v?F.lstat(u):F.stat(u))}catch(A){if(typeof F>"u"||A.name!=="ErrnoError")throw A;return-A.errno}}function Hb(s,u,m,h){me.varargs=h;try{u=me.getStr(u),u=me.calculateAt(s,u);var v=h?ko():0;return m&64&&(v&=~me.currentUmask),F.open(u,m,v).fd}catch(S){if(typeof F>"u"||S.name!=="ErrnoError")throw S;return-S.errno}}function Jb(s){try{return s=me.getStr(s),F.rmdir(s),0}catch(u){if(typeof F>"u"||u.name!=="ErrnoError")throw u;return-u.errno}}function Kb(s,u){try{return s=me.getStr(s),me.writeStat(u,F.stat(s))}catch(m){if(typeof F>"u"||m.name!=="ErrnoError")throw m;return-m.errno}}function qb(s,u,m){try{if(u=me.getStr(u),u=me.calculateAt(s,u),!m)F.unlink(u);else if(m===512)F.rmdir(u);else return-28;return 0}catch(h){if(typeof F>"u"||h.name!=="ErrnoError")throw h;return-h.errno}}var Xb=()=>Ae("native code called abort()"),Yb=()=>{throw new en};function Qb(s,u){s=lr(s);var m=new Date(s*1e3);de[u>>2]=m.getUTCSeconds(),de[u+4>>2]=m.getUTCMinutes(),de[u+8>>2]=m.getUTCHours(),de[u+12>>2]=m.getUTCDate(),de[u+16>>2]=m.getUTCMonth(),de[u+20>>2]=m.getUTCFullYear()-1900,de[u+24>>2]=m.getUTCDay();var h=Date.UTC(m.getUTCFullYear(),0,1,0,0,0,0),v=(m.getTime()-h)/(1e3*60*60*24)|0;de[u+28>>2]=v}var eS=s=>s%4===0&&(s%100!==0||s%400===0),tS=[0,31,60,91,121,152,182,213,244,274,305,335],nS=[0,31,59,90,120,151,181,212,243,273,304,334],rS=s=>{var u=eS(s.getFullYear()),m=u?tS:nS,h=m[s.getMonth()]+s.getDate()-1;return h};function iS(s,u){s=lr(s);var m=new Date(s*1e3);de[u>>2]=m.getSeconds(),de[u+4>>2]=m.getMinutes(),de[u+8>>2]=m.getHours(),de[u+12>>2]=m.getDate(),de[u+16>>2]=m.getMonth(),de[u+20>>2]=m.getFullYear()-1900,de[u+24>>2]=m.getDay();var h=rS(m)|0;de[u+28>>2]=h,de[u+36>>2]=-(m.getTimezoneOffset()*60);var v=new Date(m.getFullYear(),0,1),S=new Date(m.getFullYear(),6,1).getTimezoneOffset(),A=v.getTimezoneOffset(),O=(S!=A&&m.getTimezoneOffset()==Math.min(A,S))|0;de[u+32>>2]=O}function oS(s,u,m,h,v,S,A){v=lr(v);try{d(!isNaN(v));var O=me.getStreamFromFD(h),N=F.mmap(O,s,v,u,m),H=N.ptr;return de[S>>2]=N.allocated,fe[A>>2]=H,0}catch(ee){if(typeof F>"u"||ee.name!=="ErrnoError")throw ee;return-ee.errno}}function aS(s,u,m,h,v,S){S=lr(S);try{var A=me.getStreamFromFD(v);m&2&&me.doMsync(s,A,u,h,S)}catch(O){if(typeof F>"u"||O.name!=="ErrnoError")throw O;return-O.errno}}var sS=(s,u,m,h)=>{var v=new Date().getFullYear(),S=new Date(v,0,1),A=new Date(v,6,1),O=S.getTimezoneOffset(),N=A.getTimezoneOffset(),H=Math.max(O,N);fe[s>>2]=H*60,de[u>>2]=+(O!=N);var ee=te=>{var oe=te>=0?"-":"+",ye=Math.abs(te),ct=String(Math.floor(ye/60)).padStart(2,"0"),et=String(ye%60).padStart(2,"0");return`UTC${oe}${ct}${et}`},ce=ee(O),J=ee(N);d(ce),d(J),d(gi(ce)<=16,`timezone name truncated to fit in TZNAME_MAX (${ce})`),d(gi(J)<=16,`timezone name truncated to fit in TZNAME_MAX (${J})`),N<O?(kn(ce,m,17),kn(J,h,17)):(kn(ce,h,17),kn(J,m,17))},cS=()=>Date.now(),uS=(s,u)=>R(Ao(s,u)),lS=()=>2147483648,dS=s=>{var u=wo.buffer.byteLength,m=(s-u+65535)/65536|0;try{return wo.grow(m),Y_(),1}catch(h){R(`growMemory: Attempted to grow heap from ${u} bytes to ${s} bytes, but got error: ${h}`)}},fS=s=>{var u=or.length;s>>>=0,d(s>u);var m=lS();if(s>m)return R(`Cannot enlarge memory, requested ${s} bytes, but the limit is ${m} bytes!`),!1;for(var h=1;h<=4;h*=2){var v=u*(1+.2/h);v=Math.min(v,s+100663296);var S=Math.min(m,sp(Math.max(s,v),65536)),A=dS(S);if(A)return!0}return R(`Failed to grow the heap from ${u} bytes to ${S} bytes, not enough memory!`),!1},Fc={},mS=()=>f,hi=()=>{if(!hi.strings){var s=(globalThis.navigator?.language??"C").replace("-","_")+".UTF-8",u={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:s,_:mS()};for(var m in Fc)Fc[m]===void 0?delete u[m]:u[m]=Fc[m];var h=[];for(var m in u)h.push(`${m}=${u[m]}`);hi.strings=h}return hi.strings},_S=(s,u)=>{var m=0,h=0;for(var v of hi()){var S=u+m;fe[s+h>>2]=S,m+=kn(v,S,1/0)+1,h+=4}return 0},pS=(s,u)=>{var m=hi();fe[s>>2]=m.length;var h=0;for(var v of m)h+=gi(v)+1;return fe[u>>2]=h,0};function gS(s){try{var u=me.getStreamFromFD(s);return F.close(u),0}catch(m){if(typeof F>"u"||m.name!=="ErrnoError")throw m;return m.errno}}var FS=(s,u,m,h)=>{for(var v=0,S=0;S<m;S++){var A=fe[u>>2],O=fe[u+4>>2];u+=8;var N=F.read(s,st,A,O,h);if(N<0)return-1;if(v+=N,N<O)break;typeof h<"u"&&(h+=N)}return v};function hS(s,u,m,h){try{var v=me.getStreamFromFD(s),S=FS(v,u,m);return fe[h>>2]=S,0}catch(A){if(typeof F>"u"||A.name!=="ErrnoError")throw A;return A.errno}}function PS(s,u,m,h){u=lr(u);try{if(isNaN(u))return 22;var v=me.getStreamFromFD(s);return F.llseek(v,u,m),Ve[h>>3]=BigInt(v.position),v.getdents&&u===0&&m===0&&(v.getdents=null),0}catch(S){if(typeof F>"u"||S.name!=="ErrnoError")throw S;return S.errno}}function vS(s){try{var u=me.getStreamFromFD(s),m=u.stream_ops?.fsync?.(u);return m}catch(h){if(typeof F>"u"||h.name!=="ErrnoError")throw h;return h.errno}}var DS=(s,u,m,h)=>{for(var v=0,S=0;S<m;S++){var A=fe[u>>2],O=fe[u+4>>2];u+=8;var N=F.write(s,st,A,O,h);if(N<0)return-1;if(v+=N,N<O)break;typeof h<"u"&&(h+=N)}return v};function yS(s,u,m,h){try{var v=me.getStreamFromFD(s),S=DS(v,u,m);return fe[h>>2]=S,0}catch(A){if(typeof F>"u"||A.name!=="ErrnoError")throw A;return A.errno}}var hc=[],rn=s=>{var u=hc[s];return u||(hc[s]=u=En.get(s)),d(En.get(s)==u,"table mirror is out of date"),u},bS=s=>{var u=n["_"+s];return d(u,`Cannot call unknown function ${s}, make sure it is exported`),u},SS=(s,u)=>{d(s.length>=0,"writeArrayToMemory array must have a length (should be an array or typed array)"),st.set(s,u)},pp=s=>Sp(s),$S=s=>{var u=gi(s)+1,m=pp(u);return kn(s,m,u),m},gp=(s,u,m,h,v)=>{var S={string:oe=>{var ye=0;return oe!=null&&oe!==0&&(ye=$S(oe)),ye},array:oe=>{var ye=pp(oe.length);return SS(oe,ye),ye}};function A(oe){return u==="string"?Ao(oe):u==="boolean"?!!oe:oe}var O=bS(s),N=[],H=0;if(d(u!=="array",'return type should not be "array"'),h)for(var ee=0;ee<h.length;ee++){var ce=S[m[ee]];ce?(H===0&&(H=xn()),N[ee]=ce(h[ee])):N[ee]=h[ee]}var J=O(...N);function te(oe){return H!==0&&$n(H),A(oe)}return J=te(J),J},xS=(s,u,m,h)=>(...v)=>gp(s,u,m,v,h),IS=(s,u)=>{if(An)for(var m=s;m<s+u;m++){var h=rn(m);h&&An.set(h,m)}},An,kS=s=>(An||(An=new WeakMap,IS(0,En.length)),An.get(s)||0),Pc=[],AS=()=>{if(Pc.length)return Pc.pop();try{return En.grow(1)}catch(s){if(!(s instanceof RangeError))throw s;Ae("Unable to grow wasm table. Set ALLOW_TABLE_GROWTH.")}},vc=(s,u)=>{En.set(s,u),hc[s]=En.get(s)},Fp=s=>{let u=s.length;return d(u<16384),[u%128|128,u>>7,...s]},wS={i:127,p:127,j:126,f:125,d:124,e:111},hp=s=>Fp(Array.from(s,u=>{var m=wS[u];return d(m,`invalid signature char: ${u}`),m})),ES=(s,u)=>{var m=Uint8Array.of(0,97,115,109,1,0,0,0,1,...Fp([1,96,...hp(u.slice(1)),...hp(u[0]==="v"?"":u[0])]),2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0),h=new WebAssembly.Module(m),v=new WebAssembly.Instance(h,{e:{f:s}}),S=v.exports.f;return S},OS=(s,u)=>{d(typeof s<"u");var m=kS(s);if(m)return m;var h=AS();try{vc(h,s)}catch(S){if(!(S instanceof TypeError))throw S;d(typeof u<"u","Missing signature argument to addFunction: "+s);var v=ES(s,u);vc(h,v)}return An.set(s,h),h},TS=s=>{An.delete(rn(s)),vc(s,null),Pc.push(s)},GS=(...s)=>F.createPath(...s),CS=(...s)=>F.unlink(...s),RS=(...s)=>F.createLazyFile(...s),jS=(...s)=>F.createDevice(...s);F.createPreloadedFile=jb,F.preloadFile=gc,F.staticInit();{if(n.noExitRuntime&&(xb=n.noExitRuntime),n.preloadPlugins&&(_p=n.preloadPlugins),n.print&&(M=n.print),n.printErr&&(R=n.printErr),n.wasmBinary&&(Z=n.wasmBinary),LS(),n.arguments&&(l=n.arguments),n.thisProgram&&(f=n.thisProgram),d(typeof n.memoryInitializerPrefixURL>"u","Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),d(typeof n.pthreadMainPrefixURL>"u","Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),d(typeof n.cdInitializerPrefixURL>"u","Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),d(typeof n.filePackagePrefixURL>"u","Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),d(typeof n.read>"u","Module.read option was removed"),d(typeof n.readAsync>"u","Module.readAsync option was removed (modify readAsync in JS)"),d(typeof n.readBinary>"u","Module.readBinary option was removed (modify readBinary in JS)"),d(typeof n.setWindowTitle>"u","Module.setWindowTitle option was removed (modify emscripten_set_window_title in JS)"),d(typeof n.TOTAL_MEMORY>"u","Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),d(typeof n.ENVIRONMENT>"u","Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)"),d(typeof n.STACK_SIZE>"u","STACK_SIZE can no longer be set at runtime. Use -sSTACK_SIZE at link time"),d(typeof n.wasmMemory>"u","Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),d(typeof n.INITIAL_MEMORY>"u","Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically"),n.preInit)for(typeof n.preInit=="function"&&(n.preInit=[n.preInit]);n.preInit.length>0;)n.preInit.shift()();rr("preInit")}n.wasmExports=on,n.addRunDependency=mp,n.removeRunDependency=fp,n.ccall=gp,n.cwrap=xS,n.addFunction=OS,n.removeFunction=TS,n.setValue=Ib,n.FS_preloadFile=gc,n.FS_unlink=CS,n.FS_createPath=GS,n.FS_createDevice=jS,n.FS=F,n.FS_createDataFile=dp,n.FS_createLazyFile=RS;var NS=["writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getTempRet0","setTempRet0","createNamedFunction","exitJS","withStackSave","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","readEmAsmArgs","jstoi_q","autoResumeAudioContext","getDynCaller","dynCall","handleException","keepRuntimeAlive","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","asmjsMangle","HandleAllocator","addOnInit","addOnPostCtor","addOnPreMain","addOnExit","STACK_SIZE","STACK_ALIGN","POINTER_SIZE","ASSERTIONS","intArrayToString","AsciiToString","stringToAscii","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","stringToNewUTF8","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","jsStackTrace","getCallstack","convertPCtoSourceLocation","checkWasiClock","wasiRightsToMuslOFlags","wasiOFlagsToMuslOFlags","safeSetTimeout","setImmediateWrapped","safeRequestAnimationFrame","clearImmediateWrapped","registerPostMainLoop","registerPreMainLoop","getPromise","makePromise","addPromise","idsToPromises","makePromiseCallback","ExceptionInfo","findMatchingCatch","incrementUncaughtExceptionCount","decrementUncaughtExceptionCount","Browser_asyncPrepareDataCounter","arraySum","addDays","getSocketFromFD","getSocketAddress","FS_mkdirTree","_setNetworkCallback","heapObjectForWebGLType","toTypedArrayIndex","webgl_enable_ANGLE_instanced_arrays","webgl_enable_OES_vertex_array_object","webgl_enable_WEBGL_draw_buffers","webgl_enable_WEBGL_multi_draw","webgl_enable_EXT_polygon_offset_clamp","webgl_enable_EXT_clip_control","webgl_enable_WEBGL_polygon_mode","emscriptenWebGLGet","computeUnpackAlignedImageSize","colorChannelsInGlTextureFormat","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetProgramUniformLocation","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","__glGetActiveAttribOrUniform","writeGLArray","registerWebGlEventCallback","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate","writeStringToMemory","writeAsciiToMemory","allocateUTF8","allocateUTF8OnStack","demangle","stackTrace","getNativeTypeSize"];NS.forEach(db);var zS=["run","out","err","callMain","abort","writeStackCookie","checkStackCookie","INT53_MAX","INT53_MIN","bigintToI53Checked","HEAP64","HEAPU64","stackSave","stackRestore","stackAlloc","ptrToString","zeroMemory","getHeapMax","growMemory","ENV","ERRNO_CODES","strError","DNS","Protocols","Sockets","timers","warnOnce","readEmAsmArgsArray","getExecutableName","asyncLoad","alignMemory","mmapAlloc","wasmTable","wasmMemory","getUniqueRunDependency","noExitRuntime","addOnPreRun","addOnPostRun","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","getFunctionAddress","getValue","PATH","PATH_FS","UTF8Decoder","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","intArrayFromString","UTF16Decoder","stringToUTF8OnStack","writeArrayToMemory","JSEvents","specialHTMLTargets","findCanvasEventTarget","currentFullscreenStrategy","restoreOldWindowedStyle","UNWIND_CACHE","ExitStatus","getEnvStrings","doReadv","doWritev","initRandomFill","randomFill","emSetImmediate","emClearImmediate_deps","emClearImmediate","promiseMap","uncaughtExceptionCount","exceptionCaught","Browser","requestFullscreen","requestFullScreen","setCanvasSize","getUserMedia","createContext","getPreloadedImageData__data","wget","MONTH_DAYS_REGULAR","MONTH_DAYS_LEAP","MONTH_DAYS_REGULAR_CUMULATIVE","MONTH_DAYS_LEAP_CUMULATIVE","isLeapYear","ydayFromDate","SYSCALLS","preloadPlugins","FS_createPreloadedFile","FS_modeStringToFlags","FS_getMode","FS_fileDataToTypedArray","FS_stdin_getChar_buffer","FS_stdin_getChar","FS_readFile","FS_root","FS_mounts","FS_devices","FS_streams","FS_nextInode","FS_nameTable","FS_currentPath","FS_initialized","FS_ignorePermissions","FS_filesystems","FS_syncFSRequests","FS_lookupPath","FS_getPath","FS_hashName","FS_hashAddNode","FS_hashRemoveNode","FS_lookupNode","FS_createNode","FS_destroyNode","FS_isRoot","FS_isMountpoint","FS_isFile","FS_isDir","FS_isLink","FS_isChrdev","FS_isBlkdev","FS_isFIFO","FS_isSocket","FS_flagsToPermissionString","FS_nodePermissions","FS_mayLookup","FS_mayCreate","FS_mayDelete","FS_mayOpen","FS_checkOpExists","FS_nextfd","FS_getStreamChecked","FS_getStream","FS_createStream","FS_closeStream","FS_dupStream","FS_doSetAttr","FS_chrdev_stream_ops","FS_major","FS_minor","FS_makedev","FS_registerDevice","FS_getDevice","FS_getMounts","FS_syncfs","FS_mount","FS_unmount","FS_lookup","FS_mknod","FS_statfs","FS_statfsStream","FS_statfsNode","FS_create","FS_mkdir","FS_mkdev","FS_symlink","FS_rename","FS_rmdir","FS_readdir","FS_readlink","FS_stat","FS_fstat","FS_lstat","FS_doChmod","FS_chmod","FS_lchmod","FS_fchmod","FS_doChown","FS_chown","FS_lchown","FS_fchown","FS_doTruncate","FS_truncate","FS_ftruncate","FS_utime","FS_open","FS_close","FS_isClosed","FS_llseek","FS_read","FS_write","FS_mmap","FS_msync","FS_ioctl","FS_writeFile","FS_cwd","FS_chdir","FS_createDefaultDirectories","FS_createDefaultDevices","FS_createSpecialDirectories","FS_createStandardStreams","FS_staticInit","FS_init","FS_quit","FS_findObject","FS_analyzePath","FS_createFile","FS_forceLoadFile","MEMFS","TTY","PIPEFS","SOCKFS","tempFixedLengthArray","miniTempWebGLFloatBuffers","miniTempWebGLIntBuffers","GL","AL","GLUT","EGL","GLEW","IDBStore","SDL","SDL_gfx","print","printErr","jstoi_s"];zS.forEach(K_);function LS(){Sn("fetchSettings"),Sn("logReadFiles"),Sn("loadSplitModule"),Sn("onMalloc"),Sn("onRealloc"),Sn("onFree"),Sn("onSbrkGrow")}var MS=n._PDFium_Init=_("_PDFium_Init"),US=n._FPDF_InitLibraryWithConfig=_("_FPDF_InitLibraryWithConfig"),BS=n._FPDFAnnot_IsSupportedSubtype=_("_FPDFAnnot_IsSupportedSubtype"),WS=n._FPDFPage_CreateAnnot=_("_FPDFPage_CreateAnnot"),VS=n._FPDFPage_GetAnnotCount=_("_FPDFPage_GetAnnotCount"),ZS=n._FPDFPage_GetAnnot=_("_FPDFPage_GetAnnot"),HS=n._FPDFPage_GetAnnotIndex=_("_FPDFPage_GetAnnotIndex"),JS=n._FPDFPage_CloseAnnot=_("_FPDFPage_CloseAnnot"),KS=n._FPDFPage_RemoveAnnot=_("_FPDFPage_RemoveAnnot"),qS=n._FPDFAnnot_GetSubtype=_("_FPDFAnnot_GetSubtype"),XS=n._FPDFAnnot_IsObjectSupportedSubtype=_("_FPDFAnnot_IsObjectSupportedSubtype"),YS=n._FPDFAnnot_UpdateObject=_("_FPDFAnnot_UpdateObject"),QS=n._FPDFAnnot_AddInkStroke=_("_FPDFAnnot_AddInkStroke"),e$=n._FPDFAnnot_RemoveInkList=_("_FPDFAnnot_RemoveInkList"),t$=n._FPDFAnnot_AppendObject=_("_FPDFAnnot_AppendObject"),n$=n._FPDFAnnot_GetObjectCount=_("_FPDFAnnot_GetObjectCount"),r$=n._FPDFAnnot_GetObject=_("_FPDFAnnot_GetObject"),i$=n._FPDFAnnot_RemoveObject=_("_FPDFAnnot_RemoveObject"),o$=n._FPDFAnnot_SetColor=_("_FPDFAnnot_SetColor"),a$=n._FPDFAnnot_GetColor=_("_FPDFAnnot_GetColor"),s$=n._FPDFAnnot_HasAttachmentPoints=_("_FPDFAnnot_HasAttachmentPoints"),c$=n._FPDFAnnot_SetAttachmentPoints=_("_FPDFAnnot_SetAttachmentPoints"),u$=n._FPDFAnnot_AppendAttachmentPoints=_("_FPDFAnnot_AppendAttachmentPoints"),l$=n._FPDFAnnot_CountAttachmentPoints=_("_FPDFAnnot_CountAttachmentPoints"),d$=n._FPDFAnnot_GetAttachmentPoints=_("_FPDFAnnot_GetAttachmentPoints"),f$=n._FPDFAnnot_SetRect=_("_FPDFAnnot_SetRect"),m$=n._FPDFAnnot_GetRect=_("_FPDFAnnot_GetRect"),_$=n._FPDFAnnot_GetVertices=_("_FPDFAnnot_GetVertices"),p$=n._FPDFAnnot_GetInkListCount=_("_FPDFAnnot_GetInkListCount"),g$=n._FPDFAnnot_GetInkListPath=_("_FPDFAnnot_GetInkListPath"),F$=n._FPDFAnnot_GetLine=_("_FPDFAnnot_GetLine"),h$=n._FPDFAnnot_SetBorder=_("_FPDFAnnot_SetBorder"),P$=n._FPDFAnnot_GetBorder=_("_FPDFAnnot_GetBorder"),v$=n._FPDFAnnot_HasKey=_("_FPDFAnnot_HasKey"),D$=n._FPDFAnnot_GetValueType=_("_FPDFAnnot_GetValueType"),y$=n._FPDFAnnot_SetStringValue=_("_FPDFAnnot_SetStringValue"),b$=n._FPDFAnnot_GetStringValue=_("_FPDFAnnot_GetStringValue"),S$=n._FPDFAnnot_GetNumberValue=_("_FPDFAnnot_GetNumberValue"),$$=n._FPDFAnnot_SetAP=_("_FPDFAnnot_SetAP"),x$=n._FPDFAnnot_GetAP=_("_FPDFAnnot_GetAP"),I$=n._FPDFAnnot_GetLinkedAnnot=_("_FPDFAnnot_GetLinkedAnnot"),k$=n._FPDFAnnot_GetFlags=_("_FPDFAnnot_GetFlags"),A$=n._FPDFAnnot_SetFlags=_("_FPDFAnnot_SetFlags"),w$=n._FPDFAnnot_GetFormFieldFlags=_("_FPDFAnnot_GetFormFieldFlags"),E$=n._FPDFAnnot_SetFormFieldFlags=_("_FPDFAnnot_SetFormFieldFlags"),O$=n._FPDFAnnot_GetFormFieldAtPoint=_("_FPDFAnnot_GetFormFieldAtPoint"),T$=n._FPDFAnnot_GetFormFieldName=_("_FPDFAnnot_GetFormFieldName"),G$=n._FPDFAnnot_GetFormFieldType=_("_FPDFAnnot_GetFormFieldType"),C$=n._FPDFAnnot_GetFormAdditionalActionJavaScript=_("_FPDFAnnot_GetFormAdditionalActionJavaScript"),R$=n._FPDFAnnot_GetFormFieldAlternateName=_("_FPDFAnnot_GetFormFieldAlternateName"),j$=n._FPDFAnnot_GetFormFieldValue=_("_FPDFAnnot_GetFormFieldValue"),N$=n._FPDFAnnot_GetOptionCount=_("_FPDFAnnot_GetOptionCount"),z$=n._FPDFAnnot_GetOptionLabel=_("_FPDFAnnot_GetOptionLabel"),L$=n._FPDFAnnot_IsOptionSelected=_("_FPDFAnnot_IsOptionSelected"),M$=n._FPDFAnnot_GetFontSize=_("_FPDFAnnot_GetFontSize"),U$=n._FPDFAnnot_SetFontColor=_("_FPDFAnnot_SetFontColor"),B$=n._FPDFAnnot_GetFontColor=_("_FPDFAnnot_GetFontColor"),W$=n._FPDFAnnot_IsChecked=_("_FPDFAnnot_IsChecked"),V$=n._FPDFAnnot_SetFocusableSubtypes=_("_FPDFAnnot_SetFocusableSubtypes"),Z$=n._FPDFAnnot_GetFocusableSubtypesCount=_("_FPDFAnnot_GetFocusableSubtypesCount"),H$=n._FPDFAnnot_GetFocusableSubtypes=_("_FPDFAnnot_GetFocusableSubtypes"),J$=n._FPDFAnnot_GetLink=_("_FPDFAnnot_GetLink"),K$=n._FPDFAnnot_GetFormControlCount=_("_FPDFAnnot_GetFormControlCount"),q$=n._FPDFAnnot_GetFormControlIndex=_("_FPDFAnnot_GetFormControlIndex"),X$=n._FPDFAnnot_GetFormFieldExportValue=_("_FPDFAnnot_GetFormFieldExportValue"),Y$=n._FPDFAnnot_SetURI=_("_FPDFAnnot_SetURI"),Q$=n._FPDFAnnot_GetFileAttachment=_("_FPDFAnnot_GetFileAttachment"),ex=n._FPDFAnnot_AddFileAttachment=_("_FPDFAnnot_AddFileAttachment"),tx=n._FPDFDoc_GetAttachmentCount=_("_FPDFDoc_GetAttachmentCount"),nx=n._FPDFDoc_AddAttachment=_("_FPDFDoc_AddAttachment"),rx=n._FPDFDoc_GetAttachment=_("_FPDFDoc_GetAttachment"),ix=n._FPDFDoc_DeleteAttachment=_("_FPDFDoc_DeleteAttachment"),ox=n._FPDFAttachment_GetName=_("_FPDFAttachment_GetName"),ax=n._FPDFAttachment_HasKey=_("_FPDFAttachment_HasKey"),sx=n._FPDFAttachment_GetValueType=_("_FPDFAttachment_GetValueType"),cx=n._FPDFAttachment_SetStringValue=_("_FPDFAttachment_SetStringValue"),ux=n._FPDFAttachment_GetStringValue=_("_FPDFAttachment_GetStringValue"),lx=n._FPDFAttachment_SetDescription=_("_FPDFAttachment_SetDescription"),dx=n._FPDFAttachment_GetDescription=_("_FPDFAttachment_GetDescription"),fx=n._FPDFAttachment_SetFile=_("_FPDFAttachment_SetFile"),mx=n._FPDFAttachment_GetFile=_("_FPDFAttachment_GetFile"),_x=n._FPDFAttachment_GetSubtype=_("_FPDFAttachment_GetSubtype"),px=n._FPDFCatalog_IsTagged=_("_FPDFCatalog_IsTagged"),gx=n._FPDFCatalog_GetLanguage=_("_FPDFCatalog_GetLanguage"),Fx=n._FPDFCatalog_SetLanguage=_("_FPDFCatalog_SetLanguage"),hx=n._FPDFAvail_Create=_("_FPDFAvail_Create"),Px=n._FPDFAvail_Destroy=_("_FPDFAvail_Destroy"),vx=n._FPDFAvail_IsDocAvail=_("_FPDFAvail_IsDocAvail"),Dx=n._FPDFAvail_GetDocument=_("_FPDFAvail_GetDocument"),yx=n._FPDFAvail_GetFirstPageNum=_("_FPDFAvail_GetFirstPageNum"),bx=n._FPDFAvail_IsPageAvail=_("_FPDFAvail_IsPageAvail"),Sx=n._FPDFAvail_IsFormAvail=_("_FPDFAvail_IsFormAvail"),$x=n._FPDFAvail_IsLinearized=_("_FPDFAvail_IsLinearized"),xx=n._FPDFBookmark_GetFirstChild=_("_FPDFBookmark_GetFirstChild"),Ix=n._FPDFBookmark_GetNextSibling=_("_FPDFBookmark_GetNextSibling"),kx=n._FPDFBookmark_GetTitle=_("_FPDFBookmark_GetTitle"),Ax=n._FPDFBookmark_GetCount=_("_FPDFBookmark_GetCount"),wx=n._FPDFBookmark_Find=_("_FPDFBookmark_Find"),Ex=n._FPDFBookmark_GetDest=_("_FPDFBookmark_GetDest"),Ox=n._FPDFBookmark_GetAction=_("_FPDFBookmark_GetAction"),Tx=n._FPDFBookmark_GetColor=_("_FPDFBookmark_GetColor"),Gx=n._FPDFBookmark_GetStyle=_("_FPDFBookmark_GetStyle"),Cx=n._FPDFAction_GetType=_("_FPDFAction_GetType"),Rx=n._FPDFAction_GetDest=_("_FPDFAction_GetDest"),jx=n._FPDFAction_GetFilePath=_("_FPDFAction_GetFilePath"),Nx=n._FPDFAction_GetURIPath=_("_FPDFAction_GetURIPath"),zx=n._FPDFDest_GetDestPageIndex=_("_FPDFDest_GetDestPageIndex"),Lx=n._FPDFDest_GetView=_("_FPDFDest_GetView"),Mx=n._FPDFDest_GetLocationInPage=_("_FPDFDest_GetLocationInPage"),Ux=n._FPDFLink_GetLinkAtPoint=_("_FPDFLink_GetLinkAtPoint"),Bx=n._FPDFLink_GetLinkZOrderAtPoint=_("_FPDFLink_GetLinkZOrderAtPoint"),Wx=n._FPDFLink_GetDest=_("_FPDFLink_GetDest"),Vx=n._FPDFLink_GetAction=_("_FPDFLink_GetAction"),Zx=n._FPDFLink_Enumerate=_("_FPDFLink_Enumerate"),Hx=n._FPDFLink_GetAnnot=_("_FPDFLink_GetAnnot"),Jx=n._FPDFLink_GetAnnotRect=_("_FPDFLink_GetAnnotRect"),Kx=n._FPDFLink_CountQuadPoints=_("_FPDFLink_CountQuadPoints"),qx=n._FPDFLink_GetQuadPoints=_("_FPDFLink_GetQuadPoints"),Xx=n._FPDF_GetPageAAction=_("_FPDF_GetPageAAction"),Yx=n._FPDF_GetFileIdentifier=_("_FPDF_GetFileIdentifier"),Qx=n._FPDF_GetMetaText=_("_FPDF_GetMetaText"),eI=n._FPDF_GetPageLabel=_("_FPDF_GetPageLabel"),tI=n._FPDFPageObj_NewImageObj=_("_FPDFPageObj_NewImageObj"),nI=n._FPDFImageObj_LoadJpegFile=_("_FPDFImageObj_LoadJpegFile"),rI=n._FPDFImageObj_LoadJpegFileInline=_("_FPDFImageObj_LoadJpegFileInline"),iI=n._FPDFImageObj_SetMatrix=_("_FPDFImageObj_SetMatrix"),oI=n._FPDFImageObj_SetBitmap=_("_FPDFImageObj_SetBitmap"),aI=n._FPDFImageObj_GetBitmap=_("_FPDFImageObj_GetBitmap"),sI=n._FPDFImageObj_GetRenderedBitmap=_("_FPDFImageObj_GetRenderedBitmap"),cI=n._FPDFImageObj_GetImageDataDecoded=_("_FPDFImageObj_GetImageDataDecoded"),uI=n._FPDFImageObj_GetImageDataRaw=_("_FPDFImageObj_GetImageDataRaw"),lI=n._FPDFImageObj_GetImageFilterCount=_("_FPDFImageObj_GetImageFilterCount"),dI=n._FPDFImageObj_GetImageFilter=_("_FPDFImageObj_GetImageFilter"),fI=n._FPDFImageObj_GetImageMetadata=_("_FPDFImageObj_GetImageMetadata"),mI=n._FPDFImageObj_GetImagePixelSize=_("_FPDFImageObj_GetImagePixelSize"),_I=n._FPDFImageObj_GetIccProfileDataDecoded=_("_FPDFImageObj_GetIccProfileDataDecoded"),pI=n._FPDF_CreateNewDocument=_("_FPDF_CreateNewDocument"),gI=n._FPDFPage_Delete=_("_FPDFPage_Delete"),FI=n._FPDF_MovePages=_("_FPDF_MovePages"),hI=n._FPDFPage_New=_("_FPDFPage_New"),PI=n._FPDFPage_GetRotation=_("_FPDFPage_GetRotation"),vI=n._FPDFPage_InsertObject=_("_FPDFPage_InsertObject"),DI=n._FPDFPage_InsertObjectAtIndex=_("_FPDFPage_InsertObjectAtIndex"),yI=n._FPDFPage_RemoveObject=_("_FPDFPage_RemoveObject"),bI=n._FPDFPage_CountObjects=_("_FPDFPage_CountObjects"),SI=n._FPDFPage_GetObject=_("_FPDFPage_GetObject"),$I=n._FPDFPage_HasTransparency=_("_FPDFPage_HasTransparency"),xI=n._FPDFPageObj_Destroy=_("_FPDFPageObj_Destroy"),II=n._FPDFPageObj_GetMarkedContentID=_("_FPDFPageObj_GetMarkedContentID"),kI=n._FPDFPageObj_CountMarks=_("_FPDFPageObj_CountMarks"),AI=n._FPDFPageObj_GetMark=_("_FPDFPageObj_GetMark"),wI=n._FPDFPageObj_AddExistingMark=_("_FPDFPageObj_AddExistingMark"),EI=n._FPDFPageObj_AddMark=_("_FPDFPageObj_AddMark"),OI=n._FPDFPageObj_RemoveMark=_("_FPDFPageObj_RemoveMark"),TI=n._FPDFPageObjMark_GetName=_("_FPDFPageObjMark_GetName"),GI=n._FPDFPageObjMark_CountParams=_("_FPDFPageObjMark_CountParams"),CI=n._FPDFPageObjMark_GetParamKey=_("_FPDFPageObjMark_GetParamKey"),RI=n._FPDFPageObjMark_GetParamValueType=_("_FPDFPageObjMark_GetParamValueType"),jI=n._FPDFPageObjMark_GetParamIntValue=_("_FPDFPageObjMark_GetParamIntValue"),NI=n._FPDFPageObjMark_GetParamFloatValue=_("_FPDFPageObjMark_GetParamFloatValue"),zI=n._FPDFPageObjMark_GetParamStringValue=_("_FPDFPageObjMark_GetParamStringValue"),LI=n._FPDFPageObjMark_GetParamBlobValue=_("_FPDFPageObjMark_GetParamBlobValue"),MI=n._FPDFPageObj_HasTransparency=_("_FPDFPageObj_HasTransparency"),UI=n._FPDFPageObjMark_SetIntParam=_("_FPDFPageObjMark_SetIntParam"),BI=n._FPDFPageObjMark_SetFloatParam=_("_FPDFPageObjMark_SetFloatParam"),WI=n._FPDFPageObjMark_SetStringParam=_("_FPDFPageObjMark_SetStringParam"),VI=n._FPDFPageObjMark_SetBlobParam=_("_FPDFPageObjMark_SetBlobParam"),ZI=n._FPDFPageObjMark_RemoveParam=_("_FPDFPageObjMark_RemoveParam"),HI=n._FPDFPageObj_GetType=_("_FPDFPageObj_GetType"),JI=n._FPDFPageObj_GetIsActive=_("_FPDFPageObj_GetIsActive"),KI=n._FPDFPageObj_SetIsActive=_("_FPDFPageObj_SetIsActive"),qI=n._FPDFPage_GenerateContent=_("_FPDFPage_GenerateContent"),XI=n._FPDFPageObj_Transform=_("_FPDFPageObj_Transform"),YI=n._FPDFPageObj_TransformF=_("_FPDFPageObj_TransformF"),QI=n._FPDFPageObj_GetMatrix=_("_FPDFPageObj_GetMatrix"),ek=n._FPDFPageObj_SetMatrix=_("_FPDFPageObj_SetMatrix"),tk=n._FPDFPageObj_SetBlendMode=_("_FPDFPageObj_SetBlendMode"),nk=n._FPDFPage_TransformAnnots=_("_FPDFPage_TransformAnnots"),rk=n._FPDFPage_SetRotation=_("_FPDFPage_SetRotation"),ik=n._FPDFPageObj_SetFillColor=_("_FPDFPageObj_SetFillColor"),ok=n._FPDFPageObj_GetFillColor=_("_FPDFPageObj_GetFillColor"),ak=n._FPDFPageObj_GetBounds=_("_FPDFPageObj_GetBounds"),sk=n._FPDFPageObj_GetRotatedBounds=_("_FPDFPageObj_GetRotatedBounds"),ck=n._FPDFPageObj_SetStrokeColor=_("_FPDFPageObj_SetStrokeColor"),uk=n._FPDFPageObj_GetStrokeColor=_("_FPDFPageObj_GetStrokeColor"),lk=n._FPDFPageObj_SetStrokeWidth=_("_FPDFPageObj_SetStrokeWidth"),dk=n._FPDFPageObj_GetStrokeWidth=_("_FPDFPageObj_GetStrokeWidth"),fk=n._FPDFPageObj_GetLineJoin=_("_FPDFPageObj_GetLineJoin"),mk=n._FPDFPageObj_SetLineJoin=_("_FPDFPageObj_SetLineJoin"),_k=n._FPDFPageObj_GetLineCap=_("_FPDFPageObj_GetLineCap"),pk=n._FPDFPageObj_SetLineCap=_("_FPDFPageObj_SetLineCap"),gk=n._FPDFPageObj_GetDashPhase=_("_FPDFPageObj_GetDashPhase"),Fk=n._FPDFPageObj_SetDashPhase=_("_FPDFPageObj_SetDashPhase"),hk=n._FPDFPageObj_GetDashCount=_("_FPDFPageObj_GetDashCount"),Pk=n._FPDFPageObj_GetDashArray=_("_FPDFPageObj_GetDashArray"),vk=n._FPDFPageObj_SetDashArray=_("_FPDFPageObj_SetDashArray"),Dk=n._FPDFFormObj_CountObjects=_("_FPDFFormObj_CountObjects"),yk=n._FPDFFormObj_GetObject=_("_FPDFFormObj_GetObject"),bk=n._FPDFFormObj_RemoveObject=_("_FPDFFormObj_RemoveObject"),Sk=n._FPDFPageObj_CreateNewPath=_("_FPDFPageObj_CreateNewPath"),$k=n._FPDFPageObj_CreateNewRect=_("_FPDFPageObj_CreateNewRect"),xk=n._FPDFPath_CountSegments=_("_FPDFPath_CountSegments"),Ik=n._FPDFPath_GetPathSegment=_("_FPDFPath_GetPathSegment"),kk=n._FPDFPath_MoveTo=_("_FPDFPath_MoveTo"),Ak=n._FPDFPath_LineTo=_("_FPDFPath_LineTo"),wk=n._FPDFPath_BezierTo=_("_FPDFPath_BezierTo"),Ek=n._FPDFPath_GetBezierControlPoints=_("_FPDFPath_GetBezierControlPoints"),Ok=n._FPDFPath_Close=_("_FPDFPath_Close"),Tk=n._FPDFPath_SetDrawMode=_("_FPDFPath_SetDrawMode"),Gk=n._FPDFPath_GetDrawMode=_("_FPDFPath_GetDrawMode"),Ck=n._FPDFPathSegment_GetPoint=_("_FPDFPathSegment_GetPoint"),Rk=n._FPDFPathSegment_GetType=_("_FPDFPathSegment_GetType"),jk=n._FPDFPathSegment_GetClose=_("_FPDFPathSegment_GetClose"),Nk=n._FPDFPageObj_NewTextObj=_("_FPDFPageObj_NewTextObj"),zk=n._FPDFText_SetText=_("_FPDFText_SetText"),Lk=n._FPDFText_SetCharcodes=_("_FPDFText_SetCharcodes"),Mk=n._FPDFText_SetPositions=_("_FPDFText_SetPositions"),Uk=n._FPDFText_LoadFont=_("_FPDFText_LoadFont"),Bk=n._FPDFText_LoadStandardFont=_("_FPDFText_LoadStandardFont"),Wk=n._FPDFText_LoadCidType2Font=_("_FPDFText_LoadCidType2Font"),Vk=n._FPDFTextObj_GetFontSize=_("_FPDFTextObj_GetFontSize"),Zk=n._FPDFTextObj_SetFontSize=_("_FPDFTextObj_SetFontSize"),Hk=n._FPDFTextObj_GetText=_("_FPDFTextObj_GetText"),Jk=n._FPDFTextObj_GetRenderedBitmap=_("_FPDFTextObj_GetRenderedBitmap"),Kk=n._FPDFFont_Close=_("_FPDFFont_Close"),qk=n._FPDFPageObj_CreateTextObj=_("_FPDFPageObj_CreateTextObj"),Xk=n._FPDFTextObj_GetTextRenderMode=_("_FPDFTextObj_GetTextRenderMode"),Yk=n._FPDFTextObj_SetTextRenderMode=_("_FPDFTextObj_SetTextRenderMode"),Qk=n._FPDFTextObj_GetFont=_("_FPDFTextObj_GetFont"),eA=n._FPDFFont_GetBaseFontName=_("_FPDFFont_GetBaseFontName"),tA=n._FPDFFont_GetFamilyName=_("_FPDFFont_GetFamilyName"),nA=n._FPDFFont_GetFontData=_("_FPDFFont_GetFontData"),rA=n._FPDFFont_GetIsEmbedded=_("_FPDFFont_GetIsEmbedded"),iA=n._FPDFFont_GetFlags=_("_FPDFFont_GetFlags"),oA=n._FPDFFont_GetWeight=_("_FPDFFont_GetWeight"),aA=n._FPDFFont_GetItalicAngle=_("_FPDFFont_GetItalicAngle"),sA=n._FPDFFont_GetAscent=_("_FPDFFont_GetAscent"),cA=n._FPDFFont_GetDescent=_("_FPDFFont_GetDescent"),uA=n._FPDFFont_GetGlyphWidth=_("_FPDFFont_GetGlyphWidth"),lA=n._FPDFFont_GetGlyphPath=_("_FPDFFont_GetGlyphPath"),dA=n._FPDFGlyphPath_CountGlyphSegments=_("_FPDFGlyphPath_CountGlyphSegments"),fA=n._FPDFGlyphPath_GetGlyphPathSegment=_("_FPDFGlyphPath_GetGlyphPathSegment"),mA=n._FSDK_SetUnSpObjProcessHandler=_("_FSDK_SetUnSpObjProcessHandler"),_A=n._FSDK_SetTimeFunction=_("_FSDK_SetTimeFunction"),pA=n._FSDK_SetLocaltimeFunction=_("_FSDK_SetLocaltimeFunction"),gA=n._FPDFDoc_GetPageMode=_("_FPDFDoc_GetPageMode"),FA=n._FPDFPage_Flatten=_("_FPDFPage_Flatten"),hA=n._FPDFPage_HasFormFieldAtPoint=_("_FPDFPage_HasFormFieldAtPoint"),PA=n._FPDFPage_FormFieldZOrderAtPoint=_("_FPDFPage_FormFieldZOrderAtPoint"),vA=n._FPDFDOC_InitFormFillEnvironment=_("_FPDFDOC_InitFormFillEnvironment"),DA=n._FPDFDOC_ExitFormFillEnvironment=_("_FPDFDOC_ExitFormFillEnvironment"),yA=n._FORM_OnMouseMove=_("_FORM_OnMouseMove"),bA=n._FORM_OnMouseWheel=_("_FORM_OnMouseWheel"),SA=n._FORM_OnFocus=_("_FORM_OnFocus"),$A=n._FORM_OnLButtonDown=_("_FORM_OnLButtonDown"),xA=n._FORM_OnLButtonUp=_("_FORM_OnLButtonUp"),IA=n._FORM_OnLButtonDoubleClick=_("_FORM_OnLButtonDoubleClick"),kA=n._FORM_OnRButtonDown=_("_FORM_OnRButtonDown"),AA=n._FORM_OnRButtonUp=_("_FORM_OnRButtonUp"),wA=n._FORM_OnKeyDown=_("_FORM_OnKeyDown"),EA=n._FORM_OnKeyUp=_("_FORM_OnKeyUp"),OA=n._FORM_OnChar=_("_FORM_OnChar"),TA=n._FORM_GetFocusedText=_("_FORM_GetFocusedText"),GA=n._FORM_GetSelectedText=_("_FORM_GetSelectedText"),CA=n._FORM_ReplaceAndKeepSelection=_("_FORM_ReplaceAndKeepSelection"),RA=n._FORM_ReplaceSelection=_("_FORM_ReplaceSelection"),jA=n._FORM_SelectAllText=_("_FORM_SelectAllText"),NA=n._FORM_CanUndo=_("_FORM_CanUndo"),zA=n._FORM_CanRedo=_("_FORM_CanRedo"),LA=n._FORM_Undo=_("_FORM_Undo"),MA=n._FORM_Redo=_("_FORM_Redo"),UA=n._FORM_ForceToKillFocus=_("_FORM_ForceToKillFocus"),BA=n._FORM_GetFocusedAnnot=_("_FORM_GetFocusedAnnot"),WA=n._FORM_SetFocusedAnnot=_("_FORM_SetFocusedAnnot"),VA=n._FPDF_FFLDraw=_("_FPDF_FFLDraw"),ZA=n._FPDF_SetFormFieldHighlightColor=_("_FPDF_SetFormFieldHighlightColor"),HA=n._FPDF_SetFormFieldHighlightAlpha=_("_FPDF_SetFormFieldHighlightAlpha"),JA=n._FPDF_RemoveFormFieldHighlight=_("_FPDF_RemoveFormFieldHighlight"),KA=n._FORM_OnAfterLoadPage=_("_FORM_OnAfterLoadPage"),qA=n._FORM_OnBeforeClosePage=_("_FORM_OnBeforeClosePage"),XA=n._FORM_DoDocumentJSAction=_("_FORM_DoDocumentJSAction"),YA=n._FORM_DoDocumentOpenAction=_("_FORM_DoDocumentOpenAction"),QA=n._FORM_DoDocumentAAction=_("_FORM_DoDocumentAAction"),e0=n._FORM_DoPageAAction=_("_FORM_DoPageAAction"),t0=n._FORM_SetIndexSelected=_("_FORM_SetIndexSelected"),n0=n._FORM_IsIndexSelected=_("_FORM_IsIndexSelected"),r0=n._FORM_GetTextDirection=_("_FORM_GetTextDirection"),i0=n._FORM_SetTextDirection=_("_FORM_SetTextDirection"),o0=n._FPDFDoc_GetJavaScriptActionCount=_("_FPDFDoc_GetJavaScriptActionCount"),a0=n._FPDFDoc_GetJavaScriptAction=_("_FPDFDoc_GetJavaScriptAction"),s0=n._FPDFDoc_CloseJavaScriptAction=_("_FPDFDoc_CloseJavaScriptAction"),c0=n._FPDFJavaScriptAction_GetName=_("_FPDFJavaScriptAction_GetName"),u0=n._FPDFJavaScriptAction_GetScript=_("_FPDFJavaScriptAction_GetScript"),l0=n._FPDF_ImportPagesByIndex=_("_FPDF_ImportPagesByIndex"),d0=n._FPDF_ImportPages=_("_FPDF_ImportPages"),f0=n._FPDF_ImportNPagesToOne=_("_FPDF_ImportNPagesToOne"),m0=n._FPDF_NewXObjectFromPage=_("_FPDF_NewXObjectFromPage"),_0=n._FPDF_CloseXObject=_("_FPDF_CloseXObject"),p0=n._FPDF_NewFormObjectFromXObject=_("_FPDF_NewFormObjectFromXObject"),g0=n._FPDF_CopyViewerPreferences=_("_FPDF_CopyViewerPreferences"),F0=n._FPDF_RenderPageBitmapWithColorScheme_Start=_("_FPDF_RenderPageBitmapWithColorScheme_Start"),h0=n._FPDF_RenderPageBitmap_Start=_("_FPDF_RenderPageBitmap_Start"),P0=n._FPDF_RenderPage_Continue=_("_FPDF_RenderPage_Continue"),v0=n._FPDF_RenderPage_Close=_("_FPDF_RenderPage_Close"),D0=n._FPDF_SaveAsCopy=_("_FPDF_SaveAsCopy"),y0=n._FPDF_SaveWithVersion=_("_FPDF_SaveWithVersion"),b0=n._FPDFText_GetCharIndexFromTextIndex=_("_FPDFText_GetCharIndexFromTextIndex"),S0=n._FPDFText_GetTextIndexFromCharIndex=_("_FPDFText_GetTextIndexFromCharIndex"),$0=n._FPDF_GetSignatureCount=_("_FPDF_GetSignatureCount"),x0=n._FPDF_GetSignatureObject=_("_FPDF_GetSignatureObject"),I0=n._FPDFSignatureObj_GetContents=_("_FPDFSignatureObj_GetContents"),k0=n._FPDFSignatureObj_GetByteRange=_("_FPDFSignatureObj_GetByteRange"),A0=n._FPDFSignatureObj_GetSubFilter=_("_FPDFSignatureObj_GetSubFilter"),w0=n._FPDFSignatureObj_GetReason=_("_FPDFSignatureObj_GetReason"),E0=n._FPDFSignatureObj_GetTime=_("_FPDFSignatureObj_GetTime"),O0=n._FPDFSignatureObj_GetDocMDPPermission=_("_FPDFSignatureObj_GetDocMDPPermission"),T0=n._FPDF_StructTree_GetForPage=_("_FPDF_StructTree_GetForPage"),G0=n._FPDF_StructTree_Close=_("_FPDF_StructTree_Close"),C0=n._FPDF_StructTree_CountChildren=_("_FPDF_StructTree_CountChildren"),R0=n._FPDF_StructTree_GetChildAtIndex=_("_FPDF_StructTree_GetChildAtIndex"),j0=n._FPDF_StructElement_GetAltText=_("_FPDF_StructElement_GetAltText"),N0=n._FPDF_StructElement_GetActualText=_("_FPDF_StructElement_GetActualText"),z0=n._FPDF_StructElement_GetExpansion=_("_FPDF_StructElement_GetExpansion"),L0=n._FPDF_StructElement_GetID=_("_FPDF_StructElement_GetID"),M0=n._FPDF_StructElement_GetLang=_("_FPDF_StructElement_GetLang"),U0=n._FPDF_StructElement_GetAttributeCount=_("_FPDF_StructElement_GetAttributeCount"),B0=n._FPDF_StructElement_GetAttributeAtIndex=_("_FPDF_StructElement_GetAttributeAtIndex"),W0=n._FPDF_StructElement_GetStringAttribute=_("_FPDF_StructElement_GetStringAttribute"),V0=n._FPDF_StructElement_GetMarkedContentID=_("_FPDF_StructElement_GetMarkedContentID"),Z0=n._FPDF_StructElement_GetType=_("_FPDF_StructElement_GetType"),H0=n._FPDF_StructElement_GetObjType=_("_FPDF_StructElement_GetObjType"),J0=n._FPDF_StructElement_GetTitle=_("_FPDF_StructElement_GetTitle"),K0=n._FPDF_StructElement_CountChildren=_("_FPDF_StructElement_CountChildren"),q0=n._FPDF_StructElement_GetChildAtIndex=_("_FPDF_StructElement_GetChildAtIndex"),X0=n._FPDF_StructElement_GetChildMarkedContentID=_("_FPDF_StructElement_GetChildMarkedContentID"),Y0=n._FPDF_StructElement_GetParent=_("_FPDF_StructElement_GetParent"),Q0=n._FPDF_StructElement_Attr_GetCount=_("_FPDF_StructElement_Attr_GetCount"),ew=n._FPDF_StructElement_Attr_GetName=_("_FPDF_StructElement_Attr_GetName"),tw=n._FPDF_StructElement_Attr_GetValue=_("_FPDF_StructElement_Attr_GetValue"),nw=n._FPDF_StructElement_Attr_GetType=_("_FPDF_StructElement_Attr_GetType"),rw=n._FPDF_StructElement_Attr_GetBooleanValue=_("_FPDF_StructElement_Attr_GetBooleanValue"),iw=n._FPDF_StructElement_Attr_GetNumberValue=_("_FPDF_StructElement_Attr_GetNumberValue"),ow=n._FPDF_StructElement_Attr_GetStringValue=_("_FPDF_StructElement_Attr_GetStringValue"),aw=n._FPDF_StructElement_Attr_GetBlobValue=_("_FPDF_StructElement_Attr_GetBlobValue"),sw=n._FPDF_StructElement_Attr_CountChildren=_("_FPDF_StructElement_Attr_CountChildren"),cw=n._FPDF_StructElement_Attr_GetChildAtIndex=_("_FPDF_StructElement_Attr_GetChildAtIndex"),uw=n._FPDF_StructElement_GetMarkedContentIdCount=_("_FPDF_StructElement_GetMarkedContentIdCount"),lw=n._FPDF_StructElement_GetMarkedContentIdAtIndex=_("_FPDF_StructElement_GetMarkedContentIdAtIndex"),dw=n._FPDF_AddInstalledFont=_("_FPDF_AddInstalledFont"),fw=n._FPDF_SetSystemFontInfo=_("_FPDF_SetSystemFontInfo"),mw=n._FPDF_GetDefaultTTFMap=_("_FPDF_GetDefaultTTFMap"),_w=n._FPDF_GetDefaultTTFMapCount=_("_FPDF_GetDefaultTTFMapCount"),pw=n._FPDF_GetDefaultTTFMapEntry=_("_FPDF_GetDefaultTTFMapEntry"),gw=n._FPDF_GetDefaultSystemFontInfo=_("_FPDF_GetDefaultSystemFontInfo"),Fw=n._FPDF_FreeDefaultSystemFontInfo=_("_FPDF_FreeDefaultSystemFontInfo"),hw=n._FPDFText_LoadPage=_("_FPDFText_LoadPage"),Pw=n._FPDFText_ClosePage=_("_FPDFText_ClosePage"),vw=n._FPDFText_CountChars=_("_FPDFText_CountChars"),Dw=n._FPDFText_GetUnicode=_("_FPDFText_GetUnicode"),yw=n._FPDFText_GetTextObject=_("_FPDFText_GetTextObject"),bw=n._FPDFText_IsGenerated=_("_FPDFText_IsGenerated"),Sw=n._FPDFText_IsHyphen=_("_FPDFText_IsHyphen"),$w=n._FPDFText_HasUnicodeMapError=_("_FPDFText_HasUnicodeMapError"),xw=n._FPDFText_GetFontSize=_("_FPDFText_GetFontSize"),Iw=n._FPDFText_GetFontInfo=_("_FPDFText_GetFontInfo"),kw=n._FPDFText_GetFontWeight=_("_FPDFText_GetFontWeight"),Aw=n._FPDFText_GetFillColor=_("_FPDFText_GetFillColor"),ww=n._FPDFText_GetStrokeColor=_("_FPDFText_GetStrokeColor"),Ew=n._FPDFText_GetCharAngle=_("_FPDFText_GetCharAngle"),Ow=n._FPDFText_GetCharBox=_("_FPDFText_GetCharBox"),Tw=n._FPDFText_GetLooseCharBox=_("_FPDFText_GetLooseCharBox"),Gw=n._FPDFText_GetMatrix=_("_FPDFText_GetMatrix"),Cw=n._FPDFText_GetCharOrigin=_("_FPDFText_GetCharOrigin"),Rw=n._FPDFText_GetCharIndexAtPos=_("_FPDFText_GetCharIndexAtPos"),jw=n._FPDFText_GetText=_("_FPDFText_GetText"),Nw=n._FPDFText_CountRects=_("_FPDFText_CountRects"),zw=n._FPDFText_GetRect=_("_FPDFText_GetRect"),Lw=n._FPDFText_GetBoundedText=_("_FPDFText_GetBoundedText"),Mw=n._FPDFText_FindStart=_("_FPDFText_FindStart"),Uw=n._FPDFText_FindNext=_("_FPDFText_FindNext"),Bw=n._FPDFText_FindPrev=_("_FPDFText_FindPrev"),Ww=n._FPDFText_GetSchResultIndex=_("_FPDFText_GetSchResultIndex"),Vw=n._FPDFText_GetSchCount=_("_FPDFText_GetSchCount"),Zw=n._FPDFText_FindClose=_("_FPDFText_FindClose"),Hw=n._FPDFLink_LoadWebLinks=_("_FPDFLink_LoadWebLinks"),Jw=n._FPDFLink_CountWebLinks=_("_FPDFLink_CountWebLinks"),Kw=n._FPDFLink_GetURL=_("_FPDFLink_GetURL"),qw=n._FPDFLink_CountRects=_("_FPDFLink_CountRects"),Xw=n._FPDFLink_GetRect=_("_FPDFLink_GetRect"),Yw=n._FPDFLink_GetTextRange=_("_FPDFLink_GetTextRange"),Qw=n._FPDFLink_CloseWebLinks=_("_FPDFLink_CloseWebLinks"),eE=n._FPDFPage_GetDecodedThumbnailData=_("_FPDFPage_GetDecodedThumbnailData"),tE=n._FPDFPage_GetRawThumbnailData=_("_FPDFPage_GetRawThumbnailData"),nE=n._FPDFPage_GetThumbnailAsBitmap=_("_FPDFPage_GetThumbnailAsBitmap"),rE=n._FPDFPage_SetMediaBox=_("_FPDFPage_SetMediaBox"),iE=n._FPDFPage_SetCropBox=_("_FPDFPage_SetCropBox"),oE=n._FPDFPage_SetBleedBox=_("_FPDFPage_SetBleedBox"),aE=n._FPDFPage_SetTrimBox=_("_FPDFPage_SetTrimBox"),sE=n._FPDFPage_SetArtBox=_("_FPDFPage_SetArtBox"),cE=n._FPDFPage_GetMediaBox=_("_FPDFPage_GetMediaBox"),uE=n._FPDFPage_GetCropBox=_("_FPDFPage_GetCropBox"),lE=n._FPDFPage_GetBleedBox=_("_FPDFPage_GetBleedBox"),dE=n._FPDFPage_GetTrimBox=_("_FPDFPage_GetTrimBox"),fE=n._FPDFPage_GetArtBox=_("_FPDFPage_GetArtBox"),mE=n._FPDFPage_TransFormWithClip=_("_FPDFPage_TransFormWithClip"),_E=n._FPDFPageObj_TransformClipPath=_("_FPDFPageObj_TransformClipPath"),pE=n._FPDFPageObj_GetClipPath=_("_FPDFPageObj_GetClipPath"),gE=n._FPDFClipPath_CountPaths=_("_FPDFClipPath_CountPaths"),FE=n._FPDFClipPath_CountPathSegments=_("_FPDFClipPath_CountPathSegments"),hE=n._FPDFClipPath_GetPathSegment=_("_FPDFClipPath_GetPathSegment"),PE=n._FPDF_CreateClipPath=_("_FPDF_CreateClipPath"),vE=n._FPDF_DestroyClipPath=_("_FPDF_DestroyClipPath"),DE=n._FPDFPage_InsertClipPath=_("_FPDFPage_InsertClipPath"),yE=n._FPDF_InitLibrary=_("_FPDF_InitLibrary"),bE=n._malloc=_("_malloc"),SE=n._free=_("_free"),$E=n._FPDF_DestroyLibrary=_("_FPDF_DestroyLibrary"),xE=n._FPDF_SetSandBoxPolicy=_("_FPDF_SetSandBoxPolicy"),IE=n._FPDF_LoadDocument=_("_FPDF_LoadDocument"),kE=n._FPDF_GetFormType=_("_FPDF_GetFormType"),AE=n._FPDF_LoadXFA=_("_FPDF_LoadXFA"),wE=n._FPDF_LoadMemDocument=_("_FPDF_LoadMemDocument"),EE=n._FPDF_LoadMemDocument64=_("_FPDF_LoadMemDocument64"),OE=n._FPDF_LoadCustomDocument=_("_FPDF_LoadCustomDocument"),TE=n._FPDF_GetFileVersion=_("_FPDF_GetFileVersion"),GE=n._FPDF_DocumentHasValidCrossReferenceTable=_("_FPDF_DocumentHasValidCrossReferenceTable"),CE=n._FPDF_GetDocPermissions=_("_FPDF_GetDocPermissions"),RE=n._FPDF_GetDocUserPermissions=_("_FPDF_GetDocUserPermissions"),jE=n._FPDF_GetSecurityHandlerRevision=_("_FPDF_GetSecurityHandlerRevision"),NE=n._FPDF_GetPageCount=_("_FPDF_GetPageCount"),zE=n._FPDF_LoadPage=_("_FPDF_LoadPage"),LE=n._FPDF_GetPageWidthF=_("_FPDF_GetPageWidthF"),ME=n._FPDF_GetPageWidth=_("_FPDF_GetPageWidth"),UE=n._FPDF_GetPageHeightF=_("_FPDF_GetPageHeightF"),BE=n._FPDF_GetPageHeight=_("_FPDF_GetPageHeight"),WE=n._FPDF_GetPageBoundingBox=_("_FPDF_GetPageBoundingBox"),VE=n._FPDF_RenderPageBitmap=_("_FPDF_RenderPageBitmap"),ZE=n._FPDF_RenderPageBitmapWithMatrix=_("_FPDF_RenderPageBitmapWithMatrix"),HE=n._FPDF_ClosePage=_("_FPDF_ClosePage"),JE=n._FPDF_CloseDocument=_("_FPDF_CloseDocument"),KE=n._FPDF_GetLastError=_("_FPDF_GetLastError"),qE=n._FPDF_DeviceToPage=_("_FPDF_DeviceToPage"),XE=n._FPDF_PageToDevice=_("_FPDF_PageToDevice"),YE=n._FPDFBitmap_Create=_("_FPDFBitmap_Create"),QE=n._FPDFBitmap_CreateEx=_("_FPDFBitmap_CreateEx"),eO=n._FPDFBitmap_GetFormat=_("_FPDFBitmap_GetFormat"),tO=n._FPDFBitmap_FillRect=_("_FPDFBitmap_FillRect"),nO=n._FPDFBitmap_GetBuffer=_("_FPDFBitmap_GetBuffer"),rO=n._FPDFBitmap_GetWidth=_("_FPDFBitmap_GetWidth"),iO=n._FPDFBitmap_GetHeight=_("_FPDFBitmap_GetHeight"),oO=n._FPDFBitmap_GetStride=_("_FPDFBitmap_GetStride"),aO=n._FPDFBitmap_Destroy=_("_FPDFBitmap_Destroy"),sO=n._FPDF_GetPageSizeByIndexF=_("_FPDF_GetPageSizeByIndexF"),cO=n._FPDF_GetPageSizeByIndex=_("_FPDF_GetPageSizeByIndex"),uO=n._FPDF_VIEWERREF_GetPrintScaling=_("_FPDF_VIEWERREF_GetPrintScaling"),lO=n._FPDF_VIEWERREF_GetNumCopies=_("_FPDF_VIEWERREF_GetNumCopies"),dO=n._FPDF_VIEWERREF_GetPrintPageRange=_("_FPDF_VIEWERREF_GetPrintPageRange"),fO=n._FPDF_VIEWERREF_GetPrintPageRangeCount=_("_FPDF_VIEWERREF_GetPrintPageRangeCount"),mO=n._FPDF_VIEWERREF_GetPrintPageRangeElement=_("_FPDF_VIEWERREF_GetPrintPageRangeElement"),_O=n._FPDF_VIEWERREF_GetDuplex=_("_FPDF_VIEWERREF_GetDuplex"),pO=n._FPDF_VIEWERREF_GetName=_("_FPDF_VIEWERREF_GetName"),gO=n._FPDF_CountNamedDests=_("_FPDF_CountNamedDests"),FO=n._FPDF_GetNamedDestByName=_("_FPDF_GetNamedDestByName"),hO=n._FPDF_GetNamedDest=_("_FPDF_GetNamedDest"),PO=n._FPDF_GetXFAPacketCount=_("_FPDF_GetXFAPacketCount"),vO=n._FPDF_GetXFAPacketName=_("_FPDF_GetXFAPacketName"),DO=n._FPDF_GetXFAPacketContent=_("_FPDF_GetXFAPacketContent"),yO=n._FPDF_GetTrailerEnds=_("_FPDF_GetTrailerEnds"),Pp=_("_fflush"),Dc=_("_emscripten_stack_get_end"),bO=_("_emscripten_stack_get_base"),vp=_("_emscripten_builtin_memalign"),Dp=_("_strerror"),wn=_("_setThrew"),yp=_("_emscripten_stack_init"),SO=_("_emscripten_stack_get_free"),bp=_("__emscripten_stack_restore"),Sp=_("__emscripten_stack_alloc"),$p=_("_emscripten_stack_get_current"),$O=_("memory"),xO=_("__indirect_function_table"),wo=_("wasmMemory"),En=_("wasmTable");function IO(s){d(typeof s.PDFium_Init<"u","missing Wasm export: PDFium_Init"),d(typeof s.FPDF_InitLibraryWithConfig<"u","missing Wasm export: FPDF_InitLibraryWithConfig"),d(typeof s.FPDFAnnot_IsSupportedSubtype<"u","missing Wasm export: FPDFAnnot_IsSupportedSubtype"),d(typeof s.FPDFPage_CreateAnnot<"u","missing Wasm export: FPDFPage_CreateAnnot"),d(typeof s.FPDFPage_GetAnnotCount<"u","missing Wasm export: FPDFPage_GetAnnotCount"),d(typeof s.FPDFPage_GetAnnot<"u","missing Wasm export: FPDFPage_GetAnnot"),d(typeof s.FPDFPage_GetAnnotIndex<"u","missing Wasm export: FPDFPage_GetAnnotIndex"),d(typeof s.FPDFPage_CloseAnnot<"u","missing Wasm export: FPDFPage_CloseAnnot"),d(typeof s.FPDFPage_RemoveAnnot<"u","missing Wasm export: FPDFPage_RemoveAnnot"),d(typeof s.FPDFAnnot_GetSubtype<"u","missing Wasm export: FPDFAnnot_GetSubtype"),d(typeof s.FPDFAnnot_IsObjectSupportedSubtype<"u","missing Wasm export: FPDFAnnot_IsObjectSupportedSubtype"),d(typeof s.FPDFAnnot_UpdateObject<"u","missing Wasm export: FPDFAnnot_UpdateObject"),d(typeof s.FPDFAnnot_AddInkStroke<"u","missing Wasm export: FPDFAnnot_AddInkStroke"),d(typeof s.FPDFAnnot_RemoveInkList<"u","missing Wasm export: FPDFAnnot_RemoveInkList"),d(typeof s.FPDFAnnot_AppendObject<"u","missing Wasm export: FPDFAnnot_AppendObject"),d(typeof s.FPDFAnnot_GetObjectCount<"u","missing Wasm export: FPDFAnnot_GetObjectCount"),d(typeof s.FPDFAnnot_GetObject<"u","missing Wasm export: FPDFAnnot_GetObject"),d(typeof s.FPDFAnnot_RemoveObject<"u","missing Wasm export: FPDFAnnot_RemoveObject"),d(typeof s.FPDFAnnot_SetColor<"u","missing Wasm export: FPDFAnnot_SetColor"),d(typeof s.FPDFAnnot_GetColor<"u","missing Wasm export: FPDFAnnot_GetColor"),d(typeof s.FPDFAnnot_HasAttachmentPoints<"u","missing Wasm export: FPDFAnnot_HasAttachmentPoints"),d(typeof s.FPDFAnnot_SetAttachmentPoints<"u","missing Wasm export: FPDFAnnot_SetAttachmentPoints"),d(typeof s.FPDFAnnot_AppendAttachmentPoints<"u","missing Wasm export: FPDFAnnot_AppendAttachmentPoints"),d(typeof s.FPDFAnnot_CountAttachmentPoints<"u","missing Wasm export: FPDFAnnot_CountAttachmentPoints"),d(typeof s.FPDFAnnot_GetAttachmentPoints<"u","missing Wasm export: FPDFAnnot_GetAttachmentPoints"),d(typeof s.FPDFAnnot_SetRect<"u","missing Wasm export: FPDFAnnot_SetRect"),d(typeof s.FPDFAnnot_GetRect<"u","missing Wasm export: FPDFAnnot_GetRect"),d(typeof s.FPDFAnnot_GetVertices<"u","missing Wasm export: FPDFAnnot_GetVertices"),d(typeof s.FPDFAnnot_GetInkListCount<"u","missing Wasm export: FPDFAnnot_GetInkListCount"),d(typeof s.FPDFAnnot_GetInkListPath<"u","missing Wasm export: FPDFAnnot_GetInkListPath"),d(typeof s.FPDFAnnot_GetLine<"u","missing Wasm export: FPDFAnnot_GetLine"),d(typeof s.FPDFAnnot_SetBorder<"u","missing Wasm export: FPDFAnnot_SetBorder"),d(typeof s.FPDFAnnot_GetBorder<"u","missing Wasm export: FPDFAnnot_GetBorder"),d(typeof s.FPDFAnnot_HasKey<"u","missing Wasm export: FPDFAnnot_HasKey"),d(typeof s.FPDFAnnot_GetValueType<"u","missing Wasm export: FPDFAnnot_GetValueType"),d(typeof s.FPDFAnnot_SetStringValue<"u","missing Wasm export: FPDFAnnot_SetStringValue"),d(typeof s.FPDFAnnot_GetStringValue<"u","missing Wasm export: FPDFAnnot_GetStringValue"),d(typeof s.FPDFAnnot_GetNumberValue<"u","missing Wasm export: FPDFAnnot_GetNumberValue"),d(typeof s.FPDFAnnot_SetAP<"u","missing Wasm export: FPDFAnnot_SetAP"),d(typeof s.FPDFAnnot_GetAP<"u","missing Wasm export: FPDFAnnot_GetAP"),d(typeof s.FPDFAnnot_GetLinkedAnnot<"u","missing Wasm export: FPDFAnnot_GetLinkedAnnot"),d(typeof s.FPDFAnnot_GetFlags<"u","missing Wasm export: FPDFAnnot_GetFlags"),d(typeof s.FPDFAnnot_SetFlags<"u","missing Wasm export: FPDFAnnot_SetFlags"),d(typeof s.FPDFAnnot_GetFormFieldFlags<"u","missing Wasm export: FPDFAnnot_GetFormFieldFlags"),d(typeof s.FPDFAnnot_SetFormFieldFlags<"u","missing Wasm export: FPDFAnnot_SetFormFieldFlags"),d(typeof s.FPDFAnnot_GetFormFieldAtPoint<"u","missing Wasm export: FPDFAnnot_GetFormFieldAtPoint"),d(typeof s.FPDFAnnot_GetFormFieldName<"u","missing Wasm export: FPDFAnnot_GetFormFieldName"),d(typeof s.FPDFAnnot_GetFormFieldType<"u","missing Wasm export: FPDFAnnot_GetFormFieldType"),d(typeof s.FPDFAnnot_GetFormAdditionalActionJavaScript<"u","missing Wasm export: FPDFAnnot_GetFormAdditionalActionJavaScript"),d(typeof s.FPDFAnnot_GetFormFieldAlternateName<"u","missing Wasm export: FPDFAnnot_GetFormFieldAlternateName"),d(typeof s.FPDFAnnot_GetFormFieldValue<"u","missing Wasm export: FPDFAnnot_GetFormFieldValue"),d(typeof s.FPDFAnnot_GetOptionCount<"u","missing Wasm export: FPDFAnnot_GetOptionCount"),d(typeof s.FPDFAnnot_GetOptionLabel<"u","missing Wasm export: FPDFAnnot_GetOptionLabel"),d(typeof s.FPDFAnnot_IsOptionSelected<"u","missing Wasm export: FPDFAnnot_IsOptionSelected"),d(typeof s.FPDFAnnot_GetFontSize<"u","missing Wasm export: FPDFAnnot_GetFontSize"),d(typeof s.FPDFAnnot_SetFontColor<"u","missing Wasm export: FPDFAnnot_SetFontColor"),d(typeof s.FPDFAnnot_GetFontColor<"u","missing Wasm export: FPDFAnnot_GetFontColor"),d(typeof s.FPDFAnnot_IsChecked<"u","missing Wasm export: FPDFAnnot_IsChecked"),d(typeof s.FPDFAnnot_SetFocusableSubtypes<"u","missing Wasm export: FPDFAnnot_SetFocusableSubtypes"),d(typeof s.FPDFAnnot_GetFocusableSubtypesCount<"u","missing Wasm export: FPDFAnnot_GetFocusableSubtypesCount"),d(typeof s.FPDFAnnot_GetFocusableSubtypes<"u","missing Wasm export: FPDFAnnot_GetFocusableSubtypes"),d(typeof s.FPDFAnnot_GetLink<"u","missing Wasm export: FPDFAnnot_GetLink"),d(typeof s.FPDFAnnot_GetFormControlCount<"u","missing Wasm export: FPDFAnnot_GetFormControlCount"),d(typeof s.FPDFAnnot_GetFormControlIndex<"u","missing Wasm export: FPDFAnnot_GetFormControlIndex"),d(typeof s.FPDFAnnot_GetFormFieldExportValue<"u","missing Wasm export: FPDFAnnot_GetFormFieldExportValue"),d(typeof s.FPDFAnnot_SetURI<"u","missing Wasm export: FPDFAnnot_SetURI"),d(typeof s.FPDFAnnot_GetFileAttachment<"u","missing Wasm export: FPDFAnnot_GetFileAttachment"),d(typeof s.FPDFAnnot_AddFileAttachment<"u","missing Wasm export: FPDFAnnot_AddFileAttachment"),d(typeof s.FPDFDoc_GetAttachmentCount<"u","missing Wasm export: FPDFDoc_GetAttachmentCount"),d(typeof s.FPDFDoc_AddAttachment<"u","missing Wasm export: FPDFDoc_AddAttachment"),d(typeof s.FPDFDoc_GetAttachment<"u","missing Wasm export: FPDFDoc_GetAttachment"),d(typeof s.FPDFDoc_DeleteAttachment<"u","missing Wasm export: FPDFDoc_DeleteAttachment"),d(typeof s.FPDFAttachment_GetName<"u","missing Wasm export: FPDFAttachment_GetName"),d(typeof s.FPDFAttachment_HasKey<"u","missing Wasm export: FPDFAttachment_HasKey"),d(typeof s.FPDFAttachment_GetValueType<"u","missing Wasm export: FPDFAttachment_GetValueType"),d(typeof s.FPDFAttachment_SetStringValue<"u","missing Wasm export: FPDFAttachment_SetStringValue"),d(typeof s.FPDFAttachment_GetStringValue<"u","missing Wasm export: FPDFAttachment_GetStringValue"),d(typeof s.FPDFAttachment_SetDescription<"u","missing Wasm export: FPDFAttachment_SetDescription"),d(typeof s.FPDFAttachment_GetDescription<"u","missing Wasm export: FPDFAttachment_GetDescription"),d(typeof s.FPDFAttachment_SetFile<"u","missing Wasm export: FPDFAttachment_SetFile"),d(typeof s.FPDFAttachment_GetFile<"u","missing Wasm export: FPDFAttachment_GetFile"),d(typeof s.FPDFAttachment_GetSubtype<"u","missing Wasm export: FPDFAttachment_GetSubtype"),d(typeof s.FPDFCatalog_IsTagged<"u","missing Wasm export: FPDFCatalog_IsTagged"),d(typeof s.FPDFCatalog_GetLanguage<"u","missing Wasm export: FPDFCatalog_GetLanguage"),d(typeof s.FPDFCatalog_SetLanguage<"u","missing Wasm export: FPDFCatalog_SetLanguage"),d(typeof s.FPDFAvail_Create<"u","missing Wasm export: FPDFAvail_Create"),d(typeof s.FPDFAvail_Destroy<"u","missing Wasm export: FPDFAvail_Destroy"),d(typeof s.FPDFAvail_IsDocAvail<"u","missing Wasm export: FPDFAvail_IsDocAvail"),d(typeof s.FPDFAvail_GetDocument<"u","missing Wasm export: FPDFAvail_GetDocument"),d(typeof s.FPDFAvail_GetFirstPageNum<"u","missing Wasm export: FPDFAvail_GetFirstPageNum"),d(typeof s.FPDFAvail_IsPageAvail<"u","missing Wasm export: FPDFAvail_IsPageAvail"),d(typeof s.FPDFAvail_IsFormAvail<"u","missing Wasm export: FPDFAvail_IsFormAvail"),d(typeof s.FPDFAvail_IsLinearized<"u","missing Wasm export: FPDFAvail_IsLinearized"),d(typeof s.FPDFBookmark_GetFirstChild<"u","missing Wasm export: FPDFBookmark_GetFirstChild"),d(typeof s.FPDFBookmark_GetNextSibling<"u","missing Wasm export: FPDFBookmark_GetNextSibling"),d(typeof s.FPDFBookmark_GetTitle<"u","missing Wasm export: FPDFBookmark_GetTitle"),d(typeof s.FPDFBookmark_GetCount<"u","missing Wasm export: FPDFBookmark_GetCount"),d(typeof s.FPDFBookmark_Find<"u","missing Wasm export: FPDFBookmark_Find"),d(typeof s.FPDFBookmark_GetDest<"u","missing Wasm export: FPDFBookmark_GetDest"),d(typeof s.FPDFBookmark_GetAction<"u","missing Wasm export: FPDFBookmark_GetAction"),d(typeof s.FPDFBookmark_GetColor<"u","missing Wasm export: FPDFBookmark_GetColor"),d(typeof s.FPDFBookmark_GetStyle<"u","missing Wasm export: FPDFBookmark_GetStyle"),d(typeof s.FPDFAction_GetType<"u","missing Wasm export: FPDFAction_GetType"),d(typeof s.FPDFAction_GetDest<"u","missing Wasm export: FPDFAction_GetDest"),d(typeof s.FPDFAction_GetFilePath<"u","missing Wasm export: FPDFAction_GetFilePath"),d(typeof s.FPDFAction_GetURIPath<"u","missing Wasm export: FPDFAction_GetURIPath"),d(typeof s.FPDFDest_GetDestPageIndex<"u","missing Wasm export: FPDFDest_GetDestPageIndex"),d(typeof s.FPDFDest_GetView<"u","missing Wasm export: FPDFDest_GetView"),d(typeof s.FPDFDest_GetLocationInPage<"u","missing Wasm export: FPDFDest_GetLocationInPage"),d(typeof s.FPDFLink_GetLinkAtPoint<"u","missing Wasm export: FPDFLink_GetLinkAtPoint"),d(typeof s.FPDFLink_GetLinkZOrderAtPoint<"u","missing Wasm export: FPDFLink_GetLinkZOrderAtPoint"),d(typeof s.FPDFLink_GetDest<"u","missing Wasm export: FPDFLink_GetDest"),d(typeof s.FPDFLink_GetAction<"u","missing Wasm export: FPDFLink_GetAction"),d(typeof s.FPDFLink_Enumerate<"u","missing Wasm export: FPDFLink_Enumerate"),d(typeof s.FPDFLink_GetAnnot<"u","missing Wasm export: FPDFLink_GetAnnot"),d(typeof s.FPDFLink_GetAnnotRect<"u","missing Wasm export: FPDFLink_GetAnnotRect"),d(typeof s.FPDFLink_CountQuadPoints<"u","missing Wasm export: FPDFLink_CountQuadPoints"),d(typeof s.FPDFLink_GetQuadPoints<"u","missing Wasm export: FPDFLink_GetQuadPoints"),d(typeof s.FPDF_GetPageAAction<"u","missing Wasm export: FPDF_GetPageAAction"),d(typeof s.FPDF_GetFileIdentifier<"u","missing Wasm export: FPDF_GetFileIdentifier"),d(typeof s.FPDF_GetMetaText<"u","missing Wasm export: FPDF_GetMetaText"),d(typeof s.FPDF_GetPageLabel<"u","missing Wasm export: FPDF_GetPageLabel"),d(typeof s.FPDFPageObj_NewImageObj<"u","missing Wasm export: FPDFPageObj_NewImageObj"),d(typeof s.FPDFImageObj_LoadJpegFile<"u","missing Wasm export: FPDFImageObj_LoadJpegFile"),d(typeof s.FPDFImageObj_LoadJpegFileInline<"u","missing Wasm export: FPDFImageObj_LoadJpegFileInline"),d(typeof s.FPDFImageObj_SetMatrix<"u","missing Wasm export: FPDFImageObj_SetMatrix"),d(typeof s.FPDFImageObj_SetBitmap<"u","missing Wasm export: FPDFImageObj_SetBitmap"),d(typeof s.FPDFImageObj_GetBitmap<"u","missing Wasm export: FPDFImageObj_GetBitmap"),d(typeof s.FPDFImageObj_GetRenderedBitmap<"u","missing Wasm export: FPDFImageObj_GetRenderedBitmap"),d(typeof s.FPDFImageObj_GetImageDataDecoded<"u","missing Wasm export: FPDFImageObj_GetImageDataDecoded"),d(typeof s.FPDFImageObj_GetImageDataRaw<"u","missing Wasm export: FPDFImageObj_GetImageDataRaw"),d(typeof s.FPDFImageObj_GetImageFilterCount<"u","missing Wasm export: FPDFImageObj_GetImageFilterCount"),d(typeof s.FPDFImageObj_GetImageFilter<"u","missing Wasm export: FPDFImageObj_GetImageFilter"),d(typeof s.FPDFImageObj_GetImageMetadata<"u","missing Wasm export: FPDFImageObj_GetImageMetadata"),d(typeof s.FPDFImageObj_GetImagePixelSize<"u","missing Wasm export: FPDFImageObj_GetImagePixelSize"),d(typeof s.FPDFImageObj_GetIccProfileDataDecoded<"u","missing Wasm export: FPDFImageObj_GetIccProfileDataDecoded"),d(typeof s.FPDF_CreateNewDocument<"u","missing Wasm export: FPDF_CreateNewDocument"),d(typeof s.FPDFPage_Delete<"u","missing Wasm export: FPDFPage_Delete"),d(typeof s.FPDF_MovePages<"u","missing Wasm export: FPDF_MovePages"),d(typeof s.FPDFPage_New<"u","missing Wasm export: FPDFPage_New"),d(typeof s.FPDFPage_GetRotation<"u","missing Wasm export: FPDFPage_GetRotation"),d(typeof s.FPDFPage_InsertObject<"u","missing Wasm export: FPDFPage_InsertObject"),d(typeof s.FPDFPage_InsertObjectAtIndex<"u","missing Wasm export: FPDFPage_InsertObjectAtIndex"),d(typeof s.FPDFPage_RemoveObject<"u","missing Wasm export: FPDFPage_RemoveObject"),d(typeof s.FPDFPage_CountObjects<"u","missing Wasm export: FPDFPage_CountObjects"),d(typeof s.FPDFPage_GetObject<"u","missing Wasm export: FPDFPage_GetObject"),d(typeof s.FPDFPage_HasTransparency<"u","missing Wasm export: FPDFPage_HasTransparency"),d(typeof s.FPDFPageObj_Destroy<"u","missing Wasm export: FPDFPageObj_Destroy"),d(typeof s.FPDFPageObj_GetMarkedContentID<"u","missing Wasm export: FPDFPageObj_GetMarkedContentID"),d(typeof s.FPDFPageObj_CountMarks<"u","missing Wasm export: FPDFPageObj_CountMarks"),d(typeof s.FPDFPageObj_GetMark<"u","missing Wasm export: FPDFPageObj_GetMark"),d(typeof s.FPDFPageObj_AddExistingMark<"u","missing Wasm export: FPDFPageObj_AddExistingMark"),d(typeof s.FPDFPageObj_AddMark<"u","missing Wasm export: FPDFPageObj_AddMark"),d(typeof s.FPDFPageObj_RemoveMark<"u","missing Wasm export: FPDFPageObj_RemoveMark"),d(typeof s.FPDFPageObjMark_GetName<"u","missing Wasm export: FPDFPageObjMark_GetName"),d(typeof s.FPDFPageObjMark_CountParams<"u","missing Wasm export: FPDFPageObjMark_CountParams"),d(typeof s.FPDFPageObjMark_GetParamKey<"u","missing Wasm export: FPDFPageObjMark_GetParamKey"),d(typeof s.FPDFPageObjMark_GetParamValueType<"u","missing Wasm export: FPDFPageObjMark_GetParamValueType"),d(typeof s.FPDFPageObjMark_GetParamIntValue<"u","missing Wasm export: FPDFPageObjMark_GetParamIntValue"),d(typeof s.FPDFPageObjMark_GetParamFloatValue<"u","missing Wasm export: FPDFPageObjMark_GetParamFloatValue"),d(typeof s.FPDFPageObjMark_GetParamStringValue<"u","missing Wasm export: FPDFPageObjMark_GetParamStringValue"),d(typeof s.FPDFPageObjMark_GetParamBlobValue<"u","missing Wasm export: FPDFPageObjMark_GetParamBlobValue"),d(typeof s.FPDFPageObj_HasTransparency<"u","missing Wasm export: FPDFPageObj_HasTransparency"),d(typeof s.FPDFPageObjMark_SetIntParam<"u","missing Wasm export: FPDFPageObjMark_SetIntParam"),d(typeof s.FPDFPageObjMark_SetFloatParam<"u","missing Wasm export: FPDFPageObjMark_SetFloatParam"),d(typeof s.FPDFPageObjMark_SetStringParam<"u","missing Wasm export: FPDFPageObjMark_SetStringParam"),d(typeof s.FPDFPageObjMark_SetBlobParam<"u","missing Wasm export: FPDFPageObjMark_SetBlobParam"),d(typeof s.FPDFPageObjMark_RemoveParam<"u","missing Wasm export: FPDFPageObjMark_RemoveParam"),d(typeof s.FPDFPageObj_GetType<"u","missing Wasm export: FPDFPageObj_GetType"),d(typeof s.FPDFPageObj_GetIsActive<"u","missing Wasm export: FPDFPageObj_GetIsActive"),d(typeof s.FPDFPageObj_SetIsActive<"u","missing Wasm export: FPDFPageObj_SetIsActive"),d(typeof s.FPDFPage_GenerateContent<"u","missing Wasm export: FPDFPage_GenerateContent"),d(typeof s.FPDFPageObj_Transform<"u","missing Wasm export: FPDFPageObj_Transform"),d(typeof s.FPDFPageObj_TransformF<"u","missing Wasm export: FPDFPageObj_TransformF"),d(typeof s.FPDFPageObj_GetMatrix<"u","missing Wasm export: FPDFPageObj_GetMatrix"),d(typeof s.FPDFPageObj_SetMatrix<"u","missing Wasm export: FPDFPageObj_SetMatrix"),d(typeof s.FPDFPageObj_SetBlendMode<"u","missing Wasm export: FPDFPageObj_SetBlendMode"),d(typeof s.FPDFPage_TransformAnnots<"u","missing Wasm export: FPDFPage_TransformAnnots"),d(typeof s.FPDFPage_SetRotation<"u","missing Wasm export: FPDFPage_SetRotation"),d(typeof s.FPDFPageObj_SetFillColor<"u","missing Wasm export: FPDFPageObj_SetFillColor"),d(typeof s.FPDFPageObj_GetFillColor<"u","missing Wasm export: FPDFPageObj_GetFillColor"),d(typeof s.FPDFPageObj_GetBounds<"u","missing Wasm export: FPDFPageObj_GetBounds"),d(typeof s.FPDFPageObj_GetRotatedBounds<"u","missing Wasm export: FPDFPageObj_GetRotatedBounds"),d(typeof s.FPDFPageObj_SetStrokeColor<"u","missing Wasm export: FPDFPageObj_SetStrokeColor"),d(typeof s.FPDFPageObj_GetStrokeColor<"u","missing Wasm export: FPDFPageObj_GetStrokeColor"),d(typeof s.FPDFPageObj_SetStrokeWidth<"u","missing Wasm export: FPDFPageObj_SetStrokeWidth"),d(typeof s.FPDFPageObj_GetStrokeWidth<"u","missing Wasm export: FPDFPageObj_GetStrokeWidth"),d(typeof s.FPDFPageObj_GetLineJoin<"u","missing Wasm export: FPDFPageObj_GetLineJoin"),d(typeof s.FPDFPageObj_SetLineJoin<"u","missing Wasm export: FPDFPageObj_SetLineJoin"),d(typeof s.FPDFPageObj_GetLineCap<"u","missing Wasm export: FPDFPageObj_GetLineCap"),d(typeof s.FPDFPageObj_SetLineCap<"u","missing Wasm export: FPDFPageObj_SetLineCap"),d(typeof s.FPDFPageObj_GetDashPhase<"u","missing Wasm export: FPDFPageObj_GetDashPhase"),d(typeof s.FPDFPageObj_SetDashPhase<"u","missing Wasm export: FPDFPageObj_SetDashPhase"),d(typeof s.FPDFPageObj_GetDashCount<"u","missing Wasm export: FPDFPageObj_GetDashCount"),d(typeof s.FPDFPageObj_GetDashArray<"u","missing Wasm export: FPDFPageObj_GetDashArray"),d(typeof s.FPDFPageObj_SetDashArray<"u","missing Wasm export: FPDFPageObj_SetDashArray"),d(typeof s.FPDFFormObj_CountObjects<"u","missing Wasm export: FPDFFormObj_CountObjects"),d(typeof s.FPDFFormObj_GetObject<"u","missing Wasm export: FPDFFormObj_GetObject"),d(typeof s.FPDFFormObj_RemoveObject<"u","missing Wasm export: FPDFFormObj_RemoveObject"),d(typeof s.FPDFPageObj_CreateNewPath<"u","missing Wasm export: FPDFPageObj_CreateNewPath"),d(typeof s.FPDFPageObj_CreateNewRect<"u","missing Wasm export: FPDFPageObj_CreateNewRect"),d(typeof s.FPDFPath_CountSegments<"u","missing Wasm export: FPDFPath_CountSegments"),d(typeof s.FPDFPath_GetPathSegment<"u","missing Wasm export: FPDFPath_GetPathSegment"),d(typeof s.FPDFPath_MoveTo<"u","missing Wasm export: FPDFPath_MoveTo"),d(typeof s.FPDFPath_LineTo<"u","missing Wasm export: FPDFPath_LineTo"),d(typeof s.FPDFPath_BezierTo<"u","missing Wasm export: FPDFPath_BezierTo"),d(typeof s.FPDFPath_GetBezierControlPoints<"u","missing Wasm export: FPDFPath_GetBezierControlPoints"),d(typeof s.FPDFPath_Close<"u","missing Wasm export: FPDFPath_Close"),d(typeof s.FPDFPath_SetDrawMode<"u","missing Wasm export: FPDFPath_SetDrawMode"),d(typeof s.FPDFPath_GetDrawMode<"u","missing Wasm export: FPDFPath_GetDrawMode"),d(typeof s.FPDFPathSegment_GetPoint<"u","missing Wasm export: FPDFPathSegment_GetPoint"),d(typeof s.FPDFPathSegment_GetType<"u","missing Wasm export: FPDFPathSegment_GetType"),d(typeof s.FPDFPathSegment_GetClose<"u","missing Wasm export: FPDFPathSegment_GetClose"),d(typeof s.FPDFPageObj_NewTextObj<"u","missing Wasm export: FPDFPageObj_NewTextObj"),d(typeof s.FPDFText_SetText<"u","missing Wasm export: FPDFText_SetText"),d(typeof s.FPDFText_SetCharcodes<"u","missing Wasm export: FPDFText_SetCharcodes"),d(typeof s.FPDFText_SetPositions<"u","missing Wasm export: FPDFText_SetPositions"),d(typeof s.FPDFText_LoadFont<"u","missing Wasm export: FPDFText_LoadFont"),d(typeof s.FPDFText_LoadStandardFont<"u","missing Wasm export: FPDFText_LoadStandardFont"),d(typeof s.FPDFText_LoadCidType2Font<"u","missing Wasm export: FPDFText_LoadCidType2Font"),d(typeof s.FPDFTextObj_GetFontSize<"u","missing Wasm export: FPDFTextObj_GetFontSize"),d(typeof s.FPDFTextObj_SetFontSize<"u","missing Wasm export: FPDFTextObj_SetFontSize"),d(typeof s.FPDFTextObj_GetText<"u","missing Wasm export: FPDFTextObj_GetText"),d(typeof s.FPDFTextObj_GetRenderedBitmap<"u","missing Wasm export: FPDFTextObj_GetRenderedBitmap"),d(typeof s.FPDFFont_Close<"u","missing Wasm export: FPDFFont_Close"),d(typeof s.FPDFPageObj_CreateTextObj<"u","missing Wasm export: FPDFPageObj_CreateTextObj"),d(typeof s.FPDFTextObj_GetTextRenderMode<"u","missing Wasm export: FPDFTextObj_GetTextRenderMode"),d(typeof s.FPDFTextObj_SetTextRenderMode<"u","missing Wasm export: FPDFTextObj_SetTextRenderMode"),d(typeof s.FPDFTextObj_GetFont<"u","missing Wasm export: FPDFTextObj_GetFont"),d(typeof s.FPDFFont_GetBaseFontName<"u","missing Wasm export: FPDFFont_GetBaseFontName"),d(typeof s.FPDFFont_GetFamilyName<"u","missing Wasm export: FPDFFont_GetFamilyName"),d(typeof s.FPDFFont_GetFontData<"u","missing Wasm export: FPDFFont_GetFontData"),d(typeof s.FPDFFont_GetIsEmbedded<"u","missing Wasm export: FPDFFont_GetIsEmbedded"),d(typeof s.FPDFFont_GetFlags<"u","missing Wasm export: FPDFFont_GetFlags"),d(typeof s.FPDFFont_GetWeight<"u","missing Wasm export: FPDFFont_GetWeight"),d(typeof s.FPDFFont_GetItalicAngle<"u","missing Wasm export: FPDFFont_GetItalicAngle"),d(typeof s.FPDFFont_GetAscent<"u","missing Wasm export: FPDFFont_GetAscent"),d(typeof s.FPDFFont_GetDescent<"u","missing Wasm export: FPDFFont_GetDescent"),d(typeof s.FPDFFont_GetGlyphWidth<"u","missing Wasm export: FPDFFont_GetGlyphWidth"),d(typeof s.FPDFFont_GetGlyphPath<"u","missing Wasm export: FPDFFont_GetGlyphPath"),d(typeof s.FPDFGlyphPath_CountGlyphSegments<"u","missing Wasm export: FPDFGlyphPath_CountGlyphSegments"),d(typeof s.FPDFGlyphPath_GetGlyphPathSegment<"u","missing Wasm export: FPDFGlyphPath_GetGlyphPathSegment"),d(typeof s.FSDK_SetUnSpObjProcessHandler<"u","missing Wasm export: FSDK_SetUnSpObjProcessHandler"),d(typeof s.FSDK_SetTimeFunction<"u","missing Wasm export: FSDK_SetTimeFunction"),d(typeof s.FSDK_SetLocaltimeFunction<"u","missing Wasm export: FSDK_SetLocaltimeFunction"),d(typeof s.FPDFDoc_GetPageMode<"u","missing Wasm export: FPDFDoc_GetPageMode"),d(typeof s.FPDFPage_Flatten<"u","missing Wasm export: FPDFPage_Flatten"),d(typeof s.FPDFPage_HasFormFieldAtPoint<"u","missing Wasm export: FPDFPage_HasFormFieldAtPoint"),d(typeof s.FPDFPage_FormFieldZOrderAtPoint<"u","missing Wasm export: FPDFPage_FormFieldZOrderAtPoint"),d(typeof s.FPDFDOC_InitFormFillEnvironment<"u","missing Wasm export: FPDFDOC_InitFormFillEnvironment"),d(typeof s.FPDFDOC_ExitFormFillEnvironment<"u","missing Wasm export: FPDFDOC_ExitFormFillEnvironment"),d(typeof s.FORM_OnMouseMove<"u","missing Wasm export: FORM_OnMouseMove"),d(typeof s.FORM_OnMouseWheel<"u","missing Wasm export: FORM_OnMouseWheel"),d(typeof s.FORM_OnFocus<"u","missing Wasm export: FORM_OnFocus"),d(typeof s.FORM_OnLButtonDown<"u","missing Wasm export: FORM_OnLButtonDown"),d(typeof s.FORM_OnLButtonUp<"u","missing Wasm export: FORM_OnLButtonUp"),d(typeof s.FORM_OnLButtonDoubleClick<"u","missing Wasm export: FORM_OnLButtonDoubleClick"),d(typeof s.FORM_OnRButtonDown<"u","missing Wasm export: FORM_OnRButtonDown"),d(typeof s.FORM_OnRButtonUp<"u","missing Wasm export: FORM_OnRButtonUp"),d(typeof s.FORM_OnKeyDown<"u","missing Wasm export: FORM_OnKeyDown"),d(typeof s.FORM_OnKeyUp<"u","missing Wasm export: FORM_OnKeyUp"),d(typeof s.FORM_OnChar<"u","missing Wasm export: FORM_OnChar"),d(typeof s.FORM_GetFocusedText<"u","missing Wasm export: FORM_GetFocusedText"),d(typeof s.FORM_GetSelectedText<"u","missing Wasm export: FORM_GetSelectedText"),d(typeof s.FORM_ReplaceAndKeepSelection<"u","missing Wasm export: FORM_ReplaceAndKeepSelection"),d(typeof s.FORM_ReplaceSelection<"u","missing Wasm export: FORM_ReplaceSelection"),d(typeof s.FORM_SelectAllText<"u","missing Wasm export: FORM_SelectAllText"),d(typeof s.FORM_CanUndo<"u","missing Wasm export: FORM_CanUndo"),d(typeof s.FORM_CanRedo<"u","missing Wasm export: FORM_CanRedo"),d(typeof s.FORM_Undo<"u","missing Wasm export: FORM_Undo"),d(typeof s.FORM_Redo<"u","missing Wasm export: FORM_Redo"),d(typeof s.FORM_ForceToKillFocus<"u","missing Wasm export: FORM_ForceToKillFocus"),d(typeof s.FORM_GetFocusedAnnot<"u","missing Wasm export: FORM_GetFocusedAnnot"),d(typeof s.FORM_SetFocusedAnnot<"u","missing Wasm export: FORM_SetFocusedAnnot"),d(typeof s.FPDF_FFLDraw<"u","missing Wasm export: FPDF_FFLDraw"),d(typeof s.FPDF_SetFormFieldHighlightColor<"u","missing Wasm export: FPDF_SetFormFieldHighlightColor"),d(typeof s.FPDF_SetFormFieldHighlightAlpha<"u","missing Wasm export: FPDF_SetFormFieldHighlightAlpha"),d(typeof s.FPDF_RemoveFormFieldHighlight<"u","missing Wasm export: FPDF_RemoveFormFieldHighlight"),d(typeof s.FORM_OnAfterLoadPage<"u","missing Wasm export: FORM_OnAfterLoadPage"),d(typeof s.FORM_OnBeforeClosePage<"u","missing Wasm export: FORM_OnBeforeClosePage"),d(typeof s.FORM_DoDocumentJSAction<"u","missing Wasm export: FORM_DoDocumentJSAction"),d(typeof s.FORM_DoDocumentOpenAction<"u","missing Wasm export: FORM_DoDocumentOpenAction"),d(typeof s.FORM_DoDocumentAAction<"u","missing Wasm export: FORM_DoDocumentAAction"),d(typeof s.FORM_DoPageAAction<"u","missing Wasm export: FORM_DoPageAAction"),d(typeof s.FORM_SetIndexSelected<"u","missing Wasm export: FORM_SetIndexSelected"),d(typeof s.FORM_IsIndexSelected<"u","missing Wasm export: FORM_IsIndexSelected"),d(typeof s.FORM_GetTextDirection<"u","missing Wasm export: FORM_GetTextDirection"),d(typeof s.FORM_SetTextDirection<"u","missing Wasm export: FORM_SetTextDirection"),d(typeof s.FPDFDoc_GetJavaScriptActionCount<"u","missing Wasm export: FPDFDoc_GetJavaScriptActionCount"),d(typeof s.FPDFDoc_GetJavaScriptAction<"u","missing Wasm export: FPDFDoc_GetJavaScriptAction"),d(typeof s.FPDFDoc_CloseJavaScriptAction<"u","missing Wasm export: FPDFDoc_CloseJavaScriptAction"),d(typeof s.FPDFJavaScriptAction_GetName<"u","missing Wasm export: FPDFJavaScriptAction_GetName"),d(typeof s.FPDFJavaScriptAction_GetScript<"u","missing Wasm export: FPDFJavaScriptAction_GetScript"),d(typeof s.FPDF_ImportPagesByIndex<"u","missing Wasm export: FPDF_ImportPagesByIndex"),d(typeof s.FPDF_ImportPages<"u","missing Wasm export: FPDF_ImportPages"),d(typeof s.FPDF_ImportNPagesToOne<"u","missing Wasm export: FPDF_ImportNPagesToOne"),d(typeof s.FPDF_NewXObjectFromPage<"u","missing Wasm export: FPDF_NewXObjectFromPage"),d(typeof s.FPDF_CloseXObject<"u","missing Wasm export: FPDF_CloseXObject"),d(typeof s.FPDF_NewFormObjectFromXObject<"u","missing Wasm export: FPDF_NewFormObjectFromXObject"),d(typeof s.FPDF_CopyViewerPreferences<"u","missing Wasm export: FPDF_CopyViewerPreferences"),d(typeof s.FPDF_RenderPageBitmapWithColorScheme_Start<"u","missing Wasm export: FPDF_RenderPageBitmapWithColorScheme_Start"),d(typeof s.FPDF_RenderPageBitmap_Start<"u","missing Wasm export: FPDF_RenderPageBitmap_Start"),d(typeof s.FPDF_RenderPage_Continue<"u","missing Wasm export: FPDF_RenderPage_Continue"),d(typeof s.FPDF_RenderPage_Close<"u","missing Wasm export: FPDF_RenderPage_Close"),d(typeof s.FPDF_SaveAsCopy<"u","missing Wasm export: FPDF_SaveAsCopy"),d(typeof s.FPDF_SaveWithVersion<"u","missing Wasm export: FPDF_SaveWithVersion"),d(typeof s.FPDFText_GetCharIndexFromTextIndex<"u","missing Wasm export: FPDFText_GetCharIndexFromTextIndex"),d(typeof s.FPDFText_GetTextIndexFromCharIndex<"u","missing Wasm export: FPDFText_GetTextIndexFromCharIndex"),d(typeof s.FPDF_GetSignatureCount<"u","missing Wasm export: FPDF_GetSignatureCount"),d(typeof s.FPDF_GetSignatureObject<"u","missing Wasm export: FPDF_GetSignatureObject"),d(typeof s.FPDFSignatureObj_GetContents<"u","missing Wasm export: FPDFSignatureObj_GetContents"),d(typeof s.FPDFSignatureObj_GetByteRange<"u","missing Wasm export: FPDFSignatureObj_GetByteRange"),d(typeof s.FPDFSignatureObj_GetSubFilter<"u","missing Wasm export: FPDFSignatureObj_GetSubFilter"),d(typeof s.FPDFSignatureObj_GetReason<"u","missing Wasm export: FPDFSignatureObj_GetReason"),d(typeof s.FPDFSignatureObj_GetTime<"u","missing Wasm export: FPDFSignatureObj_GetTime"),d(typeof s.FPDFSignatureObj_GetDocMDPPermission<"u","missing Wasm export: FPDFSignatureObj_GetDocMDPPermission"),d(typeof s.FPDF_StructTree_GetForPage<"u","missing Wasm export: FPDF_StructTree_GetForPage"),d(typeof s.FPDF_StructTree_Close<"u","missing Wasm export: FPDF_StructTree_Close"),d(typeof s.FPDF_StructTree_CountChildren<"u","missing Wasm export: FPDF_StructTree_CountChildren"),d(typeof s.FPDF_StructTree_GetChildAtIndex<"u","missing Wasm export: FPDF_StructTree_GetChildAtIndex"),d(typeof s.FPDF_StructElement_GetAltText<"u","missing Wasm export: FPDF_StructElement_GetAltText"),d(typeof s.FPDF_StructElement_GetActualText<"u","missing Wasm export: FPDF_StructElement_GetActualText"),d(typeof s.FPDF_StructElement_GetExpansion<"u","missing Wasm export: FPDF_StructElement_GetExpansion"),d(typeof s.FPDF_StructElement_GetID<"u","missing Wasm export: FPDF_StructElement_GetID"),d(typeof s.FPDF_StructElement_GetLang<"u","missing Wasm export: FPDF_StructElement_GetLang"),d(typeof s.FPDF_StructElement_GetAttributeCount<"u","missing Wasm export: FPDF_StructElement_GetAttributeCount"),d(typeof s.FPDF_StructElement_GetAttributeAtIndex<"u","missing Wasm export: FPDF_StructElement_GetAttributeAtIndex"),d(typeof s.FPDF_StructElement_GetStringAttribute<"u","missing Wasm export: FPDF_StructElement_GetStringAttribute"),d(typeof s.FPDF_StructElement_GetMarkedContentID<"u","missing Wasm export: FPDF_StructElement_GetMarkedContentID"),d(typeof s.FPDF_StructElement_GetType<"u","missing Wasm export: FPDF_StructElement_GetType"),d(typeof s.FPDF_StructElement_GetObjType<"u","missing Wasm export: FPDF_StructElement_GetObjType"),d(typeof s.FPDF_StructElement_GetTitle<"u","missing Wasm export: FPDF_StructElement_GetTitle"),d(typeof s.FPDF_StructElement_CountChildren<"u","missing Wasm export: FPDF_StructElement_CountChildren"),d(typeof s.FPDF_StructElement_GetChildAtIndex<"u","missing Wasm export: FPDF_StructElement_GetChildAtIndex"),d(typeof s.FPDF_StructElement_GetChildMarkedContentID<"u","missing Wasm export: FPDF_StructElement_GetChildMarkedContentID"),d(typeof s.FPDF_StructElement_GetParent<"u","missing Wasm export: FPDF_StructElement_GetParent"),d(typeof s.FPDF_StructElement_Attr_GetCount<"u","missing Wasm export: FPDF_StructElement_Attr_GetCount"),d(typeof s.FPDF_StructElement_Attr_GetName<"u","missing Wasm export: FPDF_StructElement_Attr_GetName"),d(typeof s.FPDF_StructElement_Attr_GetValue<"u","missing Wasm export: FPDF_StructElement_Attr_GetValue"),d(typeof s.FPDF_StructElement_Attr_GetType<"u","missing Wasm export: FPDF_StructElement_Attr_GetType"),d(typeof s.FPDF_StructElement_Attr_GetBooleanValue<"u","missing Wasm export: FPDF_StructElement_Attr_GetBooleanValue"),d(typeof s.FPDF_StructElement_Attr_GetNumberValue<"u","missing Wasm export: FPDF_StructElement_Attr_GetNumberValue"),d(typeof s.FPDF_StructElement_Attr_GetStringValue<"u","missing Wasm export: FPDF_StructElement_Attr_GetStringValue"),d(typeof s.FPDF_StructElement_Attr_GetBlobValue<"u","missing Wasm export: FPDF_StructElement_Attr_GetBlobValue"),d(typeof s.FPDF_StructElement_Attr_CountChildren<"u","missing Wasm export: FPDF_StructElement_Attr_CountChildren"),d(typeof s.FPDF_StructElement_Attr_GetChildAtIndex<"u","missing Wasm export: FPDF_StructElement_Attr_GetChildAtIndex"),d(typeof s.FPDF_StructElement_GetMarkedContentIdCount<"u","missing Wasm export: FPDF_StructElement_GetMarkedContentIdCount"),d(typeof s.FPDF_StructElement_GetMarkedContentIdAtIndex<"u","missing Wasm export: FPDF_StructElement_GetMarkedContentIdAtIndex"),d(typeof s.FPDF_AddInstalledFont<"u","missing Wasm export: FPDF_AddInstalledFont"),d(typeof s.FPDF_SetSystemFontInfo<"u","missing Wasm export: FPDF_SetSystemFontInfo"),d(typeof s.FPDF_GetDefaultTTFMap<"u","missing Wasm export: FPDF_GetDefaultTTFMap"),d(typeof s.FPDF_GetDefaultTTFMapCount<"u","missing Wasm export: FPDF_GetDefaultTTFMapCount"),d(typeof s.FPDF_GetDefaultTTFMapEntry<"u","missing Wasm export: FPDF_GetDefaultTTFMapEntry"),d(typeof s.FPDF_GetDefaultSystemFontInfo<"u","missing Wasm export: FPDF_GetDefaultSystemFontInfo"),d(typeof s.FPDF_FreeDefaultSystemFontInfo<"u","missing Wasm export: FPDF_FreeDefaultSystemFontInfo"),d(typeof s.FPDFText_LoadPage<"u","missing Wasm export: FPDFText_LoadPage"),d(typeof s.FPDFText_ClosePage<"u","missing Wasm export: FPDFText_ClosePage"),d(typeof s.FPDFText_CountChars<"u","missing Wasm export: FPDFText_CountChars"),d(typeof s.FPDFText_GetUnicode<"u","missing Wasm export: FPDFText_GetUnicode"),d(typeof s.FPDFText_GetTextObject<"u","missing Wasm export: FPDFText_GetTextObject"),d(typeof s.FPDFText_IsGenerated<"u","missing Wasm export: FPDFText_IsGenerated"),d(typeof s.FPDFText_IsHyphen<"u","missing Wasm export: FPDFText_IsHyphen"),d(typeof s.FPDFText_HasUnicodeMapError<"u","missing Wasm export: FPDFText_HasUnicodeMapError"),d(typeof s.FPDFText_GetFontSize<"u","missing Wasm export: FPDFText_GetFontSize"),d(typeof s.FPDFText_GetFontInfo<"u","missing Wasm export: FPDFText_GetFontInfo"),d(typeof s.FPDFText_GetFontWeight<"u","missing Wasm export: FPDFText_GetFontWeight"),d(typeof s.FPDFText_GetFillColor<"u","missing Wasm export: FPDFText_GetFillColor"),d(typeof s.FPDFText_GetStrokeColor<"u","missing Wasm export: FPDFText_GetStrokeColor"),d(typeof s.FPDFText_GetCharAngle<"u","missing Wasm export: FPDFText_GetCharAngle"),d(typeof s.FPDFText_GetCharBox<"u","missing Wasm export: FPDFText_GetCharBox"),d(typeof s.FPDFText_GetLooseCharBox<"u","missing Wasm export: FPDFText_GetLooseCharBox"),d(typeof s.FPDFText_GetMatrix<"u","missing Wasm export: FPDFText_GetMatrix"),d(typeof s.FPDFText_GetCharOrigin<"u","missing Wasm export: FPDFText_GetCharOrigin"),d(typeof s.FPDFText_GetCharIndexAtPos<"u","missing Wasm export: FPDFText_GetCharIndexAtPos"),d(typeof s.FPDFText_GetText<"u","missing Wasm export: FPDFText_GetText"),d(typeof s.FPDFText_CountRects<"u","missing Wasm export: FPDFText_CountRects"),d(typeof s.FPDFText_GetRect<"u","missing Wasm export: FPDFText_GetRect"),d(typeof s.FPDFText_GetBoundedText<"u","missing Wasm export: FPDFText_GetBoundedText"),d(typeof s.FPDFText_FindStart<"u","missing Wasm export: FPDFText_FindStart"),d(typeof s.FPDFText_FindNext<"u","missing Wasm export: FPDFText_FindNext"),d(typeof s.FPDFText_FindPrev<"u","missing Wasm export: FPDFText_FindPrev"),d(typeof s.FPDFText_GetSchResultIndex<"u","missing Wasm export: FPDFText_GetSchResultIndex"),d(typeof s.FPDFText_GetSchCount<"u","missing Wasm export: FPDFText_GetSchCount"),d(typeof s.FPDFText_FindClose<"u","missing Wasm export: FPDFText_FindClose"),d(typeof s.FPDFLink_LoadWebLinks<"u","missing Wasm export: FPDFLink_LoadWebLinks"),d(typeof s.FPDFLink_CountWebLinks<"u","missing Wasm export: FPDFLink_CountWebLinks"),d(typeof s.FPDFLink_GetURL<"u","missing Wasm export: FPDFLink_GetURL"),d(typeof s.FPDFLink_CountRects<"u","missing Wasm export: FPDFLink_CountRects"),d(typeof s.FPDFLink_GetRect<"u","missing Wasm export: FPDFLink_GetRect"),d(typeof s.FPDFLink_GetTextRange<"u","missing Wasm export: FPDFLink_GetTextRange"),d(typeof s.FPDFLink_CloseWebLinks<"u","missing Wasm export: FPDFLink_CloseWebLinks"),d(typeof s.FPDFPage_GetDecodedThumbnailData<"u","missing Wasm export: FPDFPage_GetDecodedThumbnailData"),d(typeof s.FPDFPage_GetRawThumbnailData<"u","missing Wasm export: FPDFPage_GetRawThumbnailData"),d(typeof s.FPDFPage_GetThumbnailAsBitmap<"u","missing Wasm export: FPDFPage_GetThumbnailAsBitmap"),d(typeof s.FPDFPage_SetMediaBox<"u","missing Wasm export: FPDFPage_SetMediaBox"),d(typeof s.FPDFPage_SetCropBox<"u","missing Wasm export: FPDFPage_SetCropBox"),d(typeof s.FPDFPage_SetBleedBox<"u","missing Wasm export: FPDFPage_SetBleedBox"),d(typeof s.FPDFPage_SetTrimBox<"u","missing Wasm export: FPDFPage_SetTrimBox"),d(typeof s.FPDFPage_SetArtBox<"u","missing Wasm export: FPDFPage_SetArtBox"),d(typeof s.FPDFPage_GetMediaBox<"u","missing Wasm export: FPDFPage_GetMediaBox"),d(typeof s.FPDFPage_GetCropBox<"u","missing Wasm export: FPDFPage_GetCropBox"),d(typeof s.FPDFPage_GetBleedBox<"u","missing Wasm export: FPDFPage_GetBleedBox"),d(typeof s.FPDFPage_GetTrimBox<"u","missing Wasm export: FPDFPage_GetTrimBox"),d(typeof s.FPDFPage_GetArtBox<"u","missing Wasm export: FPDFPage_GetArtBox"),d(typeof s.FPDFPage_TransFormWithClip<"u","missing Wasm export: FPDFPage_TransFormWithClip"),d(typeof s.FPDFPageObj_TransformClipPath<"u","missing Wasm export: FPDFPageObj_TransformClipPath"),d(typeof s.FPDFPageObj_GetClipPath<"u","missing Wasm export: FPDFPageObj_GetClipPath"),d(typeof s.FPDFClipPath_CountPaths<"u","missing Wasm export: FPDFClipPath_CountPaths"),d(typeof s.FPDFClipPath_CountPathSegments<"u","missing Wasm export: FPDFClipPath_CountPathSegments"),d(typeof s.FPDFClipPath_GetPathSegment<"u","missing Wasm export: FPDFClipPath_GetPathSegment"),d(typeof s.FPDF_CreateClipPath<"u","missing Wasm export: FPDF_CreateClipPath"),d(typeof s.FPDF_DestroyClipPath<"u","missing Wasm export: FPDF_DestroyClipPath"),d(typeof s.FPDFPage_InsertClipPath<"u","missing Wasm export: FPDFPage_InsertClipPath"),d(typeof s.FPDF_InitLibrary<"u","missing Wasm export: FPDF_InitLibrary"),d(typeof s.malloc<"u","missing Wasm export: malloc"),d(typeof s.free<"u","missing Wasm export: free"),d(typeof s.FPDF_DestroyLibrary<"u","missing Wasm export: FPDF_DestroyLibrary"),d(typeof s.FPDF_SetSandBoxPolicy<"u","missing Wasm export: FPDF_SetSandBoxPolicy"),d(typeof s.FPDF_LoadDocument<"u","missing Wasm export: FPDF_LoadDocument"),d(typeof s.FPDF_GetFormType<"u","missing Wasm export: FPDF_GetFormType"),d(typeof s.FPDF_LoadXFA<"u","missing Wasm export: FPDF_LoadXFA"),d(typeof s.FPDF_LoadMemDocument<"u","missing Wasm export: FPDF_LoadMemDocument"),d(typeof s.FPDF_LoadMemDocument64<"u","missing Wasm export: FPDF_LoadMemDocument64"),d(typeof s.FPDF_LoadCustomDocument<"u","missing Wasm export: FPDF_LoadCustomDocument"),d(typeof s.FPDF_GetFileVersion<"u","missing Wasm export: FPDF_GetFileVersion"),d(typeof s.FPDF_DocumentHasValidCrossReferenceTable<"u","missing Wasm export: FPDF_DocumentHasValidCrossReferenceTable"),d(typeof s.FPDF_GetDocPermissions<"u","missing Wasm export: FPDF_GetDocPermissions"),d(typeof s.FPDF_GetDocUserPermissions<"u","missing Wasm export: FPDF_GetDocUserPermissions"),d(typeof s.FPDF_GetSecurityHandlerRevision<"u","missing Wasm export: FPDF_GetSecurityHandlerRevision"),d(typeof s.FPDF_GetPageCount<"u","missing Wasm export: FPDF_GetPageCount"),d(typeof s.FPDF_LoadPage<"u","missing Wasm export: FPDF_LoadPage"),d(typeof s.FPDF_GetPageWidthF<"u","missing Wasm export: FPDF_GetPageWidthF"),d(typeof s.FPDF_GetPageWidth<"u","missing Wasm export: FPDF_GetPageWidth"),d(typeof s.FPDF_GetPageHeightF<"u","missing Wasm export: FPDF_GetPageHeightF"),d(typeof s.FPDF_GetPageHeight<"u","missing Wasm export: FPDF_GetPageHeight"),d(typeof s.FPDF_GetPageBoundingBox<"u","missing Wasm export: FPDF_GetPageBoundingBox"),d(typeof s.FPDF_RenderPageBitmap<"u","missing Wasm export: FPDF_RenderPageBitmap"),d(typeof s.FPDF_RenderPageBitmapWithMatrix<"u","missing Wasm export: FPDF_RenderPageBitmapWithMatrix"),d(typeof s.FPDF_ClosePage<"u","missing Wasm export: FPDF_ClosePage"),d(typeof s.FPDF_CloseDocument<"u","missing Wasm export: FPDF_CloseDocument"),d(typeof s.FPDF_GetLastError<"u","missing Wasm export: FPDF_GetLastError"),d(typeof s.FPDF_DeviceToPage<"u","missing Wasm export: FPDF_DeviceToPage"),d(typeof s.FPDF_PageToDevice<"u","missing Wasm export: FPDF_PageToDevice"),d(typeof s.FPDFBitmap_Create<"u","missing Wasm export: FPDFBitmap_Create"),d(typeof s.FPDFBitmap_CreateEx<"u","missing Wasm export: FPDFBitmap_CreateEx"),d(typeof s.FPDFBitmap_GetFormat<"u","missing Wasm export: FPDFBitmap_GetFormat"),d(typeof s.FPDFBitmap_FillRect<"u","missing Wasm export: FPDFBitmap_FillRect"),d(typeof s.FPDFBitmap_GetBuffer<"u","missing Wasm export: FPDFBitmap_GetBuffer"),d(typeof s.FPDFBitmap_GetWidth<"u","missing Wasm export: FPDFBitmap_GetWidth"),d(typeof s.FPDFBitmap_GetHeight<"u","missing Wasm export: FPDFBitmap_GetHeight"),d(typeof s.FPDFBitmap_GetStride<"u","missing Wasm export: FPDFBitmap_GetStride"),d(typeof s.FPDFBitmap_Destroy<"u","missing Wasm export: FPDFBitmap_Destroy"),d(typeof s.FPDF_GetPageSizeByIndexF<"u","missing Wasm export: FPDF_GetPageSizeByIndexF"),d(typeof s.FPDF_GetPageSizeByIndex<"u","missing Wasm export: FPDF_GetPageSizeByIndex"),d(typeof s.FPDF_VIEWERREF_GetPrintScaling<"u","missing Wasm export: FPDF_VIEWERREF_GetPrintScaling"),d(typeof s.FPDF_VIEWERREF_GetNumCopies<"u","missing Wasm export: FPDF_VIEWERREF_GetNumCopies"),d(typeof s.FPDF_VIEWERREF_GetPrintPageRange<"u","missing Wasm export: FPDF_VIEWERREF_GetPrintPageRange"),d(typeof s.FPDF_VIEWERREF_GetPrintPageRangeCount<"u","missing Wasm export: FPDF_VIEWERREF_GetPrintPageRangeCount"),d(typeof s.FPDF_VIEWERREF_GetPrintPageRangeElement<"u","missing Wasm export: FPDF_VIEWERREF_GetPrintPageRangeElement"),d(typeof s.FPDF_VIEWERREF_GetDuplex<"u","missing Wasm export: FPDF_VIEWERREF_GetDuplex"),d(typeof s.FPDF_VIEWERREF_GetName<"u","missing Wasm export: FPDF_VIEWERREF_GetName"),d(typeof s.FPDF_CountNamedDests<"u","missing Wasm export: FPDF_CountNamedDests"),d(typeof s.FPDF_GetNamedDestByName<"u","missing Wasm export: FPDF_GetNamedDestByName"),d(typeof s.FPDF_GetNamedDest<"u","missing Wasm export: FPDF_GetNamedDest"),d(typeof s.FPDF_GetXFAPacketCount<"u","missing Wasm export: FPDF_GetXFAPacketCount"),d(typeof s.FPDF_GetXFAPacketName<"u","missing Wasm export: FPDF_GetXFAPacketName"),d(typeof s.FPDF_GetXFAPacketContent<"u","missing Wasm export: FPDF_GetXFAPacketContent"),d(typeof s.FPDF_GetTrailerEnds<"u","missing Wasm export: FPDF_GetTrailerEnds"),d(typeof s.fflush<"u","missing Wasm export: fflush"),d(typeof s.emscripten_stack_get_end<"u","missing Wasm export: emscripten_stack_get_end"),d(typeof s.emscripten_stack_get_base<"u","missing Wasm export: emscripten_stack_get_base"),d(typeof s.emscripten_builtin_memalign<"u","missing Wasm export: emscripten_builtin_memalign"),d(typeof s.strerror<"u","missing Wasm export: strerror"),d(typeof s.setThrew<"u","missing Wasm export: setThrew"),d(typeof s.emscripten_stack_init<"u","missing Wasm export: emscripten_stack_init"),d(typeof s.emscripten_stack_get_free<"u","missing Wasm export: emscripten_stack_get_free"),d(typeof s._emscripten_stack_restore<"u","missing Wasm export: _emscripten_stack_restore"),d(typeof s._emscripten_stack_alloc<"u","missing Wasm export: _emscripten_stack_alloc"),d(typeof s.emscripten_stack_get_current<"u","missing Wasm export: emscripten_stack_get_current"),d(typeof s.memory<"u","missing Wasm export: memory"),d(typeof s.__indirect_function_table<"u","missing Wasm export: __indirect_function_table"),MS=n._PDFium_Init=p("PDFium_Init",0),US=n._FPDF_InitLibraryWithConfig=p("FPDF_InitLibraryWithConfig",1),BS=n._FPDFAnnot_IsSupportedSubtype=p("FPDFAnnot_IsSupportedSubtype",1),WS=n._FPDFPage_CreateAnnot=p("FPDFPage_CreateAnnot",2),VS=n._FPDFPage_GetAnnotCount=p("FPDFPage_GetAnnotCount",1),ZS=n._FPDFPage_GetAnnot=p("FPDFPage_GetAnnot",2),HS=n._FPDFPage_GetAnnotIndex=p("FPDFPage_GetAnnotIndex",2),JS=n._FPDFPage_CloseAnnot=p("FPDFPage_CloseAnnot",1),KS=n._FPDFPage_RemoveAnnot=p("FPDFPage_RemoveAnnot",2),qS=n._FPDFAnnot_GetSubtype=p("FPDFAnnot_GetSubtype",1),XS=n._FPDFAnnot_IsObjectSupportedSubtype=p("FPDFAnnot_IsObjectSupportedSubtype",1),YS=n._FPDFAnnot_UpdateObject=p("FPDFAnnot_UpdateObject",2),QS=n._FPDFAnnot_AddInkStroke=p("FPDFAnnot_AddInkStroke",3),e$=n._FPDFAnnot_RemoveInkList=p("FPDFAnnot_RemoveInkList",1),t$=n._FPDFAnnot_AppendObject=p("FPDFAnnot_AppendObject",2),n$=n._FPDFAnnot_GetObjectCount=p("FPDFAnnot_GetObjectCount",1),r$=n._FPDFAnnot_GetObject=p("FPDFAnnot_GetObject",2),i$=n._FPDFAnnot_RemoveObject=p("FPDFAnnot_RemoveObject",2),o$=n._FPDFAnnot_SetColor=p("FPDFAnnot_SetColor",6),a$=n._FPDFAnnot_GetColor=p("FPDFAnnot_GetColor",6),s$=n._FPDFAnnot_HasAttachmentPoints=p("FPDFAnnot_HasAttachmentPoints",1),c$=n._FPDFAnnot_SetAttachmentPoints=p("FPDFAnnot_SetAttachmentPoints",3),u$=n._FPDFAnnot_AppendAttachmentPoints=p("FPDFAnnot_AppendAttachmentPoints",2),l$=n._FPDFAnnot_CountAttachmentPoints=p("FPDFAnnot_CountAttachmentPoints",1),d$=n._FPDFAnnot_GetAttachmentPoints=p("FPDFAnnot_GetAttachmentPoints",3),f$=n._FPDFAnnot_SetRect=p("FPDFAnnot_SetRect",2),m$=n._FPDFAnnot_GetRect=p("FPDFAnnot_GetRect",2),_$=n._FPDFAnnot_GetVertices=p("FPDFAnnot_GetVertices",3),p$=n._FPDFAnnot_GetInkListCount=p("FPDFAnnot_GetInkListCount",1),g$=n._FPDFAnnot_GetInkListPath=p("FPDFAnnot_GetInkListPath",4),F$=n._FPDFAnnot_GetLine=p("FPDFAnnot_GetLine",3),h$=n._FPDFAnnot_SetBorder=p("FPDFAnnot_SetBorder",4),P$=n._FPDFAnnot_GetBorder=p("FPDFAnnot_GetBorder",4),v$=n._FPDFAnnot_HasKey=p("FPDFAnnot_HasKey",2),D$=n._FPDFAnnot_GetValueType=p("FPDFAnnot_GetValueType",2),y$=n._FPDFAnnot_SetStringValue=p("FPDFAnnot_SetStringValue",3),b$=n._FPDFAnnot_GetStringValue=p("FPDFAnnot_GetStringValue",4),S$=n._FPDFAnnot_GetNumberValue=p("FPDFAnnot_GetNumberValue",3),$$=n._FPDFAnnot_SetAP=p("FPDFAnnot_SetAP",3),x$=n._FPDFAnnot_GetAP=p("FPDFAnnot_GetAP",4),I$=n._FPDFAnnot_GetLinkedAnnot=p("FPDFAnnot_GetLinkedAnnot",2),k$=n._FPDFAnnot_GetFlags=p("FPDFAnnot_GetFlags",1),A$=n._FPDFAnnot_SetFlags=p("FPDFAnnot_SetFlags",2),w$=n._FPDFAnnot_GetFormFieldFlags=p("FPDFAnnot_GetFormFieldFlags",2),E$=n._FPDFAnnot_SetFormFieldFlags=p("FPDFAnnot_SetFormFieldFlags",3),O$=n._FPDFAnnot_GetFormFieldAtPoint=p("FPDFAnnot_GetFormFieldAtPoint",3),T$=n._FPDFAnnot_GetFormFieldName=p("FPDFAnnot_GetFormFieldName",4),G$=n._FPDFAnnot_GetFormFieldType=p("FPDFAnnot_GetFormFieldType",2),C$=n._FPDFAnnot_GetFormAdditionalActionJavaScript=p("FPDFAnnot_GetFormAdditionalActionJavaScript",5),R$=n._FPDFAnnot_GetFormFieldAlternateName=p("FPDFAnnot_GetFormFieldAlternateName",4),j$=n._FPDFAnnot_GetFormFieldValue=p("FPDFAnnot_GetFormFieldValue",4),N$=n._FPDFAnnot_GetOptionCount=p("FPDFAnnot_GetOptionCount",2),z$=n._FPDFAnnot_GetOptionLabel=p("FPDFAnnot_GetOptionLabel",5),L$=n._FPDFAnnot_IsOptionSelected=p("FPDFAnnot_IsOptionSelected",3),M$=n._FPDFAnnot_GetFontSize=p("FPDFAnnot_GetFontSize",3),U$=n._FPDFAnnot_SetFontColor=p("FPDFAnnot_SetFontColor",5),B$=n._FPDFAnnot_GetFontColor=p("FPDFAnnot_GetFontColor",5),W$=n._FPDFAnnot_IsChecked=p("FPDFAnnot_IsChecked",2),V$=n._FPDFAnnot_SetFocusableSubtypes=p("FPDFAnnot_SetFocusableSubtypes",3),Z$=n._FPDFAnnot_GetFocusableSubtypesCount=p("FPDFAnnot_GetFocusableSubtypesCount",1),H$=n._FPDFAnnot_GetFocusableSubtypes=p("FPDFAnnot_GetFocusableSubtypes",3),J$=n._FPDFAnnot_GetLink=p("FPDFAnnot_GetLink",1),K$=n._FPDFAnnot_GetFormControlCount=p("FPDFAnnot_GetFormControlCount",2),q$=n._FPDFAnnot_GetFormControlIndex=p("FPDFAnnot_GetFormControlIndex",2),X$=n._FPDFAnnot_GetFormFieldExportValue=p("FPDFAnnot_GetFormFieldExportValue",4),Y$=n._FPDFAnnot_SetURI=p("FPDFAnnot_SetURI",2),Q$=n._FPDFAnnot_GetFileAttachment=p("FPDFAnnot_GetFileAttachment",1),ex=n._FPDFAnnot_AddFileAttachment=p("FPDFAnnot_AddFileAttachment",2),tx=n._FPDFDoc_GetAttachmentCount=p("FPDFDoc_GetAttachmentCount",1),nx=n._FPDFDoc_AddAttachment=p("FPDFDoc_AddAttachment",2),rx=n._FPDFDoc_GetAttachment=p("FPDFDoc_GetAttachment",2),ix=n._FPDFDoc_DeleteAttachment=p("FPDFDoc_DeleteAttachment",2),ox=n._FPDFAttachment_GetName=p("FPDFAttachment_GetName",3),ax=n._FPDFAttachment_HasKey=p("FPDFAttachment_HasKey",2),sx=n._FPDFAttachment_GetValueType=p("FPDFAttachment_GetValueType",2),cx=n._FPDFAttachment_SetStringValue=p("FPDFAttachment_SetStringValue",3),ux=n._FPDFAttachment_GetStringValue=p("FPDFAttachment_GetStringValue",4),lx=n._FPDFAttachment_SetDescription=p("FPDFAttachment_SetDescription",2),dx=n._FPDFAttachment_GetDescription=p("FPDFAttachment_GetDescription",3),fx=n._FPDFAttachment_SetFile=p("FPDFAttachment_SetFile",4),mx=n._FPDFAttachment_GetFile=p("FPDFAttachment_GetFile",4),_x=n._FPDFAttachment_GetSubtype=p("FPDFAttachment_GetSubtype",3),px=n._FPDFCatalog_IsTagged=p("FPDFCatalog_IsTagged",1),gx=n._FPDFCatalog_GetLanguage=p("FPDFCatalog_GetLanguage",3),Fx=n._FPDFCatalog_SetLanguage=p("FPDFCatalog_SetLanguage",2),hx=n._FPDFAvail_Create=p("FPDFAvail_Create",2),Px=n._FPDFAvail_Destroy=p("FPDFAvail_Destroy",1),vx=n._FPDFAvail_IsDocAvail=p("FPDFAvail_IsDocAvail",2),Dx=n._FPDFAvail_GetDocument=p("FPDFAvail_GetDocument",2),yx=n._FPDFAvail_GetFirstPageNum=p("FPDFAvail_GetFirstPageNum",1),bx=n._FPDFAvail_IsPageAvail=p("FPDFAvail_IsPageAvail",3),Sx=n._FPDFAvail_IsFormAvail=p("FPDFAvail_IsFormAvail",2),$x=n._FPDFAvail_IsLinearized=p("FPDFAvail_IsLinearized",1),xx=n._FPDFBookmark_GetFirstChild=p("FPDFBookmark_GetFirstChild",2),Ix=n._FPDFBookmark_GetNextSibling=p("FPDFBookmark_GetNextSibling",2),kx=n._FPDFBookmark_GetTitle=p("FPDFBookmark_GetTitle",3),Ax=n._FPDFBookmark_GetCount=p("FPDFBookmark_GetCount",1),wx=n._FPDFBookmark_Find=p("FPDFBookmark_Find",2),Ex=n._FPDFBookmark_GetDest=p("FPDFBookmark_GetDest",2),Ox=n._FPDFBookmark_GetAction=p("FPDFBookmark_GetAction",1),Tx=n._FPDFBookmark_GetColor=p("FPDFBookmark_GetColor",4),Gx=n._FPDFBookmark_GetStyle=p("FPDFBookmark_GetStyle",1),Cx=n._FPDFAction_GetType=p("FPDFAction_GetType",1),Rx=n._FPDFAction_GetDest=p("FPDFAction_GetDest",2),jx=n._FPDFAction_GetFilePath=p("FPDFAction_GetFilePath",3),Nx=n._FPDFAction_GetURIPath=p("FPDFAction_GetURIPath",4),zx=n._FPDFDest_GetDestPageIndex=p("FPDFDest_GetDestPageIndex",2),Lx=n._FPDFDest_GetView=p("FPDFDest_GetView",3),Mx=n._FPDFDest_GetLocationInPage=p("FPDFDest_GetLocationInPage",7),Ux=n._FPDFLink_GetLinkAtPoint=p("FPDFLink_GetLinkAtPoint",3),Bx=n._FPDFLink_GetLinkZOrderAtPoint=p("FPDFLink_GetLinkZOrderAtPoint",3),Wx=n._FPDFLink_GetDest=p("FPDFLink_GetDest",2),Vx=n._FPDFLink_GetAction=p("FPDFLink_GetAction",1),Zx=n._FPDFLink_Enumerate=p("FPDFLink_Enumerate",3),Hx=n._FPDFLink_GetAnnot=p("FPDFLink_GetAnnot",2),Jx=n._FPDFLink_GetAnnotRect=p("FPDFLink_GetAnnotRect",2),Kx=n._FPDFLink_CountQuadPoints=p("FPDFLink_CountQuadPoints",1),qx=n._FPDFLink_GetQuadPoints=p("FPDFLink_GetQuadPoints",3),Xx=n._FPDF_GetPageAAction=p("FPDF_GetPageAAction",2),Yx=n._FPDF_GetFileIdentifier=p("FPDF_GetFileIdentifier",4),Qx=n._FPDF_GetMetaText=p("FPDF_GetMetaText",4),eI=n._FPDF_GetPageLabel=p("FPDF_GetPageLabel",4),tI=n._FPDFPageObj_NewImageObj=p("FPDFPageObj_NewImageObj",1),nI=n._FPDFImageObj_LoadJpegFile=p("FPDFImageObj_LoadJpegFile",4),rI=n._FPDFImageObj_LoadJpegFileInline=p("FPDFImageObj_LoadJpegFileInline",4),iI=n._FPDFImageObj_SetMatrix=p("FPDFImageObj_SetMatrix",7),oI=n._FPDFImageObj_SetBitmap=p("FPDFImageObj_SetBitmap",4),aI=n._FPDFImageObj_GetBitmap=p("FPDFImageObj_GetBitmap",1),sI=n._FPDFImageObj_GetRenderedBitmap=p("FPDFImageObj_GetRenderedBitmap",3),cI=n._FPDFImageObj_GetImageDataDecoded=p("FPDFImageObj_GetImageDataDecoded",3),uI=n._FPDFImageObj_GetImageDataRaw=p("FPDFImageObj_GetImageDataRaw",3),lI=n._FPDFImageObj_GetImageFilterCount=p("FPDFImageObj_GetImageFilterCount",1),dI=n._FPDFImageObj_GetImageFilter=p("FPDFImageObj_GetImageFilter",4),fI=n._FPDFImageObj_GetImageMetadata=p("FPDFImageObj_GetImageMetadata",3),mI=n._FPDFImageObj_GetImagePixelSize=p("FPDFImageObj_GetImagePixelSize",3),_I=n._FPDFImageObj_GetIccProfileDataDecoded=p("FPDFImageObj_GetIccProfileDataDecoded",5),pI=n._FPDF_CreateNewDocument=p("FPDF_CreateNewDocument",0),gI=n._FPDFPage_Delete=p("FPDFPage_Delete",2),FI=n._FPDF_MovePages=p("FPDF_MovePages",4),hI=n._FPDFPage_New=p("FPDFPage_New",4),PI=n._FPDFPage_GetRotation=p("FPDFPage_GetRotation",1),vI=n._FPDFPage_InsertObject=p("FPDFPage_InsertObject",2),DI=n._FPDFPage_InsertObjectAtIndex=p("FPDFPage_InsertObjectAtIndex",3),yI=n._FPDFPage_RemoveObject=p("FPDFPage_RemoveObject",2),bI=n._FPDFPage_CountObjects=p("FPDFPage_CountObjects",1),SI=n._FPDFPage_GetObject=p("FPDFPage_GetObject",2),$I=n._FPDFPage_HasTransparency=p("FPDFPage_HasTransparency",1),xI=n._FPDFPageObj_Destroy=p("FPDFPageObj_Destroy",1),II=n._FPDFPageObj_GetMarkedContentID=p("FPDFPageObj_GetMarkedContentID",1),kI=n._FPDFPageObj_CountMarks=p("FPDFPageObj_CountMarks",1),AI=n._FPDFPageObj_GetMark=p("FPDFPageObj_GetMark",2),wI=n._FPDFPageObj_AddExistingMark=p("FPDFPageObj_AddExistingMark",2),EI=n._FPDFPageObj_AddMark=p("FPDFPageObj_AddMark",2),OI=n._FPDFPageObj_RemoveMark=p("FPDFPageObj_RemoveMark",2),TI=n._FPDFPageObjMark_GetName=p("FPDFPageObjMark_GetName",4),GI=n._FPDFPageObjMark_CountParams=p("FPDFPageObjMark_CountParams",1),CI=n._FPDFPageObjMark_GetParamKey=p("FPDFPageObjMark_GetParamKey",5),RI=n._FPDFPageObjMark_GetParamValueType=p("FPDFPageObjMark_GetParamValueType",2),jI=n._FPDFPageObjMark_GetParamIntValue=p("FPDFPageObjMark_GetParamIntValue",3),NI=n._FPDFPageObjMark_GetParamFloatValue=p("FPDFPageObjMark_GetParamFloatValue",3),zI=n._FPDFPageObjMark_GetParamStringValue=p("FPDFPageObjMark_GetParamStringValue",5),LI=n._FPDFPageObjMark_GetParamBlobValue=p("FPDFPageObjMark_GetParamBlobValue",5),MI=n._FPDFPageObj_HasTransparency=p("FPDFPageObj_HasTransparency",1),UI=n._FPDFPageObjMark_SetIntParam=p("FPDFPageObjMark_SetIntParam",5),BI=n._FPDFPageObjMark_SetFloatParam=p("FPDFPageObjMark_SetFloatParam",5),WI=n._FPDFPageObjMark_SetStringParam=p("FPDFPageObjMark_SetStringParam",5),VI=n._FPDFPageObjMark_SetBlobParam=p("FPDFPageObjMark_SetBlobParam",6),ZI=n._FPDFPageObjMark_RemoveParam=p("FPDFPageObjMark_RemoveParam",3),HI=n._FPDFPageObj_GetType=p("FPDFPageObj_GetType",1),JI=n._FPDFPageObj_GetIsActive=p("FPDFPageObj_GetIsActive",2),KI=n._FPDFPageObj_SetIsActive=p("FPDFPageObj_SetIsActive",2),qI=n._FPDFPage_GenerateContent=p("FPDFPage_GenerateContent",1),XI=n._FPDFPageObj_Transform=p("FPDFPageObj_Transform",7),YI=n._FPDFPageObj_TransformF=p("FPDFPageObj_TransformF",2),QI=n._FPDFPageObj_GetMatrix=p("FPDFPageObj_GetMatrix",2),ek=n._FPDFPageObj_SetMatrix=p("FPDFPageObj_SetMatrix",2),tk=n._FPDFPageObj_SetBlendMode=p("FPDFPageObj_SetBlendMode",2),nk=n._FPDFPage_TransformAnnots=p("FPDFPage_TransformAnnots",7),rk=n._FPDFPage_SetRotation=p("FPDFPage_SetRotation",2),ik=n._FPDFPageObj_SetFillColor=p("FPDFPageObj_SetFillColor",5),ok=n._FPDFPageObj_GetFillColor=p("FPDFPageObj_GetFillColor",5),ak=n._FPDFPageObj_GetBounds=p("FPDFPageObj_GetBounds",5),sk=n._FPDFPageObj_GetRotatedBounds=p("FPDFPageObj_GetRotatedBounds",2),ck=n._FPDFPageObj_SetStrokeColor=p("FPDFPageObj_SetStrokeColor",5),uk=n._FPDFPageObj_GetStrokeColor=p("FPDFPageObj_GetStrokeColor",5),lk=n._FPDFPageObj_SetStrokeWidth=p("FPDFPageObj_SetStrokeWidth",2),dk=n._FPDFPageObj_GetStrokeWidth=p("FPDFPageObj_GetStrokeWidth",2),fk=n._FPDFPageObj_GetLineJoin=p("FPDFPageObj_GetLineJoin",1),mk=n._FPDFPageObj_SetLineJoin=p("FPDFPageObj_SetLineJoin",2),_k=n._FPDFPageObj_GetLineCap=p("FPDFPageObj_GetLineCap",1),pk=n._FPDFPageObj_SetLineCap=p("FPDFPageObj_SetLineCap",2),gk=n._FPDFPageObj_GetDashPhase=p("FPDFPageObj_GetDashPhase",2),Fk=n._FPDFPageObj_SetDashPhase=p("FPDFPageObj_SetDashPhase",2),hk=n._FPDFPageObj_GetDashCount=p("FPDFPageObj_GetDashCount",1),Pk=n._FPDFPageObj_GetDashArray=p("FPDFPageObj_GetDashArray",3),vk=n._FPDFPageObj_SetDashArray=p("FPDFPageObj_SetDashArray",4),Dk=n._FPDFFormObj_CountObjects=p("FPDFFormObj_CountObjects",1),yk=n._FPDFFormObj_GetObject=p("FPDFFormObj_GetObject",2),bk=n._FPDFFormObj_RemoveObject=p("FPDFFormObj_RemoveObject",2),Sk=n._FPDFPageObj_CreateNewPath=p("FPDFPageObj_CreateNewPath",2),$k=n._FPDFPageObj_CreateNewRect=p("FPDFPageObj_CreateNewRect",4),xk=n._FPDFPath_CountSegments=p("FPDFPath_CountSegments",1),Ik=n._FPDFPath_GetPathSegment=p("FPDFPath_GetPathSegment",2),kk=n._FPDFPath_MoveTo=p("FPDFPath_MoveTo",3),Ak=n._FPDFPath_LineTo=p("FPDFPath_LineTo",3),wk=n._FPDFPath_BezierTo=p("FPDFPath_BezierTo",7),Ek=n._FPDFPath_GetBezierControlPoints=p("FPDFPath_GetBezierControlPoints",4),Ok=n._FPDFPath_Close=p("FPDFPath_Close",1),Tk=n._FPDFPath_SetDrawMode=p("FPDFPath_SetDrawMode",3),Gk=n._FPDFPath_GetDrawMode=p("FPDFPath_GetDrawMode",3),Ck=n._FPDFPathSegment_GetPoint=p("FPDFPathSegment_GetPoint",3),Rk=n._FPDFPathSegment_GetType=p("FPDFPathSegment_GetType",1),jk=n._FPDFPathSegment_GetClose=p("FPDFPathSegment_GetClose",1),Nk=n._FPDFPageObj_NewTextObj=p("FPDFPageObj_NewTextObj",3),zk=n._FPDFText_SetText=p("FPDFText_SetText",2),Lk=n._FPDFText_SetCharcodes=p("FPDFText_SetCharcodes",3),Mk=n._FPDFText_SetPositions=p("FPDFText_SetPositions",3),Uk=n._FPDFText_LoadFont=p("FPDFText_LoadFont",5),Bk=n._FPDFText_LoadStandardFont=p("FPDFText_LoadStandardFont",2),Wk=n._FPDFText_LoadCidType2Font=p("FPDFText_LoadCidType2Font",6),Vk=n._FPDFTextObj_GetFontSize=p("FPDFTextObj_GetFontSize",2),Zk=n._FPDFTextObj_SetFontSize=p("FPDFTextObj_SetFontSize",2),Hk=n._FPDFTextObj_GetText=p("FPDFTextObj_GetText",4),Jk=n._FPDFTextObj_GetRenderedBitmap=p("FPDFTextObj_GetRenderedBitmap",4),Kk=n._FPDFFont_Close=p("FPDFFont_Close",1),qk=n._FPDFPageObj_CreateTextObj=p("FPDFPageObj_CreateTextObj",3),Xk=n._FPDFTextObj_GetTextRenderMode=p("FPDFTextObj_GetTextRenderMode",1),Yk=n._FPDFTextObj_SetTextRenderMode=p("FPDFTextObj_SetTextRenderMode",2),Qk=n._FPDFTextObj_GetFont=p("FPDFTextObj_GetFont",1),eA=n._FPDFFont_GetBaseFontName=p("FPDFFont_GetBaseFontName",3),tA=n._FPDFFont_GetFamilyName=p("FPDFFont_GetFamilyName",3),nA=n._FPDFFont_GetFontData=p("FPDFFont_GetFontData",4),rA=n._FPDFFont_GetIsEmbedded=p("FPDFFont_GetIsEmbedded",1),iA=n._FPDFFont_GetFlags=p("FPDFFont_GetFlags",1),oA=n._FPDFFont_GetWeight=p("FPDFFont_GetWeight",1),aA=n._FPDFFont_GetItalicAngle=p("FPDFFont_GetItalicAngle",2),sA=n._FPDFFont_GetAscent=p("FPDFFont_GetAscent",3),cA=n._FPDFFont_GetDescent=p("FPDFFont_GetDescent",3),uA=n._FPDFFont_GetGlyphWidth=p("FPDFFont_GetGlyphWidth",4),lA=n._FPDFFont_GetGlyphPath=p("FPDFFont_GetGlyphPath",3),dA=n._FPDFGlyphPath_CountGlyphSegments=p("FPDFGlyphPath_CountGlyphSegments",1),fA=n._FPDFGlyphPath_GetGlyphPathSegment=p("FPDFGlyphPath_GetGlyphPathSegment",2),mA=n._FSDK_SetUnSpObjProcessHandler=p("FSDK_SetUnSpObjProcessHandler",1),_A=n._FSDK_SetTimeFunction=p("FSDK_SetTimeFunction",1),pA=n._FSDK_SetLocaltimeFunction=p("FSDK_SetLocaltimeFunction",1),gA=n._FPDFDoc_GetPageMode=p("FPDFDoc_GetPageMode",1),FA=n._FPDFPage_Flatten=p("FPDFPage_Flatten",2),hA=n._FPDFPage_HasFormFieldAtPoint=p("FPDFPage_HasFormFieldAtPoint",4),PA=n._FPDFPage_FormFieldZOrderAtPoint=p("FPDFPage_FormFieldZOrderAtPoint",4),vA=n._FPDFDOC_InitFormFillEnvironment=p("FPDFDOC_InitFormFillEnvironment",2),DA=n._FPDFDOC_ExitFormFillEnvironment=p("FPDFDOC_ExitFormFillEnvironment",1),yA=n._FORM_OnMouseMove=p("FORM_OnMouseMove",5),bA=n._FORM_OnMouseWheel=p("FORM_OnMouseWheel",6),SA=n._FORM_OnFocus=p("FORM_OnFocus",5),$A=n._FORM_OnLButtonDown=p("FORM_OnLButtonDown",5),xA=n._FORM_OnLButtonUp=p("FORM_OnLButtonUp",5),IA=n._FORM_OnLButtonDoubleClick=p("FORM_OnLButtonDoubleClick",5),kA=n._FORM_OnRButtonDown=p("FORM_OnRButtonDown",5),AA=n._FORM_OnRButtonUp=p("FORM_OnRButtonUp",5),wA=n._FORM_OnKeyDown=p("FORM_OnKeyDown",4),EA=n._FORM_OnKeyUp=p("FORM_OnKeyUp",4),OA=n._FORM_OnChar=p("FORM_OnChar",4),TA=n._FORM_GetFocusedText=p("FORM_GetFocusedText",4),GA=n._FORM_GetSelectedText=p("FORM_GetSelectedText",4),CA=n._FORM_ReplaceAndKeepSelection=p("FORM_ReplaceAndKeepSelection",3),RA=n._FORM_ReplaceSelection=p("FORM_ReplaceSelection",3),jA=n._FORM_SelectAllText=p("FORM_SelectAllText",2),NA=n._FORM_CanUndo=p("FORM_CanUndo",2),zA=n._FORM_CanRedo=p("FORM_CanRedo",2),LA=n._FORM_Undo=p("FORM_Undo",2),MA=n._FORM_Redo=p("FORM_Redo",2),UA=n._FORM_ForceToKillFocus=p("FORM_ForceToKillFocus",1),BA=n._FORM_GetFocusedAnnot=p("FORM_GetFocusedAnnot",3),WA=n._FORM_SetFocusedAnnot=p("FORM_SetFocusedAnnot",2),VA=n._FPDF_FFLDraw=p("FPDF_FFLDraw",9),ZA=n._FPDF_SetFormFieldHighlightColor=p("FPDF_SetFormFieldHighlightColor",3),HA=n._FPDF_SetFormFieldHighlightAlpha=p("FPDF_SetFormFieldHighlightAlpha",2),JA=n._FPDF_RemoveFormFieldHighlight=p("FPDF_RemoveFormFieldHighlight",1),KA=n._FORM_OnAfterLoadPage=p("FORM_OnAfterLoadPage",2),qA=n._FORM_OnBeforeClosePage=p("FORM_OnBeforeClosePage",2),XA=n._FORM_DoDocumentJSAction=p("FORM_DoDocumentJSAction",1),YA=n._FORM_DoDocumentOpenAction=p("FORM_DoDocumentOpenAction",1),QA=n._FORM_DoDocumentAAction=p("FORM_DoDocumentAAction",2),e0=n._FORM_DoPageAAction=p("FORM_DoPageAAction",3),t0=n._FORM_SetIndexSelected=p("FORM_SetIndexSelected",4),n0=n._FORM_IsIndexSelected=p("FORM_IsIndexSelected",3),r0=n._FORM_GetTextDirection=p("FORM_GetTextDirection",2),i0=n._FORM_SetTextDirection=p("FORM_SetTextDirection",3),o0=n._FPDFDoc_GetJavaScriptActionCount=p("FPDFDoc_GetJavaScriptActionCount",1),a0=n._FPDFDoc_GetJavaScriptAction=p("FPDFDoc_GetJavaScriptAction",2),s0=n._FPDFDoc_CloseJavaScriptAction=p("FPDFDoc_CloseJavaScriptAction",1),c0=n._FPDFJavaScriptAction_GetName=p("FPDFJavaScriptAction_GetName",3),u0=n._FPDFJavaScriptAction_GetScript=p("FPDFJavaScriptAction_GetScript",3),l0=n._FPDF_ImportPagesByIndex=p("FPDF_ImportPagesByIndex",5),d0=n._FPDF_ImportPages=p("FPDF_ImportPages",4),f0=n._FPDF_ImportNPagesToOne=p("FPDF_ImportNPagesToOne",5),m0=n._FPDF_NewXObjectFromPage=p("FPDF_NewXObjectFromPage",3),_0=n._FPDF_CloseXObject=p("FPDF_CloseXObject",1),p0=n._FPDF_NewFormObjectFromXObject=p("FPDF_NewFormObjectFromXObject",1),g0=n._FPDF_CopyViewerPreferences=p("FPDF_CopyViewerPreferences",2),F0=n._FPDF_RenderPageBitmapWithColorScheme_Start=p("FPDF_RenderPageBitmapWithColorScheme_Start",10),h0=n._FPDF_RenderPageBitmap_Start=p("FPDF_RenderPageBitmap_Start",9),P0=n._FPDF_RenderPage_Continue=p("FPDF_RenderPage_Continue",2),v0=n._FPDF_RenderPage_Close=p("FPDF_RenderPage_Close",1),D0=n._FPDF_SaveAsCopy=p("FPDF_SaveAsCopy",3),y0=n._FPDF_SaveWithVersion=p("FPDF_SaveWithVersion",4),b0=n._FPDFText_GetCharIndexFromTextIndex=p("FPDFText_GetCharIndexFromTextIndex",2),S0=n._FPDFText_GetTextIndexFromCharIndex=p("FPDFText_GetTextIndexFromCharIndex",2),$0=n._FPDF_GetSignatureCount=p("FPDF_GetSignatureCount",1),x0=n._FPDF_GetSignatureObject=p("FPDF_GetSignatureObject",2),I0=n._FPDFSignatureObj_GetContents=p("FPDFSignatureObj_GetContents",3),k0=n._FPDFSignatureObj_GetByteRange=p("FPDFSignatureObj_GetByteRange",3),A0=n._FPDFSignatureObj_GetSubFilter=p("FPDFSignatureObj_GetSubFilter",3),w0=n._FPDFSignatureObj_GetReason=p("FPDFSignatureObj_GetReason",3),E0=n._FPDFSignatureObj_GetTime=p("FPDFSignatureObj_GetTime",3),O0=n._FPDFSignatureObj_GetDocMDPPermission=p("FPDFSignatureObj_GetDocMDPPermission",1),T0=n._FPDF_StructTree_GetForPage=p("FPDF_StructTree_GetForPage",1),G0=n._FPDF_StructTree_Close=p("FPDF_StructTree_Close",1),C0=n._FPDF_StructTree_CountChildren=p("FPDF_StructTree_CountChildren",1),R0=n._FPDF_StructTree_GetChildAtIndex=p("FPDF_StructTree_GetChildAtIndex",2),j0=n._FPDF_StructElement_GetAltText=p("FPDF_StructElement_GetAltText",3),N0=n._FPDF_StructElement_GetActualText=p("FPDF_StructElement_GetActualText",3),z0=n._FPDF_StructElement_GetExpansion=p("FPDF_StructElement_GetExpansion",3),L0=n._FPDF_StructElement_GetID=p("FPDF_StructElement_GetID",3),M0=n._FPDF_StructElement_GetLang=p("FPDF_StructElement_GetLang",3),U0=n._FPDF_StructElement_GetAttributeCount=p("FPDF_StructElement_GetAttributeCount",1),B0=n._FPDF_StructElement_GetAttributeAtIndex=p("FPDF_StructElement_GetAttributeAtIndex",2),W0=n._FPDF_StructElement_GetStringAttribute=p("FPDF_StructElement_GetStringAttribute",4),V0=n._FPDF_StructElement_GetMarkedContentID=p("FPDF_StructElement_GetMarkedContentID",1),Z0=n._FPDF_StructElement_GetType=p("FPDF_StructElement_GetType",3),H0=n._FPDF_StructElement_GetObjType=p("FPDF_StructElement_GetObjType",3),J0=n._FPDF_StructElement_GetTitle=p("FPDF_StructElement_GetTitle",3),K0=n._FPDF_StructElement_CountChildren=p("FPDF_StructElement_CountChildren",1),q0=n._FPDF_StructElement_GetChildAtIndex=p("FPDF_StructElement_GetChildAtIndex",2),X0=n._FPDF_StructElement_GetChildMarkedContentID=p("FPDF_StructElement_GetChildMarkedContentID",2),Y0=n._FPDF_StructElement_GetParent=p("FPDF_StructElement_GetParent",1),Q0=n._FPDF_StructElement_Attr_GetCount=p("FPDF_StructElement_Attr_GetCount",1),ew=n._FPDF_StructElement_Attr_GetName=p("FPDF_StructElement_Attr_GetName",5),tw=n._FPDF_StructElement_Attr_GetValue=p("FPDF_StructElement_Attr_GetValue",2),nw=n._FPDF_StructElement_Attr_GetType=p("FPDF_StructElement_Attr_GetType",1),rw=n._FPDF_StructElement_Attr_GetBooleanValue=p("FPDF_StructElement_Attr_GetBooleanValue",2),iw=n._FPDF_StructElement_Attr_GetNumberValue=p("FPDF_StructElement_Attr_GetNumberValue",2),ow=n._FPDF_StructElement_Attr_GetStringValue=p("FPDF_StructElement_Attr_GetStringValue",4),aw=n._FPDF_StructElement_Attr_GetBlobValue=p("FPDF_StructElement_Attr_GetBlobValue",4),sw=n._FPDF_StructElement_Attr_CountChildren=p("FPDF_StructElement_Attr_CountChildren",1),cw=n._FPDF_StructElement_Attr_GetChildAtIndex=p("FPDF_StructElement_Attr_GetChildAtIndex",2),uw=n._FPDF_StructElement_GetMarkedContentIdCount=p("FPDF_StructElement_GetMarkedContentIdCount",1),lw=n._FPDF_StructElement_GetMarkedContentIdAtIndex=p("FPDF_StructElement_GetMarkedContentIdAtIndex",2),dw=n._FPDF_AddInstalledFont=p("FPDF_AddInstalledFont",3),fw=n._FPDF_SetSystemFontInfo=p("FPDF_SetSystemFontInfo",1),mw=n._FPDF_GetDefaultTTFMap=p("FPDF_GetDefaultTTFMap",0),_w=n._FPDF_GetDefaultTTFMapCount=p("FPDF_GetDefaultTTFMapCount",0),pw=n._FPDF_GetDefaultTTFMapEntry=p("FPDF_GetDefaultTTFMapEntry",1),gw=n._FPDF_GetDefaultSystemFontInfo=p("FPDF_GetDefaultSystemFontInfo",0),Fw=n._FPDF_FreeDefaultSystemFontInfo=p("FPDF_FreeDefaultSystemFontInfo",1),hw=n._FPDFText_LoadPage=p("FPDFText_LoadPage",1),Pw=n._FPDFText_ClosePage=p("FPDFText_ClosePage",1),vw=n._FPDFText_CountChars=p("FPDFText_CountChars",1),Dw=n._FPDFText_GetUnicode=p("FPDFText_GetUnicode",2),yw=n._FPDFText_GetTextObject=p("FPDFText_GetTextObject",2),bw=n._FPDFText_IsGenerated=p("FPDFText_IsGenerated",2),Sw=n._FPDFText_IsHyphen=p("FPDFText_IsHyphen",2),$w=n._FPDFText_HasUnicodeMapError=p("FPDFText_HasUnicodeMapError",2),xw=n._FPDFText_GetFontSize=p("FPDFText_GetFontSize",2),Iw=n._FPDFText_GetFontInfo=p("FPDFText_GetFontInfo",5),kw=n._FPDFText_GetFontWeight=p("FPDFText_GetFontWeight",2),Aw=n._FPDFText_GetFillColor=p("FPDFText_GetFillColor",6),ww=n._FPDFText_GetStrokeColor=p("FPDFText_GetStrokeColor",6),Ew=n._FPDFText_GetCharAngle=p("FPDFText_GetCharAngle",2),Ow=n._FPDFText_GetCharBox=p("FPDFText_GetCharBox",6),Tw=n._FPDFText_GetLooseCharBox=p("FPDFText_GetLooseCharBox",3),Gw=n._FPDFText_GetMatrix=p("FPDFText_GetMatrix",3),Cw=n._FPDFText_GetCharOrigin=p("FPDFText_GetCharOrigin",4),Rw=n._FPDFText_GetCharIndexAtPos=p("FPDFText_GetCharIndexAtPos",5),jw=n._FPDFText_GetText=p("FPDFText_GetText",4),Nw=n._FPDFText_CountRects=p("FPDFText_CountRects",3),zw=n._FPDFText_GetRect=p("FPDFText_GetRect",6),Lw=n._FPDFText_GetBoundedText=p("FPDFText_GetBoundedText",7),Mw=n._FPDFText_FindStart=p("FPDFText_FindStart",4),Uw=n._FPDFText_FindNext=p("FPDFText_FindNext",1),Bw=n._FPDFText_FindPrev=p("FPDFText_FindPrev",1),Ww=n._FPDFText_GetSchResultIndex=p("FPDFText_GetSchResultIndex",1),Vw=n._FPDFText_GetSchCount=p("FPDFText_GetSchCount",1),Zw=n._FPDFText_FindClose=p("FPDFText_FindClose",1),Hw=n._FPDFLink_LoadWebLinks=p("FPDFLink_LoadWebLinks",1),Jw=n._FPDFLink_CountWebLinks=p("FPDFLink_CountWebLinks",1),Kw=n._FPDFLink_GetURL=p("FPDFLink_GetURL",4),qw=n._FPDFLink_CountRects=p("FPDFLink_CountRects",2),Xw=n._FPDFLink_GetRect=p("FPDFLink_GetRect",7),Yw=n._FPDFLink_GetTextRange=p("FPDFLink_GetTextRange",4),Qw=n._FPDFLink_CloseWebLinks=p("FPDFLink_CloseWebLinks",1),eE=n._FPDFPage_GetDecodedThumbnailData=p("FPDFPage_GetDecodedThumbnailData",3),tE=n._FPDFPage_GetRawThumbnailData=p("FPDFPage_GetRawThumbnailData",3),nE=n._FPDFPage_GetThumbnailAsBitmap=p("FPDFPage_GetThumbnailAsBitmap",1),rE=n._FPDFPage_SetMediaBox=p("FPDFPage_SetMediaBox",5),iE=n._FPDFPage_SetCropBox=p("FPDFPage_SetCropBox",5),oE=n._FPDFPage_SetBleedBox=p("FPDFPage_SetBleedBox",5),aE=n._FPDFPage_SetTrimBox=p("FPDFPage_SetTrimBox",5),sE=n._FPDFPage_SetArtBox=p("FPDFPage_SetArtBox",5),cE=n._FPDFPage_GetMediaBox=p("FPDFPage_GetMediaBox",5),uE=n._FPDFPage_GetCropBox=p("FPDFPage_GetCropBox",5),lE=n._FPDFPage_GetBleedBox=p("FPDFPage_GetBleedBox",5),dE=n._FPDFPage_GetTrimBox=p("FPDFPage_GetTrimBox",5),fE=n._FPDFPage_GetArtBox=p("FPDFPage_GetArtBox",5),mE=n._FPDFPage_TransFormWithClip=p("FPDFPage_TransFormWithClip",3),_E=n._FPDFPageObj_TransformClipPath=p("FPDFPageObj_TransformClipPath",7),pE=n._FPDFPageObj_GetClipPath=p("FPDFPageObj_GetClipPath",1),gE=n._FPDFClipPath_CountPaths=p("FPDFClipPath_CountPaths",1),FE=n._FPDFClipPath_CountPathSegments=p("FPDFClipPath_CountPathSegments",2),hE=n._FPDFClipPath_GetPathSegment=p("FPDFClipPath_GetPathSegment",3),PE=n._FPDF_CreateClipPath=p("FPDF_CreateClipPath",4),vE=n._FPDF_DestroyClipPath=p("FPDF_DestroyClipPath",1),DE=n._FPDFPage_InsertClipPath=p("FPDFPage_InsertClipPath",2),yE=n._FPDF_InitLibrary=p("FPDF_InitLibrary",0),bE=n._malloc=p("malloc",1),SE=n._free=p("free",1),$E=n._FPDF_DestroyLibrary=p("FPDF_DestroyLibrary",0),xE=n._FPDF_SetSandBoxPolicy=p("FPDF_SetSandBoxPolicy",2),IE=n._FPDF_LoadDocument=p("FPDF_LoadDocument",2),kE=n._FPDF_GetFormType=p("FPDF_GetFormType",1),AE=n._FPDF_LoadXFA=p("FPDF_LoadXFA",1),wE=n._FPDF_LoadMemDocument=p("FPDF_LoadMemDocument",3),EE=n._FPDF_LoadMemDocument64=p("FPDF_LoadMemDocument64",3),OE=n._FPDF_LoadCustomDocument=p("FPDF_LoadCustomDocument",2),TE=n._FPDF_GetFileVersion=p("FPDF_GetFileVersion",2),GE=n._FPDF_DocumentHasValidCrossReferenceTable=p("FPDF_DocumentHasValidCrossReferenceTable",1),CE=n._FPDF_GetDocPermissions=p("FPDF_GetDocPermissions",1),RE=n._FPDF_GetDocUserPermissions=p("FPDF_GetDocUserPermissions",1),jE=n._FPDF_GetSecurityHandlerRevision=p("FPDF_GetSecurityHandlerRevision",1),NE=n._FPDF_GetPageCount=p("FPDF_GetPageCount",1),zE=n._FPDF_LoadPage=p("FPDF_LoadPage",2),LE=n._FPDF_GetPageWidthF=p("FPDF_GetPageWidthF",1),ME=n._FPDF_GetPageWidth=p("FPDF_GetPageWidth",1),UE=n._FPDF_GetPageHeightF=p("FPDF_GetPageHeightF",1),BE=n._FPDF_GetPageHeight=p("FPDF_GetPageHeight",1),WE=n._FPDF_GetPageBoundingBox=p("FPDF_GetPageBoundingBox",2),VE=n._FPDF_RenderPageBitmap=p("FPDF_RenderPageBitmap",8),ZE=n._FPDF_RenderPageBitmapWithMatrix=p("FPDF_RenderPageBitmapWithMatrix",5),HE=n._FPDF_ClosePage=p("FPDF_ClosePage",1),JE=n._FPDF_CloseDocument=p("FPDF_CloseDocument",1),KE=n._FPDF_GetLastError=p("FPDF_GetLastError",0),qE=n._FPDF_DeviceToPage=p("FPDF_DeviceToPage",10),XE=n._FPDF_PageToDevice=p("FPDF_PageToDevice",10),YE=n._FPDFBitmap_Create=p("FPDFBitmap_Create",3),QE=n._FPDFBitmap_CreateEx=p("FPDFBitmap_CreateEx",5),eO=n._FPDFBitmap_GetFormat=p("FPDFBitmap_GetFormat",1),tO=n._FPDFBitmap_FillRect=p("FPDFBitmap_FillRect",6),nO=n._FPDFBitmap_GetBuffer=p("FPDFBitmap_GetBuffer",1),rO=n._FPDFBitmap_GetWidth=p("FPDFBitmap_GetWidth",1),iO=n._FPDFBitmap_GetHeight=p("FPDFBitmap_GetHeight",1),oO=n._FPDFBitmap_GetStride=p("FPDFBitmap_GetStride",1),aO=n._FPDFBitmap_Destroy=p("FPDFBitmap_Destroy",1),sO=n._FPDF_GetPageSizeByIndexF=p("FPDF_GetPageSizeByIndexF",3),cO=n._FPDF_GetPageSizeByIndex=p("FPDF_GetPageSizeByIndex",4),uO=n._FPDF_VIEWERREF_GetPrintScaling=p("FPDF_VIEWERREF_GetPrintScaling",1),lO=n._FPDF_VIEWERREF_GetNumCopies=p("FPDF_VIEWERREF_GetNumCopies",1),dO=n._FPDF_VIEWERREF_GetPrintPageRange=p("FPDF_VIEWERREF_GetPrintPageRange",1),fO=n._FPDF_VIEWERREF_GetPrintPageRangeCount=p("FPDF_VIEWERREF_GetPrintPageRangeCount",1),mO=n._FPDF_VIEWERREF_GetPrintPageRangeElement=p("FPDF_VIEWERREF_GetPrintPageRangeElement",2),_O=n._FPDF_VIEWERREF_GetDuplex=p("FPDF_VIEWERREF_GetDuplex",1),pO=n._FPDF_VIEWERREF_GetName=p("FPDF_VIEWERREF_GetName",4),gO=n._FPDF_CountNamedDests=p("FPDF_CountNamedDests",1),FO=n._FPDF_GetNamedDestByName=p("FPDF_GetNamedDestByName",2),hO=n._FPDF_GetNamedDest=p("FPDF_GetNamedDest",4),PO=n._FPDF_GetXFAPacketCount=p("FPDF_GetXFAPacketCount",1),vO=n._FPDF_GetXFAPacketName=p("FPDF_GetXFAPacketName",4),DO=n._FPDF_GetXFAPacketContent=p("FPDF_GetXFAPacketContent",5),yO=n._FPDF_GetTrailerEnds=p("FPDF_GetTrailerEnds",3),Pp=p("fflush",1),Dc=s.emscripten_stack_get_end,bO=s.emscripten_stack_get_base,vp=p("emscripten_builtin_memalign",2),Dp=p("strerror",1),wn=p("setThrew",2),yp=s.emscripten_stack_init,SO=s.emscripten_stack_get_free,bp=s._emscripten_stack_restore,Sp=s._emscripten_stack_alloc,$p=s.emscripten_stack_get_current,$O=wo=s.memory,xO=En=s.__indirect_function_table}var xp={__syscall_fcntl64:Nb,__syscall_fstat64:zb,__syscall_ftruncate64:Ub,__syscall_getdents64:Bb,__syscall_ioctl:Wb,__syscall_lstat64:Vb,__syscall_newfstatat:Zb,__syscall_openat:Hb,__syscall_rmdir:Jb,__syscall_stat64:Kb,__syscall_unlinkat:qb,_abort_js:Xb,_emscripten_throw_longjmp:Yb,_gmtime_js:Qb,_localtime_js:iS,_mmap_js:oS,_munmap_js:aS,_tzset_js:sS,emscripten_date_now:cS,emscripten_errn:uS,emscripten_resize_heap:fS,environ_get:_S,environ_sizes_get:pS,fd_close:gS,fd_read:hS,fd_seek:PS,fd_sync:vS,fd_write:yS,invoke_ii:AO,invoke_iii:wO,invoke_iiii:EO,invoke_iiiii:TO,invoke_viii:kO,invoke_viiii:OO};function kO(s,u,m,h){var v=xn();try{rn(s)(u,m,h)}catch(S){if($n(v),!(S instanceof We))throw S;wn(1,0)}}function AO(s,u){var m=xn();try{return rn(s)(u)}catch(h){if($n(m),!(h instanceof We))throw h;wn(1,0)}}function wO(s,u,m){var h=xn();try{return rn(s)(u,m)}catch(v){if($n(h),!(v instanceof We))throw v;wn(1,0)}}function EO(s,u,m,h){var v=xn();try{return rn(s)(u,m,h)}catch(S){if($n(v),!(S instanceof We))throw S;wn(1,0)}}function OO(s,u,m,h,v){var S=xn();try{rn(s)(u,m,h,v)}catch(A){if($n(S),!(A instanceof We))throw A;wn(1,0)}}function TO(s,u,m,h,v){var S=xn();try{return rn(s)(u,m,h,v)}catch(A){if($n(S),!(A instanceof We))throw A;wn(1,0)}}var Ip;function GO(){yp(),Se()}function yc(){if(In>0){Fi=yc;return}if(GO(),fb(),In>0){Fi=yc;return}function s(){d(!Ip),Ip=!0,n.calledRun=!0,!Q&&(mb(),q_?.(n),n.onRuntimeInitialized?.(),rr("onRuntimeInitialized"),d(!n._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),_b())}n.setStatus?(n.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>n.setStatus(""),1),s()},1)):s(),_t()}var on;on=await Db(),yc(),mi?t=n:t=new Promise((s,u)=>{q_=s,X_=u});for(let s of Object.keys(n))s in e||Object.defineProperty(e,s,{configurable:!0,get(){Ae(`Access to module property ('${s}') is no longer possible via the module constructor argument; Instead, use the result of the module constructor.`)}});return t}var BP=BR;import Ns from"node:fs";import WP from"node:path";var WR=160*1024*1024;function VP(e){let t=new Map,n=new Map,i=[],r=0,o=1,a,c=e.wasmExports.malloc(36);if(!c)throw new Error("PDF font callback allocation failed.");let l=(D,b,y,$)=>{let E=VR($);if(E.length===0)return 0;try{let j=E.find(Q=>Ns.existsSync(Q));if(!j)throw new Error(`No system fallback font is available for PDF character set ${$}.`);let M=Ns.realpathSync(j),R=t.get(M);if(!R){let Q=Ns.statSync(M).size;if(r+Q>WR)throw new Error("PDF system fonts exceed the 160 MiB font cache budget.");R=Ns.readFileSync(M),t.set(M,R),r+=R.length}let Z=o++;return n.set(Z,R),Z}catch(j){return a??=j instanceof Error?j:new Error(String(j)),0}},g=[[()=>{},"vi"],[()=>{},"vii"],[(D,b,y,$,E,j,M)=>(M&&e.setValue(M,0,"i32"),l(D,b,y,$)),"iiiiiiii"],[()=>0,"iii"],[(D,b,y,$,E)=>{let j=n.get(b);return!j||y!==0&&y>>>0!==1953784678||y>>>0===1953784678&&j.toString("ascii",0,4)!=="ttcf"?0:($&&E>=j.length&&e.HEAPU8.set(j,$),j.length)},"iiiiii"],[()=>0,"iiiii"],[()=>0,"iii"],[(D,b)=>{n.delete(b)},"vii"]];e.HEAPU8.fill(0,c,c+36),e.setValue(c,1,"i32");for(let[D,[b,y]]of g.entries()){let $=e.addFunction(b,y);i.push($),e.setValue(c+4+D*4,$,"i32")}return e._FPDF_SetSystemFontInfo(c),{check(){if(a)throw a},dispose(){for(let D of i)e.removeFunction(D);e.wasmExports.free(c),t.clear(),n.clear()}}}function VR(e){if(![128,129,130,134,136].includes(e))return[];if(process.platform==="darwin")return e===128?["/System/Library/Fonts/\u30D2\u30E9\u30AE\u30CE\u89D2\u30B4\u30B7\u30C3\u30AF W3.ttc","/System/Library/Fonts/Hiragino Sans GB.ttc"]:e===129||e===130?["/System/Library/Fonts/AppleSDGothicNeo.ttc"]:["/System/Library/Fonts/STHeiti Light.ttc","/System/Library/Fonts/PingFang.ttc"];if(process.platform==="win32"){let n=WP.join(process.env.WINDIR??"C:\\Windows","Fonts");return(e===128?["msgothic.ttc","meiryo.ttc"]:e===129||e===130?["malgun.ttf","gulim.ttc"]:e===136?["msjh.ttc","mingliu.ttc"]:["msyh.ttc","simsun.ttc"]).map(r=>WP.join(n,r))}return["/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc","/usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc",`/usr/share/fonts/opentype/noto/NotoSansCJK${e===128?"jp":e===129||e===130?"kr":e===136?"tc":"sc"}-Regular.otf`,"/usr/share/fonts/truetype/wqy/wqy-zenhei.ttc"]}import{AsyncLocalStorage as t4}from"node:async_hooks";import{createRequire as n4}from"node:module";import{join as r4}from"node:path";Pn();import{createHash as KR}from"node:crypto";import{chmodSync as qR,existsSync as r_,mkdirSync as JP,readFileSync as YP,renameSync as XR,rmSync as Ls,statSync as YR,writeFileSync as KP}from"node:fs";import{createRequire as i_}from"node:module";import{tmpdir as QR,userInfo as ej}from"node:os";import Ce from"node:path";var qn={};function ZR(){return process.versions.bun!==void 0}function HR(e){return e?.startsWith("/$bunfs/")??!1}function Qr(){return ZR()&&(typeof Bun<"u"&&Array.isArray(Bun.embeddedFiles)&&Bun.embeddedFiles.length>0||HR(process.argv[1]))}function JR(){return process.env.IS_BINARY==="true"&&!Qr()}function ZP(){return Qr()||JR()}var HP="failed to extract native modules";var tj=`${CP}DEBUG_NATIVES`,n_=".ready";function qP(e){return(e||"unknown").toString().replace(/[^a-zA-Z0-9.-]/g,"_")}function QP(){let e=KR("sha256"),t=Object.keys(qn).sort();for(let n of t){let i=qn[n];e.update(`${n}\0${i.path}\0${i.mode}
69
+ `)}return e.digest("hex").slice(0,16)}function nj(e,t){try{let n=YR(e);return!(!n.isDirectory()||t!=="unknown"&&n.uid!==t||process.platform!=="win32"&&(n.mode&511)!==448)}catch{return!1}}function XP(e,t){let n=Ce.dirname(e),i=Ce.join(n,`.setup-${Ce.basename(e)}-${process.pid}-${Date.now()}`);JP(i,{recursive:!0,mode:448});try{for(let[r,o]of Object.entries(qn)){let a=Ce.join(i,r);JP(Ce.dirname(a),{recursive:!0,mode:448});let c=YP(o.path);KP(a,c,{mode:o.mode}),process.platform!=="win32"&&qR(a,o.mode)}KP(Ce.join(i,n_),t,{mode:384});try{XR(i,e)}catch(r){let o=Ce.join(e,n_);if(r_(o)&&ev(o)===t){Ls(i,{recursive:!0,force:!0});return}throw r}}catch(r){try{Ls(i,{recursive:!0,force:!0})}catch{}throw r}}function ev(e){try{return YP(e,"utf8")}catch{return null}}var zs=null;function tv(e,t,n){if(!nj(e,t)||ev(Ce.join(e,n_))!==n)return!1;for(let i of Object.keys(qn))if(!r_(Ce.join(e,i)))return!1;return!0}function rj(e,t){let n=i_(import.meta.url)("node:fs"),i=e.split("/"),r,o;if(e.startsWith("@")){if(i.length<2)return null;r=`${i[0]}/${i[1]}`,o=i.slice(2).join("/")||void 0}else r=i[0],o=i.slice(1).join("/")||void 0;let a=Ce.join(t,r);if(!n.existsSync(a))return null;let c={};try{c=JSON.parse(n.readFileSync(Ce.join(a,"package.json"),"utf8"))}catch{}if(!o){let f=c.main||"index.js",g=Ce.join(a,f);return n.existsSync(g)?g:null}if(c.exports&&typeof c.exports=="object"){let f=`./${o}`,g=c.exports[f];if(typeof g=="string"){let D=Ce.join(a,g);if(n.existsSync(D))return D}}let l=Ce.join(a,o);if(n.existsSync(l)&&n.statSync(l).isFile())return l;for(let f of[".js",".json",".node"]){let g=l+f;if(n.existsSync(g))return g}return null}function nv(e){let t=!!process.env[tj],n=o=>{t&&process.stderr.write(`[natives-debug] ${o}
70
+ `)};process.env.NODE_PATH=process.env.NODE_PATH?`${e}${Ce.delimiter}${process.env.NODE_PATH}`:e;let i=null;try{i=i_(import.meta.url)("node:module")}catch(o){n(`node:module load failed: ${o?.message}`);return}typeof i._initPaths=="function"&&i._initPaths();let r=i._resolveFilename;if(typeof r!="function"){n("no _resolveFilename to patch");return}i._resolveFilename=function(a,c,l,f){if(typeof a=="string"&&(a.startsWith("@crosscopy/")||a.startsWith("@img/")||a.startsWith("@lydell/")||a.startsWith("@silvia-odwyer/"))){let g=rj(a,e);if(g)return n(`resolved ${a} -> ${g}`),g;n(`could not resolve ${a} in extracted tree`)}return r.call(this,a,c,l,f)}}function rv(){if(!Qr()||Object.keys(qn).length===0)return null;let e="1.1.100",t=typeof process.getuid=="function"?process.getuid():"unknown",n=ej().username||process.env.USER||String(t);return Ce.join(QR(),`${Qm}-natives-v${qP(e)}-${qP(n)}`)}function ij(e){try{Atomics.wait(new Int32Array(new SharedArrayBuffer(4)),0,0,e)}catch{let t=Date.now()+e;for(;Date.now()<t;);}}function oj(e,t,n){if(tv(e,t,n))return!0;if(!r_(e))return!1;try{Ls(e,{recursive:!0,force:!0})}catch{}return!1}function iv(e,t,n){for(let a=1;a<=3;a++){if(a>1&&ij(100*(a-1)),oj(e,t,n))return e;try{return XP(e,n),e}catch{}}let o=`${e}-p${process.pid}-${Date.now()}`;try{return XP(o,n),process.once("exit",()=>{try{Ls(o,{recursive:!0,force:!0})}catch{}}),o}catch(a){let c=a instanceof Error?a.message:String(a);return process.stderr.write(`[${Qm}] Warning: ${HP}: ${c}
71
+ `),null}}function aj(){let e=rv();if(!e)return;let t=typeof process.getuid=="function"?process.getuid():"unknown",n=QP(),i=iv(e,t,n);i&&(zs=i,nv(Ce.join(i,"node_modules")))}function o_(){let e=rv();if(!e)return null;let t=typeof process.getuid=="function"?process.getuid():"unknown",n=QP(),i=zs??e;if(tv(i,t,n))return i;let r=iv(e,t,n);return r?(r!==zs&&(nv(Ce.join(r,"node_modules")),zs=r),r):null}function sj(){if(!ZP())return;let e=i_(import.meta.url)("node:tty"),t=n=>e.isatty(n)?!0:void 0;process.stdin&&process.stdin.isTTY===void 0&&(process.stdin.isTTY=t(0)),process.stdout&&process.stdout.isTTY===void 0&&(process.stdout.isTTY=t(1)),process.stderr&&process.stderr.isTTY===void 0&&(process.stderr.isTTY=t(2))}function cj(){if(!Qr()||process.argv.length<2)return;let e=i=>!!i&&(i.startsWith("/$bunfs/")||i.startsWith("\\$bunfs\\")||/^[A-Za-z]:[/\\]~BUN[/\\]/.test(i)),t=-1;for(let i=1;i<process.argv.length;i++)e(process.argv[i])&&(t=i);if(t<=1)return;let n=[process.argv[0],process.argv[t],...process.argv.slice(t+1)];process.argv.length=0,process.argv.push(...n)}cj();sj();Qr()&&Object.keys(qn).length>0&&aj();Pn();Iv();var Oj=Uint32Array.from({length:256},(e,t)=>{let n=t;for(let i=0;i<8;i++)n=n>>>1^((n&1)===1?3988292384:0);return n>>>0});function Tj(e,t,n){let i=4294967295;for(let r=t;r<n;r++)i=i>>>8^Oj[(i^e[r])&255];return(i^4294967295)>>>0}function kv(e){let t=8,n=!1,i=!1;for(;t+12<=e.length;){let r=e.readUInt32BE(t),o=e.toString("latin1",t+4,t+8);if(!/^[A-Za-z]{4}$/.test(o))return{error:"invalid chunk type"};let a=t+r+12;if(a>e.length)return{error:`incomplete ${o} chunk`};if(!n&&o!=="IHDR")return{error:"missing initial IHDR chunk"};if(o==="IHDR"){if(n||r!==13)return{error:"invalid IHDR chunk"};n=!0}if(Tj(e,t+4,a-4)!==e.readUInt32BE(a-4))return{error:`CRC mismatch in ${o} chunk`};if(o==="IDAT"&&(i=!0),o==="IEND")return r!==0?{error:"invalid IEND chunk"}:i?{byteLength:a}:{error:"missing IDAT chunk"};t=a}return{error:n?"missing IEND chunk":"missing initial IHDR chunk"}}var Gj=["image/png","image/jpeg","image/gif","image/webp"],fV=new Set(Gj);function Bs(e){let t=e.trim().toLowerCase(),n=t.includes("/")?t:`image/${t}`;return n==="image/jpg"?"image/jpeg":n}var _e=class extends Error{constructor(t){super(t),this.name="ImageResizeError"}},di=class extends _e{constructor(t){super(t),this.name="ImageProcessorUnavailableError"}},eb=new t4;async function nr(e){let t=eb.getStore(),n=performance.now();t&&t.attempts++;try{return await e.toBuffer()}finally{t&&(t.durationMs+=performance.now()-n)}}function tb(e){let t=eb.getStore(),n=performance.now();t&&t.attempts++;try{return e()}finally{t&&(t.durationMs+=performance.now()-n)}}var fi=class extends _e{constructor(t){super(t),this.name="PhotonProcessorUnavailableError"}};function W_(e){if(!(e.length<4)){if(e[0]===137&&e[1]===80&&e[2]===78&&e[3]===71&&e.length>=8&&e[4]===13&&e[5]===10&&e[6]===26&&e[7]===10)return"image/png";if(e[0]===255&&e[1]===216&&e[2]===255)return"image/jpeg";if(e.length>=6&&(e.toString("ascii",0,6)==="GIF87a"||e.toString("ascii",0,6)==="GIF89a"))return"image/gif";if(e[0]===82&&e[1]===73&&e[2]===70&&e[3]===70&&e.length>=12&&e[8]===87&&e[9]===69&&e[10]===66&&e[11]===80)return"image/webp"}}function i4(e){if(e.length<24||e.toString("ascii",12,16)!=="IHDR")return;let t=e.readUInt32BE(16),n=e.readUInt32BE(20);if(!(t===0||n===0))return{originalWidth:t,originalHeight:n,displayWidth:t,displayHeight:n}}function o4(e){if(e.length<10)return;let t=e.readUInt16LE(6),n=e.readUInt16LE(8);if(!(t===0||n===0))return{originalWidth:t,originalHeight:n,displayWidth:t,displayHeight:n}}function a4(e){return e>=192&&e<=195||e>=197&&e<=199||e>=201&&e<=203||e>=205&&e<=207}function s4(e){let t=2;for(;t+3<e.length;){if(e[t]!==255)return;for(;t<e.length&&e[t]===255;)t++;if(t>=e.length)return;let n=e[t++];if(n===217||n===218)return;if(n===1||n>=208&&n<=216)continue;if(t+1>=e.length)return;let i=e.readUInt16BE(t);if(i<2||t+i>e.length)return;if(a4(n)){if(i<7)return;let r=e.readUInt16BE(t+3),o=e.readUInt16BE(t+5);return o===0||r===0?void 0:{originalWidth:o,originalHeight:r,displayWidth:o,displayHeight:r}}t+=i}}function c4(e){if(e.length<30)return;let t=e.toString("ascii",12,16),n,i;if(t==="VP8X")n=1+e.readUIntLE(24,3),i=1+e.readUIntLE(27,3);else if(t==="VP8L"&&e[20]===47){let r=e.readUInt32LE(21);n=1+(r&16383),i=1+(r>>>14&16383)}else if(t==="VP8 "&&e[23]===157&&e[24]===1&&e[25]===42)n=e.readUInt16LE(26)&16383,i=e.readUInt16LE(28)&16383;else return;if(!(n===0||i===0))return{originalWidth:n,originalHeight:i,displayWidth:n,displayHeight:i}}function nb(e,t){switch(t){case"image/png":return i4(e);case"image/jpeg":return s4(e);case"image/gif":return o4(e);case"image/webp":return c4(e);default:return}}function u4(e){let t=8;for(;t+12<=e.length;){let n=e.readUInt32BE(t),i=t+12+n;if(i>e.length)return!1;if(e.toString("ascii",t+4,t+8)==="IEND")return n===0&&i===e.length;t=i}return!1}function l4(e,t){switch(t){case"image/png":return u4(e);case"image/jpeg":return e.length>=2&&e[e.length-2]===255&&e[e.length-1]===217;case"image/gif":return e.length>=1&&e[e.length-1]===59;case"image/webp":return e.length>=12&&e.readUInt32LE(4)+8===e.length;default:return!1}}function d4(e,t,n){if(Math.max(t,e.length)>3932160)throw new _e(`Image processor is unavailable and the original image exceeds the ${3932160}-byte passthrough limit`);let i=W_(e);if(!i)throw new _e("Image processor is unavailable and the original image format could not be verified");let r=Bs(n);if(r!==i)throw new _e(`Image processor is unavailable and the declared media type ${r} does not match ${i}`);if(!l4(e,i))throw new _e("Image processor is unavailable and the original image container appears incomplete");let o=nb(e,i);if(!o?.originalWidth||!o.originalHeight||o.originalWidth<11||o.originalHeight<11||o.originalWidth>2e3||o.originalHeight>2e3)throw new _e(`Image processor is unavailable and the original image dimensions could not be verified within ${11}x${11} to ${2e3}x${2e3}`);return ft.warn("Image processor unavailable; forwarding verified original image without pixel decoding",{mediaType:i,size:e.length,width:o.originalWidth,height:o.originalHeight}),{buffer:e,mediaType:i.slice(6),dimensions:o}}var sc=null,Jy=!1,Ky=`Image processing is unavailable because the sharp image library failed to load. Its native components may have been removed from the system temp directory. Restart ${kP} to restore image support.`;async function qy(){let e=await Promise.resolve().then(()=>MO(Hy(),1));return e.default||e}async function f4(){if(process.platform==="linux"&&process.versions.electron)throw new di("Native image processing is disabled on Linux Electron; using WebAssembly");if(sc)return sc;if(Jy)throw new di(Ky);try{o_()}catch(n){ft.warn("Natives runtime repair failed:",String(n))}let e,t;try{t=await qy()}catch(n){e=n;try{t=await qy()}catch{}}if(typeof t!="function"){let n=e instanceof Error?e.message:e!==void 0?String(e):"sharp did not export a callable factory; the module cache may hold a previously failed load";throw ft.error("sharp is unavailable for image processing:",n),Jy=!0,new di(`${Ky} (${n})`)}return sc=t,sc}var Xy="@silvia-odwyer/photon-node",cc=null,Yy=!1;function m4(e){if(!e||typeof e!="object")return!1;let t=e;return typeof t.PhotonImage?.new_from_byteslice=="function"&&typeof t.resize=="function"&&typeof t.SamplingFilter?.Lanczos3=="number"}function V_(){if(cc)return cc;if(Yy)throw new fi("The portable WebAssembly image processor is unavailable");let e=null;try{e=o_()}catch(n){ft.warn("Natives runtime repair before Photon load failed:",String(n))}let t=e?r4(e,"node_modules",...Xy.split("/"),"photon_rs.js"):Xy;try{let n=n4(import.meta.url)(t),i=n&&typeof n=="object"&&"default"in n?n.default??n:n;if(!m4(i))throw new Error("module did not expose the expected image API");return cc=i,ft.debug("Loaded portable WebAssembly image processor"),cc}catch(n){Yy=!0;let i=n instanceof Error?n.message:String(n);throw ft.error("Portable WebAssembly image processor is unavailable:",i),new fi(`The portable WebAssembly image processor failed to load (${i})`)}}async function _4(e,t){let n=t.dimensions?.displayWidth,i=t.dimensions?.displayHeight;if(n!==void 0&&i!==void 0&&n>=11&&i>=11)return t;let r=await e(t.buffer).metadata(),o=r.width,a=r.height;if(!o||!a)throw new _e("Invalid or unsupported image data: missing output image dimensions");let c=Math.max(0,11-o),l=Math.max(0,11-a);if(c===0&&l===0)return t;let f=Math.floor(c/2),g=Math.floor(l/2),D=await nr(e(t.buffer).extend({left:f,right:c-f,top:g,bottom:l-g,extendWith:"copy"})),b=await e(D).metadata(),y=b.width,$=b.height;if(!y||!$||y<11||$<11)throw new _e(`Image dimensions must be at least ${11}x${11} pixels after preprocessing`);return ft.debug(`Image padding: ${o}x${a} \u2192 ${y}x${$}`),{...t,buffer:D,dimensions:{...t.dimensions,originalWidth:t.dimensions?.originalWidth??o,originalHeight:t.dimensions?.originalHeight??a,displayWidth:y,displayHeight:$}}}var p4=1e8;function rb(e){return Buffer.from(e)}function uc(e){if(e)try{e.free()}catch{}}function g4(e){let t=V_();try{return{photon:t,image:t.PhotonImage.new_from_byteslice(e)}}catch(n){throw new _e(`Invalid or unsupported image data: ${n instanceof Error?n.message:String(n)}`)}}function F4(e){return tb(()=>rb(e.get_bytes()))}function U_(e,t){return tb(()=>rb(e.get_bytes_jpeg(t)))}async function ib(e,t,n){let i=V_(),r=new i.PhotonImage(e,t,n),o;try{o=U_(r,80)}finally{uc(r)}return(await P4(o,o.length,"jpeg")).buffer}function Qy(e,t,n,i){return e.resize(t,Math.max(1,Math.round(n)),Math.max(1,Math.round(i)),e.SamplingFilter.Lanczos3)}function M_(e,t,n,i,r,o){return{buffer:e,mediaType:t,dimensions:{originalWidth:n,originalHeight:i,displayWidth:r,displayHeight:o}}}async function h4(e,t,n,i=3932160){let r=W_(e);if(r==="image/gif")throw new fi("The portable image processor does not normalize animated GIF images");if(V_(),!r)throw new _e("Invalid or unsupported image data: image format could not be verified");let o=Bs(n);if(o!==r)throw new _e(`Declared media type ${o} does not match ${r}`);let a=nb(e,r),c=a?.originalWidth,l=a?.originalHeight;if(!c||!l)throw new _e("Invalid or unsupported image data: missing image dimensions");if(c*l>p4)throw new _e(`Image dimensions ${c}x${l} exceed the portable decoder safety limit`);let f=null;try{let g=g4(e),D=g.photon;f=g.image;let b=f.get_width(),y=f.get_height();if(b<=0||y<=0||b!==c||y!==l)throw new _e("Invalid or unsupported image data: decoded dimensions do not match the image header");if(b<11||y<11)throw new _e(`Image dimensions ${b}x${y} must be at least ${11}x${11} pixels, but the portable image processor cannot add padding`);if(Math.max(t,e.length)<=i&&b<=2e3&&y<=2e3)return ft.debug("Portable image processor fully decoded the original image; preserving its bytes"),{buffer:e,mediaType:r.slice(6),dimensions:{originalWidth:b,originalHeight:y,displayWidth:b,displayHeight:y}};let $=b,E=y;if($>2e3&&(E=Math.round(E*2e3/$),$=2e3),E>2e3&&($=Math.round($*2e3/E),E=2e3),$<11||E<11)throw new _e(`Resized image dimensions ${$}x${E} must be at least ${11}x${11} pixels, but the portable image processor cannot add padding`);let j=r==="image/png",M=(X,Se,_t)=>{if(j){let We=F4(X);if(We.length<=i)return M_(We,"png",b,y,Se,_t)}for(let We of[80,60,40,20]){let en=U_(X,We);if(en.length<=i)return M_(en,"jpeg",b,y,Se,_t)}return null};if($===b&&E===y){let X=M(f,$,E);if(X)return X}else{ft.debug(`Portable image resize: ${b}x${y} \u2192 ${$}x${E}`);let X=Qy(D,f,$,E);try{let Se=M(X,$,E);if(Se)return Se}finally{uc(X)}}let R=Math.min(1,1e3/$,1e3/E),Z=Math.max(1,Math.round($*R)),Q=Math.max(1,Math.round(E*R));if(Z<11||Q<11)throw new _e(`Compressed image dimensions ${Z}x${Q} must be at least ${11}x${11} pixels, but the portable image processor cannot add padding`);let d=Qy(D,f,Z,Q);try{return M_(U_(d,20),"jpeg",b,y,Z,Q)}finally{uc(d)}}catch(g){throw g instanceof _e?g:new _e(`Portable image processing failed: ${g instanceof Error?g.message:String(g)}`)}finally{uc(f)}}async function P4(e,t,n){if(e.length===0)throw new _e("Image file is empty (0 bytes)");let i=W_(e);if(!i)throw new _e("Invalid or unsupported image data: supported formats are PNG, JPEG, GIF, and WebP");let r=Bs(n);if(r!==i)throw new _e(`Invalid image data: declared media type ${r} does not match ${i}`);if(i==="image/png"){let o=kv(e);if("error"in o)throw new _e(`Unable to read image: invalid PNG structure (${o.error}). Use a valid image file before retrying.`);o.byteLength<e.length&&(e=e.subarray(0,o.byteLength),t=e.length)}try{let o=await f4(),a=R=>_4(o,R),l=await o(e).metadata(),f=l.format??n,g=f==="jpg"?"jpeg":f;if(!l.width||!l.height)throw new _e("Invalid or unsupported image data: missing image dimensions");let D=l.width,b=l.height,y=D,$=b;if(t<=3932160&&y<=2e3&&$<=2e3)return await o(e).raw().toBuffer(),await a({buffer:e,mediaType:g,dimensions:{originalWidth:D,originalHeight:b,displayWidth:y,displayHeight:$}});let E=y>2e3||$>2e3,j=g==="png";if(!E&&t>3932160){if(j){let R=await nr(o(e).png({compressionLevel:9,palette:!0}));if(R.length<=3932160)return await a({buffer:R,mediaType:"png",dimensions:{originalWidth:D,originalHeight:b,displayWidth:y,displayHeight:$}})}for(let R of[80,60,40,20]){let Z=await nr(o(e).jpeg({quality:R}));if(Z.length<=3932160)return await a({buffer:Z,mediaType:"jpeg",dimensions:{originalWidth:D,originalHeight:b,displayWidth:y,displayHeight:$}})}}y>2e3&&($=Math.round($*2e3/y),y=2e3),$>2e3&&(y=Math.round(y*2e3/$),$=2e3),ft.debug(`Image resize: ${D}x${b} \u2192 ${y}x${$}`);let M=await nr(o(e).resize(y,$,{fit:"inside",withoutEnlargement:!0}));if(M.length>3932160){if(j){let d=await nr(o(e).resize(y,$,{fit:"inside",withoutEnlargement:!0}).png({compressionLevel:9,palette:!0}));if(d.length<=3932160)return await a({buffer:d,mediaType:"png",dimensions:{originalWidth:D,originalHeight:b,displayWidth:y,displayHeight:$}})}for(let d of[80,60,40,20]){let X=await nr(o(e).resize(y,$,{fit:"inside",withoutEnlargement:!0}).jpeg({quality:d}));if(X.length<=3932160)return await a({buffer:X,mediaType:"jpeg",dimensions:{originalWidth:D,originalHeight:b,displayWidth:y,displayHeight:$}})}let R=Math.min(y,1e3),Z=Math.round($*R/Math.max(y,1));ft.debug(`Image still too large, compressing with JPEG at ${R}x${Z}`);let Q=await nr(o(e).resize(R,Z,{fit:"inside",withoutEnlargement:!0}).jpeg({quality:20}));return await a({buffer:Q,mediaType:"jpeg",dimensions:{originalWidth:D,originalHeight:b,displayWidth:R,displayHeight:Z}})}return await a({buffer:M,mediaType:g,dimensions:{originalWidth:D,originalHeight:b,displayWidth:y,displayHeight:$}})}catch(o){if(o instanceof di)try{return await h4(e,t,n)}catch(a){if(a instanceof fi)return d4(e,t,n);throw a instanceof _e?a:new _e(`Portable image processing failed: ${a instanceof Error?a.message:String(a)}`)}throw ft.error("Image resize failed:",String(o)),o instanceof _e?o:new _e(`Invalid or unsupported image data: ${o instanceof Error?o.message:String(o)}`)}}function v4(e,t){return t*.25+(e-t)*1}function Z_(e){let t=0;for(let n=0;n<e.length;n++)e.charCodeAt(n)<=127&&t++;return v4(e.length,t)}var Be=class extends Error{constructor(n,i){super(i);this.reason=n;this.name="PDFReadError"}};function ab(e,t){if(!Number.isSafeInteger(e)||e<1)throw new Be("corrupted","PDF page count could not be determined.");if(!t&&e>10)return null;let n=t?.firstPage??1,i=t?.lastPage===1/0?e:t?.lastPage??e;if(!Number.isSafeInteger(n)||!Number.isSafeInteger(i)||n<1||i<n||i>e)throw new Be("range",`Invalid PDF page range ${n}-${i}; document has ${e} pages.`);if(i-n+1>20)throw new Be("range",`Read at most ${20} PDF pages per request.`);return{firstPage:n,lastPage:i}}var lc=class{body="";maxTokens;metadata;constructor(t,n,i=25e3){this.maxTokens=Math.min(i,25e3),this.metadata={firstPage:t,lastPage:n,lastCompletePage:null,truncated:!1,nextPage:null}}add(t,n,i=!0){let r=`
72
+ --- Page ${t} ---
73
+ ${n}
74
+ `;if(i&&this.fits(this.body+r))return this.body+=r,this.metadata.lastCompletePage=t,!0;if(this.metadata.truncated=!0,this.metadata.lastCompletePage!==null)return this.metadata.nextPage=t,!1;this.metadata.partialPage=t;let o=0,a=n.length;for(;o<a;){let c=Math.ceil((o+a)/2);this.fits(`
75
+ --- Page ${t} (partial) ---
76
+ ${n.slice(0,c)}
77
+ `)?o=c:a=c-1}return o>0&&/[\uD800-\uDBFF]/.test(n[o-1])&&o--,this.body=`
78
+ --- Page ${t} (partial) ---
79
+ ${n.slice(0,o)}
80
+ `,!1}finish(t=this.metadata.lastPage,n=!1){this.metadata.truncated||(this.metadata.nextPage=this.metadata.lastPage<t?this.metadata.lastPage+1:null);let i=(n?`No text was extracted from this PDF. It may contain scanned pages without a text layer.
81
+ `:"")+this.body+y4(this.metadata);if(Z_(i)>this.maxTokens)throw new Be("too_large","PDF text budget is too small to include page and truncation information.");return{content:i,...this.metadata}}fits(t){return Buffer.byteLength(t)<=261120&&Z_(t)<=Math.max(0,this.maxTokens-512)}};function y4(e){let t=`
82
+ [PDF requested pages ${e.firstPage}-${e.lastPage}; last complete page: ${e.lastCompletePage??"none"}.]`;return e.partialPage!==void 0?`${t}
83
+ [Page ${e.partialPage} is only partially included. The pages parameter cannot resume within this page; do not skip to the next page.]`:e.truncated?`${t}
84
+ [Text truncated. Continue with pages: "${e.nextPage}-${e.lastPage}".]`:e.nextPage===null?t:`${t}
85
+ [Next unread page: ${e.nextPage}.]`}async function cb({request:e,wasm:t,outputDir:n,metrics:i={}}){let r=await Kt(i,"initialize",async()=>{let l=await BP({print(){},printErr(){},instantiateWasm(f,g){let D=new WebAssembly.Instance(t,f);return g(D,t),D.exports}});return l._FPDF_InitLibrary(),l}),o=0,a=0,c;try{await Kt(i,"open",async()=>{let y=await sb.readFile(e.filePath);if(o=J_(r,y.length),r.HEAPU8.set(y,o),a=r._FPDF_LoadMemDocument(o,y.length,0),!a){let $=r._FPDF_GetLastError();throw new Be($===4?"password_protected":"corrupted",$===4?"PDF is password-protected. Please provide an unprotected version.":`PDFium could not open the document (error ${$}).`)}});let l=r._FPDF_GetPageCount(a);i.pageCount=l,i.processedPages=0;let f=ab(l,e.range);if(!f)return{type:"reference",pageCount:l};e.mode==="images"&&(c=VP(r));let g=new lc(f.firstPage,f.lastPage,e.maxTokens),D=!1;for(let y=f.firstPage;y<=f.lastPage;y++){i.stage=e.mode==="images"?"render":"extract";let $=r._FPDF_LoadPage(a,y-1);if(!$)throw new Be("corrupted",`PDFium could not load page ${y}.`);try{if(e.mode==="images"){let E=await S4(r,$,c,i);await Kt(i,"write",()=>sb.writeFile(b4.join(n,`page-${String(y).padStart(8,"0")}.jpg`),E)),i.processedPages++}else{let{text:E,complete:j}=await Kt(i,"extract",()=>$4(r,$));if(i.processedPages++,D||=E.trim().length>0,!g.add(y,E,j))break}}finally{r._FPDF_ClosePage($)}}if(e.mode==="images")return{type:"images",pageCount:l,...f,outputDir:n};let b=g.finish(l,!D);return{type:"text",pageCount:l,...b}}finally{a&&r._FPDF_CloseDocument(a),o&&r.wasmExports.free(o),r._FPDF_DestroyLibrary(),c?.dispose()}}function J_(e,t){let n=e.wasmExports.malloc(t);if(!n)throw new Error("PDFium memory allocation failed.");return n}async function S4(e,t,n,i){let r=Math.ceil(e._FPDF_GetPageWidthF(t)*100/72),o=Math.ceil(e._FPDF_GetPageHeightF(t)*100/72);if(!Number.isSafeInteger(r*o)||r<1||o<1||r*o>4e7)throw new Be("too_large","PDF page exceeds the 40,000,000 pixel rendering budget.");let a=J_(e,r*o*4),c=0;try{return await Kt(i,"render",()=>{if(c=e._FPDFBitmap_CreateEx(r,o,4,a,r*4),!c)throw new Error("PDFium bitmap allocation failed.");e._FPDFBitmap_FillRect(c,0,0,r,o,4294967295),e._FPDF_RenderPageBitmap(c,t,0,0,r,o,0,17),n.check()}),await Kt(i,"encode",()=>ib(e.HEAPU8.subarray(a,a+r*o*4),r,o))}finally{c&&e._FPDFBitmap_Destroy(c),e.wasmExports.free(a)}}function $4(e,t){let n=e._FPDFText_LoadPage(t);if(!n)throw new Be("corrupted","PDFium could not load the page text.");let i=0;try{let r=e._FPDFText_CountChars(n);if(r<0)throw new Be("corrupted","PDFium could not count the page text.");let o=Math.min(r,262144);i=J_(e,(o*2+1)*2);let a=e._FPDFText_GetText(n,0,o,i);if(a<0)throw new Be("corrupted","PDFium could not extract the page text.");return{text:new TextDecoder("utf-16le").decode(e.HEAPU8.subarray(i,i+Math.max(0,a-1)*2)),complete:o===r}}finally{i&&e.wasmExports.free(i),e._FPDFText_ClosePage(n)}}async function ub(){let e={};try{let t="";process.stdin.setEncoding("utf8");for await(let a of process.stdin)t+=a;let{request:n,outputDir:i}=k4(t),r=await Kt(e,"compile",async()=>WebAssembly.compile(await I4())),o=await cb({request:n,outputDir:i,wasm:r,metrics:e});process.stdout.write(JSON.stringify({result:o,metrics:e}))}catch(t){process.stdout.write(JSON.stringify({metrics:e,error:{reason:t instanceof Be?t.reason:"unknown",message:t instanceof Error?t.message:String(t)}})),process.exitCode=1}}async function I4(){return x4.readFile(UP(import.meta.url,"./pdfium/pdfium.esm.wasm","packages/core/src/utils/pdfium/pdfium.esm.wasm"))}function k4(e){return ht.object({outputDir:ht.string().min(1),request:ht.object({filePath:ht.string().min(1),mode:ht.enum(["images","text"]),maxTokens:ht.number().optional(),range:ht.object({firstPage:ht.number().optional(),lastPage:ht.number().nullable().optional().transform(t=>t===null?1/0:t)}).optional()})}).parse(JSON.parse(e))}await ub();
86
+ /**
87
+ * @license
88
+ * Copyright 2026 Google LLC
89
+ * Copyright 2026 Qwen Team
90
+ * SPDX-License-Identifier: Apache-2.0
91
+ */
92
+ /**
93
+ * @license
94
+ * Copyright 2026 Google LLC
95
+ * SPDX-License-Identifier: Apache-2.0
96
+ */
97
+ /**
98
+ * @license
99
+ * Copyright 2025 Google LLC
100
+ * Copyright 2026 Qwen Team
101
+ * SPDX-License-Identifier: Apache-2.0
102
+ */
103
+ /**
104
+ * @license
105
+ * Copyright 2026 Qwen Team
106
+ * SPDX-License-Identifier: Apache-2.0
107
+ */
108
+ /*! Bundled license information:
109
+
110
+ sharp/lib/is.js:
111
+ sharp/lib/libvips.js:
112
+ sharp/lib/sharp.js:
113
+ sharp/lib/constructor.js:
114
+ sharp/lib/input.js:
115
+ sharp/lib/resize.js:
116
+ sharp/lib/composite.js:
117
+ sharp/lib/operation.js:
118
+ sharp/lib/colour.js:
119
+ sharp/lib/channel.js:
120
+ sharp/lib/output.js:
121
+ sharp/lib/utility.js:
122
+ sharp/lib/index.js:
123
+ (*!
124
+ Copyright 2013 Lovell Fuller and others.
125
+ SPDX-License-Identifier: Apache-2.0
126
+ *)
127
+ */