@casys/mcp-erpnext 3.1.0-beta.8 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +64 -73
- package/THIRD_PARTY_NOTICES.txt +1589 -0
- package/mcp-erpnext.mjs +1579 -2994
- package/package.json +4 -2
- package/ui-dist/chart-viewer/index.html +99 -58
- package/ui-dist/doclist-viewer/index.html +82 -44
- package/ui-dist/funnel-viewer/index.html +41 -42
- package/ui-dist/invoice-viewer/index.html +86 -42
- package/ui-dist/kanban-viewer/index.html +80 -42
- package/ui-dist/kpi-viewer/index.html +41 -42
- package/ui-dist/stock-viewer/index.html +80 -42
- package/ui-dist/doc-viewer/index.html +0 -116
|
@@ -4,77 +4,116 @@
|
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<title>Stock Viewer - mcp-erpnext</title>
|
|
7
|
-
<script type="module" crossorigin>(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))i(n);new MutationObserver(n=>{for(const o of n)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function r(n){const o={};return n.integrity&&(o.integrity=n.integrity),n.referrerPolicy&&(o.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?o.credentials="include":n.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function i(n){if(n.ep)return;n.ep=!0;const o=r(n);fetch(n.href,o)}})();var ri,ue,im,Dt,Iu,am,sm,za,To,Hn,cm,is,Ka,Wa,Oo={},Ao=[],cb=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,rr=Array.isArray;function xt(e,t){for(var r in t)e[r]=t[r];return e}function as(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function Bn(e,t,r){var i,n,o,a={};for(o in t)o=="key"?i=t[o]:o=="ref"?n=t[o]:a[o]=t[o];if(arguments.length>2&&(a.children=arguments.length>3?ri.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(o in e.defaultProps)a[o]===void 0&&(a[o]=e.defaultProps[o]);return Po(e,a,i,n,null)}function Po(e,t,r,i,n){var o={type:e,props:t,key:r,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:n??++im,__i:-1,__u:0};return n==null&&ue.vnode!=null&&ue.vnode(o),o}function Pe(e){return e.children}function $t(e,t){this.props=e,this.context=t}function Ft(e,t){if(t==null)return e.__?Ft(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?Ft(e):null}function lb(e){if(e.__P&&e.__d){var t=e.__v,r=t.__e,i=[],n=[],o=xt({},t);o.__v=t.__v+1,ue.vnode&&ue.vnode(o),ss(e.__P,o,t,e.__n,e.__P.namespaceURI,32&t.__u?[r]:null,i,r??Ft(t),!!(32&t.__u),n),o.__v=t.__v,o.__.__k[o.__i]=o,pm(i,o,n),t.__e=t.__=null,o.__e!=r&&lm(o)}}function lm(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),lm(e)}function zu(e){(!e.__d&&(e.__d=!0)&&Dt.push(e)&&!No.__r++||Iu!=ue.debounceRendering)&&((Iu=ue.debounceRendering)||am)(No)}function No(){try{for(var e,t=1;Dt.length;)Dt.length>t&&Dt.sort(sm),e=Dt.shift(),t=Dt.length,lb(e)}finally{Dt.length=No.__r=0}}function um(e,t,r,i,n,o,a,s,u,l,d){var p,m,f,h,g,v,w=i&&i.__k||Ao,S=t.length;for(u=ub(r,t,w,u,S),p=0;p<S;p++)(f=r.__k[p])!=null&&(m=f.__i!=-1&&w[f.__i]||Oo,f.__i=p,v=ss(e,f,m,n,o,a,s,u,l,d),h=f.__e,f.ref&&m.ref!=f.ref&&(m.ref&&cs(m.ref,null,f),d.push(f.ref,f.__c||h,f)),g==null&&h!=null&&(g=h),4&f.__u?(u=dm(f,u,e),m.__e&&(m.__e=null)):typeof f.type=="function"&&v!==void 0?u=v:h&&(u=h.nextSibling),f.__u&=-7);return r.__e=g,u}function ub(e,t,r,i,n){var o,a,s,u,l,d=r.length,p=d,m=0;for(e.__k=new Array(n),o=0;o<n;o++)(a=t[o])!=null&&typeof a!="boolean"&&typeof a!="function"?(typeof a=="string"||typeof a=="number"||typeof a=="bigint"||a.constructor==String?a=e.__k[o]=Po(null,a,null,null,null):rr(a)?a=e.__k[o]=Po(Pe,{children:a},null,null,null):a.constructor===void 0&&a.__b>0?a=e.__k[o]=Po(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):e.__k[o]=a,u=o+m,a.__=e,a.__b=e.__b+1,s=null,(l=a.__i=db(a,r,u,p))!=-1&&(p--,(s=r[l])&&(s.__u|=2)),s==null||s.__v==null?(l==-1&&(n>d?m--:n<d&&m++),typeof a.type!="function"&&(a.__u|=4)):l!=u&&(l==u-1?m--:l==u+1?m++:(l>u?m--:m++,a.__u|=4))):e.__k[o]=null;if(p)for(o=0;o<d;o++)(s=r[o])!=null&&(2&s.__u)==0&&(s.__e==i&&(i=Ft(s)),hm(s,s));return i}function dm(e,t,r){var i,n;if(typeof e.type=="function"){for(i=e.__k,n=0;i&&n<i.length;n++)i[n]&&(i[n].__=e,t=dm(i[n],t,r));return t}e.__e!=t&&(t&&e.type&&!t.parentNode&&(t=Ft(e)),t=r.insertBefore(e.__e,t||null));do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function Uo(e,t){return t=t||[],e==null||typeof e=="boolean"||(rr(e)?e.some(function(r){Uo(r,t)}):t.push(e)),t}function db(e,t,r,i){var n,o,a,s=e.key,u=e.type,l=t[r],d=l!=null&&(2&l.__u)==0;if(l===null&&s==null||d&&s==l.key&&u==l.type)return r;if(i>(d?1:0)){for(n=r-1,o=r+1;n>=0||o<t.length;)if((l=t[a=n>=0?n--:o++])!=null&&(2&l.__u)==0&&s==l.key&&u==l.type)return a}return-1}function Tu(e,t,r){t[0]=="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||cb.test(t)?r:r+"px"}function ho(e,t,r,i,n){var o,a;e:if(t=="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof i=="string"&&(e.style.cssText=i=""),i)for(t in i)r&&t in r||Tu(e.style,t,"");if(r)for(t in r)i&&r[t]==i[t]||Tu(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")o=t!=(t=t.replace(cm,"$1")),a=t.toLowerCase(),t=a in e||t=="onFocusOut"||t=="onFocusIn"?a.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=r,r?i?r[Hn]=i[Hn]:(r[Hn]=is,e.addEventListener(t,o?Wa:Ka,o)):e.removeEventListener(t,o?Wa:Ka,o);else{if(n=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&r==1?"":r))}}function Pu(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t[To]==null)t[To]=is++;else if(t[To]<r[Hn])return;return r(ue.event?ue.event(t):t)}}}function ss(e,t,r,i,n,o,a,s,u,l){var d,p,m,f,h,g,v,w,S,$,P,b,D,z,y,T,A=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(u=!!(32&r.__u),o=[s=t.__e=r.__e]),(d=ue.__b)&&d(t);e:if(typeof A=="function"){p=a.length;try{if(S=t.props,$=A.prototype&&A.prototype.render,P=(d=A.contextType)&&i[d.__c],b=d?P?P.props.value:d.__:i,r.__c?w=(m=t.__c=r.__c).__=m.__E:($?t.__c=m=new A(S,b):(t.__c=m=new $t(S,b),m.constructor=A,m.render=pb),P&&P.sub(m),m.state||(m.state={}),m.__n=i,f=m.__d=!0,m.__h=[],m._sb=[]),$&&m.__s==null&&(m.__s=m.state),$&&A.getDerivedStateFromProps!=null&&(m.__s==m.state&&(m.__s=xt({},m.__s)),xt(m.__s,A.getDerivedStateFromProps(S,m.__s))),h=m.props,g=m.state,m.__v=t,f)$&&A.getDerivedStateFromProps==null&&m.componentWillMount!=null&&m.componentWillMount(),$&&m.componentDidMount!=null&&m.__h.push(m.componentDidMount);else{if($&&A.getDerivedStateFromProps==null&&S!==h&&m.componentWillReceiveProps!=null&&m.componentWillReceiveProps(S,b),t.__v==r.__v||!m.__e&&m.shouldComponentUpdate!=null&&m.shouldComponentUpdate(S,m.__s,b)===!1){t.__v!=r.__v&&(m.props=S,m.state=m.__s,m.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(ne){ne&&(ne.__=t)}),Ao.push.apply(m.__h,m._sb),m._sb=[],m.__h.length&&a.push(m),s=Ft(r);break e}m.componentWillUpdate!=null&&m.componentWillUpdate(S,m.__s,b),$&&m.componentDidUpdate!=null&&m.__h.push(function(){m.componentDidUpdate(h,g,v)})}if(m.context=b,m.props=S,m.__P=e,m.__e=!1,D=ue.__r,z=0,$)m.state=m.__s,m.__d=!1,D&&D(t),d=m.render(m.props,m.state,m.context),Ao.push.apply(m.__h,m._sb),m._sb=[];else do m.__d=!1,D&&D(t),d=m.render(m.props,m.state,m.context),m.state=m.__s;while(m.__d&&++z<25);m.state=m.__s,m.getChildContext!=null&&(i=xt(xt({},i),m.getChildContext())),$&&!f&&m.getSnapshotBeforeUpdate!=null&&(v=m.getSnapshotBeforeUpdate(h,g)),y=d!=null&&d.type===Pe&&d.key==null?fm(d.props.children):d,s=um(e,rr(y)?y:[y],t,r,i,n,o,a,s,u,l),m.base=t.__e,t.__u&=-161,m.__h.length&&a.push(m),w&&(m.__E=m.__=null)}catch(ne){if(a.length=p,t.__v=null,u||o!=null){if(ne.then){for(t.__u|=u?160:128;s&&s.nodeType==8&&s.nextSibling;)s=s.nextSibling;o!=null&&(o[o.indexOf(s)]=null),t.__e=s}else if(o!=null)for(T=o.length;T--;)as(o[T])}else t.__e=r.__e;t.__k==null&&(t.__k=r.__k||[]),ne.then||mm(t),ue.__e(ne,t,r)}}else o==null&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):s=t.__e=mb(r.__e,t,r,i,n,o,a,u,l);return(d=ue.diffed)&&d(t),128&t.__u?void 0:s}function mm(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(mm))}function pm(e,t,r){for(var i=0;i<r.length;i++)cs(r[i],r[++i],r[++i]);ue.__c&&ue.__c(t,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(o){o.call(n)})}catch(o){ue.__e(o,n.__v)}})}function fm(e){return typeof e!="object"||e==null||e.__b>0?e:rr(e)?e.map(fm):e.constructor!==void 0?null:xt({},e)}function mb(e,t,r,i,n,o,a,s,u){var l,d,p,m,f,h,g,v=r.props||Oo,w=t.props,S=t.type;if(S=="svg"?n="http://www.w3.org/2000/svg":S=="math"?n="http://www.w3.org/1998/Math/MathML":n||(n="http://www.w3.org/1999/xhtml"),o!=null){for(l=0;l<o.length;l++)if((f=o[l])&&"setAttribute"in f==!!S&&(S?f.localName==S:f.nodeType==3)){e=f,o[l]=null;break}}if(e==null){if(S==null)return document.createTextNode(w);e=document.createElementNS(n,S,w.is&&w),s&&(ue.__m&&ue.__m(t,o),s=!1),o=null}if(S==null)v===w||s&&e.data==w||(e.data=w);else{if(o=S=="textarea"&&w.defaultValue!=null?null:o&&ri.call(e.childNodes),!s&&o!=null)for(v={},l=0;l<e.attributes.length;l++)v[(f=e.attributes[l]).name]=f.value;for(l in v)f=v[l],l=="dangerouslySetInnerHTML"?p=f:l=="children"||l in w||l=="value"&&"defaultValue"in w||l=="checked"&&"defaultChecked"in w||ho(e,l,null,f,n);for(l in w)f=w[l],l=="children"?m=f:l=="dangerouslySetInnerHTML"?d=f:l=="value"?h=f:l=="checked"?g=f:s&&typeof f!="function"||v[l]===f||ho(e,l,f,v[l],n);if(d)s||p&&(d.__html==p.__html||d.__html==e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(p&&(e.innerHTML=""),um(t.type=="template"?e.content:e,rr(m)?m:[m],t,r,i,S=="foreignObject"?"http://www.w3.org/1999/xhtml":n,o,a,o?o[0]:r.__k&&Ft(r,0),s,u),o!=null)for(l=o.length;l--;)as(o[l]);s&&S!="textarea"||(l="value",S=="progress"&&h==null?e.removeAttribute("value"):h!=null&&(h!==e[l]||S=="progress"&&!h||S=="option"&&h!=v[l])&&ho(e,l,h,v[l],n),l="checked",g!=null&&g!=e[l]&&ho(e,l,g,v[l],n))}return e}function cs(e,t,r){try{if(typeof e=="function"){var i=typeof e.__u=="function";i&&e.__u(),i&&t==null||(e.__u=e(t))}else e.current=t}catch(n){ue.__e(n,r)}}function hm(e,t,r){var i,n;if(ue.unmount&&ue.unmount(e),(i=e.ref)&&(i.current&&i.current!=e.__e||cs(i,null,t)),(i=e.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(o){ue.__e(o,t)}i.base=i.__P=i.__n=null}if(i=e.__k)for(n=0;n<i.length;n++)i[n]&&hm(i[n],t,r||typeof e.type!="function");r||as(e.__e),e.__c=e.__=e.__e=void 0}function pb(e,t,r){return this.constructor(e,r)}function Ga(e,t,r){var i,n,o,a;t==document&&(t=document.documentElement),ue.__&&ue.__(e,t),n=(i=!1)?null:t.__k,o=[],a=[],ss(t,e=t.__k=Bn(Pe,null,[e]),n||Oo,Oo,t.namespaceURI,n?null:t.firstChild?ri.call(t.childNodes):null,o,n?n.__e:t.firstChild,i,a),pm(o,e,a),e.props.children=null}ri=Ao.slice,ue={__e:function(e,t,r,i){for(var n,o,a;t=t.__;)if((n=t.__c)&&!n.__)try{if((o=n.constructor)&&o.getDerivedStateFromError!=null&&(n.setState(o.getDerivedStateFromError(e)),a=n.__d),n.componentDidCatch!=null&&(n.componentDidCatch(e,i||{}),a=n.__d),a)return n.__E=n}catch(s){e=s}throw e}},im=0,$t.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=xt({},this.state),typeof e=="function"&&(e=e(xt({},r),this.props)),e&&xt(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),zu(this))},$t.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),zu(this))},$t.prototype.render=Pe,Dt=[],am=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,sm=function(e,t){return e.__v.__b-t.__v.__b},No.__r=0,za=Math.random().toString(8),To="__d"+za,Hn="__a"+za,cm=/(PointerCapture)$|Capture$/i,is=0,Ka=Pu(!1),Wa=Pu(!0);var fb=0;function c(e,t,r,i,n,o){t||(t={});var a,s,u=t;if("ref"in u)for(s in u={},t)s=="ref"?a=t[s]:u[s]=t[s];var l={type:e,props:u,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--fb,__i:-1,__u:0,__source:n,__self:o};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)u[s]===void 0&&(u[s]=a[s]);return ue.vnode&&ue.vnode(l),l}var qt,De,Ta,ju,Vn=0,vm=[],Ae=ue,Eu=Ae.__b,Du=Ae.__r,Cu=Ae.diffed,Ou=Ae.__c,Au=Ae.unmount,Nu=Ae.__;function or(e,t){Ae.__h&&Ae.__h(De,e,Vn||t),Vn=0;var r=De.__H||(De.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function ie(e){return Vn=1,hb(gm,e)}function hb(e,t,r){var i=or(qt++,2);if(i.t=e,!i.__c&&(i.__=[r?r(t):gm(void 0,t),function(s){var u=i.__N?i.__N[0]:i.__[0],l=i.t(u,s);u!==l&&(i.__N=[l,i.__[1]],i.__c.setState({}))}],i.__c=De,!De.__f)){var n=function(s,u,l){if(!i.__c.__H)return!0;var d=!1,p=i.__c.props!==s;if(i.__c.__H.__.some(function(f){if(f.__N){d=!0;var h=f.__[0];f.__=f.__N,f.__N=void 0,h!==f.__[0]&&(p=!0)}}),o){var m=o.call(this,s,u,l);return d?m||p:m}return!d||p};De.__f=!0;var o=De.shouldComponentUpdate,a=De.componentWillUpdate;De.componentWillUpdate=function(s,u,l){if(this.__e){var d=o;o=void 0,n(s,u,l),o=d}a&&a.call(this,s,u,l)},De.shouldComponentUpdate=n}return i.__N||i.__}function Ie(e,t){var r=or(qt++,3);!Ae.__s&&ls(r.__H,t)&&(r.__=e,r.u=t,De.__H.__h.push(r))}function wt(e,t){var r=or(qt++,4);!Ae.__s&&ls(r.__H,t)&&(r.__=e,r.u=t,De.__h.push(r))}function ge(e){return Vn=5,Ve(function(){return{current:e}},[])}function Ve(e,t){var r=or(qt++,7);return ls(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function Ce(e,t){return Vn=8,Ve(function(){return e},t)}function vb(){var e=or(qt++,11);if(!e.__){for(var t=De.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function gb(){for(var e;e=vm.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(jo),t.__h.some(Ya),t.__h=[]}catch(r){t.__h=[],Ae.__e(r,e.__v)}}}Ae.__b=function(e){De=null,Eu&&Eu(e)},Ae.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Nu&&Nu(e,t)},Ae.__r=function(e){Du&&Du(e),qt=0;var t=(De=e.__c).__H;t&&(Ta===De?(t.__h=[],De.__h=[],t.__.some(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.some(jo),t.__h.some(Ya),t.__h=[],qt=0)),Ta=De},Ae.diffed=function(e){Cu&&Cu(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(vm.push(t)!==1&&ju===Ae.requestAnimationFrame||((ju=Ae.requestAnimationFrame)||bb)(gb)),t.__H.__.some(function(r){r.u&&(r.__H=r.u,r.u=void 0)})),Ta=De=null},Ae.__c=function(e,t){t.some(function(r){try{r.__h.some(jo),r.__h=r.__h.filter(function(i){return!i.__||Ya(i)})}catch(i){t.some(function(n){n.__h&&(n.__h=[])}),t=[],Ae.__e(i,r.__v)}}),Ou&&Ou(e,t)},Ae.unmount=function(e){Au&&Au(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.some(function(i){try{jo(i)}catch(n){t=n}}),r.__H=void 0,t&&Ae.__e(t,r.__v))};var Uu=typeof requestAnimationFrame=="function";function bb(e){var t,r=function(){clearTimeout(i),Uu&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(r,35);Uu&&(t=requestAnimationFrame(r))}function jo(e){var t=De,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),De=t}function Ya(e){var t=De;e.__c=e.__(),De=t}function ls(e,t){return!e||e.length!==t.length||t.some(function(r,i){return r!==e[i]})}function gm(e,t){return typeof t=="function"?t(e):t}const us="—",_b="fr-FR";let bm=()=>{};function yb(e){bm=e}function ds(){const e=bm();return typeof e=="string"&&e.length>0?e:typeof navigator<"u"&&navigator.language?navigator.language:_b}function oi(e){if(typeof e=="number")return Number.isFinite(e)?e:null;if(typeof e=="string"&&e.trim()!==""){const t=Number(e);return Number.isFinite(t)?t:null}return null}function pt(e,t=2){const r=oi(e);return r===null?us:r.toLocaleString(ds(),{minimumFractionDigits:t,maximumFractionDigits:t})}function sn(e){return pt(e,0)}function Ro(e,t){const r=oi(e);if(r===null)return us;const i=ds();if(!t)return r.toLocaleString(i,{minimumFractionDigits:2,maximumFractionDigits:2});try{return r.toLocaleString(i,{style:"currency",currency:t,minimumFractionDigits:2,maximumFractionDigits:2})}catch{return`${pt(r,2)} ${t}`}}function _m(e,t=0){const r=oi(e);return r===null?us:(r/100).toLocaleString(ds(),{style:"percent",minimumFractionDigits:t,maximumFractionDigits:t})}const ym={"common.loading":"Loading…","common.refreshing":"Refreshing…","common.refresh":"Refresh","common.close":"Close","common.cancel":"Cancel","common.submit":"Submit","common.back":"Back","common.retry":"Retry","common.no_data":"No data available","common.no_assignee":"No assignee","common.filter.placeholder":"filter","common.filter.label":"Filter documents","common.pagination.prev":"Previous page","common.pagination.next":"Next page","common.error.refresh_failed":"Refresh failed","common.error.refresh_no_data":"Refresh returned no data","common.error.parse_failed":"Failed to parse payload","common.error.load_failed":"Failed to load","common.progress.label":"Progress","common.assignees.label":"Assignees","document.header":"Document header","document.docstatus":"docstatus {value}","document.sections":"Document sections","document.fields":"Fields","document.attachments":"Attachments","document.surface":"Document {name}","document.sidebar":"Document actions and attachments","document.empty_value":"—","document.boolean.true":"Yes","document.boolean.false":"No","document.progress_value":"{value}%","document.system_fields":"System fields","document.table.no_columns":"No displayable columns","document.json":"Raw document JSON","document.action.refresh_pending":"Change committed — refresh is still pending","document.purchase_invoice.total":"Invoice total","document.purchase_invoice.calculated":"Calculated","document.purchase_invoice.rounding":"Rounding","document.purchase_invoice.details":"Rounding details","document.purchase_invoice.disable_rounded_total":"Disable Rounded Total","document.purchase_invoice.hint.draft":"To keep the calculated total, enable “{label}” on the draft invoice, then save and review its total.","document.purchase_invoice.hint.submitted":"“{label}” applies before submission. Enable it on future invoices to keep the calculated total.","document.purchase_invoice.aria.adds":"Rounding adds {amount} to the invoice total","document.purchase_invoice.aria.reduces":"Rounding reduces the invoice total by {amount}","document.purchase_invoice.aria.adjustment":"Rounding adjustment {signed}","document.purchase_invoice.submit.unconfirmed":"Submission could not be confirmed. Inspect the same invoice before retrying.","document.purchase_invoice.submit.transport":"Submit response was not received. Inspect the same invoice before retrying; submission is unconfirmed.","document.attachments.add":"Add file","document.attachments.refresh":"Refresh attachments","document.attachments.loading":"Loading attachments…","document.attachments.empty":"No attachments yet","document.attachments.unavailable":"Attachments are not available in this host","document.attachments.private":"Private","document.attachments.public":"Public","document.attachments.privacy":"Attachment privacy","document.attachments.privacy_private":"Private attachment. Activate to make it public","document.attachments.privacy_public":"Public attachment. Activate to make it private","document.attachments.private_hint":"Only authenticated ERPNext users with access can retrieve this file","document.attachments.public_hint":"ERPNext will expose this file from its public files area","document.attachments.download":"Download {name}","document.attachments.download_short":"Download","document.attachments.download_in_progress":"Downloading attachment…","document.attachments.preview":"Preview {name}","document.attachments.preview_loading":"Preparing preview…","document.attachments.preview_loading_name":"Preparing {name}…","document.attachments.preview_pdf":"PDF preview of {name}","document.attachments.preview_truncated":"Only the beginning of this text file is shown","document.attachments.preview_unsupported":"This format is not displayed inside the viewer","document.attachments.preview_download_fallback":"You can still download the original file","document.attachments.context_add":"Add to context","document.attachments.context_added":"In context","document.attachments.context_update":"Update context","document.attachments.context_sharing":"Adding…","document.attachments.context_note":"Optional context note","document.attachments.context_note_placeholder":"What should the model pay attention to?","document.attachments.context_entire_file":"Entire attachment","document.attachments.context_error":"The host could not update the model context","document.attachments.reading":"Reading file…","document.attachments.reading_progress":"Reading {value}%","document.attachments.uploading":"Uploading…","document.attachments.relisting":"Verifying…","document.attachments.dismiss_error":"Dismiss attachment error","document.attachments.error.list":"Could not load attachments","document.attachments.error.upload":"Could not upload this file","document.attachments.error.too_large":"This file exceeds the {limit} MB upload limit","document.attachments.error.relist":"File added, but the attachment list could not be verified","document.attachments.error.download":"Could not download this file","document.attachments.error.preview":"Could not preview this file","document.attachments.error.host_denied":"The host cancelled or refused the download","layout.live":"live","status.unknown":"Unknown","chart.loading":"Loading chart…","chart.empty.message":"No chart data — run an analytics tool to load a chart","chart.pie.no_data":"No data for this chart","chart.pie.all_zero":"All values are zero","chart.donut.total_label":"Total","chart.scatter.no_data":"No scatter data","chart.treemap.no_data":"No treemap data","chart.error.parse_failed":"Failed to parse chart data","chart.keyboard.target":"{label} · {series} · {value}","chart.keyboard.target_single":"{label} · {value}","chart.keyboard.help":"Left and right change the point; up and down change the series; Space adds it to context; Enter opens or closes available details.","chart.keyboard.help_context":"Left and right change the point; up and down change the series; Space adds it to context.","chart.keyboard.help_detail":"Left and right change the point; up and down change the series; Enter opens or closes available details.","chart.keyboard.help_navigation":"Left and right change the point; up and down change the series.","chart.keyboard.control":"Explore chart: {target}. {help}","chart.context.visible_label":"{title} · visible chart","chart.context.select_visible":"Add the visible subset of {title} to active context","chart.legend.aria":"Visible chart series","chart.legend.hide":"Hide {series}","chart.legend.show":"Show {series}","chart.legend.last_visible":"{series} is the last visible series","stock.title":"Stock Balance","stock.loading":"Loading stock…","stock.no_data":"No stock data — run a stock query to see levels","stock.filter.no_results":"No matching entries","stock.error.tool_error":"Tool returned an error","stock.col.item":"Item","stock.col.qty":"Qty","stock.col.actual":"Actual","stock.col.reserved":"Reserved","stock.col.projected":"Projected","stock.col.rate":"Rate","stock.col.value":"Value","stock.footer.total_value":"Total stock value","stock.detail.loading":"Loading item…","stock.detail.label.name":"Name","stock.detail.label.group":"Group","stock.detail.label.uom":"Unit","stock.detail.label.rate":"Base price","stock.detail.recent_movements":"Recent movements","stock.detail.action.chart":"Stock chart","stock.detail.action.item":"Item sheet","stock.detail.action.entries":"Stock entries","kpi.skeleton.label":"loading","kpi.empty.title":"No KPI data available","kpi.empty.hint":"Run a KPI analytics tool to display metrics","kpi.drilldown.aria_detail":"View {label} details","kpi.drilldown.aria_trend":"View {label} trend","kpi.sparkline.weeks":"{n} weeks","kpi.sparkline.trend_label":"trend →","kpi.delta.vs_label":"vs","kpi.status.auto_refresh":"Auto-refresh on focus","kpi.drilldown.title_detail":"Click to drill down","kpi.drilldown.title_trend":"Click to see trend details","invoice.loading":"Loading invoice…","invoice.no_data":"No invoice data","invoice.error.tool_error":"Tool returned an error","invoice.error.parse_failed":"Failed to parse invoice payload","invoice.error.refresh_failed":"Refresh failed","invoice.error.action_failed":"Action failed","invoice.action.submitted":"Submitted","invoice.action.cancelled":"Cancelled","invoice.preview.title":"Preview — no host","invoice.header.outstanding":"outstanding","invoice.header.due":"due {date}","invoice.table.col.item":"item","invoice.table.col.qty":"qty","invoice.table.col.rate":"rate","invoice.table.col.amount":"amount","invoice.totals.subtotal":"subtotal","invoice.totals.taxes":"taxes","invoice.totals.grand_total":"grand total","invoice.btn.related.title":"Open {label}","invoice.btn.submit.title":"Submit invoice","invoice.btn.submit.label":"Submit","invoice.btn.cancel.title":"Cancel invoice","invoice.btn.cancel.label":"Cancel","invoice.lines.count":"{n} line{s}","invoice.item.error.load_failed":"Failed to load item","invoice.item.position":"line {n} of {total}","invoice.item.close.aria_label":"Close item detail","invoice.item.loading":"Loading item…","invoice.item.uom":"unit","invoice.item.warehouse":"warehouse","invoice.item.vat":"vat","invoice.item.available":"avail.","invoice.item.btn.stock.title":"View item stock","invoice.item.btn.stock.label":"Full stock view","invoice.item.btn.details.title":"View item details","invoice.item.btn.details.label":"Item details","invoice.item.label.name":"Name","invoice.item.label.group":"Group","invoice.item.label.uom":"UOM","invoice.item.label.std_rate":"Std Rate","invoice.item.label.stock":"Stock","invoice.party.type.customer":"Customer","invoice.party.type.supplier":"Supplier","invoice.status.paid":"Paid","invoice.status.unpaid":"Unpaid","invoice.header.date":"Date","invoice.header.due_label":"Due","funnel.loading":"Loading funnel…","funnel.empty":"No funnel data — run the sales funnel tool","funnel.empty.title":"No funnel data","funnel.empty.hint":"Run the sales funnel tool to visualize your pipeline","funnel.conversion.end_to_end":"{rate}% end to end","funnel.conversion.overall":"Overall Conversion","funnel.autorefresh":"Auto-refresh on focus","funnel.stage.click_to_see":"Click to see {label}","funnel.stage.aria_open":"Open {label}, {count}","funnel.stage.aria_context":"Add {label}, {count}, to active context","funnel.stage.aria_ask":"Ask about {label}, {count}","funnel.error.parse_failed":"Failed to parse funnel payload","funnel.drill_down.leads":"Show all leads","funnel.drill_down.opportunities":"Show all open opportunities","funnel.drill_down.quotations":"Show all quotations","funnel.drill_down.orders":"Show all sales orders","doclist.empty.message":"No document to display — query a DocType to see results","doclist.error.tool_error":"Tool returned an error","doclist.error.parse_payload":"Failed to parse document list","doclist.error.load_details":"Failed to load details","doclist.title.default":"Documents","doclist.preview.no_refresh":"Preview — no host to refresh","doclist.preview.no_host":"Preview — no host","doclist.chips.all":"all {n}","doclist.chips.filter_count":"{n} filter{s}","doclist.chips.row_count":"{n} row{s}","doclist.table.no_match":"No document matches","doclist.table.header.id":"ref","doclist.table.header.party":"party","doclist.table.header.due":"due","doclist.detail.action_failed":"Action failed","doclist.detail.document_fallback":"Document","doclist.detail.array_count":"{n} row{s}","doclist.detail.full_detail":"Full detail","doclist.detail.full_detail_message":"Show me the full detail of {doctype} {id}","doclist.detail.action.submit_ok":"Submitted","doclist.detail.action.submit_title":"Submit document","doclist.detail.action.cancel_ok":"Cancelled","doclist.detail.action.cancel_label":"Cancel document","doclist.detail.back_to_list":"Back to list","doclist.detail.inspector_label":"details","doclist.detail.close_inspector":"Close details","doclist.detail.back_list_label":"‹ list","drill.context":"Active selection in “{view}”: {label}{value}.","drill.shared":"Selection shared — ask for details in the conversation","drill.sent":"Sent to the conversation","message.sending":"Sending…","message.send_error":"Could not send to the conversation","context.active.label":"Context","context.active.items":"Active context selections","context.active.select":"Add {label} to active context","context.active.clear":"Remove {label} from active context","context.active.clear_all":"Clear all","context.active.error":"Context not updated","context.active.pending":"Updating context…","context.active.evicted":"8 max · removed {label}","interaction.detail.open":"Open details for {label}","interaction.detail.close":"Close details for {label}","interaction.detail.open_hint":"Details · double-click","interaction.detail.close_hint":"Close · double-click","document.row.open_actions":"Click or Space to add {label} to context · double-click or Enter to show its actions","document.row.close_actions":"Click or Space to add {label} to context · double-click or Enter to close its actions","document.row.open_actions_only":"Double-click or press Enter to show actions for {label}","document.row.close_actions_only":"Double-click or press Enter to close actions for {label}","document.row.open_detail":"Click or Space to add {label} to context · double-click or Enter to open its details","document.row.close_detail":"Click or Space to add {label} to context · double-click or Enter to close its details","document.row.open_detail_only":"Double-click or press Enter to open details for {label}","document.row.close_detail_only":"Double-click or press Enter to close details for {label}","chart.tooltip.click_action_context":"click + context · 2× details","chart.tooltip.click_action_context_only":"click + context","chart.tooltip.click_action_fallback":"2× details","nav.back":"Back","nav.elided":"…{n}","nav.elided_title":"Kept levels","nav.kind.list":"list","nav.kind.record":"record","nav.kind.chart":"chart","nav.loading":"call","nav.ui.sort":"sort {key} {dir}","nav.ui.page":"page {n}","nav.ui.active":"{id} active","nav.ui.filter":"filter “{q}”","nav.goto":"go to","nav.ask":"Ask a question","nav.linked_to":"linked to {id}","nav.of":"{n} of {total}","nav.stale_values":"values as of {at}","nav.refresh":"refresh","nav.stale_title":"An action deeper in the stack changed what this level shows.","nav.trail":"Navigation trail","kanban.nav.edit_card":"edit {id}","nav.bar_click":"click: one more level","nav.unexpected_body":"This level received an unexpected body.","confirm.eyebrow":"Irreversible action","invoice.confirm.cancel.detail":"The invoice will be set to Cancelled and its payments unlinked. ERPNext cannot undo this: the invoice would have to be amended.","invoice.confirm.cancel.action":"Cancel the invoice","invoice.confirm.submit.detail":"The invoice will be submitted and frozen: only a cancellation followed by an amendment can change it afterwards.","invoice.confirm.submit.detail_with_amount":"The invoice will be submitted for {amount} and frozen: only a cancellation followed by an amendment can change it afterwards.","invoice.confirm.submit.action":"Submit the invoice","invoice.confirm.submit.action_with_amount":"Submit {amount}","doclist.confirm.cancel.detail":"The document will be set to Cancelled and its links undone. ERPNext cannot undo this.","doclist.confirm.cancel.action":"Cancel the document","doclist.confirm.submit.detail":"The document will be submitted and frozen: only a cancellation followed by an amendment can change it afterwards.","doclist.confirm.submit.detail_with_amount":"The document will be submitted for {amount} and frozen: only a cancellation followed by an amendment can change it afterwards.","doclist.confirm.submit.action":"Submit the document","doclist.confirm.submit.action_with_amount":"Submit {amount}","invoice.confirm.submit":"Submit this invoice?","invoice.confirm.cancel":"Cancel this invoice?","doclist.confirm.submit":"Submit this document?","doclist.confirm.cancel":"Cancel this document?","doclist.hint.orders":"Orders","doclist.hint.invoices":"Invoices","doclist.hint.invoice":"Invoice","doclist.hint.delivery":"Delivery","doclist.hint.deliveries":"Delivery notes","doclist.hint.payments":"Payments","doclist.hint.stock":"Stock","doclist.hint.po":"Purchase orders","doclist.hint.receipt":"Receipt","doclist.hint.attendance":"Attendance","doclist.hint.leaves":"Leaves","doclist.hint.tasks":"Tasks","doclist.hint.timesheets":"Timesheets","doclist.hint.opportunities":"Opportunities","doclist.hint.customer":"Customer","doclist.hint.supplier":"Supplier","doclist.hint.lead":"Lead","doclist.hint.item":"Item","doclist.hint.movements":"Stock entries","doclist.hint.warehouse":"Warehouse stock","doclist.hint.sales_orders_month":"Sales orders this month","doclist.hint.revenue_trend":"Revenue trend","doclist.hint.unpaid_invoices":"Unpaid invoices","doclist.hint.receivables_aging":"Receivables aging","doclist.hint.order_breakdown":"Order breakdown","doclist.hint.gross_profit_items":"Gross profit by item","doclist.hint.profit_loss":"Profit and loss","doclist.hint.overdue_invoices":"Overdue invoices","doclist.hint.leads":"Leads","doclist.hint.quotations":"Quotations","doclist.hint.sales_orders":"Sales orders","common.error.refresh_timeout":"Refresh timed out","common.error.no_payload":"No text payload returned by tool call","common.error.tool_failed":"Tool call failed","common.error.no_proxy":"Host does not support proxied server tool calls","kanban.error.user_list":"Could not read the user list returned by the server","common.yes":"Yes","common.no":"No","kanban.error.move_timeout":"Move timed out, please retry.","kanban.nav.view_list.message":"Show me a list view of {doctype} {id}","kanban.nav.timesheets.message":"Show timesheets for task {id}","kanban.nav.quotations.message":"Show quotations linked to opportunity {id}","kanban.nav.tasks.message":"Show tasks related to issue {id}","stock.nav.chart.message":"Show the stock chart for item {itemCode}","stock.nav.details.message":"Show me the full record of item {itemCode}","stock.nav.entries.message":"Show stock entries for item {itemCode}","common.total":"total","invoice.item.stock.message":"Show the stock of item {itemCode}","invoice.item.details.message":"Show me the full record of item {itemCode}","kanban.loading":"Loading board…","kanban.no_data":"No kanban data available","kanban.column.empty":"No cards in {label}","kanban.card.milestone":"milestone","kanban.card.aria_options":"Options for {title}","kanban.card.due":"due {date}","kanban.card.overdue":"{n} d overdue","kanban.card.aria_move":"Move {title} to {label}","kanban.nav.prev_column":"Previous column","kanban.nav.next_column":"Next column","kanban.live.moved":"Moved {title} to {label}","kanban.live.moving":"Moving {title} to {label}","kanban.live.queued":"{title} queued for {label}","kanban.live.move_not_allowed":"Move to {label} is not allowed","kanban.error.no_payload":"No kanban data received","kanban.error.parse_failed":"Failed to parse kanban data","kanban.error.connect_failed":"Failed to connect to MCP host","kanban.error.detail_no_payload":"No detail data received","kanban.error.detail_fetch_failed":"Failed to load card detail","kanban.error.drag_drop":"Failed to process drag and drop","kanban.error.move_failed":"Move failed","kanban.modal.move_to":"Move to","kanban.modal.save":"Save","kanban.modal.saving":"Saving…","kanban.modal.saved":"Saved","kanban.modal.save_error":"Failed to save","kanban.modal.discard.title":"Discard unsaved changes?","kanban.modal.discard.detail":"This card has changes that have not been saved. Go back to keep editing, or discard them to continue.","kanban.modal.discard.action":"Discard and close","kanban.modal.discard.move_action":"Discard and move","kanban.modal.discard.continue_action":"Discard and continue","kanban.modal.section.general":"general","kanban.modal.section.progress":"progress","kanban.modal.section.assignees":"assignees","kanban.section.dates":"dates","kanban.section.time":"workload and time","kanban.section.financial":"financial","kanban.section.people":"people","kanban.section.details":"other","kanban.modal.nav.view_list":"View in list","kanban.modal.nav.timesheets":"Timesheets","kanban.modal.nav.quotations":"Quotations","kanban.modal.nav.related_tasks":"Related tasks","kanban.modal.bool.yes":"Yes","kanban.modal.bool.no":"No","kanban.modal.milestone.set_title":"Set as milestone","kanban.modal.milestone.remove_title":"Milestone (click to remove)","kanban.assignees.remove_aria":"Remove {email}","kanban.assignees.select_label":"Assign to a user","kanban.assignees.placeholder_error":"Users unavailable","kanban.assignees.placeholder_select":"Assign to…","kanban.assignees.assigning":"Assigning…","kanban.assignees.assign_btn":"Assign","kanban.assignees.error.load_users":"Failed to load users","kanban.assignees.error.assign":"Failed to assign","kanban.assignees.error.unassign":"Failed to remove assignee","kanban.field.name":"ID","kanban.field.subject":"subject","kanban.field.status":"status","kanban.field.priority":"priority","kanban.field.project":"project","kanban.field.progress":"progress","kanban.field.description":"description","kanban.field.exp_start_date":"start date","kanban.field.exp_end_date":"due date","kanban.field.expected_time":"estimated (h)","kanban.field.actual_time":"actual time (h)","kanban.field.is_milestone":"milestone","kanban.field.task_weight":"weight","kanban.field.total_costing_amount":"cost","kanban.field.total_billing_amount":"billing","kanban.field.start":"start","kanban.field.duration":"duration","kanban.field.title":"title","kanban.field.opportunity_from":"source type","kanban.field.party_name":"party","kanban.field.opportunity_amount":"amount","kanban.field.currency":"currency","kanban.field.probability":"probability (%)","kanban.field.opportunity_owner":"owner","kanban.field.expected_closing":"expected closing","kanban.field.transaction_date":"creation date","kanban.field.contact_person":"contact","kanban.field.source":"source","kanban.field.customer":"customer","kanban.field.raised_by":"created by","kanban.field.resolution_by":"SLA deadline","kanban.field.opening_date":"opening date","kanban.field.resolution_date":"resolution","kanban.field.first_responded_on":"first response","kanban.select.priority.Low":"Low","kanban.select.priority.Medium":"Medium","kanban.select.priority.High":"High","kanban.select.priority.Urgent":"Urgent","kanban.select.opportunity_from.Lead":"Lead","kanban.select.opportunity_from.Customer":"Customer"},kb={"common.loading":"Chargement…","common.refreshing":"Rafraîchissement…","common.refresh":"Rafraîchir","common.close":"Fermer","common.cancel":"Annuler","common.submit":"Soumettre","common.back":"Retour","common.retry":"Réessayer","common.no_data":"Aucune donnée disponible","common.no_assignee":"Aucun responsable","common.filter.placeholder":"filtrer","common.filter.label":"Filtrer les documents","common.pagination.prev":"Page précédente","common.pagination.next":"Page suivante","common.error.refresh_failed":"Rafraîchissement échoué","common.error.refresh_no_data":"Le rafraîchissement n'a retourné aucune donnée","common.error.parse_failed":"Impossible de lire la réponse","common.error.load_failed":"Chargement impossible","common.progress.label":"Progression","common.assignees.label":"Responsables","document.header":"En-tête du document","document.docstatus":"docstatus {value}","document.sections":"Sections du document","document.fields":"Champs","document.attachments":"Pièces jointes","document.surface":"Document {name}","document.sidebar":"Actions et pièces jointes du document","document.empty_value":"—","document.boolean.true":"Oui","document.boolean.false":"Non","document.progress_value":"{value} %","document.system_fields":"Champs système","document.table.no_columns":"Aucune colonne affichable","document.json":"JSON brut du document","document.action.refresh_pending":"Modification enregistrée — le rafraîchissement reste en attente","document.purchase_invoice.total":"Total facture","document.purchase_invoice.calculated":"Calculé","document.purchase_invoice.rounding":"Arrondi","document.purchase_invoice.details":"Détail de l'arrondi","document.purchase_invoice.disable_rounded_total":"Disable Rounded Total","document.purchase_invoice.hint.draft":"Pour conserver le total calculé, activez « {label} » sur le brouillon, puis enregistrez et revérifiez le total.","document.purchase_invoice.hint.submitted":"« {label} » s'applique avant la soumission. Activez-le sur les factures futures pour conserver le total calculé.","document.purchase_invoice.aria.adds":"L'arrondi ajoute {amount} au total de la facture","document.purchase_invoice.aria.reduces":"L'arrondi diminue le total de la facture de {amount}","document.purchase_invoice.aria.adjustment":"Ajustement d'arrondi {signed}","document.purchase_invoice.submit.unconfirmed":"La soumission n'a pas pu être confirmée. Inspectez la même facture avant de réessayer.","document.purchase_invoice.submit.transport":"La réponse de soumission n'a pas été reçue. Inspectez la même facture avant de réessayer ; la soumission n'est pas confirmée.","document.attachments.add":"Ajouter un fichier","document.attachments.refresh":"Rafraîchir les pièces jointes","document.attachments.loading":"Chargement des pièces jointes…","document.attachments.empty":"Aucune pièce jointe","document.attachments.unavailable":"Les pièces jointes ne sont pas disponibles dans cet hôte","document.attachments.private":"Privé","document.attachments.public":"Public","document.attachments.privacy":"Confidentialité de la pièce jointe","document.attachments.privacy_private":"Pièce jointe privée. Activer pour la rendre publique","document.attachments.privacy_public":"Pièce jointe publique. Activer pour la rendre privée","document.attachments.private_hint":"Seuls les utilisateurs ERPNext authentifiés et autorisés pourront récupérer ce fichier","document.attachments.public_hint":"ERPNext exposera ce fichier depuis son espace de fichiers publics","document.attachments.download":"Télécharger {name}","document.attachments.download_short":"Télécharger","document.attachments.download_in_progress":"Téléchargement de la pièce jointe…","document.attachments.preview":"Prévisualiser {name}","document.attachments.preview_loading":"Préparation de l'aperçu…","document.attachments.preview_loading_name":"Préparation de {name}…","document.attachments.preview_pdf":"Aperçu PDF de {name}","document.attachments.preview_truncated":"Seul le début de ce fichier texte est affiché","document.attachments.preview_unsupported":"Ce format ne peut pas être affiché dans le viewer","document.attachments.preview_download_fallback":"Le fichier original reste téléchargeable","document.attachments.context_add":"Ajouter au contexte","document.attachments.context_added":"Dans le contexte","document.attachments.context_update":"Actualiser le contexte","document.attachments.context_sharing":"Ajout…","document.attachments.context_note":"Note de contexte facultative","document.attachments.context_note_placeholder":"Sur quoi le modèle doit-il porter son attention ?","document.attachments.context_entire_file":"Pièce jointe complète","document.attachments.context_error":"L'hôte n'a pas pu actualiser le contexte du modèle","document.attachments.reading":"Lecture du fichier…","document.attachments.reading_progress":"Lecture {value} %","document.attachments.uploading":"Envoi…","document.attachments.relisting":"Vérification…","document.attachments.dismiss_error":"Fermer l'erreur de pièce jointe","document.attachments.error.list":"Impossible de charger les pièces jointes","document.attachments.error.upload":"Impossible d'envoyer ce fichier","document.attachments.error.too_large":"Ce fichier dépasse la limite d'envoi de {limit} Mo","document.attachments.error.relist":"Fichier ajouté, mais la liste des pièces jointes n'a pas pu être vérifiée","document.attachments.error.download":"Impossible de télécharger ce fichier","document.attachments.error.preview":"Impossible de prévisualiser ce fichier","document.attachments.error.host_denied":"L'hôte a annulé ou refusé le téléchargement","layout.live":"live","status.unknown":"Inconnu","chart.loading":"Chargement du graphique…","chart.empty.message":"Aucune donnée — exécutez un outil d'analyse pour charger un graphique","chart.pie.no_data":"Aucune donnée pour ce graphique","chart.pie.all_zero":"Toutes les valeurs sont nulles","chart.donut.total_label":"Total","chart.scatter.no_data":"Aucune donnée de dispersion","chart.treemap.no_data":"Aucune donnée pour la treemap","chart.error.parse_failed":"Impossible de lire les données du graphique","chart.keyboard.target":"{label} · {series} · {value}","chart.keyboard.target_single":"{label} · {value}","chart.keyboard.help":"Gauche et droite changent le point ; haut et bas changent la série ; Espace l'ajoute au contexte ; Entrée ouvre ou ferme le détail disponible.","chart.keyboard.help_context":"Gauche et droite changent le point ; haut et bas changent la série ; Espace l'ajoute au contexte.","chart.keyboard.help_detail":"Gauche et droite changent le point ; haut et bas changent la série ; Entrée ouvre ou ferme le détail disponible.","chart.keyboard.help_navigation":"Gauche et droite changent le point ; haut et bas changent la série.","chart.keyboard.control":"Explorer le graphique : {target}. {help}","chart.context.visible_label":"{title} · graphique visible","chart.context.select_visible":"Ajouter le sous-ensemble visible de {title} au contexte actif","chart.legend.aria":"Séries visibles du graphique","chart.legend.hide":"Masquer {series}","chart.legend.show":"Afficher {series}","chart.legend.last_visible":"{series} est la dernière série visible","stock.title":"Solde de stock","stock.loading":"Chargement du stock…","stock.no_data":"Aucune donnée de stock — lancez une requête de stock pour voir les niveaux","stock.filter.no_results":"Aucun résultat","stock.error.tool_error":"L'outil a renvoyé une erreur","stock.col.item":"Article","stock.col.qty":"Qté","stock.col.actual":"Réel","stock.col.reserved":"Réservé","stock.col.projected":"Projeté","stock.col.rate":"Taux","stock.col.value":"Valeur","stock.footer.total_value":"Valeur totale du stock","stock.detail.loading":"Chargement de l'article…","stock.detail.label.name":"Désignation","stock.detail.label.group":"Famille","stock.detail.label.uom":"Unité","stock.detail.label.rate":"Prix de base","stock.detail.recent_movements":"Mouvements récents","stock.detail.action.chart":"Courbe de stock","stock.detail.action.item":"Fiche article","stock.detail.action.entries":"Écritures de stock","kpi.skeleton.label":"chargement","kpi.empty.title":"Aucune donnée KPI disponible","kpi.empty.hint":"Lancez un outil analytique KPI pour afficher les métriques","kpi.drilldown.aria_detail":"Voir le détail de {label}","kpi.drilldown.aria_trend":"Voir la tendance de {label}","kpi.sparkline.weeks":"{n} semaines","kpi.sparkline.trend_label":"tendance →","kpi.delta.vs_label":"vs","kpi.status.auto_refresh":"Actualisation automatique au focus","kpi.drilldown.title_detail":"Cliquer pour détailler","kpi.drilldown.title_trend":"Cliquer pour voir la tendance","invoice.loading":"Chargement de la facture…","invoice.no_data":"Aucune donnée de facture","invoice.error.tool_error":"L'outil a renvoyé une erreur","invoice.error.parse_failed":"Impossible de lire la réponse","invoice.error.refresh_failed":"Rafraîchissement échoué","invoice.error.action_failed":"Action échouée","invoice.action.submitted":"Soumis","invoice.action.cancelled":"Annulé","invoice.preview.title":"Aperçu — pas d'hôte","invoice.header.outstanding":"reste dû","invoice.header.due":"éch. {date}","invoice.table.col.item":"article","invoice.table.col.qty":"qté","invoice.table.col.rate":"prix","invoice.table.col.amount":"montant","invoice.totals.subtotal":"sous-total","invoice.totals.taxes":"taxes","invoice.totals.grand_total":"total","invoice.btn.related.title":"Ouvrir : {label}","invoice.btn.submit.title":"Soumettre la facture","invoice.btn.submit.label":"Soumettre","invoice.btn.cancel.title":"Annuler la facture","invoice.btn.cancel.label":"Annuler","invoice.lines.count":"{n} ligne{s}","invoice.item.error.load_failed":"Chargement de l'article impossible","invoice.item.position":"ligne {n} sur {total}","invoice.item.close.aria_label":"Fermer le détail de l'article","invoice.item.loading":"Chargement de l'article…","invoice.item.uom":"unité","invoice.item.warehouse":"entrepôt","invoice.item.vat":"tva","invoice.item.available":"dispo.","invoice.item.btn.stock.title":"Voir le stock de l'article","invoice.item.btn.stock.label":"Vue stock complète","invoice.item.btn.details.title":"Voir la fiche article","invoice.item.btn.details.label":"Fiche article","invoice.item.label.name":"Désignation","invoice.item.label.group":"Famille","invoice.item.label.uom":"Unité","invoice.item.label.std_rate":"Prix standard","invoice.item.label.stock":"Stock","invoice.party.type.customer":"Client","invoice.party.type.supplier":"Fournisseur","invoice.status.paid":"Payé","invoice.status.unpaid":"Impayé","invoice.header.date":"Date","invoice.header.due_label":"Échéance","funnel.loading":"Chargement du funnel…","funnel.empty":"Aucune donnée de funnel — lancez l'outil sales funnel","funnel.empty.title":"Aucune donnée de funnel","funnel.empty.hint":"Lancez l'outil sales funnel pour visualiser votre pipeline","funnel.conversion.end_to_end":"{rate}% de bout en bout","funnel.conversion.overall":"Conversion globale","funnel.autorefresh":"Actualisation auto au focus","funnel.stage.click_to_see":"Cliquer pour voir {label}","funnel.stage.aria_open":"Ouvrir {label}, {count}","funnel.stage.aria_context":"Ajouter {label}, {count}, au contexte actif","funnel.stage.aria_ask":"Demander le détail de {label}, {count}","funnel.error.parse_failed":"Impossible de lire la réponse du funnel","funnel.drill_down.leads":"Afficher tous les leads","funnel.drill_down.opportunities":"Afficher toutes les opportunités ouvertes","funnel.drill_down.quotations":"Afficher tous les devis","funnel.drill_down.orders":"Afficher toutes les commandes de vente","doclist.empty.message":"Aucun document à afficher — interrogez un DocType pour voir des résultats","doclist.error.tool_error":"L'outil a retourné une erreur","doclist.error.parse_payload":"Impossible de lire la liste de documents","doclist.error.load_details":"Impossible de charger les détails","doclist.title.default":"Documents","doclist.preview.no_refresh":"Aperçu — pas d'hôte à rafraîchir","doclist.preview.no_host":"Aperçu — pas d'hôte","doclist.chips.all":"tout {n}","doclist.chips.filter_count":"{n} filtre{s}","doclist.chips.row_count":"{n} ligne{s}","doclist.table.no_match":"Aucun document ne correspond","doclist.table.header.id":"pièce","doclist.table.header.party":"tiers","doclist.table.header.due":"dû","doclist.detail.action_failed":"Action échouée","doclist.detail.document_fallback":"Document","doclist.detail.array_count":"{n} ligne{s}","doclist.detail.full_detail":"Détail complet","doclist.detail.full_detail_message":"Montre-moi le détail complet de {doctype} {id}","doclist.detail.action.submit_ok":"Soumise","doclist.detail.action.submit_title":"Soumettre la pièce","doclist.detail.action.cancel_ok":"Annulée","doclist.detail.action.cancel_label":"Annuler la pièce","doclist.detail.back_to_list":"Retour à la liste","doclist.detail.inspector_label":"détail","doclist.detail.close_inspector":"Fermer le détail","doclist.detail.back_list_label":"‹ liste","drill.context":"Sélection active dans « {view} » : {label}{value}.","drill.shared":"Sélection partagée — demandez le détail dans la conversation","drill.sent":"Envoyé à la conversation","message.sending":"Envoi…","message.send_error":"Envoi à la conversation impossible","context.active.label":"Contexte","context.active.items":"Sélections du contexte actif","context.active.select":"Ajouter {label} au contexte actif","context.active.clear":"Retirer {label} du contexte actif","context.active.clear_all":"Tout effacer","context.active.error":"Contexte non mis à jour","context.active.pending":"Mise à jour du contexte…","context.active.evicted":"8 max · {label} retiré","interaction.detail.open":"Ouvrir le détail de {label}","interaction.detail.close":"Fermer le détail de {label}","interaction.detail.open_hint":"Détail · double-clic","interaction.detail.close_hint":"Fermer · double-clic","document.row.open_actions":"Clic ou Espace pour ajouter {label} au contexte · double-clic ou Entrée pour afficher ses actions","document.row.close_actions":"Clic ou Espace pour ajouter {label} au contexte · double-clic ou Entrée pour fermer ses actions","document.row.open_actions_only":"Double-clic ou Entrée pour afficher les actions de {label}","document.row.close_actions_only":"Double-clic ou Entrée pour fermer les actions de {label}","document.row.open_detail":"Clic ou Espace pour ajouter {label} au contexte · double-clic ou Entrée pour ouvrir son détail","document.row.close_detail":"Clic ou Espace pour ajouter {label} au contexte · double-clic ou Entrée pour fermer son détail","document.row.open_detail_only":"Double-clic ou Entrée pour ouvrir le détail de {label}","document.row.close_detail_only":"Double-clic ou Entrée pour fermer le détail de {label}","chart.tooltip.click_action_context":"clic + contexte · 2× détail","chart.tooltip.click_action_context_only":"clic + contexte","chart.tooltip.click_action_fallback":"2× détail","nav.back":"Retour","nav.elided":"…{n}","nav.elided_title":"Niveaux gardés","nav.kind.list":"liste","nav.kind.record":"fiche","nav.kind.chart":"graphique","nav.loading":"appel","nav.ui.sort":"tri {key} {dir}","nav.ui.page":"page {n}","nav.ui.active":"{id} active","nav.ui.filter":"filtre « {q} »","nav.goto":"aller à","nav.ask":"Poser une question","nav.linked_to":"liées à {id}","nav.of":"{n} sur {total}","nav.stale_values":"valeurs de {at}","nav.refresh":"actualiser","nav.stale_title":"Une action plus bas a changé ce que ce niveau montre.","nav.trail":"Fil de navigation","kanban.nav.edit_card":"éditer {id}","nav.bar_click":"clic : un niveau de plus","nav.unexpected_body":"Ce niveau a reçu un corps inattendu.","confirm.eyebrow":"Action irréversible","invoice.confirm.cancel.detail":"La facture passera en statut Annulé et ses paiements seront déliés. ERPNext ne permet pas de revenir en arrière : il faudra l'amender.","invoice.confirm.cancel.action":"Annuler la facture","invoice.confirm.submit.detail":"La facture sera soumise et figée : seuls une annulation puis un amendement pourront encore la modifier.","invoice.confirm.submit.detail_with_amount":"La facture sera soumise pour {amount} et figée : seuls une annulation puis un amendement pourront encore la modifier.","invoice.confirm.submit.action":"Soumettre la facture","invoice.confirm.submit.action_with_amount":"Soumettre {amount}","doclist.confirm.cancel.detail":"Le document passera en statut Annulé et ses liens seront défaits. ERPNext ne permet pas de revenir en arrière.","doclist.confirm.cancel.action":"Annuler le document","doclist.confirm.submit.detail":"Le document sera soumis et figé : seuls une annulation puis un amendement pourront encore le modifier.","doclist.confirm.submit.detail_with_amount":"Le document sera soumis pour {amount} et figé : seuls une annulation puis un amendement pourront encore le modifier.","doclist.confirm.submit.action":"Soumettre le document","doclist.confirm.submit.action_with_amount":"Soumettre {amount}","invoice.confirm.submit":"Soumettre la facture ?","invoice.confirm.cancel":"Annuler la facture ?","doclist.confirm.submit":"Soumettre ce document ?","doclist.confirm.cancel":"Annuler ce document ?","doclist.hint.orders":"Commandes","doclist.hint.invoices":"Factures","doclist.hint.invoice":"Facture","doclist.hint.delivery":"Livraison","doclist.hint.deliveries":"Livraisons","doclist.hint.payments":"Paiements","doclist.hint.stock":"Stock","doclist.hint.po":"Commandes d'achat","doclist.hint.receipt":"Réception","doclist.hint.attendance":"Présences","doclist.hint.leaves":"Congés","doclist.hint.tasks":"Tâches","doclist.hint.timesheets":"Feuilles de temps","doclist.hint.opportunities":"Opportunités","doclist.hint.customer":"Client","doclist.hint.supplier":"Fournisseur","doclist.hint.lead":"Prospect","doclist.hint.item":"Article","doclist.hint.movements":"Mouvements de stock","doclist.hint.warehouse":"Stock de l'entrepôt","doclist.hint.sales_orders_month":"Commandes du mois","doclist.hint.revenue_trend":"Tendance du CA","doclist.hint.unpaid_invoices":"Factures impayées","doclist.hint.receivables_aging":"Balance âgée","doclist.hint.order_breakdown":"Répartition des commandes","doclist.hint.gross_profit_items":"Marge par article","doclist.hint.profit_loss":"Compte de résultat","doclist.hint.overdue_invoices":"Factures en retard","doclist.hint.leads":"Prospects","doclist.hint.quotations":"Devis","doclist.hint.sales_orders":"Commandes","common.error.refresh_timeout":"Délai d'actualisation dépassé","common.error.no_payload":"Aucun contenu renvoyé par l'outil","common.error.tool_failed":"Échec de l'appel d'outil","common.error.no_proxy":"L'hôte ne relaie pas les appels d'outils serveur","kanban.error.user_list":"Impossible de lire la liste des utilisateurs renvoyée par le serveur","common.yes":"Oui","common.no":"Non","kanban.error.move_timeout":"Délai dépassé, réessayez.","kanban.nav.view_list.message":"Montre-moi une vue liste de {doctype} {id}","kanban.nav.timesheets.message":"Affiche les feuilles de temps de la tâche {id}","kanban.nav.quotations.message":"Affiche les devis liés à l'opportunité {id}","kanban.nav.tasks.message":"Affiche les tâches liées au ticket {id}","stock.nav.chart.message":"Affiche la courbe de stock de l'article {itemCode}","stock.nav.details.message":"Montre-moi la fiche complète de l'article {itemCode}","stock.nav.entries.message":"Affiche les écritures de stock de l'article {itemCode}","common.total":"total","invoice.item.stock.message":"Montre le stock de l'article {itemCode}","invoice.item.details.message":"Montre-moi la fiche complète de l'article {itemCode}","kanban.loading":"Chargement du tableau…","kanban.no_data":"Aucune donnée kanban disponible","kanban.column.empty":"Aucune carte dans {label}","kanban.card.milestone":"jalon","kanban.card.aria_options":"Options pour {title}","kanban.card.due":"éch. {date}","kanban.card.overdue":"retard {n} j","kanban.card.aria_move":"Déplacer {title} vers {label}","kanban.nav.prev_column":"Colonne précédente","kanban.nav.next_column":"Colonne suivante","kanban.live.moved":"Déplacé {title} vers {label}","kanban.live.moving":"Déplacement de {title} vers {label}","kanban.live.queued":"{title} en attente pour {label}","kanban.live.move_not_allowed":"Déplacement vers {label} non autorisé","kanban.error.no_payload":"Aucune donnée kanban reçue","kanban.error.parse_failed":"Impossible de lire les données kanban","kanban.error.connect_failed":"Connexion à l'hôte MCP échouée","kanban.error.detail_no_payload":"Aucune donnée de détail reçue","kanban.error.detail_fetch_failed":"Chargement du détail impossible","kanban.error.drag_drop":"Impossible de lire la carte déplacée","kanban.error.move_failed":"Déplacement échoué","kanban.modal.move_to":"Déplacer vers","kanban.modal.save":"Enregistrer","kanban.modal.saving":"Enregistrement…","kanban.modal.saved":"Enregistré","kanban.modal.save_error":"Échec de l'enregistrement","kanban.modal.discard.title":"Abandonner les modifications ?","kanban.modal.discard.detail":"Cette carte contient des modifications non enregistrées. Revenez à l'édition pour les conserver, ou abandonnez-les pour continuer.","kanban.modal.discard.action":"Abandonner et fermer","kanban.modal.discard.move_action":"Abandonner et déplacer","kanban.modal.discard.continue_action":"Abandonner et continuer","kanban.modal.section.general":"général","kanban.modal.section.progress":"progression","kanban.modal.section.assignees":"responsables","kanban.section.dates":"dates","kanban.section.time":"charge et temps","kanban.section.financial":"finances","kanban.section.people":"personnes","kanban.section.details":"autres","kanban.modal.nav.view_list":"Voir dans la liste","kanban.modal.nav.timesheets":"Feuilles de temps","kanban.modal.nav.quotations":"Devis","kanban.modal.nav.related_tasks":"Tâches liées","kanban.modal.bool.yes":"Oui","kanban.modal.bool.no":"Non","kanban.modal.milestone.set_title":"Définir comme jalon","kanban.modal.milestone.remove_title":"Jalon (cliquer pour retirer)","kanban.assignees.remove_aria":"Retirer {email}","kanban.assignees.select_label":"Attribuer à un utilisateur","kanban.assignees.placeholder_error":"Utilisateurs indisponibles","kanban.assignees.placeholder_select":"Attribuer à…","kanban.assignees.assigning":"Attribution…","kanban.assignees.assign_btn":"Attribuer","kanban.assignees.error.load_users":"Impossible de charger les utilisateurs","kanban.assignees.error.assign":"Échec de l'attribution","kanban.assignees.error.unassign":"Échec du retrait","kanban.field.name":"ID","kanban.field.subject":"sujet","kanban.field.status":"statut","kanban.field.priority":"priorité","kanban.field.project":"projet","kanban.field.progress":"progression","kanban.field.description":"description","kanban.field.exp_start_date":"date de début","kanban.field.exp_end_date":"date d'échéance","kanban.field.expected_time":"estimé (h)","kanban.field.actual_time":"temps réel (h)","kanban.field.is_milestone":"jalon","kanban.field.task_weight":"poids","kanban.field.total_costing_amount":"coût","kanban.field.total_billing_amount":"facturation","kanban.field.start":"début","kanban.field.duration":"durée","kanban.field.title":"titre","kanban.field.opportunity_from":"type de source","kanban.field.party_name":"partie","kanban.field.opportunity_amount":"montant","kanban.field.currency":"devise","kanban.field.probability":"probabilité (%)","kanban.field.opportunity_owner":"responsable","kanban.field.expected_closing":"clôture prévue","kanban.field.transaction_date":"date de création","kanban.field.contact_person":"contact","kanban.field.source":"source","kanban.field.customer":"client","kanban.field.raised_by":"créé par","kanban.field.resolution_by":"délai SLA","kanban.field.opening_date":"ouverture","kanban.field.resolution_date":"résolution","kanban.field.first_responded_on":"première réponse","kanban.select.priority.Low":"Faible","kanban.select.priority.Medium":"Moyen","kanban.select.priority.High":"Élevé","kanban.select.priority.Urgent":"Urgent","kanban.select.opportunity_from.Lead":"Prospect","kanban.select.opportunity_from.Customer":"Client"},xb={"common.loading":"加载中…","common.refreshing":"刷新中…","common.refresh":"刷新","common.close":"关闭","common.cancel":"取消","common.submit":"提交","common.back":"返回","common.retry":"重试","common.no_data":"暂无数据","common.no_assignee":"未分配","common.filter.placeholder":"筛选","common.filter.label":"筛选单据","common.pagination.prev":"上一页","common.pagination.next":"下一页","common.error.refresh_failed":"刷新失败","common.error.refresh_no_data":"刷新后无数据","common.error.parse_failed":"解析数据失败","common.error.load_failed":"加载失败","common.progress.label":"进度","common.assignees.label":"负责人","document.header":"单据表头","document.docstatus":"单据状态 {value}","document.sections":"单据分区","document.fields":"字段","document.attachments":"附件","document.surface":"单据 {name}","document.sidebar":"单据操作与附件","document.empty_value":"—","document.boolean.true":"是","document.boolean.false":"否","document.progress_value":"{value}%","document.system_fields":"系统字段","document.table.no_columns":"无可显示的列","document.json":"原始单据 JSON","document.action.refresh_pending":"已提交更改 — 刷新仍待处理","document.purchase_invoice.total":"发票总额","document.purchase_invoice.calculated":"已计算","document.purchase_invoice.rounding":"舍入","document.purchase_invoice.details":"舍入详情","document.purchase_invoice.disable_rounded_total":"禁用舍入总额","document.purchase_invoice.hint.draft":"若要在草稿发票上保留计算总额,请启用“{label}”,然后保存并核对总额。","document.purchase_invoice.hint.submitted":"“{label}”在提交前生效。请在未来的发票上启用它以保留计算总额。","document.purchase_invoice.aria.adds":"舍入使发票总额增加 {amount}","document.purchase_invoice.aria.reduces":"舍入使发票总额减少 {amount}","document.purchase_invoice.aria.adjustment":"舍入调整 {signed}","document.purchase_invoice.submit.unconfirmed":"无法确认是否已提交。请在重试前检查同一张发票。","document.purchase_invoice.submit.transport":"未收到提交响应。请在重试前检查同一张发票;提交状态未确认。","document.attachments.add":"添加文件","document.attachments.refresh":"刷新附件","document.attachments.loading":"加载附件中…","document.attachments.empty":"暂无附件","document.attachments.unavailable":"此宿主不支持附件","document.attachments.private":"私有","document.attachments.public":"公开","document.attachments.privacy":"附件权限","document.attachments.privacy_private":"私有附件。点击设为公开","document.attachments.privacy_public":"公开附件。点击设为私有","document.attachments.private_hint":"仅具有访问权限的已登录 ERPNext 用户可获取此文件","document.attachments.public_hint":"ERPNext 将从其公开文件区公开此文件","document.attachments.download":"下载 {name}","document.attachments.download_short":"下载","document.attachments.download_in_progress":"正在下载附件…","document.attachments.preview":"预览 {name}","document.attachments.preview_loading":"正在准备预览…","document.attachments.preview_loading_name":"正在准备 {name}…","document.attachments.preview_pdf":"{name} 的 PDF 预览","document.attachments.preview_truncated":"仅显示此文本文件的开头部分","document.attachments.preview_unsupported":"此格式无法在查看器内显示","document.attachments.preview_download_fallback":"您仍可下载原始文件","document.attachments.context_add":"加入上下文","document.attachments.context_added":"已在上下文中","document.attachments.context_update":"更新上下文","document.attachments.context_sharing":"正在添加…","document.attachments.context_note":"可选上下文备注","document.attachments.context_note_placeholder":"希望模型关注什么?","document.attachments.context_entire_file":"整个附件","document.attachments.context_error":"宿主无法更新模型上下文","document.attachments.reading":"正在读取文件…","document.attachments.reading_progress":"读取中 {value}%","document.attachments.uploading":"正在上传…","document.attachments.relisting":"正在校验…","document.attachments.dismiss_error":"关闭附件错误提示","document.attachments.error.list":"无法加载附件","document.attachments.error.upload":"无法上传此文件","document.attachments.error.too_large":"此文件超过 {limit} MB 上传上限","document.attachments.error.relist":"文件已添加,但无法校验附件列表","document.attachments.error.download":"无法下载此文件","document.attachments.error.preview":"无法预览此文件","document.attachments.error.host_denied":"宿主已取消或拒绝下载","layout.live":"实时","status.unknown":"未知","chart.loading":"加载图表中…","chart.empty.message":"无图表数据 — 请运行分析工具以加载图表","chart.pie.no_data":"此图表无数据","chart.pie.all_zero":"所有值均为零","chart.donut.total_label":"总计","chart.scatter.no_data":"无散点数据","chart.treemap.no_data":"无矩形树图数据","chart.error.parse_failed":"解析图表数据失败","chart.keyboard.target":"{label} · {series} · {value}","chart.keyboard.target_single":"{label} · {value}","chart.keyboard.help":"左右方向键切换数据点;上下方向键切换系列;空格加入上下文;回车打开或关闭可用详情。","chart.keyboard.help_context":"左右方向键切换数据点;上下方向键切换系列;空格加入上下文。","chart.keyboard.help_detail":"左右方向键切换数据点;上下方向键切换系列;回车打开或关闭可用详情。","chart.keyboard.help_navigation":"左右方向键切换数据点;上下方向键切换系列。","chart.keyboard.control":"探索图表:{target}。{help}","chart.context.visible_label":"{title} · 可见图表","chart.context.select_visible":"将 {title} 的可见部分加入当前上下文","chart.legend.aria":"可见的图表数据系列","chart.legend.hide":"隐藏 {series}","chart.legend.show":"显示 {series}","chart.legend.last_visible":"{series} 是最后一个可见的数据系列","stock.title":"库存余额","stock.loading":"加载库存中…","stock.no_data":"无库存数据 — 请运行库存查询以查看水位","stock.filter.no_results":"无匹配条目","stock.error.tool_error":"工具返回错误","stock.col.item":"物料","stock.col.qty":"数量","stock.col.actual":"实际","stock.col.reserved":"已预留","stock.col.projected":"预计","stock.col.rate":"单价","stock.col.value":"金额","stock.footer.total_value":"库存总值","stock.detail.loading":"加载物料中…","stock.detail.label.name":"名称","stock.detail.label.group":"分组","stock.detail.label.uom":"单位","stock.detail.label.rate":"基准价格","stock.detail.recent_movements":"近期动态","stock.detail.action.chart":"库存图表","stock.detail.action.item":"物料详情","stock.detail.action.entries":"库存记录","kpi.skeleton.label":"加载中","kpi.empty.title":"无 KPI 数据","kpi.empty.hint":"请运行 KPI 分析工具以显示指标","kpi.drilldown.aria_detail":"查看 {label} 详情","kpi.drilldown.aria_trend":"查看 {label} 趋势","kpi.sparkline.weeks":"{n} 周","kpi.sparkline.trend_label":"趋势 →","kpi.delta.vs_label":"对比","kpi.status.auto_refresh":"聚焦时自动刷新","kpi.drilldown.title_detail":"点击下钻","kpi.drilldown.title_trend":"点击查看趋势详情","invoice.loading":"加载发票中…","invoice.no_data":"无发票数据","invoice.error.tool_error":"工具返回错误","invoice.error.parse_failed":"解析发票数据失败","invoice.error.refresh_failed":"刷新失败","invoice.error.action_failed":"操作失败","invoice.action.submitted":"已提交","invoice.action.cancelled":"已取消","invoice.preview.title":"预览 — 无宿主","invoice.header.outstanding":"未结清","invoice.header.due":"到期 {date}","invoice.table.col.item":"物料","invoice.table.col.qty":"数量","invoice.table.col.rate":"单价","invoice.table.col.amount":"金额","invoice.totals.subtotal":"小计","invoice.totals.taxes":"税费","invoice.totals.grand_total":"总计","invoice.btn.related.title":"打开 {label}","invoice.btn.submit.title":"提交发票","invoice.btn.submit.label":"提交","invoice.btn.cancel.title":"取消发票","invoice.btn.cancel.label":"取消","invoice.lines.count":"{n} 行","invoice.item.error.load_failed":"加载物料失败","invoice.item.position":"第 {n} 行 / 共 {total} 行","invoice.item.close.aria_label":"关闭物料详情","invoice.item.loading":"加载物料中…","invoice.item.uom":"单位","invoice.item.warehouse":"仓库","invoice.item.vat":"增值税","invoice.item.available":"可用","invoice.item.btn.stock.title":"查看物料库存","invoice.item.btn.stock.label":"完整库存视图","invoice.item.btn.details.title":"查看物料详情","invoice.item.btn.details.label":"物料详情","invoice.item.label.name":"名称","invoice.item.label.group":"分组","invoice.item.label.uom":"单位","invoice.item.label.std_rate":"标准单价","invoice.item.label.stock":"库存","invoice.party.type.customer":"客户","invoice.party.type.supplier":"供应商","invoice.status.paid":"已支付","invoice.status.unpaid":"未支付","invoice.header.date":"日期","invoice.header.due_label":"到期日","funnel.loading":"加载漏斗中…","funnel.empty":"无漏斗数据 — 请运行销售漏斗工具","funnel.empty.title":"无漏斗数据","funnel.empty.hint":"请运行销售漏斗工具以可视化您的销售管道","funnel.conversion.end_to_end":"{rate}% 端到端","funnel.conversion.overall":"整体转化率","funnel.autorefresh":"聚焦时自动刷新","funnel.stage.click_to_see":"点击查看 {label}","funnel.stage.aria_open":"打开 {label},{count}","funnel.stage.aria_context":"将 {label},{count} 加入活动上下文","funnel.stage.aria_ask":"询问 {label},{count}","funnel.error.parse_failed":"解析漏斗数据失败","funnel.drill_down.leads":"显示所有线索","funnel.drill_down.opportunities":"显示所有未结商机","funnel.drill_down.quotations":"显示所有报价单","funnel.drill_down.orders":"显示所有销售订单","doclist.empty.message":"无单据可显示 — 请查询一个 DocType 以查看结果","doclist.error.tool_error":"工具返回错误","doclist.error.parse_payload":"解析单据列表失败","doclist.error.load_details":"加载详情失败","doclist.title.default":"单据","doclist.preview.no_refresh":"预览 — 无宿主可刷新","doclist.preview.no_host":"预览 — 无宿主","doclist.chips.all":"全部 {n}","doclist.chips.filter_count":"{n} 个筛选","doclist.chips.row_count":"{n} 行","doclist.table.no_match":"无匹配单据","doclist.table.header.id":"引用","doclist.table.header.party":"往来方","doclist.table.header.due":"到期","doclist.detail.action_failed":"操作失败","doclist.detail.document_fallback":"单据","doclist.detail.array_count":"{n} 行","doclist.detail.full_detail":"完整详情","doclist.detail.full_detail_message":"显示 {doctype} {id} 的完整详情","doclist.detail.action.submit_ok":"已提交","doclist.detail.action.submit_title":"提交单据","doclist.detail.action.cancel_ok":"已取消","doclist.detail.action.cancel_label":"取消单据","doclist.detail.back_to_list":"返回列表","doclist.detail.inspector_label":"详情","doclist.detail.close_inspector":"关闭详情","doclist.detail.back_list_label":"‹ 列表","drill.context":"“{view}”中的活动选择:{label}{value}。","drill.shared":"已共享选择 — 请在对话中询问详情","drill.sent":"已发送至对话","message.sending":"发送中…","message.send_error":"无法发送至对话","context.active.label":"上下文","context.active.items":"活动上下文选择","context.active.select":"将 {label} 加入活动上下文","context.active.clear":"将 {label} 移出活动上下文","context.active.clear_all":"全部清除","context.active.error":"上下文未更新","context.active.pending":"正在更新上下文…","context.active.evicted":"最多 8 项 · 已移除 {label}","interaction.detail.open":"打开 {label} 详情","interaction.detail.close":"关闭 {label} 详情","interaction.detail.open_hint":"详情 · 双击","interaction.detail.close_hint":"关闭 · 双击","document.row.open_actions":"单击或按空格将 {label} 加入上下文 · 双击或按回车显示其操作","document.row.close_actions":"单击或按空格将 {label} 加入上下文 · 双击或按回车关闭其操作","document.row.open_actions_only":"双击或按回车显示 {label} 的操作","document.row.close_actions_only":"双击或按回车关闭 {label} 的操作","document.row.open_detail":"单击或按空格将 {label} 加入上下文 · 双击或按回车打开其详情","document.row.close_detail":"单击或按空格将 {label} 加入上下文 · 双击或按回车关闭其详情","document.row.open_detail_only":"双击或按回车打开 {label} 的详情","document.row.close_detail_only":"双击或按回车关闭 {label} 的详情","chart.tooltip.click_action_context":"单击 + 上下文 · 双击详情","chart.tooltip.click_action_context_only":"单击 + 上下文","chart.tooltip.click_action_fallback":"双击详情","nav.back":"返回","nav.elided":"…{n}","nav.elided_title":"已保留的层级","nav.kind.list":"列表","nav.kind.record":"记录","nav.kind.chart":"图表","nav.loading":"调用","nav.ui.sort":"排序 {key} {dir}","nav.ui.page":"第 {n} 页","nav.ui.active":"{id} 已激活","nav.ui.filter":"筛选 “{q}”","nav.goto":"前往","nav.ask":"提问","nav.linked_to":"关联到 {id}","nav.of":"{n} / {total}","nav.stale_values":"截至 {at} 的数据","nav.refresh":"刷新","nav.stale_title":"堆栈中更深处的操作已改变此层级显示的内容。","nav.trail":"导航路径","kanban.nav.edit_card":"编辑 {id}","nav.bar_click":"单击:进入下一层","nav.unexpected_body":"此层级收到意外的内容。","confirm.eyebrow":"不可逆操作","invoice.confirm.cancel.detail":"发票将被设为「已取消」,其付款将被解除关联。ERPNext 无法撤销此操作:发票必须通过修订来修改。","invoice.confirm.cancel.action":"取消发票","invoice.confirm.submit.detail":"发票将被提交并冻结:此后只能通过「取消后再修订」来更改。","invoice.confirm.submit.detail_with_amount":"发票将以 {amount} 提交并冻结:此后只能通过「取消后再修订」来更改。","invoice.confirm.submit.action":"提交发票","invoice.confirm.submit.action_with_amount":"提交 {amount}","doclist.confirm.cancel.detail":"单据将被设为「已取消」,其关联将被解除。ERPNext 无法撤销此操作。","doclist.confirm.cancel.action":"取消单据","doclist.confirm.submit.detail":"单据将被提交并冻结:此后只能通过「取消后再修订」来更改。","doclist.confirm.submit.detail_with_amount":"单据将以 {amount} 提交并冻结:此后只能通过「取消后再修订」来更改。","doclist.confirm.submit.action":"提交单据","doclist.confirm.submit.action_with_amount":"提交 {amount}","invoice.confirm.submit":"提交此发票?","invoice.confirm.cancel":"取消此发票?","doclist.confirm.submit":"提交此单据?","doclist.confirm.cancel":"取消此单据?","doclist.hint.orders":"订单","doclist.hint.invoices":"发票","doclist.hint.invoice":"发票","doclist.hint.delivery":"送货","doclist.hint.deliveries":"送货单","doclist.hint.payments":"付款","doclist.hint.stock":"库存","doclist.hint.po":"采购订单","doclist.hint.receipt":"收货单","doclist.hint.attendance":"考勤","doclist.hint.leaves":"请假","doclist.hint.tasks":"任务","doclist.hint.timesheets":"工时表","doclist.hint.opportunities":"商机","doclist.hint.customer":"客户","doclist.hint.supplier":"供应商","doclist.hint.lead":"线索","doclist.hint.item":"物料","doclist.hint.movements":"库存记录","doclist.hint.warehouse":"仓库库存","doclist.hint.sales_orders_month":"本月销售订单","doclist.hint.revenue_trend":"收入趋势","doclist.hint.unpaid_invoices":"未付发票","doclist.hint.receivables_aging":"应收账龄","doclist.hint.order_breakdown":"订单分解","doclist.hint.gross_profit_items":"按物料的毛利","doclist.hint.profit_loss":"损益","doclist.hint.overdue_invoices":"逾期发票","doclist.hint.leads":"线索","doclist.hint.quotations":"报价单","doclist.hint.sales_orders":"销售订单","common.error.refresh_timeout":"刷新超时","common.error.no_payload":"工具调用未返回文本数据","common.error.tool_failed":"工具调用失败","common.error.no_proxy":"宿主不支持代理服务器工具调用","kanban.error.user_list":"无法读取服务器返回的用户列表","common.yes":"是","common.no":"否","kanban.error.move_timeout":"移动超时,请重试。","kanban.nav.view_list.message":"显示 {doctype} {id} 的列表视图","kanban.nav.timesheets.message":"显示任务 {id} 的工时表","kanban.nav.quotations.message":"显示关联商机 {id} 的报价单","kanban.nav.tasks.message":"显示关联问题 {id} 的任务","stock.nav.chart.message":"显示物料 {itemCode} 的库存图表","stock.nav.details.message":"显示物料 {itemCode} 的完整记录","stock.nav.entries.message":"显示物料 {itemCode} 的库存记录","common.total":"总计","invoice.item.stock.message":"显示物料 {itemCode} 的库存","invoice.item.details.message":"显示物料 {itemCode} 的完整记录","kanban.loading":"加载看板中…","kanban.no_data":"无看板数据","kanban.column.empty":"{label} 中无卡片","kanban.card.milestone":"里程碑","kanban.card.aria_options":"{title} 的选项","kanban.card.due":"到期 {date}","kanban.card.overdue":"逾期 {n} 天","kanban.card.aria_move":"将 {title} 移动到 {label}","kanban.nav.prev_column":"上一列","kanban.nav.next_column":"下一列","kanban.live.moved":"已将 {title} 移动到 {label}","kanban.live.moving":"正在将 {title} 移动到 {label}","kanban.live.queued":"{title} 已排队等待移动到 {label}","kanban.live.move_not_allowed":"不允许移动到 {label}","kanban.error.no_payload":"未收到看板数据","kanban.error.parse_failed":"解析看板数据失败","kanban.error.connect_failed":"连接 MCP 宿主失败","kanban.error.detail_no_payload":"未收到详情数据","kanban.error.detail_fetch_failed":"加载卡片详情失败","kanban.error.drag_drop":"处理拖放失败","kanban.error.move_failed":"移动失败","kanban.modal.move_to":"移动到","kanban.modal.save":"保存","kanban.modal.saving":"保存中…","kanban.modal.saved":"已保存","kanban.modal.save_error":"保存失败","kanban.modal.discard.title":"放弃未保存的更改?","kanban.modal.discard.detail":"此卡片有未保存的更改。返回继续编辑,或放弃更改以继续。","kanban.modal.discard.action":"放弃并关闭","kanban.modal.discard.move_action":"放弃并移动","kanban.modal.discard.continue_action":"放弃并继续","kanban.modal.section.general":"常规","kanban.modal.section.progress":"进度","kanban.modal.section.assignees":"负责人","kanban.section.dates":"日期","kanban.section.time":"工作量与时间","kanban.section.financial":"财务","kanban.section.people":"人员","kanban.section.details":"其他","kanban.modal.nav.view_list":"列表视图","kanban.modal.nav.timesheets":"工时表","kanban.modal.nav.quotations":"报价单","kanban.modal.nav.related_tasks":"相关任务","kanban.modal.bool.yes":"是","kanban.modal.bool.no":"否","kanban.modal.milestone.set_title":"设为里程碑","kanban.modal.milestone.remove_title":"里程碑(点击移除)","kanban.assignees.remove_aria":"移除 {email}","kanban.assignees.select_label":"分配给用户","kanban.assignees.placeholder_error":"用户不可用","kanban.assignees.placeholder_select":"分配给…","kanban.assignees.assigning":"分配中…","kanban.assignees.assign_btn":"分配","kanban.assignees.error.load_users":"加载用户失败","kanban.assignees.error.assign":"分配失败","kanban.assignees.error.unassign":"移除负责人失败","kanban.field.name":"编号","kanban.field.subject":"主题","kanban.field.status":"状态","kanban.field.priority":"优先级","kanban.field.project":"项目","kanban.field.progress":"进度","kanban.field.description":"描述","kanban.field.exp_start_date":"开始日期","kanban.field.exp_end_date":"到期日期","kanban.field.expected_time":"预估(小时)","kanban.field.actual_time":"实际用时(小时)","kanban.field.is_milestone":"里程碑","kanban.field.task_weight":"权重","kanban.field.total_costing_amount":"成本","kanban.field.total_billing_amount":"开票金额","kanban.field.start":"开始","kanban.field.duration":"时长","kanban.field.title":"标题","kanban.field.opportunity_from":"来源类型","kanban.field.party_name":"往来方","kanban.field.opportunity_amount":"金额","kanban.field.currency":"币种","kanban.field.probability":"概率(%)","kanban.field.opportunity_owner":"负责人","kanban.field.expected_closing":"预计成交","kanban.field.transaction_date":"创建日期","kanban.field.contact_person":"联系人","kanban.field.source":"来源","kanban.field.customer":"客户","kanban.field.raised_by":"创建人","kanban.field.resolution_by":"SLA 截止","kanban.field.opening_date":"开启日期","kanban.field.resolution_date":"解决","kanban.field.first_responded_on":"首次响应","kanban.select.priority.Low":"低","kanban.select.priority.Medium":"中","kanban.select.priority.High":"高","kanban.select.priority.Urgent":"紧急","kanban.select.opportunity_from.Lead":"线索","kanban.select.opportunity_from.Customer":"客户"};let km=()=>{};function $b(e){km=e}function wb(e){if(typeof e!="string"||e.length===0)return"en";const t=e.toLowerCase();return t==="fr"||t.startsWith("fr-")?"fr":t==="zh"||t.startsWith("zh-")?"zh":"en"}function Sb(){return wb(km())}const Ib={en:ym,fr:kb,zh:xb};function ht(e,t){const r=Sb(),n=Ib[r][e]??ym[e]??e;return t?n.replace(/\{(\w+)\}/g,(o,a)=>Object.prototype.hasOwnProperty.call(t,a)?String(t[a]):o):n}let cn={};const Xa=new Set;yb(()=>cn.locale);$b(()=>cn.locale);function Ru(e){if(e){cn={...cn,...e};for(const t of Xa)t(cn)}}function xm(){return cn}function ms(e){return Xa.add(e),()=>{Xa.delete(e)}}function zb(e){e.onhostcontextchanged=t=>{Ru(t)},Ru(e.getHostContext())}function $m(){const[e,t]=ie(xm());return Ie(()=>ms(t),[]),e}function Kn(e){return e==="light"||e==="dark"}function Tb(){return typeof matchMedia=="function"&&matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Pb(e){if(Kn(e))return e;const t=xm().theme;return Kn(t)?t:Tb()}function jb(e){const t=Pb(e);return document.documentElement.dataset.theme=t,Kn(e)||ms(r=>{Kn(r.theme)&&(document.documentElement.dataset.theme=r.theme)}),t}function Eb(e=location.search){const t=new URLSearchParams(e).get("theme");return Kn(t)?t:null}const Db="modulepreload",Cb=function(e,t){return new URL(e,t).href},Lu={},Ob=function(t,r,i){let n=Promise.resolve();if(r&&r.length>0){let a=function(d){return Promise.all(d.map(p=>Promise.resolve(p).then(m=>({status:"fulfilled",value:m}),m=>({status:"rejected",reason:m}))))};const s=document.getElementsByTagName("link"),u=document.querySelector("meta[property=csp-nonce]"),l=u?.nonce||u?.getAttribute("nonce");n=a(r.map(d=>{if(d=Cb(d,i),d in Lu)return;Lu[d]=!0;const p=d.endsWith(".css"),m=p?'[rel="stylesheet"]':"";if(!!i)for(let g=s.length-1;g>=0;g--){const v=s[g];if(v.href===d&&(!p||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${m}`))return;const h=document.createElement("link");if(h.rel=p?"stylesheet":Db,p||(h.as="script"),h.crossOrigin="",h.href=d,l&&h.setAttribute("nonce",l),document.head.appendChild(h),p)return new Promise((g,v)=>{h.addEventListener("load",g),h.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${d}`)))})}))}function o(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return n.then(a=>{for(const s of a||[])s.status==="rejected"&&o(s.reason);return t().catch(o)})};var Mu;const ps=Object.freeze({status:"aborted"});function _(e,t,r){function i(s,u){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:u,constr:a,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,u);const l=a.prototype,d=Object.keys(l);for(let p=0;p<d.length;p++){const m=d[p];m in s||(s[m]=l[m].bind(s))}}const n=r?.Parent??Object;class o extends n{}Object.defineProperty(o,"name",{value:e});function a(s){var u;const l=r?.Parent?new o:this;i(l,s),(u=l._zod).deferred??(u.deferred=[]);for(const d of l._zod.deferred)d();return l}return Object.defineProperty(a,"init",{value:i}),Object.defineProperty(a,Symbol.hasInstance,{value:s=>r?.Parent&&s instanceof r.Parent?!0:s?._zod?.traits?.has(e)}),Object.defineProperty(a,"name",{value:e}),a}const fs=Symbol("zod_brand");class Zt extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class ii extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(Mu=globalThis).__zod_globalConfig??(Mu.__zod_globalConfig={});const Wn=globalThis.__zod_globalConfig;function Ue(e){return e&&Object.assign(Wn,e),Wn}function Ab(e){return e}function Nb(e){return e}function Ub(e){}function Rb(e){throw new Error("Unexpected value in exhaustive check")}function Lb(e){}function hs(e){const t=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,n])=>t.indexOf(+i)===-1).map(([i,n])=>n)}function O(e,t="|"){return e.map(r=>X(r)).join(t)}function Lo(e,t){return typeof t=="bigint"?t.toString():t}function ir(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function Qt(e){return e==null}function ai(e){const t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function wm(e,t){const r=e/t,i=Math.round(r),n=Number.EPSILON*Math.max(Math.abs(r),1);return Math.abs(r-i)<n?0:r-i}const Zu=Symbol("evaluating");function me(e,t,r){let i;Object.defineProperty(e,t,{get(){if(i!==Zu)return i===void 0&&(i=Zu,i=r()),i},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function Mb(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function Nt(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function gt(...e){const t={};for(const r of e){const i=Object.getOwnPropertyDescriptors(r);Object.assign(t,i)}return Object.defineProperties({},t)}function Zb(e){return gt(e._zod.def)}function Fb(e,t){return t?t.reduce((r,i)=>r?.[i],e):e}function qb(e){const t=Object.keys(e),r=t.map(i=>e[i]);return Promise.all(r).then(i=>{const n={};for(let o=0;o<t.length;o++)n[t[o]]=i[o];return n})}function Hb(e=10){const t="abcdefghijklmnopqrstuvwxyz";let r="";for(let i=0;i<e;i++)r+=t[Math.floor(Math.random()*t.length)];return r}function Qa(e){return JSON.stringify(e)}function Sm(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const vs="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function dn(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Im=ir(()=>{if(Wn.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function Ht(e){if(dn(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const r=t.prototype;return!(dn(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function si(e){return Ht(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function Jb(e){let t=0;for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}const Bb=e=>{const 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}`)}},Mo=new Set(["string","number","symbol"]),zm=new Set(["string","number","bigint","boolean","symbol","undefined"]);function St(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function nt(e,t,r){const i=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(i._zod.parent=e),i}function E(e){const 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 Vb(e){let t;return new Proxy({},{get(r,i,n){return t??(t=e()),Reflect.get(t,i,n)},set(r,i,n,o){return t??(t=e()),Reflect.set(t,i,n,o)},has(r,i){return t??(t=e()),Reflect.has(t,i)},deleteProperty(r,i){return t??(t=e()),Reflect.deleteProperty(t,i)},ownKeys(r){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(r,i){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,i)},defineProperty(r,i,n){return t??(t=e()),Reflect.defineProperty(t,i,n)}})}function X(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Tm(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const Pm={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]},jm={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Em(e,t){const r=e._zod.def,i=r.checks;if(i&&i.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const o=gt(e._zod.def,{get shape(){const a={};for(const s in t){if(!(s in r.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&(a[s]=r.shape[s])}return Nt(this,"shape",a),a},checks:[]});return nt(e,o)}function Dm(e,t){const r=e._zod.def,i=r.checks;if(i&&i.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const o=gt(e._zod.def,{get shape(){const a={...e._zod.def.shape};for(const s in t){if(!(s in r.shape))throw new Error(`Unrecognized key: "${s}"`);t[s]&&delete a[s]}return Nt(this,"shape",a),a},checks:[]});return nt(e,o)}function Cm(e,t){if(!Ht(t))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0){const o=e._zod.def.shape;for(const a in t)if(Object.getOwnPropertyDescriptor(o,a)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const n=gt(e._zod.def,{get shape(){const o={...e._zod.def.shape,...t};return Nt(this,"shape",o),o}});return nt(e,n)}function Om(e,t){if(!Ht(t))throw new Error("Invalid input to safeExtend: expected a plain object");const r=gt(e._zod.def,{get shape(){const i={...e._zod.def.shape,...t};return Nt(this,"shape",i),i}});return nt(e,r)}function Am(e,t){if(e._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");const r=gt(e._zod.def,{get shape(){const i={...e._zod.def.shape,...t._zod.def.shape};return Nt(this,"shape",i),i},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return nt(e,r)}function Nm(e,t,r){const n=t._zod.def.checks;if(n&&n.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const a=gt(t._zod.def,{get shape(){const s=t._zod.def.shape,u={...s};if(r)for(const l in r){if(!(l in s))throw new Error(`Unrecognized key: "${l}"`);r[l]&&(u[l]=e?new e({type:"optional",innerType:s[l]}):s[l])}else for(const l in s)u[l]=e?new e({type:"optional",innerType:s[l]}):s[l];return Nt(this,"shape",u),u},checks:[]});return nt(t,a)}function Um(e,t,r){const i=gt(t._zod.def,{get shape(){const n=t._zod.def.shape,o={...n};if(r)for(const a in r){if(!(a in o))throw new Error(`Unrecognized key: "${a}"`);r[a]&&(o[a]=new e({type:"nonoptional",innerType:n[a]}))}else for(const a in n)o[a]=new e({type:"nonoptional",innerType:n[a]});return Nt(this,"shape",o),o}});return nt(t,i)}function Mt(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function Rm(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue===!1)return!0;return!1}function at(e,t){return t.map(r=>{var i;return(i=r).path??(i.path=[]),r.path.unshift(e),r})}function Fn(e){return typeof e=="string"?e:e?.message}function tt(e,t,r){const i=e.message?e.message:Fn(e.inst?._zod.def?.error?.(e))??Fn(t?.error?.(e))??Fn(r.customError?.(e))??Fn(r.localeError?.(e))??"Invalid input",{inst:n,continue:o,input:a,...s}=e;return s.path??(s.path=[]),s.message=i,t?.reportInput&&(s.input=a),s}function ci(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function li(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function te(e){const 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";const r=e;if(r&&Object.getPrototypeOf(r)!==Object.prototype&&"constructor"in r&&r.constructor)return r.constructor.name}}return t}function mn(...e){const[t,r,i]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:i}:{...t}}function Kb(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function Lm(e){const t=atob(e),r=new Uint8Array(t.length);for(let i=0;i<t.length;i++)r[i]=t.charCodeAt(i);return r}function Mm(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function Wb(e){const t=e.replace(/-/g,"+").replace(/_/g,"/"),r="=".repeat((4-t.length%4)%4);return Lm(t+r)}function Gb(e){return Mm(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function Yb(e){const t=e.replace(/^0x/,"");if(t.length%2!==0)throw new Error("Invalid hex string length");const r=new Uint8Array(t.length/2);for(let i=0;i<t.length;i+=2)r[i/2]=Number.parseInt(t.slice(i,i+2),16);return r}function Xb(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}class Qb{constructor(...t){}}const gs=Object.freeze(Object.defineProperty({__proto__:null,BIGINT_FORMAT_RANGES:jm,Class:Qb,NUMBER_FORMAT_RANGES:Pm,aborted:Mt,allowsEval:Im,assert:Lb,assertEqual:Ab,assertIs:Ub,assertNever:Rb,assertNotEqual:Nb,assignProp:Nt,base64ToUint8Array:Lm,base64urlToUint8Array:Wb,cached:ir,captureStackTrace:vs,cleanEnum:Kb,cleanRegex:ai,clone:nt,cloneDef:Zb,createTransparentProxy:Vb,defineLazy:me,esc:Qa,escapeRegex:St,explicitlyAborted:Rm,extend:Cm,finalizeIssue:tt,floatSafeRemainder:wm,getElementAtPath:Fb,getEnumValues:hs,getLengthableOrigin:li,getParsedType:Bb,getSizableOrigin:ci,hexToUint8Array:Yb,isObject:dn,isPlainObject:Ht,issue:mn,joinValues:O,jsonStringifyReplacer:Lo,merge:Am,mergeDefs:gt,normalizeParams:E,nullish:Qt,numKeys:Jb,objectClone:Mb,omit:Dm,optionalKeys:Tm,parsedType:te,partial:Nm,pick:Em,prefixIssues:at,primitiveTypes:zm,promiseAllObject:qb,propertyKeyTypes:Mo,randomString:Hb,required:Um,safeExtend:Om,shallowClone:si,slugify:Sm,stringifyPrimitive:X,uint8ArrayToBase64:Mm,uint8ArrayToBase64url:Gb,uint8ArrayToHex:Xb,unwrapMessage:Fn},Symbol.toStringTag,{value:"Module"})),Zm=(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,Lo,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},bs=_("$ZodError",Zm),rt=_("$ZodError",Zm,{Parent:Error});function ui(e,t=r=>r.message){const r={},i=[];for(const n of e.issues)n.path.length>0?(r[n.path[0]]=r[n.path[0]]||[],r[n.path[0]].push(t(n))):i.push(t(n));return{formErrors:i,fieldErrors:r}}function di(e,t=r=>r.message){const r={_errors:[]},i=(n,o=[])=>{for(const a of n.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{const s=[...o,...a.path];if(s.length===0)r._errors.push(t(a));else{let u=r,l=0;for(;l<s.length;){const d=s[l];l===s.length-1?(u[d]=u[d]||{_errors:[]},u[d]._errors.push(t(a))):u[d]=u[d]||{_errors:[]},u=u[d],l++}}}};return i(e),r}function _s(e,t=r=>r.message){const r={errors:[]},i=(n,o=[])=>{var a,s;for(const u of n.issues)if(u.code==="invalid_union"&&u.errors.length)u.errors.map(l=>i({issues:l},[...o,...u.path]));else if(u.code==="invalid_key")i({issues:u.issues},[...o,...u.path]);else if(u.code==="invalid_element")i({issues:u.issues},[...o,...u.path]);else{const l=[...o,...u.path];if(l.length===0){r.errors.push(t(u));continue}let d=r,p=0;for(;p<l.length;){const m=l[p],f=p===l.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(u)),p++}}};return i(e),r}function Fm(e){const t=[],r=e.map(i=>typeof i=="object"?i.key:i);for(const i of r)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){const t=[],r=[...e.issues].sort((i,n)=>(i.path??[]).length-(n.path??[]).length);for(const i of r)t.push(`✖ ${i.message}`),i.path?.length&&t.push(` → at ${Fm(i.path)}`);return t.join(`
|
|
8
|
-
`)}const ar=e=>(t,r,i,n)=>{const o=i?{...i,async:!1}:{async:!1},a=t._zod.run({value:r,issues:[]},o);if(a instanceof Promise)throw new Zt;if(a.issues.length){const s=new(n?.Err??e)(a.issues.map(u=>tt(u,o,Ue())));throw vs(s,n?.callee),s}return a.value},es=ar(rt),sr=e=>async(t,r,i,n)=>{const o=i?{...i,async:!0}:{async:!0};let a=t._zod.run({value:r,issues:[]},o);if(a instanceof Promise&&(a=await a),a.issues.length){const s=new(n?.Err??e)(a.issues.map(u=>tt(u,o,Ue())));throw vs(s,n?.callee),s}return a.value},ts=sr(rt),cr=e=>(t,r,i)=>{const n=i?{...i,async:!1}:{async:!1},o=t._zod.run({value:r,issues:[]},n);if(o instanceof Promise)throw new Zt;return o.issues.length?{success:!1,error:new(e??bs)(o.issues.map(a=>tt(a,n,Ue())))}:{success:!0,data:o.value}},ks=cr(rt),lr=e=>async(t,r,i)=>{const n=i?{...i,async:!0}:{async:!0};let o=t._zod.run({value:r,issues:[]},n);return o instanceof Promise&&(o=await o),o.issues.length?{success:!1,error:new e(o.issues.map(a=>tt(a,n,Ue())))}:{success:!0,data:o.value}},qm=lr(rt),xs=e=>(t,r,i)=>{const n=i?{...i,direction:"backward"}:{direction:"backward"};return ar(e)(t,r,n)},e_=xs(rt),$s=e=>(t,r,i)=>ar(e)(t,r,i),t_=$s(rt),ws=e=>async(t,r,i)=>{const n=i?{...i,direction:"backward"}:{direction:"backward"};return sr(e)(t,r,n)},n_=ws(rt),Ss=e=>async(t,r,i)=>sr(e)(t,r,i),r_=Ss(rt),Is=e=>(t,r,i)=>{const n=i?{...i,direction:"backward"}:{direction:"backward"};return cr(e)(t,r,n)},o_=Is(rt),zs=e=>(t,r,i)=>cr(e)(t,r,i),i_=zs(rt),Ts=e=>async(t,r,i)=>{const n=i?{...i,direction:"backward"}:{direction:"backward"};return lr(e)(t,r,n)},a_=Ts(rt),Ps=e=>async(t,r,i)=>lr(e)(t,r,i),s_=Ps(rt),Hm=/^[cC][0-9a-z]{6,}$/,Jm=/^[0-9a-z]+$/,Bm=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Vm=/^[0-9a-vA-V]{20}$/,Km=/^[A-Za-z0-9]{27}$/,Wm=/^[a-zA-Z0-9_-]{21}$/,Gm=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,c_=/^[-+]?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)|(?:[-+]?\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+$";function ep(){return new RegExp(v_,"u")}const tp=/^(?:(?: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])$/,np=/^(([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}|:))$/,rp=e=>{const t=St(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},op=/^((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])$/,ip=/^(([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])$/,ap=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,js=/^[A-Za-z0-9_-]*$/,sp=/^(?=.{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])?)*\.?$/,cp=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,Es=/^https?$/,lp=/^\+[1-9]\d{6,14}$/,up="(?:(?:\\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])))",dp=new RegExp(`^${up}$`);function mp(e){const 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 pp(e){return new RegExp(`^${mp(e)}$`)}function fp(e){const t=mp({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const i=`${t}(?:${r.join("|")})`;return new RegExp(`^${up}T(?:${i})$`)}const hp=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},vp=/^-?\d+n?$/,gp=/^-?\d+$/,Ds=/^-?\d+(?:\.\d+)?$/,bp=/^(?:true|false)$/i,_p=/^null$/i,yp=/^undefined$/i,kp=/^[^A-Z]*$/,xp=/^[^a-z]*$/,$p=/^[0-9a-fA-F]*$/;function ur(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function dr(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}const g_=/^[0-9a-fA-F]{32}$/,b_=ur(22,"=="),__=dr(22),y_=/^[0-9a-fA-F]{40}$/,k_=ur(27,"="),x_=dr(27),$_=/^[0-9a-fA-F]{64}$/,w_=ur(43,"="),S_=dr(43),I_=/^[0-9a-fA-F]{96}$/,z_=ur(64,""),T_=dr(64),P_=/^[0-9a-fA-F]{128}$/,j_=ur(86,"=="),E_=dr(86),mi=Object.freeze(Object.defineProperty({__proto__:null,base64:ap,base64url:js,bigint:vp,boolean:bp,browserEmail:h_,cidrv4:op,cidrv6:ip,cuid:Hm,cuid2:Jm,date:dp,datetime:fp,domain:cp,duration:Gm,e164:lp,email:Xm,emoji:ep,extendedDuration:c_,guid:Ym,hex:$p,hostname:sp,html5Email:m_,httpProtocol:Es,idnEmail:f_,integer:gp,ipv4:tp,ipv6:np,ksuid:Km,lowercase:kp,mac:rp,md5_base64:b_,md5_base64url:__,md5_hex:g_,nanoid:Wm,null:_p,number:Ds,rfc5322Email:p_,sha1_base64:k_,sha1_base64url:x_,sha1_hex:y_,sha256_base64:w_,sha256_base64url:S_,sha256_hex:$_,sha384_base64:z_,sha384_base64url:T_,sha384_hex:I_,sha512_base64:j_,sha512_base64url:E_,sha512_hex:P_,string:hp,time:pp,ulid:Bm,undefined:yp,unicodeEmail:Qm,uppercase:xp,uuid:pn,uuid4:l_,uuid6:u_,uuid7:d_,xid:Vm},Symbol.toStringTag,{value:"Module"})),Ee=_("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),wp={number:"number",bigint:"bigint",object:"date"},Cs=_("$ZodCheckLessThan",(e,t)=>{Ee.init(e,t);const r=wp[typeof t.value];e._zod.onattach.push(i=>{const n=i._zod.bag,o=(t.inclusive?n.maximum:n.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<o&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value<=t.value:i.value<t.value)||i.issues.push({origin:r,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Os=_("$ZodCheckGreaterThan",(e,t)=>{Ee.init(e,t);const r=wp[typeof t.value];e._zod.onattach.push(i=>{const n=i._zod.bag,o=(t.inclusive?n.minimum:n.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>o&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value>=t.value:i.value>t.value)||i.issues.push({origin:r,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Sp=_("$ZodCheckMultipleOf",(e,t)=>{Ee.init(e,t),e._zod.onattach.push(r=>{var i;(i=r._zod.bag).multipleOf??(i.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?r.value%t.value===BigInt(0):wm(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),Ip=_("$ZodCheckNumberFormat",(e,t)=>{Ee.init(e,t),t.format=t.format||"float64";const r=t.format?.includes("int"),i=r?"int":"number",[n,o]=Pm[t.format];e._zod.onattach.push(a=>{const s=a._zod.bag;s.format=t.format,s.minimum=n,s.maximum=o,r&&(s.pattern=gp)}),e._zod.check=a=>{const s=a.value;if(r){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<n&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:n,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})}}),zp=_("$ZodCheckBigIntFormat",(e,t)=>{Ee.init(e,t);const[r,i]=jm[t.format];e._zod.onattach.push(n=>{const o=n._zod.bag;o.format=t.format,o.minimum=r,o.maximum=i}),e._zod.check=n=>{const o=n.value;o<r&&n.issues.push({origin:"bigint",input:o,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),o>i&&n.issues.push({origin:"bigint",input:o,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),Tp=_("$ZodCheckMaxSize",(e,t)=>{var r;Ee.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Qt(n)&&n.size!==void 0}),e._zod.onattach.push(i=>{const n=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<n&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{const n=i.value;n.size<=t.maximum||i.issues.push({origin:ci(n),code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),Pp=_("$ZodCheckMinSize",(e,t)=>{var r;Ee.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Qt(n)&&n.size!==void 0}),e._zod.onattach.push(i=>{const n=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>n&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{const n=i.value;n.size>=t.minimum||i.issues.push({origin:ci(n),code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),jp=_("$ZodCheckSizeEquals",(e,t)=>{var r;Ee.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Qt(n)&&n.size!==void 0}),e._zod.onattach.push(i=>{const n=i._zod.bag;n.minimum=t.size,n.maximum=t.size,n.size=t.size}),e._zod.check=i=>{const n=i.value,o=n.size;if(o===t.size)return;const a=o>t.size;i.issues.push({origin:ci(n),...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})}}),Ep=_("$ZodCheckMaxLength",(e,t)=>{var r;Ee.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Qt(n)&&n.length!==void 0}),e._zod.onattach.push(i=>{const n=i._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<n&&(i._zod.bag.maximum=t.maximum)}),e._zod.check=i=>{const n=i.value;if(n.length<=t.maximum)return;const a=li(n);i.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),Dp=_("$ZodCheckMinLength",(e,t)=>{var r;Ee.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Qt(n)&&n.length!==void 0}),e._zod.onattach.push(i=>{const n=i._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>n&&(i._zod.bag.minimum=t.minimum)}),e._zod.check=i=>{const n=i.value;if(n.length>=t.minimum)return;const a=li(n);i.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),Cp=_("$ZodCheckLengthEquals",(e,t)=>{var r;Ee.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Qt(n)&&n.length!==void 0}),e._zod.onattach.push(i=>{const n=i._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=i=>{const n=i.value,o=n.length;if(o===t.length)return;const a=li(n),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})}}),mr=_("$ZodCheckStringFormat",(e,t)=>{var r,i;Ee.init(e,t),e._zod.onattach.push(n=>{const o=n._zod.bag;o.format=t.format,t.pattern&&(o.patterns??(o.patterns=new Set),o.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(i=e._zod).check??(i.check=()=>{})}),Op=_("$ZodCheckRegex",(e,t)=>{mr.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Ap=_("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=kp),mr.init(e,t)}),Np=_("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=xp),mr.init(e,t)}),Up=_("$ZodCheckIncludes",(e,t)=>{Ee.init(e,t);const r=St(t.includes),i=new RegExp(typeof t.position=="number"?`^.{${t.position}}${r}`:r);t.pattern=i,e._zod.onattach.push(n=>{const o=n._zod.bag;o.patterns??(o.patterns=new Set),o.patterns.add(i)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),Rp=_("$ZodCheckStartsWith",(e,t)=>{Ee.init(e,t);const r=new RegExp(`^${St(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(i=>{const n=i._zod.bag;n.patterns??(n.patterns=new Set),n.patterns.add(r)}),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})}}),Lp=_("$ZodCheckEndsWith",(e,t)=>{Ee.init(e,t);const r=new RegExp(`.*${St(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(i=>{const n=i._zod.bag;n.patterns??(n.patterns=new Set),n.patterns.add(r)}),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 Fu(e,t,r){e.issues.length&&t.issues.push(...at(r,e.issues))}const Mp=_("$ZodCheckProperty",(e,t)=>{Ee.init(e,t),e._zod.check=r=>{const i=t.schema._zod.run({value:r.value[t.property],issues:[]},{});if(i instanceof Promise)return i.then(n=>Fu(n,r,t.property));Fu(i,r,t.property)}}),Zp=_("$ZodCheckMimeType",(e,t)=>{Ee.init(e,t);const r=new Set(t.mime);e._zod.onattach.push(i=>{i._zod.bag.mime=t.mime}),e._zod.check=i=>{r.has(i.value.type)||i.issues.push({code:"invalid_value",values:t.mime,input:i.value.type,inst:e,continue:!t.abort})}}),Fp=_("$ZodCheckOverwrite",(e,t)=>{Ee.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});class qp{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}const i=t.split(`
|
|
9
|
-
|
|
10
|
-
`))}}const Hp={major:4,minor:4,patch:3},ae=_("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Hp;const i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(const n of i)for(const o of n._zod.onattach)o(e);if(i.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const n=(a,s,u)=>{let l=Mt(a),d;for(const p of s){if(p._zod.def.when){if(Rm(a)||!p._zod.def.when(a))continue}else if(l)continue;const m=a.issues.length,f=p._zod.check(a);if(f instanceof Promise&&u?.async===!1)throw new Zt;if(d||f instanceof Promise)d=(d??Promise.resolve()).then(async()=>{await f,a.issues.length!==m&&(l||(l=Mt(a,m)))});else{if(a.issues.length===m)continue;l||(l=Mt(a,m))}}return d?d.then(()=>a):a},o=(a,s,u)=>{if(Mt(a))return a.aborted=!0,a;const l=n(s,i,u);if(l instanceof Promise){if(u.async===!1)throw new Zt;return l.then(d=>e._zod.parse(d,u))}return e._zod.parse(l,u)};e._zod.run=(a,s)=>{if(s.skipChecks)return e._zod.parse(a,s);if(s.direction==="backward"){const l=e._zod.parse({value:a.value,issues:[]},{...s,skipChecks:!0});return l instanceof Promise?l.then(d=>o(d,a,s)):o(l,a,s)}const u=e._zod.parse(a,s);if(u instanceof Promise){if(s.async===!1)throw new Zt;return u.then(l=>n(l,i,s))}return n(u,i,s)}}me(e,"~standard",()=>({validate:n=>{try{const o=ks(e,n);return o.success?{value:o.data}:{issues:o.error?.issues}}catch{return qm(e,n).then(a=>a.success?{value:a.data}:{issues:a.error?.issues})}},vendor:"zod",version:1}))}),pr=_("$ZodString",(e,t)=>{ae.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??hp(e._zod.bag),e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),ze=_("$ZodStringFormat",(e,t)=>{mr.init(e,t),pr.init(e,t)}),Jp=_("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=Ym),ze.init(e,t)}),Bp=_("$ZodUUID",(e,t)=>{if(t.version){const 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=pn(i))}else t.pattern??(t.pattern=pn());ze.init(e,t)}),Vp=_("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=Xm),ze.init(e,t)}),Kp=_("$ZodURL",(e,t)=>{ze.init(e,t),e._zod.check=r=>{try{const i=r.value.trim();if(!t.normalize&&t.protocol?.source===Es.source&&!/^https?:\/\//i.test(i)){r.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:r.value,inst:e,continue:!t.abort});return}const n=new URL(i);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(n.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(n.protocol.endsWith(":")?n.protocol.slice(0,-1):n.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=n.href:r.value=i;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),Wp=_("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=ep()),ze.init(e,t)}),Gp=_("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=Wm),ze.init(e,t)}),Yp=_("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=Hm),ze.init(e,t)}),Xp=_("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=Jm),ze.init(e,t)}),Qp=_("$ZodULID",(e,t)=>{t.pattern??(t.pattern=Bm),ze.init(e,t)}),ef=_("$ZodXID",(e,t)=>{t.pattern??(t.pattern=Vm),ze.init(e,t)}),tf=_("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Km),ze.init(e,t)}),nf=_("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=fp(t)),ze.init(e,t)}),rf=_("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=dp),ze.init(e,t)}),of=_("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=pp(t)),ze.init(e,t)}),af=_("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=Gm),ze.init(e,t)}),sf=_("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=tp),ze.init(e,t),e._zod.bag.format="ipv4"}),cf=_("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=np),ze.init(e,t),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),lf=_("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=rp(t.delimiter)),ze.init(e,t),e._zod.bag.format="mac"}),uf=_("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=op),ze.init(e,t)}),df=_("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=ip),ze.init(e,t),e._zod.check=r=>{const i=r.value.split("/");try{if(i.length!==2)throw new Error;const[n,o]=i;if(!o)throw new Error;const a=Number(o);if(`${a}`!==o)throw new Error;if(a<0||a>128)throw new Error;new URL(`http://[${n}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function As(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const mf=_("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=ap),ze.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{As(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});function pf(e){if(!js.test(e))return!1;const t=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return As(r)}const ff=_("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=js),ze.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{pf(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),hf=_("$ZodE164",(e,t)=>{t.pattern??(t.pattern=lp),ze.init(e,t)});function vf(e,t=null){try{const r=e.split(".");if(r.length!==3)return!1;const[i]=r;if(!i)return!1;const n=JSON.parse(atob(i));return!("typ"in n&&n?.typ!=="JWT"||!n.alg||t&&(!("alg"in n)||n.alg!==t))}catch{return!1}}const gf=_("$ZodJWT",(e,t)=>{ze.init(e,t),e._zod.check=r=>{vf(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),bf=_("$ZodCustomStringFormat",(e,t)=>{ze.init(e,t),e._zod.check=r=>{t.fn(r.value)||r.issues.push({code:"invalid_format",format:t.format,input:r.value,inst:e,continue:!t.abort})}}),Ns=_("$ZodNumber",(e,t)=>{ae.init(e,t),e._zod.pattern=e._zod.bag.pattern??Ds,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}const n=r.value;if(typeof n=="number"&&!Number.isNaN(n)&&Number.isFinite(n))return r;const o=typeof n=="number"?Number.isNaN(n)?"NaN":Number.isFinite(n)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:n,inst:e,...o?{received:o}:{}}),r}}),_f=_("$ZodNumberFormat",(e,t)=>{Ip.init(e,t),Ns.init(e,t)}),Us=_("$ZodBoolean",(e,t)=>{ae.init(e,t),e._zod.pattern=bp,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=!!r.value}catch{}const n=r.value;return typeof n=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:n,inst:e}),r}}),Rs=_("$ZodBigInt",(e,t)=>{ae.init(e,t),e._zod.pattern=vp,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=BigInt(r.value)}catch{}return typeof r.value=="bigint"||r.issues.push({expected:"bigint",code:"invalid_type",input:r.value,inst:e}),r}}),yf=_("$ZodBigIntFormat",(e,t)=>{zp.init(e,t),Rs.init(e,t)}),kf=_("$ZodSymbol",(e,t)=>{ae.init(e,t),e._zod.parse=(r,i)=>{const n=r.value;return typeof n=="symbol"||r.issues.push({expected:"symbol",code:"invalid_type",input:n,inst:e}),r}}),xf=_("$ZodUndefined",(e,t)=>{ae.init(e,t),e._zod.pattern=yp,e._zod.values=new Set([void 0]),e._zod.parse=(r,i)=>{const n=r.value;return typeof n>"u"||r.issues.push({expected:"undefined",code:"invalid_type",input:n,inst:e}),r}}),$f=_("$ZodNull",(e,t)=>{ae.init(e,t),e._zod.pattern=_p,e._zod.values=new Set([null]),e._zod.parse=(r,i)=>{const n=r.value;return n===null||r.issues.push({expected:"null",code:"invalid_type",input:n,inst:e}),r}}),wf=_("$ZodAny",(e,t)=>{ae.init(e,t),e._zod.parse=r=>r}),Sf=_("$ZodUnknown",(e,t)=>{ae.init(e,t),e._zod.parse=r=>r}),If=_("$ZodNever",(e,t)=>{ae.init(e,t),e._zod.parse=(r,i)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)}),zf=_("$ZodVoid",(e,t)=>{ae.init(e,t),e._zod.parse=(r,i)=>{const n=r.value;return typeof n>"u"||r.issues.push({expected:"void",code:"invalid_type",input:n,inst:e}),r}}),Tf=_("$ZodDate",(e,t)=>{ae.init(e,t),e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=new Date(r.value)}catch{}const n=r.value,o=n instanceof Date;return o&&!Number.isNaN(n.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:n,...o?{received:"Invalid Date"}:{},inst:e}),r}});function qu(e,t,r){e.issues.length&&t.issues.push(...at(r,e.issues)),t.value[r]=e.value}const Pf=_("$ZodArray",(e,t)=>{ae.init(e,t),e._zod.parse=(r,i)=>{const n=r.value;if(!Array.isArray(n))return r.issues.push({expected:"array",code:"invalid_type",input:n,inst:e}),r;r.value=Array(n.length);const o=[];for(let a=0;a<n.length;a++){const s=n[a],u=t.element._zod.run({value:s,issues:[]},i);u instanceof Promise?o.push(u.then(l=>qu(l,r,a))):qu(u,r,a)}return o.length?Promise.all(o).then(()=>r):r}});function Zo(e,t,r,i,n,o){const a=r in i;if(e.issues.length){if(n&&o&&!a)return;t.issues.push(...at(r,e.issues))}if(!a&&!n){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[r]});return}e.value===void 0?a&&(t.value[r]=void 0):t.value[r]=e.value}function jf(e){const t=Object.keys(e.shape);for(const i of t)if(!e.shape?.[i]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${i}": expected a Zod schema`);const r=Tm(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function Ef(e,t,r,i,n,o){const a=[],s=n.keySet,u=n.catchall._zod,l=u.def.type,d=u.optin==="optional",p=u.optout==="optional";for(const m in t){if(m==="__proto__"||s.has(m))continue;if(l==="never"){a.push(m);continue}const f=u.run({value:t[m],issues:[]},i);f instanceof Promise?e.push(f.then(h=>Zo(h,r,m,t,d,p))):Zo(f,r,m,t,d,p)}return a.length&&r.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:o}),e.length?Promise.all(e).then(()=>r):r}const Df=_("$ZodObject",(e,t)=>{if(ae.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const s=t.shape;Object.defineProperty(t,"shape",{get:()=>{const u={...s};return Object.defineProperty(t,"shape",{value:u}),u}})}const i=ir(()=>jf(t));me(e._zod,"propValues",()=>{const s=t.shape,u={};for(const l in s){const d=s[l]._zod;if(d.values){u[l]??(u[l]=new Set);for(const p of d.values)u[l].add(p)}}return u});const n=dn,o=t.catchall;let a;e._zod.parse=(s,u)=>{a??(a=i.value);const l=s.value;if(!n(l))return s.issues.push({expected:"object",code:"invalid_type",input:l,inst:e}),s;s.value={};const d=[],p=a.shape;for(const m of a.keys){const f=p[m],h=f._zod.optin==="optional",g=f._zod.optout==="optional",v=f._zod.run({value:l[m],issues:[]},u);v instanceof Promise?d.push(v.then(w=>Zo(w,s,m,l,h,g))):Zo(v,s,m,l,h,g)}return o?Ef(d,l,s,u,i.value,e):d.length?Promise.all(d).then(()=>s):s}}),Cf=_("$ZodObjectJIT",(e,t)=>{Df.init(e,t);const r=e._zod.parse,i=ir(()=>jf(t)),n=m=>{const f=new qp(["shape","payload","ctx"]),h=i.value,g=$=>{const P=Qa($);return`shape[${P}]._zod.run({ value: input[${P}], issues: [] }, ctx)`};f.write("const input = payload.value;");const v=Object.create(null);let w=0;for(const $ of h.keys)v[$]=`key_${w++}`;f.write("const newResult = {};");for(const $ of h.keys){const P=v[$],b=Qa($),D=m[$],z=D?._zod?.optin==="optional",y=D?._zod?.optout==="optional";f.write(`const ${P} = ${g($)};`),z&&y?f.write(`
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
<script type="module" crossorigin>(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))l(t);new MutationObserver(t=>{for(const a of t)if(a.type==="childList")for(const c of a.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&l(c)}).observe(document,{childList:!0,subtree:!0});function i(t){const a={};return t.integrity&&(a.integrity=t.integrity),t.referrerPolicy&&(a.referrerPolicy=t.referrerPolicy),t.crossOrigin==="use-credentials"?a.credentials="include":t.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function l(t){if(t.ep)return;t.ep=!0;const a=i(t);fetch(t.href,a)}})();var Kc={exports:{}},ui={},Gc={exports:{}},he={};/**
|
|
8
|
+
* @license React
|
|
9
|
+
* react.production.min.js
|
|
10
|
+
*
|
|
11
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
12
|
+
*
|
|
13
|
+
* This source code is licensed under the MIT license found in the
|
|
14
|
+
* LICENSE file in the root directory of this source tree.
|
|
15
|
+
*/var Qh;function wS(){if(Qh)return he;Qh=1;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),t=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),c=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),k=Symbol.iterator;function T(w){return w===null||typeof w!="object"?null:(w=k&&w[k]||w["@@iterator"],typeof w=="function"?w:null)}var P={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Z=Object.assign,B={};function V(w,U,fe){this.props=w,this.context=U,this.refs=B,this.updater=fe||P}V.prototype.isReactComponent={},V.prototype.setState=function(w,U){if(typeof w!="object"&&typeof w!="function"&&w!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,w,U,"setState")},V.prototype.forceUpdate=function(w){this.updater.enqueueForceUpdate(this,w,"forceUpdate")};function q(){}q.prototype=V.prototype;function de(w,U,fe){this.props=w,this.context=U,this.refs=B,this.updater=fe||P}var se=de.prototype=new q;se.constructor=de,Z(se,V.prototype),se.isPureReactComponent=!0;var Y=Array.isArray,ge=Object.prototype.hasOwnProperty,Ye={current:null},rt={key:!0,ref:!0,__self:!0,__source:!0};function $t(w,U,fe){var ve,ke={},Se=null,Oe=null;if(U!=null)for(ve in U.ref!==void 0&&(Oe=U.ref),U.key!==void 0&&(Se=""+U.key),U)ge.call(U,ve)&&!rt.hasOwnProperty(ve)&&(ke[ve]=U[ve]);var Ie=arguments.length-2;if(Ie===1)ke.children=fe;else if(1<Ie){for(var Le=Array(Ie),Et=0;Et<Ie;Et++)Le[Et]=arguments[Et+2];ke.children=Le}if(w&&w.defaultProps)for(ve in Ie=w.defaultProps,Ie)ke[ve]===void 0&&(ke[ve]=Ie[ve]);return{$$typeof:n,type:w,key:Se,ref:Oe,props:ke,_owner:Ye.current}}function jn(w,U){return{$$typeof:n,type:w.type,key:U,ref:w.ref,props:w.props,_owner:w._owner}}function hn(w){return typeof w=="object"&&w!==null&&w.$$typeof===n}function Xn(w){var U={"=":"=0",":":"=2"};return"$"+w.replace(/[=:]/g,function(fe){return U[fe]})}var sn=/\/+/g;function jt(w,U){return typeof w=="object"&&w!==null&&w.key!=null?Xn(""+w.key):U.toString(36)}function Gt(w,U,fe,ve,ke){var Se=typeof w;(Se==="undefined"||Se==="boolean")&&(w=null);var Oe=!1;if(w===null)Oe=!0;else switch(Se){case"string":case"number":Oe=!0;break;case"object":switch(w.$$typeof){case n:case r:Oe=!0}}if(Oe)return Oe=w,ke=ke(Oe),w=ve===""?"."+jt(Oe,0):ve,Y(ke)?(fe="",w!=null&&(fe=w.replace(sn,"$&/")+"/"),Gt(ke,U,fe,"",function(Et){return Et})):ke!=null&&(hn(ke)&&(ke=jn(ke,fe+(!ke.key||Oe&&Oe.key===ke.key?"":(""+ke.key).replace(sn,"$&/")+"/")+w)),U.push(ke)),1;if(Oe=0,ve=ve===""?".":ve+":",Y(w))for(var Ie=0;Ie<w.length;Ie++){Se=w[Ie];var Le=ve+jt(Se,Ie);Oe+=Gt(Se,U,fe,Le,ke)}else if(Le=T(w),typeof Le=="function")for(w=Le.call(w),Ie=0;!(Se=w.next()).done;)Se=Se.value,Le=ve+jt(Se,Ie++),Oe+=Gt(Se,U,fe,Le,ke);else if(Se==="object")throw U=String(w),Error("Objects are not valid as a React child (found: "+(U==="[object Object]"?"object with keys {"+Object.keys(w).join(", ")+"}":U)+"). If you meant to render a collection of children, use an array instead.");return Oe}function ln(w,U,fe){if(w==null)return w;var ve=[],ke=0;return Gt(w,ve,"","",function(Se){return U.call(fe,Se,ke++)}),ve}function kt(w){if(w._status===-1){var U=w._result;U=U(),U.then(function(fe){(w._status===0||w._status===-1)&&(w._status=1,w._result=fe)},function(fe){(w._status===0||w._status===-1)&&(w._status=2,w._result=fe)}),w._status===-1&&(w._status=0,w._result=U)}if(w._status===1)return w._result.default;throw w._result}var qe={current:null},H={transition:null},ie={ReactCurrentDispatcher:qe,ReactCurrentBatchConfig:H,ReactCurrentOwner:Ye};function K(){throw Error("act(...) is not supported in production builds of React.")}return he.Children={map:ln,forEach:function(w,U,fe){ln(w,function(){U.apply(this,arguments)},fe)},count:function(w){var U=0;return ln(w,function(){U++}),U},toArray:function(w){return ln(w,function(U){return U})||[]},only:function(w){if(!hn(w))throw Error("React.Children.only expected to receive a single React element child.");return w}},he.Component=V,he.Fragment=i,he.Profiler=t,he.PureComponent=de,he.StrictMode=l,he.Suspense=g,he.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ie,he.act=K,he.cloneElement=function(w,U,fe){if(w==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+w+".");var ve=Z({},w.props),ke=w.key,Se=w.ref,Oe=w._owner;if(U!=null){if(U.ref!==void 0&&(Se=U.ref,Oe=Ye.current),U.key!==void 0&&(ke=""+U.key),w.type&&w.type.defaultProps)var Ie=w.type.defaultProps;for(Le in U)ge.call(U,Le)&&!rt.hasOwnProperty(Le)&&(ve[Le]=U[Le]===void 0&&Ie!==void 0?Ie[Le]:U[Le])}var Le=arguments.length-2;if(Le===1)ve.children=fe;else if(1<Le){Ie=Array(Le);for(var Et=0;Et<Le;Et++)Ie[Et]=arguments[Et+2];ve.children=Ie}return{$$typeof:n,type:w.type,key:ke,ref:Se,props:ve,_owner:Oe}},he.createContext=function(w){return w={$$typeof:c,_currentValue:w,_currentValue2:w,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},w.Provider={$$typeof:a,_context:w},w.Consumer=w},he.createElement=$t,he.createFactory=function(w){var U=$t.bind(null,w);return U.type=w,U},he.createRef=function(){return{current:null}},he.forwardRef=function(w){return{$$typeof:p,render:w}},he.isValidElement=hn,he.lazy=function(w){return{$$typeof:y,_payload:{_status:-1,_result:w},_init:kt}},he.memo=function(w,U){return{$$typeof:h,type:w,compare:U===void 0?null:U}},he.startTransition=function(w){var U=H.transition;H.transition={};try{w()}finally{H.transition=U}},he.unstable_act=K,he.useCallback=function(w,U){return qe.current.useCallback(w,U)},he.useContext=function(w){return qe.current.useContext(w)},he.useDebugValue=function(){},he.useDeferredValue=function(w){return qe.current.useDeferredValue(w)},he.useEffect=function(w,U){return qe.current.useEffect(w,U)},he.useId=function(){return qe.current.useId()},he.useImperativeHandle=function(w,U,fe){return qe.current.useImperativeHandle(w,U,fe)},he.useInsertionEffect=function(w,U){return qe.current.useInsertionEffect(w,U)},he.useLayoutEffect=function(w,U){return qe.current.useLayoutEffect(w,U)},he.useMemo=function(w,U){return qe.current.useMemo(w,U)},he.useReducer=function(w,U,fe){return qe.current.useReducer(w,U,fe)},he.useRef=function(w){return qe.current.useRef(w)},he.useState=function(w){return qe.current.useState(w)},he.useSyncExternalStore=function(w,U,fe){return qe.current.useSyncExternalStore(w,U,fe)},he.useTransition=function(){return qe.current.useTransition()},he.version="18.3.1",he}var Xh;function ld(){return Xh||(Xh=1,Gc.exports=wS()),Gc.exports}/**
|
|
16
|
+
* @license React
|
|
17
|
+
* react-jsx-runtime.production.min.js
|
|
18
|
+
*
|
|
19
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
20
|
+
*
|
|
21
|
+
* This source code is licensed under the MIT license found in the
|
|
22
|
+
* LICENSE file in the root directory of this source tree.
|
|
23
|
+
*/var Yh;function bS(){if(Yh)return ui;Yh=1;var n=ld(),r=Symbol.for("react.element"),i=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,t=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function c(p,g,h){var y,k={},T=null,P=null;h!==void 0&&(T=""+h),g.key!==void 0&&(T=""+g.key),g.ref!==void 0&&(P=g.ref);for(y in g)l.call(g,y)&&!a.hasOwnProperty(y)&&(k[y]=g[y]);if(p&&p.defaultProps)for(y in g=p.defaultProps,g)k[y]===void 0&&(k[y]=g[y]);return{$$typeof:r,type:p,key:T,ref:P,props:k,_owner:t.current}}return ui.Fragment=i,ui.jsx=c,ui.jsxs=c,ui}var ev;function xS(){return ev||(ev=1,Kc.exports=bS()),Kc.exports}var C=xS(),js={},Qc={exports:{}},zt={},Xc={exports:{}},Yc={};/**
|
|
24
|
+
* @license React
|
|
25
|
+
* scheduler.production.min.js
|
|
26
|
+
*
|
|
27
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
28
|
+
*
|
|
29
|
+
* This source code is licensed under the MIT license found in the
|
|
30
|
+
* LICENSE file in the root directory of this source tree.
|
|
31
|
+
*/var tv;function IS(){return tv||(tv=1,(function(n){function r(H,ie){var K=H.length;H.push(ie);e:for(;0<K;){var w=K-1>>>1,U=H[w];if(0<t(U,ie))H[w]=ie,H[K]=U,K=w;else break e}}function i(H){return H.length===0?null:H[0]}function l(H){if(H.length===0)return null;var ie=H[0],K=H.pop();if(K!==ie){H[0]=K;e:for(var w=0,U=H.length,fe=U>>>1;w<fe;){var ve=2*(w+1)-1,ke=H[ve],Se=ve+1,Oe=H[Se];if(0>t(ke,K))Se<U&&0>t(Oe,ke)?(H[w]=Oe,H[Se]=K,w=Se):(H[w]=ke,H[ve]=K,w=ve);else if(Se<U&&0>t(Oe,K))H[w]=Oe,H[Se]=K,w=Se;else break e}}return ie}function t(H,ie){var K=H.sortIndex-ie.sortIndex;return K!==0?K:H.id-ie.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;n.unstable_now=function(){return a.now()}}else{var c=Date,p=c.now();n.unstable_now=function(){return c.now()-p}}var g=[],h=[],y=1,k=null,T=3,P=!1,Z=!1,B=!1,V=typeof setTimeout=="function"?setTimeout:null,q=typeof clearTimeout=="function"?clearTimeout:null,de=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function se(H){for(var ie=i(h);ie!==null;){if(ie.callback===null)l(h);else if(ie.startTime<=H)l(h),ie.sortIndex=ie.expirationTime,r(g,ie);else break;ie=i(h)}}function Y(H){if(B=!1,se(H),!Z)if(i(g)!==null)Z=!0,kt(ge);else{var ie=i(h);ie!==null&&qe(Y,ie.startTime-H)}}function ge(H,ie){Z=!1,B&&(B=!1,q($t),$t=-1),P=!0;var K=T;try{for(se(ie),k=i(g);k!==null&&(!(k.expirationTime>ie)||H&&!Xn());){var w=k.callback;if(typeof w=="function"){k.callback=null,T=k.priorityLevel;var U=w(k.expirationTime<=ie);ie=n.unstable_now(),typeof U=="function"?k.callback=U:k===i(g)&&l(g),se(ie)}else l(g);k=i(g)}if(k!==null)var fe=!0;else{var ve=i(h);ve!==null&&qe(Y,ve.startTime-ie),fe=!1}return fe}finally{k=null,T=K,P=!1}}var Ye=!1,rt=null,$t=-1,jn=5,hn=-1;function Xn(){return!(n.unstable_now()-hn<jn)}function sn(){if(rt!==null){var H=n.unstable_now();hn=H;var ie=!0;try{ie=rt(!0,H)}finally{ie?jt():(Ye=!1,rt=null)}}else Ye=!1}var jt;if(typeof de=="function")jt=function(){de(sn)};else if(typeof MessageChannel<"u"){var Gt=new MessageChannel,ln=Gt.port2;Gt.port1.onmessage=sn,jt=function(){ln.postMessage(null)}}else jt=function(){V(sn,0)};function kt(H){rt=H,Ye||(Ye=!0,jt())}function qe(H,ie){$t=V(function(){H(n.unstable_now())},ie)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(H){H.callback=null},n.unstable_continueExecution=function(){Z||P||(Z=!0,kt(ge))},n.unstable_forceFrameRate=function(H){0>H||125<H?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):jn=0<H?Math.floor(1e3/H):5},n.unstable_getCurrentPriorityLevel=function(){return T},n.unstable_getFirstCallbackNode=function(){return i(g)},n.unstable_next=function(H){switch(T){case 1:case 2:case 3:var ie=3;break;default:ie=T}var K=T;T=ie;try{return H()}finally{T=K}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(H,ie){switch(H){case 1:case 2:case 3:case 4:case 5:break;default:H=3}var K=T;T=H;try{return ie()}finally{T=K}},n.unstable_scheduleCallback=function(H,ie,K){var w=n.unstable_now();switch(typeof K=="object"&&K!==null?(K=K.delay,K=typeof K=="number"&&0<K?w+K:w):K=w,H){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=K+U,H={id:y++,callback:ie,priorityLevel:H,startTime:K,expirationTime:U,sortIndex:-1},K>w?(H.sortIndex=K,r(h,H),i(g)===null&&H===i(h)&&(B?(q($t),$t=-1):B=!0,qe(Y,K-w))):(H.sortIndex=U,r(g,H),Z||P||(Z=!0,kt(ge))),H},n.unstable_shouldYield=Xn,n.unstable_wrapCallback=function(H){var ie=T;return function(){var K=T;T=ie;try{return H.apply(this,arguments)}finally{T=K}}}})(Yc)),Yc}var nv;function zS(){return nv||(nv=1,Xc.exports=IS()),Xc.exports}/**
|
|
32
|
+
* @license React
|
|
33
|
+
* react-dom.production.min.js
|
|
34
|
+
*
|
|
35
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
36
|
+
*
|
|
37
|
+
* This source code is licensed under the MIT license found in the
|
|
38
|
+
* LICENSE file in the root directory of this source tree.
|
|
39
|
+
*/var rv;function TS(){if(rv)return zt;rv=1;var n=ld(),r=zS();function i(e){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+e,s=1;s<arguments.length;s++)o+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+e+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var l=new Set,t={};function a(e,o){c(e,o),c(e+"Capture",o)}function c(e,o){for(t[e]=o,e=0;e<o.length;e++)l.add(o[e])}var p=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),g=Object.prototype.hasOwnProperty,h=/^[: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]*$/,y={},k={};function T(e){return g.call(k,e)?!0:g.call(y,e)?!1:h.test(e)?k[e]=!0:(y[e]=!0,!1)}function P(e,o,s,u){if(s!==null&&s.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return u?!1:s!==null?!s.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Z(e,o,s,u){if(o===null||typeof o>"u"||P(e,o,s,u))return!0;if(u)return!1;if(s!==null)switch(s.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function B(e,o,s,u,d,f,m){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=u,this.attributeNamespace=d,this.mustUseProperty=s,this.propertyName=e,this.type=o,this.sanitizeURL=f,this.removeEmptyString=m}var V={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){V[e]=new B(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var o=e[0];V[o]=new B(o,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){V[e]=new B(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){V[e]=new B(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){V[e]=new B(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){V[e]=new B(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){V[e]=new B(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){V[e]=new B(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){V[e]=new B(e,5,!1,e.toLowerCase(),null,!1,!1)});var q=/[\-:]([a-z])/g;function de(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var o=e.replace(q,de);V[o]=new B(o,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var o=e.replace(q,de);V[o]=new B(o,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var o=e.replace(q,de);V[o]=new B(o,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){V[e]=new B(e,1,!1,e.toLowerCase(),null,!1,!1)}),V.xlinkHref=new B("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){V[e]=new B(e,1,!1,e.toLowerCase(),null,!0,!0)});function se(e,o,s,u){var d=V.hasOwnProperty(o)?V[o]:null;(d!==null?d.type!==0:u||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(Z(o,s,d,u)&&(s=null),u||d===null?T(o)&&(s===null?e.removeAttribute(o):e.setAttribute(o,""+s)):d.mustUseProperty?e[d.propertyName]=s===null?d.type===3?!1:"":s:(o=d.attributeName,u=d.attributeNamespace,s===null?e.removeAttribute(o):(d=d.type,s=d===3||d===4&&s===!0?"":""+s,u?e.setAttributeNS(u,o,s):e.setAttribute(o,s))))}var Y=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ge=Symbol.for("react.element"),Ye=Symbol.for("react.portal"),rt=Symbol.for("react.fragment"),$t=Symbol.for("react.strict_mode"),jn=Symbol.for("react.profiler"),hn=Symbol.for("react.provider"),Xn=Symbol.for("react.context"),sn=Symbol.for("react.forward_ref"),jt=Symbol.for("react.suspense"),Gt=Symbol.for("react.suspense_list"),ln=Symbol.for("react.memo"),kt=Symbol.for("react.lazy"),qe=Symbol.for("react.offscreen"),H=Symbol.iterator;function ie(e){return e===null||typeof e!="object"?null:(e=H&&e[H]||e["@@iterator"],typeof e=="function"?e:null)}var K=Object.assign,w;function U(e){if(w===void 0)try{throw Error()}catch(s){var o=s.stack.trim().match(/\n( *(at )?)/);w=o&&o[1]||""}return`
|
|
40
|
+
`+w+e}var fe=!1;function ve(e,o){if(!e||fe)return"";fe=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=function(){throw Error()},Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(E){var u=E}Reflect.construct(e,[],o)}else{try{o.call()}catch(E){u=E}e.call(o.prototype)}else{try{throw Error()}catch(E){u=E}e()}}catch(E){if(E&&u&&typeof E.stack=="string"){for(var d=E.stack.split(`
|
|
41
|
+
`),f=u.stack.split(`
|
|
42
|
+
`),m=d.length-1,v=f.length-1;1<=m&&0<=v&&d[m]!==f[v];)v--;for(;1<=m&&0<=v;m--,v--)if(d[m]!==f[v]){if(m!==1||v!==1)do if(m--,v--,0>v||d[m]!==f[v]){var _=`
|
|
43
|
+
`+d[m].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),_}while(1<=m&&0<=v);break}}}finally{fe=!1,Error.prepareStackTrace=s}return(e=e?e.displayName||e.name:"")?U(e):""}function ke(e){switch(e.tag){case 5:return U(e.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return e=ve(e.type,!1),e;case 11:return e=ve(e.type.render,!1),e;case 1:return e=ve(e.type,!0),e;default:return""}}function Se(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case rt:return"Fragment";case Ye:return"Portal";case jn:return"Profiler";case $t:return"StrictMode";case jt:return"Suspense";case Gt:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Xn:return(e.displayName||"Context")+".Consumer";case hn:return(e._context.displayName||"Context")+".Provider";case sn:var o=e.render;return e=e.displayName,e||(e=o.displayName||o.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ln:return o=e.displayName||null,o!==null?o:Se(e.type)||"Memo";case kt:o=e._payload,e=e._init;try{return Se(e(o))}catch{}}return null}function Oe(e){var o=e.type;switch(e.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=o.render,e=e.displayName||e.name||"",o.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Se(o);case 8:return o===$t?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof o=="function")return o.displayName||o.name||null;if(typeof o=="string")return o}return null}function Ie(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Le(e){var o=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function Et(e){var o=Le(e)?"checked":"value",s=Object.getOwnPropertyDescriptor(e.constructor.prototype,o),u=""+e[o];if(!e.hasOwnProperty(o)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var d=s.get,f=s.set;return Object.defineProperty(e,o,{configurable:!0,get:function(){return d.call(this)},set:function(m){u=""+m,f.call(this,m)}}),Object.defineProperty(e,o,{enumerable:s.enumerable}),{getValue:function(){return u},setValue:function(m){u=""+m},stopTracking:function(){e._valueTracker=null,delete e[o]}}}}function _a(e){e._valueTracker||(e._valueTracker=Et(e))}function rm(e){if(!e)return!1;var o=e._valueTracker;if(!o)return!0;var s=o.getValue(),u="";return e&&(u=Le(e)?e.checked?"true":"false":e.value),e=u,e!==s?(o.setValue(e),!0):!1}function $a(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 nu(e,o){var s=o.checked;return K({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??e._wrapperState.initialChecked})}function om(e,o){var s=o.defaultValue==null?"":o.defaultValue,u=o.checked!=null?o.checked:o.defaultChecked;s=Ie(o.value!=null?o.value:s),e._wrapperState={initialChecked:u,initialValue:s,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function im(e,o){o=o.checked,o!=null&&se(e,"checked",o,!1)}function ru(e,o){im(e,o);var s=Ie(o.value),u=o.type;if(s!=null)u==="number"?(s===0&&e.value===""||e.value!=s)&&(e.value=""+s):e.value!==""+s&&(e.value=""+s);else if(u==="submit"||u==="reset"){e.removeAttribute("value");return}o.hasOwnProperty("value")?ou(e,o.type,s):o.hasOwnProperty("defaultValue")&&ou(e,o.type,Ie(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(e.defaultChecked=!!o.defaultChecked)}function am(e,o,s){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var u=o.type;if(!(u!=="submit"&&u!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+e._wrapperState.initialValue,s||o===e.value||(e.value=o),e.defaultValue=o}s=e.name,s!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,s!==""&&(e.name=s)}function ou(e,o,s){(o!=="number"||$a(e.ownerDocument)!==e)&&(s==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+s&&(e.defaultValue=""+s))}var bo=Array.isArray;function xr(e,o,s,u){if(e=e.options,o){o={};for(var d=0;d<s.length;d++)o["$"+s[d]]=!0;for(s=0;s<e.length;s++)d=o.hasOwnProperty("$"+e[s].value),e[s].selected!==d&&(e[s].selected=d),d&&u&&(e[s].defaultSelected=!0)}else{for(s=""+Ie(s),o=null,d=0;d<e.length;d++){if(e[d].value===s){e[d].selected=!0,u&&(e[d].defaultSelected=!0);return}o!==null||e[d].disabled||(o=e[d])}o!==null&&(o.selected=!0)}}function iu(e,o){if(o.dangerouslySetInnerHTML!=null)throw Error(i(91));return K({},o,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function sm(e,o){var s=o.value;if(s==null){if(s=o.children,o=o.defaultValue,s!=null){if(o!=null)throw Error(i(92));if(bo(s)){if(1<s.length)throw Error(i(93));s=s[0]}o=s}o==null&&(o=""),s=o}e._wrapperState={initialValue:Ie(s)}}function lm(e,o){var s=Ie(o.value),u=Ie(o.defaultValue);s!=null&&(s=""+s,s!==e.value&&(e.value=s),o.defaultValue==null&&e.defaultValue!==s&&(e.defaultValue=s)),u!=null&&(e.defaultValue=""+u)}function um(e){var o=e.textContent;o===e._wrapperState.initialValue&&o!==""&&o!==null&&(e.value=o)}function cm(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function au(e,o){return e==null||e==="http://www.w3.org/1999/xhtml"?cm(o):e==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ka,dm=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,s,u,d){MSApp.execUnsafeLocalFunction(function(){return e(o,s,u,d)})}:e})(function(e,o){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=o;else{for(ka=ka||document.createElement("div"),ka.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=ka.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;o.firstChild;)e.appendChild(o.firstChild)}});function xo(e,o){if(o){var s=e.firstChild;if(s&&s===e.lastChild&&s.nodeType===3){s.nodeValue=o;return}}e.textContent=o}var Io={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},z2=["Webkit","ms","Moz","O"];Object.keys(Io).forEach(function(e){z2.forEach(function(o){o=o+e.charAt(0).toUpperCase()+e.substring(1),Io[o]=Io[e]})});function fm(e,o,s){return o==null||typeof o=="boolean"||o===""?"":s||typeof o!="number"||o===0||Io.hasOwnProperty(e)&&Io[e]?(""+o).trim():o+"px"}function pm(e,o){e=e.style;for(var s in o)if(o.hasOwnProperty(s)){var u=s.indexOf("--")===0,d=fm(s,o[s],u);s==="float"&&(s="cssFloat"),u?e.setProperty(s,d):e[s]=d}}var T2=K({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function su(e,o){if(o){if(T2[e]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(i(137,e));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(i(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(i(61))}if(o.style!=null&&typeof o.style!="object")throw Error(i(62))}}function lu(e,o){if(e.indexOf("-")===-1)return typeof o.is=="string";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 uu=null;function cu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var du=null,Ir=null,zr=null;function mm(e){if(e=Bo(e)){if(typeof du!="function")throw Error(i(280));var o=e.stateNode;o&&(o=Ha(o),du(e.stateNode,e.type,o))}}function gm(e){Ir?zr?zr.push(e):zr=[e]:Ir=e}function hm(){if(Ir){var e=Ir,o=zr;if(zr=Ir=null,mm(e),o)for(e=0;e<o.length;e++)mm(o[e])}}function vm(e,o){return e(o)}function ym(){}var fu=!1;function _m(e,o,s){if(fu)return e(o,s);fu=!0;try{return vm(e,o,s)}finally{fu=!1,(Ir!==null||zr!==null)&&(ym(),hm())}}function zo(e,o){var s=e.stateNode;if(s===null)return null;var u=Ha(s);if(u===null)return null;s=u[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(s&&typeof s!="function")throw Error(i(231,o,typeof s));return s}var pu=!1;if(p)try{var To={};Object.defineProperty(To,"passive",{get:function(){pu=!0}}),window.addEventListener("test",To,To),window.removeEventListener("test",To,To)}catch{pu=!1}function j2(e,o,s,u,d,f,m,v,_){var E=Array.prototype.slice.call(arguments,3);try{o.apply(s,E)}catch(D){this.onError(D)}}var jo=!1,Sa=null,wa=!1,mu=null,E2={onError:function(e){jo=!0,Sa=e}};function P2(e,o,s,u,d,f,m,v,_){jo=!1,Sa=null,j2.apply(E2,arguments)}function N2(e,o,s,u,d,f,m,v,_){if(P2.apply(this,arguments),jo){if(jo){var E=Sa;jo=!1,Sa=null}else throw Error(i(198));wa||(wa=!0,mu=E)}}function Yn(e){var o=e,s=e;if(e.alternate)for(;o.return;)o=o.return;else{e=o;do o=e,(o.flags&4098)!==0&&(s=o.return),e=o.return;while(e)}return o.tag===3?s:null}function $m(e){if(e.tag===13){var o=e.memoizedState;if(o===null&&(e=e.alternate,e!==null&&(o=e.memoizedState)),o!==null)return o.dehydrated}return null}function km(e){if(Yn(e)!==e)throw Error(i(188))}function O2(e){var o=e.alternate;if(!o){if(o=Yn(e),o===null)throw Error(i(188));return o!==e?null:e}for(var s=e,u=o;;){var d=s.return;if(d===null)break;var f=d.alternate;if(f===null){if(u=d.return,u!==null){s=u;continue}break}if(d.child===f.child){for(f=d.child;f;){if(f===s)return km(d),e;if(f===u)return km(d),o;f=f.sibling}throw Error(i(188))}if(s.return!==u.return)s=d,u=f;else{for(var m=!1,v=d.child;v;){if(v===s){m=!0,s=d,u=f;break}if(v===u){m=!0,u=d,s=f;break}v=v.sibling}if(!m){for(v=f.child;v;){if(v===s){m=!0,s=f,u=d;break}if(v===u){m=!0,u=f,s=d;break}v=v.sibling}if(!m)throw Error(i(189))}}if(s.alternate!==u)throw Error(i(190))}if(s.tag!==3)throw Error(i(188));return s.stateNode.current===s?e:o}function Sm(e){return e=O2(e),e!==null?wm(e):null}function wm(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var o=wm(e);if(o!==null)return o;e=e.sibling}return null}var bm=r.unstable_scheduleCallback,xm=r.unstable_cancelCallback,U2=r.unstable_shouldYield,D2=r.unstable_requestPaint,Ve=r.unstable_now,C2=r.unstable_getCurrentPriorityLevel,gu=r.unstable_ImmediatePriority,Im=r.unstable_UserBlockingPriority,ba=r.unstable_NormalPriority,R2=r.unstable_LowPriority,zm=r.unstable_IdlePriority,xa=null,un=null;function L2(e){if(un&&typeof un.onCommitFiberRoot=="function")try{un.onCommitFiberRoot(xa,e,void 0,(e.current.flags&128)===128)}catch{}}var Qt=Math.clz32?Math.clz32:A2,Z2=Math.log,M2=Math.LN2;function A2(e){return e>>>=0,e===0?32:31-(Z2(e)/M2|0)|0}var Ia=64,za=4194304;function Eo(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ta(e,o){var s=e.pendingLanes;if(s===0)return 0;var u=0,d=e.suspendedLanes,f=e.pingedLanes,m=s&268435455;if(m!==0){var v=m&~d;v!==0?u=Eo(v):(f&=m,f!==0&&(u=Eo(f)))}else m=s&~d,m!==0?u=Eo(m):f!==0&&(u=Eo(f));if(u===0)return 0;if(o!==0&&o!==u&&(o&d)===0&&(d=u&-u,f=o&-o,d>=f||d===16&&(f&4194240)!==0))return o;if((u&4)!==0&&(u|=s&16),o=e.entangledLanes,o!==0)for(e=e.entanglements,o&=u;0<o;)s=31-Qt(o),d=1<<s,u|=e[s],o&=~d;return u}function F2(e,o){switch(e){case 1:case 2:case 4:return o+250;case 8:case 16:case 32:case 64: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 o+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function q2(e,o){for(var s=e.suspendedLanes,u=e.pingedLanes,d=e.expirationTimes,f=e.pendingLanes;0<f;){var m=31-Qt(f),v=1<<m,_=d[m];_===-1?((v&s)===0||(v&u)!==0)&&(d[m]=F2(v,o)):_<=o&&(e.expiredLanes|=v),f&=~v}}function hu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Tm(){var e=Ia;return Ia<<=1,(Ia&4194240)===0&&(Ia=64),e}function vu(e){for(var o=[],s=0;31>s;s++)o.push(e);return o}function Po(e,o,s){e.pendingLanes|=o,o!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,o=31-Qt(o),e[o]=s}function H2(e,o){var s=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;var u=e.eventTimes;for(e=e.expirationTimes;0<s;){var d=31-Qt(s),f=1<<d;o[d]=0,u[d]=-1,e[d]=-1,s&=~f}}function yu(e,o){var s=e.entangledLanes|=o;for(e=e.entanglements;s;){var u=31-Qt(s),d=1<<u;d&o|e[u]&o&&(e[u]|=o),s&=~d}}var ze=0;function jm(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Em,_u,Pm,Nm,Om,$u=!1,ja=[],En=null,Pn=null,Nn=null,No=new Map,Oo=new Map,On=[],J2="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 submit".split(" ");function Um(e,o){switch(e){case"focusin":case"focusout":En=null;break;case"dragenter":case"dragleave":Pn=null;break;case"mouseover":case"mouseout":Nn=null;break;case"pointerover":case"pointerout":No.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":Oo.delete(o.pointerId)}}function Uo(e,o,s,u,d,f){return e===null||e.nativeEvent!==f?(e={blockedOn:o,domEventName:s,eventSystemFlags:u,nativeEvent:f,targetContainers:[d]},o!==null&&(o=Bo(o),o!==null&&_u(o)),e):(e.eventSystemFlags|=u,o=e.targetContainers,d!==null&&o.indexOf(d)===-1&&o.push(d),e)}function V2(e,o,s,u,d){switch(o){case"focusin":return En=Uo(En,e,o,s,u,d),!0;case"dragenter":return Pn=Uo(Pn,e,o,s,u,d),!0;case"mouseover":return Nn=Uo(Nn,e,o,s,u,d),!0;case"pointerover":var f=d.pointerId;return No.set(f,Uo(No.get(f)||null,e,o,s,u,d)),!0;case"gotpointercapture":return f=d.pointerId,Oo.set(f,Uo(Oo.get(f)||null,e,o,s,u,d)),!0}return!1}function Dm(e){var o=er(e.target);if(o!==null){var s=Yn(o);if(s!==null){if(o=s.tag,o===13){if(o=$m(s),o!==null){e.blockedOn=o,Om(e.priority,function(){Pm(s)});return}}else if(o===3&&s.stateNode.current.memoizedState.isDehydrated){e.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ea(e){if(e.blockedOn!==null)return!1;for(var o=e.targetContainers;0<o.length;){var s=Su(e.domEventName,e.eventSystemFlags,o[0],e.nativeEvent);if(s===null){s=e.nativeEvent;var u=new s.constructor(s.type,s);uu=u,s.target.dispatchEvent(u),uu=null}else return o=Bo(s),o!==null&&_u(o),e.blockedOn=s,!1;o.shift()}return!0}function Cm(e,o,s){Ea(e)&&s.delete(o)}function W2(){$u=!1,En!==null&&Ea(En)&&(En=null),Pn!==null&&Ea(Pn)&&(Pn=null),Nn!==null&&Ea(Nn)&&(Nn=null),No.forEach(Cm),Oo.forEach(Cm)}function Do(e,o){e.blockedOn===o&&(e.blockedOn=null,$u||($u=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,W2)))}function Co(e){function o(d){return Do(d,e)}if(0<ja.length){Do(ja[0],e);for(var s=1;s<ja.length;s++){var u=ja[s];u.blockedOn===e&&(u.blockedOn=null)}}for(En!==null&&Do(En,e),Pn!==null&&Do(Pn,e),Nn!==null&&Do(Nn,e),No.forEach(o),Oo.forEach(o),s=0;s<On.length;s++)u=On[s],u.blockedOn===e&&(u.blockedOn=null);for(;0<On.length&&(s=On[0],s.blockedOn===null);)Dm(s),s.blockedOn===null&&On.shift()}var Tr=Y.ReactCurrentBatchConfig,Pa=!0;function B2(e,o,s,u){var d=ze,f=Tr.transition;Tr.transition=null;try{ze=1,ku(e,o,s,u)}finally{ze=d,Tr.transition=f}}function K2(e,o,s,u){var d=ze,f=Tr.transition;Tr.transition=null;try{ze=4,ku(e,o,s,u)}finally{ze=d,Tr.transition=f}}function ku(e,o,s,u){if(Pa){var d=Su(e,o,s,u);if(d===null)Zu(e,o,u,Na,s),Um(e,u);else if(V2(d,e,o,s,u))u.stopPropagation();else if(Um(e,u),o&4&&-1<J2.indexOf(e)){for(;d!==null;){var f=Bo(d);if(f!==null&&Em(f),f=Su(e,o,s,u),f===null&&Zu(e,o,u,Na,s),f===d)break;d=f}d!==null&&u.stopPropagation()}else Zu(e,o,u,null,s)}}var Na=null;function Su(e,o,s,u){if(Na=null,e=cu(u),e=er(e),e!==null)if(o=Yn(e),o===null)e=null;else if(s=o.tag,s===13){if(e=$m(o),e!==null)return e;e=null}else if(s===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;e=null}else o!==e&&(e=null);return Na=e,null}function Rm(e){switch(e){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"resize":case"seeked":case"submit":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"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(C2()){case gu:return 1;case Im:return 4;case ba:case R2:return 16;case zm:return 536870912;default:return 16}default:return 16}}var Un=null,wu=null,Oa=null;function Lm(){if(Oa)return Oa;var e,o=wu,s=o.length,u,d="value"in Un?Un.value:Un.textContent,f=d.length;for(e=0;e<s&&o[e]===d[e];e++);var m=s-e;for(u=1;u<=m&&o[s-u]===d[f-u];u++);return Oa=d.slice(e,1<u?1-u:void 0)}function Ua(e){var o=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&o===13&&(e=13)):e=o,e===10&&(e=13),32<=e||e===13?e:0}function Da(){return!0}function Zm(){return!1}function Pt(e){function o(s,u,d,f,m){this._reactName=s,this._targetInst=d,this.type=u,this.nativeEvent=f,this.target=m,this.currentTarget=null;for(var v in e)e.hasOwnProperty(v)&&(s=e[v],this[v]=s?s(f):f[v]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?Da:Zm,this.isPropagationStopped=Zm,this}return K(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Da)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Da)},persist:function(){},isPersistent:Da}),o}var jr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bu=Pt(jr),Ro=K({},jr,{view:0,detail:0}),G2=Pt(Ro),xu,Iu,Lo,Ca=K({},Ro,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Tu,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!==Lo&&(Lo&&e.type==="mousemove"?(xu=e.screenX-Lo.screenX,Iu=e.screenY-Lo.screenY):Iu=xu=0,Lo=e),xu)},movementY:function(e){return"movementY"in e?e.movementY:Iu}}),Mm=Pt(Ca),Q2=K({},Ca,{dataTransfer:0}),X2=Pt(Q2),Y2=K({},Ro,{relatedTarget:0}),zu=Pt(Y2),ek=K({},jr,{animationName:0,elapsedTime:0,pseudoElement:0}),tk=Pt(ek),nk=K({},jr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),rk=Pt(nk),ok=K({},jr,{data:0}),Am=Pt(ok),ik={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ak={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"},sk={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function lk(e){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(e):(e=sk[e])?!!o[e]:!1}function Tu(){return lk}var uk=K({},Ro,{key:function(e){if(e.key){var o=ik[e.key]||e.key;if(o!=="Unidentified")return o}return e.type==="keypress"?(e=Ua(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?ak[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Tu,charCode:function(e){return e.type==="keypress"?Ua(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ua(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),ck=Pt(uk),dk=K({},Ca,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Fm=Pt(dk),fk=K({},Ro,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Tu}),pk=Pt(fk),mk=K({},jr,{propertyName:0,elapsedTime:0,pseudoElement:0}),gk=Pt(mk),hk=K({},Ca,{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}),vk=Pt(hk),yk=[9,13,27,32],ju=p&&"CompositionEvent"in window,Zo=null;p&&"documentMode"in document&&(Zo=document.documentMode);var _k=p&&"TextEvent"in window&&!Zo,qm=p&&(!ju||Zo&&8<Zo&&11>=Zo),Hm=" ",Jm=!1;function Vm(e,o){switch(e){case"keyup":return yk.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Er=!1;function $k(e,o){switch(e){case"compositionend":return Wm(o);case"keypress":return o.which!==32?null:(Jm=!0,Hm);case"textInput":return e=o.data,e===Hm&&Jm?null:e;default:return null}}function kk(e,o){if(Er)return e==="compositionend"||!ju&&Vm(e,o)?(e=Lm(),Oa=wu=Un=null,Er=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return qm&&o.locale!=="ko"?null:o.data;default:return null}}var Sk={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 Bm(e){var o=e&&e.nodeName&&e.nodeName.toLowerCase();return o==="input"?!!Sk[e.type]:o==="textarea"}function Km(e,o,s,u){gm(u),o=Aa(o,"onChange"),0<o.length&&(s=new bu("onChange","change",null,s,u),e.push({event:s,listeners:o}))}var Mo=null,Ao=null;function wk(e){pg(e,0)}function Ra(e){var o=Dr(e);if(rm(o))return e}function bk(e,o){if(e==="change")return o}var Gm=!1;if(p){var Eu;if(p){var Pu="oninput"in document;if(!Pu){var Qm=document.createElement("div");Qm.setAttribute("oninput","return;"),Pu=typeof Qm.oninput=="function"}Eu=Pu}else Eu=!1;Gm=Eu&&(!document.documentMode||9<document.documentMode)}function Xm(){Mo&&(Mo.detachEvent("onpropertychange",Ym),Ao=Mo=null)}function Ym(e){if(e.propertyName==="value"&&Ra(Ao)){var o=[];Km(o,Ao,e,cu(e)),_m(wk,o)}}function xk(e,o,s){e==="focusin"?(Xm(),Mo=o,Ao=s,Mo.attachEvent("onpropertychange",Ym)):e==="focusout"&&Xm()}function Ik(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ra(Ao)}function zk(e,o){if(e==="click")return Ra(o)}function Tk(e,o){if(e==="input"||e==="change")return Ra(o)}function jk(e,o){return e===o&&(e!==0||1/e===1/o)||e!==e&&o!==o}var Xt=typeof Object.is=="function"?Object.is:jk;function Fo(e,o){if(Xt(e,o))return!0;if(typeof e!="object"||e===null||typeof o!="object"||o===null)return!1;var s=Object.keys(e),u=Object.keys(o);if(s.length!==u.length)return!1;for(u=0;u<s.length;u++){var d=s[u];if(!g.call(o,d)||!Xt(e[d],o[d]))return!1}return!0}function eg(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function tg(e,o){var s=eg(e);e=0;for(var u;s;){if(s.nodeType===3){if(u=e+s.textContent.length,e<=o&&u>=o)return{node:s,offset:o-e};e=u}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=eg(s)}}function ng(e,o){return e&&o?e===o?!0:e&&e.nodeType===3?!1:o&&o.nodeType===3?ng(e,o.parentNode):"contains"in e?e.contains(o):e.compareDocumentPosition?!!(e.compareDocumentPosition(o)&16):!1:!1}function rg(){for(var e=window,o=$a();o instanceof e.HTMLIFrameElement;){try{var s=typeof o.contentWindow.location.href=="string"}catch{s=!1}if(s)e=o.contentWindow;else break;o=$a(e.document)}return o}function Nu(e){var o=e&&e.nodeName&&e.nodeName.toLowerCase();return o&&(o==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||o==="textarea"||e.contentEditable==="true")}function Ek(e){var o=rg(),s=e.focusedElem,u=e.selectionRange;if(o!==s&&s&&s.ownerDocument&&ng(s.ownerDocument.documentElement,s)){if(u!==null&&Nu(s)){if(o=u.start,e=u.end,e===void 0&&(e=o),"selectionStart"in s)s.selectionStart=o,s.selectionEnd=Math.min(e,s.value.length);else if(e=(o=s.ownerDocument||document)&&o.defaultView||window,e.getSelection){e=e.getSelection();var d=s.textContent.length,f=Math.min(u.start,d);u=u.end===void 0?f:Math.min(u.end,d),!e.extend&&f>u&&(d=u,u=f,f=d),d=tg(s,f);var m=tg(s,u);d&&m&&(e.rangeCount!==1||e.anchorNode!==d.node||e.anchorOffset!==d.offset||e.focusNode!==m.node||e.focusOffset!==m.offset)&&(o=o.createRange(),o.setStart(d.node,d.offset),e.removeAllRanges(),f>u?(e.addRange(o),e.extend(m.node,m.offset)):(o.setEnd(m.node,m.offset),e.addRange(o)))}}for(o=[],e=s;e=e.parentNode;)e.nodeType===1&&o.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<o.length;s++)e=o[s],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var Pk=p&&"documentMode"in document&&11>=document.documentMode,Pr=null,Ou=null,qo=null,Uu=!1;function og(e,o,s){var u=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;Uu||Pr==null||Pr!==$a(u)||(u=Pr,"selectionStart"in u&&Nu(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),qo&&Fo(qo,u)||(qo=u,u=Aa(Ou,"onSelect"),0<u.length&&(o=new bu("onSelect","select",null,o,s),e.push({event:o,listeners:u}),o.target=Pr)))}function La(e,o){var s={};return s[e.toLowerCase()]=o.toLowerCase(),s["Webkit"+e]="webkit"+o,s["Moz"+e]="moz"+o,s}var Nr={animationend:La("Animation","AnimationEnd"),animationiteration:La("Animation","AnimationIteration"),animationstart:La("Animation","AnimationStart"),transitionend:La("Transition","TransitionEnd")},Du={},ig={};p&&(ig=document.createElement("div").style,"AnimationEvent"in window||(delete Nr.animationend.animation,delete Nr.animationiteration.animation,delete Nr.animationstart.animation),"TransitionEvent"in window||delete Nr.transitionend.transition);function Za(e){if(Du[e])return Du[e];if(!Nr[e])return e;var o=Nr[e],s;for(s in o)if(o.hasOwnProperty(s)&&s in ig)return Du[e]=o[s];return e}var ag=Za("animationend"),sg=Za("animationiteration"),lg=Za("animationstart"),ug=Za("transitionend"),cg=new Map,dg="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error 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(" ");function Dn(e,o){cg.set(e,o),a(o,[e])}for(var Cu=0;Cu<dg.length;Cu++){var Ru=dg[Cu],Nk=Ru.toLowerCase(),Ok=Ru[0].toUpperCase()+Ru.slice(1);Dn(Nk,"on"+Ok)}Dn(ag,"onAnimationEnd"),Dn(sg,"onAnimationIteration"),Dn(lg,"onAnimationStart"),Dn("dblclick","onDoubleClick"),Dn("focusin","onFocus"),Dn("focusout","onBlur"),Dn(ug,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ho="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(" "),Uk=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ho));function fg(e,o,s){var u=e.type||"unknown-event";e.currentTarget=s,N2(u,o,void 0,e),e.currentTarget=null}function pg(e,o){o=(o&4)!==0;for(var s=0;s<e.length;s++){var u=e[s],d=u.event;u=u.listeners;e:{var f=void 0;if(o)for(var m=u.length-1;0<=m;m--){var v=u[m],_=v.instance,E=v.currentTarget;if(v=v.listener,_!==f&&d.isPropagationStopped())break e;fg(d,v,E),f=_}else for(m=0;m<u.length;m++){if(v=u[m],_=v.instance,E=v.currentTarget,v=v.listener,_!==f&&d.isPropagationStopped())break e;fg(d,v,E),f=_}}}if(wa)throw e=mu,wa=!1,mu=null,e}function De(e,o){var s=o[Ju];s===void 0&&(s=o[Ju]=new Set);var u=e+"__bubble";s.has(u)||(mg(o,e,2,!1),s.add(u))}function Lu(e,o,s){var u=0;o&&(u|=4),mg(s,e,u,o)}var Ma="_reactListening"+Math.random().toString(36).slice(2);function Jo(e){if(!e[Ma]){e[Ma]=!0,l.forEach(function(s){s!=="selectionchange"&&(Uk.has(s)||Lu(s,!1,e),Lu(s,!0,e))});var o=e.nodeType===9?e:e.ownerDocument;o===null||o[Ma]||(o[Ma]=!0,Lu("selectionchange",!1,o))}}function mg(e,o,s,u){switch(Rm(o)){case 1:var d=B2;break;case 4:d=K2;break;default:d=ku}s=d.bind(null,o,s,e),d=void 0,!pu||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(d=!0),u?d!==void 0?e.addEventListener(o,s,{capture:!0,passive:d}):e.addEventListener(o,s,!0):d!==void 0?e.addEventListener(o,s,{passive:d}):e.addEventListener(o,s,!1)}function Zu(e,o,s,u,d){var f=u;if((o&1)===0&&(o&2)===0&&u!==null)e:for(;;){if(u===null)return;var m=u.tag;if(m===3||m===4){var v=u.stateNode.containerInfo;if(v===d||v.nodeType===8&&v.parentNode===d)break;if(m===4)for(m=u.return;m!==null;){var _=m.tag;if((_===3||_===4)&&(_=m.stateNode.containerInfo,_===d||_.nodeType===8&&_.parentNode===d))return;m=m.return}for(;v!==null;){if(m=er(v),m===null)return;if(_=m.tag,_===5||_===6){u=f=m;continue e}v=v.parentNode}}u=u.return}_m(function(){var E=f,D=cu(s),L=[];e:{var O=cg.get(e);if(O!==void 0){var J=bu,G=e;switch(e){case"keypress":if(Ua(s)===0)break e;case"keydown":case"keyup":J=ck;break;case"focusin":G="focus",J=zu;break;case"focusout":G="blur",J=zu;break;case"beforeblur":case"afterblur":J=zu;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":J=Mm;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":J=X2;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":J=pk;break;case ag:case sg:case lg:J=tk;break;case ug:J=gk;break;case"scroll":J=G2;break;case"wheel":J=vk;break;case"copy":case"cut":case"paste":J=rk;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":J=Fm}var Q=(o&4)!==0,We=!Q&&e==="scroll",b=Q?O!==null?O+"Capture":null:O;Q=[];for(var $=E,z;$!==null;){z=$;var M=z.stateNode;if(z.tag===5&&M!==null&&(z=M,b!==null&&(M=zo($,b),M!=null&&Q.push(Vo($,M,z)))),We)break;$=$.return}0<Q.length&&(O=new J(O,G,null,s,D),L.push({event:O,listeners:Q}))}}if((o&7)===0){e:{if(O=e==="mouseover"||e==="pointerover",J=e==="mouseout"||e==="pointerout",O&&s!==uu&&(G=s.relatedTarget||s.fromElement)&&(er(G)||G[vn]))break e;if((J||O)&&(O=D.window===D?D:(O=D.ownerDocument)?O.defaultView||O.parentWindow:window,J?(G=s.relatedTarget||s.toElement,J=E,G=G?er(G):null,G!==null&&(We=Yn(G),G!==We||G.tag!==5&&G.tag!==6)&&(G=null)):(J=null,G=E),J!==G)){if(Q=Mm,M="onMouseLeave",b="onMouseEnter",$="mouse",(e==="pointerout"||e==="pointerover")&&(Q=Fm,M="onPointerLeave",b="onPointerEnter",$="pointer"),We=J==null?O:Dr(J),z=G==null?O:Dr(G),O=new Q(M,$+"leave",J,s,D),O.target=We,O.relatedTarget=z,M=null,er(D)===E&&(Q=new Q(b,$+"enter",G,s,D),Q.target=z,Q.relatedTarget=We,M=Q),We=M,J&&G)t:{for(Q=J,b=G,$=0,z=Q;z;z=Or(z))$++;for(z=0,M=b;M;M=Or(M))z++;for(;0<$-z;)Q=Or(Q),$--;for(;0<z-$;)b=Or(b),z--;for(;$--;){if(Q===b||b!==null&&Q===b.alternate)break t;Q=Or(Q),b=Or(b)}Q=null}else Q=null;J!==null&&gg(L,O,J,Q,!1),G!==null&&We!==null&&gg(L,We,G,Q,!0)}}e:{if(O=E?Dr(E):window,J=O.nodeName&&O.nodeName.toLowerCase(),J==="select"||J==="input"&&O.type==="file")var X=bk;else if(Bm(O))if(Gm)X=Tk;else{X=Ik;var te=xk}else(J=O.nodeName)&&J.toLowerCase()==="input"&&(O.type==="checkbox"||O.type==="radio")&&(X=zk);if(X&&(X=X(e,E))){Km(L,X,s,D);break e}te&&te(e,O,E),e==="focusout"&&(te=O._wrapperState)&&te.controlled&&O.type==="number"&&ou(O,"number",O.value)}switch(te=E?Dr(E):window,e){case"focusin":(Bm(te)||te.contentEditable==="true")&&(Pr=te,Ou=E,qo=null);break;case"focusout":qo=Ou=Pr=null;break;case"mousedown":Uu=!0;break;case"contextmenu":case"mouseup":case"dragend":Uu=!1,og(L,s,D);break;case"selectionchange":if(Pk)break;case"keydown":case"keyup":og(L,s,D)}var ne;if(ju)e:{switch(e){case"compositionstart":var ae="onCompositionStart";break e;case"compositionend":ae="onCompositionEnd";break e;case"compositionupdate":ae="onCompositionUpdate";break e}ae=void 0}else Er?Vm(e,s)&&(ae="onCompositionEnd"):e==="keydown"&&s.keyCode===229&&(ae="onCompositionStart");ae&&(qm&&s.locale!=="ko"&&(Er||ae!=="onCompositionStart"?ae==="onCompositionEnd"&&Er&&(ne=Lm()):(Un=D,wu="value"in Un?Un.value:Un.textContent,Er=!0)),te=Aa(E,ae),0<te.length&&(ae=new Am(ae,e,null,s,D),L.push({event:ae,listeners:te}),ne?ae.data=ne:(ne=Wm(s),ne!==null&&(ae.data=ne)))),(ne=_k?$k(e,s):kk(e,s))&&(E=Aa(E,"onBeforeInput"),0<E.length&&(D=new Am("onBeforeInput","beforeinput",null,s,D),L.push({event:D,listeners:E}),D.data=ne))}pg(L,o)})}function Vo(e,o,s){return{instance:e,listener:o,currentTarget:s}}function Aa(e,o){for(var s=o+"Capture",u=[];e!==null;){var d=e,f=d.stateNode;d.tag===5&&f!==null&&(d=f,f=zo(e,s),f!=null&&u.unshift(Vo(e,f,d)),f=zo(e,o),f!=null&&u.push(Vo(e,f,d))),e=e.return}return u}function Or(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function gg(e,o,s,u,d){for(var f=o._reactName,m=[];s!==null&&s!==u;){var v=s,_=v.alternate,E=v.stateNode;if(_!==null&&_===u)break;v.tag===5&&E!==null&&(v=E,d?(_=zo(s,f),_!=null&&m.unshift(Vo(s,_,v))):d||(_=zo(s,f),_!=null&&m.push(Vo(s,_,v)))),s=s.return}m.length!==0&&e.push({event:o,listeners:m})}var Dk=/\r\n?/g,Ck=/\u0000|\uFFFD/g;function hg(e){return(typeof e=="string"?e:""+e).replace(Dk,`
|
|
44
|
+
`).replace(Ck,"")}function Fa(e,o,s){if(o=hg(o),hg(e)!==o&&s)throw Error(i(425))}function qa(){}var Mu=null,Au=null;function Fu(e,o){return e==="textarea"||e==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var qu=typeof setTimeout=="function"?setTimeout:void 0,Rk=typeof clearTimeout=="function"?clearTimeout:void 0,vg=typeof Promise=="function"?Promise:void 0,Lk=typeof queueMicrotask=="function"?queueMicrotask:typeof vg<"u"?function(e){return vg.resolve(null).then(e).catch(Zk)}:qu;function Zk(e){setTimeout(function(){throw e})}function Hu(e,o){var s=o,u=0;do{var d=s.nextSibling;if(e.removeChild(s),d&&d.nodeType===8)if(s=d.data,s==="/$"){if(u===0){e.removeChild(d),Co(o);return}u--}else s!=="$"&&s!=="$?"&&s!=="$!"||u++;s=d}while(s);Co(o)}function Cn(e){for(;e!=null;e=e.nextSibling){var o=e.nodeType;if(o===1||o===3)break;if(o===8){if(o=e.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return e}function yg(e){e=e.previousSibling;for(var o=0;e;){if(e.nodeType===8){var s=e.data;if(s==="$"||s==="$!"||s==="$?"){if(o===0)return e;o--}else s==="/$"&&o++}e=e.previousSibling}return null}var Ur=Math.random().toString(36).slice(2),cn="__reactFiber$"+Ur,Wo="__reactProps$"+Ur,vn="__reactContainer$"+Ur,Ju="__reactEvents$"+Ur,Mk="__reactListeners$"+Ur,Ak="__reactHandles$"+Ur;function er(e){var o=e[cn];if(o)return o;for(var s=e.parentNode;s;){if(o=s[vn]||s[cn]){if(s=o.alternate,o.child!==null||s!==null&&s.child!==null)for(e=yg(e);e!==null;){if(s=e[cn])return s;e=yg(e)}return o}e=s,s=e.parentNode}return null}function Bo(e){return e=e[cn]||e[vn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Dr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(i(33))}function Ha(e){return e[Wo]||null}var Vu=[],Cr=-1;function Rn(e){return{current:e}}function Ce(e){0>Cr||(e.current=Vu[Cr],Vu[Cr]=null,Cr--)}function Ue(e,o){Cr++,Vu[Cr]=e.current,e.current=o}var Ln={},ct=Rn(Ln),St=Rn(!1),tr=Ln;function Rr(e,o){var s=e.type.contextTypes;if(!s)return Ln;var u=e.stateNode;if(u&&u.__reactInternalMemoizedUnmaskedChildContext===o)return u.__reactInternalMemoizedMaskedChildContext;var d={},f;for(f in s)d[f]=o[f];return u&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=d),d}function wt(e){return e=e.childContextTypes,e!=null}function Ja(){Ce(St),Ce(ct)}function _g(e,o,s){if(ct.current!==Ln)throw Error(i(168));Ue(ct,o),Ue(St,s)}function $g(e,o,s){var u=e.stateNode;if(o=o.childContextTypes,typeof u.getChildContext!="function")return s;u=u.getChildContext();for(var d in u)if(!(d in o))throw Error(i(108,Oe(e)||"Unknown",d));return K({},s,u)}function Va(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ln,tr=ct.current,Ue(ct,e),Ue(St,St.current),!0}function kg(e,o,s){var u=e.stateNode;if(!u)throw Error(i(169));s?(e=$g(e,o,tr),u.__reactInternalMemoizedMergedChildContext=e,Ce(St),Ce(ct),Ue(ct,e)):Ce(St),Ue(St,s)}var yn=null,Wa=!1,Wu=!1;function Sg(e){yn===null?yn=[e]:yn.push(e)}function Fk(e){Wa=!0,Sg(e)}function Zn(){if(!Wu&&yn!==null){Wu=!0;var e=0,o=ze;try{var s=yn;for(ze=1;e<s.length;e++){var u=s[e];do u=u(!0);while(u!==null)}yn=null,Wa=!1}catch(d){throw yn!==null&&(yn=yn.slice(e+1)),bm(gu,Zn),d}finally{ze=o,Wu=!1}}return null}var Lr=[],Zr=0,Ba=null,Ka=0,At=[],Ft=0,nr=null,_n=1,$n="";function rr(e,o){Lr[Zr++]=Ka,Lr[Zr++]=Ba,Ba=e,Ka=o}function wg(e,o,s){At[Ft++]=_n,At[Ft++]=$n,At[Ft++]=nr,nr=e;var u=_n;e=$n;var d=32-Qt(u)-1;u&=~(1<<d),s+=1;var f=32-Qt(o)+d;if(30<f){var m=d-d%5;f=(u&(1<<m)-1).toString(32),u>>=m,d-=m,_n=1<<32-Qt(o)+d|s<<d|u,$n=f+e}else _n=1<<f|s<<d|u,$n=e}function Bu(e){e.return!==null&&(rr(e,1),wg(e,1,0))}function Ku(e){for(;e===Ba;)Ba=Lr[--Zr],Lr[Zr]=null,Ka=Lr[--Zr],Lr[Zr]=null;for(;e===nr;)nr=At[--Ft],At[Ft]=null,$n=At[--Ft],At[Ft]=null,_n=At[--Ft],At[Ft]=null}var Nt=null,Ot=null,Ze=!1,Yt=null;function bg(e,o){var s=Vt(5,null,null,0);s.elementType="DELETED",s.stateNode=o,s.return=e,o=e.deletions,o===null?(e.deletions=[s],e.flags|=16):o.push(s)}function xg(e,o){switch(e.tag){case 5:var s=e.type;return o=o.nodeType!==1||s.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(e.stateNode=o,Nt=e,Ot=Cn(o.firstChild),!0):!1;case 6:return o=e.pendingProps===""||o.nodeType!==3?null:o,o!==null?(e.stateNode=o,Nt=e,Ot=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(s=nr!==null?{id:_n,overflow:$n}:null,e.memoizedState={dehydrated:o,treeContext:s,retryLane:1073741824},s=Vt(18,null,null,0),s.stateNode=o,s.return=e,e.child=s,Nt=e,Ot=null,!0):!1;default:return!1}}function Gu(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Qu(e){if(Ze){var o=Ot;if(o){var s=o;if(!xg(e,o)){if(Gu(e))throw Error(i(418));o=Cn(s.nextSibling);var u=Nt;o&&xg(e,o)?bg(u,s):(e.flags=e.flags&-4097|2,Ze=!1,Nt=e)}}else{if(Gu(e))throw Error(i(418));e.flags=e.flags&-4097|2,Ze=!1,Nt=e}}}function Ig(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Nt=e}function Ga(e){if(e!==Nt)return!1;if(!Ze)return Ig(e),Ze=!0,!1;var o;if((o=e.tag!==3)&&!(o=e.tag!==5)&&(o=e.type,o=o!=="head"&&o!=="body"&&!Fu(e.type,e.memoizedProps)),o&&(o=Ot)){if(Gu(e))throw zg(),Error(i(418));for(;o;)bg(e,o),o=Cn(o.nextSibling)}if(Ig(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(i(317));e:{for(e=e.nextSibling,o=0;e;){if(e.nodeType===8){var s=e.data;if(s==="/$"){if(o===0){Ot=Cn(e.nextSibling);break e}o--}else s!=="$"&&s!=="$!"&&s!=="$?"||o++}e=e.nextSibling}Ot=null}}else Ot=Nt?Cn(e.stateNode.nextSibling):null;return!0}function zg(){for(var e=Ot;e;)e=Cn(e.nextSibling)}function Mr(){Ot=Nt=null,Ze=!1}function Xu(e){Yt===null?Yt=[e]:Yt.push(e)}var qk=Y.ReactCurrentBatchConfig;function Ko(e,o,s){if(e=s.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(i(309));var u=s.stateNode}if(!u)throw Error(i(147,e));var d=u,f=""+e;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===f?o.ref:(o=function(m){var v=d.refs;m===null?delete v[f]:v[f]=m},o._stringRef=f,o)}if(typeof e!="string")throw Error(i(284));if(!s._owner)throw Error(i(290,e))}return e}function Qa(e,o){throw e=Object.prototype.toString.call(o),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":e))}function Tg(e){var o=e._init;return o(e._payload)}function jg(e){function o(b,$){if(e){var z=b.deletions;z===null?(b.deletions=[$],b.flags|=16):z.push($)}}function s(b,$){if(!e)return null;for(;$!==null;)o(b,$),$=$.sibling;return null}function u(b,$){for(b=new Map;$!==null;)$.key!==null?b.set($.key,$):b.set($.index,$),$=$.sibling;return b}function d(b,$){return b=Wn(b,$),b.index=0,b.sibling=null,b}function f(b,$,z){return b.index=z,e?(z=b.alternate,z!==null?(z=z.index,z<$?(b.flags|=2,$):z):(b.flags|=2,$)):(b.flags|=1048576,$)}function m(b){return e&&b.alternate===null&&(b.flags|=2),b}function v(b,$,z,M){return $===null||$.tag!==6?($=qc(z,b.mode,M),$.return=b,$):($=d($,z),$.return=b,$)}function _(b,$,z,M){var X=z.type;return X===rt?D(b,$,z.props.children,M,z.key):$!==null&&($.elementType===X||typeof X=="object"&&X!==null&&X.$$typeof===kt&&Tg(X)===$.type)?(M=d($,z.props),M.ref=Ko(b,$,z),M.return=b,M):(M=ks(z.type,z.key,z.props,null,b.mode,M),M.ref=Ko(b,$,z),M.return=b,M)}function E(b,$,z,M){return $===null||$.tag!==4||$.stateNode.containerInfo!==z.containerInfo||$.stateNode.implementation!==z.implementation?($=Hc(z,b.mode,M),$.return=b,$):($=d($,z.children||[]),$.return=b,$)}function D(b,$,z,M,X){return $===null||$.tag!==7?($=dr(z,b.mode,M,X),$.return=b,$):($=d($,z),$.return=b,$)}function L(b,$,z){if(typeof $=="string"&&$!==""||typeof $=="number")return $=qc(""+$,b.mode,z),$.return=b,$;if(typeof $=="object"&&$!==null){switch($.$$typeof){case ge:return z=ks($.type,$.key,$.props,null,b.mode,z),z.ref=Ko(b,null,$),z.return=b,z;case Ye:return $=Hc($,b.mode,z),$.return=b,$;case kt:var M=$._init;return L(b,M($._payload),z)}if(bo($)||ie($))return $=dr($,b.mode,z,null),$.return=b,$;Qa(b,$)}return null}function O(b,$,z,M){var X=$!==null?$.key:null;if(typeof z=="string"&&z!==""||typeof z=="number")return X!==null?null:v(b,$,""+z,M);if(typeof z=="object"&&z!==null){switch(z.$$typeof){case ge:return z.key===X?_(b,$,z,M):null;case Ye:return z.key===X?E(b,$,z,M):null;case kt:return X=z._init,O(b,$,X(z._payload),M)}if(bo(z)||ie(z))return X!==null?null:D(b,$,z,M,null);Qa(b,z)}return null}function J(b,$,z,M,X){if(typeof M=="string"&&M!==""||typeof M=="number")return b=b.get(z)||null,v($,b,""+M,X);if(typeof M=="object"&&M!==null){switch(M.$$typeof){case ge:return b=b.get(M.key===null?z:M.key)||null,_($,b,M,X);case Ye:return b=b.get(M.key===null?z:M.key)||null,E($,b,M,X);case kt:var te=M._init;return J(b,$,z,te(M._payload),X)}if(bo(M)||ie(M))return b=b.get(z)||null,D($,b,M,X,null);Qa($,M)}return null}function G(b,$,z,M){for(var X=null,te=null,ne=$,ae=$=0,nt=null;ne!==null&&ae<z.length;ae++){ne.index>ae?(nt=ne,ne=null):nt=ne.sibling;var we=O(b,ne,z[ae],M);if(we===null){ne===null&&(ne=nt);break}e&&ne&&we.alternate===null&&o(b,ne),$=f(we,$,ae),te===null?X=we:te.sibling=we,te=we,ne=nt}if(ae===z.length)return s(b,ne),Ze&&rr(b,ae),X;if(ne===null){for(;ae<z.length;ae++)ne=L(b,z[ae],M),ne!==null&&($=f(ne,$,ae),te===null?X=ne:te.sibling=ne,te=ne);return Ze&&rr(b,ae),X}for(ne=u(b,ne);ae<z.length;ae++)nt=J(ne,b,ae,z[ae],M),nt!==null&&(e&&nt.alternate!==null&&ne.delete(nt.key===null?ae:nt.key),$=f(nt,$,ae),te===null?X=nt:te.sibling=nt,te=nt);return e&&ne.forEach(function(Bn){return o(b,Bn)}),Ze&&rr(b,ae),X}function Q(b,$,z,M){var X=ie(z);if(typeof X!="function")throw Error(i(150));if(z=X.call(z),z==null)throw Error(i(151));for(var te=X=null,ne=$,ae=$=0,nt=null,we=z.next();ne!==null&&!we.done;ae++,we=z.next()){ne.index>ae?(nt=ne,ne=null):nt=ne.sibling;var Bn=O(b,ne,we.value,M);if(Bn===null){ne===null&&(ne=nt);break}e&&ne&&Bn.alternate===null&&o(b,ne),$=f(Bn,$,ae),te===null?X=Bn:te.sibling=Bn,te=Bn,ne=nt}if(we.done)return s(b,ne),Ze&&rr(b,ae),X;if(ne===null){for(;!we.done;ae++,we=z.next())we=L(b,we.value,M),we!==null&&($=f(we,$,ae),te===null?X=we:te.sibling=we,te=we);return Ze&&rr(b,ae),X}for(ne=u(b,ne);!we.done;ae++,we=z.next())we=J(ne,b,ae,we.value,M),we!==null&&(e&&we.alternate!==null&&ne.delete(we.key===null?ae:we.key),$=f(we,$,ae),te===null?X=we:te.sibling=we,te=we);return e&&ne.forEach(function(SS){return o(b,SS)}),Ze&&rr(b,ae),X}function We(b,$,z,M){if(typeof z=="object"&&z!==null&&z.type===rt&&z.key===null&&(z=z.props.children),typeof z=="object"&&z!==null){switch(z.$$typeof){case ge:e:{for(var X=z.key,te=$;te!==null;){if(te.key===X){if(X=z.type,X===rt){if(te.tag===7){s(b,te.sibling),$=d(te,z.props.children),$.return=b,b=$;break e}}else if(te.elementType===X||typeof X=="object"&&X!==null&&X.$$typeof===kt&&Tg(X)===te.type){s(b,te.sibling),$=d(te,z.props),$.ref=Ko(b,te,z),$.return=b,b=$;break e}s(b,te);break}else o(b,te);te=te.sibling}z.type===rt?($=dr(z.props.children,b.mode,M,z.key),$.return=b,b=$):(M=ks(z.type,z.key,z.props,null,b.mode,M),M.ref=Ko(b,$,z),M.return=b,b=M)}return m(b);case Ye:e:{for(te=z.key;$!==null;){if($.key===te)if($.tag===4&&$.stateNode.containerInfo===z.containerInfo&&$.stateNode.implementation===z.implementation){s(b,$.sibling),$=d($,z.children||[]),$.return=b,b=$;break e}else{s(b,$);break}else o(b,$);$=$.sibling}$=Hc(z,b.mode,M),$.return=b,b=$}return m(b);case kt:return te=z._init,We(b,$,te(z._payload),M)}if(bo(z))return G(b,$,z,M);if(ie(z))return Q(b,$,z,M);Qa(b,z)}return typeof z=="string"&&z!==""||typeof z=="number"?(z=""+z,$!==null&&$.tag===6?(s(b,$.sibling),$=d($,z),$.return=b,b=$):(s(b,$),$=qc(z,b.mode,M),$.return=b,b=$),m(b)):s(b,$)}return We}var Ar=jg(!0),Eg=jg(!1),Xa=Rn(null),Ya=null,Fr=null,Yu=null;function ec(){Yu=Fr=Ya=null}function tc(e){var o=Xa.current;Ce(Xa),e._currentValue=o}function nc(e,o,s){for(;e!==null;){var u=e.alternate;if((e.childLanes&o)!==o?(e.childLanes|=o,u!==null&&(u.childLanes|=o)):u!==null&&(u.childLanes&o)!==o&&(u.childLanes|=o),e===s)break;e=e.return}}function qr(e,o){Ya=e,Yu=Fr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&o)!==0&&(bt=!0),e.firstContext=null)}function qt(e){var o=e._currentValue;if(Yu!==e)if(e={context:e,memoizedValue:o,next:null},Fr===null){if(Ya===null)throw Error(i(308));Fr=e,Ya.dependencies={lanes:0,firstContext:e}}else Fr=Fr.next=e;return o}var or=null;function rc(e){or===null?or=[e]:or.push(e)}function Pg(e,o,s,u){var d=o.interleaved;return d===null?(s.next=s,rc(o)):(s.next=d.next,d.next=s),o.interleaved=s,kn(e,u)}function kn(e,o){e.lanes|=o;var s=e.alternate;for(s!==null&&(s.lanes|=o),s=e,e=e.return;e!==null;)e.childLanes|=o,s=e.alternate,s!==null&&(s.childLanes|=o),s=e,e=e.return;return s.tag===3?s.stateNode:null}var Mn=!1;function oc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ng(e,o){e=e.updateQueue,o.updateQueue===e&&(o.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Sn(e,o){return{eventTime:e,lane:o,tag:0,payload:null,callback:null,next:null}}function An(e,o,s){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,(_e&2)!==0){var d=u.pending;return d===null?o.next=o:(o.next=d.next,d.next=o),u.pending=o,kn(e,s)}return d=u.interleaved,d===null?(o.next=o,rc(u)):(o.next=d.next,d.next=o),u.interleaved=o,kn(e,s)}function es(e,o,s){if(o=o.updateQueue,o!==null&&(o=o.shared,(s&4194240)!==0)){var u=o.lanes;u&=e.pendingLanes,s|=u,o.lanes=s,yu(e,s)}}function Og(e,o){var s=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,s===u)){var d=null,f=null;if(s=s.firstBaseUpdate,s!==null){do{var m={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};f===null?d=f=m:f=f.next=m,s=s.next}while(s!==null);f===null?d=f=o:f=f.next=o}else d=f=o;s={baseState:u.baseState,firstBaseUpdate:d,lastBaseUpdate:f,shared:u.shared,effects:u.effects},e.updateQueue=s;return}e=s.lastBaseUpdate,e===null?s.firstBaseUpdate=o:e.next=o,s.lastBaseUpdate=o}function ts(e,o,s,u){var d=e.updateQueue;Mn=!1;var f=d.firstBaseUpdate,m=d.lastBaseUpdate,v=d.shared.pending;if(v!==null){d.shared.pending=null;var _=v,E=_.next;_.next=null,m===null?f=E:m.next=E,m=_;var D=e.alternate;D!==null&&(D=D.updateQueue,v=D.lastBaseUpdate,v!==m&&(v===null?D.firstBaseUpdate=E:v.next=E,D.lastBaseUpdate=_))}if(f!==null){var L=d.baseState;m=0,D=E=_=null,v=f;do{var O=v.lane,J=v.eventTime;if((u&O)===O){D!==null&&(D=D.next={eventTime:J,lane:0,tag:v.tag,payload:v.payload,callback:v.callback,next:null});e:{var G=e,Q=v;switch(O=o,J=s,Q.tag){case 1:if(G=Q.payload,typeof G=="function"){L=G.call(J,L,O);break e}L=G;break e;case 3:G.flags=G.flags&-65537|128;case 0:if(G=Q.payload,O=typeof G=="function"?G.call(J,L,O):G,O==null)break e;L=K({},L,O);break e;case 2:Mn=!0}}v.callback!==null&&v.lane!==0&&(e.flags|=64,O=d.effects,O===null?d.effects=[v]:O.push(v))}else J={eventTime:J,lane:O,tag:v.tag,payload:v.payload,callback:v.callback,next:null},D===null?(E=D=J,_=L):D=D.next=J,m|=O;if(v=v.next,v===null){if(v=d.shared.pending,v===null)break;O=v,v=O.next,O.next=null,d.lastBaseUpdate=O,d.shared.pending=null}}while(!0);if(D===null&&(_=L),d.baseState=_,d.firstBaseUpdate=E,d.lastBaseUpdate=D,o=d.shared.interleaved,o!==null){d=o;do m|=d.lane,d=d.next;while(d!==o)}else f===null&&(d.shared.lanes=0);sr|=m,e.lanes=m,e.memoizedState=L}}function Ug(e,o,s){if(e=o.effects,o.effects=null,e!==null)for(o=0;o<e.length;o++){var u=e[o],d=u.callback;if(d!==null){if(u.callback=null,u=s,typeof d!="function")throw Error(i(191,d));d.call(u)}}}var Go={},dn=Rn(Go),Qo=Rn(Go),Xo=Rn(Go);function ir(e){if(e===Go)throw Error(i(174));return e}function ic(e,o){switch(Ue(Xo,o),Ue(Qo,e),Ue(dn,Go),e=o.nodeType,e){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:au(null,"");break;default:e=e===8?o.parentNode:o,o=e.namespaceURI||null,e=e.tagName,o=au(o,e)}Ce(dn),Ue(dn,o)}function Hr(){Ce(dn),Ce(Qo),Ce(Xo)}function Dg(e){ir(Xo.current);var o=ir(dn.current),s=au(o,e.type);o!==s&&(Ue(Qo,e),Ue(dn,s))}function ac(e){Qo.current===e&&(Ce(dn),Ce(Qo))}var Ae=Rn(0);function ns(e){for(var o=e;o!==null;){if(o.tag===13){var s=o.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===e)break;for(;o.sibling===null;){if(o.return===null||o.return===e)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var sc=[];function lc(){for(var e=0;e<sc.length;e++)sc[e]._workInProgressVersionPrimary=null;sc.length=0}var rs=Y.ReactCurrentDispatcher,uc=Y.ReactCurrentBatchConfig,ar=0,Fe=null,Ke=null,et=null,os=!1,Yo=!1,ei=0,Hk=0;function dt(){throw Error(i(321))}function cc(e,o){if(o===null)return!1;for(var s=0;s<o.length&&s<e.length;s++)if(!Xt(e[s],o[s]))return!1;return!0}function dc(e,o,s,u,d,f){if(ar=f,Fe=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,rs.current=e===null||e.memoizedState===null?Bk:Kk,e=s(u,d),Yo){f=0;do{if(Yo=!1,ei=0,25<=f)throw Error(i(301));f+=1,et=Ke=null,o.updateQueue=null,rs.current=Gk,e=s(u,d)}while(Yo)}if(rs.current=ss,o=Ke!==null&&Ke.next!==null,ar=0,et=Ke=Fe=null,os=!1,o)throw Error(i(300));return e}function fc(){var e=ei!==0;return ei=0,e}function fn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return et===null?Fe.memoizedState=et=e:et=et.next=e,et}function Ht(){if(Ke===null){var e=Fe.alternate;e=e!==null?e.memoizedState:null}else e=Ke.next;var o=et===null?Fe.memoizedState:et.next;if(o!==null)et=o,Ke=e;else{if(e===null)throw Error(i(310));Ke=e,e={memoizedState:Ke.memoizedState,baseState:Ke.baseState,baseQueue:Ke.baseQueue,queue:Ke.queue,next:null},et===null?Fe.memoizedState=et=e:et=et.next=e}return et}function ti(e,o){return typeof o=="function"?o(e):o}function pc(e){var o=Ht(),s=o.queue;if(s===null)throw Error(i(311));s.lastRenderedReducer=e;var u=Ke,d=u.baseQueue,f=s.pending;if(f!==null){if(d!==null){var m=d.next;d.next=f.next,f.next=m}u.baseQueue=d=f,s.pending=null}if(d!==null){f=d.next,u=u.baseState;var v=m=null,_=null,E=f;do{var D=E.lane;if((ar&D)===D)_!==null&&(_=_.next={lane:0,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null}),u=E.hasEagerState?E.eagerState:e(u,E.action);else{var L={lane:D,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null};_===null?(v=_=L,m=u):_=_.next=L,Fe.lanes|=D,sr|=D}E=E.next}while(E!==null&&E!==f);_===null?m=u:_.next=v,Xt(u,o.memoizedState)||(bt=!0),o.memoizedState=u,o.baseState=m,o.baseQueue=_,s.lastRenderedState=u}if(e=s.interleaved,e!==null){d=e;do f=d.lane,Fe.lanes|=f,sr|=f,d=d.next;while(d!==e)}else d===null&&(s.lanes=0);return[o.memoizedState,s.dispatch]}function mc(e){var o=Ht(),s=o.queue;if(s===null)throw Error(i(311));s.lastRenderedReducer=e;var u=s.dispatch,d=s.pending,f=o.memoizedState;if(d!==null){s.pending=null;var m=d=d.next;do f=e(f,m.action),m=m.next;while(m!==d);Xt(f,o.memoizedState)||(bt=!0),o.memoizedState=f,o.baseQueue===null&&(o.baseState=f),s.lastRenderedState=f}return[f,u]}function Cg(){}function Rg(e,o){var s=Fe,u=Ht(),d=o(),f=!Xt(u.memoizedState,d);if(f&&(u.memoizedState=d,bt=!0),u=u.queue,gc(Mg.bind(null,s,u,e),[e]),u.getSnapshot!==o||f||et!==null&&et.memoizedState.tag&1){if(s.flags|=2048,ni(9,Zg.bind(null,s,u,d,o),void 0,null),tt===null)throw Error(i(349));(ar&30)!==0||Lg(s,o,d)}return d}function Lg(e,o,s){e.flags|=16384,e={getSnapshot:o,value:s},o=Fe.updateQueue,o===null?(o={lastEffect:null,stores:null},Fe.updateQueue=o,o.stores=[e]):(s=o.stores,s===null?o.stores=[e]:s.push(e))}function Zg(e,o,s,u){o.value=s,o.getSnapshot=u,Ag(o)&&Fg(e)}function Mg(e,o,s){return s(function(){Ag(o)&&Fg(e)})}function Ag(e){var o=e.getSnapshot;e=e.value;try{var s=o();return!Xt(e,s)}catch{return!0}}function Fg(e){var o=kn(e,1);o!==null&&rn(o,e,1,-1)}function qg(e){var o=fn();return typeof e=="function"&&(e=e()),o.memoizedState=o.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ti,lastRenderedState:e},o.queue=e,e=e.dispatch=Wk.bind(null,Fe,e),[o.memoizedState,e]}function ni(e,o,s,u){return e={tag:e,create:o,destroy:s,deps:u,next:null},o=Fe.updateQueue,o===null?(o={lastEffect:null,stores:null},Fe.updateQueue=o,o.lastEffect=e.next=e):(s=o.lastEffect,s===null?o.lastEffect=e.next=e:(u=s.next,s.next=e,e.next=u,o.lastEffect=e)),e}function Hg(){return Ht().memoizedState}function is(e,o,s,u){var d=fn();Fe.flags|=e,d.memoizedState=ni(1|o,s,void 0,u===void 0?null:u)}function as(e,o,s,u){var d=Ht();u=u===void 0?null:u;var f=void 0;if(Ke!==null){var m=Ke.memoizedState;if(f=m.destroy,u!==null&&cc(u,m.deps)){d.memoizedState=ni(o,s,f,u);return}}Fe.flags|=e,d.memoizedState=ni(1|o,s,f,u)}function Jg(e,o){return is(8390656,8,e,o)}function gc(e,o){return as(2048,8,e,o)}function Vg(e,o){return as(4,2,e,o)}function Wg(e,o){return as(4,4,e,o)}function Bg(e,o){if(typeof o=="function")return e=e(),o(e),function(){o(null)};if(o!=null)return e=e(),o.current=e,function(){o.current=null}}function Kg(e,o,s){return s=s!=null?s.concat([e]):null,as(4,4,Bg.bind(null,o,e),s)}function hc(){}function Gg(e,o){var s=Ht();o=o===void 0?null:o;var u=s.memoizedState;return u!==null&&o!==null&&cc(o,u[1])?u[0]:(s.memoizedState=[e,o],e)}function Qg(e,o){var s=Ht();o=o===void 0?null:o;var u=s.memoizedState;return u!==null&&o!==null&&cc(o,u[1])?u[0]:(e=e(),s.memoizedState=[e,o],e)}function Xg(e,o,s){return(ar&21)===0?(e.baseState&&(e.baseState=!1,bt=!0),e.memoizedState=s):(Xt(s,o)||(s=Tm(),Fe.lanes|=s,sr|=s,e.baseState=!0),o)}function Jk(e,o){var s=ze;ze=s!==0&&4>s?s:4,e(!0);var u=uc.transition;uc.transition={};try{e(!1),o()}finally{ze=s,uc.transition=u}}function Yg(){return Ht().memoizedState}function Vk(e,o,s){var u=Jn(e);if(s={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null},eh(e))th(o,s);else if(s=Pg(e,o,s,u),s!==null){var d=ht();rn(s,e,u,d),nh(s,o,u)}}function Wk(e,o,s){var u=Jn(e),d={lane:u,action:s,hasEagerState:!1,eagerState:null,next:null};if(eh(e))th(o,d);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=o.lastRenderedReducer,f!==null))try{var m=o.lastRenderedState,v=f(m,s);if(d.hasEagerState=!0,d.eagerState=v,Xt(v,m)){var _=o.interleaved;_===null?(d.next=d,rc(o)):(d.next=_.next,_.next=d),o.interleaved=d;return}}catch{}finally{}s=Pg(e,o,d,u),s!==null&&(d=ht(),rn(s,e,u,d),nh(s,o,u))}}function eh(e){var o=e.alternate;return e===Fe||o!==null&&o===Fe}function th(e,o){Yo=os=!0;var s=e.pending;s===null?o.next=o:(o.next=s.next,s.next=o),e.pending=o}function nh(e,o,s){if((s&4194240)!==0){var u=o.lanes;u&=e.pendingLanes,s|=u,o.lanes=s,yu(e,s)}}var ss={readContext:qt,useCallback:dt,useContext:dt,useEffect:dt,useImperativeHandle:dt,useInsertionEffect:dt,useLayoutEffect:dt,useMemo:dt,useReducer:dt,useRef:dt,useState:dt,useDebugValue:dt,useDeferredValue:dt,useTransition:dt,useMutableSource:dt,useSyncExternalStore:dt,useId:dt,unstable_isNewReconciler:!1},Bk={readContext:qt,useCallback:function(e,o){return fn().memoizedState=[e,o===void 0?null:o],e},useContext:qt,useEffect:Jg,useImperativeHandle:function(e,o,s){return s=s!=null?s.concat([e]):null,is(4194308,4,Bg.bind(null,o,e),s)},useLayoutEffect:function(e,o){return is(4194308,4,e,o)},useInsertionEffect:function(e,o){return is(4,2,e,o)},useMemo:function(e,o){var s=fn();return o=o===void 0?null:o,e=e(),s.memoizedState=[e,o],e},useReducer:function(e,o,s){var u=fn();return o=s!==void 0?s(o):o,u.memoizedState=u.baseState=o,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},u.queue=e,e=e.dispatch=Vk.bind(null,Fe,e),[u.memoizedState,e]},useRef:function(e){var o=fn();return e={current:e},o.memoizedState=e},useState:qg,useDebugValue:hc,useDeferredValue:function(e){return fn().memoizedState=e},useTransition:function(){var e=qg(!1),o=e[0];return e=Jk.bind(null,e[1]),fn().memoizedState=e,[o,e]},useMutableSource:function(){},useSyncExternalStore:function(e,o,s){var u=Fe,d=fn();if(Ze){if(s===void 0)throw Error(i(407));s=s()}else{if(s=o(),tt===null)throw Error(i(349));(ar&30)!==0||Lg(u,o,s)}d.memoizedState=s;var f={value:s,getSnapshot:o};return d.queue=f,Jg(Mg.bind(null,u,f,e),[e]),u.flags|=2048,ni(9,Zg.bind(null,u,f,s,o),void 0,null),s},useId:function(){var e=fn(),o=tt.identifierPrefix;if(Ze){var s=$n,u=_n;s=(u&~(1<<32-Qt(u)-1)).toString(32)+s,o=":"+o+"R"+s,s=ei++,0<s&&(o+="H"+s.toString(32)),o+=":"}else s=Hk++,o=":"+o+"r"+s.toString(32)+":";return e.memoizedState=o},unstable_isNewReconciler:!1},Kk={readContext:qt,useCallback:Gg,useContext:qt,useEffect:gc,useImperativeHandle:Kg,useInsertionEffect:Vg,useLayoutEffect:Wg,useMemo:Qg,useReducer:pc,useRef:Hg,useState:function(){return pc(ti)},useDebugValue:hc,useDeferredValue:function(e){var o=Ht();return Xg(o,Ke.memoizedState,e)},useTransition:function(){var e=pc(ti)[0],o=Ht().memoizedState;return[e,o]},useMutableSource:Cg,useSyncExternalStore:Rg,useId:Yg,unstable_isNewReconciler:!1},Gk={readContext:qt,useCallback:Gg,useContext:qt,useEffect:gc,useImperativeHandle:Kg,useInsertionEffect:Vg,useLayoutEffect:Wg,useMemo:Qg,useReducer:mc,useRef:Hg,useState:function(){return mc(ti)},useDebugValue:hc,useDeferredValue:function(e){var o=Ht();return Ke===null?o.memoizedState=e:Xg(o,Ke.memoizedState,e)},useTransition:function(){var e=mc(ti)[0],o=Ht().memoizedState;return[e,o]},useMutableSource:Cg,useSyncExternalStore:Rg,useId:Yg,unstable_isNewReconciler:!1};function en(e,o){if(e&&e.defaultProps){o=K({},o),e=e.defaultProps;for(var s in e)o[s]===void 0&&(o[s]=e[s]);return o}return o}function vc(e,o,s,u){o=e.memoizedState,s=s(u,o),s=s==null?o:K({},o,s),e.memoizedState=s,e.lanes===0&&(e.updateQueue.baseState=s)}var ls={isMounted:function(e){return(e=e._reactInternals)?Yn(e)===e:!1},enqueueSetState:function(e,o,s){e=e._reactInternals;var u=ht(),d=Jn(e),f=Sn(u,d);f.payload=o,s!=null&&(f.callback=s),o=An(e,f,d),o!==null&&(rn(o,e,d,u),es(o,e,d))},enqueueReplaceState:function(e,o,s){e=e._reactInternals;var u=ht(),d=Jn(e),f=Sn(u,d);f.tag=1,f.payload=o,s!=null&&(f.callback=s),o=An(e,f,d),o!==null&&(rn(o,e,d,u),es(o,e,d))},enqueueForceUpdate:function(e,o){e=e._reactInternals;var s=ht(),u=Jn(e),d=Sn(s,u);d.tag=2,o!=null&&(d.callback=o),o=An(e,d,u),o!==null&&(rn(o,e,u,s),es(o,e,u))}};function rh(e,o,s,u,d,f,m){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(u,f,m):o.prototype&&o.prototype.isPureReactComponent?!Fo(s,u)||!Fo(d,f):!0}function oh(e,o,s){var u=!1,d=Ln,f=o.contextType;return typeof f=="object"&&f!==null?f=qt(f):(d=wt(o)?tr:ct.current,u=o.contextTypes,f=(u=u!=null)?Rr(e,d):Ln),o=new o(s,f),e.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=ls,e.stateNode=o,o._reactInternals=e,u&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=d,e.__reactInternalMemoizedMaskedChildContext=f),o}function ih(e,o,s,u){e=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(s,u),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(s,u),o.state!==e&&ls.enqueueReplaceState(o,o.state,null)}function yc(e,o,s,u){var d=e.stateNode;d.props=s,d.state=e.memoizedState,d.refs={},oc(e);var f=o.contextType;typeof f=="object"&&f!==null?d.context=qt(f):(f=wt(o)?tr:ct.current,d.context=Rr(e,f)),d.state=e.memoizedState,f=o.getDerivedStateFromProps,typeof f=="function"&&(vc(e,o,f,s),d.state=e.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof d.getSnapshotBeforeUpdate=="function"||typeof d.UNSAFE_componentWillMount!="function"&&typeof d.componentWillMount!="function"||(o=d.state,typeof d.componentWillMount=="function"&&d.componentWillMount(),typeof d.UNSAFE_componentWillMount=="function"&&d.UNSAFE_componentWillMount(),o!==d.state&&ls.enqueueReplaceState(d,d.state,null),ts(e,s,d,u),d.state=e.memoizedState),typeof d.componentDidMount=="function"&&(e.flags|=4194308)}function Jr(e,o){try{var s="",u=o;do s+=ke(u),u=u.return;while(u);var d=s}catch(f){d=`
|
|
45
|
+
Error generating stack: `+f.message+`
|
|
46
|
+
`+f.stack}return{value:e,source:o,stack:d,digest:null}}function _c(e,o,s){return{value:e,source:null,stack:s??null,digest:o??null}}function $c(e,o){try{console.error(o.value)}catch(s){setTimeout(function(){throw s})}}var Qk=typeof WeakMap=="function"?WeakMap:Map;function ah(e,o,s){s=Sn(-1,s),s.tag=3,s.payload={element:null};var u=o.value;return s.callback=function(){gs||(gs=!0,Dc=u),$c(e,o)},s}function sh(e,o,s){s=Sn(-1,s),s.tag=3;var u=e.type.getDerivedStateFromError;if(typeof u=="function"){var d=o.value;s.payload=function(){return u(d)},s.callback=function(){$c(e,o)}}var f=e.stateNode;return f!==null&&typeof f.componentDidCatch=="function"&&(s.callback=function(){$c(e,o),typeof u!="function"&&(qn===null?qn=new Set([this]):qn.add(this));var m=o.stack;this.componentDidCatch(o.value,{componentStack:m!==null?m:""})}),s}function lh(e,o,s){var u=e.pingCache;if(u===null){u=e.pingCache=new Qk;var d=new Set;u.set(o,d)}else d=u.get(o),d===void 0&&(d=new Set,u.set(o,d));d.has(s)||(d.add(s),e=dS.bind(null,e,o,s),o.then(e,e))}function uh(e){do{var o;if((o=e.tag===13)&&(o=e.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return e;e=e.return}while(e!==null);return null}function ch(e,o,s,u,d){return(e.mode&1)===0?(e===o?e.flags|=65536:(e.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(o=Sn(-1,1),o.tag=2,An(s,o,1))),s.lanes|=1),e):(e.flags|=65536,e.lanes=d,e)}var Xk=Y.ReactCurrentOwner,bt=!1;function gt(e,o,s,u){o.child=e===null?Eg(o,null,s,u):Ar(o,e.child,s,u)}function dh(e,o,s,u,d){s=s.render;var f=o.ref;return qr(o,d),u=dc(e,o,s,u,f,d),s=fc(),e!==null&&!bt?(o.updateQueue=e.updateQueue,o.flags&=-2053,e.lanes&=~d,wn(e,o,d)):(Ze&&s&&Bu(o),o.flags|=1,gt(e,o,u,d),o.child)}function fh(e,o,s,u,d){if(e===null){var f=s.type;return typeof f=="function"&&!Fc(f)&&f.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(o.tag=15,o.type=f,ph(e,o,f,u,d)):(e=ks(s.type,null,u,o,o.mode,d),e.ref=o.ref,e.return=o,o.child=e)}if(f=e.child,(e.lanes&d)===0){var m=f.memoizedProps;if(s=s.compare,s=s!==null?s:Fo,s(m,u)&&e.ref===o.ref)return wn(e,o,d)}return o.flags|=1,e=Wn(f,u),e.ref=o.ref,e.return=o,o.child=e}function ph(e,o,s,u,d){if(e!==null){var f=e.memoizedProps;if(Fo(f,u)&&e.ref===o.ref)if(bt=!1,o.pendingProps=u=f,(e.lanes&d)!==0)(e.flags&131072)!==0&&(bt=!0);else return o.lanes=e.lanes,wn(e,o,d)}return kc(e,o,s,u,d)}function mh(e,o,s){var u=o.pendingProps,d=u.children,f=e!==null?e.memoizedState:null;if(u.mode==="hidden")if((o.mode&1)===0)o.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ue(Wr,Ut),Ut|=s;else{if((s&1073741824)===0)return e=f!==null?f.baseLanes|s:s,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:e,cachePool:null,transitions:null},o.updateQueue=null,Ue(Wr,Ut),Ut|=e,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},u=f!==null?f.baseLanes:s,Ue(Wr,Ut),Ut|=u}else f!==null?(u=f.baseLanes|s,o.memoizedState=null):u=s,Ue(Wr,Ut),Ut|=u;return gt(e,o,d,s),o.child}function gh(e,o){var s=o.ref;(e===null&&s!==null||e!==null&&e.ref!==s)&&(o.flags|=512,o.flags|=2097152)}function kc(e,o,s,u,d){var f=wt(s)?tr:ct.current;return f=Rr(o,f),qr(o,d),s=dc(e,o,s,u,f,d),u=fc(),e!==null&&!bt?(o.updateQueue=e.updateQueue,o.flags&=-2053,e.lanes&=~d,wn(e,o,d)):(Ze&&u&&Bu(o),o.flags|=1,gt(e,o,s,d),o.child)}function hh(e,o,s,u,d){if(wt(s)){var f=!0;Va(o)}else f=!1;if(qr(o,d),o.stateNode===null)cs(e,o),oh(o,s,u),yc(o,s,u,d),u=!0;else if(e===null){var m=o.stateNode,v=o.memoizedProps;m.props=v;var _=m.context,E=s.contextType;typeof E=="object"&&E!==null?E=qt(E):(E=wt(s)?tr:ct.current,E=Rr(o,E));var D=s.getDerivedStateFromProps,L=typeof D=="function"||typeof m.getSnapshotBeforeUpdate=="function";L||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(v!==u||_!==E)&&ih(o,m,u,E),Mn=!1;var O=o.memoizedState;m.state=O,ts(o,u,m,d),_=o.memoizedState,v!==u||O!==_||St.current||Mn?(typeof D=="function"&&(vc(o,s,D,u),_=o.memoizedState),(v=Mn||rh(o,s,v,u,O,_,E))?(L||typeof m.UNSAFE_componentWillMount!="function"&&typeof m.componentWillMount!="function"||(typeof m.componentWillMount=="function"&&m.componentWillMount(),typeof m.UNSAFE_componentWillMount=="function"&&m.UNSAFE_componentWillMount()),typeof m.componentDidMount=="function"&&(o.flags|=4194308)):(typeof m.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=u,o.memoizedState=_),m.props=u,m.state=_,m.context=E,u=v):(typeof m.componentDidMount=="function"&&(o.flags|=4194308),u=!1)}else{m=o.stateNode,Ng(e,o),v=o.memoizedProps,E=o.type===o.elementType?v:en(o.type,v),m.props=E,L=o.pendingProps,O=m.context,_=s.contextType,typeof _=="object"&&_!==null?_=qt(_):(_=wt(s)?tr:ct.current,_=Rr(o,_));var J=s.getDerivedStateFromProps;(D=typeof J=="function"||typeof m.getSnapshotBeforeUpdate=="function")||typeof m.UNSAFE_componentWillReceiveProps!="function"&&typeof m.componentWillReceiveProps!="function"||(v!==L||O!==_)&&ih(o,m,u,_),Mn=!1,O=o.memoizedState,m.state=O,ts(o,u,m,d);var G=o.memoizedState;v!==L||O!==G||St.current||Mn?(typeof J=="function"&&(vc(o,s,J,u),G=o.memoizedState),(E=Mn||rh(o,s,E,u,O,G,_)||!1)?(D||typeof m.UNSAFE_componentWillUpdate!="function"&&typeof m.componentWillUpdate!="function"||(typeof m.componentWillUpdate=="function"&&m.componentWillUpdate(u,G,_),typeof m.UNSAFE_componentWillUpdate=="function"&&m.UNSAFE_componentWillUpdate(u,G,_)),typeof m.componentDidUpdate=="function"&&(o.flags|=4),typeof m.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof m.componentDidUpdate!="function"||v===e.memoizedProps&&O===e.memoizedState||(o.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&O===e.memoizedState||(o.flags|=1024),o.memoizedProps=u,o.memoizedState=G),m.props=u,m.state=G,m.context=_,u=E):(typeof m.componentDidUpdate!="function"||v===e.memoizedProps&&O===e.memoizedState||(o.flags|=4),typeof m.getSnapshotBeforeUpdate!="function"||v===e.memoizedProps&&O===e.memoizedState||(o.flags|=1024),u=!1)}return Sc(e,o,s,u,f,d)}function Sc(e,o,s,u,d,f){gh(e,o);var m=(o.flags&128)!==0;if(!u&&!m)return d&&kg(o,s,!1),wn(e,o,f);u=o.stateNode,Xk.current=o;var v=m&&typeof s.getDerivedStateFromError!="function"?null:u.render();return o.flags|=1,e!==null&&m?(o.child=Ar(o,e.child,null,f),o.child=Ar(o,null,v,f)):gt(e,o,v,f),o.memoizedState=u.state,d&&kg(o,s,!0),o.child}function vh(e){var o=e.stateNode;o.pendingContext?_g(e,o.pendingContext,o.pendingContext!==o.context):o.context&&_g(e,o.context,!1),ic(e,o.containerInfo)}function yh(e,o,s,u,d){return Mr(),Xu(d),o.flags|=256,gt(e,o,s,u),o.child}var wc={dehydrated:null,treeContext:null,retryLane:0};function bc(e){return{baseLanes:e,cachePool:null,transitions:null}}function _h(e,o,s){var u=o.pendingProps,d=Ae.current,f=!1,m=(o.flags&128)!==0,v;if((v=m)||(v=e!==null&&e.memoizedState===null?!1:(d&2)!==0),v?(f=!0,o.flags&=-129):(e===null||e.memoizedState!==null)&&(d|=1),Ue(Ae,d&1),e===null)return Qu(o),e=o.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((o.mode&1)===0?o.lanes=1:e.data==="$!"?o.lanes=8:o.lanes=1073741824,null):(m=u.children,e=u.fallback,f?(u=o.mode,f=o.child,m={mode:"hidden",children:m},(u&1)===0&&f!==null?(f.childLanes=0,f.pendingProps=m):f=Ss(m,u,0,null),e=dr(e,u,s,null),f.return=o,e.return=o,f.sibling=e,o.child=f,o.child.memoizedState=bc(s),o.memoizedState=wc,e):xc(o,m));if(d=e.memoizedState,d!==null&&(v=d.dehydrated,v!==null))return Yk(e,o,m,u,v,d,s);if(f){f=u.fallback,m=o.mode,d=e.child,v=d.sibling;var _={mode:"hidden",children:u.children};return(m&1)===0&&o.child!==d?(u=o.child,u.childLanes=0,u.pendingProps=_,o.deletions=null):(u=Wn(d,_),u.subtreeFlags=d.subtreeFlags&14680064),v!==null?f=Wn(v,f):(f=dr(f,m,s,null),f.flags|=2),f.return=o,u.return=o,u.sibling=f,o.child=u,u=f,f=o.child,m=e.child.memoizedState,m=m===null?bc(s):{baseLanes:m.baseLanes|s,cachePool:null,transitions:m.transitions},f.memoizedState=m,f.childLanes=e.childLanes&~s,o.memoizedState=wc,u}return f=e.child,e=f.sibling,u=Wn(f,{mode:"visible",children:u.children}),(o.mode&1)===0&&(u.lanes=s),u.return=o,u.sibling=null,e!==null&&(s=o.deletions,s===null?(o.deletions=[e],o.flags|=16):s.push(e)),o.child=u,o.memoizedState=null,u}function xc(e,o){return o=Ss({mode:"visible",children:o},e.mode,0,null),o.return=e,e.child=o}function us(e,o,s,u){return u!==null&&Xu(u),Ar(o,e.child,null,s),e=xc(o,o.pendingProps.children),e.flags|=2,o.memoizedState=null,e}function Yk(e,o,s,u,d,f,m){if(s)return o.flags&256?(o.flags&=-257,u=_c(Error(i(422))),us(e,o,m,u)):o.memoizedState!==null?(o.child=e.child,o.flags|=128,null):(f=u.fallback,d=o.mode,u=Ss({mode:"visible",children:u.children},d,0,null),f=dr(f,d,m,null),f.flags|=2,u.return=o,f.return=o,u.sibling=f,o.child=u,(o.mode&1)!==0&&Ar(o,e.child,null,m),o.child.memoizedState=bc(m),o.memoizedState=wc,f);if((o.mode&1)===0)return us(e,o,m,null);if(d.data==="$!"){if(u=d.nextSibling&&d.nextSibling.dataset,u)var v=u.dgst;return u=v,f=Error(i(419)),u=_c(f,u,void 0),us(e,o,m,u)}if(v=(m&e.childLanes)!==0,bt||v){if(u=tt,u!==null){switch(m&-m){case 4:d=2;break;case 16:d=8;break;case 64: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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:d=32;break;case 536870912:d=268435456;break;default:d=0}d=(d&(u.suspendedLanes|m))!==0?0:d,d!==0&&d!==f.retryLane&&(f.retryLane=d,kn(e,d),rn(u,e,d,-1))}return Ac(),u=_c(Error(i(421))),us(e,o,m,u)}return d.data==="$?"?(o.flags|=128,o.child=e.child,o=fS.bind(null,e),d._reactRetry=o,null):(e=f.treeContext,Ot=Cn(d.nextSibling),Nt=o,Ze=!0,Yt=null,e!==null&&(At[Ft++]=_n,At[Ft++]=$n,At[Ft++]=nr,_n=e.id,$n=e.overflow,nr=o),o=xc(o,u.children),o.flags|=4096,o)}function $h(e,o,s){e.lanes|=o;var u=e.alternate;u!==null&&(u.lanes|=o),nc(e.return,o,s)}function Ic(e,o,s,u,d){var f=e.memoizedState;f===null?e.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:u,tail:s,tailMode:d}:(f.isBackwards=o,f.rendering=null,f.renderingStartTime=0,f.last=u,f.tail=s,f.tailMode=d)}function kh(e,o,s){var u=o.pendingProps,d=u.revealOrder,f=u.tail;if(gt(e,o,u.children,s),u=Ae.current,(u&2)!==0)u=u&1|2,o.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=o.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&$h(e,s,o);else if(e.tag===19)$h(e,s,o);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===o)break e;for(;e.sibling===null;){if(e.return===null||e.return===o)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}u&=1}if(Ue(Ae,u),(o.mode&1)===0)o.memoizedState=null;else switch(d){case"forwards":for(s=o.child,d=null;s!==null;)e=s.alternate,e!==null&&ns(e)===null&&(d=s),s=s.sibling;s=d,s===null?(d=o.child,o.child=null):(d=s.sibling,s.sibling=null),Ic(o,!1,d,s,f);break;case"backwards":for(s=null,d=o.child,o.child=null;d!==null;){if(e=d.alternate,e!==null&&ns(e)===null){o.child=d;break}e=d.sibling,d.sibling=s,s=d,d=e}Ic(o,!0,s,null,f);break;case"together":Ic(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function cs(e,o){(o.mode&1)===0&&e!==null&&(e.alternate=null,o.alternate=null,o.flags|=2)}function wn(e,o,s){if(e!==null&&(o.dependencies=e.dependencies),sr|=o.lanes,(s&o.childLanes)===0)return null;if(e!==null&&o.child!==e.child)throw Error(i(153));if(o.child!==null){for(e=o.child,s=Wn(e,e.pendingProps),o.child=s,s.return=o;e.sibling!==null;)e=e.sibling,s=s.sibling=Wn(e,e.pendingProps),s.return=o;s.sibling=null}return o.child}function eS(e,o,s){switch(o.tag){case 3:vh(o),Mr();break;case 5:Dg(o);break;case 1:wt(o.type)&&Va(o);break;case 4:ic(o,o.stateNode.containerInfo);break;case 10:var u=o.type._context,d=o.memoizedProps.value;Ue(Xa,u._currentValue),u._currentValue=d;break;case 13:if(u=o.memoizedState,u!==null)return u.dehydrated!==null?(Ue(Ae,Ae.current&1),o.flags|=128,null):(s&o.child.childLanes)!==0?_h(e,o,s):(Ue(Ae,Ae.current&1),e=wn(e,o,s),e!==null?e.sibling:null);Ue(Ae,Ae.current&1);break;case 19:if(u=(s&o.childLanes)!==0,(e.flags&128)!==0){if(u)return kh(e,o,s);o.flags|=128}if(d=o.memoizedState,d!==null&&(d.rendering=null,d.tail=null,d.lastEffect=null),Ue(Ae,Ae.current),u)break;return null;case 22:case 23:return o.lanes=0,mh(e,o,s)}return wn(e,o,s)}var Sh,zc,wh,bh;Sh=function(e,o){for(var s=o.child;s!==null;){if(s.tag===5||s.tag===6)e.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===o)break;for(;s.sibling===null;){if(s.return===null||s.return===o)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},zc=function(){},wh=function(e,o,s,u){var d=e.memoizedProps;if(d!==u){e=o.stateNode,ir(dn.current);var f=null;switch(s){case"input":d=nu(e,d),u=nu(e,u),f=[];break;case"select":d=K({},d,{value:void 0}),u=K({},u,{value:void 0}),f=[];break;case"textarea":d=iu(e,d),u=iu(e,u),f=[];break;default:typeof d.onClick!="function"&&typeof u.onClick=="function"&&(e.onclick=qa)}su(s,u);var m;s=null;for(E in d)if(!u.hasOwnProperty(E)&&d.hasOwnProperty(E)&&d[E]!=null)if(E==="style"){var v=d[E];for(m in v)v.hasOwnProperty(m)&&(s||(s={}),s[m]="")}else E!=="dangerouslySetInnerHTML"&&E!=="children"&&E!=="suppressContentEditableWarning"&&E!=="suppressHydrationWarning"&&E!=="autoFocus"&&(t.hasOwnProperty(E)?f||(f=[]):(f=f||[]).push(E,null));for(E in u){var _=u[E];if(v=d?.[E],u.hasOwnProperty(E)&&_!==v&&(_!=null||v!=null))if(E==="style")if(v){for(m in v)!v.hasOwnProperty(m)||_&&_.hasOwnProperty(m)||(s||(s={}),s[m]="");for(m in _)_.hasOwnProperty(m)&&v[m]!==_[m]&&(s||(s={}),s[m]=_[m])}else s||(f||(f=[]),f.push(E,s)),s=_;else E==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,v=v?v.__html:void 0,_!=null&&v!==_&&(f=f||[]).push(E,_)):E==="children"?typeof _!="string"&&typeof _!="number"||(f=f||[]).push(E,""+_):E!=="suppressContentEditableWarning"&&E!=="suppressHydrationWarning"&&(t.hasOwnProperty(E)?(_!=null&&E==="onScroll"&&De("scroll",e),f||v===_||(f=[])):(f=f||[]).push(E,_))}s&&(f=f||[]).push("style",s);var E=f;(o.updateQueue=E)&&(o.flags|=4)}},bh=function(e,o,s,u){s!==u&&(o.flags|=4)};function ri(e,o){if(!Ze)switch(e.tailMode){case"hidden":o=e.tail;for(var s=null;o!==null;)o.alternate!==null&&(s=o),o=o.sibling;s===null?e.tail=null:s.sibling=null;break;case"collapsed":s=e.tail;for(var u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?o||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function ft(e){var o=e.alternate!==null&&e.alternate.child===e.child,s=0,u=0;if(o)for(var d=e.child;d!==null;)s|=d.lanes|d.childLanes,u|=d.subtreeFlags&14680064,u|=d.flags&14680064,d.return=e,d=d.sibling;else for(d=e.child;d!==null;)s|=d.lanes|d.childLanes,u|=d.subtreeFlags,u|=d.flags,d.return=e,d=d.sibling;return e.subtreeFlags|=u,e.childLanes=s,o}function tS(e,o,s){var u=o.pendingProps;switch(Ku(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ft(o),null;case 1:return wt(o.type)&&Ja(),ft(o),null;case 3:return u=o.stateNode,Hr(),Ce(St),Ce(ct),lc(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(e===null||e.child===null)&&(Ga(o)?o.flags|=4:e===null||e.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,Yt!==null&&(Lc(Yt),Yt=null))),zc(e,o),ft(o),null;case 5:ac(o);var d=ir(Xo.current);if(s=o.type,e!==null&&o.stateNode!=null)wh(e,o,s,u,d),e.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!u){if(o.stateNode===null)throw Error(i(166));return ft(o),null}if(e=ir(dn.current),Ga(o)){u=o.stateNode,s=o.type;var f=o.memoizedProps;switch(u[cn]=o,u[Wo]=f,e=(o.mode&1)!==0,s){case"dialog":De("cancel",u),De("close",u);break;case"iframe":case"object":case"embed":De("load",u);break;case"video":case"audio":for(d=0;d<Ho.length;d++)De(Ho[d],u);break;case"source":De("error",u);break;case"img":case"image":case"link":De("error",u),De("load",u);break;case"details":De("toggle",u);break;case"input":om(u,f),De("invalid",u);break;case"select":u._wrapperState={wasMultiple:!!f.multiple},De("invalid",u);break;case"textarea":sm(u,f),De("invalid",u)}su(s,f),d=null;for(var m in f)if(f.hasOwnProperty(m)){var v=f[m];m==="children"?typeof v=="string"?u.textContent!==v&&(f.suppressHydrationWarning!==!0&&Fa(u.textContent,v,e),d=["children",v]):typeof v=="number"&&u.textContent!==""+v&&(f.suppressHydrationWarning!==!0&&Fa(u.textContent,v,e),d=["children",""+v]):t.hasOwnProperty(m)&&v!=null&&m==="onScroll"&&De("scroll",u)}switch(s){case"input":_a(u),am(u,f,!0);break;case"textarea":_a(u),um(u);break;case"select":case"option":break;default:typeof f.onClick=="function"&&(u.onclick=qa)}u=d,o.updateQueue=u,u!==null&&(o.flags|=4)}else{m=d.nodeType===9?d:d.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=cm(s)),e==="http://www.w3.org/1999/xhtml"?s==="script"?(e=m.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof u.is=="string"?e=m.createElement(s,{is:u.is}):(e=m.createElement(s),s==="select"&&(m=e,u.multiple?m.multiple=!0:u.size&&(m.size=u.size))):e=m.createElementNS(e,s),e[cn]=o,e[Wo]=u,Sh(e,o,!1,!1),o.stateNode=e;e:{switch(m=lu(s,u),s){case"dialog":De("cancel",e),De("close",e),d=u;break;case"iframe":case"object":case"embed":De("load",e),d=u;break;case"video":case"audio":for(d=0;d<Ho.length;d++)De(Ho[d],e);d=u;break;case"source":De("error",e),d=u;break;case"img":case"image":case"link":De("error",e),De("load",e),d=u;break;case"details":De("toggle",e),d=u;break;case"input":om(e,u),d=nu(e,u),De("invalid",e);break;case"option":d=u;break;case"select":e._wrapperState={wasMultiple:!!u.multiple},d=K({},u,{value:void 0}),De("invalid",e);break;case"textarea":sm(e,u),d=iu(e,u),De("invalid",e);break;default:d=u}su(s,d),v=d;for(f in v)if(v.hasOwnProperty(f)){var _=v[f];f==="style"?pm(e,_):f==="dangerouslySetInnerHTML"?(_=_?_.__html:void 0,_!=null&&dm(e,_)):f==="children"?typeof _=="string"?(s!=="textarea"||_!=="")&&xo(e,_):typeof _=="number"&&xo(e,""+_):f!=="suppressContentEditableWarning"&&f!=="suppressHydrationWarning"&&f!=="autoFocus"&&(t.hasOwnProperty(f)?_!=null&&f==="onScroll"&&De("scroll",e):_!=null&&se(e,f,_,m))}switch(s){case"input":_a(e),am(e,u,!1);break;case"textarea":_a(e),um(e);break;case"option":u.value!=null&&e.setAttribute("value",""+Ie(u.value));break;case"select":e.multiple=!!u.multiple,f=u.value,f!=null?xr(e,!!u.multiple,f,!1):u.defaultValue!=null&&xr(e,!!u.multiple,u.defaultValue,!0);break;default:typeof d.onClick=="function"&&(e.onclick=qa)}switch(s){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}}u&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return ft(o),null;case 6:if(e&&o.stateNode!=null)bh(e,o,e.memoizedProps,u);else{if(typeof u!="string"&&o.stateNode===null)throw Error(i(166));if(s=ir(Xo.current),ir(dn.current),Ga(o)){if(u=o.stateNode,s=o.memoizedProps,u[cn]=o,(f=u.nodeValue!==s)&&(e=Nt,e!==null))switch(e.tag){case 3:Fa(u.nodeValue,s,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Fa(u.nodeValue,s,(e.mode&1)!==0)}f&&(o.flags|=4)}else u=(s.nodeType===9?s:s.ownerDocument).createTextNode(u),u[cn]=o,o.stateNode=u}return ft(o),null;case 13:if(Ce(Ae),u=o.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ze&&Ot!==null&&(o.mode&1)!==0&&(o.flags&128)===0)zg(),Mr(),o.flags|=98560,f=!1;else if(f=Ga(o),u!==null&&u.dehydrated!==null){if(e===null){if(!f)throw Error(i(318));if(f=o.memoizedState,f=f!==null?f.dehydrated:null,!f)throw Error(i(317));f[cn]=o}else Mr(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;ft(o),f=!1}else Yt!==null&&(Lc(Yt),Yt=null),f=!0;if(!f)return o.flags&65536?o:null}return(o.flags&128)!==0?(o.lanes=s,o):(u=u!==null,u!==(e!==null&&e.memoizedState!==null)&&u&&(o.child.flags|=8192,(o.mode&1)!==0&&(e===null||(Ae.current&1)!==0?Ge===0&&(Ge=3):Ac())),o.updateQueue!==null&&(o.flags|=4),ft(o),null);case 4:return Hr(),zc(e,o),e===null&&Jo(o.stateNode.containerInfo),ft(o),null;case 10:return tc(o.type._context),ft(o),null;case 17:return wt(o.type)&&Ja(),ft(o),null;case 19:if(Ce(Ae),f=o.memoizedState,f===null)return ft(o),null;if(u=(o.flags&128)!==0,m=f.rendering,m===null)if(u)ri(f,!1);else{if(Ge!==0||e!==null&&(e.flags&128)!==0)for(e=o.child;e!==null;){if(m=ns(e),m!==null){for(o.flags|=128,ri(f,!1),u=m.updateQueue,u!==null&&(o.updateQueue=u,o.flags|=4),o.subtreeFlags=0,u=s,s=o.child;s!==null;)f=s,e=u,f.flags&=14680066,m=f.alternate,m===null?(f.childLanes=0,f.lanes=e,f.child=null,f.subtreeFlags=0,f.memoizedProps=null,f.memoizedState=null,f.updateQueue=null,f.dependencies=null,f.stateNode=null):(f.childLanes=m.childLanes,f.lanes=m.lanes,f.child=m.child,f.subtreeFlags=0,f.deletions=null,f.memoizedProps=m.memoizedProps,f.memoizedState=m.memoizedState,f.updateQueue=m.updateQueue,f.type=m.type,e=m.dependencies,f.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),s=s.sibling;return Ue(Ae,Ae.current&1|2),o.child}e=e.sibling}f.tail!==null&&Ve()>Br&&(o.flags|=128,u=!0,ri(f,!1),o.lanes=4194304)}else{if(!u)if(e=ns(m),e!==null){if(o.flags|=128,u=!0,s=e.updateQueue,s!==null&&(o.updateQueue=s,o.flags|=4),ri(f,!0),f.tail===null&&f.tailMode==="hidden"&&!m.alternate&&!Ze)return ft(o),null}else 2*Ve()-f.renderingStartTime>Br&&s!==1073741824&&(o.flags|=128,u=!0,ri(f,!1),o.lanes=4194304);f.isBackwards?(m.sibling=o.child,o.child=m):(s=f.last,s!==null?s.sibling=m:o.child=m,f.last=m)}return f.tail!==null?(o=f.tail,f.rendering=o,f.tail=o.sibling,f.renderingStartTime=Ve(),o.sibling=null,s=Ae.current,Ue(Ae,u?s&1|2:s&1),o):(ft(o),null);case 22:case 23:return Mc(),u=o.memoizedState!==null,e!==null&&e.memoizedState!==null!==u&&(o.flags|=8192),u&&(o.mode&1)!==0?(Ut&1073741824)!==0&&(ft(o),o.subtreeFlags&6&&(o.flags|=8192)):ft(o),null;case 24:return null;case 25:return null}throw Error(i(156,o.tag))}function nS(e,o){switch(Ku(o),o.tag){case 1:return wt(o.type)&&Ja(),e=o.flags,e&65536?(o.flags=e&-65537|128,o):null;case 3:return Hr(),Ce(St),Ce(ct),lc(),e=o.flags,(e&65536)!==0&&(e&128)===0?(o.flags=e&-65537|128,o):null;case 5:return ac(o),null;case 13:if(Ce(Ae),e=o.memoizedState,e!==null&&e.dehydrated!==null){if(o.alternate===null)throw Error(i(340));Mr()}return e=o.flags,e&65536?(o.flags=e&-65537|128,o):null;case 19:return Ce(Ae),null;case 4:return Hr(),null;case 10:return tc(o.type._context),null;case 22:case 23:return Mc(),null;case 24:return null;default:return null}}var ds=!1,pt=!1,rS=typeof WeakSet=="function"?WeakSet:Set,W=null;function Vr(e,o){var s=e.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(u){He(e,o,u)}else s.current=null}function Tc(e,o,s){try{s()}catch(u){He(e,o,u)}}var xh=!1;function oS(e,o){if(Mu=Pa,e=rg(),Nu(e)){if("selectionStart"in e)var s={start:e.selectionStart,end:e.selectionEnd};else e:{s=(s=e.ownerDocument)&&s.defaultView||window;var u=s.getSelection&&s.getSelection();if(u&&u.rangeCount!==0){s=u.anchorNode;var d=u.anchorOffset,f=u.focusNode;u=u.focusOffset;try{s.nodeType,f.nodeType}catch{s=null;break e}var m=0,v=-1,_=-1,E=0,D=0,L=e,O=null;t:for(;;){for(var J;L!==s||d!==0&&L.nodeType!==3||(v=m+d),L!==f||u!==0&&L.nodeType!==3||(_=m+u),L.nodeType===3&&(m+=L.nodeValue.length),(J=L.firstChild)!==null;)O=L,L=J;for(;;){if(L===e)break t;if(O===s&&++E===d&&(v=m),O===f&&++D===u&&(_=m),(J=L.nextSibling)!==null)break;L=O,O=L.parentNode}L=J}s=v===-1||_===-1?null:{start:v,end:_}}else s=null}s=s||{start:0,end:0}}else s=null;for(Au={focusedElem:e,selectionRange:s},Pa=!1,W=o;W!==null;)if(o=W,e=o.child,(o.subtreeFlags&1028)!==0&&e!==null)e.return=o,W=e;else for(;W!==null;){o=W;try{var G=o.alternate;if((o.flags&1024)!==0)switch(o.tag){case 0:case 11:case 15:break;case 1:if(G!==null){var Q=G.memoizedProps,We=G.memoizedState,b=o.stateNode,$=b.getSnapshotBeforeUpdate(o.elementType===o.type?Q:en(o.type,Q),We);b.__reactInternalSnapshotBeforeUpdate=$}break;case 3:var z=o.stateNode.containerInfo;z.nodeType===1?z.textContent="":z.nodeType===9&&z.documentElement&&z.removeChild(z.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch(M){He(o,o.return,M)}if(e=o.sibling,e!==null){e.return=o.return,W=e;break}W=o.return}return G=xh,xh=!1,G}function oi(e,o,s){var u=o.updateQueue;if(u=u!==null?u.lastEffect:null,u!==null){var d=u=u.next;do{if((d.tag&e)===e){var f=d.destroy;d.destroy=void 0,f!==void 0&&Tc(o,s,f)}d=d.next}while(d!==u)}}function fs(e,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var s=o=o.next;do{if((s.tag&e)===e){var u=s.create;s.destroy=u()}s=s.next}while(s!==o)}}function jc(e){var o=e.ref;if(o!==null){var s=e.stateNode;switch(e.tag){case 5:e=s;break;default:e=s}typeof o=="function"?o(e):o.current=e}}function Ih(e){var o=e.alternate;o!==null&&(e.alternate=null,Ih(o)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(o=e.stateNode,o!==null&&(delete o[cn],delete o[Wo],delete o[Ju],delete o[Mk],delete o[Ak])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function zh(e){return e.tag===5||e.tag===3||e.tag===4}function Th(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||zh(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.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 Ec(e,o,s){var u=e.tag;if(u===5||u===6)e=e.stateNode,o?s.nodeType===8?s.parentNode.insertBefore(e,o):s.insertBefore(e,o):(s.nodeType===8?(o=s.parentNode,o.insertBefore(e,s)):(o=s,o.appendChild(e)),s=s._reactRootContainer,s!=null||o.onclick!==null||(o.onclick=qa));else if(u!==4&&(e=e.child,e!==null))for(Ec(e,o,s),e=e.sibling;e!==null;)Ec(e,o,s),e=e.sibling}function Pc(e,o,s){var u=e.tag;if(u===5||u===6)e=e.stateNode,o?s.insertBefore(e,o):s.appendChild(e);else if(u!==4&&(e=e.child,e!==null))for(Pc(e,o,s),e=e.sibling;e!==null;)Pc(e,o,s),e=e.sibling}var ot=null,tn=!1;function Fn(e,o,s){for(s=s.child;s!==null;)jh(e,o,s),s=s.sibling}function jh(e,o,s){if(un&&typeof un.onCommitFiberUnmount=="function")try{un.onCommitFiberUnmount(xa,s)}catch{}switch(s.tag){case 5:pt||Vr(s,o);case 6:var u=ot,d=tn;ot=null,Fn(e,o,s),ot=u,tn=d,ot!==null&&(tn?(e=ot,s=s.stateNode,e.nodeType===8?e.parentNode.removeChild(s):e.removeChild(s)):ot.removeChild(s.stateNode));break;case 18:ot!==null&&(tn?(e=ot,s=s.stateNode,e.nodeType===8?Hu(e.parentNode,s):e.nodeType===1&&Hu(e,s),Co(e)):Hu(ot,s.stateNode));break;case 4:u=ot,d=tn,ot=s.stateNode.containerInfo,tn=!0,Fn(e,o,s),ot=u,tn=d;break;case 0:case 11:case 14:case 15:if(!pt&&(u=s.updateQueue,u!==null&&(u=u.lastEffect,u!==null))){d=u=u.next;do{var f=d,m=f.destroy;f=f.tag,m!==void 0&&((f&2)!==0||(f&4)!==0)&&Tc(s,o,m),d=d.next}while(d!==u)}Fn(e,o,s);break;case 1:if(!pt&&(Vr(s,o),u=s.stateNode,typeof u.componentWillUnmount=="function"))try{u.props=s.memoizedProps,u.state=s.memoizedState,u.componentWillUnmount()}catch(v){He(s,o,v)}Fn(e,o,s);break;case 21:Fn(e,o,s);break;case 22:s.mode&1?(pt=(u=pt)||s.memoizedState!==null,Fn(e,o,s),pt=u):Fn(e,o,s);break;default:Fn(e,o,s)}}function Eh(e){var o=e.updateQueue;if(o!==null){e.updateQueue=null;var s=e.stateNode;s===null&&(s=e.stateNode=new rS),o.forEach(function(u){var d=pS.bind(null,e,u);s.has(u)||(s.add(u),u.then(d,d))})}}function nn(e,o){var s=o.deletions;if(s!==null)for(var u=0;u<s.length;u++){var d=s[u];try{var f=e,m=o,v=m;e:for(;v!==null;){switch(v.tag){case 5:ot=v.stateNode,tn=!1;break e;case 3:ot=v.stateNode.containerInfo,tn=!0;break e;case 4:ot=v.stateNode.containerInfo,tn=!0;break e}v=v.return}if(ot===null)throw Error(i(160));jh(f,m,d),ot=null,tn=!1;var _=d.alternate;_!==null&&(_.return=null),d.return=null}catch(E){He(d,o,E)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)Ph(o,e),o=o.sibling}function Ph(e,o){var s=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(nn(o,e),pn(e),u&4){try{oi(3,e,e.return),fs(3,e)}catch(Q){He(e,e.return,Q)}try{oi(5,e,e.return)}catch(Q){He(e,e.return,Q)}}break;case 1:nn(o,e),pn(e),u&512&&s!==null&&Vr(s,s.return);break;case 5:if(nn(o,e),pn(e),u&512&&s!==null&&Vr(s,s.return),e.flags&32){var d=e.stateNode;try{xo(d,"")}catch(Q){He(e,e.return,Q)}}if(u&4&&(d=e.stateNode,d!=null)){var f=e.memoizedProps,m=s!==null?s.memoizedProps:f,v=e.type,_=e.updateQueue;if(e.updateQueue=null,_!==null)try{v==="input"&&f.type==="radio"&&f.name!=null&&im(d,f),lu(v,m);var E=lu(v,f);for(m=0;m<_.length;m+=2){var D=_[m],L=_[m+1];D==="style"?pm(d,L):D==="dangerouslySetInnerHTML"?dm(d,L):D==="children"?xo(d,L):se(d,D,L,E)}switch(v){case"input":ru(d,f);break;case"textarea":lm(d,f);break;case"select":var O=d._wrapperState.wasMultiple;d._wrapperState.wasMultiple=!!f.multiple;var J=f.value;J!=null?xr(d,!!f.multiple,J,!1):O!==!!f.multiple&&(f.defaultValue!=null?xr(d,!!f.multiple,f.defaultValue,!0):xr(d,!!f.multiple,f.multiple?[]:"",!1))}d[Wo]=f}catch(Q){He(e,e.return,Q)}}break;case 6:if(nn(o,e),pn(e),u&4){if(e.stateNode===null)throw Error(i(162));d=e.stateNode,f=e.memoizedProps;try{d.nodeValue=f}catch(Q){He(e,e.return,Q)}}break;case 3:if(nn(o,e),pn(e),u&4&&s!==null&&s.memoizedState.isDehydrated)try{Co(o.containerInfo)}catch(Q){He(e,e.return,Q)}break;case 4:nn(o,e),pn(e);break;case 13:nn(o,e),pn(e),d=e.child,d.flags&8192&&(f=d.memoizedState!==null,d.stateNode.isHidden=f,!f||d.alternate!==null&&d.alternate.memoizedState!==null||(Uc=Ve())),u&4&&Eh(e);break;case 22:if(D=s!==null&&s.memoizedState!==null,e.mode&1?(pt=(E=pt)||D,nn(o,e),pt=E):nn(o,e),pn(e),u&8192){if(E=e.memoizedState!==null,(e.stateNode.isHidden=E)&&!D&&(e.mode&1)!==0)for(W=e,D=e.child;D!==null;){for(L=W=D;W!==null;){switch(O=W,J=O.child,O.tag){case 0:case 11:case 14:case 15:oi(4,O,O.return);break;case 1:Vr(O,O.return);var G=O.stateNode;if(typeof G.componentWillUnmount=="function"){u=O,s=O.return;try{o=u,G.props=o.memoizedProps,G.state=o.memoizedState,G.componentWillUnmount()}catch(Q){He(u,s,Q)}}break;case 5:Vr(O,O.return);break;case 22:if(O.memoizedState!==null){Uh(L);continue}}J!==null?(J.return=O,W=J):Uh(L)}D=D.sibling}e:for(D=null,L=e;;){if(L.tag===5){if(D===null){D=L;try{d=L.stateNode,E?(f=d.style,typeof f.setProperty=="function"?f.setProperty("display","none","important"):f.display="none"):(v=L.stateNode,_=L.memoizedProps.style,m=_!=null&&_.hasOwnProperty("display")?_.display:null,v.style.display=fm("display",m))}catch(Q){He(e,e.return,Q)}}}else if(L.tag===6){if(D===null)try{L.stateNode.nodeValue=E?"":L.memoizedProps}catch(Q){He(e,e.return,Q)}}else if((L.tag!==22&&L.tag!==23||L.memoizedState===null||L===e)&&L.child!==null){L.child.return=L,L=L.child;continue}if(L===e)break e;for(;L.sibling===null;){if(L.return===null||L.return===e)break e;D===L&&(D=null),L=L.return}D===L&&(D=null),L.sibling.return=L.return,L=L.sibling}}break;case 19:nn(o,e),pn(e),u&4&&Eh(e);break;case 21:break;default:nn(o,e),pn(e)}}function pn(e){var o=e.flags;if(o&2){try{e:{for(var s=e.return;s!==null;){if(zh(s)){var u=s;break e}s=s.return}throw Error(i(160))}switch(u.tag){case 5:var d=u.stateNode;u.flags&32&&(xo(d,""),u.flags&=-33);var f=Th(e);Pc(e,f,d);break;case 3:case 4:var m=u.stateNode.containerInfo,v=Th(e);Ec(e,v,m);break;default:throw Error(i(161))}}catch(_){He(e,e.return,_)}e.flags&=-3}o&4096&&(e.flags&=-4097)}function iS(e,o,s){W=e,Nh(e)}function Nh(e,o,s){for(var u=(e.mode&1)!==0;W!==null;){var d=W,f=d.child;if(d.tag===22&&u){var m=d.memoizedState!==null||ds;if(!m){var v=d.alternate,_=v!==null&&v.memoizedState!==null||pt;v=ds;var E=pt;if(ds=m,(pt=_)&&!E)for(W=d;W!==null;)m=W,_=m.child,m.tag===22&&m.memoizedState!==null?Dh(d):_!==null?(_.return=m,W=_):Dh(d);for(;f!==null;)W=f,Nh(f),f=f.sibling;W=d,ds=v,pt=E}Oh(e)}else(d.subtreeFlags&8772)!==0&&f!==null?(f.return=d,W=f):Oh(e)}}function Oh(e){for(;W!==null;){var o=W;if((o.flags&8772)!==0){var s=o.alternate;try{if((o.flags&8772)!==0)switch(o.tag){case 0:case 11:case 15:pt||fs(5,o);break;case 1:var u=o.stateNode;if(o.flags&4&&!pt)if(s===null)u.componentDidMount();else{var d=o.elementType===o.type?s.memoizedProps:en(o.type,s.memoizedProps);u.componentDidUpdate(d,s.memoizedState,u.__reactInternalSnapshotBeforeUpdate)}var f=o.updateQueue;f!==null&&Ug(o,f,u);break;case 3:var m=o.updateQueue;if(m!==null){if(s=null,o.child!==null)switch(o.child.tag){case 5:s=o.child.stateNode;break;case 1:s=o.child.stateNode}Ug(o,m,s)}break;case 5:var v=o.stateNode;if(s===null&&o.flags&4){s=v;var _=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":_.autoFocus&&s.focus();break;case"img":_.src&&(s.src=_.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var E=o.alternate;if(E!==null){var D=E.memoizedState;if(D!==null){var L=D.dehydrated;L!==null&&Co(L)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(i(163))}pt||o.flags&512&&jc(o)}catch(O){He(o,o.return,O)}}if(o===e){W=null;break}if(s=o.sibling,s!==null){s.return=o.return,W=s;break}W=o.return}}function Uh(e){for(;W!==null;){var o=W;if(o===e){W=null;break}var s=o.sibling;if(s!==null){s.return=o.return,W=s;break}W=o.return}}function Dh(e){for(;W!==null;){var o=W;try{switch(o.tag){case 0:case 11:case 15:var s=o.return;try{fs(4,o)}catch(_){He(o,s,_)}break;case 1:var u=o.stateNode;if(typeof u.componentDidMount=="function"){var d=o.return;try{u.componentDidMount()}catch(_){He(o,d,_)}}var f=o.return;try{jc(o)}catch(_){He(o,f,_)}break;case 5:var m=o.return;try{jc(o)}catch(_){He(o,m,_)}}}catch(_){He(o,o.return,_)}if(o===e){W=null;break}var v=o.sibling;if(v!==null){v.return=o.return,W=v;break}W=o.return}}var aS=Math.ceil,ps=Y.ReactCurrentDispatcher,Nc=Y.ReactCurrentOwner,Jt=Y.ReactCurrentBatchConfig,_e=0,tt=null,Be=null,it=0,Ut=0,Wr=Rn(0),Ge=0,ii=null,sr=0,ms=0,Oc=0,ai=null,xt=null,Uc=0,Br=1/0,bn=null,gs=!1,Dc=null,qn=null,hs=!1,Hn=null,vs=0,si=0,Cc=null,ys=-1,_s=0;function ht(){return(_e&6)!==0?Ve():ys!==-1?ys:ys=Ve()}function Jn(e){return(e.mode&1)===0?1:(_e&2)!==0&&it!==0?it&-it:qk.transition!==null?(_s===0&&(_s=Tm()),_s):(e=ze,e!==0||(e=window.event,e=e===void 0?16:Rm(e.type)),e)}function rn(e,o,s,u){if(50<si)throw si=0,Cc=null,Error(i(185));Po(e,s,u),((_e&2)===0||e!==tt)&&(e===tt&&((_e&2)===0&&(ms|=s),Ge===4&&Vn(e,it)),It(e,u),s===1&&_e===0&&(o.mode&1)===0&&(Br=Ve()+500,Wa&&Zn()))}function It(e,o){var s=e.callbackNode;q2(e,o);var u=Ta(e,e===tt?it:0);if(u===0)s!==null&&xm(s),e.callbackNode=null,e.callbackPriority=0;else if(o=u&-u,e.callbackPriority!==o){if(s!=null&&xm(s),o===1)e.tag===0?Fk(Rh.bind(null,e)):Sg(Rh.bind(null,e)),Lk(function(){(_e&6)===0&&Zn()}),s=null;else{switch(jm(u)){case 1:s=gu;break;case 4:s=Im;break;case 16:s=ba;break;case 536870912:s=zm;break;default:s=ba}s=Jh(s,Ch.bind(null,e))}e.callbackPriority=o,e.callbackNode=s}}function Ch(e,o){if(ys=-1,_s=0,(_e&6)!==0)throw Error(i(327));var s=e.callbackNode;if(Kr()&&e.callbackNode!==s)return null;var u=Ta(e,e===tt?it:0);if(u===0)return null;if((u&30)!==0||(u&e.expiredLanes)!==0||o)o=$s(e,u);else{o=u;var d=_e;_e|=2;var f=Zh();(tt!==e||it!==o)&&(bn=null,Br=Ve()+500,ur(e,o));do try{uS();break}catch(v){Lh(e,v)}while(!0);ec(),ps.current=f,_e=d,Be!==null?o=0:(tt=null,it=0,o=Ge)}if(o!==0){if(o===2&&(d=hu(e),d!==0&&(u=d,o=Rc(e,d))),o===1)throw s=ii,ur(e,0),Vn(e,u),It(e,Ve()),s;if(o===6)Vn(e,u);else{if(d=e.current.alternate,(u&30)===0&&!sS(d)&&(o=$s(e,u),o===2&&(f=hu(e),f!==0&&(u=f,o=Rc(e,f))),o===1))throw s=ii,ur(e,0),Vn(e,u),It(e,Ve()),s;switch(e.finishedWork=d,e.finishedLanes=u,o){case 0:case 1:throw Error(i(345));case 2:cr(e,xt,bn);break;case 3:if(Vn(e,u),(u&130023424)===u&&(o=Uc+500-Ve(),10<o)){if(Ta(e,0)!==0)break;if(d=e.suspendedLanes,(d&u)!==u){ht(),e.pingedLanes|=e.suspendedLanes&d;break}e.timeoutHandle=qu(cr.bind(null,e,xt,bn),o);break}cr(e,xt,bn);break;case 4:if(Vn(e,u),(u&4194240)===u)break;for(o=e.eventTimes,d=-1;0<u;){var m=31-Qt(u);f=1<<m,m=o[m],m>d&&(d=m),u&=~f}if(u=d,u=Ve()-u,u=(120>u?120:480>u?480:1080>u?1080:1920>u?1920:3e3>u?3e3:4320>u?4320:1960*aS(u/1960))-u,10<u){e.timeoutHandle=qu(cr.bind(null,e,xt,bn),u);break}cr(e,xt,bn);break;case 5:cr(e,xt,bn);break;default:throw Error(i(329))}}}return It(e,Ve()),e.callbackNode===s?Ch.bind(null,e):null}function Rc(e,o){var s=ai;return e.current.memoizedState.isDehydrated&&(ur(e,o).flags|=256),e=$s(e,o),e!==2&&(o=xt,xt=s,o!==null&&Lc(o)),e}function Lc(e){xt===null?xt=e:xt.push.apply(xt,e)}function sS(e){for(var o=e;;){if(o.flags&16384){var s=o.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var u=0;u<s.length;u++){var d=s[u],f=d.getSnapshot;d=d.value;try{if(!Xt(f(),d))return!1}catch{return!1}}}if(s=o.child,o.subtreeFlags&16384&&s!==null)s.return=o,o=s;else{if(o===e)break;for(;o.sibling===null;){if(o.return===null||o.return===e)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function Vn(e,o){for(o&=~Oc,o&=~ms,e.suspendedLanes|=o,e.pingedLanes&=~o,e=e.expirationTimes;0<o;){var s=31-Qt(o),u=1<<s;e[s]=-1,o&=~u}}function Rh(e){if((_e&6)!==0)throw Error(i(327));Kr();var o=Ta(e,0);if((o&1)===0)return It(e,Ve()),null;var s=$s(e,o);if(e.tag!==0&&s===2){var u=hu(e);u!==0&&(o=u,s=Rc(e,u))}if(s===1)throw s=ii,ur(e,0),Vn(e,o),It(e,Ve()),s;if(s===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=o,cr(e,xt,bn),It(e,Ve()),null}function Zc(e,o){var s=_e;_e|=1;try{return e(o)}finally{_e=s,_e===0&&(Br=Ve()+500,Wa&&Zn())}}function lr(e){Hn!==null&&Hn.tag===0&&(_e&6)===0&&Kr();var o=_e;_e|=1;var s=Jt.transition,u=ze;try{if(Jt.transition=null,ze=1,e)return e()}finally{ze=u,Jt.transition=s,_e=o,(_e&6)===0&&Zn()}}function Mc(){Ut=Wr.current,Ce(Wr)}function ur(e,o){e.finishedWork=null,e.finishedLanes=0;var s=e.timeoutHandle;if(s!==-1&&(e.timeoutHandle=-1,Rk(s)),Be!==null)for(s=Be.return;s!==null;){var u=s;switch(Ku(u),u.tag){case 1:u=u.type.childContextTypes,u!=null&&Ja();break;case 3:Hr(),Ce(St),Ce(ct),lc();break;case 5:ac(u);break;case 4:Hr();break;case 13:Ce(Ae);break;case 19:Ce(Ae);break;case 10:tc(u.type._context);break;case 22:case 23:Mc()}s=s.return}if(tt=e,Be=e=Wn(e.current,null),it=Ut=o,Ge=0,ii=null,Oc=ms=sr=0,xt=ai=null,or!==null){for(o=0;o<or.length;o++)if(s=or[o],u=s.interleaved,u!==null){s.interleaved=null;var d=u.next,f=s.pending;if(f!==null){var m=f.next;f.next=d,u.next=m}s.pending=u}or=null}return e}function Lh(e,o){do{var s=Be;try{if(ec(),rs.current=ss,os){for(var u=Fe.memoizedState;u!==null;){var d=u.queue;d!==null&&(d.pending=null),u=u.next}os=!1}if(ar=0,et=Ke=Fe=null,Yo=!1,ei=0,Nc.current=null,s===null||s.return===null){Ge=1,ii=o,Be=null;break}e:{var f=e,m=s.return,v=s,_=o;if(o=it,v.flags|=32768,_!==null&&typeof _=="object"&&typeof _.then=="function"){var E=_,D=v,L=D.tag;if((D.mode&1)===0&&(L===0||L===11||L===15)){var O=D.alternate;O?(D.updateQueue=O.updateQueue,D.memoizedState=O.memoizedState,D.lanes=O.lanes):(D.updateQueue=null,D.memoizedState=null)}var J=uh(m);if(J!==null){J.flags&=-257,ch(J,m,v,f,o),J.mode&1&&lh(f,E,o),o=J,_=E;var G=o.updateQueue;if(G===null){var Q=new Set;Q.add(_),o.updateQueue=Q}else G.add(_);break e}else{if((o&1)===0){lh(f,E,o),Ac();break e}_=Error(i(426))}}else if(Ze&&v.mode&1){var We=uh(m);if(We!==null){(We.flags&65536)===0&&(We.flags|=256),ch(We,m,v,f,o),Xu(Jr(_,v));break e}}f=_=Jr(_,v),Ge!==4&&(Ge=2),ai===null?ai=[f]:ai.push(f),f=m;do{switch(f.tag){case 3:f.flags|=65536,o&=-o,f.lanes|=o;var b=ah(f,_,o);Og(f,b);break e;case 1:v=_;var $=f.type,z=f.stateNode;if((f.flags&128)===0&&(typeof $.getDerivedStateFromError=="function"||z!==null&&typeof z.componentDidCatch=="function"&&(qn===null||!qn.has(z)))){f.flags|=65536,o&=-o,f.lanes|=o;var M=sh(f,v,o);Og(f,M);break e}}f=f.return}while(f!==null)}Ah(s)}catch(X){o=X,Be===s&&s!==null&&(Be=s=s.return);continue}break}while(!0)}function Zh(){var e=ps.current;return ps.current=ss,e===null?ss:e}function Ac(){(Ge===0||Ge===3||Ge===2)&&(Ge=4),tt===null||(sr&268435455)===0&&(ms&268435455)===0||Vn(tt,it)}function $s(e,o){var s=_e;_e|=2;var u=Zh();(tt!==e||it!==o)&&(bn=null,ur(e,o));do try{lS();break}catch(d){Lh(e,d)}while(!0);if(ec(),_e=s,ps.current=u,Be!==null)throw Error(i(261));return tt=null,it=0,Ge}function lS(){for(;Be!==null;)Mh(Be)}function uS(){for(;Be!==null&&!U2();)Mh(Be)}function Mh(e){var o=Hh(e.alternate,e,Ut);e.memoizedProps=e.pendingProps,o===null?Ah(e):Be=o,Nc.current=null}function Ah(e){var o=e;do{var s=o.alternate;if(e=o.return,(o.flags&32768)===0){if(s=tS(s,o,Ut),s!==null){Be=s;return}}else{if(s=nS(s,o),s!==null){s.flags&=32767,Be=s;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ge=6,Be=null;return}}if(o=o.sibling,o!==null){Be=o;return}Be=o=e}while(o!==null);Ge===0&&(Ge=5)}function cr(e,o,s){var u=ze,d=Jt.transition;try{Jt.transition=null,ze=1,cS(e,o,s,u)}finally{Jt.transition=d,ze=u}return null}function cS(e,o,s,u){do Kr();while(Hn!==null);if((_e&6)!==0)throw Error(i(327));s=e.finishedWork;var d=e.finishedLanes;if(s===null)return null;if(e.finishedWork=null,e.finishedLanes=0,s===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var f=s.lanes|s.childLanes;if(H2(e,f),e===tt&&(Be=tt=null,it=0),(s.subtreeFlags&2064)===0&&(s.flags&2064)===0||hs||(hs=!0,Jh(ba,function(){return Kr(),null})),f=(s.flags&15990)!==0,(s.subtreeFlags&15990)!==0||f){f=Jt.transition,Jt.transition=null;var m=ze;ze=1;var v=_e;_e|=4,Nc.current=null,oS(e,s),Ph(s,e),Ek(Au),Pa=!!Mu,Au=Mu=null,e.current=s,iS(s),D2(),_e=v,ze=m,Jt.transition=f}else e.current=s;if(hs&&(hs=!1,Hn=e,vs=d),f=e.pendingLanes,f===0&&(qn=null),L2(s.stateNode),It(e,Ve()),o!==null)for(u=e.onRecoverableError,s=0;s<o.length;s++)d=o[s],u(d.value,{componentStack:d.stack,digest:d.digest});if(gs)throw gs=!1,e=Dc,Dc=null,e;return(vs&1)!==0&&e.tag!==0&&Kr(),f=e.pendingLanes,(f&1)!==0?e===Cc?si++:(si=0,Cc=e):si=0,Zn(),null}function Kr(){if(Hn!==null){var e=jm(vs),o=Jt.transition,s=ze;try{if(Jt.transition=null,ze=16>e?16:e,Hn===null)var u=!1;else{if(e=Hn,Hn=null,vs=0,(_e&6)!==0)throw Error(i(331));var d=_e;for(_e|=4,W=e.current;W!==null;){var f=W,m=f.child;if((W.flags&16)!==0){var v=f.deletions;if(v!==null){for(var _=0;_<v.length;_++){var E=v[_];for(W=E;W!==null;){var D=W;switch(D.tag){case 0:case 11:case 15:oi(8,D,f)}var L=D.child;if(L!==null)L.return=D,W=L;else for(;W!==null;){D=W;var O=D.sibling,J=D.return;if(Ih(D),D===E){W=null;break}if(O!==null){O.return=J,W=O;break}W=J}}}var G=f.alternate;if(G!==null){var Q=G.child;if(Q!==null){G.child=null;do{var We=Q.sibling;Q.sibling=null,Q=We}while(Q!==null)}}W=f}}if((f.subtreeFlags&2064)!==0&&m!==null)m.return=f,W=m;else e:for(;W!==null;){if(f=W,(f.flags&2048)!==0)switch(f.tag){case 0:case 11:case 15:oi(9,f,f.return)}var b=f.sibling;if(b!==null){b.return=f.return,W=b;break e}W=f.return}}var $=e.current;for(W=$;W!==null;){m=W;var z=m.child;if((m.subtreeFlags&2064)!==0&&z!==null)z.return=m,W=z;else e:for(m=$;W!==null;){if(v=W,(v.flags&2048)!==0)try{switch(v.tag){case 0:case 11:case 15:fs(9,v)}}catch(X){He(v,v.return,X)}if(v===m){W=null;break e}var M=v.sibling;if(M!==null){M.return=v.return,W=M;break e}W=v.return}}if(_e=d,Zn(),un&&typeof un.onPostCommitFiberRoot=="function")try{un.onPostCommitFiberRoot(xa,e)}catch{}u=!0}return u}finally{ze=s,Jt.transition=o}}return!1}function Fh(e,o,s){o=Jr(s,o),o=ah(e,o,1),e=An(e,o,1),o=ht(),e!==null&&(Po(e,1,o),It(e,o))}function He(e,o,s){if(e.tag===3)Fh(e,e,s);else for(;o!==null;){if(o.tag===3){Fh(o,e,s);break}else if(o.tag===1){var u=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(qn===null||!qn.has(u))){e=Jr(s,e),e=sh(o,e,1),o=An(o,e,1),e=ht(),o!==null&&(Po(o,1,e),It(o,e));break}}o=o.return}}function dS(e,o,s){var u=e.pingCache;u!==null&&u.delete(o),o=ht(),e.pingedLanes|=e.suspendedLanes&s,tt===e&&(it&s)===s&&(Ge===4||Ge===3&&(it&130023424)===it&&500>Ve()-Uc?ur(e,0):Oc|=s),It(e,o)}function qh(e,o){o===0&&((e.mode&1)===0?o=1:(o=za,za<<=1,(za&130023424)===0&&(za=4194304)));var s=ht();e=kn(e,o),e!==null&&(Po(e,o,s),It(e,s))}function fS(e){var o=e.memoizedState,s=0;o!==null&&(s=o.retryLane),qh(e,s)}function pS(e,o){var s=0;switch(e.tag){case 13:var u=e.stateNode,d=e.memoizedState;d!==null&&(s=d.retryLane);break;case 19:u=e.stateNode;break;default:throw Error(i(314))}u!==null&&u.delete(o),qh(e,s)}var Hh;Hh=function(e,o,s){if(e!==null)if(e.memoizedProps!==o.pendingProps||St.current)bt=!0;else{if((e.lanes&s)===0&&(o.flags&128)===0)return bt=!1,eS(e,o,s);bt=(e.flags&131072)!==0}else bt=!1,Ze&&(o.flags&1048576)!==0&&wg(o,Ka,o.index);switch(o.lanes=0,o.tag){case 2:var u=o.type;cs(e,o),e=o.pendingProps;var d=Rr(o,ct.current);qr(o,s),d=dc(null,o,u,e,d,s);var f=fc();return o.flags|=1,typeof d=="object"&&d!==null&&typeof d.render=="function"&&d.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,wt(u)?(f=!0,Va(o)):f=!1,o.memoizedState=d.state!==null&&d.state!==void 0?d.state:null,oc(o),d.updater=ls,o.stateNode=d,d._reactInternals=o,yc(o,u,e,s),o=Sc(null,o,u,!0,f,s)):(o.tag=0,Ze&&f&&Bu(o),gt(null,o,d,s),o=o.child),o;case 16:u=o.elementType;e:{switch(cs(e,o),e=o.pendingProps,d=u._init,u=d(u._payload),o.type=u,d=o.tag=gS(u),e=en(u,e),d){case 0:o=kc(null,o,u,e,s);break e;case 1:o=hh(null,o,u,e,s);break e;case 11:o=dh(null,o,u,e,s);break e;case 14:o=fh(null,o,u,en(u.type,e),s);break e}throw Error(i(306,u,""))}return o;case 0:return u=o.type,d=o.pendingProps,d=o.elementType===u?d:en(u,d),kc(e,o,u,d,s);case 1:return u=o.type,d=o.pendingProps,d=o.elementType===u?d:en(u,d),hh(e,o,u,d,s);case 3:e:{if(vh(o),e===null)throw Error(i(387));u=o.pendingProps,f=o.memoizedState,d=f.element,Ng(e,o),ts(o,u,null,s);var m=o.memoizedState;if(u=m.element,f.isDehydrated)if(f={element:u,isDehydrated:!1,cache:m.cache,pendingSuspenseBoundaries:m.pendingSuspenseBoundaries,transitions:m.transitions},o.updateQueue.baseState=f,o.memoizedState=f,o.flags&256){d=Jr(Error(i(423)),o),o=yh(e,o,u,s,d);break e}else if(u!==d){d=Jr(Error(i(424)),o),o=yh(e,o,u,s,d);break e}else for(Ot=Cn(o.stateNode.containerInfo.firstChild),Nt=o,Ze=!0,Yt=null,s=Eg(o,null,u,s),o.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(Mr(),u===d){o=wn(e,o,s);break e}gt(e,o,u,s)}o=o.child}return o;case 5:return Dg(o),e===null&&Qu(o),u=o.type,d=o.pendingProps,f=e!==null?e.memoizedProps:null,m=d.children,Fu(u,d)?m=null:f!==null&&Fu(u,f)&&(o.flags|=32),gh(e,o),gt(e,o,m,s),o.child;case 6:return e===null&&Qu(o),null;case 13:return _h(e,o,s);case 4:return ic(o,o.stateNode.containerInfo),u=o.pendingProps,e===null?o.child=Ar(o,null,u,s):gt(e,o,u,s),o.child;case 11:return u=o.type,d=o.pendingProps,d=o.elementType===u?d:en(u,d),dh(e,o,u,d,s);case 7:return gt(e,o,o.pendingProps,s),o.child;case 8:return gt(e,o,o.pendingProps.children,s),o.child;case 12:return gt(e,o,o.pendingProps.children,s),o.child;case 10:e:{if(u=o.type._context,d=o.pendingProps,f=o.memoizedProps,m=d.value,Ue(Xa,u._currentValue),u._currentValue=m,f!==null)if(Xt(f.value,m)){if(f.children===d.children&&!St.current){o=wn(e,o,s);break e}}else for(f=o.child,f!==null&&(f.return=o);f!==null;){var v=f.dependencies;if(v!==null){m=f.child;for(var _=v.firstContext;_!==null;){if(_.context===u){if(f.tag===1){_=Sn(-1,s&-s),_.tag=2;var E=f.updateQueue;if(E!==null){E=E.shared;var D=E.pending;D===null?_.next=_:(_.next=D.next,D.next=_),E.pending=_}}f.lanes|=s,_=f.alternate,_!==null&&(_.lanes|=s),nc(f.return,s,o),v.lanes|=s;break}_=_.next}}else if(f.tag===10)m=f.type===o.type?null:f.child;else if(f.tag===18){if(m=f.return,m===null)throw Error(i(341));m.lanes|=s,v=m.alternate,v!==null&&(v.lanes|=s),nc(m,s,o),m=f.sibling}else m=f.child;if(m!==null)m.return=f;else for(m=f;m!==null;){if(m===o){m=null;break}if(f=m.sibling,f!==null){f.return=m.return,m=f;break}m=m.return}f=m}gt(e,o,d.children,s),o=o.child}return o;case 9:return d=o.type,u=o.pendingProps.children,qr(o,s),d=qt(d),u=u(d),o.flags|=1,gt(e,o,u,s),o.child;case 14:return u=o.type,d=en(u,o.pendingProps),d=en(u.type,d),fh(e,o,u,d,s);case 15:return ph(e,o,o.type,o.pendingProps,s);case 17:return u=o.type,d=o.pendingProps,d=o.elementType===u?d:en(u,d),cs(e,o),o.tag=1,wt(u)?(e=!0,Va(o)):e=!1,qr(o,s),oh(o,u,d),yc(o,u,d,s),Sc(null,o,u,!0,e,s);case 19:return kh(e,o,s);case 22:return mh(e,o,s)}throw Error(i(156,o.tag))};function Jh(e,o){return bm(e,o)}function mS(e,o,s,u){this.tag=e,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Vt(e,o,s,u){return new mS(e,o,s,u)}function Fc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function gS(e){if(typeof e=="function")return Fc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===sn)return 11;if(e===ln)return 14}return 2}function Wn(e,o){var s=e.alternate;return s===null?(s=Vt(e.tag,o,e.key,e.mode),s.elementType=e.elementType,s.type=e.type,s.stateNode=e.stateNode,s.alternate=e,e.alternate=s):(s.pendingProps=o,s.type=e.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=e.flags&14680064,s.childLanes=e.childLanes,s.lanes=e.lanes,s.child=e.child,s.memoizedProps=e.memoizedProps,s.memoizedState=e.memoizedState,s.updateQueue=e.updateQueue,o=e.dependencies,s.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},s.sibling=e.sibling,s.index=e.index,s.ref=e.ref,s}function ks(e,o,s,u,d,f){var m=2;if(u=e,typeof e=="function")Fc(e)&&(m=1);else if(typeof e=="string")m=5;else e:switch(e){case rt:return dr(s.children,d,f,o);case $t:m=8,d|=8;break;case jn:return e=Vt(12,s,o,d|2),e.elementType=jn,e.lanes=f,e;case jt:return e=Vt(13,s,o,d),e.elementType=jt,e.lanes=f,e;case Gt:return e=Vt(19,s,o,d),e.elementType=Gt,e.lanes=f,e;case qe:return Ss(s,d,f,o);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case hn:m=10;break e;case Xn:m=9;break e;case sn:m=11;break e;case ln:m=14;break e;case kt:m=16,u=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return o=Vt(m,s,o,d),o.elementType=e,o.type=u,o.lanes=f,o}function dr(e,o,s,u){return e=Vt(7,e,u,o),e.lanes=s,e}function Ss(e,o,s,u){return e=Vt(22,e,u,o),e.elementType=qe,e.lanes=s,e.stateNode={isHidden:!1},e}function qc(e,o,s){return e=Vt(6,e,null,o),e.lanes=s,e}function Hc(e,o,s){return o=Vt(4,e.children!==null?e.children:[],e.key,o),o.lanes=s,o.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},o}function hS(e,o,s,u,d){this.tag=o,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vu(0),this.expirationTimes=vu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vu(0),this.identifierPrefix=u,this.onRecoverableError=d,this.mutableSourceEagerHydrationData=null}function Jc(e,o,s,u,d,f,m,v,_){return e=new hS(e,o,s,v,_),o===1?(o=1,f===!0&&(o|=8)):o=0,f=Vt(3,null,null,o),e.current=f,f.stateNode=e,f.memoizedState={element:u,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},oc(f),e}function vS(e,o,s){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Ye,key:u==null?null:""+u,children:e,containerInfo:o,implementation:s}}function Vh(e){if(!e)return Ln;e=e._reactInternals;e:{if(Yn(e)!==e||e.tag!==1)throw Error(i(170));var o=e;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(wt(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(i(171))}if(e.tag===1){var s=e.type;if(wt(s))return $g(e,s,o)}return o}function Wh(e,o,s,u,d,f,m,v,_){return e=Jc(s,u,!0,e,d,f,m,v,_),e.context=Vh(null),s=e.current,u=ht(),d=Jn(s),f=Sn(u,d),f.callback=o??null,An(s,f,d),e.current.lanes=d,Po(e,d,u),It(e,u),e}function ws(e,o,s,u){var d=o.current,f=ht(),m=Jn(d);return s=Vh(s),o.context===null?o.context=s:o.pendingContext=s,o=Sn(f,m),o.payload={element:e},u=u===void 0?null:u,u!==null&&(o.callback=u),e=An(d,o,m),e!==null&&(rn(e,d,m,f),es(e,d,m)),m}function bs(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Bh(e,o){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var s=e.retryLane;e.retryLane=s!==0&&s<o?s:o}}function Vc(e,o){Bh(e,o),(e=e.alternate)&&Bh(e,o)}function yS(){return null}var Kh=typeof reportError=="function"?reportError:function(e){console.error(e)};function Wc(e){this._internalRoot=e}xs.prototype.render=Wc.prototype.render=function(e){var o=this._internalRoot;if(o===null)throw Error(i(409));ws(e,o,null,null)},xs.prototype.unmount=Wc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var o=e.containerInfo;lr(function(){ws(null,e,null,null)}),o[vn]=null}};function xs(e){this._internalRoot=e}xs.prototype.unstable_scheduleHydration=function(e){if(e){var o=Nm();e={blockedOn:null,target:e,priority:o};for(var s=0;s<On.length&&o!==0&&o<On[s].priority;s++);On.splice(s,0,e),s===0&&Dm(e)}};function Bc(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Is(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Gh(){}function _S(e,o,s,u,d){if(d){if(typeof u=="function"){var f=u;u=function(){var E=bs(m);f.call(E)}}var m=Wh(o,u,e,0,null,!1,!1,"",Gh);return e._reactRootContainer=m,e[vn]=m.current,Jo(e.nodeType===8?e.parentNode:e),lr(),m}for(;d=e.lastChild;)e.removeChild(d);if(typeof u=="function"){var v=u;u=function(){var E=bs(_);v.call(E)}}var _=Jc(e,0,!1,null,null,!1,!1,"",Gh);return e._reactRootContainer=_,e[vn]=_.current,Jo(e.nodeType===8?e.parentNode:e),lr(function(){ws(o,_,s,u)}),_}function zs(e,o,s,u,d){var f=s._reactRootContainer;if(f){var m=f;if(typeof d=="function"){var v=d;d=function(){var _=bs(m);v.call(_)}}ws(o,m,e,d)}else m=_S(s,o,e,d,u);return bs(m)}Em=function(e){switch(e.tag){case 3:var o=e.stateNode;if(o.current.memoizedState.isDehydrated){var s=Eo(o.pendingLanes);s!==0&&(yu(o,s|1),It(o,Ve()),(_e&6)===0&&(Br=Ve()+500,Zn()))}break;case 13:lr(function(){var u=kn(e,1);if(u!==null){var d=ht();rn(u,e,1,d)}}),Vc(e,1)}},_u=function(e){if(e.tag===13){var o=kn(e,134217728);if(o!==null){var s=ht();rn(o,e,134217728,s)}Vc(e,134217728)}},Pm=function(e){if(e.tag===13){var o=Jn(e),s=kn(e,o);if(s!==null){var u=ht();rn(s,e,o,u)}Vc(e,o)}},Nm=function(){return ze},Om=function(e,o){var s=ze;try{return ze=e,o()}finally{ze=s}},du=function(e,o,s){switch(o){case"input":if(ru(e,s),o=s.name,s.type==="radio"&&o!=null){for(s=e;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<s.length;o++){var u=s[o];if(u!==e&&u.form===e.form){var d=Ha(u);if(!d)throw Error(i(90));rm(u),ru(u,d)}}}break;case"textarea":lm(e,s);break;case"select":o=s.value,o!=null&&xr(e,!!s.multiple,o,!1)}},vm=Zc,ym=lr;var $S={usingClientEntryPoint:!1,Events:[Bo,Dr,Ha,gm,hm,Zc]},li={findFiberByHostInstance:er,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},kS={bundleType:li.bundleType,version:li.version,rendererPackageName:li.rendererPackageName,rendererConfig:li.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Sm(e),e===null?null:e.stateNode},findFiberByHostInstance:li.findFiberByHostInstance||yS,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ts=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ts.isDisabled&&Ts.supportsFiber)try{xa=Ts.inject(kS),un=Ts}catch{}}return zt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=$S,zt.createPortal=function(e,o){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Bc(o))throw Error(i(200));return vS(e,o,null,s)},zt.createRoot=function(e,o){if(!Bc(e))throw Error(i(299));var s=!1,u="",d=Kh;return o!=null&&(o.unstable_strictMode===!0&&(s=!0),o.identifierPrefix!==void 0&&(u=o.identifierPrefix),o.onRecoverableError!==void 0&&(d=o.onRecoverableError)),o=Jc(e,1,!1,null,null,s,!1,u,d),e[vn]=o.current,Jo(e.nodeType===8?e.parentNode:e),new Wc(o)},zt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var o=e._reactInternals;if(o===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=Sm(o),e=e===null?null:e.stateNode,e},zt.flushSync=function(e){return lr(e)},zt.hydrate=function(e,o,s){if(!Is(o))throw Error(i(200));return zs(null,e,o,!0,s)},zt.hydrateRoot=function(e,o,s){if(!Bc(e))throw Error(i(405));var u=s!=null&&s.hydratedSources||null,d=!1,f="",m=Kh;if(s!=null&&(s.unstable_strictMode===!0&&(d=!0),s.identifierPrefix!==void 0&&(f=s.identifierPrefix),s.onRecoverableError!==void 0&&(m=s.onRecoverableError)),o=Wh(o,null,e,1,s??null,d,!1,f,m),e[vn]=o.current,Jo(e),u)for(e=0;e<u.length;e++)s=u[e],d=s._getVersion,d=d(s._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[s,d]:o.mutableSourceEagerHydrationData.push(s,d);return new xs(o)},zt.render=function(e,o,s){if(!Is(o))throw Error(i(200));return zs(null,e,o,!1,s)},zt.unmountComponentAtNode=function(e){if(!Is(e))throw Error(i(40));return e._reactRootContainer?(lr(function(){zs(null,null,e,!1,function(){e._reactRootContainer=null,e[vn]=null})}),!0):!1},zt.unstable_batchedUpdates=Zc,zt.unstable_renderSubtreeIntoContainer=function(e,o,s,u){if(!Is(s))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return zs(e,o,s,!1,u)},zt.version="18.3.1-next-f1338f8080-20240426",zt}var ov;function jS(){if(ov)return Qc.exports;ov=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),Qc.exports=TS(),Qc.exports}var iv;function ES(){if(iv)return js;iv=1;var n=jS();return js.createRoot=n.createRoot,js.hydrateRoot=n.hydrateRoot,js}var PS=ES(),Re=ld();const NS="modulepreload",OS=function(n,r){return new URL(n,r).href},av={},US=function(r,i,l){let t=Promise.resolve();if(i&&i.length>0){let c=function(y){return Promise.all(y.map(k=>Promise.resolve(k).then(T=>({status:"fulfilled",value:T}),T=>({status:"rejected",reason:T}))))};const p=document.getElementsByTagName("link"),g=document.querySelector("meta[property=csp-nonce]"),h=g?.nonce||g?.getAttribute("nonce");t=c(i.map(y=>{if(y=OS(y,l),y in av)return;av[y]=!0;const k=y.endsWith(".css"),T=k?'[rel="stylesheet"]':"";if(!!l)for(let B=p.length-1;B>=0;B--){const V=p[B];if(V.href===y&&(!k||V.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${y}"]${T}`))return;const Z=document.createElement("link");if(Z.rel=k?"stylesheet":NS,k||(Z.as="script"),Z.crossOrigin="",Z.href=y,h&&Z.setAttribute("nonce",h),document.head.appendChild(Z),k)return new Promise((B,V)=>{Z.addEventListener("load",B),Z.addEventListener("error",()=>V(new Error(`Unable to preload CSS for ${y}`)))})}))}function a(c){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=c,window.dispatchEvent(p),!p.defaultPrevented)throw c}return t.then(c=>{for(const p of c||[])p.status==="rejected"&&a(p.reason);return r().catch(a)})};var sv;const ud=Object.freeze({status:"aborted"});function S(n,r,i){function l(p,g){if(p._zod||Object.defineProperty(p,"_zod",{value:{def:g,constr:c,traits:new Set},enumerable:!1}),p._zod.traits.has(n))return;p._zod.traits.add(n),r(p,g);const h=c.prototype,y=Object.keys(h);for(let k=0;k<y.length;k++){const T=y[k];T in p||(p[T]=h[T].bind(p))}}const t=i?.Parent??Object;class a extends t{}Object.defineProperty(a,"name",{value:n});function c(p){var g;const h=i?.Parent?new a:this;l(h,p),(g=h._zod).deferred??(g.deferred=[]);for(const y of h._zod.deferred)y();return h}return Object.defineProperty(c,"init",{value:l}),Object.defineProperty(c,Symbol.hasInstance,{value:p=>i?.Parent&&p instanceof i.Parent?!0:p?._zod?.traits?.has(n)}),Object.defineProperty(c,"name",{value:n}),c}const cd=Symbol("zod_brand");class hr extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class Hs extends Error{constructor(r){super(`Encountered unidirectional transform during encode: ${r}`),this.name="ZodEncodeError"}}(sv=globalThis).__zod_globalConfig??(sv.__zod_globalConfig={});const fi=globalThis.__zod_globalConfig;function Xe(n){return n&&Object.assign(fi,n),fi}function DS(n){return n}function CS(n){return n}function RS(n){}function LS(n){throw new Error("Unexpected value in exhaustive check")}function ZS(n){}function dd(n){const r=Object.values(n).filter(l=>typeof l=="number");return Object.entries(n).filter(([l,t])=>r.indexOf(+l)===-1).map(([l,t])=>t)}function R(n,r="|"){return n.map(i=>ee(i)).join(r)}function Rs(n,r){return typeof r=="bigint"?r.toString():r}function vi(n){return{get value(){{const r=n();return Object.defineProperty(this,"value",{value:r}),r}}}}function Sr(n){return n==null}function Js(n){const r=n.startsWith("^")?1:0,i=n.endsWith("$")?n.length-1:n.length;return n.slice(r,i)}function qv(n,r){const i=n/r,l=Math.round(i),t=Number.EPSILON*Math.max(Math.abs(i),1);return Math.abs(i-l)<t?0:i-l}const lv=Symbol("evaluating");function pe(n,r,i){let l;Object.defineProperty(n,r,{get(){if(l!==lv)return l===void 0&&(l=lv,l=i()),l},set(t){Object.defineProperty(n,r,{value:t})},configurable:!0})}function MS(n){return Object.create(Object.getPrototypeOf(n),Object.getOwnPropertyDescriptors(n))}function Gn(n,r,i){Object.defineProperty(n,r,{value:i,writable:!0,enumerable:!0,configurable:!0})}function mn(...n){const r={};for(const i of n){const l=Object.getOwnPropertyDescriptors(i);Object.assign(r,l)}return Object.defineProperties({},r)}function AS(n){return mn(n._zod.def)}function FS(n,r){return r?r.reduce((i,l)=>i?.[l],n):n}function qS(n){const r=Object.keys(n),i=r.map(l=>n[l]);return Promise.all(i).then(l=>{const t={};for(let a=0;a<r.length;a++)t[r[a]]=l[a];return t})}function HS(n=10){const r="abcdefghijklmnopqrstuvwxyz";let i="";for(let l=0;l<n;l++)i+=r[Math.floor(Math.random()*r.length)];return i}function nd(n){return JSON.stringify(n)}function Hv(n){return n.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const fd="captureStackTrace"in Error?Error.captureStackTrace:(...n)=>{};function Qr(n){return typeof n=="object"&&n!==null&&!Array.isArray(n)}const Jv=vi(()=>{if(fi.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const n=Function;return new n(""),!0}catch{return!1}});function vr(n){if(Qr(n)===!1)return!1;const r=n.constructor;if(r===void 0||typeof r!="function")return!0;const i=r.prototype;return!(Qr(i)===!1||Object.prototype.hasOwnProperty.call(i,"isPrototypeOf")===!1)}function Vs(n){return vr(n)?{...n}:Array.isArray(n)?[...n]:n instanceof Map?new Map(n):n instanceof Set?new Set(n):n}function JS(n){let r=0;for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&r++;return r}const VS=n=>{const r=typeof n;switch(r){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(n)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(n)?"array":n===null?"null":n.then&&typeof n.then=="function"&&n.catch&&typeof n.catch=="function"?"promise":typeof Map<"u"&&n instanceof Map?"map":typeof Set<"u"&&n instanceof Set?"set":typeof Date<"u"&&n instanceof Date?"date":typeof File<"u"&&n instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${r}`)}},Ls=new Set(["string","number","symbol"]),Vv=new Set(["string","number","bigint","boolean","symbol","undefined"]);function xn(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Lt(n,r,i){const l=new n._zod.constr(r??n._zod.def);return(!r||i?.parent)&&(l._zod.parent=n),l}function N(n){const r=n;if(!r)return{};if(typeof r=="string")return{error:()=>r};if(r?.message!==void 0){if(r?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");r.error=r.message}return delete r.message,typeof r.error=="string"?{...r,error:()=>r.error}:r}function WS(n){let r;return new Proxy({},{get(i,l,t){return r??(r=n()),Reflect.get(r,l,t)},set(i,l,t,a){return r??(r=n()),Reflect.set(r,l,t,a)},has(i,l){return r??(r=n()),Reflect.has(r,l)},deleteProperty(i,l){return r??(r=n()),Reflect.deleteProperty(r,l)},ownKeys(i){return r??(r=n()),Reflect.ownKeys(r)},getOwnPropertyDescriptor(i,l){return r??(r=n()),Reflect.getOwnPropertyDescriptor(r,l)},defineProperty(i,l,t){return r??(r=n()),Reflect.defineProperty(r,l,t)}})}function ee(n){return typeof n=="bigint"?n.toString()+"n":typeof n=="string"?`"${n}"`:`${n}`}function Wv(n){return Object.keys(n).filter(r=>n[r]._zod.optin==="optional"&&n[r]._zod.optout==="optional")}const Bv={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]},Kv={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Gv(n,r){const i=n._zod.def,l=i.checks;if(l&&l.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const a=mn(n._zod.def,{get shape(){const c={};for(const p in r){if(!(p in i.shape))throw new Error(`Unrecognized key: "${p}"`);r[p]&&(c[p]=i.shape[p])}return Gn(this,"shape",c),c},checks:[]});return Lt(n,a)}function Qv(n,r){const i=n._zod.def,l=i.checks;if(l&&l.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const a=mn(n._zod.def,{get shape(){const c={...n._zod.def.shape};for(const p in r){if(!(p in i.shape))throw new Error(`Unrecognized key: "${p}"`);r[p]&&delete c[p]}return Gn(this,"shape",c),c},checks:[]});return Lt(n,a)}function Xv(n,r){if(!vr(r))throw new Error("Invalid input to extend: expected a plain object");const i=n._zod.def.checks;if(i&&i.length>0){const a=n._zod.def.shape;for(const c in r)if(Object.getOwnPropertyDescriptor(a,c)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const t=mn(n._zod.def,{get shape(){const a={...n._zod.def.shape,...r};return Gn(this,"shape",a),a}});return Lt(n,t)}function Yv(n,r){if(!vr(r))throw new Error("Invalid input to safeExtend: expected a plain object");const i=mn(n._zod.def,{get shape(){const l={...n._zod.def.shape,...r};return Gn(this,"shape",l),l}});return Lt(n,i)}function ey(n,r){if(n._zod.def.checks?.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");const i=mn(n._zod.def,{get shape(){const l={...n._zod.def.shape,...r._zod.def.shape};return Gn(this,"shape",l),l},get catchall(){return r._zod.def.catchall},checks:r._zod.def.checks??[]});return Lt(n,i)}function ty(n,r,i){const t=r._zod.def.checks;if(t&&t.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const c=mn(r._zod.def,{get shape(){const p=r._zod.def.shape,g={...p};if(i)for(const h in i){if(!(h in p))throw new Error(`Unrecognized key: "${h}"`);i[h]&&(g[h]=n?new n({type:"optional",innerType:p[h]}):p[h])}else for(const h in p)g[h]=n?new n({type:"optional",innerType:p[h]}):p[h];return Gn(this,"shape",g),g},checks:[]});return Lt(r,c)}function ny(n,r,i){const l=mn(r._zod.def,{get shape(){const t=r._zod.def.shape,a={...t};if(i)for(const c in i){if(!(c in a))throw new Error(`Unrecognized key: "${c}"`);i[c]&&(a[c]=new n({type:"nonoptional",innerType:t[c]}))}else for(const c in t)a[c]=new n({type:"nonoptional",innerType:t[c]});return Gn(this,"shape",a),a}});return Lt(r,l)}function gr(n,r=0){if(n.aborted===!0)return!0;for(let i=r;i<n.issues.length;i++)if(n.issues[i]?.continue!==!0)return!0;return!1}function ry(n,r=0){if(n.aborted===!0)return!0;for(let i=r;i<n.issues.length;i++)if(n.issues[i]?.continue===!1)return!0;return!1}function Wt(n,r){return r.map(i=>{var l;return(l=i).path??(l.path=[]),i.path.unshift(n),i})}function di(n){return typeof n=="string"?n:n?.message}function Rt(n,r,i){const l=n.message?n.message:di(n.inst?._zod.def?.error?.(n))??di(r?.error?.(n))??di(i.customError?.(n))??di(i.localeError?.(n))??"Invalid input",{inst:t,continue:a,input:c,...p}=n;return p.path??(p.path=[]),p.message=l,r?.reportInput&&(p.input=c),p}function Ws(n){return n instanceof Set?"set":n instanceof Map?"map":n instanceof File?"file":"unknown"}function Bs(n){return Array.isArray(n)?"array":typeof n=="string"?"string":"unknown"}function re(n){const r=typeof n;switch(r){case"number":return Number.isNaN(n)?"nan":"number";case"object":{if(n===null)return"null";if(Array.isArray(n))return"array";const i=n;if(i&&Object.getPrototypeOf(i)!==Object.prototype&&"constructor"in i&&i.constructor)return i.constructor.name}}return r}function Xr(...n){const[r,i,l]=n;return typeof r=="string"?{message:r,code:"custom",input:i,inst:l}:{...r}}function BS(n){return Object.entries(n).filter(([r,i])=>Number.isNaN(Number.parseInt(r,10))).map(r=>r[1])}function oy(n){const r=atob(n),i=new Uint8Array(r.length);for(let l=0;l<r.length;l++)i[l]=r.charCodeAt(l);return i}function iy(n){let r="";for(let i=0;i<n.length;i++)r+=String.fromCharCode(n[i]);return btoa(r)}function KS(n){const r=n.replace(/-/g,"+").replace(/_/g,"/"),i="=".repeat((4-r.length%4)%4);return oy(r+i)}function GS(n){return iy(n).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function QS(n){const r=n.replace(/^0x/,"");if(r.length%2!==0)throw new Error("Invalid hex string length");const i=new Uint8Array(r.length/2);for(let l=0;l<r.length;l+=2)i[l/2]=Number.parseInt(r.slice(l,l+2),16);return i}function XS(n){return Array.from(n).map(r=>r.toString(16).padStart(2,"0")).join("")}class YS{constructor(...r){}}const pd=Object.freeze(Object.defineProperty({__proto__:null,BIGINT_FORMAT_RANGES:Kv,Class:YS,NUMBER_FORMAT_RANGES:Bv,aborted:gr,allowsEval:Jv,assert:ZS,assertEqual:DS,assertIs:RS,assertNever:LS,assertNotEqual:CS,assignProp:Gn,base64ToUint8Array:oy,base64urlToUint8Array:KS,cached:vi,captureStackTrace:fd,cleanEnum:BS,cleanRegex:Js,clone:Lt,cloneDef:AS,createTransparentProxy:WS,defineLazy:pe,esc:nd,escapeRegex:xn,explicitlyAborted:ry,extend:Xv,finalizeIssue:Rt,floatSafeRemainder:qv,getElementAtPath:FS,getEnumValues:dd,getLengthableOrigin:Bs,getParsedType:VS,getSizableOrigin:Ws,hexToUint8Array:QS,isObject:Qr,isPlainObject:vr,issue:Xr,joinValues:R,jsonStringifyReplacer:Rs,merge:ey,mergeDefs:mn,normalizeParams:N,nullish:Sr,numKeys:JS,objectClone:MS,omit:Qv,optionalKeys:Wv,parsedType:re,partial:ty,pick:Gv,prefixIssues:Wt,primitiveTypes:Vv,promiseAllObject:qS,propertyKeyTypes:Ls,randomString:HS,required:ny,safeExtend:Yv,shallowClone:Vs,slugify:Hv,stringifyPrimitive:ee,uint8ArrayToBase64:iy,uint8ArrayToBase64url:GS,uint8ArrayToHex:XS,unwrapMessage:di},Symbol.toStringTag,{value:"Module"})),ay=(n,r)=>{n.name="$ZodError",Object.defineProperty(n,"_zod",{value:n._zod,enumerable:!1}),Object.defineProperty(n,"issues",{value:r,enumerable:!1}),n.message=JSON.stringify(r,Rs,2),Object.defineProperty(n,"toString",{value:()=>n.message,enumerable:!1})},md=S("$ZodError",ay),Zt=S("$ZodError",ay,{Parent:Error});function Ks(n,r=i=>i.message){const i={},l=[];for(const t of n.issues)t.path.length>0?(i[t.path[0]]=i[t.path[0]]||[],i[t.path[0]].push(r(t))):l.push(r(t));return{formErrors:l,fieldErrors:i}}function Gs(n,r=i=>i.message){const i={_errors:[]},l=(t,a=[])=>{for(const c of t.issues)if(c.code==="invalid_union"&&c.errors.length)c.errors.map(p=>l({issues:p},[...a,...c.path]));else if(c.code==="invalid_key")l({issues:c.issues},[...a,...c.path]);else if(c.code==="invalid_element")l({issues:c.issues},[...a,...c.path]);else{const p=[...a,...c.path];if(p.length===0)i._errors.push(r(c));else{let g=i,h=0;for(;h<p.length;){const y=p[h];h===p.length-1?(g[y]=g[y]||{_errors:[]},g[y]._errors.push(r(c))):g[y]=g[y]||{_errors:[]},g=g[y],h++}}}};return l(n),i}function gd(n,r=i=>i.message){const i={errors:[]},l=(t,a=[])=>{var c,p;for(const g of t.issues)if(g.code==="invalid_union"&&g.errors.length)g.errors.map(h=>l({issues:h},[...a,...g.path]));else if(g.code==="invalid_key")l({issues:g.issues},[...a,...g.path]);else if(g.code==="invalid_element")l({issues:g.issues},[...a,...g.path]);else{const h=[...a,...g.path];if(h.length===0){i.errors.push(r(g));continue}let y=i,k=0;for(;k<h.length;){const T=h[k],P=k===h.length-1;typeof T=="string"?(y.properties??(y.properties={}),(c=y.properties)[T]??(c[T]={errors:[]}),y=y.properties[T]):(y.items??(y.items=[]),(p=y.items)[T]??(p[T]={errors:[]}),y=y.items[T]),P&&y.errors.push(r(g)),k++}}};return l(n),i}function sy(n){const r=[],i=n.map(l=>typeof l=="object"?l.key:l);for(const l of i)typeof l=="number"?r.push(`[${l}]`):typeof l=="symbol"?r.push(`[${JSON.stringify(String(l))}]`):/[^\w$]/.test(l)?r.push(`[${JSON.stringify(l)}]`):(r.length&&r.push("."),r.push(l));return r.join("")}function hd(n){const r=[],i=[...n.issues].sort((l,t)=>(l.path??[]).length-(t.path??[]).length);for(const l of i)r.push(`✖ ${l.message}`),l.path?.length&&r.push(` → at ${sy(l.path)}`);return r.join(`
|
|
47
|
+
`)}const yi=n=>(r,i,l,t)=>{const a=l?{...l,async:!1}:{async:!1},c=r._zod.run({value:i,issues:[]},a);if(c instanceof Promise)throw new hr;if(c.issues.length){const p=new(t?.Err??n)(c.issues.map(g=>Rt(g,a,Xe())));throw fd(p,t?.callee),p}return c.value},rd=yi(Zt),_i=n=>async(r,i,l,t)=>{const a=l?{...l,async:!0}:{async:!0};let c=r._zod.run({value:i,issues:[]},a);if(c instanceof Promise&&(c=await c),c.issues.length){const p=new(t?.Err??n)(c.issues.map(g=>Rt(g,a,Xe())));throw fd(p,t?.callee),p}return c.value},od=_i(Zt),$i=n=>(r,i,l)=>{const t=l?{...l,async:!1}:{async:!1},a=r._zod.run({value:i,issues:[]},t);if(a instanceof Promise)throw new hr;return a.issues.length?{success:!1,error:new(n??md)(a.issues.map(c=>Rt(c,t,Xe())))}:{success:!0,data:a.value}},vd=$i(Zt),ki=n=>async(r,i,l)=>{const t=l?{...l,async:!0}:{async:!0};let a=r._zod.run({value:i,issues:[]},t);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new n(a.issues.map(c=>Rt(c,t,Xe())))}:{success:!0,data:a.value}},ly=ki(Zt),yd=n=>(r,i,l)=>{const t=l?{...l,direction:"backward"}:{direction:"backward"};return yi(n)(r,i,t)},e1=yd(Zt),_d=n=>(r,i,l)=>yi(n)(r,i,l),t1=_d(Zt),$d=n=>async(r,i,l)=>{const t=l?{...l,direction:"backward"}:{direction:"backward"};return _i(n)(r,i,t)},n1=$d(Zt),kd=n=>async(r,i,l)=>_i(n)(r,i,l),r1=kd(Zt),Sd=n=>(r,i,l)=>{const t=l?{...l,direction:"backward"}:{direction:"backward"};return $i(n)(r,i,t)},o1=Sd(Zt),wd=n=>(r,i,l)=>$i(n)(r,i,l),i1=wd(Zt),bd=n=>async(r,i,l)=>{const t=l?{...l,direction:"backward"}:{direction:"backward"};return ki(n)(r,i,t)},a1=bd(Zt),xd=n=>async(r,i,l)=>ki(n)(r,i,l),s1=xd(Zt),uy=/^[cC][0-9a-z]{6,}$/,cy=/^[0-9a-z]+$/,dy=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,fy=/^[0-9a-vA-V]{20}$/,py=/^[A-Za-z0-9]{27}$/,my=/^[a-zA-Z0-9_-]{21}$/,gy=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,l1=/^[-+]?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)?)??$/,hy=/^([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})$/,Yr=n=>n?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${n}[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)$/,u1=Yr(4),c1=Yr(6),d1=Yr(7),vy=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,f1=/^[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])?)*$/,p1=/^(([^<>()\[\]\\.,;:\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,}))$/,yy=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,m1=yy,g1=/^[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])?)*$/,h1="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function _y(){return new RegExp(h1,"u")}const $y=/^(?:(?:25[0-5]|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/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,zd=/^https?$/,Ty=/^\+[1-9]\d{6,14}$/,jy="(?:(?:\\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])))",Ey=new RegExp(`^${jy}$`);function Py(n){const r="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof n.precision=="number"?n.precision===-1?`${r}`:n.precision===0?`${r}:[0-5]\\d`:`${r}:[0-5]\\d\\.\\d{${n.precision}}`:`${r}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Ny(n){return new RegExp(`^${Py(n)}$`)}function Oy(n){const r=Py({precision:n.precision}),i=["Z"];n.local&&i.push(""),n.offset&&i.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const l=`${r}(?:${i.join("|")})`;return new RegExp(`^${jy}T(?:${l})$`)}const Uy=n=>{const r=n?`[\\s\\S]{${n?.minimum??0},${n?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${r}$`)},Dy=/^-?\d+n?$/,Cy=/^-?\d+$/,Td=/^-?\d+(?:\.\d+)?$/,Ry=/^(?:true|false)$/i,Ly=/^null$/i,Zy=/^undefined$/i,My=/^[^A-Z]*$/,Ay=/^[^a-z]*$/,Fy=/^[0-9a-fA-F]*$/;function Si(n,r){return new RegExp(`^[A-Za-z0-9+/]{${n}}${r}$`)}function wi(n){return new RegExp(`^[A-Za-z0-9_-]{${n}}$`)}const v1=/^[0-9a-fA-F]{32}$/,y1=Si(22,"=="),_1=wi(22),$1=/^[0-9a-fA-F]{40}$/,k1=Si(27,"="),S1=wi(27),w1=/^[0-9a-fA-F]{64}$/,b1=Si(43,"="),x1=wi(43),I1=/^[0-9a-fA-F]{96}$/,z1=Si(64,""),T1=wi(64),j1=/^[0-9a-fA-F]{128}$/,E1=Si(86,"=="),P1=wi(86),Qs=Object.freeze(Object.defineProperty({__proto__:null,base64:xy,base64url:Id,bigint:Dy,boolean:Ry,browserEmail:g1,cidrv4:wy,cidrv6:by,cuid:uy,cuid2:cy,date:Ey,datetime:Oy,domain:zy,duration:gy,e164:Ty,email:vy,emoji:_y,extendedDuration:l1,guid:hy,hex:Fy,hostname:Iy,html5Email:f1,httpProtocol:zd,idnEmail:m1,integer:Cy,ipv4:$y,ipv6:ky,ksuid:py,lowercase:My,mac:Sy,md5_base64:y1,md5_base64url:_1,md5_hex:v1,nanoid:my,null:Ly,number:Td,rfc5322Email:p1,sha1_base64:k1,sha1_base64url:S1,sha1_hex:$1,sha256_base64:b1,sha256_base64url:x1,sha256_hex:w1,sha384_base64:z1,sha384_base64url:T1,sha384_hex:I1,sha512_base64:E1,sha512_base64url:P1,sha512_hex:j1,string:Uy,time:Ny,ulid:dy,undefined:Zy,unicodeEmail:yy,uppercase:Ay,uuid:Yr,uuid4:u1,uuid6:c1,uuid7:d1,xid:fy},Symbol.toStringTag,{value:"Module"})),Me=S("$ZodCheck",(n,r)=>{var i;n._zod??(n._zod={}),n._zod.def=r,(i=n._zod).onattach??(i.onattach=[])}),qy={number:"number",bigint:"bigint",object:"date"},jd=S("$ZodCheckLessThan",(n,r)=>{Me.init(n,r);const i=qy[typeof r.value];n._zod.onattach.push(l=>{const t=l._zod.bag,a=(r.inclusive?t.maximum:t.exclusiveMaximum)??Number.POSITIVE_INFINITY;r.value<a&&(r.inclusive?t.maximum=r.value:t.exclusiveMaximum=r.value)}),n._zod.check=l=>{(r.inclusive?l.value<=r.value:l.value<r.value)||l.issues.push({origin:i,code:"too_big",maximum:typeof r.value=="object"?r.value.getTime():r.value,input:l.value,inclusive:r.inclusive,inst:n,continue:!r.abort})}}),Ed=S("$ZodCheckGreaterThan",(n,r)=>{Me.init(n,r);const i=qy[typeof r.value];n._zod.onattach.push(l=>{const t=l._zod.bag,a=(r.inclusive?t.minimum:t.exclusiveMinimum)??Number.NEGATIVE_INFINITY;r.value>a&&(r.inclusive?t.minimum=r.value:t.exclusiveMinimum=r.value)}),n._zod.check=l=>{(r.inclusive?l.value>=r.value:l.value>r.value)||l.issues.push({origin:i,code:"too_small",minimum:typeof r.value=="object"?r.value.getTime():r.value,input:l.value,inclusive:r.inclusive,inst:n,continue:!r.abort})}}),Hy=S("$ZodCheckMultipleOf",(n,r)=>{Me.init(n,r),n._zod.onattach.push(i=>{var l;(l=i._zod.bag).multipleOf??(l.multipleOf=r.value)}),n._zod.check=i=>{if(typeof i.value!=typeof r.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof i.value=="bigint"?i.value%r.value===BigInt(0):qv(i.value,r.value)===0)||i.issues.push({origin:typeof i.value,code:"not_multiple_of",divisor:r.value,input:i.value,inst:n,continue:!r.abort})}}),Jy=S("$ZodCheckNumberFormat",(n,r)=>{Me.init(n,r),r.format=r.format||"float64";const i=r.format?.includes("int"),l=i?"int":"number",[t,a]=Bv[r.format];n._zod.onattach.push(c=>{const p=c._zod.bag;p.format=r.format,p.minimum=t,p.maximum=a,i&&(p.pattern=Cy)}),n._zod.check=c=>{const p=c.value;if(i){if(!Number.isInteger(p)){c.issues.push({expected:l,format:r.format,code:"invalid_type",continue:!1,input:p,inst:n});return}if(!Number.isSafeInteger(p)){p>0?c.issues.push({input:p,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:n,origin:l,inclusive:!0,continue:!r.abort}):c.issues.push({input:p,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:n,origin:l,inclusive:!0,continue:!r.abort});return}}p<t&&c.issues.push({origin:"number",input:p,code:"too_small",minimum:t,inclusive:!0,inst:n,continue:!r.abort}),p>a&&c.issues.push({origin:"number",input:p,code:"too_big",maximum:a,inclusive:!0,inst:n,continue:!r.abort})}}),Vy=S("$ZodCheckBigIntFormat",(n,r)=>{Me.init(n,r);const[i,l]=Kv[r.format];n._zod.onattach.push(t=>{const a=t._zod.bag;a.format=r.format,a.minimum=i,a.maximum=l}),n._zod.check=t=>{const a=t.value;a<i&&t.issues.push({origin:"bigint",input:a,code:"too_small",minimum:i,inclusive:!0,inst:n,continue:!r.abort}),a>l&&t.issues.push({origin:"bigint",input:a,code:"too_big",maximum:l,inclusive:!0,inst:n,continue:!r.abort})}}),Wy=S("$ZodCheckMaxSize",(n,r)=>{var i;Me.init(n,r),(i=n._zod.def).when??(i.when=l=>{const t=l.value;return!Sr(t)&&t.size!==void 0}),n._zod.onattach.push(l=>{const t=l._zod.bag.maximum??Number.POSITIVE_INFINITY;r.maximum<t&&(l._zod.bag.maximum=r.maximum)}),n._zod.check=l=>{const t=l.value;t.size<=r.maximum||l.issues.push({origin:Ws(t),code:"too_big",maximum:r.maximum,inclusive:!0,input:t,inst:n,continue:!r.abort})}}),By=S("$ZodCheckMinSize",(n,r)=>{var i;Me.init(n,r),(i=n._zod.def).when??(i.when=l=>{const t=l.value;return!Sr(t)&&t.size!==void 0}),n._zod.onattach.push(l=>{const t=l._zod.bag.minimum??Number.NEGATIVE_INFINITY;r.minimum>t&&(l._zod.bag.minimum=r.minimum)}),n._zod.check=l=>{const t=l.value;t.size>=r.minimum||l.issues.push({origin:Ws(t),code:"too_small",minimum:r.minimum,inclusive:!0,input:t,inst:n,continue:!r.abort})}}),Ky=S("$ZodCheckSizeEquals",(n,r)=>{var i;Me.init(n,r),(i=n._zod.def).when??(i.when=l=>{const t=l.value;return!Sr(t)&&t.size!==void 0}),n._zod.onattach.push(l=>{const t=l._zod.bag;t.minimum=r.size,t.maximum=r.size,t.size=r.size}),n._zod.check=l=>{const t=l.value,a=t.size;if(a===r.size)return;const c=a>r.size;l.issues.push({origin:Ws(t),...c?{code:"too_big",maximum:r.size}:{code:"too_small",minimum:r.size},inclusive:!0,exact:!0,input:l.value,inst:n,continue:!r.abort})}}),Gy=S("$ZodCheckMaxLength",(n,r)=>{var i;Me.init(n,r),(i=n._zod.def).when??(i.when=l=>{const t=l.value;return!Sr(t)&&t.length!==void 0}),n._zod.onattach.push(l=>{const t=l._zod.bag.maximum??Number.POSITIVE_INFINITY;r.maximum<t&&(l._zod.bag.maximum=r.maximum)}),n._zod.check=l=>{const t=l.value;if(t.length<=r.maximum)return;const c=Bs(t);l.issues.push({origin:c,code:"too_big",maximum:r.maximum,inclusive:!0,input:t,inst:n,continue:!r.abort})}}),Qy=S("$ZodCheckMinLength",(n,r)=>{var i;Me.init(n,r),(i=n._zod.def).when??(i.when=l=>{const t=l.value;return!Sr(t)&&t.length!==void 0}),n._zod.onattach.push(l=>{const t=l._zod.bag.minimum??Number.NEGATIVE_INFINITY;r.minimum>t&&(l._zod.bag.minimum=r.minimum)}),n._zod.check=l=>{const t=l.value;if(t.length>=r.minimum)return;const c=Bs(t);l.issues.push({origin:c,code:"too_small",minimum:r.minimum,inclusive:!0,input:t,inst:n,continue:!r.abort})}}),Xy=S("$ZodCheckLengthEquals",(n,r)=>{var i;Me.init(n,r),(i=n._zod.def).when??(i.when=l=>{const t=l.value;return!Sr(t)&&t.length!==void 0}),n._zod.onattach.push(l=>{const t=l._zod.bag;t.minimum=r.length,t.maximum=r.length,t.length=r.length}),n._zod.check=l=>{const t=l.value,a=t.length;if(a===r.length)return;const c=Bs(t),p=a>r.length;l.issues.push({origin:c,...p?{code:"too_big",maximum:r.length}:{code:"too_small",minimum:r.length},inclusive:!0,exact:!0,input:l.value,inst:n,continue:!r.abort})}}),bi=S("$ZodCheckStringFormat",(n,r)=>{var i,l;Me.init(n,r),n._zod.onattach.push(t=>{const a=t._zod.bag;a.format=r.format,r.pattern&&(a.patterns??(a.patterns=new Set),a.patterns.add(r.pattern))}),r.pattern?(i=n._zod).check??(i.check=t=>{r.pattern.lastIndex=0,!r.pattern.test(t.value)&&t.issues.push({origin:"string",code:"invalid_format",format:r.format,input:t.value,...r.pattern?{pattern:r.pattern.toString()}:{},inst:n,continue:!r.abort})}):(l=n._zod).check??(l.check=()=>{})}),Yy=S("$ZodCheckRegex",(n,r)=>{bi.init(n,r),n._zod.check=i=>{r.pattern.lastIndex=0,!r.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:"regex",input:i.value,pattern:r.pattern.toString(),inst:n,continue:!r.abort})}}),e0=S("$ZodCheckLowerCase",(n,r)=>{r.pattern??(r.pattern=My),bi.init(n,r)}),t0=S("$ZodCheckUpperCase",(n,r)=>{r.pattern??(r.pattern=Ay),bi.init(n,r)}),n0=S("$ZodCheckIncludes",(n,r)=>{Me.init(n,r);const i=xn(r.includes),l=new RegExp(typeof r.position=="number"?`^.{${r.position}}${i}`:i);r.pattern=l,n._zod.onattach.push(t=>{const a=t._zod.bag;a.patterns??(a.patterns=new Set),a.patterns.add(l)}),n._zod.check=t=>{t.value.includes(r.includes,r.position)||t.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:r.includes,input:t.value,inst:n,continue:!r.abort})}}),r0=S("$ZodCheckStartsWith",(n,r)=>{Me.init(n,r);const i=new RegExp(`^${xn(r.prefix)}.*`);r.pattern??(r.pattern=i),n._zod.onattach.push(l=>{const t=l._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(i)}),n._zod.check=l=>{l.value.startsWith(r.prefix)||l.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:r.prefix,input:l.value,inst:n,continue:!r.abort})}}),o0=S("$ZodCheckEndsWith",(n,r)=>{Me.init(n,r);const i=new RegExp(`.*${xn(r.suffix)}$`);r.pattern??(r.pattern=i),n._zod.onattach.push(l=>{const t=l._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(i)}),n._zod.check=l=>{l.value.endsWith(r.suffix)||l.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:r.suffix,input:l.value,inst:n,continue:!r.abort})}});function uv(n,r,i){n.issues.length&&r.issues.push(...Wt(i,n.issues))}const i0=S("$ZodCheckProperty",(n,r)=>{Me.init(n,r),n._zod.check=i=>{const l=r.schema._zod.run({value:i.value[r.property],issues:[]},{});if(l instanceof Promise)return l.then(t=>uv(t,i,r.property));uv(l,i,r.property)}}),a0=S("$ZodCheckMimeType",(n,r)=>{Me.init(n,r);const i=new Set(r.mime);n._zod.onattach.push(l=>{l._zod.bag.mime=r.mime}),n._zod.check=l=>{i.has(l.value.type)||l.issues.push({code:"invalid_value",values:r.mime,input:l.value.type,inst:n,continue:!r.abort})}}),s0=S("$ZodCheckOverwrite",(n,r)=>{Me.init(n,r),n._zod.check=i=>{i.value=r.tx(i.value)}});class l0{constructor(r=[]){this.content=[],this.indent=0,this&&(this.args=r)}indented(r){this.indent+=1,r(this),this.indent-=1}write(r){if(typeof r=="function"){r(this,{execution:"sync"}),r(this,{execution:"async"});return}const l=r.split(`
|
|
48
|
+
`).filter(c=>c),t=Math.min(...l.map(c=>c.length-c.trimStart().length)),a=l.map(c=>c.slice(t)).map(c=>" ".repeat(this.indent*2)+c);for(const c of a)this.content.push(c)}compile(){const r=Function,i=this?.args,t=[...(this?.content??[""]).map(a=>` ${a}`)];return new r(...i,t.join(`
|
|
49
|
+
`))}}const u0={major:4,minor:4,patch:3},le=S("$ZodType",(n,r)=>{var i;n??(n={}),n._zod.def=r,n._zod.bag=n._zod.bag||{},n._zod.version=u0;const l=[...n._zod.def.checks??[]];n._zod.traits.has("$ZodCheck")&&l.unshift(n);for(const t of l)for(const a of t._zod.onattach)a(n);if(l.length===0)(i=n._zod).deferred??(i.deferred=[]),n._zod.deferred?.push(()=>{n._zod.run=n._zod.parse});else{const t=(c,p,g)=>{let h=gr(c),y;for(const k of p){if(k._zod.def.when){if(ry(c)||!k._zod.def.when(c))continue}else if(h)continue;const T=c.issues.length,P=k._zod.check(c);if(P instanceof Promise&&g?.async===!1)throw new hr;if(y||P instanceof Promise)y=(y??Promise.resolve()).then(async()=>{await P,c.issues.length!==T&&(h||(h=gr(c,T)))});else{if(c.issues.length===T)continue;h||(h=gr(c,T))}}return y?y.then(()=>c):c},a=(c,p,g)=>{if(gr(c))return c.aborted=!0,c;const h=t(p,l,g);if(h instanceof Promise){if(g.async===!1)throw new hr;return h.then(y=>n._zod.parse(y,g))}return n._zod.parse(h,g)};n._zod.run=(c,p)=>{if(p.skipChecks)return n._zod.parse(c,p);if(p.direction==="backward"){const h=n._zod.parse({value:c.value,issues:[]},{...p,skipChecks:!0});return h instanceof Promise?h.then(y=>a(y,c,p)):a(h,c,p)}const g=n._zod.parse(c,p);if(g instanceof Promise){if(p.async===!1)throw new hr;return g.then(h=>t(h,l,p))}return t(g,l,p)}}pe(n,"~standard",()=>({validate:t=>{try{const a=vd(n,t);return a.success?{value:a.data}:{issues:a.error?.issues}}catch{return ly(n,t).then(c=>c.success?{value:c.data}:{issues:c.error?.issues})}},vendor:"zod",version:1}))}),xi=S("$ZodString",(n,r)=>{le.init(n,r),n._zod.pattern=[...n?._zod.bag?.patterns??[]].pop()??Uy(n._zod.bag),n._zod.parse=(i,l)=>{if(r.coerce)try{i.value=String(i.value)}catch{}return typeof i.value=="string"||i.issues.push({expected:"string",code:"invalid_type",input:i.value,inst:n}),i}}),Ne=S("$ZodStringFormat",(n,r)=>{bi.init(n,r),xi.init(n,r)}),c0=S("$ZodGUID",(n,r)=>{r.pattern??(r.pattern=hy),Ne.init(n,r)}),d0=S("$ZodUUID",(n,r)=>{if(r.version){const l={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[r.version];if(l===void 0)throw new Error(`Invalid UUID version: "${r.version}"`);r.pattern??(r.pattern=Yr(l))}else r.pattern??(r.pattern=Yr());Ne.init(n,r)}),f0=S("$ZodEmail",(n,r)=>{r.pattern??(r.pattern=vy),Ne.init(n,r)}),p0=S("$ZodURL",(n,r)=>{Ne.init(n,r),n._zod.check=i=>{try{const l=i.value.trim();if(!r.normalize&&r.protocol?.source===zd.source&&!/^https?:\/\//i.test(l)){i.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:i.value,inst:n,continue:!r.abort});return}const t=new URL(l);r.hostname&&(r.hostname.lastIndex=0,r.hostname.test(t.hostname)||i.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:r.hostname.source,input:i.value,inst:n,continue:!r.abort})),r.protocol&&(r.protocol.lastIndex=0,r.protocol.test(t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol)||i.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:r.protocol.source,input:i.value,inst:n,continue:!r.abort})),r.normalize?i.value=t.href:i.value=l;return}catch{i.issues.push({code:"invalid_format",format:"url",input:i.value,inst:n,continue:!r.abort})}}}),m0=S("$ZodEmoji",(n,r)=>{r.pattern??(r.pattern=_y()),Ne.init(n,r)}),g0=S("$ZodNanoID",(n,r)=>{r.pattern??(r.pattern=my),Ne.init(n,r)}),h0=S("$ZodCUID",(n,r)=>{r.pattern??(r.pattern=uy),Ne.init(n,r)}),v0=S("$ZodCUID2",(n,r)=>{r.pattern??(r.pattern=cy),Ne.init(n,r)}),y0=S("$ZodULID",(n,r)=>{r.pattern??(r.pattern=dy),Ne.init(n,r)}),_0=S("$ZodXID",(n,r)=>{r.pattern??(r.pattern=fy),Ne.init(n,r)}),$0=S("$ZodKSUID",(n,r)=>{r.pattern??(r.pattern=py),Ne.init(n,r)}),k0=S("$ZodISODateTime",(n,r)=>{r.pattern??(r.pattern=Oy(r)),Ne.init(n,r)}),S0=S("$ZodISODate",(n,r)=>{r.pattern??(r.pattern=Ey),Ne.init(n,r)}),w0=S("$ZodISOTime",(n,r)=>{r.pattern??(r.pattern=Ny(r)),Ne.init(n,r)}),b0=S("$ZodISODuration",(n,r)=>{r.pattern??(r.pattern=gy),Ne.init(n,r)}),x0=S("$ZodIPv4",(n,r)=>{r.pattern??(r.pattern=$y),Ne.init(n,r),n._zod.bag.format="ipv4"}),I0=S("$ZodIPv6",(n,r)=>{r.pattern??(r.pattern=ky),Ne.init(n,r),n._zod.bag.format="ipv6",n._zod.check=i=>{try{new URL(`http://[${i.value}]`)}catch{i.issues.push({code:"invalid_format",format:"ipv6",input:i.value,inst:n,continue:!r.abort})}}}),z0=S("$ZodMAC",(n,r)=>{r.pattern??(r.pattern=Sy(r.delimiter)),Ne.init(n,r),n._zod.bag.format="mac"}),T0=S("$ZodCIDRv4",(n,r)=>{r.pattern??(r.pattern=wy),Ne.init(n,r)}),j0=S("$ZodCIDRv6",(n,r)=>{r.pattern??(r.pattern=by),Ne.init(n,r),n._zod.check=i=>{const l=i.value.split("/");try{if(l.length!==2)throw new Error;const[t,a]=l;if(!a)throw new Error;const c=Number(a);if(`${c}`!==a)throw new Error;if(c<0||c>128)throw new Error;new URL(`http://[${t}]`)}catch{i.issues.push({code:"invalid_format",format:"cidrv6",input:i.value,inst:n,continue:!r.abort})}}});function Pd(n){if(n==="")return!0;if(/\s/.test(n)||n.length%4!==0)return!1;try{return atob(n),!0}catch{return!1}}const E0=S("$ZodBase64",(n,r)=>{r.pattern??(r.pattern=xy),Ne.init(n,r),n._zod.bag.contentEncoding="base64",n._zod.check=i=>{Pd(i.value)||i.issues.push({code:"invalid_format",format:"base64",input:i.value,inst:n,continue:!r.abort})}});function P0(n){if(!Id.test(n))return!1;const r=n.replace(/[-_]/g,l=>l==="-"?"+":"/"),i=r.padEnd(Math.ceil(r.length/4)*4,"=");return Pd(i)}const N0=S("$ZodBase64URL",(n,r)=>{r.pattern??(r.pattern=Id),Ne.init(n,r),n._zod.bag.contentEncoding="base64url",n._zod.check=i=>{P0(i.value)||i.issues.push({code:"invalid_format",format:"base64url",input:i.value,inst:n,continue:!r.abort})}}),O0=S("$ZodE164",(n,r)=>{r.pattern??(r.pattern=Ty),Ne.init(n,r)});function U0(n,r=null){try{const i=n.split(".");if(i.length!==3)return!1;const[l]=i;if(!l)return!1;const t=JSON.parse(atob(l));return!("typ"in t&&t?.typ!=="JWT"||!t.alg||r&&(!("alg"in t)||t.alg!==r))}catch{return!1}}const D0=S("$ZodJWT",(n,r)=>{Ne.init(n,r),n._zod.check=i=>{U0(i.value,r.alg)||i.issues.push({code:"invalid_format",format:"jwt",input:i.value,inst:n,continue:!r.abort})}}),C0=S("$ZodCustomStringFormat",(n,r)=>{Ne.init(n,r),n._zod.check=i=>{r.fn(i.value)||i.issues.push({code:"invalid_format",format:r.format,input:i.value,inst:n,continue:!r.abort})}}),Nd=S("$ZodNumber",(n,r)=>{le.init(n,r),n._zod.pattern=n._zod.bag.pattern??Td,n._zod.parse=(i,l)=>{if(r.coerce)try{i.value=Number(i.value)}catch{}const t=i.value;if(typeof t=="number"&&!Number.isNaN(t)&&Number.isFinite(t))return i;const a=typeof t=="number"?Number.isNaN(t)?"NaN":Number.isFinite(t)?void 0:"Infinity":void 0;return i.issues.push({expected:"number",code:"invalid_type",input:t,inst:n,...a?{received:a}:{}}),i}}),R0=S("$ZodNumberFormat",(n,r)=>{Jy.init(n,r),Nd.init(n,r)}),Od=S("$ZodBoolean",(n,r)=>{le.init(n,r),n._zod.pattern=Ry,n._zod.parse=(i,l)=>{if(r.coerce)try{i.value=!!i.value}catch{}const t=i.value;return typeof t=="boolean"||i.issues.push({expected:"boolean",code:"invalid_type",input:t,inst:n}),i}}),Ud=S("$ZodBigInt",(n,r)=>{le.init(n,r),n._zod.pattern=Dy,n._zod.parse=(i,l)=>{if(r.coerce)try{i.value=BigInt(i.value)}catch{}return typeof i.value=="bigint"||i.issues.push({expected:"bigint",code:"invalid_type",input:i.value,inst:n}),i}}),L0=S("$ZodBigIntFormat",(n,r)=>{Vy.init(n,r),Ud.init(n,r)}),Z0=S("$ZodSymbol",(n,r)=>{le.init(n,r),n._zod.parse=(i,l)=>{const t=i.value;return typeof t=="symbol"||i.issues.push({expected:"symbol",code:"invalid_type",input:t,inst:n}),i}}),M0=S("$ZodUndefined",(n,r)=>{le.init(n,r),n._zod.pattern=Zy,n._zod.values=new Set([void 0]),n._zod.parse=(i,l)=>{const t=i.value;return typeof t>"u"||i.issues.push({expected:"undefined",code:"invalid_type",input:t,inst:n}),i}}),A0=S("$ZodNull",(n,r)=>{le.init(n,r),n._zod.pattern=Ly,n._zod.values=new Set([null]),n._zod.parse=(i,l)=>{const t=i.value;return t===null||i.issues.push({expected:"null",code:"invalid_type",input:t,inst:n}),i}}),F0=S("$ZodAny",(n,r)=>{le.init(n,r),n._zod.parse=i=>i}),q0=S("$ZodUnknown",(n,r)=>{le.init(n,r),n._zod.parse=i=>i}),H0=S("$ZodNever",(n,r)=>{le.init(n,r),n._zod.parse=(i,l)=>(i.issues.push({expected:"never",code:"invalid_type",input:i.value,inst:n}),i)}),J0=S("$ZodVoid",(n,r)=>{le.init(n,r),n._zod.parse=(i,l)=>{const t=i.value;return typeof t>"u"||i.issues.push({expected:"void",code:"invalid_type",input:t,inst:n}),i}}),V0=S("$ZodDate",(n,r)=>{le.init(n,r),n._zod.parse=(i,l)=>{if(r.coerce)try{i.value=new Date(i.value)}catch{}const t=i.value,a=t instanceof Date;return a&&!Number.isNaN(t.getTime())||i.issues.push({expected:"date",code:"invalid_type",input:t,...a?{received:"Invalid Date"}:{},inst:n}),i}});function cv(n,r,i){n.issues.length&&r.issues.push(...Wt(i,n.issues)),r.value[i]=n.value}const W0=S("$ZodArray",(n,r)=>{le.init(n,r),n._zod.parse=(i,l)=>{const t=i.value;if(!Array.isArray(t))return i.issues.push({expected:"array",code:"invalid_type",input:t,inst:n}),i;i.value=Array(t.length);const a=[];for(let c=0;c<t.length;c++){const p=t[c],g=r.element._zod.run({value:p,issues:[]},l);g instanceof Promise?a.push(g.then(h=>cv(h,i,c))):cv(g,i,c)}return a.length?Promise.all(a).then(()=>i):i}});function Zs(n,r,i,l,t,a){const c=i in l;if(n.issues.length){if(t&&a&&!c)return;r.issues.push(...Wt(i,n.issues))}if(!c&&!t){n.issues.length||r.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[i]});return}n.value===void 0?c&&(r.value[i]=void 0):r.value[i]=n.value}function B0(n){const r=Object.keys(n.shape);for(const l of r)if(!n.shape?.[l]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${l}": expected a Zod schema`);const i=Wv(n.shape);return{...n,keys:r,keySet:new Set(r),numKeys:r.length,optionalKeys:new Set(i)}}function K0(n,r,i,l,t,a){const c=[],p=t.keySet,g=t.catchall._zod,h=g.def.type,y=g.optin==="optional",k=g.optout==="optional";for(const T in r){if(T==="__proto__"||p.has(T))continue;if(h==="never"){c.push(T);continue}const P=g.run({value:r[T],issues:[]},l);P instanceof Promise?n.push(P.then(Z=>Zs(Z,i,T,r,y,k))):Zs(P,i,T,r,y,k)}return c.length&&i.issues.push({code:"unrecognized_keys",keys:c,input:r,inst:a}),n.length?Promise.all(n).then(()=>i):i}const G0=S("$ZodObject",(n,r)=>{if(le.init(n,r),!Object.getOwnPropertyDescriptor(r,"shape")?.get){const p=r.shape;Object.defineProperty(r,"shape",{get:()=>{const g={...p};return Object.defineProperty(r,"shape",{value:g}),g}})}const l=vi(()=>B0(r));pe(n._zod,"propValues",()=>{const p=r.shape,g={};for(const h in p){const y=p[h]._zod;if(y.values){g[h]??(g[h]=new Set);for(const k of y.values)g[h].add(k)}}return g});const t=Qr,a=r.catchall;let c;n._zod.parse=(p,g)=>{c??(c=l.value);const h=p.value;if(!t(h))return p.issues.push({expected:"object",code:"invalid_type",input:h,inst:n}),p;p.value={};const y=[],k=c.shape;for(const T of c.keys){const P=k[T],Z=P._zod.optin==="optional",B=P._zod.optout==="optional",V=P._zod.run({value:h[T],issues:[]},g);V instanceof Promise?y.push(V.then(q=>Zs(q,p,T,h,Z,B))):Zs(V,p,T,h,Z,B)}return a?K0(y,h,p,g,l.value,n):y.length?Promise.all(y).then(()=>p):p}}),Q0=S("$ZodObjectJIT",(n,r)=>{G0.init(n,r);const i=n._zod.parse,l=vi(()=>B0(r)),t=T=>{const P=new l0(["shape","payload","ctx"]),Z=l.value,B=se=>{const Y=nd(se);return`shape[${Y}]._zod.run({ value: input[${Y}], issues: [] }, ctx)`};P.write("const input = payload.value;");const V=Object.create(null);let q=0;for(const se of Z.keys)V[se]=`key_${q++}`;P.write("const newResult = {};");for(const se of Z.keys){const Y=V[se],ge=nd(se),Ye=T[se],rt=Ye?._zod?.optin==="optional",$t=Ye?._zod?.optout==="optional";P.write(`const ${Y} = ${B(se)};`),rt&&$t?P.write(`
|
|
50
|
+
if (${Y}.issues.length) {
|
|
51
|
+
if (${ge} in input) {
|
|
52
|
+
payload.issues = payload.issues.concat(${Y}.issues.map(iss => ({
|
|
14
53
|
...iss,
|
|
15
|
-
path: iss.path ? [${
|
|
54
|
+
path: iss.path ? [${ge}, ...iss.path] : [${ge}]
|
|
16
55
|
})));
|
|
17
56
|
}
|
|
18
57
|
}
|
|
19
58
|
|
|
20
|
-
if (${
|
|
21
|
-
if (${
|
|
22
|
-
newResult[${
|
|
59
|
+
if (${Y}.value === undefined) {
|
|
60
|
+
if (${ge} in input) {
|
|
61
|
+
newResult[${ge}] = undefined;
|
|
23
62
|
}
|
|
24
63
|
} else {
|
|
25
|
-
newResult[${
|
|
64
|
+
newResult[${ge}] = ${Y}.value;
|
|
26
65
|
}
|
|
27
66
|
|
|
28
|
-
`):
|
|
29
|
-
if (${
|
|
30
|
-
payload.issues = payload.issues.concat(${
|
|
67
|
+
`):rt?P.write(`
|
|
68
|
+
if (${Y}.issues.length) {
|
|
69
|
+
payload.issues = payload.issues.concat(${Y}.issues.map(iss => ({
|
|
31
70
|
...iss,
|
|
32
|
-
path: iss.path ? [${
|
|
71
|
+
path: iss.path ? [${ge}, ...iss.path] : [${ge}]
|
|
33
72
|
})));
|
|
34
73
|
}
|
|
35
74
|
|
|
36
|
-
if (${
|
|
37
|
-
if (${
|
|
38
|
-
newResult[${
|
|
75
|
+
if (${Y}.value === undefined) {
|
|
76
|
+
if (${ge} in input) {
|
|
77
|
+
newResult[${ge}] = undefined;
|
|
39
78
|
}
|
|
40
79
|
} else {
|
|
41
|
-
newResult[${
|
|
80
|
+
newResult[${ge}] = ${Y}.value;
|
|
42
81
|
}
|
|
43
82
|
|
|
44
|
-
`):
|
|
45
|
-
const ${
|
|
46
|
-
if (${
|
|
47
|
-
payload.issues = payload.issues.concat(${
|
|
83
|
+
`):P.write(`
|
|
84
|
+
const ${Y}_present = ${ge} in input;
|
|
85
|
+
if (${Y}.issues.length) {
|
|
86
|
+
payload.issues = payload.issues.concat(${Y}.issues.map(iss => ({
|
|
48
87
|
...iss,
|
|
49
|
-
path: iss.path ? [${
|
|
88
|
+
path: iss.path ? [${ge}, ...iss.path] : [${ge}]
|
|
50
89
|
})));
|
|
51
90
|
}
|
|
52
|
-
if (!${
|
|
91
|
+
if (!${Y}_present && !${Y}.issues.length) {
|
|
53
92
|
payload.issues.push({
|
|
54
93
|
code: "invalid_type",
|
|
55
94
|
expected: "nonoptional",
|
|
56
95
|
input: undefined,
|
|
57
|
-
path: [${
|
|
96
|
+
path: [${ge}]
|
|
58
97
|
});
|
|
59
98
|
}
|
|
60
99
|
|
|
61
|
-
if (${
|
|
62
|
-
if (${
|
|
63
|
-
newResult[${
|
|
100
|
+
if (${Y}_present) {
|
|
101
|
+
if (${Y}.value === undefined) {
|
|
102
|
+
newResult[${ge}] = undefined;
|
|
64
103
|
} else {
|
|
65
|
-
newResult[${
|
|
104
|
+
newResult[${ge}] = ${Y}.value;
|
|
66
105
|
}
|
|
67
106
|
}
|
|
68
107
|
|
|
69
|
-
`)}f.write("payload.value = newResult;"),f.write("return payload;");const S=f.compile();return($,P)=>S(m,$,P)};let o;const a=dn,s=!Wn.jitless,l=s&&Im.value,d=t.catchall;let p;e._zod.parse=(m,f)=>{p??(p=i.value);const h=m.value;return a(h)?s&&l&&f?.async===!1&&f.jitless!==!0?(o||(o=n(t.shape)),m=o(m,f),d?Ef([],h,m,f,p,e):m):r(m,f):(m.issues.push({expected:"object",code:"invalid_type",input:h,inst:e}),m)}});function Hu(e,t,r,i){for(const o of e)if(o.issues.length===0)return t.value=o.value,t;const n=e.filter(o=>!Mt(o));return n.length===1?(t.value=n[0].value,n[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(o=>o.issues.map(a=>tt(a,i,Ue())))}),t)}const pi=_("$ZodUnion",(e,t)=>{ae.init(e,t),me(e._zod,"optin",()=>t.options.some(i=>i._zod.optin==="optional")?"optional":void 0),me(e._zod,"optout",()=>t.options.some(i=>i._zod.optout==="optional")?"optional":void 0),me(e._zod,"values",()=>{if(t.options.every(i=>i._zod.values))return new Set(t.options.flatMap(i=>Array.from(i._zod.values)))}),me(e._zod,"pattern",()=>{if(t.options.every(i=>i._zod.pattern)){const i=t.options.map(n=>n._zod.pattern);return new RegExp(`^(${i.map(n=>ai(n.source)).join("|")})$`)}});const r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(i,n)=>{if(r)return r(i,n);let o=!1;const a=[];for(const s of t.options){const u=s._zod.run({value:i.value,issues:[]},n);if(u instanceof Promise)a.push(u),o=!0;else{if(u.issues.length===0)return u;a.push(u)}}return o?Promise.all(a).then(s=>Hu(s,i,e,n)):Hu(a,i,e,n)}});function Ju(e,t,r,i){const n=e.filter(o=>o.issues.length===0);return n.length===1?(t.value=n[0].value,t):(n.length===0?t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(o=>o.issues.map(a=>tt(a,i,Ue())))}):t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:[],inclusive:!1}),t)}const Of=_("$ZodXor",(e,t)=>{pi.init(e,t),t.inclusive=!1;const r=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(i,n)=>{if(r)return r(i,n);let o=!1;const a=[];for(const s of t.options){const u=s._zod.run({value:i.value,issues:[]},n);u instanceof Promise?(a.push(u),o=!0):a.push(u)}return o?Promise.all(a).then(s=>Ju(s,i,e,n)):Ju(a,i,e,n)}}),Af=_("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,pi.init(e,t);const r=e._zod.parse;me(e._zod,"propValues",()=>{const n={};for(const o of t.options){const 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(const[s,u]of Object.entries(a)){n[s]||(n[s]=new Set);for(const l of u)n[s].add(l)}}return n});const i=ir(()=>{const n=t.options,o=new Map;for(const a of n){const 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(const u of s){if(o.has(u))throw new Error(`Duplicate discriminator value "${String(u)}"`);o.set(u,a)}}return o});e._zod.parse=(n,o)=>{const a=n.value;if(!dn(a))return n.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),n;const s=i.value.get(a?.[t.discriminator]);return s?s._zod.run(n,o):t.unionFallback||o.direction==="backward"?r(n,o):(n.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}),n)}}),Nf=_("$ZodIntersection",(e,t)=>{ae.init(e,t),e._zod.parse=(r,i)=>{const n=r.value,o=t.left._zod.run({value:n,issues:[]},i),a=t.right._zod.run({value:n,issues:[]},i);return o instanceof Promise||a instanceof Promise?Promise.all([o,a]).then(([u,l])=>Bu(r,u,l)):Bu(r,o,a)}});function ns(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(Ht(e)&&Ht(t)){const r=Object.keys(t),i=Object.keys(e).filter(o=>r.indexOf(o)!==-1),n={...e,...t};for(const o of i){const a=ns(e[o],t[o]);if(!a.valid)return{valid:!1,mergeErrorPath:[o,...a.mergeErrorPath]};n[o]=a.data}return{valid:!0,data:n}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let i=0;i<e.length;i++){const n=e[i],o=t[i],a=ns(n,o);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};r.push(a.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function Bu(e,t,r){const i=new Map;let n;for(const s of t.issues)if(s.code==="unrecognized_keys"){n??(n=s);for(const u of s.keys)i.has(u)||i.set(u,{}),i.get(u).l=!0}else e.issues.push(s);for(const s of r.issues)if(s.code==="unrecognized_keys")for(const u of s.keys)i.has(u)||i.set(u,{}),i.get(u).r=!0;else e.issues.push(s);const o=[...i].filter(([,s])=>s.l&&s.r).map(([s])=>s);if(o.length&&n&&e.issues.push({...n,keys:o}),Mt(e))return e;const a=ns(t.value,r.value);if(!a.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(a.mergeErrorPath)}`);return e.value=a.data,e}const Ls=_("$ZodTuple",(e,t)=>{ae.init(e,t);const r=t.items;e._zod.parse=(i,n)=>{const o=i.value;if(!Array.isArray(o))return i.issues.push({input:o,inst:e,expected:"tuple",code:"invalid_type"}),i;i.value=[];const a=[],s=Vu(r,"optin"),u=Vu(r,"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>r.length&&i.issues.push({code:"too_big",maximum:r.length,inclusive:!0,input:o,inst:e,origin:"array"})}const l=new Array(r.length);for(let d=0;d<r.length;d++){const p=r[d]._zod.run({value:o[d],issues:[]},n);p instanceof Promise?a.push(p.then(m=>{l[d]=m})):l[d]=p}if(t.rest){let d=r.length-1;const p=o.slice(r.length);for(const m of p){d++;const f=t.rest._zod.run({value:m,issues:[]},n);f instanceof Promise?a.push(f.then(h=>Ku(h,i,d))):Ku(f,i,d)}}return a.length?Promise.all(a).then(()=>Wu(l,i,r,o,u)):Wu(l,i,r,o,u)}});function Vu(e,t){for(let r=e.length-1;r>=0;r--)if(e[r]._zod[t]!=="optional")return r+1;return 0}function Ku(e,t,r){e.issues.length&&t.issues.push(...at(r,e.issues)),t.value[r]=e.value}function Wu(e,t,r,i,n){for(let o=0;o<r.length;o++){const a=e[o],s=o<i.length;if(a.issues.length){if(!s&&o>=n){t.value.length=o;break}t.issues.push(...at(o,a.issues))}t.value[o]=a.value}for(let o=t.value.length-1;o>=i.length&&(r[o]._zod.optout==="optional"&&t.value[o]===void 0);o--)t.value.length=o;return t}const Uf=_("$ZodRecord",(e,t)=>{ae.init(e,t),e._zod.parse=(r,i)=>{const n=r.value;if(!Ht(n))return r.issues.push({expected:"record",code:"invalid_type",input:n,inst:e}),r;const o=[],a=t.keyType._zod.values;if(a){r.value={};const s=new Set;for(const l of a)if(typeof l=="string"||typeof l=="number"||typeof l=="symbol"){s.add(typeof l=="number"?l.toString():l);const d=t.keyType._zod.run({value:l,issues:[]},i);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(d.issues.length){r.issues.push({code:"invalid_key",origin:"record",issues:d.issues.map(f=>tt(f,i,Ue())),input:l,path:[l],inst:e});continue}const p=d.value,m=t.valueType._zod.run({value:n[l],issues:[]},i);m instanceof Promise?o.push(m.then(f=>{f.issues.length&&r.issues.push(...at(l,f.issues)),r.value[p]=f.value})):(m.issues.length&&r.issues.push(...at(l,m.issues)),r.value[p]=m.value)}let u;for(const l in n)s.has(l)||(u=u??[],u.push(l));u&&u.length>0&&r.issues.push({code:"unrecognized_keys",input:n,inst:e,keys:u})}else{r.value={};for(const s of Reflect.ownKeys(n)){if(s==="__proto__"||!Object.prototype.propertyIsEnumerable.call(n,s))continue;let u=t.keyType._zod.run({value:s,issues:[]},i);if(u instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof s=="string"&&Ds.test(s)&&u.issues.length){const 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&&(u=p)}if(u.issues.length){t.mode==="loose"?r.value[s]=n[s]:r.issues.push({code:"invalid_key",origin:"record",issues:u.issues.map(p=>tt(p,i,Ue())),input:s,path:[s],inst:e});continue}const d=t.valueType._zod.run({value:n[s],issues:[]},i);d instanceof Promise?o.push(d.then(p=>{p.issues.length&&r.issues.push(...at(s,p.issues)),r.value[u.value]=p.value})):(d.issues.length&&r.issues.push(...at(s,d.issues)),r.value[u.value]=d.value)}}return o.length?Promise.all(o).then(()=>r):r}}),Rf=_("$ZodMap",(e,t)=>{ae.init(e,t),e._zod.parse=(r,i)=>{const n=r.value;if(!(n instanceof Map))return r.issues.push({expected:"map",code:"invalid_type",input:n,inst:e}),r;const o=[];r.value=new Map;for(const[a,s]of n){const u=t.keyType._zod.run({value:a,issues:[]},i),l=t.valueType._zod.run({value:s,issues:[]},i);u instanceof Promise||l instanceof Promise?o.push(Promise.all([u,l]).then(([d,p])=>{Gu(d,p,r,a,n,e,i)})):Gu(u,l,r,a,n,e,i)}return o.length?Promise.all(o).then(()=>r):r}});function Gu(e,t,r,i,n,o,a){e.issues.length&&(Mo.has(typeof i)?r.issues.push(...at(i,e.issues)):r.issues.push({code:"invalid_key",origin:"map",input:n,inst:o,issues:e.issues.map(s=>tt(s,a,Ue()))})),t.issues.length&&(Mo.has(typeof i)?r.issues.push(...at(i,t.issues)):r.issues.push({origin:"map",code:"invalid_element",input:n,inst:o,key:i,issues:t.issues.map(s=>tt(s,a,Ue()))})),r.value.set(e.value,t.value)}const Lf=_("$ZodSet",(e,t)=>{ae.init(e,t),e._zod.parse=(r,i)=>{const n=r.value;if(!(n instanceof Set))return r.issues.push({input:n,inst:e,expected:"set",code:"invalid_type"}),r;const o=[];r.value=new Set;for(const a of n){const s=t.valueType._zod.run({value:a,issues:[]},i);s instanceof Promise?o.push(s.then(u=>Yu(u,r))):Yu(s,r)}return o.length?Promise.all(o).then(()=>r):r}});function Yu(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}const Mf=_("$ZodEnum",(e,t)=>{ae.init(e,t);const r=hs(t.entries),i=new Set(r);e._zod.values=i,e._zod.pattern=new RegExp(`^(${r.filter(n=>Mo.has(typeof n)).map(n=>typeof n=="string"?St(n):n.toString()).join("|")})$`),e._zod.parse=(n,o)=>{const a=n.value;return i.has(a)||n.issues.push({code:"invalid_value",values:r,input:a,inst:e}),n}}),Zf=_("$ZodLiteral",(e,t)=>{if(ae.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");const r=new Set(t.values);e._zod.values=r,e._zod.pattern=new RegExp(`^(${t.values.map(i=>typeof i=="string"?St(i):i?St(i.toString()):String(i)).join("|")})$`),e._zod.parse=(i,n)=>{const o=i.value;return r.has(o)||i.issues.push({code:"invalid_value",values:t.values,input:o,inst:e}),i}}),Ff=_("$ZodFile",(e,t)=>{ae.init(e,t),e._zod.parse=(r,i)=>{const n=r.value;return n instanceof File||r.issues.push({expected:"file",code:"invalid_type",input:n,inst:e}),r}}),qf=_("$ZodTransform",(e,t)=>{ae.init(e,t),e._zod.optin="optional",e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new ii(e.constructor.name);const n=t.transform(r.value,r);if(i.async)return(n instanceof Promise?n:Promise.resolve(n)).then(a=>(r.value=a,r.fallback=!0,r));if(n instanceof Promise)throw new Zt;return r.value=n,r.fallback=!0,r}});function Xu(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}const Ms=_("$ZodOptional",(e,t)=>{ae.init(e,t),e._zod.optin="optional",e._zod.optout="optional",me(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),me(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${ai(r.source)})?$`):void 0}),e._zod.parse=(r,i)=>{if(t.innerType._zod.optin==="optional"){const n=r.value,o=t.innerType._zod.run(r,i);return o instanceof Promise?o.then(a=>Xu(a,n)):Xu(o,n)}return r.value===void 0?r:t.innerType._zod.run(r,i)}}),Hf=_("$ZodExactOptional",(e,t)=>{Ms.init(e,t),me(e._zod,"values",()=>t.innerType._zod.values),me(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(r,i)=>t.innerType._zod.run(r,i)}),Jf=_("$ZodNullable",(e,t)=>{ae.init(e,t),me(e._zod,"optin",()=>t.innerType._zod.optin),me(e._zod,"optout",()=>t.innerType._zod.optout),me(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${ai(r.source)}|null)$`):void 0}),me(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,i)=>r.value===null?r:t.innerType._zod.run(r,i)}),Bf=_("$ZodDefault",(e,t)=>{ae.init(e,t),e._zod.optin="optional",me(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return t.innerType._zod.run(r,i);if(r.value===void 0)return r.value=t.defaultValue,r;const n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(o=>Qu(o,t)):Qu(n,t)}});function Qu(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const Vf=_("$ZodPrefault",(e,t)=>{ae.init(e,t),e._zod.optin="optional",me(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,i)=>(i.direction==="backward"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,i))}),Kf=_("$ZodNonOptional",(e,t)=>{ae.init(e,t),me(e._zod,"values",()=>{const r=t.innerType._zod.values;return r?new Set([...r].filter(i=>i!==void 0)):void 0}),e._zod.parse=(r,i)=>{const n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(o=>ed(o,e)):ed(n,e)}});function ed(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const Wf=_("$ZodSuccess",(e,t)=>{ae.init(e,t),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new ii("ZodSuccess");const n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(o=>(r.value=o.issues.length===0,r)):(r.value=n.issues.length===0,r)}}),Gf=_("$ZodCatch",(e,t)=>{ae.init(e,t),e._zod.optin="optional",me(e._zod,"optout",()=>t.innerType._zod.optout),me(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,i)=>{if(i.direction==="backward")return t.innerType._zod.run(r,i);const n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(o=>(r.value=o.value,o.issues.length&&(r.value=t.catchValue({...r,error:{issues:o.issues.map(a=>tt(a,i,Ue()))},input:r.value}),r.issues=[],r.fallback=!0),r)):(r.value=n.value,n.issues.length&&(r.value=t.catchValue({...r,error:{issues:n.issues.map(o=>tt(o,i,Ue()))},input:r.value}),r.issues=[],r.fallback=!0),r)}}),Yf=_("$ZodNaN",(e,t)=>{ae.init(e,t),e._zod.parse=(r,i)=>((typeof r.value!="number"||!Number.isNaN(r.value))&&r.issues.push({input:r.value,inst:e,expected:"nan",code:"invalid_type"}),r)}),Zs=_("$ZodPipe",(e,t)=>{ae.init(e,t),me(e._zod,"values",()=>t.in._zod.values),me(e._zod,"optin",()=>t.in._zod.optin),me(e._zod,"optout",()=>t.out._zod.optout),me(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,i)=>{if(i.direction==="backward"){const o=t.out._zod.run(r,i);return o instanceof Promise?o.then(a=>vo(a,t.in,i)):vo(o,t.in,i)}const n=t.in._zod.run(r,i);return n instanceof Promise?n.then(o=>vo(o,t.out,i)):vo(n,t.out,i)}});function vo(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},r)}const Fs=_("$ZodCodec",(e,t)=>{ae.init(e,t),me(e._zod,"values",()=>t.in._zod.values),me(e._zod,"optin",()=>t.in._zod.optin),me(e._zod,"optout",()=>t.out._zod.optout),me(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,i)=>{if((i.direction||"forward")==="forward"){const o=t.in._zod.run(r,i);return o instanceof Promise?o.then(a=>go(a,t,i)):go(o,t,i)}else{const o=t.out._zod.run(r,i);return o instanceof Promise?o.then(a=>go(a,t,i)):go(o,t,i)}}});function go(e,t,r){if(e.issues.length)return e.aborted=!0,e;if((r.direction||"forward")==="forward"){const n=t.transform(e.value,e);return n instanceof Promise?n.then(o=>bo(e,o,t.out,r)):bo(e,n,t.out,r)}else{const n=t.reverseTransform(e.value,e);return n instanceof Promise?n.then(o=>bo(e,o,t.in,r)):bo(e,n,t.in,r)}}function bo(e,t,r,i){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:t,issues:e.issues},i)}const Xf=_("$ZodPreprocess",(e,t)=>{Zs.init(e,t)}),Qf=_("$ZodReadonly",(e,t)=>{ae.init(e,t),me(e._zod,"propValues",()=>t.innerType._zod.propValues),me(e._zod,"values",()=>t.innerType._zod.values),me(e._zod,"optin",()=>t.innerType?._zod?.optin),me(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(r,i)=>{if(i.direction==="backward")return t.innerType._zod.run(r,i);const n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(td):td(n)}});function td(e){return e.value=Object.freeze(e.value),e}const eh=_("$ZodTemplateLiteral",(e,t)=>{ae.init(e,t);const r=[];for(const 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()}`);const n=i._zod.pattern instanceof RegExp?i._zod.pattern.source:i._zod.pattern;if(!n)throw new Error(`Invalid template literal part: ${i._zod.traits}`);const o=n.startsWith("^")?1:0,a=n.endsWith("$")?n.length-1:n.length;r.push(n.slice(o,a))}else if(i===null||zm.has(typeof i))r.push(St(`${i}`));else throw new Error(`Invalid template literal part: ${i}`);e._zod.pattern=new RegExp(`^${r.join("")}$`),e._zod.parse=(i,n)=>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)}),th=_("$ZodFunction",(e,t)=>(ae.init(e,t),e._def=t,e._zod.def=t,e.implement=r=>{if(typeof r!="function")throw new Error("implement() must be called with a function");return function(...i){const n=e._def.input?es(e._def.input,i):i,o=Reflect.apply(r,this,n);return e._def.output?es(e._def.output,o):o}},e.implementAsync=r=>{if(typeof r!="function")throw new Error("implementAsync() must be called with a function");return async function(...i){const n=e._def.input?await ts(e._def.input,i):i,o=await Reflect.apply(r,this,n);return e._def.output?await ts(e._def.output,o):o}},e._zod.parse=(r,i)=>typeof r.value!="function"?(r.issues.push({code:"invalid_type",expected:"function",input:r.value,inst:e}),r):(e._def.output&&e._def.output._zod.def.type==="promise"?r.value=e.implementAsync(r.value):r.value=e.implement(r.value),r),e.input=(...r)=>{const i=e.constructor;return Array.isArray(r[0])?new i({type:"function",input:new Ls({type:"tuple",items:r[0],rest:r[1]}),output:e._def.output}):new i({type:"function",input:r[0],output:e._def.output})},e.output=r=>{const i=e.constructor;return new i({type:"function",input:e._def.input,output:r})},e)),nh=_("$ZodPromise",(e,t)=>{ae.init(e,t),e._zod.parse=(r,i)=>Promise.resolve(r.value).then(n=>t.innerType._zod.run({value:n,issues:[]},i))}),rh=_("$ZodLazy",(e,t)=>{ae.init(e,t),me(e._zod,"innerType",()=>{const r=t;return r._cachedInner||(r._cachedInner=t.getter()),r._cachedInner}),me(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),me(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),me(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),me(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(r,i)=>e._zod.innerType._zod.run(r,i)}),oh=_("$ZodCustom",(e,t)=>{Ee.init(e,t),ae.init(e,t),e._zod.parse=(r,i)=>r,e._zod.check=r=>{const i=r.value,n=t.fn(i);if(n instanceof Promise)return n.then(o=>nd(o,r,i,e));nd(n,r,i,e)}});function nd(e,t,r,i){if(!e){const n={code:"custom",input:r,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(n.params=i._zod.def.params),t.issues.push(mn(n))}}const D_=()=>{const e={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function t(n){return e[n]??null}const r={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`مدخلات غير مقبولة: يفترض إدخال instanceof ${n.expected}، ولكن تم إدخال ${s}`:`مدخلات غير مقبولة: يفترض إدخال ${o}، ولكن تم إدخال ${s}`}case"invalid_value":return n.values.length===1?`مدخلات غير مقبولة: يفترض إدخال ${X(n.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?` أكبر من اللازم: يفترض أن تكون ${n.origin??"القيمة"} ${o} ${n.maximum.toString()} ${a.unit??"عنصر"}`:`أكبر من اللازم: يفترض أن تكون ${n.origin??"القيمة"} ${o} ${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`أصغر من اللازم: يفترض لـ ${n.origin} أن يكون ${o} ${n.minimum.toString()} ${a.unit}`:`أصغر من اللازم: يفترض لـ ${n.origin} أن يكون ${o} ${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`نَص غير مقبول: يجب أن يبدأ بـ "${n.prefix}"`:o.format==="ends_with"?`نَص غير مقبول: يجب أن ينتهي بـ "${o.suffix}"`:o.format==="includes"?`نَص غير مقبول: يجب أن يتضمَّن "${o.includes}"`:o.format==="regex"?`نَص غير مقبول: يجب أن يطابق النمط ${o.pattern}`:`${r[o.format]??n.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${n.divisor}`;case"unrecognized_keys":return`معرف${n.keys.length>1?"ات":""} غريب${n.keys.length>1?"ة":""}: ${O(n.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${n.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${n.origin}`;default:return"مدخل غير مقبول"}}};function C_(){return{localeError:D_()}}const O_=()=>{const e={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function t(n){return e[n]??null}const r={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 n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Yanlış dəyər: gözlənilən instanceof ${n.expected}, daxil olan ${s}`:`Yanlış dəyər: gözlənilən ${o}, daxil olan ${s}`}case"invalid_value":return n.values.length===1?`Yanlış dəyər: gözlənilən ${X(n.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Çox böyük: gözlənilən ${n.origin??"dəyər"} ${o}${n.maximum.toString()} ${a.unit??"element"}`:`Çox böyük: gözlənilən ${n.origin??"dəyər"} ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Çox kiçik: gözlənilən ${n.origin} ${o}${n.minimum.toString()} ${a.unit}`:`Çox kiçik: gözlənilən ${n.origin} ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Yanlış mətn: "${o.prefix}" ilə başlamalıdır`:o.format==="ends_with"?`Yanlış mətn: "${o.suffix}" ilə bitməlidir`:o.format==="includes"?`Yanlış mətn: "${o.includes}" daxil olmalıdır`:o.format==="regex"?`Yanlış mətn: ${o.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${r[o.format]??n.format}`}case"not_multiple_of":return`Yanlış ədəd: ${n.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${n.keys.length>1?"lar":""}: ${O(n.keys,", ")}`;case"invalid_key":return`${n.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${n.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function A_(){return{localeError:O_()}}function rd(e,t,r,i){const n=Math.abs(e),o=n%10,a=n%100;return a>=11&&a<=19?i:o===1?t:o>=2&&o<=4?r:i}const N_=()=>{const e={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function t(n){return e[n]??null}const r={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"},i={nan:"NaN",number:"лік",array:"масіў"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Няправільны ўвод: чакаўся instanceof ${n.expected}, атрымана ${s}`:`Няправільны ўвод: чакаўся ${o}, атрымана ${s}`}case"invalid_value":return n.values.length===1?`Няправільны ўвод: чакалася ${X(n.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);if(a){const s=Number(n.maximum),u=rd(s,a.unit.one,a.unit.few,a.unit.many);return`Занадта вялікі: чакалася, што ${n.origin??"значэнне"} павінна ${a.verb} ${o}${n.maximum.toString()} ${u}`}return`Занадта вялікі: чакалася, што ${n.origin??"значэнне"} павінна быць ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);if(a){const s=Number(n.minimum),u=rd(s,a.unit.one,a.unit.few,a.unit.many);return`Занадта малы: чакалася, што ${n.origin} павінна ${a.verb} ${o}${n.minimum.toString()} ${u}`}return`Занадта малы: чакалася, што ${n.origin} павінна быць ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Няправільны радок: павінен пачынацца з "${o.prefix}"`:o.format==="ends_with"?`Няправільны радок: павінен заканчвацца на "${o.suffix}"`:o.format==="includes"?`Няправільны радок: павінен змяшчаць "${o.includes}"`:o.format==="regex"?`Няправільны радок: павінен адпавядаць шаблону ${o.pattern}`:`Няправільны ${r[o.format]??n.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${n.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${n.keys.length>1?"ключы":"ключ"}: ${O(n.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${n.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${n.origin}`;default:return"Няправільны ўвод"}}};function U_(){return{localeError:N_()}}const R_=()=>{const e={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function t(n){return e[n]??null}const r={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",jwt:"JWT",template_literal:"вход"},i={nan:"NaN",number:"число",array:"масив"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Невалиден вход: очакван instanceof ${n.expected}, получен ${s}`:`Невалиден вход: очакван ${o}, получен ${s}`}case"invalid_value":return n.values.length===1?`Невалиден вход: очакван ${X(n.values[0])}`:`Невалидна опция: очаквано едно от ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Твърде голямо: очаква се ${n.origin??"стойност"} да съдържа ${o}${n.maximum.toString()} ${a.unit??"елемента"}`:`Твърде голямо: очаква се ${n.origin??"стойност"} да бъде ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Твърде малко: очаква се ${n.origin} да съдържа ${o}${n.minimum.toString()} ${a.unit}`:`Твърде малко: очаква се ${n.origin} да бъде ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;if(o.format==="starts_with")return`Невалиден низ: трябва да започва с "${o.prefix}"`;if(o.format==="ends_with")return`Невалиден низ: трябва да завършва с "${o.suffix}"`;if(o.format==="includes")return`Невалиден низ: трябва да включва "${o.includes}"`;if(o.format==="regex")return`Невалиден низ: трябва да съвпада с ${o.pattern}`;let a="Невалиден";return o.format==="emoji"&&(a="Невалидно"),o.format==="datetime"&&(a="Невалидно"),o.format==="date"&&(a="Невалидна"),o.format==="time"&&(a="Невалидно"),o.format==="duration"&&(a="Невалидна"),`${a} ${r[o.format]??n.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${n.divisor}`;case"unrecognized_keys":return`Неразпознат${n.keys.length>1?"и":""} ключ${n.keys.length>1?"ове":""}: ${O(n.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${n.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${n.origin}`;default:return"Невалиден вход"}}};function L_(){return{localeError:R_()}}const M_=()=>{const e={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function t(n){return e[n]??null}const r={regex:"entrada",email:"adreça electrònica",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ça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Tipus invàlid: s'esperava instanceof ${n.expected}, s'ha rebut ${s}`:`Tipus invàlid: s'esperava ${o}, s'ha rebut ${s}`}case"invalid_value":return n.values.length===1?`Valor invàlid: s'esperava ${X(n.values[0])}`:`Opció invàlida: s'esperava una de ${O(n.values," o ")}`;case"too_big":{const o=n.inclusive?"com a màxim":"menys de",a=t(n.origin);return a?`Massa gran: s'esperava que ${n.origin??"el valor"} contingués ${o} ${n.maximum.toString()} ${a.unit??"elements"}`:`Massa gran: s'esperava que ${n.origin??"el valor"} fos ${o} ${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?"com a mínim":"més de",a=t(n.origin);return a?`Massa petit: s'esperava que ${n.origin} contingués ${o} ${n.minimum.toString()} ${a.unit}`:`Massa petit: s'esperava que ${n.origin} fos ${o} ${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Format invàlid: ha de començar amb "${o.prefix}"`:o.format==="ends_with"?`Format invàlid: ha d'acabar amb "${o.suffix}"`:o.format==="includes"?`Format invàlid: ha d'incloure "${o.includes}"`:o.format==="regex"?`Format invàlid: ha de coincidir amb el patró ${o.pattern}`:`Format invàlid per a ${r[o.format]??n.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${n.divisor}`;case"unrecognized_keys":return`Clau${n.keys.length>1?"s":""} no reconeguda${n.keys.length>1?"s":""}: ${O(n.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${n.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${n.origin}`;default:return"Entrada invàlida"}}};function Z_(){return{localeError:M_()}}const F_=()=>{const e={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function t(n){return e[n]??null}const r={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"},i={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Neplatný vstup: očekáváno instanceof ${n.expected}, obdrženo ${s}`:`Neplatný vstup: očekáváno ${o}, obdrženo ${s}`}case"invalid_value":return n.values.length===1?`Neplatný vstup: očekáváno ${X(n.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Hodnota je příliš velká: ${n.origin??"hodnota"} musí mít ${o}${n.maximum.toString()} ${a.unit??"prvků"}`:`Hodnota je příliš velká: ${n.origin??"hodnota"} musí být ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Hodnota je příliš malá: ${n.origin??"hodnota"} musí mít ${o}${n.minimum.toString()} ${a.unit??"prvků"}`:`Hodnota je příliš malá: ${n.origin??"hodnota"} musí být ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Neplatný řetězec: musí začínat na "${o.prefix}"`:o.format==="ends_with"?`Neplatný řetězec: musí končit na "${o.suffix}"`:o.format==="includes"?`Neplatný řetězec: musí obsahovat "${o.includes}"`:o.format==="regex"?`Neplatný řetězec: musí odpovídat vzoru ${o.pattern}`:`Neplatný formát ${r[o.format]??n.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${n.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${O(n.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${n.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${n.origin}`;default:return"Neplatný vstup"}}};function q_(){return{localeError:F_()}}const H_=()=>{const e={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function t(n){return e[n]??null}const r={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æt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-område",ipv6:"IPv6-område",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æt",file:"fil"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Ugyldigt input: forventede instanceof ${n.expected}, fik ${s}`:`Ugyldigt input: forventede ${o}, fik ${s}`}case"invalid_value":return n.values.length===1?`Ugyldig værdi: forventede ${X(n.values[0])}`:`Ugyldigt valg: forventede en af følgende ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin),s=i[n.origin]??n.origin;return a?`For stor: forventede ${s??"value"} ${a.verb} ${o} ${n.maximum.toString()} ${a.unit??"elementer"}`:`For stor: forventede ${s??"value"} havde ${o} ${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin),s=i[n.origin]??n.origin;return a?`For lille: forventede ${s} ${a.verb} ${o} ${n.minimum.toString()} ${a.unit}`:`For lille: forventede ${s} havde ${o} ${n.minimum.toString()}`}case"invalid_format":{const o=n;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ønsteret ${o.pattern}`:`Ugyldig ${r[o.format]??n.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${O(n.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${n.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${n.origin}`;default:return"Ugyldigt input"}}};function J_(){return{localeError:H_()}}const B_=()=>{const 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(n){return e[n]??null}const r={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 n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Ungültige Eingabe: erwartet instanceof ${n.expected}, erhalten ${s}`:`Ungültige Eingabe: erwartet ${o}, erhalten ${s}`}case"invalid_value":return n.values.length===1?`Ungültige Eingabe: erwartet ${X(n.values[0])}`:`Ungültige Option: erwartet eine von ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Zu groß: erwartet, dass ${n.origin??"Wert"} ${o}${n.maximum.toString()} ${a.unit??"Elemente"} hat`:`Zu groß: erwartet, dass ${n.origin??"Wert"} ${o}${n.maximum.toString()} ist`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Zu klein: erwartet, dass ${n.origin} ${o}${n.minimum.toString()} ${a.unit} hat`:`Zu klein: erwartet, dass ${n.origin} ${o}${n.minimum.toString()} ist`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Ungültiger String: muss mit "${o.prefix}" beginnen`:o.format==="ends_with"?`Ungültiger String: muss mit "${o.suffix}" enden`:o.format==="includes"?`Ungültiger String: muss "${o.includes}" enthalten`:o.format==="regex"?`Ungültiger String: muss dem Muster ${o.pattern} entsprechen`:`Ungültig: ${r[o.format]??n.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${n.divisor} sein`;case"unrecognized_keys":return`${n.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${O(n.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${n.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${n.origin}`;default:return"Ungültige Eingabe"}}};function V_(){return{localeError:B_()}}const K_=()=>{const e={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function t(n){return e[n]??null}const r={regex:"είσοδος",email:"διεύθυνση email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ημερομηνία και ώρα",date:"ISO ημερομηνία",time:"ISO ώρα",duration:"ISO διάρκεια",ipv4:"διεύθυνση IPv4",ipv6:"διεύθυνση IPv6",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",jwt:"JWT",template_literal:"είσοδος"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return typeof n.expected=="string"&&/^[A-Z]/.test(n.expected)?`Μη έγκυρη είσοδος: αναμενόταν instanceof ${n.expected}, λήφθηκε ${s}`:`Μη έγκυρη είσοδος: αναμενόταν ${o}, λήφθηκε ${s}`}case"invalid_value":return n.values.length===1?`Μη έγκυρη είσοδος: αναμενόταν ${X(n.values[0])}`:`Μη έγκυρη επιλογή: αναμενόταν ένα από ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Πολύ μεγάλο: αναμενόταν ${n.origin??"τιμή"} να έχει ${o}${n.maximum.toString()} ${a.unit??"στοιχεία"}`:`Πολύ μεγάλο: αναμενόταν ${n.origin??"τιμή"} να είναι ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Πολύ μικρό: αναμενόταν ${n.origin} να έχει ${o}${n.minimum.toString()} ${a.unit}`:`Πολύ μικρό: αναμενόταν ${n.origin} να είναι ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${o.prefix}"`:o.format==="ends_with"?`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${o.suffix}"`:o.format==="includes"?`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${o.includes}"`:o.format==="regex"?`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${o.pattern}`:`Μη έγκυρο: ${r[o.format]??n.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${n.divisor}`;case"unrecognized_keys":return`Άγνωστ${n.keys.length>1?"α":"ο"} κλειδ${n.keys.length>1?"ιά":"ί"}: ${O(n.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${n.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${n.origin}`;default:return"Μη έγκυρη είσοδος"}}};function W_(){return{localeError:K_()}}const G_=()=>{const 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(n){return e[n]??null}const r={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 n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return`Invalid input: expected ${o}, received ${s}`}case"invalid_value":return n.values.length===1?`Invalid input: expected ${X(n.values[0])}`:`Invalid option: expected one of ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Too big: expected ${n.origin??"value"} to have ${o}${n.maximum.toString()} ${a.unit??"elements"}`:`Too big: expected ${n.origin??"value"} to be ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Too small: expected ${n.origin} to have ${o}${n.minimum.toString()} ${a.unit}`:`Too small: expected ${n.origin} to be ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;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 ${r[o.format]??n.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${n.divisor}`;case"unrecognized_keys":return`Unrecognized key${n.keys.length>1?"s":""}: ${O(n.keys,", ")}`;case"invalid_key":return`Invalid key in ${n.origin}`;case"invalid_union":return n.options&&Array.isArray(n.options)&&n.options.length>0?`Invalid discriminator value. Expected ${n.options.map(a=>`'${a}'`).join(" | ")}`:"Invalid input";case"invalid_element":return`Invalid value in ${n.origin}`;default:return"Invalid input"}}};function ih(){return{localeError:G_()}}const Y_=()=>{const e={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function t(n){return e[n]??null}const r={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},i={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Nevalida enigo: atendiĝis instanceof ${n.expected}, riceviĝis ${s}`:`Nevalida enigo: atendiĝis ${o}, riceviĝis ${s}`}case"invalid_value":return n.values.length===1?`Nevalida enigo: atendiĝis ${X(n.values[0])}`:`Nevalida opcio: atendiĝis unu el ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Tro granda: atendiĝis ke ${n.origin??"valoro"} havu ${o}${n.maximum.toString()} ${a.unit??"elementojn"}`:`Tro granda: atendiĝis ke ${n.origin??"valoro"} havu ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Tro malgranda: atendiĝis ke ${n.origin} havu ${o}${n.minimum.toString()} ${a.unit}`:`Tro malgranda: atendiĝis ke ${n.origin} estu ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Nevalida karaktraro: devas komenciĝi per "${o.prefix}"`:o.format==="ends_with"?`Nevalida karaktraro: devas finiĝi 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 ${r[o.format]??n.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${n.divisor}`;case"unrecognized_keys":return`Nekonata${n.keys.length>1?"j":""} ŝlosilo${n.keys.length>1?"j":""}: ${O(n.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${n.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${n.origin}`;default:return"Nevalida enigo"}}};function X_(){return{localeError:Y_()}}const Q_=()=>{const e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(n){return e[n]??null}const r={regex:"entrada",email:"dirección de correo electrónico",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ón ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Entrada inválida: se esperaba instanceof ${n.expected}, recibido ${s}`:`Entrada inválida: se esperaba ${o}, recibido ${s}`}case"invalid_value":return n.values.length===1?`Entrada inválida: se esperaba ${X(n.values[0])}`:`Opción inválida: se esperaba una de ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin),s=i[n.origin]??n.origin;return a?`Demasiado grande: se esperaba que ${s??"valor"} tuviera ${o}${n.maximum.toString()} ${a.unit??"elementos"}`:`Demasiado grande: se esperaba que ${s??"valor"} fuera ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin),s=i[n.origin]??n.origin;return a?`Demasiado pequeño: se esperaba que ${s} tuviera ${o}${n.minimum.toString()} ${a.unit}`:`Demasiado pequeño: se esperaba que ${s} fuera ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Cadena inválida: debe comenzar con "${o.prefix}"`:o.format==="ends_with"?`Cadena inválida: debe terminar en "${o.suffix}"`:o.format==="includes"?`Cadena inválida: debe incluir "${o.includes}"`:o.format==="regex"?`Cadena inválida: debe coincidir con el patrón ${o.pattern}`:`Inválido ${r[o.format]??n.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${n.divisor}`;case"unrecognized_keys":return`Llave${n.keys.length>1?"s":""} desconocida${n.keys.length>1?"s":""}: ${O(n.keys,", ")}`;case"invalid_key":return`Llave inválida en ${i[n.origin]??n.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${i[n.origin]??n.origin}`;default:return"Entrada inválida"}}};function ey(){return{localeError:Q_()}}const ty=()=>{const e={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function t(n){return e[n]??null}const r={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"},i={nan:"NaN",number:"عدد",array:"آرایه"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`ورودی نامعتبر: میبایست instanceof ${n.expected} میبود، ${s} دریافت شد`:`ورودی نامعتبر: میبایست ${o} میبود، ${s} دریافت شد`}case"invalid_value":return n.values.length===1?`ورودی نامعتبر: میبایست ${X(n.values[0])} میبود`:`گزینه نامعتبر: میبایست یکی از ${O(n.values,"|")} میبود`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`خیلی بزرگ: ${n.origin??"مقدار"} باید ${o}${n.maximum.toString()} ${a.unit??"عنصر"} باشد`:`خیلی بزرگ: ${n.origin??"مقدار"} باید ${o}${n.maximum.toString()} باشد`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`خیلی کوچک: ${n.origin} باید ${o}${n.minimum.toString()} ${a.unit} باشد`:`خیلی کوچک: ${n.origin} باید ${o}${n.minimum.toString()} باشد`}case"invalid_format":{const o=n;return o.format==="starts_with"?`رشته نامعتبر: باید با "${o.prefix}" شروع شود`:o.format==="ends_with"?`رشته نامعتبر: باید با "${o.suffix}" تمام شود`:o.format==="includes"?`رشته نامعتبر: باید شامل "${o.includes}" باشد`:o.format==="regex"?`رشته نامعتبر: باید با الگوی ${o.pattern} مطابقت داشته باشد`:`${r[o.format]??n.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${n.divisor} باشد`;case"unrecognized_keys":return`کلید${n.keys.length>1?"های":""} ناشناس: ${O(n.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${n.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${n.origin}`;default:return"ورودی نامعتبر"}}};function ny(){return{localeError:ty()}}const ry=()=>{const e={string:{unit:"merkkiä",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äivämäärän"}};function t(n){return e[n]??null}const r={regex:"säännöllinen lauseke",email:"sähköpostiosoite",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äivämäärä",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 n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Virheellinen tyyppi: odotettiin instanceof ${n.expected}, oli ${s}`:`Virheellinen tyyppi: odotettiin ${o}, oli ${s}`}case"invalid_value":return n.values.length===1?`Virheellinen syöte: täytyy olla ${X(n.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Liian suuri: ${a.subject} täytyy olla ${o}${n.maximum.toString()} ${a.unit}`.trim():`Liian suuri: arvon täytyy olla ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Liian pieni: ${a.subject} täytyy olla ${o}${n.minimum.toString()} ${a.unit}`.trim():`Liian pieni: arvon täytyy olla ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Virheellinen syöte: täytyy alkaa "${o.prefix}"`:o.format==="ends_with"?`Virheellinen syöte: täytyy loppua "${o.suffix}"`:o.format==="includes"?`Virheellinen syöte: täytyy sisältää "${o.includes}"`:o.format==="regex"?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${o.pattern}`:`Virheellinen ${r[o.format]??n.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${n.divisor} monikerta`;case"unrecognized_keys":return`${n.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${O(n.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen syöte"}}};function oy(){return{localeError:ry()}}const iy=()=>{const e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function t(n){return e[n]??null}const r={regex:"entrée",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ée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},i={string:"chaîne",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",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 n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Entrée invalide : instanceof ${n.expected} attendu, ${s} reçu`:`Entrée invalide : ${o} attendu, ${s} reçu`}case"invalid_value":return n.values.length===1?`Entrée invalide : ${X(n.values[0])} attendu`:`Option invalide : une valeur parmi ${O(n.values,"|")} attendue`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Trop grand : ${i[n.origin]??"valeur"} doit ${a.verb} ${o}${n.maximum.toString()} ${a.unit??"élément(s)"}`:`Trop grand : ${i[n.origin]??"valeur"} doit être ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Trop petit : ${i[n.origin]??"valeur"} doit ${a.verb} ${o}${n.minimum.toString()} ${a.unit}`:`Trop petit : ${i[n.origin]??"valeur"} doit être ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Chaîne invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Chaîne invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Chaîne invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Chaîne invalide : doit correspondre au modèle ${o.pattern}`:`${r[o.format]??n.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${n.divisor}`;case"unrecognized_keys":return`Clé${n.keys.length>1?"s":""} non reconnue${n.keys.length>1?"s":""} : ${O(n.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${n.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${n.origin}`;default:return"Entrée invalide"}}};function ay(){return{localeError:iy()}}const sy=()=>{const e={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function t(n){return e[n]??null}const r={regex:"entrée",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ée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Entrée invalide : attendu instanceof ${n.expected}, reçu ${s}`:`Entrée invalide : attendu ${o}, reçu ${s}`}case"invalid_value":return n.values.length===1?`Entrée invalide : attendu ${X(n.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"≤":"<",a=t(n.origin);return a?`Trop grand : attendu que ${n.origin??"la valeur"} ait ${o}${n.maximum.toString()} ${a.unit}`:`Trop grand : attendu que ${n.origin??"la valeur"} soit ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?"≥":">",a=t(n.origin);return a?`Trop petit : attendu que ${n.origin} ait ${o}${n.minimum.toString()} ${a.unit}`:`Trop petit : attendu que ${n.origin} soit ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Chaîne invalide : doit commencer par "${o.prefix}"`:o.format==="ends_with"?`Chaîne invalide : doit se terminer par "${o.suffix}"`:o.format==="includes"?`Chaîne invalide : doit inclure "${o.includes}"`:o.format==="regex"?`Chaîne invalide : doit correspondre au motif ${o.pattern}`:`${r[o.format]??n.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${n.divisor}`;case"unrecognized_keys":return`Clé${n.keys.length>1?"s":""} non reconnue${n.keys.length>1?"s":""} : ${O(n.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${n.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${n.origin}`;default:return"Entrée invalide"}}};function cy(){return{localeError:sy()}}const ly=()=>{const e={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},t={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},r=l=>l?e[l]:void 0,i=l=>{const d=r(l);return d?d.label:l??e.unknown.label},n=l=>`ה${i(l)}`,o=l=>(r(l)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות",a=l=>l?t[l]??null:null,s={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},u={nan:"NaN"};return l=>{switch(l.code){case"invalid_type":{const d=l.expected,p=u[d??""]??i(d),m=te(l.input),f=u[m]??e[m]?.label??m;return/^[A-Z]/.test(l.expected)?`קלט לא תקין: צריך להיות instanceof ${l.expected}, התקבל ${f}`:`קלט לא תקין: צריך להיות ${p}, התקבל ${f}`}case"invalid_value":{if(l.values.length===1)return`ערך לא תקין: הערך חייב להיות ${X(l.values[0])}`;const d=l.values.map(f=>X(f));if(l.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${d[0]} או ${d[1]}`;const p=d[d.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${d.slice(0,-1).join(", ")} או ${p}`}case"too_big":{const d=a(l.origin),p=n(l.origin??"value");if(l.origin==="string")return`${d?.longLabel??"ארוך"} מדי: ${p} צריכה להכיל ${l.maximum.toString()} ${d?.unit??""} ${l.inclusive?"או פחות":"לכל היותר"}`.trim();if(l.origin==="number"){const h=l.inclusive?`קטן או שווה ל-${l.maximum}`:`קטן מ-${l.maximum}`;return`גדול מדי: ${p} צריך להיות ${h}`}if(l.origin==="array"||l.origin==="set"){const h=l.origin==="set"?"צריכה":"צריך",g=l.inclusive?`${l.maximum} ${d?.unit??""} או פחות`:`פחות מ-${l.maximum} ${d?.unit??""}`;return`גדול מדי: ${p} ${h} להכיל ${g}`.trim()}const m=l.inclusive?"<=":"<",f=o(l.origin??"value");return d?.unit?`${d.longLabel} מדי: ${p} ${f} ${m}${l.maximum.toString()} ${d.unit}`:`${d?.longLabel??"גדול"} מדי: ${p} ${f} ${m}${l.maximum.toString()}`}case"too_small":{const d=a(l.origin),p=n(l.origin??"value");if(l.origin==="string")return`${d?.shortLabel??"קצר"} מדי: ${p} צריכה להכיל ${l.minimum.toString()} ${d?.unit??""} ${l.inclusive?"או יותר":"לפחות"}`.trim();if(l.origin==="number"){const h=l.inclusive?`גדול או שווה ל-${l.minimum}`:`גדול מ-${l.minimum}`;return`קטן מדי: ${p} צריך להיות ${h}`}if(l.origin==="array"||l.origin==="set"){const h=l.origin==="set"?"צריכה":"צריך";if(l.minimum===1&&l.inclusive){const v=(l.origin==="set","לפחות פריט אחד");return`קטן מדי: ${p} ${h} להכיל ${v}`}const g=l.inclusive?`${l.minimum} ${d?.unit??""} או יותר`:`יותר מ-${l.minimum} ${d?.unit??""}`;return`קטן מדי: ${p} ${h} להכיל ${g}`.trim()}const m=l.inclusive?">=":">",f=o(l.origin??"value");return d?.unit?`${d.shortLabel} מדי: ${p} ${f} ${m}${l.minimum.toString()} ${d.unit}`:`${d?.shortLabel??"קטן"} מדי: ${p} ${f} ${m}${l.minimum.toString()}`}case"invalid_format":{const d=l;if(d.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${d.prefix}"`;if(d.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${d.suffix}"`;if(d.format==="includes")return`המחרוזת חייבת לכלול "${d.includes}"`;if(d.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${d.pattern}`;const p=s[d.format],m=p?.label??d.format,h=(p?.gender??"m")==="f"?"תקינה":"תקין";return`${m} לא ${h}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${l.divisor}`;case"unrecognized_keys":return`מפתח${l.keys.length>1?"ות":""} לא מזוה${l.keys.length>1?"ים":"ה"}: ${O(l.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${n(l.origin??"array")}`;default:return"קלט לא תקין"}}};function uy(){return{localeError:ly()}}const dy=()=>{const e={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function t(n){return e[n]??null}const r={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 n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Neispravan unos: očekuje se instanceof ${n.expected}, a primljeno je ${s}`:`Neispravan unos: očekuje se ${o}, a primljeno je ${s}`}case"invalid_value":return n.values.length===1?`Neispravna vrijednost: očekivano ${X(n.values[0])}`:`Neispravna opcija: očekivano jedno od ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin),s=i[n.origin]??n.origin;return a?`Preveliko: očekivano da ${s??"vrijednost"} ima ${o}${n.maximum.toString()} ${a.unit??"elemenata"}`:`Preveliko: očekivano da ${s??"vrijednost"} bude ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin),s=i[n.origin]??n.origin;return a?`Premalo: očekivano da ${s} ima ${o}${n.minimum.toString()} ${a.unit}`:`Premalo: očekivano da ${s} bude ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Neispravan tekst: mora započinjati s "${o.prefix}"`:o.format==="ends_with"?`Neispravan tekst: mora završavati s "${o.suffix}"`:o.format==="includes"?`Neispravan tekst: mora sadržavati "${o.includes}"`:o.format==="regex"?`Neispravan tekst: mora odgovarati uzorku ${o.pattern}`:`Neispravna ${r[o.format]??n.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${n.divisor}`;case"unrecognized_keys":return`Neprepoznat${n.keys.length>1?"i ključevi":" ključ"}: ${O(n.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${i[n.origin]??n.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${i[n.origin]??n.origin}`;default:return"Neispravan unos"}}};function my(){return{localeError:dy()}}const py=()=>{const e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function t(n){return e[n]??null}const r={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"},i={nan:"NaN",number:"szám",array:"tömb"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Érvénytelen bemenet: a várt érték instanceof ${n.expected}, a kapott érték ${s}`:`Érvénytelen bemenet: a várt érték ${o}, a kapott érték ${s}`}case"invalid_value":return n.values.length===1?`Érvénytelen bemenet: a várt érték ${X(n.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Túl nagy: ${n.origin??"érték"} mérete túl nagy ${o}${n.maximum.toString()} ${a.unit??"elem"}`:`Túl nagy: a bemeneti érték ${n.origin??"érték"} túl nagy: ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Túl kicsi: a bemeneti érték ${n.origin} mérete túl kicsi ${o}${n.minimum.toString()} ${a.unit}`:`Túl kicsi: a bemeneti érték ${n.origin} túl kicsi ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Érvénytelen string: "${o.prefix}" értékkel kell kezdődnie`:o.format==="ends_with"?`Érvénytelen string: "${o.suffix}" értékkel kell végződnie`:o.format==="includes"?`Érvénytelen string: "${o.includes}" értéket kell tartalmaznia`:o.format==="regex"?`Érvénytelen string: ${o.pattern} mintának kell megfelelnie`:`Érvénytelen ${r[o.format]??n.format}`}case"not_multiple_of":return`Érvénytelen szám: ${n.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${n.keys.length>1?"s":""}: ${O(n.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${n.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${n.origin}`;default:return"Érvénytelen bemenet"}}};function fy(){return{localeError:py()}}function od(e,t,r){return Math.abs(e)===1?t:r}function on(e){if(!e)return"";const t=["ա","ե","ը","ի","ո","ու","օ"],r=e[e.length-1];return e+(t.includes(r)?"ն":"ը")}const hy=()=>{const e={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function t(n){return e[n]??null}const r={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",jwt:"JWT",template_literal:"մուտք"},i={nan:"NaN",number:"թիվ",array:"զանգված"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Սխալ մուտքագրում․ սպասվում էր instanceof ${n.expected}, ստացվել է ${s}`:`Սխալ մուտքագրում․ սպասվում էր ${o}, ստացվել է ${s}`}case"invalid_value":return n.values.length===1?`Սխալ մուտքագրում․ սպասվում էր ${X(n.values[1])}`:`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);if(a){const s=Number(n.maximum),u=od(s,a.unit.one,a.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${on(n.origin??"արժեք")} կունենա ${o}${n.maximum.toString()} ${u}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${on(n.origin??"արժեք")} լինի ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);if(a){const s=Number(n.minimum),u=od(s,a.unit.one,a.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${on(n.origin)} կունենա ${o}${n.minimum.toString()} ${u}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${on(n.origin)} լինի ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Սխալ տող․ պետք է սկսվի "${o.prefix}"-ով`:o.format==="ends_with"?`Սխալ տող․ պետք է ավարտվի "${o.suffix}"-ով`:o.format==="includes"?`Սխալ տող․ պետք է պարունակի "${o.includes}"`:o.format==="regex"?`Սխալ տող․ պետք է համապատասխանի ${o.pattern} ձևաչափին`:`Սխալ ${r[o.format]??n.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${n.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${n.keys.length>1?"ներ":""}. ${O(n.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${on(n.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${on(n.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function vy(){return{localeError:hy()}}const gy=()=>{const e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function t(n){return e[n]??null}const r={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 n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Input tidak valid: diharapkan instanceof ${n.expected}, diterima ${s}`:`Input tidak valid: diharapkan ${o}, diterima ${s}`}case"invalid_value":return n.values.length===1?`Input tidak valid: diharapkan ${X(n.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Terlalu besar: diharapkan ${n.origin??"value"} memiliki ${o}${n.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: diharapkan ${n.origin??"value"} menjadi ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Terlalu kecil: diharapkan ${n.origin} memiliki ${o}${n.minimum.toString()} ${a.unit}`:`Terlalu kecil: diharapkan ${n.origin} menjadi ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;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}`:`${r[o.format]??n.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${n.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${n.keys.length>1?"s":""}: ${O(n.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${n.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${n.origin}`;default:return"Input tidak valid"}}};function by(){return{localeError:gy()}}const _y=()=>{const e={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function t(n){return e[n]??null}const r={regex:"gildi",email:"netfang",url:"vefslóð",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ími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",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ölugildi",jwt:"JWT",template_literal:"gildi"},i={nan:"NaN",number:"númer",array:"fylki"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Rangt gildi: Þú slóst inn ${s} þar sem á að vera instanceof ${n.expected}`:`Rangt gildi: Þú slóst inn ${s} þar sem á að vera ${o}`}case"invalid_value":return n.values.length===1?`Rangt gildi: gert ráð fyrir ${X(n.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Of stórt: gert er ráð fyrir að ${n.origin??"gildi"} hafi ${o}${n.maximum.toString()} ${a.unit??"hluti"}`:`Of stórt: gert er ráð fyrir að ${n.origin??"gildi"} sé ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Of lítið: gert er ráð fyrir að ${n.origin} hafi ${o}${n.minimum.toString()} ${a.unit}`:`Of lítið: gert er ráð fyrir að ${n.origin} sé ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Ógildur strengur: verður að byrja á "${o.prefix}"`:o.format==="ends_with"?`Ógildur strengur: verður að enda á "${o.suffix}"`:o.format==="includes"?`Ógildur strengur: verður að innihalda "${o.includes}"`:o.format==="regex"?`Ógildur strengur: verður að fylgja mynstri ${o.pattern}`:`Rangt ${r[o.format]??n.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${n.divisor}`;case"unrecognized_keys":return`Óþekkt ${n.keys.length>1?"ir lyklar":"ur lykill"}: ${O(n.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${n.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${n.origin}`;default:return"Rangt gildi"}}};function yy(){return{localeError:_y()}}const ky=()=>{const e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function t(n){return e[n]??null}const r={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 n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Input non valido: atteso instanceof ${n.expected}, ricevuto ${s}`:`Input non valido: atteso ${o}, ricevuto ${s}`}case"invalid_value":return n.values.length===1?`Input non valido: atteso ${X(n.values[0])}`:`Opzione non valida: atteso uno tra ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Troppo grande: ${n.origin??"valore"} deve avere ${o}${n.maximum.toString()} ${a.unit??"elementi"}`:`Troppo grande: ${n.origin??"valore"} deve essere ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Troppo piccolo: ${n.origin} deve avere ${o}${n.minimum.toString()} ${a.unit}`:`Troppo piccolo: ${n.origin} deve essere ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;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: ${r[o.format]??n.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${n.divisor}`;case"unrecognized_keys":return`Chiav${n.keys.length>1?"i":"e"} non riconosciut${n.keys.length>1?"e":"a"}: ${O(n.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${n.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${n.origin}`;default:return"Input non valido"}}};function xy(){return{localeError:ky()}}const $y=()=>{const e={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function t(n){return e[n]??null}const r={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"},i={nan:"NaN",number:"数値",array:"配列"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`無効な入力: instanceof ${n.expected}が期待されましたが、${s}が入力されました`:`無効な入力: ${o}が期待されましたが、${s}が入力されました`}case"invalid_value":return n.values.length===1?`無効な入力: ${X(n.values[0])}が期待されました`:`無効な選択: ${O(n.values,"、")}のいずれかである必要があります`;case"too_big":{const o=n.inclusive?"以下である":"より小さい",a=t(n.origin);return a?`大きすぎる値: ${n.origin??"値"}は${n.maximum.toString()}${a.unit??"要素"}${o}必要があります`:`大きすぎる値: ${n.origin??"値"}は${n.maximum.toString()}${o}必要があります`}case"too_small":{const o=n.inclusive?"以上である":"より大きい",a=t(n.origin);return a?`小さすぎる値: ${n.origin}は${n.minimum.toString()}${a.unit}${o}必要があります`:`小さすぎる値: ${n.origin}は${n.minimum.toString()}${o}必要があります`}case"invalid_format":{const o=n;return o.format==="starts_with"?`無効な文字列: "${o.prefix}"で始まる必要があります`:o.format==="ends_with"?`無効な文字列: "${o.suffix}"で終わる必要があります`:o.format==="includes"?`無効な文字列: "${o.includes}"を含む必要があります`:o.format==="regex"?`無効な文字列: パターン${o.pattern}に一致する必要があります`:`無効な${r[o.format]??n.format}`}case"not_multiple_of":return`無効な数値: ${n.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${n.keys.length>1?"群":""}: ${O(n.keys,"、")}`;case"invalid_key":return`${n.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${n.origin}内の無効な値`;default:return"無効な入力"}}};function wy(){return{localeError:$y()}}const Sy=()=>{const e={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function t(n){return e[n]??null}const r={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული ველი",base64url:"base64url-კოდირებული ველი",json_string:"JSON ველი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"},i={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`არასწორი შეყვანა: მოსალოდნელი instanceof ${n.expected}, მიღებული ${s}`:`არასწორი შეყვანა: მოსალოდნელი ${o}, მიღებული ${s}`}case"invalid_value":return n.values.length===1?`არასწორი შეყვანა: მოსალოდნელი ${X(n.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${O(n.values,"|")}-დან`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`ზედმეტად დიდი: მოსალოდნელი ${n.origin??"მნიშვნელობა"} ${a.verb} ${o}${n.maximum.toString()} ${a.unit}`:`ზედმეტად დიდი: მოსალოდნელი ${n.origin??"მნიშვნელობა"} იყოს ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`ზედმეტად პატარა: მოსალოდნელი ${n.origin} ${a.verb} ${o}${n.minimum.toString()} ${a.unit}`:`ზედმეტად პატარა: მოსალოდნელი ${n.origin} იყოს ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`არასწორი ველი: უნდა იწყებოდეს "${o.prefix}"-ით`:o.format==="ends_with"?`არასწორი ველი: უნდა მთავრდებოდეს "${o.suffix}"-ით`:o.format==="includes"?`არასწორი ველი: უნდა შეიცავდეს "${o.includes}"-ს`:o.format==="regex"?`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${o.pattern}`:`არასწორი ${r[o.format]??n.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${n.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${n.keys.length>1?"ები":"ი"}: ${O(n.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${n.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${n.origin}-ში`;default:return"არასწორი შეყვანა"}}};function Iy(){return{localeError:Sy()}}const zy=()=>{const e={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function t(n){return e[n]??null}const r={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},i={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${n.expected} ប៉ុន្តែទទួលបាន ${s}`:`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${o} ប៉ុន្តែទទួលបាន ${s}`}case"invalid_value":return n.values.length===1?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${X(n.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`ធំពេក៖ ត្រូវការ ${n.origin??"តម្លៃ"} ${o} ${n.maximum.toString()} ${a.unit??"ធាតុ"}`:`ធំពេក៖ ត្រូវការ ${n.origin??"តម្លៃ"} ${o} ${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`តូចពេក៖ ត្រូវការ ${n.origin} ${o} ${n.minimum.toString()} ${a.unit}`:`តូចពេក៖ ត្រូវការ ${n.origin} ${o} ${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${o.prefix}"`:o.format==="ends_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${o.suffix}"`:o.format==="includes"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${o.includes}"`:o.format==="regex"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${o.pattern}`:`មិនត្រឹមត្រូវ៖ ${r[o.format]??n.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${n.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${O(n.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${n.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${n.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function ah(){return{localeError:zy()}}function Ty(){return ah()}const Py=()=>{const e={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function t(n){return e[n]??null}const r={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`잘못된 입력: 예상 타입은 instanceof ${n.expected}, 받은 타입은 ${s}입니다`:`잘못된 입력: 예상 타입은 ${o}, 받은 타입은 ${s}입니다`}case"invalid_value":return n.values.length===1?`잘못된 입력: 값은 ${X(n.values[0])} 이어야 합니다`:`잘못된 옵션: ${O(n.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{const o=n.inclusive?"이하":"미만",a=o==="미만"?"이어야 합니다":"여야 합니다",s=t(n.origin),u=s?.unit??"요소";return s?`${n.origin??"값"}이 너무 큽니다: ${n.maximum.toString()}${u} ${o}${a}`:`${n.origin??"값"}이 너무 큽니다: ${n.maximum.toString()} ${o}${a}`}case"too_small":{const o=n.inclusive?"이상":"초과",a=o==="이상"?"이어야 합니다":"여야 합니다",s=t(n.origin),u=s?.unit??"요소";return s?`${n.origin??"값"}이 너무 작습니다: ${n.minimum.toString()}${u} ${o}${a}`:`${n.origin??"값"}이 너무 작습니다: ${n.minimum.toString()} ${o}${a}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`잘못된 문자열: "${o.prefix}"(으)로 시작해야 합니다`:o.format==="ends_with"?`잘못된 문자열: "${o.suffix}"(으)로 끝나야 합니다`:o.format==="includes"?`잘못된 문자열: "${o.includes}"을(를) 포함해야 합니다`:o.format==="regex"?`잘못된 문자열: 정규식 ${o.pattern} 패턴과 일치해야 합니다`:`잘못된 ${r[o.format]??n.format}`}case"not_multiple_of":return`잘못된 숫자: ${n.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${O(n.keys,", ")}`;case"invalid_key":return`잘못된 키: ${n.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${n.origin}`;default:return"잘못된 입력"}}};function jy(){return{localeError:Py()}}const Mn=e=>e.charAt(0).toUpperCase()+e.slice(1);function id(e){const t=Math.abs(e),r=t%10,i=t%100;return i>=11&&i<=19||r===0?"many":r===1?"one":"few"}const Ey=()=>{const e={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function t(n,o,a,s){const u=e[n]??null;return u===null?u:{unit:u.unit[o],verb:u.verb[s][a?"inclusive":"notInclusive"]}}const r={regex:"įvestis",email:"el. pašto adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},i={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Gautas tipas ${s}, o tikėtasi - instanceof ${n.expected}`:`Gautas tipas ${s}, o tikėtasi - ${o}`}case"invalid_value":return n.values.length===1?`Privalo būti ${X(n.values[0])}`:`Privalo būti vienas iš ${O(n.values,"|")} pasirinkimų`;case"too_big":{const o=i[n.origin]??n.origin,a=t(n.origin,id(Number(n.maximum)),n.inclusive??!1,"smaller");if(a?.verb)return`${Mn(o??n.origin??"reikšmė")} ${a.verb} ${n.maximum.toString()} ${a.unit??"elementų"}`;const s=n.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${Mn(o??n.origin??"reikšmė")} turi būti ${s} ${n.maximum.toString()} ${a?.unit}`}case"too_small":{const o=i[n.origin]??n.origin,a=t(n.origin,id(Number(n.minimum)),n.inclusive??!1,"bigger");if(a?.verb)return`${Mn(o??n.origin??"reikšmė")} ${a.verb} ${n.minimum.toString()} ${a.unit??"elementų"}`;const s=n.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${Mn(o??n.origin??"reikšmė")} turi būti ${s} ${n.minimum.toString()} ${a?.unit}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Eilutė privalo prasidėti "${o.prefix}"`:o.format==="ends_with"?`Eilutė privalo pasibaigti "${o.suffix}"`:o.format==="includes"?`Eilutė privalo įtraukti "${o.includes}"`:o.format==="regex"?`Eilutė privalo atitikti ${o.pattern}`:`Neteisingas ${r[o.format]??n.format}`}case"not_multiple_of":return`Skaičius privalo būti ${n.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${n.keys.length>1?"i":"as"} rakt${n.keys.length>1?"ai":"as"}: ${O(n.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{const o=i[n.origin]??n.origin;return`${Mn(o??n.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function Dy(){return{localeError:Ey()}}const Cy=()=>{const e={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function t(n){return e[n]??null}const r={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"},i={nan:"NaN",number:"број",array:"низа"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Грешен внес: се очекува instanceof ${n.expected}, примено ${s}`:`Грешен внес: се очекува ${o}, примено ${s}`}case"invalid_value":return n.values.length===1?`Invalid input: expected ${X(n.values[0])}`:`Грешана опција: се очекува една ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Премногу голем: се очекува ${n.origin??"вредноста"} да има ${o}${n.maximum.toString()} ${a.unit??"елементи"}`:`Премногу голем: се очекува ${n.origin??"вредноста"} да биде ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Премногу мал: се очекува ${n.origin} да има ${o}${n.minimum.toString()} ${a.unit}`:`Премногу мал: се очекува ${n.origin} да биде ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Неважечка низа: мора да започнува со "${o.prefix}"`:o.format==="ends_with"?`Неважечка низа: мора да завршува со "${o.suffix}"`:o.format==="includes"?`Неважечка низа: мора да вклучува "${o.includes}"`:o.format==="regex"?`Неважечка низа: мора да одгоара на патернот ${o.pattern}`:`Invalid ${r[o.format]??n.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${O(n.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${n.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${n.origin}`;default:return"Грешен внес"}}};function Oy(){return{localeError:Cy()}}const Ay=()=>{const e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function t(n){return e[n]??null}const r={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 n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Input tidak sah: dijangka instanceof ${n.expected}, diterima ${s}`:`Input tidak sah: dijangka ${o}, diterima ${s}`}case"invalid_value":return n.values.length===1?`Input tidak sah: dijangka ${X(n.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Terlalu besar: dijangka ${n.origin??"nilai"} ${a.verb} ${o}${n.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: dijangka ${n.origin??"nilai"} adalah ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Terlalu kecil: dijangka ${n.origin} ${a.verb} ${o}${n.minimum.toString()} ${a.unit}`:`Terlalu kecil: dijangka ${n.origin} adalah ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;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}`:`${r[o.format]??n.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${n.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${O(n.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${n.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${n.origin}`;default:return"Input tidak sah"}}};function Ny(){return{localeError:Ay()}}const Uy=()=>{const e={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function t(n){return e[n]??null}const r={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 n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Ongeldige invoer: verwacht instanceof ${n.expected}, ontving ${s}`:`Ongeldige invoer: verwacht ${o}, ontving ${s}`}case"invalid_value":return n.values.length===1?`Ongeldige invoer: verwacht ${X(n.values[0])}`:`Ongeldige optie: verwacht één van ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin),s=n.origin==="date"?"laat":n.origin==="string"?"lang":"groot";return a?`Te ${s}: verwacht dat ${n.origin??"waarde"} ${o}${n.maximum.toString()} ${a.unit??"elementen"} ${a.verb}`:`Te ${s}: verwacht dat ${n.origin??"waarde"} ${o}${n.maximum.toString()} is`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin),s=n.origin==="date"?"vroeg":n.origin==="string"?"kort":"klein";return a?`Te ${s}: verwacht dat ${n.origin} ${o}${n.minimum.toString()} ${a.unit} ${a.verb}`:`Te ${s}: verwacht dat ${n.origin} ${o}${n.minimum.toString()} is`}case"invalid_format":{const o=n;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: ${r[o.format]??n.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${n.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${n.keys.length>1?"s":""}: ${O(n.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${n.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${n.origin}`;default:return"Ongeldige invoer"}}};function Ry(){return{localeError:Uy()}}const Ly=()=>{const e={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function t(n){return e[n]??null}const r={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åde",ipv6:"IPv6-område",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 n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Ugyldig input: forventet instanceof ${n.expected}, fikk ${s}`:`Ugyldig input: forventet ${o}, fikk ${s}`}case"invalid_value":return n.values.length===1?`Ugyldig verdi: forventet ${X(n.values[0])}`:`Ugyldig valg: forventet en av ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`For stor(t): forventet ${n.origin??"value"} til å ha ${o}${n.maximum.toString()} ${a.unit??"elementer"}`:`For stor(t): forventet ${n.origin??"value"} til å ha ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`For lite(n): forventet ${n.origin} til å ha ${o}${n.minimum.toString()} ${a.unit}`:`For lite(n): forventet ${n.origin} til å ha ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Ugyldig streng: må starte med "${o.prefix}"`:o.format==="ends_with"?`Ugyldig streng: må ende med "${o.suffix}"`:o.format==="includes"?`Ugyldig streng: må inneholde "${o.includes}"`:o.format==="regex"?`Ugyldig streng: må matche mønsteret ${o.pattern}`:`Ugyldig ${r[o.format]??n.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${O(n.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${n.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${n.origin}`;default:return"Ugyldig input"}}};function My(){return{localeError:Ly()}}const Zy=()=>{const e={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function t(n){return e[n]??null}const r={regex:"giren",email:"epostagâh",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âmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},i={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Fâsit giren: umulan instanceof ${n.expected}, alınan ${s}`:`Fâsit giren: umulan ${o}, alınan ${s}`}case"invalid_value":return n.values.length===1?`Fâsit giren: umulan ${X(n.values[0])}`:`Fâsit tercih: mûteberler ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Fazla büyük: ${n.origin??"value"}, ${o}${n.maximum.toString()} ${a.unit??"elements"} sahip olmalıydı.`:`Fazla büyük: ${n.origin??"value"}, ${o}${n.maximum.toString()} olmalıydı.`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Fazla küçük: ${n.origin}, ${o}${n.minimum.toString()} ${a.unit} sahip olmalıydı.`:`Fazla küçük: ${n.origin}, ${o}${n.minimum.toString()} olmalıydı.`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Fâsit metin: "${o.prefix}" ile başlamalı.`:o.format==="ends_with"?`Fâsit metin: "${o.suffix}" ile bitmeli.`:o.format==="includes"?`Fâsit metin: "${o.includes}" ihtivâ etmeli.`:o.format==="regex"?`Fâsit metin: ${o.pattern} nakşına uymalı.`:`Fâsit ${r[o.format]??n.format}`}case"not_multiple_of":return`Fâsit sayı: ${n.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${n.keys.length>1?"s":""}: ${O(n.keys,", ")}`;case"invalid_key":return`${n.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${n.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function Fy(){return{localeError:Zy()}}const qy=()=>{const e={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function t(n){return e[n]??null}const r={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"},i={nan:"NaN",number:"عدد",array:"ارې"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`ناسم ورودي: باید instanceof ${n.expected} وای, مګر ${s} ترلاسه شو`:`ناسم ورودي: باید ${o} وای, مګر ${s} ترلاسه شو`}case"invalid_value":return n.values.length===1?`ناسم ورودي: باید ${X(n.values[0])} وای`:`ناسم انتخاب: باید یو له ${O(n.values,"|")} څخه وای`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`ډیر لوی: ${n.origin??"ارزښت"} باید ${o}${n.maximum.toString()} ${a.unit??"عنصرونه"} ولري`:`ډیر لوی: ${n.origin??"ارزښت"} باید ${o}${n.maximum.toString()} وي`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`ډیر کوچنی: ${n.origin} باید ${o}${n.minimum.toString()} ${a.unit} ولري`:`ډیر کوچنی: ${n.origin} باید ${o}${n.minimum.toString()} وي`}case"invalid_format":{const o=n;return o.format==="starts_with"?`ناسم متن: باید د "${o.prefix}" سره پیل شي`:o.format==="ends_with"?`ناسم متن: باید د "${o.suffix}" سره پای ته ورسيږي`:o.format==="includes"?`ناسم متن: باید "${o.includes}" ولري`:o.format==="regex"?`ناسم متن: باید د ${o.pattern} سره مطابقت ولري`:`${r[o.format]??n.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${n.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${n.keys.length>1?"کلیډونه":"کلیډ"}: ${O(n.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${n.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${n.origin} کې`;default:return"ناسمه ورودي"}}};function Hy(){return{localeError:qy()}}const Jy=()=>{const e={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function t(n){return e[n]??null}const r={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"},i={nan:"NaN",number:"liczba",array:"tablica"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${n.expected}, otrzymano ${s}`:`Nieprawidłowe dane wejściowe: oczekiwano ${o}, otrzymano ${s}`}case"invalid_value":return n.values.length===1?`Nieprawidłowe dane wejściowe: oczekiwano ${X(n.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Za duża wartość: oczekiwano, że ${n.origin??"wartość"} będzie mieć ${o}${n.maximum.toString()} ${a.unit??"elementów"}`:`Zbyt duż(y/a/e): oczekiwano, że ${n.origin??"wartość"} będzie wynosić ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Za mała wartość: oczekiwano, że ${n.origin??"wartość"} będzie mieć ${o}${n.minimum.toString()} ${a.unit??"elementów"}`:`Zbyt mał(y/a/e): oczekiwano, że ${n.origin??"wartość"} będzie wynosić ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Nieprawidłowy ciąg znaków: musi zaczynać się od "${o.prefix}"`:o.format==="ends_with"?`Nieprawidłowy ciąg znaków: musi kończyć się na "${o.suffix}"`:o.format==="includes"?`Nieprawidłowy ciąg znaków: musi zawierać "${o.includes}"`:o.format==="regex"?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${o.pattern}`:`Nieprawidłow(y/a/e) ${r[o.format]??n.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${n.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${n.keys.length>1?"s":""}: ${O(n.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${n.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${n.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function By(){return{localeError:Jy()}}const Vy=()=>{const e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(n){return e[n]??null}const r={regex:"padrão",email:"endereço 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ção ISO",ipv4:"endereço IPv4",ipv6:"endereço 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úmero E.164",jwt:"JWT",template_literal:"entrada"},i={nan:"NaN",number:"número",null:"nulo"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Tipo inválido: esperado instanceof ${n.expected}, recebido ${s}`:`Tipo inválido: esperado ${o}, recebido ${s}`}case"invalid_value":return n.values.length===1?`Entrada inválida: esperado ${X(n.values[0])}`:`Opção inválida: esperada uma das ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Muito grande: esperado que ${n.origin??"valor"} tivesse ${o}${n.maximum.toString()} ${a.unit??"elementos"}`:`Muito grande: esperado que ${n.origin??"valor"} fosse ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Muito pequeno: esperado que ${n.origin} tivesse ${o}${n.minimum.toString()} ${a.unit}`:`Muito pequeno: esperado que ${n.origin} fosse ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Texto inválido: deve começar com "${o.prefix}"`:o.format==="ends_with"?`Texto inválido: deve terminar com "${o.suffix}"`:o.format==="includes"?`Texto inválido: deve incluir "${o.includes}"`:o.format==="regex"?`Texto inválido: deve corresponder ao padrão ${o.pattern}`:`${r[o.format]??n.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${n.divisor}`;case"unrecognized_keys":return`Chave${n.keys.length>1?"s":""} desconhecida${n.keys.length>1?"s":""}: ${O(n.keys,", ")}`;case"invalid_key":return`Chave inválida em ${n.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${n.origin}`;default:return"Campo inválido"}}};function Ky(){return{localeError:Vy()}}const Wy=()=>{const e={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function t(n){return e[n]??null}const r={regex:"intrare",email:"adresă 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ă și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",jwt:"JWT",template_literal:"intrare"},i={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return`Intrare invalidă: așteptat ${o}, primit ${s}`}case"invalid_value":return n.values.length===1?`Intrare invalidă: așteptat ${X(n.values[0])}`:`Opțiune invalidă: așteptat una dintre ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Prea mare: așteptat ca ${n.origin??"valoarea"} ${a.verb} ${o}${n.maximum.toString()} ${a.unit??"elemente"}`:`Prea mare: așteptat ca ${n.origin??"valoarea"} să fie ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Prea mic: așteptat ca ${n.origin} ${a.verb} ${o}${n.minimum.toString()} ${a.unit}`:`Prea mic: așteptat ca ${n.origin} să fie ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Șir invalid: trebuie să înceapă cu "${o.prefix}"`:o.format==="ends_with"?`Șir invalid: trebuie să se termine cu "${o.suffix}"`:o.format==="includes"?`Șir invalid: trebuie să includă "${o.includes}"`:o.format==="regex"?`Șir invalid: trebuie să se potrivească cu modelul ${o.pattern}`:`Format invalid: ${r[o.format]??n.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${n.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${O(n.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${n.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${n.origin}`;default:return"Intrare invalidă"}}};function Gy(){return{localeError:Wy()}}function ad(e,t,r,i){const n=Math.abs(e),o=n%10,a=n%100;return a>=11&&a<=19?i:o===1?t:o>=2&&o<=4?r:i}const Yy=()=>{const e={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function t(n){return e[n]??null}const r={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"},i={nan:"NaN",number:"число",array:"массив"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Неверный ввод: ожидалось instanceof ${n.expected}, получено ${s}`:`Неверный ввод: ожидалось ${o}, получено ${s}`}case"invalid_value":return n.values.length===1?`Неверный ввод: ожидалось ${X(n.values[0])}`:`Неверный вариант: ожидалось одно из ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);if(a){const s=Number(n.maximum),u=ad(s,a.unit.one,a.unit.few,a.unit.many);return`Слишком большое значение: ожидалось, что ${n.origin??"значение"} будет иметь ${o}${n.maximum.toString()} ${u}`}return`Слишком большое значение: ожидалось, что ${n.origin??"значение"} будет ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);if(a){const s=Number(n.minimum),u=ad(s,a.unit.one,a.unit.few,a.unit.many);return`Слишком маленькое значение: ожидалось, что ${n.origin} будет иметь ${o}${n.minimum.toString()} ${u}`}return`Слишком маленькое значение: ожидалось, что ${n.origin} будет ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Неверная строка: должна начинаться с "${o.prefix}"`:o.format==="ends_with"?`Неверная строка: должна заканчиваться на "${o.suffix}"`:o.format==="includes"?`Неверная строка: должна содержать "${o.includes}"`:o.format==="regex"?`Неверная строка: должна соответствовать шаблону ${o.pattern}`:`Неверный ${r[o.format]??n.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${n.divisor}`;case"unrecognized_keys":return`Нераспознанн${n.keys.length>1?"ые":"ый"} ключ${n.keys.length>1?"и":""}: ${O(n.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${n.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${n.origin}`;default:return"Неверные входные данные"}}};function Xy(){return{localeError:Yy()}}const Qy=()=>{const e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function t(n){return e[n]??null}const r={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",jwt:"JWT",template_literal:"vnos"},i={nan:"NaN",number:"število",array:"tabela"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Neveljaven vnos: pričakovano instanceof ${n.expected}, prejeto ${s}`:`Neveljaven vnos: pričakovano ${o}, prejeto ${s}`}case"invalid_value":return n.values.length===1?`Neveljaven vnos: pričakovano ${X(n.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Preveliko: pričakovano, da bo ${n.origin??"vrednost"} imelo ${o}${n.maximum.toString()} ${a.unit??"elementov"}`:`Preveliko: pričakovano, da bo ${n.origin??"vrednost"} ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Premajhno: pričakovano, da bo ${n.origin} imelo ${o}${n.minimum.toString()} ${a.unit}`:`Premajhno: pričakovano, da bo ${n.origin} ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Neveljaven niz: mora se začeti z "${o.prefix}"`:o.format==="ends_with"?`Neveljaven niz: mora se končati z "${o.suffix}"`:o.format==="includes"?`Neveljaven niz: mora vsebovati "${o.includes}"`:o.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${o.pattern}`:`Neveljaven ${r[o.format]??n.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${n.divisor}`;case"unrecognized_keys":return`Neprepoznan${n.keys.length>1?"i ključi":" ključ"}: ${O(n.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${n.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${n.origin}`;default:return"Neveljaven vnos"}}};function ek(){return{localeError:Qy()}}const tk=()=>{const e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function t(n){return e[n]??null}const r={regex:"reguljärt 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äng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},i={nan:"NaN",number:"antal",array:"lista"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Ogiltig inmatning: förväntat instanceof ${n.expected}, fick ${s}`:`Ogiltig inmatning: förväntat ${o}, fick ${s}`}case"invalid_value":return n.values.length===1?`Ogiltig inmatning: förväntat ${X(n.values[0])}`:`Ogiltigt val: förväntade en av ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`För stor(t): förväntade ${n.origin??"värdet"} att ha ${o}${n.maximum.toString()} ${a.unit??"element"}`:`För stor(t): förväntat ${n.origin??"värdet"} att ha ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`För lite(t): förväntade ${n.origin??"värdet"} att ha ${o}${n.minimum.toString()} ${a.unit}`:`För lite(t): förväntade ${n.origin??"värdet"} att ha ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Ogiltig sträng: måste börja med "${o.prefix}"`:o.format==="ends_with"?`Ogiltig sträng: måste sluta med "${o.suffix}"`:o.format==="includes"?`Ogiltig sträng: måste innehålla "${o.includes}"`:o.format==="regex"?`Ogiltig sträng: måste matcha mönstret "${o.pattern}"`:`Ogiltig(t) ${r[o.format]??n.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${O(n.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${n.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${n.origin??"värdet"}`;default:return"Ogiltig input"}}};function nk(){return{localeError:tk()}}const rk=()=>{const e={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function t(n){return e[n]??null}const r={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"},i={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${n.expected}, பெறப்பட்டது ${s}`:`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${o}, பெறப்பட்டது ${s}`}case"invalid_value":return n.values.length===1?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${X(n.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${O(n.values,"|")} இல் ஒன்று`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${n.origin??"மதிப்பு"} ${o}${n.maximum.toString()} ${a.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${n.origin??"மதிப்பு"} ${o}${n.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${n.origin} ${o}${n.minimum.toString()} ${a.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${n.origin} ${o}${n.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{const o=n;return o.format==="starts_with"?`தவறான சரம்: "${o.prefix}" இல் தொடங்க வேண்டும்`:o.format==="ends_with"?`தவறான சரம்: "${o.suffix}" இல் முடிவடைய வேண்டும்`:o.format==="includes"?`தவறான சரம்: "${o.includes}" ஐ உள்ளடக்க வேண்டும்`:o.format==="regex"?`தவறான சரம்: ${o.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${r[o.format]??n.format}`}case"not_multiple_of":return`தவறான எண்: ${n.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${n.keys.length>1?"கள்":""}: ${O(n.keys,", ")}`;case"invalid_key":return`${n.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${n.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function ok(){return{localeError:rk()}}const ik=()=>{const e={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function t(n){return e[n]??null}const r={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},i={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${n.expected} แต่ได้รับ ${s}`:`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${o} แต่ได้รับ ${s}`}case"invalid_value":return n.values.length===1?`ค่าไม่ถูกต้อง: ควรเป็น ${X(n.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"ไม่เกิน":"น้อยกว่า",a=t(n.origin);return a?`เกินกำหนด: ${n.origin??"ค่า"} ควรมี${o} ${n.maximum.toString()} ${a.unit??"รายการ"}`:`เกินกำหนด: ${n.origin??"ค่า"} ควรมี${o} ${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?"อย่างน้อย":"มากกว่า",a=t(n.origin);return a?`น้อยกว่ากำหนด: ${n.origin} ควรมี${o} ${n.minimum.toString()} ${a.unit}`:`น้อยกว่ากำหนด: ${n.origin} ควรมี${o} ${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${o.prefix}"`:o.format==="ends_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${o.suffix}"`:o.format==="includes"?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${o.includes}" อยู่ในข้อความ`:o.format==="regex"?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${o.pattern}`:`รูปแบบไม่ถูกต้อง: ${r[o.format]??n.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${n.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${O(n.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${n.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${n.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function ak(){return{localeError:ik()}}const sk=()=>{const e={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function t(n){return e[n]??null}const r={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üre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Geçersiz değer: beklenen instanceof ${n.expected}, alınan ${s}`:`Geçersiz değer: beklenen ${o}, alınan ${s}`}case"invalid_value":return n.values.length===1?`Geçersiz değer: beklenen ${X(n.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Çok büyük: beklenen ${n.origin??"değer"} ${o}${n.maximum.toString()} ${a.unit??"öğe"}`:`Çok büyük: beklenen ${n.origin??"değer"} ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Çok küçük: beklenen ${n.origin} ${o}${n.minimum.toString()} ${a.unit}`:`Çok küçük: beklenen ${n.origin} ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Geçersiz metin: "${o.prefix}" ile başlamalı`:o.format==="ends_with"?`Geçersiz metin: "${o.suffix}" ile bitmeli`:o.format==="includes"?`Geçersiz metin: "${o.includes}" içermeli`:o.format==="regex"?`Geçersiz metin: ${o.pattern} desenine uymalı`:`Geçersiz ${r[o.format]??n.format}`}case"not_multiple_of":return`Geçersiz sayı: ${n.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${n.keys.length>1?"lar":""}: ${O(n.keys,", ")}`;case"invalid_key":return`${n.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${n.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function ck(){return{localeError:sk()}}const lk=()=>{const e={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function t(n){return e[n]??null}const r={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"},i={nan:"NaN",number:"число",array:"масив"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Неправильні вхідні дані: очікується instanceof ${n.expected}, отримано ${s}`:`Неправильні вхідні дані: очікується ${o}, отримано ${s}`}case"invalid_value":return n.values.length===1?`Неправильні вхідні дані: очікується ${X(n.values[0])}`:`Неправильна опція: очікується одне з ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Занадто велике: очікується, що ${n.origin??"значення"} ${a.verb} ${o}${n.maximum.toString()} ${a.unit??"елементів"}`:`Занадто велике: очікується, що ${n.origin??"значення"} буде ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Занадто мале: очікується, що ${n.origin} ${a.verb} ${o}${n.minimum.toString()} ${a.unit}`:`Занадто мале: очікується, що ${n.origin} буде ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Неправильний рядок: повинен починатися з "${o.prefix}"`:o.format==="ends_with"?`Неправильний рядок: повинен закінчуватися на "${o.suffix}"`:o.format==="includes"?`Неправильний рядок: повинен містити "${o.includes}"`:o.format==="regex"?`Неправильний рядок: повинен відповідати шаблону ${o.pattern}`:`Неправильний ${r[o.format]??n.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${n.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${n.keys.length>1?"і":""}: ${O(n.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${n.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${n.origin}`;default:return"Неправильні вхідні дані"}}};function sh(){return{localeError:lk()}}function uk(){return sh()}const dk=()=>{const e={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function t(n){return e[n]??null}const r={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},i={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`غلط ان پٹ: instanceof ${n.expected} متوقع تھا، ${s} موصول ہوا`:`غلط ان پٹ: ${o} متوقع تھا، ${s} موصول ہوا`}case"invalid_value":return n.values.length===1?`غلط ان پٹ: ${X(n.values[0])} متوقع تھا`:`غلط آپشن: ${O(n.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`بہت بڑا: ${n.origin??"ویلیو"} کے ${o}${n.maximum.toString()} ${a.unit??"عناصر"} ہونے متوقع تھے`:`بہت بڑا: ${n.origin??"ویلیو"} کا ${o}${n.maximum.toString()} ہونا متوقع تھا`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`بہت چھوٹا: ${n.origin} کے ${o}${n.minimum.toString()} ${a.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${n.origin} کا ${o}${n.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{const o=n;return o.format==="starts_with"?`غلط سٹرنگ: "${o.prefix}" سے شروع ہونا چاہیے`:o.format==="ends_with"?`غلط سٹرنگ: "${o.suffix}" پر ختم ہونا چاہیے`:o.format==="includes"?`غلط سٹرنگ: "${o.includes}" شامل ہونا چاہیے`:o.format==="regex"?`غلط سٹرنگ: پیٹرن ${o.pattern} سے میچ ہونا چاہیے`:`غلط ${r[o.format]??n.format}`}case"not_multiple_of":return`غلط نمبر: ${n.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${n.keys.length>1?"ز":""}: ${O(n.keys,"، ")}`;case"invalid_key":return`${n.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${n.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function mk(){return{localeError:dk()}}const pk=()=>{const e={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function t(n){return e[n]??null}const r={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 n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Noto‘g‘ri kirish: kutilgan instanceof ${n.expected}, qabul qilingan ${s}`:`Noto‘g‘ri kirish: kutilgan ${o}, qabul qilingan ${s}`}case"invalid_value":return n.values.length===1?`Noto‘g‘ri kirish: kutilgan ${X(n.values[0])}`:`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Juda katta: kutilgan ${n.origin??"qiymat"} ${o}${n.maximum.toString()} ${a.unit} ${a.verb}`:`Juda katta: kutilgan ${n.origin??"qiymat"} ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Juda kichik: kutilgan ${n.origin} ${o}${n.minimum.toString()} ${a.unit} ${a.verb}`:`Juda kichik: kutilgan ${n.origin} ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Noto‘g‘ri satr: "${o.prefix}" bilan boshlanishi kerak`:o.format==="ends_with"?`Noto‘g‘ri satr: "${o.suffix}" bilan tugashi kerak`:o.format==="includes"?`Noto‘g‘ri satr: "${o.includes}" ni o‘z ichiga olishi kerak`:o.format==="regex"?`Noto‘g‘ri satr: ${o.pattern} shabloniga mos kelishi kerak`:`Noto‘g‘ri ${r[o.format]??n.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${n.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${n.keys.length>1?"lar":""}: ${O(n.keys,", ")}`;case"invalid_key":return`${n.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${n.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};function fk(){return{localeError:pk()}}const hk=()=>{const e={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function t(n){return e[n]??null}const r={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"},i={nan:"NaN",number:"số",array:"mảng"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Đầu vào không hợp lệ: mong đợi instanceof ${n.expected}, nhận được ${s}`:`Đầu vào không hợp lệ: mong đợi ${o}, nhận được ${s}`}case"invalid_value":return n.values.length===1?`Đầu vào không hợp lệ: mong đợi ${X(n.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Quá lớn: mong đợi ${n.origin??"giá trị"} ${a.verb} ${o}${n.maximum.toString()} ${a.unit??"phần tử"}`:`Quá lớn: mong đợi ${n.origin??"giá trị"} ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Quá nhỏ: mong đợi ${n.origin} ${a.verb} ${o}${n.minimum.toString()} ${a.unit}`:`Quá nhỏ: mong đợi ${n.origin} ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Chuỗi không hợp lệ: phải bắt đầu bằng "${o.prefix}"`:o.format==="ends_with"?`Chuỗi không hợp lệ: phải kết thúc bằng "${o.suffix}"`:o.format==="includes"?`Chuỗi không hợp lệ: phải bao gồm "${o.includes}"`:o.format==="regex"?`Chuỗi không hợp lệ: phải khớp với mẫu ${o.pattern}`:`${r[o.format]??n.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${n.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${O(n.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${n.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${n.origin}`;default:return"Đầu vào không hợp lệ"}}};function vk(){return{localeError:hk()}}const gk=()=>{const e={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function t(n){return e[n]??null}const r={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"},i={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`无效输入:期望 instanceof ${n.expected},实际接收 ${s}`:`无效输入:期望 ${o},实际接收 ${s}`}case"invalid_value":return n.values.length===1?`无效输入:期望 ${X(n.values[0])}`:`无效选项:期望以下之一 ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`数值过大:期望 ${n.origin??"值"} ${o}${n.maximum.toString()} ${a.unit??"个元素"}`:`数值过大:期望 ${n.origin??"值"} ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`数值过小:期望 ${n.origin} ${o}${n.minimum.toString()} ${a.unit}`:`数值过小:期望 ${n.origin} ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`无效字符串:必须以 "${o.prefix}" 开头`:o.format==="ends_with"?`无效字符串:必须以 "${o.suffix}" 结尾`:o.format==="includes"?`无效字符串:必须包含 "${o.includes}"`:o.format==="regex"?`无效字符串:必须满足正则表达式 ${o.pattern}`:`无效${r[o.format]??n.format}`}case"not_multiple_of":return`无效数字:必须是 ${n.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${O(n.keys,", ")}`;case"invalid_key":return`${n.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${n.origin} 中包含无效值(value)`;default:return"无效输入"}}};function bk(){return{localeError:gk()}}const _k=()=>{const e={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function t(n){return e[n]??null}const r={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"},i={nan:"NaN"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`無效的輸入值:預期為 instanceof ${n.expected},但收到 ${s}`:`無效的輸入值:預期為 ${o},但收到 ${s}`}case"invalid_value":return n.values.length===1?`無效的輸入值:預期為 ${X(n.values[0])}`:`無效的選項:預期為以下其中之一 ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`數值過大:預期 ${n.origin??"值"} 應為 ${o}${n.maximum.toString()} ${a.unit??"個元素"}`:`數值過大:預期 ${n.origin??"值"} 應為 ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`數值過小:預期 ${n.origin} 應為 ${o}${n.minimum.toString()} ${a.unit}`:`數值過小:預期 ${n.origin} 應為 ${o}${n.minimum.toString()}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`無效的字串:必須以 "${o.prefix}" 開頭`:o.format==="ends_with"?`無效的字串:必須以 "${o.suffix}" 結尾`:o.format==="includes"?`無效的字串:必須包含 "${o.includes}"`:o.format==="regex"?`無效的字串:必須符合格式 ${o.pattern}`:`無效的 ${r[o.format]??n.format}`}case"not_multiple_of":return`無效的數字:必須為 ${n.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${n.keys.length>1?"們":""}:${O(n.keys,"、")}`;case"invalid_key":return`${n.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${n.origin} 中有無效的值`;default:return"無效的輸入值"}}};function yk(){return{localeError:_k()}}const kk=()=>{const e={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function t(n){return e[n]??null}const r={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",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:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},i={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=te(n.input),s=i[a]??a;return/^[A-Z]/.test(n.expected)?`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${n.expected}, àmọ̀ a rí ${s}`:`Ìbáwọlé aṣìṣe: a ní láti fi ${o}, àmọ̀ a rí ${s}`}case"invalid_value":return n.values.length===1?`Ìbáwọlé aṣìṣe: a ní láti fi ${X(n.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${O(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);return a?`Tó pọ̀ jù: a ní láti jẹ́ pé ${n.origin??"iye"} ${a.verb} ${o}${n.maximum} ${a.unit}`:`Tó pọ̀ jù: a ní láti jẹ́ ${o}${n.maximum}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);return a?`Kéré ju: a ní láti jẹ́ pé ${n.origin} ${a.verb} ${o}${n.minimum} ${a.unit}`:`Kéré ju: a ní láti jẹ́ ${o}${n.minimum}`}case"invalid_format":{const o=n;return o.format==="starts_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${o.prefix}"`:o.format==="ends_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${o.suffix}"`:o.format==="includes"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${o.includes}"`:o.format==="regex"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${o.pattern}`:`Aṣìṣe: ${r[o.format]??n.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${n.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${O(n.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${n.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${n.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function xk(){return{localeError:kk()}}const qs=Object.freeze(Object.defineProperty({__proto__:null,ar:C_,az:A_,be:U_,bg:L_,ca:Z_,cs:q_,da:J_,de:V_,el:W_,en:ih,eo:X_,es:ey,fa:ny,fi:oy,fr:ay,frCA:cy,he:uy,hr:my,hu:fy,hy:vy,id:by,is:yy,it:xy,ja:wy,ka:Iy,kh:Ty,km:ah,ko:jy,lt:Dy,mk:Oy,ms:Ny,nl:Ry,no:My,ota:Fy,pl:By,ps:Hy,pt:Ky,ro:Gy,ru:Xy,sl:ek,sv:nk,ta:ok,th:ak,tr:ck,ua:uk,uk:sh,ur:mk,uz:fk,vi:vk,yo:xk,zhCN:bk,zhTW:yk},Symbol.toStringTag,{value:"Module"}));var sd;const Hs=Symbol("ZodOutput"),Js=Symbol("ZodInput");class ch{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){const i=r[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){const r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){const r=t._zod.parent;if(r){const i={...this.get(r)??{}};delete i.id;const n={...i,...this._map.get(t)};return Object.keys(n).length?n:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function fi(){return new ch}(sd=globalThis).__zod_globalRegistry??(sd.__zod_globalRegistry=fi());const Qe=globalThis.__zod_globalRegistry;function lh(e,t){return new e({type:"string",...E(t)})}function uh(e,t){return new e({type:"string",coerce:!0,...E(t)})}function Bs(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...E(t)})}function Fo(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...E(t)})}function Vs(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...E(t)})}function Ks(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...E(t)})}function Ws(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...E(t)})}function Gs(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...E(t)})}function hi(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...E(t)})}function Ys(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...E(t)})}function Xs(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...E(t)})}function Qs(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...E(t)})}function ec(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...E(t)})}function tc(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...E(t)})}function nc(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...E(t)})}function rc(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...E(t)})}function oc(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...E(t)})}function ic(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...E(t)})}function dh(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...E(t)})}function ac(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...E(t)})}function sc(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...E(t)})}function cc(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...E(t)})}function lc(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...E(t)})}function uc(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...E(t)})}function dc(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...E(t)})}const mc={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function mh(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...E(t)})}function ph(e,t){return new e({type:"string",format:"date",check:"string_format",...E(t)})}function fh(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...E(t)})}function hh(e,t){return new e({type:"string",format:"duration",check:"string_format",...E(t)})}function vh(e,t){return new e({type:"number",checks:[],...E(t)})}function gh(e,t){return new e({type:"number",coerce:!0,checks:[],...E(t)})}function bh(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...E(t)})}function _h(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...E(t)})}function yh(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...E(t)})}function kh(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...E(t)})}function xh(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...E(t)})}function $h(e,t){return new e({type:"boolean",...E(t)})}function wh(e,t){return new e({type:"boolean",coerce:!0,...E(t)})}function Sh(e,t){return new e({type:"bigint",...E(t)})}function Ih(e,t){return new e({type:"bigint",coerce:!0,...E(t)})}function zh(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...E(t)})}function Th(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...E(t)})}function Ph(e,t){return new e({type:"symbol",...E(t)})}function jh(e,t){return new e({type:"undefined",...E(t)})}function Eh(e,t){return new e({type:"null",...E(t)})}function Dh(e){return new e({type:"any"})}function Ch(e){return new e({type:"unknown"})}function Oh(e,t){return new e({type:"never",...E(t)})}function Ah(e,t){return new e({type:"void",...E(t)})}function Nh(e,t){return new e({type:"date",...E(t)})}function Uh(e,t){return new e({type:"date",coerce:!0,...E(t)})}function Rh(e,t){return new e({type:"nan",...E(t)})}function It(e,t){return new Cs({check:"less_than",...E(t),value:e,inclusive:!1})}function et(e,t){return new Cs({check:"less_than",...E(t),value:e,inclusive:!0})}function zt(e,t){return new Os({check:"greater_than",...E(t),value:e,inclusive:!1})}function We(e,t){return new Os({check:"greater_than",...E(t),value:e,inclusive:!0})}function vi(e){return zt(0,e)}function gi(e){return It(0,e)}function bi(e){return et(0,e)}function _i(e){return We(0,e)}function Jt(e,t){return new Sp({check:"multiple_of",...E(t),value:e})}function en(e,t){return new Tp({check:"max_size",...E(t),maximum:e})}function Tt(e,t){return new Pp({check:"min_size",...E(t),minimum:e})}function wn(e,t){return new jp({check:"size_equals",...E(t),size:e})}function Sn(e,t){return new Ep({check:"max_length",...E(t),maximum:e})}function Ot(e,t){return new Dp({check:"min_length",...E(t),minimum:e})}function In(e,t){return new Cp({check:"length_equals",...E(t),length:e})}function fr(e,t){return new Op({check:"string_format",format:"regex",...E(t),pattern:e})}function hr(e){return new Ap({check:"string_format",format:"lowercase",...E(e)})}function vr(e){return new Np({check:"string_format",format:"uppercase",...E(e)})}function gr(e,t){return new Up({check:"string_format",format:"includes",...E(t),includes:e})}function br(e,t){return new Rp({check:"string_format",format:"starts_with",...E(t),prefix:e})}function _r(e,t){return new Lp({check:"string_format",format:"ends_with",...E(t),suffix:e})}function yi(e,t,r){return new Mp({check:"property",property:e,schema:t,...E(r)})}function yr(e,t){return new Zp({check:"mime_type",mime:e,...E(t)})}function bt(e){return new Fp({check:"overwrite",tx:e})}function kr(e){return bt(t=>t.normalize(e))}function xr(){return bt(e=>e.trim())}function $r(){return bt(e=>e.toLowerCase())}function wr(){return bt(e=>e.toUpperCase())}function Sr(){return bt(e=>Sm(e))}function Lh(e,t,r){return new e({type:"array",element:t,...E(r)})}function $k(e,t,r){return new e({type:"union",options:t,...E(r)})}function wk(e,t,r){return new e({type:"union",options:t,inclusive:!1,...E(r)})}function Sk(e,t,r,i){return new e({type:"union",options:r,discriminator:t,...E(i)})}function Ik(e,t,r){return new e({type:"intersection",left:t,right:r})}function zk(e,t,r,i){const n=r instanceof ae,o=n?i:r,a=n?r:null;return new e({type:"tuple",items:t,rest:a,...E(o)})}function Tk(e,t,r,i){return new e({type:"record",keyType:t,valueType:r,...E(i)})}function Pk(e,t,r,i){return new e({type:"map",keyType:t,valueType:r,...E(i)})}function jk(e,t,r){return new e({type:"set",valueType:t,...E(r)})}function Ek(e,t,r){const i=Array.isArray(t)?Object.fromEntries(t.map(n=>[n,n])):t;return new e({type:"enum",entries:i,...E(r)})}function Dk(e,t,r){return new e({type:"enum",entries:t,...E(r)})}function Ck(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],...E(r)})}function Mh(e,t){return new e({type:"file",...E(t)})}function Ok(e,t){return new e({type:"transform",transform:t})}function Ak(e,t){return new e({type:"optional",innerType:t})}function Nk(e,t){return new e({type:"nullable",innerType:t})}function Uk(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return typeof r=="function"?r():si(r)}})}function Rk(e,t,r){return new e({type:"nonoptional",innerType:t,...E(r)})}function Lk(e,t){return new e({type:"success",innerType:t})}function Mk(e,t,r){return new e({type:"catch",innerType:t,catchValue:typeof r=="function"?r:()=>r})}function Zk(e,t,r){return new e({type:"pipe",in:t,out:r})}function Fk(e,t){return new e({type:"readonly",innerType:t})}function qk(e,t,r){return new e({type:"template_literal",parts:t,...E(r)})}function Hk(e,t){return new e({type:"lazy",getter:t})}function Jk(e,t){return new e({type:"promise",innerType:t})}function Zh(e,t,r){const i=E(r);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:t,...i})}function Fh(e,t,r){return new e({type:"custom",check:"custom",fn:t,...E(r)})}function qh(e,t){const r=Hh(i=>(i.addIssue=n=>{if(typeof n=="string")i.issues.push(mn(n,i.value,r._zod.def));else{const o=n;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=i.value),o.inst??(o.inst=r),o.continue??(o.continue=!r._zod.def.abort),i.issues.push(mn(o))}},e(i.value,i)),t);return r}function Hh(e,t){const r=new Ee({check:"custom",...E(t)});return r._zod.check=e,r}function Jh(e){const t=new Ee({check:"describe"});return t._zod.onattach=[r=>{const i=Qe.get(r)??{};Qe.add(r,{...i,description:e})}],t._zod.check=()=>{},t}function Bh(e){const t=new Ee({check:"meta"});return t._zod.onattach=[r=>{const i=Qe.get(r)??{};Qe.add(r,{...i,...e})}],t._zod.check=()=>{},t}function Vh(e,t){const r=E(t);let i=r.truthy??["true","1","yes","on","y","enabled"],n=r.falsy??["false","0","no","off","n","disabled"];r.case!=="sensitive"&&(i=i.map(f=>typeof f=="string"?f.toLowerCase():f),n=n.map(f=>typeof f=="string"?f.toLowerCase():f));const o=new Set(i),a=new Set(n),s=e.Codec??Fs,u=e.Boolean??Us,l=e.String??pr,d=new l({type:"string",error:r.error}),p=new u({type:"boolean",error:r.error}),m=new s({type:"pipe",in:d,out:p,transform:((f,h)=>{let g=f;return r.case!=="sensitive"&&(g=g.toLowerCase()),o.has(g)?!0:a.has(g)?!1:(h.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...a],input:h.value,inst:m,continue:!1}),{})}),reverseTransform:((f,h)=>f===!0?i[0]||"true":n[0]||"false"),error:r.error});return m}function Ir(e,t,r,i={}){const n=E(i),o={...E(i),check:"string_format",type:"string",format:t,fn:typeof r=="function"?r:s=>r.test(s),...n};return r instanceof RegExp&&(o.pattern=r),new e(o)}function fn(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??Qe,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 xe(e,t,r={path:[],schemaPath:[]}){var i;const n=e._zod.def,o=t.seen.get(e);if(o)return o.count++,r.schemaPath.includes(e)&&(o.cycle=r.path),o.schema;const a={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,a);const s=e._zod.toJSONSchema?.();if(s)a.schema=s;else{const d={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,d);else{const m=a.schema,f=t.processors[n.type];if(!f)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${n.type}`);f(e,t,m,d)}const p=e._zod.parent;p&&(a.ref||(a.ref=p),xe(p,t,d),t.seen.get(p).isParent=!0)}const u=t.metadataRegistry.get(e);return u&&Object.assign(a.schema,u),t.io==="input"&&Ke(e)&&(delete a.schema.examples,delete a.schema.default),t.io==="input"&&"_prefault"in a.schema&&((i=a.schema).default??(i.default=a.schema._prefault)),delete a.schema._prefault,t.seen.get(e).schema}function hn(e,t){const r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const i=new Map;for(const a of e.seen.entries()){const s=e.metadataRegistry.get(a[0])?.id;if(s){const u=i.get(s);if(u&&u!==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])}}const n=a=>{const s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const p=e.external.registry.get(a[0])?.id,m=e.external.uri??(h=>h);if(p)return{ref:m(p)};const 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]===r)return{ref:"#"};const l=`#/${s}/`,d=a[1].schema.id??`__schema${e.counter++}`;return{defId:d,ref:l+d}},o=a=>{if(a[1].schema.$ref)return;const s=a[1],{ref:u,defId:l}=n(a);s.def={...s.schema},l&&(s.defId=l);const d=s.schema;for(const p in d)delete d[p];d.$ref=u};if(e.cycles==="throw")for(const a of e.seen.entries()){const s=a[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join("/")}/<root>
|
|
108
|
+
`)}P.write("payload.value = newResult;"),P.write("return payload;");const de=P.compile();return(se,Y)=>de(T,se,Y)};let a;const c=Qr,p=!fi.jitless,h=p&&Jv.value,y=r.catchall;let k;n._zod.parse=(T,P)=>{k??(k=l.value);const Z=T.value;return c(Z)?p&&h&&P?.async===!1&&P.jitless!==!0?(a||(a=t(r.shape)),T=a(T,P),y?K0([],Z,T,P,k,n):T):i(T,P):(T.issues.push({expected:"object",code:"invalid_type",input:Z,inst:n}),T)}});function dv(n,r,i,l){for(const a of n)if(a.issues.length===0)return r.value=a.value,r;const t=n.filter(a=>!gr(a));return t.length===1?(r.value=t[0].value,t[0]):(r.issues.push({code:"invalid_union",input:r.value,inst:i,errors:n.map(a=>a.issues.map(c=>Rt(c,l,Xe())))}),r)}const Xs=S("$ZodUnion",(n,r)=>{le.init(n,r),pe(n._zod,"optin",()=>r.options.some(l=>l._zod.optin==="optional")?"optional":void 0),pe(n._zod,"optout",()=>r.options.some(l=>l._zod.optout==="optional")?"optional":void 0),pe(n._zod,"values",()=>{if(r.options.every(l=>l._zod.values))return new Set(r.options.flatMap(l=>Array.from(l._zod.values)))}),pe(n._zod,"pattern",()=>{if(r.options.every(l=>l._zod.pattern)){const l=r.options.map(t=>t._zod.pattern);return new RegExp(`^(${l.map(t=>Js(t.source)).join("|")})$`)}});const i=r.options.length===1?r.options[0]._zod.run:null;n._zod.parse=(l,t)=>{if(i)return i(l,t);let a=!1;const c=[];for(const p of r.options){const g=p._zod.run({value:l.value,issues:[]},t);if(g instanceof Promise)c.push(g),a=!0;else{if(g.issues.length===0)return g;c.push(g)}}return a?Promise.all(c).then(p=>dv(p,l,n,t)):dv(c,l,n,t)}});function fv(n,r,i,l){const t=n.filter(a=>a.issues.length===0);return t.length===1?(r.value=t[0].value,r):(t.length===0?r.issues.push({code:"invalid_union",input:r.value,inst:i,errors:n.map(a=>a.issues.map(c=>Rt(c,l,Xe())))}):r.issues.push({code:"invalid_union",input:r.value,inst:i,errors:[],inclusive:!1}),r)}const X0=S("$ZodXor",(n,r)=>{Xs.init(n,r),r.inclusive=!1;const i=r.options.length===1?r.options[0]._zod.run:null;n._zod.parse=(l,t)=>{if(i)return i(l,t);let a=!1;const c=[];for(const p of r.options){const g=p._zod.run({value:l.value,issues:[]},t);g instanceof Promise?(c.push(g),a=!0):c.push(g)}return a?Promise.all(c).then(p=>fv(p,l,n,t)):fv(c,l,n,t)}}),Y0=S("$ZodDiscriminatedUnion",(n,r)=>{r.inclusive=!1,Xs.init(n,r);const i=n._zod.parse;pe(n._zod,"propValues",()=>{const t={};for(const a of r.options){const c=a._zod.propValues;if(!c||Object.keys(c).length===0)throw new Error(`Invalid discriminated union option at index "${r.options.indexOf(a)}"`);for(const[p,g]of Object.entries(c)){t[p]||(t[p]=new Set);for(const h of g)t[p].add(h)}}return t});const l=vi(()=>{const t=r.options,a=new Map;for(const c of t){const p=c._zod.propValues?.[r.discriminator];if(!p||p.size===0)throw new Error(`Invalid discriminated union option at index "${r.options.indexOf(c)}"`);for(const g of p){if(a.has(g))throw new Error(`Duplicate discriminator value "${String(g)}"`);a.set(g,c)}}return a});n._zod.parse=(t,a)=>{const c=t.value;if(!Qr(c))return t.issues.push({code:"invalid_type",expected:"object",input:c,inst:n}),t;const p=l.value.get(c?.[r.discriminator]);return p?p._zod.run(t,a):r.unionFallback||a.direction==="backward"?i(t,a):(t.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:r.discriminator,options:Array.from(l.value.keys()),input:c,path:[r.discriminator],inst:n}),t)}}),e_=S("$ZodIntersection",(n,r)=>{le.init(n,r),n._zod.parse=(i,l)=>{const t=i.value,a=r.left._zod.run({value:t,issues:[]},l),c=r.right._zod.run({value:t,issues:[]},l);return a instanceof Promise||c instanceof Promise?Promise.all([a,c]).then(([g,h])=>pv(i,g,h)):pv(i,a,c)}});function id(n,r){if(n===r)return{valid:!0,data:n};if(n instanceof Date&&r instanceof Date&&+n==+r)return{valid:!0,data:n};if(vr(n)&&vr(r)){const i=Object.keys(r),l=Object.keys(n).filter(a=>i.indexOf(a)!==-1),t={...n,...r};for(const a of l){const c=id(n[a],r[a]);if(!c.valid)return{valid:!1,mergeErrorPath:[a,...c.mergeErrorPath]};t[a]=c.data}return{valid:!0,data:t}}if(Array.isArray(n)&&Array.isArray(r)){if(n.length!==r.length)return{valid:!1,mergeErrorPath:[]};const i=[];for(let l=0;l<n.length;l++){const t=n[l],a=r[l],c=id(t,a);if(!c.valid)return{valid:!1,mergeErrorPath:[l,...c.mergeErrorPath]};i.push(c.data)}return{valid:!0,data:i}}return{valid:!1,mergeErrorPath:[]}}function pv(n,r,i){const l=new Map;let t;for(const p of r.issues)if(p.code==="unrecognized_keys"){t??(t=p);for(const g of p.keys)l.has(g)||l.set(g,{}),l.get(g).l=!0}else n.issues.push(p);for(const p of i.issues)if(p.code==="unrecognized_keys")for(const g of p.keys)l.has(g)||l.set(g,{}),l.get(g).r=!0;else n.issues.push(p);const a=[...l].filter(([,p])=>p.l&&p.r).map(([p])=>p);if(a.length&&t&&n.issues.push({...t,keys:a}),gr(n))return n;const c=id(r.value,i.value);if(!c.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(c.mergeErrorPath)}`);return n.value=c.data,n}const Dd=S("$ZodTuple",(n,r)=>{le.init(n,r);const i=r.items;n._zod.parse=(l,t)=>{const a=l.value;if(!Array.isArray(a))return l.issues.push({input:a,inst:n,expected:"tuple",code:"invalid_type"}),l;l.value=[];const c=[],p=mv(i,"optin"),g=mv(i,"optout");if(!r.rest){if(a.length<p)return l.issues.push({code:"too_small",minimum:p,inclusive:!0,input:a,inst:n,origin:"array"}),l;a.length>i.length&&l.issues.push({code:"too_big",maximum:i.length,inclusive:!0,input:a,inst:n,origin:"array"})}const h=new Array(i.length);for(let y=0;y<i.length;y++){const k=i[y]._zod.run({value:a[y],issues:[]},t);k instanceof Promise?c.push(k.then(T=>{h[y]=T})):h[y]=k}if(r.rest){let y=i.length-1;const k=a.slice(i.length);for(const T of k){y++;const P=r.rest._zod.run({value:T,issues:[]},t);P instanceof Promise?c.push(P.then(Z=>gv(Z,l,y))):gv(P,l,y)}}return c.length?Promise.all(c).then(()=>hv(h,l,i,a,g)):hv(h,l,i,a,g)}});function mv(n,r){for(let i=n.length-1;i>=0;i--)if(n[i]._zod[r]!=="optional")return i+1;return 0}function gv(n,r,i){n.issues.length&&r.issues.push(...Wt(i,n.issues)),r.value[i]=n.value}function hv(n,r,i,l,t){for(let a=0;a<i.length;a++){const c=n[a],p=a<l.length;if(c.issues.length){if(!p&&a>=t){r.value.length=a;break}r.issues.push(...Wt(a,c.issues))}r.value[a]=c.value}for(let a=r.value.length-1;a>=l.length&&(i[a]._zod.optout==="optional"&&r.value[a]===void 0);a--)r.value.length=a;return r}const t_=S("$ZodRecord",(n,r)=>{le.init(n,r),n._zod.parse=(i,l)=>{const t=i.value;if(!vr(t))return i.issues.push({expected:"record",code:"invalid_type",input:t,inst:n}),i;const a=[],c=r.keyType._zod.values;if(c){i.value={};const p=new Set;for(const h of c)if(typeof h=="string"||typeof h=="number"||typeof h=="symbol"){p.add(typeof h=="number"?h.toString():h);const y=r.keyType._zod.run({value:h,issues:[]},l);if(y instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(y.issues.length){i.issues.push({code:"invalid_key",origin:"record",issues:y.issues.map(P=>Rt(P,l,Xe())),input:h,path:[h],inst:n});continue}const k=y.value,T=r.valueType._zod.run({value:t[h],issues:[]},l);T instanceof Promise?a.push(T.then(P=>{P.issues.length&&i.issues.push(...Wt(h,P.issues)),i.value[k]=P.value})):(T.issues.length&&i.issues.push(...Wt(h,T.issues)),i.value[k]=T.value)}let g;for(const h in t)p.has(h)||(g=g??[],g.push(h));g&&g.length>0&&i.issues.push({code:"unrecognized_keys",input:t,inst:n,keys:g})}else{i.value={};for(const p of Reflect.ownKeys(t)){if(p==="__proto__"||!Object.prototype.propertyIsEnumerable.call(t,p))continue;let g=r.keyType._zod.run({value:p,issues:[]},l);if(g instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof p=="string"&&Td.test(p)&&g.issues.length){const k=r.keyType._zod.run({value:Number(p),issues:[]},l);if(k instanceof Promise)throw new Error("Async schemas not supported in object keys currently");k.issues.length===0&&(g=k)}if(g.issues.length){r.mode==="loose"?i.value[p]=t[p]:i.issues.push({code:"invalid_key",origin:"record",issues:g.issues.map(k=>Rt(k,l,Xe())),input:p,path:[p],inst:n});continue}const y=r.valueType._zod.run({value:t[p],issues:[]},l);y instanceof Promise?a.push(y.then(k=>{k.issues.length&&i.issues.push(...Wt(p,k.issues)),i.value[g.value]=k.value})):(y.issues.length&&i.issues.push(...Wt(p,y.issues)),i.value[g.value]=y.value)}}return a.length?Promise.all(a).then(()=>i):i}}),n_=S("$ZodMap",(n,r)=>{le.init(n,r),n._zod.parse=(i,l)=>{const t=i.value;if(!(t instanceof Map))return i.issues.push({expected:"map",code:"invalid_type",input:t,inst:n}),i;const a=[];i.value=new Map;for(const[c,p]of t){const g=r.keyType._zod.run({value:c,issues:[]},l),h=r.valueType._zod.run({value:p,issues:[]},l);g instanceof Promise||h instanceof Promise?a.push(Promise.all([g,h]).then(([y,k])=>{vv(y,k,i,c,t,n,l)})):vv(g,h,i,c,t,n,l)}return a.length?Promise.all(a).then(()=>i):i}});function vv(n,r,i,l,t,a,c){n.issues.length&&(Ls.has(typeof l)?i.issues.push(...Wt(l,n.issues)):i.issues.push({code:"invalid_key",origin:"map",input:t,inst:a,issues:n.issues.map(p=>Rt(p,c,Xe()))})),r.issues.length&&(Ls.has(typeof l)?i.issues.push(...Wt(l,r.issues)):i.issues.push({origin:"map",code:"invalid_element",input:t,inst:a,key:l,issues:r.issues.map(p=>Rt(p,c,Xe()))})),i.value.set(n.value,r.value)}const r_=S("$ZodSet",(n,r)=>{le.init(n,r),n._zod.parse=(i,l)=>{const t=i.value;if(!(t instanceof Set))return i.issues.push({input:t,inst:n,expected:"set",code:"invalid_type"}),i;const a=[];i.value=new Set;for(const c of t){const p=r.valueType._zod.run({value:c,issues:[]},l);p instanceof Promise?a.push(p.then(g=>yv(g,i))):yv(p,i)}return a.length?Promise.all(a).then(()=>i):i}});function yv(n,r){n.issues.length&&r.issues.push(...n.issues),r.value.add(n.value)}const o_=S("$ZodEnum",(n,r)=>{le.init(n,r);const i=dd(r.entries),l=new Set(i);n._zod.values=l,n._zod.pattern=new RegExp(`^(${i.filter(t=>Ls.has(typeof t)).map(t=>typeof t=="string"?xn(t):t.toString()).join("|")})$`),n._zod.parse=(t,a)=>{const c=t.value;return l.has(c)||t.issues.push({code:"invalid_value",values:i,input:c,inst:n}),t}}),i_=S("$ZodLiteral",(n,r)=>{if(le.init(n,r),r.values.length===0)throw new Error("Cannot create literal schema with no valid values");const i=new Set(r.values);n._zod.values=i,n._zod.pattern=new RegExp(`^(${r.values.map(l=>typeof l=="string"?xn(l):l?xn(l.toString()):String(l)).join("|")})$`),n._zod.parse=(l,t)=>{const a=l.value;return i.has(a)||l.issues.push({code:"invalid_value",values:r.values,input:a,inst:n}),l}}),a_=S("$ZodFile",(n,r)=>{le.init(n,r),n._zod.parse=(i,l)=>{const t=i.value;return t instanceof File||i.issues.push({expected:"file",code:"invalid_type",input:t,inst:n}),i}}),s_=S("$ZodTransform",(n,r)=>{le.init(n,r),n._zod.optin="optional",n._zod.parse=(i,l)=>{if(l.direction==="backward")throw new Hs(n.constructor.name);const t=r.transform(i.value,i);if(l.async)return(t instanceof Promise?t:Promise.resolve(t)).then(c=>(i.value=c,i.fallback=!0,i));if(t instanceof Promise)throw new hr;return i.value=t,i.fallback=!0,i}});function _v(n,r){return r===void 0&&(n.issues.length||n.fallback)?{issues:[],value:void 0}:n}const Cd=S("$ZodOptional",(n,r)=>{le.init(n,r),n._zod.optin="optional",n._zod.optout="optional",pe(n._zod,"values",()=>r.innerType._zod.values?new Set([...r.innerType._zod.values,void 0]):void 0),pe(n._zod,"pattern",()=>{const i=r.innerType._zod.pattern;return i?new RegExp(`^(${Js(i.source)})?$`):void 0}),n._zod.parse=(i,l)=>{if(r.innerType._zod.optin==="optional"){const t=i.value,a=r.innerType._zod.run(i,l);return a instanceof Promise?a.then(c=>_v(c,t)):_v(a,t)}return i.value===void 0?i:r.innerType._zod.run(i,l)}}),l_=S("$ZodExactOptional",(n,r)=>{Cd.init(n,r),pe(n._zod,"values",()=>r.innerType._zod.values),pe(n._zod,"pattern",()=>r.innerType._zod.pattern),n._zod.parse=(i,l)=>r.innerType._zod.run(i,l)}),u_=S("$ZodNullable",(n,r)=>{le.init(n,r),pe(n._zod,"optin",()=>r.innerType._zod.optin),pe(n._zod,"optout",()=>r.innerType._zod.optout),pe(n._zod,"pattern",()=>{const i=r.innerType._zod.pattern;return i?new RegExp(`^(${Js(i.source)}|null)$`):void 0}),pe(n._zod,"values",()=>r.innerType._zod.values?new Set([...r.innerType._zod.values,null]):void 0),n._zod.parse=(i,l)=>i.value===null?i:r.innerType._zod.run(i,l)}),c_=S("$ZodDefault",(n,r)=>{le.init(n,r),n._zod.optin="optional",pe(n._zod,"values",()=>r.innerType._zod.values),n._zod.parse=(i,l)=>{if(l.direction==="backward")return r.innerType._zod.run(i,l);if(i.value===void 0)return i.value=r.defaultValue,i;const t=r.innerType._zod.run(i,l);return t instanceof Promise?t.then(a=>$v(a,r)):$v(t,r)}});function $v(n,r){return n.value===void 0&&(n.value=r.defaultValue),n}const d_=S("$ZodPrefault",(n,r)=>{le.init(n,r),n._zod.optin="optional",pe(n._zod,"values",()=>r.innerType._zod.values),n._zod.parse=(i,l)=>(l.direction==="backward"||i.value===void 0&&(i.value=r.defaultValue),r.innerType._zod.run(i,l))}),f_=S("$ZodNonOptional",(n,r)=>{le.init(n,r),pe(n._zod,"values",()=>{const i=r.innerType._zod.values;return i?new Set([...i].filter(l=>l!==void 0)):void 0}),n._zod.parse=(i,l)=>{const t=r.innerType._zod.run(i,l);return t instanceof Promise?t.then(a=>kv(a,n)):kv(t,n)}});function kv(n,r){return!n.issues.length&&n.value===void 0&&n.issues.push({code:"invalid_type",expected:"nonoptional",input:n.value,inst:r}),n}const p_=S("$ZodSuccess",(n,r)=>{le.init(n,r),n._zod.parse=(i,l)=>{if(l.direction==="backward")throw new Hs("ZodSuccess");const t=r.innerType._zod.run(i,l);return t instanceof Promise?t.then(a=>(i.value=a.issues.length===0,i)):(i.value=t.issues.length===0,i)}}),m_=S("$ZodCatch",(n,r)=>{le.init(n,r),n._zod.optin="optional",pe(n._zod,"optout",()=>r.innerType._zod.optout),pe(n._zod,"values",()=>r.innerType._zod.values),n._zod.parse=(i,l)=>{if(l.direction==="backward")return r.innerType._zod.run(i,l);const t=r.innerType._zod.run(i,l);return t instanceof Promise?t.then(a=>(i.value=a.value,a.issues.length&&(i.value=r.catchValue({...i,error:{issues:a.issues.map(c=>Rt(c,l,Xe()))},input:i.value}),i.issues=[],i.fallback=!0),i)):(i.value=t.value,t.issues.length&&(i.value=r.catchValue({...i,error:{issues:t.issues.map(a=>Rt(a,l,Xe()))},input:i.value}),i.issues=[],i.fallback=!0),i)}}),g_=S("$ZodNaN",(n,r)=>{le.init(n,r),n._zod.parse=(i,l)=>((typeof i.value!="number"||!Number.isNaN(i.value))&&i.issues.push({input:i.value,inst:n,expected:"nan",code:"invalid_type"}),i)}),Rd=S("$ZodPipe",(n,r)=>{le.init(n,r),pe(n._zod,"values",()=>r.in._zod.values),pe(n._zod,"optin",()=>r.in._zod.optin),pe(n._zod,"optout",()=>r.out._zod.optout),pe(n._zod,"propValues",()=>r.in._zod.propValues),n._zod.parse=(i,l)=>{if(l.direction==="backward"){const a=r.out._zod.run(i,l);return a instanceof Promise?a.then(c=>Es(c,r.in,l)):Es(a,r.in,l)}const t=r.in._zod.run(i,l);return t instanceof Promise?t.then(a=>Es(a,r.out,l)):Es(t,r.out,l)}});function Es(n,r,i){return n.issues.length?(n.aborted=!0,n):r._zod.run({value:n.value,issues:n.issues,fallback:n.fallback},i)}const Ld=S("$ZodCodec",(n,r)=>{le.init(n,r),pe(n._zod,"values",()=>r.in._zod.values),pe(n._zod,"optin",()=>r.in._zod.optin),pe(n._zod,"optout",()=>r.out._zod.optout),pe(n._zod,"propValues",()=>r.in._zod.propValues),n._zod.parse=(i,l)=>{if((l.direction||"forward")==="forward"){const a=r.in._zod.run(i,l);return a instanceof Promise?a.then(c=>Ps(c,r,l)):Ps(a,r,l)}else{const a=r.out._zod.run(i,l);return a instanceof Promise?a.then(c=>Ps(c,r,l)):Ps(a,r,l)}}});function Ps(n,r,i){if(n.issues.length)return n.aborted=!0,n;if((i.direction||"forward")==="forward"){const t=r.transform(n.value,n);return t instanceof Promise?t.then(a=>Ns(n,a,r.out,i)):Ns(n,t,r.out,i)}else{const t=r.reverseTransform(n.value,n);return t instanceof Promise?t.then(a=>Ns(n,a,r.in,i)):Ns(n,t,r.in,i)}}function Ns(n,r,i,l){return n.issues.length?(n.aborted=!0,n):i._zod.run({value:r,issues:n.issues},l)}const h_=S("$ZodPreprocess",(n,r)=>{Rd.init(n,r)}),v_=S("$ZodReadonly",(n,r)=>{le.init(n,r),pe(n._zod,"propValues",()=>r.innerType._zod.propValues),pe(n._zod,"values",()=>r.innerType._zod.values),pe(n._zod,"optin",()=>r.innerType?._zod?.optin),pe(n._zod,"optout",()=>r.innerType?._zod?.optout),n._zod.parse=(i,l)=>{if(l.direction==="backward")return r.innerType._zod.run(i,l);const t=r.innerType._zod.run(i,l);return t instanceof Promise?t.then(Sv):Sv(t)}});function Sv(n){return n.value=Object.freeze(n.value),n}const y_=S("$ZodTemplateLiteral",(n,r)=>{le.init(n,r);const i=[];for(const l of r.parts)if(typeof l=="object"&&l!==null){if(!l._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...l._zod.traits].shift()}`);const t=l._zod.pattern instanceof RegExp?l._zod.pattern.source:l._zod.pattern;if(!t)throw new Error(`Invalid template literal part: ${l._zod.traits}`);const a=t.startsWith("^")?1:0,c=t.endsWith("$")?t.length-1:t.length;i.push(t.slice(a,c))}else if(l===null||Vv.has(typeof l))i.push(xn(`${l}`));else throw new Error(`Invalid template literal part: ${l}`);n._zod.pattern=new RegExp(`^${i.join("")}$`),n._zod.parse=(l,t)=>typeof l.value!="string"?(l.issues.push({input:l.value,inst:n,expected:"string",code:"invalid_type"}),l):(n._zod.pattern.lastIndex=0,n._zod.pattern.test(l.value)||l.issues.push({input:l.value,inst:n,code:"invalid_format",format:r.format??"template_literal",pattern:n._zod.pattern.source}),l)}),__=S("$ZodFunction",(n,r)=>(le.init(n,r),n._def=r,n._zod.def=r,n.implement=i=>{if(typeof i!="function")throw new Error("implement() must be called with a function");return function(...l){const t=n._def.input?rd(n._def.input,l):l,a=Reflect.apply(i,this,t);return n._def.output?rd(n._def.output,a):a}},n.implementAsync=i=>{if(typeof i!="function")throw new Error("implementAsync() must be called with a function");return async function(...l){const t=n._def.input?await od(n._def.input,l):l,a=await Reflect.apply(i,this,t);return n._def.output?await od(n._def.output,a):a}},n._zod.parse=(i,l)=>typeof i.value!="function"?(i.issues.push({code:"invalid_type",expected:"function",input:i.value,inst:n}),i):(n._def.output&&n._def.output._zod.def.type==="promise"?i.value=n.implementAsync(i.value):i.value=n.implement(i.value),i),n.input=(...i)=>{const l=n.constructor;return Array.isArray(i[0])?new l({type:"function",input:new Dd({type:"tuple",items:i[0],rest:i[1]}),output:n._def.output}):new l({type:"function",input:i[0],output:n._def.output})},n.output=i=>{const l=n.constructor;return new l({type:"function",input:n._def.input,output:i})},n)),$_=S("$ZodPromise",(n,r)=>{le.init(n,r),n._zod.parse=(i,l)=>Promise.resolve(i.value).then(t=>r.innerType._zod.run({value:t,issues:[]},l))}),k_=S("$ZodLazy",(n,r)=>{le.init(n,r),pe(n._zod,"innerType",()=>{const i=r;return i._cachedInner||(i._cachedInner=r.getter()),i._cachedInner}),pe(n._zod,"pattern",()=>n._zod.innerType?._zod?.pattern),pe(n._zod,"propValues",()=>n._zod.innerType?._zod?.propValues),pe(n._zod,"optin",()=>n._zod.innerType?._zod?.optin??void 0),pe(n._zod,"optout",()=>n._zod.innerType?._zod?.optout??void 0),n._zod.parse=(i,l)=>n._zod.innerType._zod.run(i,l)}),S_=S("$ZodCustom",(n,r)=>{Me.init(n,r),le.init(n,r),n._zod.parse=(i,l)=>i,n._zod.check=i=>{const l=i.value,t=r.fn(l);if(t instanceof Promise)return t.then(a=>wv(a,i,l,n));wv(t,i,l,n)}});function wv(n,r,i,l){if(!n){const t={code:"custom",input:i,inst:l,path:[...l._zod.def.path??[]],continue:!l._zod.def.abort};l._zod.def.params&&(t.params=l._zod.def.params),r.issues.push(Xr(t))}}const N1=()=>{const n={string:{unit:"حرف",verb:"أن يحوي"},file:{unit:"بايت",verb:"أن يحوي"},array:{unit:"عنصر",verb:"أن يحوي"},set:{unit:"عنصر",verb:"أن يحوي"}};function r(t){return n[t]??null}const i={regex:"مدخل",email:"بريد إلكتروني",url:"رابط",emoji:"إيموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاريخ ووقت بمعيار ISO",date:"تاريخ بمعيار ISO",time:"وقت بمعيار ISO",duration:"مدة بمعيار ISO",ipv4:"عنوان IPv4",ipv6:"عنوان IPv6",cidrv4:"مدى عناوين بصيغة IPv4",cidrv6:"مدى عناوين بصيغة IPv6",base64:"نَص بترميز base64-encoded",base64url:"نَص بترميز base64url-encoded",json_string:"نَص على هيئة JSON",e164:"رقم هاتف بمعيار E.164",jwt:"JWT",template_literal:"مدخل"},l={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`مدخلات غير مقبولة: يفترض إدخال instanceof ${t.expected}، ولكن تم إدخال ${p}`:`مدخلات غير مقبولة: يفترض إدخال ${a}، ولكن تم إدخال ${p}`}case"invalid_value":return t.values.length===1?`مدخلات غير مقبولة: يفترض إدخال ${ee(t.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?` أكبر من اللازم: يفترض أن تكون ${t.origin??"القيمة"} ${a} ${t.maximum.toString()} ${c.unit??"عنصر"}`:`أكبر من اللازم: يفترض أن تكون ${t.origin??"القيمة"} ${a} ${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${a} ${t.minimum.toString()} ${c.unit}`:`أصغر من اللازم: يفترض لـ ${t.origin} أن يكون ${a} ${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`نَص غير مقبول: يجب أن يبدأ بـ "${t.prefix}"`:a.format==="ends_with"?`نَص غير مقبول: يجب أن ينتهي بـ "${a.suffix}"`:a.format==="includes"?`نَص غير مقبول: يجب أن يتضمَّن "${a.includes}"`:a.format==="regex"?`نَص غير مقبول: يجب أن يطابق النمط ${a.pattern}`:`${i[a.format]??t.format} غير مقبول`}case"not_multiple_of":return`رقم غير مقبول: يجب أن يكون من مضاعفات ${t.divisor}`;case"unrecognized_keys":return`معرف${t.keys.length>1?"ات":""} غريب${t.keys.length>1?"ة":""}: ${R(t.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${t.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${t.origin}`;default:return"مدخل غير مقبول"}}};function O1(){return{localeError:N1()}}const U1=()=>{const n={string:{unit:"simvol",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"element",verb:"olmalıdır"},set:{unit:"element",verb:"olmalıdır"}};function r(t){return n[t]??null}const i={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"},l={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Yanlış dəyər: gözlənilən instanceof ${t.expected}, daxil olan ${p}`:`Yanlış dəyər: gözlənilən ${a}, daxil olan ${p}`}case"invalid_value":return t.values.length===1?`Yanlış dəyər: gözlənilən ${ee(t.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Çox böyük: gözlənilən ${t.origin??"dəyər"} ${a}${t.maximum.toString()} ${c.unit??"element"}`:`Çox böyük: gözlənilən ${t.origin??"dəyər"} ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Çox kiçik: gözlənilən ${t.origin} ${a}${t.minimum.toString()} ${c.unit}`:`Çox kiçik: gözlənilən ${t.origin} ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Yanlış mətn: "${a.prefix}" ilə başlamalıdır`:a.format==="ends_with"?`Yanlış mətn: "${a.suffix}" ilə bitməlidir`:a.format==="includes"?`Yanlış mətn: "${a.includes}" daxil olmalıdır`:a.format==="regex"?`Yanlış mətn: ${a.pattern} şablonuna uyğun olmalıdır`:`Yanlış ${i[a.format]??t.format}`}case"not_multiple_of":return`Yanlış ədəd: ${t.divisor} ilə bölünə bilən olmalıdır`;case"unrecognized_keys":return`Tanınmayan açar${t.keys.length>1?"lar":""}: ${R(t.keys,", ")}`;case"invalid_key":return`${t.origin} daxilində yanlış açar`;case"invalid_union":return"Yanlış dəyər";case"invalid_element":return`${t.origin} daxilində yanlış dəyər`;default:return"Yanlış dəyər"}}};function D1(){return{localeError:U1()}}function bv(n,r,i,l){const t=Math.abs(n),a=t%10,c=t%100;return c>=11&&c<=19?l:a===1?r:a>=2&&a<=4?i:l}const C1=()=>{const n={string:{unit:{one:"сімвал",few:"сімвалы",many:"сімвалаў"},verb:"мець"},array:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},set:{unit:{one:"элемент",few:"элементы",many:"элементаў"},verb:"мець"},file:{unit:{one:"байт",few:"байты",many:"байтаў"},verb:"мець"}};function r(t){return n[t]??null}const i={regex:"увод",email:"email адрас",url:"URL",emoji:"эмодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата і час",date:"ISO дата",time:"ISO час",duration:"ISO працягласць",ipv4:"IPv4 адрас",ipv6:"IPv6 адрас",cidrv4:"IPv4 дыяпазон",cidrv6:"IPv6 дыяпазон",base64:"радок у фармаце base64",base64url:"радок у фармаце base64url",json_string:"JSON радок",e164:"нумар E.164",jwt:"JWT",template_literal:"увод"},l={nan:"NaN",number:"лік",array:"масіў"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Няправільны ўвод: чакаўся instanceof ${t.expected}, атрымана ${p}`:`Няправільны ўвод: чакаўся ${a}, атрымана ${p}`}case"invalid_value":return t.values.length===1?`Няправільны ўвод: чакалася ${ee(t.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);if(c){const p=Number(t.maximum),g=bv(p,c.unit.one,c.unit.few,c.unit.many);return`Занадта вялікі: чакалася, што ${t.origin??"значэнне"} павінна ${c.verb} ${a}${t.maximum.toString()} ${g}`}return`Занадта вялікі: чакалася, што ${t.origin??"значэнне"} павінна быць ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);if(c){const p=Number(t.minimum),g=bv(p,c.unit.one,c.unit.few,c.unit.many);return`Занадта малы: чакалася, што ${t.origin} павінна ${c.verb} ${a}${t.minimum.toString()} ${g}`}return`Занадта малы: чакалася, што ${t.origin} павінна быць ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Няправільны радок: павінен пачынацца з "${a.prefix}"`:a.format==="ends_with"?`Няправільны радок: павінен заканчвацца на "${a.suffix}"`:a.format==="includes"?`Няправільны радок: павінен змяшчаць "${a.includes}"`:a.format==="regex"?`Няправільны радок: павінен адпавядаць шаблону ${a.pattern}`:`Няправільны ${i[a.format]??t.format}`}case"not_multiple_of":return`Няправільны лік: павінен быць кратным ${t.divisor}`;case"unrecognized_keys":return`Нераспазнаны ${t.keys.length>1?"ключы":"ключ"}: ${R(t.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${t.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${t.origin}`;default:return"Няправільны ўвод"}}};function R1(){return{localeError:C1()}}const L1=()=>{const n={string:{unit:"символа",verb:"да съдържа"},file:{unit:"байта",verb:"да съдържа"},array:{unit:"елемента",verb:"да съдържа"},set:{unit:"елемента",verb:"да съдържа"}};function r(t){return n[t]??null}const i={regex:"вход",email:"имейл адрес",url:"URL",emoji:"емоджи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO време",date:"ISO дата",time:"ISO време",duration:"ISO продължителност",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"base64-кодиран низ",base64url:"base64url-кодиран низ",json_string:"JSON низ",e164:"E.164 номер",jwt:"JWT",template_literal:"вход"},l={nan:"NaN",number:"число",array:"масив"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Невалиден вход: очакван instanceof ${t.expected}, получен ${p}`:`Невалиден вход: очакван ${a}, получен ${p}`}case"invalid_value":return t.values.length===1?`Невалиден вход: очакван ${ee(t.values[0])}`:`Невалидна опция: очаквано едно от ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Твърде голямо: очаква се ${t.origin??"стойност"} да съдържа ${a}${t.maximum.toString()} ${c.unit??"елемента"}`:`Твърде голямо: очаква се ${t.origin??"стойност"} да бъде ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Твърде малко: очаква се ${t.origin} да съдържа ${a}${t.minimum.toString()} ${c.unit}`:`Твърде малко: очаква се ${t.origin} да бъде ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;if(a.format==="starts_with")return`Невалиден низ: трябва да започва с "${a.prefix}"`;if(a.format==="ends_with")return`Невалиден низ: трябва да завършва с "${a.suffix}"`;if(a.format==="includes")return`Невалиден низ: трябва да включва "${a.includes}"`;if(a.format==="regex")return`Невалиден низ: трябва да съвпада с ${a.pattern}`;let c="Невалиден";return a.format==="emoji"&&(c="Невалидно"),a.format==="datetime"&&(c="Невалидно"),a.format==="date"&&(c="Невалидна"),a.format==="time"&&(c="Невалидно"),a.format==="duration"&&(c="Невалидна"),`${c} ${i[a.format]??t.format}`}case"not_multiple_of":return`Невалидно число: трябва да бъде кратно на ${t.divisor}`;case"unrecognized_keys":return`Неразпознат${t.keys.length>1?"и":""} ключ${t.keys.length>1?"ове":""}: ${R(t.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${t.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${t.origin}`;default:return"Невалиден вход"}}};function Z1(){return{localeError:L1()}}const M1=()=>{const n={string:{unit:"caràcters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function r(t){return n[t]??null}const i={regex:"entrada",email:"adreça electrònica",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ça IPv4",ipv6:"adreça IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},l={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Tipus invàlid: s'esperava instanceof ${t.expected}, s'ha rebut ${p}`:`Tipus invàlid: s'esperava ${a}, s'ha rebut ${p}`}case"invalid_value":return t.values.length===1?`Valor invàlid: s'esperava ${ee(t.values[0])}`:`Opció invàlida: s'esperava una de ${R(t.values," o ")}`;case"too_big":{const a=t.inclusive?"com a màxim":"menys de",c=r(t.origin);return c?`Massa gran: s'esperava que ${t.origin??"el valor"} contingués ${a} ${t.maximum.toString()} ${c.unit??"elements"}`:`Massa gran: s'esperava que ${t.origin??"el valor"} fos ${a} ${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?"com a mínim":"més de",c=r(t.origin);return c?`Massa petit: s'esperava que ${t.origin} contingués ${a} ${t.minimum.toString()} ${c.unit}`:`Massa petit: s'esperava que ${t.origin} fos ${a} ${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Format invàlid: ha de començar amb "${a.prefix}"`:a.format==="ends_with"?`Format invàlid: ha d'acabar amb "${a.suffix}"`:a.format==="includes"?`Format invàlid: ha d'incloure "${a.includes}"`:a.format==="regex"?`Format invàlid: ha de coincidir amb el patró ${a.pattern}`:`Format invàlid per a ${i[a.format]??t.format}`}case"not_multiple_of":return`Número invàlid: ha de ser múltiple de ${t.divisor}`;case"unrecognized_keys":return`Clau${t.keys.length>1?"s":""} no reconeguda${t.keys.length>1?"s":""}: ${R(t.keys,", ")}`;case"invalid_key":return`Clau invàlida a ${t.origin}`;case"invalid_union":return"Entrada invàlida";case"invalid_element":return`Element invàlid a ${t.origin}`;default:return"Entrada invàlida"}}};function A1(){return{localeError:M1()}}const F1=()=>{const n={string:{unit:"znaků",verb:"mít"},file:{unit:"bajtů",verb:"mít"},array:{unit:"prvků",verb:"mít"},set:{unit:"prvků",verb:"mít"}};function r(t){return n[t]??null}const i={regex:"regulární výraz",email:"e-mailová adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a čas ve formátu ISO",date:"datum ve formátu ISO",time:"čas ve formátu ISO",duration:"doba trvání ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"řetězec zakódovaný ve formátu base64",base64url:"řetězec zakódovaný ve formátu base64url",json_string:"řetězec ve formátu JSON",e164:"číslo E.164",jwt:"JWT",template_literal:"vstup"},l={nan:"NaN",number:"číslo",string:"řetězec",function:"funkce",array:"pole"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Neplatný vstup: očekáváno instanceof ${t.expected}, obdrženo ${p}`:`Neplatný vstup: očekáváno ${a}, obdrženo ${p}`}case"invalid_value":return t.values.length===1?`Neplatný vstup: očekáváno ${ee(t.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Hodnota je příliš velká: ${t.origin??"hodnota"} musí mít ${a}${t.maximum.toString()} ${c.unit??"prvků"}`:`Hodnota je příliš velká: ${t.origin??"hodnota"} musí být ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Hodnota je příliš malá: ${t.origin??"hodnota"} musí mít ${a}${t.minimum.toString()} ${c.unit??"prvků"}`:`Hodnota je příliš malá: ${t.origin??"hodnota"} musí být ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Neplatný řetězec: musí začínat na "${a.prefix}"`:a.format==="ends_with"?`Neplatný řetězec: musí končit na "${a.suffix}"`:a.format==="includes"?`Neplatný řetězec: musí obsahovat "${a.includes}"`:a.format==="regex"?`Neplatný řetězec: musí odpovídat vzoru ${a.pattern}`:`Neplatný formát ${i[a.format]??t.format}`}case"not_multiple_of":return`Neplatné číslo: musí být násobkem ${t.divisor}`;case"unrecognized_keys":return`Neznámé klíče: ${R(t.keys,", ")}`;case"invalid_key":return`Neplatný klíč v ${t.origin}`;case"invalid_union":return"Neplatný vstup";case"invalid_element":return`Neplatná hodnota v ${t.origin}`;default:return"Neplatný vstup"}}};function q1(){return{localeError:F1()}}const H1=()=>{const n={string:{unit:"tegn",verb:"havde"},file:{unit:"bytes",verb:"havde"},array:{unit:"elementer",verb:"indeholdt"},set:{unit:"elementer",verb:"indeholdt"}};function r(t){return n[t]??null}const i={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æt",date:"ISO-dato",time:"ISO-klokkeslæt",duration:"ISO-varighed",ipv4:"IPv4-område",ipv6:"IPv6-område",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"},l={nan:"NaN",string:"streng",number:"tal",boolean:"boolean",array:"liste",object:"objekt",set:"sæt",file:"fil"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Ugyldigt input: forventede instanceof ${t.expected}, fik ${p}`:`Ugyldigt input: forventede ${a}, fik ${p}`}case"invalid_value":return t.values.length===1?`Ugyldig værdi: forventede ${ee(t.values[0])}`:`Ugyldigt valg: forventede en af følgende ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin),p=l[t.origin]??t.origin;return c?`For stor: forventede ${p??"value"} ${c.verb} ${a} ${t.maximum.toString()} ${c.unit??"elementer"}`:`For stor: forventede ${p??"value"} havde ${a} ${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin),p=l[t.origin]??t.origin;return c?`For lille: forventede ${p} ${c.verb} ${a} ${t.minimum.toString()} ${c.unit}`:`For lille: forventede ${p} havde ${a} ${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Ugyldig streng: skal starte med "${a.prefix}"`:a.format==="ends_with"?`Ugyldig streng: skal ende med "${a.suffix}"`:a.format==="includes"?`Ugyldig streng: skal indeholde "${a.includes}"`:a.format==="regex"?`Ugyldig streng: skal matche mønsteret ${a.pattern}`:`Ugyldig ${i[a.format]??t.format}`}case"not_multiple_of":return`Ugyldigt tal: skal være deleligt med ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukendte nøgler":"Ukendt nøgle"}: ${R(t.keys,", ")}`;case"invalid_key":return`Ugyldig nøgle i ${t.origin}`;case"invalid_union":return"Ugyldigt input: matcher ingen af de tilladte typer";case"invalid_element":return`Ugyldig værdi i ${t.origin}`;default:return"Ugyldigt input"}}};function J1(){return{localeError:H1()}}const V1=()=>{const n={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 r(t){return n[t]??null}const i={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"},l={nan:"NaN",number:"Zahl",array:"Array"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Ungültige Eingabe: erwartet instanceof ${t.expected}, erhalten ${p}`:`Ungültige Eingabe: erwartet ${a}, erhalten ${p}`}case"invalid_value":return t.values.length===1?`Ungültige Eingabe: erwartet ${ee(t.values[0])}`:`Ungültige Option: erwartet eine von ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Zu groß: erwartet, dass ${t.origin??"Wert"} ${a}${t.maximum.toString()} ${c.unit??"Elemente"} hat`:`Zu groß: erwartet, dass ${t.origin??"Wert"} ${a}${t.maximum.toString()} ist`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Zu klein: erwartet, dass ${t.origin} ${a}${t.minimum.toString()} ${c.unit} hat`:`Zu klein: erwartet, dass ${t.origin} ${a}${t.minimum.toString()} ist`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Ungültiger String: muss mit "${a.prefix}" beginnen`:a.format==="ends_with"?`Ungültiger String: muss mit "${a.suffix}" enden`:a.format==="includes"?`Ungültiger String: muss "${a.includes}" enthalten`:a.format==="regex"?`Ungültiger String: muss dem Muster ${a.pattern} entsprechen`:`Ungültig: ${i[a.format]??t.format}`}case"not_multiple_of":return`Ungültige Zahl: muss ein Vielfaches von ${t.divisor} sein`;case"unrecognized_keys":return`${t.keys.length>1?"Unbekannte Schlüssel":"Unbekannter Schlüssel"}: ${R(t.keys,", ")}`;case"invalid_key":return`Ungültiger Schlüssel in ${t.origin}`;case"invalid_union":return"Ungültige Eingabe";case"invalid_element":return`Ungültiger Wert in ${t.origin}`;default:return"Ungültige Eingabe"}}};function W1(){return{localeError:V1()}}const B1=()=>{const n={string:{unit:"χαρακτήρες",verb:"να έχει"},file:{unit:"bytes",verb:"να έχει"},array:{unit:"στοιχεία",verb:"να έχει"},set:{unit:"στοιχεία",verb:"να έχει"},map:{unit:"καταχωρήσεις",verb:"να έχει"}};function r(t){return n[t]??null}const i={regex:"είσοδος",email:"διεύθυνση email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ημερομηνία και ώρα",date:"ISO ημερομηνία",time:"ISO ώρα",duration:"ISO διάρκεια",ipv4:"διεύθυνση IPv4",ipv6:"διεύθυνση IPv6",mac:"διεύθυνση MAC",cidrv4:"εύρος IPv4",cidrv6:"εύρος IPv6",base64:"συμβολοσειρά κωδικοποιημένη σε base64",base64url:"συμβολοσειρά κωδικοποιημένη σε base64url",json_string:"συμβολοσειρά JSON",e164:"αριθμός E.164",jwt:"JWT",template_literal:"είσοδος"},l={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return typeof t.expected=="string"&&/^[A-Z]/.test(t.expected)?`Μη έγκυρη είσοδος: αναμενόταν instanceof ${t.expected}, λήφθηκε ${p}`:`Μη έγκυρη είσοδος: αναμενόταν ${a}, λήφθηκε ${p}`}case"invalid_value":return t.values.length===1?`Μη έγκυρη είσοδος: αναμενόταν ${ee(t.values[0])}`:`Μη έγκυρη επιλογή: αναμενόταν ένα από ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Πολύ μεγάλο: αναμενόταν ${t.origin??"τιμή"} να έχει ${a}${t.maximum.toString()} ${c.unit??"στοιχεία"}`:`Πολύ μεγάλο: αναμενόταν ${t.origin??"τιμή"} να είναι ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Πολύ μικρό: αναμενόταν ${t.origin} να έχει ${a}${t.minimum.toString()} ${c.unit}`:`Πολύ μικρό: αναμενόταν ${t.origin} να είναι ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Μη έγκυρη συμβολοσειρά: πρέπει να ξεκινά με "${a.prefix}"`:a.format==="ends_with"?`Μη έγκυρη συμβολοσειρά: πρέπει να τελειώνει με "${a.suffix}"`:a.format==="includes"?`Μη έγκυρη συμβολοσειρά: πρέπει να περιέχει "${a.includes}"`:a.format==="regex"?`Μη έγκυρη συμβολοσειρά: πρέπει να ταιριάζει με το μοτίβο ${a.pattern}`:`Μη έγκυρο: ${i[a.format]??t.format}`}case"not_multiple_of":return`Μη έγκυρος αριθμός: πρέπει να είναι πολλαπλάσιο του ${t.divisor}`;case"unrecognized_keys":return`Άγνωστ${t.keys.length>1?"α":"ο"} κλειδ${t.keys.length>1?"ιά":"ί"}: ${R(t.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${t.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${t.origin}`;default:return"Μη έγκυρη είσοδος"}}};function K1(){return{localeError:B1()}}const G1=()=>{const n={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 r(t){return n[t]??null}const i={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"},l={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return`Invalid input: expected ${a}, received ${p}`}case"invalid_value":return t.values.length===1?`Invalid input: expected ${ee(t.values[0])}`:`Invalid option: expected one of ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Too big: expected ${t.origin??"value"} to have ${a}${t.maximum.toString()} ${c.unit??"elements"}`:`Too big: expected ${t.origin??"value"} to be ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Too small: expected ${t.origin} to have ${a}${t.minimum.toString()} ${c.unit}`:`Too small: expected ${t.origin} to be ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Invalid string: must start with "${a.prefix}"`:a.format==="ends_with"?`Invalid string: must end with "${a.suffix}"`:a.format==="includes"?`Invalid string: must include "${a.includes}"`:a.format==="regex"?`Invalid string: must match pattern ${a.pattern}`:`Invalid ${i[a.format]??t.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${t.divisor}`;case"unrecognized_keys":return`Unrecognized key${t.keys.length>1?"s":""}: ${R(t.keys,", ")}`;case"invalid_key":return`Invalid key in ${t.origin}`;case"invalid_union":return t.options&&Array.isArray(t.options)&&t.options.length>0?`Invalid discriminator value. Expected ${t.options.map(c=>`'${c}'`).join(" | ")}`:"Invalid input";case"invalid_element":return`Invalid value in ${t.origin}`;default:return"Invalid input"}}};function w_(){return{localeError:G1()}}const Q1=()=>{const n={string:{unit:"karaktrojn",verb:"havi"},file:{unit:"bajtojn",verb:"havi"},array:{unit:"elementojn",verb:"havi"},set:{unit:"elementojn",verb:"havi"}};function r(t){return n[t]??null}const i={regex:"enigo",email:"retadreso",url:"URL",emoji:"emoĝio",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datotempo",date:"ISO-dato",time:"ISO-tempo",duration:"ISO-daŭro",ipv4:"IPv4-adreso",ipv6:"IPv6-adreso",cidrv4:"IPv4-rango",cidrv6:"IPv6-rango",base64:"64-ume kodita karaktraro",base64url:"URL-64-ume kodita karaktraro",json_string:"JSON-karaktraro",e164:"E.164-nombro",jwt:"JWT",template_literal:"enigo"},l={nan:"NaN",number:"nombro",array:"tabelo",null:"senvalora"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Nevalida enigo: atendiĝis instanceof ${t.expected}, riceviĝis ${p}`:`Nevalida enigo: atendiĝis ${a}, riceviĝis ${p}`}case"invalid_value":return t.values.length===1?`Nevalida enigo: atendiĝis ${ee(t.values[0])}`:`Nevalida opcio: atendiĝis unu el ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Tro granda: atendiĝis ke ${t.origin??"valoro"} havu ${a}${t.maximum.toString()} ${c.unit??"elementojn"}`:`Tro granda: atendiĝis ke ${t.origin??"valoro"} havu ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Tro malgranda: atendiĝis ke ${t.origin} havu ${a}${t.minimum.toString()} ${c.unit}`:`Tro malgranda: atendiĝis ke ${t.origin} estu ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Nevalida karaktraro: devas komenciĝi per "${a.prefix}"`:a.format==="ends_with"?`Nevalida karaktraro: devas finiĝi per "${a.suffix}"`:a.format==="includes"?`Nevalida karaktraro: devas inkluzivi "${a.includes}"`:a.format==="regex"?`Nevalida karaktraro: devas kongrui kun la modelo ${a.pattern}`:`Nevalida ${i[a.format]??t.format}`}case"not_multiple_of":return`Nevalida nombro: devas esti oblo de ${t.divisor}`;case"unrecognized_keys":return`Nekonata${t.keys.length>1?"j":""} ŝlosilo${t.keys.length>1?"j":""}: ${R(t.keys,", ")}`;case"invalid_key":return`Nevalida ŝlosilo en ${t.origin}`;case"invalid_union":return"Nevalida enigo";case"invalid_element":return`Nevalida valoro en ${t.origin}`;default:return"Nevalida enigo"}}};function X1(){return{localeError:Q1()}}const Y1=()=>{const n={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function r(t){return n[t]??null}const i={regex:"entrada",email:"dirección de correo electrónico",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ón ISO",ipv4:"dirección IPv4",ipv6:"dirección IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"número E.164",jwt:"JWT",template_literal:"entrada"},l={nan:"NaN",string:"texto",number:"número",boolean:"booleano",array:"arreglo",object:"objeto",set:"conjunto",file:"archivo",date:"fecha",bigint:"número grande",symbol:"símbolo",undefined:"indefinido",null:"nulo",function:"función",map:"mapa",record:"registro",tuple:"tupla",enum:"enumeración",union:"unión",literal:"literal",promise:"promesa",void:"vacío",never:"nunca",unknown:"desconocido",any:"cualquiera"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Entrada inválida: se esperaba instanceof ${t.expected}, recibido ${p}`:`Entrada inválida: se esperaba ${a}, recibido ${p}`}case"invalid_value":return t.values.length===1?`Entrada inválida: se esperaba ${ee(t.values[0])}`:`Opción inválida: se esperaba una de ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin),p=l[t.origin]??t.origin;return c?`Demasiado grande: se esperaba que ${p??"valor"} tuviera ${a}${t.maximum.toString()} ${c.unit??"elementos"}`:`Demasiado grande: se esperaba que ${p??"valor"} fuera ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin),p=l[t.origin]??t.origin;return c?`Demasiado pequeño: se esperaba que ${p} tuviera ${a}${t.minimum.toString()} ${c.unit}`:`Demasiado pequeño: se esperaba que ${p} fuera ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Cadena inválida: debe comenzar con "${a.prefix}"`:a.format==="ends_with"?`Cadena inválida: debe terminar en "${a.suffix}"`:a.format==="includes"?`Cadena inválida: debe incluir "${a.includes}"`:a.format==="regex"?`Cadena inválida: debe coincidir con el patrón ${a.pattern}`:`Inválido ${i[a.format]??t.format}`}case"not_multiple_of":return`Número inválido: debe ser múltiplo de ${t.divisor}`;case"unrecognized_keys":return`Llave${t.keys.length>1?"s":""} desconocida${t.keys.length>1?"s":""}: ${R(t.keys,", ")}`;case"invalid_key":return`Llave inválida en ${l[t.origin]??t.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido en ${l[t.origin]??t.origin}`;default:return"Entrada inválida"}}};function ew(){return{localeError:Y1()}}const tw=()=>{const n={string:{unit:"کاراکتر",verb:"داشته باشد"},file:{unit:"بایت",verb:"داشته باشد"},array:{unit:"آیتم",verb:"داشته باشد"},set:{unit:"آیتم",verb:"داشته باشد"}};function r(t){return n[t]??null}const i={regex:"ورودی",email:"آدرس ایمیل",url:"URL",emoji:"ایموجی",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"تاریخ و زمان ایزو",date:"تاریخ ایزو",time:"زمان ایزو",duration:"مدت زمان ایزو",ipv4:"IPv4 آدرس",ipv6:"IPv6 آدرس",cidrv4:"IPv4 دامنه",cidrv6:"IPv6 دامنه",base64:"base64-encoded رشته",base64url:"base64url-encoded رشته",json_string:"JSON رشته",e164:"E.164 عدد",jwt:"JWT",template_literal:"ورودی"},l={nan:"NaN",number:"عدد",array:"آرایه"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`ورودی نامعتبر: میبایست instanceof ${t.expected} میبود، ${p} دریافت شد`:`ورودی نامعتبر: میبایست ${a} میبود، ${p} دریافت شد`}case"invalid_value":return t.values.length===1?`ورودی نامعتبر: میبایست ${ee(t.values[0])} میبود`:`گزینه نامعتبر: میبایست یکی از ${R(t.values,"|")} میبود`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`خیلی بزرگ: ${t.origin??"مقدار"} باید ${a}${t.maximum.toString()} ${c.unit??"عنصر"} باشد`:`خیلی بزرگ: ${t.origin??"مقدار"} باید ${a}${t.maximum.toString()} باشد`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`خیلی کوچک: ${t.origin} باید ${a}${t.minimum.toString()} ${c.unit} باشد`:`خیلی کوچک: ${t.origin} باید ${a}${t.minimum.toString()} باشد`}case"invalid_format":{const a=t;return a.format==="starts_with"?`رشته نامعتبر: باید با "${a.prefix}" شروع شود`:a.format==="ends_with"?`رشته نامعتبر: باید با "${a.suffix}" تمام شود`:a.format==="includes"?`رشته نامعتبر: باید شامل "${a.includes}" باشد`:a.format==="regex"?`رشته نامعتبر: باید با الگوی ${a.pattern} مطابقت داشته باشد`:`${i[a.format]??t.format} نامعتبر`}case"not_multiple_of":return`عدد نامعتبر: باید مضرب ${t.divisor} باشد`;case"unrecognized_keys":return`کلید${t.keys.length>1?"های":""} ناشناس: ${R(t.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${t.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${t.origin}`;default:return"ورودی نامعتبر"}}};function nw(){return{localeError:tw()}}const rw=()=>{const n={string:{unit:"merkkiä",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äivämäärän"}};function r(t){return n[t]??null}const i={regex:"säännöllinen lauseke",email:"sähköpostiosoite",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äivämäärä",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"},l={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Virheellinen tyyppi: odotettiin instanceof ${t.expected}, oli ${p}`:`Virheellinen tyyppi: odotettiin ${a}, oli ${p}`}case"invalid_value":return t.values.length===1?`Virheellinen syöte: täytyy olla ${ee(t.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Liian suuri: ${c.subject} täytyy olla ${a}${t.maximum.toString()} ${c.unit}`.trim():`Liian suuri: arvon täytyy olla ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Liian pieni: ${c.subject} täytyy olla ${a}${t.minimum.toString()} ${c.unit}`.trim():`Liian pieni: arvon täytyy olla ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Virheellinen syöte: täytyy alkaa "${a.prefix}"`:a.format==="ends_with"?`Virheellinen syöte: täytyy loppua "${a.suffix}"`:a.format==="includes"?`Virheellinen syöte: täytyy sisältää "${a.includes}"`:a.format==="regex"?`Virheellinen syöte: täytyy vastata säännöllistä lauseketta ${a.pattern}`:`Virheellinen ${i[a.format]??t.format}`}case"not_multiple_of":return`Virheellinen luku: täytyy olla luvun ${t.divisor} monikerta`;case"unrecognized_keys":return`${t.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${R(t.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öte"}}};function ow(){return{localeError:rw()}}const iw=()=>{const n={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function r(t){return n[t]??null}const i={regex:"entrée",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ée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},l={string:"chaîne",number:"nombre",int:"entier",boolean:"booléen",bigint:"grand entier",symbol:"symbole",undefined:"indéfini",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 t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Entrée invalide : instanceof ${t.expected} attendu, ${p} reçu`:`Entrée invalide : ${a} attendu, ${p} reçu`}case"invalid_value":return t.values.length===1?`Entrée invalide : ${ee(t.values[0])} attendu`:`Option invalide : une valeur parmi ${R(t.values,"|")} attendue`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Trop grand : ${l[t.origin]??"valeur"} doit ${c.verb} ${a}${t.maximum.toString()} ${c.unit??"élément(s)"}`:`Trop grand : ${l[t.origin]??"valeur"} doit être ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Trop petit : ${l[t.origin]??"valeur"} doit ${c.verb} ${a}${t.minimum.toString()} ${c.unit}`:`Trop petit : ${l[t.origin]??"valeur"} doit être ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Chaîne invalide : doit commencer par "${a.prefix}"`:a.format==="ends_with"?`Chaîne invalide : doit se terminer par "${a.suffix}"`:a.format==="includes"?`Chaîne invalide : doit inclure "${a.includes}"`:a.format==="regex"?`Chaîne invalide : doit correspondre au modèle ${a.pattern}`:`${i[a.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${t.divisor}`;case"unrecognized_keys":return`Clé${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${R(t.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${t.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entrée invalide"}}};function aw(){return{localeError:iw()}}const sw=()=>{const n={string:{unit:"caractères",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"éléments",verb:"avoir"},set:{unit:"éléments",verb:"avoir"}};function r(t){return n[t]??null}const i={regex:"entrée",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ée ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"chaîne encodée en base64",base64url:"chaîne encodée en base64url",json_string:"chaîne JSON",e164:"numéro E.164",jwt:"JWT",template_literal:"entrée"},l={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Entrée invalide : attendu instanceof ${t.expected}, reçu ${p}`:`Entrée invalide : attendu ${a}, reçu ${p}`}case"invalid_value":return t.values.length===1?`Entrée invalide : attendu ${ee(t.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"≤":"<",c=r(t.origin);return c?`Trop grand : attendu que ${t.origin??"la valeur"} ait ${a}${t.maximum.toString()} ${c.unit}`:`Trop grand : attendu que ${t.origin??"la valeur"} soit ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?"≥":">",c=r(t.origin);return c?`Trop petit : attendu que ${t.origin} ait ${a}${t.minimum.toString()} ${c.unit}`:`Trop petit : attendu que ${t.origin} soit ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Chaîne invalide : doit commencer par "${a.prefix}"`:a.format==="ends_with"?`Chaîne invalide : doit se terminer par "${a.suffix}"`:a.format==="includes"?`Chaîne invalide : doit inclure "${a.includes}"`:a.format==="regex"?`Chaîne invalide : doit correspondre au motif ${a.pattern}`:`${i[a.format]??t.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit être un multiple de ${t.divisor}`;case"unrecognized_keys":return`Clé${t.keys.length>1?"s":""} non reconnue${t.keys.length>1?"s":""} : ${R(t.keys,", ")}`;case"invalid_key":return`Clé invalide dans ${t.origin}`;case"invalid_union":return"Entrée invalide";case"invalid_element":return`Valeur invalide dans ${t.origin}`;default:return"Entrée invalide"}}};function lw(){return{localeError:sw()}}const uw=()=>{const n={string:{label:"מחרוזת",gender:"f"},number:{label:"מספר",gender:"m"},boolean:{label:"ערך בוליאני",gender:"m"},bigint:{label:"BigInt",gender:"m"},date:{label:"תאריך",gender:"m"},array:{label:"מערך",gender:"m"},object:{label:"אובייקט",gender:"m"},null:{label:"ערך ריק (null)",gender:"m"},undefined:{label:"ערך לא מוגדר (undefined)",gender:"m"},symbol:{label:"סימבול (Symbol)",gender:"m"},function:{label:"פונקציה",gender:"f"},map:{label:"מפה (Map)",gender:"f"},set:{label:"קבוצה (Set)",gender:"f"},file:{label:"קובץ",gender:"m"},promise:{label:"Promise",gender:"m"},NaN:{label:"NaN",gender:"m"},unknown:{label:"ערך לא ידוע",gender:"m"},value:{label:"ערך",gender:"m"}},r={string:{unit:"תווים",shortLabel:"קצר",longLabel:"ארוך"},file:{unit:"בייטים",shortLabel:"קטן",longLabel:"גדול"},array:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},set:{unit:"פריטים",shortLabel:"קטן",longLabel:"גדול"},number:{unit:"",shortLabel:"קטן",longLabel:"גדול"}},i=h=>h?n[h]:void 0,l=h=>{const y=i(h);return y?y.label:h??n.unknown.label},t=h=>`ה${l(h)}`,a=h=>(i(h)?.gender??"m")==="f"?"צריכה להיות":"צריך להיות",c=h=>h?r[h]??null:null,p={regex:{label:"קלט",gender:"m"},email:{label:"כתובת אימייל",gender:"f"},url:{label:"כתובת רשת",gender:"f"},emoji:{label:"אימוג'י",gender:"m"},uuid:{label:"UUID",gender:"m"},nanoid:{label:"nanoid",gender:"m"},guid:{label:"GUID",gender:"m"},cuid:{label:"cuid",gender:"m"},cuid2:{label:"cuid2",gender:"m"},ulid:{label:"ULID",gender:"m"},xid:{label:"XID",gender:"m"},ksuid:{label:"KSUID",gender:"m"},datetime:{label:"תאריך וזמן ISO",gender:"m"},date:{label:"תאריך ISO",gender:"m"},time:{label:"זמן ISO",gender:"m"},duration:{label:"משך זמן ISO",gender:"m"},ipv4:{label:"כתובת IPv4",gender:"f"},ipv6:{label:"כתובת IPv6",gender:"f"},cidrv4:{label:"טווח IPv4",gender:"m"},cidrv6:{label:"טווח IPv6",gender:"m"},base64:{label:"מחרוזת בבסיס 64",gender:"f"},base64url:{label:"מחרוזת בבסיס 64 לכתובות רשת",gender:"f"},json_string:{label:"מחרוזת JSON",gender:"f"},e164:{label:"מספר E.164",gender:"m"},jwt:{label:"JWT",gender:"m"},ends_with:{label:"קלט",gender:"m"},includes:{label:"קלט",gender:"m"},lowercase:{label:"קלט",gender:"m"},starts_with:{label:"קלט",gender:"m"},uppercase:{label:"קלט",gender:"m"}},g={nan:"NaN"};return h=>{switch(h.code){case"invalid_type":{const y=h.expected,k=g[y??""]??l(y),T=re(h.input),P=g[T]??n[T]?.label??T;return/^[A-Z]/.test(h.expected)?`קלט לא תקין: צריך להיות instanceof ${h.expected}, התקבל ${P}`:`קלט לא תקין: צריך להיות ${k}, התקבל ${P}`}case"invalid_value":{if(h.values.length===1)return`ערך לא תקין: הערך חייב להיות ${ee(h.values[0])}`;const y=h.values.map(P=>ee(P));if(h.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${y[0]} או ${y[1]}`;const k=y[y.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${y.slice(0,-1).join(", ")} או ${k}`}case"too_big":{const y=c(h.origin),k=t(h.origin??"value");if(h.origin==="string")return`${y?.longLabel??"ארוך"} מדי: ${k} צריכה להכיל ${h.maximum.toString()} ${y?.unit??""} ${h.inclusive?"או פחות":"לכל היותר"}`.trim();if(h.origin==="number"){const Z=h.inclusive?`קטן או שווה ל-${h.maximum}`:`קטן מ-${h.maximum}`;return`גדול מדי: ${k} צריך להיות ${Z}`}if(h.origin==="array"||h.origin==="set"){const Z=h.origin==="set"?"צריכה":"צריך",B=h.inclusive?`${h.maximum} ${y?.unit??""} או פחות`:`פחות מ-${h.maximum} ${y?.unit??""}`;return`גדול מדי: ${k} ${Z} להכיל ${B}`.trim()}const T=h.inclusive?"<=":"<",P=a(h.origin??"value");return y?.unit?`${y.longLabel} מדי: ${k} ${P} ${T}${h.maximum.toString()} ${y.unit}`:`${y?.longLabel??"גדול"} מדי: ${k} ${P} ${T}${h.maximum.toString()}`}case"too_small":{const y=c(h.origin),k=t(h.origin??"value");if(h.origin==="string")return`${y?.shortLabel??"קצר"} מדי: ${k} צריכה להכיל ${h.minimum.toString()} ${y?.unit??""} ${h.inclusive?"או יותר":"לפחות"}`.trim();if(h.origin==="number"){const Z=h.inclusive?`גדול או שווה ל-${h.minimum}`:`גדול מ-${h.minimum}`;return`קטן מדי: ${k} צריך להיות ${Z}`}if(h.origin==="array"||h.origin==="set"){const Z=h.origin==="set"?"צריכה":"צריך";if(h.minimum===1&&h.inclusive){const V=(h.origin==="set","לפחות פריט אחד");return`קטן מדי: ${k} ${Z} להכיל ${V}`}const B=h.inclusive?`${h.minimum} ${y?.unit??""} או יותר`:`יותר מ-${h.minimum} ${y?.unit??""}`;return`קטן מדי: ${k} ${Z} להכיל ${B}`.trim()}const T=h.inclusive?">=":">",P=a(h.origin??"value");return y?.unit?`${y.shortLabel} מדי: ${k} ${P} ${T}${h.minimum.toString()} ${y.unit}`:`${y?.shortLabel??"קטן"} מדי: ${k} ${P} ${T}${h.minimum.toString()}`}case"invalid_format":{const y=h;if(y.format==="starts_with")return`המחרוזת חייבת להתחיל ב "${y.prefix}"`;if(y.format==="ends_with")return`המחרוזת חייבת להסתיים ב "${y.suffix}"`;if(y.format==="includes")return`המחרוזת חייבת לכלול "${y.includes}"`;if(y.format==="regex")return`המחרוזת חייבת להתאים לתבנית ${y.pattern}`;const k=p[y.format],T=k?.label??y.format,Z=(k?.gender??"m")==="f"?"תקינה":"תקין";return`${T} לא ${Z}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${h.divisor}`;case"unrecognized_keys":return`מפתח${h.keys.length>1?"ות":""} לא מזוה${h.keys.length>1?"ים":"ה"}: ${R(h.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${t(h.origin??"array")}`;default:return"קלט לא תקין"}}};function cw(){return{localeError:uw()}}const dw=()=>{const n={string:{unit:"znakova",verb:"imati"},file:{unit:"bajtova",verb:"imati"},array:{unit:"stavki",verb:"imati"},set:{unit:"stavki",verb:"imati"}};function r(t){return n[t]??null}const i={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"},l={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 t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Neispravan unos: očekuje se instanceof ${t.expected}, a primljeno je ${p}`:`Neispravan unos: očekuje se ${a}, a primljeno je ${p}`}case"invalid_value":return t.values.length===1?`Neispravna vrijednost: očekivano ${ee(t.values[0])}`:`Neispravna opcija: očekivano jedno od ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin),p=l[t.origin]??t.origin;return c?`Preveliko: očekivano da ${p??"vrijednost"} ima ${a}${t.maximum.toString()} ${c.unit??"elemenata"}`:`Preveliko: očekivano da ${p??"vrijednost"} bude ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin),p=l[t.origin]??t.origin;return c?`Premalo: očekivano da ${p} ima ${a}${t.minimum.toString()} ${c.unit}`:`Premalo: očekivano da ${p} bude ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Neispravan tekst: mora započinjati s "${a.prefix}"`:a.format==="ends_with"?`Neispravan tekst: mora završavati s "${a.suffix}"`:a.format==="includes"?`Neispravan tekst: mora sadržavati "${a.includes}"`:a.format==="regex"?`Neispravan tekst: mora odgovarati uzorku ${a.pattern}`:`Neispravna ${i[a.format]??t.format}`}case"not_multiple_of":return`Neispravan broj: mora biti višekratnik od ${t.divisor}`;case"unrecognized_keys":return`Neprepoznat${t.keys.length>1?"i ključevi":" ključ"}: ${R(t.keys,", ")}`;case"invalid_key":return`Neispravan ključ u ${l[t.origin]??t.origin}`;case"invalid_union":return"Neispravan unos";case"invalid_element":return`Neispravna vrijednost u ${l[t.origin]??t.origin}`;default:return"Neispravan unos"}}};function fw(){return{localeError:dw()}}const pw=()=>{const n={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function r(t){return n[t]??null}const i={regex:"bemenet",email:"email cím",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO időbélyeg",date:"ISO dátum",time:"ISO idő",duration:"ISO időintervallum",ipv4:"IPv4 cím",ipv6:"IPv6 cím",cidrv4:"IPv4 tartomány",cidrv6:"IPv6 tartomány",base64:"base64-kódolt string",base64url:"base64url-kódolt string",json_string:"JSON string",e164:"E.164 szám",jwt:"JWT",template_literal:"bemenet"},l={nan:"NaN",number:"szám",array:"tömb"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Érvénytelen bemenet: a várt érték instanceof ${t.expected}, a kapott érték ${p}`:`Érvénytelen bemenet: a várt érték ${a}, a kapott érték ${p}`}case"invalid_value":return t.values.length===1?`Érvénytelen bemenet: a várt érték ${ee(t.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Túl nagy: ${t.origin??"érték"} mérete túl nagy ${a}${t.maximum.toString()} ${c.unit??"elem"}`:`Túl nagy: a bemeneti érték ${t.origin??"érték"} túl nagy: ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Túl kicsi: a bemeneti érték ${t.origin} mérete túl kicsi ${a}${t.minimum.toString()} ${c.unit}`:`Túl kicsi: a bemeneti érték ${t.origin} túl kicsi ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Érvénytelen string: "${a.prefix}" értékkel kell kezdődnie`:a.format==="ends_with"?`Érvénytelen string: "${a.suffix}" értékkel kell végződnie`:a.format==="includes"?`Érvénytelen string: "${a.includes}" értéket kell tartalmaznia`:a.format==="regex"?`Érvénytelen string: ${a.pattern} mintának kell megfelelnie`:`Érvénytelen ${i[a.format]??t.format}`}case"not_multiple_of":return`Érvénytelen szám: ${t.divisor} többszörösének kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${t.keys.length>1?"s":""}: ${R(t.keys,", ")}`;case"invalid_key":return`Érvénytelen kulcs ${t.origin}`;case"invalid_union":return"Érvénytelen bemenet";case"invalid_element":return`Érvénytelen érték: ${t.origin}`;default:return"Érvénytelen bemenet"}}};function mw(){return{localeError:pw()}}function xv(n,r,i){return Math.abs(n)===1?r:i}function Gr(n){if(!n)return"";const r=["ա","ե","ը","ի","ո","ու","օ"],i=n[n.length-1];return n+(r.includes(i)?"ն":"ը")}const gw=()=>{const n={string:{unit:{one:"նշան",many:"նշաններ"},verb:"ունենալ"},file:{unit:{one:"բայթ",many:"բայթեր"},verb:"ունենալ"},array:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"},set:{unit:{one:"տարր",many:"տարրեր"},verb:"ունենալ"}};function r(t){return n[t]??null}const i={regex:"մուտք",email:"էլ. հասցե",url:"URL",emoji:"էմոջի",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO ամսաթիվ և ժամ",date:"ISO ամսաթիվ",time:"ISO ժամ",duration:"ISO տևողություն",ipv4:"IPv4 հասցե",ipv6:"IPv6 հասցե",cidrv4:"IPv4 միջակայք",cidrv6:"IPv6 միջակայք",base64:"base64 ձևաչափով տող",base64url:"base64url ձևաչափով տող",json_string:"JSON տող",e164:"E.164 համար",jwt:"JWT",template_literal:"մուտք"},l={nan:"NaN",number:"թիվ",array:"զանգված"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Սխալ մուտքագրում․ սպասվում էր instanceof ${t.expected}, ստացվել է ${p}`:`Սխալ մուտքագրում․ սպասվում էր ${a}, ստացվել է ${p}`}case"invalid_value":return t.values.length===1?`Սխալ մուտքագրում․ սպասվում էր ${ee(t.values[1])}`:`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);if(c){const p=Number(t.maximum),g=xv(p,c.unit.one,c.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${Gr(t.origin??"արժեք")} կունենա ${a}${t.maximum.toString()} ${g}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${Gr(t.origin??"արժեք")} լինի ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);if(c){const p=Number(t.minimum),g=xv(p,c.unit.one,c.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${Gr(t.origin)} կունենա ${a}${t.minimum.toString()} ${g}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${Gr(t.origin)} լինի ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Սխալ տող․ պետք է սկսվի "${a.prefix}"-ով`:a.format==="ends_with"?`Սխալ տող․ պետք է ավարտվի "${a.suffix}"-ով`:a.format==="includes"?`Սխալ տող․ պետք է պարունակի "${a.includes}"`:a.format==="regex"?`Սխալ տող․ պետք է համապատասխանի ${a.pattern} ձևաչափին`:`Սխալ ${i[a.format]??t.format}`}case"not_multiple_of":return`Սխալ թիվ․ պետք է բազմապատիկ լինի ${t.divisor}-ի`;case"unrecognized_keys":return`Չճանաչված բանալի${t.keys.length>1?"ներ":""}. ${R(t.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${Gr(t.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${Gr(t.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function hw(){return{localeError:gw()}}const vw=()=>{const n={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function r(t){return n[t]??null}const i={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"},l={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Input tidak valid: diharapkan instanceof ${t.expected}, diterima ${p}`:`Input tidak valid: diharapkan ${a}, diterima ${p}`}case"invalid_value":return t.values.length===1?`Input tidak valid: diharapkan ${ee(t.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Terlalu besar: diharapkan ${t.origin??"value"} memiliki ${a}${t.maximum.toString()} ${c.unit??"elemen"}`:`Terlalu besar: diharapkan ${t.origin??"value"} menjadi ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Terlalu kecil: diharapkan ${t.origin} memiliki ${a}${t.minimum.toString()} ${c.unit}`:`Terlalu kecil: diharapkan ${t.origin} menjadi ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`String tidak valid: harus dimulai dengan "${a.prefix}"`:a.format==="ends_with"?`String tidak valid: harus berakhir dengan "${a.suffix}"`:a.format==="includes"?`String tidak valid: harus menyertakan "${a.includes}"`:a.format==="regex"?`String tidak valid: harus sesuai pola ${a.pattern}`:`${i[a.format]??t.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${t.keys.length>1?"s":""}: ${R(t.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${t.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${t.origin}`;default:return"Input tidak valid"}}};function yw(){return{localeError:vw()}}const _w=()=>{const n={string:{unit:"stafi",verb:"að hafa"},file:{unit:"bæti",verb:"að hafa"},array:{unit:"hluti",verb:"að hafa"},set:{unit:"hluti",verb:"að hafa"}};function r(t){return n[t]??null}const i={regex:"gildi",email:"netfang",url:"vefslóð",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ími",date:"ISO dagsetning",time:"ISO tími",duration:"ISO tímalengd",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ölugildi",jwt:"JWT",template_literal:"gildi"},l={nan:"NaN",number:"númer",array:"fylki"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Rangt gildi: Þú slóst inn ${p} þar sem á að vera instanceof ${t.expected}`:`Rangt gildi: Þú slóst inn ${p} þar sem á að vera ${a}`}case"invalid_value":return t.values.length===1?`Rangt gildi: gert ráð fyrir ${ee(t.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Of stórt: gert er ráð fyrir að ${t.origin??"gildi"} hafi ${a}${t.maximum.toString()} ${c.unit??"hluti"}`:`Of stórt: gert er ráð fyrir að ${t.origin??"gildi"} sé ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Of lítið: gert er ráð fyrir að ${t.origin} hafi ${a}${t.minimum.toString()} ${c.unit}`:`Of lítið: gert er ráð fyrir að ${t.origin} sé ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Ógildur strengur: verður að byrja á "${a.prefix}"`:a.format==="ends_with"?`Ógildur strengur: verður að enda á "${a.suffix}"`:a.format==="includes"?`Ógildur strengur: verður að innihalda "${a.includes}"`:a.format==="regex"?`Ógildur strengur: verður að fylgja mynstri ${a.pattern}`:`Rangt ${i[a.format]??t.format}`}case"not_multiple_of":return`Röng tala: verður að vera margfeldi af ${t.divisor}`;case"unrecognized_keys":return`Óþekkt ${t.keys.length>1?"ir lyklar":"ur lykill"}: ${R(t.keys,", ")}`;case"invalid_key":return`Rangur lykill í ${t.origin}`;case"invalid_union":return"Rangt gildi";case"invalid_element":return`Rangt gildi í ${t.origin}`;default:return"Rangt gildi"}}};function $w(){return{localeError:_w()}}const kw=()=>{const n={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function r(t){return n[t]??null}const i={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"},l={nan:"NaN",number:"numero",array:"vettore"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Input non valido: atteso instanceof ${t.expected}, ricevuto ${p}`:`Input non valido: atteso ${a}, ricevuto ${p}`}case"invalid_value":return t.values.length===1?`Input non valido: atteso ${ee(t.values[0])}`:`Opzione non valida: atteso uno tra ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Troppo grande: ${t.origin??"valore"} deve avere ${a}${t.maximum.toString()} ${c.unit??"elementi"}`:`Troppo grande: ${t.origin??"valore"} deve essere ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Troppo piccolo: ${t.origin} deve avere ${a}${t.minimum.toString()} ${c.unit}`:`Troppo piccolo: ${t.origin} deve essere ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Stringa non valida: deve iniziare con "${a.prefix}"`:a.format==="ends_with"?`Stringa non valida: deve terminare con "${a.suffix}"`:a.format==="includes"?`Stringa non valida: deve includere "${a.includes}"`:a.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${a.pattern}`:`Input non valido: ${i[a.format]??t.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${t.divisor}`;case"unrecognized_keys":return`Chiav${t.keys.length>1?"i":"e"} non riconosciut${t.keys.length>1?"e":"a"}: ${R(t.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${t.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${t.origin}`;default:return"Input non valido"}}};function Sw(){return{localeError:kw()}}const ww=()=>{const n={string:{unit:"文字",verb:"である"},file:{unit:"バイト",verb:"である"},array:{unit:"要素",verb:"である"},set:{unit:"要素",verb:"である"}};function r(t){return n[t]??null}const i={regex:"入力値",email:"メールアドレス",url:"URL",emoji:"絵文字",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日時",date:"ISO日付",time:"ISO時刻",duration:"ISO期間",ipv4:"IPv4アドレス",ipv6:"IPv6アドレス",cidrv4:"IPv4範囲",cidrv6:"IPv6範囲",base64:"base64エンコード文字列",base64url:"base64urlエンコード文字列",json_string:"JSON文字列",e164:"E.164番号",jwt:"JWT",template_literal:"入力値"},l={nan:"NaN",number:"数値",array:"配列"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`無効な入力: instanceof ${t.expected}が期待されましたが、${p}が入力されました`:`無効な入力: ${a}が期待されましたが、${p}が入力されました`}case"invalid_value":return t.values.length===1?`無効な入力: ${ee(t.values[0])}が期待されました`:`無効な選択: ${R(t.values,"、")}のいずれかである必要があります`;case"too_big":{const a=t.inclusive?"以下である":"より小さい",c=r(t.origin);return c?`大きすぎる値: ${t.origin??"値"}は${t.maximum.toString()}${c.unit??"要素"}${a}必要があります`:`大きすぎる値: ${t.origin??"値"}は${t.maximum.toString()}${a}必要があります`}case"too_small":{const a=t.inclusive?"以上である":"より大きい",c=r(t.origin);return c?`小さすぎる値: ${t.origin}は${t.minimum.toString()}${c.unit}${a}必要があります`:`小さすぎる値: ${t.origin}は${t.minimum.toString()}${a}必要があります`}case"invalid_format":{const a=t;return a.format==="starts_with"?`無効な文字列: "${a.prefix}"で始まる必要があります`:a.format==="ends_with"?`無効な文字列: "${a.suffix}"で終わる必要があります`:a.format==="includes"?`無効な文字列: "${a.includes}"を含む必要があります`:a.format==="regex"?`無効な文字列: パターン${a.pattern}に一致する必要があります`:`無効な${i[a.format]??t.format}`}case"not_multiple_of":return`無効な数値: ${t.divisor}の倍数である必要があります`;case"unrecognized_keys":return`認識されていないキー${t.keys.length>1?"群":""}: ${R(t.keys,"、")}`;case"invalid_key":return`${t.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${t.origin}内の無効な値`;default:return"無効な入力"}}};function bw(){return{localeError:ww()}}const xw=()=>{const n={string:{unit:"სიმბოლო",verb:"უნდა შეიცავდეს"},file:{unit:"ბაიტი",verb:"უნდა შეიცავდეს"},array:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"},set:{unit:"ელემენტი",verb:"უნდა შეიცავდეს"}};function r(t){return n[t]??null}const i={regex:"შეყვანა",email:"ელ-ფოსტის მისამართი",url:"URL",emoji:"ემოჯი",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"თარიღი-დრო",date:"თარიღი",time:"დრო",duration:"ხანგრძლივობა",ipv4:"IPv4 მისამართი",ipv6:"IPv6 მისამართი",cidrv4:"IPv4 დიაპაზონი",cidrv6:"IPv6 დიაპაზონი",base64:"base64-კოდირებული ველი",base64url:"base64url-კოდირებული ველი",json_string:"JSON ველი",e164:"E.164 ნომერი",jwt:"JWT",template_literal:"შეყვანა"},l={nan:"NaN",number:"რიცხვი",string:"ველი",boolean:"ბულეანი",function:"ფუნქცია",array:"მასივი"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`არასწორი შეყვანა: მოსალოდნელი instanceof ${t.expected}, მიღებული ${p}`:`არასწორი შეყვანა: მოსალოდნელი ${a}, მიღებული ${p}`}case"invalid_value":return t.values.length===1?`არასწორი შეყვანა: მოსალოდნელი ${ee(t.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${R(t.values,"|")}-დან`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`ზედმეტად დიდი: მოსალოდნელი ${t.origin??"მნიშვნელობა"} ${c.verb} ${a}${t.maximum.toString()} ${c.unit}`:`ზედმეტად დიდი: მოსალოდნელი ${t.origin??"მნიშვნელობა"} იყოს ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`ზედმეტად პატარა: მოსალოდნელი ${t.origin} ${c.verb} ${a}${t.minimum.toString()} ${c.unit}`:`ზედმეტად პატარა: მოსალოდნელი ${t.origin} იყოს ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`არასწორი ველი: უნდა იწყებოდეს "${a.prefix}"-ით`:a.format==="ends_with"?`არასწორი ველი: უნდა მთავრდებოდეს "${a.suffix}"-ით`:a.format==="includes"?`არასწორი ველი: უნდა შეიცავდეს "${a.includes}"-ს`:a.format==="regex"?`არასწორი ველი: უნდა შეესაბამებოდეს შაბლონს ${a.pattern}`:`არასწორი ${i[a.format]??t.format}`}case"not_multiple_of":return`არასწორი რიცხვი: უნდა იყოს ${t.divisor}-ის ჯერადი`;case"unrecognized_keys":return`უცნობი გასაღებ${t.keys.length>1?"ები":"ი"}: ${R(t.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${t.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${t.origin}-ში`;default:return"არასწორი შეყვანა"}}};function Iw(){return{localeError:xw()}}const zw=()=>{const n={string:{unit:"តួអក្សរ",verb:"គួរមាន"},file:{unit:"បៃ",verb:"គួរមាន"},array:{unit:"ធាតុ",verb:"គួរមាន"},set:{unit:"ធាតុ",verb:"គួរមាន"}};function r(t){return n[t]??null}const i={regex:"ទិន្នន័យបញ្ចូល",email:"អាសយដ្ឋានអ៊ីមែល",url:"URL",emoji:"សញ្ញាអារម្មណ៍",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"កាលបរិច្ឆេទ និងម៉ោង ISO",date:"កាលបរិច្ឆេទ ISO",time:"ម៉ោង ISO",duration:"រយៈពេល ISO",ipv4:"អាសយដ្ឋាន IPv4",ipv6:"អាសយដ្ឋាន IPv6",cidrv4:"ដែនអាសយដ្ឋាន IPv4",cidrv6:"ដែនអាសយដ្ឋាន IPv6",base64:"ខ្សែអក្សរអ៊ិកូដ base64",base64url:"ខ្សែអក្សរអ៊ិកូដ base64url",json_string:"ខ្សែអក្សរ JSON",e164:"លេខ E.164",jwt:"JWT",template_literal:"ទិន្នន័យបញ្ចូល"},l={nan:"NaN",number:"លេខ",array:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ instanceof ${t.expected} ប៉ុន្តែទទួលបាន ${p}`:`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${a} ប៉ុន្តែទទួលបាន ${p}`}case"invalid_value":return t.values.length===1?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${ee(t.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`ធំពេក៖ ត្រូវការ ${t.origin??"តម្លៃ"} ${a} ${t.maximum.toString()} ${c.unit??"ធាតុ"}`:`ធំពេក៖ ត្រូវការ ${t.origin??"តម្លៃ"} ${a} ${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`តូចពេក៖ ត្រូវការ ${t.origin} ${a} ${t.minimum.toString()} ${c.unit}`:`តូចពេក៖ ត្រូវការ ${t.origin} ${a} ${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវចាប់ផ្តើមដោយ "${a.prefix}"`:a.format==="ends_with"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវបញ្ចប់ដោយ "${a.suffix}"`:a.format==="includes"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវមាន "${a.includes}"`:a.format==="regex"?`ខ្សែអក្សរមិនត្រឹមត្រូវ៖ ត្រូវតែផ្គូផ្គងនឹងទម្រង់ដែលបានកំណត់ ${a.pattern}`:`មិនត្រឹមត្រូវ៖ ${i[a.format]??t.format}`}case"not_multiple_of":return`លេខមិនត្រឹមត្រូវ៖ ត្រូវតែជាពហុគុណនៃ ${t.divisor}`;case"unrecognized_keys":return`រកឃើញសោមិនស្គាល់៖ ${R(t.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${t.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function b_(){return{localeError:zw()}}function Tw(){return b_()}const jw=()=>{const n={string:{unit:"문자",verb:"to have"},file:{unit:"바이트",verb:"to have"},array:{unit:"개",verb:"to have"},set:{unit:"개",verb:"to have"}};function r(t){return n[t]??null}const i={regex:"입력",email:"이메일 주소",url:"URL",emoji:"이모지",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 날짜시간",date:"ISO 날짜",time:"ISO 시간",duration:"ISO 기간",ipv4:"IPv4 주소",ipv6:"IPv6 주소",cidrv4:"IPv4 범위",cidrv6:"IPv6 범위",base64:"base64 인코딩 문자열",base64url:"base64url 인코딩 문자열",json_string:"JSON 문자열",e164:"E.164 번호",jwt:"JWT",template_literal:"입력"},l={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`잘못된 입력: 예상 타입은 instanceof ${t.expected}, 받은 타입은 ${p}입니다`:`잘못된 입력: 예상 타입은 ${a}, 받은 타입은 ${p}입니다`}case"invalid_value":return t.values.length===1?`잘못된 입력: 값은 ${ee(t.values[0])} 이어야 합니다`:`잘못된 옵션: ${R(t.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{const a=t.inclusive?"이하":"미만",c=a==="미만"?"이어야 합니다":"여야 합니다",p=r(t.origin),g=p?.unit??"요소";return p?`${t.origin??"값"}이 너무 큽니다: ${t.maximum.toString()}${g} ${a}${c}`:`${t.origin??"값"}이 너무 큽니다: ${t.maximum.toString()} ${a}${c}`}case"too_small":{const a=t.inclusive?"이상":"초과",c=a==="이상"?"이어야 합니다":"여야 합니다",p=r(t.origin),g=p?.unit??"요소";return p?`${t.origin??"값"}이 너무 작습니다: ${t.minimum.toString()}${g} ${a}${c}`:`${t.origin??"값"}이 너무 작습니다: ${t.minimum.toString()} ${a}${c}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`잘못된 문자열: "${a.prefix}"(으)로 시작해야 합니다`:a.format==="ends_with"?`잘못된 문자열: "${a.suffix}"(으)로 끝나야 합니다`:a.format==="includes"?`잘못된 문자열: "${a.includes}"을(를) 포함해야 합니다`:a.format==="regex"?`잘못된 문자열: 정규식 ${a.pattern} 패턴과 일치해야 합니다`:`잘못된 ${i[a.format]??t.format}`}case"not_multiple_of":return`잘못된 숫자: ${t.divisor}의 배수여야 합니다`;case"unrecognized_keys":return`인식할 수 없는 키: ${R(t.keys,", ")}`;case"invalid_key":return`잘못된 키: ${t.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${t.origin}`;default:return"잘못된 입력"}}};function Ew(){return{localeError:jw()}}const ci=n=>n.charAt(0).toUpperCase()+n.slice(1);function Iv(n){const r=Math.abs(n),i=r%10,l=r%100;return l>=11&&l<=19||i===0?"many":i===1?"one":"few"}const Pw=()=>{const n={string:{unit:{one:"simbolis",few:"simboliai",many:"simbolių"},verb:{smaller:{inclusive:"turi būti ne ilgesnė kaip",notInclusive:"turi būti trumpesnė kaip"},bigger:{inclusive:"turi būti ne trumpesnė kaip",notInclusive:"turi būti ilgesnė kaip"}}},file:{unit:{one:"baitas",few:"baitai",many:"baitų"},verb:{smaller:{inclusive:"turi būti ne didesnis kaip",notInclusive:"turi būti mažesnis kaip"},bigger:{inclusive:"turi būti ne mažesnis kaip",notInclusive:"turi būti didesnis kaip"}}},array:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}},set:{unit:{one:"elementą",few:"elementus",many:"elementų"},verb:{smaller:{inclusive:"turi turėti ne daugiau kaip",notInclusive:"turi turėti mažiau kaip"},bigger:{inclusive:"turi turėti ne mažiau kaip",notInclusive:"turi turėti daugiau kaip"}}}};function r(t,a,c,p){const g=n[t]??null;return g===null?g:{unit:g.unit[a],verb:g.verb[p][c?"inclusive":"notInclusive"]}}const i={regex:"įvestis",email:"el. pašto adresas",url:"URL",emoji:"jaustukas",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO data ir laikas",date:"ISO data",time:"ISO laikas",duration:"ISO trukmė",ipv4:"IPv4 adresas",ipv6:"IPv6 adresas",cidrv4:"IPv4 tinklo prefiksas (CIDR)",cidrv6:"IPv6 tinklo prefiksas (CIDR)",base64:"base64 užkoduota eilutė",base64url:"base64url užkoduota eilutė",json_string:"JSON eilutė",e164:"E.164 numeris",jwt:"JWT",template_literal:"įvestis"},l={nan:"NaN",number:"skaičius",bigint:"sveikasis skaičius",string:"eilutė",boolean:"loginė reikšmė",undefined:"neapibrėžta reikšmė",function:"funkcija",symbol:"simbolis",array:"masyvas",object:"objektas",null:"nulinė reikšmė"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Gautas tipas ${p}, o tikėtasi - instanceof ${t.expected}`:`Gautas tipas ${p}, o tikėtasi - ${a}`}case"invalid_value":return t.values.length===1?`Privalo būti ${ee(t.values[0])}`:`Privalo būti vienas iš ${R(t.values,"|")} pasirinkimų`;case"too_big":{const a=l[t.origin]??t.origin,c=r(t.origin,Iv(Number(t.maximum)),t.inclusive??!1,"smaller");if(c?.verb)return`${ci(a??t.origin??"reikšmė")} ${c.verb} ${t.maximum.toString()} ${c.unit??"elementų"}`;const p=t.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${ci(a??t.origin??"reikšmė")} turi būti ${p} ${t.maximum.toString()} ${c?.unit}`}case"too_small":{const a=l[t.origin]??t.origin,c=r(t.origin,Iv(Number(t.minimum)),t.inclusive??!1,"bigger");if(c?.verb)return`${ci(a??t.origin??"reikšmė")} ${c.verb} ${t.minimum.toString()} ${c.unit??"elementų"}`;const p=t.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${ci(a??t.origin??"reikšmė")} turi būti ${p} ${t.minimum.toString()} ${c?.unit}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Eilutė privalo prasidėti "${a.prefix}"`:a.format==="ends_with"?`Eilutė privalo pasibaigti "${a.suffix}"`:a.format==="includes"?`Eilutė privalo įtraukti "${a.includes}"`:a.format==="regex"?`Eilutė privalo atitikti ${a.pattern}`:`Neteisingas ${i[a.format]??t.format}`}case"not_multiple_of":return`Skaičius privalo būti ${t.divisor} kartotinis.`;case"unrecognized_keys":return`Neatpažint${t.keys.length>1?"i":"as"} rakt${t.keys.length>1?"ai":"as"}: ${R(t.keys,", ")}`;case"invalid_key":return"Rastas klaidingas raktas";case"invalid_union":return"Klaidinga įvestis";case"invalid_element":{const a=l[t.origin]??t.origin;return`${ci(a??t.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function Nw(){return{localeError:Pw()}}const Ow=()=>{const n={string:{unit:"знаци",verb:"да имаат"},file:{unit:"бајти",verb:"да имаат"},array:{unit:"ставки",verb:"да имаат"},set:{unit:"ставки",verb:"да имаат"}};function r(t){return n[t]??null}const i={regex:"внес",email:"адреса на е-пошта",url:"URL",emoji:"емоџи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO датум и време",date:"ISO датум",time:"ISO време",duration:"ISO времетраење",ipv4:"IPv4 адреса",ipv6:"IPv6 адреса",cidrv4:"IPv4 опсег",cidrv6:"IPv6 опсег",base64:"base64-енкодирана низа",base64url:"base64url-енкодирана низа",json_string:"JSON низа",e164:"E.164 број",jwt:"JWT",template_literal:"внес"},l={nan:"NaN",number:"број",array:"низа"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Грешен внес: се очекува instanceof ${t.expected}, примено ${p}`:`Грешен внес: се очекува ${a}, примено ${p}`}case"invalid_value":return t.values.length===1?`Invalid input: expected ${ee(t.values[0])}`:`Грешана опција: се очекува една ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Премногу голем: се очекува ${t.origin??"вредноста"} да има ${a}${t.maximum.toString()} ${c.unit??"елементи"}`:`Премногу голем: се очекува ${t.origin??"вредноста"} да биде ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Премногу мал: се очекува ${t.origin} да има ${a}${t.minimum.toString()} ${c.unit}`:`Премногу мал: се очекува ${t.origin} да биде ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Неважечка низа: мора да започнува со "${a.prefix}"`:a.format==="ends_with"?`Неважечка низа: мора да завршува со "${a.suffix}"`:a.format==="includes"?`Неважечка низа: мора да вклучува "${a.includes}"`:a.format==="regex"?`Неважечка низа: мора да одгоара на патернот ${a.pattern}`:`Invalid ${i[a.format]??t.format}`}case"not_multiple_of":return`Грешен број: мора да биде делив со ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${R(t.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${t.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${t.origin}`;default:return"Грешен внес"}}};function Uw(){return{localeError:Ow()}}const Dw=()=>{const n={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function r(t){return n[t]??null}const i={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"},l={nan:"NaN",number:"nombor"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Input tidak sah: dijangka instanceof ${t.expected}, diterima ${p}`:`Input tidak sah: dijangka ${a}, diterima ${p}`}case"invalid_value":return t.values.length===1?`Input tidak sah: dijangka ${ee(t.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Terlalu besar: dijangka ${t.origin??"nilai"} ${c.verb} ${a}${t.maximum.toString()} ${c.unit??"elemen"}`:`Terlalu besar: dijangka ${t.origin??"nilai"} adalah ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Terlalu kecil: dijangka ${t.origin} ${c.verb} ${a}${t.minimum.toString()} ${c.unit}`:`Terlalu kecil: dijangka ${t.origin} adalah ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`String tidak sah: mesti bermula dengan "${a.prefix}"`:a.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${a.suffix}"`:a.format==="includes"?`String tidak sah: mesti mengandungi "${a.includes}"`:a.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${a.pattern}`:`${i[a.format]??t.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${t.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${R(t.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${t.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${t.origin}`;default:return"Input tidak sah"}}};function Cw(){return{localeError:Dw()}}const Rw=()=>{const n={string:{unit:"tekens",verb:"heeft"},file:{unit:"bytes",verb:"heeft"},array:{unit:"elementen",verb:"heeft"},set:{unit:"elementen",verb:"heeft"}};function r(t){return n[t]??null}const i={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"},l={nan:"NaN",number:"getal"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Ongeldige invoer: verwacht instanceof ${t.expected}, ontving ${p}`:`Ongeldige invoer: verwacht ${a}, ontving ${p}`}case"invalid_value":return t.values.length===1?`Ongeldige invoer: verwacht ${ee(t.values[0])}`:`Ongeldige optie: verwacht één van ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin),p=t.origin==="date"?"laat":t.origin==="string"?"lang":"groot";return c?`Te ${p}: verwacht dat ${t.origin??"waarde"} ${a}${t.maximum.toString()} ${c.unit??"elementen"} ${c.verb}`:`Te ${p}: verwacht dat ${t.origin??"waarde"} ${a}${t.maximum.toString()} is`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin),p=t.origin==="date"?"vroeg":t.origin==="string"?"kort":"klein";return c?`Te ${p}: verwacht dat ${t.origin} ${a}${t.minimum.toString()} ${c.unit} ${c.verb}`:`Te ${p}: verwacht dat ${t.origin} ${a}${t.minimum.toString()} is`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Ongeldige tekst: moet met "${a.prefix}" beginnen`:a.format==="ends_with"?`Ongeldige tekst: moet op "${a.suffix}" eindigen`:a.format==="includes"?`Ongeldige tekst: moet "${a.includes}" bevatten`:a.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${a.pattern}`:`Ongeldig: ${i[a.format]??t.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${t.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${t.keys.length>1?"s":""}: ${R(t.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${t.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${t.origin}`;default:return"Ongeldige invoer"}}};function Lw(){return{localeError:Rw()}}const Zw=()=>{const n={string:{unit:"tegn",verb:"å ha"},file:{unit:"bytes",verb:"å ha"},array:{unit:"elementer",verb:"å inneholde"},set:{unit:"elementer",verb:"å inneholde"}};function r(t){return n[t]??null}const i={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åde",ipv6:"IPv6-område",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"},l={nan:"NaN",number:"tall",array:"liste"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Ugyldig input: forventet instanceof ${t.expected}, fikk ${p}`:`Ugyldig input: forventet ${a}, fikk ${p}`}case"invalid_value":return t.values.length===1?`Ugyldig verdi: forventet ${ee(t.values[0])}`:`Ugyldig valg: forventet en av ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`For stor(t): forventet ${t.origin??"value"} til å ha ${a}${t.maximum.toString()} ${c.unit??"elementer"}`:`For stor(t): forventet ${t.origin??"value"} til å ha ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`For lite(n): forventet ${t.origin} til å ha ${a}${t.minimum.toString()} ${c.unit}`:`For lite(n): forventet ${t.origin} til å ha ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Ugyldig streng: må starte med "${a.prefix}"`:a.format==="ends_with"?`Ugyldig streng: må ende med "${a.suffix}"`:a.format==="includes"?`Ugyldig streng: må inneholde "${a.includes}"`:a.format==="regex"?`Ugyldig streng: må matche mønsteret ${a.pattern}`:`Ugyldig ${i[a.format]??t.format}`}case"not_multiple_of":return`Ugyldig tall: må være et multiplum av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Ukjente nøkler":"Ukjent nøkkel"}: ${R(t.keys,", ")}`;case"invalid_key":return`Ugyldig nøkkel i ${t.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${t.origin}`;default:return"Ugyldig input"}}};function Mw(){return{localeError:Zw()}}const Aw=()=>{const n={string:{unit:"harf",verb:"olmalıdır"},file:{unit:"bayt",verb:"olmalıdır"},array:{unit:"unsur",verb:"olmalıdır"},set:{unit:"unsur",verb:"olmalıdır"}};function r(t){return n[t]??null}const i={regex:"giren",email:"epostagâh",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âmı",date:"ISO tarihi",time:"ISO zamanı",duration:"ISO müddeti",ipv4:"IPv4 nişânı",ipv6:"IPv6 nişânı",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-şifreli metin",base64url:"base64url-şifreli metin",json_string:"JSON metin",e164:"E.164 sayısı",jwt:"JWT",template_literal:"giren"},l={nan:"NaN",number:"numara",array:"saf",null:"gayb"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Fâsit giren: umulan instanceof ${t.expected}, alınan ${p}`:`Fâsit giren: umulan ${a}, alınan ${p}`}case"invalid_value":return t.values.length===1?`Fâsit giren: umulan ${ee(t.values[0])}`:`Fâsit tercih: mûteberler ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Fazla büyük: ${t.origin??"value"}, ${a}${t.maximum.toString()} ${c.unit??"elements"} sahip olmalıydı.`:`Fazla büyük: ${t.origin??"value"}, ${a}${t.maximum.toString()} olmalıydı.`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Fazla küçük: ${t.origin}, ${a}${t.minimum.toString()} ${c.unit} sahip olmalıydı.`:`Fazla küçük: ${t.origin}, ${a}${t.minimum.toString()} olmalıydı.`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Fâsit metin: "${a.prefix}" ile başlamalı.`:a.format==="ends_with"?`Fâsit metin: "${a.suffix}" ile bitmeli.`:a.format==="includes"?`Fâsit metin: "${a.includes}" ihtivâ etmeli.`:a.format==="regex"?`Fâsit metin: ${a.pattern} nakşına uymalı.`:`Fâsit ${i[a.format]??t.format}`}case"not_multiple_of":return`Fâsit sayı: ${t.divisor} katı olmalıydı.`;case"unrecognized_keys":return`Tanınmayan anahtar ${t.keys.length>1?"s":""}: ${R(t.keys,", ")}`;case"invalid_key":return`${t.origin} için tanınmayan anahtar var.`;case"invalid_union":return"Giren tanınamadı.";case"invalid_element":return`${t.origin} için tanınmayan kıymet var.`;default:return"Kıymet tanınamadı."}}};function Fw(){return{localeError:Aw()}}const qw=()=>{const n={string:{unit:"توکي",verb:"ولري"},file:{unit:"بایټس",verb:"ولري"},array:{unit:"توکي",verb:"ولري"},set:{unit:"توکي",verb:"ولري"}};function r(t){return n[t]??null}const i={regex:"ورودي",email:"بریښنالیک",url:"یو آر ال",emoji:"ایموجي",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"نیټه او وخت",date:"نېټه",time:"وخت",duration:"موده",ipv4:"د IPv4 پته",ipv6:"د IPv6 پته",cidrv4:"د IPv4 ساحه",cidrv6:"د IPv6 ساحه",base64:"base64-encoded متن",base64url:"base64url-encoded متن",json_string:"JSON متن",e164:"د E.164 شمېره",jwt:"JWT",template_literal:"ورودي"},l={nan:"NaN",number:"عدد",array:"ارې"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`ناسم ورودي: باید instanceof ${t.expected} وای, مګر ${p} ترلاسه شو`:`ناسم ورودي: باید ${a} وای, مګر ${p} ترلاسه شو`}case"invalid_value":return t.values.length===1?`ناسم ورودي: باید ${ee(t.values[0])} وای`:`ناسم انتخاب: باید یو له ${R(t.values,"|")} څخه وای`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`ډیر لوی: ${t.origin??"ارزښت"} باید ${a}${t.maximum.toString()} ${c.unit??"عنصرونه"} ولري`:`ډیر لوی: ${t.origin??"ارزښت"} باید ${a}${t.maximum.toString()} وي`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`ډیر کوچنی: ${t.origin} باید ${a}${t.minimum.toString()} ${c.unit} ولري`:`ډیر کوچنی: ${t.origin} باید ${a}${t.minimum.toString()} وي`}case"invalid_format":{const a=t;return a.format==="starts_with"?`ناسم متن: باید د "${a.prefix}" سره پیل شي`:a.format==="ends_with"?`ناسم متن: باید د "${a.suffix}" سره پای ته ورسيږي`:a.format==="includes"?`ناسم متن: باید "${a.includes}" ولري`:a.format==="regex"?`ناسم متن: باید د ${a.pattern} سره مطابقت ولري`:`${i[a.format]??t.format} ناسم دی`}case"not_multiple_of":return`ناسم عدد: باید د ${t.divisor} مضرب وي`;case"unrecognized_keys":return`ناسم ${t.keys.length>1?"کلیډونه":"کلیډ"}: ${R(t.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${t.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${t.origin} کې`;default:return"ناسمه ورودي"}}};function Hw(){return{localeError:qw()}}const Jw=()=>{const n={string:{unit:"znaków",verb:"mieć"},file:{unit:"bajtów",verb:"mieć"},array:{unit:"elementów",verb:"mieć"},set:{unit:"elementów",verb:"mieć"}};function r(t){return n[t]??null}const i={regex:"wyrażenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ciąg znaków zakodowany w formacie base64",base64url:"ciąg znaków zakodowany w formacie base64url",json_string:"ciąg znaków w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wejście"},l={nan:"NaN",number:"liczba",array:"tablica"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Nieprawidłowe dane wejściowe: oczekiwano instanceof ${t.expected}, otrzymano ${p}`:`Nieprawidłowe dane wejściowe: oczekiwano ${a}, otrzymano ${p}`}case"invalid_value":return t.values.length===1?`Nieprawidłowe dane wejściowe: oczekiwano ${ee(t.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Za duża wartość: oczekiwano, że ${t.origin??"wartość"} będzie mieć ${a}${t.maximum.toString()} ${c.unit??"elementów"}`:`Zbyt duż(y/a/e): oczekiwano, że ${t.origin??"wartość"} będzie wynosić ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Za mała wartość: oczekiwano, że ${t.origin??"wartość"} będzie mieć ${a}${t.minimum.toString()} ${c.unit??"elementów"}`:`Zbyt mał(y/a/e): oczekiwano, że ${t.origin??"wartość"} będzie wynosić ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Nieprawidłowy ciąg znaków: musi zaczynać się od "${a.prefix}"`:a.format==="ends_with"?`Nieprawidłowy ciąg znaków: musi kończyć się na "${a.suffix}"`:a.format==="includes"?`Nieprawidłowy ciąg znaków: musi zawierać "${a.includes}"`:a.format==="regex"?`Nieprawidłowy ciąg znaków: musi odpowiadać wzorcowi ${a.pattern}`:`Nieprawidłow(y/a/e) ${i[a.format]??t.format}`}case"not_multiple_of":return`Nieprawidłowa liczba: musi być wielokrotnością ${t.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${t.keys.length>1?"s":""}: ${R(t.keys,", ")}`;case"invalid_key":return`Nieprawidłowy klucz w ${t.origin}`;case"invalid_union":return"Nieprawidłowe dane wejściowe";case"invalid_element":return`Nieprawidłowa wartość w ${t.origin}`;default:return"Nieprawidłowe dane wejściowe"}}};function Vw(){return{localeError:Jw()}}const Ww=()=>{const n={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function r(t){return n[t]??null}const i={regex:"padrão",email:"endereço 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ção ISO",ipv4:"endereço IPv4",ipv6:"endereço 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úmero E.164",jwt:"JWT",template_literal:"entrada"},l={nan:"NaN",number:"número",null:"nulo"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Tipo inválido: esperado instanceof ${t.expected}, recebido ${p}`:`Tipo inválido: esperado ${a}, recebido ${p}`}case"invalid_value":return t.values.length===1?`Entrada inválida: esperado ${ee(t.values[0])}`:`Opção inválida: esperada uma das ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Muito grande: esperado que ${t.origin??"valor"} tivesse ${a}${t.maximum.toString()} ${c.unit??"elementos"}`:`Muito grande: esperado que ${t.origin??"valor"} fosse ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Muito pequeno: esperado que ${t.origin} tivesse ${a}${t.minimum.toString()} ${c.unit}`:`Muito pequeno: esperado que ${t.origin} fosse ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Texto inválido: deve começar com "${a.prefix}"`:a.format==="ends_with"?`Texto inválido: deve terminar com "${a.suffix}"`:a.format==="includes"?`Texto inválido: deve incluir "${a.includes}"`:a.format==="regex"?`Texto inválido: deve corresponder ao padrão ${a.pattern}`:`${i[a.format]??t.format} inválido`}case"not_multiple_of":return`Número inválido: deve ser múltiplo de ${t.divisor}`;case"unrecognized_keys":return`Chave${t.keys.length>1?"s":""} desconhecida${t.keys.length>1?"s":""}: ${R(t.keys,", ")}`;case"invalid_key":return`Chave inválida em ${t.origin}`;case"invalid_union":return"Entrada inválida";case"invalid_element":return`Valor inválido em ${t.origin}`;default:return"Campo inválido"}}};function Bw(){return{localeError:Ww()}}const Kw=()=>{const n={string:{unit:"caractere",verb:"să aibă"},file:{unit:"octeți",verb:"să aibă"},array:{unit:"elemente",verb:"să aibă"},set:{unit:"elemente",verb:"să aibă"},map:{unit:"intrări",verb:"să aibă"}};function r(t){return n[t]??null}const i={regex:"intrare",email:"adresă 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ă și oră ISO",date:"dată ISO",time:"oră ISO",duration:"durată ISO",ipv4:"adresă IPv4",ipv6:"adresă IPv6",mac:"adresă MAC",cidrv4:"interval IPv4",cidrv6:"interval IPv6",base64:"șir codat base64",base64url:"șir codat base64url",json_string:"șir JSON",e164:"număr E.164",jwt:"JWT",template_literal:"intrare"},l={nan:"NaN",string:"șir",number:"număr",boolean:"boolean",function:"funcție",array:"matrice",object:"obiect",undefined:"nedefinit",symbol:"simbol",bigint:"număr mare",void:"void",never:"never",map:"hartă",set:"set"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return`Intrare invalidă: așteptat ${a}, primit ${p}`}case"invalid_value":return t.values.length===1?`Intrare invalidă: așteptat ${ee(t.values[0])}`:`Opțiune invalidă: așteptat una dintre ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Prea mare: așteptat ca ${t.origin??"valoarea"} ${c.verb} ${a}${t.maximum.toString()} ${c.unit??"elemente"}`:`Prea mare: așteptat ca ${t.origin??"valoarea"} să fie ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Prea mic: așteptat ca ${t.origin} ${c.verb} ${a}${t.minimum.toString()} ${c.unit}`:`Prea mic: așteptat ca ${t.origin} să fie ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Șir invalid: trebuie să înceapă cu "${a.prefix}"`:a.format==="ends_with"?`Șir invalid: trebuie să se termine cu "${a.suffix}"`:a.format==="includes"?`Șir invalid: trebuie să includă "${a.includes}"`:a.format==="regex"?`Șir invalid: trebuie să se potrivească cu modelul ${a.pattern}`:`Format invalid: ${i[a.format]??t.format}`}case"not_multiple_of":return`Număr invalid: trebuie să fie multiplu de ${t.divisor}`;case"unrecognized_keys":return`Chei nerecunoscute: ${R(t.keys,", ")}`;case"invalid_key":return`Cheie invalidă în ${t.origin}`;case"invalid_union":return"Intrare invalidă";case"invalid_element":return`Valoare invalidă în ${t.origin}`;default:return"Intrare invalidă"}}};function Gw(){return{localeError:Kw()}}function zv(n,r,i,l){const t=Math.abs(n),a=t%10,c=t%100;return c>=11&&c<=19?l:a===1?r:a>=2&&a<=4?i:l}const Qw=()=>{const n={string:{unit:{one:"символ",few:"символа",many:"символов"},verb:"иметь"},file:{unit:{one:"байт",few:"байта",many:"байт"},verb:"иметь"},array:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"},set:{unit:{one:"элемент",few:"элемента",many:"элементов"},verb:"иметь"}};function r(t){return n[t]??null}const i={regex:"ввод",email:"email адрес",url:"URL",emoji:"эмодзи",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO дата и время",date:"ISO дата",time:"ISO время",duration:"ISO длительность",ipv4:"IPv4 адрес",ipv6:"IPv6 адрес",cidrv4:"IPv4 диапазон",cidrv6:"IPv6 диапазон",base64:"строка в формате base64",base64url:"строка в формате base64url",json_string:"JSON строка",e164:"номер E.164",jwt:"JWT",template_literal:"ввод"},l={nan:"NaN",number:"число",array:"массив"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Неверный ввод: ожидалось instanceof ${t.expected}, получено ${p}`:`Неверный ввод: ожидалось ${a}, получено ${p}`}case"invalid_value":return t.values.length===1?`Неверный ввод: ожидалось ${ee(t.values[0])}`:`Неверный вариант: ожидалось одно из ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);if(c){const p=Number(t.maximum),g=zv(p,c.unit.one,c.unit.few,c.unit.many);return`Слишком большое значение: ожидалось, что ${t.origin??"значение"} будет иметь ${a}${t.maximum.toString()} ${g}`}return`Слишком большое значение: ожидалось, что ${t.origin??"значение"} будет ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);if(c){const p=Number(t.minimum),g=zv(p,c.unit.one,c.unit.few,c.unit.many);return`Слишком маленькое значение: ожидалось, что ${t.origin} будет иметь ${a}${t.minimum.toString()} ${g}`}return`Слишком маленькое значение: ожидалось, что ${t.origin} будет ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Неверная строка: должна начинаться с "${a.prefix}"`:a.format==="ends_with"?`Неверная строка: должна заканчиваться на "${a.suffix}"`:a.format==="includes"?`Неверная строка: должна содержать "${a.includes}"`:a.format==="regex"?`Неверная строка: должна соответствовать шаблону ${a.pattern}`:`Неверный ${i[a.format]??t.format}`}case"not_multiple_of":return`Неверное число: должно быть кратным ${t.divisor}`;case"unrecognized_keys":return`Нераспознанн${t.keys.length>1?"ые":"ый"} ключ${t.keys.length>1?"и":""}: ${R(t.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${t.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${t.origin}`;default:return"Неверные входные данные"}}};function Xw(){return{localeError:Qw()}}const Yw=()=>{const n={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function r(t){return n[t]??null}const i={regex:"vnos",email:"e-poštni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in čas",date:"ISO datum",time:"ISO čas",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 številka",jwt:"JWT",template_literal:"vnos"},l={nan:"NaN",number:"število",array:"tabela"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Neveljaven vnos: pričakovano instanceof ${t.expected}, prejeto ${p}`:`Neveljaven vnos: pričakovano ${a}, prejeto ${p}`}case"invalid_value":return t.values.length===1?`Neveljaven vnos: pričakovano ${ee(t.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Preveliko: pričakovano, da bo ${t.origin??"vrednost"} imelo ${a}${t.maximum.toString()} ${c.unit??"elementov"}`:`Preveliko: pričakovano, da bo ${t.origin??"vrednost"} ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Premajhno: pričakovano, da bo ${t.origin} imelo ${a}${t.minimum.toString()} ${c.unit}`:`Premajhno: pričakovano, da bo ${t.origin} ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Neveljaven niz: mora se začeti z "${a.prefix}"`:a.format==="ends_with"?`Neveljaven niz: mora se končati z "${a.suffix}"`:a.format==="includes"?`Neveljaven niz: mora vsebovati "${a.includes}"`:a.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${a.pattern}`:`Neveljaven ${i[a.format]??t.format}`}case"not_multiple_of":return`Neveljavno število: mora biti večkratnik ${t.divisor}`;case"unrecognized_keys":return`Neprepoznan${t.keys.length>1?"i ključi":" ključ"}: ${R(t.keys,", ")}`;case"invalid_key":return`Neveljaven ključ v ${t.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${t.origin}`;default:return"Neveljaven vnos"}}};function eb(){return{localeError:Yw()}}const tb=()=>{const n={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att innehålla"},set:{unit:"objekt",verb:"att innehålla"}};function r(t){return n[t]??null}const i={regex:"reguljärt 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äng",base64url:"base64url-kodad sträng",json_string:"JSON-sträng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"},l={nan:"NaN",number:"antal",array:"lista"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Ogiltig inmatning: förväntat instanceof ${t.expected}, fick ${p}`:`Ogiltig inmatning: förväntat ${a}, fick ${p}`}case"invalid_value":return t.values.length===1?`Ogiltig inmatning: förväntat ${ee(t.values[0])}`:`Ogiltigt val: förväntade en av ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`För stor(t): förväntade ${t.origin??"värdet"} att ha ${a}${t.maximum.toString()} ${c.unit??"element"}`:`För stor(t): förväntat ${t.origin??"värdet"} att ha ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`För lite(t): förväntade ${t.origin??"värdet"} att ha ${a}${t.minimum.toString()} ${c.unit}`:`För lite(t): förväntade ${t.origin??"värdet"} att ha ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Ogiltig sträng: måste börja med "${a.prefix}"`:a.format==="ends_with"?`Ogiltig sträng: måste sluta med "${a.suffix}"`:a.format==="includes"?`Ogiltig sträng: måste innehålla "${a.includes}"`:a.format==="regex"?`Ogiltig sträng: måste matcha mönstret "${a.pattern}"`:`Ogiltig(t) ${i[a.format]??t.format}`}case"not_multiple_of":return`Ogiltigt tal: måste vara en multipel av ${t.divisor}`;case"unrecognized_keys":return`${t.keys.length>1?"Okända nycklar":"Okänd nyckel"}: ${R(t.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${t.origin??"värdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt värde i ${t.origin??"värdet"}`;default:return"Ogiltig input"}}};function nb(){return{localeError:tb()}}const rb=()=>{const n={string:{unit:"எழுத்துக்கள்",verb:"கொண்டிருக்க வேண்டும்"},file:{unit:"பைட்டுகள்",verb:"கொண்டிருக்க வேண்டும்"},array:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"},set:{unit:"உறுப்புகள்",verb:"கொண்டிருக்க வேண்டும்"}};function r(t){return n[t]??null}const i={regex:"உள்ளீடு",email:"மின்னஞ்சல் முகவரி",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO தேதி நேரம்",date:"ISO தேதி",time:"ISO நேரம்",duration:"ISO கால அளவு",ipv4:"IPv4 முகவரி",ipv6:"IPv6 முகவரி",cidrv4:"IPv4 வரம்பு",cidrv6:"IPv6 வரம்பு",base64:"base64-encoded சரம்",base64url:"base64url-encoded சரம்",json_string:"JSON சரம்",e164:"E.164 எண்",jwt:"JWT",template_literal:"input"},l={nan:"NaN",number:"எண்",array:"அணி",null:"வெறுமை"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது instanceof ${t.expected}, பெறப்பட்டது ${p}`:`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${a}, பெறப்பட்டது ${p}`}case"invalid_value":return t.values.length===1?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${ee(t.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${R(t.values,"|")} இல் ஒன்று`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin??"மதிப்பு"} ${a}${t.maximum.toString()} ${c.unit??"உறுப்புகள்"} ஆக இருக்க வேண்டும்`:`மிக பெரியது: எதிர்பார்க்கப்பட்டது ${t.origin??"மதிப்பு"} ${a}${t.maximum.toString()} ஆக இருக்க வேண்டும்`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${a}${t.minimum.toString()} ${c.unit} ஆக இருக்க வேண்டும்`:`மிகச் சிறியது: எதிர்பார்க்கப்பட்டது ${t.origin} ${a}${t.minimum.toString()} ஆக இருக்க வேண்டும்`}case"invalid_format":{const a=t;return a.format==="starts_with"?`தவறான சரம்: "${a.prefix}" இல் தொடங்க வேண்டும்`:a.format==="ends_with"?`தவறான சரம்: "${a.suffix}" இல் முடிவடைய வேண்டும்`:a.format==="includes"?`தவறான சரம்: "${a.includes}" ஐ உள்ளடக்க வேண்டும்`:a.format==="regex"?`தவறான சரம்: ${a.pattern} முறைபாட்டுடன் பொருந்த வேண்டும்`:`தவறான ${i[a.format]??t.format}`}case"not_multiple_of":return`தவறான எண்: ${t.divisor} இன் பலமாக இருக்க வேண்டும்`;case"unrecognized_keys":return`அடையாளம் தெரியாத விசை${t.keys.length>1?"கள்":""}: ${R(t.keys,", ")}`;case"invalid_key":return`${t.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${t.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function ob(){return{localeError:rb()}}const ib=()=>{const n={string:{unit:"ตัวอักษร",verb:"ควรมี"},file:{unit:"ไบต์",verb:"ควรมี"},array:{unit:"รายการ",verb:"ควรมี"},set:{unit:"รายการ",verb:"ควรมี"}};function r(t){return n[t]??null}const i={regex:"ข้อมูลที่ป้อน",email:"ที่อยู่อีเมล",url:"URL",emoji:"อิโมจิ",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"วันที่เวลาแบบ ISO",date:"วันที่แบบ ISO",time:"เวลาแบบ ISO",duration:"ช่วงเวลาแบบ ISO",ipv4:"ที่อยู่ IPv4",ipv6:"ที่อยู่ IPv6",cidrv4:"ช่วง IP แบบ IPv4",cidrv6:"ช่วง IP แบบ IPv6",base64:"ข้อความแบบ Base64",base64url:"ข้อความแบบ Base64 สำหรับ URL",json_string:"ข้อความแบบ JSON",e164:"เบอร์โทรศัพท์ระหว่างประเทศ (E.164)",jwt:"โทเคน JWT",template_literal:"ข้อมูลที่ป้อน"},l={nan:"NaN",number:"ตัวเลข",array:"อาร์เรย์ (Array)",null:"ไม่มีค่า (null)"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น instanceof ${t.expected} แต่ได้รับ ${p}`:`ประเภทข้อมูลไม่ถูกต้อง: ควรเป็น ${a} แต่ได้รับ ${p}`}case"invalid_value":return t.values.length===1?`ค่าไม่ถูกต้อง: ควรเป็น ${ee(t.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"ไม่เกิน":"น้อยกว่า",c=r(t.origin);return c?`เกินกำหนด: ${t.origin??"ค่า"} ควรมี${a} ${t.maximum.toString()} ${c.unit??"รายการ"}`:`เกินกำหนด: ${t.origin??"ค่า"} ควรมี${a} ${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?"อย่างน้อย":"มากกว่า",c=r(t.origin);return c?`น้อยกว่ากำหนด: ${t.origin} ควรมี${a} ${t.minimum.toString()} ${c.unit}`:`น้อยกว่ากำหนด: ${t.origin} ควรมี${a} ${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องขึ้นต้นด้วย "${a.prefix}"`:a.format==="ends_with"?`รูปแบบไม่ถูกต้อง: ข้อความต้องลงท้ายด้วย "${a.suffix}"`:a.format==="includes"?`รูปแบบไม่ถูกต้อง: ข้อความต้องมี "${a.includes}" อยู่ในข้อความ`:a.format==="regex"?`รูปแบบไม่ถูกต้อง: ต้องตรงกับรูปแบบที่กำหนด ${a.pattern}`:`รูปแบบไม่ถูกต้อง: ${i[a.format]??t.format}`}case"not_multiple_of":return`ตัวเลขไม่ถูกต้อง: ต้องเป็นจำนวนที่หารด้วย ${t.divisor} ได้ลงตัว`;case"unrecognized_keys":return`พบคีย์ที่ไม่รู้จัก: ${R(t.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${t.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${t.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function ab(){return{localeError:ib()}}const sb=()=>{const n={string:{unit:"karakter",verb:"olmalı"},file:{unit:"bayt",verb:"olmalı"},array:{unit:"öğe",verb:"olmalı"},set:{unit:"öğe",verb:"olmalı"}};function r(t){return n[t]??null}const i={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üre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aralığı",cidrv6:"IPv6 aralığı",base64:"base64 ile şifrelenmiş metin",base64url:"base64url ile şifrelenmiş metin",json_string:"JSON dizesi",e164:"E.164 sayısı",jwt:"JWT",template_literal:"Şablon dizesi"},l={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Geçersiz değer: beklenen instanceof ${t.expected}, alınan ${p}`:`Geçersiz değer: beklenen ${a}, alınan ${p}`}case"invalid_value":return t.values.length===1?`Geçersiz değer: beklenen ${ee(t.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Çok büyük: beklenen ${t.origin??"değer"} ${a}${t.maximum.toString()} ${c.unit??"öğe"}`:`Çok büyük: beklenen ${t.origin??"değer"} ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Çok küçük: beklenen ${t.origin} ${a}${t.minimum.toString()} ${c.unit}`:`Çok küçük: beklenen ${t.origin} ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Geçersiz metin: "${a.prefix}" ile başlamalı`:a.format==="ends_with"?`Geçersiz metin: "${a.suffix}" ile bitmeli`:a.format==="includes"?`Geçersiz metin: "${a.includes}" içermeli`:a.format==="regex"?`Geçersiz metin: ${a.pattern} desenine uymalı`:`Geçersiz ${i[a.format]??t.format}`}case"not_multiple_of":return`Geçersiz sayı: ${t.divisor} ile tam bölünebilmeli`;case"unrecognized_keys":return`Tanınmayan anahtar${t.keys.length>1?"lar":""}: ${R(t.keys,", ")}`;case"invalid_key":return`${t.origin} içinde geçersiz anahtar`;case"invalid_union":return"Geçersiz değer";case"invalid_element":return`${t.origin} içinde geçersiz değer`;default:return"Geçersiz değer"}}};function lb(){return{localeError:sb()}}const ub=()=>{const n={string:{unit:"символів",verb:"матиме"},file:{unit:"байтів",verb:"матиме"},array:{unit:"елементів",verb:"матиме"},set:{unit:"елементів",verb:"матиме"}};function r(t){return n[t]??null}const i={regex:"вхідні дані",email:"адреса електронної пошти",url:"URL",emoji:"емодзі",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"дата та час ISO",date:"дата ISO",time:"час ISO",duration:"тривалість ISO",ipv4:"адреса IPv4",ipv6:"адреса IPv6",cidrv4:"діапазон IPv4",cidrv6:"діапазон IPv6",base64:"рядок у кодуванні base64",base64url:"рядок у кодуванні base64url",json_string:"рядок JSON",e164:"номер E.164",jwt:"JWT",template_literal:"вхідні дані"},l={nan:"NaN",number:"число",array:"масив"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Неправильні вхідні дані: очікується instanceof ${t.expected}, отримано ${p}`:`Неправильні вхідні дані: очікується ${a}, отримано ${p}`}case"invalid_value":return t.values.length===1?`Неправильні вхідні дані: очікується ${ee(t.values[0])}`:`Неправильна опція: очікується одне з ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Занадто велике: очікується, що ${t.origin??"значення"} ${c.verb} ${a}${t.maximum.toString()} ${c.unit??"елементів"}`:`Занадто велике: очікується, що ${t.origin??"значення"} буде ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Занадто мале: очікується, що ${t.origin} ${c.verb} ${a}${t.minimum.toString()} ${c.unit}`:`Занадто мале: очікується, що ${t.origin} буде ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Неправильний рядок: повинен починатися з "${a.prefix}"`:a.format==="ends_with"?`Неправильний рядок: повинен закінчуватися на "${a.suffix}"`:a.format==="includes"?`Неправильний рядок: повинен містити "${a.includes}"`:a.format==="regex"?`Неправильний рядок: повинен відповідати шаблону ${a.pattern}`:`Неправильний ${i[a.format]??t.format}`}case"not_multiple_of":return`Неправильне число: повинно бути кратним ${t.divisor}`;case"unrecognized_keys":return`Нерозпізнаний ключ${t.keys.length>1?"і":""}: ${R(t.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${t.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${t.origin}`;default:return"Неправильні вхідні дані"}}};function x_(){return{localeError:ub()}}function cb(){return x_()}const db=()=>{const n={string:{unit:"حروف",verb:"ہونا"},file:{unit:"بائٹس",verb:"ہونا"},array:{unit:"آئٹمز",verb:"ہونا"},set:{unit:"آئٹمز",verb:"ہونا"}};function r(t){return n[t]??null}const i={regex:"ان پٹ",email:"ای میل ایڈریس",url:"یو آر ایل",emoji:"ایموجی",uuid:"یو یو آئی ڈی",uuidv4:"یو یو آئی ڈی وی 4",uuidv6:"یو یو آئی ڈی وی 6",nanoid:"نینو آئی ڈی",guid:"جی یو آئی ڈی",cuid:"سی یو آئی ڈی",cuid2:"سی یو آئی ڈی 2",ulid:"یو ایل آئی ڈی",xid:"ایکس آئی ڈی",ksuid:"کے ایس یو آئی ڈی",datetime:"آئی ایس او ڈیٹ ٹائم",date:"آئی ایس او تاریخ",time:"آئی ایس او وقت",duration:"آئی ایس او مدت",ipv4:"آئی پی وی 4 ایڈریس",ipv6:"آئی پی وی 6 ایڈریس",cidrv4:"آئی پی وی 4 رینج",cidrv6:"آئی پی وی 6 رینج",base64:"بیس 64 ان کوڈڈ سٹرنگ",base64url:"بیس 64 یو آر ایل ان کوڈڈ سٹرنگ",json_string:"جے ایس او این سٹرنگ",e164:"ای 164 نمبر",jwt:"جے ڈبلیو ٹی",template_literal:"ان پٹ"},l={nan:"NaN",number:"نمبر",array:"آرے",null:"نل"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`غلط ان پٹ: instanceof ${t.expected} متوقع تھا، ${p} موصول ہوا`:`غلط ان پٹ: ${a} متوقع تھا، ${p} موصول ہوا`}case"invalid_value":return t.values.length===1?`غلط ان پٹ: ${ee(t.values[0])} متوقع تھا`:`غلط آپشن: ${R(t.values,"|")} میں سے ایک متوقع تھا`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`بہت بڑا: ${t.origin??"ویلیو"} کے ${a}${t.maximum.toString()} ${c.unit??"عناصر"} ہونے متوقع تھے`:`بہت بڑا: ${t.origin??"ویلیو"} کا ${a}${t.maximum.toString()} ہونا متوقع تھا`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`بہت چھوٹا: ${t.origin} کے ${a}${t.minimum.toString()} ${c.unit} ہونے متوقع تھے`:`بہت چھوٹا: ${t.origin} کا ${a}${t.minimum.toString()} ہونا متوقع تھا`}case"invalid_format":{const a=t;return a.format==="starts_with"?`غلط سٹرنگ: "${a.prefix}" سے شروع ہونا چاہیے`:a.format==="ends_with"?`غلط سٹرنگ: "${a.suffix}" پر ختم ہونا چاہیے`:a.format==="includes"?`غلط سٹرنگ: "${a.includes}" شامل ہونا چاہیے`:a.format==="regex"?`غلط سٹرنگ: پیٹرن ${a.pattern} سے میچ ہونا چاہیے`:`غلط ${i[a.format]??t.format}`}case"not_multiple_of":return`غلط نمبر: ${t.divisor} کا مضاعف ہونا چاہیے`;case"unrecognized_keys":return`غیر تسلیم شدہ کی${t.keys.length>1?"ز":""}: ${R(t.keys,"، ")}`;case"invalid_key":return`${t.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${t.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function fb(){return{localeError:db()}}const pb=()=>{const n={string:{unit:"belgi",verb:"bo‘lishi kerak"},file:{unit:"bayt",verb:"bo‘lishi kerak"},array:{unit:"element",verb:"bo‘lishi kerak"},set:{unit:"element",verb:"bo‘lishi kerak"},map:{unit:"yozuv",verb:"bo‘lishi kerak"}};function r(t){return n[t]??null}const i={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"},l={nan:"NaN",number:"raqam",array:"massiv"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Noto‘g‘ri kirish: kutilgan instanceof ${t.expected}, qabul qilingan ${p}`:`Noto‘g‘ri kirish: kutilgan ${a}, qabul qilingan ${p}`}case"invalid_value":return t.values.length===1?`Noto‘g‘ri kirish: kutilgan ${ee(t.values[0])}`:`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Juda katta: kutilgan ${t.origin??"qiymat"} ${a}${t.maximum.toString()} ${c.unit} ${c.verb}`:`Juda katta: kutilgan ${t.origin??"qiymat"} ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Juda kichik: kutilgan ${t.origin} ${a}${t.minimum.toString()} ${c.unit} ${c.verb}`:`Juda kichik: kutilgan ${t.origin} ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Noto‘g‘ri satr: "${a.prefix}" bilan boshlanishi kerak`:a.format==="ends_with"?`Noto‘g‘ri satr: "${a.suffix}" bilan tugashi kerak`:a.format==="includes"?`Noto‘g‘ri satr: "${a.includes}" ni o‘z ichiga olishi kerak`:a.format==="regex"?`Noto‘g‘ri satr: ${a.pattern} shabloniga mos kelishi kerak`:`Noto‘g‘ri ${i[a.format]??t.format}`}case"not_multiple_of":return`Noto‘g‘ri raqam: ${t.divisor} ning karralisi bo‘lishi kerak`;case"unrecognized_keys":return`Noma’lum kalit${t.keys.length>1?"lar":""}: ${R(t.keys,", ")}`;case"invalid_key":return`${t.origin} dagi kalit noto‘g‘ri`;case"invalid_union":return"Noto‘g‘ri kirish";case"invalid_element":return`${t.origin} da noto‘g‘ri qiymat`;default:return"Noto‘g‘ri kirish"}}};function mb(){return{localeError:pb()}}const gb=()=>{const n={string:{unit:"ký tự",verb:"có"},file:{unit:"byte",verb:"có"},array:{unit:"phần tử",verb:"có"},set:{unit:"phần tử",verb:"có"}};function r(t){return n[t]??null}const i={regex:"đầu vào",email:"địa chỉ email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ngày giờ ISO",date:"ngày ISO",time:"giờ ISO",duration:"khoảng thời gian ISO",ipv4:"địa chỉ IPv4",ipv6:"địa chỉ IPv6",cidrv4:"dải IPv4",cidrv6:"dải IPv6",base64:"chuỗi mã hóa base64",base64url:"chuỗi mã hóa base64url",json_string:"chuỗi JSON",e164:"số E.164",jwt:"JWT",template_literal:"đầu vào"},l={nan:"NaN",number:"số",array:"mảng"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Đầu vào không hợp lệ: mong đợi instanceof ${t.expected}, nhận được ${p}`:`Đầu vào không hợp lệ: mong đợi ${a}, nhận được ${p}`}case"invalid_value":return t.values.length===1?`Đầu vào không hợp lệ: mong đợi ${ee(t.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Quá lớn: mong đợi ${t.origin??"giá trị"} ${c.verb} ${a}${t.maximum.toString()} ${c.unit??"phần tử"}`:`Quá lớn: mong đợi ${t.origin??"giá trị"} ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Quá nhỏ: mong đợi ${t.origin} ${c.verb} ${a}${t.minimum.toString()} ${c.unit}`:`Quá nhỏ: mong đợi ${t.origin} ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Chuỗi không hợp lệ: phải bắt đầu bằng "${a.prefix}"`:a.format==="ends_with"?`Chuỗi không hợp lệ: phải kết thúc bằng "${a.suffix}"`:a.format==="includes"?`Chuỗi không hợp lệ: phải bao gồm "${a.includes}"`:a.format==="regex"?`Chuỗi không hợp lệ: phải khớp với mẫu ${a.pattern}`:`${i[a.format]??t.format} không hợp lệ`}case"not_multiple_of":return`Số không hợp lệ: phải là bội số của ${t.divisor}`;case"unrecognized_keys":return`Khóa không được nhận dạng: ${R(t.keys,", ")}`;case"invalid_key":return`Khóa không hợp lệ trong ${t.origin}`;case"invalid_union":return"Đầu vào không hợp lệ";case"invalid_element":return`Giá trị không hợp lệ trong ${t.origin}`;default:return"Đầu vào không hợp lệ"}}};function hb(){return{localeError:gb()}}const vb=()=>{const n={string:{unit:"字符",verb:"包含"},file:{unit:"字节",verb:"包含"},array:{unit:"项",verb:"包含"},set:{unit:"项",verb:"包含"}};function r(t){return n[t]??null}const i={regex:"输入",email:"电子邮件",url:"URL",emoji:"表情符号",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO日期时间",date:"ISO日期",time:"ISO时间",duration:"ISO时长",ipv4:"IPv4地址",ipv6:"IPv6地址",cidrv4:"IPv4网段",cidrv6:"IPv6网段",base64:"base64编码字符串",base64url:"base64url编码字符串",json_string:"JSON字符串",e164:"E.164号码",jwt:"JWT",template_literal:"输入"},l={nan:"NaN",number:"数字",array:"数组",null:"空值(null)"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`无效输入:期望 instanceof ${t.expected},实际接收 ${p}`:`无效输入:期望 ${a},实际接收 ${p}`}case"invalid_value":return t.values.length===1?`无效输入:期望 ${ee(t.values[0])}`:`无效选项:期望以下之一 ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`数值过大:期望 ${t.origin??"值"} ${a}${t.maximum.toString()} ${c.unit??"个元素"}`:`数值过大:期望 ${t.origin??"值"} ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`数值过小:期望 ${t.origin} ${a}${t.minimum.toString()} ${c.unit}`:`数值过小:期望 ${t.origin} ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`无效字符串:必须以 "${a.prefix}" 开头`:a.format==="ends_with"?`无效字符串:必须以 "${a.suffix}" 结尾`:a.format==="includes"?`无效字符串:必须包含 "${a.includes}"`:a.format==="regex"?`无效字符串:必须满足正则表达式 ${a.pattern}`:`无效${i[a.format]??t.format}`}case"not_multiple_of":return`无效数字:必须是 ${t.divisor} 的倍数`;case"unrecognized_keys":return`出现未知的键(key): ${R(t.keys,", ")}`;case"invalid_key":return`${t.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${t.origin} 中包含无效值(value)`;default:return"无效输入"}}};function yb(){return{localeError:vb()}}const _b=()=>{const n={string:{unit:"字元",verb:"擁有"},file:{unit:"位元組",verb:"擁有"},array:{unit:"項目",verb:"擁有"},set:{unit:"項目",verb:"擁有"}};function r(t){return n[t]??null}const i={regex:"輸入",email:"郵件地址",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO 日期時間",date:"ISO 日期",time:"ISO 時間",duration:"ISO 期間",ipv4:"IPv4 位址",ipv6:"IPv6 位址",cidrv4:"IPv4 範圍",cidrv6:"IPv6 範圍",base64:"base64 編碼字串",base64url:"base64url 編碼字串",json_string:"JSON 字串",e164:"E.164 數值",jwt:"JWT",template_literal:"輸入"},l={nan:"NaN"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`無效的輸入值:預期為 instanceof ${t.expected},但收到 ${p}`:`無效的輸入值:預期為 ${a},但收到 ${p}`}case"invalid_value":return t.values.length===1?`無效的輸入值:預期為 ${ee(t.values[0])}`:`無效的選項:預期為以下其中之一 ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`數值過大:預期 ${t.origin??"值"} 應為 ${a}${t.maximum.toString()} ${c.unit??"個元素"}`:`數值過大:預期 ${t.origin??"值"} 應為 ${a}${t.maximum.toString()}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`數值過小:預期 ${t.origin} 應為 ${a}${t.minimum.toString()} ${c.unit}`:`數值過小:預期 ${t.origin} 應為 ${a}${t.minimum.toString()}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`無效的字串:必須以 "${a.prefix}" 開頭`:a.format==="ends_with"?`無效的字串:必須以 "${a.suffix}" 結尾`:a.format==="includes"?`無效的字串:必須包含 "${a.includes}"`:a.format==="regex"?`無效的字串:必須符合格式 ${a.pattern}`:`無效的 ${i[a.format]??t.format}`}case"not_multiple_of":return`無效的數字:必須為 ${t.divisor} 的倍數`;case"unrecognized_keys":return`無法識別的鍵值${t.keys.length>1?"們":""}:${R(t.keys,"、")}`;case"invalid_key":return`${t.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${t.origin} 中有無效的值`;default:return"無效的輸入值"}}};function $b(){return{localeError:_b()}}const kb=()=>{const n={string:{unit:"àmi",verb:"ní"},file:{unit:"bytes",verb:"ní"},array:{unit:"nkan",verb:"ní"},set:{unit:"nkan",verb:"ní"}};function r(t){return n[t]??null}const i={regex:"ẹ̀rọ ìbáwọlé",email:"àdírẹ́sì ìmẹ́lì",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:"àkókò ISO",date:"ọjọ́ ISO",time:"àkókò ISO",duration:"àkókò tó pé ISO",ipv4:"àdírẹ́sì IPv4",ipv6:"àdírẹ́sì IPv6",cidrv4:"àgbègbè IPv4",cidrv6:"àgbègbè IPv6",base64:"ọ̀rọ̀ tí a kọ́ ní base64",base64url:"ọ̀rọ̀ base64url",json_string:"ọ̀rọ̀ JSON",e164:"nọ́mbà E.164",jwt:"JWT",template_literal:"ẹ̀rọ ìbáwọlé"},l={nan:"NaN",number:"nọ́mbà",array:"akopọ"};return t=>{switch(t.code){case"invalid_type":{const a=l[t.expected]??t.expected,c=re(t.input),p=l[c]??c;return/^[A-Z]/.test(t.expected)?`Ìbáwọlé aṣìṣe: a ní láti fi instanceof ${t.expected}, àmọ̀ a rí ${p}`:`Ìbáwọlé aṣìṣe: a ní láti fi ${a}, àmọ̀ a rí ${p}`}case"invalid_value":return t.values.length===1?`Ìbáwọlé aṣìṣe: a ní láti fi ${ee(t.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${R(t.values,"|")}`;case"too_big":{const a=t.inclusive?"<=":"<",c=r(t.origin);return c?`Tó pọ̀ jù: a ní láti jẹ́ pé ${t.origin??"iye"} ${c.verb} ${a}${t.maximum} ${c.unit}`:`Tó pọ̀ jù: a ní láti jẹ́ ${a}${t.maximum}`}case"too_small":{const a=t.inclusive?">=":">",c=r(t.origin);return c?`Kéré ju: a ní láti jẹ́ pé ${t.origin} ${c.verb} ${a}${t.minimum} ${c.unit}`:`Kéré ju: a ní láti jẹ́ ${a}${t.minimum}`}case"invalid_format":{const a=t;return a.format==="starts_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bẹ̀rẹ̀ pẹ̀lú "${a.prefix}"`:a.format==="ends_with"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ parí pẹ̀lú "${a.suffix}"`:a.format==="includes"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ ní "${a.includes}"`:a.format==="regex"?`Ọ̀rọ̀ aṣìṣe: gbọ́dọ̀ bá àpẹẹrẹ mu ${a.pattern}`:`Aṣìṣe: ${i[a.format]??t.format}`}case"not_multiple_of":return`Nọ́mbà aṣìṣe: gbọ́dọ̀ jẹ́ èyà pípín ti ${t.divisor}`;case"unrecognized_keys":return`Bọtìnì àìmọ̀: ${R(t.keys,", ")}`;case"invalid_key":return`Bọtìnì aṣìṣe nínú ${t.origin}`;case"invalid_union":return"Ìbáwọlé aṣìṣe";case"invalid_element":return`Iye aṣìṣe nínú ${t.origin}`;default:return"Ìbáwọlé aṣìṣe"}}};function Sb(){return{localeError:kb()}}const Zd=Object.freeze(Object.defineProperty({__proto__:null,ar:O1,az:D1,be:R1,bg:Z1,ca:A1,cs:q1,da:J1,de:W1,el:K1,en:w_,eo:X1,es:ew,fa:nw,fi:ow,fr:aw,frCA:lw,he:cw,hr:fw,hu:mw,hy:hw,id:yw,is:$w,it:Sw,ja:bw,ka:Iw,kh:Tw,km:b_,ko:Ew,lt:Nw,mk:Uw,ms:Cw,nl:Lw,no:Mw,ota:Fw,pl:Vw,ps:Hw,pt:Bw,ro:Gw,ru:Xw,sl:eb,sv:nb,ta:ob,th:ab,tr:lb,ua:cb,uk:x_,ur:fb,uz:mb,vi:hb,yo:Sb,zhCN:yb,zhTW:$b},Symbol.toStringTag,{value:"Module"}));var Tv;const Md=Symbol("ZodOutput"),Ad=Symbol("ZodInput");class I_{constructor(){this._map=new WeakMap,this._idmap=new Map}add(r,...i){const l=i[0];return this._map.set(r,l),l&&typeof l=="object"&&"id"in l&&this._idmap.set(l.id,r),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(r){const i=this._map.get(r);return i&&typeof i=="object"&&"id"in i&&this._idmap.delete(i.id),this._map.delete(r),this}get(r){const i=r._zod.parent;if(i){const l={...this.get(i)??{}};delete l.id;const t={...l,...this._map.get(r)};return Object.keys(t).length?t:void 0}return this._map.get(r)}has(r){return this._map.has(r)}}function Ys(){return new I_}(Tv=globalThis).__zod_globalRegistry??(Tv.__zod_globalRegistry=Ys());const Dt=globalThis.__zod_globalRegistry;function z_(n,r){return new n({type:"string",...N(r)})}function T_(n,r){return new n({type:"string",coerce:!0,...N(r)})}function Fd(n,r){return new n({type:"string",format:"email",check:"string_format",abort:!1,...N(r)})}function Ms(n,r){return new n({type:"string",format:"guid",check:"string_format",abort:!1,...N(r)})}function qd(n,r){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,...N(r)})}function Hd(n,r){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...N(r)})}function Jd(n,r){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...N(r)})}function Vd(n,r){return new n({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...N(r)})}function el(n,r){return new n({type:"string",format:"url",check:"string_format",abort:!1,...N(r)})}function Wd(n,r){return new n({type:"string",format:"emoji",check:"string_format",abort:!1,...N(r)})}function Bd(n,r){return new n({type:"string",format:"nanoid",check:"string_format",abort:!1,...N(r)})}function Kd(n,r){return new n({type:"string",format:"cuid",check:"string_format",abort:!1,...N(r)})}function Gd(n,r){return new n({type:"string",format:"cuid2",check:"string_format",abort:!1,...N(r)})}function Qd(n,r){return new n({type:"string",format:"ulid",check:"string_format",abort:!1,...N(r)})}function Xd(n,r){return new n({type:"string",format:"xid",check:"string_format",abort:!1,...N(r)})}function Yd(n,r){return new n({type:"string",format:"ksuid",check:"string_format",abort:!1,...N(r)})}function ef(n,r){return new n({type:"string",format:"ipv4",check:"string_format",abort:!1,...N(r)})}function tf(n,r){return new n({type:"string",format:"ipv6",check:"string_format",abort:!1,...N(r)})}function j_(n,r){return new n({type:"string",format:"mac",check:"string_format",abort:!1,...N(r)})}function nf(n,r){return new n({type:"string",format:"cidrv4",check:"string_format",abort:!1,...N(r)})}function rf(n,r){return new n({type:"string",format:"cidrv6",check:"string_format",abort:!1,...N(r)})}function of(n,r){return new n({type:"string",format:"base64",check:"string_format",abort:!1,...N(r)})}function af(n,r){return new n({type:"string",format:"base64url",check:"string_format",abort:!1,...N(r)})}function sf(n,r){return new n({type:"string",format:"e164",check:"string_format",abort:!1,...N(r)})}function lf(n,r){return new n({type:"string",format:"jwt",check:"string_format",abort:!1,...N(r)})}const uf={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function E_(n,r){return new n({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...N(r)})}function P_(n,r){return new n({type:"string",format:"date",check:"string_format",...N(r)})}function N_(n,r){return new n({type:"string",format:"time",check:"string_format",precision:null,...N(r)})}function O_(n,r){return new n({type:"string",format:"duration",check:"string_format",...N(r)})}function U_(n,r){return new n({type:"number",checks:[],...N(r)})}function D_(n,r){return new n({type:"number",coerce:!0,checks:[],...N(r)})}function C_(n,r){return new n({type:"number",check:"number_format",abort:!1,format:"safeint",...N(r)})}function R_(n,r){return new n({type:"number",check:"number_format",abort:!1,format:"float32",...N(r)})}function L_(n,r){return new n({type:"number",check:"number_format",abort:!1,format:"float64",...N(r)})}function Z_(n,r){return new n({type:"number",check:"number_format",abort:!1,format:"int32",...N(r)})}function M_(n,r){return new n({type:"number",check:"number_format",abort:!1,format:"uint32",...N(r)})}function A_(n,r){return new n({type:"boolean",...N(r)})}function F_(n,r){return new n({type:"boolean",coerce:!0,...N(r)})}function q_(n,r){return new n({type:"bigint",...N(r)})}function H_(n,r){return new n({type:"bigint",coerce:!0,...N(r)})}function J_(n,r){return new n({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...N(r)})}function V_(n,r){return new n({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...N(r)})}function W_(n,r){return new n({type:"symbol",...N(r)})}function B_(n,r){return new n({type:"undefined",...N(r)})}function K_(n,r){return new n({type:"null",...N(r)})}function G_(n){return new n({type:"any"})}function Q_(n){return new n({type:"unknown"})}function X_(n,r){return new n({type:"never",...N(r)})}function Y_(n,r){return new n({type:"void",...N(r)})}function e$(n,r){return new n({type:"date",...N(r)})}function t$(n,r){return new n({type:"date",coerce:!0,...N(r)})}function n$(n,r){return new n({type:"nan",...N(r)})}function In(n,r){return new jd({check:"less_than",...N(r),value:n,inclusive:!1})}function Ct(n,r){return new jd({check:"less_than",...N(r),value:n,inclusive:!0})}function zn(n,r){return new Ed({check:"greater_than",...N(r),value:n,inclusive:!1})}function yt(n,r){return new Ed({check:"greater_than",...N(r),value:n,inclusive:!0})}function tl(n){return zn(0,n)}function nl(n){return In(0,n)}function rl(n){return Ct(0,n)}function ol(n){return yt(0,n)}function yr(n,r){return new Hy({check:"multiple_of",...N(r),value:n})}function wr(n,r){return new Wy({check:"max_size",...N(r),maximum:n})}function Tn(n,r){return new By({check:"min_size",...N(r),minimum:n})}function lo(n,r){return new Ky({check:"size_equals",...N(r),size:n})}function uo(n,r){return new Gy({check:"max_length",...N(r),maximum:n})}function Kn(n,r){return new Qy({check:"min_length",...N(r),minimum:n})}function co(n,r){return new Xy({check:"length_equals",...N(r),length:n})}function Ii(n,r){return new Yy({check:"string_format",format:"regex",...N(r),pattern:n})}function zi(n){return new e0({check:"string_format",format:"lowercase",...N(n)})}function Ti(n){return new t0({check:"string_format",format:"uppercase",...N(n)})}function ji(n,r){return new n0({check:"string_format",format:"includes",...N(r),includes:n})}function Ei(n,r){return new r0({check:"string_format",format:"starts_with",...N(r),prefix:n})}function Pi(n,r){return new o0({check:"string_format",format:"ends_with",...N(r),suffix:n})}function il(n,r,i){return new i0({check:"property",property:n,schema:r,...N(i)})}function Ni(n,r){return new a0({check:"mime_type",mime:n,...N(r)})}function gn(n){return new s0({check:"overwrite",tx:n})}function Oi(n){return gn(r=>r.normalize(n))}function Ui(){return gn(n=>n.trim())}function Di(){return gn(n=>n.toLowerCase())}function Ci(){return gn(n=>n.toUpperCase())}function Ri(){return gn(n=>Hv(n))}function r$(n,r,i){return new n({type:"array",element:r,...N(i)})}function wb(n,r,i){return new n({type:"union",options:r,...N(i)})}function bb(n,r,i){return new n({type:"union",options:r,inclusive:!1,...N(i)})}function xb(n,r,i,l){return new n({type:"union",options:i,discriminator:r,...N(l)})}function Ib(n,r,i){return new n({type:"intersection",left:r,right:i})}function zb(n,r,i,l){const t=i instanceof le,a=t?l:i,c=t?i:null;return new n({type:"tuple",items:r,rest:c,...N(a)})}function Tb(n,r,i,l){return new n({type:"record",keyType:r,valueType:i,...N(l)})}function jb(n,r,i,l){return new n({type:"map",keyType:r,valueType:i,...N(l)})}function Eb(n,r,i){return new n({type:"set",valueType:r,...N(i)})}function Pb(n,r,i){const l=Array.isArray(r)?Object.fromEntries(r.map(t=>[t,t])):r;return new n({type:"enum",entries:l,...N(i)})}function Nb(n,r,i){return new n({type:"enum",entries:r,...N(i)})}function Ob(n,r,i){return new n({type:"literal",values:Array.isArray(r)?r:[r],...N(i)})}function o$(n,r){return new n({type:"file",...N(r)})}function Ub(n,r){return new n({type:"transform",transform:r})}function Db(n,r){return new n({type:"optional",innerType:r})}function Cb(n,r){return new n({type:"nullable",innerType:r})}function Rb(n,r,i){return new n({type:"default",innerType:r,get defaultValue(){return typeof i=="function"?i():Vs(i)}})}function Lb(n,r,i){return new n({type:"nonoptional",innerType:r,...N(i)})}function Zb(n,r){return new n({type:"success",innerType:r})}function Mb(n,r,i){return new n({type:"catch",innerType:r,catchValue:typeof i=="function"?i:()=>i})}function Ab(n,r,i){return new n({type:"pipe",in:r,out:i})}function Fb(n,r){return new n({type:"readonly",innerType:r})}function qb(n,r,i){return new n({type:"template_literal",parts:r,...N(i)})}function Hb(n,r){return new n({type:"lazy",getter:r})}function Jb(n,r){return new n({type:"promise",innerType:r})}function i$(n,r,i){const l=N(i);return l.abort??(l.abort=!0),new n({type:"custom",check:"custom",fn:r,...l})}function a$(n,r,i){return new n({type:"custom",check:"custom",fn:r,...N(i)})}function s$(n,r){const i=l$(l=>(l.addIssue=t=>{if(typeof t=="string")l.issues.push(Xr(t,l.value,i._zod.def));else{const a=t;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=l.value),a.inst??(a.inst=i),a.continue??(a.continue=!i._zod.def.abort),l.issues.push(Xr(a))}},n(l.value,l)),r);return i}function l$(n,r){const i=new Me({check:"custom",...N(r)});return i._zod.check=n,i}function u$(n){const r=new Me({check:"describe"});return r._zod.onattach=[i=>{const l=Dt.get(i)??{};Dt.add(i,{...l,description:n})}],r._zod.check=()=>{},r}function c$(n){const r=new Me({check:"meta"});return r._zod.onattach=[i=>{const l=Dt.get(i)??{};Dt.add(i,{...l,...n})}],r._zod.check=()=>{},r}function d$(n,r){const i=N(r);let l=i.truthy??["true","1","yes","on","y","enabled"],t=i.falsy??["false","0","no","off","n","disabled"];i.case!=="sensitive"&&(l=l.map(P=>typeof P=="string"?P.toLowerCase():P),t=t.map(P=>typeof P=="string"?P.toLowerCase():P));const a=new Set(l),c=new Set(t),p=n.Codec??Ld,g=n.Boolean??Od,h=n.String??xi,y=new h({type:"string",error:i.error}),k=new g({type:"boolean",error:i.error}),T=new p({type:"pipe",in:y,out:k,transform:((P,Z)=>{let B=P;return i.case!=="sensitive"&&(B=B.toLowerCase()),a.has(B)?!0:c.has(B)?!1:(Z.issues.push({code:"invalid_value",expected:"stringbool",values:[...a,...c],input:Z.value,inst:T,continue:!1}),{})}),reverseTransform:((P,Z)=>P===!0?l[0]||"true":t[0]||"false"),error:i.error});return T}function Li(n,r,i,l={}){const t=N(l),a={...N(l),check:"string_format",type:"string",format:r,fn:typeof i=="function"?i:p=>i.test(p),...t};return i instanceof RegExp&&(a.pattern=i),new n(a)}function eo(n){let r=n?.target??"draft-2020-12";return r==="draft-4"&&(r="draft-04"),r==="draft-7"&&(r="draft-07"),{processors:n.processors??{},metadataRegistry:n?.metadata??Dt,target:r,unrepresentable:n?.unrepresentable??"throw",override:n?.override??(()=>{}),io:n?.io??"output",counter:0,seen:new Map,cycles:n?.cycles??"ref",reused:n?.reused??"inline",external:n?.external??void 0}}function je(n,r,i={path:[],schemaPath:[]}){var l;const t=n._zod.def,a=r.seen.get(n);if(a)return a.count++,i.schemaPath.includes(n)&&(a.cycle=i.path),a.schema;const c={schema:{},count:1,cycle:void 0,path:i.path};r.seen.set(n,c);const p=n._zod.toJSONSchema?.();if(p)c.schema=p;else{const y={...i,schemaPath:[...i.schemaPath,n],path:i.path};if(n._zod.processJSONSchema)n._zod.processJSONSchema(r,c.schema,y);else{const T=c.schema,P=r.processors[t.type];if(!P)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${t.type}`);P(n,r,T,y)}const k=n._zod.parent;k&&(c.ref||(c.ref=k),je(k,r,y),r.seen.get(k).isParent=!0)}const g=r.metadataRegistry.get(n);return g&&Object.assign(c.schema,g),r.io==="input"&&vt(n)&&(delete c.schema.examples,delete c.schema.default),r.io==="input"&&"_prefault"in c.schema&&((l=c.schema).default??(l.default=c.schema._prefault)),delete c.schema._prefault,r.seen.get(n).schema}function to(n,r){const i=n.seen.get(r);if(!i)throw new Error("Unprocessed schema. This is a bug in Zod.");const l=new Map;for(const c of n.seen.entries()){const p=n.metadataRegistry.get(c[0])?.id;if(p){const g=l.get(p);if(g&&g!==c[0])throw new Error(`Duplicate schema id "${p}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);l.set(p,c[0])}}const t=c=>{const p=n.target==="draft-2020-12"?"$defs":"definitions";if(n.external){const k=n.external.registry.get(c[0])?.id,T=n.external.uri??(Z=>Z);if(k)return{ref:T(k)};const P=c[1].defId??c[1].schema.id??`schema${n.counter++}`;return c[1].defId=P,{defId:P,ref:`${T("__shared")}#/${p}/${P}`}}if(c[1]===i)return{ref:"#"};const h=`#/${p}/`,y=c[1].schema.id??`__schema${n.counter++}`;return{defId:y,ref:h+y}},a=c=>{if(c[1].schema.$ref)return;const p=c[1],{ref:g,defId:h}=t(c);p.def={...p.schema},h&&(p.defId=h);const y=p.schema;for(const k in y)delete y[k];y.$ref=g};if(n.cycles==="throw")for(const c of n.seen.entries()){const p=c[1];if(p.cycle)throw new Error(`Cycle detected: #/${p.cycle?.join("/")}/<root>
|
|
70
109
|
|
|
71
|
-
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const a of e.seen.entries()){const s=a[1];if(t===a[0]){o(a);continue}if(e.external){const l=e.external.registry.get(a[0])?.id;if(t!==a[0]&&l){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 vn(e,t){const r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const i=s=>{const u=e.seen.get(s);if(u.ref===null)return;const l=u.def??u.schema,d={...l},p=u.ref;if(u.ref=null,p){i(p);const f=e.seen.get(p),h=f.schema;if(h.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(l.allOf=l.allOf??[],l.allOf.push(h)):Object.assign(l,h),Object.assign(l,d),s._zod.parent===p)for(const v in l)v==="$ref"||v==="allOf"||v in d||delete l[v];if(h.$ref&&f.def)for(const v in l)v==="$ref"||v==="allOf"||v in f.def&&JSON.stringify(l[v])===JSON.stringify(f.def[v])&&delete l[v]}const m=s._zod.parent;if(m&&m!==p){i(m);const f=e.seen.get(m);if(f?.schema.$ref&&(l.$ref=f.schema.$ref,f.def))for(const h in l)h==="$ref"||h==="allOf"||h in f.def&&JSON.stringify(l[h])===JSON.stringify(f.def[h])&&delete l[h]}e.override({zodSchema:s,jsonSchema:l,path:u.path??[]})};for(const s of[...e.seen.entries()].reverse())i(s[0]);const n={};if(e.target==="draft-2020-12"?n.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?n.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?n.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const s=e.external.registry.get(t)?.id;if(!s)throw new Error("Schema is missing an `id` property");n.$id=e.external.uri(s)}Object.assign(n,r.def??r.schema);const o=e.metadataRegistry.get(t)?.id;o!==void 0&&n.id===o&&delete n.id;const a=e.external?.defs??{};for(const s of e.seen.entries()){const u=s[1];u.def&&u.defId&&(u.def.id===u.defId&&delete u.def.id,a[u.defId]=u.def)}e.external||Object.keys(a).length>0&&(e.target==="draft-2020-12"?n.$defs=a:n.definitions=a);try{const s=JSON.parse(JSON.stringify(n));return Object.defineProperty(s,"~standard",{value:{...t["~standard"],jsonSchema:{input:Gn(t,"input",e.processors),output:Gn(t,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}function Ke(e,t){const r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);const i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return Ke(i.element,r);if(i.type==="set")return Ke(i.valueType,r);if(i.type==="lazy")return Ke(i.getter(),r);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault")return Ke(i.innerType,r);if(i.type==="intersection")return Ke(i.left,r)||Ke(i.right,r);if(i.type==="record"||i.type==="map")return Ke(i.keyType,r)||Ke(i.valueType,r);if(i.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Ke(i.in,r)||Ke(i.out,r);if(i.type==="object"){for(const n in i.shape)if(Ke(i.shape[n],r))return!0;return!1}if(i.type==="union"){for(const n of i.options)if(Ke(n,r))return!0;return!1}if(i.type==="tuple"){for(const n of i.items)if(Ke(n,r))return!0;return!!(i.rest&&Ke(i.rest,r))}return!1}const Kh=(e,t={})=>r=>{const i=fn({...r,processors:t});return xe(e,i),hn(i,e),vn(i,e)},Gn=(e,t,r={})=>i=>{const{libraryOptions:n,target:o}=i??{},a=fn({...n??{},target:o,io:t,processors:r});return xe(e,a),hn(a,e),vn(a,e)},Bk={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Wh=(e,t,r,i)=>{const n=r;n.type="string";const{minimum:o,maximum:a,format:s,patterns:u,contentEncoding:l}=e._zod.bag;if(typeof o=="number"&&(n.minLength=o),typeof a=="number"&&(n.maxLength=a),s&&(n.format=Bk[s]??s,n.format===""&&delete n.format,s==="time"&&delete n.format),l&&(n.contentEncoding=l),u&&u.size>0){const d=[...u];d.length===1?n.pattern=d[0].source:d.length>1&&(n.allOf=[...d.map(p=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:p.source}))])}},Gh=(e,t,r,i)=>{const n=r,{minimum:o,maximum:a,format:s,multipleOf:u,exclusiveMaximum:l,exclusiveMinimum:d}=e._zod.bag;typeof s=="string"&&s.includes("int")?n.type="integer":n.type="number";const p=typeof d=="number"&&d>=(o??Number.NEGATIVE_INFINITY),m=typeof l=="number"&&l<=(a??Number.POSITIVE_INFINITY),f=t.target==="draft-04"||t.target==="openapi-3.0";p?f?(n.minimum=d,n.exclusiveMinimum=!0):n.exclusiveMinimum=d:typeof o=="number"&&(n.minimum=o),m?f?(n.maximum=l,n.exclusiveMaximum=!0):n.exclusiveMaximum=l:typeof a=="number"&&(n.maximum=a),typeof u=="number"&&(n.multipleOf=u)},Yh=(e,t,r,i)=>{r.type="boolean"},Xh=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},Qh=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},ev=(e,t,r,i)=>{t.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},tv=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},nv=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},rv=(e,t,r,i)=>{r.not={}},ov=(e,t,r,i)=>{},iv=(e,t,r,i)=>{},av=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},sv=(e,t,r,i)=>{const n=e._zod.def,o=hs(n.entries);o.every(a=>typeof a=="number")&&(r.type="number"),o.every(a=>typeof a=="string")&&(r.type="string"),r.enum=o},cv=(e,t,r,i)=>{const n=e._zod.def,o=[];for(const a of n.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){const a=o[0];r.type=a===null?"null":typeof a,t.target==="draft-04"||t.target==="openapi-3.0"?r.enum=[a]:r.const=a}else o.every(a=>typeof a=="number")&&(r.type="number"),o.every(a=>typeof a=="string")&&(r.type="string"),o.every(a=>typeof a=="boolean")&&(r.type="boolean"),o.every(a=>a===null)&&(r.type="null"),r.enum=o},lv=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},uv=(e,t,r,i)=>{const n=r,o=e._zod.pattern;if(!o)throw new Error("Pattern not found in template literal");n.type="string",n.pattern=o.source},dv=(e,t,r,i)=>{const n=r,o={type:"string",format:"binary",contentEncoding:"binary"},{minimum:a,maximum:s,mime:u}=e._zod.bag;a!==void 0&&(o.minLength=a),s!==void 0&&(o.maxLength=s),u?u.length===1?(o.contentMediaType=u[0],Object.assign(n,o)):(Object.assign(n,o),n.anyOf=u.map(l=>({contentMediaType:l}))):Object.assign(n,o)},mv=(e,t,r,i)=>{r.type="boolean"},pv=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},fv=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},hv=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},vv=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},gv=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},bv=(e,t,r,i)=>{const n=r,o=e._zod.def,{minimum:a,maximum:s}=e._zod.bag;typeof a=="number"&&(n.minItems=a),typeof s=="number"&&(n.maxItems=s),n.type="array",n.items=xe(o.element,t,{...i,path:[...i.path,"items"]})},_v=(e,t,r,i)=>{const n=r,o=e._zod.def;n.type="object",n.properties={};const a=o.shape;for(const l in a)n.properties[l]=xe(a[l],t,{...i,path:[...i.path,"properties",l]});const s=new Set(Object.keys(a)),u=new Set([...s].filter(l=>{const d=o.shape[l]._zod;return t.io==="input"?d.optin===void 0:d.optout===void 0}));u.size>0&&(n.required=Array.from(u)),o.catchall?._zod.def.type==="never"?n.additionalProperties=!1:o.catchall?o.catchall&&(n.additionalProperties=xe(o.catchall,t,{...i,path:[...i.path,"additionalProperties"]})):t.io==="output"&&(n.additionalProperties=!1)},pc=(e,t,r,i)=>{const n=e._zod.def,o=n.inclusive===!1,a=n.options.map((s,u)=>xe(s,t,{...i,path:[...i.path,o?"oneOf":"anyOf",u]}));o?r.oneOf=a:r.anyOf=a},yv=(e,t,r,i)=>{const n=e._zod.def,o=xe(n.left,t,{...i,path:[...i.path,"allOf",0]}),a=xe(n.right,t,{...i,path:[...i.path,"allOf",1]}),s=l=>"allOf"in l&&Object.keys(l).length===1,u=[...s(o)?o.allOf:[o],...s(a)?a.allOf:[a]];r.allOf=u},kv=(e,t,r,i)=>{const n=r,o=e._zod.def;n.type="array";const a=t.target==="draft-2020-12"?"prefixItems":"items",s=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",u=o.items.map((m,f)=>xe(m,t,{...i,path:[...i.path,a,f]})),l=o.rest?xe(o.rest,t,{...i,path:[...i.path,s,...t.target==="openapi-3.0"?[o.items.length]:[]]}):null;t.target==="draft-2020-12"?(n.prefixItems=u,l&&(n.items=l)):t.target==="openapi-3.0"?(n.items={anyOf:u},l&&n.items.anyOf.push(l),n.minItems=u.length,l||(n.maxItems=u.length)):(n.items=u,l&&(n.additionalItems=l));const{minimum:d,maximum:p}=e._zod.bag;typeof d=="number"&&(n.minItems=d),typeof p=="number"&&(n.maxItems=p)},xv=(e,t,r,i)=>{const n=r,o=e._zod.def;n.type="object";const a=o.keyType,u=a._zod.bag?.patterns;if(o.mode==="loose"&&u&&u.size>0){const d=xe(o.valueType,t,{...i,path:[...i.path,"patternProperties","*"]});n.patternProperties={};for(const p of u)n.patternProperties[p.source]=d}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(n.propertyNames=xe(o.keyType,t,{...i,path:[...i.path,"propertyNames"]})),n.additionalProperties=xe(o.valueType,t,{...i,path:[...i.path,"additionalProperties"]});const l=a._zod.values;if(l){const d=[...l].filter(p=>typeof p=="string"||typeof p=="number");d.length>0&&(n.required=d)}},$v=(e,t,r,i)=>{const n=e._zod.def,o=xe(n.innerType,t,i),a=t.seen.get(e);t.target==="openapi-3.0"?(a.ref=n.innerType,r.nullable=!0):r.anyOf=[o,{type:"null"}]},wv=(e,t,r,i)=>{const n=e._zod.def;xe(n.innerType,t,i);const o=t.seen.get(e);o.ref=n.innerType},Sv=(e,t,r,i)=>{const n=e._zod.def;xe(n.innerType,t,i);const o=t.seen.get(e);o.ref=n.innerType,r.default=JSON.parse(JSON.stringify(n.defaultValue))},Iv=(e,t,r,i)=>{const n=e._zod.def;xe(n.innerType,t,i);const o=t.seen.get(e);o.ref=n.innerType,t.io==="input"&&(r._prefault=JSON.parse(JSON.stringify(n.defaultValue)))},zv=(e,t,r,i)=>{const n=e._zod.def;xe(n.innerType,t,i);const o=t.seen.get(e);o.ref=n.innerType;let a;try{a=n.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}r.default=a},Tv=(e,t,r,i)=>{const n=e._zod.def,o=n.in._zod.traits.has("$ZodTransform"),a=t.io==="input"?o?n.out:n.in:n.out;xe(a,t,i);const s=t.seen.get(e);s.ref=a},Pv=(e,t,r,i)=>{const n=e._zod.def;xe(n.innerType,t,i);const o=t.seen.get(e);o.ref=n.innerType,r.readOnly=!0},jv=(e,t,r,i)=>{const n=e._zod.def;xe(n.innerType,t,i);const o=t.seen.get(e);o.ref=n.innerType},fc=(e,t,r,i)=>{const n=e._zod.def;xe(n.innerType,t,i);const o=t.seen.get(e);o.ref=n.innerType},Ev=(e,t,r,i)=>{const n=e._zod.innerType;xe(n,t,i);const o=t.seen.get(e);o.ref=n},rs={string:Wh,number:Gh,boolean:Yh,bigint:Xh,symbol:Qh,null:ev,undefined:tv,void:nv,never:rv,any:ov,unknown:iv,date:av,enum:sv,literal:cv,nan:lv,template_literal:uv,file:dv,success:mv,custom:pv,function:fv,transform:hv,map:vv,set:gv,array:bv,object:_v,union:pc,intersection:yv,tuple:kv,record:xv,nullable:$v,nonoptional:wv,default:Sv,prefault:Iv,catch:zv,pipe:Tv,readonly:Pv,promise:jv,optional:fc,lazy:Ev};function hc(e,t){if("_idmap"in e){const i=e,n=fn({...t,processors:rs}),o={};for(const u of i._idmap.entries()){const[l,d]=u;xe(d,n)}const a={},s={registry:i,uri:t?.uri,defs:o};n.external=s;for(const u of i._idmap.entries()){const[l,d]=u;hn(n,d),a[l]=vn(n,d)}if(Object.keys(o).length>0){const u=n.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[u]:o}}return{schemas:a}}const r=fn({...t,processors:rs});return xe(e,r),hn(r,e),vn(r,e)}class Vk{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 r=t?.target??"draft-2020-12";r==="draft-4"&&(r="draft-04"),r==="draft-7"&&(r="draft-07"),this.ctx=fn({processors:rs,target:r,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,r={path:[],schemaPath:[]}){return xe(t,this.ctx,r)}emit(t,r){r&&(r.cycles&&(this.ctx.cycles=r.cycles),r.reused&&(this.ctx.reused=r.reused),r.external&&(this.ctx.external=r.external)),hn(this.ctx,t);const i=vn(this.ctx,t),{"~standard":n,...o}=i;return o}}const Kk=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Dv=Object.freeze(Object.defineProperty({__proto__:null,$ZodAny:wf,$ZodArray:Pf,$ZodAsyncError:Zt,$ZodBase64:mf,$ZodBase64URL:ff,$ZodBigInt:Rs,$ZodBigIntFormat:yf,$ZodBoolean:Us,$ZodCIDRv4:uf,$ZodCIDRv6:df,$ZodCUID:Yp,$ZodCUID2:Xp,$ZodCatch:Gf,$ZodCheck:Ee,$ZodCheckBigIntFormat:zp,$ZodCheckEndsWith:Lp,$ZodCheckGreaterThan:Os,$ZodCheckIncludes:Up,$ZodCheckLengthEquals:Cp,$ZodCheckLessThan:Cs,$ZodCheckLowerCase:Ap,$ZodCheckMaxLength:Ep,$ZodCheckMaxSize:Tp,$ZodCheckMimeType:Zp,$ZodCheckMinLength:Dp,$ZodCheckMinSize:Pp,$ZodCheckMultipleOf:Sp,$ZodCheckNumberFormat:Ip,$ZodCheckOverwrite:Fp,$ZodCheckProperty:Mp,$ZodCheckRegex:Op,$ZodCheckSizeEquals:jp,$ZodCheckStartsWith:Rp,$ZodCheckStringFormat:mr,$ZodCheckUpperCase:Np,$ZodCodec:Fs,$ZodCustom:oh,$ZodCustomStringFormat:bf,$ZodDate:Tf,$ZodDefault:Bf,$ZodDiscriminatedUnion:Af,$ZodE164:hf,$ZodEmail:Vp,$ZodEmoji:Wp,$ZodEncodeError:ii,$ZodEnum:Mf,$ZodError:bs,$ZodExactOptional:Hf,$ZodFile:Ff,$ZodFunction:th,$ZodGUID:Jp,$ZodIPv4:sf,$ZodIPv6:cf,$ZodISODate:rf,$ZodISODateTime:nf,$ZodISODuration:af,$ZodISOTime:of,$ZodIntersection:Nf,$ZodJWT:gf,$ZodKSUID:tf,$ZodLazy:rh,$ZodLiteral:Zf,$ZodMAC:lf,$ZodMap:Rf,$ZodNaN:Yf,$ZodNanoID:Gp,$ZodNever:If,$ZodNonOptional:Kf,$ZodNull:$f,$ZodNullable:Jf,$ZodNumber:Ns,$ZodNumberFormat:_f,$ZodObject:Df,$ZodObjectJIT:Cf,$ZodOptional:Ms,$ZodPipe:Zs,$ZodPrefault:Vf,$ZodPreprocess:Xf,$ZodPromise:nh,$ZodReadonly:Qf,$ZodRealError:rt,$ZodRecord:Uf,$ZodRegistry:ch,$ZodSet:Lf,$ZodString:pr,$ZodStringFormat:ze,$ZodSuccess:Wf,$ZodSymbol:kf,$ZodTemplateLiteral:eh,$ZodTransform:qf,$ZodTuple:Ls,$ZodType:ae,$ZodULID:Qp,$ZodURL:Kp,$ZodUUID:Bp,$ZodUndefined:xf,$ZodUnion:pi,$ZodUnknown:Sf,$ZodVoid:zf,$ZodXID:ef,$ZodXor:Of,$brand:fs,$constructor:_,$input:Js,$output:Hs,Doc:qp,JSONSchema:Kk,JSONSchemaGenerator:Vk,NEVER:ps,TimePrecision:mc,_any:Dh,_array:Lh,_base64:cc,_base64url:lc,_bigint:Sh,_boolean:$h,_catch:Mk,_check:Hh,_cidrv4:ac,_cidrv6:sc,_coercedBigint:Ih,_coercedBoolean:wh,_coercedDate:Uh,_coercedNumber:gh,_coercedString:uh,_cuid:Qs,_cuid2:ec,_custom:Zh,_date:Nh,_decode:$s,_decodeAsync:Ss,_default:Uk,_discriminatedUnion:Sk,_e164:uc,_email:Bs,_emoji:Ys,_encode:xs,_encodeAsync:ws,_endsWith:_r,_enum:Ek,_file:Mh,_float32:_h,_float64:yh,_gt:zt,_gte:We,_guid:Fo,_includes:gr,_int:bh,_int32:kh,_int64:zh,_intersection:Ik,_ipv4:oc,_ipv6:ic,_isoDate:ph,_isoDateTime:mh,_isoDuration:hh,_isoTime:fh,_jwt:dc,_ksuid:rc,_lazy:Hk,_length:In,_literal:Ck,_lowercase:hr,_lt:It,_lte:et,_mac:dh,_map:Pk,_max:et,_maxLength:Sn,_maxSize:en,_mime:yr,_min:We,_minLength:Ot,_minSize:Tt,_multipleOf:Jt,_nan:Rh,_nanoid:Xs,_nativeEnum:Dk,_negative:gi,_never:Oh,_nonnegative:_i,_nonoptional:Rk,_nonpositive:bi,_normalize:kr,_null:Eh,_nullable:Nk,_number:vh,_optional:Ak,_overwrite:bt,_parse:ar,_parseAsync:sr,_pipe:Zk,_positive:vi,_promise:Jk,_property:yi,_readonly:Fk,_record:Tk,_refine:Fh,_regex:fr,_safeDecode:zs,_safeDecodeAsync:Ps,_safeEncode:Is,_safeEncodeAsync:Ts,_safeParse:cr,_safeParseAsync:lr,_set:jk,_size:wn,_slugify:Sr,_startsWith:br,_string:lh,_stringFormat:Ir,_stringbool:Vh,_success:Lk,_superRefine:qh,_symbol:Ph,_templateLiteral:qk,_toLowerCase:$r,_toUpperCase:wr,_transform:Ok,_trim:xr,_tuple:zk,_uint32:xh,_uint64:Th,_ulid:tc,_undefined:jh,_union:$k,_unknown:Ch,_uppercase:vr,_url:hi,_uuid:Vs,_uuidv4:Ks,_uuidv6:Ws,_uuidv7:Gs,_void:Ah,_xid:nc,_xor:wk,clone:nt,config:Ue,createStandardJSONSchemaMethod:Gn,createToJSONSchemaMethod:Kh,decode:t_,decodeAsync:r_,describe:Jh,encode:e_,encodeAsync:n_,extractDefs:hn,finalize:vn,flattenError:ui,formatError:di,globalConfig:Wn,globalRegistry:Qe,initializeContext:fn,isValidBase64:As,isValidBase64URL:pf,isValidJWT:vf,locales:qs,meta:Bh,parse:es,parseAsync:ts,prettifyError:ys,process:xe,regexes:mi,registry:fi,safeDecode:i_,safeDecodeAsync:s_,safeEncode:o_,safeEncodeAsync:a_,safeParse:ks,safeParseAsync:qm,toDotPath:Fm,toJSONSchema:hc,treeifyError:_s,util:gs,version:Hp},Symbol.toStringTag,{value:"Module"}));function vc(e){return!!e._zod}function Cv(e,t){return vc(e)?ks(e,t):e.safeParse(t)}function Wk(e){if(!e)return;let t;if(vc(e)?t=e._zod?.def?.shape:t=e.shape,!!t){if(typeof t=="function")try{return t()}catch{return}return t}}function Gk(e){if(vc(e)){const o=e._zod?.def;if(o){if(o.value!==void 0)return o.value;if(Array.isArray(o.values)&&o.values.length>0)return o.values[0]}}const r=e._def;if(r){if(r.value!==void 0)return r.value;if(Array.isArray(r.values)&&r.values.length>0)return r.values[0]}const i=e.value;if(i!==void 0)return i}const Yk=Object.freeze(Object.defineProperty({__proto__:null,endsWith:_r,gt:zt,gte:We,includes:gr,length:In,lowercase:hr,lt:It,lte:et,maxLength:Sn,maxSize:en,mime:yr,minLength:Ot,minSize:Tt,multipleOf:Jt,negative:gi,nonnegative:_i,nonpositive:bi,normalize:kr,overwrite:bt,positive:vi,property:yi,regex:fr,size:wn,slugify:Sr,startsWith:br,toLowerCase:$r,toUpperCase:wr,trim:xr,uppercase:vr},Symbol.toStringTag,{value:"Module"})),ki=_("ZodISODateTime",(e,t)=>{nf.init(e,t),$e.init(e,t)});function gc(e){return mh(ki,e)}const xi=_("ZodISODate",(e,t)=>{rf.init(e,t),$e.init(e,t)});function Ov(e){return ph(xi,e)}const $i=_("ZodISOTime",(e,t)=>{of.init(e,t),$e.init(e,t)});function Av(e){return fh($i,e)}const wi=_("ZodISODuration",(e,t)=>{af.init(e,t),$e.init(e,t)});function Nv(e){return hh(wi,e)}const bc=Object.freeze(Object.defineProperty({__proto__:null,ZodISODate:xi,ZodISODateTime:ki,ZodISODuration:wi,ZodISOTime:$i,date:Ov,datetime:gc,duration:Nv,time:Av},Symbol.toStringTag,{value:"Module"})),Uv=(e,t)=>{bs.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>di(e,r)},flatten:{value:r=>ui(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,Lo,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,Lo,2)}},isEmpty:{get(){return e.issues.length===0}}})},Rv=_("ZodError",Uv),Ye=_("ZodError",Uv,{Parent:Error}),_c=ar(Ye),yc=sr(Ye),kc=cr(Ye),xc=lr(Ye),$c=xs(Ye),wc=$s(Ye),Sc=ws(Ye),Ic=Ss(Ye),zc=Is(Ye),Tc=zs(Ye),Pc=Ts(Ye),jc=Ps(Ye),cd=new WeakMap;function zr(e,t,r){const i=Object.getPrototypeOf(e);let n=cd.get(i);if(n||(n=new Set,cd.set(i,n)),!n.has(t)){n.add(t);for(const o in r){const a=r[o];Object.defineProperty(i,o,{configurable:!0,enumerable:!1,get(){const 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})}})}}}const ce=_("ZodType",(e,t)=>(ae.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:Gn(e,"input"),output:Gn(e,"output")}}),e.toJSONSchema=Kh(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(r,i)=>_c(e,r,i,{callee:e.parse}),e.safeParse=(r,i)=>kc(e,r,i),e.parseAsync=async(r,i)=>yc(e,r,i,{callee:e.parseAsync}),e.safeParseAsync=async(r,i)=>xc(e,r,i),e.spa=e.safeParseAsync,e.encode=(r,i)=>$c(e,r,i),e.decode=(r,i)=>wc(e,r,i),e.encodeAsync=async(r,i)=>Sc(e,r,i),e.decodeAsync=async(r,i)=>Ic(e,r,i),e.safeEncode=(r,i)=>zc(e,r,i),e.safeDecode=(r,i)=>Tc(e,r,i),e.safeEncodeAsync=async(r,i)=>Pc(e,r,i),e.safeDecodeAsync=async(r,i)=>jc(e,r,i),zr(e,"ZodType",{check(...r){const i=this.def;return this.clone(gt(i,{checks:[...i.checks??[],...r.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0})},with(...r){return this.check(...r)},clone(r,i){return nt(this,r,i)},brand(){return this},register(r,i){return r.add(this,i),this},refine(r,i){return this.check(da(r,i))},superRefine(r,i){return this.check(ma(r,i))},overwrite(r){return this.check(bt(r))},optional(){return Se(this)},exactOptional(){return Ji(this)},nullable(){return _n(this)},nullish(){return Se(_n(this))},nonoptional(r){return Yi(this,r)},array(){return re(this)},or(r){return pe([this,r])},and(r){return On(this,r)},transform(r){return Xn(this,Gr(r))},default(r){return Ki(this,r)},prefault(r){return Gi(this,r)},catch(r){return ea(this,r)},pipe(r){return Xn(this,r)},readonly(){return oa(this)},describe(r){const i=this.clone();return Qe.add(i,{description:r}),i},meta(...r){if(r.length===0)return Qe.get(this);const i=this.clone();return Qe.add(i,r[0]),i},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(r){return r(this)}}),Object.defineProperty(e,"description",{get(){return Qe.get(e)?.description},configurable:!0}),e)),Tr=_("_ZodString",(e,t)=>{pr.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(i,n,o)=>Wh(e,i,n);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,zr(e,"_ZodString",{regex(...i){return this.check(fr(...i))},includes(...i){return this.check(gr(...i))},startsWith(...i){return this.check(br(...i))},endsWith(...i){return this.check(_r(...i))},min(...i){return this.check(Ot(...i))},max(...i){return this.check(Sn(...i))},length(...i){return this.check(In(...i))},nonempty(...i){return this.check(Ot(1,...i))},lowercase(i){return this.check(hr(i))},uppercase(i){return this.check(vr(i))},trim(){return this.check(xr())},normalize(...i){return this.check(kr(...i))},toLowerCase(){return this.check($r())},toUpperCase(){return this.check(wr())},slugify(){return this.check(Sr())}})}),zn=_("ZodString",(e,t)=>{pr.init(e,t),Tr.init(e,t),e.email=r=>e.check(Bs(Pr,r)),e.url=r=>e.check(hi(Tn,r)),e.jwt=r=>e.check(dc(Hr,r)),e.emoji=r=>e.check(Ys(jr,r)),e.guid=r=>e.check(Fo(gn,r)),e.uuid=r=>e.check(Vs(dt,r)),e.uuidv4=r=>e.check(Ks(dt,r)),e.uuidv6=r=>e.check(Ws(dt,r)),e.uuidv7=r=>e.check(Gs(dt,r)),e.nanoid=r=>e.check(Xs(Er,r)),e.guid=r=>e.check(Fo(gn,r)),e.cuid=r=>e.check(Qs(Dr,r)),e.cuid2=r=>e.check(ec(Cr,r)),e.ulid=r=>e.check(tc(Or,r)),e.base64=r=>e.check(cc(Zr,r)),e.base64url=r=>e.check(lc(Fr,r)),e.xid=r=>e.check(nc(Ar,r)),e.ksuid=r=>e.check(rc(Nr,r)),e.ipv4=r=>e.check(oc(Ur,r)),e.ipv6=r=>e.check(ic(Rr,r)),e.cidrv4=r=>e.check(ac(Lr,r)),e.cidrv6=r=>e.check(sc(Mr,r)),e.e164=r=>e.check(uc(qr,r)),e.datetime=r=>e.check(gc(r)),e.date=r=>e.check(Ov(r)),e.time=r=>e.check(Av(r)),e.duration=r=>e.check(Nv(r))});function k(e){return lh(zn,e)}const $e=_("ZodStringFormat",(e,t)=>{ze.init(e,t),Tr.init(e,t)}),Pr=_("ZodEmail",(e,t)=>{Vp.init(e,t),$e.init(e,t)});function Ec(e){return Bs(Pr,e)}const gn=_("ZodGUID",(e,t)=>{Jp.init(e,t),$e.init(e,t)});function Dc(e){return Fo(gn,e)}const dt=_("ZodUUID",(e,t)=>{Bp.init(e,t),$e.init(e,t)});function Cc(e){return Vs(dt,e)}function Oc(e){return Ks(dt,e)}function Ac(e){return Ws(dt,e)}function Nc(e){return Gs(dt,e)}const Tn=_("ZodURL",(e,t)=>{Kp.init(e,t),$e.init(e,t)});function Uc(e){return hi(Tn,e)}function Rc(e){return hi(Tn,{protocol:Es,hostname:cp,...E(e)})}const jr=_("ZodEmoji",(e,t)=>{Wp.init(e,t),$e.init(e,t)});function Lc(e){return Ys(jr,e)}const Er=_("ZodNanoID",(e,t)=>{Gp.init(e,t),$e.init(e,t)});function Mc(e){return Xs(Er,e)}const Dr=_("ZodCUID",(e,t)=>{Yp.init(e,t),$e.init(e,t)});function Zc(e){return Qs(Dr,e)}const Cr=_("ZodCUID2",(e,t)=>{Xp.init(e,t),$e.init(e,t)});function Fc(e){return ec(Cr,e)}const Or=_("ZodULID",(e,t)=>{Qp.init(e,t),$e.init(e,t)});function qc(e){return tc(Or,e)}const Ar=_("ZodXID",(e,t)=>{ef.init(e,t),$e.init(e,t)});function Hc(e){return nc(Ar,e)}const Nr=_("ZodKSUID",(e,t)=>{tf.init(e,t),$e.init(e,t)});function Jc(e){return rc(Nr,e)}const Ur=_("ZodIPv4",(e,t)=>{sf.init(e,t),$e.init(e,t)});function Bc(e){return oc(Ur,e)}const Si=_("ZodMAC",(e,t)=>{lf.init(e,t),$e.init(e,t)});function Vc(e){return dh(Si,e)}const Rr=_("ZodIPv6",(e,t)=>{cf.init(e,t),$e.init(e,t)});function Kc(e){return ic(Rr,e)}const Lr=_("ZodCIDRv4",(e,t)=>{uf.init(e,t),$e.init(e,t)});function Wc(e){return ac(Lr,e)}const Mr=_("ZodCIDRv6",(e,t)=>{df.init(e,t),$e.init(e,t)});function Gc(e){return sc(Mr,e)}const Zr=_("ZodBase64",(e,t)=>{mf.init(e,t),$e.init(e,t)});function Yc(e){return cc(Zr,e)}const Fr=_("ZodBase64URL",(e,t)=>{ff.init(e,t),$e.init(e,t)});function Xc(e){return lc(Fr,e)}const qr=_("ZodE164",(e,t)=>{hf.init(e,t),$e.init(e,t)});function Qc(e){return uc(qr,e)}const Hr=_("ZodJWT",(e,t)=>{gf.init(e,t),$e.init(e,t)});function el(e){return dc(Hr,e)}const tn=_("ZodCustomStringFormat",(e,t)=>{bf.init(e,t),$e.init(e,t)});function tl(e,t,r={}){return Ir(tn,e,t,r)}function nl(e){return Ir(tn,"hostname",sp,e)}function rl(e){return Ir(tn,"hex",$p,e)}function ol(e,t){const r=t?.enc??"hex",i=`${e}_${r}`,n=mi[i];if(!n)throw new Error(`Unrecognized hash format: ${i}`);return Ir(tn,i,n,t)}const Pn=_("ZodNumber",(e,t)=>{Ns.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(i,n,o)=>Gh(e,i,n),zr(e,"ZodNumber",{gt(i,n){return this.check(zt(i,n))},gte(i,n){return this.check(We(i,n))},min(i,n){return this.check(We(i,n))},lt(i,n){return this.check(It(i,n))},lte(i,n){return this.check(et(i,n))},max(i,n){return this.check(et(i,n))},int(i){return this.check(Yn(i))},safe(i){return this.check(Yn(i))},positive(i){return this.check(zt(0,i))},nonnegative(i){return this.check(We(0,i))},negative(i){return this.check(It(0,i))},nonpositive(i){return this.check(et(0,i))},multipleOf(i,n){return this.check(Jt(i,n))},step(i,n){return this.check(Jt(i,n))},finite(){return this}});const r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function se(e){return vh(Pn,e)}const Ut=_("ZodNumberFormat",(e,t)=>{_f.init(e,t),Pn.init(e,t)});function Yn(e){return bh(Ut,e)}function il(e){return _h(Ut,e)}function al(e){return yh(Ut,e)}function sl(e){return kh(Ut,e)}function cl(e){return xh(Ut,e)}const jn=_("ZodBoolean",(e,t)=>{Us.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Yh(e,r,i)});function ye(e){return $h(jn,e)}const En=_("ZodBigInt",(e,t)=>{Rs.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(i,n,o)=>Xh(e,i),e.gte=(i,n)=>e.check(We(i,n)),e.min=(i,n)=>e.check(We(i,n)),e.gt=(i,n)=>e.check(zt(i,n)),e.gte=(i,n)=>e.check(We(i,n)),e.min=(i,n)=>e.check(We(i,n)),e.lt=(i,n)=>e.check(It(i,n)),e.lte=(i,n)=>e.check(et(i,n)),e.max=(i,n)=>e.check(et(i,n)),e.positive=i=>e.check(zt(BigInt(0),i)),e.negative=i=>e.check(It(BigInt(0),i)),e.nonpositive=i=>e.check(et(BigInt(0),i)),e.nonnegative=i=>e.check(We(BigInt(0),i)),e.multipleOf=(i,n)=>e.check(Jt(i,n));const r=e._zod.bag;e.minValue=r.minimum??null,e.maxValue=r.maximum??null,e.format=r.format??null});function ll(e){return Sh(En,e)}const Jr=_("ZodBigIntFormat",(e,t)=>{yf.init(e,t),En.init(e,t)});function ul(e){return zh(Jr,e)}function dl(e){return Th(Jr,e)}const Ii=_("ZodSymbol",(e,t)=>{kf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Qh(e,r)});function ml(e){return Ph(Ii,e)}const zi=_("ZodUndefined",(e,t)=>{xf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>tv(e,r)});function bn(e){return jh(zi,e)}const Ti=_("ZodNull",(e,t)=>{$f.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>ev(e,r,i)});function Br(e){return Eh(Ti,e)}const Pi=_("ZodAny",(e,t)=>{wf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>ov()});function Vr(){return Dh(Pi)}const ji=_("ZodUnknown",(e,t)=>{Sf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>iv()});function be(){return Ch(ji)}const Ei=_("ZodNever",(e,t)=>{If.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>rv(e,r,i)});function Bt(e){return Oh(Ei,e)}const Di=_("ZodVoid",(e,t)=>{zf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>nv(e,r)});function pl(e){return Ah(Di,e)}const Kr=_("ZodDate",(e,t)=>{Tf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(i,n,o)=>av(e,i),e.min=(i,n)=>e.check(We(i,n)),e.max=(i,n)=>e.check(et(i,n));const r=e._zod.bag;e.minDate=r.minimum?new Date(r.minimum):null,e.maxDate=r.maximum?new Date(r.maximum):null});function fl(e){return Nh(Kr,e)}const Ci=_("ZodArray",(e,t)=>{Pf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>bv(e,r,i,n),e.element=t.element,zr(e,"ZodArray",{min(r,i){return this.check(Ot(r,i))},nonempty(r){return this.check(Ot(1,r))},max(r,i){return this.check(Sn(r,i))},length(r,i){return this.check(In(r,i))},unwrap(){return this.element}})});function re(e,t){return Lh(Ci,e,t)}function hl(e){const t=e._zod.def.shape;return qe(Object.keys(t))}const Dn=_("ZodObject",(e,t)=>{Cf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>_v(e,r,i,n),me(e,"shape",()=>t.shape),zr(e,"ZodObject",{keyof(){return qe(Object.keys(this._zod.def.shape))},catchall(r){return this.clone({...this._zod.def,catchall:r})},passthrough(){return this.clone({...this._zod.def,catchall:be()})},loose(){return this.clone({...this._zod.def,catchall:be()})},strict(){return this.clone({...this._zod.def,catchall:Bt()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(r){return Cm(this,r)},safeExtend(r){return Om(this,r)},merge(r){return Am(this,r)},pick(r){return Em(this,r)},omit(r){return Dm(this,r)},partial(...r){return Nm(Yr,this,r[0])},required(...r){return Um(Xr,this,r[0])}})});function I(e,t){const r={type:"object",shape:e??{},...E(t)};return new Dn(r)}function vl(e,t){return new Dn({type:"object",shape:e,catchall:Bt(),...E(t)})}function Fe(e,t){return new Dn({type:"object",shape:e,catchall:be(),...E(t)})}const Cn=_("ZodUnion",(e,t)=>{pi.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>pc(e,r,i,n),e.options=t.options});function pe(e,t){return new Cn({type:"union",options:e,...E(t)})}const Oi=_("ZodXor",(e,t)=>{Cn.init(e,t),Of.init(e,t),e._zod.processJSONSchema=(r,i,n)=>pc(e,r,i,n),e.options=t.options});function gl(e,t){return new Oi({type:"union",options:e,inclusive:!1,...E(t)})}const Ai=_("ZodDiscriminatedUnion",(e,t)=>{Cn.init(e,t),Af.init(e,t)});function Wr(e,t,r){return new Ai({type:"union",options:t,discriminator:e,...E(r)})}const Ni=_("ZodIntersection",(e,t)=>{Nf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>yv(e,r,i,n)});function On(e,t){return new Ni({type:"intersection",left:e,right:t})}const Ui=_("ZodTuple",(e,t)=>{Ls.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>kv(e,r,i,n),e.rest=r=>e.clone({...e._zod.def,rest:r})});function Ri(e,t,r){const i=t instanceof ae,n=i?r:t,o=i?t:null;return new Ui({type:"tuple",items:e,rest:o,...E(n)})}const Vt=_("ZodRecord",(e,t)=>{Uf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>xv(e,r,i,n),e.keyType=t.keyType,e.valueType=t.valueType});function fe(e,t,r){return!t||!t._zod?new Vt({type:"record",keyType:k(),valueType:e,...E(t)}):new Vt({type:"record",keyType:e,valueType:t,...E(r)})}function bl(e,t,r){const i=nt(e);return i._zod.values=void 0,new Vt({type:"record",keyType:i,valueType:t,...E(r)})}function _l(e,t,r){return new Vt({type:"record",keyType:e,valueType:t,mode:"loose",...E(r)})}const Li=_("ZodMap",(e,t)=>{Rf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>vv(e,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...r)=>e.check(Tt(...r)),e.nonempty=r=>e.check(Tt(1,r)),e.max=(...r)=>e.check(en(...r)),e.size=(...r)=>e.check(wn(...r))});function yl(e,t,r){return new Li({type:"map",keyType:e,valueType:t,...E(r)})}const Mi=_("ZodSet",(e,t)=>{Lf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>gv(e,r),e.min=(...r)=>e.check(Tt(...r)),e.nonempty=r=>e.check(Tt(1,r)),e.max=(...r)=>e.check(en(...r)),e.size=(...r)=>e.check(wn(...r))});function kl(e,t){return new Mi({type:"set",valueType:e,...E(t)})}const Kt=_("ZodEnum",(e,t)=>{Mf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(i,n,o)=>sv(e,i,n),e.enum=t.entries,e.options=Object.values(t.entries);const r=new Set(Object.keys(t.entries));e.extract=(i,n)=>{const o={};for(const a of i)if(r.has(a))o[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new Kt({...t,checks:[],...E(n),entries:o})},e.exclude=(i,n)=>{const o={...t.entries};for(const a of i)if(r.has(a))delete o[a];else throw new Error(`Key ${a} not found in enum`);return new Kt({...t,checks:[],...E(n),entries:o})}});function qe(e,t){const r=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new Kt({type:"enum",entries:r,...E(t)})}function xl(e,t){return new Kt({type:"enum",entries:e,...E(t)})}const Zi=_("ZodLiteral",(e,t)=>{Zf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>cv(e,r,i),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 x(e,t){return new Zi({type:"literal",values:Array.isArray(e)?e:[e],...E(t)})}const Fi=_("ZodFile",(e,t)=>{Ff.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>dv(e,r,i),e.min=(r,i)=>e.check(Tt(r,i)),e.max=(r,i)=>e.check(en(r,i)),e.mime=(r,i)=>e.check(yr(Array.isArray(r)?r:[r],i))});function $l(e){return Mh(Fi,e)}const qi=_("ZodTransform",(e,t)=>{qf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>hv(e,r),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new ii(e.constructor.name);r.addIssue=o=>{if(typeof o=="string")r.issues.push(mn(o,r.value,t));else{const a=o;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=r.value),a.inst??(a.inst=e),r.issues.push(mn(a))}};const n=t.transform(r.value,r);return n instanceof Promise?n.then(o=>(r.value=o,r.fallback=!0,r)):(r.value=n,r.fallback=!0,r)}});function Gr(e){return new qi({type:"transform",transform:e})}const Yr=_("ZodOptional",(e,t)=>{Ms.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>fc(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Se(e){return new Yr({type:"optional",innerType:e})}const Hi=_("ZodExactOptional",(e,t)=>{Hf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>fc(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Ji(e){return new Hi({type:"optional",innerType:e})}const Bi=_("ZodNullable",(e,t)=>{Jf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>$v(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function _n(e){return new Bi({type:"nullable",innerType:e})}function wl(e){return Se(_n(e))}const Vi=_("ZodDefault",(e,t)=>{Bf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Sv(e,r,i,n),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Ki(e,t){return new Vi({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():si(t)}})}const Wi=_("ZodPrefault",(e,t)=>{Vf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Iv(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Gi(e,t){return new Wi({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():si(t)}})}const Xr=_("ZodNonOptional",(e,t)=>{Kf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>wv(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Yi(e,t){return new Xr({type:"nonoptional",innerType:e,...E(t)})}const Xi=_("ZodSuccess",(e,t)=>{Wf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>mv(e,r,i),e.unwrap=()=>e._zod.def.innerType});function Sl(e){return new Xi({type:"success",innerType:e})}const Qi=_("ZodCatch",(e,t)=>{Gf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>zv(e,r,i,n),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function ea(e,t){return new Qi({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const ta=_("ZodNaN",(e,t)=>{Yf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>lv(e,r)});function Il(e){return Rh(ta,e)}const An=_("ZodPipe",(e,t)=>{Zs.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Tv(e,r,i,n),e.in=t.in,e.out=t.out});function Xn(e,t){return new An({type:"pipe",in:e,out:t})}const Nn=_("ZodCodec",(e,t)=>{An.init(e,t),Fs.init(e,t)});function zl(e,t,r){return new Nn({type:"pipe",in:e,out:t,transform:r.decode,reverseTransform:r.encode})}function Tl(e){const t=e._zod.def;return new Nn({type:"pipe",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}const na=_("ZodPreprocess",(e,t)=>{An.init(e,t),Xf.init(e,t)}),ra=_("ZodReadonly",(e,t)=>{Qf.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Pv(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function oa(e){return new ra({type:"readonly",innerType:e})}const ia=_("ZodTemplateLiteral",(e,t)=>{eh.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>uv(e,r,i)});function Pl(e,t){return new ia({type:"template_literal",parts:e,...E(t)})}const aa=_("ZodLazy",(e,t)=>{rh.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ev(e,r,i,n),e.unwrap=()=>e._zod.def.getter()});function sa(e){return new aa({type:"lazy",getter:e})}const ca=_("ZodPromise",(e,t)=>{nh.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>jv(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function jl(e){return new ca({type:"promise",innerType:e})}const la=_("ZodFunction",(e,t)=>{th.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>fv(e,r)});function yn(e){return new la({type:"function",input:Array.isArray(e?.input)?Ri(e?.input):e?.input??re(be()),output:e?.output??be()})}const Un=_("ZodCustom",(e,t)=>{oh.init(e,t),ce.init(e,t),e._zod.processJSONSchema=(r,i,n)=>pv(e,r)});function El(e){const t=new Ee({check:"custom"});return t._zod.check=e,t}function ua(e,t){return Zh(Un,e??(()=>!0),t)}function da(e,t={}){return Fh(Un,e,t)}function ma(e,t){return qh(e,t)}const Dl=Jh,Cl=Bh;function Ol(e,t={}){const r=new Un({type:"custom",check:"custom",fn:i=>i instanceof e,abort:!0,...E(t)});return r._zod.bag.Class=e,r._zod.check=i=>{i.value instanceof e||i.issues.push({code:"invalid_type",expected:e.name,input:i.value,inst:r,path:[...r._zod.def.path??[]]})},r}const Al=(...e)=>Vh({Codec:Nn,Boolean:jn,String:zn},...e);function Nl(e){const t=sa(()=>pe([k(e),se(),ye(),Br(),re(t),fe(k(),t)]));return t}function Qr(e,t){return new na({type:"pipe",in:Gr(e),out:t})}const Xk=Object.freeze(Object.defineProperty({__proto__:null,ZodAny:Pi,ZodArray:Ci,ZodBase64:Zr,ZodBase64URL:Fr,ZodBigInt:En,ZodBigIntFormat:Jr,ZodBoolean:jn,ZodCIDRv4:Lr,ZodCIDRv6:Mr,ZodCUID:Dr,ZodCUID2:Cr,ZodCatch:Qi,ZodCodec:Nn,ZodCustom:Un,ZodCustomStringFormat:tn,ZodDate:Kr,ZodDefault:Vi,ZodDiscriminatedUnion:Ai,ZodE164:qr,ZodEmail:Pr,ZodEmoji:jr,ZodEnum:Kt,ZodExactOptional:Hi,ZodFile:Fi,ZodFunction:la,ZodGUID:gn,ZodIPv4:Ur,ZodIPv6:Rr,ZodIntersection:Ni,ZodJWT:Hr,ZodKSUID:Nr,ZodLazy:aa,ZodLiteral:Zi,ZodMAC:Si,ZodMap:Li,ZodNaN:ta,ZodNanoID:Er,ZodNever:Ei,ZodNonOptional:Xr,ZodNull:Ti,ZodNullable:Bi,ZodNumber:Pn,ZodNumberFormat:Ut,ZodObject:Dn,ZodOptional:Yr,ZodPipe:An,ZodPrefault:Wi,ZodPreprocess:na,ZodPromise:ca,ZodReadonly:ra,ZodRecord:Vt,ZodSet:Mi,ZodString:zn,ZodStringFormat:$e,ZodSuccess:Xi,ZodSymbol:Ii,ZodTemplateLiteral:ia,ZodTransform:qi,ZodTuple:Ui,ZodType:ce,ZodULID:Or,ZodURL:Tn,ZodUUID:dt,ZodUndefined:zi,ZodUnion:Cn,ZodUnknown:ji,ZodVoid:Di,ZodXID:Ar,ZodXor:Oi,_ZodString:Tr,_default:Ki,_function:yn,any:Vr,array:re,base64:Yc,base64url:Xc,bigint:ll,boolean:ye,catch:ea,check:El,cidrv4:Wc,cidrv6:Gc,codec:zl,cuid:Zc,cuid2:Fc,custom:ua,date:fl,describe:Dl,discriminatedUnion:Wr,e164:Qc,email:Ec,emoji:Lc,enum:qe,exactOptional:Ji,file:$l,float32:il,float64:al,function:yn,guid:Dc,hash:ol,hex:rl,hostname:nl,httpUrl:Rc,instanceof:Ol,int:Yn,int32:sl,int64:ul,intersection:On,invertCodec:Tl,ipv4:Bc,ipv6:Kc,json:Nl,jwt:el,keyof:hl,ksuid:Jc,lazy:sa,literal:x,looseObject:Fe,looseRecord:_l,mac:Vc,map:yl,meta:Cl,nan:Il,nanoid:Mc,nativeEnum:xl,never:Bt,nonoptional:Yi,null:Br,nullable:_n,nullish:wl,number:se,object:I,optional:Se,partialRecord:bl,pipe:Xn,prefault:Gi,preprocess:Qr,promise:jl,readonly:oa,record:fe,refine:da,set:kl,strictObject:vl,string:k,stringFormat:tl,stringbool:Al,success:Sl,superRefine:ma,symbol:ml,templateLiteral:Pl,transform:Gr,tuple:Ri,uint32:cl,uint64:dl,ulid:qc,undefined:bn,union:pe,unknown:be,url:Uc,uuid:Cc,uuidv4:Oc,uuidv6:Ac,uuidv7:Nc,void:pl,xid:Hc,xor:gl},Symbol.toStringTag,{value:"Module"})),Lv={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 Mv(e){Ue({customError:e})}function Zv(){return Ue().customError}var qo;qo||(qo={});const Z={...Xk,...Yk,iso:bc},Qk=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 e0(e,t){const r=e.$schema;return r==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":r==="http://json-schema.org/draft-07/schema#"?"draft-7":r==="http://json-schema.org/draft-04/schema#"?"draft-4":t??"draft-2020-12"}function t0(e,t){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");const r=e.slice(1).split("/").filter(Boolean);if(r.length===0)return t.rootSchema;const i=t.version==="draft-2020-12"?"$defs":"definitions";if(r[0]===i){const n=r[1];if(!n||!t.defs[n])throw new Error(`Reference not found: ${e}`);return t.defs[n]}throw new Error(`Reference not found: ${e}`)}function Fv(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return Z.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){const n=e.$ref;if(t.refs.has(n))return t.refs.get(n);if(t.processing.has(n))return Z.lazy(()=>{if(!t.refs.has(n))throw new Error(`Circular reference not resolved: ${n}`);return t.refs.get(n)});t.processing.add(n);const o=t0(n,t),a=Be(o,t);return t.refs.set(n,a),t.processing.delete(n),a}if(e.enum!==void 0){const n=e.enum;if(t.version==="openapi-3.0"&&e.nullable===!0&&n.length===1&&n[0]===null)return Z.null();if(n.length===0)return Z.never();if(n.length===1)return Z.literal(n[0]);if(n.every(a=>typeof a=="string"))return Z.enum(n);const o=n.map(a=>Z.literal(a));return o.length<2?o[0]:Z.union([o[0],o[1],...o.slice(2)])}if(e.const!==void 0)return Z.literal(e.const);const r=e.type;if(Array.isArray(r)){const n=r.map(o=>{const a={...e,type:o};return Fv(a,t)});return n.length===0?Z.never():n.length===1?n[0]:Z.union(n)}if(!r)return Z.any();let i;switch(r){case"string":{let n=Z.string();if(e.format){const o=e.format;o==="email"?n=n.check(Z.email()):o==="uri"||o==="uri-reference"?n=n.check(Z.url()):o==="uuid"||o==="guid"?n=n.check(Z.uuid()):o==="date-time"?n=n.check(Z.iso.datetime()):o==="date"?n=n.check(Z.iso.date()):o==="time"?n=n.check(Z.iso.time()):o==="duration"?n=n.check(Z.iso.duration()):o==="ipv4"?n=n.check(Z.ipv4()):o==="ipv6"?n=n.check(Z.ipv6()):o==="mac"?n=n.check(Z.mac()):o==="cidr"?n=n.check(Z.cidrv4()):o==="cidr-v6"?n=n.check(Z.cidrv6()):o==="base64"?n=n.check(Z.base64()):o==="base64url"?n=n.check(Z.base64url()):o==="e164"?n=n.check(Z.e164()):o==="jwt"?n=n.check(Z.jwt()):o==="emoji"?n=n.check(Z.emoji()):o==="nanoid"?n=n.check(Z.nanoid()):o==="cuid"?n=n.check(Z.cuid()):o==="cuid2"?n=n.check(Z.cuid2()):o==="ulid"?n=n.check(Z.ulid()):o==="xid"?n=n.check(Z.xid()):o==="ksuid"&&(n=n.check(Z.ksuid()))}typeof e.minLength=="number"&&(n=n.min(e.minLength)),typeof e.maxLength=="number"&&(n=n.max(e.maxLength)),e.pattern&&(n=n.regex(new RegExp(e.pattern))),i=n;break}case"number":case"integer":{let n=r==="integer"?Z.number().int():Z.number();typeof e.minimum=="number"&&(n=n.min(e.minimum)),typeof e.maximum=="number"&&(n=n.max(e.maximum)),typeof e.exclusiveMinimum=="number"?n=n.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(n=n.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?n=n.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(n=n.lt(e.maximum)),typeof e.multipleOf=="number"&&(n=n.multipleOf(e.multipleOf)),i=n;break}case"boolean":{i=Z.boolean();break}case"null":{i=Z.null();break}case"object":{const n={},o=e.properties||{},a=new Set(e.required||[]);for(const[u,l]of Object.entries(o)){const d=Be(l,t);n[u]=a.has(u)?d:d.optional()}if(e.propertyNames){const u=Be(e.propertyNames,t),l=e.additionalProperties&&typeof e.additionalProperties=="object"?Be(e.additionalProperties,t):Z.any();if(Object.keys(n).length===0){i=Z.record(u,l);break}const d=Z.object(n).passthrough(),p=Z.looseRecord(u,l);i=Z.intersection(d,p);break}if(e.patternProperties){const u=e.patternProperties,l=Object.keys(u),d=[];for(const m of l){const f=Be(u[m],t),h=Z.string().regex(new RegExp(m));d.push(Z.looseRecord(h,f))}const p=[];if(Object.keys(n).length>0&&p.push(Z.object(n).passthrough()),p.push(...d),p.length===0)i=Z.object({}).passthrough();else if(p.length===1)i=p[0];else{let m=Z.intersection(p[0],p[1]);for(let f=2;f<p.length;f++)m=Z.intersection(m,p[f]);i=m}break}const s=Z.object(n);e.additionalProperties===!1?i=s.strict():typeof e.additionalProperties=="object"?i=s.catchall(Be(e.additionalProperties,t)):i=s.passthrough();break}case"array":{const n=e.prefixItems,o=e.items;if(n&&Array.isArray(n)){const a=n.map(u=>Be(u,t)),s=o&&typeof o=="object"&&!Array.isArray(o)?Be(o,t):void 0;s?i=Z.tuple(a).rest(s):i=Z.tuple(a),typeof e.minItems=="number"&&(i=i.check(Z.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(Z.maxLength(e.maxItems)))}else if(Array.isArray(o)){const a=o.map(u=>Be(u,t)),s=e.additionalItems&&typeof e.additionalItems=="object"?Be(e.additionalItems,t):void 0;s?i=Z.tuple(a).rest(s):i=Z.tuple(a),typeof e.minItems=="number"&&(i=i.check(Z.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(Z.maxLength(e.maxItems)))}else if(o!==void 0){const a=Be(o,t);let s=Z.array(a);typeof e.minItems=="number"&&(s=s.min(e.minItems)),typeof e.maxItems=="number"&&(s=s.max(e.maxItems)),i=s}else i=Z.array(Z.any());break}default:throw new Error(`Unsupported type: ${r}`)}return i}function Be(e,t){if(typeof e=="boolean")return e?Z.any():Z.never();let r=Fv(e,t);const i=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){const s=e.anyOf.map(l=>Be(l,t)),u=Z.union(s);r=i?Z.intersection(r,u):u}if(e.oneOf&&Array.isArray(e.oneOf)){const s=e.oneOf.map(l=>Be(l,t)),u=Z.xor(s);r=i?Z.intersection(r,u):u}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=i?r:Z.any();else{let s=i?r:Be(e.allOf[0],t);const u=i?0:1;for(let l=u;l<e.allOf.length;l++)s=Z.intersection(s,Be(e.allOf[l],t));r=s}e.nullable===!0&&t.version==="openapi-3.0"&&(r=Z.nullable(r)),e.readOnly===!0&&(r=Z.readonly(r)),e.default!==void 0&&(r=r.default(e.default));const n={},o=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(const s of o)s in e&&(n[s]=e[s]);const a=["contentEncoding","contentMediaType","contentSchema"];for(const s of a)s in e&&(n[s]=e[s]);for(const s of Object.keys(e))Qk.has(s)||(n[s]=e[s]);return Object.keys(n).length>0&&t.registry.add(r,n),e.description&&(r=r.describe(e.description)),r}function qv(e,t){if(typeof e=="boolean")return e?Z.any():Z.never();let r;try{r=JSON.parse(JSON.stringify(e))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}const i=e0(r,t?.defaultTarget),n=r.$defs||r.definitions||{},o={version:i,defs:n,refs:new Map,processing:new Set,rootSchema:r,registry:t?.registry??Qe};return Be(r,o)}function n0(e){return uh(zn,e)}function r0(e){return gh(Pn,e)}function o0(e){return wh(jn,e)}function i0(e){return Ih(En,e)}function a0(e){return Uh(Kr,e)}const Hv=Object.freeze(Object.defineProperty({__proto__:null,bigint:i0,boolean:o0,date:a0,number:r0,string:n0},Symbol.toStringTag,{value:"Module"}));Ue(ih());const ld=Object.freeze(Object.defineProperty({__proto__:null,$brand:fs,$input:Js,$output:Hs,NEVER:ps,TimePrecision:mc,ZodAny:Pi,ZodArray:Ci,ZodBase64:Zr,ZodBase64URL:Fr,ZodBigInt:En,ZodBigIntFormat:Jr,ZodBoolean:jn,ZodCIDRv4:Lr,ZodCIDRv6:Mr,ZodCUID:Dr,ZodCUID2:Cr,ZodCatch:Qi,ZodCodec:Nn,ZodCustom:Un,ZodCustomStringFormat:tn,ZodDate:Kr,ZodDefault:Vi,ZodDiscriminatedUnion:Ai,ZodE164:qr,ZodEmail:Pr,ZodEmoji:jr,ZodEnum:Kt,ZodError:Rv,ZodExactOptional:Hi,ZodFile:Fi,get ZodFirstPartyTypeKind(){return qo},ZodFunction:la,ZodGUID:gn,ZodIPv4:Ur,ZodIPv6:Rr,ZodISODate:xi,ZodISODateTime:ki,ZodISODuration:wi,ZodISOTime:$i,ZodIntersection:Ni,ZodIssueCode:Lv,ZodJWT:Hr,ZodKSUID:Nr,ZodLazy:aa,ZodLiteral:Zi,ZodMAC:Si,ZodMap:Li,ZodNaN:ta,ZodNanoID:Er,ZodNever:Ei,ZodNonOptional:Xr,ZodNull:Ti,ZodNullable:Bi,ZodNumber:Pn,ZodNumberFormat:Ut,ZodObject:Dn,ZodOptional:Yr,ZodPipe:An,ZodPrefault:Wi,ZodPreprocess:na,ZodPromise:ca,ZodReadonly:ra,ZodRealError:Ye,ZodRecord:Vt,ZodSet:Mi,ZodString:zn,ZodStringFormat:$e,ZodSuccess:Xi,ZodSymbol:Ii,ZodTemplateLiteral:ia,ZodTransform:qi,ZodTuple:Ui,ZodType:ce,ZodULID:Or,ZodURL:Tn,ZodUUID:dt,ZodUndefined:zi,ZodUnion:Cn,ZodUnknown:ji,ZodVoid:Di,ZodXID:Ar,ZodXor:Oi,_ZodString:Tr,_default:Ki,_function:yn,any:Vr,array:re,base64:Yc,base64url:Xc,bigint:ll,boolean:ye,catch:ea,check:El,cidrv4:Wc,cidrv6:Gc,clone:nt,codec:zl,coerce:Hv,config:Ue,core:Dv,cuid:Zc,cuid2:Fc,custom:ua,date:fl,decode:wc,decodeAsync:Ic,describe:Dl,discriminatedUnion:Wr,e164:Qc,email:Ec,emoji:Lc,encode:$c,encodeAsync:Sc,endsWith:_r,enum:qe,exactOptional:Ji,file:$l,flattenError:ui,float32:il,float64:al,formatError:di,fromJSONSchema:qv,function:yn,getErrorMap:Zv,globalRegistry:Qe,gt:zt,gte:We,guid:Dc,hash:ol,hex:rl,hostname:nl,httpUrl:Rc,includes:gr,instanceof:Ol,int:Yn,int32:sl,int64:ul,intersection:On,invertCodec:Tl,ipv4:Bc,ipv6:Kc,iso:bc,json:Nl,jwt:el,keyof:hl,ksuid:Jc,lazy:sa,length:In,literal:x,locales:qs,looseObject:Fe,looseRecord:_l,lowercase:hr,lt:It,lte:et,mac:Vc,map:yl,maxLength:Sn,maxSize:en,meta:Cl,mime:yr,minLength:Ot,minSize:Tt,multipleOf:Jt,nan:Il,nanoid:Mc,nativeEnum:xl,negative:gi,never:Bt,nonnegative:_i,nonoptional:Yi,nonpositive:bi,normalize:kr,null:Br,nullable:_n,nullish:wl,number:se,object:I,optional:Se,overwrite:bt,parse:_c,parseAsync:yc,partialRecord:bl,pipe:Xn,positive:vi,prefault:Gi,preprocess:Qr,prettifyError:ys,promise:jl,property:yi,readonly:oa,record:fe,refine:da,regex:fr,regexes:mi,registry:fi,safeDecode:Tc,safeDecodeAsync:jc,safeEncode:zc,safeEncodeAsync:Pc,safeParse:kc,safeParseAsync:xc,set:kl,setErrorMap:Mv,size:wn,slugify:Sr,startsWith:br,strictObject:vl,string:k,stringFormat:tl,stringbool:Al,success:Sl,superRefine:ma,symbol:ml,templateLiteral:Pl,toJSONSchema:hc,toLowerCase:$r,toUpperCase:wr,transform:Gr,treeifyError:_s,trim:xr,tuple:Ri,uint32:cl,uint64:dl,ulid:qc,undefined:bn,union:pe,unknown:be,uppercase:vr,url:Uc,util:gs,uuid:Cc,uuidv4:Oc,uuidv6:Ac,uuidv7:Nc,void:pl,xid:Hc,xor:gl},Symbol.toStringTag,{value:"Module"})),s0=Object.freeze(Object.defineProperty({__proto__:null,$brand:fs,$input:Js,$output:Hs,NEVER:ps,TimePrecision:mc,ZodAny:Pi,ZodArray:Ci,ZodBase64:Zr,ZodBase64URL:Fr,ZodBigInt:En,ZodBigIntFormat:Jr,ZodBoolean:jn,ZodCIDRv4:Lr,ZodCIDRv6:Mr,ZodCUID:Dr,ZodCUID2:Cr,ZodCatch:Qi,ZodCodec:Nn,ZodCustom:Un,ZodCustomStringFormat:tn,ZodDate:Kr,ZodDefault:Vi,ZodDiscriminatedUnion:Ai,ZodE164:qr,ZodEmail:Pr,ZodEmoji:jr,ZodEnum:Kt,ZodError:Rv,ZodExactOptional:Hi,ZodFile:Fi,get ZodFirstPartyTypeKind(){return qo},ZodFunction:la,ZodGUID:gn,ZodIPv4:Ur,ZodIPv6:Rr,ZodISODate:xi,ZodISODateTime:ki,ZodISODuration:wi,ZodISOTime:$i,ZodIntersection:Ni,ZodIssueCode:Lv,ZodJWT:Hr,ZodKSUID:Nr,ZodLazy:aa,ZodLiteral:Zi,ZodMAC:Si,ZodMap:Li,ZodNaN:ta,ZodNanoID:Er,ZodNever:Ei,ZodNonOptional:Xr,ZodNull:Ti,ZodNullable:Bi,ZodNumber:Pn,ZodNumberFormat:Ut,ZodObject:Dn,ZodOptional:Yr,ZodPipe:An,ZodPrefault:Wi,ZodPreprocess:na,ZodPromise:ca,ZodReadonly:ra,ZodRealError:Ye,ZodRecord:Vt,ZodSet:Mi,ZodString:zn,ZodStringFormat:$e,ZodSuccess:Xi,ZodSymbol:Ii,ZodTemplateLiteral:ia,ZodTransform:qi,ZodTuple:Ui,ZodType:ce,ZodULID:Or,ZodURL:Tn,ZodUUID:dt,ZodUndefined:zi,ZodUnion:Cn,ZodUnknown:ji,ZodVoid:Di,ZodXID:Ar,ZodXor:Oi,_ZodString:Tr,_default:Ki,_function:yn,any:Vr,array:re,base64:Yc,base64url:Xc,bigint:ll,boolean:ye,catch:ea,check:El,cidrv4:Wc,cidrv6:Gc,clone:nt,codec:zl,coerce:Hv,config:Ue,core:Dv,cuid:Zc,cuid2:Fc,custom:ua,date:fl,decode:wc,decodeAsync:Ic,default:ld,describe:Dl,discriminatedUnion:Wr,e164:Qc,email:Ec,emoji:Lc,encode:$c,encodeAsync:Sc,endsWith:_r,enum:qe,exactOptional:Ji,file:$l,flattenError:ui,float32:il,float64:al,formatError:di,fromJSONSchema:qv,function:yn,getErrorMap:Zv,globalRegistry:Qe,gt:zt,gte:We,guid:Dc,hash:ol,hex:rl,hostname:nl,httpUrl:Rc,includes:gr,instanceof:Ol,int:Yn,int32:sl,int64:ul,intersection:On,invertCodec:Tl,ipv4:Bc,ipv6:Kc,iso:bc,json:Nl,jwt:el,keyof:hl,ksuid:Jc,lazy:sa,length:In,literal:x,locales:qs,looseObject:Fe,looseRecord:_l,lowercase:hr,lt:It,lte:et,mac:Vc,map:yl,maxLength:Sn,maxSize:en,meta:Cl,mime:yr,minLength:Ot,minSize:Tt,multipleOf:Jt,nan:Il,nanoid:Mc,nativeEnum:xl,negative:gi,never:Bt,nonnegative:_i,nonoptional:Yi,nonpositive:bi,normalize:kr,null:Br,nullable:_n,nullish:wl,number:se,object:I,optional:Se,overwrite:bt,parse:_c,parseAsync:yc,partialRecord:bl,pipe:Xn,positive:vi,prefault:Gi,preprocess:Qr,prettifyError:ys,promise:jl,property:yi,readonly:oa,record:fe,refine:da,regex:fr,regexes:mi,registry:fi,safeDecode:Tc,safeDecodeAsync:jc,safeEncode:zc,safeEncodeAsync:Pc,safeParse:kc,safeParseAsync:xc,set:kl,setErrorMap:Mv,size:wn,slugify:Sr,startsWith:br,strictObject:vl,string:k,stringFormat:tl,stringbool:Al,success:Sl,superRefine:ma,symbol:ml,templateLiteral:Pl,toJSONSchema:hc,toLowerCase:$r,toUpperCase:wr,transform:Gr,treeifyError:_s,trim:xr,tuple:Ri,uint32:cl,uint64:dl,ulid:qc,undefined:bn,union:pe,unknown:be,uppercase:vr,url:Uc,util:gs,uuid:Cc,uuidv4:Oc,uuidv6:Ac,uuidv7:Nc,void:pl,xid:Hc,xor:gl,z:ld},Symbol.toStringTag,{value:"Module"})),Lt="io.modelcontextprotocol/related-task",pa="2.0",Ne=ua(e=>e!==null&&(typeof e=="object"||typeof e=="function")),Jv=pe([k(),se().int()]),Bv=k();Fe({ttl:se().optional(),pollInterval:se().optional()});const c0=I({ttl:se().optional()}),l0=I({taskId:k()}),Ul=Fe({progressToken:Jv.optional(),[Lt]:l0.optional()}),ot=I({_meta:Ul.optional()}),eo=ot.extend({task:c0.optional()}),u0=e=>eo.safeParse(e).success,He=I({method:k(),params:ot.loose().optional()}),st=I({_meta:Ul.optional()}),ct=I({method:k(),params:st.loose().optional()}),Je=Fe({_meta:Ul.optional()}),to=pe([k(),se().int()]),Vv=I({jsonrpc:x(pa),id:to,...He.shape}).strict(),ud=e=>Vv.safeParse(e).success,Kv=I({jsonrpc:x(pa),...ct.shape}).strict(),d0=e=>Kv.safeParse(e).success,Rl=I({jsonrpc:x(pa),id:to,result:Je}).strict(),_o=e=>Rl.safeParse(e).success;var ke;(function(e){e[e.ConnectionClosed=-32e3]="ConnectionClosed",e[e.RequestTimeout=-32001]="RequestTimeout",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.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(ke||(ke={}));const Ll=I({jsonrpc:x(pa),id:to.optional(),error:I({code:se().int(),message:k(),data:be().optional()})}).strict(),m0=e=>Ll.safeParse(e).success,p0=pe([Vv,Kv,Rl,Ll]);pe([Rl,Ll]);const Ml=Je.strict(),f0=st.extend({requestId:to.optional(),reason:k().optional()}),Zl=ct.extend({method:x("notifications/cancelled"),params:f0}),h0=I({src:k(),mimeType:k().optional(),sizes:re(k()).optional(),theme:qe(["light","dark"]).optional()}),no=I({icons:re(h0).optional()}),kn=I({name:k(),title:k().optional()}),fa=kn.extend({...kn.shape,...no.shape,version:k(),websiteUrl:k().optional(),description:k().optional()}),v0=On(I({applyDefaults:ye().optional()}),fe(k(),be())),g0=Qr(e=>e&&typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,On(I({form:v0.optional(),url:Ne.optional()}),fe(k(),be()).optional())),b0=Fe({list:Ne.optional(),cancel:Ne.optional(),requests:Fe({sampling:Fe({createMessage:Ne.optional()}).optional(),elicitation:Fe({create:Ne.optional()}).optional()}).optional()}),_0=Fe({list:Ne.optional(),cancel:Ne.optional(),requests:Fe({tools:Fe({call:Ne.optional()}).optional()}).optional()}),y0=I({experimental:fe(k(),Ne).optional(),sampling:I({context:Ne.optional(),tools:Ne.optional()}).optional(),elicitation:g0.optional(),roots:I({listChanged:ye().optional()}).optional(),tasks:b0.optional(),extensions:fe(k(),Ne).optional()}),k0=ot.extend({protocolVersion:k(),capabilities:y0,clientInfo:fa}),x0=He.extend({method:x("initialize"),params:k0}),$0=I({experimental:fe(k(),Ne).optional(),logging:Ne.optional(),completions:Ne.optional(),prompts:I({listChanged:ye().optional()}).optional(),resources:I({subscribe:ye().optional(),listChanged:ye().optional()}).optional(),tools:I({listChanged:ye().optional()}).optional(),tasks:_0.optional(),extensions:fe(k(),Ne).optional()}),w0=Je.extend({protocolVersion:k(),capabilities:$0,serverInfo:fa,instructions:k().optional()}),S0=ct.extend({method:x("notifications/initialized"),params:st.optional()}),ha=He.extend({method:x("ping"),params:ot.optional()}),I0=I({progress:se(),total:Se(se()),message:Se(k())}),z0=I({...st.shape,...I0.shape,progressToken:Jv}),Fl=ct.extend({method:x("notifications/progress"),params:z0}),T0=ot.extend({cursor:Bv.optional()}),ro=He.extend({params:T0.optional()}),oo=Je.extend({nextCursor:Bv.optional()}),P0=qe(["working","input_required","completed","failed","cancelled"]),io=I({taskId:k(),status:P0,ttl:pe([se(),Br()]),createdAt:k(),lastUpdatedAt:k(),pollInterval:Se(se()),statusMessage:Se(k())}),ql=Je.extend({task:io}),j0=st.merge(io),Ho=ct.extend({method:x("notifications/tasks/status"),params:j0}),Hl=He.extend({method:x("tasks/get"),params:ot.extend({taskId:k()})}),Jl=Je.merge(io),Bl=He.extend({method:x("tasks/result"),params:ot.extend({taskId:k()})});Je.loose();const Vl=ro.extend({method:x("tasks/list")}),Kl=oo.extend({tasks:re(io)}),Wl=He.extend({method:x("tasks/cancel"),params:ot.extend({taskId:k()})}),E0=Je.merge(io),Wv=I({uri:k(),mimeType:Se(k()),_meta:fe(k(),be()).optional()}),Gv=Wv.extend({text:k()}),Gl=k().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:"Invalid Base64 string"}),Yv=Wv.extend({blob:Gl}),ao=qe(["user","assistant"]),Rn=I({audience:re(ao).optional(),priority:se().min(0).max(1).optional(),lastModified:gc({offset:!0}).optional()}),Xv=I({...kn.shape,...no.shape,uri:k(),description:Se(k()),mimeType:Se(k()),size:Se(se()),annotations:Rn.optional(),_meta:Se(Fe({}))}),D0=I({...kn.shape,...no.shape,uriTemplate:k(),description:Se(k()),mimeType:Se(k()),annotations:Rn.optional(),_meta:Se(Fe({}))}),C0=ro.extend({method:x("resources/list")}),Qv=oo.extend({resources:re(Xv)}),O0=ro.extend({method:x("resources/templates/list")}),A0=oo.extend({resourceTemplates:re(D0)}),Yl=ot.extend({uri:k()}),N0=Yl,U0=He.extend({method:x("resources/read"),params:N0}),eg=Je.extend({contents:re(pe([Gv,Yv]))}),R0=ct.extend({method:x("notifications/resources/list_changed"),params:st.optional()}),L0=Yl,M0=He.extend({method:x("resources/subscribe"),params:L0}),Z0=Yl,F0=He.extend({method:x("resources/unsubscribe"),params:Z0}),q0=st.extend({uri:k()}),H0=ct.extend({method:x("notifications/resources/updated"),params:q0}),J0=I({name:k(),description:Se(k()),required:Se(ye())}),B0=I({...kn.shape,...no.shape,description:Se(k()),arguments:Se(re(J0)),_meta:Se(Fe({}))}),V0=ro.extend({method:x("prompts/list")}),K0=oo.extend({prompts:re(B0)}),W0=ot.extend({name:k(),arguments:fe(k(),k()).optional()}),G0=He.extend({method:x("prompts/get"),params:W0}),Xl=I({type:x("text"),text:k(),annotations:Rn.optional(),_meta:fe(k(),be()).optional()}),Ql=I({type:x("image"),data:Gl,mimeType:k(),annotations:Rn.optional(),_meta:fe(k(),be()).optional()}),eu=I({type:x("audio"),data:Gl,mimeType:k(),annotations:Rn.optional(),_meta:fe(k(),be()).optional()}),Y0=I({type:x("tool_use"),name:k(),id:k(),input:fe(k(),be()),_meta:fe(k(),be()).optional()}),tg=I({type:x("resource"),resource:pe([Gv,Yv]),annotations:Rn.optional(),_meta:fe(k(),be()).optional()}),ng=Xv.extend({type:x("resource_link")}),so=pe([Xl,Ql,eu,ng,tg]),X0=I({role:ao,content:so}),Q0=Je.extend({description:k().optional(),messages:re(X0)}),ex=ct.extend({method:x("notifications/prompts/list_changed"),params:st.optional()}),tx=I({title:k().optional(),readOnlyHint:ye().optional(),destructiveHint:ye().optional(),idempotentHint:ye().optional(),openWorldHint:ye().optional()}),nx=I({taskSupport:qe(["required","optional","forbidden"]).optional()}),tu=I({...kn.shape,...no.shape,description:k().optional(),inputSchema:I({type:x("object"),properties:fe(k(),Ne).optional(),required:re(k()).optional()}).catchall(be()),outputSchema:I({type:x("object"),properties:fe(k(),Ne).optional(),required:re(k()).optional()}).catchall(be()).optional(),annotations:tx.optional(),execution:nx.optional(),_meta:fe(k(),be()).optional()}),rg=ro.extend({method:x("tools/list")}),rx=oo.extend({tools:re(tu)}),va=Je.extend({content:re(so).default([]),structuredContent:fe(k(),be()).optional(),isError:ye().optional()});va.or(Je.extend({toolResult:be()}));const ox=eo.extend({name:k(),arguments:fe(k(),be()).optional()}),og=He.extend({method:x("tools/call"),params:ox}),ix=ct.extend({method:x("notifications/tools/list_changed"),params:st.optional()});I({autoRefresh:ye().default(!0),debounceMs:se().int().nonnegative().default(300)});const ig=qe(["debug","info","notice","warning","error","critical","alert","emergency"]),ax=ot.extend({level:ig}),sx=He.extend({method:x("logging/setLevel"),params:ax}),cx=st.extend({level:ig,logger:k().optional(),data:be()}),lx=ct.extend({method:x("notifications/message"),params:cx}),ux=I({name:k().optional()}),dx=I({hints:re(ux).optional(),costPriority:se().min(0).max(1).optional(),speedPriority:se().min(0).max(1).optional(),intelligencePriority:se().min(0).max(1).optional()}),mx=I({mode:qe(["auto","required","none"]).optional()}),px=I({type:x("tool_result"),toolUseId:k().describe("The unique identifier for the corresponding tool call."),content:re(so).default([]),structuredContent:I({}).loose().optional(),isError:ye().optional(),_meta:fe(k(),be()).optional()}),fx=Wr("type",[Xl,Ql,eu]),Jo=Wr("type",[Xl,Ql,eu,Y0,px]),hx=I({role:ao,content:pe([Jo,re(Jo)]),_meta:fe(k(),be()).optional()}),vx=eo.extend({messages:re(hx),modelPreferences:dx.optional(),systemPrompt:k().optional(),includeContext:qe(["none","thisServer","allServers"]).optional(),temperature:se().optional(),maxTokens:se().int(),stopSequences:re(k()).optional(),metadata:Ne.optional(),tools:re(tu).optional(),toolChoice:mx.optional()}),gx=He.extend({method:x("sampling/createMessage"),params:vx}),ag=Je.extend({model:k(),stopReason:Se(qe(["endTurn","stopSequence","maxTokens"]).or(k())),role:ao,content:fx}),sg=Je.extend({model:k(),stopReason:Se(qe(["endTurn","stopSequence","maxTokens","toolUse"]).or(k())),role:ao,content:pe([Jo,re(Jo)])}),bx=I({type:x("boolean"),title:k().optional(),description:k().optional(),default:ye().optional()}),_x=I({type:x("string"),title:k().optional(),description:k().optional(),minLength:se().optional(),maxLength:se().optional(),format:qe(["email","uri","date","date-time"]).optional(),default:k().optional()}),yx=I({type:qe(["number","integer"]),title:k().optional(),description:k().optional(),minimum:se().optional(),maximum:se().optional(),default:se().optional()}),kx=I({type:x("string"),title:k().optional(),description:k().optional(),enum:re(k()),default:k().optional()}),xx=I({type:x("string"),title:k().optional(),description:k().optional(),oneOf:re(I({const:k(),title:k()})),default:k().optional()}),$x=I({type:x("string"),title:k().optional(),description:k().optional(),enum:re(k()),enumNames:re(k()).optional(),default:k().optional()}),wx=pe([kx,xx]),Sx=I({type:x("array"),title:k().optional(),description:k().optional(),minItems:se().optional(),maxItems:se().optional(),items:I({type:x("string"),enum:re(k())}),default:re(k()).optional()}),Ix=I({type:x("array"),title:k().optional(),description:k().optional(),minItems:se().optional(),maxItems:se().optional(),items:I({anyOf:re(I({const:k(),title:k()}))}),default:re(k()).optional()}),zx=pe([Sx,Ix]),Tx=pe([$x,wx,zx]),Px=pe([Tx,bx,_x,yx]),jx=eo.extend({mode:x("form").optional(),message:k(),requestedSchema:I({type:x("object"),properties:fe(k(),Px),required:re(k()).optional()})}),Ex=eo.extend({mode:x("url"),message:k(),elicitationId:k(),url:k().url()}),Dx=pe([jx,Ex]),Cx=He.extend({method:x("elicitation/create"),params:Dx}),Ox=st.extend({elicitationId:k()}),Ax=ct.extend({method:x("notifications/elicitation/complete"),params:Ox}),Nx=Je.extend({action:qe(["accept","decline","cancel"]),content:Qr(e=>e===null?void 0:e,fe(k(),pe([k(),se(),ye(),re(k())])).optional())}),Ux=I({type:x("ref/resource"),uri:k()}),Rx=I({type:x("ref/prompt"),name:k()}),Lx=ot.extend({ref:pe([Rx,Ux]),argument:I({name:k(),value:k()}),context:I({arguments:fe(k(),k()).optional()}).optional()}),Mx=He.extend({method:x("completion/complete"),params:Lx}),Zx=Je.extend({completion:Fe({values:re(k()).max(100),total:Se(se().int()),hasMore:Se(ye())})}),Fx=I({uri:k().startsWith("file://"),name:k().optional(),_meta:fe(k(),be()).optional()}),qx=He.extend({method:x("roots/list"),params:ot.optional()}),Hx=Je.extend({roots:re(Fx)}),Jx=ct.extend({method:x("notifications/roots/list_changed"),params:st.optional()});pe([ha,x0,Mx,sx,G0,V0,C0,O0,U0,M0,F0,og,rg,Hl,Bl,Vl,Wl]);pe([Zl,Fl,S0,Jx,Ho]);pe([Ml,ag,sg,Nx,Hx,Jl,Kl,ql]);pe([ha,gx,Cx,qx,Hl,Bl,Vl,Wl]);pe([Zl,Fl,lx,H0,R0,ix,ex,Ho,Ax]);pe([Ml,w0,Zx,Q0,K0,Qv,A0,eg,va,rx,Jl,Kl,ql]);class ve extends Error{constructor(t,r,i){super(`MCP error ${t}: ${r}`),this.code=t,this.data=i,this.name="McpError"}static fromError(t,r,i){if(t===ke.UrlElicitationRequired&&i){const n=i;if(n.elicitations)return new Bx(n.elicitations,r)}return new ve(t,r,i)}}class Bx extends ve{constructor(t,r=`URL elicitation${t.length>1?"s":""} required`){super(ke.UrlElicitationRequired,r,{elicitations:t})}get elicitations(){return this.data?.elicitations??[]}}function Rt(e){return e==="completed"||e==="failed"||e==="cancelled"}new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function dd(e){const r=Wk(e)?.method;if(!r)throw new Error("Schema is missing a method literal");const i=Gk(r);if(typeof i!="string")throw new Error("Schema method literal must be a string");return i}function md(e,t){const r=Cv(e,t);if(!r.success)throw r.error;return r.data}const Vx=6e4;class Kx{constructor(t){this._options=t,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(Zl,r=>{this._oncancel(r)}),this.setNotificationHandler(Fl,r=>{this._onprogress(r)}),this.setRequestHandler(ha,r=>({})),this._taskStore=t?.taskStore,this._taskMessageQueue=t?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(Hl,async(r,i)=>{const n=await this._taskStore.getTask(r.params.taskId,i.sessionId);if(!n)throw new ve(ke.InvalidParams,"Failed to retrieve task: Task not found");return{...n}}),this.setRequestHandler(Bl,async(r,i)=>{const n=async()=>{const o=r.params.taskId;if(this._taskMessageQueue){let s;for(;s=await this._taskMessageQueue.dequeue(o,i.sessionId);){if(s.type==="response"||s.type==="error"){const u=s.message,l=u.id,d=this._requestResolvers.get(l);if(d)if(this._requestResolvers.delete(l),s.type==="response")d(u);else{const p=u,m=new ve(p.error.code,p.error.message,p.error.data);d(m)}else{const p=s.type==="response"?"Response":"Error";this._onerror(new Error(`${p} handler missing for request ${l}`))}continue}await this._transport?.send(s.message,{relatedRequestId:i.requestId})}}const a=await this._taskStore.getTask(o,i.sessionId);if(!a)throw new ve(ke.InvalidParams,`Task not found: ${o}`);if(!Rt(a.status))return await this._waitForTaskUpdate(o,i.signal),await n();if(Rt(a.status)){const s=await this._taskStore.getTaskResult(o,i.sessionId);return this._clearTaskQueue(o),{...s,_meta:{...s._meta,[Lt]:{taskId:o}}}}return await n()};return await n()}),this.setRequestHandler(Vl,async(r,i)=>{try{const{tasks:n,nextCursor:o}=await this._taskStore.listTasks(r.params?.cursor,i.sessionId);return{tasks:n,nextCursor:o,_meta:{}}}catch(n){throw new ve(ke.InvalidParams,`Failed to list tasks: ${n instanceof Error?n.message:String(n)}`)}}),this.setRequestHandler(Wl,async(r,i)=>{try{const n=await this._taskStore.getTask(r.params.taskId,i.sessionId);if(!n)throw new ve(ke.InvalidParams,`Task not found: ${r.params.taskId}`);if(Rt(n.status))throw new ve(ke.InvalidParams,`Cannot cancel task in terminal status: ${n.status}`);await this._taskStore.updateTaskStatus(r.params.taskId,"cancelled","Client cancelled task execution.",i.sessionId),this._clearTaskQueue(r.params.taskId);const o=await this._taskStore.getTask(r.params.taskId,i.sessionId);if(!o)throw new ve(ke.InvalidParams,`Task not found after cancellation: ${r.params.taskId}`);return{_meta:{},...o}}catch(n){throw n instanceof ve?n:new ve(ke.InvalidRequest,`Failed to cancel task: ${n instanceof Error?n.message:String(n)}`)}}))}async _oncancel(t){if(!t.params.requestId)return;this._requestHandlerAbortControllers.get(t.params.requestId)?.abort(t.params.reason)}_setupTimeout(t,r,i,n,o=!1){this._timeoutInfo.set(t,{timeoutId:setTimeout(n,r),startTime:Date.now(),timeout:r,maxTotalTimeout:i,resetTimeoutOnProgress:o,onTimeout:n})}_resetTimeout(t){const r=this._timeoutInfo.get(t);if(!r)return!1;const i=Date.now()-r.startTime;if(r.maxTotalTimeout&&i>=r.maxTotalTimeout)throw this._timeoutInfo.delete(t),ve.fromError(ke.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:r.maxTotalTimeout,totalElapsed:i});return clearTimeout(r.timeoutId),r.timeoutId=setTimeout(r.onTimeout,r.timeout),!0}_cleanupTimeout(t){const r=this._timeoutInfo.get(t);r&&(clearTimeout(r.timeoutId),this._timeoutInfo.delete(t))}async connect(t){if(this._transport)throw new Error("Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.");this._transport=t;const r=this.transport?.onclose;this._transport.onclose=()=>{r?.(),this._onclose()};const i=this.transport?.onerror;this._transport.onerror=o=>{i?.(o),this._onerror(o)};const n=this._transport?.onmessage;this._transport.onmessage=(o,a)=>{n?.(o,a),_o(o)||m0(o)?this._onresponse(o):ud(o)?this._onrequest(o,a):d0(o)?this._onnotification(o):this._onerror(new Error(`Unknown message type: ${JSON.stringify(o)}`))},await this._transport.start()}_onclose(){const t=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(const i of this._timeoutInfo.values())clearTimeout(i.timeoutId);this._timeoutInfo.clear();for(const i of this._requestHandlerAbortControllers.values())i.abort();this._requestHandlerAbortControllers.clear();const r=ve.fromError(ke.ConnectionClosed,"Connection closed");this._transport=void 0,this.onclose?.();for(const i of t.values())i(r)}_onerror(t){this.onerror?.(t)}_onnotification(t){const r=this._notificationHandlers.get(t.method)??this.fallbackNotificationHandler;r!==void 0&&Promise.resolve().then(()=>r(t)).catch(i=>this._onerror(new Error(`Uncaught error in notification handler: ${i}`)))}_onrequest(t,r){const i=this._requestHandlers.get(t.method)??this.fallbackRequestHandler,n=this._transport,o=t.params?._meta?.[Lt]?.taskId;if(i===void 0){const d={jsonrpc:"2.0",id:t.id,error:{code:ke.MethodNotFound,message:"Method not found"}};o&&this._taskMessageQueue?this._enqueueTaskMessage(o,{type:"error",message:d,timestamp:Date.now()},n?.sessionId).catch(p=>this._onerror(new Error(`Failed to enqueue error response: ${p}`))):n?.send(d).catch(p=>this._onerror(new Error(`Failed to send an error response: ${p}`)));return}const a=new AbortController;this._requestHandlerAbortControllers.set(t.id,a);const s=u0(t.params)?t.params.task:void 0,u=this._taskStore?this.requestTaskStore(t,n?.sessionId):void 0,l={signal:a.signal,sessionId:n?.sessionId,_meta:t.params?._meta,sendNotification:async d=>{if(a.signal.aborted)return;const p={relatedRequestId:t.id};o&&(p.relatedTask={taskId:o}),await this.notification(d,p)},sendRequest:async(d,p,m)=>{if(a.signal.aborted)throw new ve(ke.ConnectionClosed,"Request was cancelled");const f={...m,relatedRequestId:t.id};o&&!f.relatedTask&&(f.relatedTask={taskId:o});const h=f.relatedTask?.taskId??o;return h&&u&&await u.updateTaskStatus(h,"input_required"),await this.request(d,p,f)},authInfo:r?.authInfo,requestId:t.id,requestInfo:r?.requestInfo,taskId:o,taskStore:u,taskRequestedTtl:s?.ttl,closeSSEStream:r?.closeSSEStream,closeStandaloneSSEStream:r?.closeStandaloneSSEStream};Promise.resolve().then(()=>{s&&this.assertTaskHandlerCapability(t.method)}).then(()=>i(t,l)).then(async d=>{if(a.signal.aborted)return;const p={result:d,jsonrpc:"2.0",id:t.id};o&&this._taskMessageQueue?await this._enqueueTaskMessage(o,{type:"response",message:p,timestamp:Date.now()},n?.sessionId):await n?.send(p)},async d=>{if(a.signal.aborted)return;const p={jsonrpc:"2.0",id:t.id,error:{code:Number.isSafeInteger(d.code)?d.code:ke.InternalError,message:d.message??"Internal error",...d.data!==void 0&&{data:d.data}}};o&&this._taskMessageQueue?await this._enqueueTaskMessage(o,{type:"error",message:p,timestamp:Date.now()},n?.sessionId):await n?.send(p)}).catch(d=>this._onerror(new Error(`Failed to send response: ${d}`))).finally(()=>{this._requestHandlerAbortControllers.get(t.id)===a&&this._requestHandlerAbortControllers.delete(t.id)})}_onprogress(t){const{progressToken:r,...i}=t.params,n=Number(r),o=this._progressHandlers.get(n);if(!o){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(t)}`));return}const a=this._responseHandlers.get(n),s=this._timeoutInfo.get(n);if(s&&a&&s.resetTimeoutOnProgress)try{this._resetTimeout(n)}catch(u){this._responseHandlers.delete(n),this._progressHandlers.delete(n),this._cleanupTimeout(n),a(u);return}o(i)}_onresponse(t){const r=Number(t.id),i=this._requestResolvers.get(r);if(i){if(this._requestResolvers.delete(r),_o(t))i(t);else{const a=new ve(t.error.code,t.error.message,t.error.data);i(a)}return}const n=this._responseHandlers.get(r);if(n===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(t)}`));return}this._responseHandlers.delete(r),this._cleanupTimeout(r);let o=!1;if(_o(t)&&t.result&&typeof t.result=="object"){const a=t.result;if(a.task&&typeof a.task=="object"){const s=a.task;typeof s.taskId=="string"&&(o=!0,this._taskProgressTokens.set(s.taskId,r))}}if(o||this._progressHandlers.delete(r),_o(t))n(t);else{const a=ve.fromError(t.error.code,t.error.message,t.error.data);n(a)}}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream(t,r,i){const{task:n}=i??{};if(!n){try{yield{type:"result",result:await this.request(t,r,i)}}catch(a){yield{type:"error",error:a instanceof ve?a:new ve(ke.InternalError,String(a))}}return}let o;try{const a=await this.request(t,ql,i);if(a.task)o=a.task.taskId,yield{type:"taskCreated",task:a.task};else throw new ve(ke.InternalError,"Task creation did not return a task");for(;;){const s=await this.getTask({taskId:o},i);if(yield{type:"taskStatus",task:s},Rt(s.status)){s.status==="completed"?yield{type:"result",result:await this.getTaskResult({taskId:o},r,i)}:s.status==="failed"?yield{type:"error",error:new ve(ke.InternalError,`Task ${o} failed`)}:s.status==="cancelled"&&(yield{type:"error",error:new ve(ke.InternalError,`Task ${o} was cancelled`)});return}if(s.status==="input_required"){yield{type:"result",result:await this.getTaskResult({taskId:o},r,i)};return}const u=s.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(l=>setTimeout(l,u)),i?.signal?.throwIfAborted()}}catch(a){yield{type:"error",error:a instanceof ve?a:new ve(ke.InternalError,String(a))}}}request(t,r,i){const{relatedRequestId:n,resumptionToken:o,onresumptiontoken:a,task:s,relatedTask:u}=i??{};return new Promise((l,d)=>{const p=S=>{d(S)};if(!this._transport){p(new Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(t.method),s&&this.assertTaskCapability(t.method)}catch(S){p(S);return}i?.signal?.throwIfAborted();const m=this._requestMessageId++,f={...t,jsonrpc:"2.0",id:m};i?.onprogress&&(this._progressHandlers.set(m,i.onprogress),f.params={...t.params,_meta:{...t.params?._meta||{},progressToken:m}}),s&&(f.params={...f.params,task:s}),u&&(f.params={...f.params,_meta:{...f.params?._meta||{},[Lt]:u}});const h=S=>{this._responseHandlers.delete(m),this._progressHandlers.delete(m),this._cleanupTimeout(m),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:m,reason:String(S)}},{relatedRequestId:n,resumptionToken:o,onresumptiontoken:a}).catch(P=>this._onerror(new Error(`Failed to send cancellation: ${P}`)));const $=S instanceof ve?S:new ve(ke.RequestTimeout,String(S));d($)};this._responseHandlers.set(m,S=>{if(!i?.signal?.aborted){if(S instanceof Error)return d(S);try{const $=Cv(r,S.result);$.success?l($.data):d($.error)}catch($){d($)}}}),i?.signal?.addEventListener("abort",()=>{h(i?.signal?.reason)});const g=i?.timeout??Vx,v=()=>h(ve.fromError(ke.RequestTimeout,"Request timed out",{timeout:g}));this._setupTimeout(m,g,i?.maxTotalTimeout,v,i?.resetTimeoutOnProgress??!1);const w=u?.taskId;if(w){const S=$=>{const P=this._responseHandlers.get(m);P?P($):this._onerror(new Error(`Response handler missing for side-channeled request ${m}`))};this._requestResolvers.set(m,S),this._enqueueTaskMessage(w,{type:"request",message:f,timestamp:Date.now()}).catch($=>{this._cleanupTimeout(m),d($)})}else this._transport.send(f,{relatedRequestId:n,resumptionToken:o,onresumptiontoken:a}).catch(S=>{this._cleanupTimeout(m),d(S)})})}async getTask(t,r){return this.request({method:"tasks/get",params:t},Jl,r)}async getTaskResult(t,r,i){return this.request({method:"tasks/result",params:t},r,i)}async listTasks(t,r){return this.request({method:"tasks/list",params:t},Kl,r)}async cancelTask(t,r){return this.request({method:"tasks/cancel",params:t},E0,r)}async notification(t,r){if(!this._transport)throw new Error("Not connected");this.assertNotificationCapability(t.method);const i=r?.relatedTask?.taskId;if(i){const s={...t,jsonrpc:"2.0",params:{...t.params,_meta:{...t.params?._meta||{},[Lt]:r.relatedTask}}};await this._enqueueTaskMessage(i,{type:"notification",message:s,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes(t.method)&&!t.params&&!r?.relatedRequestId&&!r?.relatedTask){if(this._pendingDebouncedNotifications.has(t.method))return;this._pendingDebouncedNotifications.add(t.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(t.method),!this._transport)return;let s={...t,jsonrpc:"2.0"};r?.relatedTask&&(s={...s,params:{...s.params,_meta:{...s.params?._meta||{},[Lt]:r.relatedTask}}}),this._transport?.send(s,r).catch(u=>this._onerror(u))});return}let a={...t,jsonrpc:"2.0"};r?.relatedTask&&(a={...a,params:{...a.params,_meta:{...a.params?._meta||{},[Lt]:r.relatedTask}}}),await this._transport.send(a,r)}setRequestHandler(t,r){const i=dd(t);this.assertRequestHandlerCapability(i),this._requestHandlers.set(i,(n,o)=>{const a=md(t,n);return Promise.resolve(r(a,o))})}removeRequestHandler(t){this._requestHandlers.delete(t)}assertCanSetRequestHandler(t){if(this._requestHandlers.has(t))throw new Error(`A request handler for ${t} already exists, which would be overridden`)}setNotificationHandler(t,r){const i=dd(t);this._notificationHandlers.set(i,n=>{const o=md(t,n);return Promise.resolve(r(o))})}removeNotificationHandler(t){this._notificationHandlers.delete(t)}_cleanupTaskProgressHandler(t){const r=this._taskProgressTokens.get(t);r!==void 0&&(this._progressHandlers.delete(r),this._taskProgressTokens.delete(t))}async _enqueueTaskMessage(t,r,i){if(!this._taskStore||!this._taskMessageQueue)throw new Error("Cannot enqueue task message: taskStore and taskMessageQueue are not configured");const n=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue(t,r,i,n)}async _clearTaskQueue(t,r){if(this._taskMessageQueue){const i=await this._taskMessageQueue.dequeueAll(t,r);for(const n of i)if(n.type==="request"&&ud(n.message)){const o=n.message.id,a=this._requestResolvers.get(o);a?(a(new ve(ke.InternalError,"Task cancelled or completed")),this._requestResolvers.delete(o)):this._onerror(new Error(`Resolver missing for request ${o} during task ${t} cleanup`))}}}async _waitForTaskUpdate(t,r){let i=this._options?.defaultTaskPollInterval??1e3;try{const n=await this._taskStore?.getTask(t);n?.pollInterval&&(i=n.pollInterval)}catch{}return new Promise((n,o)=>{if(r.aborted){o(new ve(ke.InvalidRequest,"Request cancelled"));return}const a=setTimeout(n,i);r.addEventListener("abort",()=>{clearTimeout(a),o(new ve(ke.InvalidRequest,"Request cancelled"))},{once:!0})})}requestTaskStore(t,r){const i=this._taskStore;if(!i)throw new Error("No task store configured");return{createTask:async n=>{if(!t)throw new Error("No request provided");return await i.createTask(n,t.id,{method:t.method,params:t.params},r)},getTask:async n=>{const o=await i.getTask(n,r);if(!o)throw new ve(ke.InvalidParams,"Failed to retrieve task: Task not found");return o},storeTaskResult:async(n,o,a)=>{await i.storeTaskResult(n,o,a,r);const s=await i.getTask(n,r);if(s){const u=Ho.parse({method:"notifications/tasks/status",params:s});await this.notification(u),Rt(s.status)&&this._cleanupTaskProgressHandler(n)}},getTaskResult:n=>i.getTaskResult(n,r),updateTaskStatus:async(n,o,a)=>{const s=await i.getTask(n,r);if(!s)throw new ve(ke.InvalidParams,`Task "${n}" not found - it may have been cleaned up`);if(Rt(s.status))throw new ve(ke.InvalidParams,`Cannot update task "${n}" from terminal status "${s.status}" to "${o}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await i.updateTaskStatus(n,o,a,r);const u=await i.getTask(n,r);if(u){const l=Ho.parse({method:"notifications/tasks/status",params:u});await this.notification(l),Rt(u.status)&&this._cleanupTaskProgressHandler(n)}},listTasks:n=>i.listTasks(n,r)}}}function pd(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Wx(e,t){const r={...e};for(const i in t){const n=i,o=t[n];if(o===void 0)continue;const a=r[n];pd(a)&&pd(o)?r[n]={...a,...o}:r[n]=o}return r}(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});class Gx extends Kx{_registeredMethods=new Set;_eventSlots=new Map;onEventDispatch(t,r){}_ensureEventSlot(t){let r=this._eventSlots.get(t);if(!r){let i=this.eventSchemas[t];if(!i)throw Error(`Unknown event: ${String(t)}`);r={listeners:[]},this._eventSlots.set(t,r);let n=i.shape.method.value;this._registeredMethods.add(n);let o=r;super.setNotificationHandler(i,a=>{let s=a.params;this.onEventDispatch(t,s),o.onHandler?.(s);for(let u of[...o.listeners])u(s)})}return r}setEventHandler(t,r){let i=this._ensureEventSlot(t);i.onHandler&&r&&console.warn(`[MCP Apps] on${String(t)} handler replaced. Use addEventListener("${String(t)}", …) to add multiple listeners without replacing.`),i.onHandler=r}getEventHandler(t){return this._eventSlots.get(t)?.onHandler}addEventListener(t,r){this._ensureEventSlot(t).listeners.push(r)}removeEventListener(t,r){let i=this._eventSlots.get(t);if(!i)return;let n=i.listeners.indexOf(r);n!==-1&&i.listeners.splice(n,1)}setRequestHandler=(t,r)=>{this._assertMethodNotRegistered(t,"setRequestHandler"),super.setRequestHandler(t,r)};setNotificationHandler=(t,r)=>{this._assertMethodNotRegistered(t,"setNotificationHandler"),super.setNotificationHandler(t,r)};warnIfRequestHandlerReplaced(t,r,i){r&&i&&console.warn(`[MCP Apps] ${t} handler replaced. Previous handler will no longer be called.`)}replaceRequestHandler=(t,r)=>{let i=t.shape.method.value;this._registeredMethods.add(i),super.setRequestHandler(t,r)};_assertMethodNotRegistered(t,r){let i=t.shape.method.value;if(this._registeredMethods.has(i))throw Error(`Handler for "${i}" already registered (via ${r}). Use addEventListener() to attach multiple listeners, or the on* setter for replace semantics.`);this._registeredMethods.add(i)}}var Yx="2026-01-26",Xx="ui/notifications/tool-input-partial";let Qx=class{eventTarget;eventSource;messageListener;constructor(t=window.parent,r){this.eventTarget=t,this.eventSource=r,this.messageListener=i=>{if(r&&i.source!==this.eventSource){console.debug("Ignoring message from unknown source",i);return}let n=p0.safeParse(i.data);n.success?(console.debug("Parsed message",n.data),this.onmessage?.(n.data)):i.data?.jsonrpc!=="2.0"?console.debug("Ignoring non-JSON-RPC message",n.error.message,i):(console.error("Failed to parse message",n.error.message,i),this.onerror?.(Error("Invalid JSON-RPC message received: "+n.error.message)))}}async start(){window.addEventListener("message",this.messageListener)}async send(t,r){t.method!==Xx&&console.debug("Sending message",t),this.eventTarget.postMessage(t,"*")}async close(){window.removeEventListener("message",this.messageListener),this.onclose?.()}onclose;onerror;onmessage;sessionId;setProtocolVersion};var e$=pe([x("light"),x("dark")]).describe("Color theme preference for the host environment."),Qn=pe([x("inline"),x("fullscreen"),x("pip")]).describe("Display mode for UI presentation."),t$=pe([x("--color-background-primary"),x("--color-background-secondary"),x("--color-background-tertiary"),x("--color-background-inverse"),x("--color-background-ghost"),x("--color-background-info"),x("--color-background-danger"),x("--color-background-success"),x("--color-background-warning"),x("--color-background-disabled"),x("--color-text-primary"),x("--color-text-secondary"),x("--color-text-tertiary"),x("--color-text-inverse"),x("--color-text-ghost"),x("--color-text-info"),x("--color-text-danger"),x("--color-text-success"),x("--color-text-warning"),x("--color-text-disabled"),x("--color-border-primary"),x("--color-border-secondary"),x("--color-border-tertiary"),x("--color-border-inverse"),x("--color-border-ghost"),x("--color-border-info"),x("--color-border-danger"),x("--color-border-success"),x("--color-border-warning"),x("--color-border-disabled"),x("--color-ring-primary"),x("--color-ring-secondary"),x("--color-ring-inverse"),x("--color-ring-info"),x("--color-ring-danger"),x("--color-ring-success"),x("--color-ring-warning"),x("--font-sans"),x("--font-mono"),x("--font-weight-normal"),x("--font-weight-medium"),x("--font-weight-semibold"),x("--font-weight-bold"),x("--font-text-xs-size"),x("--font-text-sm-size"),x("--font-text-md-size"),x("--font-text-lg-size"),x("--font-heading-xs-size"),x("--font-heading-sm-size"),x("--font-heading-md-size"),x("--font-heading-lg-size"),x("--font-heading-xl-size"),x("--font-heading-2xl-size"),x("--font-heading-3xl-size"),x("--font-text-xs-line-height"),x("--font-text-sm-line-height"),x("--font-text-md-line-height"),x("--font-text-lg-line-height"),x("--font-heading-xs-line-height"),x("--font-heading-sm-line-height"),x("--font-heading-md-line-height"),x("--font-heading-lg-line-height"),x("--font-heading-xl-line-height"),x("--font-heading-2xl-line-height"),x("--font-heading-3xl-line-height"),x("--border-radius-xs"),x("--border-radius-sm"),x("--border-radius-md"),x("--border-radius-lg"),x("--border-radius-xl"),x("--border-radius-full"),x("--border-width-regular"),x("--shadow-hairline"),x("--shadow-sm"),x("--shadow-md"),x("--shadow-lg")]).describe("CSS variable keys available to MCP apps for theming."),n$=fe(t$.describe(`Style variables for theming MCP apps.
|
|
110
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const c of n.seen.entries()){const p=c[1];if(r===c[0]){a(c);continue}if(n.external){const h=n.external.registry.get(c[0])?.id;if(r!==c[0]&&h){a(c);continue}}if(n.metadataRegistry.get(c[0])?.id){a(c);continue}if(p.cycle){a(c);continue}if(p.count>1&&n.reused==="ref"){a(c);continue}}}function no(n,r){const i=n.seen.get(r);if(!i)throw new Error("Unprocessed schema. This is a bug in Zod.");const l=p=>{const g=n.seen.get(p);if(g.ref===null)return;const h=g.def??g.schema,y={...h},k=g.ref;if(g.ref=null,k){l(k);const P=n.seen.get(k),Z=P.schema;if(Z.$ref&&(n.target==="draft-07"||n.target==="draft-04"||n.target==="openapi-3.0")?(h.allOf=h.allOf??[],h.allOf.push(Z)):Object.assign(h,Z),Object.assign(h,y),p._zod.parent===k)for(const V in h)V==="$ref"||V==="allOf"||V in y||delete h[V];if(Z.$ref&&P.def)for(const V in h)V==="$ref"||V==="allOf"||V in P.def&&JSON.stringify(h[V])===JSON.stringify(P.def[V])&&delete h[V]}const T=p._zod.parent;if(T&&T!==k){l(T);const P=n.seen.get(T);if(P?.schema.$ref&&(h.$ref=P.schema.$ref,P.def))for(const Z in h)Z==="$ref"||Z==="allOf"||Z in P.def&&JSON.stringify(h[Z])===JSON.stringify(P.def[Z])&&delete h[Z]}n.override({zodSchema:p,jsonSchema:h,path:g.path??[]})};for(const p of[...n.seen.entries()].reverse())l(p[0]);const t={};if(n.target==="draft-2020-12"?t.$schema="https://json-schema.org/draft/2020-12/schema":n.target==="draft-07"?t.$schema="http://json-schema.org/draft-07/schema#":n.target==="draft-04"?t.$schema="http://json-schema.org/draft-04/schema#":n.target,n.external?.uri){const p=n.external.registry.get(r)?.id;if(!p)throw new Error("Schema is missing an `id` property");t.$id=n.external.uri(p)}Object.assign(t,i.def??i.schema);const a=n.metadataRegistry.get(r)?.id;a!==void 0&&t.id===a&&delete t.id;const c=n.external?.defs??{};for(const p of n.seen.entries()){const g=p[1];g.def&&g.defId&&(g.def.id===g.defId&&delete g.def.id,c[g.defId]=g.def)}n.external||Object.keys(c).length>0&&(n.target==="draft-2020-12"?t.$defs=c:t.definitions=c);try{const p=JSON.parse(JSON.stringify(t));return Object.defineProperty(p,"~standard",{value:{...r["~standard"],jsonSchema:{input:pi(r,"input",n.processors),output:pi(r,"output",n.processors)}},enumerable:!1,writable:!1}),p}catch{throw new Error("Error converting schema to JSON.")}}function vt(n,r){const i=r??{seen:new Set};if(i.seen.has(n))return!1;i.seen.add(n);const l=n._zod.def;if(l.type==="transform")return!0;if(l.type==="array")return vt(l.element,i);if(l.type==="set")return vt(l.valueType,i);if(l.type==="lazy")return vt(l.getter(),i);if(l.type==="promise"||l.type==="optional"||l.type==="nonoptional"||l.type==="nullable"||l.type==="readonly"||l.type==="default"||l.type==="prefault")return vt(l.innerType,i);if(l.type==="intersection")return vt(l.left,i)||vt(l.right,i);if(l.type==="record"||l.type==="map")return vt(l.keyType,i)||vt(l.valueType,i);if(l.type==="pipe")return n._zod.traits.has("$ZodCodec")?!0:vt(l.in,i)||vt(l.out,i);if(l.type==="object"){for(const t in l.shape)if(vt(l.shape[t],i))return!0;return!1}if(l.type==="union"){for(const t of l.options)if(vt(t,i))return!0;return!1}if(l.type==="tuple"){for(const t of l.items)if(vt(t,i))return!0;return!!(l.rest&&vt(l.rest,i))}return!1}const f$=(n,r={})=>i=>{const l=eo({...i,processors:r});return je(n,l),to(l,n),no(l,n)},pi=(n,r,i={})=>l=>{const{libraryOptions:t,target:a}=l??{},c=eo({...t??{},target:a,io:r,processors:i});return je(n,c),to(c,n),no(c,n)},Vb={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},p$=(n,r,i,l)=>{const t=i;t.type="string";const{minimum:a,maximum:c,format:p,patterns:g,contentEncoding:h}=n._zod.bag;if(typeof a=="number"&&(t.minLength=a),typeof c=="number"&&(t.maxLength=c),p&&(t.format=Vb[p]??p,t.format===""&&delete t.format,p==="time"&&delete t.format),h&&(t.contentEncoding=h),g&&g.size>0){const y=[...g];y.length===1?t.pattern=y[0].source:y.length>1&&(t.allOf=[...y.map(k=>({...r.target==="draft-07"||r.target==="draft-04"||r.target==="openapi-3.0"?{type:"string"}:{},pattern:k.source}))])}},m$=(n,r,i,l)=>{const t=i,{minimum:a,maximum:c,format:p,multipleOf:g,exclusiveMaximum:h,exclusiveMinimum:y}=n._zod.bag;typeof p=="string"&&p.includes("int")?t.type="integer":t.type="number";const k=typeof y=="number"&&y>=(a??Number.NEGATIVE_INFINITY),T=typeof h=="number"&&h<=(c??Number.POSITIVE_INFINITY),P=r.target==="draft-04"||r.target==="openapi-3.0";k?P?(t.minimum=y,t.exclusiveMinimum=!0):t.exclusiveMinimum=y:typeof a=="number"&&(t.minimum=a),T?P?(t.maximum=h,t.exclusiveMaximum=!0):t.exclusiveMaximum=h:typeof c=="number"&&(t.maximum=c),typeof g=="number"&&(t.multipleOf=g)},g$=(n,r,i,l)=>{i.type="boolean"},h$=(n,r,i,l)=>{if(r.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},v$=(n,r,i,l)=>{if(r.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},y$=(n,r,i,l)=>{r.target==="openapi-3.0"?(i.type="string",i.nullable=!0,i.enum=[null]):i.type="null"},_$=(n,r,i,l)=>{if(r.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},$$=(n,r,i,l)=>{if(r.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},k$=(n,r,i,l)=>{i.not={}},S$=(n,r,i,l)=>{},w$=(n,r,i,l)=>{},b$=(n,r,i,l)=>{if(r.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},x$=(n,r,i,l)=>{const t=n._zod.def,a=dd(t.entries);a.every(c=>typeof c=="number")&&(i.type="number"),a.every(c=>typeof c=="string")&&(i.type="string"),i.enum=a},I$=(n,r,i,l)=>{const t=n._zod.def,a=[];for(const c of t.values)if(c===void 0){if(r.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof c=="bigint"){if(r.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");a.push(Number(c))}else a.push(c);if(a.length!==0)if(a.length===1){const c=a[0];i.type=c===null?"null":typeof c,r.target==="draft-04"||r.target==="openapi-3.0"?i.enum=[c]:i.const=c}else a.every(c=>typeof c=="number")&&(i.type="number"),a.every(c=>typeof c=="string")&&(i.type="string"),a.every(c=>typeof c=="boolean")&&(i.type="boolean"),a.every(c=>c===null)&&(i.type="null"),i.enum=a},z$=(n,r,i,l)=>{if(r.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},T$=(n,r,i,l)=>{const t=i,a=n._zod.pattern;if(!a)throw new Error("Pattern not found in template literal");t.type="string",t.pattern=a.source},j$=(n,r,i,l)=>{const t=i,a={type:"string",format:"binary",contentEncoding:"binary"},{minimum:c,maximum:p,mime:g}=n._zod.bag;c!==void 0&&(a.minLength=c),p!==void 0&&(a.maxLength=p),g?g.length===1?(a.contentMediaType=g[0],Object.assign(t,a)):(Object.assign(t,a),t.anyOf=g.map(h=>({contentMediaType:h}))):Object.assign(t,a)},E$=(n,r,i,l)=>{i.type="boolean"},P$=(n,r,i,l)=>{if(r.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},N$=(n,r,i,l)=>{if(r.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},O$=(n,r,i,l)=>{if(r.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},U$=(n,r,i,l)=>{if(r.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},D$=(n,r,i,l)=>{if(r.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},C$=(n,r,i,l)=>{const t=i,a=n._zod.def,{minimum:c,maximum:p}=n._zod.bag;typeof c=="number"&&(t.minItems=c),typeof p=="number"&&(t.maxItems=p),t.type="array",t.items=je(a.element,r,{...l,path:[...l.path,"items"]})},R$=(n,r,i,l)=>{const t=i,a=n._zod.def;t.type="object",t.properties={};const c=a.shape;for(const h in c)t.properties[h]=je(c[h],r,{...l,path:[...l.path,"properties",h]});const p=new Set(Object.keys(c)),g=new Set([...p].filter(h=>{const y=a.shape[h]._zod;return r.io==="input"?y.optin===void 0:y.optout===void 0}));g.size>0&&(t.required=Array.from(g)),a.catchall?._zod.def.type==="never"?t.additionalProperties=!1:a.catchall?a.catchall&&(t.additionalProperties=je(a.catchall,r,{...l,path:[...l.path,"additionalProperties"]})):r.io==="output"&&(t.additionalProperties=!1)},cf=(n,r,i,l)=>{const t=n._zod.def,a=t.inclusive===!1,c=t.options.map((p,g)=>je(p,r,{...l,path:[...l.path,a?"oneOf":"anyOf",g]}));a?i.oneOf=c:i.anyOf=c},L$=(n,r,i,l)=>{const t=n._zod.def,a=je(t.left,r,{...l,path:[...l.path,"allOf",0]}),c=je(t.right,r,{...l,path:[...l.path,"allOf",1]}),p=h=>"allOf"in h&&Object.keys(h).length===1,g=[...p(a)?a.allOf:[a],...p(c)?c.allOf:[c]];i.allOf=g},Z$=(n,r,i,l)=>{const t=i,a=n._zod.def;t.type="array";const c=r.target==="draft-2020-12"?"prefixItems":"items",p=r.target==="draft-2020-12"||r.target==="openapi-3.0"?"items":"additionalItems",g=a.items.map((T,P)=>je(T,r,{...l,path:[...l.path,c,P]})),h=a.rest?je(a.rest,r,{...l,path:[...l.path,p,...r.target==="openapi-3.0"?[a.items.length]:[]]}):null;r.target==="draft-2020-12"?(t.prefixItems=g,h&&(t.items=h)):r.target==="openapi-3.0"?(t.items={anyOf:g},h&&t.items.anyOf.push(h),t.minItems=g.length,h||(t.maxItems=g.length)):(t.items=g,h&&(t.additionalItems=h));const{minimum:y,maximum:k}=n._zod.bag;typeof y=="number"&&(t.minItems=y),typeof k=="number"&&(t.maxItems=k)},M$=(n,r,i,l)=>{const t=i,a=n._zod.def;t.type="object";const c=a.keyType,g=c._zod.bag?.patterns;if(a.mode==="loose"&&g&&g.size>0){const y=je(a.valueType,r,{...l,path:[...l.path,"patternProperties","*"]});t.patternProperties={};for(const k of g)t.patternProperties[k.source]=y}else(r.target==="draft-07"||r.target==="draft-2020-12")&&(t.propertyNames=je(a.keyType,r,{...l,path:[...l.path,"propertyNames"]})),t.additionalProperties=je(a.valueType,r,{...l,path:[...l.path,"additionalProperties"]});const h=c._zod.values;if(h){const y=[...h].filter(k=>typeof k=="string"||typeof k=="number");y.length>0&&(t.required=y)}},A$=(n,r,i,l)=>{const t=n._zod.def,a=je(t.innerType,r,l),c=r.seen.get(n);r.target==="openapi-3.0"?(c.ref=t.innerType,i.nullable=!0):i.anyOf=[a,{type:"null"}]},F$=(n,r,i,l)=>{const t=n._zod.def;je(t.innerType,r,l);const a=r.seen.get(n);a.ref=t.innerType},q$=(n,r,i,l)=>{const t=n._zod.def;je(t.innerType,r,l);const a=r.seen.get(n);a.ref=t.innerType,i.default=JSON.parse(JSON.stringify(t.defaultValue))},H$=(n,r,i,l)=>{const t=n._zod.def;je(t.innerType,r,l);const a=r.seen.get(n);a.ref=t.innerType,r.io==="input"&&(i._prefault=JSON.parse(JSON.stringify(t.defaultValue)))},J$=(n,r,i,l)=>{const t=n._zod.def;je(t.innerType,r,l);const a=r.seen.get(n);a.ref=t.innerType;let c;try{c=t.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}i.default=c},V$=(n,r,i,l)=>{const t=n._zod.def,a=t.in._zod.traits.has("$ZodTransform"),c=r.io==="input"?a?t.out:t.in:t.out;je(c,r,l);const p=r.seen.get(n);p.ref=c},W$=(n,r,i,l)=>{const t=n._zod.def;je(t.innerType,r,l);const a=r.seen.get(n);a.ref=t.innerType,i.readOnly=!0},B$=(n,r,i,l)=>{const t=n._zod.def;je(t.innerType,r,l);const a=r.seen.get(n);a.ref=t.innerType},df=(n,r,i,l)=>{const t=n._zod.def;je(t.innerType,r,l);const a=r.seen.get(n);a.ref=t.innerType},K$=(n,r,i,l)=>{const t=n._zod.innerType;je(t,r,l);const a=r.seen.get(n);a.ref=t},ad={string:p$,number:m$,boolean:g$,bigint:h$,symbol:v$,null:y$,undefined:_$,void:$$,never:k$,any:S$,unknown:w$,date:b$,enum:x$,literal:I$,nan:z$,template_literal:T$,file:j$,success:E$,custom:P$,function:N$,transform:O$,map:U$,set:D$,array:C$,object:R$,union:cf,intersection:L$,tuple:Z$,record:M$,nullable:A$,nonoptional:F$,default:q$,prefault:H$,catch:J$,pipe:V$,readonly:W$,promise:B$,optional:df,lazy:K$};function ff(n,r){if("_idmap"in n){const l=n,t=eo({...r,processors:ad}),a={};for(const g of l._idmap.entries()){const[h,y]=g;je(y,t)}const c={},p={registry:l,uri:r?.uri,defs:a};t.external=p;for(const g of l._idmap.entries()){const[h,y]=g;to(t,y),c[h]=no(t,y)}if(Object.keys(a).length>0){const g=t.target==="draft-2020-12"?"$defs":"definitions";c.__shared={[g]:a}}return{schemas:c}}const i=eo({...r,processors:ad});return je(n,i),to(i,n),no(i,n)}class Wb{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(r){this.ctx.counter=r}get seen(){return this.ctx.seen}constructor(r){let i=r?.target??"draft-2020-12";i==="draft-4"&&(i="draft-04"),i==="draft-7"&&(i="draft-07"),this.ctx=eo({processors:ad,target:i,...r?.metadata&&{metadata:r.metadata},...r?.unrepresentable&&{unrepresentable:r.unrepresentable},...r?.override&&{override:r.override},...r?.io&&{io:r.io}})}process(r,i={path:[],schemaPath:[]}){return je(r,this.ctx,i)}emit(r,i){i&&(i.cycles&&(this.ctx.cycles=i.cycles),i.reused&&(this.ctx.reused=i.reused),i.external&&(this.ctx.external=i.external)),to(this.ctx,r);const l=no(this.ctx,r),{"~standard":t,...a}=l;return a}}const Bb=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),G$=Object.freeze(Object.defineProperty({__proto__:null,$ZodAny:F0,$ZodArray:W0,$ZodAsyncError:hr,$ZodBase64:E0,$ZodBase64URL:N0,$ZodBigInt:Ud,$ZodBigIntFormat:L0,$ZodBoolean:Od,$ZodCIDRv4:T0,$ZodCIDRv6:j0,$ZodCUID:h0,$ZodCUID2:v0,$ZodCatch:m_,$ZodCheck:Me,$ZodCheckBigIntFormat:Vy,$ZodCheckEndsWith:o0,$ZodCheckGreaterThan:Ed,$ZodCheckIncludes:n0,$ZodCheckLengthEquals:Xy,$ZodCheckLessThan:jd,$ZodCheckLowerCase:e0,$ZodCheckMaxLength:Gy,$ZodCheckMaxSize:Wy,$ZodCheckMimeType:a0,$ZodCheckMinLength:Qy,$ZodCheckMinSize:By,$ZodCheckMultipleOf:Hy,$ZodCheckNumberFormat:Jy,$ZodCheckOverwrite:s0,$ZodCheckProperty:i0,$ZodCheckRegex:Yy,$ZodCheckSizeEquals:Ky,$ZodCheckStartsWith:r0,$ZodCheckStringFormat:bi,$ZodCheckUpperCase:t0,$ZodCodec:Ld,$ZodCustom:S_,$ZodCustomStringFormat:C0,$ZodDate:V0,$ZodDefault:c_,$ZodDiscriminatedUnion:Y0,$ZodE164:O0,$ZodEmail:f0,$ZodEmoji:m0,$ZodEncodeError:Hs,$ZodEnum:o_,$ZodError:md,$ZodExactOptional:l_,$ZodFile:a_,$ZodFunction:__,$ZodGUID:c0,$ZodIPv4:x0,$ZodIPv6:I0,$ZodISODate:S0,$ZodISODateTime:k0,$ZodISODuration:b0,$ZodISOTime:w0,$ZodIntersection:e_,$ZodJWT:D0,$ZodKSUID:$0,$ZodLazy:k_,$ZodLiteral:i_,$ZodMAC:z0,$ZodMap:n_,$ZodNaN:g_,$ZodNanoID:g0,$ZodNever:H0,$ZodNonOptional:f_,$ZodNull:A0,$ZodNullable:u_,$ZodNumber:Nd,$ZodNumberFormat:R0,$ZodObject:G0,$ZodObjectJIT:Q0,$ZodOptional:Cd,$ZodPipe:Rd,$ZodPrefault:d_,$ZodPreprocess:h_,$ZodPromise:$_,$ZodReadonly:v_,$ZodRealError:Zt,$ZodRecord:t_,$ZodRegistry:I_,$ZodSet:r_,$ZodString:xi,$ZodStringFormat:Ne,$ZodSuccess:p_,$ZodSymbol:Z0,$ZodTemplateLiteral:y_,$ZodTransform:s_,$ZodTuple:Dd,$ZodType:le,$ZodULID:y0,$ZodURL:p0,$ZodUUID:d0,$ZodUndefined:M0,$ZodUnion:Xs,$ZodUnknown:q0,$ZodVoid:J0,$ZodXID:_0,$ZodXor:X0,$brand:cd,$constructor:S,$input:Ad,$output:Md,Doc:l0,JSONSchema:Bb,JSONSchemaGenerator:Wb,NEVER:ud,TimePrecision:uf,_any:G_,_array:r$,_base64:of,_base64url:af,_bigint:q_,_boolean:A_,_catch:Mb,_check:l$,_cidrv4:nf,_cidrv6:rf,_coercedBigint:H_,_coercedBoolean:F_,_coercedDate:t$,_coercedNumber:D_,_coercedString:T_,_cuid:Kd,_cuid2:Gd,_custom:i$,_date:e$,_decode:_d,_decodeAsync:kd,_default:Rb,_discriminatedUnion:xb,_e164:sf,_email:Fd,_emoji:Wd,_encode:yd,_encodeAsync:$d,_endsWith:Pi,_enum:Pb,_file:o$,_float32:R_,_float64:L_,_gt:zn,_gte:yt,_guid:Ms,_includes:ji,_int:C_,_int32:Z_,_int64:J_,_intersection:Ib,_ipv4:ef,_ipv6:tf,_isoDate:P_,_isoDateTime:E_,_isoDuration:O_,_isoTime:N_,_jwt:lf,_ksuid:Yd,_lazy:Hb,_length:co,_literal:Ob,_lowercase:zi,_lt:In,_lte:Ct,_mac:j_,_map:jb,_max:Ct,_maxLength:uo,_maxSize:wr,_mime:Ni,_min:yt,_minLength:Kn,_minSize:Tn,_multipleOf:yr,_nan:n$,_nanoid:Bd,_nativeEnum:Nb,_negative:nl,_never:X_,_nonnegative:ol,_nonoptional:Lb,_nonpositive:rl,_normalize:Oi,_null:K_,_nullable:Cb,_number:U_,_optional:Db,_overwrite:gn,_parse:yi,_parseAsync:_i,_pipe:Ab,_positive:tl,_promise:Jb,_property:il,_readonly:Fb,_record:Tb,_refine:a$,_regex:Ii,_safeDecode:wd,_safeDecodeAsync:xd,_safeEncode:Sd,_safeEncodeAsync:bd,_safeParse:$i,_safeParseAsync:ki,_set:Eb,_size:lo,_slugify:Ri,_startsWith:Ei,_string:z_,_stringFormat:Li,_stringbool:d$,_success:Zb,_superRefine:s$,_symbol:W_,_templateLiteral:qb,_toLowerCase:Di,_toUpperCase:Ci,_transform:Ub,_trim:Ui,_tuple:zb,_uint32:M_,_uint64:V_,_ulid:Qd,_undefined:B_,_union:wb,_unknown:Q_,_uppercase:Ti,_url:el,_uuid:qd,_uuidv4:Hd,_uuidv6:Jd,_uuidv7:Vd,_void:Y_,_xid:Xd,_xor:bb,clone:Lt,config:Xe,createStandardJSONSchemaMethod:pi,createToJSONSchemaMethod:f$,decode:t1,decodeAsync:r1,describe:u$,encode:e1,encodeAsync:n1,extractDefs:to,finalize:no,flattenError:Ks,formatError:Gs,globalConfig:fi,globalRegistry:Dt,initializeContext:eo,isValidBase64:Pd,isValidBase64URL:P0,isValidJWT:U0,locales:Zd,meta:c$,parse:rd,parseAsync:od,prettifyError:hd,process:je,regexes:Qs,registry:Ys,safeDecode:i1,safeDecodeAsync:s1,safeEncode:o1,safeEncodeAsync:a1,safeParse:vd,safeParseAsync:ly,toDotPath:sy,toJSONSchema:ff,treeifyError:gd,util:pd,version:u0},Symbol.toStringTag,{value:"Module"}));function pf(n){return!!n._zod}function Q$(n,r){return pf(n)?vd(n,r):n.safeParse(r)}function Kb(n){if(!n)return;let r;if(pf(n)?r=n._zod?.def?.shape:r=n.shape,!!r){if(typeof r=="function")try{return r()}catch{return}return r}}function Gb(n){if(pf(n)){const a=n._zod?.def;if(a){if(a.value!==void 0)return a.value;if(Array.isArray(a.values)&&a.values.length>0)return a.values[0]}}const i=n._def;if(i){if(i.value!==void 0)return i.value;if(Array.isArray(i.values)&&i.values.length>0)return i.values[0]}const l=n.value;if(l!==void 0)return l}const Qb=Object.freeze(Object.defineProperty({__proto__:null,endsWith:Pi,gt:zn,gte:yt,includes:ji,length:co,lowercase:zi,lt:In,lte:Ct,maxLength:uo,maxSize:wr,mime:Ni,minLength:Kn,minSize:Tn,multipleOf:yr,negative:nl,nonnegative:ol,nonpositive:rl,normalize:Oi,overwrite:gn,positive:tl,property:il,regex:Ii,size:lo,slugify:Ri,startsWith:Ei,toLowerCase:Di,toUpperCase:Ci,trim:Ui,uppercase:Ti},Symbol.toStringTag,{value:"Module"})),al=S("ZodISODateTime",(n,r)=>{k0.init(n,r),Ee.init(n,r)});function mf(n){return E_(al,n)}const sl=S("ZodISODate",(n,r)=>{S0.init(n,r),Ee.init(n,r)});function X$(n){return P_(sl,n)}const ll=S("ZodISOTime",(n,r)=>{w0.init(n,r),Ee.init(n,r)});function Y$(n){return N_(ll,n)}const ul=S("ZodISODuration",(n,r)=>{b0.init(n,r),Ee.init(n,r)});function e2(n){return O_(ul,n)}const gf=Object.freeze(Object.defineProperty({__proto__:null,ZodISODate:sl,ZodISODateTime:al,ZodISODuration:ul,ZodISOTime:ll,date:X$,datetime:mf,duration:e2,time:Y$},Symbol.toStringTag,{value:"Module"})),t2=(n,r)=>{md.init(n,r),n.name="ZodError",Object.defineProperties(n,{format:{value:i=>Gs(n,i)},flatten:{value:i=>Ks(n,i)},addIssue:{value:i=>{n.issues.push(i),n.message=JSON.stringify(n.issues,Rs,2)}},addIssues:{value:i=>{n.issues.push(...i),n.message=JSON.stringify(n.issues,Rs,2)}},isEmpty:{get(){return n.issues.length===0}}})},n2=S("ZodError",t2),Tt=S("ZodError",t2,{Parent:Error}),hf=yi(Tt),vf=_i(Tt),yf=$i(Tt),_f=ki(Tt),$f=yd(Tt),kf=_d(Tt),Sf=$d(Tt),wf=kd(Tt),bf=Sd(Tt),xf=wd(Tt),If=bd(Tt),zf=xd(Tt),jv=new WeakMap;function Zi(n,r,i){const l=Object.getPrototypeOf(n);let t=jv.get(l);if(t||(t=new Set,jv.set(l,t)),!t.has(r)){t.add(r);for(const a in i){const c=i[a];Object.defineProperty(l,a,{configurable:!0,enumerable:!1,get(){const p=c.bind(this);return Object.defineProperty(this,a,{configurable:!0,writable:!0,enumerable:!0,value:p}),p},set(p){Object.defineProperty(this,a,{configurable:!0,writable:!0,enumerable:!0,value:p})}})}}}const ce=S("ZodType",(n,r)=>(le.init(n,r),Object.assign(n["~standard"],{jsonSchema:{input:pi(n,"input"),output:pi(n,"output")}}),n.toJSONSchema=f$(n,{}),n.def=r,n.type=r.type,Object.defineProperty(n,"_def",{value:r}),n.parse=(i,l)=>hf(n,i,l,{callee:n.parse}),n.safeParse=(i,l)=>yf(n,i,l),n.parseAsync=async(i,l)=>vf(n,i,l,{callee:n.parseAsync}),n.safeParseAsync=async(i,l)=>_f(n,i,l),n.spa=n.safeParseAsync,n.encode=(i,l)=>$f(n,i,l),n.decode=(i,l)=>kf(n,i,l),n.encodeAsync=async(i,l)=>Sf(n,i,l),n.decodeAsync=async(i,l)=>wf(n,i,l),n.safeEncode=(i,l)=>bf(n,i,l),n.safeDecode=(i,l)=>xf(n,i,l),n.safeEncodeAsync=async(i,l)=>If(n,i,l),n.safeDecodeAsync=async(i,l)=>zf(n,i,l),Zi(n,"ZodType",{check(...i){const l=this.def;return this.clone(mn(l,{checks:[...l.checks??[],...i.map(t=>typeof t=="function"?{_zod:{check:t,def:{check:"custom"},onattach:[]}}:t)]}),{parent:!0})},with(...i){return this.check(...i)},clone(i,l){return Lt(this,i,l)},brand(){return this},register(i,l){return i.add(this,l),this},refine(i,l){return this.check(Gl(i,l))},superRefine(i,l){return this.check(Ql(i,l))},overwrite(i){return this.check(gn(i))},optional(){return Pe(this)},exactOptional(){return El(this)},nullable(){return io(this)},nullish(){return Pe(io(this))},nonoptional(i){return Cl(this,i)},array(){return oe(this)},or(i){return me([this,i])},and(i){return _o(this,i)},transform(i){return gi(this,sa(i))},default(i){return Ol(this,i)},prefault(i){return Dl(this,i)},catch(i){return Zl(this,i)},pipe(i){return gi(this,i)},readonly(){return ql(this)},describe(i){const l=this.clone();return Dt.add(l,{description:i}),l},meta(...i){if(i.length===0)return Dt.get(this);const l=this.clone();return Dt.add(l,i[0]),l},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(i){return i(this)}}),Object.defineProperty(n,"description",{get(){return Dt.get(n)?.description},configurable:!0}),n)),Mi=S("_ZodString",(n,r)=>{xi.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(l,t,a)=>p$(n,l,t);const i=n._zod.bag;n.format=i.format??null,n.minLength=i.minimum??null,n.maxLength=i.maximum??null,Zi(n,"_ZodString",{regex(...l){return this.check(Ii(...l))},includes(...l){return this.check(ji(...l))},startsWith(...l){return this.check(Ei(...l))},endsWith(...l){return this.check(Pi(...l))},min(...l){return this.check(Kn(...l))},max(...l){return this.check(uo(...l))},length(...l){return this.check(co(...l))},nonempty(...l){return this.check(Kn(1,...l))},lowercase(l){return this.check(zi(l))},uppercase(l){return this.check(Ti(l))},trim(){return this.check(Ui())},normalize(...l){return this.check(Oi(...l))},toLowerCase(){return this.check(Di())},toUpperCase(){return this.check(Ci())},slugify(){return this.check(Ri())}})}),fo=S("ZodString",(n,r)=>{xi.init(n,r),Mi.init(n,r),n.email=i=>n.check(Fd(Ai,i)),n.url=i=>n.check(el(po,i)),n.jwt=i=>n.check(lf(na,i)),n.emoji=i=>n.check(Wd(Fi,i)),n.guid=i=>n.check(Ms(ro,i)),n.uuid=i=>n.check(qd(an,i)),n.uuidv4=i=>n.check(Hd(an,i)),n.uuidv6=i=>n.check(Jd(an,i)),n.uuidv7=i=>n.check(Vd(an,i)),n.nanoid=i=>n.check(Bd(qi,i)),n.guid=i=>n.check(Ms(ro,i)),n.cuid=i=>n.check(Kd(Hi,i)),n.cuid2=i=>n.check(Gd(Ji,i)),n.ulid=i=>n.check(Qd(Vi,i)),n.base64=i=>n.check(of(Yi,i)),n.base64url=i=>n.check(af(ea,i)),n.xid=i=>n.check(Xd(Wi,i)),n.ksuid=i=>n.check(Yd(Bi,i)),n.ipv4=i=>n.check(ef(Ki,i)),n.ipv6=i=>n.check(tf(Gi,i)),n.cidrv4=i=>n.check(nf(Qi,i)),n.cidrv6=i=>n.check(rf(Xi,i)),n.e164=i=>n.check(sf(ta,i)),n.datetime=i=>n.check(mf(i)),n.date=i=>n.check(X$(i)),n.time=i=>n.check(Y$(i)),n.duration=i=>n.check(e2(i))});function I(n){return z_(fo,n)}const Ee=S("ZodStringFormat",(n,r)=>{Ne.init(n,r),Mi.init(n,r)}),Ai=S("ZodEmail",(n,r)=>{f0.init(n,r),Ee.init(n,r)});function Tf(n){return Fd(Ai,n)}const ro=S("ZodGUID",(n,r)=>{c0.init(n,r),Ee.init(n,r)});function jf(n){return Ms(ro,n)}const an=S("ZodUUID",(n,r)=>{d0.init(n,r),Ee.init(n,r)});function Ef(n){return qd(an,n)}function Pf(n){return Hd(an,n)}function Nf(n){return Jd(an,n)}function Of(n){return Vd(an,n)}const po=S("ZodURL",(n,r)=>{p0.init(n,r),Ee.init(n,r)});function Uf(n){return el(po,n)}function Df(n){return el(po,{protocol:zd,hostname:zy,...N(n)})}const Fi=S("ZodEmoji",(n,r)=>{m0.init(n,r),Ee.init(n,r)});function Cf(n){return Wd(Fi,n)}const qi=S("ZodNanoID",(n,r)=>{g0.init(n,r),Ee.init(n,r)});function Rf(n){return Bd(qi,n)}const Hi=S("ZodCUID",(n,r)=>{h0.init(n,r),Ee.init(n,r)});function Lf(n){return Kd(Hi,n)}const Ji=S("ZodCUID2",(n,r)=>{v0.init(n,r),Ee.init(n,r)});function Zf(n){return Gd(Ji,n)}const Vi=S("ZodULID",(n,r)=>{y0.init(n,r),Ee.init(n,r)});function Mf(n){return Qd(Vi,n)}const Wi=S("ZodXID",(n,r)=>{_0.init(n,r),Ee.init(n,r)});function Af(n){return Xd(Wi,n)}const Bi=S("ZodKSUID",(n,r)=>{$0.init(n,r),Ee.init(n,r)});function Ff(n){return Yd(Bi,n)}const Ki=S("ZodIPv4",(n,r)=>{x0.init(n,r),Ee.init(n,r)});function qf(n){return ef(Ki,n)}const cl=S("ZodMAC",(n,r)=>{z0.init(n,r),Ee.init(n,r)});function Hf(n){return j_(cl,n)}const Gi=S("ZodIPv6",(n,r)=>{I0.init(n,r),Ee.init(n,r)});function Jf(n){return tf(Gi,n)}const Qi=S("ZodCIDRv4",(n,r)=>{T0.init(n,r),Ee.init(n,r)});function Vf(n){return nf(Qi,n)}const Xi=S("ZodCIDRv6",(n,r)=>{j0.init(n,r),Ee.init(n,r)});function Wf(n){return rf(Xi,n)}const Yi=S("ZodBase64",(n,r)=>{E0.init(n,r),Ee.init(n,r)});function Bf(n){return of(Yi,n)}const ea=S("ZodBase64URL",(n,r)=>{N0.init(n,r),Ee.init(n,r)});function Kf(n){return af(ea,n)}const ta=S("ZodE164",(n,r)=>{O0.init(n,r),Ee.init(n,r)});function Gf(n){return sf(ta,n)}const na=S("ZodJWT",(n,r)=>{D0.init(n,r),Ee.init(n,r)});function Qf(n){return lf(na,n)}const br=S("ZodCustomStringFormat",(n,r)=>{C0.init(n,r),Ee.init(n,r)});function Xf(n,r,i={}){return Li(br,n,r,i)}function Yf(n){return Li(br,"hostname",Iy,n)}function ep(n){return Li(br,"hex",Fy,n)}function tp(n,r){const i=r?.enc??"hex",l=`${n}_${i}`,t=Qs[l];if(!t)throw new Error(`Unrecognized hash format: ${l}`);return Li(br,l,t,r)}const mo=S("ZodNumber",(n,r)=>{Nd.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(l,t,a)=>m$(n,l,t),Zi(n,"ZodNumber",{gt(l,t){return this.check(zn(l,t))},gte(l,t){return this.check(yt(l,t))},min(l,t){return this.check(yt(l,t))},lt(l,t){return this.check(In(l,t))},lte(l,t){return this.check(Ct(l,t))},max(l,t){return this.check(Ct(l,t))},int(l){return this.check(mi(l))},safe(l){return this.check(mi(l))},positive(l){return this.check(zn(0,l))},nonnegative(l){return this.check(yt(0,l))},negative(l){return this.check(In(0,l))},nonpositive(l){return this.check(Ct(0,l))},multipleOf(l,t){return this.check(yr(l,t))},step(l,t){return this.check(yr(l,t))},finite(){return this}});const i=n._zod.bag;n.minValue=Math.max(i.minimum??Number.NEGATIVE_INFINITY,i.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,n.maxValue=Math.min(i.maximum??Number.POSITIVE_INFINITY,i.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,n.isInt=(i.format??"").includes("int")||Number.isSafeInteger(i.multipleOf??.5),n.isFinite=!0,n.format=i.format??null});function ue(n){return U_(mo,n)}const Qn=S("ZodNumberFormat",(n,r)=>{R0.init(n,r),mo.init(n,r)});function mi(n){return C_(Qn,n)}function np(n){return R_(Qn,n)}function rp(n){return L_(Qn,n)}function op(n){return Z_(Qn,n)}function ip(n){return M_(Qn,n)}const go=S("ZodBoolean",(n,r)=>{Od.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>g$(n,i,l)});function xe(n){return A_(go,n)}const ho=S("ZodBigInt",(n,r)=>{Ud.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(l,t,a)=>h$(n,l),n.gte=(l,t)=>n.check(yt(l,t)),n.min=(l,t)=>n.check(yt(l,t)),n.gt=(l,t)=>n.check(zn(l,t)),n.gte=(l,t)=>n.check(yt(l,t)),n.min=(l,t)=>n.check(yt(l,t)),n.lt=(l,t)=>n.check(In(l,t)),n.lte=(l,t)=>n.check(Ct(l,t)),n.max=(l,t)=>n.check(Ct(l,t)),n.positive=l=>n.check(zn(BigInt(0),l)),n.negative=l=>n.check(In(BigInt(0),l)),n.nonpositive=l=>n.check(Ct(BigInt(0),l)),n.nonnegative=l=>n.check(yt(BigInt(0),l)),n.multipleOf=(l,t)=>n.check(yr(l,t));const i=n._zod.bag;n.minValue=i.minimum??null,n.maxValue=i.maximum??null,n.format=i.format??null});function ap(n){return q_(ho,n)}const ra=S("ZodBigIntFormat",(n,r)=>{L0.init(n,r),ho.init(n,r)});function sp(n){return J_(ra,n)}function lp(n){return V_(ra,n)}const dl=S("ZodSymbol",(n,r)=>{Z0.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>v$(n,i)});function up(n){return W_(dl,n)}const fl=S("ZodUndefined",(n,r)=>{M0.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>_$(n,i)});function oo(n){return B_(fl,n)}const pl=S("ZodNull",(n,r)=>{A0.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>y$(n,i,l)});function oa(n){return K_(pl,n)}const ml=S("ZodAny",(n,r)=>{F0.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>S$()});function cp(){return G_(ml)}const gl=S("ZodUnknown",(n,r)=>{q0.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>w$()});function be(){return Q_(gl)}const hl=S("ZodNever",(n,r)=>{H0.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>k$(n,i,l)});function _r(n){return X_(hl,n)}const vl=S("ZodVoid",(n,r)=>{J0.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>$$(n,i)});function dp(n){return Y_(vl,n)}const ia=S("ZodDate",(n,r)=>{V0.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(l,t,a)=>b$(n,l),n.min=(l,t)=>n.check(yt(l,t)),n.max=(l,t)=>n.check(Ct(l,t));const i=n._zod.bag;n.minDate=i.minimum?new Date(i.minimum):null,n.maxDate=i.maximum?new Date(i.maximum):null});function fp(n){return e$(ia,n)}const yl=S("ZodArray",(n,r)=>{W0.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>C$(n,i,l,t),n.element=r.element,Zi(n,"ZodArray",{min(i,l){return this.check(Kn(i,l))},nonempty(i){return this.check(Kn(1,i))},max(i,l){return this.check(uo(i,l))},length(i,l){return this.check(co(i,l))},unwrap(){return this.element}})});function oe(n,r){return r$(yl,n,r)}function pp(n){const r=n._zod.def.shape;return st(Object.keys(r))}const vo=S("ZodObject",(n,r)=>{Q0.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>R$(n,i,l,t),pe(n,"shape",()=>r.shape),Zi(n,"ZodObject",{keyof(){return st(Object.keys(this._zod.def.shape))},catchall(i){return this.clone({...this._zod.def,catchall:i})},passthrough(){return this.clone({...this._zod.def,catchall:be()})},loose(){return this.clone({...this._zod.def,catchall:be()})},strict(){return this.clone({...this._zod.def,catchall:_r()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(i){return Xv(this,i)},safeExtend(i){return Yv(this,i)},merge(i){return ey(this,i)},pick(i){return Gv(this,i)},omit(i){return Qv(this,i)},partial(...i){return ty(la,this,i[0])},required(...i){return ny(ua,this,i[0])}})});function j(n,r){const i={type:"object",shape:n??{},...N(r)};return new vo(i)}function mp(n,r){return new vo({type:"object",shape:n,catchall:_r(),...N(r)})}function at(n,r){return new vo({type:"object",shape:n,catchall:be(),...N(r)})}const yo=S("ZodUnion",(n,r)=>{Xs.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>cf(n,i,l,t),n.options=r.options});function me(n,r){return new yo({type:"union",options:n,...N(r)})}const _l=S("ZodXor",(n,r)=>{yo.init(n,r),X0.init(n,r),n._zod.processJSONSchema=(i,l,t)=>cf(n,i,l,t),n.options=r.options});function gp(n,r){return new _l({type:"union",options:n,inclusive:!1,...N(r)})}const $l=S("ZodDiscriminatedUnion",(n,r)=>{yo.init(n,r),Y0.init(n,r)});function aa(n,r,i){return new $l({type:"union",options:r,discriminator:n,...N(i)})}const kl=S("ZodIntersection",(n,r)=>{e_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>L$(n,i,l,t)});function _o(n,r){return new kl({type:"intersection",left:n,right:r})}const Sl=S("ZodTuple",(n,r)=>{Dd.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>Z$(n,i,l,t),n.rest=i=>n.clone({...n._zod.def,rest:i})});function wl(n,r,i){const l=r instanceof le,t=l?i:r,a=l?r:null;return new Sl({type:"tuple",items:n,rest:a,...N(t)})}const $r=S("ZodRecord",(n,r)=>{t_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>M$(n,i,l,t),n.keyType=r.keyType,n.valueType=r.valueType});function ye(n,r,i){return!r||!r._zod?new $r({type:"record",keyType:I(),valueType:n,...N(r)}):new $r({type:"record",keyType:n,valueType:r,...N(i)})}function hp(n,r,i){const l=Lt(n);return l._zod.values=void 0,new $r({type:"record",keyType:l,valueType:r,...N(i)})}function vp(n,r,i){return new $r({type:"record",keyType:n,valueType:r,mode:"loose",...N(i)})}const bl=S("ZodMap",(n,r)=>{n_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>U$(n,i),n.keyType=r.keyType,n.valueType=r.valueType,n.min=(...i)=>n.check(Tn(...i)),n.nonempty=i=>n.check(Tn(1,i)),n.max=(...i)=>n.check(wr(...i)),n.size=(...i)=>n.check(lo(...i))});function yp(n,r,i){return new bl({type:"map",keyType:n,valueType:r,...N(i)})}const xl=S("ZodSet",(n,r)=>{r_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>D$(n,i),n.min=(...i)=>n.check(Tn(...i)),n.nonempty=i=>n.check(Tn(1,i)),n.max=(...i)=>n.check(wr(...i)),n.size=(...i)=>n.check(lo(...i))});function _p(n,r){return new xl({type:"set",valueType:n,...N(r)})}const kr=S("ZodEnum",(n,r)=>{o_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(l,t,a)=>x$(n,l,t),n.enum=r.entries,n.options=Object.values(r.entries);const i=new Set(Object.keys(r.entries));n.extract=(l,t)=>{const a={};for(const c of l)if(i.has(c))a[c]=r.entries[c];else throw new Error(`Key ${c} not found in enum`);return new kr({...r,checks:[],...N(t),entries:a})},n.exclude=(l,t)=>{const a={...r.entries};for(const c of l)if(i.has(c))delete a[c];else throw new Error(`Key ${c} not found in enum`);return new kr({...r,checks:[],...N(t),entries:a})}});function st(n,r){const i=Array.isArray(n)?Object.fromEntries(n.map(l=>[l,l])):n;return new kr({type:"enum",entries:i,...N(r)})}function $p(n,r){return new kr({type:"enum",entries:n,...N(r)})}const Il=S("ZodLiteral",(n,r)=>{i_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>I$(n,i,l),n.values=new Set(r.values),Object.defineProperty(n,"value",{get(){if(r.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return r.values[0]}})});function x(n,r){return new Il({type:"literal",values:Array.isArray(n)?n:[n],...N(r)})}const zl=S("ZodFile",(n,r)=>{a_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>j$(n,i,l),n.min=(i,l)=>n.check(Tn(i,l)),n.max=(i,l)=>n.check(wr(i,l)),n.mime=(i,l)=>n.check(Ni(Array.isArray(i)?i:[i],l))});function kp(n){return o$(zl,n)}const Tl=S("ZodTransform",(n,r)=>{s_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>O$(n,i),n._zod.parse=(i,l)=>{if(l.direction==="backward")throw new Hs(n.constructor.name);i.addIssue=a=>{if(typeof a=="string")i.issues.push(Xr(a,i.value,r));else{const c=a;c.fatal&&(c.continue=!1),c.code??(c.code="custom"),c.input??(c.input=i.value),c.inst??(c.inst=n),i.issues.push(Xr(c))}};const t=r.transform(i.value,i);return t instanceof Promise?t.then(a=>(i.value=a,i.fallback=!0,i)):(i.value=t,i.fallback=!0,i)}});function sa(n){return new Tl({type:"transform",transform:n})}const la=S("ZodOptional",(n,r)=>{Cd.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>df(n,i,l,t),n.unwrap=()=>n._zod.def.innerType});function Pe(n){return new la({type:"optional",innerType:n})}const jl=S("ZodExactOptional",(n,r)=>{l_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>df(n,i,l,t),n.unwrap=()=>n._zod.def.innerType});function El(n){return new jl({type:"optional",innerType:n})}const Pl=S("ZodNullable",(n,r)=>{u_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>A$(n,i,l,t),n.unwrap=()=>n._zod.def.innerType});function io(n){return new Pl({type:"nullable",innerType:n})}function Sp(n){return Pe(io(n))}const Nl=S("ZodDefault",(n,r)=>{c_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>q$(n,i,l,t),n.unwrap=()=>n._zod.def.innerType,n.removeDefault=n.unwrap});function Ol(n,r){return new Nl({type:"default",innerType:n,get defaultValue(){return typeof r=="function"?r():Vs(r)}})}const Ul=S("ZodPrefault",(n,r)=>{d_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>H$(n,i,l,t),n.unwrap=()=>n._zod.def.innerType});function Dl(n,r){return new Ul({type:"prefault",innerType:n,get defaultValue(){return typeof r=="function"?r():Vs(r)}})}const ua=S("ZodNonOptional",(n,r)=>{f_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>F$(n,i,l,t),n.unwrap=()=>n._zod.def.innerType});function Cl(n,r){return new ua({type:"nonoptional",innerType:n,...N(r)})}const Rl=S("ZodSuccess",(n,r)=>{p_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>E$(n,i,l),n.unwrap=()=>n._zod.def.innerType});function wp(n){return new Rl({type:"success",innerType:n})}const Ll=S("ZodCatch",(n,r)=>{m_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>J$(n,i,l,t),n.unwrap=()=>n._zod.def.innerType,n.removeCatch=n.unwrap});function Zl(n,r){return new Ll({type:"catch",innerType:n,catchValue:typeof r=="function"?r:()=>r})}const Ml=S("ZodNaN",(n,r)=>{g_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>z$(n,i)});function bp(n){return n$(Ml,n)}const $o=S("ZodPipe",(n,r)=>{Rd.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>V$(n,i,l,t),n.in=r.in,n.out=r.out});function gi(n,r){return new $o({type:"pipe",in:n,out:r})}const ko=S("ZodCodec",(n,r)=>{$o.init(n,r),Ld.init(n,r)});function xp(n,r,i){return new ko({type:"pipe",in:n,out:r,transform:i.decode,reverseTransform:i.encode})}function Ip(n){const r=n._zod.def;return new ko({type:"pipe",in:r.out,out:r.in,transform:r.reverseTransform,reverseTransform:r.transform})}const Al=S("ZodPreprocess",(n,r)=>{$o.init(n,r),h_.init(n,r)}),Fl=S("ZodReadonly",(n,r)=>{v_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>W$(n,i,l,t),n.unwrap=()=>n._zod.def.innerType});function ql(n){return new Fl({type:"readonly",innerType:n})}const Hl=S("ZodTemplateLiteral",(n,r)=>{y_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>T$(n,i,l)});function zp(n,r){return new Hl({type:"template_literal",parts:n,...N(r)})}const Jl=S("ZodLazy",(n,r)=>{k_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>K$(n,i,l,t),n.unwrap=()=>n._zod.def.getter()});function Vl(n){return new Jl({type:"lazy",getter:n})}const Wl=S("ZodPromise",(n,r)=>{$_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>B$(n,i,l,t),n.unwrap=()=>n._zod.def.innerType});function Tp(n){return new Wl({type:"promise",innerType:n})}const Bl=S("ZodFunction",(n,r)=>{__.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>N$(n,i)});function ao(n){return new Bl({type:"function",input:Array.isArray(n?.input)?wl(n?.input):n?.input??oe(be()),output:n?.output??be()})}const So=S("ZodCustom",(n,r)=>{S_.init(n,r),ce.init(n,r),n._zod.processJSONSchema=(i,l,t)=>P$(n,i)});function jp(n){const r=new Me({check:"custom"});return r._zod.check=n,r}function Kl(n,r){return i$(So,n??(()=>!0),r)}function Gl(n,r={}){return a$(So,n,r)}function Ql(n,r){return s$(n,r)}const Ep=u$,Pp=c$;function Np(n,r={}){const i=new So({type:"custom",check:"custom",fn:l=>l instanceof n,abort:!0,...N(r)});return i._zod.bag.Class=n,i._zod.check=l=>{l.value instanceof n||l.issues.push({code:"invalid_type",expected:n.name,input:l.value,inst:i,path:[...i._zod.def.path??[]]})},i}const Op=(...n)=>d$({Codec:ko,Boolean:go,String:fo},...n);function Up(n){const r=Vl(()=>me([I(n),ue(),xe(),oa(),oe(r),ye(I(),r)]));return r}function ca(n,r){return new Al({type:"pipe",in:sa(n),out:r})}const Xb=Object.freeze(Object.defineProperty({__proto__:null,ZodAny:ml,ZodArray:yl,ZodBase64:Yi,ZodBase64URL:ea,ZodBigInt:ho,ZodBigIntFormat:ra,ZodBoolean:go,ZodCIDRv4:Qi,ZodCIDRv6:Xi,ZodCUID:Hi,ZodCUID2:Ji,ZodCatch:Ll,ZodCodec:ko,ZodCustom:So,ZodCustomStringFormat:br,ZodDate:ia,ZodDefault:Nl,ZodDiscriminatedUnion:$l,ZodE164:ta,ZodEmail:Ai,ZodEmoji:Fi,ZodEnum:kr,ZodExactOptional:jl,ZodFile:zl,ZodFunction:Bl,ZodGUID:ro,ZodIPv4:Ki,ZodIPv6:Gi,ZodIntersection:kl,ZodJWT:na,ZodKSUID:Bi,ZodLazy:Jl,ZodLiteral:Il,ZodMAC:cl,ZodMap:bl,ZodNaN:Ml,ZodNanoID:qi,ZodNever:hl,ZodNonOptional:ua,ZodNull:pl,ZodNullable:Pl,ZodNumber:mo,ZodNumberFormat:Qn,ZodObject:vo,ZodOptional:la,ZodPipe:$o,ZodPrefault:Ul,ZodPreprocess:Al,ZodPromise:Wl,ZodReadonly:Fl,ZodRecord:$r,ZodSet:xl,ZodString:fo,ZodStringFormat:Ee,ZodSuccess:Rl,ZodSymbol:dl,ZodTemplateLiteral:Hl,ZodTransform:Tl,ZodTuple:Sl,ZodType:ce,ZodULID:Vi,ZodURL:po,ZodUUID:an,ZodUndefined:fl,ZodUnion:yo,ZodUnknown:gl,ZodVoid:vl,ZodXID:Wi,ZodXor:_l,_ZodString:Mi,_default:Ol,_function:ao,any:cp,array:oe,base64:Bf,base64url:Kf,bigint:ap,boolean:xe,catch:Zl,check:jp,cidrv4:Vf,cidrv6:Wf,codec:xp,cuid:Lf,cuid2:Zf,custom:Kl,date:fp,describe:Ep,discriminatedUnion:aa,e164:Gf,email:Tf,emoji:Cf,enum:st,exactOptional:El,file:kp,float32:np,float64:rp,function:ao,guid:jf,hash:tp,hex:ep,hostname:Yf,httpUrl:Df,instanceof:Np,int:mi,int32:op,int64:sp,intersection:_o,invertCodec:Ip,ipv4:qf,ipv6:Jf,json:Up,jwt:Qf,keyof:pp,ksuid:Ff,lazy:Vl,literal:x,looseObject:at,looseRecord:vp,mac:Hf,map:yp,meta:Pp,nan:bp,nanoid:Rf,nativeEnum:$p,never:_r,nonoptional:Cl,null:oa,nullable:io,nullish:Sp,number:ue,object:j,optional:Pe,partialRecord:hp,pipe:gi,prefault:Dl,preprocess:ca,promise:Tp,readonly:ql,record:ye,refine:Gl,set:_p,strictObject:mp,string:I,stringFormat:Xf,stringbool:Op,success:wp,superRefine:Ql,symbol:up,templateLiteral:zp,transform:sa,tuple:wl,uint32:ip,uint64:lp,ulid:Mf,undefined:oo,union:me,unknown:be,url:Uf,uuid:Ef,uuidv4:Pf,uuidv6:Nf,uuidv7:Of,void:dp,xid:Af,xor:gp},Symbol.toStringTag,{value:"Module"})),r2={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 o2(n){Xe({customError:n})}function i2(){return Xe().customError}var As;As||(As={});const F={...Xb,...Qb,iso:gf},Yb=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 ex(n,r){const i=n.$schema;return i==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":i==="http://json-schema.org/draft-07/schema#"?"draft-7":i==="http://json-schema.org/draft-04/schema#"?"draft-4":r??"draft-2020-12"}function tx(n,r){if(!n.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");const i=n.slice(1).split("/").filter(Boolean);if(i.length===0)return r.rootSchema;const l=r.version==="draft-2020-12"?"$defs":"definitions";if(i[0]===l){const t=i[1];if(!t||!r.defs[t])throw new Error(`Reference not found: ${n}`);return r.defs[t]}throw new Error(`Reference not found: ${n}`)}function a2(n,r){if(n.not!==void 0){if(typeof n.not=="object"&&Object.keys(n.not).length===0)return F.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(n.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(n.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(n.if!==void 0||n.then!==void 0||n.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(n.dependentSchemas!==void 0||n.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(n.$ref){const t=n.$ref;if(r.refs.has(t))return r.refs.get(t);if(r.processing.has(t))return F.lazy(()=>{if(!r.refs.has(t))throw new Error(`Circular reference not resolved: ${t}`);return r.refs.get(t)});r.processing.add(t);const a=tx(t,r),c=mt(a,r);return r.refs.set(t,c),r.processing.delete(t),c}if(n.enum!==void 0){const t=n.enum;if(r.version==="openapi-3.0"&&n.nullable===!0&&t.length===1&&t[0]===null)return F.null();if(t.length===0)return F.never();if(t.length===1)return F.literal(t[0]);if(t.every(c=>typeof c=="string"))return F.enum(t);const a=t.map(c=>F.literal(c));return a.length<2?a[0]:F.union([a[0],a[1],...a.slice(2)])}if(n.const!==void 0)return F.literal(n.const);const i=n.type;if(Array.isArray(i)){const t=i.map(a=>{const c={...n,type:a};return a2(c,r)});return t.length===0?F.never():t.length===1?t[0]:F.union(t)}if(!i)return F.any();let l;switch(i){case"string":{let t=F.string();if(n.format){const a=n.format;a==="email"?t=t.check(F.email()):a==="uri"||a==="uri-reference"?t=t.check(F.url()):a==="uuid"||a==="guid"?t=t.check(F.uuid()):a==="date-time"?t=t.check(F.iso.datetime()):a==="date"?t=t.check(F.iso.date()):a==="time"?t=t.check(F.iso.time()):a==="duration"?t=t.check(F.iso.duration()):a==="ipv4"?t=t.check(F.ipv4()):a==="ipv6"?t=t.check(F.ipv6()):a==="mac"?t=t.check(F.mac()):a==="cidr"?t=t.check(F.cidrv4()):a==="cidr-v6"?t=t.check(F.cidrv6()):a==="base64"?t=t.check(F.base64()):a==="base64url"?t=t.check(F.base64url()):a==="e164"?t=t.check(F.e164()):a==="jwt"?t=t.check(F.jwt()):a==="emoji"?t=t.check(F.emoji()):a==="nanoid"?t=t.check(F.nanoid()):a==="cuid"?t=t.check(F.cuid()):a==="cuid2"?t=t.check(F.cuid2()):a==="ulid"?t=t.check(F.ulid()):a==="xid"?t=t.check(F.xid()):a==="ksuid"&&(t=t.check(F.ksuid()))}typeof n.minLength=="number"&&(t=t.min(n.minLength)),typeof n.maxLength=="number"&&(t=t.max(n.maxLength)),n.pattern&&(t=t.regex(new RegExp(n.pattern))),l=t;break}case"number":case"integer":{let t=i==="integer"?F.number().int():F.number();typeof n.minimum=="number"&&(t=t.min(n.minimum)),typeof n.maximum=="number"&&(t=t.max(n.maximum)),typeof n.exclusiveMinimum=="number"?t=t.gt(n.exclusiveMinimum):n.exclusiveMinimum===!0&&typeof n.minimum=="number"&&(t=t.gt(n.minimum)),typeof n.exclusiveMaximum=="number"?t=t.lt(n.exclusiveMaximum):n.exclusiveMaximum===!0&&typeof n.maximum=="number"&&(t=t.lt(n.maximum)),typeof n.multipleOf=="number"&&(t=t.multipleOf(n.multipleOf)),l=t;break}case"boolean":{l=F.boolean();break}case"null":{l=F.null();break}case"object":{const t={},a=n.properties||{},c=new Set(n.required||[]);for(const[g,h]of Object.entries(a)){const y=mt(h,r);t[g]=c.has(g)?y:y.optional()}if(n.propertyNames){const g=mt(n.propertyNames,r),h=n.additionalProperties&&typeof n.additionalProperties=="object"?mt(n.additionalProperties,r):F.any();if(Object.keys(t).length===0){l=F.record(g,h);break}const y=F.object(t).passthrough(),k=F.looseRecord(g,h);l=F.intersection(y,k);break}if(n.patternProperties){const g=n.patternProperties,h=Object.keys(g),y=[];for(const T of h){const P=mt(g[T],r),Z=F.string().regex(new RegExp(T));y.push(F.looseRecord(Z,P))}const k=[];if(Object.keys(t).length>0&&k.push(F.object(t).passthrough()),k.push(...y),k.length===0)l=F.object({}).passthrough();else if(k.length===1)l=k[0];else{let T=F.intersection(k[0],k[1]);for(let P=2;P<k.length;P++)T=F.intersection(T,k[P]);l=T}break}const p=F.object(t);n.additionalProperties===!1?l=p.strict():typeof n.additionalProperties=="object"?l=p.catchall(mt(n.additionalProperties,r)):l=p.passthrough();break}case"array":{const t=n.prefixItems,a=n.items;if(t&&Array.isArray(t)){const c=t.map(g=>mt(g,r)),p=a&&typeof a=="object"&&!Array.isArray(a)?mt(a,r):void 0;p?l=F.tuple(c).rest(p):l=F.tuple(c),typeof n.minItems=="number"&&(l=l.check(F.minLength(n.minItems))),typeof n.maxItems=="number"&&(l=l.check(F.maxLength(n.maxItems)))}else if(Array.isArray(a)){const c=a.map(g=>mt(g,r)),p=n.additionalItems&&typeof n.additionalItems=="object"?mt(n.additionalItems,r):void 0;p?l=F.tuple(c).rest(p):l=F.tuple(c),typeof n.minItems=="number"&&(l=l.check(F.minLength(n.minItems))),typeof n.maxItems=="number"&&(l=l.check(F.maxLength(n.maxItems)))}else if(a!==void 0){const c=mt(a,r);let p=F.array(c);typeof n.minItems=="number"&&(p=p.min(n.minItems)),typeof n.maxItems=="number"&&(p=p.max(n.maxItems)),l=p}else l=F.array(F.any());break}default:throw new Error(`Unsupported type: ${i}`)}return l}function mt(n,r){if(typeof n=="boolean")return n?F.any():F.never();let i=a2(n,r);const l=n.type||n.enum!==void 0||n.const!==void 0;if(n.anyOf&&Array.isArray(n.anyOf)){const p=n.anyOf.map(h=>mt(h,r)),g=F.union(p);i=l?F.intersection(i,g):g}if(n.oneOf&&Array.isArray(n.oneOf)){const p=n.oneOf.map(h=>mt(h,r)),g=F.xor(p);i=l?F.intersection(i,g):g}if(n.allOf&&Array.isArray(n.allOf))if(n.allOf.length===0)i=l?i:F.any();else{let p=l?i:mt(n.allOf[0],r);const g=l?0:1;for(let h=g;h<n.allOf.length;h++)p=F.intersection(p,mt(n.allOf[h],r));i=p}n.nullable===!0&&r.version==="openapi-3.0"&&(i=F.nullable(i)),n.readOnly===!0&&(i=F.readonly(i)),n.default!==void 0&&(i=i.default(n.default));const t={},a=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(const p of a)p in n&&(t[p]=n[p]);const c=["contentEncoding","contentMediaType","contentSchema"];for(const p of c)p in n&&(t[p]=n[p]);for(const p of Object.keys(n))Yb.has(p)||(t[p]=n[p]);return Object.keys(t).length>0&&r.registry.add(i,t),n.description&&(i=i.describe(n.description)),i}function s2(n,r){if(typeof n=="boolean")return n?F.any():F.never();let i;try{i=JSON.parse(JSON.stringify(n))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}const l=ex(i,r?.defaultTarget),t=i.$defs||i.definitions||{},a={version:l,defs:t,refs:new Map,processing:new Set,rootSchema:i,registry:r?.registry??Dt};return mt(i,a)}function nx(n){return T_(fo,n)}function rx(n){return D_(mo,n)}function ox(n){return F_(go,n)}function ix(n){return H_(ho,n)}function ax(n){return t$(ia,n)}const l2=Object.freeze(Object.defineProperty({__proto__:null,bigint:ix,boolean:ox,date:ax,number:rx,string:nx},Symbol.toStringTag,{value:"Module"}));Xe(w_());const Ev=Object.freeze(Object.defineProperty({__proto__:null,$brand:cd,$input:Ad,$output:Md,NEVER:ud,TimePrecision:uf,ZodAny:ml,ZodArray:yl,ZodBase64:Yi,ZodBase64URL:ea,ZodBigInt:ho,ZodBigIntFormat:ra,ZodBoolean:go,ZodCIDRv4:Qi,ZodCIDRv6:Xi,ZodCUID:Hi,ZodCUID2:Ji,ZodCatch:Ll,ZodCodec:ko,ZodCustom:So,ZodCustomStringFormat:br,ZodDate:ia,ZodDefault:Nl,ZodDiscriminatedUnion:$l,ZodE164:ta,ZodEmail:Ai,ZodEmoji:Fi,ZodEnum:kr,ZodError:n2,ZodExactOptional:jl,ZodFile:zl,get ZodFirstPartyTypeKind(){return As},ZodFunction:Bl,ZodGUID:ro,ZodIPv4:Ki,ZodIPv6:Gi,ZodISODate:sl,ZodISODateTime:al,ZodISODuration:ul,ZodISOTime:ll,ZodIntersection:kl,ZodIssueCode:r2,ZodJWT:na,ZodKSUID:Bi,ZodLazy:Jl,ZodLiteral:Il,ZodMAC:cl,ZodMap:bl,ZodNaN:Ml,ZodNanoID:qi,ZodNever:hl,ZodNonOptional:ua,ZodNull:pl,ZodNullable:Pl,ZodNumber:mo,ZodNumberFormat:Qn,ZodObject:vo,ZodOptional:la,ZodPipe:$o,ZodPrefault:Ul,ZodPreprocess:Al,ZodPromise:Wl,ZodReadonly:Fl,ZodRealError:Tt,ZodRecord:$r,ZodSet:xl,ZodString:fo,ZodStringFormat:Ee,ZodSuccess:Rl,ZodSymbol:dl,ZodTemplateLiteral:Hl,ZodTransform:Tl,ZodTuple:Sl,ZodType:ce,ZodULID:Vi,ZodURL:po,ZodUUID:an,ZodUndefined:fl,ZodUnion:yo,ZodUnknown:gl,ZodVoid:vl,ZodXID:Wi,ZodXor:_l,_ZodString:Mi,_default:Ol,_function:ao,any:cp,array:oe,base64:Bf,base64url:Kf,bigint:ap,boolean:xe,catch:Zl,check:jp,cidrv4:Vf,cidrv6:Wf,clone:Lt,codec:xp,coerce:l2,config:Xe,core:G$,cuid:Lf,cuid2:Zf,custom:Kl,date:fp,decode:kf,decodeAsync:wf,describe:Ep,discriminatedUnion:aa,e164:Gf,email:Tf,emoji:Cf,encode:$f,encodeAsync:Sf,endsWith:Pi,enum:st,exactOptional:El,file:kp,flattenError:Ks,float32:np,float64:rp,formatError:Gs,fromJSONSchema:s2,function:ao,getErrorMap:i2,globalRegistry:Dt,gt:zn,gte:yt,guid:jf,hash:tp,hex:ep,hostname:Yf,httpUrl:Df,includes:ji,instanceof:Np,int:mi,int32:op,int64:sp,intersection:_o,invertCodec:Ip,ipv4:qf,ipv6:Jf,iso:gf,json:Up,jwt:Qf,keyof:pp,ksuid:Ff,lazy:Vl,length:co,literal:x,locales:Zd,looseObject:at,looseRecord:vp,lowercase:zi,lt:In,lte:Ct,mac:Hf,map:yp,maxLength:uo,maxSize:wr,meta:Pp,mime:Ni,minLength:Kn,minSize:Tn,multipleOf:yr,nan:bp,nanoid:Rf,nativeEnum:$p,negative:nl,never:_r,nonnegative:ol,nonoptional:Cl,nonpositive:rl,normalize:Oi,null:oa,nullable:io,nullish:Sp,number:ue,object:j,optional:Pe,overwrite:gn,parse:hf,parseAsync:vf,partialRecord:hp,pipe:gi,positive:tl,prefault:Dl,preprocess:ca,prettifyError:hd,promise:Tp,property:il,readonly:ql,record:ye,refine:Gl,regex:Ii,regexes:Qs,registry:Ys,safeDecode:xf,safeDecodeAsync:zf,safeEncode:bf,safeEncodeAsync:If,safeParse:yf,safeParseAsync:_f,set:_p,setErrorMap:o2,size:lo,slugify:Ri,startsWith:Ei,strictObject:mp,string:I,stringFormat:Xf,stringbool:Op,success:wp,superRefine:Ql,symbol:up,templateLiteral:zp,toJSONSchema:ff,toLowerCase:Di,toUpperCase:Ci,transform:sa,treeifyError:gd,trim:Ui,tuple:wl,uint32:ip,uint64:lp,ulid:Mf,undefined:oo,union:me,unknown:be,uppercase:Ti,url:Uf,util:pd,uuid:Ef,uuidv4:Pf,uuidv6:Nf,uuidv7:Of,void:dp,xid:Af,xor:gp},Symbol.toStringTag,{value:"Module"})),sx=Object.freeze(Object.defineProperty({__proto__:null,$brand:cd,$input:Ad,$output:Md,NEVER:ud,TimePrecision:uf,ZodAny:ml,ZodArray:yl,ZodBase64:Yi,ZodBase64URL:ea,ZodBigInt:ho,ZodBigIntFormat:ra,ZodBoolean:go,ZodCIDRv4:Qi,ZodCIDRv6:Xi,ZodCUID:Hi,ZodCUID2:Ji,ZodCatch:Ll,ZodCodec:ko,ZodCustom:So,ZodCustomStringFormat:br,ZodDate:ia,ZodDefault:Nl,ZodDiscriminatedUnion:$l,ZodE164:ta,ZodEmail:Ai,ZodEmoji:Fi,ZodEnum:kr,ZodError:n2,ZodExactOptional:jl,ZodFile:zl,get ZodFirstPartyTypeKind(){return As},ZodFunction:Bl,ZodGUID:ro,ZodIPv4:Ki,ZodIPv6:Gi,ZodISODate:sl,ZodISODateTime:al,ZodISODuration:ul,ZodISOTime:ll,ZodIntersection:kl,ZodIssueCode:r2,ZodJWT:na,ZodKSUID:Bi,ZodLazy:Jl,ZodLiteral:Il,ZodMAC:cl,ZodMap:bl,ZodNaN:Ml,ZodNanoID:qi,ZodNever:hl,ZodNonOptional:ua,ZodNull:pl,ZodNullable:Pl,ZodNumber:mo,ZodNumberFormat:Qn,ZodObject:vo,ZodOptional:la,ZodPipe:$o,ZodPrefault:Ul,ZodPreprocess:Al,ZodPromise:Wl,ZodReadonly:Fl,ZodRealError:Tt,ZodRecord:$r,ZodSet:xl,ZodString:fo,ZodStringFormat:Ee,ZodSuccess:Rl,ZodSymbol:dl,ZodTemplateLiteral:Hl,ZodTransform:Tl,ZodTuple:Sl,ZodType:ce,ZodULID:Vi,ZodURL:po,ZodUUID:an,ZodUndefined:fl,ZodUnion:yo,ZodUnknown:gl,ZodVoid:vl,ZodXID:Wi,ZodXor:_l,_ZodString:Mi,_default:Ol,_function:ao,any:cp,array:oe,base64:Bf,base64url:Kf,bigint:ap,boolean:xe,catch:Zl,check:jp,cidrv4:Vf,cidrv6:Wf,clone:Lt,codec:xp,coerce:l2,config:Xe,core:G$,cuid:Lf,cuid2:Zf,custom:Kl,date:fp,decode:kf,decodeAsync:wf,default:Ev,describe:Ep,discriminatedUnion:aa,e164:Gf,email:Tf,emoji:Cf,encode:$f,encodeAsync:Sf,endsWith:Pi,enum:st,exactOptional:El,file:kp,flattenError:Ks,float32:np,float64:rp,formatError:Gs,fromJSONSchema:s2,function:ao,getErrorMap:i2,globalRegistry:Dt,gt:zn,gte:yt,guid:jf,hash:tp,hex:ep,hostname:Yf,httpUrl:Df,includes:ji,instanceof:Np,int:mi,int32:op,int64:sp,intersection:_o,invertCodec:Ip,ipv4:qf,ipv6:Jf,iso:gf,json:Up,jwt:Qf,keyof:pp,ksuid:Ff,lazy:Vl,length:co,literal:x,locales:Zd,looseObject:at,looseRecord:vp,lowercase:zi,lt:In,lte:Ct,mac:Hf,map:yp,maxLength:uo,maxSize:wr,meta:Pp,mime:Ni,minLength:Kn,minSize:Tn,multipleOf:yr,nan:bp,nanoid:Rf,nativeEnum:$p,negative:nl,never:_r,nonnegative:ol,nonoptional:Cl,nonpositive:rl,normalize:Oi,null:oa,nullable:io,nullish:Sp,number:ue,object:j,optional:Pe,overwrite:gn,parse:hf,parseAsync:vf,partialRecord:hp,pipe:gi,positive:tl,prefault:Dl,preprocess:ca,prettifyError:hd,promise:Tp,property:il,readonly:ql,record:ye,refine:Gl,regex:Ii,regexes:Qs,registry:Ys,safeDecode:xf,safeDecodeAsync:zf,safeEncode:bf,safeEncodeAsync:If,safeParse:yf,safeParseAsync:_f,set:_p,setErrorMap:o2,size:lo,slugify:Ri,startsWith:Ei,strictObject:mp,string:I,stringFormat:Xf,stringbool:Op,success:wp,superRefine:Ql,symbol:up,templateLiteral:zp,toJSONSchema:ff,toLowerCase:Di,toUpperCase:Ci,transform:sa,treeifyError:gd,trim:Ui,tuple:wl,uint32:ip,uint64:lp,ulid:Mf,undefined:oo,union:me,unknown:be,uppercase:Ti,url:Uf,util:pd,uuid:Ef,uuidv4:Pf,uuidv6:Nf,uuidv7:Of,void:dp,xid:Af,xor:gp,z:Ev},Symbol.toStringTag,{value:"Module"})),pr="io.modelcontextprotocol/related-task",Xl="2.0",Qe=Kl(n=>n!==null&&(typeof n=="object"||typeof n=="function")),u2=me([I(),ue().int()]),c2=I();at({ttl:ue().optional(),pollInterval:ue().optional()});const lx=j({ttl:ue().optional()}),ux=j({taskId:I()}),Dp=at({progressToken:u2.optional(),[pr]:ux.optional()}),Mt=j({_meta:Dp.optional()}),da=Mt.extend({task:lx.optional()}),cx=n=>da.safeParse(n).success,lt=j({method:I(),params:Mt.loose().optional()}),Bt=j({_meta:Dp.optional()}),Kt=j({method:I(),params:Bt.loose().optional()}),ut=at({_meta:Dp.optional()}),fa=me([I(),ue().int()]),d2=j({jsonrpc:x(Xl),id:fa,...lt.shape}).strict(),Pv=n=>d2.safeParse(n).success,f2=j({jsonrpc:x(Xl),...Kt.shape}).strict(),dx=n=>f2.safeParse(n).success,Cp=j({jsonrpc:x(Xl),id:fa,result:ut}).strict(),Os=n=>Cp.safeParse(n).success;var Te;(function(n){n[n.ConnectionClosed=-32e3]="ConnectionClosed",n[n.RequestTimeout=-32001]="RequestTimeout",n[n.ParseError=-32700]="ParseError",n[n.InvalidRequest=-32600]="InvalidRequest",n[n.MethodNotFound=-32601]="MethodNotFound",n[n.InvalidParams=-32602]="InvalidParams",n[n.InternalError=-32603]="InternalError",n[n.UrlElicitationRequired=-32042]="UrlElicitationRequired"})(Te||(Te={}));const Rp=j({jsonrpc:x(Xl),id:fa.optional(),error:j({code:ue().int(),message:I(),data:be().optional()})}).strict(),fx=n=>Rp.safeParse(n).success,px=me([d2,f2,Cp,Rp]);me([Cp,Rp]);const Lp=ut.strict(),mx=Bt.extend({requestId:fa.optional(),reason:I().optional()}),Zp=Kt.extend({method:x("notifications/cancelled"),params:mx}),gx=j({src:I(),mimeType:I().optional(),sizes:oe(I()).optional(),theme:st(["light","dark"]).optional()}),pa=j({icons:oe(gx).optional()}),so=j({name:I(),title:I().optional()}),Yl=so.extend({...so.shape,...pa.shape,version:I(),websiteUrl:I().optional(),description:I().optional()}),hx=_o(j({applyDefaults:xe().optional()}),ye(I(),be())),vx=ca(n=>n&&typeof n=="object"&&!Array.isArray(n)&&Object.keys(n).length===0?{form:{}}:n,_o(j({form:hx.optional(),url:Qe.optional()}),ye(I(),be()).optional())),yx=at({list:Qe.optional(),cancel:Qe.optional(),requests:at({sampling:at({createMessage:Qe.optional()}).optional(),elicitation:at({create:Qe.optional()}).optional()}).optional()}),_x=at({list:Qe.optional(),cancel:Qe.optional(),requests:at({tools:at({call:Qe.optional()}).optional()}).optional()}),$x=j({experimental:ye(I(),Qe).optional(),sampling:j({context:Qe.optional(),tools:Qe.optional()}).optional(),elicitation:vx.optional(),roots:j({listChanged:xe().optional()}).optional(),tasks:yx.optional(),extensions:ye(I(),Qe).optional()}),kx=Mt.extend({protocolVersion:I(),capabilities:$x,clientInfo:Yl}),Sx=lt.extend({method:x("initialize"),params:kx}),wx=j({experimental:ye(I(),Qe).optional(),logging:Qe.optional(),completions:Qe.optional(),prompts:j({listChanged:xe().optional()}).optional(),resources:j({subscribe:xe().optional(),listChanged:xe().optional()}).optional(),tools:j({listChanged:xe().optional()}).optional(),tasks:_x.optional(),extensions:ye(I(),Qe).optional()}),bx=ut.extend({protocolVersion:I(),capabilities:wx,serverInfo:Yl,instructions:I().optional()}),xx=Kt.extend({method:x("notifications/initialized"),params:Bt.optional()}),eu=lt.extend({method:x("ping"),params:Mt.optional()}),Ix=j({progress:ue(),total:Pe(ue()),message:Pe(I())}),zx=j({...Bt.shape,...Ix.shape,progressToken:u2}),Mp=Kt.extend({method:x("notifications/progress"),params:zx}),Tx=Mt.extend({cursor:c2.optional()}),ma=lt.extend({params:Tx.optional()}),ga=ut.extend({nextCursor:c2.optional()}),jx=st(["working","input_required","completed","failed","cancelled"]),ha=j({taskId:I(),status:jx,ttl:me([ue(),oa()]),createdAt:I(),lastUpdatedAt:I(),pollInterval:Pe(ue()),statusMessage:Pe(I())}),Ap=ut.extend({task:ha}),Ex=Bt.merge(ha),Fs=Kt.extend({method:x("notifications/tasks/status"),params:Ex}),Fp=lt.extend({method:x("tasks/get"),params:Mt.extend({taskId:I()})}),qp=ut.merge(ha),Hp=lt.extend({method:x("tasks/result"),params:Mt.extend({taskId:I()})});ut.loose();const Jp=ma.extend({method:x("tasks/list")}),Vp=ga.extend({tasks:oe(ha)}),Wp=lt.extend({method:x("tasks/cancel"),params:Mt.extend({taskId:I()})}),Px=ut.merge(ha),p2=j({uri:I(),mimeType:Pe(I()),_meta:ye(I(),be()).optional()}),m2=p2.extend({text:I()}),Bp=I().refine(n=>{try{return atob(n),!0}catch{return!1}},{message:"Invalid Base64 string"}),g2=p2.extend({blob:Bp}),va=st(["user","assistant"]),wo=j({audience:oe(va).optional(),priority:ue().min(0).max(1).optional(),lastModified:mf({offset:!0}).optional()}),h2=j({...so.shape,...pa.shape,uri:I(),description:Pe(I()),mimeType:Pe(I()),size:Pe(ue()),annotations:wo.optional(),_meta:Pe(at({}))}),Nx=j({...so.shape,...pa.shape,uriTemplate:I(),description:Pe(I()),mimeType:Pe(I()),annotations:wo.optional(),_meta:Pe(at({}))}),Ox=ma.extend({method:x("resources/list")}),v2=ga.extend({resources:oe(h2)}),Ux=ma.extend({method:x("resources/templates/list")}),Dx=ga.extend({resourceTemplates:oe(Nx)}),Kp=Mt.extend({uri:I()}),Cx=Kp,Rx=lt.extend({method:x("resources/read"),params:Cx}),y2=ut.extend({contents:oe(me([m2,g2]))}),Lx=Kt.extend({method:x("notifications/resources/list_changed"),params:Bt.optional()}),Zx=Kp,Mx=lt.extend({method:x("resources/subscribe"),params:Zx}),Ax=Kp,Fx=lt.extend({method:x("resources/unsubscribe"),params:Ax}),qx=Bt.extend({uri:I()}),Hx=Kt.extend({method:x("notifications/resources/updated"),params:qx}),Jx=j({name:I(),description:Pe(I()),required:Pe(xe())}),Vx=j({...so.shape,...pa.shape,description:Pe(I()),arguments:Pe(oe(Jx)),_meta:Pe(at({}))}),Wx=ma.extend({method:x("prompts/list")}),Bx=ga.extend({prompts:oe(Vx)}),Kx=Mt.extend({name:I(),arguments:ye(I(),I()).optional()}),Gx=lt.extend({method:x("prompts/get"),params:Kx}),Gp=j({type:x("text"),text:I(),annotations:wo.optional(),_meta:ye(I(),be()).optional()}),Qp=j({type:x("image"),data:Bp,mimeType:I(),annotations:wo.optional(),_meta:ye(I(),be()).optional()}),Xp=j({type:x("audio"),data:Bp,mimeType:I(),annotations:wo.optional(),_meta:ye(I(),be()).optional()}),Qx=j({type:x("tool_use"),name:I(),id:I(),input:ye(I(),be()),_meta:ye(I(),be()).optional()}),_2=j({type:x("resource"),resource:me([m2,g2]),annotations:wo.optional(),_meta:ye(I(),be()).optional()}),$2=h2.extend({type:x("resource_link")}),ya=me([Gp,Qp,Xp,$2,_2]),Xx=j({role:va,content:ya}),Yx=ut.extend({description:I().optional(),messages:oe(Xx)}),e3=Kt.extend({method:x("notifications/prompts/list_changed"),params:Bt.optional()}),t3=j({title:I().optional(),readOnlyHint:xe().optional(),destructiveHint:xe().optional(),idempotentHint:xe().optional(),openWorldHint:xe().optional()}),n3=j({taskSupport:st(["required","optional","forbidden"]).optional()}),Yp=j({...so.shape,...pa.shape,description:I().optional(),inputSchema:j({type:x("object"),properties:ye(I(),Qe).optional(),required:oe(I()).optional()}).catchall(be()),outputSchema:j({type:x("object"),properties:ye(I(),Qe).optional(),required:oe(I()).optional()}).catchall(be()).optional(),annotations:t3.optional(),execution:n3.optional(),_meta:ye(I(),be()).optional()}),k2=ma.extend({method:x("tools/list")}),r3=ga.extend({tools:oe(Yp)}),tu=ut.extend({content:oe(ya).default([]),structuredContent:ye(I(),be()).optional(),isError:xe().optional()});tu.or(ut.extend({toolResult:be()}));const o3=da.extend({name:I(),arguments:ye(I(),be()).optional()}),S2=lt.extend({method:x("tools/call"),params:o3}),i3=Kt.extend({method:x("notifications/tools/list_changed"),params:Bt.optional()});j({autoRefresh:xe().default(!0),debounceMs:ue().int().nonnegative().default(300)});const w2=st(["debug","info","notice","warning","error","critical","alert","emergency"]),a3=Mt.extend({level:w2}),s3=lt.extend({method:x("logging/setLevel"),params:a3}),l3=Bt.extend({level:w2,logger:I().optional(),data:be()}),u3=Kt.extend({method:x("notifications/message"),params:l3}),c3=j({name:I().optional()}),d3=j({hints:oe(c3).optional(),costPriority:ue().min(0).max(1).optional(),speedPriority:ue().min(0).max(1).optional(),intelligencePriority:ue().min(0).max(1).optional()}),f3=j({mode:st(["auto","required","none"]).optional()}),p3=j({type:x("tool_result"),toolUseId:I().describe("The unique identifier for the corresponding tool call."),content:oe(ya).default([]),structuredContent:j({}).loose().optional(),isError:xe().optional(),_meta:ye(I(),be()).optional()}),m3=aa("type",[Gp,Qp,Xp]),qs=aa("type",[Gp,Qp,Xp,Qx,p3]),g3=j({role:va,content:me([qs,oe(qs)]),_meta:ye(I(),be()).optional()}),h3=da.extend({messages:oe(g3),modelPreferences:d3.optional(),systemPrompt:I().optional(),includeContext:st(["none","thisServer","allServers"]).optional(),temperature:ue().optional(),maxTokens:ue().int(),stopSequences:oe(I()).optional(),metadata:Qe.optional(),tools:oe(Yp).optional(),toolChoice:f3.optional()}),v3=lt.extend({method:x("sampling/createMessage"),params:h3}),b2=ut.extend({model:I(),stopReason:Pe(st(["endTurn","stopSequence","maxTokens"]).or(I())),role:va,content:m3}),x2=ut.extend({model:I(),stopReason:Pe(st(["endTurn","stopSequence","maxTokens","toolUse"]).or(I())),role:va,content:me([qs,oe(qs)])}),y3=j({type:x("boolean"),title:I().optional(),description:I().optional(),default:xe().optional()}),_3=j({type:x("string"),title:I().optional(),description:I().optional(),minLength:ue().optional(),maxLength:ue().optional(),format:st(["email","uri","date","date-time"]).optional(),default:I().optional()}),$3=j({type:st(["number","integer"]),title:I().optional(),description:I().optional(),minimum:ue().optional(),maximum:ue().optional(),default:ue().optional()}),k3=j({type:x("string"),title:I().optional(),description:I().optional(),enum:oe(I()),default:I().optional()}),S3=j({type:x("string"),title:I().optional(),description:I().optional(),oneOf:oe(j({const:I(),title:I()})),default:I().optional()}),w3=j({type:x("string"),title:I().optional(),description:I().optional(),enum:oe(I()),enumNames:oe(I()).optional(),default:I().optional()}),b3=me([k3,S3]),x3=j({type:x("array"),title:I().optional(),description:I().optional(),minItems:ue().optional(),maxItems:ue().optional(),items:j({type:x("string"),enum:oe(I())}),default:oe(I()).optional()}),I3=j({type:x("array"),title:I().optional(),description:I().optional(),minItems:ue().optional(),maxItems:ue().optional(),items:j({anyOf:oe(j({const:I(),title:I()}))}),default:oe(I()).optional()}),z3=me([x3,I3]),T3=me([w3,b3,z3]),j3=me([T3,y3,_3,$3]),E3=da.extend({mode:x("form").optional(),message:I(),requestedSchema:j({type:x("object"),properties:ye(I(),j3),required:oe(I()).optional()})}),P3=da.extend({mode:x("url"),message:I(),elicitationId:I(),url:I().url()}),N3=me([E3,P3]),O3=lt.extend({method:x("elicitation/create"),params:N3}),U3=Bt.extend({elicitationId:I()}),D3=Kt.extend({method:x("notifications/elicitation/complete"),params:U3}),C3=ut.extend({action:st(["accept","decline","cancel"]),content:ca(n=>n===null?void 0:n,ye(I(),me([I(),ue(),xe(),oe(I())])).optional())}),R3=j({type:x("ref/resource"),uri:I()}),L3=j({type:x("ref/prompt"),name:I()}),Z3=Mt.extend({ref:me([L3,R3]),argument:j({name:I(),value:I()}),context:j({arguments:ye(I(),I()).optional()}).optional()}),M3=lt.extend({method:x("completion/complete"),params:Z3}),A3=ut.extend({completion:at({values:oe(I()).max(100),total:Pe(ue().int()),hasMore:Pe(xe())})}),F3=j({uri:I().startsWith("file://"),name:I().optional(),_meta:ye(I(),be()).optional()}),q3=lt.extend({method:x("roots/list"),params:Mt.optional()}),H3=ut.extend({roots:oe(F3)}),J3=Kt.extend({method:x("notifications/roots/list_changed"),params:Bt.optional()});me([eu,Sx,M3,s3,Gx,Wx,Ox,Ux,Rx,Mx,Fx,S2,k2,Fp,Hp,Jp,Wp]);me([Zp,Mp,xx,J3,Fs]);me([Lp,b2,x2,C3,H3,qp,Vp,Ap]);me([eu,v3,O3,q3,Fp,Hp,Jp,Wp]);me([Zp,Mp,u3,Hx,Lx,i3,e3,Fs,D3]);me([Lp,bx,A3,Yx,Bx,v2,Dx,y2,tu,r3,qp,Vp,Ap]);class $e extends Error{constructor(r,i,l){super(`MCP error ${r}: ${i}`),this.code=r,this.data=l,this.name="McpError"}static fromError(r,i,l){if(r===Te.UrlElicitationRequired&&l){const t=l;if(t.elicitations)return new V3(t.elicitations,i)}return new $e(r,i,l)}}class V3 extends $e{constructor(r,i=`URL elicitation${r.length>1?"s":""} required`){super(Te.UrlElicitationRequired,i,{elicitations:r})}get elicitations(){return this.data?.elicitations??[]}}function fr(n){return n==="completed"||n==="failed"||n==="cancelled"}new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function Nv(n){const i=Kb(n)?.method;if(!i)throw new Error("Schema is missing a method literal");const l=Gb(i);if(typeof l!="string")throw new Error("Schema method literal must be a string");return l}function Ov(n,r){const i=Q$(n,r);if(!i.success)throw i.error;return i.data}const W3=6e4;class B3{constructor(r){this._options=r,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this._timeoutInfo=new Map,this._pendingDebouncedNotifications=new Set,this._taskProgressTokens=new Map,this._requestResolvers=new Map,this.setNotificationHandler(Zp,i=>{this._oncancel(i)}),this.setNotificationHandler(Mp,i=>{this._onprogress(i)}),this.setRequestHandler(eu,i=>({})),this._taskStore=r?.taskStore,this._taskMessageQueue=r?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(Fp,async(i,l)=>{const t=await this._taskStore.getTask(i.params.taskId,l.sessionId);if(!t)throw new $e(Te.InvalidParams,"Failed to retrieve task: Task not found");return{...t}}),this.setRequestHandler(Hp,async(i,l)=>{const t=async()=>{const a=i.params.taskId;if(this._taskMessageQueue){let p;for(;p=await this._taskMessageQueue.dequeue(a,l.sessionId);){if(p.type==="response"||p.type==="error"){const g=p.message,h=g.id,y=this._requestResolvers.get(h);if(y)if(this._requestResolvers.delete(h),p.type==="response")y(g);else{const k=g,T=new $e(k.error.code,k.error.message,k.error.data);y(T)}else{const k=p.type==="response"?"Response":"Error";this._onerror(new Error(`${k} handler missing for request ${h}`))}continue}await this._transport?.send(p.message,{relatedRequestId:l.requestId})}}const c=await this._taskStore.getTask(a,l.sessionId);if(!c)throw new $e(Te.InvalidParams,`Task not found: ${a}`);if(!fr(c.status))return await this._waitForTaskUpdate(a,l.signal),await t();if(fr(c.status)){const p=await this._taskStore.getTaskResult(a,l.sessionId);return this._clearTaskQueue(a),{...p,_meta:{...p._meta,[pr]:{taskId:a}}}}return await t()};return await t()}),this.setRequestHandler(Jp,async(i,l)=>{try{const{tasks:t,nextCursor:a}=await this._taskStore.listTasks(i.params?.cursor,l.sessionId);return{tasks:t,nextCursor:a,_meta:{}}}catch(t){throw new $e(Te.InvalidParams,`Failed to list tasks: ${t instanceof Error?t.message:String(t)}`)}}),this.setRequestHandler(Wp,async(i,l)=>{try{const t=await this._taskStore.getTask(i.params.taskId,l.sessionId);if(!t)throw new $e(Te.InvalidParams,`Task not found: ${i.params.taskId}`);if(fr(t.status))throw new $e(Te.InvalidParams,`Cannot cancel task in terminal status: ${t.status}`);await this._taskStore.updateTaskStatus(i.params.taskId,"cancelled","Client cancelled task execution.",l.sessionId),this._clearTaskQueue(i.params.taskId);const a=await this._taskStore.getTask(i.params.taskId,l.sessionId);if(!a)throw new $e(Te.InvalidParams,`Task not found after cancellation: ${i.params.taskId}`);return{_meta:{},...a}}catch(t){throw t instanceof $e?t:new $e(Te.InvalidRequest,`Failed to cancel task: ${t instanceof Error?t.message:String(t)}`)}}))}async _oncancel(r){if(!r.params.requestId)return;this._requestHandlerAbortControllers.get(r.params.requestId)?.abort(r.params.reason)}_setupTimeout(r,i,l,t,a=!1){this._timeoutInfo.set(r,{timeoutId:setTimeout(t,i),startTime:Date.now(),timeout:i,maxTotalTimeout:l,resetTimeoutOnProgress:a,onTimeout:t})}_resetTimeout(r){const i=this._timeoutInfo.get(r);if(!i)return!1;const l=Date.now()-i.startTime;if(i.maxTotalTimeout&&l>=i.maxTotalTimeout)throw this._timeoutInfo.delete(r),$e.fromError(Te.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:i.maxTotalTimeout,totalElapsed:l});return clearTimeout(i.timeoutId),i.timeoutId=setTimeout(i.onTimeout,i.timeout),!0}_cleanupTimeout(r){const i=this._timeoutInfo.get(r);i&&(clearTimeout(i.timeoutId),this._timeoutInfo.delete(r))}async connect(r){if(this._transport)throw new Error("Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.");this._transport=r;const i=this.transport?.onclose;this._transport.onclose=()=>{i?.(),this._onclose()};const l=this.transport?.onerror;this._transport.onerror=a=>{l?.(a),this._onerror(a)};const t=this._transport?.onmessage;this._transport.onmessage=(a,c)=>{t?.(a,c),Os(a)||fx(a)?this._onresponse(a):Pv(a)?this._onrequest(a,c):dx(a)?this._onnotification(a):this._onerror(new Error(`Unknown message type: ${JSON.stringify(a)}`))},await this._transport.start()}_onclose(){const r=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._taskProgressTokens.clear(),this._pendingDebouncedNotifications.clear();for(const l of this._timeoutInfo.values())clearTimeout(l.timeoutId);this._timeoutInfo.clear();for(const l of this._requestHandlerAbortControllers.values())l.abort();this._requestHandlerAbortControllers.clear();const i=$e.fromError(Te.ConnectionClosed,"Connection closed");this._transport=void 0,this.onclose?.();for(const l of r.values())l(i)}_onerror(r){this.onerror?.(r)}_onnotification(r){const i=this._notificationHandlers.get(r.method)??this.fallbackNotificationHandler;i!==void 0&&Promise.resolve().then(()=>i(r)).catch(l=>this._onerror(new Error(`Uncaught error in notification handler: ${l}`)))}_onrequest(r,i){const l=this._requestHandlers.get(r.method)??this.fallbackRequestHandler,t=this._transport,a=r.params?._meta?.[pr]?.taskId;if(l===void 0){const y={jsonrpc:"2.0",id:r.id,error:{code:Te.MethodNotFound,message:"Method not found"}};a&&this._taskMessageQueue?this._enqueueTaskMessage(a,{type:"error",message:y,timestamp:Date.now()},t?.sessionId).catch(k=>this._onerror(new Error(`Failed to enqueue error response: ${k}`))):t?.send(y).catch(k=>this._onerror(new Error(`Failed to send an error response: ${k}`)));return}const c=new AbortController;this._requestHandlerAbortControllers.set(r.id,c);const p=cx(r.params)?r.params.task:void 0,g=this._taskStore?this.requestTaskStore(r,t?.sessionId):void 0,h={signal:c.signal,sessionId:t?.sessionId,_meta:r.params?._meta,sendNotification:async y=>{if(c.signal.aborted)return;const k={relatedRequestId:r.id};a&&(k.relatedTask={taskId:a}),await this.notification(y,k)},sendRequest:async(y,k,T)=>{if(c.signal.aborted)throw new $e(Te.ConnectionClosed,"Request was cancelled");const P={...T,relatedRequestId:r.id};a&&!P.relatedTask&&(P.relatedTask={taskId:a});const Z=P.relatedTask?.taskId??a;return Z&&g&&await g.updateTaskStatus(Z,"input_required"),await this.request(y,k,P)},authInfo:i?.authInfo,requestId:r.id,requestInfo:i?.requestInfo,taskId:a,taskStore:g,taskRequestedTtl:p?.ttl,closeSSEStream:i?.closeSSEStream,closeStandaloneSSEStream:i?.closeStandaloneSSEStream};Promise.resolve().then(()=>{p&&this.assertTaskHandlerCapability(r.method)}).then(()=>l(r,h)).then(async y=>{if(c.signal.aborted)return;const k={result:y,jsonrpc:"2.0",id:r.id};a&&this._taskMessageQueue?await this._enqueueTaskMessage(a,{type:"response",message:k,timestamp:Date.now()},t?.sessionId):await t?.send(k)},async y=>{if(c.signal.aborted)return;const k={jsonrpc:"2.0",id:r.id,error:{code:Number.isSafeInteger(y.code)?y.code:Te.InternalError,message:y.message??"Internal error",...y.data!==void 0&&{data:y.data}}};a&&this._taskMessageQueue?await this._enqueueTaskMessage(a,{type:"error",message:k,timestamp:Date.now()},t?.sessionId):await t?.send(k)}).catch(y=>this._onerror(new Error(`Failed to send response: ${y}`))).finally(()=>{this._requestHandlerAbortControllers.get(r.id)===c&&this._requestHandlerAbortControllers.delete(r.id)})}_onprogress(r){const{progressToken:i,...l}=r.params,t=Number(i),a=this._progressHandlers.get(t);if(!a){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(r)}`));return}const c=this._responseHandlers.get(t),p=this._timeoutInfo.get(t);if(p&&c&&p.resetTimeoutOnProgress)try{this._resetTimeout(t)}catch(g){this._responseHandlers.delete(t),this._progressHandlers.delete(t),this._cleanupTimeout(t),c(g);return}a(l)}_onresponse(r){const i=Number(r.id),l=this._requestResolvers.get(i);if(l){if(this._requestResolvers.delete(i),Os(r))l(r);else{const c=new $e(r.error.code,r.error.message,r.error.data);l(c)}return}const t=this._responseHandlers.get(i);if(t===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(r)}`));return}this._responseHandlers.delete(i),this._cleanupTimeout(i);let a=!1;if(Os(r)&&r.result&&typeof r.result=="object"){const c=r.result;if(c.task&&typeof c.task=="object"){const p=c.task;typeof p.taskId=="string"&&(a=!0,this._taskProgressTokens.set(p.taskId,i))}}if(a||this._progressHandlers.delete(i),Os(r))t(r);else{const c=$e.fromError(r.error.code,r.error.message,r.error.data);t(c)}}get transport(){return this._transport}async close(){await this._transport?.close()}async*requestStream(r,i,l){const{task:t}=l??{};if(!t){try{yield{type:"result",result:await this.request(r,i,l)}}catch(c){yield{type:"error",error:c instanceof $e?c:new $e(Te.InternalError,String(c))}}return}let a;try{const c=await this.request(r,Ap,l);if(c.task)a=c.task.taskId,yield{type:"taskCreated",task:c.task};else throw new $e(Te.InternalError,"Task creation did not return a task");for(;;){const p=await this.getTask({taskId:a},l);if(yield{type:"taskStatus",task:p},fr(p.status)){p.status==="completed"?yield{type:"result",result:await this.getTaskResult({taskId:a},i,l)}:p.status==="failed"?yield{type:"error",error:new $e(Te.InternalError,`Task ${a} failed`)}:p.status==="cancelled"&&(yield{type:"error",error:new $e(Te.InternalError,`Task ${a} was cancelled`)});return}if(p.status==="input_required"){yield{type:"result",result:await this.getTaskResult({taskId:a},i,l)};return}const g=p.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(h=>setTimeout(h,g)),l?.signal?.throwIfAborted()}}catch(c){yield{type:"error",error:c instanceof $e?c:new $e(Te.InternalError,String(c))}}}request(r,i,l){const{relatedRequestId:t,resumptionToken:a,onresumptiontoken:c,task:p,relatedTask:g}=l??{};return new Promise((h,y)=>{const k=de=>{y(de)};if(!this._transport){k(new Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(r.method),p&&this.assertTaskCapability(r.method)}catch(de){k(de);return}l?.signal?.throwIfAborted();const T=this._requestMessageId++,P={...r,jsonrpc:"2.0",id:T};l?.onprogress&&(this._progressHandlers.set(T,l.onprogress),P.params={...r.params,_meta:{...r.params?._meta||{},progressToken:T}}),p&&(P.params={...P.params,task:p}),g&&(P.params={...P.params,_meta:{...P.params?._meta||{},[pr]:g}});const Z=de=>{this._responseHandlers.delete(T),this._progressHandlers.delete(T),this._cleanupTimeout(T),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:T,reason:String(de)}},{relatedRequestId:t,resumptionToken:a,onresumptiontoken:c}).catch(Y=>this._onerror(new Error(`Failed to send cancellation: ${Y}`)));const se=de instanceof $e?de:new $e(Te.RequestTimeout,String(de));y(se)};this._responseHandlers.set(T,de=>{if(!l?.signal?.aborted){if(de instanceof Error)return y(de);try{const se=Q$(i,de.result);se.success?h(se.data):y(se.error)}catch(se){y(se)}}}),l?.signal?.addEventListener("abort",()=>{Z(l?.signal?.reason)});const B=l?.timeout??W3,V=()=>Z($e.fromError(Te.RequestTimeout,"Request timed out",{timeout:B}));this._setupTimeout(T,B,l?.maxTotalTimeout,V,l?.resetTimeoutOnProgress??!1);const q=g?.taskId;if(q){const de=se=>{const Y=this._responseHandlers.get(T);Y?Y(se):this._onerror(new Error(`Response handler missing for side-channeled request ${T}`))};this._requestResolvers.set(T,de),this._enqueueTaskMessage(q,{type:"request",message:P,timestamp:Date.now()}).catch(se=>{this._cleanupTimeout(T),y(se)})}else this._transport.send(P,{relatedRequestId:t,resumptionToken:a,onresumptiontoken:c}).catch(de=>{this._cleanupTimeout(T),y(de)})})}async getTask(r,i){return this.request({method:"tasks/get",params:r},qp,i)}async getTaskResult(r,i,l){return this.request({method:"tasks/result",params:r},i,l)}async listTasks(r,i){return this.request({method:"tasks/list",params:r},Vp,i)}async cancelTask(r,i){return this.request({method:"tasks/cancel",params:r},Px,i)}async notification(r,i){if(!this._transport)throw new Error("Not connected");this.assertNotificationCapability(r.method);const l=i?.relatedTask?.taskId;if(l){const p={...r,jsonrpc:"2.0",params:{...r.params,_meta:{...r.params?._meta||{},[pr]:i.relatedTask}}};await this._enqueueTaskMessage(l,{type:"notification",message:p,timestamp:Date.now()});return}if((this._options?.debouncedNotificationMethods??[]).includes(r.method)&&!r.params&&!i?.relatedRequestId&&!i?.relatedTask){if(this._pendingDebouncedNotifications.has(r.method))return;this._pendingDebouncedNotifications.add(r.method),Promise.resolve().then(()=>{if(this._pendingDebouncedNotifications.delete(r.method),!this._transport)return;let p={...r,jsonrpc:"2.0"};i?.relatedTask&&(p={...p,params:{...p.params,_meta:{...p.params?._meta||{},[pr]:i.relatedTask}}}),this._transport?.send(p,i).catch(g=>this._onerror(g))});return}let c={...r,jsonrpc:"2.0"};i?.relatedTask&&(c={...c,params:{...c.params,_meta:{...c.params?._meta||{},[pr]:i.relatedTask}}}),await this._transport.send(c,i)}setRequestHandler(r,i){const l=Nv(r);this.assertRequestHandlerCapability(l),this._requestHandlers.set(l,(t,a)=>{const c=Ov(r,t);return Promise.resolve(i(c,a))})}removeRequestHandler(r){this._requestHandlers.delete(r)}assertCanSetRequestHandler(r){if(this._requestHandlers.has(r))throw new Error(`A request handler for ${r} already exists, which would be overridden`)}setNotificationHandler(r,i){const l=Nv(r);this._notificationHandlers.set(l,t=>{const a=Ov(r,t);return Promise.resolve(i(a))})}removeNotificationHandler(r){this._notificationHandlers.delete(r)}_cleanupTaskProgressHandler(r){const i=this._taskProgressTokens.get(r);i!==void 0&&(this._progressHandlers.delete(i),this._taskProgressTokens.delete(r))}async _enqueueTaskMessage(r,i,l){if(!this._taskStore||!this._taskMessageQueue)throw new Error("Cannot enqueue task message: taskStore and taskMessageQueue are not configured");const t=this._options?.maxTaskQueueSize;await this._taskMessageQueue.enqueue(r,i,l,t)}async _clearTaskQueue(r,i){if(this._taskMessageQueue){const l=await this._taskMessageQueue.dequeueAll(r,i);for(const t of l)if(t.type==="request"&&Pv(t.message)){const a=t.message.id,c=this._requestResolvers.get(a);c?(c(new $e(Te.InternalError,"Task cancelled or completed")),this._requestResolvers.delete(a)):this._onerror(new Error(`Resolver missing for request ${a} during task ${r} cleanup`))}}}async _waitForTaskUpdate(r,i){let l=this._options?.defaultTaskPollInterval??1e3;try{const t=await this._taskStore?.getTask(r);t?.pollInterval&&(l=t.pollInterval)}catch{}return new Promise((t,a)=>{if(i.aborted){a(new $e(Te.InvalidRequest,"Request cancelled"));return}const c=setTimeout(t,l);i.addEventListener("abort",()=>{clearTimeout(c),a(new $e(Te.InvalidRequest,"Request cancelled"))},{once:!0})})}requestTaskStore(r,i){const l=this._taskStore;if(!l)throw new Error("No task store configured");return{createTask:async t=>{if(!r)throw new Error("No request provided");return await l.createTask(t,r.id,{method:r.method,params:r.params},i)},getTask:async t=>{const a=await l.getTask(t,i);if(!a)throw new $e(Te.InvalidParams,"Failed to retrieve task: Task not found");return a},storeTaskResult:async(t,a,c)=>{await l.storeTaskResult(t,a,c,i);const p=await l.getTask(t,i);if(p){const g=Fs.parse({method:"notifications/tasks/status",params:p});await this.notification(g),fr(p.status)&&this._cleanupTaskProgressHandler(t)}},getTaskResult:t=>l.getTaskResult(t,i),updateTaskStatus:async(t,a,c)=>{const p=await l.getTask(t,i);if(!p)throw new $e(Te.InvalidParams,`Task "${t}" not found - it may have been cleaned up`);if(fr(p.status))throw new $e(Te.InvalidParams,`Cannot update task "${t}" from terminal status "${p.status}" to "${a}". Terminal states (completed, failed, cancelled) cannot transition to other states.`);await l.updateTaskStatus(t,a,c,i);const g=await l.getTask(t,i);if(g){const h=Fs.parse({method:"notifications/tasks/status",params:g});await this.notification(h),fr(g.status)&&this._cleanupTaskProgressHandler(t)}},listTasks:t=>l.listTasks(t,i)}}}function Uv(n){return n!==null&&typeof n=="object"&&!Array.isArray(n)}function K3(n,r){const i={...n};for(const l in r){const t=l,a=r[t];if(a===void 0)continue;const c=i[t];Uv(c)&&Uv(a)?i[t]={...c,...a}:i[t]=a}return i}(n=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(n,{get:(r,i)=>(typeof require<"u"?require:r)[i]}):n)(function(n){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+n+'" is not supported')});class G3 extends B3{_registeredMethods=new Set;_eventSlots=new Map;onEventDispatch(r,i){}_ensureEventSlot(r){let i=this._eventSlots.get(r);if(!i){let l=this.eventSchemas[r];if(!l)throw Error(`Unknown event: ${String(r)}`);i={listeners:[]},this._eventSlots.set(r,i);let t=l.shape.method.value;this._registeredMethods.add(t);let a=i;super.setNotificationHandler(l,c=>{let p=c.params;this.onEventDispatch(r,p),a.onHandler?.(p);for(let g of[...a.listeners])g(p)})}return i}setEventHandler(r,i){let l=this._ensureEventSlot(r);l.onHandler&&i&&console.warn(`[MCP Apps] on${String(r)} handler replaced. Use addEventListener("${String(r)}", …) to add multiple listeners without replacing.`),l.onHandler=i}getEventHandler(r){return this._eventSlots.get(r)?.onHandler}addEventListener(r,i){this._ensureEventSlot(r).listeners.push(i)}removeEventListener(r,i){let l=this._eventSlots.get(r);if(!l)return;let t=l.listeners.indexOf(i);t!==-1&&l.listeners.splice(t,1)}setRequestHandler=(r,i)=>{this._assertMethodNotRegistered(r,"setRequestHandler"),super.setRequestHandler(r,i)};setNotificationHandler=(r,i)=>{this._assertMethodNotRegistered(r,"setNotificationHandler"),super.setNotificationHandler(r,i)};warnIfRequestHandlerReplaced(r,i,l){i&&l&&console.warn(`[MCP Apps] ${r} handler replaced. Previous handler will no longer be called.`)}replaceRequestHandler=(r,i)=>{let l=r.shape.method.value;this._registeredMethods.add(l),super.setRequestHandler(r,i)};_assertMethodNotRegistered(r,i){let l=r.shape.method.value;if(this._registeredMethods.has(l))throw Error(`Handler for "${l}" already registered (via ${i}). Use addEventListener() to attach multiple listeners, or the on* setter for replace semantics.`);this._registeredMethods.add(l)}}var Q3="2026-01-26",X3="ui/notifications/tool-input-partial";class Y3{eventTarget;eventSource;messageListener;constructor(r=window.parent,i){this.eventTarget=r,this.eventSource=i,this.messageListener=l=>{if(i&&l.source!==this.eventSource){console.debug("Ignoring message from unknown source",l);return}let t=px.safeParse(l.data);t.success?(console.debug("Parsed message",t.data),this.onmessage?.(t.data)):l.data?.jsonrpc!=="2.0"?console.debug("Ignoring non-JSON-RPC message",t.error.message,l):(console.error("Failed to parse message",t.error.message,l),this.onerror?.(Error("Invalid JSON-RPC message received: "+t.error.message)))}}async start(){window.addEventListener("message",this.messageListener)}async send(r,i){r.method!==X3&&console.debug("Sending message",r),this.eventTarget.postMessage(r,"*")}async close(){window.removeEventListener("message",this.messageListener),this.onclose?.()}onclose;onerror;onmessage;sessionId;setProtocolVersion}var e4=me([x("light"),x("dark")]).describe("Color theme preference for the host environment."),hi=me([x("inline"),x("fullscreen"),x("pip")]).describe("Display mode for UI presentation."),t4=me([x("--color-background-primary"),x("--color-background-secondary"),x("--color-background-tertiary"),x("--color-background-inverse"),x("--color-background-ghost"),x("--color-background-info"),x("--color-background-danger"),x("--color-background-success"),x("--color-background-warning"),x("--color-background-disabled"),x("--color-text-primary"),x("--color-text-secondary"),x("--color-text-tertiary"),x("--color-text-inverse"),x("--color-text-ghost"),x("--color-text-info"),x("--color-text-danger"),x("--color-text-success"),x("--color-text-warning"),x("--color-text-disabled"),x("--color-border-primary"),x("--color-border-secondary"),x("--color-border-tertiary"),x("--color-border-inverse"),x("--color-border-ghost"),x("--color-border-info"),x("--color-border-danger"),x("--color-border-success"),x("--color-border-warning"),x("--color-border-disabled"),x("--color-ring-primary"),x("--color-ring-secondary"),x("--color-ring-inverse"),x("--color-ring-info"),x("--color-ring-danger"),x("--color-ring-success"),x("--color-ring-warning"),x("--font-sans"),x("--font-mono"),x("--font-weight-normal"),x("--font-weight-medium"),x("--font-weight-semibold"),x("--font-weight-bold"),x("--font-text-xs-size"),x("--font-text-sm-size"),x("--font-text-md-size"),x("--font-text-lg-size"),x("--font-heading-xs-size"),x("--font-heading-sm-size"),x("--font-heading-md-size"),x("--font-heading-lg-size"),x("--font-heading-xl-size"),x("--font-heading-2xl-size"),x("--font-heading-3xl-size"),x("--font-text-xs-line-height"),x("--font-text-sm-line-height"),x("--font-text-md-line-height"),x("--font-text-lg-line-height"),x("--font-heading-xs-line-height"),x("--font-heading-sm-line-height"),x("--font-heading-md-line-height"),x("--font-heading-lg-line-height"),x("--font-heading-xl-line-height"),x("--font-heading-2xl-line-height"),x("--font-heading-3xl-line-height"),x("--border-radius-xs"),x("--border-radius-sm"),x("--border-radius-md"),x("--border-radius-lg"),x("--border-radius-xl"),x("--border-radius-full"),x("--border-width-regular"),x("--shadow-hairline"),x("--shadow-sm"),x("--shadow-md"),x("--shadow-lg")]).describe("CSS variable keys available to MCP apps for theming."),n4=ye(t4.describe(`Style variables for theming MCP apps.
|
|
72
111
|
|
|
73
112
|
Individual style keys are optional - hosts may provide any subset of these values.
|
|
74
113
|
Values are strings containing CSS values (colors, sizes, font stacks, etc.).
|
|
75
114
|
|
|
76
115
|
Note: This type uses \`Record<K, string | undefined>\` rather than \`Partial<Record<K, string>>\`
|
|
77
|
-
for compatibility with Zod schema generation. Both are functionally equivalent for validation.`),
|
|
116
|
+
for compatibility with Zod schema generation. Both are functionally equivalent for validation.`),me([I(),oo()]).describe(`Style variables for theming MCP apps.
|
|
78
117
|
|
|
79
118
|
Individual style keys are optional - hosts may provide any subset of these values.
|
|
80
119
|
Values are strings containing CSS values (colors, sizes, font stacks, etc.).
|
|
@@ -86,10 +125,10 @@ Individual style keys are optional - hosts may provide any subset of these value
|
|
|
86
125
|
Values are strings containing CSS values (colors, sizes, font stacks, etc.).
|
|
87
126
|
|
|
88
127
|
Note: This type uses \`Record<K, string | undefined>\` rather than \`Partial<Record<K, string>>\`
|
|
89
|
-
for compatibility with Zod schema generation. Both are functionally equivalent for validation.`);
|
|
128
|
+
for compatibility with Zod schema generation. Both are functionally equivalent for validation.`);j({method:x("ui/open-link"),params:j({url:I().describe("URL to open in the host's browser")})});var r4=j({isError:xe().optional().describe("True if the host failed to open the URL (e.g., due to security policy).")}).passthrough(),o4=j({isError:xe().optional().describe("True if the download failed (e.g., user cancelled or host denied).")}).passthrough(),i4=j({isError:xe().optional().describe("True if the host rejected or failed to deliver the message.")}).passthrough();j({method:x("ui/notifications/sandbox-proxy-ready"),params:j({})});var em=j({connectDomains:oe(I()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).
|
|
90
129
|
|
|
91
130
|
- Maps to CSP \`connect-src\` directive
|
|
92
|
-
- Empty or omitted → no network connections (secure default)`),resourceDomains:
|
|
131
|
+
- Empty or omitted → no network connections (secure default)`),resourceDomains:oe(I()).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 → no network resources (secure default)"),frameDomains:oe(I()).optional().describe("Origins for nested iframes.\n\n- Maps to CSP `frame-src` directive\n- Empty or omitted → no nested iframes allowed (`frame-src 'none'`)"),baseUriDomains:oe(I()).optional().describe("Allowed base URIs for the document.\n\n- Maps to CSP `base-uri` directive\n- Empty or omitted → only same origin allowed (`base-uri 'self'`)")}),tm=j({camera:j({}).optional().describe("Request camera access.\n\nMaps to Permission Policy `camera` feature."),microphone:j({}).optional().describe("Request microphone access.\n\nMaps to Permission Policy `microphone` feature."),geolocation:j({}).optional().describe("Request geolocation access.\n\nMaps to Permission Policy `geolocation` feature."),clipboardWrite:j({}).optional().describe("Request clipboard write access.\n\nMaps to Permission Policy `clipboard-write` feature.")});j({method:x("ui/notifications/size-changed"),params:j({width:ue().optional().describe("New width in pixels."),height:ue().optional().describe("New height in pixels.")})});var a4=j({method:x("ui/notifications/tool-input"),params:j({arguments:ye(I(),be().describe("Complete tool call arguments as key-value pairs.")).optional().describe("Complete tool call arguments as key-value pairs.")})}),s4=j({method:x("ui/notifications/tool-input-partial"),params:j({arguments:ye(I(),be().describe("Partial tool call arguments (incomplete, may change).")).optional().describe("Partial tool call arguments (incomplete, may change).")})}),l4=j({method:x("ui/notifications/tool-cancelled"),params:j({reason:I().optional().describe('Optional reason for the cancellation (e.g., "user action", "timeout").')})}),u4=j({fonts:I().optional()}),c4=j({variables:n4.optional().describe("CSS variables for theming the app."),css:u4.optional().describe("CSS blocks that apps can inject.")}),d4=j({method:x("ui/resource-teardown"),params:j({})});ye(I(),be());var Dv=j({text:j({}).optional().describe("Host supports text content blocks."),image:j({}).optional().describe("Host supports image content blocks."),audio:j({}).optional().describe("Host supports audio content blocks."),resource:j({}).optional().describe("Host supports resource content blocks."),resourceLink:j({}).optional().describe("Host supports resource link content blocks."),structuredContent:j({}).optional().describe("Host supports structured content.")});j({method:x("ui/notifications/request-teardown"),params:j({}).optional()});var f4=j({experimental:j({}).optional().describe("Experimental features (structure TBD)."),openLinks:j({}).optional().describe("Host supports opening external URLs."),downloadFile:j({}).optional().describe("Host supports file downloads via ui/download-file."),serverTools:j({listChanged:xe().optional().describe("Host supports tools/list_changed notifications.")}).optional().describe("Host can proxy tool calls to the MCP server."),serverResources:j({listChanged:xe().optional().describe("Host supports resources/list_changed notifications.")}).optional().describe("Host can proxy resource reads to the MCP server."),logging:j({}).optional().describe("Host accepts log messages."),sandbox:j({permissions:tm.optional().describe("Permissions granted by the host (camera, microphone, geolocation)."),csp:em.optional().describe("CSP domains approved by the host.")}).optional().describe("Sandbox configuration applied by the host."),updateModelContext:Dv.optional().describe("Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns."),message:Dv.optional().describe("Host supports receiving content messages (ui/message) from the view."),sampling:j({tools:j({}).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.")}),p4=j({experimental:j({}).optional().describe("Experimental features (structure TBD)."),tools:j({listChanged:xe().optional().describe("App supports tools/list_changed notifications.")}).optional().describe("App exposes MCP-style tools that the host can call."),availableDisplayModes:oe(hi).optional().describe("Display modes the app supports.")});j({method:x("ui/notifications/initialized"),params:j({}).optional()});j({csp:em.optional().describe("Content Security Policy configuration for UI resources."),permissions:tm.optional().describe("Sandbox permissions requested by the UI resource."),domain:I().optional().describe(`Dedicated origin for view sandbox.
|
|
93
132
|
|
|
94
133
|
Useful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.
|
|
95
134
|
|
|
@@ -97,18 +136,17 @@ Useful when views need stable, dedicated origins for OAuth callbacks, CORS polic
|
|
|
97
136
|
- Hash-based subdomains (e.g., \`{hash}.claudemcpcontent.com\`)
|
|
98
137
|
- URL-derived subdomains (e.g., \`www-example-com.oaiusercontent.com\`)
|
|
99
138
|
|
|
100
|
-
If omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:
|
|
139
|
+
If omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:xe().optional().describe(`Visual boundary preference - true if view prefers a visible border.
|
|
101
140
|
|
|
102
141
|
Boolean 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.
|
|
103
142
|
|
|
104
143
|
- \`true\`: request visible border + background
|
|
105
144
|
- \`false\`: request no visible border + background
|
|
106
|
-
- omitted: host decides border`)});
|
|
145
|
+
- omitted: host decides border`)});j({method:x("ui/request-display-mode"),params:j({mode:hi.describe("The display mode being requested.")})});var m4=j({mode:hi.describe("The display mode that was actually set. May differ from requested if not supported.")}).passthrough(),g4=me([x("model"),x("app")]).describe("Tool visibility scope - who can access the tool.");j({resourceUri:I().optional(),visibility:oe(g4).optional().describe(`Who can access this tool. Default: ["model", "app"]
|
|
107
146
|
- "model": Tool visible to and callable by the agent
|
|
108
|
-
- "app": Tool callable by the app from this server only`),csp:
|
|
109
|
-
container holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:k().optional().describe("User's language and region preference in BCP 47 format."),timeZone:k().optional().describe("User's timezone in IANA format."),userAgent:k().optional().describe("Host application identifier."),platform:pe([x("web"),x("desktop"),x("mobile")]).optional().describe("Platform type for responsive design decisions."),deviceCapabilities:I({touch:ye().optional().describe("Whether the device supports touch input."),hover:ye().optional().describe("Whether the device supports hover interactions.")}).optional().describe("Device input capabilities."),safeAreaInsets:I({top:se().describe("Top safe area inset in pixels."),right:se().describe("Right safe area inset in pixels."),bottom:se().describe("Bottom safe area inset in pixels."),left:se().describe("Left safe area inset in pixels.")}).optional().describe("Mobile safe area boundaries in pixels.")}).passthrough(),g$=I({method:x("ui/notifications/host-context-changed"),params:cg.describe("Partial context update containing only changed fields.")});I({method:x("ui/update-model-context"),params:I({content:re(so).optional().describe("Context content blocks (text, image, etc.)."),structuredContent:fe(k(),be().describe("Structured content for machine-readable context data.")).optional().describe("Structured content for machine-readable context data.")})});I({method:x("ui/initialize"),params:I({appInfo:fa.describe("App identification (name and version)."),appCapabilities:p$.describe("Features and capabilities this app provides."),protocolVersion:k().describe("Protocol version this app supports.")})});var b$=I({protocolVersion:k().describe('Negotiated protocol version string (e.g., "2025-11-21").'),hostInfo:fa.describe("Host application identification and version."),hostCapabilities:m$.describe("Features and capabilities provided by the host."),hostContext:cg.describe("Rich context about the host environment.")}).passthrough(),_$={target:"draft-2020-12"};async function hd(e,t){let r=e["~standard"];if(r.jsonSchema)return r.jsonSchema[t](_$);if(r.vendor==="zod"){let{z:i}=await Ob(()=>Promise.resolve().then(()=>s0),void 0,import.meta.url);return i.toJSONSchema(e,{io:t})}throw Error(`Schema (vendor: ${r.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 vd(e,t,r=""){let i=await e["~standard"].validate(t);if(i.issues){let n=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(r+n)}return i.value}class ou extends Gx{_appInfo;_capabilities;options;_hostCapabilities;_hostInfo;_hostContext;_registeredTools={};_initializedSent=!1;_assertInitialized(t){if(this._initializedSent)return;let r=`[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(r);console.warn(`${r}. This will throw in a future release.`)}eventSchemas={toolinput:a$,toolinputpartial:s$,toolresult:v$,toolcancelled:c$,hostcontextchanged:g$};static ONE_SHOT_EVENTS=new Set(["toolinput","toolinputpartial","toolresult","toolcancelled"]);_everHadListener=new Set;_assertHandlerTiming(t){if(!ou.ONE_SHOT_EVENTS.has(t)||this._everHadListener.has(t)||(this._everHadListener.add(t),!this._initializedSent))return;let r=`[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(r);console.warn(r)}setEventHandler(t,r){r&&this._assertHandlerTiming(t),super.setEventHandler(t,r)}addEventListener(t,r){this._assertHandlerTiming(t),super.addEventListener(t,r)}onEventDispatch(t,r){t==="hostcontextchanged"&&(this._hostContext={...this._hostContext,...r})}constructor(t,r={},i={autoResize:!0}){super(i),this._appInfo=t,this._capabilities=r,this.options=i,i.allowUnsafeEval||Ue({jitless:!0}),this.setRequestHandler(ha,n=>(console.log("Received ping:",n.params),{})),this.setEventHandler("hostcontextchanged",void 0)}registerCapabilities(t){if(this.transport)throw Error("Cannot register capabilities after transport is established");this._capabilities=Wx(this._capabilities,t)}registerTool(t,r,i){if(this._registeredTools[t])throw Error(`Tool ${t} is already registered`);let n=this,o=()=>{n._initializedSent&&n._capabilities.tools?.listChanged&&n.sendToolListChanged()},a=r.inputSchema!==void 0,s={title:r.title,description:r.description,inputSchema:r.inputSchema,outputSchema:r.outputSchema,annotations:r.annotations,_meta:r._meta,enabled:!0,enable(){this.enabled=!0,o()},disable(){this.enabled=!1,o()},update(u){Object.assign(this,u),o()},remove(){n._registeredTools[t]===s&&(delete n._registeredTools[t],o())},handler:async(u,l)=>{if(!s.enabled)throw Error(`Tool ${t} is disabled`);let d;if(a){let p=s.inputSchema,m=p?await vd(p,u??{},`Invalid input for tool ${t}: `):u??{};d=await i(m,l)}else d=await i(l);return s.outputSchema&&!d.isError&&(d.structuredContent=await vd(s.outputSchema,d.structuredContent,`Invalid output for tool ${t}: `)),d}};return this._registeredTools[t]=s,!this._capabilities.tools&&!this.transport&&this.registerCapabilities({tools:{listChanged:!0}}),this.ensureToolHandlersInitialized(),o(),s}_toolHandlersInitialized=!1;ensureToolHandlersInitialized(){this._toolHandlersInitialized||(this._toolHandlersInitialized=!0,this.oncalltool=async(t,r)=>{let i=this._registeredTools[t.name];if(!i)throw Error(`Tool ${t.name} not found`);return i.handler(t.arguments,r)},this.onlisttools=async(t,r)=>({tools:await Promise.all(Object.entries(this._registeredTools).filter(([i,n])=>n.enabled).map(async([i,n])=>{let o={name:i,title:n.title,description:n.description,inputSchema:n.inputSchema?await hd(n.inputSchema,"input"):{type:"object",properties:{}}};return n.outputSchema&&(o.outputSchema=await hd(n.outputSchema,"output")),n.annotations&&(o.annotations=n.annotations),n._meta&&(o._meta=n._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(d$,(r,i)=>{if(!this._onteardown)throw Error("No onteardown handler set");return this._onteardown(r.params,i)})}_oncalltool;get oncalltool(){return this._oncalltool}set oncalltool(t){this.warnIfRequestHandlerReplaced("oncalltool",this._oncalltool,t),this._oncalltool=t,this.replaceRequestHandler(og,(r,i)=>{if(!this._oncalltool)throw Error("No oncalltool handler set");return this._oncalltool(r.params,i)})}_onlisttools;get onlisttools(){return this._onlisttools}set onlisttools(t){this.warnIfRequestHandlerReplaced("onlisttools",this._onlisttools,t),this._onlisttools=t,this.replaceRequestHandler(rg,(r,i)=>{if(!this._onlisttools)throw Error("No onlisttools handler set");return this._onlisttools(r.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._capabilities.tools)throw Error(`Client does not support tool capability (required for ${t})`);return;case"ping":case"ui/resource-teardown":return;default:throw Error(`No handler for method ${t} registered`)}}assertNotificationCapability(t){}assertTaskCapability(t){throw Error("Tasks are not supported in MCP Apps")}assertTaskHandlerCapability(t){throw Error("Task handlers are not supported in MCP Apps")}async callServerTool(t,r){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},va,{onprogress:()=>{},resetTimeoutOnProgress:!0,...r})}async readServerResource(t,r){return this._assertInitialized("readServerResource"),await this.request({method:"resources/read",params:t},eg,r)}async listServerResources(t,r){return this._assertInitialized("listServerResources"),await this.request({method:"resources/list",params:t},Qv,r)}async createSamplingMessage(t,r){this._assertInitialized("createSamplingMessage");let i=t.tools?sg:ag;return await this.request({method:"sampling/createMessage",params:t},i,r)}sendMessage(t,r){return this._assertInitialized("sendMessage"),this.request({method:"ui/message",params:t},i$,r)}sendLog(t){return this.notification({method:"notifications/message",params:t})}updateModelContext(t,r){return this._assertInitialized("updateModelContext"),this.request({method:"ui/update-model-context",params:t},Ml,r)}openLink(t,r){return this._assertInitialized("openLink"),this.request({method:"ui/open-link",params:t},r$,r)}sendOpenLink=this.openLink;downloadFile(t,r){return this._assertInitialized("downloadFile"),this.request({method:"ui/download-file",params:t},o$,r)}requestTeardown(t={}){return this.notification({method:"ui/notifications/request-teardown",params:t})}requestDisplayMode(t,r){return this._assertInitialized("requestDisplayMode"),this.request({method:"ui/request-display-mode",params:t},f$,r)}sendSizeChanged(t){return this.notification({method:"ui/notifications/size-changed",params:t})}setupSizeChangedNotifications(){let t=!1,r=0,i=0,n=()=>{t||(t=!0,requestAnimationFrame(()=>{t=!1;let a=document.documentElement,s=a.style.height;a.style.height="max-content";let u=Math.ceil(a.getBoundingClientRect().height);a.style.height=s;let l=Math.ceil(window.innerWidth);(l!==r||u!==i)&&(r=l,i=u,this.sendSizeChanged({width:l,height:u}))}))};n();let o=new ResizeObserver(n);return o.observe(document.documentElement),o.observe(document.body),()=>o.disconnect()}async connect(t=new Qx(window.parent,window.parent),r){if(this.transport)throw Error("App is already connected. Call close() before connecting again.");this._initializedSent=!1,await super.connect(t);try{let i=await this.request({method:"ui/initialize",params:{appCapabilities:this._capabilities,appInfo:this._appInfo,protocolVersion:Yx}},b$,r);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 he(){const[,e]=ie(0);return Ie(()=>ms(()=>e(t=>t+1)),[]),ht}const y$="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='500'%20zoomAndPan='magnify'%20viewBox='0%200%20375%20374.999991'%20height='500'%20preserveAspectRatio='xMidYMid%20meet'%20version='1.2'%3e%3cdefs%3e%3cclipPath%20id='f4898d2ac4'%3e%3cpath%20d='M%2069.5%2069.5%20L%20305.5%2069.5%20L%20305.5%20305.5%20L%2069.5%20305.5%20Z%20M%2069.5%2069.5%20'%20/%3e%3c/clipPath%3e%3cclipPath%20id='bdaeedaae6'%3e%3cpath%20d='M%20187.5%2069.5%20C%20122.332031%2069.5%2069.5%20122.332031%2069.5%20187.5%20C%2069.5%20252.667969%20122.332031%20305.5%20187.5%20305.5%20C%20252.667969%20305.5%20305.5%20252.667969%20305.5%20187.5%20C%20305.5%20122.332031%20252.667969%2069.5%20187.5%2069.5%20Z%20M%20187.5%2069.5%20'%20/%3e%3c/clipPath%3e%3clinearGradient%20x1='-0.00000162271'%20gradientTransform='matrix(0.92186,0,0,0.92186,69.50188,69.501888)'%20y1='128'%20x2='255.999971'%20gradientUnits='userSpaceOnUse'%20y2='128'%20id='f66ee0458f'%3e%3cstop%20style='stop-color:%23000000;stop-opacity:1;'%20offset='0'%20/%3e%3cstop%20style='stop-color:%23010101;stop-opacity:1;'%20offset='0.00390625'%20/%3e%3cstop%20style='stop-color:%23020102;stop-opacity:1;'%20offset='0.0078125'%20/%3e%3cstop%20style='stop-color:%23030203;stop-opacity:1;'%20offset='0.0117188'%20/%3e%3cstop%20style='stop-color:%23030303;stop-opacity:1;'%20offset='0.015625'%20/%3e%3cstop%20style='stop-color:%23040404;stop-opacity:1;'%20offset='0.0195312'%20/%3e%3cstop%20style='stop-color:%23050405;stop-opacity:1;'%20offset='0.0234375'%20/%3e%3cstop%20style='stop-color:%23060506;stop-opacity:1;'%20offset='0.0273438'%20/%3e%3cstop%20style='stop-color:%23070607;stop-opacity:1;'%20offset='0.03125'%20/%3e%3cstop%20style='stop-color:%23080708;stop-opacity:1;'%20offset='0.0351562'%20/%3e%3cstop%20style='stop-color:%23090709;stop-opacity:1;'%20offset='0.0390625'%20/%3e%3cstop%20style='stop-color:%23090809;stop-opacity:1;'%20offset='0.0429688'%20/%3e%3cstop%20style='stop-color:%230a090a;stop-opacity:1;'%20offset='0.046875'%20/%3e%3cstop%20style='stop-color:%230b0a0b;stop-opacity:1;'%20offset='0.0507812'%20/%3e%3cstop%20style='stop-color:%230c0a0c;stop-opacity:1;'%20offset='0.0546875'%20/%3e%3cstop%20style='stop-color:%230d0b0d;stop-opacity:1;'%20offset='0.0585938'%20/%3e%3cstop%20style='stop-color:%230e0c0e;stop-opacity:1;'%20offset='0.0625'%20/%3e%3cstop%20style='stop-color:%230f0d0f;stop-opacity:1;'%20offset='0.0664062'%20/%3e%3cstop%20style='stop-color:%230f0d0f;stop-opacity:1;'%20offset='0.0703125'%20/%3e%3cstop%20style='stop-color:%23100e10;stop-opacity:1;'%20offset='0.0742188'%20/%3e%3cstop%20style='stop-color:%23110f11;stop-opacity:1;'%20offset='0.078125'%20/%3e%3cstop%20style='stop-color:%23120f12;stop-opacity:1;'%20offset='0.0820312'%20/%3e%3cstop%20style='stop-color:%23131013;stop-opacity:1;'%20offset='0.0859375'%20/%3e%3cstop%20style='stop-color:%23141114;stop-opacity:1;'%20offset='0.0898438'%20/%3e%3cstop%20style='stop-color:%23151215;stop-opacity:1;'%20offset='0.09375'%20/%3e%3cstop%20style='stop-color:%23151215;stop-opacity:1;'%20offset='0.0976563'%20/%3e%3cstop%20style='stop-color:%23161316;stop-opacity:1;'%20offset='0.101562'%20/%3e%3cstop%20style='stop-color:%23171417;stop-opacity:1;'%20offset='0.105469'%20/%3e%3cstop%20style='stop-color:%23181518;stop-opacity:1;'%20offset='0.109375'%20/%3e%3cstop%20style='stop-color:%23191519;stop-opacity:1;'%20offset='0.113281'%20/%3e%3cstop%20style='stop-color:%231a161a;stop-opacity:1;'%20offset='0.117188'%20/%3e%3cstop%20style='stop-color:%231b171b;stop-opacity:1;'%20offset='0.121094'%20/%3e%3cstop%20style='stop-color:%231b181b;stop-opacity:1;'%20offset='0.125'%20/%3e%3cstop%20style='stop-color:%231c181c;stop-opacity:1;'%20offset='0.128906'%20/%3e%3cstop%20style='stop-color:%231d191d;stop-opacity:1;'%20offset='0.132812'%20/%3e%3cstop%20style='stop-color:%231e1a1e;stop-opacity:1;'%20offset='0.136719'%20/%3e%3cstop%20style='stop-color:%231f1b1f;stop-opacity:1;'%20offset='0.140625'%20/%3e%3cstop%20style='stop-color:%23201b20;stop-opacity:1;'%20offset='0.144531'%20/%3e%3cstop%20style='stop-color:%23211c21;stop-opacity:1;'%20offset='0.148438'%20/%3e%3cstop%20style='stop-color:%23211d21;stop-opacity:1;'%20offset='0.152344'%20/%3e%3cstop%20style='stop-color:%23221e22;stop-opacity:1;'%20offset='0.15625'%20/%3e%3cstop%20style='stop-color:%23231e23;stop-opacity:1;'%20offset='0.160156'%20/%3e%3cstop%20style='stop-color:%23241f24;stop-opacity:1;'%20offset='0.164062'%20/%3e%3cstop%20style='stop-color:%23252025;stop-opacity:1;'%20offset='0.167969'%20/%3e%3cstop%20style='stop-color:%23262026;stop-opacity:1;'%20offset='0.171875'%20/%3e%3cstop%20style='stop-color:%23272127;stop-opacity:1;'%20offset='0.175781'%20/%3e%3cstop%20style='stop-color:%23272227;stop-opacity:1;'%20offset='0.179688'%20/%3e%3cstop%20style='stop-color:%23282328;stop-opacity:1;'%20offset='0.183594'%20/%3e%3cstop%20style='stop-color:%23292329;stop-opacity:1;'%20offset='0.1875'%20/%3e%3cstop%20style='stop-color:%232a242a;stop-opacity:1;'%20offset='0.191406'%20/%3e%3cstop%20style='stop-color:%232b252b;stop-opacity:1;'%20offset='0.195313'%20/%3e%3cstop%20style='stop-color:%232c262c;stop-opacity:1;'%20offset='0.199219'%20/%3e%3cstop%20style='stop-color:%232c262c;stop-opacity:1;'%20offset='0.203125'%20/%3e%3cstop%20style='stop-color:%232d272d;stop-opacity:1;'%20offset='0.207031'%20/%3e%3cstop%20style='stop-color:%232e282e;stop-opacity:1;'%20offset='0.210937'%20/%3e%3cstop%20style='stop-color:%232f292f;stop-opacity:1;'%20offset='0.214844'%20/%3e%3cstop%20style='stop-color:%23302930;stop-opacity:1;'%20offset='0.21875'%20/%3e%3cstop%20style='stop-color:%23312a31;stop-opacity:1;'%20offset='0.222656'%20/%3e%3cstop%20style='stop-color:%23322b32;stop-opacity:1;'%20offset='0.226562'%20/%3e%3cstop%20style='stop-color:%23322c32;stop-opacity:1;'%20offset='0.230469'%20/%3e%3cstop%20style='stop-color:%23332c33;stop-opacity:1;'%20offset='0.234375'%20/%3e%3cstop%20style='stop-color:%23342d34;stop-opacity:1;'%20offset='0.238281'%20/%3e%3cstop%20style='stop-color:%23352e35;stop-opacity:1;'%20offset='0.242188'%20/%3e%3cstop%20style='stop-color:%23362e36;stop-opacity:1;'%20offset='0.246094'%20/%3e%3cstop%20style='stop-color:%23372f37;stop-opacity:1;'%20offset='0.25'%20/%3e%3cstop%20style='stop-color:%23383038;stop-opacity:1;'%20offset='0.253906'%20/%3e%3cstop%20style='stop-color:%23383138;stop-opacity:1;'%20offset='0.257812'%20/%3e%3cstop%20style='stop-color:%23393139;stop-opacity:1;'%20offset='0.261719'%20/%3e%3cstop%20style='stop-color:%233a323a;stop-opacity:1;'%20offset='0.265625'%20/%3e%3cstop%20style='stop-color:%233b333b;stop-opacity:1;'%20offset='0.269531'%20/%3e%3cstop%20style='stop-color:%233c343c;stop-opacity:1;'%20offset='0.273438'%20/%3e%3cstop%20style='stop-color:%233d343d;stop-opacity:1;'%20offset='0.277344'%20/%3e%3cstop%20style='stop-color:%233e353e;stop-opacity:1;'%20offset='0.28125'%20/%3e%3cstop%20style='stop-color:%233e363e;stop-opacity:1;'%20offset='0.285156'%20/%3e%3cstop%20style='stop-color:%233f373f;stop-opacity:1;'%20offset='0.289062'%20/%3e%3cstop%20style='stop-color:%23403740;stop-opacity:1;'%20offset='0.292969'%20/%3e%3cstop%20style='stop-color:%23413841;stop-opacity:1;'%20offset='0.296875'%20/%3e%3cstop%20style='stop-color:%23423942;stop-opacity:1;'%20offset='0.300781'%20/%3e%3cstop%20style='stop-color:%23433a43;stop-opacity:1;'%20offset='0.304688'%20/%3e%3cstop%20style='stop-color:%23443a44;stop-opacity:1;'%20offset='0.308594'%20/%3e%3cstop%20style='stop-color:%23443b44;stop-opacity:1;'%20offset='0.3125'%20/%3e%3cstop%20style='stop-color:%23453c45;stop-opacity:1;'%20offset='0.316406'%20/%3e%3cstop%20style='stop-color:%23463d46;stop-opacity:1;'%20offset='0.320312'%20/%3e%3cstop%20style='stop-color:%23473d47;stop-opacity:1;'%20offset='0.324219'%20/%3e%3cstop%20style='stop-color:%23483e48;stop-opacity:1;'%20offset='0.328125'%20/%3e%3cstop%20style='stop-color:%23493f49;stop-opacity:1;'%20offset='0.332031'%20/%3e%3cstop%20style='stop-color:%234a3f4a;stop-opacity:1;'%20offset='0.335937'%20/%3e%3cstop%20style='stop-color:%234a404a;stop-opacity:1;'%20offset='0.339844'%20/%3e%3cstop%20style='stop-color:%234b414b;stop-opacity:1;'%20offset='0.34375'%20/%3e%3cstop%20style='stop-color:%234c424c;stop-opacity:1;'%20offset='0.347656'%20/%3e%3cstop%20style='stop-color:%234d424d;stop-opacity:1;'%20offset='0.351562'%20/%3e%3cstop%20style='stop-color:%234e434e;stop-opacity:1;'%20offset='0.355469'%20/%3e%3cstop%20style='stop-color:%234f444f;stop-opacity:1;'%20offset='0.359375'%20/%3e%3cstop%20style='stop-color:%23504550;stop-opacity:1;'%20offset='0.363281'%20/%3e%3cstop%20style='stop-color:%23504550;stop-opacity:1;'%20offset='0.367188'%20/%3e%3cstop%20style='stop-color:%23514651;stop-opacity:1;'%20offset='0.371094'%20/%3e%3cstop%20style='stop-color:%23524752;stop-opacity:1;'%20offset='0.375'%20/%3e%3cstop%20style='stop-color:%23534853;stop-opacity:1;'%20offset='0.378906'%20/%3e%3cstop%20style='stop-color:%23544854;stop-opacity:1;'%20offset='0.382812'%20/%3e%3cstop%20style='stop-color:%23554955;stop-opacity:1;'%20offset='0.386719'%20/%3e%3cstop%20style='stop-color:%23564a56;stop-opacity:1;'%20offset='0.390625'%20/%3e%3cstop%20style='stop-color:%23564b56;stop-opacity:1;'%20offset='0.394531'%20/%3e%3cstop%20style='stop-color:%23574b57;stop-opacity:1;'%20offset='0.398438'%20/%3e%3cstop%20style='stop-color:%23584c58;stop-opacity:1;'%20offset='0.402344'%20/%3e%3cstop%20style='stop-color:%23594d59;stop-opacity:1;'%20offset='0.40625'%20/%3e%3cstop%20style='stop-color:%235a4d5a;stop-opacity:1;'%20offset='0.410156'%20/%3e%3cstop%20style='stop-color:%235b4e5b;stop-opacity:1;'%20offset='0.414062'%20/%3e%3cstop%20style='stop-color:%235c4f5c;stop-opacity:1;'%20offset='0.417969'%20/%3e%3cstop%20style='stop-color:%235c505c;stop-opacity:1;'%20offset='0.421875'%20/%3e%3cstop%20style='stop-color:%235d505d;stop-opacity:1;'%20offset='0.425781'%20/%3e%3cstop%20style='stop-color:%235e515e;stop-opacity:1;'%20offset='0.429687'%20/%3e%3cstop%20style='stop-color:%235f525f;stop-opacity:1;'%20offset='0.433594'%20/%3e%3cstop%20style='stop-color:%23605360;stop-opacity:1;'%20offset='0.4375'%20/%3e%3cstop%20style='stop-color:%23615361;stop-opacity:1;'%20offset='0.441406'%20/%3e%3cstop%20style='stop-color:%23625462;stop-opacity:1;'%20offset='0.445312'%20/%3e%3cstop%20style='stop-color:%23625562;stop-opacity:1;'%20offset='0.449219'%20/%3e%3cstop%20style='stop-color:%23635663;stop-opacity:1;'%20offset='0.453125'%20/%3e%3cstop%20style='stop-color:%23645664;stop-opacity:1;'%20offset='0.457031'%20/%3e%3cstop%20style='stop-color:%23655765;stop-opacity:1;'%20offset='0.460938'%20/%3e%3cstop%20style='stop-color:%23665866;stop-opacity:1;'%20offset='0.464844'%20/%3e%3cstop%20style='stop-color:%23675967;stop-opacity:1;'%20offset='0.46875'%20/%3e%3cstop%20style='stop-color:%23685968;stop-opacity:1;'%20offset='0.472656'%20/%3e%3cstop%20style='stop-color:%23685a68;stop-opacity:1;'%20offset='0.476562'%20/%3e%3cstop%20style='stop-color:%23695b69;stop-opacity:1;'%20offset='0.480469'%20/%3e%3cstop%20style='stop-color:%236a5c6a;stop-opacity:1;'%20offset='0.484375'%20/%3e%3cstop%20style='stop-color:%236b5c6b;stop-opacity:1;'%20offset='0.488281'%20/%3e%3cstop%20style='stop-color:%236c5d6c;stop-opacity:1;'%20offset='0.492188'%20/%3e%3cstop%20style='stop-color:%236d5e6d;stop-opacity:1;'%20offset='0.496094'%20/%3e%3cstop%20style='stop-color:%236e5e6e;stop-opacity:1;'%20offset='0.5'%20/%3e%3cstop%20style='stop-color:%236e5f6e;stop-opacity:1;'%20offset='0.503906'%20/%3e%3cstop%20style='stop-color:%236f606f;stop-opacity:1;'%20offset='0.507812'%20/%3e%3cstop%20style='stop-color:%23706170;stop-opacity:1;'%20offset='0.511719'%20/%3e%3cstop%20style='stop-color:%23716171;stop-opacity:1;'%20offset='0.515625'%20/%3e%3cstop%20style='stop-color:%23726272;stop-opacity:1;'%20offset='0.519531'%20/%3e%3cstop%20style='stop-color:%23736373;stop-opacity:1;'%20offset='0.523438'%20/%3e%3cstop%20style='stop-color:%23746474;stop-opacity:1;'%20offset='0.527344'%20/%3e%3cstop%20style='stop-color:%23746474;stop-opacity:1;'%20offset='0.53125'%20/%3e%3cstop%20style='stop-color:%23756575;stop-opacity:1;'%20offset='0.535156'%20/%3e%3cstop%20style='stop-color:%23766676;stop-opacity:1;'%20offset='0.539062'%20/%3e%3cstop%20style='stop-color:%23776777;stop-opacity:1;'%20offset='0.542969'%20/%3e%3cstop%20style='stop-color:%23786778;stop-opacity:1;'%20offset='0.546875'%20/%3e%3cstop%20style='stop-color:%23796879;stop-opacity:1;'%20offset='0.550781'%20/%3e%3cstop%20style='stop-color:%237a697a;stop-opacity:1;'%20offset='0.554688'%20/%3e%3cstop%20style='stop-color:%237a6a7a;stop-opacity:1;'%20offset='0.558594'%20/%3e%3cstop%20style='stop-color:%237b6a7b;stop-opacity:1;'%20offset='0.5625'%20/%3e%3cstop%20style='stop-color:%237c6b7c;stop-opacity:1;'%20offset='0.566406'%20/%3e%3cstop%20style='stop-color:%237d6c7d;stop-opacity:1;'%20offset='0.570312'%20/%3e%3cstop%20style='stop-color:%237e6d7e;stop-opacity:1;'%20offset='0.574219'%20/%3e%3cstop%20style='stop-color:%237f6d7f;stop-opacity:1;'%20offset='0.578125'%20/%3e%3cstop%20style='stop-color:%237f6e7f;stop-opacity:1;'%20offset='0.582031'%20/%3e%3cstop%20style='stop-color:%23806f80;stop-opacity:1;'%20offset='0.585938'%20/%3e%3cstop%20style='stop-color:%23816f81;stop-opacity:1;'%20offset='0.589844'%20/%3e%3cstop%20style='stop-color:%23827082;stop-opacity:1;'%20offset='0.59375'%20/%3e%3cstop%20style='stop-color:%23837183;stop-opacity:1;'%20offset='0.597656'%20/%3e%3cstop%20style='stop-color:%23847284;stop-opacity:1;'%20offset='0.601562'%20/%3e%3cstop%20style='stop-color:%23857285;stop-opacity:1;'%20offset='0.605469'%20/%3e%3cstop%20style='stop-color:%23857385;stop-opacity:1;'%20offset='0.609375'%20/%3e%3cstop%20style='stop-color:%23867486;stop-opacity:1;'%20offset='0.613281'%20/%3e%3cstop%20style='stop-color:%23877587;stop-opacity:1;'%20offset='0.617187'%20/%3e%3cstop%20style='stop-color:%23887588;stop-opacity:1;'%20offset='0.621094'%20/%3e%3cstop%20style='stop-color:%23897689;stop-opacity:1;'%20offset='0.625'%20/%3e%3cstop%20style='stop-color:%238a778a;stop-opacity:1;'%20offset='0.628906'%20/%3e%3cstop%20style='stop-color:%238b788b;stop-opacity:1;'%20offset='0.632812'%20/%3e%3cstop%20style='stop-color:%238b788b;stop-opacity:1;'%20offset='0.636719'%20/%3e%3cstop%20style='stop-color:%238c798c;stop-opacity:1;'%20offset='0.640625'%20/%3e%3cstop%20style='stop-color:%238d7a8d;stop-opacity:1;'%20offset='0.644531'%20/%3e%3cstop%20style='stop-color:%238e7b8e;stop-opacity:1;'%20offset='0.648438'%20/%3e%3cstop%20style='stop-color:%238f7b8f;stop-opacity:1;'%20offset='0.652344'%20/%3e%3cstop%20style='stop-color:%23907c90;stop-opacity:1;'%20offset='0.65625'%20/%3e%3cstop%20style='stop-color:%23917d91;stop-opacity:1;'%20offset='0.660156'%20/%3e%3cstop%20style='stop-color:%23917d91;stop-opacity:1;'%20offset='0.664063'%20/%3e%3cstop%20style='stop-color:%23927e92;stop-opacity:1;'%20offset='0.667969'%20/%3e%3cstop%20style='stop-color:%23937f93;stop-opacity:1;'%20offset='0.671875'%20/%3e%3cstop%20style='stop-color:%23948094;stop-opacity:1;'%20offset='0.675781'%20/%3e%3cstop%20style='stop-color:%23958095;stop-opacity:1;'%20offset='0.679688'%20/%3e%3cstop%20style='stop-color:%23968196;stop-opacity:1;'%20offset='0.683594'%20/%3e%3cstop%20style='stop-color:%23978297;stop-opacity:1;'%20offset='0.6875'%20/%3e%3cstop%20style='stop-color:%23978397;stop-opacity:1;'%20offset='0.691406'%20/%3e%3cstop%20style='stop-color:%23988398;stop-opacity:1;'%20offset='0.695313'%20/%3e%3cstop%20style='stop-color:%23998499;stop-opacity:1;'%20offset='0.699219'%20/%3e%3cstop%20style='stop-color:%239a859a;stop-opacity:1;'%20offset='0.703125'%20/%3e%3cstop%20style='stop-color:%239b869b;stop-opacity:1;'%20offset='0.707031'%20/%3e%3cstop%20style='stop-color:%239c869c;stop-opacity:1;'%20offset='0.710938'%20/%3e%3cstop%20style='stop-color:%239d879d;stop-opacity:1;'%20offset='0.714844'%20/%3e%3cstop%20style='stop-color:%239d889d;stop-opacity:1;'%20offset='0.71875'%20/%3e%3cstop%20style='stop-color:%239e899e;stop-opacity:1;'%20offset='0.722656'%20/%3e%3cstop%20style='stop-color:%239f899f;stop-opacity:1;'%20offset='0.726562'%20/%3e%3cstop%20style='stop-color:%23a08aa0;stop-opacity:1;'%20offset='0.730469'%20/%3e%3cstop%20style='stop-color:%23a18ba1;stop-opacity:1;'%20offset='0.734375'%20/%3e%3cstop%20style='stop-color:%23a28ba2;stop-opacity:1;'%20offset='0.738281'%20/%3e%3cstop%20style='stop-color:%23a38ca3;stop-opacity:1;'%20offset='0.742188'%20/%3e%3cstop%20style='stop-color:%23a38da3;stop-opacity:1;'%20offset='0.746094'%20/%3e%3cstop%20style='stop-color:%23a48ea4;stop-opacity:1;'%20offset='0.75'%20/%3e%3cstop%20style='stop-color:%23a58ea5;stop-opacity:1;'%20offset='0.753906'%20/%3e%3cstop%20style='stop-color:%23a68fa6;stop-opacity:1;'%20offset='0.757812'%20/%3e%3cstop%20style='stop-color:%23a790a7;stop-opacity:1;'%20offset='0.761719'%20/%3e%3cstop%20style='stop-color:%23a891a8;stop-opacity:1;'%20offset='0.765625'%20/%3e%3cstop%20style='stop-color:%23a991a9;stop-opacity:1;'%20offset='0.769531'%20/%3e%3cstop%20style='stop-color:%23a992a9;stop-opacity:1;'%20offset='0.773438'%20/%3e%3cstop%20style='stop-color:%23aa93aa;stop-opacity:1;'%20offset='0.777344'%20/%3e%3cstop%20style='stop-color:%23ab94ab;stop-opacity:1;'%20offset='0.78125'%20/%3e%3cstop%20style='stop-color:%23ac94ac;stop-opacity:1;'%20offset='0.785156'%20/%3e%3cstop%20style='stop-color:%23ad95ad;stop-opacity:1;'%20offset='0.789062'%20/%3e%3cstop%20style='stop-color:%23ae96ae;stop-opacity:1;'%20offset='0.792969'%20/%3e%3cstop%20style='stop-color:%23af97af;stop-opacity:1;'%20offset='0.796875'%20/%3e%3cstop%20style='stop-color:%23af97af;stop-opacity:1;'%20offset='0.800781'%20/%3e%3cstop%20style='stop-color:%23b098b0;stop-opacity:1;'%20offset='0.804687'%20/%3e%3cstop%20style='stop-color:%23b199b1;stop-opacity:1;'%20offset='0.808594'%20/%3e%3cstop%20style='stop-color:%23b29ab2;stop-opacity:1;'%20offset='0.8125'%20/%3e%3cstop%20style='stop-color:%23b39ab3;stop-opacity:1;'%20offset='0.816406'%20/%3e%3cstop%20style='stop-color:%23b49bb4;stop-opacity:1;'%20offset='0.820313'%20/%3e%3cstop%20style='stop-color:%23b59cb5;stop-opacity:1;'%20offset='0.824219'%20/%3e%3cstop%20style='stop-color:%23b59cb5;stop-opacity:1;'%20offset='0.828125'%20/%3e%3cstop%20style='stop-color:%23b69db6;stop-opacity:1;'%20offset='0.832031'%20/%3e%3cstop%20style='stop-color:%23b79eb7;stop-opacity:1;'%20offset='0.835938'%20/%3e%3cstop%20style='stop-color:%23b89fb8;stop-opacity:1;'%20offset='0.839844'%20/%3e%3cstop%20style='stop-color:%23b99fb9;stop-opacity:1;'%20offset='0.84375'%20/%3e%3cstop%20style='stop-color:%23baa0ba;stop-opacity:1;'%20offset='0.847656'%20/%3e%3cstop%20style='stop-color:%23bba1bb;stop-opacity:1;'%20offset='0.851563'%20/%3e%3cstop%20style='stop-color:%23bba2bb;stop-opacity:1;'%20offset='0.855469'%20/%3e%3cstop%20style='stop-color:%23bca2bc;stop-opacity:1;'%20offset='0.859375'%20/%3e%3cstop%20style='stop-color:%23bda3bd;stop-opacity:1;'%20offset='0.863281'%20/%3e%3cstop%20style='stop-color:%23bea4be;stop-opacity:1;'%20offset='0.867188'%20/%3e%3cstop%20style='stop-color:%23bfa5bf;stop-opacity:1;'%20offset='0.871094'%20/%3e%3cstop%20style='stop-color:%23c0a5c0;stop-opacity:1;'%20offset='0.875'%20/%3e%3cstop%20style='stop-color:%23c1a6c1;stop-opacity:1;'%20offset='0.878906'%20/%3e%3cstop%20style='stop-color:%23c1a7c1;stop-opacity:1;'%20offset='0.882813'%20/%3e%3cstop%20style='stop-color:%23c2a8c2;stop-opacity:1;'%20offset='0.886719'%20/%3e%3cstop%20style='stop-color:%23c3a8c3;stop-opacity:1;'%20offset='0.890625'%20/%3e%3cstop%20style='stop-color:%23c4a9c4;stop-opacity:1;'%20offset='0.894531'%20/%3e%3cstop%20style='stop-color:%23c5aac5;stop-opacity:1;'%20offset='0.898438'%20/%3e%3cstop%20style='stop-color:%23c6aac6;stop-opacity:1;'%20offset='0.902344'%20/%3e%3cstop%20style='stop-color:%23c7abc7;stop-opacity:1;'%20offset='0.90625'%20/%3e%3cstop%20style='stop-color:%23c7acc7;stop-opacity:1;'%20offset='0.910156'%20/%3e%3cstop%20style='stop-color:%23c8adc8;stop-opacity:1;'%20offset='0.914063'%20/%3e%3cstop%20style='stop-color:%23c9adc9;stop-opacity:1;'%20offset='0.917969'%20/%3e%3cstop%20style='stop-color:%23caaeca;stop-opacity:1;'%20offset='0.921875'%20/%3e%3cstop%20style='stop-color:%23cbafcb;stop-opacity:1;'%20offset='0.925781'%20/%3e%3cstop%20style='stop-color:%23ccb0cc;stop-opacity:1;'%20offset='0.929688'%20/%3e%3cstop%20style='stop-color:%23ccb0cc;stop-opacity:1;'%20offset='0.933594'%20/%3e%3cstop%20style='stop-color:%23cdb1cd;stop-opacity:1;'%20offset='0.9375'%20/%3e%3cstop%20style='stop-color:%23ceb2ce;stop-opacity:1;'%20offset='0.941406'%20/%3e%3cstop%20style='stop-color:%23cfb3cf;stop-opacity:1;'%20offset='0.945312'%20/%3e%3cstop%20style='stop-color:%23d0b3d0;stop-opacity:1;'%20offset='0.949219'%20/%3e%3cstop%20style='stop-color:%23d1b4d1;stop-opacity:1;'%20offset='0.953125'%20/%3e%3cstop%20style='stop-color:%23d2b5d2;stop-opacity:1;'%20offset='0.957031'%20/%3e%3cstop%20style='stop-color:%23d2b6d2;stop-opacity:1;'%20offset='0.960938'%20/%3e%3cstop%20style='stop-color:%23d3b6d3;stop-opacity:1;'%20offset='0.964844'%20/%3e%3cstop%20style='stop-color:%23d4b7d4;stop-opacity:1;'%20offset='0.96875'%20/%3e%3cstop%20style='stop-color:%23d5b8d5;stop-opacity:1;'%20offset='0.972656'%20/%3e%3cstop%20style='stop-color:%23d6b9d6;stop-opacity:1;'%20offset='0.976562'%20/%3e%3cstop%20style='stop-color:%23d7b9d7;stop-opacity:1;'%20offset='0.980469'%20/%3e%3cstop%20style='stop-color:%23d8bad8;stop-opacity:1;'%20offset='0.984375'%20/%3e%3cstop%20style='stop-color:%23d8bbd8;stop-opacity:1;'%20offset='0.988281'%20/%3e%3cstop%20style='stop-color:%23d9bbd9;stop-opacity:1;'%20offset='0.992187'%20/%3e%3cstop%20style='stop-color:%23dabcda;stop-opacity:1;'%20offset='0.996094'%20/%3e%3cstop%20style='stop-color:%23dbbddb;stop-opacity:1;'%20offset='1'%20/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='7ab0b42688'%3e%3cg%20clip-rule='nonzero'%20clip-path='url(%23f4898d2ac4)'%3e%3cg%20clip-rule='nonzero'%20clip-path='url(%23bdaeedaae6)'%3e%3cpath%20style='%20stroke:none;fill-rule:nonzero;fill:url(%23f66ee0458f);'%20d='M%2069.5%2069.5%20L%2069.5%20305.5%20L%20305.5%20305.5%20L%20305.5%2069.5%20Z%20M%2069.5%2069.5%20'%20/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";function C(...e){return e.filter(Boolean).join(" ")}function Bo({children:e,class:t,containerRef:r,style:i}){return c("div",{ref:r,style:i,class:C("flex min-h-0 flex-col overflow-hidden rounded-card","border border-line bg-surface",t),children:[c("div",{class:"brand-rule"}),e]})}function k$({compact:e}={}){const t=e?12:13;return c("a",{class:C("inline-flex items-center text-ink-faint transition-colors","font-mono tracking-[0.04em] hover:text-accent","focus-visible:rounded-badge focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",e?"gap-1.5 text-micro":"gap-[7px] text-chip"),href:"https://casys.ai",target:"_blank",rel:"noopener noreferrer",children:[c("img",{src:y$,alt:"",width:t,height:t,class:C("block",e?"size-3":"size-[13px]")}),c("span",{children:"Powered by Casys.ai"})]})}function iu({children:e,narrow:t}){return c("span",{class:C("shrink-0 rounded-badge bg-count py-0.5 font-mono text-ink-muted",t?"px-1.5 text-chip":"px-[7px] text-meta"),children:e})}function x$({label:e}){const t=he();return c("span",{class:"flex shrink-0 items-center gap-1.5",children:[c("span",{class:"size-[5px] rounded-full bg-ok"}),c("span",{class:"font-mono text-micro uppercase tracking-live text-ink-faint",children:e??t("layout.live")})]})}function mt({children:e,class:t}){return c("span",{class:C("font-mono text-micro uppercase tracking-label text-ink-faint",t),children:e})}const $$={accent:"bg-accent/14 border-accent-edge text-accent-text hover:bg-accent/22",secondary:"bg-control border-line text-ink-muted hover:border-line-hover hover:text-ink",danger:"bg-transparent border-bad/30 text-bad hover:bg-bad/10",quiet:"bg-count border-transparent text-ink-muted hover:text-ink"};function Ge({variant:e="secondary",class:t,children:r,...i}){return c("button",{type:"button",class:C("rounded-control border px-3 py-[7px] font-sans text-data font-medium","transition-colors disabled:cursor-not-allowed disabled:opacity-50","focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",$$[e],t),...i,children:r})}function gd({class:e,children:t,...r}){return c("button",{type:"button",class:C("rounded-control border border-line bg-count px-2.5 py-[5px]","font-mono text-meta text-ink-muted transition-colors","hover:border-line-hover hover:text-ink","disabled:cursor-not-allowed disabled:opacity-40 disabled:hover:text-ink-muted","focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",e),...r,children:t})}function bd({active:e,pill:t,children:r,...i}){return c("button",{type:"button","aria-pressed":e,class:C("shrink-0 border",t?"rounded-pill px-2.5 py-1":"rounded-chip px-2.5 py-[3px]","font-mono text-chip uppercase tracking-chip transition-colors","focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",e?"border-accent bg-accent/14 text-accent":"border-line bg-control text-ink-muted hover:border-line-hover hover:text-ink"),...i,children:r})}function w$({label:e,children:t,mono:r}){return c("div",{class:"flex items-baseline justify-between gap-2.5",children:[c("span",{class:"shrink-0 font-mono text-chip text-ink-faint",children:e}),c("span",{class:C("min-w-0 truncate text-right text-note text-ink-2",r&&"font-mono tabular-nums"),children:t})]})}function lg({label:e,children:t,layout:r="wide"}){const i=r!=="wide";return c("div",{class:C("flex shrink-0 items-baseline justify-between gap-2.5","border-t border-line bg-sunken",i?"px-3 py-[11px]":"px-3.5 py-2.5"),children:[c(mt,{children:e}),c("span",{class:C("font-semibold tabular-nums text-ink",i?"font-display text-title":"font-mono text-lede"),children:t})]})}const S$={accent:"bg-accent",ok:"bg-ok",warn:"bg-warn",bad:"bg-bad",brand:"bg-brand"};function I$({value:e,tone:t="accent"}){const r=Math.max(0,Math.min(100,e));return c("div",{class:"h-[3px] overflow-hidden rounded-bar bg-track",children:c("div",{class:C("h-full rounded-bar",S$[t]),style:{width:`${r}%`}})})}function ug({title:e,eyebrow:t,children:r,footer:i,onClose:n,size:o="compact",bodyClass:a}){const s=he(),u=ge(null),l=ge(n);return l.current=n,Ie(()=>{const d=document.activeElement instanceof HTMLElement?document.activeElement:null;function p(m){if(m.key==="Escape"){m.preventDefault(),l.current();return}if(m.key!=="Tab")return;const f=u.current;if(!f)return;const h=Array.from(f.querySelectorAll('a[href], button:not([disabled]), iframe, input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(S=>!S.hasAttribute("hidden"));if(h.length===0){m.preventDefault(),f.focus();return}const g=h[0],v=h[h.length-1],w=document.activeElement;m.shiftKey&&(w===g||w===f)?(m.preventDefault(),v.focus()):!m.shiftKey&&w===v&&(m.preventDefault(),g.focus())}return document.addEventListener("keydown",p),u.current?.focus(),()=>{document.removeEventListener("keydown",p),d?.isConnected&&d.focus()}},[]),c("div",{class:C("fixed inset-0 z-50 flex items-center justify-center bg-scrim",o==="preview"?"p-3 md:p-6":"p-6"),onClick:d=>{d.target===d.currentTarget&&n()},children:c("div",{ref:u,role:"dialog","aria-modal":"true","aria-label":e,tabIndex:-1,class:C("flex max-h-full w-full flex-col overflow-hidden rounded-card border border-line-modal bg-surface shadow-modal outline-none",o==="preview"?"h-[min(92vh,860px)] max-w-[1080px]":o==="wide"?"max-w-[680px]":"max-w-[436px]"),children:[c("div",{class:"brand-rule"}),c("header",{class:"flex shrink-0 items-start justify-between gap-4 border-b border-line px-4 py-[13px]",children:[c("div",{class:"flex min-w-0 flex-col gap-[3px]",children:[t&&c(mt,{children:t}),c("h2",{class:"truncate font-display text-card-title font-semibold text-ink",children:e})]}),c("button",{type:"button",onClick:n,"aria-label":s("common.close"),class:C("-mr-1 -mt-1 flex shrink-0 items-center justify-center rounded-touch text-lede leading-none text-ink-faint transition-colors hover:bg-row-hover hover:text-ink focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",o==="preview"?"size-11":"size-8"),children:"×"})]}),c("div",{class:C("scroll-slim flex min-h-0 flex-col overflow-y-auto bg-surface",o==="preview"?"gap-0 p-0":"gap-4 p-4",a),children:r}),i&&c("footer",{class:"flex shrink-0 flex-col border-t border-line",children:i})]})})}function dg({children:e,label:t}){return c("div",{class:"flex flex-wrap items-center gap-1.5 border-t border-line-soft px-4 py-3 first:border-t-0",children:[t&&c(mt,{class:"mr-1",children:t}),e]})}function Wt({children:e,tone:t="neutral"}){return c("p",{class:C("m-4 rounded-control border border-dashed px-4 py-6 text-center text-data",t==="bad"?"border-bad/30 text-bad":"border-line text-ink-muted"),children:e})}function ft({class:e,style:t}){return c("div",{class:C("skeleton",e),style:t})}const z$=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(",");function _d(e){return e==="shared"||e==="cleared"}function yd(e,t){if(!e)return null;const r=Array.from(document.querySelectorAll(z$)),i=t?r.indexOf(t):-1;for(let n=i+1;n<r.length;n++)if(!e.contains(r[n]))return r[n];for(let n=i-1;n>=0;n--)if(!e.contains(r[n]))return r[n];return r.find(n=>!e.contains(n))??null}function kd(e){queueMicrotask(()=>{if(typeof requestAnimationFrame!="function"){e();return}requestAnimationFrame(()=>requestAnimationFrame(e))})}function yo(e){return`${e.scopeKey}:${e.item.id}`}function T$({selections:e,failed:t=!1,pending:r=!1,evictedLabel:i,onRemove:n,onClear:o,compact:a=!1,popoverAlign:s="end",class:u}){const l=he(),[d,p]=ie(!1),m=ge(null),f=ge(null),h=ge(null),g=ge(new Map),v=vb(),w=e,S=w.length;if(Ie(()=>{S<=1&&p(!1)},[S]),Ie(()=>{if(!d)return;function b(z){m.current?.contains(z.target)||p(!1)}function D(z){z.key==="Escape"&&(p(!1),f.current?.focus())}return document.addEventListener("pointerdown",b),document.addEventListener("keydown",D),()=>{document.removeEventListener("pointerdown",b),document.removeEventListener("keydown",D)}},[d]),S===0&&!t&&!r)return null;const $=async(b,D)=>{const z=yd(m.current,document.activeElement),y=w.filter(A=>yo(A)!==yo(b));let T;try{T=await(n?n(b):o())}catch{return}_d(T)&&kd(()=>{if(y.length===0){z?.isConnected&&z.focus({preventScroll:!0});return}if(y.length===1){h.current?.focus({preventScroll:!0});return}const A=y[Math.min(D,y.length-1)];g.current.get(yo(A))?.focus({preventScroll:!0})})},P=async()=>{const b=yd(m.current,document.activeElement);b&&b.focus({preventScroll:!0}),p(!1);try{const D=await o();if(!_d(D))return;kd(()=>{b?.isConnected&&b.focus({preventScroll:!0})})}catch{}};return c("span",{ref:m,"aria-busy":r||void 0,class:C("relative inline-flex min-w-0 max-w-full items-center gap-1.5","font-mono text-chip text-ink-muted",u),children:[S===1&&c("span",{class:"inline-flex min-w-0 items-center gap-1 rounded-chip border border-accent-edge bg-accent/8 py-0.5 pl-2 pr-0.5","aria-live":"polite","aria-atomic":"true",children:[c("span",{class:C("shrink-0 text-accent-text",a&&"sr-only"),children:l("context.active.label")}),c("span",{class:C("truncate text-ink",a&&"max-w-24"),title:w[0].item.label,children:w[0].item.label}),c("button",{ref:h,type:"button",onClick:()=>void $(w[0],0),class:C("-my-0.5 grid size-6 shrink-0 place-items-center rounded-badge","text-[14px] leading-none text-ink-faint transition-colors","hover:bg-accent/12 hover:text-ink","focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-accent"),"aria-label":l("context.active.clear",{label:w[0].item.label}),title:l("context.active.clear",{label:w[0].item.label}),children:c("span",{"aria-hidden":"true",children:"×"})})]}),S>1&&c(Pe,{children:[c("button",{ref:f,type:"button",class:C("inline-flex items-center gap-1 rounded-chip border border-accent-edge","bg-accent/8 px-2 py-1 text-accent-text transition-colors","hover:bg-accent/12 focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-accent"),"aria-expanded":d,"aria-controls":v,"aria-haspopup":"dialog",onClick:()=>p(b=>!b),children:[c("span",{"aria-live":"polite","aria-atomic":"true",children:[l("context.active.label")," · ",S]}),c("span",{"aria-hidden":"true",class:"text-ink-faint",children:d?"▴":"▾"})]}),d&&c("span",{id:v,role:"dialog","aria-label":l("context.active.items"),class:C("absolute top-full z-30 mt-1.5 w-56 max-w-[calc(100vw-24px)]",s==="start"?"left-0":"right-0","rounded-card border border-line-modal bg-control p-1.5 shadow-modal"),children:[c("span",{class:"flex max-h-64 flex-col overflow-y-auto",children:w.map((b,D)=>c("span",{class:"flex min-w-0 items-center gap-2 rounded-badge px-1.5 py-1 hover:bg-sunken",children:[c("span",{class:"min-w-0 flex-1",children:[c("span",{class:"block truncate text-chip text-ink",children:b.item.label}),c("span",{class:"block truncate text-micro text-ink-faint",children:[b.item.view,b.item.value?` · ${b.item.value}`:""]})]}),c("button",{ref:z=>{const y=yo(b);z?g.current.set(y,z):g.current.delete(y)},type:"button",class:C("grid size-6 shrink-0 place-items-center rounded-badge","text-[14px] leading-none text-ink-faint transition-colors","hover:bg-accent/12 hover:text-ink focus-visible:outline-2 focus-visible:outline-accent"),"aria-label":l("context.active.clear",{label:b.item.label}),title:l("context.active.clear",{label:b.item.label}),onClick:()=>void $(b,D),children:c("span",{"aria-hidden":"true",children:"×"})})]},`${b.scopeKey}:${b.item.id}`))}),c("button",{type:"button",class:C("mt-1 w-full rounded-badge border-t border-line-soft px-1.5 pt-1.5 text-left","text-micro text-ink-faint hover:text-bad focus-visible:outline-2 focus-visible:outline-accent"),onClick:()=>{P()},children:l("context.active.clear_all")})]})]}),r&&c("span",{role:"status","aria-live":"polite",class:"inline-flex min-w-0 items-center gap-1 text-ink-muted",title:l("context.active.pending"),children:[c("span",{"aria-hidden":"true",class:"shrink-0 animate-spin",children:"◌"}),c("span",{class:"truncate",children:l("context.active.pending")})]}),t&&c("span",{role:"status",class:"inline-flex shrink-0 items-center gap-1 text-bad",title:l("context.active.error"),children:[c("span",{"aria-hidden":"true",children:"!"}),c("span",{class:a&&S>0?"sr-only":void 0,children:l("context.active.error")})]}),i&&c("span",{role:"status","aria-live":"polite",class:C("truncate text-micro text-ink-muted",a?"max-w-24":"max-w-36"),title:l("context.active.evicted",{label:i}),children:l("context.active.evicted",{label:i})})]})}const P$="casys.erpnext/active-context",j$=2,Vo=8,E$=5*1024*1024,D$=32*1024,ga={id:180,view:120,label:240,value:240,resourceUri:1024,resourceMimeType:160};function Ct(e){return typeof e=="object"&&e!==null}function ba(e){return Ct(e?.updateModelContext?.structuredContent)?"structuredContent":Ct(e?.updateModelContext?.text)?"text":null}function C$(e){return ba(e)!==null}function mg(e){for(const t of e){const r=t.codePointAt(0)??0;if(r<=31||r===127)return!0}return!1}function O$(e){const t=e.trim();return t.length>0&&t.length<=ga.resourceUri&&/^[A-Za-z][A-Za-z0-9+.-]*:/.test(t)&&!mg(t)}function pg(e){const t=e.trim(),r=t.split(";",1)[0].trim();return t.length<=ga.resourceMimeType&&/^[A-Za-z0-9!#$&^_.+-]+\/[A-Za-z0-9!#$&^_.+-]+$/.test(r)&&!mg(t)}function _a(e){return e!==void 0&&e.bytes instanceof Uint8Array&&e.bytes.byteLength>0&&e.bytes.byteLength<=E$&&O$(e.uri)&&pg(e.mimeType)}function A$(e,t){return ba(e)!==null&&Ct(e?.updateModelContext?.resource)&&_a(t)}function fg(e){return typeof e=="object"&&e!==null&&"isError"in e&&e.isError===!0}function N$(e,t){return e.id===t.id&&e.view===t.view&&e.reconcileKey===t.reconcileKey&&e.label===t.label&&e.value===t.value&&U$(e.resource,t.resource)}function U$(e,t){if(e===t)return!0;if(!e||!t||e.uri!==t.uri||e.mimeType!==t.mimeType||e.textFallback!==t.textFallback||e.bytes.byteLength!==t.bytes.byteLength)return!1;if(e.bytes===t.bytes)return!0;for(let r=0;r<e.bytes.byteLength;r+=1)if(e.bytes[r]!==t.bytes[r])return!1;return!0}function hg(e){const{resource:t,...r}=e;return r}function vg(e){return e.item.resource?{...e,item:hg(e.item)}:e}function ya(e){let t=-1;for(let r=e.length-1;r>=0;r-=1)if(_a(e[r].item.resource)){t=r;break}return e.map((r,i)=>i===t?r:vg(r))}function gg(e,t){return e.scopeKey===t.scopeKey&&N$(e.item,t.item)}function Pa(e,t){return e.length===t.length&&e.every((r,i)=>gg(r,t[i]))}function ja(e,t,r){const i=ya(e),n=i.find(p=>p.scopeKey===t&&p.item.id===r.id)?.item,o=_a(r.resource)?r.resource:void 0,a="resource"in r&&r.resource===void 0,s=o??(a?void 0:n?.resource),u=r.resource===s?r:{...hg(r),...s?{resource:s}:{}},l=i.filter(p=>p.scopeKey!==t||p.item.id!==r.id).map(p=>o?vg(p):p);l.push({scopeKey:t,item:u});const d=Math.max(0,l.length-Vo);return{selections:l.slice(-Vo),evicted:d>0?l[d-1]:null}}function Ea(e,t){return ya(e.filter(r=>r.scopeKey===t))}function R$(e,t){return ya(e.filter(r=>r.scopeKey!==t.scopeKey||r.item.id!==t.item.id))}function bg(e,t=[]){let r=t.slice();for(const i of e)i.active&&(r=i.apply(r));return r}function L$(e,t){const r=t.findIndex(n=>n.reversible),i=r===-1?t.length:r;return i===0?{base:e.slice(),mutations:t.slice()}:{base:bg(t.slice(0,i),e),mutations:t.slice(i)}}function M$(e,t,r){return au(e,t,r,()=>!0)}function Z$(e,t,r,i){const n=o=>o.reconcileKey??o.view;return au(e,t,i.filter(o=>n(o)===r),o=>e.some(a=>a.scopeKey===t&&a.item.id===o&&n(a.item)===r))}function F$(e,t,r,i){const n=`${r}:row:`,o=a=>a===r||a.startsWith(n);return au(e,t,i.filter(a=>o(a.id)),o)}function au(e,t,r,i){const n=new Map(r.map(u=>[u.id,u])),o=[];let a=!1;for(const u of e){if(u.scopeKey!==t||!i(u.item.id)){o.push(u);continue}const l=n.get(u.item.id);if(!l){a=!0;continue}const d=u.item.resource&&!("resource"in l)?{...l,resource:u.item.resource}:l,p={scopeKey:t,item:d};gg(u,p)||(a=!0),o.push(p)}const s=ya(o);return s.some((u,l)=>u!==o[l])&&(a=!0),a?s:e.slice()}function q$(){let e=Promise.resolve();return{run(t){const r=e.then(t,t);return e=r.then(()=>{},()=>{}),r}}}function Da(e,t){const r=e.trim();if(!r)throw new TypeError(`Active context ${t} is empty`);return Array.from(r).slice(0,ga[t]).join("")}function H$(e){if(e===void 0)return;const t=e.trim();if(t)return Array.from(t).slice(0,ga.value).join("")}function J$(e){const t=H$(e.value);return{id:Da(e.id,"id"),view:Da(e.view,"view"),label:Da(e.label,"label"),...t===void 0?{}:{value:t}}}function B$(e){return{schema:P$,version:j$,items:e.slice(-Vo).map(J$)}}function V$(e){for(let t=e.length-1;t>=0;t-=1)if(e[t].resource)return e[t].resource}function K$(e){const r=[];for(let i=0;i<e.byteLength;i+=24576){let n="";const o=Math.min(i+24576,e.byteLength);for(let a=i;a<o;a+=1)n+=String.fromCharCode(e[a]);r.push(btoa(n))}return r.join("")}function W$(e){if(!_a(e))throw new TypeError("Active context resource is invalid or too large");return{type:"resource",resource:{uri:e.uri.trim(),mimeType:e.mimeType.trim(),blob:K$(e.bytes)}}}function G$(e){const t=e.trim().split(";",1)[0].trim().toLowerCase();return t==="application/json"||t.startsWith("text/")}function Y$(e){if(!e||typeof e.textFallback!="string"||!pg(e.mimeType)||!G$(e.mimeType)||e.textFallback.length===0)return;const t=new TextEncoder().encode(e.textFallback).byteLength;if(!(t===0||t>D$))return e.textFallback}async function os(e,t){const r=e.getHostCapabilities(),i=ba(r);if(!i)return"unsupported";try{const n=t.slice(-Vo),o=B$(n),a=V$(n),s=a&&Ct(r?.updateModelContext?.resource)?W$(a):void 0,u=Ct(r?.updateModelContext?.text),l=u||Ct(r?.updateModelContext?.resource),d=!s&&u?Y$(a):void 0,p=s?[s]:d?[{type:"text",text:d}]:[],m=i==="structuredContent"?{structuredContent:o,...l?{content:p}:{}}:{content:[{type:"text",text:JSON.stringify(o)},...p]},f=await e.updateModelContext(m);return fg(f)?"error":"shared"}catch{return"error"}}async function xd(e){const t=e.getHostCapabilities(),r=ba(t);if(!r)return"unsupported";const i=Ct(t?.updateModelContext?.resource)||Ct(t?.updateModelContext?.text),n=r==="structuredContent"?{structuredContent:{},...i?{content:[]}:{}}:{content:[]};try{const o=await e.updateModelContext(n);return fg(o)?"error":"cleared"}catch{return"error"}}function X$(e){return Number.isFinite(e)&&e<=1}function Ko({expanded:e,label:t,onToggle:r,controls:i,touch:n=!1,hintSide:o="left",class:a}){const s=he(),u=e!==void 0,l=s(e===!0?"interaction.detail.close":"interaction.detail.open",{label:t}),d=s(e===!0?"interaction.detail.close_hint":"interaction.detail.open_hint");return c("button",{type:"button","aria-label":l,"aria-expanded":u?e:void 0,"aria-controls":i,"data-detail-hint":d,"data-detail-hint-side":o,onClick:p=>{p.stopPropagation(),X$(p.detail)&&r()},onDblClick:p=>p.stopPropagation(),class:C("detail-toggle group/detail inline-flex shrink-0 items-center justify-center rounded-chip text-ink-faint transition-colors hover:bg-control hover:text-accent focus-visible:outline-2 focus-visible:outline-accent",n?"size-10":"size-7",a),children:c("span",{"aria-hidden":"true",class:C("select-none font-mono text-[14px] leading-none transition-transform duration-150",e===!0&&"rotate-90 text-accent"),children:u?"›":"↗"})})}const Q$=Object.freeze(["wide","panel","mobile"]),ew=480;function tw(e){return e!==null&&e<ew}function nw(e){const t=new URLSearchParams(e).get("layout");return Q$.includes(t)?t:null}function rw(e,t){return Wo(e?.containerDimensions?.width)??Wo(e?.containerDimensions?.maxWidth)??t}function ow(e,t){const r=e?.deviceCapabilities;return r?.touch!==void 0?r.touch&&r.hover!==!0:t}function iw(e){return e.forced?e.forced:tw(e.width)?e.touch?"mobile":"panel":"wide"}function _g(e){const t=Wo(e?.height);if(t!==void 0)return{height:`${t}px`};const r=Wo(e?.maxHeight);return r!==void 0?{maxHeight:`${r}px`}:void 0}function Wo(e){return typeof e=="number"&&Number.isFinite(e)&&e>0?e:void 0}function aw(){const e=ge(null),[t,r]=ie(null);return wt(()=>{const i=e.current;if(!i)return;const n=sw(i);if(n!==null&&r(n),typeof ResizeObserver>"u")return;const o=new ResizeObserver(a=>{const s=a[0];s&&r(s.contentRect.width)});return o.observe(i),()=>o.disconnect()},[]),[e,t]}function sw(e){const t=e.clientWidth;let r;if(typeof t=="number")r=t;else{const n=e.getBoundingClientRect?.()?.width;if(typeof n!="number"||n===0)return null;r=n}if(typeof getComputedStyle!="function")return r;const i=getComputedStyle(e);return r-(parseFloat(i.paddingLeft)||0)-(parseFloat(i.paddingRight)||0)}function cw(){return typeof matchMedia=="function"&&matchMedia("(pointer: coarse)").matches}function lw(){const[e,t]=ie(cw);return Ie(()=>{if(typeof matchMedia!="function")return;const r=matchMedia("(pointer: coarse)"),i=n=>t(n.matches);return r.addEventListener("change",i),()=>r.removeEventListener("change",i)},[]),e}function uw(e,t={}){const[r,i]=aw(),n=lw(),o=t.forced!==void 0?t.forced:typeof location>"u"?null:nw(location.search),a=rw(e,i),s=iw({width:a,touch:ow(e,n),forced:o});return{ref:r,width:a,layout:s,boundsStyle:_g(e?.containerDimensions)}}function dw(){const e=$m();return uw(e)}function mw(e){return typeof e=="object"&&e!==null}function su(e){return mw(e?.message?.text)}async function cu(e,t){if(!su(e.getHostCapabilities()))return!1;try{const r=await e.sendMessage({role:"user",content:[{type:"text",text:t}]});return!(typeof r=="object"&&r!==null&&"isError"in r&&r.isError===!0)}catch{return!1}}function pw(e,t,r){return!t&&r?e:void 0}async function fw(e,t,r,i=()=>!0){if(await os(e,t)==="shared")return"context";if(!i())return"superseded";const o=r?.trim();if(!o)return"none";const a=await cu(e,o);return i()?a?"message":"none":"superseded"}function hw(e,t){let r=t,i=t,n=0,o={selections:[],pending:!1,failed:!1,evictedLabel:null};const a=new Set,s=q$(),u=new Set;let l=0,d=0,p=!0,m=[],f=[],h=0;function g(y){if(!Object.entries(y).every(([T,A])=>o[T]===A)){o={...o,...y};for(const T of a)T(o)}}function v(y=n,T){const A=++l,ne=T??A;return u.add(A),g({pending:!0}),Object.assign(V=>{if(!u.delete(A))return;const K={pending:u.size>0};V!==void 0&&y===n&&(!V||ne>=d)&&(d=Math.max(d,ne),K.failed=!V),g(K)},{id:A})}function w(){const y=L$(m,f);m=y.base,f=y.mutations}function S(y,T=!1){const A={id:++h,active:!0,reversible:T,apply:y};return f.push(A),w(),A}function $(y){f.includes(y)&&(y.reversible=!1,w())}function P(y){p=y.length===0,g({selections:y})}function b(y){return y.length===0?xd(e):os(e,y.map(T=>T.item))}function D(){const y=v();return g({evictedLabel:null}),s.run(async()=>{try{const T=await xd(e);return T==="cleared"&&(m=[],f=[],P([])),y(T==="cleared"),T}finally{y()}})}function z(y){const T=n,A=()=>T===n;function ne(L){return R=>ja(Ea(R,y),y,L).selections}function M(L,R){const Q=v(T);return s.run(async()=>{try{if(!A())return"superseded";const le=ja(Ea(o.selections,y),y,L),j=await fw(e,le.selections.map(N=>N.item),pw(R,o.selections.length>0,p),A);return j==="context"&&(S(ne(L)),P(le.selections),A()&&le.evicted&&g({evictedLabel:le.evicted.item.label})),Q(j==="context"),A()?j:"superseded"}finally{Q()}})}function V(L){const R=v(T);let Q=R.id;const le=s.run(async()=>{try{if(!A())return()=>!1;const j=ja(Ea(o.selections,y),y,L);if(await os(e,j.selections.map(Oe=>Oe.item))!=="shared")return R(!1),()=>!1;const q=S(ne(L),!0);P(j.selections),A()&&j.evicted&&g({evictedLabel:j.evicted.item.label}),R(!0);const W=()=>{const Oe=v(T,Q);return s.run(async()=>{try{if(!q.active||!f.includes(q))return!0;q.active=!1;const de=bg(f,m);if(Pa(o.selections,de))return!0;const F=await b(de),_e=F==="shared"||F==="cleared";return _e?(P(de),g({evictedLabel:null})):q.active=!0,Oe(_e),_e}finally{Oe()}})};return W.release=()=>$(q),W}finally{R()}});return Object.assign(le,{retainPending:()=>{const j=v(T);return Q=j.id,j}})}function K(L){const R=v(T);return s.run(async()=>{try{if(!A())return"superseded";const Q=q=>R$(q,L),le=Q(o.selections);if(Pa(o.selections,le))return S(Q),"unchanged";const j=await b(le),N=j==="shared"||j==="cleared";return N&&(S(Q),P(le)),R(N),j}finally{R()}})}function Y(L){return s.run(async()=>{if(!A())return"unchanged";const R=L(o.selections);if(Pa(o.selections,R))return S(L),"unchanged";const Q=v(T);try{const le=await b(R),j=le==="shared"||le==="cleared";return j&&(S(L),P(R)),Q(j),le}finally{Q()}})}function U(){return o.pending?new Promise(L=>{const R=Q=>{Q.pending||(a.delete(R),L())};a.add(R)}):Promise.resolve()}async function H(L,R){if(!await R||!A())return!1;for(;A();){await U();const Q=await s.run(()=>!A()||o.failed?Promise.resolve("cancel"):o.pending?Promise.resolve("retry"):(L(),Promise.resolve("sent")));if(Q!=="retry")return Q==="sent"}return!1}return{activate:M,activateReversible:V,remove:K,clear:D,runConversation:H,reconcile:L=>Y(R=>M$(R,y,L)),reconcileView:(L,R)=>Y(Q=>Z$(Q,y,L,R)),reconcileDocument:(L,R)=>Y(Q=>F$(Q,y,L,R)),isSelected:L=>o.selections.some(R=>R.scopeKey===y&&R.item.id===L.id)}}return{getSnapshot:()=>o,subscribe(y){return a.add(y),()=>{a.delete(y)}},setScope(y){r!==y&&(r=y,n+=1,p=!1)},clearPreviousScope(){if(i!==r)return i=r,D()},dismissEviction:()=>g({evictedLabel:null}),actionsForScope:z}}function vw(e,t){const r=Ve(()=>hw(e,t),[e]),[i,n]=ie(r.getSnapshot);r.setScope(t);const o=Ve(()=>r.actionsForScope(t),[r,t]);return wt(()=>{const a=r.subscribe(n);return n(r.getSnapshot()),a},[r]),wt(()=>{r.clearPreviousScope()},[r,t]),Ie(()=>{if(!i.evictedLabel)return;const a=setTimeout(r.dismissEviction,2400);return()=>clearTimeout(a)},[r,i.evictedLabel]),{...i,supported:C$(e.getHostCapabilities()),...o}}const gw=5e3;function bw(e,t){const r=setTimeout(e,t);return()=>clearTimeout(r)}function _w(e=bw){const t=new Map,r=new Map,i=new Map,n=new Set;function o(h){try{const g=h.onSingle(),v=Promise.resolve(g).then(w=>typeof w=="function"?w:void 0,()=>()=>!1);return Object.assign(v,{retainPending:g&&"retainPending"in g&&typeof g.retainPending=="function"?g.retainPending:void 0})}catch{return Promise.resolve(()=>!1)}}function a(h){const g=h.retainPending?.();return h.then(async v=>{try{return await v?.()!==!1}catch{return!1}finally{v?.release?.()}},()=>!1).finally(()=>g?.())}function s(h){h.then(g=>g?.release?.(),()=>{})}function u(){for(const h of t.values())h.cancelRelease(),s(h.committed);t.clear()}function l(h){const g=t.get(h);t.delete(h),g&&(g.cancelRelease(),s(g.committed)),r.delete(h),i.delete(h),n.delete(h)}function d(){u(),r.clear(),i.clear(),n.clear()}function p(h,g){l(h.key);const v=o(h);if(g){const w={committed:v,cancelRelease:()=>{}};t.set(h.key,w),w.cancelRelease=e(()=>{t.get(h.key)===w&&(t.delete(h.key),s(v))},gw)}else s(v)}function m(h){if(i.has(h.key)||n.has(h.key))return;const g=t.get(h.key);t.delete(h.key),g?.cancelRelease();const v=r.get(h.key)??(g?a(g.committed):null);if(r.delete(h.key),h.doublePolicy!=="local"&&h.runConversation){f(h,v??Promise.resolve(!0));return}if(!v){n.add(h.key),h.onDouble();return}const w={};i.set(h.key,w),h.doublePolicy==="local"&&h.onDouble(),v.then(S=>{i.get(h.key)===w&&(i.delete(h.key),n.add(h.key),S&&h.doublePolicy!=="local"&&h.onDouble())})}function f(h,g){const v={};i.set(h.key,v);const w=()=>{i.get(h.key)===v&&(i.delete(h.key),n.add(h.key))};h.runConversation(()=>{i.get(h.key)===v&&h.onDouble()},g).then(w,w)}return{click(h,g=1){if(g>=2){const v=t.get(h.key);t.delete(h.key),v?.cancelRelease(),v&&!r.has(h.key)&&r.set(h.key,a(v.committed));return}n.delete(h.key),u(),r.clear(),p(h,!0)},doubleClick:m,keyDown(h,g){if(!g.repeat){if(g.key===" "){g.preventDefault(),p(h,!1);return}g.key==="Enter"&&(g.preventDefault(),l(h.key),h.doublePolicy!=="local"&&h.runConversation?f(h,Promise.resolve(!0)):h.onDouble())}},cancel:l,cancelAll:d}}function ka(){const e=ge(null);e.current===null&&(e.current=_w());const t=e.current;return Ie(()=>()=>t.cancelAll(),[t]),t}const xa={ok:"border-l-ok",warn:"border-l-warn",bad:"border-l-bad",neutral:"border-l-transparent"},lu={ok:"bg-ok/14 text-ok",warn:"bg-warn/14 text-warn-text",bad:"bg-bad/14 text-bad",neutral:"bg-count text-ink-muted"},yg={ok:"text-ok",warn:"text-warn-text",bad:"text-bad",neutral:"text-ink-2"},yw={Paid:"ok",Completed:"ok",Submitted:"ok",Active:"ok",Enabled:"ok",Unpaid:"warn","Partly Paid":"warn","Partly Delivered":"warn",Pending:"warn","Pending Review":"warn","To Bill":"warn","To Deliver":"warn","To Deliver and Bill":"warn","On Hold":"warn",Overdue:"bad",Failed:"bad",Draft:"neutral",Open:"neutral",Working:"neutral",Cancelled:"neutral",Closed:"neutral",Disabled:"neutral","Credit Note Issued":"neutral",Return:"neutral"};function $a(e){return yw[e]??"neutral"}function kw(){return{generation:0,inFlight:null,pendingForced:!1}}function $d(e,t={}){if(e.inFlight!==null)return t.force?{state:{...e,generation:e.generation+1,pendingForced:!0},generation:null}:{state:e,generation:null};const r=e.generation+1;return{state:{generation:r,inFlight:r,pendingForced:!1},generation:r}}function wd(e){return{...e,generation:e.generation+1}}function xw(e,t){return e.inFlight!==t?{state:e,accept:!1,runPending:!1}:{state:{...e,inFlight:null},accept:e.generation===t,runPending:e.pendingForced}}function $w(e,t={}){return!e.request||e.visibilityState!=="visible"||e.refreshInFlight?!1:t.ignoreInterval?!0:e.now-e.lastRefreshStartedAt>=e.minIntervalMs}function Ca(e,t){return e?.refreshRequest??t}function ww(e){return e instanceof Error&&/timed? out/i.test(e.message)?ht("common.error.refresh_timeout"):ht("common.error.refresh_failed")}function Pt(e){return e.structuredContent?JSON.stringify(e.structuredContent):e.content?.find(t=>t.type==="text")?.text??null}const Sw=["outstanding_amount","grand_total","total","amount","base_grand_total","qty"];function Iw(e){for(const r of Sw)if(e.some(i=>i.id===r))return r;return e.filter(r=>r.numeric).at(-1)?.id}function zw(e,t){if(!t)return null;let r=0,i=!1;for(const n of e){const o=n[t];typeof o=="number"&&Number.isFinite(o)&&(r+=o,i=!0)}return i?r:null}function uu(e,t=14,r=2){if(e.length<=t)return e;const i=e.split("-");return i.length<=r?e:`…${i.slice(-r).join("-")}`}function kg(e,t,r){const i=e[0]?.id,n=e.find(o=>o.id!==i&&o.id!==t&&!o.numeric&&!r(o.id))?.id;return{idKey:i,labelKey:n,amountKey:t}}const Tw=new Set(["status","docstatus","workflow_state"]),Pw=new Set(["doctype","owner","modified_by","creation","modified","idx","_rowAction","_sendMessageHints"]),jw=new Set(["status","workflow_state","company","territory","customer_group","item_group","supplier_group","priority","type"]),Ew=6,Dw=["name","status","customer","customer_name","supplier","supplier_name","item_code","item_name","employee_name","project","subject","grand_total","outstanding_amount","posting_date","transaction_date","delivery_date"];function Cw(e){const t=[],r=[];for(const i of Dw)e.includes(i)&&t.push(i);for(const i of e.sort())t.includes(i)||r.push(i);return[...t,...r].slice(0,Ew)}function wa(e){return Tw.has(e.toLowerCase())}function vt(e){return e==null?"—":typeof e=="number"?pt(e,e%1===0?0:2):typeof e=="boolean"?ht(e?"common.yes":"common.no"):typeof e=="object"?JSON.stringify(e):String(e)}function Ow(e,t){let r=e;for(const i of t.split(".")){if(r==null||typeof r!="object")return;r=r[i]}return r}const Oa=20,Aw={};function Nw(e,t,r){const i=e.data??[],n=t.sortKey??null,o=t.sortDir??"asc",a=t.filter??"",s=t.page??0,u=t.chipFilters??Aw,l=t.expandedId??null,d=Ve(()=>{if(i.length<2)return[];const b=[];for(const D of Object.keys(i[0]??{})){if(!jw.has(D)&&!wa(D))continue;const z=new Set;for(const y of i){const T=y[D];if(T!=null&&typeof T=="string"&&z.add(T),z.size>8)break}z.size>=2&&z.size<=8&&b.push({col:D,values:Array.from(z).sort()})}return b},[i]),p=Ve(()=>{if(i.length===0)return[];const b=new Set;for(const D of i)for(const z of Object.keys(D))!Pw.has(z)&&!z.startsWith("_")&&b.add(z);return Cw(Array.from(b))},[i]),m=Ve(()=>{let b=i;for(const[D,z]of Object.entries(u))z&&(b=b.filter(y=>y[D]===z));if(a){const D=a.toLowerCase();b=b.filter(z=>p.some(y=>vt(z[y]).toLowerCase().includes(D)))}return b},[i,a,p,u]),f=Ve(()=>n?[...m].sort((b,D)=>{const z=b[n],y=D[n];if(z==null&&y==null)return 0;if(z==null)return 1;if(y==null)return-1;const T=typeof z=="number"&&typeof y=="number"?z-y:String(z).localeCompare(String(y));return o==="asc"?T:-T}):m,[m,n,o]),h=Math.ceil(f.length/Oa),g=f.slice(s*Oa,(s+1)*Oa),v=Ve(()=>p.map(b=>({id:b,label:b.replace(/_/g," "),numeric:i.some(D=>typeof D[b]=="number")})),[p,i]),w=Ve(()=>{const b={};for(const{col:D,values:z}of d){b[D]=Object.fromEntries(z.map(y=>[y,0]));for(const y of i){const T=y[D];typeof T=="string"&&T in b[D]&&(b[D][T]+=1)}}return b},[d,i]),S=Ve(()=>Iw(v),[v]),$=Ve(()=>zw(f,S),[f,S]),P=Ce(b=>{r(n===b?{sortDir:o==="asc"?"desc":"asc",expandedId:null}:{sortKey:b,sortDir:"asc",expandedId:null})},[n,o,r]);return{rows:i,rowAction:e._rowAction,columns:p,tableColumns:v,filterableColumns:d,chipCounts:w,filtered:m,sorted:f,pageRows:g,totalPages:h,amountKey:S,amountTotal:$,sortKey:n,sortDir:o,filter:a,page:s,chipFilters:u,expandedId:l,searchOpen:t.searchOpen??!1,handleSort:P,setFilter:b=>r({filter:b,page:0,expandedId:null}),setPage:b=>r({page:b,expandedId:null}),setExpandedId:b=>r({expandedId:b}),setSearchOpen:b=>r({searchOpen:b}),setChipFilter:(b,D)=>{const z={...u};D===null?delete z[b]:z[b]=D,r({chipFilters:z,page:0,expandedId:null})}}}function xg(e,t){return`${e}:${t}`}function $g(e){return{levels:[{ui:{},loading:!1,...e,id:xg(0,e.title)}],rootIdentity:du(e),nextId:1}}function du(e){return e.key?`key:${e.key}`:`root:${er({title:e.title,kind:e.kind,origin:e.origin??null,tool:e.tool??null})}`}function Uw(e,t){return e.rootIdentity===du(t)?e:$g(t)}function wg(e,t){return{levels:[...e.levels,{ui:{},loading:!1,...t,id:xg(e.nextId,t.title)}],rootIdentity:e.rootIdentity,nextId:e.nextId+1}}function Rw(e){return e.levels.length<=1?e:{...e,levels:e.levels.slice(0,-1)}}function Go(e,t){return t<0||t>=e.levels.length-1?e:{...e,levels:e.levels.slice(0,t+1)}}function ln(e,t,r){return e.levels.some(i=>i.id===t)?{...e,levels:e.levels.map(i=>i.id===t?{...i,...r}:i)}:e}function Lw(e,t,r){const i=e.levels.find(n=>n.id===t);return i?ln(e,t,{ui:{...i.ui,...r}}):e}function xn(e){return e.levels[e.levels.length-1]}function mu(e){return`${e.name}:${er(e.args)}`}function Mw(e,t,r){return`${e}:${er(t?{request:{name:t.toolName,args:t.arguments}}:{identity:r??null})}`}function er(e){return Array.isArray(e)?`[${e.map(er).join(",")}]`:e&&typeof e=="object"?`{${Object.keys(e).sort().map(t=>`${JSON.stringify(t)}:${er(e[t])}`).join(",")}}`:JSON.stringify(e)??"null"}function Zw(e,t){return e.levels.findIndex(r=>r.key===t)}function Fw(e,t,r){return{...e,levels:e.levels.map(i=>({...i,stale:{at:t,subject:r}}))}}function qw(e,t,r){const i={...r};return{...e,levels:e.levels.map(n=>({...n,stale:{at:t,subject:r.name,documentChange:i}}))}}function Sg(e,t){const r=e.levels.find(o=>o.id===t);if(!r||!r.stale)return e;const{stale:i,...n}=r;return{...e,levels:e.levels.map(o=>o.id===t?n:o)}}function Hw(e){const t=e.levels.map((a,s)=>({level:a,index:s})),r=t.length,i=t[r-1];if(r<=1)return{depth:r,showBar:!1,elided:[],parents:[],trail:[],current:i};if(r<=3){const a=t.slice(0,r-1);return{depth:r,showBar:!0,elided:[],parents:a,trail:a,current:i}}const n=t.slice(1,r-2),o=[t[0],t[r-2]];return{depth:r,showBar:!0,elided:n,parents:o,trail:[o[0],{elided:n},o[1]],current:i}}function Jw(e){return!!e?.serverTools}function At(e,t){return typeof e=="string"?e.replace(/\{(\w+)\}/g,(r,i)=>Object.prototype.hasOwnProperty.call(t,i)?t[i]:r):Array.isArray(e)?e.map(r=>At(r,t)):e&&typeof e=="object"?Object.fromEntries(Object.entries(e).map(([r,i])=>[r,At(i,t)])):e}function Sa(e){if(!e.key)return e.label;const t=`doclist.hint.${e.key}`,r=ht(t);return r===t?e.label:r}function Gt(e){return typeof e=="string"?/\{\w+\}/.test(e):Array.isArray(e)?e.some(Gt):e&&typeof e=="object"?Object.values(e).some(Gt):!1}function Yt(e,t,r){if(!e.tool)return null;const i=Object.fromEntries(Object.entries(t).filter(([,o])=>o!=="")),n=At(e.args??{},i);return Gt(n)?null:{label:Sa(e),kind:e.kind??"list",tool:{name:e.tool,args:n},subtitle:r,message:e.message?At(e.message,i):void 0}}function Ig(e){return{title:e.label,kind:e.kind,tool:e.tool,subtitle:e.subtitle,loading:!0,jumps:e.children,key:mu(e.tool)}}function Bw(e){const t=Pt(e);if(e.isError)return{error:t??ht("common.error.tool_failed")};if(!t)return{error:ht("common.error.no_payload")};try{const r=JSON.parse(t),i=r.data,n=typeof r.count=="number"?r.count:Array.isArray(i)?i.length:void 0;return{body:r,count:n}}catch{return{error:ht("common.error.parse_failed")}}}async function pu(e,t,r=1e4){try{const i=await e.callServerTool({name:t.name,arguments:t.args},{timeout:r});return Bw(i)}catch(i){return{error:i instanceof Error?i.message:ht("common.error.tool_failed")}}}function Vw(){return c("svg",{viewBox:"0 0 16 16","aria-hidden":"true",class:"size-3.5",fill:"none",children:c("path",{d:"M8 2.5v7m0 0 2.5-2.5M8 9.5 5.5 7M3 12.5h10",stroke:"currentColor","stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"})})}function Kw(e){return e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}function Ww({file:e,prepared:t,canDownload:r,downloading:i,documentLabel:n,context:o,onDownload:a,onClose:s}){const u=he(),l=t.preview,[d,p]=ie(null),[m,f]=ie(!1),[h,g]=ie(""),[v,w]=ie(!1),[S,$]=ie(!1),P={uri:l.uri,mimeType:l.mimeType,bytes:l.bytes},b=()=>({id:`attachment:${e.id}:${e.modifiedAt??"current"}`,view:n,label:e.fileName,value:h.trim()||u("document.attachments.context_entire_file"),resource:P}),D=o?.canShareResource(P)??!1,z=D&&!!o?.isSelected(b()),y=async()=>{if(!(!o||!D||v)){w(!0),$(!1);try{await o.activate(b())!=="context"&&$(!0)}catch{$(!0)}finally{w(!1)}}};Ie(()=>{if(l.kind!=="image"&&l.kind!=="pdf"){p(null);return}const A=new Blob([l.bytes.slice()],{type:l.mimeType}),ne=URL.createObjectURL(A);return p(ne),()=>URL.revokeObjectURL(ne)},[l]);const T=l.kind==="image"?d?c("div",{class:"flex min-h-0 flex-1 items-center justify-center overflow-auto bg-sunken p-4",children:c("img",{src:d,alt:e.fileName,class:"max-h-full max-w-full object-contain shadow-card"})}):c(Sd,{}):l.kind==="pdf"?d?c("iframe",{src:`${d}#page=1&pagemode=thumbs&navpanes=1&toolbar=1`,title:u("document.attachments.preview_pdf",{name:e.fileName}),referrerPolicy:"no-referrer",class:"min-h-0 flex-1 border-0 bg-sunken"}):c(Sd,{}):l.kind==="text"?c("div",{class:"scroll-slim min-h-0 flex-1 overflow-auto bg-sunken p-4",children:[c("pre",{class:"m-0 whitespace-pre-wrap break-words font-mono text-chip leading-relaxed text-ink-2",children:l.text??""}),l.textTruncated&&c("p",{role:"status",class:"sticky bottom-0 mt-4 border-t border-line bg-sunken/95 py-2 font-mono text-nano text-warn",children:u("document.attachments.preview_truncated")})]}):c("div",{class:"flex min-h-0 flex-1 flex-col items-center justify-center gap-2 bg-sunken p-6 text-center",children:[c("span",{"aria-hidden":"true",class:"text-title text-ink-faint",children:"◇"}),c("p",{class:"m-0 max-w-md text-data text-ink-muted",children:u("document.attachments.preview_unsupported")}),r&&c("p",{class:"m-0 font-mono text-chip text-ink-faint",children:u("document.attachments.preview_download_fallback")})]});return c(ug,{size:"preview",bodyClass:"flex-1",eyebrow:`${l.mimeType} · ${Kw(l.bytes.length)}`,title:e.fileName,onClose:s,footer:r||D?c(Pe,{children:[D&&m&&c("div",{class:"border-b border-line-soft px-4 py-3",children:c("label",{class:"flex flex-col gap-1.5",children:[c("span",{class:"font-mono text-chip text-ink-faint",children:u("document.attachments.context_note")}),c("input",{type:"text",maxLength:220,value:h,placeholder:u("document.attachments.context_note_placeholder"),onInput:A=>g(A.currentTarget.value),class:C("min-h-10 rounded-control border border-line bg-surface px-2.5","text-data text-ink placeholder:text-ink-faint focus:border-accent focus:outline-none")})]})}),c(dg,{children:[c("span",{class:"min-w-0 flex-1 font-mono text-nano text-ink-faint",children:S?c("span",{role:"status",class:"text-bad",children:u("document.attachments.context_error")}):e.isPrivate?u("document.attachments.private"):u("document.attachments.public")}),D&&c(Pe,{children:[c("button",{type:"button","aria-pressed":m,"aria-label":u("document.attachments.context_note"),title:u("document.attachments.context_note"),onClick:()=>f(A=>!A),class:C("grid size-10 place-items-center rounded-control border border-line bg-control","text-ink-faint transition-colors hover:text-ink focus-visible:outline-2 focus-visible:outline-accent"),children:c("span",{"aria-hidden":"true",children:"✎"})}),c(Ge,{variant:z?"quiet":"accent",class:"inline-flex min-h-10 items-center gap-1.5",disabled:v,"aria-pressed":z,onClick:()=>void y(),children:[c("span",{"aria-hidden":"true",children:v?"…":z?"✓":"+"}),u(v?"document.attachments.context_sharing":z&&!m?"document.attachments.context_added":z?"document.attachments.context_update":"document.attachments.context_add")]})]}),r&&c(Ge,{variant:"secondary",class:"inline-flex min-h-10 items-center gap-1.5",disabled:i,onClick:a,children:[i?c("span",{"aria-hidden":"true",children:"…"}):c(Vw,{}),u("document.attachments.download_short")]})]})]}):void 0,children:T})}function Sd(){const e=he();return c("div",{role:"status",class:"flex min-h-0 flex-1 items-center justify-center bg-sunken font-mono text-chip text-ink-faint",children:e("document.attachments.preview_loading")})}const Gw=new Set(["image/gif","image/jpeg","image/png","image/webp"]),Yw=new Set(["application/json","text/csv","text/markdown","text/plain"]),Xw=new Set(["csv","gif","jpeg","jpg","json","md","pdf","png","txt","webp"]),Qw=256*1024,zg=5*1024*1024;function Tg(e){return e?.split(";",1)[0].trim().toLowerCase()??""}function e2(e){const t=e.lastIndexOf(".");return t<0||t===e.length-1?!1:Xw.has(e.slice(t+1).toLowerCase())}function Pg(e){const t=Tg(e.resource.mimeType);return jg(e.resource.blob)>zg?"unsupported":Gw.has(t)?s2(t,e.resource.blob)?"image":"unsupported":t==="application/pdf"?o2(e.resource.blob)?"pdf":"unsupported":Yw.has(t)?"text":"unsupported"}function fu(e){Eg(e);const t=atob(e),r=new Uint8Array(t.length);for(let i=0;i<t.length;i+=1)r[i]=t.charCodeAt(i);return r}function jg(e){Eg(e);const t=e.endsWith("==")?2:e.endsWith("=")?1:0;return e.length/4*3-t}function t2(e,t=Qw){if(Pg(e)!=="text")throw new Error("attachment is not previewable text");if(!Number.isSafeInteger(t)||t<=0)throw new Error("maxBytes must be a positive safe integer");const r=jg(e.resource.blob),i=r>t,n=i?Math.ceil(t/3)*4:void 0,o=n===void 0?e.resource.blob:e.resource.blob.slice(0,n),a=fu(o),s=i?a.subarray(0,t):a;return{text:a2(s,i),truncated:i,byteLength:r}}function n2(e){const t=Tg(e.resource.mimeType)||"application/octet-stream",r=fu(e.resource.blob);let i=Pg(e),n;if(i==="text")try{n=t2(e)}catch{i="unsupported"}return{kind:i,uri:e.resource.uri,mimeType:t,bytes:r,...n?{text:n.text,textTruncated:n.truncated}:{}}}function r2(e){return{type:"resource",resource:{uri:e.uri,mimeType:e.mimeType,blob:i2(e.bytes)}}}function o2(e){try{return atob(e.slice(0,12)).startsWith("%PDF-")}catch{return!1}}function Eg(e){if(e.length===0||e.length%4!==0||!/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e))throw new Error("attachment blob is not canonical base64")}function i2(e){const r=[];for(let i=0;i<e.length;i+=32768){let n="";const o=Math.min(i+32768,e.length);for(let a=i;a<o;a+=1)n+=String.fromCharCode(e[a]);r.push(n)}return btoa(r.join(""))}function a2(e,t){const r=()=>new TextDecoder("utf-8",{fatal:!0});try{return r().decode(e)}catch(i){if(!t)throw i;for(let n=1;n<=3&&n<e.length;n+=1)try{return r().decode(e.subarray(0,e.length-n))}catch{}throw i}}function s2(e,t){try{const r=fu(t.slice(0,Math.min(t.length,24)));if(e==="image/png")return[137,80,78,71,13,10,26,10].every((n,o)=>r[o]===n);if(e==="image/jpeg")return r[0]===255&&r[1]===216&&r[2]===255;const i=new TextDecoder("ascii").decode(r);return e==="image/gif"?i.startsWith("GIF87a")||i.startsWith("GIF89a"):e==="image/webp"&&i.startsWith("RIFF")&&i.slice(8,12)==="WEBP"}catch{return!1}}function Id(){return c("svg",{viewBox:"0 0 16 16","aria-hidden":"true",class:"size-3.5",fill:"none",children:c("path",{d:"m5.25 8.9 4.2-4.2a2.05 2.05 0 0 1 2.9 2.9l-5.3 5.3a3.15 3.15 0 0 1-4.45-4.45l5-5",stroke:"currentColor","stroke-width":"1.25","stroke-linecap":"round"})})}function c2(){return c("svg",{viewBox:"0 0 16 16","aria-hidden":"true",class:"size-3.5",fill:"none",children:c("path",{d:"M8 2.5v7m0 0 2.5-2.5M8 9.5 5.5 7M3 12.5h10",stroke:"currentColor","stroke-width":"1.25","stroke-linecap":"round","stroke-linejoin":"round"})})}function l2(){return c("svg",{viewBox:"0 0 16 16","aria-hidden":"true",class:"size-3.5",fill:"none",children:[c("path",{d:"M1.75 8s2.15-3.5 6.25-3.5S14.25 8 14.25 8 12.1 11.5 8 11.5 1.75 8 1.75 8Z",stroke:"currentColor","stroke-width":"1.2"}),c("circle",{cx:"8",cy:"8",r:"1.6",stroke:"currentColor","stroke-width":"1.2"})]})}function u2(e){return e===null?"—":e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}function Dg({controller:e,capabilities:t,layout:r,context:i}){const n=he(),o=ge(null),a=ge(null),[s,u]=ie(!0),[l,d]=ie(null),{state:p,files:m,readProgress:f}=e,h=r!=="wide",g=p.upload!=="idle"&&p.upload!=="error",v=p.previewingFile!==null||p.downloadingFile!==null,w=g||p.load==="loading"||v;Ie(()=>{l&&(l.documentKey!==e.documentKey||!m.some(y=>y.id===l.fileId))&&d(null)},[e.documentKey,m,l]);const S=()=>{w||o.current?.click()},$=y=>{const T=y.currentTarget.files?.[0];y.currentTarget.value="",T&&e.upload(T,s)},P=p.upload==="reading"?f===null?n("document.attachments.reading"):n("document.attachments.reading_progress",{value:Math.round(f*100)}):p.upload==="uploading"?n("document.attachments.uploading"):p.upload==="relisting"?n("document.attachments.relisting"):n("document.attachments.add"),b=async y=>{const T=await e.preview(y);T&&d(T)},D=()=>{d(null),globalThis.requestAnimationFrame(()=>a.current?.focus())},z=l?m.find(y=>y.id===l.fileId)??null:null;return c("section",{"aria-labelledby":"document-attachments-title","aria-busy":g||v||p.load==="loading",class:"min-w-0",children:[c("div",{class:"flex min-h-10 items-center gap-2 border-b border-line-soft px-3.5 py-2",children:[c("h3",{id:"document-attachments-title",class:"m-0 font-mono text-micro uppercase tracking-label text-ink-muted",children:[n("document.attachments"),c("span",{class:"ml-1.5 text-ink-faint",children:m.length})]}),c("div",{class:"flex-1"}),t.canListAttachments&&c("button",{type:"button","aria-label":n("document.attachments.refresh"),title:n("document.attachments.refresh"),disabled:p.load==="loading"||g||v,onClick:()=>void e.refresh(),class:C("grid place-items-center rounded-control text-ink-faint transition-colors",h?"size-11":"size-7","hover:bg-control hover:text-ink focus-visible:outline-2 focus-visible:outline-accent","disabled:cursor-not-allowed disabled:opacity-40"),children:c("span",{"aria-hidden":"true",class:p.load==="loading"?"animate-spin":"",children:"↻"})})]}),p.error&&c("div",{role:"alert",class:"mx-3.5 mt-3 flex items-start gap-2 rounded-control border border-bad/25 bg-bad/8 px-2.5 py-2 font-mono text-chip text-bad",children:[c("span",{class:"min-w-0 flex-1 break-words",children:p.error.message}),c("button",{type:"button","aria-label":n("document.attachments.dismiss_error"),onClick:e.dismissError,class:C("grid shrink-0 place-items-center rounded-sm hover:bg-bad/10 focus-visible:outline-2 focus-visible:outline-bad",h?"size-11":"size-5"),children:"×"})]}),c("div",{class:C("flex flex-col",h?"px-3 py-2.5":"px-3.5 py-3"),children:[p.load==="loading"&&m.length===0?c("div",{role:"status",class:"py-6 text-center font-mono text-chip text-ink-faint",children:n("document.attachments.loading")}):m.length===0?c("div",{class:"rounded-control border border-dashed border-line px-3 py-5 text-center",children:[c(Id,{}),c("p",{class:"mt-2 font-mono text-chip text-ink-faint",children:t.canListAttachments?n("document.attachments.empty"):n("document.attachments.unavailable")})]}):c("div",{class:"overflow-hidden rounded-control border border-line-soft",children:m.map(y=>{const T=p.downloadingFile===y.id,A=p.previewingFile===y.id,ne=t.canPreviewAttachment&&e2(y.fileName)&&(y.fileSize===null||y.fileSize<=zg);return c("div",{"aria-busy":A||T,class:"group flex min-h-12 items-center gap-2.5 border-b border-line-soft px-2.5 py-1.5 last:border-b-0 hover:bg-row-hover",children:[c("span",{class:"shrink-0 text-ink-faint",children:c(Id,{})}),ne?c("button",{type:"button","aria-label":n("document.attachments.preview",{name:y.fileName}),title:n("document.attachments.preview",{name:y.fileName}),disabled:v,onClick:M=>{a.current=M.currentTarget,b(y)},class:C("flex min-h-10 min-w-0 flex-1 items-center gap-2 rounded-control text-left","focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-accent","disabled:cursor-wait disabled:opacity-60"),children:[c(zd,{file:y}),c("span",{class:C("grid size-6 shrink-0 place-items-center text-ink-faint transition-opacity",!h&&!A&&"opacity-0 group-hover:opacity-100 group-focus-within:opacity-100"),children:A?c("span",{"aria-hidden":"true",children:"…"}):c(l2,{})})]}):c(zd,{file:y}),t.canDownloadAttachment&&c("button",{type:"button","aria-label":n("document.attachments.download",{name:y.fileName}),title:n("document.attachments.download",{name:y.fileName}),disabled:v,onClick:()=>void e.download(y),class:C("grid shrink-0 place-items-center rounded-control text-ink-faint transition-colors",h?"size-11":"size-8","hover:bg-control hover:text-accent focus-visible:outline-2 focus-visible:outline-accent","disabled:cursor-not-allowed disabled:opacity-45",!h&&!T&&"opacity-0 group-hover:opacity-100 group-focus-within:opacity-100"),children:T?c("span",{"aria-hidden":"true",class:"animate-pulse",children:"…"}):c(c2,{})})]},y.id)})}),t.canUploadAttachment&&c("div",{class:"mt-3 flex flex-wrap items-center gap-2",children:[c("input",{ref:o,class:"sr-only",type:"file",tabIndex:-1,onChange:$}),c("button",{type:"button",disabled:w,onClick:S,class:C("inline-flex min-h-8 items-center gap-1.5 rounded-control border border-line bg-control px-2.5","font-mono text-chip text-ink-muted transition-colors hover:border-line-hover hover:text-ink","focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent","disabled:cursor-wait disabled:opacity-55",h&&"min-h-11"),children:[c("span",{"aria-hidden":"true",children:"+"}),P]}),c("button",{type:"button",role:"switch","aria-checked":s,"aria-label":n(s?"document.attachments.privacy_private":"document.attachments.privacy_public"),title:n(s?"document.attachments.private_hint":"document.attachments.public_hint"),disabled:w,onClick:()=>u(y=>!y),class:C("min-h-8 rounded-pill border px-2.5 font-mono text-nano uppercase tracking-chip transition-colors",s?"border-line bg-sunken text-ink-muted":"border-warn/45 bg-warn/10 text-warn","focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent","disabled:cursor-not-allowed disabled:opacity-50",h&&"min-h-11"),children:s?`⌁ ${n("document.attachments.private")}`:`◌ ${n("document.attachments.public")}`})]})]}),c("span",{class:"sr-only",role:"status","aria-live":"polite","aria-atomic":"true",children:p.previewingFile?n("document.attachments.preview_loading_name",{name:m.find(y=>y.id===p.previewingFile)?.fileName??""}):p.downloadingFile?n("document.attachments.download_in_progress"):g?P:""}),l&&z&&c(Ww,{file:z,prepared:l,canDownload:t.canDownloadAttachment,downloading:p.downloadingFile===z.id,documentLabel:`${e.document.doctype} · ${e.document.name}`,context:i,onDownload:()=>void e.download(z,l),onClose:D})]})}function zd({file:e}){const t=he();return c("span",{class:"min-w-0 flex-1",children:[c("span",{class:"block truncate text-data text-ink",title:e.fileName,children:e.fileName}),c("span",{class:"mt-0.5 flex items-center gap-1.5 font-mono text-nano text-ink-faint",children:[c("span",{children:u2(e.fileSize)}),c("span",{"aria-hidden":"true",children:"·"}),c("span",{children:e.isPrivate?t("document.attachments.private"):t("document.attachments.public")})]})]})}function Cg(e,t,r){const i=!!e?.serverTools,n=s=>i&&Array.isArray(t)&&t.includes(s),o=n("erpnext_file_list"),a=o&&n("erpnext_file_download");return{canRefresh:!!(r&&n(r.toolName)),canListAttachments:o,canUploadAttachment:o&&n("erpnext_file_upload"),canPreviewAttachment:a,canDownloadAttachment:a&&!!e?.downloadFile,canSubmit:n("erpnext_doc_submit"),canCancel:n("erpnext_doc_cancel")}}function Et(e){if(typeof e!="string"&&typeof e!="number")return null;const t=String(e).trim();return t.length>0?t:null}function hu(e,t,r){const i=[e.envelope.doctype,e.title!==e.envelope.name?e.title:null,e.status].filter(n=>!!n);return{id:`record:${e.envelope.doctype}:${e.envelope.name}`,view:t,...r?{reconcileKey:r}:{},label:e.envelope.name,...i.length>0?{value:i.join(" · ")}:{}}}function d2(e){return`document-rows:${e.doctype}:${e.name}`}function Yo(e,t,r,i,n){const o=Et(r.item_code);if(!o)return null;const a=Et(r.item_name),s=e.document[t.key],u=Array.isArray(s)&&s[i]!==null&&typeof s[i]=="object"&&!Array.isArray(s[i])?s[i]:null,l=Et(u?.name)??Et(u?.idx)??`${o}:${i+1}`,d=[Et(r.qty)?`Qty ${Et(r.qty)}`:null,Et(r.warehouse),Et(r.amount)].filter(p=>!!p);return{id:`record:${e.doctype}:${e.name}:row:${t.key}:${l}`,view:`${e.doctype} · ${e.name}`,...n?{reconcileKey:n}:{},label:a?`${o} · ${a}`:o,...d.length>0?{value:d.join(" · ")}:{}}}function m2(e){const t=Object.fromEntries(Object.entries(e).flatMap(([r,i])=>{if(typeof i!="string"&&typeof i!="number")return[];const n=String(i).trim();return n?[[r,n]]:[]}));return!t.item&&t.item_code&&(t.item=t.item_code),t}function Og(e,t){const r=m2(t),i={...r,...e};return r.item&&(i.item=r.item),i}function Ag(e,t){return t.item?`${e} · ${t.item}`:e}function Ng({hints:e,rootVars:t,row:r,availableTools:i,subtitle:n}){if(!i)return[];const o=Og(t,r);return e.flatMap(a=>{if(!a.tool||!i.includes(a.tool))return[];if(Yt(a,t,n))return[];const s=Yt(a,o,n);return s?[{...s,label:Ag(s.label,o)}]:[]})}function Ug({hints:e,rootVars:t,row:r}){const i=Og(t,r);return e.flatMap(n=>{if(!n.message)return[];const o=At(n.message,t);if(!Gt(o))return[];const a=At(n.message,i);return Gt(a)?[]:[{label:Ag(Sa(n),i),message:a}]})}const p2=new Set(["idx","parent","parenttype","parentfield","doctype","owner","creation","modified","modified_by","docstatus"]),f2=["item_code","operation","activity_type","title","subject","description","qty","quantity","amount","operating_cost","rate","price","uom","item_name","warehouse","account","employee","name","id","base_amount"],h2=["amount","base_amount","net_amount","base_net_amount","operating_cost","base_operating_cost","stock_value_difference"],v2=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)$/;function g2(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function b2(e){try{return JSON.stringify(e)??String(e)}catch{return String(e)}}function vu(e){return e===null||typeof e=="string"||typeof e=="boolean"?e:typeof e=="number"?Number.isFinite(e)?e:String(e):b2(e)}function tr(e){const t=e.replace(/([a-z\d])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").replace(/\s+/g," ").trim();return t.length===0?e:t.charAt(0).toUpperCase()+t.slice(1)}function Rg(e){if(typeof e=="number")return Number.isFinite(e)?e:null;if(typeof e!="string")return null;const t=e.trim();return v2.test(t)?Number(t):null}function _2(e,t){return t===null||t===""?"empty":typeof t=="number"?"number":typeof t=="boolean"?"boolean":/(^|_)(workflow_)?status($|_)/i.test(e)?"status":typeof t=="string"&&/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}/.test(t)?"datetime":typeof t=="string"&&/^\d{4}-\d{2}-\d{2}$/.test(t)?"date":typeof t=="string"&&(t.startsWith("{")||t.startsWith("["))?"json":"text"}function y2(e,t){const r=e.map(i=>i[t]).filter(i=>i!=null&&i!=="");return r.length>0&&r.every(i=>Rg(i)!==null)}function k2(e,t){for(const r of h2){if(!t.some(o=>o.key===r))continue;const i=e.map(o=>o[r]).filter(o=>o!=null&&o!=="");if(i.length===0)continue;const n=i.map(Rg);if(!n.some(o=>o===null))return{key:r,label:tr(r),value:n.reduce((o,a)=>o+(a??0),0)}}}function x2(e){return e.some(t=>"parent"in t||"parenttype"in t||"parentfield"in t||"idx"in t)}function $2(e){const t=new Map,r=x2(e);for(const n of e)for(const o of Object.keys(n))o.startsWith("_")||p2.has(o)||r&&o==="name"||t.has(o)||t.set(o,t.size);const i=new Map(f2.map((n,o)=>[n,o]));return[...t.keys()].sort((n,o)=>{const a=i.get(n)??Number.MAX_SAFE_INTEGER,s=i.get(o)??Number.MAX_SAFE_INTEGER;return a-s||(t.get(n)??0)-(t.get(o)??0)})}function w2(e,t){const r=$2(t),i=t.map(a=>Object.fromEntries(r.filter(s=>Object.prototype.hasOwnProperty.call(a,s)).map(s=>[s,vu(a[s])]))),n=r.map(a=>({key:a,label:tr(a),numeric:y2(i,a)})),o=k2(i,n);return{key:e,label:tr(e),rows:i,columns:n,...o?{total:o}:{}}}function Lg(e,t){return e.columns.slice(0,t==="wide"?4:3)}function S2(e,t,r){const i=e.rows[t];if(!i)return[];const n=new Set(Lg(e,r).map(o=>o.key));return e.columns.filter(o=>!n.has(o.key)).map(o=>({key:o.key,label:o.label,value:i[o.key]??null,kind:_2(o.key,i[o.key]??null)}))}function I2(e){return Array.isArray(e)&&e.length>0&&e.every(g2)}const z2=new Set(["_availableTools","_sendMessageHints","refreshRequest"]),T2=new Set(["name","doctype","owner","creation","modified","modified_by","docstatus","idx","_user_tags","_comments","_assign","_liked_by","__islocal","__unsaved"]),P2=["title","subject","item_name","customer_name","supplier_name","project_name","employee_name"],j2=/(^|_)(description|notes?|remarks?|terms|instructions?|content|message|details?)($|_)/i,E2=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)$/;function jt(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Le(e){return typeof e=="string"&&e.trim().length>0?e.trim():null}function D2(e){if(Array.isArray(e))return[...new Set(e.filter(t=>typeof t=="string"&&t.length>0))]}function C2(e){if(!jt(e))return;const t=Le(e.toolName);if(!(!t||!jt(e.arguments)))return{toolName:t,arguments:{...e.arguments}}}function O2(e){if(Array.isArray(e))return e.flatMap(t=>{if(!jt(t))return[];const r=Le(t.label);if(!r)return[];const i=t.kind==="list"||t.kind==="record"||t.kind==="chart"?t.kind:void 0;return[{label:r,...Le(t.key)?{key:Le(t.key)}:{},...Le(t.message)?{message:Le(t.message)}:{},...Le(t.tool)?{tool:Le(t.tool)}:{},...jt(t.args)?{args:{...t.args}}:{},...i?{kind:i}:{}}]})}function A2(e){if(!jt(e)||!jt(e.document))return null;const t=Le(e.document.doctype)??Le(e.doctype),r=Le(e.document.name)??Le(e.name);return!t||!r?null:{...e,document:e.document,doctype:t,name:r}}function nr(e){if(!jt(e))return null;const t=jt(e.data)?e.data:null,i=(t&&Le(t.doctype)&&Le(t.name)?t:null)??e,n=Object.fromEntries(Object.entries(i).filter(([d])=>!z2.has(d))),o=Le(n.doctype)??Le(e.doctype),a=Le(n.name)??Le(e.name);if(!o||!a)return null;const s=D2(e._availableTools),u=C2(e.refreshRequest),l=O2(e._sendMessageHints);return{document:n,doctype:o,name:a,...s!==void 0?{availableTools:s}:{},...u?{refreshRequest:u}:{},...l!==void 0?{sendMessageHints:l}:{}}}function gu(e){if(typeof e=="number")return Number.isFinite(e)?e:null;if(typeof e!="string")return null;const t=e.trim();return E2.test(t)?Number(t):null}function N2(e,t){return gu(t)!==null&&(e==="progress"||e.endsWith("_progress")||e==="percent_complete"||e==="percentage_complete"||e==="completion_percentage")}function U2(e,t){return N2(e,t)?"progress":t==null||t===""?"empty":typeof t=="number"?"number":typeof t=="boolean"?"boolean":e==="status"||e==="workflow_state"||e.endsWith("_status")?"status":jt(t)||Array.isArray(t)?"json":typeof t=="string"&&(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}/.test(t)||e.endsWith("_datetime")||e.endsWith("_timestamp"))?"datetime":typeof t=="string"&&(/^\d{4}-\d{2}-\d{2}$/.test(t)||e.endsWith("_date"))?"date":"text"}function R2(e){try{return JSON.stringify(e,null,2)??String(e)}catch{return String(e)}}function Td(e,t){const r=U2(e,t);let i=r==="json"?R2(t):vu(t);return r==="progress"&&(i=gu(t)),{key:e,label:tr(e),value:i,kind:r}}function L2(e){return e.startsWith("_")||T2.has(e)}function M2(e){return e.kind==="json"||typeof e.value=="string"&&(e.value.includes(`
|
|
110
|
-
`)||e.value.length>=120||j2.test(e.key))}function Z2(e){for(const t of P2){const r=e.document[t];if((typeof r=="string"||typeof r=="number")&&String(r).trim().length>0)return String(r).trim()}return e.name}function F2(e){for(const t of["workflow_state","status"]){const r=e[t];if((typeof r=="string"||typeof r=="number"||typeof r=="boolean")&&String(r).trim().length>0)return String(r).trim()}}function q2(e,t){return{key:e,label:tr(e),values:t.map(vu)}}function bu(e){const t=A2(e)??nr(e);if(!t)return null;const r=[],i=[],n=[],o=[],a=[],s=[];for(const[d,p]of Object.entries(t.document)){if(L2(d)){s.push(Td(d,p));continue}if(d==="status"||d==="workflow_state")continue;if(I2(p)){a.push(w2(d,p));continue}if(Array.isArray(p)){o.push(q2(d,p));continue}const m=Td(d,p);m.kind==="progress"?n.push(m):M2(m)?i.push(m):r.push(m)}const u=gu(t.document.docstatus),l=F2(t.document);return{envelope:t,title:Z2(t),...l?{status:l}:{},...u!==null?{docstatus:u}:{},fields:r,longFields:i,progressFields:n,collections:o,childTables:a,systemFields:s}}function Eo(e,t){return e===null||e===""?t("document.empty_value"):typeof e=="boolean"?t(e?"document.boolean.true":"document.boolean.false"):typeof e=="number"?pt(e,Number.isInteger(e)?0:2):e}function Mg({field:e,class:t}){const r=he();if(e.kind==="status"&&e.value!==null){const i=String(e.value);return c("span",{class:C("inline-flex rounded-badge px-[7px] py-0.5 font-mono text-micro uppercase tracking-chip",lu[$a(i)],t),children:i})}return c("span",{class:C(e.kind==="number"||e.kind==="date"||e.kind==="datetime"?"font-mono tabular-nums":void 0,e.kind==="empty"?"text-ink-dim":void 0,t),children:Eo(e.value,r)})}function Pd({fields:e,layout:t}){return c("dl",{class:C("grid gap-x-7",t==="wide"?"grid-cols-2 gap-y-2":"grid-cols-1 gap-y-1"),children:e.map(r=>c("div",{class:C("flex min-w-0 items-baseline justify-between gap-2.5",t!=="wide"&&"min-h-6"),children:[c("dt",{class:"shrink-0 font-mono text-chip text-ink-faint",children:r.label}),c("dd",{class:"min-w-0 truncate text-right text-note text-ink-2",children:c(Mg,{field:r})})]},r.key))})}function ko({label:e,aside:t,children:r,first:i}){return c("section",{class:C("flex flex-col gap-2 px-4 py-3.5",!i&&"border-t border-line-soft"),children:[(e||t)&&c("div",{class:"flex items-baseline justify-between gap-3",children:[e?c(mt,{children:e}):c("span",{}),t]}),r]})}function H2({fields:e,longFields:t=[],progressFields:r=[],collections:i=[],systemFields:n=[],layout:o,heading:a,class:s}){const u=he(),l=a===void 0?u("document.fields"):a;if(!(e.length>0||t.length>0||r.length>0||i.length>0||n.length>0))return null;let p=!0;const m=()=>{const f=p;return p=!1,f};return c("div",{class:C("flex flex-col",s),children:[e.length>0&&c(ko,{label:l,first:m(),children:c(Pd,{fields:e,layout:o})}),t.map(f=>c(ko,{label:f.label,first:m(),children:f.kind==="json"?c("pre",{class:"scroll-slim max-h-64 overflow-auto whitespace-pre-wrap break-words rounded-control border border-line-soft bg-sunken p-2.5 font-mono text-chip leading-relaxed text-ink-2",children:Eo(f.value,u)}):c("p",{class:"whitespace-pre-wrap break-words text-cell leading-[1.55] text-ink-2",children:Eo(f.value,u)})},f.key)),r.map(f=>{const h=oi(f.value)??0;return c(ko,{label:f.label,first:m(),aside:c("span",{class:"font-mono text-meta tabular-nums text-ink-muted",children:u("document.progress_value",{value:pt(h,0)})}),children:c(I$,{value:h})},f.key)}),i.map(f=>c(ko,{label:f.label,first:m(),children:f.values.length===0?c("span",{class:"font-mono text-chip text-ink-dim",children:u("document.empty_value")}):c("div",{class:"flex flex-wrap gap-1.5",children:f.values.map((h,g)=>c("span",{class:"max-w-full truncate rounded-chip border border-line bg-control px-2 py-1 font-mono text-chip text-ink-muted",children:Eo(h,u)},`${f.key}-${g}`))})},f.key)),n.length>0&&c("details",{class:C("group border-t border-line-soft px-4 py-3",p&&"border-t-0"),children:[c("summary",{class:"flex cursor-pointer list-none items-center justify-between gap-3 rounded-control font-mono text-micro uppercase tracking-label text-ink-faint focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",children:[c("span",{children:u("document.system_fields")}),c(iu,{narrow:!0,children:n.length})]}),c("div",{class:"pt-3",children:c(Pd,{fields:n,layout:o})})]})]})}function $n(e,t){if(!e)return{};const r=t&&e.onDoubleActivate?{key:t.key,onSingle:e.onActivate,onDouble:e.onDoubleActivate,doublePolicy:e.doublePolicy}:null;return{role:"button",tabIndex:0,...e.selected!==void 0?{"aria-pressed":e.selected}:{},...e.expanded!==void 0?{"aria-expanded":e.expanded}:{},...e.controls?{"aria-controls":e.controls}:{},...r?{"aria-keyshortcuts":"Enter"}:{},"aria-label":e.label,title:e.label,onClick:r?i=>t.arbiter.click(r,i?.detail??1):e.onActivate,...r&&e.onDoubleActivate?{onDblClick:()=>t.arbiter.doubleClick(r)}:{},onKeyDown:i=>{if(r){t.arbiter.keyDown(r,i);return}i.key!=="Enter"&&i.key!==" "||(i.preventDefault(),e.onActivate())}}}function Zg(e,t){return e==null||e===""?t("document.empty_value"):typeof e=="boolean"?t(e?"document.boolean.true":"document.boolean.false"):typeof e=="number"?pt(e,Number.isInteger(e)?0:2):e}function jd(e,t){return e==="mobile"?t>=3?"grid-cols-[minmax(0,1fr)_52px_82px]":t===2?"grid-cols-[minmax(0,1fr)_82px]":"grid-cols-1":t>=4?"grid-cols-[minmax(0,1.8fr)_minmax(0,1.2fr)_minmax(52px,0.7fr)_minmax(72px,0.8fr)]":t===3?"grid-cols-[minmax(0,1.7fr)_minmax(0,1.15fr)_minmax(72px,0.8fr)]":t===2?"grid-cols-[minmax(0,1fr)_minmax(72px,0.6fr)]":"grid-cols-1"}function J2(e,t,r){return t.map(i=>c("span",{class:C("min-w-0 truncate text-cell text-ink-2",i.numeric&&"text-right font-mono tabular-nums"),title:String(e[i.key]??""),children:Zg(e[i.key],r)},i.key))}function B2({fields:e,layout:t}){return e.length===0?null:c("dl",{class:C("grid gap-x-4 gap-y-2 border-b border-line-soft bg-row-selected px-3 py-2.5",t==="panel"?"grid-cols-1":"grid-cols-3"),children:e.map(r=>c("div",{class:"flex min-w-0 flex-col gap-1",children:[c("dt",{class:"font-mono text-nano uppercase tracking-label text-ink-faint",children:r.label}),c("dd",{class:"min-w-0 truncate text-data text-ink-2",children:c(Mg,{field:r})})]},r.key))})}function Do(e){return e!=null&&e!==!1}function Ed({id:e,expanded:t,fields:r,actions:i,layout:n,panel:o}){return c("div",{id:e,hidden:!t,children:[r.length>0&&c(B2,{fields:r,layout:n}),Do(i)&&c("div",{class:C("flex flex-wrap gap-1.5 border-b border-line-soft bg-sunken",o?"px-3.5 py-2":"justify-end px-4 py-1.5"),children:i})]})}function Aa({table:e,layout:t,idPrefix:r="document-table",class:i,renderRowActions:n,rowActionsPlacement:o="disclosure",renderRowContextTarget:a,childRowsExpandable:s=!0,activeDisclosure:u,onDisclosureChange:l}){const d=he(),p=ka(),m=Lg(e,t),f=`${r}-${e.key.replace(/[^a-zA-Z0-9_-]/g,"-")}`,h=t==="panel",g=s||o==="disclosure"&&!!n;function v(w,S){const $=s?S2(e,S,t):[],P=n?.(e,w,S),b=o==="disclosure"?P:void 0,D=o==="visible"?P:void 0,z=$.length>0||Do(b),y=z&&u?.tableKey===e.key&&u.rowIndex===S,T=`${f}-row-${S}-details`,A=a?.(e,w,S),ne=String(w[m[0]?.key??""]??`${e.label} ${S+1}`),M=A?.detailLabel??ne,V=()=>l(y?null:{tableKey:e.key,rowIndex:S}),K=z?{...A??{onActivate:()=>{}},label:d(A?.selected!==void 0?y?"document.row.close_detail":"document.row.open_detail":y?"document.row.close_detail_only":"document.row.open_detail_only",{label:M}),detailLabel:M,expanded:y,controls:T,onDoubleActivate:V,doublePolicy:"local"}:A;return{hidden:$,rowActions:b,visibleActions:D,canDisclose:z,expanded:y,rowPanelId:T,interactionTarget:K,detailLabel:M,toggle:V}}return c("section",{"aria-label":e.label,class:C("flex min-w-0 flex-col",i),children:[c("div",{class:"flex items-baseline justify-between gap-3 px-4 pb-2 pt-3.5",children:[c(mt,{children:e.label}),c(iu,{narrow:!0,children:e.rows.length})]}),m.length===0?c("p",{class:"px-4 pb-3.5 font-mono text-chip text-ink-faint",children:d("document.table.no_columns")}):h?c("div",{class:"flex flex-col border-t border-line-soft",children:e.rows.map((w,S)=>{const $=v(w,S),P=!!($.interactionTarget?.selected||$.expanded),b=c("span",{class:"flex flex-col gap-1.5 px-3.5 py-2.5",children:m.map(D=>c("span",{class:"flex min-w-0 items-baseline justify-between gap-3",children:[c("span",{class:"shrink-0 font-mono text-chip text-ink-faint",children:D.label}),c("span",{class:C("min-w-0 truncate text-right text-data text-ink-2",D.numeric&&"font-mono tabular-nums"),children:Zg(w[D.key],d)})]},D.key))});return c("div",{children:[c("div",{class:C("flex min-w-0 items-stretch border-b border-r-2 border-line-soft transition-colors",P?"border-r-accent bg-row-selected":"border-r-transparent hover:bg-row-hover"),children:[c("div",{...$n($.interactionTarget,{arbiter:p,key:$.rowPanelId}),class:C("min-w-0 flex-1",$.interactionTarget&&"cursor-pointer focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-accent"),children:b}),$.canDisclose&&c(Ko,{expanded:$.expanded,label:$.detailLabel,controls:$.rowPanelId,onToggle:$.toggle,touch:!0})]}),Do($.visibleActions)&&c("div",{class:"flex flex-wrap justify-end gap-1.5 border-b border-line-soft bg-sunken px-3.5 py-1.5",children:$.visibleActions}),$.canDisclose&&c(Ed,{id:$.rowPanelId,expanded:$.expanded,fields:$.hidden,actions:$.rowActions,layout:t,panel:!0})]},S)})}):c("div",{class:"min-w-0 border-t border-line-soft",children:[c("div",{role:"row",class:"flex border-b border-line bg-sunken",children:[c("div",{class:C("grid min-w-0 flex-1 gap-3 px-4 py-1.5",jd(t,m.length)),children:m.map(w=>c("span",{role:"columnheader",class:C("truncate font-mono text-nano uppercase tracking-label text-ink-faint",w.numeric&&"text-right"),children:w.label},w.key))}),g&&c("span",{"aria-hidden":"true",class:"w-10"})]}),e.rows.map((w,S)=>{const $=v(w,S),P=!!($.interactionTarget?.selected||$.expanded),b=C("grid items-center gap-3 border-l-2 border-l-transparent px-4",t==="mobile"?"min-h-10 py-1":"min-h-9 py-2",jd(t,m.length));return c("div",{children:[c("div",{class:C("flex min-w-0 items-stretch border-b border-r-2 border-line-soft transition-colors",P?"border-r-accent bg-row-selected":"border-r-transparent hover:bg-row-hover"),children:[c("div",{...$n($.interactionTarget,{arbiter:p,key:$.rowPanelId}),class:C(b,"min-w-0 flex-1",$.interactionTarget&&"cursor-pointer focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-accent"),children:J2(w,m,d)}),$.canDisclose&&c(Ko,{expanded:$.expanded,label:$.detailLabel,controls:$.rowPanelId,onToggle:$.toggle,touch:t==="mobile"})]}),Do($.visibleActions)&&c("div",{class:"flex flex-wrap justify-end gap-1.5 border-b border-line-soft bg-sunken px-4 py-1.5",children:$.visibleActions}),$.canDisclose&&c(Ed,{id:$.rowPanelId,expanded:$.expanded,fields:$.hidden,actions:$.rowActions,layout:t,panel:!1})]},S)})]}),e.total&&c(lg,{label:e.total.label,layout:t,children:pt(e.total.value,2)})]})}function Dd({status:e,pill:t}){return c("span",{class:C("inline-flex shrink-0 font-mono text-micro uppercase tracking-chip",t?"rounded-pill px-2 py-[3px]":"rounded-badge px-[7px] py-0.5",lu[$a(e)]),children:e})}function Cd({target:e,class:t}){return e?c("button",{type:"button",...$n(e),class:C("absolute inset-0 z-0 transition-colors hover:bg-row-hover focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-accent",t)}):null}function V2({doctype:e,name:t,title:r,status:i,docstatus:n,layout:o,navigation:a,trailing:s,live:u,contextTarget:l}){const d=he();return o!=="wide"?c("header",{"aria-label":d("document.header"),class:"shrink-0",children:[c("div",{class:"flex min-h-10 items-center justify-between gap-2.5 px-3 py-2",children:[c("div",{class:"min-w-0 flex-1",children:a}),c(mt,{class:"max-w-[45%] truncate text-center",children:e}),c("div",{class:"flex min-w-0 flex-1 items-center justify-end gap-1.5",children:[s,u&&c("span",{"aria-hidden":"true",class:"size-1.5 rounded-full bg-ok"})]})]}),c("div",{class:C("relative border-b border-line transition-colors",l?.selected&&"bg-row-selected"),children:[c(Cd,{target:l}),c("div",{class:"pointer-events-none relative z-[1] flex flex-col gap-1.5 px-3 pb-3 pt-1",children:[c("span",{class:"truncate font-mono text-nano uppercase tracking-label text-ink-faint",children:t}),c("h2",{class:"text-pretty font-display text-card-title font-semibold text-ink",children:r}),(i||n!==void 0)&&c("div",{class:"flex flex-wrap items-center gap-[7px]",children:[i&&c(Dd,{status:i,pill:!0}),n!==void 0&&c("span",{class:"font-mono text-chip text-ink-faint",children:d("document.docstatus",{value:n})})]})]})]})]}):c("header",{"aria-label":d("document.header"),class:"flex shrink-0 items-start justify-between gap-4 border-b border-line px-4 py-[13px]",children:[c("div",{class:"flex min-w-0 items-start gap-3",children:[a&&c("div",{class:"shrink-0 pt-0.5",children:a}),c("div",{class:C("relative min-w-0 rounded-[4px] transition-colors",l&&"px-1.5 py-1 -ml-1.5 -my-1",l?.selected&&"bg-row-selected"),children:[c(Cd,{target:l,class:"rounded-[4px]"}),c("div",{class:"pointer-events-none relative z-[1] flex min-w-0 flex-col gap-1",children:[c("span",{class:"truncate font-mono text-micro uppercase tracking-label text-ink-faint",children:[e," · ",t]}),c("h2",{class:"truncate font-display text-title font-semibold tracking-title text-ink",children:r}),(i||n!==void 0||u)&&c("div",{class:"flex flex-wrap items-center gap-[7px]",children:[i&&c(Dd,{status:i}),n!==void 0&&c("span",{class:"font-mono text-chip text-ink-faint",children:d("document.docstatus",{value:n})}),u&&c(x$,{})]})]})]})]}),s&&c("div",{class:"flex shrink-0 items-center gap-1.5",children:s})]})}function K2({tabs:e,activeId:t,onChange:r,layout:i,idPrefix:n="document"}){const o=he();function a(s,u){if(!["ArrowLeft","ArrowRight","Home","End"].includes(s.key))return;s.preventDefault();const l=e.map((m,f)=>({tab:m,tabIndex:f})).filter(({tab:m})=>!m.disabled);if(l.length===0)return;const d=l.findIndex(({tabIndex:m})=>m===u),p=s.key==="Home"?l[0]:s.key==="End"?l[l.length-1]:l[(d+(s.key==="ArrowRight"?1:-1)+l.length)%l.length];r(p.tab.id),document.getElementById(`${n}-tab-${p.tab.id}`)?.focus()}return c("div",{role:"tablist","aria-label":o("document.sections"),class:C("drag-scroll flex shrink-0 gap-1.5 overflow-x-auto border-b border-line",i==="mobile"?"px-3 py-2.5":"px-3.5 py-2.5"),children:e.map((s,u)=>{const l=s.id===t;return c("button",{id:`${n}-tab-${s.id}`,type:"button",role:"tab","aria-selected":l,"aria-controls":`${n}-panel-${s.id}`,tabIndex:l?0:-1,disabled:s.disabled,onClick:()=>r(s.id),onKeyDown:d=>a(d,u),class:C("shrink-0 border font-mono text-chip uppercase tracking-chip transition-colors","focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",i==="mobile"?"rounded-pill px-2.5 py-1":"rounded-control px-2.5 py-[5px]",l?"border-accent bg-accent/14 text-accent-text":"border-line bg-control text-ink-muted hover:border-line-hover hover:text-ink","disabled:cursor-not-allowed disabled:opacity-40"),children:[s.label,s.count!==void 0&&c("span",{class:"ml-1.5 text-ink-faint",children:s.count})]},s.id)})})}function W2(e,t){for(var r in t)e[r]=t[r];return e}function Od(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var i in t)if(i!=="__source"&&e[i]!==t[i])return!0;return!1}function Ad(e,t){this.props=e,this.context=t}(Ad.prototype=new $t).isPureReactComponent=!0,Ad.prototype.shouldComponentUpdate=function(e,t){return Od(this.props,e)||Od(this.state,t)};var Nd=ue.__b;ue.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Nd&&Nd(e)};var G2=ue.__e;ue.__e=function(e,t,r,i){if(e.then){for(var n,o=t;o=o.__;)if((n=o.__c)&&n.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k||[]),n.__c(e,t)}G2(e,t,r,i)};var Ud=ue.unmount;function Fg(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(i){typeof i.__c=="function"&&i.__c()}),e.__c.__H=null),(e=W2({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c.__e=!0,e.__c=null),e.__k=e.__k&&e.__k.map(function(i){return Fg(i,t,r)})),e}function qg(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(i){return qg(i,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function Na(){this.__u=0,this.o=null,this.__b=null}function Hg(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function xo(){this.i=null,this.l=null}ue.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Ud&&Ud(e)},(Na.prototype=new $t).__c=function(e,t){var r=t.__c,i=this;i.o==null&&(i.o=[]),i.o.push(r);var n=Hg(i.__v),o=!1,a=function(){o||i.__z||(o=!0,r.__R=null,n?n(u):u())};r.__R=a;var s=r.__P;r.__P=null;var u=function(){if(!--i.__u){if(i.state.__a){var l=i.state.__a;i.__v.__k[0]=qg(l,l.__c.__P,l.__c.__O)}var d;for(i.setState({__a:i.__b=null});d=i.o.pop();)d.__P=s,d.forceUpdate()}};i.__u++||32&t.__u||i.setState({__a:i.__b=i.__v.__k[0]}),e.then(a,a)},Na.prototype.componentWillUnmount=function(){this.o=[]},Na.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=Fg(this.__b,r,i.__O=i.__P)}this.__b=null}var n=t.__a&&Bn(Pe,null,e.fallback);return n&&(n.__u&=-33),[Bn(Pe,null,t.__a?null:e.children),n]};var Rd=function(e,t,r){if(++r[1]===r[0]&&e.l.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.l.size))for(r=e.i;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.i=r=r[2]}};function Y2(e){return this.getChildContext=function(){return e.context},e.children}function X2(e){var t=this,r=e.h;if(t.componentWillUnmount=function(){Ga(null,t.v),t.v=null,t.h=null},t.h&&t.h!==r&&t.componentWillUnmount(),!t.v){for(var i=t.__v;i!==null&&!i.__m&&i.__!==null;)i=i.__;t.h=r,t.v={nodeType:1,parentNode:r,childNodes:[],__k:{__m:i.__m},contains:function(){return!0},namespaceURI:r.namespaceURI,insertBefore:function(n,o){this.childNodes.push(n),t.h.insertBefore(n,o)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.h.removeChild(n)}}}Ga(Bn(Y2,{context:t.context},e.__v),t.v)}function Q2(e,t){var r=Bn(X2,{__v:e,h:t});return r.containerInfo=t,r}(xo.prototype=new $t).__a=function(e){var t=this,r=Hg(t.__v),i=t.l.get(e);return i[0]++,function(n){var o=function(){t.props.revealOrder?(i.push(n),Rd(t,e,i)):n()};r?r(o):o()}},xo.prototype.render=function(e){this.i=null,this.l=new Map;var t=Uo(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.l.set(t[r],this.i=[1,0,this.i]);return e.children},xo.prototype.componentDidUpdate=xo.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,r){Rd(e,r,t)})};var eS=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,tS=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,nS=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,rS=/[A-Z0-9]/g,oS=typeof document<"u",iS=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};$t.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty($t.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Ld=ue.event;ue.event=function(e){return Ld&&(e=Ld(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var aS={configurable:!0,get:function(){return this.class}},Md=ue.vnode;ue.vnode=function(e){typeof e.type=="string"&&(function(t){var r=t.props,i=t.type,n={},o=i.indexOf("-")==-1;for(var a in r){var s=r[a];if(!(a==="value"&&"defaultValue"in r&&s==null||oS&&a==="children"&&i==="noscript"||a==="class"||a==="className")){var u=a.toLowerCase();a==="defaultValue"&&"value"in r&&r.value==null?a="value":a==="download"&&s===!0?s="":u==="translate"&&s==="no"?s=!1:u[0]==="o"&&u[1]==="n"?u==="ondoubleclick"?a="ondblclick":u!=="onchange"||i!=="input"&&i!=="textarea"||iS(r.type)?u==="onfocus"?a="onfocusin":u==="onblur"?a="onfocusout":nS.test(a)&&(a=u):u=a="oninput":o&&tS.test(a)?a=a.replace(rS,"-$&").toLowerCase():s===null&&(s=void 0),u==="oninput"&&n[a=u]&&(a="oninputCapture"),n[a]=s}}i=="select"&&(n.multiple&&Array.isArray(n.value)&&(n.value=Uo(r.children).forEach(function(l){l.props.selected=n.value.indexOf(l.props.value)!=-1})),n.defaultValue!=null&&(n.value=Uo(r.children).forEach(function(l){l.props.selected=n.multiple?n.defaultValue.indexOf(l.props.value)!=-1:n.defaultValue==l.props.value}))),r.class&&!r.className?(n.class=r.class,Object.defineProperty(n,"className",aS)):r.className&&(n.class=n.className=r.className),t.props=n})(e),e.$$typeof=eS,Md&&Md(e)};var Zd=ue.__r;ue.__r=function(e){Zd&&Zd(e),e.__c};var Fd=ue.diffed;ue.diffed=function(e){Fd&&Fd(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value)};const _u="Purchase Invoice",sS="Disable Rounded Total";function cS(e){const t=fS(e.currency);if(!t)return{ok:!1,error:"Purchase Invoice is missing document currency."};const r=Co(e.grand_total);if(r===null)return{ok:!1,error:"Purchase Invoice has invalid or missing grand_total."};if(e.disable_rounded_total===1)return{ok:!0,amount:r,currency:t,roundingAdjustment:0};if(e.disable_rounded_total===0){if("base_rounded_total"in e&&e.base_rounded_total==null)return{ok:!1,error:"Purchase Invoice has an unconfigured base rounded total."};const i=Co(e.rounded_total),n=Co(e.rounding_adjustment);if(i===null||n===null)return{ok:!1,error:"Purchase Invoice has invalid or missing rounding amounts."};const o=n!==0&&i!==0;return{ok:!0,amount:o?i:r,currency:t,roundingAdjustment:o?n:0}}return{ok:!1,error:"Purchase Invoice has an unknown rounding setting."}}function Jg(e,t){if(e!==_u)return null;const r=cS(t);if(!r.ok)return null;const i=Co(t.grand_total);return i===null?null:{amount:r.amount,currency:r.currency,roundingAdjustment:r.roundingAdjustment,calculatedTotal:i,showNote:r.roundingAdjustment!==0}}function Xt(e,t){return`${String(e)} ${t}`}function Bg(e,t){const r=Xt(e,t);return e>0?`+${r}`:r}function lS(e,t,r){return t<0?{key:"document.purchase_invoice.aria.adjustment",params:{signed:Bg(e,r)}}:e>0?{key:"document.purchase_invoice.aria.adds",params:{amount:Xt(e,r)}}:{key:"document.purchase_invoice.aria.reduces",params:{amount:Xt(Math.abs(e),r)}}}function uS(e,t){if(e.isError)return{kind:"error",message:hS(e)??"Action failed",refresh:!1};const r=Vg(e),i=vS(r,t);return i&&i.docstatus===1?{kind:"success",message:Kg(r)??"Submitted",refresh:!0,invoice:i}:{kind:"attention",message:"Submission could not be confirmed. Inspect the same invoice before retrying.",refresh:!0,invoice:i}}function dS(e){return{kind:"attention",message:"Submit response was not received. Inspect the same invoice before retrying; submission is unconfirmed.",refresh:!0}}function qd(e,t,r){if(e!=="erpnext_doc_submit"||t.doctype!==_u||typeof t.name!="string"||t.name.length===0)return{applies:!1};const i="transportFailure"in r?dS(r.transportFailure):uS(r.result,t.name),n=i.kind==="success"?"success":i.kind==="error"?"error":"transportFailure"in r?"transport":"unconfirmed";return{applies:!0,kind:i.kind,reason:n,message:i.message,claimSubmitted:i.kind==="success",emitCommittedEvent:i.kind==="success",reread:i.refresh}}function mS(e,t){const r=Jg(e,t);return r?Xt(r.amount,r.currency):null}function pS(e,t,r,i=6,n=8){const o=Math.min(r.width,Math.max(0,t.width-n*2)),a=r.height;let s=e.bottom+i;s+a>t.height-n&&(s=e.top-i-a),s<n&&(s=n),s+a>t.height-n&&(s=Math.max(n,t.height-n-a));let u=e.right-o;return u<n&&(u=n),u+o>t.width-n&&(u=Math.max(n,t.width-n-o)),{top:s,left:u}}function fS(e){return typeof e!="string"||e.trim().length===0?null:e}function Co(e){return typeof e=="number"&&Number.isFinite(e)?e:null}function Vg(e){if(e.structuredContent&&typeof e.structuredContent=="object"&&!Array.isArray(e.structuredContent))return e.structuredContent;const t=e.content?.find(r=>r.type==="text")?.text;if(!t)return null;try{const r=JSON.parse(t);if(r&&typeof r=="object"&&!Array.isArray(r))return r}catch{return null}return null}function Kg(e){return typeof e?.message=="string"&&e.message.length>0?e.message:null}function hS(e){const t=Vg(e),r=Kg(t);return r||(e.content?.find(i=>i.type==="text")?.text??null)}function vS(e,t){const r=e?.data;if(!r||typeof r!="object"||Array.isArray(r))return;const i=r;if(i.name===t&&i.doctype===_u)return i}const gS=120;function bS({calculatedTotal:e,roundingAdjustment:t,invoiceTotal:r,currency:i,isDraft:n,panelId:o}){const a=he(),s=ge(null),u=ge(null),l=ge(null),[d,p]=ie(!1),[m,f]=ie(!1),[h,g]=ie(!1),[v,w]=ie(!1),[S,$]=ie(null),P=h||!v&&(d||m),b=Bg(t,i),D=lS(t,r,i),z=a(n?"document.purchase_invoice.hint.draft":"document.purchase_invoice.hint.submitted",{label:sS});function y(){l.current!==null&&(clearTimeout(l.current),l.current=null)}function T(){y(),l.current=window.setTimeout(()=>{l.current=null,p(!1)},gS)}function A(){y(),p(!1),f(!1),g(!1),w(!0)}Ie(()=>{p(!1),f(!1),g(!1),w(!1)},[o,e,t,r,i]),Ie(()=>()=>y(),[]),Ie(()=>{if(!P)return;const M=K=>{const Y=K.target;Y instanceof Node&&(s.current?.contains(Y)||u.current?.contains(Y)||A())},V=K=>{K.key==="Escape"&&(K.preventDefault(),K.stopPropagation(),A())};return document.addEventListener("pointerdown",M),document.addEventListener("keydown",V),()=>{document.removeEventListener("pointerdown",M),document.removeEventListener("keydown",V)}},[P]),wt(()=>{if(!P){$(null);return}function M(){const V=s.current?.getBoundingClientRect(),K=u.current;if(!V)return;const Y=K?{width:K.offsetWidth,height:K.offsetHeight}:{width:260,height:160};$(pS(V,{width:window.innerWidth,height:window.innerHeight},Y))}return M(),window.addEventListener("resize",M),window.addEventListener("scroll",M,!0),()=>{window.removeEventListener("resize",M),window.removeEventListener("scroll",M,!0)}},[P,z,b]);const ne=P?Q2(c("div",{ref:u,id:o,role:"region","aria-label":a("document.purchase_invoice.details"),onPointerEnter:()=>{y(),p(!0),w(!1)},onPointerLeave:T,class:C("fixed z-50 box-border w-max max-w-[min(17.5rem,calc(100vw-1rem))]","rounded-control border border-line bg-surface p-2.5 shadow-modal","text-chip text-ink-2"),style:{top:S?.top??0,left:S?.left??0,visibility:S?"visible":"hidden"},children:[c(Ua,{label:a("document.purchase_invoice.calculated"),value:Xt(e,i)}),c(Ua,{label:a("document.purchase_invoice.rounding"),value:b}),c(Ua,{label:a("document.purchase_invoice.total"),value:Xt(r,i),bold:!0}),c("p",{class:"mt-2 mb-0 leading-snug",children:z})]}),document.body):null;return c(Pe,{children:[c("button",{ref:s,type:"button","aria-expanded":P,"aria-controls":o,"aria-label":a(D.key,D.params),onPointerEnter:M=>{M.pointerType!=="touch"&&(y(),p(!0),w(!1))},onPointerLeave:T,onFocus:()=>{f(!0),w(!1)},onBlur:()=>f(!1),onClick:M=>{M.preventDefault(),M.stopPropagation(),y(),g(V=>!V),w(h)},class:C("inline-flex size-6 shrink-0 items-center justify-center rounded-full","bg-transparent text-ink-faint transition-colors","hover:text-accent","focus:outline-none focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",P&&"text-accent"),children:c("svg",{width:"15",height:"15",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor","stroke-width":"1.5","aria-hidden":"true",focusable:"false",children:[c("circle",{cx:"10",cy:"10",r:"7.5"}),c("path",{d:"M10 9v5"}),c("circle",{cx:"10",cy:"6.5",r:"0.75",fill:"currentColor",stroke:"none"})]})}),ne]})}function Ua({label:e,value:t,bold:r}){return c("div",{class:"flex items-baseline justify-between gap-3 py-0.5",children:[c("span",{class:"text-ink-faint",children:e}),c("span",{class:C("font-mono tabular-nums",r?"font-bold text-accent":"font-medium text-ink"),children:t})]})}function Ra(e){return e.replace(/[^a-zA-Z0-9_-]/g,"-")}function Zn(e){return e!=null&&e!==!1}function _S({model:e,layout:t,panelId:r}){const i=he(),n=Jg(e.envelope.doctype,e.envelope.document);if(!n)return null;const o=e.docstatus===0||e.status==="Draft",a=t!=="wide";return c("div",{class:C("flex shrink-0 items-center justify-between gap-2.5 border-b border-line bg-sunken",a?"px-3 py-[11px]":"px-4 py-2.5"),children:[c(mt,{children:i("document.purchase_invoice.total")}),c("div",{class:"flex min-w-0 items-center justify-end gap-1",children:[c("span",{class:C("font-semibold tabular-nums text-ink",a?"font-display text-title":"font-mono text-lede"),children:Xt(n.amount,n.currency)}),n.showNote&&c(bS,{calculatedTotal:n.calculatedTotal,roundingAdjustment:n.roundingAdjustment,invoiceTotal:n.amount,currency:n.currency,isDraft:o,panelId:r})]})]})}function La({model:e,layout:t}){return c(H2,{fields:e.fields,longFields:e.longFields,progressFields:e.progressFields,collections:e.collections,systemFields:e.systemFields,layout:t})}function Ma({children:e,class:t}){return c("section",{class:C("min-w-0 border-t border-line",t),children:e})}function Wg({model:e,layout:t,navigation:r,headerActions:i,attachments:n,actions:o,footer:a,live:s,class:u,idPrefix:l,activeSectionId:d,onActiveSectionChange:p,scrollMode:m="contained",renderChildRowActions:f,childRowActionsPlacement:h="disclosure",contextTarget:g,renderChildRowContextTarget:v,childRowsExpandable:w=!0}){const S=he(),$=`document-${Ra(e.envelope.doctype)}-${Ra(e.envelope.name)}`,P=l??$,b=`${e.envelope.doctype}:${e.envelope.name}`,[D,z]=ie({documentKey:b,sectionId:"fields"}),[y,T]=ie({documentKey:b,row:null}),A=D.documentKey===b?D.sectionId:"fields",ne=Zn(n),M=Zn(o),V=ne||M,K=e.fields.length>0||e.longFields.length>0||e.progressFields.length>0||e.collections.length>0||e.systemFields.length>0,Y=e.childTables.map((de,F)=>({id:`table-${Ra(de.key)}-${F}`,table:de})),U=[...K?[{id:"fields",label:S("document.fields")}]:[],...Y.map(({id:de,table:F})=>({id:de,label:F.label,count:F.rows.length})),...ne?[{id:"attachments",label:S("document.attachments")}]:[]],H=d??A,L=U.some(de=>de.id===H)?H:U[0]?.id??"fields",R=m==="contained",Q=y.documentKey===b?y.row:null,le=C("flex flex-col bg-surface",R&&"min-h-0 flex-1",u);function j(de){d===void 0&&z({documentKey:b,sectionId:de}),T({documentKey:b,row:null}),p?.(de)}function N(de){T({documentKey:b,row:de})}const q=c(V2,{doctype:e.envelope.doctype,name:e.envelope.name,title:e.title,status:e.status,docstatus:e.docstatus,layout:t,navigation:r,trailing:i,live:s,contextTarget:g}),W=c(_S,{model:e,layout:t,panelId:`${P}-rounding`});if(t==="wide")return c("article",{"aria-label":S("document.surface",{name:e.envelope.name}),class:le,children:[q,W,c("div",{class:C("grid",R&&"min-h-0 flex-1",V?"grid-cols-[minmax(0,1fr)_268px]":"grid-cols-1"),children:[c("main",{class:C("min-w-0",R&&"scroll-slim overflow-y-auto",V&&"border-r border-line"),children:[K&&c(La,{model:e,layout:t}),Y.map(({id:de,table:F})=>c(Aa,{table:F,layout:t,idPrefix:P,class:"border-t border-line-soft",renderRowActions:f,rowActionsPlacement:h,renderRowContextTarget:v,childRowsExpandable:w,activeDisclosure:Q,onDisclosureChange:N},de))]}),V&&c("aside",{"aria-label":S("document.sidebar"),class:C("min-w-0 bg-sunken",R&&"scroll-slim overflow-y-auto"),children:[ne&&c("div",{children:n}),M&&c(Ma,{class:"p-3.5",children:o})]})]}),Zn(a)&&c("footer",{class:"shrink-0 border-t border-line",children:a})]});if(t==="panel")return c("article",{"aria-label":S("document.surface",{name:e.envelope.name}),class:le,children:[q,W,c("main",{class:C(R&&"scroll-slim min-h-0 flex-1 overflow-y-auto"),children:[K&&c(La,{model:e,layout:t}),Y.map(({id:de,table:F})=>c(Aa,{table:F,layout:t,idPrefix:P,class:"border-t border-line",renderRowActions:f,rowActionsPlacement:h,renderRowContextTarget:v,childRowsExpandable:w,activeDisclosure:Q,onDisclosureChange:N},de)),ne&&c(Ma,{children:n}),M&&c(Ma,{class:"p-3.5",children:o})]}),Zn(a)&&c("footer",{class:"shrink-0 border-t border-line",children:a})]});const Oe=Y.find(({id:de})=>de===L);return c("article",{"aria-label":S("document.surface",{name:e.envelope.name}),class:le,children:[q,W,U.length>0&&c(K2,{tabs:U,activeId:L,onChange:j,layout:t,idPrefix:P}),c("main",{class:C(R&&"scroll-slim min-h-0 flex-1 overflow-y-auto"),children:[L==="fields"&&K&&c("div",{id:`${P}-panel-fields`,role:"tabpanel","aria-labelledby":`${P}-tab-fields`,children:c(La,{model:e,layout:t})}),Oe&&c("div",{id:`${P}-panel-${Oe.id}`,role:"tabpanel","aria-labelledby":`${P}-tab-${Oe.id}`,children:c(Aa,{table:Oe.table,layout:t,idPrefix:P,renderRowActions:f,rowActionsPlacement:h,renderRowContextTarget:v,childRowsExpandable:w,activeDisclosure:Q,onDisclosureChange:N})}),L==="attachments"&&ne&&c("div",{id:`${P}-panel-attachments`,role:"tabpanel","aria-labelledby":`${P}-tab-attachments`,children:n})]}),M&&c("div",{class:"shrink-0 border-t border-line p-3",children:o}),Zn(a)&&c("footer",{class:"shrink-0 border-t border-line",children:a})]})}function Gg(e){return{documentKey:e,revision:0,nextRequest:1,load:"idle",upload:"idle",previewingFile:null,downloadingFile:null,error:null}}function $o(e,t){return e.documentKey===t?e:{...Gg(t),revision:e.revision+1,nextRequest:e.nextRequest}}function Hd(e){return{state:{...e,nextRequest:e.nextRequest+1},token:{documentKey:e.documentKey,revision:e.revision,request:e.nextRequest}}}function yS(e){return{...e,revision:e.revision+1}}function an(e,t){return e.documentKey===t.documentKey&&e.revision===t.revision&&e.nextRequest===t.request+1}function kS(e){return e.load!=="loading"&&(e.upload==="idle"||e.upload==="error")}function xS(e){return{...e,load:e.load==="loading"?"idle":e.load,upload:"error"}}function un(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:null}function kt(e){return typeof e=="string"&&e.trim()?e:void 0}function $S(e){return e.length>0&&e.length%4===0&&/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}function wS(e){const t=un(e);if(!t||t.isError===!0)throw new Error("attachment list failed");const r=Pt(t);if(!r)throw new Error("attachment list is empty");const i=un(JSON.parse(r));if(!i||!Array.isArray(i.data))throw new Error("attachment list is malformed");return i.data.map((n,o)=>{const a=un(n),s=kt(a?.name),u=kt(a?.file_name);if(!a||!s||!u)throw new Error(`attachment ${o+1} has no canonical identity`);const l=a.file_size,d=l==null?null:typeof l=="number"&&Number.isFinite(l)&&l>=0?l:null;return{id:s,fileName:u,fileSize:d,isPrivate:a.is_private===!0||a.is_private===1,attachedToField:kt(a.attached_to_field),createdAt:kt(a.creation),modifiedAt:kt(a.modified),owner:kt(a.owner)}})}function SS(e){const t=un(e);if(!t||t.isError===!0)throw new Error("attachment download failed");const i=(Array.isArray(t.content)?t.content:[]).flatMap(n=>{const o=un(n),a=un(o?.resource);if(o?.type!=="resource"||!a)return[];const s=kt(a.uri),u=kt(a.blob);if(!s||!u||!$S(u))return[];const l=kt(a.mimeType);return[{type:"resource",resource:{uri:s,...l?{mimeType:l}:{},blob:u}}]});if(i.length!==1)throw new Error("attachment download did not return one inline resource");return i[0]}const wo=3e4,Jd=10*1024*1024;function IS(e){return`${e.doctype}\0${e.name}`}function Bd(e,t){if(e&&typeof e=="object"){const r=Pt(e);if(r&&!r.trim().startsWith("{"))return r}return t}function zS(e,t,r){return new Promise((i,n)=>{const o=new FileReader;r(o),o.onprogress=a=>{t(a.lengthComputable&&a.total>0?a.loaded/a.total:null)},o.onerror=()=>n(o.error??new Error("file read failed")),o.onabort=()=>n(new Error("file read aborted")),o.onload=()=>{const a=typeof o.result=="string"?o.result:"",s=a.indexOf(",");if(s<0||!a.slice(s+1)){n(new Error("file read is empty"));return}i(a.slice(s+1))},o.onloadend=()=>r(null),o.readAsDataURL(e)})}function Yg({app:e,envelope:t,capabilities:r,fixtureFiles:i,onDocumentChanged:n}){const o=he(),{doctype:a,name:s}=t,u=IS(t),l=ge(u),d=ge(Gg(u)),[p,m]=ie(d.current),[f,h]=ie(i??[]),[g,v]=ie(null),w=ge(!1),S=ge(0),$=ge(null),P=ge(null);l.current!==u&&(l.current=u,S.current+=1,d.current=$o(d.current,u),w.current=!1,$.current=null,P.current?.abort(),P.current=null);const b=Ce(U=>{const H=U(d.current);return d.current=H,m(H),H},[]),D=Ce(async(U="refresh")=>{if(!r.canListAttachments)return!1;const H=$o(d.current,u),L=Hd(H),R=L.token;b(()=>({...L.state,load:"loading",upload:U==="after-upload"?"relisting":L.state.upload}));try{const Q=await e.callServerTool({name:"erpnext_file_list",arguments:{attached_to_doctype:a,attached_to_name:s,limit:50}},{timeout:wo});if(l.current!==u||!an(d.current,R))return!1;const le=wS(Q);return h(le),b(j=>({...j,load:"ready",upload:U==="after-upload"?"idle":j.upload,error:j.error?.operation==="list"||U==="after-upload"&&j.error?.operation==="upload"?null:j.error})),!0}catch{return l.current!==u||!an(d.current,R)||b(Q=>({...Q,load:"error",upload:U==="after-upload"?"error":Q.upload,error:{operation:U==="after-upload"?"upload":"list",message:o(U==="after-upload"?"document.attachments.error.relist":"document.attachments.error.list")}})),!1}},[e,r.canListAttachments,b,a,u,s,o]),z=Ce(async(U,H)=>{if(!r.canUploadAttachment||w.current||!kS(d.current))return!1;if(U.size>Jd)return b(le=>({...le,upload:"error",error:{operation:"upload",fileName:U.name,message:o("document.attachments.error.too_large",{limit:Math.round(Jd/1024/1024)})}})),!1;w.current=!0;const L=$o(d.current,u),R=Hd(L),Q=R.token;b(()=>({...R.state,upload:"reading",error:null})),v(0);try{const le=await zS(U,N=>{l.current===u&&an(d.current,Q)&&v(N)},N=>{P.current=N});if(l.current!==u||!an(d.current,Q))return!1;b(N=>({...N,upload:"uploading"})),v(null);const j=await e.callServerTool({name:"erpnext_file_upload",arguments:{file_name:U.name,content_base64:le,attached_to_doctype:a,attached_to_name:s,is_private:H}},{timeout:wo});if(l.current!==u||!an(d.current,Q))return!1;if(j.isError)throw new Error(Bd(j,o("document.attachments.error.upload")));return b(N=>({...yS(N),upload:"relisting"})),n?.({doctype:a,name:s,mutation:"attachment.added",committedAt:new Date().toISOString(),source:"document.attachments"}),await D("after-upload")}catch(le){return l.current!==u||!an(d.current,Q)||b(j=>({...xS(j),error:{operation:"upload",fileName:U.name,message:le instanceof Error&&le.message?le.message:o("document.attachments.error.upload")}})),!1}finally{l.current===u&&(w.current=!1,v(null))}},[e,r.canUploadAttachment,b,a,u,D,s,n,o]),y=Ce((U,H)=>{if($.current!==null)return null;const L={token:Symbol(`${H}:${U.id}`),generation:S.current,documentKey:u,fileId:U.id,purpose:H};return $.current=L,b(R=>({...R,previewingFile:H==="preview"?U.id:null,downloadingFile:H==="download"?U.id:null,error:null})),L},[b,u]),T=Ce(U=>{const H=$.current;return l.current===U.documentKey&&S.current===U.generation&&H?.token===U.token},[]),A=Ce(U=>{T(U)&&($.current=null,b(H=>({...H,previewingFile:null,downloadingFile:null})))},[b,T]),ne=Ce(async(U,H)=>{const L=await e.callServerTool({name:"erpnext_file_download",arguments:{file_id:U.id,attached_to_doctype:a,attached_to_name:s}},{timeout:wo});if(!T(H))return null;if(L.isError)throw new Error(Bd(L,o(H.purpose==="preview"?"document.attachments.error.preview":"document.attachments.error.download")));const R=SS(L);return T(H)?R:null},[e,a,s,o,T]),M=Ce((U,H,L)=>{T(U)&&b(R=>({...R,error:{operation:U.purpose,fileName:H.fileName,message:L instanceof Error&&L.message?L.message:o(U.purpose==="preview"?"document.attachments.error.preview":"document.attachments.error.download")}}))},[b,o,T]),V=Ce(async U=>{if(!r.canPreviewAttachment)return null;const H=y(U,"preview");if(!H)return null;try{const L=await ne(U,H);if(!L||!T(H))return null;const R=n2(L);return T(H)?{documentKey:u,fileId:U.id,fileName:U.fileName,preview:R}:null}catch(L){return M(H,U,L),null}finally{A(H)}},[y,r.canPreviewAttachment,ne,A,u,M,T]),K=Ce(async(U,H)=>{if(!r.canDownloadAttachment)return!1;const L=y(U,"download");if(!L)return!1;try{const Q=(H?.documentKey===u&&H.fileId===U.id?r2(H.preview):null)??await ne(U,L);if(!Q||!T(L))return!1;const le=await e.downloadFile({contents:[Q]},{timeout:wo});if(!T(L))return!1;if(le.isError)throw new Error(o("document.attachments.error.host_denied"));return!0}catch(R){return M(L,U,R),!1}finally{A(L)}},[e,y,r.canDownloadAttachment,ne,A,u,M,o,T]);wt(()=>{P.current?.abort(),P.current=null,w.current=!1,$.current=null;const U=$o(d.current,u);return d.current=U,m(U),h(i??[]),v(null),!i&&r.canListAttachments&&D(),()=>{S.current+=1,$.current=null,P.current?.abort()}},[u,i,r.canListAttachments,D]);const Y=Ce(()=>{b(U=>({...U,error:null,upload:U.upload==="error"?"idle":U.upload}))},[b]);return{documentKey:u,document:{doctype:a,name:s},state:p,files:p.documentKey===u?f:[],readProgress:g,refresh:D,upload:z,preview:V,download:K,dismissError:Y}}const TS=["update","submit","cancel","attachment.added"],PS=new Set(TS),jS=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$/;function Za(e){return typeof e=="string"&&e.trim().length>0}function ES(e){if(e===null||typeof e!="object"||Array.isArray(e))return!1;const t=e;return Za(t.doctype)&&Za(t.name)&&typeof t.mutation=="string"&&PS.has(t.mutation)&&typeof t.committedAt=="string"&&jS.test(t.committedAt)&&Number.isFinite(Date.parse(t.committedAt))&&(t.source===void 0||Za(t.source))}const DS=new Set(["bar","horizontal-bar","stacked-bar","line","area","stacked-area","composed"]),CS=new Set(["bar","line","area"]);function OS(e){return typeof e=="string"&&DS.has(e)?e:void 0}function AS(e){return typeof e=="string"&&CS.has(e)?e:void 0}function Xo(e,t){return t.type?t.type:e.type==="line"?"line":e.type==="area"||e.type==="stacked-area"?"area":"bar"}function NS(e,t,r){const i=e.labels[t],n=e.datasets[r]?.label;return(i!==void 0&&n?e.seriesPointJumps?.[i]?.[n]:void 0)??(i!==void 0?e.pointJumps?.[i]:void 0)}function Xg(e,t){return t.currency?{currency:t.currency}:t.unit?{unit:t.unit}:t.yAxisId==="right"&&e.rightAxisLabel?.includes("%")?{unit:"%"}:e.currency?{currency:e.currency}:e.unit?{unit:e.unit}:{}}function So(e){return typeof e=="string"&&e.trim().length>0?e.trim():void 0}function Vd(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:null}function qn(e,t={}){const r=nr(e);if(r)return r;const i=Vd(e);if(!i)return null;const n=Vd(i.data)??i,o=So(n.doctype)??So(t.doctype),a=So(n.name)??So(t.name);return!o||!a?null:nr({...i,data:{...n,doctype:o,name:a}})}const US={erpnext_doc_submit:"submit",erpnext_doc_cancel:"cancel"};function Kd(e,t,r,i){const n=US[t];if(!n)return null;const o={doctype:e.doctype,name:e.name,mutation:n,committedAt:r,source:i};return ES(o)?o:null}function RS(e){if(!e||typeof e!="object")return null;const t=e;if(!Array.isArray(t.labels))return null;const r=t.labels.map(String),n=(Array.isArray(t.values)?[{label:t.title,values:t.values}]:Array.isArray(t.datasets)?t.datasets:[]).flatMap(o=>{if(!o||typeof o!="object")return[];const a=o;if(!Array.isArray(a.values))return[];const s=a.values;return[{label:typeof a.label=="string"?a.label:"",values:r.map((u,l)=>{const d=Number(s[l]??0);return Number.isFinite(d)?d:0}),color:typeof a.color=="string"?a.color:void 0,type:AS(a.type),stack:typeof a.stack=="string"?a.stack:void 0,yAxisId:a.yAxisId==="left"||a.yAxisId==="right"?a.yAxisId:void 0,showDots:typeof a.showDots=="boolean"?a.showDots:void 0,strokeStyle:a.strokeStyle==="solid"||a.strokeStyle==="dashed"?a.strokeStyle:void 0,unit:typeof a.unit=="string"?a.unit:void 0,currency:typeof a.currency=="string"?a.currency:void 0}]});return n.length===0?null:{labels:r,datasets:n,type:OS(t.type),unit:typeof t.unit=="string"?t.unit:void 0,currency:typeof t.currency=="string"?t.currency:void 0,xAxisLabel:typeof t.xAxisLabel=="string"?t.xAxisLabel:void 0,yAxisLabel:typeof t.yAxisLabel=="string"?t.yAxisLabel:void 0,rightAxisLabel:typeof t.rightAxisLabel=="string"?t.rightAxisLabel:void 0,showRightAxis:typeof t.showRightAxis=="boolean"?t.showRightAxis:void 0,pointJumps:t._pointJumps&&typeof t._pointJumps=="object"?t._pointJumps:void 0,seriesPointJumps:t._seriesPointJumps&&typeof t._seriesPointJumps=="object"?t._seriesPointJumps:void 0}}function LS(e){return!e||typeof e!="object"?null:Array.isArray(e.data)?e:null}function MS({columns:e,chipFilters:t,counts:r,total:i,pill:n,onFilterChange:o}){const a=he();if(e.length===0)return null;const s=e.some(({col:l})=>t[l]),u=e.filter(({col:l})=>t[l]).length;return c("div",{class:n?"drag-scroll fade-edge-r flex shrink-0 items-center gap-1.5 overflow-x-auto px-3 pb-2.5":"flex shrink-0 flex-wrap items-center gap-1.5 border-b border-line px-4 py-2.5",children:[c(bd,{pill:n,active:!s,onClick:()=>{for(const{col:l}of e)o(l,null)},children:a("doclist.chips.all",{n:i})}),e.map(({col:l,values:d})=>d.map(p=>{const m=t[l]===p;return c(bd,{pill:n,active:m,onClick:()=>o(l,m?null:p),children:[p," ",r[l]?.[p]??0,m&&c("span",{"aria-hidden":"true",class:"ml-1.5 text-accent-text",children:"×"})]},`${l}:${p}`)})),s&&!n&&c("span",{class:"ml-auto shrink-0 font-mono text-chip text-ink-faint",children:[a("doclist.chips.filter_count",{n:u,s:u>1?"s":""})," · ",a("doclist.chips.row_count",{n:i,s:i>1?"s":""})]})]})}function ZS({value:e}){return c(FS,{tone:$a(e),children:e})}function FS({tone:e,children:t,pill:r}){return c("span",{class:`inline-flex shrink-0 font-mono text-micro uppercase tracking-chip ${r?"rounded-pill py-[3px] px-2":"rounded-badge px-[7px] py-0.5"} ${lu[e]}`,children:t})}function qS({layout:e,amountKey:t,sortKey:r,sortDir:i,onSort:n,...o}){const a=he(),s=ka();if(o.rows.length===0)return c("p",{class:"px-4 py-10 text-center text-data text-ink-muted",children:a("doclist.table.no_match")});const u=o.columns.find(p=>wa(p.id))?.id,l=o.rows.some((p,m)=>!!o.interactionTarget?.(p,m)?.onDoubleActivate),d=(p,m)=>{const f=o.rowId(p,m);return{id:f,row:p,selected:o.selectedId===f,interactionTarget:o.interactionTarget?.(p,m),struck:o.struckId===f,tone:u?$a(String(p[u]??"")):"neutral"}};return e==="mobile"?c(JS,{...o,shape:d,amountKey:t,clickIntent:s,hasDetailControls:l}):e==="panel"?c(BS,{...o,shape:d,amountKey:t,clickIntent:s,hasDetailControls:l}):c(HS,{...o,shape:d,statusKey:u,sortKey:r,sortDir:i,onSort:n,clickIntent:s,hasDetailControls:l})}function yu({target:e,touch:t=!1}){const r=e?.onDoubleActivate;return r?c(Ko,{expanded:!!e.expanded,label:e.detailLabel??e.label,controls:e.controls,onToggle:r,touch:t}):null}function Qg(e,t){const r=t?e[t]:void 0;return t==="outstanding_amount"&&r===0?null:r}function ku(e,t,r=!1){return["transition-colors",r&&"line-through text-ink-faint",t&&"cursor-pointer",e?"bg-row-selected":"hover:bg-row-hover",t&&!e&&"active:bg-row-selected","focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-accent"].filter(Boolean).join(" ")}function Qo(e,t){return["border-r-2",e?"border-r-accent":"border-r-transparent",t&&!e&&"active:border-r-accent-edge"].filter(Boolean).join(" ")}function HS({columns:e,rows:t,shape:r,statusKey:i,sortKey:n,sortDir:o,onSort:a,detail:s,clickIntent:u,hasDetailControls:l}){const d=he();return c("table",{class:"w-full table-fixed border-collapse",children:[c("thead",{children:c("tr",{class:"bg-sunken",children:[e.map((p,m)=>c("th",{scope:"col","aria-sort":n===p.id?o==="desc"?"descending":"ascending":"none",class:["border-b border-line py-[7px] font-normal",m===0?"pl-4 pr-3.5":"px-3.5",p.numeric?"text-right":"text-left"].join(" "),children:c("button",{type:"button",onClick:()=>a(p.id),class:`font-mono text-micro uppercase tracking-label transition-colors hover:text-ink-muted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent ${n===p.id?"text-accent":"text-ink-faint"}`,children:[p.label,n===p.id&&c("svg",{"aria-hidden":"true",width:"7",height:"5",viewBox:"0 0 7 5",fill:"none",class:"ml-1 inline-block text-accent",children:o==="asc"?c("path",{d:"M1 4L3.5 1L6 4",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}):c("path",{d:"M1 1L3.5 4L6 1",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})})]})},p.id)),l&&c("th",{scope:"col",class:"w-10 border-b border-line bg-sunken",children:c("span",{class:"sr-only",children:d("doclist.detail.inspector_label")})})]})}),c("tbody",{children:t.map((p,m)=>{const{id:f,row:h,selected:g,interactionTarget:v,tone:w,struck:S}=r(p,m),$=g||!!v?.selected,P=!!v;return c(Pe,{children:[c("tr",{class:`border-b border-line-soft ${ku($,P,S)}`,...$n(v,{arbiter:u,key:`doclist-row:${f}`}),role:"row","aria-pressed":void 0,"aria-selected":v?.selected,children:[e.map((b,D)=>{const z=h[b.id],y=D===0,T=D===e.length-1;return c("td",{class:["truncate py-2",y?`border-l-2 ${xa[w]} pl-[14px] pr-3.5`:"px-3.5",T&&!l&&Qo(!!v?.selected,P),b.numeric?"text-right font-mono text-cell tabular-nums":y?"font-mono text-data":"text-cell",y&&$?"text-accent-text":$?"text-ink":"text-ink-2"].filter(Boolean).join(" "),children:i===b.id&&typeof z=="string"?c(ZS,{value:z}):z==null?c("span",{class:"text-ink-ghost",children:"—"}):y?uu(vt(z)):vt(z)},b.id)}),l&&c("td",{class:`w-10 p-0 text-center ${Qo(!!v?.selected,P)}`,children:c(yu,{target:v})})]}),g&&s&&c("tr",{children:c("td",{class:"p-0",colSpan:e.length+(l?1:0),children:s})})]},f)})})]})}const Wd="grid-cols-[92px_1fr_78px]",Fa="font-mono text-nano uppercase tracking-label text-ink-faint";function JS({columns:e,rows:t,shape:r,amountKey:i,detail:n,clickIntent:o,hasDetailControls:a}){const s=he(),{idKey:u,labelKey:l}=kg(e,i,wa);return c("div",{children:[c("div",{class:"flex border-y border-line bg-sunken",children:[c("div",{class:`grid ${Wd} min-w-0 flex-1 px-3 py-1.5`,children:[c("span",{class:Fa,children:s("doclist.table.header.id")}),c("span",{class:Fa,children:s("doclist.table.header.party")}),c("span",{class:`${Fa} text-right`,children:s("doclist.table.header.due")})]}),a&&c("span",{"aria-hidden":"true",class:"w-10"})]}),c("ul",{children:t.map((d,p)=>{const{id:m,row:f,selected:h,interactionTarget:g,tone:v,struck:w}=r(d,p),S=h||!!g?.selected,$=!!g,P=Qg(f,i);return c("li",{children:[c("div",{class:["flex min-h-10 items-stretch",`border-b border-line-soft border-l-2 ${xa[v]}`,Qo(!!g?.selected,$),S?"bg-row-selected":"hover:bg-row-hover"].join(" "),children:[c("div",{class:`grid ${Wd} min-w-0 flex-1 items-center px-3 ${ku(S,$,w)}`,...$n(g,{arbiter:o,key:`doclist-row:${m}`}),children:[c("span",{class:`font-mono text-data ${S?"text-accent-text":"text-ink-2"}`,children:u?uu(vt(f[u]),10,1):""}),c("span",{class:"truncate pr-2 text-data text-ink-muted",children:l?vt(f[l]):""}),c("span",{class:`text-right font-mono text-data tabular-nums ${P==null?"text-ink-dim":`font-medium ${yg[v]}`}`,children:P==null?"—":vt(P)})]}),a&&c(yu,{target:g,touch:!0})]}),h&&n]},m)})})]})}function BS({columns:e,rows:t,shape:r,amountKey:i,detail:n,clickIntent:o,hasDetailControls:a}){const{idKey:s,labelKey:u}=kg(e,i,wa);return c("ul",{class:"flex flex-col",children:t.map((l,d)=>{const{id:p,row:m,selected:f,interactionTarget:h,tone:g,struck:v}=r(l,d),w=f||!!h?.selected,S=!!h,$=Qg(m,i);return c("li",{children:[c("div",{class:["flex min-h-10 items-stretch",`border-b border-line-soft border-l-2 ${xa[g]}`,Qo(!!h?.selected,S),w?"bg-row-selected":"hover:bg-row-hover"].join(" "),children:[c("div",{class:`flex min-w-0 flex-1 items-center justify-between gap-2.5 px-3 py-[9px] ${ku(w,S,v)}`,...$n(h,{arbiter:o,key:`doclist-row:${p}`}),children:[c("div",{class:"flex min-w-0 flex-col gap-px",children:[c("span",{class:`truncate font-mono text-note ${w?"text-accent-text":"text-ink-2"}`,children:s?uu(vt(m[s])):""}),u&&c("span",{class:"truncate text-note text-ink-muted",children:vt(m[u])})]}),c("span",{class:`shrink-0 font-mono text-cell tabular-nums ${$==null?"text-ink-ghost":`font-medium ${yg[g]}`}`,children:$==null?"—":vt($)})]}),a&&c(yu,{target:h,touch:!0})]}),f&&n]},p)})})}function VS(e,t){return t}function KS(){return null}function WS(e){return{next:null,run:e?.onConfirm??null}}function GS(){const[e,t]=ie(null);return{pending:e,request:r=>t(i=>VS(i,r)),dismiss:()=>t(KS()),confirm:()=>{const{next:r,run:i}=WS(e);t(r),i?.()}}}function YS({confirm:e}){const t=he(),r=e.pending;return r?c(ug,{eyebrow:r.subject,title:r.title,onClose:e.dismiss,footer:c(dg,{children:[c(Ge,{variant:"quiet",onClick:e.dismiss,children:t("common.back")}),c(Ge,{variant:"danger",class:"ml-auto",onClick:e.confirm,children:r.actionLabel})]}),children:c("div",{class:"flex flex-col gap-3",children:[c("span",{class:"self-start rounded-badge border border-bad/20 bg-bad/10 px-[7px] py-0.5 font-mono text-chip uppercase tracking-label text-bad",children:t("confirm.eyebrow")}),c("p",{class:"font-sans text-body text-ink",children:r.detail})]})}):null}function eb({jumps:e,asks:t,onJump:r,onAsk:i,narrow:n}){return c("div",{class:"flex flex-col gap-2",children:[e.map(o=>c("button",{type:"button",disabled:!r,onClick:()=>r?.(o),class:C("group focus-visible:outline-2 focus-visible:outline-accent flex w-full items-center justify-between gap-2 rounded-[5px] border border-line-modal bg-count px-2.5 py-[7px] text-left font-mono text-[11.5px] text-ink transition-colors hover:border-accent hover:bg-control disabled:cursor-not-allowed disabled:opacity-50",n&&"min-h-[44px]"),children:[c("span",{class:"truncate",children:o.label}),c("span",{"aria-hidden":"true",class:C("shrink-0 text-[13px] text-accent",!n&&"opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100"),children:"›"})]},o.label)),t.length>0&&c("div",{class:"flex flex-col gap-[9px] pt-1",children:t.map(o=>c("button",{type:"button",disabled:!i,onClick:()=>i?.(o.message),class:C("focus-visible:outline-2 focus-visible:outline-accent flex items-center gap-[7px] self-start font-mono text-[11px] text-ink-muted disabled:cursor-not-allowed disabled:opacity-50",n&&"min-h-[44px]"),children:[c("span",{class:"border-b border-dotted border-ink-faint transition-colors hover:border-ink-muted hover:text-ink",children:o.label}),c("span",{"aria-hidden":"true",class:"text-ink-faint",children:"~"})]},o.label))})]})}function XS(e,t){if(!e)return null;const r=nr(e);if(r)return r;const i=typeof e.name=="string"?e.name.trim():"";return!t?.trim()||!i?null:nr({data:{...e,doctype:t.trim(),name:i}})}function QS({app:e,envelope:t,data:r,doctype:i,loading:n,fixture:o,layout:a,embedded:s,onClose:u,onJump:l,onAsk:d,onAction:p,onDocumentChanged:m,context:f,contextView:h,contextKey:g}){const v=a!=="wide";if(n)return s?c("div",{role:"status",class:"flex h-[144px] flex-col gap-3.5 border-y border-accent/45 bg-surface p-4",children:[c(ft,{class:"h-[15px] w-3/4"}),c(ft,{class:"h-[15px] w-1/3"}),Array.from({length:3},(S,$)=>c(ft,{class:"h-3"},$))]}):c(t1,{narrow:v,onClose:u,children:c("div",{class:"flex flex-col gap-3.5 p-3.5",children:[c(ft,{class:"h-[15px] w-3/4"}),c(ft,{class:"h-[15px] w-1/3"}),Array.from({length:5},(S,$)=>c(ft,{class:"h-3"},$))]})});const w=t??XS(r,i);return w?c(e1,{app:e,envelope:w,fixture:o,outerLayout:a??"panel",embedded:s,onClose:u,onJump:l,onAsk:d,onAction:p,onDocumentChanged:m,context:f,contextView:h,contextKey:g},`${w.doctype}\0${w.name}`):null}function e1({app:e,envelope:t,fixture:r,outerLayout:i,embedded:n,onClose:o,onJump:a,onAsk:s,onAction:u,onDocumentChanged:l,context:d,contextView:p,contextKey:m}){const f=he(),h=GS(),[g,v]=ie(null),[w,S]=ie(null),[$,P]=ie(!0),b=n?i:i==="mobile"?"mobile":"panel",D=!n&&i!=="wide",z=bu(t),y=Cg(e.getHostCapabilities(),t.availableTools,t.refreshRequest),T=Yg({app:e,envelope:t,capabilities:y,onDocumentChanged:l}),A={id:t.name,name:t.name,doctype:t.doctype},ne=t.sendMessageHints??[],M=t.availableTools,V=hu(z,p??t.doctype,m),K=d2(t),Y=d?.supported?d.reconcileDocument:void 0;Ie(()=>{if(!Y)return;const J=[V,...z.childTables.flatMap(oe=>oe.rows.flatMap((Te,we)=>{const Ze=Yo(t,oe,Te,we,K);return Ze?[Ze]:[]}))];Y(V.id,J)},[K,m,p,t,Y]);const U=J=>!!(a&&e.getHostCapabilities()?.serverTools&&M&&M.includes(J)),H=J=>!J.tool||!U(J.tool)?null:Yt(J,A,f("nav.linked_to",{id:t.name})),L=ne.map(H).filter(J=>J!==null),R=s?ne.flatMap(J=>{if(!J.message||H(J))return[];const oe=At(J.message,A);return Gt(oe)?[]:[{label:Sa(J),message:oe}]}):[];s&&R.length===0&&L.length===0&&R.push({label:f("doclist.detail.full_detail"),message:f("doclist.detail.full_detail_message",{doctype:t.doctype,id:t.name})});const Q=z.status==="Draft"||z.docstatus===0,le=z.docstatus===1,j=mS(t.doctype,t.document),N=Q&&(r||y.canSubmit),q=le&&(r||y.canCancel);async function W(J,oe,Te,we){if(r||!(J==="submit"?y.canSubmit:J==="cancel"?y.canCancel:!1))return;v(J),S(null);const je=await u(oe,Te),_t=typeof je=="object"&&"unconfirmed"in je,co=typeof je=="object"&&"transport"in je,Ln=je===!0;P(Ln),S(_t?f("document.purchase_invoice.submit.unconfirmed"):co?f("document.purchase_invoice.submit.transport"):Ln?we:f("doclist.detail.action_failed")),v(null)}const de=L.length>0||R.length>0||N||q||w!==null?c("div",{class:"flex flex-col gap-2",children:[L.length>0&&c(mt,{children:f("nav.goto")}),(L.length>0||R.length>0)&&c(eb,{narrow:!0,jumps:L,asks:R,onJump:a,onAsk:s}),w&&c("p",{class:`font-mono text-chip ${$?"text-ok":"text-bad"}`,children:w}),N&&c(Ge,{variant:"secondary",disabled:g==="submit"||r,title:f(r?"doclist.preview.no_host":"doclist.detail.action.submit_title"),class:"min-h-[44px] rounded-control text-body",onClick:()=>h.request({subject:`${t.doctype} ${t.name}`,title:f("doclist.confirm.submit"),detail:j?f("doclist.confirm.submit.detail_with_amount",{amount:j}):f("doclist.confirm.submit.detail"),actionLabel:j?f("doclist.confirm.submit.action_with_amount",{amount:j}):f("doclist.confirm.submit.action"),onConfirm:()=>void W("submit","erpnext_doc_submit",{doctype:t.doctype,name:t.name},f("doclist.detail.action.submit_ok"))}),children:g==="submit"?"…":f("common.submit")}),q&&c(Ge,{variant:"danger",disabled:g==="cancel"||r,title:f(r?"doclist.preview.no_host":"doclist.detail.action.cancel_label"),class:"min-h-[44px] rounded-control text-body",onClick:()=>h.request({subject:`${t.doctype} ${t.name}`,title:f("doclist.confirm.cancel"),detail:f("doclist.confirm.cancel.detail"),actionLabel:f("doclist.confirm.cancel.action"),onConfirm:()=>void W("cancel","erpnext_doc_cancel",{doctype:t.doctype,name:t.name},f("doclist.detail.action.cancel_ok"))}),children:g==="cancel"?"…":f("doclist.detail.action.cancel_label")})]}):void 0,F=D?c("button",{type:"button",onClick:o,"aria-label":f("doclist.detail.back_to_list"),class:"font-mono text-chip text-accent-text transition-colors hover:text-accent focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",children:f("doclist.detail.back_list_label")}):void 0,_e=D?void 0:c("button",{type:"button",onClick:o,"aria-label":f("doclist.detail.close_inspector"),class:"grid size-7 place-items-center rounded-control text-lede text-ink-faint transition-colors hover:bg-control hover:text-ink focus-visible:outline-2 focus-visible:outline-accent",children:"×"});function Me(J,oe,Te){const we=Yo(t,J,oe,Te,K),Ze=a&&e.getHostCapabilities()?.serverTools?Ng({hints:ne,rootVars:A,row:oe,availableTools:M,subtitle:f("nav.linked_to",{id:we?.label??t.name})}):[],je=s?Ug({hints:ne,rootVars:A,row:oe}).filter(_t=>!Ze.some(co=>co.label===_t.label)):[];return{item:we,rowJumps:Ze,rowAsks:je}}const Xe=n?(J,oe,Te)=>{const{rowJumps:we,rowAsks:Ze}=Me(J,oe,Te);if(!(we.length===0&&Ze.length===0))return c(Pe,{children:[we.map(je=>c(Ge,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>a?.(je),children:[je.label,c("span",{"aria-hidden":"true",children:"›"})]},`${je.tool.name}:${je.label}`)),Ze.map(je=>c(Ge,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>s?.(je.message),children:[je.label,c("span",{"aria-hidden":"true",children:"~"})]},`ask:${je.label}`))]})}:void 0,B=d?.supported?{label:f("context.active.select",{label:V.label}),selected:d.isSelected(V),onActivate:()=>void d.activate(V)}:void 0,ee=n?(J,oe,Te)=>{const{item:we}=Me(J,oe,Te);return we&&d?.supported?{label:f("context.active.select",{label:we.label}),detailLabel:we.label,selected:d.isSelected(we),onActivate:()=>d.activateReversible(we)}:void 0}:void 0;return c(Pe,{children:[c(Wg,{model:z,layout:b,navigation:F,headerActions:_e,attachments:y.canListAttachments?c(Dg,{controller:T,capabilities:y,layout:b,context:d}):void 0,actions:de,scrollMode:n?"flow":"contained",renderChildRowActions:Xe,childRowActionsPlacement:n?"visible":"disclosure",contextTarget:B,renderChildRowContextTarget:ee,childRowsExpandable:!n,class:n?"border-y border-accent/45":"h-full"}),c(YS,{confirm:h})]})}function t1({children:e,narrow:t,onClose:r}){const i=he();return c("aside",{class:"scroll-slim flex min-h-0 flex-col overflow-y-auto bg-sunken",children:[c("div",{class:"flex shrink-0 items-center justify-between border-b border-line px-3.5 py-[11px]",children:t?c(Pe,{children:[c("button",{type:"button",onClick:r,"aria-label":i("doclist.detail.back_to_list"),class:"font-mono text-chip text-accent-text transition-colors hover:text-accent focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",children:i("doclist.detail.back_list_label")}),c(mt,{children:i("doclist.detail.inspector_label")})]}):c(Pe,{children:[c(mt,{children:i("doclist.detail.inspector_label")}),c("button",{type:"button",onClick:r,"aria-label":i("doclist.detail.close_inspector"),class:"text-lede leading-none text-ink-faint transition-colors hover:text-ink focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",children:"×"})]})}),e]})}function Gd({size:e=11}){return c("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",class:"shrink-0",children:[c("circle",{cx:"5",cy:"5",r:"3.6",stroke:"currentColor","stroke-width":"1.2"}),c("path",{d:"M7.8 7.8L10.5 10.5",stroke:"currentColor","stroke-width":"1.2","stroke-linecap":"round"})]})}function n1({value:e,layout:t,open:r,onOpenChange:i,onInput:n}){const o=he();return t!=="mobile"?c("label",{class:"group flex items-center gap-[7px] rounded-control border border-line bg-sunken px-2.5 py-[5px] focus-within:border-accent-edge focus-within:outline-2 focus-within:-outline-offset-[1px] focus-within:outline-accent/20",children:[c("span",{class:"text-ink-faint group-focus-within:text-accent-text",children:c(Gd,{})}),c("input",{type:"search",value:e,placeholder:o("common.filter.placeholder"),"aria-label":o("common.filter.label"),onInput:a=>n(a.target.value),class:"w-20 bg-transparent font-mono text-meta text-ink placeholder:text-ink-faint transition-[width] duration-200 focus:w-[220px] focus:outline-none"})]}):c("button",{type:"button","aria-expanded":r,"aria-label":o("common.filter.label"),onClick:()=>{r&&e&&n(""),i(!r)},class:`flex size-8 shrink-0 items-center justify-center rounded-touch border transition-colors focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent ${r||e?"border-accent bg-accent/14 text-accent":"border-line bg-control text-ink-muted"}`,children:c(Gd,{size:13})})}function tb({value:e,onInput:t,onClose:r}){const i=he(),n=ge(null);return Ie(()=>{n.current?.focus()},[]),c("div",{class:"shrink-0 px-3 pb-2.5",children:c("input",{ref:n,type:"search",value:e,placeholder:i("common.filter.placeholder"),"aria-label":i("common.filter.label"),onInput:o=>t(o.target.value),onKeyDown:o=>{o.key==="Escape"&&(t(""),r())},class:"w-full rounded-control border border-line bg-sunken px-2.5 py-1.5 font-mono text-data text-ink placeholder:text-ink-faint focus:border-accent focus:outline-none"})})}function nb(e,t){return e===void 0||e.includes(t)}function ei(e,t,r){return!!e&&nb(t,r)}function qa(e){return`doclist-row-${encodeURIComponent(e)}-detail`}function r1(e,t){if(t.top>=e.top&&t.bottom<=e.bottom)return 0;const r=t.bottom-t.top,i=e.bottom-e.top;return r>=i||t.top<e.top?t.top-e.top:t.bottom-e.bottom}const Ha=1e4,o1=1500;function Io(e,t,r){return String(t?Ow(e,t.idField)??r:e._id??e.name??r)}function i1({app:e,data:t,list:r,layout:i,fixture:n,error:o,subtitle:a,onError:s,onJump:u,onAsk:l,stale:d,onRefresh:p,onMutationInvalidate:m,onMutationRefresh:f,onMutated:h,onDocumentChanged:g,context:v,contextView:w,contextKey:S}){const $=he(),{rows:P,pageRows:b,rowAction:D,expandedId:z}=r,y=e.getHostCapabilities()?.serverTools,T=D&&ei(y,t._availableTools,D.toolName)?D:void 0,[A,ne]=ie({id:null,data:null,loading:!1}),M=ge(A),V=B=>{M.current=B,ne(B)},K=ge(null),Y=ge(z);Y.current=z;const U=ge(!0),H=ge(null);wt(()=>(U.current=!0,()=>{U.current=!1,K.current=null}),[]);const L=n&&P.some(B=>B._detail!=null),R=!!T||L,Q=w??t._title??t.doctype??"Document",le=S??Q;function j(B,ee){if(!v?.supported||!t.doctype)return null;const J=Io(B,T,String(ee)),oe=qn(B,{doctype:t.doctype,name:J});return oe?hu(bu(oe),Q,le):null}const N=v?.supported?v.reconcileView:void 0;Ie(()=>{if(!N)return;const B=P.flatMap((ee,J)=>{const oe=j(ee,J);return oe?[oe]:[]});N(le,B)},[t.doctype,le,Q,N,T,P]),Ie(()=>{if(z===null){K.current=null,V({id:null,data:null,loading:!1});return}const B=b.find((ee,J)=>Io(ee,T,String(J))===z);if(!B){K.current=null,V({id:null,data:null,loading:!1}),r.setExpandedId(null);return}if(M.current.id!==z){if(n||!T&&B._detail){const ee=qn(B._detail??B,{doctype:t.doctype,name:z});if(!ee){s($("doclist.error.load_details")),r.setExpandedId(null);return}V({id:z,data:ee,loading:!1});return}T&&(V({id:z,data:null,loading:!0}),K.current=z,(async()=>{try{const ee=await e.callServerTool({name:T.toolName,arguments:{...T.extraArgs,[T.argName]:z}},{timeout:Ha});if(K.current!==z)return;if(ee.isError)s($("doclist.error.load_details")),r.setExpandedId(null);else{const J=Pt(ee);if(J){const oe=JSON.parse(J),Te=qn(oe,{doctype:t.doctype,name:z});if(!Te)throw new Error("document envelope is invalid");V({id:z,data:Te,loading:!1}),s(null)}else s($("doclist.error.load_details")),r.setExpandedId(null)}}catch(ee){if(K.current!==z)return;s(`${$("doclist.error.load_details")} — ${ee instanceof Error?ee.message:String(ee)}`),r.setExpandedId(null)}finally{K.current===z&&V({...M.current,loading:!1})}})())}},[z,P,T,n,t.doctype]),Ie(()=>{if(A.id===null)return;const B=document.getElementById(qa(A.id)),ee=H.current;if(!B||!ee)return;const J=typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion: reduce)").matches,oe=r1(ee.getBoundingClientRect(),B.getBoundingClientRect());oe!==0&&ee.scrollTo({top:ee.scrollTop+oe,behavior:J?"auto":"smooth"})},[A.id,A.loading]);function q(B,ee){const J=Io(B,T,String(ee)),oe=j(B,ee);if(!oe&&!R)return;const Te=oe?.label??J,we=oe?v?.isSelected(oe)??!1:void 0;return{label:R?$(oe?z===J?"document.row.close_detail":"document.row.open_detail":z===J?"document.row.close_detail_only":"document.row.open_detail_only",{label:Te}):$("context.active.select",{label:Te}),selected:we,expanded:R?z===J:void 0,detailLabel:Te,controls:R?qa(J):void 0,onActivate:()=>{if(oe){if(R)return v?.activateReversible(oe);v?.activate(oe)}},doublePolicy:"local",onDoubleActivate:R?()=>r.setExpandedId(z===J?null:J):void 0}}function W(B){h?.(B.name),g?.(B)}function Oe(B){W(B),m?.(),f?.()}function de(B){const ee=M.current.data;return U.current&&!!B&&Y.current===B.name&&K.current===B.name&&ee?.doctype===B.doctype&&ee.name===B.name}async function F(B){if(!B||!de(B))return!1;const ee=B.name;m?.();try{if(await new Promise(Ze=>setTimeout(Ze,o1)),!T||!de(B))return!1;const J=await e.callServerTool({name:T.toolName,arguments:{...T.extraArgs,[T.argName]:ee}},{timeout:Ha});if(!de(B))return!1;if(J.isError)throw new Error("canonical read-back failed");const oe=Pt(J);if(!oe)throw new Error("canonical read-back is empty");const Te=JSON.parse(oe),we=qn(Te,{doctype:B?.doctype??t.doctype,name:B?.name??ee});if(!we||we.doctype!==B?.doctype||we.name!==ee)throw new Error("canonical document envelope is invalid");return V({id:ee,data:we,loading:!1}),s(null),!0}catch{return de(B)&&(s($("doclist.error.load_details")),r.setExpandedId(null)),!1}finally{f?.()}}async function _e(B,ee){const J=M.current.data;if(n||!y||!J?.availableTools?.includes(B)||!de(J))return!1;try{let oe;try{oe=await e.callServerTool({name:B,arguments:ee},{timeout:Ha})}catch(je){if(!de(J))return!1;const _t=qd(B,ee,{transportFailure:je});return _t.applies&&_t.reread?(await F(J),{transport:!0}):!1}if(!de(J))return!1;const Te=qd(B,ee,{result:oe});if(Te.applies){if(Te.kind==="error")return!1;if(Te.emitCommittedEvent){const je=Kd(J,B,new Date().toISOString(),"doclist.inline-detail");je?W(je):z&&h?.(z)}return await F(J),Te.claimSubmitted?!0:{unconfirmed:!0}}if(oe.isError)return!1;const we=z,Ze=Kd(J,B,new Date().toISOString(),"doclist.inline-detail");return Ze?W(Ze):we&&h?.(we),await F(J)}catch{return!1}}const Xe=z!==null?c("div",{id:qa(z),children:c(QS,{app:e,envelope:A.data,loading:A.loading,fixture:n,layout:i,embedded:!0,onClose:()=>r.setExpandedId(null),onAction:_e,onJump:u,onAsk:l,onDocumentChanged:Oe,context:v,contextView:Q,contextKey:le})}):void 0;return c(Pe,{children:[i==="mobile"&&r.searchOpen&&c(tb,{value:r.filter,onInput:r.setFilter,onClose:()=>r.setSearchOpen(!1)}),i!=="panel"&&c(MS,{columns:r.filterableColumns,chipFilters:r.chipFilters,counts:r.chipCounts,total:P.length,pill:i==="mobile",onFilterChange:r.setChipFilter}),d&&c("div",{role:"status",title:$("nav.stale_title"),class:"flex shrink-0 items-center gap-2 border-b border-warn/20 bg-warn/8 px-4 py-[7px] font-mono text-[10.5px] text-warn",children:[c("span",{"aria-hidden":"true",class:"size-[5px] rounded-full bg-warn"}),c("span",{children:$("nav.stale_values",{at:d.at})}),p&&c("button",{type:"button",onClick:p,class:"ml-auto rounded-[3px] border border-warn/40 px-2 py-0.5 uppercase tracking-[0.08em] text-warn hover:bg-warn/12",children:$("nav.refresh")})]}),o&&c(Wt,{tone:"bad",children:o}),c("div",{class:"flex min-h-0 flex-1 flex-col",children:[c("div",{ref:H,class:"scroll-slim min-h-0 flex-1 overflow-y-auto",children:c(qS,{columns:r.tableColumns,rows:r.pageRows,rowId:(B,ee)=>Io(B,T,String(ee)),selectedId:z,struckId:d?.subject??null,sortKey:r.sortKey,sortDir:r.sortDir,onSort:r.handleSort,interactionTarget:q,layout:i,amountKey:r.amountKey,detail:Xe})}),r.amountTotal!==null&&c(lg,{layout:i,label:r.amountKey?.replace(/_/g," ")??$("common.total"),children:vt(r.amountTotal)}),c("div",{class:"flex shrink-0 items-center gap-3 border-t border-line-soft bg-sunken px-4 py-[9px]",children:[c("span",{class:"font-mono text-[10.5px] text-ink-faint",children:$("nav.of",{n:r.sorted.length,total:P.length})}),a&&c("span",{class:"font-mono text-[10.5px] text-ink-faint",children:a}),c("div",{class:"flex-1"}),r.totalPages>1&&c("span",{class:"flex items-center gap-1.5",children:[c(gd,{disabled:r.page===0,"aria-label":$("common.pagination.prev"),onClick:()=>r.setPage(r.page-1),children:"‹"}),c("span",{class:"font-mono text-meta text-ink-muted",children:[r.page+1," / ",r.totalPages]}),c(gd,{disabled:r.page>=r.totalPages-1,"aria-label":$("common.pagination.next"),onClick:()=>r.setPage(r.page+1),children:"›"})]})]})]})]})}function a1({embedded:e=!1}){const t=$m(),r=c(Pe,{children:[c("div",{class:"flex items-center gap-3 border-b border-line px-4 py-[13px]",children:[c(ft,{class:"h-[17px] w-40"}),c(ft,{class:"h-[17px] w-8"})]}),c("div",{class:"flex gap-1.5 border-b border-line px-4 py-2.5",children:[48,72,64,68].map(i=>c(ft,{class:"h-[19px]",style:{width:i}},i))}),c("div",{class:"flex flex-col",children:Array.from({length:8},(i,n)=>c("div",{class:"border-b border-line-soft px-4 py-2",children:c(ft,{class:"h-[15px]",style:{opacity:1-n*.1}})},n))})]});return e?c("div",{class:"min-h-0 flex-1 bg-surface",children:r}):c(Bo,{style:_g(t.containerDimensions),children:r})}function Jn(e){return e.yAxisId==="right"?"right":"left"}function ti(e,t,r){if(t.stack)return`${Jn(t)}:${r}:${t.stack}`;if(r==="bar"&&e.type==="stacked-bar")return`${Jn(t)}:bar:default`;if(r==="area"&&e.type==="stacked-area")return`${Jn(t)}:area:default`}function xu(e,t){const r=e.values[t];return typeof r=="number"&&Number.isFinite(r)?r:0}function s1(e){const t={left:{min:0,max:0},right:{min:0,max:0}};for(let i=0;i<e.labels.length;i++){const n=new Map;e.datasets.forEach(o=>{const a=Jn(o),s=Xo(e,o),u=xu(o,i),l=ti(e,o,s);if(l){const d=n.get(l)??{axis:a,negative:0,positive:0};u<0?d.negative+=u:d.positive+=u,n.set(l,d)}else t[a].min=Math.min(t[a].min,u),t[a].max=Math.max(t[a].max,u)});for(const o of n.values())t[o.axis].min=Math.min(t[o.axis].min,o.negative),t[o.axis].max=Math.max(t[o.axis].max,o.positive)}const r=i=>i.min===i.max?i.max===0?{min:0,max:1}:{min:Math.min(0,i.min),max:Math.max(1,i.max)}:i;return{left:r(t.left),right:r(t.right)}}function Ja(e,t){return(e-t.min)/(t.max-t.min)*100}function c1(e,t,r,i,n){if(!i)return 0;let o=0;for(let a=0;a<t;a++){const s=e.datasets[a],u=Xo(e,s);if(ti(e,s,u)!==i)continue;const l=xu(s,r);n<0==l<0&&(o+=l)}return o}const zo=e=>Number(e.toFixed(3));function l1(e){const t=s1(e),r=[...new Set(e.datasets.flatMap((a,s)=>{const u=Xo(e,a);return u!=="bar"?[]:[ti(e,a,u)??`series:${s}`]}))],i=Math.max(1,e.labels.length),n=Math.max(1,r.length),o=e.datasets.map((a,s)=>{const u=Xo(e,a),l=Jn(a),d=ti(e,a,u),p=u==="bar"?r.indexOf(d??`series:${s}`):0,m=e.labels.map((g,v)=>{const w=xu(a,v),S=c1(e,s,v,d,w),$=t[l],P=100/i,b=P*.72/n;return{labelIndex:v,seriesIndex:s,value:w,x:(v+.5)/i*100,y:Ja(S+w,$),baseY:Ja(S,$),barLeft:v*P+P*.14+p*b,barWidth:Math.max(.8,b-Math.min(1.5,b*.14))}}),f=u==="line"||u==="area"?m.map((g,v)=>`${v===0?"M":"L"} ${zo(g.x)} ${zo(100-g.y)}`).join(" "):void 0,h=u==="area"&&m.length>0?`${f} ${m.toReversed().map(g=>`L ${zo(g.x)} ${zo(100-g.baseY)}`).join(" ")} Z`:void 0;return{seriesIndex:s,kind:u,axis:l,stack:d,points:m,linePath:f,areaPath:h}});return{domains:t,zero:Ja(0,t.left),series:o}}const Yd=["var(--color-cat-1)","var(--color-cat-2)","var(--color-cat-3)","var(--color-cat-4)","var(--color-cat-5)","var(--color-cat-6)","var(--color-cat-7)","var(--color-cat-8)"];function Ba(e,t,r){return e.color?e.color:r===1?"var(--color-accent)":Yd[Math.min(t,Yd.length-1)]}function Xd(e,t,r,i){if(i<=1||r<=0)return 0;const n=Math.min(.999999,Math.max(0,(e-t)/r));return Math.floor(n*i)}function u1({chart:e,activeIndex:t,contextEnabled:r,pointKey:i,isPointSelected:n,isPointDetailEnabled:o,onPointContext:a,onPointDetail:s,caption:u,narrow:l}){const d=ka(),{labels:p,datasets:m}=e,f=l1(e),[h,g]=ie(null),[v,w]=ie(null),S=p.map((j,N)=>m.reduce((q,W)=>q+Math.abs(W.values[N]??0),0)),$=Math.max(0,S.indexOf(Math.max(...S))),b=Math.min(Math.max(0,t??$),Math.max(0,p.length-1)),D=h??v??{labelIndex:b,seriesIndex:0},z=D.labelIndex,y=m.length>1,T=Math.max(100,p.length*Math.max(42,26+m.length*5)),A=(j,N)=>{const q=Xg(e,j);return q.currency?Ro(N,q.currency):q.unit==="%"?_m(N,N%1===0?0:1):`${pt(N,N%1===0?0:1)}${q.unit?` ${q.unit}`:""}`},ne=(j,N)=>{const q=m[N],W=A(q,q.values[j]??0);return`${p[j]} · ${q.label||`#${N+1}`} · ${W}`},M=(j,N)=>!!(r&&a)&&p[j]!==void 0&&m[N]!==void 0,V=(j,N)=>!!(s&&o?.(j,N)),K=(j,N)=>M(j,N)||V(j,N),Y=(j,N)=>({key:i?.(j,N)??`nested-chart:${j}:${N}`,onSingle:()=>a?.(j,N),onDouble:()=>s?.(j,N),doublePolicy:"local"}),U=(j,N)=>{const q={labelIndex:j,seriesIndex:N};w(q),g(q)},H=(j,N)=>{U(j,N)},L=(j,N,q)=>{if(K(j,N)){if(H(j,N),M(j,N)&&V(j,N)){d.click(Y(j,N),q);return}q<2&&M(j,N)&&a?.(j,N)}},R=(j,N)=>{V(j,N)&&(H(j,N),M(j,N)?d.doubleClick(Y(j,N)):s?.(j,N))},Q=(j,N,q)=>{if(!q.repeat){if(H(j,N),M(j,N)&&V(j,N)){d.keyDown(Y(j,N),q);return}if(q.key===" "&&M(j,N)){q.preventDefault(),a?.(j,N);return}q.key==="Enter"&&V(j,N)&&(q.preventDefault(),s?.(j,N))}},le=j=>({left:`${j.x}%`,bottom:`${j.y}%`});return c("div",{class:"flex min-h-0 flex-1 flex-col",children:[c("div",{class:l?"px-3.5 pb-3 pt-4":"px-4 pb-3 pt-[18px]",children:[(e.yAxisLabel||e.rightAxisLabel)&&c("div",{class:"mb-2 flex justify-between font-mono text-nano text-ink-faint",children:[c("span",{children:e.yAxisLabel}),c("span",{children:e.rightAxisLabel})]}),y&&c("div",{class:"mb-3 flex flex-wrap items-center gap-x-3 gap-y-1.5",role:"list",children:m.map((j,N)=>{const q=f.series[N].kind;return c("span",{class:"inline-flex min-w-0 items-center gap-1.5 font-mono text-chip text-ink-muted",role:"listitem",children:[c("span",{class:q==="line"?"h-0.5 w-2.5 shrink-0 rounded-full":q==="area"?"h-2 w-2.5 shrink-0 rounded-[2px] opacity-45":"size-2 shrink-0 rounded-[2px]",style:{background:Ba(j,N,m.length)},"aria-hidden":"true"}),c("span",{class:"truncate",children:j.label||`#${N+1}`})]},`${j.label}-${N}`)})}),c("div",{class:"overflow-x-auto pb-1",children:c("div",{style:{minWidth:`${T}px`},children:[c("div",{class:"relative h-[132px]",onMouseLeave:()=>g(null),children:[c("span",{class:"pointer-events-none absolute inset-x-0 border-t border-line-soft",style:{bottom:`${f.zero}%`},"aria-hidden":"true"}),f.series.map(j=>{const N=m[j.seriesIndex],q=Ba(N,j.seriesIndex,m.length);if(j.kind==="bar")return j.points.map(F=>{const _e=K(F.labelIndex,F.seriesIndex),Me=!!n?.(F.labelIndex,F.seriesIndex),Xe=Math.min(F.y,F.baseY),B=Math.abs(F.y-F.baseY);return c("button",{type:"button",disabled:!_e,"aria-pressed":r?Me:void 0,"aria-keyshortcuts":M(F.labelIndex,F.seriesIndex)&&V(F.labelIndex,F.seriesIndex)?"Space Enter":M(F.labelIndex,F.seriesIndex)?"Space":V(F.labelIndex,F.seriesIndex)?"Enter":void 0,"aria-label":ne(F.labelIndex,F.seriesIndex),onClick:ee=>{ee.stopPropagation(),L(F.labelIndex,F.seriesIndex,ee.detail)},onDblClick:ee=>{ee.stopPropagation(),R(F.labelIndex,F.seriesIndex)},onKeyDown:ee=>Q(F.labelIndex,F.seriesIndex,ee),onMouseEnter:()=>U(F.labelIndex,F.seriesIndex),onFocus:()=>U(F.labelIndex,F.seriesIndex),onBlur:()=>g(null),class:`absolute min-h-px rounded-[2px] border-0 p-0 transition-opacity focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-accent ${_e?"cursor-pointer":"cursor-default"} ${l&&_e?"after:absolute after:left-1/2 after:top-1/2 after:size-10 after:-translate-x-1/2 after:-translate-y-1/2 after:content-['']":""}`,style:{background:q,bottom:`${Xe}%`,height:`${B}%`,left:`${F.barLeft}%`,width:`${F.barWidth}%`,opacity:Me?1:F.labelIndex===z?.9:.65,boxShadow:Me?"0 0 0 1px var(--color-accent)":void 0}},`${F.seriesIndex}-${F.labelIndex}`)});const W=j.points.some(F=>K(F.labelIndex,F.seriesIndex)),Oe=F=>{F.stopPropagation();const _e=F.currentTarget.ownerSVGElement;if(!_e)return;const Me=_e.getBoundingClientRect(),Xe=Xd(F.clientX,Me.left,Me.width,p.length);L(Xe,j.seriesIndex,F.detail)},de=F=>{F.stopPropagation();const _e=F.currentTarget.ownerSVGElement;if(!_e)return;const Me=_e.getBoundingClientRect(),Xe=Xd(F.clientX,Me.left,Me.width,p.length);R(Xe,j.seriesIndex)};return c("svg",{class:"pointer-events-none absolute inset-0 size-full overflow-visible",viewBox:"0 0 100 100",preserveAspectRatio:"none","aria-hidden":"true",children:[j.areaPath&&c("path",{d:j.areaPath,fill:q,"fill-opacity":"0.16",stroke:"none",class:W?"pointer-events-auto cursor-pointer":void 0,onClick:W?Oe:void 0,onDblClick:W?de:void 0}),c("path",{d:j.linePath,fill:"none",stroke:q,"stroke-width":"2","stroke-dasharray":N.strokeStyle==="dashed"?"6 3":void 0,"vector-effect":"non-scaling-stroke",class:W?"pointer-events-auto cursor-pointer":void 0,onClick:W?Oe:void 0,onDblClick:W?de:void 0})]},j.seriesIndex)}),f.series.flatMap(j=>{if(j.kind==="bar")return[];const N=m[j.seriesIndex],q=Ba(N,j.seriesIndex,m.length);return j.points.map(W=>{const Oe=K(W.labelIndex,W.seriesIndex),de=!!n?.(W.labelIndex,W.seriesIndex);return c("button",{type:"button",disabled:!Oe,"aria-pressed":r?de:void 0,"aria-keyshortcuts":M(W.labelIndex,W.seriesIndex)&&V(W.labelIndex,W.seriesIndex)?"Space Enter":M(W.labelIndex,W.seriesIndex)?"Space":V(W.labelIndex,W.seriesIndex)?"Enter":void 0,"aria-label":ne(W.labelIndex,W.seriesIndex),onClick:F=>{F.stopPropagation(),L(W.labelIndex,W.seriesIndex,F.detail)},onDblClick:F=>{F.stopPropagation(),R(W.labelIndex,W.seriesIndex)},onKeyDown:F=>Q(W.labelIndex,W.seriesIndex,F),onMouseEnter:()=>U(W.labelIndex,W.seriesIndex),onFocus:()=>U(W.labelIndex,W.seriesIndex),onBlur:()=>g(null),class:`absolute grid -translate-x-1/2 translate-y-1/2 place-items-center rounded-full border-0 bg-transparent p-0 focus-visible:outline-2 focus-visible:outline-accent ${l?"size-10":"size-6"} ${Oe?"cursor-pointer":"cursor-default"}`,style:le(W),children:c("span",{"aria-hidden":"true",class:N.showDots===!1?"size-1.5 rounded-full opacity-0":de?"size-2 rounded-full ring-1 ring-accent ring-offset-1 ring-offset-surface":"size-1.5 rounded-full",style:{background:q}})},`point-${W.seriesIndex}-${W.labelIndex}`)})})]}),c("div",{class:"mt-2.5 flex gap-2 border-t border-line-soft pt-2",children:p.map((j,N)=>c("span",{title:j,class:`min-w-0 flex-1 truncate text-center font-mono text-[9.5px] ${N===z?"text-accent":"text-ink-faint"}`,children:j},N))}),e.xAxisLabel&&c("div",{class:"mt-1.5 text-right font-mono text-nano text-ink-faint",children:e.xAxisLabel})]})})]}),(u||y||V(D.labelIndex,D.seriesIndex))&&p.length>0&&m.length>0&&c("div",{class:"flex flex-wrap items-center gap-x-3 gap-y-1.5 border-t border-line bg-sunken px-4 py-2.5",children:[c("span",{class:"font-mono text-[11px] font-medium text-accent",children:p[z]}),m.map((j,N)=>c("span",{class:"inline-flex items-center gap-1.5 font-mono text-meta text-ink",children:[y&&c("span",{class:"text-ink-muted",children:[j.label||`#${N+1}`,":"]}),A(j,j.values[z]??0)]},`${j.label}-${N}`)),u&&c("span",{class:"font-sans text-note text-ink-dim",children:u})]})]})}function ni(e){return encodeURIComponent(e.trim())}function d1(e,t,r){const i=Xg(e,t);return i.currency?Ro(r,i.currency):i.unit==="%"?_m(r,r%1===0?0:1):`${pt(r,r%1===0?0:1)}${i.unit?` ${i.unit}`:""}`}function m1(e,t){return`chart:${ni(e)}:${ni(t)}`}function rb(e,t,r,i,n){const o=e.labels[i],a=e.datasets[n];if(o===void 0||!a)return null;const s=a.label||`#${n+1}`;return{id:`${t}:point:${ni(o)}:${ni(s)}`,view:r,reconcileKey:t,label:`${o} · ${s}`,value:d1(e,a,a.values[i]??0)}}function p1(e,t,r){return e.labels.flatMap((i,n)=>e.datasets.flatMap((o,a)=>{const s=rb(e,t,r,n,a);return s?[s]:[]}))}const Qd={count:0,data:[]};function ob(e){return e.kind!=="list"?Qd:e.body??Qd}function f1({level:e,app:t,list:r,layout:i,fixture:n,onJump:o,onAsk:a,onError:s,onRefresh:u,onMutated:l,onDocumentChanged:d,onMutationInvalidate:p,onMutationRefresh:m,context:f,children:h}){const g=he();if(e.kind==="root")return c(Pe,{children:h});if(e.loading)return c(a1,{embedded:!0});if(e.error)return c(Wt,{tone:"bad",children:e.error});const v=c(Wt,{tone:"bad",children:g("nav.unexpected_body")});if(e.kind==="record"){const w=qn(e.body);return w?c(v1,{app:t,envelope:w,levelJumps:e.jumps,layout:i,onJump:o,onAsk:a,onMutated:l,onDocumentChanged:d,onMutationInvalidate:p,onMutationRefresh:m,context:f,contextView:e.title,contextKey:e.key??e.id},`${w.doctype}\0${w.name}`):v}if(e.kind==="chart"){const w=RS(e.body);return w?c(h1,{level:e,chart:w,layout:i,onJump:o,context:f},e.id):v}return LS(e.body)?c(i1,{app:t,data:ob(e),list:r,layout:i,fixture:n,subtitle:e.subtitle,onError:s,onJump:o,onAsk:a,stale:e.stale,onRefresh:u,onMutated:l,onDocumentChanged:d,onMutationInvalidate:p,onMutationRefresh:m,context:f,contextView:e.title,contextKey:e.key??e.id}):v}function h1({level:e,chart:t,layout:r,onJump:i,context:n}){const o=he(),a=e.title,s=m1(e.key??e.id,e.title),u=n?.supported?n.reconcileView:void 0;Ie(()=>{u&&u(s,p1(t,s,a))},[t,s,u,a]);const l=(h,g)=>{if(!i)return null;const v=NS(t,h,g),w=t.labels[h],S=t.datasets[g]?.label,$=S?`${w} · ${S}`:w;return v?Yt(v,{},o("nav.linked_to",{id:$})):null},d=(h,g)=>rb(t,s,a,h,g),p=t.labels.some((h,g)=>t.datasets.some((v,w)=>l(g,w)!==null)),m=!!n?.supported,f=m&&p?o("chart.tooltip.click_action_context"):m?o("chart.tooltip.click_action_context_only"):p?o("chart.tooltip.click_action_fallback"):void 0;return c(u1,{chart:t,narrow:r!=="wide",caption:f,contextEnabled:m,pointKey:(h,g)=>d(h,g)?.id??`${s}:point:${h}:${g}`,isPointSelected:m?(h,g)=>{const v=d(h,g);return v?n.isSelected(v):!1}:void 0,isPointDetailEnabled:(h,g)=>l(h,g)!==null,onPointContext:m?(h,g)=>{const v=d(h,g);return v?n.activateReversible(v):void 0}:void 0,onPointDetail:p?(h,g)=>{const v=l(h,g);v&&i?.(v)}:void 0})}function v1({app:e,envelope:t,levelJumps:r,layout:i,onJump:n,onAsk:o,onMutated:a,onDocumentChanged:s,onMutationInvalidate:u,onMutationRefresh:l,context:d,contextView:p,contextKey:m}){const f=he(),h=bu(t),g=Cg(e.getHostCapabilities(),t.availableTools,t.refreshRequest),w=Yg({app:e,envelope:t,capabilities:g,onDocumentChanged:Y=>{a?.(Y.name),s?.(Y),u?.(),l?.()}}),S={id:t.name,name:t.name,doctype:t.doctype},$=t.sendMessageHints??[],P=t.availableTools,b=Y=>!n||!Y.tool||!e.getHostCapabilities()?.serverTools||!P?.includes(Y.tool)?null:Yt(Y,S,f("nav.linked_to",{id:t.name})),D=$.map(b).filter(Y=>Y!==null),z=[...r??[],...D],y=o?$.flatMap(Y=>{if(!Y.message||b(Y))return[];const U=At(Y.message,S);return Gt(U)?[]:[{label:Sa(Y),message:U}]}):[];o&&y.length===0&&z.length===0&&y.push({label:f("nav.ask"),message:f("doclist.detail.full_detail_message",{doctype:t.doctype,id:t.name})});const T=hu(h,p??t.doctype,m),A=d?.supported?d.reconcileDocument:void 0;Ie(()=>{if(!A)return;const Y=[T,...h.childTables.flatMap(U=>U.rows.flatMap((H,L)=>{const R=Yo(t,U,H,L,m);return R?[R]:[]}))];A(T.id,Y)},[m,p,t,A]);const ne=z.length>0||y.length>0?c("div",{class:"flex flex-col gap-2",children:[z.length>0&&c(mt,{children:f("nav.goto")}),c(eb,{narrow:i!=="wide",jumps:z,asks:y,onJump:n,onAsk:o})]}):void 0,M=d?.supported?{label:f("context.active.select",{label:T.label}),selected:d.isSelected(T),onActivate:()=>void d.activate(T)}:void 0,V=(Y,U)=>{const H=n&&e.getHostCapabilities()?.serverTools?Ng({hints:$,rootVars:S,row:U,availableTools:P,subtitle:f("nav.linked_to",{id:t.name})}):[],L=o?Ug({hints:$,rootVars:S,row:U}).filter(R=>!H.some(Q=>Q.label===R.label)):[];if(!(H.length===0&&L.length===0))return c(Pe,{children:[H.map(R=>c(Ge,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>n?.(R),children:[R.label,c("span",{"aria-hidden":"true",children:"›"})]},`${R.tool.name}:${R.label}`)),L.map(R=>c(Ge,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>o?.(R.message),children:[R.label,c("span",{"aria-hidden":"true",children:"~"})]},`ask:${R.label}`))]})},K=(Y,U,H)=>{if(!d?.supported)return;const L=Yo(t,Y,U,H,m);return L?{label:f("context.active.select",{label:L.label}),detailLabel:L.label,selected:d.isSelected(L),onActivate:()=>d.activateReversible(L)}:void 0};return c(Wg,{model:h,layout:i,attachments:g.canListAttachments?c(Dg,{controller:w,capabilities:g,layout:i,context:d}):void 0,actions:ne,contextTarget:M,renderChildRowActions:V,renderChildRowContextTarget:K,childRowActionsPlacement:"visible"})}async function g1(e,t,r){const i=Ig(r),n=mu(r.tool),o={outcome:"ignored",id:"",rootIdentity:""};if(e.set(u=>{if(xn(u).loading)return u;const l=Zw(u,n);if(l>=0)return o.outcome="popped",Go(u,l);const d=wg(u,i);return o.id=xn(d).id,o.rootIdentity=u.rootIdentity,o.outcome="pushed",d}),o.outcome!=="pushed")return o.outcome;const a=o.id,s=await pu(t,r.tool);return e.set(u=>u.rootIdentity!==o.rootIdentity?u:ln(u,a,{loading:!1,body:s.body,count:s.count,error:s.error})),o.outcome}async function b1(e,t,r,i=mu(r.tool)){const n={...Ig(r),rootTriggerKey:i},o={outcome:"pushed",id:"",rootIdentity:""};if(e.set(s=>{if(s.levels[1]?.rootTriggerKey===i)return o.outcome="closed",Go(s,0);const l=s.levels.length>1,d=l?Go(s,0):s,p=wg(d,n);return o.id=xn(p).id,o.rootIdentity=s.rootIdentity,o.outcome=l?"replaced":"pushed",p}),o.outcome==="closed")return o.outcome;const a=await pu(t,r.tool);return e.set(s=>s.rootIdentity!==o.rootIdentity?s:ln(s,o.id,{loading:!1,body:a.body,count:a.count,error:a.error})),o.outcome}async function _1(e,t){const r={id:"",rootIdentity:""};if(e.set(s=>{const u=xn(s);return u.tool?(r.id=u.id,r.rootIdentity=s.rootIdentity,r.tool=u.tool,ln(s,u.id,{loading:!0})):s}),!r.tool)return!1;const{id:i,rootIdentity:n,tool:o}=r,a=await pu(t,o);return a.error?(e.set(s=>s.rootIdentity===n?ln(s,i,{loading:!1}):s),!1):(e.set(s=>s.rootIdentity!==n?s:Sg(ln(s,i,{loading:!1,body:a.body,count:a.count,error:void 0}),i)),!0)}function y1(e,t){const[r,i]=ie(()=>$g(t)),n=du(t);wt(()=>{i(v=>Uw(v,t))},[n]);const o=xn(r),a=Ve(()=>({set:v=>i(w=>v(w))}),[]),s=Ce(v=>g1(a,e,v),[a,e]),u=Ce((v,w)=>b1(a,e,v,w),[a,e]),l=Ce(()=>i(v=>Rw(v)),[]),d=Ce(v=>i(w=>Go(w,v)),[]),p=Ce(v=>{i(w=>Lw(w,xn(w).id,v))},[]),m=Ce(v=>{i(w=>Fw(w,em(new Date),v))},[]),f=Ce(v=>{const w=new Date(v.committedAt);i(S=>qw(S,em(w),v))},[]),h=Ce(()=>_1(a,e),[a,e]),g=Ce(v=>{i(w=>Sg(w,v))},[]);return{stack:r,current:o,depth:r.levels.length,isRoot:r.levels.length===1,jump:s,toggleRootChild:u,pop:l,popTo:d,patchUi:p,markStale:m,reportDocumentChange:f,refreshLevel:h,clearStale:g}}function em(e){const t=r=>String(r).padStart(2,"0");return`${t(e.getHours())}:${t(e.getMinutes())}`}function k1(e,t,{fixture:r=!1,rootList:i}={}){const n=y1(e,t),{current:o,isRoot:a}=n,s=!r&&Jw(e.getHostCapabilities()),u=!r&&su(e.getHostCapabilities()),l=Nw(a&&i?i:ob(o),o.ui,n.patchUi),d=Ce(m=>cu(e,m),[e]);return{nav:n,current:o,isRoot:a,jumpsEnabled:s,messagesEnabled:u,list:l,ask:u?d:void 0}}function x1(e,t){const r=[];e.kind==="record"&&r.push(t("nav.kind.record")),e.kind==="chart"&&r.push(t("nav.kind.chart")),e.subtitle&&r.push(e.subtitle);const i=e.ui;typeof i.sortKey=="string"&&i.sortKey&&r.push(t("nav.ui.sort",{key:i.sortKey.replace(/_/g," "),dir:i.sortDir==="desc"?"↓":"↑"})),typeof i.filter=="string"&&i.filter&&r.push(t("nav.ui.filter",{q:i.filter}));for(const[n,o]of Object.entries(i.chipFilters??{}))o&&r.push(t("nav.ui.filter",{q:`${n.replace(/_/g," ")} ${o}`}));return typeof i.page=="number"&&i.page>0&&r.push(t("nav.ui.page",{n:i.page+1})),typeof i.expandedId=="string"&&i.expandedId&&r.push(t("nav.ui.active",{id:i.expandedId})),r.join(" · ")}const ib=c("span",{class:"font-mono text-[11px] text-line-hover",children:"/"});function $1({stack:e,onBack:t,onJump:r,loading:i,layout:n}){const o=he(),[a,s]=ie(!1),u=ge(null),l=Hw(e);if(Ie(()=>{if(!a)return;const m=f=>{u.current?.contains(f.target)||s(!1)};return document.addEventListener("mousedown",m),()=>document.removeEventListener("mousedown",m)},[a]),Ie(()=>s(!1),[e.levels.length]),!l.showBar)return null;const d=l.current.level,p=d.kind==="chart"?o("nav.kind.chart"):d.kind==="record"?o("nav.kind.record"):o("nav.kind.list");return c("nav",{"aria-label":o("nav.trail"),class:"relative shrink-0 border-b border-line bg-sunken",onKeyDown:m=>{m.key==="Escape"&&s(!1)},children:[c("div",{class:C("flex h-9 min-w-0 items-center gap-[9px]",n&&n!=="wide"?"px-3":"px-4"),children:[c("button",{type:"button","aria-label":o("nav.back"),title:o("nav.back"),onClick:t,class:C(n==="mobile"?"size-10 -ml-2":"size-6","flex shrink-0 items-center justify-center rounded-[4px] font-mono text-[15px] font-medium text-accent transition-colors hover:bg-accent/12 active:bg-accent/20 active:text-accent-text focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-accent"),children:"‹"}),l.trail.map(m=>"elided"in m?c("span",{class:"contents",children:[c("button",{type:"button","aria-expanded":a,"aria-haspopup":"menu","aria-label":o("nav.elided_title"),onClick:()=>s(f=>!f),class:C("rounded-[3px] border px-1.5 py-0.5 font-mono text-[11px] transition-colors",a?"border-accent bg-accent/12 text-ink":"border-dotted border-line-modal text-ink-dim hover:border-line-hover hover:text-ink"),children:o("nav.elided",{n:m.elided.length})}),ib]},`elided:${m.elided[0]?.index}`):c(w1,{crumb:m,onJump:r},m.level.id)),c("span",{"aria-current":"page",class:"truncate font-mono text-[11.5px] font-medium text-ink",children:d.title}),c("div",{class:"flex-1"}),i?c("span",{class:"flex items-center gap-1.5",children:[c("span",{class:"size-[5px] rounded-full bg-accent"}),c("span",{class:"font-mono text-[10px] uppercase tracking-[0.08em] text-accent",children:o("nav.loading")})]}):c(Pe,{children:[c("span",{class:C("rounded-[3px] border px-1.5 py-0.5 font-mono text-[10px] uppercase tracking-[0.09em]",d.kind==="chart"?"border-brand/40 text-brand":"border-line text-ink-faint"),children:p}),d.count!==void 0&&d.kind==="list"&&c("span",{class:"rounded-[3px] bg-count px-[7px] py-0.5 font-mono text-[11px] text-ink-muted",children:d.count})]})]}),a&&c("div",{ref:u,role:"menu",class:"absolute left-4 top-9 z-20 w-[300px] overflow-hidden rounded-b-[6px] border border-line-modal bg-control shadow-modal",children:l.elided.map(m=>c("button",{type:"button",role:"menuitem",onClick:()=>r(m.index),class:"flex w-full items-baseline gap-2.5 border-b border-line-soft px-3.5 py-[9px] text-left transition-colors last:border-b-0 hover:bg-row-hover",children:[c("span",{class:"w-[10px] shrink-0 font-mono text-[10px] text-ink-faint",children:m.index+1}),c("span",{class:"flex min-w-0 flex-col gap-0.5",children:[c("span",{class:"truncate font-mono text-[11.5px] text-ink",children:m.level.title}),c("span",{class:"font-sans text-[11px] text-ink-dim",children:x1(m.level,o)})]})]},m.level.id))})]})}function w1({crumb:e,onJump:t}){const r=he(),i=e.level.stale;return c(Pe,{children:[c("button",{type:"button",onClick:()=>t(e.index),title:i?r("nav.stale_values",{at:i.at}):void 0,class:C("truncate border-b border-transparent pb-px font-mono text-[11.5px] transition-colors hover:border-accent hover:text-accent focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-accent",e.level.origin==="chart"?"text-brand":"text-ink-muted"),children:[i&&c("span",{"aria-hidden":"true",class:"mr-1.5 inline-block size-[5px] rounded-full bg-warn align-middle"}),e.level.title]}),ib]})}function S1(){let e=0,t=!1;return{begin(){return t?null:(t=!0,e+=1,e)},settle(r){return r!==e?!1:(t=!1,!0)},reset(){e+=1,t=!1}}}function ab(e,t){return{canLoadItem:ei(e,t,"erpnext_item_get"),canLoadMovements:ei(e,t,"erpnext_stock_entry_list")}}function I1(e){return e.fixture||e.hasJump||e.canInspect||e.messagesEnabled}const tm={_availableTools:["erpnext_stock_balance","erpnext_item_get","erpnext_stock_entry_list","erpnext_doc_list","erpnext_stock_chart"],_sendMessageHints:[{key:"item",label:"Item",message:"Show item {id}",tool:"erpnext_item_get",args:{name:"{id}"},kind:"record"},{key:"movements",label:"Stock entries",message:"Show stock entries for item {id}",tool:"erpnext_doc_list",args:{doctype:"Stock Entry",fields:["name","posting_date","stock_entry_type","docstatus"],filters:[["Stock Entry Detail","item_code","=","{id}"]],limit:20},kind:"list"},{key:"warehouse",label:"Warehouse stock",message:"Show stock chart for warehouse {warehouse}",tool:"erpnext_stock_chart",args:{warehouse:"{warehouse}",limit:10},kind:"chart"}],count:4,data:[{item_code:"WIDGET-A",warehouse:"Stores - C",actual_qty:42,reserved_qty:4,projected_qty:38,valuation_rate:12.5,stock_value:525},{item_code:"WIDGET-B",warehouse:"Stores - C",actual_qty:8,reserved_qty:2,projected_qty:6,valuation_rate:44,stock_value:352},{item_code:"GADGET-1",warehouse:"Finished Goods - C",actual_qty:0,reserved_qty:0,projected_qty:20,valuation_rate:18,stock_value:0},{item_code:"BOLT-M6",warehouse:"Stores - C",actual_qty:1200,reserved_qty:80,projected_qty:1120,valuation_rate:.15,stock_value:180}],refreshRequest:{toolName:"erpnext_stock_balance",arguments:{limit:50}}},z1={"WIDGET-A":{item:{item_name:"Widget A",item_group:"Products",stock_uom:"Nos",standard_rate:15},movements:[{name:"MAT-STE-0001",stock_entry_type:"Material Receipt",posting_date:"2026-08-10"},{name:"MAT-STE-0002",stock_entry_type:"Material Transfer",posting_date:"2026-08-12"}]},"WIDGET-B":{item:{item_name:"Widget B",item_group:"Products",stock_uom:"Nos",standard_rate:48},movements:[{name:"MAT-STE-0003",stock_entry_type:"Material Issue",posting_date:"2026-08-11"}]},"GADGET-1":{item:{item_name:"Gadget 1",item_group:"Products",stock_uom:"Nos",standard_rate:22},movements:[]},"BOLT-M6":{item:{item_name:"Hex Bolt M6",item_group:"Raw Material",stock_uom:"Nos",standard_rate:.2},movements:[{name:"MAT-STE-0004",stock_entry_type:"Material Receipt",posting_date:"2026-08-08"}]}};function nm(e){return z1[e]??{item:{item_name:e,item_group:"Products",stock_uom:"Nos"},movements:[]}}function T1(){return typeof window>"u"?!1:new URLSearchParams(globalThis.location.search).has("fixture")}const rm=1e4;function P1({app:e,itemCode:t,warehouse:r,fixture:i,availableTools:n,onClose:o}){const a=he(),s=i?nm(t):null,[u,l]=ie(s?.item??null),[d,p]=ie(s?.movements??null),[m,f]=ie(!i),[h,g]=ie("idle"),v=ge(S1()),w=!i&&su(e.getHostCapabilities());Ie(()=>(v.current.reset(),g("idle"),()=>{v.current.reset()}),[t]),Ie(()=>{if(i){const z=nm(t);l(z.item),p(z.movements),f(!1);return}const b=ab(e.getHostCapabilities()?.serverTools,n);if(l(null),p(null),!b.canLoadItem&&!b.canLoadMovements){f(!1);return}let D=!1;return f(!0),(async()=>{try{const[z,y]=await Promise.all([b.canLoadItem?e.callServerTool({name:"erpnext_item_get",arguments:{name:t}},{timeout:rm}).catch(()=>null):Promise.resolve(null),b.canLoadMovements?e.callServerTool({name:"erpnext_stock_entry_list",arguments:{limit:5,item_code:t}},{timeout:rm}).catch(()=>null):Promise.resolve(null)]);if(D)return;if(z&&!z.isError){const T=Pt(z);if(T)try{const A=JSON.parse(T);l(A.data??A)}catch{}}if(y&&!y.isError){const T=Pt(y);if(T)try{const A=JSON.parse(T);p(A.data??[])}catch{}}}catch{}D||f(!1)})(),()=>{D=!0}},[e,i,t,n]);async function S(b){const D=v.current.begin();if(D===null)return;g("pending");const z=await cu(e,b);v.current.settle(D)&&g(z?"idle":"error")}const $=u?[u.item_name!=null?{id:"name",label:a("stock.detail.label.name"),value:String(u.item_name)}:null,u.item_group!=null?{id:"group",label:a("stock.detail.label.group"),value:String(u.item_group)}:null,u.stock_uom!=null?{id:"uom",label:a("stock.detail.label.uom"),value:String(u.stock_uom)}:null,u.standard_rate!=null?{id:"rate",label:a("stock.detail.label.rate"),value:String(u.standard_rate)}:null].filter(b=>b!=null):[],P=(d??[]).slice(0,4);return c("div",{class:"border-b border-line bg-sunken",children:[c("div",{class:"flex items-center justify-between gap-3 border-b border-line-soft px-4 py-2.5",children:[c("div",{class:"flex min-w-0 items-baseline gap-2",children:[c("span",{class:"font-mono text-cell font-medium text-ink truncate",children:t}),r&&c("span",{class:"font-mono text-chip text-ink-faint shrink-0",children:r})]}),c(Ge,{variant:"quiet",class:"shrink-0 py-1 px-2 text-chip",onClick:o,children:a("common.close")})]}),c("div",{class:"grid grid-cols-[repeat(auto-fit,minmax(200px,300px))] gap-x-10 px-4 pt-3 pb-3.5",children:[m&&c("div",{class:"col-span-full",children:c(Wt,{children:a("stock.detail.loading")})}),$.length>0&&c("div",{class:"flex flex-col gap-1 pb-3",children:$.map(b=>c(w$,{label:b.label,mono:!0,children:b.value},b.id))}),P.length>0&&c("div",{class:"pb-3",children:[c("span",{class:"font-mono text-micro uppercase tracking-label text-ink-faint block pb-1.5",children:a("stock.detail.recent_movements")}),c("div",{class:"flex flex-col divide-y divide-line-soft",children:P.map((b,D)=>c("div",{class:"flex items-baseline justify-between gap-2 py-1.5",children:[c("span",{class:"font-mono text-chip text-ink-2 truncate",children:String(b.stock_entry_type??b.name??"—")}),c("span",{class:"font-mono text-chip text-ink-muted shrink-0",children:String(b.posting_date??"—")})]},String(b.name??D)))})]}),(i||w)&&c("div",{class:C("col-span-full flex flex-wrap gap-1.5",$.length>0||P.length>0?"pt-1":""),"aria-busy":h==="pending",children:[c(Ge,{variant:"secondary",class:"text-chip py-1",disabled:i||h==="pending",onClick:()=>void S(a("stock.nav.chart.message",{itemCode:t})),children:a("stock.detail.action.chart")}),c(Ge,{variant:"secondary",class:"text-chip py-1",disabled:i||h==="pending",onClick:()=>void S(a("stock.nav.details.message",{itemCode:t})),children:a("stock.detail.action.item")}),c(Ge,{variant:"secondary",class:"text-chip py-1",disabled:i||h==="pending",onClick:()=>void S(a("stock.nav.entries.message",{itemCode:t})),children:a("stock.detail.action.entries")}),h!=="idle"&&c("span",{role:"status","aria-live":"polite",class:C("basis-full font-mono text-chip",h==="error"?"text-bad":"text-ink-faint"),children:a(h==="error"?"message.send_error":"message.sending")})]})]})]})}function j1({row:e,isDanger:t,onAsk:r,touch:i=!1}){const n=he();return c("div",{class:C("border-b border-b-line-soft border-l-2",t?"border-l-bad bg-row-selected":"border-l-transparent"),style:{padding:"0 12px 11px"},children:[c("div",{class:"grid gap-2 border-t border-t-line-inner pt-[9px] mt-[9px]",style:{gridTemplateColumns:"repeat(3, 1fr)"},children:[c(Va,{label:n("stock.col.reserved"),value:sn(e.reserved_qty)}),c(Va,{label:n("stock.col.projected"),value:sn(e.projected_qty)}),c(Va,{label:n("stock.col.rate"),value:pt(e.valuation_rate,2)})]}),r&&c("div",{class:"mt-2.5 flex flex-wrap gap-1.5 border-t border-t-line-inner pt-2.5",children:[{label:n("stock.detail.action.chart"),message:n("stock.nav.chart.message",{itemCode:e.item_code})},{label:n("stock.detail.action.item"),message:n("stock.nav.details.message",{itemCode:e.item_code})},{label:n("stock.detail.action.entries"),message:n("stock.nav.entries.message",{itemCode:e.item_code})}].map(o=>c("button",{type:"button",class:C("rounded-[3px] border border-line px-2 font-mono text-chip text-accent-text transition-colors hover:border-accent-edge hover:bg-accent/8 focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-accent",i?"min-h-10 py-2":"py-1"),onClick:()=>void r(o.message),children:o.label},o.label))})]})}function Va({label:e,value:t}){return c("div",{class:"flex flex-col gap-0.5",children:[c("span",{class:"font-mono text-nano uppercase text-ink-faint",children:e}),c("span",{class:"font-mono text-data tabular-nums text-ink-2",children:t})]})}function E1(e,t,r){if(!e||e.length===0)return null;const[i,...n]=e,o=Yt(i,t,r);if(!o)return null;const a=n.map(s=>Yt(s,t)).filter(s=>s!==null);return{...o,children:a.length>0?a:void 0}}function D1(e){return`stock:${encodeURIComponent(e.item_code)}:${encodeURIComponent(e.warehouse)}`}function C1(e,t,r,i){const n=[e.warehouse.trim()||null,`${r} ${i}`.trim()].filter(o=>!!o);return{id:D1(e),view:t,label:e.item_code,...n.length>0?{value:n.join(" · ")}:{}}}function O1(e){return`stock-row-detail-${encodeURIComponent(e.item_code)}--${encodeURIComponent(e.warehouse)}`}const it=new ou({name:"Stock Viewer",version:"2.0.0"}),A1=15e3,N1=1e4;function U1(e){return e<=0?"bad":e<10?"warn":"ok"}function om(e){return`${e.item_code}::${e.warehouse}`}function R1(e){const t=e.refreshRequest?.arguments?.warehouse;if(t)return String(t);const r=[...new Set(e.data.map(i=>i.warehouse))];return r.length===1?r[0]:""}const L1={ok:"text-ink-2",warn:"text-ink-2",bad:"text-ink",neutral:"text-ink-2"},M1={ok:"text-ink-2",warn:"text-warn-text",bad:"text-bad font-medium",neutral:"text-ink-2"},Z1="1.2fr 0.8fr 0.8fr 0.8fr 0.7fr 1fr",F1="1fr 52px 82px";function q1(){const e=he(),t=T1(),[r,i]=ie(t?tm:null),[n,o]=ie(!t),[a,s]=ie(!1),[u,l]=ie(0),[d,p]=ie(0),[m,f]=ie(null),h=ge(t?tm:null),g=ge(null),v=ge(kw()),w=ge(0),S=ge(0);function $(y){h.current=y,g.current=Ca(y,g.current),i(y),l(++w.current)}function P(y){if(y.isError){const A=Pt(y);return f(A??e("stock.error.tool_error")),o(!1),!1}const T=Pt(y);if(!T)return!1;try{return $(JSON.parse(T)),f(null),o(!1),!0}catch{return f(e("common.error.parse_failed")),o(!1),!1}}async function b(y={}){if(t)return!1;const T=Ca(h.current,g.current);if(!T||!ei(it.getHostCapabilities()?.serverTools,h.current?._availableTools,T.toolName))return!1;const A=v.current;if(A.inFlight!==null)return y.force&&(v.current=$d(A,{force:!0}).state),!1;const ne=!!(y.force||A.pendingForced);if(!$w({request:T,visibilityState:typeof document>"u"?"visible":document.visibilityState,refreshInFlight:!1,now:Date.now(),lastRefreshStartedAt:S.current,minIntervalMs:A1},{ignoreInterval:y.ignoreInterval||ne}))return!1;const M=$d(A,{force:ne});if(M.generation===null)return!1;v.current=M.state,S.current=Date.now(),s(!0);let V=null,K=null;try{V=await it.callServerTool({name:T.toolName,arguments:T.arguments},{timeout:N1})}catch(H){K={cause:H}}const Y=xw(v.current,M.generation);v.current=Y.state;let U=!1;return Y.accept&&(K?f(ww(K.cause)):V?.isError?f(e("common.error.refresh_failed")):V&&P(V)?U=!0:f(e("common.error.refresh_no_data"))),s(!1),Y.runPending&&b({ignoreInterval:!0,force:!0}),U}if(Ie(()=>{t||(it.ontoolresult=y=>{v.current=wd(v.current),P(y)},it.ontoolinputpartial=()=>{h.current||o(!0)},it.connect().then(()=>zb(it)).catch(()=>{}))},[t]),Ie(()=>{if(t)return;function y(){b({ignoreInterval:!0})}function T(){document.visibilityState==="visible"&&b({ignoreInterval:!0})}return window.addEventListener("focus",y),document.addEventListener("visibilitychange",T),()=>{window.removeEventListener("focus",y),document.removeEventListener("visibilitychange",T)}},[t]),n)return c(Bo,{children:c(Wt,{children:e("stock.loading")})});if(!r)return c(Bo,{children:c(Wt,{children:e("stock.no_data")})});const D=Ca(r,g.current),z=!!(!t&&D&&it.getHostCapabilities()?.serverTools&&r._availableTools?.includes(D.toolName));return c(H1,{data:r,error:m,refreshing:a,fixture:t,rootRefreshRequest:D,rootFreshEvent:u,rootMutationEvent:d,canRefreshRoot:z,onRefresh:()=>void b({ignoreInterval:!0,force:!0}),onMutationInvalidate:()=>{p(++w.current),v.current=wd(v.current)},onMutationRefresh:z?()=>void b({ignoreInterval:!0,force:!0}):void 0,onError:f})}function H1({data:e,error:t,refreshing:r,fixture:i,rootRefreshRequest:n,rootFreshEvent:o,rootMutationEvent:a,canRefreshRoot:s,onRefresh:u,onMutationInvalidate:l,onMutationRefresh:d,onError:p}){const m=he(),{ref:f,layout:h}=dw(),g=h!=="wide",v=h==="mobile",w=Mw("stock",n??void 0,{doctype:"Bin"}),S=k1(it,{title:m("stock.title"),kind:"root",origin:"list",key:w},{fixture:i}),$=vw(it,w),P=ka(),b=S.nav,{isRoot:D,current:z}=b;wt(()=>()=>P.cancelAll(),[P,w]),wt(()=>{const G=b.stack.levels[0];o>a&&G?.stale&&b.clearStale(G.id)},[o,a]);const{jumpsEnabled:y,messagesEnabled:T}=S,{list:A}=S,{ask:ne}=S,[M,V]=ie("item_code"),[K,Y]=ie("asc"),[U,H]=ie(""),[L,R]=ie(!1),[Q,le]=ie(null),j=it.getHostCapabilities(),N=i?void 0:j,q={supported:!i&&$.supported,activate:$.activate,activateReversible:$.activateReversible,reconcileView:$.reconcileView,reconcileDocument:$.reconcileDocument,isSelected:$.isSelected,canShareResource:G=>A$(N,G)},W=ab(j?.serverTools,e._availableTools),Oe=(e._sendMessageHints??[]).map(G=>typeof G.tool=="string"&&nb(e._availableTools,G.tool)?G:{...G,tool:void 0}),de=y&&!!Oe[0]?.tool,F=W.canLoadItem||W.canLoadMovements,_e=I1({fixture:i,hasJump:de,canInspect:F,messagesEnabled:T}),Me=m("stock.title"),Xe=G=>C1(G,Me,m("stock.col.actual"),sn(G.actual_qty));Ie(()=>{q.supported&&$.reconcileView(Me,e.data.map(Xe))},[e,w,q.supported,$.reconcileView]);const B=Ve(()=>{if(!U)return e.data;const G=U.toLowerCase();return e.data.filter(Re=>Re.item_code.toLowerCase().includes(G)||Re.warehouse.toLowerCase().includes(G))},[e.data,U]),ee=Ve(()=>[...B].sort((G,Re)=>{const lt=G[M],ut=Re[M];if(lt==null&&ut==null)return 0;if(lt==null)return 1;if(ut==null)return-1;const lo=typeof lt=="number"&&typeof ut=="number"?lt-ut:String(lt).localeCompare(String(ut));return K==="asc"?lo:-lo}),[B,M,K]),J=Ve(()=>ee.reduce((G,Re)=>G+(Re.stock_value??0),0),[ee]);function oe(G){M===G?Y(Re=>Re==="asc"?"desc":"asc"):(V(G),Y("asc"))}function Te(G,Re){return["border-r-2",G?"border-r-accent":"border-r-transparent",Re&&!G&&"active:border-r-accent-edge"].filter(Boolean).join(" ")}function we(G){return de?E1(Oe,{id:G.item_code,warehouse:G.warehouse},m("nav.linked_to",{id:G.item_code})):null}function Ze(G,Re){const lt=om(G);if(Re){b.toggleRootChild(Re,Xe(G).id);return}le(ut=>ut===lt?null:lt)}const je=R1(e),_t=g?F1:Z1,Ln=_e?`minmax(0, 1fr) ${v?"40px":"32px"}`:"minmax(0, 1fr)";return c(Bo,{containerRef:f,children:[c("header",{class:C("flex shrink-0 items-center justify-between border-b border-line",g?"gap-2.5 px-3 py-[11px]":"gap-3 px-4 py-[13px]"),children:[c("div",{class:C("flex min-w-0 items-center",g?"gap-2":"gap-3"),children:[g?c("h3",{class:"m-0 truncate font-display font-semibold text-ink text-card-title",children:m("stock.title")}):c("h2",{class:"m-0 truncate font-display font-semibold text-ink text-title tracking-title",children:m("stock.title")}),c(iu,{narrow:g,children:ee.length})]}),c("div",{class:"flex min-w-0 shrink-0 items-center gap-2",children:[c(T$,{selections:$.selections,failed:$.failed,pending:$.pending,evictedLabel:$.evictedLabel,onRemove:$.remove,onClear:$.clear,compact:g}),D&&c(Pe,{children:[z.stale&&c("div",{role:"status",title:m("nav.stale_title"),class:"flex items-center gap-1.5 font-mono text-[9.5px] text-warn",children:[c("span",{"aria-hidden":"true",class:"size-[5px] rounded-full bg-warn"}),!g&&c("span",{children:m("nav.stale_values",{at:z.stale.at})}),s&&c("button",{type:"button",disabled:r,onClick:u,"aria-label":m("nav.refresh"),title:m("nav.refresh"),class:"rounded-[3px] px-1 text-[12px] leading-none text-warn hover:bg-warn/10 disabled:opacity-50",children:r?"…":"↻"})]}),je&&c("span",{class:C("max-w-40 truncate font-mono text-ink-faint",g?"text-micro":"text-chip"),children:je}),c(n1,{value:U,layout:h,open:L,onOpenChange:R,onInput:H})]})]})]}),D&&h==="mobile"&&L&&c(tb,{value:U,onInput:H,onClose:()=>R(!1)}),c($1,{layout:h,stack:b.stack,onBack:b.pop,onJump:b.popTo,loading:z.loading}),t&&c("div",{class:"border-l-2 border-bad shrink-0 px-4 py-2 bg-bad/10 font-mono text-chip text-bad",children:t}),c("div",{class:"min-h-0 flex-1 overflow-y-auto scroll-slim",children:[c("div",{class:"grid shrink-0 bg-sunken border-b border-line",style:{gridTemplateColumns:Ln,padding:g?"6px 0 6px 12px":"7px 0 7px 16px"},children:[c("div",{class:"grid min-w-0",style:{gridTemplateColumns:_t,paddingRight:"4px"},children:g?c(Pe,{children:[c(yt,{label:m("stock.col.item")}),c(yt,{label:m("stock.col.qty"),align:"right"}),c(yt,{label:m("stock.col.value"),align:"right"})]}):c(Pe,{children:[c(yt,{label:m("stock.col.item"),onClick:()=>oe("item_code"),sorted:M==="item_code",sortDir:M==="item_code"?K:void 0}),c(yt,{label:m("stock.col.actual"),align:"right",onClick:()=>oe("actual_qty"),sorted:M==="actual_qty",sortDir:M==="actual_qty"?K:void 0}),c(yt,{label:m("stock.col.reserved"),align:"right",onClick:()=>oe("reserved_qty"),sorted:M==="reserved_qty",sortDir:M==="reserved_qty"?K:void 0}),c(yt,{label:m("stock.col.projected"),align:"right",onClick:()=>oe("projected_qty"),sorted:M==="projected_qty",sortDir:M==="projected_qty"?K:void 0}),c(yt,{label:m("stock.col.rate"),align:"right",onClick:()=>oe("valuation_rate"),sorted:M==="valuation_rate",sortDir:M==="valuation_rate"?K:void 0}),c(yt,{label:m("stock.col.value"),align:"right",onClick:()=>oe("stock_value"),sorted:M==="stock_value",sortDir:M==="stock_value"?K:void 0})]})}),_e&&c("span",{"aria-hidden":"true"})]}),ee.length===0?c(Wt,{children:m("stock.filter.no_results")}):ee.map(G=>{const Re=U1(G.actual_qty),lt=om(G),ut=we(G),lo=_e&&ut===null,uo=Xe(G),mo=O1(G),po=q.supported&&q.isSelected(uo),$u=!D&&b.stack.levels[1]?.rootTriggerKey===uo.id,wu=lo&&Q===lt,nn=$u||wu,Su=Re==="bad",fo=q.supported||_e,sb=_e?m(q.supported?nn?"document.row.close_detail":"document.row.open_detail":nn?"document.row.close_detail_only":"document.row.open_detail_only",{label:G.item_code}):m("context.active.select",{label:G.item_code}),Ia={key:uo.id,doublePolicy:"local",onSingle:()=>q.supported?q.activateReversible(uo):void 0,onDouble:()=>{_e&&Ze(G,ut)}};return c("div",{children:[c("div",{class:C("grid items-center border-l-2 border-b border-b-line-soft transition-colors",xa[Re],Su||nn||po?"bg-row-selected":"hover:bg-row-hover",Te(po,fo)),style:{gridTemplateColumns:Ln,minHeight:v?"40px":void 0},children:[c("div",{class:C("grid min-w-0 items-center focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-accent",fo&&"cursor-pointer",fo&&!nn&&!po&&"active:bg-row-selected"),style:{gridTemplateColumns:_t,padding:g?"0 4px 0 12px":"8px 4px 8px 16px",minHeight:v?"40px":void 0},...fo?{role:"button",tabIndex:0,"aria-label":sb,"aria-pressed":q.supported?po:void 0,"aria-expanded":_e?nn:void 0,"aria-controls":_e?mo:void 0,"aria-keyshortcuts":q.supported&&_e?"Space Enter":q.supported?"Space":"Enter",onClick:rn=>{(_e||rn.detail<2)&&P.click(Ia,rn.detail)},onDblClick:_e?()=>P.doubleClick(Ia):void 0,onKeyDown:rn=>{(rn.key===" "&&q.supported||rn.key==="Enter"&&_e)&&P.keyDown(Ia,rn)}}:{},children:[c("span",{class:C("font-mono truncate",L1[Re],"text-data"),children:G.item_code}),c("span",{class:C("font-mono text-right tabular-nums",M1[Re],g?"text-data":"text-cell"),children:sn(G.actual_qty)}),!g&&c(Pe,{children:[c("span",{class:"font-mono text-cell text-right tabular-nums text-ink-muted",children:sn(G.reserved_qty)}),c("span",{class:C("font-mono text-cell text-right tabular-nums",G.projected_qty!=null&&G.projected_qty<0?"text-bad":"text-ink-muted"),children:sn(G.projected_qty)}),c("span",{class:"font-mono text-cell text-right tabular-nums text-ink-muted",children:pt(G.valuation_rate,2)})]}),c("span",{class:C("font-mono text-right tabular-nums",g?"text-data text-ink-2":"text-cell text-ink"),children:Ro(G.stock_value,e.currency)})]}),_e&&c(Ko,{expanded:nn,label:G.item_code,controls:mo,touch:v,onToggle:()=>{Ze(G,ut)}})]}),$u&&c("section",{id:mo,class:"flex min-h-[280px] flex-col border-b border-line bg-surface",children:c(f1,{level:z,app:it,list:A,layout:h,fixture:i,onJump:y?b.jump:void 0,onAsk:ne,onError:p,onMutated:b.markStale,onDocumentChanged:b.reportDocumentChange,onMutationInvalidate:l,onMutationRefresh:d,onRefresh:()=>void b.refreshLevel(),context:q,contextView:Me})}),wu&&c("div",{id:mo,children:g?c(j1,{row:G,isDanger:Su,onAsk:T?ne:void 0,touch:v}):c(P1,{app:it,itemCode:G.item_code,warehouse:G.warehouse,fixture:i,availableTools:e._availableTools,onClose:()=>le(null)})})]},lt)})]}),c("div",{class:C("flex shrink-0 items-baseline justify-between bg-sunken border-t border-line",g?"px-3 py-[11px]":"px-4 py-[10px]"),children:[c("span",{class:C("font-mono uppercase tracking-label text-ink-faint",g?"text-nano":"text-micro"),children:m("stock.footer.total_value")}),c("span",{class:C("font-display font-semibold tabular-nums text-ink",g?"text-title":"text-[19px]"),children:Ro(J,e.currency)})]}),c("div",{class:`flex shrink-0 justify-end border-t border-line py-[9px] ${g?"px-3":"px-4"}`,children:c(k$,{compact:g})})]})}function yt({label:e,align:t="left",onClick:r,sorted:i=!1,sortDir:n}){const o=r?i?n==="asc"?"ascending":"descending":"none":void 0;return c("button",{type:"button",class:C("inline-flex items-center font-mono text-micro uppercase tracking-label select-none bg-transparent border-0 p-0",t==="right"?"justify-end":"",r?"cursor-pointer hover:text-ink transition-colors focus-visible:outline-2 focus-visible:outline-accent focus-visible:rounded-sm":"pointer-events-none",i?"text-accent":"text-ink-faint"),onClick:r,"aria-sort":o,disabled:!r,children:[e,i&&n&&c("svg",{width:"7",height:"5",viewBox:"0 0 7 5",class:"ml-1 text-accent",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",children:n==="asc"?c("path",{d:"M1 1L4 4L7 1"}):c("path",{d:"M1 4L4 1L7 4"})})]})}jb(Eb());Ga(c(q1,{}),document.getElementById("app"));</script>
|
|
111
|
-
<style rel="stylesheet" crossorigin>/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-content:"";--tw-outline-style:solid}}}@layer theme{:root,:host{--font-sans:"Work Sans", ui-sans-serif, system-ui, sans-serif;--font-mono:"JetBrains Mono", ui-monospace, "SF Mono", monospace;--spacing:.25rem;--container-md:28rem;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-snug:1.375;--leading-relaxed:1.625;--radius-sm:.25rem;--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-surface:#fff;--color-sunken:#f4f7f8;--color-ink:#101519;--color-ink-2:#2c3740;--color-ink-muted:#5b6a74;--color-ink-faint:#687781;--color-ink-ghost:#9aa5ad;--color-ink-dim:#7b8892;--color-line:#dbe3e7;--color-line-soft:#eef3f4;--color-line-hover:#b6c4cb;--color-line-inner:#e6edef;--color-accent:#0d7c8a;--color-accent-text:#0a6673;--color-accent-edge:#86c0c8;--color-brand:#8a4fa3;--color-ok:#12855f;--color-warn:#d98b1f;--color-warn-text:#a56815;--color-bad:#c9453c;--color-row-hover:#f9fbfb;--color-row-selected:#f2f7f8;--color-control:#fff;--color-count:#eef3f4;--color-track:#e2e9ec;--color-scrim:#10151973;--color-line-modal:#c3ced4;--color-cat-1:#2a78d6;--color-cat-2:#eb6834;--color-cat-3:#1baf7a;--color-cat-4:#eda100;--color-cat-5:#e87ba4;--color-cat-6:#008300;--color-cat-7:#4a3aa7;--color-cat-8:#e34948;--font-display:"Space Grotesk", ui-sans-serif, system-ui, sans-serif;--text-nano:9.5px;--text-micro:10px;--text-chip:10.5px;--text-meta:11px;--text-note:11.5px;--text-data:12px;--text-cell:12.5px;--text-body:13px;--text-lede:14px;--text-title:17px;--text-card-title:15.5px;--tracking-title:-.01em;--tracking-chip:.06em;--tracking-live:.08em;--tracking-label:.1em;--shadow-tooltip:0 2px 8px #10151929;--radius-bar:2px;--radius-badge:3px;--radius-chip:4px;--radius-control:5px;--radius-touch:6px;--radius-card:8px;--radius-pill:13px}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}html{border-radius:var(--radius-card);background:var(--color-surface);overflow:hidden}body{background:var(--color-surface);color:var(--color-ink);font-family:var(--font-sans);font-size:var(--text-body);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;overflow:auto}code,kbd,samp,pre,.font-mono{font-variant-numeric:tabular-nums}}@layer components{.skeleton{border-radius:var(--radius-chip);background:linear-gradient(90deg,var(--color-sunken) 25%,var(--color-row-hover) 50%,var(--color-sunken) 75%);background-size:200% 100%;animation:1.5s infinite shimmer}}@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.top-9{top:calc(var(--spacing) * 9)}.top-full{top:100%}.right-0{right:0}.bottom-0{bottom:0}.left-0{left:0}.left-4{left:calc(var(--spacing) * 4)}.z-0{z-index:0}.z-20{z-index:20}.z-30{z-index:30}.z-50{z-index:50}.z-\[1\]{z-index:1}.col-span-full{grid-column:1/-1}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.m-0{margin:0}.m-4{margin:calc(var(--spacing) * 4)}.mx-3\.5{margin-inline:calc(var(--spacing) * 3.5)}.-my-0\.5{margin-block:calc(var(--spacing) * -.5)}.-my-1{margin-block:calc(var(--spacing) * -1)}.-mt-1{margin-top:calc(var(--spacing) * -1)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-2\.5{margin-top:calc(var(--spacing) * 2.5)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-\[9px\]{margin-top:9px}.-mr-1{margin-right:calc(var(--spacing) * -1)}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mb-0{margin-bottom:0}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.-ml-1\.5{margin-left:calc(var(--spacing) * -1.5)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-\[5px\]{width:5px;height:5px}.size-\[13px\]{width:13px;height:13px}.size-full{width:100%;height:100%}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-2{height:calc(var(--spacing) * 2)}.h-3{height:calc(var(--spacing) * 3)}.h-9{height:calc(var(--spacing) * 9)}.h-\[3px\]{height:3px}.h-\[15px\]{height:15px}.h-\[17px\]{height:17px}.h-\[19px\]{height:19px}.h-\[132px\]{height:132px}.h-\[144px\]{height:144px}.h-\[min\(92vh\,860px\)\]{height:min(92vh,860px)}.h-full{height:100%}.max-h-64{max-height:calc(var(--spacing) * 64)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-\[44px\]{min-height:44px}.min-h-\[280px\]{min-height:280px}.min-h-px{min-height:1px}.w-1\/3{width:33.3333%}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-3\/4{width:75%}.w-8{width:calc(var(--spacing) * 8)}.w-10{width:calc(var(--spacing) * 10)}.w-20{width:calc(var(--spacing) * 20)}.w-40{width:calc(var(--spacing) * 40)}.w-56{width:calc(var(--spacing) * 56)}.w-\[10px\]{width:10px}.w-\[300px\]{width:300px}.w-full{width:100%}.w-max{width:max-content}.max-w-24{max-width:calc(var(--spacing) * 24)}.max-w-36{max-width:calc(var(--spacing) * 36)}.max-w-40{max-width:calc(var(--spacing) * 40)}.max-w-\[45\%\]{max-width:45%}.max-w-\[436px\]{max-width:436px}.max-w-\[680px\]{max-width:680px}.max-w-\[1080px\]{max-width:1080px}.max-w-\[calc\(100vw-24px\)\]{max-width:calc(100vw - 24px)}.max-w-\[min\(17\.5rem\,calc\(100vw-1rem\)\)\]{max-width:min(17.5rem,100vw - 1rem)}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:0}.flex-1{flex:1}.shrink-0{flex-shrink:0}.basis-full{flex-basis:100%}.table-fixed{table-layout:fixed}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-1\/2{--tw-translate-y: 50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.rotate-90{rotate:90deg}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.appearance-none{appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-\[92px_1fr_78px\]{grid-template-columns:92px 1fr 78px}.grid-cols-\[auto_1fr\]{grid-template-columns:auto 1fr}.grid-cols-\[minmax\(0\,1\.7fr\)_minmax\(0\,1\.15fr\)_minmax\(72px\,0\.8fr\)\]{grid-template-columns:minmax(0,1.7fr) minmax(0,1.15fr) minmax(72px,.8fr)}.grid-cols-\[minmax\(0\,1\.8fr\)_minmax\(0\,1\.2fr\)_minmax\(52px\,0\.7fr\)_minmax\(72px\,0\.8fr\)\]{grid-template-columns:minmax(0,1.8fr) minmax(0,1.2fr) minmax(52px,.7fr) minmax(72px,.8fr)}.grid-cols-\[minmax\(0\,1fr\)_52px_82px\]{grid-template-columns:minmax(0,1fr) 52px 82px}.grid-cols-\[minmax\(0\,1fr\)_82px\]{grid-template-columns:minmax(0,1fr) 82px}.grid-cols-\[minmax\(0\,1fr\)_268px\]{grid-template-columns:minmax(0,1fr) 268px}.grid-cols-\[minmax\(0\,1fr\)_minmax\(72px\,0\.6fr\)\]{grid-template-columns:minmax(0,1fr) minmax(72px,.6fr)}.grid-cols-\[repeat\(auto-fit\,minmax\(200px\,300px\)\)\]{grid-template-columns:repeat(auto-fit,minmax(200px,300px))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-3\.5{gap:calc(var(--spacing) * 3.5)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-\[3px\]{gap:3px}.gap-\[7px\]{gap:7px}.gap-\[9px\]{gap:9px}.gap-px{gap:1px}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-10{column-gap:calc(var(--spacing) * 10)}.gap-y-1{row-gap:var(--spacing)}.gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-\[9px\]{row-gap:9px}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-line-soft>:not(:last-child)){border-color:var(--color-line-soft)}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4px\]{border-radius:4px}.rounded-\[5px\]{border-radius:5px}.rounded-badge{border-radius:var(--radius-badge)}.rounded-bar{border-radius:var(--radius-bar)}.rounded-card{border-radius:var(--radius-card)}.rounded-chip{border-radius:var(--radius-chip)}.rounded-control{border-radius:var(--radius-control)}.rounded-full{border-radius:3.40282e38px}.rounded-pill{border-radius:var(--radius-pill)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-touch{border-radius:var(--radius-touch)}.rounded-b-\[6px\]{border-bottom-right-radius:6px;border-bottom-left-radius:6px}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-0{border-top-style:var(--tw-border-style);border-top-width:0}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-r-2{border-right-style:var(--tw-border-style);border-right-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-dotted{--tw-border-style:dotted;border-style:dotted}.border-accent{border-color:var(--color-accent)}.border-accent-edge{border-color:var(--color-accent-edge)}.border-accent\/45{border-color:#0d7c8a73}@supports (color:color-mix(in lab,red,red)){.border-accent\/45{border-color:color-mix(in oklab,var(--color-accent) 45%,transparent)}}.border-bad{border-color:var(--color-bad)}.border-bad\/20{border-color:#c9453c33}@supports (color:color-mix(in lab,red,red)){.border-bad\/20{border-color:color-mix(in oklab,var(--color-bad) 20%,transparent)}}.border-bad\/25{border-color:#c9453c40}@supports (color:color-mix(in lab,red,red)){.border-bad\/25{border-color:color-mix(in oklab,var(--color-bad) 25%,transparent)}}.border-bad\/30{border-color:#c9453c4d}@supports (color:color-mix(in lab,red,red)){.border-bad\/30{border-color:color-mix(in oklab,var(--color-bad) 30%,transparent)}}.border-brand\/40{border-color:#8a4fa366}@supports (color:color-mix(in lab,red,red)){.border-brand\/40{border-color:color-mix(in oklab,var(--color-brand) 40%,transparent)}}.border-ink-faint{border-color:var(--color-ink-faint)}.border-line{border-color:var(--color-line)}.border-line-modal{border-color:var(--color-line-modal)}.border-line-soft{border-color:var(--color-line-soft)}.border-transparent{border-color:#0000}.border-warn\/20{border-color:#d98b1f33}@supports (color:color-mix(in lab,red,red)){.border-warn\/20{border-color:color-mix(in oklab,var(--color-warn) 20%,transparent)}}.border-warn\/40{border-color:#d98b1f66}@supports (color:color-mix(in lab,red,red)){.border-warn\/40{border-color:color-mix(in oklab,var(--color-warn) 40%,transparent)}}.border-warn\/45{border-color:#d98b1f73}@supports (color:color-mix(in lab,red,red)){.border-warn\/45{border-color:color-mix(in oklab,var(--color-warn) 45%,transparent)}}.border-t-line-inner{border-top-color:var(--color-line-inner)}.border-r-accent{border-right-color:var(--color-accent)}.border-r-transparent{border-right-color:#0000}.border-b-line-soft{border-bottom-color:var(--color-line-soft)}.border-l-bad{border-left-color:var(--color-bad)}.border-l-ok{border-left-color:var(--color-ok)}.border-l-transparent{border-left-color:#0000}.border-l-warn{border-left-color:var(--color-warn)}.bg-accent{background-color:var(--color-accent)}.bg-accent\/8{background-color:#0d7c8a14}@supports (color:color-mix(in lab,red,red)){.bg-accent\/8{background-color:color-mix(in oklab,var(--color-accent) 8%,transparent)}}.bg-accent\/12{background-color:#0d7c8a1f}@supports (color:color-mix(in lab,red,red)){.bg-accent\/12{background-color:color-mix(in oklab,var(--color-accent) 12%,transparent)}}.bg-accent\/14{background-color:#0d7c8a24}@supports (color:color-mix(in lab,red,red)){.bg-accent\/14{background-color:color-mix(in oklab,var(--color-accent) 14%,transparent)}}.bg-bad{background-color:var(--color-bad)}.bg-bad\/8{background-color:#c9453c14}@supports (color:color-mix(in lab,red,red)){.bg-bad\/8{background-color:color-mix(in oklab,var(--color-bad) 8%,transparent)}}.bg-bad\/10{background-color:#c9453c1a}@supports (color:color-mix(in lab,red,red)){.bg-bad\/10{background-color:color-mix(in oklab,var(--color-bad) 10%,transparent)}}.bg-bad\/14{background-color:#c9453c24}@supports (color:color-mix(in lab,red,red)){.bg-bad\/14{background-color:color-mix(in oklab,var(--color-bad) 14%,transparent)}}.bg-brand{background-color:var(--color-brand)}.bg-cat-1{background-color:var(--color-cat-1)}.bg-cat-2{background-color:var(--color-cat-2)}.bg-cat-3{background-color:var(--color-cat-3)}.bg-cat-4{background-color:var(--color-cat-4)}.bg-cat-5{background-color:var(--color-cat-5)}.bg-cat-6{background-color:var(--color-cat-6)}.bg-cat-7{background-color:var(--color-cat-7)}.bg-cat-8{background-color:var(--color-cat-8)}.bg-control{background-color:var(--color-control)}.bg-count{background-color:var(--color-count)}.bg-ink{background-color:var(--color-ink)}.bg-ink-faint{background-color:var(--color-ink-faint)}.bg-ink-ghost{background-color:var(--color-ink-ghost)}.bg-ink-muted{background-color:var(--color-ink-muted)}.bg-line{background-color:var(--color-line)}.bg-line-soft{background-color:var(--color-line-soft)}.bg-ok{background-color:var(--color-ok)}.bg-ok\/14{background-color:#12855f24}@supports (color:color-mix(in lab,red,red)){.bg-ok\/14{background-color:color-mix(in oklab,var(--color-ok) 14%,transparent)}}.bg-row-hover{background-color:var(--color-row-hover)}.bg-row-selected{background-color:var(--color-row-selected)}.bg-scrim{background-color:var(--color-scrim)}.bg-sunken{background-color:var(--color-sunken)}.bg-sunken\/95{background-color:#f4f7f8f2}@supports (color:color-mix(in lab,red,red)){.bg-sunken\/95{background-color:color-mix(in oklab,var(--color-sunken) 95%,transparent)}}.bg-surface{background-color:var(--color-surface)}.bg-track{background-color:var(--color-track)}.bg-transparent{background-color:#0000}.bg-warn{background-color:var(--color-warn)}.bg-warn\/8{background-color:#d98b1f14}@supports (color:color-mix(in lab,red,red)){.bg-warn\/8{background-color:color-mix(in oklab,var(--color-warn) 8%,transparent)}}.bg-warn\/10{background-color:#d98b1f1a}@supports (color:color-mix(in lab,red,red)){.bg-warn\/10{background-color:color-mix(in oklab,var(--color-warn) 10%,transparent)}}.bg-warn\/14{background-color:#d98b1f24}@supports (color:color-mix(in lab,red,red)){.bg-warn\/14{background-color:color-mix(in oklab,var(--color-warn) 14%,transparent)}}.object-contain{object-fit:contain}.p-0{padding:0}.p-1\.5{padding:calc(var(--spacing) * 1.5)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-3\.5{padding:calc(var(--spacing) * 3.5)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-10{padding-block:calc(var(--spacing) * 10)}.py-\[3px\]{padding-block:3px}.py-\[5px\]{padding-block:5px}.py-\[7px\]{padding-block:7px}.py-\[9px\]{padding-block:9px}.py-\[10px\]{padding-block:10px}.py-\[11px\]{padding-block:11px}.py-\[13px\]{padding-block:13px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-\[9px\]{padding-top:9px}.pt-\[18px\]{padding-top:18px}.pr-0\.5{padding-right:calc(var(--spacing) * .5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3\.5{padding-right:calc(var(--spacing) * 3.5)}.pb-1{padding-bottom:var(--spacing)}.pb-1\.5{padding-bottom:calc(var(--spacing) * 1.5)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-3\.5{padding-bottom:calc(var(--spacing) * 3.5)}.pb-px{padding-bottom:1px}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-\[14px\]{padding-left:14px}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-display{font-family:var(--font-display)}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-\[9\.5px\]{font-size:9.5px}.text-\[10\.5px\]{font-size:10.5px}.text-\[10px\]{font-size:10px}.text-\[11\.5px\]{font-size:11.5px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[13px\]{font-size:13px}.text-\[14px\]{font-size:14px}.text-\[15px\]{font-size:15px}.text-\[19px\]{font-size:19px}.text-body{font-size:var(--text-body)}.text-card-title{font-size:var(--text-card-title)}.text-cell{font-size:var(--text-cell)}.text-chip{font-size:var(--text-chip)}.text-data{font-size:var(--text-data)}.text-lede{font-size:var(--text-lede)}.text-meta{font-size:var(--text-meta)}.text-micro{font-size:var(--text-micro)}.text-nano{font-size:var(--text-nano)}.text-note{font-size:var(--text-note)}.text-title{font-size:var(--text-title)}.leading-\[1\.55\]{--tw-leading:1.55;line-height:1.55}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\[0\.04em\]{--tw-tracking:.04em;letter-spacing:.04em}.tracking-\[0\.08em\]{--tw-tracking:.08em;letter-spacing:.08em}.tracking-\[0\.09em\]{--tw-tracking:.09em;letter-spacing:.09em}.tracking-chip{--tw-tracking:var(--tracking-chip);letter-spacing:var(--tracking-chip)}.tracking-label{--tw-tracking:var(--tracking-label);letter-spacing:var(--tracking-label)}.tracking-live{--tw-tracking:var(--tracking-live);letter-spacing:var(--tracking-live)}.tracking-title{--tw-tracking:var(--tracking-title);letter-spacing:var(--tracking-title)}.text-pretty{text-wrap:pretty}.break-words{overflow-wrap:break-word}.whitespace-pre-wrap{white-space:pre-wrap}.text-accent{color:var(--color-accent)}.text-accent-text{color:var(--color-accent-text)}.text-bad{color:var(--color-bad)}.text-brand{color:var(--color-brand)}.text-ink{color:var(--color-ink)}.text-ink-2{color:var(--color-ink-2)}.text-ink-dim{color:var(--color-ink-dim)}.text-ink-faint{color:var(--color-ink-faint)}.text-ink-ghost{color:var(--color-ink-ghost)}.text-ink-muted{color:var(--color-ink-muted)}.text-line-hover{color:var(--color-line-hover)}.text-ok{color:var(--color-ok)}.text-warn{color:var(--color-warn)}.text-warn-text{color:var(--color-warn-text)}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.line-through{text-decoration-line:line-through}.accent-accent{accent-color:var(--color-accent)}.opacity-0{opacity:0}.opacity-45{opacity:.45}.shadow-modal{--tw-shadow:0 16px 44px var(--tw-shadow-color,#1015193d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-accent{--tw-ring-color:var(--color-accent)}.ring-offset-1{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.ring-offset-surface{--tw-ring-offset-color:var(--color-surface)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-\[width\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.group-focus-within\:text-accent-text:is(:where(.group):focus-within *){color:var(--color-accent-text)}.group-focus-within\:opacity-100:is(:where(.group):focus-within *){opacity:1}@media(hover:hover){.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-focus-visible\:opacity-100:is(:where(.group):focus-visible *){opacity:1}.placeholder\:text-ink-faint::placeholder{color:var(--color-ink-faint)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:top-1\/2:after{content:var(--tw-content);top:50%}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:size-10:after{content:var(--tw-content);width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.after\:-translate-x-1\/2:after{content:var(--tw-content);--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.after\:-translate-y-1\/2:after{content:var(--tw-content);--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-0:first-child{padding-top:0}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.focus-within\:border-accent-edge:focus-within{border-color:var(--color-accent-edge)}.focus-within\:outline-2:focus-within{outline-style:var(--tw-outline-style);outline-width:2px}.focus-within\:-outline-offset-\[1px\]:focus-within{outline-offset:-1px}.focus-within\:outline-accent\/20:focus-within{outline-color:#0d7c8a33}@supports (color:color-mix(in lab,red,red)){.focus-within\:outline-accent\/20:focus-within{outline-color:color-mix(in oklab,var(--color-accent) 20%,transparent)}}@media(hover:hover){.hover\:border-accent:hover{border-color:var(--color-accent)}.hover\:border-accent-edge:hover{border-color:var(--color-accent-edge)}.hover\:border-ink-muted:hover{border-color:var(--color-ink-muted)}.hover\:border-line-hover:hover{border-color:var(--color-line-hover)}.hover\:bg-accent\/8:hover{background-color:#0d7c8a14}@supports (color:color-mix(in lab,red,red)){.hover\:bg-accent\/8:hover{background-color:color-mix(in oklab,var(--color-accent) 8%,transparent)}}.hover\:bg-accent\/12:hover{background-color:#0d7c8a1f}@supports (color:color-mix(in lab,red,red)){.hover\:bg-accent\/12:hover{background-color:color-mix(in oklab,var(--color-accent) 12%,transparent)}}.hover\:bg-accent\/22:hover{background-color:#0d7c8a38}@supports (color:color-mix(in lab,red,red)){.hover\:bg-accent\/22:hover{background-color:color-mix(in oklab,var(--color-accent) 22%,transparent)}}.hover\:bg-bad\/10:hover{background-color:#c9453c1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-bad\/10:hover{background-color:color-mix(in oklab,var(--color-bad) 10%,transparent)}}.hover\:bg-control:hover{background-color:var(--color-control)}.hover\:bg-row-hover:hover{background-color:var(--color-row-hover)}.hover\:bg-sunken:hover{background-color:var(--color-sunken)}.hover\:bg-warn\/10:hover{background-color:#d98b1f1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-warn\/10:hover{background-color:color-mix(in oklab,var(--color-warn) 10%,transparent)}}.hover\:bg-warn\/12:hover{background-color:#d98b1f1f}@supports (color:color-mix(in lab,red,red)){.hover\:bg-warn\/12:hover{background-color:color-mix(in oklab,var(--color-warn) 12%,transparent)}}.hover\:text-accent:hover{color:var(--color-accent)}.hover\:text-bad:hover{color:var(--color-bad)}.hover\:text-ink:hover{color:var(--color-ink)}.hover\:text-ink-muted:hover{color:var(--color-ink-muted)}}.focus\:w-\[220px\]:focus{width:220px}.focus\:border-accent:focus{border-color:var(--color-accent)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:rounded-badge:focus-visible{border-radius:var(--radius-badge)}.focus-visible\:rounded-sm:focus-visible{border-radius:var(--radius-sm)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-2:focus-visible{outline-offset:-2px}.focus-visible\:outline-offset-1:focus-visible{outline-offset:1px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-accent:focus-visible{outline-color:var(--color-accent)}.focus-visible\:outline-bad:focus-visible{outline-color:var(--color-bad)}.active\:border-r-accent-edge:active{border-right-color:var(--color-accent-edge)}.active\:bg-accent\/20:active{background-color:#0d7c8a33}@supports (color:color-mix(in lab,red,red)){.active\:bg-accent\/20:active{background-color:color-mix(in oklab,var(--color-accent) 20%,transparent)}}.active\:bg-row-selected:active{background-color:var(--color-row-selected)}.active\:text-accent-text:active{color:var(--color-accent-text)}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:cursor-wait:disabled{cursor:wait}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-45:disabled{opacity:.45}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:opacity-55:disabled{opacity:.55}.disabled\:opacity-60:disabled{opacity:.6}@media(hover:hover){.disabled\:hover\:text-ink-muted:disabled:hover{color:var(--color-ink-muted)}}@media(min-width:48rem){.md\:p-6{padding:calc(var(--spacing) * 6)}}.brand-rule{background:linear-gradient(90deg,var(--color-accent) 0%,var(--color-brand) 100%);flex-shrink:0;height:2px}.scroll-slim::-webkit-scrollbar{width:6px;height:6px}.scroll-slim::-webkit-scrollbar-track{background:0 0}.scroll-slim::-webkit-scrollbar-thumb{background:var(--color-line);border-radius:3px}.scroll-slim::-webkit-scrollbar-thumb:hover{background:var(--color-line-hover)}.fade-edge-r{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 32px),#0000 100%);mask-image:linear-gradient(90deg,#000 calc(100% - 32px),#0000)}.select-chevron{appearance:none;background-image:none;padding-right:2rem}.select-chevron::-ms-expand{display:none}.select-chevron-wrap{display:block;position:relative}.select-chevron-wrap:after{content:"";pointer-events:none;background-color:var(--color-ink-muted);width:11px;height:11px;position:absolute;top:50%;right:.7rem;transform:translateY(-50%);-webkit-mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round'><path d='M3 4.5 6 7.5 9 4.5'/></svg>");mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round'><path d='M3 4.5 6 7.5 9 4.5'/></svg>");-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.detail-toggle{position:relative}.detail-toggle:after{content:attr(data-detail-hint);z-index:40;width:max-content;max-width:min(180px,calc(100vw - 16px),var(--detail-hint-max-width,180px));border:1px solid var(--color-line);border-radius:var(--radius-chip);background:var(--color-control);box-shadow:var(--shadow-tooltip);color:var(--color-ink-muted);font-family:var(--font-mono);white-space:nowrap;text-overflow:ellipsis;pointer-events:none;opacity:0;padding:4px 7px;font-size:9px;font-weight:400;line-height:1.25;transition:opacity .12s,transform .12s;position:absolute;top:50%;right:calc(100% + 6px);overflow:hidden;transform:translateY(-50%)translate(2px)}.detail-toggle:hover:after,.detail-toggle:focus-visible:after{opacity:1;transform:translateY(-50%)translate(0)}.detail-toggle[data-detail-hint-side=right]:after{left:calc(100% + 6px);right:auto;transform:translateY(-50%)translate(-2px)}.detail-toggle[data-detail-hint-side=right]:hover:after,.detail-toggle[data-detail-hint-side=right]:focus-visible:after{transform:translateY(-50%)translate(0)}@media(pointer:coarse){.detail-toggle{min-width:40px;min-height:40px}}@media(hover:none){.detail-toggle:after{display:none}}.drag-scroll{scrollbar-width:none}.drag-scroll::-webkit-scrollbar{display:none}}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:400 600;font-display:swap;unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;src:url(data:font/woff2;base64,d09GMgABAAAAAHpsABIAAAABMqgAAHoCAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoE4G4caHIGacgZgP1NUQVSBICceAIUiL0wRCAqB3DiBrC4LhhYAMIGcXgE2AiQDjBoEIAWHRgejDFtJFnGBsU2lnge5WVVyxx2bn8k4NuF2FGQmX4ZnRm0XabU42f//JyUdMjTEGqDSdar2O+SQccghITKCZESYriN72BqZaY6RUJB0uPlEx4STwvdgyWM3TuN0dmkHp1ih39djHtzlZcqjBEH+ukP3Wz2Jw710mcz4TFNrmNOowSgzl/nbXWIQYdApTKZOe7tkuslj1O5nl5Xxs02ucpl/GRe5jCSh2wdn5w+vLRqoQQaS6d12/ahE1x4WOtXW1XwVGLvMRqwTlb7w/3yd/a99zq1bSbrwIKT7UWk++xPjPwI01EzUCEbn5/nc7M+97xFCjCGFmCITMY0pRowMpimlfMpHmvIj5TNphjI0EylFDBH5lOIWaUSkacSIkV1gEFn2MtRPcUPcMhQ3xI1mKFKLqY2UobhhGkN4GZ50818CCAFBBURmCFmEBBISMhbJXcYlZJDjSCCcIWGEESCwBRWqiFoVa504Fiq1RXeljtVhqzhmFSsdnzpWrdphh/bDTzn1e29IoxGMbEt2HHAA24+4TCe87h5ueIw86QLdbnvdfCBK2rrg/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font-style:normal;font-weight:500 600;font-display:swap;unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;src:url(data:font/woff2;base64,d09GMgABAAAAAFcwABMAAAAAzqQAAFbDAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoMkG/p0HIlOP0hWQVKDKQZgP1NUQVRYJx4AhFovRBEICoGBMOZ3C4RIADDoWAE2AiQDiQwEIAWEbgeLChvXvQeYZx0G6A7Q0RWtqjobUbsd37GEeKCAG0M3bBwANMmI7P//hAQ1ROY/tUcgoZvOiQgRZYq0tQqtrtq0OPuUj1ppo9lTWkHmsaqsgMwUGIipKXJ0KjzWWJ80IoTP6rPTjtqOPehg2PrRVv9O597vba1taam0nOjkldFY2WftKiv9hRBCyGUufEOI8zZfPXycK8k4QmDpPJb+rFeBATgChFh44jhUamELwaUnvcN3N4+vyxNzh/+7rgJjl8eIqFgn2pcoqn36kdWPVjKD2Aj7Vkam8T8C48lH+kg3AlD/PO+2P/c9BHyCgxAQEQkJHIiIiohITly4kWi4No4sbSwrbYxpZWPb2DSWbfWbjV82/8/VXsO/m9WLiJKEJIRgIWgppVS2e2qSQHdP/Mv9S8w6s+4jdm3HKQz/zvl/qAEdu/fCxFin1onzRIzvJ/Yp+knGnttVZS63QCmyUnPSeJOT5CRN0jRNE6Rssc7eE5TCKRKMQn4IAok4YTWC4XngsP27jWMO6wjiQBMO4wU0jTJ/8+n0a1ijkTl2gL4Dyx/y4f3N+gjb6t6Os1Q111515QJCiK3YkgU04IdrvTPJpjAvKZORwLocOORPskAbu2dL4L4qsFLtEG7aMeloSF6q1Gi3UoVhDRIhJESAgAe8Qk3n0pl0P7MX8XWi3YvJXkRBtUkleIAE3aaTaucJhF80mUPrnBD6QtnqQmoPYiAOCLgpJe9NC+zAS3tT3JKlRASEjXQuF+MJISoVs7WT23oxCX0CHje+f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sOOCbzeSLYQ2O+MsewcdctFM4dxYo9vrmiv2yZVnkXx9bihw1XVtbrqlVaHb2v1jvyKLNbur0x3FXnqtVIky5cwqNKrUb6Qq1UapMVqtMcYab5wJJplokwNmm2KyOlO9ctIb620wwyxzzTEP2WkUDVaoZ0H12Sdf2HrrneMEXA20VJgcTaaLMN99/1rggUceO+fNtyArqqYbpmU7ro9EplBpdAaTxVbgcHmKfIFQSaQcXF5iFdWArdQ1JJpSLW0dXT19SwaWDa0YWTW2Zt2GTQwnFocncHHzEHn5+AUEhYRFSCnwvxdNrKhr024b185Ta9lmIUJUtn2Mn92enXCIRfhQkujJTrkfyVCln2VEA3fmDq4CJs3wSaukKzMM5om3xZ2TN4y5Y/sLa7OqrqhdE9JFBhLpLr2QFneywlTjzQRM3Jx6ujcvU3q4uQ1FgIw3RcaS1TVaMxVPTbCLz3iJYBd05Vw5HV0GAnFWE3s05/hgmNlv74M8j/mLx2j/JWQyp9YhIB4+o6n/NVQC4fWoY0XJAVda9BF+wd49BzsJWmc8bnIZGsToKk9Gh57lBfhMHlzQW5v5fRrHMxSifd+ma21LxgMkWSham/jJp17Y4z0g4BBa6nDANwMRwO2NspJtxfmM/fYKad6K3TR0Fmt51ejNFmEWaiKG+Lun1tijT7wC7khvEyYOuQaBO9znNdDhMWgQdJqm2mLN+j7dyeV1RGhKHUcU)format("woff2")}@font-face{font-family:Work Sans;font-style:normal;font-weight:400 500;font-display:swap;unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;src:url(data:font/woff2;base64,d09GMgABAAAAAMVcABMAAAABl+gAAMTrAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGpJiG4KsVByQGj9IVkFSiUkGYD9TVEFUgTgnLgCFNi9+EQgKgaZogYVUC4U6ADCB92ABNgIkA4pwBCAFiXYHkRpbSIORxfNN7v1j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MgSrFKIC/0EdeDz806YMaurVCaDjfskiVGONiAmn9iIXbeuyJLRuIpjn1GyioDSmwo7OJCjoKKwzCcaludmVSaNPRUqlCxG0K50iOmFaxE6TcbkabGfNP8wLtfyHvGP5btTM33gA3+UqXPI64dEEB9ClzeqAbXzW9WiWUaCQbXAgErV2sGAA==)format("woff2")}[data-theme=dark]{--color-surface:#13161a;--color-sunken:#0f1215;--color-ink:#e6ecf0;--color-ink-2:#c3ccd3;--color-ink-muted:#8895a0;--color-ink-faint:#74818b;--color-ink-ghost:#4a5661;--color-ink-dim:#6f7c88;--color-line:#262c33;--color-line-soft:#1d2227;--color-line-hover:#3d464f;--color-line-inner:#232a30;--color-accent:#3ec1cf;--color-accent-text:#6fd7e2;--color-accent-edge:#2b7f89;--color-brand:#b47ec9;--color-brand-text:#c99ad9;--color-ok:#4fbf8b;--color-warn:#e8a94f;--color-warn-text:#e8a94f;--color-bad:#f07067;--color-row-hover:#181c21;--color-row-selected:#1b2126;--color-control:#1a1e23;--color-count:#1d2329;--color-track:#262c33;--color-scrim:#040608a8;--color-line-modal:#2d353d;--shadow-modal:0 16px 44px #0000008c;--shadow-tooltip:0 2px 8px #0006;--color-chart-1:#3ec1cf;--color-chart-2:#3595a3;--color-chart-3:#2f6b76;--color-chart-4:#2b4a52;--color-cat-1:#3987e5;--color-cat-2:#d95926;--color-cat-3:#199e70;--color-cat-4:#c98500;--color-cat-5:#d55181;--color-cat-6:#008300;--color-cat-7:#9085e9;--color-cat-8:#e66767;color-scheme:dark}@media(prefers-color-scheme:dark){:root:not([data-theme]){--color-surface:#13161a;--color-sunken:#0f1215;--color-ink:#e6ecf0;--color-ink-2:#c3ccd3;--color-ink-muted:#8895a0;--color-ink-faint:#5d6a74;--color-ink-ghost:#4a5661;--color-ink-dim:#6f7c88;--color-line:#262c33;--color-line-soft:#1d2227;--color-line-hover:#3d464f;--color-line-inner:#232a30;--color-accent:#3ec1cf;--color-accent-text:#6fd7e2;--color-accent-edge:#2b7f89;--color-brand:#b47ec9;--color-brand-text:#c99ad9;--color-ok:#4fbf8b;--color-warn:#e8a94f;--color-warn-text:#e8a94f;--color-bad:#f07067;--color-row-hover:#181c21;--color-row-selected:#1b2126;--color-control:#1a1e23;--color-count:#1d2329;--color-track:#262c33;--color-scrim:#040608a8;--color-line-modal:#2d353d;--shadow-modal:0 16px 44px #0000008c;--shadow-tooltip:0 2px 8px #0006;--color-chart-1:#3ec1cf;--color-chart-2:#3595a3;--color-chart-3:#2f6b76;--color-chart-4:#2b4a52;--color-cat-1:#3987e5;--color-cat-2:#d95926;--color-cat-3:#199e70;--color-cat-4:#c98500;--color-cat-5:#d55181;--color-cat-6:#008300;--color-cat-7:#9085e9;--color-cat-8:#e66767;color-scheme:dark}}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}@media(prefers-reduced-motion:reduce){.skeleton{animation:none}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}</style>
|
|
147
|
+
- "app": Tool callable by the app from this server only`),csp:_r().optional(),permissions:_r().optional()});j({mimeTypes:oe(I()).optional().describe('Array of supported MIME types for UI resources.\nMust include `"text/html;profile=mcp-app"` for MCP Apps support.')});j({method:x("ui/download-file"),params:j({contents:oe(me([_2,$2])).describe("Resource contents to download — embedded (inline data) or linked (host fetches). Uses standard MCP resource types.")})});j({method:x("ui/message"),params:j({role:x("user").describe('Message role, currently only "user" is supported.'),content:oe(ya).describe("Message content blocks (text, image, etc.).")})});j({method:x("ui/notifications/sandbox-resource-ready"),params:j({html:I().describe("HTML content to load into the inner iframe."),sandbox:I().optional().describe("Optional override for the inner iframe's sandbox attribute."),csp:em.optional().describe("CSP configuration from resource metadata."),permissions:tm.optional().describe("Sandbox permissions from resource metadata.")})});var h4=j({method:x("ui/notifications/tool-result"),params:tu.describe("Standard MCP tool execution result.")}),I2=j({toolInfo:j({id:fa.optional().describe("JSON-RPC id of the tools/call request."),tool:Yp.describe("Tool definition including name, inputSchema, etc.")}).optional().describe("Metadata of the tool call that instantiated this App."),theme:e4.optional().describe("Current color theme preference."),styles:c4.optional().describe("Style configuration for theming the app."),displayMode:hi.optional().describe("How the UI is currently displayed."),availableDisplayModes:oe(hi).optional().describe("Display modes the host supports."),containerDimensions:me([j({height:ue().describe("Fixed container height in pixels.")}),j({maxHeight:me([ue(),oo()]).optional().describe("Maximum container height in pixels.")})]).and(me([j({width:ue().describe("Fixed container width in pixels.")}),j({maxWidth:me([ue(),oo()]).optional().describe("Maximum container width in pixels.")})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other
|
|
148
|
+
container holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:I().optional().describe("User's language and region preference in BCP 47 format."),timeZone:I().optional().describe("User's timezone in IANA format."),userAgent:I().optional().describe("Host application identifier."),platform:me([x("web"),x("desktop"),x("mobile")]).optional().describe("Platform type for responsive design decisions."),deviceCapabilities:j({touch:xe().optional().describe("Whether the device supports touch input."),hover:xe().optional().describe("Whether the device supports hover interactions.")}).optional().describe("Device input capabilities."),safeAreaInsets:j({top:ue().describe("Top safe area inset in pixels."),right:ue().describe("Right safe area inset in pixels."),bottom:ue().describe("Bottom safe area inset in pixels."),left:ue().describe("Left safe area inset in pixels.")}).optional().describe("Mobile safe area boundaries in pixels.")}).passthrough(),v4=j({method:x("ui/notifications/host-context-changed"),params:I2.describe("Partial context update containing only changed fields.")});j({method:x("ui/update-model-context"),params:j({content:oe(ya).optional().describe("Context content blocks (text, image, etc.)."),structuredContent:ye(I(),be().describe("Structured content for machine-readable context data.")).optional().describe("Structured content for machine-readable context data.")})});j({method:x("ui/initialize"),params:j({appInfo:Yl.describe("App identification (name and version)."),appCapabilities:p4.describe("Features and capabilities this app provides."),protocolVersion:I().describe("Protocol version this app supports.")})});var y4=j({protocolVersion:I().describe('Negotiated protocol version string (e.g., "2025-11-21").'),hostInfo:Yl.describe("Host application identification and version."),hostCapabilities:f4.describe("Features and capabilities provided by the host."),hostContext:I2.describe("Rich context about the host environment.")}).passthrough(),_4={target:"draft-2020-12"};async function Cv(n,r){let i=n["~standard"];if(i.jsonSchema)return i.jsonSchema[r](_4);if(i.vendor==="zod"){let{z:l}=await US(()=>Promise.resolve().then(()=>sx),void 0,import.meta.url);return l.toJSONSchema(n,{io:r})}throw Error(`Schema (vendor: ${i.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 Rv(n,r,i=""){let l=await n["~standard"].validate(r);if(l.issues){let t=l.issues.map(a=>{let c=a.path?.map(p=>typeof p=="object"?p.key:p).join(".");return c?`${c}: ${a.message}`:a.message}).join("; ");throw Error(i+t)}return l.value}class nm extends G3{_appInfo;_capabilities;options;_hostCapabilities;_hostInfo;_hostContext;_registeredTools={};_initializedSent=!1;_assertInitialized(r){if(this._initializedSent)return;let i=`[ext-apps] App.${r}() 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(i);console.warn(`${i}. This will throw in a future release.`)}eventSchemas={toolinput:a4,toolinputpartial:s4,toolresult:h4,toolcancelled:l4,hostcontextchanged:v4};static ONE_SHOT_EVENTS=new Set(["toolinput","toolinputpartial","toolresult","toolcancelled"]);_everHadListener=new Set;_assertHandlerTiming(r){if(!nm.ONE_SHOT_EVENTS.has(r)||this._everHadListener.has(r)||(this._everHadListener.add(r),!this._initializedSent))return;let i=`[ext-apps] "${String(r)}" 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(i);console.warn(i)}setEventHandler(r,i){i&&this._assertHandlerTiming(r),super.setEventHandler(r,i)}addEventListener(r,i){this._assertHandlerTiming(r),super.addEventListener(r,i)}onEventDispatch(r,i){r==="hostcontextchanged"&&(this._hostContext={...this._hostContext,...i})}constructor(r,i={},l={autoResize:!0}){super(l),this._appInfo=r,this._capabilities=i,this.options=l,l.allowUnsafeEval||Xe({jitless:!0}),this.setRequestHandler(eu,t=>(console.log("Received ping:",t.params),{})),this.setEventHandler("hostcontextchanged",void 0)}registerCapabilities(r){if(this.transport)throw Error("Cannot register capabilities after transport is established");this._capabilities=K3(this._capabilities,r)}registerTool(r,i,l){if(this._registeredTools[r])throw Error(`Tool ${r} is already registered`);let t=this,a=()=>{t._initializedSent&&t._capabilities.tools?.listChanged&&t.sendToolListChanged()},c=i.inputSchema!==void 0,p={title:i.title,description:i.description,inputSchema:i.inputSchema,outputSchema:i.outputSchema,annotations:i.annotations,_meta:i._meta,enabled:!0,enable(){this.enabled=!0,a()},disable(){this.enabled=!1,a()},update(g){Object.assign(this,g),a()},remove(){t._registeredTools[r]===p&&(delete t._registeredTools[r],a())},handler:async(g,h)=>{if(!p.enabled)throw Error(`Tool ${r} is disabled`);let y;if(c){let k=p.inputSchema,T=k?await Rv(k,g??{},`Invalid input for tool ${r}: `):g??{};y=await l(T,h)}else y=await l(h);return p.outputSchema&&!y.isError&&(y.structuredContent=await Rv(p.outputSchema,y.structuredContent,`Invalid output for tool ${r}: `)),y}};return this._registeredTools[r]=p,!this._capabilities.tools&&!this.transport&&this.registerCapabilities({tools:{listChanged:!0}}),this.ensureToolHandlersInitialized(),a(),p}_toolHandlersInitialized=!1;ensureToolHandlersInitialized(){this._toolHandlersInitialized||(this._toolHandlersInitialized=!0,this.oncalltool=async(r,i)=>{let l=this._registeredTools[r.name];if(!l)throw Error(`Tool ${r.name} not found`);return l.handler(r.arguments,i)},this.onlisttools=async(r,i)=>({tools:await Promise.all(Object.entries(this._registeredTools).filter(([l,t])=>t.enabled).map(async([l,t])=>{let a={name:l,title:t.title,description:t.description,inputSchema:t.inputSchema?await Cv(t.inputSchema,"input"):{type:"object",properties:{}}};return t.outputSchema&&(a.outputSchema=await Cv(t.outputSchema,"output")),t.annotations&&(a.annotations=t.annotations),t._meta&&(a._meta=t._meta),a}))}))}async sendToolListChanged(r={}){this._assertInitialized("sendToolListChanged"),await this.notification({method:"notifications/tools/list_changed",params:r})}getHostCapabilities(){return this._hostCapabilities}getHostVersion(){return this._hostInfo}getHostContext(){return this._hostContext}get ontoolinput(){return this.getEventHandler("toolinput")}set ontoolinput(r){this.setEventHandler("toolinput",r)}get ontoolinputpartial(){return this.getEventHandler("toolinputpartial")}set ontoolinputpartial(r){this.setEventHandler("toolinputpartial",r)}get ontoolresult(){return this.getEventHandler("toolresult")}set ontoolresult(r){this.setEventHandler("toolresult",r)}get ontoolcancelled(){return this.getEventHandler("toolcancelled")}set ontoolcancelled(r){this.setEventHandler("toolcancelled",r)}get onhostcontextchanged(){return this.getEventHandler("hostcontextchanged")}set onhostcontextchanged(r){this.setEventHandler("hostcontextchanged",r)}_onteardown;get onteardown(){return this._onteardown}set onteardown(r){this.warnIfRequestHandlerReplaced("onteardown",this._onteardown,r),this._onteardown=r,this.replaceRequestHandler(d4,(i,l)=>{if(!this._onteardown)throw Error("No onteardown handler set");return this._onteardown(i.params,l)})}_oncalltool;get oncalltool(){return this._oncalltool}set oncalltool(r){this.warnIfRequestHandlerReplaced("oncalltool",this._oncalltool,r),this._oncalltool=r,this.replaceRequestHandler(S2,(i,l)=>{if(!this._oncalltool)throw Error("No oncalltool handler set");return this._oncalltool(i.params,l)})}_onlisttools;get onlisttools(){return this._onlisttools}set onlisttools(r){this.warnIfRequestHandlerReplaced("onlisttools",this._onlisttools,r),this._onlisttools=r,this.replaceRequestHandler(k2,(i,l)=>{if(!this._onlisttools)throw Error("No onlisttools handler set");return this._onlisttools(i.params,l)})}assertCapabilityForMethod(r){switch(r){case"sampling/createMessage":if(!this._hostCapabilities?.sampling)throw Error(`Host does not support sampling (required for ${r})`);break}}assertRequestHandlerCapability(r){switch(r){case"tools/call":case"tools/list":if(!this._capabilities.tools)throw Error(`Client does not support tool capability (required for ${r})`);return;case"ping":case"ui/resource-teardown":return;default:throw Error(`No handler for method ${r} registered`)}}assertNotificationCapability(r){}assertTaskCapability(r){throw Error("Tasks are not supported in MCP Apps")}assertTaskHandlerCapability(r){throw Error("Task handlers are not supported in MCP Apps")}async callServerTool(r,i){if(this._assertInitialized("callServerTool"),typeof r=="string")throw Error(`callServerTool() expects an object as its first argument, but received a string ("${r}"). Did you mean: callServerTool({ name: "${r}", arguments: { ... } })?`);return await this.request({method:"tools/call",params:r},tu,{onprogress:()=>{},resetTimeoutOnProgress:!0,...i})}async readServerResource(r,i){return this._assertInitialized("readServerResource"),await this.request({method:"resources/read",params:r},y2,i)}async listServerResources(r,i){return this._assertInitialized("listServerResources"),await this.request({method:"resources/list",params:r},v2,i)}async createSamplingMessage(r,i){this._assertInitialized("createSamplingMessage");let l=r.tools?x2:b2;return await this.request({method:"sampling/createMessage",params:r},l,i)}sendMessage(r,i){return this._assertInitialized("sendMessage"),this.request({method:"ui/message",params:r},i4,i)}sendLog(r){return this.notification({method:"notifications/message",params:r})}updateModelContext(r,i){return this._assertInitialized("updateModelContext"),this.request({method:"ui/update-model-context",params:r},Lp,i)}openLink(r,i){return this._assertInitialized("openLink"),this.request({method:"ui/open-link",params:r},r4,i)}sendOpenLink=this.openLink;downloadFile(r,i){return this._assertInitialized("downloadFile"),this.request({method:"ui/download-file",params:r},o4,i)}requestTeardown(r={}){return this.notification({method:"ui/notifications/request-teardown",params:r})}requestDisplayMode(r,i){return this._assertInitialized("requestDisplayMode"),this.request({method:"ui/request-display-mode",params:r},m4,i)}sendSizeChanged(r){return this.notification({method:"ui/notifications/size-changed",params:r})}setupSizeChangedNotifications(){let r=!1,i=0,l=0,t=()=>{r||(r=!0,requestAnimationFrame(()=>{r=!1;let c=document.documentElement,p=c.style.height;c.style.height="max-content";let g=Math.ceil(c.getBoundingClientRect().height);c.style.height=p;let h=Math.ceil(window.innerWidth);(h!==i||g!==l)&&(i=h,l=g,this.sendSizeChanged({width:h,height:g}))}))};t();let a=new ResizeObserver(t);return a.observe(document.documentElement),a.observe(document.body),()=>a.disconnect()}async connect(r=new Y3(window.parent,window.parent),i){if(this.transport)throw Error("App is already connected. Call close() before connecting again.");this._initializedSent=!1,await super.connect(r);try{let l=await this.request({method:"ui/initialize",params:{appCapabilities:this._capabilities,appInfo:this._appInfo,protocolVersion:Q3}},y4,i);if(l===void 0)throw Error(`Server sent invalid initialize result: ${l}`);this._hostCapabilities=l.hostCapabilities,this._hostInfo=l.hostInfo,this._hostContext=l.hostContext,await this.notification({method:"ui/notifications/initialized"}),this._initializedSent=!0,this.options?.autoResize&&this.setupSizeChangedNotifications()}catch(l){throw this.close(),l}}}function Je(n){return`var(${n})`}const A={bg:{root:Je("--bg-root"),surface:Je("--bg-surface"),elevated:Je("--bg-elevated"),hover:Je("--bg-hover")},text:{primary:Je("--text-primary"),secondary:Je("--text-secondary"),muted:Je("--text-muted"),faint:Je("--text-faint")},accent:Je("--accent"),accentDim:Je("--accent-dim"),border:Je("--border"),borderSubtle:Je("--border-subtle"),success:Je("--success"),successDim:Je("--success-dim"),error:Je("--error"),errorDim:Je("--error-dim"),warning:Je("--warning"),warningDim:Je("--warning-dim"),info:Je("--info"),infoDim:Je("--info-dim")},_t={sans:Je("--font-sans"),mono:Je("--font-mono")},on={card:{background:A.bg.surface,border:`1px solid ${A.border}`,borderRadius:"8px",padding:"16px"},badge:(n,r)=>({display:"inline-flex",alignItems:"center",padding:"2px 8px",fontSize:"11px",fontWeight:600,borderRadius:"4px",color:n,background:r,letterSpacing:"0.02em"}),input:{background:A.bg.elevated,border:`1px solid ${A.border}`,borderRadius:"6px",padding:"6px 12px",fontSize:"13px",color:A.text.primary,outline:"none",transition:"border-color 0.15s",width:"100%",fontFamily:_t.sans},button:{background:A.bg.elevated,border:`1px solid ${A.border}`,borderRadius:"6px",padding:"6px 14px",fontSize:"12px",color:A.text.secondary,cursor:"pointer",transition:"all 0.15s",fontFamily:_t.sans,whiteSpace:"nowrap"},buttonActive:{background:A.accentDim,borderColor:A.accent,color:A.accent},tableHeader:{padding:"8px 12px",textAlign:"left",fontSize:"11px",fontFamily:_t.mono,fontWeight:600,color:A.text.muted,textTransform:"uppercase",letterSpacing:"0.05em",borderBottom:`1px solid ${A.border}`,cursor:"pointer",userSelect:"none",whiteSpace:"nowrap",transition:"color 0.15s"},tableCell:{padding:"8px 12px",fontSize:"13px",borderBottom:`1px solid ${A.borderSubtle}`,color:A.text.primary},mono:{fontFamily:_t.mono,fontVariantNumeric:"tabular-nums",fontSize:"12px"}};function Cs(n,r=2){return n.toLocaleString("en-US",{minimumFractionDigits:r,maximumFractionDigits:r})}function Lv(n,r="USD"){return n.toLocaleString("en-US",{style:"currency",currency:r,minimumFractionDigits:2,maximumFractionDigits:2})}const $4=new URL("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='500'%20zoomAndPan='magnify'%20viewBox='0%200%20375%20374.999991'%20height='500'%20preserveAspectRatio='xMidYMid%20meet'%20version='1.2'%3e%3cdefs%3e%3cclipPath%20id='f4898d2ac4'%3e%3cpath%20d='M%2069.5%2069.5%20L%20305.5%2069.5%20L%20305.5%20305.5%20L%2069.5%20305.5%20Z%20M%2069.5%2069.5%20'%20/%3e%3c/clipPath%3e%3cclipPath%20id='bdaeedaae6'%3e%3cpath%20d='M%20187.5%2069.5%20C%20122.332031%2069.5%2069.5%20122.332031%2069.5%20187.5%20C%2069.5%20252.667969%20122.332031%20305.5%20187.5%20305.5%20C%20252.667969%20305.5%20305.5%20252.667969%20305.5%20187.5%20C%20305.5%20122.332031%20252.667969%2069.5%20187.5%2069.5%20Z%20M%20187.5%2069.5%20'%20/%3e%3c/clipPath%3e%3clinearGradient%20x1='-0.00000162271'%20gradientTransform='matrix(0.92186,0,0,0.92186,69.50188,69.501888)'%20y1='128'%20x2='255.999971'%20gradientUnits='userSpaceOnUse'%20y2='128'%20id='f66ee0458f'%3e%3cstop%20style='stop-color:%23000000;stop-opacity:1;'%20offset='0'%20/%3e%3cstop%20style='stop-color:%23010101;stop-opacity:1;'%20offset='0.00390625'%20/%3e%3cstop%20style='stop-color:%23020102;stop-opacity:1;'%20offset='0.0078125'%20/%3e%3cstop%20style='stop-color:%23030203;stop-opacity:1;'%20offset='0.0117188'%20/%3e%3cstop%20style='stop-color:%23030303;stop-opacity:1;'%20offset='0.015625'%20/%3e%3cstop%20style='stop-color:%23040404;stop-opacity:1;'%20offset='0.0195312'%20/%3e%3cstop%20style='stop-color:%23050405;stop-opacity:1;'%20offset='0.0234375'%20/%3e%3cstop%20style='stop-color:%23060506;stop-opacity:1;'%20offset='0.0273438'%20/%3e%3cstop%20style='stop-color:%23070607;stop-opacity:1;'%20offset='0.03125'%20/%3e%3cstop%20style='stop-color:%23080708;stop-opacity:1;'%20offset='0.0351562'%20/%3e%3cstop%20style='stop-color:%23090709;stop-opacity:1;'%20offset='0.0390625'%20/%3e%3cstop%20style='stop-color:%23090809;stop-opacity:1;'%20offset='0.0429688'%20/%3e%3cstop%20style='stop-color:%230a090a;stop-opacity:1;'%20offset='0.046875'%20/%3e%3cstop%20style='stop-color:%230b0a0b;stop-opacity:1;'%20offset='0.0507812'%20/%3e%3cstop%20style='stop-color:%230c0a0c;stop-opacity:1;'%20offset='0.0546875'%20/%3e%3cstop%20style='stop-color:%230d0b0d;stop-opacity:1;'%20offset='0.0585938'%20/%3e%3cstop%20style='stop-color:%230e0c0e;stop-opacity:1;'%20offset='0.0625'%20/%3e%3cstop%20style='stop-color:%230f0d0f;stop-opacity:1;'%20offset='0.0664062'%20/%3e%3cstop%20style='stop-color:%230f0d0f;stop-opacity:1;'%20offset='0.0703125'%20/%3e%3cstop%20style='stop-color:%23100e10;stop-opacity:1;'%20offset='0.0742188'%20/%3e%3cstop%20style='stop-color:%23110f11;stop-opacity:1;'%20offset='0.078125'%20/%3e%3cstop%20style='stop-color:%23120f12;stop-opacity:1;'%20offset='0.0820312'%20/%3e%3cstop%20style='stop-color:%23131013;stop-opacity:1;'%20offset='0.0859375'%20/%3e%3cstop%20style='stop-color:%23141114;stop-opacity:1;'%20offset='0.0898438'%20/%3e%3cstop%20style='stop-color:%23151215;stop-opacity:1;'%20offset='0.09375'%20/%3e%3cstop%20style='stop-color:%23151215;stop-opacity:1;'%20offset='0.0976563'%20/%3e%3cstop%20style='stop-color:%23161316;stop-opacity:1;'%20offset='0.101562'%20/%3e%3cstop%20style='stop-color:%23171417;stop-opacity:1;'%20offset='0.105469'%20/%3e%3cstop%20style='stop-color:%23181518;stop-opacity:1;'%20offset='0.109375'%20/%3e%3cstop%20style='stop-color:%23191519;stop-opacity:1;'%20offset='0.113281'%20/%3e%3cstop%20style='stop-color:%231a161a;stop-opacity:1;'%20offset='0.117188'%20/%3e%3cstop%20style='stop-color:%231b171b;stop-opacity:1;'%20offset='0.121094'%20/%3e%3cstop%20style='stop-color:%231b181b;stop-opacity:1;'%20offset='0.125'%20/%3e%3cstop%20style='stop-color:%231c181c;stop-opacity:1;'%20offset='0.128906'%20/%3e%3cstop%20style='stop-color:%231d191d;stop-opacity:1;'%20offset='0.132812'%20/%3e%3cstop%20style='stop-color:%231e1a1e;stop-opacity:1;'%20offset='0.136719'%20/%3e%3cstop%20style='stop-color:%231f1b1f;stop-opacity:1;'%20offset='0.140625'%20/%3e%3cstop%20style='stop-color:%23201b20;stop-opacity:1;'%20offset='0.144531'%20/%3e%3cstop%20style='stop-color:%23211c21;stop-opacity:1;'%20offset='0.148438'%20/%3e%3cstop%20style='stop-color:%23211d21;stop-opacity:1;'%20offset='0.152344'%20/%3e%3cstop%20style='stop-color:%23221e22;stop-opacity:1;'%20offset='0.15625'%20/%3e%3cstop%20style='stop-color:%23231e23;stop-opacity:1;'%20offset='0.160156'%20/%3e%3cstop%20style='stop-color:%23241f24;stop-opacity:1;'%20offset='0.164062'%20/%3e%3cstop%20style='stop-color:%23252025;stop-opacity:1;'%20offset='0.167969'%20/%3e%3cstop%20style='stop-color:%23262026;stop-opacity:1;'%20offset='0.171875'%20/%3e%3cstop%20style='stop-color:%23272127;stop-opacity:1;'%20offset='0.175781'%20/%3e%3cstop%20style='stop-color:%23272227;stop-opacity:1;'%20offset='0.179688'%20/%3e%3cstop%20style='stop-color:%23282328;stop-opacity:1;'%20offset='0.183594'%20/%3e%3cstop%20style='stop-color:%23292329;stop-opacity:1;'%20offset='0.1875'%20/%3e%3cstop%20style='stop-color:%232a242a;stop-opacity:1;'%20offset='0.191406'%20/%3e%3cstop%20style='stop-color:%232b252b;stop-opacity:1;'%20offset='0.195313'%20/%3e%3cstop%20style='stop-color:%232c262c;stop-opacity:1;'%20offset='0.199219'%20/%3e%3cstop%20style='stop-color:%232c262c;stop-opacity:1;'%20offset='0.203125'%20/%3e%3cstop%20style='stop-color:%232d272d;stop-opacity:1;'%20offset='0.207031'%20/%3e%3cstop%20style='stop-color:%232e282e;stop-opacity:1;'%20offset='0.210937'%20/%3e%3cstop%20style='stop-color:%232f292f;stop-opacity:1;'%20offset='0.214844'%20/%3e%3cstop%20style='stop-color:%23302930;stop-opacity:1;'%20offset='0.21875'%20/%3e%3cstop%20style='stop-color:%23312a31;stop-opacity:1;'%20offset='0.222656'%20/%3e%3cstop%20style='stop-color:%23322b32;stop-opacity:1;'%20offset='0.226562'%20/%3e%3cstop%20style='stop-color:%23322c32;stop-opacity:1;'%20offset='0.230469'%20/%3e%3cstop%20style='stop-color:%23332c33;stop-opacity:1;'%20offset='0.234375'%20/%3e%3cstop%20style='stop-color:%23342d34;stop-opacity:1;'%20offset='0.238281'%20/%3e%3cstop%20style='stop-color:%23352e35;stop-opacity:1;'%20offset='0.242188'%20/%3e%3cstop%20style='stop-color:%23362e36;stop-opacity:1;'%20offset='0.246094'%20/%3e%3cstop%20style='stop-color:%23372f37;stop-opacity:1;'%20offset='0.25'%20/%3e%3cstop%20style='stop-color:%23383038;stop-opacity:1;'%20offset='0.253906'%20/%3e%3cstop%20style='stop-color:%23383138;stop-opacity:1;'%20offset='0.257812'%20/%3e%3cstop%20style='stop-color:%23393139;stop-opacity:1;'%20offset='0.261719'%20/%3e%3cstop%20style='stop-color:%233a323a;stop-opacity:1;'%20offset='0.265625'%20/%3e%3cstop%20style='stop-color:%233b333b;stop-opacity:1;'%20offset='0.269531'%20/%3e%3cstop%20style='stop-color:%233c343c;stop-opacity:1;'%20offset='0.273438'%20/%3e%3cstop%20style='stop-color:%233d343d;stop-opacity:1;'%20offset='0.277344'%20/%3e%3cstop%20style='stop-color:%233e353e;stop-opacity:1;'%20offset='0.28125'%20/%3e%3cstop%20style='stop-color:%233e363e;stop-opacity:1;'%20offset='0.285156'%20/%3e%3cstop%20style='stop-color:%233f373f;stop-opacity:1;'%20offset='0.289062'%20/%3e%3cstop%20style='stop-color:%23403740;stop-opacity:1;'%20offset='0.292969'%20/%3e%3cstop%20style='stop-color:%23413841;stop-opacity:1;'%20offset='0.296875'%20/%3e%3cstop%20style='stop-color:%23423942;stop-opacity:1;'%20offset='0.300781'%20/%3e%3cstop%20style='stop-color:%23433a43;stop-opacity:1;'%20offset='0.304688'%20/%3e%3cstop%20style='stop-color:%23443a44;stop-opacity:1;'%20offset='0.308594'%20/%3e%3cstop%20style='stop-color:%23443b44;stop-opacity:1;'%20offset='0.3125'%20/%3e%3cstop%20style='stop-color:%23453c45;stop-opacity:1;'%20offset='0.316406'%20/%3e%3cstop%20style='stop-color:%23463d46;stop-opacity:1;'%20offset='0.320312'%20/%3e%3cstop%20style='stop-color:%23473d47;stop-opacity:1;'%20offset='0.324219'%20/%3e%3cstop%20style='stop-color:%23483e48;stop-opacity:1;'%20offset='0.328125'%20/%3e%3cstop%20style='stop-color:%23493f49;stop-opacity:1;'%20offset='0.332031'%20/%3e%3cstop%20style='stop-color:%234a3f4a;stop-opacity:1;'%20offset='0.335937'%20/%3e%3cstop%20style='stop-color:%234a404a;stop-opacity:1;'%20offset='0.339844'%20/%3e%3cstop%20style='stop-color:%234b414b;stop-opacity:1;'%20offset='0.34375'%20/%3e%3cstop%20style='stop-color:%234c424c;stop-opacity:1;'%20offset='0.347656'%20/%3e%3cstop%20style='stop-color:%234d424d;stop-opacity:1;'%20offset='0.351562'%20/%3e%3cstop%20style='stop-color:%234e434e;stop-opacity:1;'%20offset='0.355469'%20/%3e%3cstop%20style='stop-color:%234f444f;stop-opacity:1;'%20offset='0.359375'%20/%3e%3cstop%20style='stop-color:%23504550;stop-opacity:1;'%20offset='0.363281'%20/%3e%3cstop%20style='stop-color:%23504550;stop-opacity:1;'%20offset='0.367188'%20/%3e%3cstop%20style='stop-color:%23514651;stop-opacity:1;'%20offset='0.371094'%20/%3e%3cstop%20style='stop-color:%23524752;stop-opacity:1;'%20offset='0.375'%20/%3e%3cstop%20style='stop-color:%23534853;stop-opacity:1;'%20offset='0.378906'%20/%3e%3cstop%20style='stop-color:%23544854;stop-opacity:1;'%20offset='0.382812'%20/%3e%3cstop%20style='stop-color:%23554955;stop-opacity:1;'%20offset='0.386719'%20/%3e%3cstop%20style='stop-color:%23564a56;stop-opacity:1;'%20offset='0.390625'%20/%3e%3cstop%20style='stop-color:%23564b56;stop-opacity:1;'%20offset='0.394531'%20/%3e%3cstop%20style='stop-color:%23574b57;stop-opacity:1;'%20offset='0.398438'%20/%3e%3cstop%20style='stop-color:%23584c58;stop-opacity:1;'%20offset='0.402344'%20/%3e%3cstop%20style='stop-color:%23594d59;stop-opacity:1;'%20offset='0.40625'%20/%3e%3cstop%20style='stop-color:%235a4d5a;stop-opacity:1;'%20offset='0.410156'%20/%3e%3cstop%20style='stop-color:%235b4e5b;stop-opacity:1;'%20offset='0.414062'%20/%3e%3cstop%20style='stop-color:%235c4f5c;stop-opacity:1;'%20offset='0.417969'%20/%3e%3cstop%20style='stop-color:%235c505c;stop-opacity:1;'%20offset='0.421875'%20/%3e%3cstop%20style='stop-color:%235d505d;stop-opacity:1;'%20offset='0.425781'%20/%3e%3cstop%20style='stop-color:%235e515e;stop-opacity:1;'%20offset='0.429687'%20/%3e%3cstop%20style='stop-color:%235f525f;stop-opacity:1;'%20offset='0.433594'%20/%3e%3cstop%20style='stop-color:%23605360;stop-opacity:1;'%20offset='0.4375'%20/%3e%3cstop%20style='stop-color:%23615361;stop-opacity:1;'%20offset='0.441406'%20/%3e%3cstop%20style='stop-color:%23625462;stop-opacity:1;'%20offset='0.445312'%20/%3e%3cstop%20style='stop-color:%23625562;stop-opacity:1;'%20offset='0.449219'%20/%3e%3cstop%20style='stop-color:%23635663;stop-opacity:1;'%20offset='0.453125'%20/%3e%3cstop%20style='stop-color:%23645664;stop-opacity:1;'%20offset='0.457031'%20/%3e%3cstop%20style='stop-color:%23655765;stop-opacity:1;'%20offset='0.460938'%20/%3e%3cstop%20style='stop-color:%23665866;stop-opacity:1;'%20offset='0.464844'%20/%3e%3cstop%20style='stop-color:%23675967;stop-opacity:1;'%20offset='0.46875'%20/%3e%3cstop%20style='stop-color:%23685968;stop-opacity:1;'%20offset='0.472656'%20/%3e%3cstop%20style='stop-color:%23685a68;stop-opacity:1;'%20offset='0.476562'%20/%3e%3cstop%20style='stop-color:%23695b69;stop-opacity:1;'%20offset='0.480469'%20/%3e%3cstop%20style='stop-color:%236a5c6a;stop-opacity:1;'%20offset='0.484375'%20/%3e%3cstop%20style='stop-color:%236b5c6b;stop-opacity:1;'%20offset='0.488281'%20/%3e%3cstop%20style='stop-color:%236c5d6c;stop-opacity:1;'%20offset='0.492188'%20/%3e%3cstop%20style='stop-color:%236d5e6d;stop-opacity:1;'%20offset='0.496094'%20/%3e%3cstop%20style='stop-color:%236e5e6e;stop-opacity:1;'%20offset='0.5'%20/%3e%3cstop%20style='stop-color:%236e5f6e;stop-opacity:1;'%20offset='0.503906'%20/%3e%3cstop%20style='stop-color:%236f606f;stop-opacity:1;'%20offset='0.507812'%20/%3e%3cstop%20style='stop-color:%23706170;stop-opacity:1;'%20offset='0.511719'%20/%3e%3cstop%20style='stop-color:%23716171;stop-opacity:1;'%20offset='0.515625'%20/%3e%3cstop%20style='stop-color:%23726272;stop-opacity:1;'%20offset='0.519531'%20/%3e%3cstop%20style='stop-color:%23736373;stop-opacity:1;'%20offset='0.523438'%20/%3e%3cstop%20style='stop-color:%23746474;stop-opacity:1;'%20offset='0.527344'%20/%3e%3cstop%20style='stop-color:%23746474;stop-opacity:1;'%20offset='0.53125'%20/%3e%3cstop%20style='stop-color:%23756575;stop-opacity:1;'%20offset='0.535156'%20/%3e%3cstop%20style='stop-color:%23766676;stop-opacity:1;'%20offset='0.539062'%20/%3e%3cstop%20style='stop-color:%23776777;stop-opacity:1;'%20offset='0.542969'%20/%3e%3cstop%20style='stop-color:%23786778;stop-opacity:1;'%20offset='0.546875'%20/%3e%3cstop%20style='stop-color:%23796879;stop-opacity:1;'%20offset='0.550781'%20/%3e%3cstop%20style='stop-color:%237a697a;stop-opacity:1;'%20offset='0.554688'%20/%3e%3cstop%20style='stop-color:%237a6a7a;stop-opacity:1;'%20offset='0.558594'%20/%3e%3cstop%20style='stop-color:%237b6a7b;stop-opacity:1;'%20offset='0.5625'%20/%3e%3cstop%20style='stop-color:%237c6b7c;stop-opacity:1;'%20offset='0.566406'%20/%3e%3cstop%20style='stop-color:%237d6c7d;stop-opacity:1;'%20offset='0.570312'%20/%3e%3cstop%20style='stop-color:%237e6d7e;stop-opacity:1;'%20offset='0.574219'%20/%3e%3cstop%20style='stop-color:%237f6d7f;stop-opacity:1;'%20offset='0.578125'%20/%3e%3cstop%20style='stop-color:%237f6e7f;stop-opacity:1;'%20offset='0.582031'%20/%3e%3cstop%20style='stop-color:%23806f80;stop-opacity:1;'%20offset='0.585938'%20/%3e%3cstop%20style='stop-color:%23816f81;stop-opacity:1;'%20offset='0.589844'%20/%3e%3cstop%20style='stop-color:%23827082;stop-opacity:1;'%20offset='0.59375'%20/%3e%3cstop%20style='stop-color:%23837183;stop-opacity:1;'%20offset='0.597656'%20/%3e%3cstop%20style='stop-color:%23847284;stop-opacity:1;'%20offset='0.601562'%20/%3e%3cstop%20style='stop-color:%23857285;stop-opacity:1;'%20offset='0.605469'%20/%3e%3cstop%20style='stop-color:%23857385;stop-opacity:1;'%20offset='0.609375'%20/%3e%3cstop%20style='stop-color:%23867486;stop-opacity:1;'%20offset='0.613281'%20/%3e%3cstop%20style='stop-color:%23877587;stop-opacity:1;'%20offset='0.617187'%20/%3e%3cstop%20style='stop-color:%23887588;stop-opacity:1;'%20offset='0.621094'%20/%3e%3cstop%20style='stop-color:%23897689;stop-opacity:1;'%20offset='0.625'%20/%3e%3cstop%20style='stop-color:%238a778a;stop-opacity:1;'%20offset='0.628906'%20/%3e%3cstop%20style='stop-color:%238b788b;stop-opacity:1;'%20offset='0.632812'%20/%3e%3cstop%20style='stop-color:%238b788b;stop-opacity:1;'%20offset='0.636719'%20/%3e%3cstop%20style='stop-color:%238c798c;stop-opacity:1;'%20offset='0.640625'%20/%3e%3cstop%20style='stop-color:%238d7a8d;stop-opacity:1;'%20offset='0.644531'%20/%3e%3cstop%20style='stop-color:%238e7b8e;stop-opacity:1;'%20offset='0.648438'%20/%3e%3cstop%20style='stop-color:%238f7b8f;stop-opacity:1;'%20offset='0.652344'%20/%3e%3cstop%20style='stop-color:%23907c90;stop-opacity:1;'%20offset='0.65625'%20/%3e%3cstop%20style='stop-color:%23917d91;stop-opacity:1;'%20offset='0.660156'%20/%3e%3cstop%20style='stop-color:%23917d91;stop-opacity:1;'%20offset='0.664063'%20/%3e%3cstop%20style='stop-color:%23927e92;stop-opacity:1;'%20offset='0.667969'%20/%3e%3cstop%20style='stop-color:%23937f93;stop-opacity:1;'%20offset='0.671875'%20/%3e%3cstop%20style='stop-color:%23948094;stop-opacity:1;'%20offset='0.675781'%20/%3e%3cstop%20style='stop-color:%23958095;stop-opacity:1;'%20offset='0.679688'%20/%3e%3cstop%20style='stop-color:%23968196;stop-opacity:1;'%20offset='0.683594'%20/%3e%3cstop%20style='stop-color:%23978297;stop-opacity:1;'%20offset='0.6875'%20/%3e%3cstop%20style='stop-color:%23978397;stop-opacity:1;'%20offset='0.691406'%20/%3e%3cstop%20style='stop-color:%23988398;stop-opacity:1;'%20offset='0.695313'%20/%3e%3cstop%20style='stop-color:%23998499;stop-opacity:1;'%20offset='0.699219'%20/%3e%3cstop%20style='stop-color:%239a859a;stop-opacity:1;'%20offset='0.703125'%20/%3e%3cstop%20style='stop-color:%239b869b;stop-opacity:1;'%20offset='0.707031'%20/%3e%3cstop%20style='stop-color:%239c869c;stop-opacity:1;'%20offset='0.710938'%20/%3e%3cstop%20style='stop-color:%239d879d;stop-opacity:1;'%20offset='0.714844'%20/%3e%3cstop%20style='stop-color:%239d889d;stop-opacity:1;'%20offset='0.71875'%20/%3e%3cstop%20style='stop-color:%239e899e;stop-opacity:1;'%20offset='0.722656'%20/%3e%3cstop%20style='stop-color:%239f899f;stop-opacity:1;'%20offset='0.726562'%20/%3e%3cstop%20style='stop-color:%23a08aa0;stop-opacity:1;'%20offset='0.730469'%20/%3e%3cstop%20style='stop-color:%23a18ba1;stop-opacity:1;'%20offset='0.734375'%20/%3e%3cstop%20style='stop-color:%23a28ba2;stop-opacity:1;'%20offset='0.738281'%20/%3e%3cstop%20style='stop-color:%23a38ca3;stop-opacity:1;'%20offset='0.742188'%20/%3e%3cstop%20style='stop-color:%23a38da3;stop-opacity:1;'%20offset='0.746094'%20/%3e%3cstop%20style='stop-color:%23a48ea4;stop-opacity:1;'%20offset='0.75'%20/%3e%3cstop%20style='stop-color:%23a58ea5;stop-opacity:1;'%20offset='0.753906'%20/%3e%3cstop%20style='stop-color:%23a68fa6;stop-opacity:1;'%20offset='0.757812'%20/%3e%3cstop%20style='stop-color:%23a790a7;stop-opacity:1;'%20offset='0.761719'%20/%3e%3cstop%20style='stop-color:%23a891a8;stop-opacity:1;'%20offset='0.765625'%20/%3e%3cstop%20style='stop-color:%23a991a9;stop-opacity:1;'%20offset='0.769531'%20/%3e%3cstop%20style='stop-color:%23a992a9;stop-opacity:1;'%20offset='0.773438'%20/%3e%3cstop%20style='stop-color:%23aa93aa;stop-opacity:1;'%20offset='0.777344'%20/%3e%3cstop%20style='stop-color:%23ab94ab;stop-opacity:1;'%20offset='0.78125'%20/%3e%3cstop%20style='stop-color:%23ac94ac;stop-opacity:1;'%20offset='0.785156'%20/%3e%3cstop%20style='stop-color:%23ad95ad;stop-opacity:1;'%20offset='0.789062'%20/%3e%3cstop%20style='stop-color:%23ae96ae;stop-opacity:1;'%20offset='0.792969'%20/%3e%3cstop%20style='stop-color:%23af97af;stop-opacity:1;'%20offset='0.796875'%20/%3e%3cstop%20style='stop-color:%23af97af;stop-opacity:1;'%20offset='0.800781'%20/%3e%3cstop%20style='stop-color:%23b098b0;stop-opacity:1;'%20offset='0.804687'%20/%3e%3cstop%20style='stop-color:%23b199b1;stop-opacity:1;'%20offset='0.808594'%20/%3e%3cstop%20style='stop-color:%23b29ab2;stop-opacity:1;'%20offset='0.8125'%20/%3e%3cstop%20style='stop-color:%23b39ab3;stop-opacity:1;'%20offset='0.816406'%20/%3e%3cstop%20style='stop-color:%23b49bb4;stop-opacity:1;'%20offset='0.820313'%20/%3e%3cstop%20style='stop-color:%23b59cb5;stop-opacity:1;'%20offset='0.824219'%20/%3e%3cstop%20style='stop-color:%23b59cb5;stop-opacity:1;'%20offset='0.828125'%20/%3e%3cstop%20style='stop-color:%23b69db6;stop-opacity:1;'%20offset='0.832031'%20/%3e%3cstop%20style='stop-color:%23b79eb7;stop-opacity:1;'%20offset='0.835938'%20/%3e%3cstop%20style='stop-color:%23b89fb8;stop-opacity:1;'%20offset='0.839844'%20/%3e%3cstop%20style='stop-color:%23b99fb9;stop-opacity:1;'%20offset='0.84375'%20/%3e%3cstop%20style='stop-color:%23baa0ba;stop-opacity:1;'%20offset='0.847656'%20/%3e%3cstop%20style='stop-color:%23bba1bb;stop-opacity:1;'%20offset='0.851563'%20/%3e%3cstop%20style='stop-color:%23bba2bb;stop-opacity:1;'%20offset='0.855469'%20/%3e%3cstop%20style='stop-color:%23bca2bc;stop-opacity:1;'%20offset='0.859375'%20/%3e%3cstop%20style='stop-color:%23bda3bd;stop-opacity:1;'%20offset='0.863281'%20/%3e%3cstop%20style='stop-color:%23bea4be;stop-opacity:1;'%20offset='0.867188'%20/%3e%3cstop%20style='stop-color:%23bfa5bf;stop-opacity:1;'%20offset='0.871094'%20/%3e%3cstop%20style='stop-color:%23c0a5c0;stop-opacity:1;'%20offset='0.875'%20/%3e%3cstop%20style='stop-color:%23c1a6c1;stop-opacity:1;'%20offset='0.878906'%20/%3e%3cstop%20style='stop-color:%23c1a7c1;stop-opacity:1;'%20offset='0.882813'%20/%3e%3cstop%20style='stop-color:%23c2a8c2;stop-opacity:1;'%20offset='0.886719'%20/%3e%3cstop%20style='stop-color:%23c3a8c3;stop-opacity:1;'%20offset='0.890625'%20/%3e%3cstop%20style='stop-color:%23c4a9c4;stop-opacity:1;'%20offset='0.894531'%20/%3e%3cstop%20style='stop-color:%23c5aac5;stop-opacity:1;'%20offset='0.898438'%20/%3e%3cstop%20style='stop-color:%23c6aac6;stop-opacity:1;'%20offset='0.902344'%20/%3e%3cstop%20style='stop-color:%23c7abc7;stop-opacity:1;'%20offset='0.90625'%20/%3e%3cstop%20style='stop-color:%23c7acc7;stop-opacity:1;'%20offset='0.910156'%20/%3e%3cstop%20style='stop-color:%23c8adc8;stop-opacity:1;'%20offset='0.914063'%20/%3e%3cstop%20style='stop-color:%23c9adc9;stop-opacity:1;'%20offset='0.917969'%20/%3e%3cstop%20style='stop-color:%23caaeca;stop-opacity:1;'%20offset='0.921875'%20/%3e%3cstop%20style='stop-color:%23cbafcb;stop-opacity:1;'%20offset='0.925781'%20/%3e%3cstop%20style='stop-color:%23ccb0cc;stop-opacity:1;'%20offset='0.929688'%20/%3e%3cstop%20style='stop-color:%23ccb0cc;stop-opacity:1;'%20offset='0.933594'%20/%3e%3cstop%20style='stop-color:%23cdb1cd;stop-opacity:1;'%20offset='0.9375'%20/%3e%3cstop%20style='stop-color:%23ceb2ce;stop-opacity:1;'%20offset='0.941406'%20/%3e%3cstop%20style='stop-color:%23cfb3cf;stop-opacity:1;'%20offset='0.945312'%20/%3e%3cstop%20style='stop-color:%23d0b3d0;stop-opacity:1;'%20offset='0.949219'%20/%3e%3cstop%20style='stop-color:%23d1b4d1;stop-opacity:1;'%20offset='0.953125'%20/%3e%3cstop%20style='stop-color:%23d2b5d2;stop-opacity:1;'%20offset='0.957031'%20/%3e%3cstop%20style='stop-color:%23d2b6d2;stop-opacity:1;'%20offset='0.960938'%20/%3e%3cstop%20style='stop-color:%23d3b6d3;stop-opacity:1;'%20offset='0.964844'%20/%3e%3cstop%20style='stop-color:%23d4b7d4;stop-opacity:1;'%20offset='0.96875'%20/%3e%3cstop%20style='stop-color:%23d5b8d5;stop-opacity:1;'%20offset='0.972656'%20/%3e%3cstop%20style='stop-color:%23d6b9d6;stop-opacity:1;'%20offset='0.976562'%20/%3e%3cstop%20style='stop-color:%23d7b9d7;stop-opacity:1;'%20offset='0.980469'%20/%3e%3cstop%20style='stop-color:%23d8bad8;stop-opacity:1;'%20offset='0.984375'%20/%3e%3cstop%20style='stop-color:%23d8bbd8;stop-opacity:1;'%20offset='0.988281'%20/%3e%3cstop%20style='stop-color:%23d9bbd9;stop-opacity:1;'%20offset='0.992187'%20/%3e%3cstop%20style='stop-color:%23dabcda;stop-opacity:1;'%20offset='0.996094'%20/%3e%3cstop%20style='stop-color:%23dbbddb;stop-opacity:1;'%20offset='1'%20/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20id='7ab0b42688'%3e%3cg%20clip-rule='nonzero'%20clip-path='url(%23f4898d2ac4)'%3e%3cg%20clip-rule='nonzero'%20clip-path='url(%23bdaeedaae6)'%3e%3cpath%20style='%20stroke:none;fill-rule:nonzero;fill:url(%23f66ee0458f);'%20d='M%2069.5%2069.5%20L%2069.5%20305.5%20L%20305.5%20305.5%20L%20305.5%2069.5%20Z%20M%2069.5%2069.5%20'%20/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",import.meta.url).href;function k4(){return C.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:[C.jsx("rect",{x:"1",y:"1",width:"6",height:"6",rx:"1.5",fill:"currentColor",opacity:"0.9"}),C.jsx("rect",{x:"9",y:"1",width:"6",height:"6",rx:"1.5",fill:"currentColor",opacity:"0.6"}),C.jsx("rect",{x:"1",y:"9",width:"6",height:"6",rx:"1.5",fill:"currentColor",opacity:"0.6"}),C.jsx("rect",{x:"9",y:"9",width:"6",height:"6",rx:"1.5",fill:"currentColor",opacity:"0.35"})]})}function S4(){const n={display:"flex",alignItems:"center",gap:7,padding:"0 14px",height:30,backgroundColor:A.bg.root,backgroundImage:"linear-gradient(90deg, var(--accent), var(--brand))",backgroundSize:"100% 2px",backgroundPosition:"top",backgroundRepeat:"no-repeat",borderBottom:`1px solid ${A.border}`,flexShrink:0},r={fontFamily:_t.sans,fontSize:11,fontWeight:700,letterSpacing:"0.08em",textTransform:"uppercase",color:A.accent},i={width:3,height:3,borderRadius:"50%",background:A.text.faint,marginLeft:2,marginRight:2,flexShrink:0},l={fontFamily:_t.sans,fontSize:10,color:A.text.muted,letterSpacing:"0.03em"};return C.jsxs("div",{style:n,children:[C.jsx("div",{style:{color:A.accent},children:C.jsx(k4,{})}),C.jsx("span",{style:r,children:"ERPNext"}),C.jsx("div",{style:i}),C.jsx("span",{style:l,children:"gestion ERP"})]})}function w4(){const n={display:"flex",justifyContent:"flex-end",alignItems:"center",gap:7,padding:"8px 16px",borderTop:`1px solid ${A.border}`,marginTop:"auto",flexShrink:0,background:A.bg.root},r={fontFamily:_t.mono,fontSize:10,color:A.text.faint,letterSpacing:"0.04em",lineHeight:"16px"};return C.jsxs("footer",{style:n,children:[C.jsx("img",{src:$4,alt:"",width:16,height:16,style:{display:"block",flexShrink:0}}),C.jsx("span",{style:r,children:"Powered by Casys.ai"})]})}function b4(n,r={}){return!n.request||n.visibilityState!=="visible"||n.refreshInFlight?!1:r.ignoreInterval?!0:n.now-n.lastRefreshStartedAt>=n.minIntervalMs}function Zv(n,r){return n?.refreshRequest??r}function x4(n){return n instanceof Error&&/timed? out/i.test(n.message)?"Refresh timed out":"Refresh failed"}function sd(n){return n.structuredContent?JSON.stringify(n.structuredContent):n.content?.find(r=>r.type==="text")?.text??null}function Us({label:n,value:r,bold:i}){return C.jsxs("div",{style:{padding:"4px 0"},children:[C.jsx("div",{style:{fontSize:10,color:A.text.muted,textTransform:"uppercase",letterSpacing:"0.04em",marginBottom:2},children:n}),C.jsx("div",{style:{fontSize:i?15:13,fontWeight:i?600:500,color:A.text.primary,fontFamily:i?_t.mono:_t.sans},children:r??"—"})]})}const Mv={success:{color:A.success,bg:A.successDim},error:{color:A.error,bg:A.errorDim},info:{color:A.info,bg:A.infoDim},default:{color:A.text.secondary,bg:A.bg.elevated}};function ed({label:n,variant:r="default",disabled:i,loading:l,confirm:t,onClick:a}){const[c,p]=Re.useState(!1),g=Re.useRef();Re.useEffect(()=>()=>clearTimeout(g.current),[]);const h=Mv[r]??Mv.default;return C.jsx("button",{onClick:()=>{if(t&&!c){p(!0),clearTimeout(g.current),g.current=setTimeout(()=>p(!1),4e3);return}p(!1),a()},disabled:i||l,style:{...on.button,background:h.bg,color:h.color,borderColor:h.color,opacity:i||l?.5:1,fontSize:11,padding:"4px 10px"},children:l?"…":c?"Confirm?":n})}const Av=1e4;function I4({app:n,itemCode:r,warehouse:i,onClose:l}){const[t,a]=Re.useState(null),[c,p]=Re.useState(null),[g,h]=Re.useState(!0);return Re.useEffect(()=>{let y=!1;return(async()=>{try{const[k,T]=await Promise.all([n.callServerTool({name:"erpnext_item_get",arguments:{name:r}},{timeout:Av}),n.callServerTool({name:"erpnext_stock_entry_list",arguments:{limit:5,item_code:r}},{timeout:Av})]);if(y)return;if(!k.isError){const P=sd(k);if(P){const Z=JSON.parse(P);a(Z.data??Z)}}if(!T.isError){const P=sd(T);if(P){const Z=JSON.parse(P);p(Z.data??[])}}}catch{}y||h(!1)})(),()=>{y=!0}},[r]),g?C.jsx("div",{style:{padding:16,background:A.bg.surface,borderTop:`2px solid ${A.accent}`},children:[1,2].map(y=>C.jsx("div",{className:"skeleton",style:{height:14,width:`${30+y*15}%`,marginBottom:8}},y))}):C.jsxs("div",{style:{padding:16,background:A.bg.surface,borderTop:`2px solid ${A.accent}`},children:[C.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:10},children:[C.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[C.jsx("span",{style:{fontSize:14,fontWeight:600,color:A.text.primary,fontFamily:_t.mono},children:r}),C.jsx("span",{style:{fontSize:11,color:A.text.muted},children:i})]}),C.jsx("button",{onClick:l,style:{...on.button,padding:"2px 8px",fontSize:11},children:"✕"})]}),t&&C.jsxs("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(140px, 1fr))",gap:6,marginBottom:10},children:[t.item_name&&C.jsx(Us,{label:"Name",value:String(t.item_name)}),t.item_group&&C.jsx(Us,{label:"Group",value:String(t.item_group)}),t.stock_uom&&C.jsx(Us,{label:"UOM",value:String(t.stock_uom)}),t.standard_rate!=null&&C.jsx(Us,{label:"Std Rate",value:String(t.standard_rate),bold:!0})]}),c&&c.length>0&&C.jsxs("div",{style:{marginBottom:10},children:[C.jsx("div",{style:{fontSize:10,color:A.text.muted,textTransform:"uppercase",letterSpacing:"0.04em",marginBottom:6},children:"Recent Movements"}),c.slice(0,4).map((y,k)=>C.jsxs("div",{style:{display:"flex",justifyContent:"space-between",padding:"4px 0",borderBottom:`1px solid ${A.borderSubtle}`,fontSize:12},children:[C.jsx("span",{style:{color:A.text.secondary},children:String(y.stock_entry_type??y.name??"—")}),C.jsx("span",{style:{fontFamily:_t.mono,color:A.text.primary},children:String(y.posting_date??"—")})]},k))]}),C.jsxs("div",{style:{display:"flex",gap:6,flexWrap:"wrap",paddingTop:8,borderTop:`1px solid ${A.border}`},children:[C.jsx(ed,{label:"Stock chart",onClick:async()=>{try{await n.sendMessage({role:"user",content:[{type:"text",text:`Show stock chart for item ${r}`}]})}catch{}}}),C.jsx(ed,{label:"Item details",onClick:async()=>{try{await n.sendMessage({role:"user",content:[{type:"text",text:`Show me the full details of Item ${r}`}]})}catch{}}}),C.jsx(ed,{label:"Stock entries",onClick:async()=>{try{await n.sendMessage({role:"user",content:[{type:"text",text:`Show stock entries for item ${r}`}]})}catch{}}})]})]})}const mr=new nm({name:"Stock Viewer",version:"2.0.0"}),z4=15e3,T4=1e4;function j4(){return C.jsx("div",{style:{padding:24},children:C.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:12},children:[[1,2,3,4].map(n=>C.jsx("div",{className:"skeleton",style:{height:n===1?32:20,width:n===1?"40%":`${60+n*8}%`}},n)),C.jsx("div",{style:{marginTop:8},children:[1,2,3,4,5].map(n=>C.jsx("div",{className:"skeleton",style:{height:36,marginBottom:2}},n))})]})})}function E4(){return C.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"48px 24px",color:A.text.muted,gap:16},children:[C.jsxs("svg",{width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",style:{opacity:.35},children:[C.jsx("rect",{x:"8",y:"20",width:"16",height:"24",rx:"2",stroke:"currentColor",strokeWidth:"2"}),C.jsx("rect",{x:"28",y:"14",width:"16",height:"30",rx:"2",stroke:"currentColor",strokeWidth:"2"}),C.jsx("rect",{x:"18",y:"28",width:"16",height:"16",rx:"2",stroke:"currentColor",strokeWidth:"2",fill:"#08080a"}),C.jsx("path",{d:"M14 32h4M34 26h4M24 34h4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",opacity:"0.5"})]}),C.jsxs("div",{style:{fontSize:13,textAlign:"center"},children:["No stock data",C.jsx("div",{style:{fontSize:11,color:A.text.faint,marginTop:4},children:"Run a stock balance query to see inventory levels"})]})]})}function P4({qty:n}){let r,i;return n<=0?(r=A.error,i=A.errorDim):n<10?(r=A.warning,i=A.warningDim):(r=A.success,i=A.successDim),C.jsx("span",{style:{...on.badge(r,i),fontFamily:_t.mono,minWidth:48,justifyContent:"center"},children:Cs(n,0)})}function Fv(n){return sd(n)}function N4(){const[n,r]=Re.useState(null),[i,l]=Re.useState(!0),[t,a]=Re.useState(!1),[c,p]=Re.useState(null),g=Re.useRef(null),h=Re.useRef(null),y=Re.useRef(!1),k=Re.useRef(0);function T(B){g.current=B,h.current=Zv(B,h.current),r(B)}function P(B){if(B.isError){const q=Fv(B);return p(q??"Tool returned an error"),l(!1),!1}const V=Fv(B);if(!V)return!1;try{const q=JSON.parse(V);return T(q),p(null),l(!1),!0}catch{return p("Failed to parse stock payload"),l(!1),!1}}async function Z(B={}){const V=Zv(g.current,h.current);if(!b4({request:V,visibilityState:typeof document>"u"?"visible":document.visibilityState,refreshInFlight:y.current,now:Date.now(),lastRefreshStartedAt:k.current,minIntervalMs:z4},B)||!V||!mr.getHostCapabilities()?.serverTools)return!1;y.current=!0,k.current=Date.now(),a(!0);try{const q=await mr.callServerTool({name:V.toolName,arguments:V.arguments},{timeout:T4});return q.isError?(p("Refresh failed"),!1):P(q)?!0:(p("Refresh returned no data"),!1)}catch(q){return p(x4(q)),!1}finally{y.current=!1,a(!1)}}return Re.useEffect(()=>{mr.ontoolresult=B=>{P(B)},mr.ontoolinputpartial=()=>{g.current||l(!0)},mr.connect().catch(()=>{})},[]),Re.useEffect(()=>{function B(){Z({ignoreInterval:!0})}function V(){document.visibilityState==="visible"&&Z({ignoreInterval:!0})}return window.addEventListener("focus",B),document.addEventListener("visibilitychange",V),()=>{window.removeEventListener("focus",B),document.removeEventListener("visibilitychange",V)}},[]),C.jsxs("div",{style:{display:"flex",flexDirection:"column",minHeight:"100vh"},"aria-busy":t,children:[C.jsx(S4,{}),C.jsx("div",{style:{flex:1},children:i?C.jsx(j4,{}):n?C.jsx(O4,{data:n,error:c,refreshing:t,onRefresh:()=>void Z({ignoreInterval:!0})}):C.jsx(E4,{})}),C.jsx(w4,{})]})}const td=[{key:"item_code",label:"Item Code",align:"left",width:"22%"},{key:"warehouse",label:"Warehouse",align:"left",width:"22%"},{key:"actual_qty",label:"Actual Qty",align:"right",width:"12%"},{key:"reserved_qty",label:"Reserved",align:"right",width:"11%"},{key:"projected_qty",label:"Projected",align:"right",width:"11%"},{key:"valuation_rate",label:"Rate",align:"right",width:"11%"},{key:"stock_value",label:"Value",align:"right",width:"11%"}];function O4({data:n,error:r,refreshing:i,onRefresh:l}){const[t,a]=Re.useState("item_code"),[c,p]=Re.useState("asc"),[g,h]=Re.useState(""),[y,k]=Re.useState(null),T=mr.getHostCapabilities()?.serverTools,P=Re.useMemo(()=>{if(!g)return n.data;const q=g.toLowerCase();return n.data.filter(de=>de.item_code.toLowerCase().includes(q)||de.warehouse.toLowerCase().includes(q))},[n.data,g]),Z=Re.useMemo(()=>[...P].sort((q,de)=>{const se=q[t],Y=de[t];if(se==null&&Y==null)return 0;if(se==null)return 1;if(Y==null)return-1;let ge;return typeof se=="number"&&typeof Y=="number"?ge=se-Y:ge=String(se).localeCompare(String(Y)),c==="asc"?ge:-ge}),[P,t,c]),B=Re.useMemo(()=>Z.reduce((q,de)=>q+(de.stock_value??0),0),[Z]);function V(q){t===q?p(de=>de==="asc"?"desc":"asc"):(a(q),p("asc"))}return C.jsxs("div",{style:{padding:16,fontFamily:_t.sans},children:[C.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:16,flexWrap:"wrap",gap:8},children:[C.jsxs("div",{children:[C.jsx("div",{style:{fontSize:16,fontWeight:700,color:A.text.primary},children:"Stock Balance"}),C.jsxs("div",{style:{fontSize:12,color:A.text.muted},children:[Z.length," ","entries",g?` (filtered from ${n.count})`:""]}),C.jsx("div",{"aria-live":"polite",style:{fontSize:11,color:r?A.error:A.text.faint,marginTop:4},children:r??(i?"Refreshing…":"Auto-refresh on focus")})]}),C.jsxs("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[C.jsx("input",{type:"text",placeholder:"Filter items / warehouses...",value:g,onChange:q=>h(q.target.value),style:{...on.input,maxWidth:260},onFocus:q=>{q.target.style.borderColor=A.accent},onBlur:q=>{q.target.style.borderColor=A.border}}),C.jsx("button",{onClick:l,disabled:i,style:on.button,onMouseEnter:q=>{i||(q.currentTarget.style.borderColor=A.accent,q.currentTarget.style.color=A.accent)},onMouseLeave:q=>{q.currentTarget.style.borderColor=A.border,q.currentTarget.style.color=A.text.secondary},children:C.jsxs("span",{style:{display:"inline-flex",alignItems:"center",gap:4},children:[C.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:[C.jsx("path",{d:"M10 6a4 4 0 1 1-1.1-2.76",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round"}),C.jsx("path",{d:"M10 2v2.8H7.2",stroke:"currentColor",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]}),i?"Refreshing":"Refresh"]})})]})]}),C.jsx("div",{style:{border:`1px solid ${A.border}`,borderRadius:8,overflow:"hidden"},children:C.jsx("div",{style:{overflowX:"auto"},children:C.jsxs("table",{style:{width:"100%",borderCollapse:"collapse",minWidth:600},children:[C.jsx("thead",{children:C.jsx("tr",{children:td.map(q=>C.jsxs("th",{onClick:()=>V(q.key),style:{...on.tableHeader,textAlign:q.align,width:q.width,color:t===q.key?A.accent:A.text.muted,background:A.bg.surface},children:[q.label,C.jsx("span",{style:{marginLeft:4,opacity:t===q.key?1:.3,fontSize:10},children:t===q.key?c==="asc"?"▲":"▼":"⇅"})]},q.key))})}),C.jsx("tbody",{children:Z.length===0?C.jsx("tr",{children:C.jsx("td",{colSpan:td.length,style:{...on.tableCell,textAlign:"center",color:A.text.muted,padding:32},children:"No matching entries"})}):Z.map((q,de)=>{const se=`${q.item_code}::${q.warehouse}`,Y=y===se;return C.jsxs(Re.Fragment,{children:[C.jsxs("tr",{style:{transition:"background 0.1s",cursor:T?"pointer":"default",background:Y?A.bg.hover:"transparent"},onClick:T?()=>k(Y?null:se):void 0,onMouseEnter:ge=>{Y||(ge.currentTarget.style.background=A.bg.hover)},onMouseLeave:ge=>{Y||(ge.currentTarget.style.background="transparent")},children:[C.jsx("td",{style:{...on.tableCell,fontWeight:500},children:q.item_code}),C.jsx("td",{style:{...on.tableCell,color:A.text.secondary},children:q.warehouse}),C.jsx("td",{style:{...on.tableCell,textAlign:"right"},children:C.jsx(P4,{qty:q.actual_qty})}),C.jsx("td",{style:Ds,children:q.reserved_qty!=null?Cs(q.reserved_qty,0):"—"}),C.jsx("td",{style:Ds,children:q.projected_qty!=null?Cs(q.projected_qty,0):"—"}),C.jsx("td",{style:Ds,children:q.valuation_rate!=null?Cs(q.valuation_rate):"—"}),C.jsx("td",{style:{...Ds,fontWeight:500,color:A.text.primary},children:q.stock_value!=null?Lv(q.stock_value):"—"})]}),Y&&C.jsx("tr",{children:C.jsx("td",{colSpan:td.length,style:{padding:0,borderBottom:`1px solid ${A.border}`},children:C.jsx(I4,{app:mr,itemCode:q.item_code,warehouse:q.warehouse,onClose:()=>k(null)})})})]},`${se}-${de}`)})})]})})}),C.jsxs("div",{style:{display:"flex",justifyContent:"flex-end",alignItems:"center",marginTop:12,gap:12,padding:"8px 0"},children:[C.jsx("span",{style:{fontSize:12,color:A.text.muted},children:"Total Stock Value"}),C.jsx("span",{style:{fontSize:16,fontWeight:700,fontFamily:_t.mono,color:A.accent},children:Lv(B)})]})]})}const Ds={...on.tableCell,textAlign:"right",fontFamily:_t.mono,fontSize:12,color:A.text.secondary};PS.createRoot(document.getElementById("app")).render(C.jsx(N4,{}));</script>
|
|
149
|
+
<style rel="stylesheet" crossorigin>:root{--accent: #0d7c8a;--on-accent: #ffffff;--accent-dim: rgba(13, 124, 138, .12);--accent-border: rgba(13, 124, 138, .3);--brand: #8a4fa3;--success: #16a34a;--success-dim: rgba(22, 163, 74, .1);--error: #dc2626;--error-dim: rgba(220, 38, 38, .1);--warning: #d97706;--warning-dim: rgba(217, 119, 6, .1);--info: #2563eb;--info-dim: rgba(37, 99, 235, .1);--radius-sm: 4px;--radius-md: 6px;--radius-lg: 8px;--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--font-mono: "SF Mono", "Cascadia Code", "Fira Code", monospace;--bg-root: #ffffff;--bg-surface: #f4f7f8;--bg-elevated: #ffffff;--bg-hover: #eef3f4;--bg-active: #dbe3e7;--text-primary: #101519;--text-secondary: #2c3740;--text-muted: #5b6a74;--text-faint: #687781;--border: #dbe3e7;--border-subtle: #eef3f4;--shadow-sm: 0 1px 2px rgba(0, 0, 0, .05);--shadow-md: 0 2px 8px rgba(0, 0, 0, .08)}@media(prefers-color-scheme:dark){:root{--accent: #3ec1cf;--on-accent: #101519;--accent-dim: rgba(62, 193, 207, .12);--accent-border: rgba(62, 193, 207, .3);--brand: #b47ec9;--bg-root: #13161a;--bg-surface: #0f1215;--bg-elevated: #1a1e23;--bg-hover: #181c21;--bg-active: #1b2126;--text-primary: #e6ecf0;--text-secondary: #c3ccd3;--text-muted: #8895a0;--text-faint: #74818b;--border: #262c33;--border-subtle: #1d2227;--success: #4ade80;--success-dim: rgba(74, 222, 128, .12);--error: #f87171;--error-dim: rgba(248, 113, 113, .12);--warning: #fbbf24;--warning-dim: rgba(251, 191, 36, .12);--info: #60a5fa;--info-dim: rgba(96, 165, 250, .12);--shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);--shadow-md: 0 2px 8px rgba(0, 0, 0, .4)}}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{border-radius:var(--radius-lg);overflow:hidden}html,body{background:var(--bg-root);color:var(--text-primary);font-family:var(--font-sans);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{overflow:auto}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}::-webkit-scrollbar-thumb:hover{background:var(--text-faint)}@keyframes pulse{0%,to{opacity:.4}50%{opacity:.15}}@keyframes shimmer{0%{background-position:-200% 0}to{background-position:200% 0}}.animate-pulse{animation:pulse 1.5s ease-in-out infinite}.skeleton{background:linear-gradient(90deg,var(--bg-elevated) 25%,var(--bg-hover) 50%,var(--bg-elevated) 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:var(--radius-sm)}.drag-scroll::-webkit-scrollbar{display:none}.drag-scroll{scrollbar-width:none}article button:hover:not(:disabled){background:var(--bg-hover)!important;color:var(--text-primary)!important}article[draggable=true]:active{cursor:grabbing;opacity:.85}.kanban-detail-backdrop{position:fixed;inset:0;z-index:100;background:#00000073;display:flex;align-items:flex-start;justify-content:center;padding:20px 12px;overflow-y:auto;backdrop-filter:blur(2px)}.kanban-detail-panel{background:var(--bg-root);border:1px solid var(--border);border-radius:10px;max-width:520px;width:100%;box-shadow:0 8px 32px #0000001f,0 2px 8px #0000000f;position:relative;display:flex;flex-direction:column}.kanban-detail-panel .detail-field-row{transition:background .1s}.kanban-detail-panel .detail-field-row:hover{background:var(--bg-surface)}.kanban-detail-panel .detail-field-cell{transition:background .1s;border-radius:4px}.kanban-detail-panel .detail-field-cell:hover{background:var(--bg-surface)}.kanban-detail-panel .detail-field-cell:hover input,.kanban-detail-panel .detail-field-cell:hover select{border-color:var(--border)!important;background:var(--bg-elevated)!important}.kanban-detail-panel select:focus{border-color:var(--accent)!important;box-shadow:0 0 0 2px var(--accent-dim);outline:none}.kanban-detail-panel input:focus{border-color:var(--accent)!important;box-shadow:0 0 0 2px var(--accent-dim);outline:none}.kanban-detail-panel textarea:focus{border-color:var(--accent)!important;box-shadow:0 0 0 2px var(--accent-dim);outline:none}@media(prefers-color-scheme:dark){.kanban-detail-backdrop{background:#000000a6}.kanban-detail-panel{box-shadow:0 8px 32px #0006,0 2px 8px #0000004d}}.kanban-card-title-link{cursor:pointer;text-decoration:none;color:inherit}.kanban-card-title-link:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}</style>
|
|
112
150
|
</head>
|
|
113
151
|
<body>
|
|
114
152
|
<div id="app"></div>
|