@contenthero/mcp 0.4.14 → 0.4.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -64,8 +64,8 @@ function getClient() {
64
64
  }
65
65
 
66
66
  // src/widget/generation.ts
67
- var GENERATION_WIDGET_HTML = '<!doctype html>\n<html lang="en">\n<head>\n<meta charset="utf-8" />\n<meta name="viewport" content="width=device-width,initial-scale=1" />\n<title>ContentHero</title>\n</head>\n<body>\n<script type="module">var KI=Object.create;var Iv=Object.defineProperty;var FI=Object.getOwnPropertyDescriptor;var QI=Object.getOwnPropertyNames;var XI=Object.getPrototypeOf,WI=Object.prototype.hasOwnProperty;var Xn=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}},Rr=(e,t)=>{for(var n in t)Iv(e,n,{get:t[n],enumerable:!0})},eC=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of QI(t))!WI.call(e,r)&&r!==n&&Iv(e,r,{get:()=>t[r],enumerable:!(i=FI(t,r))||i.enumerable});return e};var G=(e,t,n)=>(n=e!=null?KI(XI(e)):{},eC(t||!e||!e.__esModule?Iv(n,"default",{value:e,enumerable:!0}):n,e));var Yw=Xn(je=>{"use strict";function Av(e,t){var n=e.length;e.push(t);e:for(;0<n;){var i=n-1>>>1,r=e[i];if(0<bf(r,t))e[i]=t,e[n]=r,n=i;else break e}}function Wn(e){return e.length===0?null:e[0]}function zf(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var i=0,r=e.length,o=r>>>1;i<o;){var a=2*(i+1)-1,s=e[a],l=a+1,c=e[l];if(0>bf(s,n))l<r&&0>bf(c,s)?(e[i]=c,e[l]=n,i=l):(e[i]=s,e[a]=n,i=a);else if(l<r&&0>bf(c,n))e[i]=c,e[l]=n,i=l;else break e}}return t}function bf(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}je.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Dw=performance,je.unstable_now=function(){return Dw.now()}):(Cv=Date,Lw=Cv.now(),je.unstable_now=function(){return Cv.now()-Lw});var Dw,Cv,Lw,Er=[],ai=[],tC=1,wn=null,xt=3,Pv=!1,lc=!1,cc=!1,Uv=!1,Zw=typeof setTimeout=="function"?setTimeout:null,Vw=typeof clearTimeout=="function"?clearTimeout:null,qw=typeof setImmediate<"u"?setImmediate:null;function _f(e){for(var t=Wn(ai);t!==null;){if(t.callback===null)zf(ai);else if(t.startTime<=e)zf(ai),t.sortIndex=t.expirationTime,Av(Er,t);else break;t=Wn(ai)}}function Mv(e){if(cc=!1,_f(e),!lc)if(Wn(Er)!==null)lc=!0,za||(za=!0,_a());else{var t=Wn(ai);t!==null&&Dv(Mv,t.startTime-e)}}var za=!1,uc=-1,Bw=5,Gw=-1;function Jw(){return Uv?!0:!(je.unstable_now()-Gw<Bw)}function Nv(){if(Uv=!1,za){var e=je.unstable_now();Gw=e;var t=!0;try{e:{lc=!1,cc&&(cc=!1,Vw(uc),uc=-1),Pv=!0;var n=xt;try{t:{for(_f(e),wn=Wn(Er);wn!==null&&!(wn.expirationTime>e&&Jw());){var i=wn.callback;if(typeof i=="function"){wn.callback=null,xt=wn.priorityLevel;var r=i(wn.expirationTime<=e);if(e=je.unstable_now(),typeof r=="function"){wn.callback=r,_f(e),t=!0;break t}wn===Wn(Er)&&zf(Er),_f(e)}else zf(Er);wn=Wn(Er)}if(wn!==null)t=!0;else{var o=Wn(ai);o!==null&&Dv(Mv,o.startTime-e),t=!1}}break e}finally{wn=null,xt=n,Pv=!1}t=void 0}}finally{t?_a():za=!1}}}var _a;typeof qw=="function"?_a=function(){qw(Nv)}:typeof MessageChannel<"u"?(jv=new MessageChannel,Hw=jv.port2,jv.port1.onmessage=Nv,_a=function(){Hw.postMessage(null)}):_a=function(){Zw(Nv,0)};var jv,Hw;function Dv(e,t){uc=Zw(function(){e(je.unstable_now())},t)}je.unstable_IdlePriority=5;je.unstable_ImmediatePriority=1;je.unstable_LowPriority=4;je.unstable_NormalPriority=3;je.unstable_Profiling=null;je.unstable_UserBlockingPriority=2;je.unstable_cancelCallback=function(e){e.callback=null};je.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Bw=0<e?Math.floor(1e3/e):5};je.unstable_getCurrentPriorityLevel=function(){return xt};je.unstable_next=function(e){switch(xt){case 1:case 2:case 3:var t=3;break;default:t=xt}var n=xt;xt=t;try{return e()}finally{xt=n}};je.unstable_requestPaint=function(){Uv=!0};je.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=xt;xt=e;try{return t()}finally{xt=n}};je.unstable_scheduleCallback=function(e,t,n){var i=je.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0<n?i+n:i):n=i,e){case 1:var r=-1;break;case 2:r=250;break;case 5:r=1073741823;break;case 4:r=1e4;break;default:r=5e3}return r=n+r,e={id:tC++,callback:t,priorityLevel:e,startTime:n,expirationTime:r,sortIndex:-1},n>i?(e.sortIndex=n,Av(ai,e),Wn(Er)===null&&e===Wn(ai)&&(cc?(Vw(uc),uc=-1):cc=!0,Dv(Mv,n-i))):(e.sortIndex=r,Av(Er,e),lc||Pv||(lc=!0,za||(za=!0,_a()))),e};je.unstable_shouldYield=Jw;je.unstable_wrapCallback=function(e){var t=xt;return function(){var n=xt;xt=t;try{return e.apply(this,arguments)}finally{xt=n}}}});var Fw=Xn((s7,Kw)=>{"use strict";Kw.exports=Yw()});var cT=Xn(ee=>{"use strict";var Hv=Symbol.for("react.transitional.element"),nC=Symbol.for("react.portal"),rC=Symbol.for("react.fragment"),iC=Symbol.for("react.strict_mode"),oC=Symbol.for("react.profiler"),aC=Symbol.for("react.consumer"),sC=Symbol.for("react.context"),lC=Symbol.for("react.forward_ref"),cC=Symbol.for("react.suspense"),uC=Symbol.for("react.memo"),tT=Symbol.for("react.lazy"),dC=Symbol.for("react.activity"),mC=Symbol.for("react.view_transition"),Qw=Symbol.iterator;function fC(e){return e===null||typeof e!="object"?null:(e=Qw&&e[Qw]||e["@@iterator"],typeof e=="function"?e:null)}var nT={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},rT=Object.assign,iT={};function wa(e,t,n){this.props=e,this.context=t,this.refs=iT,this.updater=n||nT}wa.prototype.isReactComponent={};wa.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};wa.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function oT(){}oT.prototype=wa.prototype;function Zv(e,t,n){this.props=e,this.context=t,this.refs=iT,this.updater=n||nT}var Vv=Zv.prototype=new oT;Vv.constructor=Zv;rT(Vv,wa.prototype);Vv.isPureReactComponent=!0;var Xw=Array.isArray;function qv(){}var Ee={H:null,A:null,T:null,S:null},aT=Object.prototype.hasOwnProperty;function Bv(e,t,n){var i=n.ref;return{$$typeof:Hv,type:e,key:t,ref:i!==void 0?i:null,props:n}}function pC(e,t){return Bv(e.type,t,e.props)}function Gv(e){return typeof e=="object"&&e!==null&&e.$$typeof===Hv}function hC(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Ww=/\\/+/g;function Lv(e,t){return typeof e=="object"&&e!==null&&e.key!=null?hC(""+e.key):t.toString(36)}function gC(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(qv,qv):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function xa(e,t,n,i,r){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"bigint":case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Hv:case nC:a=!0;break;case tT:return a=e._init,xa(a(e._payload),t,n,i,r)}}if(a)return r=r(e),a=i===""?"."+Lv(e,0):i,Xw(r)?(n="",a!=null&&(n=a.replace(Ww,"$&/")+"/"),xa(r,t,n,"",function(c){return c})):r!=null&&(Gv(r)&&(r=pC(r,n+(r.key==null||e&&e.key===r.key?"":(""+r.key).replace(Ww,"$&/")+"/")+a)),t.push(r)),1;a=0;var s=i===""?".":i+":";if(Xw(e))for(var l=0;l<e.length;l++)i=e[l],o=s+Lv(i,l),a+=xa(i,t,n,o,r);else if(l=fC(e),typeof l=="function")for(e=l.call(e),l=0;!(i=e.next()).done;)i=i.value,o=s+Lv(i,l++),a+=xa(i,t,n,o,r);else if(o==="object"){if(typeof e.then=="function")return xa(gC(e),t,n,i,r);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return a}function xf(e,t,n){if(e==null)return e;var i=[],r=0;return xa(e,i,"","",function(o){return t.call(n,o,r++)}),i}function vC(e){if(e._status===-1){var t=e._result,n=t();n.then(function(i){(e._status===0||e._status===-1)&&(e._status=1,e._result=i,n.status===void 0&&(n.status="fulfilled",n.value=i))},function(i){(e._status===0||e._status===-1)&&(e._status=2,e._result=i,n.status===void 0&&(n.status="rejected",n.reason=i))}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var eT=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function sT(e){var t=Ee.T,n={};n.types=t!==null?t.types:null,Ee.T=n;try{var i=e(),r=Ee.S;r!==null&&r(n,i),typeof i=="object"&&i!==null&&typeof i.then=="function"&&i.then(qv,eT)}catch(o){eT(o)}finally{t!==null&&n.types!==null&&(t.types=n.types),Ee.T=t}}function lT(e){var t=Ee.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else sT(lT.bind(null,e))}var yC={map:xf,forEach:function(e,t,n){xf(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return xf(e,function(){t++}),t},toArray:function(e){return xf(e,function(t){return t})||[]},only:function(e){if(!Gv(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ee.Activity=dC;ee.Children=yC;ee.Component=wa;ee.Fragment=rC;ee.Profiler=oC;ee.PureComponent=Zv;ee.StrictMode=iC;ee.Suspense=cC;ee.ViewTransition=mC;ee.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ee;ee.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Ee.H.useMemoCache(e)}};ee.addTransitionType=lT;ee.cache=function(e){return function(){return e.apply(null,arguments)}};ee.cacheSignal=function(){return null};ee.cloneElement=function(e,t,n){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var i=rT({},e.props),r=e.key;if(t!=null)for(o in t.key!==void 0&&(r=""+t.key),t)!aT.call(t,o)||o==="key"||o==="__self"||o==="__source"||o==="ref"&&t.ref===void 0||(i[o]=t[o]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var a=Array(o),s=0;s<o;s++)a[s]=arguments[s+2];i.children=a}return Bv(e.type,r,i)};ee.createContext=function(e){return e={$$typeof:sC,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:aC,_context:e},e};ee.createElement=function(e,t,n){var i,r={},o=null;if(t!=null)for(i in t.key!==void 0&&(o=""+t.key),t)aT.call(t,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(r[i]=t[i]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var s=Array(a),l=0;l<a;l++)s[l]=arguments[l+2];r.children=s}if(e&&e.defaultProps)for(i in a=e.defaultProps,a)r[i]===void 0&&(r[i]=a[i]);return Bv(e,o,r)};ee.createRef=function(){return{current:null}};ee.forwardRef=function(e){return{$$typeof:lC,render:e}};ee.isValidElement=Gv;ee.lazy=function(e){return{$$typeof:tT,_payload:{_status:-1,_result:e},_init:vC}};ee.memo=function(e,t){return{$$typeof:uC,type:e,compare:t===void 0?null:t}};ee.startTransition=sT;ee.unstable_useCacheRefresh=function(){return Ee.H.useCacheRefresh()};ee.use=function(e){return Ee.H.use(e)};ee.useActionState=function(e,t,n){return Ee.H.useActionState(e,t,n)};ee.useCallback=function(e,t){return Ee.H.useCallback(e,t)};ee.useContext=function(e){return Ee.H.useContext(e)};ee.useDebugValue=function(){};ee.useDeferredValue=function(e,t){return Ee.H.useDeferredValue(e,t)};ee.useEffect=function(e,t){return Ee.H.useEffect(e,t)};ee.useEffectEvent=function(e){return Ee.H.useEffectEvent(e)};ee.useId=function(){return Ee.H.useId()};ee.useImperativeHandle=function(e,t,n){return Ee.H.useImperativeHandle(e,t,n)};ee.useInsertionEffect=function(e,t){return Ee.H.useInsertionEffect(e,t)};ee.useLayoutEffect=function(e,t){return Ee.H.useLayoutEffect(e,t)};ee.useMemo=function(e,t){return Ee.H.useMemo(e,t)};ee.useOptimistic=function(e,t){return Ee.H.useOptimistic(e,t)};ee.useReducer=function(e,t,n){return Ee.H.useReducer(e,t,n)};ee.useRef=function(e){return Ee.H.useRef(e)};ee.useState=function(e){return Ee.H.useState(e)};ee.useSyncExternalStore=function(e,t,n){return Ee.H.useSyncExternalStore(e,t,n)};ee.useTransition=function(){return Ee.H.useTransition()};ee.version="19.3.0"});var Ae=Xn((c7,uT)=>{"use strict";uT.exports=cT()});var fT=Xn(wt=>{"use strict";var SC=Ae();function mT(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function si(){}var Ot={d:{f:si,r:function(){throw Error(mT(522))},D:si,C:si,L:si,m:si,X:si,S:si,M:si},p:0,findDOMNode:null},bC=Symbol.for("react.portal"),_C=Symbol.for("react.recoverable"),dT=Symbol.for("react.optimistic_key");function zC(e,t,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:bC,key:i==null?null:i===dT?dT:""+i,children:e,containerInfo:t,implementation:n}}var dc=SC.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function wf(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}wt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ot;wt.browser=function(e){return{$$typeof:_C,_reason:e}};wt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(mT(299));return zC(e,t,null,n)};wt.flushSync=function(e){var t=dc.T,n=Ot.p;try{if(dc.T=null,Ot.p=2,e)return e()}finally{dc.T=t,Ot.p=n,Ot.d.f()}};wt.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Ot.d.C(e,t))};wt.prefetchDNS=function(e){typeof e=="string"&&Ot.d.D(e)};wt.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var n=t.as,i=wf(n,t.crossOrigin),r=typeof t.integrity=="string"?t.integrity:void 0,o=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;n==="style"?Ot.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:i,integrity:r,fetchPriority:o}):n==="script"&&Ot.d.X(e,{crossOrigin:i,integrity:r,fetchPriority:o,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};wt.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var n=wf(t.as,t.crossOrigin);Ot.d.M(e,{crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0})}}else t==null&&Ot.d.M(e)};wt.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var n=t.as,i=wf(n,t.crossOrigin);Ot.d.L(e,n,{crossOrigin:i,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};wt.preloadModule=function(e,t){if(typeof e=="string")if(t){var n=wf(t.as,t.crossOrigin);Ot.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0})}else Ot.d.m(e)};wt.requestFormReset=function(e){Ot.d.r(e)};wt.unstable_batchedUpdates=function(e,t){return e(t)};wt.useFormState=function(e,t,n){return dc.H.useFormState(e,t,n)};wt.useFormStatus=function(){return dc.H.useHostTransitionStatus()};wt.version="19.3.0"});var gT=Xn((d7,hT)=>{"use strict";function pT(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pT)}catch(e){console.error(e)}}pT(),hT.exports=fT()});var nE=Xn(oh=>{"use strict";var et=Fw(),t2=Ae(),xC=gT();function R(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n2(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Xc(e){for(var t=e,n=t;n&&!n.alternate;)t=n,(t.flags&4098)!==0&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function r2(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function i2(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function vT(e){if(Xc(e)!==e)throw Error(R(188))}function wC(e){var t=e.alternate;if(!t){if(t=Xc(e),t===null)throw Error(R(188));return t!==e?null:e}for(var n=e,i=t;;){var r=n.return;if(r===null)break;var o=r.alternate;if(o===null){if(i=r.return,i!==null){n=i;continue}break}if(r.child===o.child){for(o=r.child;o;){if(o===n)return vT(r),e;if(o===i)return vT(r),t;o=o.sibling}throw Error(R(188))}if(n.return!==i.return)n=r,i=o;else{for(var a=!1,s=r.child;s;){if(s===n){a=!0,n=r,i=o;break}if(s===i){a=!0,i=r,n=o;break}s=s.sibling}if(!a){for(s=o.child;s;){if(s===n){a=!0,n=o,i=r;break}if(s===i){a=!0,i=o,n=r;break}s=s.sibling}if(!a)throw Error(R(189))}}if(n.alternate!==i)throw Error(R(190))}if(n.tag!==3)throw Error(R(188));return n.stateNode.current===n?e:t}function o2(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=o2(e),t!==null)return t;e=e.sibling}return null}function Jt(e,t,n,i,r,o){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&n(e,i,r,o)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&Jt(e.child,t,n,i,r,o))return!0;e=e.sibling}return!1}function Io(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function yT(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function a2(e){var t=[null,null],n=Io(e);return n===null||s2(t,e,n.child,{foundSelf:!1}),t}function s2(e,t,n,i){for(;n!==null;){if(n===t)i.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(i.foundSelf)return e[1]=n,!0;e[0]=n}else if((n.tag!==22||n.memoizedState===null)&&s2(e,t,n.child,i))return!0;n=n.sibling}return!1}function We(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(R(559))}}var Ia=null,w0=null;function TC(e,t,n){return e===n?!0:e===t?(Ia=e,!0):!1}function $C(e,t,n){return e===n?(w0=e,!1):e===t?(w0!==null&&(Ia=e),!0):!1}function ST(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function T0(e,t,n){for(var i=0,r=e;r;r=n(r))i++;r=0;for(var o=t;o;o=n(o))r++;for(;0<i-r;)e=n(e),i--;for(;0<r-i;)t=n(t),r--;for(;i--;){if(e===t||t!==null&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var $e=Object.assign,RC=Symbol.for("react.element"),Tf=Symbol.for("react.transitional.element"),yc=Symbol.for("react.portal"),Ca=Symbol.for("react.fragment"),l2=Symbol.for("react.strict_mode"),$0=Symbol.for("react.profiler"),c2=Symbol.for("react.consumer"),or=Symbol.for("react.context"),Ay=Symbol.for("react.forward_ref"),R0=Symbol.for("react.suspense"),E0=Symbol.for("react.suspense_list"),Py=Symbol.for("react.memo"),di=Symbol.for("react.lazy"),O0=Symbol.for("react.activity"),EC=Symbol.for("react.legacy_hidden"),OC=Symbol.for("react.memo_cache_sentinel"),k0=Symbol.for("react.view_transition"),kC=Symbol.for("react.recoverable"),bT=Symbol.iterator;function mc(e){return e===null||typeof e!="object"?null:(e=bT&&e[bT]||e["@@iterator"],typeof e=="function"?e:null)}var IC=Symbol.for("react.client.reference");function I0(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===IC?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ca:return"Fragment";case $0:return"Profiler";case l2:return"StrictMode";case R0:return"Suspense";case E0:return"SuspenseList";case O0:return"Activity";case k0:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case yc:return"Portal";case or:return e.displayName||"Context";case c2:return(e._context.displayName||"Context")+".Consumer";case Ay:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Py:return t=e.displayName||null,t!==null?t:I0(e.type)||"Memo";case di:t=e._payload,e=e._init;try{return I0(e(t))}catch{}}return null}var Sc=Array.isArray,F=t2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,he=xC.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,yo={pending:!1,data:null,method:null,action:null},C0=[],Na=-1;function mr(e){return{current:e}}function ft(e){0>Na||(e.current=C0[Na],C0[Na]=null,Na--)}function Ie(e,t){Na++,C0[Na]=e.current,e.current=t}var cr=mr(null),Pc=mr(null),bi=mr(null),dp=mr(null);function mp(e,t){switch(Ie(bi,t),Ie(Pc,e),Ie(cr,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?j$(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=j$(t),e=I4(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}ft(cr),Ie(cr,e)}function Wa(){ft(cr),ft(Pc),ft(bi)}function N0(e){var t=e.memoizedState;t!==null&&(cs._currentValue=t.memoizedState,Ie(dp,e)),t=cr.current;var n=I4(t,e.type);t!==n&&(Ie(Pc,e),Ie(cr,n))}function fp(e){Pc.current===e&&(ft(cr),ft(Pc)),dp.current===e&&(ft(dp),cs._currentValue=yo)}var Jv,_T;function ci(e){if(Jv===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\\n( *(at )?)/);Jv=t&&t[1]||"",_T=-1<n.stack.indexOf(`\n at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`\n`+Jv+e+_T}var Yv=!1;function Kv(e,t){if(!e||Yv)return"";Yv=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(t){var p=function(){throw Error()};if(Object.defineProperty(p.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(p,[])}catch(_){var m=_}Reflect.construct(e,[],p)}else{try{p.call()}catch(_){m=_}p=!1;try{var f=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),p=!0,new e}finally{p&&(f!==void 0?Object.defineProperty(e.prototype,"props",f):delete e.prototype.props)}}}else{try{throw Error()}catch(_){m=_}(p=e())&&typeof p.catch=="function"&&p.catch(function(){})}}catch(_){if(_&&m&&typeof _.stack=="string")return[_.stack,m.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=i.DetermineComponentFrameRoot(),a=o[0],s=o[1];if(a&&s){var l=a.split(`\n`),c=s.split(`\n`);for(r=i=0;i<l.length&&!l[i].includes("DetermineComponentFrameRoot");)i++;for(;r<c.length&&!c[r].includes("DetermineComponentFrameRoot");)r++;if(i===l.length||r===c.length)for(i=l.length-1,r=c.length-1;1<=i&&0<=r&&l[i]!==c[r];)r--;for(;1<=i&&0<=r;i--,r--)if(l[i]!==c[r]){if(i!==1||r!==1)do if(i--,r--,0>r||l[i]!==c[r]){var d=`\n`+l[i].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),d}while(1<=i&&0<=r);break}}}finally{Yv=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?ci(n):""}function CC(e,t){switch(e.tag){case 26:case 27:case 5:return ci(e.type);case 16:return ci("Lazy");case 13:return e.child!==t&&t!==null?ci("Suspense Fallback"):ci("Suspense");case 19:return ci("SuspenseList");case 0:case 15:return Kv(e.type,!1);case 11:return Kv(e.type.render,!1);case 1:return Kv(e.type,!0);case 31:return ci("Activity");case 30:return ci("ViewTransition");default:return""}}function zT(e){try{var t="",n=null;do t+=CC(e,n),n=e,e=e.return;while(e);return t}catch(i){return`\nError generating stack: `+i.message+`\n`+i.stack}}var j0=Object.prototype.hasOwnProperty,Uy=et.unstable_scheduleCallback,Fv=et.unstable_cancelCallback,NC=et.unstable_shouldYield,jC=et.unstable_requestPaint,sn=et.unstable_now,AC=et.unstable_getCurrentPriorityLevel,u2=et.unstable_ImmediatePriority,d2=et.unstable_UserBlockingPriority,pp=et.unstable_NormalPriority,PC=et.unstable_LowPriority,m2=et.unstable_IdlePriority,UC=et.log,MC=et.unstable_setDisableYieldValue,Wc=null,ln=null;function pi(e){if(typeof UC=="function"&&MC(e),ln&&typeof ln.setStrictMode=="function")try{ln.setStrictMode(Wc,e)}catch{}}var cn=Math.clz32?Math.clz32:qC,DC=Math.log,LC=Math.LN2;function qC(e){return e>>>=0,e===0?32:31-(DC(e)/LC|0)|0}var $f=256,Rf=262144,Ef=4194304;function fo(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Lp(e,t,n){var i=e.pendingLanes;if(i===0)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes;e=e.warmLanes;var s=i&134217727;return s!==0?(i=s&~o,i!==0?r=fo(i):(a&=s,a!==0?r=fo(a):n||(n=s&~e,n!==0&&(r=fo(n))))):(s=i&~o,s!==0?r=fo(s):a!==0?r=fo(a):n||(n=i&~e,n!==0&&(r=fo(n)))),r===0?0:t!==0&&t!==r&&(t&o)===0&&(o=r&-r,n=t&-t,o>=n||o===32&&(n&4194048)!==0)?t:r}function eu(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function f2(e,t){(t&8)!==0&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var i=31-cn(n),r=1<<i;t|=e[i],n&=~r}return t}function HC(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function p2(){var e=Ef;return Ef<<=1,(Ef&62914560)===0&&(Ef=4194304),e}function Qv(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function tu(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ZC(e,t,n,i,r,o){var a=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(n=a&~n;0<n;){var d=31-cn(n),p=1<<d;s[d]=0,l[d]=-1;var m=c[d];if(m!==null)for(c[d]=null,d=0;d<m.length;d++){var f=m[d];f!==null&&(f.lane&=-536870913)}n&=~p}i!==0&&h2(e,i,0),o!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=o&~(a&~t))}function h2(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-cn(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|n&261930}function g2(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-cn(n),r=1<<i;r&t|e[i]&t&&(e[i]|=t),n&=~r}}function v2(e,t){var n=t&-t;return n=(n&42)!==0?1:My(n),(n&(e.suspendedLanes|t))!==0?0:n}function My(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Dy(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function y2(){var e=he.p;return e!==0?e:(e=window.event,e===void 0?32:W4(e.type))}function xT(e,t){var n=he.p;try{return he.p=e,t()}finally{he.p=n}}var qr=Math.random().toString(36).slice(2),dt="__reactFiber$"+qr,Yt="__reactProps$"+qr,ms="__reactContainer$"+qr,wT="__reactEvents$"+qr,VC="__reactListeners$"+qr,BC="__reactHandles$"+qr,TT="__reactResources$"+qr,nu="__reactMarker$"+qr,hp="__reactLoad$"+qr;function qp(e){delete e[dt],delete e[Yt],delete e[VC],delete e[BC]}function go(e){var t;if(t=e[dt])return t;for(var n=e.parentNode;n;){if(t=n[ms]||n[dt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=H$(e);e!==null;){if(n=e[dt])return n;e=H$(e)}return t}e=n,n=e.parentNode}return null}function fs(e){if(e=e[dt]||e[ms]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function bc(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(R(33))}function Za(e){var t=e[TT];return t||(t=e[TT]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ot(e){e[nu]=!0}function S2(e){e[hp]=void 0}var b2=new Set,_2={};function Co(e,t){es(e,t),es(e+"Capture",t)}function es(e,t){for(_2[e]=t,e=0;e<t.length;e++)b2.add(t[e])}var GC=RegExp("^[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$"),$T={},RT={};function JC(e){return j0.call(RT,e)?!0:j0.call($T,e)?!1:GC.test(e)?RT[e]=!0:($T[e]=!0,!1)}var fe=!1;function ET(){var e=fe;return fe=!1,e}function Gf(e,t,n){if(JC(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,n)}}function Of(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,n)}}function Or(e,t,n,i){if(i===null)e.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,i)}}function nn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function z2(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function YC(e,t,n){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var r=i.get,o=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(a){n=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function A0(e){if(!e._valueTracker){var t=z2(e)?"checked":"value";e._valueTracker=YC(e,t,""+e[t])}}function x2(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=z2(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}var KC=/[\\n"\\\\]/g;function On(e){return e.replace(KC,function(t){return"\\\\"+t.charCodeAt(0).toString(16)+" "})}function P0(e,t,n,i,r,o,a,s){e.name="",a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"?e.type=a:e.removeAttribute("type"),t!=null?a==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+nn(t)):e.value!==""+nn(t)&&(e.value=""+nn(t)):a!=="submit"&&a!=="reset"||e.removeAttribute("value"),t!=null?a==="number"&&e.value==t?Xv(e,nn(e.value)):Xv(e,nn(t)):n!=null?Xv(e,nn(n)):i!=null&&e.removeAttribute("value"),r==null&&o!=null&&(e.defaultChecked=!!o),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.name=""+nn(s):e.removeAttribute("name")}function w2(e,t,n,i,r,o,a,s){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(e.type=o),t!=null||n!=null){if(!(o!=="submit"&&o!=="reset"||t!=null)){A0(e);return}n=n!=null?""+nn(n):"",t=t!=null?""+nn(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}i=i??r,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=s?e.checked:!!i,e.defaultChecked=!!i,a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"&&(e.name=a),A0(e)}function Xv(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function Va(e,t,n,i){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&i&&(e[n].defaultSelected=!0)}else{for(n=""+nn(n),t=null,r=0;r<e.length;r++){if(e[r].value===n){e[r].selected=!0,i&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function T2(e,t,n){if(t!=null&&(t=""+nn(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+nn(n):""}function $2(e,t,n,i){if(t==null){if(i!=null){if(n!=null)throw Error(R(92));if(Sc(i)){if(1<i.length)throw Error(R(93));i=i[0]}n=i}n==null&&(n=""),t=n}n=nn(t),e.defaultValue=n,i=e.textContent,i===n&&i!==""&&i!==null&&(e.value=i),A0(e)}function ts(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var FC=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function OT(e,t,n){var i=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,n):typeof n!="number"||n===0||FC.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function R2(e,t,n){if(t!=null&&typeof t!="object")throw Error(R(62));if(e=e.style,n!=null){for(var i in n)!n.hasOwnProperty(i)||t!=null&&t.hasOwnProperty(i)||(i.indexOf("--")===0?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="",fe=!0);for(var r in t)i=t[r],t.hasOwnProperty(r)&&n[r]!==i&&(OT(e,r,i),fe=!0)}else for(var o in t)t.hasOwnProperty(o)&&OT(e,o,t[o])}function Ly(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var QC=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),XC=/^[\\u0000-\\u001F ]*j[\\r\\n\\t]*a[\\r\\n\\t]*v[\\r\\n\\t]*a[\\r\\n\\t]*s[\\r\\n\\t]*c[\\r\\n\\t]*r[\\r\\n\\t]*i[\\r\\n\\t]*p[\\r\\n\\t]*t[\\r\\n\\t]*:/i;function Jf(e){return XC.test(""+e)?"javascript:throw new Error(\'React has blocked a javascript: URL as a security precaution.\')":e}function ar(){}var U0=null;function qy(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ja=null,Ba=null;function kT(e){var t=fs(e);if(t&&(e=t.stateNode)){var n=e[Yt]||null;e:switch(e=t.stateNode,t.type){case"input":if(P0(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(\'input[name="\'+On(""+t)+\'"][type="radio"]\'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var r=i[Yt]||null;if(!r)throw Error(R(90));P0(i,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)i=n[t],i.form===e.form&&x2(i)}break e;case"textarea":T2(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Va(e,!!n.multiple,t,!1)}}}var Wv=!1;function E2(e,t,n){if(Wv)return e(t,n);Wv=!0;try{var i=e(t);return i}finally{if(Wv=!1,(ja!==null||Ba!==null)&&(th(),ja&&(t=ja,e=Ba,Ba=ja=null,kT(t),e)))for(t=0;t<e.length;t++)kT(e[t])}}function Uc(e,t){var n=e.stateNode;if(n===null)return null;var i=n[Yt]||null;if(i===null)return null;n=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(R(231,t,typeof n));return n}var Ar=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),M0=!1;if(Ar)try{Ta={},Object.defineProperty(Ta,"passive",{get:function(){M0=!0}}),window.addEventListener("test",Ta,Ta),window.removeEventListener("test",Ta,Ta)}catch{M0=!1}var Ta,hi=null,Hy=null,Yf=null;function O2(){if(Yf)return Yf;var e,t=Hy,n=t.length,i,r="value"in hi?hi.value:hi.textContent,o=r.length;for(e=0;e<n&&t[e]===r[e];e++);var a=n-e;for(i=1;i<=a&&t[n-i]===r[o-i];i++);return Yf=r.slice(e,1<i?1-i:void 0)}function Kf(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function kf(){return!0}function IT(){return!1}function Nt(e){function t(n,i,r,o,a){this._reactName=n,this._targetInst=r,this.type=i,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?kf:IT,this.isPropagationStopped=IT,this}return $e(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=kf)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=kf)},persist:function(){},isPersistent:kf}),t}var Ai={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hp=Nt(Ai),ru=$e({},Ai,{view:0,detail:0}),WC=Nt(ru),e0,t0,fc,Zp=$e({},ru,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zy,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==fc&&(fc&&e.type==="mousemove"?(e0=e.screenX-fc.screenX,t0=e.screenY-fc.screenY):t0=e0=0,fc=e),e0)},movementY:function(e){return"movementY"in e?e.movementY:t0}}),CT=Nt(Zp),eN=$e({},Zp,{dataTransfer:0}),tN=Nt(eN),nN=$e({},ru,{relatedTarget:0}),n0=Nt(nN),rN=$e({},Ai,{animationName:0,elapsedTime:0,pseudoElement:0}),iN=Nt(rN),oN=$e({},Ai,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),aN=Nt(oN),sN=$e({},Ai,{data:0}),NT=Nt(sN),lN={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cN={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},uN={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function dN(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=uN[e])?!!t[e]:!1}function Zy(){return dN}var mN=$e({},ru,{key:function(e){if(e.key){var t=lN[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Kf(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?cN[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zy,charCode:function(e){return e.type==="keypress"?Kf(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Kf(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),fN=Nt(mN),pN=$e({},Zp,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jT=Nt(pN),hN=$e({},Ai,{submitter:0}),gN=Nt(hN),vN=$e({},ru,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zy}),yN=Nt(vN),SN=$e({},Ai,{propertyName:0,elapsedTime:0,pseudoElement:0}),bN=Nt(SN),_N=$e({},Zp,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),zN=Nt(_N),xN=$e({},Ai,{newState:0,oldState:0,source:0}),wN=Nt(xN),TN=[9,13,27,32],Vy=Ar&&"CompositionEvent"in window,xc=null;Ar&&"documentMode"in document&&(xc=document.documentMode);var $N=Ar&&"TextEvent"in window&&!xc,k2=Ar&&(!Vy||xc&&8<xc&&11>=xc),AT=" ",PT=!1;function I2(e,t){switch(e){case"keyup":return TN.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function C2(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Aa=!1;function RN(e,t){switch(e){case"compositionend":return C2(t);case"keypress":return t.which!==32?null:(PT=!0,AT);case"textInput":return e=t.data,e===AT&&PT?null:e;default:return null}}function EN(e,t){if(Aa)return e==="compositionend"||!Vy&&I2(e,t)?(e=O2(),Yf=Hy=hi=null,Aa=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return k2&&t.locale!=="ko"?null:t.data;default:return null}}var ON={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function UT(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ON[e.type]:t==="textarea"}function N2(e,t,n,i){ja?Ba?Ba.push(i):Ba=[i]:ja=i,t=Up(t,"onChange"),0<t.length&&(n=new Hp("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var wc=null,Mc=null;function kN(e){E4(e,0)}function Vp(e){var t=bc(e);if(x2(t))return e}function MT(e,t){if(e==="change")return t}var j2=!1;Ar&&(Ar?(Cf="oninput"in document,Cf||(r0=document.createElement("div"),r0.setAttribute("oninput","return;"),Cf=typeof r0.oninput=="function"),If=Cf):If=!1,j2=If&&(!document.documentMode||9<document.documentMode));var If,Cf,r0;function DT(){wc&&(wc.detachEvent("onpropertychange",A2),Mc=wc=null)}function A2(e){if(e.propertyName==="value"&&Vp(Mc)){var t=[];N2(t,Mc,e,qy(e)),E2(kN,t)}}function IN(e,t,n){e==="focusin"?(DT(),wc=t,Mc=n,wc.attachEvent("onpropertychange",A2)):e==="focusout"&&DT()}function CN(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Vp(Mc)}function NN(e,t){if(e==="click")return Vp(t)}function jN(e,t){if(e==="input"||e==="change")return Vp(t)}function AN(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var dn=typeof Object.is=="function"?Object.is:AN;function Dc(e,t){if(dn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var r=n[i];if(!j0.call(t,r)||!dn(e[r],t[r]))return!1}return!0}function D0(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function LT(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function qT(e,t){var n=LT(e);e=0;for(var i;n;){if(n.nodeType===3){if(i=e+n.textContent.length,e<=t&&i>=t)return{node:n,offset:t-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=LT(n)}}function P2(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?P2(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function U2(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=D0(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=D0(e.document)}return t}function By(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var PN=Ar&&"documentMode"in document&&11>=document.documentMode,Pa=null,L0=null,Tc=null,q0=!1;function HT(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;q0||Pa==null||Pa!==D0(i)||(i=Pa,"selectionStart"in i&&By(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Tc&&Dc(Tc,i)||(Tc=i,i=Up(L0,"onSelect"),0<i.length&&(t=new Hp("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=Pa)))}function uo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ua={animationend:uo("Animation","AnimationEnd"),animationiteration:uo("Animation","AnimationIteration"),animationstart:uo("Animation","AnimationStart"),transitionrun:uo("Transition","TransitionRun"),transitionstart:uo("Transition","TransitionStart"),transitioncancel:uo("Transition","TransitionCancel"),transitionend:uo("Transition","TransitionEnd")},i0={},M2={};Ar&&(M2=document.createElement("div").style,"AnimationEvent"in window||(delete Ua.animationend.animation,delete Ua.animationiteration.animation,delete Ua.animationstart.animation),"TransitionEvent"in window||delete Ua.transitionend.transition);function No(e){if(i0[e])return i0[e];if(!Ua[e])return e;var t=Ua[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in M2)return i0[e]=t[n];return e}var D2=No("animationend"),L2=No("animationiteration"),q2=No("animationstart"),UN=No("transitionrun"),MN=No("transitionstart"),DN=No("transitioncancel"),H2=No("transitionend"),Z2=new Map,H0="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");H0.push("scrollEnd");function Vn(e,t){Z2.set(e,t),Co(t,[e])}var LN=0;function Pr(e,t){if(e.name!=null&&e.name!=="auto")return e.name;if(t.autoName!==null)return t.autoName;e=Zn.identifierPrefix;var n=LN++;return e="_"+e+"t_"+n.toString(32)+"_",t.autoName=e}function ZT(e){if(e==null||typeof e=="string")return e;var t=null,n=Xa;if(n!==null)for(var i=0;i<n.length;i++){var r=e[n[i]];if(r!=null){if(r==="none")return"none";t=t==null?r:t+(" "+r)}}return t??e.default}function Hr(e,t){return e=ZT(e),t=ZT(t),t==null?e==="auto"?null:e:t==="auto"?null:t}var gp=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},$n=[],Ma=0,Gy=0;function Bp(){for(var e=Ma,t=Gy=Ma=0;t<e;){var n=$n[t];$n[t++]=null;var i=$n[t];$n[t++]=null;var r=$n[t];$n[t++]=null;var o=$n[t];if($n[t++]=null,i!==null&&r!==null){var a=i.pending;a===null?r.next=r:(r.next=a.next,a.next=r),i.pending=r}o!==0&&V2(n,r,o)}}function Gp(e,t,n,i){$n[Ma++]=e,$n[Ma++]=t,$n[Ma++]=n,$n[Ma++]=i,Gy|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function Jy(e,t,n,i){return Gp(e,t,n,i),vp(e)}function jo(e,t){return Gp(e,null,null,t),vp(e)}function V2(e,t,n){e.lanes|=n;var i=e.alternate;i!==null&&(i.lanes|=n);for(var r=!1,o=e.return;o!==null;)o.childLanes|=n,i=o.alternate,i!==null&&(i.childLanes|=n),o.tag===22&&(e=o.stateNode,e===null||e._visibility&1||(r=!0)),e=o,o=o.return;return e.tag===3?(o=e.stateNode,r&&t!==null&&(r=31-cn(n),e=o.hiddenUpdates,i=e[r],i===null?e[r]=[t]:i.push(t),t.lane=n|536870912),o):null}function vp(e){if(50<Ac)throw Ac=0,op=null,Error(R(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Da={};function qN(e,t,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bt(e,t,n,i){return new qN(e,t,n,i)}function Yy(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Nr(e,t){var n=e.alternate;return n===null?(n=Bt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&1206910976,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function B2(e,t){e.flags&=1206910978;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Ff(e,t,n,i,r,o){var a=0;if(i=e,typeof i=="function")Yy(i)&&(a=1);else if(typeof i=="string")a=fA(e,n,cr.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(i){case O0:return e=Bt(31,n,t,r),e.elementType=O0,e.lanes=o,e;case Ca:return So(n.children,r,o,t);case l2:a=8,r|=24;break;case $0:return e=Bt(12,n,t,r|2),e.elementType=$0,e.lanes=o,e;case R0:return e=Bt(13,n,t,r),e.elementType=R0,e.lanes=o,e;case E0:return e=Bt(19,n,t,r),e.elementType=E0,e.lanes=o,e;case EC:case k0:return e=r|32,e=Bt(30,n,t,e),e.elementType=k0,e.lanes=o,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case or:a=10;break e;case c2:a=9;break e;case Ay:a=11;break e;case Py:a=14;break e;case di:a=16,i=null;break e}a=29,n=Error(R(130,e===null?"null":typeof e,"")),i=null}return t=Bt(a,n,t,r),t.elementType=e,t.type=i,t.lanes=o,t}function So(e,t,n,i){return e=Bt(7,e,i,t),e.lanes=n,e}function o0(e,t,n){return e=Bt(6,e,null,t),e.lanes=n,e}function G2(e){var t=Bt(18,null,null,0);return t.stateNode=e,t}function a0(e,t,n){return t=Bt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var VT=new WeakMap;function kn(e,t){if(typeof e=="object"&&e!==null){var n=VT.get(e);return n!==void 0?n:(t={value:e,source:t,stack:zT(t)},VT.set(e,t),t)}return{value:e,source:t,stack:zT(t)}}var La=[],qa=0,yp=null,Lc=0,Rn=[],En=0,ki=null,sr=1,lr="";function Ir(e,t){La[qa++]=Lc,La[qa++]=yp,yp=e,Lc=t}function J2(e,t,n){Rn[En++]=sr,Rn[En++]=lr,Rn[En++]=ki,ki=e;var i=sr;e=lr;var r=32-cn(i)-1;i&=~(1<<r),n+=1;var o=32-cn(t)+r;if(30<o){var a=r-r%5;o=(i&(1<<a)-1).toString(32),i>>=a,r-=a,sr=1<<32-cn(t)+r|n<<r|i,lr=o+e}else sr=1<<o|n<<r|i,lr=e}function Jp(e){e.return!==null&&(Ir(e,1),J2(e,1,0))}function Ky(e){for(;e===yp;)yp=La[--qa],La[qa]=null,Lc=La[--qa],La[qa]=null;for(;e===ki;)ki=Rn[--En],Rn[En]=null,lr=Rn[--En],Rn[En]=null,sr=Rn[--En],Rn[En]=null}function Y2(e,t){Rn[En++]=sr,Rn[En++]=lr,Rn[En++]=ki,sr=t.id,lr=t.overflow,ki=e}var at=null,ke=null,re=!1,_i=null,In=!1,Z0=Error(R(519));function Ii(e){var t=Error(R(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw qc(kn(t,e)),Z0}function BT(e){var t=e.stateNode,n=e.type,i=e.memoizedProps;switch(t[dt]=e,t[Yt]=i,n){case"dialog":se("cancel",t),se("close",t);break;case"iframe":case"object":case"embed":se("load",t);break;case"video":case"audio":for(n=0;n<Bc.length;n++)se(Bc[n],t);break;case"source":se("error",t);break;case"img":case"image":case"link":se("error",t),se("load",t);break;case"details":se("toggle",t);break;case"input":se("invalid",t),w2(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":se("invalid",t);break;case"textarea":se("invalid",t),$2(t,i.value,i.defaultValue,i.children)}n=i.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||i.suppressHydrationWarning===!0||k4(t.textContent,n)?(i.popover!=null&&(se("beforetoggle",t),se("toggle",t)),i.onScroll!=null&&se("scroll",t),i.onScrollEnd!=null&&se("scrollend",t),i.onClick!=null&&(t.onclick=ar),t=!0):t=!1,t||Ii(e,!0)}function Sp(e){for(at=e.return;at;)switch(at.tag){case 5:case 31:case 13:In=!1;return;case 27:case 3:In=!0;return;default:at=at.return}}function $a(e){if(e!==at)return!1;if(!re)return Sp(e),re=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Ry(e.type,e.memoizedProps)),n=!n),n&&ke&&Ii(e),Sp(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(317));ke=q$(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(317));ke=q$(e)}else t===27?(t=ke,Pi(e.type)?(e=Iy,Iy=null,ke=e):ke=t):ke=at?Cn(e.stateNode.nextSibling):null;return!0}function xo(){ke=at=null,re=!1}function s0(){var e=_i;return e!==null&&(Zt===null?Zt=e:Zt.push.apply(Zt,e),_i=null),e}function qc(e){_i===null?_i=[e]:_i.push(e)}var V0=mr(null),Ao=null,Cr=null;function gi(e,t,n){Ie(V0,t._currentValue),t._currentValue=n}function jr(e){e._currentValue=V0.current,ft(V0)}function Qf(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function B0(e,t,n,i){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var o=r.dependencies;if(o!==null){var a=r.child;o=o.firstContext;e:for(;o!==null;){var s=o;o=r;for(var l=0;l<t.length;l++)if(s.context===t[l]){o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Qf(o.return,n,e),i||(a=null);break e}o=s.next}}else if(r.tag===18){if(a=r.return,a===null)throw Error(R(341));a.lanes|=n,o=a.alternate,o!==null&&(o.lanes|=n),Qf(a,n,e),a=null}else r.tag===13&&r.memoizedState!==null&&r.memoizedState.dehydrated===null?(r.lanes|=n,a=r.alternate,a!==null&&(a.lanes|=n),Qf(r.return,n,e),a=r.child,a=a!==null?a.sibling:null):a=r.child;if(a!==null)a.return=r;else for(a=r;a!==null;){if(a===e){a=null;break}if(r=a.sibling,r!==null){r.return=a.return,a=r;break}a=a.return}r=a}}function wo(e,t,n,i){e=null;for(var r=t,o=!1;r!==null;){if(!o){if((r.flags&524288)!==0)o=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var a=r.alternate;if(a===null)throw Error(R(387));if(a=a.memoizedProps,a!==null){var s=r.type;dn(r.pendingProps.value,a.value)||(e!==null?e.push(s):e=[s])}}else if(r===dp.current){if(a=r.alternate,a===null)throw Error(R(387));a.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(cs):e=[cs])}r=r.return}return e!==null&&B0(t,e,n,i),t.flags|=262144,e!==null}function bp(e){for(e=e.firstContext;e!==null;){if(!dn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function To(e){Ao=e,Cr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function mt(e){return K2(Ao,e)}function Nf(e,t){return Ao===null&&To(e),K2(e,t)}function K2(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Cr===null){if(e===null)throw Error(R(308));Cr=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Cr=Cr.next=t;return n}var HN=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},ZN=et.unstable_scheduleCallback,VN=et.unstable_NormalPriority,Ye={$$typeof:or,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Fy(){return{controller:new HN,data:new Map,refCount:0}}function iu(e){e.refCount--,e.refCount===0&&ZN(VN,function(){e.controller.abort()})}function GT(e,t){if((e.pendingLanes&4194048)!==0){var n=e.transitionTypes;for(n===null&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var i=t[e];n.indexOf(i)===-1&&n.push(i)}}}var _c=null;function BN(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var $c=null,G0=0,$o=0,Ga=null;function GN(e,t){if($c===null){var n=$c=[];G0=0,$o=wS(),Ga={status:"pending",value:void 0,then:function(i){n.push(i)}}}return G0++,t.then(JT,JT),t}function JT(){if(--G0===0&&(_c=null,$c!==null)){Ga!==null&&(Ga.status="fulfilled");var e=$c;$c=null,$o=0,Ga=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function JN(e,t){var n=[],i={status:"pending",value:null,reason:null,then:function(r){n.push(r)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var r=0;r<n.length;r++)(0,n[r])(t)},function(r){for(i.status="rejected",i.reason=r,r=0;r<n.length;r++)(0,n[r])(void 0)}),i}var YT=F.S;F.S=function(e,t){if(f4=sn(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&GN(e,t),_c!==null)for(var n=as;n!==null;)GT(n,_c),n=n.next;if(n=e.types,n!==null){for(var i=as;i!==null;)GT(i,n),i=i.next;if($o!==0){i=_c,i===null&&(i=_c=[]);for(var r=0;r<n.length;r++){var o=n[r];i.indexOf(o)===-1&&i.push(o)}}}YT!==null&&YT(e,t)};var bo=mr(null);function Qy(){var e=bo.current;return e!==null?e:Te.pooledCache}function Xf(e,t){t===null?Ie(bo,bo.current):Ie(bo,t.pool)}function F2(){var e=Qy();return e===null?null:{parent:Ye._currentValue,pool:e}}var ps=Error(R(460)),Xy=Error(R(474)),Yp=Error(R(542)),_p={then:function(){}};function KT(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Q2(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(ar,ar),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,QT(e),e===void 0&&!("reason"in t)?Error(R(600)):e;default:if(typeof t.status=="string")t.then(ar,ar);else{if(e=Te,e!==null&&100<e.shellSuspendCounter)throw Error(R(482));e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=i}},function(i){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,QT(e),e}throw _o=t,ps}}function po(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(_o=n,ps):n}}var _o=null;function FT(){if(_o===null)throw Error(R(459));var e=_o;return _o=null,e}function QT(e){if(e===ps||e===Yp)throw Error(R(483))}var Ja=null,Hc=0;function jf(e){var t=Hc;return Hc+=1,Ja===null&&(Ja=[]),Q2(Ja,e,t)}function li(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Af(e,t){throw t.$$typeof===RC?Error(R(525)):(e=Object.prototype.toString.call(t),Error(R(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function X2(e){function t(y,g){if(e){var S=y.deletions;S===null?(y.deletions=[g],y.flags|=16):S.push(g)}}function n(y,g){if(!e)return null;for(;g!==null;)t(y,g),g=g.sibling;return null}function i(y){for(var g=new Map;y!==null;)y.key===null?g.set(y.index,y):g.set(y.key,y),y=y.sibling;return g}function r(y,g){return y=Nr(y,g),y.index=0,y.sibling=null,y}function o(y,g,S){return y.index=S,e?(S=y.alternate,S!==null?(S=S.index,S<g?(y.flags|=2,g):S):(y.flags|=134217730,g)):(y.flags|=1048576,g)}function a(y){return e&&y.alternate===null&&(y.flags|=134217730),y}function s(y,g,S,x){return g===null||g.tag!==6?(g=o0(S,y.mode,x),g.return=y,g):(g=r(g,S),g.return=y,g)}function l(y,g,S,x){var I=S.type;return I===Ca?(y=d(y,g,S.props.children,x,S.key),li(y,S),y):g!==null&&(g.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===di&&po(I)===g.type)?(g=r(g,S.props),li(g,S),g.return=y,g):(g=Ff(S.type,S.key,S.props,null,y.mode,x),li(g,S),g.return=y,g)}function c(y,g,S,x){return g===null||g.tag!==4||g.stateNode.containerInfo!==S.containerInfo||g.stateNode.implementation!==S.implementation?(g=a0(S,y.mode,x),g.return=y,g):(g=r(g,S.children||[]),g.return=y,g)}function d(y,g,S,x,I){return g===null||g.tag!==7?(g=So(S,y.mode,x,I),g.return=y,g):(g=r(g,S),g.return=y,g)}function p(y,g,S){if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return g=o0(""+g,y.mode,S),g.return=y,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Tf:return S=Ff(g.type,g.key,g.props,null,y.mode,S),li(S,g),S.return=y,S;case yc:return g=a0(g,y.mode,S),g.return=y,g;case di:return g=po(g),p(y,g,S)}if(Sc(g)||mc(g))return g=So(g,y.mode,S,null),g.return=y,g;if(typeof g.then=="function")return p(y,jf(g),S);if(g.$$typeof===or)return p(y,Nf(y,g),S);Af(y,g)}return null}function m(y,g,S,x){var I=g!==null?g.key:null;if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return I!==null?null:s(y,g,""+S,x);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Tf:return S.key===I?l(y,g,S,x):null;case yc:return S.key===I?c(y,g,S,x):null;case di:return S=po(S),m(y,g,S,x)}if(Sc(S)||mc(S))return I!==null?null:d(y,g,S,x,null);if(typeof S.then=="function")return m(y,g,jf(S),x);if(S.$$typeof===or)return m(y,g,Nf(y,S),x);Af(y,S)}return null}function f(y,g,S,x,I){if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return y=y.get(S)||null,s(g,y,""+x,I);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Tf:return y=y.get(x.key===null?S:x.key)||null,l(g,y,x,I);case yc:return y=y.get(x.key===null?S:x.key)||null,c(g,y,x,I);case di:return x=po(x),f(y,g,S,x,I)}if(Sc(x)||mc(x))return y=y.get(S)||null,d(g,y,x,I,null);if(typeof x.then=="function")return f(y,g,S,jf(x),I);if(x.$$typeof===or)return f(y,g,S,Nf(g,x),I);Af(g,x)}return null}function _(y,g,S,x){for(var I=null,H=null,M=g,B=g=0,oe=null;M!==null&&B<S.length;B++){M.index>B?(oe=M,M=null):oe=M.sibling;var W=m(y,M,S[B],x);if(W===null){M===null&&(M=oe);break}e&&M&&W.alternate===null&&t(y,M),g=o(W,g,B),H===null?I=W:H.sibling=W,H=W,M=oe}if(B===S.length)return n(y,M),re&&Ir(y,B),I;if(M===null){for(;B<S.length;B++)M=p(y,S[B],x),M!==null&&(g=o(M,g,B),H===null?I=M:H.sibling=M,H=M);return re&&Ir(y,B),I}for(M=i(M);B<S.length;B++)oe=f(M,y,B,S[B],x),oe!==null&&(e&&(W=oe.alternate,W!==null&&M.delete(W.key===null?B:W.key)),g=o(oe,g,B),H===null?I=oe:H.sibling=oe,H=oe);return e&&M.forEach(function(me){return t(y,me)}),re&&Ir(y,B),I}function $(y,g,S,x){if(S==null)throw Error(R(151));for(var I=null,H=null,M=g,B=g=0,oe=null,W=S.next();M!==null&&!W.done;B++,W=S.next()){M.index>B?(oe=M,M=null):oe=M.sibling;var me=m(y,M,W.value,x);if(me===null){M===null&&(M=oe);break}e&&M&&me.alternate===null&&t(y,M),g=o(me,g,B),H===null?I=me:H.sibling=me,H=me,M=oe}if(W.done)return n(y,M),re&&Ir(y,B),I;if(M===null){for(;!W.done;B++,W=S.next())W=p(y,W.value,x),W!==null&&(g=o(W,g,B),H===null?I=W:H.sibling=W,H=W);return re&&Ir(y,B),I}for(M=i(M);!W.done;B++,W=S.next())W=f(M,y,B,W.value,x),W!==null&&(e&&(oe=W.alternate,oe!==null&&M.delete(oe.key===null?B:oe.key)),g=o(W,g,B),H===null?I=W:H.sibling=W,H=W);return e&&M.forEach(function(wr){return t(y,wr)}),re&&Ir(y,B),I}function j(y,g,S,x){if(typeof S=="object"&&S!==null&&S.type===Ca&&S.key===null&&S.props.ref===void 0&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case Tf:e:{for(var I=S.key;g!==null;){if(g.key===I){if(I=S.type,I===Ca){if(g.tag===7){n(y,g.sibling),x=r(g,S.props.children),li(x,S),x.return=y,y=x;break e}}else if(g.elementType===I||typeof I=="object"&&I!==null&&I.$$typeof===di&&po(I)===g.type){n(y,g.sibling),x=r(g,S.props),li(x,S),x.return=y,y=x;break e}n(y,g);break}else t(y,g);g=g.sibling}S.type===Ca?(x=So(S.props.children,y.mode,x,S.key),li(x,S),x.return=y,y=x):(x=Ff(S.type,S.key,S.props,null,y.mode,x),li(x,S),x.return=y,y=x)}return a(y);case yc:e:{for(I=S.key;g!==null;){if(g.key===I)if(g.tag===4&&g.stateNode.containerInfo===S.containerInfo&&g.stateNode.implementation===S.implementation){n(y,g.sibling),x=r(g,S.children||[]),x.return=y,y=x;break e}else{n(y,g);break}else t(y,g);g=g.sibling}x=a0(S,y.mode,x),x.return=y,y=x}return a(y);case di:return S=po(S),j(y,g,S,x)}if(Sc(S))return _(y,g,S,x);if(mc(S)){if(I=mc(S),typeof I!="function")throw Error(R(150));return S=I.call(S),$(y,g,S,x)}if(typeof S.then=="function")return j(y,g,jf(S),x);if(S.$$typeof===or)return j(y,g,Nf(y,S),x);Af(y,S)}return typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint"?(S=""+S,g!==null&&g.tag===6?(n(y,g.sibling),x=r(g,S),x.return=y,y=x):(n(y,g),x=o0(S,y.mode,x),x.return=y,y=x),a(y)):n(y,g)}return function(y,g,S,x){try{Hc=0;var I=j(y,g,S,x);return Ja=null,I}catch(M){if(M===ps||M===Yp)throw M;var H=Bt(29,M,null,y.mode);return H.lanes=x,H.return=y,H}}}var Ro=X2(!0),W2=X2(!1),mi=!1;function Wy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function J0(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function zi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function xi(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(pe&2)!==0){var r=i.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),i.pending=t,t=vp(e),V2(e,null,n),t}return Gp(e,i,t,n),vp(e)}function Rc(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,g2(e,n)}}function l0(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var r=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};o===null?r=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?r=o=t:o=o.next=t}else r=o=t;n={baseState:i.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:i.shared,callbacks:i.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Y0=!1;function Ec(){if(Y0){var e=Ga;if(e!==null)throw e}}function Oc(e,t,n,i){Y0=!1;var r=e.updateQueue;mi=!1;var o=r.firstBaseUpdate,a=r.lastBaseUpdate,s=r.shared.pending;if(s!==null){r.shared.pending=null;var l=s,c=l.next;l.next=null,a===null?o=c:a.next=c,a=l;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==a&&(s===null?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=l))}if(o!==null){var p=r.baseState;a=0,d=c=l=null,s=o;do{var m=s.lane&-536870913,f=m!==s.lane;if(f?(de&m)===m:(i&m)===m){m!==0&&m===$o&&(Y0=!0),d!==null&&(d=d.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var _=e,$=s;m=t;var j=n;switch($.tag){case 1:if(_=$.payload,typeof _=="function"){p=_.call(j,p,m);break e}p=_;break e;case 3:_.flags=_.flags&-65537|128;case 0:if(_=$.payload,m=typeof _=="function"?_.call(j,p,m):_,m==null)break e;p=$e({},p,m);break e;case 2:mi=!0}}m=s.callback,m!==null&&(e.flags|=64,f&&(e.flags|=8192),f=r.callbacks,f===null?r.callbacks=[m]:f.push(m))}else f={lane:m,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(c=d=f,l=p):d=d.next=f,a|=m;if(s=s.next,s===null){if(s=r.shared.pending,s===null)break;f=s,s=f.next,f.next=null,r.lastBaseUpdate=f,r.shared.pending=null}}while(!0);d===null&&(l=p),r.baseState=l,r.firstBaseUpdate=c,r.lastBaseUpdate=d,o===null&&(r.shared.lanes=0),ji|=a,e.lanes=a,e.memoizedState=p}}function eR(e,t){if(typeof e!="function")throw Error(R(191,e));e.call(t)}function tR(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)eR(n[e],t)}var Ci=mr(null),zp=mr(0);function XT(e,t){e=Lr,Ie(zp,e),Ie(Ci,t),Lr=e|t.baseLanes}function K0(){Ie(zp,Lr),Ie(Ci,Ci.current)}function eS(){Lr=zp.current,ft(Ci),ft(zp)}var gt=mr(null),Tt=null;function wi(e){var t=e.alternate;Ie(pt,pt.current&1),Ie(gt,e),Tt===null&&(t===null||Ci.current!==null||t.memoizedState!==null)&&(Tt=e)}function F0(e){Ie(pt,pt.current),Ie(gt,e),Tt===null&&(Tt=e)}function nR(e){e.tag===22?(Ie(pt,pt.current),Ie(gt,e),Tt===null&&(Tt=e)):Ti()}function Ti(){Ie(pt,pt.current),Ie(gt,gt.current)}function rn(e){ft(gt),Tt===e&&(Tt=null),ft(pt)}var pt=mr(0);function Zc(e,t){Ie(gt,gt.current),Ie(pt,t)}function tS(e){ft(pt),ft(gt),Tt===e&&(Tt=null)}function xp(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||ky(n)||ES(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ur=0,te=null,ze=null,Je=null,wp=!1,Ya=!1,Eo=!1,Tp=0,Vc=0,Ka=null,YN=0;function He(){throw Error(R(321))}function nS(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!dn(e[n],t[n]))return!1;return!0}function rS(e,t,n,i,r,o){return Ur=o,te=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,F.H=e===null||e.memoizedState===null?NR:jR,Eo=!1,o=n(i,r),Eo=!1,Ya&&(o=iR(t,n,i,r)),rR(e),o}function rR(e){F.H=$p;var t=ze!==null&&ze.next!==null;if(Ur=0,Je=ze=te=null,wp=!1,Vc=0,Ka=null,t)throw Error(R(300));e===null||Ke||(e=e.dependencies,e!==null&&bp(e)&&(Ke=!0))}function iR(e,t,n,i){te=e;var r=0;do{if(Ya&&(Ka=null),Vc=0,Ya=!1,25<=r)throw Error(R(301));if(r+=1,Je=ze=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}F.H=nj,o=t(n,i)}while(Ya);return o}function KN(){var e=F.H,t=e.useState()[0];return t=typeof t.then=="function"?ou(t):t,e=e.useState()[0],(ze!==null?ze.memoizedState:null)!==e&&(te.flags|=1024),t}function iS(){var e=Tp!==0;return Tp=0,e}function oS(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function aS(e){if(wp){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}wp=!1}Ur=0,Je=ze=te=null,Ya=!1,Vc=Tp=0,Ka=null}function Ct(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Je===null?te.memoizedState=Je=e:Je=Je.next=e,Je}function Ge(){if(ze===null){var e=te.alternate;e=e!==null?e.memoizedState:null}else e=ze.next;var t=Je===null?te.memoizedState:Je.next;if(t!==null)Je=t,ze=e;else{if(e===null)throw te.alternate===null?Error(R(467)):Error(R(310));ze=e,e={memoizedState:ze.memoizedState,baseState:ze.baseState,baseQueue:ze.baseQueue,queue:ze.queue,next:null},Je===null?te.memoizedState=Je=e:Je=Je.next=e}return Je}function Kp(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ou(e){var t=Vc;return Vc+=1,Ka===null&&(Ka=[]),e=Q2(Ka,e,t),t=te,(Je===null?t.memoizedState:Je.next)===null&&(t=t.alternate,F.H=t===null||t.memoizedState===null?NR:jR),e}function Fp(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ou(e);if(e.$$typeof===kC)return;if(e.$$typeof===or)return mt(e)}throw Error(R(438,String(e)))}function sS(e){var t=null,n=te.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var i=te.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Kp(),te.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),i=0;i<e;i++)n[i]=OC;return t.index++,n}function Mr(e,t){return typeof t=="function"?t(e):t}function Wf(e){var t=Ge();return lS(t,ze,e)}function lS(e,t,n){var i=e.queue;if(i===null)throw Error(R(311));i.lastRenderedReducer=n;var r=e.baseQueue,o=i.pending;if(o!==null){if(r!==null){var a=r.next;r.next=o.next,o.next=a}t.baseQueue=r=o,i.pending=null}if(o=e.baseState,r===null)e.memoizedState=o;else{t=r.next;var s=a=null,l=null,c=t,d=!1;do{var p=c.lane&-536870913;if(p!==c.lane?(de&p)===p:(Ur&p)===p){var m=c.revertLane;if(m===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),p===$o&&(d=!0);else if((Ur&m)===m){c=c.next,m===$o&&(d=!0);continue}else p={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},l===null?(s=l=p,a=o):l=l.next=p,te.lanes|=m,ji|=m;p=c.action,Eo&&n(o,p),o=c.hasEagerState?c.eagerState:n(o,p)}else m={lane:p,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},l===null?(s=l=m,a=o):l=l.next=m,te.lanes|=p,ji|=p;c=c.next}while(c!==null&&c!==t);if(l===null?a=o:l.next=s,!dn(o,e.memoizedState)&&(Ke=!0,d&&(n=Ga,n!==null)))throw n;e.memoizedState=o,e.baseState=a,e.baseQueue=l,i.lastRenderedState=o}return r===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function c0(e){var t=Ge(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var i=n.dispatch,r=n.pending,o=t.memoizedState;if(r!==null){n.pending=null;var a=r=r.next;do o=e(o,a.action),a=a.next;while(a!==r);dn(o,t.memoizedState)||(Ke=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,i]}function oR(e,t,n){var i=te,r=Ge(),o=re;if(o){if(n===void 0)throw Error(R(407));n=n()}else n=t();var a=!dn((ze||r).memoizedState,n);if(a&&(r.memoizedState=n,Ke=!0),r=r.queue,cS(lR.bind(null,i,r,e),[e]),e=r.getSnapshot!==t||a||Je!==null&&(Je.memoizedState.tag&1)!==0,ns(e?9:8,{destroy:void 0},sR.bind(null,i,r,n,t),null),e){if(i.flags|=2048,Te===null)throw Error(R(349));o||(Ur&127)!==0||aR(i,t,n)}return n}function aR(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=te.updateQueue,t===null?(t=Kp(),te.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function sR(e,t,n,i){t.value=n,t.getSnapshot=i,cR(t)&&uR(e)}function lR(e,t,n){return n(function(){cR(t)&&uR(e)})}function cR(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!dn(e,n)}catch{return!0}}function uR(e){var t=jo(e,2);t!==null&&Gt(t,e,2)}function Q0(e){var t=Ct();if(typeof e=="function"){var n=e;if(e=n(),Eo){pi(!0);try{n()}finally{pi(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mr,lastRenderedState:e},t}function dR(e,t,n,i){return e.baseState=n,lS(e,ze,typeof i=="function"?i:Mr)}function FN(e,t,n,i,r){if(Xp(e))throw Error(R(485));if(e=t.action,e!==null){var o={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(a){o.listeners.push(a)}};F.T!==null?n(!0):o.isTransition=!1,i(o),n=t.pending,n===null?(o.next=t.pending=o,mR(t,o)):(o.next=n.next,t.pending=n.next=o)}}function mR(e,t){var n=t.action,i=t.payload,r=e.state;if(t.isTransition){var o=F.T,a={};a.types=o!==null?o.types:null,F.T=a;try{var s=n(r,i),l=F.S;l!==null&&l(a,s),WT(e,t,s)}catch(c){X0(e,t,c)}finally{o!==null&&a.types!==null&&(o.types=a.types),F.T=o}}else try{o=n(r,i),WT(e,t,o)}catch(c){X0(e,t,c)}}function WT(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(i){e$(e,t,i)},function(i){return X0(e,t,i)}):e$(e,t,n)}function e$(e,t,n){t.status="fulfilled",t.value=n,fR(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,mR(e,n)))}function X0(e,t,n){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=n,fR(t),t=t.next;while(t!==i)}e.action=null}function fR(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function pR(e,t){return t}function t$(e,t){if(re){var n=Te.formState;if(n!==null){e:{var i=te;if(re){if(ke){t:{for(var r=ke,o=In;r.nodeType!==8;){if(!o){r=null;break t}if(r=Cn(r.nextSibling),r===null){r=null;break t}}o=r.data,r=o==="F!"||o==="F"?r:null}if(r){ke=Cn(r.nextSibling),i=r.data==="F!";break e}}Ii(i)}i=!1}i&&(t=n[0])}}return n=Ct(),n.memoizedState=n.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pR,lastRenderedState:t},n.queue=i,n=kR.bind(null,te,i),i.dispatch=n,i=Q0(!1),o=fS.bind(null,te,!1,i.queue),i=Ct(),r={state:t,dispatch:null,action:e,pending:null},i.queue=r,n=FN.bind(null,te,r,o,n),r.dispatch=n,i.memoizedState=e,[t,n,!1]}function n$(e){var t=Ge();return hR(t,ze,e)}function hR(e,t,n){if(t=lS(e,t,pR)[0],e=Wf(Mr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=ou(t)}catch(a){throw a===ps?Yp:a}else i=t;t=Ge();var r=t.queue,o=r.dispatch;return n!==t.memoizedState&&(te.flags|=2048,ns(9,{destroy:void 0},QN.bind(null,r,n),null)),[i,o,e]}function QN(e,t){e.action=t}function r$(e){var t=Ge(),n=ze;if(n!==null)return hR(t,n,e);Ge(),t=t.memoizedState,n=Ge();var i=n.queue.dispatch;return n.memoizedState=e,[t,i,!1]}function ns(e,t,n,i){return e={tag:e,create:n,deps:i,inst:t,next:null},t=te.updateQueue,t===null&&(t=Kp(),te.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e),e}function gR(){return Ge().memoizedState}function ep(e,t,n,i){var r=Ct();te.flags|=e,r.memoizedState=ns(1|t,{destroy:void 0},n,i===void 0?null:i)}function Qp(e,t,n,i){var r=Ge();i=i===void 0?null:i;var o=r.memoizedState.inst;ze!==null&&i!==null&&nS(i,ze.memoizedState.deps)?r.memoizedState=ns(t,o,n,i):(te.flags|=e,r.memoizedState=ns(1|t,o,n,i))}function i$(e,t){ep(8390656,8,e,t)}function cS(e,t){Qp(2048,8,e,t)}function XN(e){te.flags|=4;var t=te.updateQueue;if(t===null)t=Kp(),te.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function vR(e){var t=Ge().memoizedState;return XN({ref:t,nextImpl:e}),function(){if((pe&2)!==0)throw Error(R(440));return t.impl.apply(void 0,arguments)}}function yR(e,t){return Qp(4,2,e,t)}function SR(e,t){return Qp(4,4,e,t)}function bR(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function _R(e,t,n){n=n!=null?n.concat([e]):null,Qp(4,4,bR.bind(null,t,e),n)}function uS(){}function zR(e,t){var n=Ge();t=t===void 0?null:t;var i=n.memoizedState;return t!==null&&nS(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function xR(e,t){var n=Ge();t=t===void 0?null:t;var i=n.memoizedState;if(t!==null&&nS(t,i[1]))return i[0];if(i=e(),Eo){pi(!0);try{e()}finally{pi(!1)}}return n.memoizedState=[i,t],i}function dS(e,t,n){return n===void 0||(Ur&1073741824)!==0&&(de&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=h4(),te.lanes|=e,ji|=e,n)}function wR(e,t,n,i){return dn(n,t)?n:Ci.current!==null?(e=dS(e,n,i),dn(e,t)||(Ke=!0),e):(Ur&106)===0||(Ur&1073741824)!==0&&(de&261930)===0?(Ke=!0,e.memoizedState=n):(e=h4(),te.lanes|=e,ji|=e,t)}function TR(e,t,n,i,r){var o=he.p;he.p=o!==0&&8>o?o:8;var a=F.T,s={};s.types=a!==null?a.types:null,F.T=s,fS(e,!1,t,n);try{var l=r(),c=F.S;if(c!==null&&c(s,l),l!==null&&typeof l=="object"&&typeof l.then=="function"){var d=JN(l,i);kc(e,t,d,un(e))}else kc(e,t,i,un(e))}catch(p){kc(e,t,{then:function(){},status:"rejected",reason:p},un())}finally{he.p=o,a!==null&&s.types!==null&&(a.types=s.types),F.T=a}}function WN(){}function W0(e,t,n,i){if(e.tag!==5)throw Error(R(476));var r=$R(e).queue;TR(e,r,t,yo,n===null?WN:function(){return RR(e),n(i)})}function $R(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:yo,baseState:yo,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mr,lastRenderedState:yo},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Mr,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function RR(e){var t=$R(e);t.next===null&&(t=e.alternate.memoizedState),kc(e,t.next.queue,{},un())}function mS(){return mt(cs)}function ER(){return Ge().memoizedState}function OR(){return Ge().memoizedState}function ej(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=un();e=zi(n);var i=xi(t,e,n);i!==null&&(Gt(i,t,n),Rc(i,t,n)),t={cache:Fy()},e.payload=t;return}t=t.return}}function tj(e,t,n){var i=un();n={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Xp(e)?IR(t,n):(n=Jy(e,t,n,i),n!==null&&(Gt(n,e,i),CR(n,t,i)))}function kR(e,t,n){var i=un();kc(e,t,n,i)}function kc(e,t,n,i){var r={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Xp(e))IR(t,r);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(r.hasEagerState=!0,r.eagerState=s,dn(s,a))return Gp(e,t,r,0),Te===null&&Bp(),!1}catch{}if(n=Jy(e,t,r,i),n!==null)return Gt(n,e,i),CR(n,t,i),!0}return!1}function fS(e,t,n,i){if(i={lane:2,revertLane:wS(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Xp(e)){if(t)throw Error(R(479))}else t=Jy(e,n,i,2),t!==null&&Gt(t,e,2)}function Xp(e){var t=e.alternate;return e===te||t!==null&&t===te}function IR(e,t){Ya=wp=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function CR(e,t,n){if((n&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,g2(e,n)}}var $p={readContext:mt,use:Fp,useCallback:He,useContext:He,useEffect:He,useImperativeHandle:He,useLayoutEffect:He,useInsertionEffect:He,useMemo:He,useReducer:He,useRef:He,useState:He,useDebugValue:He,useDeferredValue:He,useTransition:He,useSyncExternalStore:He,useId:He,useHostTransitionStatus:He,useFormState:He,useActionState:He,useOptimistic:He,useMemoCache:He,useCacheRefresh:He,useEffectEvent:He},NR={readContext:mt,use:Fp,useCallback:function(e,t){return Ct().memoizedState=[e,t===void 0?null:t],e},useContext:mt,useEffect:i$,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,ep(4194308,4,bR.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ep(4194308,4,e,t)},useInsertionEffect:function(e,t){ep(4,2,e,t)},useMemo:function(e,t){var n=Ct();t=t===void 0?null:t;var i=e();if(Eo){pi(!0);try{e()}finally{pi(!1)}}return n.memoizedState=[i,t],i},useReducer:function(e,t,n){var i=Ct();if(n!==void 0){var r=n(t);if(Eo){pi(!0);try{n(t)}finally{pi(!1)}}}else r=t;return i.memoizedState=i.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},i.queue=e,e=e.dispatch=tj.bind(null,te,e),[i.memoizedState,e]},useRef:function(e){var t=Ct();return e={current:e},t.memoizedState=e},useState:function(e){e=Q0(e);var t=e.queue,n=kR.bind(null,te,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:uS,useDeferredValue:function(e,t){var n=Ct();return dS(n,e,t)},useTransition:function(){var e=Q0(!1);return e=TR.bind(null,te,e.queue,!0,!1),Ct().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var i=te,r=Ct();if(re){if(n===void 0)throw Error(R(407));n=n()}else{if(n=t(),Te===null)throw Error(R(349));(de&127)!==0||aR(i,t,n)}r.memoizedState=n;var o={value:n,getSnapshot:t};return r.queue=o,i$(lR.bind(null,i,o,e),[e]),i.flags|=2048,ns(9,{destroy:void 0},sR.bind(null,i,o,n,t),null),n},useId:function(){var e=Ct(),t=Te.identifierPrefix;if(re){var n=lr,i=sr;n=(i&~(1<<32-cn(i)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Tp++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=YN++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:mS,useFormState:t$,useActionState:t$,useOptimistic:function(e){var t=Ct();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=fS.bind(null,te,!0,n),n.dispatch=t,[e,t]},useMemoCache:sS,useCacheRefresh:function(){return Ct().memoizedState=ej.bind(null,te)},useEffectEvent:function(e){var t=Ct(),n={impl:e};return t.memoizedState=n,function(){if((pe&2)!==0)throw Error(R(440));return n.impl.apply(void 0,arguments)}}},jR={readContext:mt,use:Fp,useCallback:zR,useContext:mt,useEffect:cS,useImperativeHandle:_R,useInsertionEffect:yR,useLayoutEffect:SR,useMemo:xR,useReducer:Wf,useRef:gR,useState:function(){return Wf(Mr)},useDebugValue:uS,useDeferredValue:function(e,t){var n=Ge();return wR(n,ze.memoizedState,e,t)},useTransition:function(){var e=Wf(Mr)[0],t=Ge().memoizedState;return[typeof e=="boolean"?e:ou(e),t]},useSyncExternalStore:oR,useId:ER,useHostTransitionStatus:mS,useFormState:n$,useActionState:n$,useOptimistic:function(e,t){var n=Ge();return dR(n,ze,e,t)},useMemoCache:sS,useCacheRefresh:OR,useEffectEvent:vR},nj={readContext:mt,use:Fp,useCallback:zR,useContext:mt,useEffect:cS,useImperativeHandle:_R,useInsertionEffect:yR,useLayoutEffect:SR,useMemo:xR,useReducer:c0,useRef:gR,useState:function(){return c0(Mr)},useDebugValue:uS,useDeferredValue:function(e,t){var n=Ge();return ze===null?dS(n,e,t):wR(n,ze.memoizedState,e,t)},useTransition:function(){var e=c0(Mr)[0],t=Ge().memoizedState;return[typeof e=="boolean"?e:ou(e),t]},useSyncExternalStore:oR,useId:ER,useHostTransitionStatus:mS,useFormState:r$,useActionState:r$,useOptimistic:function(e,t){var n=Ge();return ze!==null?dR(n,ze,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:sS,useCacheRefresh:OR,useEffectEvent:vR};function u0(e,t,n,i){t=e.memoizedState,n=n(i,t),n=n==null?t:$e({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ey={enqueueSetState:function(e,t,n){e=e._reactInternals;var i=un(),r=zi(i);r.payload=t,n!=null&&(r.callback=n),t=xi(e,r,i),t!==null&&(Gt(t,e,i),Rc(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=un(),r=zi(i);r.tag=1,r.payload=t,n!=null&&(r.callback=n),t=xi(e,r,i),t!==null&&(Gt(t,e,i),Rc(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=un(),i=zi(n);i.tag=2,t!=null&&(i.callback=t),t=xi(e,i,n),t!==null&&(Gt(t,e,n),Rc(t,e,n))}};function o$(e,t,n,i,r,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,o,a):t.prototype&&t.prototype.isPureReactComponent?!Dc(n,i)||!Dc(r,o):!0}function a$(e,t,n,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==e&&ey.enqueueReplaceState(t,t.state,null)}function Oo(e,t){var n=t;if("ref"in t){n={};for(var i in t)i!=="ref"&&(n[i]=t[i])}if(e=e.defaultProps){n===t&&(n=$e({},n));for(var r in e)n[r]===void 0&&(n[r]=e[r])}return n}function AR(e){gp(e)}function PR(e){console.error(e)}function UR(e){gp(e)}function Rp(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(i){setTimeout(function(){throw i})}}function s$(e,t,n){try{var i=e.onCaughtError;i(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function ty(e,t,n){return n=zi(n),n.tag=3,n.payload={element:null},n.callback=function(){Rp(e,t)},n}function MR(e){return e=zi(e),e.tag=3,e}function DR(e,t,n,i){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var o=i.value;e.payload=function(){return r(o)},e.callback=function(){s$(t,n,i)}}var a=n.stateNode;a!==null&&typeof a.componentDidCatch=="function"&&(e.callback=function(){s$(t,n,i),typeof r!="function"&&($i===null?$i=new Set([this]):$i.add(this));var s=i.stack;this.componentDidCatch(i.value,{componentStack:s!==null?s:""})})}function rj(e,t,n,i,r){if(n.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=n.alternate,t!==null&&wo(t,n,r,!0),n=gt.current,n!==null){switch(n.tag){case 31:case 13:case 19:return Tt===null?Ap():n.alternate===null&&Ze===0&&(Ze=3),n.flags&=-257,n.flags|=65536,n.lanes=r,i===_p?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([i]):t.add(i),v0(e,i,r)),!1;case 22:return n.flags|=65536,i===_p?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([i]):n.add(i)),v0(e,i,r)),!1}throw Error(R(435,n.tag))}return v0(e,i,r),Ap(),!1}if(re)return t=gt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,i!==Z0&&(e=Error(R(422),{cause:i}),qc(kn(e,n)))):(i!==Z0&&(t=Error(R(423),{cause:i}),qc(kn(t,n))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,i=kn(i,n),r=ty(e.stateNode,i,r),l0(e,r),Ze!==4&&(Ze=2)),!1;var o=Error(R(520),{cause:i});if(o=kn(o,n),jc===null?jc=[o]:jc.push(o),Ze!==4&&(Ze=2),t===null)return!0;i=kn(i,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=r&-r,n.lanes|=e,e=ty(n.stateNode,i,e),l0(n,e),!1;case 1:if(t=n.type,o=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&($i===null||!$i.has(o))))return n.flags|=65536,r&=-r,n.lanes|=r,r=MR(r),DR(r,e,n,i),l0(n,r),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}var pS=Error(R(461)),Ke=!1;function Xe(e,t,n,i){t.child=e===null?W2(t,null,n,i):Ro(t,e.child,n,i)}function l$(e,t,n,i,r){n=n.render;var o=t.ref;if("ref"in i){var a={};for(var s in i)s!=="ref"&&(a[s]=i[s])}else a=i;return To(t),i=rS(e,t,n,a,o,r),s=iS(),e!==null&&!Ke?(oS(e,t,r),Dr(e,t,r)):(re&&s&&Jp(t),t.flags|=1,Xe(e,t,i,r),t.child)}function c$(e,t,n,i,r){if(e===null){var o=n.type;return typeof o=="function"&&!Yy(o)&&o.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=o,LR(e,t,o,i,r)):(e=Ff(n.type,null,i,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!gS(e,r)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:Dc,n(a,i)&&e.ref===t.ref)return Dr(e,t,r)}return t.flags|=1,e=Nr(o,i),e.ref=t.ref,e.return=t,t.child=e}function LR(e,t,n,i,r){if(e!==null){var o=e.memoizedProps;if(Dc(o,i)&&e.ref===t.ref)if(Ke=!1,t.pendingProps=i=o,gS(e,r))(e.flags&131072)!==0&&(Ke=!0);else return t.lanes=e.lanes,Dr(e,t,r)}return ny(e,t,n,i,r)}function qR(e,t,n,i){var r=i.children,o=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((t.flags&128)!==0){if(o=o!==null?o.baseLanes|n:n,e!==null){for(i=t.child=e.child,r=0;i!==null;)r=r|i.lanes|i.childLanes,i=i.sibling;i=r&~o}else i=0,t.child=null;return u$(e,t,o,n,i)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Xf(t,o!==null?o.cachePool:null),o!==null?XT(t,o):K0(),nR(t);else return i=t.lanes=536870912,u$(e,t,o!==null?o.baseLanes|n:n,n,i)}else o!==null?(Xf(t,o.cachePool),XT(t,o),Ti(),t.memoizedState=null):(e!==null&&Xf(t,null),K0(),Ti());return Xe(e,t,r,n),t.child}function Ic(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function u$(e,t,n,i,r){var o=Qy();return o=o===null?null:{parent:Ye._currentValue,pool:o},t.memoizedState={baseLanes:n,cachePool:o},e!==null&&Xf(t,null),K0(),nR(t),e!==null&&wo(e,t,i,!0),t.childLanes=r,null}function tp(e,t){return t=Wp({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function d$(e,t,n){return Ro(t,e.child,null,n),e=tp(t,t.pendingProps),e.flags|=2,rn(t),t.memoizedState=null,e}function ij(e,t,n){var i=t.pendingProps,r=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(re){if(i.mode==="hidden")return e=tp(t,i),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Ic(null,e);if(F0(t),(e=ke)?(e=q4(e,In),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ki!==null?{id:sr,overflow:lr}:null,retryLane:536870912,hydrationErrors:null},n=G2(e),n.return=t,t.child=n,at=t,ke=null)):e=null,e===null)throw Ii(t);return t.lanes=536870912,null}return tp(t,i)}var o=e.memoizedState;if(o!==null){var a=o.dehydrated;if(F0(t),r)if(t.flags&256)t.flags&=-257,t=d$(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(R(558));else if(Ke||wo(e,t,n,!1),r=(n&e.childLanes)!==0,Ke||r){if(Ci.current===null){if(i=Te,i!==null&&(a=v2(i,n),a!==0&&a!==o.retryLane))throw o.retryLane=a,jo(e,a),Gt(i,e,a),pS;Ap()}t=d$(e,t,n)}else e=o.treeContext,ke=Cn(a.nextSibling),at=t,re=!0,_i=null,In=!1,e!==null&&Y2(t,e),t=tp(t,i),t.flags|=134221824;return t}return e=Nr(e.child,{mode:i.mode,children:i.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Ea(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(R(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function ny(e,t,n,i,r){return To(t),n=rS(e,t,n,i,void 0,r),i=iS(),e!==null&&!Ke?(oS(e,t,r),Dr(e,t,r)):(re&&i&&Jp(t),t.flags|=1,Xe(e,t,n,r),t.child)}function m$(e,t,n,i,r,o){return To(t),t.updateQueue=null,n=iR(t,i,n,r),rR(e),i=iS(),e!==null&&!Ke?(oS(e,t,o),Dr(e,t,o)):(re&&i&&Jp(t),t.flags|=1,Xe(e,t,n,o),t.child)}function f$(e,t,n,i,r){if(To(t),t.stateNode===null){var o=Da,a=n.contextType;typeof a=="object"&&a!==null&&(o=mt(a)),o=new n(i,o),t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=ey,t.stateNode=o,o._reactInternals=t,o=t.stateNode,o.props=i,o.state=t.memoizedState,o.refs={},Wy(t),a=n.contextType,o.context=typeof a=="object"&&a!==null?mt(a):Da,o.state=t.memoizedState,a=n.getDerivedStateFromProps,typeof a=="function"&&(u0(t,n,a,i),o.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(a=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),a!==o.state&&ey.enqueueReplaceState(o,o.state,null),Oc(t,i,o,r),Ec(),o.state=t.memoizedState),typeof o.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(e===null){o=t.stateNode;var s=t.memoizedProps,l=Oo(n,s);o.props=l;var c=o.context,d=n.contextType;a=Da,typeof d=="object"&&d!==null&&(a=mt(d));var p=n.getDerivedStateFromProps;d=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function",s=t.pendingProps!==s,d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s||c!==a)&&a$(t,o,i,a),mi=!1;var m=t.memoizedState;o.state=m,Oc(t,i,o,r),Ec(),c=t.memoizedState,s||m!==c||mi?(typeof p=="function"&&(u0(t,n,p,i),c=t.memoizedState),(l=mi||o$(t,n,l,i,m,c,a))?(d||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=c),o.props=i,o.state=c,o.context=a,i=l):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{o=t.stateNode,J0(e,t),a=t.memoizedProps,d=Oo(n,a),o.props=d,p=t.pendingProps,m=o.context,c=n.contextType,l=Da,typeof c=="object"&&c!==null&&(l=mt(c)),s=n.getDerivedStateFromProps,(c=typeof s=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==p||m!==l)&&a$(t,o,i,l),mi=!1,m=t.memoizedState,o.state=m,Oc(t,i,o,r),Ec();var f=t.memoizedState;a!==p||m!==f||mi||e!==null&&e.dependencies!==null&&bp(e.dependencies)?(typeof s=="function"&&(u0(t,n,s,i),f=t.memoizedState),(d=mi||o$(t,n,d,i,m,f,l)||e!==null&&e.dependencies!==null&&bp(e.dependencies))?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(i,f,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(i,f,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=f),o.props=i,o.state=f,o.context=l,i=d):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),i=!1)}return o=i,Ea(e,t),i=(t.flags&128)!==0,o||i?(o=t.stateNode,n=i&&typeof n.getDerivedStateFromError!="function"?null:o.render(),t.flags|=1,e!==null&&i?(t.child=Ro(t,e.child,null,r),t.child=Ro(t,null,n,r)):Xe(e,t,n,r),t.memoizedState=o.state,e=t.child):e=Dr(e,t,r),e}function p$(e,t,n,i){return xo(),t.flags|=256,Xe(e,t,n,i),t.child}var ry={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function iy(e){return{baseLanes:e,cachePool:F2()}}function oy(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=an),e}function HR(e,t,n){var i=t.pendingProps,r=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(pt.current&2)!==0),a&&(r=!0,t.flags&=-129),a=(t.flags&32)!==0,t.flags&=-33,e===null){if(re){if(r?wi(t):Ti(),(e=ke)?(e=q4(e,In),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ki!==null?{id:sr,overflow:lr}:null,retryLane:536870912,hydrationErrors:null},n=G2(e),n.return=t,t.child=n,at=t,ke=null)):e=null,e===null)throw Ii(t);return ES(e)?t.lanes=32:t.lanes=536870912,null}return o=i.children,i=i.fallback,r?(Ti(),r=t.mode,o=Wp({mode:"hidden",children:o},r),i=So(i,r,n,null),o.return=t,i.return=t,o.sibling=i,t.child=o,i=t.child,i.memoizedState=iy(n),i.childLanes=oy(e,a,n),t.memoizedState=ry,Ic(null,i)):(wi(t),hS(t,o))}var s=e.memoizedState;if(s!==null){var l=s.dehydrated;if(l!==null)return oj(e,t,o,a,i,l,s,n)}return r?(Ti(),r=i.fallback,o=t.mode,s=e.child,l=s.sibling,i=Nr(s,{mode:"hidden",children:i.children}),i.subtreeFlags=s.subtreeFlags&1206910976,l!==null?r=Nr(l,r):(r=So(r,o,n,null),r.flags|=2),r.return=t,i.return=t,i.sibling=r,t.child=i,Ic(null,i),i=t.child,r=e.child.memoizedState,r===null?r=iy(n):(o=r.cachePool,o!==null?(s=Ye._currentValue,o=o.parent!==s?{parent:s,pool:s}:o):o=F2(),r={baseLanes:r.baseLanes|n,cachePool:o}),i.memoizedState=r,i.childLanes=oy(e,a,n),t.memoizedState=ry,Ic(e.child,i)):(wi(t),n=e.child,e=n.sibling,n=Nr(n,{mode:"visible",children:i.children}),n.return=t,n.sibling=null,e!==null&&(a=t.deletions,a===null?(t.deletions=[e],t.flags|=16):a.push(e)),t.child=n,t.memoizedState=null,n)}function hS(e,t){return t=Wp({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Wp(e,t){return e=Bt(22,e,null,t),e.lanes=0,e}function Pf(e,t,n){return Ro(t,e.child,null,n),e=hS(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function oj(e,t,n,i,r,o,a,s){if(n)return t.flags&256?(wi(t),t.flags&=-257,Pf(e,t,s)):t.memoizedState!==null?(Ti(),t.child=e.child,t.flags|=128,null):(Ti(),o=r.fallback,a=t.mode,r=Wp({mode:"visible",children:r.children},a),o=So(o,a,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,Ro(t,e.child,null,s),r=t.child,r.memoizedState=iy(s),r.childLanes=oy(e,i,s),t.memoizedState=ry,Ic(null,r));if(wi(t),ES(o)){if(i=o.nextSibling&&o.nextSibling.dataset,i)var l=i.dgst;return i=l,i!==""&&(r=Error(R(419)),r.stack="",r.digest=i,qc({value:r,source:null,stack:null})),Pf(e,t,s)}if(Ke||wo(e,t,s,!1),i=(s&e.childLanes)!==0,Ke||i){if(Ci.current!==null)return Pf(e,t,s);if(i=Te,i!==null&&(r=v2(i,s),r!==0&&r!==a.retryLane))throw a.retryLane=r,jo(e,r),Gt(i,e,r),pS;return ky(o)||Ap(),Pf(e,t,s)}return ky(o)?(t.flags|=192,t.child=e.child,null):(e=a.treeContext,ke=Cn(o.nextSibling),at=t,re=!0,_i=null,In=!1,e!==null&&Y2(t,e),t=hS(t,r.children),t.flags|=134221824,t)}function h$(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),Qf(e.return,t,n)}function g$(e){for(var t=null;e!==null;){var n=e.alternate;n!==null&&xp(n)===null&&(t=e),e=e.sibling}return t}function Uf(e,t,n,i,r,o){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:r,treeForkCount:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=i,a.tail=n,a.tailMode=r,a.treeForkCount=o)}function d0(e){var t=e.child;for(e.child=null;t!==null;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function ay(e,t,n){var i=t.pendingProps,r=i.revealOrder,o=i.tail;i=i.children;var a=pt.current;if(t.flags&128)return Zc(t,a),null;var s=(a&2)!==0;if(s?(a=a&1|2,t.flags|=128):a&=1,Zc(t,a),r==="backwards"&&e!==null?(d0(e),Xe(e,t,i,n),d0(e)):Xe(e,t,i,n),i=re?Lc:0,!s&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&h$(e,n,t);else if(e.tag===19)h$(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(r){case"backwards":n=g$(t.child),n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null,d0(t)),Uf(t,!0,r,null,o,i);break;case"unstable_legacy-backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&xp(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}Uf(t,!0,n,null,o,i);break;case"together":Uf(t,!1,null,null,void 0,i);break;case"independent":t.memoizedState=null;break;default:n=g$(t.child),n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),Uf(t,!1,r,n,o,i)}return t.child}function v$(e,t,n){var i=t.pendingProps;return gi(t,t.type,i.value),Xe(e,t,i.children,n),t.child}function Dr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ji|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(wo(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(R(153));if(t.child!==null){for(e=t.child,n=Nr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Nr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function gS(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&bp(e)))}function aj(e,t,n){switch(t.tag){case 3:mp(t,t.stateNode.containerInfo),gi(t,Ye,e.memoizedState.cache),xo();break;case 27:case 5:N0(t);break;case 4:mp(t,t.stateNode.containerInfo);break;case 10:gi(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,F0(t),null;break;case 13:var i=t.memoizedState;if(i!==null){if(i.dehydrated!==null)return wi(t),t.flags|=128,null;i=wo(e,t,n,!1);var r=t.child.childLanes;return i||(n&r)!==0?HR(e,t,n):(wi(t),e=Dr(e,t,n),e!==null?e.sibling:null)}wi(t);break;case 19:if(t.flags&128)return ay(e,t,n);if(r=(e.flags&128)!==0,i=(n&t.childLanes)!==0,i||(wo(e,t,n,!1),i=(n&t.childLanes)!==0),r){if(i)return ay(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Zc(t,pt.current),i)break;return null;case 22:return t.lanes=0,qR(e,t,n,t.pendingProps);case 24:gi(t,Ye,e.memoizedState.cache)}return Dr(e,t,n)}function ZR(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ke=!0;else{if(!gS(e,n)&&(t.flags&128)===0)return Ke=!1,aj(e,t,n);Ke=(e.flags&131072)!==0}else Ke=!1,re&&(t.flags&1048576)!==0&&J2(t,Lc,t.index);switch(t.lanes=0,t.tag){case 16:e:{var i=t.pendingProps;if(e=po(t.elementType),t.type=e,typeof e=="function")Yy(e)?(i=Oo(e,i),t.tag=1,t=f$(null,t,e,i,n)):(t.tag=0,t=ny(null,t,e,i,n));else{if(e!=null){var r=e.$$typeof;if(r===Ay){t.tag=11,t=l$(null,t,e,i,n);break e}else if(r===Py){t.tag=14,t=c$(null,t,e,i,n);break e}else if(r===or){t.tag=10,t.type=e,t=v$(null,t,n);break e}}throw t=I0(e)||e,Error(R(306,t,""))}}return t;case 0:return ny(e,t,t.type,t.pendingProps,n);case 1:return i=t.type,r=Oo(i,t.pendingProps),f$(e,t,i,r,n);case 3:e:{if(mp(t,t.stateNode.containerInfo),e===null)throw Error(R(387));i=t.pendingProps;var o=t.memoizedState;r=o.element,J0(e,t),Oc(t,i,null,n);var a=t.memoizedState;if(i=a.cache,gi(t,Ye,i),i!==o.cache&&B0(t,[Ye],n,!0),Ec(),i=a.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:a.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=p$(e,t,i,n);break e}else if(i!==r){r=kn(Error(R(424)),t),qc(r),t=p$(e,t,i,n);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,ke=Cn(e.firstChild),at=t,re=!0,_i=null,In=!0,n=W2(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling;else{if(xo(),i===r){t=Dr(e,t,n);break e}Xe(e,t,i,n)}t=t.child}return t;case 26:return Ea(e,t),e===null?(n=V$(t.type,null,t.pendingProps,null))?t.memoizedState=n:re||(t.stateNode=C4(t.type,t.pendingProps,bi.current,t)):t.memoizedState=V$(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return N0(t),e===null&&re&&(i=t.stateNode=H4(t.type,t.pendingProps,bi.current),at=t,In=!0,r=ke,Pi(t.type)?(Iy=r,ke=Cn(i.firstChild)):ke=r),Xe(e,t,t.pendingProps.children,n),Ea(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&re&&((r=i=ke)&&(i=Xj(i,t.type,t.pendingProps,In),i!==null?(t.stateNode=i,at=t,ke=Cn(i.firstChild),In=!1,r=!0):r=!1),r||Ii(t)),N0(t),r=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,i=o.children,Ry(r,o)?i=null:a!==null&&Ry(r,a)&&(t.flags|=32),t.memoizedState!==null&&(r=rS(e,t,KN,null,null,n),cs._currentValue=r),Ea(e,t),Xe(e,t,i,n),t.child;case 6:return e===null&&re&&((e=n=ke)&&(n=Wj(n,t.pendingProps,In),n!==null?(t.stateNode=n,at=t,ke=null,e=!0):e=!1),e||Ii(t)),null;case 13:return HR(e,t,n);case 4:return mp(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Ro(t,null,i,n):Xe(e,t,i,n),t.child;case 11:return l$(e,t,t.type,t.pendingProps,n);case 7:return i=t.pendingProps,Ea(e,t),Xe(e,t,i,n),t.child;case 8:return Xe(e,t,t.pendingProps.children,n),t.child;case 12:return Xe(e,t,t.pendingProps.children,n),t.child;case 10:return v$(e,t,n);case 9:return r=t.type._context,i=t.pendingProps.children,To(t),r=mt(r),i=i(r),t.flags|=1,Xe(e,t,i,n),t.child;case 14:return c$(e,t,t.type,t.pendingProps,n);case 15:return LR(e,t,t.type,t.pendingProps,n);case 19:return ay(e,t,n);case 31:return ij(e,t,n);case 22:return qR(e,t,n,t.pendingProps);case 24:return To(t),i=mt(Ye),e===null?(r=Qy(),r===null&&(r=Te,o=Fy(),r.pooledCache=o,o.refCount++,o!==null&&(r.pooledCacheLanes|=n),r=o),t.memoizedState={parent:i,cache:r},Wy(t),gi(t,Ye,r)):((e.lanes&n)!==0&&(J0(e,t),Oc(t,null,null,n),Ec()),r=e.memoizedState,o=t.memoizedState,r.parent!==i?(r={parent:i,cache:i},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),gi(t,Ye,i)):(i=o.cache,gi(t,Ye,i),i!==r.cache&&B0(t,[Ye],n,!0))),Xe(e,t,t.pendingProps.children,n),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),i=t.pendingProps,i.name!=null&&i.name!=="auto"?t.flags|=e===null?18882560:18874368:re&&Jp(t),e!==null&&e.memoizedProps.name!==i.name?t.flags|=4194816:Ea(e,t),Xe(e,t,i.children,n),t.child;case 29:throw t.pendingProps}throw Error(R(156,t.tag))}function kr(e){e.flags|=4}function m0(e,t,n,i,r){var o;if((o=(e.mode&32)!==0)&&(o=n===null?J$(t,i):J$(t,i)&&(i.src!==n.src||i.srcSet!==n.srcSet)),o){if(e.flags|=16777216,(r&335544128)===r)if(e.stateNode.complete)e.flags|=8192;else if(y4())e.flags|=8192;else throw _o=_p,Xy}else e.flags&=-16777217}function y$(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!G4(t))if(y4())e.flags|=8192;else throw _o=_p,Xy}function Mf(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?p2():536870912,e.lanes|=t,rs|=t)}function pc(e,t){if(!re)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null;break;default:for(t=e.tail,n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null}}function Oe(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,i=0;if(t)for(var r=e.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags&1206910976,i|=r.flags&1206910976,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags,i|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function sj(e,t,n){var i=t.pendingProps;switch(Ky(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Oe(t),null;case 1:return Oe(t),null;case 3:return n=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),jr(Ye),Wa(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&($a(t)?kr(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,s0())),Oe(t),null;case 26:var r=t.type,o=t.memoizedState;return e===null?(kr(t),o!==null?(Oe(t),y$(t,o)):(Oe(t),m0(t,r,null,i,n))):o?o!==e.memoizedState?(kr(t),Oe(t),y$(t,o)):(Oe(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&kr(t),Oe(t),m0(t,r,e,i,n)),null;case 27:if(fp(t),n=bi.current,r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&kr(t);else{if(!i){if(t.stateNode===null)throw Error(R(166));return Oe(t),t.subtreeFlags&=-33554433,null}e=cr.current,$a(t)?BT(t,e):(e=H4(r,i,n),t.stateNode=e,kr(t))}return Oe(t),t.subtreeFlags&=-33554433,null;case 5:if(fp(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&kr(t);else{if(!i){if(t.stateNode===null)throw Error(R(166));return Oe(t),t.subtreeFlags&=-33554433,null}if(o=cr.current,$a(t))BT(t,o);else{var a=Jc(bi.current);switch(o){case 1:o=a.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:o=a.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":o=a.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":o=a.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":o=a.createElement("div"),o.innerHTML="<script><\\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof i.is=="string"?a.createElement("select",{is:i.is}):a.createElement("select"),i.multiple?o.multiple=!0:i.size&&(o.size=i.size);break;default:o=typeof i.is=="string"?a.createElement(r,{is:i.is}):a.createElement(r)}}o[dt]=t,o[Yt]=i;e:for(a=t.child;a!==null;){if(a.tag===5||a.tag===6)o.appendChild(a.stateNode);else if(a.tag!==4&&a.tag!==27&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break e;for(;a.sibling===null;){if(a.return===null||a.return===t)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}t.stateNode=o;e:switch(ht(o,r,i),r){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&kr(t)}}return Oe(t),t.subtreeFlags&=-33554433,m0(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&kr(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(R(166));if(e=bi.current,$a(t)){if(e=t.stateNode,n=t.memoizedProps,i=null,r=at,r!==null)switch(r.tag){case 27:case 5:i=r.memoizedProps}e[dt]=t,e=!!(e.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||k4(e.nodeValue,n)),e||Ii(t,!0)}else e=Jc(e).createTextNode(i),e[dt]=t,t.stateNode=e}return Oe(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(i=$a(t),n!==null){if(e===null){if(!i)throw Error(R(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(557));e[dt]=t}else xo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Oe(t),e=!1}else n=s0(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(rn(t),t):(rn(t),null);if((t.flags&128)!==0)throw Error(R(558))}return Oe(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=$a(t),i!==null&&i.dehydrated!==null){if(e===null){if(!r)throw Error(R(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(R(317));r[dt]=t}else xo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Oe(t),r=!1}else r=s0(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(rn(t),t):(rn(t),null)}return rn(t),(t.flags&128)!==0?(t.lanes=n,t):(n=i!==null,e=e!==null&&e.memoizedState!==null,n&&(i=t.child,r=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(r=i.alternate.memoizedState.cachePool.pool),o=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(o=i.memoizedState.cachePool.pool),o!==r&&(i.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Mf(t,t.updateQueue),Oe(t),null);case 4:return Wa(),e===null&&TS(t.stateNode.containerInfo),t.flags|=67108864,Oe(t),null;case 10:return jr(t.type),Oe(t),null;case 19:if(tS(t),i=t.memoizedState,i===null)return Oe(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)pc(i,!1);else{if(Ze!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(o=xp(e),o!==null){for(t.flags|=128,pc(i,!1),e=o.updateQueue,t.updateQueue=e,Mf(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)B2(n,e),n=n.sibling;return Zc(t,pt.current&1|2),re&&Ir(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&sn()>Np&&(t.flags|=128,r=!0,pc(i,!1),t.lanes=4194304)}else{if(!r)if(e=xp(o),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,Mf(t,e),pc(i,!0),i.tail===null&&i.tailMode!=="collapsed"&&i.tailMode!=="visible"&&!o.alternate&&!re)return Oe(t),null}else 2*sn()-i.renderingStartTime>Np&&n!==536870912&&(t.flags|=128,r=!0,pc(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(e=i.last,e!==null?e.sibling=o:t.child=o,i.last=o)}if(i.tail!==null){e=i.tail;e:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break e}n=n.sibling}n=!0}return i.rendering=e,i.tail=e.sibling,i.renderingStartTime=sn(),e.sibling=null,o=pt.current,o=r?o&1|2:o&1,i.tailMode==="visible"||i.tailMode==="collapsed"||!n||re?Zc(t,o):(n=o,Ie(gt,t),Ie(pt,n),Tt===null&&(Tt=t)),re&&Ir(t,i.treeForkCount),e}return Oe(t),null;case 22:case 23:return rn(t),eS(),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(n&536870912)!==0&&(t.flags&128)===0&&(Oe(t),t.subtreeFlags&6&&(t.flags|=8192)):Oe(t),n=t.updateQueue,n!==null&&Mf(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==n&&(t.flags|=2048),e!==null&&ft(bo),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),jr(Ye),Oe(t),null;case 25:return null;case 30:return t.flags|=33554432,Oe(t),null}throw Error(R(156,t.tag))}function lj(e,t){switch(Ky(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return jr(Ye),Wa(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return fp(t),null;case 31:if(t.memoizedState!==null){if(rn(t),t.alternate===null)throw Error(R(340));xo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(rn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));xo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return tS(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return Wa(),null;case 10:return jr(t.type),null;case 22:case 23:return rn(t),eS(),e!==null&&ft(bo),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return jr(Ye),null;case 25:return null;default:return null}}function VR(e,t){switch(Ky(t),t.tag){case 3:jr(Ye),Wa();break;case 26:case 27:case 5:fp(t);break;case 4:Wa();break;case 31:t.memoizedState!==null&&rn(t);break;case 13:rn(t);break;case 19:tS(t);break;case 10:jr(t.type);break;case 22:case 23:rn(t),eS(),e!==null&&ft(bo);break;case 24:jr(Ye)}}function au(e,t){try{var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var r=i.next;n=r;do{if((n.tag&e)===e){i=void 0;var o=n.create,a=n.inst;i=o(),a.destroy=i}n=n.next}while(n!==r)}}catch(s){_e(t,t.return,s)}}function Ni(e,t,n){try{var i=t.updateQueue,r=i!==null?i.lastEffect:null;if(r!==null){var o=r.next;i=o;do{if((i.tag&e)===e){var a=i.inst,s=a.destroy;if(s!==void 0){a.destroy=void 0,r=t;var l=n,c=s;try{c()}catch(d){_e(r,l,d)}}}i=i.next}while(i!==o)}}catch(d){_e(t,t.return,d)}}function BR(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{tR(t,n)}catch(i){_e(e,e.return,i)}}}function GR(e,t,n){n.props=Oo(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(i){_e(e,t,i)}}function rr(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:var r=e.stateNode,o=Pr(e.memoizedProps,r);(r.ref===null||r.ref.name!==o)&&(r.ref=P4(o)),i=r.ref;break;case 7:if(e.stateNode===null){var a=new mn(e);Jt(e.child,!1,Fj,a,void 0,void 0),e.stateNode=a}i=e.stateNode;break;default:i=e.stateNode}typeof n=="function"?e.refCleanup=n(i):n.current=i}}catch(s){_e(e,t,s)}}function ut(e,t){var n=e.ref,i=e.refCleanup;if(n!==null)if(typeof i=="function")try{i()}catch(r){_e(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(r){_e(e,t,r)}else n.current=null}function Ep(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n<t.length;n++)L4(e.stateNode,t[n])}function S$(e){for(var t=e.return;t!==null&&(yS(t)&&L4(e.stateNode,t.stateNode),!vS(t));)t=t.return}function Cc(e){for(var t=e.return;t!==null&&(yS(t)&&Qj(e.stateNode,t.stateNode),!vS(t));)t=t.return}function vS(e){return e.tag===5||e.tag===3||e.tag===27}function yS(e){return e&&e.tag===7&&e.stateNode!==null}function sy(e){var t=e.type,n=e.memoizedProps,i=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&i.focus();break e;case"img":n.src?i.src=n.src:n.srcSet&&(i.srcset=n.srcSet)}}catch(r){_e(e,e.return,r)}}function f0(e,t,n){try{var i=e.stateNode;Cj(i,e.type,n,t),i[Yt]=t}catch(r){_e(e,e.return,r)}}function JR(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Pi(e.type)||e.tag===4}function p0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||JR(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Pi(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ly(e,t,n,i){var r=e.tag;if(r===5||r===6)r=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(r,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(r),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ar)),Ep(e,i),fe=!0;else if(r!==4&&(r===27&&(Ep(e,i),i=null,Pi(e.type)&&(n=e.stateNode,t=null)),e=e.child,e!==null))for(ly(e,t,n,i),e=e.sibling;e!==null;)ly(e,t,n,i),e=e.sibling}function Op(e,t,n,i){var r=e.tag;if(r===5||r===6)r=e.stateNode,t?n.insertBefore(r,t):n.appendChild(r),Ep(e,i),fe=!0;else if(r!==4&&(r===27&&(Ep(e,i),i=null,Pi(e.type)&&(n=e.stateNode)),e=e.child,e!==null))for(Op(e,t,n,i),e=e.sibling;e!==null;)Op(e,t,n,i),e=e.sibling}function YR(e){var t=e.stateNode,n=e.memoizedProps;try{for(var i=e.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);ht(t,i,n),t[dt]=e,t[Yt]=n}catch(o){_e(e,e.return,o)}}var kp=!1,on=null;function b$(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(kp=!0)}var ir=null;function _$(){var e=ir;return ir=null,e}var Vt=0;function hs(e,t,n,i,r){return Vt=0,KR(e.child,t,n,i,r)}function KR(e,t,n,i,r){for(var o=!1;e!==null;){if(e.tag===5){var a=e.stateNode;if(i!==null){var s=Ey(a);i.push(s),s.view&&(o=!0)}else o||Ey(a).view&&(o=!0);kp=!0,N4(a,Vt===0?t:t+"_"+Vt,n),Vt++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&r||KR(e.child,t,n,i,r)&&(o=!0));e=e.sibling}return o}function dr(e,t){for(;e!==null;)e.tag===5?j4(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||dr(e.child,t)),e=e.sibling}function np(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(np(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name==="auto")throw Error(R(544));var n=t.name;t=Hr(t.default,t.share),t!=="none"&&(hs(e,n,t,null,!1)||dr(e.child,!1))}e=e.sibling}}function cy(e,t){if(e.tag===30){var n=e.stateNode,i=e.memoizedProps,r=Pr(i,n),o=Hr(i.default,n.paired?i.share:i.enter);o!=="none"?hs(e,r,o,null,!1)?(np(e),n.paired||t||is(e,i.onEnter)):dr(e.child,!1):np(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)cy(e,t),e=e.sibling;else np(e)}function uy(e){if(on!==null&&on.size!==0){var t=on;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var n=e.memoizedProps,i=n.name;if(i!=null&&i!=="auto"){var r=t.get(i);if(r!==void 0){var o=Hr(n.default,n.share);if(o!=="none"&&(hs(e,i,o,null,!1)?(o=e.stateNode,r.paired=o,o.paired=r,is(e,n.onShare)):dr(e.child,!1)),t.delete(i),t.size===0)break}}}uy(e)}e=e.sibling}}}function dy(e){if(e.tag===30){var t=e.memoizedProps,n=Pr(t,e.stateNode),i=on!==null?on.get(n):void 0,r=Hr(t.default,i!==void 0?t.share:t.exit);r!=="none"&&(hs(e,n,r,null,!1)?i!==void 0?(r=e.stateNode,i.paired=r,r.paired=i,on.delete(n),is(e,t.onShare)):is(e,t.onExit):dr(e.child,!1)),on!==null&&uy(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)dy(e),e=e.sibling;else on!==null&&uy(e)}function FR(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,n=Pr(t,e.stateNode);t=Hr(t.default,t.update),e.flags&=-5,t!=="none"&&hs(e,n,t,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&FR(e);e=e.sibling}}function my(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.stateNode;t.paired!==null&&(t.paired=null,dr(e.child,!1))}my(e)}e=e.sibling}}function rp(e){if(e.tag===30)e.stateNode.paired=null,dr(e.child,!1),my(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)rp(e),e=e.sibling;else my(e)}function QR(e){for(e=e.child;e!==null;)e.tag===30?dr(e.child,!1):(e.subtreeFlags&33554432)!==0&&QR(e),e=e.sibling}function SS(e,t,n,i,r,o,a){for(var s=!1;t!==null;){if(t.tag===5){var l=t.stateNode;if(o!==null&&Vt<o.length){var c=o[Vt],d=Ey(l);(c.view||d.view)&&(s=!0);var p;if(p=(e.flags&4)===0)if(d.clip)p=!0;else{p=c.rect;var m=d.rect;p=p.y!==m.y||p.x!==m.x||p.height!==m.height||p.width!==m.width}p&&(e.flags|=4),d.abs?d=!c.abs:(c=c.rect,d=d.rect,d=c.height!==d.height||c.width!==d.width),d&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&N4(l,Vt===0?n:n+"_"+Vt,r),s&&(e.flags&4)!==0||(ir===null&&(ir=[]),ir.push(l,Vt===0?i:i+"_"+Vt,t.memoizedProps)),Vt++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&a?e.flags|=t.flags&32:SS(e,t.child,n,i,r,o,a)&&(s=!0));t=t.sibling}return s}function XR(e,t){for(e=e.child;e!==null;){if(e.tag===30){var n=e.memoizedProps,i=e.stateNode,r=Pr(n,i),o=Hr(n.default,n.update);if(t){i=i.clones;var a=i===null?null:i.map(Mj)}else a=e.memoizedState,e.memoizedState=null;i=e;var s=e.child;Vt=0,r=SS(i,s,r,r,o,a,!1),(e.flags&4)!==0&&r&&(t||is(e,n.onUpdate))}else(e.subtreeFlags&33554432)!==0&&XR(e,t);e=e.sibling}}var rt=!1,ve=!1,er=!1,h0=!1,z$=typeof WeakSet=="function"?WeakSet:Set,it=null,tr=!1,zc=!1,Ip=!1,fy=!1;function cj(e,t,n){if(e=e.containerInfo,Ty=us,e=U2(e),By(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var r=i.getSelection&&i.getSelection();if(r&&r.rangeCount!==0){i=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{i.nodeType,a.nodeType}catch{i=null;break e}var s=0,l=-1,c=-1,d=0,p=0,m=e,f=null;t:for(;;){for(var _;m!==i||o!==0&&m.nodeType!==3||(l=s+o),m!==a||r!==0&&m.nodeType!==3||(c=s+r),m.nodeType===3&&(s+=m.nodeValue.length),(_=m.firstChild)!==null;)f=m,m=_;for(;;){if(m===e)break t;if(f===i&&++d===o&&(l=s),f===a&&++p===r&&(c=s),(_=m.nextSibling)!==null)break;m=f,f=m.parentNode}m=_}i=l===-1||c===-1?null:{start:l,end:c}}else i=null}i=i||{start:0,end:0}}else i=null;for($y={focusedElem:e,selectionRange:i},us=!1,n=(n&335544064)===n,it=t,t=n?9270:1024;it!==null;){if(e=it,n&&(i=e.deletions,i!==null))for(o=0;o<i.length;o++)n&&dy(i[o]);if(e.alternate===null&&(e.flags&2)!==0)n&&b$(e),Df(n);else{if(e.tag===22){if(i=e.alternate,e.memoizedState!==null){i!==null&&i.memoizedState===null&&n&&dy(i),Df(n);continue}else if(i!==null&&i.memoizedState!==null){n&&b$(e),Df(n);continue}}i=e.child,(e.subtreeFlags&t)!==0&&i!==null?(i.return=e,it=i):(n&&FR(e),Df(n))}}on=null}function Df(e){for(;it!==null;){var t=it,n=e,i=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if((r&1024)!==0&&i!==null){n=void 0,r=i.memoizedProps,i=i.memoizedState;var o=t.stateNode;try{var a=Oo(t.type,r);n=o.getSnapshotBeforeUpdate(a,i),o.__reactInternalSnapshotBeforeUpdate=n}catch(s){_e(t,t.return,s)}}break;case 3:if((r&1024)!==0){if(i=t.stateNode.containerInfo,n=i.nodeType,n===9)Oy(i);else if(n===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":Oy(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&i!==null&&(n=Pr(i.memoizedProps,i.stateNode),r=t.memoizedProps,r=Hr(r.default,r.update),r!=="none"&&hs(i,n,r,i.memoizedState=[],!0));break;default:if((r&1024)!==0)throw Error(R(163))}if(i=t.sibling,i!==null){i.return=t.return,it=i;break}it=t.return}}function WR(e,t,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:nr(e,n),i&4&&au(5,n);break;case 1:if(nr(e,n),i&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(a){_e(n,n.return,a)}else{var r=Oo(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(a){_e(n,n.return,a)}}i&64&&BR(n),i&512&&rr(n,n.return);break;case 3:if(nr(e,n),i&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{tR(e,t)}catch(a){_e(n,n.return,a)}}break;case 27:t===null&&i&4&&YR(n);case 26:case 5:nr(e,n),t===null&&i&4&&sy(n),i&512&&rr(n,n.return);break;case 12:nr(e,n);break;case 31:nr(e,n),i&4&&r4(e,n);break;case 13:nr(e,n),i&4&&i4(e,n),i&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=_j.bind(null,n),eA(e,n))));break;case 22:if(i=n.memoizedState!==null||rt,!i){var o=t!==null&&t.memoizedState!==null||ve;t=rt,r=ve,rt=i,(ve=o)&&!r?(i=2,(n.subtreeFlags&8772)!==0&&(i|=1),Ln(e,n,i)):nr(e,n),rt=t,ve=r}break;case 30:nr(e,n),i&512&&rr(n,n.return);break;case 7:i&512&&rr(n,n.return);default:nr(e,n)}}function py(e,t){for(e=e.child;e!==null;)e4(e,t),e=e.sibling}function e4(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;if(t){var i=n.style;typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"}else{var r=e.stateNode,o=e.memoizedProps.style,a=o!=null&&o.hasOwnProperty("display")?o.display:null;r.style.display=a==null||typeof a=="boolean"?"":(""+a).trim()}}catch(l){_e(e,e.return,l)}hy(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,fe=!0}catch(l){_e(e,e.return,l)}break;case 18:try{var s=e.stateNode;t?M$(s,!0):M$(e.stateNode,!1)}catch(l){_e(e,e.return,l)}break;case 22:case 23:e.memoizedState===null&&py(e,t);break;default:py(e,t)}}function hy(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var n=e,i=t;switch(n.tag){case 4:e4(n,i);break e;case 22:n.memoizedState===null&&hy(n,i);break e;default:hy(n,i)}}e=e.sibling}}function t4(e){var t=e.alternate;t!==null&&(e.alternate=null,t4(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&qp(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Pe=null,Ht=!1;function Dn(e,t,n){for(n=n.child;n!==null;)n4(e,t,n),n=n.sibling}function n4(e,t,n){if(ln&&typeof ln.onCommitFiberUnmount=="function")try{ln.onCommitFiberUnmount(Wc,n)}catch{}switch(n.tag){case 26:ve||ut(n,t),Dn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!ve&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:ve||ut(n,t),Cc(n);var i=Pe,r=Ht;Pi(n.type)&&(Pe=n.stateNode,Ht=!1),Dn(e,t,n),Z4(n.stateNode,n.type,n.memoizedProps),Pe=i,Ht=r;break;case 5:ve||ut(n,t),Cc(n);case 6:if(n.tag===6&&Cc(n),i=Pe,r=Ht,Pe=null,Dn(e,t,n),Pe=i,Ht=r,Pe!==null)if(Ht)try{(Pe.nodeType===9?Pe.body:Pe.nodeName==="HTML"?Pe.ownerDocument.body:Pe).removeChild(n.stateNode),fe=!0}catch(o){_e(n,t,o)}else try{Pe.removeChild(n.stateNode),fe=!0}catch(o){_e(n,t,o)}break;case 18:Pe!==null&&(Ht?(e=Pe,U$(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),ds(e)):U$(Pe,n.stateNode));break;case 4:i=Pe,r=Ht,Pe=n.stateNode.containerInfo,Ht=!0,Dn(e,t,n),Pe=i,Ht=r;break;case 0:case 11:case 14:case 15:Ni(2,n,t),ve||Ni(4,n,t),Dn(e,t,n);break;case 1:ve||(ut(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"&&GR(n,t,i)),Dn(e,t,n);break;case 21:Dn(e,t,n);break;case 22:ve=(i=ve)||n.memoizedState!==null,Dn(e,t,n),ve=i;break;case 30:ut(n,t),Dn(e,t,n);break;case 7:ve||ut(n,t),Dn(e,t,n);break;default:Dn(e,t,n)}}function r4(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ds(e)}catch(n){_e(t,t.return,n)}}}function i4(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ds(e)}catch(n){_e(t,t.return,n)}}function uj(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new z$),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new z$),t;default:throw Error(R(435,e.tag))}}function Lf(e,t){var n=uj(e);t.forEach(function(i){if(!n.has(i)){n.add(i);var r=zj.bind(null,e,i);i.then(r,r)}})}function kt(e,t,n){var i=t.deletions;if(i!==null)for(var r=0;r<i.length;r++){var o=i[r],a=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 27:if(Pi(l.type)){Pe=l.stateNode,Ht=!1;break e}break;case 5:Pe=l.stateNode,Ht=!1;break e;case 3:case 4:Pe=l.stateNode.containerInfo,Ht=!0;break e}l=l.return}if(Pe===null)throw Error(R(160));n4(a,s,o),Pe=null,Ht=!1,a=o.alternate,a!==null&&(a.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)o4(t,e,n),t=t.sibling}var qn=null;function o4(e,t,n){var i=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(r&4&&(i=e.updateQueue,i=i!==null?i.events:null,i!==null))for(var o=0;o<i.length;o++){var a=i[o];a.ref.impl=a.nextImpl}kt(t,e,n),It(e),r&4&&(Ni(3,e,e.return),au(3,e),Ni(5,e,e.return));break;case 1:kt(t,e,n),It(e),r&512&&(ve||i===null||ut(i,i.return)),r&64&&rt&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?t:n.concat(t))));break;case 26:if(o=qn,kt(t,e,n),It(e),r&512&&(ve||i===null||ut(i,i.return)),r&4)if(r=i!==null?i.memoizedState:null,n=e.memoizedState,i===null)if(n===null)if(e.stateNode===null)if(rt)e.stateNode=C4(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,n=e.memoizedProps,r=o.ownerDocument||o;t:switch(t){case"title":i=r.getElementsByTagName("title")[0],(!i||i[nu]||i[dt]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=r.createElement(t),r.head.insertBefore(i,r.querySelector("head > title"))),ht(i,t,n),i[dt]=e,ot(i),t=i;break e;case"link":if(o=G$("link","href",r).get(t+(n.href||""))){for(a=0;a<o.length;a++)if(i=o[a],i.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&i.getAttribute("rel")===(n.rel==null?null:n.rel)&&i.getAttribute("title")===(n.title==null?null:n.title)&&i.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(a,1);break t}}i=r.createElement(t),ht(i,t,n),r.head.appendChild(i);break;case"meta":if(o=G$("meta","content",r).get(t+(n.content||""))){for(a=0;a<o.length;a++)if(i=o[a],i.getAttribute("content")===(n.content==null?null:""+n.content)&&i.getAttribute("name")===(n.name==null?null:n.name)&&i.getAttribute("property")===(n.property==null?null:n.property)&&i.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&i.getAttribute("charset")===(n.charSet==null?null:n.charSet)){o.splice(a,1);break t}}i=r.createElement(t),ht(i,t,n),r.head.appendChild(i);break;default:throw Error(R(468,t))}i[dt]=e,ot(i),t=i}e.stateNode=t}else rt||Cy(o,e.type,e.stateNode);else e.stateNode=B$(o,n,e.memoizedProps);else r!==n?(r===null?(t=i.stateNode,t===null||ve||t.parentNode.removeChild(t)):r.count--,n===null?rt||Cy(o,e.type,e.stateNode):B$(o,n,e.memoizedProps)):n===null&&e.stateNode!==null&&f0(e,e.memoizedProps,i.memoizedProps);break;case 27:kt(t,e,n),It(e),r&512&&(ve||i===null||ut(i,i.return)),i!==null&&r&4&&f0(e,e.memoizedProps,i.memoizedProps);break;case 5:if(o=er,er=!1,kt(t,e,n),er=o,It(e),r&512&&(ve||i===null||ut(i,i.return)),e.flags&32){t=e.stateNode;try{ts(t,""),fe=!0}catch(d){_e(e,e.return,d)}}r&4&&e.stateNode!=null&&(t=e.memoizedProps,f0(e,t,i!==null?i.memoizedProps:t)),r&1024&&(h0=!0);break;case 6:if(kt(t,e,n),It(e),r&4){if(e.stateNode===null)throw Error(R(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,fe=!0}catch(d){_e(e,e.return,d)}}break;case 3:if(fe=!1,sp=null,o=qn,qn=Yc(t.containerInfo),kt(t,e,n),qn=o,It(e),r&4&&i!==null&&i.memoizedState.isDehydrated)try{ds(t.containerInfo)}catch(d){_e(e,e.return,d)}h0&&(h0=!1,a4(e)),fe=!1;break;case 4:r=er,er=rt,i=ET(),o=qn,qn=Yc(e.stateNode.containerInfo),kt(t,e,n),It(e),qn=o,fe&&zc&&(Ip=!0),fe=i,er=r;break;case 12:kt(t,e,n),It(e);break;case 31:kt(t,e,n),It(e),r&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Lf(e,t)));break;case 13:kt(t,e,n),It(e),e.child.flags&8192&&e.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(eh=sn()),r&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Lf(e,t)));break;case 22:o=e.memoizedState!==null,a=i!==null&&i.memoizedState!==null;var s=rt,l=ve,c=er;rt=s||o,er=c||o,ve=l||a,kt(t,e,n),ve=l,er=c,rt=s,It(e),r&8192&&(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,!o||i===null||a||rt||ve||(t=a||ve,n=rt,i=ve,rt=o||rt,ve=t,ui(e,2),rt=n,ve=i),!o&&er||py(e,o)),r&4&&(t=e.updateQueue,t!==null&&(n=t.retryQueue,n!==null&&(t.retryQueue=null,Lf(e,n))));break;case 19:kt(t,e,n),It(e),r&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Lf(e,t)));break;case 30:r&512&&(ve||i===null||ut(i,i.return)),r=ET(),o=zc,a=(n&335544064)===n,s=e.memoizedProps,zc=a&&Hr(s.default,s.update)!=="none",kt(t,e,n),It(e),a&&i!==null&&fe&&(e.flags|=4),zc=o,fe=r;break;case 21:break;case 7:r&512&&(ve||i===null||ut(i,i.return)),i&&i.stateNode!==null&&(i.stateNode._fragmentFiber=e);default:kt(t,e,n),It(e)}}function It(e){var t=e.flags;if(t&2){try{for(var n,i=e.return;i!==null;){if(JR(i)){n=i;break}i=i.return}i=null;for(var r=e.return;r!==null;){if(yS(r)){var o=r.stateNode;i===null?i=[o]:i.push(o)}if(vS(r))break;r=r.return}var a=i;if(n==null)throw Error(R(160));switch(n.tag){case 27:var s=n.stateNode,l=p0(e);Op(e,l,s,a);break;case 5:var c=n.stateNode;n.flags&32&&(ts(c,""),n.flags&=-33);var d=p0(e);Op(e,d,c,a);break;case 3:case 4:var p=n.stateNode.containerInfo,m=p0(e);ly(e,m,p,a);break;default:throw Error(R(161))}}catch(f){_e(e,e.return,f)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function a4(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;a4(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,us=!0,t.reset(),us=!1),e=e.sibling}}function Ra(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)s4(t,e),t=t.sibling;else XR(t,!1)}function s4(e,t){var n=e.alternate;if(n===null)cy(e,!1);else switch(e.tag){case 3:if(fy=tr=!1,_$(),Ra(t,e),!tr&&!Ip){if(e=ir,e!==null)for(var i=0;i<e.length;i+=3){n=e[i];var r=e[i+1];j4(n,e[i+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+r+")"})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),fy=!0}ir=null;break;case 5:Ra(t,e);break;case 4:i=tr,tr=!1,Ra(t,e),tr&&(Ip=!0),tr=i;break;case 22:e.memoizedState===null&&(n.memoizedState!==null?cy(e,!1):Ra(t,e));break;case 30:i=tr,r=_$(),tr=!1,Ra(t,e),tr&&(e.flags|=4);var o=e.memoizedProps,a=e.stateNode;t=Pr(o,a),a=Pr(n.memoizedProps,a);var s=Hr(o.default,o.update);s==="none"?t=!1:(o=n.memoizedState,n.memoizedState=null,n=e.child,Vt=0,t=SS(e,n,t,a,s,o,!0),Vt!==(o===null?0:o.length)&&(e.flags|=32)),(e.flags&4)!==0&&t?(is(e,e.memoizedProps.onUpdate),ir=r):r!==null&&(r.push.apply(r,ir),ir=r),tr=(e.flags&32)!==0?!0:i;break;default:Ra(t,e)}}function nr(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)WR(e,t.alternate,t),t=t.sibling}function ui(e,t){for(e=e.child;e!==null;){var n=e,i=t;switch(n.tag){case 0:case 11:case 14:case 15:Ni(4,n,n.return),ui(n,i);break;case 1:ut(n,n.return);var r=n.stateNode;typeof r.componentWillUnmount=="function"&&GR(n,n.return,r),ui(n,i);break;case 27:(i&2)!==0&&Z4(n.stateNode,n.type,n.memoizedProps);case 5:ut(n,n.return),n.tag!==5&&n.tag!==27||Cc(n),ui(n,i);break;case 6:Cc(n);break;case 26:ut(n,n.return),r=n.stateNode,n.memoizedState!==null||r===null||ve||r.parentNode.removeChild(r),ui(n,i);break;case 22:n.memoizedState===null&&ui(n,i);break;case 30:ut(n,n.return),ui(n,i);break;case 7:ut(n,n.return);default:ui(n,i)}e=e.sibling}}function Ln(e,t,n){for(n=(t.subtreeFlags&8772)!==0?n:n&-2,t=t.child;t!==null;){var i=t.alternate,r=e,o=t,a=o.flags,s=(n&1)!==0;switch(o.tag){case 0:case 11:case 15:Ln(r,o,n),au(4,o);break;case 1:if(Ln(r,o,n),i=o,r=i.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(d){_e(i,i.return,d)}if(i=o,r=i.updateQueue,r!==null){var l=i.stateNode;try{var c=r.shared.hiddenCallbacks;if(c!==null)for(r.shared.hiddenCallbacks=null,r=0;r<c.length;r++)eR(c[r],l)}catch(d){_e(i,i.return,d)}}s&&a&64&&BR(o),rr(o,o.return);break;case 27:(n&2)!==0&&YR(o);case 5:o.tag!==5&&o.tag!==27||S$(o),Ln(r,o,n),s&&i===null&&a&4&&sy(o),rr(o,o.return);break;case 6:S$(o);break;case 26:l=o.stateNode,o.memoizedState!==null||l===null||rt||Cy(Yc(l.ownerDocument),o.type,l),Ln(r,o,n),s&&i===null&&a&4&&sy(o),rr(o,o.return);break;case 12:Ln(r,o,n);break;case 31:Ln(r,o,n),s&&a&4&&r4(r,o);break;case 13:Ln(r,o,n),s&&a&4&&i4(r,o);break;case 22:o.memoizedState===null&&Ln(r,o,n),rr(o,o.return);break;case 30:Ln(r,o,n),rr(o,o.return);break;case 7:rr(o,o.return);default:Ln(r,o,n)}t=t.sibling}}function bS(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&iu(n))}function _S(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&iu(e))}function Tn(e,t,n,i){var r=(n&335544064)===n;if(t.subtreeFlags&(r?10262:10256))for(t=t.child;t!==null;)l4(e,t,n,i),t=t.sibling;else r&&QR(t)}function l4(e,t,n,i){var r=(n&335544064)===n;r&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&rp(t);var o=t.flags;switch(t.tag){case 0:case 11:case 15:Tn(e,t,n,i),o&2048&&au(9,t);break;case 1:Tn(e,t,n,i);break;case 3:Tn(e,t,n,i),r&&fy&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),o&2048&&(o=null,t.alternate!==null&&(o=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==o&&(t.refCount++,o!=null&&iu(o)));break;case 12:if(o&2048){Tn(e,t,n,i),o=t.stateNode;try{var a=t.memoizedProps,s=a.id,l=a.onPostCommit;typeof l=="function"&&l(s,t.alternate===null?"mount":"update",o.passiveEffectDuration,-0)}catch(c){_e(t,t.return,c)}}else Tn(e,t,n,i);break;case 31:Tn(e,t,n,i);break;case 13:Tn(e,t,n,i);break;case 23:break;case 22:a=t.stateNode,s=t.alternate,t.memoizedState!==null?(r&&s!==null&&s.memoizedState===null&&rp(s),a._visibility&2?Tn(e,t,n,i):Nc(e,t)):(r&&s!==null&&s.memoizedState!==null&&rp(t),a._visibility&2?Tn(e,t,n,i):(a._visibility|=2,Oa(e,t,n,i,(t.subtreeFlags&10256)!==0||!1))),o&2048&&bS(s,t);break;case 24:Tn(e,t,n,i),o&2048&&_S(t.alternate,t);break;case 30:r&&(o=t.alternate,o!==null&&(dr(o.child,!0),dr(t.child,!0))),Tn(e,t,n,i);break;default:Tn(e,t,n,i)}}function Oa(e,t,n,i,r){for(r=r&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var o=e,a=t,s=n,l=i,c=a.flags;switch(a.tag){case 0:case 11:case 15:Oa(o,a,s,l,r),au(8,a);break;case 23:break;case 22:var d=a.stateNode;a.memoizedState!==null?d._visibility&2?Oa(o,a,s,l,r):Nc(o,a):(d._visibility|=2,Oa(o,a,s,l,r)),r&&c&2048&&bS(a.alternate,a);break;case 24:Oa(o,a,s,l,r),r&&c&2048&&_S(a.alternate,a);break;default:Oa(o,a,s,l,r)}t=t.sibling}}function Nc(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,i=t,r=i.flags;switch(i.tag){case 22:Nc(n,i),r&2048&&bS(i.alternate,i);break;case 24:Nc(n,i),r&2048&&_S(i.alternate,i);break;default:Nc(n,i)}t=t.sibling}}var ho=8192;function mo(e,t,n){if(e.subtreeFlags&ho)for(e=e.child;e!==null;)c4(e,t,n),e=e.sibling}function c4(e,t,n){switch(e.tag){case 26:mo(e,t,n),e.flags&ho&&(e.memoizedState!==null?pA(n,qn,e.memoizedState,e.memoizedProps):(e=e.stateNode,(t&335544128)===t&&Y$(n,e)));break;case 5:mo(e,t,n),e.flags&ho&&(e=e.stateNode,(t&335544128)===t&&Y$(n,e));break;case 3:case 4:var i=qn;qn=Yc(e.stateNode.containerInfo),mo(e,t,n),qn=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=ho,ho=16777216,mo(e,t,n),ho=i):mo(e,t,n));break;case 30:if((e.flags&ho)!==0&&(i=e.memoizedProps.name,i!=null&&i!=="auto")){var r=e.stateNode;r.paired=null,on===null&&(on=new Map),on.set(i,r)}mo(e,t,n);break;default:mo(e,t,n)}}function u4(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function hc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var i=t[n];it=i,m4(i,e)}u4(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)d4(e),e=e.sibling}function d4(e){switch(e.tag){case 0:case 11:case 15:hc(e),e.flags&2048&&Ni(9,e,e.return);break;case 3:hc(e);break;case 12:hc(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,ip(e)):hc(e);break;default:hc(e)}}function ip(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var i=t[n];it=i,m4(i,e)}u4(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ni(8,t,t.return),ip(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,ip(t));break;default:ip(t)}e=e.sibling}}function m4(e,t){for(;it!==null;){var n=it;switch(n.tag){case 0:case 11:case 15:Ni(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var i=n.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:iu(n.memoizedState.cache)}if(i=n.child,i!==null)i.return=n,it=i;else e:for(n=e;it!==null;){i=it;var r=i.sibling,o=i.return;if(t4(i),i===n){it=null;break e}if(r!==null){r.return=o,it=r;break e}it=o}}}var dj={getCacheForType:function(e){var t=mt(Ye),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return mt(Ye).controller.signal}},mj=typeof WeakMap=="function"?WeakMap:Map,pe=0,Te=null,le=null,de=0,Se=0,tn=null,vi=!1,gs=!1,zS=!1,Lr=0,Ze=0,ji=0,zo=0,Cp=0,an=0,rs=0,jc=null,Zt=null,gy=!1,eh=0,f4=0,Np=1/0,jp=null,$i=null,Ue=0,Zn=null,ko=null,ur=0,vy=0,yy=null,p4=null,Fa=null,Qa=null,Xa=null,Ac=0,op=null;function un(){return(pe&2)!==0&&de!==0?de&-de:F.T!==null?wS():y2()}function h4(){if(an===0)if((de&536870912)===0||re){var e=Rf;Rf<<=1,(Rf&3932160)===0&&(Rf=262144),an=e}else an=536870912;return e=gt.current,e!==null&&(e.flags|=32),an}function is(e,t){if(t!=null){var n=e.stateNode,i=n.ref;i===null&&(i=n.ref=P4(Pr(e.memoizedProps,n))),Qa===null&&(Qa=[]),Qa.push(t.bind(null,i))}}function Gt(e,t,n){(e===Te&&(Se===2||Se===9)||e.cancelPendingCommit!==null)&&(os(e,0),yi(e,de,an,!1)),tu(e,n),((pe&2)===0||e!==Te)&&(e===Te&&((pe&2)===0&&(zo|=n),Ze===4&&yi(e,de,an,!1)),fr(e))}function g4(e,t,n){if((pe&6)!==0)throw Error(R(327));var i=!n&&(t&127)===0&&(t&e.expiredLanes)===0||eu(e,t),r=i?hj(e,t):g0(e,t,!0),o=i;do{if(r===0){gs&&!i&&yi(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!fj(n)){r=g0(e,t,!1),o=!1;continue}if(r===2){if(o=t,e.errorRecoveryDisabledLanes&o)var a=0;else a=e.pendingLanes&-536870913,a=a!==0?a:a&536870912?536870912:0;if(a!==0){t=a;e:{var s=e;r=jc;var l=s.current.memoizedState.isDehydrated;if(l&&(os(s,a).flags|=256),a=g0(s,a,!1),a!==2&&a!==6){if(zS&&!l){s.errorRecoveryDisabledLanes|=o,zo|=o,r=4;break e}o=Zt,Zt=r,o!==null&&(Zt===null?Zt=o:Zt.push.apply(Zt,o))}r=a}if(o=!1,r!==2)continue}}if(r===1){os(e,0),yi(e,t,0,!0);break}e:{switch(i=e,o=r,o){case 0:case 1:throw Error(R(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:yi(i,t,an,!vi);break e;case 2:Zt=null;break;case 3:case 5:break;default:throw Error(R(329))}if((t&62914560)===t&&(r=eh+300-sn(),10<r)){if(yi(i,t,an,!vi),Lp(i,0,!0)!==0)break e;ur=t,i.timeoutHandle=$S(x$.bind(null,i,n,Zt,jp,gy,t,an,zo,rs,vi,o,"Throttled",-0,0),r);break e}x$(i,n,Zt,jp,gy,t,an,zo,rs,vi,o,null,-0,0)}}break}while(!0);fr(e)}function x$(e,t,n,i,r,o,a,s,l,c,d,p,m,f){e.timeoutHandle=-1;var _=t.subtreeFlags,$=(o&335544064)===o;if(p=null,($||_&8192||(_&16785408)===16785408)&&(p={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ar},on=null,c4(t,o,p),$&&(_=p,$=e.containerInfo,$=($.nodeType===9?$:$.ownerDocument).__reactViewTransition,$!=null&&(_.count++,_.waitingForViewTransition=!0,_=Kc.bind(_),$.finished.then(_,_))),_=(o&62914560)===o?eh-sn():(o&4194048)===o?f4-sn():0,_=hA(p,_),_!==null)){ur=o,e.cancelPendingCommit=_(T$.bind(null,e,t,o,n,i,r,a,s,l,c,d,p,null,m,f)),yi(e,o,a,!c);return}T$(e,t,o,n,i,r,a,s,l,c,d,p)}function fj(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var i=0;i<n.length;i++){var r=n[i],o=r.getSnapshot;r=r.value;try{if(!dn(o(),r))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function yi(e,t,n,i){t=f2(e,t),t&=~Cp,t&=~zo,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var r=t;0<r;){var o=31-cn(r),a=1<<o;i[o]=-1,r&=~a}n!==0&&h2(e,n,t)}function th(){return(pe&6)===0?(su(0,!1),!1):!0}function xS(){if(le!==null){if(Se===0)var e=le.return;else e=le,Cr=Ao=null,aS(e),Ja=null,Hc=0,e=le;for(;e!==null;)VR(e.alternate,e),e=e.return;le=null}}function os(e,t){var n=e.timeoutHandle;return n!==-1&&(e.timeoutHandle=-1,Aj(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),ur=0,xS(),Te=e,le=n=Nr(e.current,null),de=t,Se=0,tn=null,vi=!1,gs=eu(e,t),zS=!1,rs=an=Cp=zo=ji=Ze=0,Zt=jc=null,gy=!1,Lr=f2(e,t),Bp(),n}function v4(e,t){te=null,F.H=$p,t===ps||t===Yp?(t=FT(),Se=3):t===Xy?(t=FT(),Se=4):Se=t===pS?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,tn=t,le===null&&(Ze=1,Rp(e,kn(t,e.current)))}function y4(){var e=gt.current;return e===null?!0:(de&4194048)===de?Tt===null:(de&62914560)===de||(de&536870912)!==0?e===Tt:!1}function S4(){var e=F.H;return F.H=$p,e===null?$p:e}function b4(){var e=F.A;return F.A=dj,e}function Ap(){Ze=4,vi||(de&4194048)!==de&&gt.current!==null||(gs=!0),(ji&134217727)===0&&(zo&134217727)===0||Te===null||yi(Te,de,an,!1)}function g0(e,t,n){var i=pe;pe|=2;var r=S4(),o=b4();(Te!==e||de!==t)&&(jp=null,os(e,t)),t=!1;var a=Ze;e:do try{if(Se!==0&&le!==null){var s=le,l=tn;switch(Se){case 8:xS(),a=6;break e;case 3:case 2:case 9:case 6:gt.current===null&&(t=!0);var c=Se;if(Se=0,tn=null,Ha(e,s,l,c),n&&gs){a=0;break e}break;default:c=Se,Se=0,tn=null,Ha(e,s,l,c)}}pj(),a=Ze;break}catch(d){v4(e,d)}while(!0);return t&&e.shellSuspendCounter++,Cr=Ao=null,pe=i,F.H=r,F.A=o,le===null&&(Te=null,de=0,Bp()),a}function pj(){for(;le!==null;)_4(le)}function hj(e,t){var n=pe;pe|=2;var i=S4(),r=b4();Te!==e||de!==t?(jp=null,Np=sn()+500,os(e,t)):gs=eu(e,t);e:do try{if(Se!==0&&le!==null){t=le;var o=tn;t:switch(Se){case 1:Se=0,tn=null,Ha(e,t,o,1);break;case 2:case 9:if(KT(o)){Se=0,tn=null,w$(t);break}t=function(){Se!==2&&Se!==9||Te!==e||(Se=7),fr(e)},o.then(t,t);break e;case 3:Se=7;break e;case 4:Se=5;break e;case 7:KT(o)?(Se=0,tn=null,w$(t)):(Se=0,tn=null,Ha(e,t,o,7));break;case 5:var a=null;switch(le.tag){case 26:a=le.memoizedState;case 5:case 27:var s=le;if(a?G4(a):s.stateNode.complete){Se=0,tn=null;var l=s.sibling;if(l!==null)le=l;else{var c=s.return;c!==null?(le=c,nh(c)):le=null}break t}}Se=0,tn=null,Ha(e,t,o,5);break;case 6:Se=0,tn=null,Ha(e,t,o,6);break;case 8:xS(),Ze=6;break e;default:throw Error(R(462))}}gj();break}catch(d){v4(e,d)}while(!0);return Cr=Ao=null,F.H=i,F.A=r,pe=n,le!==null?0:(Te=null,de=0,Bp(),Ze)}function gj(){for(;le!==null&&!NC();)_4(le)}function _4(e){var t=ZR(e.alternate,e,Lr);e.memoizedProps=e.pendingProps,t===null?nh(e):le=t}function w$(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=m$(n,t,t.pendingProps,t.type,void 0,de);break;case 11:t=m$(n,t,t.pendingProps,t.type.render,t.ref,de);break;case 5:aS(t);var i=t;i===at&&(re?(Sp(i),i.tag===5&&i.stateNode!=null&&(ke=i.stateNode)):(Sp(i),re=!0));default:VR(n,t),t=le=B2(t,Lr),t=ZR(n,t,Lr)}e.memoizedProps=e.pendingProps,t===null?nh(e):le=t}function Ha(e,t,n,i){Cr=Ao=null,aS(t),Ja=null,Hc=0;var r=t.return;try{if(rj(e,r,t,n,de)){Ze=1,Rp(e,kn(n,e.current)),le=null;return}}catch(o){if(r!==null)throw le=r,o;Ze=1,Rp(e,kn(n,e.current)),le=null;return}t.flags&32768?(re||i===1?e=!0:gs||(de&536870912)!==0?e=!1:(vi=e=!0,(i===2||i===9||i===3||i===6)&&(i=gt.current,i!==null&&i.tag===13&&(i.flags|=16384))),z4(t,e)):nh(t)}function nh(e){var t=e;do{if((t.flags&32768)!==0){z4(t,vi);return}e=t.return;var n=sj(t.alternate,t,Lr);if(n!==null){le=n;return}if(t=t.sibling,t!==null){le=t;return}le=t=e}while(t!==null);Ze===0&&(Ze=5)}function z4(e,t){do{var n=lj(e.alternate,e);if(n!==null){n.flags&=32767,le=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){le=e;return}le=e=n}while(e!==null);Ze=6,le=null}function T$(e,t,n,i,r,o,a,s,l,c,d,p){e.cancelPendingCommit=null;do rh();while(Ue!==0);if((pe&6)!==0)throw Error(R(327));if(t!==null){if(t===e.current)throw Error(R(177));e===Te&&(le=Te=null,de=0),ko=t,Zn=e,ur=n,yy=r,p4=i,vj(e,t,n,a,s,l,p)}}function vj(e,t,n,i,r,o,a){var s=t.lanes|t.childLanes;if(vy=s,s|=Gy,ZC(e,n,s,i,r,o),Qa=null,(n&335544064)===n?(Xa=BN(e),i=10262):(Xa=null,i=10256),(t.subtreeFlags&i)!==0||(t.flags&i)!==0?(e.callbackNode=null,e.callbackPriority=0,xj(pp,function(){return zy(),null})):(e.callbackNode=null,e.callbackPriority=0),kp=!1,i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=F.T,F.T=null,r=he.p,he.p=2,o=pe,pe|=4;try{cj(e,t,n)}finally{pe=o,he.p=r,F.T=i}}Ue=1,kp?Fa=qj(a,e.containerInfo,Xa,Sy,by,Sj,_y,zy,yj,null,null):(Sy(),by(),_y())}function yj(e){if(Ue!==0){var t=Zn.onRecoverableError;t(e,{componentStack:null})}}function Sj(){Ue===3&&(Ue=0,s4(ko,Zn),Ue=4)}function Sy(){if(Ue===1){Ue=0;var e=Zn,t=ko,n=ur,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=F.T,F.T=null;var r=he.p;he.p=2;var o=pe;pe|=4;try{zc=Ip=!1,o4(t,e,n),n=$y;var a=U2(e.containerInfo),s=n.focusedElem,l=n.selectionRange;if(a!==s&&s&&s.ownerDocument&&P2(s.ownerDocument.documentElement,s)){if(l!==null&&By(s)){var c=l.start,d=l.end;if(d===void 0&&(d=c),"selectionStart"in s)s.selectionStart=c,s.selectionEnd=Math.min(d,s.value.length);else{var p=s.ownerDocument||document,m=p&&p.defaultView||window;if(m.getSelection){var f=m.getSelection(),_=s.textContent.length,$=Math.min(l.start,_),j=l.end===void 0?$:Math.min(l.end,_);!f.extend&&$>j&&(a=j,j=$,$=a);var y=qT(s,$),g=qT(s,j);if(y&&g&&(f.rangeCount!==1||f.anchorNode!==y.node||f.anchorOffset!==y.offset||f.focusNode!==g.node||f.focusOffset!==g.offset)){var S=p.createRange();S.setStart(y.node,y.offset),f.removeAllRanges(),$>j?(f.addRange(S),f.extend(g.node,g.offset)):(S.setEnd(g.node,g.offset),f.addRange(S))}}}}for(p=[],f=s;f=f.parentNode;)f.nodeType===1&&p.push({element:f,left:f.scrollLeft,top:f.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<p.length;s++){var x=p[s];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}us=!!Ty,$y=Ty=null}finally{pe=o,he.p=r,F.T=i}}e.current=t,Ue=2}}function by(){if(Ue===2){Ue=0;var e=Zn,t=ko,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=F.T,F.T=null;var i=he.p;he.p=2;var r=pe;pe|=4;try{WR(e,t.alternate,t)}finally{pe=r,he.p=i,F.T=n}}Ue=3}}function _y(){if(Ue===4||Ue===3){Ue=0;var e=Fa;Fa=null,jC();var t=Zn,n=ko,i=ur,r=p4,o=(i&335544064)===i?10262:10256;if((n.subtreeFlags&o)!==0||(n.flags&o)!==0?Ue=5:(Ue=0,ko=Zn=null,x4(t,t.pendingLanes)),o=t.pendingLanes,o===0&&($i=null),Dy(i),n=n.stateNode,ln&&typeof ln.onCommitFiberRoot=="function")try{ln.onCommitFiberRoot(Wc,n,void 0,(n.current.flags&128)===128)}catch{}if(r!==null){n=F.T,o=he.p,he.p=2,F.T=null;try{for(var a=t.onRecoverableError,s=0;s<r.length;s++){var l=r[s];a(l.value,{componentStack:l.stack})}}finally{F.T=n,he.p=o}}if(r=Qa,a=Xa,Xa=null,r!==null&&(Qa=null,a===null&&(a=[]),e!==null))for(l=0;l<r.length;l++)n=(0,r[l])(a),n!==void 0&&e.finished.finally(n);(ur&3)!==0&&rh(),fr(t),o=t.pendingLanes,(i&261930)!==0&&(o&42)!==0?t===op?Ac++:(Ac=0,op=t):(Ac=0,op=null),su(0,!1)}}function x4(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,iu(t)))}function rh(){return Fa!==null&&(Fa.skipTransition(),Fa=null),Sy(),by(),_y(),zy()}function zy(){if(Ue!==5)return!1;var e=Zn,t=vy;vy=0;var n=Dy(ur),i=F.T,r=he.p;try{he.p=32>n?32:n,F.T=null,n=yy,yy=null;var o=Zn,a=ur;if(Ue=0,ko=Zn=null,ur=0,(pe&6)!==0)throw Error(R(331));var s=pe;if(pe|=4,d4(o.current),l4(o,o.current,a,n),pe=s,su(0,!1),ln&&typeof ln.onPostCommitFiberRoot=="function")try{ln.onPostCommitFiberRoot(Wc,o)}catch{}return!0}finally{he.p=r,F.T=i,x4(e,t)}}function $$(e,t,n){t=kn(n,t),t=ty(e.stateNode,t,2),e=xi(e,t,2),e!==null&&(tu(e,2),fr(e))}function _e(e,t,n){if(e.tag===3)$$(e,e,n);else for(;t!==null;){if(t.tag===3){$$(t,e,n);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&($i===null||!$i.has(i))){e=kn(n,e),n=MR(2),i=xi(t,n,2),i!==null&&(DR(n,i,t,e),tu(i,2),fr(i));break}}t=t.return}}function v0(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new mj;var r=new Set;i.set(t,r)}else r=i.get(t),r===void 0&&(r=new Set,i.set(t,r));r.has(n)||(zS=!0,r.add(n),e=bj.bind(null,e,t,n),t.then(e,e))}function bj(e,t,n){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Te===e&&(de&n)===n&&((Ze===4||Ze===3&&(de&62914560)===de&&300>sn()-eh)&&(pe&2)===0?os(e,0):Cp|=n,rs===de&&(rs=0)),fr(e)}function w4(e,t){t===0&&(t=p2()),e=jo(e,t),e!==null&&(tu(e,t),fr(e))}function _j(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),w4(e,n)}function zj(e,t){var n=0;switch(e.tag){case 31:case 13:var i=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(R(314))}i!==null&&i.delete(t),w4(e,n)}function xj(e,t){return Uy(e,t)}var as=null,ka=null,xy=!1,Pp=!1,y0=!1,Si=0;function fr(e){e!==ka&&e.next===null&&(ka===null?as=ka=e:ka=ka.next=e),Pp=!0,xy||(xy=!0,Tj())}function su(e,t){if(!y0&&Pp){y0=!0;do for(var n=!1,i=as;i!==null;){if(!t)if(e!==0){var r=i.pendingLanes;if(r===0)var o=0;else{var a=i.suspendedLanes,s=i.pingedLanes;o=(1<<31-cn(42|e)+1)-1,o&=r&~(a&~s),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,R$(i,o))}else o=de,o=Lp(i,i===Te?o:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(o&3)===0||eu(i,o)||(n=!0,R$(i,o));i=i.next}while(n);y0=!1}}function wj(){T4()}function T4(){Pp=xy=!1;var e=0;Si!==0&&jj()&&(e=Si);for(var t=sn(),n=null,i=as;i!==null;){var r=i.next,o=$4(i,t);o===0?(i.next=null,n===null?as=r:n.next=r,r===null&&(ka=n)):(n=i,(e!==0||(o&3)!==0)&&(Pp=!0)),i=r}Ue!==0&&Ue!==5||su(e,!1),Si!==0&&(Si=0)}function $4(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,r=e.expirationTimes,o=e.pendingLanes&-62914561;0<o;){var a=31-cn(o),s=1<<a,l=r[a];l===-1?((s&n)===0||(s&i)!==0)&&(r[a]=HC(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}if(t=Te,n=de,n=Lp(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,n===0||e===t&&(Se===2||Se===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&Fv(i),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||eu(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(i!==null&&Fv(i),Dy(n)){case 2:case 8:n=d2;break;case 32:n=pp;break;case 268435456:n=m2;break;default:n=pp}return i=R4.bind(null,e),n=Uy(n,i),e.callbackPriority=t,e.callbackNode=n,t}return i!==null&&i!==null&&Fv(i),e.callbackPriority=2,e.callbackNode=null,2}function R4(e,t){if(Ue!==0&&Ue!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(rh()&&e.callbackNode!==n)return null;var i=de;return i=Lp(e,e===Te?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0?null:(g4(e,i,t),$4(e,sn()),e.callbackNode!=null&&e.callbackNode===n?R4.bind(null,e):null)}function R$(e,t){if(rh())return null;g4(e,t,!0)}function Tj(){Pj(function(){(pe&6)!==0?Uy(u2,wj):T4()})}function wS(){if(Si===0){var e=$o;e===0&&(e=$f,$f<<=1,($f&261888)===0&&($f=256)),Si=e}return Si}function E$(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Jf(e)}function $j(e,t,n,i,r){if(t==="submit"&&n&&n.stateNode===r){var o=E$((r[Yt]||null).action),a=i.submitter;a&&(t=(t=a[Yt]||null)?E$(t.formAction):a.getAttribute("formAction"),t!==null&&(o=t,a=null));var s=new Hp("action","action",null,i,r);e.push({event:s,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Si!==0){var l=new FormData(r,a);W0(n,{pending:!0,data:l,method:r.method,action:o},null,l)}}else typeof o=="function"&&(s.preventDefault(),l=new FormData(r,a),W0(n,{pending:!0,data:l,method:r.method,action:o},o,l))},currentTarget:r}]})}}for(qf=0;qf<H0.length;qf++)Hf=H0[qf],O$=Hf.toLowerCase(),k$=Hf[0].toUpperCase()+Hf.slice(1),Vn(O$,"on"+k$);var Hf,O$,k$,qf;Vn(D2,"onAnimationEnd");Vn(L2,"onAnimationIteration");Vn(q2,"onAnimationStart");Vn("dblclick","onDoubleClick");Vn("focusin","onFocus");Vn("focusout","onBlur");Vn(UN,"onTransitionRun");Vn(MN,"onTransitionStart");Vn(DN,"onTransitionCancel");Vn(H2,"onTransitionEnd");es("onMouseEnter",["mouseout","mouseover"]);es("onMouseLeave",["mouseout","mouseover"]);es("onPointerEnter",["pointerout","pointerover"]);es("onPointerLeave",["pointerout","pointerover"]);Co("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Co("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Co("onBeforeInput",["compositionend","keypress","textInput","paste"]);Co("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Co("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Co("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Bc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Rj=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Bc));function E4(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var i=e[n],r=i.event;i=i.listeners;e:{var o=void 0;if(t)for(var a=i.length-1;0<=a;a--){var s=i[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&r.isPropagationStopped())break e;o=s,r.currentTarget=c;try{o(r)}catch(d){gp(d)}r.currentTarget=null,o=l}else for(a=0;a<i.length;a++){if(s=i[a],l=s.instance,c=s.currentTarget,s=s.listener,l!==o&&r.isPropagationStopped())break e;o=s,r.currentTarget=c;try{o(r)}catch(d){gp(d)}r.currentTarget=null,o=l}}}}function se(e,t){var n=t[wT];n===void 0&&(n=t[wT]=new Set);var i=e+"__bubble";n.has(i)||(O4(t,e,2,!1),n.add(i))}function S0(e,t,n){var i=0;t&&(i|=4),O4(n,e,i,t)}var Zf="_reactListening"+Math.random().toString(36).slice(2);function TS(e){if(!e[Zf]){e[Zf]=!0,b2.forEach(function(n){n!=="selectionchange"&&(Rj.has(n)||S0(n,!1,e),S0(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Zf]||(t[Zf]=!0,S0("selectionchange",!1,t))}}function O4(e,t,n,i){switch(W4(t)){case 2:var r=SA;break;case 8:r=bA;break;default:r=CS}n=r.bind(null,t,n,e),r=void 0,!M0||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),i?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function b0(e,t,n,i,r){var o=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var a=i.tag;if(a===3||a===4){var s=i.stateNode.containerInfo;if(s===r)break;if(a===4)for(a=i.return;a!==null;){var l=a.tag;if((l===3||l===4)&&a.stateNode.containerInfo===r)return;a=a.return}for(;s!==null;){if(a=go(s),a===null)return;if(l=a.tag,l===5||l===6||l===26||l===27){i=o=a;continue e}s=s.parentNode}}i=i.return}E2(function(){var c=o,d=qy(n),p=[];e:{var m=Z2.get(e);if(m!==void 0){var f=Hp,_=e;switch(e){case"keypress":if(Kf(n)===0)break e;case"keydown":case"keyup":f=fN;break;case"focusin":_="focus",f=n0;break;case"focusout":_="blur",f=n0;break;case"beforeblur":case"afterblur":f=n0;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=CT;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=tN;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=yN;break;case D2:case L2:case q2:f=iN;break;case H2:f=bN;break;case"scroll":case"scrollend":f=WC;break;case"wheel":f=zN;break;case"copy":case"cut":case"paste":f=aN;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=jT;break;case"submit":f=gN;break;case"toggle":case"beforetoggle":f=wN}var $=(t&4)!==0,j=!$&&(e==="scroll"||e==="scrollend"),y=$?m!==null?m+"Capture":null:m;$=[];for(var g=c,S;g!==null;){var x=g;if(S=x.stateNode,x=x.tag,x!==5&&x!==26&&x!==27||S===null||y===null||(x=Uc(g,y),x!=null&&$.push(Gc(g,x,S))),j)break;g=g.return}0<$.length&&(m=new f(m,_,null,n,d),p.push({event:m,listeners:$}))}}if((t&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",f&&n!==U0&&(_=n.relatedTarget||n.fromElement)&&(go(_)||_[ms]))break e;(m||f)&&(_=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window,m?(f=n.relatedTarget||n.toElement,m=c,f=f?go(f):null,f!==null&&(j=Xc(f),$=f.tag,f!==j||$!==5&&$!==27&&$!==6)&&(f=null)):(m=null,f=c),m!==f&&($=CT,x="onMouseLeave",y="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&($=jT,x="onPointerLeave",y="onPointerEnter",g="pointer"),j=m==null?_:bc(m),S=f==null?_:bc(f),_=new $(x,g+"leave",m,n,d),_.target=j,_.relatedTarget=S,x=null,go(d)===c&&($=new $(y,g+"enter",f,n,d),$.target=S,$.relatedTarget=j,x=$),j=x,$=m&&f?T0(m,f,Ej):null,m!==null&&I$(p,_,m,$,!1),f!==null&&j!==null&&I$(p,j,f,$,!0)))}e:{if(m=c?bc(c):window,f=m.nodeName&&m.nodeName.toLowerCase(),f==="select"||f==="input"&&m.type==="file")var I=MT;else if(UT(m))if(j2)I=jN;else{I=CN;var H=IN}else f=m.nodeName,!f||f.toLowerCase()!=="input"||m.type!=="checkbox"&&m.type!=="radio"?c&&Ly(c.elementType)&&(I=MT):I=NN;if(I&&(I=I(e,c))){N2(p,I,n,d);break e}H&&H(e,m,c)}switch(H=c?bc(c):window,e){case"focusin":(UT(H)||H.contentEditable==="true")&&(Pa=H,L0=c,Tc=null);break;case"focusout":Tc=L0=Pa=null;break;case"mousedown":q0=!0;break;case"contextmenu":case"mouseup":case"dragend":q0=!1,HT(p,n,d);break;case"selectionchange":if(PN)break;case"keydown":case"keyup":HT(p,n,d)}var M;if(Vy)e:{switch(e){case"compositionstart":var B="onCompositionStart";break e;case"compositionend":B="onCompositionEnd";break e;case"compositionupdate":B="onCompositionUpdate";break e}B=void 0}else Aa?I2(e,n)&&(B="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(B="onCompositionStart");B&&(k2&&n.locale!=="ko"&&(Aa||B!=="onCompositionStart"?B==="onCompositionEnd"&&Aa&&(M=O2()):(hi=d,Hy="value"in hi?hi.value:hi.textContent,Aa=!0)),H=Up(c,B),0<H.length&&(B=new NT(B,e,null,n,d),p.push({event:B,listeners:H}),M?B.data=M:(M=C2(n),M!==null&&(B.data=M)))),(M=$N?RN(e,n):EN(e,n))&&(B=Up(c,"onBeforeInput"),0<B.length&&(H=new NT("onBeforeInput","beforeinput",null,n,d),p.push({event:H,listeners:B}),H.data=M)),$j(p,e,c,n,d)}E4(p,t)})}function Gc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Up(e,t){for(var n=t+"Capture",i=[];e!==null;){var r=e,o=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||o===null||(r=Uc(e,n),r!=null&&i.unshift(Gc(e,r,o)),r=Uc(e,t),r!=null&&i.push(Gc(e,r,o))),e.tag===3)return i;e=e.return}return[]}function Ej(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function I$(e,t,n,i,r){for(var o=t._reactName,a=[];n!==null&&n!==i;){var s=n,l=s.alternate,c=s.stateNode;if(s=s.tag,l!==null&&l===i)break;s!==5&&s!==26&&s!==27||c===null||(l=c,r?(c=Uc(n,o),c!=null&&a.unshift(Gc(n,c,l))):r||(c=Uc(n,o),c!=null&&a.push(Gc(n,c,l)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var Oj=/\\r\\n?/g,kj=/\\u0000|\\uFFFD/g;function C$(e){return(typeof e=="string"?e:""+e).replace(Oj,`\n`).replace(kj,"")}function k4(e,t){return t=C$(t),C$(e)===t}function be(e,t,n,i,r,o){switch(n){case"children":if(typeof i=="string")t==="body"||t==="textarea"&&i===""||ts(e,i);else if(typeof i=="number"||typeof i=="bigint")t!=="body"&&ts(e,""+i);else return;break;case"className":Of(e,"class",i);break;case"tabIndex":Of(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Of(e,n,i);break;case"style":R2(e,i,o);return;case"data":if(t!=="object"){Of(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}i=Jf(i),e.setAttribute(n,i);break;case"action":case"formAction":if(typeof i=="function"){e.setAttribute(n,"javascript:throw new Error(\'A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\\\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().\')");break}else typeof o=="function"&&(n==="formAction"?(t!=="input"&&be(e,t,"name",r.name,r,null),be(e,t,"formEncType",r.formEncType,r,null),be(e,t,"formMethod",r.formMethod,r,null),be(e,t,"formTarget",r.formTarget,r,null)):(be(e,t,"encType",r.encType,r,null),be(e,t,"method",r.method,r,null),be(e,t,"target",r.target,r,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}i=Jf(i),e.setAttribute(n,i);break;case"onClick":i!=null&&(e.onclick=ar);return;case"onScroll":i!=null&&se("scroll",e);return;case"onScrollEnd":i!=null&&se("scrollend",e);return;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(R(61));if(n=i.__html,n!=null){if(r.children!=null)throw Error(R(60));o?.__html!==n&&(e.innerHTML=n)}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}n=Jf(i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,i):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":i===!0?e.setAttribute(n,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,i):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?e.setAttribute(n,i):e.removeAttribute(n);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(n):e.setAttribute(n,i);break;case"popover":se("beforetoggle",e),se("toggle",e),Gf(e,"popover",i);break;case"xlinkActuate":Or(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":Or(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":Or(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":Or(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":Or(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":Or(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":Or(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":Or(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":Or(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Gf(e,"is",i);break;case"innerText":case"textContent":return;default:if(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")n=QC.get(n)||n,Gf(e,n,i);else return}fe=!0}function wy(e,t,n,i,r,o){switch(n){case"style":R2(e,i,o);return;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(R(61));if(n=i.__html,n!=null){if(r.children!=null)throw Error(R(60));o?.__html!==n&&(e.innerHTML=n)}}break;case"children":if(typeof i=="string")ts(e,i);else if(typeof i=="number"||typeof i=="bigint")ts(e,""+i);else return;break;case"onScroll":i!=null&&se("scroll",e);return;case"onScrollEnd":i!=null&&se("scrollend",e);return;case"onClick":i!=null&&(e.onclick=ar);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!_2.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),o=n.slice(2,r?n.length-7:void 0),t=e[Yt]||null,t=t!=null?t[n]:null,typeof t=="function"&&e.removeEventListener(o,t,r),typeof i=="function")){typeof t!="function"&&t!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(o,i,r);break e}fe=!0,n in e?e[n]=i:i===!0?e.setAttribute(n,""):Gf(e,n,i)}return}fe=!0}function ht(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":se("error",e),se("load",e);var i=!1,r=!1,o;for(o in n)if(n.hasOwnProperty(o)){var a=n[o];if(a!=null)switch(o){case"src":i=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(R(137,t));default:be(e,t,o,a,n,null)}}r&&be(e,t,"srcSet",n.srcSet,n,null),i&&be(e,t,"src",n.src,n,null);return;case"input":se("invalid",e);var s=o=a=r=null,l=null,c=null;for(i in n)if(n.hasOwnProperty(i)){var d=n[i];if(d!=null)switch(i){case"name":r=d;break;case"type":a=d;break;case"checked":l=d;break;case"defaultChecked":c=d;break;case"value":o=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(R(137,t));break;default:be(e,t,i,d,n,null)}}w2(e,o,s,l,c,a,r,!1);return;case"select":se("invalid",e),i=a=o=null;for(r in n)if(n.hasOwnProperty(r)&&(s=n[r],s!=null))switch(r){case"value":o=s;break;case"defaultValue":a=s;break;case"multiple":i=s;default:be(e,t,r,s,n,null)}t=o,n=a,e.multiple=!!i,t!=null?Va(e,!!i,t,!1):n!=null&&Va(e,!!i,n,!0);return;case"textarea":se("invalid",e),o=r=i=null;for(a in n)if(n.hasOwnProperty(a)&&(s=n[a],s!=null))switch(a){case"value":i=s;break;case"defaultValue":r=s;break;case"children":o=s;break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(R(91));break;default:be(e,t,a,s,n,null)}$2(e,i,r,o);return;case"option":for(l in n)n.hasOwnProperty(l)&&(i=n[l],i!=null)&&(l==="selected"?e.selected=i&&typeof i!="function"&&typeof i!="symbol":be(e,t,l,i,n,null));return;case"dialog":se("beforetoggle",e),se("toggle",e),se("cancel",e),se("close",e);break;case"iframe":case"object":se("load",e);break;case"video":case"audio":for(i=0;i<Bc.length;i++)se(Bc[i],e);break;case"image":se("error",e),se("load",e);break;case"details":se("toggle",e);break;case"embed":case"source":case"link":se("error",e),se("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&(i=n[c],i!=null))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(R(137,t));default:be(e,t,c,i,n,null)}return;default:if(Ly(t)){for(d in n)n.hasOwnProperty(d)&&(i=n[d],i!==void 0&&wy(e,t,d,i,n,void 0));return}}for(s in n)n.hasOwnProperty(s)&&(i=n[s],i!=null&&be(e,t,s,i,n,null))}var Ij={};function Cj(e,t,n,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,o=null,a=null,s=null,l=null,c=null,d=null;for(f in n){var p=n[f];if(n.hasOwnProperty(f)&&p!=null)switch(f){case"checked":break;case"value":break;case"defaultValue":l=p;default:i.hasOwnProperty(f)||be(e,t,f,null,i,p)}}for(var m in i){var f=i[m];if(p=n[m],i.hasOwnProperty(m)&&(f!=null||p!=null))switch(m){case"type":f!==p&&(fe=!0),o=f;break;case"name":f!==p&&(fe=!0),r=f;break;case"checked":f!==p&&(fe=!0),c=f;break;case"defaultChecked":f!==p&&(fe=!0),d=f;break;case"value":f!==p&&(fe=!0),a=f;break;case"defaultValue":f!==p&&(fe=!0),s=f;break;case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(R(137,t));break;default:f!==p&&be(e,t,m,f,i,p)}}P0(e,a,s,l,c,d,o,r);return;case"select":f=a=s=m=null;for(o in n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case"value":break;case"multiple":f=l;default:i.hasOwnProperty(o)||be(e,t,o,null,i,l)}for(r in i)if(o=i[r],l=n[r],i.hasOwnProperty(r)&&(o!=null||l!=null))switch(r){case"value":o!==l&&(fe=!0),m=o;break;case"defaultValue":o!==l&&(fe=!0),s=o;break;case"multiple":o!==l&&(fe=!0),a=o;default:o!==l&&be(e,t,r,o,i,l)}t=s,n=a,i=f,m!=null?Va(e,!!n,m,!1):!!i!=!!n&&(t!=null?Va(e,!!n,t,!0):Va(e,!!n,n?[]:"",!1));return;case"textarea":f=m=null;for(s in n)if(r=n[s],n.hasOwnProperty(s)&&r!=null&&!i.hasOwnProperty(s))switch(s){case"value":break;case"children":break;default:be(e,t,s,null,i,r)}for(a in i)if(r=i[a],o=n[a],i.hasOwnProperty(a)&&(r!=null||o!=null))switch(a){case"value":r!==o&&(fe=!0),m=r;break;case"defaultValue":r!==o&&(fe=!0),f=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(R(91));break;default:r!==o&&be(e,t,a,r,i,o)}T2(e,m,f);return;case"option":for(var _ in n)m=n[_],n.hasOwnProperty(_)&&m!=null&&!i.hasOwnProperty(_)&&(_==="selected"?e.selected=!1:be(e,t,_,null,i,m));for(l in i)m=i[l],f=n[l],i.hasOwnProperty(l)&&m!==f&&(m!=null||f!=null)&&(l==="selected"?(m!==f&&(fe=!0),e.selected=m&&typeof m!="function"&&typeof m!="symbol"):be(e,t,l,m,i,f));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var $ in n)m=n[$],n.hasOwnProperty($)&&m!=null&&!i.hasOwnProperty($)&&be(e,t,$,null,i,m);for(c in i)if(m=i[c],f=n[c],i.hasOwnProperty(c)&&m!==f&&(m!=null||f!=null))switch(c){case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(R(137,t));break;default:be(e,t,c,m,i,f)}return;default:if(Ly(t)){for(var j in n)m=n[j],n.hasOwnProperty(j)&&m!==void 0&&!i.hasOwnProperty(j)&&wy(e,t,j,void 0,i,m);for(d in i)m=i[d],f=n[d],!i.hasOwnProperty(d)||m===f||m===void 0&&f===void 0||wy(e,t,d,m,i,f);return}}for(var y in n)m=n[y],n.hasOwnProperty(y)&&m!=null&&!i.hasOwnProperty(y)&&be(e,t,y,null,i,m);for(p in i)m=i[p],f=n[p],!i.hasOwnProperty(p)||m===f||m==null&&f==null||be(e,t,p,m,i,f)}function N$(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Nj(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),i=0;i<n.length;i++){var r=n[i],o=r.transferSize,a=r.initiatorType,s=r.duration;if(o&&s&&N$(a)){for(a=0,s=r.responseEnd,i+=1;i<n.length;i++){var l=n[i],c=l.startTime;if(c>s)break;var d=l.transferSize,p=l.initiatorType;d&&N$(p)&&(l=l.responseEnd,a+=d*(l<s?1:(s-c)/(l-c)))}if(--i,t+=8*(o+a)/(r.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Ty=null,$y=null;function Jc(e){return e.nodeType===9?e:e.ownerDocument}function j$(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function I4(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function C4(e,t,n,i){return n=Jc(n).createElement(e),n[dt]=i,n[Yt]=t,ht(n,e,t),ot(n),n}function Ry(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var _0=null;function jj(){var e=window.event;return e&&e.type==="popstate"?e===_0?!1:(_0=e,!0):(_0=null,!1)}var $S=typeof setTimeout=="function"?setTimeout:void 0,Aj=typeof clearTimeout=="function"?clearTimeout:void 0,A$=typeof Promise=="function"?Promise:void 0,P$=typeof requestAnimationFrame=="function"?requestAnimationFrame:$S,Pj=typeof queueMicrotask=="function"?queueMicrotask:typeof A$<"u"?function(e){return A$.resolve(null).then(e).catch(Uj)}:$S;function Uj(e){setTimeout(function(){throw e})}function Pi(e){return e==="head"}function U$(e,t){var n=t,i=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===8)if(n=r.data,n==="/$"||n==="/&"){if(i===0){e.removeChild(r),ds(t);return}i--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")i++;else if(n==="html")x0(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,x0(n);for(var o=n.firstChild;o;){var a=o.nextSibling,s=o.nodeName;o[nu]||s==="SCRIPT"||s==="STYLE"||s==="LINK"&&o.rel.toLowerCase()==="stylesheet"||n.removeChild(o),o=a}}else n==="body"&&x0(e.ownerDocument.body);n=r}while(n);ds(t)}function M$(e,t){var n=e;e=0;do{var i=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=i}while(n)}function N4(e,t,n){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,n!=null&&(e.style.viewTransitionClass=n),n=getComputedStyle(e),n.display==="inline"){if(t=e.getClientRects(),t.length===1)var i=1;else for(var r=i=0;r<t.length;r++){var o=t[r];0<o.width&&0<o.height&&i++}i===1&&(e=e.style,e.display=t.length===1?"inline-block":"block",e.marginTop="-"+n.paddingTop,e.marginBottom="-"+n.paddingBottom)}}function j4(e,t){e=e.style,t=t.style;var n=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=n==null||typeof n=="boolean"?"":(""+n).trim(),n=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=n==null||typeof n=="boolean"?"":(""+n).trim(),e.display==="inline-block"&&(t==null?e.display=e.margin="":(n=t.display,e.display=n==null||typeof n=="boolean"?"":n,n=t.margin,n!=null?e.margin=n:(n=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=n==null||typeof n=="boolean"?"":n,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=t==null||typeof t=="boolean"?"":t)))}function A4(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:t.position==="absolute"||t.position==="fixed",clip:t.clipPath!=="none"||t.overflow!=="visible"||t.filter!=="none"||t.mask!=="none"||t.mask!=="none"||t.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function Ey(e){var t=e.getBoundingClientRect(),n=getComputedStyle(e);return A4(t,n,e)}function Mj(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var n=getComputedStyle(e);return A4(t,n,e)}function Dj(e){return e.documentElement.clientHeight}function Lj(e){this.addEventListener("load",e),this.addEventListener("error",e)}function qj(e,t,n,i,r,o,a,s,l){var c=t.nodeType===9?t:t.ownerDocument;try{var d=c.startViewTransition({update:function(){var m=c.defaultView,f=m.navigation&&m.navigation.transition,_=c.fonts.status;i();var $=[];if(_==="loaded"&&(Dj(c),c.fonts.status==="loading"&&$.push(c.fonts.ready)),_=$.length,e!==null)for(var j=e.suspenseyImages,y=0,g=0;g<j.length;g++){var S=j[g];if(!S.complete){var x=S.getBoundingClientRect();if(0<x.bottom&&0<x.right&&x.top<m.innerHeight&&x.left<m.innerWidth){if(y+=J4(S),y>lp){$.length=_;break}S=new Promise(Lj.bind(S)),$.push(S)}}}if(0<$.length)return m=Promise.race([Promise.all($),new Promise(function(I){return setTimeout(I,500)})]).then(r,r),(f?Promise.allSettled([f.finished,m]):m).then(o,o);if(r(),f)return f.finished.then(o,o);o()},types:n});c.__reactViewTransition=d;var p=[];return d.ready.then(function(){for(var m=c.documentElement.getAnimations({subtree:!0}),f=0;f<m.length;f++){var _=m[f],$=_.effect,j=$.pseudoElement;if(j!=null&&j.startsWith("::view-transition")){p.push(_),_=$.getKeyframes();for(var y=j=void 0,g=!0,S=0;S<_.length;S++){var x=_[S],I=x.width;if(j===void 0)j=I;else if(j!==I){g=!1;break}if(I=x.height,y===void 0)y=I;else if(y!==I){g=!1;break}delete x.width,delete x.height,x.transform==="none"&&delete x.transform}g&&j!==void 0&&y!==void 0&&($.setKeyframes(_),g=getComputedStyle($.target,$.pseudoElement),g.width!==j||g.height!==y)&&(g=_[0],g.width=j,g.height=y,g=_[_.length-1],g.width=j,g.height=y,$.setKeyframes(_))}}a()},function(m){c.__reactViewTransition===d&&(c.__reactViewTransition=null);try{typeof m=="object"&&m!==null&&m.name==="InvalidStateError"&&(m.message==="View transition was skipped because document visibility state is hidden."||m.message==="Skipping view transition because document visibility state has become hidden."||m.message==="Skipping view transition because viewport size changed."||m.message==="Transition was aborted because of invalid state")&&(m=null),m!==null&&l(m)}finally{i(),r(),a()}}),d.finished.finally(function(){for(var m=0;m<p.length;m++)p[m].cancel();c.__reactViewTransition===d&&(c.__reactViewTransition=null),s()}),d}catch{return i(),r(),a(),null}}function vo(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}vo.prototype.animate=function(e,t){return t=typeof t=="number"?{duration:t}:$e({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)};vo.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),i=[],r=0;r<n.length;r++){var o=n[r].effect;o!==null&&o.target===e&&o.pseudoElement===t&&i.push(n[r])}return i};vo.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function P4(e){return{name:e,group:new vo("group",e),imagePair:new vo("image-pair",e),old:new vo("old",e),new:new vo("new",e)}}function mn(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}mn.prototype.addEventListener=function(e,t,n){var i=null,r=null;if(!(n!=null&&typeof n!="boolean"&&(i=n.signal||null,i!==null&&i.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var o=this._eventListeners;if(U4(o,e,t,n)===-1){var a=this,s=t;n!=null&&typeof n!="boolean"&&n.once===!0&&(s=function(l){a.removeEventListener(e,t,n),typeof t=="function"?t.call(this,l):t.handleEvent(l)}),i!==null&&(r=a.removeEventListener.bind(a,e,t,n),i.addEventListener("abort",r,{once:!0}),r=i.removeEventListener.bind(i,"abort",r)),i=ss(n),o.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:s,cleanup:r}),Jt(this._fragmentFiber.child,!1,Hj,e,s,i)}this._eventListeners=o}};function Hj(e,t,n,i){return We(e).addEventListener(t,n,i),!1}mn.prototype.removeEventListener=function(e,t,n){var i=this._eventListeners;if(i!==null&&(t=U4(i,e,t,n),t!==-1)){var r=i[t];n=r.attachedListener;var o=r.cleanup;r=ss(r.optionsOrUseCapture),Jt(this._fragmentFiber.child,!1,Zj,e,n,r),i.splice(t,1),o!==null&&o()}};function Zj(e,t,n,i){return We(e).removeEventListener(t,n,i),!1}function ss(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function D$(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function U4(e,t,n,i){if(e.length===0)return-1;i=D$(i);for(var r=0;r<e.length;r++){var o=e[r];if(o.type===t&&o.listener===n&&D$(o.optionsOrUseCapture)===i)return r}return-1}mn.prototype.dispatchEvent=function(e){var t=Io(this._fragmentFiber);if(t===null)return!0;t=We(t);var n=this._eventListeners;if(n!==null&&0<n.length||!e.bubbles){var i=t.nodeType===9?t.createComment(""):document.createTextNode("");if(n)for(var r=0;r<n.length;r++){var o=n[r];i.addEventListener(o.type,o.attachedListener,ss(o.optionsOrUseCapture))}if(t.appendChild(i),e=i.dispatchEvent(e),n)for(r=0;r<n.length;r++)o=n[r],i.removeEventListener(o.type,o.attachedListener,ss(o.optionsOrUseCapture));return t.removeChild(i),e}return t.dispatchEvent(e)};mn.prototype.focus=function(e){Jt(this._fragmentFiber.child,!0,M4,e,void 0,void 0)};function M4(e,t){return e.tag===6?!1:(e=We(e),tA(e,t))}mn.prototype.focusLast=function(e){var t=[];Jt(this._fragmentFiber.child,!0,RS,t,void 0,void 0);for(var n=t.length-1;0<=n&&!M4(t[n],e);n--);};function RS(e,t){return t.push(e),!1}mn.prototype.blur=function(){var e=Io(this._fragmentFiber);e!==null&&(e=We(e),e=Jc(e).activeElement,e!==null&&Jt(this._fragmentFiber.child,!1,Vj,e,void 0,void 0))};function Vj(e,t){return e.tag===6?!1:(e=We(e),e===t||e.contains(t)?(t.blur(),!0):!1)}mn.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),Jt(this._fragmentFiber.child,!1,Bj,e,void 0,void 0)};function Bj(e,t){return e.tag===6||(e=We(e),t.observe(e)),!1}mn.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),Jt(this._fragmentFiber.child,!1,Gj,e,void 0,void 0);for(var n=t=0;n<Hn.length;n++){var i=Hn[n];i.fragmentInstance===this&&i.observer===e?e.unobserve(i.instance):Hn[t++]=i}Hn.length=t}};function Gj(e,t){return e.tag===6||(e=We(e),t.unobserve(e)),!1}var Hn=[],z0=!1;function Jj(e,t,n){Hn.push({fragmentInstance:e,observer:t,instance:n}),z0||(z0=!0,nA(function(){z0=!1;var i=Hn;Hn=[];for(var r=0;r<i.length;r++){var o=i[r];o.observer.unobserve(o.instance)}}))}mn.prototype.getClientRects=function(){var e=[];return Jt(this._fragmentFiber.child,!1,Yj,e,void 0,void 0),e};function Yj(e,t){if(e.tag===6){e=e.stateNode;var n=e.ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=We(e),t.push.apply(t,e.getClientRects());return!1}mn.prototype.getRootNode=function(e){var t=Io(this._fragmentFiber);return t===null?this:We(t).getRootNode(e)};mn.prototype.compareDocumentPosition=function(e){var t=Io(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];Jt(this._fragmentFiber.child,!1,RS,n,void 0,void 0);var i=We(t);if(n.length===0){if(n=i,yT(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break e}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(n=t)}t=this._fragmentFiber;var r=i=n.compareDocumentPosition(e);return n===e?r=Node.DOCUMENT_POSITION_CONTAINS:i&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=a2(t)[1],n===null?r=Node.DOCUMENT_POSITION_PRECEDING:(e=We(n).compareDocumentPosition(e),r=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),r|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=We(n[0]),r=We(n[n.length-1]);var o=yT(this._fragmentFiber)?t.parentElement:i;if(o==null)return Node.DOCUMENT_POSITION_DISCONNECTED;i=o.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,o=o.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY;var a=t.compareDocumentPosition(e),s=r.compareDocumentPosition(e),l=a&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY;return s=i&&o&&a&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,t=i&&t===e||o&&r===e||l||s?Node.DOCUMENT_POSITION_CONTAINED_BY:!i&&t===e||!o&&r===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:a,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||Kj(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function Kj(e,t,n,i,r){var o=go(r);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!o)e:{for(;o!==null;){if(o.tag===7&&(o===t||o.alternate===t)){n=!0;break e}o=o.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(o===null)return o=r.ownerDocument,r===o||r===o.documentElement||r===o.body;e:{for(o=t,t=Io(t);o!==null;){if(!(o.tag!==5&&o.tag!==3&&o.tag!==27||o!==t&&o.alternate!==t)){o=!0;break e}o=o.return}o=!1}return o}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!o)&&!(t=o===n)&&(t=T0(n,o,ST),t===null?t=!1:(Jt(t,!0,TC,o,n),o=Ia,Ia=null,t=o!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!o)&&!(t=o===i)&&(t=T0(i,o,ST),t===null?t=!1:(Jt(t,!0,$C,o,i),o=Ia,w0=Ia=null,t=o!==null)),t):!1}function L$(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}mn.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(R(566));var t=[];Jt(this._fragmentFiber.child,!1,RS,t,void 0,void 0);var n=e!==!1;if(t.length===0){var i=a2(this._fragmentFiber);if(i=n?i[1]||i[0]||Io(this._fragmentFiber):i[0]||i[1],i===null)return;if(i.tag===6){e=We(i),L$(e,n);return}if(i=We(i),i.nodeType!==9){if(i.nodeType===11){n="host"in i?i.host:null,n!==null&&n.scrollIntoView(e);return}i.scrollIntoView(e)}}for(i=n?t.length-1:0;i!==(n?-1:t.length);){var r=t[i];r.tag===6?(r=We(r),L$(r,n)):We(r).scrollIntoView(e),i+=n?-1:1}};function Fj(e,t){return e=We(e),D4(e,t),!1}function D4(e,t){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(t)}function L4(e,t){var n=t._eventListeners;if(n!==null)for(var i=0;i<n.length;i++){var r=n[i];e.addEventListener(r.type,r.attachedListener,ss(r.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(o){for(var a=0,s=0;s<Hn.length;s++){var l=Hn[s];(l.fragmentInstance!==t||l.observer!==o||l.instance!==e)&&(Hn[a++]=l)}Hn.length=a,o.observe(e)}),D4(e,t))}function Qj(e,t){var n=t._eventListeners;if(n!==null)for(var i=0;i<n.length;i++){var r=n[i];e.removeEventListener(r.type,r.attachedListener,ss(r.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(o){typeof o.rootMargin=="string"?Jj(t,o,e):o.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function Oy(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Oy(n),qp(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function Xj(e,t,n,i){for(;e.nodeType===1;){var r=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[nu])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(o=e.getAttribute("rel"),o==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(o!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(o=e.getAttribute("src"),(o!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var o=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===o)return e}else return e;if(e=Cn(e.nextSibling),e===null)break}return null}function Wj(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Cn(e.nextSibling),e===null))return null;return e}function q4(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Cn(e.nextSibling),e===null))return null;return e}function ky(e){return e.data==="$?"||e.data==="$~"}function ES(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function eA(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var i=function(){t(),n.removeEventListener("DOMContentLoaded",i)};n.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function Cn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Iy=null;function q$(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return Cn(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function H$(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function tA(e,t){function n(){i=!0}if(e.ownerDocument.activeElement===e)return!0;var i=!1;try{e.ownerDocument.addEventListener("focus",n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",n,!0)}return i}function nA(e){P$(function(){P$(function(t){return e(t)})})}function H4(e,t,n){switch(t=Jc(n),e){case"html":if(e=t.documentElement,!e)throw Error(R(452));return e;case"head":if(e=t.head,!e)throw Error(R(453));return e;case"body":if(e=t.body,!e)throw Error(R(454));return e;default:throw Error(R(451))}}function Z4(e,t,n){for(var i in n){var r=n[i];n.hasOwnProperty(i)&&r!=null&&be(e,t,i,null,Ij,r)}n.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===ar&&(e.onclick=null),qp(e)}function x0(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);qp(e)}var Nn=new Map,Z$=new Set;function Yc(e){if(typeof e.getRootNode=="function"){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var Zr=he.d;he.d={f:rA,r:iA,D:oA,C:aA,L:sA,m:lA,X:uA,S:cA,M:dA};function rA(){var e=Zr.f(),t=th();return e||t}function iA(e){var t=fs(e);t!==null&&t.tag===5&&t.type==="form"?RR(t):Zr.r(e)}var vs=typeof document>"u"?null:document;function V4(e,t,n){var i=vs;if(i&&typeof t=="string"&&t){var r=On(t);r=\'link[rel="\'+e+\'"][href="\'+r+\'"]\',typeof n=="string"&&(r+=\'[crossorigin="\'+n+\'"]\'),Z$.has(r)||(Z$.add(r),e={rel:e,crossOrigin:n,href:t},i.querySelector(r)===null&&(t=i.createElement("link"),ht(t,"link",e),ot(t),i.head.appendChild(t)))}}function oA(e){Zr.D(e),V4("dns-prefetch",e,null)}function aA(e,t){Zr.C(e,t),V4("preconnect",e,t)}function sA(e,t,n){Zr.L(e,t,n);var i=vs;if(i&&e&&t){var r=\'link[rel="preload"][as="\'+On(t)+\'"]\';t==="image"&&n&&n.imageSrcSet?(r+=\'[imagesrcset="\'+On(n.imageSrcSet)+\'"]\',typeof n.imageSizes=="string"&&(r+=\'[imagesizes="\'+On(n.imageSizes)+\'"]\')):r+=\'[href="\'+On(e)+\'"]\';var o=r;switch(t){case"style":o=ls(e);break;case"script":o=ys(e)}if(!(Nn.has(o)||(e=$e({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Nn.set(o,e),i.querySelector(r)!==null||t==="style"&&i.querySelector(lu(o))||t==="script"&&i.querySelector(cu(o))))){var a=i.createElement("link");ht(a,"link",e),t==="style"&&(a[hp]=!0,a.onload=a.onerror=function(){S2(a)}),ot(a),i.head.appendChild(a)}}}function lA(e,t){Zr.m(e,t);var n=vs;if(n&&e){var i=t&&typeof t.as=="string"?t.as:"script",r=\'link[rel="modulepreload"][as="\'+On(i)+\'"][href="\'+On(e)+\'"]\',o=r;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=ys(e)}if(!Nn.has(o)&&(e=$e({rel:"modulepreload",href:e},t),Nn.set(o,e),n.querySelector(r)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(cu(o)))return}i=n.createElement("link"),ht(i,"link",e),ot(i),n.head.appendChild(i)}}}function cA(e,t,n){Zr.S(e,t,n);var i=vs;if(i&&e){var r=Za(i).hoistableStyles,o=ls(e);t=t||"default";var a=r.get(o);if(!a){var s={loading:0,preload:null};if(a=i.querySelector(lu(o)))s.loading=5;else{e=$e({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Nn.get(o))&&OS(e,n);var l=a=i.createElement("link");ot(l),ht(l,"link",e),l._p=new Promise(function(c,d){l.onload=c,l.onerror=d}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,ap(a,t,i)}a={type:"stylesheet",instance:a,count:1,state:s},r.set(o,a)}}}function uA(e,t){Zr.X(e,t);var n=vs;if(n&&e){var i=Za(n).hoistableScripts,r=ys(e),o=i.get(r);o||(o=n.querySelector(cu(r)),o||(e=$e({src:e,async:!0},t),(t=Nn.get(r))&&kS(e,t),o=n.createElement("script"),ot(o),ht(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},i.set(r,o))}}function dA(e,t){Zr.M(e,t);var n=vs;if(n&&e){var i=Za(n).hoistableScripts,r=ys(e),o=i.get(r);o||(o=n.querySelector(cu(r)),o||(e=$e({src:e,async:!0,type:"module"},t),(t=Nn.get(r))&&kS(e,t),o=n.createElement("script"),ot(o),ht(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},i.set(r,o))}}function V$(e,t,n,i){var r=(r=bi.current)?Yc(r):null;if(!r)throw Error(R(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=ls(n.href),t=Za(r).hoistableStyles,i=t.get(n),i||(i={type:"style",instance:null,count:0,state:null},t.set(n,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=ls(n.href);var o=Za(r).hoistableStyles,a=o.get(e);if(a||(r=r.ownerDocument||r,a={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(e,a),(o=r.querySelector(lu(e)))?o._p||(a.instance=o,a.state.loading=5):(o=Nn.get(e),o||(o={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Nn.set(e,o)),mA(r,e,o,a.state))),t&&i===null)throw Error(R(528,""));return a}if(t&&i!==null)throw Error(R(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=ys(n),t=Za(r).hoistableScripts,i=t.get(n),i||(i={type:"script",instance:null,count:0,state:null},t.set(n,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(R(444,e))}}function ls(e){return\'href="\'+On(e)+\'"\'}function lu(e){return\'link[rel="stylesheet"][\'+e+"]"}function B4(e){return $e({},e,{"data-precedence":e.precedence,precedence:null})}function mA(e,t,n,i){if(t=e.querySelector(\'link[rel="preload"][as="style"][\'+t+"]")){if(t[hp]!==!0){i.loading=1;return}}else t=e.createElement("link"),t[hp]=!0,t.onload=t.onerror=S2.bind(null,t),ht(t,"link",n),ot(t),e.head.appendChild(t);i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2})}function ys(e){return\'[src="\'+On(e)+\'"]\'}function cu(e){return"script[async]"+e}function B$(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector(\'style[data-href~="\'+On(n.href)+\'"]\');if(i)return t.instance=i,ot(i),i;var r=$e({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),ot(i),ht(i,"style",r),ap(i,n.precedence,e),t.instance=i;case"stylesheet":r=ls(n.href);var o=e.querySelector(lu(r));if(o)return t.state.loading|=4,t.instance=o,ot(o),o;i=B4(n),(r=Nn.get(r))&&OS(i,r),o=(e.ownerDocument||e).createElement("link"),ot(o);var a=o;return a._p=new Promise(function(s,l){a.onload=s,a.onerror=l}),ht(o,"link",i),t.state.loading|=4,ap(o,n.precedence,e),t.instance=o;case"script":return o=ys(n.src),(r=e.querySelector(cu(o)))?(t.instance=r,ot(r),r):(i=n,(r=Nn.get(o))&&(i=$e({},n),kS(i,r)),e=e.ownerDocument||e,r=e.createElement("script"),ot(r),ht(r,"link",i),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(R(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,ap(i,n.precedence,e));return t.instance}function ap(e,t,n){for(var i=n.querySelectorAll(\'link[rel="stylesheet"][data-precedence],style[data-precedence]\'),r=i.length?i[i.length-1]:null,o=r,a=0;a<i.length;a++){var s=i[a];if(s.dataset.precedence===t)o=s;else if(o!==r)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function OS(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function kS(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var sp=null;function G$(e,t,n){if(sp===null){var i=new Map,r=sp=new Map;r.set(n,i)}else r=sp,i=r.get(n),i||(i=new Map,r.set(n,i));if(i.has(e))return i;for(i.set(e,null),n=n.getElementsByTagName(e),r=0;r<n.length;r++){var o=n[r];if(!(o[nu]||o[dt]||e==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var a=o.getAttribute(t)||"";a=e+a;var s=i.get(a);s?s.push(o):i.set(a,[o])}}return i}function Cy(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function fA(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function J$(e,t){return e==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function G4(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function J4(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function Y$(e,t){typeof t.decode=="function"&&(e.imgCount++,t.complete||(e.imgBytes+=J4(t),e.suspenseyImages.push(t)),e=gA.bind(e),t.decode().then(e,e))}function pA(e,t,n,i){if(n.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var r=ls(i.href),o=t.querySelector(lu(r));if(o){t=o._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Kc.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=o,ot(o);return}o=t.ownerDocument||t,i=B4(i),(r=Nn.get(r))&&OS(i,r),o=o.createElement("link"),ot(o);var a=o;a._p=new Promise(function(s,l){a.onload=s,a.onerror=l}),ht(o,"link",i),n.instance=o}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=Kc.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var lp=0;function hA(e,t){return e.stylesheets&&e.count===0&&cp(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var i=setTimeout(function(){if(e.stylesheets&&cp(e,e.stylesheets),e.unsuspend){var o=e.unsuspend;e.unsuspend=null,o()}},6e4+t);0<e.imgBytes&&lp===0&&(lp=62500*Nj());var r=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&cp(e,e.stylesheets),e.unsuspend)){var o=e.unsuspend;e.unsuspend=null,o()}},(e.imgBytes>lp?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(r)}}:null}function Y4(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)cp(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function Kc(){this.count--,Y4(this)}function gA(){this.imgCount--,Y4(this)}var Mp=null;function cp(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Mp=new Map,t.forEach(vA,e),Mp=null,Kc.call(e))}function vA(e,t){if(!(t.state.loading&4)){var n=Mp.get(e);if(n)var i=n.get(null);else{n=new Map,Mp.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<r.length;o++){var a=r[o];(a.nodeName==="LINK"||a.getAttribute("media")!=="not all")&&(n.set(a.dataset.precedence,a),i=a)}i&&n.set(null,i)}r=t.instance,a=r.getAttribute("data-precedence"),o=n.get(a)||i,o===i&&n.set(null,r),n.set(a,r),this.count++,i=Kc.bind(this),r.addEventListener("load",i),r.addEventListener("error",i),o?o.parentNode.insertBefore(r,o.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=4}}var cs={$$typeof:or,Provider:null,Consumer:null,_currentValue:yo,_currentValue2:yo,_threadCount:0};function yA(e,t,n,i,r,o,a,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Qv(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qv(0),this.hiddenUpdates=Qv(null),this.identifierPrefix=i,this.onUncaughtError=r,this.onCaughtError=o,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.transitionTypes=null,this.incompleteTransitions=new Map}function K4(e,t,n,i,r,o,a,s,l,c,d,p){return e=new yA(e,t,n,a,l,c,d,p,s),t=1,o===!0&&(t|=24),o=Bt(3,null,null,t),e.current=o,o.stateNode=e,t=Fy(),t.refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:i,isDehydrated:n,cache:t},Wy(o),e}function F4(e){return e?(e=Da,e):Da}function Q4(e,t,n,i,r,o){r=F4(r),i.context===null?i.context=r:i.pendingContext=r,i=zi(t),i.payload={element:n},o=o===void 0?null:o,o!==null&&(i.callback=o),n=xi(e,i,t),n!==null&&(Gt(n,e,t),Rc(n,e,t))}function K$(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function IS(e,t){K$(e,t),(e=e.alternate)&&K$(e,t)}function X4(e){if(e.tag===13||e.tag===31){var t=jo(e,67108864);t!==null&&Gt(t,e,67108864),IS(e,67108864)}}function F$(e){if(e.tag===13||e.tag===31){var t=un();t=My(t);var n=jo(e,t);n!==null&&Gt(n,e,t),IS(e,t)}}var us=!0;function SA(e,t,n,i){var r=F.T;F.T=null;var o=he.p;try{he.p=2,CS(e,t,n,i)}finally{he.p=o,F.T=r}}function bA(e,t,n,i){var r=F.T;F.T=null;var o=he.p;try{he.p=8,CS(e,t,n,i)}finally{he.p=o,F.T=r}}function CS(e,t,n,i){if(us){var r=Ny(i);if(r===null)b0(e,t,i,Dp,n),Q$(e,i);else if(zA(r,e,t,n,i))i.stopPropagation();else if(Q$(e,i),t&4&&-1<_A.indexOf(e)){for(;r!==null;){var o=fs(r);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var a=fo(o.pendingLanes);if(a!==0){var s=o;for(s.pendingLanes|=2,s.entangledLanes|=2;a;){var l=1<<31-cn(a);s.entanglements[1]|=l,a&=~l}fr(o),(pe&6)===0&&(Np=sn()+500,su(0,!1))}}break;case 31:case 13:s=jo(o,2),s!==null&&Gt(s,o,2),th(),IS(o,2)}if(o=Ny(i),o===null&&b0(e,t,i,Dp,n),o===r)break;r=o}r!==null&&i.stopPropagation()}else b0(e,t,i,null,n)}}function Ny(e){return e=qy(e),NS(e)}var Dp=null;function NS(e){if(Dp=null,e=go(e),e!==null){var t=Xc(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=r2(t),e!==null)return e;e=null}else if(n===31){if(e=i2(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Dp=e,null}function W4(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(AC()){case u2:return 2;case d2:return 8;case pp:case PC:return 32;case m2:return 268435456;default:return 32}default:return 32}}var jy=!1,Ri=null,Ei=null,Oi=null,Fc=new Map,Qc=new Map,fi=[],_A="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Q$(e,t){switch(e){case"focusin":case"focusout":Ri=null;break;case"dragenter":case"dragleave":Ei=null;break;case"mouseover":case"mouseout":Oi=null;break;case"pointerover":case"pointerout":Fc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Qc.delete(t.pointerId)}}function gc(e,t,n,i,r,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:i,nativeEvent:o,targetContainers:[r]},t!==null&&(t=fs(t),t!==null&&X4(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function zA(e,t,n,i,r){switch(t){case"focusin":return Ri=gc(Ri,e,t,n,i,r),!0;case"dragenter":return Ei=gc(Ei,e,t,n,i,r),!0;case"mouseover":return Oi=gc(Oi,e,t,n,i,r),!0;case"pointerover":var o=r.pointerId;return Fc.set(o,gc(Fc.get(o)||null,e,t,n,i,r)),!0;case"gotpointercapture":return o=r.pointerId,Qc.set(o,gc(Qc.get(o)||null,e,t,n,i,r)),!0}return!1}function eE(e){var t=go(e.target);if(t!==null){var n=Xc(t);if(n!==null){if(t=n.tag,t===13){if(t=r2(n),t!==null){e.blockedOn=t,xT(e.priority,function(){F$(n)});return}}else if(t===31){if(t=i2(n),t!==null){e.blockedOn=t,xT(e.priority,function(){F$(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function up(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ny(e.nativeEvent);if(n===null){n=e.nativeEvent;var i=new n.constructor(n.type,n);U0=i,n.target.dispatchEvent(i),U0=null}else return t=fs(n),t!==null&&X4(t),e.blockedOn=n,!1;t.shift()}return!0}function X$(e,t,n){up(e)&&n.delete(t)}function xA(){jy=!1,Ri!==null&&up(Ri)&&(Ri=null),Ei!==null&&up(Ei)&&(Ei=null),Oi!==null&&up(Oi)&&(Oi=null),Fc.forEach(X$),Qc.forEach(X$)}function Vf(e,t){e.blockedOn===t&&(e.blockedOn=null,jy||(jy=!0,et.unstable_scheduleCallback(et.unstable_NormalPriority,xA)))}var Bf=null;function W$(e){Bf!==e&&(Bf=e,et.unstable_scheduleCallback(et.unstable_NormalPriority,function(){Bf===e&&(Bf=null);for(var t=0;t<e.length;t+=3){var n=e[t],i=e[t+1],r=e[t+2];if(typeof i!="function"){if(NS(i||n)===null)continue;break}var o=fs(n);o!==null&&(e.splice(t,3),t-=3,W0(o,{pending:!0,data:r,method:n.method,action:i},i,r))}}))}function ds(e){function t(l){return Vf(l,e)}Ri!==null&&Vf(Ri,e),Ei!==null&&Vf(Ei,e),Oi!==null&&Vf(Oi,e),Fc.forEach(t),Qc.forEach(t);for(var n=0;n<fi.length;n++){var i=fi[n];i.blockedOn===e&&(i.blockedOn=null)}for(;0<fi.length&&(n=fi[0],n.blockedOn===null);)eE(n),n.blockedOn===null&&fi.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(i=0;i<n.length;i+=3){var r=n[i],o=n[i+1],a=r[Yt]||null;if(typeof o=="function")a||W$(n);else if(a){var s=null;if(o&&o.hasAttribute("formAction")){if(r=o,a=o[Yt]||null)s=a.formAction;else if(NS(r)!==null)continue}else s=a.action;typeof s=="function"?n[i+1]=s:(n.splice(i,3),i-=3),W$(n)}}}function tE(){function e(o){o.canIntercept&&o.info==="react-transition"&&o.intercept({handler:function(){return new Promise(function(a){return r=a})},focusReset:"manual",scroll:"manual"})}function t(){r!==null&&(r(),r=null),i||setTimeout(n,20)}function n(){if(!i&&!navigation.transition){var o=navigation.currentEntry;o&&o.url!=null&&navigation.navigate(o.url,{state:o.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,r=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),r!==null&&(r(),r=null)}}}function jS(e){this._internalRoot=e}ih.prototype.render=jS.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(R(409));var n=t.current,i=un();Q4(n,i,e,t,null,null)};ih.prototype.unmount=jS.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Q4(e.current,2,null,e,null,null),th(),t[ms]=null}};function ih(e){this._internalRoot=e}ih.prototype.unstable_scheduleHydration=function(e){if(e){var t=y2();e={blockedOn:null,target:e,priority:t};for(var n=0;n<fi.length&&t!==0&&t<fi[n].priority;n++);fi.splice(n,0,e),n===0&&eE(e)}};var e2=t2.version;if(e2!=="19.3.0")throw Error(R(527,e2,"19.3.0"));he.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(R(188)):(e=Object.keys(e).join(","),Error(R(268,e)));return e=wC(t),e=e!==null?o2(e):null,e=e===null?null:e.stateNode,e};var wA={bundleType:0,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:F,reconcilerVersion:"19.3.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(vc=__REACT_DEVTOOLS_GLOBAL_HOOK__,!vc.isDisabled&&vc.supportsFiber))try{Wc=vc.inject(wA),ln=vc}catch{}var vc;oh.createRoot=function(e,t){if(!n2(e))throw Error(R(299));var n=!1,i="",r=AR,o=PR,a=UR;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(o=t.onCaughtError),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=K4(e,1,!1,null,null,n,i,null,r,o,a,tE),e[ms]=t.current,TS(e),new jS(t)};oh.hydrateRoot=function(e,t,n){if(!n2(e))throw Error(R(299));var i=!1,r="",o=AR,a=PR,s=UR,l=null;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(o=n.onUncaughtError),n.onCaughtError!==void 0&&(a=n.onCaughtError),n.onRecoverableError!==void 0&&(s=n.onRecoverableError),n.formState!==void 0&&(l=n.formState)),t=K4(e,1,!0,t,n??null,i,r,l,o,a,s,tE),t.context=F4(null),n=t.current,i=un(),i=My(i),r=zi(i),r.callback=null,xi(n,r,i),n=i,t.current.lanes=n,tu(t,n),fr(t),e[ms]=t.current,TS(e),new ih(t)};oh.version="19.3.0"});var oE=Xn((f7,iE)=>{"use strict";function rE(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(rE)}catch(e){console.error(e)}}rE(),iE.exports=nE()});var c3=Xn(xv=>{"use strict";var A8=Symbol.for("react.transitional.element"),P8=Symbol.for("react.fragment");function l3(e,t,n){var i=null;if(n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),"key"in t){n={};for(var r in t)r!=="key"&&(n[r]=t[r])}else n=t;return t=n.ref,{$$typeof:A8,type:e,key:i,ref:t!==void 0?t:null,props:n}}xv.Fragment=P8;xv.jsx=l3;xv.jsxs=l3});var ce=Xn((fV,u3)=>{"use strict";u3.exports=c3()});var ZI=G(oE(),1),Ne=G(Ae(),1);var xl=G(Ae(),1);var TA=Object.create,ah=Object.defineProperty,$A=Object.getOwnPropertyDescriptor,RA=Object.getOwnPropertyNames,EA=Object.getPrototypeOf,OA=Object.prototype.hasOwnProperty,aE=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),sE=(e,t)=>{let n={};for(var i in e)ah(n,i,{get:e[i],enumerable:!0});return t&&ah(n,Symbol.toStringTag,{value:"Module"}),n},kA=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(var r=RA(t),o=0,a=r.length,s;o<a;o++)s=r[o],!OA.call(e,s)&&s!==n&&ah(e,s,{get:(l=>t[l]).bind(null,s),enumerable:!(i=$A(t,s))||i.enumerable});return e},lE=(e,t,n)=>(n=e!=null?TA(EA(e)):{},kA(t||!e||!e.__esModule?ah(n,"default",{value:e,enumerable:!0}):n,e));var IA=new Set(["https://json-schema.org/draft/2019-09/schema","http://json-schema.org/draft/2019-09/schema"]);function cE(e){return typeof e=="string"&&IA.has(e.replace(/#$/,""))}var h={};Rr(h,{$brand:()=>AS,$input:()=>n1,$output:()=>t1,NEVER:()=>uu,TimePrecision:()=>a1,ZodAny:()=>Bz,ZodArray:()=>Kz,ZodBase64:()=>Ng,ZodBase64URL:()=>jg,ZodBigInt:()=>Ks,ZodBigIntFormat:()=>Ug,ZodBoolean:()=>Ys,ZodCIDRv4:()=>Ig,ZodCIDRv6:()=>Cg,ZodCUID:()=>wg,ZodCUID2:()=>Tg,ZodCatch:()=>hx,ZodCodec:()=>Lu,ZodCustom:()=>qu,ZodCustomStringFormat:()=>Gs,ZodDate:()=>Pu,ZodDefault:()=>cx,ZodDiscriminatedUnion:()=>Qz,ZodE164:()=>Ag,ZodEmail:()=>bg,ZodEmoji:()=>zg,ZodEnum:()=>Zs,ZodError:()=>lU,ZodExactOptional:()=>ax,ZodFile:()=>ix,ZodFirstPartyTypeKind:()=>Rx,ZodFunction:()=>wx,ZodGUID:()=>Cu,ZodIPv4:()=>Og,ZodIPv6:()=>kg,ZodISODate:()=>pg,ZodISODateTime:()=>fg,ZodISODuration:()=>gg,ZodISOTime:()=>hg,ZodIntersection:()=>Xz,ZodIssueCode:()=>Ex,ZodJWT:()=>Pg,ZodKSUID:()=>Eg,ZodLazy:()=>zx,ZodLiteral:()=>rx,ZodMAC:()=>qz,ZodMap:()=>tx,ZodNaN:()=>vx,ZodNanoID:()=>xg,ZodNever:()=>Jz,ZodNonOptional:()=>Hg,ZodNull:()=>Vz,ZodNullable:()=>lx,ZodNumber:()=>Js,ZodNumberFormat:()=>Vo,ZodObject:()=>Uu,ZodOptional:()=>qg,ZodPipe:()=>Du,ZodPrefault:()=>dx,ZodPreprocess:()=>yx,ZodPromise:()=>xx,ZodReadonly:()=>Sx,ZodRealError:()=>Qt,ZodRecord:()=>Hs,ZodSet:()=>nx,ZodString:()=>Vs,ZodStringFormat:()=>we,ZodSuccess:()=>px,ZodSymbol:()=>Hz,ZodTemplateLiteral:()=>_x,ZodTransform:()=>ox,ZodTuple:()=>Wz,ZodType:()=>ne,ZodULID:()=>$g,ZodURL:()=>Au,ZodUUID:()=>vr,ZodUndefined:()=>Zz,ZodUnion:()=>Mu,ZodUnknown:()=>Gz,ZodVoid:()=>Yz,ZodXID:()=>Rg,ZodXor:()=>Fz,_ZodString:()=>Sg,_default:()=>ux,_function:()=>V6,any:()=>Mg,array:()=>z,base64:()=>c6,base64url:()=>u6,bigint:()=>_6,boolean:()=>D,catch:()=>gx,check:()=>B6,cidrv4:()=>s6,cidrv6:()=>l6,clone:()=>jt,codec:()=>L6,coerce:()=>Hu,config:()=>Ve,core:()=>Gr,cuid:()=>WO,cuid2:()=>e6,custom:()=>G6,date:()=>R6,decode:()=>jz,decodeAsync:()=>Pz,describe:()=>J6,discriminatedUnion:()=>Ji,e164:()=>d6,email:()=>_g,emoji:()=>QO,encode:()=>Nz,encodeAsync:()=>Az,endsWith:()=>Ns,enum:()=>Y,exactOptional:()=>sx,file:()=>P6,flattenError:()=>yu,float32:()=>v6,float64:()=>y6,formatError:()=>Su,fromJSONSchema:()=>W6,function:()=>V6,getErrorMap:()=>dU,globalRegistry:()=>vt,gt:()=>hr,gte:()=>Pt,guid:()=>BO,hash:()=>g6,hex:()=>h6,hostname:()=>p6,httpUrl:()=>FO,includes:()=>Is,instanceof:()=>K6,int:()=>vg,int32:()=>S6,int64:()=>z6,intersection:()=>Jn,invertCodec:()=>q6,ipv4:()=>i6,ipv6:()=>a6,iso:()=>hn,json:()=>Q6,jwt:()=>m6,keyof:()=>E6,ksuid:()=>r6,lazy:()=>Yi,length:()=>Ho,literal:()=>w,locales:()=>Ru,looseObject:()=>J,looseRecord:()=>C6,lowercase:()=>Os,lt:()=>pr,lte:()=>pn,mac:()=>o6,map:()=>N6,maxLength:()=>qo,maxSize:()=>Zi,meta:()=>Y6,mime:()=>js,minLength:()=>Br,minSize:()=>gr,multipleOf:()=>Hi,nan:()=>D6,nanoid:()=>XO,nativeEnum:()=>A6,negative:()=>ig,never:()=>Dg,nonnegative:()=>ag,nonoptional:()=>fx,nonpositive:()=>og,normalize:()=>As,null:()=>yr,nullable:()=>Nu,nullish:()=>U6,number:()=>E,object:()=>v,optional:()=>V,overwrite:()=>Gn,parse:()=>kz,parseAsync:()=>Iz,partialRecord:()=>I6,pipe:()=>yg,positive:()=>rg,prefault:()=>mx,preprocess:()=>Jr,prettifyError:()=>YS,promise:()=>Z6,property:()=>sg,readonly:()=>bx,record:()=>U,refine:()=>Tx,regex:()=>Es,regexes:()=>fn,registry:()=>Ph,safeDecode:()=>Mz,safeDecodeAsync:()=>Lz,safeEncode:()=>Uz,safeEncodeAsync:()=>Dz,safeParse:()=>Iu,safeParseAsync:()=>Cz,set:()=>j6,setErrorMap:()=>uU,size:()=>Lo,slugify:()=>Ds,startsWith:()=>Cs,strictObject:()=>O6,string:()=>u,stringFormat:()=>f6,stringbool:()=>F6,success:()=>M6,superRefine:()=>$x,symbol:()=>w6,templateLiteral:()=>H6,toJSONSchema:()=>Zo,toLowerCase:()=>Us,toUpperCase:()=>Ms,transform:()=>Lg,treeifyError:()=>JS,trim:()=>Ps,tuple:()=>ex,uint32:()=>b6,uint64:()=>x6,ulid:()=>t6,undefined:()=>T6,union:()=>q,unknown:()=>Z,uppercase:()=>ks,url:()=>Bs,util:()=>N,uuid:()=>GO,uuidv4:()=>JO,uuidv6:()=>YO,uuidv7:()=>KO,void:()=>$6,xid:()=>n6,xor:()=>k6});var Gr={};Rr(Gr,{$ZodAny:()=>x_,$ZodArray:()=>E_,$ZodAsyncError:()=>Bn,$ZodBase64:()=>f_,$ZodBase64URL:()=>p_,$ZodBigInt:()=>Eh,$ZodBigIntFormat:()=>S_,$ZodBoolean:()=>xu,$ZodCIDRv4:()=>u_,$ZodCIDRv6:()=>d_,$ZodCUID:()=>Xb,$ZodCUID2:()=>Wb,$ZodCatch:()=>G_,$ZodCheck:()=>Re,$ZodCheckBigIntFormat:()=>Eb,$ZodCheckEndsWith:()=>Lb,$ZodCheckGreaterThan:()=>zh,$ZodCheckIncludes:()=>Mb,$ZodCheckLengthEquals:()=>jb,$ZodCheckLessThan:()=>_h,$ZodCheckLowerCase:()=>Pb,$ZodCheckMaxLength:()=>Cb,$ZodCheckMaxSize:()=>Ob,$ZodCheckMimeType:()=>Hb,$ZodCheckMinLength:()=>Nb,$ZodCheckMinSize:()=>kb,$ZodCheckMultipleOf:()=>$b,$ZodCheckNumberFormat:()=>Rb,$ZodCheckOverwrite:()=>Zb,$ZodCheckProperty:()=>qb,$ZodCheckRegex:()=>Ab,$ZodCheckSizeEquals:()=>Ib,$ZodCheckStartsWith:()=>Db,$ZodCheckStringFormat:()=>$s,$ZodCheckUpperCase:()=>Ub,$ZodCodec:()=>Tu,$ZodCustom:()=>e1,$ZodCustomStringFormat:()=>v_,$ZodDate:()=>R_,$ZodDefault:()=>H_,$ZodDiscriminatedUnion:()=>I_,$ZodE164:()=>h_,$ZodEmail:()=>Yb,$ZodEmoji:()=>Fb,$ZodEncodeError:()=>Ui,$ZodEnum:()=>P_,$ZodError:()=>vu,$ZodExactOptional:()=>L_,$ZodFile:()=>M_,$ZodFunction:()=>Q_,$ZodGUID:()=>Gb,$ZodIPv4:()=>s_,$ZodIPv6:()=>l_,$ZodISODate:()=>i_,$ZodISODateTime:()=>r_,$ZodISODuration:()=>a_,$ZodISOTime:()=>o_,$ZodIntersection:()=>C_,$ZodJWT:()=>g_,$ZodKSUID:()=>n_,$ZodLazy:()=>W_,$ZodLiteral:()=>U_,$ZodMAC:()=>c_,$ZodMap:()=>j_,$ZodNaN:()=>J_,$ZodNanoID:()=>Qb,$ZodNever:()=>T_,$ZodNonOptional:()=>V_,$ZodNull:()=>z_,$ZodNullable:()=>q_,$ZodNumber:()=>Rh,$ZodNumberFormat:()=>y_,$ZodObject:()=>LE,$ZodObjectJIT:()=>O_,$ZodOptional:()=>kh,$ZodPipe:()=>Ih,$ZodPrefault:()=>Z_,$ZodPreprocess:()=>Y_,$ZodPromise:()=>X_,$ZodReadonly:()=>K_,$ZodRealError:()=>Ft,$ZodRecord:()=>N_,$ZodRegistry:()=>Ah,$ZodSet:()=>A_,$ZodString:()=>Do,$ZodStringFormat:()=>xe,$ZodSuccess:()=>B_,$ZodSymbol:()=>b_,$ZodTemplateLiteral:()=>F_,$ZodTransform:()=>D_,$ZodTuple:()=>Oh,$ZodType:()=>X,$ZodULID:()=>e_,$ZodURL:()=>Kb,$ZodUUID:()=>Jb,$ZodUndefined:()=>__,$ZodUnion:()=>wu,$ZodUnknown:()=>w_,$ZodVoid:()=>$_,$ZodXID:()=>t_,$ZodXor:()=>k_,$brand:()=>AS,$constructor:()=>b,$input:()=>n1,$output:()=>t1,Doc:()=>zu,JSONSchema:()=>HO,JSONSchemaGenerator:()=>dg,NEVER:()=>uu,TimePrecision:()=>a1,_any:()=>R1,_array:()=>j1,_base64:()=>Wh,_base64url:()=>eg,_bigint:()=>b1,_boolean:()=>y1,_catch:()=>eU,_check:()=>qO,_cidrv4:()=>Qh,_cidrv6:()=>Xh,_coercedBigint:()=>_1,_coercedBoolean:()=>S1,_coercedDate:()=>C1,_coercedNumber:()=>m1,_coercedString:()=>i1,_cuid:()=>Vh,_cuid2:()=>Bh,_custom:()=>P1,_date:()=>I1,_decode:()=>mh,_decodeAsync:()=>ph,_default:()=>Q5,_discriminatedUnion:()=>D5,_e164:()=>tg,_email:()=>Uh,_emoji:()=>Hh,_encode:()=>dh,_encodeAsync:()=>fh,_endsWith:()=>Ns,_enum:()=>B5,_file:()=>A1,_float32:()=>p1,_float64:()=>h1,_gt:()=>hr,_gte:()=>Pt,_guid:()=>Eu,_includes:()=>Is,_int:()=>f1,_int32:()=>g1,_int64:()=>z1,_intersection:()=>L5,_ipv4:()=>Kh,_ipv6:()=>Fh,_isoDate:()=>l1,_isoDateTime:()=>s1,_isoDuration:()=>u1,_isoTime:()=>c1,_jwt:()=>ng,_ksuid:()=>Yh,_lazy:()=>iU,_length:()=>Ho,_literal:()=>J5,_lowercase:()=>Os,_lt:()=>pr,_lte:()=>pn,_mac:()=>o1,_map:()=>Z5,_max:()=>pn,_maxLength:()=>qo,_maxSize:()=>Zi,_mime:()=>js,_min:()=>Pt,_minLength:()=>Br,_minSize:()=>gr,_multipleOf:()=>Hi,_nan:()=>N1,_nanoid:()=>Zh,_nativeEnum:()=>G5,_negative:()=>ig,_never:()=>O1,_nonnegative:()=>ag,_nonoptional:()=>X5,_nonpositive:()=>og,_normalize:()=>As,_null:()=>$1,_nullable:()=>F5,_number:()=>d1,_optional:()=>K5,_overwrite:()=>Gn,_parse:()=>zs,_parseAsync:()=>xs,_pipe:()=>tU,_positive:()=>rg,_promise:()=>oU,_property:()=>sg,_readonly:()=>nU,_record:()=>H5,_refine:()=>U1,_regex:()=>Es,_safeDecode:()=>gh,_safeDecodeAsync:()=>yh,_safeEncode:()=>hh,_safeEncodeAsync:()=>vh,_safeParse:()=>ws,_safeParseAsync:()=>Ts,_set:()=>V5,_size:()=>Lo,_slugify:()=>Ds,_startsWith:()=>Cs,_string:()=>r1,_stringFormat:()=>Ls,_stringbool:()=>q1,_success:()=>W5,_superRefine:()=>M1,_symbol:()=>w1,_templateLiteral:()=>rU,_toLowerCase:()=>Us,_toUpperCase:()=>Ms,_transform:()=>Y5,_trim:()=>Ps,_tuple:()=>q5,_uint32:()=>v1,_uint64:()=>x1,_ulid:()=>Gh,_undefined:()=>T1,_union:()=>U5,_unknown:()=>E1,_uppercase:()=>ks,_url:()=>Ou,_uuid:()=>Mh,_uuidv4:()=>Dh,_uuidv6:()=>Lh,_uuidv7:()=>qh,_void:()=>k1,_xid:()=>Jh,_xor:()=>M5,clone:()=>jt,config:()=>Ve,createStandardJSONSchemaMethod:()=>qs,createToJSONSchemaMethod:()=>H1,decode:()=>oP,decodeAsync:()=>sP,describe:()=>D1,encode:()=>iP,encodeAsync:()=>aP,extractDefs:()=>Bi,finalize:()=>Gi,flattenError:()=>yu,formatError:()=>Su,globalConfig:()=>Po,globalRegistry:()=>vt,initializeContext:()=>Vi,isValidBase64:()=>m_,isValidBase64URL:()=>PE,isValidJWT:()=>UE,locales:()=>Ru,meta:()=>L1,parse:()=>ch,parseAsync:()=>uh,prettifyError:()=>YS,process:()=>ye,regexes:()=>fn,registry:()=>Ph,safeDecode:()=>cP,safeDecodeAsync:()=>dP,safeEncode:()=>lP,safeEncodeAsync:()=>uP,safeParse:()=>KS,safeParseAsync:()=>FS,toDotPath:()=>hE,toJSONSchema:()=>Zo,treeifyError:()=>JS,util:()=>N,version:()=>Vb});var uE,uu=Object.freeze({status:"aborted"});function b(e,t,n){function i(s,l){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:l,constr:a,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,l);let c=a.prototype,d=Object.keys(c);for(let p=0;p<d.length;p++){let m=d[p];m in s||(s[m]=c[m].bind(s))}}let r=n?.Parent??Object;class o extends r{}Object.defineProperty(o,"name",{value:e});function a(s){var l;let c=n?.Parent?new o:this;i(c,s),(l=c._zod).deferred??(l.deferred=[]);for(let d of c._zod.deferred)d();return c}return Object.defineProperty(a,"init",{value:i}),Object.defineProperty(a,Symbol.hasInstance,{value:s=>n?.Parent&&s instanceof n.Parent?!0:s?._zod?.traits?.has(e)}),Object.defineProperty(a,"name",{value:e}),a}var AS=Symbol("zod_brand"),Bn=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},Ui=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}};(uE=globalThis).__zod_globalConfig??(uE.__zod_globalConfig={});var Po=globalThis.__zod_globalConfig;function Ve(e){return e&&Object.assign(Po,e),Po}var N={};Rr(N,{BIGINT_FORMAT_RANGES:()=>BS,Class:()=>US,NUMBER_FORMAT_RANGES:()=>VS,aborted:()=>qi,allowsEval:()=>LS,assert:()=>PA,assertEqual:()=>CA,assertIs:()=>jA,assertNever:()=>AA,assertNotEqual:()=>NA,assignProp:()=>Di,base64ToUint8Array:()=>mE,base64urlToUint8Array:()=>WA,cached:()=>bs,captureStackTrace:()=>lh,cleanEnum:()=>XA,cleanRegex:()=>fu,clone:()=>jt,cloneDef:()=>MA,createTransparentProxy:()=>VA,defineLazy:()=>ie,esc:()=>sh,escapeRegex:()=>jn,explicitlyAborted:()=>GS,extend:()=>JA,finalizeIssue:()=>At,floatSafeRemainder:()=>MS,getElementAtPath:()=>DA,getEnumValues:()=>mu,getLengthableOrigin:()=>gu,getParsedType:()=>ZA,getSizableOrigin:()=>hu,hexToUint8Array:()=>tP,isObject:()=>Uo,isPlainObject:()=>Li,issue:()=>_s,joinValues:()=>T,jsonStringifyReplacer:()=>Ss,merge:()=>KA,mergeDefs:()=>Vr,normalizeParams:()=>P,nullish:()=>Mi,numKeys:()=>HA,objectClone:()=>UA,omit:()=>GA,optionalKeys:()=>ZS,parsedType:()=>k,partial:()=>FA,pick:()=>BA,prefixIssues:()=>Kt,primitiveTypes:()=>HS,promiseAllObject:()=>LA,propertyKeyTypes:()=>pu,randomString:()=>qA,required:()=>QA,safeExtend:()=>YA,shallowClone:()=>qS,slugify:()=>DS,stringifyPrimitive:()=>O,uint8ArrayToBase64:()=>fE,uint8ArrayToBase64url:()=>eP,uint8ArrayToHex:()=>nP,unwrapMessage:()=>du});function CA(e){return e}function NA(e){return e}function jA(e){}function AA(e){throw new Error("Unexpected value in exhaustive check")}function PA(e){}function mu(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 T(e,t="|"){return e.map(n=>O(n)).join(t)}function Ss(e,t){return typeof t=="bigint"?t.toString():t}function bs(e){return{get value(){{let n=e();return Object.defineProperty(this,"value",{value:n}),n}throw new Error("cached value already set")}}}function Mi(e){return e==null}function fu(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function MS(e,t){let n=e/t,i=Math.round(n),r=Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-i)<r?0:n-i}var dE=Symbol("evaluating");function ie(e,t,n){let i;Object.defineProperty(e,t,{get(){if(i!==dE)return i===void 0&&(i=dE,i=n()),i},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function UA(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function Di(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Vr(...e){let t={};for(let n of e){let i=Object.getOwnPropertyDescriptors(n);Object.assign(t,i)}return Object.defineProperties({},t)}function MA(e){return Vr(e._zod.def)}function DA(e,t){return t?t.reduce((n,i)=>n?.[i],e):e}function LA(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 qA(e=10){let t="abcdefghijklmnopqrstuvwxyz",n="";for(let i=0;i<e;i++)n+=t[Math.floor(Math.random()*t.length)];return n}function sh(e){return JSON.stringify(e)}function DS(e){return e.toLowerCase().trim().replace(/[^\\w\\s-]/g,"").replace(/[\\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var lh="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Uo(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var LS=bs(()=>{if(Po.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function Li(e){if(Uo(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let n=t.prototype;return!(Uo(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function qS(e){return Li(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function HA(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}var ZA=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}`)}},pu=new Set(["string","number","symbol"]),HS=new Set(["string","number","bigint","boolean","symbol","undefined"]);function jn(e){return e.replace(/[.*+?^${}()|[\\]\\\\]/g,"\\\\$&")}function jt(e,t,n){let i=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(i._zod.parent=e),i}function P(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 VA(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 O(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function ZS(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}var VS={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]},BS={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function BA(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=Vr(e._zod.def,{get shape(){let a={};for(let s in t){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&(a[s]=n.shape[s])}return Di(this,"shape",a),a},checks:[]});return jt(e,o)}function GA(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=Vr(e._zod.def,{get shape(){let a={...e._zod.def.shape};for(let s in t){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&delete a[s]}return Di(this,"shape",a),a},checks:[]});return jt(e,o)}function JA(e,t){if(!Li(t))throw new Error("Invalid input to extend: expected a plain object");let n=e._zod.def.checks;if(n&&n.length>0){let o=e._zod.def.shape;for(let a in t)if(Object.getOwnPropertyDescriptor(o,a)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let r=Vr(e._zod.def,{get shape(){let o={...e._zod.def.shape,...t};return Di(this,"shape",o),o}});return jt(e,r)}function YA(e,t){if(!Li(t))throw new Error("Invalid input to safeExtend: expected a plain object");let n=Vr(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t};return Di(this,"shape",i),i}});return jt(e,n)}function KA(e,t){if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let n=Vr(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t._zod.def.shape};return Di(this,"shape",i),i},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return jt(e,n)}function FA(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");let a=Vr(t._zod.def,{get shape(){let s=t._zod.def.shape,l={...s};if(n)for(let c in n){if(!(c in s))throw new Error(`Unrecognized key: "${c}"`);n[c]&&(l[c]=e?new e({type:"optional",innerType:s[c]}):s[c])}else for(let c in s)l[c]=e?new e({type:"optional",innerType:s[c]}):s[c];return Di(this,"shape",l),l},checks:[]});return jt(t,a)}function QA(e,t,n){let i=Vr(t._zod.def,{get shape(){let r=t._zod.def.shape,o={...r};if(n)for(let a in n){if(!(a in o))throw new Error(`Unrecognized key: "${a}"`);n[a]&&(o[a]=new e({type:"nonoptional",innerType:r[a]}))}else for(let a in r)o[a]=new e({type:"nonoptional",innerType:r[a]});return Di(this,"shape",o),o}});return jt(t,i)}function qi(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 GS(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 Kt(e,t){return t.map(n=>{var i;return(i=n).path??(i.path=[]),n.path.unshift(e),n})}function du(e){return typeof e=="string"?e:e?.message}function At(e,t,n){let i=e.message?e.message:du(e.inst?._zod.def?.error?.(e))??du(t?.error?.(e))??du(n.customError?.(e))??du(n.localeError?.(e))??"Invalid input",{inst:r,continue:o,input:a,...s}=e;return s.path??(s.path=[]),s.message=i,t?.reportInput&&(s.input=a),s}function hu(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function gu(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function k(e){let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"nan":"number";case"object":{if(e===null)return"null";if(Array.isArray(e))return"array";let n=e;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&"constructor"in n&&n.constructor)return n.constructor.name}}return t}function _s(...e){let[t,n,i]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:i}:{...t}}function XA(e){return Object.entries(e).filter(([t,n])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function mE(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 fE(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function WA(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),n="=".repeat((4-t.length%4)%4);return mE(t+n)}function eP(e){return fE(e).replace(/\\+/g,"-").replace(/\\//g,"_").replace(/=/g,"")}function tP(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 nP(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}var US=class{constructor(...t){}};var pE=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Ss,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},vu=b("$ZodError",pE),Ft=b("$ZodError",pE,{Parent:Error});function yu(e,t=n=>n.message){let n={},i=[];for(let r of e.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(t(r))):i.push(t(r));return{formErrors:i,fieldErrors:n}}function Su(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(s=>i({issues:s},[...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 s=[...o,...a.path];if(s.length===0)n._errors.push(t(a));else{let l=n,c=0;for(;c<s.length;){let d=s[c];c===s.length-1?(l[d]=l[d]||{_errors:[]},l[d]._errors.push(t(a))):l[d]=l[d]||{_errors:[]},l=l[d],c++}}}};return i(e),n}function JS(e,t=n=>n.message){let n={errors:[]},i=(r,o=[])=>{var a,s;for(let l of r.issues)if(l.code==="invalid_union"&&l.errors.length)l.errors.map(c=>i({issues:c},[...o,...l.path]));else if(l.code==="invalid_key")i({issues:l.issues},[...o,...l.path]);else if(l.code==="invalid_element")i({issues:l.issues},[...o,...l.path]);else{let c=[...o,...l.path];if(c.length===0){n.errors.push(t(l));continue}let d=n,p=0;for(;p<c.length;){let m=c[p],f=p===c.length-1;typeof m=="string"?(d.properties??(d.properties={}),(a=d.properties)[m]??(a[m]={errors:[]}),d=d.properties[m]):(d.items??(d.items=[]),(s=d.items)[m]??(s[m]={errors:[]}),d=d.items[m]),f&&d.errors.push(t(l)),p++}}};return i(e),n}function hE(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 YS(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 ${hE(i.path)}`);return t.join(`\n`)}var zs=e=>(t,n,i,r)=>{let o=i?{...i,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},o);if(a instanceof Promise)throw new Bn;if(a.issues.length){let s=new(r?.Err??e)(a.issues.map(l=>At(l,o,Ve())));throw lh(s,r?.callee),s}return a.value},ch=zs(Ft),xs=e=>async(t,n,i,r)=>{let o=i?{...i,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},o);if(a instanceof Promise&&(a=await a),a.issues.length){let s=new(r?.Err??e)(a.issues.map(l=>At(l,o,Ve())));throw lh(s,r?.callee),s}return a.value},uh=xs(Ft),ws=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 Bn;return o.issues.length?{success:!1,error:new(e??vu)(o.issues.map(a=>At(a,r,Ve())))}:{success:!0,data:o.value}},KS=ws(Ft),Ts=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?{success:!1,error:new e(o.issues.map(a=>At(a,r,Ve())))}:{success:!0,data:o.value}},FS=Ts(Ft),dh=e=>(t,n,i)=>{let r=i?{...i,direction:"backward"}:{direction:"backward"};return zs(e)(t,n,r)},iP=dh(Ft),mh=e=>(t,n,i)=>zs(e)(t,n,i),oP=mh(Ft),fh=e=>async(t,n,i)=>{let r=i?{...i,direction:"backward"}:{direction:"backward"};return xs(e)(t,n,r)},aP=fh(Ft),ph=e=>async(t,n,i)=>xs(e)(t,n,i),sP=ph(Ft),hh=e=>(t,n,i)=>{let r=i?{...i,direction:"backward"}:{direction:"backward"};return ws(e)(t,n,r)},lP=hh(Ft),gh=e=>(t,n,i)=>ws(e)(t,n,i),cP=gh(Ft),vh=e=>async(t,n,i)=>{let r=i?{...i,direction:"backward"}:{direction:"backward"};return Ts(e)(t,n,r)},uP=vh(Ft),yh=e=>async(t,n,i)=>Ts(e)(t,n,i),dP=yh(Ft);var fn={};Rr(fn,{base64:()=>mb,base64url:()=>Sh,bigint:()=>Sb,boolean:()=>_b,browserEmail:()=>SP,cidrv4:()=>ub,cidrv6:()=>db,cuid:()=>QS,cuid2:()=>XS,date:()=>hb,datetime:()=>vb,domain:()=>zP,duration:()=>rb,e164:()=>pb,email:()=>ob,emoji:()=>ab,extendedDuration:()=>mP,guid:()=>ib,hex:()=>xP,hostname:()=>_P,html5Email:()=>gP,httpProtocol:()=>fb,idnEmail:()=>yP,integer:()=>bb,ipv4:()=>sb,ipv6:()=>lb,ksuid:()=>tb,lowercase:()=>wb,mac:()=>cb,md5_base64:()=>TP,md5_base64url:()=>$P,md5_hex:()=>wP,nanoid:()=>nb,null:()=>zb,number:()=>bh,rfc5322Email:()=>vP,sha1_base64:()=>EP,sha1_base64url:()=>OP,sha1_hex:()=>RP,sha256_base64:()=>IP,sha256_base64url:()=>CP,sha256_hex:()=>kP,sha384_base64:()=>jP,sha384_base64url:()=>AP,sha384_hex:()=>NP,sha512_base64:()=>UP,sha512_base64url:()=>MP,sha512_hex:()=>PP,string:()=>yb,time:()=>gb,ulid:()=>WS,undefined:()=>xb,unicodeEmail:()=>gE,uppercase:()=>Tb,uuid:()=>Mo,uuid4:()=>fP,uuid6:()=>pP,uuid7:()=>hP,xid:()=>eb});var QS=/^[cC][0-9a-z]{6,}$/,XS=/^[0-9a-z]+$/,WS=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,eb=/^[0-9a-vA-V]{20}$/,tb=/^[A-Za-z0-9]{27}$/,nb=/^[a-zA-Z0-9_-]{21}$/,rb=/^P(?:(\\d+W)|(?!.*W)(?=\\d|T\\d)(\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+([.,]\\d+)?S)?)?)$/,mP=/^[-+]?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)?)??$/,ib=/^([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})$/,Mo=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)$/,fP=Mo(4),pP=Mo(6),hP=Mo(7),ob=/^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_\'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$/,gP=/^[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])?)*$/,vP=/^(([^<>()\\[\\]\\\\.,;:\\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,}))$/,gE=/^[^\\s@"]{1,64}@[^\\s@]{1,255}$/u,yP=gE,SP=/^[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])?)*$/,bP="^(\\\\p{Extended_Pictographic}|\\\\p{Emoji_Component})+$";function ab(){return new RegExp(bP,"u")}var sb=/^(?:(?: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])$/,lb=/^(([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}|:))$/,cb=e=>{let t=jn(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},ub=/^((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])$/,db=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,mb=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Sh=/^[A-Za-z0-9_-]*$/,_P=/^(?=.{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])?)*\\.?$/,zP=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,}$/,fb=/^https?$/,pb=/^\\+[1-9]\\d{6,14}$/,vE="(?:(?:\\\\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])))",hb=new RegExp(`^${vE}$`);function yE(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}}`:`${t}(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?`}function gb(e){return new RegExp(`^${yE(e)}$`)}function vb(e){let t=yE({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\\\d|2[0-3]):[0-5]\\\\d)");let i=`${t}(?:${n.join("|")})`;return new RegExp(`^${vE}T(?:${i})$`)}var yb=e=>{let t=e?`[\\\\s\\\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\\\s\\\\S]*";return new RegExp(`^${t}$`)},Sb=/^-?\\d+n?$/,bb=/^-?\\d+$/,bh=/^-?\\d+(?:\\.\\d+)?$/,_b=/^(?:true|false)$/i,zb=/^null$/i;var xb=/^undefined$/i;var wb=/^[^A-Z]*$/,Tb=/^[^a-z]*$/,xP=/^[0-9a-fA-F]*$/;function bu(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function _u(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var wP=/^[0-9a-fA-F]{32}$/,TP=bu(22,"=="),$P=_u(22),RP=/^[0-9a-fA-F]{40}$/,EP=bu(27,"="),OP=_u(27),kP=/^[0-9a-fA-F]{64}$/,IP=bu(43,"="),CP=_u(43),NP=/^[0-9a-fA-F]{96}$/,jP=bu(64,""),AP=_u(64),PP=/^[0-9a-fA-F]{128}$/,UP=bu(86,"=="),MP=_u(86);var Re=b("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),bE={number:"number",bigint:"bigint",object:"date"},_h=b("$ZodCheckLessThan",(e,t)=>{Re.init(e,t);let n=bE[typeof t.value];e._zod.onattach.push(i=>{let r=i._zod.bag,o=(t.inclusive?r.maximum:r.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<o&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value<=t.value:i.value<t.value)||i.issues.push({origin: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})}}),zh=b("$ZodCheckGreaterThan",(e,t)=>{Re.init(e,t);let n=bE[typeof t.value];e._zod.onattach.push(i=>{let r=i._zod.bag,o=(t.inclusive?r.minimum:r.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>o&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value>=t.value:i.value>t.value)||i.issues.push({origin: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})}}),$b=b("$ZodCheckMultipleOf",(e,t)=>{Re.init(e,t),e._zod.onattach.push(n=>{var i;(i=n._zod.bag).multipleOf??(i.multipleOf=t.value)}),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"?n.value%t.value===BigInt(0):MS(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})}}),Rb=b("$ZodCheckNumberFormat",(e,t)=>{Re.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),i=n?"int":"number",[r,o]=VS[t.format];e._zod.onattach.push(a=>{let s=a._zod.bag;s.format=t.format,s.minimum=r,s.maximum=o,n&&(s.pattern=bb)}),e._zod.check=a=>{let s=a.value;if(n){if(!Number.isInteger(s)){a.issues.push({expected:i,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort});return}}s<r&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),s>o&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!t.abort})}}),Eb=b("$ZodCheckBigIntFormat",(e,t)=>{Re.init(e,t);let[n,i]=BS[t.format];e._zod.onattach.push(r=>{let o=r._zod.bag;o.format=t.format,o.minimum=n,o.maximum=i}),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})}}),Ob=b("$ZodCheckMaxSize",(e,t)=>{var n;Re.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Mi(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{let r=i.value;r.size<=t.maximum||i.issues.push({origin:hu(r),code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),kb=b("$ZodCheckMinSize",(e,t)=>{var n;Re.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Mi(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{let r=i.value;r.size>=t.minimum||i.issues.push({origin:hu(r),code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Ib=b("$ZodCheckSizeEquals",(e,t)=>{var n;Re.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Mi(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag;r.minimum=t.size,r.maximum=t.size,r.size=t.size}),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:hu(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})}}),Cb=b("$ZodCheckMaxLength",(e,t)=>{var n;Re.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Mi(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{let r=i.value;if(r.length<=t.maximum)return;let a=gu(r);i.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Nb=b("$ZodCheckMinLength",(e,t)=>{var n;Re.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Mi(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{let r=i.value;if(r.length>=t.minimum)return;let a=gu(r);i.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),jb=b("$ZodCheckLengthEquals",(e,t)=>{var n;Re.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Mi(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length}),e._zod.check=i=>{let r=i.value,o=r.length;if(o===t.length)return;let a=gu(r),s=o>t.length;i.issues.push({origin:a,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),$s=b("$ZodCheckStringFormat",(e,t)=>{var n,i;Re.init(e,t),e._zod.onattach.push(r=>{let o=r._zod.bag;o.format=t.format,t.pattern&&(o.patterns??(o.patterns=new Set),o.patterns.add(t.pattern))}),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=()=>{})}),Ab=b("$ZodCheckRegex",(e,t)=>{$s.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})}}),Pb=b("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=wb),$s.init(e,t)}),Ub=b("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=Tb),$s.init(e,t)}),Mb=b("$ZodCheckIncludes",(e,t)=>{Re.init(e,t);let n=jn(t.includes),i=new RegExp(typeof t.position=="number"?`^.{${t.position}}${n}`:n);t.pattern=i,e._zod.onattach.push(r=>{let o=r._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(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})}}),Db=b("$ZodCheckStartsWith",(e,t)=>{Re.init(e,t);let n=new RegExp(`^${jn(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(i=>{let r=i._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(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})}}),Lb=b("$ZodCheckEndsWith",(e,t)=>{Re.init(e,t);let n=new RegExp(`.*${jn(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(i=>{let r=i._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(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 SE(e,t,n){e.issues.length&&t.issues.push(...Kt(n,e.issues))}var qb=b("$ZodCheckProperty",(e,t)=>{Re.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=>SE(r,n,t.property));SE(i,n,t.property)}}),Hb=b("$ZodCheckMimeType",(e,t)=>{Re.init(e,t);let n=new Set(t.mime);e._zod.onattach.push(i=>{i._zod.bag.mime=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})}}),Zb=b("$ZodCheckOverwrite",(e,t)=>{Re.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});var zu=class{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let i=t.split(`\n`).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?.args,r=[...(this?.content??[""]).map(o=>` ${o}`)];return new t(...n,r.join(`\n`))}};var Vb={major:4,minor:4,patch:3};var X=b("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Vb;let i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(let r of i)for(let o of r._zod.onattach)o(e);if(i.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let r=(a,s,l)=>{let c=qi(a),d;for(let p of s){if(p._zod.def.when){if(GS(a)||!p._zod.def.when(a))continue}else if(c)continue;let m=a.issues.length,f=p._zod.check(a);if(f instanceof Promise&&l?.async===!1)throw new Bn;if(d||f instanceof Promise)d=(d??Promise.resolve()).then(async()=>{await f,a.issues.length!==m&&(c||(c=qi(a,m)))});else{if(a.issues.length===m)continue;c||(c=qi(a,m))}}return d?d.then(()=>a):a},o=(a,s,l)=>{if(qi(a))return a.aborted=!0,a;let c=r(s,i,l);if(c instanceof Promise){if(l.async===!1)throw new Bn;return c.then(d=>e._zod.parse(d,l))}return e._zod.parse(c,l)};e._zod.run=(a,s)=>{if(s.skipChecks)return e._zod.parse(a,s);if(s.direction==="backward"){let c=e._zod.parse({value:a.value,issues:[]},{...s,skipChecks:!0});return c instanceof Promise?c.then(d=>o(d,a,s)):o(c,a,s)}let l=e._zod.parse(a,s);if(l instanceof Promise){if(s.async===!1)throw new Bn;return l.then(c=>r(c,i,s))}return r(l,i,s)}}ie(e,"~standard",()=>({validate:r=>{try{let o=KS(e,r);return o.success?{value:o.data}:{issues:o.error?.issues}}catch{return FS(e,r).then(a=>a.success?{value:a.data}:{issues:a.error?.issues})}},vendor:"zod",version:1}))}),Do=b("$ZodString",(e,t)=>{X.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??yb(e._zod.bag),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}}),xe=b("$ZodStringFormat",(e,t)=>{$s.init(e,t),Do.init(e,t)}),Gb=b("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=ib),xe.init(e,t)}),Jb=b("$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=Mo(i))}else t.pattern??(t.pattern=Mo());xe.init(e,t)}),Yb=b("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=ob),xe.init(e,t)}),Kb=b("$ZodURL",(e,t)=>{xe.init(e,t),e._zod.check=n=>{try{let i=n.value.trim();if(!t.normalize&&t.protocol?.source===fb.source&&!/^https?:\\/\\//i.test(i)){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:e,continue:!t.abort});return}let r=new URL(i);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(r.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&&(t.protocol.lastIndex=0,t.protocol.test(r.protocol.endsWith(":")?r.protocol.slice(0,-1):r.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=r.href:n.value=i;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),Fb=b("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=ab()),xe.init(e,t)}),Qb=b("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=nb),xe.init(e,t)}),Xb=b("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=QS),xe.init(e,t)}),Wb=b("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=XS),xe.init(e,t)}),e_=b("$ZodULID",(e,t)=>{t.pattern??(t.pattern=WS),xe.init(e,t)}),t_=b("$ZodXID",(e,t)=>{t.pattern??(t.pattern=eb),xe.init(e,t)}),n_=b("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=tb),xe.init(e,t)}),r_=b("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=vb(t)),xe.init(e,t)}),i_=b("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=hb),xe.init(e,t)}),o_=b("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=gb(t)),xe.init(e,t)}),a_=b("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=rb),xe.init(e,t)}),s_=b("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=sb),xe.init(e,t),e._zod.bag.format="ipv4"}),l_=b("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=lb),xe.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),c_=b("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=cb(t.delimiter)),xe.init(e,t),e._zod.bag.format="mac"}),u_=b("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=ub),xe.init(e,t)}),d_=b("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=db),xe.init(e,t),e._zod.check=n=>{let i=n.value.split("/");try{if(i.length!==2)throw new Error;let[r,o]=i;if(!o)throw new Error;let a=Number(o);if(`${a}`!==o)throw new Error;if(a<0||a>128)throw new Error;new URL(`http://[${r}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function m_(e){if(e==="")return!0;if(/\\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var f_=b("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=mb),xe.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{m_(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function PE(e){if(!Sh.test(e))return!1;let t=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return m_(n)}var p_=b("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=Sh),xe.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{PE(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),h_=b("$ZodE164",(e,t)=>{t.pattern??(t.pattern=pb),xe.init(e,t)});function UE(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 g_=b("$ZodJWT",(e,t)=>{xe.init(e,t),e._zod.check=n=>{UE(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),v_=b("$ZodCustomStringFormat",(e,t)=>{xe.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})}}),Rh=b("$ZodNumber",(e,t)=>{X.init(e,t),e._zod.pattern=e._zod.bag.pattern??bh,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:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:r,inst:e,...o?{received:o}:{}}),n}}),y_=b("$ZodNumberFormat",(e,t)=>{Rb.init(e,t),Rh.init(e,t)}),xu=b("$ZodBoolean",(e,t)=>{X.init(e,t),e._zod.pattern=_b,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}}),Eh=b("$ZodBigInt",(e,t)=>{X.init(e,t),e._zod.pattern=Sb,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}}),S_=b("$ZodBigIntFormat",(e,t)=>{Eb.init(e,t),Eh.init(e,t)}),b_=b("$ZodSymbol",(e,t)=>{X.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}}),__=b("$ZodUndefined",(e,t)=>{X.init(e,t),e._zod.pattern=xb,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}}),z_=b("$ZodNull",(e,t)=>{X.init(e,t),e._zod.pattern=zb,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}}),x_=b("$ZodAny",(e,t)=>{X.init(e,t),e._zod.parse=n=>n}),w_=b("$ZodUnknown",(e,t)=>{X.init(e,t),e._zod.parse=n=>n}),T_=b("$ZodNever",(e,t)=>{X.init(e,t),e._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)}),$_=b("$ZodVoid",(e,t)=>{X.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}}),R_=b("$ZodDate",(e,t)=>{X.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 zE(e,t,n){e.issues.length&&t.issues.push(...Kt(n,e.issues)),t.value[n]=e.value}var E_=b("$ZodArray",(e,t)=>{X.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!Array.isArray(r))return n.issues.push({expected:"array",code:"invalid_type",input:r,inst:e}),n;n.value=Array(r.length);let o=[];for(let a=0;a<r.length;a++){let s=r[a],l=t.element._zod.run({value:s,issues:[]},i);l instanceof Promise?o.push(l.then(c=>zE(c,n,a))):zE(l,n,a)}return o.length?Promise.all(o).then(()=>n):n}});function $h(e,t,n,i,r,o){let a=n in i;if(e.issues.length){if(r&&o&&!a)return;t.issues.push(...Kt(n,e.issues))}if(!a&&!r){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}e.value===void 0?a&&(t.value[n]=void 0):t.value[n]=e.value}function ME(e){let t=Object.keys(e.shape);for(let i of t)if(!e.shape?.[i]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${i}": expected a Zod schema`);let n=ZS(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function DE(e,t,n,i,r,o){let a=[],s=r.keySet,l=r.catchall._zod,c=l.def.type,d=l.optin==="optional",p=l.optout==="optional";for(let m in t){if(m==="__proto__"||s.has(m))continue;if(c==="never"){a.push(m);continue}let f=l.run({value:t[m],issues:[]},i);f instanceof Promise?e.push(f.then(_=>$h(_,n,m,t,d,p))):$h(f,n,m,t,d,p)}return a.length&&n.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:o}),e.length?Promise.all(e).then(()=>n):n}var LE=b("$ZodObject",(e,t)=>{if(X.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){let s=t.shape;Object.defineProperty(t,"shape",{get:()=>{let l={...s};return Object.defineProperty(t,"shape",{value:l}),l}})}let i=bs(()=>ME(t));ie(e._zod,"propValues",()=>{let s=t.shape,l={};for(let c in s){let d=s[c]._zod;if(d.values){l[c]??(l[c]=new Set);for(let p of d.values)l[c].add(p)}}return l});let r=Uo,o=t.catchall,a;e._zod.parse=(s,l)=>{a??(a=i.value);let c=s.value;if(!r(c))return s.issues.push({expected:"object",code:"invalid_type",input:c,inst:e}),s;s.value={};let d=[],p=a.shape;for(let m of a.keys){let f=p[m],_=f._zod.optin==="optional",$=f._zod.optout==="optional",j=f._zod.run({value:c[m],issues:[]},l);j instanceof Promise?d.push(j.then(y=>$h(y,s,m,c,_,$))):$h(j,s,m,c,_,$)}return o?DE(d,c,s,l,i.value,e):d.length?Promise.all(d).then(()=>s):s}}),O_=b("$ZodObjectJIT",(e,t)=>{LE.init(e,t);let n=e._zod.parse,i=bs(()=>ME(t)),r=m=>{let f=new zu(["shape","payload","ctx"]),_=i.value,$=S=>{let x=sh(S);return`shape[${x}]._zod.run({ value: input[${x}], issues: [] }, ctx)`};f.write("const input = payload.value;");let j=Object.create(null),y=0;for(let S of _.keys)j[S]=`key_${y++}`;f.write("const newResult = {};");for(let S of _.keys){let x=j[S],I=sh(S),H=m[S],M=H?._zod?.optin==="optional",B=H?._zod?.optout==="optional";f.write(`const ${x} = ${$(S)};`),M&&B?f.write(`\n if (${x}.issues.length) {\n if (${I} in input) {\n payload.issues = payload.issues.concat(${x}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${I}, ...iss.path] : [${I}]\n })));\n }\n }\n \n if (${x}.value === undefined) {\n if (${I} in input) {\n newResult[${I}] = undefined;\n }\n } else {\n newResult[${I}] = ${x}.value;\n }\n \n `):M?f.write(`\n if (${x}.issues.length) {\n payload.issues = payload.issues.concat(${x}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${I}, ...iss.path] : [${I}]\n })));\n }\n \n if (${x}.value === undefined) {\n if (${I} in input) {\n newResult[${I}] = undefined;\n }\n } else {\n newResult[${I}] = ${x}.value;\n }\n \n `):f.write(`\n const ${x}_present = ${I} in input;\n if (${x}.issues.length) {\n payload.issues = payload.issues.concat(${x}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${I}, ...iss.path] : [${I}]\n })));\n }\n if (!${x}_present && !${x}.issues.length) {\n payload.issues.push({\n code: "invalid_type",\n expected: "nonoptional",\n input: undefined,\n path: [${I}]\n });\n }\n\n if (${x}_present) {\n if (${x}.value === undefined) {\n newResult[${I}] = undefined;\n } else {\n newResult[${I}] = ${x}.value;\n }\n }\n\n `)}f.write("payload.value = newResult;"),f.write("return payload;");let g=f.compile();return(S,x)=>g(m,S,x)},o,a=Uo,s=!Po.jitless,c=s&&LS.value,d=t.catchall,p;e._zod.parse=(m,f)=>{p??(p=i.value);let _=m.value;return a(_)?s&&c&&f?.async===!1&&f.jitless!==!0?(o||(o=r(t.shape)),m=o(m,f),d?DE([],_,m,f,p,e):m):n(m,f):(m.issues.push({expected:"object",code:"invalid_type",input:_,inst:e}),m)}});function xE(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=>!qi(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=>At(a,i,Ve())))}),t)}var wu=b("$ZodUnion",(e,t)=>{X.init(e,t),ie(e._zod,"optin",()=>t.options.some(i=>i._zod.optin==="optional")?"optional":void 0),ie(e._zod,"optout",()=>t.options.some(i=>i._zod.optout==="optional")?"optional":void 0),ie(e._zod,"values",()=>{if(t.options.every(i=>i._zod.values))return new Set(t.options.flatMap(i=>Array.from(i._zod.values)))}),ie(e._zod,"pattern",()=>{if(t.options.every(i=>i._zod.pattern)){let i=t.options.map(r=>r._zod.pattern);return new RegExp(`^(${i.map(r=>fu(r.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 s of t.options){let l=s._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(s=>xE(s,i,e,r)):xE(a,i,e,r)}});function wE(e,t,n,i){let r=e.filter(o=>o.issues.length===0);return r.length===1?(t.value=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=>At(a,i,Ve())))}):t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:[],inclusive:!1}),t)}var k_=b("$ZodXor",(e,t)=>{wu.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 s of t.options){let l=s._zod.run({value:i.value,issues:[]},r);l instanceof Promise?(a.push(l),o=!0):a.push(l)}return o?Promise.all(a).then(s=>wE(s,i,e,r)):wE(a,i,e,r)}}),I_=b("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,wu.init(e,t);let n=e._zod.parse;ie(e._zod,"propValues",()=>{let r={};for(let o of t.options){let a=o._zod.propValues;if(!a||Object.keys(a).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(o)}"`);for(let[s,l]of Object.entries(a)){r[s]||(r[s]=new Set);for(let c of l)r[s].add(c)}}return r});let i=bs(()=>{let r=t.options,o=new Map;for(let a of r){let s=a._zod.propValues?.[t.discriminator];if(!s||s.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(a)}"`);for(let l of s){if(o.has(l))throw new Error(`Duplicate discriminator value "${String(l)}"`);o.set(l,a)}}return o});e._zod.parse=(r,o)=>{let a=r.value;if(!Uo(a))return r.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),r;let s=i.value.get(a?.[t.discriminator]);return s?s._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()),input:a,path:[t.discriminator],inst:e}),r)}}),C_=b("$ZodIntersection",(e,t)=>{X.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,c])=>TE(n,l,c)):TE(n,o,a)}});function Bb(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(Li(e)&&Li(t)){let n=Object.keys(t),i=Object.keys(e).filter(o=>n.indexOf(o)!==-1),r={...e,...t};for(let o of i){let a=Bb(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=Bb(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 TE(e,t,n){let i=new Map,r;for(let s of t.issues)if(s.code==="unrecognized_keys"){r??(r=s);for(let l of s.keys)i.has(l)||i.set(l,{}),i.get(l).l=!0}else e.issues.push(s);for(let s of n.issues)if(s.code==="unrecognized_keys")for(let l of s.keys)i.has(l)||i.set(l,{}),i.get(l).r=!0;else e.issues.push(s);let o=[...i].filter(([,s])=>s.l&&s.r).map(([s])=>s);if(o.length&&r&&e.issues.push({...r,keys:o}),qi(e))return e;let a=Bb(t.value,n.value);if(!a.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`);return e.value=a.data,e}var Oh=b("$ZodTuple",(e,t)=>{X.init(e,t);let n=t.items;e._zod.parse=(i,r)=>{let o=i.value;if(!Array.isArray(o))return i.issues.push({input:o,inst:e,expected:"tuple",code:"invalid_type"}),i;i.value=[];let a=[],s=$E(n,"optin"),l=$E(n,"optout");if(!t.rest){if(o.length<s)return i.issues.push({code:"too_small",minimum:s,inclusive:!0,input:o,inst:e,origin:"array"}),i;o.length>n.length&&i.issues.push({code:"too_big",maximum:n.length,inclusive:!0,input:o,inst:e,origin:"array"})}let c=new Array(n.length);for(let d=0;d<n.length;d++){let p=n[d]._zod.run({value:o[d],issues:[]},r);p instanceof Promise?a.push(p.then(m=>{c[d]=m})):c[d]=p}if(t.rest){let d=n.length-1,p=o.slice(n.length);for(let m of p){d++;let f=t.rest._zod.run({value:m,issues:[]},r);f instanceof Promise?a.push(f.then(_=>RE(_,i,d))):RE(f,i,d)}}return a.length?Promise.all(a).then(()=>EE(c,i,n,o,l)):EE(c,i,n,o,l)}});function $E(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]._zod[t]!=="optional")return n+1;return 0}function RE(e,t,n){e.issues.length&&t.issues.push(...Kt(n,e.issues)),t.value[n]=e.value}function EE(e,t,n,i,r){for(let o=0;o<n.length;o++){let a=e[o],s=o<i.length;if(a.issues.length){if(!s&&o>=r){t.value.length=o;break}t.issues.push(...Kt(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 N_=b("$ZodRecord",(e,t)=>{X.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!Li(r))return n.issues.push({expected:"record",code:"invalid_type",input:r,inst:e}),n;let o=[],a=t.keyType._zod.values;if(a){n.value={};let s=new Set;for(let c of a)if(typeof c=="string"||typeof c=="number"||typeof c=="symbol"){s.add(typeof c=="number"?c.toString():c);let d=t.keyType._zod.run({value:c,issues:[]},i);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(d.issues.length){n.issues.push({code:"invalid_key",origin:"record",issues:d.issues.map(f=>At(f,i,Ve())),input:c,path:[c],inst:e});continue}let p=d.value,m=t.valueType._zod.run({value:r[c],issues:[]},i);m instanceof Promise?o.push(m.then(f=>{f.issues.length&&n.issues.push(...Kt(c,f.issues)),n.value[p]=f.value})):(m.issues.length&&n.issues.push(...Kt(c,m.issues)),n.value[p]=m.value)}let l;for(let c in r)s.has(c)||(l=l??[],l.push(c));l&&l.length>0&&n.issues.push({code:"unrecognized_keys",input:r,inst:e,keys:l})}else{n.value={};for(let s of Reflect.ownKeys(r)){if(s==="__proto__"||!Object.prototype.propertyIsEnumerable.call(r,s))continue;let l=t.keyType._zod.run({value:s,issues:[]},i);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof s=="string"&&bh.test(s)&&l.issues.length){let p=t.keyType._zod.run({value:Number(s),issues:[]},i);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");p.issues.length===0&&(l=p)}if(l.issues.length){t.mode==="loose"?n.value[s]=r[s]:n.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(p=>At(p,i,Ve())),input:s,path:[s],inst:e});continue}let d=t.valueType._zod.run({value:r[s],issues:[]},i);d instanceof Promise?o.push(d.then(p=>{p.issues.length&&n.issues.push(...Kt(s,p.issues)),n.value[l.value]=p.value})):(d.issues.length&&n.issues.push(...Kt(s,d.issues)),n.value[l.value]=d.value)}}return o.length?Promise.all(o).then(()=>n):n}}),j_=b("$ZodMap",(e,t)=>{X.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!(r instanceof Map))return n.issues.push({expected:"map",code:"invalid_type",input:r,inst:e}),n;let o=[];n.value=new Map;for(let[a,s]of r){let l=t.keyType._zod.run({value:a,issues:[]},i),c=t.valueType._zod.run({value:s,issues:[]},i);l instanceof Promise||c instanceof Promise?o.push(Promise.all([l,c]).then(([d,p])=>{OE(d,p,n,a,r,e,i)})):OE(l,c,n,a,r,e,i)}return o.length?Promise.all(o).then(()=>n):n}});function OE(e,t,n,i,r,o,a){e.issues.length&&(pu.has(typeof i)?n.issues.push(...Kt(i,e.issues)):n.issues.push({code:"invalid_key",origin:"map",input:r,inst:o,issues:e.issues.map(s=>At(s,a,Ve()))})),t.issues.length&&(pu.has(typeof i)?n.issues.push(...Kt(i,t.issues)):n.issues.push({origin:"map",code:"invalid_element",input:r,inst:o,key:i,issues:t.issues.map(s=>At(s,a,Ve()))})),n.value.set(e.value,t.value)}var A_=b("$ZodSet",(e,t)=>{X.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!(r instanceof Set))return n.issues.push({input:r,inst:e,expected:"set",code:"invalid_type"}),n;let o=[];n.value=new Set;for(let a of r){let s=t.valueType._zod.run({value:a,issues:[]},i);s instanceof Promise?o.push(s.then(l=>kE(l,n))):kE(s,n)}return o.length?Promise.all(o).then(()=>n):n}});function kE(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}var P_=b("$ZodEnum",(e,t)=>{X.init(e,t);let n=mu(t.entries),i=new Set(n);e._zod.values=i,e._zod.pattern=new RegExp(`^(${n.filter(r=>pu.has(typeof r)).map(r=>typeof r=="string"?jn(r):r.toString()).join("|")})$`),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}}),U_=b("$ZodLiteral",(e,t)=>{if(X.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");let n=new Set(t.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map(i=>typeof i=="string"?jn(i):i?jn(i.toString()):String(i)).join("|")})$`),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}}),M_=b("$ZodFile",(e,t)=>{X.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}}),D_=b("$ZodTransform",(e,t)=>{X.init(e,t),e._zod.optin="optional",e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Ui(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.fallback=!0,n));if(r instanceof Promise)throw new Bn;return n.value=r,n.fallback=!0,n}});function IE(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}var kh=b("$ZodOptional",(e,t)=>{X.init(e,t),e._zod.optin="optional",e._zod.optout="optional",ie(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),ie(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${fu(n.source)})?$`):void 0}),e._zod.parse=(n,i)=>{if(t.innerType._zod.optin==="optional"){let r=n.value,o=t.innerType._zod.run(n,i);return o instanceof Promise?o.then(a=>IE(a,r)):IE(o,r)}return n.value===void 0?n:t.innerType._zod.run(n,i)}}),L_=b("$ZodExactOptional",(e,t)=>{kh.init(e,t),ie(e._zod,"values",()=>t.innerType._zod.values),ie(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(n,i)=>t.innerType._zod.run(n,i)}),q_=b("$ZodNullable",(e,t)=>{X.init(e,t),ie(e._zod,"optin",()=>t.innerType._zod.optin),ie(e._zod,"optout",()=>t.innerType._zod.optout),ie(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${fu(n.source)}|null)$`):void 0}),ie(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(n,i)=>n.value===null?n:t.innerType._zod.run(n,i)}),H_=b("$ZodDefault",(e,t)=>{X.init(e,t),e._zod.optin="optional",ie(e._zod,"values",()=>t.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=>CE(o,t)):CE(r,t)}});function CE(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Z_=b("$ZodPrefault",(e,t)=>{X.init(e,t),e._zod.optin="optional",ie(e._zod,"values",()=>t.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))}),V_=b("$ZodNonOptional",(e,t)=>{X.init(e,t),ie(e._zod,"values",()=>{let n=t.innerType._zod.values;return n?new Set([...n].filter(i=>i!==void 0)):void 0}),e._zod.parse=(n,i)=>{let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>NE(o,e)):NE(r,e)}});function NE(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 B_=b("$ZodSuccess",(e,t)=>{X.init(e,t),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Ui("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)}}),G_=b("$ZodCatch",(e,t)=>{X.init(e,t),e._zod.optin="optional",ie(e._zod,"optout",()=>t.innerType._zod.optout),ie(e._zod,"values",()=>t.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(n,i);return r instanceof Promise?r.then(o=>(n.value=o.value,o.issues.length&&(n.value=t.catchValue({...n,error:{issues:o.issues.map(a=>At(a,i,Ve()))},input:n.value}),n.issues=[],n.fallback=!0),n)):(n.value=r.value,r.issues.length&&(n.value=t.catchValue({...n,error:{issues:r.issues.map(o=>At(o,i,Ve()))},input:n.value}),n.issues=[],n.fallback=!0),n)}}),J_=b("$ZodNaN",(e,t)=>{X.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)}),Ih=b("$ZodPipe",(e,t)=>{X.init(e,t),ie(e._zod,"values",()=>t.in._zod.values),ie(e._zod,"optin",()=>t.in._zod.optin),ie(e._zod,"optout",()=>t.out._zod.optout),ie(e._zod,"propValues",()=>t.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=>xh(a,t.in,i)):xh(o,t.in,i)}let r=t.in._zod.run(n,i);return r instanceof Promise?r.then(o=>xh(o,t.out,i)):xh(r,t.out,i)}});function xh(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}var Tu=b("$ZodCodec",(e,t)=>{X.init(e,t),ie(e._zod,"values",()=>t.in._zod.values),ie(e._zod,"optin",()=>t.in._zod.optin),ie(e._zod,"optout",()=>t.out._zod.optout),ie(e._zod,"propValues",()=>t.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=>wh(a,t,i)):wh(o,t,i)}else{let o=t.out._zod.run(n,i);return o instanceof Promise?o.then(a=>wh(a,t,i)):wh(o,t,i)}}});function wh(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=>Th(e,o,t.out,n)):Th(e,r,t.out,n)}else{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(o=>Th(e,o,t.in,n)):Th(e,r,t.in,n)}}function Th(e,t,n,i){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},i)}var Y_=b("$ZodPreprocess",(e,t)=>{Ih.init(e,t)}),K_=b("$ZodReadonly",(e,t)=>{X.init(e,t),ie(e._zod,"propValues",()=>t.innerType._zod.propValues),ie(e._zod,"values",()=>t.innerType._zod.values),ie(e._zod,"optin",()=>t.innerType?._zod?.optin),ie(e._zod,"optout",()=>t.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(jE):jE(r)}});function jE(e){return e.value=Object.freeze(e.value),e}var F_=b("$ZodTemplateLiteral",(e,t)=>{X.init(e,t);let n=[];for(let i of t.parts)if(typeof i=="object"&&i!==null){if(!i._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...i._zod.traits].shift()}`);let r=i._zod.pattern instanceof RegExp?i._zod.pattern.source:i._zod.pattern;if(!r)throw new Error(`Invalid template literal part: ${i._zod.traits}`);let o=r.startsWith("^")?1:0,a=r.endsWith("$")?r.length-1:r.length;n.push(r.slice(o,a))}else if(i===null||HS.has(typeof i))n.push(jn(`${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)}),Q_=b("$ZodFunction",(e,t)=>(X.init(e,t),e._def=t,e._zod.def=t,e.implement=n=>{if(typeof n!="function")throw new Error("implement() must be called with a function");return function(...i){let r=e._def.input?ch(e._def.input,i):i,o=Reflect.apply(n,this,r);return e._def.output?ch(e._def.output,o):o}},e.implementAsync=n=>{if(typeof n!="function")throw new Error("implementAsync() must be called with a function");return async function(...i){let r=e._def.input?await uh(e._def.input,i):i,o=await Reflect.apply(n,this,r);return e._def.output?await uh(e._def.output,o):o}},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 Oh({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)),X_=b("$ZodPromise",(e,t)=>{X.init(e,t),e._zod.parse=(n,i)=>Promise.resolve(n.value).then(r=>t.innerType._zod.run({value:r,issues:[]},i))}),W_=b("$ZodLazy",(e,t)=>{X.init(e,t),ie(e._zod,"innerType",()=>{let n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),ie(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),ie(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),ie(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),ie(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(n,i)=>e._zod.innerType._zod.run(n,i)}),e1=b("$ZodCustom",(e,t)=>{Re.init(e,t),X.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=>AE(o,n,i,e));AE(r,n,i,e)}});function AE(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(_s(r))}}var Ru={};Rr(Ru,{ar:()=>qE,az:()=>HE,be:()=>VE,bg:()=>BE,ca:()=>GE,cs:()=>JE,da:()=>YE,de:()=>KE,el:()=>FE,en:()=>Ch,eo:()=>QE,es:()=>XE,fa:()=>WE,fi:()=>eO,fr:()=>tO,frCA:()=>nO,he:()=>rO,hr:()=>iO,hu:()=>oO,hy:()=>sO,id:()=>lO,is:()=>cO,it:()=>uO,ja:()=>dO,ka:()=>mO,kh:()=>fO,km:()=>Nh,ko:()=>pO,lt:()=>gO,mk:()=>vO,ms:()=>yO,nl:()=>SO,no:()=>bO,ota:()=>_O,pl:()=>xO,ps:()=>zO,pt:()=>wO,ro:()=>TO,ru:()=>RO,sl:()=>EO,sv:()=>OO,ta:()=>kO,th:()=>IO,tr:()=>CO,ua:()=>NO,uk:()=>jh,ur:()=>jO,uz:()=>AO,vi:()=>PO,yo:()=>DO,zhCN:()=>UO,zhTW:()=>MO});var LP=()=>{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"}};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",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",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=k(r.input),s=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 ${s}`:`\\u0645\\u062F\\u062E\\u0644\\u0627\\u062A \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644\\u0629: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0625\\u062F\\u062E\\u0627\\u0644 ${o}\\u060C \\u0648\\u0644\\u0643\\u0646 \\u062A\\u0645 \\u0625\\u062F\\u062E\\u0627\\u0644 ${s}`}case"invalid_value":return r.values.length===1?`\\u0645\\u062F\\u062E\\u0644\\u0627\\u062A \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644\\u0629: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0625\\u062F\\u062E\\u0627\\u0644 ${O(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: ${T(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":""}: ${T(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 qE(){return{localeError:LP()}}var qP=()=>{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"}};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",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Yanl\\u0131\\u015F d\\u0259y\\u0259r: g\\xF6zl\\u0259nil\\u0259n instanceof ${r.expected}, daxil olan ${s}`:`Yanl\\u0131\\u015F d\\u0259y\\u0259r: g\\xF6zl\\u0259nil\\u0259n ${o}, daxil olan ${s}`}case"invalid_value":return r.values.length===1?`Yanl\\u0131\\u015F d\\u0259y\\u0259r: g\\xF6zl\\u0259nil\\u0259n ${O(r.values[0])}`:`Yanl\\u0131\\u015F se\\xE7im: a\\u015Fa\\u011F\\u0131dak\\u0131lardan biri olmal\\u0131d\\u0131r: ${T(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":""}: ${T(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 HE(){return{localeError:qP()}}function ZE(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 HP=()=>{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"},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",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",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=k(r.input),s=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 ${s}`:`\\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 ${s}`}case"invalid_value":return r.values.length===1?`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u045E\\u0432\\u043E\\u0434: \\u0447\\u0430\\u043A\\u0430\\u043B\\u0430\\u0441\\u044F ${O(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 ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);if(a){let s=Number(r.maximum),l=ZE(s,a.unit.one,a.unit.few,a.unit.many);return`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u0430 \\u0432\\u044F\\u043B\\u0456\\u043A\\u0456: \\u0447\\u0430\\u043A\\u0430\\u043B\\u0430\\u0441\\u044F, \\u0448\\u0442\\u043E ${r.origin??"\\u0437\\u043D\\u0430\\u0447\\u044D\\u043D\\u043D\\u0435"} \\u043F\\u0430\\u0432\\u0456\\u043D\\u043D\\u0430 ${a.verb} ${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 s=Number(r.minimum),l=ZE(s,a.unit.one,a.unit.few,a.unit.many);return`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u0430 \\u043C\\u0430\\u043B\\u044B: \\u0447\\u0430\\u043A\\u0430\\u043B\\u0430\\u0441\\u044F, \\u0448\\u0442\\u043E ${r.origin} \\u043F\\u0430\\u0432\\u0456\\u043D\\u043D\\u0430 ${a.verb} ${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"}: ${T(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 VE(){return{localeError:HP()}}var ZP=()=>{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"}};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",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",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=k(r.input),s=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 ${s}`:`\\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 ${s}`}case"invalid_value":return r.values.length===1?`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u0432\\u0445\\u043E\\u0434: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430\\u043D ${O(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 ${T(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":""}: ${T(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 BE(){return{localeError:ZP()}}var VP=()=>{let e={string:{unit:"car\\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{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",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Tipus inv\\xE0lid: s\'esperava instanceof ${r.expected}, s\'ha rebut ${s}`:`Tipus inv\\xE0lid: s\'esperava ${o}, s\'ha rebut ${s}`}case"invalid_value":return r.values.length===1?`Valor inv\\xE0lid: s\'esperava ${O(r.values[0])}`:`Opci\\xF3 inv\\xE0lida: s\'esperava una de ${T(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":""}: ${T(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 GE(){return{localeError:VP()}}var BP=()=>{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"}};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",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",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=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Neplatn\\xFD vstup: o\\u010Dek\\xE1v\\xE1no instanceof ${r.expected}, obdr\\u017Eeno ${s}`:`Neplatn\\xFD vstup: o\\u010Dek\\xE1v\\xE1no ${o}, obdr\\u017Eeno ${s}`}case"invalid_value":return r.values.length===1?`Neplatn\\xFD vstup: o\\u010Dek\\xE1v\\xE1no ${O(r.values[0])}`:`Neplatn\\xE1 mo\\u017Enost: o\\u010Dek\\xE1v\\xE1na jedna z hodnot ${T(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: ${T(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 JE(){return{localeError:BP()}}var GP=()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{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-omr\\xE5de",ipv6:"IPv6-omr\\xE5de",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},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=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ugyldigt input: forventede instanceof ${r.expected}, fik ${s}`:`Ugyldigt input: forventede ${o}, fik ${s}`}case"invalid_value":return r.values.length===1?`Ugyldig v\\xE6rdi: forventede ${O(r.values[0])}`:`Ugyldigt valg: forventede en af f\\xF8lgende ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin),s=i[r.origin]??r.origin;return a?`For stor: forventede ${s??"value"} ${a.verb} ${o} ${r.maximum.toString()} ${a.unit??"elementer"}`:`For stor: forventede ${s??"value"} havde ${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin),s=i[r.origin]??r.origin;return a?`For lille: forventede ${s} ${a.verb} ${o} ${r.minimum.toString()} ${a.unit}`:`For lille: forventede ${s} 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"}: ${T(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 YE(){return{localeError:GP()}}var JP=()=>{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"}};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",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},i={nan:"NaN",number:"Zahl",array:"Array"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ung\\xFCltige Eingabe: erwartet instanceof ${r.expected}, erhalten ${s}`:`Ung\\xFCltige Eingabe: erwartet ${o}, erhalten ${s}`}case"invalid_value":return r.values.length===1?`Ung\\xFCltige Eingabe: erwartet ${O(r.values[0])}`:`Ung\\xFCltige Option: erwartet eine von ${T(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"}: ${T(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 KE(){return{localeError:JP()}}var YP=()=>{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",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=k(r.input),s=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 ${s}`:`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${o}, \\u03BB\\u03AE\\u03C6\\u03B8\\u03B7\\u03BA\\u03B5 ${s}`}case"invalid_value":return r.values.length===1?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${O(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 ${T(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"}: ${T(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 FE(){return{localeError:YP()}}var KP=()=>{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(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",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=k(r.input),s=i[a]??a;return`Invalid input: expected ${o}, received ${s}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${O(r.values[0])}`:`Invalid option: expected one of ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Too big: expected ${r.origin??"value"} to have ${o}${r.maximum.toString()} ${a.unit??"elements"}`:`Too big: expected ${r.origin??"value"} to be ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Too small: expected ${r.origin} to have ${o}${r.minimum.toString()} ${a.unit}`:`Too small: expected ${r.origin} to be ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Invalid string: must start with "${o.prefix}"`:o.format==="ends_with"?`Invalid string: must end with "${o.suffix}"`:o.format==="includes"?`Invalid string: must include "${o.includes}"`:o.format==="regex"?`Invalid string: must match pattern ${o.pattern}`:`Invalid ${n[o.format]??r.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${r.divisor}`;case"unrecognized_keys":return`Unrecognized key${r.keys.length>1?"s":""}: ${T(r.keys,", ")}`;case"invalid_key":return`Invalid key in ${r.origin}`;case"invalid_union":return r.options&&Array.isArray(r.options)&&r.options.length>0?`Invalid discriminator value. Expected ${r.options.map(a=>`\'${a}\'`).join(" | ")}`:"Invalid input";case"invalid_element":return`Invalid value in ${r.origin}`;default:return"Invalid input"}}};function Ch(){return{localeError:KP()}}var FP=()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{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",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},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=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Nevalida enigo: atendi\\u011Dis instanceof ${r.expected}, ricevi\\u011Dis ${s}`:`Nevalida enigo: atendi\\u011Dis ${o}, ricevi\\u011Dis ${s}`}case"invalid_value":return r.values.length===1?`Nevalida enigo: atendi\\u011Dis ${O(r.values[0])}`:`Nevalida opcio: atendi\\u011Dis unu el ${T(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":""}: ${T(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 QE(){return{localeError:FP()}}var QP=()=>{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",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},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=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Entrada inv\\xE1lida: se esperaba instanceof ${r.expected}, recibido ${s}`:`Entrada inv\\xE1lida: se esperaba ${o}, recibido ${s}`}case"invalid_value":return r.values.length===1?`Entrada inv\\xE1lida: se esperaba ${O(r.values[0])}`:`Opci\\xF3n inv\\xE1lida: se esperaba una de ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin),s=i[r.origin]??r.origin;return a?`Demasiado grande: se esperaba que ${s??"valor"} tuviera ${o}${r.maximum.toString()} ${a.unit??"elementos"}`:`Demasiado grande: se esperaba que ${s??"valor"} fuera ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin),s=i[r.origin]??r.origin;return a?`Demasiado peque\\xF1o: se esperaba que ${s} tuviera ${o}${r.minimum.toString()} ${a.unit}`:`Demasiado peque\\xF1o: se esperaba que ${s} 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":""}: ${T(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 XE(){return{localeError:QP()}}var XP=()=>{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"}};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",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",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=k(r.input),s=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 ${s} \\u062F\\u0631\\u06CC\\u0627\\u0641\\u062A \\u0634\\u062F`:`\\u0648\\u0631\\u0648\\u062F\\u06CC \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0645\\u06CC\\u200C\\u0628\\u0627\\u06CC\\u0633\\u062A ${o} \\u0645\\u06CC\\u200C\\u0628\\u0648\\u062F\\u060C ${s} \\u062F\\u0631\\u06CC\\u0627\\u0641\\u062A \\u0634\\u062F`}case"invalid_value":return r.values.length===1?`\\u0648\\u0631\\u0648\\u062F\\u06CC \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0645\\u06CC\\u200C\\u0628\\u0627\\u06CC\\u0633\\u062A ${O(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 ${T(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: ${T(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 WE(){return{localeError:XP()}}var WP=()=>{let e={string:{unit:"merkki\\xE4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\\xE4iv\\xE4m\\xE4\\xE4r\\xE4n"}};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",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Virheellinen tyyppi: odotettiin instanceof ${r.expected}, oli ${s}`:`Virheellinen tyyppi: odotettiin ${o}, oli ${s}`}case"invalid_value":return r.values.length===1?`Virheellinen sy\\xF6te: t\\xE4ytyy olla ${O(r.values[0])}`:`Virheellinen valinta: t\\xE4ytyy olla yksi seuraavista: ${T(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"}: ${T(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 eO(){return{localeError:WP()}}var e5=()=>{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:"entr\\xE9e",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\\xEEne encod\\xE9e en base64",base64url:"cha\\xEEne encod\\xE9e en base64url",json_string:"cha\\xEEne JSON",e164:"num\\xE9ro E.164",jwt:"JWT",template_literal:"entr\\xE9e"},i={string:"cha\\xEEne",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:"enregistrement",map:"carte",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=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Entr\\xE9e invalide : instanceof ${r.expected} attendu, ${s} re\\xE7u`:`Entr\\xE9e invalide : ${o} attendu, ${s} re\\xE7u`}case"invalid_value":return r.values.length===1?`Entr\\xE9e invalide : ${O(r.values[0])} attendu`:`Option invalide : une valeur parmi ${T(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 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 mod\\xE8le ${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":""} : ${T(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 tO(){return{localeError:e5()}}var t5=()=>{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:"entr\\xE9e",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\\xEEne encod\\xE9e en base64",base64url:"cha\\xEEne encod\\xE9e en base64url",json_string:"cha\\xEEne JSON",e164:"num\\xE9ro E.164",jwt:"JWT",template_literal:"entr\\xE9e"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Entr\\xE9e invalide : attendu instanceof ${r.expected}, re\\xE7u ${s}`:`Entr\\xE9e invalide : attendu ${o}, re\\xE7u ${s}`}case"invalid_value":return r.values.length===1?`Entr\\xE9e invalide : attendu ${O(r.values[0])}`:`Option invalide : attendu l\'une des valeurs suivantes ${T(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":""} : ${T(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 nO(){return{localeError:t5()}}var n5=()=>{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=c=>c?e[c]:void 0,i=c=>{let d=n(c);return d?d.label:c??e.unknown.label},r=c=>`\\u05D4${i(c)}`,o=c=>(n(c)?.gender??"m")==="f"?"\\u05E6\\u05E8\\u05D9\\u05DB\\u05D4 \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA":"\\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA",a=c=>c?t[c]??null:null,s={regex:{label:"\\u05E7\\u05DC\\u05D8",gender:"m"},email:{label:"\\u05DB\\u05EA\\u05D5\\u05D1\\u05EA \\u05D0\\u05D9\\u05DE\\u05D9\\u05D9\\u05DC",gender:"f"},url:{label:"\\u05DB\\u05EA\\u05D5\\u05D1\\u05EA \\u05E8\\u05E9\\u05EA",gender:"f"},emoji:{label:"\\u05D0\\u05D9\\u05DE\\u05D5\\u05D2\'\\u05D9",gender:"m"},uuid:{label:"UUID",gender:"m"},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"},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"},jwt:{label:"JWT",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 c=>{switch(c.code){case"invalid_type":{let d=c.expected,p=l[d??""]??i(d),m=k(c.input),f=l[m]??e[m]?.label??m;return/^[A-Z]/.test(c.expected)?`\\u05E7\\u05DC\\u05D8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA instanceof ${c.expected}, \\u05D4\\u05EA\\u05E7\\u05D1\\u05DC ${f}`:`\\u05E7\\u05DC\\u05D8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA ${p}, \\u05D4\\u05EA\\u05E7\\u05D1\\u05DC ${f}`}case"invalid_value":{if(c.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 ${O(c.values[0])}`;let d=c.values.map(f=>O(f));if(c.values.length===2)return`\\u05E2\\u05E8\\u05DA \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05D4\\u05D0\\u05E4\\u05E9\\u05E8\\u05D5\\u05D9\\u05D5\\u05EA \\u05D4\\u05DE\\u05EA\\u05D0\\u05D9\\u05DE\\u05D5\\u05EA \\u05D4\\u05DF ${d[0]} \\u05D0\\u05D5 ${d[1]}`;let p=d[d.length-1];return`\\u05E2\\u05E8\\u05DA \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05D4\\u05D0\\u05E4\\u05E9\\u05E8\\u05D5\\u05D9\\u05D5\\u05EA \\u05D4\\u05DE\\u05EA\\u05D0\\u05D9\\u05DE\\u05D5\\u05EA \\u05D4\\u05DF ${d.slice(0,-1).join(", ")} \\u05D0\\u05D5 ${p}`}case"too_big":{let d=a(c.origin),p=r(c.origin??"value");if(c.origin==="string")return`${d?.longLabel??"\\u05D0\\u05E8\\u05D5\\u05DA"} \\u05DE\\u05D3\\u05D9: ${p} \\u05E6\\u05E8\\u05D9\\u05DB\\u05D4 \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${c.maximum.toString()} ${d?.unit??""} ${c.inclusive?"\\u05D0\\u05D5 \\u05E4\\u05D7\\u05D5\\u05EA":"\\u05DC\\u05DB\\u05DC \\u05D4\\u05D9\\u05D5\\u05EA\\u05E8"}`.trim();if(c.origin==="number"){let _=c.inclusive?`\\u05E7\\u05D8\\u05DF \\u05D0\\u05D5 \\u05E9\\u05D5\\u05D5\\u05D4 \\u05DC-${c.maximum}`:`\\u05E7\\u05D8\\u05DF \\u05DE-${c.maximum}`;return`\\u05D2\\u05D3\\u05D5\\u05DC \\u05DE\\u05D3\\u05D9: ${p} \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA ${_}`}if(c.origin==="array"||c.origin==="set"){let _=c.origin==="set"?"\\u05E6\\u05E8\\u05D9\\u05DB\\u05D4":"\\u05E6\\u05E8\\u05D9\\u05DA",$=c.inclusive?`${c.maximum} ${d?.unit??""} \\u05D0\\u05D5 \\u05E4\\u05D7\\u05D5\\u05EA`:`\\u05E4\\u05D7\\u05D5\\u05EA \\u05DE-${c.maximum} ${d?.unit??""}`;return`\\u05D2\\u05D3\\u05D5\\u05DC \\u05DE\\u05D3\\u05D9: ${p} ${_} \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${$}`.trim()}let m=c.inclusive?"<=":"<",f=o(c.origin??"value");return d?.unit?`${d.longLabel} \\u05DE\\u05D3\\u05D9: ${p} ${f} ${m}${c.maximum.toString()} ${d.unit}`:`${d?.longLabel??"\\u05D2\\u05D3\\u05D5\\u05DC"} \\u05DE\\u05D3\\u05D9: ${p} ${f} ${m}${c.maximum.toString()}`}case"too_small":{let d=a(c.origin),p=r(c.origin??"value");if(c.origin==="string")return`${d?.shortLabel??"\\u05E7\\u05E6\\u05E8"} \\u05DE\\u05D3\\u05D9: ${p} \\u05E6\\u05E8\\u05D9\\u05DB\\u05D4 \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${c.minimum.toString()} ${d?.unit??""} ${c.inclusive?"\\u05D0\\u05D5 \\u05D9\\u05D5\\u05EA\\u05E8":"\\u05DC\\u05E4\\u05D7\\u05D5\\u05EA"}`.trim();if(c.origin==="number"){let _=c.inclusive?`\\u05D2\\u05D3\\u05D5\\u05DC \\u05D0\\u05D5 \\u05E9\\u05D5\\u05D5\\u05D4 \\u05DC-${c.minimum}`:`\\u05D2\\u05D3\\u05D5\\u05DC \\u05DE-${c.minimum}`;return`\\u05E7\\u05D8\\u05DF \\u05DE\\u05D3\\u05D9: ${p} \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA ${_}`}if(c.origin==="array"||c.origin==="set"){let _=c.origin==="set"?"\\u05E6\\u05E8\\u05D9\\u05DB\\u05D4":"\\u05E6\\u05E8\\u05D9\\u05DA";if(c.minimum===1&&c.inclusive){let j=(c.origin==="set","\\u05DC\\u05E4\\u05D7\\u05D5\\u05EA \\u05E4\\u05E8\\u05D9\\u05D8 \\u05D0\\u05D7\\u05D3");return`\\u05E7\\u05D8\\u05DF \\u05DE\\u05D3\\u05D9: ${p} ${_} \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${j}`}let $=c.inclusive?`${c.minimum} ${d?.unit??""} \\u05D0\\u05D5 \\u05D9\\u05D5\\u05EA\\u05E8`:`\\u05D9\\u05D5\\u05EA\\u05E8 \\u05DE-${c.minimum} ${d?.unit??""}`;return`\\u05E7\\u05D8\\u05DF \\u05DE\\u05D3\\u05D9: ${p} ${_} \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${$}`.trim()}let m=c.inclusive?">=":">",f=o(c.origin??"value");return d?.unit?`${d.shortLabel} \\u05DE\\u05D3\\u05D9: ${p} ${f} ${m}${c.minimum.toString()} ${d.unit}`:`${d?.shortLabel??"\\u05E7\\u05D8\\u05DF"} \\u05DE\\u05D3\\u05D9: ${p} ${f} ${m}${c.minimum.toString()}`}case"invalid_format":{let d=c;if(d.format==="starts_with")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05D4\\u05EA\\u05D7\\u05D9\\u05DC \\u05D1 "${d.prefix}"`;if(d.format==="ends_with")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05D4\\u05E1\\u05EA\\u05D9\\u05D9\\u05DD \\u05D1 "${d.suffix}"`;if(d.format==="includes")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05DB\\u05DC\\u05D5\\u05DC "${d.includes}"`;if(d.format==="regex")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05D4\\u05EA\\u05D0\\u05D9\\u05DD \\u05DC\\u05EA\\u05D1\\u05E0\\u05D9\\u05EA ${d.pattern}`;let p=s[d.format],m=p?.label??d.format,_=(p?.gender??"m")==="f"?"\\u05EA\\u05E7\\u05D9\\u05E0\\u05D4":"\\u05EA\\u05E7\\u05D9\\u05DF";return`${m} \\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 ${c.divisor}`;case"unrecognized_keys":return`\\u05DE\\u05E4\\u05EA\\u05D7${c.keys.length>1?"\\u05D5\\u05EA":""} \\u05DC\\u05D0 \\u05DE\\u05D6\\u05D5\\u05D4${c.keys.length>1?"\\u05D9\\u05DD":"\\u05D4"}: ${T(c.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(c.origin??"array")}`;default:return"\\u05E7\\u05DC\\u05D8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF"}}};function rO(){return{localeError:n5()}}var r5=()=>{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",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",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=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Neispravan unos: o\\u010Dekuje se instanceof ${r.expected}, a primljeno je ${s}`:`Neispravan unos: o\\u010Dekuje se ${o}, a primljeno je ${s}`}case"invalid_value":return r.values.length===1?`Neispravna vrijednost: o\\u010Dekivano ${O(r.values[0])}`:`Neispravna opcija: o\\u010Dekivano jedno od ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin),s=i[r.origin]??r.origin;return a?`Preveliko: o\\u010Dekivano da ${s??"vrijednost"} ima ${o}${r.maximum.toString()} ${a.unit??"elemenata"}`:`Preveliko: o\\u010Dekivano da ${s??"vrijednost"} bude ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin),s=i[r.origin]??r.origin;return a?`Premalo: o\\u010Dekivano da ${s} ima ${o}${r.minimum.toString()} ${a.unit}`:`Premalo: o\\u010Dekivano da ${s} 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"}: ${T(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 iO(){return{localeError:r5()}}var i5=()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{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",cidrv4:"IPv4 tartom\\xE1ny",cidrv6:"IPv6 tartom\\xE1ny",base64:"base64-k\\xF3dolt string",base64url:"base64url-k\\xF3dolt string",json_string:"JSON string",e164:"E.164 sz\\xE1m",jwt:"JWT",template_literal:"bemenet"},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=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`\\xC9rv\\xE9nytelen bemenet: a v\\xE1rt \\xE9rt\\xE9k instanceof ${r.expected}, a kapott \\xE9rt\\xE9k ${s}`:`\\xC9rv\\xE9nytelen bemenet: a v\\xE1rt \\xE9rt\\xE9k ${o}, a kapott \\xE9rt\\xE9k ${s}`}case"invalid_value":return r.values.length===1?`\\xC9rv\\xE9nytelen bemenet: a v\\xE1rt \\xE9rt\\xE9k ${O(r.values[0])}`:`\\xC9rv\\xE9nytelen opci\\xF3: valamelyik \\xE9rt\\xE9k v\\xE1rt ${T(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":""}: ${T(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 oO(){return{localeError:i5()}}function aO(e,t,n){return Math.abs(e)===1?t:n}function Rs(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 o5=()=>{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"}};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",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",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=k(r.input),s=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 ${s}`:`\\u054D\\u056D\\u0561\\u056C \\u0574\\u0578\\u0582\\u057F\\u0584\\u0561\\u0563\\u0580\\u0578\\u0582\\u0574\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567\\u0580 ${o}, \\u057D\\u057F\\u0561\\u0581\\u057E\\u0565\\u056C \\u0567 ${s}`}case"invalid_value":return r.values.length===1?`\\u054D\\u056D\\u0561\\u056C \\u0574\\u0578\\u0582\\u057F\\u0584\\u0561\\u0563\\u0580\\u0578\\u0582\\u0574\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567\\u0580 ${O(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 ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);if(a){let s=Number(r.maximum),l=aO(s,a.unit.one,a.unit.many);return`\\u0549\\u0561\\u0583\\u0561\\u0566\\u0561\\u0576\\u0581 \\u0574\\u0565\\u056E \\u0561\\u0580\\u056A\\u0565\\u0584\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567, \\u0578\\u0580 ${Rs(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 ${Rs(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 s=Number(r.minimum),l=aO(s,a.unit.one,a.unit.many);return`\\u0549\\u0561\\u0583\\u0561\\u0566\\u0561\\u0576\\u0581 \\u0583\\u0578\\u0584\\u0580 \\u0561\\u0580\\u056A\\u0565\\u0584\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567, \\u0578\\u0580 ${Rs(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 ${Rs(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":""}. ${T(r.keys,", ")}`;case"invalid_key":return`\\u054D\\u056D\\u0561\\u056C \\u0562\\u0561\\u0576\\u0561\\u056C\\u056B ${Rs(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 ${Rs(r.origin)}-\\u0578\\u0582\\u0574`;default:return"\\u054D\\u056D\\u0561\\u056C \\u0574\\u0578\\u0582\\u057F\\u0584\\u0561\\u0563\\u0580\\u0578\\u0582\\u0574"}}};function sO(){return{localeError:o5()}}var a5=()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{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",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Input tidak valid: diharapkan instanceof ${r.expected}, diterima ${s}`:`Input tidak valid: diharapkan ${o}, diterima ${s}`}case"invalid_value":return r.values.length===1?`Input tidak valid: diharapkan ${O(r.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${T(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":""}: ${T(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 lO(){return{localeError:a5()}}var s5=()=>{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"}};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",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 t\\xF6lugildi",jwt:"JWT",template_literal:"gildi"},i={nan:"NaN",number:"n\\xFAmer",array:"fylki"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Rangt gildi: \\xDE\\xFA sl\\xF3st inn ${s} \\xFEar sem \\xE1 a\\xF0 vera instanceof ${r.expected}`:`Rangt gildi: \\xDE\\xFA sl\\xF3st inn ${s} \\xFEar sem \\xE1 a\\xF0 vera ${o}`}case"invalid_value":return r.values.length===1?`Rangt gildi: gert r\\xE1\\xF0 fyrir ${O(r.values[0])}`:`\\xD3gilt val: m\\xE1 vera eitt af eftirfarandi ${T(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"}: ${T(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 cO(){return{localeError:s5()}}var l5=()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{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",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"numero",array:"vettore"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Input non valido: atteso instanceof ${r.expected}, ricevuto ${s}`:`Input non valido: atteso ${o}, ricevuto ${s}`}case"invalid_value":return r.values.length===1?`Input non valido: atteso ${O(r.values[0])}`:`Opzione non valida: atteso uno tra ${T(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"}: ${T(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 uO(){return{localeError:l5()}}var c5=()=>{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"}};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",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",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=k(r.input),s=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${s}\\u304C\\u5165\\u529B\\u3055\\u308C\\u307E\\u3057\\u305F`:`\\u7121\\u52B9\\u306A\\u5165\\u529B: ${o}\\u304C\\u671F\\u5F85\\u3055\\u308C\\u307E\\u3057\\u305F\\u304C\\u3001${s}\\u304C\\u5165\\u529B\\u3055\\u308C\\u307E\\u3057\\u305F`}case"invalid_value":return r.values.length===1?`\\u7121\\u52B9\\u306A\\u5165\\u529B: ${O(r.values[0])}\\u304C\\u671F\\u5F85\\u3055\\u308C\\u307E\\u3057\\u305F`:`\\u7121\\u52B9\\u306A\\u9078\\u629E: ${T(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":""}: ${T(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 dO(){return{localeError:c5()}}var u5=()=>{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"}};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",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",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=k(r.input),s=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 ${s}`:`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${o}, \\u10DB\\u10D8\\u10E6\\u10D4\\u10D1\\u10E3\\u10DA\\u10D8 ${s}`}case"invalid_value":return r.values.length===1?`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${O(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 ${T(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"}: ${T(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 mO(){return{localeError:u5()}}var d5=()=>{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"}};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",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",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=k(r.input),s=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 ${s}`:`\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1794\\u1789\\u17D2\\u1785\\u17BC\\u179B\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${o} \\u1794\\u17C9\\u17BB\\u1793\\u17D2\\u178F\\u17C2\\u1791\\u1791\\u17BD\\u179B\\u1794\\u17B6\\u1793 ${s}`}case"invalid_value":return r.values.length===1?`\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1794\\u1789\\u17D2\\u1785\\u17BC\\u179B\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${O(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 ${T(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 ${T(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 Nh(){return{localeError:d5()}}function fO(){return Nh()}var m5=()=>{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"}};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",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",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=k(r.input),s=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 ${s}\\uC785\\uB2C8\\uB2E4`:`\\uC798\\uBABB\\uB41C \\uC785\\uB825: \\uC608\\uC0C1 \\uD0C0\\uC785\\uC740 ${o}, \\uBC1B\\uC740 \\uD0C0\\uC785\\uC740 ${s}\\uC785\\uB2C8\\uB2E4`}case"invalid_value":return r.values.length===1?`\\uC798\\uBABB\\uB41C \\uC785\\uB825: \\uAC12\\uC740 ${O(r.values[0])} \\uC774\\uC5B4\\uC57C \\uD569\\uB2C8\\uB2E4`:`\\uC798\\uBABB\\uB41C \\uC635\\uC158: ${T(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",s=t(r.origin),l=s?.unit??"\\uC694\\uC18C";return s?`${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",s=t(r.origin),l=s?.unit??"\\uC694\\uC18C";return s?`${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: ${T(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 pO(){return{localeError:m5()}}var $u=e=>e.charAt(0).toUpperCase()+e.slice(1);function hO(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 f5=()=>{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,s){let l=e[r]??null;return l===null?l:{unit:l.unit[o],verb:l.verb[s][a?"inclusive":"notInclusive"]}}let n={regex:"\\u012Fvestis",email:"el. pa\\u0161to adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukm\\u0117",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",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",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=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Gautas tipas ${s}, o tik\\u0117tasi - instanceof ${r.expected}`:`Gautas tipas ${s}, o tik\\u0117tasi - ${o}`}case"invalid_value":return r.values.length===1?`Privalo b\\u016Bti ${O(r.values[0])}`:`Privalo b\\u016Bti vienas i\\u0161 ${T(r.values,"|")} pasirinkim\\u0173`;case"too_big":{let o=i[r.origin]??r.origin,a=t(r.origin,hO(Number(r.maximum)),r.inclusive??!1,"smaller");if(a?.verb)return`${$u(o??r.origin??"reik\\u0161m\\u0117")} ${a.verb} ${r.maximum.toString()} ${a.unit??"element\\u0173"}`;let s=r.inclusive?"ne didesnis kaip":"ma\\u017Eesnis kaip";return`${$u(o??r.origin??"reik\\u0161m\\u0117")} turi b\\u016Bti ${s} ${r.maximum.toString()} ${a?.unit}`}case"too_small":{let o=i[r.origin]??r.origin,a=t(r.origin,hO(Number(r.minimum)),r.inclusive??!1,"bigger");if(a?.verb)return`${$u(o??r.origin??"reik\\u0161m\\u0117")} ${a.verb} ${r.minimum.toString()} ${a.unit??"element\\u0173"}`;let s=r.inclusive?"ne ma\\u017Eesnis kaip":"didesnis kaip";return`${$u(o??r.origin??"reik\\u0161m\\u0117")} turi b\\u016Bti ${s} ${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"}: ${T(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`${$u(o??r.origin??"reik\\u0161m\\u0117")} turi klaiding\\u0105 \\u012Fvest\\u012F`}default:return"Klaidinga \\u012Fvestis"}}};function gO(){return{localeError:f5()}}var p5=()=>{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"}};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",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",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=k(r.input),s=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 ${s}`:`\\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 ${s}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${O(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 ${T(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"}: ${T(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 vO(){return{localeError:p5()}}var h5=()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{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",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"nombor"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Input tidak sah: dijangka instanceof ${r.expected}, diterima ${s}`:`Input tidak sah: dijangka ${o}, diterima ${s}`}case"invalid_value":return r.values.length===1?`Input tidak sah: dijangka ${O(r.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${T(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: ${T(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 yO(){return{localeError:h5()}}var g5=()=>{let e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{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",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},i={nan:"NaN",number:"getal"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ongeldige invoer: verwacht instanceof ${r.expected}, ontving ${s}`:`Ongeldige invoer: verwacht ${o}, ontving ${s}`}case"invalid_value":return r.values.length===1?`Ongeldige invoer: verwacht ${O(r.values[0])}`:`Ongeldige optie: verwacht \\xE9\\xE9n van ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin),s=r.origin==="date"?"laat":r.origin==="string"?"lang":"groot";return a?`Te ${s}: verwacht dat ${r.origin??"waarde"} ${o}${r.maximum.toString()} ${a.unit??"elementen"} ${a.verb}`:`Te ${s}: verwacht dat ${r.origin??"waarde"} ${o}${r.maximum.toString()} is`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin),s=r.origin==="date"?"vroeg":r.origin==="string"?"kort":"klein";return a?`Te ${s}: verwacht dat ${r.origin} ${o}${r.minimum.toString()} ${a.unit} ${a.verb}`:`Te ${s}: 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":""}: ${T(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 SO(){return{localeError:g5()}}var v5=()=>{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"}};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-omr\\xE5de",ipv6:"IPv6-omr\\xE5de",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"tall",array:"liste"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ugyldig input: forventet instanceof ${r.expected}, fikk ${s}`:`Ugyldig input: forventet ${o}, fikk ${s}`}case"invalid_value":return r.values.length===1?`Ugyldig verdi: forventet ${O(r.values[0])}`:`Ugyldig valg: forventet en av ${T(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"}: ${T(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 bO(){return{localeError:v5()}}var y5=()=>{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"}};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",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-\\u015Fifreli metin",base64url:"base64url-\\u015Fifreli metin",json_string:"JSON metin",e164:"E.164 say\\u0131s\\u0131",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=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`F\\xE2sit giren: umulan instanceof ${r.expected}, al\\u0131nan ${s}`:`F\\xE2sit giren: umulan ${o}, al\\u0131nan ${s}`}case"invalid_value":return r.values.length===1?`F\\xE2sit giren: umulan ${O(r.values[0])}`:`F\\xE2sit tercih: m\\xFBteberler ${T(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":""}: ${T(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 _O(){return{localeError:y5()}}var S5=()=>{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"}};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",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",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=k(r.input),s=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 ${s} \\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 ${s} \\u062A\\u0631\\u0644\\u0627\\u0633\\u0647 \\u0634\\u0648`}case"invalid_value":return r.values.length===1?`\\u0646\\u0627\\u0633\\u0645 \\u0648\\u0631\\u0648\\u062F\\u064A: \\u0628\\u0627\\u06CC\\u062F ${O(r.values[0])} \\u0648\\u0627\\u06CC`:`\\u0646\\u0627\\u0633\\u0645 \\u0627\\u0646\\u062A\\u062E\\u0627\\u0628: \\u0628\\u0627\\u06CC\\u062F \\u06CC\\u0648 \\u0644\\u0647 ${T(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"}: ${T(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 zO(){return{localeError:S5()}}var b5=()=>{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"}};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",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",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=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Nieprawid\\u0142owe dane wej\\u015Bciowe: oczekiwano instanceof ${r.expected}, otrzymano ${s}`:`Nieprawid\\u0142owe dane wej\\u015Bciowe: oczekiwano ${o}, otrzymano ${s}`}case"invalid_value":return r.values.length===1?`Nieprawid\\u0142owe dane wej\\u015Bciowe: oczekiwano ${O(r.values[0])}`:`Nieprawid\\u0142owa opcja: oczekiwano jednej z warto\\u015Bci ${T(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":""}: ${T(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 xO(){return{localeError:b5()}}var _5=()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(r){return e[r]??null}let n={regex:"padr\\xE3o",email:"endere\\xE7o de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"dura\\xE7\\xE3o ISO",ipv4:"endere\\xE7o IPv4",ipv6:"endere\\xE7o IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"n\\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN",number:"n\\xFAmero",null:"nulo"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Tipo inv\\xE1lido: esperado instanceof ${r.expected}, recebido ${s}`:`Tipo inv\\xE1lido: esperado ${o}, recebido ${s}`}case"invalid_value":return r.values.length===1?`Entrada inv\\xE1lida: esperado ${O(r.values[0])}`:`Op\\xE7\\xE3o inv\\xE1lida: esperada uma das ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Muito grande: esperado que ${r.origin??"valor"} tivesse ${o}${r.maximum.toString()} ${a.unit??"elementos"}`:`Muito grande: esperado que ${r.origin??"valor"} fosse ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Muito pequeno: esperado que ${r.origin} tivesse ${o}${r.minimum.toString()} ${a.unit}`:`Muito pequeno: esperado que ${r.origin} fosse ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Texto inv\\xE1lido: deve come\\xE7ar com "${o.prefix}"`:o.format==="ends_with"?`Texto inv\\xE1lido: deve terminar com "${o.suffix}"`:o.format==="includes"?`Texto inv\\xE1lido: deve incluir "${o.includes}"`:o.format==="regex"?`Texto inv\\xE1lido: deve corresponder ao padr\\xE3o ${o.pattern}`:`${n[o.format]??r.format} inv\\xE1lido`}case"not_multiple_of":return`N\\xFAmero inv\\xE1lido: deve ser m\\xFAltiplo de ${r.divisor}`;case"unrecognized_keys":return`Chave${r.keys.length>1?"s":""} desconhecida${r.keys.length>1?"s":""}: ${T(r.keys,", ")}`;case"invalid_key":return`Chave inv\\xE1lida em ${r.origin}`;case"invalid_union":return"Entrada inv\\xE1lida";case"invalid_element":return`Valor inv\\xE1lido em ${r.origin}`;default:return"Campo inv\\xE1lido"}}};function wO(){return{localeError:_5()}}var z5=()=>{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",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=k(r.input),s=i[a]??a;return`Intrare invalid\\u0103: a\\u0219teptat ${o}, primit ${s}`}case"invalid_value":return r.values.length===1?`Intrare invalid\\u0103: a\\u0219teptat ${O(r.values[0])}`:`Op\\u021Biune invalid\\u0103: a\\u0219teptat una dintre ${T(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: ${T(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 TO(){return{localeError:z5()}}function $O(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 x5=()=>{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"}};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",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",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=k(r.input),s=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 ${s}`:`\\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 ${s}`}case"invalid_value":return r.values.length===1?`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0439 \\u0432\\u0432\\u043E\\u0434: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C ${O(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 ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);if(a){let s=Number(r.maximum),l=$O(s,a.unit.one,a.unit.few,a.unit.many);return`\\u0421\\u043B\\u0438\\u0448\\u043A\\u043E\\u043C \\u0431\\u043E\\u043B\\u044C\\u0448\\u043E\\u0435 \\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C, \\u0447\\u0442\\u043E ${r.origin??"\\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435"} \\u0431\\u0443\\u0434\\u0435\\u0442 \\u0438\\u043C\\u0435\\u0442\\u044C ${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 s=Number(r.minimum),l=$O(s,a.unit.one,a.unit.few,a.unit.many);return`\\u0421\\u043B\\u0438\\u0448\\u043A\\u043E\\u043C \\u043C\\u0430\\u043B\\u0435\\u043D\\u044C\\u043A\\u043E\\u0435 \\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C, \\u0447\\u0442\\u043E ${r.origin} \\u0431\\u0443\\u0434\\u0435\\u0442 \\u0438\\u043C\\u0435\\u0442\\u044C ${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":""}: ${T(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 RO(){return{localeError:x5()}}var w5=()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{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",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 \\u0161tevilka",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=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Neveljaven vnos: pri\\u010Dakovano instanceof ${r.expected}, prejeto ${s}`:`Neveljaven vnos: pri\\u010Dakovano ${o}, prejeto ${s}`}case"invalid_value":return r.values.length===1?`Neveljaven vnos: pri\\u010Dakovano ${O(r.values[0])}`:`Neveljavna mo\\u017Enost: pri\\u010Dakovano eno izmed ${T(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"}: ${T(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 EO(){return{localeError:w5()}}var T5=()=>{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"}};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-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad str\\xE4ng",base64url:"base64url-kodad str\\xE4ng",json_string:"JSON-str\\xE4ng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},i={nan:"NaN",number:"antal",array:"lista"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ogiltig inmatning: f\\xF6rv\\xE4ntat instanceof ${r.expected}, fick ${s}`:`Ogiltig inmatning: f\\xF6rv\\xE4ntat ${o}, fick ${s}`}case"invalid_value":return r.values.length===1?`Ogiltig inmatning: f\\xF6rv\\xE4ntat ${O(r.values[0])}`:`Ogiltigt val: f\\xF6rv\\xE4ntade en av ${T(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"}: ${T(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 OO(){return{localeError:T5()}}var $5=()=>{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"}};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",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",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=k(r.input),s=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 ${s}`:`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0BC0\\u0B9F\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${o}, \\u0BAA\\u0BC6\\u0BB1\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${s}`}case"invalid_value":return r.values.length===1?`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0BC0\\u0B9F\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${O(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 ${T(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":""}: ${T(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 kO(){return{localeError:$5()}}var R5=()=>{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"}};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",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)",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=k(r.input),s=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 ${s}`:`\\u0E1B\\u0E23\\u0E30\\u0E40\\u0E20\\u0E17\\u0E02\\u0E49\\u0E2D\\u0E21\\u0E39\\u0E25\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E04\\u0E27\\u0E23\\u0E40\\u0E1B\\u0E47\\u0E19 ${o} \\u0E41\\u0E15\\u0E48\\u0E44\\u0E14\\u0E49\\u0E23\\u0E31\\u0E1A ${s}`}case"invalid_value":return r.values.length===1?`\\u0E04\\u0E48\\u0E32\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E04\\u0E27\\u0E23\\u0E40\\u0E1B\\u0E47\\u0E19 ${O(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 ${T(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: ${T(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 IO(){return{localeError:R5()}}var E5=()=>{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"}};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",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",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=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ge\\xE7ersiz de\\u011Fer: beklenen instanceof ${r.expected}, al\\u0131nan ${s}`:`Ge\\xE7ersiz de\\u011Fer: beklenen ${o}, al\\u0131nan ${s}`}case"invalid_value":return r.values.length===1?`Ge\\xE7ersiz de\\u011Fer: beklenen ${O(r.values[0])}`:`Ge\\xE7ersiz se\\xE7enek: a\\u015Fa\\u011F\\u0131dakilerden biri olmal\\u0131: ${T(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":""}: ${T(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 CO(){return{localeError:E5()}}var O5=()=>{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"}};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",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",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=k(r.input),s=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 ${s}`:`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0456 \\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F ${o}, \\u043E\\u0442\\u0440\\u0438\\u043C\\u0430\\u043D\\u043E ${s}`}case"invalid_value":return r.values.length===1?`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0456 \\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F ${O(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 ${T(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":""}: ${T(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 jh(){return{localeError:O5()}}function NO(){return jh()}var k5=()=>{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"}};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",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",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=k(r.input),s=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 ${s} \\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 ${s} \\u0645\\u0648\\u0635\\u0648\\u0644 \\u06C1\\u0648\\u0627`}case"invalid_value":return r.values.length===1?`\\u063A\\u0644\\u0637 \\u0627\\u0646 \\u067E\\u0679: ${O(r.values[0])} \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627`:`\\u063A\\u0644\\u0637 \\u0622\\u067E\\u0634\\u0646: ${T(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":""}: ${T(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 jO(){return{localeError:k5()}}var I5=()=>{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",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=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Noto\\u2018g\\u2018ri kirish: kutilgan instanceof ${r.expected}, qabul qilingan ${s}`:`Noto\\u2018g\\u2018ri kirish: kutilgan ${o}, qabul qilingan ${s}`}case"invalid_value":return r.values.length===1?`Noto\\u2018g\\u2018ri kirish: kutilgan ${O(r.values[0])}`:`Noto\\u2018g\\u2018ri variant: quyidagilardan biri kutilgan ${T(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":""}: ${T(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 AO(){return{localeError:I5()}}var C5=()=>{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"}};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",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",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=k(r.input),s=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 ${s}`:`\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7: mong \\u0111\\u1EE3i ${o}, nh\\u1EADn \\u0111\\u01B0\\u1EE3c ${s}`}case"invalid_value":return r.values.length===1?`\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7: mong \\u0111\\u1EE3i ${O(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 ${T(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: ${T(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 PO(){return{localeError:C5()}}var N5=()=>{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"}};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",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",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=k(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`\\u65E0\\u6548\\u8F93\\u5165\\uFF1A\\u671F\\u671B instanceof ${r.expected}\\uFF0C\\u5B9E\\u9645\\u63A5\\u6536 ${s}`:`\\u65E0\\u6548\\u8F93\\u5165\\uFF1A\\u671F\\u671B ${o}\\uFF0C\\u5B9E\\u9645\\u63A5\\u6536 ${s}`}case"invalid_value":return r.values.length===1?`\\u65E0\\u6548\\u8F93\\u5165\\uFF1A\\u671F\\u671B ${O(r.values[0])}`:`\\u65E0\\u6548\\u9009\\u9879\\uFF1A\\u671F\\u671B\\u4EE5\\u4E0B\\u4E4B\\u4E00 ${T(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): ${T(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 UO(){return{localeError:N5()}}var j5=()=>{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"}};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",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",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=k(r.input),s=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 ${s}`:`\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\\uFF1A\\u9810\\u671F\\u70BA ${o}\\uFF0C\\u4F46\\u6536\\u5230 ${s}`}case"invalid_value":return r.values.length===1?`\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\\uFF1A\\u9810\\u671F\\u70BA ${O(r.values[0])}`:`\\u7121\\u6548\\u7684\\u9078\\u9805\\uFF1A\\u9810\\u671F\\u70BA\\u4EE5\\u4E0B\\u5176\\u4E2D\\u4E4B\\u4E00 ${T(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${T(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 MO(){return{localeError:j5()}}var A5=()=>{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"}};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",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",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=k(r.input),s=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 ${s}`:`\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e: a n\\xED l\\xE1ti fi ${o}, \\xE0m\\u1ECD\\u0300 a r\\xED ${s}`}case"invalid_value":return r.values.length===1?`\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e: a n\\xED l\\xE1ti fi ${O(r.values[0])}`:`\\xC0\\u1E63\\xE0y\\xE0n a\\u1E63\\xEC\\u1E63e: yan \\u1ECD\\u0300kan l\\xE1ra ${T(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: ${T(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 DO(){return{localeError:A5()}}var LO,t1=Symbol("ZodOutput"),n1=Symbol("ZodInput"),Ah=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 Ph(){return new Ah}(LO=globalThis).__zod_globalRegistry??(LO.__zod_globalRegistry=Ph());var vt=globalThis.__zod_globalRegistry;function r1(e,t){return new e({type:"string",...P(t)})}function i1(e,t){return new e({type:"string",coerce:!0,...P(t)})}function Uh(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...P(t)})}function Eu(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...P(t)})}function Mh(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...P(t)})}function Dh(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...P(t)})}function Lh(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...P(t)})}function qh(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...P(t)})}function Ou(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...P(t)})}function Hh(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...P(t)})}function Zh(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...P(t)})}function Vh(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...P(t)})}function Bh(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...P(t)})}function Gh(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...P(t)})}function Jh(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...P(t)})}function Yh(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...P(t)})}function Kh(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...P(t)})}function Fh(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...P(t)})}function o1(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...P(t)})}function Qh(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...P(t)})}function Xh(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...P(t)})}function Wh(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...P(t)})}function eg(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...P(t)})}function tg(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...P(t)})}function ng(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...P(t)})}var a1={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function s1(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...P(t)})}function l1(e,t){return new e({type:"string",format:"date",check:"string_format",...P(t)})}function c1(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...P(t)})}function u1(e,t){return new e({type:"string",format:"duration",check:"string_format",...P(t)})}function d1(e,t){return new e({type:"number",checks:[],...P(t)})}function m1(e,t){return new e({type:"number",coerce:!0,checks:[],...P(t)})}function f1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...P(t)})}function p1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...P(t)})}function h1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...P(t)})}function g1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...P(t)})}function v1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...P(t)})}function y1(e,t){return new e({type:"boolean",...P(t)})}function S1(e,t){return new e({type:"boolean",coerce:!0,...P(t)})}function b1(e,t){return new e({type:"bigint",...P(t)})}function _1(e,t){return new e({type:"bigint",coerce:!0,...P(t)})}function z1(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...P(t)})}function x1(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...P(t)})}function w1(e,t){return new e({type:"symbol",...P(t)})}function T1(e,t){return new e({type:"undefined",...P(t)})}function $1(e,t){return new e({type:"null",...P(t)})}function R1(e){return new e({type:"any"})}function E1(e){return new e({type:"unknown"})}function O1(e,t){return new e({type:"never",...P(t)})}function k1(e,t){return new e({type:"void",...P(t)})}function I1(e,t){return new e({type:"date",...P(t)})}function C1(e,t){return new e({type:"date",coerce:!0,...P(t)})}function N1(e,t){return new e({type:"nan",...P(t)})}function pr(e,t){return new _h({check:"less_than",...P(t),value:e,inclusive:!1})}function pn(e,t){return new _h({check:"less_than",...P(t),value:e,inclusive:!0})}function hr(e,t){return new zh({check:"greater_than",...P(t),value:e,inclusive:!1})}function Pt(e,t){return new zh({check:"greater_than",...P(t),value:e,inclusive:!0})}function rg(e){return hr(0,e)}function ig(e){return pr(0,e)}function og(e){return pn(0,e)}function ag(e){return Pt(0,e)}function Hi(e,t){return new $b({check:"multiple_of",...P(t),value:e})}function Zi(e,t){return new Ob({check:"max_size",...P(t),maximum:e})}function gr(e,t){return new kb({check:"min_size",...P(t),minimum:e})}function Lo(e,t){return new Ib({check:"size_equals",...P(t),size:e})}function qo(e,t){return new Cb({check:"max_length",...P(t),maximum:e})}function Br(e,t){return new Nb({check:"min_length",...P(t),minimum:e})}function Ho(e,t){return new jb({check:"length_equals",...P(t),length:e})}function Es(e,t){return new Ab({check:"string_format",format:"regex",...P(t),pattern:e})}function Os(e){return new Pb({check:"string_format",format:"lowercase",...P(e)})}function ks(e){return new Ub({check:"string_format",format:"uppercase",...P(e)})}function Is(e,t){return new Mb({check:"string_format",format:"includes",...P(t),includes:e})}function Cs(e,t){return new Db({check:"string_format",format:"starts_with",...P(t),prefix:e})}function Ns(e,t){return new Lb({check:"string_format",format:"ends_with",...P(t),suffix:e})}function sg(e,t,n){return new qb({check:"property",property:e,schema:t,...P(n)})}function js(e,t){return new Hb({check:"mime_type",mime:e,...P(t)})}function Gn(e){return new Zb({check:"overwrite",tx:e})}function As(e){return Gn(t=>t.normalize(e))}function Ps(){return Gn(e=>e.trim())}function Us(){return Gn(e=>e.toLowerCase())}function Ms(){return Gn(e=>e.toUpperCase())}function Ds(){return Gn(e=>DS(e))}function j1(e,t,n){return new e({type:"array",element:t,...P(n)})}function U5(e,t,n){return new e({type:"union",options:t,...P(n)})}function M5(e,t,n){return new e({type:"union",options:t,inclusive:!1,...P(n)})}function D5(e,t,n,i){return new e({type:"union",options:n,discriminator:t,...P(i)})}function L5(e,t,n){return new e({type:"intersection",left:t,right:n})}function q5(e,t,n,i){let r=n instanceof X,o=r?i:n,a=r?n:null;return new e({type:"tuple",items:t,rest:a,...P(o)})}function H5(e,t,n,i){return new e({type:"record",keyType:t,valueType:n,...P(i)})}function Z5(e,t,n,i){return new e({type:"map",keyType:t,valueType:n,...P(i)})}function V5(e,t,n){return new e({type:"set",valueType:t,...P(n)})}function B5(e,t,n){let i=Array.isArray(t)?Object.fromEntries(t.map(r=>[r,r])):t;return new e({type:"enum",entries:i,...P(n)})}function G5(e,t,n){return new e({type:"enum",entries:t,...P(n)})}function J5(e,t,n){return new e({type:"literal",values:Array.isArray(t)?t:[t],...P(n)})}function A1(e,t){return new e({type:"file",...P(t)})}function Y5(e,t){return new e({type:"transform",transform:t})}function K5(e,t){return new e({type:"optional",innerType:t})}function F5(e,t){return new e({type:"nullable",innerType:t})}function Q5(e,t,n){return new e({type:"default",innerType:t,get defaultValue(){return typeof n=="function"?n():qS(n)}})}function X5(e,t,n){return new e({type:"nonoptional",innerType:t,...P(n)})}function W5(e,t){return new e({type:"success",innerType:t})}function eU(e,t,n){return new e({type:"catch",innerType:t,catchValue:typeof n=="function"?n:()=>n})}function tU(e,t,n){return new e({type:"pipe",in:t,out:n})}function nU(e,t){return new e({type:"readonly",innerType:t})}function rU(e,t,n){return new e({type:"template_literal",parts:t,...P(n)})}function iU(e,t){return new e({type:"lazy",getter:t})}function oU(e,t){return new e({type:"promise",innerType:t})}function P1(e,t,n){let i=P(n);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:t,...i})}function U1(e,t,n){return new e({type:"custom",check:"custom",fn:t,...P(n)})}function M1(e,t){let n=qO(i=>(i.addIssue=r=>{if(typeof r=="string")i.issues.push(_s(r,i.value,n._zod.def));else{let o=r;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=i.value),o.inst??(o.inst=n),o.continue??(o.continue=!n._zod.def.abort),i.issues.push(_s(o))}},e(i.value,i)),t);return n}function qO(e,t){let n=new Re({check:"custom",...P(t)});return n._zod.check=e,n}function D1(e){let t=new Re({check:"describe"});return t._zod.onattach=[n=>{let i=vt.get(n)??{};vt.add(n,{...i,description:e})}],t._zod.check=()=>{},t}function L1(e){let t=new Re({check:"meta"});return t._zod.onattach=[n=>{let i=vt.get(n)??{};vt.add(n,{...i,...e})}],t._zod.check=()=>{},t}function q1(e,t){let n=P(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(f=>typeof f=="string"?f.toLowerCase():f),r=r.map(f=>typeof f=="string"?f.toLowerCase():f));let o=new Set(i),a=new Set(r),s=e.Codec??Tu,l=e.Boolean??xu,c=e.String??Do,d=new c({type:"string",error:n.error}),p=new l({type:"boolean",error:n.error}),m=new s({type:"pipe",in:d,out:p,transform:((f,_)=>{let $=f;return n.case!=="sensitive"&&($=$.toLowerCase()),o.has($)?!0:a.has($)?!1:(_.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...a],input:_.value,inst:m,continue:!1}),{})}),reverseTransform:((f,_)=>f===!0?i[0]||"true":r[0]||"false"),error:n.error});return m}function Ls(e,t,n,i={}){let r=P(i),o={...P(i),check:"string_format",type:"string",format:t,fn:typeof n=="function"?n:s=>n.test(s),...r};return n instanceof RegExp&&(o.pattern=n),new e(o)}function Vi(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??vt,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function ye(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);let s=e._zod.toJSONSchema?.();if(s)a.schema=s;else{let d={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,d);else{let m=a.schema,f=t.processors[r.type];if(!f)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${r.type}`);f(e,t,m,d)}let p=e._zod.parent;p&&(a.ref||(a.ref=p),ye(p,t,d),t.seen.get(p).isParent=!0)}let l=t.metadataRegistry.get(e);return l&&Object.assign(a.schema,l),t.io==="input"&&Ut(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 Bi(e,t){let n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=new Map;for(let a of e.seen.entries()){let s=e.metadataRegistry.get(a[0])?.id;if(s){let l=i.get(s);if(l&&l!==a[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(s,a[0])}}let r=a=>{let s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let p=e.external.registry.get(a[0])?.id,m=e.external.uri??(_=>_);if(p)return{ref:m(p)};let f=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=f,{defId:f,ref:`${m("__shared")}#/${s}/${f}`}}if(a[1]===n)return{ref:"#"};let c=`#/${s}/`,d=a[1].schema.id??`__schema${e.counter++}`;return{defId:d,ref:c+d}},o=a=>{if(a[1].schema.$ref)return;let s=a[1],{ref:l,defId:c}=r(a);s.def={...s.schema},c&&(s.defId=c);let d=s.schema;for(let p in d)delete d[p];d.$ref=l};if(e.cycles==="throw")for(let a of e.seen.entries()){let s=a[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join("/")}/<root>\n\nSet the \\`cycles\\` parameter to \\`"ref"\\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let s=a[1];if(t===a[0]){o(a);continue}if(e.external){let c=e.external.registry.get(a[0])?.id;if(t!==a[0]&&c){o(a);continue}}if(e.metadataRegistry.get(a[0])?.id){o(a);continue}if(s.cycle){o(a);continue}if(s.count>1&&e.reused==="ref"){o(a);continue}}}function Gi(e,t){let n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=s=>{let l=e.seen.get(s);if(l.ref===null)return;let c=l.def??l.schema,d={...c},p=l.ref;if(l.ref=null,p){i(p);let f=e.seen.get(p),_=f.schema;if(_.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(c.allOf=c.allOf??[],c.allOf.push(_)):Object.assign(c,_),Object.assign(c,d),s._zod.parent===p)for(let j in c)j==="$ref"||j==="allOf"||j in d||delete c[j];if(_.$ref&&f.def)for(let j in c)j==="$ref"||j==="allOf"||j in f.def&&JSON.stringify(c[j])===JSON.stringify(f.def[j])&&delete c[j]}let m=s._zod.parent;if(m&&m!==p){i(m);let f=e.seen.get(m);if(f?.schema.$ref&&(c.$ref=f.schema.$ref,f.def))for(let _ in c)_==="$ref"||_==="allOf"||_ in f.def&&JSON.stringify(c[_])===JSON.stringify(f.def[_])&&delete c[_]}e.override({zodSchema:s,jsonSchema:c,path:l.path??[]})};for(let s of[...e.seen.entries()].reverse())i(s[0]);let r={};if(e.target==="draft-2020-12"?r.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?r.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?r.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let s=e.external.registry.get(t)?.id;if(!s)throw new Error("Schema is missing an `id` property");r.$id=e.external.uri(s)}Object.assign(r,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??{};for(let s of e.seen.entries()){let l=s[1];l.def&&l.defId&&(l.def.id===l.defId&&delete l.def.id,a[l.defId]=l.def)}e.external||Object.keys(a).length>0&&(e.target==="draft-2020-12"?r.$defs=a:r.definitions=a);try{let s=JSON.parse(JSON.stringify(r));return Object.defineProperty(s,"~standard",{value:{...t["~standard"],jsonSchema:{input:qs(t,"input",e.processors),output:qs(t,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}function Ut(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 Ut(i.element,n);if(i.type==="set")return Ut(i.valueType,n);if(i.type==="lazy")return Ut(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")return Ut(i.innerType,n);if(i.type==="intersection")return Ut(i.left,n)||Ut(i.right,n);if(i.type==="record"||i.type==="map")return Ut(i.keyType,n)||Ut(i.valueType,n);if(i.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Ut(i.in,n)||Ut(i.out,n);if(i.type==="object"){for(let r in i.shape)if(Ut(i.shape[r],n))return!0;return!1}if(i.type==="union"){for(let r of i.options)if(Ut(r,n))return!0;return!1}if(i.type==="tuple"){for(let r of i.items)if(Ut(r,n))return!0;return!!(i.rest&&Ut(i.rest,n))}return!1}var H1=(e,t={})=>n=>{let i=Vi({...n,processors:t});return ye(e,i),Bi(i,e),Gi(i,e)},qs=(e,t,n={})=>i=>{let{libraryOptions:r,target:o}=i??{},a=Vi({...r??{},target:o,io:t,processors:n});return ye(e,a),Bi(a,e),Gi(a,e)};var aU={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Z1=(e,t,n,i)=>{let r=n;r.type="string";let{minimum:o,maximum:a,format:s,patterns:l,contentEncoding:c}=e._zod.bag;if(typeof o=="number"&&(r.minLength=o),typeof a=="number"&&(r.maxLength=a),s&&(r.format=aU[s]??s,r.format===""&&delete r.format,s==="time"&&delete r.format),c&&(r.contentEncoding=c),l&&l.size>0){let d=[...l];d.length===1?r.pattern=d[0].source:d.length>1&&(r.allOf=[...d.map(p=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:p.source}))])}},V1=(e,t,n,i)=>{let r=n,{minimum:o,maximum:a,format:s,multipleOf:l,exclusiveMaximum:c,exclusiveMinimum:d}=e._zod.bag;typeof s=="string"&&s.includes("int")?r.type="integer":r.type="number";let p=typeof d=="number"&&d>=(o??Number.NEGATIVE_INFINITY),m=typeof c=="number"&&c<=(a??Number.POSITIVE_INFINITY),f=t.target==="draft-04"||t.target==="openapi-3.0";p?f?(r.minimum=d,r.exclusiveMinimum=!0):r.exclusiveMinimum=d:typeof o=="number"&&(r.minimum=o),m?f?(r.maximum=c,r.exclusiveMaximum=!0):r.exclusiveMaximum=c:typeof a=="number"&&(r.maximum=a),typeof l=="number"&&(r.multipleOf=l)},B1=(e,t,n,i)=>{n.type="boolean"},G1=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},J1=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},Y1=(e,t,n,i)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},K1=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},F1=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},Q1=(e,t,n,i)=>{n.not={}},X1=(e,t,n,i)=>{},W1=(e,t,n,i)=>{},ez=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},tz=(e,t,n,i)=>{let r=e._zod.def,o=mu(r.entries);o.every(a=>typeof a=="number")&&(n.type="number"),o.every(a=>typeof a=="string")&&(n.type="string"),n.enum=o},nz=(e,t,n,i)=>{let r=e._zod.def,o=[];for(let a of r.values)if(a===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof a=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");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},rz=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},iz=(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},oz=(e,t,n,i)=>{let r=n,o={type:"string",format:"binary",contentEncoding:"binary"},{minimum:a,maximum:s,mime:l}=e._zod.bag;a!==void 0&&(o.minLength=a),s!==void 0&&(o.maxLength=s),l?l.length===1?(o.contentMediaType=l[0],Object.assign(r,o)):(Object.assign(r,o),r.anyOf=l.map(c=>({contentMediaType:c}))):Object.assign(r,o)},az=(e,t,n,i)=>{n.type="boolean"},sz=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},lz=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},cz=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},uz=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},dz=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},mz=(e,t,n,i)=>{let r=n,o=e._zod.def,{minimum:a,maximum:s}=e._zod.bag;typeof a=="number"&&(r.minItems=a),typeof s=="number"&&(r.maxItems=s),r.type="array",r.items=ye(o.element,t,{...i,path:[...i.path,"items"]})},fz=(e,t,n,i)=>{let r=n,o=e._zod.def;r.type="object",r.properties={};let a=o.shape;for(let c in a)r.properties[c]=ye(a[c],t,{...i,path:[...i.path,"properties",c]});let s=new Set(Object.keys(a)),l=new Set([...s].filter(c=>{let d=o.shape[c]._zod;return t.io==="input"?d.optin===void 0:d.optout===void 0}));l.size>0&&(r.required=Array.from(l)),o.catchall?._zod.def.type==="never"?r.additionalProperties=!1:o.catchall?o.catchall&&(r.additionalProperties=ye(o.catchall,t,{...i,path:[...i.path,"additionalProperties"]})):t.io==="output"&&(r.additionalProperties=!1)},cg=(e,t,n,i)=>{let r=e._zod.def,o=r.inclusive===!1,a=r.options.map((s,l)=>ye(s,t,{...i,path:[...i.path,o?"oneOf":"anyOf",l]}));o?n.oneOf=a:n.anyOf=a},pz=(e,t,n,i)=>{let r=e._zod.def,o=ye(r.left,t,{...i,path:[...i.path,"allOf",0]}),a=ye(r.right,t,{...i,path:[...i.path,"allOf",1]}),s=c=>"allOf"in c&&Object.keys(c).length===1,l=[...s(o)?o.allOf:[o],...s(a)?a.allOf:[a]];n.allOf=l},hz=(e,t,n,i)=>{let r=n,o=e._zod.def;r.type="array";let a=t.target==="draft-2020-12"?"prefixItems":"items",s=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",l=o.items.map((m,f)=>ye(m,t,{...i,path:[...i.path,a,f]})),c=o.rest?ye(o.rest,t,{...i,path:[...i.path,s,...t.target==="openapi-3.0"?[o.items.length]:[]]}):null;t.target==="draft-2020-12"?(r.prefixItems=l,c&&(r.items=c)):t.target==="openapi-3.0"?(r.items={anyOf:l},c&&r.items.anyOf.push(c),r.minItems=l.length,c||(r.maxItems=l.length)):(r.items=l,c&&(r.additionalItems=c));let{minimum:d,maximum:p}=e._zod.bag;typeof d=="number"&&(r.minItems=d),typeof p=="number"&&(r.maxItems=p)},gz=(e,t,n,i)=>{let r=n,o=e._zod.def;r.type="object";let a=o.keyType,l=a._zod.bag?.patterns;if(o.mode==="loose"&&l&&l.size>0){let d=ye(o.valueType,t,{...i,path:[...i.path,"patternProperties","*"]});r.patternProperties={};for(let p of l)r.patternProperties[p.source]=d}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(r.propertyNames=ye(o.keyType,t,{...i,path:[...i.path,"propertyNames"]})),r.additionalProperties=ye(o.valueType,t,{...i,path:[...i.path,"additionalProperties"]});let c=a._zod.values;if(c){let d=[...c].filter(p=>typeof p=="string"||typeof p=="number");d.length>0&&(r.required=d)}},vz=(e,t,n,i)=>{let r=e._zod.def,o=ye(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"}]},yz=(e,t,n,i)=>{let r=e._zod.def;ye(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},Sz=(e,t,n,i)=>{let r=e._zod.def;ye(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,n.default=JSON.parse(JSON.stringify(r.defaultValue))},bz=(e,t,n,i)=>{let r=e._zod.def;ye(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,t.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(r.defaultValue)))},_z=(e,t,n,i)=>{let r=e._zod.def;ye(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType;let a;try{a=r.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=a},zz=(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;ye(a,t,i);let s=t.seen.get(e);s.ref=a},xz=(e,t,n,i)=>{let r=e._zod.def;ye(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,n.readOnly=!0},wz=(e,t,n,i)=>{let r=e._zod.def;ye(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},ug=(e,t,n,i)=>{let r=e._zod.def;ye(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},Tz=(e,t,n,i)=>{let r=e._zod.innerType;ye(r,t,i);let o=t.seen.get(e);o.ref=r},lg={string:Z1,number:V1,boolean:B1,bigint:G1,symbol:J1,null:Y1,undefined:K1,void:F1,never:Q1,any:X1,unknown:W1,date:ez,enum:tz,literal:nz,nan:rz,template_literal:iz,file:oz,success:az,custom:sz,function:lz,transform:cz,map:uz,set:dz,array:mz,object:fz,union:cg,intersection:pz,tuple:hz,record:gz,nullable:vz,nonoptional:yz,default:Sz,prefault:bz,catch:_z,pipe:zz,readonly:xz,promise:wz,optional:ug,lazy:Tz};function Zo(e,t){if("_idmap"in e){let i=e,r=Vi({...t,processors:lg}),o={};for(let l of i._idmap.entries()){let[c,d]=l;ye(d,r)}let a={},s={registry:i,uri:t?.uri,defs:o};r.external=s;for(let l of i._idmap.entries()){let[c,d]=l;Bi(r,d),a[c]=Gi(r,d)}if(Object.keys(o).length>0){let l=r.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[l]:o}}return{schemas:a}}let n=Vi({...t,processors:lg});return ye(e,n),Bi(n,e),Gi(n,e)}var dg=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=Vi({processors:lg,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 ye(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)),Bi(this.ctx,t);let i=Gi(this.ctx,t),{"~standard":r,...o}=i;return o}};var HO={};var ku={};Rr(ku,{ZodAny:()=>Bz,ZodArray:()=>Kz,ZodBase64:()=>Ng,ZodBase64URL:()=>jg,ZodBigInt:()=>Ks,ZodBigIntFormat:()=>Ug,ZodBoolean:()=>Ys,ZodCIDRv4:()=>Ig,ZodCIDRv6:()=>Cg,ZodCUID:()=>wg,ZodCUID2:()=>Tg,ZodCatch:()=>hx,ZodCodec:()=>Lu,ZodCustom:()=>qu,ZodCustomStringFormat:()=>Gs,ZodDate:()=>Pu,ZodDefault:()=>cx,ZodDiscriminatedUnion:()=>Qz,ZodE164:()=>Ag,ZodEmail:()=>bg,ZodEmoji:()=>zg,ZodEnum:()=>Zs,ZodExactOptional:()=>ax,ZodFile:()=>ix,ZodFunction:()=>wx,ZodGUID:()=>Cu,ZodIPv4:()=>Og,ZodIPv6:()=>kg,ZodIntersection:()=>Xz,ZodJWT:()=>Pg,ZodKSUID:()=>Eg,ZodLazy:()=>zx,ZodLiteral:()=>rx,ZodMAC:()=>qz,ZodMap:()=>tx,ZodNaN:()=>vx,ZodNanoID:()=>xg,ZodNever:()=>Jz,ZodNonOptional:()=>Hg,ZodNull:()=>Vz,ZodNullable:()=>lx,ZodNumber:()=>Js,ZodNumberFormat:()=>Vo,ZodObject:()=>Uu,ZodOptional:()=>qg,ZodPipe:()=>Du,ZodPrefault:()=>dx,ZodPreprocess:()=>yx,ZodPromise:()=>xx,ZodReadonly:()=>Sx,ZodRecord:()=>Hs,ZodSet:()=>nx,ZodString:()=>Vs,ZodStringFormat:()=>we,ZodSuccess:()=>px,ZodSymbol:()=>Hz,ZodTemplateLiteral:()=>_x,ZodTransform:()=>ox,ZodTuple:()=>Wz,ZodType:()=>ne,ZodULID:()=>$g,ZodURL:()=>Au,ZodUUID:()=>vr,ZodUndefined:()=>Zz,ZodUnion:()=>Mu,ZodUnknown:()=>Gz,ZodVoid:()=>Yz,ZodXID:()=>Rg,ZodXor:()=>Fz,_ZodString:()=>Sg,_default:()=>ux,_function:()=>V6,any:()=>Mg,array:()=>z,base64:()=>c6,base64url:()=>u6,bigint:()=>_6,boolean:()=>D,catch:()=>gx,check:()=>B6,cidrv4:()=>s6,cidrv6:()=>l6,codec:()=>L6,cuid:()=>WO,cuid2:()=>e6,custom:()=>G6,date:()=>R6,describe:()=>J6,discriminatedUnion:()=>Ji,e164:()=>d6,email:()=>_g,emoji:()=>QO,enum:()=>Y,exactOptional:()=>sx,file:()=>P6,float32:()=>v6,float64:()=>y6,function:()=>V6,guid:()=>BO,hash:()=>g6,hex:()=>h6,hostname:()=>p6,httpUrl:()=>FO,instanceof:()=>K6,int:()=>vg,int32:()=>S6,int64:()=>z6,intersection:()=>Jn,invertCodec:()=>q6,ipv4:()=>i6,ipv6:()=>a6,json:()=>Q6,jwt:()=>m6,keyof:()=>E6,ksuid:()=>r6,lazy:()=>Yi,literal:()=>w,looseObject:()=>J,looseRecord:()=>C6,mac:()=>o6,map:()=>N6,meta:()=>Y6,nan:()=>D6,nanoid:()=>XO,nativeEnum:()=>A6,never:()=>Dg,nonoptional:()=>fx,null:()=>yr,nullable:()=>Nu,nullish:()=>U6,number:()=>E,object:()=>v,optional:()=>V,partialRecord:()=>I6,pipe:()=>yg,prefault:()=>mx,preprocess:()=>Jr,promise:()=>Z6,readonly:()=>bx,record:()=>U,refine:()=>Tx,set:()=>j6,strictObject:()=>O6,string:()=>u,stringFormat:()=>f6,stringbool:()=>F6,success:()=>M6,superRefine:()=>$x,symbol:()=>w6,templateLiteral:()=>H6,transform:()=>Lg,tuple:()=>ex,uint32:()=>b6,uint64:()=>x6,ulid:()=>t6,undefined:()=>T6,union:()=>q,unknown:()=>Z,url:()=>Bs,uuid:()=>GO,uuidv4:()=>JO,uuidv6:()=>YO,uuidv7:()=>KO,void:()=>$6,xid:()=>n6,xor:()=>k6});var mg={};Rr(mg,{endsWith:()=>Ns,gt:()=>hr,gte:()=>Pt,includes:()=>Is,length:()=>Ho,lowercase:()=>Os,lt:()=>pr,lte:()=>pn,maxLength:()=>qo,maxSize:()=>Zi,mime:()=>js,minLength:()=>Br,minSize:()=>gr,multipleOf:()=>Hi,negative:()=>ig,nonnegative:()=>ag,nonpositive:()=>og,normalize:()=>As,overwrite:()=>Gn,positive:()=>rg,property:()=>sg,regex:()=>Es,size:()=>Lo,slugify:()=>Ds,startsWith:()=>Cs,toLowerCase:()=>Us,toUpperCase:()=>Ms,trim:()=>Ps,uppercase:()=>ks});var hn={};Rr(hn,{ZodISODate:()=>pg,ZodISODateTime:()=>fg,ZodISODuration:()=>gg,ZodISOTime:()=>hg,date:()=>Rz,datetime:()=>$z,duration:()=>Oz,time:()=>Ez});var fg=b("ZodISODateTime",(e,t)=>{r_.init(e,t),we.init(e,t)});function $z(e){return s1(fg,e)}var pg=b("ZodISODate",(e,t)=>{i_.init(e,t),we.init(e,t)});function Rz(e){return l1(pg,e)}var hg=b("ZodISOTime",(e,t)=>{o_.init(e,t),we.init(e,t)});function Ez(e){return c1(hg,e)}var gg=b("ZodISODuration",(e,t)=>{a_.init(e,t),we.init(e,t)});function Oz(e){return u1(gg,e)}var ZO=(e,t)=>{vu.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:n=>Su(e,n)},flatten:{value:n=>yu(e,n)},addIssue:{value:n=>{e.issues.push(n),e.message=JSON.stringify(e.issues,Ss,2)}},addIssues:{value:n=>{e.issues.push(...n),e.message=JSON.stringify(e.issues,Ss,2)}},isEmpty:{get(){return e.issues.length===0}}})},lU=b("ZodError",ZO),Qt=b("ZodError",ZO,{Parent:Error});var kz=zs(Qt),Iz=xs(Qt),Iu=ws(Qt),Cz=Ts(Qt),Nz=dh(Qt),jz=mh(Qt),Az=fh(Qt),Pz=ph(Qt),Uz=hh(Qt),Mz=gh(Qt),Dz=vh(Qt),Lz=yh(Qt);var VO=new WeakMap;function ju(e,t,n){let i=Object.getPrototypeOf(e),r=VO.get(i);if(r||(r=new Set,VO.set(i,r)),!r.has(t)){r.add(t);for(let o in n){let a=n[o];Object.defineProperty(i,o,{configurable:!0,enumerable:!1,get(){let s=a.bind(this);return Object.defineProperty(this,o,{configurable:!0,writable:!0,enumerable:!0,value:s}),s},set(s){Object.defineProperty(this,o,{configurable:!0,writable:!0,enumerable:!0,value:s})}})}}}var ne=b("ZodType",(e,t)=>(X.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:qs(e,"input"),output:qs(e,"output")}}),e.toJSONSchema=H1(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(n,i)=>kz(e,n,i,{callee:e.parse}),e.safeParse=(n,i)=>Iu(e,n,i),e.parseAsync=async(n,i)=>Iz(e,n,i,{callee:e.parseAsync}),e.safeParseAsync=async(n,i)=>Cz(e,n,i),e.spa=e.safeParseAsync,e.encode=(n,i)=>Nz(e,n,i),e.decode=(n,i)=>jz(e,n,i),e.encodeAsync=async(n,i)=>Az(e,n,i),e.decodeAsync=async(n,i)=>Pz(e,n,i),e.safeEncode=(n,i)=>Uz(e,n,i),e.safeDecode=(n,i)=>Mz(e,n,i),e.safeEncodeAsync=async(n,i)=>Dz(e,n,i),e.safeDecodeAsync=async(n,i)=>Lz(e,n,i),ju(e,"ZodType",{check(...n){let i=this.def;return this.clone(N.mergeDefs(i,{checks:[...i.checks??[],...n.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]}),{parent:!0})},with(...n){return this.check(...n)},clone(n,i){return jt(this,n,i)},brand(){return this},register(n,i){return n.add(this,i),this},refine(n,i){return this.check(Tx(n,i))},superRefine(n,i){return this.check($x(n,i))},overwrite(n){return this.check(Gn(n))},optional(){return V(this)},exactOptional(){return sx(this)},nullable(){return Nu(this)},nullish(){return V(Nu(this))},nonoptional(n){return fx(this,n)},array(){return z(this)},or(n){return q([this,n])},and(n){return Jn(this,n)},transform(n){return yg(this,Lg(n))},default(n){return ux(this,n)},prefault(n){return mx(this,n)},catch(n){return gx(this,n)},pipe(n){return yg(this,n)},readonly(){return bx(this)},describe(n){let i=this.clone();return vt.add(i,{description:n}),i},meta(...n){if(n.length===0)return vt.get(this);let i=this.clone();return vt.add(i,n[0]),i},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(n){return n(this)}}),Object.defineProperty(e,"description",{get(){return vt.get(e)?.description},configurable:!0}),e)),Sg=b("_ZodString",(e,t)=>{Do.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(i,r,o)=>Z1(e,i,r,o);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,ju(e,"_ZodString",{regex(...i){return this.check(Es(...i))},includes(...i){return this.check(Is(...i))},startsWith(...i){return this.check(Cs(...i))},endsWith(...i){return this.check(Ns(...i))},min(...i){return this.check(Br(...i))},max(...i){return this.check(qo(...i))},length(...i){return this.check(Ho(...i))},nonempty(...i){return this.check(Br(1,...i))},lowercase(i){return this.check(Os(i))},uppercase(i){return this.check(ks(i))},trim(){return this.check(Ps())},normalize(...i){return this.check(As(...i))},toLowerCase(){return this.check(Us())},toUpperCase(){return this.check(Ms())},slugify(){return this.check(Ds())}})}),Vs=b("ZodString",(e,t)=>{Do.init(e,t),Sg.init(e,t),e.email=n=>e.check(Uh(bg,n)),e.url=n=>e.check(Ou(Au,n)),e.jwt=n=>e.check(ng(Pg,n)),e.emoji=n=>e.check(Hh(zg,n)),e.guid=n=>e.check(Eu(Cu,n)),e.uuid=n=>e.check(Mh(vr,n)),e.uuidv4=n=>e.check(Dh(vr,n)),e.uuidv6=n=>e.check(Lh(vr,n)),e.uuidv7=n=>e.check(qh(vr,n)),e.nanoid=n=>e.check(Zh(xg,n)),e.guid=n=>e.check(Eu(Cu,n)),e.cuid=n=>e.check(Vh(wg,n)),e.cuid2=n=>e.check(Bh(Tg,n)),e.ulid=n=>e.check(Gh($g,n)),e.base64=n=>e.check(Wh(Ng,n)),e.base64url=n=>e.check(eg(jg,n)),e.xid=n=>e.check(Jh(Rg,n)),e.ksuid=n=>e.check(Yh(Eg,n)),e.ipv4=n=>e.check(Kh(Og,n)),e.ipv6=n=>e.check(Fh(kg,n)),e.cidrv4=n=>e.check(Qh(Ig,n)),e.cidrv6=n=>e.check(Xh(Cg,n)),e.e164=n=>e.check(tg(Ag,n)),e.datetime=n=>e.check($z(n)),e.date=n=>e.check(Rz(n)),e.time=n=>e.check(Ez(n)),e.duration=n=>e.check(Oz(n))});function u(e){return r1(Vs,e)}var we=b("ZodStringFormat",(e,t)=>{xe.init(e,t),Sg.init(e,t)}),bg=b("ZodEmail",(e,t)=>{Yb.init(e,t),we.init(e,t)});function _g(e){return Uh(bg,e)}var Cu=b("ZodGUID",(e,t)=>{Gb.init(e,t),we.init(e,t)});function BO(e){return Eu(Cu,e)}var vr=b("ZodUUID",(e,t)=>{Jb.init(e,t),we.init(e,t)});function GO(e){return Mh(vr,e)}function JO(e){return Dh(vr,e)}function YO(e){return Lh(vr,e)}function KO(e){return qh(vr,e)}var Au=b("ZodURL",(e,t)=>{Kb.init(e,t),we.init(e,t)});function Bs(e){return Ou(Au,e)}function FO(e){return Ou(Au,{protocol:fn.httpProtocol,hostname:fn.domain,...N.normalizeParams(e)})}var zg=b("ZodEmoji",(e,t)=>{Fb.init(e,t),we.init(e,t)});function QO(e){return Hh(zg,e)}var xg=b("ZodNanoID",(e,t)=>{Qb.init(e,t),we.init(e,t)});function XO(e){return Zh(xg,e)}var wg=b("ZodCUID",(e,t)=>{Xb.init(e,t),we.init(e,t)});function WO(e){return Vh(wg,e)}var Tg=b("ZodCUID2",(e,t)=>{Wb.init(e,t),we.init(e,t)});function e6(e){return Bh(Tg,e)}var $g=b("ZodULID",(e,t)=>{e_.init(e,t),we.init(e,t)});function t6(e){return Gh($g,e)}var Rg=b("ZodXID",(e,t)=>{t_.init(e,t),we.init(e,t)});function n6(e){return Jh(Rg,e)}var Eg=b("ZodKSUID",(e,t)=>{n_.init(e,t),we.init(e,t)});function r6(e){return Yh(Eg,e)}var Og=b("ZodIPv4",(e,t)=>{s_.init(e,t),we.init(e,t)});function i6(e){return Kh(Og,e)}var qz=b("ZodMAC",(e,t)=>{c_.init(e,t),we.init(e,t)});function o6(e){return o1(qz,e)}var kg=b("ZodIPv6",(e,t)=>{l_.init(e,t),we.init(e,t)});function a6(e){return Fh(kg,e)}var Ig=b("ZodCIDRv4",(e,t)=>{u_.init(e,t),we.init(e,t)});function s6(e){return Qh(Ig,e)}var Cg=b("ZodCIDRv6",(e,t)=>{d_.init(e,t),we.init(e,t)});function l6(e){return Xh(Cg,e)}var Ng=b("ZodBase64",(e,t)=>{f_.init(e,t),we.init(e,t)});function c6(e){return Wh(Ng,e)}var jg=b("ZodBase64URL",(e,t)=>{p_.init(e,t),we.init(e,t)});function u6(e){return eg(jg,e)}var Ag=b("ZodE164",(e,t)=>{h_.init(e,t),we.init(e,t)});function d6(e){return tg(Ag,e)}var Pg=b("ZodJWT",(e,t)=>{g_.init(e,t),we.init(e,t)});function m6(e){return ng(Pg,e)}var Gs=b("ZodCustomStringFormat",(e,t)=>{v_.init(e,t),we.init(e,t)});function f6(e,t,n={}){return Ls(Gs,e,t,n)}function p6(e){return Ls(Gs,"hostname",fn.hostname,e)}function h6(e){return Ls(Gs,"hex",fn.hex,e)}function g6(e,t){let n=t?.enc??"hex",i=`${e}_${n}`,r=fn[i];if(!r)throw new Error(`Unrecognized hash format: ${i}`);return Ls(Gs,i,r,t)}var Js=b("ZodNumber",(e,t)=>{Rh.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(i,r,o)=>V1(e,i,r,o),ju(e,"ZodNumber",{gt(i,r){return this.check(hr(i,r))},gte(i,r){return this.check(Pt(i,r))},min(i,r){return this.check(Pt(i,r))},lt(i,r){return this.check(pr(i,r))},lte(i,r){return this.check(pn(i,r))},max(i,r){return this.check(pn(i,r))},int(i){return this.check(vg(i))},safe(i){return this.check(vg(i))},positive(i){return this.check(hr(0,i))},nonnegative(i){return this.check(Pt(0,i))},negative(i){return this.check(pr(0,i))},nonpositive(i){return this.check(pn(0,i))},multipleOf(i,r){return this.check(Hi(i,r))},step(i,r){return this.check(Hi(i,r))},finite(){return this}});let n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function E(e){return d1(Js,e)}var Vo=b("ZodNumberFormat",(e,t)=>{y_.init(e,t),Js.init(e,t)});function vg(e){return f1(Vo,e)}function v6(e){return p1(Vo,e)}function y6(e){return h1(Vo,e)}function S6(e){return g1(Vo,e)}function b6(e){return v1(Vo,e)}var Ys=b("ZodBoolean",(e,t)=>{xu.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>B1(e,n,i,r)});function D(e){return y1(Ys,e)}var Ks=b("ZodBigInt",(e,t)=>{Eh.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(i,r,o)=>G1(e,i,r,o),e.gte=(i,r)=>e.check(Pt(i,r)),e.min=(i,r)=>e.check(Pt(i,r)),e.gt=(i,r)=>e.check(hr(i,r)),e.gte=(i,r)=>e.check(Pt(i,r)),e.min=(i,r)=>e.check(Pt(i,r)),e.lt=(i,r)=>e.check(pr(i,r)),e.lte=(i,r)=>e.check(pn(i,r)),e.max=(i,r)=>e.check(pn(i,r)),e.positive=i=>e.check(hr(BigInt(0),i)),e.negative=i=>e.check(pr(BigInt(0),i)),e.nonpositive=i=>e.check(pn(BigInt(0),i)),e.nonnegative=i=>e.check(Pt(BigInt(0),i)),e.multipleOf=(i,r)=>e.check(Hi(i,r));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});function _6(e){return b1(Ks,e)}var Ug=b("ZodBigIntFormat",(e,t)=>{S_.init(e,t),Ks.init(e,t)});function z6(e){return z1(Ug,e)}function x6(e){return x1(Ug,e)}var Hz=b("ZodSymbol",(e,t)=>{b_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>J1(e,n,i,r)});function w6(e){return w1(Hz,e)}var Zz=b("ZodUndefined",(e,t)=>{__.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>K1(e,n,i,r)});function T6(e){return T1(Zz,e)}var Vz=b("ZodNull",(e,t)=>{z_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Y1(e,n,i,r)});function yr(e){return $1(Vz,e)}var Bz=b("ZodAny",(e,t)=>{x_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>X1(e,n,i,r)});function Mg(){return R1(Bz)}var Gz=b("ZodUnknown",(e,t)=>{w_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>W1(e,n,i,r)});function Z(){return E1(Gz)}var Jz=b("ZodNever",(e,t)=>{T_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Q1(e,n,i,r)});function Dg(e){return O1(Jz,e)}var Yz=b("ZodVoid",(e,t)=>{$_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>F1(e,n,i,r)});function $6(e){return k1(Yz,e)}var Pu=b("ZodDate",(e,t)=>{R_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(i,r,o)=>ez(e,i,r,o),e.min=(i,r)=>e.check(Pt(i,r)),e.max=(i,r)=>e.check(pn(i,r));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function R6(e){return I1(Pu,e)}var Kz=b("ZodArray",(e,t)=>{E_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>mz(e,n,i,r),e.element=t.element,ju(e,"ZodArray",{min(n,i){return this.check(Br(n,i))},nonempty(n){return this.check(Br(1,n))},max(n,i){return this.check(qo(n,i))},length(n,i){return this.check(Ho(n,i))},unwrap(){return this.element}})});function z(e,t){return j1(Kz,e,t)}function E6(e){let t=e._zod.def.shape;return Y(Object.keys(t))}var Uu=b("ZodObject",(e,t)=>{O_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>fz(e,n,i,r),N.defineLazy(e,"shape",()=>t.shape),ju(e,"ZodObject",{keyof(){return Y(Object.keys(this._zod.def.shape))},catchall(n){return this.clone({...this._zod.def,catchall:n})},passthrough(){return this.clone({...this._zod.def,catchall:Z()})},loose(){return this.clone({...this._zod.def,catchall:Z()})},strict(){return this.clone({...this._zod.def,catchall:Dg()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(n){return N.extend(this,n)},safeExtend(n){return N.safeExtend(this,n)},merge(n){return N.merge(this,n)},pick(n){return N.pick(this,n)},omit(n){return N.omit(this,n)},partial(...n){return N.partial(qg,this,n[0])},required(...n){return N.required(Hg,this,n[0])}})});function v(e,t){let n={type:"object",shape:e??{},...N.normalizeParams(t)};return new Uu(n)}function O6(e,t){return new Uu({type:"object",shape:e,catchall:Dg(),...N.normalizeParams(t)})}function J(e,t){return new Uu({type:"object",shape:e,catchall:Z(),...N.normalizeParams(t)})}var Mu=b("ZodUnion",(e,t)=>{wu.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>cg(e,n,i,r),e.options=t.options});function q(e,t){return new Mu({type:"union",options:e,...N.normalizeParams(t)})}var Fz=b("ZodXor",(e,t)=>{Mu.init(e,t),k_.init(e,t),e._zod.processJSONSchema=(n,i,r)=>cg(e,n,i,r),e.options=t.options});function k6(e,t){return new Fz({type:"union",options:e,inclusive:!1,...N.normalizeParams(t)})}var Qz=b("ZodDiscriminatedUnion",(e,t)=>{Mu.init(e,t),I_.init(e,t)});function Ji(e,t,n){return new Qz({type:"union",options:t,discriminator:e,...N.normalizeParams(n)})}var Xz=b("ZodIntersection",(e,t)=>{C_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>pz(e,n,i,r)});function Jn(e,t){return new Xz({type:"intersection",left:e,right:t})}var Wz=b("ZodTuple",(e,t)=>{Oh.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>hz(e,n,i,r),e.rest=n=>e.clone({...e._zod.def,rest:n})});function ex(e,t,n){let i=t instanceof X,r=i?n:t,o=i?t:null;return new Wz({type:"tuple",items:e,rest:o,...N.normalizeParams(r)})}var Hs=b("ZodRecord",(e,t)=>{N_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>gz(e,n,i,r),e.keyType=t.keyType,e.valueType=t.valueType});function U(e,t,n){return!t||!t._zod?new Hs({type:"record",keyType:u(),valueType:e,...N.normalizeParams(t)}):new Hs({type:"record",keyType:e,valueType:t,...N.normalizeParams(n)})}function I6(e,t,n){let i=jt(e);return i._zod.values=void 0,new Hs({type:"record",keyType:i,valueType:t,...N.normalizeParams(n)})}function C6(e,t,n){return new Hs({type:"record",keyType:e,valueType:t,mode:"loose",...N.normalizeParams(n)})}var tx=b("ZodMap",(e,t)=>{j_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>uz(e,n,i,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...n)=>e.check(gr(...n)),e.nonempty=n=>e.check(gr(1,n)),e.max=(...n)=>e.check(Zi(...n)),e.size=(...n)=>e.check(Lo(...n))});function N6(e,t,n){return new tx({type:"map",keyType:e,valueType:t,...N.normalizeParams(n)})}var nx=b("ZodSet",(e,t)=>{A_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>dz(e,n,i,r),e.min=(...n)=>e.check(gr(...n)),e.nonempty=n=>e.check(gr(1,n)),e.max=(...n)=>e.check(Zi(...n)),e.size=(...n)=>e.check(Lo(...n))});function j6(e,t){return new nx({type:"set",valueType:e,...N.normalizeParams(t)})}var Zs=b("ZodEnum",(e,t)=>{P_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(i,r,o)=>tz(e,i,r,o),e.enum=t.entries,e.options=Object.values(t.entries);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 Zs({...t,checks:[],...N.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 Zs({...t,checks:[],...N.normalizeParams(r),entries:o})}});function Y(e,t){let n=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new Zs({type:"enum",entries:n,...N.normalizeParams(t)})}function A6(e,t){return new Zs({type:"enum",entries:e,...N.normalizeParams(t)})}var rx=b("ZodLiteral",(e,t)=>{U_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>nz(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 w(e,t){return new rx({type:"literal",values:Array.isArray(e)?e:[e],...N.normalizeParams(t)})}var ix=b("ZodFile",(e,t)=>{M_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>oz(e,n,i,r),e.min=(n,i)=>e.check(gr(n,i)),e.max=(n,i)=>e.check(Zi(n,i)),e.mime=(n,i)=>e.check(js(Array.isArray(n)?n:[n],i))});function P6(e){return A1(ix,e)}var ox=b("ZodTransform",(e,t)=>{D_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>cz(e,n,i,r),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Ui(e.constructor.name);n.addIssue=o=>{if(typeof o=="string")n.issues.push(N.issue(o,n.value,t));else{let a=o;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=n.value),a.inst??(a.inst=e),n.issues.push(N.issue(a))}};let r=t.transform(n.value,n);return r instanceof Promise?r.then(o=>(n.value=o,n.fallback=!0,n)):(n.value=r,n.fallback=!0,n)}});function Lg(e){return new ox({type:"transform",transform:e})}var qg=b("ZodOptional",(e,t)=>{kh.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>ug(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function V(e){return new qg({type:"optional",innerType:e})}var ax=b("ZodExactOptional",(e,t)=>{L_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>ug(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function sx(e){return new ax({type:"optional",innerType:e})}var lx=b("ZodNullable",(e,t)=>{q_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>vz(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Nu(e){return new lx({type:"nullable",innerType:e})}function U6(e){return V(Nu(e))}var cx=b("ZodDefault",(e,t)=>{H_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Sz(e,n,i,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function ux(e,t){return new cx({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():N.shallowClone(t)}})}var dx=b("ZodPrefault",(e,t)=>{Z_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>bz(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function mx(e,t){return new dx({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():N.shallowClone(t)}})}var Hg=b("ZodNonOptional",(e,t)=>{V_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>yz(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function fx(e,t){return new Hg({type:"nonoptional",innerType:e,...N.normalizeParams(t)})}var px=b("ZodSuccess",(e,t)=>{B_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>az(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function M6(e){return new px({type:"success",innerType:e})}var hx=b("ZodCatch",(e,t)=>{G_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>_z(e,n,i,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function gx(e,t){return new hx({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}var vx=b("ZodNaN",(e,t)=>{J_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>rz(e,n,i,r)});function D6(e){return N1(vx,e)}var Du=b("ZodPipe",(e,t)=>{Ih.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>zz(e,n,i,r),e.in=t.in,e.out=t.out});function yg(e,t){return new Du({type:"pipe",in:e,out:t})}var Lu=b("ZodCodec",(e,t)=>{Du.init(e,t),Tu.init(e,t)});function L6(e,t,n){return new Lu({type:"pipe",in:e,out:t,transform:n.decode,reverseTransform:n.encode})}function q6(e){let t=e._zod.def;return new Lu({type:"pipe",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}var yx=b("ZodPreprocess",(e,t)=>{Du.init(e,t),Y_.init(e,t)}),Sx=b("ZodReadonly",(e,t)=>{K_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>xz(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function bx(e){return new Sx({type:"readonly",innerType:e})}var _x=b("ZodTemplateLiteral",(e,t)=>{F_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>iz(e,n,i,r)});function H6(e,t){return new _x({type:"template_literal",parts:e,...N.normalizeParams(t)})}var zx=b("ZodLazy",(e,t)=>{W_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Tz(e,n,i,r),e.unwrap=()=>e._zod.def.getter()});function Yi(e){return new zx({type:"lazy",getter:e})}var xx=b("ZodPromise",(e,t)=>{X_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>wz(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Z6(e){return new xx({type:"promise",innerType:e})}var wx=b("ZodFunction",(e,t)=>{Q_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>lz(e,n,i,r)});function V6(e){return new wx({type:"function",input:Array.isArray(e?.input)?ex(e?.input):e?.input??z(Z()),output:e?.output??Z()})}var qu=b("ZodCustom",(e,t)=>{e1.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>sz(e,n,i,r)});function B6(e){let t=new Re({check:"custom"});return t._zod.check=e,t}function G6(e,t){return P1(qu,e??(()=>!0),t)}function Tx(e,t={}){return U1(qu,e,t)}function $x(e,t){return M1(e,t)}var J6=D1,Y6=L1;function K6(e,t={}){let n=new qu({type:"custom",check:"custom",fn:i=>i instanceof e,abort:!0,...N.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 F6=(...e)=>q1({Codec:Lu,Boolean:Ys,String:Vs},...e);function Q6(e){let t=Yi(()=>q([u(e),E(),D(),yr(),z(t),U(u(),t)]));return t}function Jr(e,t){return new yx({type:"pipe",in:Lg(e),out:t})}var Ex={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 uU(e){Ve({customError:e})}function dU(){return Ve().customError}var Rx;Rx||(Rx={});var L={...ku,...mg,iso:hn},mU=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 fU(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 pU(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];if(!r||!t.defs[r])throw new Error(`Reference not found: ${e}`);return t.defs[r]}throw new Error(`Reference not found: ${e}`)}function X6(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=pU(r,t),a=$t(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 X6(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()):o==="date"?r=r.check(L.iso.date()):o==="time"?r=r.check(L.iso.time()):o==="duration"?r=r.check(L.iso.duration()):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==="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"&&(r=r.min(e.minimum)),typeof e.maximum=="number"&&(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||[]);for(let[l,c]of Object.entries(o)){let d=$t(c,t);r[l]=a.has(l)?d:d.optional()}if(e.propertyNames){let l=$t(e.propertyNames,t),c=e.additionalProperties&&typeof e.additionalProperties=="object"?$t(e.additionalProperties,t):L.any();if(Object.keys(r).length===0){i=L.record(l,c);break}let d=L.object(r).passthrough(),p=L.looseRecord(l,c);i=L.intersection(d,p);break}if(e.patternProperties){let l=e.patternProperties,c=Object.keys(l),d=[];for(let m of c){let f=$t(l[m],t),_=L.string().regex(new RegExp(m));d.push(L.looseRecord(_,f))}let p=[];if(Object.keys(r).length>0&&p.push(L.object(r).passthrough()),p.push(...d),p.length===0)i=L.object({}).passthrough();else if(p.length===1)i=p[0];else{let m=L.intersection(p[0],p[1]);for(let f=2;f<p.length;f++)m=L.intersection(m,p[f]);i=m}break}let s=L.object(r);e.additionalProperties===!1?i=s.strict():typeof e.additionalProperties=="object"?i=s.catchall($t(e.additionalProperties,t)):i=s.passthrough();break}case"array":{let r=e.prefixItems,o=e.items;if(r&&Array.isArray(r)){let a=r.map(l=>$t(l,t)),s=o&&typeof o=="object"&&!Array.isArray(o)?$t(o,t):void 0;s?i=L.tuple(a).rest(s):i=L.tuple(a),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=o.map(l=>$t(l,t)),s=e.additionalItems&&typeof e.additionalItems=="object"?$t(e.additionalItems,t):void 0;s?i=L.tuple(a).rest(s):i=L.tuple(a),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=$t(o,t),s=L.array(a);typeof e.minItems=="number"&&(s=s.min(e.minItems)),typeof e.maxItems=="number"&&(s=s.max(e.maxItems)),i=s}else i=L.array(L.any());break}default:throw new Error(`Unsupported type: ${n}`)}return i}function $t(e,t){if(typeof e=="boolean")return e?L.any():L.never();let n=X6(e,t),i=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let s=e.anyOf.map(c=>$t(c,t)),l=L.union(s);n=i?L.intersection(n,l):l}if(e.oneOf&&Array.isArray(e.oneOf)){let s=e.oneOf.map(c=>$t(c,t)),l=L.xor(s);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 s=i?n:$t(e.allOf[0],t),l=i?0:1;for(let c=l;c<e.allOf.length;c++)s=L.intersection(s,$t(e.allOf[c],t));n=s}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 s of o)s in e&&(r[s]=e[s]);let a=["contentEncoding","contentMediaType","contentSchema"];for(let s of a)s in e&&(r[s]=e[s]);for(let s of Object.keys(e))mU.has(s)||(r[s]=e[s]);return Object.keys(r).length>0&&t.registry.add(n,r),e.description&&(n=n.describe(e.description)),n}function W6(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=fU(n,t?.defaultTarget),r=n.$defs||n.definitions||{},o={version:i,defs:r,refs:new Map,processing:new Set,rootSchema:n,registry:t?.registry??vt};return $t(n,o)}var Hu={};Rr(Hu,{bigint:()=>yU,boolean:()=>vU,date:()=>SU,number:()=>gU,string:()=>hU});function hU(e){return i1(Vs,e)}function gU(e){return m1(Js,e)}function vU(e){return S1(Ys,e)}function yU(e){return _1(Ks,e)}function SU(e){return C1(Pu,e)}Ve(Ch());var Zg="2025-11-25";var Vg=[Zg,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],Bg="io.modelcontextprotocol/related-task",Bo="io.modelcontextprotocol/protocolVersion",Fs="io.modelcontextprotocol/clientInfo",Fi="io.modelcontextprotocol/serverInfo",Go="io.modelcontextprotocol/clientCapabilities",Gg="io.modelcontextprotocol/subscriptionId",Qs="io.modelcontextprotocol/logLevel";var Jo="2.0";var Yr=Yi(()=>q([u(),E(),D(),yr(),U(u(),Yr),z(Yr)])),Me=U(u(),Yr),Jg=z(Yr),Xs=q([u(),E().int()]),Ws=u(),Zu=v({ttl:E().optional()}),Vu=v({taskId:u()}),el=J({progressToken:Xs.optional(),[Bg]:Vu.optional()}),lt=v({_meta:el.optional()}),Qi=lt.extend({task:Zu.optional()}),De=v({method:u(),params:lt.loose().optional()}),Rt=v({_meta:el.optional()}),yt=v({method:u(),params:Rt.loose().optional()}),tl=J({get[Fi](){return br.optional().catch(void 0)}}),Le=J({_meta:tl.optional()}),Yn=q([u(),E().int()]),nl=v({jsonrpc:w(Jo),id:Yn,...De.shape}).strict(),rl=v({jsonrpc:w(Jo),...yt.shape}).strict(),Yo=v({jsonrpc:w(Jo),id:Yn,result:Le}).strict(),Ko=v({jsonrpc:w(Jo),id:Yn.optional(),error:v({code:E().int(),message:u(),data:Z().optional()})}).strict(),Fo=q([nl,rl,Yo,Ko]),Yg=q([Yo,Ko]),Xi=Le.strict(),Bu=Rt.extend({requestId:Yn.optional(),reason:u().optional()}),il=yt.extend({method:w("notifications/cancelled"),params:Bu}),Gu=v({src:u(),mimeType:u().optional(),sizes:z(u()).optional(),theme:Y(["light","dark"]).optional()}),Kr=v({icons:z(Gu).optional()}),Sr=v({name:u(),title:u().optional()}),br=Sr.extend({...Sr.shape,...Kr.shape,version:u(),websiteUrl:u().optional(),description:u().optional()}),_U=Jn(v({applyDefaults:D().optional()}),Me),zU=Jr(e=>e&&typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,Jn(v({form:_U.optional(),url:Me.optional()}),Me.optional())),Kg=J({list:Me.optional(),cancel:Me.optional(),requests:J({sampling:J({createMessage:Me.optional()}).optional(),elicitation:J({create:Me.optional()}).optional()}).optional()}),Fg=J({list:Me.optional(),cancel:Me.optional(),requests:J({tools:J({call:Me.optional()}).optional()}).optional()}),Ju=v({experimental:U(u(),Me).optional(),sampling:v({context:Me.optional(),tools:Me.optional()}).optional(),elicitation:zU.optional(),roots:v({listChanged:D().optional()}).optional(),tasks:Kg.optional(),extensions:U(u(),Me).optional()}),Yu=lt.extend({protocolVersion:u(),capabilities:Ju,clientInfo:br}),Ku=De.extend({method:w("initialize"),params:Yu}),ol=v({experimental:U(u(),Me).optional(),logging:Me.optional(),completions:Me.optional(),prompts:v({listChanged:D().optional()}).optional(),resources:v({subscribe:D().optional(),listChanged:D().optional()}).optional(),tools:v({listChanged:D().optional()}).optional(),tasks:Fg.optional(),extensions:U(u(),Me).optional()}),Fu=Le.extend({protocolVersion:u(),capabilities:ol,serverInfo:br,instructions:u().optional()}),Qu=yt.extend({method:w("notifications/initialized"),params:Rt.optional()}),Xu=De.extend({method:w("server/discover"),params:lt.optional()}),al=Le.extend({supportedVersions:z(u()),capabilities:ol,instructions:u().optional()}),sl=De.extend({method:w("ping"),params:lt.optional()}),Wu=v({progress:E(),total:V(E()),message:V(u())}),ed=v({...Rt.shape,...Wu.shape,progressToken:Xs}),ll=yt.extend({method:w("notifications/progress"),params:ed}),td=lt.extend({cursor:Ws.optional()}),Fr=De.extend({params:td.optional()}),Qr=Le.extend({nextCursor:Ws.optional()}),cl=v({uri:u(),mimeType:V(u()),_meta:U(u(),Z()).optional()}),ul=cl.extend({text:u()}),kx=u().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:"Invalid Base64 string"}),dl=cl.extend({blob:kx}),Xr=Y(["user","assistant"]),_r=v({audience:z(Xr).optional(),priority:E().min(0).max(1).optional(),lastModified:hn.datetime({offset:!0}).optional()}),ml=v({...Sr.shape,...Kr.shape,uri:u(),description:V(u()),mimeType:V(u()),size:V(E()),annotations:_r.optional(),_meta:V(J({}))}),nd=v({...Sr.shape,...Kr.shape,uriTemplate:u(),description:V(u()),mimeType:V(u()),annotations:_r.optional(),_meta:V(J({}))}),rd=Fr.extend({method:w("resources/list")}),id=Qr.extend({resources:z(ml)}),od=Fr.extend({method:w("resources/templates/list")}),ad=Qr.extend({resourceTemplates:z(nd)}),Qo=lt.extend({uri:u()}),sd=Qo,ld=De.extend({method:w("resources/read"),params:sd}),cd=Le.extend({contents:z(q([ul,dl]))}),ud=yt.extend({method:w("notifications/resources/list_changed"),params:Rt.optional()}),dd=Qo,md=De.extend({method:w("resources/subscribe"),params:dd}),fd=Qo,pd=De.extend({method:w("resources/unsubscribe"),params:fd}),fl=v({toolsListChanged:D().optional(),promptsListChanged:D().optional(),resourcesListChanged:D().optional(),resourceSubscriptions:z(u()).optional()}),hd=lt.extend({notifications:fl}),gd=De.extend({method:w("subscriptions/listen"),params:hd}),vd=Rt.extend({notifications:fl}),yd=yt.extend({method:w("notifications/subscriptions/acknowledged"),params:vd}),Sd=tl.extend({[Gg]:Yn}),bd=Le.extend({_meta:Sd}),_d=Rt.extend({uri:u()}),zd=yt.extend({method:w("notifications/resources/updated"),params:_d}),xd=v({name:u(),description:V(u()),required:V(D())}),wd=v({...Sr.shape,...Kr.shape,description:V(u()),arguments:V(z(xd)),_meta:V(J({}))}),Td=Fr.extend({method:w("prompts/list")}),$d=Qr.extend({prompts:z(wd)}),Rd=lt.extend({name:u(),arguments:U(u(),u()).optional()}),Ed=De.extend({method:w("prompts/get"),params:Rd}),Xo=v({type:w("text"),text:u(),annotations:_r.optional(),_meta:U(u(),Z()).optional()}),Wo=v({type:w("image"),data:kx,mimeType:u(),annotations:_r.optional(),_meta:U(u(),Z()).optional()}),ea=v({type:w("audio"),data:kx,mimeType:u(),annotations:_r.optional(),_meta:U(u(),Z()).optional()}),Od=v({type:w("tool_use"),name:u(),id:u(),input:U(u(),Z()),_meta:U(u(),Z()).optional()}),ta=v({type:w("resource"),resource:q([ul,dl]),annotations:_r.optional(),_meta:U(u(),Z()).optional()}),na=ml.extend({type:w("resource_link")}),zr=q([Xo,Wo,ea,na,ta]),kd=v({role:Xr,content:zr}),Id=Le.extend({description:u().optional(),messages:z(kd)}),Cd=yt.extend({method:w("notifications/prompts/list_changed"),params:Rt.optional()}),Nd=v({title:u().optional(),readOnlyHint:D().optional(),destructiveHint:D().optional(),idempotentHint:D().optional(),openWorldHint:D().optional()}),jd=v({taskSupport:Y(["required","optional","forbidden"]).optional()}),Wi=v({...Sr.shape,...Kr.shape,description:u().optional(),inputSchema:v({type:w("object"),properties:U(u(),Yr).optional(),required:z(u()).optional()}).catchall(Z()),outputSchema:J({$schema:u().optional()}).optional(),annotations:Nd.optional(),execution:jd.optional(),_meta:U(u(),Z()).optional()}),Ad=Fr.extend({method:w("tools/list")}),Pd=Qr.extend({tools:z(Wi)}),eo=Le.extend({content:z(zr).default([]),structuredContent:Z().optional(),isError:D().optional()}),Qg=eo.or(Le.extend({toolResult:Z()})),Ud=Qi.extend({name:u(),arguments:U(u(),Z()).optional()}),Md=De.extend({method:w("tools/call"),params:Ud}),Dd=yt.extend({method:w("notifications/tools/list_changed"),params:Rt.optional()}),Xg=v({autoRefresh:D().default(!0),debounceMs:E().int().nonnegative().default(300)}),pl=Y(["debug","info","notice","warning","error","critical","alert","emergency"]),Ld=lt.extend({level:pl}),qd=De.extend({method:w("logging/setLevel"),params:Ld}),Hd=Rt.extend({level:pl,logger:u().optional(),data:Z()}),Zd=yt.extend({method:w("notifications/message"),params:Hd}),Vd=v({name:u().optional()}),Bd=v({hints:z(Vd).optional(),costPriority:E().min(0).max(1).optional(),speedPriority:E().min(0).max(1).optional(),intelligencePriority:E().min(0).max(1).optional()}),Gd=v({mode:Y(["auto","required","none"]).optional()}),Jd=v({type:w("tool_result"),toolUseId:u().describe("The unique identifier for the corresponding tool call."),content:z(zr),structuredContent:Z().optional(),isError:D().optional(),_meta:U(u(),Z()).optional()}),Yd=Ji("type",[Xo,Wo,ea]),Ki=Ji("type",[Xo,Wo,ea,Od,Jd]),Kd=v({role:Xr,content:q([Ki,z(Ki)]),_meta:U(u(),Z()).optional()}),Fd=Qi.extend({messages:z(Kd),modelPreferences:Bd.optional(),systemPrompt:u().optional(),includeContext:Y(["none","thisServer","allServers"]).optional(),temperature:E().optional(),maxTokens:E().int(),stopSequences:z(u()).optional(),metadata:Me.optional(),tools:z(Wi).optional(),toolChoice:Gd.optional()}),Qd=De.extend({method:w("sampling/createMessage"),params:Fd}),Xd=Le.extend({model:u(),stopReason:V(Y(["endTurn","stopSequence","maxTokens"]).or(u())),role:Xr,content:Yd}),Wd=Le.extend({model:u(),stopReason:V(Y(["endTurn","stopSequence","maxTokens","toolUse"]).or(u())),role:Xr,content:q([Ki,z(Ki)])}),hl=v({type:w("boolean"),title:u().optional(),description:u().optional(),default:D().optional()}),ra=v({type:w("string"),title:u().optional(),description:u().optional(),minLength:E().optional(),maxLength:E().optional(),format:Y(["email","uri","date","date-time"]).optional(),default:u().optional()}),ia=v({type:Y(["number","integer"]),title:u().optional(),description:u().optional(),minimum:E().optional(),maximum:E().optional(),default:E().optional()}),gl=v({type:w("string"),title:u().optional(),description:u().optional(),enum:z(u()),default:u().optional()}),vl=v({type:w("string"),title:u().optional(),description:u().optional(),oneOf:z(v({const:u(),title:u()})),default:u().optional()}),yl=v({type:w("string"),title:u().optional(),description:u().optional(),enum:z(u()),enumNames:z(u()).optional(),default:u().optional()}),em=q([gl,vl]),Sl=v({type:w("array"),title:u().optional(),description:u().optional(),minItems:E().optional(),maxItems:E().optional(),items:v({type:w("string"),enum:z(u())}),default:z(u()).optional()}),bl=v({type:w("array"),title:u().optional(),description:u().optional(),minItems:E().optional(),maxItems:E().optional(),items:v({anyOf:z(v({const:u(),title:u()}))}),default:z(u()).optional()}),tm=q([Sl,bl]),nm=q([yl,em,tm]),_l=q([nm,hl,ra,ia]),oa=Qi.extend({mode:w("form").optional(),message:u(),requestedSchema:v({type:w("object"),properties:U(u(),_l),required:z(u()).optional()}).catchall(Z())}),rm=Qi.extend({mode:w("url"),message:u(),elicitationId:u(),url:u().url()}),im=q([oa,rm]),om=De.extend({method:w("elicitation/create"),params:im}),am=Rt.extend({elicitationId:u()}),sm=yt.extend({method:w("notifications/elicitation/complete"),params:am}),lm=Le.extend({action:Y(["accept","decline","cancel"]),content:Jr(e=>e===null?void 0:e,U(u(),q([u(),E(),D(),z(u())])).optional())}),cm=v({type:w("ref/resource"),uri:u()}),um=v({type:w("ref/prompt"),name:u()}),dm=lt.extend({ref:q([um,cm]),argument:v({name:u(),value:u()}),context:v({arguments:U(u(),u()).optional()}).optional()}),mm=De.extend({method:w("completion/complete"),params:dm}),fm=Le.extend({completion:J({values:z(u()).max(100),total:V(E().int()),hasMore:V(D())})}),pm=v({uri:u().startsWith("file://"),name:u().optional(),_meta:U(u(),Z()).optional()}),hm=De.extend({method:w("roots/list"),params:lt.optional()}),gm=Le.extend({roots:z(pm)}),vm=yt.extend({method:w("notifications/roots/list_changed"),params:Rt.optional()}),Wg=J({ttl:E().optional(),pollInterval:E().optional()}),ym=Y(["working","input_required","completed","failed","cancelled"]),Wr=v({taskId:u(),status:ym,ttl:q([E(),yr()]),createdAt:u(),lastUpdatedAt:u(),pollInterval:V(E()),statusMessage:V(u())}),ev=Le.extend({task:Wr}),Sm=Rt.merge(Wr),tv=yt.extend({method:w("notifications/tasks/status"),params:Sm}),nv=De.extend({method:w("tasks/get"),params:lt.extend({taskId:u()})}),rv=Le.merge(Wr),iv=De.extend({method:w("tasks/result"),params:lt.extend({taskId:u()})}),ov=Le.loose(),av=Fr.extend({method:w("tasks/list")}),sv=Qr.extend({tasks:z(Wr)}),lv=De.extend({method:w("tasks/cancel"),params:lt.extend({taskId:u()})}),cv=Le.merge(Wr),uv=q([sl,Ku,Xu,mm,qd,Ed,Td,rd,od,ld,md,pd,gd,Md,Ad]),dv=q([il,ll,Qu,vm]),mv=q([Xi,Xd,Wd,lm,gm]),fv=q([sl,Qd,om,hm]),pv=q([il,ll,Zd,zd,ud,Dd,Cd,yd,sm]),hv=q([Xi,Fu,al,fm,Id,$d,id,ad,cd,eo,Pd,bd]),st=Bs().superRefine((e,t)=>{if(!URL.canParse(e))return t.addIssue({code:Ex.custom,message:"URL must be parseable",fatal:!0}),uu}).refine(e=>{let t=new URL(e);return t.protocol!=="javascript:"&&t.protocol!=="data:"&&t.protocol!=="vbscript:"},{message:"URL cannot use javascript:, data:, or vbscript: scheme"}),bm=J({resource:u().url(),authorization_servers:z(st).optional(),jwks_uri:u().url().optional(),scopes_supported:z(u()).optional(),bearer_methods_supported:z(u()).optional(),resource_signing_alg_values_supported:z(u()).optional(),resource_name:u().optional(),resource_documentation:u().optional(),resource_policy_uri:u().url().optional(),resource_tos_uri:u().url().optional(),tls_client_certificate_bound_access_tokens:D().optional(),authorization_details_types_supported:z(u()).optional(),dpop_signing_alg_values_supported:z(u()).optional(),dpop_bound_access_tokens_required:D().optional()}),zl=J({issuer:u(),authorization_endpoint:st,token_endpoint:st,registration_endpoint:st.optional(),scopes_supported:z(u()).optional(),response_types_supported:z(u()),response_modes_supported:z(u()).optional(),grant_types_supported:z(u()).optional(),token_endpoint_auth_methods_supported:z(u()).optional(),token_endpoint_auth_signing_alg_values_supported:z(u()).optional(),service_documentation:st.optional(),revocation_endpoint:st.optional(),revocation_endpoint_auth_methods_supported:z(u()).optional(),revocation_endpoint_auth_signing_alg_values_supported:z(u()).optional(),introspection_endpoint:u().optional(),introspection_endpoint_auth_methods_supported:z(u()).optional(),introspection_endpoint_auth_signing_alg_values_supported:z(u()).optional(),code_challenge_methods_supported:z(u()).optional(),client_id_metadata_document_supported:D().optional(),authorization_response_iss_parameter_supported:D().optional().catch(void 0)}),_m=J({issuer:u(),authorization_endpoint:st,token_endpoint:st,userinfo_endpoint:st.optional(),jwks_uri:st,registration_endpoint:st.optional(),scopes_supported:z(u()).optional(),response_types_supported:z(u()),response_modes_supported:z(u()).optional(),grant_types_supported:z(u()).optional(),acr_values_supported:z(u()).optional(),subject_types_supported:z(u()),id_token_signing_alg_values_supported:z(u()),id_token_encryption_alg_values_supported:z(u()).optional(),id_token_encryption_enc_values_supported:z(u()).optional(),userinfo_signing_alg_values_supported:z(u()).optional(),userinfo_encryption_alg_values_supported:z(u()).optional(),userinfo_encryption_enc_values_supported:z(u()).optional(),request_object_signing_alg_values_supported:z(u()).optional(),request_object_encryption_alg_values_supported:z(u()).optional(),request_object_encryption_enc_values_supported:z(u()).optional(),token_endpoint_auth_methods_supported:z(u()).optional(),token_endpoint_auth_signing_alg_values_supported:z(u()).optional(),display_values_supported:z(u()).optional(),claim_types_supported:z(u()).optional(),claims_supported:z(u()).optional(),service_documentation:u().optional(),claims_locales_supported:z(u()).optional(),ui_locales_supported:z(u()).optional(),claims_parameter_supported:D().optional(),request_parameter_supported:D().optional(),request_uri_parameter_supported:D().optional(),require_request_uri_registration:D().optional(),op_policy_uri:st.optional(),op_tos_uri:st.optional(),client_id_metadata_document_supported:D().optional(),authorization_response_iss_parameter_supported:D().optional().catch(void 0)}),zm=v({..._m.shape,...zl.pick({code_challenge_methods_supported:!0}).shape}),xm=v({access_token:u(),id_token:u().optional(),token_type:u(),expires_in:Hu.number().optional(),scope:u().optional(),refresh_token:u().optional()}).strip(),wm=v({issued_token_type:w("urn:ietf:params:oauth:token-type:id-jag"),access_token:u(),token_type:u().optional(),expires_in:E().optional(),scope:u().optional()}).strip(),Tm=v({error:u(),error_description:u().optional(),error_uri:u().optional()}),Ox=st.optional().or(w("").transform(()=>{})),$m=v({redirect_uris:z(st),token_endpoint_auth_method:u().optional(),grant_types:z(u()).optional(),response_types:z(u()).optional(),application_type:u().optional(),client_name:u().optional(),client_uri:st.optional(),logo_uri:Ox,scope:u().optional(),contacts:z(u()).optional(),tos_uri:Ox,policy_uri:u().optional(),jwks_uri:st.optional(),jwks:Mg().optional(),software_id:u().optional(),software_version:u().optional(),software_statement:u().optional()}).strip(),Rm=v({client_id:u(),client_secret:u().optional(),client_id_issued_at:E().optional(),client_secret_expires_at:E().optional()}).strip(),Em=$m.merge(Rm),gv=v({error:u(),error_description:u().optional()}).strip(),vv=v({token:u(),token_type_hint:u().optional()}).strip();var Px=Symbol.for("mcp.sdk.errorBrands");function sa(e,t){let n=new Set,i=t;for(;typeof i=="function";){let r=i.mcpBrand;Object.prototype.hasOwnProperty.call(i,"mcpBrand")&&typeof r=="string"&&n.add(r),i=Object.getPrototypeOf(i)}n.size!==0&&Object.defineProperty(e,Px,{value:n,enumerable:!1,configurable:!0})}function gn(e,t){try{if(typeof t=="object"&&t!==null&&Object.prototype.hasOwnProperty.call(e,"mcpBrand")&&typeof e.mcpBrand=="string"&&Object.prototype.hasOwnProperty.call(t,Px)){let n=t[Px];if(n&&typeof n.has=="function"&&n.has(e.mcpBrand))return!0}}catch{}return Function.prototype[Symbol.hasInstance].call(e,t)}var xU=class yk extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.OAuthError"})}static[Symbol.hasInstance](t){return gn(this,t)}static isInstance(t){if(typeof this!="function")throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return gn(this,t)}constructor(t,n,i){super(n),this.code=t,this.errorUri=i,this.name="OAuthError",sa(this,new.target)}toResponseObject(){let t={error:this.code,error_description:this.message};return this.errorUri&&(t.error_uri=this.errorUri),t}static fromResponse(t){return new yk(t.error,t.error_description??t.error,t.error_uri)}},St=(function(e){return e.NotConnected="NOT_CONNECTED",e.AlreadyConnected="ALREADY_CONNECTED",e.NotInitialized="NOT_INITIALIZED",e.CapabilityNotSupported="CAPABILITY_NOT_SUPPORTED",e.RequestTimeout="REQUEST_TIMEOUT",e.ConnectionClosed="CONNECTION_CLOSED",e.SendFailed="SEND_FAILED",e.InvalidResult="INVALID_RESULT",e.UnsupportedResultType="UNSUPPORTED_RESULT_TYPE",e.InputRequiredRoundsExceeded="INPUT_REQUIRED_ROUNDS_EXCEEDED",e.ListPaginationExceeded="LIST_PAGINATION_EXCEEDED",e.MethodNotSupportedByProtocolVersion="METHOD_NOT_SUPPORTED_BY_PROTOCOL_VERSION",e.EraNegotiationFailed="ERA_NEGOTIATION_FAILED",e.ClientHttpNotImplemented="CLIENT_HTTP_NOT_IMPLEMENTED",e.ClientHttpAuthentication="CLIENT_HTTP_AUTHENTICATION",e.ClientHttpForbidden="CLIENT_HTTP_FORBIDDEN",e.ClientHttpUnexpectedContent="CLIENT_HTTP_UNEXPECTED_CONTENT",e.ClientHttpFailedToOpenStream="CLIENT_HTTP_FAILED_TO_OPEN_STREAM",e.ClientHttpFailedToTerminateSession="CLIENT_HTTP_FAILED_TO_TERMINATE_SESSION",e})({}),Fe=class extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.SdkError"})}static[Symbol.hasInstance](e){return gn(this,e)}static isInstance(e){if(typeof this!="function")throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return gn(this,e)}constructor(e,t,n){super(t),this.code=e,this.data=n,this.name="SdkError",sa(this,new.target)}},wU=class extends Fe{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.SdkHttpError"})}constructor(e,t,n){super(e,t,n),this.name="SdkHttpError"}get status(){return this.data.status}get statusText(){return this.data.statusText}};var TU="2026-07-28";function Sk(e){return e>=TU}function bk(e){let t=e.structuredContent;return t===void 0||!(typeof t!="object"||t===null||Array.isArray(t))||(e.content?.some(n=>n.type==="text")??!1)?e:{...e,content:[...e.content??[],{type:"text",text:JSON.stringify(t)}]}}var _k=["task","inputRequests","requestState"];function $U(e){return e===null||typeof e!="object"||Array.isArray(e)||e.content!==void 0||_k.some(t=>t in e)?e:{...e,content:[]}}function RU(){let e=Yi(()=>q([u(),E(),D(),yr(),U(u(),e),z(e)])),t=U(u(),e),n=q([u(),E().int()]),i=u(),r=v({ttl:E().optional()}),o=v({taskId:u()}),a=J({progressToken:n.optional(),"io.modelcontextprotocol/related-task":o.optional()}),s=v({_meta:a.optional()}),l=s.extend({task:r.optional()}),c=v({method:u(),params:s.loose().optional()}),d=v({_meta:a.optional()}),p=v({method:u(),params:d.loose().optional()}),m=J({_meta:a.optional()}),f=q([u(),E().int()]),_=m.strict(),$=d.extend({requestId:f.optional(),reason:u().optional()}),j=p.extend({method:w("notifications/cancelled"),params:$}),y=v({src:u(),mimeType:u().optional(),sizes:z(u()).optional(),theme:Y(["light","dark"]).optional()}),g=v({icons:z(y).optional()}),S=v({name:u(),title:u().optional()}),x=S.extend({...S.shape,...g.shape,version:u(),websiteUrl:u().optional(),description:u().optional()}),I=Jn(v({applyDefaults:D().optional()}),t),H=Jr(zt=>zt&&typeof zt=="object"&&!Array.isArray(zt)&&Object.keys(zt).length===0?{form:{}}:zt,Jn(v({form:I.optional(),url:t.optional()}),t.optional())),M=J({list:t.optional(),cancel:t.optional(),requests:J({sampling:J({createMessage:t.optional()}).optional(),elicitation:J({create:t.optional()}).optional()}).optional()}),B=J({list:t.optional(),cancel:t.optional(),requests:J({tools:J({call:t.optional()}).optional()}).optional()}),oe=v({experimental:U(u(),t).optional(),sampling:v({context:t.optional(),tools:t.optional()}).optional(),elicitation:H.optional(),roots:v({listChanged:D().optional()}).optional(),tasks:M.optional(),extensions:U(u(),t).optional()}),W=s.extend({protocolVersion:u(),capabilities:oe,clientInfo:x}),me=c.extend({method:w("initialize"),params:W}),wr=v({experimental:U(u(),t).optional(),logging:t.optional(),completions:t.optional(),prompts:v({listChanged:D().optional()}).optional(),resources:v({subscribe:D().optional(),listChanged:D().optional()}).optional(),tools:v({listChanged:D().optional()}).optional(),tasks:B.optional(),extensions:U(u(),t).optional()}),Ce=m.extend({protocolVersion:u(),capabilities:wr,serverInfo:x,instructions:u().optional()}),An=p.extend({method:w("notifications/initialized"),params:d.optional()}),vn=c.extend({method:w("ping"),params:s.optional()}),Fn=v({progress:E(),total:V(E()),message:V(u())}),yn=v({...d.shape,...Fn.shape,progressToken:n}),Xt=p.extend({method:w("notifications/progress"),params:yn}),Tr=s.extend({cursor:i.optional()}),Sn=c.extend({params:Tr.optional()}),Mt=m.extend({nextCursor:i.optional()}),tt=v({uri:u(),mimeType:V(u()),_meta:U(u(),Z()).optional()}),bn=tt.extend({text:u()}),_n=u().refine(zt=>{try{return atob(zt),!0}catch{return!1}},{message:"Invalid Base64 string"}),$r=tt.extend({blob:_n}),zn=Y(["user","assistant"]),Qe=v({audience:z(zn).optional(),priority:E().min(0).max(1).optional(),lastModified:hn.datetime({offset:!0}).optional()}),Et=v({...S.shape,...g.shape,uri:u(),description:V(u()),mimeType:V(u()),size:V(E()),annotations:Qe.optional(),_meta:V(J({}))}),ti=v({...S.shape,...g.shape,uriTemplate:u(),description:V(u()),mimeType:V(u()),annotations:Qe.optional(),_meta:V(J({}))}),Pn=Sn.extend({method:w("resources/list")}),ni=Mt.extend({resources:z(Et)}),Un=Sn.extend({method:w("resources/templates/list")}),C=Mt.extend({resourceTemplates:z(ti)}),K=s.extend({uri:u()}),Q=K,ue=c.extend({method:w("resources/read"),params:Q}),ge=m.extend({contents:z(q([bn,$r]))}),ct=p.extend({method:w("notifications/resources/list_changed"),params:d.optional()}),nt=K,qe=c.extend({method:w("resources/subscribe"),params:nt}),Qn=K,Dt=c.extend({method:w("resources/unsubscribe"),params:Qn}),Rl=d.extend({uri:u()}),El=p.extend({method:w("notifications/resources/updated"),params:Rl}),Ol=v({name:u(),description:V(u()),required:V(D())}),kl=v({...S.shape,...g.shape,description:V(u()),arguments:V(z(Ol)),_meta:V(J({}))}),Il=Sn.extend({method:w("prompts/list")}),Cl=Mt.extend({prompts:z(kl)}),Nl=s.extend({name:u(),arguments:U(u(),u()).optional()}),jl=c.extend({method:w("prompts/get"),params:Nl}),to=v({type:w("text"),text:u(),annotations:Qe.optional(),_meta:U(u(),Z()).optional()}),no=v({type:w("image"),data:_n,mimeType:u(),annotations:Qe.optional(),_meta:U(u(),Z()).optional()}),ro=v({type:w("audio"),data:_n,mimeType:u(),annotations:Qe.optional(),_meta:U(u(),Z()).optional()}),Al=v({type:w("tool_use"),name:u(),id:u(),input:U(u(),Z()),_meta:U(u(),Z()).optional()}),ri=v({type:w("resource"),resource:q([bn,$r]),annotations:Qe.optional(),_meta:U(u(),Z()).optional()}),Pl=Et.extend({type:w("resource_link")}),xn=q([to,no,ro,Pl,ri]),ua=v({role:zn,content:xn}),da=m.extend({description:u().optional(),messages:z(ua)}),io=p.extend({method:w("notifications/prompts/list_changed"),params:d.optional()}),Ul=v({title:u().optional(),readOnlyHint:D().optional(),destructiveHint:D().optional(),idempotentHint:D().optional(),openWorldHint:D().optional()}),ma=v({taskSupport:Y(["required","optional","forbidden"]).optional()}),oo=v({...S.shape,...g.shape,description:u().optional(),inputSchema:v({type:w("object"),properties:U(u(),e).optional(),required:z(u()).optional()}).catchall(Z()),outputSchema:v({type:w("object"),properties:U(u(),e).optional(),required:z(u()).optional()}).catchall(Z()).optional(),annotations:Ul.optional(),execution:ma.optional(),_meta:U(u(),Z()).optional()}),fa=Sn.extend({method:w("tools/list")}),pa=Mt.extend({tools:z(oo)}),ha=m.extend({content:z(xn),structuredContent:U(u(),Z()).optional(),isError:D().optional()}),_t=l.extend({name:u(),arguments:U(u(),Z()).optional()}),Ml=c.extend({method:w("tools/call"),params:_t}),nf=p.extend({method:w("notifications/tools/list_changed"),params:d.optional()}),ga=Y(["debug","info","notice","warning","error","critical","alert","emergency"]),Dl=s.extend({level:ga}),Ll=c.extend({method:w("logging/setLevel"),params:Dl}),ql=d.extend({level:ga,logger:u().optional(),data:Z()}),Hl=p.extend({method:w("notifications/message"),params:ql}),Zl=v({name:u().optional()}),Vl=v({hints:z(Zl).optional(),costPriority:E().min(0).max(1).optional(),speedPriority:E().min(0).max(1).optional(),intelligencePriority:E().min(0).max(1).optional()}),Bl=v({mode:Y(["auto","required","none"]).optional()}),rf=v({type:w("tool_result"),toolUseId:u().describe("The unique identifier for the corresponding tool call."),content:z(xn),structuredContent:v({}).loose().optional(),isError:D().optional(),_meta:U(u(),Z()).optional()}),Gl=Ji("type",[to,no,ro]),ii=Ji("type",[to,no,ro,Al,rf]),Jl=v({role:zn,content:q([ii,z(ii)]),_meta:U(u(),Z()).optional()}),Yl=l.extend({messages:z(Jl),modelPreferences:Vl.optional(),systemPrompt:u().optional(),includeContext:Y(["none","thisServer","allServers"]).optional(),temperature:E().optional(),maxTokens:E().int(),stopSequences:z(u()).optional(),metadata:t.optional(),tools:z(oo).optional(),toolChoice:Bl.optional()}),Kl=c.extend({method:w("sampling/createMessage"),params:Yl}),Fl=m.extend({model:u(),stopReason:V(Y(["endTurn","stopSequence","maxTokens"]).or(u())),role:zn,content:Gl}),Ql=m.extend({model:u(),stopReason:V(Y(["endTurn","stopSequence","maxTokens","toolUse"]).or(u())),role:zn,content:q([ii,z(ii)])}),Xl=v({type:w("boolean"),title:u().optional(),description:u().optional(),default:D().optional()}),Wl=v({type:w("string"),title:u().optional(),description:u().optional(),minLength:E().optional(),maxLength:E().optional(),format:Y(["email","uri","date","date-time"]).optional(),default:u().optional()}),ec=v({type:Y(["number","integer"]),title:u().optional(),description:u().optional(),minimum:E().optional(),maximum:E().optional(),default:E().optional()}),tc=v({type:w("string"),title:u().optional(),description:u().optional(),enum:z(u()),default:u().optional()}),nc=v({type:w("string"),title:u().optional(),description:u().optional(),oneOf:z(v({const:u(),title:u()})),default:u().optional()}),rc=v({type:w("string"),title:u().optional(),description:u().optional(),enum:z(u()),enumNames:z(u()).optional(),default:u().optional()}),ic=q([tc,nc]),ao=v({type:w("array"),title:u().optional(),description:u().optional(),minItems:E().optional(),maxItems:E().optional(),items:v({type:w("string"),enum:z(u())}),default:z(u()).optional()}),so=v({type:w("array"),title:u().optional(),description:u().optional(),minItems:E().optional(),maxItems:E().optional(),items:v({anyOf:z(v({const:u(),title:u()}))}),default:z(u()).optional()}),of=q([ao,so]),af=q([rc,ic,of]),Wt=q([af,Xl,Wl,ec]),en=l.extend({mode:w("form").optional(),message:u(),requestedSchema:v({type:w("object"),properties:U(u(),Wt),required:z(u()).optional()}).catchall(Z())}),oc=l.extend({mode:w("url"),message:u(),elicitationId:u(),url:u().url()}),Mn=q([en,oc]),sf=c.extend({method:w("elicitation/create"),params:Mn}),lf=d.extend({elicitationId:u()}),cf=p.extend({method:w("notifications/elicitation/complete"),params:lf}),uf=m.extend({action:Y(["accept","decline","cancel"]),content:Jr(zt=>zt===null?void 0:zt,U(u(),q([u(),E(),D(),z(u())])).optional())}),df=v({type:w("ref/resource"),uri:u()}),mf=v({type:w("ref/prompt"),name:u()}),ff=s.extend({ref:q([mf,df]),argument:v({name:u(),value:u()}),context:v({arguments:U(u(),u()).optional()}).optional()}),ac=c.extend({method:w("completion/complete"),params:ff}),pf=m.extend({completion:J({values:z(u()).max(100),total:V(E().int()),hasMore:V(D())})}),hf=v({uri:u().startsWith("file://"),name:u().optional(),_meta:U(u(),Z()).optional()}),va=c.extend({method:w("roots/list"),params:s.optional()}),sc=m.extend({roots:z(hf)}),gf=p.extend({method:w("notifications/roots/list_changed"),params:d.optional()}),vf=J({ttl:E().optional(),pollInterval:E().optional()}),yf=Y(["working","input_required","completed","failed","cancelled"]),oi=v({taskId:u(),status:yf,ttl:q([E(),yr()]),createdAt:u(),lastUpdatedAt:u(),pollInterval:V(E()),statusMessage:V(u())}),Lt=m.extend({task:oi}),Sf=d.merge(oi),lo=p.extend({method:w("notifications/tasks/status"),params:Sf}),ya=c.extend({method:w("tasks/get"),params:s.extend({taskId:u()})}),Sa=m.merge(oi),ba=c.extend({method:w("tasks/result"),params:s.extend({taskId:u()})}),kv=m.loose(),qt=Sn.extend({method:w("tasks/list")}),Be=Mt.extend({tasks:z(oi)}),co=c.extend({method:w("tasks/cancel"),params:s.extend({taskId:u()})});return{JSONValueSchema:e,JSONObjectSchema:t,ProgressTokenSchema:n,CursorSchema:i,TaskMetadataSchema:r,RelatedTaskMetadataSchema:o,RequestMetaSchema:a,BaseRequestParamsSchema:s,TaskAugmentedRequestParamsSchema:l,RequestSchema:c,NotificationsParamsSchema:d,NotificationSchema:p,ResultSchema:m,RequestIdSchema:f,EmptyResultSchema:_,CancelledNotificationParamsSchema:$,CancelledNotificationSchema:j,IconSchema:y,IconsSchema:g,BaseMetadataSchema:S,ImplementationSchema:x,ClientTasksCapabilitySchema:M,ServerTasksCapabilitySchema:B,ClientCapabilitiesSchema:oe,InitializeRequestParamsSchema:W,InitializeRequestSchema:me,ServerCapabilitiesSchema:wr,InitializeResultSchema:Ce,InitializedNotificationSchema:An,PingRequestSchema:vn,ProgressSchema:Fn,ProgressNotificationParamsSchema:yn,ProgressNotificationSchema:Xt,PaginatedRequestParamsSchema:Tr,PaginatedRequestSchema:Sn,PaginatedResultSchema:Mt,ResourceContentsSchema:tt,TextResourceContentsSchema:bn,BlobResourceContentsSchema:$r,RoleSchema:zn,AnnotationsSchema:Qe,ResourceSchema:Et,ResourceTemplateSchema:ti,ListResourcesRequestSchema:Pn,ListResourcesResultSchema:ni,ListResourceTemplatesRequestSchema:Un,ListResourceTemplatesResultSchema:C,ResourceRequestParamsSchema:K,ReadResourceRequestParamsSchema:Q,ReadResourceRequestSchema:ue,ReadResourceResultSchema:ge,ResourceListChangedNotificationSchema:ct,SubscribeRequestParamsSchema:nt,SubscribeRequestSchema:qe,UnsubscribeRequestParamsSchema:Qn,UnsubscribeRequestSchema:Dt,ResourceUpdatedNotificationParamsSchema:Rl,ResourceUpdatedNotificationSchema:El,PromptArgumentSchema:Ol,PromptSchema:kl,ListPromptsRequestSchema:Il,ListPromptsResultSchema:Cl,GetPromptRequestParamsSchema:Nl,GetPromptRequestSchema:jl,TextContentSchema:to,ImageContentSchema:no,AudioContentSchema:ro,ToolUseContentSchema:Al,EmbeddedResourceSchema:ri,ResourceLinkSchema:Pl,ContentBlockSchema:xn,PromptMessageSchema:ua,GetPromptResultSchema:da,PromptListChangedNotificationSchema:io,ToolAnnotationsSchema:Ul,ToolExecutionSchema:ma,ToolSchema:oo,ListToolsRequestSchema:fa,ListToolsResultSchema:pa,CallToolResultSchema:ha,CallToolRequestParamsSchema:_t,CallToolRequestSchema:Ml,ToolListChangedNotificationSchema:nf,LoggingLevelSchema:ga,SetLevelRequestParamsSchema:Dl,SetLevelRequestSchema:Ll,LoggingMessageNotificationParamsSchema:ql,LoggingMessageNotificationSchema:Hl,ModelHintSchema:Zl,ModelPreferencesSchema:Vl,ToolChoiceSchema:Bl,ToolResultContentSchema:rf,SamplingContentSchema:Gl,SamplingMessageContentBlockSchema:ii,SamplingMessageSchema:Jl,CreateMessageRequestParamsSchema:Yl,CreateMessageRequestSchema:Kl,CreateMessageResultSchema:Fl,CreateMessageResultWithToolsSchema:Ql,BooleanSchemaSchema:Xl,StringSchemaSchema:Wl,NumberSchemaSchema:ec,UntitledSingleSelectEnumSchemaSchema:tc,TitledSingleSelectEnumSchemaSchema:nc,LegacyTitledEnumSchemaSchema:rc,SingleSelectEnumSchemaSchema:ic,UntitledMultiSelectEnumSchemaSchema:ao,TitledMultiSelectEnumSchemaSchema:so,MultiSelectEnumSchemaSchema:of,EnumSchemaSchema:af,PrimitiveSchemaDefinitionSchema:Wt,ElicitRequestFormParamsSchema:en,ElicitRequestURLParamsSchema:oc,ElicitRequestParamsSchema:Mn,ElicitRequestSchema:sf,ElicitationCompleteNotificationParamsSchema:lf,ElicitationCompleteNotificationSchema:cf,ElicitResultSchema:uf,ResourceTemplateReferenceSchema:df,PromptReferenceSchema:mf,CompleteRequestParamsSchema:ff,CompleteRequestSchema:ac,CompleteResultSchema:pf,RootSchema:hf,ListRootsRequestSchema:va,ListRootsResultSchema:sc,RootsListChangedNotificationSchema:gf,TaskCreationParamsSchema:vf,TaskStatusSchema:yf,TaskSchema:oi,CreateTaskResultSchema:Lt,TaskStatusNotificationParamsSchema:Sf,TaskStatusNotificationSchema:lo,GetTaskRequestSchema:ya,GetTaskResultSchema:Sa,GetTaskPayloadRequestSchema:ba,GetTaskPayloadResultSchema:kv,ListTasksRequestSchema:qt,ListTasksResultSchema:Be,CancelTaskRequestSchema:co,CancelTaskResultSchema:m.merge(oi),ClientRequestSchema:q([vn,me,ac,Ll,jl,Il,Pn,Un,ue,qe,Dt,Ml,fa,ya,ba,qt,co]),ClientNotificationSchema:q([j,Xt,An,gf,lo]),ClientResultSchema:q([_,Fl,Ql,uf,sc,Sa,Be,Lt]),ServerRequestSchema:q([vn,Kl,sf,va,ya,ba,qt,co]),ServerNotificationSchema:q([j,Xt,Hl,El,ct,nf,io,lo,cf]),ServerResultSchema:q([_,Ce,pf,da,Cl,ni,C,ge,ha,pa,Sa,Be,Lt]),CallToolResultWireSchema:Z().superRefine((zt,YI)=>{if(!(typeof zt!="object"||zt===null||Array.isArray(zt)||zt.content!==void 0)){for(let Mw of _k)if(Mw in zt){YI.addIssue({code:"custom",message:`content is required when the body carries \'${Mw}\' \\u2014 another result family cannot default into an empty tools/call success`});return}}}).transform($U).pipe(ha)}}var EU;function zk(){return EU??=RU()}function xk(e){return e.type!=="object"}var OU=new Set(["const","enum","default","examples"]),kU=new Set(["properties","patternProperties","$defs","definitions","dependentSchemas","dependencies"]);function ck(e){return e!==void 0&&!(typeof e=="string"&&e.startsWith("#"))}function IU(e){let t=typeof e.$schema=="string"?e.$schema:void 0;if(ck(e.$id))return{...t!==void 0&&{$schema:t},type:"object",properties:{result:e},required:["result"]};let n=cE(e.$schema)&&e.$recursiveAnchor!==!0,i=(r,o)=>{if(Array.isArray(r))return r.map(l=>i(l,!1));if(r===null||typeof r!="object"||!o&&ck(r.$id))return r;let a={},s=!1;for(let[l,c]of Object.entries(r))o?a[l]=i(c,!1):(l==="$ref"||l==="$dynamicRef")&&typeof c=="string"?a[l]=c==="#"?"#/properties/result":c.startsWith("#/")?`#/properties/result${c.slice(1)}`:c:l==="$recursiveRef"&&c==="#"&&n?s=!0:OU.has(l)?a[l]=c:kU.has(l)?a[l]=i(c,!0):a[l]=i(c,!1);return s&&("$ref"in a?a.allOf=[...Array.isArray(a.allOf)?a.allOf:[],{$ref:"#/properties/result"}]:a.$ref="#/properties/result"),a};return{...t!==void 0&&{$schema:t},type:"object",properties:{result:i(e,!1)},required:["result"]}}var wk={ping:null,initialize:null,"completion/complete":null,"logging/setLevel":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"resources/subscribe":null,"resources/unsubscribe":null,"tools/call":null,"tools/list":null,"tasks/get":null,"tasks/result":null,"tasks/list":null,"tasks/cancel":null,"sampling/createMessage":null,"elicitation/create":null,"roots/list":null},Tk={"notifications/cancelled":null,"notifications/progress":null,"notifications/initialized":null,"notifications/roots/list_changed":null,"notifications/tasks/status":null,"notifications/message":null,"notifications/resources/updated":null,"notifications/resources/list_changed":null,"notifications/tools/list_changed":null,"notifications/prompts/list_changed":null,"notifications/elicitation/complete":null},CU={ping:null,initialize:null,"completion/complete":null,"logging/setLevel":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"resources/subscribe":null,"resources/unsubscribe":null,"tools/call":null,"tools/list":null,"sampling/createMessage":null,"elicitation/create":null,"roots/list":null},yv;function Hx(){if(yv)return yv;let e=zk();return yv={requestSchemas:{ping:e.PingRequestSchema,initialize:e.InitializeRequestSchema,"completion/complete":e.CompleteRequestSchema,"logging/setLevel":e.SetLevelRequestSchema,"prompts/get":e.GetPromptRequestSchema,"prompts/list":e.ListPromptsRequestSchema,"resources/list":e.ListResourcesRequestSchema,"resources/templates/list":e.ListResourceTemplatesRequestSchema,"resources/read":e.ReadResourceRequestSchema,"resources/subscribe":e.SubscribeRequestSchema,"resources/unsubscribe":e.UnsubscribeRequestSchema,"tools/call":e.CallToolRequestSchema,"tools/list":e.ListToolsRequestSchema,"tasks/get":e.GetTaskRequestSchema,"tasks/result":e.GetTaskPayloadRequestSchema,"tasks/list":e.ListTasksRequestSchema,"tasks/cancel":e.CancelTaskRequestSchema,"sampling/createMessage":e.CreateMessageRequestSchema,"elicitation/create":e.ElicitRequestSchema,"roots/list":e.ListRootsRequestSchema},notificationSchemas:{"notifications/cancelled":e.CancelledNotificationSchema,"notifications/progress":e.ProgressNotificationSchema,"notifications/initialized":e.InitializedNotificationSchema,"notifications/roots/list_changed":e.RootsListChangedNotificationSchema,"notifications/tasks/status":e.TaskStatusNotificationSchema,"notifications/message":e.LoggingMessageNotificationSchema,"notifications/resources/updated":e.ResourceUpdatedNotificationSchema,"notifications/resources/list_changed":e.ResourceListChangedNotificationSchema,"notifications/tools/list_changed":e.ToolListChangedNotificationSchema,"notifications/prompts/list_changed":e.PromptListChangedNotificationSchema,"notifications/elicitation/complete":e.ElicitationCompleteNotificationSchema},resultSchemas:{ping:e.EmptyResultSchema,initialize:e.InitializeResultSchema,"completion/complete":e.CompleteResultSchema,"logging/setLevel":e.EmptyResultSchema,"prompts/get":e.GetPromptResultSchema,"prompts/list":e.ListPromptsResultSchema,"resources/list":e.ListResourcesResultSchema,"resources/templates/list":e.ListResourceTemplatesResultSchema,"resources/read":e.ReadResourceResultSchema,"resources/subscribe":e.EmptyResultSchema,"resources/unsubscribe":e.EmptyResultSchema,"tools/call":e.CallToolResultWireSchema,"tools/list":e.ListToolsResultSchema,"sampling/createMessage":e.CreateMessageResultWithToolsSchema,"elicitation/create":e.ElicitResultSchema,"roots/list":e.ListRootsResultSchema}},yv}function $k(e){return Object.prototype.hasOwnProperty.call(wk,e)}function Rk(e){return Object.prototype.hasOwnProperty.call(Tk,e)}function NU(e){return Object.prototype.hasOwnProperty.call(CU,e)}function jU(e){return NU(e)?Hx().resultSchemas[e]:void 0}function AU(e){return $k(e)?Hx().requestSchemas[e]:void 0}function PU(e){return Rk(e)?Hx().notificationSchemas[e]:void 0}var vH=Object.keys(wk),yH=Object.keys(Tk);function Ux(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Sv(e,t){if(e===void 0)return{ok:!1,reason:"not-in-era"};let n=e.safeParse(t);return n.success?{ok:!0,value:n.data}:{ok:!1,reason:"invalid",message:String(n.error)}}var uk={ok:!1,reason:"not-in-era"};function dk(e){return Ux(e)&&Ux(e.outputSchema)&&xk(e.outputSchema)}var Zx={era:"2025-11-25",hasRequestMethod:$k,hasNotificationMethod:Rk,validateRequest:(e,t)=>Sv(AU(e),t),validateResult:(e,t)=>Sv(jU(e),t),validateNotification:(e,t)=>Sv(PU(e),t),hasInputRequestMethod:()=>!1,validateInputRequest:()=>uk,validateInputResponse:()=>uk,samplingResultVariant:((e,t)=>{let n=zk();return Sv(e?n.CreateMessageResultWithToolsSchema:n.CreateMessageResultSchema,t)}),outboundEnvelope:e=>{},validateEnvelopeMeta:e=>[],projectCallToolResult(e,t){let n=bk(e),i=n.structuredContent;if(i===void 0)return n;let r=typeof i!="object"||i===null||Array.isArray(i),o=t!==void 0&&xk(t);return!r&&!o?n:{...n,structuredContent:{result:i}}},decodeResult(e,t){if(Ux(t)&&"resultType"in t){let n={...t};return delete n.resultType,{kind:"complete",result:n}}return{kind:"complete",result:t}},encodeResult(e,t){if(e!=="tools/list")return t;let n=t.tools;return!Array.isArray(n)||!n.some(i=>dk(i))?t:{...t,tools:n.map(i=>dk(i)?{...i,outputSchema:IU(i.outputSchema)}:i)}},encodeErrorCode:e=>e===-32002?-32602:e,checkInboundEnvelope:e=>{}};function UU(){let e=Yi(()=>q([u(),E(),D(),yr(),U(u(),e),z(e)])),t=U(u(),e),n=q([u(),E().int()]),i=u(),r=q([u(),E().int()]),o=Y(["user","assistant"]),a=Y(["debug","info","notice","warning","error","critical","alert","emergency"]),s=u().refine(Be=>{try{return atob(Be),!0}catch{return!1}},{message:"Invalid Base64 string"}),l=v({ttl:E().optional()}),c=v({taskId:u()}),d=J({progressToken:n.optional(),"io.modelcontextprotocol/related-task":c.optional()}),p=v({_meta:d.optional()}),m=p.extend({task:l.optional()}),f=v({_meta:d.optional()}),_=v({method:u(),params:f.loose().optional()}),$=v({src:u(),mimeType:u().optional(),sizes:z(u()).optional(),theme:Y(["light","dark"]).optional()}),j=v({icons:z($).optional()}),y=v({name:u(),title:u().optional()}),g=y.extend({...y.shape,...j.shape,version:u(),websiteUrl:u().optional(),description:u().optional()}),S=Jn(v({applyDefaults:D().optional()}),t),x=Jr(Be=>Be&&typeof Be=="object"&&!Array.isArray(Be)&&Object.keys(Be).length===0?{form:{}}:Be,Jn(v({form:S.optional(),url:t.optional()}),t.optional())),I=J({list:t.optional(),cancel:t.optional(),requests:J({sampling:J({createMessage:t.optional()}).optional(),elicitation:J({create:t.optional()}).optional()}).optional()}),H=J({list:t.optional(),cancel:t.optional(),requests:J({tools:J({call:t.optional()}).optional()}).optional()}),M=v({experimental:U(u(),t).optional(),sampling:v({context:t.optional(),tools:t.optional()}).optional(),elicitation:x.optional(),roots:v({listChanged:D().optional()}).optional(),tasks:I.optional(),extensions:U(u(),t).optional()}),B=v({experimental:U(u(),t).optional(),logging:t.optional(),completions:t.optional(),prompts:v({listChanged:D().optional()}).optional(),resources:v({subscribe:D().optional(),listChanged:D().optional()}).optional(),tools:v({listChanged:D().optional()}).optional(),tasks:H.optional(),extensions:U(u(),t).optional()}),oe=v({progress:E(),total:V(E()),message:V(u())}),W=v({...f.shape,...oe.shape,progressToken:n}),me=_.extend({method:w("notifications/progress"),params:W}),wr=f.extend({level:a,logger:u().optional(),data:Z()}),Ce=_.extend({method:w("notifications/message"),params:wr}),An=v({uri:u(),mimeType:V(u()),_meta:U(u(),Z()).optional()}),vn=An.extend({text:u()}),Fn=An.extend({blob:s}),yn=v({audience:z(o).optional(),priority:E().min(0).max(1).optional(),lastModified:hn.datetime({offset:!0}).optional()}),Xt=v({...y.shape,...j.shape,uri:u(),description:V(u()),mimeType:V(u()),size:V(E()),annotations:yn.optional(),_meta:V(J({}))}),Tr=v({...y.shape,...j.shape,uriTemplate:u(),description:V(u()),mimeType:V(u()),annotations:yn.optional(),_meta:V(J({}))}),Sn=_.extend({method:w("notifications/resources/list_changed"),params:f.optional()}),Mt=f.extend({uri:u()}),tt=_.extend({method:w("notifications/resources/updated"),params:Mt}),bn=v({name:u(),description:V(u()),required:V(D())}),_n=v({...y.shape,...j.shape,description:V(u()),arguments:V(z(bn)),_meta:V(J({}))}),$r=_.extend({method:w("notifications/prompts/list_changed"),params:f.optional()}),zn=v({type:w("text"),text:u(),annotations:yn.optional(),_meta:U(u(),Z()).optional()}),Qe=v({type:w("image"),data:s,mimeType:u(),annotations:yn.optional(),_meta:U(u(),Z()).optional()}),Et=v({type:w("audio"),data:s,mimeType:u(),annotations:yn.optional(),_meta:U(u(),Z()).optional()}),ti=v({type:w("tool_use"),name:u(),id:u(),input:U(u(),Z()),_meta:U(u(),Z()).optional()}),Pn=v({type:w("resource"),resource:q([vn,Fn]),annotations:yn.optional(),_meta:U(u(),Z()).optional()}),ni=Xt.extend({type:w("resource_link")}),Un=q([zn,Qe,Et,ni,Pn]),C=v({role:o,content:Un}),K=v({title:u().optional(),readOnlyHint:D().optional(),destructiveHint:D().optional(),idempotentHint:D().optional(),openWorldHint:D().optional()}),Q=_.extend({method:w("notifications/tools/list_changed"),params:f.optional()}),ue=v({name:u().optional()}),ge=v({hints:z(ue).optional(),costPriority:E().min(0).max(1).optional(),speedPriority:E().min(0).max(1).optional(),intelligencePriority:E().min(0).max(1).optional()}),ct=v({mode:Y(["auto","required","none"]).optional()}),nt=v({type:w("boolean"),title:u().optional(),description:u().optional(),default:D().optional()}),qe=v({type:w("string"),title:u().optional(),description:u().optional(),minLength:E().optional(),maxLength:E().optional(),format:Y(["email","uri","date","date-time"]).optional(),default:u().optional()}),Qn=v({type:Y(["number","integer"]),title:u().optional(),description:u().optional(),minimum:E().optional(),maximum:E().optional(),default:E().optional()}),Dt=v({type:w("string"),title:u().optional(),description:u().optional(),enum:z(u()),default:u().optional()}),Rl=v({type:w("string"),title:u().optional(),description:u().optional(),oneOf:z(v({const:u(),title:u()})),default:u().optional()}),El=v({type:w("string"),title:u().optional(),description:u().optional(),enum:z(u()),enumNames:z(u()).optional(),default:u().optional()}),Ol=q([Dt,Rl]),kl=v({type:w("array"),title:u().optional(),description:u().optional(),minItems:E().optional(),maxItems:E().optional(),items:v({type:w("string"),enum:z(u())}),default:z(u()).optional()}),Il=v({type:w("array"),title:u().optional(),description:u().optional(),minItems:E().optional(),maxItems:E().optional(),items:v({anyOf:z(v({const:u(),title:u()}))}),default:z(u()).optional()}),Cl=q([kl,Il]),Nl=q([El,Ol,Cl]),jl=q([Nl,nt,qe,Qn]),to=m.extend({mode:w("form").optional(),message:u(),requestedSchema:v({type:w("object"),properties:U(u(),jl),required:z(u()).optional()}).catchall(Z())}),no=v({type:w("ref/resource"),uri:u()}),ro=v({type:w("ref/prompt"),name:u()}),Al=v({uri:u().startsWith("file://"),name:u().optional(),_meta:U(u(),Z()).optional()}),ri=M.shape,Pl=v({experimental:ri.experimental,sampling:ri.sampling,elicitation:ri.elicitation,roots:ri.roots,extensions:ri.extensions}),xn=B.shape,ua=v({experimental:xn.experimental,logging:xn.logging,completions:xn.completions,prompts:xn.prompts,resources:xn.resources,tools:xn.tools,extensions:xn.extensions}),da=J({progressToken:n.optional(),[Bo]:u(),[Fs]:g.optional(),[Go]:Pl,[Qs]:a.optional()}),io=v({...y.shape,...j.shape,description:u().optional(),inputSchema:J({$schema:u().optional(),type:w("object")}),outputSchema:J({$schema:u().optional()}).optional(),annotations:K.optional(),_meta:U(u(),Z()).optional()}),Ul=v({type:w("tool_result"),toolUseId:u(),content:z(Un),structuredContent:Z().optional(),isError:D().optional(),_meta:U(u(),Z()).optional()}),ma=q([zn,Qe,Et,ti,Ul]),oo=v({role:o,content:q([ma,z(ma)]),_meta:U(u(),Z()).optional()}),fa=u(),pa=J({[Fi]:g.optional().catch(void 0)}),ha=pa.optional();function _t(Be){return J({_meta:ha,resultType:fa.default("complete"),...Be})}let Ml=_t({}),nf=_t({nextCursor:i.optional()}),ga=_t({content:z(Un),structuredContent:Z().optional(),isError:D().optional()}),Dl=_t({ttlMs:E().int().min(0),cacheScope:Y(["public","private"]),tools:z(io),nextCursor:i.optional()}),Ll=_t({ttlMs:E().int().min(0),cacheScope:Y(["public","private"]),prompts:z(_n),nextCursor:i.optional()}),ql=_t({description:u().optional(),messages:z(C)}),Hl=_t({ttlMs:E().int().min(0),cacheScope:Y(["public","private"]),resources:z(Xt),nextCursor:i.optional()}),Zl=_t({ttlMs:E().int().min(0),cacheScope:Y(["public","private"]),resourceTemplates:z(Tr),nextCursor:i.optional()}),Vl=_t({ttlMs:E().int().min(0),cacheScope:Y(["public","private"]),contents:z(q([vn,Fn]))}),Bl=_t({completion:v({values:z(u()).max(100),total:E().int().optional(),hasMore:D().optional()}).loose()}),rf=_t({ttlMs:E().int().min(0),cacheScope:Y(["public","private"])}),Gl=_t({ttlMs:E().int().min(0).catch(0),cacheScope:Y(["public","private"]).catch("private"),supportedVersions:z(u()),capabilities:ua,instructions:u().optional()}),ii=v({messages:z(oo),modelPreferences:ge.optional(),systemPrompt:u().optional(),includeContext:Y(["none","thisServer","allServers"]).optional(),temperature:E().optional(),maxTokens:E().int(),stopSequences:z(u()).optional(),metadata:t.optional(),tools:z(io).optional(),toolChoice:ct.optional()}),Jl=v({method:w("sampling/createMessage"),params:ii}),Yl=v({method:w("roots/list"),params:v({_meta:U(u(),Z()).optional()}).optional()}),Kl=v({...oo.shape,model:u(),stopReason:u().optional()}),Fl=v({roots:z(Al)}),Ql=v({action:Y(["accept","decline","cancel"]),content:U(u(),q([u(),E(),D(),z(u())])).optional()}),Xl=v({mode:w("url"),message:u(),url:u().url()}),Wl=q([to,Xl]),ec=v({method:w("elicitation/create"),params:Wl}),tc=q([Jl,Yl,ec]),nc=q([Kl,Fl,Ql]),rc=U(u(),tc),ic=U(u(),nc),ao=_t({inputRequests:rc.optional(),requestState:u().optional()}),so={inputResponses:ic.optional(),requestState:u().optional()},of=v({_meta:da,...so}),af=J({progressToken:n.optional()});function Wt(Be,co){return v({method:w(Be),params:v({_meta:da,...co})})}function en(Be,co){return v({method:w(Be),params:v({_meta:af.optional(),...co}).optional()})}let oc={name:u(),arguments:U(u(),Z()).optional(),...so},Mn={cursor:i.optional()},sf=Wt("tools/call",oc),lf=Wt("tools/list",Mn),cf=Wt("prompts/list",Mn),uf=Wt("prompts/get",{name:u(),arguments:U(u(),u()).optional(),...so}),df=Wt("resources/list",Mn),mf=Wt("resources/templates/list",Mn),ff=Wt("resources/read",{uri:u(),...so}),ac={ref:q([ro,no]),argument:v({name:u(),value:u()}),context:v({arguments:U(u(),u()).optional()}).optional()},pf=Wt("completion/complete",ac),hf=Wt("server/discover",{}),va=v({toolsListChanged:D().optional(),promptsListChanged:D().optional(),resourcesListChanged:D().optional(),resourceSubscriptions:z(u()).optional()}),sc={notifications:va},gf=Wt("subscriptions/listen",sc),vf=pa.extend({"io.modelcontextprotocol/subscriptionId":r}),yf=J({_meta:vf,resultType:fa.default("complete")}),oi={"tools/call":en("tools/call",oc),"tools/list":en("tools/list",Mn),"prompts/get":en("prompts/get",{name:u(),arguments:U(u(),u()).optional()}),"prompts/list":en("prompts/list",Mn),"resources/list":en("resources/list",Mn),"resources/templates/list":en("resources/templates/list",Mn),"resources/read":en("resources/read",{uri:u()}),"completion/complete":en("completion/complete",ac),"server/discover":en("server/discover",{}),"subscriptions/listen":en("subscriptions/listen",sc)};function Lt(Be){return J({_meta:ha,...Be})}let Sf={"tools/call":Lt({content:z(Un),structuredContent:Z().optional(),isError:D().optional()}),"tools/list":Lt({ttlMs:E().int().min(0),cacheScope:Y(["public","private"]),tools:z(io),nextCursor:i.optional()}),"prompts/get":Lt({description:u().optional(),messages:z(C)}),"prompts/list":Lt({ttlMs:E().int().min(0),cacheScope:Y(["public","private"]),prompts:z(_n),nextCursor:i.optional()}),"resources/list":Lt({ttlMs:E().int().min(0),cacheScope:Y(["public","private"]),resources:z(Xt),nextCursor:i.optional()}),"resources/templates/list":Lt({ttlMs:E().int().min(0),cacheScope:Y(["public","private"]),resourceTemplates:z(Tr),nextCursor:i.optional()}),"resources/read":Lt({ttlMs:E().int().min(0),cacheScope:Y(["public","private"]),contents:z(q([vn,Fn]))}),"completion/complete":Lt({completion:v({values:z(u()).max(100),total:E().int().optional(),hasMore:D().optional()}).loose()}),"server/discover":Lt({ttlMs:E().int().min(0).catch(0),cacheScope:Y(["public","private"]).catch("private"),supportedVersions:z(u()),capabilities:ua,instructions:u().optional()}),"subscriptions/listen":Lt({})},lo=J({"io.modelcontextprotocol/subscriptionId":r.optional()}),ya=v({method:w("notifications/subscriptions/acknowledged"),params:v({_meta:lo.optional(),notifications:va})}),Sa=v({_meta:lo.optional(),requestId:r,reason:u().optional()}),ba=v({method:w("notifications/cancelled"),params:Sa}),kv={"notifications/cancelled":ba,"notifications/progress":me,"notifications/message":Ce,"notifications/resources/updated":tt,"notifications/resources/list_changed":Sn,"notifications/tools/list_changed":Q,"notifications/prompts/list_changed":$r,"notifications/subscriptions/acknowledged":ya},qt=Be=>v({jsonrpc:w("2.0"),id:q([u(),E().int()]),result:Be}).strict();return{JSONValueSchema:e,JSONObjectSchema:t,ProgressTokenSchema:n,CursorSchema:i,RequestIdSchema:r,RoleSchema:o,LoggingLevelSchema:a,TaskMetadataSchema:l,RelatedTaskMetadataSchema:c,RequestMetaSchema:d,BaseRequestParamsSchema:p,TaskAugmentedRequestParamsSchema:m,NotificationsParamsSchema:f,NotificationSchema:_,IconSchema:$,IconsSchema:j,BaseMetadataSchema:y,ImplementationSchema:g,ClientTasksCapabilitySchema:I,ServerTasksCapabilitySchema:H,ClientCapabilitiesSchema:M,ServerCapabilitiesSchema:B,ProgressSchema:oe,ProgressNotificationParamsSchema:W,ProgressNotificationSchema:me,LoggingMessageNotificationParamsSchema:wr,LoggingMessageNotificationSchema:Ce,ResourceContentsSchema:An,TextResourceContentsSchema:vn,BlobResourceContentsSchema:Fn,AnnotationsSchema:yn,ResourceSchema:Xt,ResourceTemplateSchema:Tr,ResourceListChangedNotificationSchema:Sn,ResourceUpdatedNotificationParamsSchema:Mt,ResourceUpdatedNotificationSchema:tt,PromptArgumentSchema:bn,PromptSchema:_n,PromptListChangedNotificationSchema:$r,TextContentSchema:zn,ImageContentSchema:Qe,AudioContentSchema:Et,ToolUseContentSchema:ti,EmbeddedResourceSchema:Pn,ResourceLinkSchema:ni,ContentBlockSchema:Un,PromptMessageSchema:C,ToolAnnotationsSchema:K,ToolListChangedNotificationSchema:Q,ModelHintSchema:ue,ModelPreferencesSchema:ge,ToolChoiceSchema:ct,BooleanSchemaSchema:nt,StringSchemaSchema:qe,NumberSchemaSchema:Qn,UntitledSingleSelectEnumSchemaSchema:Dt,TitledSingleSelectEnumSchemaSchema:Rl,LegacyTitledEnumSchemaSchema:El,SingleSelectEnumSchemaSchema:Ol,UntitledMultiSelectEnumSchemaSchema:kl,TitledMultiSelectEnumSchemaSchema:Il,MultiSelectEnumSchemaSchema:Cl,EnumSchemaSchema:Nl,PrimitiveSchemaDefinitionSchema:jl,ElicitRequestFormParamsSchema:to,ResourceTemplateReferenceSchema:no,PromptReferenceSchema:ro,RootSchema:Al,ClientCapabilities2026Schema:Pl,ServerCapabilities2026Schema:ua,RequestMetaEnvelopeSchema:da,ToolSchema:io,ToolResultContentSchema:Ul,SamplingMessageContentBlockSchema:ma,SamplingMessageSchema:oo,ResultTypeSchema:fa,ResultMetaSchema:pa,ResultSchema:Ml,PaginatedResultSchema:nf,CallToolResultSchema:ga,ListToolsResultSchema:Dl,ListPromptsResultSchema:Ll,GetPromptResultSchema:ql,ListResourcesResultSchema:Hl,ListResourceTemplatesResultSchema:Zl,ReadResourceResultSchema:Vl,CompleteResultSchema:Bl,CacheableResultSchema:rf,DiscoverResultSchema:Gl,CreateMessageRequestParamsSchema:ii,CreateMessageRequestSchema:Jl,ListRootsRequestSchema:Yl,CreateMessageResultSchema:Kl,ListRootsResultSchema:Fl,ElicitResultSchema:Ql,ElicitRequestURLParamsSchema:Xl,ElicitRequestParamsSchema:Wl,ElicitRequestSchema:ec,InputRequestSchema:tc,InputResponseSchema:nc,InputRequestsSchema:rc,InputResponsesSchema:ic,InputRequiredResultSchema:ao,InputResponseRequestParamsSchema:of,CallToolRequestSchema:sf,ListToolsRequestSchema:lf,ListPromptsRequestSchema:cf,GetPromptRequestSchema:uf,ListResourcesRequestSchema:df,ListResourceTemplatesRequestSchema:mf,ReadResourceRequestSchema:ff,CompleteRequestSchema:pf,DiscoverRequestSchema:hf,SubscriptionFilterSchema:va,SubscriptionsListenRequestSchema:gf,SubscriptionsListenResultMetaSchema:vf,SubscriptionsListenResultSchema:yf,dispatchRequestSchemas:oi,dispatchResultSchemas:Sf,NotificationMetaSchema:lo,SubscriptionsAcknowledgedNotificationSchema:ya,CancelledNotificationParamsSchema:Sa,CancelledNotificationSchema:ba,notificationSchemas2026:kv,JSONRPCResultResponseSchema:qt(Ml),CallToolResultResponseSchema:qt(q([ga,ao])),ListToolsResultResponseSchema:qt(Dl),ListPromptsResultResponseSchema:qt(Ll),GetPromptResultResponseSchema:qt(q([ql,ao])),ListResourcesResultResponseSchema:qt(Hl),ListResourceTemplatesResultResponseSchema:qt(Zl),ReadResourceResultResponseSchema:qt(q([Vl,ao])),CompleteResultResponseSchema:qt(Bl),DiscoverResultResponseSchema:qt(Gl)}}var MU;function aa(){return MU??=UU()}var DU=["tools/list","prompts/list","resources/list","resources/templates/list","resources/read","server/discover"];function LU(e){return DU.includes(e)}var Vx=Symbol("modelcontextprotocol.resultCacheHintFallback");function qU(e){return e[Vx]}function Ek(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0}function Ok(e){return e==="public"||e==="private"}var ae=(function(e){return e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.ResourceNotFound=-32002]="ResourceNotFound",e[e.MissingRequiredClientCapability=-32021]="MissingRequiredClientCapability",e[e.UnsupportedProtocolVersion=-32022]="UnsupportedProtocolVersion",e[e.UrlElicitationRequired=-32042]="UrlElicitationRequired",e})({}),bt=class kk extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.ProtocolError"})}static[Symbol.hasInstance](t){return gn(this,t)}static isInstance(t){if(typeof this!="function")throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return gn(this,t)}constructor(t,n,i){super(n),this.code=t,this.data=i,this.name="ProtocolError",sa(this,new.target)}static fromError(t,n,i){if(t===ae.UrlElicitationRequired&&i){let r=i;if(r.elicitations)return new Ck(r.elicitations,n)}if(t===ae.UnsupportedProtocolVersion&&i){let r=i;if(Array.isArray(r.supported)&&typeof r.requested=="string")return new Nk({supported:r.supported,requested:r.requested},n)}if(t===ae.InvalidParams||t===ae.ResourceNotFound){let r=i;if(typeof r?.uri=="string"&&(t===ae.ResourceNotFound||Object.keys(r).length===1))return new Ik(r.uri,n)}if(t===ae.MissingRequiredClientCapability&&i){let r=i;if(r.requiredCapabilities!==null&&typeof r.requiredCapabilities=="object"&&!Array.isArray(r.requiredCapabilities))return new jk({requiredCapabilities:r.requiredCapabilities},n)}return new kk(t,n,i)}},Ik=class extends bt{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.ResourceNotFoundError"})}constructor(e,t=`Resource not found: ${e}`){super(ae.InvalidParams,t,{uri:e})}get uri(){return this.data.uri}},Ck=class extends bt{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.UrlElicitationRequiredError"})}constructor(e,t=`URL elicitation${e.length>1?"s":""} required`){super(ae.UrlElicitationRequired,t,{elicitations:e})}get elicitations(){return this.data?.elicitations??[]}},Nk=class extends bt{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.UnsupportedProtocolVersionError"})}constructor(e,t=`Unsupported protocol version: ${e.requested}`){super(ae.UnsupportedProtocolVersion,t,e)}get supported(){return this.data.supported}get requested(){return this.data.requested}},jk=class extends bt{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.MissingRequiredClientCapabilityError"})}constructor(e,t=`Missing required client capabilities: ${Object.keys(e.requiredCapabilities).join(", ")}`){super(ae.MissingRequiredClientCapability,t,e)}get requiredCapabilities(){return this.data.requiredCapabilities}},HU=0,ZU="private",VU=["tools/call","prompts/get","resources/read"];function BU(e,t){let n=t.resultType;if(n===void 0)return{...t,resultType:"complete"};if(n==="complete"||VU.includes(e))return t;throw new bt(ae.InternalError,`Handler for ${e} returned resultType \'${String(n)}\', but results of ${e} only support \'complete\' on protocol revision 2026-07-28`)}function GU(e,t){let n=qU(t);if(t.resultType!=="complete"||!LU(e))return n===void 0?t:QU(t);let i=t,r=Ek(i.ttlMs)?i.ttlMs:KU(n),o=Ok(i.cacheScope)?i.cacheScope:FU(n),a={...i,ttlMs:r,cacheScope:o};return delete a[Vx],a}function JU(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function YU(e,t){if(t===void 0)return e;let n=e._meta;return n===void 0?{...e,_meta:{[Fi]:t}}:!JU(n)||n[Fi]!==void 0?e:{...e,_meta:{...n,[Fi]:t}}}function KU(e){return e!==void 0&&Ek(e.ttlMs)?e.ttlMs:HU}function FU(e){return e!==void 0&&Ok(e.cacheScope)?e.cacheScope:ZU}function QU(e){let t={...e};return delete t[Vx],t}var XU=["elicitation/create","sampling/createMessage","roots/list"],bv;function Ak(){if(bv)return bv;let e=aa();return bv={request:{"elicitation/create":v({method:w("elicitation/create"),params:e.ElicitRequestParamsSchema}),"sampling/createMessage":v({method:w("sampling/createMessage"),params:e.CreateMessageRequestParamsSchema}),"roots/list":v({method:w("roots/list"),params:J({}).optional()})},response:{"elicitation/create":e.ElicitResultSchema,"sampling/createMessage":e.CreateMessageResultSchema,"roots/list":e.ListRootsResultSchema}},bv}function Pk(e){return XU.includes(e)}function Ix(e){return Pk(e)?Ak().request[e]:void 0}function WU(e){return Pk(e)?Ak().response[e]:void 0}var Bx={"tools/call":null,"tools/list":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"completion/complete":null,"server/discover":null,"subscriptions/listen":null},Uk={"notifications/cancelled":null,"notifications/progress":null,"notifications/message":null,"notifications/resources/updated":null,"notifications/resources/list_changed":null,"notifications/tools/list_changed":null,"notifications/prompts/list_changed":null,"notifications/subscriptions/acknowledged":null};function Mk(e){return Object.prototype.hasOwnProperty.call(Bx,e)}function Dk(e){return Object.prototype.hasOwnProperty.call(Uk,e)}function eM(e){return Object.prototype.hasOwnProperty.call(Bx,e)}function tM(e){return Mk(e)?aa().dispatchRequestSchemas[e]:void 0}function nM(e){return eM(e)?aa().dispatchResultSchemas[e]:void 0}function rM(e){return Dk(e)?aa().notificationSchemas2026[e]:void 0}var SH=Object.keys(Bx),bH=Object.keys(Uk);function Im(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Om(e,t){if(e===void 0)return{ok:!1,reason:"not-in-era"};let n=e.safeParse(t);return n.success?{ok:!0,value:n.data}:{ok:!1,reason:"invalid",message:String(n.error)}}var iM={ok:!1,reason:"not-in-era"},oM=[Bo,Go];function aM(e,t){let n=t,i=!1,r=()=>(i||(n={...n},i=!0),n),o=t.tools;e==="tools/list"&&Array.isArray(o)&&o.some(s=>Im(s)&&"execution"in s)&&(r().tools=o.map(s=>{if(!Im(s)||!("execution"in s))return s;let l={...s};return delete l.execution,l}));let a=t.capabilities;if(Im(a)&&"tasks"in a){let s={...a};delete s.tasks,r().capabilities=s}return n}var Gx={era:"2026-07-28",hasRequestMethod:Mk,hasNotificationMethod:Dk,hasInputRequestMethod:e=>Ix(e)!==void 0,validateRequest:(e,t)=>Om(tM(e),t),validateResult:(e,t)=>Om(nM(e),t),validateNotification:(e,t)=>Om(rM(e),t),validateInputRequest:(e,t)=>Om(Ix(e),t),validateInputResponse:(e,t)=>Om(WU(e),t),samplingResultVariant:()=>iM,outboundEnvelope(e){return{[Bo]:e.protocolVersion,[Fs]:e.clientInfo,[Go]:e.clientCapabilities,...e.logLevel!==void 0&&{[Qs]:e.logLevel}}},validateEnvelopeMeta(e){let t=[];for(let i of oM)i in e||t.push({key:i,problem:"missing"});let n=aa().RequestMetaEnvelopeSchema.safeParse(e);if(!n.success)for(let i of n.error.issues){let r=i.path.map(String),o=r.length>0?r.join("."):"_meta";r.length===1&&t.some(a=>a.key===o&&a.problem==="missing")||t.push({key:o,problem:i.message})}return t},projectCallToolResult:e=>bk(e),inputRequestSchema:Ix,decodeResult(e,t){if(!Im(t))return{kind:"invalid",error:new Fe(St.InvalidResult,`Invalid result for ${e}: not an object`,{method:e})};let n=t.resultType;if(n===void 0)return{kind:"invalid",error:new Fe(St.InvalidResult,`Invalid result for ${e}: missing required resultType \\u2014 servers implementing protocol revision 2026-07-28 MUST include it (the absent-means-complete bridge applies only to earlier-revision servers)`,{method:e,violation:"missing-resultType"})};if(typeof n!="string")return{kind:"invalid",error:new Fe(St.InvalidResult,`Invalid result for ${e}: non-string resultType`,{method:e,resultType:n})};if(n==="input_required"){let a=t.inputRequests,s=Im(a)?a:{},l=t.requestState;return Object.keys(s).length===0&&typeof l!="string"?{kind:"invalid",error:new Fe(St.InvalidResult,`Invalid result for ${e}: input_required carries neither inputRequests nor requestState (every input_required result must include at least one of the two)`,{method:e,violation:"input-required-missing-both"})}:{kind:"input_required",inputRequests:s,...typeof l=="string"&&{requestState:l}}}if(n!=="complete")return{kind:"invalid",error:new Fe(St.UnsupportedResultType,`Unsupported result type \'${n}\' for ${e}`,{resultType:n,method:e})};let i=sM(),r=Object.hasOwn(i,e)?i[e]:void 0;if(r!==void 0){let a=r.safeParse(t);if(!a.success)return{kind:"invalid",error:new Fe(St.InvalidResult,`Invalid result for ${e}: ${a.error}`,{method:e})}}let o={...t};return delete o.resultType,{kind:"complete",result:o}},encodeResult(e,t,n){return YU(GU(e,BU(e,aM(e,t))),n)},encodeErrorCode:e=>e===-32002?-32602:e,checkInboundEnvelope(e){if(e.envelope===void 0)return"Request is missing the required _meta envelope for protocol revision 2026-07-28 (io.modelcontextprotocol/protocolVersion, io.modelcontextprotocol/clientCapabilities)";let t=aa().RequestMetaEnvelopeSchema.safeParse(e.envelope);if(!t.success)return`Invalid _meta envelope for protocol revision 2026-07-28: ${t.error.issues.map(n=>n.message).join("; ")}`}},_v;function sM(){if(_v)return _v;let e=aa();return _v={"tools/call":e.CallToolResultSchema,"tools/list":e.ListToolsResultSchema,"prompts/get":e.GetPromptResultSchema,"prompts/list":e.ListPromptsResultSchema,"resources/list":e.ListResourcesResultSchema,"resources/templates/list":e.ListResourceTemplatesResultSchema,"resources/read":e.ReadResourceResultSchema,"completion/complete":e.CompleteResultSchema,"server/discover":e.DiscoverResultSchema},_v}var Jx="2026-07-28";function Nm(e){return e!==void 0&&Sk(e)?Gx:Zx}function mk(e){return e.revision!==void 0?Nm(e.revision).era:e.era==="modern"?Gx.era:Zx.era}function Cx(e){return Lk.some(t=>t.hasRequestMethod(e))}function Nx(e){return Lk.some(t=>t.hasNotificationMethod(e))}var Lk=[Zx,Gx],lM=sE({AnnotationsSchema:()=>_r,AudioContentSchema:()=>ea,BaseMetadataSchema:()=>Sr,BaseRequestParamsSchema:()=>lt,BlobResourceContentsSchema:()=>dl,BooleanSchemaSchema:()=>hl,CallToolRequestParamsSchema:()=>Ud,CallToolRequestSchema:()=>Md,CallToolResultSchema:()=>eo,CancelTaskRequestSchema:()=>lv,CancelTaskResultSchema:()=>cv,CancelledNotificationParamsSchema:()=>Bu,CancelledNotificationSchema:()=>il,ClientCapabilitiesSchema:()=>Ju,ClientNotificationSchema:()=>dv,ClientRequestSchema:()=>uv,ClientResultSchema:()=>mv,ClientTasksCapabilitySchema:()=>Kg,CompatibilityCallToolResultSchema:()=>Qg,CompleteRequestParamsSchema:()=>dm,CompleteRequestSchema:()=>mm,CompleteResultSchema:()=>fm,ContentBlockSchema:()=>zr,CreateMessageRequestParamsSchema:()=>Fd,CreateMessageRequestSchema:()=>Qd,CreateMessageResultSchema:()=>Xd,CreateMessageResultWithToolsSchema:()=>Wd,CreateTaskResultSchema:()=>ev,CursorSchema:()=>Ws,DiscoverRequestSchema:()=>Xu,DiscoverResultSchema:()=>al,ElicitRequestFormParamsSchema:()=>oa,ElicitRequestParamsSchema:()=>im,ElicitRequestSchema:()=>om,ElicitRequestURLParamsSchema:()=>rm,ElicitResultSchema:()=>lm,ElicitationCompleteNotificationParamsSchema:()=>am,ElicitationCompleteNotificationSchema:()=>sm,EmbeddedResourceSchema:()=>ta,EmptyResultSchema:()=>Xi,EnumSchemaSchema:()=>nm,GetPromptRequestParamsSchema:()=>Rd,GetPromptRequestSchema:()=>Ed,GetPromptResultSchema:()=>Id,GetTaskPayloadRequestSchema:()=>iv,GetTaskPayloadResultSchema:()=>ov,GetTaskRequestSchema:()=>nv,GetTaskResultSchema:()=>rv,IconSchema:()=>Gu,IconsSchema:()=>Kr,ImageContentSchema:()=>Wo,ImplementationSchema:()=>br,InitializeRequestParamsSchema:()=>Yu,InitializeRequestSchema:()=>Ku,InitializeResultSchema:()=>Fu,InitializedNotificationSchema:()=>Qu,JSONArraySchema:()=>Jg,JSONObjectSchema:()=>Me,JSONRPCErrorResponseSchema:()=>Ko,JSONRPCMessageSchema:()=>Fo,JSONRPCNotificationSchema:()=>rl,JSONRPCRequestSchema:()=>nl,JSONRPCResponseSchema:()=>Yg,JSONRPCResultResponseSchema:()=>Yo,JSONValueSchema:()=>Yr,LegacyTitledEnumSchemaSchema:()=>yl,ListChangedOptionsBaseSchema:()=>Xg,ListPromptsRequestSchema:()=>Td,ListPromptsResultSchema:()=>$d,ListResourceTemplatesRequestSchema:()=>od,ListResourceTemplatesResultSchema:()=>ad,ListResourcesRequestSchema:()=>rd,ListResourcesResultSchema:()=>id,ListRootsRequestSchema:()=>hm,ListRootsResultSchema:()=>gm,ListTasksRequestSchema:()=>av,ListTasksResultSchema:()=>sv,ListToolsRequestSchema:()=>Ad,ListToolsResultSchema:()=>Pd,LoggingLevelSchema:()=>pl,LoggingMessageNotificationParamsSchema:()=>Hd,LoggingMessageNotificationSchema:()=>Zd,ModelHintSchema:()=>Vd,ModelPreferencesSchema:()=>Bd,MultiSelectEnumSchemaSchema:()=>tm,NotificationSchema:()=>yt,NotificationsParamsSchema:()=>Rt,NumberSchemaSchema:()=>ia,PaginatedRequestParamsSchema:()=>td,PaginatedRequestSchema:()=>Fr,PaginatedResultSchema:()=>Qr,PingRequestSchema:()=>sl,PrimitiveSchemaDefinitionSchema:()=>_l,ProgressNotificationParamsSchema:()=>ed,ProgressNotificationSchema:()=>ll,ProgressSchema:()=>Wu,ProgressTokenSchema:()=>Xs,PromptArgumentSchema:()=>xd,PromptListChangedNotificationSchema:()=>Cd,PromptMessageSchema:()=>kd,PromptReferenceSchema:()=>um,PromptSchema:()=>wd,ReadResourceRequestParamsSchema:()=>sd,ReadResourceRequestSchema:()=>ld,ReadResourceResultSchema:()=>cd,RelatedTaskMetadataSchema:()=>Vu,RequestIdSchema:()=>Yn,RequestMetaSchema:()=>el,RequestSchema:()=>De,ResourceContentsSchema:()=>cl,ResourceLinkSchema:()=>na,ResourceListChangedNotificationSchema:()=>ud,ResourceRequestParamsSchema:()=>Qo,ResourceSchema:()=>ml,ResourceTemplateReferenceSchema:()=>cm,ResourceTemplateSchema:()=>nd,ResourceUpdatedNotificationParamsSchema:()=>_d,ResourceUpdatedNotificationSchema:()=>zd,ResultMetaObjectSchema:()=>tl,ResultSchema:()=>Le,RoleSchema:()=>Xr,RootSchema:()=>pm,RootsListChangedNotificationSchema:()=>vm,SamplingContentSchema:()=>Yd,SamplingMessageContentBlockSchema:()=>Ki,SamplingMessageSchema:()=>Kd,ServerCapabilitiesSchema:()=>ol,ServerNotificationSchema:()=>pv,ServerRequestSchema:()=>fv,ServerResultSchema:()=>hv,ServerTasksCapabilitySchema:()=>Fg,SetLevelRequestParamsSchema:()=>Ld,SetLevelRequestSchema:()=>qd,SingleSelectEnumSchemaSchema:()=>em,StringSchemaSchema:()=>ra,SubscribeRequestParamsSchema:()=>dd,SubscribeRequestSchema:()=>md,SubscriptionFilterSchema:()=>fl,SubscriptionsAcknowledgedNotificationParamsSchema:()=>vd,SubscriptionsAcknowledgedNotificationSchema:()=>yd,SubscriptionsListenRequestParamsSchema:()=>hd,SubscriptionsListenRequestSchema:()=>gd,SubscriptionsListenResultMetaSchema:()=>Sd,SubscriptionsListenResultSchema:()=>bd,TaskAugmentedRequestParamsSchema:()=>Qi,TaskCreationParamsSchema:()=>Wg,TaskMetadataSchema:()=>Zu,TaskSchema:()=>Wr,TaskStatusNotificationParamsSchema:()=>Sm,TaskStatusNotificationSchema:()=>tv,TaskStatusSchema:()=>ym,TextContentSchema:()=>Xo,TextResourceContentsSchema:()=>ul,TitledMultiSelectEnumSchemaSchema:()=>bl,TitledSingleSelectEnumSchemaSchema:()=>vl,ToolAnnotationsSchema:()=>Nd,ToolChoiceSchema:()=>Gd,ToolExecutionSchema:()=>jd,ToolListChangedNotificationSchema:()=>Dd,ToolResultContentSchema:()=>Jd,ToolSchema:()=>Wi,ToolUseContentSchema:()=>Od,UnsubscribeRequestParamsSchema:()=>fd,UnsubscribeRequestSchema:()=>pd,UntitledMultiSelectEnumSchemaSchema:()=>Sl,UntitledSingleSelectEnumSchemaSchema:()=>gl});var qk=e=>nl.safeParse(e).success,Hk=e=>rl.safeParse(e).success,Mx=e=>Yo.safeParse(e).success,Zk=e=>Ko.safeParse(e).success;var Cm=-32020,_H=[{rung:"http-method",order:1,evaluatedAt:"edge",codes:[-32e3],conformance:[],rationale:"The modern era is POST-only; GET/DELETE are body-less 2025-era session operations and are method-routed to legacy serving (405 when legacy serving is not configured), before any body is read."},{rung:"jsonrpc-shape",order:2,evaluatedAt:"edge",codes:[ae.InvalidRequest],conformance:["server-stateless"],rationale:"The body must be a JSON-RPC request or notification: posted responses and batch arrays containing a modern or invalid element are rejected before classification (element-wise batch rule); all-legacy arrays stay legacy traffic."},{rung:"era-classification",order:3,evaluatedAt:"edge",codes:[Cm,ae.UnsupportedProtocolVersion],conformance:["server-stateless","http-header-validation","http-custom-header-server-validation"],rationale:"Body-primary era classification with the protocol-version header as a cross-check; a header/body disagreement is rejected with -32020 (HeaderMismatch), and an envelope-less request on a modern-only endpoint is answered with the unsupported-protocol-version error naming the supported revisions."},{rung:"envelope",order:4,evaluatedAt:"edge",codes:[ae.InvalidParams],conformance:["server-stateless"],rationale:"A present envelope claim with a malformed envelope \\u2014 and a missing envelope on a request whose protocol-version header names a modern revision \\u2014 is an invalid-params rejection naming the offending or missing key(s); never a silent fall back to legacy handling. This is the only place an invalid-params rejection maps to HTTP 400."},{rung:"method-registry",order:5,evaluatedAt:"dispatch",codes:[ae.MethodNotFound],conformance:["server-stateless"],rationale:"Method existence outranks parameter validity: a method absent from the negotiated revision\\u2019s registry (or with no handler installed) answers method-not-found before params or capabilities are looked at."},{rung:"request-params",order:6,evaluatedAt:"dispatch",codes:[ae.InvalidParams],conformance:[],rationale:"Per-method params validation; emitted in-band by the dispatch layer (HTTP 200), never via the ladder status table."},{rung:"standard-header-validation",order:7,evaluatedAt:"pre-dispatch",codes:[Cm],conformance:["http-header-validation"],rationale:"SEP-2243 standard `Mcp-Method` / `Mcp-Name` headers \\u2014 presence, sentinel decoding, and `Mcp-Name` \\u2194 body cross-check \\u2014 are validated by the HTTP entry on a modern-classified request after the supported-revision gate and before dispatch. The classifier\\u2019s own header-mismatch cells (protocol-version, `Mcp-Method` mismatch) stay on the edge `era-classification` rung; this rung carries the entry-layer presence/`Mcp-Name` half. Evaluated before the capability gate, the factory call, and the `Mcp-Param-*` rung so a request that fails several rungs is answered by the standard-header rung first. The documented order (after method-registry 5 and request-params 6) is NOT the observed precedence: serveModern evaluates this rung immediately after the supported-revision gate, so a request that also fails a dispatch rung is answered here before the dispatch rungs (5\\u20136) are consulted."},{rung:"client-capabilities",order:8,evaluatedAt:"pre-dispatch",codes:[ae.MissingRequiredClientCapability],conformance:["server-stateless"],rationale:"The capability requirement is checked by the HTTP entry, pre-dispatch, against the validated envelope the classifier produced \\u2014 pinning the spec-mandated HTTP 400 independently of how dispatch- and handler-produced errors are mapped. The documented order (after method resolution and params validation) is preserved observably only while the requirement table is empty: once a served method gains a requirement entry, a request that is missing the capability and would also fail a dispatch rung is answered by this gate first, so the entry must consult the method registry before the gate if the documented precedence is to stay observable."},{rung:"param-header-validation",order:9,evaluatedAt:"pre-dispatch",codes:[Cm],conformance:["http-custom-header-server-validation"],rationale:"SEP-2243 `Mcp-Param-*` headers are validated against the named tool\\u2019s `x-mcp-header` declarations and the body `arguments` after the tool registry is known and before dispatch reaches the handler; a missing/disagreeing/malformed header is rejected 400 / -32020 with the same shape as the standard-header cross-checks. The documented order (after method resolution and params validation) is preserved observably only when the body `arguments` would otherwise validate: the check runs pre-dispatch, so a `tools/call` that fails BOTH this rung and a dispatch-time rung (e.g. order-6 `request-params`, -32602) is answered by this gate first with 400 / -32020, not by the earlier-ordered rung."}],zH={[ae.ParseError]:400,[ae.InvalidRequest]:400,[ae.MethodNotFound]:404,[ae.UnsupportedProtocolVersion]:400,[ae.MissingRequiredClientCapability]:400,[Cm]:400};function Yx(e,t){return Iu(e,t)}function km(e){return new Set(e.flatMap(t=>Object.keys(t.shape)))}function Dx(e){if(e==null)return!1;let t=typeof e;return t!=="object"&&t!=="function"||!("~standard"in e)?!1:typeof e["~standard"]?.validate=="function"}var fk=!1,Lx="draft-2020-12";function cM(e,t="input"){let n=e["~standard"],i;if(n.jsonSchema)i=n.jsonSchema[t]({target:Lx});else if(n.vendor==="zod"){if(!("_zod"in e))throw new Error("Schema appears to be from zod 3, which the SDK cannot convert to JSON Schema. Upgrade to zod >=4.2.0, or wrap your JSON Schema with fromJsonSchema().");fk||(fk=!0,console.warn("[mcp-sdk] Your zod version does not implement `~standard.jsonSchema` (added in zod 4.2.0). Falling back to z.toJSONSchema(). Upgrade to zod >=4.2.0 to silence this warning.")),i=Zo(e,{target:Lx,io:t})}else throw new Error(`Schema library "${n.vendor}" does not implement StandardJSONSchemaV1 (\\`~standard.jsonSchema\\`). Upgrade to a version that does, or wrap your JSON Schema with fromJsonSchema().`);if(t==="output")return i.type!==void 0?i:Vk(i)?{type:"object",...i}:i;if(i.type!==void 0&&i.type!=="object")throw new Error(`MCP tool and prompt schemas must describe objects (got type: ${JSON.stringify(i.type)}). Wrap your schema in z.object({...}) or equivalent.`);return{type:"object",...i}}function Vk(e){if("properties"in e||"patternProperties"in e||"additionalProperties"in e||"required"in e)return!0;for(let t of["oneOf","anyOf","allOf"]){let n=e[t];if(Array.isArray(n)&&n.length>0)return n.every(i=>i!==null&&typeof i=="object"&&(i.type==="object"||Vk(i)))}return!1}function uM(e){return e.path?.length?`${e.path.map(t=>String(typeof t=="object"?t.key:t)).join(".")}: ${e.message}`:e.message}async function jx(e,t){let n=await e["~standard"].validate(t);return n.issues&&n.issues.length>0?{success:!1,error:n.issues.map(i=>uM(i)).join(", ")}:{success:!0,data:n.value}}function dM(e){let t=Zo(e,{target:Lx,io:"input"});return typeof t.pattern=="string"?t.pattern:void 0}var mM=/\\\\\\.\\\\d\\{(\\d+)\\}/;function fM(e){let t=mM.exec(e),n=[void 0,-1,0];return t&&n.push(Number(t[1])),[!1,!0].flatMap(i=>[!1,!0].flatMap(r=>n.map(o=>hn.datetime({local:i,offset:r,precision:o}))))}function pM(e,t){let n;switch(e){case"email":n=[_g()];break;case"uri":n=[Bs()];break;case"date":n=[hn.date()];break;case"date-time":n=fM(t);break}return new Set(n.map(i=>dM(i)).filter(i=>i!==void 0))}function hM(e,t,n){return n!=="zod"?!0:pM(e,t).has(t)}function jm(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function gM(e){try{return cM(e,"input")}catch(t){let n=t instanceof Error?t.message:String(t);throw new bt(ae.InvalidParams,`Elicitation requestedSchema must describe an object with flat primitive properties: ${n}`)}}var vM=new Set(["$comment","deprecated","description","examples","readOnly","title","writeOnly"]);function Kx(e){return vM.has(e)||e.startsWith("x-")}var yM=new Set(["$schema",...Object.keys(oa.shape.requestedSchema.shape)]),pk={string:km([ra,gl,vl,yl]),number:km([ia]),integer:km([ia]),boolean:km([hl]),array:km([Sl,bl])},SM=new Set(ra.shape.format.unwrap().options);function bM(e,t,n,i){if(!jm(e))return e;let r=typeof e.type=="string"&&Object.hasOwn(pk,e.type)?pk[e.type]:void 0;if(r===void 0)return e;let o={};for(let[a,s]of Object.entries(e))r.has(a)||Kx(a)?o[a]=s:a==="pattern"&&e.type==="string"&&typeof e.format=="string"?SM.has(e.format)?(typeof s!="string"||!hM(e.format,s,n))&&i.push(`${t}.${a}`):o[a]=s:i.push(`${t}.${a}`);return o}function _M(e,t){let n={},i=[];for(let[r,o]of Object.entries(e))r==="properties"&&jm(o)?n[r]=Object.fromEntries(Object.entries(o).map(([a,s])=>[a,bM(s,`properties.${a}`,t,i)])):yM.has(r)?n[r]=o:Kx(r)||i.push(r);if(i.length>0)throw new bt(ae.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${i.join(", ")}`);return n}function zM(e,t){if(!jm(e.properties))return t;let n=Object.entries(e.properties).filter(([,i])=>!Yx(_l,i).success).map(([i])=>`properties.${i}`);return n.length>0?n.join(", "):t}function qx(e,t,n=""){return Array.isArray(e)&&Array.isArray(t)?e.flatMap((i,r)=>qx(i,t[r],`${n}[${r}]`)):!jm(e)||!jm(t)?[]:Object.entries(e).flatMap(([i,r])=>{let o=n?`${n}.${i}`:i;return Object.prototype.hasOwnProperty.call(t,i)?qx(r,t[i],o):Kx(i)?[]:[o]})}function xM(e){if(!Dx(e.requestedSchema))return{...e,mode:"form",requestedSchema:e.requestedSchema};let t=e.requestedSchema["~standard"].vendor,n=_M(gM(e.requestedSchema),t),i=Yx(oa.shape.requestedSchema,n);if(!i.success)throw new bt(ae.InvalidParams,`Elicitation requestedSchema only supports flat primitive properties (string, number, integer, boolean, and string enums): ${zM(n,i.error.message)}`);let r=qx(n,i.data);if(r.length>0)throw new bt(ae.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${r.join(", ")}`);let o=(i.data.required??[]).filter(a=>!Object.prototype.hasOwnProperty.call(i.data.properties,a));if(o.length>0)throw new bt(ae.InvalidParams,`Elicitation requestedSchema lists required properties that are not defined in properties: ${o.join(", ")}`);return{...e,mode:"form",requestedSchema:i.data}}function wM(e){let t=e.inputRequests!==void 0&&Object.keys(e.inputRequests).length>0,n=typeof e.requestState=="string";if(!t&&!n)throw new TypeError("inputRequired() requires at least one of inputRequests (with at least one entry) or requestState (spec: every InputRequiredResult MUST include at least one of the two)");return{resultType:"input_required",...e.inputRequests!==void 0&&{inputRequests:e.inputRequests},...e.requestState!==void 0&&{requestState:e.requestState}}}var xH=Object.assign(wM,{elicit(e){try{return{method:"elicitation/create",params:xM(e)}}catch(t){throw t instanceof bt?new TypeError(t.message,{cause:t}):t}},elicitUrl(e){return{method:"elicitation/create",params:{...e,mode:"url"}}},createMessage(e){return{method:"sampling/createMessage",params:e}},listRoots(){return{method:"roots/list"}}});var TM=["AnnotationsSchema","AudioContentSchema","BaseMetadataSchema","BlobResourceContentsSchema","BooleanSchemaSchema","CallToolRequestSchema","CallToolRequestParamsSchema","CallToolResultSchema","CancelledNotificationSchema","CancelledNotificationParamsSchema","CancelTaskRequestSchema","CancelTaskResultSchema","ClientCapabilitiesSchema","ClientNotificationSchema","ClientRequestSchema","ClientResultSchema","CompatibilityCallToolResultSchema","CompleteRequestSchema","CompleteRequestParamsSchema","CompleteResultSchema","ContentBlockSchema","CreateMessageRequestSchema","CreateMessageRequestParamsSchema","CreateMessageResultSchema","CreateMessageResultWithToolsSchema","CreateTaskResultSchema","CursorSchema","DiscoverRequestSchema","DiscoverResultSchema","ElicitationCompleteNotificationSchema","ElicitationCompleteNotificationParamsSchema","ElicitRequestSchema","ElicitRequestFormParamsSchema","ElicitRequestParamsSchema","ElicitRequestURLParamsSchema","ElicitResultSchema","EmbeddedResourceSchema","EmptyResultSchema","EnumSchemaSchema","GetPromptRequestSchema","GetPromptRequestParamsSchema","GetPromptResultSchema","GetTaskPayloadRequestSchema","GetTaskPayloadResultSchema","GetTaskRequestSchema","GetTaskResultSchema","IconSchema","IconsSchema","ImageContentSchema","ImplementationSchema","InitializedNotificationSchema","InitializeRequestSchema","InitializeRequestParamsSchema","InitializeResultSchema","JSONArraySchema","JSONObjectSchema","JSONRPCErrorResponseSchema","JSONRPCMessageSchema","JSONRPCNotificationSchema","JSONRPCRequestSchema","JSONRPCResponseSchema","JSONRPCResultResponseSchema","JSONValueSchema","LegacyTitledEnumSchemaSchema","ListPromptsRequestSchema","ListPromptsResultSchema","ListResourcesRequestSchema","ListResourcesResultSchema","ListResourceTemplatesRequestSchema","ListResourceTemplatesResultSchema","ListRootsRequestSchema","ListRootsResultSchema","ListTasksRequestSchema","ListTasksResultSchema","ListToolsRequestSchema","ListToolsResultSchema","LoggingLevelSchema","LoggingMessageNotificationSchema","LoggingMessageNotificationParamsSchema","ModelHintSchema","ModelPreferencesSchema","MultiSelectEnumSchemaSchema","NotificationSchema","NumberSchemaSchema","PaginatedRequestSchema","PaginatedRequestParamsSchema","PaginatedResultSchema","PingRequestSchema","PrimitiveSchemaDefinitionSchema","ProgressSchema","ProgressNotificationSchema","ProgressNotificationParamsSchema","ProgressTokenSchema","PromptSchema","PromptArgumentSchema","PromptListChangedNotificationSchema","PromptMessageSchema","PromptReferenceSchema","ReadResourceRequestSchema","ReadResourceRequestParamsSchema","ReadResourceResultSchema","RelatedTaskMetadataSchema","RequestSchema","RequestIdSchema","RequestMetaSchema","ResourceSchema","ResourceContentsSchema","ResourceLinkSchema","ResourceListChangedNotificationSchema","ResourceRequestParamsSchema","ResourceTemplateSchema","ResourceTemplateReferenceSchema","ResourceUpdatedNotificationSchema","ResourceUpdatedNotificationParamsSchema","ResultMetaObjectSchema","ResultSchema","RoleSchema","RootSchema","RootsListChangedNotificationSchema","SamplingContentSchema","SamplingMessageSchema","SamplingMessageContentBlockSchema","ServerCapabilitiesSchema","ServerNotificationSchema","ServerRequestSchema","ServerResultSchema","SetLevelRequestSchema","SetLevelRequestParamsSchema","SingleSelectEnumSchemaSchema","StringSchemaSchema","SubscribeRequestSchema","SubscribeRequestParamsSchema","SubscriptionFilterSchema","SubscriptionsAcknowledgedNotificationSchema","SubscriptionsAcknowledgedNotificationParamsSchema","SubscriptionsListenRequestSchema","SubscriptionsListenRequestParamsSchema","SubscriptionsListenResultSchema","SubscriptionsListenResultMetaSchema","TaskAugmentedRequestParamsSchema","TaskCreationParamsSchema","TaskMetadataSchema","TaskSchema","TaskStatusSchema","TaskStatusNotificationSchema","TaskStatusNotificationParamsSchema","TextContentSchema","TextResourceContentsSchema","TitledMultiSelectEnumSchemaSchema","TitledSingleSelectEnumSchemaSchema","ToolSchema","ToolAnnotationsSchema","ToolChoiceSchema","ToolExecutionSchema","ToolListChangedNotificationSchema","ToolResultContentSchema","ToolUseContentSchema","UnsubscribeRequestSchema","UnsubscribeRequestParamsSchema","UntitledMultiSelectEnumSchemaSchema","UntitledSingleSelectEnumSchemaSchema"],$M={IdJagTokenExchangeResponseSchema:wm,OAuthClientInformationFullSchema:Em,OAuthClientInformationSchema:Rm,OAuthClientMetadataSchema:$m,OAuthClientRegistrationErrorSchema:gv,OAuthErrorResponseSchema:Tm,OAuthMetadataSchema:zl,OAuthProtectedResourceMetadataSchema:bm,OAuthTokenRevocationRequestSchema:vv,OAuthTokensSchema:xm,OpenIdProviderDiscoveryMetadataSchema:zm,OpenIdProviderMetadataSchema:_m},Bk={},Gk={};function Jk(e,t){let n=e.slice(0,-6);Bk[n]=t,Gk[n]=i=>t.safeParse(i).success}for(let e of TM)Jk(e,lM[e]);for(let[e,t]of Object.entries($M))Jk(e,t);var RM=Object.freeze(Bk),EM=Object.freeze(Gk);function OM(e){switch(e){case"initialize":case"notifications/initialized":return Nm(void 0);case"server/discover":return Nm(Jx);default:return}}var Yk=6e4,kM=[Bo,Fs,Go,Qs],IM=["inputResponses","requestState"];function hk(e,t){let n=e.params;if(!Ax(n))return{message:e,lifted:{}};let i=n._meta,r=Ax(i)?kM.filter(l=>l in i):[],o=t==="request"?IM.filter(l=>l in n):[];if(r.length===0&&o.length===0)return{message:e,lifted:{}};let a={},s={...n};if(r.length>0&&Ax(i)){let l={},c={...i};for(let d of r)l[d]=i[d],delete c[d];a.envelope=l,Object.keys(c).length>0?s._meta=c:delete s._meta}for(let l of o)l==="inputResponses"&&(a.inputResponses=s[l]),l==="requestState"&&(a.requestState=s[l]),delete s[l];return{message:{...e,params:s},lifted:a}}function gk(e,t){let n=e.validateResult(t,void 0);if(!(!n.ok&&n.reason==="not-in-era"))return{"~standard":{version:1,vendor:"mcp-wire-codec",validate(i){let r=e.validateResult(t,i);return r.ok?{value:r.value}:{issues:[{message:r.reason==="invalid"?r.message:`not-in-era: ${t}`}]}}}}}function Kk(e){return()=>e}var CM=Kk(void 0),NM,Fx=class{_transport;_requestMessageId=0;_requestHandlers=new Map;_requestHandlerAbortControllers=new Map;_notificationHandlers=new Map;_responseHandlers=new Map;_progressHandlers=new Map;_timeoutInfo=new Map;_pendingDebouncedNotifications=new Set;_negotiatedProtocolVersion;static{NM=(e,t)=>{e._negotiatedProtocolVersion=t}}_supportedProtocolVersions;onclose;onerror;fallbackRequestHandler;fallbackNotificationHandler;constructor(e){this._options=e,this._supportedProtocolVersions=e?.supportedProtocolVersions??Vg,this.setNotificationHandler("notifications/cancelled",t=>{this._oncancel(t)}),this.setNotificationHandler("notifications/progress",t=>{this._onprogress(t)}),this.setRequestHandler("ping",t=>({}))}_shouldDropInbound(e){}_outboundMetaEnvelope(){}_envelopeOutbound(e){let t=this._outboundMetaEnvelope();if(t===void 0)return e;let n=e.params??{};return{...e,params:{...n,_meta:{...t,...n._meta}}}}_resolveNonCompleteResult(e,t){return Promise.reject(new Fe(St.UnsupportedResultType,`Unsupported result type \'${e.kind}\' for ${t.request.method}`,{resultType:e.kind,method:t.request.method}))}_getRequestHandler(e){return this._requestHandlers.get(e)}async _oncancel(e){e.params.requestId&&this._requestHandlerAbortControllers.get(e.params.requestId)?.abort(e.params.reason)}_setupTimeout(e,t,n,i,r=!1){this._timeoutInfo.set(e,{timeoutId:setTimeout(i,t),startTime:Date.now(),timeout:t,maxTotalTimeout:n,resetTimeoutOnProgress:r,onTimeout:i})}_resetTimeout(e){let t=this._timeoutInfo.get(e);if(!t)return!1;let n=Date.now()-t.startTime;if(t.maxTotalTimeout&&n>=t.maxTotalTimeout)throw this._timeoutInfo.delete(e),new Fe(St.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:t.maxTotalTimeout,totalElapsed:n});return clearTimeout(t.timeoutId),t.timeoutId=setTimeout(t.onTimeout,t.timeout),!0}_cleanupTimeout(e){let t=this._timeoutInfo.get(e);t&&(clearTimeout(t.timeoutId),this._timeoutInfo.delete(e))}async connect(e){this._transport=e;let t=this.transport?.onclose;this._transport.onclose=()=>{try{t?.()}finally{this._onclose()}};let n=this.transport?.onerror;this._transport.onerror=r=>{n?.(r),this._onerror(r)};let i=this._transport?.onmessage;this._transport.onmessage=(r,o)=>{i?.(r,o),Mx(r)||Zk(r)?this._onresponse(r):qk(r)?this._onrequest(r,o):Hk(r)?this._onnotification(r,o):this._onerror(new Error(`Unknown message type: ${JSON.stringify(r)}`))},e.setSupportedProtocolVersions?.(this._supportedProtocolVersions),await this._transport.start()}_onclose(){let e=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._pendingDebouncedNotifications.clear();for(let i of this._timeoutInfo.values())clearTimeout(i.timeoutId);this._timeoutInfo.clear();let t=this._requestHandlerAbortControllers;this._requestHandlerAbortControllers=new Map;let n=new Fe(St.ConnectionClosed,"Connection closed");this._transport=void 0;try{this.onclose?.()}finally{for(let i of e.values())i(n);for(let i of t.values())i.abort(n)}}_onerror(e){this.onerror?.(e)}_onnotification(e,t){let{message:n}=hk(e,"notification"),i=this._negotiatedWireCodec();if(t?.classification===void 0&&this._shouldDropInbound(e)==="drop")return;if(t?.classification!==void 0){let a=mk(t.classification);if(a!==i.era){this._onerror(new Error(`Era mismatch on inbound notification \'${n.method}\': classified as ${a} but this instance serves ${i.era}`));return}}if(Nx(n.method)&&!i.hasNotificationMethod(n.method))return;let r=this._notificationHandlers.get(n.method),o=this.fallbackNotificationHandler;r===void 0&&o===void 0||Promise.resolve().then(()=>r===void 0?o(n):r(n,i)).catch(a=>this._onerror(new Error(`Uncaught error in notification handler: ${a}`)))}_onrequest(e,t){let{message:n,lifted:i}=hk(e,"request"),r=this._negotiatedWireCodec();if(t?.classification===void 0&&this._shouldDropInbound(e)==="drop"){this._onerror(new Error(`Dropped inbound request \'${e.method}\': not servable on this connection\'s protocol era`));return}let o=this._transport,a=($,j,y)=>{let g={jsonrpc:"2.0",id:n.id,error:{code:$,message:j,...y!==void 0&&{data:y}}};o?.send(g).catch(S=>this._onerror(new Error(`Failed to send an error response: ${S}`)))};if(t?.classification!==void 0){let $=mk(t.classification);if($!==r.era){this._onerror(new Error(`Era mismatch on inbound request \'${n.method}\': classified as ${$} but this instance serves ${r.era}`));let j=t.classification.revision??$;a(ae.UnsupportedProtocolVersion,`Unsupported protocol version: ${j}`,{supported:this._supportedProtocolVersions,requested:j});return}}if(Cx(n.method)&&!r.hasRequestMethod(n.method)){a(ae.MethodNotFound,"Method not found");return}let s=this._requestHandlers.get(n.method)??this.fallbackRequestHandler;if(s===void 0){a(ae.MethodNotFound,"Method not found");return}let l=r.checkInboundEnvelope(i);if(l!==void 0){a(ae.InvalidParams,l);return}let c=($,j)=>this._notificationViaCodec(this._resolveOutboundCodec($.method),$,{...j,relatedRequestId:n.id}),d=($,j,y)=>this._requestWithSchemaViaCodec(this._resolveOutboundCodec($.method),$,j,{...y,relatedRequestId:n.id}),p=new AbortController;this._requestHandlerAbortControllers.set(n.id,p);let m=i.inputResponses===void 0?void 0:jM(i.inputResponses),f={sessionId:o?.sessionId,mcpReq:{id:n.id,method:n.method,_meta:n.params?._meta,...i.envelope!==void 0&&{envelope:i.envelope},...m!==void 0&&{inputResponses:m.accepted},...m!==void 0&&m.droppedKeys.length>0&&{droppedInputResponseKeys:m.droppedKeys},requestState:i.requestState===void 0?CM:Kk(i.requestState),signal:p.signal,send:(($,j,y)=>{let g=this._resolveOutboundCodec($.method);if(this._assertOutboundRequestInEra(g,$.method),Dx(j))return d($,j,y);let S=gk(g,$.method);if(S===void 0)throw new TypeError(`\'${$.method}\' is not a spec method; pass a result schema as the second argument to ctx.mcpReq.send().`);return d($,S,j)}),notify:c},http:t?.authInfo?{authInfo:t.authInfo}:void 0},_=this.buildContext(f,t);Promise.resolve().then(()=>s(n,_)).then(async $=>{if(p.signal.aborted)return;let j;try{j=r.encodeResult(n.method,$,this._outboundServerInfo())}catch(g){this._onerror(new Error(`Failed to encode result for ${n.method}: ${g}`)),a(ae.InternalError,"Internal error");return}let y={result:j,jsonrpc:"2.0",id:n.id};await o?.send(y)},async $=>{if(p.signal.aborted)return;let j=Number.isSafeInteger($.code)?$.code:ae.InternalError,y={jsonrpc:"2.0",id:n.id,error:{code:r.encodeErrorCode(j),message:$.message??"Internal error",...$.data!==void 0&&{data:$.data}}};await o?.send(y)}).catch($=>this._onerror(new Error(`Failed to send response: ${$}`))).finally(()=>{this._requestHandlerAbortControllers.get(n.id)===p&&this._requestHandlerAbortControllers.delete(n.id)})}_onprogress(e){let{progressToken:t,...n}=e.params,i=Number(t),r=this._progressHandlers.get(i);if(!r){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(e)}`));return}let o=this._responseHandlers.get(i),a=this._timeoutInfo.get(i);if(a&&o&&a.resetTimeoutOnProgress)try{this._resetTimeout(i)}catch(s){this._responseHandlers.delete(i),this._progressHandlers.delete(i),this._cleanupTimeout(i),o(s);return}r(n)}_onresponse(e){let t=Number(e.id),n=this._responseHandlers.get(t);if(n===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`));return}this._responseHandlers.delete(t),this._cleanupTimeout(t),this._progressHandlers.delete(t),Mx(e)?n(e):n(bt.fromError(e.error.code,e.error.message,e.error.data))}get transport(){return this._transport}async close(){await this._transport?.close()}request(e,t,n){let i=this._resolveOutboundCodec(e.method);if(this._assertOutboundRequestInEra(i,e.method),Dx(t))return this._requestWithSchemaViaCodec(i,e,t,n);let r=gk(i,e.method);if(r===void 0)throw new TypeError(`\'${e.method}\' is not a spec method; pass a result schema as the second argument to request().`);return this._requestWithSchemaViaCodec(i,e,r,t)}_negotiatedWireCodec(){return Nm(this._negotiatedProtocolVersion)}_wireCodec(){return this._negotiatedWireCodec()}_resolveOutboundCodec(e){if(this._negotiatedProtocolVersion===void 0){let t=OM(e);if(t)return t}return this._negotiatedWireCodec()}_assertOutboundRequestInEra(e,t){if(Cx(t)&&!e.hasRequestMethod(t))throw new Fe(St.MethodNotSupportedByProtocolVersion,`Method \'${t}\' is not supported by the negotiated protocol version (wire era ${e.era})`,{method:t,era:e.era})}_requestWithSchema(e,t,n){let i=this._resolveOutboundCodec(e.method);return this._assertOutboundRequestInEra(i,e.method),this._requestWithSchemaViaCodec(i,e,t,n)}_requestWithSchemaViaCodec(e,t,n,i){let{relatedRequestId:r,resumptionToken:o,onresumptiontoken:a,headers:s}=i??{},l=Date.now(),c,d;return new Promise((p,m)=>{let f=H=>{m(H)};if(!this._transport){f(new Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(t.method)}catch(H){f(H);return}if(i?.signal?.aborted){let H=i.signal.reason;throw H instanceof Fe?H:new Fe(St.RequestTimeout,String(H))}let _=e.era===Jx&&this._transport.hasPerRequestStream===!0?new AbortController:void 0,$=this._requestMessageId++;d=$;let j={...t,jsonrpc:"2.0",id:$};i?.onprogress&&(this._progressHandlers.set($,i.onprogress),j.params={...t.params,_meta:{...t.params?._meta,progressToken:$}});let y=this._envelopeOutbound(j),g=!1,S=H=>{g||(this._progressHandlers.delete($),_===void 0?this._transport?.send(this._envelopeOutbound({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:$,reason:String(H)}}),{relatedRequestId:r,resumptionToken:o,onresumptiontoken:a}).catch(M=>this._onerror(new Error(`Failed to send cancellation: ${M}`))):_.abort(),m(H instanceof Fe?H:new Fe(St.RequestTimeout,String(H))))};this._responseHandlers.set($,H=>{if(i?.signal?.aborted)return;if(g=!0,H instanceof Error)return m(H);let M;try{M=e.decodeResult(t.method,H.result)}catch(oe){return m(oe instanceof Error?oe:new Error(String(oe)))}if(M.kind==="invalid")return m(M.error);if(M.kind==="input_required"){if(i?.allowInputRequired===!0)return p(AM(M));let oe={codec:e,request:t,resultSchema:n,options:i,flowStartedAt:l,retry:(W,me)=>this._requestWithSchemaViaCodec(e,W===void 0?{method:t.method}:{method:t.method,params:W},n,me)};return p(this._resolveNonCompleteResult(M,oe))}let B=M.result;jx(n,B).then(oe=>{oe.success?p(oe.data):m(new Fe(St.InvalidResult,`Invalid result for ${t.method}: ${oe.error}`))},m)}),c=()=>S(i?.signal?.reason),i?.signal?.addEventListener("abort",c,{once:!0});let x=i?.timeout??Yk,I=()=>S(new Fe(St.RequestTimeout,"Request timed out",{timeout:x}));this._setupTimeout($,x,i?.maxTotalTimeout,I,i?.resetTimeoutOnProgress??!1),this._transport.send(y,{relatedRequestId:r,resumptionToken:o,onresumptiontoken:a,headers:s,requestSignal:_?.signal}).catch(H=>{this._progressHandlers.delete($),m(H)})}).finally(()=>{c&&i?.signal?.removeEventListener("abort",c),d!==void 0&&(this._responseHandlers.delete(d),this._cleanupTimeout(d))})}async notification(e,t){return this._notificationViaCodec(this._resolveOutboundCodec(e.method),e,t)}async _notificationViaCodec(e,t,n){if(!this._transport)throw new Fe(St.NotConnected,"Not connected");if(Nx(t.method)&&!e.hasNotificationMethod(t.method))throw new Fe(St.MethodNotSupportedByProtocolVersion,`Notification \'${t.method}\' is not supported by the negotiated protocol version (wire era ${e.era})`,{method:t.method,era:e.era});this.assertNotificationCapability(t.method);let i=this._envelopeOutbound({jsonrpc:"2.0",...t});if((this._options?.debouncedNotificationMethods??[]).includes(t.method)&&!t.params&&!n?.relatedRequestId){if(this._pendingDebouncedNotifications.has(t.method))return;this._pendingDebouncedNotifications.add(t.method),Promise.resolve().then(()=>{this._pendingDebouncedNotifications.delete(t.method),this._transport&&this._transport?.send(i,n).catch(r=>this._onerror(r))});return}await this._transport.send(i,n)}setRequestHandler(e,t,n){this.assertRequestHandlerCapability(e);let i;if(typeof t=="function"){if(!Cx(e))throw new TypeError(`\'${e}\' is not a spec request method; pass schemas as the second argument to setRequestHandler().`);i=(r,o)=>{let a=this._negotiatedWireCodec(),s=a.validateRequest(e,r);if(!s.ok&&s.reason==="not-in-era"&&(s=a.validateInputRequest(e,r)),!s.ok)throw s.reason==="not-in-era"?new bt(ae.InternalError,`No wire schema for ${e} in the resolved era`):new Error(s.message);return Promise.resolve(t(s.value,o))}}else if(n)i=async(r,o)=>{let a=await jx(t.params,{...r.params});if(!a.success)throw new bt(ae.InvalidParams,`Invalid params for ${e}: ${a.error}`);return n(a.data,o)};else throw new TypeError("setRequestHandler: handler is required");this._requestHandlers.set(e,this._wrapHandler(e,i))}_wrapHandler(e,t){return t}_outboundServerInfo(){}removeRequestHandler(e){this._requestHandlers.delete(e)}assertCanSetRequestHandler(e){if(this._requestHandlers.has(e))throw new Error(`A request handler for ${e} already exists, which would be overridden`)}setNotificationHandler(e,t,n){if(typeof t=="function"){if(!Nx(e))throw new TypeError(`\'${e}\' is not a spec notification method; pass schemas as the second argument to setNotificationHandler().`);this._notificationHandlers.set(e,(i,r)=>{let o=r.validateNotification(e,i);if(!o.ok)throw o.reason==="not-in-era"?new bt(ae.InternalError,`No wire schema for ${e} in the resolved era`):new Error(o.message);return Promise.resolve(t(o.value))});return}if(!n)throw new TypeError("setNotificationHandler: handler is required");this._notificationHandlers.set(e,async i=>{let r=await jx(t.params,{...i.params});if(!r.success)throw new bt(ae.InvalidParams,`Invalid params for notification ${e}: ${r.error}`);await n(r.data,i)})}removeNotificationHandler(e){this._notificationHandlers.delete(e)}};function Ax(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function vk(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function jM(e){let t={},n=[];if(!vk(e))return{accepted:t,droppedKeys:n};for(let[i,r]of Object.entries(e)){if(!vk(r)||"method"in r||"result"in r){n.push(i);continue}t[i]=r}return{accepted:t,droppedKeys:n}}function AM(e){return{resultType:"input_required",inputRequests:e.inputRequests,...e.requestState!==void 0&&{requestState:e.requestState}}}var PM=aE((e=>{var t=/; *([!#$%&\'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\\u000b\\u0020\\u0021\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u000b\\u0020-\\u00ff])*"|[!#$%&\'*+.^_`|~0-9A-Za-z-]+) */g,n=/\\\\([\\u000b\\u0020-\\u00ff])/g,i=/^[!#$%&\'*+.^_`|~0-9A-Za-z-]+\\/[!#$%&\'*+.^_`|~0-9A-Za-z-]+$/;e.parse=r;function r(s){if(!s)throw new TypeError("argument string is required");var l=typeof s=="object"?o(s):s;if(typeof l!="string")throw new TypeError("argument string is required to be a string");var c=l.indexOf(";"),d=c!==-1?l.slice(0,c).trim():l.trim();if(!i.test(d))throw new TypeError("invalid media type");var p=new a(d.toLowerCase());if(c!==-1){var m,f,_;for(t.lastIndex=c;f=t.exec(l);){if(f.index!==c)throw new TypeError("invalid parameter format");c+=f[0].length,m=f[1].toLowerCase(),_=f[2],_.charCodeAt(0)===34&&(_=_.slice(1,-1),_.indexOf("\\\\")!==-1&&(_=_.replace(n,"$1"))),p.parameters[m]=_}if(c!==l.length)throw new TypeError("invalid parameter format")}return p}function o(s){var l;if(typeof s.getHeader=="function"?l=s.getHeader("content-type"):typeof s.headers=="object"&&(l=s.headers&&s.headers["content-type"]),typeof l!="string")throw new TypeError("content-type header is missing from object");return l}function a(s){this.parameters=Object.create(null),this.type=s}})),wH=lE(PM(),1);var UM=10*1024*1024;var AH=typeof self<"u"&&self.location&&self.location.origin!=="null"?new URL(self.location.origin+self.location.pathname+location.search):new URL("https://github.com/cfworker");var MM=/^(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)$/,DM=[0,31,28,31,30,31,30,31,31,30,31,30,31],LM=/^(\\d\\d):(\\d\\d):(\\d\\d)(\\.\\d+)?(z|[+-]\\d\\d(?::?\\d\\d)?)?$/i,qM=/^(?=.{1,253}\\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\\.?$/i,HM=/^(?:[a-z][a-z0-9+\\-.]*:)?(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&\'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\\.[a-z0-9\\-._~!$&\'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)|(?:[a-z0-9\\-._~!$&\'"()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&\'"()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&\'"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&\'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&\'"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&\'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\\?(?:[a-z0-9\\-._~!$&\'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&\'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,ZM=/^(?:(?:[^\\x00-\\x20"\'<>%\\\\^`{|}]|%[0-9a-f]{2})|\\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?)*\\})*$/i,VM=/^(?:(?:https?|ftp):\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?!10(?:\\.\\d{1,3}){3})(?!127(?:\\.\\d{1,3}){3})(?!169\\.254(?:\\.\\d{1,3}){2})(?!192\\.168(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u{00a1}-\\u{ffff}0-9]+-?)*[a-z\\u{00a1}-\\u{ffff}0-9]+)(?:\\.(?:[a-z\\u{00a1}-\\u{ffff}0-9]+-?)*[a-z\\u{00a1}-\\u{ffff}0-9]+)*(?:\\.(?:[a-z\\u{00a1}-\\u{ffff}]{2,})))(?::\\d{2,5})?(?:\\/[^\\s]*)?$/iu,BM=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,GM=/^(?:\\/(?:[^~/]|~0|~1)*)*$/,JM=/^#(?:\\/(?:[a-z0-9_\\-.!$&\'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,YM=/^(?:0|[1-9][0-9]*)(?:#|(?:\\/(?:[^~/]|~0|~1)*)*)$/,KM=e=>{if(e[0]===\'"\')return!1;let[t,n,...i]=e.split("@");return!t||!n||i.length!==0||t.length>64||n.length>253||t[0]==="."||t.endsWith(".")||t.includes("..")||!/^[a-z0-9.-]+$/i.test(n)||!/^[a-z0-9.!#$%&\'*+/=?^_`{|}~-]+$/i.test(t)?!1:n.split(".").every(r=>/^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$/i.test(r))},FM=/^(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)$/,QM=/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))$/i,XM=e=>e.length>1&&e.length<80&&(/^P\\d+([.,]\\d+)?W$/.test(e)||/^P[\\dYMDTHS]*(\\d[.,]\\d+)?[YMDHS]$/.test(e)&&/^P([.,\\d]+Y)?([.,\\d]+M)?([.,\\d]+D)?(T([.,\\d]+H)?([.,\\d]+M)?([.,\\d]+S)?)?$/.test(e));function xr(e){return e.test.bind(e)}var PH={date:Fk,time:Qk.bind(void 0,!1),"date-time":t8,duration:XM,uri:i8,"uri-reference":xr(HM),"uri-template":xr(ZM),url:xr(VM),email:KM,hostname:xr(qM),ipv4:xr(FM),ipv6:xr(QM),regex:a8,uuid:xr(BM),"json-pointer":xr(GM),"json-pointer-uri-fragment":xr(JM),"relative-json-pointer":xr(YM)};function WM(e){return e%4===0&&(e%100!==0||e%400===0)}function Fk(e){let t=e.match(MM);if(!t)return!1;let n=+t[1],i=+t[2],r=+t[3];return i>=1&&i<=12&&r>=1&&r<=(i==2&&WM(n)?29:DM[i])}function Qk(e,t){let n=t.match(LM);if(!n)return!1;let i=+n[1],r=+n[2],o=+n[3],a=!!n[5];return(i<=23&&r<=59&&o<=59||i==23&&r==59&&o==60)&&(!e||a)}var e8=/t|\\s/i;function t8(e){let t=e.split(e8);return t.length==2&&Fk(t[0])&&Qk(!0,t[1])}var n8=/\\/|:/,r8=/^(?:[a-z][a-z0-9+\\-.]*:)(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&\'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\\.[a-z0-9\\-._~!$&\'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)|(?:[a-z0-9\\-._~!$&\'()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&\'()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&\'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&\'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&\'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&\'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\\?(?:[a-z0-9\\-._~!$&\'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&\'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function i8(e){return n8.test(e)&&r8.test(e)}var o8=/[^\\\\]\\\\Z/;function a8(e){if(o8.test(e))return!1;try{return new RegExp(e,"u"),!0}catch{return!1}}var l8;l8=globalThis.crypto;var Am=class extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.OAuthClientFlowError"})}static[Symbol.hasInstance](e){return gn(this,e)}static isInstance(e){if(typeof this!="function")throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return gn(this,e)}constructor(e){super(e),this.name=new.target.name,sa(this,new.target)}},$Z=class extends Am{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.IssuerMismatchError"})}kind;expected;received;constructor(e,t,n){super(`Issuer mismatch in ${e==="metadata"?"authorization server metadata (RFC 8414 \\xA73.3)":"authorization response (RFC 9207)"}: expected ${JSON.stringify(t)}, received ${JSON.stringify(n)}`),this.kind=e,this.expected=t,this.received=n}},RZ=class extends Am{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.RegistrationRejectedError"})}status;body;submittedMetadata;constructor(e){super(`Dynamic Client Registration rejected (HTTP ${e.status}): ${e.body}`),this.status=e.status,this.body=e.body,this.submittedMetadata=e.submittedMetadata}},EZ=class extends Am{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.InsecureTokenEndpointError"})}tokenEndpoint;constructor(e){super(`Refusing to send credentials to non-https token endpoint \'${e}\'. OAuth token requests MUST use TLS (localhost / 127.0.0.1 / ::1 are exempt).`),this.tokenEndpoint=e}},OZ=class extends Am{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.AuthorizationServerMismatchError"})}constructor(e,t){super(`Authorization server changed between redirect and callback (redirected to ${JSON.stringify(e)}, callback resolved ${JSON.stringify(t)}); refusing to send authorization_code/code_verifier to a different token endpoint`),this.recordedIssuer=e,this.currentIssuer=t}},kZ=class extends Am{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.InsufficientScopeError"})}requiredScope;resourceMetadataUrl;errorDescription;constructor(e){super(`Insufficient scope${e.requiredScope?`: required "${e.requiredScope}"`:""}`),this.requiredScope=e.requiredScope,this.resourceMetadataUrl=e.resourceMetadataUrl,this.errorDescription=e.errorDescription}};var IZ=class extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.UnauthorizedError"})}static[Symbol.hasInstance](e){return gn(this,e)}static isInstance(e){if(typeof this!="function")throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return gn(this,e)}constructor(e){super(e??"Unauthorized"),this.name="UnauthorizedError",sa(this,new.target)}};var CZ=class extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.SseError"})}static[Symbol.hasInstance](e){return gn(this,e)}static isInstance(e){if(typeof this!="function")throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return gn(this,e)}constructor(e,t,n){super(`SSE error: ${t}`),this.code=e,this.event=n,sa(this,new.target)}};var j8=G(Ae(),1),o3=G(Ae(),1),a3=G(Ae(),1);var Qx=class{_eventSlots=new Map;setHandler(t,n){let i=this._ensureEventSlot(t);i.onHandler&&n&&console.warn(`[MCP Apps] on${String(t)} handler replaced. Use addEventListener("${String(t)}", \\u2026) to add multiple listeners without replacing.`),i.onHandler=n}getHandler(t){return this._eventSlots.get(t)?.onHandler}addEventListener(t,n){this._ensureEventSlot(t).listeners.push(n)}removeEventListener(t,n){let i=this._eventSlots.get(t);if(!i)return;let r=i.listeners.indexOf(n);r!==-1&&i.listeners.splice(r,1)}dispatch(t,n){let i=this._eventSlots.get(t);if(i){i.onHandler?.(n);for(let r of[...i.listeners])r(n)}}_ensureEventSlot(t){let n=this._eventSlots.get(t);return n||(n={listeners:[]},this._eventSlots.set(t,n)),n}},Xx=class{_methods=new Set;claim(t,n){if(this._methods.has(t))throw Error(`Handler for "${t}" already registered (via ${n}). Use addEventListener() to attach multiple listeners, or the on* setter for replace semantics.`);this._methods.add(t)}replace(t){this._methods.add(t)}release(t){this._methods.delete(t)}has(t){return this._methods.has(t)}},Xk=new Set;function Wk(e,t){let[n,i]=t,r=n?.shape;if(typeof r?.method?.value!="string")return;let o=r.method.value,a=e==="request"?"setRequestHandler":"setNotificationHandler";Xk.has(a)||(Xk.add(a),console.warn(`[ext-apps] ${a}(Schema, handler) is deprecated; use ${a}("${o}", { params: Schema.shape.params }, handler).`));let s=i;return[o,{params:r.params},e==="request"?(l,c)=>s({method:o,params:l},c8(c)):l=>s({method:o,params:l})]}function c8(e){return{signal:e.mcpReq.signal,requestId:e.mcpReq.id,sessionId:e.sessionId,_meta:e.mcpReq._meta,sendRequest:e.mcpReq.send,sendNotification:e.mcpReq.notify,authInfo:e.http?.authInfo}}var u8="2026-01-26";var d8="ui/notifications/tool-input-partial";var zv=class{eventTarget;eventSource;messageListener;constructor(t=window.parent,n){this.eventTarget=t,this.eventSource=n,this.messageListener=i=>{if(n&&i.source!==this.eventSource){console.debug("Ignoring message from unknown source",i);return}let r=Fo.safeParse(i.data);r.success?(console.debug("Parsed message",r.data),this.onmessage?.(r.data)):i.data?.jsonrpc!=="2.0"?console.debug("Ignoring non-JSON-RPC message",r.error.message,i):(console.error("Failed to parse message",r.error.message,i),this.onerror?.(Error("Invalid JSON-RPC message received: "+r.error.message)))}}async start(){window.addEventListener("message",this.messageListener)}async send(t,n){t.method!==d8&&console.debug("Sending message",t),this.eventTarget.postMessage(t,"*")}async close(){window.removeEventListener("message",this.messageListener),this.onclose?.()}onclose;onerror;onmessage;sessionId;setProtocolVersion},m8=h.union([h.literal("light"),h.literal("dark")]).describe("Color theme preference for the host environment."),Pm=h.union([h.literal("inline"),h.literal("fullscreen"),h.literal("pip")]).describe("Display mode for UI presentation."),f8=h.union([h.literal("--color-background-primary"),h.literal("--color-background-secondary"),h.literal("--color-background-tertiary"),h.literal("--color-background-inverse"),h.literal("--color-background-ghost"),h.literal("--color-background-info"),h.literal("--color-background-danger"),h.literal("--color-background-success"),h.literal("--color-background-warning"),h.literal("--color-background-disabled"),h.literal("--color-text-primary"),h.literal("--color-text-secondary"),h.literal("--color-text-tertiary"),h.literal("--color-text-inverse"),h.literal("--color-text-ghost"),h.literal("--color-text-info"),h.literal("--color-text-danger"),h.literal("--color-text-success"),h.literal("--color-text-warning"),h.literal("--color-text-disabled"),h.literal("--color-border-primary"),h.literal("--color-border-secondary"),h.literal("--color-border-tertiary"),h.literal("--color-border-inverse"),h.literal("--color-border-ghost"),h.literal("--color-border-info"),h.literal("--color-border-danger"),h.literal("--color-border-success"),h.literal("--color-border-warning"),h.literal("--color-border-disabled"),h.literal("--color-ring-primary"),h.literal("--color-ring-secondary"),h.literal("--color-ring-inverse"),h.literal("--color-ring-info"),h.literal("--color-ring-danger"),h.literal("--color-ring-success"),h.literal("--color-ring-warning"),h.literal("--font-sans"),h.literal("--font-mono"),h.literal("--font-weight-normal"),h.literal("--font-weight-medium"),h.literal("--font-weight-semibold"),h.literal("--font-weight-bold"),h.literal("--font-text-xs-size"),h.literal("--font-text-sm-size"),h.literal("--font-text-md-size"),h.literal("--font-text-lg-size"),h.literal("--font-heading-xs-size"),h.literal("--font-heading-sm-size"),h.literal("--font-heading-md-size"),h.literal("--font-heading-lg-size"),h.literal("--font-heading-xl-size"),h.literal("--font-heading-2xl-size"),h.literal("--font-heading-3xl-size"),h.literal("--font-text-xs-line-height"),h.literal("--font-text-sm-line-height"),h.literal("--font-text-md-line-height"),h.literal("--font-text-lg-line-height"),h.literal("--font-heading-xs-line-height"),h.literal("--font-heading-sm-line-height"),h.literal("--font-heading-md-line-height"),h.literal("--font-heading-lg-line-height"),h.literal("--font-heading-xl-line-height"),h.literal("--font-heading-2xl-line-height"),h.literal("--font-heading-3xl-line-height"),h.literal("--border-radius-xs"),h.literal("--border-radius-sm"),h.literal("--border-radius-md"),h.literal("--border-radius-lg"),h.literal("--border-radius-xl"),h.literal("--border-radius-full"),h.literal("--border-width-regular"),h.literal("--shadow-hairline"),h.literal("--shadow-sm"),h.literal("--shadow-md"),h.literal("--shadow-lg")]).describe("CSS variable keys available to MCP apps for theming."),p8=h.record(f8.describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),h.union([h.string(),h.undefined()]).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`)).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),KZ=h.object({method:h.literal("ui/open-link"),params:h.object({url:h.string().describe("URL to open in the host\'s browser")})}),h8=h.object({isError:h.boolean().optional().describe("True if the host failed to open the URL (e.g., due to security policy).")}).passthrough(),g8=h.object({isError:h.boolean().optional().describe("True if the download failed (e.g., user cancelled or host denied).")}).passthrough(),v8=h.object({isError:h.boolean().optional().describe("True if the host rejected or failed to deliver the message.")}).passthrough(),FZ=h.object({method:h.literal("ui/notifications/sandbox-proxy-ready"),params:h.object({})}),ew=h.object({connectDomains:h.array(h.string()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).\n\n- Maps to CSP \\`connect-src\\` directive\n- Empty or omitted \\u2192 no network connections (secure default)`),resourceDomains:h.array(h.string()).optional().describe("Origins for static resources (images, scripts, stylesheets, fonts, media).\\n\\n- Maps to CSP `img-src`, `script-src`, `style-src`, `font-src`, `media-src` directives\\n- Wildcard subdomains supported: `https://*.example.com`\\n- Empty or omitted \\u2192 no network resources (secure default)"),frameDomains:h.array(h.string()).optional().describe("Origins for nested iframes.\\n\\n- Maps to CSP `frame-src` directive\\n- Empty or omitted \\u2192 no nested iframes allowed (`frame-src \'none\'`)"),baseUriDomains:h.array(h.string()).optional().describe("Allowed base URIs for the document.\\n\\n- Maps to CSP `base-uri` directive\\n- Empty or omitted \\u2192 only same origin allowed (`base-uri \'self\'`)")}),tw=h.object({camera:h.object({}).optional().describe("Request camera access.\\n\\nMaps to Permission Policy `camera` feature."),microphone:h.object({}).optional().describe("Request microphone access.\\n\\nMaps to Permission Policy `microphone` feature."),geolocation:h.object({}).optional().describe("Request geolocation access.\\n\\nMaps to Permission Policy `geolocation` feature."),clipboardWrite:h.object({}).optional().describe("Request clipboard write access.\\n\\nMaps to Permission Policy `clipboard-write` feature.")}),QZ=h.object({method:h.literal("ui/notifications/size-changed"),params:h.object({width:h.number().optional().describe("New width in pixels."),height:h.number().optional().describe("New height in pixels.")})}),y8=h.object({method:h.literal("ui/notifications/tool-input"),params:h.object({arguments:h.record(h.string(),h.unknown().describe("Complete tool call arguments as key-value pairs.")).optional().describe("Complete tool call arguments as key-value pairs.")})}),S8=h.object({method:h.literal("ui/notifications/tool-input-partial"),params:h.object({arguments:h.record(h.string(),h.unknown().describe("Partial tool call arguments (incomplete, may change).")).optional().describe("Partial tool call arguments (incomplete, may change).")})}),b8=h.object({method:h.literal("ui/notifications/tool-cancelled"),params:h.object({reason:h.string().optional().describe(\'Optional reason for the cancellation (e.g., "user action", "timeout").\')})}),_8=h.object({fonts:h.string().optional()}),z8=h.object({variables:p8.optional().describe("CSS variables for theming the app."),css:_8.optional().describe("CSS blocks that apps can inject.")}),x8=h.object({method:h.literal("ui/resource-teardown"),params:h.object({})}),w8=h.record(h.string(),h.unknown()),e3=h.object({text:h.object({}).optional().describe("Host supports text content blocks."),image:h.object({}).optional().describe("Host supports image content blocks."),audio:h.object({}).optional().describe("Host supports audio content blocks."),resource:h.object({}).optional().describe("Host supports resource content blocks."),resourceLink:h.object({}).optional().describe("Host supports resource link content blocks."),structuredContent:h.object({}).optional().describe("Host supports structured content.")}),XZ=h.object({method:h.literal("ui/notifications/request-teardown"),params:h.object({}).optional()}),T8=h.object({experimental:h.record(h.string(),h.record(h.string(),h.any()).describe("Experimental features keyed by identifier.")).optional().describe("Experimental features keyed by identifier."),openLinks:h.object({}).optional().describe("Host supports opening external URLs."),downloadFile:h.object({}).optional().describe("Host supports file downloads via ui/download-file."),serverTools:h.object({listChanged:h.boolean().optional().describe("Host supports tools/list_changed notifications.")}).optional().describe("Host can proxy tool calls to the MCP server."),serverResources:h.object({listChanged:h.boolean().optional().describe("Host supports resources/list_changed notifications.")}).optional().describe("Host can proxy resource reads to the MCP server."),logging:h.object({}).optional().describe("Host accepts log messages."),sandbox:h.object({permissions:tw.optional().describe("Permissions granted by the host (camera, microphone, geolocation)."),csp:ew.optional().describe("CSP domains approved by the host.")}).optional().describe("Sandbox configuration applied by the host."),updateModelContext:e3.optional().describe("Host accepts context updates (ui/update-model-context) to be included in the model\'s context for future turns."),message:e3.optional().describe("Host supports receiving content messages (ui/message) from the view."),sampling:h.object({tools:h.object({}).optional().describe("Host supports tool use via `tools` and `toolChoice` parameters.")}).optional().describe("Host supports LLM sampling (sampling/createMessage) from the view.\\nMirrors the MCP `ClientCapabilities.sampling` shape so hosts can pass it through.")}),$8=h.object({experimental:h.record(h.string(),h.record(h.string(),h.any()).describe("Experimental features keyed by identifier.")).optional().describe("Experimental features keyed by identifier."),tools:h.object({listChanged:h.boolean().optional().describe("App supports tools/list_changed notifications.")}).optional().describe("App exposes MCP-style tools that the host can call."),availableDisplayModes:h.array(Pm).optional().describe("Display modes the app supports.")}),WZ=h.object({method:h.literal("ui/notifications/initialized"),params:h.object({}).optional()}),eV=h.object({csp:ew.optional().describe("Content Security Policy configuration for UI resources."),permissions:tw.optional().describe("Sandbox permissions requested by the UI resource."),domain:h.string().optional().describe(`Dedicated origin for view sandbox.\n\nUseful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.\n\n**Host-dependent:** The format and validation rules for this field are determined by each host. Servers MUST consult host-specific documentation for the expected domain format. Common patterns include:\n- Hash-based subdomains (e.g., \\`{hash}.claudemcpcontent.com\\`)\n- URL-derived subdomains (e.g., \\`www-example-com.oaiusercontent.com\\`)\n\nIf omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:h.boolean().optional().describe(`Visual boundary preference - true if view prefers a visible border.\n\nBoolean requesting whether a visible border and background is provided by the host. Specifying an explicit value for this is recommended because hosts\' defaults may vary.\n\n- \\`true\\`: request visible border + background\n- \\`false\\`: request no visible border + background\n- omitted: host decides border`)}),tV=h.object({method:h.literal("ui/request-display-mode"),params:h.object({mode:Pm.describe("The display mode being requested.")})}),R8=h.object({mode:Pm.describe("The display mode that was actually set. May differ from requested if not supported.")}).passthrough(),E8=h.union([h.literal("model"),h.literal("app")]).describe("Tool visibility scope - who can access the tool."),nV=h.object({resourceUri:h.string().optional(),visibility:h.array(E8).optional().describe(`Who can access this tool. Default: ["model", "app"]\n- "model": Tool visible to and callable by the agent\n- "app": Tool callable by the app from this server only`),csp:h.never().optional(),permissions:h.never().optional()}),rV=h.object({mimeTypes:h.array(h.string()).optional().describe(\'Array of supported MIME types for UI resources.\\nMust include `"text/html;profile=mcp-app"` for MCP Apps support.\')}),iV=h.object({method:h.literal("ui/download-file"),params:h.object({contents:h.array(h.union([ta,na])).describe("Resource contents to download \\u2014 embedded (inline data) or linked (host fetches). Uses standard MCP resource types.")})}),oV=h.object({method:h.literal("ui/message"),params:h.object({role:h.literal("user").describe(\'Message role, currently only "user" is supported.\'),content:h.array(zr).describe("Message content blocks (text, image, etc.).")})}),aV=h.object({method:h.literal("ui/notifications/sandbox-resource-ready"),params:h.object({html:h.string().describe("HTML content to load into the inner iframe."),sandbox:h.string().optional().describe("Optional override for the inner iframe\'s sandbox attribute."),csp:ew.optional().describe("CSP configuration from resource metadata."),permissions:tw.optional().describe("Sandbox permissions from resource metadata.")})}),O8=h.object({method:h.literal("ui/notifications/tool-result"),params:eo.describe("Standard MCP tool execution result.")}),r3=h.object({toolInfo:h.object({id:Yn.optional().describe("JSON-RPC id of the tools/call request."),tool:Wi.describe("Tool definition including name, inputSchema, etc.")}).optional().describe("Metadata of the tool call that instantiated this App."),theme:m8.optional().describe("Current color theme preference."),styles:z8.optional().describe("Style configuration for theming the app."),displayMode:Pm.optional().describe("How the UI is currently displayed."),availableDisplayModes:h.array(Pm).optional().describe("Display modes the host supports."),containerDimensions:h.union([h.object({height:h.number().describe("Fixed container height in pixels.")}),h.object({maxHeight:h.union([h.number(),h.undefined()]).optional().describe("Maximum container height in pixels.")})]).and(h.union([h.object({width:h.number().describe("Fixed container width in pixels.")}),h.object({maxWidth:h.union([h.number(),h.undefined()]).optional().describe("Maximum container width in pixels.")})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other\ncontainer holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:h.string().optional().describe("User\'s language and region preference in BCP 47 format."),timeZone:h.string().optional().describe("User\'s timezone in IANA format."),userAgent:h.string().optional().describe("Host application identifier."),platform:h.union([h.literal("web"),h.literal("desktop"),h.literal("mobile")]).optional().describe("Platform type for responsive design decisions."),deviceCapabilities:h.object({touch:h.boolean().optional().describe("Whether the device supports touch input."),hover:h.boolean().optional().describe("Whether the device supports hover interactions.")}).optional().describe("Device input capabilities."),safeAreaInsets:h.object({top:h.number().describe("Top safe area inset in pixels."),right:h.number().describe("Right safe area inset in pixels."),bottom:h.number().describe("Bottom safe area inset in pixels."),left:h.number().describe("Left safe area inset in pixels.")}).optional().describe("Mobile safe area boundaries in pixels.")}).passthrough(),k8=h.object({method:h.literal("ui/notifications/host-context-changed"),params:r3.describe("Partial context update containing only changed fields.")}),sV=h.object({method:h.literal("ui/update-model-context"),params:h.object({content:h.array(zr).optional().describe("Context content blocks (text, image, etc.)."),structuredContent:h.record(h.string(),h.unknown().describe("Structured content for machine-readable context data.")).optional().describe("Structured content for machine-readable context data.")})}),lV=h.object({method:h.literal("ui/initialize"),params:h.object({appInfo:br.describe("App identification (name and version)."),appCapabilities:$8.describe("Features and capabilities this app provides."),protocolVersion:h.string().describe("Protocol version this app supports.")})}),I8=h.object({protocolVersion:h.string().describe(\'Negotiated protocol version string (e.g., "2025-11-21").\'),hostInfo:br.describe("Host application identification and version."),hostCapabilities:T8.describe("Features and capabilities provided by the host."),hostContext:r3.describe("Rich context about the host environment.")}).passthrough(),C8={target:"draft-2020-12"};async function t3(e,t){let n=e["~standard"];if(n.jsonSchema)return n.jsonSchema[t](C8);throw Error(`Schema (vendor: ${n.vendor}) does not implement Standard JSON Schema (~standard.jsonSchema). Use a library that does (zod v4, ArkType, Valibot) or wrap your schema accordingly.`)}async function n3(e,t,n=""){let i=await e["~standard"].validate(t);if(i.issues){let r=i.issues.map(o=>{let a=o.path?.map(s=>typeof s=="object"?s.key:s).join(".");return a?`${a}: ${o.message}`:o.message}).join("; ");throw Error(n+r)}return i.value}function N8(e,t){let n={...e,...t};return t.experimental!==void 0&&(n.experimental={...e.experimental,...t.experimental}),t.tools!==void 0&&(n.tools={...e.tools,...t.tools}),n}var Wx=class e extends Fx{_appInfo;_appCapabilities;options;_hostCapabilities;_hostInfo;_hostContext;_registeredTools={};_initializedSent=!1;_registeredEvents=new Set;_events=new Qx;_methods=new Xx;setRequestHandler=(...t)=>{let[n,...i]=Wk("request",t)??t;this._methods.claim(n,"setRequestHandler"),super.setRequestHandler.call(this,n,...i)};setNotificationHandler=(...t)=>{let[n,...i]=Wk("notification",t)??t;this._methods.claim(n,"setNotificationHandler"),super.setNotificationHandler.call(this,n,...i)};removeRequestHandler=t=>{this._methods.release(t),super.removeRequestHandler(t)};removeNotificationHandler=t=>{this._methods.release(t),super.removeNotificationHandler(t)};replaceRequestHandler=(t,...n)=>{this._methods.replace(t),super.setRequestHandler.call(this,t,...n)};_assertInitialized(t){if(this._initializedSent)return;let n=`[ext-apps] App.${t}() called before connect() completed the ui/initialize handshake. Await app.connect() before calling this method, or move data loading to an ontoolresult handler.`;if(this.options?.strict)throw Error(n);console.warn(`${n}. This will throw in a future release.`)}eventSchemas={toolinput:y8,toolinputpartial:S8,toolresult:O8,toolcancelled:b8,hostcontextchanged:k8};static ONE_SHOT_EVENTS=new Set(["toolinput","toolinputpartial","toolresult","toolcancelled"]);_everHadListener=new Set;_assertHandlerTiming(t){if(!e.ONE_SHOT_EVENTS.has(t)||this._everHadListener.has(t)||(this._everHadListener.add(t),!this._initializedSent))return;let n=`[ext-apps] "${String(t)}" handler registered after connect() completed the ui/initialize handshake. The host may have already sent this notification. Register handlers before calling app.connect().`;if(this.options?.strict)throw Error(n);console.warn(n)}setEventHandler(t,n){n&&this._assertHandlerTiming(t),this._ensureEventSlot(t),this._events.setHandler(t,n)}addEventListener(t,n){this._assertHandlerTiming(t),this._ensureEventSlot(t),this._events.addEventListener(t,n)}removeEventListener(t,n){this._events.removeEventListener(t,n)}_ensureEventSlot(t){if(this._registeredEvents.has(t))return;let n=this.eventSchemas[t];if(!n)throw Error(`Unknown event: ${String(t)}`);this.setNotificationHandler(n.shape.method.value,{params:n.shape.params},i=>{let r=i;t==="hostcontextchanged"&&(this._hostContext={...this._hostContext,...r}),this._events.dispatch(t,r)}),this._registeredEvents.add(t)}getEventHandler(t){return this._events.getHandler(t)}warnIfRequestHandlerReplaced(t,n,i){n&&i&&console.warn(`[MCP Apps] ${t} handler replaced. Previous handler will no longer be called.`)}constructor(t,n={},i={autoResize:!0}){super(i),this._appInfo=t,this._appCapabilities=n,this.options=i,this._methods.replace("notifications/cancelled"),this._methods.replace("notifications/progress"),!i.allowUnsafeEval&&h.config({jitless:!0}),this.replaceRequestHandler("ping",r=>(console.log("Received ping:",r.params),{})),this.setEventHandler("hostcontextchanged",void 0)}buildContext(t){return t}registerAppCapabilities(t){if(this.transport)throw Error("Cannot register capabilities after transport is established");this._appCapabilities=N8(this._appCapabilities,t)}registerTool(t,n,i){if(this._registeredTools[t])throw Error(`Tool ${t} is already registered`);let r=this,o=()=>{r._initializedSent&&r._appCapabilities.tools?.listChanged&&r.sendToolListChanged()},a=n.inputSchema!==void 0,s={title:n.title,description:n.description,inputSchema:n.inputSchema,outputSchema:n.outputSchema,annotations:n.annotations,_meta:n._meta,enabled:!0,enable(){this.enabled=!0,o()},disable(){this.enabled=!1,o()},update(l){Object.assign(this,l),o()},remove(){r._registeredTools[t]===s&&(delete r._registeredTools[t],o())},handler:async(l,c)=>{if(!s.enabled)throw Error(`Tool ${t} is disabled`);let d;if(a){let p=s.inputSchema,m=p?await n3(p,l??{},`Invalid input for tool ${t}: `):l??{};d=await i(m,c)}else d=await i(c);return s.outputSchema&&!d.isError&&(d.structuredContent=await n3(s.outputSchema,d.structuredContent,`Invalid output for tool ${t}: `)),d}};return this._registeredTools[t]=s,!this._appCapabilities.tools&&!this.transport&&this.registerAppCapabilities({tools:{listChanged:!0}}),this.ensureToolHandlersInitialized(),o(),s}_toolHandlersInitialized=!1;ensureToolHandlersInitialized(){this._toolHandlersInitialized||(this._toolHandlersInitialized=!0,this.oncalltool=async(t,n)=>{let i=this._registeredTools[t.name];if(!i)throw Error(`Tool ${t.name} not found`);return i.handler(t.arguments,n)},this.onlisttools=async(t,n)=>({tools:await Promise.all(Object.entries(this._registeredTools).filter(([i,r])=>r.enabled).map(async([i,r])=>{let o={name:i,title:r.title,description:r.description,inputSchema:r.inputSchema?await t3(r.inputSchema,"input"):{type:"object",properties:{}}};return r.outputSchema&&(o.outputSchema=await t3(r.outputSchema,"output")),r.annotations&&(o.annotations=r.annotations),r._meta&&(o._meta=r._meta),o}))}))}async sendToolListChanged(t={}){this._assertInitialized("sendToolListChanged"),await this.notification({method:"notifications/tools/list_changed",params:t})}getHostCapabilities(){return this._hostCapabilities}getHostVersion(){return this._hostInfo}getHostContext(){return this._hostContext}get ontoolinput(){return this.getEventHandler("toolinput")}set ontoolinput(t){this.setEventHandler("toolinput",t)}get ontoolinputpartial(){return this.getEventHandler("toolinputpartial")}set ontoolinputpartial(t){this.setEventHandler("toolinputpartial",t)}get ontoolresult(){return this.getEventHandler("toolresult")}set ontoolresult(t){this.setEventHandler("toolresult",t)}get ontoolcancelled(){return this.getEventHandler("toolcancelled")}set ontoolcancelled(t){this.setEventHandler("toolcancelled",t)}get onhostcontextchanged(){return this.getEventHandler("hostcontextchanged")}set onhostcontextchanged(t){this.setEventHandler("hostcontextchanged",t)}_onteardown;get onteardown(){return this._onteardown}set onteardown(t){this.warnIfRequestHandlerReplaced("onteardown",this._onteardown,t),this._onteardown=t,this.replaceRequestHandler("ui/resource-teardown",{params:x8.shape.params,result:w8},(n,i)=>{if(!this._onteardown)throw Error("No onteardown handler set");return this._onteardown(n,i)})}_oncalltool;get oncalltool(){return this._oncalltool}set oncalltool(t){this.warnIfRequestHandlerReplaced("oncalltool",this._oncalltool,t),this._oncalltool=t,this.replaceRequestHandler("tools/call",(n,i)=>{if(!this._oncalltool)throw Error("No oncalltool handler set");return this._oncalltool(n.params,i)})}_onlisttools;get onlisttools(){return this._onlisttools}set onlisttools(t){this.warnIfRequestHandlerReplaced("onlisttools",this._onlisttools,t),this._onlisttools=t,this.replaceRequestHandler("tools/list",(n,i)=>{if(!this._onlisttools)throw Error("No onlisttools handler set");return this._onlisttools(n.params,i)})}assertCapabilityForMethod(t){switch(t){case"sampling/createMessage":if(!this._hostCapabilities?.sampling)throw Error(`Host does not support sampling (required for ${t})`);break}}assertRequestHandlerCapability(t){switch(t){case"tools/call":case"tools/list":if(!this._appCapabilities.tools)throw Error(`Client does not support tool capability (required for ${t})`);return;default:return}}assertNotificationCapability(t){}async callServerTool(t,n){if(this._assertInitialized("callServerTool"),typeof t=="string")throw Error(`callServerTool() expects an object as its first argument, but received a string ("${t}"). Did you mean: callServerTool({ name: "${t}", arguments: { ... } })?`);return await this.request({method:"tools/call",params:t},{onprogress:()=>{},resetTimeoutOnProgress:!0,...n})}async readServerResource(t,n){return this._assertInitialized("readServerResource"),await this.request({method:"resources/read",params:t},n)}async listServerResources(t,n){return this._assertInitialized("listServerResources"),await this.request({method:"resources/list",params:t},n)}async createSamplingMessage(t,n){return this._assertInitialized("createSamplingMessage"),await this.request({method:"sampling/createMessage",params:t},n)}sendMessage(t,n){return this._assertInitialized("sendMessage"),this.request({method:"ui/message",params:t},v8,n)}sendLog(t){return this.notification({method:"notifications/message",params:t})}updateModelContext(t,n){return this._assertInitialized("updateModelContext"),this.request({method:"ui/update-model-context",params:t},Xi,n)}openLink(t,n){return this._assertInitialized("openLink"),this.request({method:"ui/open-link",params:t},h8,n)}sendOpenLink=this.openLink;downloadFile(t,n){return this._assertInitialized("downloadFile"),this.request({method:"ui/download-file",params:t},g8,n)}requestTeardown(t={}){return this.notification({method:"ui/notifications/request-teardown",params:t})}requestDisplayMode(t,n){return this._assertInitialized("requestDisplayMode"),this.request({method:"ui/request-display-mode",params:t},R8,n)}sendSizeChanged(t){return this.notification({method:"ui/notifications/size-changed",params:t})}setupSizeChangedNotifications(){let t=!1,n=0,i=0,r=()=>{t||(t=!0,requestAnimationFrame(()=>{t=!1;let a=document.documentElement,s=a.style.height;a.style.height="max-content";let l=Math.ceil(a.getBoundingClientRect().height);a.style.height=s;let c=Math.ceil(window.innerWidth);(c!==n||l!==i)&&(n=c,i=l,this.sendSizeChanged({width:c,height:l}))}))};r();let o=new ResizeObserver(r);return o.observe(document.documentElement),o.observe(document.body),()=>o.disconnect()}async connect(t=new zv(window.parent,window.parent),n){if(this.transport)throw Error("App is already connected. Call close() before connecting again.");this._initializedSent=!1;try{await super.connect(t);let i=await this.request({method:"ui/initialize",params:{appCapabilities:this._appCapabilities,appInfo:this._appInfo,protocolVersion:u8}},I8,n);if(i===void 0)throw Error(`Server sent invalid initialize result: ${i}`);this._hostCapabilities=i.hostCapabilities,this._hostInfo=i.hostInfo,this._hostContext=i.hostContext,await this.notification({method:"ui/notifications/initialized"}),this._initializedSent=!0,this.options?.autoResize&&this.setupSizeChangedNotifications()}catch(i){throw this.close(),i}}};function i3({appInfo:e,capabilities:t,onAppCreated:n,autoResize:i=!0,strict:r}){let[o,a]=(0,xl.useState)(null),[s,l]=(0,xl.useState)(!1),[c,d]=(0,xl.useState)(null);return(0,xl.useEffect)(()=>{let p=!0,m;async function f(){try{let _=new zv(window.parent,window.parent);if(m=new Wx(e,t,{autoResize:i,strict:r}),n?.(m),await m.connect(_),!p){m.close();return}a(m),l(!0),d(null)}catch(_){p&&(a(null),l(!1),d(_ instanceof Error?_:Error("Failed to connect")))}}return f(),()=>{p=!1,m?.close()}},[]),{app:o,isConnected:s,error:c}}var m3=G(Ae());var s3="NanoBanana";var rw=G(ce()),f3=G(ce());function Um(e){"@babel/helpers - typeof";return Um=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Um(e)}var U8=["size","style"];function d3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function nw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?d3(Object(n),!0).forEach(function(i){M8(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function M8(e,t,n){return t=D8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D8(e){var t=L8(e,"string");return Um(t)=="symbol"?t:String(t)}function L8(e,t){if(Um(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Um(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function q8(e,t){if(e==null)return{};var n=H8(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function H8(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var Z8=(0,m3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=q8(e,U8);return(0,f3.jsxs)("svg",nw(nw({fill:"currentColor",fillRule:"evenodd",height:n,style:nw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,rw.jsx)("title",{children:s3}),(0,rw.jsx)("path",{d:"M8.342 13.16H3.455c-.513 0-.772-.639-.408-1.012l1.608-1.653a3.166 3.166 0 014.565 0l.513.527.006-.015.038.017c.735-1.93.786-2.809.783-5.007v-.275c-.01-1.782-.02-3.935 1.965-4.22 2.603-.375 4.504 4.219 4.815 8.299a3.166 3.166 0 013.38.774l1.609 1.653c.365.375.106 1.012-.407 1.012H19.27c.072.264.11.542.11.828v5.664c0 .914-.994 1.292-1.602.576-.229-.27-1.067-1.25-2.155-2.52-2.92 4.183-10.266 6.462-12.34 3.006a.915.915 0 01-.05 0h-.743a.991.991 0 110-1.982h.246c.014-1.687 1.23-3.148 2.846-3.783a7.448 7.448 0 002.76-1.889zm7.543-2.145c0-.127-.001-.256-.005-.388a15.693 15.693 0 00-.632-3.939c-.38-1.282-.887-2.33-1.425-2.992-.545-.671-.906-.715-1.085-.69-.223.032-.292.098-.322.129-.05.052-.135.176-.209.45-.152.567-.15 1.286-.147 2.186v.244c.002 1.134-.009 2.028-.145 2.92a11.292 11.292 0 01-.537 2.08h4.507zm-3.468 3.056c-1.636 3.166-4.981 4.71-8.118 4.87a.562.562 0 00.057 1.124c3.294-.169 6.921-1.749 8.845-5.081l-.784-.913z"})]}))}),p3=Z8;var v3=G(Ae());var h3="OpenAI";var ow=G(ce()),y3=G(ce());function Mm(e){"@babel/helpers - typeof";return Mm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mm(e)}var V8=["size","style"];function g3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function iw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?g3(Object(n),!0).forEach(function(i){B8(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function B8(e,t,n){return t=G8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function G8(e){var t=J8(e,"string");return Mm(t)=="symbol"?t:String(t)}function J8(e,t){if(Mm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Mm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Y8(e,t){if(e==null)return{};var n=K8(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function K8(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var F8=(0,v3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=Y8(e,V8);return(0,y3.jsxs)("svg",iw(iw({fill:"currentColor",fillRule:"evenodd",height:n,style:iw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,ow.jsx)("title",{children:h3}),(0,ow.jsx)("path",{d:"M9.205 8.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357 1.356-.523 2.117-.523 2.854 0 4.662 2.212 4.662 4.566 0 .167 0 .357-.024.547l-4.71-2.759a.797.797 0 00-.856 0l-5.97 3.473zm10.609 8.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473 1.95-1.118a.433.433 0 01.476 0l4.543 2.617c1.309.76 2.189 2.378 2.189 3.948 0 1.808-1.07 3.473-2.76 4.163zM7.802 12.703l-1.95-1.142c-.167-.095-.239-.238-.239-.428V5.899c0-2.545 1.95-4.472 4.591-4.472 1 0 1.927.333 2.712.928L8.23 5.067c-.285.166-.428.404-.428.737v6.898zM12 15.128l-2.795-1.57v-3.33L12 8.658l2.795 1.57v3.33L12 15.128zm1.796 7.23c-1 0-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974 1.142c.167.095.238.238.238.428v5.233c0 2.545-1.974 4.472-4.614 4.472zm-5.637-5.303l-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.482 4.482 0 014.21 6.327v5.423c0 .333.143.571.428.738l5.947 3.449-1.95 1.118a.432.432 0 01-.476 0zm-.262 3.9c-2.688 0-4.662-2.021-4.662-4.519 0-.19.024-.38.047-.57l4.686 2.71c.286.167.571.167.856 0l5.97-3.448v2.26c0 .19-.07.333-.237.428l-4.543 2.616c-.619.357-1.356.523-2.117.523zm5.899 2.83a5.947 5.947 0 005.827-4.756C22.287 18.339 24 15.84 24 13.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498 0-3.401-2.759-5.947-5.946-5.947-.642 0-1.26.095-1.88.31A5.962 5.962 0 0010.205 0a5.947 5.947 0 00-5.827 4.757C1.713 5.447 0 7.945 0 10.49c0 1.666.713 3.283 1.998 4.448-.119.5-.19 1-.19 1.499 0 3.401 2.759 5.946 5.946 5.946.642 0 1.26-.095 1.88-.309a5.96 5.96 0 004.162 1.713z"})]}))}),S3=F8;var z3=G(Ae());var b3="Midjourney";var sw=G(ce()),x3=G(ce());function Dm(e){"@babel/helpers - typeof";return Dm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dm(e)}var Q8=["size","style"];function _3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function aw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_3(Object(n),!0).forEach(function(i){X8(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function X8(e,t,n){return t=W8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W8(e){var t=e9(e,"string");return Dm(t)=="symbol"?t:String(t)}function e9(e,t){if(Dm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Dm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function t9(e,t){if(e==null)return{};var n=n9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function n9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var r9=(0,z3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=t9(e,Q8);return(0,x3.jsxs)("svg",aw(aw({fill:"currentColor",fillRule:"evenodd",height:n,style:aw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,sw.jsx)("title",{children:b3}),(0,sw.jsx)("path",{d:"M22.369 17.676c-1.387 1.259-3.17 2.378-5.332 3.417.044.03.086.057.13.083l.018.01.019.012c.216.123.42.184.641.184.222 0 .426-.061.642-.184l.018-.011.019-.011c.14-.084.266-.178.492-.366l.178-.148c.279-.232.426-.342.625-.456.304-.174.612-.266.949-.266.337 0 .645.092.949.266l.023.014c.188.109.334.219.602.442l.178.148c.221.184.346.278.483.36l.028.017.018.01c.21.12.407.181.62.185h.022a.31.31 0 110 .618c-.337 0-.645-.092-.95-.266a3.137 3.137 0 01-.09-.054l-.022-.014-.022-.013-.02-.014a5.356 5.356 0 01-.49-.377l-.159-.132a3.836 3.836 0 00-.483-.36l-.027-.017-.019-.01a1.256 1.256 0 00-.641-.185c-.222 0-.426.061-.641.184l-.02.011-.018.011c-.14.084-.266.178-.492.366l-.158.132a5.125 5.125 0 01-.51.39l-.022.014-.022.014-.09.054a1.868 1.868 0 01-.95.266c-.337 0-.644-.092-.949-.266a3.137 3.137 0 01-.09-.054l-.022-.014-.022-.013-.026-.017a4.881 4.881 0 01-.425-.325.308.308 0 01-.12-.1l-.098-.081a3.836 3.836 0 00-.483-.36l-.027-.017-.019-.01a1.256 1.256 0 00-.641-.185c-.222 0-.426.061-.642.184l-.018.011-.019.011c-.14.084-.266.178-.492.366l-.158.132a5.125 5.125 0 01-.51.39l-.023.014-.022.014-.09.054A1.868 1.868 0 0112 22c-.337 0-.645-.092-.949-.266a3.137 3.137 0 01-.09-.054l-.022-.014-.022-.013-.021-.014a5.356 5.356 0 01-.49-.377l-.158-.132a3.836 3.836 0 00-.483-.36l-.028-.017-.018-.01a1.256 1.256 0 00-.642-.185c-.221 0-.425.061-.641.184l-.019.011-.018.011c-.141.084-.266.178-.492.366l-.158.132a5.125 5.125 0 01-.511.39l-.022.014-.022.014-.09.054a1.868 1.868 0 01-.986.264c-.746-.09-1.319-.38-1.89-.866l-.035-.03c-.047-.041-.118-.106-.192-.174l-.196-.181-.107-.1-.011-.01a1.531 1.531 0 00-.336-.253.313.313 0 00-.095-.03h-.005c-.119.022-.238.059-.361.11a.308.308 0 01-.077.061l-.008.005a.309.309 0 01-.126.034 5.66 5.66 0 00-.774.518l-.416.324-.055.043a6.542 6.542 0 01-.324.236c-.305.207-.552.315-.8.315a.31.31 0 01-.01-.618h.01c.09 0 .235-.062.438-.198l.04-.027c.077-.054.163-.117.27-.199l.385-.301.06-.047c.268-.206.506-.373.73-.505l-.633-1.21a.309.309 0 01.254-.451l20.287-1.305a.309.309 0 01.228.537zm-1.118.14L2.369 19.03l.423.809c.128-.045.256-.078.388-.1a.31.31 0 01.052-.005c.132 0 .26.032.386.093.153.073.294.179.483.35l.016.015.092.086.144.134.097.089c.065.06.125.114.16.144.485.418.948.658 1.554.736h.011a1.25 1.25 0 00.6-.172l.021-.011.019-.011.018-.011c.141-.084.266-.178.492-.366l.178-.148c.279-.232.426-.342.625-.456.305-.174.612-.266.95-.266.336 0 .644.092.948.266l.023.014c.188.109.335.219.603.442l.177.148c.222.184.346.278.484.36l.027.017.019.01c.215.124.42.185.641.185.222 0 .426-.061.641-.184l.019-.011.018-.011c.141-.084.267-.178.493-.366l.177-.148c.28-.232.427-.342.626-.456.304-.174.612-.266.949-.266.337 0 .644.092.949.266l.025.015c.187.109.334.22.603.443 1.867-.878 3.448-1.811 4.73-2.832l.02-.016zM3.653 2.026C6.073 3.06 8.69 4.941 10.8 7.258c2.46 2.7 4.109 5.828 4.637 9.149a.31.31 0 01-.421.335c-2.348-.945-4.54-1.258-6.59-1.02-1.739.2-3.337.792-4.816 1.703-.294.182-.62-.182-.405-.454 1.856-2.355 2.581-4.99 2.343-7.794-.195-2.292-1.031-4.61-2.284-6.709a.31.31 0 01.388-.442zM10.04 4.45c1.778.543 3.892 2.102 5.782 4.243 1.984 2.248 3.552 4.934 4.347 7.582a.31.31 0 01-.401.38l-.022-.01-.386-.154a10.594 10.594 0 00-.291-.112l-.016-.006c-.68-.247-1.199-.291-1.944-.101a.31.31 0 01-.375-.218C15.378 11.123 13.073 7.276 9.775 5c-.291-.201-.072-.653.266-.55zM4.273 2.996l.008.015c1.028 1.94 1.708 4.031 1.885 6.113.213 2.513-.31 4.906-1.673 7.092l-.02.031.003-.001c1.198-.581 2.47-.969 3.825-1.132l.055-.006c1.981-.23 4.083.029 6.309.837l.066.025-.007-.039c-.593-2.95-2.108-5.737-4.31-8.179l-.07-.078c-1.785-1.96-3.944-3.6-6.014-4.65l-.057-.028zm7.92 3.238l.048.048c2.237 2.295 3.885 5.431 4.974 9.191l.038.132.022-.004c.71-.133 1.284-.063 1.963.18l.027.01.066.024.046.018-.025-.073c-.811-2.307-2.208-4.62-3.936-6.594l-.058-.065c-1.02-1.155-2.103-2.132-3.15-2.856l-.015-.011z"})]}))}),w3=r9;var R3=G(Ae());var T3="Flux";var wv=G(ce()),E3=G(ce());function Lm(e){"@babel/helpers - typeof";return Lm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lm(e)}var i9=["size","style"];function $3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function lw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$3(Object(n),!0).forEach(function(i){o9(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function o9(e,t,n){return t=a9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a9(e){var t=s9(e,"string");return Lm(t)=="symbol"?t:String(t)}function s9(e,t){if(Lm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Lm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function l9(e,t){if(e==null)return{};var n=c9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function c9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var u9=(0,R3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=l9(e,i9);return(0,E3.jsxs)("svg",lw(lw({fill:"currentColor",fillRule:"evenodd",height:n,style:lw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,wv.jsx)("title",{children:T3}),(0,wv.jsx)("path",{d:"M0 20.683L12.01 2.5 24 20.683h-2.233L12.009 5.878 3.471 18.806h12.122l1.239 1.877H0z"}),(0,wv.jsx)("path",{d:"M8.069 16.724l2.073-3.115 2.074 3.115H8.069zM18.24 20.683l-5.668-8.707h2.177l5.686 8.707h-2.196zM19.74 11.676l2.13-3.19 2.13 3.19h-4.26z"})]}))}),O3=u9;var C3=G(Ae());var k3="TopazLabs";var uw=G(ce()),N3=G(ce());function qm(e){"@babel/helpers - typeof";return qm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qm(e)}var d9=["size","style"];function I3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function cw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?I3(Object(n),!0).forEach(function(i){m9(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function m9(e,t,n){return t=f9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f9(e){var t=p9(e,"string");return qm(t)=="symbol"?t:String(t)}function p9(e,t){if(qm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(qm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function h9(e,t){if(e==null)return{};var n=g9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function g9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var v9=(0,C3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=h9(e,d9);return(0,N3.jsxs)("svg",cw(cw({fill:"currentColor",fillRule:"evenodd",height:n,style:cw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,uw.jsx)("title",{children:k3}),(0,uw.jsx)("path",{d:"M2 15.357V22h6.65v-6.643H2zM15.32 15.357V8.714H8.67v6.643h6.65zM22 8.643V2h-6.65v6.643H22z"})]}))}),j3=v9;var U3=G(Ae());var A3="Recraft";var Tv=G(ce()),M3=G(ce());function Hm(e){"@babel/helpers - typeof";return Hm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hm(e)}var y9=["size","style"];function P3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function dw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?P3(Object(n),!0).forEach(function(i){S9(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function S9(e,t,n){return t=b9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b9(e){var t=_9(e,"string");return Hm(t)=="symbol"?t:String(t)}function _9(e,t){if(Hm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Hm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function z9(e,t){if(e==null)return{};var n=x9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function x9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var w9=(0,U3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=z9(e,y9);return(0,M3.jsxs)("svg",dw(dw({fill:"currentColor",fillRule:"evenodd",height:n,style:dw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,Tv.jsx)("title",{children:A3}),(0,Tv.jsx)("path",{d:"M19.667 8.275c0-4.57-4.15-8.275-9.27-8.275-1.774 0-3.213 3.705-3.213 8.275 0 1.143.09 2.233.253 3.224H4.29L1 23h9.4v-6.447c5.117 0 9.266-3.707 9.266-8.275l.001-.002zm-9.27-6.76c.93 0 1.682 3.028 1.682 6.76 0 3.733-.752 6.76-1.681 6.76-.93 0-1.681-3.027-1.681-6.76 0-3.732.752-6.76 1.68-6.76z"}),(0,Tv.jsx)("path",{d:"M19.848 16.552h-9.44L14.028 23h9.438l-3.618-6.448z"})]}))}),D3=w9;var H3=G(Ae());var L3="Gemini";var fw=G(ce()),Z3=G(ce());function Zm(e){"@babel/helpers - typeof";return Zm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zm(e)}var T9=["size","style"];function q3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function mw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?q3(Object(n),!0).forEach(function(i){$9(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function $9(e,t,n){return t=R9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R9(e){var t=E9(e,"string");return Zm(t)=="symbol"?t:String(t)}function E9(e,t){if(Zm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Zm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function O9(e,t){if(e==null)return{};var n=k9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function k9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var I9=(0,H3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=O9(e,T9);return(0,Z3.jsxs)("svg",mw(mw({fill:"currentColor",fillRule:"evenodd",height:n,style:mw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,fw.jsx)("title",{children:L3}),(0,fw.jsx)("path",{d:"M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z"})]}))}),V3=I9;var J3=G(Ae());var B3="Sora";var la=G(ce()),Y3=G(ce());function Vm(e){"@babel/helpers - typeof";return Vm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vm(e)}var C9=["size","style"];function G3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function pw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?G3(Object(n),!0).forEach(function(i){N9(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function N9(e,t,n){return t=j9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j9(e){var t=A9(e,"string");return Vm(t)=="symbol"?t:String(t)}function A9(e,t){if(Vm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Vm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function P9(e,t){if(e==null)return{};var n=U9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function U9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var M9=(0,J3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=P9(e,C9);return(0,Y3.jsxs)("svg",pw(pw({fill:"currentColor",fillRule:"evenodd",height:n,style:pw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,la.jsx)("title",{children:B3}),(0,la.jsx)("path",{d:"M8.968 11.147a.408.408 0 110 .816.408.408 0 010-.816z"}),(0,la.jsx)("path",{clipRule:"evenodd",d:"M7.21 8.748c.045-.012.087.003.128.044.195.2.39.398.587.596a.15.15 0 00.061.035l.81.209c.056.014.09.043.102.088.013.046-.002.09-.043.13l-.596.585a.139.139 0 00-.021.03.134.134 0 00-.015.033c-.07.27-.14.54-.208.81-.014.055-.044.09-.09.102-.045.012-.088-.003-.128-.045-.195-.199-.39-.397-.587-.595a.158.158 0 00-.062-.035l-.81-.209c-.056-.014-.09-.044-.103-.09-.011-.044.004-.087.045-.128.2-.194.398-.39.596-.585a.12.12 0 00.022-.03.134.134 0 00.014-.032c.07-.27.14-.54.208-.81.014-.056.044-.09.09-.103z"}),(0,la.jsx)("path",{d:"M15.827 9.31a.409.409 0 110 .817.409.409 0 010-.818z"}),(0,la.jsx)("path",{clipRule:"evenodd",d:"M14.071 6.915c.046-.012.09.003.13.044.194.2.388.398.583.596a.155.155 0 00.062.036l.807.21c.056.014.09.045.103.09.012.045-.003.088-.045.128l-.596.583a.168.168 0 00-.036.061l-.21.808c-.014.056-.044.09-.09.103-.045.011-.088-.004-.128-.045-.194-.2-.389-.398-.583-.596a.12.12 0 00-.03-.022.12.12 0 00-.032-.014l-.808-.21c-.056-.014-.09-.044-.102-.09-.012-.045.003-.087.044-.128.2-.194.398-.388.596-.583a.119.119 0 00.022-.03.132.132 0 00.015-.032l.21-.806c.014-.057.043-.09.088-.103z"}),(0,la.jsx)("path",{clipRule:"evenodd",d:"M8.086.457a6.102 6.102 0 013.046-.415c1.333.153 2.521.72 3.564 1.7a.116.116 0 00.107.029c1.409-.346 2.762-.224 4.062.366l.061.029.155.077c1.357.703 2.33 1.769 2.918 3.197.278.68.418 1.388.421 2.127a5.65 5.65 0 01-.18 1.631.164.164 0 00.04.154 5.98 5.98 0 011.577 2.892c.386 1.901-.008 3.614-1.182 5.14l-.181.22a6.062 6.062 0 01-2.936 1.85.16.16 0 00-.106.103c-.255.736-.512 1.364-.988 1.992-1.199 1.582-2.962 2.462-4.948 2.45-1.583-.007-2.986-.586-4.21-1.736a.142.142 0 00-.14-.031c-.518.167-1.04.191-1.605.185a5.923 5.923 0 01-2.594-.622 6.057 6.057 0 01-2.146-1.781c-.203-.27-.404-.522-.552-.821a7.742 7.742 0 01-.494-1.283 6.108 6.108 0 01-.017-3.065.163.163 0 00.007-.074.112.112 0 00-.036-.063 5.954 5.954 0 01-1.38-2.202 5.193 5.193 0 01-.333-1.59 6.911 6.911 0 01.188-2.13c.45-1.485 1.309-2.65 2.578-3.494.282-.188.549-.334.8-.439a8.21 8.21 0 01.862-.303.128.128 0 00.087-.087 6.014 6.014 0 011.104-2.155C6.315 1.463 7.132.846 8.086.457zm.965 7.647c-1.154-.82-2.73-.413-3.311.875-.301.666-.36 1.368-.178 2.106l.145.586.26.95c.105.533.31 1.02.612 1.462l.03.043c.16.189.335.362.524.518 1.386 1.139 3.275.379 3.652-1.323l.05-.213.012-.08c.06-.4.042-.792-.053-1.175a47.673 47.673 0 00-.546-2.024c-.217-.738-.616-1.313-1.197-1.725zm7.104-1.646c-.862-.802-2.191-.831-3.047-.026-.334.314-.566.736-.697 1.265a3.47 3.47 0 000 1.635l.014.054.055.18c.127.42.245.834.353 1.241.112.423.202.706.27.85.574 1.206 1.82 2.074 3.177 1.522 1.261-.514 1.641-2.01 1.355-3.22-.043-.183-.09-.365-.14-.546a34.426 34.426 0 00-.428-1.573c-.162-.508-.466-.968-.912-1.382z"})]}))}),K3=M9;var X3=G(Ae());var F3="Kling";var gw=G(ce()),W3=G(ce());function Bm(e){"@babel/helpers - typeof";return Bm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bm(e)}var D9=["size","style"];function Q3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function hw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Q3(Object(n),!0).forEach(function(i){L9(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function L9(e,t,n){return t=q9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q9(e){var t=H9(e,"string");return Bm(t)=="symbol"?t:String(t)}function H9(e,t){if(Bm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Bm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Z9(e,t){if(e==null)return{};var n=V9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function V9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var B9=(0,X3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=Z9(e,D9);return(0,W3.jsxs)("svg",hw(hw({fill:"currentColor",fillRule:"evenodd",height:n,style:hw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,gw.jsx)("title",{children:F3}),(0,gw.jsx)("path",{clipRule:"evenodd",d:"M5.493 21.234c-1.112-1.451-1.109-4.263-.081-7.459l-4.557-2.63a1.683 1.683 0 01-.85-1.304 1.505 1.505 0 01.08-.622 13.18 13.18 0 011.037-2.255c3.476-6.02 10.916-8.23 16.619-4.938.46.266.82.67 1.081 1.184.785 1.545.685 4.096-.234 6.954l4.557 2.631c.339.196.596.492.736.832a1.53 1.53 0 01.034 1.093 13.146 13.146 0 01-1.037 2.255c-3.476 6.02-10.916 8.23-16.619 4.938a2.6 2.6 0 01-.766-.68zm11.096-6.615c-2.073 3.591-5.808 5.316-8.343 3.852-1.267-.731-1.994-2.122-2.145-3.778-.095-1.035.036-2.173.4-3.32.217-.684.517-1.37.902-2.039l.008-.014c2.073-3.59 5.808-5.315 8.343-3.852.633.366 1.13.895 1.49 1.54.986 1.772.922 4.415-.285 6.914-.111.23-.232.457-.362.683l-.008.014z"})]}))}),eI=B9;var rI=G(Ae());var tI="ElevenLabs";var yw=G(ce()),iI=G(ce());function Gm(e){"@babel/helpers - typeof";return Gm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gm(e)}var G9=["size","style"];function nI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function vw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nI(Object(n),!0).forEach(function(i){J9(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nI(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function J9(e,t,n){return t=Y9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y9(e){var t=K9(e,"string");return Gm(t)=="symbol"?t:String(t)}function K9(e,t){if(Gm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Gm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function F9(e,t){if(e==null)return{};var n=Q9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function Q9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var X9=(0,rI.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=F9(e,G9);return(0,iI.jsxs)("svg",vw(vw({fill:"currentColor",fillRule:"evenodd",height:n,style:vw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,yw.jsx)("title",{children:tI}),(0,yw.jsx)("path",{d:"M5 0h5v24H5V0zM14 0h5v24h-5V0z"})]}))}),oI=X9;var lI=G(Ae());var aI="Qwen";var bw=G(ce()),cI=G(ce());function Jm(e){"@babel/helpers - typeof";return Jm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jm(e)}var W9=["size","style"];function sI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function Sw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sI(Object(n),!0).forEach(function(i){eD(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sI(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function eD(e,t,n){return t=tD(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tD(e){var t=nD(e,"string");return Jm(t)=="symbol"?t:String(t)}function nD(e,t){if(Jm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Jm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function rD(e,t){if(e==null)return{};var n=iD(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function iD(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var oD=(0,lI.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=rD(e,W9);return(0,cI.jsxs)("svg",Sw(Sw({fill:"currentColor",fillRule:"evenodd",height:n,style:Sw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,bw.jsx)("title",{children:aI}),(0,bw.jsx)("path",{d:"M12.604 1.34c.393.69.784 1.382 1.174 2.075a.18.18 0 00.157.091h5.552c.174 0 .322.11.446.327l1.454 2.57c.19.337.24.478.024.837-.26.43-.513.864-.76 1.3l-.367.658c-.106.196-.223.28-.04.512l2.652 4.637c.172.301.111.494-.043.77-.437.785-.882 1.564-1.335 2.34-.159.272-.352.375-.68.37-.777-.016-1.552-.01-2.327.016a.099.099 0 00-.081.05 575.097 575.097 0 01-2.705 4.74c-.169.293-.38.363-.725.364-.997.003-2.002.004-3.017.002a.537.537 0 01-.465-.271l-1.335-2.323a.09.09 0 00-.083-.049H4.982c-.285.03-.553-.001-.805-.092l-1.603-2.77a.543.543 0 01-.002-.54l1.207-2.12a.198.198 0 000-.197 550.951 550.951 0 01-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965.465-.813.927-1.625 1.387-2.436.132-.234.304-.334.584-.335a338.3 338.3 0 012.589-.001.124.124 0 00.107-.063l2.806-4.895a.488.488 0 01.422-.246c.524-.001 1.053 0 1.583-.006L11.704 1c.341-.003.724.032.9.34zm-3.432.403a.06.06 0 00-.052.03L6.254 6.788a.157.157 0 01-.135.078H3.253c-.056 0-.07.025-.041.074l5.81 10.156c.025.042.013.062-.034.063l-2.795.015a.218.218 0 00-.2.116l-1.32 2.31c-.044.078-.021.118.068.118l5.716.008c.046 0 .08.02.104.061l1.403 2.454c.046.081.092.082.139 0l5.006-8.76.783-1.382a.055.055 0 01.096 0l1.424 2.53a.122.122 0 00.107.062l2.763-.02a.04.04 0 00.035-.02.041.041 0 000-.04l-2.9-5.086a.108.108 0 010-.113l.293-.507 1.12-1.977c.024-.041.012-.062-.035-.062H9.2c-.059 0-.073-.026-.043-.077l1.434-2.505a.107.107 0 000-.114L9.225 1.774a.06.06 0 00-.053-.031zm6.29 8.02c.046 0 .058.02.034.06l-.832 1.465-2.613 4.585a.056.056 0 01-.05.029.058.058 0 01-.05-.029L8.498 9.841c-.02-.034-.01-.052.028-.054l.216-.012 6.722-.012z"})]}))}),uI=oD;var fI=G(Ae());var dI="BRIA AI";var ei=G(ce()),pI=G(ce());function Ym(e){"@babel/helpers - typeof";return Ym=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ym(e)}var aD=["size","style"];function mI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function _w(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?mI(Object(n),!0).forEach(function(i){sD(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mI(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function sD(e,t,n){return t=lD(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lD(e){var t=cD(e,"string");return Ym(t)=="symbol"?t:String(t)}function cD(e,t){if(Ym(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Ym(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function uD(e,t){if(e==null)return{};var n=dD(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function dD(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var mD=(0,fI.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=uD(e,aD);return(0,pI.jsxs)("svg",_w(_w({fill:"currentColor",fillRule:"evenodd",height:n,style:_w({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,ei.jsx)("title",{children:dI}),(0,ei.jsx)("path",{d:"M14.879 9.74a.074.074 0 00-.053.023.076.076 0 00-.021.053v4.895a.655.655 0 01-.053.257c-.13.3-.252.543-.368.727-1.267 1.998-3.04 3.203-5.32 3.616-3.473.628-6.933-1.225-8.389-4.445-1.486-3.284-.45-7.205 2.429-9.33C7.482 2.303 13.726 4.408 15.2 9.666a.061.061 0 01-.01.052.059.059 0 01-.046.023h-.265zm-6.88 2.508c.49-.188.734-.56.73-1.119-.004-.665-.35-1.085-.964-1.304-.156-.055-.4-.082-.734-.08-1.183.002-1.996.002-2.437 0a.065.065 0 00-.045.019.063.063 0 00-.02.044v5.049c0 .011.005.023.014.03.008.01.02.014.031.014 1.024.015 1.95.013 2.777-.007.908-.022 1.573-.56 1.522-1.528-.03-.573-.32-.933-.87-1.078a.022.022 0 01-.017-.02.02.02 0 01.014-.02zm6.239 2.659a.042.042 0 00.037-.025.041.041 0 00-.006-.044l-1.51-1.699a.047.047 0 01.022-.077c.927-.266 1.345-.887 1.256-1.865-.09-.984-.96-1.465-1.87-1.456-.604.005-1.438.005-2.504 0a.075.075 0 00-.076.075v5.042c0 .013.005.026.014.035a.05.05 0 00.036.014h1.174c.01 0 .021-.004.029-.011a.04.04 0 00.012-.029v-1.639a.078.078 0 01.066-.076c.181-.03.31 0 .386.089.24.277.72.81 1.44 1.602a.195.195 0 00.145.064h1.349z"}),(0,ei.jsx)("path",{d:"M16.86 13.848a4.026 4.026 0 01-.741-.899.323.323 0 01-.047-.168V9.775a.035.035 0 00-.035-.035h-.34a.079.079 0 01-.076-.1c1.002-3.64 5.843-4.366 7.793-1.09 1.161 1.952.55 4.596-1.42 5.783a.08.08 0 01-.097-.01.08.08 0 01-.02-.028L19.975 9.78a.069.069 0 00-.063-.042h-1.185a.111.111 0 00-.102.068l-1.663 4.019a.065.065 0 01-.076.037.063.063 0 01-.027-.014z"}),(0,ei.jsx)("path",{d:"M5.794 10.851a.073.073 0 01.073-.073l1.054.003c.152 0 .298.058.405.16a.522.522 0 01.167.38v.036a.51.51 0 01-.17.38.578.578 0 01-.406.157l-1.053-.004a.073.073 0 01-.074-.073l.004-.966zM10.859 10.907a.07.07 0 01.07-.07l1.168.003c.183 0 .36.06.49.169a.53.53 0 01.202.406v.1a.49.49 0 01-.053.22.582.582 0 01-.15.187.718.718 0 01-.226.124.817.817 0 01-.265.043l-1.168-.002a.07.07 0 01-.07-.07l.002-1.11z"}),(0,ei.jsx)("path",{d:"M18.69 12.834l.585-1.55a.035.035 0 01.013-.016.034.034 0 01.039 0c.005.004.01.01.012.016l.596 1.546a.036.036 0 01-.004.032.037.037 0 01-.012.01.034.034 0 01-.016.005l-1.18.004a.035.035 0 01-.029-.014.034.034 0 01-.004-.033z"}),(0,ei.jsx)("path",{d:"M5.79 12.82a.066.066 0 01.066-.067l1.152.004c.076 0 .15.014.22.04.07.026.133.065.186.113a.516.516 0 01.124.168.47.47 0 01.043.198v.1a.49.49 0 01-.17.364.61.61 0 01-.406.149l-1.153-.004a.066.066 0 01-.066-.067l.004-.998z"}),(0,ei.jsx)("path",{d:"M18.03 14.62a.05.05 0 01-.03-.046.05.05 0 01.004-.019l.196-.474a.175.175 0 01.16-.107h1.97a.075.075 0 01.068.046l.322.765a.06.06 0 01-.018.071.06.06 0 01-.024.011 4.312 4.312 0 01-2.647-.247z"}),(0,ei.jsx)("path",{d:"M17.885 19.057a1.726 1.726 0 100-3.45 1.726 1.726 0 000 3.45z"})]}))}),hI=mD;var yI=G(Ae());var gI="ByteDance";var wl=G(ce()),SI=G(ce());function Km(e){"@babel/helpers - typeof";return Km=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Km(e)}var fD=["size","style"];function vI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function zw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?vI(Object(n),!0).forEach(function(i){pD(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vI(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function pD(e,t,n){return t=hD(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hD(e){var t=gD(e,"string");return Km(t)=="symbol"?t:String(t)}function gD(e,t){if(Km(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Km(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function vD(e,t){if(e==null)return{};var n=yD(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function yD(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var SD=(0,yI.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=vD(e,fD);return(0,SI.jsxs)("svg",zw(zw({fill:"currentColor",fillRule:"evenodd",height:n,style:zw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,wl.jsx)("title",{children:gI}),(0,wl.jsx)("path",{d:"M14.944 18.587l-1.704-.445V10.01l1.824-.462c1-.254 1.84-.461 1.88-.453.032 0 .056 2.235.056 4.972v4.973l-.176-.008c-.104 0-.952-.207-1.88-.446z"}),(0,wl.jsx)("path",{d:"M7 16.542c0-2.736.024-4.98.064-4.98.032-.008.872.2 1.88.454l1.816.461-.016 4.05-.024 4.049-1.632.422c-.896.23-1.736.445-1.856.469L7 21.523v-4.98z"}),(0,wl.jsx)("path",{d:"M19.24 12.477c0-9.03.008-9.515.144-9.475.072.024.784.207 1.576.406.792.207 1.576.405 1.744.445l.296.08-.016 8.56-.024 8.568-1.624.414c-.888.23-1.728.437-1.856.47l-.24.055v-9.523z"}),(0,wl.jsx)("path",{d:"M1 12.509c0-4.678.024-8.505.064-8.505.032 0 .872.207 1.872.454l1.824.461v7.582c0 4.16-.016 7.574-.032 7.574-.024 0-.872.215-1.88.47L1 21.013v-8.505z"})]}))}),bI=SD;var xI=G(Ae());var _I="Grok";var ww=G(ce()),wI=G(ce());function Fm(e){"@babel/helpers - typeof";return Fm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fm(e)}var bD=["size","style"];function zI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function xw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?zI(Object(n),!0).forEach(function(i){_D(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zI(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function _D(e,t,n){return t=zD(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zD(e){var t=xD(e,"string");return Fm(t)=="symbol"?t:String(t)}function xD(e,t){if(Fm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Fm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function wD(e,t){if(e==null)return{};var n=TD(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function TD(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var $D=(0,xI.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=wD(e,bD);return(0,wI.jsxs)("svg",xw(xw({fill:"currentColor",fillRule:"evenodd",height:n,style:xw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,ww.jsx)("title",{children:_I}),(0,ww.jsx)("path",{d:"M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815"})]}))}),TI=$D;var EI=G(Ae());var $I="Ideogram";var $w=G(ce()),OI=G(ce());function Qm(e){"@babel/helpers - typeof";return Qm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qm(e)}var RD=["size","style"];function RI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function Tw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?RI(Object(n),!0).forEach(function(i){ED(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RI(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function ED(e,t,n){return t=OD(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OD(e){var t=kD(e,"string");return Qm(t)=="symbol"?t:String(t)}function kD(e,t){if(Qm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Qm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ID(e,t){if(e==null)return{};var n=CD(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function CD(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var ND=(0,EI.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=ID(e,RD);return(0,OI.jsxs)("svg",Tw(Tw({fill:"currentColor",fillRule:"evenodd",height:n,style:Tw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,$w.jsx)("title",{children:$I}),(0,$w.jsx)("path",{d:"M17.768 1.482a6.4 6.4 0 012.988 3.78c.19.068.377.154.555.257.026.015.05.03.073.047.226.137.436.301.627.49a3.377 3.377 0 01-.105 4.875 3.376 3.376 0 01-.216 5.158l-.037.029.021.032c.39.602.585 1.324.534 2.065l-.009.11a3.377 3.377 0 01-4.658 2.777 3.377 3.377 0 01-5.846.971 4.052 4.052 0 01-1.635.397c-.04.005-.082.008-.125.008h-.897l-.068-.003c-1.116-.067-1.093-1.775.068-1.775h.804l.046-.004.047-.001a2.3 2.3 0 00.079-4.6.735.735 0 01-.08.005H2.808a.889.889 0 010-1.778h7.034l.046-.004.048-.001a2.3 2.3 0 00.509-4.544l-.141-.031a2.188 2.188 0 00-.299-.046.759.759 0 01-.07.003H2.808a.889.889 0 110-1.777h7.035l.046-.004.047-.001a2.3 2.3 0 00.087-4.6.972.972 0 01-.087.004h-.897L8.97 3.32c-1.116-.067-1.093-1.775.068-1.775h.8a.9.9 0 01.097-.005c.402 0 .79.058 1.157.166l.031-.02a6.399 6.399 0 016.645-.203zm-3.737 11.484l-.068.036-.083.051a4.08 4.08 0 01-1.404 2.153 4.07 4.07 0 011.537 3.189 4.06 4.06 0 01-.92 2.579 1.599 1.599 0 002.824-1.322l-.03-.124-.013-.079-.005-.056-.001-.042.001-.058.005-.053.013-.078.018-.072.022-.064.035-.079.005-.01a.869.869 0 01.158-.217l.055-.052.041-.032.05-.035.042-.026.055-.03.073-.03.056-.02.04-.011.078-.016.073-.009.045-.002h.048l.041.002.058.006.056.01.062.015.031.01.049.017.054.023.044.021.053.031.035.023c.06.042.114.09.163.147l.038.046.034.048a1.6 1.6 0 102.4-2.07 3.256 3.256 0 01-.473.007l-.057-.005-.026-.005h-.016a3.376 3.376 0 01-2.985-2.568l-.026-.116a1.6 1.6 0 00-2.285-1.133zm-4.416 4.595a.889.889 0 110 1.777H5.939a.889.889 0 010-1.777h3.676zm9.208-10.503a1.6 1.6 0 00-.797 1.3l-.002.085a.889.889 0 01-.83.887l-.059.002a.889.889 0 01-.887-.83l-.002-.059a1.6 1.6 0 00-2.528-1.301 4.089 4.089 0 01-1.255 1.674 4.083 4.083 0 011.451 2.308 3.374 3.374 0 014.125 2.532l.02.093a1.6 1.6 0 001.395 1.26l.124.01.042.002c.06 0 .12-.003.18-.01l.085-.011.062-.015a1.6 1.6 0 00-.245-3.163l-.079-.002a.887.887 0 01-.683-.32l-.034-.044a.884.884 0 01-.154-.702.889.889 0 01.807-.71l.064-.001a1.6 1.6 0 001.134-2.728 1.6 1.6 0 00-.786-.426l-.102-.019a.856.856 0 01-.076-.016 1.592 1.592 0 00-.97.204zm-9.199 4.08a.889.889 0 010 1.778H.89a.889.889 0 010-1.777h8.735zm-.01-6.432a.889.889 0 110 1.777H5.94a.889.889 0 110-1.777h3.676zm3.297-1.954l-.053.021a4.065 4.065 0 011.126 2.36 3.375 3.375 0 013.151 1.027 3.366 3.366 0 011.695-1 4.621 4.621 0 00-5.919-2.408z"})]}))}),kI=ND;var NI=G(Ae());var II="AlibabaCloud";var $v=G(ce()),jI=G(ce());function Xm(e){"@babel/helpers - typeof";return Xm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xm(e)}var jD=["size","style"];function CI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function Rw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?CI(Object(n),!0).forEach(function(i){AD(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CI(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function AD(e,t,n){return t=PD(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function PD(e){var t=UD(e,"string");return Xm(t)=="symbol"?t:String(t)}function UD(e,t){if(Xm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Xm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function MD(e,t){if(e==null)return{};var n=DD(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function DD(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var LD=(0,NI.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=MD(e,jD);return(0,jI.jsxs)("svg",Rw(Rw({fill:"currentColor",fillRule:"evenodd",height:n,style:Rw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,$v.jsx)("title",{children:II}),(0,$v.jsx)("path",{d:"M14.752 4.64h5.274C22.242 4.64 24 6.475 24 8.691V15.8a3.947 3.947 0 01-3.974 3.975h-5.274l1.299-1.835 3.822-1.222c.688-.23 1.146-.918 1.146-1.605v-5.81c0-.687-.458-1.375-1.146-1.605L16.05 6.475l-1.3-1.835zM2.98 15.111c0 .688.46 1.376 1.147 1.606l3.822 1.146 1.3 1.835H3.974A3.947 3.947 0 010 15.723V8.69c0-2.216 1.758-4.05 3.975-4.05h5.273L7.95 6.474 4.127 7.697c-.688.23-1.146.918-1.146 1.606v5.808z"}),(0,$v.jsx)("path",{d:"M16.051 11.213H8.025v1.835h8.026v-1.835z"})]}))}),AI=LD;function Wm(e){if(!e)return null;let t=/^(\\d+(?:\\.\\d+)?)\\s*:\\s*(\\d+(?:\\.\\d+)?)$/.exec(e.trim());if(!t)return null;let n=Number(t[1]),i=Number(t[2]);return!Number.isFinite(n)||!Number.isFinite(i)||n<=0||i<=0?null:n/i}function Ew(e){let t=Wm(e);return t===null?3:t>1.5?2:t<.7?4:3}function Ow(e){let t=/^(\\d+(?:\\.\\d+)?)\\s*:\\s*(\\d+(?:\\.\\d+)?)$/.exec((e??"").trim());return t?`${t[1]} / ${t[2]}`:"1 / 1"}var PI=140,qD=2,HD=4;function kw(e,t){if(!Number.isFinite(e)||e<=0)return Math.min(t,3)||1;let n=Math.floor(e/PI),i=Math.max(qD,Math.min(HD,n));return Math.max(1,Math.min(t,i))}function Iw(e,t,n){let i=Math.max(1,Math.floor(t)||1),r=Array.from({length:i},()=>[]),o=new Array(i).fill(0);for(let a of e){let s=0;for(let l=1;l<i;l++)(o[l]??0)<(o[s]??0)&&(s=l);r[s]?.push(a),o[s]=(o[s]??0)+1/ZD(n(a))}return r}function ZD(e){if(typeof e=="number")return e>0&&Number.isFinite(e)?e:1;if(typeof e=="string"){let t=Wm(e);if(t)return t;let n=parseFloat(e);if(n>0&&Number.isFinite(n))return n}return 1}var Tl="0 0 100 100",Rv="#d4af37",ca=["M11.15,47.67l6.07-1.67c3.58-.98,6.21-3.75,7.02-7.6l1.4-6.65-4.42,1.12c-3.69.94-7.74,3.92-9.46,7.77.03-4.07-4.23-7.74-7.63-9.28l-4.13-1.88.08,6.78c.05,3.92,2.1,7.11,5.43,8.7l5.64,2.7Z","M23.89,60.4c2.99-2.1,4.45-5.57,3.8-9.45l-1.12-6.7-3.74,2.52c-3.12,2.1-5.82,6.23-6.02,10.42-1.46-3.82-6.8-5.85-10.55-6.18l-4.56-.4,2.56,6.33c1.48,3.66,4.57,5.97,8.27,6.36l6.28.67,5.08-3.57Z","M14.43,17.52l-.48-6.01c-.29-3.54,1.52-6.7,5.04-8.46l6.08-3.05.44,4.36c.38,3.72-.44,7.4-4.21,9.44l-6.87,3.72Z","M81.48,31.59l-6.18-1.26c-3.64-.75-6.47-3.33-7.55-7.12l-1.88-6.54,4.49.83c3.75.69,8,3.4,10,7.13-.32-4.05,3.66-8,6.94-9.76l3.98-2.15.41,6.77c.24,3.92-1.58,7.23-4.78,9.03l-5.43,3.07Z","M82.69,47.67l-6.07-1.67c-3.58-.98-6.21-3.75-7.02-7.6l-1.4-6.65,4.42,1.12c3.69.94,7.74,3.92,9.46,7.77-.03-4.07,4.23-7.74,7.63-9.28l4.13-1.88-.08,6.78c-.05,3.92-2.1,7.11-5.43,8.7l-5.64,2.7Z","M69.95,60.4c-2.99-2.1-4.45-5.57-3.8-9.45l1.12-6.7,3.74,2.52c3.12,2.1,5.82,6.23,6.02,10.42,1.46-3.82,6.8-5.85,10.55-6.18l4.56-.4-2.56,6.33c-1.48,3.66-4.57,5.97-8.27,6.36l-6.28.67-5.08-3.57Z","M39.41,88.17l-1.89-2.36-2.12-2.64c2.61-2.85,5.43-5.02,8.29-6.79-1.44-.96-2.92-1.7-4.36-2.08-2.56-.68-5.26-.56-7.82.51l-1.16.48c-3.41,1.42-7.3.9-10.5-1.56l-5.55-4.26,4.15-1.83c3.42-1.51,9.11-2.29,12.38.32-2.02-3.72-1.86-8.58-.27-11.89l1.91-3.96,4.49,5.26c2.6,3.04,3.16,6.74,1.68,9.99l-1.23,2.69c2.93,1.37,6.19,2.72,9.51,4.47,3.32-1.75,6.58-3.1,9.51-4.47l-1.23-2.69c-1.48-3.25-.92-6.94,1.68-9.99l4.49-5.26,1.91,3.96c1.59,3.3,1.76,8.17-.27,11.89,3.27-2.61,8.96-1.83,12.38-.32l4.15,1.83-5.55,4.26c-3.21,2.46-7.09,2.99-10.5,1.56l-1.16-.48c-2.57-1.07-5.27-1.19-7.82-.51-1.45.38-2.92,1.12-4.36,2.08,2.86,1.77,5.68,3.95,8.29,6.79l-2.12,2.64-1.89,2.36c-1.38-2.49-4.2-6.22-7.52-9.24-3.32,3.01-6.14,6.75-7.52,9.24Z","M79.42,17.52l.48-6.01c.29-3.54-1.52-6.7-5.04-8.46l-6.08-3.05-.44,4.36c-.38,3.72.44,7.4,4.21,9.44l6.87,3.72Z","M12.36,31.59l6.18-1.26c3.64-.75,6.47-3.33,7.55-7.12l1.88-6.54-4.49.83c-3.75.69-8,3.4-10,7.13.32-4.05-3.66-8-6.94-9.76l-3.98-2.15-.41,6.77c-.24,3.92,1.58,7.23,4.78,9.03l5.43,3.07Z"],UI=[2,1,4,3,2,1,0,4,3],Cw=5,MI=6;function Ev(e,t="laurel"){return`${t}-leaf-${e}`}function Nw(e={}){let{prefix:t="laurel",durationSecs:n=MI}=e,i=40/(Cw-1),r=35/(Cw-1);return ca.map((o,a)=>{let s=UI[a]??0,l=(s*i).toFixed(2),c=(s*i+8).toFixed(2),d=(60+s*r).toFixed(2),p=(60+s*r+5).toFixed(2),m=`${t}-kf-${a}`;return`@keyframes ${m}{0%,${l}%{opacity:0;transform:scale(0)}${c}%{opacity:1;transform:scale(1)}${d}%{opacity:1;transform:scale(1)}${p}%,100%{opacity:0;transform:scale(0)}}.${Ev(a,t)}{animation:${m} ${n}s ease-in-out infinite;animation-fill-mode:both;transform-box:fill-box;transform-origin:50% 50%}`}).join("")}var ef=G(ce(),1);function VD({size:e=14}){return(0,ef.jsx)("svg",{viewBox:Tl,width:e,height:e,fill:"currentColor",children:ca.map(t=>(0,ef.jsx)("path",{d:t},t))})}var BD={"nano-banana":p3,openai:S3,midjourney:w3,flux:O3,topaz:j3,recraft:D3,gemini:V3,sora:K3,kling:eI,elevenlabs:oI,qwen:uI,bria:hI,bytedance:bI,grok:TI,ideogram:kI,"alibaba-cloud":AI,laurel:VD};function DI({iconKey:e,size:t=13}){let n=e?BD[e]:void 0;return n?(0,ef.jsx)("span",{style:{pointerEvents:"none",display:"inline-flex",lineHeight:1},children:(0,ef.jsx)(n,{size:t})}):null}var A=G(ce(),1);function Ov(e){return e.items?.length?[...e.items]:(e.outputs??[]).map(t=>({url:t.url,posterUrl:t.posterUrl??null,name:t.name,contentType:e.contentType??"image",displayAspect:e.displayAspect??null,openUrl:t.studioUrl??null}))}function jw(e){if(e.length===0)return!0;let t=e[0];return e.every(n=>n.contentType===t.contentType&&(n.displayAspect??null)===(t.displayAspect??null))}var Kn="#d4af37",Aw="#121212",GD=`\n /**\n * THE TWO CHIP TOKENS, SET FROM THE HOST\'S REPORTED THEME.\n *\n * The defaults here are the DARK treatment, which is also what an absent theme gets: a host that reports\n * nothing is more likely dark than light in these clients, and a near-black pill with white content is\n * legible against a light background too, where the inverse is not. data-theme is stamped on <html> from\n * the host context, so a toggle repaints without remounting anything.\n */\n :root {\n color-scheme: light dark;\n --chip-bg: ${Aw};\n --chip-bg-hover: #242424;\n --chip-fg: #ffffff;\n }\n :root[data-theme=\'light\'] {\n --chip-bg: #f2f2f2;\n --chip-bg-hover: #e6e6e6;\n --chip-fg: ${Aw};\n }\n * { box-sizing: border-box; }\n body {\n margin: 0;\n font: 14px/1.5 var(--font-sans, ui-sans-serif, -apple-system, "Segoe UI", system-ui, sans-serif);\n color: var(--color-text-primary, CanvasText);\n background: transparent;\n }\n /*\n * \\u2B50 ROUNDER, AND LIT FROM THE TOP LEFT.\n *\n * A 14px radius on a panel this size reads as a utility box. The reference\'s widgets are noticeably\n * rounder and carry a soft diagonal gradient, which is most of what makes them feel finished rather than\n * functional. Both are cheap: one radius and one overlay gradient in the brand\'s own gold, at an opacity\n * low enough to read as light rather than as color.\n *\n * \\u26A0\\uFE0F The gradient goes on the CONTAINER and stays under the content, so it tints the panel without\n * touching the media. Painting it over the grid would cast gold on every picture.\n */\n .wrap {\n position: relative;\n border: 1px solid var(--color-border-primary, color-mix(in srgb, CanvasText 14%, transparent));\n border-radius: var(--border-radius-lg, 22px);\n overflow: hidden;\n background: var(--color-background-secondary, Canvas);\n }\n .wrap::before {\n content: \'\';\n position: absolute; inset: 0; pointer-events: none; z-index: 0;\n background: linear-gradient(135deg, color-mix(in srgb, ${Kn} 7%, transparent), transparent 55%);\n }\n .wrap > * { position: relative; z-index: 1; }\n\n /*\n * \\u26A0\\uFE0F THE HEAD AND THE GRID SHARE THEIR HORIZONTAL PADDING, WHICH IS WHAT ALIGNS THE MARK.\n *\n * Measured: the mark\'s right edge and the rightmost tile\'s right edge are the same pixel, and the mark\'s\n * vertical center matches the chips\' to the pixel. Both fall out of the shared 12px and align-items\n * center; neither is a coincidence to preserve by hand, but both break the moment these two rules\n * disagree about padding.\n */\n .head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }\n /*\n * \\u26D4 CSS OWNS THE SIZE. The component passed size={20} and this rule said 18px, so the attribute lost\n * silently and the real size was in neither place a reader would look first.\n *\n * \\u26A0\\uFE0F 26px MATCHES THE CHIP HEIGHT EXACTLY, so the mark reads as a peer of the metadata rather than as a\n * decoration tucked into a corner. At 18px it was two thirds of the chips beside it.\n *\n * \\u26A0\\uFE0F The artwork fills 93.84 of its 100-unit viewBox horizontally and 88.17 vertically, anchored top\n * left, so the painted leaves stop about 1.6px short of the element\'s right edge at this size. That is\n * the shape\'s own whitespace, not a layout error, and correcting for it with a negative margin would\n * make the mark disagree with every other surface that draws it.\n */\n .head .mark { width: 26px; height: 26px; flex: 0 0 auto; }\n .head .title { font-weight: var(--font-weight-semibold, 600); }\n /* The brand\'s only flourish: a gold hairline that fades out rather than a full-width rule. */\n .rule { height: 1px; background: linear-gradient(90deg, ${Kn}, transparent 65%); }\n\n .meta { padding: 10px 12px 0; display: flex; flex-direction: column; gap: 8px; }\n .prompt { margin: 0; cursor: pointer; color: var(--color-text-secondary, color-mix(in srgb, CanvasText 60%, transparent)); }\n .prompt.clamped { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }\n /**\n * THE MODEL PILL, AND WHY IT CARRIES ITS OWN SURFACE.\n *\n * A brand glyph is a single-color shape. Drawn straight onto the host\'s background it is invisible in one\n * of the two themes, and the frame has no say over which theme that is. So the pill paints a surface it\n * controls and the glyph inherits the pill\'s own text color through currentColor, which is the whole\n * reason the Mono variant is imported instead of the colored one.\n *\n * \\u2B50\\u2B50 IT FLIPS WITH THE HOST RATHER THAN COMMITTING TO ONE. The host reports theme on its context and\n * fires hostcontextchanged when a person toggles, so dark mode gets a near-black pill with white content\n * and light mode gets a near-white pill with near-black content. Committing to a dark pill in both would\n * have been the fallback, and it is still what an absent theme gets, by way of the defaults below.\n *\n * \\u26A0\\uFE0F The BRAND COLOR stays on the dot and never becomes the pill\'s background. Sixty-six registry colors\n * chosen to read against the app\'s own surfaces cannot all clear a contrast bar against text in someone\n * else\'s chat, and a pill nobody can read is worse than one that is merely plain.\n */\n .badges { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }\n .badge {\n display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;\n border-radius: 999px; font-size: 12px; font-weight: 500;\n background: var(--chip-bg); color: var(--chip-fg);\n }\n .badge .dot { width: 6px; height: 6px; border-radius: 999px; background: ${Kn}; flex: 0 0 auto; }\n /* The glyph is already the brand\'s mark, so a colored dot beside it says the same thing twice. */\n .badge.model .dot { display: none; }\n .badge.model.no-glyph .dot { display: block; }\n\n /**\n * \\u2B50 A GRID, NOT A CAROUSEL. The reference uses one horizontal row with arrows, which makes comparison\n * SERIAL: variation 1 and variation 4 can never be on screen at once, and choosing between them is the\n * entire reason four were generated.\n *\n * \\u2B50\\u2B50\\u2B50 **THE COLUMN COUNT COMES FROM THE SHAPE, VIA --cols.** This was 1fr 1fr for every count, so\n * four 9:16 images sat two-up and each one had to be shrunk to fit, which is where the letterboxing came\n * from. Four portrait images belong on ONE row; two 16:9 images already fill it. The rule is\n * columnsForAspect in @contenthero-ai/brand-ui, shared with the studio\'s row view so the same batch\n * is arranged the same way in both places.\n *\n * \\u26A0\\uFE0F min() with the count, so three outputs under a four-column rule make three columns rather than\n * three columns and a hole.\n */\n .grid { display: grid; gap: 8px; padding: 10px 12px; grid-template-columns: repeat(var(--cols, 2), 1fr); }\n\n /*\n * MASONRY, for a set whose items do not share a shape.\n *\n * \\u2B50 A uniform set is a ROW, because variations of one generation exist to be compared and comparison has\n * to be parallel. A mixed set is being SCANNED, not chosen from, so every item stays its own shape and\n * the column count comes from the width instead. Both rules live in the shared package, so the same\n * media lands the same way in the studio and in a chat.\n *\n * \\u26D4\\u26D4\\u26D4 **NOT column-count. IT READS DOWN, AND A SET OF MEDIA READS ACROSS.**\n *\n * CSS multi-column fills each column top to bottom before starting the next, so item 2 lands BELOW item 1\n * rather than beside it, and a set arrives in one order and reads in another. That is what multi-column\n * MEANS; no styling fixes it. The note that used to sit here called the reading order an acceptable cost\n * "for a set nobody is reading in order", which was a guess about the reader. The reader said otherwise.\n *\n * \\u2B50 So columns are assigned in JS by packIntoColumns (shortest column first, by relative height) and each\n * is rendered as its own flex stack. That is the rule the studio masonry already uses, shared from the\n * brand-ui package so the product and a chat arrange the same media the same way.\n *\n * \\u26A0\\uFE0F Keeping each tile\'s NATURAL height is still the point: no measurement pass, no layout thrash as\n * images decode at different times. Assigning columns up front is what buys that without the reading order.\n */\n .grid.mixed {\n display: flex;\n align-items: flex-start;\n gap: 8px;\n }\n .grid.mixed > .col {\n display: flex;\n flex-direction: column;\n gap: 8px;\n /* Equal share of the row, and min-width 0 so a wide tile cannot push its column past its share. */\n flex: 1 1 0;\n min-width: 0;\n }\n .grid.mixed .tile {\n /* A mixed tile is sized by its own ratio, so it must not also be bounded by the row cap. */\n max-width: none;\n }\n .t-glyph {\n display: grid;\n place-items: center;\n width: 100%;\n height: 100%;\n font-size: 18px;\n color: rgba(255, 255, 255, 0.45);\n }\n\n /**\n * \\u26D4\\u26D4\\u26D4 **THE TILE IS THE IMAGE. IT IS NOT A BOX WITH AN IMAGE INSIDE IT.**\n *\n * The tile used to be a fixed max-height: 220px container with object-fit: contain, so anything whose\n * shape disagreed with the container got bars painted around it. Four portrait images in landscape boxes\n * is most of what looked wrong here.\n *\n * \\u2B50 Giving the tile the generation\'s own aspect-ratio leaves nothing over to letterbox: the box takes\n * the shape of its content, the image covers it exactly, and the visible edge is the picture\'s edge.\n * --ar is set per tile from displayAspect, which the server now sends.\n *\n * \\u26A0\\uFE0F object-fit: cover is safe ONLY because the tile\'s ratio IS the media\'s ratio. If the two ever\n * disagree, cover crops silently. The fallback below is contain for exactly that case: a missing\n * displayAspect means we do not know the shape, and cropping on a guess is worse than a bar.\n */\n /**\n * \\u26D4\\u26D4 AN overflow-hidden TILE CLIPPED ITS OWN TOOLTIP, and a tile at the grid edge is exactly where a\n * tooltip is most needed. The rounded corner is what the clip was FOR, so it moved onto the media, which\n * is the only child that needs clipping. The tile itself now lets an overlay escape its bounds.\n */\n .tile {\n position: relative; overflow: visible; border-radius: var(--border-radius-md, 14px);\n background: var(--color-background-tertiary, color-mix(in srgb, CanvasText 6%, transparent));\n border: 1px solid transparent; padding: 0; display: block; width: 100%;\n }\n /* \\u26A0\\uFE0F The cursor has to agree with the click handler: everything but audio opens a larger view now. */\n .tile.img, .tile.video { cursor: zoom-in; }\n .tile:focus-within { outline: 2px solid ${Kn}; outline-offset: 2px; }\n /**\n * THE HEIGHT CAP, AND WHY IT IS EXPRESSED AS A MAX-WIDTH.\n *\n * A single 9:16 output at full column width is over 1000px tall in a chat, which is the opposite problem\n * from the letterboxing. But capping the HEIGHT of a box that already has a definite width and an\n * aspect-ratio does not shrink it: both axes are then constrained, the ratio is dropped, and\n * object-fit: cover silently CROPS the picture. That trades a visible bar for an invisible loss.\n *\n * Bounding the WIDTH keeps the ratio authoritative. --ar-num is the same ratio as a plain number, so the\n * widest a tile may be is cap times ratio, and its height therefore lands at or under the cap by\n * construction. A tall tile narrows and centers; a wide one is untouched because the bound never binds.\n */\n .tile.shaped {\n aspect-ratio: var(--ar);\n max-width: calc(420px * var(--ar-num, 1));\n margin-inline: auto;\n }\n .tile.shaped img, .tile.shaped video { width: 100%; height: 100%; object-fit: cover; display: block; }\n /* Shape unknown: contain inside a bounded box, because cropping on a guess is worse than a bar. */\n .tile.unshaped img, .tile.unshaped video { display: block; width: 100%; height: auto; max-height: 260px; object-fit: contain; }\n .tile audio { width: 100%; padding: 22px 14px; }\n\n /*\n * A PLACEHOLDER IS THE SAME TILE, so it occupies exactly the space its output will. Anything else makes\n * the grid jump when the media lands, which reads as a glitch rather than as an arrival.\n */\n /*\n * \\u26A0\\uFE0F INHERIT THE RADIUS, OR THE CORNERS SHOW THEIR POINTS.\n *\n * The tile rounds its corners and this fills the tile edge to edge with its own background, so a square\n * overlay inside a rounded box leaves four visible triangles of skeleton color poking past the curve.\n * Only noticeable against the tile\'s own background, which is exactly when a skeleton is on screen.\n *\n * The tile\'s overflow is visible now (so a tooltip can escape it), which means the tile is no longer\n * clipping this for us. Every child that paints to the edge has to round itself.\n */\n /*\n * \\u26A0\\uFE0F NO RESERVED BOX HERE, DELIBERATELY. A shaped frame was tried and is worse: it promises a size that\n * the real card will not have, so the first thing you see is a rectangle nothing ever occupies. Text\n * claims no layout, so the card that replaces it does not have to snap out of one.\n */\n .fallback { padding: 18px; }\n .laurel-wrap {\n position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;\n background: var(--color-background-tertiary, color-mix(in srgb, CanvasText 6%, transparent));\n border-radius: inherit;\n }\n .laurel-wrap .laurel { width: 38%; max-width: 72px; height: auto; }\n\n /*\n * \\u2B50\\u2B50\\u2B50 THE HANDOFF: THE LAUREL STAYS UNTIL THE PIXELS ARE THERE, THEN THE MEDIA REPLACES IT AT ONCE.\n *\n * \\u26D4 **NO CROSS-FADE, AND NO FADE AT ALL.** Read the studio before assuming otherwise, because its own\n * comment says "skeleton->resolve crossfade" and the code does not do that. In BOTH studio views the\n * skeleton and the media are never on screen together: the masonry view swaps component types across a\n * ternary, and the row view swaps a motion.div wrapper for a plain div, so React unmounts the skeleton\n * and mounts a fresh card whose reveal starts from opacity 0.\n *\n * \\u26A0\\uFE0F Which means the studio has a GAP: the skeleton is gone the moment the row flips to completed, and\n * the image only appears once it has decoded. This keeps the studio\'s instant swap and removes the gap,\n * by holding the laurel until the pixels exist rather than until the status changes.\n */\n /* The clip that used to live on the tile. The media fills the tile, so the rounded look is identical. */\n .tile .media { border-radius: inherit; }\n .tile .media { visibility: hidden; }\n .tile.ready .media { visibility: visible; }\n /* Audio has no decode event worth waiting on and no picture to hide, so it is ready on arrival. */\n .tile.audio .media { visibility: visible; }\n\n /**\n * Actions live ON the thing they act on. Hidden until hover, never unreachable by keyboard.\n *\n * ## \\u2B50\\u2B50 THREE ZONES, BECAUSE FIVE IN A ROW READ AS ONE UNDIFFERENTIATED CLUMP\n *\n * The creative verbs (Animate, Edit, Recreate) are the choice someone is making, so they stay centered\n * where the eye already is. Download and Open are EXITS: they leave the picture or leave the\n * conversation, and pinning them to opposite corners separates them from the choice rather than hiding\n * them in the middle of it.\n */\n .acts {\n position: absolute; left: 0; right: 0; bottom: 10px; z-index: 1;\n display: flex; gap: 6px; justify-content: center;\n opacity: 0; transition: opacity .12s ease;\n }\n .corner { position: absolute; top: 8px; z-index: 2; opacity: 0; transition: opacity .12s ease; }\n /**\n * \\u26D4\\u26D4 **AN AUDIO TILE IS A CONTROL SURFACE, SO THE ACTIONS MUST NOT COVER IT.**\n *\n * Every other medium is a picture with an overlay on top, which is fine because the picture does nothing\n * when you click it. An audio tile is a transport: play, scrub, volume. The acts row sat 10px from the\n * bottom, directly over those controls, so hovering to press play summoned buttons that took the click\n * instead. Reported as audio that "just doesn\'t really do anything".\n *\n * \\u2B50 Moving them to the TOP of the tile leaves the transport clear. The corners already sit there, so an\n * audio tile reserves a little more height for the row to live in rather than overlapping either one.\n */\n .tile.audio {\n /* Tall enough for a transport and a row of verbs to sit apart rather than on top of each other. */\n min-height: 116px;\n display: flex;\n align-items: flex-start;\n padding: 10px 8px;\n }\n /* The transport gets the top, where nothing is ever drawn over it. */\n .tile.audio .media { width: 100%; }\n .tile.audio .acts {\n top: auto;\n bottom: 10px;\n /* Always visible: there is no picture here that an overlay would obscure. */\n opacity: 1;\n }\n .corner.tl { left: 8px; }\n .corner.tr { right: 8px; }\n .tile:hover .acts, .tile:focus-within .acts,\n .tile:hover .corner, .tile:focus-within .corner { opacity: 1; }\n @media (hover: none) { .acts, .corner { opacity: 1; } }\n\n .pill {\n appearance: none; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600;\n display: inline-flex; align-items: center; gap: 6px;\n padding: 6px 13px; border-radius: 999px; border: 1px solid transparent;\n background: ${Aw}; color: #fff;\n }\n .pill:hover { background: #1e1e1e; }\n .pill:focus-visible { outline: 2px solid ${Kn}; outline-offset: 2px; }\n .pill.ghost {\n background: transparent; color: inherit;\n border-color: var(--color-border-secondary, color-mix(in srgb, CanvasText 20%, transparent));\n }\n .pill.ghost:hover { border-color: ${Kn}; }\n /*\n * \\u26A0\\uFE0F EVERY ACTION NEEDS A SURFACE, NOT JUST THE PRIMARY ONE. Only Animate carried a background, so\n * Download, Edit and Recreate read as bare text floating next to a button rather than as buttons. The\n * neutral surface is theme-aware for the same reason the chip\'s is: a single fixed gray is unreadable\n * against one of the two backgrounds, and the frame does not choose which.\n */\n /*\n * \\u26A0\\uFE0F A SURFACE **AND** A HAIRLINE. The neutral fill alone still read as bare text against a dark panel,\n * because the fill and the panel are close in value by design. The border is what makes the edge of the\n * control findable, and it is the treatment Expand already had before the other buttons were changed\n * around it, which is why they suddenly looked unlike each other.\n */\n .pill.neutral {\n background: var(--chip-bg);\n color: var(--chip-fg);\n border-color: var(--color-border-secondary, color-mix(in srgb, CanvasText 18%, transparent));\n }\n .pill.neutral:hover {\n background: var(--chip-bg-hover);\n border-color: ${Kn};\n }\n .pill[disabled] { opacity: .6; cursor: default; }\n /* A refused download must not look like one that worked. Gold is the brand\'s attention color. */\n .pill.warn { border-color: ${Kn}; color: ${Kn}; }\n /*\n * A pill with only a glyph in it is a CIRCLE. The reference draws squircles; fully round reads as an\n * action rather than a small panel, and it is the shape the rest of this widget already uses.\n */\n .acts .pill, .corner .pill { padding: 0; width: 30px; height: 30px; justify-content: center; border-radius: 999px; }\n .acts .pill.warn { width: auto; padding: 0 12px; }\n .bar {\n display: flex; align-items: center; gap: 8px; padding: 10px 12px; flex-wrap: wrap;\n border-top: 1px solid var(--color-border-primary, color-mix(in srgb, CanvasText 14%, transparent));\n }\n /*\n * OUR OWN TOOLTIP, NOT THE BROWSER\'S.\n *\n * \\u26A0\\uFE0F The title attribute took roughly a second to appear, rendered in the OS\'s own style, and could not\n * be themed or positioned, so an icon-only button looked unlabeled for the whole time someone was\n * deciding whether to click it. This one appears immediately and matches the chips.\n *\n * \\u26A0\\uFE0F Pointer-events off, or the tooltip sits under the cursor and re-triggers the hover it came from,\n * which flickers. It is also the reason the glyphs themselves are pointer-events: none.\n */\n /*\n * \\u26D4 SCOPED TO .acts, WHICH IS THE ONLY PLACE A BUTTON HAS NO LABEL. A tooltip on a button that already\n * says Recreate tells you what it says, which is noise wearing the costume of help. The selector is the\n * enforcement: there is no way to attach one to a labeled button without moving it into the hover row.\n */\n /**\n * \\u26D4\\u26D4\\u26D4 THE z-index ON THE TOOLTIP IS NOT WHAT DECIDES THIS, AND THAT IS WHY IT LOOKED IGNORED.\n *\n * A pseudo-element is painted inside its own element\'s box. Raising its z-index orders it against that\n * element\'s other children, never against the element\'s SIBLINGS, so the Animate tooltip was drawn under\n * the Download button simply because Download comes later in the DOM. Measured: the tooltip rendered,\n * in the right place, behind a button.\n *\n * \\u2B50 THE HOVERED BUTTON IS WHAT HAS TO RISE. Lifting the button lifts everything it paints, tooltip\n * included, above every sibling in the row.\n */\n .acts [data-tip], .corner [data-tip] { position: relative; }\n /**\n * \\u26D4\\u26D4\\u26D4 **RAISING THE BUTTON WAS STILL NOT ENOUGH, AND THE REASON IS ONE LEVEL UP.**\n *\n * A z-index only orders an element against its siblings INSIDE its nearest stacking context. The acts row\n * and each corner are themselves positioned with their own z-index, so each one IS such a context: a\n * button inside the acts row (z-index 1) can be raised to any number at all and still paint under the\n * corner buttons (z-index 2), because the whole row is below them. The Animate and Recreate tooltips kept\n * rendering behind Download and Open after the button itself was lifted, which is what that looks like.\n *\n * \\u2B50 THE ZONE IS WHAT HAS TO RISE. Hovering anywhere in a zone lifts the zone above its neighbors, and\n * the tooltip rides with it. This is the same mistake as the tile clipping its own tooltip, one level\n * further out: the fix is never on the thing you can see, it is on the box that contains it.\n */\n .tile .acts:hover, .tile .acts:focus-within,\n .tile .corner:hover, .tile .corner:focus-within { z-index: 8; }\n .acts [data-tip]::after, .corner [data-tip]::after {\n content: attr(data-tip);\n position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);\n /* Fully round, like every other control here. A rounded rectangle was the odd one out. */\n padding: 5px 12px; border-radius: 999px; white-space: nowrap;\n font-size: 12px; font-weight: 500; line-height: 1.2;\n background: var(--chip-bg); color: var(--chip-fg);\n box-shadow: 0 2px 10px rgb(0 0 0 / .28);\n opacity: 0; pointer-events: none; transition: opacity .1s ease; z-index: 3;\n }\n /**\n * \\u26A0\\uFE0F ONE DIRECTION FOR EVERY TOOLTIP: UPWARD.\n *\n * These opened downward, on the reasoning that a tooltip above a button 8px from the frame\'s top would\n * be clipped. That reasoning was written before the tile stopped clipping its own overlay, and the grid\n * carries a header above it, so there is room. A tooltip that points the other way from every other one\n * reads as a different control, which costs more than the edge case it was guarding.\n */\n .acts [data-tip]:hover::after, .acts [data-tip]:focus-visible::after,\n .corner [data-tip]:hover::after, .corner [data-tip]:focus-visible::after { opacity: 1; }\n\n .muted { color: var(--color-text-secondary, color-mix(in srgb, CanvasText 55%, transparent)); font-size: 13px; }\n .spacer { flex: 1 1 auto; }\n\n /**\n * FULLSCREEN. \\u26A0\\uFE0F\\u26A0\\uFE0F "min-height: 0" ON THE MEDIA ROW IS LOAD-BEARING. A flex child defaults to\n * "min-height: auto", so a tall image refuses to shrink below its content size and pushes the thumbnail\n * strip off the bottom of the frame. That is exactly the clipping reported before this comment existed.\n */\n /*\n * \\u26A0\\uFE0F\\u26A0\\uFE0F THE RESERVED BAND IS A VARIABLE, AND IT IS NOT A CONSTANT HEIGHT.\n *\n * The host\'s composer floats over this frame, and it GROWS: attach something or type a few lines and it\n * is several times its resting height. A fixed 96px reserve was sized for the resting case, so a grown\n * composer climbed over the thumbnail strip and made it unclickable. The strip is the only way to change\n * variation, so that is not a cosmetic overlap.\n *\n * \\u2B50 --composer-band is measured at runtime from the frame\'s own height against the host\'s reported\n * container height. Reserving too much costs a strip of empty background; reserving too little costs the\n * controls, which is not a symmetric trade.\n *\n * \\u26D4\\u26D4 **THE COMPOSER IS NOT THE ONLY THING DOWN THERE.** The host also floats a scroll-to-bottom arrow\n * ABOVE its composer, and that arrow sits over our frame and eats the pointer. The reported symptom was\n * buttons that highlight sometimes and summon the host\'s arrow other times, which is exactly what a\n * transparent overlay catching hover looks like from the inside.\n *\n * \\u26A0\\uFE0F THAT SYMPTOM WAS REPORTED AGAINST THE INLINE FRAME, and this band is only ever applied to the\n * FULLSCREEN one. Measured 2026-09-21: a fullscreen capture shows the composer and no arrow, while an\n * inline capture from the same session shows both. So the arrow\'s extra reach was being paid here for\n * an obstruction that is not present, and that is the empty space under the action row.\n *\n * \\u2B50 The floor now covers the composer plus a margin. If an arrow ever does appear over a fullscreen\n * frame the symptom is specific: a button that responds only when the cursor is slightly off it. Raise\n * the floor, do not move the button.\n */\n .full {\n position: fixed; inset: 0; display: flex; flex-direction: column;\n padding-bottom: var(--composer-band, 132px);\n background: var(--color-background-primary, Canvas);\n }\n .full .stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 12px 16px; }\n /**\n * \\u2B50\\u2B50 THE STAGE IS THE POINT OF THIS VIEW, SO THE PICTURE SHOULD USE IT.\n *\n * These were max-width and max-height with auto sizing, which bounds an image DOWNWARD and never scales\n * it up. Anything whose natural size was smaller than the stage drew at its natural size and left the\n * rest of the frame empty, which is the unused space below the picture.\n *\n * \\u26A0\\uFE0F Filling the box and letting object-fit: contain do the fitting keeps the ratio exactly as before:\n * contain never crops. The only change is that a small source now scales UP to the space available,\n * which is what someone who opened a detail view asked for.\n */\n .full .stage img, .full .stage video { width: 100%; height: 100%; object-fit: contain; }\n /* \\u26A0\\uFE0F The host\'s composer overlays the bottom of a fullscreen frame, so the strip needs room BELOW it or\n it sits behind the message box. Measured: clipped by roughly a composer\'s height. */\n .full .strip { flex: 0 0 auto; display: flex; gap: 8px; padding: 8px 16px 10px; overflow-x: auto; justify-content: center; }\n .full .strip .t { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; flex: 0 0 auto; }\n .full .strip .t[aria-current="true"] { border-color: ${Kn}; }\n .full .strip .t img { width: 100%; height: 100%; object-fit: cover; display: block; }\n /*\n * \\u26A0\\uFE0F THE HOST\'S COMPOSER OVERLAYS THE BOTTOM OF A FULLSCREEN FRAME. The foot was pressed flat against it\n * with no breathing room, so the actions read as squeezed against the message box rather than as part of\n * the picture above them. The strip already reserves 96px below itself for the same reason; the foot\n * sits inside that reserved band, which is why its own bottom padding is zero when a strip is present.\n */\n .full .foot { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 10px 16px 16px; flex-wrap: wrap; }\n .full .strip + .foot { padding-bottom: 0; }\n`;function JD(){return(0,A.jsx)("svg",{viewBox:Tl,className:"mark","aria-hidden":"true",children:ca.map(e=>(0,A.jsx)("path",{d:e,fill:Rv},e))})}var tf={width:14,height:14,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},YD=Nw({prefix:"ch"});function Pw(){return(0,A.jsx)("svg",{viewBox:Tl,className:"laurel","aria-hidden":"true",children:ca.map((e,t)=>(0,A.jsx)("path",{d:e,fill:Rv,className:Ev(t,"ch")},e))})}function KD(){return(0,A.jsxs)("svg",{...tf,"aria-hidden":"true",children:[(0,A.jsx)("rect",{x:"2",y:"5",width:"14",height:"14",rx:"2"}),(0,A.jsx)("path",{d:"m22 8-6 4 6 4V8Z"})]})}function FD(){return(0,A.jsxs)("svg",{...tf,"aria-hidden":"true",children:[(0,A.jsx)("path",{d:"M12 3v12"}),(0,A.jsx)("path",{d:"m7 11 5 5 5-5"}),(0,A.jsx)("path",{d:"M4 20h16"})]})}function QD(){return(0,A.jsxs)("svg",{...tf,"aria-hidden":"true",children:[(0,A.jsx)("path",{d:"M12 20h9"}),(0,A.jsx)("path",{d:"M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z"})]})}function XD(){return(0,A.jsxs)("svg",{...tf,"aria-hidden":"true",children:[(0,A.jsx)("path",{d:"M14 4h6v6"}),(0,A.jsx)("path",{d:"M20 4 11 13"}),(0,A.jsx)("path",{d:"M19 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5"})]})}function LI(){return(0,A.jsxs)("svg",{...tf,"aria-hidden":"true",children:[(0,A.jsx)("path",{d:"M3 12a9 9 0 0 1 15-6.7L21 8"}),(0,A.jsx)("path",{d:"M21 3v5h-5"}),(0,A.jsx)("path",{d:"M21 12a9 9 0 0 1-15 6.7L3 16"}),(0,A.jsx)("path",{d:"M3 21v-5h5"})]})}function qI({output:e,kind:t,onReady:n,quality:i="master"}){let r=i==="preview"?e.previewUrl??e.url:e.url;return t==="video"?(0,A.jsx)("video",{className:"media",src:e.url,poster:e.posterUrl??void 0,controls:!0,preload:"metadata",playsInline:!0,onLoadedData:n,onError:n}):t==="audio"?(0,A.jsx)("audio",{className:"media",src:e.url,controls:!0,preload:"metadata"}):(0,A.jsx)("img",{className:"media",src:r,alt:e.name,onLoad:n,onError:n})}function HI(e){return e.contentType==="video"?e.posterUrl??null:e.contentType==="audio"?null:e.previewUrl??e.url}function WD(e){return e.length===0?"Media":e.every(t=>t.source==="creations")?"Creations":"Media"}function e7(e,t){let n=(a,s)=>s?n(s,a%s):a,i=n(e,t)||1,r=Math.round(e/i),o=Math.round(t/i);if(r>32||o>32){let a=e/t,l=[[1,1],[4,3],[3,4],[3,2],[2,3],[16,9],[9,16],[21,9]].reduce((c,d)=>Math.abs(c[0]/c[1]-a)<Math.abs(d[0]/d[1]-a)?c:d);r=l[0],o=l[1]}return`${r}:${o}`}function VI(e){let t=e.split("?")[0]??"";return/\\.([a-z0-9]{2,5})$/i.exec(t)?.[1]?.toLowerCase()??null}var BI={image:"png",video:"mp4",audio:"mp3"},t7={png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",webp:"image/webp",gif:"image/gif",avif:"image/avif",svg:"image/svg+xml",mp4:"video/mp4",webm:"video/webm",mov:"video/quicktime",mp3:"audio/mpeg",wav:"audio/wav",m4a:"audio/mp4",ogg:"audio/ogg"};function n7(e){let t=VI(e.url)??BI[e.contentType];return e.name.includes(".")?e.name:`${e.name}.${t}`}function r7(e){let t=VI(e.url)??BI[e.contentType];return t7[t]}var $l={animate:e=>`Animate this image into a short video. Use it as the reference image: ${e}\n\nPick a suitable video model and tell me which one before you spend credits.`,edit:(e,t)=>`I want to edit this ${t}: ${e}\n\nAsk me what change I want. Then find a model that can edit a ${t} (check the registry rather than assuming one) and tell me which you picked before you spend credits. Do not generate anything yet.`,canRecreate:e=>!!(e.modelId&&e.prompt),canRecreateItem:e=>!!(e.source==="creations"&&e.reference&&e.modelId),recreateItem:e=>`Generate this again with the same settings: ${e.reference}\n\nRead its prompt and settings first (model ${e.modelId}), tell me what you are about to run, then generate one.`,recreate:e=>{let t=["Generate this again with the same settings.","",`type: ${e.contentType}`,`model: ${e.modelId}`];return e.displayAspect&&t.push(`aspect_ratio: ${e.displayAspect}`),t.push(`count: ${Ov(e).length}`),e.prompt&&t.push("","prompt:",e.prompt),t.join(`\n`)}};function Uw(e){return{"--ar":Ow(e),"--ar-num":String(Wm(e)??1)}}function i7(){let[e,t]=(0,Ne.useState)(null),[n,i]=(0,Ne.useState)(0),[r,o]=(0,Ne.useState)(!1),[a,s]=(0,Ne.useState)(!1),[l,c]=(0,Ne.useState)(null),[d,p]=(0,Ne.useState)(null),[m,f]=(0,Ne.useState)(null),[_,$]=(0,Ne.useState)(!1),[j,y]=(0,Ne.useState)("Waiting for the result."),[g,S]=(0,Ne.useState)(()=>new Set),[x,I]=(0,Ne.useState)(null),[H,M]=(0,Ne.useState)(!1),[B,oe]=(0,Ne.useState)(()=>typeof window>"u"?0:window.innerWidth);(0,Ne.useEffect)(()=>{let C=()=>oe(window.innerWidth);return window.addEventListener("resize",C),()=>window.removeEventListener("resize",C)},[]);let W=(0,Ne.useCallback)(C=>{let K=C?.structuredContent??C?.result?.structuredContent;M(!0),K&&(K.items?.length||K.outputs?.length||K.status==="processing")&&(t(K),i(0),c(null),$(!1))},[]),{app:me,isConnected:wr}=i3({appInfo:{name:"contenthero-generation",version:"1"},capabilities:{},autoResize:!0,onAppCreated:C=>{C.ontoolresult=W}}),Ce=(0,Ne.useMemo)(()=>e?Ov(e):[],[e]),An=(0,Ne.useMemo)(()=>Ce[n]??null,[Ce,n]),vn=!!me?.getHostContext?.()?.availableDisplayModes?.includes("fullscreen"),Fn=(0,Ne.useCallback)(async C=>{if(!(!me||!vn))try{let K=await me.requestDisplayMode({mode:C?"fullscreen":"inline"});o(K.mode==="fullscreen")}catch{}},[me,vn]);(0,Ne.useEffect)(()=>{if(!me)return;let C=K=>{document.documentElement.dataset.theme=K?.theme==="light"?"light":"dark",K?.displayMode&&o(K.displayMode==="fullscreen");let Q=K?.containerDimensions,ue=Q?.height??Q?.maxHeight;if(ue&&window.innerHeight){let nt=Math.min(240,Math.max(132,window.innerHeight-ue+24));document.documentElement.style.setProperty("--composer-band",`${Math.round(nt)}px`)}let ge=K?.toolInfo?.tool,ct=typeof ge?._meta?.["ui/progressLabel"]=="string"?ge._meta["ui/progressLabel"]:ge?.title;ct&&y(`${ct}\\u2026`)};return C(me.getHostContext?.()),me.addEventListener?.("hostcontextchanged",C),()=>me.removeEventListener?.("hostcontextchanged",C)},[me]),(0,Ne.useEffect)(()=>{if(!r||!e)return;let C=Ov(e);if(C.length<2)return;let K=Q=>{if(Q.key!=="ArrowLeft"&&Q.key!=="ArrowRight")return;Q.preventDefault();let ue=C.length;i(ge=>Q.key==="ArrowRight"?(ge+1)%ue:(ge-1+ue)%ue)};return window.addEventListener("keydown",K),()=>window.removeEventListener("keydown",K)},[r,e]),(0,Ne.useEffect)(()=>{if(!me||!e||e.status!=="processing")return;let C=Math.max(3,e.pollAfterSeconds??10),K=1200,Q=!1,ue,ge=0,ct=async()=>{if(!Q){try{let nt=await me.callServerTool({name:"get_generation_status",arguments:{outputIds:[e.outputId]}});if(Q)return;let qe=nt.structuredContent;if((qe?Ov(qe):[]).length>0&&(t(Dt=>({...Dt,...qe,expected:Dt?.expected??qe?.expected})),c(null),qe?.status!=="processing"))return}catch{}if(!Q){if(ge+=C,ge>=K){$(!0);return}ue=setTimeout(()=>{ct()},C*1e3)}}};return ue=setTimeout(()=>{ct()},C*1e3),()=>{Q=!0,ue&&clearTimeout(ue)}},[me,e]);let yn=async C=>{if(!me||!e)return;p(C.url),f(null),I(null);let K=n7(C),Q=r7(C);try{let ue;try{let ge=await fetch(C.url);if(!ge.ok)throw new Error(`the media responded ${ge.status}`);let ct=new Uint8Array(await ge.arrayBuffer()),nt="";for(let qe=0;qe<ct.length;qe+=32768)nt+=String.fromCharCode(...ct.subarray(qe,qe+32768));ue=await me.downloadFile({contents:[{type:"resource",resource:{uri:C.url,mimeType:Q,blob:btoa(nt)}}]})}catch(ge){ue=await me.downloadFile({contents:[{type:"resource_link",uri:C.url,name:K,mimeType:Q}]}),ue?.isError&&I(ge instanceof Error?ge.message:"could not read the file")}ue?.isError&&(f(C.url),I(ge=>ge??"the host declined to save it"))}catch(ue){f(C.url),I(ue instanceof Error?ue.message:"the download failed")}finally{p(null)}},Xt=async C=>{if(me)try{await me.sendMessage({role:"user",content:[{type:"text",text:C}]})}catch{}};if(!e)return H?null:wr?(0,A.jsx)("div",{className:"fallback muted",children:j}):(0,A.jsx)("div",{className:"fallback muted",children:"Connecting."});let Tr=e.status==="processing",Sn=Math.max(Ce.length,Tr?e.expected??Ce.length??1:Ce.length),Mt=Math.max(0,Sn-Ce.length),tt=Math.max(1,Sn),bn=Tr&&Ce.length===0,_n=e.contentType??(jw(Ce)?Ce[0]?.contentType??"item":"item"),$r=bn?_?"Still running. Ask me to check on it.":`Making ${tt} ${tt===1?_n:`${_n}s`}`:tt===1?_n:`${tt} ${_n}s`,zn=$r.charAt(0).toUpperCase()+$r.slice(1),Qe=l??e.displayAspect??(jw(Ce)?Ce[0]?.displayAspect??null:null),Et=bn||jw(Ce),ti=Et?Math.min(tt,Ew(Qe)):kw(B,tt),Pn=(C,K)=>{let Q=K.zone??"all",ue=Dt=>Q==="all"||Q===Dt,ge=C.contentType==="image",ct=!!C.reference,nt=Dt=>K.labels?Dt:null,qe=Dt=>K.labels?void 0:Dt,Qn=m===C.url;return(0,A.jsxs)(A.Fragment,{children:[ue("center")&&ge&&ct&&(0,A.jsxs)("button",{className:"pill neutral",onClick:()=>{Xt($l.animate(C.reference))},"data-tip":qe("Animate"),children:[(0,A.jsx)(KD,{}),nt("Animate")]}),ue("download")&&(0,A.jsxs)("button",{className:`pill neutral${Qn?" warn":""}`,onClick:()=>{yn(C)},disabled:d===C.url,"data-tip":Qn?x||"The host refused that download":qe("Download"),children:[(0,A.jsx)(FD,{}),nt(Qn?"Not downloaded":d===C.url?"Saving":"Download")]}),ue("center")&&ct&&C.contentType!=="audio"&&(0,A.jsxs)("button",{className:"pill neutral",onClick:()=>{Xt($l.edit(C.reference,C.contentType))},"data-tip":qe("Edit"),children:[(0,A.jsx)(QD,{}),nt("Edit")]}),ue("center")&&$l.canRecreateItem(C)&&(0,A.jsxs)("button",{className:"pill neutral",onClick:()=>{Xt($l.recreateItem(C))},"data-tip":qe("Recreate"),children:[(0,A.jsx)(LI,{}),nt("Recreate")]}),ue("open")&&C.openUrl&&(0,A.jsxs)("button",{className:"pill neutral",onClick:()=>{me?.openLink({url:C.openUrl})},"data-tip":qe("Open"),children:[(0,A.jsx)(XD,{}),nt("Open")]})]})},ni=(0,A.jsxs)(A.Fragment,{children:[e.modelName&&(0,A.jsxs)("span",{className:`badge model${e.modelIconKey?"":" no-glyph"}`,children:[(0,A.jsx)(DI,{iconKey:e.modelIconKey}),(0,A.jsx)("span",{className:"dot",style:{background:e.modelBrandColor||Kn}}),e.modelName]}),Et&&Qe?(0,A.jsx)("span",{className:"badge",children:Qe}):!bn&&(0,A.jsx)("span",{className:"badge",children:WD(Ce)})]});if(r&&An)return(0,A.jsxs)("div",{className:"full",children:[(0,A.jsx)("div",{className:"stage",children:(0,A.jsx)(qI,{output:An,kind:An.contentType,quality:"master"})}),tt>1&&(0,A.jsx)("div",{className:"strip",role:"tablist","aria-label":"Variations",children:Ce.map((C,K)=>(0,A.jsx)("button",{className:"t",role:"tab","aria-current":K===n,"aria-label":`${K+1} of ${tt}`,onClick:()=>i(K),children:HI(C)?(0,A.jsx)("img",{src:HI(C),alt:""}):(0,A.jsx)("span",{className:"t-glyph","aria-hidden":!0,children:"\\u266A"})},C.url))}),(0,A.jsxs)("div",{className:"foot",children:[Pn(An,{labels:!0}),(0,A.jsx)("span",{className:"spacer"}),ni,tt>1&&(0,A.jsx)("span",{className:"muted",children:Et?`Variation ${n+1} of ${tt}`:`${n+1} of ${tt}`})]})]});let Un=(C,K)=>(0,A.jsxs)("div",{className:`tile${C.contentType==="image"?" img":""}${C.contentType==="video"?" video":""}${C.contentType==="audio"?" audio":""} ${(Et?Qe:C.displayAspect)?"shaped":"unshaped"}${g.has(C.url)?" ready":""}`,style:(()=>{let Q=Et?Qe:C.displayAspect??null;return Q?Uw(Q):void 0})(),onClick:()=>{i(K),C.contentType!=="audio"&&Fn(!0)},children:[C.contentType==="image"?(0,A.jsx)("img",{className:"media",src:C.previewUrl??C.url,alt:C.name,onLoad:Q=>{if(S(ge=>ge.has(C.url)?ge:new Set(ge).add(C.url)),K!==0)return;let ue=Q.currentTarget;ue.naturalWidth&&ue.naturalHeight&&c(e7(ue.naturalWidth,ue.naturalHeight))},onError:()=>S(Q=>new Set(Q).add(C.url))}):(0,A.jsx)(qI,{output:C,kind:C.contentType,quality:"preview",onReady:()=>S(Q=>Q.has(C.url)?Q:new Set(Q).add(C.url))}),!g.has(C.url)&&C.contentType!=="audio"&&(0,A.jsx)("div",{className:"laurel-wrap",children:(0,A.jsx)(Pw,{})}),C.contentType==="audio"?(0,A.jsx)("div",{className:"acts",onClick:Q=>Q.stopPropagation(),children:Pn(C,{labels:!1,zone:"all"})}):(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{className:"corner tl",onClick:Q=>Q.stopPropagation(),children:Pn(C,{labels:!1,zone:"download"})}),(0,A.jsx)("div",{className:"corner tr",onClick:Q=>Q.stopPropagation(),children:Pn(C,{labels:!1,zone:"open"})}),(0,A.jsx)("div",{className:"acts",onClick:Q=>Q.stopPropagation(),children:Pn(C,{labels:!1,zone:"center"})})]})]},C.url);return(0,A.jsxs)("div",{className:"wrap",children:[(0,A.jsxs)("div",{className:"head",children:[(0,A.jsx)("div",{className:"badges",children:ni}),(0,A.jsx)("span",{className:"spacer"}),(0,A.jsx)(JD,{})]}),e.prompt&&(0,A.jsx)("div",{className:"meta",children:(0,A.jsx)("p",{className:a?"prompt":"prompt clamped",onClick:()=>s(C=>!C),children:e.prompt})}),(0,A.jsxs)("div",{className:Et?"grid":"grid mixed",style:{"--cols":String(ti)},children:[Mt>0&&Ce.length===0&&Array.from({length:Mt},(C,K)=>(0,A.jsx)("div",{className:"tile shaped",style:Uw(Qe??"1:1"),children:(0,A.jsx)("div",{className:"laurel-wrap",children:(0,A.jsx)(Pw,{})})},`pending-${K}`)),Et?Ce.map((C,K)=>Un(C,K)):Iw(Ce.map((C,K)=>({o:C,i:K})),ti,C=>C.o.displayAspect).map((C,K)=>(0,A.jsx)("div",{className:"col",children:C.map(Q=>Un(Q.o,Q.i))},`col-${K}`)),Mt>0&&Ce.length>0&&Array.from({length:Mt},(C,K)=>(0,A.jsx)("div",{className:"tile shaped",style:Uw(Qe??"1:1"),children:(0,A.jsx)("div",{className:"laurel-wrap",children:(0,A.jsx)(Pw,{})})},`awaiting-${K}`))]}),(0,A.jsxs)("div",{className:"bar",children:[(0,A.jsx)("span",{className:"muted",children:zn}),(0,A.jsx)("span",{className:"spacer"}),!bn&&$l.canRecreate(e)&&(0,A.jsxs)("button",{className:"pill neutral",onClick:()=>{Xt($l.recreate(e))},children:[(0,A.jsx)(LI,{}),"Recreate"]}),!bn&&vn&&Ce.some(C=>C.contentType==="image")&&(0,A.jsx)("button",{className:"pill neutral",onClick:()=>{Fn(!0)},children:"Expand"})]})]})}var GI=document.createElement("style");GI.textContent=GD+YD;document.head.appendChild(GI);var JI=document.createElement("div");document.body.appendChild(JI);(0,ZI.createRoot)(JI).render((0,A.jsx)(i7,{}));\n/*! Bundled license information:\n\nscheduler/cjs/scheduler.production.js:\n (**\n * @license React\n * scheduler.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *)\n\nreact/cjs/react.production.js:\n (**\n * @license React\n * react.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *)\n\nreact-dom/cjs/react-dom.production.js:\n (**\n * @license React\n * react-dom.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *)\n\nreact-dom/cjs/react-dom-client.production.js:\n (**\n * @license React\n * react-dom-client.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *)\n\nreact/cjs/react-jsx-runtime.production.js:\n (**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *)\n\n@modelcontextprotocol/client/dist/src-D_zzAWoS.mjs:\n (*!\n * content-type\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n *)\n*/\n</script>\n</body>\n</html>\n';
68
- var PACKAGE_VERSION = "0.4.14";
67
+ var GENERATION_WIDGET_HTML = '<!doctype html>\n<html lang="en">\n<head>\n<meta charset="utf-8" />\n<meta name="viewport" content="width=device-width,initial-scale=1" />\n<title>ContentHero</title>\n</head>\n<body>\n<script type="module">var KI=Object.create;var Iv=Object.defineProperty;var FI=Object.getOwnPropertyDescriptor;var QI=Object.getOwnPropertyNames;var XI=Object.getPrototypeOf,WI=Object.prototype.hasOwnProperty;var Xn=(e,t)=>()=>{try{return t||e((t={exports:{}}).exports,t),t.exports}catch(n){throw t=0,n}},Er=(e,t)=>{for(var n in t)Iv(e,n,{get:t[n],enumerable:!0})},eN=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of QI(t))!WI.call(e,r)&&r!==n&&Iv(e,r,{get:()=>t[r],enumerable:!(i=FI(t,r))||i.enumerable});return e};var J=(e,t,n)=>(n=e!=null?KI(XI(e)):{},eN(t||!e||!e.__esModule?Iv(n,"default",{value:e,enumerable:!0}):n,e));var Yw=Xn(je=>{"use strict";function Av(e,t){var n=e.length;e.push(t);e:for(;0<n;){var i=n-1>>>1,r=e[i];if(0<bf(r,t))e[i]=t,e[n]=r,n=i;else break e}}function Wn(e){return e.length===0?null:e[0]}function zf(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var i=0,r=e.length,o=r>>>1;i<o;){var a=2*(i+1)-1,s=e[a],l=a+1,c=e[l];if(0>bf(s,n))l<r&&0>bf(c,s)?(e[i]=c,e[l]=n,i=l):(e[i]=s,e[a]=n,i=a);else if(l<r&&0>bf(c,n))e[i]=c,e[l]=n,i=l;else break e}}return t}function bf(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}je.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(Dw=performance,je.unstable_now=function(){return Dw.now()}):(Nv=Date,Lw=Nv.now(),je.unstable_now=function(){return Nv.now()-Lw});var Dw,Nv,Lw,Or=[],ai=[],tN=1,Tn=null,xt=3,Pv=!1,lc=!1,cc=!1,Uv=!1,Zw=typeof setTimeout=="function"?setTimeout:null,Vw=typeof clearTimeout=="function"?clearTimeout:null,qw=typeof setImmediate<"u"?setImmediate:null;function _f(e){for(var t=Wn(ai);t!==null;){if(t.callback===null)zf(ai);else if(t.startTime<=e)zf(ai),t.sortIndex=t.expirationTime,Av(Or,t);else break;t=Wn(ai)}}function Mv(e){if(cc=!1,_f(e),!lc)if(Wn(Or)!==null)lc=!0,xa||(xa=!0,za());else{var t=Wn(ai);t!==null&&Dv(Mv,t.startTime-e)}}var xa=!1,uc=-1,Bw=5,Gw=-1;function Jw(){return Uv?!0:!(je.unstable_now()-Gw<Bw)}function Cv(){if(Uv=!1,xa){var e=je.unstable_now();Gw=e;var t=!0;try{e:{lc=!1,cc&&(cc=!1,Vw(uc),uc=-1),Pv=!0;var n=xt;try{t:{for(_f(e),Tn=Wn(Or);Tn!==null&&!(Tn.expirationTime>e&&Jw());){var i=Tn.callback;if(typeof i=="function"){Tn.callback=null,xt=Tn.priorityLevel;var r=i(Tn.expirationTime<=e);if(e=je.unstable_now(),typeof r=="function"){Tn.callback=r,_f(e),t=!0;break t}Tn===Wn(Or)&&zf(Or),_f(e)}else zf(Or);Tn=Wn(Or)}if(Tn!==null)t=!0;else{var o=Wn(ai);o!==null&&Dv(Mv,o.startTime-e),t=!1}}break e}finally{Tn=null,xt=n,Pv=!1}t=void 0}}finally{t?za():xa=!1}}}var za;typeof qw=="function"?za=function(){qw(Cv)}:typeof MessageChannel<"u"?(jv=new MessageChannel,Hw=jv.port2,jv.port1.onmessage=Cv,za=function(){Hw.postMessage(null)}):za=function(){Zw(Cv,0)};var jv,Hw;function Dv(e,t){uc=Zw(function(){e(je.unstable_now())},t)}je.unstable_IdlePriority=5;je.unstable_ImmediatePriority=1;je.unstable_LowPriority=4;je.unstable_NormalPriority=3;je.unstable_Profiling=null;je.unstable_UserBlockingPriority=2;je.unstable_cancelCallback=function(e){e.callback=null};je.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Bw=0<e?Math.floor(1e3/e):5};je.unstable_getCurrentPriorityLevel=function(){return xt};je.unstable_next=function(e){switch(xt){case 1:case 2:case 3:var t=3;break;default:t=xt}var n=xt;xt=t;try{return e()}finally{xt=n}};je.unstable_requestPaint=function(){Uv=!0};je.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=xt;xt=e;try{return t()}finally{xt=n}};je.unstable_scheduleCallback=function(e,t,n){var i=je.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0<n?i+n:i):n=i,e){case 1:var r=-1;break;case 2:r=250;break;case 5:r=1073741823;break;case 4:r=1e4;break;default:r=5e3}return r=n+r,e={id:tN++,callback:t,priorityLevel:e,startTime:n,expirationTime:r,sortIndex:-1},n>i?(e.sortIndex=n,Av(ai,e),Wn(Or)===null&&e===Wn(ai)&&(cc?(Vw(uc),uc=-1):cc=!0,Dv(Mv,n-i))):(e.sortIndex=r,Av(Or,e),lc||Pv||(lc=!0,xa||(xa=!0,za()))),e};je.unstable_shouldYield=Jw;je.unstable_wrapCallback=function(e){var t=xt;return function(){var n=xt;xt=t;try{return e.apply(this,arguments)}finally{xt=n}}}});var Fw=Xn((s7,Kw)=>{"use strict";Kw.exports=Yw()});var cT=Xn(ee=>{"use strict";var Hv=Symbol.for("react.transitional.element"),nN=Symbol.for("react.portal"),rN=Symbol.for("react.fragment"),iN=Symbol.for("react.strict_mode"),oN=Symbol.for("react.profiler"),aN=Symbol.for("react.consumer"),sN=Symbol.for("react.context"),lN=Symbol.for("react.forward_ref"),cN=Symbol.for("react.suspense"),uN=Symbol.for("react.memo"),tT=Symbol.for("react.lazy"),dN=Symbol.for("react.activity"),mN=Symbol.for("react.view_transition"),Qw=Symbol.iterator;function fN(e){return e===null||typeof e!="object"?null:(e=Qw&&e[Qw]||e["@@iterator"],typeof e=="function"?e:null)}var nT={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},rT=Object.assign,iT={};function Ta(e,t,n){this.props=e,this.context=t,this.refs=iT,this.updater=n||nT}Ta.prototype.isReactComponent={};Ta.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Ta.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function oT(){}oT.prototype=Ta.prototype;function Zv(e,t,n){this.props=e,this.context=t,this.refs=iT,this.updater=n||nT}var Vv=Zv.prototype=new oT;Vv.constructor=Zv;rT(Vv,Ta.prototype);Vv.isPureReactComponent=!0;var Xw=Array.isArray;function qv(){}var Oe={H:null,A:null,T:null,S:null},aT=Object.prototype.hasOwnProperty;function Bv(e,t,n){var i=n.ref;return{$$typeof:Hv,type:e,key:t,ref:i!==void 0?i:null,props:n}}function pN(e,t){return Bv(e.type,t,e.props)}function Gv(e){return typeof e=="object"&&e!==null&&e.$$typeof===Hv}function hN(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Ww=/\\/+/g;function Lv(e,t){return typeof e=="object"&&e!==null&&e.key!=null?hN(""+e.key):t.toString(36)}function gN(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(qv,qv):(e.status="pending",e.then(function(t){e.status==="pending"&&(e.status="fulfilled",e.value=t)},function(t){e.status==="pending"&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function wa(e,t,n,i,r){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"bigint":case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Hv:case nN:a=!0;break;case tT:return a=e._init,wa(a(e._payload),t,n,i,r)}}if(a)return r=r(e),a=i===""?"."+Lv(e,0):i,Xw(r)?(n="",a!=null&&(n=a.replace(Ww,"$&/")+"/"),wa(r,t,n,"",function(c){return c})):r!=null&&(Gv(r)&&(r=pN(r,n+(r.key==null||e&&e.key===r.key?"":(""+r.key).replace(Ww,"$&/")+"/")+a)),t.push(r)),1;a=0;var s=i===""?".":i+":";if(Xw(e))for(var l=0;l<e.length;l++)i=e[l],o=s+Lv(i,l),a+=wa(i,t,n,o,r);else if(l=fN(e),typeof l=="function")for(e=l.call(e),l=0;!(i=e.next()).done;)i=i.value,o=s+Lv(i,l++),a+=wa(i,t,n,o,r);else if(o==="object"){if(typeof e.then=="function")return wa(gN(e),t,n,i,r);throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return a}function xf(e,t,n){if(e==null)return e;var i=[],r=0;return wa(e,i,"","",function(o){return t.call(n,o,r++)}),i}function vN(e){if(e._status===-1){var t=e._result,n=t();n.then(function(i){(e._status===0||e._status===-1)&&(e._status=1,e._result=i,n.status===void 0&&(n.status="fulfilled",n.value=i))},function(i){(e._status===0||e._status===-1)&&(e._status=2,e._result=i,n.status===void 0&&(n.status="rejected",n.reason=i))}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var eT=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function sT(e){var t=Oe.T,n={};n.types=t!==null?t.types:null,Oe.T=n;try{var i=e(),r=Oe.S;r!==null&&r(n,i),typeof i=="object"&&i!==null&&typeof i.then=="function"&&i.then(qv,eT)}catch(o){eT(o)}finally{t!==null&&n.types!==null&&(t.types=n.types),Oe.T=t}}function lT(e){var t=Oe.T;if(t!==null){var n=t.types;n===null?t.types=[e]:n.indexOf(e)===-1&&n.push(e)}else sT(lT.bind(null,e))}var yN={map:xf,forEach:function(e,t,n){xf(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return xf(e,function(){t++}),t},toArray:function(e){return xf(e,function(t){return t})||[]},only:function(e){if(!Gv(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ee.Activity=dN;ee.Children=yN;ee.Component=Ta;ee.Fragment=rN;ee.Profiler=oN;ee.PureComponent=Zv;ee.StrictMode=iN;ee.Suspense=cN;ee.ViewTransition=mN;ee.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Oe;ee.__COMPILER_RUNTIME={__proto__:null,c:function(e){return Oe.H.useMemoCache(e)}};ee.addTransitionType=lT;ee.cache=function(e){return function(){return e.apply(null,arguments)}};ee.cacheSignal=function(){return null};ee.cloneElement=function(e,t,n){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var i=rT({},e.props),r=e.key;if(t!=null)for(o in t.key!==void 0&&(r=""+t.key),t)!aT.call(t,o)||o==="key"||o==="__self"||o==="__source"||o==="ref"&&t.ref===void 0||(i[o]=t[o]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var a=Array(o),s=0;s<o;s++)a[s]=arguments[s+2];i.children=a}return Bv(e.type,r,i)};ee.createContext=function(e){return e={$$typeof:sN,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:aN,_context:e},e};ee.createElement=function(e,t,n){var i,r={},o=null;if(t!=null)for(i in t.key!==void 0&&(o=""+t.key),t)aT.call(t,i)&&i!=="key"&&i!=="__self"&&i!=="__source"&&(r[i]=t[i]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var s=Array(a),l=0;l<a;l++)s[l]=arguments[l+2];r.children=s}if(e&&e.defaultProps)for(i in a=e.defaultProps,a)r[i]===void 0&&(r[i]=a[i]);return Bv(e,o,r)};ee.createRef=function(){return{current:null}};ee.forwardRef=function(e){return{$$typeof:lN,render:e}};ee.isValidElement=Gv;ee.lazy=function(e){return{$$typeof:tT,_payload:{_status:-1,_result:e},_init:vN}};ee.memo=function(e,t){return{$$typeof:uN,type:e,compare:t===void 0?null:t}};ee.startTransition=sT;ee.unstable_useCacheRefresh=function(){return Oe.H.useCacheRefresh()};ee.use=function(e){return Oe.H.use(e)};ee.useActionState=function(e,t,n){return Oe.H.useActionState(e,t,n)};ee.useCallback=function(e,t){return Oe.H.useCallback(e,t)};ee.useContext=function(e){return Oe.H.useContext(e)};ee.useDebugValue=function(){};ee.useDeferredValue=function(e,t){return Oe.H.useDeferredValue(e,t)};ee.useEffect=function(e,t){return Oe.H.useEffect(e,t)};ee.useEffectEvent=function(e){return Oe.H.useEffectEvent(e)};ee.useId=function(){return Oe.H.useId()};ee.useImperativeHandle=function(e,t,n){return Oe.H.useImperativeHandle(e,t,n)};ee.useInsertionEffect=function(e,t){return Oe.H.useInsertionEffect(e,t)};ee.useLayoutEffect=function(e,t){return Oe.H.useLayoutEffect(e,t)};ee.useMemo=function(e,t){return Oe.H.useMemo(e,t)};ee.useOptimistic=function(e,t){return Oe.H.useOptimistic(e,t)};ee.useReducer=function(e,t,n){return Oe.H.useReducer(e,t,n)};ee.useRef=function(e){return Oe.H.useRef(e)};ee.useState=function(e){return Oe.H.useState(e)};ee.useSyncExternalStore=function(e,t,n){return Oe.H.useSyncExternalStore(e,t,n)};ee.useTransition=function(){return Oe.H.useTransition()};ee.version="19.3.0"});var Ae=Xn((c7,uT)=>{"use strict";uT.exports=cT()});var fT=Xn(wt=>{"use strict";var SN=Ae();function mT(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function si(){}var Ot={d:{f:si,r:function(){throw Error(mT(522))},D:si,C:si,L:si,m:si,X:si,S:si,M:si},p:0,findDOMNode:null},bN=Symbol.for("react.portal"),_N=Symbol.for("react.recoverable"),dT=Symbol.for("react.optimistic_key");function zN(e,t,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:bN,key:i==null?null:i===dT?dT:""+i,children:e,containerInfo:t,implementation:n}}var dc=SN.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function wf(e,t){if(e==="font")return"";if(typeof t=="string")return t==="use-credentials"?t:""}wt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Ot;wt.browser=function(e){return{$$typeof:_N,_reason:e}};wt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(mT(299));return zN(e,t,null,n)};wt.flushSync=function(e){var t=dc.T,n=Ot.p;try{if(dc.T=null,Ot.p=2,e)return e()}finally{dc.T=t,Ot.p=n,Ot.d.f()}};wt.preconnect=function(e,t){typeof e=="string"&&(t?(t=t.crossOrigin,t=typeof t=="string"?t==="use-credentials"?t:"":void 0):t=null,Ot.d.C(e,t))};wt.prefetchDNS=function(e){typeof e=="string"&&Ot.d.D(e)};wt.preinit=function(e,t){if(typeof e=="string"&&t&&typeof t.as=="string"){var n=t.as,i=wf(n,t.crossOrigin),r=typeof t.integrity=="string"?t.integrity:void 0,o=typeof t.fetchPriority=="string"?t.fetchPriority:void 0;n==="style"?Ot.d.S(e,typeof t.precedence=="string"?t.precedence:void 0,{crossOrigin:i,integrity:r,fetchPriority:o}):n==="script"&&Ot.d.X(e,{crossOrigin:i,integrity:r,fetchPriority:o,nonce:typeof t.nonce=="string"?t.nonce:void 0})}};wt.preinitModule=function(e,t){if(typeof e=="string")if(typeof t=="object"&&t!==null){if(t.as==null||t.as==="script"){var n=wf(t.as,t.crossOrigin);Ot.d.M(e,{crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0})}}else t==null&&Ot.d.M(e)};wt.preload=function(e,t){if(typeof e=="string"&&typeof t=="object"&&t!==null&&typeof t.as=="string"){var n=t.as,i=wf(n,t.crossOrigin);Ot.d.L(e,n,{crossOrigin:i,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,type:typeof t.type=="string"?t.type:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy=="string"?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet=="string"?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes=="string"?t.imageSizes:void 0,media:typeof t.media=="string"?t.media:void 0})}};wt.preloadModule=function(e,t){if(typeof e=="string")if(t){var n=wf(t.as,t.crossOrigin);Ot.d.m(e,{as:typeof t.as=="string"&&t.as!=="script"?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity=="string"?t.integrity:void 0,nonce:typeof t.nonce=="string"?t.nonce:void 0,fetchPriority:typeof t.fetchPriority=="string"?t.fetchPriority:void 0})}else Ot.d.m(e)};wt.requestFormReset=function(e){Ot.d.r(e)};wt.unstable_batchedUpdates=function(e,t){return e(t)};wt.useFormState=function(e,t,n){return dc.H.useFormState(e,t,n)};wt.useFormStatus=function(){return dc.H.useHostTransitionStatus()};wt.version="19.3.0"});var gT=Xn((d7,hT)=>{"use strict";function pT(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pT)}catch(e){console.error(e)}}pT(),hT.exports=fT()});var nE=Xn(oh=>{"use strict";var et=Fw(),t2=Ae(),xN=gT();function R(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n2(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Xc(e){for(var t=e,n=t;n&&!n.alternate;)t=n,(t.flags&4098)!==0&&(e=t.return),n=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function r2(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function i2(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function vT(e){if(Xc(e)!==e)throw Error(R(188))}function wN(e){var t=e.alternate;if(!t){if(t=Xc(e),t===null)throw Error(R(188));return t!==e?null:e}for(var n=e,i=t;;){var r=n.return;if(r===null)break;var o=r.alternate;if(o===null){if(i=r.return,i!==null){n=i;continue}break}if(r.child===o.child){for(o=r.child;o;){if(o===n)return vT(r),e;if(o===i)return vT(r),t;o=o.sibling}throw Error(R(188))}if(n.return!==i.return)n=r,i=o;else{for(var a=!1,s=r.child;s;){if(s===n){a=!0,n=r,i=o;break}if(s===i){a=!0,i=r,n=o;break}s=s.sibling}if(!a){for(s=o.child;s;){if(s===n){a=!0,n=o,i=r;break}if(s===i){a=!0,i=o,n=r;break}s=s.sibling}if(!a)throw Error(R(189))}}if(n.alternate!==i)throw Error(R(190))}if(n.tag!==3)throw Error(R(188));return n.stateNode.current===n?e:t}function o2(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=o2(e),t!==null)return t;e=e.sibling}return null}function Jt(e,t,n,i,r,o){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&n(e,i,r,o)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&Jt(e.child,t,n,i,r,o))return!0;e=e.sibling}return!1}function No(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function yT(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function a2(e){var t=[null,null],n=No(e);return n===null||s2(t,e,n.child,{foundSelf:!1}),t}function s2(e,t,n,i){for(;n!==null;){if(n===t)i.foundSelf=!0;else if(n.tag===5||n.tag===27||n.tag===6){if(i.foundSelf)return e[1]=n,!0;e[0]=n}else if((n.tag!==22||n.memoizedState===null)&&s2(e,t,n.child,i))return!0;n=n.sibling}return!1}function We(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(R(559))}}var Na=null,w0=null;function TN(e,t,n){return e===n?!0:e===t?(Na=e,!0):!1}function $N(e,t,n){return e===n?(w0=e,!1):e===t?(w0!==null&&(Na=e),!0):!1}function ST(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function T0(e,t,n){for(var i=0,r=e;r;r=n(r))i++;r=0;for(var o=t;o;o=n(o))r++;for(;0<i-r;)e=n(e),i--;for(;0<r-i;)t=n(t),r--;for(;i--;){if(e===t||t!==null&&e===t.alternate)return e;e=n(e),t=n(t)}return null}var Re=Object.assign,RN=Symbol.for("react.element"),Tf=Symbol.for("react.transitional.element"),yc=Symbol.for("react.portal"),Ca=Symbol.for("react.fragment"),l2=Symbol.for("react.strict_mode"),$0=Symbol.for("react.profiler"),c2=Symbol.for("react.consumer"),or=Symbol.for("react.context"),Ay=Symbol.for("react.forward_ref"),R0=Symbol.for("react.suspense"),E0=Symbol.for("react.suspense_list"),Py=Symbol.for("react.memo"),di=Symbol.for("react.lazy"),O0=Symbol.for("react.activity"),EN=Symbol.for("react.legacy_hidden"),ON=Symbol.for("react.memo_cache_sentinel"),k0=Symbol.for("react.view_transition"),kN=Symbol.for("react.recoverable"),bT=Symbol.iterator;function mc(e){return e===null||typeof e!="object"?null:(e=bT&&e[bT]||e["@@iterator"],typeof e=="function"?e:null)}var IN=Symbol.for("react.client.reference");function I0(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===IN?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ca:return"Fragment";case $0:return"Profiler";case l2:return"StrictMode";case R0:return"Suspense";case E0:return"SuspenseList";case O0:return"Activity";case k0:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case yc:return"Portal";case or:return e.displayName||"Context";case c2:return(e._context.displayName||"Context")+".Consumer";case Ay:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Py:return t=e.displayName||null,t!==null?t:I0(e.type)||"Memo";case di:t=e._payload,e=e._init;try{return I0(e(t))}catch{}}return null}var Sc=Array.isArray,Q=t2.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,he=xN.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,So={pending:!1,data:null,method:null,action:null},N0=[],ja=-1;function mr(e){return{current:e}}function ft(e){0>ja||(e.current=N0[ja],N0[ja]=null,ja--)}function Ne(e,t){ja++,N0[ja]=e.current,e.current=t}var cr=mr(null),Pc=mr(null),bi=mr(null),dp=mr(null);function mp(e,t){switch(Ne(bi,t),Ne(Pc,e),Ne(cr,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?j$(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=j$(t),e=I4(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}ft(cr),Ne(cr,e)}function es(){ft(cr),ft(Pc),ft(bi)}function C0(e){var t=e.memoizedState;t!==null&&(us._currentValue=t.memoizedState,Ne(dp,e)),t=cr.current;var n=I4(t,e.type);t!==n&&(Ne(Pc,e),Ne(cr,n))}function fp(e){Pc.current===e&&(ft(cr),ft(Pc)),dp.current===e&&(ft(dp),us._currentValue=So)}var Jv,_T;function ci(e){if(Jv===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\\n( *(at )?)/);Jv=t&&t[1]||"",_T=-1<n.stack.indexOf(`\n at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`\n`+Jv+e+_T}var Yv=!1;function Kv(e,t){if(!e||Yv)return"";Yv=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var i={DetermineComponentFrameRoot:function(){try{if(t){var p=function(){throw Error()};if(Object.defineProperty(p.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(p,[])}catch(_){var m=_}Reflect.construct(e,[],p)}else{try{p.call()}catch(_){m=_}p=!1;try{var f=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),p=!0,new e}finally{p&&(f!==void 0?Object.defineProperty(e.prototype,"props",f):delete e.prototype.props)}}}else{try{throw Error()}catch(_){m=_}(p=e())&&typeof p.catch=="function"&&p.catch(function(){})}}catch(_){if(_&&m&&typeof _.stack=="string")return[_.stack,m.stack]}return[null,null]}};i.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var r=Object.getOwnPropertyDescriptor(i.DetermineComponentFrameRoot,"name");r&&r.configurable&&Object.defineProperty(i.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=i.DetermineComponentFrameRoot(),a=o[0],s=o[1];if(a&&s){var l=a.split(`\n`),c=s.split(`\n`);for(r=i=0;i<l.length&&!l[i].includes("DetermineComponentFrameRoot");)i++;for(;r<c.length&&!c[r].includes("DetermineComponentFrameRoot");)r++;if(i===l.length||r===c.length)for(i=l.length-1,r=c.length-1;1<=i&&0<=r&&l[i]!==c[r];)r--;for(;1<=i&&0<=r;i--,r--)if(l[i]!==c[r]){if(i!==1||r!==1)do if(i--,r--,0>r||l[i]!==c[r]){var d=`\n`+l[i].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),d}while(1<=i&&0<=r);break}}}finally{Yv=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?ci(n):""}function NN(e,t){switch(e.tag){case 26:case 27:case 5:return ci(e.type);case 16:return ci("Lazy");case 13:return e.child!==t&&t!==null?ci("Suspense Fallback"):ci("Suspense");case 19:return ci("SuspenseList");case 0:case 15:return Kv(e.type,!1);case 11:return Kv(e.type.render,!1);case 1:return Kv(e.type,!0);case 31:return ci("Activity");case 30:return ci("ViewTransition");default:return""}}function zT(e){try{var t="",n=null;do t+=NN(e,n),n=e,e=e.return;while(e);return t}catch(i){return`\nError generating stack: `+i.message+`\n`+i.stack}}var j0=Object.prototype.hasOwnProperty,Uy=et.unstable_scheduleCallback,Fv=et.unstable_cancelCallback,CN=et.unstable_shouldYield,jN=et.unstable_requestPaint,sn=et.unstable_now,AN=et.unstable_getCurrentPriorityLevel,u2=et.unstable_ImmediatePriority,d2=et.unstable_UserBlockingPriority,pp=et.unstable_NormalPriority,PN=et.unstable_LowPriority,m2=et.unstable_IdlePriority,UN=et.log,MN=et.unstable_setDisableYieldValue,Wc=null,ln=null;function pi(e){if(typeof UN=="function"&&MN(e),ln&&typeof ln.setStrictMode=="function")try{ln.setStrictMode(Wc,e)}catch{}}var cn=Math.clz32?Math.clz32:qN,DN=Math.log,LN=Math.LN2;function qN(e){return e>>>=0,e===0?32:31-(DN(e)/LN|0)|0}var $f=256,Rf=262144,Ef=4194304;function po(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Lp(e,t,n){var i=e.pendingLanes;if(i===0)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes;e=e.warmLanes;var s=i&134217727;return s!==0?(i=s&~o,i!==0?r=po(i):(a&=s,a!==0?r=po(a):n||(n=s&~e,n!==0&&(r=po(n))))):(s=i&~o,s!==0?r=po(s):a!==0?r=po(a):n||(n=i&~e,n!==0&&(r=po(n)))),r===0?0:t!==0&&t!==r&&(t&o)===0&&(o=r&-r,n=t&-t,o>=n||o===32&&(n&4194048)!==0)?t:r}function eu(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function f2(e,t){(t&8)!==0&&(t|=t&32);var n=e.entangledLanes;if(n!==0)for(e=e.entanglements,n&=t;0<n;){var i=31-cn(n),r=1<<i;t|=e[i],n&=~r}return t}function HN(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function p2(){var e=Ef;return Ef<<=1,(Ef&62914560)===0&&(Ef=4194304),e}function Qv(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function tu(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function ZN(e,t,n,i,r,o){var a=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(n=a&~n;0<n;){var d=31-cn(n),p=1<<d;s[d]=0,l[d]=-1;var m=c[d];if(m!==null)for(c[d]=null,d=0;d<m.length;d++){var f=m[d];f!==null&&(f.lane&=-536870913)}n&=~p}i!==0&&h2(e,i,0),o!==0&&r===0&&e.tag!==0&&(e.suspendedLanes|=o&~(a&~t))}function h2(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var i=31-cn(t);e.entangledLanes|=t,e.entanglements[i]=e.entanglements[i]|1073741824|n&261930}function g2(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var i=31-cn(n),r=1<<i;r&t|e[i]&t&&(e[i]|=t),n&=~r}}function v2(e,t){var n=t&-t;return n=(n&42)!==0?1:My(n),(n&(e.suspendedLanes|t))!==0?0:n}function My(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Dy(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function y2(){var e=he.p;return e!==0?e:(e=window.event,e===void 0?32:W4(e.type))}function xT(e,t){var n=he.p;try{return he.p=e,t()}finally{he.p=n}}var Hr=Math.random().toString(36).slice(2),dt="__reactFiber$"+Hr,Yt="__reactProps$"+Hr,fs="__reactContainer$"+Hr,wT="__reactEvents$"+Hr,VN="__reactListeners$"+Hr,BN="__reactHandles$"+Hr,TT="__reactResources$"+Hr,nu="__reactMarker$"+Hr,hp="__reactLoad$"+Hr;function qp(e){delete e[dt],delete e[Yt],delete e[VN],delete e[BN]}function vo(e){var t;if(t=e[dt])return t;for(var n=e.parentNode;n;){if(t=n[fs]||n[dt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=H$(e);e!==null;){if(n=e[dt])return n;e=H$(e)}return t}e=n,n=e.parentNode}return null}function ps(e){if(e=e[dt]||e[fs]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function bc(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(R(33))}function Va(e){var t=e[TT];return t||(t=e[TT]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ot(e){e[nu]=!0}function S2(e){e[hp]=void 0}var b2=new Set,_2={};function Co(e,t){ts(e,t),ts(e+"Capture",t)}function ts(e,t){for(_2[e]=t,e=0;e<t.length;e++)b2.add(t[e])}var GN=RegExp("^[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$"),$T={},RT={};function JN(e){return j0.call(RT,e)?!0:j0.call($T,e)?!1:GN.test(e)?RT[e]=!0:($T[e]=!0,!1)}var fe=!1;function ET(){var e=fe;return fe=!1,e}function Gf(e,t,n){if(JN(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var i=t.toLowerCase().slice(0,5);if(i!=="data-"&&i!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,n)}}function Of(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,n)}}function kr(e,t,n,i){if(i===null)e.removeAttribute(n);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(n);return}e.setAttributeNS(t,n,i)}}function nn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function z2(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function YN(e,t,n){var i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var r=i.get,o=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(a){n=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function A0(e){if(!e._valueTracker){var t=z2(e)?"checked":"value";e._valueTracker=YN(e,t,""+e[t])}}function x2(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i="";return e&&(i=z2(e)?e.checked?"true":"false":e.value),e=i,e!==n?(t.setValue(e),!0):!1}var KN=/[\\n"\\\\]/g;function kn(e){return e.replace(KN,function(t){return"\\\\"+t.charCodeAt(0).toString(16)+" "})}function P0(e,t,n,i,r,o,a,s){e.name="",a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"?e.type=a:e.removeAttribute("type"),t!=null?a==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+nn(t)):e.value!==""+nn(t)&&(e.value=""+nn(t)):a!=="submit"&&a!=="reset"||e.removeAttribute("value"),t!=null?a==="number"&&e.value==t?Xv(e,nn(e.value)):Xv(e,nn(t)):n!=null?Xv(e,nn(n)):i!=null&&e.removeAttribute("value"),r==null&&o!=null&&(e.defaultChecked=!!o),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),s!=null&&typeof s!="function"&&typeof s!="symbol"&&typeof s!="boolean"?e.name=""+nn(s):e.removeAttribute("name")}function w2(e,t,n,i,r,o,a,s){if(o!=null&&typeof o!="function"&&typeof o!="symbol"&&typeof o!="boolean"&&(e.type=o),t!=null||n!=null){if(!(o!=="submit"&&o!=="reset"||t!=null)){A0(e);return}n=n!=null?""+nn(n):"",t=t!=null?""+nn(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}i=i??r,i=typeof i!="function"&&typeof i!="symbol"&&!!i,e.checked=s?e.checked:!!i,e.defaultChecked=!!i,a!=null&&typeof a!="function"&&typeof a!="symbol"&&typeof a!="boolean"&&(e.name=a),A0(e)}function Xv(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function Ba(e,t,n,i){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&i&&(e[n].defaultSelected=!0)}else{for(n=""+nn(n),t=null,r=0;r<e.length;r++){if(e[r].value===n){e[r].selected=!0,i&&(e[r].defaultSelected=!0);return}t!==null||e[r].disabled||(t=e[r])}t!==null&&(t.selected=!0)}}function T2(e,t,n){if(t!=null&&(t=""+nn(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n!=null?""+nn(n):""}function $2(e,t,n,i){if(t==null){if(i!=null){if(n!=null)throw Error(R(92));if(Sc(i)){if(1<i.length)throw Error(R(93));i=i[0]}n=i}n==null&&(n=""),t=n}n=nn(t),e.defaultValue=n,i=e.textContent,i===n&&i!==""&&i!==null&&(e.value=i),A0(e)}function ns(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var FN=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function OT(e,t,n){var i=t.indexOf("--")===0;n==null||typeof n=="boolean"||n===""?i?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":i?e.setProperty(t,n):typeof n!="number"||n===0||FN.has(t)?t==="float"?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function R2(e,t,n){if(t!=null&&typeof t!="object")throw Error(R(62));if(e=e.style,n!=null){for(var i in n)!n.hasOwnProperty(i)||t!=null&&t.hasOwnProperty(i)||(i.indexOf("--")===0?e.setProperty(i,""):i==="float"?e.cssFloat="":e[i]="",fe=!0);for(var r in t)i=t[r],t.hasOwnProperty(r)&&n[r]!==i&&(OT(e,r,i),fe=!0)}else for(var o in t)t.hasOwnProperty(o)&&OT(e,o,t[o])}function Ly(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var QN=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),XN=/^[\\u0000-\\u001F ]*j[\\r\\n\\t]*a[\\r\\n\\t]*v[\\r\\n\\t]*a[\\r\\n\\t]*s[\\r\\n\\t]*c[\\r\\n\\t]*r[\\r\\n\\t]*i[\\r\\n\\t]*p[\\r\\n\\t]*t[\\r\\n\\t]*:/i;function Jf(e){return XN.test(""+e)?"javascript:throw new Error(\'React has blocked a javascript: URL as a security precaution.\')":e}function ar(){}var U0=null;function qy(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Aa=null,Ga=null;function kT(e){var t=ps(e);if(t&&(e=t.stateNode)){var n=e[Yt]||null;e:switch(e=t.stateNode,t.type){case"input":if(P0(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(\'input[name="\'+kn(""+t)+\'"][type="radio"]\'),t=0;t<n.length;t++){var i=n[t];if(i!==e&&i.form===e.form){var r=i[Yt]||null;if(!r)throw Error(R(90));P0(i,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)i=n[t],i.form===e.form&&x2(i)}break e;case"textarea":T2(e,n.value,n.defaultValue);break e;case"select":t=n.value,t!=null&&Ba(e,!!n.multiple,t,!1)}}}var Wv=!1;function E2(e,t,n){if(Wv)return e(t,n);Wv=!0;try{var i=e(t);return i}finally{if(Wv=!1,(Aa!==null||Ga!==null)&&(th(),Aa&&(t=Aa,e=Ga,Ga=Aa=null,kT(t),e)))for(t=0;t<e.length;t++)kT(e[t])}}function Uc(e,t){var n=e.stateNode;if(n===null)return null;var i=n[Yt]||null;if(i===null)return null;n=i[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(i=!i.disabled)||(e=e.type,i=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!i;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(R(231,t,typeof n));return n}var Pr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),M0=!1;if(Pr)try{$a={},Object.defineProperty($a,"passive",{get:function(){M0=!0}}),window.addEventListener("test",$a,$a),window.removeEventListener("test",$a,$a)}catch{M0=!1}var $a,hi=null,Hy=null,Yf=null;function O2(){if(Yf)return Yf;var e,t=Hy,n=t.length,i,r="value"in hi?hi.value:hi.textContent,o=r.length;for(e=0;e<n&&t[e]===r[e];e++);var a=n-e;for(i=1;i<=a&&t[n-i]===r[o-i];i++);return Yf=r.slice(e,1<i?1-i:void 0)}function Kf(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function kf(){return!0}function IT(){return!1}function Ct(e){function t(n,i,r,o,a){this._reactName=n,this._targetInst=r,this.type=i,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?kf:IT,this.isPropagationStopped=IT,this}return Re(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=kf)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=kf)},persist:function(){},isPersistent:kf}),t}var Ai={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Hp=Ct(Ai),ru=Re({},Ai,{view:0,detail:0}),WN=Ct(ru),e0,t0,fc,Zp=Re({},ru,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Zy,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==fc&&(fc&&e.type==="mousemove"?(e0=e.screenX-fc.screenX,t0=e.screenY-fc.screenY):t0=e0=0,fc=e),e0)},movementY:function(e){return"movementY"in e?e.movementY:t0}}),NT=Ct(Zp),eC=Re({},Zp,{dataTransfer:0}),tC=Ct(eC),nC=Re({},ru,{relatedTarget:0}),n0=Ct(nC),rC=Re({},Ai,{animationName:0,elapsedTime:0,pseudoElement:0}),iC=Ct(rC),oC=Re({},Ai,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),aC=Ct(oC),sC=Re({},Ai,{data:0}),CT=Ct(sC),lC={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},cC={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},uC={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function dC(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=uC[e])?!!t[e]:!1}function Zy(){return dC}var mC=Re({},ru,{key:function(e){if(e.key){var t=lC[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Kf(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?cC[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Zy,charCode:function(e){return e.type==="keypress"?Kf(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Kf(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),fC=Ct(mC),pC=Re({},Zp,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),jT=Ct(pC),hC=Re({},Ai,{submitter:0}),gC=Ct(hC),vC=Re({},ru,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Zy}),yC=Ct(vC),SC=Re({},Ai,{propertyName:0,elapsedTime:0,pseudoElement:0}),bC=Ct(SC),_C=Re({},Zp,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),zC=Ct(_C),xC=Re({},Ai,{newState:0,oldState:0,source:0}),wC=Ct(xC),TC=[9,13,27,32],Vy=Pr&&"CompositionEvent"in window,xc=null;Pr&&"documentMode"in document&&(xc=document.documentMode);var $C=Pr&&"TextEvent"in window&&!xc,k2=Pr&&(!Vy||xc&&8<xc&&11>=xc),AT=" ",PT=!1;function I2(e,t){switch(e){case"keyup":return TC.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function N2(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Pa=!1;function RC(e,t){switch(e){case"compositionend":return N2(t);case"keypress":return t.which!==32?null:(PT=!0,AT);case"textInput":return e=t.data,e===AT&&PT?null:e;default:return null}}function EC(e,t){if(Pa)return e==="compositionend"||!Vy&&I2(e,t)?(e=O2(),Yf=Hy=hi=null,Pa=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return k2&&t.locale!=="ko"?null:t.data;default:return null}}var OC={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function UT(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!OC[e.type]:t==="textarea"}function C2(e,t,n,i){Aa?Ga?Ga.push(i):Ga=[i]:Aa=i,t=Up(t,"onChange"),0<t.length&&(n=new Hp("onChange","change",null,n,i),e.push({event:n,listeners:t}))}var wc=null,Mc=null;function kC(e){E4(e,0)}function Vp(e){var t=bc(e);if(x2(t))return e}function MT(e,t){if(e==="change")return t}var j2=!1;Pr&&(Pr?(Nf="oninput"in document,Nf||(r0=document.createElement("div"),r0.setAttribute("oninput","return;"),Nf=typeof r0.oninput=="function"),If=Nf):If=!1,j2=If&&(!document.documentMode||9<document.documentMode));var If,Nf,r0;function DT(){wc&&(wc.detachEvent("onpropertychange",A2),Mc=wc=null)}function A2(e){if(e.propertyName==="value"&&Vp(Mc)){var t=[];C2(t,Mc,e,qy(e)),E2(kC,t)}}function IC(e,t,n){e==="focusin"?(DT(),wc=t,Mc=n,wc.attachEvent("onpropertychange",A2)):e==="focusout"&&DT()}function NC(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Vp(Mc)}function CC(e,t){if(e==="click")return Vp(t)}function jC(e,t){if(e==="input"||e==="change")return Vp(t)}function AC(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var dn=typeof Object.is=="function"?Object.is:AC;function Dc(e,t){if(dn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(i=0;i<n.length;i++){var r=n[i];if(!j0.call(t,r)||!dn(e[r],t[r]))return!1}return!0}function D0(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function LT(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function qT(e,t){var n=LT(e);e=0;for(var i;n;){if(n.nodeType===3){if(i=e+n.textContent.length,e<=t&&i>=t)return{node:n,offset:t-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=LT(n)}}function P2(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?P2(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function U2(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=D0(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=D0(e.document)}return t}function By(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var PC=Pr&&"documentMode"in document&&11>=document.documentMode,Ua=null,L0=null,Tc=null,q0=!1;function HT(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;q0||Ua==null||Ua!==D0(i)||(i=Ua,"selectionStart"in i&&By(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),Tc&&Dc(Tc,i)||(Tc=i,i=Up(L0,"onSelect"),0<i.length&&(t=new Hp("onSelect","select",null,t,n),e.push({event:t,listeners:i}),t.target=Ua)))}function mo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ma={animationend:mo("Animation","AnimationEnd"),animationiteration:mo("Animation","AnimationIteration"),animationstart:mo("Animation","AnimationStart"),transitionrun:mo("Transition","TransitionRun"),transitionstart:mo("Transition","TransitionStart"),transitioncancel:mo("Transition","TransitionCancel"),transitionend:mo("Transition","TransitionEnd")},i0={},M2={};Pr&&(M2=document.createElement("div").style,"AnimationEvent"in window||(delete Ma.animationend.animation,delete Ma.animationiteration.animation,delete Ma.animationstart.animation),"TransitionEvent"in window||delete Ma.transitionend.transition);function jo(e){if(i0[e])return i0[e];if(!Ma[e])return e;var t=Ma[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in M2)return i0[e]=t[n];return e}var D2=jo("animationend"),L2=jo("animationiteration"),q2=jo("animationstart"),UC=jo("transitionrun"),MC=jo("transitionstart"),DC=jo("transitioncancel"),H2=jo("transitionend"),Z2=new Map,H0="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");H0.push("scrollEnd");function Vn(e,t){Z2.set(e,t),Co(t,[e])}var LC=0;function Ur(e,t){if(e.name!=null&&e.name!=="auto")return e.name;if(t.autoName!==null)return t.autoName;e=Zn.identifierPrefix;var n=LC++;return e="_"+e+"t_"+n.toString(32)+"_",t.autoName=e}function ZT(e){if(e==null||typeof e=="string")return e;var t=null,n=Wa;if(n!==null)for(var i=0;i<n.length;i++){var r=e[n[i]];if(r!=null){if(r==="none")return"none";t=t==null?r:t+(" "+r)}}return t??e.default}function Zr(e,t){return e=ZT(e),t=ZT(t),t==null?e==="auto"?null:e:t==="auto"?null:t}var gp=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Rn=[],Da=0,Gy=0;function Bp(){for(var e=Da,t=Gy=Da=0;t<e;){var n=Rn[t];Rn[t++]=null;var i=Rn[t];Rn[t++]=null;var r=Rn[t];Rn[t++]=null;var o=Rn[t];if(Rn[t++]=null,i!==null&&r!==null){var a=i.pending;a===null?r.next=r:(r.next=a.next,a.next=r),i.pending=r}o!==0&&V2(n,r,o)}}function Gp(e,t,n,i){Rn[Da++]=e,Rn[Da++]=t,Rn[Da++]=n,Rn[Da++]=i,Gy|=i,e.lanes|=i,e=e.alternate,e!==null&&(e.lanes|=i)}function Jy(e,t,n,i){return Gp(e,t,n,i),vp(e)}function Ao(e,t){return Gp(e,null,null,t),vp(e)}function V2(e,t,n){e.lanes|=n;var i=e.alternate;i!==null&&(i.lanes|=n);for(var r=!1,o=e.return;o!==null;)o.childLanes|=n,i=o.alternate,i!==null&&(i.childLanes|=n),o.tag===22&&(e=o.stateNode,e===null||e._visibility&1||(r=!0)),e=o,o=o.return;return e.tag===3?(o=e.stateNode,r&&t!==null&&(r=31-cn(n),e=o.hiddenUpdates,i=e[r],i===null?e[r]=[t]:i.push(t),t.lane=n|536870912),o):null}function vp(e){if(50<Ac)throw Ac=0,op=null,Error(R(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var La={};function qC(e,t,n,i){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Bt(e,t,n,i){return new qC(e,t,n,i)}function Yy(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jr(e,t){var n=e.alternate;return n===null?(n=Bt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&1206910976,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function B2(e,t){e.flags&=1206910978;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Ff(e,t,n,i,r,o){var a=0;if(i=e,typeof i=="function")Yy(i)&&(a=1);else if(typeof i=="string")a=fA(e,n,cr.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(i){case O0:return e=Bt(31,n,t,r),e.elementType=O0,e.lanes=o,e;case Ca:return bo(n.children,r,o,t);case l2:a=8,r|=24;break;case $0:return e=Bt(12,n,t,r|2),e.elementType=$0,e.lanes=o,e;case R0:return e=Bt(13,n,t,r),e.elementType=R0,e.lanes=o,e;case E0:return e=Bt(19,n,t,r),e.elementType=E0,e.lanes=o,e;case EN:case k0:return e=r|32,e=Bt(30,n,t,e),e.elementType=k0,e.lanes=o,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case or:a=10;break e;case c2:a=9;break e;case Ay:a=11;break e;case Py:a=14;break e;case di:a=16,i=null;break e}a=29,n=Error(R(130,e===null?"null":typeof e,"")),i=null}return t=Bt(a,n,t,r),t.elementType=e,t.type=i,t.lanes=o,t}function bo(e,t,n,i){return e=Bt(7,e,i,t),e.lanes=n,e}function o0(e,t,n){return e=Bt(6,e,null,t),e.lanes=n,e}function G2(e){var t=Bt(18,null,null,0);return t.stateNode=e,t}function a0(e,t,n){return t=Bt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var VT=new WeakMap;function In(e,t){if(typeof e=="object"&&e!==null){var n=VT.get(e);return n!==void 0?n:(t={value:e,source:t,stack:zT(t)},VT.set(e,t),t)}return{value:e,source:t,stack:zT(t)}}var qa=[],Ha=0,yp=null,Lc=0,En=[],On=0,ki=null,sr=1,lr="";function Nr(e,t){qa[Ha++]=Lc,qa[Ha++]=yp,yp=e,Lc=t}function J2(e,t,n){En[On++]=sr,En[On++]=lr,En[On++]=ki,ki=e;var i=sr;e=lr;var r=32-cn(i)-1;i&=~(1<<r),n+=1;var o=32-cn(t)+r;if(30<o){var a=r-r%5;o=(i&(1<<a)-1).toString(32),i>>=a,r-=a,sr=1<<32-cn(t)+r|n<<r|i,lr=o+e}else sr=1<<o|n<<r|i,lr=e}function Jp(e){e.return!==null&&(Nr(e,1),J2(e,1,0))}function Ky(e){for(;e===yp;)yp=qa[--Ha],qa[Ha]=null,Lc=qa[--Ha],qa[Ha]=null;for(;e===ki;)ki=En[--On],En[On]=null,lr=En[--On],En[On]=null,sr=En[--On],En[On]=null}function Y2(e,t){En[On++]=sr,En[On++]=lr,En[On++]=ki,sr=t.id,lr=t.overflow,ki=e}var at=null,Ie=null,re=!1,_i=null,Nn=!1,Z0=Error(R(519));function Ii(e){var t=Error(R(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw qc(In(t,e)),Z0}function BT(e){var t=e.stateNode,n=e.type,i=e.memoizedProps;switch(t[dt]=e,t[Yt]=i,n){case"dialog":se("cancel",t),se("close",t);break;case"iframe":case"object":case"embed":se("load",t);break;case"video":case"audio":for(n=0;n<Bc.length;n++)se(Bc[n],t);break;case"source":se("error",t);break;case"img":case"image":case"link":se("error",t),se("load",t);break;case"details":se("toggle",t);break;case"input":se("invalid",t),w2(t,i.value,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name,!0);break;case"select":se("invalid",t);break;case"textarea":se("invalid",t),$2(t,i.value,i.defaultValue,i.children)}n=i.children,typeof n!="string"&&typeof n!="number"&&typeof n!="bigint"||t.textContent===""+n||i.suppressHydrationWarning===!0||k4(t.textContent,n)?(i.popover!=null&&(se("beforetoggle",t),se("toggle",t)),i.onScroll!=null&&se("scroll",t),i.onScrollEnd!=null&&se("scrollend",t),i.onClick!=null&&(t.onclick=ar),t=!0):t=!1,t||Ii(e,!0)}function Sp(e){for(at=e.return;at;)switch(at.tag){case 5:case 31:case 13:Nn=!1;return;case 27:case 3:Nn=!0;return;default:at=at.return}}function Ra(e){if(e!==at)return!1;if(!re)return Sp(e),re=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!=="form"&&n!=="button")||Ry(e.type,e.memoizedProps)),n=!n),n&&Ie&&Ii(e),Sp(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(317));Ie=q$(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(317));Ie=q$(e)}else t===27?(t=Ie,Pi(e.type)?(e=Iy,Iy=null,Ie=e):Ie=t):Ie=at?Cn(e.stateNode.nextSibling):null;return!0}function wo(){Ie=at=null,re=!1}function s0(){var e=_i;return e!==null&&(Zt===null?Zt=e:Zt.push.apply(Zt,e),_i=null),e}function qc(e){_i===null?_i=[e]:_i.push(e)}var V0=mr(null),Po=null,Cr=null;function gi(e,t,n){Ne(V0,t._currentValue),t._currentValue=n}function Ar(e){e._currentValue=V0.current,ft(V0)}function Qf(e,t,n){for(;e!==null;){var i=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,i!==null&&(i.childLanes|=t)):i!==null&&(i.childLanes&t)!==t&&(i.childLanes|=t),e===n)break;e=e.return}}function B0(e,t,n,i){var r=e.child;for(r!==null&&(r.return=e);r!==null;){var o=r.dependencies;if(o!==null){var a=r.child;o=o.firstContext;e:for(;o!==null;){var s=o;o=r;for(var l=0;l<t.length;l++)if(s.context===t[l]){o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),Qf(o.return,n,e),i||(a=null);break e}o=s.next}}else if(r.tag===18){if(a=r.return,a===null)throw Error(R(341));a.lanes|=n,o=a.alternate,o!==null&&(o.lanes|=n),Qf(a,n,e),a=null}else r.tag===13&&r.memoizedState!==null&&r.memoizedState.dehydrated===null?(r.lanes|=n,a=r.alternate,a!==null&&(a.lanes|=n),Qf(r.return,n,e),a=r.child,a=a!==null?a.sibling:null):a=r.child;if(a!==null)a.return=r;else for(a=r;a!==null;){if(a===e){a=null;break}if(r=a.sibling,r!==null){r.return=a.return,a=r;break}a=a.return}r=a}}function To(e,t,n,i){e=null;for(var r=t,o=!1;r!==null;){if(!o){if((r.flags&524288)!==0)o=!0;else if((r.flags&262144)!==0)break}if(r.tag===10){var a=r.alternate;if(a===null)throw Error(R(387));if(a=a.memoizedProps,a!==null){var s=r.type;dn(r.pendingProps.value,a.value)||(e!==null?e.push(s):e=[s])}}else if(r===dp.current){if(a=r.alternate,a===null)throw Error(R(387));a.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(e!==null?e.push(us):e=[us])}r=r.return}return e!==null&&B0(t,e,n,i),t.flags|=262144,e!==null}function bp(e){for(e=e.firstContext;e!==null;){if(!dn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function $o(e){Po=e,Cr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function mt(e){return K2(Po,e)}function Cf(e,t){return Po===null&&$o(e),K2(e,t)}function K2(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Cr===null){if(e===null)throw Error(R(308));Cr=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Cr=Cr.next=t;return n}var HC=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(n,i){e.push(i)}};this.abort=function(){t.aborted=!0,e.forEach(function(n){return n()})}},ZC=et.unstable_scheduleCallback,VC=et.unstable_NormalPriority,Ye={$$typeof:or,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Fy(){return{controller:new HC,data:new Map,refCount:0}}function iu(e){e.refCount--,e.refCount===0&&ZC(VC,function(){e.controller.abort()})}function GT(e,t){if((e.pendingLanes&4194048)!==0){var n=e.transitionTypes;for(n===null&&(n=e.transitionTypes=[]),e=0;e<t.length;e++){var i=t[e];n.indexOf(i)===-1&&n.push(i)}}}var _c=null;function BC(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var $c=null,G0=0,Ro=0,Ja=null;function GC(e,t){if($c===null){var n=$c=[];G0=0,Ro=wS(),Ja={status:"pending",value:void 0,then:function(i){n.push(i)}}}return G0++,t.then(JT,JT),t}function JT(){if(--G0===0&&(_c=null,$c!==null)){Ja!==null&&(Ja.status="fulfilled");var e=$c;$c=null,Ro=0,Ja=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function JC(e,t){var n=[],i={status:"pending",value:null,reason:null,then:function(r){n.push(r)}};return e.then(function(){i.status="fulfilled",i.value=t;for(var r=0;r<n.length;r++)(0,n[r])(t)},function(r){for(i.status="rejected",i.reason=r,r=0;r<n.length;r++)(0,n[r])(void 0)}),i}var YT=Q.S;Q.S=function(e,t){if(f4=sn(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&GC(e,t),_c!==null)for(var n=ss;n!==null;)GT(n,_c),n=n.next;if(n=e.types,n!==null){for(var i=ss;i!==null;)GT(i,n),i=i.next;if(Ro!==0){i=_c,i===null&&(i=_c=[]);for(var r=0;r<n.length;r++){var o=n[r];i.indexOf(o)===-1&&i.push(o)}}}YT!==null&&YT(e,t)};var _o=mr(null);function Qy(){var e=_o.current;return e!==null?e:$e.pooledCache}function Xf(e,t){t===null?Ne(_o,_o.current):Ne(_o,t.pool)}function F2(){var e=Qy();return e===null?null:{parent:Ye._currentValue,pool:e}}var hs=Error(R(460)),Xy=Error(R(474)),Yp=Error(R(542)),_p={then:function(){}};function KT(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Q2(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(ar,ar),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,QT(e),e===void 0&&!("reason"in t)?Error(R(600)):e;default:if(typeof t.status=="string")t.then(ar,ar);else{if(e=$e,e!==null&&100<e.shellSuspendCounter)throw Error(R(482));e=t,e.status="pending",e.then(function(i){if(t.status==="pending"){var r=t;r.status="fulfilled",r.value=i}},function(i){if(t.status==="pending"){var r=t;r.status="rejected",r.reason=i}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,QT(e),e}throw zo=t,hs}}function ho(e){try{var t=e._init;return t(e._payload)}catch(n){throw n!==null&&typeof n=="object"&&typeof n.then=="function"?(zo=n,hs):n}}var zo=null;function FT(){if(zo===null)throw Error(R(459));var e=zo;return zo=null,e}function QT(e){if(e===hs||e===Yp)throw Error(R(483))}var Ya=null,Hc=0;function jf(e){var t=Hc;return Hc+=1,Ya===null&&(Ya=[]),Q2(Ya,e,t)}function li(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Af(e,t){throw t.$$typeof===RN?Error(R(525)):(e=Object.prototype.toString.call(t),Error(R(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function X2(e){function t(y,g){if(e){var S=y.deletions;S===null?(y.deletions=[g],y.flags|=16):S.push(g)}}function n(y,g){if(!e)return null;for(;g!==null;)t(y,g),g=g.sibling;return null}function i(y){for(var g=new Map;y!==null;)y.key===null?g.set(y.index,y):g.set(y.key,y),y=y.sibling;return g}function r(y,g){return y=jr(y,g),y.index=0,y.sibling=null,y}function o(y,g,S){return y.index=S,e?(S=y.alternate,S!==null?(S=S.index,S<g?(y.flags|=2,g):S):(y.flags|=134217730,g)):(y.flags|=1048576,g)}function a(y){return e&&y.alternate===null&&(y.flags|=134217730),y}function s(y,g,S,x){return g===null||g.tag!==6?(g=o0(S,y.mode,x),g.return=y,g):(g=r(g,S),g.return=y,g)}function l(y,g,S,x){var N=S.type;return N===Ca?(y=d(y,g,S.props.children,x,S.key),li(y,S),y):g!==null&&(g.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===di&&ho(N)===g.type)?(g=r(g,S.props),li(g,S),g.return=y,g):(g=Ff(S.type,S.key,S.props,null,y.mode,x),li(g,S),g.return=y,g)}function c(y,g,S,x){return g===null||g.tag!==4||g.stateNode.containerInfo!==S.containerInfo||g.stateNode.implementation!==S.implementation?(g=a0(S,y.mode,x),g.return=y,g):(g=r(g,S.children||[]),g.return=y,g)}function d(y,g,S,x,N){return g===null||g.tag!==7?(g=bo(S,y.mode,x,N),g.return=y,g):(g=r(g,S),g.return=y,g)}function p(y,g,S){if(typeof g=="string"&&g!==""||typeof g=="number"||typeof g=="bigint")return g=o0(""+g,y.mode,S),g.return=y,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Tf:return S=Ff(g.type,g.key,g.props,null,y.mode,S),li(S,g),S.return=y,S;case yc:return g=a0(g,y.mode,S),g.return=y,g;case di:return g=ho(g),p(y,g,S)}if(Sc(g)||mc(g))return g=bo(g,y.mode,S,null),g.return=y,g;if(typeof g.then=="function")return p(y,jf(g),S);if(g.$$typeof===or)return p(y,Cf(y,g),S);Af(y,g)}return null}function m(y,g,S,x){var N=g!==null?g.key:null;if(typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint")return N!==null?null:s(y,g,""+S,x);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Tf:return S.key===N?l(y,g,S,x):null;case yc:return S.key===N?c(y,g,S,x):null;case di:return S=ho(S),m(y,g,S,x)}if(Sc(S)||mc(S))return N!==null?null:d(y,g,S,x,null);if(typeof S.then=="function")return m(y,g,jf(S),x);if(S.$$typeof===or)return m(y,g,Cf(y,S),x);Af(y,S)}return null}function f(y,g,S,x,N){if(typeof x=="string"&&x!==""||typeof x=="number"||typeof x=="bigint")return y=y.get(S)||null,s(g,y,""+x,N);if(typeof x=="object"&&x!==null){switch(x.$$typeof){case Tf:return y=y.get(x.key===null?S:x.key)||null,l(g,y,x,N);case yc:return y=y.get(x.key===null?S:x.key)||null,c(g,y,x,N);case di:return x=ho(x),f(y,g,S,x,N)}if(Sc(x)||mc(x))return y=y.get(S)||null,d(g,y,x,N,null);if(typeof x.then=="function")return f(y,g,S,jf(x),N);if(x.$$typeof===or)return f(y,g,S,Cf(g,x),N);Af(g,x)}return null}function _(y,g,S,x){for(var N=null,H=null,M=g,B=g=0,oe=null;M!==null&&B<S.length;B++){M.index>B?(oe=M,M=null):oe=M.sibling;var W=m(y,M,S[B],x);if(W===null){M===null&&(M=oe);break}e&&M&&W.alternate===null&&t(y,M),g=o(W,g,B),H===null?N=W:H.sibling=W,H=W,M=oe}if(B===S.length)return n(y,M),re&&Nr(y,B),N;if(M===null){for(;B<S.length;B++)M=p(y,S[B],x),M!==null&&(g=o(M,g,B),H===null?N=M:H.sibling=M,H=M);return re&&Nr(y,B),N}for(M=i(M);B<S.length;B++)oe=f(M,y,B,S[B],x),oe!==null&&(e&&(W=oe.alternate,W!==null&&M.delete(W.key===null?B:W.key)),g=o(oe,g,B),H===null?N=oe:H.sibling=oe,H=oe);return e&&M.forEach(function(me){return t(y,me)}),re&&Nr(y,B),N}function $(y,g,S,x){if(S==null)throw Error(R(151));for(var N=null,H=null,M=g,B=g=0,oe=null,W=S.next();M!==null&&!W.done;B++,W=S.next()){M.index>B?(oe=M,M=null):oe=M.sibling;var me=m(y,M,W.value,x);if(me===null){M===null&&(M=oe);break}e&&M&&me.alternate===null&&t(y,M),g=o(me,g,B),H===null?N=me:H.sibling=me,H=me,M=oe}if(W.done)return n(y,M),re&&Nr(y,B),N;if(M===null){for(;!W.done;B++,W=S.next())W=p(y,W.value,x),W!==null&&(g=o(W,g,B),H===null?N=W:H.sibling=W,H=W);return re&&Nr(y,B),N}for(M=i(M);!W.done;B++,W=S.next())W=f(M,y,B,W.value,x),W!==null&&(e&&(oe=W.alternate,oe!==null&&M.delete(oe.key===null?B:oe.key)),g=o(W,g,B),H===null?N=W:H.sibling=W,H=W);return e&&M.forEach(function(wr){return t(y,wr)}),re&&Nr(y,B),N}function j(y,g,S,x){if(typeof S=="object"&&S!==null&&S.type===Ca&&S.key===null&&S.props.ref===void 0&&(S=S.props.children),typeof S=="object"&&S!==null){switch(S.$$typeof){case Tf:e:{for(var N=S.key;g!==null;){if(g.key===N){if(N=S.type,N===Ca){if(g.tag===7){n(y,g.sibling),x=r(g,S.props.children),li(x,S),x.return=y,y=x;break e}}else if(g.elementType===N||typeof N=="object"&&N!==null&&N.$$typeof===di&&ho(N)===g.type){n(y,g.sibling),x=r(g,S.props),li(x,S),x.return=y,y=x;break e}n(y,g);break}else t(y,g);g=g.sibling}S.type===Ca?(x=bo(S.props.children,y.mode,x,S.key),li(x,S),x.return=y,y=x):(x=Ff(S.type,S.key,S.props,null,y.mode,x),li(x,S),x.return=y,y=x)}return a(y);case yc:e:{for(N=S.key;g!==null;){if(g.key===N)if(g.tag===4&&g.stateNode.containerInfo===S.containerInfo&&g.stateNode.implementation===S.implementation){n(y,g.sibling),x=r(g,S.children||[]),x.return=y,y=x;break e}else{n(y,g);break}else t(y,g);g=g.sibling}x=a0(S,y.mode,x),x.return=y,y=x}return a(y);case di:return S=ho(S),j(y,g,S,x)}if(Sc(S))return _(y,g,S,x);if(mc(S)){if(N=mc(S),typeof N!="function")throw Error(R(150));return S=N.call(S),$(y,g,S,x)}if(typeof S.then=="function")return j(y,g,jf(S),x);if(S.$$typeof===or)return j(y,g,Cf(y,S),x);Af(y,S)}return typeof S=="string"&&S!==""||typeof S=="number"||typeof S=="bigint"?(S=""+S,g!==null&&g.tag===6?(n(y,g.sibling),x=r(g,S),x.return=y,y=x):(n(y,g),x=o0(S,y.mode,x),x.return=y,y=x),a(y)):n(y,g)}return function(y,g,S,x){try{Hc=0;var N=j(y,g,S,x);return Ya=null,N}catch(M){if(M===hs||M===Yp)throw M;var H=Bt(29,M,null,y.mode);return H.lanes=x,H.return=y,H}}}var Eo=X2(!0),W2=X2(!1),mi=!1;function Wy(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function J0(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function zi(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function xi(e,t,n){var i=e.updateQueue;if(i===null)return null;if(i=i.shared,(pe&2)!==0){var r=i.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),i.pending=t,t=vp(e),V2(e,null,n),t}return Gp(e,i,t,n),vp(e)}function Rc(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,g2(e,n)}}function l0(e,t){var n=e.updateQueue,i=e.alternate;if(i!==null&&(i=i.updateQueue,n===i)){var r=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};o===null?r=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?r=o=t:o=o.next=t}else r=o=t;n={baseState:i.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:i.shared,callbacks:i.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var Y0=!1;function Ec(){if(Y0){var e=Ja;if(e!==null)throw e}}function Oc(e,t,n,i){Y0=!1;var r=e.updateQueue;mi=!1;var o=r.firstBaseUpdate,a=r.lastBaseUpdate,s=r.shared.pending;if(s!==null){r.shared.pending=null;var l=s,c=l.next;l.next=null,a===null?o=c:a.next=c,a=l;var d=e.alternate;d!==null&&(d=d.updateQueue,s=d.lastBaseUpdate,s!==a&&(s===null?d.firstBaseUpdate=c:s.next=c,d.lastBaseUpdate=l))}if(o!==null){var p=r.baseState;a=0,d=c=l=null,s=o;do{var m=s.lane&-536870913,f=m!==s.lane;if(f?(de&m)===m:(i&m)===m){m!==0&&m===Ro&&(Y0=!0),d!==null&&(d=d.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var _=e,$=s;m=t;var j=n;switch($.tag){case 1:if(_=$.payload,typeof _=="function"){p=_.call(j,p,m);break e}p=_;break e;case 3:_.flags=_.flags&-65537|128;case 0:if(_=$.payload,m=typeof _=="function"?_.call(j,p,m):_,m==null)break e;p=Re({},p,m);break e;case 2:mi=!0}}m=s.callback,m!==null&&(e.flags|=64,f&&(e.flags|=8192),f=r.callbacks,f===null?r.callbacks=[m]:f.push(m))}else f={lane:m,tag:s.tag,payload:s.payload,callback:s.callback,next:null},d===null?(c=d=f,l=p):d=d.next=f,a|=m;if(s=s.next,s===null){if(s=r.shared.pending,s===null)break;f=s,s=f.next,f.next=null,r.lastBaseUpdate=f,r.shared.pending=null}}while(!0);d===null&&(l=p),r.baseState=l,r.firstBaseUpdate=c,r.lastBaseUpdate=d,o===null&&(r.shared.lanes=0),ji|=a,e.lanes=a,e.memoizedState=p}}function eR(e,t){if(typeof e!="function")throw Error(R(191,e));e.call(t)}function tR(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)eR(n[e],t)}var Ni=mr(null),zp=mr(0);function XT(e,t){e=qr,Ne(zp,e),Ne(Ni,t),qr=e|t.baseLanes}function K0(){Ne(zp,qr),Ne(Ni,Ni.current)}function eS(){qr=zp.current,ft(Ni),ft(zp)}var gt=mr(null),Tt=null;function wi(e){var t=e.alternate;Ne(pt,pt.current&1),Ne(gt,e),Tt===null&&(t===null||Ni.current!==null||t.memoizedState!==null)&&(Tt=e)}function F0(e){Ne(pt,pt.current),Ne(gt,e),Tt===null&&(Tt=e)}function nR(e){e.tag===22?(Ne(pt,pt.current),Ne(gt,e),Tt===null&&(Tt=e)):Ti()}function Ti(){Ne(pt,pt.current),Ne(gt,gt.current)}function rn(e){ft(gt),Tt===e&&(Tt=null),ft(pt)}var pt=mr(0);function Zc(e,t){Ne(gt,gt.current),Ne(pt,t)}function tS(e){ft(pt),ft(gt),Tt===e&&(Tt=null)}function xp(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||ky(n)||ES(n)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Mr=0,te=null,ze=null,Je=null,wp=!1,Ka=!1,Oo=!1,Tp=0,Vc=0,Fa=null,YC=0;function He(){throw Error(R(321))}function nS(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!dn(e[n],t[n]))return!1;return!0}function rS(e,t,n,i,r,o){return Mr=o,te=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Q.H=e===null||e.memoizedState===null?CR:jR,Oo=!1,o=n(i,r),Oo=!1,Ka&&(o=iR(t,n,i,r)),rR(e),o}function rR(e){Q.H=$p;var t=ze!==null&&ze.next!==null;if(Mr=0,Je=ze=te=null,wp=!1,Vc=0,Fa=null,t)throw Error(R(300));e===null||Ke||(e=e.dependencies,e!==null&&bp(e)&&(Ke=!0))}function iR(e,t,n,i){te=e;var r=0;do{if(Ka&&(Fa=null),Vc=0,Ka=!1,25<=r)throw Error(R(301));if(r+=1,Je=ze=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}Q.H=nj,o=t(n,i)}while(Ka);return o}function KC(){var e=Q.H,t=e.useState()[0];return t=typeof t.then=="function"?ou(t):t,e=e.useState()[0],(ze!==null?ze.memoizedState:null)!==e&&(te.flags|=1024),t}function iS(){var e=Tp!==0;return Tp=0,e}function oS(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function aS(e){if(wp){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}wp=!1}Mr=0,Je=ze=te=null,Ka=!1,Vc=Tp=0,Fa=null}function Nt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Je===null?te.memoizedState=Je=e:Je=Je.next=e,Je}function Ge(){if(ze===null){var e=te.alternate;e=e!==null?e.memoizedState:null}else e=ze.next;var t=Je===null?te.memoizedState:Je.next;if(t!==null)Je=t,ze=e;else{if(e===null)throw te.alternate===null?Error(R(467)):Error(R(310));ze=e,e={memoizedState:ze.memoizedState,baseState:ze.baseState,baseQueue:ze.baseQueue,queue:ze.queue,next:null},Je===null?te.memoizedState=Je=e:Je=Je.next=e}return Je}function Kp(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ou(e){var t=Vc;return Vc+=1,Fa===null&&(Fa=[]),e=Q2(Fa,e,t),t=te,(Je===null?t.memoizedState:Je.next)===null&&(t=t.alternate,Q.H=t===null||t.memoizedState===null?CR:jR),e}function Fp(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ou(e);if(e.$$typeof===kN)return;if(e.$$typeof===or)return mt(e)}throw Error(R(438,String(e)))}function sS(e){var t=null,n=te.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var i=te.alternate;i!==null&&(i=i.updateQueue,i!==null&&(i=i.memoCache,i!=null&&(t={data:i.data.map(function(r){return r.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),n===null&&(n=Kp(),te.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),i=0;i<e;i++)n[i]=ON;return t.index++,n}function Dr(e,t){return typeof t=="function"?t(e):t}function Wf(e){var t=Ge();return lS(t,ze,e)}function lS(e,t,n){var i=e.queue;if(i===null)throw Error(R(311));i.lastRenderedReducer=n;var r=e.baseQueue,o=i.pending;if(o!==null){if(r!==null){var a=r.next;r.next=o.next,o.next=a}t.baseQueue=r=o,i.pending=null}if(o=e.baseState,r===null)e.memoizedState=o;else{t=r.next;var s=a=null,l=null,c=t,d=!1;do{var p=c.lane&-536870913;if(p!==c.lane?(de&p)===p:(Mr&p)===p){var m=c.revertLane;if(m===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),p===Ro&&(d=!0);else if((Mr&m)===m){c=c.next,m===Ro&&(d=!0);continue}else p={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},l===null?(s=l=p,a=o):l=l.next=p,te.lanes|=m,ji|=m;p=c.action,Oo&&n(o,p),o=c.hasEagerState?c.eagerState:n(o,p)}else m={lane:p,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},l===null?(s=l=m,a=o):l=l.next=m,te.lanes|=p,ji|=p;c=c.next}while(c!==null&&c!==t);if(l===null?a=o:l.next=s,!dn(o,e.memoizedState)&&(Ke=!0,d&&(n=Ja,n!==null)))throw n;e.memoizedState=o,e.baseState=a,e.baseQueue=l,i.lastRenderedState=o}return r===null&&(i.lanes=0),[e.memoizedState,i.dispatch]}function c0(e){var t=Ge(),n=t.queue;if(n===null)throw Error(R(311));n.lastRenderedReducer=e;var i=n.dispatch,r=n.pending,o=t.memoizedState;if(r!==null){n.pending=null;var a=r=r.next;do o=e(o,a.action),a=a.next;while(a!==r);dn(o,t.memoizedState)||(Ke=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,i]}function oR(e,t,n){var i=te,r=Ge(),o=re;if(o){if(n===void 0)throw Error(R(407));n=n()}else n=t();var a=!dn((ze||r).memoizedState,n);if(a&&(r.memoizedState=n,Ke=!0),r=r.queue,cS(lR.bind(null,i,r,e),[e]),e=r.getSnapshot!==t||a||Je!==null&&(Je.memoizedState.tag&1)!==0,rs(e?9:8,{destroy:void 0},sR.bind(null,i,r,n,t),null),e){if(i.flags|=2048,$e===null)throw Error(R(349));o||(Mr&127)!==0||aR(i,t,n)}return n}function aR(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=te.updateQueue,t===null?(t=Kp(),te.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function sR(e,t,n,i){t.value=n,t.getSnapshot=i,cR(t)&&uR(e)}function lR(e,t,n){return n(function(){cR(t)&&uR(e)})}function cR(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!dn(e,n)}catch{return!0}}function uR(e){var t=Ao(e,2);t!==null&&Gt(t,e,2)}function Q0(e){var t=Nt();if(typeof e=="function"){var n=e;if(e=n(),Oo){pi(!0);try{n()}finally{pi(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dr,lastRenderedState:e},t}function dR(e,t,n,i){return e.baseState=n,lS(e,ze,typeof i=="function"?i:Dr)}function FC(e,t,n,i,r){if(Xp(e))throw Error(R(485));if(e=t.action,e!==null){var o={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(a){o.listeners.push(a)}};Q.T!==null?n(!0):o.isTransition=!1,i(o),n=t.pending,n===null?(o.next=t.pending=o,mR(t,o)):(o.next=n.next,t.pending=n.next=o)}}function mR(e,t){var n=t.action,i=t.payload,r=e.state;if(t.isTransition){var o=Q.T,a={};a.types=o!==null?o.types:null,Q.T=a;try{var s=n(r,i),l=Q.S;l!==null&&l(a,s),WT(e,t,s)}catch(c){X0(e,t,c)}finally{o!==null&&a.types!==null&&(o.types=a.types),Q.T=o}}else try{o=n(r,i),WT(e,t,o)}catch(c){X0(e,t,c)}}function WT(e,t,n){n!==null&&typeof n=="object"&&typeof n.then=="function"?n.then(function(i){e$(e,t,i)},function(i){return X0(e,t,i)}):e$(e,t,n)}function e$(e,t,n){t.status="fulfilled",t.value=n,fR(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,mR(e,n)))}function X0(e,t,n){var i=e.pending;if(e.pending=null,i!==null){i=i.next;do t.status="rejected",t.reason=n,fR(t),t=t.next;while(t!==i)}e.action=null}function fR(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function pR(e,t){return t}function t$(e,t){if(re){var n=$e.formState;if(n!==null){e:{var i=te;if(re){if(Ie){t:{for(var r=Ie,o=Nn;r.nodeType!==8;){if(!o){r=null;break t}if(r=Cn(r.nextSibling),r===null){r=null;break t}}o=r.data,r=o==="F!"||o==="F"?r:null}if(r){Ie=Cn(r.nextSibling),i=r.data==="F!";break e}}Ii(i)}i=!1}i&&(t=n[0])}}return n=Nt(),n.memoizedState=n.baseState=t,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pR,lastRenderedState:t},n.queue=i,n=kR.bind(null,te,i),i.dispatch=n,i=Q0(!1),o=fS.bind(null,te,!1,i.queue),i=Nt(),r={state:t,dispatch:null,action:e,pending:null},i.queue=r,n=FC.bind(null,te,r,o,n),r.dispatch=n,i.memoizedState=e,[t,n,!1]}function n$(e){var t=Ge();return hR(t,ze,e)}function hR(e,t,n){if(t=lS(e,t,pR)[0],e=Wf(Dr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var i=ou(t)}catch(a){throw a===hs?Yp:a}else i=t;t=Ge();var r=t.queue,o=r.dispatch;return n!==t.memoizedState&&(te.flags|=2048,rs(9,{destroy:void 0},QC.bind(null,r,n),null)),[i,o,e]}function QC(e,t){e.action=t}function r$(e){var t=Ge(),n=ze;if(n!==null)return hR(t,n,e);Ge(),t=t.memoizedState,n=Ge();var i=n.queue.dispatch;return n.memoizedState=e,[t,i,!1]}function rs(e,t,n,i){return e={tag:e,create:n,deps:i,inst:t,next:null},t=te.updateQueue,t===null&&(t=Kp(),te.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(i=n.next,n.next=e,e.next=i,t.lastEffect=e),e}function gR(){return Ge().memoizedState}function ep(e,t,n,i){var r=Nt();te.flags|=e,r.memoizedState=rs(1|t,{destroy:void 0},n,i===void 0?null:i)}function Qp(e,t,n,i){var r=Ge();i=i===void 0?null:i;var o=r.memoizedState.inst;ze!==null&&i!==null&&nS(i,ze.memoizedState.deps)?r.memoizedState=rs(t,o,n,i):(te.flags|=e,r.memoizedState=rs(1|t,o,n,i))}function i$(e,t){ep(8390656,8,e,t)}function cS(e,t){Qp(2048,8,e,t)}function XC(e){te.flags|=4;var t=te.updateQueue;if(t===null)t=Kp(),te.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function vR(e){var t=Ge().memoizedState;return XC({ref:t,nextImpl:e}),function(){if((pe&2)!==0)throw Error(R(440));return t.impl.apply(void 0,arguments)}}function yR(e,t){return Qp(4,2,e,t)}function SR(e,t){return Qp(4,4,e,t)}function bR(e,t){if(typeof t=="function"){e=e();var n=t(e);return function(){typeof n=="function"?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function _R(e,t,n){n=n!=null?n.concat([e]):null,Qp(4,4,bR.bind(null,t,e),n)}function uS(){}function zR(e,t){var n=Ge();t=t===void 0?null:t;var i=n.memoizedState;return t!==null&&nS(t,i[1])?i[0]:(n.memoizedState=[e,t],e)}function xR(e,t){var n=Ge();t=t===void 0?null:t;var i=n.memoizedState;if(t!==null&&nS(t,i[1]))return i[0];if(i=e(),Oo){pi(!0);try{e()}finally{pi(!1)}}return n.memoizedState=[i,t],i}function dS(e,t,n){return n===void 0||(Mr&1073741824)!==0&&(de&261930)===0?e.memoizedState=t:(e.memoizedState=n,e=h4(),te.lanes|=e,ji|=e,n)}function wR(e,t,n,i){return dn(n,t)?n:Ni.current!==null?(e=dS(e,n,i),dn(e,t)||(Ke=!0),e):(Mr&106)===0||(Mr&1073741824)!==0&&(de&261930)===0?(Ke=!0,e.memoizedState=n):(e=h4(),te.lanes|=e,ji|=e,t)}function TR(e,t,n,i,r){var o=he.p;he.p=o!==0&&8>o?o:8;var a=Q.T,s={};s.types=a!==null?a.types:null,Q.T=s,fS(e,!1,t,n);try{var l=r(),c=Q.S;if(c!==null&&c(s,l),l!==null&&typeof l=="object"&&typeof l.then=="function"){var d=JC(l,i);kc(e,t,d,un(e))}else kc(e,t,i,un(e))}catch(p){kc(e,t,{then:function(){},status:"rejected",reason:p},un())}finally{he.p=o,a!==null&&s.types!==null&&(a.types=s.types),Q.T=a}}function WC(){}function W0(e,t,n,i){if(e.tag!==5)throw Error(R(476));var r=$R(e).queue;TR(e,r,t,So,n===null?WC:function(){return RR(e),n(i)})}function $R(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:So,baseState:So,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dr,lastRenderedState:So},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Dr,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function RR(e){var t=$R(e);t.next===null&&(t=e.alternate.memoizedState),kc(e,t.next.queue,{},un())}function mS(){return mt(us)}function ER(){return Ge().memoizedState}function OR(){return Ge().memoizedState}function ej(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=un();e=zi(n);var i=xi(t,e,n);i!==null&&(Gt(i,t,n),Rc(i,t,n)),t={cache:Fy()},e.payload=t;return}t=t.return}}function tj(e,t,n){var i=un();n={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},Xp(e)?IR(t,n):(n=Jy(e,t,n,i),n!==null&&(Gt(n,e,i),NR(n,t,i)))}function kR(e,t,n){var i=un();kc(e,t,n,i)}function kc(e,t,n,i){var r={lane:i,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(Xp(e))IR(t,r);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(r.hasEagerState=!0,r.eagerState=s,dn(s,a))return Gp(e,t,r,0),$e===null&&Bp(),!1}catch{}if(n=Jy(e,t,r,i),n!==null)return Gt(n,e,i),NR(n,t,i),!0}return!1}function fS(e,t,n,i){if(i={lane:2,revertLane:wS(),gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Xp(e)){if(t)throw Error(R(479))}else t=Jy(e,n,i,2),t!==null&&Gt(t,e,2)}function Xp(e){var t=e.alternate;return e===te||t!==null&&t===te}function IR(e,t){Ka=wp=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function NR(e,t,n){if((n&4194048)!==0){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,g2(e,n)}}var $p={readContext:mt,use:Fp,useCallback:He,useContext:He,useEffect:He,useImperativeHandle:He,useLayoutEffect:He,useInsertionEffect:He,useMemo:He,useReducer:He,useRef:He,useState:He,useDebugValue:He,useDeferredValue:He,useTransition:He,useSyncExternalStore:He,useId:He,useHostTransitionStatus:He,useFormState:He,useActionState:He,useOptimistic:He,useMemoCache:He,useCacheRefresh:He,useEffectEvent:He},CR={readContext:mt,use:Fp,useCallback:function(e,t){return Nt().memoizedState=[e,t===void 0?null:t],e},useContext:mt,useEffect:i$,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,ep(4194308,4,bR.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ep(4194308,4,e,t)},useInsertionEffect:function(e,t){ep(4,2,e,t)},useMemo:function(e,t){var n=Nt();t=t===void 0?null:t;var i=e();if(Oo){pi(!0);try{e()}finally{pi(!1)}}return n.memoizedState=[i,t],i},useReducer:function(e,t,n){var i=Nt();if(n!==void 0){var r=n(t);if(Oo){pi(!0);try{n(t)}finally{pi(!1)}}}else r=t;return i.memoizedState=i.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},i.queue=e,e=e.dispatch=tj.bind(null,te,e),[i.memoizedState,e]},useRef:function(e){var t=Nt();return e={current:e},t.memoizedState=e},useState:function(e){e=Q0(e);var t=e.queue,n=kR.bind(null,te,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:uS,useDeferredValue:function(e,t){var n=Nt();return dS(n,e,t)},useTransition:function(){var e=Q0(!1);return e=TR.bind(null,te,e.queue,!0,!1),Nt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var i=te,r=Nt();if(re){if(n===void 0)throw Error(R(407));n=n()}else{if(n=t(),$e===null)throw Error(R(349));(de&127)!==0||aR(i,t,n)}r.memoizedState=n;var o={value:n,getSnapshot:t};return r.queue=o,i$(lR.bind(null,i,o,e),[e]),i.flags|=2048,rs(9,{destroy:void 0},sR.bind(null,i,o,n,t),null),n},useId:function(){var e=Nt(),t=$e.identifierPrefix;if(re){var n=lr,i=sr;n=(i&~(1<<32-cn(i)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Tp++,0<n&&(t+="H"+n.toString(32)),t+="_"}else n=YC++,t="_"+t+"r_"+n.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:mS,useFormState:t$,useActionState:t$,useOptimistic:function(e){var t=Nt();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=fS.bind(null,te,!0,n),n.dispatch=t,[e,t]},useMemoCache:sS,useCacheRefresh:function(){return Nt().memoizedState=ej.bind(null,te)},useEffectEvent:function(e){var t=Nt(),n={impl:e};return t.memoizedState=n,function(){if((pe&2)!==0)throw Error(R(440));return n.impl.apply(void 0,arguments)}}},jR={readContext:mt,use:Fp,useCallback:zR,useContext:mt,useEffect:cS,useImperativeHandle:_R,useInsertionEffect:yR,useLayoutEffect:SR,useMemo:xR,useReducer:Wf,useRef:gR,useState:function(){return Wf(Dr)},useDebugValue:uS,useDeferredValue:function(e,t){var n=Ge();return wR(n,ze.memoizedState,e,t)},useTransition:function(){var e=Wf(Dr)[0],t=Ge().memoizedState;return[typeof e=="boolean"?e:ou(e),t]},useSyncExternalStore:oR,useId:ER,useHostTransitionStatus:mS,useFormState:n$,useActionState:n$,useOptimistic:function(e,t){var n=Ge();return dR(n,ze,e,t)},useMemoCache:sS,useCacheRefresh:OR,useEffectEvent:vR},nj={readContext:mt,use:Fp,useCallback:zR,useContext:mt,useEffect:cS,useImperativeHandle:_R,useInsertionEffect:yR,useLayoutEffect:SR,useMemo:xR,useReducer:c0,useRef:gR,useState:function(){return c0(Dr)},useDebugValue:uS,useDeferredValue:function(e,t){var n=Ge();return ze===null?dS(n,e,t):wR(n,ze.memoizedState,e,t)},useTransition:function(){var e=c0(Dr)[0],t=Ge().memoizedState;return[typeof e=="boolean"?e:ou(e),t]},useSyncExternalStore:oR,useId:ER,useHostTransitionStatus:mS,useFormState:r$,useActionState:r$,useOptimistic:function(e,t){var n=Ge();return ze!==null?dR(n,ze,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:sS,useCacheRefresh:OR,useEffectEvent:vR};function u0(e,t,n,i){t=e.memoizedState,n=n(i,t),n=n==null?t:Re({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ey={enqueueSetState:function(e,t,n){e=e._reactInternals;var i=un(),r=zi(i);r.payload=t,n!=null&&(r.callback=n),t=xi(e,r,i),t!==null&&(Gt(t,e,i),Rc(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var i=un(),r=zi(i);r.tag=1,r.payload=t,n!=null&&(r.callback=n),t=xi(e,r,i),t!==null&&(Gt(t,e,i),Rc(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=un(),i=zi(n);i.tag=2,t!=null&&(i.callback=t),t=xi(e,i,n),t!==null&&(Gt(t,e,n),Rc(t,e,n))}};function o$(e,t,n,i,r,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(i,o,a):t.prototype&&t.prototype.isPureReactComponent?!Dc(n,i)||!Dc(r,o):!0}function a$(e,t,n,i){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,i),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,i),t.state!==e&&ey.enqueueReplaceState(t,t.state,null)}function ko(e,t){var n=t;if("ref"in t){n={};for(var i in t)i!=="ref"&&(n[i]=t[i])}if(e=e.defaultProps){n===t&&(n=Re({},n));for(var r in e)n[r]===void 0&&(n[r]=e[r])}return n}function AR(e){gp(e)}function PR(e){console.error(e)}function UR(e){gp(e)}function Rp(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(i){setTimeout(function(){throw i})}}function s$(e,t,n){try{var i=e.onCaughtError;i(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function ty(e,t,n){return n=zi(n),n.tag=3,n.payload={element:null},n.callback=function(){Rp(e,t)},n}function MR(e){return e=zi(e),e.tag=3,e}function DR(e,t,n,i){var r=n.type.getDerivedStateFromError;if(typeof r=="function"){var o=i.value;e.payload=function(){return r(o)},e.callback=function(){s$(t,n,i)}}var a=n.stateNode;a!==null&&typeof a.componentDidCatch=="function"&&(e.callback=function(){s$(t,n,i),typeof r!="function"&&($i===null?$i=new Set([this]):$i.add(this));var s=i.stack;this.componentDidCatch(i.value,{componentStack:s!==null?s:""})})}function rj(e,t,n,i,r){if(n.flags|=32768,i!==null&&typeof i=="object"&&typeof i.then=="function"){if(t=n.alternate,t!==null&&To(t,n,r,!0),n=gt.current,n!==null){switch(n.tag){case 31:case 13:case 19:return Tt===null?Ap():n.alternate===null&&Ze===0&&(Ze=3),n.flags&=-257,n.flags|=65536,n.lanes=r,i===_p?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([i]):t.add(i),v0(e,i,r)),!1;case 22:return n.flags|=65536,i===_p?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([i])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([i]):n.add(i)),v0(e,i,r)),!1}throw Error(R(435,n.tag))}return v0(e,i,r),Ap(),!1}if(re)return t=gt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=r,i!==Z0&&(e=Error(R(422),{cause:i}),qc(In(e,n)))):(i!==Z0&&(t=Error(R(423),{cause:i}),qc(In(t,n))),e=e.current.alternate,e.flags|=65536,r&=-r,e.lanes|=r,i=In(i,n),r=ty(e.stateNode,i,r),l0(e,r),Ze!==4&&(Ze=2)),!1;var o=Error(R(520),{cause:i});if(o=In(o,n),jc===null?jc=[o]:jc.push(o),Ze!==4&&(Ze=2),t===null)return!0;i=In(i,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=r&-r,n.lanes|=e,e=ty(n.stateNode,i,e),l0(n,e),!1;case 1:if(t=n.type,o=n.stateNode,(n.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||o!==null&&typeof o.componentDidCatch=="function"&&($i===null||!$i.has(o))))return n.flags|=65536,r&=-r,n.lanes|=r,r=MR(r),DR(r,e,n,i),l0(n,r),!1;break;case 22:if(n.memoizedState!==null)return n.flags|=65536,!1}n=n.return}while(n!==null);return!1}var pS=Error(R(461)),Ke=!1;function Xe(e,t,n,i){t.child=e===null?W2(t,null,n,i):Eo(t,e.child,n,i)}function l$(e,t,n,i,r){n=n.render;var o=t.ref;if("ref"in i){var a={};for(var s in i)s!=="ref"&&(a[s]=i[s])}else a=i;return $o(t),i=rS(e,t,n,a,o,r),s=iS(),e!==null&&!Ke?(oS(e,t,r),Lr(e,t,r)):(re&&s&&Jp(t),t.flags|=1,Xe(e,t,i,r),t.child)}function c$(e,t,n,i,r){if(e===null){var o=n.type;return typeof o=="function"&&!Yy(o)&&o.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=o,LR(e,t,o,i,r)):(e=Ff(n.type,null,i,t,t.mode,r),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!gS(e,r)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:Dc,n(a,i)&&e.ref===t.ref)return Lr(e,t,r)}return t.flags|=1,e=jr(o,i),e.ref=t.ref,e.return=t,t.child=e}function LR(e,t,n,i,r){if(e!==null){var o=e.memoizedProps;if(Dc(o,i)&&e.ref===t.ref)if(Ke=!1,t.pendingProps=i=o,gS(e,r))(e.flags&131072)!==0&&(Ke=!0);else return t.lanes=e.lanes,Lr(e,t,r)}return ny(e,t,n,i,r)}function qR(e,t,n,i){var r=i.children,o=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),i.mode==="hidden"){if((t.flags&128)!==0){if(o=o!==null?o.baseLanes|n:n,e!==null){for(i=t.child=e.child,r=0;i!==null;)r=r|i.lanes|i.childLanes,i=i.sibling;i=r&~o}else i=0,t.child=null;return u$(e,t,o,n,i)}if((n&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Xf(t,o!==null?o.cachePool:null),o!==null?XT(t,o):K0(),nR(t);else return i=t.lanes=536870912,u$(e,t,o!==null?o.baseLanes|n:n,n,i)}else o!==null?(Xf(t,o.cachePool),XT(t,o),Ti(),t.memoizedState=null):(e!==null&&Xf(t,null),K0(),Ti());return Xe(e,t,r,n),t.child}function Ic(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function u$(e,t,n,i,r){var o=Qy();return o=o===null?null:{parent:Ye._currentValue,pool:o},t.memoizedState={baseLanes:n,cachePool:o},e!==null&&Xf(t,null),K0(),nR(t),e!==null&&To(e,t,i,!0),t.childLanes=r,null}function tp(e,t){return t=Wp({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function d$(e,t,n){return Eo(t,e.child,null,n),e=tp(t,t.pendingProps),e.flags|=2,rn(t),t.memoizedState=null,e}function ij(e,t,n){var i=t.pendingProps,r=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(re){if(i.mode==="hidden")return e=tp(t,i),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Ic(null,e);if(F0(t),(e=Ie)?(e=q4(e,Nn),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ki!==null?{id:sr,overflow:lr}:null,retryLane:536870912,hydrationErrors:null},n=G2(e),n.return=t,t.child=n,at=t,Ie=null)):e=null,e===null)throw Ii(t);return t.lanes=536870912,null}return tp(t,i)}var o=e.memoizedState;if(o!==null){var a=o.dehydrated;if(F0(t),r)if(t.flags&256)t.flags&=-257,t=d$(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(R(558));else if(Ke||To(e,t,n,!1),r=(n&e.childLanes)!==0,Ke||r){if(Ni.current===null){if(i=$e,i!==null&&(a=v2(i,n),a!==0&&a!==o.retryLane))throw o.retryLane=a,Ao(e,a),Gt(i,e,a),pS;Ap()}t=d$(e,t,n)}else e=o.treeContext,Ie=Cn(a.nextSibling),at=t,re=!0,_i=null,Nn=!1,e!==null&&Y2(t,e),t=tp(t,i),t.flags|=134221824;return t}return e=jr(e.child,{mode:i.mode,children:i.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Oa(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!="function"&&typeof n!="object")throw Error(R(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function ny(e,t,n,i,r){return $o(t),n=rS(e,t,n,i,void 0,r),i=iS(),e!==null&&!Ke?(oS(e,t,r),Lr(e,t,r)):(re&&i&&Jp(t),t.flags|=1,Xe(e,t,n,r),t.child)}function m$(e,t,n,i,r,o){return $o(t),t.updateQueue=null,n=iR(t,i,n,r),rR(e),i=iS(),e!==null&&!Ke?(oS(e,t,o),Lr(e,t,o)):(re&&i&&Jp(t),t.flags|=1,Xe(e,t,n,o),t.child)}function f$(e,t,n,i,r){if($o(t),t.stateNode===null){var o=La,a=n.contextType;typeof a=="object"&&a!==null&&(o=mt(a)),o=new n(i,o),t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=ey,t.stateNode=o,o._reactInternals=t,o=t.stateNode,o.props=i,o.state=t.memoizedState,o.refs={},Wy(t),a=n.contextType,o.context=typeof a=="object"&&a!==null?mt(a):La,o.state=t.memoizedState,a=n.getDerivedStateFromProps,typeof a=="function"&&(u0(t,n,a,i),o.state=t.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(a=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),a!==o.state&&ey.enqueueReplaceState(o,o.state,null),Oc(t,i,o,r),Ec(),o.state=t.memoizedState),typeof o.componentDidMount=="function"&&(t.flags|=4194308),i=!0}else if(e===null){o=t.stateNode;var s=t.memoizedProps,l=ko(n,s);o.props=l;var c=o.context,d=n.contextType;a=La,typeof d=="object"&&d!==null&&(a=mt(d));var p=n.getDerivedStateFromProps;d=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function",s=t.pendingProps!==s,d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s||c!==a)&&a$(t,o,i,a),mi=!1;var m=t.memoizedState;o.state=m,Oc(t,i,o,r),Ec(),c=t.memoizedState,s||m!==c||mi?(typeof p=="function"&&(u0(t,n,p,i),c=t.memoizedState),(l=mi||o$(t,n,l,i,m,c,a))?(d||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=i,t.memoizedState=c),o.props=i,o.state=c,o.context=a,i=l):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),i=!1)}else{o=t.stateNode,J0(e,t),a=t.memoizedProps,d=ko(n,a),o.props=d,p=t.pendingProps,m=o.context,c=n.contextType,l=La,typeof c=="object"&&c!==null&&(l=mt(c)),s=n.getDerivedStateFromProps,(c=typeof s=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==p||m!==l)&&a$(t,o,i,l),mi=!1,m=t.memoizedState,o.state=m,Oc(t,i,o,r),Ec();var f=t.memoizedState;a!==p||m!==f||mi||e!==null&&e.dependencies!==null&&bp(e.dependencies)?(typeof s=="function"&&(u0(t,n,s,i),f=t.memoizedState),(d=mi||o$(t,n,d,i,m,f,l)||e!==null&&e.dependencies!==null&&bp(e.dependencies))?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(i,f,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(i,f,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=i,t.memoizedState=f),o.props=i,o.state=f,o.context=l,i=d):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),i=!1)}return o=i,Oa(e,t),i=(t.flags&128)!==0,o||i?(o=t.stateNode,n=i&&typeof n.getDerivedStateFromError!="function"?null:o.render(),t.flags|=1,e!==null&&i?(t.child=Eo(t,e.child,null,r),t.child=Eo(t,null,n,r)):Xe(e,t,n,r),t.memoizedState=o.state,e=t.child):e=Lr(e,t,r),e}function p$(e,t,n,i){return wo(),t.flags|=256,Xe(e,t,n,i),t.child}var ry={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function iy(e){return{baseLanes:e,cachePool:F2()}}function oy(e,t,n){return e=e!==null?e.childLanes&~n:0,t&&(e|=an),e}function HR(e,t,n){var i=t.pendingProps,r=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(pt.current&2)!==0),a&&(r=!0,t.flags&=-129),a=(t.flags&32)!==0,t.flags&=-33,e===null){if(re){if(r?wi(t):Ti(),(e=Ie)?(e=q4(e,Nn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ki!==null?{id:sr,overflow:lr}:null,retryLane:536870912,hydrationErrors:null},n=G2(e),n.return=t,t.child=n,at=t,Ie=null)):e=null,e===null)throw Ii(t);return ES(e)?t.lanes=32:t.lanes=536870912,null}return o=i.children,i=i.fallback,r?(Ti(),r=t.mode,o=Wp({mode:"hidden",children:o},r),i=bo(i,r,n,null),o.return=t,i.return=t,o.sibling=i,t.child=o,i=t.child,i.memoizedState=iy(n),i.childLanes=oy(e,a,n),t.memoizedState=ry,Ic(null,i)):(wi(t),hS(t,o))}var s=e.memoizedState;if(s!==null){var l=s.dehydrated;if(l!==null)return oj(e,t,o,a,i,l,s,n)}return r?(Ti(),r=i.fallback,o=t.mode,s=e.child,l=s.sibling,i=jr(s,{mode:"hidden",children:i.children}),i.subtreeFlags=s.subtreeFlags&1206910976,l!==null?r=jr(l,r):(r=bo(r,o,n,null),r.flags|=2),r.return=t,i.return=t,i.sibling=r,t.child=i,Ic(null,i),i=t.child,r=e.child.memoizedState,r===null?r=iy(n):(o=r.cachePool,o!==null?(s=Ye._currentValue,o=o.parent!==s?{parent:s,pool:s}:o):o=F2(),r={baseLanes:r.baseLanes|n,cachePool:o}),i.memoizedState=r,i.childLanes=oy(e,a,n),t.memoizedState=ry,Ic(e.child,i)):(wi(t),n=e.child,e=n.sibling,n=jr(n,{mode:"visible",children:i.children}),n.return=t,n.sibling=null,e!==null&&(a=t.deletions,a===null?(t.deletions=[e],t.flags|=16):a.push(e)),t.child=n,t.memoizedState=null,n)}function hS(e,t){return t=Wp({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function Wp(e,t){return e=Bt(22,e,null,t),e.lanes=0,e}function Pf(e,t,n){return Eo(t,e.child,null,n),e=hS(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function oj(e,t,n,i,r,o,a,s){if(n)return t.flags&256?(wi(t),t.flags&=-257,Pf(e,t,s)):t.memoizedState!==null?(Ti(),t.child=e.child,t.flags|=128,null):(Ti(),o=r.fallback,a=t.mode,r=Wp({mode:"visible",children:r.children},a),o=bo(o,a,s,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,Eo(t,e.child,null,s),r=t.child,r.memoizedState=iy(s),r.childLanes=oy(e,i,s),t.memoizedState=ry,Ic(null,r));if(wi(t),ES(o)){if(i=o.nextSibling&&o.nextSibling.dataset,i)var l=i.dgst;return i=l,i!==""&&(r=Error(R(419)),r.stack="",r.digest=i,qc({value:r,source:null,stack:null})),Pf(e,t,s)}if(Ke||To(e,t,s,!1),i=(s&e.childLanes)!==0,Ke||i){if(Ni.current!==null)return Pf(e,t,s);if(i=$e,i!==null&&(r=v2(i,s),r!==0&&r!==a.retryLane))throw a.retryLane=r,Ao(e,r),Gt(i,e,r),pS;return ky(o)||Ap(),Pf(e,t,s)}return ky(o)?(t.flags|=192,t.child=e.child,null):(e=a.treeContext,Ie=Cn(o.nextSibling),at=t,re=!0,_i=null,Nn=!1,e!==null&&Y2(t,e),t=hS(t,r.children),t.flags|=134221824,t)}function h$(e,t,n){e.lanes|=t;var i=e.alternate;i!==null&&(i.lanes|=t),Qf(e.return,t,n)}function g$(e){for(var t=null;e!==null;){var n=e.alternate;n!==null&&xp(n)===null&&(t=e),e=e.sibling}return t}function Uf(e,t,n,i,r,o){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:i,tail:n,tailMode:r,treeForkCount:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=i,a.tail=n,a.tailMode=r,a.treeForkCount=o)}function d0(e){var t=e.child;for(e.child=null;t!==null;){var n=t.sibling;t.sibling=e.child,e.child=t,t=n}}function ay(e,t,n){var i=t.pendingProps,r=i.revealOrder,o=i.tail;i=i.children;var a=pt.current;if(t.flags&128)return Zc(t,a),null;var s=(a&2)!==0;if(s?(a=a&1|2,t.flags|=128):a&=1,Zc(t,a),r==="backwards"&&e!==null?(d0(e),Xe(e,t,i,n),d0(e)):Xe(e,t,i,n),i=re?Lc:0,!s&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&h$(e,n,t);else if(e.tag===19)h$(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(r){case"backwards":n=g$(t.child),n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null,d0(t)),Uf(t,!0,r,null,o,i);break;case"unstable_legacy-backwards":for(n=null,r=t.child,t.child=null;r!==null;){if(e=r.alternate,e!==null&&xp(e)===null){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}Uf(t,!0,n,null,o,i);break;case"together":Uf(t,!1,null,null,void 0,i);break;case"independent":t.memoizedState=null;break;default:n=g$(t.child),n===null?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),Uf(t,!1,r,n,o,i)}return t.child}function v$(e,t,n){var i=t.pendingProps;return gi(t,t.type,i.value),Xe(e,t,i.children,n),t.child}function Lr(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ji|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(To(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(R(153));if(t.child!==null){for(e=t.child,n=jr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=jr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function gS(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&bp(e)))}function aj(e,t,n){switch(t.tag){case 3:mp(t,t.stateNode.containerInfo),gi(t,Ye,e.memoizedState.cache),wo();break;case 27:case 5:C0(t);break;case 4:mp(t,t.stateNode.containerInfo);break;case 10:gi(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,F0(t),null;break;case 13:var i=t.memoizedState;if(i!==null){if(i.dehydrated!==null)return wi(t),t.flags|=128,null;i=To(e,t,n,!1);var r=t.child.childLanes;return i||(n&r)!==0?HR(e,t,n):(wi(t),e=Lr(e,t,n),e!==null?e.sibling:null)}wi(t);break;case 19:if(t.flags&128)return ay(e,t,n);if(r=(e.flags&128)!==0,i=(n&t.childLanes)!==0,i||(To(e,t,n,!1),i=(n&t.childLanes)!==0),r){if(i)return ay(e,t,n);t.flags|=128}if(r=t.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Zc(t,pt.current),i)break;return null;case 22:return t.lanes=0,qR(e,t,n,t.pendingProps);case 24:gi(t,Ye,e.memoizedState.cache)}return Lr(e,t,n)}function ZR(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)Ke=!0;else{if(!gS(e,n)&&(t.flags&128)===0)return Ke=!1,aj(e,t,n);Ke=(e.flags&131072)!==0}else Ke=!1,re&&(t.flags&1048576)!==0&&J2(t,Lc,t.index);switch(t.lanes=0,t.tag){case 16:e:{var i=t.pendingProps;if(e=ho(t.elementType),t.type=e,typeof e=="function")Yy(e)?(i=ko(e,i),t.tag=1,t=f$(null,t,e,i,n)):(t.tag=0,t=ny(null,t,e,i,n));else{if(e!=null){var r=e.$$typeof;if(r===Ay){t.tag=11,t=l$(null,t,e,i,n);break e}else if(r===Py){t.tag=14,t=c$(null,t,e,i,n);break e}else if(r===or){t.tag=10,t.type=e,t=v$(null,t,n);break e}}throw t=I0(e)||e,Error(R(306,t,""))}}return t;case 0:return ny(e,t,t.type,t.pendingProps,n);case 1:return i=t.type,r=ko(i,t.pendingProps),f$(e,t,i,r,n);case 3:e:{if(mp(t,t.stateNode.containerInfo),e===null)throw Error(R(387));i=t.pendingProps;var o=t.memoizedState;r=o.element,J0(e,t),Oc(t,i,null,n);var a=t.memoizedState;if(i=a.cache,gi(t,Ye,i),i!==o.cache&&B0(t,[Ye],n,!0),Ec(),i=a.element,o.isDehydrated)if(o={element:i,isDehydrated:!1,cache:a.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=p$(e,t,i,n);break e}else if(i!==r){r=In(Error(R(424)),t),qc(r),t=p$(e,t,i,n);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Ie=Cn(e.firstChild),at=t,re=!0,_i=null,Nn=!0,n=W2(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|134221824,n=n.sibling;else{if(wo(),i===r){t=Lr(e,t,n);break e}Xe(e,t,i,n)}t=t.child}return t;case 26:return Oa(e,t),e===null?(n=V$(t.type,null,t.pendingProps,null))?t.memoizedState=n:re||(t.stateNode=N4(t.type,t.pendingProps,bi.current,t)):t.memoizedState=V$(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return C0(t),e===null&&re&&(i=t.stateNode=H4(t.type,t.pendingProps,bi.current),at=t,Nn=!0,r=Ie,Pi(t.type)?(Iy=r,Ie=Cn(i.firstChild)):Ie=r),Xe(e,t,t.pendingProps.children,n),Oa(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&re&&((r=i=Ie)&&(i=Xj(i,t.type,t.pendingProps,Nn),i!==null?(t.stateNode=i,at=t,Ie=Cn(i.firstChild),Nn=!1,r=!0):r=!1),r||Ii(t)),C0(t),r=t.type,o=t.pendingProps,a=e!==null?e.memoizedProps:null,i=o.children,Ry(r,o)?i=null:a!==null&&Ry(r,a)&&(t.flags|=32),t.memoizedState!==null&&(r=rS(e,t,KC,null,null,n),us._currentValue=r),Oa(e,t),Xe(e,t,i,n),t.child;case 6:return e===null&&re&&((e=n=Ie)&&(n=Wj(n,t.pendingProps,Nn),n!==null?(t.stateNode=n,at=t,Ie=null,e=!0):e=!1),e||Ii(t)),null;case 13:return HR(e,t,n);case 4:return mp(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Eo(t,null,i,n):Xe(e,t,i,n),t.child;case 11:return l$(e,t,t.type,t.pendingProps,n);case 7:return i=t.pendingProps,Oa(e,t),Xe(e,t,i,n),t.child;case 8:return Xe(e,t,t.pendingProps.children,n),t.child;case 12:return Xe(e,t,t.pendingProps.children,n),t.child;case 10:return v$(e,t,n);case 9:return r=t.type._context,i=t.pendingProps.children,$o(t),r=mt(r),i=i(r),t.flags|=1,Xe(e,t,i,n),t.child;case 14:return c$(e,t,t.type,t.pendingProps,n);case 15:return LR(e,t,t.type,t.pendingProps,n);case 19:return ay(e,t,n);case 31:return ij(e,t,n);case 22:return qR(e,t,n,t.pendingProps);case 24:return $o(t),i=mt(Ye),e===null?(r=Qy(),r===null&&(r=$e,o=Fy(),r.pooledCache=o,o.refCount++,o!==null&&(r.pooledCacheLanes|=n),r=o),t.memoizedState={parent:i,cache:r},Wy(t),gi(t,Ye,r)):((e.lanes&n)!==0&&(J0(e,t),Oc(t,null,null,n),Ec()),r=e.memoizedState,o=t.memoizedState,r.parent!==i?(r={parent:i,cache:i},t.memoizedState=r,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=r),gi(t,Ye,i)):(i=o.cache,gi(t,Ye,i),i!==r.cache&&B0(t,[Ye],n,!0))),Xe(e,t,t.pendingProps.children,n),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),i=t.pendingProps,i.name!=null&&i.name!=="auto"?t.flags|=e===null?18882560:18874368:re&&Jp(t),e!==null&&e.memoizedProps.name!==i.name?t.flags|=4194816:Oa(e,t),Xe(e,t,i.children,n),t.child;case 29:throw t.pendingProps}throw Error(R(156,t.tag))}function Ir(e){e.flags|=4}function m0(e,t,n,i,r){var o;if((o=(e.mode&32)!==0)&&(o=n===null?J$(t,i):J$(t,i)&&(i.src!==n.src||i.srcSet!==n.srcSet)),o){if(e.flags|=16777216,(r&335544128)===r)if(e.stateNode.complete)e.flags|=8192;else if(y4())e.flags|=8192;else throw zo=_p,Xy}else e.flags&=-16777217}function y$(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!G4(t))if(y4())e.flags|=8192;else throw zo=_p,Xy}function Mf(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?p2():536870912,e.lanes|=t,is|=t)}function pc(e,t){if(!re)switch(e.tailMode){case"visible":break;case"collapsed":for(var n=e.tail,i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:i.sibling=null;break;default:for(t=e.tail,n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null}}function ke(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,i=0;if(t)for(var r=e.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags&1206910976,i|=r.flags&1206910976,r.return=e,r=r.sibling;else for(r=e.child;r!==null;)n|=r.lanes|r.childLanes,i|=r.subtreeFlags,i|=r.flags,r.return=e,r=r.sibling;return e.subtreeFlags|=i,e.childLanes=n,t}function sj(e,t,n){var i=t.pendingProps;switch(Ky(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ke(t),null;case 1:return ke(t),null;case 3:return n=t.stateNode,i=null,e!==null&&(i=e.memoizedState.cache),t.memoizedState.cache!==i&&(t.flags|=2048),Ar(Ye),es(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Ra(t)?Ir(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,s0())),ke(t),null;case 26:var r=t.type,o=t.memoizedState;return e===null?(Ir(t),o!==null?(ke(t),y$(t,o)):(ke(t),m0(t,r,null,i,n))):o?o!==e.memoizedState?(Ir(t),ke(t),y$(t,o)):(ke(t),t.flags&=-16777217):(e=e.memoizedProps,e!==i&&Ir(t),ke(t),m0(t,r,e,i,n)),null;case 27:if(fp(t),n=bi.current,r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Ir(t);else{if(!i){if(t.stateNode===null)throw Error(R(166));return ke(t),t.subtreeFlags&=-33554433,null}e=cr.current,Ra(t)?BT(t,e):(e=H4(r,i,n),t.stateNode=e,Ir(t))}return ke(t),t.subtreeFlags&=-33554433,null;case 5:if(fp(t),r=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==i&&Ir(t);else{if(!i){if(t.stateNode===null)throw Error(R(166));return ke(t),t.subtreeFlags&=-33554433,null}if(o=cr.current,Ra(t))BT(t,o);else{var a=Jc(bi.current);switch(o){case 1:o=a.createElementNS("http://www.w3.org/2000/svg",r);break;case 2:o=a.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;default:switch(r){case"svg":o=a.createElementNS("http://www.w3.org/2000/svg",r);break;case"math":o=a.createElementNS("http://www.w3.org/1998/Math/MathML",r);break;case"script":o=a.createElement("div"),o.innerHTML="<script><\\/script>",o=o.removeChild(o.firstChild);break;case"select":o=typeof i.is=="string"?a.createElement("select",{is:i.is}):a.createElement("select"),i.multiple?o.multiple=!0:i.size&&(o.size=i.size);break;default:o=typeof i.is=="string"?a.createElement(r,{is:i.is}):a.createElement(r)}}o[dt]=t,o[Yt]=i;e:for(a=t.child;a!==null;){if(a.tag===5||a.tag===6)o.appendChild(a.stateNode);else if(a.tag!==4&&a.tag!==27&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===t)break e;for(;a.sibling===null;){if(a.return===null||a.return===t)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}t.stateNode=o;e:switch(ht(o,r,i),r){case"button":case"input":case"select":case"textarea":i=!!i.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&Ir(t)}}return ke(t),t.subtreeFlags&=-33554433,m0(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==i&&Ir(t);else{if(typeof i!="string"&&t.stateNode===null)throw Error(R(166));if(e=bi.current,Ra(t)){if(e=t.stateNode,n=t.memoizedProps,i=null,r=at,r!==null)switch(r.tag){case 27:case 5:i=r.memoizedProps}e[dt]=t,e=!!(e.nodeValue===n||i!==null&&i.suppressHydrationWarning===!0||k4(e.nodeValue,n)),e||Ii(t,!0)}else e=Jc(e).createTextNode(i),e[dt]=t,t.stateNode=e}return ke(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(i=Ra(t),n!==null){if(e===null){if(!i)throw Error(R(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(R(557));e[dt]=t}else wo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ke(t),e=!1}else n=s0(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(rn(t),t):(rn(t),null);if((t.flags&128)!==0)throw Error(R(558))}return ke(t),null;case 13:if(i=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=Ra(t),i!==null&&i.dehydrated!==null){if(e===null){if(!r)throw Error(R(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(R(317));r[dt]=t}else wo(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ke(t),r=!1}else r=s0(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(rn(t),t):(rn(t),null)}return rn(t),(t.flags&128)!==0?(t.lanes=n,t):(n=i!==null,e=e!==null&&e.memoizedState!==null,n&&(i=t.child,r=null,i.alternate!==null&&i.alternate.memoizedState!==null&&i.alternate.memoizedState.cachePool!==null&&(r=i.alternate.memoizedState.cachePool.pool),o=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(o=i.memoizedState.cachePool.pool),o!==r&&(i.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),Mf(t,t.updateQueue),ke(t),null);case 4:return es(),e===null&&TS(t.stateNode.containerInfo),t.flags|=67108864,ke(t),null;case 10:return Ar(t.type),ke(t),null;case 19:if(tS(t),i=t.memoizedState,i===null)return ke(t),null;if(r=(t.flags&128)!==0,o=i.rendering,o===null)if(r)pc(i,!1);else{if(Ze!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(o=xp(e),o!==null){for(t.flags|=128,pc(i,!1),e=o.updateQueue,t.updateQueue=e,Mf(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)B2(n,e),n=n.sibling;return Zc(t,pt.current&1|2),re&&Nr(t,i.treeForkCount),t.child}e=e.sibling}i.tail!==null&&sn()>Cp&&(t.flags|=128,r=!0,pc(i,!1),t.lanes=4194304)}else{if(!r)if(e=xp(o),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,Mf(t,e),pc(i,!0),i.tail===null&&i.tailMode!=="collapsed"&&i.tailMode!=="visible"&&!o.alternate&&!re)return ke(t),null}else 2*sn()-i.renderingStartTime>Cp&&n!==536870912&&(t.flags|=128,r=!0,pc(i,!1),t.lanes=4194304);i.isBackwards?(o.sibling=t.child,t.child=o):(e=i.last,e!==null?e.sibling=o:t.child=o,i.last=o)}if(i.tail!==null){e=i.tail;e:{for(n=e;n!==null;){if(n.alternate!==null){n=!1;break e}n=n.sibling}n=!0}return i.rendering=e,i.tail=e.sibling,i.renderingStartTime=sn(),e.sibling=null,o=pt.current,o=r?o&1|2:o&1,i.tailMode==="visible"||i.tailMode==="collapsed"||!n||re?Zc(t,o):(n=o,Ne(gt,t),Ne(pt,n),Tt===null&&(Tt=t)),re&&Nr(t,i.treeForkCount),e}return ke(t),null;case 22:case 23:return rn(t),eS(),i=t.memoizedState!==null,e!==null?e.memoizedState!==null!==i&&(t.flags|=8192):i&&(t.flags|=8192),i?(n&536870912)!==0&&(t.flags&128)===0&&(ke(t),t.subtreeFlags&6&&(t.flags|=8192)):ke(t),n=t.updateQueue,n!==null&&Mf(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),i=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(i=t.memoizedState.cachePool.pool),i!==n&&(t.flags|=2048),e!==null&&ft(_o),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ar(Ye),ke(t),null;case 25:return null;case 30:return t.flags|=33554432,ke(t),null}throw Error(R(156,t.tag))}function lj(e,t){switch(Ky(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ar(Ye),es(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return fp(t),null;case 31:if(t.memoizedState!==null){if(rn(t),t.alternate===null)throw Error(R(340));wo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(rn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(R(340));wo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return tS(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return es(),null;case 10:return Ar(t.type),null;case 22:case 23:return rn(t),eS(),e!==null&&ft(_o),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Ar(Ye),null;case 25:return null;default:return null}}function VR(e,t){switch(Ky(t),t.tag){case 3:Ar(Ye),es();break;case 26:case 27:case 5:fp(t);break;case 4:es();break;case 31:t.memoizedState!==null&&rn(t);break;case 13:rn(t);break;case 19:tS(t);break;case 10:Ar(t.type);break;case 22:case 23:rn(t),eS(),e!==null&&ft(_o);break;case 24:Ar(Ye)}}function au(e,t){try{var n=t.updateQueue,i=n!==null?n.lastEffect:null;if(i!==null){var r=i.next;n=r;do{if((n.tag&e)===e){i=void 0;var o=n.create,a=n.inst;i=o(),a.destroy=i}n=n.next}while(n!==r)}}catch(s){_e(t,t.return,s)}}function Ci(e,t,n){try{var i=t.updateQueue,r=i!==null?i.lastEffect:null;if(r!==null){var o=r.next;i=o;do{if((i.tag&e)===e){var a=i.inst,s=a.destroy;if(s!==void 0){a.destroy=void 0,r=t;var l=n,c=s;try{c()}catch(d){_e(r,l,d)}}}i=i.next}while(i!==o)}}catch(d){_e(t,t.return,d)}}function BR(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{tR(t,n)}catch(i){_e(e,e.return,i)}}}function GR(e,t,n){n.props=ko(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(i){_e(e,t,i)}}function rr(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var i=e.stateNode;break;case 30:var r=e.stateNode,o=Ur(e.memoizedProps,r);(r.ref===null||r.ref.name!==o)&&(r.ref=P4(o)),i=r.ref;break;case 7:if(e.stateNode===null){var a=new mn(e);Jt(e.child,!1,Fj,a,void 0,void 0),e.stateNode=a}i=e.stateNode;break;default:i=e.stateNode}typeof n=="function"?e.refCleanup=n(i):n.current=i}}catch(s){_e(e,t,s)}}function ut(e,t){var n=e.ref,i=e.refCleanup;if(n!==null)if(typeof i=="function")try{i()}catch(r){_e(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(r){_e(e,t,r)}else n.current=null}function Ep(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var n=0;n<t.length;n++)L4(e.stateNode,t[n])}function S$(e){for(var t=e.return;t!==null&&(yS(t)&&L4(e.stateNode,t.stateNode),!vS(t));)t=t.return}function Nc(e){for(var t=e.return;t!==null&&(yS(t)&&Qj(e.stateNode,t.stateNode),!vS(t));)t=t.return}function vS(e){return e.tag===5||e.tag===3||e.tag===27}function yS(e){return e&&e.tag===7&&e.stateNode!==null}function sy(e){var t=e.type,n=e.memoizedProps,i=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&i.focus();break e;case"img":n.src?i.src=n.src:n.srcSet&&(i.srcset=n.srcSet)}}catch(r){_e(e,e.return,r)}}function f0(e,t,n){try{var i=e.stateNode;Nj(i,e.type,n,t),i[Yt]=t}catch(r){_e(e,e.return,r)}}function JR(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Pi(e.type)||e.tag===4}function p0(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||JR(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&Pi(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ly(e,t,n,i){var r=e.tag;if(r===5||r===6)r=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(r,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(r),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ar)),Ep(e,i),fe=!0;else if(r!==4&&(r===27&&(Ep(e,i),i=null,Pi(e.type)&&(n=e.stateNode,t=null)),e=e.child,e!==null))for(ly(e,t,n,i),e=e.sibling;e!==null;)ly(e,t,n,i),e=e.sibling}function Op(e,t,n,i){var r=e.tag;if(r===5||r===6)r=e.stateNode,t?n.insertBefore(r,t):n.appendChild(r),Ep(e,i),fe=!0;else if(r!==4&&(r===27&&(Ep(e,i),i=null,Pi(e.type)&&(n=e.stateNode)),e=e.child,e!==null))for(Op(e,t,n,i),e=e.sibling;e!==null;)Op(e,t,n,i),e=e.sibling}function YR(e){var t=e.stateNode,n=e.memoizedProps;try{for(var i=e.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);ht(t,i,n),t[dt]=e,t[Yt]=n}catch(o){_e(e,e.return,o)}}var kp=!1,on=null;function b$(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(kp=!0)}var ir=null;function _$(){var e=ir;return ir=null,e}var Vt=0;function gs(e,t,n,i,r){return Vt=0,KR(e.child,t,n,i,r)}function KR(e,t,n,i,r){for(var o=!1;e!==null;){if(e.tag===5){var a=e.stateNode;if(i!==null){var s=Ey(a);i.push(s),s.view&&(o=!0)}else o||Ey(a).view&&(o=!0);kp=!0,C4(a,Vt===0?t:t+"_"+Vt,n),Vt++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&r||KR(e.child,t,n,i,r)&&(o=!0));e=e.sibling}return o}function dr(e,t){for(;e!==null;)e.tag===5?j4(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||dr(e.child,t)),e=e.sibling}function np(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(np(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name==="auto")throw Error(R(544));var n=t.name;t=Zr(t.default,t.share),t!=="none"&&(gs(e,n,t,null,!1)||dr(e.child,!1))}e=e.sibling}}function cy(e,t){if(e.tag===30){var n=e.stateNode,i=e.memoizedProps,r=Ur(i,n),o=Zr(i.default,n.paired?i.share:i.enter);o!=="none"?gs(e,r,o,null,!1)?(np(e),n.paired||t||os(e,i.onEnter)):dr(e.child,!1):np(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)cy(e,t),e=e.sibling;else np(e)}function uy(e){if(on!==null&&on.size!==0){var t=on;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var n=e.memoizedProps,i=n.name;if(i!=null&&i!=="auto"){var r=t.get(i);if(r!==void 0){var o=Zr(n.default,n.share);if(o!=="none"&&(gs(e,i,o,null,!1)?(o=e.stateNode,r.paired=o,o.paired=r,os(e,n.onShare)):dr(e.child,!1)),t.delete(i),t.size===0)break}}}uy(e)}e=e.sibling}}}function dy(e){if(e.tag===30){var t=e.memoizedProps,n=Ur(t,e.stateNode),i=on!==null?on.get(n):void 0,r=Zr(t.default,i!==void 0?t.share:t.exit);r!=="none"&&(gs(e,n,r,null,!1)?i!==void 0?(r=e.stateNode,i.paired=r,r.paired=i,on.delete(n),os(e,t.onShare)):os(e,t.onExit):dr(e.child,!1)),on!==null&&uy(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)dy(e),e=e.sibling;else on!==null&&uy(e)}function FR(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,n=Ur(t,e.stateNode);t=Zr(t.default,t.update),e.flags&=-5,t!=="none"&&gs(e,n,t,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&FR(e);e=e.sibling}}function my(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.stateNode;t.paired!==null&&(t.paired=null,dr(e.child,!1))}my(e)}e=e.sibling}}function rp(e){if(e.tag===30)e.stateNode.paired=null,dr(e.child,!1),my(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)rp(e),e=e.sibling;else my(e)}function QR(e){for(e=e.child;e!==null;)e.tag===30?dr(e.child,!1):(e.subtreeFlags&33554432)!==0&&QR(e),e=e.sibling}function SS(e,t,n,i,r,o,a){for(var s=!1;t!==null;){if(t.tag===5){var l=t.stateNode;if(o!==null&&Vt<o.length){var c=o[Vt],d=Ey(l);(c.view||d.view)&&(s=!0);var p;if(p=(e.flags&4)===0)if(d.clip)p=!0;else{p=c.rect;var m=d.rect;p=p.y!==m.y||p.x!==m.x||p.height!==m.height||p.width!==m.width}p&&(e.flags|=4),d.abs?d=!c.abs:(c=c.rect,d=d.rect,d=c.height!==d.height||c.width!==d.width),d&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&C4(l,Vt===0?n:n+"_"+Vt,r),s&&(e.flags&4)!==0||(ir===null&&(ir=[]),ir.push(l,Vt===0?i:i+"_"+Vt,t.memoizedProps)),Vt++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&a?e.flags|=t.flags&32:SS(e,t.child,n,i,r,o,a)&&(s=!0));t=t.sibling}return s}function XR(e,t){for(e=e.child;e!==null;){if(e.tag===30){var n=e.memoizedProps,i=e.stateNode,r=Ur(n,i),o=Zr(n.default,n.update);if(t){i=i.clones;var a=i===null?null:i.map(Mj)}else a=e.memoizedState,e.memoizedState=null;i=e;var s=e.child;Vt=0,r=SS(i,s,r,r,o,a,!1),(e.flags&4)!==0&&r&&(t||os(e,n.onUpdate))}else(e.subtreeFlags&33554432)!==0&&XR(e,t);e=e.sibling}}var rt=!1,ve=!1,er=!1,h0=!1,z$=typeof WeakSet=="function"?WeakSet:Set,it=null,tr=!1,zc=!1,Ip=!1,fy=!1;function cj(e,t,n){if(e=e.containerInfo,Ty=ds,e=U2(e),By(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var r=i.getSelection&&i.getSelection();if(r&&r.rangeCount!==0){i=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{i.nodeType,a.nodeType}catch{i=null;break e}var s=0,l=-1,c=-1,d=0,p=0,m=e,f=null;t:for(;;){for(var _;m!==i||o!==0&&m.nodeType!==3||(l=s+o),m!==a||r!==0&&m.nodeType!==3||(c=s+r),m.nodeType===3&&(s+=m.nodeValue.length),(_=m.firstChild)!==null;)f=m,m=_;for(;;){if(m===e)break t;if(f===i&&++d===o&&(l=s),f===a&&++p===r&&(c=s),(_=m.nextSibling)!==null)break;m=f,f=m.parentNode}m=_}i=l===-1||c===-1?null:{start:l,end:c}}else i=null}i=i||{start:0,end:0}}else i=null;for($y={focusedElem:e,selectionRange:i},ds=!1,n=(n&335544064)===n,it=t,t=n?9270:1024;it!==null;){if(e=it,n&&(i=e.deletions,i!==null))for(o=0;o<i.length;o++)n&&dy(i[o]);if(e.alternate===null&&(e.flags&2)!==0)n&&b$(e),Df(n);else{if(e.tag===22){if(i=e.alternate,e.memoizedState!==null){i!==null&&i.memoizedState===null&&n&&dy(i),Df(n);continue}else if(i!==null&&i.memoizedState!==null){n&&b$(e),Df(n);continue}}i=e.child,(e.subtreeFlags&t)!==0&&i!==null?(i.return=e,it=i):(n&&FR(e),Df(n))}}on=null}function Df(e){for(;it!==null;){var t=it,n=e,i=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if((r&1024)!==0&&i!==null){n=void 0,r=i.memoizedProps,i=i.memoizedState;var o=t.stateNode;try{var a=ko(t.type,r);n=o.getSnapshotBeforeUpdate(a,i),o.__reactInternalSnapshotBeforeUpdate=n}catch(s){_e(t,t.return,s)}}break;case 3:if((r&1024)!==0){if(i=t.stateNode.containerInfo,n=i.nodeType,n===9)Oy(i);else if(n===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":Oy(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:n&&i!==null&&(n=Ur(i.memoizedProps,i.stateNode),r=t.memoizedProps,r=Zr(r.default,r.update),r!=="none"&&gs(i,n,r,i.memoizedState=[],!0));break;default:if((r&1024)!==0)throw Error(R(163))}if(i=t.sibling,i!==null){i.return=t.return,it=i;break}it=t.return}}function WR(e,t,n){var i=n.flags;switch(n.tag){case 0:case 11:case 15:nr(e,n),i&4&&au(5,n);break;case 1:if(nr(e,n),i&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(a){_e(n,n.return,a)}else{var r=ko(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(r,t,e.__reactInternalSnapshotBeforeUpdate)}catch(a){_e(n,n.return,a)}}i&64&&BR(n),i&512&&rr(n,n.return);break;case 3:if(nr(e,n),i&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{tR(e,t)}catch(a){_e(n,n.return,a)}}break;case 27:t===null&&i&4&&YR(n);case 26:case 5:nr(e,n),t===null&&i&4&&sy(n),i&512&&rr(n,n.return);break;case 12:nr(e,n);break;case 31:nr(e,n),i&4&&r4(e,n);break;case 13:nr(e,n),i&4&&i4(e,n),i&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=_j.bind(null,n),eA(e,n))));break;case 22:if(i=n.memoizedState!==null||rt,!i){var o=t!==null&&t.memoizedState!==null||ve;t=rt,r=ve,rt=i,(ve=o)&&!r?(i=2,(n.subtreeFlags&8772)!==0&&(i|=1),Ln(e,n,i)):nr(e,n),rt=t,ve=r}break;case 30:nr(e,n),i&512&&rr(n,n.return);break;case 7:i&512&&rr(n,n.return);default:nr(e,n)}}function py(e,t){for(e=e.child;e!==null;)e4(e,t),e=e.sibling}function e4(e,t){switch(e.tag){case 5:case 26:try{var n=e.stateNode;if(t){var i=n.style;typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"}else{var r=e.stateNode,o=e.memoizedProps.style,a=o!=null&&o.hasOwnProperty("display")?o.display:null;r.style.display=a==null||typeof a=="boolean"?"":(""+a).trim()}}catch(l){_e(e,e.return,l)}hy(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,fe=!0}catch(l){_e(e,e.return,l)}break;case 18:try{var s=e.stateNode;t?M$(s,!0):M$(e.stateNode,!1)}catch(l){_e(e,e.return,l)}break;case 22:case 23:e.memoizedState===null&&py(e,t);break;default:py(e,t)}}function hy(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var n=e,i=t;switch(n.tag){case 4:e4(n,i);break e;case 22:n.memoizedState===null&&hy(n,i);break e;default:hy(n,i)}}e=e.sibling}}function t4(e){var t=e.alternate;t!==null&&(e.alternate=null,t4(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&qp(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Pe=null,Ht=!1;function Dn(e,t,n){for(n=n.child;n!==null;)n4(e,t,n),n=n.sibling}function n4(e,t,n){if(ln&&typeof ln.onCommitFiberUnmount=="function")try{ln.onCommitFiberUnmount(Wc,n)}catch{}switch(n.tag){case 26:ve||ut(n,t),Dn(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&!ve&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:ve||ut(n,t),Nc(n);var i=Pe,r=Ht;Pi(n.type)&&(Pe=n.stateNode,Ht=!1),Dn(e,t,n),Z4(n.stateNode,n.type,n.memoizedProps),Pe=i,Ht=r;break;case 5:ve||ut(n,t),Nc(n);case 6:if(n.tag===6&&Nc(n),i=Pe,r=Ht,Pe=null,Dn(e,t,n),Pe=i,Ht=r,Pe!==null)if(Ht)try{(Pe.nodeType===9?Pe.body:Pe.nodeName==="HTML"?Pe.ownerDocument.body:Pe).removeChild(n.stateNode),fe=!0}catch(o){_e(n,t,o)}else try{Pe.removeChild(n.stateNode),fe=!0}catch(o){_e(n,t,o)}break;case 18:Pe!==null&&(Ht?(e=Pe,U$(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,n.stateNode),ms(e)):U$(Pe,n.stateNode));break;case 4:i=Pe,r=Ht,Pe=n.stateNode.containerInfo,Ht=!0,Dn(e,t,n),Pe=i,Ht=r;break;case 0:case 11:case 14:case 15:Ci(2,n,t),ve||Ci(4,n,t),Dn(e,t,n);break;case 1:ve||(ut(n,t),i=n.stateNode,typeof i.componentWillUnmount=="function"&&GR(n,t,i)),Dn(e,t,n);break;case 21:Dn(e,t,n);break;case 22:ve=(i=ve)||n.memoizedState!==null,Dn(e,t,n),ve=i;break;case 30:ut(n,t),Dn(e,t,n);break;case 7:ve||ut(n,t),Dn(e,t,n);break;default:Dn(e,t,n)}}function r4(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ms(e)}catch(n){_e(t,t.return,n)}}}function i4(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ms(e)}catch(n){_e(t,t.return,n)}}function uj(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new z$),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new z$),t;default:throw Error(R(435,e.tag))}}function Lf(e,t){var n=uj(e);t.forEach(function(i){if(!n.has(i)){n.add(i);var r=zj.bind(null,e,i);i.then(r,r)}})}function kt(e,t,n){var i=t.deletions;if(i!==null)for(var r=0;r<i.length;r++){var o=i[r],a=e,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 27:if(Pi(l.type)){Pe=l.stateNode,Ht=!1;break e}break;case 5:Pe=l.stateNode,Ht=!1;break e;case 3:case 4:Pe=l.stateNode.containerInfo,Ht=!0;break e}l=l.return}if(Pe===null)throw Error(R(160));n4(a,s,o),Pe=null,Ht=!1,a=o.alternate,a!==null&&(a.return=null),o.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)o4(t,e,n),t=t.sibling}var qn=null;function o4(e,t,n){var i=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(r&4&&(i=e.updateQueue,i=i!==null?i.events:null,i!==null))for(var o=0;o<i.length;o++){var a=i[o];a.ref.impl=a.nextImpl}kt(t,e,n),It(e),r&4&&(Ci(3,e,e.return),au(3,e),Ci(5,e,e.return));break;case 1:kt(t,e,n),It(e),r&512&&(ve||i===null||ut(i,i.return)),r&64&&rt&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?t:n.concat(t))));break;case 26:if(o=qn,kt(t,e,n),It(e),r&512&&(ve||i===null||ut(i,i.return)),r&4)if(r=i!==null?i.memoizedState:null,n=e.memoizedState,i===null)if(n===null)if(e.stateNode===null)if(rt)e.stateNode=N4(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,n=e.memoizedProps,r=o.ownerDocument||o;t:switch(t){case"title":i=r.getElementsByTagName("title")[0],(!i||i[nu]||i[dt]||i.namespaceURI==="http://www.w3.org/2000/svg"||i.hasAttribute("itemprop"))&&(i=r.createElement(t),r.head.insertBefore(i,r.querySelector("head > title"))),ht(i,t,n),i[dt]=e,ot(i),t=i;break e;case"link":if(o=G$("link","href",r).get(t+(n.href||""))){for(a=0;a<o.length;a++)if(i=o[a],i.getAttribute("href")===(n.href==null||n.href===""?null:n.href)&&i.getAttribute("rel")===(n.rel==null?null:n.rel)&&i.getAttribute("title")===(n.title==null?null:n.title)&&i.getAttribute("crossorigin")===(n.crossOrigin==null?null:n.crossOrigin)){o.splice(a,1);break t}}i=r.createElement(t),ht(i,t,n),r.head.appendChild(i);break;case"meta":if(o=G$("meta","content",r).get(t+(n.content||""))){for(a=0;a<o.length;a++)if(i=o[a],i.getAttribute("content")===(n.content==null?null:""+n.content)&&i.getAttribute("name")===(n.name==null?null:n.name)&&i.getAttribute("property")===(n.property==null?null:n.property)&&i.getAttribute("http-equiv")===(n.httpEquiv==null?null:n.httpEquiv)&&i.getAttribute("charset")===(n.charSet==null?null:n.charSet)){o.splice(a,1);break t}}i=r.createElement(t),ht(i,t,n),r.head.appendChild(i);break;default:throw Error(R(468,t))}i[dt]=e,ot(i),t=i}e.stateNode=t}else rt||Ny(o,e.type,e.stateNode);else e.stateNode=B$(o,n,e.memoizedProps);else r!==n?(r===null?(t=i.stateNode,t===null||ve||t.parentNode.removeChild(t)):r.count--,n===null?rt||Ny(o,e.type,e.stateNode):B$(o,n,e.memoizedProps)):n===null&&e.stateNode!==null&&f0(e,e.memoizedProps,i.memoizedProps);break;case 27:kt(t,e,n),It(e),r&512&&(ve||i===null||ut(i,i.return)),i!==null&&r&4&&f0(e,e.memoizedProps,i.memoizedProps);break;case 5:if(o=er,er=!1,kt(t,e,n),er=o,It(e),r&512&&(ve||i===null||ut(i,i.return)),e.flags&32){t=e.stateNode;try{ns(t,""),fe=!0}catch(d){_e(e,e.return,d)}}r&4&&e.stateNode!=null&&(t=e.memoizedProps,f0(e,t,i!==null?i.memoizedProps:t)),r&1024&&(h0=!0);break;case 6:if(kt(t,e,n),It(e),r&4){if(e.stateNode===null)throw Error(R(162));t=e.memoizedProps,n=e.stateNode;try{n.nodeValue=t,fe=!0}catch(d){_e(e,e.return,d)}}break;case 3:if(fe=!1,sp=null,o=qn,qn=Yc(t.containerInfo),kt(t,e,n),qn=o,It(e),r&4&&i!==null&&i.memoizedState.isDehydrated)try{ms(t.containerInfo)}catch(d){_e(e,e.return,d)}h0&&(h0=!1,a4(e)),fe=!1;break;case 4:r=er,er=rt,i=ET(),o=qn,qn=Yc(e.stateNode.containerInfo),kt(t,e,n),It(e),qn=o,fe&&zc&&(Ip=!0),fe=i,er=r;break;case 12:kt(t,e,n),It(e);break;case 31:kt(t,e,n),It(e),r&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Lf(e,t)));break;case 13:kt(t,e,n),It(e),e.child.flags&8192&&e.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(eh=sn()),r&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Lf(e,t)));break;case 22:o=e.memoizedState!==null,a=i!==null&&i.memoizedState!==null;var s=rt,l=ve,c=er;rt=s||o,er=c||o,ve=l||a,kt(t,e,n),ve=l,er=c,rt=s,It(e),r&8192&&(t=e.stateNode,t._visibility=o?t._visibility&-2:t._visibility|1,!o||i===null||a||rt||ve||(t=a||ve,n=rt,i=ve,rt=o||rt,ve=t,ui(e,2),rt=n,ve=i),!o&&er||py(e,o)),r&4&&(t=e.updateQueue,t!==null&&(n=t.retryQueue,n!==null&&(t.retryQueue=null,Lf(e,n))));break;case 19:kt(t,e,n),It(e),r&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,Lf(e,t)));break;case 30:r&512&&(ve||i===null||ut(i,i.return)),r=ET(),o=zc,a=(n&335544064)===n,s=e.memoizedProps,zc=a&&Zr(s.default,s.update)!=="none",kt(t,e,n),It(e),a&&i!==null&&fe&&(e.flags|=4),zc=o,fe=r;break;case 21:break;case 7:r&512&&(ve||i===null||ut(i,i.return)),i&&i.stateNode!==null&&(i.stateNode._fragmentFiber=e);default:kt(t,e,n),It(e)}}function It(e){var t=e.flags;if(t&2){try{for(var n,i=e.return;i!==null;){if(JR(i)){n=i;break}i=i.return}i=null;for(var r=e.return;r!==null;){if(yS(r)){var o=r.stateNode;i===null?i=[o]:i.push(o)}if(vS(r))break;r=r.return}var a=i;if(n==null)throw Error(R(160));switch(n.tag){case 27:var s=n.stateNode,l=p0(e);Op(e,l,s,a);break;case 5:var c=n.stateNode;n.flags&32&&(ns(c,""),n.flags&=-33);var d=p0(e);Op(e,d,c,a);break;case 3:case 4:var p=n.stateNode.containerInfo,m=p0(e);ly(e,m,p,a);break;default:throw Error(R(161))}}catch(f){_e(e,e.return,f)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function a4(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;a4(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,ds=!0,t.reset(),ds=!1),e=e.sibling}}function Ea(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)s4(t,e),t=t.sibling;else XR(t,!1)}function s4(e,t){var n=e.alternate;if(n===null)cy(e,!1);else switch(e.tag){case 3:if(fy=tr=!1,_$(),Ea(t,e),!tr&&!Ip){if(e=ir,e!==null)for(var i=0;i<e.length;i+=3){n=e[i];var r=e[i+1];j4(n,e[i+2]),n=n.ownerDocument.documentElement,n!==null&&n.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+r+")"})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),fy=!0}ir=null;break;case 5:Ea(t,e);break;case 4:i=tr,tr=!1,Ea(t,e),tr&&(Ip=!0),tr=i;break;case 22:e.memoizedState===null&&(n.memoizedState!==null?cy(e,!1):Ea(t,e));break;case 30:i=tr,r=_$(),tr=!1,Ea(t,e),tr&&(e.flags|=4);var o=e.memoizedProps,a=e.stateNode;t=Ur(o,a),a=Ur(n.memoizedProps,a);var s=Zr(o.default,o.update);s==="none"?t=!1:(o=n.memoizedState,n.memoizedState=null,n=e.child,Vt=0,t=SS(e,n,t,a,s,o,!0),Vt!==(o===null?0:o.length)&&(e.flags|=32)),(e.flags&4)!==0&&t?(os(e,e.memoizedProps.onUpdate),ir=r):r!==null&&(r.push.apply(r,ir),ir=r),tr=(e.flags&32)!==0?!0:i;break;default:Ea(t,e)}}function nr(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)WR(e,t.alternate,t),t=t.sibling}function ui(e,t){for(e=e.child;e!==null;){var n=e,i=t;switch(n.tag){case 0:case 11:case 14:case 15:Ci(4,n,n.return),ui(n,i);break;case 1:ut(n,n.return);var r=n.stateNode;typeof r.componentWillUnmount=="function"&&GR(n,n.return,r),ui(n,i);break;case 27:(i&2)!==0&&Z4(n.stateNode,n.type,n.memoizedProps);case 5:ut(n,n.return),n.tag!==5&&n.tag!==27||Nc(n),ui(n,i);break;case 6:Nc(n);break;case 26:ut(n,n.return),r=n.stateNode,n.memoizedState!==null||r===null||ve||r.parentNode.removeChild(r),ui(n,i);break;case 22:n.memoizedState===null&&ui(n,i);break;case 30:ut(n,n.return),ui(n,i);break;case 7:ut(n,n.return);default:ui(n,i)}e=e.sibling}}function Ln(e,t,n){for(n=(t.subtreeFlags&8772)!==0?n:n&-2,t=t.child;t!==null;){var i=t.alternate,r=e,o=t,a=o.flags,s=(n&1)!==0;switch(o.tag){case 0:case 11:case 15:Ln(r,o,n),au(4,o);break;case 1:if(Ln(r,o,n),i=o,r=i.stateNode,typeof r.componentDidMount=="function")try{r.componentDidMount()}catch(d){_e(i,i.return,d)}if(i=o,r=i.updateQueue,r!==null){var l=i.stateNode;try{var c=r.shared.hiddenCallbacks;if(c!==null)for(r.shared.hiddenCallbacks=null,r=0;r<c.length;r++)eR(c[r],l)}catch(d){_e(i,i.return,d)}}s&&a&64&&BR(o),rr(o,o.return);break;case 27:(n&2)!==0&&YR(o);case 5:o.tag!==5&&o.tag!==27||S$(o),Ln(r,o,n),s&&i===null&&a&4&&sy(o),rr(o,o.return);break;case 6:S$(o);break;case 26:l=o.stateNode,o.memoizedState!==null||l===null||rt||Ny(Yc(l.ownerDocument),o.type,l),Ln(r,o,n),s&&i===null&&a&4&&sy(o),rr(o,o.return);break;case 12:Ln(r,o,n);break;case 31:Ln(r,o,n),s&&a&4&&r4(r,o);break;case 13:Ln(r,o,n),s&&a&4&&i4(r,o);break;case 22:o.memoizedState===null&&Ln(r,o,n),rr(o,o.return);break;case 30:Ln(r,o,n),rr(o,o.return);break;case 7:rr(o,o.return);default:Ln(r,o,n)}t=t.sibling}}function bS(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&iu(n))}function _S(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&iu(e))}function $n(e,t,n,i){var r=(n&335544064)===n;if(t.subtreeFlags&(r?10262:10256))for(t=t.child;t!==null;)l4(e,t,n,i),t=t.sibling;else r&&QR(t)}function l4(e,t,n,i){var r=(n&335544064)===n;r&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&rp(t);var o=t.flags;switch(t.tag){case 0:case 11:case 15:$n(e,t,n,i),o&2048&&au(9,t);break;case 1:$n(e,t,n,i);break;case 3:$n(e,t,n,i),r&&fy&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),o&2048&&(o=null,t.alternate!==null&&(o=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==o&&(t.refCount++,o!=null&&iu(o)));break;case 12:if(o&2048){$n(e,t,n,i),o=t.stateNode;try{var a=t.memoizedProps,s=a.id,l=a.onPostCommit;typeof l=="function"&&l(s,t.alternate===null?"mount":"update",o.passiveEffectDuration,-0)}catch(c){_e(t,t.return,c)}}else $n(e,t,n,i);break;case 31:$n(e,t,n,i);break;case 13:$n(e,t,n,i);break;case 23:break;case 22:a=t.stateNode,s=t.alternate,t.memoizedState!==null?(r&&s!==null&&s.memoizedState===null&&rp(s),a._visibility&2?$n(e,t,n,i):Cc(e,t)):(r&&s!==null&&s.memoizedState!==null&&rp(t),a._visibility&2?$n(e,t,n,i):(a._visibility|=2,ka(e,t,n,i,(t.subtreeFlags&10256)!==0||!1))),o&2048&&bS(s,t);break;case 24:$n(e,t,n,i),o&2048&&_S(t.alternate,t);break;case 30:r&&(o=t.alternate,o!==null&&(dr(o.child,!0),dr(t.child,!0))),$n(e,t,n,i);break;default:$n(e,t,n,i)}}function ka(e,t,n,i,r){for(r=r&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var o=e,a=t,s=n,l=i,c=a.flags;switch(a.tag){case 0:case 11:case 15:ka(o,a,s,l,r),au(8,a);break;case 23:break;case 22:var d=a.stateNode;a.memoizedState!==null?d._visibility&2?ka(o,a,s,l,r):Cc(o,a):(d._visibility|=2,ka(o,a,s,l,r)),r&&c&2048&&bS(a.alternate,a);break;case 24:ka(o,a,s,l,r),r&&c&2048&&_S(a.alternate,a);break;default:ka(o,a,s,l,r)}t=t.sibling}}function Cc(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,i=t,r=i.flags;switch(i.tag){case 22:Cc(n,i),r&2048&&bS(i.alternate,i);break;case 24:Cc(n,i),r&2048&&_S(i.alternate,i);break;default:Cc(n,i)}t=t.sibling}}var go=8192;function fo(e,t,n){if(e.subtreeFlags&go)for(e=e.child;e!==null;)c4(e,t,n),e=e.sibling}function c4(e,t,n){switch(e.tag){case 26:fo(e,t,n),e.flags&go&&(e.memoizedState!==null?pA(n,qn,e.memoizedState,e.memoizedProps):(e=e.stateNode,(t&335544128)===t&&Y$(n,e)));break;case 5:fo(e,t,n),e.flags&go&&(e=e.stateNode,(t&335544128)===t&&Y$(n,e));break;case 3:case 4:var i=qn;qn=Yc(e.stateNode.containerInfo),fo(e,t,n),qn=i;break;case 22:e.memoizedState===null&&(i=e.alternate,i!==null&&i.memoizedState!==null?(i=go,go=16777216,fo(e,t,n),go=i):fo(e,t,n));break;case 30:if((e.flags&go)!==0&&(i=e.memoizedProps.name,i!=null&&i!=="auto")){var r=e.stateNode;r.paired=null,on===null&&(on=new Map),on.set(i,r)}fo(e,t,n);break;default:fo(e,t,n)}}function u4(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function hc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var i=t[n];it=i,m4(i,e)}u4(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)d4(e),e=e.sibling}function d4(e){switch(e.tag){case 0:case 11:case 15:hc(e),e.flags&2048&&Ci(9,e,e.return);break;case 3:hc(e);break;case 12:hc(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,ip(e)):hc(e);break;default:hc(e)}}function ip(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var n=0;n<t.length;n++){var i=t[n];it=i,m4(i,e)}u4(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Ci(8,t,t.return),ip(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,ip(t));break;default:ip(t)}e=e.sibling}}function m4(e,t){for(;it!==null;){var n=it;switch(n.tag){case 0:case 11:case 15:Ci(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var i=n.memoizedState.cachePool.pool;i!=null&&i.refCount++}break;case 24:iu(n.memoizedState.cache)}if(i=n.child,i!==null)i.return=n,it=i;else e:for(n=e;it!==null;){i=it;var r=i.sibling,o=i.return;if(t4(i),i===n){it=null;break e}if(r!==null){r.return=o,it=r;break e}it=o}}}var dj={getCacheForType:function(e){var t=mt(Ye),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return mt(Ye).controller.signal}},mj=typeof WeakMap=="function"?WeakMap:Map,pe=0,$e=null,le=null,de=0,Se=0,tn=null,vi=!1,vs=!1,zS=!1,qr=0,Ze=0,ji=0,xo=0,Np=0,an=0,is=0,jc=null,Zt=null,gy=!1,eh=0,f4=0,Cp=1/0,jp=null,$i=null,Ue=0,Zn=null,Io=null,ur=0,vy=0,yy=null,p4=null,Qa=null,Xa=null,Wa=null,Ac=0,op=null;function un(){return(pe&2)!==0&&de!==0?de&-de:Q.T!==null?wS():y2()}function h4(){if(an===0)if((de&536870912)===0||re){var e=Rf;Rf<<=1,(Rf&3932160)===0&&(Rf=262144),an=e}else an=536870912;return e=gt.current,e!==null&&(e.flags|=32),an}function os(e,t){if(t!=null){var n=e.stateNode,i=n.ref;i===null&&(i=n.ref=P4(Ur(e.memoizedProps,n))),Xa===null&&(Xa=[]),Xa.push(t.bind(null,i))}}function Gt(e,t,n){(e===$e&&(Se===2||Se===9)||e.cancelPendingCommit!==null)&&(as(e,0),yi(e,de,an,!1)),tu(e,n),((pe&2)===0||e!==$e)&&(e===$e&&((pe&2)===0&&(xo|=n),Ze===4&&yi(e,de,an,!1)),fr(e))}function g4(e,t,n){if((pe&6)!==0)throw Error(R(327));var i=!n&&(t&127)===0&&(t&e.expiredLanes)===0||eu(e,t),r=i?hj(e,t):g0(e,t,!0),o=i;do{if(r===0){vs&&!i&&yi(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!fj(n)){r=g0(e,t,!1),o=!1;continue}if(r===2){if(o=t,e.errorRecoveryDisabledLanes&o)var a=0;else a=e.pendingLanes&-536870913,a=a!==0?a:a&536870912?536870912:0;if(a!==0){t=a;e:{var s=e;r=jc;var l=s.current.memoizedState.isDehydrated;if(l&&(as(s,a).flags|=256),a=g0(s,a,!1),a!==2&&a!==6){if(zS&&!l){s.errorRecoveryDisabledLanes|=o,xo|=o,r=4;break e}o=Zt,Zt=r,o!==null&&(Zt===null?Zt=o:Zt.push.apply(Zt,o))}r=a}if(o=!1,r!==2)continue}}if(r===1){as(e,0),yi(e,t,0,!0);break}e:{switch(i=e,o=r,o){case 0:case 1:throw Error(R(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:yi(i,t,an,!vi);break e;case 2:Zt=null;break;case 3:case 5:break;default:throw Error(R(329))}if((t&62914560)===t&&(r=eh+300-sn(),10<r)){if(yi(i,t,an,!vi),Lp(i,0,!0)!==0)break e;ur=t,i.timeoutHandle=$S(x$.bind(null,i,n,Zt,jp,gy,t,an,xo,is,vi,o,"Throttled",-0,0),r);break e}x$(i,n,Zt,jp,gy,t,an,xo,is,vi,o,null,-0,0)}}break}while(!0);fr(e)}function x$(e,t,n,i,r,o,a,s,l,c,d,p,m,f){e.timeoutHandle=-1;var _=t.subtreeFlags,$=(o&335544064)===o;if(p=null,($||_&8192||(_&16785408)===16785408)&&(p={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:ar},on=null,c4(t,o,p),$&&(_=p,$=e.containerInfo,$=($.nodeType===9?$:$.ownerDocument).__reactViewTransition,$!=null&&(_.count++,_.waitingForViewTransition=!0,_=Kc.bind(_),$.finished.then(_,_))),_=(o&62914560)===o?eh-sn():(o&4194048)===o?f4-sn():0,_=hA(p,_),_!==null)){ur=o,e.cancelPendingCommit=_(T$.bind(null,e,t,o,n,i,r,a,s,l,c,d,p,null,m,f)),yi(e,o,a,!c);return}T$(e,t,o,n,i,r,a,s,l,c,d,p)}function fj(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var i=0;i<n.length;i++){var r=n[i],o=r.getSnapshot;r=r.value;try{if(!dn(o(),r))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function yi(e,t,n,i){t=f2(e,t),t&=~Np,t&=~xo,e.suspendedLanes|=t,e.pingedLanes&=~t,i&&(e.warmLanes|=t),i=e.expirationTimes;for(var r=t;0<r;){var o=31-cn(r),a=1<<o;i[o]=-1,r&=~a}n!==0&&h2(e,n,t)}function th(){return(pe&6)===0?(su(0,!1),!1):!0}function xS(){if(le!==null){if(Se===0)var e=le.return;else e=le,Cr=Po=null,aS(e),Ya=null,Hc=0,e=le;for(;e!==null;)VR(e.alternate,e),e=e.return;le=null}}function as(e,t){var n=e.timeoutHandle;return n!==-1&&(e.timeoutHandle=-1,Aj(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),ur=0,xS(),$e=e,le=n=jr(e.current,null),de=t,Se=0,tn=null,vi=!1,vs=eu(e,t),zS=!1,is=an=Np=xo=ji=Ze=0,Zt=jc=null,gy=!1,qr=f2(e,t),Bp(),n}function v4(e,t){te=null,Q.H=$p,t===hs||t===Yp?(t=FT(),Se=3):t===Xy?(t=FT(),Se=4):Se=t===pS?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,tn=t,le===null&&(Ze=1,Rp(e,In(t,e.current)))}function y4(){var e=gt.current;return e===null?!0:(de&4194048)===de?Tt===null:(de&62914560)===de||(de&536870912)!==0?e===Tt:!1}function S4(){var e=Q.H;return Q.H=$p,e===null?$p:e}function b4(){var e=Q.A;return Q.A=dj,e}function Ap(){Ze=4,vi||(de&4194048)!==de&&gt.current!==null||(vs=!0),(ji&134217727)===0&&(xo&134217727)===0||$e===null||yi($e,de,an,!1)}function g0(e,t,n){var i=pe;pe|=2;var r=S4(),o=b4();($e!==e||de!==t)&&(jp=null,as(e,t)),t=!1;var a=Ze;e:do try{if(Se!==0&&le!==null){var s=le,l=tn;switch(Se){case 8:xS(),a=6;break e;case 3:case 2:case 9:case 6:gt.current===null&&(t=!0);var c=Se;if(Se=0,tn=null,Za(e,s,l,c),n&&vs){a=0;break e}break;default:c=Se,Se=0,tn=null,Za(e,s,l,c)}}pj(),a=Ze;break}catch(d){v4(e,d)}while(!0);return t&&e.shellSuspendCounter++,Cr=Po=null,pe=i,Q.H=r,Q.A=o,le===null&&($e=null,de=0,Bp()),a}function pj(){for(;le!==null;)_4(le)}function hj(e,t){var n=pe;pe|=2;var i=S4(),r=b4();$e!==e||de!==t?(jp=null,Cp=sn()+500,as(e,t)):vs=eu(e,t);e:do try{if(Se!==0&&le!==null){t=le;var o=tn;t:switch(Se){case 1:Se=0,tn=null,Za(e,t,o,1);break;case 2:case 9:if(KT(o)){Se=0,tn=null,w$(t);break}t=function(){Se!==2&&Se!==9||$e!==e||(Se=7),fr(e)},o.then(t,t);break e;case 3:Se=7;break e;case 4:Se=5;break e;case 7:KT(o)?(Se=0,tn=null,w$(t)):(Se=0,tn=null,Za(e,t,o,7));break;case 5:var a=null;switch(le.tag){case 26:a=le.memoizedState;case 5:case 27:var s=le;if(a?G4(a):s.stateNode.complete){Se=0,tn=null;var l=s.sibling;if(l!==null)le=l;else{var c=s.return;c!==null?(le=c,nh(c)):le=null}break t}}Se=0,tn=null,Za(e,t,o,5);break;case 6:Se=0,tn=null,Za(e,t,o,6);break;case 8:xS(),Ze=6;break e;default:throw Error(R(462))}}gj();break}catch(d){v4(e,d)}while(!0);return Cr=Po=null,Q.H=i,Q.A=r,pe=n,le!==null?0:($e=null,de=0,Bp(),Ze)}function gj(){for(;le!==null&&!CN();)_4(le)}function _4(e){var t=ZR(e.alternate,e,qr);e.memoizedProps=e.pendingProps,t===null?nh(e):le=t}function w$(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=m$(n,t,t.pendingProps,t.type,void 0,de);break;case 11:t=m$(n,t,t.pendingProps,t.type.render,t.ref,de);break;case 5:aS(t);var i=t;i===at&&(re?(Sp(i),i.tag===5&&i.stateNode!=null&&(Ie=i.stateNode)):(Sp(i),re=!0));default:VR(n,t),t=le=B2(t,qr),t=ZR(n,t,qr)}e.memoizedProps=e.pendingProps,t===null?nh(e):le=t}function Za(e,t,n,i){Cr=Po=null,aS(t),Ya=null,Hc=0;var r=t.return;try{if(rj(e,r,t,n,de)){Ze=1,Rp(e,In(n,e.current)),le=null;return}}catch(o){if(r!==null)throw le=r,o;Ze=1,Rp(e,In(n,e.current)),le=null;return}t.flags&32768?(re||i===1?e=!0:vs||(de&536870912)!==0?e=!1:(vi=e=!0,(i===2||i===9||i===3||i===6)&&(i=gt.current,i!==null&&i.tag===13&&(i.flags|=16384))),z4(t,e)):nh(t)}function nh(e){var t=e;do{if((t.flags&32768)!==0){z4(t,vi);return}e=t.return;var n=sj(t.alternate,t,qr);if(n!==null){le=n;return}if(t=t.sibling,t!==null){le=t;return}le=t=e}while(t!==null);Ze===0&&(Ze=5)}function z4(e,t){do{var n=lj(e.alternate,e);if(n!==null){n.flags&=32767,le=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){le=e;return}le=e=n}while(e!==null);Ze=6,le=null}function T$(e,t,n,i,r,o,a,s,l,c,d,p){e.cancelPendingCommit=null;do rh();while(Ue!==0);if((pe&6)!==0)throw Error(R(327));if(t!==null){if(t===e.current)throw Error(R(177));e===$e&&(le=$e=null,de=0),Io=t,Zn=e,ur=n,yy=r,p4=i,vj(e,t,n,a,s,l,p)}}function vj(e,t,n,i,r,o,a){var s=t.lanes|t.childLanes;if(vy=s,s|=Gy,ZN(e,n,s,i,r,o),Xa=null,(n&335544064)===n?(Wa=BC(e),i=10262):(Wa=null,i=10256),(t.subtreeFlags&i)!==0||(t.flags&i)!==0?(e.callbackNode=null,e.callbackPriority=0,xj(pp,function(){return zy(),null})):(e.callbackNode=null,e.callbackPriority=0),kp=!1,i=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||i){i=Q.T,Q.T=null,r=he.p,he.p=2,o=pe,pe|=4;try{cj(e,t,n)}finally{pe=o,he.p=r,Q.T=i}}Ue=1,kp?Qa=qj(a,e.containerInfo,Wa,Sy,by,Sj,_y,zy,yj,null,null):(Sy(),by(),_y())}function yj(e){if(Ue!==0){var t=Zn.onRecoverableError;t(e,{componentStack:null})}}function Sj(){Ue===3&&(Ue=0,s4(Io,Zn),Ue=4)}function Sy(){if(Ue===1){Ue=0;var e=Zn,t=Io,n=ur,i=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||i){i=Q.T,Q.T=null;var r=he.p;he.p=2;var o=pe;pe|=4;try{zc=Ip=!1,o4(t,e,n),n=$y;var a=U2(e.containerInfo),s=n.focusedElem,l=n.selectionRange;if(a!==s&&s&&s.ownerDocument&&P2(s.ownerDocument.documentElement,s)){if(l!==null&&By(s)){var c=l.start,d=l.end;if(d===void 0&&(d=c),"selectionStart"in s)s.selectionStart=c,s.selectionEnd=Math.min(d,s.value.length);else{var p=s.ownerDocument||document,m=p&&p.defaultView||window;if(m.getSelection){var f=m.getSelection(),_=s.textContent.length,$=Math.min(l.start,_),j=l.end===void 0?$:Math.min(l.end,_);!f.extend&&$>j&&(a=j,j=$,$=a);var y=qT(s,$),g=qT(s,j);if(y&&g&&(f.rangeCount!==1||f.anchorNode!==y.node||f.anchorOffset!==y.offset||f.focusNode!==g.node||f.focusOffset!==g.offset)){var S=p.createRange();S.setStart(y.node,y.offset),f.removeAllRanges(),$>j?(f.addRange(S),f.extend(g.node,g.offset)):(S.setEnd(g.node,g.offset),f.addRange(S))}}}}for(p=[],f=s;f=f.parentNode;)f.nodeType===1&&p.push({element:f,left:f.scrollLeft,top:f.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<p.length;s++){var x=p[s];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}ds=!!Ty,$y=Ty=null}finally{pe=o,he.p=r,Q.T=i}}e.current=t,Ue=2}}function by(){if(Ue===2){Ue=0;var e=Zn,t=Io,n=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||n){n=Q.T,Q.T=null;var i=he.p;he.p=2;var r=pe;pe|=4;try{WR(e,t.alternate,t)}finally{pe=r,he.p=i,Q.T=n}}Ue=3}}function _y(){if(Ue===4||Ue===3){Ue=0;var e=Qa;Qa=null,jN();var t=Zn,n=Io,i=ur,r=p4,o=(i&335544064)===i?10262:10256;if((n.subtreeFlags&o)!==0||(n.flags&o)!==0?Ue=5:(Ue=0,Io=Zn=null,x4(t,t.pendingLanes)),o=t.pendingLanes,o===0&&($i=null),Dy(i),n=n.stateNode,ln&&typeof ln.onCommitFiberRoot=="function")try{ln.onCommitFiberRoot(Wc,n,void 0,(n.current.flags&128)===128)}catch{}if(r!==null){n=Q.T,o=he.p,he.p=2,Q.T=null;try{for(var a=t.onRecoverableError,s=0;s<r.length;s++){var l=r[s];a(l.value,{componentStack:l.stack})}}finally{Q.T=n,he.p=o}}if(r=Xa,a=Wa,Wa=null,r!==null&&(Xa=null,a===null&&(a=[]),e!==null))for(l=0;l<r.length;l++)n=(0,r[l])(a),n!==void 0&&e.finished.finally(n);(ur&3)!==0&&rh(),fr(t),o=t.pendingLanes,(i&261930)!==0&&(o&42)!==0?t===op?Ac++:(Ac=0,op=t):(Ac=0,op=null),su(0,!1)}}function x4(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,iu(t)))}function rh(){return Qa!==null&&(Qa.skipTransition(),Qa=null),Sy(),by(),_y(),zy()}function zy(){if(Ue!==5)return!1;var e=Zn,t=vy;vy=0;var n=Dy(ur),i=Q.T,r=he.p;try{he.p=32>n?32:n,Q.T=null,n=yy,yy=null;var o=Zn,a=ur;if(Ue=0,Io=Zn=null,ur=0,(pe&6)!==0)throw Error(R(331));var s=pe;if(pe|=4,d4(o.current),l4(o,o.current,a,n),pe=s,su(0,!1),ln&&typeof ln.onPostCommitFiberRoot=="function")try{ln.onPostCommitFiberRoot(Wc,o)}catch{}return!0}finally{he.p=r,Q.T=i,x4(e,t)}}function $$(e,t,n){t=In(n,t),t=ty(e.stateNode,t,2),e=xi(e,t,2),e!==null&&(tu(e,2),fr(e))}function _e(e,t,n){if(e.tag===3)$$(e,e,n);else for(;t!==null;){if(t.tag===3){$$(t,e,n);break}else if(t.tag===1){var i=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof i.componentDidCatch=="function"&&($i===null||!$i.has(i))){e=In(n,e),n=MR(2),i=xi(t,n,2),i!==null&&(DR(n,i,t,e),tu(i,2),fr(i));break}}t=t.return}}function v0(e,t,n){var i=e.pingCache;if(i===null){i=e.pingCache=new mj;var r=new Set;i.set(t,r)}else r=i.get(t),r===void 0&&(r=new Set,i.set(t,r));r.has(n)||(zS=!0,r.add(n),e=bj.bind(null,e,t,n),t.then(e,e))}function bj(e,t,n){var i=e.pingCache;i!==null&&i.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,$e===e&&(de&n)===n&&((Ze===4||Ze===3&&(de&62914560)===de&&300>sn()-eh)&&(pe&2)===0?as(e,0):Np|=n,is===de&&(is=0)),fr(e)}function w4(e,t){t===0&&(t=p2()),e=Ao(e,t),e!==null&&(tu(e,t),fr(e))}function _j(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),w4(e,n)}function zj(e,t){var n=0;switch(e.tag){case 31:case 13:var i=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:i=e.stateNode;break;case 22:i=e.stateNode._retryCache;break;default:throw Error(R(314))}i!==null&&i.delete(t),w4(e,n)}function xj(e,t){return Uy(e,t)}var ss=null,Ia=null,xy=!1,Pp=!1,y0=!1,Si=0;function fr(e){e!==Ia&&e.next===null&&(Ia===null?ss=Ia=e:Ia=Ia.next=e),Pp=!0,xy||(xy=!0,Tj())}function su(e,t){if(!y0&&Pp){y0=!0;do for(var n=!1,i=ss;i!==null;){if(!t)if(e!==0){var r=i.pendingLanes;if(r===0)var o=0;else{var a=i.suspendedLanes,s=i.pingedLanes;o=(1<<31-cn(42|e)+1)-1,o&=r&~(a&~s),o=o&201326741?o&201326741|1:o?o|2:0}o!==0&&(n=!0,R$(i,o))}else o=de,o=Lp(i,i===$e?o:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),(o&3)===0||eu(i,o)||(n=!0,R$(i,o));i=i.next}while(n);y0=!1}}function wj(){T4()}function T4(){Pp=xy=!1;var e=0;Si!==0&&jj()&&(e=Si);for(var t=sn(),n=null,i=ss;i!==null;){var r=i.next,o=$4(i,t);o===0?(i.next=null,n===null?ss=r:n.next=r,r===null&&(Ia=n)):(n=i,(e!==0||(o&3)!==0)&&(Pp=!0)),i=r}Ue!==0&&Ue!==5||su(e,!1),Si!==0&&(Si=0)}function $4(e,t){for(var n=e.suspendedLanes,i=e.pingedLanes,r=e.expirationTimes,o=e.pendingLanes&-62914561;0<o;){var a=31-cn(o),s=1<<a,l=r[a];l===-1?((s&n)===0||(s&i)!==0)&&(r[a]=HN(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}if(t=$e,n=de,n=Lp(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i=e.callbackNode,n===0||e===t&&(Se===2||Se===9)||e.cancelPendingCommit!==null)return i!==null&&i!==null&&Fv(i),e.callbackNode=null,e.callbackPriority=0;if((n&3)===0||eu(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(i!==null&&Fv(i),Dy(n)){case 2:case 8:n=d2;break;case 32:n=pp;break;case 268435456:n=m2;break;default:n=pp}return i=R4.bind(null,e),n=Uy(n,i),e.callbackPriority=t,e.callbackNode=n,t}return i!==null&&i!==null&&Fv(i),e.callbackPriority=2,e.callbackNode=null,2}function R4(e,t){if(Ue!==0&&Ue!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(rh()&&e.callbackNode!==n)return null;var i=de;return i=Lp(e,e===$e?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),i===0?null:(g4(e,i,t),$4(e,sn()),e.callbackNode!=null&&e.callbackNode===n?R4.bind(null,e):null)}function R$(e,t){if(rh())return null;g4(e,t,!0)}function Tj(){Pj(function(){(pe&6)!==0?Uy(u2,wj):T4()})}function wS(){if(Si===0){var e=Ro;e===0&&(e=$f,$f<<=1,($f&261888)===0&&($f=256)),Si=e}return Si}function E$(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Jf(e)}function $j(e,t,n,i,r){if(t==="submit"&&n&&n.stateNode===r){var o=E$((r[Yt]||null).action),a=i.submitter;a&&(t=(t=a[Yt]||null)?E$(t.formAction):a.getAttribute("formAction"),t!==null&&(o=t,a=null));var s=new Hp("action","action",null,i,r);e.push({event:s,listeners:[{instance:null,listener:function(){if(i.defaultPrevented){if(Si!==0){var l=new FormData(r,a);W0(n,{pending:!0,data:l,method:r.method,action:o},null,l)}}else typeof o=="function"&&(s.preventDefault(),l=new FormData(r,a),W0(n,{pending:!0,data:l,method:r.method,action:o},o,l))},currentTarget:r}]})}}for(qf=0;qf<H0.length;qf++)Hf=H0[qf],O$=Hf.toLowerCase(),k$=Hf[0].toUpperCase()+Hf.slice(1),Vn(O$,"on"+k$);var Hf,O$,k$,qf;Vn(D2,"onAnimationEnd");Vn(L2,"onAnimationIteration");Vn(q2,"onAnimationStart");Vn("dblclick","onDoubleClick");Vn("focusin","onFocus");Vn("focusout","onBlur");Vn(UC,"onTransitionRun");Vn(MC,"onTransitionStart");Vn(DC,"onTransitionCancel");Vn(H2,"onTransitionEnd");ts("onMouseEnter",["mouseout","mouseover"]);ts("onMouseLeave",["mouseout","mouseover"]);ts("onPointerEnter",["pointerout","pointerover"]);ts("onPointerLeave",["pointerout","pointerover"]);Co("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Co("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Co("onBeforeInput",["compositionend","keypress","textInput","paste"]);Co("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Co("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Co("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Bc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Rj=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Bc));function E4(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var i=e[n],r=i.event;i=i.listeners;e:{var o=void 0;if(t)for(var a=i.length-1;0<=a;a--){var s=i[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&r.isPropagationStopped())break e;o=s,r.currentTarget=c;try{o(r)}catch(d){gp(d)}r.currentTarget=null,o=l}else for(a=0;a<i.length;a++){if(s=i[a],l=s.instance,c=s.currentTarget,s=s.listener,l!==o&&r.isPropagationStopped())break e;o=s,r.currentTarget=c;try{o(r)}catch(d){gp(d)}r.currentTarget=null,o=l}}}}function se(e,t){var n=t[wT];n===void 0&&(n=t[wT]=new Set);var i=e+"__bubble";n.has(i)||(O4(t,e,2,!1),n.add(i))}function S0(e,t,n){var i=0;t&&(i|=4),O4(n,e,i,t)}var Zf="_reactListening"+Math.random().toString(36).slice(2);function TS(e){if(!e[Zf]){e[Zf]=!0,b2.forEach(function(n){n!=="selectionchange"&&(Rj.has(n)||S0(n,!1,e),S0(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Zf]||(t[Zf]=!0,S0("selectionchange",!1,t))}}function O4(e,t,n,i){switch(W4(t)){case 2:var r=SA;break;case 8:r=bA;break;default:r=NS}n=r.bind(null,t,n,e),r=void 0,!M0||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(r=!0),i?r!==void 0?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):r!==void 0?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function b0(e,t,n,i,r){var o=i;if((t&1)===0&&(t&2)===0&&i!==null)e:for(;;){if(i===null)return;var a=i.tag;if(a===3||a===4){var s=i.stateNode.containerInfo;if(s===r)break;if(a===4)for(a=i.return;a!==null;){var l=a.tag;if((l===3||l===4)&&a.stateNode.containerInfo===r)return;a=a.return}for(;s!==null;){if(a=vo(s),a===null)return;if(l=a.tag,l===5||l===6||l===26||l===27){i=o=a;continue e}s=s.parentNode}}i=i.return}E2(function(){var c=o,d=qy(n),p=[];e:{var m=Z2.get(e);if(m!==void 0){var f=Hp,_=e;switch(e){case"keypress":if(Kf(n)===0)break e;case"keydown":case"keyup":f=fC;break;case"focusin":_="focus",f=n0;break;case"focusout":_="blur",f=n0;break;case"beforeblur":case"afterblur":f=n0;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":f=NT;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=tC;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=yC;break;case D2:case L2:case q2:f=iC;break;case H2:f=bC;break;case"scroll":case"scrollend":f=WN;break;case"wheel":f=zC;break;case"copy":case"cut":case"paste":f=aC;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=jT;break;case"submit":f=gC;break;case"toggle":case"beforetoggle":f=wC}var $=(t&4)!==0,j=!$&&(e==="scroll"||e==="scrollend"),y=$?m!==null?m+"Capture":null:m;$=[];for(var g=c,S;g!==null;){var x=g;if(S=x.stateNode,x=x.tag,x!==5&&x!==26&&x!==27||S===null||y===null||(x=Uc(g,y),x!=null&&$.push(Gc(g,x,S))),j)break;g=g.return}0<$.length&&(m=new f(m,_,null,n,d),p.push({event:m,listeners:$}))}}if((t&7)===0){e:{if(f=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",f&&n!==U0&&(_=n.relatedTarget||n.fromElement)&&(vo(_)||_[fs]))break e;(m||f)&&(_=d.window===d?d:(f=d.ownerDocument)?f.defaultView||f.parentWindow:window,m?(f=n.relatedTarget||n.toElement,m=c,f=f?vo(f):null,f!==null&&(j=Xc(f),$=f.tag,f!==j||$!==5&&$!==27&&$!==6)&&(f=null)):(m=null,f=c),m!==f&&($=NT,x="onMouseLeave",y="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&($=jT,x="onPointerLeave",y="onPointerEnter",g="pointer"),j=m==null?_:bc(m),S=f==null?_:bc(f),_=new $(x,g+"leave",m,n,d),_.target=j,_.relatedTarget=S,x=null,vo(d)===c&&($=new $(y,g+"enter",f,n,d),$.target=S,$.relatedTarget=j,x=$),j=x,$=m&&f?T0(m,f,Ej):null,m!==null&&I$(p,_,m,$,!1),f!==null&&j!==null&&I$(p,j,f,$,!0)))}e:{if(m=c?bc(c):window,f=m.nodeName&&m.nodeName.toLowerCase(),f==="select"||f==="input"&&m.type==="file")var N=MT;else if(UT(m))if(j2)N=jC;else{N=NC;var H=IC}else f=m.nodeName,!f||f.toLowerCase()!=="input"||m.type!=="checkbox"&&m.type!=="radio"?c&&Ly(c.elementType)&&(N=MT):N=CC;if(N&&(N=N(e,c))){C2(p,N,n,d);break e}H&&H(e,m,c)}switch(H=c?bc(c):window,e){case"focusin":(UT(H)||H.contentEditable==="true")&&(Ua=H,L0=c,Tc=null);break;case"focusout":Tc=L0=Ua=null;break;case"mousedown":q0=!0;break;case"contextmenu":case"mouseup":case"dragend":q0=!1,HT(p,n,d);break;case"selectionchange":if(PC)break;case"keydown":case"keyup":HT(p,n,d)}var M;if(Vy)e:{switch(e){case"compositionstart":var B="onCompositionStart";break e;case"compositionend":B="onCompositionEnd";break e;case"compositionupdate":B="onCompositionUpdate";break e}B=void 0}else Pa?I2(e,n)&&(B="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(B="onCompositionStart");B&&(k2&&n.locale!=="ko"&&(Pa||B!=="onCompositionStart"?B==="onCompositionEnd"&&Pa&&(M=O2()):(hi=d,Hy="value"in hi?hi.value:hi.textContent,Pa=!0)),H=Up(c,B),0<H.length&&(B=new CT(B,e,null,n,d),p.push({event:B,listeners:H}),M?B.data=M:(M=N2(n),M!==null&&(B.data=M)))),(M=$C?RC(e,n):EC(e,n))&&(B=Up(c,"onBeforeInput"),0<B.length&&(H=new CT("onBeforeInput","beforeinput",null,n,d),p.push({event:H,listeners:B}),H.data=M)),$j(p,e,c,n,d)}E4(p,t)})}function Gc(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Up(e,t){for(var n=t+"Capture",i=[];e!==null;){var r=e,o=r.stateNode;if(r=r.tag,r!==5&&r!==26&&r!==27||o===null||(r=Uc(e,n),r!=null&&i.unshift(Gc(e,r,o)),r=Uc(e,t),r!=null&&i.push(Gc(e,r,o))),e.tag===3)return i;e=e.return}return[]}function Ej(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function I$(e,t,n,i,r){for(var o=t._reactName,a=[];n!==null&&n!==i;){var s=n,l=s.alternate,c=s.stateNode;if(s=s.tag,l!==null&&l===i)break;s!==5&&s!==26&&s!==27||c===null||(l=c,r?(c=Uc(n,o),c!=null&&a.unshift(Gc(n,c,l))):r||(c=Uc(n,o),c!=null&&a.push(Gc(n,c,l)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var Oj=/\\r\\n?/g,kj=/\\u0000|\\uFFFD/g;function N$(e){return(typeof e=="string"?e:""+e).replace(Oj,`\n`).replace(kj,"")}function k4(e,t){return t=N$(t),N$(e)===t}function be(e,t,n,i,r,o){switch(n){case"children":if(typeof i=="string")t==="body"||t==="textarea"&&i===""||ns(e,i);else if(typeof i=="number"||typeof i=="bigint")t!=="body"&&ns(e,""+i);else return;break;case"className":Of(e,"class",i);break;case"tabIndex":Of(e,"tabindex",i);break;case"dir":case"role":case"viewBox":case"width":case"height":Of(e,n,i);break;case"style":R2(e,i,o);return;case"data":if(t!=="object"){Of(e,"data",i);break}case"src":case"href":if(i===""&&(t!=="a"||n!=="href")){e.removeAttribute(n);break}if(i==null||typeof i=="function"||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}i=Jf(i),e.setAttribute(n,i);break;case"action":case"formAction":if(typeof i=="function"){e.setAttribute(n,"javascript:throw new Error(\'A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\\\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().\')");break}else typeof o=="function"&&(n==="formAction"?(t!=="input"&&be(e,t,"name",r.name,r,null),be(e,t,"formEncType",r.formEncType,r,null),be(e,t,"formMethod",r.formMethod,r,null),be(e,t,"formTarget",r.formTarget,r,null)):(be(e,t,"encType",r.encType,r,null),be(e,t,"method",r.method,r,null),be(e,t,"target",r.target,r,null)));if(i==null||typeof i=="symbol"||typeof i=="boolean"){e.removeAttribute(n);break}i=Jf(i),e.setAttribute(n,i);break;case"onClick":i!=null&&(e.onclick=ar);return;case"onScroll":i!=null&&se("scroll",e);return;case"onScrollEnd":i!=null&&se("scrollend",e);return;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(R(61));if(n=i.__html,n!=null){if(r.children!=null)throw Error(R(60));o?.__html!==n&&(e.innerHTML=n)}}break;case"multiple":e.multiple=i&&typeof i!="function"&&typeof i!="symbol";break;case"muted":e.muted=i&&typeof i!="function"&&typeof i!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(i==null||typeof i=="function"||typeof i=="boolean"||typeof i=="symbol"){e.removeAttribute("xlink:href");break}n=Jf(i),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,i):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":i&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":i===!0?e.setAttribute(n,""):i!==!1&&i!=null&&typeof i!="function"&&typeof i!="symbol"?e.setAttribute(n,i):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":i!=null&&typeof i!="function"&&typeof i!="symbol"&&!isNaN(i)&&1<=i?e.setAttribute(n,i):e.removeAttribute(n);break;case"rowSpan":case"start":i==null||typeof i=="function"||typeof i=="symbol"||isNaN(i)?e.removeAttribute(n):e.setAttribute(n,i);break;case"popover":se("beforetoggle",e),se("toggle",e),Gf(e,"popover",i);break;case"xlinkActuate":kr(e,"http://www.w3.org/1999/xlink","xlink:actuate",i);break;case"xlinkArcrole":kr(e,"http://www.w3.org/1999/xlink","xlink:arcrole",i);break;case"xlinkRole":kr(e,"http://www.w3.org/1999/xlink","xlink:role",i);break;case"xlinkShow":kr(e,"http://www.w3.org/1999/xlink","xlink:show",i);break;case"xlinkTitle":kr(e,"http://www.w3.org/1999/xlink","xlink:title",i);break;case"xlinkType":kr(e,"http://www.w3.org/1999/xlink","xlink:type",i);break;case"xmlBase":kr(e,"http://www.w3.org/XML/1998/namespace","xml:base",i);break;case"xmlLang":kr(e,"http://www.w3.org/XML/1998/namespace","xml:lang",i);break;case"xmlSpace":kr(e,"http://www.w3.org/XML/1998/namespace","xml:space",i);break;case"is":Gf(e,"is",i);break;case"innerText":case"textContent":return;default:if(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")n=QN.get(n)||n,Gf(e,n,i);else return}fe=!0}function wy(e,t,n,i,r,o){switch(n){case"style":R2(e,i,o);return;case"dangerouslySetInnerHTML":if(i!=null){if(typeof i!="object"||!("__html"in i))throw Error(R(61));if(n=i.__html,n!=null){if(r.children!=null)throw Error(R(60));o?.__html!==n&&(e.innerHTML=n)}}break;case"children":if(typeof i=="string")ns(e,i);else if(typeof i=="number"||typeof i=="bigint")ns(e,""+i);else return;break;case"onScroll":i!=null&&se("scroll",e);return;case"onScrollEnd":i!=null&&se("scrollend",e);return;case"onClick":i!=null&&(e.onclick=ar);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!_2.hasOwnProperty(n))e:{if(n[0]==="o"&&n[1]==="n"&&(r=n.endsWith("Capture"),o=n.slice(2,r?n.length-7:void 0),t=e[Yt]||null,t=t!=null?t[n]:null,typeof t=="function"&&e.removeEventListener(o,t,r),typeof i=="function")){typeof t!="function"&&t!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(o,i,r);break e}fe=!0,n in e?e[n]=i:i===!0?e.setAttribute(n,""):Gf(e,n,i)}return}fe=!0}function ht(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":se("error",e),se("load",e);var i=!1,r=!1,o;for(o in n)if(n.hasOwnProperty(o)){var a=n[o];if(a!=null)switch(o){case"src":i=!0;break;case"srcSet":r=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(R(137,t));default:be(e,t,o,a,n,null)}}r&&be(e,t,"srcSet",n.srcSet,n,null),i&&be(e,t,"src",n.src,n,null);return;case"input":se("invalid",e);var s=o=a=r=null,l=null,c=null;for(i in n)if(n.hasOwnProperty(i)){var d=n[i];if(d!=null)switch(i){case"name":r=d;break;case"type":a=d;break;case"checked":l=d;break;case"defaultChecked":c=d;break;case"value":o=d;break;case"defaultValue":s=d;break;case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(R(137,t));break;default:be(e,t,i,d,n,null)}}w2(e,o,s,l,c,a,r,!1);return;case"select":se("invalid",e),i=a=o=null;for(r in n)if(n.hasOwnProperty(r)&&(s=n[r],s!=null))switch(r){case"value":o=s;break;case"defaultValue":a=s;break;case"multiple":i=s;default:be(e,t,r,s,n,null)}t=o,n=a,e.multiple=!!i,t!=null?Ba(e,!!i,t,!1):n!=null&&Ba(e,!!i,n,!0);return;case"textarea":se("invalid",e),o=r=i=null;for(a in n)if(n.hasOwnProperty(a)&&(s=n[a],s!=null))switch(a){case"value":i=s;break;case"defaultValue":r=s;break;case"children":o=s;break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(R(91));break;default:be(e,t,a,s,n,null)}$2(e,i,r,o);return;case"option":for(l in n)n.hasOwnProperty(l)&&(i=n[l],i!=null)&&(l==="selected"?e.selected=i&&typeof i!="function"&&typeof i!="symbol":be(e,t,l,i,n,null));return;case"dialog":se("beforetoggle",e),se("toggle",e),se("cancel",e),se("close",e);break;case"iframe":case"object":se("load",e);break;case"video":case"audio":for(i=0;i<Bc.length;i++)se(Bc[i],e);break;case"image":se("error",e),se("load",e);break;case"details":se("toggle",e);break;case"embed":case"source":case"link":se("error",e),se("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in n)if(n.hasOwnProperty(c)&&(i=n[c],i!=null))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(R(137,t));default:be(e,t,c,i,n,null)}return;default:if(Ly(t)){for(d in n)n.hasOwnProperty(d)&&(i=n[d],i!==void 0&&wy(e,t,d,i,n,void 0));return}}for(s in n)n.hasOwnProperty(s)&&(i=n[s],i!=null&&be(e,t,s,i,n,null))}var Ij={};function Nj(e,t,n,i){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,o=null,a=null,s=null,l=null,c=null,d=null;for(f in n){var p=n[f];if(n.hasOwnProperty(f)&&p!=null)switch(f){case"checked":break;case"value":break;case"defaultValue":l=p;default:i.hasOwnProperty(f)||be(e,t,f,null,i,p)}}for(var m in i){var f=i[m];if(p=n[m],i.hasOwnProperty(m)&&(f!=null||p!=null))switch(m){case"type":f!==p&&(fe=!0),o=f;break;case"name":f!==p&&(fe=!0),r=f;break;case"checked":f!==p&&(fe=!0),c=f;break;case"defaultChecked":f!==p&&(fe=!0),d=f;break;case"value":f!==p&&(fe=!0),a=f;break;case"defaultValue":f!==p&&(fe=!0),s=f;break;case"children":case"dangerouslySetInnerHTML":if(f!=null)throw Error(R(137,t));break;default:f!==p&&be(e,t,m,f,i,p)}}P0(e,a,s,l,c,d,o,r);return;case"select":f=a=s=m=null;for(o in n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case"value":break;case"multiple":f=l;default:i.hasOwnProperty(o)||be(e,t,o,null,i,l)}for(r in i)if(o=i[r],l=n[r],i.hasOwnProperty(r)&&(o!=null||l!=null))switch(r){case"value":o!==l&&(fe=!0),m=o;break;case"defaultValue":o!==l&&(fe=!0),s=o;break;case"multiple":o!==l&&(fe=!0),a=o;default:o!==l&&be(e,t,r,o,i,l)}t=s,n=a,i=f,m!=null?Ba(e,!!n,m,!1):!!i!=!!n&&(t!=null?Ba(e,!!n,t,!0):Ba(e,!!n,n?[]:"",!1));return;case"textarea":f=m=null;for(s in n)if(r=n[s],n.hasOwnProperty(s)&&r!=null&&!i.hasOwnProperty(s))switch(s){case"value":break;case"children":break;default:be(e,t,s,null,i,r)}for(a in i)if(r=i[a],o=n[a],i.hasOwnProperty(a)&&(r!=null||o!=null))switch(a){case"value":r!==o&&(fe=!0),m=r;break;case"defaultValue":r!==o&&(fe=!0),f=r;break;case"children":break;case"dangerouslySetInnerHTML":if(r!=null)throw Error(R(91));break;default:r!==o&&be(e,t,a,r,i,o)}T2(e,m,f);return;case"option":for(var _ in n)m=n[_],n.hasOwnProperty(_)&&m!=null&&!i.hasOwnProperty(_)&&(_==="selected"?e.selected=!1:be(e,t,_,null,i,m));for(l in i)m=i[l],f=n[l],i.hasOwnProperty(l)&&m!==f&&(m!=null||f!=null)&&(l==="selected"?(m!==f&&(fe=!0),e.selected=m&&typeof m!="function"&&typeof m!="symbol"):be(e,t,l,m,i,f));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var $ in n)m=n[$],n.hasOwnProperty($)&&m!=null&&!i.hasOwnProperty($)&&be(e,t,$,null,i,m);for(c in i)if(m=i[c],f=n[c],i.hasOwnProperty(c)&&m!==f&&(m!=null||f!=null))switch(c){case"children":case"dangerouslySetInnerHTML":if(m!=null)throw Error(R(137,t));break;default:be(e,t,c,m,i,f)}return;default:if(Ly(t)){for(var j in n)m=n[j],n.hasOwnProperty(j)&&m!==void 0&&!i.hasOwnProperty(j)&&wy(e,t,j,void 0,i,m);for(d in i)m=i[d],f=n[d],!i.hasOwnProperty(d)||m===f||m===void 0&&f===void 0||wy(e,t,d,m,i,f);return}}for(var y in n)m=n[y],n.hasOwnProperty(y)&&m!=null&&!i.hasOwnProperty(y)&&be(e,t,y,null,i,m);for(p in i)m=i[p],f=n[p],!i.hasOwnProperty(p)||m===f||m==null&&f==null||be(e,t,p,m,i,f)}function C$(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Cj(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,n=performance.getEntriesByType("resource"),i=0;i<n.length;i++){var r=n[i],o=r.transferSize,a=r.initiatorType,s=r.duration;if(o&&s&&C$(a)){for(a=0,s=r.responseEnd,i+=1;i<n.length;i++){var l=n[i],c=l.startTime;if(c>s)break;var d=l.transferSize,p=l.initiatorType;d&&C$(p)&&(l=l.responseEnd,a+=d*(l<s?1:(s-c)/(l-c)))}if(--i,t+=8*(o+a)/(r.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Ty=null,$y=null;function Jc(e){return e.nodeType===9?e:e.ownerDocument}function j$(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function I4(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function N4(e,t,n,i){return n=Jc(n).createElement(e),n[dt]=i,n[Yt]=t,ht(n,e,t),ot(n),n}function Ry(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var _0=null;function jj(){var e=window.event;return e&&e.type==="popstate"?e===_0?!1:(_0=e,!0):(_0=null,!1)}var $S=typeof setTimeout=="function"?setTimeout:void 0,Aj=typeof clearTimeout=="function"?clearTimeout:void 0,A$=typeof Promise=="function"?Promise:void 0,P$=typeof requestAnimationFrame=="function"?requestAnimationFrame:$S,Pj=typeof queueMicrotask=="function"?queueMicrotask:typeof A$<"u"?function(e){return A$.resolve(null).then(e).catch(Uj)}:$S;function Uj(e){setTimeout(function(){throw e})}function Pi(e){return e==="head"}function U$(e,t){var n=t,i=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&r.nodeType===8)if(n=r.data,n==="/$"||n==="/&"){if(i===0){e.removeChild(r),ms(t);return}i--}else if(n==="$"||n==="$?"||n==="$~"||n==="$!"||n==="&")i++;else if(n==="html")x0(e.ownerDocument.documentElement);else if(n==="head"){n=e.ownerDocument.head,x0(n);for(var o=n.firstChild;o;){var a=o.nextSibling,s=o.nodeName;o[nu]||s==="SCRIPT"||s==="STYLE"||s==="LINK"&&o.rel.toLowerCase()==="stylesheet"||n.removeChild(o),o=a}}else n==="body"&&x0(e.ownerDocument.body);n=r}while(n);ms(t)}function M$(e,t){var n=e;e=0;do{var i=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display="none"):(n.style.display=n._stashedDisplay||"",n.getAttribute("style")===""&&n.removeAttribute("style")):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=""):n.nodeValue=n._stashedText||""),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(e===0)break;e--}else n!=="$"&&n!=="$?"&&n!=="$~"&&n!=="$!"||e++;n=i}while(n)}function C4(e,t,n){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,n!=null&&(e.style.viewTransitionClass=n),n=getComputedStyle(e),n.display==="inline"){if(t=e.getClientRects(),t.length===1)var i=1;else for(var r=i=0;r<t.length;r++){var o=t[r];0<o.width&&0<o.height&&i++}i===1&&(e=e.style,e.display=t.length===1?"inline-block":"block",e.marginTop="-"+n.paddingTop,e.marginBottom="-"+n.paddingBottom)}}function j4(e,t){e=e.style,t=t.style;var n=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=n==null||typeof n=="boolean"?"":(""+n).trim(),n=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=n==null||typeof n=="boolean"?"":(""+n).trim(),e.display==="inline-block"&&(t==null?e.display=e.margin="":(n=t.display,e.display=n==null||typeof n=="boolean"?"":n,n=t.margin,n!=null?e.margin=n:(n=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=n==null||typeof n=="boolean"?"":n,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=t==null||typeof t=="boolean"?"":t)))}function A4(e,t,n){return n=n.ownerDocument.defaultView,{rect:e,abs:t.position==="absolute"||t.position==="fixed",clip:t.clipPath!=="none"||t.overflow!=="visible"||t.filter!=="none"||t.mask!=="none"||t.mask!=="none"||t.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=n.innerHeight&&e.left<=n.innerWidth}}function Ey(e){var t=e.getBoundingClientRect(),n=getComputedStyle(e);return A4(t,n,e)}function Mj(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var n=getComputedStyle(e);return A4(t,n,e)}function Dj(e){return e.documentElement.clientHeight}function Lj(e){this.addEventListener("load",e),this.addEventListener("error",e)}function qj(e,t,n,i,r,o,a,s,l){var c=t.nodeType===9?t:t.ownerDocument;try{var d=c.startViewTransition({update:function(){var m=c.defaultView,f=m.navigation&&m.navigation.transition,_=c.fonts.status;i();var $=[];if(_==="loaded"&&(Dj(c),c.fonts.status==="loading"&&$.push(c.fonts.ready)),_=$.length,e!==null)for(var j=e.suspenseyImages,y=0,g=0;g<j.length;g++){var S=j[g];if(!S.complete){var x=S.getBoundingClientRect();if(0<x.bottom&&0<x.right&&x.top<m.innerHeight&&x.left<m.innerWidth){if(y+=J4(S),y>lp){$.length=_;break}S=new Promise(Lj.bind(S)),$.push(S)}}}if(0<$.length)return m=Promise.race([Promise.all($),new Promise(function(N){return setTimeout(N,500)})]).then(r,r),(f?Promise.allSettled([f.finished,m]):m).then(o,o);if(r(),f)return f.finished.then(o,o);o()},types:n});c.__reactViewTransition=d;var p=[];return d.ready.then(function(){for(var m=c.documentElement.getAnimations({subtree:!0}),f=0;f<m.length;f++){var _=m[f],$=_.effect,j=$.pseudoElement;if(j!=null&&j.startsWith("::view-transition")){p.push(_),_=$.getKeyframes();for(var y=j=void 0,g=!0,S=0;S<_.length;S++){var x=_[S],N=x.width;if(j===void 0)j=N;else if(j!==N){g=!1;break}if(N=x.height,y===void 0)y=N;else if(y!==N){g=!1;break}delete x.width,delete x.height,x.transform==="none"&&delete x.transform}g&&j!==void 0&&y!==void 0&&($.setKeyframes(_),g=getComputedStyle($.target,$.pseudoElement),g.width!==j||g.height!==y)&&(g=_[0],g.width=j,g.height=y,g=_[_.length-1],g.width=j,g.height=y,$.setKeyframes(_))}}a()},function(m){c.__reactViewTransition===d&&(c.__reactViewTransition=null);try{typeof m=="object"&&m!==null&&m.name==="InvalidStateError"&&(m.message==="View transition was skipped because document visibility state is hidden."||m.message==="Skipping view transition because document visibility state has become hidden."||m.message==="Skipping view transition because viewport size changed."||m.message==="Transition was aborted because of invalid state")&&(m=null),m!==null&&l(m)}finally{i(),r(),a()}}),d.finished.finally(function(){for(var m=0;m<p.length;m++)p[m].cancel();c.__reactViewTransition===d&&(c.__reactViewTransition=null),s()}),d}catch{return i(),r(),a(),null}}function yo(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}yo.prototype.animate=function(e,t){return t=typeof t=="number"?{duration:t}:Re({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)};yo.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,n=e.getAnimations({subtree:!0}),i=[],r=0;r<n.length;r++){var o=n[r].effect;o!==null&&o.target===e&&o.pseudoElement===t&&i.push(n[r])}return i};yo.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function P4(e){return{name:e,group:new yo("group",e),imagePair:new yo("image-pair",e),old:new yo("old",e),new:new yo("new",e)}}function mn(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}mn.prototype.addEventListener=function(e,t,n){var i=null,r=null;if(!(n!=null&&typeof n!="boolean"&&(i=n.signal||null,i!==null&&i.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var o=this._eventListeners;if(U4(o,e,t,n)===-1){var a=this,s=t;n!=null&&typeof n!="boolean"&&n.once===!0&&(s=function(l){a.removeEventListener(e,t,n),typeof t=="function"?t.call(this,l):t.handleEvent(l)}),i!==null&&(r=a.removeEventListener.bind(a,e,t,n),i.addEventListener("abort",r,{once:!0}),r=i.removeEventListener.bind(i,"abort",r)),i=ls(n),o.push({type:e,listener:t,optionsOrUseCapture:n,attachedListener:s,cleanup:r}),Jt(this._fragmentFiber.child,!1,Hj,e,s,i)}this._eventListeners=o}};function Hj(e,t,n,i){return We(e).addEventListener(t,n,i),!1}mn.prototype.removeEventListener=function(e,t,n){var i=this._eventListeners;if(i!==null&&(t=U4(i,e,t,n),t!==-1)){var r=i[t];n=r.attachedListener;var o=r.cleanup;r=ls(r.optionsOrUseCapture),Jt(this._fragmentFiber.child,!1,Zj,e,n,r),i.splice(t,1),o!==null&&o()}};function Zj(e,t,n,i){return We(e).removeEventListener(t,n,i),!1}function ls(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function D$(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function U4(e,t,n,i){if(e.length===0)return-1;i=D$(i);for(var r=0;r<e.length;r++){var o=e[r];if(o.type===t&&o.listener===n&&D$(o.optionsOrUseCapture)===i)return r}return-1}mn.prototype.dispatchEvent=function(e){var t=No(this._fragmentFiber);if(t===null)return!0;t=We(t);var n=this._eventListeners;if(n!==null&&0<n.length||!e.bubbles){var i=t.nodeType===9?t.createComment(""):document.createTextNode("");if(n)for(var r=0;r<n.length;r++){var o=n[r];i.addEventListener(o.type,o.attachedListener,ls(o.optionsOrUseCapture))}if(t.appendChild(i),e=i.dispatchEvent(e),n)for(r=0;r<n.length;r++)o=n[r],i.removeEventListener(o.type,o.attachedListener,ls(o.optionsOrUseCapture));return t.removeChild(i),e}return t.dispatchEvent(e)};mn.prototype.focus=function(e){Jt(this._fragmentFiber.child,!0,M4,e,void 0,void 0)};function M4(e,t){return e.tag===6?!1:(e=We(e),tA(e,t))}mn.prototype.focusLast=function(e){var t=[];Jt(this._fragmentFiber.child,!0,RS,t,void 0,void 0);for(var n=t.length-1;0<=n&&!M4(t[n],e);n--);};function RS(e,t){return t.push(e),!1}mn.prototype.blur=function(){var e=No(this._fragmentFiber);e!==null&&(e=We(e),e=Jc(e).activeElement,e!==null&&Jt(this._fragmentFiber.child,!1,Vj,e,void 0,void 0))};function Vj(e,t){return e.tag===6?!1:(e=We(e),e===t||e.contains(t)?(t.blur(),!0):!1)}mn.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),Jt(this._fragmentFiber.child,!1,Bj,e,void 0,void 0)};function Bj(e,t){return e.tag===6||(e=We(e),t.observe(e)),!1}mn.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),Jt(this._fragmentFiber.child,!1,Gj,e,void 0,void 0);for(var n=t=0;n<Hn.length;n++){var i=Hn[n];i.fragmentInstance===this&&i.observer===e?e.unobserve(i.instance):Hn[t++]=i}Hn.length=t}};function Gj(e,t){return e.tag===6||(e=We(e),t.unobserve(e)),!1}var Hn=[],z0=!1;function Jj(e,t,n){Hn.push({fragmentInstance:e,observer:t,instance:n}),z0||(z0=!0,nA(function(){z0=!1;var i=Hn;Hn=[];for(var r=0;r<i.length;r++){var o=i[r];o.observer.unobserve(o.instance)}}))}mn.prototype.getClientRects=function(){var e=[];return Jt(this._fragmentFiber.child,!1,Yj,e,void 0,void 0),e};function Yj(e,t){if(e.tag===6){e=e.stateNode;var n=e.ownerDocument.createRange();n.selectNodeContents(e),t.push.apply(t,n.getClientRects())}else e=We(e),t.push.apply(t,e.getClientRects());return!1}mn.prototype.getRootNode=function(e){var t=No(this._fragmentFiber);return t===null?this:We(t).getRootNode(e)};mn.prototype.compareDocumentPosition=function(e){var t=No(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var n=[];Jt(this._fragmentFiber.child,!1,RS,n,void 0,void 0);var i=We(t);if(n.length===0){if(n=i,yT(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break e}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(n=t)}t=this._fragmentFiber;var r=i=n.compareDocumentPosition(e);return n===e?r=Node.DOCUMENT_POSITION_CONTAINS:i&Node.DOCUMENT_POSITION_CONTAINED_BY&&(n=a2(t)[1],n===null?r=Node.DOCUMENT_POSITION_PRECEDING:(e=We(n).compareDocumentPosition(e),r=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),r|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=We(n[0]),r=We(n[n.length-1]);var o=yT(this._fragmentFiber)?t.parentElement:i;if(o==null)return Node.DOCUMENT_POSITION_DISCONNECTED;i=o.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,o=o.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_CONTAINED_BY;var a=t.compareDocumentPosition(e),s=r.compareDocumentPosition(e),l=a&Node.DOCUMENT_POSITION_CONTAINED_BY||s&Node.DOCUMENT_POSITION_CONTAINED_BY;return s=i&&o&&a&Node.DOCUMENT_POSITION_FOLLOWING&&s&Node.DOCUMENT_POSITION_PRECEDING,t=i&&t===e||o&&r===e||l||s?Node.DOCUMENT_POSITION_CONTAINED_BY:!i&&t===e||!o&&r===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:a,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||Kj(t,this._fragmentFiber,n[0],n[n.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function Kj(e,t,n,i,r){var o=vo(r);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(n=!!o)e:{for(;o!==null;){if(o.tag===7&&(o===t||o.alternate===t)){n=!0;break e}o=o.return}n=!1}return n}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(o===null)return o=r.ownerDocument,r===o||r===o.documentElement||r===o.body;e:{for(o=t,t=No(t);o!==null;){if(!(o.tag!==5&&o.tag!==3&&o.tag!==27||o!==t&&o.alternate!==t)){o=!0;break e}o=o.return}o=!1}return o}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!o)&&!(t=o===n)&&(t=T0(n,o,ST),t===null?t=!1:(Jt(t,!0,TN,o,n),o=Na,Na=null,t=o!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!o)&&!(t=o===i)&&(t=T0(i,o,ST),t===null?t=!1:(Jt(t,!0,$N,o,i),o=Na,w0=Na=null,t=o!==null)),t):!1}function L$(e,t){var n=e.ownerDocument.createRange();n.selectNodeContents(e),e=n.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}mn.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(R(566));var t=[];Jt(this._fragmentFiber.child,!1,RS,t,void 0,void 0);var n=e!==!1;if(t.length===0){var i=a2(this._fragmentFiber);if(i=n?i[1]||i[0]||No(this._fragmentFiber):i[0]||i[1],i===null)return;if(i.tag===6){e=We(i),L$(e,n);return}if(i=We(i),i.nodeType!==9){if(i.nodeType===11){n="host"in i?i.host:null,n!==null&&n.scrollIntoView(e);return}i.scrollIntoView(e)}}for(i=n?t.length-1:0;i!==(n?-1:t.length);){var r=t[i];r.tag===6?(r=We(r),L$(r,n)):We(r).scrollIntoView(e),i+=n?-1:1}};function Fj(e,t){return e=We(e),D4(e,t),!1}function D4(e,t){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(t)}function L4(e,t){var n=t._eventListeners;if(n!==null)for(var i=0;i<n.length;i++){var r=n[i];e.addEventListener(r.type,r.attachedListener,ls(r.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(o){for(var a=0,s=0;s<Hn.length;s++){var l=Hn[s];(l.fragmentInstance!==t||l.observer!==o||l.instance!==e)&&(Hn[a++]=l)}Hn.length=a,o.observe(e)}),D4(e,t))}function Qj(e,t){var n=t._eventListeners;if(n!==null)for(var i=0;i<n.length;i++){var r=n[i];e.removeEventListener(r.type,r.attachedListener,ls(r.optionsOrUseCapture))}e.nodeType!==3&&(n=t._observers,n!==null&&n.forEach(function(o){typeof o.rootMargin=="string"?Jj(t,o,e):o.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function Oy(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":Oy(n),qp(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(n.rel.toLowerCase()==="stylesheet")continue}e.removeChild(n)}}function Xj(e,t,n,i){for(;e.nodeType===1;){var r=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!i&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(i){if(!e[nu])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(o=e.getAttribute("rel"),o==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(o!==r.rel||e.getAttribute("href")!==(r.href==null||r.href===""?null:r.href)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin)||e.getAttribute("title")!==(r.title==null?null:r.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(o=e.getAttribute("src"),(o!==(r.src==null?null:r.src)||e.getAttribute("type")!==(r.type==null?null:r.type)||e.getAttribute("crossorigin")!==(r.crossOrigin==null?null:r.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var o=r.name==null?null:""+r.name;if(r.type==="hidden"&&e.getAttribute("name")===o)return e}else return e;if(e=Cn(e.nextSibling),e===null)break}return null}function Wj(e,t,n){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!n||(e=Cn(e.nextSibling),e===null))return null;return e}function q4(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Cn(e.nextSibling),e===null))return null;return e}function ky(e){return e.data==="$?"||e.data==="$~"}function ES(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function eA(e,t){var n=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||n.readyState!=="loading")t();else{var i=function(){t(),n.removeEventListener("DOMContentLoaded",i)};n.addEventListener("DOMContentLoaded",i),e._reactRetry=i}}function Cn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Iy=null;function q$(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"||n==="/&"){if(t===0)return Cn(e.nextSibling);t--}else n!=="$"&&n!=="$!"&&n!=="$?"&&n!=="$~"&&n!=="&"||t++}e=e.nextSibling}return null}function H$(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"||n==="$~"||n==="&"){if(t===0)return e;t--}else n!=="/$"&&n!=="/&"||t++}e=e.previousSibling}return null}function tA(e,t){function n(){i=!0}if(e.ownerDocument.activeElement===e)return!0;var i=!1;try{e.ownerDocument.addEventListener("focus",n,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",n,!0)}return i}function nA(e){P$(function(){P$(function(t){return e(t)})})}function H4(e,t,n){switch(t=Jc(n),e){case"html":if(e=t.documentElement,!e)throw Error(R(452));return e;case"head":if(e=t.head,!e)throw Error(R(453));return e;case"body":if(e=t.body,!e)throw Error(R(454));return e;default:throw Error(R(451))}}function Z4(e,t,n){for(var i in n){var r=n[i];n.hasOwnProperty(i)&&r!=null&&be(e,t,i,null,Ij,r)}n.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===ar&&(e.onclick=null),qp(e)}function x0(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);qp(e)}var jn=new Map,Z$=new Set;function Yc(e){if(typeof e.getRootNode=="function"){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var Vr=he.d;he.d={f:rA,r:iA,D:oA,C:aA,L:sA,m:lA,X:uA,S:cA,M:dA};function rA(){var e=Vr.f(),t=th();return e||t}function iA(e){var t=ps(e);t!==null&&t.tag===5&&t.type==="form"?RR(t):Vr.r(e)}var ys=typeof document>"u"?null:document;function V4(e,t,n){var i=ys;if(i&&typeof t=="string"&&t){var r=kn(t);r=\'link[rel="\'+e+\'"][href="\'+r+\'"]\',typeof n=="string"&&(r+=\'[crossorigin="\'+n+\'"]\'),Z$.has(r)||(Z$.add(r),e={rel:e,crossOrigin:n,href:t},i.querySelector(r)===null&&(t=i.createElement("link"),ht(t,"link",e),ot(t),i.head.appendChild(t)))}}function oA(e){Vr.D(e),V4("dns-prefetch",e,null)}function aA(e,t){Vr.C(e,t),V4("preconnect",e,t)}function sA(e,t,n){Vr.L(e,t,n);var i=ys;if(i&&e&&t){var r=\'link[rel="preload"][as="\'+kn(t)+\'"]\';t==="image"&&n&&n.imageSrcSet?(r+=\'[imagesrcset="\'+kn(n.imageSrcSet)+\'"]\',typeof n.imageSizes=="string"&&(r+=\'[imagesizes="\'+kn(n.imageSizes)+\'"]\')):r+=\'[href="\'+kn(e)+\'"]\';var o=r;switch(t){case"style":o=cs(e);break;case"script":o=Ss(e)}if(!(jn.has(o)||(e=Re({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),jn.set(o,e),i.querySelector(r)!==null||t==="style"&&i.querySelector(lu(o))||t==="script"&&i.querySelector(cu(o))))){var a=i.createElement("link");ht(a,"link",e),t==="style"&&(a[hp]=!0,a.onload=a.onerror=function(){S2(a)}),ot(a),i.head.appendChild(a)}}}function lA(e,t){Vr.m(e,t);var n=ys;if(n&&e){var i=t&&typeof t.as=="string"?t.as:"script",r=\'link[rel="modulepreload"][as="\'+kn(i)+\'"][href="\'+kn(e)+\'"]\',o=r;switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Ss(e)}if(!jn.has(o)&&(e=Re({rel:"modulepreload",href:e},t),jn.set(o,e),n.querySelector(r)===null)){switch(i){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(cu(o)))return}i=n.createElement("link"),ht(i,"link",e),ot(i),n.head.appendChild(i)}}}function cA(e,t,n){Vr.S(e,t,n);var i=ys;if(i&&e){var r=Va(i).hoistableStyles,o=cs(e);t=t||"default";var a=r.get(o);if(!a){var s={loading:0,preload:null};if(a=i.querySelector(lu(o)))s.loading=5;else{e=Re({rel:"stylesheet",href:e,"data-precedence":t},n),(n=jn.get(o))&&OS(e,n);var l=a=i.createElement("link");ot(l),ht(l,"link",e),l._p=new Promise(function(c,d){l.onload=c,l.onerror=d}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,ap(a,t,i)}a={type:"stylesheet",instance:a,count:1,state:s},r.set(o,a)}}}function uA(e,t){Vr.X(e,t);var n=ys;if(n&&e){var i=Va(n).hoistableScripts,r=Ss(e),o=i.get(r);o||(o=n.querySelector(cu(r)),o||(e=Re({src:e,async:!0},t),(t=jn.get(r))&&kS(e,t),o=n.createElement("script"),ot(o),ht(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},i.set(r,o))}}function dA(e,t){Vr.M(e,t);var n=ys;if(n&&e){var i=Va(n).hoistableScripts,r=Ss(e),o=i.get(r);o||(o=n.querySelector(cu(r)),o||(e=Re({src:e,async:!0,type:"module"},t),(t=jn.get(r))&&kS(e,t),o=n.createElement("script"),ot(o),ht(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},i.set(r,o))}}function V$(e,t,n,i){var r=(r=bi.current)?Yc(r):null;if(!r)throw Error(R(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(n=cs(n.href),t=Va(r).hoistableStyles,i=t.get(n),i||(i={type:"style",instance:null,count:0,state:null},t.set(n,i)),i):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=cs(n.href);var o=Va(r).hoistableStyles,a=o.get(e);if(a||(r=r.ownerDocument||r,a={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},o.set(e,a),(o=r.querySelector(lu(e)))?o._p||(a.instance=o,a.state.loading=5):(o=jn.get(e),o||(o={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},jn.set(e,o)),mA(r,e,o,a.state))),t&&i===null)throw Error(R(528,""));return a}if(t&&i!==null)throw Error(R(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(n=Ss(n),t=Va(r).hoistableScripts,i=t.get(n),i||(i={type:"script",instance:null,count:0,state:null},t.set(n,i)),i):{type:"void",instance:null,count:0,state:null};default:throw Error(R(444,e))}}function cs(e){return\'href="\'+kn(e)+\'"\'}function lu(e){return\'link[rel="stylesheet"][\'+e+"]"}function B4(e){return Re({},e,{"data-precedence":e.precedence,precedence:null})}function mA(e,t,n,i){if(t=e.querySelector(\'link[rel="preload"][as="style"][\'+t+"]")){if(t[hp]!==!0){i.loading=1;return}}else t=e.createElement("link"),t[hp]=!0,t.onload=t.onerror=S2.bind(null,t),ht(t,"link",n),ot(t),e.head.appendChild(t);i.preload=t,t.addEventListener("load",function(){return i.loading|=1}),t.addEventListener("error",function(){return i.loading|=2})}function Ss(e){return\'[src="\'+kn(e)+\'"]\'}function cu(e){return"script[async]"+e}function B$(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var i=e.querySelector(\'style[data-href~="\'+kn(n.href)+\'"]\');if(i)return t.instance=i,ot(i),i;var r=Re({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return i=(e.ownerDocument||e).createElement("style"),ot(i),ht(i,"style",r),ap(i,n.precedence,e),t.instance=i;case"stylesheet":r=cs(n.href);var o=e.querySelector(lu(r));if(o)return t.state.loading|=4,t.instance=o,ot(o),o;i=B4(n),(r=jn.get(r))&&OS(i,r),o=(e.ownerDocument||e).createElement("link"),ot(o);var a=o;return a._p=new Promise(function(s,l){a.onload=s,a.onerror=l}),ht(o,"link",i),t.state.loading|=4,ap(o,n.precedence,e),t.instance=o;case"script":return o=Ss(n.src),(r=e.querySelector(cu(o)))?(t.instance=r,ot(r),r):(i=n,(r=jn.get(o))&&(i=Re({},n),kS(i,r)),e=e.ownerDocument||e,r=e.createElement("script"),ot(r),ht(r,"link",i),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(R(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(i=t.instance,t.state.loading|=4,ap(i,n.precedence,e));return t.instance}function ap(e,t,n){for(var i=n.querySelectorAll(\'link[rel="stylesheet"][data-precedence],style[data-precedence]\'),r=i.length?i[i.length-1]:null,o=r,a=0;a<i.length;a++){var s=i[a];if(s.dataset.precedence===t)o=s;else if(o!==r)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function OS(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function kS(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var sp=null;function G$(e,t,n){if(sp===null){var i=new Map,r=sp=new Map;r.set(n,i)}else r=sp,i=r.get(n),i||(i=new Map,r.set(n,i));if(i.has(e))return i;for(i.set(e,null),n=n.getElementsByTagName(e),r=0;r<n.length;r++){var o=n[r];if(!(o[nu]||o[dt]||e==="link"&&o.getAttribute("rel")==="stylesheet")&&o.namespaceURI!=="http://www.w3.org/2000/svg"){var a=o.getAttribute(t)||"";a=e+a;var s=i.get(a);s?s.push(o):i.set(a,[o])}}return i}function Ny(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t==="title"?e.querySelector("head > title"):null)}function fA(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function J$(e,t){return e==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function G4(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function J4(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function Y$(e,t){typeof t.decode=="function"&&(e.imgCount++,t.complete||(e.imgBytes+=J4(t),e.suspenseyImages.push(t)),e=gA.bind(e),t.decode().then(e,e))}function pA(e,t,n,i){if(n.type==="stylesheet"&&(typeof i.media!="string"||matchMedia(i.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var r=cs(i.href),o=t.querySelector(lu(r));if(o){t=o._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Kc.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=o,ot(o);return}o=t.ownerDocument||t,i=B4(i),(r=jn.get(r))&&OS(i,r),o=o.createElement("link"),ot(o);var a=o;a._p=new Promise(function(s,l){a.onload=s,a.onerror=l}),ht(o,"link",i),n.instance=o}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=Kc.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var lp=0;function hA(e,t){return e.stylesheets&&e.count===0&&cp(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var i=setTimeout(function(){if(e.stylesheets&&cp(e,e.stylesheets),e.unsuspend){var o=e.unsuspend;e.unsuspend=null,o()}},6e4+t);0<e.imgBytes&&lp===0&&(lp=62500*Cj());var r=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&cp(e,e.stylesheets),e.unsuspend)){var o=e.unsuspend;e.unsuspend=null,o()}},(e.imgBytes>lp?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(i),clearTimeout(r)}}:null}function Y4(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)cp(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function Kc(){this.count--,Y4(this)}function gA(){this.imgCount--,Y4(this)}var Mp=null;function cp(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Mp=new Map,t.forEach(vA,e),Mp=null,Kc.call(e))}function vA(e,t){if(!(t.state.loading&4)){var n=Mp.get(e);if(n)var i=n.get(null);else{n=new Map,Mp.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<r.length;o++){var a=r[o];(a.nodeName==="LINK"||a.getAttribute("media")!=="not all")&&(n.set(a.dataset.precedence,a),i=a)}i&&n.set(null,i)}r=t.instance,a=r.getAttribute("data-precedence"),o=n.get(a)||i,o===i&&n.set(null,r),n.set(a,r),this.count++,i=Kc.bind(this),r.addEventListener("load",i),r.addEventListener("error",i),o?o.parentNode.insertBefore(r,o.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(r,e.firstChild)),t.state.loading|=4}}var us={$$typeof:or,Provider:null,Consumer:null,_currentValue:So,_currentValue2:So,_threadCount:0};function yA(e,t,n,i,r,o,a,s,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Qv(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qv(0),this.hiddenUpdates=Qv(null),this.identifierPrefix=i,this.onUncaughtError=r,this.onCaughtError=o,this.onRecoverableError=a,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.transitionTypes=null,this.incompleteTransitions=new Map}function K4(e,t,n,i,r,o,a,s,l,c,d,p){return e=new yA(e,t,n,a,l,c,d,p,s),t=1,o===!0&&(t|=24),o=Bt(3,null,null,t),e.current=o,o.stateNode=e,t=Fy(),t.refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:i,isDehydrated:n,cache:t},Wy(o),e}function F4(e){return e?(e=La,e):La}function Q4(e,t,n,i,r,o){r=F4(r),i.context===null?i.context=r:i.pendingContext=r,i=zi(t),i.payload={element:n},o=o===void 0?null:o,o!==null&&(i.callback=o),n=xi(e,i,t),n!==null&&(Gt(n,e,t),Rc(n,e,t))}function K$(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function IS(e,t){K$(e,t),(e=e.alternate)&&K$(e,t)}function X4(e){if(e.tag===13||e.tag===31){var t=Ao(e,67108864);t!==null&&Gt(t,e,67108864),IS(e,67108864)}}function F$(e){if(e.tag===13||e.tag===31){var t=un();t=My(t);var n=Ao(e,t);n!==null&&Gt(n,e,t),IS(e,t)}}var ds=!0;function SA(e,t,n,i){var r=Q.T;Q.T=null;var o=he.p;try{he.p=2,NS(e,t,n,i)}finally{he.p=o,Q.T=r}}function bA(e,t,n,i){var r=Q.T;Q.T=null;var o=he.p;try{he.p=8,NS(e,t,n,i)}finally{he.p=o,Q.T=r}}function NS(e,t,n,i){if(ds){var r=Cy(i);if(r===null)b0(e,t,i,Dp,n),Q$(e,i);else if(zA(r,e,t,n,i))i.stopPropagation();else if(Q$(e,i),t&4&&-1<_A.indexOf(e)){for(;r!==null;){var o=ps(r);if(o!==null)switch(o.tag){case 3:if(o=o.stateNode,o.current.memoizedState.isDehydrated){var a=po(o.pendingLanes);if(a!==0){var s=o;for(s.pendingLanes|=2,s.entangledLanes|=2;a;){var l=1<<31-cn(a);s.entanglements[1]|=l,a&=~l}fr(o),(pe&6)===0&&(Cp=sn()+500,su(0,!1))}}break;case 31:case 13:s=Ao(o,2),s!==null&&Gt(s,o,2),th(),IS(o,2)}if(o=Cy(i),o===null&&b0(e,t,i,Dp,n),o===r)break;r=o}r!==null&&i.stopPropagation()}else b0(e,t,i,null,n)}}function Cy(e){return e=qy(e),CS(e)}var Dp=null;function CS(e){if(Dp=null,e=vo(e),e!==null){var t=Xc(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=r2(t),e!==null)return e;e=null}else if(n===31){if(e=i2(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Dp=e,null}function W4(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(AN()){case u2:return 2;case d2:return 8;case pp:case PN:return 32;case m2:return 268435456;default:return 32}default:return 32}}var jy=!1,Ri=null,Ei=null,Oi=null,Fc=new Map,Qc=new Map,fi=[],_A="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Q$(e,t){switch(e){case"focusin":case"focusout":Ri=null;break;case"dragenter":case"dragleave":Ei=null;break;case"mouseover":case"mouseout":Oi=null;break;case"pointerover":case"pointerout":Fc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Qc.delete(t.pointerId)}}function gc(e,t,n,i,r,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:i,nativeEvent:o,targetContainers:[r]},t!==null&&(t=ps(t),t!==null&&X4(t)),e):(e.eventSystemFlags|=i,t=e.targetContainers,r!==null&&t.indexOf(r)===-1&&t.push(r),e)}function zA(e,t,n,i,r){switch(t){case"focusin":return Ri=gc(Ri,e,t,n,i,r),!0;case"dragenter":return Ei=gc(Ei,e,t,n,i,r),!0;case"mouseover":return Oi=gc(Oi,e,t,n,i,r),!0;case"pointerover":var o=r.pointerId;return Fc.set(o,gc(Fc.get(o)||null,e,t,n,i,r)),!0;case"gotpointercapture":return o=r.pointerId,Qc.set(o,gc(Qc.get(o)||null,e,t,n,i,r)),!0}return!1}function eE(e){var t=vo(e.target);if(t!==null){var n=Xc(t);if(n!==null){if(t=n.tag,t===13){if(t=r2(n),t!==null){e.blockedOn=t,xT(e.priority,function(){F$(n)});return}}else if(t===31){if(t=i2(n),t!==null){e.blockedOn=t,xT(e.priority,function(){F$(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function up(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Cy(e.nativeEvent);if(n===null){n=e.nativeEvent;var i=new n.constructor(n.type,n);U0=i,n.target.dispatchEvent(i),U0=null}else return t=ps(n),t!==null&&X4(t),e.blockedOn=n,!1;t.shift()}return!0}function X$(e,t,n){up(e)&&n.delete(t)}function xA(){jy=!1,Ri!==null&&up(Ri)&&(Ri=null),Ei!==null&&up(Ei)&&(Ei=null),Oi!==null&&up(Oi)&&(Oi=null),Fc.forEach(X$),Qc.forEach(X$)}function Vf(e,t){e.blockedOn===t&&(e.blockedOn=null,jy||(jy=!0,et.unstable_scheduleCallback(et.unstable_NormalPriority,xA)))}var Bf=null;function W$(e){Bf!==e&&(Bf=e,et.unstable_scheduleCallback(et.unstable_NormalPriority,function(){Bf===e&&(Bf=null);for(var t=0;t<e.length;t+=3){var n=e[t],i=e[t+1],r=e[t+2];if(typeof i!="function"){if(CS(i||n)===null)continue;break}var o=ps(n);o!==null&&(e.splice(t,3),t-=3,W0(o,{pending:!0,data:r,method:n.method,action:i},i,r))}}))}function ms(e){function t(l){return Vf(l,e)}Ri!==null&&Vf(Ri,e),Ei!==null&&Vf(Ei,e),Oi!==null&&Vf(Oi,e),Fc.forEach(t),Qc.forEach(t);for(var n=0;n<fi.length;n++){var i=fi[n];i.blockedOn===e&&(i.blockedOn=null)}for(;0<fi.length&&(n=fi[0],n.blockedOn===null);)eE(n),n.blockedOn===null&&fi.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(i=0;i<n.length;i+=3){var r=n[i],o=n[i+1],a=r[Yt]||null;if(typeof o=="function")a||W$(n);else if(a){var s=null;if(o&&o.hasAttribute("formAction")){if(r=o,a=o[Yt]||null)s=a.formAction;else if(CS(r)!==null)continue}else s=a.action;typeof s=="function"?n[i+1]=s:(n.splice(i,3),i-=3),W$(n)}}}function tE(){function e(o){o.canIntercept&&o.info==="react-transition"&&o.intercept({handler:function(){return new Promise(function(a){return r=a})},focusReset:"manual",scroll:"manual"})}function t(){r!==null&&(r(),r=null),i||setTimeout(n,20)}function n(){if(!i&&!navigation.transition){var o=navigation.currentEntry;o&&o.url!=null&&navigation.navigate(o.url,{state:o.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var i=!1,r=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(n,100),function(){i=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),r!==null&&(r(),r=null)}}}function jS(e){this._internalRoot=e}ih.prototype.render=jS.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(R(409));var n=t.current,i=un();Q4(n,i,e,t,null,null)};ih.prototype.unmount=jS.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Q4(e.current,2,null,e,null,null),th(),t[fs]=null}};function ih(e){this._internalRoot=e}ih.prototype.unstable_scheduleHydration=function(e){if(e){var t=y2();e={blockedOn:null,target:e,priority:t};for(var n=0;n<fi.length&&t!==0&&t<fi[n].priority;n++);fi.splice(n,0,e),n===0&&eE(e)}};var e2=t2.version;if(e2!=="19.3.0")throw Error(R(527,e2,"19.3.0"));he.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(R(188)):(e=Object.keys(e).join(","),Error(R(268,e)));return e=wN(t),e=e!==null?o2(e):null,e=e===null?null:e.stateNode,e};var wA={bundleType:0,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:Q,reconcilerVersion:"19.3.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(vc=__REACT_DEVTOOLS_GLOBAL_HOOK__,!vc.isDisabled&&vc.supportsFiber))try{Wc=vc.inject(wA),ln=vc}catch{}var vc;oh.createRoot=function(e,t){if(!n2(e))throw Error(R(299));var n=!1,i="",r=AR,o=PR,a=UR;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(i=t.identifierPrefix),t.onUncaughtError!==void 0&&(r=t.onUncaughtError),t.onCaughtError!==void 0&&(o=t.onCaughtError),t.onRecoverableError!==void 0&&(a=t.onRecoverableError)),t=K4(e,1,!1,null,null,n,i,null,r,o,a,tE),e[fs]=t.current,TS(e),new jS(t)};oh.hydrateRoot=function(e,t,n){if(!n2(e))throw Error(R(299));var i=!1,r="",o=AR,a=PR,s=UR,l=null;return n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(r=n.identifierPrefix),n.onUncaughtError!==void 0&&(o=n.onUncaughtError),n.onCaughtError!==void 0&&(a=n.onCaughtError),n.onRecoverableError!==void 0&&(s=n.onRecoverableError),n.formState!==void 0&&(l=n.formState)),t=K4(e,1,!0,t,n??null,i,r,l,o,a,s,tE),t.context=F4(null),n=t.current,i=un(),i=My(i),r=zi(i),r.callback=null,xi(n,r,i),n=i,t.current.lanes=n,tu(t,n),fr(t),e[fs]=t.current,TS(e),new ih(t)};oh.version="19.3.0"});var oE=Xn((f7,iE)=>{"use strict";function rE(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(rE)}catch(e){console.error(e)}}rE(),iE.exports=nE()});var c3=Xn(xv=>{"use strict";var A8=Symbol.for("react.transitional.element"),P8=Symbol.for("react.fragment");function l3(e,t,n){var i=null;if(n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),"key"in t){n={};for(var r in t)r!=="key"&&(n[r]=t[r])}else n=t;return t=n.ref,{$$typeof:A8,type:e,key:i,ref:t!==void 0?t:null,props:n}}xv.Fragment=P8;xv.jsx=l3;xv.jsxs=l3});var ce=Xn((fV,u3)=>{"use strict";u3.exports=c3()});var ZI=J(oE(),1),Ce=J(Ae(),1);var wl=J(Ae(),1);var TA=Object.create,ah=Object.defineProperty,$A=Object.getOwnPropertyDescriptor,RA=Object.getOwnPropertyNames,EA=Object.getPrototypeOf,OA=Object.prototype.hasOwnProperty,aE=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),sE=(e,t)=>{let n={};for(var i in e)ah(n,i,{get:e[i],enumerable:!0});return t&&ah(n,Symbol.toStringTag,{value:"Module"}),n},kA=(e,t,n,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(var r=RA(t),o=0,a=r.length,s;o<a;o++)s=r[o],!OA.call(e,s)&&s!==n&&ah(e,s,{get:(l=>t[l]).bind(null,s),enumerable:!(i=$A(t,s))||i.enumerable});return e},lE=(e,t,n)=>(n=e!=null?TA(EA(e)):{},kA(t||!e||!e.__esModule?ah(n,"default",{value:e,enumerable:!0}):n,e));var IA=new Set(["https://json-schema.org/draft/2019-09/schema","http://json-schema.org/draft/2019-09/schema"]);function cE(e){return typeof e=="string"&&IA.has(e.replace(/#$/,""))}var h={};Er(h,{$brand:()=>AS,$input:()=>n1,$output:()=>t1,NEVER:()=>uu,TimePrecision:()=>a1,ZodAny:()=>Bz,ZodArray:()=>Kz,ZodBase64:()=>Cg,ZodBase64URL:()=>jg,ZodBigInt:()=>Fs,ZodBigIntFormat:()=>Ug,ZodBoolean:()=>Ks,ZodCIDRv4:()=>Ig,ZodCIDRv6:()=>Ng,ZodCUID:()=>wg,ZodCUID2:()=>Tg,ZodCatch:()=>hx,ZodCodec:()=>Lu,ZodCustom:()=>qu,ZodCustomStringFormat:()=>Js,ZodDate:()=>Pu,ZodDefault:()=>cx,ZodDiscriminatedUnion:()=>Qz,ZodE164:()=>Ag,ZodEmail:()=>bg,ZodEmoji:()=>zg,ZodEnum:()=>Vs,ZodError:()=>lU,ZodExactOptional:()=>ax,ZodFile:()=>ix,ZodFirstPartyTypeKind:()=>Rx,ZodFunction:()=>wx,ZodGUID:()=>Nu,ZodIPv4:()=>Og,ZodIPv6:()=>kg,ZodISODate:()=>pg,ZodISODateTime:()=>fg,ZodISODuration:()=>gg,ZodISOTime:()=>hg,ZodIntersection:()=>Xz,ZodIssueCode:()=>Ex,ZodJWT:()=>Pg,ZodKSUID:()=>Eg,ZodLazy:()=>zx,ZodLiteral:()=>rx,ZodMAC:()=>qz,ZodMap:()=>tx,ZodNaN:()=>vx,ZodNanoID:()=>xg,ZodNever:()=>Jz,ZodNonOptional:()=>Hg,ZodNull:()=>Vz,ZodNullable:()=>lx,ZodNumber:()=>Ys,ZodNumberFormat:()=>Bo,ZodObject:()=>Uu,ZodOptional:()=>qg,ZodPipe:()=>Du,ZodPrefault:()=>dx,ZodPreprocess:()=>yx,ZodPromise:()=>xx,ZodReadonly:()=>Sx,ZodRealError:()=>Qt,ZodRecord:()=>Zs,ZodSet:()=>nx,ZodString:()=>Bs,ZodStringFormat:()=>we,ZodSuccess:()=>px,ZodSymbol:()=>Hz,ZodTemplateLiteral:()=>_x,ZodTransform:()=>ox,ZodTuple:()=>Wz,ZodType:()=>ne,ZodULID:()=>$g,ZodURL:()=>Au,ZodUUID:()=>vr,ZodUndefined:()=>Zz,ZodUnion:()=>Mu,ZodUnknown:()=>Gz,ZodVoid:()=>Yz,ZodXID:()=>Rg,ZodXor:()=>Fz,_ZodString:()=>Sg,_default:()=>ux,_function:()=>V6,any:()=>Mg,array:()=>z,base64:()=>c6,base64url:()=>u6,bigint:()=>_6,boolean:()=>D,catch:()=>gx,check:()=>B6,cidrv4:()=>s6,cidrv6:()=>l6,clone:()=>jt,codec:()=>L6,coerce:()=>Hu,config:()=>Ve,core:()=>Jr,cuid:()=>WO,cuid2:()=>e6,custom:()=>G6,date:()=>R6,decode:()=>jz,decodeAsync:()=>Pz,describe:()=>J6,discriminatedUnion:()=>Ji,e164:()=>d6,email:()=>_g,emoji:()=>QO,encode:()=>Cz,encodeAsync:()=>Az,endsWith:()=>js,enum:()=>K,exactOptional:()=>sx,file:()=>P6,flattenError:()=>yu,float32:()=>v6,float64:()=>y6,formatError:()=>Su,fromJSONSchema:()=>W6,function:()=>V6,getErrorMap:()=>dU,globalRegistry:()=>vt,gt:()=>hr,gte:()=>Pt,guid:()=>BO,hash:()=>g6,hex:()=>h6,hostname:()=>p6,httpUrl:()=>FO,includes:()=>Ns,instanceof:()=>K6,int:()=>vg,int32:()=>S6,int64:()=>z6,intersection:()=>Jn,invertCodec:()=>q6,ipv4:()=>i6,ipv6:()=>a6,iso:()=>hn,json:()=>Q6,jwt:()=>m6,keyof:()=>E6,ksuid:()=>r6,lazy:()=>Yi,length:()=>Zo,literal:()=>w,locales:()=>Ru,looseObject:()=>Y,looseRecord:()=>N6,lowercase:()=>ks,lt:()=>pr,lte:()=>pn,mac:()=>o6,map:()=>C6,maxLength:()=>Ho,maxSize:()=>Zi,meta:()=>Y6,mime:()=>As,minLength:()=>Gr,minSize:()=>gr,multipleOf:()=>Hi,nan:()=>D6,nanoid:()=>XO,nativeEnum:()=>A6,negative:()=>ig,never:()=>Dg,nonnegative:()=>ag,nonoptional:()=>fx,nonpositive:()=>og,normalize:()=>Ps,null:()=>yr,nullable:()=>Cu,nullish:()=>U6,number:()=>O,object:()=>v,optional:()=>V,overwrite:()=>Gn,parse:()=>kz,parseAsync:()=>Iz,partialRecord:()=>I6,pipe:()=>yg,positive:()=>rg,prefault:()=>mx,preprocess:()=>Yr,prettifyError:()=>YS,promise:()=>Z6,property:()=>sg,readonly:()=>bx,record:()=>U,refine:()=>Tx,regex:()=>Os,regexes:()=>fn,registry:()=>Ph,safeDecode:()=>Mz,safeDecodeAsync:()=>Lz,safeEncode:()=>Uz,safeEncodeAsync:()=>Dz,safeParse:()=>Iu,safeParseAsync:()=>Nz,set:()=>j6,setErrorMap:()=>uU,size:()=>qo,slugify:()=>Ls,startsWith:()=>Cs,strictObject:()=>O6,string:()=>u,stringFormat:()=>f6,stringbool:()=>F6,success:()=>M6,superRefine:()=>$x,symbol:()=>w6,templateLiteral:()=>H6,toJSONSchema:()=>Vo,toLowerCase:()=>Ms,toUpperCase:()=>Ds,transform:()=>Lg,treeifyError:()=>JS,trim:()=>Us,tuple:()=>ex,uint32:()=>b6,uint64:()=>x6,ulid:()=>t6,undefined:()=>T6,union:()=>q,unknown:()=>Z,uppercase:()=>Is,url:()=>Gs,util:()=>C,uuid:()=>GO,uuidv4:()=>JO,uuidv6:()=>YO,uuidv7:()=>KO,void:()=>$6,xid:()=>n6,xor:()=>k6});var Jr={};Er(Jr,{$ZodAny:()=>x_,$ZodArray:()=>E_,$ZodAsyncError:()=>Bn,$ZodBase64:()=>f_,$ZodBase64URL:()=>p_,$ZodBigInt:()=>Eh,$ZodBigIntFormat:()=>S_,$ZodBoolean:()=>xu,$ZodCIDRv4:()=>u_,$ZodCIDRv6:()=>d_,$ZodCUID:()=>Xb,$ZodCUID2:()=>Wb,$ZodCatch:()=>G_,$ZodCheck:()=>Ee,$ZodCheckBigIntFormat:()=>Eb,$ZodCheckEndsWith:()=>Lb,$ZodCheckGreaterThan:()=>zh,$ZodCheckIncludes:()=>Mb,$ZodCheckLengthEquals:()=>jb,$ZodCheckLessThan:()=>_h,$ZodCheckLowerCase:()=>Pb,$ZodCheckMaxLength:()=>Nb,$ZodCheckMaxSize:()=>Ob,$ZodCheckMimeType:()=>Hb,$ZodCheckMinLength:()=>Cb,$ZodCheckMinSize:()=>kb,$ZodCheckMultipleOf:()=>$b,$ZodCheckNumberFormat:()=>Rb,$ZodCheckOverwrite:()=>Zb,$ZodCheckProperty:()=>qb,$ZodCheckRegex:()=>Ab,$ZodCheckSizeEquals:()=>Ib,$ZodCheckStartsWith:()=>Db,$ZodCheckStringFormat:()=>Rs,$ZodCheckUpperCase:()=>Ub,$ZodCodec:()=>Tu,$ZodCustom:()=>e1,$ZodCustomStringFormat:()=>v_,$ZodDate:()=>R_,$ZodDefault:()=>H_,$ZodDiscriminatedUnion:()=>I_,$ZodE164:()=>h_,$ZodEmail:()=>Yb,$ZodEmoji:()=>Fb,$ZodEncodeError:()=>Ui,$ZodEnum:()=>P_,$ZodError:()=>vu,$ZodExactOptional:()=>L_,$ZodFile:()=>M_,$ZodFunction:()=>Q_,$ZodGUID:()=>Gb,$ZodIPv4:()=>s_,$ZodIPv6:()=>l_,$ZodISODate:()=>i_,$ZodISODateTime:()=>r_,$ZodISODuration:()=>a_,$ZodISOTime:()=>o_,$ZodIntersection:()=>N_,$ZodJWT:()=>g_,$ZodKSUID:()=>n_,$ZodLazy:()=>W_,$ZodLiteral:()=>U_,$ZodMAC:()=>c_,$ZodMap:()=>j_,$ZodNaN:()=>J_,$ZodNanoID:()=>Qb,$ZodNever:()=>T_,$ZodNonOptional:()=>V_,$ZodNull:()=>z_,$ZodNullable:()=>q_,$ZodNumber:()=>Rh,$ZodNumberFormat:()=>y_,$ZodObject:()=>LE,$ZodObjectJIT:()=>O_,$ZodOptional:()=>kh,$ZodPipe:()=>Ih,$ZodPrefault:()=>Z_,$ZodPreprocess:()=>Y_,$ZodPromise:()=>X_,$ZodReadonly:()=>K_,$ZodRealError:()=>Ft,$ZodRecord:()=>C_,$ZodRegistry:()=>Ah,$ZodSet:()=>A_,$ZodString:()=>Lo,$ZodStringFormat:()=>xe,$ZodSuccess:()=>B_,$ZodSymbol:()=>b_,$ZodTemplateLiteral:()=>F_,$ZodTransform:()=>D_,$ZodTuple:()=>Oh,$ZodType:()=>X,$ZodULID:()=>e_,$ZodURL:()=>Kb,$ZodUUID:()=>Jb,$ZodUndefined:()=>__,$ZodUnion:()=>wu,$ZodUnknown:()=>w_,$ZodVoid:()=>$_,$ZodXID:()=>t_,$ZodXor:()=>k_,$brand:()=>AS,$constructor:()=>b,$input:()=>n1,$output:()=>t1,Doc:()=>zu,JSONSchema:()=>HO,JSONSchemaGenerator:()=>dg,NEVER:()=>uu,TimePrecision:()=>a1,_any:()=>R1,_array:()=>j1,_base64:()=>Wh,_base64url:()=>eg,_bigint:()=>b1,_boolean:()=>y1,_catch:()=>eU,_check:()=>qO,_cidrv4:()=>Qh,_cidrv6:()=>Xh,_coercedBigint:()=>_1,_coercedBoolean:()=>S1,_coercedDate:()=>N1,_coercedNumber:()=>m1,_coercedString:()=>i1,_cuid:()=>Vh,_cuid2:()=>Bh,_custom:()=>P1,_date:()=>I1,_decode:()=>mh,_decodeAsync:()=>ph,_default:()=>Q5,_discriminatedUnion:()=>D5,_e164:()=>tg,_email:()=>Uh,_emoji:()=>Hh,_encode:()=>dh,_encodeAsync:()=>fh,_endsWith:()=>js,_enum:()=>B5,_file:()=>A1,_float32:()=>p1,_float64:()=>h1,_gt:()=>hr,_gte:()=>Pt,_guid:()=>Eu,_includes:()=>Ns,_int:()=>f1,_int32:()=>g1,_int64:()=>z1,_intersection:()=>L5,_ipv4:()=>Kh,_ipv6:()=>Fh,_isoDate:()=>l1,_isoDateTime:()=>s1,_isoDuration:()=>u1,_isoTime:()=>c1,_jwt:()=>ng,_ksuid:()=>Yh,_lazy:()=>iU,_length:()=>Zo,_literal:()=>J5,_lowercase:()=>ks,_lt:()=>pr,_lte:()=>pn,_mac:()=>o1,_map:()=>Z5,_max:()=>pn,_maxLength:()=>Ho,_maxSize:()=>Zi,_mime:()=>As,_min:()=>Pt,_minLength:()=>Gr,_minSize:()=>gr,_multipleOf:()=>Hi,_nan:()=>C1,_nanoid:()=>Zh,_nativeEnum:()=>G5,_negative:()=>ig,_never:()=>O1,_nonnegative:()=>ag,_nonoptional:()=>X5,_nonpositive:()=>og,_normalize:()=>Ps,_null:()=>$1,_nullable:()=>F5,_number:()=>d1,_optional:()=>K5,_overwrite:()=>Gn,_parse:()=>xs,_parseAsync:()=>ws,_pipe:()=>tU,_positive:()=>rg,_promise:()=>oU,_property:()=>sg,_readonly:()=>nU,_record:()=>H5,_refine:()=>U1,_regex:()=>Os,_safeDecode:()=>gh,_safeDecodeAsync:()=>yh,_safeEncode:()=>hh,_safeEncodeAsync:()=>vh,_safeParse:()=>Ts,_safeParseAsync:()=>$s,_set:()=>V5,_size:()=>qo,_slugify:()=>Ls,_startsWith:()=>Cs,_string:()=>r1,_stringFormat:()=>qs,_stringbool:()=>q1,_success:()=>W5,_superRefine:()=>M1,_symbol:()=>w1,_templateLiteral:()=>rU,_toLowerCase:()=>Ms,_toUpperCase:()=>Ds,_transform:()=>Y5,_trim:()=>Us,_tuple:()=>q5,_uint32:()=>v1,_uint64:()=>x1,_ulid:()=>Gh,_undefined:()=>T1,_union:()=>U5,_unknown:()=>E1,_uppercase:()=>Is,_url:()=>Ou,_uuid:()=>Mh,_uuidv4:()=>Dh,_uuidv6:()=>Lh,_uuidv7:()=>qh,_void:()=>k1,_xid:()=>Jh,_xor:()=>M5,clone:()=>jt,config:()=>Ve,createStandardJSONSchemaMethod:()=>Hs,createToJSONSchemaMethod:()=>H1,decode:()=>oP,decodeAsync:()=>sP,describe:()=>D1,encode:()=>iP,encodeAsync:()=>aP,extractDefs:()=>Bi,finalize:()=>Gi,flattenError:()=>yu,formatError:()=>Su,globalConfig:()=>Uo,globalRegistry:()=>vt,initializeContext:()=>Vi,isValidBase64:()=>m_,isValidBase64URL:()=>PE,isValidJWT:()=>UE,locales:()=>Ru,meta:()=>L1,parse:()=>ch,parseAsync:()=>uh,prettifyError:()=>YS,process:()=>ye,regexes:()=>fn,registry:()=>Ph,safeDecode:()=>cP,safeDecodeAsync:()=>dP,safeEncode:()=>lP,safeEncodeAsync:()=>uP,safeParse:()=>KS,safeParseAsync:()=>FS,toDotPath:()=>hE,toJSONSchema:()=>Vo,treeifyError:()=>JS,util:()=>C,version:()=>Vb});var uE,uu=Object.freeze({status:"aborted"});function b(e,t,n){function i(s,l){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:l,constr:a,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,l);let c=a.prototype,d=Object.keys(c);for(let p=0;p<d.length;p++){let m=d[p];m in s||(s[m]=c[m].bind(s))}}let r=n?.Parent??Object;class o extends r{}Object.defineProperty(o,"name",{value:e});function a(s){var l;let c=n?.Parent?new o:this;i(c,s),(l=c._zod).deferred??(l.deferred=[]);for(let d of c._zod.deferred)d();return c}return Object.defineProperty(a,"init",{value:i}),Object.defineProperty(a,Symbol.hasInstance,{value:s=>n?.Parent&&s instanceof n.Parent?!0:s?._zod?.traits?.has(e)}),Object.defineProperty(a,"name",{value:e}),a}var AS=Symbol("zod_brand"),Bn=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},Ui=class extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}};(uE=globalThis).__zod_globalConfig??(uE.__zod_globalConfig={});var Uo=globalThis.__zod_globalConfig;function Ve(e){return e&&Object.assign(Uo,e),Uo}var C={};Er(C,{BIGINT_FORMAT_RANGES:()=>BS,Class:()=>US,NUMBER_FORMAT_RANGES:()=>VS,aborted:()=>qi,allowsEval:()=>LS,assert:()=>PA,assertEqual:()=>NA,assertIs:()=>jA,assertNever:()=>AA,assertNotEqual:()=>CA,assignProp:()=>Di,base64ToUint8Array:()=>mE,base64urlToUint8Array:()=>WA,cached:()=>_s,captureStackTrace:()=>lh,cleanEnum:()=>XA,cleanRegex:()=>fu,clone:()=>jt,cloneDef:()=>MA,createTransparentProxy:()=>VA,defineLazy:()=>ie,esc:()=>sh,escapeRegex:()=>An,explicitlyAborted:()=>GS,extend:()=>JA,finalizeIssue:()=>At,floatSafeRemainder:()=>MS,getElementAtPath:()=>DA,getEnumValues:()=>mu,getLengthableOrigin:()=>gu,getParsedType:()=>ZA,getSizableOrigin:()=>hu,hexToUint8Array:()=>tP,isObject:()=>Mo,isPlainObject:()=>Li,issue:()=>zs,joinValues:()=>T,jsonStringifyReplacer:()=>bs,merge:()=>KA,mergeDefs:()=>Br,normalizeParams:()=>P,nullish:()=>Mi,numKeys:()=>HA,objectClone:()=>UA,omit:()=>GA,optionalKeys:()=>ZS,parsedType:()=>I,partial:()=>FA,pick:()=>BA,prefixIssues:()=>Kt,primitiveTypes:()=>HS,promiseAllObject:()=>LA,propertyKeyTypes:()=>pu,randomString:()=>qA,required:()=>QA,safeExtend:()=>YA,shallowClone:()=>qS,slugify:()=>DS,stringifyPrimitive:()=>k,uint8ArrayToBase64:()=>fE,uint8ArrayToBase64url:()=>eP,uint8ArrayToHex:()=>nP,unwrapMessage:()=>du});function NA(e){return e}function CA(e){return e}function jA(e){}function AA(e){throw new Error("Unexpected value in exhaustive check")}function PA(e){}function mu(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 T(e,t="|"){return e.map(n=>k(n)).join(t)}function bs(e,t){return typeof t=="bigint"?t.toString():t}function _s(e){return{get value(){{let n=e();return Object.defineProperty(this,"value",{value:n}),n}throw new Error("cached value already set")}}}function Mi(e){return e==null}function fu(e){let t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function MS(e,t){let n=e/t,i=Math.round(n),r=Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-i)<r?0:n-i}var dE=Symbol("evaluating");function ie(e,t,n){let i;Object.defineProperty(e,t,{get(){if(i!==dE)return i===void 0&&(i=dE,i=n()),i},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function UA(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function Di(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Br(...e){let t={};for(let n of e){let i=Object.getOwnPropertyDescriptors(n);Object.assign(t,i)}return Object.defineProperties({},t)}function MA(e){return Br(e._zod.def)}function DA(e,t){return t?t.reduce((n,i)=>n?.[i],e):e}function LA(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 qA(e=10){let t="abcdefghijklmnopqrstuvwxyz",n="";for(let i=0;i<e;i++)n+=t[Math.floor(Math.random()*t.length)];return n}function sh(e){return JSON.stringify(e)}function DS(e){return e.toLowerCase().trim().replace(/[^\\w\\s-]/g,"").replace(/[\\s_-]+/g,"-").replace(/^-+|-+$/g,"")}var lh="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Mo(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var LS=_s(()=>{if(Uo.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function Li(e){if(Mo(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!="function")return!0;let n=t.prototype;return!(Mo(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function qS(e){return Li(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function HA(e){let t=0;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t++;return t}var ZA=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}`)}},pu=new Set(["string","number","symbol"]),HS=new Set(["string","number","bigint","boolean","symbol","undefined"]);function An(e){return e.replace(/[.*+?^${}()|[\\]\\\\]/g,"\\\\$&")}function jt(e,t,n){let i=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(i._zod.parent=e),i}function P(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 VA(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 k(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function ZS(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}var VS={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]},BS={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function BA(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=Br(e._zod.def,{get shape(){let a={};for(let s in t){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&(a[s]=n.shape[s])}return Di(this,"shape",a),a},checks:[]});return jt(e,o)}function GA(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=Br(e._zod.def,{get shape(){let a={...e._zod.def.shape};for(let s in t){if(!(s in n.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&delete a[s]}return Di(this,"shape",a),a},checks:[]});return jt(e,o)}function JA(e,t){if(!Li(t))throw new Error("Invalid input to extend: expected a plain object");let n=e._zod.def.checks;if(n&&n.length>0){let o=e._zod.def.shape;for(let a in t)if(Object.getOwnPropertyDescriptor(o,a)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}let r=Br(e._zod.def,{get shape(){let o={...e._zod.def.shape,...t};return Di(this,"shape",o),o}});return jt(e,r)}function YA(e,t){if(!Li(t))throw new Error("Invalid input to safeExtend: expected a plain object");let n=Br(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t};return Di(this,"shape",i),i}});return jt(e,n)}function KA(e,t){if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");let n=Br(e._zod.def,{get shape(){let i={...e._zod.def.shape,...t._zod.def.shape};return Di(this,"shape",i),i},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return jt(e,n)}function FA(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");let a=Br(t._zod.def,{get shape(){let s=t._zod.def.shape,l={...s};if(n)for(let c in n){if(!(c in s))throw new Error(`Unrecognized key: "${c}"`);n[c]&&(l[c]=e?new e({type:"optional",innerType:s[c]}):s[c])}else for(let c in s)l[c]=e?new e({type:"optional",innerType:s[c]}):s[c];return Di(this,"shape",l),l},checks:[]});return jt(t,a)}function QA(e,t,n){let i=Br(t._zod.def,{get shape(){let r=t._zod.def.shape,o={...r};if(n)for(let a in n){if(!(a in o))throw new Error(`Unrecognized key: "${a}"`);n[a]&&(o[a]=new e({type:"nonoptional",innerType:r[a]}))}else for(let a in r)o[a]=new e({type:"nonoptional",innerType:r[a]});return Di(this,"shape",o),o}});return jt(t,i)}function qi(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 GS(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 Kt(e,t){return t.map(n=>{var i;return(i=n).path??(i.path=[]),n.path.unshift(e),n})}function du(e){return typeof e=="string"?e:e?.message}function At(e,t,n){let i=e.message?e.message:du(e.inst?._zod.def?.error?.(e))??du(t?.error?.(e))??du(n.customError?.(e))??du(n.localeError?.(e))??"Invalid input",{inst:r,continue:o,input:a,...s}=e;return s.path??(s.path=[]),s.message=i,t?.reportInput&&(s.input=a),s}function hu(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function gu(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function I(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 zs(...e){let[t,n,i]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:i}:{...t}}function XA(e){return Object.entries(e).filter(([t,n])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function mE(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 fE(e){let t="";for(let n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return btoa(t)}function WA(e){let t=e.replace(/-/g,"+").replace(/_/g,"/"),n="=".repeat((4-t.length%4)%4);return mE(t+n)}function eP(e){return fE(e).replace(/\\+/g,"-").replace(/\\//g,"_").replace(/=/g,"")}function tP(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 nP(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}var US=class{constructor(...t){}};var pE=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,bs,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},vu=b("$ZodError",pE),Ft=b("$ZodError",pE,{Parent:Error});function yu(e,t=n=>n.message){let n={},i=[];for(let r of e.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(t(r))):i.push(t(r));return{formErrors:i,fieldErrors:n}}function Su(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(s=>i({issues:s},[...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 s=[...o,...a.path];if(s.length===0)n._errors.push(t(a));else{let l=n,c=0;for(;c<s.length;){let d=s[c];c===s.length-1?(l[d]=l[d]||{_errors:[]},l[d]._errors.push(t(a))):l[d]=l[d]||{_errors:[]},l=l[d],c++}}}};return i(e),n}function JS(e,t=n=>n.message){let n={errors:[]},i=(r,o=[])=>{var a,s;for(let l of r.issues)if(l.code==="invalid_union"&&l.errors.length)l.errors.map(c=>i({issues:c},[...o,...l.path]));else if(l.code==="invalid_key")i({issues:l.issues},[...o,...l.path]);else if(l.code==="invalid_element")i({issues:l.issues},[...o,...l.path]);else{let c=[...o,...l.path];if(c.length===0){n.errors.push(t(l));continue}let d=n,p=0;for(;p<c.length;){let m=c[p],f=p===c.length-1;typeof m=="string"?(d.properties??(d.properties={}),(a=d.properties)[m]??(a[m]={errors:[]}),d=d.properties[m]):(d.items??(d.items=[]),(s=d.items)[m]??(s[m]={errors:[]}),d=d.items[m]),f&&d.errors.push(t(l)),p++}}};return i(e),n}function hE(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 YS(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 ${hE(i.path)}`);return t.join(`\n`)}var xs=e=>(t,n,i,r)=>{let o=i?{...i,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},o);if(a instanceof Promise)throw new Bn;if(a.issues.length){let s=new(r?.Err??e)(a.issues.map(l=>At(l,o,Ve())));throw lh(s,r?.callee),s}return a.value},ch=xs(Ft),ws=e=>async(t,n,i,r)=>{let o=i?{...i,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},o);if(a instanceof Promise&&(a=await a),a.issues.length){let s=new(r?.Err??e)(a.issues.map(l=>At(l,o,Ve())));throw lh(s,r?.callee),s}return a.value},uh=ws(Ft),Ts=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 Bn;return o.issues.length?{success:!1,error:new(e??vu)(o.issues.map(a=>At(a,r,Ve())))}:{success:!0,data:o.value}},KS=Ts(Ft),$s=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?{success:!1,error:new e(o.issues.map(a=>At(a,r,Ve())))}:{success:!0,data:o.value}},FS=$s(Ft),dh=e=>(t,n,i)=>{let r=i?{...i,direction:"backward"}:{direction:"backward"};return xs(e)(t,n,r)},iP=dh(Ft),mh=e=>(t,n,i)=>xs(e)(t,n,i),oP=mh(Ft),fh=e=>async(t,n,i)=>{let r=i?{...i,direction:"backward"}:{direction:"backward"};return ws(e)(t,n,r)},aP=fh(Ft),ph=e=>async(t,n,i)=>ws(e)(t,n,i),sP=ph(Ft),hh=e=>(t,n,i)=>{let r=i?{...i,direction:"backward"}:{direction:"backward"};return Ts(e)(t,n,r)},lP=hh(Ft),gh=e=>(t,n,i)=>Ts(e)(t,n,i),cP=gh(Ft),vh=e=>async(t,n,i)=>{let r=i?{...i,direction:"backward"}:{direction:"backward"};return $s(e)(t,n,r)},uP=vh(Ft),yh=e=>async(t,n,i)=>$s(e)(t,n,i),dP=yh(Ft);var fn={};Er(fn,{base64:()=>mb,base64url:()=>Sh,bigint:()=>Sb,boolean:()=>_b,browserEmail:()=>SP,cidrv4:()=>ub,cidrv6:()=>db,cuid:()=>QS,cuid2:()=>XS,date:()=>hb,datetime:()=>vb,domain:()=>zP,duration:()=>rb,e164:()=>pb,email:()=>ob,emoji:()=>ab,extendedDuration:()=>mP,guid:()=>ib,hex:()=>xP,hostname:()=>_P,html5Email:()=>gP,httpProtocol:()=>fb,idnEmail:()=>yP,integer:()=>bb,ipv4:()=>sb,ipv6:()=>lb,ksuid:()=>tb,lowercase:()=>wb,mac:()=>cb,md5_base64:()=>TP,md5_base64url:()=>$P,md5_hex:()=>wP,nanoid:()=>nb,null:()=>zb,number:()=>bh,rfc5322Email:()=>vP,sha1_base64:()=>EP,sha1_base64url:()=>OP,sha1_hex:()=>RP,sha256_base64:()=>IP,sha256_base64url:()=>NP,sha256_hex:()=>kP,sha384_base64:()=>jP,sha384_base64url:()=>AP,sha384_hex:()=>CP,sha512_base64:()=>UP,sha512_base64url:()=>MP,sha512_hex:()=>PP,string:()=>yb,time:()=>gb,ulid:()=>WS,undefined:()=>xb,unicodeEmail:()=>gE,uppercase:()=>Tb,uuid:()=>Do,uuid4:()=>fP,uuid6:()=>pP,uuid7:()=>hP,xid:()=>eb});var QS=/^[cC][0-9a-z]{6,}$/,XS=/^[0-9a-z]+$/,WS=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,eb=/^[0-9a-vA-V]{20}$/,tb=/^[A-Za-z0-9]{27}$/,nb=/^[a-zA-Z0-9_-]{21}$/,rb=/^P(?:(\\d+W)|(?!.*W)(?=\\d|T\\d)(\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+([.,]\\d+)?S)?)?)$/,mP=/^[-+]?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)?)??$/,ib=/^([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})$/,Do=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)$/,fP=Do(4),pP=Do(6),hP=Do(7),ob=/^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_\'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$/,gP=/^[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])?)*$/,vP=/^(([^<>()\\[\\]\\\\.,;:\\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,}))$/,gE=/^[^\\s@"]{1,64}@[^\\s@]{1,255}$/u,yP=gE,SP=/^[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])?)*$/,bP="^(\\\\p{Extended_Pictographic}|\\\\p{Emoji_Component})+$";function ab(){return new RegExp(bP,"u")}var sb=/^(?:(?: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])$/,lb=/^(([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}|:))$/,cb=e=>{let t=An(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},ub=/^((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])$/,db=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,mb=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Sh=/^[A-Za-z0-9_-]*$/,_P=/^(?=.{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])?)*\\.?$/,zP=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\\.)+[a-zA-Z]{2,}$/,fb=/^https?$/,pb=/^\\+[1-9]\\d{6,14}$/,vE="(?:(?:\\\\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])))",hb=new RegExp(`^${vE}$`);function yE(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}}`:`${t}(?::[0-5]\\\\d(?:\\\\.\\\\d+)?)?`}function gb(e){return new RegExp(`^${yE(e)}$`)}function vb(e){let t=yE({precision:e.precision}),n=["Z"];e.local&&n.push(""),e.offset&&n.push("([+-](?:[01]\\\\d|2[0-3]):[0-5]\\\\d)");let i=`${t}(?:${n.join("|")})`;return new RegExp(`^${vE}T(?:${i})$`)}var yb=e=>{let t=e?`[\\\\s\\\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\\\s\\\\S]*";return new RegExp(`^${t}$`)},Sb=/^-?\\d+n?$/,bb=/^-?\\d+$/,bh=/^-?\\d+(?:\\.\\d+)?$/,_b=/^(?:true|false)$/i,zb=/^null$/i;var xb=/^undefined$/i;var wb=/^[^A-Z]*$/,Tb=/^[^a-z]*$/,xP=/^[0-9a-fA-F]*$/;function bu(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function _u(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}var wP=/^[0-9a-fA-F]{32}$/,TP=bu(22,"=="),$P=_u(22),RP=/^[0-9a-fA-F]{40}$/,EP=bu(27,"="),OP=_u(27),kP=/^[0-9a-fA-F]{64}$/,IP=bu(43,"="),NP=_u(43),CP=/^[0-9a-fA-F]{96}$/,jP=bu(64,""),AP=_u(64),PP=/^[0-9a-fA-F]{128}$/,UP=bu(86,"=="),MP=_u(86);var Ee=b("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),bE={number:"number",bigint:"bigint",object:"date"},_h=b("$ZodCheckLessThan",(e,t)=>{Ee.init(e,t);let n=bE[typeof t.value];e._zod.onattach.push(i=>{let r=i._zod.bag,o=(t.inclusive?r.maximum:r.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<o&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value<=t.value:i.value<t.value)||i.issues.push({origin: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})}}),zh=b("$ZodCheckGreaterThan",(e,t)=>{Ee.init(e,t);let n=bE[typeof t.value];e._zod.onattach.push(i=>{let r=i._zod.bag,o=(t.inclusive?r.minimum:r.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>o&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value>=t.value:i.value>t.value)||i.issues.push({origin: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})}}),$b=b("$ZodCheckMultipleOf",(e,t)=>{Ee.init(e,t),e._zod.onattach.push(n=>{var i;(i=n._zod.bag).multipleOf??(i.multipleOf=t.value)}),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"?n.value%t.value===BigInt(0):MS(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})}}),Rb=b("$ZodCheckNumberFormat",(e,t)=>{Ee.init(e,t),t.format=t.format||"float64";let n=t.format?.includes("int"),i=n?"int":"number",[r,o]=VS[t.format];e._zod.onattach.push(a=>{let s=a._zod.bag;s.format=t.format,s.minimum=r,s.maximum=o,n&&(s.pattern=bb)}),e._zod.check=a=>{let s=a.value;if(n){if(!Number.isInteger(s)){a.issues.push({expected:i,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});return}if(!Number.isSafeInteger(s)){s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,inclusive:!0,continue:!t.abort});return}}s<r&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),s>o&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:o,inclusive:!0,inst:e,continue:!t.abort})}}),Eb=b("$ZodCheckBigIntFormat",(e,t)=>{Ee.init(e,t);let[n,i]=BS[t.format];e._zod.onattach.push(r=>{let o=r._zod.bag;o.format=t.format,o.minimum=n,o.maximum=i}),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})}}),Ob=b("$ZodCheckMaxSize",(e,t)=>{var n;Ee.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Mi(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{let r=i.value;r.size<=t.maximum||i.issues.push({origin:hu(r),code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),kb=b("$ZodCheckMinSize",(e,t)=>{var n;Ee.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Mi(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{let r=i.value;r.size>=t.minimum||i.issues.push({origin:hu(r),code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Ib=b("$ZodCheckSizeEquals",(e,t)=>{var n;Ee.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Mi(r)&&r.size!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag;r.minimum=t.size,r.maximum=t.size,r.size=t.size}),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:hu(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})}}),Nb=b("$ZodCheckMaxLength",(e,t)=>{var n;Ee.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Mi(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{let r=i.value;if(r.length<=t.maximum)return;let a=gu(r);i.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Cb=b("$ZodCheckMinLength",(e,t)=>{var n;Ee.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Mi(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{let r=i.value;if(r.length>=t.minimum)return;let a=gu(r);i.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),jb=b("$ZodCheckLengthEquals",(e,t)=>{var n;Ee.init(e,t),(n=e._zod.def).when??(n.when=i=>{let r=i.value;return!Mi(r)&&r.length!==void 0}),e._zod.onattach.push(i=>{let r=i._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length}),e._zod.check=i=>{let r=i.value,o=r.length;if(o===t.length)return;let a=gu(r),s=o>t.length;i.issues.push({origin:a,...s?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:i.value,inst:e,continue:!t.abort})}}),Rs=b("$ZodCheckStringFormat",(e,t)=>{var n,i;Ee.init(e,t),e._zod.onattach.push(r=>{let o=r._zod.bag;o.format=t.format,t.pattern&&(o.patterns??(o.patterns=new Set),o.patterns.add(t.pattern))}),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=()=>{})}),Ab=b("$ZodCheckRegex",(e,t)=>{Rs.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})}}),Pb=b("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=wb),Rs.init(e,t)}),Ub=b("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=Tb),Rs.init(e,t)}),Mb=b("$ZodCheckIncludes",(e,t)=>{Ee.init(e,t);let n=An(t.includes),i=new RegExp(typeof t.position=="number"?`^.{${t.position}}${n}`:n);t.pattern=i,e._zod.onattach.push(r=>{let o=r._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(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})}}),Db=b("$ZodCheckStartsWith",(e,t)=>{Ee.init(e,t);let n=new RegExp(`^${An(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.onattach.push(i=>{let r=i._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(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})}}),Lb=b("$ZodCheckEndsWith",(e,t)=>{Ee.init(e,t);let n=new RegExp(`.*${An(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.onattach.push(i=>{let r=i._zod.bag;r.patterns??(r.patterns=new Set),r.patterns.add(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 SE(e,t,n){e.issues.length&&t.issues.push(...Kt(n,e.issues))}var qb=b("$ZodCheckProperty",(e,t)=>{Ee.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=>SE(r,n,t.property));SE(i,n,t.property)}}),Hb=b("$ZodCheckMimeType",(e,t)=>{Ee.init(e,t);let n=new Set(t.mime);e._zod.onattach.push(i=>{i._zod.bag.mime=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})}}),Zb=b("$ZodCheckOverwrite",(e,t)=>{Ee.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});var zu=class{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let i=t.split(`\n`).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?.args,r=[...(this?.content??[""]).map(o=>` ${o}`)];return new t(...n,r.join(`\n`))}};var Vb={major:4,minor:4,patch:3};var X=b("$ZodType",(e,t)=>{var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Vb;let i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(let r of i)for(let o of r._zod.onattach)o(e);if(i.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let r=(a,s,l)=>{let c=qi(a),d;for(let p of s){if(p._zod.def.when){if(GS(a)||!p._zod.def.when(a))continue}else if(c)continue;let m=a.issues.length,f=p._zod.check(a);if(f instanceof Promise&&l?.async===!1)throw new Bn;if(d||f instanceof Promise)d=(d??Promise.resolve()).then(async()=>{await f,a.issues.length!==m&&(c||(c=qi(a,m)))});else{if(a.issues.length===m)continue;c||(c=qi(a,m))}}return d?d.then(()=>a):a},o=(a,s,l)=>{if(qi(a))return a.aborted=!0,a;let c=r(s,i,l);if(c instanceof Promise){if(l.async===!1)throw new Bn;return c.then(d=>e._zod.parse(d,l))}return e._zod.parse(c,l)};e._zod.run=(a,s)=>{if(s.skipChecks)return e._zod.parse(a,s);if(s.direction==="backward"){let c=e._zod.parse({value:a.value,issues:[]},{...s,skipChecks:!0});return c instanceof Promise?c.then(d=>o(d,a,s)):o(c,a,s)}let l=e._zod.parse(a,s);if(l instanceof Promise){if(s.async===!1)throw new Bn;return l.then(c=>r(c,i,s))}return r(l,i,s)}}ie(e,"~standard",()=>({validate:r=>{try{let o=KS(e,r);return o.success?{value:o.data}:{issues:o.error?.issues}}catch{return FS(e,r).then(a=>a.success?{value:a.data}:{issues:a.error?.issues})}},vendor:"zod",version:1}))}),Lo=b("$ZodString",(e,t)=>{X.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??yb(e._zod.bag),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}}),xe=b("$ZodStringFormat",(e,t)=>{Rs.init(e,t),Lo.init(e,t)}),Gb=b("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=ib),xe.init(e,t)}),Jb=b("$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=Do(i))}else t.pattern??(t.pattern=Do());xe.init(e,t)}),Yb=b("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=ob),xe.init(e,t)}),Kb=b("$ZodURL",(e,t)=>{xe.init(e,t),e._zod.check=n=>{try{let i=n.value.trim();if(!t.normalize&&t.protocol?.source===fb.source&&!/^https?:\\/\\//i.test(i)){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:e,continue:!t.abort});return}let r=new URL(i);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(r.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&&(t.protocol.lastIndex=0,t.protocol.test(r.protocol.endsWith(":")?r.protocol.slice(0,-1):r.protocol)||n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=r.href:n.value=i;return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),Fb=b("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=ab()),xe.init(e,t)}),Qb=b("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=nb),xe.init(e,t)}),Xb=b("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=QS),xe.init(e,t)}),Wb=b("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=XS),xe.init(e,t)}),e_=b("$ZodULID",(e,t)=>{t.pattern??(t.pattern=WS),xe.init(e,t)}),t_=b("$ZodXID",(e,t)=>{t.pattern??(t.pattern=eb),xe.init(e,t)}),n_=b("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=tb),xe.init(e,t)}),r_=b("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=vb(t)),xe.init(e,t)}),i_=b("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=hb),xe.init(e,t)}),o_=b("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=gb(t)),xe.init(e,t)}),a_=b("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=rb),xe.init(e,t)}),s_=b("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=sb),xe.init(e,t),e._zod.bag.format="ipv4"}),l_=b("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=lb),xe.init(e,t),e._zod.bag.format="ipv6",e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}}),c_=b("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=cb(t.delimiter)),xe.init(e,t),e._zod.bag.format="mac"}),u_=b("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=ub),xe.init(e,t)}),d_=b("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=db),xe.init(e,t),e._zod.check=n=>{let i=n.value.split("/");try{if(i.length!==2)throw new Error;let[r,o]=i;if(!o)throw new Error;let a=Number(o);if(`${a}`!==o)throw new Error;if(a<0||a>128)throw new Error;new URL(`http://[${r}]`)}catch{n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}}});function m_(e){if(e==="")return!0;if(/\\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var f_=b("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=mb),xe.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=n=>{m_(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}});function PE(e){if(!Sh.test(e))return!1;let t=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return m_(n)}var p_=b("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=Sh),xe.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=n=>{PE(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),h_=b("$ZodE164",(e,t)=>{t.pattern??(t.pattern=pb),xe.init(e,t)});function UE(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 g_=b("$ZodJWT",(e,t)=>{xe.init(e,t),e._zod.check=n=>{UE(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),v_=b("$ZodCustomStringFormat",(e,t)=>{xe.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})}}),Rh=b("$ZodNumber",(e,t)=>{X.init(e,t),e._zod.pattern=e._zod.bag.pattern??bh,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:"Infinity":void 0;return n.issues.push({expected:"number",code:"invalid_type",input:r,inst:e,...o?{received:o}:{}}),n}}),y_=b("$ZodNumberFormat",(e,t)=>{Rb.init(e,t),Rh.init(e,t)}),xu=b("$ZodBoolean",(e,t)=>{X.init(e,t),e._zod.pattern=_b,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}}),Eh=b("$ZodBigInt",(e,t)=>{X.init(e,t),e._zod.pattern=Sb,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}}),S_=b("$ZodBigIntFormat",(e,t)=>{Eb.init(e,t),Eh.init(e,t)}),b_=b("$ZodSymbol",(e,t)=>{X.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}}),__=b("$ZodUndefined",(e,t)=>{X.init(e,t),e._zod.pattern=xb,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}}),z_=b("$ZodNull",(e,t)=>{X.init(e,t),e._zod.pattern=zb,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}}),x_=b("$ZodAny",(e,t)=>{X.init(e,t),e._zod.parse=n=>n}),w_=b("$ZodUnknown",(e,t)=>{X.init(e,t),e._zod.parse=n=>n}),T_=b("$ZodNever",(e,t)=>{X.init(e,t),e._zod.parse=(n,i)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)}),$_=b("$ZodVoid",(e,t)=>{X.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}}),R_=b("$ZodDate",(e,t)=>{X.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 zE(e,t,n){e.issues.length&&t.issues.push(...Kt(n,e.issues)),t.value[n]=e.value}var E_=b("$ZodArray",(e,t)=>{X.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!Array.isArray(r))return n.issues.push({expected:"array",code:"invalid_type",input:r,inst:e}),n;n.value=Array(r.length);let o=[];for(let a=0;a<r.length;a++){let s=r[a],l=t.element._zod.run({value:s,issues:[]},i);l instanceof Promise?o.push(l.then(c=>zE(c,n,a))):zE(l,n,a)}return o.length?Promise.all(o).then(()=>n):n}});function $h(e,t,n,i,r,o){let a=n in i;if(e.issues.length){if(r&&o&&!a)return;t.issues.push(...Kt(n,e.issues))}if(!a&&!r){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}e.value===void 0?a&&(t.value[n]=void 0):t.value[n]=e.value}function ME(e){let t=Object.keys(e.shape);for(let i of t)if(!e.shape?.[i]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${i}": expected a Zod schema`);let n=ZS(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function DE(e,t,n,i,r,o){let a=[],s=r.keySet,l=r.catchall._zod,c=l.def.type,d=l.optin==="optional",p=l.optout==="optional";for(let m in t){if(m==="__proto__"||s.has(m))continue;if(c==="never"){a.push(m);continue}let f=l.run({value:t[m],issues:[]},i);f instanceof Promise?e.push(f.then(_=>$h(_,n,m,t,d,p))):$h(f,n,m,t,d,p)}return a.length&&n.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:o}),e.length?Promise.all(e).then(()=>n):n}var LE=b("$ZodObject",(e,t)=>{if(X.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){let s=t.shape;Object.defineProperty(t,"shape",{get:()=>{let l={...s};return Object.defineProperty(t,"shape",{value:l}),l}})}let i=_s(()=>ME(t));ie(e._zod,"propValues",()=>{let s=t.shape,l={};for(let c in s){let d=s[c]._zod;if(d.values){l[c]??(l[c]=new Set);for(let p of d.values)l[c].add(p)}}return l});let r=Mo,o=t.catchall,a;e._zod.parse=(s,l)=>{a??(a=i.value);let c=s.value;if(!r(c))return s.issues.push({expected:"object",code:"invalid_type",input:c,inst:e}),s;s.value={};let d=[],p=a.shape;for(let m of a.keys){let f=p[m],_=f._zod.optin==="optional",$=f._zod.optout==="optional",j=f._zod.run({value:c[m],issues:[]},l);j instanceof Promise?d.push(j.then(y=>$h(y,s,m,c,_,$))):$h(j,s,m,c,_,$)}return o?DE(d,c,s,l,i.value,e):d.length?Promise.all(d).then(()=>s):s}}),O_=b("$ZodObjectJIT",(e,t)=>{LE.init(e,t);let n=e._zod.parse,i=_s(()=>ME(t)),r=m=>{let f=new zu(["shape","payload","ctx"]),_=i.value,$=S=>{let x=sh(S);return`shape[${x}]._zod.run({ value: input[${x}], issues: [] }, ctx)`};f.write("const input = payload.value;");let j=Object.create(null),y=0;for(let S of _.keys)j[S]=`key_${y++}`;f.write("const newResult = {};");for(let S of _.keys){let x=j[S],N=sh(S),H=m[S],M=H?._zod?.optin==="optional",B=H?._zod?.optout==="optional";f.write(`const ${x} = ${$(S)};`),M&&B?f.write(`\n if (${x}.issues.length) {\n if (${N} in input) {\n payload.issues = payload.issues.concat(${x}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${N}, ...iss.path] : [${N}]\n })));\n }\n }\n \n if (${x}.value === undefined) {\n if (${N} in input) {\n newResult[${N}] = undefined;\n }\n } else {\n newResult[${N}] = ${x}.value;\n }\n \n `):M?f.write(`\n if (${x}.issues.length) {\n payload.issues = payload.issues.concat(${x}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${N}, ...iss.path] : [${N}]\n })));\n }\n \n if (${x}.value === undefined) {\n if (${N} in input) {\n newResult[${N}] = undefined;\n }\n } else {\n newResult[${N}] = ${x}.value;\n }\n \n `):f.write(`\n const ${x}_present = ${N} in input;\n if (${x}.issues.length) {\n payload.issues = payload.issues.concat(${x}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${N}, ...iss.path] : [${N}]\n })));\n }\n if (!${x}_present && !${x}.issues.length) {\n payload.issues.push({\n code: "invalid_type",\n expected: "nonoptional",\n input: undefined,\n path: [${N}]\n });\n }\n\n if (${x}_present) {\n if (${x}.value === undefined) {\n newResult[${N}] = undefined;\n } else {\n newResult[${N}] = ${x}.value;\n }\n }\n\n `)}f.write("payload.value = newResult;"),f.write("return payload;");let g=f.compile();return(S,x)=>g(m,S,x)},o,a=Mo,s=!Uo.jitless,c=s&&LS.value,d=t.catchall,p;e._zod.parse=(m,f)=>{p??(p=i.value);let _=m.value;return a(_)?s&&c&&f?.async===!1&&f.jitless!==!0?(o||(o=r(t.shape)),m=o(m,f),d?DE([],_,m,f,p,e):m):n(m,f):(m.issues.push({expected:"object",code:"invalid_type",input:_,inst:e}),m)}});function xE(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=>!qi(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=>At(a,i,Ve())))}),t)}var wu=b("$ZodUnion",(e,t)=>{X.init(e,t),ie(e._zod,"optin",()=>t.options.some(i=>i._zod.optin==="optional")?"optional":void 0),ie(e._zod,"optout",()=>t.options.some(i=>i._zod.optout==="optional")?"optional":void 0),ie(e._zod,"values",()=>{if(t.options.every(i=>i._zod.values))return new Set(t.options.flatMap(i=>Array.from(i._zod.values)))}),ie(e._zod,"pattern",()=>{if(t.options.every(i=>i._zod.pattern)){let i=t.options.map(r=>r._zod.pattern);return new RegExp(`^(${i.map(r=>fu(r.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 s of t.options){let l=s._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(s=>xE(s,i,e,r)):xE(a,i,e,r)}});function wE(e,t,n,i){let r=e.filter(o=>o.issues.length===0);return r.length===1?(t.value=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=>At(a,i,Ve())))}):t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:[],inclusive:!1}),t)}var k_=b("$ZodXor",(e,t)=>{wu.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 s of t.options){let l=s._zod.run({value:i.value,issues:[]},r);l instanceof Promise?(a.push(l),o=!0):a.push(l)}return o?Promise.all(a).then(s=>wE(s,i,e,r)):wE(a,i,e,r)}}),I_=b("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,wu.init(e,t);let n=e._zod.parse;ie(e._zod,"propValues",()=>{let r={};for(let o of t.options){let a=o._zod.propValues;if(!a||Object.keys(a).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(o)}"`);for(let[s,l]of Object.entries(a)){r[s]||(r[s]=new Set);for(let c of l)r[s].add(c)}}return r});let i=_s(()=>{let r=t.options,o=new Map;for(let a of r){let s=a._zod.propValues?.[t.discriminator];if(!s||s.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(a)}"`);for(let l of s){if(o.has(l))throw new Error(`Duplicate discriminator value "${String(l)}"`);o.set(l,a)}}return o});e._zod.parse=(r,o)=>{let a=r.value;if(!Mo(a))return r.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),r;let s=i.value.get(a?.[t.discriminator]);return s?s._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()),input:a,path:[t.discriminator],inst:e}),r)}}),N_=b("$ZodIntersection",(e,t)=>{X.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,c])=>TE(n,l,c)):TE(n,o,a)}});function Bb(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(Li(e)&&Li(t)){let n=Object.keys(t),i=Object.keys(e).filter(o=>n.indexOf(o)!==-1),r={...e,...t};for(let o of i){let a=Bb(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=Bb(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 TE(e,t,n){let i=new Map,r;for(let s of t.issues)if(s.code==="unrecognized_keys"){r??(r=s);for(let l of s.keys)i.has(l)||i.set(l,{}),i.get(l).l=!0}else e.issues.push(s);for(let s of n.issues)if(s.code==="unrecognized_keys")for(let l of s.keys)i.has(l)||i.set(l,{}),i.get(l).r=!0;else e.issues.push(s);let o=[...i].filter(([,s])=>s.l&&s.r).map(([s])=>s);if(o.length&&r&&e.issues.push({...r,keys:o}),qi(e))return e;let a=Bb(t.value,n.value);if(!a.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`);return e.value=a.data,e}var Oh=b("$ZodTuple",(e,t)=>{X.init(e,t);let n=t.items;e._zod.parse=(i,r)=>{let o=i.value;if(!Array.isArray(o))return i.issues.push({input:o,inst:e,expected:"tuple",code:"invalid_type"}),i;i.value=[];let a=[],s=$E(n,"optin"),l=$E(n,"optout");if(!t.rest){if(o.length<s)return i.issues.push({code:"too_small",minimum:s,inclusive:!0,input:o,inst:e,origin:"array"}),i;o.length>n.length&&i.issues.push({code:"too_big",maximum:n.length,inclusive:!0,input:o,inst:e,origin:"array"})}let c=new Array(n.length);for(let d=0;d<n.length;d++){let p=n[d]._zod.run({value:o[d],issues:[]},r);p instanceof Promise?a.push(p.then(m=>{c[d]=m})):c[d]=p}if(t.rest){let d=n.length-1,p=o.slice(n.length);for(let m of p){d++;let f=t.rest._zod.run({value:m,issues:[]},r);f instanceof Promise?a.push(f.then(_=>RE(_,i,d))):RE(f,i,d)}}return a.length?Promise.all(a).then(()=>EE(c,i,n,o,l)):EE(c,i,n,o,l)}});function $E(e,t){for(let n=e.length-1;n>=0;n--)if(e[n]._zod[t]!=="optional")return n+1;return 0}function RE(e,t,n){e.issues.length&&t.issues.push(...Kt(n,e.issues)),t.value[n]=e.value}function EE(e,t,n,i,r){for(let o=0;o<n.length;o++){let a=e[o],s=o<i.length;if(a.issues.length){if(!s&&o>=r){t.value.length=o;break}t.issues.push(...Kt(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 C_=b("$ZodRecord",(e,t)=>{X.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!Li(r))return n.issues.push({expected:"record",code:"invalid_type",input:r,inst:e}),n;let o=[],a=t.keyType._zod.values;if(a){n.value={};let s=new Set;for(let c of a)if(typeof c=="string"||typeof c=="number"||typeof c=="symbol"){s.add(typeof c=="number"?c.toString():c);let d=t.keyType._zod.run({value:c,issues:[]},i);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(d.issues.length){n.issues.push({code:"invalid_key",origin:"record",issues:d.issues.map(f=>At(f,i,Ve())),input:c,path:[c],inst:e});continue}let p=d.value,m=t.valueType._zod.run({value:r[c],issues:[]},i);m instanceof Promise?o.push(m.then(f=>{f.issues.length&&n.issues.push(...Kt(c,f.issues)),n.value[p]=f.value})):(m.issues.length&&n.issues.push(...Kt(c,m.issues)),n.value[p]=m.value)}let l;for(let c in r)s.has(c)||(l=l??[],l.push(c));l&&l.length>0&&n.issues.push({code:"unrecognized_keys",input:r,inst:e,keys:l})}else{n.value={};for(let s of Reflect.ownKeys(r)){if(s==="__proto__"||!Object.prototype.propertyIsEnumerable.call(r,s))continue;let l=t.keyType._zod.run({value:s,issues:[]},i);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof s=="string"&&bh.test(s)&&l.issues.length){let p=t.keyType._zod.run({value:Number(s),issues:[]},i);if(p instanceof Promise)throw new Error("Async schemas not supported in object keys currently");p.issues.length===0&&(l=p)}if(l.issues.length){t.mode==="loose"?n.value[s]=r[s]:n.issues.push({code:"invalid_key",origin:"record",issues:l.issues.map(p=>At(p,i,Ve())),input:s,path:[s],inst:e});continue}let d=t.valueType._zod.run({value:r[s],issues:[]},i);d instanceof Promise?o.push(d.then(p=>{p.issues.length&&n.issues.push(...Kt(s,p.issues)),n.value[l.value]=p.value})):(d.issues.length&&n.issues.push(...Kt(s,d.issues)),n.value[l.value]=d.value)}}return o.length?Promise.all(o).then(()=>n):n}}),j_=b("$ZodMap",(e,t)=>{X.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!(r instanceof Map))return n.issues.push({expected:"map",code:"invalid_type",input:r,inst:e}),n;let o=[];n.value=new Map;for(let[a,s]of r){let l=t.keyType._zod.run({value:a,issues:[]},i),c=t.valueType._zod.run({value:s,issues:[]},i);l instanceof Promise||c instanceof Promise?o.push(Promise.all([l,c]).then(([d,p])=>{OE(d,p,n,a,r,e,i)})):OE(l,c,n,a,r,e,i)}return o.length?Promise.all(o).then(()=>n):n}});function OE(e,t,n,i,r,o,a){e.issues.length&&(pu.has(typeof i)?n.issues.push(...Kt(i,e.issues)):n.issues.push({code:"invalid_key",origin:"map",input:r,inst:o,issues:e.issues.map(s=>At(s,a,Ve()))})),t.issues.length&&(pu.has(typeof i)?n.issues.push(...Kt(i,t.issues)):n.issues.push({origin:"map",code:"invalid_element",input:r,inst:o,key:i,issues:t.issues.map(s=>At(s,a,Ve()))})),n.value.set(e.value,t.value)}var A_=b("$ZodSet",(e,t)=>{X.init(e,t),e._zod.parse=(n,i)=>{let r=n.value;if(!(r instanceof Set))return n.issues.push({input:r,inst:e,expected:"set",code:"invalid_type"}),n;let o=[];n.value=new Set;for(let a of r){let s=t.valueType._zod.run({value:a,issues:[]},i);s instanceof Promise?o.push(s.then(l=>kE(l,n))):kE(s,n)}return o.length?Promise.all(o).then(()=>n):n}});function kE(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}var P_=b("$ZodEnum",(e,t)=>{X.init(e,t);let n=mu(t.entries),i=new Set(n);e._zod.values=i,e._zod.pattern=new RegExp(`^(${n.filter(r=>pu.has(typeof r)).map(r=>typeof r=="string"?An(r):r.toString()).join("|")})$`),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}}),U_=b("$ZodLiteral",(e,t)=>{if(X.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");let n=new Set(t.values);e._zod.values=n,e._zod.pattern=new RegExp(`^(${t.values.map(i=>typeof i=="string"?An(i):i?An(i.toString()):String(i)).join("|")})$`),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}}),M_=b("$ZodFile",(e,t)=>{X.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}}),D_=b("$ZodTransform",(e,t)=>{X.init(e,t),e._zod.optin="optional",e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Ui(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.fallback=!0,n));if(r instanceof Promise)throw new Bn;return n.value=r,n.fallback=!0,n}});function IE(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}var kh=b("$ZodOptional",(e,t)=>{X.init(e,t),e._zod.optin="optional",e._zod.optout="optional",ie(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),ie(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${fu(n.source)})?$`):void 0}),e._zod.parse=(n,i)=>{if(t.innerType._zod.optin==="optional"){let r=n.value,o=t.innerType._zod.run(n,i);return o instanceof Promise?o.then(a=>IE(a,r)):IE(o,r)}return n.value===void 0?n:t.innerType._zod.run(n,i)}}),L_=b("$ZodExactOptional",(e,t)=>{kh.init(e,t),ie(e._zod,"values",()=>t.innerType._zod.values),ie(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(n,i)=>t.innerType._zod.run(n,i)}),q_=b("$ZodNullable",(e,t)=>{X.init(e,t),ie(e._zod,"optin",()=>t.innerType._zod.optin),ie(e._zod,"optout",()=>t.innerType._zod.optout),ie(e._zod,"pattern",()=>{let n=t.innerType._zod.pattern;return n?new RegExp(`^(${fu(n.source)}|null)$`):void 0}),ie(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(n,i)=>n.value===null?n:t.innerType._zod.run(n,i)}),H_=b("$ZodDefault",(e,t)=>{X.init(e,t),e._zod.optin="optional",ie(e._zod,"values",()=>t.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=>NE(o,t)):NE(r,t)}});function NE(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var Z_=b("$ZodPrefault",(e,t)=>{X.init(e,t),e._zod.optin="optional",ie(e._zod,"values",()=>t.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))}),V_=b("$ZodNonOptional",(e,t)=>{X.init(e,t),ie(e._zod,"values",()=>{let n=t.innerType._zod.values;return n?new Set([...n].filter(i=>i!==void 0)):void 0}),e._zod.parse=(n,i)=>{let r=t.innerType._zod.run(n,i);return r instanceof Promise?r.then(o=>CE(o,e)):CE(r,e)}});function CE(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 B_=b("$ZodSuccess",(e,t)=>{X.init(e,t),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Ui("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)}}),G_=b("$ZodCatch",(e,t)=>{X.init(e,t),e._zod.optin="optional",ie(e._zod,"optout",()=>t.innerType._zod.optout),ie(e._zod,"values",()=>t.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(n,i);return r instanceof Promise?r.then(o=>(n.value=o.value,o.issues.length&&(n.value=t.catchValue({...n,error:{issues:o.issues.map(a=>At(a,i,Ve()))},input:n.value}),n.issues=[],n.fallback=!0),n)):(n.value=r.value,r.issues.length&&(n.value=t.catchValue({...n,error:{issues:r.issues.map(o=>At(o,i,Ve()))},input:n.value}),n.issues=[],n.fallback=!0),n)}}),J_=b("$ZodNaN",(e,t)=>{X.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)}),Ih=b("$ZodPipe",(e,t)=>{X.init(e,t),ie(e._zod,"values",()=>t.in._zod.values),ie(e._zod,"optin",()=>t.in._zod.optin),ie(e._zod,"optout",()=>t.out._zod.optout),ie(e._zod,"propValues",()=>t.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=>xh(a,t.in,i)):xh(o,t.in,i)}let r=t.in._zod.run(n,i);return r instanceof Promise?r.then(o=>xh(o,t.out,i)):xh(r,t.out,i)}});function xh(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}var Tu=b("$ZodCodec",(e,t)=>{X.init(e,t),ie(e._zod,"values",()=>t.in._zod.values),ie(e._zod,"optin",()=>t.in._zod.optin),ie(e._zod,"optout",()=>t.out._zod.optout),ie(e._zod,"propValues",()=>t.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=>wh(a,t,i)):wh(o,t,i)}else{let o=t.out._zod.run(n,i);return o instanceof Promise?o.then(a=>wh(a,t,i)):wh(o,t,i)}}});function wh(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=>Th(e,o,t.out,n)):Th(e,r,t.out,n)}else{let r=t.reverseTransform(e.value,e);return r instanceof Promise?r.then(o=>Th(e,o,t.in,n)):Th(e,r,t.in,n)}}function Th(e,t,n,i){return e.issues.length?(e.aborted=!0,e):n._zod.run({value:t,issues:e.issues},i)}var Y_=b("$ZodPreprocess",(e,t)=>{Ih.init(e,t)}),K_=b("$ZodReadonly",(e,t)=>{X.init(e,t),ie(e._zod,"propValues",()=>t.innerType._zod.propValues),ie(e._zod,"values",()=>t.innerType._zod.values),ie(e._zod,"optin",()=>t.innerType?._zod?.optin),ie(e._zod,"optout",()=>t.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(jE):jE(r)}});function jE(e){return e.value=Object.freeze(e.value),e}var F_=b("$ZodTemplateLiteral",(e,t)=>{X.init(e,t);let n=[];for(let i of t.parts)if(typeof i=="object"&&i!==null){if(!i._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...i._zod.traits].shift()}`);let r=i._zod.pattern instanceof RegExp?i._zod.pattern.source:i._zod.pattern;if(!r)throw new Error(`Invalid template literal part: ${i._zod.traits}`);let o=r.startsWith("^")?1:0,a=r.endsWith("$")?r.length-1:r.length;n.push(r.slice(o,a))}else if(i===null||HS.has(typeof i))n.push(An(`${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)}),Q_=b("$ZodFunction",(e,t)=>(X.init(e,t),e._def=t,e._zod.def=t,e.implement=n=>{if(typeof n!="function")throw new Error("implement() must be called with a function");return function(...i){let r=e._def.input?ch(e._def.input,i):i,o=Reflect.apply(n,this,r);return e._def.output?ch(e._def.output,o):o}},e.implementAsync=n=>{if(typeof n!="function")throw new Error("implementAsync() must be called with a function");return async function(...i){let r=e._def.input?await uh(e._def.input,i):i,o=await Reflect.apply(n,this,r);return e._def.output?await uh(e._def.output,o):o}},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 Oh({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)),X_=b("$ZodPromise",(e,t)=>{X.init(e,t),e._zod.parse=(n,i)=>Promise.resolve(n.value).then(r=>t.innerType._zod.run({value:r,issues:[]},i))}),W_=b("$ZodLazy",(e,t)=>{X.init(e,t),ie(e._zod,"innerType",()=>{let n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),ie(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),ie(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),ie(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),ie(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(n,i)=>e._zod.innerType._zod.run(n,i)}),e1=b("$ZodCustom",(e,t)=>{Ee.init(e,t),X.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=>AE(o,n,i,e));AE(r,n,i,e)}});function AE(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(zs(r))}}var Ru={};Er(Ru,{ar:()=>qE,az:()=>HE,be:()=>VE,bg:()=>BE,ca:()=>GE,cs:()=>JE,da:()=>YE,de:()=>KE,el:()=>FE,en:()=>Nh,eo:()=>QE,es:()=>XE,fa:()=>WE,fi:()=>eO,fr:()=>tO,frCA:()=>nO,he:()=>rO,hr:()=>iO,hu:()=>oO,hy:()=>sO,id:()=>lO,is:()=>cO,it:()=>uO,ja:()=>dO,ka:()=>mO,kh:()=>fO,km:()=>Ch,ko:()=>pO,lt:()=>gO,mk:()=>vO,ms:()=>yO,nl:()=>SO,no:()=>bO,ota:()=>_O,pl:()=>xO,ps:()=>zO,pt:()=>wO,ro:()=>TO,ru:()=>RO,sl:()=>EO,sv:()=>OO,ta:()=>kO,th:()=>IO,tr:()=>NO,ua:()=>CO,uk:()=>jh,ur:()=>jO,uz:()=>AO,vi:()=>PO,yo:()=>DO,zhCN:()=>UO,zhTW:()=>MO});var LP=()=>{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"}};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",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",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=I(r.input),s=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 ${s}`:`\\u0645\\u062F\\u062E\\u0644\\u0627\\u062A \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644\\u0629: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0625\\u062F\\u062E\\u0627\\u0644 ${o}\\u060C \\u0648\\u0644\\u0643\\u0646 \\u062A\\u0645 \\u0625\\u062F\\u062E\\u0627\\u0644 ${s}`}case"invalid_value":return r.values.length===1?`\\u0645\\u062F\\u062E\\u0644\\u0627\\u062A \\u063A\\u064A\\u0631 \\u0645\\u0642\\u0628\\u0648\\u0644\\u0629: \\u064A\\u0641\\u062A\\u0631\\u0636 \\u0625\\u062F\\u062E\\u0627\\u0644 ${k(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: ${T(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":""}: ${T(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 qE(){return{localeError:LP()}}var qP=()=>{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"}};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",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Yanl\\u0131\\u015F d\\u0259y\\u0259r: g\\xF6zl\\u0259nil\\u0259n instanceof ${r.expected}, daxil olan ${s}`:`Yanl\\u0131\\u015F d\\u0259y\\u0259r: g\\xF6zl\\u0259nil\\u0259n ${o}, daxil olan ${s}`}case"invalid_value":return r.values.length===1?`Yanl\\u0131\\u015F d\\u0259y\\u0259r: g\\xF6zl\\u0259nil\\u0259n ${k(r.values[0])}`:`Yanl\\u0131\\u015F se\\xE7im: a\\u015Fa\\u011F\\u0131dak\\u0131lardan biri olmal\\u0131d\\u0131r: ${T(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":""}: ${T(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 HE(){return{localeError:qP()}}function ZE(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 HP=()=>{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"},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",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",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=I(r.input),s=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 ${s}`:`\\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 ${s}`}case"invalid_value":return r.values.length===1?`\\u041D\\u044F\\u043F\\u0440\\u0430\\u0432\\u0456\\u043B\\u044C\\u043D\\u044B \\u045E\\u0432\\u043E\\u0434: \\u0447\\u0430\\u043A\\u0430\\u043B\\u0430\\u0441\\u044F ${k(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 ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);if(a){let s=Number(r.maximum),l=ZE(s,a.unit.one,a.unit.few,a.unit.many);return`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u0430 \\u0432\\u044F\\u043B\\u0456\\u043A\\u0456: \\u0447\\u0430\\u043A\\u0430\\u043B\\u0430\\u0441\\u044F, \\u0448\\u0442\\u043E ${r.origin??"\\u0437\\u043D\\u0430\\u0447\\u044D\\u043D\\u043D\\u0435"} \\u043F\\u0430\\u0432\\u0456\\u043D\\u043D\\u0430 ${a.verb} ${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 s=Number(r.minimum),l=ZE(s,a.unit.one,a.unit.few,a.unit.many);return`\\u0417\\u0430\\u043D\\u0430\\u0434\\u0442\\u0430 \\u043C\\u0430\\u043B\\u044B: \\u0447\\u0430\\u043A\\u0430\\u043B\\u0430\\u0441\\u044F, \\u0448\\u0442\\u043E ${r.origin} \\u043F\\u0430\\u0432\\u0456\\u043D\\u043D\\u0430 ${a.verb} ${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"}: ${T(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 VE(){return{localeError:HP()}}var ZP=()=>{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"}};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",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",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=I(r.input),s=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 ${s}`:`\\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 ${s}`}case"invalid_value":return r.values.length===1?`\\u041D\\u0435\\u0432\\u0430\\u043B\\u0438\\u0434\\u0435\\u043D \\u0432\\u0445\\u043E\\u0434: \\u043E\\u0447\\u0430\\u043A\\u0432\\u0430\\u043D ${k(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 ${T(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":""}: ${T(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 BE(){return{localeError:ZP()}}var VP=()=>{let e={string:{unit:"car\\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{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",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Tipus inv\\xE0lid: s\'esperava instanceof ${r.expected}, s\'ha rebut ${s}`:`Tipus inv\\xE0lid: s\'esperava ${o}, s\'ha rebut ${s}`}case"invalid_value":return r.values.length===1?`Valor inv\\xE0lid: s\'esperava ${k(r.values[0])}`:`Opci\\xF3 inv\\xE0lida: s\'esperava una de ${T(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":""}: ${T(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 GE(){return{localeError:VP()}}var BP=()=>{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"}};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",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",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=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Neplatn\\xFD vstup: o\\u010Dek\\xE1v\\xE1no instanceof ${r.expected}, obdr\\u017Eeno ${s}`:`Neplatn\\xFD vstup: o\\u010Dek\\xE1v\\xE1no ${o}, obdr\\u017Eeno ${s}`}case"invalid_value":return r.values.length===1?`Neplatn\\xFD vstup: o\\u010Dek\\xE1v\\xE1no ${k(r.values[0])}`:`Neplatn\\xE1 mo\\u017Enost: o\\u010Dek\\xE1v\\xE1na jedna z hodnot ${T(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: ${T(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 JE(){return{localeError:BP()}}var GP=()=>{let e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{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-omr\\xE5de",ipv6:"IPv6-omr\\xE5de",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodet streng",base64url:"base64url-kodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},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=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ugyldigt input: forventede instanceof ${r.expected}, fik ${s}`:`Ugyldigt input: forventede ${o}, fik ${s}`}case"invalid_value":return r.values.length===1?`Ugyldig v\\xE6rdi: forventede ${k(r.values[0])}`:`Ugyldigt valg: forventede en af f\\xF8lgende ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin),s=i[r.origin]??r.origin;return a?`For stor: forventede ${s??"value"} ${a.verb} ${o} ${r.maximum.toString()} ${a.unit??"elementer"}`:`For stor: forventede ${s??"value"} havde ${o} ${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin),s=i[r.origin]??r.origin;return a?`For lille: forventede ${s} ${a.verb} ${o} ${r.minimum.toString()} ${a.unit}`:`For lille: forventede ${s} 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"}: ${T(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 YE(){return{localeError:GP()}}var JP=()=>{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"}};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",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"},i={nan:"NaN",number:"Zahl",array:"Array"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ung\\xFCltige Eingabe: erwartet instanceof ${r.expected}, erhalten ${s}`:`Ung\\xFCltige Eingabe: erwartet ${o}, erhalten ${s}`}case"invalid_value":return r.values.length===1?`Ung\\xFCltige Eingabe: erwartet ${k(r.values[0])}`:`Ung\\xFCltige Option: erwartet eine von ${T(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"}: ${T(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 KE(){return{localeError:JP()}}var YP=()=>{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",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=I(r.input),s=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 ${s}`:`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${o}, \\u03BB\\u03AE\\u03C6\\u03B8\\u03B7\\u03BA\\u03B5 ${s}`}case"invalid_value":return r.values.length===1?`\\u039C\\u03B7 \\u03AD\\u03B3\\u03BA\\u03C5\\u03C1\\u03B7 \\u03B5\\u03AF\\u03C3\\u03BF\\u03B4\\u03BF\\u03C2: \\u03B1\\u03BD\\u03B1\\u03BC\\u03B5\\u03BD\\u03CC\\u03C4\\u03B1\\u03BD ${k(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 ${T(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"}: ${T(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 FE(){return{localeError:YP()}}var KP=()=>{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(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",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=I(r.input),s=i[a]??a;return`Invalid input: expected ${o}, received ${s}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${k(r.values[0])}`:`Invalid option: expected one of ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Too big: expected ${r.origin??"value"} to have ${o}${r.maximum.toString()} ${a.unit??"elements"}`:`Too big: expected ${r.origin??"value"} to be ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Too small: expected ${r.origin} to have ${o}${r.minimum.toString()} ${a.unit}`:`Too small: expected ${r.origin} to be ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Invalid string: must start with "${o.prefix}"`:o.format==="ends_with"?`Invalid string: must end with "${o.suffix}"`:o.format==="includes"?`Invalid string: must include "${o.includes}"`:o.format==="regex"?`Invalid string: must match pattern ${o.pattern}`:`Invalid ${n[o.format]??r.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${r.divisor}`;case"unrecognized_keys":return`Unrecognized key${r.keys.length>1?"s":""}: ${T(r.keys,", ")}`;case"invalid_key":return`Invalid key in ${r.origin}`;case"invalid_union":return r.options&&Array.isArray(r.options)&&r.options.length>0?`Invalid discriminator value. Expected ${r.options.map(a=>`\'${a}\'`).join(" | ")}`:"Invalid input";case"invalid_element":return`Invalid value in ${r.origin}`;default:return"Invalid input"}}};function Nh(){return{localeError:KP()}}var FP=()=>{let e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{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",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},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=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Nevalida enigo: atendi\\u011Dis instanceof ${r.expected}, ricevi\\u011Dis ${s}`:`Nevalida enigo: atendi\\u011Dis ${o}, ricevi\\u011Dis ${s}`}case"invalid_value":return r.values.length===1?`Nevalida enigo: atendi\\u011Dis ${k(r.values[0])}`:`Nevalida opcio: atendi\\u011Dis unu el ${T(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":""}: ${T(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 QE(){return{localeError:FP()}}var QP=()=>{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",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},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=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Entrada inv\\xE1lida: se esperaba instanceof ${r.expected}, recibido ${s}`:`Entrada inv\\xE1lida: se esperaba ${o}, recibido ${s}`}case"invalid_value":return r.values.length===1?`Entrada inv\\xE1lida: se esperaba ${k(r.values[0])}`:`Opci\\xF3n inv\\xE1lida: se esperaba una de ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin),s=i[r.origin]??r.origin;return a?`Demasiado grande: se esperaba que ${s??"valor"} tuviera ${o}${r.maximum.toString()} ${a.unit??"elementos"}`:`Demasiado grande: se esperaba que ${s??"valor"} fuera ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin),s=i[r.origin]??r.origin;return a?`Demasiado peque\\xF1o: se esperaba que ${s} tuviera ${o}${r.minimum.toString()} ${a.unit}`:`Demasiado peque\\xF1o: se esperaba que ${s} 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":""}: ${T(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 XE(){return{localeError:QP()}}var XP=()=>{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"}};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",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",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=I(r.input),s=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 ${s} \\u062F\\u0631\\u06CC\\u0627\\u0641\\u062A \\u0634\\u062F`:`\\u0648\\u0631\\u0648\\u062F\\u06CC \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0645\\u06CC\\u200C\\u0628\\u0627\\u06CC\\u0633\\u062A ${o} \\u0645\\u06CC\\u200C\\u0628\\u0648\\u062F\\u060C ${s} \\u062F\\u0631\\u06CC\\u0627\\u0641\\u062A \\u0634\\u062F`}case"invalid_value":return r.values.length===1?`\\u0648\\u0631\\u0648\\u062F\\u06CC \\u0646\\u0627\\u0645\\u0639\\u062A\\u0628\\u0631: \\u0645\\u06CC\\u200C\\u0628\\u0627\\u06CC\\u0633\\u062A ${k(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 ${T(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: ${T(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 WE(){return{localeError:XP()}}var WP=()=>{let e={string:{unit:"merkki\\xE4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\\xE4iv\\xE4m\\xE4\\xE4r\\xE4n"}};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",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Virheellinen tyyppi: odotettiin instanceof ${r.expected}, oli ${s}`:`Virheellinen tyyppi: odotettiin ${o}, oli ${s}`}case"invalid_value":return r.values.length===1?`Virheellinen sy\\xF6te: t\\xE4ytyy olla ${k(r.values[0])}`:`Virheellinen valinta: t\\xE4ytyy olla yksi seuraavista: ${T(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"}: ${T(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 eO(){return{localeError:WP()}}var e5=()=>{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:"entr\\xE9e",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\\xEEne encod\\xE9e en base64",base64url:"cha\\xEEne encod\\xE9e en base64url",json_string:"cha\\xEEne JSON",e164:"num\\xE9ro E.164",jwt:"JWT",template_literal:"entr\\xE9e"},i={string:"cha\\xEEne",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:"enregistrement",map:"carte",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=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Entr\\xE9e invalide : instanceof ${r.expected} attendu, ${s} re\\xE7u`:`Entr\\xE9e invalide : ${o} attendu, ${s} re\\xE7u`}case"invalid_value":return r.values.length===1?`Entr\\xE9e invalide : ${k(r.values[0])} attendu`:`Option invalide : une valeur parmi ${T(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 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 mod\\xE8le ${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":""} : ${T(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 tO(){return{localeError:e5()}}var t5=()=>{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:"entr\\xE9e",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\\xEEne encod\\xE9e en base64",base64url:"cha\\xEEne encod\\xE9e en base64url",json_string:"cha\\xEEne JSON",e164:"num\\xE9ro E.164",jwt:"JWT",template_literal:"entr\\xE9e"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Entr\\xE9e invalide : attendu instanceof ${r.expected}, re\\xE7u ${s}`:`Entr\\xE9e invalide : attendu ${o}, re\\xE7u ${s}`}case"invalid_value":return r.values.length===1?`Entr\\xE9e invalide : attendu ${k(r.values[0])}`:`Option invalide : attendu l\'une des valeurs suivantes ${T(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":""} : ${T(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 nO(){return{localeError:t5()}}var n5=()=>{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=c=>c?e[c]:void 0,i=c=>{let d=n(c);return d?d.label:c??e.unknown.label},r=c=>`\\u05D4${i(c)}`,o=c=>(n(c)?.gender??"m")==="f"?"\\u05E6\\u05E8\\u05D9\\u05DB\\u05D4 \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA":"\\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA",a=c=>c?t[c]??null:null,s={regex:{label:"\\u05E7\\u05DC\\u05D8",gender:"m"},email:{label:"\\u05DB\\u05EA\\u05D5\\u05D1\\u05EA \\u05D0\\u05D9\\u05DE\\u05D9\\u05D9\\u05DC",gender:"f"},url:{label:"\\u05DB\\u05EA\\u05D5\\u05D1\\u05EA \\u05E8\\u05E9\\u05EA",gender:"f"},emoji:{label:"\\u05D0\\u05D9\\u05DE\\u05D5\\u05D2\'\\u05D9",gender:"m"},uuid:{label:"UUID",gender:"m"},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"},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"},jwt:{label:"JWT",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 c=>{switch(c.code){case"invalid_type":{let d=c.expected,p=l[d??""]??i(d),m=I(c.input),f=l[m]??e[m]?.label??m;return/^[A-Z]/.test(c.expected)?`\\u05E7\\u05DC\\u05D8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA instanceof ${c.expected}, \\u05D4\\u05EA\\u05E7\\u05D1\\u05DC ${f}`:`\\u05E7\\u05DC\\u05D8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA ${p}, \\u05D4\\u05EA\\u05E7\\u05D1\\u05DC ${f}`}case"invalid_value":{if(c.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 ${k(c.values[0])}`;let d=c.values.map(f=>k(f));if(c.values.length===2)return`\\u05E2\\u05E8\\u05DA \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05D4\\u05D0\\u05E4\\u05E9\\u05E8\\u05D5\\u05D9\\u05D5\\u05EA \\u05D4\\u05DE\\u05EA\\u05D0\\u05D9\\u05DE\\u05D5\\u05EA \\u05D4\\u05DF ${d[0]} \\u05D0\\u05D5 ${d[1]}`;let p=d[d.length-1];return`\\u05E2\\u05E8\\u05DA \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF: \\u05D4\\u05D0\\u05E4\\u05E9\\u05E8\\u05D5\\u05D9\\u05D5\\u05EA \\u05D4\\u05DE\\u05EA\\u05D0\\u05D9\\u05DE\\u05D5\\u05EA \\u05D4\\u05DF ${d.slice(0,-1).join(", ")} \\u05D0\\u05D5 ${p}`}case"too_big":{let d=a(c.origin),p=r(c.origin??"value");if(c.origin==="string")return`${d?.longLabel??"\\u05D0\\u05E8\\u05D5\\u05DA"} \\u05DE\\u05D3\\u05D9: ${p} \\u05E6\\u05E8\\u05D9\\u05DB\\u05D4 \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${c.maximum.toString()} ${d?.unit??""} ${c.inclusive?"\\u05D0\\u05D5 \\u05E4\\u05D7\\u05D5\\u05EA":"\\u05DC\\u05DB\\u05DC \\u05D4\\u05D9\\u05D5\\u05EA\\u05E8"}`.trim();if(c.origin==="number"){let _=c.inclusive?`\\u05E7\\u05D8\\u05DF \\u05D0\\u05D5 \\u05E9\\u05D5\\u05D5\\u05D4 \\u05DC-${c.maximum}`:`\\u05E7\\u05D8\\u05DF \\u05DE-${c.maximum}`;return`\\u05D2\\u05D3\\u05D5\\u05DC \\u05DE\\u05D3\\u05D9: ${p} \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA ${_}`}if(c.origin==="array"||c.origin==="set"){let _=c.origin==="set"?"\\u05E6\\u05E8\\u05D9\\u05DB\\u05D4":"\\u05E6\\u05E8\\u05D9\\u05DA",$=c.inclusive?`${c.maximum} ${d?.unit??""} \\u05D0\\u05D5 \\u05E4\\u05D7\\u05D5\\u05EA`:`\\u05E4\\u05D7\\u05D5\\u05EA \\u05DE-${c.maximum} ${d?.unit??""}`;return`\\u05D2\\u05D3\\u05D5\\u05DC \\u05DE\\u05D3\\u05D9: ${p} ${_} \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${$}`.trim()}let m=c.inclusive?"<=":"<",f=o(c.origin??"value");return d?.unit?`${d.longLabel} \\u05DE\\u05D3\\u05D9: ${p} ${f} ${m}${c.maximum.toString()} ${d.unit}`:`${d?.longLabel??"\\u05D2\\u05D3\\u05D5\\u05DC"} \\u05DE\\u05D3\\u05D9: ${p} ${f} ${m}${c.maximum.toString()}`}case"too_small":{let d=a(c.origin),p=r(c.origin??"value");if(c.origin==="string")return`${d?.shortLabel??"\\u05E7\\u05E6\\u05E8"} \\u05DE\\u05D3\\u05D9: ${p} \\u05E6\\u05E8\\u05D9\\u05DB\\u05D4 \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${c.minimum.toString()} ${d?.unit??""} ${c.inclusive?"\\u05D0\\u05D5 \\u05D9\\u05D5\\u05EA\\u05E8":"\\u05DC\\u05E4\\u05D7\\u05D5\\u05EA"}`.trim();if(c.origin==="number"){let _=c.inclusive?`\\u05D2\\u05D3\\u05D5\\u05DC \\u05D0\\u05D5 \\u05E9\\u05D5\\u05D5\\u05D4 \\u05DC-${c.minimum}`:`\\u05D2\\u05D3\\u05D5\\u05DC \\u05DE-${c.minimum}`;return`\\u05E7\\u05D8\\u05DF \\u05DE\\u05D3\\u05D9: ${p} \\u05E6\\u05E8\\u05D9\\u05DA \\u05DC\\u05D4\\u05D9\\u05D5\\u05EA ${_}`}if(c.origin==="array"||c.origin==="set"){let _=c.origin==="set"?"\\u05E6\\u05E8\\u05D9\\u05DB\\u05D4":"\\u05E6\\u05E8\\u05D9\\u05DA";if(c.minimum===1&&c.inclusive){let j=(c.origin==="set","\\u05DC\\u05E4\\u05D7\\u05D5\\u05EA \\u05E4\\u05E8\\u05D9\\u05D8 \\u05D0\\u05D7\\u05D3");return`\\u05E7\\u05D8\\u05DF \\u05DE\\u05D3\\u05D9: ${p} ${_} \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${j}`}let $=c.inclusive?`${c.minimum} ${d?.unit??""} \\u05D0\\u05D5 \\u05D9\\u05D5\\u05EA\\u05E8`:`\\u05D9\\u05D5\\u05EA\\u05E8 \\u05DE-${c.minimum} ${d?.unit??""}`;return`\\u05E7\\u05D8\\u05DF \\u05DE\\u05D3\\u05D9: ${p} ${_} \\u05DC\\u05D4\\u05DB\\u05D9\\u05DC ${$}`.trim()}let m=c.inclusive?">=":">",f=o(c.origin??"value");return d?.unit?`${d.shortLabel} \\u05DE\\u05D3\\u05D9: ${p} ${f} ${m}${c.minimum.toString()} ${d.unit}`:`${d?.shortLabel??"\\u05E7\\u05D8\\u05DF"} \\u05DE\\u05D3\\u05D9: ${p} ${f} ${m}${c.minimum.toString()}`}case"invalid_format":{let d=c;if(d.format==="starts_with")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05D4\\u05EA\\u05D7\\u05D9\\u05DC \\u05D1 "${d.prefix}"`;if(d.format==="ends_with")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05D4\\u05E1\\u05EA\\u05D9\\u05D9\\u05DD \\u05D1 "${d.suffix}"`;if(d.format==="includes")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05DB\\u05DC\\u05D5\\u05DC "${d.includes}"`;if(d.format==="regex")return`\\u05D4\\u05DE\\u05D7\\u05E8\\u05D5\\u05D6\\u05EA \\u05D7\\u05D9\\u05D9\\u05D1\\u05EA \\u05DC\\u05D4\\u05EA\\u05D0\\u05D9\\u05DD \\u05DC\\u05EA\\u05D1\\u05E0\\u05D9\\u05EA ${d.pattern}`;let p=s[d.format],m=p?.label??d.format,_=(p?.gender??"m")==="f"?"\\u05EA\\u05E7\\u05D9\\u05E0\\u05D4":"\\u05EA\\u05E7\\u05D9\\u05DF";return`${m} \\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 ${c.divisor}`;case"unrecognized_keys":return`\\u05DE\\u05E4\\u05EA\\u05D7${c.keys.length>1?"\\u05D5\\u05EA":""} \\u05DC\\u05D0 \\u05DE\\u05D6\\u05D5\\u05D4${c.keys.length>1?"\\u05D9\\u05DD":"\\u05D4"}: ${T(c.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(c.origin??"array")}`;default:return"\\u05E7\\u05DC\\u05D8 \\u05DC\\u05D0 \\u05EA\\u05E7\\u05D9\\u05DF"}}};function rO(){return{localeError:n5()}}var r5=()=>{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",cidrv4:"IPv4 raspon",cidrv6:"IPv6 raspon",base64:"base64 kodirani tekst",base64url:"base64url kodirani tekst",json_string:"JSON tekst",e164:"E.164 broj",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=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Neispravan unos: o\\u010Dekuje se instanceof ${r.expected}, a primljeno je ${s}`:`Neispravan unos: o\\u010Dekuje se ${o}, a primljeno je ${s}`}case"invalid_value":return r.values.length===1?`Neispravna vrijednost: o\\u010Dekivano ${k(r.values[0])}`:`Neispravna opcija: o\\u010Dekivano jedno od ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin),s=i[r.origin]??r.origin;return a?`Preveliko: o\\u010Dekivano da ${s??"vrijednost"} ima ${o}${r.maximum.toString()} ${a.unit??"elemenata"}`:`Preveliko: o\\u010Dekivano da ${s??"vrijednost"} bude ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin),s=i[r.origin]??r.origin;return a?`Premalo: o\\u010Dekivano da ${s} ima ${o}${r.minimum.toString()} ${a.unit}`:`Premalo: o\\u010Dekivano da ${s} 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"}: ${T(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 iO(){return{localeError:r5()}}var i5=()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{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",cidrv4:"IPv4 tartom\\xE1ny",cidrv6:"IPv6 tartom\\xE1ny",base64:"base64-k\\xF3dolt string",base64url:"base64url-k\\xF3dolt string",json_string:"JSON string",e164:"E.164 sz\\xE1m",jwt:"JWT",template_literal:"bemenet"},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=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`\\xC9rv\\xE9nytelen bemenet: a v\\xE1rt \\xE9rt\\xE9k instanceof ${r.expected}, a kapott \\xE9rt\\xE9k ${s}`:`\\xC9rv\\xE9nytelen bemenet: a v\\xE1rt \\xE9rt\\xE9k ${o}, a kapott \\xE9rt\\xE9k ${s}`}case"invalid_value":return r.values.length===1?`\\xC9rv\\xE9nytelen bemenet: a v\\xE1rt \\xE9rt\\xE9k ${k(r.values[0])}`:`\\xC9rv\\xE9nytelen opci\\xF3: valamelyik \\xE9rt\\xE9k v\\xE1rt ${T(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":""}: ${T(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 oO(){return{localeError:i5()}}function aO(e,t,n){return Math.abs(e)===1?t:n}function Es(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 o5=()=>{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"}};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",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",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=I(r.input),s=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 ${s}`:`\\u054D\\u056D\\u0561\\u056C \\u0574\\u0578\\u0582\\u057F\\u0584\\u0561\\u0563\\u0580\\u0578\\u0582\\u0574\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567\\u0580 ${o}, \\u057D\\u057F\\u0561\\u0581\\u057E\\u0565\\u056C \\u0567 ${s}`}case"invalid_value":return r.values.length===1?`\\u054D\\u056D\\u0561\\u056C \\u0574\\u0578\\u0582\\u057F\\u0584\\u0561\\u0563\\u0580\\u0578\\u0582\\u0574\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567\\u0580 ${k(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 ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);if(a){let s=Number(r.maximum),l=aO(s,a.unit.one,a.unit.many);return`\\u0549\\u0561\\u0583\\u0561\\u0566\\u0561\\u0576\\u0581 \\u0574\\u0565\\u056E \\u0561\\u0580\\u056A\\u0565\\u0584\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567, \\u0578\\u0580 ${Es(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 ${Es(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 s=Number(r.minimum),l=aO(s,a.unit.one,a.unit.many);return`\\u0549\\u0561\\u0583\\u0561\\u0566\\u0561\\u0576\\u0581 \\u0583\\u0578\\u0584\\u0580 \\u0561\\u0580\\u056A\\u0565\\u0584\\u2024 \\u057D\\u057A\\u0561\\u057D\\u057E\\u0578\\u0582\\u0574 \\u0567, \\u0578\\u0580 ${Es(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 ${Es(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":""}. ${T(r.keys,", ")}`;case"invalid_key":return`\\u054D\\u056D\\u0561\\u056C \\u0562\\u0561\\u0576\\u0561\\u056C\\u056B ${Es(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 ${Es(r.origin)}-\\u0578\\u0582\\u0574`;default:return"\\u054D\\u056D\\u0561\\u056C \\u0574\\u0578\\u0582\\u057F\\u0584\\u0561\\u0563\\u0580\\u0578\\u0582\\u0574"}}};function sO(){return{localeError:o5()}}var a5=()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{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",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Input tidak valid: diharapkan instanceof ${r.expected}, diterima ${s}`:`Input tidak valid: diharapkan ${o}, diterima ${s}`}case"invalid_value":return r.values.length===1?`Input tidak valid: diharapkan ${k(r.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${T(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":""}: ${T(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 lO(){return{localeError:a5()}}var s5=()=>{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"}};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",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded strengur",base64url:"base64url-encoded strengur",json_string:"JSON strengur",e164:"E.164 t\\xF6lugildi",jwt:"JWT",template_literal:"gildi"},i={nan:"NaN",number:"n\\xFAmer",array:"fylki"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Rangt gildi: \\xDE\\xFA sl\\xF3st inn ${s} \\xFEar sem \\xE1 a\\xF0 vera instanceof ${r.expected}`:`Rangt gildi: \\xDE\\xFA sl\\xF3st inn ${s} \\xFEar sem \\xE1 a\\xF0 vera ${o}`}case"invalid_value":return r.values.length===1?`Rangt gildi: gert r\\xE1\\xF0 fyrir ${k(r.values[0])}`:`\\xD3gilt val: m\\xE1 vera eitt af eftirfarandi ${T(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"}: ${T(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 cO(){return{localeError:s5()}}var l5=()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{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",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"numero",array:"vettore"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Input non valido: atteso instanceof ${r.expected}, ricevuto ${s}`:`Input non valido: atteso ${o}, ricevuto ${s}`}case"invalid_value":return r.values.length===1?`Input non valido: atteso ${k(r.values[0])}`:`Opzione non valida: atteso uno tra ${T(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"}: ${T(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 uO(){return{localeError:l5()}}var c5=()=>{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"}};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",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",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=I(r.input),s=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${s}\\u304C\\u5165\\u529B\\u3055\\u308C\\u307E\\u3057\\u305F`:`\\u7121\\u52B9\\u306A\\u5165\\u529B: ${o}\\u304C\\u671F\\u5F85\\u3055\\u308C\\u307E\\u3057\\u305F\\u304C\\u3001${s}\\u304C\\u5165\\u529B\\u3055\\u308C\\u307E\\u3057\\u305F`}case"invalid_value":return r.values.length===1?`\\u7121\\u52B9\\u306A\\u5165\\u529B: ${k(r.values[0])}\\u304C\\u671F\\u5F85\\u3055\\u308C\\u307E\\u3057\\u305F`:`\\u7121\\u52B9\\u306A\\u9078\\u629E: ${T(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":""}: ${T(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 dO(){return{localeError:c5()}}var u5=()=>{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"}};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",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",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=I(r.input),s=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 ${s}`:`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${o}, \\u10DB\\u10D8\\u10E6\\u10D4\\u10D1\\u10E3\\u10DA\\u10D8 ${s}`}case"invalid_value":return r.values.length===1?`\\u10D0\\u10E0\\u10D0\\u10E1\\u10EC\\u10DD\\u10E0\\u10D8 \\u10E8\\u10D4\\u10E7\\u10D5\\u10D0\\u10DC\\u10D0: \\u10DB\\u10DD\\u10E1\\u10D0\\u10DA\\u10DD\\u10D3\\u10DC\\u10D4\\u10DA\\u10D8 ${k(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 ${T(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"}: ${T(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 mO(){return{localeError:u5()}}var d5=()=>{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"}};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",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",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=I(r.input),s=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 ${s}`:`\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1794\\u1789\\u17D2\\u1785\\u17BC\\u179B\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${o} \\u1794\\u17C9\\u17BB\\u1793\\u17D2\\u178F\\u17C2\\u1791\\u1791\\u17BD\\u179B\\u1794\\u17B6\\u1793 ${s}`}case"invalid_value":return r.values.length===1?`\\u1791\\u17B7\\u1793\\u17D2\\u1793\\u1793\\u17D0\\u1799\\u1794\\u1789\\u17D2\\u1785\\u17BC\\u179B\\u1798\\u17B7\\u1793\\u178F\\u17D2\\u179A\\u17B9\\u1798\\u178F\\u17D2\\u179A\\u17BC\\u179C\\u17D6 \\u178F\\u17D2\\u179A\\u17BC\\u179C\\u1780\\u17B6\\u179A ${k(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 ${T(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 ${T(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 Ch(){return{localeError:d5()}}function fO(){return Ch()}var m5=()=>{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"}};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",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",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=I(r.input),s=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 ${s}\\uC785\\uB2C8\\uB2E4`:`\\uC798\\uBABB\\uB41C \\uC785\\uB825: \\uC608\\uC0C1 \\uD0C0\\uC785\\uC740 ${o}, \\uBC1B\\uC740 \\uD0C0\\uC785\\uC740 ${s}\\uC785\\uB2C8\\uB2E4`}case"invalid_value":return r.values.length===1?`\\uC798\\uBABB\\uB41C \\uC785\\uB825: \\uAC12\\uC740 ${k(r.values[0])} \\uC774\\uC5B4\\uC57C \\uD569\\uB2C8\\uB2E4`:`\\uC798\\uBABB\\uB41C \\uC635\\uC158: ${T(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",s=t(r.origin),l=s?.unit??"\\uC694\\uC18C";return s?`${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",s=t(r.origin),l=s?.unit??"\\uC694\\uC18C";return s?`${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: ${T(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 pO(){return{localeError:m5()}}var $u=e=>e.charAt(0).toUpperCase()+e.slice(1);function hO(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 f5=()=>{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,s){let l=e[r]??null;return l===null?l:{unit:l.unit[o],verb:l.verb[s][a?"inclusive":"notInclusive"]}}let n={regex:"\\u012Fvestis",email:"el. pa\\u0161to adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukm\\u0117",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",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",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=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Gautas tipas ${s}, o tik\\u0117tasi - instanceof ${r.expected}`:`Gautas tipas ${s}, o tik\\u0117tasi - ${o}`}case"invalid_value":return r.values.length===1?`Privalo b\\u016Bti ${k(r.values[0])}`:`Privalo b\\u016Bti vienas i\\u0161 ${T(r.values,"|")} pasirinkim\\u0173`;case"too_big":{let o=i[r.origin]??r.origin,a=t(r.origin,hO(Number(r.maximum)),r.inclusive??!1,"smaller");if(a?.verb)return`${$u(o??r.origin??"reik\\u0161m\\u0117")} ${a.verb} ${r.maximum.toString()} ${a.unit??"element\\u0173"}`;let s=r.inclusive?"ne didesnis kaip":"ma\\u017Eesnis kaip";return`${$u(o??r.origin??"reik\\u0161m\\u0117")} turi b\\u016Bti ${s} ${r.maximum.toString()} ${a?.unit}`}case"too_small":{let o=i[r.origin]??r.origin,a=t(r.origin,hO(Number(r.minimum)),r.inclusive??!1,"bigger");if(a?.verb)return`${$u(o??r.origin??"reik\\u0161m\\u0117")} ${a.verb} ${r.minimum.toString()} ${a.unit??"element\\u0173"}`;let s=r.inclusive?"ne ma\\u017Eesnis kaip":"didesnis kaip";return`${$u(o??r.origin??"reik\\u0161m\\u0117")} turi b\\u016Bti ${s} ${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"}: ${T(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`${$u(o??r.origin??"reik\\u0161m\\u0117")} turi klaiding\\u0105 \\u012Fvest\\u012F`}default:return"Klaidinga \\u012Fvestis"}}};function gO(){return{localeError:f5()}}var p5=()=>{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"}};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",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",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=I(r.input),s=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 ${s}`:`\\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 ${s}`}case"invalid_value":return r.values.length===1?`Invalid input: expected ${k(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 ${T(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"}: ${T(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 vO(){return{localeError:p5()}}var h5=()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{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",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"nombor"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Input tidak sah: dijangka instanceof ${r.expected}, diterima ${s}`:`Input tidak sah: dijangka ${o}, diterima ${s}`}case"invalid_value":return r.values.length===1?`Input tidak sah: dijangka ${k(r.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${T(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: ${T(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 yO(){return{localeError:h5()}}var g5=()=>{let e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{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",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"},i={nan:"NaN",number:"getal"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ongeldige invoer: verwacht instanceof ${r.expected}, ontving ${s}`:`Ongeldige invoer: verwacht ${o}, ontving ${s}`}case"invalid_value":return r.values.length===1?`Ongeldige invoer: verwacht ${k(r.values[0])}`:`Ongeldige optie: verwacht \\xE9\\xE9n van ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin),s=r.origin==="date"?"laat":r.origin==="string"?"lang":"groot";return a?`Te ${s}: verwacht dat ${r.origin??"waarde"} ${o}${r.maximum.toString()} ${a.unit??"elementen"} ${a.verb}`:`Te ${s}: verwacht dat ${r.origin??"waarde"} ${o}${r.maximum.toString()} is`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin),s=r.origin==="date"?"vroeg":r.origin==="string"?"kort":"klein";return a?`Te ${s}: verwacht dat ${r.origin} ${o}${r.minimum.toString()} ${a.unit} ${a.verb}`:`Te ${s}: 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":""}: ${T(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 SO(){return{localeError:g5()}}var v5=()=>{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"}};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-omr\\xE5de",ipv6:"IPv6-omr\\xE5de",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"tall",array:"liste"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ugyldig input: forventet instanceof ${r.expected}, fikk ${s}`:`Ugyldig input: forventet ${o}, fikk ${s}`}case"invalid_value":return r.values.length===1?`Ugyldig verdi: forventet ${k(r.values[0])}`:`Ugyldig valg: forventet en av ${T(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"}: ${T(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 bO(){return{localeError:v5()}}var y5=()=>{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"}};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",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-\\u015Fifreli metin",base64url:"base64url-\\u015Fifreli metin",json_string:"JSON metin",e164:"E.164 say\\u0131s\\u0131",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=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`F\\xE2sit giren: umulan instanceof ${r.expected}, al\\u0131nan ${s}`:`F\\xE2sit giren: umulan ${o}, al\\u0131nan ${s}`}case"invalid_value":return r.values.length===1?`F\\xE2sit giren: umulan ${k(r.values[0])}`:`F\\xE2sit tercih: m\\xFBteberler ${T(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":""}: ${T(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 _O(){return{localeError:y5()}}var S5=()=>{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"}};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",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",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=I(r.input),s=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 ${s} \\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 ${s} \\u062A\\u0631\\u0644\\u0627\\u0633\\u0647 \\u0634\\u0648`}case"invalid_value":return r.values.length===1?`\\u0646\\u0627\\u0633\\u0645 \\u0648\\u0631\\u0648\\u062F\\u064A: \\u0628\\u0627\\u06CC\\u062F ${k(r.values[0])} \\u0648\\u0627\\u06CC`:`\\u0646\\u0627\\u0633\\u0645 \\u0627\\u0646\\u062A\\u062E\\u0627\\u0628: \\u0628\\u0627\\u06CC\\u062F \\u06CC\\u0648 \\u0644\\u0647 ${T(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"}: ${T(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 zO(){return{localeError:S5()}}var b5=()=>{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"}};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",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",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=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Nieprawid\\u0142owe dane wej\\u015Bciowe: oczekiwano instanceof ${r.expected}, otrzymano ${s}`:`Nieprawid\\u0142owe dane wej\\u015Bciowe: oczekiwano ${o}, otrzymano ${s}`}case"invalid_value":return r.values.length===1?`Nieprawid\\u0142owe dane wej\\u015Bciowe: oczekiwano ${k(r.values[0])}`:`Nieprawid\\u0142owa opcja: oczekiwano jednej z warto\\u015Bci ${T(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":""}: ${T(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 xO(){return{localeError:b5()}}var _5=()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(r){return e[r]??null}let n={regex:"padr\\xE3o",email:"endere\\xE7o de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"dura\\xE7\\xE3o ISO",ipv4:"endere\\xE7o IPv4",ipv6:"endere\\xE7o IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"n\\xFAmero E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN",number:"n\\xFAmero",null:"nulo"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Tipo inv\\xE1lido: esperado instanceof ${r.expected}, recebido ${s}`:`Tipo inv\\xE1lido: esperado ${o}, recebido ${s}`}case"invalid_value":return r.values.length===1?`Entrada inv\\xE1lida: esperado ${k(r.values[0])}`:`Op\\xE7\\xE3o inv\\xE1lida: esperada uma das ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);return a?`Muito grande: esperado que ${r.origin??"valor"} tivesse ${o}${r.maximum.toString()} ${a.unit??"elementos"}`:`Muito grande: esperado que ${r.origin??"valor"} fosse ${o}${r.maximum.toString()}`}case"too_small":{let o=r.inclusive?">=":">",a=t(r.origin);return a?`Muito pequeno: esperado que ${r.origin} tivesse ${o}${r.minimum.toString()} ${a.unit}`:`Muito pequeno: esperado que ${r.origin} fosse ${o}${r.minimum.toString()}`}case"invalid_format":{let o=r;return o.format==="starts_with"?`Texto inv\\xE1lido: deve come\\xE7ar com "${o.prefix}"`:o.format==="ends_with"?`Texto inv\\xE1lido: deve terminar com "${o.suffix}"`:o.format==="includes"?`Texto inv\\xE1lido: deve incluir "${o.includes}"`:o.format==="regex"?`Texto inv\\xE1lido: deve corresponder ao padr\\xE3o ${o.pattern}`:`${n[o.format]??r.format} inv\\xE1lido`}case"not_multiple_of":return`N\\xFAmero inv\\xE1lido: deve ser m\\xFAltiplo de ${r.divisor}`;case"unrecognized_keys":return`Chave${r.keys.length>1?"s":""} desconhecida${r.keys.length>1?"s":""}: ${T(r.keys,", ")}`;case"invalid_key":return`Chave inv\\xE1lida em ${r.origin}`;case"invalid_union":return"Entrada inv\\xE1lida";case"invalid_element":return`Valor inv\\xE1lido em ${r.origin}`;default:return"Campo inv\\xE1lido"}}};function wO(){return{localeError:_5()}}var z5=()=>{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",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=I(r.input),s=i[a]??a;return`Intrare invalid\\u0103: a\\u0219teptat ${o}, primit ${s}`}case"invalid_value":return r.values.length===1?`Intrare invalid\\u0103: a\\u0219teptat ${k(r.values[0])}`:`Op\\u021Biune invalid\\u0103: a\\u0219teptat una dintre ${T(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: ${T(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 TO(){return{localeError:z5()}}function $O(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 x5=()=>{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"}};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",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",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=I(r.input),s=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 ${s}`:`\\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 ${s}`}case"invalid_value":return r.values.length===1?`\\u041D\\u0435\\u0432\\u0435\\u0440\\u043D\\u044B\\u0439 \\u0432\\u0432\\u043E\\u0434: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C ${k(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 ${T(r.values,"|")}`;case"too_big":{let o=r.inclusive?"<=":"<",a=t(r.origin);if(a){let s=Number(r.maximum),l=$O(s,a.unit.one,a.unit.few,a.unit.many);return`\\u0421\\u043B\\u0438\\u0448\\u043A\\u043E\\u043C \\u0431\\u043E\\u043B\\u044C\\u0448\\u043E\\u0435 \\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C, \\u0447\\u0442\\u043E ${r.origin??"\\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435"} \\u0431\\u0443\\u0434\\u0435\\u0442 \\u0438\\u043C\\u0435\\u0442\\u044C ${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 s=Number(r.minimum),l=$O(s,a.unit.one,a.unit.few,a.unit.many);return`\\u0421\\u043B\\u0438\\u0448\\u043A\\u043E\\u043C \\u043C\\u0430\\u043B\\u0435\\u043D\\u044C\\u043A\\u043E\\u0435 \\u0437\\u043D\\u0430\\u0447\\u0435\\u043D\\u0438\\u0435: \\u043E\\u0436\\u0438\\u0434\\u0430\\u043B\\u043E\\u0441\\u044C, \\u0447\\u0442\\u043E ${r.origin} \\u0431\\u0443\\u0434\\u0435\\u0442 \\u0438\\u043C\\u0435\\u0442\\u044C ${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":""}: ${T(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 RO(){return{localeError:x5()}}var w5=()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{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",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 \\u0161tevilka",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=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Neveljaven vnos: pri\\u010Dakovano instanceof ${r.expected}, prejeto ${s}`:`Neveljaven vnos: pri\\u010Dakovano ${o}, prejeto ${s}`}case"invalid_value":return r.values.length===1?`Neveljaven vnos: pri\\u010Dakovano ${k(r.values[0])}`:`Neveljavna mo\\u017Enost: pri\\u010Dakovano eno izmed ${T(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"}: ${T(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 EO(){return{localeError:w5()}}var T5=()=>{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"}};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-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad str\\xE4ng",base64url:"base64url-kodad str\\xE4ng",json_string:"JSON-str\\xE4ng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},i={nan:"NaN",number:"antal",array:"lista"};return r=>{switch(r.code){case"invalid_type":{let o=i[r.expected]??r.expected,a=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ogiltig inmatning: f\\xF6rv\\xE4ntat instanceof ${r.expected}, fick ${s}`:`Ogiltig inmatning: f\\xF6rv\\xE4ntat ${o}, fick ${s}`}case"invalid_value":return r.values.length===1?`Ogiltig inmatning: f\\xF6rv\\xE4ntat ${k(r.values[0])}`:`Ogiltigt val: f\\xF6rv\\xE4ntade en av ${T(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"}: ${T(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 OO(){return{localeError:T5()}}var $5=()=>{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"}};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",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",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=I(r.input),s=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 ${s}`:`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0BC0\\u0B9F\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${o}, \\u0BAA\\u0BC6\\u0BB1\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${s}`}case"invalid_value":return r.values.length===1?`\\u0BA4\\u0BB5\\u0BB1\\u0BBE\\u0BA9 \\u0B89\\u0BB3\\u0BCD\\u0BB3\\u0BC0\\u0B9F\\u0BC1: \\u0B8E\\u0BA4\\u0BBF\\u0BB0\\u0BCD\\u0BAA\\u0BBE\\u0BB0\\u0BCD\\u0B95\\u0BCD\\u0B95\\u0BAA\\u0BCD\\u0BAA\\u0B9F\\u0BCD\\u0B9F\\u0BA4\\u0BC1 ${k(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 ${T(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":""}: ${T(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 kO(){return{localeError:$5()}}var R5=()=>{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"}};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",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)",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=I(r.input),s=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 ${s}`:`\\u0E1B\\u0E23\\u0E30\\u0E40\\u0E20\\u0E17\\u0E02\\u0E49\\u0E2D\\u0E21\\u0E39\\u0E25\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E04\\u0E27\\u0E23\\u0E40\\u0E1B\\u0E47\\u0E19 ${o} \\u0E41\\u0E15\\u0E48\\u0E44\\u0E14\\u0E49\\u0E23\\u0E31\\u0E1A ${s}`}case"invalid_value":return r.values.length===1?`\\u0E04\\u0E48\\u0E32\\u0E44\\u0E21\\u0E48\\u0E16\\u0E39\\u0E01\\u0E15\\u0E49\\u0E2D\\u0E07: \\u0E04\\u0E27\\u0E23\\u0E40\\u0E1B\\u0E47\\u0E19 ${k(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 ${T(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: ${T(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 IO(){return{localeError:R5()}}var E5=()=>{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"}};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",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",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=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Ge\\xE7ersiz de\\u011Fer: beklenen instanceof ${r.expected}, al\\u0131nan ${s}`:`Ge\\xE7ersiz de\\u011Fer: beklenen ${o}, al\\u0131nan ${s}`}case"invalid_value":return r.values.length===1?`Ge\\xE7ersiz de\\u011Fer: beklenen ${k(r.values[0])}`:`Ge\\xE7ersiz se\\xE7enek: a\\u015Fa\\u011F\\u0131dakilerden biri olmal\\u0131: ${T(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":""}: ${T(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 NO(){return{localeError:E5()}}var O5=()=>{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"}};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",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",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=I(r.input),s=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 ${s}`:`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0456 \\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F ${o}, \\u043E\\u0442\\u0440\\u0438\\u043C\\u0430\\u043D\\u043E ${s}`}case"invalid_value":return r.values.length===1?`\\u041D\\u0435\\u043F\\u0440\\u0430\\u0432\\u0438\\u043B\\u044C\\u043D\\u0456 \\u0432\\u0445\\u0456\\u0434\\u043D\\u0456 \\u0434\\u0430\\u043D\\u0456: \\u043E\\u0447\\u0456\\u043A\\u0443\\u0454\\u0442\\u044C\\u0441\\u044F ${k(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 ${T(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":""}: ${T(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 jh(){return{localeError:O5()}}function CO(){return jh()}var k5=()=>{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"}};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",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",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=I(r.input),s=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 ${s} \\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 ${s} \\u0645\\u0648\\u0635\\u0648\\u0644 \\u06C1\\u0648\\u0627`}case"invalid_value":return r.values.length===1?`\\u063A\\u0644\\u0637 \\u0627\\u0646 \\u067E\\u0679: ${k(r.values[0])} \\u0645\\u062A\\u0648\\u0642\\u0639 \\u062A\\u06BE\\u0627`:`\\u063A\\u0644\\u0637 \\u0622\\u067E\\u0634\\u0646: ${T(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":""}: ${T(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 jO(){return{localeError:k5()}}var I5=()=>{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",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=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`Noto\\u2018g\\u2018ri kirish: kutilgan instanceof ${r.expected}, qabul qilingan ${s}`:`Noto\\u2018g\\u2018ri kirish: kutilgan ${o}, qabul qilingan ${s}`}case"invalid_value":return r.values.length===1?`Noto\\u2018g\\u2018ri kirish: kutilgan ${k(r.values[0])}`:`Noto\\u2018g\\u2018ri variant: quyidagilardan biri kutilgan ${T(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":""}: ${T(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 AO(){return{localeError:I5()}}var N5=()=>{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"}};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",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",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=I(r.input),s=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 ${s}`:`\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7: mong \\u0111\\u1EE3i ${o}, nh\\u1EADn \\u0111\\u01B0\\u1EE3c ${s}`}case"invalid_value":return r.values.length===1?`\\u0110\\u1EA7u v\\xE0o kh\\xF4ng h\\u1EE3p l\\u1EC7: mong \\u0111\\u1EE3i ${k(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 ${T(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: ${T(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 PO(){return{localeError:N5()}}var C5=()=>{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"}};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",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",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=I(r.input),s=i[a]??a;return/^[A-Z]/.test(r.expected)?`\\u65E0\\u6548\\u8F93\\u5165\\uFF1A\\u671F\\u671B instanceof ${r.expected}\\uFF0C\\u5B9E\\u9645\\u63A5\\u6536 ${s}`:`\\u65E0\\u6548\\u8F93\\u5165\\uFF1A\\u671F\\u671B ${o}\\uFF0C\\u5B9E\\u9645\\u63A5\\u6536 ${s}`}case"invalid_value":return r.values.length===1?`\\u65E0\\u6548\\u8F93\\u5165\\uFF1A\\u671F\\u671B ${k(r.values[0])}`:`\\u65E0\\u6548\\u9009\\u9879\\uFF1A\\u671F\\u671B\\u4EE5\\u4E0B\\u4E4B\\u4E00 ${T(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): ${T(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 UO(){return{localeError:C5()}}var j5=()=>{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"}};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",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",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=I(r.input),s=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 ${s}`:`\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\\uFF1A\\u9810\\u671F\\u70BA ${o}\\uFF0C\\u4F46\\u6536\\u5230 ${s}`}case"invalid_value":return r.values.length===1?`\\u7121\\u6548\\u7684\\u8F38\\u5165\\u503C\\uFF1A\\u9810\\u671F\\u70BA ${k(r.values[0])}`:`\\u7121\\u6548\\u7684\\u9078\\u9805\\uFF1A\\u9810\\u671F\\u70BA\\u4EE5\\u4E0B\\u5176\\u4E2D\\u4E4B\\u4E00 ${T(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${T(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 MO(){return{localeError:j5()}}var A5=()=>{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"}};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",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",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=I(r.input),s=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 ${s}`:`\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e: a n\\xED l\\xE1ti fi ${o}, \\xE0m\\u1ECD\\u0300 a r\\xED ${s}`}case"invalid_value":return r.values.length===1?`\\xCCb\\xE1w\\u1ECDl\\xE9 a\\u1E63\\xEC\\u1E63e: a n\\xED l\\xE1ti fi ${k(r.values[0])}`:`\\xC0\\u1E63\\xE0y\\xE0n a\\u1E63\\xEC\\u1E63e: yan \\u1ECD\\u0300kan l\\xE1ra ${T(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: ${T(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 DO(){return{localeError:A5()}}var LO,t1=Symbol("ZodOutput"),n1=Symbol("ZodInput"),Ah=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 Ph(){return new Ah}(LO=globalThis).__zod_globalRegistry??(LO.__zod_globalRegistry=Ph());var vt=globalThis.__zod_globalRegistry;function r1(e,t){return new e({type:"string",...P(t)})}function i1(e,t){return new e({type:"string",coerce:!0,...P(t)})}function Uh(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...P(t)})}function Eu(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...P(t)})}function Mh(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...P(t)})}function Dh(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...P(t)})}function Lh(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...P(t)})}function qh(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...P(t)})}function Ou(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...P(t)})}function Hh(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...P(t)})}function Zh(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...P(t)})}function Vh(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...P(t)})}function Bh(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...P(t)})}function Gh(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...P(t)})}function Jh(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...P(t)})}function Yh(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...P(t)})}function Kh(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...P(t)})}function Fh(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...P(t)})}function o1(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...P(t)})}function Qh(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...P(t)})}function Xh(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...P(t)})}function Wh(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...P(t)})}function eg(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...P(t)})}function tg(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...P(t)})}function ng(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...P(t)})}var a1={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function s1(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...P(t)})}function l1(e,t){return new e({type:"string",format:"date",check:"string_format",...P(t)})}function c1(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...P(t)})}function u1(e,t){return new e({type:"string",format:"duration",check:"string_format",...P(t)})}function d1(e,t){return new e({type:"number",checks:[],...P(t)})}function m1(e,t){return new e({type:"number",coerce:!0,checks:[],...P(t)})}function f1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...P(t)})}function p1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...P(t)})}function h1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...P(t)})}function g1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...P(t)})}function v1(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...P(t)})}function y1(e,t){return new e({type:"boolean",...P(t)})}function S1(e,t){return new e({type:"boolean",coerce:!0,...P(t)})}function b1(e,t){return new e({type:"bigint",...P(t)})}function _1(e,t){return new e({type:"bigint",coerce:!0,...P(t)})}function z1(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...P(t)})}function x1(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...P(t)})}function w1(e,t){return new e({type:"symbol",...P(t)})}function T1(e,t){return new e({type:"undefined",...P(t)})}function $1(e,t){return new e({type:"null",...P(t)})}function R1(e){return new e({type:"any"})}function E1(e){return new e({type:"unknown"})}function O1(e,t){return new e({type:"never",...P(t)})}function k1(e,t){return new e({type:"void",...P(t)})}function I1(e,t){return new e({type:"date",...P(t)})}function N1(e,t){return new e({type:"date",coerce:!0,...P(t)})}function C1(e,t){return new e({type:"nan",...P(t)})}function pr(e,t){return new _h({check:"less_than",...P(t),value:e,inclusive:!1})}function pn(e,t){return new _h({check:"less_than",...P(t),value:e,inclusive:!0})}function hr(e,t){return new zh({check:"greater_than",...P(t),value:e,inclusive:!1})}function Pt(e,t){return new zh({check:"greater_than",...P(t),value:e,inclusive:!0})}function rg(e){return hr(0,e)}function ig(e){return pr(0,e)}function og(e){return pn(0,e)}function ag(e){return Pt(0,e)}function Hi(e,t){return new $b({check:"multiple_of",...P(t),value:e})}function Zi(e,t){return new Ob({check:"max_size",...P(t),maximum:e})}function gr(e,t){return new kb({check:"min_size",...P(t),minimum:e})}function qo(e,t){return new Ib({check:"size_equals",...P(t),size:e})}function Ho(e,t){return new Nb({check:"max_length",...P(t),maximum:e})}function Gr(e,t){return new Cb({check:"min_length",...P(t),minimum:e})}function Zo(e,t){return new jb({check:"length_equals",...P(t),length:e})}function Os(e,t){return new Ab({check:"string_format",format:"regex",...P(t),pattern:e})}function ks(e){return new Pb({check:"string_format",format:"lowercase",...P(e)})}function Is(e){return new Ub({check:"string_format",format:"uppercase",...P(e)})}function Ns(e,t){return new Mb({check:"string_format",format:"includes",...P(t),includes:e})}function Cs(e,t){return new Db({check:"string_format",format:"starts_with",...P(t),prefix:e})}function js(e,t){return new Lb({check:"string_format",format:"ends_with",...P(t),suffix:e})}function sg(e,t,n){return new qb({check:"property",property:e,schema:t,...P(n)})}function As(e,t){return new Hb({check:"mime_type",mime:e,...P(t)})}function Gn(e){return new Zb({check:"overwrite",tx:e})}function Ps(e){return Gn(t=>t.normalize(e))}function Us(){return Gn(e=>e.trim())}function Ms(){return Gn(e=>e.toLowerCase())}function Ds(){return Gn(e=>e.toUpperCase())}function Ls(){return Gn(e=>DS(e))}function j1(e,t,n){return new e({type:"array",element:t,...P(n)})}function U5(e,t,n){return new e({type:"union",options:t,...P(n)})}function M5(e,t,n){return new e({type:"union",options:t,inclusive:!1,...P(n)})}function D5(e,t,n,i){return new e({type:"union",options:n,discriminator:t,...P(i)})}function L5(e,t,n){return new e({type:"intersection",left:t,right:n})}function q5(e,t,n,i){let r=n instanceof X,o=r?i:n,a=r?n:null;return new e({type:"tuple",items:t,rest:a,...P(o)})}function H5(e,t,n,i){return new e({type:"record",keyType:t,valueType:n,...P(i)})}function Z5(e,t,n,i){return new e({type:"map",keyType:t,valueType:n,...P(i)})}function V5(e,t,n){return new e({type:"set",valueType:t,...P(n)})}function B5(e,t,n){let i=Array.isArray(t)?Object.fromEntries(t.map(r=>[r,r])):t;return new e({type:"enum",entries:i,...P(n)})}function G5(e,t,n){return new e({type:"enum",entries:t,...P(n)})}function J5(e,t,n){return new e({type:"literal",values:Array.isArray(t)?t:[t],...P(n)})}function A1(e,t){return new e({type:"file",...P(t)})}function Y5(e,t){return new e({type:"transform",transform:t})}function K5(e,t){return new e({type:"optional",innerType:t})}function F5(e,t){return new e({type:"nullable",innerType:t})}function Q5(e,t,n){return new e({type:"default",innerType:t,get defaultValue(){return typeof n=="function"?n():qS(n)}})}function X5(e,t,n){return new e({type:"nonoptional",innerType:t,...P(n)})}function W5(e,t){return new e({type:"success",innerType:t})}function eU(e,t,n){return new e({type:"catch",innerType:t,catchValue:typeof n=="function"?n:()=>n})}function tU(e,t,n){return new e({type:"pipe",in:t,out:n})}function nU(e,t){return new e({type:"readonly",innerType:t})}function rU(e,t,n){return new e({type:"template_literal",parts:t,...P(n)})}function iU(e,t){return new e({type:"lazy",getter:t})}function oU(e,t){return new e({type:"promise",innerType:t})}function P1(e,t,n){let i=P(n);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:t,...i})}function U1(e,t,n){return new e({type:"custom",check:"custom",fn:t,...P(n)})}function M1(e,t){let n=qO(i=>(i.addIssue=r=>{if(typeof r=="string")i.issues.push(zs(r,i.value,n._zod.def));else{let o=r;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=i.value),o.inst??(o.inst=n),o.continue??(o.continue=!n._zod.def.abort),i.issues.push(zs(o))}},e(i.value,i)),t);return n}function qO(e,t){let n=new Ee({check:"custom",...P(t)});return n._zod.check=e,n}function D1(e){let t=new Ee({check:"describe"});return t._zod.onattach=[n=>{let i=vt.get(n)??{};vt.add(n,{...i,description:e})}],t._zod.check=()=>{},t}function L1(e){let t=new Ee({check:"meta"});return t._zod.onattach=[n=>{let i=vt.get(n)??{};vt.add(n,{...i,...e})}],t._zod.check=()=>{},t}function q1(e,t){let n=P(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(f=>typeof f=="string"?f.toLowerCase():f),r=r.map(f=>typeof f=="string"?f.toLowerCase():f));let o=new Set(i),a=new Set(r),s=e.Codec??Tu,l=e.Boolean??xu,c=e.String??Lo,d=new c({type:"string",error:n.error}),p=new l({type:"boolean",error:n.error}),m=new s({type:"pipe",in:d,out:p,transform:((f,_)=>{let $=f;return n.case!=="sensitive"&&($=$.toLowerCase()),o.has($)?!0:a.has($)?!1:(_.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...a],input:_.value,inst:m,continue:!1}),{})}),reverseTransform:((f,_)=>f===!0?i[0]||"true":r[0]||"false"),error:n.error});return m}function qs(e,t,n,i={}){let r=P(i),o={...P(i),check:"string_format",type:"string",format:t,fn:typeof n=="function"?n:s=>n.test(s),...r};return n instanceof RegExp&&(o.pattern=n),new e(o)}function Vi(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??vt,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function ye(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);let s=e._zod.toJSONSchema?.();if(s)a.schema=s;else{let d={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,d);else{let m=a.schema,f=t.processors[r.type];if(!f)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${r.type}`);f(e,t,m,d)}let p=e._zod.parent;p&&(a.ref||(a.ref=p),ye(p,t,d),t.seen.get(p).isParent=!0)}let l=t.metadataRegistry.get(e);return l&&Object.assign(a.schema,l),t.io==="input"&&Ut(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 Bi(e,t){let n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=new Map;for(let a of e.seen.entries()){let s=e.metadataRegistry.get(a[0])?.id;if(s){let l=i.get(s);if(l&&l!==a[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(s,a[0])}}let r=a=>{let s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let p=e.external.registry.get(a[0])?.id,m=e.external.uri??(_=>_);if(p)return{ref:m(p)};let f=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=f,{defId:f,ref:`${m("__shared")}#/${s}/${f}`}}if(a[1]===n)return{ref:"#"};let c=`#/${s}/`,d=a[1].schema.id??`__schema${e.counter++}`;return{defId:d,ref:c+d}},o=a=>{if(a[1].schema.$ref)return;let s=a[1],{ref:l,defId:c}=r(a);s.def={...s.schema},c&&(s.defId=c);let d=s.schema;for(let p in d)delete d[p];d.$ref=l};if(e.cycles==="throw")for(let a of e.seen.entries()){let s=a[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join("/")}/<root>\n\nSet the \\`cycles\\` parameter to \\`"ref"\\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let s=a[1];if(t===a[0]){o(a);continue}if(e.external){let c=e.external.registry.get(a[0])?.id;if(t!==a[0]&&c){o(a);continue}}if(e.metadataRegistry.get(a[0])?.id){o(a);continue}if(s.cycle){o(a);continue}if(s.count>1&&e.reused==="ref"){o(a);continue}}}function Gi(e,t){let n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=s=>{let l=e.seen.get(s);if(l.ref===null)return;let c=l.def??l.schema,d={...c},p=l.ref;if(l.ref=null,p){i(p);let f=e.seen.get(p),_=f.schema;if(_.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(c.allOf=c.allOf??[],c.allOf.push(_)):Object.assign(c,_),Object.assign(c,d),s._zod.parent===p)for(let j in c)j==="$ref"||j==="allOf"||j in d||delete c[j];if(_.$ref&&f.def)for(let j in c)j==="$ref"||j==="allOf"||j in f.def&&JSON.stringify(c[j])===JSON.stringify(f.def[j])&&delete c[j]}let m=s._zod.parent;if(m&&m!==p){i(m);let f=e.seen.get(m);if(f?.schema.$ref&&(c.$ref=f.schema.$ref,f.def))for(let _ in c)_==="$ref"||_==="allOf"||_ in f.def&&JSON.stringify(c[_])===JSON.stringify(f.def[_])&&delete c[_]}e.override({zodSchema:s,jsonSchema:c,path:l.path??[]})};for(let s of[...e.seen.entries()].reverse())i(s[0]);let r={};if(e.target==="draft-2020-12"?r.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?r.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?r.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let s=e.external.registry.get(t)?.id;if(!s)throw new Error("Schema is missing an `id` property");r.$id=e.external.uri(s)}Object.assign(r,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??{};for(let s of e.seen.entries()){let l=s[1];l.def&&l.defId&&(l.def.id===l.defId&&delete l.def.id,a[l.defId]=l.def)}e.external||Object.keys(a).length>0&&(e.target==="draft-2020-12"?r.$defs=a:r.definitions=a);try{let s=JSON.parse(JSON.stringify(r));return Object.defineProperty(s,"~standard",{value:{...t["~standard"],jsonSchema:{input:Hs(t,"input",e.processors),output:Hs(t,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}function Ut(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 Ut(i.element,n);if(i.type==="set")return Ut(i.valueType,n);if(i.type==="lazy")return Ut(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")return Ut(i.innerType,n);if(i.type==="intersection")return Ut(i.left,n)||Ut(i.right,n);if(i.type==="record"||i.type==="map")return Ut(i.keyType,n)||Ut(i.valueType,n);if(i.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Ut(i.in,n)||Ut(i.out,n);if(i.type==="object"){for(let r in i.shape)if(Ut(i.shape[r],n))return!0;return!1}if(i.type==="union"){for(let r of i.options)if(Ut(r,n))return!0;return!1}if(i.type==="tuple"){for(let r of i.items)if(Ut(r,n))return!0;return!!(i.rest&&Ut(i.rest,n))}return!1}var H1=(e,t={})=>n=>{let i=Vi({...n,processors:t});return ye(e,i),Bi(i,e),Gi(i,e)},Hs=(e,t,n={})=>i=>{let{libraryOptions:r,target:o}=i??{},a=Vi({...r??{},target:o,io:t,processors:n});return ye(e,a),Bi(a,e),Gi(a,e)};var aU={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Z1=(e,t,n,i)=>{let r=n;r.type="string";let{minimum:o,maximum:a,format:s,patterns:l,contentEncoding:c}=e._zod.bag;if(typeof o=="number"&&(r.minLength=o),typeof a=="number"&&(r.maxLength=a),s&&(r.format=aU[s]??s,r.format===""&&delete r.format,s==="time"&&delete r.format),c&&(r.contentEncoding=c),l&&l.size>0){let d=[...l];d.length===1?r.pattern=d[0].source:d.length>1&&(r.allOf=[...d.map(p=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:p.source}))])}},V1=(e,t,n,i)=>{let r=n,{minimum:o,maximum:a,format:s,multipleOf:l,exclusiveMaximum:c,exclusiveMinimum:d}=e._zod.bag;typeof s=="string"&&s.includes("int")?r.type="integer":r.type="number";let p=typeof d=="number"&&d>=(o??Number.NEGATIVE_INFINITY),m=typeof c=="number"&&c<=(a??Number.POSITIVE_INFINITY),f=t.target==="draft-04"||t.target==="openapi-3.0";p?f?(r.minimum=d,r.exclusiveMinimum=!0):r.exclusiveMinimum=d:typeof o=="number"&&(r.minimum=o),m?f?(r.maximum=c,r.exclusiveMaximum=!0):r.exclusiveMaximum=c:typeof a=="number"&&(r.maximum=a),typeof l=="number"&&(r.multipleOf=l)},B1=(e,t,n,i)=>{n.type="boolean"},G1=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},J1=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},Y1=(e,t,n,i)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},K1=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},F1=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},Q1=(e,t,n,i)=>{n.not={}},X1=(e,t,n,i)=>{},W1=(e,t,n,i)=>{},ez=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},tz=(e,t,n,i)=>{let r=e._zod.def,o=mu(r.entries);o.every(a=>typeof a=="number")&&(n.type="number"),o.every(a=>typeof a=="string")&&(n.type="string"),n.enum=o},nz=(e,t,n,i)=>{let r=e._zod.def,o=[];for(let a of r.values)if(a===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof a=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");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},rz=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},iz=(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},oz=(e,t,n,i)=>{let r=n,o={type:"string",format:"binary",contentEncoding:"binary"},{minimum:a,maximum:s,mime:l}=e._zod.bag;a!==void 0&&(o.minLength=a),s!==void 0&&(o.maxLength=s),l?l.length===1?(o.contentMediaType=l[0],Object.assign(r,o)):(Object.assign(r,o),r.anyOf=l.map(c=>({contentMediaType:c}))):Object.assign(r,o)},az=(e,t,n,i)=>{n.type="boolean"},sz=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},lz=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},cz=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},uz=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},dz=(e,t,n,i)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},mz=(e,t,n,i)=>{let r=n,o=e._zod.def,{minimum:a,maximum:s}=e._zod.bag;typeof a=="number"&&(r.minItems=a),typeof s=="number"&&(r.maxItems=s),r.type="array",r.items=ye(o.element,t,{...i,path:[...i.path,"items"]})},fz=(e,t,n,i)=>{let r=n,o=e._zod.def;r.type="object",r.properties={};let a=o.shape;for(let c in a)r.properties[c]=ye(a[c],t,{...i,path:[...i.path,"properties",c]});let s=new Set(Object.keys(a)),l=new Set([...s].filter(c=>{let d=o.shape[c]._zod;return t.io==="input"?d.optin===void 0:d.optout===void 0}));l.size>0&&(r.required=Array.from(l)),o.catchall?._zod.def.type==="never"?r.additionalProperties=!1:o.catchall?o.catchall&&(r.additionalProperties=ye(o.catchall,t,{...i,path:[...i.path,"additionalProperties"]})):t.io==="output"&&(r.additionalProperties=!1)},cg=(e,t,n,i)=>{let r=e._zod.def,o=r.inclusive===!1,a=r.options.map((s,l)=>ye(s,t,{...i,path:[...i.path,o?"oneOf":"anyOf",l]}));o?n.oneOf=a:n.anyOf=a},pz=(e,t,n,i)=>{let r=e._zod.def,o=ye(r.left,t,{...i,path:[...i.path,"allOf",0]}),a=ye(r.right,t,{...i,path:[...i.path,"allOf",1]}),s=c=>"allOf"in c&&Object.keys(c).length===1,l=[...s(o)?o.allOf:[o],...s(a)?a.allOf:[a]];n.allOf=l},hz=(e,t,n,i)=>{let r=n,o=e._zod.def;r.type="array";let a=t.target==="draft-2020-12"?"prefixItems":"items",s=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",l=o.items.map((m,f)=>ye(m,t,{...i,path:[...i.path,a,f]})),c=o.rest?ye(o.rest,t,{...i,path:[...i.path,s,...t.target==="openapi-3.0"?[o.items.length]:[]]}):null;t.target==="draft-2020-12"?(r.prefixItems=l,c&&(r.items=c)):t.target==="openapi-3.0"?(r.items={anyOf:l},c&&r.items.anyOf.push(c),r.minItems=l.length,c||(r.maxItems=l.length)):(r.items=l,c&&(r.additionalItems=c));let{minimum:d,maximum:p}=e._zod.bag;typeof d=="number"&&(r.minItems=d),typeof p=="number"&&(r.maxItems=p)},gz=(e,t,n,i)=>{let r=n,o=e._zod.def;r.type="object";let a=o.keyType,l=a._zod.bag?.patterns;if(o.mode==="loose"&&l&&l.size>0){let d=ye(o.valueType,t,{...i,path:[...i.path,"patternProperties","*"]});r.patternProperties={};for(let p of l)r.patternProperties[p.source]=d}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(r.propertyNames=ye(o.keyType,t,{...i,path:[...i.path,"propertyNames"]})),r.additionalProperties=ye(o.valueType,t,{...i,path:[...i.path,"additionalProperties"]});let c=a._zod.values;if(c){let d=[...c].filter(p=>typeof p=="string"||typeof p=="number");d.length>0&&(r.required=d)}},vz=(e,t,n,i)=>{let r=e._zod.def,o=ye(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"}]},yz=(e,t,n,i)=>{let r=e._zod.def;ye(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},Sz=(e,t,n,i)=>{let r=e._zod.def;ye(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,n.default=JSON.parse(JSON.stringify(r.defaultValue))},bz=(e,t,n,i)=>{let r=e._zod.def;ye(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,t.io==="input"&&(n._prefault=JSON.parse(JSON.stringify(r.defaultValue)))},_z=(e,t,n,i)=>{let r=e._zod.def;ye(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType;let a;try{a=r.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}n.default=a},zz=(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;ye(a,t,i);let s=t.seen.get(e);s.ref=a},xz=(e,t,n,i)=>{let r=e._zod.def;ye(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType,n.readOnly=!0},wz=(e,t,n,i)=>{let r=e._zod.def;ye(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},ug=(e,t,n,i)=>{let r=e._zod.def;ye(r.innerType,t,i);let o=t.seen.get(e);o.ref=r.innerType},Tz=(e,t,n,i)=>{let r=e._zod.innerType;ye(r,t,i);let o=t.seen.get(e);o.ref=r},lg={string:Z1,number:V1,boolean:B1,bigint:G1,symbol:J1,null:Y1,undefined:K1,void:F1,never:Q1,any:X1,unknown:W1,date:ez,enum:tz,literal:nz,nan:rz,template_literal:iz,file:oz,success:az,custom:sz,function:lz,transform:cz,map:uz,set:dz,array:mz,object:fz,union:cg,intersection:pz,tuple:hz,record:gz,nullable:vz,nonoptional:yz,default:Sz,prefault:bz,catch:_z,pipe:zz,readonly:xz,promise:wz,optional:ug,lazy:Tz};function Vo(e,t){if("_idmap"in e){let i=e,r=Vi({...t,processors:lg}),o={};for(let l of i._idmap.entries()){let[c,d]=l;ye(d,r)}let a={},s={registry:i,uri:t?.uri,defs:o};r.external=s;for(let l of i._idmap.entries()){let[c,d]=l;Bi(r,d),a[c]=Gi(r,d)}if(Object.keys(o).length>0){let l=r.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[l]:o}}return{schemas:a}}let n=Vi({...t,processors:lg});return ye(e,n),Bi(n,e),Gi(n,e)}var dg=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=Vi({processors:lg,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 ye(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)),Bi(this.ctx,t);let i=Gi(this.ctx,t),{"~standard":r,...o}=i;return o}};var HO={};var ku={};Er(ku,{ZodAny:()=>Bz,ZodArray:()=>Kz,ZodBase64:()=>Cg,ZodBase64URL:()=>jg,ZodBigInt:()=>Fs,ZodBigIntFormat:()=>Ug,ZodBoolean:()=>Ks,ZodCIDRv4:()=>Ig,ZodCIDRv6:()=>Ng,ZodCUID:()=>wg,ZodCUID2:()=>Tg,ZodCatch:()=>hx,ZodCodec:()=>Lu,ZodCustom:()=>qu,ZodCustomStringFormat:()=>Js,ZodDate:()=>Pu,ZodDefault:()=>cx,ZodDiscriminatedUnion:()=>Qz,ZodE164:()=>Ag,ZodEmail:()=>bg,ZodEmoji:()=>zg,ZodEnum:()=>Vs,ZodExactOptional:()=>ax,ZodFile:()=>ix,ZodFunction:()=>wx,ZodGUID:()=>Nu,ZodIPv4:()=>Og,ZodIPv6:()=>kg,ZodIntersection:()=>Xz,ZodJWT:()=>Pg,ZodKSUID:()=>Eg,ZodLazy:()=>zx,ZodLiteral:()=>rx,ZodMAC:()=>qz,ZodMap:()=>tx,ZodNaN:()=>vx,ZodNanoID:()=>xg,ZodNever:()=>Jz,ZodNonOptional:()=>Hg,ZodNull:()=>Vz,ZodNullable:()=>lx,ZodNumber:()=>Ys,ZodNumberFormat:()=>Bo,ZodObject:()=>Uu,ZodOptional:()=>qg,ZodPipe:()=>Du,ZodPrefault:()=>dx,ZodPreprocess:()=>yx,ZodPromise:()=>xx,ZodReadonly:()=>Sx,ZodRecord:()=>Zs,ZodSet:()=>nx,ZodString:()=>Bs,ZodStringFormat:()=>we,ZodSuccess:()=>px,ZodSymbol:()=>Hz,ZodTemplateLiteral:()=>_x,ZodTransform:()=>ox,ZodTuple:()=>Wz,ZodType:()=>ne,ZodULID:()=>$g,ZodURL:()=>Au,ZodUUID:()=>vr,ZodUndefined:()=>Zz,ZodUnion:()=>Mu,ZodUnknown:()=>Gz,ZodVoid:()=>Yz,ZodXID:()=>Rg,ZodXor:()=>Fz,_ZodString:()=>Sg,_default:()=>ux,_function:()=>V6,any:()=>Mg,array:()=>z,base64:()=>c6,base64url:()=>u6,bigint:()=>_6,boolean:()=>D,catch:()=>gx,check:()=>B6,cidrv4:()=>s6,cidrv6:()=>l6,codec:()=>L6,cuid:()=>WO,cuid2:()=>e6,custom:()=>G6,date:()=>R6,describe:()=>J6,discriminatedUnion:()=>Ji,e164:()=>d6,email:()=>_g,emoji:()=>QO,enum:()=>K,exactOptional:()=>sx,file:()=>P6,float32:()=>v6,float64:()=>y6,function:()=>V6,guid:()=>BO,hash:()=>g6,hex:()=>h6,hostname:()=>p6,httpUrl:()=>FO,instanceof:()=>K6,int:()=>vg,int32:()=>S6,int64:()=>z6,intersection:()=>Jn,invertCodec:()=>q6,ipv4:()=>i6,ipv6:()=>a6,json:()=>Q6,jwt:()=>m6,keyof:()=>E6,ksuid:()=>r6,lazy:()=>Yi,literal:()=>w,looseObject:()=>Y,looseRecord:()=>N6,mac:()=>o6,map:()=>C6,meta:()=>Y6,nan:()=>D6,nanoid:()=>XO,nativeEnum:()=>A6,never:()=>Dg,nonoptional:()=>fx,null:()=>yr,nullable:()=>Cu,nullish:()=>U6,number:()=>O,object:()=>v,optional:()=>V,partialRecord:()=>I6,pipe:()=>yg,prefault:()=>mx,preprocess:()=>Yr,promise:()=>Z6,readonly:()=>bx,record:()=>U,refine:()=>Tx,set:()=>j6,strictObject:()=>O6,string:()=>u,stringFormat:()=>f6,stringbool:()=>F6,success:()=>M6,superRefine:()=>$x,symbol:()=>w6,templateLiteral:()=>H6,transform:()=>Lg,tuple:()=>ex,uint32:()=>b6,uint64:()=>x6,ulid:()=>t6,undefined:()=>T6,union:()=>q,unknown:()=>Z,url:()=>Gs,uuid:()=>GO,uuidv4:()=>JO,uuidv6:()=>YO,uuidv7:()=>KO,void:()=>$6,xid:()=>n6,xor:()=>k6});var mg={};Er(mg,{endsWith:()=>js,gt:()=>hr,gte:()=>Pt,includes:()=>Ns,length:()=>Zo,lowercase:()=>ks,lt:()=>pr,lte:()=>pn,maxLength:()=>Ho,maxSize:()=>Zi,mime:()=>As,minLength:()=>Gr,minSize:()=>gr,multipleOf:()=>Hi,negative:()=>ig,nonnegative:()=>ag,nonpositive:()=>og,normalize:()=>Ps,overwrite:()=>Gn,positive:()=>rg,property:()=>sg,regex:()=>Os,size:()=>qo,slugify:()=>Ls,startsWith:()=>Cs,toLowerCase:()=>Ms,toUpperCase:()=>Ds,trim:()=>Us,uppercase:()=>Is});var hn={};Er(hn,{ZodISODate:()=>pg,ZodISODateTime:()=>fg,ZodISODuration:()=>gg,ZodISOTime:()=>hg,date:()=>Rz,datetime:()=>$z,duration:()=>Oz,time:()=>Ez});var fg=b("ZodISODateTime",(e,t)=>{r_.init(e,t),we.init(e,t)});function $z(e){return s1(fg,e)}var pg=b("ZodISODate",(e,t)=>{i_.init(e,t),we.init(e,t)});function Rz(e){return l1(pg,e)}var hg=b("ZodISOTime",(e,t)=>{o_.init(e,t),we.init(e,t)});function Ez(e){return c1(hg,e)}var gg=b("ZodISODuration",(e,t)=>{a_.init(e,t),we.init(e,t)});function Oz(e){return u1(gg,e)}var ZO=(e,t)=>{vu.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:n=>Su(e,n)},flatten:{value:n=>yu(e,n)},addIssue:{value:n=>{e.issues.push(n),e.message=JSON.stringify(e.issues,bs,2)}},addIssues:{value:n=>{e.issues.push(...n),e.message=JSON.stringify(e.issues,bs,2)}},isEmpty:{get(){return e.issues.length===0}}})},lU=b("ZodError",ZO),Qt=b("ZodError",ZO,{Parent:Error});var kz=xs(Qt),Iz=ws(Qt),Iu=Ts(Qt),Nz=$s(Qt),Cz=dh(Qt),jz=mh(Qt),Az=fh(Qt),Pz=ph(Qt),Uz=hh(Qt),Mz=gh(Qt),Dz=vh(Qt),Lz=yh(Qt);var VO=new WeakMap;function ju(e,t,n){let i=Object.getPrototypeOf(e),r=VO.get(i);if(r||(r=new Set,VO.set(i,r)),!r.has(t)){r.add(t);for(let o in n){let a=n[o];Object.defineProperty(i,o,{configurable:!0,enumerable:!1,get(){let s=a.bind(this);return Object.defineProperty(this,o,{configurable:!0,writable:!0,enumerable:!0,value:s}),s},set(s){Object.defineProperty(this,o,{configurable:!0,writable:!0,enumerable:!0,value:s})}})}}}var ne=b("ZodType",(e,t)=>(X.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:Hs(e,"input"),output:Hs(e,"output")}}),e.toJSONSchema=H1(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(n,i)=>kz(e,n,i,{callee:e.parse}),e.safeParse=(n,i)=>Iu(e,n,i),e.parseAsync=async(n,i)=>Iz(e,n,i,{callee:e.parseAsync}),e.safeParseAsync=async(n,i)=>Nz(e,n,i),e.spa=e.safeParseAsync,e.encode=(n,i)=>Cz(e,n,i),e.decode=(n,i)=>jz(e,n,i),e.encodeAsync=async(n,i)=>Az(e,n,i),e.decodeAsync=async(n,i)=>Pz(e,n,i),e.safeEncode=(n,i)=>Uz(e,n,i),e.safeDecode=(n,i)=>Mz(e,n,i),e.safeEncodeAsync=async(n,i)=>Dz(e,n,i),e.safeDecodeAsync=async(n,i)=>Lz(e,n,i),ju(e,"ZodType",{check(...n){let i=this.def;return this.clone(C.mergeDefs(i,{checks:[...i.checks??[],...n.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]}),{parent:!0})},with(...n){return this.check(...n)},clone(n,i){return jt(this,n,i)},brand(){return this},register(n,i){return n.add(this,i),this},refine(n,i){return this.check(Tx(n,i))},superRefine(n,i){return this.check($x(n,i))},overwrite(n){return this.check(Gn(n))},optional(){return V(this)},exactOptional(){return sx(this)},nullable(){return Cu(this)},nullish(){return V(Cu(this))},nonoptional(n){return fx(this,n)},array(){return z(this)},or(n){return q([this,n])},and(n){return Jn(this,n)},transform(n){return yg(this,Lg(n))},default(n){return ux(this,n)},prefault(n){return mx(this,n)},catch(n){return gx(this,n)},pipe(n){return yg(this,n)},readonly(){return bx(this)},describe(n){let i=this.clone();return vt.add(i,{description:n}),i},meta(...n){if(n.length===0)return vt.get(this);let i=this.clone();return vt.add(i,n[0]),i},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(n){return n(this)}}),Object.defineProperty(e,"description",{get(){return vt.get(e)?.description},configurable:!0}),e)),Sg=b("_ZodString",(e,t)=>{Lo.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(i,r,o)=>Z1(e,i,r,o);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,ju(e,"_ZodString",{regex(...i){return this.check(Os(...i))},includes(...i){return this.check(Ns(...i))},startsWith(...i){return this.check(Cs(...i))},endsWith(...i){return this.check(js(...i))},min(...i){return this.check(Gr(...i))},max(...i){return this.check(Ho(...i))},length(...i){return this.check(Zo(...i))},nonempty(...i){return this.check(Gr(1,...i))},lowercase(i){return this.check(ks(i))},uppercase(i){return this.check(Is(i))},trim(){return this.check(Us())},normalize(...i){return this.check(Ps(...i))},toLowerCase(){return this.check(Ms())},toUpperCase(){return this.check(Ds())},slugify(){return this.check(Ls())}})}),Bs=b("ZodString",(e,t)=>{Lo.init(e,t),Sg.init(e,t),e.email=n=>e.check(Uh(bg,n)),e.url=n=>e.check(Ou(Au,n)),e.jwt=n=>e.check(ng(Pg,n)),e.emoji=n=>e.check(Hh(zg,n)),e.guid=n=>e.check(Eu(Nu,n)),e.uuid=n=>e.check(Mh(vr,n)),e.uuidv4=n=>e.check(Dh(vr,n)),e.uuidv6=n=>e.check(Lh(vr,n)),e.uuidv7=n=>e.check(qh(vr,n)),e.nanoid=n=>e.check(Zh(xg,n)),e.guid=n=>e.check(Eu(Nu,n)),e.cuid=n=>e.check(Vh(wg,n)),e.cuid2=n=>e.check(Bh(Tg,n)),e.ulid=n=>e.check(Gh($g,n)),e.base64=n=>e.check(Wh(Cg,n)),e.base64url=n=>e.check(eg(jg,n)),e.xid=n=>e.check(Jh(Rg,n)),e.ksuid=n=>e.check(Yh(Eg,n)),e.ipv4=n=>e.check(Kh(Og,n)),e.ipv6=n=>e.check(Fh(kg,n)),e.cidrv4=n=>e.check(Qh(Ig,n)),e.cidrv6=n=>e.check(Xh(Ng,n)),e.e164=n=>e.check(tg(Ag,n)),e.datetime=n=>e.check($z(n)),e.date=n=>e.check(Rz(n)),e.time=n=>e.check(Ez(n)),e.duration=n=>e.check(Oz(n))});function u(e){return r1(Bs,e)}var we=b("ZodStringFormat",(e,t)=>{xe.init(e,t),Sg.init(e,t)}),bg=b("ZodEmail",(e,t)=>{Yb.init(e,t),we.init(e,t)});function _g(e){return Uh(bg,e)}var Nu=b("ZodGUID",(e,t)=>{Gb.init(e,t),we.init(e,t)});function BO(e){return Eu(Nu,e)}var vr=b("ZodUUID",(e,t)=>{Jb.init(e,t),we.init(e,t)});function GO(e){return Mh(vr,e)}function JO(e){return Dh(vr,e)}function YO(e){return Lh(vr,e)}function KO(e){return qh(vr,e)}var Au=b("ZodURL",(e,t)=>{Kb.init(e,t),we.init(e,t)});function Gs(e){return Ou(Au,e)}function FO(e){return Ou(Au,{protocol:fn.httpProtocol,hostname:fn.domain,...C.normalizeParams(e)})}var zg=b("ZodEmoji",(e,t)=>{Fb.init(e,t),we.init(e,t)});function QO(e){return Hh(zg,e)}var xg=b("ZodNanoID",(e,t)=>{Qb.init(e,t),we.init(e,t)});function XO(e){return Zh(xg,e)}var wg=b("ZodCUID",(e,t)=>{Xb.init(e,t),we.init(e,t)});function WO(e){return Vh(wg,e)}var Tg=b("ZodCUID2",(e,t)=>{Wb.init(e,t),we.init(e,t)});function e6(e){return Bh(Tg,e)}var $g=b("ZodULID",(e,t)=>{e_.init(e,t),we.init(e,t)});function t6(e){return Gh($g,e)}var Rg=b("ZodXID",(e,t)=>{t_.init(e,t),we.init(e,t)});function n6(e){return Jh(Rg,e)}var Eg=b("ZodKSUID",(e,t)=>{n_.init(e,t),we.init(e,t)});function r6(e){return Yh(Eg,e)}var Og=b("ZodIPv4",(e,t)=>{s_.init(e,t),we.init(e,t)});function i6(e){return Kh(Og,e)}var qz=b("ZodMAC",(e,t)=>{c_.init(e,t),we.init(e,t)});function o6(e){return o1(qz,e)}var kg=b("ZodIPv6",(e,t)=>{l_.init(e,t),we.init(e,t)});function a6(e){return Fh(kg,e)}var Ig=b("ZodCIDRv4",(e,t)=>{u_.init(e,t),we.init(e,t)});function s6(e){return Qh(Ig,e)}var Ng=b("ZodCIDRv6",(e,t)=>{d_.init(e,t),we.init(e,t)});function l6(e){return Xh(Ng,e)}var Cg=b("ZodBase64",(e,t)=>{f_.init(e,t),we.init(e,t)});function c6(e){return Wh(Cg,e)}var jg=b("ZodBase64URL",(e,t)=>{p_.init(e,t),we.init(e,t)});function u6(e){return eg(jg,e)}var Ag=b("ZodE164",(e,t)=>{h_.init(e,t),we.init(e,t)});function d6(e){return tg(Ag,e)}var Pg=b("ZodJWT",(e,t)=>{g_.init(e,t),we.init(e,t)});function m6(e){return ng(Pg,e)}var Js=b("ZodCustomStringFormat",(e,t)=>{v_.init(e,t),we.init(e,t)});function f6(e,t,n={}){return qs(Js,e,t,n)}function p6(e){return qs(Js,"hostname",fn.hostname,e)}function h6(e){return qs(Js,"hex",fn.hex,e)}function g6(e,t){let n=t?.enc??"hex",i=`${e}_${n}`,r=fn[i];if(!r)throw new Error(`Unrecognized hash format: ${i}`);return qs(Js,i,r,t)}var Ys=b("ZodNumber",(e,t)=>{Rh.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(i,r,o)=>V1(e,i,r,o),ju(e,"ZodNumber",{gt(i,r){return this.check(hr(i,r))},gte(i,r){return this.check(Pt(i,r))},min(i,r){return this.check(Pt(i,r))},lt(i,r){return this.check(pr(i,r))},lte(i,r){return this.check(pn(i,r))},max(i,r){return this.check(pn(i,r))},int(i){return this.check(vg(i))},safe(i){return this.check(vg(i))},positive(i){return this.check(hr(0,i))},nonnegative(i){return this.check(Pt(0,i))},negative(i){return this.check(pr(0,i))},nonpositive(i){return this.check(pn(0,i))},multipleOf(i,r){return this.check(Hi(i,r))},step(i,r){return this.check(Hi(i,r))},finite(){return this}});let n=e._zod.bag;e.minValue=Math.max(n.minimum??Number.NEGATIVE_INFINITY,n.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(n.maximum??Number.POSITIVE_INFINITY,n.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(n.format??"").includes("int")||Number.isSafeInteger(n.multipleOf??.5),e.isFinite=!0,e.format=n.format??null});function O(e){return d1(Ys,e)}var Bo=b("ZodNumberFormat",(e,t)=>{y_.init(e,t),Ys.init(e,t)});function vg(e){return f1(Bo,e)}function v6(e){return p1(Bo,e)}function y6(e){return h1(Bo,e)}function S6(e){return g1(Bo,e)}function b6(e){return v1(Bo,e)}var Ks=b("ZodBoolean",(e,t)=>{xu.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>B1(e,n,i,r)});function D(e){return y1(Ks,e)}var Fs=b("ZodBigInt",(e,t)=>{Eh.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(i,r,o)=>G1(e,i,r,o),e.gte=(i,r)=>e.check(Pt(i,r)),e.min=(i,r)=>e.check(Pt(i,r)),e.gt=(i,r)=>e.check(hr(i,r)),e.gte=(i,r)=>e.check(Pt(i,r)),e.min=(i,r)=>e.check(Pt(i,r)),e.lt=(i,r)=>e.check(pr(i,r)),e.lte=(i,r)=>e.check(pn(i,r)),e.max=(i,r)=>e.check(pn(i,r)),e.positive=i=>e.check(hr(BigInt(0),i)),e.negative=i=>e.check(pr(BigInt(0),i)),e.nonpositive=i=>e.check(pn(BigInt(0),i)),e.nonnegative=i=>e.check(Pt(BigInt(0),i)),e.multipleOf=(i,r)=>e.check(Hi(i,r));let n=e._zod.bag;e.minValue=n.minimum??null,e.maxValue=n.maximum??null,e.format=n.format??null});function _6(e){return b1(Fs,e)}var Ug=b("ZodBigIntFormat",(e,t)=>{S_.init(e,t),Fs.init(e,t)});function z6(e){return z1(Ug,e)}function x6(e){return x1(Ug,e)}var Hz=b("ZodSymbol",(e,t)=>{b_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>J1(e,n,i,r)});function w6(e){return w1(Hz,e)}var Zz=b("ZodUndefined",(e,t)=>{__.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>K1(e,n,i,r)});function T6(e){return T1(Zz,e)}var Vz=b("ZodNull",(e,t)=>{z_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Y1(e,n,i,r)});function yr(e){return $1(Vz,e)}var Bz=b("ZodAny",(e,t)=>{x_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>X1(e,n,i,r)});function Mg(){return R1(Bz)}var Gz=b("ZodUnknown",(e,t)=>{w_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>W1(e,n,i,r)});function Z(){return E1(Gz)}var Jz=b("ZodNever",(e,t)=>{T_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Q1(e,n,i,r)});function Dg(e){return O1(Jz,e)}var Yz=b("ZodVoid",(e,t)=>{$_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>F1(e,n,i,r)});function $6(e){return k1(Yz,e)}var Pu=b("ZodDate",(e,t)=>{R_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(i,r,o)=>ez(e,i,r,o),e.min=(i,r)=>e.check(Pt(i,r)),e.max=(i,r)=>e.check(pn(i,r));let n=e._zod.bag;e.minDate=n.minimum?new Date(n.minimum):null,e.maxDate=n.maximum?new Date(n.maximum):null});function R6(e){return I1(Pu,e)}var Kz=b("ZodArray",(e,t)=>{E_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>mz(e,n,i,r),e.element=t.element,ju(e,"ZodArray",{min(n,i){return this.check(Gr(n,i))},nonempty(n){return this.check(Gr(1,n))},max(n,i){return this.check(Ho(n,i))},length(n,i){return this.check(Zo(n,i))},unwrap(){return this.element}})});function z(e,t){return j1(Kz,e,t)}function E6(e){let t=e._zod.def.shape;return K(Object.keys(t))}var Uu=b("ZodObject",(e,t)=>{O_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>fz(e,n,i,r),C.defineLazy(e,"shape",()=>t.shape),ju(e,"ZodObject",{keyof(){return K(Object.keys(this._zod.def.shape))},catchall(n){return this.clone({...this._zod.def,catchall:n})},passthrough(){return this.clone({...this._zod.def,catchall:Z()})},loose(){return this.clone({...this._zod.def,catchall:Z()})},strict(){return this.clone({...this._zod.def,catchall:Dg()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(n){return C.extend(this,n)},safeExtend(n){return C.safeExtend(this,n)},merge(n){return C.merge(this,n)},pick(n){return C.pick(this,n)},omit(n){return C.omit(this,n)},partial(...n){return C.partial(qg,this,n[0])},required(...n){return C.required(Hg,this,n[0])}})});function v(e,t){let n={type:"object",shape:e??{},...C.normalizeParams(t)};return new Uu(n)}function O6(e,t){return new Uu({type:"object",shape:e,catchall:Dg(),...C.normalizeParams(t)})}function Y(e,t){return new Uu({type:"object",shape:e,catchall:Z(),...C.normalizeParams(t)})}var Mu=b("ZodUnion",(e,t)=>{wu.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>cg(e,n,i,r),e.options=t.options});function q(e,t){return new Mu({type:"union",options:e,...C.normalizeParams(t)})}var Fz=b("ZodXor",(e,t)=>{Mu.init(e,t),k_.init(e,t),e._zod.processJSONSchema=(n,i,r)=>cg(e,n,i,r),e.options=t.options});function k6(e,t){return new Fz({type:"union",options:e,inclusive:!1,...C.normalizeParams(t)})}var Qz=b("ZodDiscriminatedUnion",(e,t)=>{Mu.init(e,t),I_.init(e,t)});function Ji(e,t,n){return new Qz({type:"union",options:t,discriminator:e,...C.normalizeParams(n)})}var Xz=b("ZodIntersection",(e,t)=>{N_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>pz(e,n,i,r)});function Jn(e,t){return new Xz({type:"intersection",left:e,right:t})}var Wz=b("ZodTuple",(e,t)=>{Oh.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>hz(e,n,i,r),e.rest=n=>e.clone({...e._zod.def,rest:n})});function ex(e,t,n){let i=t instanceof X,r=i?n:t,o=i?t:null;return new Wz({type:"tuple",items:e,rest:o,...C.normalizeParams(r)})}var Zs=b("ZodRecord",(e,t)=>{C_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>gz(e,n,i,r),e.keyType=t.keyType,e.valueType=t.valueType});function U(e,t,n){return!t||!t._zod?new Zs({type:"record",keyType:u(),valueType:e,...C.normalizeParams(t)}):new Zs({type:"record",keyType:e,valueType:t,...C.normalizeParams(n)})}function I6(e,t,n){let i=jt(e);return i._zod.values=void 0,new Zs({type:"record",keyType:i,valueType:t,...C.normalizeParams(n)})}function N6(e,t,n){return new Zs({type:"record",keyType:e,valueType:t,mode:"loose",...C.normalizeParams(n)})}var tx=b("ZodMap",(e,t)=>{j_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>uz(e,n,i,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...n)=>e.check(gr(...n)),e.nonempty=n=>e.check(gr(1,n)),e.max=(...n)=>e.check(Zi(...n)),e.size=(...n)=>e.check(qo(...n))});function C6(e,t,n){return new tx({type:"map",keyType:e,valueType:t,...C.normalizeParams(n)})}var nx=b("ZodSet",(e,t)=>{A_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>dz(e,n,i,r),e.min=(...n)=>e.check(gr(...n)),e.nonempty=n=>e.check(gr(1,n)),e.max=(...n)=>e.check(Zi(...n)),e.size=(...n)=>e.check(qo(...n))});function j6(e,t){return new nx({type:"set",valueType:e,...C.normalizeParams(t)})}var Vs=b("ZodEnum",(e,t)=>{P_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(i,r,o)=>tz(e,i,r,o),e.enum=t.entries,e.options=Object.values(t.entries);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 Vs({...t,checks:[],...C.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 Vs({...t,checks:[],...C.normalizeParams(r),entries:o})}});function K(e,t){let n=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new Vs({type:"enum",entries:n,...C.normalizeParams(t)})}function A6(e,t){return new Vs({type:"enum",entries:e,...C.normalizeParams(t)})}var rx=b("ZodLiteral",(e,t)=>{U_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>nz(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 w(e,t){return new rx({type:"literal",values:Array.isArray(e)?e:[e],...C.normalizeParams(t)})}var ix=b("ZodFile",(e,t)=>{M_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>oz(e,n,i,r),e.min=(n,i)=>e.check(gr(n,i)),e.max=(n,i)=>e.check(Zi(n,i)),e.mime=(n,i)=>e.check(As(Array.isArray(n)?n:[n],i))});function P6(e){return A1(ix,e)}var ox=b("ZodTransform",(e,t)=>{D_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>cz(e,n,i,r),e._zod.parse=(n,i)=>{if(i.direction==="backward")throw new Ui(e.constructor.name);n.addIssue=o=>{if(typeof o=="string")n.issues.push(C.issue(o,n.value,t));else{let a=o;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=n.value),a.inst??(a.inst=e),n.issues.push(C.issue(a))}};let r=t.transform(n.value,n);return r instanceof Promise?r.then(o=>(n.value=o,n.fallback=!0,n)):(n.value=r,n.fallback=!0,n)}});function Lg(e){return new ox({type:"transform",transform:e})}var qg=b("ZodOptional",(e,t)=>{kh.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>ug(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function V(e){return new qg({type:"optional",innerType:e})}var ax=b("ZodExactOptional",(e,t)=>{L_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>ug(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function sx(e){return new ax({type:"optional",innerType:e})}var lx=b("ZodNullable",(e,t)=>{q_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>vz(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Cu(e){return new lx({type:"nullable",innerType:e})}function U6(e){return V(Cu(e))}var cx=b("ZodDefault",(e,t)=>{H_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Sz(e,n,i,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function ux(e,t){return new cx({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():C.shallowClone(t)}})}var dx=b("ZodPrefault",(e,t)=>{Z_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>bz(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function mx(e,t){return new dx({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():C.shallowClone(t)}})}var Hg=b("ZodNonOptional",(e,t)=>{V_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>yz(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function fx(e,t){return new Hg({type:"nonoptional",innerType:e,...C.normalizeParams(t)})}var px=b("ZodSuccess",(e,t)=>{B_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>az(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function M6(e){return new px({type:"success",innerType:e})}var hx=b("ZodCatch",(e,t)=>{G_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>_z(e,n,i,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function gx(e,t){return new hx({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}var vx=b("ZodNaN",(e,t)=>{J_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>rz(e,n,i,r)});function D6(e){return C1(vx,e)}var Du=b("ZodPipe",(e,t)=>{Ih.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>zz(e,n,i,r),e.in=t.in,e.out=t.out});function yg(e,t){return new Du({type:"pipe",in:e,out:t})}var Lu=b("ZodCodec",(e,t)=>{Du.init(e,t),Tu.init(e,t)});function L6(e,t,n){return new Lu({type:"pipe",in:e,out:t,transform:n.decode,reverseTransform:n.encode})}function q6(e){let t=e._zod.def;return new Lu({type:"pipe",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}var yx=b("ZodPreprocess",(e,t)=>{Du.init(e,t),Y_.init(e,t)}),Sx=b("ZodReadonly",(e,t)=>{K_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>xz(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function bx(e){return new Sx({type:"readonly",innerType:e})}var _x=b("ZodTemplateLiteral",(e,t)=>{F_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>iz(e,n,i,r)});function H6(e,t){return new _x({type:"template_literal",parts:e,...C.normalizeParams(t)})}var zx=b("ZodLazy",(e,t)=>{W_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>Tz(e,n,i,r),e.unwrap=()=>e._zod.def.getter()});function Yi(e){return new zx({type:"lazy",getter:e})}var xx=b("ZodPromise",(e,t)=>{X_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>wz(e,n,i,r),e.unwrap=()=>e._zod.def.innerType});function Z6(e){return new xx({type:"promise",innerType:e})}var wx=b("ZodFunction",(e,t)=>{Q_.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>lz(e,n,i,r)});function V6(e){return new wx({type:"function",input:Array.isArray(e?.input)?ex(e?.input):e?.input??z(Z()),output:e?.output??Z()})}var qu=b("ZodCustom",(e,t)=>{e1.init(e,t),ne.init(e,t),e._zod.processJSONSchema=(n,i,r)=>sz(e,n,i,r)});function B6(e){let t=new Ee({check:"custom"});return t._zod.check=e,t}function G6(e,t){return P1(qu,e??(()=>!0),t)}function Tx(e,t={}){return U1(qu,e,t)}function $x(e,t){return M1(e,t)}var J6=D1,Y6=L1;function K6(e,t={}){let n=new qu({type:"custom",check:"custom",fn:i=>i instanceof e,abort:!0,...C.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 F6=(...e)=>q1({Codec:Lu,Boolean:Ks,String:Bs},...e);function Q6(e){let t=Yi(()=>q([u(e),O(),D(),yr(),z(t),U(u(),t)]));return t}function Yr(e,t){return new yx({type:"pipe",in:Lg(e),out:t})}var Ex={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 uU(e){Ve({customError:e})}function dU(){return Ve().customError}var Rx;Rx||(Rx={});var L={...ku,...mg,iso:hn},mU=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 fU(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 pU(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];if(!r||!t.defs[r])throw new Error(`Reference not found: ${e}`);return t.defs[r]}throw new Error(`Reference not found: ${e}`)}function X6(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=pU(r,t),a=$t(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 X6(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()):o==="date"?r=r.check(L.iso.date()):o==="time"?r=r.check(L.iso.time()):o==="duration"?r=r.check(L.iso.duration()):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==="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"&&(r=r.min(e.minimum)),typeof e.maximum=="number"&&(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||[]);for(let[l,c]of Object.entries(o)){let d=$t(c,t);r[l]=a.has(l)?d:d.optional()}if(e.propertyNames){let l=$t(e.propertyNames,t),c=e.additionalProperties&&typeof e.additionalProperties=="object"?$t(e.additionalProperties,t):L.any();if(Object.keys(r).length===0){i=L.record(l,c);break}let d=L.object(r).passthrough(),p=L.looseRecord(l,c);i=L.intersection(d,p);break}if(e.patternProperties){let l=e.patternProperties,c=Object.keys(l),d=[];for(let m of c){let f=$t(l[m],t),_=L.string().regex(new RegExp(m));d.push(L.looseRecord(_,f))}let p=[];if(Object.keys(r).length>0&&p.push(L.object(r).passthrough()),p.push(...d),p.length===0)i=L.object({}).passthrough();else if(p.length===1)i=p[0];else{let m=L.intersection(p[0],p[1]);for(let f=2;f<p.length;f++)m=L.intersection(m,p[f]);i=m}break}let s=L.object(r);e.additionalProperties===!1?i=s.strict():typeof e.additionalProperties=="object"?i=s.catchall($t(e.additionalProperties,t)):i=s.passthrough();break}case"array":{let r=e.prefixItems,o=e.items;if(r&&Array.isArray(r)){let a=r.map(l=>$t(l,t)),s=o&&typeof o=="object"&&!Array.isArray(o)?$t(o,t):void 0;s?i=L.tuple(a).rest(s):i=L.tuple(a),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=o.map(l=>$t(l,t)),s=e.additionalItems&&typeof e.additionalItems=="object"?$t(e.additionalItems,t):void 0;s?i=L.tuple(a).rest(s):i=L.tuple(a),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=$t(o,t),s=L.array(a);typeof e.minItems=="number"&&(s=s.min(e.minItems)),typeof e.maxItems=="number"&&(s=s.max(e.maxItems)),i=s}else i=L.array(L.any());break}default:throw new Error(`Unsupported type: ${n}`)}return i}function $t(e,t){if(typeof e=="boolean")return e?L.any():L.never();let n=X6(e,t),i=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let s=e.anyOf.map(c=>$t(c,t)),l=L.union(s);n=i?L.intersection(n,l):l}if(e.oneOf&&Array.isArray(e.oneOf)){let s=e.oneOf.map(c=>$t(c,t)),l=L.xor(s);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 s=i?n:$t(e.allOf[0],t),l=i?0:1;for(let c=l;c<e.allOf.length;c++)s=L.intersection(s,$t(e.allOf[c],t));n=s}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 s of o)s in e&&(r[s]=e[s]);let a=["contentEncoding","contentMediaType","contentSchema"];for(let s of a)s in e&&(r[s]=e[s]);for(let s of Object.keys(e))mU.has(s)||(r[s]=e[s]);return Object.keys(r).length>0&&t.registry.add(n,r),e.description&&(n=n.describe(e.description)),n}function W6(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=fU(n,t?.defaultTarget),r=n.$defs||n.definitions||{},o={version:i,defs:r,refs:new Map,processing:new Set,rootSchema:n,registry:t?.registry??vt};return $t(n,o)}var Hu={};Er(Hu,{bigint:()=>yU,boolean:()=>vU,date:()=>SU,number:()=>gU,string:()=>hU});function hU(e){return i1(Bs,e)}function gU(e){return m1(Ys,e)}function vU(e){return S1(Ks,e)}function yU(e){return _1(Fs,e)}function SU(e){return N1(Pu,e)}Ve(Nh());var Zg="2025-11-25";var Vg=[Zg,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],Bg="io.modelcontextprotocol/related-task",Go="io.modelcontextprotocol/protocolVersion",Qs="io.modelcontextprotocol/clientInfo",Fi="io.modelcontextprotocol/serverInfo",Jo="io.modelcontextprotocol/clientCapabilities",Gg="io.modelcontextprotocol/subscriptionId",Xs="io.modelcontextprotocol/logLevel";var Yo="2.0";var Kr=Yi(()=>q([u(),O(),D(),yr(),U(u(),Kr),z(Kr)])),Me=U(u(),Kr),Jg=z(Kr),Ws=q([u(),O().int()]),el=u(),Zu=v({ttl:O().optional()}),Vu=v({taskId:u()}),tl=Y({progressToken:Ws.optional(),[Bg]:Vu.optional()}),lt=v({_meta:tl.optional()}),Qi=lt.extend({task:Zu.optional()}),De=v({method:u(),params:lt.loose().optional()}),Rt=v({_meta:tl.optional()}),yt=v({method:u(),params:Rt.loose().optional()}),nl=Y({get[Fi](){return br.optional().catch(void 0)}}),Le=Y({_meta:nl.optional()}),Yn=q([u(),O().int()]),rl=v({jsonrpc:w(Yo),id:Yn,...De.shape}).strict(),il=v({jsonrpc:w(Yo),...yt.shape}).strict(),Ko=v({jsonrpc:w(Yo),id:Yn,result:Le}).strict(),Fo=v({jsonrpc:w(Yo),id:Yn.optional(),error:v({code:O().int(),message:u(),data:Z().optional()})}).strict(),Qo=q([rl,il,Ko,Fo]),Yg=q([Ko,Fo]),Xi=Le.strict(),Bu=Rt.extend({requestId:Yn.optional(),reason:u().optional()}),ol=yt.extend({method:w("notifications/cancelled"),params:Bu}),Gu=v({src:u(),mimeType:u().optional(),sizes:z(u()).optional(),theme:K(["light","dark"]).optional()}),Fr=v({icons:z(Gu).optional()}),Sr=v({name:u(),title:u().optional()}),br=Sr.extend({...Sr.shape,...Fr.shape,version:u(),websiteUrl:u().optional(),description:u().optional()}),_U=Jn(v({applyDefaults:D().optional()}),Me),zU=Yr(e=>e&&typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,Jn(v({form:_U.optional(),url:Me.optional()}),Me.optional())),Kg=Y({list:Me.optional(),cancel:Me.optional(),requests:Y({sampling:Y({createMessage:Me.optional()}).optional(),elicitation:Y({create:Me.optional()}).optional()}).optional()}),Fg=Y({list:Me.optional(),cancel:Me.optional(),requests:Y({tools:Y({call:Me.optional()}).optional()}).optional()}),Ju=v({experimental:U(u(),Me).optional(),sampling:v({context:Me.optional(),tools:Me.optional()}).optional(),elicitation:zU.optional(),roots:v({listChanged:D().optional()}).optional(),tasks:Kg.optional(),extensions:U(u(),Me).optional()}),Yu=lt.extend({protocolVersion:u(),capabilities:Ju,clientInfo:br}),Ku=De.extend({method:w("initialize"),params:Yu}),al=v({experimental:U(u(),Me).optional(),logging:Me.optional(),completions:Me.optional(),prompts:v({listChanged:D().optional()}).optional(),resources:v({subscribe:D().optional(),listChanged:D().optional()}).optional(),tools:v({listChanged:D().optional()}).optional(),tasks:Fg.optional(),extensions:U(u(),Me).optional()}),Fu=Le.extend({protocolVersion:u(),capabilities:al,serverInfo:br,instructions:u().optional()}),Qu=yt.extend({method:w("notifications/initialized"),params:Rt.optional()}),Xu=De.extend({method:w("server/discover"),params:lt.optional()}),sl=Le.extend({supportedVersions:z(u()),capabilities:al,instructions:u().optional()}),ll=De.extend({method:w("ping"),params:lt.optional()}),Wu=v({progress:O(),total:V(O()),message:V(u())}),ed=v({...Rt.shape,...Wu.shape,progressToken:Ws}),cl=yt.extend({method:w("notifications/progress"),params:ed}),td=lt.extend({cursor:el.optional()}),Qr=De.extend({params:td.optional()}),Xr=Le.extend({nextCursor:el.optional()}),ul=v({uri:u(),mimeType:V(u()),_meta:U(u(),Z()).optional()}),dl=ul.extend({text:u()}),kx=u().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:"Invalid Base64 string"}),ml=ul.extend({blob:kx}),Wr=K(["user","assistant"]),_r=v({audience:z(Wr).optional(),priority:O().min(0).max(1).optional(),lastModified:hn.datetime({offset:!0}).optional()}),fl=v({...Sr.shape,...Fr.shape,uri:u(),description:V(u()),mimeType:V(u()),size:V(O()),annotations:_r.optional(),_meta:V(Y({}))}),nd=v({...Sr.shape,...Fr.shape,uriTemplate:u(),description:V(u()),mimeType:V(u()),annotations:_r.optional(),_meta:V(Y({}))}),rd=Qr.extend({method:w("resources/list")}),id=Xr.extend({resources:z(fl)}),od=Qr.extend({method:w("resources/templates/list")}),ad=Xr.extend({resourceTemplates:z(nd)}),Xo=lt.extend({uri:u()}),sd=Xo,ld=De.extend({method:w("resources/read"),params:sd}),cd=Le.extend({contents:z(q([dl,ml]))}),ud=yt.extend({method:w("notifications/resources/list_changed"),params:Rt.optional()}),dd=Xo,md=De.extend({method:w("resources/subscribe"),params:dd}),fd=Xo,pd=De.extend({method:w("resources/unsubscribe"),params:fd}),pl=v({toolsListChanged:D().optional(),promptsListChanged:D().optional(),resourcesListChanged:D().optional(),resourceSubscriptions:z(u()).optional()}),hd=lt.extend({notifications:pl}),gd=De.extend({method:w("subscriptions/listen"),params:hd}),vd=Rt.extend({notifications:pl}),yd=yt.extend({method:w("notifications/subscriptions/acknowledged"),params:vd}),Sd=nl.extend({[Gg]:Yn}),bd=Le.extend({_meta:Sd}),_d=Rt.extend({uri:u()}),zd=yt.extend({method:w("notifications/resources/updated"),params:_d}),xd=v({name:u(),description:V(u()),required:V(D())}),wd=v({...Sr.shape,...Fr.shape,description:V(u()),arguments:V(z(xd)),_meta:V(Y({}))}),Td=Qr.extend({method:w("prompts/list")}),$d=Xr.extend({prompts:z(wd)}),Rd=lt.extend({name:u(),arguments:U(u(),u()).optional()}),Ed=De.extend({method:w("prompts/get"),params:Rd}),Wo=v({type:w("text"),text:u(),annotations:_r.optional(),_meta:U(u(),Z()).optional()}),ea=v({type:w("image"),data:kx,mimeType:u(),annotations:_r.optional(),_meta:U(u(),Z()).optional()}),ta=v({type:w("audio"),data:kx,mimeType:u(),annotations:_r.optional(),_meta:U(u(),Z()).optional()}),Od=v({type:w("tool_use"),name:u(),id:u(),input:U(u(),Z()),_meta:U(u(),Z()).optional()}),na=v({type:w("resource"),resource:q([dl,ml]),annotations:_r.optional(),_meta:U(u(),Z()).optional()}),ra=fl.extend({type:w("resource_link")}),zr=q([Wo,ea,ta,ra,na]),kd=v({role:Wr,content:zr}),Id=Le.extend({description:u().optional(),messages:z(kd)}),Nd=yt.extend({method:w("notifications/prompts/list_changed"),params:Rt.optional()}),Cd=v({title:u().optional(),readOnlyHint:D().optional(),destructiveHint:D().optional(),idempotentHint:D().optional(),openWorldHint:D().optional()}),jd=v({taskSupport:K(["required","optional","forbidden"]).optional()}),Wi=v({...Sr.shape,...Fr.shape,description:u().optional(),inputSchema:v({type:w("object"),properties:U(u(),Kr).optional(),required:z(u()).optional()}).catchall(Z()),outputSchema:Y({$schema:u().optional()}).optional(),annotations:Cd.optional(),execution:jd.optional(),_meta:U(u(),Z()).optional()}),Ad=Qr.extend({method:w("tools/list")}),Pd=Xr.extend({tools:z(Wi)}),eo=Le.extend({content:z(zr).default([]),structuredContent:Z().optional(),isError:D().optional()}),Qg=eo.or(Le.extend({toolResult:Z()})),Ud=Qi.extend({name:u(),arguments:U(u(),Z()).optional()}),Md=De.extend({method:w("tools/call"),params:Ud}),Dd=yt.extend({method:w("notifications/tools/list_changed"),params:Rt.optional()}),Xg=v({autoRefresh:D().default(!0),debounceMs:O().int().nonnegative().default(300)}),hl=K(["debug","info","notice","warning","error","critical","alert","emergency"]),Ld=lt.extend({level:hl}),qd=De.extend({method:w("logging/setLevel"),params:Ld}),Hd=Rt.extend({level:hl,logger:u().optional(),data:Z()}),Zd=yt.extend({method:w("notifications/message"),params:Hd}),Vd=v({name:u().optional()}),Bd=v({hints:z(Vd).optional(),costPriority:O().min(0).max(1).optional(),speedPriority:O().min(0).max(1).optional(),intelligencePriority:O().min(0).max(1).optional()}),Gd=v({mode:K(["auto","required","none"]).optional()}),Jd=v({type:w("tool_result"),toolUseId:u().describe("The unique identifier for the corresponding tool call."),content:z(zr),structuredContent:Z().optional(),isError:D().optional(),_meta:U(u(),Z()).optional()}),Yd=Ji("type",[Wo,ea,ta]),Ki=Ji("type",[Wo,ea,ta,Od,Jd]),Kd=v({role:Wr,content:q([Ki,z(Ki)]),_meta:U(u(),Z()).optional()}),Fd=Qi.extend({messages:z(Kd),modelPreferences:Bd.optional(),systemPrompt:u().optional(),includeContext:K(["none","thisServer","allServers"]).optional(),temperature:O().optional(),maxTokens:O().int(),stopSequences:z(u()).optional(),metadata:Me.optional(),tools:z(Wi).optional(),toolChoice:Gd.optional()}),Qd=De.extend({method:w("sampling/createMessage"),params:Fd}),Xd=Le.extend({model:u(),stopReason:V(K(["endTurn","stopSequence","maxTokens"]).or(u())),role:Wr,content:Yd}),Wd=Le.extend({model:u(),stopReason:V(K(["endTurn","stopSequence","maxTokens","toolUse"]).or(u())),role:Wr,content:q([Ki,z(Ki)])}),gl=v({type:w("boolean"),title:u().optional(),description:u().optional(),default:D().optional()}),ia=v({type:w("string"),title:u().optional(),description:u().optional(),minLength:O().optional(),maxLength:O().optional(),format:K(["email","uri","date","date-time"]).optional(),default:u().optional()}),oa=v({type:K(["number","integer"]),title:u().optional(),description:u().optional(),minimum:O().optional(),maximum:O().optional(),default:O().optional()}),vl=v({type:w("string"),title:u().optional(),description:u().optional(),enum:z(u()),default:u().optional()}),yl=v({type:w("string"),title:u().optional(),description:u().optional(),oneOf:z(v({const:u(),title:u()})),default:u().optional()}),Sl=v({type:w("string"),title:u().optional(),description:u().optional(),enum:z(u()),enumNames:z(u()).optional(),default:u().optional()}),em=q([vl,yl]),bl=v({type:w("array"),title:u().optional(),description:u().optional(),minItems:O().optional(),maxItems:O().optional(),items:v({type:w("string"),enum:z(u())}),default:z(u()).optional()}),_l=v({type:w("array"),title:u().optional(),description:u().optional(),minItems:O().optional(),maxItems:O().optional(),items:v({anyOf:z(v({const:u(),title:u()}))}),default:z(u()).optional()}),tm=q([bl,_l]),nm=q([Sl,em,tm]),zl=q([nm,gl,ia,oa]),aa=Qi.extend({mode:w("form").optional(),message:u(),requestedSchema:v({type:w("object"),properties:U(u(),zl),required:z(u()).optional()}).catchall(Z())}),rm=Qi.extend({mode:w("url"),message:u(),elicitationId:u(),url:u().url()}),im=q([aa,rm]),om=De.extend({method:w("elicitation/create"),params:im}),am=Rt.extend({elicitationId:u()}),sm=yt.extend({method:w("notifications/elicitation/complete"),params:am}),lm=Le.extend({action:K(["accept","decline","cancel"]),content:Yr(e=>e===null?void 0:e,U(u(),q([u(),O(),D(),z(u())])).optional())}),cm=v({type:w("ref/resource"),uri:u()}),um=v({type:w("ref/prompt"),name:u()}),dm=lt.extend({ref:q([um,cm]),argument:v({name:u(),value:u()}),context:v({arguments:U(u(),u()).optional()}).optional()}),mm=De.extend({method:w("completion/complete"),params:dm}),fm=Le.extend({completion:Y({values:z(u()).max(100),total:V(O().int()),hasMore:V(D())})}),pm=v({uri:u().startsWith("file://"),name:u().optional(),_meta:U(u(),Z()).optional()}),hm=De.extend({method:w("roots/list"),params:lt.optional()}),gm=Le.extend({roots:z(pm)}),vm=yt.extend({method:w("notifications/roots/list_changed"),params:Rt.optional()}),Wg=Y({ttl:O().optional(),pollInterval:O().optional()}),ym=K(["working","input_required","completed","failed","cancelled"]),ei=v({taskId:u(),status:ym,ttl:q([O(),yr()]),createdAt:u(),lastUpdatedAt:u(),pollInterval:V(O()),statusMessage:V(u())}),ev=Le.extend({task:ei}),Sm=Rt.merge(ei),tv=yt.extend({method:w("notifications/tasks/status"),params:Sm}),nv=De.extend({method:w("tasks/get"),params:lt.extend({taskId:u()})}),rv=Le.merge(ei),iv=De.extend({method:w("tasks/result"),params:lt.extend({taskId:u()})}),ov=Le.loose(),av=Qr.extend({method:w("tasks/list")}),sv=Xr.extend({tasks:z(ei)}),lv=De.extend({method:w("tasks/cancel"),params:lt.extend({taskId:u()})}),cv=Le.merge(ei),uv=q([ll,Ku,Xu,mm,qd,Ed,Td,rd,od,ld,md,pd,gd,Md,Ad]),dv=q([ol,cl,Qu,vm]),mv=q([Xi,Xd,Wd,lm,gm]),fv=q([ll,Qd,om,hm]),pv=q([ol,cl,Zd,zd,ud,Dd,Nd,yd,sm]),hv=q([Xi,Fu,sl,fm,Id,$d,id,ad,cd,eo,Pd,bd]),st=Gs().superRefine((e,t)=>{if(!URL.canParse(e))return t.addIssue({code:Ex.custom,message:"URL must be parseable",fatal:!0}),uu}).refine(e=>{let t=new URL(e);return t.protocol!=="javascript:"&&t.protocol!=="data:"&&t.protocol!=="vbscript:"},{message:"URL cannot use javascript:, data:, or vbscript: scheme"}),bm=Y({resource:u().url(),authorization_servers:z(st).optional(),jwks_uri:u().url().optional(),scopes_supported:z(u()).optional(),bearer_methods_supported:z(u()).optional(),resource_signing_alg_values_supported:z(u()).optional(),resource_name:u().optional(),resource_documentation:u().optional(),resource_policy_uri:u().url().optional(),resource_tos_uri:u().url().optional(),tls_client_certificate_bound_access_tokens:D().optional(),authorization_details_types_supported:z(u()).optional(),dpop_signing_alg_values_supported:z(u()).optional(),dpop_bound_access_tokens_required:D().optional()}),xl=Y({issuer:u(),authorization_endpoint:st,token_endpoint:st,registration_endpoint:st.optional(),scopes_supported:z(u()).optional(),response_types_supported:z(u()),response_modes_supported:z(u()).optional(),grant_types_supported:z(u()).optional(),token_endpoint_auth_methods_supported:z(u()).optional(),token_endpoint_auth_signing_alg_values_supported:z(u()).optional(),service_documentation:st.optional(),revocation_endpoint:st.optional(),revocation_endpoint_auth_methods_supported:z(u()).optional(),revocation_endpoint_auth_signing_alg_values_supported:z(u()).optional(),introspection_endpoint:u().optional(),introspection_endpoint_auth_methods_supported:z(u()).optional(),introspection_endpoint_auth_signing_alg_values_supported:z(u()).optional(),code_challenge_methods_supported:z(u()).optional(),client_id_metadata_document_supported:D().optional(),authorization_response_iss_parameter_supported:D().optional().catch(void 0)}),_m=Y({issuer:u(),authorization_endpoint:st,token_endpoint:st,userinfo_endpoint:st.optional(),jwks_uri:st,registration_endpoint:st.optional(),scopes_supported:z(u()).optional(),response_types_supported:z(u()),response_modes_supported:z(u()).optional(),grant_types_supported:z(u()).optional(),acr_values_supported:z(u()).optional(),subject_types_supported:z(u()),id_token_signing_alg_values_supported:z(u()),id_token_encryption_alg_values_supported:z(u()).optional(),id_token_encryption_enc_values_supported:z(u()).optional(),userinfo_signing_alg_values_supported:z(u()).optional(),userinfo_encryption_alg_values_supported:z(u()).optional(),userinfo_encryption_enc_values_supported:z(u()).optional(),request_object_signing_alg_values_supported:z(u()).optional(),request_object_encryption_alg_values_supported:z(u()).optional(),request_object_encryption_enc_values_supported:z(u()).optional(),token_endpoint_auth_methods_supported:z(u()).optional(),token_endpoint_auth_signing_alg_values_supported:z(u()).optional(),display_values_supported:z(u()).optional(),claim_types_supported:z(u()).optional(),claims_supported:z(u()).optional(),service_documentation:u().optional(),claims_locales_supported:z(u()).optional(),ui_locales_supported:z(u()).optional(),claims_parameter_supported:D().optional(),request_parameter_supported:D().optional(),request_uri_parameter_supported:D().optional(),require_request_uri_registration:D().optional(),op_policy_uri:st.optional(),op_tos_uri:st.optional(),client_id_metadata_document_supported:D().optional(),authorization_response_iss_parameter_supported:D().optional().catch(void 0)}),zm=v({..._m.shape,...xl.pick({code_challenge_methods_supported:!0}).shape}),xm=v({access_token:u(),id_token:u().optional(),token_type:u(),expires_in:Hu.number().optional(),scope:u().optional(),refresh_token:u().optional()}).strip(),wm=v({issued_token_type:w("urn:ietf:params:oauth:token-type:id-jag"),access_token:u(),token_type:u().optional(),expires_in:O().optional(),scope:u().optional()}).strip(),Tm=v({error:u(),error_description:u().optional(),error_uri:u().optional()}),Ox=st.optional().or(w("").transform(()=>{})),$m=v({redirect_uris:z(st),token_endpoint_auth_method:u().optional(),grant_types:z(u()).optional(),response_types:z(u()).optional(),application_type:u().optional(),client_name:u().optional(),client_uri:st.optional(),logo_uri:Ox,scope:u().optional(),contacts:z(u()).optional(),tos_uri:Ox,policy_uri:u().optional(),jwks_uri:st.optional(),jwks:Mg().optional(),software_id:u().optional(),software_version:u().optional(),software_statement:u().optional()}).strip(),Rm=v({client_id:u(),client_secret:u().optional(),client_id_issued_at:O().optional(),client_secret_expires_at:O().optional()}).strip(),Em=$m.merge(Rm),gv=v({error:u(),error_description:u().optional()}).strip(),vv=v({token:u(),token_type_hint:u().optional()}).strip();var Px=Symbol.for("mcp.sdk.errorBrands");function la(e,t){let n=new Set,i=t;for(;typeof i=="function";){let r=i.mcpBrand;Object.prototype.hasOwnProperty.call(i,"mcpBrand")&&typeof r=="string"&&n.add(r),i=Object.getPrototypeOf(i)}n.size!==0&&Object.defineProperty(e,Px,{value:n,enumerable:!1,configurable:!0})}function gn(e,t){try{if(typeof t=="object"&&t!==null&&Object.prototype.hasOwnProperty.call(e,"mcpBrand")&&typeof e.mcpBrand=="string"&&Object.prototype.hasOwnProperty.call(t,Px)){let n=t[Px];if(n&&typeof n.has=="function"&&n.has(e.mcpBrand))return!0}}catch{}return Function.prototype[Symbol.hasInstance].call(e,t)}var xU=class yk extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.OAuthError"})}static[Symbol.hasInstance](t){return gn(this,t)}static isInstance(t){if(typeof this!="function")throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return gn(this,t)}constructor(t,n,i){super(n),this.code=t,this.errorUri=i,this.name="OAuthError",la(this,new.target)}toResponseObject(){let t={error:this.code,error_description:this.message};return this.errorUri&&(t.error_uri=this.errorUri),t}static fromResponse(t){return new yk(t.error,t.error_description??t.error,t.error_uri)}},St=(function(e){return e.NotConnected="NOT_CONNECTED",e.AlreadyConnected="ALREADY_CONNECTED",e.NotInitialized="NOT_INITIALIZED",e.CapabilityNotSupported="CAPABILITY_NOT_SUPPORTED",e.RequestTimeout="REQUEST_TIMEOUT",e.ConnectionClosed="CONNECTION_CLOSED",e.SendFailed="SEND_FAILED",e.InvalidResult="INVALID_RESULT",e.UnsupportedResultType="UNSUPPORTED_RESULT_TYPE",e.InputRequiredRoundsExceeded="INPUT_REQUIRED_ROUNDS_EXCEEDED",e.ListPaginationExceeded="LIST_PAGINATION_EXCEEDED",e.MethodNotSupportedByProtocolVersion="METHOD_NOT_SUPPORTED_BY_PROTOCOL_VERSION",e.EraNegotiationFailed="ERA_NEGOTIATION_FAILED",e.ClientHttpNotImplemented="CLIENT_HTTP_NOT_IMPLEMENTED",e.ClientHttpAuthentication="CLIENT_HTTP_AUTHENTICATION",e.ClientHttpForbidden="CLIENT_HTTP_FORBIDDEN",e.ClientHttpUnexpectedContent="CLIENT_HTTP_UNEXPECTED_CONTENT",e.ClientHttpFailedToOpenStream="CLIENT_HTTP_FAILED_TO_OPEN_STREAM",e.ClientHttpFailedToTerminateSession="CLIENT_HTTP_FAILED_TO_TERMINATE_SESSION",e})({}),Fe=class extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.SdkError"})}static[Symbol.hasInstance](e){return gn(this,e)}static isInstance(e){if(typeof this!="function")throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return gn(this,e)}constructor(e,t,n){super(t),this.code=e,this.data=n,this.name="SdkError",la(this,new.target)}},wU=class extends Fe{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.SdkHttpError"})}constructor(e,t,n){super(e,t,n),this.name="SdkHttpError"}get status(){return this.data.status}get statusText(){return this.data.statusText}};var TU="2026-07-28";function Sk(e){return e>=TU}function bk(e){let t=e.structuredContent;return t===void 0||!(typeof t!="object"||t===null||Array.isArray(t))||(e.content?.some(n=>n.type==="text")??!1)?e:{...e,content:[...e.content??[],{type:"text",text:JSON.stringify(t)}]}}var _k=["task","inputRequests","requestState"];function $U(e){return e===null||typeof e!="object"||Array.isArray(e)||e.content!==void 0||_k.some(t=>t in e)?e:{...e,content:[]}}function RU(){let e=Yi(()=>q([u(),O(),D(),yr(),U(u(),e),z(e)])),t=U(u(),e),n=q([u(),O().int()]),i=u(),r=v({ttl:O().optional()}),o=v({taskId:u()}),a=Y({progressToken:n.optional(),"io.modelcontextprotocol/related-task":o.optional()}),s=v({_meta:a.optional()}),l=s.extend({task:r.optional()}),c=v({method:u(),params:s.loose().optional()}),d=v({_meta:a.optional()}),p=v({method:u(),params:d.loose().optional()}),m=Y({_meta:a.optional()}),f=q([u(),O().int()]),_=m.strict(),$=d.extend({requestId:f.optional(),reason:u().optional()}),j=p.extend({method:w("notifications/cancelled"),params:$}),y=v({src:u(),mimeType:u().optional(),sizes:z(u()).optional(),theme:K(["light","dark"]).optional()}),g=v({icons:z(y).optional()}),S=v({name:u(),title:u().optional()}),x=S.extend({...S.shape,...g.shape,version:u(),websiteUrl:u().optional(),description:u().optional()}),N=Jn(v({applyDefaults:D().optional()}),t),H=Yr(zt=>zt&&typeof zt=="object"&&!Array.isArray(zt)&&Object.keys(zt).length===0?{form:{}}:zt,Jn(v({form:N.optional(),url:t.optional()}),t.optional())),M=Y({list:t.optional(),cancel:t.optional(),requests:Y({sampling:Y({createMessage:t.optional()}).optional(),elicitation:Y({create:t.optional()}).optional()}).optional()}),B=Y({list:t.optional(),cancel:t.optional(),requests:Y({tools:Y({call:t.optional()}).optional()}).optional()}),oe=v({experimental:U(u(),t).optional(),sampling:v({context:t.optional(),tools:t.optional()}).optional(),elicitation:H.optional(),roots:v({listChanged:D().optional()}).optional(),tasks:M.optional(),extensions:U(u(),t).optional()}),W=s.extend({protocolVersion:u(),capabilities:oe,clientInfo:x}),me=c.extend({method:w("initialize"),params:W}),wr=v({experimental:U(u(),t).optional(),logging:t.optional(),completions:t.optional(),prompts:v({listChanged:D().optional()}).optional(),resources:v({subscribe:D().optional(),listChanged:D().optional()}).optional(),tools:v({listChanged:D().optional()}).optional(),tasks:B.optional(),extensions:U(u(),t).optional()}),Te=m.extend({protocolVersion:u(),capabilities:wr,serverInfo:x,instructions:u().optional()}),vn=p.extend({method:w("notifications/initialized"),params:d.optional()}),yn=c.extend({method:w("ping"),params:s.optional()}),Fn=v({progress:O(),total:V(O()),message:V(u())}),Sn=v({...d.shape,...Fn.shape,progressToken:n}),Xt=p.extend({method:w("notifications/progress"),params:Sn}),Tr=s.extend({cursor:i.optional()}),bn=c.extend({params:Tr.optional()}),Mt=m.extend({nextCursor:i.optional()}),tt=v({uri:u(),mimeType:V(u()),_meta:U(u(),Z()).optional()}),_n=tt.extend({text:u()}),zn=u().refine(zt=>{try{return atob(zt),!0}catch{return!1}},{message:"Invalid Base64 string"}),$r=tt.extend({blob:zn}),xn=K(["user","assistant"]),Qe=v({audience:z(xn).optional(),priority:O().min(0).max(1).optional(),lastModified:hn.datetime({offset:!0}).optional()}),Et=v({...S.shape,...g.shape,uri:u(),description:V(u()),mimeType:V(u()),size:V(O()),annotations:Qe.optional(),_meta:V(Y({}))}),to=v({...S.shape,...g.shape,uriTemplate:u(),description:V(u()),mimeType:V(u()),annotations:Qe.optional(),_meta:V(Y({}))}),ni=bn.extend({method:w("resources/list")}),Pn=Mt.extend({resources:z(Et)}),Un=bn.extend({method:w("resources/templates/list")}),Rr=Mt.extend({resourceTemplates:z(to)}),E=s.extend({uri:u()}),G=E,F=c.extend({method:w("resources/read"),params:G}),ue=m.extend({contents:z(q([_n,$r]))}),ge=p.extend({method:w("notifications/resources/list_changed"),params:d.optional()}),ct=E,nt=c.extend({method:w("resources/subscribe"),params:ct}),qe=E,Qn=c.extend({method:w("resources/unsubscribe"),params:qe}),Dt=d.extend({uri:u()}),El=p.extend({method:w("notifications/resources/updated"),params:Dt}),Ol=v({name:u(),description:V(u()),required:V(D())}),kl=v({...S.shape,...g.shape,description:V(u()),arguments:V(z(Ol)),_meta:V(Y({}))}),Il=bn.extend({method:w("prompts/list")}),Nl=Mt.extend({prompts:z(kl)}),Cl=s.extend({name:u(),arguments:U(u(),u()).optional()}),jl=c.extend({method:w("prompts/get"),params:Cl}),no=v({type:w("text"),text:u(),annotations:Qe.optional(),_meta:U(u(),Z()).optional()}),ro=v({type:w("image"),data:zn,mimeType:u(),annotations:Qe.optional(),_meta:U(u(),Z()).optional()}),io=v({type:w("audio"),data:zn,mimeType:u(),annotations:Qe.optional(),_meta:U(u(),Z()).optional()}),Al=v({type:w("tool_use"),name:u(),id:u(),input:U(u(),Z()),_meta:U(u(),Z()).optional()}),ri=v({type:w("resource"),resource:q([_n,$r]),annotations:Qe.optional(),_meta:U(u(),Z()).optional()}),Pl=Et.extend({type:w("resource_link")}),wn=q([no,ro,io,Pl,ri]),da=v({role:xn,content:wn}),ma=m.extend({description:u().optional(),messages:z(da)}),oo=p.extend({method:w("notifications/prompts/list_changed"),params:d.optional()}),Ul=v({title:u().optional(),readOnlyHint:D().optional(),destructiveHint:D().optional(),idempotentHint:D().optional(),openWorldHint:D().optional()}),fa=v({taskSupport:K(["required","optional","forbidden"]).optional()}),ao=v({...S.shape,...g.shape,description:u().optional(),inputSchema:v({type:w("object"),properties:U(u(),e).optional(),required:z(u()).optional()}).catchall(Z()),outputSchema:v({type:w("object"),properties:U(u(),e).optional(),required:z(u()).optional()}).catchall(Z()).optional(),annotations:Ul.optional(),execution:fa.optional(),_meta:U(u(),Z()).optional()}),pa=bn.extend({method:w("tools/list")}),ha=Mt.extend({tools:z(ao)}),ga=m.extend({content:z(wn),structuredContent:U(u(),Z()).optional(),isError:D().optional()}),_t=l.extend({name:u(),arguments:U(u(),Z()).optional()}),Ml=c.extend({method:w("tools/call"),params:_t}),nf=p.extend({method:w("notifications/tools/list_changed"),params:d.optional()}),va=K(["debug","info","notice","warning","error","critical","alert","emergency"]),Dl=s.extend({level:va}),Ll=c.extend({method:w("logging/setLevel"),params:Dl}),ql=d.extend({level:va,logger:u().optional(),data:Z()}),Hl=p.extend({method:w("notifications/message"),params:ql}),Zl=v({name:u().optional()}),Vl=v({hints:z(Zl).optional(),costPriority:O().min(0).max(1).optional(),speedPriority:O().min(0).max(1).optional(),intelligencePriority:O().min(0).max(1).optional()}),Bl=v({mode:K(["auto","required","none"]).optional()}),rf=v({type:w("tool_result"),toolUseId:u().describe("The unique identifier for the corresponding tool call."),content:z(wn),structuredContent:v({}).loose().optional(),isError:D().optional(),_meta:U(u(),Z()).optional()}),Gl=Ji("type",[no,ro,io]),ii=Ji("type",[no,ro,io,Al,rf]),Jl=v({role:xn,content:q([ii,z(ii)]),_meta:U(u(),Z()).optional()}),Yl=l.extend({messages:z(Jl),modelPreferences:Vl.optional(),systemPrompt:u().optional(),includeContext:K(["none","thisServer","allServers"]).optional(),temperature:O().optional(),maxTokens:O().int(),stopSequences:z(u()).optional(),metadata:t.optional(),tools:z(ao).optional(),toolChoice:Bl.optional()}),Kl=c.extend({method:w("sampling/createMessage"),params:Yl}),Fl=m.extend({model:u(),stopReason:V(K(["endTurn","stopSequence","maxTokens"]).or(u())),role:xn,content:Gl}),Ql=m.extend({model:u(),stopReason:V(K(["endTurn","stopSequence","maxTokens","toolUse"]).or(u())),role:xn,content:q([ii,z(ii)])}),Xl=v({type:w("boolean"),title:u().optional(),description:u().optional(),default:D().optional()}),Wl=v({type:w("string"),title:u().optional(),description:u().optional(),minLength:O().optional(),maxLength:O().optional(),format:K(["email","uri","date","date-time"]).optional(),default:u().optional()}),ec=v({type:K(["number","integer"]),title:u().optional(),description:u().optional(),minimum:O().optional(),maximum:O().optional(),default:O().optional()}),tc=v({type:w("string"),title:u().optional(),description:u().optional(),enum:z(u()),default:u().optional()}),nc=v({type:w("string"),title:u().optional(),description:u().optional(),oneOf:z(v({const:u(),title:u()})),default:u().optional()}),rc=v({type:w("string"),title:u().optional(),description:u().optional(),enum:z(u()),enumNames:z(u()).optional(),default:u().optional()}),ic=q([tc,nc]),so=v({type:w("array"),title:u().optional(),description:u().optional(),minItems:O().optional(),maxItems:O().optional(),items:v({type:w("string"),enum:z(u())}),default:z(u()).optional()}),lo=v({type:w("array"),title:u().optional(),description:u().optional(),minItems:O().optional(),maxItems:O().optional(),items:v({anyOf:z(v({const:u(),title:u()}))}),default:z(u()).optional()}),of=q([so,lo]),af=q([rc,ic,of]),Wt=q([af,Xl,Wl,ec]),en=l.extend({mode:w("form").optional(),message:u(),requestedSchema:v({type:w("object"),properties:U(u(),Wt),required:z(u()).optional()}).catchall(Z())}),oc=l.extend({mode:w("url"),message:u(),elicitationId:u(),url:u().url()}),Mn=q([en,oc]),sf=c.extend({method:w("elicitation/create"),params:Mn}),lf=d.extend({elicitationId:u()}),cf=p.extend({method:w("notifications/elicitation/complete"),params:lf}),uf=m.extend({action:K(["accept","decline","cancel"]),content:Yr(zt=>zt===null?void 0:zt,U(u(),q([u(),O(),D(),z(u())])).optional())}),df=v({type:w("ref/resource"),uri:u()}),mf=v({type:w("ref/prompt"),name:u()}),ff=s.extend({ref:q([mf,df]),argument:v({name:u(),value:u()}),context:v({arguments:U(u(),u()).optional()}).optional()}),ac=c.extend({method:w("completion/complete"),params:ff}),pf=m.extend({completion:Y({values:z(u()).max(100),total:V(O().int()),hasMore:V(D())})}),hf=v({uri:u().startsWith("file://"),name:u().optional(),_meta:U(u(),Z()).optional()}),ya=c.extend({method:w("roots/list"),params:s.optional()}),sc=m.extend({roots:z(hf)}),gf=p.extend({method:w("notifications/roots/list_changed"),params:d.optional()}),vf=Y({ttl:O().optional(),pollInterval:O().optional()}),yf=K(["working","input_required","completed","failed","cancelled"]),oi=v({taskId:u(),status:yf,ttl:q([O(),yr()]),createdAt:u(),lastUpdatedAt:u(),pollInterval:V(O()),statusMessage:V(u())}),Lt=m.extend({task:oi}),Sf=d.merge(oi),co=p.extend({method:w("notifications/tasks/status"),params:Sf}),Sa=c.extend({method:w("tasks/get"),params:s.extend({taskId:u()})}),ba=m.merge(oi),_a=c.extend({method:w("tasks/result"),params:s.extend({taskId:u()})}),kv=m.loose(),qt=bn.extend({method:w("tasks/list")}),Be=Mt.extend({tasks:z(oi)}),uo=c.extend({method:w("tasks/cancel"),params:s.extend({taskId:u()})});return{JSONValueSchema:e,JSONObjectSchema:t,ProgressTokenSchema:n,CursorSchema:i,TaskMetadataSchema:r,RelatedTaskMetadataSchema:o,RequestMetaSchema:a,BaseRequestParamsSchema:s,TaskAugmentedRequestParamsSchema:l,RequestSchema:c,NotificationsParamsSchema:d,NotificationSchema:p,ResultSchema:m,RequestIdSchema:f,EmptyResultSchema:_,CancelledNotificationParamsSchema:$,CancelledNotificationSchema:j,IconSchema:y,IconsSchema:g,BaseMetadataSchema:S,ImplementationSchema:x,ClientTasksCapabilitySchema:M,ServerTasksCapabilitySchema:B,ClientCapabilitiesSchema:oe,InitializeRequestParamsSchema:W,InitializeRequestSchema:me,ServerCapabilitiesSchema:wr,InitializeResultSchema:Te,InitializedNotificationSchema:vn,PingRequestSchema:yn,ProgressSchema:Fn,ProgressNotificationParamsSchema:Sn,ProgressNotificationSchema:Xt,PaginatedRequestParamsSchema:Tr,PaginatedRequestSchema:bn,PaginatedResultSchema:Mt,ResourceContentsSchema:tt,TextResourceContentsSchema:_n,BlobResourceContentsSchema:$r,RoleSchema:xn,AnnotationsSchema:Qe,ResourceSchema:Et,ResourceTemplateSchema:to,ListResourcesRequestSchema:ni,ListResourcesResultSchema:Pn,ListResourceTemplatesRequestSchema:Un,ListResourceTemplatesResultSchema:Rr,ResourceRequestParamsSchema:E,ReadResourceRequestParamsSchema:G,ReadResourceRequestSchema:F,ReadResourceResultSchema:ue,ResourceListChangedNotificationSchema:ge,SubscribeRequestParamsSchema:ct,SubscribeRequestSchema:nt,UnsubscribeRequestParamsSchema:qe,UnsubscribeRequestSchema:Qn,ResourceUpdatedNotificationParamsSchema:Dt,ResourceUpdatedNotificationSchema:El,PromptArgumentSchema:Ol,PromptSchema:kl,ListPromptsRequestSchema:Il,ListPromptsResultSchema:Nl,GetPromptRequestParamsSchema:Cl,GetPromptRequestSchema:jl,TextContentSchema:no,ImageContentSchema:ro,AudioContentSchema:io,ToolUseContentSchema:Al,EmbeddedResourceSchema:ri,ResourceLinkSchema:Pl,ContentBlockSchema:wn,PromptMessageSchema:da,GetPromptResultSchema:ma,PromptListChangedNotificationSchema:oo,ToolAnnotationsSchema:Ul,ToolExecutionSchema:fa,ToolSchema:ao,ListToolsRequestSchema:pa,ListToolsResultSchema:ha,CallToolResultSchema:ga,CallToolRequestParamsSchema:_t,CallToolRequestSchema:Ml,ToolListChangedNotificationSchema:nf,LoggingLevelSchema:va,SetLevelRequestParamsSchema:Dl,SetLevelRequestSchema:Ll,LoggingMessageNotificationParamsSchema:ql,LoggingMessageNotificationSchema:Hl,ModelHintSchema:Zl,ModelPreferencesSchema:Vl,ToolChoiceSchema:Bl,ToolResultContentSchema:rf,SamplingContentSchema:Gl,SamplingMessageContentBlockSchema:ii,SamplingMessageSchema:Jl,CreateMessageRequestParamsSchema:Yl,CreateMessageRequestSchema:Kl,CreateMessageResultSchema:Fl,CreateMessageResultWithToolsSchema:Ql,BooleanSchemaSchema:Xl,StringSchemaSchema:Wl,NumberSchemaSchema:ec,UntitledSingleSelectEnumSchemaSchema:tc,TitledSingleSelectEnumSchemaSchema:nc,LegacyTitledEnumSchemaSchema:rc,SingleSelectEnumSchemaSchema:ic,UntitledMultiSelectEnumSchemaSchema:so,TitledMultiSelectEnumSchemaSchema:lo,MultiSelectEnumSchemaSchema:of,EnumSchemaSchema:af,PrimitiveSchemaDefinitionSchema:Wt,ElicitRequestFormParamsSchema:en,ElicitRequestURLParamsSchema:oc,ElicitRequestParamsSchema:Mn,ElicitRequestSchema:sf,ElicitationCompleteNotificationParamsSchema:lf,ElicitationCompleteNotificationSchema:cf,ElicitResultSchema:uf,ResourceTemplateReferenceSchema:df,PromptReferenceSchema:mf,CompleteRequestParamsSchema:ff,CompleteRequestSchema:ac,CompleteResultSchema:pf,RootSchema:hf,ListRootsRequestSchema:ya,ListRootsResultSchema:sc,RootsListChangedNotificationSchema:gf,TaskCreationParamsSchema:vf,TaskStatusSchema:yf,TaskSchema:oi,CreateTaskResultSchema:Lt,TaskStatusNotificationParamsSchema:Sf,TaskStatusNotificationSchema:co,GetTaskRequestSchema:Sa,GetTaskResultSchema:ba,GetTaskPayloadRequestSchema:_a,GetTaskPayloadResultSchema:kv,ListTasksRequestSchema:qt,ListTasksResultSchema:Be,CancelTaskRequestSchema:uo,CancelTaskResultSchema:m.merge(oi),ClientRequestSchema:q([yn,me,ac,Ll,jl,Il,ni,Un,F,nt,Qn,Ml,pa,Sa,_a,qt,uo]),ClientNotificationSchema:q([j,Xt,vn,gf,co]),ClientResultSchema:q([_,Fl,Ql,uf,sc,ba,Be,Lt]),ServerRequestSchema:q([yn,Kl,sf,ya,Sa,_a,qt,uo]),ServerNotificationSchema:q([j,Xt,Hl,El,ge,nf,oo,co,cf]),ServerResultSchema:q([_,Te,pf,ma,Nl,Pn,Rr,ue,ga,ha,ba,Be,Lt]),CallToolResultWireSchema:Z().superRefine((zt,YI)=>{if(!(typeof zt!="object"||zt===null||Array.isArray(zt)||zt.content!==void 0)){for(let Mw of _k)if(Mw in zt){YI.addIssue({code:"custom",message:`content is required when the body carries \'${Mw}\' \\u2014 another result family cannot default into an empty tools/call success`});return}}}).transform($U).pipe(ga)}}var EU;function zk(){return EU??=RU()}function xk(e){return e.type!=="object"}var OU=new Set(["const","enum","default","examples"]),kU=new Set(["properties","patternProperties","$defs","definitions","dependentSchemas","dependencies"]);function ck(e){return e!==void 0&&!(typeof e=="string"&&e.startsWith("#"))}function IU(e){let t=typeof e.$schema=="string"?e.$schema:void 0;if(ck(e.$id))return{...t!==void 0&&{$schema:t},type:"object",properties:{result:e},required:["result"]};let n=cE(e.$schema)&&e.$recursiveAnchor!==!0,i=(r,o)=>{if(Array.isArray(r))return r.map(l=>i(l,!1));if(r===null||typeof r!="object"||!o&&ck(r.$id))return r;let a={},s=!1;for(let[l,c]of Object.entries(r))o?a[l]=i(c,!1):(l==="$ref"||l==="$dynamicRef")&&typeof c=="string"?a[l]=c==="#"?"#/properties/result":c.startsWith("#/")?`#/properties/result${c.slice(1)}`:c:l==="$recursiveRef"&&c==="#"&&n?s=!0:OU.has(l)?a[l]=c:kU.has(l)?a[l]=i(c,!0):a[l]=i(c,!1);return s&&("$ref"in a?a.allOf=[...Array.isArray(a.allOf)?a.allOf:[],{$ref:"#/properties/result"}]:a.$ref="#/properties/result"),a};return{...t!==void 0&&{$schema:t},type:"object",properties:{result:i(e,!1)},required:["result"]}}var wk={ping:null,initialize:null,"completion/complete":null,"logging/setLevel":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"resources/subscribe":null,"resources/unsubscribe":null,"tools/call":null,"tools/list":null,"tasks/get":null,"tasks/result":null,"tasks/list":null,"tasks/cancel":null,"sampling/createMessage":null,"elicitation/create":null,"roots/list":null},Tk={"notifications/cancelled":null,"notifications/progress":null,"notifications/initialized":null,"notifications/roots/list_changed":null,"notifications/tasks/status":null,"notifications/message":null,"notifications/resources/updated":null,"notifications/resources/list_changed":null,"notifications/tools/list_changed":null,"notifications/prompts/list_changed":null,"notifications/elicitation/complete":null},NU={ping:null,initialize:null,"completion/complete":null,"logging/setLevel":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"resources/subscribe":null,"resources/unsubscribe":null,"tools/call":null,"tools/list":null,"sampling/createMessage":null,"elicitation/create":null,"roots/list":null},yv;function Hx(){if(yv)return yv;let e=zk();return yv={requestSchemas:{ping:e.PingRequestSchema,initialize:e.InitializeRequestSchema,"completion/complete":e.CompleteRequestSchema,"logging/setLevel":e.SetLevelRequestSchema,"prompts/get":e.GetPromptRequestSchema,"prompts/list":e.ListPromptsRequestSchema,"resources/list":e.ListResourcesRequestSchema,"resources/templates/list":e.ListResourceTemplatesRequestSchema,"resources/read":e.ReadResourceRequestSchema,"resources/subscribe":e.SubscribeRequestSchema,"resources/unsubscribe":e.UnsubscribeRequestSchema,"tools/call":e.CallToolRequestSchema,"tools/list":e.ListToolsRequestSchema,"tasks/get":e.GetTaskRequestSchema,"tasks/result":e.GetTaskPayloadRequestSchema,"tasks/list":e.ListTasksRequestSchema,"tasks/cancel":e.CancelTaskRequestSchema,"sampling/createMessage":e.CreateMessageRequestSchema,"elicitation/create":e.ElicitRequestSchema,"roots/list":e.ListRootsRequestSchema},notificationSchemas:{"notifications/cancelled":e.CancelledNotificationSchema,"notifications/progress":e.ProgressNotificationSchema,"notifications/initialized":e.InitializedNotificationSchema,"notifications/roots/list_changed":e.RootsListChangedNotificationSchema,"notifications/tasks/status":e.TaskStatusNotificationSchema,"notifications/message":e.LoggingMessageNotificationSchema,"notifications/resources/updated":e.ResourceUpdatedNotificationSchema,"notifications/resources/list_changed":e.ResourceListChangedNotificationSchema,"notifications/tools/list_changed":e.ToolListChangedNotificationSchema,"notifications/prompts/list_changed":e.PromptListChangedNotificationSchema,"notifications/elicitation/complete":e.ElicitationCompleteNotificationSchema},resultSchemas:{ping:e.EmptyResultSchema,initialize:e.InitializeResultSchema,"completion/complete":e.CompleteResultSchema,"logging/setLevel":e.EmptyResultSchema,"prompts/get":e.GetPromptResultSchema,"prompts/list":e.ListPromptsResultSchema,"resources/list":e.ListResourcesResultSchema,"resources/templates/list":e.ListResourceTemplatesResultSchema,"resources/read":e.ReadResourceResultSchema,"resources/subscribe":e.EmptyResultSchema,"resources/unsubscribe":e.EmptyResultSchema,"tools/call":e.CallToolResultWireSchema,"tools/list":e.ListToolsResultSchema,"sampling/createMessage":e.CreateMessageResultWithToolsSchema,"elicitation/create":e.ElicitResultSchema,"roots/list":e.ListRootsResultSchema}},yv}function $k(e){return Object.prototype.hasOwnProperty.call(wk,e)}function Rk(e){return Object.prototype.hasOwnProperty.call(Tk,e)}function CU(e){return Object.prototype.hasOwnProperty.call(NU,e)}function jU(e){return CU(e)?Hx().resultSchemas[e]:void 0}function AU(e){return $k(e)?Hx().requestSchemas[e]:void 0}function PU(e){return Rk(e)?Hx().notificationSchemas[e]:void 0}var vH=Object.keys(wk),yH=Object.keys(Tk);function Ux(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Sv(e,t){if(e===void 0)return{ok:!1,reason:"not-in-era"};let n=e.safeParse(t);return n.success?{ok:!0,value:n.data}:{ok:!1,reason:"invalid",message:String(n.error)}}var uk={ok:!1,reason:"not-in-era"};function dk(e){return Ux(e)&&Ux(e.outputSchema)&&xk(e.outputSchema)}var Zx={era:"2025-11-25",hasRequestMethod:$k,hasNotificationMethod:Rk,validateRequest:(e,t)=>Sv(AU(e),t),validateResult:(e,t)=>Sv(jU(e),t),validateNotification:(e,t)=>Sv(PU(e),t),hasInputRequestMethod:()=>!1,validateInputRequest:()=>uk,validateInputResponse:()=>uk,samplingResultVariant:((e,t)=>{let n=zk();return Sv(e?n.CreateMessageResultWithToolsSchema:n.CreateMessageResultSchema,t)}),outboundEnvelope:e=>{},validateEnvelopeMeta:e=>[],projectCallToolResult(e,t){let n=bk(e),i=n.structuredContent;if(i===void 0)return n;let r=typeof i!="object"||i===null||Array.isArray(i),o=t!==void 0&&xk(t);return!r&&!o?n:{...n,structuredContent:{result:i}}},decodeResult(e,t){if(Ux(t)&&"resultType"in t){let n={...t};return delete n.resultType,{kind:"complete",result:n}}return{kind:"complete",result:t}},encodeResult(e,t){if(e!=="tools/list")return t;let n=t.tools;return!Array.isArray(n)||!n.some(i=>dk(i))?t:{...t,tools:n.map(i=>dk(i)?{...i,outputSchema:IU(i.outputSchema)}:i)}},encodeErrorCode:e=>e===-32002?-32602:e,checkInboundEnvelope:e=>{}};function UU(){let e=Yi(()=>q([u(),O(),D(),yr(),U(u(),e),z(e)])),t=U(u(),e),n=q([u(),O().int()]),i=u(),r=q([u(),O().int()]),o=K(["user","assistant"]),a=K(["debug","info","notice","warning","error","critical","alert","emergency"]),s=u().refine(Be=>{try{return atob(Be),!0}catch{return!1}},{message:"Invalid Base64 string"}),l=v({ttl:O().optional()}),c=v({taskId:u()}),d=Y({progressToken:n.optional(),"io.modelcontextprotocol/related-task":c.optional()}),p=v({_meta:d.optional()}),m=p.extend({task:l.optional()}),f=v({_meta:d.optional()}),_=v({method:u(),params:f.loose().optional()}),$=v({src:u(),mimeType:u().optional(),sizes:z(u()).optional(),theme:K(["light","dark"]).optional()}),j=v({icons:z($).optional()}),y=v({name:u(),title:u().optional()}),g=y.extend({...y.shape,...j.shape,version:u(),websiteUrl:u().optional(),description:u().optional()}),S=Jn(v({applyDefaults:D().optional()}),t),x=Yr(Be=>Be&&typeof Be=="object"&&!Array.isArray(Be)&&Object.keys(Be).length===0?{form:{}}:Be,Jn(v({form:S.optional(),url:t.optional()}),t.optional())),N=Y({list:t.optional(),cancel:t.optional(),requests:Y({sampling:Y({createMessage:t.optional()}).optional(),elicitation:Y({create:t.optional()}).optional()}).optional()}),H=Y({list:t.optional(),cancel:t.optional(),requests:Y({tools:Y({call:t.optional()}).optional()}).optional()}),M=v({experimental:U(u(),t).optional(),sampling:v({context:t.optional(),tools:t.optional()}).optional(),elicitation:x.optional(),roots:v({listChanged:D().optional()}).optional(),tasks:N.optional(),extensions:U(u(),t).optional()}),B=v({experimental:U(u(),t).optional(),logging:t.optional(),completions:t.optional(),prompts:v({listChanged:D().optional()}).optional(),resources:v({subscribe:D().optional(),listChanged:D().optional()}).optional(),tools:v({listChanged:D().optional()}).optional(),tasks:H.optional(),extensions:U(u(),t).optional()}),oe=v({progress:O(),total:V(O()),message:V(u())}),W=v({...f.shape,...oe.shape,progressToken:n}),me=_.extend({method:w("notifications/progress"),params:W}),wr=f.extend({level:a,logger:u().optional(),data:Z()}),Te=_.extend({method:w("notifications/message"),params:wr}),vn=v({uri:u(),mimeType:V(u()),_meta:U(u(),Z()).optional()}),yn=vn.extend({text:u()}),Fn=vn.extend({blob:s}),Sn=v({audience:z(o).optional(),priority:O().min(0).max(1).optional(),lastModified:hn.datetime({offset:!0}).optional()}),Xt=v({...y.shape,...j.shape,uri:u(),description:V(u()),mimeType:V(u()),size:V(O()),annotations:Sn.optional(),_meta:V(Y({}))}),Tr=v({...y.shape,...j.shape,uriTemplate:u(),description:V(u()),mimeType:V(u()),annotations:Sn.optional(),_meta:V(Y({}))}),bn=_.extend({method:w("notifications/resources/list_changed"),params:f.optional()}),Mt=f.extend({uri:u()}),tt=_.extend({method:w("notifications/resources/updated"),params:Mt}),_n=v({name:u(),description:V(u()),required:V(D())}),zn=v({...y.shape,...j.shape,description:V(u()),arguments:V(z(_n)),_meta:V(Y({}))}),$r=_.extend({method:w("notifications/prompts/list_changed"),params:f.optional()}),xn=v({type:w("text"),text:u(),annotations:Sn.optional(),_meta:U(u(),Z()).optional()}),Qe=v({type:w("image"),data:s,mimeType:u(),annotations:Sn.optional(),_meta:U(u(),Z()).optional()}),Et=v({type:w("audio"),data:s,mimeType:u(),annotations:Sn.optional(),_meta:U(u(),Z()).optional()}),to=v({type:w("tool_use"),name:u(),id:u(),input:U(u(),Z()),_meta:U(u(),Z()).optional()}),ni=v({type:w("resource"),resource:q([yn,Fn]),annotations:Sn.optional(),_meta:U(u(),Z()).optional()}),Pn=Xt.extend({type:w("resource_link")}),Un=q([xn,Qe,Et,Pn,ni]),Rr=v({role:o,content:Un}),E=v({title:u().optional(),readOnlyHint:D().optional(),destructiveHint:D().optional(),idempotentHint:D().optional(),openWorldHint:D().optional()}),G=_.extend({method:w("notifications/tools/list_changed"),params:f.optional()}),F=v({name:u().optional()}),ue=v({hints:z(F).optional(),costPriority:O().min(0).max(1).optional(),speedPriority:O().min(0).max(1).optional(),intelligencePriority:O().min(0).max(1).optional()}),ge=v({mode:K(["auto","required","none"]).optional()}),ct=v({type:w("boolean"),title:u().optional(),description:u().optional(),default:D().optional()}),nt=v({type:w("string"),title:u().optional(),description:u().optional(),minLength:O().optional(),maxLength:O().optional(),format:K(["email","uri","date","date-time"]).optional(),default:u().optional()}),qe=v({type:K(["number","integer"]),title:u().optional(),description:u().optional(),minimum:O().optional(),maximum:O().optional(),default:O().optional()}),Qn=v({type:w("string"),title:u().optional(),description:u().optional(),enum:z(u()),default:u().optional()}),Dt=v({type:w("string"),title:u().optional(),description:u().optional(),oneOf:z(v({const:u(),title:u()})),default:u().optional()}),El=v({type:w("string"),title:u().optional(),description:u().optional(),enum:z(u()),enumNames:z(u()).optional(),default:u().optional()}),Ol=q([Qn,Dt]),kl=v({type:w("array"),title:u().optional(),description:u().optional(),minItems:O().optional(),maxItems:O().optional(),items:v({type:w("string"),enum:z(u())}),default:z(u()).optional()}),Il=v({type:w("array"),title:u().optional(),description:u().optional(),minItems:O().optional(),maxItems:O().optional(),items:v({anyOf:z(v({const:u(),title:u()}))}),default:z(u()).optional()}),Nl=q([kl,Il]),Cl=q([El,Ol,Nl]),jl=q([Cl,ct,nt,qe]),no=m.extend({mode:w("form").optional(),message:u(),requestedSchema:v({type:w("object"),properties:U(u(),jl),required:z(u()).optional()}).catchall(Z())}),ro=v({type:w("ref/resource"),uri:u()}),io=v({type:w("ref/prompt"),name:u()}),Al=v({uri:u().startsWith("file://"),name:u().optional(),_meta:U(u(),Z()).optional()}),ri=M.shape,Pl=v({experimental:ri.experimental,sampling:ri.sampling,elicitation:ri.elicitation,roots:ri.roots,extensions:ri.extensions}),wn=B.shape,da=v({experimental:wn.experimental,logging:wn.logging,completions:wn.completions,prompts:wn.prompts,resources:wn.resources,tools:wn.tools,extensions:wn.extensions}),ma=Y({progressToken:n.optional(),[Go]:u(),[Qs]:g.optional(),[Jo]:Pl,[Xs]:a.optional()}),oo=v({...y.shape,...j.shape,description:u().optional(),inputSchema:Y({$schema:u().optional(),type:w("object")}),outputSchema:Y({$schema:u().optional()}).optional(),annotations:E.optional(),_meta:U(u(),Z()).optional()}),Ul=v({type:w("tool_result"),toolUseId:u(),content:z(Un),structuredContent:Z().optional(),isError:D().optional(),_meta:U(u(),Z()).optional()}),fa=q([xn,Qe,Et,to,Ul]),ao=v({role:o,content:q([fa,z(fa)]),_meta:U(u(),Z()).optional()}),pa=u(),ha=Y({[Fi]:g.optional().catch(void 0)}),ga=ha.optional();function _t(Be){return Y({_meta:ga,resultType:pa.default("complete"),...Be})}let Ml=_t({}),nf=_t({nextCursor:i.optional()}),va=_t({content:z(Un),structuredContent:Z().optional(),isError:D().optional()}),Dl=_t({ttlMs:O().int().min(0),cacheScope:K(["public","private"]),tools:z(oo),nextCursor:i.optional()}),Ll=_t({ttlMs:O().int().min(0),cacheScope:K(["public","private"]),prompts:z(zn),nextCursor:i.optional()}),ql=_t({description:u().optional(),messages:z(Rr)}),Hl=_t({ttlMs:O().int().min(0),cacheScope:K(["public","private"]),resources:z(Xt),nextCursor:i.optional()}),Zl=_t({ttlMs:O().int().min(0),cacheScope:K(["public","private"]),resourceTemplates:z(Tr),nextCursor:i.optional()}),Vl=_t({ttlMs:O().int().min(0),cacheScope:K(["public","private"]),contents:z(q([yn,Fn]))}),Bl=_t({completion:v({values:z(u()).max(100),total:O().int().optional(),hasMore:D().optional()}).loose()}),rf=_t({ttlMs:O().int().min(0),cacheScope:K(["public","private"])}),Gl=_t({ttlMs:O().int().min(0).catch(0),cacheScope:K(["public","private"]).catch("private"),supportedVersions:z(u()),capabilities:da,instructions:u().optional()}),ii=v({messages:z(ao),modelPreferences:ue.optional(),systemPrompt:u().optional(),includeContext:K(["none","thisServer","allServers"]).optional(),temperature:O().optional(),maxTokens:O().int(),stopSequences:z(u()).optional(),metadata:t.optional(),tools:z(oo).optional(),toolChoice:ge.optional()}),Jl=v({method:w("sampling/createMessage"),params:ii}),Yl=v({method:w("roots/list"),params:v({_meta:U(u(),Z()).optional()}).optional()}),Kl=v({...ao.shape,model:u(),stopReason:u().optional()}),Fl=v({roots:z(Al)}),Ql=v({action:K(["accept","decline","cancel"]),content:U(u(),q([u(),O(),D(),z(u())])).optional()}),Xl=v({mode:w("url"),message:u(),url:u().url()}),Wl=q([no,Xl]),ec=v({method:w("elicitation/create"),params:Wl}),tc=q([Jl,Yl,ec]),nc=q([Kl,Fl,Ql]),rc=U(u(),tc),ic=U(u(),nc),so=_t({inputRequests:rc.optional(),requestState:u().optional()}),lo={inputResponses:ic.optional(),requestState:u().optional()},of=v({_meta:ma,...lo}),af=Y({progressToken:n.optional()});function Wt(Be,uo){return v({method:w(Be),params:v({_meta:ma,...uo})})}function en(Be,uo){return v({method:w(Be),params:v({_meta:af.optional(),...uo}).optional()})}let oc={name:u(),arguments:U(u(),Z()).optional(),...lo},Mn={cursor:i.optional()},sf=Wt("tools/call",oc),lf=Wt("tools/list",Mn),cf=Wt("prompts/list",Mn),uf=Wt("prompts/get",{name:u(),arguments:U(u(),u()).optional(),...lo}),df=Wt("resources/list",Mn),mf=Wt("resources/templates/list",Mn),ff=Wt("resources/read",{uri:u(),...lo}),ac={ref:q([io,ro]),argument:v({name:u(),value:u()}),context:v({arguments:U(u(),u()).optional()}).optional()},pf=Wt("completion/complete",ac),hf=Wt("server/discover",{}),ya=v({toolsListChanged:D().optional(),promptsListChanged:D().optional(),resourcesListChanged:D().optional(),resourceSubscriptions:z(u()).optional()}),sc={notifications:ya},gf=Wt("subscriptions/listen",sc),vf=ha.extend({"io.modelcontextprotocol/subscriptionId":r}),yf=Y({_meta:vf,resultType:pa.default("complete")}),oi={"tools/call":en("tools/call",oc),"tools/list":en("tools/list",Mn),"prompts/get":en("prompts/get",{name:u(),arguments:U(u(),u()).optional()}),"prompts/list":en("prompts/list",Mn),"resources/list":en("resources/list",Mn),"resources/templates/list":en("resources/templates/list",Mn),"resources/read":en("resources/read",{uri:u()}),"completion/complete":en("completion/complete",ac),"server/discover":en("server/discover",{}),"subscriptions/listen":en("subscriptions/listen",sc)};function Lt(Be){return Y({_meta:ga,...Be})}let Sf={"tools/call":Lt({content:z(Un),structuredContent:Z().optional(),isError:D().optional()}),"tools/list":Lt({ttlMs:O().int().min(0),cacheScope:K(["public","private"]),tools:z(oo),nextCursor:i.optional()}),"prompts/get":Lt({description:u().optional(),messages:z(Rr)}),"prompts/list":Lt({ttlMs:O().int().min(0),cacheScope:K(["public","private"]),prompts:z(zn),nextCursor:i.optional()}),"resources/list":Lt({ttlMs:O().int().min(0),cacheScope:K(["public","private"]),resources:z(Xt),nextCursor:i.optional()}),"resources/templates/list":Lt({ttlMs:O().int().min(0),cacheScope:K(["public","private"]),resourceTemplates:z(Tr),nextCursor:i.optional()}),"resources/read":Lt({ttlMs:O().int().min(0),cacheScope:K(["public","private"]),contents:z(q([yn,Fn]))}),"completion/complete":Lt({completion:v({values:z(u()).max(100),total:O().int().optional(),hasMore:D().optional()}).loose()}),"server/discover":Lt({ttlMs:O().int().min(0).catch(0),cacheScope:K(["public","private"]).catch("private"),supportedVersions:z(u()),capabilities:da,instructions:u().optional()}),"subscriptions/listen":Lt({})},co=Y({"io.modelcontextprotocol/subscriptionId":r.optional()}),Sa=v({method:w("notifications/subscriptions/acknowledged"),params:v({_meta:co.optional(),notifications:ya})}),ba=v({_meta:co.optional(),requestId:r,reason:u().optional()}),_a=v({method:w("notifications/cancelled"),params:ba}),kv={"notifications/cancelled":_a,"notifications/progress":me,"notifications/message":Te,"notifications/resources/updated":tt,"notifications/resources/list_changed":bn,"notifications/tools/list_changed":G,"notifications/prompts/list_changed":$r,"notifications/subscriptions/acknowledged":Sa},qt=Be=>v({jsonrpc:w("2.0"),id:q([u(),O().int()]),result:Be}).strict();return{JSONValueSchema:e,JSONObjectSchema:t,ProgressTokenSchema:n,CursorSchema:i,RequestIdSchema:r,RoleSchema:o,LoggingLevelSchema:a,TaskMetadataSchema:l,RelatedTaskMetadataSchema:c,RequestMetaSchema:d,BaseRequestParamsSchema:p,TaskAugmentedRequestParamsSchema:m,NotificationsParamsSchema:f,NotificationSchema:_,IconSchema:$,IconsSchema:j,BaseMetadataSchema:y,ImplementationSchema:g,ClientTasksCapabilitySchema:N,ServerTasksCapabilitySchema:H,ClientCapabilitiesSchema:M,ServerCapabilitiesSchema:B,ProgressSchema:oe,ProgressNotificationParamsSchema:W,ProgressNotificationSchema:me,LoggingMessageNotificationParamsSchema:wr,LoggingMessageNotificationSchema:Te,ResourceContentsSchema:vn,TextResourceContentsSchema:yn,BlobResourceContentsSchema:Fn,AnnotationsSchema:Sn,ResourceSchema:Xt,ResourceTemplateSchema:Tr,ResourceListChangedNotificationSchema:bn,ResourceUpdatedNotificationParamsSchema:Mt,ResourceUpdatedNotificationSchema:tt,PromptArgumentSchema:_n,PromptSchema:zn,PromptListChangedNotificationSchema:$r,TextContentSchema:xn,ImageContentSchema:Qe,AudioContentSchema:Et,ToolUseContentSchema:to,EmbeddedResourceSchema:ni,ResourceLinkSchema:Pn,ContentBlockSchema:Un,PromptMessageSchema:Rr,ToolAnnotationsSchema:E,ToolListChangedNotificationSchema:G,ModelHintSchema:F,ModelPreferencesSchema:ue,ToolChoiceSchema:ge,BooleanSchemaSchema:ct,StringSchemaSchema:nt,NumberSchemaSchema:qe,UntitledSingleSelectEnumSchemaSchema:Qn,TitledSingleSelectEnumSchemaSchema:Dt,LegacyTitledEnumSchemaSchema:El,SingleSelectEnumSchemaSchema:Ol,UntitledMultiSelectEnumSchemaSchema:kl,TitledMultiSelectEnumSchemaSchema:Il,MultiSelectEnumSchemaSchema:Nl,EnumSchemaSchema:Cl,PrimitiveSchemaDefinitionSchema:jl,ElicitRequestFormParamsSchema:no,ResourceTemplateReferenceSchema:ro,PromptReferenceSchema:io,RootSchema:Al,ClientCapabilities2026Schema:Pl,ServerCapabilities2026Schema:da,RequestMetaEnvelopeSchema:ma,ToolSchema:oo,ToolResultContentSchema:Ul,SamplingMessageContentBlockSchema:fa,SamplingMessageSchema:ao,ResultTypeSchema:pa,ResultMetaSchema:ha,ResultSchema:Ml,PaginatedResultSchema:nf,CallToolResultSchema:va,ListToolsResultSchema:Dl,ListPromptsResultSchema:Ll,GetPromptResultSchema:ql,ListResourcesResultSchema:Hl,ListResourceTemplatesResultSchema:Zl,ReadResourceResultSchema:Vl,CompleteResultSchema:Bl,CacheableResultSchema:rf,DiscoverResultSchema:Gl,CreateMessageRequestParamsSchema:ii,CreateMessageRequestSchema:Jl,ListRootsRequestSchema:Yl,CreateMessageResultSchema:Kl,ListRootsResultSchema:Fl,ElicitResultSchema:Ql,ElicitRequestURLParamsSchema:Xl,ElicitRequestParamsSchema:Wl,ElicitRequestSchema:ec,InputRequestSchema:tc,InputResponseSchema:nc,InputRequestsSchema:rc,InputResponsesSchema:ic,InputRequiredResultSchema:so,InputResponseRequestParamsSchema:of,CallToolRequestSchema:sf,ListToolsRequestSchema:lf,ListPromptsRequestSchema:cf,GetPromptRequestSchema:uf,ListResourcesRequestSchema:df,ListResourceTemplatesRequestSchema:mf,ReadResourceRequestSchema:ff,CompleteRequestSchema:pf,DiscoverRequestSchema:hf,SubscriptionFilterSchema:ya,SubscriptionsListenRequestSchema:gf,SubscriptionsListenResultMetaSchema:vf,SubscriptionsListenResultSchema:yf,dispatchRequestSchemas:oi,dispatchResultSchemas:Sf,NotificationMetaSchema:co,SubscriptionsAcknowledgedNotificationSchema:Sa,CancelledNotificationParamsSchema:ba,CancelledNotificationSchema:_a,notificationSchemas2026:kv,JSONRPCResultResponseSchema:qt(Ml),CallToolResultResponseSchema:qt(q([va,so])),ListToolsResultResponseSchema:qt(Dl),ListPromptsResultResponseSchema:qt(Ll),GetPromptResultResponseSchema:qt(q([ql,so])),ListResourcesResultResponseSchema:qt(Hl),ListResourceTemplatesResultResponseSchema:qt(Zl),ReadResourceResultResponseSchema:qt(q([Vl,so])),CompleteResultResponseSchema:qt(Bl),DiscoverResultResponseSchema:qt(Gl)}}var MU;function sa(){return MU??=UU()}var DU=["tools/list","prompts/list","resources/list","resources/templates/list","resources/read","server/discover"];function LU(e){return DU.includes(e)}var Vx=Symbol("modelcontextprotocol.resultCacheHintFallback");function qU(e){return e[Vx]}function Ek(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0}function Ok(e){return e==="public"||e==="private"}var ae=(function(e){return e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.ResourceNotFound=-32002]="ResourceNotFound",e[e.MissingRequiredClientCapability=-32021]="MissingRequiredClientCapability",e[e.UnsupportedProtocolVersion=-32022]="UnsupportedProtocolVersion",e[e.UrlElicitationRequired=-32042]="UrlElicitationRequired",e})({}),bt=class kk extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.ProtocolError"})}static[Symbol.hasInstance](t){return gn(this,t)}static isInstance(t){if(typeof this!="function")throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return gn(this,t)}constructor(t,n,i){super(n),this.code=t,this.data=i,this.name="ProtocolError",la(this,new.target)}static fromError(t,n,i){if(t===ae.UrlElicitationRequired&&i){let r=i;if(r.elicitations)return new Nk(r.elicitations,n)}if(t===ae.UnsupportedProtocolVersion&&i){let r=i;if(Array.isArray(r.supported)&&typeof r.requested=="string")return new Ck({supported:r.supported,requested:r.requested},n)}if(t===ae.InvalidParams||t===ae.ResourceNotFound){let r=i;if(typeof r?.uri=="string"&&(t===ae.ResourceNotFound||Object.keys(r).length===1))return new Ik(r.uri,n)}if(t===ae.MissingRequiredClientCapability&&i){let r=i;if(r.requiredCapabilities!==null&&typeof r.requiredCapabilities=="object"&&!Array.isArray(r.requiredCapabilities))return new jk({requiredCapabilities:r.requiredCapabilities},n)}return new kk(t,n,i)}},Ik=class extends bt{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.ResourceNotFoundError"})}constructor(e,t=`Resource not found: ${e}`){super(ae.InvalidParams,t,{uri:e})}get uri(){return this.data.uri}},Nk=class extends bt{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.UrlElicitationRequiredError"})}constructor(e,t=`URL elicitation${e.length>1?"s":""} required`){super(ae.UrlElicitationRequired,t,{elicitations:e})}get elicitations(){return this.data?.elicitations??[]}},Ck=class extends bt{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.UnsupportedProtocolVersionError"})}constructor(e,t=`Unsupported protocol version: ${e.requested}`){super(ae.UnsupportedProtocolVersion,t,e)}get supported(){return this.data.supported}get requested(){return this.data.requested}},jk=class extends bt{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.MissingRequiredClientCapabilityError"})}constructor(e,t=`Missing required client capabilities: ${Object.keys(e.requiredCapabilities).join(", ")}`){super(ae.MissingRequiredClientCapability,t,e)}get requiredCapabilities(){return this.data.requiredCapabilities}},HU=0,ZU="private",VU=["tools/call","prompts/get","resources/read"];function BU(e,t){let n=t.resultType;if(n===void 0)return{...t,resultType:"complete"};if(n==="complete"||VU.includes(e))return t;throw new bt(ae.InternalError,`Handler for ${e} returned resultType \'${String(n)}\', but results of ${e} only support \'complete\' on protocol revision 2026-07-28`)}function GU(e,t){let n=qU(t);if(t.resultType!=="complete"||!LU(e))return n===void 0?t:QU(t);let i=t,r=Ek(i.ttlMs)?i.ttlMs:KU(n),o=Ok(i.cacheScope)?i.cacheScope:FU(n),a={...i,ttlMs:r,cacheScope:o};return delete a[Vx],a}function JU(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function YU(e,t){if(t===void 0)return e;let n=e._meta;return n===void 0?{...e,_meta:{[Fi]:t}}:!JU(n)||n[Fi]!==void 0?e:{...e,_meta:{...n,[Fi]:t}}}function KU(e){return e!==void 0&&Ek(e.ttlMs)?e.ttlMs:HU}function FU(e){return e!==void 0&&Ok(e.cacheScope)?e.cacheScope:ZU}function QU(e){let t={...e};return delete t[Vx],t}var XU=["elicitation/create","sampling/createMessage","roots/list"],bv;function Ak(){if(bv)return bv;let e=sa();return bv={request:{"elicitation/create":v({method:w("elicitation/create"),params:e.ElicitRequestParamsSchema}),"sampling/createMessage":v({method:w("sampling/createMessage"),params:e.CreateMessageRequestParamsSchema}),"roots/list":v({method:w("roots/list"),params:Y({}).optional()})},response:{"elicitation/create":e.ElicitResultSchema,"sampling/createMessage":e.CreateMessageResultSchema,"roots/list":e.ListRootsResultSchema}},bv}function Pk(e){return XU.includes(e)}function Ix(e){return Pk(e)?Ak().request[e]:void 0}function WU(e){return Pk(e)?Ak().response[e]:void 0}var Bx={"tools/call":null,"tools/list":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"completion/complete":null,"server/discover":null,"subscriptions/listen":null},Uk={"notifications/cancelled":null,"notifications/progress":null,"notifications/message":null,"notifications/resources/updated":null,"notifications/resources/list_changed":null,"notifications/tools/list_changed":null,"notifications/prompts/list_changed":null,"notifications/subscriptions/acknowledged":null};function Mk(e){return Object.prototype.hasOwnProperty.call(Bx,e)}function Dk(e){return Object.prototype.hasOwnProperty.call(Uk,e)}function eM(e){return Object.prototype.hasOwnProperty.call(Bx,e)}function tM(e){return Mk(e)?sa().dispatchRequestSchemas[e]:void 0}function nM(e){return eM(e)?sa().dispatchResultSchemas[e]:void 0}function rM(e){return Dk(e)?sa().notificationSchemas2026[e]:void 0}var SH=Object.keys(Bx),bH=Object.keys(Uk);function Im(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Om(e,t){if(e===void 0)return{ok:!1,reason:"not-in-era"};let n=e.safeParse(t);return n.success?{ok:!0,value:n.data}:{ok:!1,reason:"invalid",message:String(n.error)}}var iM={ok:!1,reason:"not-in-era"},oM=[Go,Jo];function aM(e,t){let n=t,i=!1,r=()=>(i||(n={...n},i=!0),n),o=t.tools;e==="tools/list"&&Array.isArray(o)&&o.some(s=>Im(s)&&"execution"in s)&&(r().tools=o.map(s=>{if(!Im(s)||!("execution"in s))return s;let l={...s};return delete l.execution,l}));let a=t.capabilities;if(Im(a)&&"tasks"in a){let s={...a};delete s.tasks,r().capabilities=s}return n}var Gx={era:"2026-07-28",hasRequestMethod:Mk,hasNotificationMethod:Dk,hasInputRequestMethod:e=>Ix(e)!==void 0,validateRequest:(e,t)=>Om(tM(e),t),validateResult:(e,t)=>Om(nM(e),t),validateNotification:(e,t)=>Om(rM(e),t),validateInputRequest:(e,t)=>Om(Ix(e),t),validateInputResponse:(e,t)=>Om(WU(e),t),samplingResultVariant:()=>iM,outboundEnvelope(e){return{[Go]:e.protocolVersion,[Qs]:e.clientInfo,[Jo]:e.clientCapabilities,...e.logLevel!==void 0&&{[Xs]:e.logLevel}}},validateEnvelopeMeta(e){let t=[];for(let i of oM)i in e||t.push({key:i,problem:"missing"});let n=sa().RequestMetaEnvelopeSchema.safeParse(e);if(!n.success)for(let i of n.error.issues){let r=i.path.map(String),o=r.length>0?r.join("."):"_meta";r.length===1&&t.some(a=>a.key===o&&a.problem==="missing")||t.push({key:o,problem:i.message})}return t},projectCallToolResult:e=>bk(e),inputRequestSchema:Ix,decodeResult(e,t){if(!Im(t))return{kind:"invalid",error:new Fe(St.InvalidResult,`Invalid result for ${e}: not an object`,{method:e})};let n=t.resultType;if(n===void 0)return{kind:"invalid",error:new Fe(St.InvalidResult,`Invalid result for ${e}: missing required resultType \\u2014 servers implementing protocol revision 2026-07-28 MUST include it (the absent-means-complete bridge applies only to earlier-revision servers)`,{method:e,violation:"missing-resultType"})};if(typeof n!="string")return{kind:"invalid",error:new Fe(St.InvalidResult,`Invalid result for ${e}: non-string resultType`,{method:e,resultType:n})};if(n==="input_required"){let a=t.inputRequests,s=Im(a)?a:{},l=t.requestState;return Object.keys(s).length===0&&typeof l!="string"?{kind:"invalid",error:new Fe(St.InvalidResult,`Invalid result for ${e}: input_required carries neither inputRequests nor requestState (every input_required result must include at least one of the two)`,{method:e,violation:"input-required-missing-both"})}:{kind:"input_required",inputRequests:s,...typeof l=="string"&&{requestState:l}}}if(n!=="complete")return{kind:"invalid",error:new Fe(St.UnsupportedResultType,`Unsupported result type \'${n}\' for ${e}`,{resultType:n,method:e})};let i=sM(),r=Object.hasOwn(i,e)?i[e]:void 0;if(r!==void 0){let a=r.safeParse(t);if(!a.success)return{kind:"invalid",error:new Fe(St.InvalidResult,`Invalid result for ${e}: ${a.error}`,{method:e})}}let o={...t};return delete o.resultType,{kind:"complete",result:o}},encodeResult(e,t,n){return YU(GU(e,BU(e,aM(e,t))),n)},encodeErrorCode:e=>e===-32002?-32602:e,checkInboundEnvelope(e){if(e.envelope===void 0)return"Request is missing the required _meta envelope for protocol revision 2026-07-28 (io.modelcontextprotocol/protocolVersion, io.modelcontextprotocol/clientCapabilities)";let t=sa().RequestMetaEnvelopeSchema.safeParse(e.envelope);if(!t.success)return`Invalid _meta envelope for protocol revision 2026-07-28: ${t.error.issues.map(n=>n.message).join("; ")}`}},_v;function sM(){if(_v)return _v;let e=sa();return _v={"tools/call":e.CallToolResultSchema,"tools/list":e.ListToolsResultSchema,"prompts/get":e.GetPromptResultSchema,"prompts/list":e.ListPromptsResultSchema,"resources/list":e.ListResourcesResultSchema,"resources/templates/list":e.ListResourceTemplatesResultSchema,"resources/read":e.ReadResourceResultSchema,"completion/complete":e.CompleteResultSchema,"server/discover":e.DiscoverResultSchema},_v}var Jx="2026-07-28";function Cm(e){return e!==void 0&&Sk(e)?Gx:Zx}function mk(e){return e.revision!==void 0?Cm(e.revision).era:e.era==="modern"?Gx.era:Zx.era}function Nx(e){return Lk.some(t=>t.hasRequestMethod(e))}function Cx(e){return Lk.some(t=>t.hasNotificationMethod(e))}var Lk=[Zx,Gx],lM=sE({AnnotationsSchema:()=>_r,AudioContentSchema:()=>ta,BaseMetadataSchema:()=>Sr,BaseRequestParamsSchema:()=>lt,BlobResourceContentsSchema:()=>ml,BooleanSchemaSchema:()=>gl,CallToolRequestParamsSchema:()=>Ud,CallToolRequestSchema:()=>Md,CallToolResultSchema:()=>eo,CancelTaskRequestSchema:()=>lv,CancelTaskResultSchema:()=>cv,CancelledNotificationParamsSchema:()=>Bu,CancelledNotificationSchema:()=>ol,ClientCapabilitiesSchema:()=>Ju,ClientNotificationSchema:()=>dv,ClientRequestSchema:()=>uv,ClientResultSchema:()=>mv,ClientTasksCapabilitySchema:()=>Kg,CompatibilityCallToolResultSchema:()=>Qg,CompleteRequestParamsSchema:()=>dm,CompleteRequestSchema:()=>mm,CompleteResultSchema:()=>fm,ContentBlockSchema:()=>zr,CreateMessageRequestParamsSchema:()=>Fd,CreateMessageRequestSchema:()=>Qd,CreateMessageResultSchema:()=>Xd,CreateMessageResultWithToolsSchema:()=>Wd,CreateTaskResultSchema:()=>ev,CursorSchema:()=>el,DiscoverRequestSchema:()=>Xu,DiscoverResultSchema:()=>sl,ElicitRequestFormParamsSchema:()=>aa,ElicitRequestParamsSchema:()=>im,ElicitRequestSchema:()=>om,ElicitRequestURLParamsSchema:()=>rm,ElicitResultSchema:()=>lm,ElicitationCompleteNotificationParamsSchema:()=>am,ElicitationCompleteNotificationSchema:()=>sm,EmbeddedResourceSchema:()=>na,EmptyResultSchema:()=>Xi,EnumSchemaSchema:()=>nm,GetPromptRequestParamsSchema:()=>Rd,GetPromptRequestSchema:()=>Ed,GetPromptResultSchema:()=>Id,GetTaskPayloadRequestSchema:()=>iv,GetTaskPayloadResultSchema:()=>ov,GetTaskRequestSchema:()=>nv,GetTaskResultSchema:()=>rv,IconSchema:()=>Gu,IconsSchema:()=>Fr,ImageContentSchema:()=>ea,ImplementationSchema:()=>br,InitializeRequestParamsSchema:()=>Yu,InitializeRequestSchema:()=>Ku,InitializeResultSchema:()=>Fu,InitializedNotificationSchema:()=>Qu,JSONArraySchema:()=>Jg,JSONObjectSchema:()=>Me,JSONRPCErrorResponseSchema:()=>Fo,JSONRPCMessageSchema:()=>Qo,JSONRPCNotificationSchema:()=>il,JSONRPCRequestSchema:()=>rl,JSONRPCResponseSchema:()=>Yg,JSONRPCResultResponseSchema:()=>Ko,JSONValueSchema:()=>Kr,LegacyTitledEnumSchemaSchema:()=>Sl,ListChangedOptionsBaseSchema:()=>Xg,ListPromptsRequestSchema:()=>Td,ListPromptsResultSchema:()=>$d,ListResourceTemplatesRequestSchema:()=>od,ListResourceTemplatesResultSchema:()=>ad,ListResourcesRequestSchema:()=>rd,ListResourcesResultSchema:()=>id,ListRootsRequestSchema:()=>hm,ListRootsResultSchema:()=>gm,ListTasksRequestSchema:()=>av,ListTasksResultSchema:()=>sv,ListToolsRequestSchema:()=>Ad,ListToolsResultSchema:()=>Pd,LoggingLevelSchema:()=>hl,LoggingMessageNotificationParamsSchema:()=>Hd,LoggingMessageNotificationSchema:()=>Zd,ModelHintSchema:()=>Vd,ModelPreferencesSchema:()=>Bd,MultiSelectEnumSchemaSchema:()=>tm,NotificationSchema:()=>yt,NotificationsParamsSchema:()=>Rt,NumberSchemaSchema:()=>oa,PaginatedRequestParamsSchema:()=>td,PaginatedRequestSchema:()=>Qr,PaginatedResultSchema:()=>Xr,PingRequestSchema:()=>ll,PrimitiveSchemaDefinitionSchema:()=>zl,ProgressNotificationParamsSchema:()=>ed,ProgressNotificationSchema:()=>cl,ProgressSchema:()=>Wu,ProgressTokenSchema:()=>Ws,PromptArgumentSchema:()=>xd,PromptListChangedNotificationSchema:()=>Nd,PromptMessageSchema:()=>kd,PromptReferenceSchema:()=>um,PromptSchema:()=>wd,ReadResourceRequestParamsSchema:()=>sd,ReadResourceRequestSchema:()=>ld,ReadResourceResultSchema:()=>cd,RelatedTaskMetadataSchema:()=>Vu,RequestIdSchema:()=>Yn,RequestMetaSchema:()=>tl,RequestSchema:()=>De,ResourceContentsSchema:()=>ul,ResourceLinkSchema:()=>ra,ResourceListChangedNotificationSchema:()=>ud,ResourceRequestParamsSchema:()=>Xo,ResourceSchema:()=>fl,ResourceTemplateReferenceSchema:()=>cm,ResourceTemplateSchema:()=>nd,ResourceUpdatedNotificationParamsSchema:()=>_d,ResourceUpdatedNotificationSchema:()=>zd,ResultMetaObjectSchema:()=>nl,ResultSchema:()=>Le,RoleSchema:()=>Wr,RootSchema:()=>pm,RootsListChangedNotificationSchema:()=>vm,SamplingContentSchema:()=>Yd,SamplingMessageContentBlockSchema:()=>Ki,SamplingMessageSchema:()=>Kd,ServerCapabilitiesSchema:()=>al,ServerNotificationSchema:()=>pv,ServerRequestSchema:()=>fv,ServerResultSchema:()=>hv,ServerTasksCapabilitySchema:()=>Fg,SetLevelRequestParamsSchema:()=>Ld,SetLevelRequestSchema:()=>qd,SingleSelectEnumSchemaSchema:()=>em,StringSchemaSchema:()=>ia,SubscribeRequestParamsSchema:()=>dd,SubscribeRequestSchema:()=>md,SubscriptionFilterSchema:()=>pl,SubscriptionsAcknowledgedNotificationParamsSchema:()=>vd,SubscriptionsAcknowledgedNotificationSchema:()=>yd,SubscriptionsListenRequestParamsSchema:()=>hd,SubscriptionsListenRequestSchema:()=>gd,SubscriptionsListenResultMetaSchema:()=>Sd,SubscriptionsListenResultSchema:()=>bd,TaskAugmentedRequestParamsSchema:()=>Qi,TaskCreationParamsSchema:()=>Wg,TaskMetadataSchema:()=>Zu,TaskSchema:()=>ei,TaskStatusNotificationParamsSchema:()=>Sm,TaskStatusNotificationSchema:()=>tv,TaskStatusSchema:()=>ym,TextContentSchema:()=>Wo,TextResourceContentsSchema:()=>dl,TitledMultiSelectEnumSchemaSchema:()=>_l,TitledSingleSelectEnumSchemaSchema:()=>yl,ToolAnnotationsSchema:()=>Cd,ToolChoiceSchema:()=>Gd,ToolExecutionSchema:()=>jd,ToolListChangedNotificationSchema:()=>Dd,ToolResultContentSchema:()=>Jd,ToolSchema:()=>Wi,ToolUseContentSchema:()=>Od,UnsubscribeRequestParamsSchema:()=>fd,UnsubscribeRequestSchema:()=>pd,UntitledMultiSelectEnumSchemaSchema:()=>bl,UntitledSingleSelectEnumSchemaSchema:()=>vl});var qk=e=>rl.safeParse(e).success,Hk=e=>il.safeParse(e).success,Mx=e=>Ko.safeParse(e).success,Zk=e=>Fo.safeParse(e).success;var Nm=-32020,_H=[{rung:"http-method",order:1,evaluatedAt:"edge",codes:[-32e3],conformance:[],rationale:"The modern era is POST-only; GET/DELETE are body-less 2025-era session operations and are method-routed to legacy serving (405 when legacy serving is not configured), before any body is read."},{rung:"jsonrpc-shape",order:2,evaluatedAt:"edge",codes:[ae.InvalidRequest],conformance:["server-stateless"],rationale:"The body must be a JSON-RPC request or notification: posted responses and batch arrays containing a modern or invalid element are rejected before classification (element-wise batch rule); all-legacy arrays stay legacy traffic."},{rung:"era-classification",order:3,evaluatedAt:"edge",codes:[Nm,ae.UnsupportedProtocolVersion],conformance:["server-stateless","http-header-validation","http-custom-header-server-validation"],rationale:"Body-primary era classification with the protocol-version header as a cross-check; a header/body disagreement is rejected with -32020 (HeaderMismatch), and an envelope-less request on a modern-only endpoint is answered with the unsupported-protocol-version error naming the supported revisions."},{rung:"envelope",order:4,evaluatedAt:"edge",codes:[ae.InvalidParams],conformance:["server-stateless"],rationale:"A present envelope claim with a malformed envelope \\u2014 and a missing envelope on a request whose protocol-version header names a modern revision \\u2014 is an invalid-params rejection naming the offending or missing key(s); never a silent fall back to legacy handling. This is the only place an invalid-params rejection maps to HTTP 400."},{rung:"method-registry",order:5,evaluatedAt:"dispatch",codes:[ae.MethodNotFound],conformance:["server-stateless"],rationale:"Method existence outranks parameter validity: a method absent from the negotiated revision\\u2019s registry (or with no handler installed) answers method-not-found before params or capabilities are looked at."},{rung:"request-params",order:6,evaluatedAt:"dispatch",codes:[ae.InvalidParams],conformance:[],rationale:"Per-method params validation; emitted in-band by the dispatch layer (HTTP 200), never via the ladder status table."},{rung:"standard-header-validation",order:7,evaluatedAt:"pre-dispatch",codes:[Nm],conformance:["http-header-validation"],rationale:"SEP-2243 standard `Mcp-Method` / `Mcp-Name` headers \\u2014 presence, sentinel decoding, and `Mcp-Name` \\u2194 body cross-check \\u2014 are validated by the HTTP entry on a modern-classified request after the supported-revision gate and before dispatch. The classifier\\u2019s own header-mismatch cells (protocol-version, `Mcp-Method` mismatch) stay on the edge `era-classification` rung; this rung carries the entry-layer presence/`Mcp-Name` half. Evaluated before the capability gate, the factory call, and the `Mcp-Param-*` rung so a request that fails several rungs is answered by the standard-header rung first. The documented order (after method-registry 5 and request-params 6) is NOT the observed precedence: serveModern evaluates this rung immediately after the supported-revision gate, so a request that also fails a dispatch rung is answered here before the dispatch rungs (5\\u20136) are consulted."},{rung:"client-capabilities",order:8,evaluatedAt:"pre-dispatch",codes:[ae.MissingRequiredClientCapability],conformance:["server-stateless"],rationale:"The capability requirement is checked by the HTTP entry, pre-dispatch, against the validated envelope the classifier produced \\u2014 pinning the spec-mandated HTTP 400 independently of how dispatch- and handler-produced errors are mapped. The documented order (after method resolution and params validation) is preserved observably only while the requirement table is empty: once a served method gains a requirement entry, a request that is missing the capability and would also fail a dispatch rung is answered by this gate first, so the entry must consult the method registry before the gate if the documented precedence is to stay observable."},{rung:"param-header-validation",order:9,evaluatedAt:"pre-dispatch",codes:[Nm],conformance:["http-custom-header-server-validation"],rationale:"SEP-2243 `Mcp-Param-*` headers are validated against the named tool\\u2019s `x-mcp-header` declarations and the body `arguments` after the tool registry is known and before dispatch reaches the handler; a missing/disagreeing/malformed header is rejected 400 / -32020 with the same shape as the standard-header cross-checks. The documented order (after method resolution and params validation) is preserved observably only when the body `arguments` would otherwise validate: the check runs pre-dispatch, so a `tools/call` that fails BOTH this rung and a dispatch-time rung (e.g. order-6 `request-params`, -32602) is answered by this gate first with 400 / -32020, not by the earlier-ordered rung."}],zH={[ae.ParseError]:400,[ae.InvalidRequest]:400,[ae.MethodNotFound]:404,[ae.UnsupportedProtocolVersion]:400,[ae.MissingRequiredClientCapability]:400,[Nm]:400};function Yx(e,t){return Iu(e,t)}function km(e){return new Set(e.flatMap(t=>Object.keys(t.shape)))}function Dx(e){if(e==null)return!1;let t=typeof e;return t!=="object"&&t!=="function"||!("~standard"in e)?!1:typeof e["~standard"]?.validate=="function"}var fk=!1,Lx="draft-2020-12";function cM(e,t="input"){let n=e["~standard"],i;if(n.jsonSchema)i=n.jsonSchema[t]({target:Lx});else if(n.vendor==="zod"){if(!("_zod"in e))throw new Error("Schema appears to be from zod 3, which the SDK cannot convert to JSON Schema. Upgrade to zod >=4.2.0, or wrap your JSON Schema with fromJsonSchema().");fk||(fk=!0,console.warn("[mcp-sdk] Your zod version does not implement `~standard.jsonSchema` (added in zod 4.2.0). Falling back to z.toJSONSchema(). Upgrade to zod >=4.2.0 to silence this warning.")),i=Vo(e,{target:Lx,io:t})}else throw new Error(`Schema library "${n.vendor}" does not implement StandardJSONSchemaV1 (\\`~standard.jsonSchema\\`). Upgrade to a version that does, or wrap your JSON Schema with fromJsonSchema().`);if(t==="output")return i.type!==void 0?i:Vk(i)?{type:"object",...i}:i;if(i.type!==void 0&&i.type!=="object")throw new Error(`MCP tool and prompt schemas must describe objects (got type: ${JSON.stringify(i.type)}). Wrap your schema in z.object({...}) or equivalent.`);return{type:"object",...i}}function Vk(e){if("properties"in e||"patternProperties"in e||"additionalProperties"in e||"required"in e)return!0;for(let t of["oneOf","anyOf","allOf"]){let n=e[t];if(Array.isArray(n)&&n.length>0)return n.every(i=>i!==null&&typeof i=="object"&&(i.type==="object"||Vk(i)))}return!1}function uM(e){return e.path?.length?`${e.path.map(t=>String(typeof t=="object"?t.key:t)).join(".")}: ${e.message}`:e.message}async function jx(e,t){let n=await e["~standard"].validate(t);return n.issues&&n.issues.length>0?{success:!1,error:n.issues.map(i=>uM(i)).join(", ")}:{success:!0,data:n.value}}function dM(e){let t=Vo(e,{target:Lx,io:"input"});return typeof t.pattern=="string"?t.pattern:void 0}var mM=/\\\\\\.\\\\d\\{(\\d+)\\}/;function fM(e){let t=mM.exec(e),n=[void 0,-1,0];return t&&n.push(Number(t[1])),[!1,!0].flatMap(i=>[!1,!0].flatMap(r=>n.map(o=>hn.datetime({local:i,offset:r,precision:o}))))}function pM(e,t){let n;switch(e){case"email":n=[_g()];break;case"uri":n=[Gs()];break;case"date":n=[hn.date()];break;case"date-time":n=fM(t);break}return new Set(n.map(i=>dM(i)).filter(i=>i!==void 0))}function hM(e,t,n){return n!=="zod"?!0:pM(e,t).has(t)}function jm(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function gM(e){try{return cM(e,"input")}catch(t){let n=t instanceof Error?t.message:String(t);throw new bt(ae.InvalidParams,`Elicitation requestedSchema must describe an object with flat primitive properties: ${n}`)}}var vM=new Set(["$comment","deprecated","description","examples","readOnly","title","writeOnly"]);function Kx(e){return vM.has(e)||e.startsWith("x-")}var yM=new Set(["$schema",...Object.keys(aa.shape.requestedSchema.shape)]),pk={string:km([ia,vl,yl,Sl]),number:km([oa]),integer:km([oa]),boolean:km([gl]),array:km([bl,_l])},SM=new Set(ia.shape.format.unwrap().options);function bM(e,t,n,i){if(!jm(e))return e;let r=typeof e.type=="string"&&Object.hasOwn(pk,e.type)?pk[e.type]:void 0;if(r===void 0)return e;let o={};for(let[a,s]of Object.entries(e))r.has(a)||Kx(a)?o[a]=s:a==="pattern"&&e.type==="string"&&typeof e.format=="string"?SM.has(e.format)?(typeof s!="string"||!hM(e.format,s,n))&&i.push(`${t}.${a}`):o[a]=s:i.push(`${t}.${a}`);return o}function _M(e,t){let n={},i=[];for(let[r,o]of Object.entries(e))r==="properties"&&jm(o)?n[r]=Object.fromEntries(Object.entries(o).map(([a,s])=>[a,bM(s,`properties.${a}`,t,i)])):yM.has(r)?n[r]=o:Kx(r)||i.push(r);if(i.length>0)throw new bt(ae.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${i.join(", ")}`);return n}function zM(e,t){if(!jm(e.properties))return t;let n=Object.entries(e.properties).filter(([,i])=>!Yx(zl,i).success).map(([i])=>`properties.${i}`);return n.length>0?n.join(", "):t}function qx(e,t,n=""){return Array.isArray(e)&&Array.isArray(t)?e.flatMap((i,r)=>qx(i,t[r],`${n}[${r}]`)):!jm(e)||!jm(t)?[]:Object.entries(e).flatMap(([i,r])=>{let o=n?`${n}.${i}`:i;return Object.prototype.hasOwnProperty.call(t,i)?qx(r,t[i],o):Kx(i)?[]:[o]})}function xM(e){if(!Dx(e.requestedSchema))return{...e,mode:"form",requestedSchema:e.requestedSchema};let t=e.requestedSchema["~standard"].vendor,n=_M(gM(e.requestedSchema),t),i=Yx(aa.shape.requestedSchema,n);if(!i.success)throw new bt(ae.InvalidParams,`Elicitation requestedSchema only supports flat primitive properties (string, number, integer, boolean, and string enums): ${zM(n,i.error.message)}`);let r=qx(n,i.data);if(r.length>0)throw new bt(ae.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${r.join(", ")}`);let o=(i.data.required??[]).filter(a=>!Object.prototype.hasOwnProperty.call(i.data.properties,a));if(o.length>0)throw new bt(ae.InvalidParams,`Elicitation requestedSchema lists required properties that are not defined in properties: ${o.join(", ")}`);return{...e,mode:"form",requestedSchema:i.data}}function wM(e){let t=e.inputRequests!==void 0&&Object.keys(e.inputRequests).length>0,n=typeof e.requestState=="string";if(!t&&!n)throw new TypeError("inputRequired() requires at least one of inputRequests (with at least one entry) or requestState (spec: every InputRequiredResult MUST include at least one of the two)");return{resultType:"input_required",...e.inputRequests!==void 0&&{inputRequests:e.inputRequests},...e.requestState!==void 0&&{requestState:e.requestState}}}var xH=Object.assign(wM,{elicit(e){try{return{method:"elicitation/create",params:xM(e)}}catch(t){throw t instanceof bt?new TypeError(t.message,{cause:t}):t}},elicitUrl(e){return{method:"elicitation/create",params:{...e,mode:"url"}}},createMessage(e){return{method:"sampling/createMessage",params:e}},listRoots(){return{method:"roots/list"}}});var TM=["AnnotationsSchema","AudioContentSchema","BaseMetadataSchema","BlobResourceContentsSchema","BooleanSchemaSchema","CallToolRequestSchema","CallToolRequestParamsSchema","CallToolResultSchema","CancelledNotificationSchema","CancelledNotificationParamsSchema","CancelTaskRequestSchema","CancelTaskResultSchema","ClientCapabilitiesSchema","ClientNotificationSchema","ClientRequestSchema","ClientResultSchema","CompatibilityCallToolResultSchema","CompleteRequestSchema","CompleteRequestParamsSchema","CompleteResultSchema","ContentBlockSchema","CreateMessageRequestSchema","CreateMessageRequestParamsSchema","CreateMessageResultSchema","CreateMessageResultWithToolsSchema","CreateTaskResultSchema","CursorSchema","DiscoverRequestSchema","DiscoverResultSchema","ElicitationCompleteNotificationSchema","ElicitationCompleteNotificationParamsSchema","ElicitRequestSchema","ElicitRequestFormParamsSchema","ElicitRequestParamsSchema","ElicitRequestURLParamsSchema","ElicitResultSchema","EmbeddedResourceSchema","EmptyResultSchema","EnumSchemaSchema","GetPromptRequestSchema","GetPromptRequestParamsSchema","GetPromptResultSchema","GetTaskPayloadRequestSchema","GetTaskPayloadResultSchema","GetTaskRequestSchema","GetTaskResultSchema","IconSchema","IconsSchema","ImageContentSchema","ImplementationSchema","InitializedNotificationSchema","InitializeRequestSchema","InitializeRequestParamsSchema","InitializeResultSchema","JSONArraySchema","JSONObjectSchema","JSONRPCErrorResponseSchema","JSONRPCMessageSchema","JSONRPCNotificationSchema","JSONRPCRequestSchema","JSONRPCResponseSchema","JSONRPCResultResponseSchema","JSONValueSchema","LegacyTitledEnumSchemaSchema","ListPromptsRequestSchema","ListPromptsResultSchema","ListResourcesRequestSchema","ListResourcesResultSchema","ListResourceTemplatesRequestSchema","ListResourceTemplatesResultSchema","ListRootsRequestSchema","ListRootsResultSchema","ListTasksRequestSchema","ListTasksResultSchema","ListToolsRequestSchema","ListToolsResultSchema","LoggingLevelSchema","LoggingMessageNotificationSchema","LoggingMessageNotificationParamsSchema","ModelHintSchema","ModelPreferencesSchema","MultiSelectEnumSchemaSchema","NotificationSchema","NumberSchemaSchema","PaginatedRequestSchema","PaginatedRequestParamsSchema","PaginatedResultSchema","PingRequestSchema","PrimitiveSchemaDefinitionSchema","ProgressSchema","ProgressNotificationSchema","ProgressNotificationParamsSchema","ProgressTokenSchema","PromptSchema","PromptArgumentSchema","PromptListChangedNotificationSchema","PromptMessageSchema","PromptReferenceSchema","ReadResourceRequestSchema","ReadResourceRequestParamsSchema","ReadResourceResultSchema","RelatedTaskMetadataSchema","RequestSchema","RequestIdSchema","RequestMetaSchema","ResourceSchema","ResourceContentsSchema","ResourceLinkSchema","ResourceListChangedNotificationSchema","ResourceRequestParamsSchema","ResourceTemplateSchema","ResourceTemplateReferenceSchema","ResourceUpdatedNotificationSchema","ResourceUpdatedNotificationParamsSchema","ResultMetaObjectSchema","ResultSchema","RoleSchema","RootSchema","RootsListChangedNotificationSchema","SamplingContentSchema","SamplingMessageSchema","SamplingMessageContentBlockSchema","ServerCapabilitiesSchema","ServerNotificationSchema","ServerRequestSchema","ServerResultSchema","SetLevelRequestSchema","SetLevelRequestParamsSchema","SingleSelectEnumSchemaSchema","StringSchemaSchema","SubscribeRequestSchema","SubscribeRequestParamsSchema","SubscriptionFilterSchema","SubscriptionsAcknowledgedNotificationSchema","SubscriptionsAcknowledgedNotificationParamsSchema","SubscriptionsListenRequestSchema","SubscriptionsListenRequestParamsSchema","SubscriptionsListenResultSchema","SubscriptionsListenResultMetaSchema","TaskAugmentedRequestParamsSchema","TaskCreationParamsSchema","TaskMetadataSchema","TaskSchema","TaskStatusSchema","TaskStatusNotificationSchema","TaskStatusNotificationParamsSchema","TextContentSchema","TextResourceContentsSchema","TitledMultiSelectEnumSchemaSchema","TitledSingleSelectEnumSchemaSchema","ToolSchema","ToolAnnotationsSchema","ToolChoiceSchema","ToolExecutionSchema","ToolListChangedNotificationSchema","ToolResultContentSchema","ToolUseContentSchema","UnsubscribeRequestSchema","UnsubscribeRequestParamsSchema","UntitledMultiSelectEnumSchemaSchema","UntitledSingleSelectEnumSchemaSchema"],$M={IdJagTokenExchangeResponseSchema:wm,OAuthClientInformationFullSchema:Em,OAuthClientInformationSchema:Rm,OAuthClientMetadataSchema:$m,OAuthClientRegistrationErrorSchema:gv,OAuthErrorResponseSchema:Tm,OAuthMetadataSchema:xl,OAuthProtectedResourceMetadataSchema:bm,OAuthTokenRevocationRequestSchema:vv,OAuthTokensSchema:xm,OpenIdProviderDiscoveryMetadataSchema:zm,OpenIdProviderMetadataSchema:_m},Bk={},Gk={};function Jk(e,t){let n=e.slice(0,-6);Bk[n]=t,Gk[n]=i=>t.safeParse(i).success}for(let e of TM)Jk(e,lM[e]);for(let[e,t]of Object.entries($M))Jk(e,t);var RM=Object.freeze(Bk),EM=Object.freeze(Gk);function OM(e){switch(e){case"initialize":case"notifications/initialized":return Cm(void 0);case"server/discover":return Cm(Jx);default:return}}var Yk=6e4,kM=[Go,Qs,Jo,Xs],IM=["inputResponses","requestState"];function hk(e,t){let n=e.params;if(!Ax(n))return{message:e,lifted:{}};let i=n._meta,r=Ax(i)?kM.filter(l=>l in i):[],o=t==="request"?IM.filter(l=>l in n):[];if(r.length===0&&o.length===0)return{message:e,lifted:{}};let a={},s={...n};if(r.length>0&&Ax(i)){let l={},c={...i};for(let d of r)l[d]=i[d],delete c[d];a.envelope=l,Object.keys(c).length>0?s._meta=c:delete s._meta}for(let l of o)l==="inputResponses"&&(a.inputResponses=s[l]),l==="requestState"&&(a.requestState=s[l]),delete s[l];return{message:{...e,params:s},lifted:a}}function gk(e,t){let n=e.validateResult(t,void 0);if(!(!n.ok&&n.reason==="not-in-era"))return{"~standard":{version:1,vendor:"mcp-wire-codec",validate(i){let r=e.validateResult(t,i);return r.ok?{value:r.value}:{issues:[{message:r.reason==="invalid"?r.message:`not-in-era: ${t}`}]}}}}}function Kk(e){return()=>e}var NM=Kk(void 0),CM,Fx=class{_transport;_requestMessageId=0;_requestHandlers=new Map;_requestHandlerAbortControllers=new Map;_notificationHandlers=new Map;_responseHandlers=new Map;_progressHandlers=new Map;_timeoutInfo=new Map;_pendingDebouncedNotifications=new Set;_negotiatedProtocolVersion;static{CM=(e,t)=>{e._negotiatedProtocolVersion=t}}_supportedProtocolVersions;onclose;onerror;fallbackRequestHandler;fallbackNotificationHandler;constructor(e){this._options=e,this._supportedProtocolVersions=e?.supportedProtocolVersions??Vg,this.setNotificationHandler("notifications/cancelled",t=>{this._oncancel(t)}),this.setNotificationHandler("notifications/progress",t=>{this._onprogress(t)}),this.setRequestHandler("ping",t=>({}))}_shouldDropInbound(e){}_outboundMetaEnvelope(){}_envelopeOutbound(e){let t=this._outboundMetaEnvelope();if(t===void 0)return e;let n=e.params??{};return{...e,params:{...n,_meta:{...t,...n._meta}}}}_resolveNonCompleteResult(e,t){return Promise.reject(new Fe(St.UnsupportedResultType,`Unsupported result type \'${e.kind}\' for ${t.request.method}`,{resultType:e.kind,method:t.request.method}))}_getRequestHandler(e){return this._requestHandlers.get(e)}async _oncancel(e){e.params.requestId&&this._requestHandlerAbortControllers.get(e.params.requestId)?.abort(e.params.reason)}_setupTimeout(e,t,n,i,r=!1){this._timeoutInfo.set(e,{timeoutId:setTimeout(i,t),startTime:Date.now(),timeout:t,maxTotalTimeout:n,resetTimeoutOnProgress:r,onTimeout:i})}_resetTimeout(e){let t=this._timeoutInfo.get(e);if(!t)return!1;let n=Date.now()-t.startTime;if(t.maxTotalTimeout&&n>=t.maxTotalTimeout)throw this._timeoutInfo.delete(e),new Fe(St.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:t.maxTotalTimeout,totalElapsed:n});return clearTimeout(t.timeoutId),t.timeoutId=setTimeout(t.onTimeout,t.timeout),!0}_cleanupTimeout(e){let t=this._timeoutInfo.get(e);t&&(clearTimeout(t.timeoutId),this._timeoutInfo.delete(e))}async connect(e){this._transport=e;let t=this.transport?.onclose;this._transport.onclose=()=>{try{t?.()}finally{this._onclose()}};let n=this.transport?.onerror;this._transport.onerror=r=>{n?.(r),this._onerror(r)};let i=this._transport?.onmessage;this._transport.onmessage=(r,o)=>{i?.(r,o),Mx(r)||Zk(r)?this._onresponse(r):qk(r)?this._onrequest(r,o):Hk(r)?this._onnotification(r,o):this._onerror(new Error(`Unknown message type: ${JSON.stringify(r)}`))},e.setSupportedProtocolVersions?.(this._supportedProtocolVersions),await this._transport.start()}_onclose(){let e=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._pendingDebouncedNotifications.clear();for(let i of this._timeoutInfo.values())clearTimeout(i.timeoutId);this._timeoutInfo.clear();let t=this._requestHandlerAbortControllers;this._requestHandlerAbortControllers=new Map;let n=new Fe(St.ConnectionClosed,"Connection closed");this._transport=void 0;try{this.onclose?.()}finally{for(let i of e.values())i(n);for(let i of t.values())i.abort(n)}}_onerror(e){this.onerror?.(e)}_onnotification(e,t){let{message:n}=hk(e,"notification"),i=this._negotiatedWireCodec();if(t?.classification===void 0&&this._shouldDropInbound(e)==="drop")return;if(t?.classification!==void 0){let a=mk(t.classification);if(a!==i.era){this._onerror(new Error(`Era mismatch on inbound notification \'${n.method}\': classified as ${a} but this instance serves ${i.era}`));return}}if(Cx(n.method)&&!i.hasNotificationMethod(n.method))return;let r=this._notificationHandlers.get(n.method),o=this.fallbackNotificationHandler;r===void 0&&o===void 0||Promise.resolve().then(()=>r===void 0?o(n):r(n,i)).catch(a=>this._onerror(new Error(`Uncaught error in notification handler: ${a}`)))}_onrequest(e,t){let{message:n,lifted:i}=hk(e,"request"),r=this._negotiatedWireCodec();if(t?.classification===void 0&&this._shouldDropInbound(e)==="drop"){this._onerror(new Error(`Dropped inbound request \'${e.method}\': not servable on this connection\'s protocol era`));return}let o=this._transport,a=($,j,y)=>{let g={jsonrpc:"2.0",id:n.id,error:{code:$,message:j,...y!==void 0&&{data:y}}};o?.send(g).catch(S=>this._onerror(new Error(`Failed to send an error response: ${S}`)))};if(t?.classification!==void 0){let $=mk(t.classification);if($!==r.era){this._onerror(new Error(`Era mismatch on inbound request \'${n.method}\': classified as ${$} but this instance serves ${r.era}`));let j=t.classification.revision??$;a(ae.UnsupportedProtocolVersion,`Unsupported protocol version: ${j}`,{supported:this._supportedProtocolVersions,requested:j});return}}if(Nx(n.method)&&!r.hasRequestMethod(n.method)){a(ae.MethodNotFound,"Method not found");return}let s=this._requestHandlers.get(n.method)??this.fallbackRequestHandler;if(s===void 0){a(ae.MethodNotFound,"Method not found");return}let l=r.checkInboundEnvelope(i);if(l!==void 0){a(ae.InvalidParams,l);return}let c=($,j)=>this._notificationViaCodec(this._resolveOutboundCodec($.method),$,{...j,relatedRequestId:n.id}),d=($,j,y)=>this._requestWithSchemaViaCodec(this._resolveOutboundCodec($.method),$,j,{...y,relatedRequestId:n.id}),p=new AbortController;this._requestHandlerAbortControllers.set(n.id,p);let m=i.inputResponses===void 0?void 0:jM(i.inputResponses),f={sessionId:o?.sessionId,mcpReq:{id:n.id,method:n.method,_meta:n.params?._meta,...i.envelope!==void 0&&{envelope:i.envelope},...m!==void 0&&{inputResponses:m.accepted},...m!==void 0&&m.droppedKeys.length>0&&{droppedInputResponseKeys:m.droppedKeys},requestState:i.requestState===void 0?NM:Kk(i.requestState),signal:p.signal,send:(($,j,y)=>{let g=this._resolveOutboundCodec($.method);if(this._assertOutboundRequestInEra(g,$.method),Dx(j))return d($,j,y);let S=gk(g,$.method);if(S===void 0)throw new TypeError(`\'${$.method}\' is not a spec method; pass a result schema as the second argument to ctx.mcpReq.send().`);return d($,S,j)}),notify:c},http:t?.authInfo?{authInfo:t.authInfo}:void 0},_=this.buildContext(f,t);Promise.resolve().then(()=>s(n,_)).then(async $=>{if(p.signal.aborted)return;let j;try{j=r.encodeResult(n.method,$,this._outboundServerInfo())}catch(g){this._onerror(new Error(`Failed to encode result for ${n.method}: ${g}`)),a(ae.InternalError,"Internal error");return}let y={result:j,jsonrpc:"2.0",id:n.id};await o?.send(y)},async $=>{if(p.signal.aborted)return;let j=Number.isSafeInteger($.code)?$.code:ae.InternalError,y={jsonrpc:"2.0",id:n.id,error:{code:r.encodeErrorCode(j),message:$.message??"Internal error",...$.data!==void 0&&{data:$.data}}};await o?.send(y)}).catch($=>this._onerror(new Error(`Failed to send response: ${$}`))).finally(()=>{this._requestHandlerAbortControllers.get(n.id)===p&&this._requestHandlerAbortControllers.delete(n.id)})}_onprogress(e){let{progressToken:t,...n}=e.params,i=Number(t),r=this._progressHandlers.get(i);if(!r){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(e)}`));return}let o=this._responseHandlers.get(i),a=this._timeoutInfo.get(i);if(a&&o&&a.resetTimeoutOnProgress)try{this._resetTimeout(i)}catch(s){this._responseHandlers.delete(i),this._progressHandlers.delete(i),this._cleanupTimeout(i),o(s);return}r(n)}_onresponse(e){let t=Number(e.id),n=this._responseHandlers.get(t);if(n===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`));return}this._responseHandlers.delete(t),this._cleanupTimeout(t),this._progressHandlers.delete(t),Mx(e)?n(e):n(bt.fromError(e.error.code,e.error.message,e.error.data))}get transport(){return this._transport}async close(){await this._transport?.close()}request(e,t,n){let i=this._resolveOutboundCodec(e.method);if(this._assertOutboundRequestInEra(i,e.method),Dx(t))return this._requestWithSchemaViaCodec(i,e,t,n);let r=gk(i,e.method);if(r===void 0)throw new TypeError(`\'${e.method}\' is not a spec method; pass a result schema as the second argument to request().`);return this._requestWithSchemaViaCodec(i,e,r,t)}_negotiatedWireCodec(){return Cm(this._negotiatedProtocolVersion)}_wireCodec(){return this._negotiatedWireCodec()}_resolveOutboundCodec(e){if(this._negotiatedProtocolVersion===void 0){let t=OM(e);if(t)return t}return this._negotiatedWireCodec()}_assertOutboundRequestInEra(e,t){if(Nx(t)&&!e.hasRequestMethod(t))throw new Fe(St.MethodNotSupportedByProtocolVersion,`Method \'${t}\' is not supported by the negotiated protocol version (wire era ${e.era})`,{method:t,era:e.era})}_requestWithSchema(e,t,n){let i=this._resolveOutboundCodec(e.method);return this._assertOutboundRequestInEra(i,e.method),this._requestWithSchemaViaCodec(i,e,t,n)}_requestWithSchemaViaCodec(e,t,n,i){let{relatedRequestId:r,resumptionToken:o,onresumptiontoken:a,headers:s}=i??{},l=Date.now(),c,d;return new Promise((p,m)=>{let f=H=>{m(H)};if(!this._transport){f(new Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(t.method)}catch(H){f(H);return}if(i?.signal?.aborted){let H=i.signal.reason;throw H instanceof Fe?H:new Fe(St.RequestTimeout,String(H))}let _=e.era===Jx&&this._transport.hasPerRequestStream===!0?new AbortController:void 0,$=this._requestMessageId++;d=$;let j={...t,jsonrpc:"2.0",id:$};i?.onprogress&&(this._progressHandlers.set($,i.onprogress),j.params={...t.params,_meta:{...t.params?._meta,progressToken:$}});let y=this._envelopeOutbound(j),g=!1,S=H=>{g||(this._progressHandlers.delete($),_===void 0?this._transport?.send(this._envelopeOutbound({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:$,reason:String(H)}}),{relatedRequestId:r,resumptionToken:o,onresumptiontoken:a}).catch(M=>this._onerror(new Error(`Failed to send cancellation: ${M}`))):_.abort(),m(H instanceof Fe?H:new Fe(St.RequestTimeout,String(H))))};this._responseHandlers.set($,H=>{if(i?.signal?.aborted)return;if(g=!0,H instanceof Error)return m(H);let M;try{M=e.decodeResult(t.method,H.result)}catch(oe){return m(oe instanceof Error?oe:new Error(String(oe)))}if(M.kind==="invalid")return m(M.error);if(M.kind==="input_required"){if(i?.allowInputRequired===!0)return p(AM(M));let oe={codec:e,request:t,resultSchema:n,options:i,flowStartedAt:l,retry:(W,me)=>this._requestWithSchemaViaCodec(e,W===void 0?{method:t.method}:{method:t.method,params:W},n,me)};return p(this._resolveNonCompleteResult(M,oe))}let B=M.result;jx(n,B).then(oe=>{oe.success?p(oe.data):m(new Fe(St.InvalidResult,`Invalid result for ${t.method}: ${oe.error}`))},m)}),c=()=>S(i?.signal?.reason),i?.signal?.addEventListener("abort",c,{once:!0});let x=i?.timeout??Yk,N=()=>S(new Fe(St.RequestTimeout,"Request timed out",{timeout:x}));this._setupTimeout($,x,i?.maxTotalTimeout,N,i?.resetTimeoutOnProgress??!1),this._transport.send(y,{relatedRequestId:r,resumptionToken:o,onresumptiontoken:a,headers:s,requestSignal:_?.signal}).catch(H=>{this._progressHandlers.delete($),m(H)})}).finally(()=>{c&&i?.signal?.removeEventListener("abort",c),d!==void 0&&(this._responseHandlers.delete(d),this._cleanupTimeout(d))})}async notification(e,t){return this._notificationViaCodec(this._resolveOutboundCodec(e.method),e,t)}async _notificationViaCodec(e,t,n){if(!this._transport)throw new Fe(St.NotConnected,"Not connected");if(Cx(t.method)&&!e.hasNotificationMethod(t.method))throw new Fe(St.MethodNotSupportedByProtocolVersion,`Notification \'${t.method}\' is not supported by the negotiated protocol version (wire era ${e.era})`,{method:t.method,era:e.era});this.assertNotificationCapability(t.method);let i=this._envelopeOutbound({jsonrpc:"2.0",...t});if((this._options?.debouncedNotificationMethods??[]).includes(t.method)&&!t.params&&!n?.relatedRequestId){if(this._pendingDebouncedNotifications.has(t.method))return;this._pendingDebouncedNotifications.add(t.method),Promise.resolve().then(()=>{this._pendingDebouncedNotifications.delete(t.method),this._transport&&this._transport?.send(i,n).catch(r=>this._onerror(r))});return}await this._transport.send(i,n)}setRequestHandler(e,t,n){this.assertRequestHandlerCapability(e);let i;if(typeof t=="function"){if(!Nx(e))throw new TypeError(`\'${e}\' is not a spec request method; pass schemas as the second argument to setRequestHandler().`);i=(r,o)=>{let a=this._negotiatedWireCodec(),s=a.validateRequest(e,r);if(!s.ok&&s.reason==="not-in-era"&&(s=a.validateInputRequest(e,r)),!s.ok)throw s.reason==="not-in-era"?new bt(ae.InternalError,`No wire schema for ${e} in the resolved era`):new Error(s.message);return Promise.resolve(t(s.value,o))}}else if(n)i=async(r,o)=>{let a=await jx(t.params,{...r.params});if(!a.success)throw new bt(ae.InvalidParams,`Invalid params for ${e}: ${a.error}`);return n(a.data,o)};else throw new TypeError("setRequestHandler: handler is required");this._requestHandlers.set(e,this._wrapHandler(e,i))}_wrapHandler(e,t){return t}_outboundServerInfo(){}removeRequestHandler(e){this._requestHandlers.delete(e)}assertCanSetRequestHandler(e){if(this._requestHandlers.has(e))throw new Error(`A request handler for ${e} already exists, which would be overridden`)}setNotificationHandler(e,t,n){if(typeof t=="function"){if(!Cx(e))throw new TypeError(`\'${e}\' is not a spec notification method; pass schemas as the second argument to setNotificationHandler().`);this._notificationHandlers.set(e,(i,r)=>{let o=r.validateNotification(e,i);if(!o.ok)throw o.reason==="not-in-era"?new bt(ae.InternalError,`No wire schema for ${e} in the resolved era`):new Error(o.message);return Promise.resolve(t(o.value))});return}if(!n)throw new TypeError("setNotificationHandler: handler is required");this._notificationHandlers.set(e,async i=>{let r=await jx(t.params,{...i.params});if(!r.success)throw new bt(ae.InvalidParams,`Invalid params for notification ${e}: ${r.error}`);await n(r.data,i)})}removeNotificationHandler(e){this._notificationHandlers.delete(e)}};function Ax(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function vk(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function jM(e){let t={},n=[];if(!vk(e))return{accepted:t,droppedKeys:n};for(let[i,r]of Object.entries(e)){if(!vk(r)||"method"in r||"result"in r){n.push(i);continue}t[i]=r}return{accepted:t,droppedKeys:n}}function AM(e){return{resultType:"input_required",inputRequests:e.inputRequests,...e.requestState!==void 0&&{requestState:e.requestState}}}var PM=aE((e=>{var t=/; *([!#$%&\'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\\u000b\\u0020\\u0021\\u0023-\\u005b\\u005d-\\u007e\\u0080-\\u00ff]|\\\\[\\u000b\\u0020-\\u00ff])*"|[!#$%&\'*+.^_`|~0-9A-Za-z-]+) */g,n=/\\\\([\\u000b\\u0020-\\u00ff])/g,i=/^[!#$%&\'*+.^_`|~0-9A-Za-z-]+\\/[!#$%&\'*+.^_`|~0-9A-Za-z-]+$/;e.parse=r;function r(s){if(!s)throw new TypeError("argument string is required");var l=typeof s=="object"?o(s):s;if(typeof l!="string")throw new TypeError("argument string is required to be a string");var c=l.indexOf(";"),d=c!==-1?l.slice(0,c).trim():l.trim();if(!i.test(d))throw new TypeError("invalid media type");var p=new a(d.toLowerCase());if(c!==-1){var m,f,_;for(t.lastIndex=c;f=t.exec(l);){if(f.index!==c)throw new TypeError("invalid parameter format");c+=f[0].length,m=f[1].toLowerCase(),_=f[2],_.charCodeAt(0)===34&&(_=_.slice(1,-1),_.indexOf("\\\\")!==-1&&(_=_.replace(n,"$1"))),p.parameters[m]=_}if(c!==l.length)throw new TypeError("invalid parameter format")}return p}function o(s){var l;if(typeof s.getHeader=="function"?l=s.getHeader("content-type"):typeof s.headers=="object"&&(l=s.headers&&s.headers["content-type"]),typeof l!="string")throw new TypeError("content-type header is missing from object");return l}function a(s){this.parameters=Object.create(null),this.type=s}})),wH=lE(PM(),1);var UM=10*1024*1024;var AH=typeof self<"u"&&self.location&&self.location.origin!=="null"?new URL(self.location.origin+self.location.pathname+location.search):new URL("https://github.com/cfworker");var MM=/^(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)$/,DM=[0,31,28,31,30,31,30,31,31,30,31,30,31],LM=/^(\\d\\d):(\\d\\d):(\\d\\d)(\\.\\d+)?(z|[+-]\\d\\d(?::?\\d\\d)?)?$/i,qM=/^(?=.{1,253}\\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\\.?$/i,HM=/^(?:[a-z][a-z0-9+\\-.]*:)?(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&\'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\\.[a-z0-9\\-._~!$&\'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)|(?:[a-z0-9\\-._~!$&\'"()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&\'"()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&\'"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&\'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&\'"()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&\'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\\?(?:[a-z0-9\\-._~!$&\'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&\'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,ZM=/^(?:(?:[^\\x00-\\x20"\'<>%\\\\^`{|}]|%[0-9a-f]{2})|\\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\\*)?)*\\})*$/i,VM=/^(?:(?:https?|ftp):\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?!10(?:\\.\\d{1,3}){3})(?!127(?:\\.\\d{1,3}){3})(?!169\\.254(?:\\.\\d{1,3}){2})(?!192\\.168(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u{00a1}-\\u{ffff}0-9]+-?)*[a-z\\u{00a1}-\\u{ffff}0-9]+)(?:\\.(?:[a-z\\u{00a1}-\\u{ffff}0-9]+-?)*[a-z\\u{00a1}-\\u{ffff}0-9]+)*(?:\\.(?:[a-z\\u{00a1}-\\u{ffff}]{2,})))(?::\\d{2,5})?(?:\\/[^\\s]*)?$/iu,BM=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,GM=/^(?:\\/(?:[^~/]|~0|~1)*)*$/,JM=/^#(?:\\/(?:[a-z0-9_\\-.!$&\'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,YM=/^(?:0|[1-9][0-9]*)(?:#|(?:\\/(?:[^~/]|~0|~1)*)*)$/,KM=e=>{if(e[0]===\'"\')return!1;let[t,n,...i]=e.split("@");return!t||!n||i.length!==0||t.length>64||n.length>253||t[0]==="."||t.endsWith(".")||t.includes("..")||!/^[a-z0-9.-]+$/i.test(n)||!/^[a-z0-9.!#$%&\'*+/=?^_`{|}~-]+$/i.test(t)?!1:n.split(".").every(r=>/^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$/i.test(r))},FM=/^(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)$/,QM=/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))$/i,XM=e=>e.length>1&&e.length<80&&(/^P\\d+([.,]\\d+)?W$/.test(e)||/^P[\\dYMDTHS]*(\\d[.,]\\d+)?[YMDHS]$/.test(e)&&/^P([.,\\d]+Y)?([.,\\d]+M)?([.,\\d]+D)?(T([.,\\d]+H)?([.,\\d]+M)?([.,\\d]+S)?)?$/.test(e));function xr(e){return e.test.bind(e)}var PH={date:Fk,time:Qk.bind(void 0,!1),"date-time":t8,duration:XM,uri:i8,"uri-reference":xr(HM),"uri-template":xr(ZM),url:xr(VM),email:KM,hostname:xr(qM),ipv4:xr(FM),ipv6:xr(QM),regex:a8,uuid:xr(BM),"json-pointer":xr(GM),"json-pointer-uri-fragment":xr(JM),"relative-json-pointer":xr(YM)};function WM(e){return e%4===0&&(e%100!==0||e%400===0)}function Fk(e){let t=e.match(MM);if(!t)return!1;let n=+t[1],i=+t[2],r=+t[3];return i>=1&&i<=12&&r>=1&&r<=(i==2&&WM(n)?29:DM[i])}function Qk(e,t){let n=t.match(LM);if(!n)return!1;let i=+n[1],r=+n[2],o=+n[3],a=!!n[5];return(i<=23&&r<=59&&o<=59||i==23&&r==59&&o==60)&&(!e||a)}var e8=/t|\\s/i;function t8(e){let t=e.split(e8);return t.length==2&&Fk(t[0])&&Qk(!0,t[1])}var n8=/\\/|:/,r8=/^(?:[a-z][a-z0-9+\\-.]*:)(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&\'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\\.[a-z0-9\\-._~!$&\'()*+,;=:]+)\\]|(?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)|(?:[a-z0-9\\-._~!$&\'()*+,;=]|%[0-9a-f]{2})*)(?::\\d*)?(?:\\/(?:[a-z0-9\\-._~!$&\'()*+,;=:@]|%[0-9a-f]{2})*)*|\\/(?:(?:[a-z0-9\\-._~!$&\'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&\'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\\-._~!$&\'()*+,;=:@]|%[0-9a-f]{2})+(?:\\/(?:[a-z0-9\\-._~!$&\'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\\?(?:[a-z0-9\\-._~!$&\'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\\-._~!$&\'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;function i8(e){return n8.test(e)&&r8.test(e)}var o8=/[^\\\\]\\\\Z/;function a8(e){if(o8.test(e))return!1;try{return new RegExp(e,"u"),!0}catch{return!1}}var l8;l8=globalThis.crypto;var Am=class extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.OAuthClientFlowError"})}static[Symbol.hasInstance](e){return gn(this,e)}static isInstance(e){if(typeof this!="function")throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return gn(this,e)}constructor(e){super(e),this.name=new.target.name,la(this,new.target)}},$Z=class extends Am{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.IssuerMismatchError"})}kind;expected;received;constructor(e,t,n){super(`Issuer mismatch in ${e==="metadata"?"authorization server metadata (RFC 8414 \\xA73.3)":"authorization response (RFC 9207)"}: expected ${JSON.stringify(t)}, received ${JSON.stringify(n)}`),this.kind=e,this.expected=t,this.received=n}},RZ=class extends Am{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.RegistrationRejectedError"})}status;body;submittedMetadata;constructor(e){super(`Dynamic Client Registration rejected (HTTP ${e.status}): ${e.body}`),this.status=e.status,this.body=e.body,this.submittedMetadata=e.submittedMetadata}},EZ=class extends Am{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.InsecureTokenEndpointError"})}tokenEndpoint;constructor(e){super(`Refusing to send credentials to non-https token endpoint \'${e}\'. OAuth token requests MUST use TLS (localhost / 127.0.0.1 / ::1 are exempt).`),this.tokenEndpoint=e}},OZ=class extends Am{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.AuthorizationServerMismatchError"})}constructor(e,t){super(`Authorization server changed between redirect and callback (redirected to ${JSON.stringify(e)}, callback resolved ${JSON.stringify(t)}); refusing to send authorization_code/code_verifier to a different token endpoint`),this.recordedIssuer=e,this.currentIssuer=t}},kZ=class extends Am{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.InsufficientScopeError"})}requiredScope;resourceMetadataUrl;errorDescription;constructor(e){super(`Insufficient scope${e.requiredScope?`: required "${e.requiredScope}"`:""}`),this.requiredScope=e.requiredScope,this.resourceMetadataUrl=e.resourceMetadataUrl,this.errorDescription=e.errorDescription}};var IZ=class extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.UnauthorizedError"})}static[Symbol.hasInstance](e){return gn(this,e)}static isInstance(e){if(typeof this!="function")throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return gn(this,e)}constructor(e){super(e??"Unauthorized"),this.name="UnauthorizedError",la(this,new.target)}};var NZ=class extends Error{static{Object.defineProperty(this,"mcpBrand",{value:"mcp.SseError"})}static[Symbol.hasInstance](e){return gn(this,e)}static isInstance(e){if(typeof this!="function")throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return gn(this,e)}constructor(e,t,n){super(`SSE error: ${t}`),this.code=e,this.event=n,la(this,new.target)}};var j8=J(Ae(),1),o3=J(Ae(),1),a3=J(Ae(),1);var Qx=class{_eventSlots=new Map;setHandler(t,n){let i=this._ensureEventSlot(t);i.onHandler&&n&&console.warn(`[MCP Apps] on${String(t)} handler replaced. Use addEventListener("${String(t)}", \\u2026) to add multiple listeners without replacing.`),i.onHandler=n}getHandler(t){return this._eventSlots.get(t)?.onHandler}addEventListener(t,n){this._ensureEventSlot(t).listeners.push(n)}removeEventListener(t,n){let i=this._eventSlots.get(t);if(!i)return;let r=i.listeners.indexOf(n);r!==-1&&i.listeners.splice(r,1)}dispatch(t,n){let i=this._eventSlots.get(t);if(i){i.onHandler?.(n);for(let r of[...i.listeners])r(n)}}_ensureEventSlot(t){let n=this._eventSlots.get(t);return n||(n={listeners:[]},this._eventSlots.set(t,n)),n}},Xx=class{_methods=new Set;claim(t,n){if(this._methods.has(t))throw Error(`Handler for "${t}" already registered (via ${n}). Use addEventListener() to attach multiple listeners, or the on* setter for replace semantics.`);this._methods.add(t)}replace(t){this._methods.add(t)}release(t){this._methods.delete(t)}has(t){return this._methods.has(t)}},Xk=new Set;function Wk(e,t){let[n,i]=t,r=n?.shape;if(typeof r?.method?.value!="string")return;let o=r.method.value,a=e==="request"?"setRequestHandler":"setNotificationHandler";Xk.has(a)||(Xk.add(a),console.warn(`[ext-apps] ${a}(Schema, handler) is deprecated; use ${a}("${o}", { params: Schema.shape.params }, handler).`));let s=i;return[o,{params:r.params},e==="request"?(l,c)=>s({method:o,params:l},c8(c)):l=>s({method:o,params:l})]}function c8(e){return{signal:e.mcpReq.signal,requestId:e.mcpReq.id,sessionId:e.sessionId,_meta:e.mcpReq._meta,sendRequest:e.mcpReq.send,sendNotification:e.mcpReq.notify,authInfo:e.http?.authInfo}}var u8="2026-01-26";var d8="ui/notifications/tool-input-partial";var zv=class{eventTarget;eventSource;messageListener;constructor(t=window.parent,n){this.eventTarget=t,this.eventSource=n,this.messageListener=i=>{if(n&&i.source!==this.eventSource){console.debug("Ignoring message from unknown source",i);return}let r=Qo.safeParse(i.data);r.success?(console.debug("Parsed message",r.data),this.onmessage?.(r.data)):i.data?.jsonrpc!=="2.0"?console.debug("Ignoring non-JSON-RPC message",r.error.message,i):(console.error("Failed to parse message",r.error.message,i),this.onerror?.(Error("Invalid JSON-RPC message received: "+r.error.message)))}}async start(){window.addEventListener("message",this.messageListener)}async send(t,n){t.method!==d8&&console.debug("Sending message",t),this.eventTarget.postMessage(t,"*")}async close(){window.removeEventListener("message",this.messageListener),this.onclose?.()}onclose;onerror;onmessage;sessionId;setProtocolVersion},m8=h.union([h.literal("light"),h.literal("dark")]).describe("Color theme preference for the host environment."),Pm=h.union([h.literal("inline"),h.literal("fullscreen"),h.literal("pip")]).describe("Display mode for UI presentation."),f8=h.union([h.literal("--color-background-primary"),h.literal("--color-background-secondary"),h.literal("--color-background-tertiary"),h.literal("--color-background-inverse"),h.literal("--color-background-ghost"),h.literal("--color-background-info"),h.literal("--color-background-danger"),h.literal("--color-background-success"),h.literal("--color-background-warning"),h.literal("--color-background-disabled"),h.literal("--color-text-primary"),h.literal("--color-text-secondary"),h.literal("--color-text-tertiary"),h.literal("--color-text-inverse"),h.literal("--color-text-ghost"),h.literal("--color-text-info"),h.literal("--color-text-danger"),h.literal("--color-text-success"),h.literal("--color-text-warning"),h.literal("--color-text-disabled"),h.literal("--color-border-primary"),h.literal("--color-border-secondary"),h.literal("--color-border-tertiary"),h.literal("--color-border-inverse"),h.literal("--color-border-ghost"),h.literal("--color-border-info"),h.literal("--color-border-danger"),h.literal("--color-border-success"),h.literal("--color-border-warning"),h.literal("--color-border-disabled"),h.literal("--color-ring-primary"),h.literal("--color-ring-secondary"),h.literal("--color-ring-inverse"),h.literal("--color-ring-info"),h.literal("--color-ring-danger"),h.literal("--color-ring-success"),h.literal("--color-ring-warning"),h.literal("--font-sans"),h.literal("--font-mono"),h.literal("--font-weight-normal"),h.literal("--font-weight-medium"),h.literal("--font-weight-semibold"),h.literal("--font-weight-bold"),h.literal("--font-text-xs-size"),h.literal("--font-text-sm-size"),h.literal("--font-text-md-size"),h.literal("--font-text-lg-size"),h.literal("--font-heading-xs-size"),h.literal("--font-heading-sm-size"),h.literal("--font-heading-md-size"),h.literal("--font-heading-lg-size"),h.literal("--font-heading-xl-size"),h.literal("--font-heading-2xl-size"),h.literal("--font-heading-3xl-size"),h.literal("--font-text-xs-line-height"),h.literal("--font-text-sm-line-height"),h.literal("--font-text-md-line-height"),h.literal("--font-text-lg-line-height"),h.literal("--font-heading-xs-line-height"),h.literal("--font-heading-sm-line-height"),h.literal("--font-heading-md-line-height"),h.literal("--font-heading-lg-line-height"),h.literal("--font-heading-xl-line-height"),h.literal("--font-heading-2xl-line-height"),h.literal("--font-heading-3xl-line-height"),h.literal("--border-radius-xs"),h.literal("--border-radius-sm"),h.literal("--border-radius-md"),h.literal("--border-radius-lg"),h.literal("--border-radius-xl"),h.literal("--border-radius-full"),h.literal("--border-width-regular"),h.literal("--shadow-hairline"),h.literal("--shadow-sm"),h.literal("--shadow-md"),h.literal("--shadow-lg")]).describe("CSS variable keys available to MCP apps for theming."),p8=h.record(f8.describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),h.union([h.string(),h.undefined()]).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`)).describe(`Style variables for theming MCP apps.\n\nIndividual style keys are optional - hosts may provide any subset of these values.\nValues are strings containing CSS values (colors, sizes, font stacks, etc.).\n\nNote: This type uses \\`Record<K, string | undefined>\\` rather than \\`Partial<Record<K, string>>\\`\nfor compatibility with Zod schema generation. Both are functionally equivalent for validation.`),KZ=h.object({method:h.literal("ui/open-link"),params:h.object({url:h.string().describe("URL to open in the host\'s browser")})}),h8=h.object({isError:h.boolean().optional().describe("True if the host failed to open the URL (e.g., due to security policy).")}).passthrough(),g8=h.object({isError:h.boolean().optional().describe("True if the download failed (e.g., user cancelled or host denied).")}).passthrough(),v8=h.object({isError:h.boolean().optional().describe("True if the host rejected or failed to deliver the message.")}).passthrough(),FZ=h.object({method:h.literal("ui/notifications/sandbox-proxy-ready"),params:h.object({})}),ew=h.object({connectDomains:h.array(h.string()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).\n\n- Maps to CSP \\`connect-src\\` directive\n- Empty or omitted \\u2192 no network connections (secure default)`),resourceDomains:h.array(h.string()).optional().describe("Origins for static resources (images, scripts, stylesheets, fonts, media).\\n\\n- Maps to CSP `img-src`, `script-src`, `style-src`, `font-src`, `media-src` directives\\n- Wildcard subdomains supported: `https://*.example.com`\\n- Empty or omitted \\u2192 no network resources (secure default)"),frameDomains:h.array(h.string()).optional().describe("Origins for nested iframes.\\n\\n- Maps to CSP `frame-src` directive\\n- Empty or omitted \\u2192 no nested iframes allowed (`frame-src \'none\'`)"),baseUriDomains:h.array(h.string()).optional().describe("Allowed base URIs for the document.\\n\\n- Maps to CSP `base-uri` directive\\n- Empty or omitted \\u2192 only same origin allowed (`base-uri \'self\'`)")}),tw=h.object({camera:h.object({}).optional().describe("Request camera access.\\n\\nMaps to Permission Policy `camera` feature."),microphone:h.object({}).optional().describe("Request microphone access.\\n\\nMaps to Permission Policy `microphone` feature."),geolocation:h.object({}).optional().describe("Request geolocation access.\\n\\nMaps to Permission Policy `geolocation` feature."),clipboardWrite:h.object({}).optional().describe("Request clipboard write access.\\n\\nMaps to Permission Policy `clipboard-write` feature.")}),QZ=h.object({method:h.literal("ui/notifications/size-changed"),params:h.object({width:h.number().optional().describe("New width in pixels."),height:h.number().optional().describe("New height in pixels.")})}),y8=h.object({method:h.literal("ui/notifications/tool-input"),params:h.object({arguments:h.record(h.string(),h.unknown().describe("Complete tool call arguments as key-value pairs.")).optional().describe("Complete tool call arguments as key-value pairs.")})}),S8=h.object({method:h.literal("ui/notifications/tool-input-partial"),params:h.object({arguments:h.record(h.string(),h.unknown().describe("Partial tool call arguments (incomplete, may change).")).optional().describe("Partial tool call arguments (incomplete, may change).")})}),b8=h.object({method:h.literal("ui/notifications/tool-cancelled"),params:h.object({reason:h.string().optional().describe(\'Optional reason for the cancellation (e.g., "user action", "timeout").\')})}),_8=h.object({fonts:h.string().optional()}),z8=h.object({variables:p8.optional().describe("CSS variables for theming the app."),css:_8.optional().describe("CSS blocks that apps can inject.")}),x8=h.object({method:h.literal("ui/resource-teardown"),params:h.object({})}),w8=h.record(h.string(),h.unknown()),e3=h.object({text:h.object({}).optional().describe("Host supports text content blocks."),image:h.object({}).optional().describe("Host supports image content blocks."),audio:h.object({}).optional().describe("Host supports audio content blocks."),resource:h.object({}).optional().describe("Host supports resource content blocks."),resourceLink:h.object({}).optional().describe("Host supports resource link content blocks."),structuredContent:h.object({}).optional().describe("Host supports structured content.")}),XZ=h.object({method:h.literal("ui/notifications/request-teardown"),params:h.object({}).optional()}),T8=h.object({experimental:h.record(h.string(),h.record(h.string(),h.any()).describe("Experimental features keyed by identifier.")).optional().describe("Experimental features keyed by identifier."),openLinks:h.object({}).optional().describe("Host supports opening external URLs."),downloadFile:h.object({}).optional().describe("Host supports file downloads via ui/download-file."),serverTools:h.object({listChanged:h.boolean().optional().describe("Host supports tools/list_changed notifications.")}).optional().describe("Host can proxy tool calls to the MCP server."),serverResources:h.object({listChanged:h.boolean().optional().describe("Host supports resources/list_changed notifications.")}).optional().describe("Host can proxy resource reads to the MCP server."),logging:h.object({}).optional().describe("Host accepts log messages."),sandbox:h.object({permissions:tw.optional().describe("Permissions granted by the host (camera, microphone, geolocation)."),csp:ew.optional().describe("CSP domains approved by the host.")}).optional().describe("Sandbox configuration applied by the host."),updateModelContext:e3.optional().describe("Host accepts context updates (ui/update-model-context) to be included in the model\'s context for future turns."),message:e3.optional().describe("Host supports receiving content messages (ui/message) from the view."),sampling:h.object({tools:h.object({}).optional().describe("Host supports tool use via `tools` and `toolChoice` parameters.")}).optional().describe("Host supports LLM sampling (sampling/createMessage) from the view.\\nMirrors the MCP `ClientCapabilities.sampling` shape so hosts can pass it through.")}),$8=h.object({experimental:h.record(h.string(),h.record(h.string(),h.any()).describe("Experimental features keyed by identifier.")).optional().describe("Experimental features keyed by identifier."),tools:h.object({listChanged:h.boolean().optional().describe("App supports tools/list_changed notifications.")}).optional().describe("App exposes MCP-style tools that the host can call."),availableDisplayModes:h.array(Pm).optional().describe("Display modes the app supports.")}),WZ=h.object({method:h.literal("ui/notifications/initialized"),params:h.object({}).optional()}),eV=h.object({csp:ew.optional().describe("Content Security Policy configuration for UI resources."),permissions:tw.optional().describe("Sandbox permissions requested by the UI resource."),domain:h.string().optional().describe(`Dedicated origin for view sandbox.\n\nUseful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.\n\n**Host-dependent:** The format and validation rules for this field are determined by each host. Servers MUST consult host-specific documentation for the expected domain format. Common patterns include:\n- Hash-based subdomains (e.g., \\`{hash}.claudemcpcontent.com\\`)\n- URL-derived subdomains (e.g., \\`www-example-com.oaiusercontent.com\\`)\n\nIf omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:h.boolean().optional().describe(`Visual boundary preference - true if view prefers a visible border.\n\nBoolean requesting whether a visible border and background is provided by the host. Specifying an explicit value for this is recommended because hosts\' defaults may vary.\n\n- \\`true\\`: request visible border + background\n- \\`false\\`: request no visible border + background\n- omitted: host decides border`)}),tV=h.object({method:h.literal("ui/request-display-mode"),params:h.object({mode:Pm.describe("The display mode being requested.")})}),R8=h.object({mode:Pm.describe("The display mode that was actually set. May differ from requested if not supported.")}).passthrough(),E8=h.union([h.literal("model"),h.literal("app")]).describe("Tool visibility scope - who can access the tool."),nV=h.object({resourceUri:h.string().optional(),visibility:h.array(E8).optional().describe(`Who can access this tool. Default: ["model", "app"]\n- "model": Tool visible to and callable by the agent\n- "app": Tool callable by the app from this server only`),csp:h.never().optional(),permissions:h.never().optional()}),rV=h.object({mimeTypes:h.array(h.string()).optional().describe(\'Array of supported MIME types for UI resources.\\nMust include `"text/html;profile=mcp-app"` for MCP Apps support.\')}),iV=h.object({method:h.literal("ui/download-file"),params:h.object({contents:h.array(h.union([na,ra])).describe("Resource contents to download \\u2014 embedded (inline data) or linked (host fetches). Uses standard MCP resource types.")})}),oV=h.object({method:h.literal("ui/message"),params:h.object({role:h.literal("user").describe(\'Message role, currently only "user" is supported.\'),content:h.array(zr).describe("Message content blocks (text, image, etc.).")})}),aV=h.object({method:h.literal("ui/notifications/sandbox-resource-ready"),params:h.object({html:h.string().describe("HTML content to load into the inner iframe."),sandbox:h.string().optional().describe("Optional override for the inner iframe\'s sandbox attribute."),csp:ew.optional().describe("CSP configuration from resource metadata."),permissions:tw.optional().describe("Sandbox permissions from resource metadata.")})}),O8=h.object({method:h.literal("ui/notifications/tool-result"),params:eo.describe("Standard MCP tool execution result.")}),r3=h.object({toolInfo:h.object({id:Yn.optional().describe("JSON-RPC id of the tools/call request."),tool:Wi.describe("Tool definition including name, inputSchema, etc.")}).optional().describe("Metadata of the tool call that instantiated this App."),theme:m8.optional().describe("Current color theme preference."),styles:z8.optional().describe("Style configuration for theming the app."),displayMode:Pm.optional().describe("How the UI is currently displayed."),availableDisplayModes:h.array(Pm).optional().describe("Display modes the host supports."),containerDimensions:h.union([h.object({height:h.number().describe("Fixed container height in pixels.")}),h.object({maxHeight:h.union([h.number(),h.undefined()]).optional().describe("Maximum container height in pixels.")})]).and(h.union([h.object({width:h.number().describe("Fixed container width in pixels.")}),h.object({maxWidth:h.union([h.number(),h.undefined()]).optional().describe("Maximum container width in pixels.")})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other\ncontainer holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:h.string().optional().describe("User\'s language and region preference in BCP 47 format."),timeZone:h.string().optional().describe("User\'s timezone in IANA format."),userAgent:h.string().optional().describe("Host application identifier."),platform:h.union([h.literal("web"),h.literal("desktop"),h.literal("mobile")]).optional().describe("Platform type for responsive design decisions."),deviceCapabilities:h.object({touch:h.boolean().optional().describe("Whether the device supports touch input."),hover:h.boolean().optional().describe("Whether the device supports hover interactions.")}).optional().describe("Device input capabilities."),safeAreaInsets:h.object({top:h.number().describe("Top safe area inset in pixels."),right:h.number().describe("Right safe area inset in pixels."),bottom:h.number().describe("Bottom safe area inset in pixels."),left:h.number().describe("Left safe area inset in pixels.")}).optional().describe("Mobile safe area boundaries in pixels.")}).passthrough(),k8=h.object({method:h.literal("ui/notifications/host-context-changed"),params:r3.describe("Partial context update containing only changed fields.")}),sV=h.object({method:h.literal("ui/update-model-context"),params:h.object({content:h.array(zr).optional().describe("Context content blocks (text, image, etc.)."),structuredContent:h.record(h.string(),h.unknown().describe("Structured content for machine-readable context data.")).optional().describe("Structured content for machine-readable context data.")})}),lV=h.object({method:h.literal("ui/initialize"),params:h.object({appInfo:br.describe("App identification (name and version)."),appCapabilities:$8.describe("Features and capabilities this app provides."),protocolVersion:h.string().describe("Protocol version this app supports.")})}),I8=h.object({protocolVersion:h.string().describe(\'Negotiated protocol version string (e.g., "2025-11-21").\'),hostInfo:br.describe("Host application identification and version."),hostCapabilities:T8.describe("Features and capabilities provided by the host."),hostContext:r3.describe("Rich context about the host environment.")}).passthrough(),N8={target:"draft-2020-12"};async function t3(e,t){let n=e["~standard"];if(n.jsonSchema)return n.jsonSchema[t](N8);throw Error(`Schema (vendor: ${n.vendor}) does not implement Standard JSON Schema (~standard.jsonSchema). Use a library that does (zod v4, ArkType, Valibot) or wrap your schema accordingly.`)}async function n3(e,t,n=""){let i=await e["~standard"].validate(t);if(i.issues){let r=i.issues.map(o=>{let a=o.path?.map(s=>typeof s=="object"?s.key:s).join(".");return a?`${a}: ${o.message}`:o.message}).join("; ");throw Error(n+r)}return i.value}function C8(e,t){let n={...e,...t};return t.experimental!==void 0&&(n.experimental={...e.experimental,...t.experimental}),t.tools!==void 0&&(n.tools={...e.tools,...t.tools}),n}var Wx=class e extends Fx{_appInfo;_appCapabilities;options;_hostCapabilities;_hostInfo;_hostContext;_registeredTools={};_initializedSent=!1;_registeredEvents=new Set;_events=new Qx;_methods=new Xx;setRequestHandler=(...t)=>{let[n,...i]=Wk("request",t)??t;this._methods.claim(n,"setRequestHandler"),super.setRequestHandler.call(this,n,...i)};setNotificationHandler=(...t)=>{let[n,...i]=Wk("notification",t)??t;this._methods.claim(n,"setNotificationHandler"),super.setNotificationHandler.call(this,n,...i)};removeRequestHandler=t=>{this._methods.release(t),super.removeRequestHandler(t)};removeNotificationHandler=t=>{this._methods.release(t),super.removeNotificationHandler(t)};replaceRequestHandler=(t,...n)=>{this._methods.replace(t),super.setRequestHandler.call(this,t,...n)};_assertInitialized(t){if(this._initializedSent)return;let n=`[ext-apps] App.${t}() called before connect() completed the ui/initialize handshake. Await app.connect() before calling this method, or move data loading to an ontoolresult handler.`;if(this.options?.strict)throw Error(n);console.warn(`${n}. This will throw in a future release.`)}eventSchemas={toolinput:y8,toolinputpartial:S8,toolresult:O8,toolcancelled:b8,hostcontextchanged:k8};static ONE_SHOT_EVENTS=new Set(["toolinput","toolinputpartial","toolresult","toolcancelled"]);_everHadListener=new Set;_assertHandlerTiming(t){if(!e.ONE_SHOT_EVENTS.has(t)||this._everHadListener.has(t)||(this._everHadListener.add(t),!this._initializedSent))return;let n=`[ext-apps] "${String(t)}" handler registered after connect() completed the ui/initialize handshake. The host may have already sent this notification. Register handlers before calling app.connect().`;if(this.options?.strict)throw Error(n);console.warn(n)}setEventHandler(t,n){n&&this._assertHandlerTiming(t),this._ensureEventSlot(t),this._events.setHandler(t,n)}addEventListener(t,n){this._assertHandlerTiming(t),this._ensureEventSlot(t),this._events.addEventListener(t,n)}removeEventListener(t,n){this._events.removeEventListener(t,n)}_ensureEventSlot(t){if(this._registeredEvents.has(t))return;let n=this.eventSchemas[t];if(!n)throw Error(`Unknown event: ${String(t)}`);this.setNotificationHandler(n.shape.method.value,{params:n.shape.params},i=>{let r=i;t==="hostcontextchanged"&&(this._hostContext={...this._hostContext,...r}),this._events.dispatch(t,r)}),this._registeredEvents.add(t)}getEventHandler(t){return this._events.getHandler(t)}warnIfRequestHandlerReplaced(t,n,i){n&&i&&console.warn(`[MCP Apps] ${t} handler replaced. Previous handler will no longer be called.`)}constructor(t,n={},i={autoResize:!0}){super(i),this._appInfo=t,this._appCapabilities=n,this.options=i,this._methods.replace("notifications/cancelled"),this._methods.replace("notifications/progress"),!i.allowUnsafeEval&&h.config({jitless:!0}),this.replaceRequestHandler("ping",r=>(console.log("Received ping:",r.params),{})),this.setEventHandler("hostcontextchanged",void 0)}buildContext(t){return t}registerAppCapabilities(t){if(this.transport)throw Error("Cannot register capabilities after transport is established");this._appCapabilities=C8(this._appCapabilities,t)}registerTool(t,n,i){if(this._registeredTools[t])throw Error(`Tool ${t} is already registered`);let r=this,o=()=>{r._initializedSent&&r._appCapabilities.tools?.listChanged&&r.sendToolListChanged()},a=n.inputSchema!==void 0,s={title:n.title,description:n.description,inputSchema:n.inputSchema,outputSchema:n.outputSchema,annotations:n.annotations,_meta:n._meta,enabled:!0,enable(){this.enabled=!0,o()},disable(){this.enabled=!1,o()},update(l){Object.assign(this,l),o()},remove(){r._registeredTools[t]===s&&(delete r._registeredTools[t],o())},handler:async(l,c)=>{if(!s.enabled)throw Error(`Tool ${t} is disabled`);let d;if(a){let p=s.inputSchema,m=p?await n3(p,l??{},`Invalid input for tool ${t}: `):l??{};d=await i(m,c)}else d=await i(c);return s.outputSchema&&!d.isError&&(d.structuredContent=await n3(s.outputSchema,d.structuredContent,`Invalid output for tool ${t}: `)),d}};return this._registeredTools[t]=s,!this._appCapabilities.tools&&!this.transport&&this.registerAppCapabilities({tools:{listChanged:!0}}),this.ensureToolHandlersInitialized(),o(),s}_toolHandlersInitialized=!1;ensureToolHandlersInitialized(){this._toolHandlersInitialized||(this._toolHandlersInitialized=!0,this.oncalltool=async(t,n)=>{let i=this._registeredTools[t.name];if(!i)throw Error(`Tool ${t.name} not found`);return i.handler(t.arguments,n)},this.onlisttools=async(t,n)=>({tools:await Promise.all(Object.entries(this._registeredTools).filter(([i,r])=>r.enabled).map(async([i,r])=>{let o={name:i,title:r.title,description:r.description,inputSchema:r.inputSchema?await t3(r.inputSchema,"input"):{type:"object",properties:{}}};return r.outputSchema&&(o.outputSchema=await t3(r.outputSchema,"output")),r.annotations&&(o.annotations=r.annotations),r._meta&&(o._meta=r._meta),o}))}))}async sendToolListChanged(t={}){this._assertInitialized("sendToolListChanged"),await this.notification({method:"notifications/tools/list_changed",params:t})}getHostCapabilities(){return this._hostCapabilities}getHostVersion(){return this._hostInfo}getHostContext(){return this._hostContext}get ontoolinput(){return this.getEventHandler("toolinput")}set ontoolinput(t){this.setEventHandler("toolinput",t)}get ontoolinputpartial(){return this.getEventHandler("toolinputpartial")}set ontoolinputpartial(t){this.setEventHandler("toolinputpartial",t)}get ontoolresult(){return this.getEventHandler("toolresult")}set ontoolresult(t){this.setEventHandler("toolresult",t)}get ontoolcancelled(){return this.getEventHandler("toolcancelled")}set ontoolcancelled(t){this.setEventHandler("toolcancelled",t)}get onhostcontextchanged(){return this.getEventHandler("hostcontextchanged")}set onhostcontextchanged(t){this.setEventHandler("hostcontextchanged",t)}_onteardown;get onteardown(){return this._onteardown}set onteardown(t){this.warnIfRequestHandlerReplaced("onteardown",this._onteardown,t),this._onteardown=t,this.replaceRequestHandler("ui/resource-teardown",{params:x8.shape.params,result:w8},(n,i)=>{if(!this._onteardown)throw Error("No onteardown handler set");return this._onteardown(n,i)})}_oncalltool;get oncalltool(){return this._oncalltool}set oncalltool(t){this.warnIfRequestHandlerReplaced("oncalltool",this._oncalltool,t),this._oncalltool=t,this.replaceRequestHandler("tools/call",(n,i)=>{if(!this._oncalltool)throw Error("No oncalltool handler set");return this._oncalltool(n.params,i)})}_onlisttools;get onlisttools(){return this._onlisttools}set onlisttools(t){this.warnIfRequestHandlerReplaced("onlisttools",this._onlisttools,t),this._onlisttools=t,this.replaceRequestHandler("tools/list",(n,i)=>{if(!this._onlisttools)throw Error("No onlisttools handler set");return this._onlisttools(n.params,i)})}assertCapabilityForMethod(t){switch(t){case"sampling/createMessage":if(!this._hostCapabilities?.sampling)throw Error(`Host does not support sampling (required for ${t})`);break}}assertRequestHandlerCapability(t){switch(t){case"tools/call":case"tools/list":if(!this._appCapabilities.tools)throw Error(`Client does not support tool capability (required for ${t})`);return;default:return}}assertNotificationCapability(t){}async callServerTool(t,n){if(this._assertInitialized("callServerTool"),typeof t=="string")throw Error(`callServerTool() expects an object as its first argument, but received a string ("${t}"). Did you mean: callServerTool({ name: "${t}", arguments: { ... } })?`);return await this.request({method:"tools/call",params:t},{onprogress:()=>{},resetTimeoutOnProgress:!0,...n})}async readServerResource(t,n){return this._assertInitialized("readServerResource"),await this.request({method:"resources/read",params:t},n)}async listServerResources(t,n){return this._assertInitialized("listServerResources"),await this.request({method:"resources/list",params:t},n)}async createSamplingMessage(t,n){return this._assertInitialized("createSamplingMessage"),await this.request({method:"sampling/createMessage",params:t},n)}sendMessage(t,n){return this._assertInitialized("sendMessage"),this.request({method:"ui/message",params:t},v8,n)}sendLog(t){return this.notification({method:"notifications/message",params:t})}updateModelContext(t,n){return this._assertInitialized("updateModelContext"),this.request({method:"ui/update-model-context",params:t},Xi,n)}openLink(t,n){return this._assertInitialized("openLink"),this.request({method:"ui/open-link",params:t},h8,n)}sendOpenLink=this.openLink;downloadFile(t,n){return this._assertInitialized("downloadFile"),this.request({method:"ui/download-file",params:t},g8,n)}requestTeardown(t={}){return this.notification({method:"ui/notifications/request-teardown",params:t})}requestDisplayMode(t,n){return this._assertInitialized("requestDisplayMode"),this.request({method:"ui/request-display-mode",params:t},R8,n)}sendSizeChanged(t){return this.notification({method:"ui/notifications/size-changed",params:t})}setupSizeChangedNotifications(){let t=!1,n=0,i=0,r=()=>{t||(t=!0,requestAnimationFrame(()=>{t=!1;let a=document.documentElement,s=a.style.height;a.style.height="max-content";let l=Math.ceil(a.getBoundingClientRect().height);a.style.height=s;let c=Math.ceil(window.innerWidth);(c!==n||l!==i)&&(n=c,i=l,this.sendSizeChanged({width:c,height:l}))}))};r();let o=new ResizeObserver(r);return o.observe(document.documentElement),o.observe(document.body),()=>o.disconnect()}async connect(t=new zv(window.parent,window.parent),n){if(this.transport)throw Error("App is already connected. Call close() before connecting again.");this._initializedSent=!1;try{await super.connect(t);let i=await this.request({method:"ui/initialize",params:{appCapabilities:this._appCapabilities,appInfo:this._appInfo,protocolVersion:u8}},I8,n);if(i===void 0)throw Error(`Server sent invalid initialize result: ${i}`);this._hostCapabilities=i.hostCapabilities,this._hostInfo=i.hostInfo,this._hostContext=i.hostContext,await this.notification({method:"ui/notifications/initialized"}),this._initializedSent=!0,this.options?.autoResize&&this.setupSizeChangedNotifications()}catch(i){throw this.close(),i}}};function i3({appInfo:e,capabilities:t,onAppCreated:n,autoResize:i=!0,strict:r}){let[o,a]=(0,wl.useState)(null),[s,l]=(0,wl.useState)(!1),[c,d]=(0,wl.useState)(null);return(0,wl.useEffect)(()=>{let p=!0,m;async function f(){try{let _=new zv(window.parent,window.parent);if(m=new Wx(e,t,{autoResize:i,strict:r}),n?.(m),await m.connect(_),!p){m.close();return}a(m),l(!0),d(null)}catch(_){p&&(a(null),l(!1),d(_ instanceof Error?_:Error("Failed to connect")))}}return f(),()=>{p=!1,m?.close()}},[]),{app:o,isConnected:s,error:c}}var m3=J(Ae());var s3="NanoBanana";var rw=J(ce()),f3=J(ce());function Um(e){"@babel/helpers - typeof";return Um=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Um(e)}var U8=["size","style"];function d3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function nw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?d3(Object(n),!0).forEach(function(i){M8(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function M8(e,t,n){return t=D8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function D8(e){var t=L8(e,"string");return Um(t)=="symbol"?t:String(t)}function L8(e,t){if(Um(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Um(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function q8(e,t){if(e==null)return{};var n=H8(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function H8(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var Z8=(0,m3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=q8(e,U8);return(0,f3.jsxs)("svg",nw(nw({fill:"currentColor",fillRule:"evenodd",height:n,style:nw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,rw.jsx)("title",{children:s3}),(0,rw.jsx)("path",{d:"M8.342 13.16H3.455c-.513 0-.772-.639-.408-1.012l1.608-1.653a3.166 3.166 0 014.565 0l.513.527.006-.015.038.017c.735-1.93.786-2.809.783-5.007v-.275c-.01-1.782-.02-3.935 1.965-4.22 2.603-.375 4.504 4.219 4.815 8.299a3.166 3.166 0 013.38.774l1.609 1.653c.365.375.106 1.012-.407 1.012H19.27c.072.264.11.542.11.828v5.664c0 .914-.994 1.292-1.602.576-.229-.27-1.067-1.25-2.155-2.52-2.92 4.183-10.266 6.462-12.34 3.006a.915.915 0 01-.05 0h-.743a.991.991 0 110-1.982h.246c.014-1.687 1.23-3.148 2.846-3.783a7.448 7.448 0 002.76-1.889zm7.543-2.145c0-.127-.001-.256-.005-.388a15.693 15.693 0 00-.632-3.939c-.38-1.282-.887-2.33-1.425-2.992-.545-.671-.906-.715-1.085-.69-.223.032-.292.098-.322.129-.05.052-.135.176-.209.45-.152.567-.15 1.286-.147 2.186v.244c.002 1.134-.009 2.028-.145 2.92a11.292 11.292 0 01-.537 2.08h4.507zm-3.468 3.056c-1.636 3.166-4.981 4.71-8.118 4.87a.562.562 0 00.057 1.124c3.294-.169 6.921-1.749 8.845-5.081l-.784-.913z"})]}))}),p3=Z8;var v3=J(Ae());var h3="OpenAI";var ow=J(ce()),y3=J(ce());function Mm(e){"@babel/helpers - typeof";return Mm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mm(e)}var V8=["size","style"];function g3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function iw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?g3(Object(n),!0).forEach(function(i){B8(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function B8(e,t,n){return t=G8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function G8(e){var t=J8(e,"string");return Mm(t)=="symbol"?t:String(t)}function J8(e,t){if(Mm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Mm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Y8(e,t){if(e==null)return{};var n=K8(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function K8(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var F8=(0,v3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=Y8(e,V8);return(0,y3.jsxs)("svg",iw(iw({fill:"currentColor",fillRule:"evenodd",height:n,style:iw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,ow.jsx)("title",{children:h3}),(0,ow.jsx)("path",{d:"M9.205 8.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357 1.356-.523 2.117-.523 2.854 0 4.662 2.212 4.662 4.566 0 .167 0 .357-.024.547l-4.71-2.759a.797.797 0 00-.856 0l-5.97 3.473zm10.609 8.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473 1.95-1.118a.433.433 0 01.476 0l4.543 2.617c1.309.76 2.189 2.378 2.189 3.948 0 1.808-1.07 3.473-2.76 4.163zM7.802 12.703l-1.95-1.142c-.167-.095-.239-.238-.239-.428V5.899c0-2.545 1.95-4.472 4.591-4.472 1 0 1.927.333 2.712.928L8.23 5.067c-.285.166-.428.404-.428.737v6.898zM12 15.128l-2.795-1.57v-3.33L12 8.658l2.795 1.57v3.33L12 15.128zm1.796 7.23c-1 0-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974 1.142c.167.095.238.238.238.428v5.233c0 2.545-1.974 4.472-4.614 4.472zm-5.637-5.303l-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.482 4.482 0 014.21 6.327v5.423c0 .333.143.571.428.738l5.947 3.449-1.95 1.118a.432.432 0 01-.476 0zm-.262 3.9c-2.688 0-4.662-2.021-4.662-4.519 0-.19.024-.38.047-.57l4.686 2.71c.286.167.571.167.856 0l5.97-3.448v2.26c0 .19-.07.333-.237.428l-4.543 2.616c-.619.357-1.356.523-2.117.523zm5.899 2.83a5.947 5.947 0 005.827-4.756C22.287 18.339 24 15.84 24 13.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498 0-3.401-2.759-5.947-5.946-5.947-.642 0-1.26.095-1.88.31A5.962 5.962 0 0010.205 0a5.947 5.947 0 00-5.827 4.757C1.713 5.447 0 7.945 0 10.49c0 1.666.713 3.283 1.998 4.448-.119.5-.19 1-.19 1.499 0 3.401 2.759 5.946 5.946 5.946.642 0 1.26-.095 1.88-.309a5.96 5.96 0 004.162 1.713z"})]}))}),S3=F8;var z3=J(Ae());var b3="Midjourney";var sw=J(ce()),x3=J(ce());function Dm(e){"@babel/helpers - typeof";return Dm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Dm(e)}var Q8=["size","style"];function _3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function aw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_3(Object(n),!0).forEach(function(i){X8(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function X8(e,t,n){return t=W8(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function W8(e){var t=e9(e,"string");return Dm(t)=="symbol"?t:String(t)}function e9(e,t){if(Dm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Dm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function t9(e,t){if(e==null)return{};var n=n9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function n9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var r9=(0,z3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=t9(e,Q8);return(0,x3.jsxs)("svg",aw(aw({fill:"currentColor",fillRule:"evenodd",height:n,style:aw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,sw.jsx)("title",{children:b3}),(0,sw.jsx)("path",{d:"M22.369 17.676c-1.387 1.259-3.17 2.378-5.332 3.417.044.03.086.057.13.083l.018.01.019.012c.216.123.42.184.641.184.222 0 .426-.061.642-.184l.018-.011.019-.011c.14-.084.266-.178.492-.366l.178-.148c.279-.232.426-.342.625-.456.304-.174.612-.266.949-.266.337 0 .645.092.949.266l.023.014c.188.109.334.219.602.442l.178.148c.221.184.346.278.483.36l.028.017.018.01c.21.12.407.181.62.185h.022a.31.31 0 110 .618c-.337 0-.645-.092-.95-.266a3.137 3.137 0 01-.09-.054l-.022-.014-.022-.013-.02-.014a5.356 5.356 0 01-.49-.377l-.159-.132a3.836 3.836 0 00-.483-.36l-.027-.017-.019-.01a1.256 1.256 0 00-.641-.185c-.222 0-.426.061-.641.184l-.02.011-.018.011c-.14.084-.266.178-.492.366l-.158.132a5.125 5.125 0 01-.51.39l-.022.014-.022.014-.09.054a1.868 1.868 0 01-.95.266c-.337 0-.644-.092-.949-.266a3.137 3.137 0 01-.09-.054l-.022-.014-.022-.013-.026-.017a4.881 4.881 0 01-.425-.325.308.308 0 01-.12-.1l-.098-.081a3.836 3.836 0 00-.483-.36l-.027-.017-.019-.01a1.256 1.256 0 00-.641-.185c-.222 0-.426.061-.642.184l-.018.011-.019.011c-.14.084-.266.178-.492.366l-.158.132a5.125 5.125 0 01-.51.39l-.023.014-.022.014-.09.054A1.868 1.868 0 0112 22c-.337 0-.645-.092-.949-.266a3.137 3.137 0 01-.09-.054l-.022-.014-.022-.013-.021-.014a5.356 5.356 0 01-.49-.377l-.158-.132a3.836 3.836 0 00-.483-.36l-.028-.017-.018-.01a1.256 1.256 0 00-.642-.185c-.221 0-.425.061-.641.184l-.019.011-.018.011c-.141.084-.266.178-.492.366l-.158.132a5.125 5.125 0 01-.511.39l-.022.014-.022.014-.09.054a1.868 1.868 0 01-.986.264c-.746-.09-1.319-.38-1.89-.866l-.035-.03c-.047-.041-.118-.106-.192-.174l-.196-.181-.107-.1-.011-.01a1.531 1.531 0 00-.336-.253.313.313 0 00-.095-.03h-.005c-.119.022-.238.059-.361.11a.308.308 0 01-.077.061l-.008.005a.309.309 0 01-.126.034 5.66 5.66 0 00-.774.518l-.416.324-.055.043a6.542 6.542 0 01-.324.236c-.305.207-.552.315-.8.315a.31.31 0 01-.01-.618h.01c.09 0 .235-.062.438-.198l.04-.027c.077-.054.163-.117.27-.199l.385-.301.06-.047c.268-.206.506-.373.73-.505l-.633-1.21a.309.309 0 01.254-.451l20.287-1.305a.309.309 0 01.228.537zm-1.118.14L2.369 19.03l.423.809c.128-.045.256-.078.388-.1a.31.31 0 01.052-.005c.132 0 .26.032.386.093.153.073.294.179.483.35l.016.015.092.086.144.134.097.089c.065.06.125.114.16.144.485.418.948.658 1.554.736h.011a1.25 1.25 0 00.6-.172l.021-.011.019-.011.018-.011c.141-.084.266-.178.492-.366l.178-.148c.279-.232.426-.342.625-.456.305-.174.612-.266.95-.266.336 0 .644.092.948.266l.023.014c.188.109.335.219.603.442l.177.148c.222.184.346.278.484.36l.027.017.019.01c.215.124.42.185.641.185.222 0 .426-.061.641-.184l.019-.011.018-.011c.141-.084.267-.178.493-.366l.177-.148c.28-.232.427-.342.626-.456.304-.174.612-.266.949-.266.337 0 .644.092.949.266l.025.015c.187.109.334.22.603.443 1.867-.878 3.448-1.811 4.73-2.832l.02-.016zM3.653 2.026C6.073 3.06 8.69 4.941 10.8 7.258c2.46 2.7 4.109 5.828 4.637 9.149a.31.31 0 01-.421.335c-2.348-.945-4.54-1.258-6.59-1.02-1.739.2-3.337.792-4.816 1.703-.294.182-.62-.182-.405-.454 1.856-2.355 2.581-4.99 2.343-7.794-.195-2.292-1.031-4.61-2.284-6.709a.31.31 0 01.388-.442zM10.04 4.45c1.778.543 3.892 2.102 5.782 4.243 1.984 2.248 3.552 4.934 4.347 7.582a.31.31 0 01-.401.38l-.022-.01-.386-.154a10.594 10.594 0 00-.291-.112l-.016-.006c-.68-.247-1.199-.291-1.944-.101a.31.31 0 01-.375-.218C15.378 11.123 13.073 7.276 9.775 5c-.291-.201-.072-.653.266-.55zM4.273 2.996l.008.015c1.028 1.94 1.708 4.031 1.885 6.113.213 2.513-.31 4.906-1.673 7.092l-.02.031.003-.001c1.198-.581 2.47-.969 3.825-1.132l.055-.006c1.981-.23 4.083.029 6.309.837l.066.025-.007-.039c-.593-2.95-2.108-5.737-4.31-8.179l-.07-.078c-1.785-1.96-3.944-3.6-6.014-4.65l-.057-.028zm7.92 3.238l.048.048c2.237 2.295 3.885 5.431 4.974 9.191l.038.132.022-.004c.71-.133 1.284-.063 1.963.18l.027.01.066.024.046.018-.025-.073c-.811-2.307-2.208-4.62-3.936-6.594l-.058-.065c-1.02-1.155-2.103-2.132-3.15-2.856l-.015-.011z"})]}))}),w3=r9;var R3=J(Ae());var T3="Flux";var wv=J(ce()),E3=J(ce());function Lm(e){"@babel/helpers - typeof";return Lm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Lm(e)}var i9=["size","style"];function $3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function lw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$3(Object(n),!0).forEach(function(i){o9(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function o9(e,t,n){return t=a9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a9(e){var t=s9(e,"string");return Lm(t)=="symbol"?t:String(t)}function s9(e,t){if(Lm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Lm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function l9(e,t){if(e==null)return{};var n=c9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function c9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var u9=(0,R3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=l9(e,i9);return(0,E3.jsxs)("svg",lw(lw({fill:"currentColor",fillRule:"evenodd",height:n,style:lw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,wv.jsx)("title",{children:T3}),(0,wv.jsx)("path",{d:"M0 20.683L12.01 2.5 24 20.683h-2.233L12.009 5.878 3.471 18.806h12.122l1.239 1.877H0z"}),(0,wv.jsx)("path",{d:"M8.069 16.724l2.073-3.115 2.074 3.115H8.069zM18.24 20.683l-5.668-8.707h2.177l5.686 8.707h-2.196zM19.74 11.676l2.13-3.19 2.13 3.19h-4.26z"})]}))}),O3=u9;var N3=J(Ae());var k3="TopazLabs";var uw=J(ce()),C3=J(ce());function qm(e){"@babel/helpers - typeof";return qm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},qm(e)}var d9=["size","style"];function I3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function cw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?I3(Object(n),!0).forEach(function(i){m9(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function m9(e,t,n){return t=f9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f9(e){var t=p9(e,"string");return qm(t)=="symbol"?t:String(t)}function p9(e,t){if(qm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(qm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function h9(e,t){if(e==null)return{};var n=g9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function g9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var v9=(0,N3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=h9(e,d9);return(0,C3.jsxs)("svg",cw(cw({fill:"currentColor",fillRule:"evenodd",height:n,style:cw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,uw.jsx)("title",{children:k3}),(0,uw.jsx)("path",{d:"M2 15.357V22h6.65v-6.643H2zM15.32 15.357V8.714H8.67v6.643h6.65zM22 8.643V2h-6.65v6.643H22z"})]}))}),j3=v9;var U3=J(Ae());var A3="Recraft";var Tv=J(ce()),M3=J(ce());function Hm(e){"@babel/helpers - typeof";return Hm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Hm(e)}var y9=["size","style"];function P3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function dw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?P3(Object(n),!0).forEach(function(i){S9(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function S9(e,t,n){return t=b9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b9(e){var t=_9(e,"string");return Hm(t)=="symbol"?t:String(t)}function _9(e,t){if(Hm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Hm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function z9(e,t){if(e==null)return{};var n=x9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function x9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var w9=(0,U3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=z9(e,y9);return(0,M3.jsxs)("svg",dw(dw({fill:"currentColor",fillRule:"evenodd",height:n,style:dw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,Tv.jsx)("title",{children:A3}),(0,Tv.jsx)("path",{d:"M19.667 8.275c0-4.57-4.15-8.275-9.27-8.275-1.774 0-3.213 3.705-3.213 8.275 0 1.143.09 2.233.253 3.224H4.29L1 23h9.4v-6.447c5.117 0 9.266-3.707 9.266-8.275l.001-.002zm-9.27-6.76c.93 0 1.682 3.028 1.682 6.76 0 3.733-.752 6.76-1.681 6.76-.93 0-1.681-3.027-1.681-6.76 0-3.732.752-6.76 1.68-6.76z"}),(0,Tv.jsx)("path",{d:"M19.848 16.552h-9.44L14.028 23h9.438l-3.618-6.448z"})]}))}),D3=w9;var H3=J(Ae());var L3="Gemini";var fw=J(ce()),Z3=J(ce());function Zm(e){"@babel/helpers - typeof";return Zm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zm(e)}var T9=["size","style"];function q3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function mw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?q3(Object(n),!0).forEach(function(i){$9(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function $9(e,t,n){return t=R9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R9(e){var t=E9(e,"string");return Zm(t)=="symbol"?t:String(t)}function E9(e,t){if(Zm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Zm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function O9(e,t){if(e==null)return{};var n=k9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function k9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var I9=(0,H3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=O9(e,T9);return(0,Z3.jsxs)("svg",mw(mw({fill:"currentColor",fillRule:"evenodd",height:n,style:mw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,fw.jsx)("title",{children:L3}),(0,fw.jsx)("path",{d:"M20.616 10.835a14.147 14.147 0 01-4.45-3.001 14.111 14.111 0 01-3.678-6.452.503.503 0 00-.975 0 14.134 14.134 0 01-3.679 6.452 14.155 14.155 0 01-4.45 3.001c-.65.28-1.318.505-2.002.678a.502.502 0 000 .975c.684.172 1.35.397 2.002.677a14.147 14.147 0 014.45 3.001 14.112 14.112 0 013.679 6.453.502.502 0 00.975 0c.172-.685.397-1.351.677-2.003a14.145 14.145 0 013.001-4.45 14.113 14.113 0 016.453-3.678.503.503 0 000-.975 13.245 13.245 0 01-2.003-.678z"})]}))}),V3=I9;var J3=J(Ae());var B3="Sora";var ca=J(ce()),Y3=J(ce());function Vm(e){"@babel/helpers - typeof";return Vm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Vm(e)}var N9=["size","style"];function G3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function pw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?G3(Object(n),!0).forEach(function(i){C9(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function C9(e,t,n){return t=j9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j9(e){var t=A9(e,"string");return Vm(t)=="symbol"?t:String(t)}function A9(e,t){if(Vm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Vm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function P9(e,t){if(e==null)return{};var n=U9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function U9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var M9=(0,J3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=P9(e,N9);return(0,Y3.jsxs)("svg",pw(pw({fill:"currentColor",fillRule:"evenodd",height:n,style:pw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,ca.jsx)("title",{children:B3}),(0,ca.jsx)("path",{d:"M8.968 11.147a.408.408 0 110 .816.408.408 0 010-.816z"}),(0,ca.jsx)("path",{clipRule:"evenodd",d:"M7.21 8.748c.045-.012.087.003.128.044.195.2.39.398.587.596a.15.15 0 00.061.035l.81.209c.056.014.09.043.102.088.013.046-.002.09-.043.13l-.596.585a.139.139 0 00-.021.03.134.134 0 00-.015.033c-.07.27-.14.54-.208.81-.014.055-.044.09-.09.102-.045.012-.088-.003-.128-.045-.195-.199-.39-.397-.587-.595a.158.158 0 00-.062-.035l-.81-.209c-.056-.014-.09-.044-.103-.09-.011-.044.004-.087.045-.128.2-.194.398-.39.596-.585a.12.12 0 00.022-.03.134.134 0 00.014-.032c.07-.27.14-.54.208-.81.014-.056.044-.09.09-.103z"}),(0,ca.jsx)("path",{d:"M15.827 9.31a.409.409 0 110 .817.409.409 0 010-.818z"}),(0,ca.jsx)("path",{clipRule:"evenodd",d:"M14.071 6.915c.046-.012.09.003.13.044.194.2.388.398.583.596a.155.155 0 00.062.036l.807.21c.056.014.09.045.103.09.012.045-.003.088-.045.128l-.596.583a.168.168 0 00-.036.061l-.21.808c-.014.056-.044.09-.09.103-.045.011-.088-.004-.128-.045-.194-.2-.389-.398-.583-.596a.12.12 0 00-.03-.022.12.12 0 00-.032-.014l-.808-.21c-.056-.014-.09-.044-.102-.09-.012-.045.003-.087.044-.128.2-.194.398-.388.596-.583a.119.119 0 00.022-.03.132.132 0 00.015-.032l.21-.806c.014-.057.043-.09.088-.103z"}),(0,ca.jsx)("path",{clipRule:"evenodd",d:"M8.086.457a6.102 6.102 0 013.046-.415c1.333.153 2.521.72 3.564 1.7a.116.116 0 00.107.029c1.409-.346 2.762-.224 4.062.366l.061.029.155.077c1.357.703 2.33 1.769 2.918 3.197.278.68.418 1.388.421 2.127a5.65 5.65 0 01-.18 1.631.164.164 0 00.04.154 5.98 5.98 0 011.577 2.892c.386 1.901-.008 3.614-1.182 5.14l-.181.22a6.062 6.062 0 01-2.936 1.85.16.16 0 00-.106.103c-.255.736-.512 1.364-.988 1.992-1.199 1.582-2.962 2.462-4.948 2.45-1.583-.007-2.986-.586-4.21-1.736a.142.142 0 00-.14-.031c-.518.167-1.04.191-1.605.185a5.923 5.923 0 01-2.594-.622 6.057 6.057 0 01-2.146-1.781c-.203-.27-.404-.522-.552-.821a7.742 7.742 0 01-.494-1.283 6.108 6.108 0 01-.017-3.065.163.163 0 00.007-.074.112.112 0 00-.036-.063 5.954 5.954 0 01-1.38-2.202 5.193 5.193 0 01-.333-1.59 6.911 6.911 0 01.188-2.13c.45-1.485 1.309-2.65 2.578-3.494.282-.188.549-.334.8-.439a8.21 8.21 0 01.862-.303.128.128 0 00.087-.087 6.014 6.014 0 011.104-2.155C6.315 1.463 7.132.846 8.086.457zm.965 7.647c-1.154-.82-2.73-.413-3.311.875-.301.666-.36 1.368-.178 2.106l.145.586.26.95c.105.533.31 1.02.612 1.462l.03.043c.16.189.335.362.524.518 1.386 1.139 3.275.379 3.652-1.323l.05-.213.012-.08c.06-.4.042-.792-.053-1.175a47.673 47.673 0 00-.546-2.024c-.217-.738-.616-1.313-1.197-1.725zm7.104-1.646c-.862-.802-2.191-.831-3.047-.026-.334.314-.566.736-.697 1.265a3.47 3.47 0 000 1.635l.014.054.055.18c.127.42.245.834.353 1.241.112.423.202.706.27.85.574 1.206 1.82 2.074 3.177 1.522 1.261-.514 1.641-2.01 1.355-3.22-.043-.183-.09-.365-.14-.546a34.426 34.426 0 00-.428-1.573c-.162-.508-.466-.968-.912-1.382z"})]}))}),K3=M9;var X3=J(Ae());var F3="Kling";var gw=J(ce()),W3=J(ce());function Bm(e){"@babel/helpers - typeof";return Bm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Bm(e)}var D9=["size","style"];function Q3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function hw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Q3(Object(n),!0).forEach(function(i){L9(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q3(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function L9(e,t,n){return t=q9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q9(e){var t=H9(e,"string");return Bm(t)=="symbol"?t:String(t)}function H9(e,t){if(Bm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Bm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Z9(e,t){if(e==null)return{};var n=V9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function V9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var B9=(0,X3.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=Z9(e,D9);return(0,W3.jsxs)("svg",hw(hw({fill:"currentColor",fillRule:"evenodd",height:n,style:hw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,gw.jsx)("title",{children:F3}),(0,gw.jsx)("path",{clipRule:"evenodd",d:"M5.493 21.234c-1.112-1.451-1.109-4.263-.081-7.459l-4.557-2.63a1.683 1.683 0 01-.85-1.304 1.505 1.505 0 01.08-.622 13.18 13.18 0 011.037-2.255c3.476-6.02 10.916-8.23 16.619-4.938.46.266.82.67 1.081 1.184.785 1.545.685 4.096-.234 6.954l4.557 2.631c.339.196.596.492.736.832a1.53 1.53 0 01.034 1.093 13.146 13.146 0 01-1.037 2.255c-3.476 6.02-10.916 8.23-16.619 4.938a2.6 2.6 0 01-.766-.68zm11.096-6.615c-2.073 3.591-5.808 5.316-8.343 3.852-1.267-.731-1.994-2.122-2.145-3.778-.095-1.035.036-2.173.4-3.32.217-.684.517-1.37.902-2.039l.008-.014c2.073-3.59 5.808-5.315 8.343-3.852.633.366 1.13.895 1.49 1.54.986 1.772.922 4.415-.285 6.914-.111.23-.232.457-.362.683l-.008.014z"})]}))}),eI=B9;var rI=J(Ae());var tI="ElevenLabs";var yw=J(ce()),iI=J(ce());function Gm(e){"@babel/helpers - typeof";return Gm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Gm(e)}var G9=["size","style"];function nI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function vw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?nI(Object(n),!0).forEach(function(i){J9(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nI(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function J9(e,t,n){return t=Y9(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y9(e){var t=K9(e,"string");return Gm(t)=="symbol"?t:String(t)}function K9(e,t){if(Gm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Gm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function F9(e,t){if(e==null)return{};var n=Q9(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function Q9(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var X9=(0,rI.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=F9(e,G9);return(0,iI.jsxs)("svg",vw(vw({fill:"currentColor",fillRule:"evenodd",height:n,style:vw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,yw.jsx)("title",{children:tI}),(0,yw.jsx)("path",{d:"M5 0h5v24H5V0zM14 0h5v24h-5V0z"})]}))}),oI=X9;var lI=J(Ae());var aI="Qwen";var bw=J(ce()),cI=J(ce());function Jm(e){"@babel/helpers - typeof";return Jm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jm(e)}var W9=["size","style"];function sI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function Sw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sI(Object(n),!0).forEach(function(i){eD(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sI(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function eD(e,t,n){return t=tD(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tD(e){var t=nD(e,"string");return Jm(t)=="symbol"?t:String(t)}function nD(e,t){if(Jm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Jm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function rD(e,t){if(e==null)return{};var n=iD(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function iD(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var oD=(0,lI.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=rD(e,W9);return(0,cI.jsxs)("svg",Sw(Sw({fill:"currentColor",fillRule:"evenodd",height:n,style:Sw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,bw.jsx)("title",{children:aI}),(0,bw.jsx)("path",{d:"M12.604 1.34c.393.69.784 1.382 1.174 2.075a.18.18 0 00.157.091h5.552c.174 0 .322.11.446.327l1.454 2.57c.19.337.24.478.024.837-.26.43-.513.864-.76 1.3l-.367.658c-.106.196-.223.28-.04.512l2.652 4.637c.172.301.111.494-.043.77-.437.785-.882 1.564-1.335 2.34-.159.272-.352.375-.68.37-.777-.016-1.552-.01-2.327.016a.099.099 0 00-.081.05 575.097 575.097 0 01-2.705 4.74c-.169.293-.38.363-.725.364-.997.003-2.002.004-3.017.002a.537.537 0 01-.465-.271l-1.335-2.323a.09.09 0 00-.083-.049H4.982c-.285.03-.553-.001-.805-.092l-1.603-2.77a.543.543 0 01-.002-.54l1.207-2.12a.198.198 0 000-.197 550.951 550.951 0 01-1.875-3.272l-.79-1.395c-.16-.31-.173-.496.095-.965.465-.813.927-1.625 1.387-2.436.132-.234.304-.334.584-.335a338.3 338.3 0 012.589-.001.124.124 0 00.107-.063l2.806-4.895a.488.488 0 01.422-.246c.524-.001 1.053 0 1.583-.006L11.704 1c.341-.003.724.032.9.34zm-3.432.403a.06.06 0 00-.052.03L6.254 6.788a.157.157 0 01-.135.078H3.253c-.056 0-.07.025-.041.074l5.81 10.156c.025.042.013.062-.034.063l-2.795.015a.218.218 0 00-.2.116l-1.32 2.31c-.044.078-.021.118.068.118l5.716.008c.046 0 .08.02.104.061l1.403 2.454c.046.081.092.082.139 0l5.006-8.76.783-1.382a.055.055 0 01.096 0l1.424 2.53a.122.122 0 00.107.062l2.763-.02a.04.04 0 00.035-.02.041.041 0 000-.04l-2.9-5.086a.108.108 0 010-.113l.293-.507 1.12-1.977c.024-.041.012-.062-.035-.062H9.2c-.059 0-.073-.026-.043-.077l1.434-2.505a.107.107 0 000-.114L9.225 1.774a.06.06 0 00-.053-.031zm6.29 8.02c.046 0 .058.02.034.06l-.832 1.465-2.613 4.585a.056.056 0 01-.05.029.058.058 0 01-.05-.029L8.498 9.841c-.02-.034-.01-.052.028-.054l.216-.012 6.722-.012z"})]}))}),uI=oD;var fI=J(Ae());var dI="BRIA AI";var ti=J(ce()),pI=J(ce());function Ym(e){"@babel/helpers - typeof";return Ym=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ym(e)}var aD=["size","style"];function mI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function _w(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?mI(Object(n),!0).forEach(function(i){sD(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mI(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function sD(e,t,n){return t=lD(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lD(e){var t=cD(e,"string");return Ym(t)=="symbol"?t:String(t)}function cD(e,t){if(Ym(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Ym(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function uD(e,t){if(e==null)return{};var n=dD(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function dD(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var mD=(0,fI.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=uD(e,aD);return(0,pI.jsxs)("svg",_w(_w({fill:"currentColor",fillRule:"evenodd",height:n,style:_w({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,ti.jsx)("title",{children:dI}),(0,ti.jsx)("path",{d:"M14.879 9.74a.074.074 0 00-.053.023.076.076 0 00-.021.053v4.895a.655.655 0 01-.053.257c-.13.3-.252.543-.368.727-1.267 1.998-3.04 3.203-5.32 3.616-3.473.628-6.933-1.225-8.389-4.445-1.486-3.284-.45-7.205 2.429-9.33C7.482 2.303 13.726 4.408 15.2 9.666a.061.061 0 01-.01.052.059.059 0 01-.046.023h-.265zm-6.88 2.508c.49-.188.734-.56.73-1.119-.004-.665-.35-1.085-.964-1.304-.156-.055-.4-.082-.734-.08-1.183.002-1.996.002-2.437 0a.065.065 0 00-.045.019.063.063 0 00-.02.044v5.049c0 .011.005.023.014.03.008.01.02.014.031.014 1.024.015 1.95.013 2.777-.007.908-.022 1.573-.56 1.522-1.528-.03-.573-.32-.933-.87-1.078a.022.022 0 01-.017-.02.02.02 0 01.014-.02zm6.239 2.659a.042.042 0 00.037-.025.041.041 0 00-.006-.044l-1.51-1.699a.047.047 0 01.022-.077c.927-.266 1.345-.887 1.256-1.865-.09-.984-.96-1.465-1.87-1.456-.604.005-1.438.005-2.504 0a.075.075 0 00-.076.075v5.042c0 .013.005.026.014.035a.05.05 0 00.036.014h1.174c.01 0 .021-.004.029-.011a.04.04 0 00.012-.029v-1.639a.078.078 0 01.066-.076c.181-.03.31 0 .386.089.24.277.72.81 1.44 1.602a.195.195 0 00.145.064h1.349z"}),(0,ti.jsx)("path",{d:"M16.86 13.848a4.026 4.026 0 01-.741-.899.323.323 0 01-.047-.168V9.775a.035.035 0 00-.035-.035h-.34a.079.079 0 01-.076-.1c1.002-3.64 5.843-4.366 7.793-1.09 1.161 1.952.55 4.596-1.42 5.783a.08.08 0 01-.097-.01.08.08 0 01-.02-.028L19.975 9.78a.069.069 0 00-.063-.042h-1.185a.111.111 0 00-.102.068l-1.663 4.019a.065.065 0 01-.076.037.063.063 0 01-.027-.014z"}),(0,ti.jsx)("path",{d:"M5.794 10.851a.073.073 0 01.073-.073l1.054.003c.152 0 .298.058.405.16a.522.522 0 01.167.38v.036a.51.51 0 01-.17.38.578.578 0 01-.406.157l-1.053-.004a.073.073 0 01-.074-.073l.004-.966zM10.859 10.907a.07.07 0 01.07-.07l1.168.003c.183 0 .36.06.49.169a.53.53 0 01.202.406v.1a.49.49 0 01-.053.22.582.582 0 01-.15.187.718.718 0 01-.226.124.817.817 0 01-.265.043l-1.168-.002a.07.07 0 01-.07-.07l.002-1.11z"}),(0,ti.jsx)("path",{d:"M18.69 12.834l.585-1.55a.035.035 0 01.013-.016.034.034 0 01.039 0c.005.004.01.01.012.016l.596 1.546a.036.036 0 01-.004.032.037.037 0 01-.012.01.034.034 0 01-.016.005l-1.18.004a.035.035 0 01-.029-.014.034.034 0 01-.004-.033z"}),(0,ti.jsx)("path",{d:"M5.79 12.82a.066.066 0 01.066-.067l1.152.004c.076 0 .15.014.22.04.07.026.133.065.186.113a.516.516 0 01.124.168.47.47 0 01.043.198v.1a.49.49 0 01-.17.364.61.61 0 01-.406.149l-1.153-.004a.066.066 0 01-.066-.067l.004-.998z"}),(0,ti.jsx)("path",{d:"M18.03 14.62a.05.05 0 01-.03-.046.05.05 0 01.004-.019l.196-.474a.175.175 0 01.16-.107h1.97a.075.075 0 01.068.046l.322.765a.06.06 0 01-.018.071.06.06 0 01-.024.011 4.312 4.312 0 01-2.647-.247z"}),(0,ti.jsx)("path",{d:"M17.885 19.057a1.726 1.726 0 100-3.45 1.726 1.726 0 000 3.45z"})]}))}),hI=mD;var yI=J(Ae());var gI="ByteDance";var Tl=J(ce()),SI=J(ce());function Km(e){"@babel/helpers - typeof";return Km=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Km(e)}var fD=["size","style"];function vI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function zw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?vI(Object(n),!0).forEach(function(i){pD(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vI(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function pD(e,t,n){return t=hD(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hD(e){var t=gD(e,"string");return Km(t)=="symbol"?t:String(t)}function gD(e,t){if(Km(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Km(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function vD(e,t){if(e==null)return{};var n=yD(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function yD(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var SD=(0,yI.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=vD(e,fD);return(0,SI.jsxs)("svg",zw(zw({fill:"currentColor",fillRule:"evenodd",height:n,style:zw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,Tl.jsx)("title",{children:gI}),(0,Tl.jsx)("path",{d:"M14.944 18.587l-1.704-.445V10.01l1.824-.462c1-.254 1.84-.461 1.88-.453.032 0 .056 2.235.056 4.972v4.973l-.176-.008c-.104 0-.952-.207-1.88-.446z"}),(0,Tl.jsx)("path",{d:"M7 16.542c0-2.736.024-4.98.064-4.98.032-.008.872.2 1.88.454l1.816.461-.016 4.05-.024 4.049-1.632.422c-.896.23-1.736.445-1.856.469L7 21.523v-4.98z"}),(0,Tl.jsx)("path",{d:"M19.24 12.477c0-9.03.008-9.515.144-9.475.072.024.784.207 1.576.406.792.207 1.576.405 1.744.445l.296.08-.016 8.56-.024 8.568-1.624.414c-.888.23-1.728.437-1.856.47l-.24.055v-9.523z"}),(0,Tl.jsx)("path",{d:"M1 12.509c0-4.678.024-8.505.064-8.505.032 0 .872.207 1.872.454l1.824.461v7.582c0 4.16-.016 7.574-.032 7.574-.024 0-.872.215-1.88.47L1 21.013v-8.505z"})]}))}),bI=SD;var xI=J(Ae());var _I="Grok";var ww=J(ce()),wI=J(ce());function Fm(e){"@babel/helpers - typeof";return Fm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Fm(e)}var bD=["size","style"];function zI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function xw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?zI(Object(n),!0).forEach(function(i){_D(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zI(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function _D(e,t,n){return t=zD(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zD(e){var t=xD(e,"string");return Fm(t)=="symbol"?t:String(t)}function xD(e,t){if(Fm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Fm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function wD(e,t){if(e==null)return{};var n=TD(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function TD(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var $D=(0,xI.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=wD(e,bD);return(0,wI.jsxs)("svg",xw(xw({fill:"currentColor",fillRule:"evenodd",height:n,style:xw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,ww.jsx)("title",{children:_I}),(0,ww.jsx)("path",{d:"M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815"})]}))}),TI=$D;var EI=J(Ae());var $I="Ideogram";var $w=J(ce()),OI=J(ce());function Qm(e){"@babel/helpers - typeof";return Qm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qm(e)}var RD=["size","style"];function RI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function Tw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?RI(Object(n),!0).forEach(function(i){ED(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RI(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function ED(e,t,n){return t=OD(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OD(e){var t=kD(e,"string");return Qm(t)=="symbol"?t:String(t)}function kD(e,t){if(Qm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Qm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ID(e,t){if(e==null)return{};var n=ND(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function ND(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var CD=(0,EI.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=ID(e,RD);return(0,OI.jsxs)("svg",Tw(Tw({fill:"currentColor",fillRule:"evenodd",height:n,style:Tw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,$w.jsx)("title",{children:$I}),(0,$w.jsx)("path",{d:"M17.768 1.482a6.4 6.4 0 012.988 3.78c.19.068.377.154.555.257.026.015.05.03.073.047.226.137.436.301.627.49a3.377 3.377 0 01-.105 4.875 3.376 3.376 0 01-.216 5.158l-.037.029.021.032c.39.602.585 1.324.534 2.065l-.009.11a3.377 3.377 0 01-4.658 2.777 3.377 3.377 0 01-5.846.971 4.052 4.052 0 01-1.635.397c-.04.005-.082.008-.125.008h-.897l-.068-.003c-1.116-.067-1.093-1.775.068-1.775h.804l.046-.004.047-.001a2.3 2.3 0 00.079-4.6.735.735 0 01-.08.005H2.808a.889.889 0 010-1.778h7.034l.046-.004.048-.001a2.3 2.3 0 00.509-4.544l-.141-.031a2.188 2.188 0 00-.299-.046.759.759 0 01-.07.003H2.808a.889.889 0 110-1.777h7.035l.046-.004.047-.001a2.3 2.3 0 00.087-4.6.972.972 0 01-.087.004h-.897L8.97 3.32c-1.116-.067-1.093-1.775.068-1.775h.8a.9.9 0 01.097-.005c.402 0 .79.058 1.157.166l.031-.02a6.399 6.399 0 016.645-.203zm-3.737 11.484l-.068.036-.083.051a4.08 4.08 0 01-1.404 2.153 4.07 4.07 0 011.537 3.189 4.06 4.06 0 01-.92 2.579 1.599 1.599 0 002.824-1.322l-.03-.124-.013-.079-.005-.056-.001-.042.001-.058.005-.053.013-.078.018-.072.022-.064.035-.079.005-.01a.869.869 0 01.158-.217l.055-.052.041-.032.05-.035.042-.026.055-.03.073-.03.056-.02.04-.011.078-.016.073-.009.045-.002h.048l.041.002.058.006.056.01.062.015.031.01.049.017.054.023.044.021.053.031.035.023c.06.042.114.09.163.147l.038.046.034.048a1.6 1.6 0 102.4-2.07 3.256 3.256 0 01-.473.007l-.057-.005-.026-.005h-.016a3.376 3.376 0 01-2.985-2.568l-.026-.116a1.6 1.6 0 00-2.285-1.133zm-4.416 4.595a.889.889 0 110 1.777H5.939a.889.889 0 010-1.777h3.676zm9.208-10.503a1.6 1.6 0 00-.797 1.3l-.002.085a.889.889 0 01-.83.887l-.059.002a.889.889 0 01-.887-.83l-.002-.059a1.6 1.6 0 00-2.528-1.301 4.089 4.089 0 01-1.255 1.674 4.083 4.083 0 011.451 2.308 3.374 3.374 0 014.125 2.532l.02.093a1.6 1.6 0 001.395 1.26l.124.01.042.002c.06 0 .12-.003.18-.01l.085-.011.062-.015a1.6 1.6 0 00-.245-3.163l-.079-.002a.887.887 0 01-.683-.32l-.034-.044a.884.884 0 01-.154-.702.889.889 0 01.807-.71l.064-.001a1.6 1.6 0 001.134-2.728 1.6 1.6 0 00-.786-.426l-.102-.019a.856.856 0 01-.076-.016 1.592 1.592 0 00-.97.204zm-9.199 4.08a.889.889 0 010 1.778H.89a.889.889 0 010-1.777h8.735zm-.01-6.432a.889.889 0 110 1.777H5.94a.889.889 0 110-1.777h3.676zm3.297-1.954l-.053.021a4.065 4.065 0 011.126 2.36 3.375 3.375 0 013.151 1.027 3.366 3.366 0 011.695-1 4.621 4.621 0 00-5.919-2.408z"})]}))}),kI=CD;var CI=J(Ae());var II="AlibabaCloud";var $v=J(ce()),jI=J(ce());function Xm(e){"@babel/helpers - typeof";return Xm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Xm(e)}var jD=["size","style"];function NI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,i)}return n}function Rw(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?NI(Object(n),!0).forEach(function(i){AD(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):NI(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function AD(e,t,n){return t=PD(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function PD(e){var t=UD(e,"string");return Xm(t)=="symbol"?t:String(t)}function UD(e,t){if(Xm(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(Xm(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function MD(e,t){if(e==null)return{};var n=DD(e,t),i,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i])}return n}function DD(e,t){if(e==null)return{};var n={},i=Object.keys(e),r,o;for(o=0;o<i.length;o++)r=i[o],!(t.indexOf(r)>=0)&&(n[r]=e[r]);return n}var LD=(0,CI.memo)(function(e){var t=e.size,n=t===void 0?"1em":t,i=e.style,r=MD(e,jD);return(0,jI.jsxs)("svg",Rw(Rw({fill:"currentColor",fillRule:"evenodd",height:n,style:Rw({flex:"none",lineHeight:1},i),viewBox:"0 0 24 24",width:n,xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,$v.jsx)("title",{children:II}),(0,$v.jsx)("path",{d:"M14.752 4.64h5.274C22.242 4.64 24 6.475 24 8.691V15.8a3.947 3.947 0 01-3.974 3.975h-5.274l1.299-1.835 3.822-1.222c.688-.23 1.146-.918 1.146-1.605v-5.81c0-.687-.458-1.375-1.146-1.605L16.05 6.475l-1.3-1.835zM2.98 15.111c0 .688.46 1.376 1.147 1.606l3.822 1.146 1.3 1.835H3.974A3.947 3.947 0 010 15.723V8.69c0-2.216 1.758-4.05 3.975-4.05h5.273L7.95 6.474 4.127 7.697c-.688.23-1.146.918-1.146 1.606v5.808z"}),(0,$v.jsx)("path",{d:"M16.051 11.213H8.025v1.835h8.026v-1.835z"})]}))}),AI=LD;function Wm(e){if(!e)return null;let t=/^(\\d+(?:\\.\\d+)?)\\s*:\\s*(\\d+(?:\\.\\d+)?)$/.exec(e.trim());if(!t)return null;let n=Number(t[1]),i=Number(t[2]);return!Number.isFinite(n)||!Number.isFinite(i)||n<=0||i<=0?null:n/i}function Ew(e){let t=Wm(e);return t===null?3:t>1.5?2:t<.7?4:3}function Ow(e){let t=/^(\\d+(?:\\.\\d+)?)\\s*:\\s*(\\d+(?:\\.\\d+)?)$/.exec((e??"").trim());return t?`${t[1]} / ${t[2]}`:"1 / 1"}var PI=140,qD=2,HD=4;function kw(e,t){if(!Number.isFinite(e)||e<=0)return Math.min(t,3)||1;let n=Math.floor(e/PI),i=Math.max(qD,Math.min(HD,n));return Math.max(1,Math.min(t,i))}function Iw(e,t,n){let i=Math.max(1,Math.floor(t)||1),r=Array.from({length:i},()=>[]),o=new Array(i).fill(0);for(let a of e){let s=0;for(let l=1;l<i;l++)(o[l]??0)<(o[s]??0)&&(s=l);r[s]?.push(a),o[s]=(o[s]??0)+1/ZD(n(a))}return r}function ZD(e){if(typeof e=="number")return e>0&&Number.isFinite(e)?e:1;if(typeof e=="string"){let t=Wm(e);if(t)return t;let n=parseFloat(e);if(n>0&&Number.isFinite(n))return n}return 1}var $l="0 0 100 100",Rv="#d4af37",ua=["M11.15,47.67l6.07-1.67c3.58-.98,6.21-3.75,7.02-7.6l1.4-6.65-4.42,1.12c-3.69.94-7.74,3.92-9.46,7.77.03-4.07-4.23-7.74-7.63-9.28l-4.13-1.88.08,6.78c.05,3.92,2.1,7.11,5.43,8.7l5.64,2.7Z","M23.89,60.4c2.99-2.1,4.45-5.57,3.8-9.45l-1.12-6.7-3.74,2.52c-3.12,2.1-5.82,6.23-6.02,10.42-1.46-3.82-6.8-5.85-10.55-6.18l-4.56-.4,2.56,6.33c1.48,3.66,4.57,5.97,8.27,6.36l6.28.67,5.08-3.57Z","M14.43,17.52l-.48-6.01c-.29-3.54,1.52-6.7,5.04-8.46l6.08-3.05.44,4.36c.38,3.72-.44,7.4-4.21,9.44l-6.87,3.72Z","M81.48,31.59l-6.18-1.26c-3.64-.75-6.47-3.33-7.55-7.12l-1.88-6.54,4.49.83c3.75.69,8,3.4,10,7.13-.32-4.05,3.66-8,6.94-9.76l3.98-2.15.41,6.77c.24,3.92-1.58,7.23-4.78,9.03l-5.43,3.07Z","M82.69,47.67l-6.07-1.67c-3.58-.98-6.21-3.75-7.02-7.6l-1.4-6.65,4.42,1.12c3.69.94,7.74,3.92,9.46,7.77-.03-4.07,4.23-7.74,7.63-9.28l4.13-1.88-.08,6.78c-.05,3.92-2.1,7.11-5.43,8.7l-5.64,2.7Z","M69.95,60.4c-2.99-2.1-4.45-5.57-3.8-9.45l1.12-6.7,3.74,2.52c3.12,2.1,5.82,6.23,6.02,10.42,1.46-3.82,6.8-5.85,10.55-6.18l4.56-.4-2.56,6.33c-1.48,3.66-4.57,5.97-8.27,6.36l-6.28.67-5.08-3.57Z","M39.41,88.17l-1.89-2.36-2.12-2.64c2.61-2.85,5.43-5.02,8.29-6.79-1.44-.96-2.92-1.7-4.36-2.08-2.56-.68-5.26-.56-7.82.51l-1.16.48c-3.41,1.42-7.3.9-10.5-1.56l-5.55-4.26,4.15-1.83c3.42-1.51,9.11-2.29,12.38.32-2.02-3.72-1.86-8.58-.27-11.89l1.91-3.96,4.49,5.26c2.6,3.04,3.16,6.74,1.68,9.99l-1.23,2.69c2.93,1.37,6.19,2.72,9.51,4.47,3.32-1.75,6.58-3.1,9.51-4.47l-1.23-2.69c-1.48-3.25-.92-6.94,1.68-9.99l4.49-5.26,1.91,3.96c1.59,3.3,1.76,8.17-.27,11.89,3.27-2.61,8.96-1.83,12.38-.32l4.15,1.83-5.55,4.26c-3.21,2.46-7.09,2.99-10.5,1.56l-1.16-.48c-2.57-1.07-5.27-1.19-7.82-.51-1.45.38-2.92,1.12-4.36,2.08,2.86,1.77,5.68,3.95,8.29,6.79l-2.12,2.64-1.89,2.36c-1.38-2.49-4.2-6.22-7.52-9.24-3.32,3.01-6.14,6.75-7.52,9.24Z","M79.42,17.52l.48-6.01c.29-3.54-1.52-6.7-5.04-8.46l-6.08-3.05-.44,4.36c-.38,3.72.44,7.4,4.21,9.44l6.87,3.72Z","M12.36,31.59l6.18-1.26c3.64-.75,6.47-3.33,7.55-7.12l1.88-6.54-4.49.83c-3.75.69-8,3.4-10,7.13.32-4.05-3.66-8-6.94-9.76l-3.98-2.15-.41,6.77c-.24,3.92,1.58,7.23,4.78,9.03l5.43,3.07Z"],UI=[2,1,4,3,2,1,0,4,3],Nw=5,MI=6;function Ev(e,t="laurel"){return`${t}-leaf-${e}`}function Cw(e={}){let{prefix:t="laurel",durationSecs:n=MI}=e,i=40/(Nw-1),r=35/(Nw-1);return ua.map((o,a)=>{let s=UI[a]??0,l=(s*i).toFixed(2),c=(s*i+8).toFixed(2),d=(60+s*r).toFixed(2),p=(60+s*r+5).toFixed(2),m=`${t}-kf-${a}`;return`@keyframes ${m}{0%,${l}%{opacity:0;transform:scale(0)}${c}%{opacity:1;transform:scale(1)}${d}%{opacity:1;transform:scale(1)}${p}%,100%{opacity:0;transform:scale(0)}}.${Ev(a,t)}{animation:${m} ${n}s ease-in-out infinite;animation-fill-mode:both;transform-box:fill-box;transform-origin:50% 50%}`}).join("")}var ef=J(ce(),1);function VD({size:e=14}){return(0,ef.jsx)("svg",{viewBox:$l,width:e,height:e,fill:"currentColor",children:ua.map(t=>(0,ef.jsx)("path",{d:t},t))})}var BD={"nano-banana":p3,openai:S3,midjourney:w3,flux:O3,topaz:j3,recraft:D3,gemini:V3,sora:K3,kling:eI,elevenlabs:oI,qwen:uI,bria:hI,bytedance:bI,grok:TI,ideogram:kI,"alibaba-cloud":AI,laurel:VD};function DI({iconKey:e,size:t=13}){let n=e?BD[e]:void 0;return n?(0,ef.jsx)("span",{style:{pointerEvents:"none",display:"inline-flex",lineHeight:1},children:(0,ef.jsx)(n,{size:t})}):null}var A=J(ce(),1);function Ov(e){return e.items?.length?[...e.items]:(e.outputs??[]).map(t=>({url:t.url,posterUrl:t.posterUrl??null,name:t.name,contentType:e.contentType??"image",displayAspect:e.displayAspect??null,openUrl:t.studioUrl??null}))}function jw(e){if(e.length===0)return!0;let t=e[0];return e.every(n=>n.contentType===t.contentType&&(n.displayAspect??null)===(t.displayAspect??null))}var Kn="#d4af37",Aw="#121212",GD=`\n /**\n * THE TWO CHIP TOKENS, SET FROM THE HOST\'S REPORTED THEME.\n *\n * The defaults here are the DARK treatment, which is also what an absent theme gets: a host that reports\n * nothing is more likely dark than light in these clients, and a near-black pill with white content is\n * legible against a light background too, where the inverse is not. data-theme is stamped on <html> from\n * the host context, so a toggle repaints without remounting anything.\n */\n /*\n * \\u26D4\\u26D4 A TRANSPARENT ROOT, AND color-scheme IS EXACTLY WHY IT IS NEEDED.\n *\n * Declaring color-scheme tells the browser to paint its OWN canvas backdrop for the active scheme.\n * Setting the body transparent does not stop that: the canvas color comes from the ROOT element, so\n * the frame filled itself with the user agent\'s dark gray and our rounded card sat on a square of it.\n *\n * \\u2B50 Measured in ChatGPT 2026-09-21: four dark corners around the widget, in a chat whose own\n * background is a different shade, so the card read as pasted on rather than placed in. The radius was\n * never the problem; there was something opaque behind it.\n */\n :root {\n color-scheme: light dark;\n background: transparent;\n --chip-bg: ${Aw};\n --chip-bg-hover: #242424;\n --chip-fg: #ffffff;\n }\n :root[data-theme=\'light\'] {\n --chip-bg: #f2f2f2;\n --chip-bg-hover: #e6e6e6;\n --chip-fg: ${Aw};\n }\n * { box-sizing: border-box; }\n body {\n margin: 0;\n font: 14px/1.5 var(--font-sans, ui-sans-serif, -apple-system, "Segoe UI", system-ui, sans-serif);\n color: var(--color-text-primary, CanvasText);\n background: transparent;\n }\n /*\n * \\u2B50 ROUNDER, AND LIT FROM THE TOP LEFT.\n *\n * A 14px radius on a panel this size reads as a utility box. The reference\'s widgets are noticeably\n * rounder and carry a soft diagonal gradient, which is most of what makes them feel finished rather than\n * functional. Both are cheap: one radius and one overlay gradient in the brand\'s own gold, at an opacity\n * low enough to read as light rather than as color.\n *\n * \\u26A0\\uFE0F The gradient goes on the CONTAINER and stays under the content, so it tints the panel without\n * touching the media. Painting it over the grid would cast gold on every picture.\n */\n .wrap {\n position: relative;\n border: 1px solid var(--color-border-primary, color-mix(in srgb, CanvasText 14%, transparent));\n border-radius: var(--border-radius-lg, 22px);\n overflow: hidden;\n background: var(--color-background-secondary, Canvas);\n }\n .wrap::before {\n content: \'\';\n position: absolute; inset: 0; pointer-events: none; z-index: 0;\n background: linear-gradient(135deg, color-mix(in srgb, ${Kn} 7%, transparent), transparent 55%);\n }\n .wrap > * { position: relative; z-index: 1; }\n\n /*\n * \\u26A0\\uFE0F THE HEAD AND THE GRID SHARE THEIR HORIZONTAL PADDING, WHICH IS WHAT ALIGNS THE MARK.\n *\n * Measured: the mark\'s right edge and the rightmost tile\'s right edge are the same pixel, and the mark\'s\n * vertical center matches the chips\' to the pixel. Both fall out of the shared 12px and align-items\n * center; neither is a coincidence to preserve by hand, but both break the moment these two rules\n * disagree about padding.\n */\n .head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }\n /*\n * \\u26D4 CSS OWNS THE SIZE. The component passed size={20} and this rule said 18px, so the attribute lost\n * silently and the real size was in neither place a reader would look first.\n *\n * \\u26A0\\uFE0F 26px MATCHES THE CHIP HEIGHT EXACTLY, so the mark reads as a peer of the metadata rather than as a\n * decoration tucked into a corner. At 18px it was two thirds of the chips beside it.\n *\n * \\u26A0\\uFE0F The artwork fills 93.84 of its 100-unit viewBox horizontally and 88.17 vertically, anchored top\n * left, so the painted leaves stop about 1.6px short of the element\'s right edge at this size. That is\n * the shape\'s own whitespace, not a layout error, and correcting for it with a negative margin would\n * make the mark disagree with every other surface that draws it.\n */\n .head .mark { width: 26px; height: 26px; flex: 0 0 auto; }\n .head .title { font-weight: var(--font-weight-semibold, 600); }\n /* The brand\'s only flourish: a gold hairline that fades out rather than a full-width rule. */\n .rule { height: 1px; background: linear-gradient(90deg, ${Kn}, transparent 65%); }\n\n .meta { padding: 10px 12px 0; display: flex; flex-direction: column; gap: 8px; }\n .prompt { margin: 0; cursor: pointer; color: var(--color-text-secondary, color-mix(in srgb, CanvasText 60%, transparent)); }\n .prompt.clamped { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }\n /**\n * THE MODEL PILL, AND WHY IT CARRIES ITS OWN SURFACE.\n *\n * A brand glyph is a single-color shape. Drawn straight onto the host\'s background it is invisible in one\n * of the two themes, and the frame has no say over which theme that is. So the pill paints a surface it\n * controls and the glyph inherits the pill\'s own text color through currentColor, which is the whole\n * reason the Mono variant is imported instead of the colored one.\n *\n * \\u2B50\\u2B50 IT FLIPS WITH THE HOST RATHER THAN COMMITTING TO ONE. The host reports theme on its context and\n * fires hostcontextchanged when a person toggles, so dark mode gets a near-black pill with white content\n * and light mode gets a near-white pill with near-black content. Committing to a dark pill in both would\n * have been the fallback, and it is still what an absent theme gets, by way of the defaults below.\n *\n * \\u26A0\\uFE0F The BRAND COLOR stays on the dot and never becomes the pill\'s background. Sixty-six registry colors\n * chosen to read against the app\'s own surfaces cannot all clear a contrast bar against text in someone\n * else\'s chat, and a pill nobody can read is worse than one that is merely plain.\n */\n .badges { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }\n .badge {\n display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px;\n border-radius: 999px; font-size: 12px; font-weight: 500;\n background: var(--chip-bg); color: var(--chip-fg);\n }\n .badge .dot { width: 6px; height: 6px; border-radius: 999px; background: ${Kn}; flex: 0 0 auto; }\n /* The glyph is already the brand\'s mark, so a colored dot beside it says the same thing twice. */\n .badge.model .dot { display: none; }\n .badge.model.no-glyph .dot { display: block; }\n\n /**\n * \\u2B50 A GRID, NOT A CAROUSEL. The reference uses one horizontal row with arrows, which makes comparison\n * SERIAL: variation 1 and variation 4 can never be on screen at once, and choosing between them is the\n * entire reason four were generated.\n *\n * \\u2B50\\u2B50\\u2B50 **THE COLUMN COUNT COMES FROM THE SHAPE, VIA --cols.** This was 1fr 1fr for every count, so\n * four 9:16 images sat two-up and each one had to be shrunk to fit, which is where the letterboxing came\n * from. Four portrait images belong on ONE row; two 16:9 images already fill it. The rule is\n * columnsForAspect in @contenthero-ai/brand-ui, shared with the studio\'s row view so the same batch\n * is arranged the same way in both places.\n *\n * \\u26A0\\uFE0F min() with the count, so three outputs under a four-column rule make three columns rather than\n * three columns and a hole.\n */\n .grid { display: grid; gap: 8px; padding: 10px 12px; grid-template-columns: repeat(var(--cols, 2), 1fr); }\n\n /*\n * MASONRY, for a set whose items do not share a shape.\n *\n * \\u2B50 A uniform set is a ROW, because variations of one generation exist to be compared and comparison has\n * to be parallel. A mixed set is being SCANNED, not chosen from, so every item stays its own shape and\n * the column count comes from the width instead. Both rules live in the shared package, so the same\n * media lands the same way in the studio and in a chat.\n *\n * \\u26D4\\u26D4\\u26D4 **NOT column-count. IT READS DOWN, AND A SET OF MEDIA READS ACROSS.**\n *\n * CSS multi-column fills each column top to bottom before starting the next, so item 2 lands BELOW item 1\n * rather than beside it, and a set arrives in one order and reads in another. That is what multi-column\n * MEANS; no styling fixes it. The note that used to sit here called the reading order an acceptable cost\n * "for a set nobody is reading in order", which was a guess about the reader. The reader said otherwise.\n *\n * \\u2B50 So columns are assigned in JS by packIntoColumns (shortest column first, by relative height) and each\n * is rendered as its own flex stack. That is the rule the studio masonry already uses, shared from the\n * brand-ui package so the product and a chat arrange the same media the same way.\n *\n * \\u26A0\\uFE0F Keeping each tile\'s NATURAL height is still the point: no measurement pass, no layout thrash as\n * images decode at different times. Assigning columns up front is what buys that without the reading order.\n */\n .grid.mixed {\n display: flex;\n align-items: flex-start;\n gap: 8px;\n }\n .grid.mixed > .col {\n display: flex;\n flex-direction: column;\n gap: 8px;\n /* Equal share of the row, and min-width 0 so a wide tile cannot push its column past its share. */\n flex: 1 1 0;\n min-width: 0;\n }\n .grid.mixed .tile {\n /* A mixed tile is sized by its own ratio, so it must not also be bounded by the row cap. */\n max-width: none;\n }\n .t-glyph {\n display: grid;\n place-items: center;\n width: 100%;\n height: 100%;\n font-size: 18px;\n color: rgba(255, 255, 255, 0.45);\n }\n\n /**\n * \\u26D4\\u26D4\\u26D4 **THE TILE IS THE IMAGE. IT IS NOT A BOX WITH AN IMAGE INSIDE IT.**\n *\n * The tile used to be a fixed max-height: 220px container with object-fit: contain, so anything whose\n * shape disagreed with the container got bars painted around it. Four portrait images in landscape boxes\n * is most of what looked wrong here.\n *\n * \\u2B50 Giving the tile the generation\'s own aspect-ratio leaves nothing over to letterbox: the box takes\n * the shape of its content, the image covers it exactly, and the visible edge is the picture\'s edge.\n * --ar is set per tile from displayAspect, which the server now sends.\n *\n * \\u26A0\\uFE0F object-fit: cover is safe ONLY because the tile\'s ratio IS the media\'s ratio. If the two ever\n * disagree, cover crops silently. The fallback below is contain for exactly that case: a missing\n * displayAspect means we do not know the shape, and cropping on a guess is worse than a bar.\n */\n /**\n * \\u26D4\\u26D4 AN overflow-hidden TILE CLIPPED ITS OWN TOOLTIP, and a tile at the grid edge is exactly where a\n * tooltip is most needed. The rounded corner is what the clip was FOR, so it moved onto the media, which\n * is the only child that needs clipping. The tile itself now lets an overlay escape its bounds.\n */\n .tile {\n position: relative; overflow: visible; border-radius: var(--border-radius-md, 14px);\n background: var(--color-background-tertiary, color-mix(in srgb, CanvasText 6%, transparent));\n border: 1px solid transparent; padding: 0; display: block; width: 100%;\n }\n /* \\u26A0\\uFE0F The cursor has to agree with the click handler: everything but audio opens a larger view now. */\n .tile.img, .tile.video { cursor: zoom-in; }\n .tile:focus-within { outline: 2px solid ${Kn}; outline-offset: 2px; }\n /**\n * THE HEIGHT CAP, AND WHY IT IS EXPRESSED AS A MAX-WIDTH.\n *\n * A single 9:16 output at full column width is over 1000px tall in a chat, which is the opposite problem\n * from the letterboxing. But capping the HEIGHT of a box that already has a definite width and an\n * aspect-ratio does not shrink it: both axes are then constrained, the ratio is dropped, and\n * object-fit: cover silently CROPS the picture. That trades a visible bar for an invisible loss.\n *\n * Bounding the WIDTH keeps the ratio authoritative. --ar-num is the same ratio as a plain number, so the\n * widest a tile may be is cap times ratio, and its height therefore lands at or under the cap by\n * construction. A tall tile narrows and centers; a wide one is untouched because the bound never binds.\n */\n .tile.shaped {\n aspect-ratio: var(--ar);\n max-width: calc(420px * var(--ar-num, 1));\n margin-inline: auto;\n }\n .tile.shaped img, .tile.shaped video { width: 100%; height: 100%; object-fit: cover; display: block; }\n /* Shape unknown: contain inside a bounded box, because cropping on a guess is worse than a bar. */\n .tile.unshaped img, .tile.unshaped video { display: block; width: 100%; height: auto; max-height: 260px; object-fit: contain; }\n .tile audio { width: 100%; padding: 22px 14px; }\n\n /*\n * A PLACEHOLDER IS THE SAME TILE, so it occupies exactly the space its output will. Anything else makes\n * the grid jump when the media lands, which reads as a glitch rather than as an arrival.\n */\n /*\n * \\u26A0\\uFE0F INHERIT THE RADIUS, OR THE CORNERS SHOW THEIR POINTS.\n *\n * The tile rounds its corners and this fills the tile edge to edge with its own background, so a square\n * overlay inside a rounded box leaves four visible triangles of skeleton color poking past the curve.\n * Only noticeable against the tile\'s own background, which is exactly when a skeleton is on screen.\n *\n * The tile\'s overflow is visible now (so a tooltip can escape it), which means the tile is no longer\n * clipping this for us. Every child that paints to the edge has to round itself.\n */\n /*\n * \\u26A0\\uFE0F NO RESERVED BOX HERE, DELIBERATELY. A shaped frame was tried and is worse: it promises a size that\n * the real card will not have, so the first thing you see is a rectangle nothing ever occupies. Text\n * claims no layout, so the card that replaces it does not have to snap out of one.\n */\n .fallback { padding: 18px; }\n .laurel-wrap {\n position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;\n background: var(--color-background-tertiary, color-mix(in srgb, CanvasText 6%, transparent));\n border-radius: inherit;\n }\n .laurel-wrap .laurel { width: 38%; max-width: 72px; height: auto; }\n\n /*\n * \\u2B50\\u2B50\\u2B50 THE HANDOFF: THE LAUREL STAYS UNTIL THE PIXELS ARE THERE, THEN THE MEDIA REPLACES IT AT ONCE.\n *\n * \\u26D4 **NO CROSS-FADE, AND NO FADE AT ALL.** Read the studio before assuming otherwise, because its own\n * comment says "skeleton->resolve crossfade" and the code does not do that. In BOTH studio views the\n * skeleton and the media are never on screen together: the masonry view swaps component types across a\n * ternary, and the row view swaps a motion.div wrapper for a plain div, so React unmounts the skeleton\n * and mounts a fresh card whose reveal starts from opacity 0.\n *\n * \\u26A0\\uFE0F Which means the studio has a GAP: the skeleton is gone the moment the row flips to completed, and\n * the image only appears once it has decoded. This keeps the studio\'s instant swap and removes the gap,\n * by holding the laurel until the pixels exist rather than until the status changes.\n */\n /* The clip that used to live on the tile. The media fills the tile, so the rounded look is identical. */\n .tile .media { border-radius: inherit; }\n .tile .media { visibility: hidden; }\n .tile.ready .media { visibility: visible; }\n /* Audio has no decode event worth waiting on and no picture to hide, so it is ready on arrival. */\n .tile.audio .media { visibility: visible; }\n\n /**\n * Actions live ON the thing they act on. Hidden until hover, never unreachable by keyboard.\n *\n * ## \\u2B50\\u2B50 THREE ZONES, BECAUSE FIVE IN A ROW READ AS ONE UNDIFFERENTIATED CLUMP\n *\n * The creative verbs (Animate, Edit, Recreate) are the choice someone is making, so they stay centered\n * where the eye already is. Download and Open are EXITS: they leave the picture or leave the\n * conversation, and pinning them to opposite corners separates them from the choice rather than hiding\n * them in the middle of it.\n */\n .acts {\n position: absolute; left: 0; right: 0; bottom: 10px; z-index: 1;\n display: flex; gap: 6px; justify-content: center;\n opacity: 0; transition: opacity .12s ease;\n }\n .corner { position: absolute; top: 8px; z-index: 2; opacity: 0; transition: opacity .12s ease; }\n /**\n * \\u26D4\\u26D4 **AN AUDIO TILE IS A CONTROL SURFACE, SO THE ACTIONS MUST NOT COVER IT.**\n *\n * Every other medium is a picture with an overlay on top, which is fine because the picture does nothing\n * when you click it. An audio tile is a transport: play, scrub, volume. The acts row sat 10px from the\n * bottom, directly over those controls, so hovering to press play summoned buttons that took the click\n * instead. Reported as audio that "just doesn\'t really do anything".\n *\n * \\u2B50 Moving them to the TOP of the tile leaves the transport clear. The corners already sit there, so an\n * audio tile reserves a little more height for the row to live in rather than overlapping either one.\n */\n .tile.audio {\n /* Tall enough for a transport and a row of verbs to sit apart rather than on top of each other. */\n min-height: 116px;\n display: flex;\n align-items: flex-start;\n padding: 10px 8px;\n }\n /* The transport gets the top, where nothing is ever drawn over it. */\n .tile.audio .media { width: 100%; }\n .tile.audio .acts {\n top: auto;\n bottom: 10px;\n /* Always visible: there is no picture here that an overlay would obscure. */\n opacity: 1;\n }\n .corner.tl { left: 8px; }\n .corner.tr { right: 8px; }\n .tile:hover .acts, .tile:focus-within .acts,\n .tile:hover .corner, .tile:focus-within .corner { opacity: 1; }\n @media (hover: none) { .acts, .corner { opacity: 1; } }\n\n .pill {\n appearance: none; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600;\n display: inline-flex; align-items: center; gap: 6px;\n padding: 6px 13px; border-radius: 999px; border: 1px solid transparent;\n background: ${Aw}; color: #fff;\n }\n .pill:hover { background: #1e1e1e; }\n .pill:focus-visible { outline: 2px solid ${Kn}; outline-offset: 2px; }\n .pill.ghost {\n background: transparent; color: inherit;\n border-color: var(--color-border-secondary, color-mix(in srgb, CanvasText 20%, transparent));\n }\n .pill.ghost:hover { border-color: ${Kn}; }\n /*\n * \\u26A0\\uFE0F EVERY ACTION NEEDS A SURFACE, NOT JUST THE PRIMARY ONE. Only Animate carried a background, so\n * Download, Edit and Recreate read as bare text floating next to a button rather than as buttons. The\n * neutral surface is theme-aware for the same reason the chip\'s is: a single fixed gray is unreadable\n * against one of the two backgrounds, and the frame does not choose which.\n */\n /*\n * \\u26A0\\uFE0F A SURFACE **AND** A HAIRLINE. The neutral fill alone still read as bare text against a dark panel,\n * because the fill and the panel are close in value by design. The border is what makes the edge of the\n * control findable, and it is the treatment Expand already had before the other buttons were changed\n * around it, which is why they suddenly looked unlike each other.\n */\n .pill.neutral {\n background: var(--chip-bg);\n color: var(--chip-fg);\n border-color: var(--color-border-secondary, color-mix(in srgb, CanvasText 18%, transparent));\n }\n .pill.neutral:hover {\n background: var(--chip-bg-hover);\n border-color: ${Kn};\n }\n .pill[disabled] { opacity: .6; cursor: default; }\n /* A refused download must not look like one that worked. Gold is the brand\'s attention color. */\n .pill.warn { border-color: ${Kn}; color: ${Kn}; }\n /*\n * A pill with only a glyph in it is a CIRCLE. The reference draws squircles; fully round reads as an\n * action rather than a small panel, and it is the shape the rest of this widget already uses.\n */\n .acts .pill, .corner .pill { padding: 0; width: 30px; height: 30px; justify-content: center; border-radius: 999px; }\n .acts .pill.warn { width: auto; padding: 0 12px; }\n .bar {\n display: flex; align-items: center; gap: 8px; padding: 10px 12px; flex-wrap: wrap;\n border-top: 1px solid var(--color-border-primary, color-mix(in srgb, CanvasText 14%, transparent));\n }\n /*\n * OUR OWN TOOLTIP, NOT THE BROWSER\'S.\n *\n * \\u26A0\\uFE0F The title attribute took roughly a second to appear, rendered in the OS\'s own style, and could not\n * be themed or positioned, so an icon-only button looked unlabeled for the whole time someone was\n * deciding whether to click it. This one appears immediately and matches the chips.\n *\n * \\u26A0\\uFE0F Pointer-events off, or the tooltip sits under the cursor and re-triggers the hover it came from,\n * which flickers. It is also the reason the glyphs themselves are pointer-events: none.\n */\n /*\n * \\u26D4 SCOPED TO .acts, WHICH IS THE ONLY PLACE A BUTTON HAS NO LABEL. A tooltip on a button that already\n * says Recreate tells you what it says, which is noise wearing the costume of help. The selector is the\n * enforcement: there is no way to attach one to a labeled button without moving it into the hover row.\n */\n /**\n * \\u26D4\\u26D4\\u26D4 THE z-index ON THE TOOLTIP IS NOT WHAT DECIDES THIS, AND THAT IS WHY IT LOOKED IGNORED.\n *\n * A pseudo-element is painted inside its own element\'s box. Raising its z-index orders it against that\n * element\'s other children, never against the element\'s SIBLINGS, so the Animate tooltip was drawn under\n * the Download button simply because Download comes later in the DOM. Measured: the tooltip rendered,\n * in the right place, behind a button.\n *\n * \\u2B50 THE HOVERED BUTTON IS WHAT HAS TO RISE. Lifting the button lifts everything it paints, tooltip\n * included, above every sibling in the row.\n */\n .acts [data-tip], .corner [data-tip] { position: relative; }\n /**\n * \\u26D4\\u26D4\\u26D4 **RAISING THE BUTTON WAS STILL NOT ENOUGH, AND THE REASON IS ONE LEVEL UP.**\n *\n * A z-index only orders an element against its siblings INSIDE its nearest stacking context. The acts row\n * and each corner are themselves positioned with their own z-index, so each one IS such a context: a\n * button inside the acts row (z-index 1) can be raised to any number at all and still paint under the\n * corner buttons (z-index 2), because the whole row is below them. The Animate and Recreate tooltips kept\n * rendering behind Download and Open after the button itself was lifted, which is what that looks like.\n *\n * \\u2B50 THE ZONE IS WHAT HAS TO RISE. Hovering anywhere in a zone lifts the zone above its neighbors, and\n * the tooltip rides with it. This is the same mistake as the tile clipping its own tooltip, one level\n * further out: the fix is never on the thing you can see, it is on the box that contains it.\n */\n .tile .acts:hover, .tile .acts:focus-within,\n .tile .corner:hover, .tile .corner:focus-within { z-index: 8; }\n .acts [data-tip]::after, .corner [data-tip]::after {\n content: attr(data-tip);\n position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);\n /* Fully round, like every other control here. A rounded rectangle was the odd one out. */\n padding: 5px 12px; border-radius: 999px; white-space: nowrap;\n font-size: 12px; font-weight: 500; line-height: 1.2;\n background: var(--chip-bg); color: var(--chip-fg);\n box-shadow: 0 2px 10px rgb(0 0 0 / .28);\n opacity: 0; pointer-events: none; transition: opacity .1s ease; z-index: 3;\n }\n /**\n * \\u26A0\\uFE0F ONE DIRECTION FOR EVERY TOOLTIP: UPWARD.\n *\n * These opened downward, on the reasoning that a tooltip above a button 8px from the frame\'s top would\n * be clipped. That reasoning was written before the tile stopped clipping its own overlay, and the grid\n * carries a header above it, so there is room. A tooltip that points the other way from every other one\n * reads as a different control, which costs more than the edge case it was guarding.\n */\n .acts [data-tip]:hover::after, .acts [data-tip]:focus-visible::after,\n .corner [data-tip]:hover::after, .corner [data-tip]:focus-visible::after { opacity: 1; }\n\n .muted { color: var(--color-text-secondary, color-mix(in srgb, CanvasText 55%, transparent)); font-size: 13px; }\n .spacer { flex: 1 1 auto; }\n\n /**\n * FULLSCREEN. \\u26A0\\uFE0F\\u26A0\\uFE0F "min-height: 0" ON THE MEDIA ROW IS LOAD-BEARING. A flex child defaults to\n * "min-height: auto", so a tall image refuses to shrink below its content size and pushes the thumbnail\n * strip off the bottom of the frame. That is exactly the clipping reported before this comment existed.\n */\n /*\n * \\u26A0\\uFE0F\\u26A0\\uFE0F THE RESERVED BAND IS A VARIABLE, AND IT IS NOT A CONSTANT HEIGHT.\n *\n * The host\'s composer floats over this frame, and it GROWS: attach something or type a few lines and it\n * is several times its resting height. A fixed 96px reserve was sized for the resting case, so a grown\n * composer climbed over the thumbnail strip and made it unclickable. The strip is the only way to change\n * variation, so that is not a cosmetic overlap.\n *\n * \\u2B50 --composer-band is measured at runtime from the frame\'s own height against the host\'s reported\n * container height. Reserving too much costs a strip of empty background; reserving too little costs the\n * controls, which is not a symmetric trade.\n *\n * \\u26D4\\u26D4 **THE COMPOSER IS NOT THE ONLY THING DOWN THERE.** The host also floats a scroll-to-bottom arrow\n * ABOVE its composer, and that arrow sits over our frame and eats the pointer. The reported symptom was\n * buttons that highlight sometimes and summon the host\'s arrow other times, which is exactly what a\n * transparent overlay catching hover looks like from the inside.\n *\n * \\u26A0\\uFE0F THAT SYMPTOM WAS REPORTED AGAINST THE INLINE FRAME, and this band is only ever applied to the\n * FULLSCREEN one. Measured 2026-09-21: a fullscreen capture shows the composer and no arrow, while an\n * inline capture from the same session shows both. So the arrow\'s extra reach was being paid here for\n * an obstruction that is not present, and that is the empty space under the action row.\n *\n * \\u2B50 The floor now covers the composer plus a margin. If an arrow ever does appear over a fullscreen\n * frame the symptom is specific: a button that responds only when the cursor is slightly off it. Raise\n * the floor, do not move the button.\n */\n .full {\n position: fixed; inset: 0; display: flex; flex-direction: column;\n padding-bottom: var(--composer-band, 132px);\n background: var(--color-background-primary, Canvas);\n }\n .full .stage { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 12px 16px; }\n /**\n * \\u2B50\\u2B50 THE STAGE IS THE POINT OF THIS VIEW, SO THE PICTURE SHOULD USE IT.\n *\n * These were max-width and max-height with auto sizing, which bounds an image DOWNWARD and never scales\n * it up. Anything whose natural size was smaller than the stage drew at its natural size and left the\n * rest of the frame empty, which is the unused space below the picture.\n *\n * \\u26A0\\uFE0F Filling the box and letting object-fit: contain do the fitting keeps the ratio exactly as before:\n * contain never crops. The only change is that a small source now scales UP to the space available,\n * which is what someone who opened a detail view asked for.\n */\n .full .stage img, .full .stage video { width: 100%; height: 100%; object-fit: contain; }\n /* \\u26A0\\uFE0F The host\'s composer overlays the bottom of a fullscreen frame, so the strip needs room BELOW it or\n it sits behind the message box. Measured: clipped by roughly a composer\'s height. */\n .full .strip { flex: 0 0 auto; display: flex; gap: 8px; padding: 8px 16px 10px; overflow-x: auto; justify-content: center; }\n .full .strip .t { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; flex: 0 0 auto; }\n .full .strip .t[aria-current="true"] { border-color: ${Kn}; }\n .full .strip .t img { width: 100%; height: 100%; object-fit: cover; display: block; }\n /*\n * \\u26A0\\uFE0F THE HOST\'S COMPOSER OVERLAYS THE BOTTOM OF A FULLSCREEN FRAME. The foot was pressed flat against it\n * with no breathing room, so the actions read as squeezed against the message box rather than as part of\n * the picture above them. The strip already reserves 96px below itself for the same reason; the foot\n * sits inside that reserved band, which is why its own bottom padding is zero when a strip is present.\n */\n .full .foot { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 10px 16px 16px; flex-wrap: wrap; }\n .full .strip + .foot { padding-bottom: 0; }\n`;function JD(){return(0,A.jsx)("svg",{viewBox:$l,className:"mark","aria-hidden":"true",children:ua.map(e=>(0,A.jsx)("path",{d:e,fill:Rv},e))})}var tf={width:14,height:14,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},YD=Cw({prefix:"ch"});function Pw(){return(0,A.jsx)("svg",{viewBox:$l,className:"laurel","aria-hidden":"true",children:ua.map((e,t)=>(0,A.jsx)("path",{d:e,fill:Rv,className:Ev(t,"ch")},e))})}function KD(){return(0,A.jsxs)("svg",{...tf,"aria-hidden":"true",children:[(0,A.jsx)("rect",{x:"2",y:"5",width:"14",height:"14",rx:"2"}),(0,A.jsx)("path",{d:"m22 8-6 4 6 4V8Z"})]})}function FD(){return(0,A.jsxs)("svg",{...tf,"aria-hidden":"true",children:[(0,A.jsx)("path",{d:"M12 3v12"}),(0,A.jsx)("path",{d:"m7 11 5 5 5-5"}),(0,A.jsx)("path",{d:"M4 20h16"})]})}function QD(){return(0,A.jsxs)("svg",{...tf,"aria-hidden":"true",children:[(0,A.jsx)("path",{d:"M12 20h9"}),(0,A.jsx)("path",{d:"M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4Z"})]})}function XD(){return(0,A.jsxs)("svg",{...tf,"aria-hidden":"true",children:[(0,A.jsx)("path",{d:"M14 4h6v6"}),(0,A.jsx)("path",{d:"M20 4 11 13"}),(0,A.jsx)("path",{d:"M19 14v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5"})]})}function LI(){return(0,A.jsxs)("svg",{...tf,"aria-hidden":"true",children:[(0,A.jsx)("path",{d:"M3 12a9 9 0 0 1 15-6.7L21 8"}),(0,A.jsx)("path",{d:"M21 3v5h-5"}),(0,A.jsx)("path",{d:"M21 12a9 9 0 0 1-15 6.7L3 16"}),(0,A.jsx)("path",{d:"M3 21v-5h5"})]})}function qI({output:e,kind:t,onReady:n,quality:i="master"}){let r=i==="preview"?e.previewUrl??e.url:e.url;return t==="video"?(0,A.jsx)("video",{className:"media",src:e.url,poster:e.posterUrl??void 0,controls:!0,preload:"metadata",playsInline:!0,onLoadedData:n,onError:n}):t==="audio"?(0,A.jsx)("audio",{className:"media",src:e.url,controls:!0,preload:"metadata"}):(0,A.jsx)("img",{className:"media",src:r,alt:e.name,onLoad:n,onError:n})}function HI(e){return e.contentType==="video"?e.posterUrl??null:e.contentType==="audio"?null:e.previewUrl??e.url}function WD(e){return e.length===0?"Media":e.every(t=>t.source==="creations")?"Creations":"Media"}function e7(e,t){let n=(a,s)=>s?n(s,a%s):a,i=n(e,t)||1,r=Math.round(e/i),o=Math.round(t/i);if(r>32||o>32){let a=e/t,l=[[1,1],[4,3],[3,4],[3,2],[2,3],[16,9],[9,16],[21,9]].reduce((c,d)=>Math.abs(c[0]/c[1]-a)<Math.abs(d[0]/d[1]-a)?c:d);r=l[0],o=l[1]}return`${r}:${o}`}function VI(e){let t=e.split("?")[0]??"";return/\\.([a-z0-9]{2,5})$/i.exec(t)?.[1]?.toLowerCase()??null}var BI={image:"png",video:"mp4",audio:"mp3"},t7={png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",webp:"image/webp",gif:"image/gif",avif:"image/avif",svg:"image/svg+xml",mp4:"video/mp4",webm:"video/webm",mov:"video/quicktime",mp3:"audio/mpeg",wav:"audio/wav",m4a:"audio/mp4",ogg:"audio/ogg"};function n7(e){let t=VI(e.url)??BI[e.contentType];return e.name.includes(".")?e.name:`${e.name}.${t}`}function r7(e){let t=VI(e.url)??BI[e.contentType];return t7[t]}var Rl={animate:e=>`Animate this image into a short video. Use it as the reference image: ${e}\n\nPick a suitable video model and tell me which one before you spend credits.`,edit:(e,t)=>`I want to edit this ${t}: ${e}\n\nAsk me what change I want. Then find a model that can edit a ${t} (check the registry rather than assuming one) and tell me which you picked before you spend credits. Do not generate anything yet.`,canRecreate:e=>!!(e.modelId&&e.prompt),canRecreateItem:e=>!!(e.source==="creations"&&e.reference&&e.modelId),recreateItem:e=>`Generate this again with the same settings: ${e.reference}\n\nRead its prompt and settings first (model ${e.modelId}), tell me what you are about to run, then generate one.`,recreate:e=>{let t=["Generate this again with the same settings.","",`type: ${e.contentType}`,`model: ${e.modelId}`];return e.displayAspect&&t.push(`aspect_ratio: ${e.displayAspect}`),t.push(`count: ${Ov(e).length}`),e.prompt&&t.push("","prompt:",e.prompt),t.join(`\n`)}};function Uw(e){return{"--ar":Ow(e),"--ar-num":String(Wm(e)??1)}}function i7(){let[e,t]=(0,Ce.useState)(null),[n,i]=(0,Ce.useState)(0),[r,o]=(0,Ce.useState)(!1),[a,s]=(0,Ce.useState)(!1),[l,c]=(0,Ce.useState)(null),[d,p]=(0,Ce.useState)(null),[m,f]=(0,Ce.useState)(null),[_,$]=(0,Ce.useState)(!1),[j,y]=(0,Ce.useState)("Waiting for the result."),[g,S]=(0,Ce.useState)(()=>new Set),[x,N]=(0,Ce.useState)(null),[H,M]=(0,Ce.useState)(!1),[B,oe]=(0,Ce.useState)(()=>typeof window>"u"?0:window.innerWidth);(0,Ce.useEffect)(()=>{let E=()=>oe(window.innerWidth);return window.addEventListener("resize",E),()=>window.removeEventListener("resize",E)},[]);let W=(0,Ce.useCallback)(E=>{let G=E?.structuredContent??E?.result?.structuredContent;M(!0),G&&(G.items?.length||G.outputs?.length||G.status==="processing")&&(t(G),i(0),c(null),$(!1))},[]),{app:me,isConnected:wr}=i3({appInfo:{name:"contenthero-generation",version:"1"},capabilities:{},autoResize:!0,onAppCreated:E=>{E.ontoolresult=W}}),Te=(0,Ce.useMemo)(()=>e?Ov(e):[],[e]),vn=(0,Ce.useMemo)(()=>Te[n]??null,[Te,n]),yn=!!me?.getHostContext?.()?.availableDisplayModes?.includes("fullscreen"),Fn=(0,Ce.useCallback)(async E=>{if(!(!me||!yn))try{let G=await me.requestDisplayMode({mode:E?"fullscreen":"inline"});o(G.mode==="fullscreen")}catch{}},[me,yn]);(0,Ce.useEffect)(()=>{if(!me)return;let E=G=>{document.documentElement.dataset.theme=G?.theme==="light"?"light":"dark",G?.displayMode&&o(G.displayMode==="fullscreen");let F=G?.containerDimensions,ue=F?.height??F?.maxHeight;if(ue&&window.innerHeight){let nt=Math.min(240,Math.max(132,window.innerHeight-ue+24));document.documentElement.style.setProperty("--composer-band",`${Math.round(nt)}px`)}let ge=G?.toolInfo?.tool,ct=typeof ge?._meta?.["ui/progressLabel"]=="string"?ge._meta["ui/progressLabel"]:ge?.title;ct&&y(`${ct}\\u2026`)};return E(me.getHostContext?.()),me.addEventListener?.("hostcontextchanged",E),()=>me.removeEventListener?.("hostcontextchanged",E)},[me]),(0,Ce.useEffect)(()=>{if(!r||!e)return;let E=Ov(e);if(E.length<2)return;let G=F=>{if(F.key!=="ArrowLeft"&&F.key!=="ArrowRight")return;F.preventDefault();let ue=E.length;i(ge=>F.key==="ArrowRight"?(ge+1)%ue:(ge-1+ue)%ue)};return window.addEventListener("keydown",G),()=>window.removeEventListener("keydown",G)},[r,e]),(0,Ce.useEffect)(()=>{if(!me||!e||e.status!=="processing")return;let E=Math.max(3,e.pollAfterSeconds??10),G=1200,F=!1,ue,ge=0,ct=async()=>{if(!F){try{let nt=await me.callServerTool({name:"get_generation_status",arguments:{outputIds:[e.outputId]}});if(F)return;let qe=nt.structuredContent;if((qe?Ov(qe):[]).length>0&&(t(Dt=>({...Dt,...qe,expected:Dt?.expected??qe?.expected})),c(null),qe?.status!=="processing"))return}catch{}if(!F){if(ge+=E,ge>=G){$(!0);return}ue=setTimeout(()=>{ct()},E*1e3)}}};return ue=setTimeout(()=>{ct()},E*1e3),()=>{F=!0,ue&&clearTimeout(ue)}},[me,e]);let Sn=async E=>{if(!me||!e)return;p(E.url),f(null),N(null);let G=n7(E),F=r7(E);try{let ue;try{let ge=await fetch(E.url);if(!ge.ok)throw new Error(`the media responded ${ge.status}`);let ct=new Uint8Array(await ge.arrayBuffer()),nt="";for(let qe=0;qe<ct.length;qe+=32768)nt+=String.fromCharCode(...ct.subarray(qe,qe+32768));ue=await me.downloadFile({contents:[{type:"resource",resource:{uri:E.url,mimeType:F,blob:btoa(nt)}}]})}catch(ge){ue=await me.downloadFile({contents:[{type:"resource_link",uri:E.url,name:G,mimeType:F}]}),ue?.isError&&N(ge instanceof Error?ge.message:"could not read the file")}ue?.isError&&(f(E.url),N(ge=>ge??"the host declined to save it"))}catch(ue){f(E.url),N(ue instanceof Error?ue.message:"the download failed")}finally{p(null)}},Xt=async E=>{if(me)try{await me.sendMessage({role:"user",content:[{type:"text",text:E}]})}catch{}};if(!e)return H?null:wr?(0,A.jsx)("div",{className:"fallback muted",children:j}):(0,A.jsx)("div",{className:"fallback muted",children:"Connecting."});let Tr=e.status==="processing",bn=Math.max(Te.length,Tr?e.expected??Te.length??1:Te.length),Mt=Math.max(0,bn-Te.length),tt=Math.max(1,bn),_n=Tr&&Te.length===0,zn=e.contentType??(jw(Te)?Te[0]?.contentType??"item":"item"),$r=_n?_?"Still running. Ask me to check on it.":`Making ${tt} ${tt===1?zn:`${zn}s`}`:tt===1?zn:`${tt} ${zn}s`,xn=$r.charAt(0).toUpperCase()+$r.slice(1),Qe=l??e.displayAspect??(jw(Te)?Te[0]?.displayAspect??null:null),Et=_n||jw(Te),to=(()=>{if(e.modelName)return{name:e.modelName,brandColor:e.modelBrandColor,iconKey:e.modelIconKey};let E=Te.filter(F=>F.modelName);if(!E.length||E.length!==Te.length)return null;let G=E[0];return E.every(F=>F.modelName===G.modelName)?{name:G.modelName,brandColor:G.modelBrandColor,iconKey:G.modelIconKey}:null})(),ni=Et?Math.min(tt,Ew(Qe)):kw(B,tt),Pn=(E,G)=>{let F=G.zone??"all",ue=Dt=>F==="all"||F===Dt,ge=E.contentType==="image",ct=!!E.reference,nt=Dt=>G.labels?Dt:null,qe=Dt=>G.labels?void 0:Dt,Qn=m===E.url;return(0,A.jsxs)(A.Fragment,{children:[ue("center")&&ge&&ct&&(0,A.jsxs)("button",{className:"pill neutral",onClick:()=>{Xt(Rl.animate(E.reference))},"data-tip":qe("Animate"),children:[(0,A.jsx)(KD,{}),nt("Animate")]}),ue("download")&&(0,A.jsxs)("button",{className:`pill neutral${Qn?" warn":""}`,onClick:()=>{Sn(E)},disabled:d===E.url,"data-tip":Qn?x||"The host refused that download":qe("Download"),children:[(0,A.jsx)(FD,{}),nt(Qn?"Not downloaded":d===E.url?"Saving":"Download")]}),ue("center")&&ct&&E.contentType!=="audio"&&(0,A.jsxs)("button",{className:"pill neutral",onClick:()=>{Xt(Rl.edit(E.reference,E.contentType))},"data-tip":qe("Edit"),children:[(0,A.jsx)(QD,{}),nt("Edit")]}),ue("center")&&Rl.canRecreateItem(E)&&(0,A.jsxs)("button",{className:"pill neutral",onClick:()=>{Xt(Rl.recreateItem(E))},"data-tip":qe("Recreate"),children:[(0,A.jsx)(LI,{}),nt("Recreate")]}),ue("open")&&E.openUrl&&(0,A.jsxs)("button",{className:"pill neutral",onClick:()=>{me?.openLink({url:E.openUrl})},"data-tip":qe("Open"),children:[(0,A.jsx)(XD,{}),nt("Open")]})]})},Un=E=>{let G=E?.modelName?{name:E.modelName,brandColor:E.modelBrandColor,iconKey:E.modelIconKey}:to;return(0,A.jsxs)(A.Fragment,{children:[G&&(0,A.jsxs)("span",{className:`badge model${G.iconKey?"":" no-glyph"}`,children:[(0,A.jsx)(DI,{iconKey:G.iconKey}),(0,A.jsx)("span",{className:"dot",style:{background:G.brandColor||Kn}}),G.name]}),Et&&Qe?(0,A.jsx)("span",{className:"badge",children:Qe}):!_n&&(0,A.jsx)("span",{className:"badge",children:WD(Te)})]})};if(r&&vn)return(0,A.jsxs)("div",{className:"full",children:[(0,A.jsx)("div",{className:"stage",children:(0,A.jsx)(qI,{output:vn,kind:vn.contentType,quality:"master"})}),tt>1&&(0,A.jsx)("div",{className:"strip",role:"tablist","aria-label":"Variations",children:Te.map((E,G)=>(0,A.jsx)("button",{className:"t",role:"tab","aria-current":G===n,"aria-label":`${G+1} of ${tt}`,onClick:()=>i(G),children:HI(E)?(0,A.jsx)("img",{src:HI(E),alt:""}):(0,A.jsx)("span",{className:"t-glyph","aria-hidden":!0,children:"\\u266A"})},E.url))}),(0,A.jsxs)("div",{className:"foot",children:[Pn(vn,{labels:!0}),(0,A.jsx)("span",{className:"spacer"}),Un(vn),tt>1&&(0,A.jsx)("span",{className:"muted",children:Et?`Variation ${n+1} of ${tt}`:`${n+1} of ${tt}`})]})]});let Rr=(E,G)=>(0,A.jsxs)("div",{className:`tile${E.contentType==="image"?" img":""}${E.contentType==="video"?" video":""}${E.contentType==="audio"?" audio":""} ${(Et?Qe:E.displayAspect)?"shaped":"unshaped"}${g.has(E.url)?" ready":""}`,style:(()=>{let F=Et?Qe:E.displayAspect??null;return F?Uw(F):void 0})(),onClick:()=>{i(G),E.contentType!=="audio"&&Fn(!0)},children:[E.contentType==="image"?(0,A.jsx)("img",{className:"media",src:E.previewUrl??E.url,alt:E.name,onLoad:F=>{if(S(ge=>ge.has(E.url)?ge:new Set(ge).add(E.url)),G!==0)return;let ue=F.currentTarget;ue.naturalWidth&&ue.naturalHeight&&c(e7(ue.naturalWidth,ue.naturalHeight))},onError:()=>S(F=>new Set(F).add(E.url))}):(0,A.jsx)(qI,{output:E,kind:E.contentType,quality:"preview",onReady:()=>S(F=>F.has(E.url)?F:new Set(F).add(E.url))}),!g.has(E.url)&&E.contentType!=="audio"&&(0,A.jsx)("div",{className:"laurel-wrap",children:(0,A.jsx)(Pw,{})}),E.contentType==="audio"?(0,A.jsx)("div",{className:"acts",onClick:F=>F.stopPropagation(),children:Pn(E,{labels:!1,zone:"all"})}):(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)("div",{className:"corner tl",onClick:F=>F.stopPropagation(),children:Pn(E,{labels:!1,zone:"download"})}),(0,A.jsx)("div",{className:"corner tr",onClick:F=>F.stopPropagation(),children:Pn(E,{labels:!1,zone:"open"})}),(0,A.jsx)("div",{className:"acts",onClick:F=>F.stopPropagation(),children:Pn(E,{labels:!1,zone:"center"})})]})]},E.url);return(0,A.jsxs)("div",{className:"wrap",children:[(0,A.jsxs)("div",{className:"head",children:[(0,A.jsx)("div",{className:"badges",children:Un()}),(0,A.jsx)("span",{className:"spacer"}),(0,A.jsx)(JD,{})]}),e.prompt&&(0,A.jsx)("div",{className:"meta",children:(0,A.jsx)("p",{className:a?"prompt":"prompt clamped",onClick:()=>s(E=>!E),children:e.prompt})}),(0,A.jsxs)("div",{className:Et?"grid":"grid mixed",style:{"--cols":String(ni)},children:[Mt>0&&Te.length===0&&Array.from({length:Mt},(E,G)=>(0,A.jsx)("div",{className:"tile shaped",style:Uw(Qe??"1:1"),children:(0,A.jsx)("div",{className:"laurel-wrap",children:(0,A.jsx)(Pw,{})})},`pending-${G}`)),Et?Te.map((E,G)=>Rr(E,G)):Iw(Te.map((E,G)=>({o:E,i:G})),ni,E=>E.o.displayAspect).map((E,G)=>(0,A.jsx)("div",{className:"col",children:E.map(F=>Rr(F.o,F.i))},`col-${G}`)),Mt>0&&Te.length>0&&Array.from({length:Mt},(E,G)=>(0,A.jsx)("div",{className:"tile shaped",style:Uw(Qe??"1:1"),children:(0,A.jsx)("div",{className:"laurel-wrap",children:(0,A.jsx)(Pw,{})})},`awaiting-${G}`))]}),(0,A.jsxs)("div",{className:"bar",children:[(0,A.jsx)("span",{className:"muted",children:xn}),(0,A.jsx)("span",{className:"spacer"}),!_n&&Rl.canRecreate(e)&&(0,A.jsxs)("button",{className:"pill neutral",onClick:()=>{Xt(Rl.recreate(e))},children:[(0,A.jsx)(LI,{}),"Recreate"]}),!_n&&yn&&Te.some(E=>E.contentType==="image")&&(0,A.jsx)("button",{className:"pill neutral",onClick:()=>{Fn(!0)},children:"Expand"})]})]})}var GI=document.createElement("style");GI.textContent=GD+YD;document.head.appendChild(GI);var JI=document.createElement("div");document.body.appendChild(JI);(0,ZI.createRoot)(JI).render((0,A.jsx)(i7,{}));\n/*! Bundled license information:\n\nscheduler/cjs/scheduler.production.js:\n (**\n * @license React\n * scheduler.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *)\n\nreact/cjs/react.production.js:\n (**\n * @license React\n * react.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *)\n\nreact-dom/cjs/react-dom.production.js:\n (**\n * @license React\n * react-dom.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *)\n\nreact-dom/cjs/react-dom-client.production.js:\n (**\n * @license React\n * react-dom-client.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *)\n\nreact/cjs/react-jsx-runtime.production.js:\n (**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *)\n\n@modelcontextprotocol/client/dist/src-D_zzAWoS.mjs:\n (*!\n * content-type\n * Copyright(c) 2015 Douglas Christopher Wilson\n * MIT Licensed\n *)\n*/\n</script>\n</body>\n</html>\n';
68
+ var PACKAGE_VERSION = "0.4.15";
69
69
 
70
70
  // src/widget-uri.ts
71
71
  var GENERATION_WIDGET_URI = `ui://contenthero/generation-${PACKAGE_VERSION}.html`;
@@ -2936,7 +2936,7 @@ function registerTools(server, opts) {
2936
2936
  */
2937
2937
  ...renders("Showing media"),
2938
2938
  annotations: READ,
2939
- description: "SHOW media to the person, up to 100 items in one card. Use this to present a set you do not need to look at yourself: search results, a folder, a shortlist, everything a list_media call returned. It renders a grid the person can browse, expand and act on, and it costs you almost no context because it returns urls rather than pixels. Each item is a { url } or an { mediaId, variation? }, the same shapes get_media takes. Pair it with list_media: list to FIND, show to PRESENT. If you need to SEE the pixels yourself (judge a face, check legibility, compare variations) use get_media instead, which attaches image blocks for up to 5 items.",
2939
+ description: "SHOW media to the person, up to 100 items in one card. Use this to present a set you do not need to look at yourself: search results, a folder, a shortlist, everything a list_media call returned. It renders a grid the person can browse, expand and act on, and it costs you almost no context because it returns urls rather than pixels. Each item is a { url } or an { mediaId, variation? }, the same shapes get_media takes. Pair it with list_media: list to FIND, show to PRESENT. Do not re-show media another tool already displayed: anything that creates or imports media renders its own card, and showing it again only duplicates it. If you need to SEE the pixels yourself (judge a face, check legibility, compare variations) use get_media instead, which attaches image blocks for up to 5 items.",
2940
2940
  inputSchema: {
2941
2941
  items: z.array(
2942
2942
  z.union([
@@ -4334,7 +4334,20 @@ var SERVER_INFO = {
4334
4334
  title: "ContentHero",
4335
4335
  version: PACKAGE_VERSION,
4336
4336
  websiteUrl: "https://contenthero.ai",
4337
- description: "Create, edit, schedule and publish content from your own AI assistant.",
4337
+ /**
4338
+ * ⭐ **THE CONVENTION IS THREE TO SIX WORDS, VERB-LED.** Measured against ChatGPT's own plugin
4339
+ * directory 2026-09-21: Canva "Create, review, edit designs", Firecrawl "Search and scrape the web",
4340
+ * Supabase "Manage and query databases". This said "...from your own AI assistant", which describes the
4341
+ * MECHANISM rather than the capability and is redundant when the thing reading it IS the AI assistant.
4342
+ *
4343
+ * ⛔⛔ **KEPT IN STEP WITH `@contenthero-ai/connect` BY A GUARD IN THE APP, NOT BY MEMORY.** The
4344
+ * installer has to offer this string for copy-paste because ChatGPT makes the user type it, and the two
4345
+ * packages CANNOT import each other: this one is public npm, that one is private GitHub Packages, and a
4346
+ * public package with a private dependency 404s for everyone who installs it. So the duplication is
4347
+ * forced, and `__tests__/lib/connect-description-parity.test.ts` in the app is the mechanism that keeps
4348
+ * it honest, since the app is the only consumer that depends on both.
4349
+ */
4350
+ description: "Create, edit, schedule and publish content",
4338
4351
  /**
4339
4352
  * ⭐⭐ **THE ICON, DECLARED RATHER THAN SCRAPED.**
4340
4353
  *
@@ -4344,7 +4357,15 @@ var SERVER_INFO = {
4344
4357
  * this gets the size and format from us instead of inferring them.
4345
4358
  */
4346
4359
  icons: [
4360
+ /**
4361
+ * ⚠️ SEVERAL SIZES, WHICH IS WHAT `sizes` IS FOR. A host rendering a ~48px card icon from a single
4362
+ * 512 has to downscale by more than 10x in one step, and a naive filter turns fine artwork soft. The
4363
+ * intermediate entries let it pick something closer. Offered rather than relied on: Gemini's card
4364
+ * looks equally soft for a flat square with no detail to lose, so the renderer is the likelier cause.
4365
+ */
4347
4366
  { src: "https://app.contenthero.ai/icon.png", mimeType: "image/png", sizes: ["512x512"] },
4367
+ { src: "https://app.contenthero.ai/icon-256.png", mimeType: "image/png", sizes: ["256x256"] },
4368
+ { src: "https://app.contenthero.ai/icon-128.png", mimeType: "image/png", sizes: ["128x128"] },
4348
4369
  { src: "https://app.contenthero.ai/favicon.svg", mimeType: "image/svg+xml", sizes: ["any"] }
4349
4370
  ]
4350
4371
  };