@casys/mcp-erpnext 3.1.0-beta.5 → 3.1.0-beta.6

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.
@@ -4,52 +4,52 @@
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>Doclist 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 Eo,$e,bd,kt,Hl,_d,yd,ta,io,zn,kd,Ia,va,ba,po={},fo=[],bv=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Oo=Array.isArray;function mt(e,t){for(var r in t)e[r]=t[r];return e}function za(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function _v(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?Eo.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 ao(e,a,i,n,null)}function ao(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??++bd,__i:-1,__u:0};return n==null&&$e.vnode!=null&&$e.vnode(o),o}function Pe(e){return e.children}function so(e,t){this.props=e,this.context=t}function Dt(e,t){if(t==null)return e.__?Dt(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"?Dt(e):null}function yv(e){if(e.__P&&e.__d){var t=e.__v,r=t.__e,i=[],n=[],o=mt({},t);o.__v=t.__v+1,$e.vnode&&$e.vnode(o),Ta(e.__P,o,t,e.__n,e.__P.namespaceURI,32&t.__u?[r]:null,i,r??Dt(t),!!(32&t.__u),n),o.__v=t.__v,o.__.__k[o.__i]=o,Id(i,o,n),t.__e=t.__=null,o.__e!=r&&$d(o)}}function $d(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}),$d(e)}function Bl(e){(!e.__d&&(e.__d=!0)&&kt.push(e)&&!mo.__r++||Hl!=$e.debounceRendering)&&((Hl=$e.debounceRendering)||_d)(mo)}function mo(){try{for(var e,t=1;kt.length;)kt.length>t&&kt.sort(yd),e=kt.shift(),t=kt.length,yv(e)}finally{kt.length=mo.__r=0}}function xd(e,t,r,i,n,o,a,s,c,l,d){var f,p,m,h,_,g,$=i&&i.__k||fo,S=t.length;for(c=kv(r,t,$,c,S),f=0;f<S;f++)(m=r.__k[f])!=null&&(p=m.__i!=-1&&$[m.__i]||po,m.__i=f,g=Ta(e,m,p,n,o,a,s,c,l,d),h=m.__e,m.ref&&p.ref!=m.ref&&(p.ref&&Pa(p.ref,null,m),d.push(m.ref,m.__c||h,m)),_==null&&h!=null&&(_=h),4&m.__u?(c=wd(m,c,e),p.__e&&(p.__e=null)):typeof m.type=="function"&&g!==void 0?c=g:h&&(c=h.nextSibling),m.__u&=-7);return r.__e=_,c}function kv(e,t,r,i,n){var o,a,s,c,l,d=r.length,f=d,p=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]=ao(null,a,null,null,null):Oo(a)?a=e.__k[o]=ao(Pe,{children:a},null,null,null):a.constructor===void 0&&a.__b>0?a=e.__k[o]=ao(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):e.__k[o]=a,c=o+p,a.__=e,a.__b=e.__b+1,s=null,(l=a.__i=$v(a,r,c,f))!=-1&&(f--,(s=r[l])&&(s.__u|=2)),s==null||s.__v==null?(l==-1&&(n>d?p--:n<d&&p++),typeof a.type!="function"&&(a.__u|=4)):l!=c&&(l==c-1?p--:l==c+1?p++:(l>c?p--:p++,a.__u|=4))):e.__k[o]=null;if(f)for(o=0;o<d;o++)(s=r[o])!=null&&(2&s.__u)==0&&(s.__e==i&&(i=Dt(s)),Td(s,s));return i}function wd(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=wd(i[n],t,r));return t}e.__e!=t&&(t&&e.type&&!t.parentNode&&(t=Dt(e)),t=r.insertBefore(e.__e,t||null));do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function $v(e,t,r,i){var n,o,a,s=e.key,c=e.type,l=t[r],d=l!=null&&(2&l.__u)==0;if(l===null&&s==null||d&&s==l.key&&c==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&&c==l.type)return a}return-1}function Vl(e,t,r){t[0]=="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||bv.test(t)?r:r+"px"}function Hr(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||Vl(e.style,t,"");if(r)for(t in r)i&&r[t]==i[t]||Vl(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")o=t!=(t=t.replace(kd,"$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[zn]=i[zn]:(r[zn]=Ia,e.addEventListener(t,o?ba:va,o)):e.removeEventListener(t,o?ba:va,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 Kl(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t[io]==null)t[io]=Ia++;else if(t[io]<r[zn])return;return r($e.event?$e.event(t):t)}}}function Ta(e,t,r,i,n,o,a,s,c,l){var d,f,p,m,h,_,g,$,S,k,z,x,P,O,I,C,L=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(c=!!(32&r.__u),o=[s=t.__e=r.__e]),(d=$e.__b)&&d(t);e:if(typeof L=="function"){f=a.length;try{if(S=t.props,k=L.prototype&&L.prototype.render,z=(d=L.contextType)&&i[d.__c],x=d?z?z.props.value:d.__:i,r.__c?$=(p=t.__c=r.__c).__=p.__E:(k?t.__c=p=new L(S,x):(t.__c=p=new so(S,x),p.constructor=L,p.render=wv),z&&z.sub(p),p.state||(p.state={}),p.__n=i,m=p.__d=!0,p.__h=[],p._sb=[]),k&&p.__s==null&&(p.__s=p.state),k&&L.getDerivedStateFromProps!=null&&(p.__s==p.state&&(p.__s=mt({},p.__s)),mt(p.__s,L.getDerivedStateFromProps(S,p.__s))),h=p.props,_=p.state,p.__v=t,m)k&&L.getDerivedStateFromProps==null&&p.componentWillMount!=null&&p.componentWillMount(),k&&p.componentDidMount!=null&&p.__h.push(p.componentDidMount);else{if(k&&L.getDerivedStateFromProps==null&&S!==h&&p.componentWillReceiveProps!=null&&p.componentWillReceiveProps(S,x),t.__v==r.__v||!p.__e&&p.shouldComponentUpdate!=null&&p.shouldComponentUpdate(S,p.__s,x)===!1){t.__v!=r.__v&&(p.props=S,p.state=p.__s,p.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(F){F&&(F.__=t)}),fo.push.apply(p.__h,p._sb),p._sb=[],p.__h.length&&a.push(p),s=Dt(r);break e}p.componentWillUpdate!=null&&p.componentWillUpdate(S,p.__s,x),k&&p.componentDidUpdate!=null&&p.__h.push(function(){p.componentDidUpdate(h,_,g)})}if(p.context=x,p.props=S,p.__P=e,p.__e=!1,P=$e.__r,O=0,k)p.state=p.__s,p.__d=!1,P&&P(t),d=p.render(p.props,p.state,p.context),fo.push.apply(p.__h,p._sb),p._sb=[];else do p.__d=!1,P&&P(t),d=p.render(p.props,p.state,p.context),p.state=p.__s;while(p.__d&&++O<25);p.state=p.__s,p.getChildContext!=null&&(i=mt(mt({},i),p.getChildContext())),k&&!m&&p.getSnapshotBeforeUpdate!=null&&(g=p.getSnapshotBeforeUpdate(h,_)),I=d!=null&&d.type===Pe&&d.key==null?zd(d.props.children):d,s=xd(e,Oo(I)?I:[I],t,r,i,n,o,a,s,c,l),p.base=t.__e,t.__u&=-161,p.__h.length&&a.push(p),$&&(p.__E=p.__=null)}catch(F){if(a.length=f,t.__v=null,c||o!=null){if(F.then){for(t.__u|=c?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(C=o.length;C--;)za(o[C])}else t.__e=r.__e;t.__k==null&&(t.__k=r.__k||[]),F.then||Sd(t),$e.__e(F,t,r)}}else o==null&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):s=t.__e=xv(r.__e,t,r,i,n,o,a,c,l);return(d=$e.diffed)&&d(t),128&t.__u?void 0:s}function Sd(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(Sd))}function Id(e,t,r){for(var i=0;i<r.length;i++)Pa(r[i],r[++i],r[++i]);$e.__c&&$e.__c(t,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(o){o.call(n)})}catch(o){$e.__e(o,n.__v)}})}function zd(e){return typeof e!="object"||e==null||e.__b>0?e:Oo(e)?e.map(zd):e.constructor!==void 0?null:mt({},e)}function xv(e,t,r,i,n,o,a,s,c){var l,d,f,p,m,h,_,g=r.props||po,$=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((m=o[l])&&"setAttribute"in m==!!S&&(S?m.localName==S:m.nodeType==3)){e=m,o[l]=null;break}}if(e==null){if(S==null)return document.createTextNode($);e=document.createElementNS(n,S,$.is&&$),s&&($e.__m&&$e.__m(t,o),s=!1),o=null}if(S==null)g===$||s&&e.data==$||(e.data=$);else{if(o=S=="textarea"&&$.defaultValue!=null?null:o&&Eo.call(e.childNodes),!s&&o!=null)for(g={},l=0;l<e.attributes.length;l++)g[(m=e.attributes[l]).name]=m.value;for(l in g)m=g[l],l=="dangerouslySetInnerHTML"?f=m:l=="children"||l in $||l=="value"&&"defaultValue"in $||l=="checked"&&"defaultChecked"in $||Hr(e,l,null,m,n);for(l in $)m=$[l],l=="children"?p=m:l=="dangerouslySetInnerHTML"?d=m:l=="value"?h=m:l=="checked"?_=m:s&&typeof m!="function"||g[l]===m||Hr(e,l,m,g[l],n);if(d)s||f&&(d.__html==f.__html||d.__html==e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(f&&(e.innerHTML=""),xd(t.type=="template"?e.content:e,Oo(p)?p:[p],t,r,i,S=="foreignObject"?"http://www.w3.org/1999/xhtml":n,o,a,o?o[0]:r.__k&&Dt(r,0),s,c),o!=null)for(l=o.length;l--;)za(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!=g[l])&&Hr(e,l,h,g[l],n),l="checked",_!=null&&_!=e[l]&&Hr(e,l,_,g[l],n))}return e}function Pa(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){$e.__e(n,r)}}function Td(e,t,r){var i,n;if($e.unmount&&$e.unmount(e),(i=e.ref)&&(i.current&&i.current!=e.__e||Pa(i,null,t)),(i=e.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(o){$e.__e(o,t)}i.base=i.__P=i.__n=null}if(i=e.__k)for(n=0;n<i.length;n++)i[n]&&Td(i[n],t,r||typeof e.type!="function");r||za(e.__e),e.__c=e.__=e.__e=void 0}function wv(e,t,r){return this.constructor(e,r)}function Sv(e,t,r){var i,n,o,a;t==document&&(t=document.documentElement),$e.__&&$e.__(e,t),n=(i=!1)?null:t.__k,o=[],a=[],Ta(t,e=t.__k=_v(Pe,null,[e]),n||po,po,t.namespaceURI,n?null:t.firstChild?Eo.call(t.childNodes):null,o,n?n.__e:t.firstChild,i,a),Id(o,e,a),e.props.children=null}Eo=fo.slice,$e={__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}},bd=0,so.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=mt({},this.state),typeof e=="function"&&(e=e(mt({},r),this.props)),e&&mt(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Bl(this))},so.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Bl(this))},so.prototype.render=Pe,kt=[],_d=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,yd=function(e,t){return e.__v.__b-t.__v.__b},mo.__r=0,ta=Math.random().toString(8),io="__d"+ta,zn="__a"+ta,kd=/(PointerCapture)$|Capture$/i,Ia=0,va=Kl(!1),ba=Kl(!0);var Iv=0;function u(e,t,r,i,n,o){t||(t={});var a,s,c=t;if("ref"in c)for(s in c={},t)s=="ref"?a=t[s]:c[s]=t[s];var l={type:e,props:c,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Iv,__i:-1,__u:0,__source:n,__self:o};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)c[s]===void 0&&(c[s]=a[s]);return $e.vnode&&$e.vnode(l),l}var Et,Ie,na,Wl,Pn=0,Pd=[],Te=$e,Gl=Te.__b,Yl=Te.__r,Xl=Te.diffed,Ql=Te.__c,eu=Te.unmount,tu=Te.__;function Mn(e,t){Te.__h&&Te.__h(Ie,e,Pn||t),Pn=0;var r=Ie.__H||(Ie.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function fe(e){return Pn=1,zv(jd,e)}function zv(e,t,r){var i=Mn(Et++,2);if(i.t=e,!i.__c&&(i.__=[jd(void 0,t),function(s){var c=i.__N?i.__N[0]:i.__[0],l=i.t(c,s);c!==l&&(i.__N=[l,i.__[1]],i.__c.setState({}))}],i.__c=Ie,!Ie.__f)){var n=function(s,c,l){if(!i.__c.__H)return!0;var d=!1,f=i.__c.props!==s;if(i.__c.__H.__.some(function(m){if(m.__N){d=!0;var h=m.__[0];m.__=m.__N,m.__N=void 0,h!==m.__[0]&&(f=!0)}}),o){var p=o.call(this,s,c,l);return d?p||f:p}return!d||f};Ie.__f=!0;var o=Ie.shouldComponentUpdate,a=Ie.componentWillUpdate;Ie.componentWillUpdate=function(s,c,l){if(this.__e){var d=o;o=void 0,n(s,c,l),o=d}a&&a.call(this,s,c,l)},Ie.shouldComponentUpdate=n}return i.__N||i.__}function ze(e,t){var r=Mn(Et++,3);!Te.__s&&ja(r.__H,t)&&(r.__=e,r.u=t,Ie.__H.__h.push(r))}function Co(e,t){var r=Mn(Et++,4);!Te.__s&&ja(r.__H,t)&&(r.__=e,r.u=t,Ie.__h.push(r))}function pe(e){return Pn=5,rt(function(){return{current:e}},[])}function rt(e,t){var r=Mn(Et++,7);return ja(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function se(e,t){return Pn=8,rt(function(){return e},t)}function Tv(){var e=Mn(Et++,11);if(!e.__){for(var t=Ie.__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 Pv(){for(var e;e=Pd.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(co),t.__h.some(_a),t.__h=[]}catch(r){t.__h=[],Te.__e(r,e.__v)}}}Te.__b=function(e){Ie=null,Gl&&Gl(e)},Te.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),tu&&tu(e,t)},Te.__r=function(e){Yl&&Yl(e),Et=0;var t=(Ie=e.__c).__H;t&&(na===Ie?(t.__h=[],Ie.__h=[],t.__.some(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.some(co),t.__h.some(_a),t.__h=[],Et=0)),na=Ie},Te.diffed=function(e){Xl&&Xl(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Pd.push(t)!==1&&Wl===Te.requestAnimationFrame||((Wl=Te.requestAnimationFrame)||jv)(Pv)),t.__H.__.some(function(r){r.u&&(r.__H=r.u,r.u=void 0)})),na=Ie=null},Te.__c=function(e,t){t.some(function(r){try{r.__h.some(co),r.__h=r.__h.filter(function(i){return!i.__||_a(i)})}catch(i){t.some(function(n){n.__h&&(n.__h=[])}),t=[],Te.__e(i,r.__v)}}),Ql&&Ql(e,t)},Te.unmount=function(e){eu&&eu(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.some(function(i){try{co(i)}catch(n){t=n}}),r.__H=void 0,t&&Te.__e(t,r.__v))};var nu=typeof requestAnimationFrame=="function";function jv(e){var t,r=function(){clearTimeout(i),nu&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(r,35);nu&&(t=requestAnimationFrame(r))}function co(e){var t=Ie,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),Ie=t}function _a(e){var t=Ie;e.__c=e.__(),Ie=t}function ja(e,t){return!e||e.length!==t.length||t.some(function(r,i){return r!==e[i]})}function jd(e,t){return typeof t=="function"?t(e):t}const Da="—",Dv="fr-FR";let Dd=()=>{};function Ev(e){Dd=e}function Ea(){const e=Dd();return typeof e=="string"&&e.length>0?e:typeof navigator<"u"&&navigator.language?navigator.language:Dv}function No(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 wt(e,t=2){const r=No(e);return r===null?Da:r.toLocaleString(Ea(),{minimumFractionDigits:t,maximumFractionDigits:t})}function Ed(e,t){const r=No(e);if(r===null)return Da;const i=Ea();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`${wt(r,2)} ${t}`}}function Od(e,t=0){const r=No(e);return r===null?Da:(r/100).toLocaleString(Ea(),{style:"percent",minimumFractionDigits:t,maximumFractionDigits:t})}const Cd={"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.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}","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.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.action":"Submit the invoice","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.action":"Submit the document","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"},Ov={"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.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}","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.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.action":"Soumettre la facture","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.action":"Soumettre le document","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"};let Nd=()=>{};function Cv(e){Nd=e}function Nv(e){if(typeof e!="string"||e.length===0)return"en";const t=e.toLowerCase();return t==="fr"||t.startsWith("fr-")?"fr":"en"}function Av(){return Nv(Nd())}const Uv={en:Cd,fr:Ov};function ct(e,t){const r=Av(),n=Uv[r][e]??Cd[e]??e;return t?n.replace(/\{(\w+)\}/g,(o,a)=>Object.prototype.hasOwnProperty.call(t,a)?String(t[a]):o):n}let Ht={};const ya=new Set;Ev(()=>Ht.locale);Cv(()=>Ht.locale);function ru(e){if(e){Ht={...Ht,...e};for(const t of ya)t(Ht)}}function Ad(){return Ht}function Oa(e){return ya.add(e),()=>{ya.delete(e)}}function Rv(e){e.onhostcontextchanged=t=>{ru(t)},ru(e.getHostContext())}function Ca(){const[e,t]=fe(Ad());return ze(()=>Oa(t),[]),e}function jn(e){return e==="light"||e==="dark"}function Lv(){return typeof matchMedia=="function"&&matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Zv(e){if(jn(e))return e;const t=Ad().theme;return jn(t)?t:Lv()}function Mv(e){const t=Zv(e);return document.documentElement.dataset.theme=t,jn(e)||Oa(r=>{jn(r.theme)&&(document.documentElement.dataset.theme=r.theme)}),t}function Fv(e=location.search){const t=new URLSearchParams(e).get("theme");return jn(t)?t:null}const qv="modulepreload",Jv=function(e,t){return new URL(e,t).href},ou={},Hv=function(t,r,i){let n=Promise.resolve();if(r&&r.length>0){let a=function(d){return Promise.all(d.map(f=>Promise.resolve(f).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const s=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),l=c?.nonce||c?.getAttribute("nonce");n=a(r.map(d=>{if(d=Jv(d,i),d in ou)return;ou[d]=!0;const f=d.endsWith(".css"),p=f?'[rel="stylesheet"]':"";if(!!i)for(let _=s.length-1;_>=0;_--){const g=s[_];if(g.href===d&&(!f||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${p}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":qv,f||(h.as="script"),h.crossOrigin="",h.href=d,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((_,g)=>{h.addEventListener("load",_),h.addEventListener("error",()=>g(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 iu;const Na=Object.freeze({status:"aborted"});function v(e,t,r){function i(s,c){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:c,constr:a,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,c);const l=a.prototype,d=Object.keys(l);for(let f=0;f<d.length;f++){const p=d[f];p in s||(s[p]=l[p].bind(s))}}const n=r?.Parent??Object;class o extends n{}Object.defineProperty(o,"name",{value:e});function a(s){var c;const l=r?.Parent?new o:this;i(l,s),(c=l._zod).deferred??(c.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 Aa=Symbol("zod_brand");class jt extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class Ao extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(iu=globalThis).__zod_globalConfig??(iu.__zod_globalConfig={});const Dn=globalThis.__zod_globalConfig;function Ee(e){return e&&Object.assign(Dn,e),Dn}function Bv(e){return e}function Vv(e){return e}function Kv(e){}function Wv(e){throw new Error("Unexpected value in exhaustive check")}function Gv(e){}function Ua(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 D(e,t="|"){return e.map(r=>G(r)).join(t)}function ho(e,t){return typeof t=="bigint"?t.toString():t}function Fn(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function Zt(e){return e==null}function Uo(e){const t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function Ud(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 au=Symbol("evaluating");function ce(e,t,r){let i;Object.defineProperty(e,t,{get(){if(i!==au)return i===void 0&&(i=au,i=r()),i},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function Yv(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function St(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function ut(...e){const t={};for(const r of e){const i=Object.getOwnPropertyDescriptors(r);Object.assign(t,i)}return Object.defineProperties({},t)}function Xv(e){return ut(e._zod.def)}function Qv(e,t){return t?t.reduce((r,i)=>r?.[i],e):e}function eb(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 tb(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 ka(e){return JSON.stringify(e)}function Rd(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const Ra="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Kt(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Ld=Fn(()=>{if(Dn.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function Ot(e){if(Kt(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const r=t.prototype;return!(Kt(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function Ro(e){return Ot(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function nb(e){let t=0;for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}const rb=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}`)}},go=new Set(["string","number","symbol"]),Zd=new Set(["string","number","bigint","boolean","symbol","undefined"]);function ht(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Ke(e,t,r){const i=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(i._zod.parent=e),i}function j(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 ob(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 G(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Md(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const Fd={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]},qd={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Jd(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=ut(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 St(this,"shape",a),a},checks:[]});return Ke(e,o)}function Hd(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=ut(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 St(this,"shape",a),a},checks:[]});return Ke(e,o)}function Bd(e,t){if(!Ot(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=ut(e._zod.def,{get shape(){const o={...e._zod.def.shape,...t};return St(this,"shape",o),o}});return Ke(e,n)}function Vd(e,t){if(!Ot(t))throw new Error("Invalid input to safeExtend: expected a plain object");const r=ut(e._zod.def,{get shape(){const i={...e._zod.def.shape,...t};return St(this,"shape",i),i}});return Ke(e,r)}function Kd(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=ut(e._zod.def,{get shape(){const i={...e._zod.def.shape,...t._zod.def.shape};return St(this,"shape",i),i},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return Ke(e,r)}function Wd(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=ut(t._zod.def,{get shape(){const s=t._zod.def.shape,c={...s};if(r)for(const l in r){if(!(l in s))throw new Error(`Unrecognized key: "${l}"`);r[l]&&(c[l]=e?new e({type:"optional",innerType:s[l]}):s[l])}else for(const l in s)c[l]=e?new e({type:"optional",innerType:s[l]}):s[l];return St(this,"shape",c),c},checks:[]});return Ke(t,a)}function Gd(e,t,r){const i=ut(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 St(this,"shape",o),o}});return Ke(t,i)}function Pt(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 Yd(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 Xe(e,t){return t.map(r=>{var i;return(i=r).path??(i.path=[]),r.path.unshift(e),r})}function Sn(e){return typeof e=="string"?e:e?.message}function Ve(e,t,r){const i=e.message?e.message:Sn(e.inst?._zod.def?.error?.(e))??Sn(t?.error?.(e))??Sn(r.customError?.(e))??Sn(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 Lo(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function Zo(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Y(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 Wt(...e){const[t,r,i]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:i}:{...t}}function ib(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function Xd(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 Qd(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function ab(e){const t=e.replace(/-/g,"+").replace(/_/g,"/"),r="=".repeat((4-t.length%4)%4);return Xd(t+r)}function sb(e){return Qd(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function cb(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 lb(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}class ub{constructor(...t){}}const La=Object.freeze(Object.defineProperty({__proto__:null,BIGINT_FORMAT_RANGES:qd,Class:ub,NUMBER_FORMAT_RANGES:Fd,aborted:Pt,allowsEval:Ld,assert:Gv,assertEqual:Bv,assertIs:Kv,assertNever:Wv,assertNotEqual:Vv,assignProp:St,base64ToUint8Array:Xd,base64urlToUint8Array:ab,cached:Fn,captureStackTrace:Ra,cleanEnum:ib,cleanRegex:Uo,clone:Ke,cloneDef:Xv,createTransparentProxy:ob,defineLazy:ce,esc:ka,escapeRegex:ht,explicitlyAborted:Yd,extend:Bd,finalizeIssue:Ve,floatSafeRemainder:Ud,getElementAtPath:Qv,getEnumValues:Ua,getLengthableOrigin:Zo,getParsedType:rb,getSizableOrigin:Lo,hexToUint8Array:cb,isObject:Kt,isPlainObject:Ot,issue:Wt,joinValues:D,jsonStringifyReplacer:ho,merge:Kd,mergeDefs:ut,normalizeParams:j,nullish:Zt,numKeys:nb,objectClone:Yv,omit:Hd,optionalKeys:Md,parsedType:Y,partial:Wd,pick:Jd,prefixIssues:Xe,primitiveTypes:Zd,promiseAllObject:eb,propertyKeyTypes:go,randomString:tb,required:Gd,safeExtend:Vd,shallowClone:Ro,slugify:Rd,stringifyPrimitive:G,uint8ArrayToBase64:Qd,uint8ArrayToBase64url:sb,uint8ArrayToHex:lb,unwrapMessage:Sn},Symbol.toStringTag,{value:"Module"})),ep=(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,ho,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Za=v("$ZodError",ep),We=v("$ZodError",ep,{Parent:Error});function Mo(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 Fo(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 c=r,l=0;for(;l<s.length;){const d=s[l];l===s.length-1?(c[d]=c[d]||{_errors:[]},c[d]._errors.push(t(a))):c[d]=c[d]||{_errors:[]},c=c[d],l++}}}};return i(e),r}function Ma(e,t=r=>r.message){const r={errors:[]},i=(n,o=[])=>{var a,s;for(const c of n.issues)if(c.code==="invalid_union"&&c.errors.length)c.errors.map(l=>i({issues:l},[...o,...c.path]));else if(c.code==="invalid_key")i({issues:c.issues},[...o,...c.path]);else if(c.code==="invalid_element")i({issues:c.issues},[...o,...c.path]);else{const l=[...o,...c.path];if(l.length===0){r.errors.push(t(c));continue}let d=r,f=0;for(;f<l.length;){const p=l[f],m=f===l.length-1;typeof p=="string"?(d.properties??(d.properties={}),(a=d.properties)[p]??(a[p]={errors:[]}),d=d.properties[p]):(d.items??(d.items=[]),(s=d.items)[p]??(s[p]={errors:[]}),d=d.items[p]),m&&d.errors.push(t(c)),f++}}};return i(e),r}function tp(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 Fa(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 ${tp(i.path)}`);return t.join(`
8
- `)}const qn=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 jt;if(a.issues.length){const s=new(n?.Err??e)(a.issues.map(c=>Ve(c,o,Ee())));throw Ra(s,n?.callee),s}return a.value},$a=qn(We),Jn=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(c=>Ve(c,o,Ee())));throw Ra(s,n?.callee),s}return a.value},xa=Jn(We),Hn=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 jt;return o.issues.length?{success:!1,error:new(e??Za)(o.issues.map(a=>Ve(a,n,Ee())))}:{success:!0,data:o.value}},qa=Hn(We),Bn=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=>Ve(a,n,Ee())))}:{success:!0,data:o.value}},np=Bn(We),Ja=e=>(t,r,i)=>{const n=i?{...i,direction:"backward"}:{direction:"backward"};return qn(e)(t,r,n)},db=Ja(We),Ha=e=>(t,r,i)=>qn(e)(t,r,i),pb=Ha(We),Ba=e=>async(t,r,i)=>{const n=i?{...i,direction:"backward"}:{direction:"backward"};return Jn(e)(t,r,n)},fb=Ba(We),Va=e=>async(t,r,i)=>Jn(e)(t,r,i),mb=Va(We),Ka=e=>(t,r,i)=>{const n=i?{...i,direction:"backward"}:{direction:"backward"};return Hn(e)(t,r,n)},hb=Ka(We),Wa=e=>(t,r,i)=>Hn(e)(t,r,i),gb=Wa(We),Ga=e=>async(t,r,i)=>{const n=i?{...i,direction:"backward"}:{direction:"backward"};return Bn(e)(t,r,n)},vb=Ga(We),Ya=e=>async(t,r,i)=>Bn(e)(t,r,i),bb=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}~-]+@[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])?)*$/,wb=/^(([^<>()\[\]\\.,;:\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,}))$/,pp=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,Sb=pp,Ib=/^[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])?)*$/,zb="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function fp(){return new RegExp(zb,"u")}const mp=/^(?:(?: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])$/,hp=/^(([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}|:))$/,gp=e=>{const t=ht(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},vp=/^((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])$/,bp=/^(([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])$/,_p=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Xa=/^[A-Za-z0-9_-]*$/,yp=/^(?=.{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])?)*\.?$/,kp=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,Qa=/^https?$/,$p=/^\+[1-9]\d{6,14}$/,xp="(?:(?:\\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])))",wp=new RegExp(`^${xp}$`);function Sp(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 Ip(e){return new RegExp(`^${Sp(e)}$`)}function zp(e){const t=Sp({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(`^${xp}T(?:${i})$`)}const Tp=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},Pp=/^-?\d+n?$/,jp=/^-?\d+$/,es=/^-?\d+(?:\.\d+)?$/,Dp=/^(?:true|false)$/i,Ep=/^null$/i,Op=/^undefined$/i,Cp=/^[^A-Z]*$/,Np=/^[^a-z]*$/,Ap=/^[0-9a-fA-F]*$/;function Vn(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function Kn(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}const Tb=/^[0-9a-fA-F]{32}$/,Pb=Vn(22,"=="),jb=Kn(22),Db=/^[0-9a-fA-F]{40}$/,Eb=Vn(27,"="),Ob=Kn(27),Cb=/^[0-9a-fA-F]{64}$/,Nb=Vn(43,"="),Ab=Kn(43),Ub=/^[0-9a-fA-F]{96}$/,Rb=Vn(64,""),Lb=Kn(64),Zb=/^[0-9a-fA-F]{128}$/,Mb=Vn(86,"=="),Fb=Kn(86),qo=Object.freeze(Object.defineProperty({__proto__:null,base64:_p,base64url:Xa,bigint:Pp,boolean:Dp,browserEmail:Ib,cidrv4:vp,cidrv6:bp,cuid:rp,cuid2:op,date:wp,datetime:zp,domain:kp,duration:lp,e164:$p,email:dp,emoji:fp,extendedDuration:_b,guid:up,hex:Ap,hostname:yp,html5Email:xb,httpProtocol:Qa,idnEmail:Sb,integer:jp,ipv4:mp,ipv6:hp,ksuid:sp,lowercase:Cp,mac:gp,md5_base64:Pb,md5_base64url:jb,md5_hex:Tb,nanoid:cp,null:Ep,number:es,rfc5322Email:wb,sha1_base64:Eb,sha1_base64url:Ob,sha1_hex:Db,sha256_base64:Nb,sha256_base64url:Ab,sha256_hex:Cb,sha384_base64:Rb,sha384_base64url:Lb,sha384_hex:Ub,sha512_base64:Mb,sha512_base64url:Fb,sha512_hex:Zb,string:Tp,time:Ip,ulid:ip,undefined:Op,unicodeEmail:pp,uppercase:Np,uuid:Gt,uuid4:yb,uuid6:kb,uuid7:$b,xid:ap},Symbol.toStringTag,{value:"Module"})),Se=v("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),Up={number:"number",bigint:"bigint",object:"date"},ts=v("$ZodCheckLessThan",(e,t)=>{Se.init(e,t);const r=Up[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})}}),ns=v("$ZodCheckGreaterThan",(e,t)=>{Se.init(e,t);const r=Up[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})}}),Rp=v("$ZodCheckMultipleOf",(e,t)=>{Se.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):Ud(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})}}),Lp=v("$ZodCheckNumberFormat",(e,t)=>{Se.init(e,t),t.format=t.format||"float64";const r=t.format?.includes("int"),i=r?"int":"number",[n,o]=Fd[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=jp)}),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=v("$ZodCheckBigIntFormat",(e,t)=>{Se.init(e,t);const[r,i]=qd[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})}}),Mp=v("$ZodCheckMaxSize",(e,t)=>{var r;Se.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Zt(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:Lo(n),code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),Fp=v("$ZodCheckMinSize",(e,t)=>{var r;Se.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Zt(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:Lo(n),code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),qp=v("$ZodCheckSizeEquals",(e,t)=>{var r;Se.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Zt(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:Lo(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})}}),Jp=v("$ZodCheckMaxLength",(e,t)=>{var r;Se.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Zt(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=Zo(n);i.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),Hp=v("$ZodCheckMinLength",(e,t)=>{var r;Se.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Zt(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=Zo(n);i.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),Bp=v("$ZodCheckLengthEquals",(e,t)=>{var r;Se.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Zt(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=Zo(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})}}),Wn=v("$ZodCheckStringFormat",(e,t)=>{var r,i;Se.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=()=>{})}),Vp=v("$ZodCheckRegex",(e,t)=>{Wn.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})}}),Kp=v("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=Cp),Wn.init(e,t)}),Wp=v("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=Np),Wn.init(e,t)}),Gp=v("$ZodCheckIncludes",(e,t)=>{Se.init(e,t);const r=ht(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})}}),Yp=v("$ZodCheckStartsWith",(e,t)=>{Se.init(e,t);const r=new RegExp(`^${ht(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})}}),Xp=v("$ZodCheckEndsWith",(e,t)=>{Se.init(e,t);const r=new RegExp(`.*${ht(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 su(e,t,r){e.issues.length&&t.issues.push(...Xe(r,e.issues))}const Qp=v("$ZodCheckProperty",(e,t)=>{Se.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=>su(n,r,t.property));su(i,r,t.property)}}),ef=v("$ZodCheckMimeType",(e,t)=>{Se.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})}}),tf=v("$ZodCheckOverwrite",(e,t)=>{Se.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});class nf{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(`
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 Oo,$e,bd,kt,Bl,_d,yd,ta,ao,zn,kd,za,ba,_a,fo={},mo=[],bv=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Co=Array.isArray;function mt(e,t){for(var r in t)e[r]=t[r];return e}function Ta(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function _v(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?Oo.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 so(e,a,i,n,null)}function so(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??++bd,__i:-1,__u:0};return n==null&&$e.vnode!=null&&$e.vnode(o),o}function De(e){return e.children}function co(e,t){this.props=e,this.context=t}function Dt(e,t){if(t==null)return e.__?Dt(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"?Dt(e):null}function yv(e){if(e.__P&&e.__d){var t=e.__v,r=t.__e,i=[],n=[],o=mt({},t);o.__v=t.__v+1,$e.vnode&&$e.vnode(o),Pa(e.__P,o,t,e.__n,e.__P.namespaceURI,32&t.__u?[r]:null,i,r??Dt(t),!!(32&t.__u),n),o.__v=t.__v,o.__.__k[o.__i]=o,Id(i,o,n),t.__e=t.__=null,o.__e!=r&&$d(o)}}function $d(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}),$d(e)}function Vl(e){(!e.__d&&(e.__d=!0)&&kt.push(e)&&!ho.__r++||Bl!=$e.debounceRendering)&&((Bl=$e.debounceRendering)||_d)(ho)}function ho(){try{for(var e,t=1;kt.length;)kt.length>t&&kt.sort(yd),e=kt.shift(),t=kt.length,yv(e)}finally{kt.length=ho.__r=0}}function xd(e,t,r,i,n,o,a,s,c,l,d){var f,p,m,h,_,g,$=i&&i.__k||mo,S=t.length;for(c=kv(r,t,$,c,S),f=0;f<S;f++)(m=r.__k[f])!=null&&(p=m.__i!=-1&&$[m.__i]||fo,m.__i=f,g=Pa(e,m,p,n,o,a,s,c,l,d),h=m.__e,m.ref&&p.ref!=m.ref&&(p.ref&&ja(p.ref,null,m),d.push(m.ref,m.__c||h,m)),_==null&&h!=null&&(_=h),4&m.__u?(c=wd(m,c,e),p.__e&&(p.__e=null)):typeof m.type=="function"&&g!==void 0?c=g:h&&(c=h.nextSibling),m.__u&=-7);return r.__e=_,c}function kv(e,t,r,i,n){var o,a,s,c,l,d=r.length,f=d,p=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]=so(null,a,null,null,null):Co(a)?a=e.__k[o]=so(De,{children:a},null,null,null):a.constructor===void 0&&a.__b>0?a=e.__k[o]=so(a.type,a.props,a.key,a.ref?a.ref:null,a.__v):e.__k[o]=a,c=o+p,a.__=e,a.__b=e.__b+1,s=null,(l=a.__i=$v(a,r,c,f))!=-1&&(f--,(s=r[l])&&(s.__u|=2)),s==null||s.__v==null?(l==-1&&(n>d?p--:n<d&&p++),typeof a.type!="function"&&(a.__u|=4)):l!=c&&(l==c-1?p--:l==c+1?p++:(l>c?p--:p++,a.__u|=4))):e.__k[o]=null;if(f)for(o=0;o<d;o++)(s=r[o])!=null&&(2&s.__u)==0&&(s.__e==i&&(i=Dt(s)),Td(s,s));return i}function wd(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=wd(i[n],t,r));return t}e.__e!=t&&(t&&e.type&&!t.parentNode&&(t=Dt(e)),t=r.insertBefore(e.__e,t||null));do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function $v(e,t,r,i){var n,o,a,s=e.key,c=e.type,l=t[r],d=l!=null&&(2&l.__u)==0;if(l===null&&s==null||d&&s==l.key&&c==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&&c==l.type)return a}return-1}function Kl(e,t,r){t[0]=="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||bv.test(t)?r:r+"px"}function Br(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||Kl(e.style,t,"");if(r)for(t in r)i&&r[t]==i[t]||Kl(e.style,t,r[t])}else if(t[0]=="o"&&t[1]=="n")o=t!=(t=t.replace(kd,"$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[zn]=i[zn]:(r[zn]=za,e.addEventListener(t,o?_a:ba,o)):e.removeEventListener(t,o?_a:ba,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 Wl(e){return function(t){if(this.l){var r=this.l[t.type+e];if(t[ao]==null)t[ao]=za++;else if(t[ao]<r[zn])return;return r($e.event?$e.event(t):t)}}}function Pa(e,t,r,i,n,o,a,s,c,l){var d,f,p,m,h,_,g,$,S,k,I,x,C,P,z,D,R=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(c=!!(32&r.__u),o=[s=t.__e=r.__e]),(d=$e.__b)&&d(t);e:if(typeof R=="function"){f=a.length;try{if(S=t.props,k=R.prototype&&R.prototype.render,I=(d=R.contextType)&&i[d.__c],x=d?I?I.props.value:d.__:i,r.__c?$=(p=t.__c=r.__c).__=p.__E:(k?t.__c=p=new R(S,x):(t.__c=p=new co(S,x),p.constructor=R,p.render=wv),I&&I.sub(p),p.state||(p.state={}),p.__n=i,m=p.__d=!0,p.__h=[],p._sb=[]),k&&p.__s==null&&(p.__s=p.state),k&&R.getDerivedStateFromProps!=null&&(p.__s==p.state&&(p.__s=mt({},p.__s)),mt(p.__s,R.getDerivedStateFromProps(S,p.__s))),h=p.props,_=p.state,p.__v=t,m)k&&R.getDerivedStateFromProps==null&&p.componentWillMount!=null&&p.componentWillMount(),k&&p.componentDidMount!=null&&p.__h.push(p.componentDidMount);else{if(k&&R.getDerivedStateFromProps==null&&S!==h&&p.componentWillReceiveProps!=null&&p.componentWillReceiveProps(S,x),t.__v==r.__v||!p.__e&&p.shouldComponentUpdate!=null&&p.shouldComponentUpdate(S,p.__s,x)===!1){t.__v!=r.__v&&(p.props=S,p.state=p.__s,p.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.some(function(J){J&&(J.__=t)}),mo.push.apply(p.__h,p._sb),p._sb=[],p.__h.length&&a.push(p),s=Dt(r);break e}p.componentWillUpdate!=null&&p.componentWillUpdate(S,p.__s,x),k&&p.componentDidUpdate!=null&&p.__h.push(function(){p.componentDidUpdate(h,_,g)})}if(p.context=x,p.props=S,p.__P=e,p.__e=!1,C=$e.__r,P=0,k)p.state=p.__s,p.__d=!1,C&&C(t),d=p.render(p.props,p.state,p.context),mo.push.apply(p.__h,p._sb),p._sb=[];else do p.__d=!1,C&&C(t),d=p.render(p.props,p.state,p.context),p.state=p.__s;while(p.__d&&++P<25);p.state=p.__s,p.getChildContext!=null&&(i=mt(mt({},i),p.getChildContext())),k&&!m&&p.getSnapshotBeforeUpdate!=null&&(g=p.getSnapshotBeforeUpdate(h,_)),z=d!=null&&d.type===De&&d.key==null?zd(d.props.children):d,s=xd(e,Co(z)?z:[z],t,r,i,n,o,a,s,c,l),p.base=t.__e,t.__u&=-161,p.__h.length&&a.push(p),$&&(p.__E=p.__=null)}catch(J){if(a.length=f,t.__v=null,c||o!=null){if(J.then){for(t.__u|=c?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(D=o.length;D--;)Ta(o[D])}else t.__e=r.__e;t.__k==null&&(t.__k=r.__k||[]),J.then||Sd(t),$e.__e(J,t,r)}}else o==null&&t.__v==r.__v?(t.__k=r.__k,t.__e=r.__e):s=t.__e=xv(r.__e,t,r,i,n,o,a,c,l);return(d=$e.diffed)&&d(t),128&t.__u?void 0:s}function Sd(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(Sd))}function Id(e,t,r){for(var i=0;i<r.length;i++)ja(r[i],r[++i],r[++i]);$e.__c&&$e.__c(t,e),e.some(function(n){try{e=n.__h,n.__h=[],e.some(function(o){o.call(n)})}catch(o){$e.__e(o,n.__v)}})}function zd(e){return typeof e!="object"||e==null||e.__b>0?e:Co(e)?e.map(zd):e.constructor!==void 0?null:mt({},e)}function xv(e,t,r,i,n,o,a,s,c){var l,d,f,p,m,h,_,g=r.props||fo,$=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((m=o[l])&&"setAttribute"in m==!!S&&(S?m.localName==S:m.nodeType==3)){e=m,o[l]=null;break}}if(e==null){if(S==null)return document.createTextNode($);e=document.createElementNS(n,S,$.is&&$),s&&($e.__m&&$e.__m(t,o),s=!1),o=null}if(S==null)g===$||s&&e.data==$||(e.data=$);else{if(o=S=="textarea"&&$.defaultValue!=null?null:o&&Oo.call(e.childNodes),!s&&o!=null)for(g={},l=0;l<e.attributes.length;l++)g[(m=e.attributes[l]).name]=m.value;for(l in g)m=g[l],l=="dangerouslySetInnerHTML"?f=m:l=="children"||l in $||l=="value"&&"defaultValue"in $||l=="checked"&&"defaultChecked"in $||Br(e,l,null,m,n);for(l in $)m=$[l],l=="children"?p=m:l=="dangerouslySetInnerHTML"?d=m:l=="value"?h=m:l=="checked"?_=m:s&&typeof m!="function"||g[l]===m||Br(e,l,m,g[l],n);if(d)s||f&&(d.__html==f.__html||d.__html==e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(f&&(e.innerHTML=""),xd(t.type=="template"?e.content:e,Co(p)?p:[p],t,r,i,S=="foreignObject"?"http://www.w3.org/1999/xhtml":n,o,a,o?o[0]:r.__k&&Dt(r,0),s,c),o!=null)for(l=o.length;l--;)Ta(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!=g[l])&&Br(e,l,h,g[l],n),l="checked",_!=null&&_!=e[l]&&Br(e,l,_,g[l],n))}return e}function ja(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){$e.__e(n,r)}}function Td(e,t,r){var i,n;if($e.unmount&&$e.unmount(e),(i=e.ref)&&(i.current&&i.current!=e.__e||ja(i,null,t)),(i=e.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(o){$e.__e(o,t)}i.base=i.__P=i.__n=null}if(i=e.__k)for(n=0;n<i.length;n++)i[n]&&Td(i[n],t,r||typeof e.type!="function");r||Ta(e.__e),e.__c=e.__=e.__e=void 0}function wv(e,t,r){return this.constructor(e,r)}function Sv(e,t,r){var i,n,o,a;t==document&&(t=document.documentElement),$e.__&&$e.__(e,t),n=(i=!1)?null:t.__k,o=[],a=[],Pa(t,e=t.__k=_v(De,null,[e]),n||fo,fo,t.namespaceURI,n?null:t.firstChild?Oo.call(t.childNodes):null,o,n?n.__e:t.firstChild,i,a),Id(o,e,a),e.props.children=null}Oo=mo.slice,$e={__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}},bd=0,co.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=mt({},this.state),typeof e=="function"&&(e=e(mt({},r),this.props)),e&&mt(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),Vl(this))},co.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Vl(this))},co.prototype.render=De,kt=[],_d=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,yd=function(e,t){return e.__v.__b-t.__v.__b},ho.__r=0,ta=Math.random().toString(8),ao="__d"+ta,zn="__a"+ta,kd=/(PointerCapture)$|Capture$/i,za=0,ba=Wl(!1),_a=Wl(!0);var Iv=0;function u(e,t,r,i,n,o){t||(t={});var a,s,c=t;if("ref"in c)for(s in c={},t)s=="ref"?a=t[s]:c[s]=t[s];var l={type:e,props:c,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--Iv,__i:-1,__u:0,__source:n,__self:o};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)c[s]===void 0&&(c[s]=a[s]);return $e.vnode&&$e.vnode(l),l}var Et,Te,na,Gl,Pn=0,Pd=[],je=$e,Yl=je.__b,Xl=je.__r,Ql=je.diffed,eu=je.__c,tu=je.unmount,nu=je.__;function Mn(e,t){je.__h&&je.__h(Te,e,Pn||t),Pn=0;var r=Te.__H||(Te.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({}),r.__[e]}function pe(e){return Pn=1,zv(jd,e)}function zv(e,t,r){var i=Mn(Et++,2);if(i.t=e,!i.__c&&(i.__=[jd(void 0,t),function(s){var c=i.__N?i.__N[0]:i.__[0],l=i.t(c,s);c!==l&&(i.__N=[l,i.__[1]],i.__c.setState({}))}],i.__c=Te,!Te.__f)){var n=function(s,c,l){if(!i.__c.__H)return!0;var d=!1,f=i.__c.props!==s;if(i.__c.__H.__.some(function(m){if(m.__N){d=!0;var h=m.__[0];m.__=m.__N,m.__N=void 0,h!==m.__[0]&&(f=!0)}}),o){var p=o.call(this,s,c,l);return d?p||f:p}return!d||f};Te.__f=!0;var o=Te.shouldComponentUpdate,a=Te.componentWillUpdate;Te.componentWillUpdate=function(s,c,l){if(this.__e){var d=o;o=void 0,n(s,c,l),o=d}a&&a.call(this,s,c,l)},Te.shouldComponentUpdate=n}return i.__N||i.__}function Pe(e,t){var r=Mn(Et++,3);!je.__s&&Da(r.__H,t)&&(r.__=e,r.u=t,Te.__H.__h.push(r))}function Fn(e,t){var r=Mn(Et++,4);!je.__s&&Da(r.__H,t)&&(r.__=e,r.u=t,Te.__h.push(r))}function de(e){return Pn=5,ot(function(){return{current:e}},[])}function ot(e,t){var r=Mn(Et++,7);return Da(r.__H,t)&&(r.__=e(),r.__H=t,r.__h=e),r.__}function ae(e,t){return Pn=8,ot(function(){return e},t)}function Tv(){var e=Mn(Et++,11);if(!e.__){for(var t=Te.__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 Pv(){for(var e;e=Pd.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(lo),t.__h.some(ya),t.__h=[]}catch(r){t.__h=[],je.__e(r,e.__v)}}}je.__b=function(e){Te=null,Yl&&Yl(e)},je.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),nu&&nu(e,t)},je.__r=function(e){Xl&&Xl(e),Et=0;var t=(Te=e.__c).__H;t&&(na===Te?(t.__h=[],Te.__h=[],t.__.some(function(r){r.__N&&(r.__=r.__N),r.u=r.__N=void 0})):(t.__h.some(lo),t.__h.some(ya),t.__h=[],Et=0)),na=Te},je.diffed=function(e){Ql&&Ql(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Pd.push(t)!==1&&Gl===je.requestAnimationFrame||((Gl=je.requestAnimationFrame)||jv)(Pv)),t.__H.__.some(function(r){r.u&&(r.__H=r.u,r.u=void 0)})),na=Te=null},je.__c=function(e,t){t.some(function(r){try{r.__h.some(lo),r.__h=r.__h.filter(function(i){return!i.__||ya(i)})}catch(i){t.some(function(n){n.__h&&(n.__h=[])}),t=[],je.__e(i,r.__v)}}),eu&&eu(e,t)},je.unmount=function(e){tu&&tu(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.some(function(i){try{lo(i)}catch(n){t=n}}),r.__H=void 0,t&&je.__e(t,r.__v))};var ru=typeof requestAnimationFrame=="function";function jv(e){var t,r=function(){clearTimeout(i),ru&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(r,35);ru&&(t=requestAnimationFrame(r))}function lo(e){var t=Te,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),Te=t}function ya(e){var t=Te;e.__c=e.__(),Te=t}function Da(e,t){return!e||e.length!==t.length||t.some(function(r,i){return r!==e[i]})}function jd(e,t){return typeof t=="function"?t(e):t}const Ea="—",Dv="fr-FR";let Dd=()=>{};function Ev(e){Dd=e}function Oa(){const e=Dd();return typeof e=="string"&&e.length>0?e:typeof navigator<"u"&&navigator.language?navigator.language:Dv}function No(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 wt(e,t=2){const r=No(e);return r===null?Ea:r.toLocaleString(Oa(),{minimumFractionDigits:t,maximumFractionDigits:t})}function Ed(e,t){const r=No(e);if(r===null)return Ea;const i=Oa();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`${wt(r,2)} ${t}`}}function Od(e,t=0){const r=No(e);return r===null?Ea:(r/100).toLocaleString(Oa(),{style:"percent",minimumFractionDigits:t,maximumFractionDigits:t})}const Cd={"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.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}","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.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.action":"Submit the invoice","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.action":"Submit the document","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"},Ov={"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.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}","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.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.action":"Soumettre la facture","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.action":"Soumettre le document","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"};let Nd=()=>{};function Cv(e){Nd=e}function Nv(e){if(typeof e!="string"||e.length===0)return"en";const t=e.toLowerCase();return t==="fr"||t.startsWith("fr-")?"fr":"en"}function Av(){return Nv(Nd())}const Uv={en:Cd,fr:Ov};function lt(e,t){const r=Av(),n=Uv[r][e]??Cd[e]??e;return t?n.replace(/\{(\w+)\}/g,(o,a)=>Object.prototype.hasOwnProperty.call(t,a)?String(t[a]):o):n}let Ht={};const ka=new Set;Ev(()=>Ht.locale);Cv(()=>Ht.locale);function ou(e){if(e){Ht={...Ht,...e};for(const t of ka)t(Ht)}}function Ad(){return Ht}function Ca(e){return ka.add(e),()=>{ka.delete(e)}}function Rv(e){e.onhostcontextchanged=t=>{ou(t)},ou(e.getHostContext())}function Na(){const[e,t]=pe(Ad());return Pe(()=>Ca(t),[]),e}function jn(e){return e==="light"||e==="dark"}function Lv(){return typeof matchMedia=="function"&&matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Zv(e){if(jn(e))return e;const t=Ad().theme;return jn(t)?t:Lv()}function Mv(e){const t=Zv(e);return document.documentElement.dataset.theme=t,jn(e)||Ca(r=>{jn(r.theme)&&(document.documentElement.dataset.theme=r.theme)}),t}function Fv(e=location.search){const t=new URLSearchParams(e).get("theme");return jn(t)?t:null}const qv="modulepreload",Jv=function(e,t){return new URL(e,t).href},iu={},Hv=function(t,r,i){let n=Promise.resolve();if(r&&r.length>0){let a=function(d){return Promise.all(d.map(f=>Promise.resolve(f).then(p=>({status:"fulfilled",value:p}),p=>({status:"rejected",reason:p}))))};const s=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),l=c?.nonce||c?.getAttribute("nonce");n=a(r.map(d=>{if(d=Jv(d,i),d in iu)return;iu[d]=!0;const f=d.endsWith(".css"),p=f?'[rel="stylesheet"]':"";if(!!i)for(let _=s.length-1;_>=0;_--){const g=s[_];if(g.href===d&&(!f||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${p}`))return;const h=document.createElement("link");if(h.rel=f?"stylesheet":qv,f||(h.as="script"),h.crossOrigin="",h.href=d,l&&h.setAttribute("nonce",l),document.head.appendChild(h),f)return new Promise((_,g)=>{h.addEventListener("load",_),h.addEventListener("error",()=>g(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 au;const Aa=Object.freeze({status:"aborted"});function v(e,t,r){function i(s,c){if(s._zod||Object.defineProperty(s,"_zod",{value:{def:c,constr:a,traits:new Set},enumerable:!1}),s._zod.traits.has(e))return;s._zod.traits.add(e),t(s,c);const l=a.prototype,d=Object.keys(l);for(let f=0;f<d.length;f++){const p=d[f];p in s||(s[p]=l[p].bind(s))}}const n=r?.Parent??Object;class o extends n{}Object.defineProperty(o,"name",{value:e});function a(s){var c;const l=r?.Parent?new o:this;i(l,s),(c=l._zod).deferred??(c.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 Ua=Symbol("zod_brand");class jt extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class Ao extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(au=globalThis).__zod_globalConfig??(au.__zod_globalConfig={});const Dn=globalThis.__zod_globalConfig;function Oe(e){return e&&Object.assign(Dn,e),Dn}function Bv(e){return e}function Vv(e){return e}function Kv(e){}function Wv(e){throw new Error("Unexpected value in exhaustive check")}function Gv(e){}function Ra(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 E(e,t="|"){return e.map(r=>K(r)).join(t)}function go(e,t){return typeof t=="bigint"?t.toString():t}function qn(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function Zt(e){return e==null}function Uo(e){const t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function Ud(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 su=Symbol("evaluating");function se(e,t,r){let i;Object.defineProperty(e,t,{get(){if(i!==su)return i===void 0&&(i=su,i=r()),i},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function Yv(e){return Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e))}function St(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function dt(...e){const t={};for(const r of e){const i=Object.getOwnPropertyDescriptors(r);Object.assign(t,i)}return Object.defineProperties({},t)}function Xv(e){return dt(e._zod.def)}function Qv(e,t){return t?t.reduce((r,i)=>r?.[i],e):e}function eb(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 tb(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 $a(e){return JSON.stringify(e)}function Rd(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const La="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Kt(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Ld=qn(()=>{if(Dn.jitless||typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function Ot(e){if(Kt(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const r=t.prototype;return!(Kt(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function Ro(e){return Ot(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}function nb(e){let t=0;for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}const rb=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}`)}},vo=new Set(["string","number","symbol"]),Zd=new Set(["string","number","bigint","boolean","symbol","undefined"]);function ht(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Ge(e,t,r){const i=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(i._zod.parent=e),i}function j(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 ob(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 K(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Md(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const Fd={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]},qd={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function Jd(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=dt(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 St(this,"shape",a),a},checks:[]});return Ge(e,o)}function Hd(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=dt(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 St(this,"shape",a),a},checks:[]});return Ge(e,o)}function Bd(e,t){if(!Ot(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=dt(e._zod.def,{get shape(){const o={...e._zod.def.shape,...t};return St(this,"shape",o),o}});return Ge(e,n)}function Vd(e,t){if(!Ot(t))throw new Error("Invalid input to safeExtend: expected a plain object");const r=dt(e._zod.def,{get shape(){const i={...e._zod.def.shape,...t};return St(this,"shape",i),i}});return Ge(e,r)}function Kd(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=dt(e._zod.def,{get shape(){const i={...e._zod.def.shape,...t._zod.def.shape};return St(this,"shape",i),i},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return Ge(e,r)}function Wd(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=dt(t._zod.def,{get shape(){const s=t._zod.def.shape,c={...s};if(r)for(const l in r){if(!(l in s))throw new Error(`Unrecognized key: "${l}"`);r[l]&&(c[l]=e?new e({type:"optional",innerType:s[l]}):s[l])}else for(const l in s)c[l]=e?new e({type:"optional",innerType:s[l]}):s[l];return St(this,"shape",c),c},checks:[]});return Ge(t,a)}function Gd(e,t,r){const i=dt(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 St(this,"shape",o),o}});return Ge(t,i)}function Pt(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 Yd(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 et(e,t){return t.map(r=>{var i;return(i=r).path??(i.path=[]),r.path.unshift(e),r})}function Sn(e){return typeof e=="string"?e:e?.message}function We(e,t,r){const i=e.message?e.message:Sn(e.inst?._zod.def?.error?.(e))??Sn(t?.error?.(e))??Sn(r.customError?.(e))??Sn(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 Lo(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function Zo(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function W(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 Wt(...e){const[t,r,i]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:i}:{...t}}function ib(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}function Xd(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 Qd(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return btoa(t)}function ab(e){const t=e.replace(/-/g,"+").replace(/_/g,"/"),r="=".repeat((4-t.length%4)%4);return Xd(t+r)}function sb(e){return Qd(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function cb(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 lb(e){return Array.from(e).map(t=>t.toString(16).padStart(2,"0")).join("")}class ub{constructor(...t){}}const Za=Object.freeze(Object.defineProperty({__proto__:null,BIGINT_FORMAT_RANGES:qd,Class:ub,NUMBER_FORMAT_RANGES:Fd,aborted:Pt,allowsEval:Ld,assert:Gv,assertEqual:Bv,assertIs:Kv,assertNever:Wv,assertNotEqual:Vv,assignProp:St,base64ToUint8Array:Xd,base64urlToUint8Array:ab,cached:qn,captureStackTrace:La,cleanEnum:ib,cleanRegex:Uo,clone:Ge,cloneDef:Xv,createTransparentProxy:ob,defineLazy:se,esc:$a,escapeRegex:ht,explicitlyAborted:Yd,extend:Bd,finalizeIssue:We,floatSafeRemainder:Ud,getElementAtPath:Qv,getEnumValues:Ra,getLengthableOrigin:Zo,getParsedType:rb,getSizableOrigin:Lo,hexToUint8Array:cb,isObject:Kt,isPlainObject:Ot,issue:Wt,joinValues:E,jsonStringifyReplacer:go,merge:Kd,mergeDefs:dt,normalizeParams:j,nullish:Zt,numKeys:nb,objectClone:Yv,omit:Hd,optionalKeys:Md,parsedType:W,partial:Wd,pick:Jd,prefixIssues:et,primitiveTypes:Zd,promiseAllObject:eb,propertyKeyTypes:vo,randomString:tb,required:Gd,safeExtend:Vd,shallowClone:Ro,slugify:Rd,stringifyPrimitive:K,uint8ArrayToBase64:Qd,uint8ArrayToBase64url:sb,uint8ArrayToHex:lb,unwrapMessage:Sn},Symbol.toStringTag,{value:"Module"})),ep=(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,go,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Ma=v("$ZodError",ep),Ye=v("$ZodError",ep,{Parent:Error});function Mo(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 Fo(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 c=r,l=0;for(;l<s.length;){const d=s[l];l===s.length-1?(c[d]=c[d]||{_errors:[]},c[d]._errors.push(t(a))):c[d]=c[d]||{_errors:[]},c=c[d],l++}}}};return i(e),r}function Fa(e,t=r=>r.message){const r={errors:[]},i=(n,o=[])=>{var a,s;for(const c of n.issues)if(c.code==="invalid_union"&&c.errors.length)c.errors.map(l=>i({issues:l},[...o,...c.path]));else if(c.code==="invalid_key")i({issues:c.issues},[...o,...c.path]);else if(c.code==="invalid_element")i({issues:c.issues},[...o,...c.path]);else{const l=[...o,...c.path];if(l.length===0){r.errors.push(t(c));continue}let d=r,f=0;for(;f<l.length;){const p=l[f],m=f===l.length-1;typeof p=="string"?(d.properties??(d.properties={}),(a=d.properties)[p]??(a[p]={errors:[]}),d=d.properties[p]):(d.items??(d.items=[]),(s=d.items)[p]??(s[p]={errors:[]}),d=d.items[p]),m&&d.errors.push(t(c)),f++}}};return i(e),r}function tp(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 qa(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 ${tp(i.path)}`);return t.join(`
8
+ `)}const Jn=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 jt;if(a.issues.length){const s=new(n?.Err??e)(a.issues.map(c=>We(c,o,Oe())));throw La(s,n?.callee),s}return a.value},xa=Jn(Ye),Hn=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(c=>We(c,o,Oe())));throw La(s,n?.callee),s}return a.value},wa=Hn(Ye),Bn=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 jt;return o.issues.length?{success:!1,error:new(e??Ma)(o.issues.map(a=>We(a,n,Oe())))}:{success:!0,data:o.value}},Ja=Bn(Ye),Vn=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=>We(a,n,Oe())))}:{success:!0,data:o.value}},np=Vn(Ye),Ha=e=>(t,r,i)=>{const n=i?{...i,direction:"backward"}:{direction:"backward"};return Jn(e)(t,r,n)},db=Ha(Ye),Ba=e=>(t,r,i)=>Jn(e)(t,r,i),pb=Ba(Ye),Va=e=>async(t,r,i)=>{const n=i?{...i,direction:"backward"}:{direction:"backward"};return Hn(e)(t,r,n)},fb=Va(Ye),Ka=e=>async(t,r,i)=>Hn(e)(t,r,i),mb=Ka(Ye),Wa=e=>(t,r,i)=>{const n=i?{...i,direction:"backward"}:{direction:"backward"};return Bn(e)(t,r,n)},hb=Wa(Ye),Ga=e=>(t,r,i)=>Bn(e)(t,r,i),gb=Ga(Ye),Ya=e=>async(t,r,i)=>{const n=i?{...i,direction:"backward"}:{direction:"backward"};return Vn(e)(t,r,n)},vb=Ya(Ye),Xa=e=>async(t,r,i)=>Vn(e)(t,r,i),bb=Xa(Ye),rp=/^[cC][0-9a-z]{6,}$/,op=/^[0-9a-z]+$/,ip=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,ap=/^[0-9a-vA-V]{20}$/,sp=/^[A-Za-z0-9]{27}$/,cp=/^[a-zA-Z0-9_-]{21}$/,lp=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,_b=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(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#$%&'*+/=?^_`{|}~-]+@[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])?)*$/,zb="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function fp(){return new RegExp(zb,"u")}const mp=/^(?:(?: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])$/,hp=/^(([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}|:))$/,gp=e=>{const t=ht(e??":");return new RegExp(`^(?:[0-9A-F]{2}${t}){5}[0-9A-F]{2}$|^(?:[0-9a-f]{2}${t}){5}[0-9a-f]{2}$`)},vp=/^((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])$/,bp=/^(([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])$/,_p=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Qa=/^[A-Za-z0-9_-]*$/,yp=/^(?=.{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])?)*\.?$/,kp=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,es=/^https?$/,$p=/^\+[1-9]\d{6,14}$/,xp="(?:(?:\\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])))",wp=new RegExp(`^${xp}$`);function Sp(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 Ip(e){return new RegExp(`^${Sp(e)}$`)}function zp(e){const t=Sp({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(`^${xp}T(?:${i})$`)}const Tp=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},Pp=/^-?\d+n?$/,jp=/^-?\d+$/,ts=/^-?\d+(?:\.\d+)?$/,Dp=/^(?:true|false)$/i,Ep=/^null$/i,Op=/^undefined$/i,Cp=/^[^A-Z]*$/,Np=/^[^a-z]*$/,Ap=/^[0-9a-fA-F]*$/;function Kn(e,t){return new RegExp(`^[A-Za-z0-9+/]{${e}}${t}$`)}function Wn(e){return new RegExp(`^[A-Za-z0-9_-]{${e}}$`)}const Tb=/^[0-9a-fA-F]{32}$/,Pb=Kn(22,"=="),jb=Wn(22),Db=/^[0-9a-fA-F]{40}$/,Eb=Kn(27,"="),Ob=Wn(27),Cb=/^[0-9a-fA-F]{64}$/,Nb=Kn(43,"="),Ab=Wn(43),Ub=/^[0-9a-fA-F]{96}$/,Rb=Kn(64,""),Lb=Wn(64),Zb=/^[0-9a-fA-F]{128}$/,Mb=Kn(86,"=="),Fb=Wn(86),qo=Object.freeze(Object.defineProperty({__proto__:null,base64:_p,base64url:Qa,bigint:Pp,boolean:Dp,browserEmail:Ib,cidrv4:vp,cidrv6:bp,cuid:rp,cuid2:op,date:wp,datetime:zp,domain:kp,duration:lp,e164:$p,email:dp,emoji:fp,extendedDuration:_b,guid:up,hex:Ap,hostname:yp,html5Email:xb,httpProtocol:es,idnEmail:Sb,integer:jp,ipv4:mp,ipv6:hp,ksuid:sp,lowercase:Cp,mac:gp,md5_base64:Pb,md5_base64url:jb,md5_hex:Tb,nanoid:cp,null:Ep,number:ts,rfc5322Email:wb,sha1_base64:Eb,sha1_base64url:Ob,sha1_hex:Db,sha256_base64:Nb,sha256_base64url:Ab,sha256_hex:Cb,sha384_base64:Rb,sha384_base64url:Lb,sha384_hex:Ub,sha512_base64:Mb,sha512_base64url:Fb,sha512_hex:Zb,string:Tp,time:Ip,ulid:ip,undefined:Op,unicodeEmail:pp,uppercase:Np,uuid:Gt,uuid4:yb,uuid6:kb,uuid7:$b,xid:ap},Symbol.toStringTag,{value:"Module"})),Ie=v("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),Up={number:"number",bigint:"bigint",object:"date"},ns=v("$ZodCheckLessThan",(e,t)=>{Ie.init(e,t);const r=Up[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})}}),rs=v("$ZodCheckGreaterThan",(e,t)=>{Ie.init(e,t);const r=Up[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})}}),Rp=v("$ZodCheckMultipleOf",(e,t)=>{Ie.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):Ud(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})}}),Lp=v("$ZodCheckNumberFormat",(e,t)=>{Ie.init(e,t),t.format=t.format||"float64";const r=t.format?.includes("int"),i=r?"int":"number",[n,o]=Fd[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=jp)}),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=v("$ZodCheckBigIntFormat",(e,t)=>{Ie.init(e,t);const[r,i]=qd[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})}}),Mp=v("$ZodCheckMaxSize",(e,t)=>{var r;Ie.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Zt(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:Lo(n),code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),Fp=v("$ZodCheckMinSize",(e,t)=>{var r;Ie.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Zt(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:Lo(n),code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),qp=v("$ZodCheckSizeEquals",(e,t)=>{var r;Ie.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Zt(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:Lo(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})}}),Jp=v("$ZodCheckMaxLength",(e,t)=>{var r;Ie.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Zt(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=Zo(n);i.issues.push({origin:a,code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),Hp=v("$ZodCheckMinLength",(e,t)=>{var r;Ie.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Zt(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=Zo(n);i.issues.push({origin:a,code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),Bp=v("$ZodCheckLengthEquals",(e,t)=>{var r;Ie.init(e,t),(r=e._zod.def).when??(r.when=i=>{const n=i.value;return!Zt(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=Zo(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})}}),Gn=v("$ZodCheckStringFormat",(e,t)=>{var r,i;Ie.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=()=>{})}),Vp=v("$ZodCheckRegex",(e,t)=>{Gn.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})}}),Kp=v("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=Cp),Gn.init(e,t)}),Wp=v("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=Np),Gn.init(e,t)}),Gp=v("$ZodCheckIncludes",(e,t)=>{Ie.init(e,t);const r=ht(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})}}),Yp=v("$ZodCheckStartsWith",(e,t)=>{Ie.init(e,t);const r=new RegExp(`^${ht(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})}}),Xp=v("$ZodCheckEndsWith",(e,t)=>{Ie.init(e,t);const r=new RegExp(`.*${ht(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 cu(e,t,r){e.issues.length&&t.issues.push(...et(r,e.issues))}const Qp=v("$ZodCheckProperty",(e,t)=>{Ie.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=>cu(n,r,t.property));cu(i,r,t.property)}}),ef=v("$ZodCheckMimeType",(e,t)=>{Ie.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})}}),tf=v("$ZodCheckOverwrite",(e,t)=>{Ie.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});class nf{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
9
  `).filter(a=>a),n=Math.min(...i.map(a=>a.length-a.trimStart().length)),o=i.map(a=>a.slice(n)).map(a=>" ".repeat(this.indent*2)+a);for(const a of o)this.content.push(a)}compile(){const t=Function,r=this?.args,n=[...(this?.content??[""]).map(o=>` ${o}`)];return new t(...r,n.join(`
10
- `))}}const rf={major:4,minor:4,patch:3},ne=v("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=rf;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,c)=>{let l=Pt(a),d;for(const f of s){if(f._zod.def.when){if(Yd(a)||!f._zod.def.when(a))continue}else if(l)continue;const p=a.issues.length,m=f._zod.check(a);if(m instanceof Promise&&c?.async===!1)throw new jt;if(d||m instanceof Promise)d=(d??Promise.resolve()).then(async()=>{await m,a.issues.length!==p&&(l||(l=Pt(a,p)))});else{if(a.issues.length===p)continue;l||(l=Pt(a,p))}}return d?d.then(()=>a):a},o=(a,s,c)=>{if(Pt(a))return a.aborted=!0,a;const l=n(s,i,c);if(l instanceof Promise){if(c.async===!1)throw new jt;return l.then(d=>e._zod.parse(d,c))}return e._zod.parse(l,c)};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 c=e._zod.parse(a,s);if(c instanceof Promise){if(s.async===!1)throw new jt;return c.then(l=>n(l,i,s))}return n(c,i,s)}}ce(e,"~standard",()=>({validate:n=>{try{const o=qa(e,n);return o.success?{value:o.data}:{issues:o.error?.issues}}catch{return np(e,n).then(a=>a.success?{value:a.data}:{issues:a.error?.issues})}},vendor:"zod",version:1}))}),Gn=v("$ZodString",(e,t)=>{ne.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Tp(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}}),we=v("$ZodStringFormat",(e,t)=>{Wn.init(e,t),Gn.init(e,t)}),of=v("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=up),we.init(e,t)}),af=v("$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=Gt(i))}else t.pattern??(t.pattern=Gt());we.init(e,t)}),sf=v("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=dp),we.init(e,t)}),cf=v("$ZodURL",(e,t)=>{we.init(e,t),e._zod.check=r=>{try{const i=r.value.trim();if(!t.normalize&&t.protocol?.source===Qa.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})}}}),lf=v("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=fp()),we.init(e,t)}),uf=v("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=cp),we.init(e,t)}),df=v("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=rp),we.init(e,t)}),pf=v("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=op),we.init(e,t)}),ff=v("$ZodULID",(e,t)=>{t.pattern??(t.pattern=ip),we.init(e,t)}),mf=v("$ZodXID",(e,t)=>{t.pattern??(t.pattern=ap),we.init(e,t)}),hf=v("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=sp),we.init(e,t)}),gf=v("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=zp(t)),we.init(e,t)}),vf=v("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=wp),we.init(e,t)}),bf=v("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Ip(t)),we.init(e,t)}),_f=v("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=lp),we.init(e,t)}),yf=v("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=mp),we.init(e,t),e._zod.bag.format="ipv4"}),kf=v("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=hp),we.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})}}}),$f=v("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=gp(t.delimiter)),we.init(e,t),e._zod.bag.format="mac"}),xf=v("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=vp),we.init(e,t)}),wf=v("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=bp),we.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 rs(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const Sf=v("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=_p),we.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{rs(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});function If(e){if(!Xa.test(e))return!1;const t=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return rs(r)}const zf=v("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=Xa),we.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{If(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),Tf=v("$ZodE164",(e,t)=>{t.pattern??(t.pattern=$p),we.init(e,t)});function Pf(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 jf=v("$ZodJWT",(e,t)=>{we.init(e,t),e._zod.check=r=>{Pf(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),Df=v("$ZodCustomStringFormat",(e,t)=>{we.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})}}),os=v("$ZodNumber",(e,t)=>{ne.init(e,t),e._zod.pattern=e._zod.bag.pattern??es,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}}),Ef=v("$ZodNumberFormat",(e,t)=>{Lp.init(e,t),os.init(e,t)}),is=v("$ZodBoolean",(e,t)=>{ne.init(e,t),e._zod.pattern=Dp,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}}),as=v("$ZodBigInt",(e,t)=>{ne.init(e,t),e._zod.pattern=Pp,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}}),Of=v("$ZodBigIntFormat",(e,t)=>{Zp.init(e,t),as.init(e,t)}),Cf=v("$ZodSymbol",(e,t)=>{ne.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}}),Nf=v("$ZodUndefined",(e,t)=>{ne.init(e,t),e._zod.pattern=Op,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}}),Af=v("$ZodNull",(e,t)=>{ne.init(e,t),e._zod.pattern=Ep,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}}),Uf=v("$ZodAny",(e,t)=>{ne.init(e,t),e._zod.parse=r=>r}),Rf=v("$ZodUnknown",(e,t)=>{ne.init(e,t),e._zod.parse=r=>r}),Lf=v("$ZodNever",(e,t)=>{ne.init(e,t),e._zod.parse=(r,i)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)}),Zf=v("$ZodVoid",(e,t)=>{ne.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}}),Mf=v("$ZodDate",(e,t)=>{ne.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 cu(e,t,r){e.issues.length&&t.issues.push(...Xe(r,e.issues)),t.value[r]=e.value}const Ff=v("$ZodArray",(e,t)=>{ne.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],c=t.element._zod.run({value:s,issues:[]},i);c instanceof Promise?o.push(c.then(l=>cu(l,r,a))):cu(c,r,a)}return o.length?Promise.all(o).then(()=>r):r}});function vo(e,t,r,i,n,o){const a=r in i;if(e.issues.length){if(n&&o&&!a)return;t.issues.push(...Xe(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 qf(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=Md(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function Jf(e,t,r,i,n,o){const a=[],s=n.keySet,c=n.catchall._zod,l=c.def.type,d=c.optin==="optional",f=c.optout==="optional";for(const p in t){if(p==="__proto__"||s.has(p))continue;if(l==="never"){a.push(p);continue}const m=c.run({value:t[p],issues:[]},i);m instanceof Promise?e.push(m.then(h=>vo(h,r,p,t,d,f))):vo(m,r,p,t,d,f)}return a.length&&r.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:o}),e.length?Promise.all(e).then(()=>r):r}const Hf=v("$ZodObject",(e,t)=>{if(ne.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const s=t.shape;Object.defineProperty(t,"shape",{get:()=>{const c={...s};return Object.defineProperty(t,"shape",{value:c}),c}})}const i=Fn(()=>qf(t));ce(e._zod,"propValues",()=>{const s=t.shape,c={};for(const l in s){const d=s[l]._zod;if(d.values){c[l]??(c[l]=new Set);for(const f of d.values)c[l].add(f)}}return c});const n=Kt,o=t.catchall;let a;e._zod.parse=(s,c)=>{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=[],f=a.shape;for(const p of a.keys){const m=f[p],h=m._zod.optin==="optional",_=m._zod.optout==="optional",g=m._zod.run({value:l[p],issues:[]},c);g instanceof Promise?d.push(g.then($=>vo($,s,p,l,h,_))):vo(g,s,p,l,h,_)}return o?Jf(d,l,s,c,i.value,e):d.length?Promise.all(d).then(()=>s):s}}),Bf=v("$ZodObjectJIT",(e,t)=>{Hf.init(e,t);const r=e._zod.parse,i=Fn(()=>qf(t)),n=p=>{const m=new nf(["shape","payload","ctx"]),h=i.value,_=k=>{const z=ka(k);return`shape[${z}]._zod.run({ value: input[${z}], issues: [] }, ctx)`};m.write("const input = payload.value;");const g=Object.create(null);let $=0;for(const k of h.keys)g[k]=`key_${$++}`;m.write("const newResult = {};");for(const k of h.keys){const z=g[k],x=ka(k),P=p[k],O=P?._zod?.optin==="optional",I=P?._zod?.optout==="optional";m.write(`const ${z} = ${_(k)};`),O&&I?m.write(`
11
- if (${z}.issues.length) {
10
+ `))}}const rf={major:4,minor:4,patch:3},re=v("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=rf;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,c)=>{let l=Pt(a),d;for(const f of s){if(f._zod.def.when){if(Yd(a)||!f._zod.def.when(a))continue}else if(l)continue;const p=a.issues.length,m=f._zod.check(a);if(m instanceof Promise&&c?.async===!1)throw new jt;if(d||m instanceof Promise)d=(d??Promise.resolve()).then(async()=>{await m,a.issues.length!==p&&(l||(l=Pt(a,p)))});else{if(a.issues.length===p)continue;l||(l=Pt(a,p))}}return d?d.then(()=>a):a},o=(a,s,c)=>{if(Pt(a))return a.aborted=!0,a;const l=n(s,i,c);if(l instanceof Promise){if(c.async===!1)throw new jt;return l.then(d=>e._zod.parse(d,c))}return e._zod.parse(l,c)};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 c=e._zod.parse(a,s);if(c instanceof Promise){if(s.async===!1)throw new jt;return c.then(l=>n(l,i,s))}return n(c,i,s)}}se(e,"~standard",()=>({validate:n=>{try{const o=Ja(e,n);return o.success?{value:o.data}:{issues:o.error?.issues}}catch{return np(e,n).then(a=>a.success?{value:a.data}:{issues:a.error?.issues})}},vendor:"zod",version:1}))}),Yn=v("$ZodString",(e,t)=>{re.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Tp(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}}),we=v("$ZodStringFormat",(e,t)=>{Gn.init(e,t),Yn.init(e,t)}),of=v("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=up),we.init(e,t)}),af=v("$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=Gt(i))}else t.pattern??(t.pattern=Gt());we.init(e,t)}),sf=v("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=dp),we.init(e,t)}),cf=v("$ZodURL",(e,t)=>{we.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})}}}),lf=v("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=fp()),we.init(e,t)}),uf=v("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=cp),we.init(e,t)}),df=v("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=rp),we.init(e,t)}),pf=v("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=op),we.init(e,t)}),ff=v("$ZodULID",(e,t)=>{t.pattern??(t.pattern=ip),we.init(e,t)}),mf=v("$ZodXID",(e,t)=>{t.pattern??(t.pattern=ap),we.init(e,t)}),hf=v("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=sp),we.init(e,t)}),gf=v("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=zp(t)),we.init(e,t)}),vf=v("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=wp),we.init(e,t)}),bf=v("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Ip(t)),we.init(e,t)}),_f=v("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=lp),we.init(e,t)}),yf=v("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=mp),we.init(e,t),e._zod.bag.format="ipv4"}),kf=v("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=hp),we.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})}}}),$f=v("$ZodMAC",(e,t)=>{t.pattern??(t.pattern=gp(t.delimiter)),we.init(e,t),e._zod.bag.format="mac"}),xf=v("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=vp),we.init(e,t)}),wf=v("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=bp),we.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 os(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const Sf=v("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=_p),we.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{os(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});function If(e){if(!Qa.test(e))return!1;const t=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return os(r)}const zf=v("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=Qa),we.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{If(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),Tf=v("$ZodE164",(e,t)=>{t.pattern??(t.pattern=$p),we.init(e,t)});function Pf(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 jf=v("$ZodJWT",(e,t)=>{we.init(e,t),e._zod.check=r=>{Pf(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),Df=v("$ZodCustomStringFormat",(e,t)=>{we.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})}}),is=v("$ZodNumber",(e,t)=>{re.init(e,t),e._zod.pattern=e._zod.bag.pattern??ts,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}}),Ef=v("$ZodNumberFormat",(e,t)=>{Lp.init(e,t),is.init(e,t)}),as=v("$ZodBoolean",(e,t)=>{re.init(e,t),e._zod.pattern=Dp,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}}),ss=v("$ZodBigInt",(e,t)=>{re.init(e,t),e._zod.pattern=Pp,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}}),Of=v("$ZodBigIntFormat",(e,t)=>{Zp.init(e,t),ss.init(e,t)}),Cf=v("$ZodSymbol",(e,t)=>{re.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}}),Nf=v("$ZodUndefined",(e,t)=>{re.init(e,t),e._zod.pattern=Op,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}}),Af=v("$ZodNull",(e,t)=>{re.init(e,t),e._zod.pattern=Ep,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}}),Uf=v("$ZodAny",(e,t)=>{re.init(e,t),e._zod.parse=r=>r}),Rf=v("$ZodUnknown",(e,t)=>{re.init(e,t),e._zod.parse=r=>r}),Lf=v("$ZodNever",(e,t)=>{re.init(e,t),e._zod.parse=(r,i)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)}),Zf=v("$ZodVoid",(e,t)=>{re.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}}),Mf=v("$ZodDate",(e,t)=>{re.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 lu(e,t,r){e.issues.length&&t.issues.push(...et(r,e.issues)),t.value[r]=e.value}const Ff=v("$ZodArray",(e,t)=>{re.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],c=t.element._zod.run({value:s,issues:[]},i);c instanceof Promise?o.push(c.then(l=>lu(l,r,a))):lu(c,r,a)}return o.length?Promise.all(o).then(()=>r):r}});function bo(e,t,r,i,n,o){const a=r in i;if(e.issues.length){if(n&&o&&!a)return;t.issues.push(...et(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 qf(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=Md(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function Jf(e,t,r,i,n,o){const a=[],s=n.keySet,c=n.catchall._zod,l=c.def.type,d=c.optin==="optional",f=c.optout==="optional";for(const p in t){if(p==="__proto__"||s.has(p))continue;if(l==="never"){a.push(p);continue}const m=c.run({value:t[p],issues:[]},i);m instanceof Promise?e.push(m.then(h=>bo(h,r,p,t,d,f))):bo(m,r,p,t,d,f)}return a.length&&r.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:o}),e.length?Promise.all(e).then(()=>r):r}const Hf=v("$ZodObject",(e,t)=>{if(re.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const s=t.shape;Object.defineProperty(t,"shape",{get:()=>{const c={...s};return Object.defineProperty(t,"shape",{value:c}),c}})}const i=qn(()=>qf(t));se(e._zod,"propValues",()=>{const s=t.shape,c={};for(const l in s){const d=s[l]._zod;if(d.values){c[l]??(c[l]=new Set);for(const f of d.values)c[l].add(f)}}return c});const n=Kt,o=t.catchall;let a;e._zod.parse=(s,c)=>{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=[],f=a.shape;for(const p of a.keys){const m=f[p],h=m._zod.optin==="optional",_=m._zod.optout==="optional",g=m._zod.run({value:l[p],issues:[]},c);g instanceof Promise?d.push(g.then($=>bo($,s,p,l,h,_))):bo(g,s,p,l,h,_)}return o?Jf(d,l,s,c,i.value,e):d.length?Promise.all(d).then(()=>s):s}}),Bf=v("$ZodObjectJIT",(e,t)=>{Hf.init(e,t);const r=e._zod.parse,i=qn(()=>qf(t)),n=p=>{const m=new nf(["shape","payload","ctx"]),h=i.value,_=k=>{const I=$a(k);return`shape[${I}]._zod.run({ value: input[${I}], issues: [] }, ctx)`};m.write("const input = payload.value;");const g=Object.create(null);let $=0;for(const k of h.keys)g[k]=`key_${$++}`;m.write("const newResult = {};");for(const k of h.keys){const I=g[k],x=$a(k),C=p[k],P=C?._zod?.optin==="optional",z=C?._zod?.optout==="optional";m.write(`const ${I} = ${_(k)};`),P&&z?m.write(`
11
+ if (${I}.issues.length) {
12
12
  if (${x} in input) {
13
- payload.issues = payload.issues.concat(${z}.issues.map(iss => ({
13
+ payload.issues = payload.issues.concat(${I}.issues.map(iss => ({
14
14
  ...iss,
15
15
  path: iss.path ? [${x}, ...iss.path] : [${x}]
16
16
  })));
17
17
  }
18
18
  }
19
19
 
20
- if (${z}.value === undefined) {
20
+ if (${I}.value === undefined) {
21
21
  if (${x} in input) {
22
22
  newResult[${x}] = undefined;
23
23
  }
24
24
  } else {
25
- newResult[${x}] = ${z}.value;
25
+ newResult[${x}] = ${I}.value;
26
26
  }
27
27
 
28
- `):O?m.write(`
29
- if (${z}.issues.length) {
30
- payload.issues = payload.issues.concat(${z}.issues.map(iss => ({
28
+ `):P?m.write(`
29
+ if (${I}.issues.length) {
30
+ payload.issues = payload.issues.concat(${I}.issues.map(iss => ({
31
31
  ...iss,
32
32
  path: iss.path ? [${x}, ...iss.path] : [${x}]
33
33
  })));
34
34
  }
35
35
 
36
- if (${z}.value === undefined) {
36
+ if (${I}.value === undefined) {
37
37
  if (${x} in input) {
38
38
  newResult[${x}] = undefined;
39
39
  }
40
40
  } else {
41
- newResult[${x}] = ${z}.value;
41
+ newResult[${x}] = ${I}.value;
42
42
  }
43
43
 
44
44
  `):m.write(`
45
- const ${z}_present = ${x} in input;
46
- if (${z}.issues.length) {
47
- payload.issues = payload.issues.concat(${z}.issues.map(iss => ({
45
+ const ${I}_present = ${x} in input;
46
+ if (${I}.issues.length) {
47
+ payload.issues = payload.issues.concat(${I}.issues.map(iss => ({
48
48
  ...iss,
49
49
  path: iss.path ? [${x}, ...iss.path] : [${x}]
50
50
  })));
51
51
  }
52
- if (!${z}_present && !${z}.issues.length) {
52
+ if (!${I}_present && !${I}.issues.length) {
53
53
  payload.issues.push({
54
54
  code: "invalid_type",
55
55
  expected: "nonoptional",
@@ -58,23 +58,23 @@
58
58
  });
59
59
  }
60
60
 
61
- if (${z}_present) {
62
- if (${z}.value === undefined) {
61
+ if (${I}_present) {
62
+ if (${I}.value === undefined) {
63
63
  newResult[${x}] = undefined;
64
64
  } else {
65
- newResult[${x}] = ${z}.value;
65
+ newResult[${x}] = ${I}.value;
66
66
  }
67
67
  }
68
68
 
69
- `)}m.write("payload.value = newResult;"),m.write("return payload;");const S=m.compile();return(k,z)=>S(p,k,z)};let o;const a=Kt,s=!Dn.jitless,l=s&&Ld.value,d=t.catchall;let f;e._zod.parse=(p,m)=>{f??(f=i.value);const h=p.value;return a(h)?s&&l&&m?.async===!1&&m.jitless!==!0?(o||(o=n(t.shape)),p=o(p,m),d?Jf([],h,p,m,f,e):p):r(p,m):(p.issues.push({expected:"object",code:"invalid_type",input:h,inst:e}),p)}});function lu(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=>!Pt(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=>Ve(a,i,Ee())))}),t)}const Jo=v("$ZodUnion",(e,t)=>{ne.init(e,t),ce(e._zod,"optin",()=>t.options.some(i=>i._zod.optin==="optional")?"optional":void 0),ce(e._zod,"optout",()=>t.options.some(i=>i._zod.optout==="optional")?"optional":void 0),ce(e._zod,"values",()=>{if(t.options.every(i=>i._zod.values))return new Set(t.options.flatMap(i=>Array.from(i._zod.values)))}),ce(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=>Uo(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 c=s._zod.run({value:i.value,issues:[]},n);if(c instanceof Promise)a.push(c),o=!0;else{if(c.issues.length===0)return c;a.push(c)}}return o?Promise.all(a).then(s=>lu(s,i,e,n)):lu(a,i,e,n)}});function uu(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=>Ve(a,i,Ee())))}):t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:[],inclusive:!1}),t)}const Vf=v("$ZodXor",(e,t)=>{Jo.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 c=s._zod.run({value:i.value,issues:[]},n);c instanceof Promise?(a.push(c),o=!0):a.push(c)}return o?Promise.all(a).then(s=>uu(s,i,e,n)):uu(a,i,e,n)}}),Kf=v("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,Jo.init(e,t);const r=e._zod.parse;ce(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,c]of Object.entries(a)){n[s]||(n[s]=new Set);for(const l of c)n[s].add(l)}}return n});const i=Fn(()=>{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 c of s){if(o.has(c))throw new Error(`Duplicate discriminator value "${String(c)}"`);o.set(c,a)}}return o});e._zod.parse=(n,o)=>{const a=n.value;if(!Kt(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)}}),Wf=v("$ZodIntersection",(e,t)=>{ne.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(([c,l])=>du(r,c,l)):du(r,o,a)}});function wa(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(Ot(e)&&Ot(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=wa(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=wa(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 du(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 c of s.keys)i.has(c)||i.set(c,{}),i.get(c).l=!0}else e.issues.push(s);for(const s of r.issues)if(s.code==="unrecognized_keys")for(const c of s.keys)i.has(c)||i.set(c,{}),i.get(c).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}),Pt(e))return e;const a=wa(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 ss=v("$ZodTuple",(e,t)=>{ne.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=pu(r,"optin"),c=pu(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 f=r[d]._zod.run({value:o[d],issues:[]},n);f instanceof Promise?a.push(f.then(p=>{l[d]=p})):l[d]=f}if(t.rest){let d=r.length-1;const f=o.slice(r.length);for(const p of f){d++;const m=t.rest._zod.run({value:p,issues:[]},n);m instanceof Promise?a.push(m.then(h=>fu(h,i,d))):fu(m,i,d)}}return a.length?Promise.all(a).then(()=>mu(l,i,r,o,c)):mu(l,i,r,o,c)}});function pu(e,t){for(let r=e.length-1;r>=0;r--)if(e[r]._zod[t]!=="optional")return r+1;return 0}function fu(e,t,r){e.issues.length&&t.issues.push(...Xe(r,e.issues)),t.value[r]=e.value}function mu(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(...Xe(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 Gf=v("$ZodRecord",(e,t)=>{ne.init(e,t),e._zod.parse=(r,i)=>{const n=r.value;if(!Ot(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(m=>Ve(m,i,Ee())),input:l,path:[l],inst:e});continue}const f=d.value,p=t.valueType._zod.run({value:n[l],issues:[]},i);p instanceof Promise?o.push(p.then(m=>{m.issues.length&&r.issues.push(...Xe(l,m.issues)),r.value[f]=m.value})):(p.issues.length&&r.issues.push(...Xe(l,p.issues)),r.value[f]=p.value)}let c;for(const l in n)s.has(l)||(c=c??[],c.push(l));c&&c.length>0&&r.issues.push({code:"unrecognized_keys",input:n,inst:e,keys:c})}else{r.value={};for(const s of Reflect.ownKeys(n)){if(s==="__proto__"||!Object.prototype.propertyIsEnumerable.call(n,s))continue;let c=t.keyType._zod.run({value:s,issues:[]},i);if(c instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof s=="string"&&es.test(s)&&c.issues.length){const f=t.keyType._zod.run({value:Number(s),issues:[]},i);if(f instanceof Promise)throw new Error("Async schemas not supported in object keys currently");f.issues.length===0&&(c=f)}if(c.issues.length){t.mode==="loose"?r.value[s]=n[s]:r.issues.push({code:"invalid_key",origin:"record",issues:c.issues.map(f=>Ve(f,i,Ee())),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(f=>{f.issues.length&&r.issues.push(...Xe(s,f.issues)),r.value[c.value]=f.value})):(d.issues.length&&r.issues.push(...Xe(s,d.issues)),r.value[c.value]=d.value)}}return o.length?Promise.all(o).then(()=>r):r}}),Yf=v("$ZodMap",(e,t)=>{ne.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 c=t.keyType._zod.run({value:a,issues:[]},i),l=t.valueType._zod.run({value:s,issues:[]},i);c instanceof Promise||l instanceof Promise?o.push(Promise.all([c,l]).then(([d,f])=>{hu(d,f,r,a,n,e,i)})):hu(c,l,r,a,n,e,i)}return o.length?Promise.all(o).then(()=>r):r}});function hu(e,t,r,i,n,o,a){e.issues.length&&(go.has(typeof i)?r.issues.push(...Xe(i,e.issues)):r.issues.push({code:"invalid_key",origin:"map",input:n,inst:o,issues:e.issues.map(s=>Ve(s,a,Ee()))})),t.issues.length&&(go.has(typeof i)?r.issues.push(...Xe(i,t.issues)):r.issues.push({origin:"map",code:"invalid_element",input:n,inst:o,key:i,issues:t.issues.map(s=>Ve(s,a,Ee()))})),r.value.set(e.value,t.value)}const Xf=v("$ZodSet",(e,t)=>{ne.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(c=>gu(c,r))):gu(s,r)}return o.length?Promise.all(o).then(()=>r):r}});function gu(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}const Qf=v("$ZodEnum",(e,t)=>{ne.init(e,t);const r=Ua(t.entries),i=new Set(r);e._zod.values=i,e._zod.pattern=new RegExp(`^(${r.filter(n=>go.has(typeof n)).map(n=>typeof n=="string"?ht(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}}),em=v("$ZodLiteral",(e,t)=>{if(ne.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"?ht(i):i?ht(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}}),tm=v("$ZodFile",(e,t)=>{ne.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}}),nm=v("$ZodTransform",(e,t)=>{ne.init(e,t),e._zod.optin="optional",e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Ao(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 jt;return r.value=n,r.fallback=!0,r}});function vu(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}const cs=v("$ZodOptional",(e,t)=>{ne.init(e,t),e._zod.optin="optional",e._zod.optout="optional",ce(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),ce(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${Uo(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=>vu(a,n)):vu(o,n)}return r.value===void 0?r:t.innerType._zod.run(r,i)}}),rm=v("$ZodExactOptional",(e,t)=>{cs.init(e,t),ce(e._zod,"values",()=>t.innerType._zod.values),ce(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(r,i)=>t.innerType._zod.run(r,i)}),om=v("$ZodNullable",(e,t)=>{ne.init(e,t),ce(e._zod,"optin",()=>t.innerType._zod.optin),ce(e._zod,"optout",()=>t.innerType._zod.optout),ce(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${Uo(r.source)}|null)$`):void 0}),ce(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)}),im=v("$ZodDefault",(e,t)=>{ne.init(e,t),e._zod.optin="optional",ce(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=>bu(o,t)):bu(n,t)}});function bu(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const am=v("$ZodPrefault",(e,t)=>{ne.init(e,t),e._zod.optin="optional",ce(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))}),sm=v("$ZodNonOptional",(e,t)=>{ne.init(e,t),ce(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=>_u(o,e)):_u(n,e)}});function _u(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 cm=v("$ZodSuccess",(e,t)=>{ne.init(e,t),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Ao("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)}}),lm=v("$ZodCatch",(e,t)=>{ne.init(e,t),e._zod.optin="optional",ce(e._zod,"optout",()=>t.innerType._zod.optout),ce(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=>Ve(a,i,Ee()))},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=>Ve(o,i,Ee()))},input:r.value}),r.issues=[],r.fallback=!0),r)}}),um=v("$ZodNaN",(e,t)=>{ne.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)}),ls=v("$ZodPipe",(e,t)=>{ne.init(e,t),ce(e._zod,"values",()=>t.in._zod.values),ce(e._zod,"optin",()=>t.in._zod.optin),ce(e._zod,"optout",()=>t.out._zod.optout),ce(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=>Br(a,t.in,i)):Br(o,t.in,i)}const n=t.in._zod.run(r,i);return n instanceof Promise?n.then(o=>Br(o,t.out,i)):Br(n,t.out,i)}});function Br(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 us=v("$ZodCodec",(e,t)=>{ne.init(e,t),ce(e._zod,"values",()=>t.in._zod.values),ce(e._zod,"optin",()=>t.in._zod.optin),ce(e._zod,"optout",()=>t.out._zod.optout),ce(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=>Vr(a,t,i)):Vr(o,t,i)}else{const o=t.out._zod.run(r,i);return o instanceof Promise?o.then(a=>Vr(a,t,i)):Vr(o,t,i)}}});function Vr(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=>Kr(e,o,t.out,r)):Kr(e,n,t.out,r)}else{const n=t.reverseTransform(e.value,e);return n instanceof Promise?n.then(o=>Kr(e,o,t.in,r)):Kr(e,n,t.in,r)}}function Kr(e,t,r,i){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:t,issues:e.issues},i)}const dm=v("$ZodPreprocess",(e,t)=>{ls.init(e,t)}),pm=v("$ZodReadonly",(e,t)=>{ne.init(e,t),ce(e._zod,"propValues",()=>t.innerType._zod.propValues),ce(e._zod,"values",()=>t.innerType._zod.values),ce(e._zod,"optin",()=>t.innerType?._zod?.optin),ce(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(yu):yu(n)}});function yu(e){return e.value=Object.freeze(e.value),e}const fm=v("$ZodTemplateLiteral",(e,t)=>{ne.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||Zd.has(typeof i))r.push(ht(`${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)}),mm=v("$ZodFunction",(e,t)=>(ne.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?$a(e._def.input,i):i,o=Reflect.apply(r,this,n);return e._def.output?$a(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 xa(e._def.input,i):i,o=await Reflect.apply(r,this,n);return e._def.output?await xa(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 ss({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)),hm=v("$ZodPromise",(e,t)=>{ne.init(e,t),e._zod.parse=(r,i)=>Promise.resolve(r.value).then(n=>t.innerType._zod.run({value:n,issues:[]},i))}),gm=v("$ZodLazy",(e,t)=>{ne.init(e,t),ce(e._zod,"innerType",()=>{const r=t;return r._cachedInner||(r._cachedInner=t.getter()),r._cachedInner}),ce(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),ce(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),ce(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),ce(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(r,i)=>e._zod.innerType._zod.run(r,i)}),vm=v("$ZodCustom",(e,t)=>{Se.init(e,t),ne.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=>ku(o,r,i,e));ku(n,r,i,e)}});function ku(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(Wt(n))}}const qb=()=>{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=Y(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?`مدخلات غير مقبولة: يفترض إدخال ${G(n.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${D(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?"ة":""}: ${D(n.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${n.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${n.origin}`;default:return"مدخل غير مقبول"}}};function Jb(){return{localeError:qb()}}const Hb=()=>{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=Y(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 ${G(n.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${D(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":""}: ${D(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 Bb(){return{localeError:Hb()}}function $u(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 Vb=()=>{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=Y(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?`Няправільны ўвод: чакалася ${G(n.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${D(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);if(a){const s=Number(n.maximum),c=$u(s,a.unit.one,a.unit.few,a.unit.many);return`Занадта вялікі: чакалася, што ${n.origin??"значэнне"} павінна ${a.verb} ${o}${n.maximum.toString()} ${c}`}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),c=$u(s,a.unit.one,a.unit.few,a.unit.many);return`Занадта малы: чакалася, што ${n.origin} павінна ${a.verb} ${o}${n.minimum.toString()} ${c}`}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?"ключы":"ключ"}: ${D(n.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${n.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${n.origin}`;default:return"Няправільны ўвод"}}};function Kb(){return{localeError:Vb()}}const Wb=()=>{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=Y(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?`Невалиден вход: очакван ${G(n.values[0])}`:`Невалидна опция: очаквано едно от ${D(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?"ове":""}: ${D(n.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${n.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${n.origin}`;default:return"Невалиден вход"}}};function Gb(){return{localeError:Wb()}}const Yb=()=>{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=Y(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 ${G(n.values[0])}`:`Opció invàlida: s'esperava una de ${D(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":""}: ${D(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 Xb(){return{localeError:Yb()}}const Qb=()=>{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=Y(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 ${G(n.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${D(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: ${D(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 e_(){return{localeError:Qb()}}const t_=()=>{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=Y(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 ${G(n.values[0])}`:`Ugyldigt valg: forventede en af følgende ${D(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"}: ${D(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 n_(){return{localeError:t_()}}const r_=()=>{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=Y(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 ${G(n.values[0])}`:`Ungültige Option: erwartet eine von ${D(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"}: ${D(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 o_(){return{localeError:r_()}}const i_=()=>{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=Y(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?`Μη έγκυρη είσοδος: αναμενόταν ${G(n.values[0])}`:`Μη έγκυρη επιλογή: αναμενόταν ένα από ${D(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?"ιά":"ί"}: ${D(n.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${n.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${n.origin}`;default:return"Μη έγκυρη είσοδος"}}};function a_(){return{localeError:i_()}}const s_=()=>{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=Y(n.input),s=i[a]??a;return`Invalid input: expected ${o}, received ${s}`}case"invalid_value":return n.values.length===1?`Invalid input: expected ${G(n.values[0])}`:`Invalid option: expected one of ${D(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":""}: ${D(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 bm(){return{localeError:s_()}}const c_=()=>{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=Y(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 ${G(n.values[0])}`:`Nevalida opcio: atendiĝis unu el ${D(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":""}: ${D(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 l_(){return{localeError:c_()}}const u_=()=>{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=Y(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 ${G(n.values[0])}`:`Opción inválida: se esperaba una de ${D(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":""}: ${D(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 d_(){return{localeError:u_()}}const p_=()=>{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=Y(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?`ورودی نامعتبر: می‌بایست ${G(n.values[0])} می‌بود`:`گزینه نامعتبر: می‌بایست یکی از ${D(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?"های":""} ناشناس: ${D(n.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${n.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${n.origin}`;default:return"ورودی نامعتبر"}}};function f_(){return{localeError:p_()}}const m_=()=>{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=Y(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 ${G(n.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${D(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"}: ${D(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 h_(){return{localeError:m_()}}const g_=()=>{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=Y(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 : ${G(n.values[0])} attendu`:`Option invalide : une valeur parmi ${D(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":""} : ${D(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 v_(){return{localeError:g_()}}const b_=()=>{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=Y(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 ${G(n.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${D(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":""} : ${D(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 __(){return{localeError:b_()}}const y_=()=>{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"}},c={nan:"NaN"};return l=>{switch(l.code){case"invalid_type":{const d=l.expected,f=c[d??""]??i(d),p=Y(l.input),m=c[p]??e[p]?.label??p;return/^[A-Z]/.test(l.expected)?`קלט לא תקין: צריך להיות instanceof ${l.expected}, התקבל ${m}`:`קלט לא תקין: צריך להיות ${f}, התקבל ${m}`}case"invalid_value":{if(l.values.length===1)return`ערך לא תקין: הערך חייב להיות ${G(l.values[0])}`;const d=l.values.map(m=>G(m));if(l.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${d[0]} או ${d[1]}`;const f=d[d.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${d.slice(0,-1).join(", ")} או ${f}`}case"too_big":{const d=a(l.origin),f=n(l.origin??"value");if(l.origin==="string")return`${d?.longLabel??"ארוך"} מדי: ${f} צריכה להכיל ${l.maximum.toString()} ${d?.unit??""} ${l.inclusive?"או פחות":"לכל היותר"}`.trim();if(l.origin==="number"){const h=l.inclusive?`קטן או שווה ל-${l.maximum}`:`קטן מ-${l.maximum}`;return`גדול מדי: ${f} צריך להיות ${h}`}if(l.origin==="array"||l.origin==="set"){const h=l.origin==="set"?"צריכה":"צריך",_=l.inclusive?`${l.maximum} ${d?.unit??""} או פחות`:`פחות מ-${l.maximum} ${d?.unit??""}`;return`גדול מדי: ${f} ${h} להכיל ${_}`.trim()}const p=l.inclusive?"<=":"<",m=o(l.origin??"value");return d?.unit?`${d.longLabel} מדי: ${f} ${m} ${p}${l.maximum.toString()} ${d.unit}`:`${d?.longLabel??"גדול"} מדי: ${f} ${m} ${p}${l.maximum.toString()}`}case"too_small":{const d=a(l.origin),f=n(l.origin??"value");if(l.origin==="string")return`${d?.shortLabel??"קצר"} מדי: ${f} צריכה להכיל ${l.minimum.toString()} ${d?.unit??""} ${l.inclusive?"או יותר":"לפחות"}`.trim();if(l.origin==="number"){const h=l.inclusive?`גדול או שווה ל-${l.minimum}`:`גדול מ-${l.minimum}`;return`קטן מדי: ${f} צריך להיות ${h}`}if(l.origin==="array"||l.origin==="set"){const h=l.origin==="set"?"צריכה":"צריך";if(l.minimum===1&&l.inclusive){const g=(l.origin==="set","לפחות פריט אחד");return`קטן מדי: ${f} ${h} להכיל ${g}`}const _=l.inclusive?`${l.minimum} ${d?.unit??""} או יותר`:`יותר מ-${l.minimum} ${d?.unit??""}`;return`קטן מדי: ${f} ${h} להכיל ${_}`.trim()}const p=l.inclusive?">=":">",m=o(l.origin??"value");return d?.unit?`${d.shortLabel} מדי: ${f} ${m} ${p}${l.minimum.toString()} ${d.unit}`:`${d?.shortLabel??"קטן"} מדי: ${f} ${m} ${p}${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 f=s[d.format],p=f?.label??d.format,h=(f?.gender??"m")==="f"?"תקינה":"תקין";return`${p} לא ${h}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${l.divisor}`;case"unrecognized_keys":return`מפתח${l.keys.length>1?"ות":""} לא מזוה${l.keys.length>1?"ים":"ה"}: ${D(l.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${n(l.origin??"array")}`;default:return"קלט לא תקין"}}};function k_(){return{localeError:y_()}}const $_=()=>{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=Y(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 ${G(n.values[0])}`:`Neispravna opcija: očekivano jedno od ${D(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č"}: ${D(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 x_(){return{localeError:$_()}}const w_=()=>{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=Y(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 ${G(n.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${D(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":""}: ${D(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 S_(){return{localeError:w_()}}function xu(e,t,r){return Math.abs(e)===1?t:r}function qt(e){if(!e)return"";const t=["ա","ե","ը","ի","ո","ու","օ"],r=e[e.length-1];return e+(t.includes(r)?"ն":"ը")}const I_=()=>{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=Y(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?`Սխալ մուտքագրում․ սպասվում էր ${G(n.values[1])}`:`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${D(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);if(a){const s=Number(n.maximum),c=xu(s,a.unit.one,a.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${qt(n.origin??"արժեք")} կունենա ${o}${n.maximum.toString()} ${c}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${qt(n.origin??"արժեք")} լինի ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);if(a){const s=Number(n.minimum),c=xu(s,a.unit.one,a.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${qt(n.origin)} կունենա ${o}${n.minimum.toString()} ${c}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${qt(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?"ներ":""}. ${D(n.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${qt(n.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${qt(n.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function z_(){return{localeError:I_()}}const T_=()=>{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=Y(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 ${G(n.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${D(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":""}: ${D(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 P_(){return{localeError:T_()}}const j_=()=>{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=Y(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 ${G(n.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${D(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"}: ${D(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 D_(){return{localeError:j_()}}const E_=()=>{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=Y(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 ${G(n.values[0])}`:`Opzione non valida: atteso uno tra ${D(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"}: ${D(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 O_(){return{localeError:E_()}}const C_=()=>{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=Y(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?`無効な入力: ${G(n.values[0])}が期待されました`:`無効な選択: ${D(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?"群":""}: ${D(n.keys,"、")}`;case"invalid_key":return`${n.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${n.origin}内の無効な値`;default:return"無効な入力"}}};function N_(){return{localeError:C_()}}const A_=()=>{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=Y(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?`არასწორი შეყვანა: მოსალოდნელი ${G(n.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${D(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?"ები":"ი"}: ${D(n.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${n.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${n.origin}-ში`;default:return"არასწორი შეყვანა"}}};function U_(){return{localeError:A_()}}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:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=Y(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?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${G(n.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${D(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`រកឃើញសោមិនស្គាល់៖ ${D(n.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${n.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${n.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function _m(){return{localeError:R_()}}function L_(){return _m()}const Z_=()=>{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=Y(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?`잘못된 입력: 값은 ${G(n.values[0])} 이어야 합니다`:`잘못된 옵션: ${D(n.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{const o=n.inclusive?"이하":"미만",a=o==="미만"?"이어야 합니다":"여야 합니다",s=t(n.origin),c=s?.unit??"요소";return s?`${n.origin??"값"}이 너무 큽니다: ${n.maximum.toString()}${c} ${o}${a}`:`${n.origin??"값"}이 너무 큽니다: ${n.maximum.toString()} ${o}${a}`}case"too_small":{const o=n.inclusive?"이상":"초과",a=o==="이상"?"이어야 합니다":"여야 합니다",s=t(n.origin),c=s?.unit??"요소";return s?`${n.origin??"값"}이 너무 작습니다: ${n.minimum.toString()}${c} ${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`인식할 수 없는 키: ${D(n.keys,", ")}`;case"invalid_key":return`잘못된 키: ${n.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${n.origin}`;default:return"잘못된 입력"}}};function M_(){return{localeError:Z_()}}const xn=e=>e.charAt(0).toUpperCase()+e.slice(1);function wu(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 F_=()=>{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 c=e[n]??null;return c===null?c:{unit:c.unit[o],verb:c.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=Y(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 ${G(n.values[0])}`:`Privalo būti vienas iš ${D(n.values,"|")} pasirinkimų`;case"too_big":{const o=i[n.origin]??n.origin,a=t(n.origin,wu(Number(n.maximum)),n.inclusive??!1,"smaller");if(a?.verb)return`${xn(o??n.origin??"reikšmė")} ${a.verb} ${n.maximum.toString()} ${a.unit??"elementų"}`;const s=n.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${xn(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,wu(Number(n.minimum)),n.inclusive??!1,"bigger");if(a?.verb)return`${xn(o??n.origin??"reikšmė")} ${a.verb} ${n.minimum.toString()} ${a.unit??"elementų"}`;const s=n.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${xn(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"}: ${D(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`${xn(o??n.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function q_(){return{localeError:F_()}}const J_=()=>{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=Y(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 ${G(n.values[0])}`:`Грешана опција: се очекува една ${D(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?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${D(n.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${n.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${n.origin}`;default:return"Грешен внес"}}};function H_(){return{localeError:J_()}}const B_=()=>{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=Y(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 ${G(n.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${D(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: ${D(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 V_(){return{localeError:B_()}}const K_=()=>{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=Y(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 ${G(n.values[0])}`:`Ongeldige optie: verwacht één van ${D(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":""}: ${D(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 W_(){return{localeError:K_()}}const G_=()=>{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=Y(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 ${G(n.values[0])}`:`Ugyldig valg: forventet en av ${D(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"}: ${D(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 Y_(){return{localeError:G_()}}const X_=()=>{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=Y(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 ${G(n.values[0])}`:`Fâsit tercih: mûteberler ${D(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":""}: ${D(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 Q_(){return{localeError:X_()}}const ey=()=>{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=Y(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?`ناسم ورودي: باید ${G(n.values[0])} وای`:`ناسم انتخاب: باید یو له ${D(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?"کلیډونه":"کلیډ"}: ${D(n.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${n.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${n.origin} کې`;default:return"ناسمه ورودي"}}};function ty(){return{localeError:ey()}}const ny=()=>{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=Y(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 ${G(n.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${D(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":""}: ${D(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 ry(){return{localeError:ny()}}const oy=()=>{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=Y(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 ${G(n.values[0])}`:`Opção inválida: esperada uma das ${D(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":""}: ${D(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 iy(){return{localeError:oy()}}const ay=()=>{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=Y(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 ${G(n.values[0])}`:`Opțiune invalidă: așteptat una dintre ${D(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: ${D(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 sy(){return{localeError:ay()}}function Su(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 cy=()=>{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=Y(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?`Неверный ввод: ожидалось ${G(n.values[0])}`:`Неверный вариант: ожидалось одно из ${D(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);if(a){const s=Number(n.maximum),c=Su(s,a.unit.one,a.unit.few,a.unit.many);return`Слишком большое значение: ожидалось, что ${n.origin??"значение"} будет иметь ${o}${n.maximum.toString()} ${c}`}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),c=Su(s,a.unit.one,a.unit.few,a.unit.many);return`Слишком маленькое значение: ожидалось, что ${n.origin} будет иметь ${o}${n.minimum.toString()} ${c}`}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?"и":""}: ${D(n.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${n.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${n.origin}`;default:return"Неверные входные данные"}}};function ly(){return{localeError:cy()}}const uy=()=>{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=Y(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 ${G(n.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${D(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č"}: ${D(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 dy(){return{localeError:uy()}}const py=()=>{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=Y(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 ${G(n.values[0])}`:`Ogiltigt val: förväntade en av ${D(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"}: ${D(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 fy(){return{localeError:py()}}const my=()=>{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=Y(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?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${G(n.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${D(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?"கள்":""}: ${D(n.keys,", ")}`;case"invalid_key":return`${n.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${n.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function hy(){return{localeError:my()}}const gy=()=>{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=Y(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?`ค่าไม่ถูกต้อง: ควรเป็น ${G(n.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${D(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`พบคีย์ที่ไม่รู้จัก: ${D(n.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${n.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${n.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function vy(){return{localeError:gy()}}const by=()=>{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=Y(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 ${G(n.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${D(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":""}: ${D(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 _y(){return{localeError:by()}}const yy=()=>{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=Y(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?`Неправильні вхідні дані: очікується ${G(n.values[0])}`:`Неправильна опція: очікується одне з ${D(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?"і":""}: ${D(n.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${n.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${n.origin}`;default:return"Неправильні вхідні дані"}}};function ym(){return{localeError:yy()}}function ky(){return ym()}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:"یو آر ایل",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=Y(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?`غلط ان پٹ: ${G(n.values[0])} متوقع تھا`:`غلط آپشن: ${D(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?"ز":""}: ${D(n.keys,"، ")}`;case"invalid_key":return`${n.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${n.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function xy(){return{localeError:$y()}}const wy=()=>{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=Y(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 ${G(n.values[0])}`:`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${D(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":""}: ${D(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 Sy(){return{localeError:wy()}}const Iy=()=>{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=Y(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 ${G(n.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${D(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: ${D(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 zy(){return{localeError:Iy()}}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:"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=Y(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?`无效输入:期望 ${G(n.values[0])}`:`无效选项:期望以下之一 ${D(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): ${D(n.keys,", ")}`;case"invalid_key":return`${n.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${n.origin} 中包含无效值(value)`;default:return"无效输入"}}};function Py(){return{localeError:Ty()}}const jy=()=>{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=Y(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?`無效的輸入值:預期為 ${G(n.values[0])}`:`無效的選項:預期為以下其中之一 ${D(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?"們":""}:${D(n.keys,"、")}`;case"invalid_key":return`${n.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${n.origin} 中有無效的值`;default:return"無效的輸入值"}}};function Dy(){return{localeError:jy()}}const Ey=()=>{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=Y(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 ${G(n.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${D(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ọ̀: ${D(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 Oy(){return{localeError:Ey()}}const ds=Object.freeze(Object.defineProperty({__proto__:null,ar:Jb,az:Bb,be:Kb,bg:Gb,ca:Xb,cs:e_,da:n_,de:o_,el:a_,en:bm,eo:l_,es:d_,fa:f_,fi:h_,fr:v_,frCA:__,he:k_,hr:x_,hu:S_,hy:z_,id:P_,is:D_,it:O_,ja:N_,ka:U_,kh:L_,km:_m,ko:M_,lt:q_,mk:H_,ms:V_,nl:W_,no:Y_,ota:Q_,pl:ry,ps:ty,pt:iy,ro:sy,ru:ly,sl:dy,sv:fy,ta:hy,th:vy,tr:_y,ua:ky,uk:ym,ur:xy,uz:Sy,vi:zy,yo:Oy,zhCN:Py,zhTW:Dy},Symbol.toStringTag,{value:"Module"}));var Iu;const ps=Symbol("ZodOutput"),fs=Symbol("ZodInput");class km{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 Ho(){return new km}(Iu=globalThis).__zod_globalRegistry??(Iu.__zod_globalRegistry=Ho());const He=globalThis.__zod_globalRegistry;function $m(e,t){return new e({type:"string",...j(t)})}function xm(e,t){return new e({type:"string",coerce:!0,...j(t)})}function ms(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...j(t)})}function bo(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...j(t)})}function hs(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...j(t)})}function gs(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...j(t)})}function vs(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...j(t)})}function bs(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...j(t)})}function Bo(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...j(t)})}function _s(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...j(t)})}function ys(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...j(t)})}function ks(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...j(t)})}function $s(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...j(t)})}function xs(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...j(t)})}function ws(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...j(t)})}function Ss(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...j(t)})}function Is(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...j(t)})}function zs(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...j(t)})}function wm(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...j(t)})}function Ts(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...j(t)})}function Ps(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...j(t)})}function js(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...j(t)})}function Ds(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...j(t)})}function Es(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...j(t)})}function Os(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...j(t)})}const Cs={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function Sm(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...j(t)})}function Im(e,t){return new e({type:"string",format:"date",check:"string_format",...j(t)})}function zm(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...j(t)})}function Tm(e,t){return new e({type:"string",format:"duration",check:"string_format",...j(t)})}function Pm(e,t){return new e({type:"number",checks:[],...j(t)})}function jm(e,t){return new e({type:"number",coerce:!0,checks:[],...j(t)})}function Dm(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...j(t)})}function Em(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...j(t)})}function Om(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...j(t)})}function Cm(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...j(t)})}function Nm(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...j(t)})}function Am(e,t){return new e({type:"boolean",...j(t)})}function Um(e,t){return new e({type:"boolean",coerce:!0,...j(t)})}function Rm(e,t){return new e({type:"bigint",...j(t)})}function Lm(e,t){return new e({type:"bigint",coerce:!0,...j(t)})}function Zm(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...j(t)})}function Mm(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...j(t)})}function Fm(e,t){return new e({type:"symbol",...j(t)})}function qm(e,t){return new e({type:"undefined",...j(t)})}function Jm(e,t){return new e({type:"null",...j(t)})}function Hm(e){return new e({type:"any"})}function Bm(e){return new e({type:"unknown"})}function Vm(e,t){return new e({type:"never",...j(t)})}function Km(e,t){return new e({type:"void",...j(t)})}function Wm(e,t){return new e({type:"date",...j(t)})}function Gm(e,t){return new e({type:"date",coerce:!0,...j(t)})}function Ym(e,t){return new e({type:"nan",...j(t)})}function gt(e,t){return new ts({check:"less_than",...j(t),value:e,inclusive:!1})}function Be(e,t){return new ts({check:"less_than",...j(t),value:e,inclusive:!0})}function vt(e,t){return new ns({check:"greater_than",...j(t),value:e,inclusive:!1})}function Fe(e,t){return new ns({check:"greater_than",...j(t),value:e,inclusive:!0})}function Vo(e){return vt(0,e)}function Ko(e){return gt(0,e)}function Wo(e){return Be(0,e)}function Go(e){return Fe(0,e)}function Ct(e,t){return new Rp({check:"multiple_of",...j(t),value:e})}function Mt(e,t){return new Mp({check:"max_size",...j(t),maximum:e})}function bt(e,t){return new Fp({check:"min_size",...j(t),minimum:e})}function cn(e,t){return new qp({check:"size_equals",...j(t),size:e})}function ln(e,t){return new Jp({check:"max_length",...j(t),maximum:e})}function $t(e,t){return new Hp({check:"min_length",...j(t),minimum:e})}function un(e,t){return new Bp({check:"length_equals",...j(t),length:e})}function Yn(e,t){return new Vp({check:"string_format",format:"regex",...j(t),pattern:e})}function Xn(e){return new Kp({check:"string_format",format:"lowercase",...j(e)})}function Qn(e){return new Wp({check:"string_format",format:"uppercase",...j(e)})}function er(e,t){return new Gp({check:"string_format",format:"includes",...j(t),includes:e})}function tr(e,t){return new Yp({check:"string_format",format:"starts_with",...j(t),prefix:e})}function nr(e,t){return new Xp({check:"string_format",format:"ends_with",...j(t),suffix:e})}function Yo(e,t,r){return new Qp({check:"property",property:e,schema:t,...j(r)})}function rr(e,t){return new ef({check:"mime_type",mime:e,...j(t)})}function dt(e){return new tf({check:"overwrite",tx:e})}function or(e){return dt(t=>t.normalize(e))}function ir(){return dt(e=>e.trim())}function ar(){return dt(e=>e.toLowerCase())}function sr(){return dt(e=>e.toUpperCase())}function cr(){return dt(e=>Rd(e))}function Xm(e,t,r){return new e({type:"array",element:t,...j(r)})}function Cy(e,t,r){return new e({type:"union",options:t,...j(r)})}function Ny(e,t,r){return new e({type:"union",options:t,inclusive:!1,...j(r)})}function Ay(e,t,r,i){return new e({type:"union",options:r,discriminator:t,...j(i)})}function Uy(e,t,r){return new e({type:"intersection",left:t,right:r})}function Ry(e,t,r,i){const n=r instanceof ne,o=n?i:r,a=n?r:null;return new e({type:"tuple",items:t,rest:a,...j(o)})}function Ly(e,t,r,i){return new e({type:"record",keyType:t,valueType:r,...j(i)})}function Zy(e,t,r,i){return new e({type:"map",keyType:t,valueType:r,...j(i)})}function My(e,t,r){return new e({type:"set",valueType:t,...j(r)})}function Fy(e,t,r){const i=Array.isArray(t)?Object.fromEntries(t.map(n=>[n,n])):t;return new e({type:"enum",entries:i,...j(r)})}function qy(e,t,r){return new e({type:"enum",entries:t,...j(r)})}function Jy(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],...j(r)})}function Qm(e,t){return new e({type:"file",...j(t)})}function Hy(e,t){return new e({type:"transform",transform:t})}function By(e,t){return new e({type:"optional",innerType:t})}function Vy(e,t){return new e({type:"nullable",innerType:t})}function Ky(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return typeof r=="function"?r():Ro(r)}})}function Wy(e,t,r){return new e({type:"nonoptional",innerType:t,...j(r)})}function Gy(e,t){return new e({type:"success",innerType:t})}function Yy(e,t,r){return new e({type:"catch",innerType:t,catchValue:typeof r=="function"?r:()=>r})}function Xy(e,t,r){return new e({type:"pipe",in:t,out:r})}function Qy(e,t){return new e({type:"readonly",innerType:t})}function e0(e,t,r){return new e({type:"template_literal",parts:t,...j(r)})}function t0(e,t){return new e({type:"lazy",getter:t})}function n0(e,t){return new e({type:"promise",innerType:t})}function eh(e,t,r){const i=j(r);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:t,...i})}function th(e,t,r){return new e({type:"custom",check:"custom",fn:t,...j(r)})}function nh(e,t){const r=rh(i=>(i.addIssue=n=>{if(typeof n=="string")i.issues.push(Wt(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(Wt(o))}},e(i.value,i)),t);return r}function rh(e,t){const r=new Se({check:"custom",...j(t)});return r._zod.check=e,r}function oh(e){const t=new Se({check:"describe"});return t._zod.onattach=[r=>{const i=He.get(r)??{};He.add(r,{...i,description:e})}],t._zod.check=()=>{},t}function ih(e){const t=new Se({check:"meta"});return t._zod.onattach=[r=>{const i=He.get(r)??{};He.add(r,{...i,...e})}],t._zod.check=()=>{},t}function ah(e,t){const r=j(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(m=>typeof m=="string"?m.toLowerCase():m),n=n.map(m=>typeof m=="string"?m.toLowerCase():m));const o=new Set(i),a=new Set(n),s=e.Codec??us,c=e.Boolean??is,l=e.String??Gn,d=new l({type:"string",error:r.error}),f=new c({type:"boolean",error:r.error}),p=new s({type:"pipe",in:d,out:f,transform:((m,h)=>{let _=m;return r.case!=="sensitive"&&(_=_.toLowerCase()),o.has(_)?!0:a.has(_)?!1:(h.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...a],input:h.value,inst:p,continue:!1}),{})}),reverseTransform:((m,h)=>m===!0?i[0]||"true":n[0]||"false"),error:r.error});return p}function lr(e,t,r,i={}){const n=j(i),o={...j(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 Yt(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??He,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function ye(e,t,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 p=a.schema,m=t.processors[n.type];if(!m)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${n.type}`);m(e,t,p,d)}const f=e._zod.parent;f&&(a.ref||(a.ref=f),ye(f,t,d),t.seen.get(f).isParent=!0)}const c=t.metadataRegistry.get(e);return c&&Object.assign(a.schema,c),t.io==="input"&&Me(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 Xt(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 c=i.get(s);if(c&&c!==a[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(s,a[0])}}const n=a=>{const s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const f=e.external.registry.get(a[0])?.id,p=e.external.uri??(h=>h);if(f)return{ref:p(f)};const m=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=m,{defId:m,ref:`${p("__shared")}#/${s}/${m}`}}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:c,defId:l}=n(a);s.def={...s.schema},l&&(s.defId=l);const d=s.schema;for(const f in d)delete d[f];d.$ref=c};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>
69
+ `)}m.write("payload.value = newResult;"),m.write("return payload;");const S=m.compile();return(k,I)=>S(p,k,I)};let o;const a=Kt,s=!Dn.jitless,l=s&&Ld.value,d=t.catchall;let f;e._zod.parse=(p,m)=>{f??(f=i.value);const h=p.value;return a(h)?s&&l&&m?.async===!1&&m.jitless!==!0?(o||(o=n(t.shape)),p=o(p,m),d?Jf([],h,p,m,f,e):p):r(p,m):(p.issues.push({expected:"object",code:"invalid_type",input:h,inst:e}),p)}});function uu(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=>!Pt(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=>We(a,i,Oe())))}),t)}const Jo=v("$ZodUnion",(e,t)=>{re.init(e,t),se(e._zod,"optin",()=>t.options.some(i=>i._zod.optin==="optional")?"optional":void 0),se(e._zod,"optout",()=>t.options.some(i=>i._zod.optout==="optional")?"optional":void 0),se(e._zod,"values",()=>{if(t.options.every(i=>i._zod.values))return new Set(t.options.flatMap(i=>Array.from(i._zod.values)))}),se(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=>Uo(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 c=s._zod.run({value:i.value,issues:[]},n);if(c instanceof Promise)a.push(c),o=!0;else{if(c.issues.length===0)return c;a.push(c)}}return o?Promise.all(a).then(s=>uu(s,i,e,n)):uu(a,i,e,n)}});function du(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=>We(a,i,Oe())))}):t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:[],inclusive:!1}),t)}const Vf=v("$ZodXor",(e,t)=>{Jo.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 c=s._zod.run({value:i.value,issues:[]},n);c instanceof Promise?(a.push(c),o=!0):a.push(c)}return o?Promise.all(a).then(s=>du(s,i,e,n)):du(a,i,e,n)}}),Kf=v("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,Jo.init(e,t);const r=e._zod.parse;se(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,c]of Object.entries(a)){n[s]||(n[s]=new Set);for(const l of c)n[s].add(l)}}return n});const i=qn(()=>{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 c of s){if(o.has(c))throw new Error(`Duplicate discriminator value "${String(c)}"`);o.set(c,a)}}return o});e._zod.parse=(n,o)=>{const a=n.value;if(!Kt(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)}}),Wf=v("$ZodIntersection",(e,t)=>{re.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(([c,l])=>pu(r,c,l)):pu(r,o,a)}});function Sa(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(Ot(e)&&Ot(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=Sa(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=Sa(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 pu(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 c of s.keys)i.has(c)||i.set(c,{}),i.get(c).l=!0}else e.issues.push(s);for(const s of r.issues)if(s.code==="unrecognized_keys")for(const c of s.keys)i.has(c)||i.set(c,{}),i.get(c).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}),Pt(e))return e;const a=Sa(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 cs=v("$ZodTuple",(e,t)=>{re.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=fu(r,"optin"),c=fu(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 f=r[d]._zod.run({value:o[d],issues:[]},n);f instanceof Promise?a.push(f.then(p=>{l[d]=p})):l[d]=f}if(t.rest){let d=r.length-1;const f=o.slice(r.length);for(const p of f){d++;const m=t.rest._zod.run({value:p,issues:[]},n);m instanceof Promise?a.push(m.then(h=>mu(h,i,d))):mu(m,i,d)}}return a.length?Promise.all(a).then(()=>hu(l,i,r,o,c)):hu(l,i,r,o,c)}});function fu(e,t){for(let r=e.length-1;r>=0;r--)if(e[r]._zod[t]!=="optional")return r+1;return 0}function mu(e,t,r){e.issues.length&&t.issues.push(...et(r,e.issues)),t.value[r]=e.value}function hu(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(...et(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 Gf=v("$ZodRecord",(e,t)=>{re.init(e,t),e._zod.parse=(r,i)=>{const n=r.value;if(!Ot(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(m=>We(m,i,Oe())),input:l,path:[l],inst:e});continue}const f=d.value,p=t.valueType._zod.run({value:n[l],issues:[]},i);p instanceof Promise?o.push(p.then(m=>{m.issues.length&&r.issues.push(...et(l,m.issues)),r.value[f]=m.value})):(p.issues.length&&r.issues.push(...et(l,p.issues)),r.value[f]=p.value)}let c;for(const l in n)s.has(l)||(c=c??[],c.push(l));c&&c.length>0&&r.issues.push({code:"unrecognized_keys",input:n,inst:e,keys:c})}else{r.value={};for(const s of Reflect.ownKeys(n)){if(s==="__proto__"||!Object.prototype.propertyIsEnumerable.call(n,s))continue;let c=t.keyType._zod.run({value:s,issues:[]},i);if(c instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof s=="string"&&ts.test(s)&&c.issues.length){const f=t.keyType._zod.run({value:Number(s),issues:[]},i);if(f instanceof Promise)throw new Error("Async schemas not supported in object keys currently");f.issues.length===0&&(c=f)}if(c.issues.length){t.mode==="loose"?r.value[s]=n[s]:r.issues.push({code:"invalid_key",origin:"record",issues:c.issues.map(f=>We(f,i,Oe())),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(f=>{f.issues.length&&r.issues.push(...et(s,f.issues)),r.value[c.value]=f.value})):(d.issues.length&&r.issues.push(...et(s,d.issues)),r.value[c.value]=d.value)}}return o.length?Promise.all(o).then(()=>r):r}}),Yf=v("$ZodMap",(e,t)=>{re.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 c=t.keyType._zod.run({value:a,issues:[]},i),l=t.valueType._zod.run({value:s,issues:[]},i);c instanceof Promise||l instanceof Promise?o.push(Promise.all([c,l]).then(([d,f])=>{gu(d,f,r,a,n,e,i)})):gu(c,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&&(vo.has(typeof i)?r.issues.push(...et(i,e.issues)):r.issues.push({code:"invalid_key",origin:"map",input:n,inst:o,issues:e.issues.map(s=>We(s,a,Oe()))})),t.issues.length&&(vo.has(typeof i)?r.issues.push(...et(i,t.issues)):r.issues.push({origin:"map",code:"invalid_element",input:n,inst:o,key:i,issues:t.issues.map(s=>We(s,a,Oe()))})),r.value.set(e.value,t.value)}const Xf=v("$ZodSet",(e,t)=>{re.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(c=>vu(c,r))):vu(s,r)}return o.length?Promise.all(o).then(()=>r):r}});function vu(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}const Qf=v("$ZodEnum",(e,t)=>{re.init(e,t);const r=Ra(t.entries),i=new Set(r);e._zod.values=i,e._zod.pattern=new RegExp(`^(${r.filter(n=>vo.has(typeof n)).map(n=>typeof n=="string"?ht(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}}),em=v("$ZodLiteral",(e,t)=>{if(re.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"?ht(i):i?ht(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}}),tm=v("$ZodFile",(e,t)=>{re.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}}),nm=v("$ZodTransform",(e,t)=>{re.init(e,t),e._zod.optin="optional",e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Ao(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 jt;return r.value=n,r.fallback=!0,r}});function bu(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}const ls=v("$ZodOptional",(e,t)=>{re.init(e,t),e._zod.optin="optional",e._zod.optout="optional",se(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),se(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${Uo(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=>bu(a,n)):bu(o,n)}return r.value===void 0?r:t.innerType._zod.run(r,i)}}),rm=v("$ZodExactOptional",(e,t)=>{ls.init(e,t),se(e._zod,"values",()=>t.innerType._zod.values),se(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(r,i)=>t.innerType._zod.run(r,i)}),om=v("$ZodNullable",(e,t)=>{re.init(e,t),se(e._zod,"optin",()=>t.innerType._zod.optin),se(e._zod,"optout",()=>t.innerType._zod.optout),se(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${Uo(r.source)}|null)$`):void 0}),se(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)}),im=v("$ZodDefault",(e,t)=>{re.init(e,t),e._zod.optin="optional",se(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=>_u(o,t)):_u(n,t)}});function _u(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const am=v("$ZodPrefault",(e,t)=>{re.init(e,t),e._zod.optin="optional",se(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))}),sm=v("$ZodNonOptional",(e,t)=>{re.init(e,t),se(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=>yu(o,e)):yu(n,e)}});function yu(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 cm=v("$ZodSuccess",(e,t)=>{re.init(e,t),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Ao("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)}}),lm=v("$ZodCatch",(e,t)=>{re.init(e,t),e._zod.optin="optional",se(e._zod,"optout",()=>t.innerType._zod.optout),se(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=>We(a,i,Oe()))},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=>We(o,i,Oe()))},input:r.value}),r.issues=[],r.fallback=!0),r)}}),um=v("$ZodNaN",(e,t)=>{re.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)}),us=v("$ZodPipe",(e,t)=>{re.init(e,t),se(e._zod,"values",()=>t.in._zod.values),se(e._zod,"optin",()=>t.in._zod.optin),se(e._zod,"optout",()=>t.out._zod.optout),se(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=>Vr(a,t.in,i)):Vr(o,t.in,i)}const n=t.in._zod.run(r,i);return n instanceof Promise?n.then(o=>Vr(o,t.out,i)):Vr(n,t.out,i)}});function Vr(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 ds=v("$ZodCodec",(e,t)=>{re.init(e,t),se(e._zod,"values",()=>t.in._zod.values),se(e._zod,"optin",()=>t.in._zod.optin),se(e._zod,"optout",()=>t.out._zod.optout),se(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=>Kr(a,t,i)):Kr(o,t,i)}else{const o=t.out._zod.run(r,i);return o instanceof Promise?o.then(a=>Kr(a,t,i)):Kr(o,t,i)}}});function Kr(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=>Wr(e,o,t.out,r)):Wr(e,n,t.out,r)}else{const n=t.reverseTransform(e.value,e);return n instanceof Promise?n.then(o=>Wr(e,o,t.in,r)):Wr(e,n,t.in,r)}}function Wr(e,t,r,i){return e.issues.length?(e.aborted=!0,e):r._zod.run({value:t,issues:e.issues},i)}const dm=v("$ZodPreprocess",(e,t)=>{us.init(e,t)}),pm=v("$ZodReadonly",(e,t)=>{re.init(e,t),se(e._zod,"propValues",()=>t.innerType._zod.propValues),se(e._zod,"values",()=>t.innerType._zod.values),se(e._zod,"optin",()=>t.innerType?._zod?.optin),se(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(ku):ku(n)}});function ku(e){return e.value=Object.freeze(e.value),e}const fm=v("$ZodTemplateLiteral",(e,t)=>{re.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||Zd.has(typeof i))r.push(ht(`${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)}),mm=v("$ZodFunction",(e,t)=>(re.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?xa(e._def.input,i):i,o=Reflect.apply(r,this,n);return e._def.output?xa(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 wa(e._def.input,i):i,o=await Reflect.apply(r,this,n);return e._def.output?await wa(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 cs({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)),hm=v("$ZodPromise",(e,t)=>{re.init(e,t),e._zod.parse=(r,i)=>Promise.resolve(r.value).then(n=>t.innerType._zod.run({value:n,issues:[]},i))}),gm=v("$ZodLazy",(e,t)=>{re.init(e,t),se(e._zod,"innerType",()=>{const r=t;return r._cachedInner||(r._cachedInner=t.getter()),r._cachedInner}),se(e._zod,"pattern",()=>e._zod.innerType?._zod?.pattern),se(e._zod,"propValues",()=>e._zod.innerType?._zod?.propValues),se(e._zod,"optin",()=>e._zod.innerType?._zod?.optin??void 0),se(e._zod,"optout",()=>e._zod.innerType?._zod?.optout??void 0),e._zod.parse=(r,i)=>e._zod.innerType._zod.run(r,i)}),vm=v("$ZodCustom",(e,t)=>{Ie.init(e,t),re.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=>$u(o,r,i,e));$u(n,r,i,e)}});function $u(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(Wt(n))}}const qb=()=>{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=W(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?`مدخلات غير مقبولة: يفترض إدخال ${K(n.values[0])}`:`اختيار غير مقبول: يتوقع انتقاء أحد هذه الخيارات: ${E(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?"ة":""}: ${E(n.keys,"، ")}`;case"invalid_key":return`معرف غير مقبول في ${n.origin}`;case"invalid_union":return"مدخل غير مقبول";case"invalid_element":return`مدخل غير مقبول في ${n.origin}`;default:return"مدخل غير مقبول"}}};function Jb(){return{localeError:qb()}}const Hb=()=>{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=W(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 ${K(n.values[0])}`:`Yanlış seçim: aşağıdakılardan biri olmalıdır: ${E(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":""}: ${E(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 Bb(){return{localeError:Hb()}}function xu(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 Vb=()=>{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=W(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?`Няправільны ўвод: чакалася ${K(n.values[0])}`:`Няправільны варыянт: чакаўся адзін з ${E(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);if(a){const s=Number(n.maximum),c=xu(s,a.unit.one,a.unit.few,a.unit.many);return`Занадта вялікі: чакалася, што ${n.origin??"значэнне"} павінна ${a.verb} ${o}${n.maximum.toString()} ${c}`}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),c=xu(s,a.unit.one,a.unit.few,a.unit.many);return`Занадта малы: чакалася, што ${n.origin} павінна ${a.verb} ${o}${n.minimum.toString()} ${c}`}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?"ключы":"ключ"}: ${E(n.keys,", ")}`;case"invalid_key":return`Няправільны ключ у ${n.origin}`;case"invalid_union":return"Няправільны ўвод";case"invalid_element":return`Няправільнае значэнне ў ${n.origin}`;default:return"Няправільны ўвод"}}};function Kb(){return{localeError:Vb()}}const Wb=()=>{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=W(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?`Невалиден вход: очакван ${K(n.values[0])}`:`Невалидна опция: очаквано едно от ${E(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?"ове":""}: ${E(n.keys,", ")}`;case"invalid_key":return`Невалиден ключ в ${n.origin}`;case"invalid_union":return"Невалиден вход";case"invalid_element":return`Невалидна стойност в ${n.origin}`;default:return"Невалиден вход"}}};function Gb(){return{localeError:Wb()}}const Yb=()=>{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=W(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 ${K(n.values[0])}`:`Opció invàlida: s'esperava una de ${E(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":""}: ${E(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 Xb(){return{localeError:Yb()}}const Qb=()=>{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=W(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 ${K(n.values[0])}`:`Neplatná možnost: očekávána jedna z hodnot ${E(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: ${E(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 e_(){return{localeError:Qb()}}const t_=()=>{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=W(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 ${K(n.values[0])}`:`Ugyldigt valg: forventede en af følgende ${E(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"}: ${E(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 n_(){return{localeError:t_()}}const r_=()=>{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=W(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 ${K(n.values[0])}`:`Ungültige Option: erwartet eine von ${E(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"}: ${E(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 o_(){return{localeError:r_()}}const i_=()=>{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=W(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?`Μη έγκυρη είσοδος: αναμενόταν ${K(n.values[0])}`:`Μη έγκυρη επιλογή: αναμενόταν ένα από ${E(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?"ιά":"ί"}: ${E(n.keys,", ")}`;case"invalid_key":return`Μη έγκυρο κλειδί στο ${n.origin}`;case"invalid_union":return"Μη έγκυρη είσοδος";case"invalid_element":return`Μη έγκυρη τιμή στο ${n.origin}`;default:return"Μη έγκυρη είσοδος"}}};function a_(){return{localeError:i_()}}const s_=()=>{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=W(n.input),s=i[a]??a;return`Invalid input: expected ${o}, received ${s}`}case"invalid_value":return n.values.length===1?`Invalid input: expected ${K(n.values[0])}`:`Invalid option: expected one of ${E(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":""}: ${E(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 bm(){return{localeError:s_()}}const c_=()=>{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=W(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 ${K(n.values[0])}`:`Nevalida opcio: atendiĝis unu el ${E(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":""}: ${E(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 l_(){return{localeError:c_()}}const u_=()=>{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=W(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 ${K(n.values[0])}`:`Opción inválida: se esperaba una de ${E(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":""}: ${E(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 d_(){return{localeError:u_()}}const p_=()=>{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=W(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?`ورودی نامعتبر: می‌بایست ${K(n.values[0])} می‌بود`:`گزینه نامعتبر: می‌بایست یکی از ${E(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?"های":""} ناشناس: ${E(n.keys,", ")}`;case"invalid_key":return`کلید ناشناس در ${n.origin}`;case"invalid_union":return"ورودی نامعتبر";case"invalid_element":return`مقدار نامعتبر در ${n.origin}`;default:return"ورودی نامعتبر"}}};function f_(){return{localeError:p_()}}const m_=()=>{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=W(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 ${K(n.values[0])}`:`Virheellinen valinta: täytyy olla yksi seuraavista: ${E(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"}: ${E(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 h_(){return{localeError:m_()}}const g_=()=>{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=W(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 : ${K(n.values[0])} attendu`:`Option invalide : une valeur parmi ${E(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":""} : ${E(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 v_(){return{localeError:g_()}}const b_=()=>{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=W(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 ${K(n.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${E(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":""} : ${E(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 __(){return{localeError:b_()}}const y_=()=>{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"}},c={nan:"NaN"};return l=>{switch(l.code){case"invalid_type":{const d=l.expected,f=c[d??""]??i(d),p=W(l.input),m=c[p]??e[p]?.label??p;return/^[A-Z]/.test(l.expected)?`קלט לא תקין: צריך להיות instanceof ${l.expected}, התקבל ${m}`:`קלט לא תקין: צריך להיות ${f}, התקבל ${m}`}case"invalid_value":{if(l.values.length===1)return`ערך לא תקין: הערך חייב להיות ${K(l.values[0])}`;const d=l.values.map(m=>K(m));if(l.values.length===2)return`ערך לא תקין: האפשרויות המתאימות הן ${d[0]} או ${d[1]}`;const f=d[d.length-1];return`ערך לא תקין: האפשרויות המתאימות הן ${d.slice(0,-1).join(", ")} או ${f}`}case"too_big":{const d=a(l.origin),f=n(l.origin??"value");if(l.origin==="string")return`${d?.longLabel??"ארוך"} מדי: ${f} צריכה להכיל ${l.maximum.toString()} ${d?.unit??""} ${l.inclusive?"או פחות":"לכל היותר"}`.trim();if(l.origin==="number"){const h=l.inclusive?`קטן או שווה ל-${l.maximum}`:`קטן מ-${l.maximum}`;return`גדול מדי: ${f} צריך להיות ${h}`}if(l.origin==="array"||l.origin==="set"){const h=l.origin==="set"?"צריכה":"צריך",_=l.inclusive?`${l.maximum} ${d?.unit??""} או פחות`:`פחות מ-${l.maximum} ${d?.unit??""}`;return`גדול מדי: ${f} ${h} להכיל ${_}`.trim()}const p=l.inclusive?"<=":"<",m=o(l.origin??"value");return d?.unit?`${d.longLabel} מדי: ${f} ${m} ${p}${l.maximum.toString()} ${d.unit}`:`${d?.longLabel??"גדול"} מדי: ${f} ${m} ${p}${l.maximum.toString()}`}case"too_small":{const d=a(l.origin),f=n(l.origin??"value");if(l.origin==="string")return`${d?.shortLabel??"קצר"} מדי: ${f} צריכה להכיל ${l.minimum.toString()} ${d?.unit??""} ${l.inclusive?"או יותר":"לפחות"}`.trim();if(l.origin==="number"){const h=l.inclusive?`גדול או שווה ל-${l.minimum}`:`גדול מ-${l.minimum}`;return`קטן מדי: ${f} צריך להיות ${h}`}if(l.origin==="array"||l.origin==="set"){const h=l.origin==="set"?"צריכה":"צריך";if(l.minimum===1&&l.inclusive){const g=(l.origin==="set","לפחות פריט אחד");return`קטן מדי: ${f} ${h} להכיל ${g}`}const _=l.inclusive?`${l.minimum} ${d?.unit??""} או יותר`:`יותר מ-${l.minimum} ${d?.unit??""}`;return`קטן מדי: ${f} ${h} להכיל ${_}`.trim()}const p=l.inclusive?">=":">",m=o(l.origin??"value");return d?.unit?`${d.shortLabel} מדי: ${f} ${m} ${p}${l.minimum.toString()} ${d.unit}`:`${d?.shortLabel??"קטן"} מדי: ${f} ${m} ${p}${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 f=s[d.format],p=f?.label??d.format,h=(f?.gender??"m")==="f"?"תקינה":"תקין";return`${p} לא ${h}`}case"not_multiple_of":return`מספר לא תקין: חייב להיות מכפלה של ${l.divisor}`;case"unrecognized_keys":return`מפתח${l.keys.length>1?"ות":""} לא מזוה${l.keys.length>1?"ים":"ה"}: ${E(l.keys,", ")}`;case"invalid_key":return"שדה לא תקין באובייקט";case"invalid_union":return"קלט לא תקין";case"invalid_element":return`ערך לא תקין ב${n(l.origin??"array")}`;default:return"קלט לא תקין"}}};function k_(){return{localeError:y_()}}const $_=()=>{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=W(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 ${K(n.values[0])}`:`Neispravna opcija: očekivano jedno od ${E(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č"}: ${E(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 x_(){return{localeError:$_()}}const w_=()=>{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=W(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 ${K(n.values[0])}`:`Érvénytelen opció: valamelyik érték várt ${E(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":""}: ${E(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 S_(){return{localeError:w_()}}function wu(e,t,r){return Math.abs(e)===1?t:r}function qt(e){if(!e)return"";const t=["ա","ե","ը","ի","ո","ու","օ"],r=e[e.length-1];return e+(t.includes(r)?"ն":"ը")}const I_=()=>{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=W(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?`Սխալ մուտքագրում․ սպասվում էր ${K(n.values[1])}`:`Սխալ տարբերակ․ սպասվում էր հետևյալներից մեկը՝ ${E(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);if(a){const s=Number(n.maximum),c=wu(s,a.unit.one,a.unit.many);return`Չափազանց մեծ արժեք․ սպասվում է, որ ${qt(n.origin??"արժեք")} կունենա ${o}${n.maximum.toString()} ${c}`}return`Չափազանց մեծ արժեք․ սպասվում է, որ ${qt(n.origin??"արժեք")} լինի ${o}${n.maximum.toString()}`}case"too_small":{const o=n.inclusive?">=":">",a=t(n.origin);if(a){const s=Number(n.minimum),c=wu(s,a.unit.one,a.unit.many);return`Չափազանց փոքր արժեք․ սպասվում է, որ ${qt(n.origin)} կունենա ${o}${n.minimum.toString()} ${c}`}return`Չափազանց փոքր արժեք․ սպասվում է, որ ${qt(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?"ներ":""}. ${E(n.keys,", ")}`;case"invalid_key":return`Սխալ բանալի ${qt(n.origin)}-ում`;case"invalid_union":return"Սխալ մուտքագրում";case"invalid_element":return`Սխալ արժեք ${qt(n.origin)}-ում`;default:return"Սխալ մուտքագրում"}}};function z_(){return{localeError:I_()}}const T_=()=>{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=W(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 ${K(n.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${E(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":""}: ${E(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 P_(){return{localeError:T_()}}const j_=()=>{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=W(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 ${K(n.values[0])}`:`Ógilt val: má vera eitt af eftirfarandi ${E(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"}: ${E(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 D_(){return{localeError:j_()}}const E_=()=>{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=W(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 ${K(n.values[0])}`:`Opzione non valida: atteso uno tra ${E(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"}: ${E(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 O_(){return{localeError:E_()}}const C_=()=>{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=W(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?`無効な入力: ${K(n.values[0])}が期待されました`:`無効な選択: ${E(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?"群":""}: ${E(n.keys,"、")}`;case"invalid_key":return`${n.origin}内の無効なキー`;case"invalid_union":return"無効な入力";case"invalid_element":return`${n.origin}内の無効な値`;default:return"無効な入力"}}};function N_(){return{localeError:C_()}}const A_=()=>{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=W(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?`არასწორი შეყვანა: მოსალოდნელი ${K(n.values[0])}`:`არასწორი ვარიანტი: მოსალოდნელია ერთ-ერთი ${E(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?"ები":"ი"}: ${E(n.keys,", ")}`;case"invalid_key":return`არასწორი გასაღები ${n.origin}-ში`;case"invalid_union":return"არასწორი შეყვანა";case"invalid_element":return`არასწორი მნიშვნელობა ${n.origin}-ში`;default:return"არასწორი შეყვანა"}}};function U_(){return{localeError:A_()}}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:"អារេ (Array)",null:"គ្មានតម្លៃ (null)"};return n=>{switch(n.code){case"invalid_type":{const o=i[n.expected]??n.expected,a=W(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?`ទិន្នន័យបញ្ចូលមិនត្រឹមត្រូវ៖ ត្រូវការ ${K(n.values[0])}`:`ជម្រើសមិនត្រឹមត្រូវ៖ ត្រូវជាមួយក្នុងចំណោម ${E(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`រកឃើញសោមិនស្គាល់៖ ${E(n.keys,", ")}`;case"invalid_key":return`សោមិនត្រឹមត្រូវនៅក្នុង ${n.origin}`;case"invalid_union":return"ទិន្នន័យមិនត្រឹមត្រូវ";case"invalid_element":return`ទិន្នន័យមិនត្រឹមត្រូវនៅក្នុង ${n.origin}`;default:return"ទិន្នន័យមិនត្រឹមត្រូវ"}}};function _m(){return{localeError:R_()}}function L_(){return _m()}const Z_=()=>{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=W(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?`잘못된 입력: 값은 ${K(n.values[0])} 이어야 합니다`:`잘못된 옵션: ${E(n.values,"또는 ")} 중 하나여야 합니다`;case"too_big":{const o=n.inclusive?"이하":"미만",a=o==="미만"?"이어야 합니다":"여야 합니다",s=t(n.origin),c=s?.unit??"요소";return s?`${n.origin??"값"}이 너무 큽니다: ${n.maximum.toString()}${c} ${o}${a}`:`${n.origin??"값"}이 너무 큽니다: ${n.maximum.toString()} ${o}${a}`}case"too_small":{const o=n.inclusive?"이상":"초과",a=o==="이상"?"이어야 합니다":"여야 합니다",s=t(n.origin),c=s?.unit??"요소";return s?`${n.origin??"값"}이 너무 작습니다: ${n.minimum.toString()}${c} ${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`인식할 수 없는 키: ${E(n.keys,", ")}`;case"invalid_key":return`잘못된 키: ${n.origin}`;case"invalid_union":return"잘못된 입력";case"invalid_element":return`잘못된 값: ${n.origin}`;default:return"잘못된 입력"}}};function M_(){return{localeError:Z_()}}const xn=e=>e.charAt(0).toUpperCase()+e.slice(1);function Su(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 F_=()=>{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 c=e[n]??null;return c===null?c:{unit:c.unit[o],verb:c.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=W(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 ${K(n.values[0])}`:`Privalo būti vienas iš ${E(n.values,"|")} pasirinkimų`;case"too_big":{const o=i[n.origin]??n.origin,a=t(n.origin,Su(Number(n.maximum)),n.inclusive??!1,"smaller");if(a?.verb)return`${xn(o??n.origin??"reikšmė")} ${a.verb} ${n.maximum.toString()} ${a.unit??"elementų"}`;const s=n.inclusive?"ne didesnis kaip":"mažesnis kaip";return`${xn(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,Su(Number(n.minimum)),n.inclusive??!1,"bigger");if(a?.verb)return`${xn(o??n.origin??"reikšmė")} ${a.verb} ${n.minimum.toString()} ${a.unit??"elementų"}`;const s=n.inclusive?"ne mažesnis kaip":"didesnis kaip";return`${xn(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"}: ${E(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`${xn(o??n.origin??"reikšmė")} turi klaidingą įvestį`}default:return"Klaidinga įvestis"}}};function q_(){return{localeError:F_()}}const J_=()=>{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=W(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 ${K(n.values[0])}`:`Грешана опција: се очекува една ${E(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?"Непрепознаени клучеви":"Непрепознаен клуч"}: ${E(n.keys,", ")}`;case"invalid_key":return`Грешен клуч во ${n.origin}`;case"invalid_union":return"Грешен внес";case"invalid_element":return`Грешна вредност во ${n.origin}`;default:return"Грешен внес"}}};function H_(){return{localeError:J_()}}const B_=()=>{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=W(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 ${K(n.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${E(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: ${E(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 V_(){return{localeError:B_()}}const K_=()=>{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=W(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 ${K(n.values[0])}`:`Ongeldige optie: verwacht één van ${E(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":""}: ${E(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 W_(){return{localeError:K_()}}const G_=()=>{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=W(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 ${K(n.values[0])}`:`Ugyldig valg: forventet en av ${E(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"}: ${E(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 Y_(){return{localeError:G_()}}const X_=()=>{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=W(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 ${K(n.values[0])}`:`Fâsit tercih: mûteberler ${E(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":""}: ${E(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 Q_(){return{localeError:X_()}}const ey=()=>{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=W(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?`ناسم ورودي: باید ${K(n.values[0])} وای`:`ناسم انتخاب: باید یو له ${E(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?"کلیډونه":"کلیډ"}: ${E(n.keys,", ")}`;case"invalid_key":return`ناسم کلیډ په ${n.origin} کې`;case"invalid_union":return"ناسمه ورودي";case"invalid_element":return`ناسم عنصر په ${n.origin} کې`;default:return"ناسمه ورودي"}}};function ty(){return{localeError:ey()}}const ny=()=>{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=W(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 ${K(n.values[0])}`:`Nieprawidłowa opcja: oczekiwano jednej z wartości ${E(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":""}: ${E(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 ry(){return{localeError:ny()}}const oy=()=>{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=W(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 ${K(n.values[0])}`:`Opção inválida: esperada uma das ${E(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":""}: ${E(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 iy(){return{localeError:oy()}}const ay=()=>{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=W(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 ${K(n.values[0])}`:`Opțiune invalidă: așteptat una dintre ${E(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: ${E(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 sy(){return{localeError:ay()}}function Iu(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 cy=()=>{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=W(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?`Неверный ввод: ожидалось ${K(n.values[0])}`:`Неверный вариант: ожидалось одно из ${E(n.values,"|")}`;case"too_big":{const o=n.inclusive?"<=":"<",a=t(n.origin);if(a){const s=Number(n.maximum),c=Iu(s,a.unit.one,a.unit.few,a.unit.many);return`Слишком большое значение: ожидалось, что ${n.origin??"значение"} будет иметь ${o}${n.maximum.toString()} ${c}`}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),c=Iu(s,a.unit.one,a.unit.few,a.unit.many);return`Слишком маленькое значение: ожидалось, что ${n.origin} будет иметь ${o}${n.minimum.toString()} ${c}`}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?"и":""}: ${E(n.keys,", ")}`;case"invalid_key":return`Неверный ключ в ${n.origin}`;case"invalid_union":return"Неверные входные данные";case"invalid_element":return`Неверное значение в ${n.origin}`;default:return"Неверные входные данные"}}};function ly(){return{localeError:cy()}}const uy=()=>{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=W(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 ${K(n.values[0])}`:`Neveljavna možnost: pričakovano eno izmed ${E(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č"}: ${E(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 dy(){return{localeError:uy()}}const py=()=>{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=W(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 ${K(n.values[0])}`:`Ogiltigt val: förväntade en av ${E(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"}: ${E(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 fy(){return{localeError:py()}}const my=()=>{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=W(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?`தவறான உள்ளீடு: எதிர்பார்க்கப்பட்டது ${K(n.values[0])}`:`தவறான விருப்பம்: எதிர்பார்க்கப்பட்டது ${E(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?"கள்":""}: ${E(n.keys,", ")}`;case"invalid_key":return`${n.origin} இல் தவறான விசை`;case"invalid_union":return"தவறான உள்ளீடு";case"invalid_element":return`${n.origin} இல் தவறான மதிப்பு`;default:return"தவறான உள்ளீடு"}}};function hy(){return{localeError:my()}}const gy=()=>{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=W(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?`ค่าไม่ถูกต้อง: ควรเป็น ${K(n.values[0])}`:`ตัวเลือกไม่ถูกต้อง: ควรเป็นหนึ่งใน ${E(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`พบคีย์ที่ไม่รู้จัก: ${E(n.keys,", ")}`;case"invalid_key":return`คีย์ไม่ถูกต้องใน ${n.origin}`;case"invalid_union":return"ข้อมูลไม่ถูกต้อง: ไม่ตรงกับรูปแบบยูเนียนที่กำหนดไว้";case"invalid_element":return`ข้อมูลไม่ถูกต้องใน ${n.origin}`;default:return"ข้อมูลไม่ถูกต้อง"}}};function vy(){return{localeError:gy()}}const by=()=>{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=W(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 ${K(n.values[0])}`:`Geçersiz seçenek: aşağıdakilerden biri olmalı: ${E(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":""}: ${E(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 _y(){return{localeError:by()}}const yy=()=>{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=W(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?`Неправильні вхідні дані: очікується ${K(n.values[0])}`:`Неправильна опція: очікується одне з ${E(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?"і":""}: ${E(n.keys,", ")}`;case"invalid_key":return`Неправильний ключ у ${n.origin}`;case"invalid_union":return"Неправильні вхідні дані";case"invalid_element":return`Неправильне значення у ${n.origin}`;default:return"Неправильні вхідні дані"}}};function ym(){return{localeError:yy()}}function ky(){return ym()}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:"یو آر ایل",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=W(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?`غلط ان پٹ: ${K(n.values[0])} متوقع تھا`:`غلط آپشن: ${E(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?"ز":""}: ${E(n.keys,"، ")}`;case"invalid_key":return`${n.origin} میں غلط کی`;case"invalid_union":return"غلط ان پٹ";case"invalid_element":return`${n.origin} میں غلط ویلیو`;default:return"غلط ان پٹ"}}};function xy(){return{localeError:$y()}}const wy=()=>{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=W(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 ${K(n.values[0])}`:`Noto‘g‘ri variant: quyidagilardan biri kutilgan ${E(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":""}: ${E(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 Sy(){return{localeError:wy()}}const Iy=()=>{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=W(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 ${K(n.values[0])}`:`Tùy chọn không hợp lệ: mong đợi một trong các giá trị ${E(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: ${E(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 zy(){return{localeError:Iy()}}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:"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=W(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?`无效输入:期望 ${K(n.values[0])}`:`无效选项:期望以下之一 ${E(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): ${E(n.keys,", ")}`;case"invalid_key":return`${n.origin} 中的键(key)无效`;case"invalid_union":return"无效输入";case"invalid_element":return`${n.origin} 中包含无效值(value)`;default:return"无效输入"}}};function Py(){return{localeError:Ty()}}const jy=()=>{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=W(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?`無效的輸入值:預期為 ${K(n.values[0])}`:`無效的選項:預期為以下其中之一 ${E(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?"們":""}:${E(n.keys,"、")}`;case"invalid_key":return`${n.origin} 中有無效的鍵值`;case"invalid_union":return"無效的輸入值";case"invalid_element":return`${n.origin} 中有無效的值`;default:return"無效的輸入值"}}};function Dy(){return{localeError:jy()}}const Ey=()=>{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=W(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 ${K(n.values[0])}`:`Àṣàyàn aṣìṣe: yan ọ̀kan lára ${E(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ọ̀: ${E(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 Oy(){return{localeError:Ey()}}const ps=Object.freeze(Object.defineProperty({__proto__:null,ar:Jb,az:Bb,be:Kb,bg:Gb,ca:Xb,cs:e_,da:n_,de:o_,el:a_,en:bm,eo:l_,es:d_,fa:f_,fi:h_,fr:v_,frCA:__,he:k_,hr:x_,hu:S_,hy:z_,id:P_,is:D_,it:O_,ja:N_,ka:U_,kh:L_,km:_m,ko:M_,lt:q_,mk:H_,ms:V_,nl:W_,no:Y_,ota:Q_,pl:ry,ps:ty,pt:iy,ro:sy,ru:ly,sl:dy,sv:fy,ta:hy,th:vy,tr:_y,ua:ky,uk:ym,ur:xy,uz:Sy,vi:zy,yo:Oy,zhCN:Py,zhTW:Dy},Symbol.toStringTag,{value:"Module"}));var zu;const fs=Symbol("ZodOutput"),ms=Symbol("ZodInput");class km{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 Ho(){return new km}(zu=globalThis).__zod_globalRegistry??(zu.__zod_globalRegistry=Ho());const Ve=globalThis.__zod_globalRegistry;function $m(e,t){return new e({type:"string",...j(t)})}function xm(e,t){return new e({type:"string",coerce:!0,...j(t)})}function hs(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...j(t)})}function _o(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...j(t)})}function gs(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...j(t)})}function vs(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...j(t)})}function bs(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...j(t)})}function _s(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...j(t)})}function Bo(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...j(t)})}function ys(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...j(t)})}function ks(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...j(t)})}function $s(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...j(t)})}function xs(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...j(t)})}function ws(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...j(t)})}function Ss(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...j(t)})}function Is(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...j(t)})}function zs(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...j(t)})}function Ts(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...j(t)})}function wm(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...j(t)})}function Ps(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...j(t)})}function js(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...j(t)})}function Ds(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...j(t)})}function Es(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...j(t)})}function Os(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...j(t)})}function Cs(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...j(t)})}const Ns={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function Sm(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...j(t)})}function Im(e,t){return new e({type:"string",format:"date",check:"string_format",...j(t)})}function zm(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...j(t)})}function Tm(e,t){return new e({type:"string",format:"duration",check:"string_format",...j(t)})}function Pm(e,t){return new e({type:"number",checks:[],...j(t)})}function jm(e,t){return new e({type:"number",coerce:!0,checks:[],...j(t)})}function Dm(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...j(t)})}function Em(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...j(t)})}function Om(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...j(t)})}function Cm(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...j(t)})}function Nm(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...j(t)})}function Am(e,t){return new e({type:"boolean",...j(t)})}function Um(e,t){return new e({type:"boolean",coerce:!0,...j(t)})}function Rm(e,t){return new e({type:"bigint",...j(t)})}function Lm(e,t){return new e({type:"bigint",coerce:!0,...j(t)})}function Zm(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...j(t)})}function Mm(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...j(t)})}function Fm(e,t){return new e({type:"symbol",...j(t)})}function qm(e,t){return new e({type:"undefined",...j(t)})}function Jm(e,t){return new e({type:"null",...j(t)})}function Hm(e){return new e({type:"any"})}function Bm(e){return new e({type:"unknown"})}function Vm(e,t){return new e({type:"never",...j(t)})}function Km(e,t){return new e({type:"void",...j(t)})}function Wm(e,t){return new e({type:"date",...j(t)})}function Gm(e,t){return new e({type:"date",coerce:!0,...j(t)})}function Ym(e,t){return new e({type:"nan",...j(t)})}function gt(e,t){return new ns({check:"less_than",...j(t),value:e,inclusive:!1})}function Ke(e,t){return new ns({check:"less_than",...j(t),value:e,inclusive:!0})}function vt(e,t){return new rs({check:"greater_than",...j(t),value:e,inclusive:!1})}function Je(e,t){return new rs({check:"greater_than",...j(t),value:e,inclusive:!0})}function Vo(e){return vt(0,e)}function Ko(e){return gt(0,e)}function Wo(e){return Ke(0,e)}function Go(e){return Je(0,e)}function Ct(e,t){return new Rp({check:"multiple_of",...j(t),value:e})}function Mt(e,t){return new Mp({check:"max_size",...j(t),maximum:e})}function bt(e,t){return new Fp({check:"min_size",...j(t),minimum:e})}function cn(e,t){return new qp({check:"size_equals",...j(t),size:e})}function ln(e,t){return new Jp({check:"max_length",...j(t),maximum:e})}function $t(e,t){return new Hp({check:"min_length",...j(t),minimum:e})}function un(e,t){return new Bp({check:"length_equals",...j(t),length:e})}function Xn(e,t){return new Vp({check:"string_format",format:"regex",...j(t),pattern:e})}function Qn(e){return new Kp({check:"string_format",format:"lowercase",...j(e)})}function er(e){return new Wp({check:"string_format",format:"uppercase",...j(e)})}function tr(e,t){return new Gp({check:"string_format",format:"includes",...j(t),includes:e})}function nr(e,t){return new Yp({check:"string_format",format:"starts_with",...j(t),prefix:e})}function rr(e,t){return new Xp({check:"string_format",format:"ends_with",...j(t),suffix:e})}function Yo(e,t,r){return new Qp({check:"property",property:e,schema:t,...j(r)})}function or(e,t){return new ef({check:"mime_type",mime:e,...j(t)})}function pt(e){return new tf({check:"overwrite",tx:e})}function ir(e){return pt(t=>t.normalize(e))}function ar(){return pt(e=>e.trim())}function sr(){return pt(e=>e.toLowerCase())}function cr(){return pt(e=>e.toUpperCase())}function lr(){return pt(e=>Rd(e))}function Xm(e,t,r){return new e({type:"array",element:t,...j(r)})}function Cy(e,t,r){return new e({type:"union",options:t,...j(r)})}function Ny(e,t,r){return new e({type:"union",options:t,inclusive:!1,...j(r)})}function Ay(e,t,r,i){return new e({type:"union",options:r,discriminator:t,...j(i)})}function Uy(e,t,r){return new e({type:"intersection",left:t,right:r})}function Ry(e,t,r,i){const n=r instanceof re,o=n?i:r,a=n?r:null;return new e({type:"tuple",items:t,rest:a,...j(o)})}function Ly(e,t,r,i){return new e({type:"record",keyType:t,valueType:r,...j(i)})}function Zy(e,t,r,i){return new e({type:"map",keyType:t,valueType:r,...j(i)})}function My(e,t,r){return new e({type:"set",valueType:t,...j(r)})}function Fy(e,t,r){const i=Array.isArray(t)?Object.fromEntries(t.map(n=>[n,n])):t;return new e({type:"enum",entries:i,...j(r)})}function qy(e,t,r){return new e({type:"enum",entries:t,...j(r)})}function Jy(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],...j(r)})}function Qm(e,t){return new e({type:"file",...j(t)})}function Hy(e,t){return new e({type:"transform",transform:t})}function By(e,t){return new e({type:"optional",innerType:t})}function Vy(e,t){return new e({type:"nullable",innerType:t})}function Ky(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return typeof r=="function"?r():Ro(r)}})}function Wy(e,t,r){return new e({type:"nonoptional",innerType:t,...j(r)})}function Gy(e,t){return new e({type:"success",innerType:t})}function Yy(e,t,r){return new e({type:"catch",innerType:t,catchValue:typeof r=="function"?r:()=>r})}function Xy(e,t,r){return new e({type:"pipe",in:t,out:r})}function Qy(e,t){return new e({type:"readonly",innerType:t})}function e0(e,t,r){return new e({type:"template_literal",parts:t,...j(r)})}function t0(e,t){return new e({type:"lazy",getter:t})}function n0(e,t){return new e({type:"promise",innerType:t})}function eh(e,t,r){const i=j(r);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:t,...i})}function th(e,t,r){return new e({type:"custom",check:"custom",fn:t,...j(r)})}function nh(e,t){const r=rh(i=>(i.addIssue=n=>{if(typeof n=="string")i.issues.push(Wt(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(Wt(o))}},e(i.value,i)),t);return r}function rh(e,t){const r=new Ie({check:"custom",...j(t)});return r._zod.check=e,r}function oh(e){const t=new Ie({check:"describe"});return t._zod.onattach=[r=>{const i=Ve.get(r)??{};Ve.add(r,{...i,description:e})}],t._zod.check=()=>{},t}function ih(e){const t=new Ie({check:"meta"});return t._zod.onattach=[r=>{const i=Ve.get(r)??{};Ve.add(r,{...i,...e})}],t._zod.check=()=>{},t}function ah(e,t){const r=j(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(m=>typeof m=="string"?m.toLowerCase():m),n=n.map(m=>typeof m=="string"?m.toLowerCase():m));const o=new Set(i),a=new Set(n),s=e.Codec??ds,c=e.Boolean??as,l=e.String??Yn,d=new l({type:"string",error:r.error}),f=new c({type:"boolean",error:r.error}),p=new s({type:"pipe",in:d,out:f,transform:((m,h)=>{let _=m;return r.case!=="sensitive"&&(_=_.toLowerCase()),o.has(_)?!0:a.has(_)?!1:(h.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...a],input:h.value,inst:p,continue:!1}),{})}),reverseTransform:((m,h)=>m===!0?i[0]||"true":n[0]||"false"),error:r.error});return p}function ur(e,t,r,i={}){const n=j(i),o={...j(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 Yt(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??Ve,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function ye(e,t,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 p=a.schema,m=t.processors[n.type];if(!m)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${n.type}`);m(e,t,p,d)}const f=e._zod.parent;f&&(a.ref||(a.ref=f),ye(f,t,d),t.seen.get(f).isParent=!0)}const c=t.metadataRegistry.get(e);return c&&Object.assign(a.schema,c),t.io==="input"&&qe(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 Xt(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 c=i.get(s);if(c&&c!==a[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(s,a[0])}}const n=a=>{const s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const f=e.external.registry.get(a[0])?.id,p=e.external.uri??(h=>h);if(f)return{ref:p(f)};const m=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=m,{defId:m,ref:`${p("__shared")}#/${s}/${m}`}}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:c,defId:l}=n(a);s.def={...s.schema},l&&(s.defId=l);const d=s.schema;for(const f in d)delete d[f];d.$ref=c};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>
70
70
 
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 Qt(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 c=e.seen.get(s);if(c.ref===null)return;const l=c.def??c.schema,d={...l},f=c.ref;if(c.ref=null,f){i(f);const m=e.seen.get(f),h=m.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===f)for(const g in l)g==="$ref"||g==="allOf"||g in d||delete l[g];if(h.$ref&&m.def)for(const g in l)g==="$ref"||g==="allOf"||g in m.def&&JSON.stringify(l[g])===JSON.stringify(m.def[g])&&delete l[g]}const p=s._zod.parent;if(p&&p!==f){i(p);const m=e.seen.get(p);if(m?.schema.$ref&&(l.$ref=m.schema.$ref,m.def))for(const h in l)h==="$ref"||h==="allOf"||h in m.def&&JSON.stringify(l[h])===JSON.stringify(m.def[h])&&delete l[h]}e.override({zodSchema:s,jsonSchema:l,path:c.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 c=s[1];c.def&&c.defId&&(c.def.id===c.defId&&delete c.def.id,a[c.defId]=c.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:En(t,"input",e.processors),output:En(t,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}function Me(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 Me(i.element,r);if(i.type==="set")return Me(i.valueType,r);if(i.type==="lazy")return Me(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 Me(i.innerType,r);if(i.type==="intersection")return Me(i.left,r)||Me(i.right,r);if(i.type==="record"||i.type==="map")return Me(i.keyType,r)||Me(i.valueType,r);if(i.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:Me(i.in,r)||Me(i.out,r);if(i.type==="object"){for(const n in i.shape)if(Me(i.shape[n],r))return!0;return!1}if(i.type==="union"){for(const n of i.options)if(Me(n,r))return!0;return!1}if(i.type==="tuple"){for(const n of i.items)if(Me(n,r))return!0;return!!(i.rest&&Me(i.rest,r))}return!1}const sh=(e,t={})=>r=>{const i=Yt({...r,processors:t});return ye(e,i),Xt(i,e),Qt(i,e)},En=(e,t,r={})=>i=>{const{libraryOptions:n,target:o}=i??{},a=Yt({...n??{},target:o,io:t,processors:r});return ye(e,a),Xt(a,e),Qt(a,e)},r0={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},ch=(e,t,r,i)=>{const n=r;n.type="string";const{minimum:o,maximum:a,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof o=="number"&&(n.minLength=o),typeof a=="number"&&(n.maxLength=a),s&&(n.format=r0[s]??s,n.format===""&&delete n.format,s==="time"&&delete n.format),l&&(n.contentEncoding=l),c&&c.size>0){const d=[...c];d.length===1?n.pattern=d[0].source:d.length>1&&(n.allOf=[...d.map(f=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:f.source}))])}},lh=(e,t,r,i)=>{const n=r,{minimum:o,maximum:a,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:d}=e._zod.bag;typeof s=="string"&&s.includes("int")?n.type="integer":n.type="number";const f=typeof d=="number"&&d>=(o??Number.NEGATIVE_INFINITY),p=typeof l=="number"&&l<=(a??Number.POSITIVE_INFINITY),m=t.target==="draft-04"||t.target==="openapi-3.0";f?m?(n.minimum=d,n.exclusiveMinimum=!0):n.exclusiveMinimum=d:typeof o=="number"&&(n.minimum=o),p?m?(n.maximum=l,n.exclusiveMaximum=!0):n.exclusiveMaximum=l:typeof a=="number"&&(n.maximum=a),typeof c=="number"&&(n.multipleOf=c)},uh=(e,t,r,i)=>{r.type="boolean"},dh=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},ph=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},fh=(e,t,r,i)=>{t.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},mh=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},hh=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},gh=(e,t,r,i)=>{r.not={}},vh=(e,t,r,i)=>{},bh=(e,t,r,i)=>{},_h=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},yh=(e,t,r,i)=>{const n=e._zod.def,o=Ua(n.entries);o.every(a=>typeof a=="number")&&(r.type="number"),o.every(a=>typeof a=="string")&&(r.type="string"),r.enum=o},kh=(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},$h=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},xh=(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},wh=(e,t,r,i)=>{const n=r,o={type:"string",format:"binary",contentEncoding:"binary"},{minimum:a,maximum:s,mime:c}=e._zod.bag;a!==void 0&&(o.minLength=a),s!==void 0&&(o.maxLength=s),c?c.length===1?(o.contentMediaType=c[0],Object.assign(n,o)):(Object.assign(n,o),n.anyOf=c.map(l=>({contentMediaType:l}))):Object.assign(n,o)},Sh=(e,t,r,i)=>{r.type="boolean"},Ih=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},zh=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},Th=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},Ph=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},jh=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},Dh=(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=ye(o.element,t,{...i,path:[...i.path,"items"]})},Eh=(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]=ye(a[l],t,{...i,path:[...i.path,"properties",l]});const s=new Set(Object.keys(a)),c=new Set([...s].filter(l=>{const d=o.shape[l]._zod;return t.io==="input"?d.optin===void 0:d.optout===void 0}));c.size>0&&(n.required=Array.from(c)),o.catchall?._zod.def.type==="never"?n.additionalProperties=!1:o.catchall?o.catchall&&(n.additionalProperties=ye(o.catchall,t,{...i,path:[...i.path,"additionalProperties"]})):t.io==="output"&&(n.additionalProperties=!1)},Ns=(e,t,r,i)=>{const n=e._zod.def,o=n.inclusive===!1,a=n.options.map((s,c)=>ye(s,t,{...i,path:[...i.path,o?"oneOf":"anyOf",c]}));o?r.oneOf=a:r.anyOf=a},Oh=(e,t,r,i)=>{const n=e._zod.def,o=ye(n.left,t,{...i,path:[...i.path,"allOf",0]}),a=ye(n.right,t,{...i,path:[...i.path,"allOf",1]}),s=l=>"allOf"in l&&Object.keys(l).length===1,c=[...s(o)?o.allOf:[o],...s(a)?a.allOf:[a]];r.allOf=c},Ch=(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",c=o.items.map((p,m)=>ye(p,t,{...i,path:[...i.path,a,m]})),l=o.rest?ye(o.rest,t,{...i,path:[...i.path,s,...t.target==="openapi-3.0"?[o.items.length]:[]]}):null;t.target==="draft-2020-12"?(n.prefixItems=c,l&&(n.items=l)):t.target==="openapi-3.0"?(n.items={anyOf:c},l&&n.items.anyOf.push(l),n.minItems=c.length,l||(n.maxItems=c.length)):(n.items=c,l&&(n.additionalItems=l));const{minimum:d,maximum:f}=e._zod.bag;typeof d=="number"&&(n.minItems=d),typeof f=="number"&&(n.maxItems=f)},Nh=(e,t,r,i)=>{const n=r,o=e._zod.def;n.type="object";const a=o.keyType,c=a._zod.bag?.patterns;if(o.mode==="loose"&&c&&c.size>0){const d=ye(o.valueType,t,{...i,path:[...i.path,"patternProperties","*"]});n.patternProperties={};for(const f of c)n.patternProperties[f.source]=d}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(n.propertyNames=ye(o.keyType,t,{...i,path:[...i.path,"propertyNames"]})),n.additionalProperties=ye(o.valueType,t,{...i,path:[...i.path,"additionalProperties"]});const l=a._zod.values;if(l){const d=[...l].filter(f=>typeof f=="string"||typeof f=="number");d.length>0&&(n.required=d)}},Ah=(e,t,r,i)=>{const n=e._zod.def,o=ye(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"}]},Uh=(e,t,r,i)=>{const n=e._zod.def;ye(n.innerType,t,i);const o=t.seen.get(e);o.ref=n.innerType},Rh=(e,t,r,i)=>{const n=e._zod.def;ye(n.innerType,t,i);const o=t.seen.get(e);o.ref=n.innerType,r.default=JSON.parse(JSON.stringify(n.defaultValue))},Lh=(e,t,r,i)=>{const n=e._zod.def;ye(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)))},Zh=(e,t,r,i)=>{const n=e._zod.def;ye(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},Mh=(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;ye(a,t,i);const s=t.seen.get(e);s.ref=a},Fh=(e,t,r,i)=>{const n=e._zod.def;ye(n.innerType,t,i);const o=t.seen.get(e);o.ref=n.innerType,r.readOnly=!0},qh=(e,t,r,i)=>{const n=e._zod.def;ye(n.innerType,t,i);const o=t.seen.get(e);o.ref=n.innerType},As=(e,t,r,i)=>{const n=e._zod.def;ye(n.innerType,t,i);const o=t.seen.get(e);o.ref=n.innerType},Jh=(e,t,r,i)=>{const n=e._zod.innerType;ye(n,t,i);const o=t.seen.get(e);o.ref=n},Sa={string:ch,number:lh,boolean:uh,bigint:dh,symbol:ph,null:fh,undefined:mh,void:hh,never:gh,any:vh,unknown:bh,date:_h,enum:yh,literal:kh,nan:$h,template_literal:xh,file:wh,success:Sh,custom:Ih,function:zh,transform:Th,map:Ph,set:jh,array:Dh,object:Eh,union:Ns,intersection:Oh,tuple:Ch,record:Nh,nullable:Ah,nonoptional:Uh,default:Rh,prefault:Lh,catch:Zh,pipe:Mh,readonly:Fh,promise:qh,optional:As,lazy:Jh};function Us(e,t){if("_idmap"in e){const i=e,n=Yt({...t,processors:Sa}),o={};for(const c of i._idmap.entries()){const[l,d]=c;ye(d,n)}const a={},s={registry:i,uri:t?.uri,defs:o};n.external=s;for(const c of i._idmap.entries()){const[l,d]=c;Xt(n,d),a[l]=Qt(n,d)}if(Object.keys(o).length>0){const c=n.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[c]:o}}return{schemas:a}}const r=Yt({...t,processors:Sa});return ye(e,r),Xt(r,e),Qt(r,e)}class o0{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=Yt({processors:Sa,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 ye(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)),Xt(this.ctx,t);const i=Qt(this.ctx,t),{"~standard":n,...o}=i;return o}}const i0=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Hh=Object.freeze(Object.defineProperty({__proto__:null,$ZodAny:Uf,$ZodArray:Ff,$ZodAsyncError:jt,$ZodBase64:Sf,$ZodBase64URL:zf,$ZodBigInt:as,$ZodBigIntFormat:Of,$ZodBoolean:is,$ZodCIDRv4:xf,$ZodCIDRv6:wf,$ZodCUID:df,$ZodCUID2:pf,$ZodCatch:lm,$ZodCheck:Se,$ZodCheckBigIntFormat:Zp,$ZodCheckEndsWith:Xp,$ZodCheckGreaterThan:ns,$ZodCheckIncludes:Gp,$ZodCheckLengthEquals:Bp,$ZodCheckLessThan:ts,$ZodCheckLowerCase:Kp,$ZodCheckMaxLength:Jp,$ZodCheckMaxSize:Mp,$ZodCheckMimeType:ef,$ZodCheckMinLength:Hp,$ZodCheckMinSize:Fp,$ZodCheckMultipleOf:Rp,$ZodCheckNumberFormat:Lp,$ZodCheckOverwrite:tf,$ZodCheckProperty:Qp,$ZodCheckRegex:Vp,$ZodCheckSizeEquals:qp,$ZodCheckStartsWith:Yp,$ZodCheckStringFormat:Wn,$ZodCheckUpperCase:Wp,$ZodCodec:us,$ZodCustom:vm,$ZodCustomStringFormat:Df,$ZodDate:Mf,$ZodDefault:im,$ZodDiscriminatedUnion:Kf,$ZodE164:Tf,$ZodEmail:sf,$ZodEmoji:lf,$ZodEncodeError:Ao,$ZodEnum:Qf,$ZodError:Za,$ZodExactOptional:rm,$ZodFile:tm,$ZodFunction:mm,$ZodGUID:of,$ZodIPv4:yf,$ZodIPv6:kf,$ZodISODate:vf,$ZodISODateTime:gf,$ZodISODuration:_f,$ZodISOTime:bf,$ZodIntersection:Wf,$ZodJWT:jf,$ZodKSUID:hf,$ZodLazy:gm,$ZodLiteral:em,$ZodMAC:$f,$ZodMap:Yf,$ZodNaN:um,$ZodNanoID:uf,$ZodNever:Lf,$ZodNonOptional:sm,$ZodNull:Af,$ZodNullable:om,$ZodNumber:os,$ZodNumberFormat:Ef,$ZodObject:Hf,$ZodObjectJIT:Bf,$ZodOptional:cs,$ZodPipe:ls,$ZodPrefault:am,$ZodPreprocess:dm,$ZodPromise:hm,$ZodReadonly:pm,$ZodRealError:We,$ZodRecord:Gf,$ZodRegistry:km,$ZodSet:Xf,$ZodString:Gn,$ZodStringFormat:we,$ZodSuccess:cm,$ZodSymbol:Cf,$ZodTemplateLiteral:fm,$ZodTransform:nm,$ZodTuple:ss,$ZodType:ne,$ZodULID:ff,$ZodURL:cf,$ZodUUID:af,$ZodUndefined:Nf,$ZodUnion:Jo,$ZodUnknown:Rf,$ZodVoid:Zf,$ZodXID:mf,$ZodXor:Vf,$brand:Aa,$constructor:v,$input:fs,$output:ps,Doc:nf,JSONSchema:i0,JSONSchemaGenerator:o0,NEVER:Na,TimePrecision:Cs,_any:Hm,_array:Xm,_base64:js,_base64url:Ds,_bigint:Rm,_boolean:Am,_catch:Yy,_check:rh,_cidrv4:Ts,_cidrv6:Ps,_coercedBigint:Lm,_coercedBoolean:Um,_coercedDate:Gm,_coercedNumber:jm,_coercedString:xm,_cuid:ks,_cuid2:$s,_custom:eh,_date:Wm,_decode:Ha,_decodeAsync:Va,_default:Ky,_discriminatedUnion:Ay,_e164:Es,_email:ms,_emoji:_s,_encode:Ja,_encodeAsync:Ba,_endsWith:nr,_enum:Fy,_file:Qm,_float32:Em,_float64:Om,_gt:vt,_gte:Fe,_guid:bo,_includes:er,_int:Dm,_int32:Cm,_int64:Zm,_intersection:Uy,_ipv4:Is,_ipv6:zs,_isoDate:Im,_isoDateTime:Sm,_isoDuration:Tm,_isoTime:zm,_jwt:Os,_ksuid:Ss,_lazy:t0,_length:un,_literal:Jy,_lowercase:Xn,_lt:gt,_lte:Be,_mac:wm,_map:Zy,_max:Be,_maxLength:ln,_maxSize:Mt,_mime:rr,_min:Fe,_minLength:$t,_minSize:bt,_multipleOf:Ct,_nan:Ym,_nanoid:ys,_nativeEnum:qy,_negative:Ko,_never:Vm,_nonnegative:Go,_nonoptional:Wy,_nonpositive:Wo,_normalize:or,_null:Jm,_nullable:Vy,_number:Pm,_optional:By,_overwrite:dt,_parse:qn,_parseAsync:Jn,_pipe:Xy,_positive:Vo,_promise:n0,_property:Yo,_readonly:Qy,_record:Ly,_refine:th,_regex:Yn,_safeDecode:Wa,_safeDecodeAsync:Ya,_safeEncode:Ka,_safeEncodeAsync:Ga,_safeParse:Hn,_safeParseAsync:Bn,_set:My,_size:cn,_slugify:cr,_startsWith:tr,_string:$m,_stringFormat:lr,_stringbool:ah,_success:Gy,_superRefine:nh,_symbol:Fm,_templateLiteral:e0,_toLowerCase:ar,_toUpperCase:sr,_transform:Hy,_trim:ir,_tuple:Ry,_uint32:Nm,_uint64:Mm,_ulid:xs,_undefined:qm,_union:Cy,_unknown:Bm,_uppercase:Qn,_url:Bo,_uuid:hs,_uuidv4:gs,_uuidv6:vs,_uuidv7:bs,_void:Km,_xid:ws,_xor:Ny,clone:Ke,config:Ee,createStandardJSONSchemaMethod:En,createToJSONSchemaMethod:sh,decode:pb,decodeAsync:mb,describe:oh,encode:db,encodeAsync:fb,extractDefs:Xt,finalize:Qt,flattenError:Mo,formatError:Fo,globalConfig:Dn,globalRegistry:He,initializeContext:Yt,isValidBase64:rs,isValidBase64URL:If,isValidJWT:Pf,locales:ds,meta:ih,parse:$a,parseAsync:xa,prettifyError:Fa,process:ye,regexes:qo,registry:Ho,safeDecode:gb,safeDecodeAsync:bb,safeEncode:hb,safeEncodeAsync:vb,safeParse:qa,safeParseAsync:np,toDotPath:tp,toJSONSchema:Us,treeifyError:Ma,util:La,version:rf},Symbol.toStringTag,{value:"Module"}));function Rs(e){return!!e._zod}function Bh(e,t){return Rs(e)?qa(e,t):e.safeParse(t)}function a0(e){if(!e)return;let t;if(Rs(e)?t=e._zod?.def?.shape:t=e.shape,!!t){if(typeof t=="function")try{return t()}catch{return}return t}}function s0(e){if(Rs(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 c0=Object.freeze(Object.defineProperty({__proto__:null,endsWith:nr,gt:vt,gte:Fe,includes:er,length:un,lowercase:Xn,lt:gt,lte:Be,maxLength:ln,maxSize:Mt,mime:rr,minLength:$t,minSize:bt,multipleOf:Ct,negative:Ko,nonnegative:Go,nonpositive:Wo,normalize:or,overwrite:dt,positive:Vo,property:Yo,regex:Yn,size:cn,slugify:cr,startsWith:tr,toLowerCase:ar,toUpperCase:sr,trim:ir,uppercase:Qn},Symbol.toStringTag,{value:"Module"})),Xo=v("ZodISODateTime",(e,t)=>{gf.init(e,t),ke.init(e,t)});function Ls(e){return Sm(Xo,e)}const Qo=v("ZodISODate",(e,t)=>{vf.init(e,t),ke.init(e,t)});function Vh(e){return Im(Qo,e)}const ei=v("ZodISOTime",(e,t)=>{bf.init(e,t),ke.init(e,t)});function Kh(e){return zm(ei,e)}const ti=v("ZodISODuration",(e,t)=>{_f.init(e,t),ke.init(e,t)});function Wh(e){return Tm(ti,e)}const Zs=Object.freeze(Object.defineProperty({__proto__:null,ZodISODate:Qo,ZodISODateTime:Xo,ZodISODuration:ti,ZodISOTime:ei,date:Vh,datetime:Ls,duration:Wh,time:Kh},Symbol.toStringTag,{value:"Module"})),Gh=(e,t)=>{Za.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>Fo(e,r)},flatten:{value:r=>Mo(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,ho,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,ho,2)}},isEmpty:{get(){return e.issues.length===0}}})},Yh=v("ZodError",Gh),qe=v("ZodError",Gh,{Parent:Error}),Ms=qn(qe),Fs=Jn(qe),qs=Hn(qe),Js=Bn(qe),Hs=Ja(qe),Bs=Ha(qe),Vs=Ba(qe),Ks=Va(qe),Ws=Ka(qe),Gs=Wa(qe),Ys=Ga(qe),Xs=Ya(qe),zu=new WeakMap;function ur(e,t,r){const i=Object.getPrototypeOf(e);let n=zu.get(i);if(n||(n=new Set,zu.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 oe=v("ZodType",(e,t)=>(ne.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:En(e,"input"),output:En(e,"output")}}),e.toJSONSchema=sh(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(r,i)=>Ms(e,r,i,{callee:e.parse}),e.safeParse=(r,i)=>qs(e,r,i),e.parseAsync=async(r,i)=>Fs(e,r,i,{callee:e.parseAsync}),e.safeParseAsync=async(r,i)=>Js(e,r,i),e.spa=e.safeParseAsync,e.encode=(r,i)=>Hs(e,r,i),e.decode=(r,i)=>Bs(e,r,i),e.encodeAsync=async(r,i)=>Vs(e,r,i),e.decodeAsync=async(r,i)=>Ks(e,r,i),e.safeEncode=(r,i)=>Ws(e,r,i),e.safeDecode=(r,i)=>Gs(e,r,i),e.safeEncodeAsync=async(r,i)=>Ys(e,r,i),e.safeDecodeAsync=async(r,i)=>Xs(e,r,i),ur(e,"ZodType",{check(...r){const i=this.def;return this.clone(ut(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 Ke(this,r,i)},brand(){return this},register(r,i){return r.add(this,i),this},refine(r,i){return this.check(Fi(r,i))},superRefine(r,i){return this.check(qi(r,i))},overwrite(r){return this.check(dt(r))},optional(){return xe(this)},exactOptional(){return $i(this)},nullable(){return nn(this)},nullish(){return xe(nn(this))},nonoptional(r){return Ti(this,r)},array(){return X(this)},or(r){return le([this,r])},and(r){return bn(this,r)},transform(r){return Cn(this,Or(r))},default(r){return Si(this,r)},prefault(r){return zi(this,r)},catch(r){return Di(this,r)},pipe(r){return Cn(this,r)},readonly(){return Ni(this)},describe(r){const i=this.clone();return He.add(i,{description:r}),i},meta(...r){if(r.length===0)return He.get(this);const i=this.clone();return He.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 He.get(e)?.description},configurable:!0}),e)),dr=v("_ZodString",(e,t)=>{Gn.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(i,n,o)=>ch(e,i,n);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,ur(e,"_ZodString",{regex(...i){return this.check(Yn(...i))},includes(...i){return this.check(er(...i))},startsWith(...i){return this.check(tr(...i))},endsWith(...i){return this.check(nr(...i))},min(...i){return this.check($t(...i))},max(...i){return this.check(ln(...i))},length(...i){return this.check(un(...i))},nonempty(...i){return this.check($t(1,...i))},lowercase(i){return this.check(Xn(i))},uppercase(i){return this.check(Qn(i))},trim(){return this.check(ir())},normalize(...i){return this.check(or(...i))},toLowerCase(){return this.check(ar())},toUpperCase(){return this.check(sr())},slugify(){return this.check(cr())}})}),dn=v("ZodString",(e,t)=>{Gn.init(e,t),dr.init(e,t),e.email=r=>e.check(ms(pr,r)),e.url=r=>e.check(Bo(pn,r)),e.jwt=r=>e.check(Os(zr,r)),e.emoji=r=>e.check(_s(fr,r)),e.guid=r=>e.check(bo(en,r)),e.uuid=r=>e.check(hs(ot,r)),e.uuidv4=r=>e.check(gs(ot,r)),e.uuidv6=r=>e.check(vs(ot,r)),e.uuidv7=r=>e.check(bs(ot,r)),e.nanoid=r=>e.check(ys(mr,r)),e.guid=r=>e.check(bo(en,r)),e.cuid=r=>e.check(ks(hr,r)),e.cuid2=r=>e.check($s(gr,r)),e.ulid=r=>e.check(xs(vr,r)),e.base64=r=>e.check(js(wr,r)),e.base64url=r=>e.check(Ds(Sr,r)),e.xid=r=>e.check(ws(br,r)),e.ksuid=r=>e.check(Ss(_r,r)),e.ipv4=r=>e.check(Is(yr,r)),e.ipv6=r=>e.check(zs(kr,r)),e.cidrv4=r=>e.check(Ts($r,r)),e.cidrv6=r=>e.check(Ps(xr,r)),e.e164=r=>e.check(Es(Ir,r)),e.datetime=r=>e.check(Ls(r)),e.date=r=>e.check(Vh(r)),e.time=r=>e.check(Kh(r)),e.duration=r=>e.check(Wh(r))});function b(e){return $m(dn,e)}const ke=v("ZodStringFormat",(e,t)=>{we.init(e,t),dr.init(e,t)}),pr=v("ZodEmail",(e,t)=>{sf.init(e,t),ke.init(e,t)});function Qs(e){return ms(pr,e)}const en=v("ZodGUID",(e,t)=>{of.init(e,t),ke.init(e,t)});function ec(e){return bo(en,e)}const ot=v("ZodUUID",(e,t)=>{af.init(e,t),ke.init(e,t)});function tc(e){return hs(ot,e)}function nc(e){return gs(ot,e)}function rc(e){return vs(ot,e)}function oc(e){return bs(ot,e)}const pn=v("ZodURL",(e,t)=>{cf.init(e,t),ke.init(e,t)});function ic(e){return Bo(pn,e)}function ac(e){return Bo(pn,{protocol:Qa,hostname:kp,...j(e)})}const fr=v("ZodEmoji",(e,t)=>{lf.init(e,t),ke.init(e,t)});function sc(e){return _s(fr,e)}const mr=v("ZodNanoID",(e,t)=>{uf.init(e,t),ke.init(e,t)});function cc(e){return ys(mr,e)}const hr=v("ZodCUID",(e,t)=>{df.init(e,t),ke.init(e,t)});function lc(e){return ks(hr,e)}const gr=v("ZodCUID2",(e,t)=>{pf.init(e,t),ke.init(e,t)});function uc(e){return $s(gr,e)}const vr=v("ZodULID",(e,t)=>{ff.init(e,t),ke.init(e,t)});function dc(e){return xs(vr,e)}const br=v("ZodXID",(e,t)=>{mf.init(e,t),ke.init(e,t)});function pc(e){return ws(br,e)}const _r=v("ZodKSUID",(e,t)=>{hf.init(e,t),ke.init(e,t)});function fc(e){return Ss(_r,e)}const yr=v("ZodIPv4",(e,t)=>{yf.init(e,t),ke.init(e,t)});function mc(e){return Is(yr,e)}const ni=v("ZodMAC",(e,t)=>{$f.init(e,t),ke.init(e,t)});function hc(e){return wm(ni,e)}const kr=v("ZodIPv6",(e,t)=>{kf.init(e,t),ke.init(e,t)});function gc(e){return zs(kr,e)}const $r=v("ZodCIDRv4",(e,t)=>{xf.init(e,t),ke.init(e,t)});function vc(e){return Ts($r,e)}const xr=v("ZodCIDRv6",(e,t)=>{wf.init(e,t),ke.init(e,t)});function bc(e){return Ps(xr,e)}const wr=v("ZodBase64",(e,t)=>{Sf.init(e,t),ke.init(e,t)});function _c(e){return js(wr,e)}const Sr=v("ZodBase64URL",(e,t)=>{zf.init(e,t),ke.init(e,t)});function yc(e){return Ds(Sr,e)}const Ir=v("ZodE164",(e,t)=>{Tf.init(e,t),ke.init(e,t)});function kc(e){return Es(Ir,e)}const zr=v("ZodJWT",(e,t)=>{jf.init(e,t),ke.init(e,t)});function $c(e){return Os(zr,e)}const Ft=v("ZodCustomStringFormat",(e,t)=>{Df.init(e,t),ke.init(e,t)});function xc(e,t,r={}){return lr(Ft,e,t,r)}function wc(e){return lr(Ft,"hostname",yp,e)}function Sc(e){return lr(Ft,"hex",Ap,e)}function Ic(e,t){const r=t?.enc??"hex",i=`${e}_${r}`,n=qo[i];if(!n)throw new Error(`Unrecognized hash format: ${i}`);return lr(Ft,i,n,t)}const fn=v("ZodNumber",(e,t)=>{os.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(i,n,o)=>lh(e,i,n),ur(e,"ZodNumber",{gt(i,n){return this.check(vt(i,n))},gte(i,n){return this.check(Fe(i,n))},min(i,n){return this.check(Fe(i,n))},lt(i,n){return this.check(gt(i,n))},lte(i,n){return this.check(Be(i,n))},max(i,n){return this.check(Be(i,n))},int(i){return this.check(On(i))},safe(i){return this.check(On(i))},positive(i){return this.check(vt(0,i))},nonnegative(i){return this.check(Fe(0,i))},negative(i){return this.check(gt(0,i))},nonpositive(i){return this.check(Be(0,i))},multipleOf(i,n){return this.check(Ct(i,n))},step(i,n){return this.check(Ct(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 re(e){return Pm(fn,e)}const It=v("ZodNumberFormat",(e,t)=>{Ef.init(e,t),fn.init(e,t)});function On(e){return Dm(It,e)}function zc(e){return Em(It,e)}function Tc(e){return Om(It,e)}function Pc(e){return Cm(It,e)}function jc(e){return Nm(It,e)}const mn=v("ZodBoolean",(e,t)=>{is.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>uh(e,r,i)});function be(e){return Am(mn,e)}const hn=v("ZodBigInt",(e,t)=>{as.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(i,n,o)=>dh(e,i),e.gte=(i,n)=>e.check(Fe(i,n)),e.min=(i,n)=>e.check(Fe(i,n)),e.gt=(i,n)=>e.check(vt(i,n)),e.gte=(i,n)=>e.check(Fe(i,n)),e.min=(i,n)=>e.check(Fe(i,n)),e.lt=(i,n)=>e.check(gt(i,n)),e.lte=(i,n)=>e.check(Be(i,n)),e.max=(i,n)=>e.check(Be(i,n)),e.positive=i=>e.check(vt(BigInt(0),i)),e.negative=i=>e.check(gt(BigInt(0),i)),e.nonpositive=i=>e.check(Be(BigInt(0),i)),e.nonnegative=i=>e.check(Fe(BigInt(0),i)),e.multipleOf=(i,n)=>e.check(Ct(i,n));const r=e._zod.bag;e.minValue=r.minimum??null,e.maxValue=r.maximum??null,e.format=r.format??null});function Dc(e){return Rm(hn,e)}const Tr=v("ZodBigIntFormat",(e,t)=>{Of.init(e,t),hn.init(e,t)});function Ec(e){return Zm(Tr,e)}function Oc(e){return Mm(Tr,e)}const ri=v("ZodSymbol",(e,t)=>{Cf.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>ph(e,r)});function Cc(e){return Fm(ri,e)}const oi=v("ZodUndefined",(e,t)=>{Nf.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>mh(e,r)});function tn(e){return qm(oi,e)}const ii=v("ZodNull",(e,t)=>{Af.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>fh(e,r,i)});function Pr(e){return Jm(ii,e)}const ai=v("ZodAny",(e,t)=>{Uf.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>vh()});function jr(){return Hm(ai)}const si=v("ZodUnknown",(e,t)=>{Rf.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>bh()});function ge(){return Bm(si)}const ci=v("ZodNever",(e,t)=>{Lf.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>gh(e,r,i)});function Nt(e){return Vm(ci,e)}const li=v("ZodVoid",(e,t)=>{Zf.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>hh(e,r)});function Nc(e){return Km(li,e)}const Dr=v("ZodDate",(e,t)=>{Mf.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(i,n,o)=>_h(e,i),e.min=(i,n)=>e.check(Fe(i,n)),e.max=(i,n)=>e.check(Be(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 Ac(e){return Wm(Dr,e)}const ui=v("ZodArray",(e,t)=>{Ff.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Dh(e,r,i,n),e.element=t.element,ur(e,"ZodArray",{min(r,i){return this.check($t(r,i))},nonempty(r){return this.check($t(1,r))},max(r,i){return this.check(ln(r,i))},length(r,i){return this.check(un(r,i))},unwrap(){return this.element}})});function X(e,t){return Xm(ui,e,t)}function Uc(e){const t=e._zod.def.shape;return Ue(Object.keys(t))}const gn=v("ZodObject",(e,t)=>{Bf.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Eh(e,r,i,n),ce(e,"shape",()=>t.shape),ur(e,"ZodObject",{keyof(){return Ue(Object.keys(this._zod.def.shape))},catchall(r){return this.clone({...this._zod.def,catchall:r})},passthrough(){return this.clone({...this._zod.def,catchall:ge()})},loose(){return this.clone({...this._zod.def,catchall:ge()})},strict(){return this.clone({...this._zod.def,catchall:Nt()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(r){return Bd(this,r)},safeExtend(r){return Vd(this,r)},merge(r){return Kd(this,r)},pick(r){return Jd(this,r)},omit(r){return Hd(this,r)},partial(...r){return Wd(Cr,this,r[0])},required(...r){return Gd(Nr,this,r[0])}})});function w(e,t){const r={type:"object",shape:e??{},...j(t)};return new gn(r)}function Rc(e,t){return new gn({type:"object",shape:e,catchall:Nt(),...j(t)})}function Ae(e,t){return new gn({type:"object",shape:e,catchall:ge(),...j(t)})}const vn=v("ZodUnion",(e,t)=>{Jo.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ns(e,r,i,n),e.options=t.options});function le(e,t){return new vn({type:"union",options:e,...j(t)})}const di=v("ZodXor",(e,t)=>{vn.init(e,t),Vf.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ns(e,r,i,n),e.options=t.options});function Lc(e,t){return new di({type:"union",options:e,inclusive:!1,...j(t)})}const pi=v("ZodDiscriminatedUnion",(e,t)=>{vn.init(e,t),Kf.init(e,t)});function Er(e,t,r){return new pi({type:"union",options:t,discriminator:e,...j(r)})}const fi=v("ZodIntersection",(e,t)=>{Wf.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Oh(e,r,i,n)});function bn(e,t){return new fi({type:"intersection",left:e,right:t})}const mi=v("ZodTuple",(e,t)=>{ss.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ch(e,r,i,n),e.rest=r=>e.clone({...e._zod.def,rest:r})});function hi(e,t,r){const i=t instanceof ne,n=i?r:t,o=i?t:null;return new mi({type:"tuple",items:e,rest:o,...j(n)})}const At=v("ZodRecord",(e,t)=>{Gf.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Nh(e,r,i,n),e.keyType=t.keyType,e.valueType=t.valueType});function ue(e,t,r){return!t||!t._zod?new At({type:"record",keyType:b(),valueType:e,...j(t)}):new At({type:"record",keyType:e,valueType:t,...j(r)})}function Zc(e,t,r){const i=Ke(e);return i._zod.values=void 0,new At({type:"record",keyType:i,valueType:t,...j(r)})}function Mc(e,t,r){return new At({type:"record",keyType:e,valueType:t,mode:"loose",...j(r)})}const gi=v("ZodMap",(e,t)=>{Yf.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ph(e,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...r)=>e.check(bt(...r)),e.nonempty=r=>e.check(bt(1,r)),e.max=(...r)=>e.check(Mt(...r)),e.size=(...r)=>e.check(cn(...r))});function Fc(e,t,r){return new gi({type:"map",keyType:e,valueType:t,...j(r)})}const vi=v("ZodSet",(e,t)=>{Xf.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>jh(e,r),e.min=(...r)=>e.check(bt(...r)),e.nonempty=r=>e.check(bt(1,r)),e.max=(...r)=>e.check(Mt(...r)),e.size=(...r)=>e.check(cn(...r))});function qc(e,t){return new vi({type:"set",valueType:e,...j(t)})}const Ut=v("ZodEnum",(e,t)=>{Qf.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(i,n,o)=>yh(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 Ut({...t,checks:[],...j(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 Ut({...t,checks:[],...j(n),entries:o})}});function Ue(e,t){const r=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new Ut({type:"enum",entries:r,...j(t)})}function Jc(e,t){return new Ut({type:"enum",entries:e,...j(t)})}const bi=v("ZodLiteral",(e,t)=>{em.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>kh(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 y(e,t){return new bi({type:"literal",values:Array.isArray(e)?e:[e],...j(t)})}const _i=v("ZodFile",(e,t)=>{tm.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>wh(e,r,i),e.min=(r,i)=>e.check(bt(r,i)),e.max=(r,i)=>e.check(Mt(r,i)),e.mime=(r,i)=>e.check(rr(Array.isArray(r)?r:[r],i))});function Hc(e){return Qm(_i,e)}const yi=v("ZodTransform",(e,t)=>{nm.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Th(e,r),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Ao(e.constructor.name);r.addIssue=o=>{if(typeof o=="string")r.issues.push(Wt(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(Wt(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 Or(e){return new yi({type:"transform",transform:e})}const Cr=v("ZodOptional",(e,t)=>{cs.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>As(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function xe(e){return new Cr({type:"optional",innerType:e})}const ki=v("ZodExactOptional",(e,t)=>{rm.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>As(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function $i(e){return new ki({type:"optional",innerType:e})}const xi=v("ZodNullable",(e,t)=>{om.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ah(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function nn(e){return new xi({type:"nullable",innerType:e})}function Bc(e){return xe(nn(e))}const wi=v("ZodDefault",(e,t)=>{im.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Rh(e,r,i,n),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Si(e,t){return new wi({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():Ro(t)}})}const Ii=v("ZodPrefault",(e,t)=>{am.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Lh(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function zi(e,t){return new Ii({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():Ro(t)}})}const Nr=v("ZodNonOptional",(e,t)=>{sm.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Uh(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Ti(e,t){return new Nr({type:"nonoptional",innerType:e,...j(t)})}const Pi=v("ZodSuccess",(e,t)=>{cm.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Sh(e,r,i),e.unwrap=()=>e._zod.def.innerType});function Vc(e){return new Pi({type:"success",innerType:e})}const ji=v("ZodCatch",(e,t)=>{lm.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Zh(e,r,i,n),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Di(e,t){return new ji({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const Ei=v("ZodNaN",(e,t)=>{um.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>$h(e,r)});function Kc(e){return Ym(Ei,e)}const _n=v("ZodPipe",(e,t)=>{ls.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Mh(e,r,i,n),e.in=t.in,e.out=t.out});function Cn(e,t){return new _n({type:"pipe",in:e,out:t})}const yn=v("ZodCodec",(e,t)=>{_n.init(e,t),us.init(e,t)});function Wc(e,t,r){return new yn({type:"pipe",in:e,out:t,transform:r.decode,reverseTransform:r.encode})}function Gc(e){const t=e._zod.def;return new yn({type:"pipe",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}const Oi=v("ZodPreprocess",(e,t)=>{_n.init(e,t),dm.init(e,t)}),Ci=v("ZodReadonly",(e,t)=>{pm.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Fh(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Ni(e){return new Ci({type:"readonly",innerType:e})}const Ai=v("ZodTemplateLiteral",(e,t)=>{fm.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>xh(e,r,i)});function Yc(e,t){return new Ai({type:"template_literal",parts:e,...j(t)})}const Ui=v("ZodLazy",(e,t)=>{gm.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Jh(e,r,i,n),e.unwrap=()=>e._zod.def.getter()});function Ri(e){return new Ui({type:"lazy",getter:e})}const Li=v("ZodPromise",(e,t)=>{hm.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>qh(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Xc(e){return new Li({type:"promise",innerType:e})}const Zi=v("ZodFunction",(e,t)=>{mm.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>zh(e,r)});function rn(e){return new Zi({type:"function",input:Array.isArray(e?.input)?hi(e?.input):e?.input??X(ge()),output:e?.output??ge()})}const kn=v("ZodCustom",(e,t)=>{vm.init(e,t),oe.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ih(e,r)});function Qc(e){const t=new Se({check:"custom"});return t._zod.check=e,t}function Mi(e,t){return eh(kn,e??(()=>!0),t)}function Fi(e,t={}){return th(kn,e,t)}function qi(e,t){return nh(e,t)}const el=oh,tl=ih;function nl(e,t={}){const r=new kn({type:"custom",check:"custom",fn:i=>i instanceof e,abort:!0,...j(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 rl=(...e)=>ah({Codec:yn,Boolean:mn,String:dn},...e);function ol(e){const t=Ri(()=>le([b(e),re(),be(),Pr(),X(t),ue(b(),t)]));return t}function Ar(e,t){return new Oi({type:"pipe",in:Or(e),out:t})}const l0=Object.freeze(Object.defineProperty({__proto__:null,ZodAny:ai,ZodArray:ui,ZodBase64:wr,ZodBase64URL:Sr,ZodBigInt:hn,ZodBigIntFormat:Tr,ZodBoolean:mn,ZodCIDRv4:$r,ZodCIDRv6:xr,ZodCUID:hr,ZodCUID2:gr,ZodCatch:ji,ZodCodec:yn,ZodCustom:kn,ZodCustomStringFormat:Ft,ZodDate:Dr,ZodDefault:wi,ZodDiscriminatedUnion:pi,ZodE164:Ir,ZodEmail:pr,ZodEmoji:fr,ZodEnum:Ut,ZodExactOptional:ki,ZodFile:_i,ZodFunction:Zi,ZodGUID:en,ZodIPv4:yr,ZodIPv6:kr,ZodIntersection:fi,ZodJWT:zr,ZodKSUID:_r,ZodLazy:Ui,ZodLiteral:bi,ZodMAC:ni,ZodMap:gi,ZodNaN:Ei,ZodNanoID:mr,ZodNever:ci,ZodNonOptional:Nr,ZodNull:ii,ZodNullable:xi,ZodNumber:fn,ZodNumberFormat:It,ZodObject:gn,ZodOptional:Cr,ZodPipe:_n,ZodPrefault:Ii,ZodPreprocess:Oi,ZodPromise:Li,ZodReadonly:Ci,ZodRecord:At,ZodSet:vi,ZodString:dn,ZodStringFormat:ke,ZodSuccess:Pi,ZodSymbol:ri,ZodTemplateLiteral:Ai,ZodTransform:yi,ZodTuple:mi,ZodType:oe,ZodULID:vr,ZodURL:pn,ZodUUID:ot,ZodUndefined:oi,ZodUnion:vn,ZodUnknown:si,ZodVoid:li,ZodXID:br,ZodXor:di,_ZodString:dr,_default:Si,_function:rn,any:jr,array:X,base64:_c,base64url:yc,bigint:Dc,boolean:be,catch:Di,check:Qc,cidrv4:vc,cidrv6:bc,codec:Wc,cuid:lc,cuid2:uc,custom:Mi,date:Ac,describe:el,discriminatedUnion:Er,e164:kc,email:Qs,emoji:sc,enum:Ue,exactOptional:$i,file:Hc,float32:zc,float64:Tc,function:rn,guid:ec,hash:Ic,hex:Sc,hostname:wc,httpUrl:ac,instanceof:nl,int:On,int32:Pc,int64:Ec,intersection:bn,invertCodec:Gc,ipv4:mc,ipv6:gc,json:ol,jwt:$c,keyof:Uc,ksuid:fc,lazy:Ri,literal:y,looseObject:Ae,looseRecord:Mc,mac:hc,map:Fc,meta:tl,nan:Kc,nanoid:cc,nativeEnum:Jc,never:Nt,nonoptional:Ti,null:Pr,nullable:nn,nullish:Bc,number:re,object:w,optional:xe,partialRecord:Zc,pipe:Cn,prefault:zi,preprocess:Ar,promise:Xc,readonly:Ni,record:ue,refine:Fi,set:qc,strictObject:Rc,string:b,stringFormat:xc,stringbool:rl,success:Vc,superRefine:qi,symbol:Cc,templateLiteral:Yc,transform:Or,tuple:hi,uint32:jc,uint64:Oc,ulid:dc,undefined:tn,union:le,unknown:ge,url:ic,uuid:tc,uuidv4:nc,uuidv6:rc,uuidv7:oc,void:Nc,xid:pc,xor:Lc},Symbol.toStringTag,{value:"Module"})),Xh={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 Qh(e){Ee({customError:e})}function eg(){return Ee().customError}var _o;_o||(_o={});const R={...l0,...c0,iso:Zs},u0=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 d0(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 p0(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 tg(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return R.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 R.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=p0(n,t),a=Ze(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 R.null();if(n.length===0)return R.never();if(n.length===1)return R.literal(n[0]);if(n.every(a=>typeof a=="string"))return R.enum(n);const o=n.map(a=>R.literal(a));return o.length<2?o[0]:R.union([o[0],o[1],...o.slice(2)])}if(e.const!==void 0)return R.literal(e.const);const r=e.type;if(Array.isArray(r)){const n=r.map(o=>{const a={...e,type:o};return tg(a,t)});return n.length===0?R.never():n.length===1?n[0]:R.union(n)}if(!r)return R.any();let i;switch(r){case"string":{let n=R.string();if(e.format){const o=e.format;o==="email"?n=n.check(R.email()):o==="uri"||o==="uri-reference"?n=n.check(R.url()):o==="uuid"||o==="guid"?n=n.check(R.uuid()):o==="date-time"?n=n.check(R.iso.datetime()):o==="date"?n=n.check(R.iso.date()):o==="time"?n=n.check(R.iso.time()):o==="duration"?n=n.check(R.iso.duration()):o==="ipv4"?n=n.check(R.ipv4()):o==="ipv6"?n=n.check(R.ipv6()):o==="mac"?n=n.check(R.mac()):o==="cidr"?n=n.check(R.cidrv4()):o==="cidr-v6"?n=n.check(R.cidrv6()):o==="base64"?n=n.check(R.base64()):o==="base64url"?n=n.check(R.base64url()):o==="e164"?n=n.check(R.e164()):o==="jwt"?n=n.check(R.jwt()):o==="emoji"?n=n.check(R.emoji()):o==="nanoid"?n=n.check(R.nanoid()):o==="cuid"?n=n.check(R.cuid()):o==="cuid2"?n=n.check(R.cuid2()):o==="ulid"?n=n.check(R.ulid()):o==="xid"?n=n.check(R.xid()):o==="ksuid"&&(n=n.check(R.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"?R.number().int():R.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=R.boolean();break}case"null":{i=R.null();break}case"object":{const n={},o=e.properties||{},a=new Set(e.required||[]);for(const[c,l]of Object.entries(o)){const d=Ze(l,t);n[c]=a.has(c)?d:d.optional()}if(e.propertyNames){const c=Ze(e.propertyNames,t),l=e.additionalProperties&&typeof e.additionalProperties=="object"?Ze(e.additionalProperties,t):R.any();if(Object.keys(n).length===0){i=R.record(c,l);break}const d=R.object(n).passthrough(),f=R.looseRecord(c,l);i=R.intersection(d,f);break}if(e.patternProperties){const c=e.patternProperties,l=Object.keys(c),d=[];for(const p of l){const m=Ze(c[p],t),h=R.string().regex(new RegExp(p));d.push(R.looseRecord(h,m))}const f=[];if(Object.keys(n).length>0&&f.push(R.object(n).passthrough()),f.push(...d),f.length===0)i=R.object({}).passthrough();else if(f.length===1)i=f[0];else{let p=R.intersection(f[0],f[1]);for(let m=2;m<f.length;m++)p=R.intersection(p,f[m]);i=p}break}const s=R.object(n);e.additionalProperties===!1?i=s.strict():typeof e.additionalProperties=="object"?i=s.catchall(Ze(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(c=>Ze(c,t)),s=o&&typeof o=="object"&&!Array.isArray(o)?Ze(o,t):void 0;s?i=R.tuple(a).rest(s):i=R.tuple(a),typeof e.minItems=="number"&&(i=i.check(R.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(R.maxLength(e.maxItems)))}else if(Array.isArray(o)){const a=o.map(c=>Ze(c,t)),s=e.additionalItems&&typeof e.additionalItems=="object"?Ze(e.additionalItems,t):void 0;s?i=R.tuple(a).rest(s):i=R.tuple(a),typeof e.minItems=="number"&&(i=i.check(R.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(R.maxLength(e.maxItems)))}else if(o!==void 0){const a=Ze(o,t);let s=R.array(a);typeof e.minItems=="number"&&(s=s.min(e.minItems)),typeof e.maxItems=="number"&&(s=s.max(e.maxItems)),i=s}else i=R.array(R.any());break}default:throw new Error(`Unsupported type: ${r}`)}return i}function Ze(e,t){if(typeof e=="boolean")return e?R.any():R.never();let r=tg(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=>Ze(l,t)),c=R.union(s);r=i?R.intersection(r,c):c}if(e.oneOf&&Array.isArray(e.oneOf)){const s=e.oneOf.map(l=>Ze(l,t)),c=R.xor(s);r=i?R.intersection(r,c):c}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=i?r:R.any();else{let s=i?r:Ze(e.allOf[0],t);const c=i?0:1;for(let l=c;l<e.allOf.length;l++)s=R.intersection(s,Ze(e.allOf[l],t));r=s}e.nullable===!0&&t.version==="openapi-3.0"&&(r=R.nullable(r)),e.readOnly===!0&&(r=R.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))u0.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 ng(e,t){if(typeof e=="boolean")return e?R.any():R.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=d0(r,t?.defaultTarget),n=r.$defs||r.definitions||{},o={version:i,defs:n,refs:new Map,processing:new Set,rootSchema:r,registry:t?.registry??He};return Ze(r,o)}function f0(e){return xm(dn,e)}function m0(e){return jm(fn,e)}function h0(e){return Um(mn,e)}function g0(e){return Lm(hn,e)}function v0(e){return Gm(Dr,e)}const rg=Object.freeze(Object.defineProperty({__proto__:null,bigint:g0,boolean:h0,date:v0,number:m0,string:f0},Symbol.toStringTag,{value:"Module"}));Ee(bm());const Tu=Object.freeze(Object.defineProperty({__proto__:null,$brand:Aa,$input:fs,$output:ps,NEVER:Na,TimePrecision:Cs,ZodAny:ai,ZodArray:ui,ZodBase64:wr,ZodBase64URL:Sr,ZodBigInt:hn,ZodBigIntFormat:Tr,ZodBoolean:mn,ZodCIDRv4:$r,ZodCIDRv6:xr,ZodCUID:hr,ZodCUID2:gr,ZodCatch:ji,ZodCodec:yn,ZodCustom:kn,ZodCustomStringFormat:Ft,ZodDate:Dr,ZodDefault:wi,ZodDiscriminatedUnion:pi,ZodE164:Ir,ZodEmail:pr,ZodEmoji:fr,ZodEnum:Ut,ZodError:Yh,ZodExactOptional:ki,ZodFile:_i,get ZodFirstPartyTypeKind(){return _o},ZodFunction:Zi,ZodGUID:en,ZodIPv4:yr,ZodIPv6:kr,ZodISODate:Qo,ZodISODateTime:Xo,ZodISODuration:ti,ZodISOTime:ei,ZodIntersection:fi,ZodIssueCode:Xh,ZodJWT:zr,ZodKSUID:_r,ZodLazy:Ui,ZodLiteral:bi,ZodMAC:ni,ZodMap:gi,ZodNaN:Ei,ZodNanoID:mr,ZodNever:ci,ZodNonOptional:Nr,ZodNull:ii,ZodNullable:xi,ZodNumber:fn,ZodNumberFormat:It,ZodObject:gn,ZodOptional:Cr,ZodPipe:_n,ZodPrefault:Ii,ZodPreprocess:Oi,ZodPromise:Li,ZodReadonly:Ci,ZodRealError:qe,ZodRecord:At,ZodSet:vi,ZodString:dn,ZodStringFormat:ke,ZodSuccess:Pi,ZodSymbol:ri,ZodTemplateLiteral:Ai,ZodTransform:yi,ZodTuple:mi,ZodType:oe,ZodULID:vr,ZodURL:pn,ZodUUID:ot,ZodUndefined:oi,ZodUnion:vn,ZodUnknown:si,ZodVoid:li,ZodXID:br,ZodXor:di,_ZodString:dr,_default:Si,_function:rn,any:jr,array:X,base64:_c,base64url:yc,bigint:Dc,boolean:be,catch:Di,check:Qc,cidrv4:vc,cidrv6:bc,clone:Ke,codec:Wc,coerce:rg,config:Ee,core:Hh,cuid:lc,cuid2:uc,custom:Mi,date:Ac,decode:Bs,decodeAsync:Ks,describe:el,discriminatedUnion:Er,e164:kc,email:Qs,emoji:sc,encode:Hs,encodeAsync:Vs,endsWith:nr,enum:Ue,exactOptional:$i,file:Hc,flattenError:Mo,float32:zc,float64:Tc,formatError:Fo,fromJSONSchema:ng,function:rn,getErrorMap:eg,globalRegistry:He,gt:vt,gte:Fe,guid:ec,hash:Ic,hex:Sc,hostname:wc,httpUrl:ac,includes:er,instanceof:nl,int:On,int32:Pc,int64:Ec,intersection:bn,invertCodec:Gc,ipv4:mc,ipv6:gc,iso:Zs,json:ol,jwt:$c,keyof:Uc,ksuid:fc,lazy:Ri,length:un,literal:y,locales:ds,looseObject:Ae,looseRecord:Mc,lowercase:Xn,lt:gt,lte:Be,mac:hc,map:Fc,maxLength:ln,maxSize:Mt,meta:tl,mime:rr,minLength:$t,minSize:bt,multipleOf:Ct,nan:Kc,nanoid:cc,nativeEnum:Jc,negative:Ko,never:Nt,nonnegative:Go,nonoptional:Ti,nonpositive:Wo,normalize:or,null:Pr,nullable:nn,nullish:Bc,number:re,object:w,optional:xe,overwrite:dt,parse:Ms,parseAsync:Fs,partialRecord:Zc,pipe:Cn,positive:Vo,prefault:zi,preprocess:Ar,prettifyError:Fa,promise:Xc,property:Yo,readonly:Ni,record:ue,refine:Fi,regex:Yn,regexes:qo,registry:Ho,safeDecode:Gs,safeDecodeAsync:Xs,safeEncode:Ws,safeEncodeAsync:Ys,safeParse:qs,safeParseAsync:Js,set:qc,setErrorMap:Qh,size:cn,slugify:cr,startsWith:tr,strictObject:Rc,string:b,stringFormat:xc,stringbool:rl,success:Vc,superRefine:qi,symbol:Cc,templateLiteral:Yc,toJSONSchema:Us,toLowerCase:ar,toUpperCase:sr,transform:Or,treeifyError:Ma,trim:ir,tuple:hi,uint32:jc,uint64:Oc,ulid:dc,undefined:tn,union:le,unknown:ge,uppercase:Qn,url:ic,util:La,uuid:tc,uuidv4:nc,uuidv6:rc,uuidv7:oc,void:Nc,xid:pc,xor:Lc},Symbol.toStringTag,{value:"Module"})),b0=Object.freeze(Object.defineProperty({__proto__:null,$brand:Aa,$input:fs,$output:ps,NEVER:Na,TimePrecision:Cs,ZodAny:ai,ZodArray:ui,ZodBase64:wr,ZodBase64URL:Sr,ZodBigInt:hn,ZodBigIntFormat:Tr,ZodBoolean:mn,ZodCIDRv4:$r,ZodCIDRv6:xr,ZodCUID:hr,ZodCUID2:gr,ZodCatch:ji,ZodCodec:yn,ZodCustom:kn,ZodCustomStringFormat:Ft,ZodDate:Dr,ZodDefault:wi,ZodDiscriminatedUnion:pi,ZodE164:Ir,ZodEmail:pr,ZodEmoji:fr,ZodEnum:Ut,ZodError:Yh,ZodExactOptional:ki,ZodFile:_i,get ZodFirstPartyTypeKind(){return _o},ZodFunction:Zi,ZodGUID:en,ZodIPv4:yr,ZodIPv6:kr,ZodISODate:Qo,ZodISODateTime:Xo,ZodISODuration:ti,ZodISOTime:ei,ZodIntersection:fi,ZodIssueCode:Xh,ZodJWT:zr,ZodKSUID:_r,ZodLazy:Ui,ZodLiteral:bi,ZodMAC:ni,ZodMap:gi,ZodNaN:Ei,ZodNanoID:mr,ZodNever:ci,ZodNonOptional:Nr,ZodNull:ii,ZodNullable:xi,ZodNumber:fn,ZodNumberFormat:It,ZodObject:gn,ZodOptional:Cr,ZodPipe:_n,ZodPrefault:Ii,ZodPreprocess:Oi,ZodPromise:Li,ZodReadonly:Ci,ZodRealError:qe,ZodRecord:At,ZodSet:vi,ZodString:dn,ZodStringFormat:ke,ZodSuccess:Pi,ZodSymbol:ri,ZodTemplateLiteral:Ai,ZodTransform:yi,ZodTuple:mi,ZodType:oe,ZodULID:vr,ZodURL:pn,ZodUUID:ot,ZodUndefined:oi,ZodUnion:vn,ZodUnknown:si,ZodVoid:li,ZodXID:br,ZodXor:di,_ZodString:dr,_default:Si,_function:rn,any:jr,array:X,base64:_c,base64url:yc,bigint:Dc,boolean:be,catch:Di,check:Qc,cidrv4:vc,cidrv6:bc,clone:Ke,codec:Wc,coerce:rg,config:Ee,core:Hh,cuid:lc,cuid2:uc,custom:Mi,date:Ac,decode:Bs,decodeAsync:Ks,default:Tu,describe:el,discriminatedUnion:Er,e164:kc,email:Qs,emoji:sc,encode:Hs,encodeAsync:Vs,endsWith:nr,enum:Ue,exactOptional:$i,file:Hc,flattenError:Mo,float32:zc,float64:Tc,formatError:Fo,fromJSONSchema:ng,function:rn,getErrorMap:eg,globalRegistry:He,gt:vt,gte:Fe,guid:ec,hash:Ic,hex:Sc,hostname:wc,httpUrl:ac,includes:er,instanceof:nl,int:On,int32:Pc,int64:Ec,intersection:bn,invertCodec:Gc,ipv4:mc,ipv6:gc,iso:Zs,json:ol,jwt:$c,keyof:Uc,ksuid:fc,lazy:Ri,length:un,literal:y,locales:ds,looseObject:Ae,looseRecord:Mc,lowercase:Xn,lt:gt,lte:Be,mac:hc,map:Fc,maxLength:ln,maxSize:Mt,meta:tl,mime:rr,minLength:$t,minSize:bt,multipleOf:Ct,nan:Kc,nanoid:cc,nativeEnum:Jc,negative:Ko,never:Nt,nonnegative:Go,nonoptional:Ti,nonpositive:Wo,normalize:or,null:Pr,nullable:nn,nullish:Bc,number:re,object:w,optional:xe,overwrite:dt,parse:Ms,parseAsync:Fs,partialRecord:Zc,pipe:Cn,positive:Vo,prefault:zi,preprocess:Ar,prettifyError:Fa,promise:Xc,property:Yo,readonly:Ni,record:ue,refine:Fi,regex:Yn,regexes:qo,registry:Ho,safeDecode:Gs,safeDecodeAsync:Xs,safeEncode:Ws,safeEncodeAsync:Ys,safeParse:qs,safeParseAsync:Js,set:qc,setErrorMap:Qh,size:cn,slugify:cr,startsWith:tr,strictObject:Rc,string:b,stringFormat:xc,stringbool:rl,success:Vc,superRefine:qi,symbol:Cc,templateLiteral:Yc,toJSONSchema:Us,toLowerCase:ar,toUpperCase:sr,transform:Or,treeifyError:Ma,trim:ir,tuple:hi,uint32:jc,uint64:Oc,ulid:dc,undefined:tn,union:le,unknown:ge,uppercase:Qn,url:ic,util:La,uuid:tc,uuidv4:nc,uuidv6:rc,uuidv7:oc,void:Nc,xid:pc,xor:Lc,z:Tu},Symbol.toStringTag,{value:"Module"})),Tt="io.modelcontextprotocol/related-task",Ji="2.0",De=Mi(e=>e!==null&&(typeof e=="object"||typeof e=="function")),og=le([b(),re().int()]),ig=b();Ae({ttl:re().optional(),pollInterval:re().optional()});const _0=w({ttl:re().optional()}),y0=w({taskId:b()}),il=Ae({progressToken:og.optional(),[Tt]:y0.optional()}),Ge=w({_meta:il.optional()}),Ur=Ge.extend({task:_0.optional()}),k0=e=>Ur.safeParse(e).success,Re=w({method:b(),params:Ge.loose().optional()}),Qe=w({_meta:il.optional()}),et=w({method:b(),params:Qe.loose().optional()}),Le=Ae({_meta:il.optional()}),Rr=le([b(),re().int()]),ag=w({jsonrpc:y(Ji),id:Rr,...Re.shape}).strict(),Pu=e=>ag.safeParse(e).success,sg=w({jsonrpc:y(Ji),...et.shape}).strict(),$0=e=>sg.safeParse(e).success,al=w({jsonrpc:y(Ji),id:Rr,result:Le}).strict(),Wr=e=>al.safeParse(e).success;var _e;(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"})(_e||(_e={}));const sl=w({jsonrpc:y(Ji),id:Rr.optional(),error:w({code:re().int(),message:b(),data:ge().optional()})}).strict(),x0=e=>sl.safeParse(e).success,w0=le([ag,sg,al,sl]);le([al,sl]);const cl=Le.strict(),S0=Qe.extend({requestId:Rr.optional(),reason:b().optional()}),ll=et.extend({method:y("notifications/cancelled"),params:S0}),I0=w({src:b(),mimeType:b().optional(),sizes:X(b()).optional(),theme:Ue(["light","dark"]).optional()}),Lr=w({icons:X(I0).optional()}),on=w({name:b(),title:b().optional()}),Hi=on.extend({...on.shape,...Lr.shape,version:b(),websiteUrl:b().optional(),description:b().optional()}),z0=bn(w({applyDefaults:be().optional()}),ue(b(),ge())),T0=Ar(e=>e&&typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,bn(w({form:z0.optional(),url:De.optional()}),ue(b(),ge()).optional())),P0=Ae({list:De.optional(),cancel:De.optional(),requests:Ae({sampling:Ae({createMessage:De.optional()}).optional(),elicitation:Ae({create:De.optional()}).optional()}).optional()}),j0=Ae({list:De.optional(),cancel:De.optional(),requests:Ae({tools:Ae({call:De.optional()}).optional()}).optional()}),D0=w({experimental:ue(b(),De).optional(),sampling:w({context:De.optional(),tools:De.optional()}).optional(),elicitation:T0.optional(),roots:w({listChanged:be().optional()}).optional(),tasks:P0.optional(),extensions:ue(b(),De).optional()}),E0=Ge.extend({protocolVersion:b(),capabilities:D0,clientInfo:Hi}),O0=Re.extend({method:y("initialize"),params:E0}),C0=w({experimental:ue(b(),De).optional(),logging:De.optional(),completions:De.optional(),prompts:w({listChanged:be().optional()}).optional(),resources:w({subscribe:be().optional(),listChanged:be().optional()}).optional(),tools:w({listChanged:be().optional()}).optional(),tasks:j0.optional(),extensions:ue(b(),De).optional()}),N0=Le.extend({protocolVersion:b(),capabilities:C0,serverInfo:Hi,instructions:b().optional()}),A0=et.extend({method:y("notifications/initialized"),params:Qe.optional()}),Bi=Re.extend({method:y("ping"),params:Ge.optional()}),U0=w({progress:re(),total:xe(re()),message:xe(b())}),R0=w({...Qe.shape,...U0.shape,progressToken:og}),ul=et.extend({method:y("notifications/progress"),params:R0}),L0=Ge.extend({cursor:ig.optional()}),Zr=Re.extend({params:L0.optional()}),Mr=Le.extend({nextCursor:ig.optional()}),Z0=Ue(["working","input_required","completed","failed","cancelled"]),Fr=w({taskId:b(),status:Z0,ttl:le([re(),Pr()]),createdAt:b(),lastUpdatedAt:b(),pollInterval:xe(re()),statusMessage:xe(b())}),dl=Le.extend({task:Fr}),M0=Qe.merge(Fr),yo=et.extend({method:y("notifications/tasks/status"),params:M0}),pl=Re.extend({method:y("tasks/get"),params:Ge.extend({taskId:b()})}),fl=Le.merge(Fr),ml=Re.extend({method:y("tasks/result"),params:Ge.extend({taskId:b()})});Le.loose();const hl=Zr.extend({method:y("tasks/list")}),gl=Mr.extend({tasks:X(Fr)}),vl=Re.extend({method:y("tasks/cancel"),params:Ge.extend({taskId:b()})}),F0=Le.merge(Fr),cg=w({uri:b(),mimeType:xe(b()),_meta:ue(b(),ge()).optional()}),lg=cg.extend({text:b()}),bl=b().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:"Invalid Base64 string"}),ug=cg.extend({blob:bl}),qr=Ue(["user","assistant"]),$n=w({audience:X(qr).optional(),priority:re().min(0).max(1).optional(),lastModified:Ls({offset:!0}).optional()}),dg=w({...on.shape,...Lr.shape,uri:b(),description:xe(b()),mimeType:xe(b()),size:xe(re()),annotations:$n.optional(),_meta:xe(Ae({}))}),q0=w({...on.shape,...Lr.shape,uriTemplate:b(),description:xe(b()),mimeType:xe(b()),annotations:$n.optional(),_meta:xe(Ae({}))}),J0=Zr.extend({method:y("resources/list")}),pg=Mr.extend({resources:X(dg)}),H0=Zr.extend({method:y("resources/templates/list")}),B0=Mr.extend({resourceTemplates:X(q0)}),_l=Ge.extend({uri:b()}),V0=_l,K0=Re.extend({method:y("resources/read"),params:V0}),fg=Le.extend({contents:X(le([lg,ug]))}),W0=et.extend({method:y("notifications/resources/list_changed"),params:Qe.optional()}),G0=_l,Y0=Re.extend({method:y("resources/subscribe"),params:G0}),X0=_l,Q0=Re.extend({method:y("resources/unsubscribe"),params:X0}),ek=Qe.extend({uri:b()}),tk=et.extend({method:y("notifications/resources/updated"),params:ek}),nk=w({name:b(),description:xe(b()),required:xe(be())}),rk=w({...on.shape,...Lr.shape,description:xe(b()),arguments:xe(X(nk)),_meta:xe(Ae({}))}),ok=Zr.extend({method:y("prompts/list")}),ik=Mr.extend({prompts:X(rk)}),ak=Ge.extend({name:b(),arguments:ue(b(),b()).optional()}),sk=Re.extend({method:y("prompts/get"),params:ak}),yl=w({type:y("text"),text:b(),annotations:$n.optional(),_meta:ue(b(),ge()).optional()}),kl=w({type:y("image"),data:bl,mimeType:b(),annotations:$n.optional(),_meta:ue(b(),ge()).optional()}),$l=w({type:y("audio"),data:bl,mimeType:b(),annotations:$n.optional(),_meta:ue(b(),ge()).optional()}),ck=w({type:y("tool_use"),name:b(),id:b(),input:ue(b(),ge()),_meta:ue(b(),ge()).optional()}),mg=w({type:y("resource"),resource:le([lg,ug]),annotations:$n.optional(),_meta:ue(b(),ge()).optional()}),hg=dg.extend({type:y("resource_link")}),Jr=le([yl,kl,$l,hg,mg]),lk=w({role:qr,content:Jr}),uk=Le.extend({description:b().optional(),messages:X(lk)}),dk=et.extend({method:y("notifications/prompts/list_changed"),params:Qe.optional()}),pk=w({title:b().optional(),readOnlyHint:be().optional(),destructiveHint:be().optional(),idempotentHint:be().optional(),openWorldHint:be().optional()}),fk=w({taskSupport:Ue(["required","optional","forbidden"]).optional()}),xl=w({...on.shape,...Lr.shape,description:b().optional(),inputSchema:w({type:y("object"),properties:ue(b(),De).optional(),required:X(b()).optional()}).catchall(ge()),outputSchema:w({type:y("object"),properties:ue(b(),De).optional(),required:X(b()).optional()}).catchall(ge()).optional(),annotations:pk.optional(),execution:fk.optional(),_meta:ue(b(),ge()).optional()}),gg=Zr.extend({method:y("tools/list")}),mk=Mr.extend({tools:X(xl)}),Vi=Le.extend({content:X(Jr).default([]),structuredContent:ue(b(),ge()).optional(),isError:be().optional()});Vi.or(Le.extend({toolResult:ge()}));const hk=Ur.extend({name:b(),arguments:ue(b(),ge()).optional()}),vg=Re.extend({method:y("tools/call"),params:hk}),gk=et.extend({method:y("notifications/tools/list_changed"),params:Qe.optional()});w({autoRefresh:be().default(!0),debounceMs:re().int().nonnegative().default(300)});const bg=Ue(["debug","info","notice","warning","error","critical","alert","emergency"]),vk=Ge.extend({level:bg}),bk=Re.extend({method:y("logging/setLevel"),params:vk}),_k=Qe.extend({level:bg,logger:b().optional(),data:ge()}),yk=et.extend({method:y("notifications/message"),params:_k}),kk=w({name:b().optional()}),$k=w({hints:X(kk).optional(),costPriority:re().min(0).max(1).optional(),speedPriority:re().min(0).max(1).optional(),intelligencePriority:re().min(0).max(1).optional()}),xk=w({mode:Ue(["auto","required","none"]).optional()}),wk=w({type:y("tool_result"),toolUseId:b().describe("The unique identifier for the corresponding tool call."),content:X(Jr).default([]),structuredContent:w({}).loose().optional(),isError:be().optional(),_meta:ue(b(),ge()).optional()}),Sk=Er("type",[yl,kl,$l]),ko=Er("type",[yl,kl,$l,ck,wk]),Ik=w({role:qr,content:le([ko,X(ko)]),_meta:ue(b(),ge()).optional()}),zk=Ur.extend({messages:X(Ik),modelPreferences:$k.optional(),systemPrompt:b().optional(),includeContext:Ue(["none","thisServer","allServers"]).optional(),temperature:re().optional(),maxTokens:re().int(),stopSequences:X(b()).optional(),metadata:De.optional(),tools:X(xl).optional(),toolChoice:xk.optional()}),Tk=Re.extend({method:y("sampling/createMessage"),params:zk}),_g=Le.extend({model:b(),stopReason:xe(Ue(["endTurn","stopSequence","maxTokens"]).or(b())),role:qr,content:Sk}),yg=Le.extend({model:b(),stopReason:xe(Ue(["endTurn","stopSequence","maxTokens","toolUse"]).or(b())),role:qr,content:le([ko,X(ko)])}),Pk=w({type:y("boolean"),title:b().optional(),description:b().optional(),default:be().optional()}),jk=w({type:y("string"),title:b().optional(),description:b().optional(),minLength:re().optional(),maxLength:re().optional(),format:Ue(["email","uri","date","date-time"]).optional(),default:b().optional()}),Dk=w({type:Ue(["number","integer"]),title:b().optional(),description:b().optional(),minimum:re().optional(),maximum:re().optional(),default:re().optional()}),Ek=w({type:y("string"),title:b().optional(),description:b().optional(),enum:X(b()),default:b().optional()}),Ok=w({type:y("string"),title:b().optional(),description:b().optional(),oneOf:X(w({const:b(),title:b()})),default:b().optional()}),Ck=w({type:y("string"),title:b().optional(),description:b().optional(),enum:X(b()),enumNames:X(b()).optional(),default:b().optional()}),Nk=le([Ek,Ok]),Ak=w({type:y("array"),title:b().optional(),description:b().optional(),minItems:re().optional(),maxItems:re().optional(),items:w({type:y("string"),enum:X(b())}),default:X(b()).optional()}),Uk=w({type:y("array"),title:b().optional(),description:b().optional(),minItems:re().optional(),maxItems:re().optional(),items:w({anyOf:X(w({const:b(),title:b()}))}),default:X(b()).optional()}),Rk=le([Ak,Uk]),Lk=le([Ck,Nk,Rk]),Zk=le([Lk,Pk,jk,Dk]),Mk=Ur.extend({mode:y("form").optional(),message:b(),requestedSchema:w({type:y("object"),properties:ue(b(),Zk),required:X(b()).optional()})}),Fk=Ur.extend({mode:y("url"),message:b(),elicitationId:b(),url:b().url()}),qk=le([Mk,Fk]),Jk=Re.extend({method:y("elicitation/create"),params:qk}),Hk=Qe.extend({elicitationId:b()}),Bk=et.extend({method:y("notifications/elicitation/complete"),params:Hk}),Vk=Le.extend({action:Ue(["accept","decline","cancel"]),content:Ar(e=>e===null?void 0:e,ue(b(),le([b(),re(),be(),X(b())])).optional())}),Kk=w({type:y("ref/resource"),uri:b()}),Wk=w({type:y("ref/prompt"),name:b()}),Gk=Ge.extend({ref:le([Wk,Kk]),argument:w({name:b(),value:b()}),context:w({arguments:ue(b(),b()).optional()}).optional()}),Yk=Re.extend({method:y("completion/complete"),params:Gk}),Xk=Le.extend({completion:Ae({values:X(b()).max(100),total:xe(re().int()),hasMore:xe(be())})}),Qk=w({uri:b().startsWith("file://"),name:b().optional(),_meta:ue(b(),ge()).optional()}),e$=Re.extend({method:y("roots/list"),params:Ge.optional()}),t$=Le.extend({roots:X(Qk)}),n$=et.extend({method:y("notifications/roots/list_changed"),params:Qe.optional()});le([Bi,O0,Yk,bk,sk,ok,J0,H0,K0,Y0,Q0,vg,gg,pl,ml,hl,vl]);le([ll,ul,A0,n$,yo]);le([cl,_g,yg,Vk,t$,fl,gl,dl]);le([Bi,Tk,Jk,e$,pl,ml,hl,vl]);le([ll,ul,yk,tk,W0,gk,dk,yo,Bk]);le([cl,N0,Xk,uk,ik,pg,B0,fg,Vi,mk,fl,gl,dl]);class me 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===_e.UrlElicitationRequired&&i){const n=i;if(n.elicitations)return new r$(n.elicitations,r)}return new me(t,r,i)}}class r$ extends me{constructor(t,r=`URL elicitation${t.length>1?"s":""} required`){super(_e.UrlElicitationRequired,r,{elicitations:t})}get elicitations(){return this.data?.elicitations??[]}}function zt(e){return e==="completed"||e==="failed"||e==="cancelled"}new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function ju(e){const r=a0(e)?.method;if(!r)throw new Error("Schema is missing a method literal");const i=s0(r);if(typeof i!="string")throw new Error("Schema method literal must be a string");return i}function Du(e,t){const r=Bh(e,t);if(!r.success)throw r.error;return r.data}const o$=6e4;class i${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(ll,r=>{this._oncancel(r)}),this.setNotificationHandler(ul,r=>{this._onprogress(r)}),this.setRequestHandler(Bi,r=>({})),this._taskStore=t?.taskStore,this._taskMessageQueue=t?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(pl,async(r,i)=>{const n=await this._taskStore.getTask(r.params.taskId,i.sessionId);if(!n)throw new me(_e.InvalidParams,"Failed to retrieve task: Task not found");return{...n}}),this.setRequestHandler(ml,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 c=s.message,l=c.id,d=this._requestResolvers.get(l);if(d)if(this._requestResolvers.delete(l),s.type==="response")d(c);else{const f=c,p=new me(f.error.code,f.error.message,f.error.data);d(p)}else{const f=s.type==="response"?"Response":"Error";this._onerror(new Error(`${f} 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 me(_e.InvalidParams,`Task not found: ${o}`);if(!zt(a.status))return await this._waitForTaskUpdate(o,i.signal),await n();if(zt(a.status)){const s=await this._taskStore.getTaskResult(o,i.sessionId);return this._clearTaskQueue(o),{...s,_meta:{...s._meta,[Tt]:{taskId:o}}}}return await n()};return await n()}),this.setRequestHandler(hl,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 me(_e.InvalidParams,`Failed to list tasks: ${n instanceof Error?n.message:String(n)}`)}}),this.setRequestHandler(vl,async(r,i)=>{try{const n=await this._taskStore.getTask(r.params.taskId,i.sessionId);if(!n)throw new me(_e.InvalidParams,`Task not found: ${r.params.taskId}`);if(zt(n.status))throw new me(_e.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 me(_e.InvalidParams,`Task not found after cancellation: ${r.params.taskId}`);return{_meta:{},...o}}catch(n){throw n instanceof me?n:new me(_e.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),me.fromError(_e.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),Wr(o)||x0(o)?this._onresponse(o):Pu(o)?this._onrequest(o,a):$0(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=me.fromError(_e.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?.[Tt]?.taskId;if(i===void 0){const d={jsonrpc:"2.0",id:t.id,error:{code:_e.MethodNotFound,message:"Method not found"}};o&&this._taskMessageQueue?this._enqueueTaskMessage(o,{type:"error",message:d,timestamp:Date.now()},n?.sessionId).catch(f=>this._onerror(new Error(`Failed to enqueue error response: ${f}`))):n?.send(d).catch(f=>this._onerror(new Error(`Failed to send an error response: ${f}`)));return}const a=new AbortController;this._requestHandlerAbortControllers.set(t.id,a);const s=k0(t.params)?t.params.task:void 0,c=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 f={relatedRequestId:t.id};o&&(f.relatedTask={taskId:o}),await this.notification(d,f)},sendRequest:async(d,f,p)=>{if(a.signal.aborted)throw new me(_e.ConnectionClosed,"Request was cancelled");const m={...p,relatedRequestId:t.id};o&&!m.relatedTask&&(m.relatedTask={taskId:o});const h=m.relatedTask?.taskId??o;return h&&c&&await c.updateTaskStatus(h,"input_required"),await this.request(d,f,m)},authInfo:r?.authInfo,requestId:t.id,requestInfo:r?.requestInfo,taskId:o,taskStore:c,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 f={result:d,jsonrpc:"2.0",id:t.id};o&&this._taskMessageQueue?await this._enqueueTaskMessage(o,{type:"response",message:f,timestamp:Date.now()},n?.sessionId):await n?.send(f)},async d=>{if(a.signal.aborted)return;const f={jsonrpc:"2.0",id:t.id,error:{code:Number.isSafeInteger(d.code)?d.code:_e.InternalError,message:d.message??"Internal error",...d.data!==void 0&&{data:d.data}}};o&&this._taskMessageQueue?await this._enqueueTaskMessage(o,{type:"error",message:f,timestamp:Date.now()},n?.sessionId):await n?.send(f)}).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(c){this._responseHandlers.delete(n),this._progressHandlers.delete(n),this._cleanupTimeout(n),a(c);return}o(i)}_onresponse(t){const r=Number(t.id),i=this._requestResolvers.get(r);if(i){if(this._requestResolvers.delete(r),Wr(t))i(t);else{const a=new me(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(Wr(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),Wr(t))n(t);else{const a=me.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 me?a:new me(_e.InternalError,String(a))}}return}let o;try{const a=await this.request(t,dl,i);if(a.task)o=a.task.taskId,yield{type:"taskCreated",task:a.task};else throw new me(_e.InternalError,"Task creation did not return a task");for(;;){const s=await this.getTask({taskId:o},i);if(yield{type:"taskStatus",task:s},zt(s.status)){s.status==="completed"?yield{type:"result",result:await this.getTaskResult({taskId:o},r,i)}:s.status==="failed"?yield{type:"error",error:new me(_e.InternalError,`Task ${o} failed`)}:s.status==="cancelled"&&(yield{type:"error",error:new me(_e.InternalError,`Task ${o} was cancelled`)});return}if(s.status==="input_required"){yield{type:"result",result:await this.getTaskResult({taskId:o},r,i)};return}const c=s.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(l=>setTimeout(l,c)),i?.signal?.throwIfAborted()}}catch(a){yield{type:"error",error:a instanceof me?a:new me(_e.InternalError,String(a))}}}request(t,r,i){const{relatedRequestId:n,resumptionToken:o,onresumptiontoken:a,task:s,relatedTask:c}=i??{};return new Promise((l,d)=>{const f=S=>{d(S)};if(!this._transport){f(new Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(t.method),s&&this.assertTaskCapability(t.method)}catch(S){f(S);return}i?.signal?.throwIfAborted();const p=this._requestMessageId++,m={...t,jsonrpc:"2.0",id:p};i?.onprogress&&(this._progressHandlers.set(p,i.onprogress),m.params={...t.params,_meta:{...t.params?._meta||{},progressToken:p}}),s&&(m.params={...m.params,task:s}),c&&(m.params={...m.params,_meta:{...m.params?._meta||{},[Tt]:c}});const h=S=>{this._responseHandlers.delete(p),this._progressHandlers.delete(p),this._cleanupTimeout(p),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:p,reason:String(S)}},{relatedRequestId:n,resumptionToken:o,onresumptiontoken:a}).catch(z=>this._onerror(new Error(`Failed to send cancellation: ${z}`)));const k=S instanceof me?S:new me(_e.RequestTimeout,String(S));d(k)};this._responseHandlers.set(p,S=>{if(!i?.signal?.aborted){if(S instanceof Error)return d(S);try{const k=Bh(r,S.result);k.success?l(k.data):d(k.error)}catch(k){d(k)}}}),i?.signal?.addEventListener("abort",()=>{h(i?.signal?.reason)});const _=i?.timeout??o$,g=()=>h(me.fromError(_e.RequestTimeout,"Request timed out",{timeout:_}));this._setupTimeout(p,_,i?.maxTotalTimeout,g,i?.resetTimeoutOnProgress??!1);const $=c?.taskId;if($){const S=k=>{const z=this._responseHandlers.get(p);z?z(k):this._onerror(new Error(`Response handler missing for side-channeled request ${p}`))};this._requestResolvers.set(p,S),this._enqueueTaskMessage($,{type:"request",message:m,timestamp:Date.now()}).catch(k=>{this._cleanupTimeout(p),d(k)})}else this._transport.send(m,{relatedRequestId:n,resumptionToken:o,onresumptiontoken:a}).catch(S=>{this._cleanupTimeout(p),d(S)})})}async getTask(t,r){return this.request({method:"tasks/get",params:t},fl,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},gl,r)}async cancelTask(t,r){return this.request({method:"tasks/cancel",params:t},F0,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||{},[Tt]: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||{},[Tt]:r.relatedTask}}}),this._transport?.send(s,r).catch(c=>this._onerror(c))});return}let a={...t,jsonrpc:"2.0"};r?.relatedTask&&(a={...a,params:{...a.params,_meta:{...a.params?._meta||{},[Tt]:r.relatedTask}}}),await this._transport.send(a,r)}setRequestHandler(t,r){const i=ju(t);this.assertRequestHandlerCapability(i),this._requestHandlers.set(i,(n,o)=>{const a=Du(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=ju(t);this._notificationHandlers.set(i,n=>{const o=Du(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"&&Pu(n.message)){const o=n.message.id,a=this._requestResolvers.get(o);a?(a(new me(_e.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 me(_e.InvalidRequest,"Request cancelled"));return}const a=setTimeout(n,i);r.addEventListener("abort",()=>{clearTimeout(a),o(new me(_e.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 me(_e.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 c=yo.parse({method:"notifications/tasks/status",params:s});await this.notification(c),zt(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 me(_e.InvalidParams,`Task "${n}" not found - it may have been cleaned up`);if(zt(s.status))throw new me(_e.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 c=await i.getTask(n,r);if(c){const l=yo.parse({method:"notifications/tasks/status",params:c});await this.notification(l),zt(c.status)&&this._cleanupTaskProgressHandler(n)}},listTasks:n=>i.listTasks(n,r)}}}function Eu(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function a$(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];Eu(a)&&Eu(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 s$ extends i${_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 c of[...o.listeners])c(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 c$="2026-01-26",l$="ui/notifications/tool-input-partial";class u${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=w0.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!==l$&&console.debug("Sending message",t),this.eventTarget.postMessage(t,"*")}async close(){window.removeEventListener("message",this.messageListener),this.onclose?.()}onclose;onerror;onmessage;sessionId;setProtocolVersion}var d$=le([y("light"),y("dark")]).describe("Color theme preference for the host environment."),Nn=le([y("inline"),y("fullscreen"),y("pip")]).describe("Display mode for UI presentation."),p$=le([y("--color-background-primary"),y("--color-background-secondary"),y("--color-background-tertiary"),y("--color-background-inverse"),y("--color-background-ghost"),y("--color-background-info"),y("--color-background-danger"),y("--color-background-success"),y("--color-background-warning"),y("--color-background-disabled"),y("--color-text-primary"),y("--color-text-secondary"),y("--color-text-tertiary"),y("--color-text-inverse"),y("--color-text-ghost"),y("--color-text-info"),y("--color-text-danger"),y("--color-text-success"),y("--color-text-warning"),y("--color-text-disabled"),y("--color-border-primary"),y("--color-border-secondary"),y("--color-border-tertiary"),y("--color-border-inverse"),y("--color-border-ghost"),y("--color-border-info"),y("--color-border-danger"),y("--color-border-success"),y("--color-border-warning"),y("--color-border-disabled"),y("--color-ring-primary"),y("--color-ring-secondary"),y("--color-ring-inverse"),y("--color-ring-info"),y("--color-ring-danger"),y("--color-ring-success"),y("--color-ring-warning"),y("--font-sans"),y("--font-mono"),y("--font-weight-normal"),y("--font-weight-medium"),y("--font-weight-semibold"),y("--font-weight-bold"),y("--font-text-xs-size"),y("--font-text-sm-size"),y("--font-text-md-size"),y("--font-text-lg-size"),y("--font-heading-xs-size"),y("--font-heading-sm-size"),y("--font-heading-md-size"),y("--font-heading-lg-size"),y("--font-heading-xl-size"),y("--font-heading-2xl-size"),y("--font-heading-3xl-size"),y("--font-text-xs-line-height"),y("--font-text-sm-line-height"),y("--font-text-md-line-height"),y("--font-text-lg-line-height"),y("--font-heading-xs-line-height"),y("--font-heading-sm-line-height"),y("--font-heading-md-line-height"),y("--font-heading-lg-line-height"),y("--font-heading-xl-line-height"),y("--font-heading-2xl-line-height"),y("--font-heading-3xl-line-height"),y("--border-radius-xs"),y("--border-radius-sm"),y("--border-radius-md"),y("--border-radius-lg"),y("--border-radius-xl"),y("--border-radius-full"),y("--border-width-regular"),y("--shadow-hairline"),y("--shadow-sm"),y("--shadow-md"),y("--shadow-lg")]).describe("CSS variable keys available to MCP apps for theming."),f$=ue(p$.describe(`Style variables for theming MCP apps.
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 Qt(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 c=e.seen.get(s);if(c.ref===null)return;const l=c.def??c.schema,d={...l},f=c.ref;if(c.ref=null,f){i(f);const m=e.seen.get(f),h=m.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===f)for(const g in l)g==="$ref"||g==="allOf"||g in d||delete l[g];if(h.$ref&&m.def)for(const g in l)g==="$ref"||g==="allOf"||g in m.def&&JSON.stringify(l[g])===JSON.stringify(m.def[g])&&delete l[g]}const p=s._zod.parent;if(p&&p!==f){i(p);const m=e.seen.get(p);if(m?.schema.$ref&&(l.$ref=m.schema.$ref,m.def))for(const h in l)h==="$ref"||h==="allOf"||h in m.def&&JSON.stringify(l[h])===JSON.stringify(m.def[h])&&delete l[h]}e.override({zodSchema:s,jsonSchema:l,path:c.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 c=s[1];c.def&&c.defId&&(c.def.id===c.defId&&delete c.def.id,a[c.defId]=c.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:En(t,"input",e.processors),output:En(t,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}function qe(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 qe(i.element,r);if(i.type==="set")return qe(i.valueType,r);if(i.type==="lazy")return qe(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 qe(i.innerType,r);if(i.type==="intersection")return qe(i.left,r)||qe(i.right,r);if(i.type==="record"||i.type==="map")return qe(i.keyType,r)||qe(i.valueType,r);if(i.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:qe(i.in,r)||qe(i.out,r);if(i.type==="object"){for(const n in i.shape)if(qe(i.shape[n],r))return!0;return!1}if(i.type==="union"){for(const n of i.options)if(qe(n,r))return!0;return!1}if(i.type==="tuple"){for(const n of i.items)if(qe(n,r))return!0;return!!(i.rest&&qe(i.rest,r))}return!1}const sh=(e,t={})=>r=>{const i=Yt({...r,processors:t});return ye(e,i),Xt(i,e),Qt(i,e)},En=(e,t,r={})=>i=>{const{libraryOptions:n,target:o}=i??{},a=Yt({...n??{},target:o,io:t,processors:r});return ye(e,a),Xt(a,e),Qt(a,e)},r0={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},ch=(e,t,r,i)=>{const n=r;n.type="string";const{minimum:o,maximum:a,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof o=="number"&&(n.minLength=o),typeof a=="number"&&(n.maxLength=a),s&&(n.format=r0[s]??s,n.format===""&&delete n.format,s==="time"&&delete n.format),l&&(n.contentEncoding=l),c&&c.size>0){const d=[...c];d.length===1?n.pattern=d[0].source:d.length>1&&(n.allOf=[...d.map(f=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:f.source}))])}},lh=(e,t,r,i)=>{const n=r,{minimum:o,maximum:a,format:s,multipleOf:c,exclusiveMaximum:l,exclusiveMinimum:d}=e._zod.bag;typeof s=="string"&&s.includes("int")?n.type="integer":n.type="number";const f=typeof d=="number"&&d>=(o??Number.NEGATIVE_INFINITY),p=typeof l=="number"&&l<=(a??Number.POSITIVE_INFINITY),m=t.target==="draft-04"||t.target==="openapi-3.0";f?m?(n.minimum=d,n.exclusiveMinimum=!0):n.exclusiveMinimum=d:typeof o=="number"&&(n.minimum=o),p?m?(n.maximum=l,n.exclusiveMaximum=!0):n.exclusiveMaximum=l:typeof a=="number"&&(n.maximum=a),typeof c=="number"&&(n.multipleOf=c)},uh=(e,t,r,i)=>{r.type="boolean"},dh=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema")},ph=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema")},fh=(e,t,r,i)=>{t.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},mh=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Undefined cannot be represented in JSON Schema")},hh=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema")},gh=(e,t,r,i)=>{r.not={}},vh=(e,t,r,i)=>{},bh=(e,t,r,i)=>{},_h=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema")},yh=(e,t,r,i)=>{const n=e._zod.def,o=Ra(n.entries);o.every(a=>typeof a=="number")&&(r.type="number"),o.every(a=>typeof a=="string")&&(r.type="string"),r.enum=o},kh=(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},$h=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema")},xh=(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},wh=(e,t,r,i)=>{const n=r,o={type:"string",format:"binary",contentEncoding:"binary"},{minimum:a,maximum:s,mime:c}=e._zod.bag;a!==void 0&&(o.minLength=a),s!==void 0&&(o.maxLength=s),c?c.length===1?(o.contentMediaType=c[0],Object.assign(n,o)):(Object.assign(n,o),n.anyOf=c.map(l=>({contentMediaType:l}))):Object.assign(n,o)},Sh=(e,t,r,i)=>{r.type="boolean"},Ih=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},zh=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Function types cannot be represented in JSON Schema")},Th=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},Ph=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema")},jh=(e,t,r,i)=>{if(t.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema")},Dh=(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=ye(o.element,t,{...i,path:[...i.path,"items"]})},Eh=(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]=ye(a[l],t,{...i,path:[...i.path,"properties",l]});const s=new Set(Object.keys(a)),c=new Set([...s].filter(l=>{const d=o.shape[l]._zod;return t.io==="input"?d.optin===void 0:d.optout===void 0}));c.size>0&&(n.required=Array.from(c)),o.catchall?._zod.def.type==="never"?n.additionalProperties=!1:o.catchall?o.catchall&&(n.additionalProperties=ye(o.catchall,t,{...i,path:[...i.path,"additionalProperties"]})):t.io==="output"&&(n.additionalProperties=!1)},As=(e,t,r,i)=>{const n=e._zod.def,o=n.inclusive===!1,a=n.options.map((s,c)=>ye(s,t,{...i,path:[...i.path,o?"oneOf":"anyOf",c]}));o?r.oneOf=a:r.anyOf=a},Oh=(e,t,r,i)=>{const n=e._zod.def,o=ye(n.left,t,{...i,path:[...i.path,"allOf",0]}),a=ye(n.right,t,{...i,path:[...i.path,"allOf",1]}),s=l=>"allOf"in l&&Object.keys(l).length===1,c=[...s(o)?o.allOf:[o],...s(a)?a.allOf:[a]];r.allOf=c},Ch=(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",c=o.items.map((p,m)=>ye(p,t,{...i,path:[...i.path,a,m]})),l=o.rest?ye(o.rest,t,{...i,path:[...i.path,s,...t.target==="openapi-3.0"?[o.items.length]:[]]}):null;t.target==="draft-2020-12"?(n.prefixItems=c,l&&(n.items=l)):t.target==="openapi-3.0"?(n.items={anyOf:c},l&&n.items.anyOf.push(l),n.minItems=c.length,l||(n.maxItems=c.length)):(n.items=c,l&&(n.additionalItems=l));const{minimum:d,maximum:f}=e._zod.bag;typeof d=="number"&&(n.minItems=d),typeof f=="number"&&(n.maxItems=f)},Nh=(e,t,r,i)=>{const n=r,o=e._zod.def;n.type="object";const a=o.keyType,c=a._zod.bag?.patterns;if(o.mode==="loose"&&c&&c.size>0){const d=ye(o.valueType,t,{...i,path:[...i.path,"patternProperties","*"]});n.patternProperties={};for(const f of c)n.patternProperties[f.source]=d}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(n.propertyNames=ye(o.keyType,t,{...i,path:[...i.path,"propertyNames"]})),n.additionalProperties=ye(o.valueType,t,{...i,path:[...i.path,"additionalProperties"]});const l=a._zod.values;if(l){const d=[...l].filter(f=>typeof f=="string"||typeof f=="number");d.length>0&&(n.required=d)}},Ah=(e,t,r,i)=>{const n=e._zod.def,o=ye(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"}]},Uh=(e,t,r,i)=>{const n=e._zod.def;ye(n.innerType,t,i);const o=t.seen.get(e);o.ref=n.innerType},Rh=(e,t,r,i)=>{const n=e._zod.def;ye(n.innerType,t,i);const o=t.seen.get(e);o.ref=n.innerType,r.default=JSON.parse(JSON.stringify(n.defaultValue))},Lh=(e,t,r,i)=>{const n=e._zod.def;ye(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)))},Zh=(e,t,r,i)=>{const n=e._zod.def;ye(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},Mh=(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;ye(a,t,i);const s=t.seen.get(e);s.ref=a},Fh=(e,t,r,i)=>{const n=e._zod.def;ye(n.innerType,t,i);const o=t.seen.get(e);o.ref=n.innerType,r.readOnly=!0},qh=(e,t,r,i)=>{const n=e._zod.def;ye(n.innerType,t,i);const o=t.seen.get(e);o.ref=n.innerType},Us=(e,t,r,i)=>{const n=e._zod.def;ye(n.innerType,t,i);const o=t.seen.get(e);o.ref=n.innerType},Jh=(e,t,r,i)=>{const n=e._zod.innerType;ye(n,t,i);const o=t.seen.get(e);o.ref=n},Ia={string:ch,number:lh,boolean:uh,bigint:dh,symbol:ph,null:fh,undefined:mh,void:hh,never:gh,any:vh,unknown:bh,date:_h,enum:yh,literal:kh,nan:$h,template_literal:xh,file:wh,success:Sh,custom:Ih,function:zh,transform:Th,map:Ph,set:jh,array:Dh,object:Eh,union:As,intersection:Oh,tuple:Ch,record:Nh,nullable:Ah,nonoptional:Uh,default:Rh,prefault:Lh,catch:Zh,pipe:Mh,readonly:Fh,promise:qh,optional:Us,lazy:Jh};function Rs(e,t){if("_idmap"in e){const i=e,n=Yt({...t,processors:Ia}),o={};for(const c of i._idmap.entries()){const[l,d]=c;ye(d,n)}const a={},s={registry:i,uri:t?.uri,defs:o};n.external=s;for(const c of i._idmap.entries()){const[l,d]=c;Xt(n,d),a[l]=Qt(n,d)}if(Object.keys(o).length>0){const c=n.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[c]:o}}return{schemas:a}}const r=Yt({...t,processors:Ia});return ye(e,r),Xt(r,e),Qt(r,e)}class o0{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=Yt({processors:Ia,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 ye(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)),Xt(this.ctx,t);const i=Qt(this.ctx,t),{"~standard":n,...o}=i;return o}}const i0=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Hh=Object.freeze(Object.defineProperty({__proto__:null,$ZodAny:Uf,$ZodArray:Ff,$ZodAsyncError:jt,$ZodBase64:Sf,$ZodBase64URL:zf,$ZodBigInt:ss,$ZodBigIntFormat:Of,$ZodBoolean:as,$ZodCIDRv4:xf,$ZodCIDRv6:wf,$ZodCUID:df,$ZodCUID2:pf,$ZodCatch:lm,$ZodCheck:Ie,$ZodCheckBigIntFormat:Zp,$ZodCheckEndsWith:Xp,$ZodCheckGreaterThan:rs,$ZodCheckIncludes:Gp,$ZodCheckLengthEquals:Bp,$ZodCheckLessThan:ns,$ZodCheckLowerCase:Kp,$ZodCheckMaxLength:Jp,$ZodCheckMaxSize:Mp,$ZodCheckMimeType:ef,$ZodCheckMinLength:Hp,$ZodCheckMinSize:Fp,$ZodCheckMultipleOf:Rp,$ZodCheckNumberFormat:Lp,$ZodCheckOverwrite:tf,$ZodCheckProperty:Qp,$ZodCheckRegex:Vp,$ZodCheckSizeEquals:qp,$ZodCheckStartsWith:Yp,$ZodCheckStringFormat:Gn,$ZodCheckUpperCase:Wp,$ZodCodec:ds,$ZodCustom:vm,$ZodCustomStringFormat:Df,$ZodDate:Mf,$ZodDefault:im,$ZodDiscriminatedUnion:Kf,$ZodE164:Tf,$ZodEmail:sf,$ZodEmoji:lf,$ZodEncodeError:Ao,$ZodEnum:Qf,$ZodError:Ma,$ZodExactOptional:rm,$ZodFile:tm,$ZodFunction:mm,$ZodGUID:of,$ZodIPv4:yf,$ZodIPv6:kf,$ZodISODate:vf,$ZodISODateTime:gf,$ZodISODuration:_f,$ZodISOTime:bf,$ZodIntersection:Wf,$ZodJWT:jf,$ZodKSUID:hf,$ZodLazy:gm,$ZodLiteral:em,$ZodMAC:$f,$ZodMap:Yf,$ZodNaN:um,$ZodNanoID:uf,$ZodNever:Lf,$ZodNonOptional:sm,$ZodNull:Af,$ZodNullable:om,$ZodNumber:is,$ZodNumberFormat:Ef,$ZodObject:Hf,$ZodObjectJIT:Bf,$ZodOptional:ls,$ZodPipe:us,$ZodPrefault:am,$ZodPreprocess:dm,$ZodPromise:hm,$ZodReadonly:pm,$ZodRealError:Ye,$ZodRecord:Gf,$ZodRegistry:km,$ZodSet:Xf,$ZodString:Yn,$ZodStringFormat:we,$ZodSuccess:cm,$ZodSymbol:Cf,$ZodTemplateLiteral:fm,$ZodTransform:nm,$ZodTuple:cs,$ZodType:re,$ZodULID:ff,$ZodURL:cf,$ZodUUID:af,$ZodUndefined:Nf,$ZodUnion:Jo,$ZodUnknown:Rf,$ZodVoid:Zf,$ZodXID:mf,$ZodXor:Vf,$brand:Ua,$constructor:v,$input:ms,$output:fs,Doc:nf,JSONSchema:i0,JSONSchemaGenerator:o0,NEVER:Aa,TimePrecision:Ns,_any:Hm,_array:Xm,_base64:Ds,_base64url:Es,_bigint:Rm,_boolean:Am,_catch:Yy,_check:rh,_cidrv4:Ps,_cidrv6:js,_coercedBigint:Lm,_coercedBoolean:Um,_coercedDate:Gm,_coercedNumber:jm,_coercedString:xm,_cuid:$s,_cuid2:xs,_custom:eh,_date:Wm,_decode:Ba,_decodeAsync:Ka,_default:Ky,_discriminatedUnion:Ay,_e164:Os,_email:hs,_emoji:ys,_encode:Ha,_encodeAsync:Va,_endsWith:rr,_enum:Fy,_file:Qm,_float32:Em,_float64:Om,_gt:vt,_gte:Je,_guid:_o,_includes:tr,_int:Dm,_int32:Cm,_int64:Zm,_intersection:Uy,_ipv4:zs,_ipv6:Ts,_isoDate:Im,_isoDateTime:Sm,_isoDuration:Tm,_isoTime:zm,_jwt:Cs,_ksuid:Is,_lazy:t0,_length:un,_literal:Jy,_lowercase:Qn,_lt:gt,_lte:Ke,_mac:wm,_map:Zy,_max:Ke,_maxLength:ln,_maxSize:Mt,_mime:or,_min:Je,_minLength:$t,_minSize:bt,_multipleOf:Ct,_nan:Ym,_nanoid:ks,_nativeEnum:qy,_negative:Ko,_never:Vm,_nonnegative:Go,_nonoptional:Wy,_nonpositive:Wo,_normalize:ir,_null:Jm,_nullable:Vy,_number:Pm,_optional:By,_overwrite:pt,_parse:Jn,_parseAsync:Hn,_pipe:Xy,_positive:Vo,_promise:n0,_property:Yo,_readonly:Qy,_record:Ly,_refine:th,_regex:Xn,_safeDecode:Ga,_safeDecodeAsync:Xa,_safeEncode:Wa,_safeEncodeAsync:Ya,_safeParse:Bn,_safeParseAsync:Vn,_set:My,_size:cn,_slugify:lr,_startsWith:nr,_string:$m,_stringFormat:ur,_stringbool:ah,_success:Gy,_superRefine:nh,_symbol:Fm,_templateLiteral:e0,_toLowerCase:sr,_toUpperCase:cr,_transform:Hy,_trim:ar,_tuple:Ry,_uint32:Nm,_uint64:Mm,_ulid:ws,_undefined:qm,_union:Cy,_unknown:Bm,_uppercase:er,_url:Bo,_uuid:gs,_uuidv4:vs,_uuidv6:bs,_uuidv7:_s,_void:Km,_xid:Ss,_xor:Ny,clone:Ge,config:Oe,createStandardJSONSchemaMethod:En,createToJSONSchemaMethod:sh,decode:pb,decodeAsync:mb,describe:oh,encode:db,encodeAsync:fb,extractDefs:Xt,finalize:Qt,flattenError:Mo,formatError:Fo,globalConfig:Dn,globalRegistry:Ve,initializeContext:Yt,isValidBase64:os,isValidBase64URL:If,isValidJWT:Pf,locales:ps,meta:ih,parse:xa,parseAsync:wa,prettifyError:qa,process:ye,regexes:qo,registry:Ho,safeDecode:gb,safeDecodeAsync:bb,safeEncode:hb,safeEncodeAsync:vb,safeParse:Ja,safeParseAsync:np,toDotPath:tp,toJSONSchema:Rs,treeifyError:Fa,util:Za,version:rf},Symbol.toStringTag,{value:"Module"}));function Ls(e){return!!e._zod}function Bh(e,t){return Ls(e)?Ja(e,t):e.safeParse(t)}function a0(e){if(!e)return;let t;if(Ls(e)?t=e._zod?.def?.shape:t=e.shape,!!t){if(typeof t=="function")try{return t()}catch{return}return t}}function s0(e){if(Ls(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 c0=Object.freeze(Object.defineProperty({__proto__:null,endsWith:rr,gt:vt,gte:Je,includes:tr,length:un,lowercase:Qn,lt:gt,lte:Ke,maxLength:ln,maxSize:Mt,mime:or,minLength:$t,minSize:bt,multipleOf:Ct,negative:Ko,nonnegative:Go,nonpositive:Wo,normalize:ir,overwrite:pt,positive:Vo,property:Yo,regex:Xn,size:cn,slugify:lr,startsWith:nr,toLowerCase:sr,toUpperCase:cr,trim:ar,uppercase:er},Symbol.toStringTag,{value:"Module"})),Xo=v("ZodISODateTime",(e,t)=>{gf.init(e,t),ke.init(e,t)});function Zs(e){return Sm(Xo,e)}const Qo=v("ZodISODate",(e,t)=>{vf.init(e,t),ke.init(e,t)});function Vh(e){return Im(Qo,e)}const ei=v("ZodISOTime",(e,t)=>{bf.init(e,t),ke.init(e,t)});function Kh(e){return zm(ei,e)}const ti=v("ZodISODuration",(e,t)=>{_f.init(e,t),ke.init(e,t)});function Wh(e){return Tm(ti,e)}const Ms=Object.freeze(Object.defineProperty({__proto__:null,ZodISODate:Qo,ZodISODateTime:Xo,ZodISODuration:ti,ZodISOTime:ei,date:Vh,datetime:Zs,duration:Wh,time:Kh},Symbol.toStringTag,{value:"Module"})),Gh=(e,t)=>{Ma.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>Fo(e,r)},flatten:{value:r=>Mo(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,go,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,go,2)}},isEmpty:{get(){return e.issues.length===0}}})},Yh=v("ZodError",Gh),Be=v("ZodError",Gh,{Parent:Error}),Fs=Jn(Be),qs=Hn(Be),Js=Bn(Be),Hs=Vn(Be),Bs=Ha(Be),Vs=Ba(Be),Ks=Va(Be),Ws=Ka(Be),Gs=Wa(Be),Ys=Ga(Be),Xs=Ya(Be),Qs=Xa(Be),Tu=new WeakMap;function dr(e,t,r){const i=Object.getPrototypeOf(e);let n=Tu.get(i);if(n||(n=new Set,Tu.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 ie=v("ZodType",(e,t)=>(re.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:En(e,"input"),output:En(e,"output")}}),e.toJSONSchema=sh(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.parse=(r,i)=>Fs(e,r,i,{callee:e.parse}),e.safeParse=(r,i)=>Js(e,r,i),e.parseAsync=async(r,i)=>qs(e,r,i,{callee:e.parseAsync}),e.safeParseAsync=async(r,i)=>Hs(e,r,i),e.spa=e.safeParseAsync,e.encode=(r,i)=>Bs(e,r,i),e.decode=(r,i)=>Vs(e,r,i),e.encodeAsync=async(r,i)=>Ks(e,r,i),e.decodeAsync=async(r,i)=>Ws(e,r,i),e.safeEncode=(r,i)=>Gs(e,r,i),e.safeDecode=(r,i)=>Ys(e,r,i),e.safeEncodeAsync=async(r,i)=>Xs(e,r,i),e.safeDecodeAsync=async(r,i)=>Qs(e,r,i),dr(e,"ZodType",{check(...r){const i=this.def;return this.clone(dt(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 Ge(this,r,i)},brand(){return this},register(r,i){return r.add(this,i),this},refine(r,i){return this.check(Fi(r,i))},superRefine(r,i){return this.check(qi(r,i))},overwrite(r){return this.check(pt(r))},optional(){return xe(this)},exactOptional(){return $i(this)},nullable(){return nn(this)},nullish(){return xe(nn(this))},nonoptional(r){return Ti(this,r)},array(){return G(this)},or(r){return ce([this,r])},and(r){return bn(this,r)},transform(r){return Cn(this,Cr(r))},default(r){return Si(this,r)},prefault(r){return zi(this,r)},catch(r){return Di(this,r)},pipe(r){return Cn(this,r)},readonly(){return Ni(this)},describe(r){const i=this.clone();return Ve.add(i,{description:r}),i},meta(...r){if(r.length===0)return Ve.get(this);const i=this.clone();return Ve.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 Ve.get(e)?.description},configurable:!0}),e)),pr=v("_ZodString",(e,t)=>{Yn.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(i,n,o)=>ch(e,i,n);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,dr(e,"_ZodString",{regex(...i){return this.check(Xn(...i))},includes(...i){return this.check(tr(...i))},startsWith(...i){return this.check(nr(...i))},endsWith(...i){return this.check(rr(...i))},min(...i){return this.check($t(...i))},max(...i){return this.check(ln(...i))},length(...i){return this.check(un(...i))},nonempty(...i){return this.check($t(1,...i))},lowercase(i){return this.check(Qn(i))},uppercase(i){return this.check(er(i))},trim(){return this.check(ar())},normalize(...i){return this.check(ir(...i))},toLowerCase(){return this.check(sr())},toUpperCase(){return this.check(cr())},slugify(){return this.check(lr())}})}),dn=v("ZodString",(e,t)=>{Yn.init(e,t),pr.init(e,t),e.email=r=>e.check(hs(fr,r)),e.url=r=>e.check(Bo(pn,r)),e.jwt=r=>e.check(Cs(Tr,r)),e.emoji=r=>e.check(ys(mr,r)),e.guid=r=>e.check(_o(en,r)),e.uuid=r=>e.check(gs(it,r)),e.uuidv4=r=>e.check(vs(it,r)),e.uuidv6=r=>e.check(bs(it,r)),e.uuidv7=r=>e.check(_s(it,r)),e.nanoid=r=>e.check(ks(hr,r)),e.guid=r=>e.check(_o(en,r)),e.cuid=r=>e.check($s(gr,r)),e.cuid2=r=>e.check(xs(vr,r)),e.ulid=r=>e.check(ws(br,r)),e.base64=r=>e.check(Ds(Sr,r)),e.base64url=r=>e.check(Es(Ir,r)),e.xid=r=>e.check(Ss(_r,r)),e.ksuid=r=>e.check(Is(yr,r)),e.ipv4=r=>e.check(zs(kr,r)),e.ipv6=r=>e.check(Ts($r,r)),e.cidrv4=r=>e.check(Ps(xr,r)),e.cidrv6=r=>e.check(js(wr,r)),e.e164=r=>e.check(Os(zr,r)),e.datetime=r=>e.check(Zs(r)),e.date=r=>e.check(Vh(r)),e.time=r=>e.check(Kh(r)),e.duration=r=>e.check(Wh(r))});function b(e){return $m(dn,e)}const ke=v("ZodStringFormat",(e,t)=>{we.init(e,t),pr.init(e,t)}),fr=v("ZodEmail",(e,t)=>{sf.init(e,t),ke.init(e,t)});function ec(e){return hs(fr,e)}const en=v("ZodGUID",(e,t)=>{of.init(e,t),ke.init(e,t)});function tc(e){return _o(en,e)}const it=v("ZodUUID",(e,t)=>{af.init(e,t),ke.init(e,t)});function nc(e){return gs(it,e)}function rc(e){return vs(it,e)}function oc(e){return bs(it,e)}function ic(e){return _s(it,e)}const pn=v("ZodURL",(e,t)=>{cf.init(e,t),ke.init(e,t)});function ac(e){return Bo(pn,e)}function sc(e){return Bo(pn,{protocol:es,hostname:kp,...j(e)})}const mr=v("ZodEmoji",(e,t)=>{lf.init(e,t),ke.init(e,t)});function cc(e){return ys(mr,e)}const hr=v("ZodNanoID",(e,t)=>{uf.init(e,t),ke.init(e,t)});function lc(e){return ks(hr,e)}const gr=v("ZodCUID",(e,t)=>{df.init(e,t),ke.init(e,t)});function uc(e){return $s(gr,e)}const vr=v("ZodCUID2",(e,t)=>{pf.init(e,t),ke.init(e,t)});function dc(e){return xs(vr,e)}const br=v("ZodULID",(e,t)=>{ff.init(e,t),ke.init(e,t)});function pc(e){return ws(br,e)}const _r=v("ZodXID",(e,t)=>{mf.init(e,t),ke.init(e,t)});function fc(e){return Ss(_r,e)}const yr=v("ZodKSUID",(e,t)=>{hf.init(e,t),ke.init(e,t)});function mc(e){return Is(yr,e)}const kr=v("ZodIPv4",(e,t)=>{yf.init(e,t),ke.init(e,t)});function hc(e){return zs(kr,e)}const ni=v("ZodMAC",(e,t)=>{$f.init(e,t),ke.init(e,t)});function gc(e){return wm(ni,e)}const $r=v("ZodIPv6",(e,t)=>{kf.init(e,t),ke.init(e,t)});function vc(e){return Ts($r,e)}const xr=v("ZodCIDRv4",(e,t)=>{xf.init(e,t),ke.init(e,t)});function bc(e){return Ps(xr,e)}const wr=v("ZodCIDRv6",(e,t)=>{wf.init(e,t),ke.init(e,t)});function _c(e){return js(wr,e)}const Sr=v("ZodBase64",(e,t)=>{Sf.init(e,t),ke.init(e,t)});function yc(e){return Ds(Sr,e)}const Ir=v("ZodBase64URL",(e,t)=>{zf.init(e,t),ke.init(e,t)});function kc(e){return Es(Ir,e)}const zr=v("ZodE164",(e,t)=>{Tf.init(e,t),ke.init(e,t)});function $c(e){return Os(zr,e)}const Tr=v("ZodJWT",(e,t)=>{jf.init(e,t),ke.init(e,t)});function xc(e){return Cs(Tr,e)}const Ft=v("ZodCustomStringFormat",(e,t)=>{Df.init(e,t),ke.init(e,t)});function wc(e,t,r={}){return ur(Ft,e,t,r)}function Sc(e){return ur(Ft,"hostname",yp,e)}function Ic(e){return ur(Ft,"hex",Ap,e)}function zc(e,t){const r=t?.enc??"hex",i=`${e}_${r}`,n=qo[i];if(!n)throw new Error(`Unrecognized hash format: ${i}`);return ur(Ft,i,n,t)}const fn=v("ZodNumber",(e,t)=>{is.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(i,n,o)=>lh(e,i,n),dr(e,"ZodNumber",{gt(i,n){return this.check(vt(i,n))},gte(i,n){return this.check(Je(i,n))},min(i,n){return this.check(Je(i,n))},lt(i,n){return this.check(gt(i,n))},lte(i,n){return this.check(Ke(i,n))},max(i,n){return this.check(Ke(i,n))},int(i){return this.check(On(i))},safe(i){return this.check(On(i))},positive(i){return this.check(vt(0,i))},nonnegative(i){return this.check(Je(0,i))},negative(i){return this.check(gt(0,i))},nonpositive(i){return this.check(Ke(0,i))},multipleOf(i,n){return this.check(Ct(i,n))},step(i,n){return this.check(Ct(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 oe(e){return Pm(fn,e)}const It=v("ZodNumberFormat",(e,t)=>{Ef.init(e,t),fn.init(e,t)});function On(e){return Dm(It,e)}function Tc(e){return Em(It,e)}function Pc(e){return Om(It,e)}function jc(e){return Cm(It,e)}function Dc(e){return Nm(It,e)}const mn=v("ZodBoolean",(e,t)=>{as.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>uh(e,r,i)});function be(e){return Am(mn,e)}const hn=v("ZodBigInt",(e,t)=>{ss.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(i,n,o)=>dh(e,i),e.gte=(i,n)=>e.check(Je(i,n)),e.min=(i,n)=>e.check(Je(i,n)),e.gt=(i,n)=>e.check(vt(i,n)),e.gte=(i,n)=>e.check(Je(i,n)),e.min=(i,n)=>e.check(Je(i,n)),e.lt=(i,n)=>e.check(gt(i,n)),e.lte=(i,n)=>e.check(Ke(i,n)),e.max=(i,n)=>e.check(Ke(i,n)),e.positive=i=>e.check(vt(BigInt(0),i)),e.negative=i=>e.check(gt(BigInt(0),i)),e.nonpositive=i=>e.check(Ke(BigInt(0),i)),e.nonnegative=i=>e.check(Je(BigInt(0),i)),e.multipleOf=(i,n)=>e.check(Ct(i,n));const r=e._zod.bag;e.minValue=r.minimum??null,e.maxValue=r.maximum??null,e.format=r.format??null});function Ec(e){return Rm(hn,e)}const Pr=v("ZodBigIntFormat",(e,t)=>{Of.init(e,t),hn.init(e,t)});function Oc(e){return Zm(Pr,e)}function Cc(e){return Mm(Pr,e)}const ri=v("ZodSymbol",(e,t)=>{Cf.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>ph(e,r)});function Nc(e){return Fm(ri,e)}const oi=v("ZodUndefined",(e,t)=>{Nf.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>mh(e,r)});function tn(e){return qm(oi,e)}const ii=v("ZodNull",(e,t)=>{Af.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>fh(e,r,i)});function jr(e){return Jm(ii,e)}const ai=v("ZodAny",(e,t)=>{Uf.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>vh()});function Dr(){return Hm(ai)}const si=v("ZodUnknown",(e,t)=>{Rf.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>bh()});function ge(){return Bm(si)}const ci=v("ZodNever",(e,t)=>{Lf.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>gh(e,r,i)});function Nt(e){return Vm(ci,e)}const li=v("ZodVoid",(e,t)=>{Zf.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>hh(e,r)});function Ac(e){return Km(li,e)}const Er=v("ZodDate",(e,t)=>{Mf.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(i,n,o)=>_h(e,i),e.min=(i,n)=>e.check(Je(i,n)),e.max=(i,n)=>e.check(Ke(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 Uc(e){return Wm(Er,e)}const ui=v("ZodArray",(e,t)=>{Ff.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Dh(e,r,i,n),e.element=t.element,dr(e,"ZodArray",{min(r,i){return this.check($t(r,i))},nonempty(r){return this.check($t(1,r))},max(r,i){return this.check(ln(r,i))},length(r,i){return this.check(un(r,i))},unwrap(){return this.element}})});function G(e,t){return Xm(ui,e,t)}function Rc(e){const t=e._zod.def.shape;return Re(Object.keys(t))}const gn=v("ZodObject",(e,t)=>{Bf.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Eh(e,r,i,n),se(e,"shape",()=>t.shape),dr(e,"ZodObject",{keyof(){return Re(Object.keys(this._zod.def.shape))},catchall(r){return this.clone({...this._zod.def,catchall:r})},passthrough(){return this.clone({...this._zod.def,catchall:ge()})},loose(){return this.clone({...this._zod.def,catchall:ge()})},strict(){return this.clone({...this._zod.def,catchall:Nt()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(r){return Bd(this,r)},safeExtend(r){return Vd(this,r)},merge(r){return Kd(this,r)},pick(r){return Jd(this,r)},omit(r){return Hd(this,r)},partial(...r){return Wd(Nr,this,r[0])},required(...r){return Gd(Ar,this,r[0])}})});function w(e,t){const r={type:"object",shape:e??{},...j(t)};return new gn(r)}function Lc(e,t){return new gn({type:"object",shape:e,catchall:Nt(),...j(t)})}function Ue(e,t){return new gn({type:"object",shape:e,catchall:ge(),...j(t)})}const vn=v("ZodUnion",(e,t)=>{Jo.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>As(e,r,i,n),e.options=t.options});function ce(e,t){return new vn({type:"union",options:e,...j(t)})}const di=v("ZodXor",(e,t)=>{vn.init(e,t),Vf.init(e,t),e._zod.processJSONSchema=(r,i,n)=>As(e,r,i,n),e.options=t.options});function Zc(e,t){return new di({type:"union",options:e,inclusive:!1,...j(t)})}const pi=v("ZodDiscriminatedUnion",(e,t)=>{vn.init(e,t),Kf.init(e,t)});function Or(e,t,r){return new pi({type:"union",options:t,discriminator:e,...j(r)})}const fi=v("ZodIntersection",(e,t)=>{Wf.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Oh(e,r,i,n)});function bn(e,t){return new fi({type:"intersection",left:e,right:t})}const mi=v("ZodTuple",(e,t)=>{cs.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ch(e,r,i,n),e.rest=r=>e.clone({...e._zod.def,rest:r})});function hi(e,t,r){const i=t instanceof re,n=i?r:t,o=i?t:null;return new mi({type:"tuple",items:e,rest:o,...j(n)})}const At=v("ZodRecord",(e,t)=>{Gf.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Nh(e,r,i,n),e.keyType=t.keyType,e.valueType=t.valueType});function ue(e,t,r){return!t||!t._zod?new At({type:"record",keyType:b(),valueType:e,...j(t)}):new At({type:"record",keyType:e,valueType:t,...j(r)})}function Mc(e,t,r){const i=Ge(e);return i._zod.values=void 0,new At({type:"record",keyType:i,valueType:t,...j(r)})}function Fc(e,t,r){return new At({type:"record",keyType:e,valueType:t,mode:"loose",...j(r)})}const gi=v("ZodMap",(e,t)=>{Yf.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ph(e,r),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...r)=>e.check(bt(...r)),e.nonempty=r=>e.check(bt(1,r)),e.max=(...r)=>e.check(Mt(...r)),e.size=(...r)=>e.check(cn(...r))});function qc(e,t,r){return new gi({type:"map",keyType:e,valueType:t,...j(r)})}const vi=v("ZodSet",(e,t)=>{Xf.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>jh(e,r),e.min=(...r)=>e.check(bt(...r)),e.nonempty=r=>e.check(bt(1,r)),e.max=(...r)=>e.check(Mt(...r)),e.size=(...r)=>e.check(cn(...r))});function Jc(e,t){return new vi({type:"set",valueType:e,...j(t)})}const Ut=v("ZodEnum",(e,t)=>{Qf.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(i,n,o)=>yh(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 Ut({...t,checks:[],...j(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 Ut({...t,checks:[],...j(n),entries:o})}});function Re(e,t){const r=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new Ut({type:"enum",entries:r,...j(t)})}function Hc(e,t){return new Ut({type:"enum",entries:e,...j(t)})}const bi=v("ZodLiteral",(e,t)=>{em.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>kh(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 y(e,t){return new bi({type:"literal",values:Array.isArray(e)?e:[e],...j(t)})}const _i=v("ZodFile",(e,t)=>{tm.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>wh(e,r,i),e.min=(r,i)=>e.check(bt(r,i)),e.max=(r,i)=>e.check(Mt(r,i)),e.mime=(r,i)=>e.check(or(Array.isArray(r)?r:[r],i))});function Bc(e){return Qm(_i,e)}const yi=v("ZodTransform",(e,t)=>{nm.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Th(e,r),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Ao(e.constructor.name);r.addIssue=o=>{if(typeof o=="string")r.issues.push(Wt(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(Wt(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 Cr(e){return new yi({type:"transform",transform:e})}const Nr=v("ZodOptional",(e,t)=>{ls.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Us(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function xe(e){return new Nr({type:"optional",innerType:e})}const ki=v("ZodExactOptional",(e,t)=>{rm.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Us(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function $i(e){return new ki({type:"optional",innerType:e})}const xi=v("ZodNullable",(e,t)=>{om.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ah(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function nn(e){return new xi({type:"nullable",innerType:e})}function Vc(e){return xe(nn(e))}const wi=v("ZodDefault",(e,t)=>{im.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Rh(e,r,i,n),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Si(e,t){return new wi({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():Ro(t)}})}const Ii=v("ZodPrefault",(e,t)=>{am.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Lh(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function zi(e,t){return new Ii({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():Ro(t)}})}const Ar=v("ZodNonOptional",(e,t)=>{sm.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Uh(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Ti(e,t){return new Ar({type:"nonoptional",innerType:e,...j(t)})}const Pi=v("ZodSuccess",(e,t)=>{cm.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Sh(e,r,i),e.unwrap=()=>e._zod.def.innerType});function Kc(e){return new Pi({type:"success",innerType:e})}const ji=v("ZodCatch",(e,t)=>{lm.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Zh(e,r,i,n),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Di(e,t){return new ji({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const Ei=v("ZodNaN",(e,t)=>{um.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>$h(e,r)});function Wc(e){return Ym(Ei,e)}const _n=v("ZodPipe",(e,t)=>{us.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Mh(e,r,i,n),e.in=t.in,e.out=t.out});function Cn(e,t){return new _n({type:"pipe",in:e,out:t})}const yn=v("ZodCodec",(e,t)=>{_n.init(e,t),ds.init(e,t)});function Gc(e,t,r){return new yn({type:"pipe",in:e,out:t,transform:r.decode,reverseTransform:r.encode})}function Yc(e){const t=e._zod.def;return new yn({type:"pipe",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}const Oi=v("ZodPreprocess",(e,t)=>{_n.init(e,t),dm.init(e,t)}),Ci=v("ZodReadonly",(e,t)=>{pm.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Fh(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Ni(e){return new Ci({type:"readonly",innerType:e})}const Ai=v("ZodTemplateLiteral",(e,t)=>{fm.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>xh(e,r,i)});function Xc(e,t){return new Ai({type:"template_literal",parts:e,...j(t)})}const Ui=v("ZodLazy",(e,t)=>{gm.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Jh(e,r,i,n),e.unwrap=()=>e._zod.def.getter()});function Ri(e){return new Ui({type:"lazy",getter:e})}const Li=v("ZodPromise",(e,t)=>{hm.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>qh(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Qc(e){return new Li({type:"promise",innerType:e})}const Zi=v("ZodFunction",(e,t)=>{mm.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>zh(e,r)});function rn(e){return new Zi({type:"function",input:Array.isArray(e?.input)?hi(e?.input):e?.input??G(ge()),output:e?.output??ge()})}const kn=v("ZodCustom",(e,t)=>{vm.init(e,t),ie.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ih(e,r)});function el(e){const t=new Ie({check:"custom"});return t._zod.check=e,t}function Mi(e,t){return eh(kn,e??(()=>!0),t)}function Fi(e,t={}){return th(kn,e,t)}function qi(e,t){return nh(e,t)}const tl=oh,nl=ih;function rl(e,t={}){const r=new kn({type:"custom",check:"custom",fn:i=>i instanceof e,abort:!0,...j(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 ol=(...e)=>ah({Codec:yn,Boolean:mn,String:dn},...e);function il(e){const t=Ri(()=>ce([b(e),oe(),be(),jr(),G(t),ue(b(),t)]));return t}function Ur(e,t){return new Oi({type:"pipe",in:Cr(e),out:t})}const l0=Object.freeze(Object.defineProperty({__proto__:null,ZodAny:ai,ZodArray:ui,ZodBase64:Sr,ZodBase64URL:Ir,ZodBigInt:hn,ZodBigIntFormat:Pr,ZodBoolean:mn,ZodCIDRv4:xr,ZodCIDRv6:wr,ZodCUID:gr,ZodCUID2:vr,ZodCatch:ji,ZodCodec:yn,ZodCustom:kn,ZodCustomStringFormat:Ft,ZodDate:Er,ZodDefault:wi,ZodDiscriminatedUnion:pi,ZodE164:zr,ZodEmail:fr,ZodEmoji:mr,ZodEnum:Ut,ZodExactOptional:ki,ZodFile:_i,ZodFunction:Zi,ZodGUID:en,ZodIPv4:kr,ZodIPv6:$r,ZodIntersection:fi,ZodJWT:Tr,ZodKSUID:yr,ZodLazy:Ui,ZodLiteral:bi,ZodMAC:ni,ZodMap:gi,ZodNaN:Ei,ZodNanoID:hr,ZodNever:ci,ZodNonOptional:Ar,ZodNull:ii,ZodNullable:xi,ZodNumber:fn,ZodNumberFormat:It,ZodObject:gn,ZodOptional:Nr,ZodPipe:_n,ZodPrefault:Ii,ZodPreprocess:Oi,ZodPromise:Li,ZodReadonly:Ci,ZodRecord:At,ZodSet:vi,ZodString:dn,ZodStringFormat:ke,ZodSuccess:Pi,ZodSymbol:ri,ZodTemplateLiteral:Ai,ZodTransform:yi,ZodTuple:mi,ZodType:ie,ZodULID:br,ZodURL:pn,ZodUUID:it,ZodUndefined:oi,ZodUnion:vn,ZodUnknown:si,ZodVoid:li,ZodXID:_r,ZodXor:di,_ZodString:pr,_default:Si,_function:rn,any:Dr,array:G,base64:yc,base64url:kc,bigint:Ec,boolean:be,catch:Di,check:el,cidrv4:bc,cidrv6:_c,codec:Gc,cuid:uc,cuid2:dc,custom:Mi,date:Uc,describe:tl,discriminatedUnion:Or,e164:$c,email:ec,emoji:cc,enum:Re,exactOptional:$i,file:Bc,float32:Tc,float64:Pc,function:rn,guid:tc,hash:zc,hex:Ic,hostname:Sc,httpUrl:sc,instanceof:rl,int:On,int32:jc,int64:Oc,intersection:bn,invertCodec:Yc,ipv4:hc,ipv6:vc,json:il,jwt:xc,keyof:Rc,ksuid:mc,lazy:Ri,literal:y,looseObject:Ue,looseRecord:Fc,mac:gc,map:qc,meta:nl,nan:Wc,nanoid:lc,nativeEnum:Hc,never:Nt,nonoptional:Ti,null:jr,nullable:nn,nullish:Vc,number:oe,object:w,optional:xe,partialRecord:Mc,pipe:Cn,prefault:zi,preprocess:Ur,promise:Qc,readonly:Ni,record:ue,refine:Fi,set:Jc,strictObject:Lc,string:b,stringFormat:wc,stringbool:ol,success:Kc,superRefine:qi,symbol:Nc,templateLiteral:Xc,transform:Cr,tuple:hi,uint32:Dc,uint64:Cc,ulid:pc,undefined:tn,union:ce,unknown:ge,url:ac,uuid:nc,uuidv4:rc,uuidv6:oc,uuidv7:ic,void:Ac,xid:fc,xor:Zc},Symbol.toStringTag,{value:"Module"})),Xh={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 Qh(e){Oe({customError:e})}function eg(){return Oe().customError}var yo;yo||(yo={});const L={...l0,...c0,iso:Ms},u0=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 d0(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 p0(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 tg(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return L.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){const n=e.$ref;if(t.refs.has(n))return t.refs.get(n);if(t.processing.has(n))return L.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=p0(n,t),a=Fe(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 L.null();if(n.length===0)return L.never();if(n.length===1)return L.literal(n[0]);if(n.every(a=>typeof a=="string"))return L.enum(n);const o=n.map(a=>L.literal(a));return o.length<2?o[0]:L.union([o[0],o[1],...o.slice(2)])}if(e.const!==void 0)return L.literal(e.const);const r=e.type;if(Array.isArray(r)){const n=r.map(o=>{const a={...e,type:o};return tg(a,t)});return n.length===0?L.never():n.length===1?n[0]:L.union(n)}if(!r)return L.any();let i;switch(r){case"string":{let n=L.string();if(e.format){const o=e.format;o==="email"?n=n.check(L.email()):o==="uri"||o==="uri-reference"?n=n.check(L.url()):o==="uuid"||o==="guid"?n=n.check(L.uuid()):o==="date-time"?n=n.check(L.iso.datetime()):o==="date"?n=n.check(L.iso.date()):o==="time"?n=n.check(L.iso.time()):o==="duration"?n=n.check(L.iso.duration()):o==="ipv4"?n=n.check(L.ipv4()):o==="ipv6"?n=n.check(L.ipv6()):o==="mac"?n=n.check(L.mac()):o==="cidr"?n=n.check(L.cidrv4()):o==="cidr-v6"?n=n.check(L.cidrv6()):o==="base64"?n=n.check(L.base64()):o==="base64url"?n=n.check(L.base64url()):o==="e164"?n=n.check(L.e164()):o==="jwt"?n=n.check(L.jwt()):o==="emoji"?n=n.check(L.emoji()):o==="nanoid"?n=n.check(L.nanoid()):o==="cuid"?n=n.check(L.cuid()):o==="cuid2"?n=n.check(L.cuid2()):o==="ulid"?n=n.check(L.ulid()):o==="xid"?n=n.check(L.xid()):o==="ksuid"&&(n=n.check(L.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"?L.number().int():L.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=L.boolean();break}case"null":{i=L.null();break}case"object":{const n={},o=e.properties||{},a=new Set(e.required||[]);for(const[c,l]of Object.entries(o)){const d=Fe(l,t);n[c]=a.has(c)?d:d.optional()}if(e.propertyNames){const c=Fe(e.propertyNames,t),l=e.additionalProperties&&typeof e.additionalProperties=="object"?Fe(e.additionalProperties,t):L.any();if(Object.keys(n).length===0){i=L.record(c,l);break}const d=L.object(n).passthrough(),f=L.looseRecord(c,l);i=L.intersection(d,f);break}if(e.patternProperties){const c=e.patternProperties,l=Object.keys(c),d=[];for(const p of l){const m=Fe(c[p],t),h=L.string().regex(new RegExp(p));d.push(L.looseRecord(h,m))}const f=[];if(Object.keys(n).length>0&&f.push(L.object(n).passthrough()),f.push(...d),f.length===0)i=L.object({}).passthrough();else if(f.length===1)i=f[0];else{let p=L.intersection(f[0],f[1]);for(let m=2;m<f.length;m++)p=L.intersection(p,f[m]);i=p}break}const s=L.object(n);e.additionalProperties===!1?i=s.strict():typeof e.additionalProperties=="object"?i=s.catchall(Fe(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(c=>Fe(c,t)),s=o&&typeof o=="object"&&!Array.isArray(o)?Fe(o,t):void 0;s?i=L.tuple(a).rest(s):i=L.tuple(a),typeof e.minItems=="number"&&(i=i.check(L.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(L.maxLength(e.maxItems)))}else if(Array.isArray(o)){const a=o.map(c=>Fe(c,t)),s=e.additionalItems&&typeof e.additionalItems=="object"?Fe(e.additionalItems,t):void 0;s?i=L.tuple(a).rest(s):i=L.tuple(a),typeof e.minItems=="number"&&(i=i.check(L.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(L.maxLength(e.maxItems)))}else if(o!==void 0){const a=Fe(o,t);let s=L.array(a);typeof e.minItems=="number"&&(s=s.min(e.minItems)),typeof e.maxItems=="number"&&(s=s.max(e.maxItems)),i=s}else i=L.array(L.any());break}default:throw new Error(`Unsupported type: ${r}`)}return i}function Fe(e,t){if(typeof e=="boolean")return e?L.any():L.never();let r=tg(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=>Fe(l,t)),c=L.union(s);r=i?L.intersection(r,c):c}if(e.oneOf&&Array.isArray(e.oneOf)){const s=e.oneOf.map(l=>Fe(l,t)),c=L.xor(s);r=i?L.intersection(r,c):c}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=i?r:L.any();else{let s=i?r:Fe(e.allOf[0],t);const c=i?0:1;for(let l=c;l<e.allOf.length;l++)s=L.intersection(s,Fe(e.allOf[l],t));r=s}e.nullable===!0&&t.version==="openapi-3.0"&&(r=L.nullable(r)),e.readOnly===!0&&(r=L.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))u0.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 ng(e,t){if(typeof e=="boolean")return e?L.any():L.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=d0(r,t?.defaultTarget),n=r.$defs||r.definitions||{},o={version:i,defs:n,refs:new Map,processing:new Set,rootSchema:r,registry:t?.registry??Ve};return Fe(r,o)}function f0(e){return xm(dn,e)}function m0(e){return jm(fn,e)}function h0(e){return Um(mn,e)}function g0(e){return Lm(hn,e)}function v0(e){return Gm(Er,e)}const rg=Object.freeze(Object.defineProperty({__proto__:null,bigint:g0,boolean:h0,date:v0,number:m0,string:f0},Symbol.toStringTag,{value:"Module"}));Oe(bm());const Pu=Object.freeze(Object.defineProperty({__proto__:null,$brand:Ua,$input:ms,$output:fs,NEVER:Aa,TimePrecision:Ns,ZodAny:ai,ZodArray:ui,ZodBase64:Sr,ZodBase64URL:Ir,ZodBigInt:hn,ZodBigIntFormat:Pr,ZodBoolean:mn,ZodCIDRv4:xr,ZodCIDRv6:wr,ZodCUID:gr,ZodCUID2:vr,ZodCatch:ji,ZodCodec:yn,ZodCustom:kn,ZodCustomStringFormat:Ft,ZodDate:Er,ZodDefault:wi,ZodDiscriminatedUnion:pi,ZodE164:zr,ZodEmail:fr,ZodEmoji:mr,ZodEnum:Ut,ZodError:Yh,ZodExactOptional:ki,ZodFile:_i,get ZodFirstPartyTypeKind(){return yo},ZodFunction:Zi,ZodGUID:en,ZodIPv4:kr,ZodIPv6:$r,ZodISODate:Qo,ZodISODateTime:Xo,ZodISODuration:ti,ZodISOTime:ei,ZodIntersection:fi,ZodIssueCode:Xh,ZodJWT:Tr,ZodKSUID:yr,ZodLazy:Ui,ZodLiteral:bi,ZodMAC:ni,ZodMap:gi,ZodNaN:Ei,ZodNanoID:hr,ZodNever:ci,ZodNonOptional:Ar,ZodNull:ii,ZodNullable:xi,ZodNumber:fn,ZodNumberFormat:It,ZodObject:gn,ZodOptional:Nr,ZodPipe:_n,ZodPrefault:Ii,ZodPreprocess:Oi,ZodPromise:Li,ZodReadonly:Ci,ZodRealError:Be,ZodRecord:At,ZodSet:vi,ZodString:dn,ZodStringFormat:ke,ZodSuccess:Pi,ZodSymbol:ri,ZodTemplateLiteral:Ai,ZodTransform:yi,ZodTuple:mi,ZodType:ie,ZodULID:br,ZodURL:pn,ZodUUID:it,ZodUndefined:oi,ZodUnion:vn,ZodUnknown:si,ZodVoid:li,ZodXID:_r,ZodXor:di,_ZodString:pr,_default:Si,_function:rn,any:Dr,array:G,base64:yc,base64url:kc,bigint:Ec,boolean:be,catch:Di,check:el,cidrv4:bc,cidrv6:_c,clone:Ge,codec:Gc,coerce:rg,config:Oe,core:Hh,cuid:uc,cuid2:dc,custom:Mi,date:Uc,decode:Vs,decodeAsync:Ws,describe:tl,discriminatedUnion:Or,e164:$c,email:ec,emoji:cc,encode:Bs,encodeAsync:Ks,endsWith:rr,enum:Re,exactOptional:$i,file:Bc,flattenError:Mo,float32:Tc,float64:Pc,formatError:Fo,fromJSONSchema:ng,function:rn,getErrorMap:eg,globalRegistry:Ve,gt:vt,gte:Je,guid:tc,hash:zc,hex:Ic,hostname:Sc,httpUrl:sc,includes:tr,instanceof:rl,int:On,int32:jc,int64:Oc,intersection:bn,invertCodec:Yc,ipv4:hc,ipv6:vc,iso:Ms,json:il,jwt:xc,keyof:Rc,ksuid:mc,lazy:Ri,length:un,literal:y,locales:ps,looseObject:Ue,looseRecord:Fc,lowercase:Qn,lt:gt,lte:Ke,mac:gc,map:qc,maxLength:ln,maxSize:Mt,meta:nl,mime:or,minLength:$t,minSize:bt,multipleOf:Ct,nan:Wc,nanoid:lc,nativeEnum:Hc,negative:Ko,never:Nt,nonnegative:Go,nonoptional:Ti,nonpositive:Wo,normalize:ir,null:jr,nullable:nn,nullish:Vc,number:oe,object:w,optional:xe,overwrite:pt,parse:Fs,parseAsync:qs,partialRecord:Mc,pipe:Cn,positive:Vo,prefault:zi,preprocess:Ur,prettifyError:qa,promise:Qc,property:Yo,readonly:Ni,record:ue,refine:Fi,regex:Xn,regexes:qo,registry:Ho,safeDecode:Ys,safeDecodeAsync:Qs,safeEncode:Gs,safeEncodeAsync:Xs,safeParse:Js,safeParseAsync:Hs,set:Jc,setErrorMap:Qh,size:cn,slugify:lr,startsWith:nr,strictObject:Lc,string:b,stringFormat:wc,stringbool:ol,success:Kc,superRefine:qi,symbol:Nc,templateLiteral:Xc,toJSONSchema:Rs,toLowerCase:sr,toUpperCase:cr,transform:Cr,treeifyError:Fa,trim:ar,tuple:hi,uint32:Dc,uint64:Cc,ulid:pc,undefined:tn,union:ce,unknown:ge,uppercase:er,url:ac,util:Za,uuid:nc,uuidv4:rc,uuidv6:oc,uuidv7:ic,void:Ac,xid:fc,xor:Zc},Symbol.toStringTag,{value:"Module"})),b0=Object.freeze(Object.defineProperty({__proto__:null,$brand:Ua,$input:ms,$output:fs,NEVER:Aa,TimePrecision:Ns,ZodAny:ai,ZodArray:ui,ZodBase64:Sr,ZodBase64URL:Ir,ZodBigInt:hn,ZodBigIntFormat:Pr,ZodBoolean:mn,ZodCIDRv4:xr,ZodCIDRv6:wr,ZodCUID:gr,ZodCUID2:vr,ZodCatch:ji,ZodCodec:yn,ZodCustom:kn,ZodCustomStringFormat:Ft,ZodDate:Er,ZodDefault:wi,ZodDiscriminatedUnion:pi,ZodE164:zr,ZodEmail:fr,ZodEmoji:mr,ZodEnum:Ut,ZodError:Yh,ZodExactOptional:ki,ZodFile:_i,get ZodFirstPartyTypeKind(){return yo},ZodFunction:Zi,ZodGUID:en,ZodIPv4:kr,ZodIPv6:$r,ZodISODate:Qo,ZodISODateTime:Xo,ZodISODuration:ti,ZodISOTime:ei,ZodIntersection:fi,ZodIssueCode:Xh,ZodJWT:Tr,ZodKSUID:yr,ZodLazy:Ui,ZodLiteral:bi,ZodMAC:ni,ZodMap:gi,ZodNaN:Ei,ZodNanoID:hr,ZodNever:ci,ZodNonOptional:Ar,ZodNull:ii,ZodNullable:xi,ZodNumber:fn,ZodNumberFormat:It,ZodObject:gn,ZodOptional:Nr,ZodPipe:_n,ZodPrefault:Ii,ZodPreprocess:Oi,ZodPromise:Li,ZodReadonly:Ci,ZodRealError:Be,ZodRecord:At,ZodSet:vi,ZodString:dn,ZodStringFormat:ke,ZodSuccess:Pi,ZodSymbol:ri,ZodTemplateLiteral:Ai,ZodTransform:yi,ZodTuple:mi,ZodType:ie,ZodULID:br,ZodURL:pn,ZodUUID:it,ZodUndefined:oi,ZodUnion:vn,ZodUnknown:si,ZodVoid:li,ZodXID:_r,ZodXor:di,_ZodString:pr,_default:Si,_function:rn,any:Dr,array:G,base64:yc,base64url:kc,bigint:Ec,boolean:be,catch:Di,check:el,cidrv4:bc,cidrv6:_c,clone:Ge,codec:Gc,coerce:rg,config:Oe,core:Hh,cuid:uc,cuid2:dc,custom:Mi,date:Uc,decode:Vs,decodeAsync:Ws,default:Pu,describe:tl,discriminatedUnion:Or,e164:$c,email:ec,emoji:cc,encode:Bs,encodeAsync:Ks,endsWith:rr,enum:Re,exactOptional:$i,file:Bc,flattenError:Mo,float32:Tc,float64:Pc,formatError:Fo,fromJSONSchema:ng,function:rn,getErrorMap:eg,globalRegistry:Ve,gt:vt,gte:Je,guid:tc,hash:zc,hex:Ic,hostname:Sc,httpUrl:sc,includes:tr,instanceof:rl,int:On,int32:jc,int64:Oc,intersection:bn,invertCodec:Yc,ipv4:hc,ipv6:vc,iso:Ms,json:il,jwt:xc,keyof:Rc,ksuid:mc,lazy:Ri,length:un,literal:y,locales:ps,looseObject:Ue,looseRecord:Fc,lowercase:Qn,lt:gt,lte:Ke,mac:gc,map:qc,maxLength:ln,maxSize:Mt,meta:nl,mime:or,minLength:$t,minSize:bt,multipleOf:Ct,nan:Wc,nanoid:lc,nativeEnum:Hc,negative:Ko,never:Nt,nonnegative:Go,nonoptional:Ti,nonpositive:Wo,normalize:ir,null:jr,nullable:nn,nullish:Vc,number:oe,object:w,optional:xe,overwrite:pt,parse:Fs,parseAsync:qs,partialRecord:Mc,pipe:Cn,positive:Vo,prefault:zi,preprocess:Ur,prettifyError:qa,promise:Qc,property:Yo,readonly:Ni,record:ue,refine:Fi,regex:Xn,regexes:qo,registry:Ho,safeDecode:Ys,safeDecodeAsync:Qs,safeEncode:Gs,safeEncodeAsync:Xs,safeParse:Js,safeParseAsync:Hs,set:Jc,setErrorMap:Qh,size:cn,slugify:lr,startsWith:nr,strictObject:Lc,string:b,stringFormat:wc,stringbool:ol,success:Kc,superRefine:qi,symbol:Nc,templateLiteral:Xc,toJSONSchema:Rs,toLowerCase:sr,toUpperCase:cr,transform:Cr,treeifyError:Fa,trim:ar,tuple:hi,uint32:Dc,uint64:Cc,ulid:pc,undefined:tn,union:ce,unknown:ge,uppercase:er,url:ac,util:Za,uuid:nc,uuidv4:rc,uuidv6:oc,uuidv7:ic,void:Ac,xid:fc,xor:Zc,z:Pu},Symbol.toStringTag,{value:"Module"})),Tt="io.modelcontextprotocol/related-task",Ji="2.0",Ee=Mi(e=>e!==null&&(typeof e=="object"||typeof e=="function")),og=ce([b(),oe().int()]),ig=b();Ue({ttl:oe().optional(),pollInterval:oe().optional()});const _0=w({ttl:oe().optional()}),y0=w({taskId:b()}),al=Ue({progressToken:og.optional(),[Tt]:y0.optional()}),Xe=w({_meta:al.optional()}),Rr=Xe.extend({task:_0.optional()}),k0=e=>Rr.safeParse(e).success,Le=w({method:b(),params:Xe.loose().optional()}),tt=w({_meta:al.optional()}),nt=w({method:b(),params:tt.loose().optional()}),Ze=Ue({_meta:al.optional()}),Lr=ce([b(),oe().int()]),ag=w({jsonrpc:y(Ji),id:Lr,...Le.shape}).strict(),ju=e=>ag.safeParse(e).success,sg=w({jsonrpc:y(Ji),...nt.shape}).strict(),$0=e=>sg.safeParse(e).success,sl=w({jsonrpc:y(Ji),id:Lr,result:Ze}).strict(),Gr=e=>sl.safeParse(e).success;var _e;(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"})(_e||(_e={}));const cl=w({jsonrpc:y(Ji),id:Lr.optional(),error:w({code:oe().int(),message:b(),data:ge().optional()})}).strict(),x0=e=>cl.safeParse(e).success,w0=ce([ag,sg,sl,cl]);ce([sl,cl]);const ll=Ze.strict(),S0=tt.extend({requestId:Lr.optional(),reason:b().optional()}),ul=nt.extend({method:y("notifications/cancelled"),params:S0}),I0=w({src:b(),mimeType:b().optional(),sizes:G(b()).optional(),theme:Re(["light","dark"]).optional()}),Zr=w({icons:G(I0).optional()}),on=w({name:b(),title:b().optional()}),Hi=on.extend({...on.shape,...Zr.shape,version:b(),websiteUrl:b().optional(),description:b().optional()}),z0=bn(w({applyDefaults:be().optional()}),ue(b(),ge())),T0=Ur(e=>e&&typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,bn(w({form:z0.optional(),url:Ee.optional()}),ue(b(),ge()).optional())),P0=Ue({list:Ee.optional(),cancel:Ee.optional(),requests:Ue({sampling:Ue({createMessage:Ee.optional()}).optional(),elicitation:Ue({create:Ee.optional()}).optional()}).optional()}),j0=Ue({list:Ee.optional(),cancel:Ee.optional(),requests:Ue({tools:Ue({call:Ee.optional()}).optional()}).optional()}),D0=w({experimental:ue(b(),Ee).optional(),sampling:w({context:Ee.optional(),tools:Ee.optional()}).optional(),elicitation:T0.optional(),roots:w({listChanged:be().optional()}).optional(),tasks:P0.optional(),extensions:ue(b(),Ee).optional()}),E0=Xe.extend({protocolVersion:b(),capabilities:D0,clientInfo:Hi}),O0=Le.extend({method:y("initialize"),params:E0}),C0=w({experimental:ue(b(),Ee).optional(),logging:Ee.optional(),completions:Ee.optional(),prompts:w({listChanged:be().optional()}).optional(),resources:w({subscribe:be().optional(),listChanged:be().optional()}).optional(),tools:w({listChanged:be().optional()}).optional(),tasks:j0.optional(),extensions:ue(b(),Ee).optional()}),N0=Ze.extend({protocolVersion:b(),capabilities:C0,serverInfo:Hi,instructions:b().optional()}),A0=nt.extend({method:y("notifications/initialized"),params:tt.optional()}),Bi=Le.extend({method:y("ping"),params:Xe.optional()}),U0=w({progress:oe(),total:xe(oe()),message:xe(b())}),R0=w({...tt.shape,...U0.shape,progressToken:og}),dl=nt.extend({method:y("notifications/progress"),params:R0}),L0=Xe.extend({cursor:ig.optional()}),Mr=Le.extend({params:L0.optional()}),Fr=Ze.extend({nextCursor:ig.optional()}),Z0=Re(["working","input_required","completed","failed","cancelled"]),qr=w({taskId:b(),status:Z0,ttl:ce([oe(),jr()]),createdAt:b(),lastUpdatedAt:b(),pollInterval:xe(oe()),statusMessage:xe(b())}),pl=Ze.extend({task:qr}),M0=tt.merge(qr),ko=nt.extend({method:y("notifications/tasks/status"),params:M0}),fl=Le.extend({method:y("tasks/get"),params:Xe.extend({taskId:b()})}),ml=Ze.merge(qr),hl=Le.extend({method:y("tasks/result"),params:Xe.extend({taskId:b()})});Ze.loose();const gl=Mr.extend({method:y("tasks/list")}),vl=Fr.extend({tasks:G(qr)}),bl=Le.extend({method:y("tasks/cancel"),params:Xe.extend({taskId:b()})}),F0=Ze.merge(qr),cg=w({uri:b(),mimeType:xe(b()),_meta:ue(b(),ge()).optional()}),lg=cg.extend({text:b()}),_l=b().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:"Invalid Base64 string"}),ug=cg.extend({blob:_l}),Jr=Re(["user","assistant"]),$n=w({audience:G(Jr).optional(),priority:oe().min(0).max(1).optional(),lastModified:Zs({offset:!0}).optional()}),dg=w({...on.shape,...Zr.shape,uri:b(),description:xe(b()),mimeType:xe(b()),size:xe(oe()),annotations:$n.optional(),_meta:xe(Ue({}))}),q0=w({...on.shape,...Zr.shape,uriTemplate:b(),description:xe(b()),mimeType:xe(b()),annotations:$n.optional(),_meta:xe(Ue({}))}),J0=Mr.extend({method:y("resources/list")}),pg=Fr.extend({resources:G(dg)}),H0=Mr.extend({method:y("resources/templates/list")}),B0=Fr.extend({resourceTemplates:G(q0)}),yl=Xe.extend({uri:b()}),V0=yl,K0=Le.extend({method:y("resources/read"),params:V0}),fg=Ze.extend({contents:G(ce([lg,ug]))}),W0=nt.extend({method:y("notifications/resources/list_changed"),params:tt.optional()}),G0=yl,Y0=Le.extend({method:y("resources/subscribe"),params:G0}),X0=yl,Q0=Le.extend({method:y("resources/unsubscribe"),params:X0}),ek=tt.extend({uri:b()}),tk=nt.extend({method:y("notifications/resources/updated"),params:ek}),nk=w({name:b(),description:xe(b()),required:xe(be())}),rk=w({...on.shape,...Zr.shape,description:xe(b()),arguments:xe(G(nk)),_meta:xe(Ue({}))}),ok=Mr.extend({method:y("prompts/list")}),ik=Fr.extend({prompts:G(rk)}),ak=Xe.extend({name:b(),arguments:ue(b(),b()).optional()}),sk=Le.extend({method:y("prompts/get"),params:ak}),kl=w({type:y("text"),text:b(),annotations:$n.optional(),_meta:ue(b(),ge()).optional()}),$l=w({type:y("image"),data:_l,mimeType:b(),annotations:$n.optional(),_meta:ue(b(),ge()).optional()}),xl=w({type:y("audio"),data:_l,mimeType:b(),annotations:$n.optional(),_meta:ue(b(),ge()).optional()}),ck=w({type:y("tool_use"),name:b(),id:b(),input:ue(b(),ge()),_meta:ue(b(),ge()).optional()}),mg=w({type:y("resource"),resource:ce([lg,ug]),annotations:$n.optional(),_meta:ue(b(),ge()).optional()}),hg=dg.extend({type:y("resource_link")}),Hr=ce([kl,$l,xl,hg,mg]),lk=w({role:Jr,content:Hr}),uk=Ze.extend({description:b().optional(),messages:G(lk)}),dk=nt.extend({method:y("notifications/prompts/list_changed"),params:tt.optional()}),pk=w({title:b().optional(),readOnlyHint:be().optional(),destructiveHint:be().optional(),idempotentHint:be().optional(),openWorldHint:be().optional()}),fk=w({taskSupport:Re(["required","optional","forbidden"]).optional()}),wl=w({...on.shape,...Zr.shape,description:b().optional(),inputSchema:w({type:y("object"),properties:ue(b(),Ee).optional(),required:G(b()).optional()}).catchall(ge()),outputSchema:w({type:y("object"),properties:ue(b(),Ee).optional(),required:G(b()).optional()}).catchall(ge()).optional(),annotations:pk.optional(),execution:fk.optional(),_meta:ue(b(),ge()).optional()}),gg=Mr.extend({method:y("tools/list")}),mk=Fr.extend({tools:G(wl)}),Vi=Ze.extend({content:G(Hr).default([]),structuredContent:ue(b(),ge()).optional(),isError:be().optional()});Vi.or(Ze.extend({toolResult:ge()}));const hk=Rr.extend({name:b(),arguments:ue(b(),ge()).optional()}),vg=Le.extend({method:y("tools/call"),params:hk}),gk=nt.extend({method:y("notifications/tools/list_changed"),params:tt.optional()});w({autoRefresh:be().default(!0),debounceMs:oe().int().nonnegative().default(300)});const bg=Re(["debug","info","notice","warning","error","critical","alert","emergency"]),vk=Xe.extend({level:bg}),bk=Le.extend({method:y("logging/setLevel"),params:vk}),_k=tt.extend({level:bg,logger:b().optional(),data:ge()}),yk=nt.extend({method:y("notifications/message"),params:_k}),kk=w({name:b().optional()}),$k=w({hints:G(kk).optional(),costPriority:oe().min(0).max(1).optional(),speedPriority:oe().min(0).max(1).optional(),intelligencePriority:oe().min(0).max(1).optional()}),xk=w({mode:Re(["auto","required","none"]).optional()}),wk=w({type:y("tool_result"),toolUseId:b().describe("The unique identifier for the corresponding tool call."),content:G(Hr).default([]),structuredContent:w({}).loose().optional(),isError:be().optional(),_meta:ue(b(),ge()).optional()}),Sk=Or("type",[kl,$l,xl]),$o=Or("type",[kl,$l,xl,ck,wk]),Ik=w({role:Jr,content:ce([$o,G($o)]),_meta:ue(b(),ge()).optional()}),zk=Rr.extend({messages:G(Ik),modelPreferences:$k.optional(),systemPrompt:b().optional(),includeContext:Re(["none","thisServer","allServers"]).optional(),temperature:oe().optional(),maxTokens:oe().int(),stopSequences:G(b()).optional(),metadata:Ee.optional(),tools:G(wl).optional(),toolChoice:xk.optional()}),Tk=Le.extend({method:y("sampling/createMessage"),params:zk}),_g=Ze.extend({model:b(),stopReason:xe(Re(["endTurn","stopSequence","maxTokens"]).or(b())),role:Jr,content:Sk}),yg=Ze.extend({model:b(),stopReason:xe(Re(["endTurn","stopSequence","maxTokens","toolUse"]).or(b())),role:Jr,content:ce([$o,G($o)])}),Pk=w({type:y("boolean"),title:b().optional(),description:b().optional(),default:be().optional()}),jk=w({type:y("string"),title:b().optional(),description:b().optional(),minLength:oe().optional(),maxLength:oe().optional(),format:Re(["email","uri","date","date-time"]).optional(),default:b().optional()}),Dk=w({type:Re(["number","integer"]),title:b().optional(),description:b().optional(),minimum:oe().optional(),maximum:oe().optional(),default:oe().optional()}),Ek=w({type:y("string"),title:b().optional(),description:b().optional(),enum:G(b()),default:b().optional()}),Ok=w({type:y("string"),title:b().optional(),description:b().optional(),oneOf:G(w({const:b(),title:b()})),default:b().optional()}),Ck=w({type:y("string"),title:b().optional(),description:b().optional(),enum:G(b()),enumNames:G(b()).optional(),default:b().optional()}),Nk=ce([Ek,Ok]),Ak=w({type:y("array"),title:b().optional(),description:b().optional(),minItems:oe().optional(),maxItems:oe().optional(),items:w({type:y("string"),enum:G(b())}),default:G(b()).optional()}),Uk=w({type:y("array"),title:b().optional(),description:b().optional(),minItems:oe().optional(),maxItems:oe().optional(),items:w({anyOf:G(w({const:b(),title:b()}))}),default:G(b()).optional()}),Rk=ce([Ak,Uk]),Lk=ce([Ck,Nk,Rk]),Zk=ce([Lk,Pk,jk,Dk]),Mk=Rr.extend({mode:y("form").optional(),message:b(),requestedSchema:w({type:y("object"),properties:ue(b(),Zk),required:G(b()).optional()})}),Fk=Rr.extend({mode:y("url"),message:b(),elicitationId:b(),url:b().url()}),qk=ce([Mk,Fk]),Jk=Le.extend({method:y("elicitation/create"),params:qk}),Hk=tt.extend({elicitationId:b()}),Bk=nt.extend({method:y("notifications/elicitation/complete"),params:Hk}),Vk=Ze.extend({action:Re(["accept","decline","cancel"]),content:Ur(e=>e===null?void 0:e,ue(b(),ce([b(),oe(),be(),G(b())])).optional())}),Kk=w({type:y("ref/resource"),uri:b()}),Wk=w({type:y("ref/prompt"),name:b()}),Gk=Xe.extend({ref:ce([Wk,Kk]),argument:w({name:b(),value:b()}),context:w({arguments:ue(b(),b()).optional()}).optional()}),Yk=Le.extend({method:y("completion/complete"),params:Gk}),Xk=Ze.extend({completion:Ue({values:G(b()).max(100),total:xe(oe().int()),hasMore:xe(be())})}),Qk=w({uri:b().startsWith("file://"),name:b().optional(),_meta:ue(b(),ge()).optional()}),e$=Le.extend({method:y("roots/list"),params:Xe.optional()}),t$=Ze.extend({roots:G(Qk)}),n$=nt.extend({method:y("notifications/roots/list_changed"),params:tt.optional()});ce([Bi,O0,Yk,bk,sk,ok,J0,H0,K0,Y0,Q0,vg,gg,fl,hl,gl,bl]);ce([ul,dl,A0,n$,ko]);ce([ll,_g,yg,Vk,t$,ml,vl,pl]);ce([Bi,Tk,Jk,e$,fl,hl,gl,bl]);ce([ul,dl,yk,tk,W0,gk,dk,ko,Bk]);ce([ll,N0,Xk,uk,ik,pg,B0,fg,Vi,mk,ml,vl,pl]);class me 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===_e.UrlElicitationRequired&&i){const n=i;if(n.elicitations)return new r$(n.elicitations,r)}return new me(t,r,i)}}class r$ extends me{constructor(t,r=`URL elicitation${t.length>1?"s":""} required`){super(_e.UrlElicitationRequired,r,{elicitations:t})}get elicitations(){return this.data?.elicitations??[]}}function zt(e){return e==="completed"||e==="failed"||e==="cancelled"}new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function Du(e){const r=a0(e)?.method;if(!r)throw new Error("Schema is missing a method literal");const i=s0(r);if(typeof i!="string")throw new Error("Schema method literal must be a string");return i}function Eu(e,t){const r=Bh(e,t);if(!r.success)throw r.error;return r.data}const o$=6e4;class i${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(ul,r=>{this._oncancel(r)}),this.setNotificationHandler(dl,r=>{this._onprogress(r)}),this.setRequestHandler(Bi,r=>({})),this._taskStore=t?.taskStore,this._taskMessageQueue=t?.taskMessageQueue,this._taskStore&&(this.setRequestHandler(fl,async(r,i)=>{const n=await this._taskStore.getTask(r.params.taskId,i.sessionId);if(!n)throw new me(_e.InvalidParams,"Failed to retrieve task: Task not found");return{...n}}),this.setRequestHandler(hl,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 c=s.message,l=c.id,d=this._requestResolvers.get(l);if(d)if(this._requestResolvers.delete(l),s.type==="response")d(c);else{const f=c,p=new me(f.error.code,f.error.message,f.error.data);d(p)}else{const f=s.type==="response"?"Response":"Error";this._onerror(new Error(`${f} 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 me(_e.InvalidParams,`Task not found: ${o}`);if(!zt(a.status))return await this._waitForTaskUpdate(o,i.signal),await n();if(zt(a.status)){const s=await this._taskStore.getTaskResult(o,i.sessionId);return this._clearTaskQueue(o),{...s,_meta:{...s._meta,[Tt]:{taskId:o}}}}return await n()};return await n()}),this.setRequestHandler(gl,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 me(_e.InvalidParams,`Failed to list tasks: ${n instanceof Error?n.message:String(n)}`)}}),this.setRequestHandler(bl,async(r,i)=>{try{const n=await this._taskStore.getTask(r.params.taskId,i.sessionId);if(!n)throw new me(_e.InvalidParams,`Task not found: ${r.params.taskId}`);if(zt(n.status))throw new me(_e.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 me(_e.InvalidParams,`Task not found after cancellation: ${r.params.taskId}`);return{_meta:{},...o}}catch(n){throw n instanceof me?n:new me(_e.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),me.fromError(_e.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),Gr(o)||x0(o)?this._onresponse(o):ju(o)?this._onrequest(o,a):$0(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=me.fromError(_e.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?.[Tt]?.taskId;if(i===void 0){const d={jsonrpc:"2.0",id:t.id,error:{code:_e.MethodNotFound,message:"Method not found"}};o&&this._taskMessageQueue?this._enqueueTaskMessage(o,{type:"error",message:d,timestamp:Date.now()},n?.sessionId).catch(f=>this._onerror(new Error(`Failed to enqueue error response: ${f}`))):n?.send(d).catch(f=>this._onerror(new Error(`Failed to send an error response: ${f}`)));return}const a=new AbortController;this._requestHandlerAbortControllers.set(t.id,a);const s=k0(t.params)?t.params.task:void 0,c=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 f={relatedRequestId:t.id};o&&(f.relatedTask={taskId:o}),await this.notification(d,f)},sendRequest:async(d,f,p)=>{if(a.signal.aborted)throw new me(_e.ConnectionClosed,"Request was cancelled");const m={...p,relatedRequestId:t.id};o&&!m.relatedTask&&(m.relatedTask={taskId:o});const h=m.relatedTask?.taskId??o;return h&&c&&await c.updateTaskStatus(h,"input_required"),await this.request(d,f,m)},authInfo:r?.authInfo,requestId:t.id,requestInfo:r?.requestInfo,taskId:o,taskStore:c,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 f={result:d,jsonrpc:"2.0",id:t.id};o&&this._taskMessageQueue?await this._enqueueTaskMessage(o,{type:"response",message:f,timestamp:Date.now()},n?.sessionId):await n?.send(f)},async d=>{if(a.signal.aborted)return;const f={jsonrpc:"2.0",id:t.id,error:{code:Number.isSafeInteger(d.code)?d.code:_e.InternalError,message:d.message??"Internal error",...d.data!==void 0&&{data:d.data}}};o&&this._taskMessageQueue?await this._enqueueTaskMessage(o,{type:"error",message:f,timestamp:Date.now()},n?.sessionId):await n?.send(f)}).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(c){this._responseHandlers.delete(n),this._progressHandlers.delete(n),this._cleanupTimeout(n),a(c);return}o(i)}_onresponse(t){const r=Number(t.id),i=this._requestResolvers.get(r);if(i){if(this._requestResolvers.delete(r),Gr(t))i(t);else{const a=new me(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(Gr(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),Gr(t))n(t);else{const a=me.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 me?a:new me(_e.InternalError,String(a))}}return}let o;try{const a=await this.request(t,pl,i);if(a.task)o=a.task.taskId,yield{type:"taskCreated",task:a.task};else throw new me(_e.InternalError,"Task creation did not return a task");for(;;){const s=await this.getTask({taskId:o},i);if(yield{type:"taskStatus",task:s},zt(s.status)){s.status==="completed"?yield{type:"result",result:await this.getTaskResult({taskId:o},r,i)}:s.status==="failed"?yield{type:"error",error:new me(_e.InternalError,`Task ${o} failed`)}:s.status==="cancelled"&&(yield{type:"error",error:new me(_e.InternalError,`Task ${o} was cancelled`)});return}if(s.status==="input_required"){yield{type:"result",result:await this.getTaskResult({taskId:o},r,i)};return}const c=s.pollInterval??this._options?.defaultTaskPollInterval??1e3;await new Promise(l=>setTimeout(l,c)),i?.signal?.throwIfAborted()}}catch(a){yield{type:"error",error:a instanceof me?a:new me(_e.InternalError,String(a))}}}request(t,r,i){const{relatedRequestId:n,resumptionToken:o,onresumptiontoken:a,task:s,relatedTask:c}=i??{};return new Promise((l,d)=>{const f=S=>{d(S)};if(!this._transport){f(new Error("Not connected"));return}if(this._options?.enforceStrictCapabilities===!0)try{this.assertCapabilityForMethod(t.method),s&&this.assertTaskCapability(t.method)}catch(S){f(S);return}i?.signal?.throwIfAborted();const p=this._requestMessageId++,m={...t,jsonrpc:"2.0",id:p};i?.onprogress&&(this._progressHandlers.set(p,i.onprogress),m.params={...t.params,_meta:{...t.params?._meta||{},progressToken:p}}),s&&(m.params={...m.params,task:s}),c&&(m.params={...m.params,_meta:{...m.params?._meta||{},[Tt]:c}});const h=S=>{this._responseHandlers.delete(p),this._progressHandlers.delete(p),this._cleanupTimeout(p),this._transport?.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:p,reason:String(S)}},{relatedRequestId:n,resumptionToken:o,onresumptiontoken:a}).catch(I=>this._onerror(new Error(`Failed to send cancellation: ${I}`)));const k=S instanceof me?S:new me(_e.RequestTimeout,String(S));d(k)};this._responseHandlers.set(p,S=>{if(!i?.signal?.aborted){if(S instanceof Error)return d(S);try{const k=Bh(r,S.result);k.success?l(k.data):d(k.error)}catch(k){d(k)}}}),i?.signal?.addEventListener("abort",()=>{h(i?.signal?.reason)});const _=i?.timeout??o$,g=()=>h(me.fromError(_e.RequestTimeout,"Request timed out",{timeout:_}));this._setupTimeout(p,_,i?.maxTotalTimeout,g,i?.resetTimeoutOnProgress??!1);const $=c?.taskId;if($){const S=k=>{const I=this._responseHandlers.get(p);I?I(k):this._onerror(new Error(`Response handler missing for side-channeled request ${p}`))};this._requestResolvers.set(p,S),this._enqueueTaskMessage($,{type:"request",message:m,timestamp:Date.now()}).catch(k=>{this._cleanupTimeout(p),d(k)})}else this._transport.send(m,{relatedRequestId:n,resumptionToken:o,onresumptiontoken:a}).catch(S=>{this._cleanupTimeout(p),d(S)})})}async getTask(t,r){return this.request({method:"tasks/get",params:t},ml,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},vl,r)}async cancelTask(t,r){return this.request({method:"tasks/cancel",params:t},F0,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||{},[Tt]: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||{},[Tt]:r.relatedTask}}}),this._transport?.send(s,r).catch(c=>this._onerror(c))});return}let a={...t,jsonrpc:"2.0"};r?.relatedTask&&(a={...a,params:{...a.params,_meta:{...a.params?._meta||{},[Tt]:r.relatedTask}}}),await this._transport.send(a,r)}setRequestHandler(t,r){const i=Du(t);this.assertRequestHandlerCapability(i),this._requestHandlers.set(i,(n,o)=>{const a=Eu(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=Du(t);this._notificationHandlers.set(i,n=>{const o=Eu(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"&&ju(n.message)){const o=n.message.id,a=this._requestResolvers.get(o);a?(a(new me(_e.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 me(_e.InvalidRequest,"Request cancelled"));return}const a=setTimeout(n,i);r.addEventListener("abort",()=>{clearTimeout(a),o(new me(_e.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 me(_e.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 c=ko.parse({method:"notifications/tasks/status",params:s});await this.notification(c),zt(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 me(_e.InvalidParams,`Task "${n}" not found - it may have been cleaned up`);if(zt(s.status))throw new me(_e.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 c=await i.getTask(n,r);if(c){const l=ko.parse({method:"notifications/tasks/status",params:c});await this.notification(l),zt(c.status)&&this._cleanupTaskProgressHandler(n)}},listTasks:n=>i.listTasks(n,r)}}}function Ou(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function a$(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];Ou(a)&&Ou(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 s$ extends i${_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 c of[...o.listeners])c(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 c$="2026-01-26",l$="ui/notifications/tool-input-partial";class u${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=w0.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!==l$&&console.debug("Sending message",t),this.eventTarget.postMessage(t,"*")}async close(){window.removeEventListener("message",this.messageListener),this.onclose?.()}onclose;onerror;onmessage;sessionId;setProtocolVersion}var d$=ce([y("light"),y("dark")]).describe("Color theme preference for the host environment."),Nn=ce([y("inline"),y("fullscreen"),y("pip")]).describe("Display mode for UI presentation."),p$=ce([y("--color-background-primary"),y("--color-background-secondary"),y("--color-background-tertiary"),y("--color-background-inverse"),y("--color-background-ghost"),y("--color-background-info"),y("--color-background-danger"),y("--color-background-success"),y("--color-background-warning"),y("--color-background-disabled"),y("--color-text-primary"),y("--color-text-secondary"),y("--color-text-tertiary"),y("--color-text-inverse"),y("--color-text-ghost"),y("--color-text-info"),y("--color-text-danger"),y("--color-text-success"),y("--color-text-warning"),y("--color-text-disabled"),y("--color-border-primary"),y("--color-border-secondary"),y("--color-border-tertiary"),y("--color-border-inverse"),y("--color-border-ghost"),y("--color-border-info"),y("--color-border-danger"),y("--color-border-success"),y("--color-border-warning"),y("--color-border-disabled"),y("--color-ring-primary"),y("--color-ring-secondary"),y("--color-ring-inverse"),y("--color-ring-info"),y("--color-ring-danger"),y("--color-ring-success"),y("--color-ring-warning"),y("--font-sans"),y("--font-mono"),y("--font-weight-normal"),y("--font-weight-medium"),y("--font-weight-semibold"),y("--font-weight-bold"),y("--font-text-xs-size"),y("--font-text-sm-size"),y("--font-text-md-size"),y("--font-text-lg-size"),y("--font-heading-xs-size"),y("--font-heading-sm-size"),y("--font-heading-md-size"),y("--font-heading-lg-size"),y("--font-heading-xl-size"),y("--font-heading-2xl-size"),y("--font-heading-3xl-size"),y("--font-text-xs-line-height"),y("--font-text-sm-line-height"),y("--font-text-md-line-height"),y("--font-text-lg-line-height"),y("--font-heading-xs-line-height"),y("--font-heading-sm-line-height"),y("--font-heading-md-line-height"),y("--font-heading-lg-line-height"),y("--font-heading-xl-line-height"),y("--font-heading-2xl-line-height"),y("--font-heading-3xl-line-height"),y("--border-radius-xs"),y("--border-radius-sm"),y("--border-radius-md"),y("--border-radius-lg"),y("--border-radius-xl"),y("--border-radius-full"),y("--border-width-regular"),y("--shadow-hairline"),y("--shadow-sm"),y("--shadow-md"),y("--shadow-lg")]).describe("CSS variable keys available to MCP apps for theming."),f$=ue(p$.describe(`Style variables for theming MCP apps.
72
72
 
73
73
  Individual style keys are optional - hosts may provide any subset of these values.
74
74
  Values are strings containing CSS values (colors, sizes, font stacks, etc.).
75
75
 
76
76
  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.`),le([b(),tn()]).describe(`Style variables for theming MCP apps.
77
+ for compatibility with Zod schema generation. Both are functionally equivalent for validation.`),ce([b(),tn()]).describe(`Style variables for theming MCP apps.
78
78
 
79
79
  Individual style keys are optional - hosts may provide any subset of these values.
80
80
  Values are strings containing CSS values (colors, sizes, font stacks, etc.).
@@ -86,10 +86,10 @@ Individual style keys are optional - hosts may provide any subset of these value
86
86
  Values are strings containing CSS values (colors, sizes, font stacks, etc.).
87
87
 
88
88
  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.`);w({method:y("ui/open-link"),params:w({url:b().describe("URL to open in the host's browser")})});var m$=w({isError:be().optional().describe("True if the host failed to open the URL (e.g., due to security policy).")}).passthrough(),h$=w({isError:be().optional().describe("True if the download failed (e.g., user cancelled or host denied).")}).passthrough(),g$=w({isError:be().optional().describe("True if the host rejected or failed to deliver the message.")}).passthrough();w({method:y("ui/notifications/sandbox-proxy-ready"),params:w({})});var wl=w({connectDomains:X(b()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).
89
+ for compatibility with Zod schema generation. Both are functionally equivalent for validation.`);w({method:y("ui/open-link"),params:w({url:b().describe("URL to open in the host's browser")})});var m$=w({isError:be().optional().describe("True if the host failed to open the URL (e.g., due to security policy).")}).passthrough(),h$=w({isError:be().optional().describe("True if the download failed (e.g., user cancelled or host denied).")}).passthrough(),g$=w({isError:be().optional().describe("True if the host rejected or failed to deliver the message.")}).passthrough();w({method:y("ui/notifications/sandbox-proxy-ready"),params:w({})});var Sl=w({connectDomains:G(b()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).
90
90
 
91
91
  - Maps to CSP \`connect-src\` directive
92
- - Empty or omitted → no network connections (secure default)`),resourceDomains:X(b()).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:X(b()).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:X(b()).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'`)")}),Sl=w({camera:w({}).optional().describe("Request camera access.\n\nMaps to Permission Policy `camera` feature."),microphone:w({}).optional().describe("Request microphone access.\n\nMaps to Permission Policy `microphone` feature."),geolocation:w({}).optional().describe("Request geolocation access.\n\nMaps to Permission Policy `geolocation` feature."),clipboardWrite:w({}).optional().describe("Request clipboard write access.\n\nMaps to Permission Policy `clipboard-write` feature.")});w({method:y("ui/notifications/size-changed"),params:w({width:re().optional().describe("New width in pixels."),height:re().optional().describe("New height in pixels.")})});var v$=w({method:y("ui/notifications/tool-input"),params:w({arguments:ue(b(),ge().describe("Complete tool call arguments as key-value pairs.")).optional().describe("Complete tool call arguments as key-value pairs.")})}),b$=w({method:y("ui/notifications/tool-input-partial"),params:w({arguments:ue(b(),ge().describe("Partial tool call arguments (incomplete, may change).")).optional().describe("Partial tool call arguments (incomplete, may change).")})}),_$=w({method:y("ui/notifications/tool-cancelled"),params:w({reason:b().optional().describe('Optional reason for the cancellation (e.g., "user action", "timeout").')})}),y$=w({fonts:b().optional()}),k$=w({variables:f$.optional().describe("CSS variables for theming the app."),css:y$.optional().describe("CSS blocks that apps can inject.")}),$$=w({method:y("ui/resource-teardown"),params:w({})});ue(b(),ge());var Ou=w({text:w({}).optional().describe("Host supports text content blocks."),image:w({}).optional().describe("Host supports image content blocks."),audio:w({}).optional().describe("Host supports audio content blocks."),resource:w({}).optional().describe("Host supports resource content blocks."),resourceLink:w({}).optional().describe("Host supports resource link content blocks."),structuredContent:w({}).optional().describe("Host supports structured content.")});w({method:y("ui/notifications/request-teardown"),params:w({}).optional()});var x$=w({experimental:ue(b(),ue(b(),jr()).describe("Experimental features keyed by identifier.")).optional().describe("Experimental features keyed by identifier."),openLinks:w({}).optional().describe("Host supports opening external URLs."),downloadFile:w({}).optional().describe("Host supports file downloads via ui/download-file."),serverTools:w({listChanged:be().optional().describe("Host supports tools/list_changed notifications.")}).optional().describe("Host can proxy tool calls to the MCP server."),serverResources:w({listChanged:be().optional().describe("Host supports resources/list_changed notifications.")}).optional().describe("Host can proxy resource reads to the MCP server."),logging:w({}).optional().describe("Host accepts log messages."),sandbox:w({permissions:Sl.optional().describe("Permissions granted by the host (camera, microphone, geolocation)."),csp:wl.optional().describe("CSP domains approved by the host.")}).optional().describe("Sandbox configuration applied by the host."),updateModelContext:Ou.optional().describe("Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns."),message:Ou.optional().describe("Host supports receiving content messages (ui/message) from the view."),sampling:w({tools:w({}).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.")}),w$=w({experimental:ue(b(),ue(b(),jr()).describe("Experimental features keyed by identifier.")).optional().describe("Experimental features keyed by identifier."),tools:w({listChanged:be().optional().describe("App supports tools/list_changed notifications.")}).optional().describe("App exposes MCP-style tools that the host can call."),availableDisplayModes:X(Nn).optional().describe("Display modes the app supports.")});w({method:y("ui/notifications/initialized"),params:w({}).optional()});w({csp:wl.optional().describe("Content Security Policy configuration for UI resources."),permissions:Sl.optional().describe("Sandbox permissions requested by the UI resource."),domain:b().optional().describe(`Dedicated origin for view sandbox.
92
+ - Empty or omitted → no network connections (secure default)`),resourceDomains:G(b()).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:G(b()).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:G(b()).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'`)")}),Il=w({camera:w({}).optional().describe("Request camera access.\n\nMaps to Permission Policy `camera` feature."),microphone:w({}).optional().describe("Request microphone access.\n\nMaps to Permission Policy `microphone` feature."),geolocation:w({}).optional().describe("Request geolocation access.\n\nMaps to Permission Policy `geolocation` feature."),clipboardWrite:w({}).optional().describe("Request clipboard write access.\n\nMaps to Permission Policy `clipboard-write` feature.")});w({method:y("ui/notifications/size-changed"),params:w({width:oe().optional().describe("New width in pixels."),height:oe().optional().describe("New height in pixels.")})});var v$=w({method:y("ui/notifications/tool-input"),params:w({arguments:ue(b(),ge().describe("Complete tool call arguments as key-value pairs.")).optional().describe("Complete tool call arguments as key-value pairs.")})}),b$=w({method:y("ui/notifications/tool-input-partial"),params:w({arguments:ue(b(),ge().describe("Partial tool call arguments (incomplete, may change).")).optional().describe("Partial tool call arguments (incomplete, may change).")})}),_$=w({method:y("ui/notifications/tool-cancelled"),params:w({reason:b().optional().describe('Optional reason for the cancellation (e.g., "user action", "timeout").')})}),y$=w({fonts:b().optional()}),k$=w({variables:f$.optional().describe("CSS variables for theming the app."),css:y$.optional().describe("CSS blocks that apps can inject.")}),$$=w({method:y("ui/resource-teardown"),params:w({})});ue(b(),ge());var Cu=w({text:w({}).optional().describe("Host supports text content blocks."),image:w({}).optional().describe("Host supports image content blocks."),audio:w({}).optional().describe("Host supports audio content blocks."),resource:w({}).optional().describe("Host supports resource content blocks."),resourceLink:w({}).optional().describe("Host supports resource link content blocks."),structuredContent:w({}).optional().describe("Host supports structured content.")});w({method:y("ui/notifications/request-teardown"),params:w({}).optional()});var x$=w({experimental:ue(b(),ue(b(),Dr()).describe("Experimental features keyed by identifier.")).optional().describe("Experimental features keyed by identifier."),openLinks:w({}).optional().describe("Host supports opening external URLs."),downloadFile:w({}).optional().describe("Host supports file downloads via ui/download-file."),serverTools:w({listChanged:be().optional().describe("Host supports tools/list_changed notifications.")}).optional().describe("Host can proxy tool calls to the MCP server."),serverResources:w({listChanged:be().optional().describe("Host supports resources/list_changed notifications.")}).optional().describe("Host can proxy resource reads to the MCP server."),logging:w({}).optional().describe("Host accepts log messages."),sandbox:w({permissions:Il.optional().describe("Permissions granted by the host (camera, microphone, geolocation)."),csp:Sl.optional().describe("CSP domains approved by the host.")}).optional().describe("Sandbox configuration applied by the host."),updateModelContext:Cu.optional().describe("Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns."),message:Cu.optional().describe("Host supports receiving content messages (ui/message) from the view."),sampling:w({tools:w({}).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.")}),w$=w({experimental:ue(b(),ue(b(),Dr()).describe("Experimental features keyed by identifier.")).optional().describe("Experimental features keyed by identifier."),tools:w({listChanged:be().optional().describe("App supports tools/list_changed notifications.")}).optional().describe("App exposes MCP-style tools that the host can call."),availableDisplayModes:G(Nn).optional().describe("Display modes the app supports.")});w({method:y("ui/notifications/initialized"),params:w({}).optional()});w({csp:Sl.optional().describe("Content Security Policy configuration for UI resources."),permissions:Il.optional().describe("Sandbox permissions requested by the UI resource."),domain:b().optional().describe(`Dedicated origin for view sandbox.
93
93
 
94
94
  Useful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.
95
95
 
@@ -103,13 +103,13 @@ Boolean requesting whether a visible border and background is provided by the ho
103
103
 
104
104
  - \`true\`: request visible border + background
105
105
  - \`false\`: request no visible border + background
106
- - omitted: host decides border`)});w({method:y("ui/request-display-mode"),params:w({mode:Nn.describe("The display mode being requested.")})});var S$=w({mode:Nn.describe("The display mode that was actually set. May differ from requested if not supported.")}).passthrough(),I$=le([y("model"),y("app")]).describe("Tool visibility scope - who can access the tool.");w({resourceUri:b().optional(),visibility:X(I$).optional().describe(`Who can access this tool. Default: ["model", "app"]
106
+ - omitted: host decides border`)});w({method:y("ui/request-display-mode"),params:w({mode:Nn.describe("The display mode being requested.")})});var S$=w({mode:Nn.describe("The display mode that was actually set. May differ from requested if not supported.")}).passthrough(),I$=ce([y("model"),y("app")]).describe("Tool visibility scope - who can access the tool.");w({resourceUri:b().optional(),visibility:G(I$).optional().describe(`Who can access this tool. Default: ["model", "app"]
107
107
  - "model": Tool visible to and callable by the agent
108
- - "app": Tool callable by the app from this server only`),csp:Nt().optional(),permissions:Nt().optional()});w({mimeTypes:X(b()).optional().describe('Array of supported MIME types for UI resources.\nMust include `"text/html;profile=mcp-app"` for MCP Apps support.')});w({method:y("ui/download-file"),params:w({contents:X(le([mg,hg])).describe("Resource contents to download — embedded (inline data) or linked (host fetches). Uses standard MCP resource types.")})});w({method:y("ui/message"),params:w({role:y("user").describe('Message role, currently only "user" is supported.'),content:X(Jr).describe("Message content blocks (text, image, etc.).")})});w({method:y("ui/notifications/sandbox-resource-ready"),params:w({html:b().describe("HTML content to load into the inner iframe."),sandbox:b().optional().describe("Optional override for the inner iframe's sandbox attribute."),csp:wl.optional().describe("CSP configuration from resource metadata."),permissions:Sl.optional().describe("Sandbox permissions from resource metadata.")})});var z$=w({method:y("ui/notifications/tool-result"),params:Vi.describe("Standard MCP tool execution result.")}),kg=w({toolInfo:w({id:Rr.optional().describe("JSON-RPC id of the tools/call request."),tool:xl.describe("Tool definition including name, inputSchema, etc.")}).optional().describe("Metadata of the tool call that instantiated this App."),theme:d$.optional().describe("Current color theme preference."),styles:k$.optional().describe("Style configuration for theming the app."),displayMode:Nn.optional().describe("How the UI is currently displayed."),availableDisplayModes:X(Nn).optional().describe("Display modes the host supports."),containerDimensions:le([w({height:re().describe("Fixed container height in pixels.")}),w({maxHeight:le([re(),tn()]).optional().describe("Maximum container height in pixels.")})]).and(le([w({width:re().describe("Fixed container width in pixels.")}),w({maxWidth:le([re(),tn()]).optional().describe("Maximum container width in pixels.")})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other
109
- container holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:b().optional().describe("User's language and region preference in BCP 47 format."),timeZone:b().optional().describe("User's timezone in IANA format."),userAgent:b().optional().describe("Host application identifier."),platform:le([y("web"),y("desktop"),y("mobile")]).optional().describe("Platform type for responsive design decisions."),deviceCapabilities:w({touch:be().optional().describe("Whether the device supports touch input."),hover:be().optional().describe("Whether the device supports hover interactions.")}).optional().describe("Device input capabilities."),safeAreaInsets:w({top:re().describe("Top safe area inset in pixels."),right:re().describe("Right safe area inset in pixels."),bottom:re().describe("Bottom safe area inset in pixels."),left:re().describe("Left safe area inset in pixels.")}).optional().describe("Mobile safe area boundaries in pixels.")}).passthrough(),T$=w({method:y("ui/notifications/host-context-changed"),params:kg.describe("Partial context update containing only changed fields.")});w({method:y("ui/update-model-context"),params:w({content:X(Jr).optional().describe("Context content blocks (text, image, etc.)."),structuredContent:ue(b(),ge().describe("Structured content for machine-readable context data.")).optional().describe("Structured content for machine-readable context data.")})});w({method:y("ui/initialize"),params:w({appInfo:Hi.describe("App identification (name and version)."),appCapabilities:w$.describe("Features and capabilities this app provides."),protocolVersion:b().describe("Protocol version this app supports.")})});var P$=w({protocolVersion:b().describe('Negotiated protocol version string (e.g., "2025-11-21").'),hostInfo:Hi.describe("Host application identification and version."),hostCapabilities:x$.describe("Features and capabilities provided by the host."),hostContext:kg.describe("Rich context about the host environment.")}).passthrough(),j$={target:"draft-2020-12"};async function Cu(e,t){let r=e["~standard"];if(r.jsonSchema)return r.jsonSchema[t](j$);if(r.vendor==="zod"){let{z:i}=await Hv(()=>Promise.resolve().then(()=>b0),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 Nu(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 Il extends s${_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:v$,toolinputpartial:b$,toolresult:z$,toolcancelled:_$,hostcontextchanged:T$};static ONE_SHOT_EVENTS=new Set(["toolinput","toolinputpartial","toolresult","toolcancelled"]);_everHadListener=new Set;_assertHandlerTiming(t){if(!Il.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||Ee({jitless:!0}),this.setRequestHandler(Bi,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=a$(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(c){Object.assign(this,c),o()},remove(){n._registeredTools[t]===s&&(delete n._registeredTools[t],o())},handler:async(c,l)=>{if(!s.enabled)throw Error(`Tool ${t} is disabled`);let d;if(a){let f=s.inputSchema,p=f?await Nu(f,c??{},`Invalid input for tool ${t}: `):c??{};d=await i(p,l)}else d=await i(l);return s.outputSchema&&!d.isError&&(d.structuredContent=await Nu(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 Cu(n.inputSchema,"input"):{type:"object",properties:{}}};return n.outputSchema&&(o.outputSchema=await Cu(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($$,(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(vg,(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(gg,(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},Vi,{onprogress:()=>{},resetTimeoutOnProgress:!0,...r})}async readServerResource(t,r){return this._assertInitialized("readServerResource"),await this.request({method:"resources/read",params:t},fg,r)}async listServerResources(t,r){return this._assertInitialized("listServerResources"),await this.request({method:"resources/list",params:t},pg,r)}async createSamplingMessage(t,r){this._assertInitialized("createSamplingMessage");let i=t.tools?yg:_g;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},g$,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},cl,r)}openLink(t,r){return this._assertInitialized("openLink"),this.request({method:"ui/open-link",params:t},m$,r)}sendOpenLink=this.openLink;downloadFile(t,r){return this._assertInitialized("downloadFile"),this.request({method:"ui/download-file",params:t},h$,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},S$,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 c=Math.ceil(a.getBoundingClientRect().height);a.style.height=s;let l=Math.ceil(window.innerWidth);(l!==r||c!==i)&&(r=l,i=c,this.sendSizeChanged({width:l,height:c}))}))};n();let o=new ResizeObserver(n);return o.observe(document.documentElement),o.observe(document.body),()=>o.disconnect()}async connect(t=new u$(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:c$}},P$,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]=fe(0);return ze(()=>Oa(()=>e(t=>t+1)),[]),ct}const D$="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 U(...e){return e.filter(Boolean).join(" ")}function $g({children:e,class:t,containerRef:r,style:i}){return u("div",{ref:r,style:i,class:U("flex min-h-0 flex-col overflow-hidden rounded-card","border border-line bg-surface",t),children:[u("div",{class:"brand-rule"}),e]})}function E$({title:e,count:t,live:r,actions:i,layout:n="wide"}){const o=n!=="wide";return u("header",{class:U("flex shrink-0 items-center justify-between gap-4 border-b border-line",o?"px-3.5 py-3":"px-4 py-[13px]"),children:[u("div",{class:U("flex min-w-0 items-center",o?"gap-2.5":"gap-3"),children:[u("h2",{class:U("truncate font-display font-semibold text-ink",n==="mobile"?"text-card-title":n==="panel"?"text-[15px]":"text-title tracking-title"),children:e}),t!==void 0&&u(zl,{narrow:o,children:t}),r&&!o&&u(xg,{})]}),u("div",{class:"flex shrink-0 items-center gap-1.5",children:[n!=="panel"&&i,o&&r&&u("span",{class:`shrink-0 rounded-full bg-ok ${n==="mobile"?"size-1.5":"size-[5px]"}`})]})]})}function O$({children:e,layout:t="wide"}){const r=t!=="panel";return u("footer",{class:U("flex shrink-0 items-center gap-4 border-t border-line py-[9px]",t==="wide"?"px-4":"px-3",r?"justify-between":"justify-end"),children:[r&&u("div",{class:"flex items-center gap-2.5",children:e}),u(C$,{compact:t==="mobile"})]})}function C$({compact:e}={}){const t=e?12:13;return u("a",{class:U("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:[u("img",{src:D$,alt:"",width:t,height:t,class:U("block",e?"size-3":"size-[13px]")}),u("span",{children:"Powered by Casys.ai"})]})}function zl({children:e,narrow:t}){return u("span",{class:U("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 xg({label:e}){const t=he();return u("span",{class:"flex shrink-0 items-center gap-1.5",children:[u("span",{class:"size-[5px] rounded-full bg-ok"}),u("span",{class:"font-mono text-micro uppercase tracking-live text-ink-faint",children:e??t("layout.live")})]})}function lt({children:e,class:t}){return u("span",{class:U("font-mono text-micro uppercase tracking-label text-ink-faint",t),children:e})}const N$={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 st({variant:e="secondary",class:t,children:r,...i}){return u("button",{type:"button",class:U("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",N$[e],t),...i,children:r})}function $o({class:e,children:t,...r}){return u("button",{type:"button",class:U("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 Au({active:e,pill:t,children:r,...i}){return u("button",{type:"button","aria-pressed":e,class:U("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 wg({label:e,children:t,layout:r="wide"}){const i=r!=="wide";return u("div",{class:U("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:[u(lt,{children:e}),u("span",{class:U("font-semibold tabular-nums text-ink",i?"font-display text-title":"font-mono text-lede"),children:t})]})}const A$={accent:"bg-accent",ok:"bg-ok",warn:"bg-warn",bad:"bg-bad",brand:"bg-brand"};function U$({value:e,tone:t="accent"}){const r=Math.max(0,Math.min(100,e));return u("div",{class:"h-[3px] overflow-hidden rounded-bar bg-track",children:u("div",{class:U("h-full rounded-bar",A$[t]),style:{width:`${r}%`}})})}function Sg({title:e,eyebrow:t,children:r,footer:i,onClose:n,size:o="compact",bodyClass:a}){const s=he(),c=pe(null),l=pe(n);return l.current=n,ze(()=>{const d=document.activeElement instanceof HTMLElement?document.activeElement:null;function f(p){if(p.key==="Escape"){p.preventDefault(),l.current();return}if(p.key!=="Tab")return;const m=c.current;if(!m)return;const h=Array.from(m.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){p.preventDefault(),m.focus();return}const _=h[0],g=h[h.length-1],$=document.activeElement;p.shiftKey&&($===_||$===m)?(p.preventDefault(),g.focus()):!p.shiftKey&&$===g&&(p.preventDefault(),_.focus())}return document.addEventListener("keydown",f),c.current?.focus(),()=>{document.removeEventListener("keydown",f),d?.isConnected&&d.focus()}},[]),u("div",{class:U("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:u("div",{ref:c,role:"dialog","aria-modal":"true","aria-label":e,tabIndex:-1,class:U("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:[u("div",{class:"brand-rule"}),u("header",{class:"flex shrink-0 items-start justify-between gap-4 border-b border-line px-4 py-[13px]",children:[u("div",{class:"flex min-w-0 flex-col gap-[3px]",children:[t&&u(lt,{children:t}),u("h2",{class:"truncate font-display text-card-title font-semibold text-ink",children:e})]}),u("button",{type:"button",onClick:n,"aria-label":s("common.close"),class:U("-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:"×"})]}),u("div",{class:U("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&&u("footer",{class:"flex shrink-0 flex-col border-t border-line",children:i})]})})}function Ig({children:e,label:t}){return u("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&&u(lt,{class:"mr-1",children:t}),e]})}function xo({children:e,tone:t="neutral"}){return u("p",{class:U("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 at({class:e,style:t}){return u("div",{class:U("skeleton",e),style:t})}const R$=480;function L$(){const e=pe(null),[t,r]=fe(null);return ze(()=>{const i=e.current;if(!i)return;if(typeof ResizeObserver>"u"){r(i.getBoundingClientRect().width);return}const n=new ResizeObserver(o=>{const a=o[0];a&&r(a.contentRect.width)});return n.observe(i),()=>n.disconnect()},[]),[e,t]}function Z$(e){return e!==null&&e<R$}function Uu(e){return typeof e=="number"&&Number.isFinite(e)&&e>0?`${e}px`:null}function zg(e){const t=Uu(e?.height);if(t)return{height:t};const r=Uu(e?.maxHeight);return r?{maxHeight:r}:void 0}const M$=["wide","panel","mobile"];function F$(e=location.search){const t=new URLSearchParams(e).get("layout");return M$.includes(t)?t:null}function q$(){const[e,t]=fe(!1);return ze(()=>{if(typeof matchMedia!="function")return;const r=matchMedia("(pointer: coarse)");t(r.matches);const i=n=>t(n.matches);return r.addEventListener("change",i),()=>r.removeEventListener("change",i)},[]),e}function J$(){const e=Ca(),t=q$(),r=e.deviceCapabilities;return r?.touch!==void 0?r.touch&&r.hover!==!0:t}function H$(){const[e,t]=L$(),r=Ca(),i=J$(),n=typeof location>"u"?null:F$(),o=r.containerDimensions?.width??r.containerDimensions?.maxWidth??t,a=Z$(o)?i?"mobile":"panel":"wide",s=n??a,c=zg(r.containerDimensions);return{ref:e,width:o,layout:s,boundsStyle:c}}function B$(){return{generation:0,inFlight:null,pendingForced:!1}}function Ru(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 Lu(e){return{...e,generation:e.generation+1}}function V$(e,t){return e.inFlight!==t?{state:e,accept:!1,runPending:!1}:{state:{...e,inFlight:null},accept:e.generation===t,runPending:e.pendingForced}}function K$(e,t={}){return!e.request||e.visibilityState!=="visible"||e.refreshInFlight?!1:t.ignoreInterval?!0:e.now-e.lastRefreshStartedAt>=e.minIntervalMs}function ra(e,t){return e?.refreshRequest??t}function W$(e){return e instanceof Error&&/timed? out/i.test(e.message)?ct("common.error.refresh_timeout"):ct("common.error.refresh_failed")}function Rt(e){return e.structuredContent?JSON.stringify(e.structuredContent):e.content?.find(t=>t.type==="text")?.text??null}const G$=new Set(["status","docstatus","workflow_state"]),Y$=new Set(["doctype","owner","modified_by","creation","modified","idx","_rowAction","_sendMessageHints"]),X$=new Set(["status","workflow_state","company","territory","customer_group","item_group","supplier_group","priority","type"]),Q$=6,ex=["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 tx(e){const t=[],r=[];for(const i of ex)e.includes(i)&&t.push(i);for(const i of e.sort())t.includes(i)||r.push(i);return[...t,...r].slice(0,Q$)}function Ki(e){return G$.has(e.toLowerCase())}function it(e){return e==null?"—":typeof e=="number"?wt(e,e%1===0?0:2):typeof e=="boolean"?ct(e?"common.yes":"common.no"):typeof e=="object"?JSON.stringify(e):String(e)}function nx(e,t,r){const i=e.join(","),n=t.map(l=>e.map(d=>{const f=it(l[d]);return f.includes(",")||f.includes('"')?`"${f.replace(/"/g,'""')}"`:f}).join(",")).join(`
108
+ - "app": Tool callable by the app from this server only`),csp:Nt().optional(),permissions:Nt().optional()});w({mimeTypes:G(b()).optional().describe('Array of supported MIME types for UI resources.\nMust include `"text/html;profile=mcp-app"` for MCP Apps support.')});w({method:y("ui/download-file"),params:w({contents:G(ce([mg,hg])).describe("Resource contents to download — embedded (inline data) or linked (host fetches). Uses standard MCP resource types.")})});w({method:y("ui/message"),params:w({role:y("user").describe('Message role, currently only "user" is supported.'),content:G(Hr).describe("Message content blocks (text, image, etc.).")})});w({method:y("ui/notifications/sandbox-resource-ready"),params:w({html:b().describe("HTML content to load into the inner iframe."),sandbox:b().optional().describe("Optional override for the inner iframe's sandbox attribute."),csp:Sl.optional().describe("CSP configuration from resource metadata."),permissions:Il.optional().describe("Sandbox permissions from resource metadata.")})});var z$=w({method:y("ui/notifications/tool-result"),params:Vi.describe("Standard MCP tool execution result.")}),kg=w({toolInfo:w({id:Lr.optional().describe("JSON-RPC id of the tools/call request."),tool:wl.describe("Tool definition including name, inputSchema, etc.")}).optional().describe("Metadata of the tool call that instantiated this App."),theme:d$.optional().describe("Current color theme preference."),styles:k$.optional().describe("Style configuration for theming the app."),displayMode:Nn.optional().describe("How the UI is currently displayed."),availableDisplayModes:G(Nn).optional().describe("Display modes the host supports."),containerDimensions:ce([w({height:oe().describe("Fixed container height in pixels.")}),w({maxHeight:ce([oe(),tn()]).optional().describe("Maximum container height in pixels.")})]).and(ce([w({width:oe().describe("Fixed container width in pixels.")}),w({maxWidth:ce([oe(),tn()]).optional().describe("Maximum container width in pixels.")})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other
109
+ container holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:b().optional().describe("User's language and region preference in BCP 47 format."),timeZone:b().optional().describe("User's timezone in IANA format."),userAgent:b().optional().describe("Host application identifier."),platform:ce([y("web"),y("desktop"),y("mobile")]).optional().describe("Platform type for responsive design decisions."),deviceCapabilities:w({touch:be().optional().describe("Whether the device supports touch input."),hover:be().optional().describe("Whether the device supports hover interactions.")}).optional().describe("Device input capabilities."),safeAreaInsets:w({top:oe().describe("Top safe area inset in pixels."),right:oe().describe("Right safe area inset in pixels."),bottom:oe().describe("Bottom safe area inset in pixels."),left:oe().describe("Left safe area inset in pixels.")}).optional().describe("Mobile safe area boundaries in pixels.")}).passthrough(),T$=w({method:y("ui/notifications/host-context-changed"),params:kg.describe("Partial context update containing only changed fields.")});w({method:y("ui/update-model-context"),params:w({content:G(Hr).optional().describe("Context content blocks (text, image, etc.)."),structuredContent:ue(b(),ge().describe("Structured content for machine-readable context data.")).optional().describe("Structured content for machine-readable context data.")})});w({method:y("ui/initialize"),params:w({appInfo:Hi.describe("App identification (name and version)."),appCapabilities:w$.describe("Features and capabilities this app provides."),protocolVersion:b().describe("Protocol version this app supports.")})});var P$=w({protocolVersion:b().describe('Negotiated protocol version string (e.g., "2025-11-21").'),hostInfo:Hi.describe("Host application identification and version."),hostCapabilities:x$.describe("Features and capabilities provided by the host."),hostContext:kg.describe("Rich context about the host environment.")}).passthrough(),j$={target:"draft-2020-12"};async function Nu(e,t){let r=e["~standard"];if(r.jsonSchema)return r.jsonSchema[t](j$);if(r.vendor==="zod"){let{z:i}=await Hv(()=>Promise.resolve().then(()=>b0),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 Au(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 zl extends s${_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:v$,toolinputpartial:b$,toolresult:z$,toolcancelled:_$,hostcontextchanged:T$};static ONE_SHOT_EVENTS=new Set(["toolinput","toolinputpartial","toolresult","toolcancelled"]);_everHadListener=new Set;_assertHandlerTiming(t){if(!zl.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||Oe({jitless:!0}),this.setRequestHandler(Bi,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=a$(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(c){Object.assign(this,c),o()},remove(){n._registeredTools[t]===s&&(delete n._registeredTools[t],o())},handler:async(c,l)=>{if(!s.enabled)throw Error(`Tool ${t} is disabled`);let d;if(a){let f=s.inputSchema,p=f?await Au(f,c??{},`Invalid input for tool ${t}: `):c??{};d=await i(p,l)}else d=await i(l);return s.outputSchema&&!d.isError&&(d.structuredContent=await Au(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 Nu(n.inputSchema,"input"):{type:"object",properties:{}}};return n.outputSchema&&(o.outputSchema=await Nu(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($$,(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(vg,(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(gg,(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},Vi,{onprogress:()=>{},resetTimeoutOnProgress:!0,...r})}async readServerResource(t,r){return this._assertInitialized("readServerResource"),await this.request({method:"resources/read",params:t},fg,r)}async listServerResources(t,r){return this._assertInitialized("listServerResources"),await this.request({method:"resources/list",params:t},pg,r)}async createSamplingMessage(t,r){this._assertInitialized("createSamplingMessage");let i=t.tools?yg:_g;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},g$,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},ll,r)}openLink(t,r){return this._assertInitialized("openLink"),this.request({method:"ui/open-link",params:t},m$,r)}sendOpenLink=this.openLink;downloadFile(t,r){return this._assertInitialized("downloadFile"),this.request({method:"ui/download-file",params:t},h$,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},S$,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 c=Math.ceil(a.getBoundingClientRect().height);a.style.height=s;let l=Math.ceil(window.innerWidth);(l!==r||c!==i)&&(r=l,i=c,this.sendSizeChanged({width:l,height:c}))}))};n();let o=new ResizeObserver(n);return o.observe(document.documentElement),o.observe(document.body),()=>o.disconnect()}async connect(t=new u$(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:c$}},P$,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]=pe(0);return Pe(()=>Ca(()=>e(t=>t+1)),[]),lt}const D$="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 A(...e){return e.filter(Boolean).join(" ")}function $g({children:e,class:t,containerRef:r,style:i}){return u("div",{ref:r,style:i,class:A("flex min-h-0 flex-col overflow-hidden rounded-card","border border-line bg-surface",t),children:[u("div",{class:"brand-rule"}),e]})}function E$({title:e,count:t,live:r,actions:i,layout:n="wide"}){const o=n!=="wide";return u("header",{class:A("flex shrink-0 items-center justify-between gap-4 border-b border-line",o?"px-3.5 py-3":"px-4 py-[13px]"),children:[u("div",{class:A("flex min-w-0 items-center",o?"gap-2.5":"gap-3"),children:[u("h2",{class:A("truncate font-display font-semibold text-ink",n==="mobile"?"text-card-title":n==="panel"?"text-[15px]":"text-title tracking-title"),children:e}),t!==void 0&&u(Tl,{narrow:o,children:t}),r&&!o&&u(xg,{})]}),u("div",{class:"flex shrink-0 items-center gap-1.5",children:[n!=="panel"&&i,o&&r&&u("span",{class:`shrink-0 rounded-full bg-ok ${n==="mobile"?"size-1.5":"size-[5px]"}`})]})]})}function O$({children:e,layout:t="wide"}){const r=t!=="panel";return u("footer",{class:A("flex shrink-0 items-center gap-4 border-t border-line py-[9px]",t==="wide"?"px-4":"px-3",r?"justify-between":"justify-end"),children:[r&&u("div",{class:"flex items-center gap-2.5",children:e}),u(C$,{compact:t==="mobile"})]})}function C$({compact:e}={}){const t=e?12:13;return u("a",{class:A("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:[u("img",{src:D$,alt:"",width:t,height:t,class:A("block",e?"size-3":"size-[13px]")}),u("span",{children:"Powered by Casys.ai"})]})}function Tl({children:e,narrow:t}){return u("span",{class:A("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 xg({label:e}){const t=he();return u("span",{class:"flex shrink-0 items-center gap-1.5",children:[u("span",{class:"size-[5px] rounded-full bg-ok"}),u("span",{class:"font-mono text-micro uppercase tracking-live text-ink-faint",children:e??t("layout.live")})]})}function ut({children:e,class:t}){return u("span",{class:A("font-mono text-micro uppercase tracking-label text-ink-faint",t),children:e})}const N$={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 ct({variant:e="secondary",class:t,children:r,...i}){return u("button",{type:"button",class:A("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",N$[e],t),...i,children:r})}function xo({class:e,children:t,...r}){return u("button",{type:"button",class:A("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 Uu({active:e,pill:t,children:r,...i}){return u("button",{type:"button","aria-pressed":e,class:A("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 wg({label:e,children:t,layout:r="wide"}){const i=r!=="wide";return u("div",{class:A("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:[u(ut,{children:e}),u("span",{class:A("font-semibold tabular-nums text-ink",i?"font-display text-title":"font-mono text-lede"),children:t})]})}const A$={accent:"bg-accent",ok:"bg-ok",warn:"bg-warn",bad:"bg-bad",brand:"bg-brand"};function U$({value:e,tone:t="accent"}){const r=Math.max(0,Math.min(100,e));return u("div",{class:"h-[3px] overflow-hidden rounded-bar bg-track",children:u("div",{class:A("h-full rounded-bar",A$[t]),style:{width:`${r}%`}})})}function Sg({title:e,eyebrow:t,children:r,footer:i,onClose:n,size:o="compact",bodyClass:a}){const s=he(),c=de(null),l=de(n);return l.current=n,Pe(()=>{const d=document.activeElement instanceof HTMLElement?document.activeElement:null;function f(p){if(p.key==="Escape"){p.preventDefault(),l.current();return}if(p.key!=="Tab")return;const m=c.current;if(!m)return;const h=Array.from(m.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){p.preventDefault(),m.focus();return}const _=h[0],g=h[h.length-1],$=document.activeElement;p.shiftKey&&($===_||$===m)?(p.preventDefault(),g.focus()):!p.shiftKey&&$===g&&(p.preventDefault(),_.focus())}return document.addEventListener("keydown",f),c.current?.focus(),()=>{document.removeEventListener("keydown",f),d?.isConnected&&d.focus()}},[]),u("div",{class:A("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:u("div",{ref:c,role:"dialog","aria-modal":"true","aria-label":e,tabIndex:-1,class:A("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:[u("div",{class:"brand-rule"}),u("header",{class:"flex shrink-0 items-start justify-between gap-4 border-b border-line px-4 py-[13px]",children:[u("div",{class:"flex min-w-0 flex-col gap-[3px]",children:[t&&u(ut,{children:t}),u("h2",{class:"truncate font-display text-card-title font-semibold text-ink",children:e})]}),u("button",{type:"button",onClick:n,"aria-label":s("common.close"),class:A("-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:"×"})]}),u("div",{class:A("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&&u("footer",{class:"flex shrink-0 flex-col border-t border-line",children:i})]})})}function Ig({children:e,label:t}){return u("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&&u(ut,{class:"mr-1",children:t}),e]})}function wo({children:e,tone:t="neutral"}){return u("p",{class:A("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 st({class:e,style:t}){return u("div",{class:A("skeleton",e),style:t})}const R$=480;function L$(){const e=de(null),[t,r]=pe(null);return Fn(()=>{const i=e.current;if(!i||(r(Z$(i)),typeof ResizeObserver>"u"))return;const n=new ResizeObserver(o=>{const a=o[0];a&&r(a.contentRect.width)});return n.observe(i),()=>n.disconnect()},[]),[e,t]}function Z$(e){const t=getComputedStyle(e);return e.clientWidth-parseFloat(t.paddingLeft)-parseFloat(t.paddingRight)}function M$(e){return e!==null&&e<R$}function Ru(e){return typeof e=="number"&&Number.isFinite(e)&&e>0?`${e}px`:null}function zg(e){const t=Ru(e?.height);if(t)return{height:t};const r=Ru(e?.maxHeight);return r?{maxHeight:r}:void 0}const F$=["wide","panel","mobile"];function q$(e=location.search){const t=new URLSearchParams(e).get("layout");return F$.includes(t)?t:null}function J$(){return typeof matchMedia=="function"&&matchMedia("(pointer: coarse)").matches}function H$(){const[e,t]=pe(J$);return Pe(()=>{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 B$(){const e=Na(),t=H$(),r=e.deviceCapabilities;return r?.touch!==void 0?r.touch&&r.hover!==!0:t}function V$(){const[e,t]=L$(),r=Na(),i=B$(),n=typeof location>"u"?null:q$(),o=r.containerDimensions?.width??r.containerDimensions?.maxWidth??t,a=M$(o)?i?"mobile":"panel":"wide",s=n??a,c=zg(r.containerDimensions);return{ref:e,width:o,layout:s,boundsStyle:c}}function K$(){return{generation:0,inFlight:null,pendingForced:!1}}function Lu(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 Zu(e){return{...e,generation:e.generation+1}}function W$(e,t){return e.inFlight!==t?{state:e,accept:!1,runPending:!1}:{state:{...e,inFlight:null},accept:e.generation===t,runPending:e.pendingForced}}function G$(e,t={}){return!e.request||e.visibilityState!=="visible"||e.refreshInFlight?!1:t.ignoreInterval?!0:e.now-e.lastRefreshStartedAt>=e.minIntervalMs}function ra(e,t){return e?.refreshRequest??t}function Y$(e){return e instanceof Error&&/timed? out/i.test(e.message)?lt("common.error.refresh_timeout"):lt("common.error.refresh_failed")}function Rt(e){return e.structuredContent?JSON.stringify(e.structuredContent):e.content?.find(t=>t.type==="text")?.text??null}const X$=new Set(["status","docstatus","workflow_state"]),Q$=new Set(["doctype","owner","modified_by","creation","modified","idx","_rowAction","_sendMessageHints"]),ex=new Set(["status","workflow_state","company","territory","customer_group","item_group","supplier_group","priority","type"]),tx=6,nx=["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 rx(e){const t=[],r=[];for(const i of nx)e.includes(i)&&t.push(i);for(const i of e.sort())t.includes(i)||r.push(i);return[...t,...r].slice(0,tx)}function Ki(e){return X$.has(e.toLowerCase())}function at(e){return e==null?"—":typeof e=="number"?wt(e,e%1===0?0:2):typeof e=="boolean"?lt(e?"common.yes":"common.no"):typeof e=="object"?JSON.stringify(e):String(e)}function ox(e,t,r){const i=e.join(","),n=t.map(l=>e.map(d=>{const f=at(l[d]);return f.includes(",")||f.includes('"')?`"${f.replace(/"/g,'""')}"`:f}).join(",")).join(`
110
110
  `),o=`${i}
111
- ${n}`,a=new Blob([o],{type:"text/csv"}),s=URL.createObjectURL(a),c=document.createElement("a");c.href=s,c.download=`${r??"export"}.csv`,c.click(),URL.revokeObjectURL(s)}function rx(e,t){let r=e;for(const i of t.split(".")){if(r==null||typeof r!="object")return;r=r[i]}return r}function Tg({embedded:e=!1}){const t=Ca(),r=u(Pe,{children:[u("div",{class:"flex items-center gap-3 border-b border-line px-4 py-[13px]",children:[u(at,{class:"h-[17px] w-40"}),u(at,{class:"h-[17px] w-8"})]}),u("div",{class:"flex gap-1.5 border-b border-line px-4 py-2.5",children:[48,72,64,68].map(i=>u(at,{class:"h-[19px]",style:{width:i}},i))}),u("div",{class:"flex flex-col",children:Array.from({length:8},(i,n)=>u("div",{class:"border-b border-line-soft px-4 py-2",children:u(at,{class:"h-[15px]",style:{opacity:1-n*.1}})},n))})]});return e?u("div",{class:"min-h-0 flex-1 bg-surface",children:r}):u($g,{style:zg(t.containerDimensions),children:r})}function ox(){const e=he();return u(xo,{children:e("doclist.empty.message")})}function Zu({size:e=11}){return u("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",class:"shrink-0",children:[u("circle",{cx:"5",cy:"5",r:"3.6",stroke:"currentColor","stroke-width":"1.2"}),u("path",{d:"M7.8 7.8L10.5 10.5",stroke:"currentColor","stroke-width":"1.2","stroke-linecap":"round"})]})}function ix({value:e,layout:t,open:r,onOpenChange:i,onInput:n}){const o=he();return t!=="mobile"?u("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:[u("span",{class:"text-ink-faint group-focus-within:text-accent-text",children:u(Zu,{})}),u("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"})]}):u("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:u(Zu,{size:13})})}function ax({value:e,onInput:t,onClose:r}){const i=he(),n=pe(null);return ze(()=>{n.current?.focus()},[]),u("div",{class:"shrink-0 px-3 pb-2.5",children:u("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 yt(e){if(typeof e!="string"&&typeof e!="number")return null;const t=String(e).trim();return t.length>0?t:null}function Tl(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 sx(e){return`document-rows:${e.doctype}:${e.name}`}function wo(e,t,r,i,n){const o=yt(r.item_code);if(!o)return null;const a=yt(r.item_name),s=e.document[t.key],c=Array.isArray(s)&&s[i]!==null&&typeof s[i]=="object"&&!Array.isArray(s[i])?s[i]:null,l=yt(c?.name)??yt(c?.idx)??`${o}:${i+1}`,d=[yt(r.qty)?`Qty ${yt(r.qty)}`:null,yt(r.warehouse),yt(r.amount)].filter(f=>!!f);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(" · ")}:{}}}const cx=new Set(["idx","parent","parenttype","parentfield","doctype","owner","creation","modified","modified_by","docstatus"]),lx=["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"],ux=["amount","base_amount","net_amount","base_net_amount","operating_cost","base_operating_cost","stock_value_difference"],dx=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)$/;function px(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function fx(e){try{return JSON.stringify(e)??String(e)}catch{return String(e)}}function Pl(e){return e===null||typeof e=="string"||typeof e=="boolean"?e:typeof e=="number"?Number.isFinite(e)?e:String(e):fx(e)}function An(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 Pg(e){if(typeof e=="number")return Number.isFinite(e)?e:null;if(typeof e!="string")return null;const t=e.trim();return dx.test(t)?Number(t):null}function mx(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 hx(e,t){const r=e.map(i=>i[t]).filter(i=>i!=null&&i!=="");return r.length>0&&r.every(i=>Pg(i)!==null)}function gx(e,t){for(const r of ux){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(Pg);if(!n.some(o=>o===null))return{key:r,label:An(r),value:n.reduce((o,a)=>o+(a??0),0)}}}function vx(e){return e.some(t=>"parent"in t||"parenttype"in t||"parentfield"in t||"idx"in t)}function bx(e){const t=new Map,r=vx(e);for(const n of e)for(const o of Object.keys(n))o.startsWith("_")||cx.has(o)||r&&o==="name"||t.has(o)||t.set(o,t.size);const i=new Map(lx.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 _x(e,t){const r=bx(t),i=t.map(a=>Object.fromEntries(r.filter(s=>Object.prototype.hasOwnProperty.call(a,s)).map(s=>[s,Pl(a[s])]))),n=r.map(a=>({key:a,label:An(a),numeric:hx(i,a)})),o=gx(i,n);return{key:e,label:An(e),rows:i,columns:n,...o?{total:o}:{}}}function jg(e,t){return e.columns.slice(0,t==="wide"?4:3)}function yx(e,t,r){const i=e.rows[t];if(!i)return[];const n=new Set(jg(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:mx(o.key,i[o.key]??null)}))}function kx(e){return Array.isArray(e)&&e.length>0&&e.every(px)}const $x=new Set(["_availableTools","_sendMessageHints","refreshRequest"]),xx=new Set(["name","doctype","owner","creation","modified","modified_by","docstatus","idx","_user_tags","_comments","_assign","_liked_by","__islocal","__unsaved"]),wx=["title","subject","item_name","customer_name","supplier_name","project_name","employee_name"],Sx=/(^|_)(description|notes?|remarks?|terms|instructions?|content|message|details?)($|_)/i,Ix=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)$/;function _t(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Ne(e){return typeof e=="string"&&e.trim().length>0?e.trim():null}function zx(e){if(Array.isArray(e))return[...new Set(e.filter(t=>typeof t=="string"&&t.length>0))]}function Tx(e){if(!_t(e))return;const t=Ne(e.toolName);if(!(!t||!_t(e.arguments)))return{toolName:t,arguments:{...e.arguments}}}function Px(e){if(Array.isArray(e))return e.flatMap(t=>{if(!_t(t))return[];const r=Ne(t.label);if(!r)return[];const i=t.kind==="list"||t.kind==="record"||t.kind==="chart"?t.kind:void 0;return[{label:r,...Ne(t.key)?{key:Ne(t.key)}:{},...Ne(t.message)?{message:Ne(t.message)}:{},...Ne(t.tool)?{tool:Ne(t.tool)}:{},..._t(t.args)?{args:{...t.args}}:{},...i?{kind:i}:{}}]})}function jx(e){if(!_t(e)||!_t(e.document))return null;const t=Ne(e.document.doctype)??Ne(e.doctype),r=Ne(e.document.name)??Ne(e.name);return!t||!r?null:{...e,document:e.document,doctype:t,name:r}}function Un(e){if(!_t(e))return null;const t=_t(e.data)?e.data:null,i=(t&&Ne(t.doctype)&&Ne(t.name)?t:null)??e,n=Object.fromEntries(Object.entries(i).filter(([d])=>!$x.has(d))),o=Ne(n.doctype)??Ne(e.doctype),a=Ne(n.name)??Ne(e.name);if(!o||!a)return null;const s=zx(e._availableTools),c=Tx(e.refreshRequest),l=Px(e._sendMessageHints);return{document:n,doctype:o,name:a,...s!==void 0?{availableTools:s}:{},...c?{refreshRequest:c}:{},...l!==void 0?{sendMessageHints:l}:{}}}function jl(e){if(typeof e=="number")return Number.isFinite(e)?e:null;if(typeof e!="string")return null;const t=e.trim();return Ix.test(t)?Number(t):null}function Dx(e,t){return jl(t)!==null&&(e==="progress"||e.endsWith("_progress")||e==="percent_complete"||e==="percentage_complete"||e==="completion_percentage")}function Ex(e,t){return Dx(e,t)?"progress":t==null||t===""?"empty":typeof t=="number"?"number":typeof t=="boolean"?"boolean":e==="status"||e==="workflow_state"||e.endsWith("_status")?"status":_t(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 Ox(e){try{return JSON.stringify(e,null,2)??String(e)}catch{return String(e)}}function Mu(e,t){const r=Ex(e,t);let i=r==="json"?Ox(t):Pl(t);return r==="progress"&&(i=jl(t)),{key:e,label:An(e),value:i,kind:r}}function Cx(e){return e.startsWith("_")||xx.has(e)}function Nx(e){return e.kind==="json"||typeof e.value=="string"&&(e.value.includes(`
112
- `)||e.value.length>=120||Sx.test(e.key))}function Ax(e){for(const t of wx){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 Ux(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 Rx(e,t){return{key:e,label:An(e),values:t.map(Pl)}}function Dl(e){const t=jx(e)??Un(e);if(!t)return null;const r=[],i=[],n=[],o=[],a=[],s=[];for(const[d,f]of Object.entries(t.document)){if(Cx(d)){s.push(Mu(d,f));continue}if(d==="status"||d==="workflow_state")continue;if(kx(f)){a.push(_x(d,f));continue}if(Array.isArray(f)){o.push(Rx(d,f));continue}const p=Mu(d,f);p.kind==="progress"?n.push(p):Nx(p)?i.push(p):r.push(p)}const c=jl(t.document.docstatus),l=Ux(t.document);return{envelope:t,title:Ax(t),...l?{status:l}:{},...c!==null?{docstatus:c}:{},fields:r,longFields:i,progressFields:n,collections:o,childTables:a,systemFields:s}}const Lx=["update","submit","cancel","attachment.added"],Zx=new Set(Lx),Mx=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$/;function oa(e){return typeof e=="string"&&e.trim().length>0}function Fx(e){if(e===null||typeof e!="object"||Array.isArray(e))return!1;const t=e;return oa(t.doctype)&&oa(t.name)&&typeof t.mutation=="string"&&Zx.has(t.mutation)&&typeof t.committedAt=="string"&&Mx.test(t.committedAt)&&Number.isFinite(Date.parse(t.committedAt))&&(t.source===void 0||oa(t.source))}const qx=new Set(["bar","horizontal-bar","stacked-bar","line","area","stacked-area","composed"]),Jx=new Set(["bar","line","area"]);function Hx(e){return typeof e=="string"&&qx.has(e)?e:void 0}function Bx(e){return typeof e=="string"&&Jx.has(e)?e:void 0}function So(e,t){return t.type?t.type:e.type==="line"?"line":e.type==="area"||e.type==="stacked-area"?"area":"bar"}function Vx(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 Dg(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 Gr(e){return typeof e=="string"&&e.trim().length>0?e.trim():void 0}function Fu(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:null}function In(e,t={}){const r=Un(e);if(r)return r;const i=Fu(e);if(!i)return null;const n=Fu(i.data)??i,o=Gr(n.doctype)??Gr(t.doctype),a=Gr(n.name)??Gr(t.name);return!o||!a?null:Un({...i,data:{...n,doctype:o,name:a}})}const Kx={erpnext_doc_submit:"submit",erpnext_doc_cancel:"cancel"};function Wx(e,t,r,i){const n=Kx[t];if(!n)return null;const o={doctype:e.doctype,name:e.name,mutation:n,committedAt:r,source:i};return Fx(o)?o:null}function Gx(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((c,l)=>{const d=Number(s[l]??0);return Number.isFinite(d)?d:0}),color:typeof a.color=="string"?a.color:void 0,type:Bx(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:Hx(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 Yx(e){return!e||typeof e!="object"?null:Array.isArray(e.data)?e:null}function Xx({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]),c=e.filter(({col:l})=>t[l]).length;return u("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:[u(Au,{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(f=>{const p=t[l]===f;return u(Au,{pill:n,active:p,onClick:()=>o(l,p?null:f),children:[f," ",r[l]?.[f]??0,p&&u("span",{"aria-hidden":"true",class:"ml-1.5 text-accent-text",children:"×"})]},`${l}:${f}`)})),s&&!n&&u("span",{class:"ml-auto shrink-0 font-mono text-chip text-ink-faint",children:[a("doclist.chips.filter_count",{n:c,s:c>1?"s":""})," · ",a("doclist.chips.row_count",{n:i,s:i>1?"s":""})]})]})}const El={ok:"border-l-ok",warn:"border-l-warn",bad:"border-l-bad",neutral:"border-l-transparent"},Ol={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"},Eg={ok:"text-ok",warn:"text-warn-text",bad:"text-bad",neutral:"text-ink-2"},Qx={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 Wi(e){return Qx[e]??"neutral"}function ew(e){return Number.isFinite(e)&&e<=1}function Io({expanded:e,label:t,onToggle:r,controls:i,touch:n=!1,hintSide:o="left",class:a}){const s=he(),c=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 u("button",{type:"button","aria-label":l,"aria-expanded":c?e:void 0,"aria-controls":i,"data-detail-hint":d,"data-detail-hint-side":o,onClick:f=>{f.stopPropagation(),ew(f.detail)&&r()},onDblClick:f=>f.stopPropagation(),class:U("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:u("span",{"aria-hidden":"true",class:U("select-none font-mono text-[14px] leading-none transition-transform duration-150",e===!0&&"rotate-90 text-accent"),children:c?"›":"↗"})})}function an(e,t){if(!e)return{};const r=t&&e.onDoubleActivate?{key:t.key,onSingle:e.onActivate,onDouble:e.onDoubleActivate}: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())}}}const tw=320;function nw(e,t){const r=setTimeout(e,t);return()=>clearTimeout(r)}function rw(e=nw){const t=new Map,r=new Map,i=new Map,n=new Map;function o(h){try{return Promise.resolve(h.onSingle()).then(_=>typeof _=="function"?_:null,()=>null)}catch{return Promise.resolve(null)}}function a(h){return h.then(async _=>{try{return await _?.()!==!1}catch{return!1}finally{_?.release?.()}},()=>!1)}function s(h){h.then(_=>_?.release?.(),()=>{})}function c(){for(const h of r.values())s(h);r.clear()}function l(h){const _=t.get(h);_&&(t.delete(h),_.cancelTimer())}function d(h){l(h);const _=r.get(h);r.delete(h),_&&s(_),i.delete(h),n.delete(h)}function f(){const h=[...t.values()];t.clear(),c(),i.clear(),n.clear();for(const _ of h)_.cancelTimer()}function p(h,_){d(h.key);const g=o(h);s(g)}function m(h){if(n.has(h.key))return;l(h.key);const _=r.get(h.key);r.delete(h.key);const g=i.get(h.key)??(_?a(_):null);if(i.delete(h.key),g){const $={};n.set(h.key,$),g.then(S=>{n.get(h.key)===$&&(n.delete(h.key),S&&h.onDouble())})}else n.delete(h.key),h.onDouble()}return{click(h,_=1){if(_>=2){if(t.has(h.key))l(h.key);else{const $=r.get(h.key);r.delete(h.key),$&&i.set(h.key,a($))}return}c(),i.clear(),d(h.key);const g={cancelTimer:()=>{}};t.set(h.key,g),g.cancelTimer=e(()=>{t.get(h.key)===g&&(t.delete(h.key),r.set(h.key,o(h)))},tw)},doubleClick:m,keyDown(h,_){if(!_.repeat){if(_.key===" "){_.preventDefault(),p(h);return}_.key==="Enter"&&(_.preventDefault(),d(h.key),h.onDouble())}},cancel:d,cancelAll:f}}function Cl(){const e=pe(null);e.current===null&&(e.current=rw());const t=e.current;return ze(()=>()=>t.cancelAll(),[t]),t}const ow=["outstanding_amount","grand_total","total","amount","base_grand_total","qty"];function iw(e){for(const r of ow)if(e.some(i=>i.id===r))return r;return e.filter(r=>r.numeric).at(-1)?.id}function aw(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 Nl(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 Og(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}}function sw({value:e}){return u(cw,{tone:Wi(e),children:e})}function cw({tone:e,children:t,pill:r}){return u("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"} ${Ol[e]}`,children:t})}function lw({layout:e,amountKey:t,sortKey:r,sortDir:i,onSort:n,...o}){const a=he(),s=Cl();if(o.rows.length===0)return u("p",{class:"px-4 py-10 text-center text-data text-ink-muted",children:a("doclist.table.no_match")});const c=o.columns.find(f=>Ki(f.id))?.id,l=o.rows.some((f,p)=>!!o.interactionTarget?.(f,p)?.onDoubleActivate),d=(f,p)=>{const m=o.rowId(f,p);return{id:m,row:f,selected:o.selectedId===m,interactionTarget:o.interactionTarget?.(f,p),struck:o.struckId===m,tone:c?Wi(String(f[c]??"")):"neutral"}};return e==="mobile"?u(dw,{...o,shape:d,amountKey:t,clickIntent:s,hasDetailControls:l}):e==="panel"?u(pw,{...o,shape:d,amountKey:t,clickIntent:s,hasDetailControls:l}):u(uw,{...o,shape:d,statusKey:c,sortKey:r,sortDir:i,onSort:n,clickIntent:s,hasDetailControls:l})}function Al({target:e,touch:t=!1}){const r=e?.onDoubleActivate;return r?u(Io,{expanded:!!e.expanded,label:e.detailLabel??e.label,controls:e.controls,onToggle:r,touch:t}):null}function Cg(e,t){const r=t?e[t]:void 0;return t==="outstanding_amount"&&r===0?null:r}function Ul(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 zo(e,t){return["border-r-2",e?"border-r-accent":"border-r-transparent",t&&!e&&"active:border-r-accent-edge"].filter(Boolean).join(" ")}function uw({columns:e,rows:t,shape:r,statusKey:i,sortKey:n,sortDir:o,onSort:a,detail:s,clickIntent:c,hasDetailControls:l}){const d=he();return u("table",{class:"w-full table-fixed border-collapse",children:[u("thead",{children:u("tr",{class:"bg-sunken",children:[e.map((f,p)=>u("th",{scope:"col","aria-sort":n===f.id?o==="desc"?"descending":"ascending":"none",class:["border-b border-line py-[7px] font-normal",p===0?"pl-4 pr-3.5":"px-3.5",f.numeric?"text-right":"text-left"].join(" "),children:u("button",{type:"button",onClick:()=>a(f.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===f.id?"text-accent":"text-ink-faint"}`,children:[f.label,n===f.id&&u("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"?u("path",{d:"M1 4L3.5 1L6 4",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}):u("path",{d:"M1 1L3.5 4L6 1",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})})]})},f.id)),l&&u("th",{scope:"col",class:"w-10 border-b border-line bg-sunken",children:u("span",{class:"sr-only",children:d("doclist.detail.inspector_label")})})]})}),u("tbody",{children:t.map((f,p)=>{const{id:m,row:h,selected:_,interactionTarget:g,tone:$,struck:S}=r(f,p),k=_||!!g?.selected,z=!!g;return u(Pe,{children:[u("tr",{class:`border-b border-line-soft ${Ul(k,z,S)}`,...an(g,{arbiter:c,key:`doclist-row:${m}`}),role:"row","aria-pressed":void 0,"aria-selected":g?.selected,children:[e.map((x,P)=>{const O=h[x.id],I=P===0,C=P===e.length-1;return u("td",{class:["truncate py-2",I?`border-l-2 ${El[$]} pl-[14px] pr-3.5`:"px-3.5",C&&!l&&zo(!!g?.selected,z),x.numeric?"text-right font-mono text-cell tabular-nums":I?"font-mono text-data":"text-cell",I&&k?"text-accent-text":k?"text-ink":"text-ink-2"].filter(Boolean).join(" "),children:i===x.id&&typeof O=="string"?u(sw,{value:O}):O==null?u("span",{class:"text-ink-ghost",children:"—"}):I?Nl(it(O)):it(O)},x.id)}),l&&u("td",{class:`w-10 p-0 text-center ${zo(!!g?.selected,z)}`,children:u(Al,{target:g})})]}),_&&s&&u("tr",{children:u("td",{class:"p-0",colSpan:e.length+(l?1:0),children:s})})]},m)})})]})}const qu="grid-cols-[92px_1fr_78px]",ia="font-mono text-nano uppercase tracking-label text-ink-faint";function dw({columns:e,rows:t,shape:r,amountKey:i,detail:n,clickIntent:o,hasDetailControls:a}){const s=he(),{idKey:c,labelKey:l}=Og(e,i,Ki);return u("div",{children:[u("div",{class:"flex border-y border-line bg-sunken",children:[u("div",{class:`grid ${qu} min-w-0 flex-1 px-3 py-1.5`,children:[u("span",{class:ia,children:s("doclist.table.header.id")}),u("span",{class:ia,children:s("doclist.table.header.party")}),u("span",{class:`${ia} text-right`,children:s("doclist.table.header.due")})]}),a&&u("span",{"aria-hidden":"true",class:"w-10"})]}),u("ul",{children:t.map((d,f)=>{const{id:p,row:m,selected:h,interactionTarget:_,tone:g,struck:$}=r(d,f),S=h||!!_?.selected,k=!!_,z=Cg(m,i);return u("li",{children:[u("div",{class:["flex min-h-10 items-stretch",`border-b border-line-soft border-l-2 ${El[g]}`,zo(!!_?.selected,k),S?"bg-row-selected":"hover:bg-row-hover"].join(" "),children:[u("div",{class:`grid ${qu} min-w-0 flex-1 items-center px-3 ${Ul(S,k,$)}`,...an(_,{arbiter:o,key:`doclist-row:${p}`}),children:[u("span",{class:`font-mono text-data ${S?"text-accent-text":"text-ink-2"}`,children:c?Nl(it(m[c]),10,1):""}),u("span",{class:"truncate pr-2 text-data text-ink-muted",children:l?it(m[l]):""}),u("span",{class:`text-right font-mono text-data tabular-nums ${z==null?"text-ink-dim":`font-medium ${Eg[g]}`}`,children:z==null?"—":it(z)})]}),a&&u(Al,{target:_,touch:!0})]}),h&&n]},p)})})]})}function pw({columns:e,rows:t,shape:r,amountKey:i,detail:n,clickIntent:o,hasDetailControls:a}){const{idKey:s,labelKey:c}=Og(e,i,Ki);return u("ul",{class:"flex flex-col",children:t.map((l,d)=>{const{id:f,row:p,selected:m,interactionTarget:h,tone:_,struck:g}=r(l,d),$=m||!!h?.selected,S=!!h,k=Cg(p,i);return u("li",{children:[u("div",{class:["flex min-h-10 items-stretch",`border-b border-line-soft border-l-2 ${El[_]}`,zo(!!h?.selected,S),$?"bg-row-selected":"hover:bg-row-hover"].join(" "),children:[u("div",{class:`flex min-w-0 flex-1 items-center justify-between gap-2.5 px-3 py-[9px] ${Ul($,S,g)}`,...an(h,{arbiter:o,key:`doclist-row:${f}`}),children:[u("div",{class:"flex min-w-0 flex-col gap-px",children:[u("span",{class:`truncate font-mono text-note ${$?"text-accent-text":"text-ink-2"}`,children:s?Nl(it(p[s])):""}),c&&u("span",{class:"truncate text-note text-ink-muted",children:it(p[c])})]}),u("span",{class:`shrink-0 font-mono text-cell tabular-nums ${k==null?"text-ink-ghost":`font-medium ${Eg[_]}`}`,children:k==null?"—":it(k)})]}),a&&u(Al,{target:h,touch:!0})]}),m&&n]},f)})})}function fw(e,t){return t}function mw(){return null}function hw(e){return{next:null,run:e?.onConfirm??null}}function gw(){const[e,t]=fe(null);return{pending:e,request:r=>t(i=>fw(i,r)),dismiss:()=>t(mw()),confirm:()=>{const{next:r,run:i}=hw(e);t(r),i?.()}}}function vw({confirm:e}){const t=he(),r=e.pending;return r?u(Sg,{eyebrow:r.subject,title:r.title,onClose:e.dismiss,footer:u(Ig,{children:[u(st,{variant:"quiet",onClick:e.dismiss,children:t("common.back")}),u(st,{variant:"danger",class:"ml-auto",onClick:e.confirm,children:r.actionLabel})]}),children:u("div",{class:"flex flex-col gap-3",children:[u("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")}),u("p",{class:"font-sans text-body text-ink",children:r.detail})]})}):null}function bw(){return u("svg",{viewBox:"0 0 16 16","aria-hidden":"true",class:"size-3.5",fill:"none",children:u("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 _w(e){return e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}function yw({file:e,prepared:t,canDownload:r,downloading:i,documentLabel:n,context:o,onDownload:a,onClose:s}){const c=he(),l=t.preview,[d,f]=fe(null),[p,m]=fe(!1),[h,_]=fe(""),[g,$]=fe(!1),[S,k]=fe(!1),z={uri:l.uri,mimeType:l.mimeType,bytes:l.bytes},x=()=>({id:`attachment:${e.id}:${e.modifiedAt??"current"}`,view:n,label:e.fileName,value:h.trim()||c("document.attachments.context_entire_file"),resource:z}),P=o?.canShareResource(z)??!1,O=P&&!!o?.isSelected(x()),I=async()=>{if(!(!o||!P||g)){$(!0),k(!1);try{await o.activate(x())!=="context"&&k(!0)}catch{k(!0)}finally{$(!1)}}};ze(()=>{if(l.kind!=="image"&&l.kind!=="pdf"){f(null);return}const L=new Blob([l.bytes.slice()],{type:l.mimeType}),F=URL.createObjectURL(L);return f(F),()=>URL.revokeObjectURL(F)},[l]);const C=l.kind==="image"?d?u("div",{class:"flex min-h-0 flex-1 items-center justify-center overflow-auto bg-sunken p-4",children:u("img",{src:d,alt:e.fileName,class:"max-h-full max-w-full object-contain shadow-card"})}):u(Ju,{}):l.kind==="pdf"?d?u("iframe",{src:`${d}#page=1&pagemode=thumbs&navpanes=1&toolbar=1`,title:c("document.attachments.preview_pdf",{name:e.fileName}),referrerPolicy:"no-referrer",class:"min-h-0 flex-1 border-0 bg-sunken"}):u(Ju,{}):l.kind==="text"?u("div",{class:"scroll-slim min-h-0 flex-1 overflow-auto bg-sunken p-4",children:[u("pre",{class:"m-0 whitespace-pre-wrap break-words font-mono text-chip leading-relaxed text-ink-2",children:l.text??""}),l.textTruncated&&u("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:c("document.attachments.preview_truncated")})]}):u("div",{class:"flex min-h-0 flex-1 flex-col items-center justify-center gap-2 bg-sunken p-6 text-center",children:[u("span",{"aria-hidden":"true",class:"text-title text-ink-faint",children:"◇"}),u("p",{class:"m-0 max-w-md text-data text-ink-muted",children:c("document.attachments.preview_unsupported")}),r&&u("p",{class:"m-0 font-mono text-chip text-ink-faint",children:c("document.attachments.preview_download_fallback")})]});return u(Sg,{size:"preview",bodyClass:"flex-1",eyebrow:`${l.mimeType} · ${_w(l.bytes.length)}`,title:e.fileName,onClose:s,footer:r||P?u(Pe,{children:[P&&p&&u("div",{class:"border-b border-line-soft px-4 py-3",children:u("label",{class:"flex flex-col gap-1.5",children:[u("span",{class:"font-mono text-chip text-ink-faint",children:c("document.attachments.context_note")}),u("input",{type:"text",maxLength:220,value:h,placeholder:c("document.attachments.context_note_placeholder"),onInput:L=>_(L.currentTarget.value),class:U("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")})]})}),u(Ig,{children:[u("span",{class:"min-w-0 flex-1 font-mono text-nano text-ink-faint",children:S?u("span",{role:"status",class:"text-bad",children:c("document.attachments.context_error")}):e.isPrivate?c("document.attachments.private"):c("document.attachments.public")}),P&&u(Pe,{children:[u("button",{type:"button","aria-pressed":p,"aria-label":c("document.attachments.context_note"),title:c("document.attachments.context_note"),onClick:()=>m(L=>!L),class:U("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:u("span",{"aria-hidden":"true",children:"✎"})}),u(st,{variant:O?"quiet":"accent",class:"inline-flex min-h-10 items-center gap-1.5",disabled:g,"aria-pressed":O,onClick:()=>void I(),children:[u("span",{"aria-hidden":"true",children:g?"…":O?"✓":"+"}),c(g?"document.attachments.context_sharing":O&&!p?"document.attachments.context_added":O?"document.attachments.context_update":"document.attachments.context_add")]})]}),r&&u(st,{variant:"secondary",class:"inline-flex min-h-10 items-center gap-1.5",disabled:i,onClick:a,children:[i?u("span",{"aria-hidden":"true",children:"…"}):u(bw,{}),c("document.attachments.download_short")]})]})]}):void 0,children:C})}function Ju(){const e=he();return u("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 kw=new Set(["image/gif","image/jpeg","image/png","image/webp"]),$w=new Set(["application/json","text/csv","text/markdown","text/plain"]),xw=new Set(["csv","gif","jpeg","jpg","json","md","pdf","png","txt","webp"]),ww=256*1024,Ng=5*1024*1024;function Ag(e){return e?.split(";",1)[0].trim().toLowerCase()??""}function Sw(e){const t=e.lastIndexOf(".");return t<0||t===e.length-1?!1:xw.has(e.slice(t+1).toLowerCase())}function Ug(e){const t=Ag(e.resource.mimeType);return Rg(e.resource.blob)>Ng?"unsupported":kw.has(t)?Ew(t,e.resource.blob)?"image":"unsupported":t==="application/pdf"?Pw(e.resource.blob)?"pdf":"unsupported":$w.has(t)?"text":"unsupported"}function Rl(e){Lg(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 Rg(e){Lg(e);const t=e.endsWith("==")?2:e.endsWith("=")?1:0;return e.length/4*3-t}function Iw(e,t=ww){if(Ug(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=Rg(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=Rl(o),s=i?a.subarray(0,t):a;return{text:Dw(s,i),truncated:i,byteLength:r}}function zw(e){const t=Ag(e.resource.mimeType)||"application/octet-stream",r=Rl(e.resource.blob);let i=Ug(e),n;if(i==="text")try{n=Iw(e)}catch{i="unsupported"}return{kind:i,uri:e.resource.uri,mimeType:t,bytes:r,...n?{text:n.text,textTruncated:n.truncated}:{}}}function Tw(e){return{type:"resource",resource:{uri:e.uri,mimeType:e.mimeType,blob:jw(e.bytes)}}}function Pw(e){try{return atob(e.slice(0,12)).startsWith("%PDF-")}catch{return!1}}function Lg(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 jw(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 Dw(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 Ew(e,t){try{const r=Rl(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 Hu(){return u("svg",{viewBox:"0 0 16 16","aria-hidden":"true",class:"size-3.5",fill:"none",children:u("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 Ow(){return u("svg",{viewBox:"0 0 16 16","aria-hidden":"true",class:"size-3.5",fill:"none",children:u("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 Cw(){return u("svg",{viewBox:"0 0 16 16","aria-hidden":"true",class:"size-3.5",fill:"none",children:[u("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"}),u("circle",{cx:"8",cy:"8",r:"1.6",stroke:"currentColor","stroke-width":"1.2"})]})}function Nw(e){return e===null?"—":e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}function Zg({controller:e,capabilities:t,layout:r,context:i}){const n=he(),o=pe(null),a=pe(null),[s,c]=fe(!0),[l,d]=fe(null),{state:f,files:p,readProgress:m}=e,h=r!=="wide",_=f.upload!=="idle"&&f.upload!=="error",g=f.previewingFile!==null||f.downloadingFile!==null,$=_||f.load==="loading"||g;ze(()=>{l&&(l.documentKey!==e.documentKey||!p.some(I=>I.id===l.fileId))&&d(null)},[e.documentKey,p,l]);const S=()=>{$||o.current?.click()},k=I=>{const C=I.currentTarget.files?.[0];I.currentTarget.value="",C&&e.upload(C,s)},z=f.upload==="reading"?m===null?n("document.attachments.reading"):n("document.attachments.reading_progress",{value:Math.round(m*100)}):f.upload==="uploading"?n("document.attachments.uploading"):f.upload==="relisting"?n("document.attachments.relisting"):n("document.attachments.add"),x=async I=>{const C=await e.preview(I);C&&d(C)},P=()=>{d(null),globalThis.requestAnimationFrame(()=>a.current?.focus())},O=l?p.find(I=>I.id===l.fileId)??null:null;return u("section",{"aria-labelledby":"document-attachments-title","aria-busy":_||g||f.load==="loading",class:"min-w-0",children:[u("div",{class:"flex min-h-10 items-center gap-2 border-b border-line-soft px-3.5 py-2",children:[u("h3",{id:"document-attachments-title",class:"m-0 font-mono text-micro uppercase tracking-label text-ink-muted",children:[n("document.attachments"),u("span",{class:"ml-1.5 text-ink-faint",children:p.length})]}),u("div",{class:"flex-1"}),t.canListAttachments&&u("button",{type:"button","aria-label":n("document.attachments.refresh"),title:n("document.attachments.refresh"),disabled:f.load==="loading"||_||g,onClick:()=>void e.refresh(),class:U("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:u("span",{"aria-hidden":"true",class:f.load==="loading"?"animate-spin":"",children:"↻"})})]}),f.error&&u("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:[u("span",{class:"min-w-0 flex-1 break-words",children:f.error.message}),u("button",{type:"button","aria-label":n("document.attachments.dismiss_error"),onClick:e.dismissError,class:U("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:"×"})]}),u("div",{class:U("flex flex-col",h?"px-3 py-2.5":"px-3.5 py-3"),children:[f.load==="loading"&&p.length===0?u("div",{role:"status",class:"py-6 text-center font-mono text-chip text-ink-faint",children:n("document.attachments.loading")}):p.length===0?u("div",{class:"rounded-control border border-dashed border-line px-3 py-5 text-center",children:[u(Hu,{}),u("p",{class:"mt-2 font-mono text-chip text-ink-faint",children:t.canListAttachments?n("document.attachments.empty"):n("document.attachments.unavailable")})]}):u("div",{class:"overflow-hidden rounded-control border border-line-soft",children:p.map(I=>{const C=f.downloadingFile===I.id,L=f.previewingFile===I.id,F=t.canPreviewAttachment&&Sw(I.fileName)&&(I.fileSize===null||I.fileSize<=Ng);return u("div",{"aria-busy":L||C,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:[u("span",{class:"shrink-0 text-ink-faint",children:u(Hu,{})}),F?u("button",{type:"button","aria-label":n("document.attachments.preview",{name:I.fileName}),title:n("document.attachments.preview",{name:I.fileName}),disabled:g,onClick:Q=>{a.current=Q.currentTarget,x(I)},class:U("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:[u(Bu,{file:I}),u("span",{class:U("grid size-6 shrink-0 place-items-center text-ink-faint transition-opacity",!h&&!L&&"opacity-0 group-hover:opacity-100 group-focus-within:opacity-100"),children:L?u("span",{"aria-hidden":"true",children:"…"}):u(Cw,{})})]}):u(Bu,{file:I}),t.canDownloadAttachment&&u("button",{type:"button","aria-label":n("document.attachments.download",{name:I.fileName}),title:n("document.attachments.download",{name:I.fileName}),disabled:g,onClick:()=>void e.download(I),class:U("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&&!C&&"opacity-0 group-hover:opacity-100 group-focus-within:opacity-100"),children:C?u("span",{"aria-hidden":"true",class:"animate-pulse",children:"…"}):u(Ow,{})})]},I.id)})}),t.canUploadAttachment&&u("div",{class:"mt-3 flex flex-wrap items-center gap-2",children:[u("input",{ref:o,class:"sr-only",type:"file",tabIndex:-1,onChange:k}),u("button",{type:"button",disabled:$,onClick:S,class:U("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:[u("span",{"aria-hidden":"true",children:"+"}),z]}),u("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:$,onClick:()=>c(I=>!I),class:U("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")}`})]})]}),u("span",{class:"sr-only",role:"status","aria-live":"polite","aria-atomic":"true",children:f.previewingFile?n("document.attachments.preview_loading_name",{name:p.find(I=>I.id===f.previewingFile)?.fileName??""}):f.downloadingFile?n("document.attachments.download_in_progress"):_?z:""}),l&&O&&u(yw,{file:O,prepared:l,canDownload:t.canDownloadAttachment,downloading:f.downloadingFile===O.id,documentLabel:`${e.document.doctype} · ${e.document.name}`,context:i,onDownload:()=>void e.download(O,l),onClose:P})]})}function Bu({file:e}){const t=he();return u("span",{class:"min-w-0 flex-1",children:[u("span",{class:"block truncate text-data text-ink",title:e.fileName,children:e.fileName}),u("span",{class:"mt-0.5 flex items-center gap-1.5 font-mono text-nano text-ink-faint",children:[u("span",{children:Nw(e.fileSize)}),u("span",{"aria-hidden":"true",children:"·"}),u("span",{children:e.isPrivate?t("document.attachments.private"):t("document.attachments.public")})]})]})}function Mg(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 Fg(e,t){return`${e}:${t}`}function qg(e){return{levels:[{ui:{},loading:!1,...e,id:Fg(0,e.title)}],rootIdentity:Ll(e),nextId:1}}function Ll(e){return e.key?`key:${e.key}`:`root:${Rn({title:e.title,kind:e.kind,origin:e.origin??null,tool:e.tool??null})}`}function Aw(e,t){return e.rootIdentity===Ll(t)?e:qg(t)}function Jg(e,t){return{levels:[...e.levels,{ui:{},loading:!1,...t,id:Fg(e.nextId,t.title)}],rootIdentity:e.rootIdentity,nextId:e.nextId+1}}function Uw(e){return e.levels.length<=1?e:{...e,levels:e.levels.slice(0,-1)}}function To(e,t){return t<0||t>=e.levels.length-1?e:{...e,levels:e.levels.slice(0,t+1)}}function Bt(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 Rw(e,t,r){const i=e.levels.find(n=>n.id===t);return i?Bt(e,t,{ui:{...i.ui,...r}}):e}function sn(e){return e.levels[e.levels.length-1]}function Zl(e){return`${e.name}:${Rn(e.args)}`}function Lw(e,t,r){return`${e}:${Rn(t?{request:{name:t.toolName,args:t.arguments}}:{identity:r??null})}`}function Rn(e){return Array.isArray(e)?`[${e.map(Rn).join(",")}]`:e&&typeof e=="object"?`{${Object.keys(e).sort().map(t=>`${JSON.stringify(t)}:${Rn(e[t])}`).join(",")}}`:JSON.stringify(e)??"null"}function Zw(e,t){return e.levels.findIndex(r=>r.key===t)}function Mw(e,t,r){return{...e,levels:e.levels.map(i=>({...i,stale:{at:t,subject:r}}))}}function Fw(e,t,r){const i={...r};return{...e,levels:e.levels.map(n=>({...n,stale:{at:t,subject:r.name,documentChange:i}}))}}function Hg(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 qw(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 xt(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=>xt(r,t)):e&&typeof e=="object"?Object.fromEntries(Object.entries(e).map(([r,i])=>[r,xt(i,t)])):e}function Gi(e){if(!e.key)return e.label;const t=`doclist.hint.${e.key}`,r=ct(t);return r===t?e.label:r}function Lt(e){return typeof e=="string"?/\{\w+\}/.test(e):Array.isArray(e)?e.some(Lt):e&&typeof e=="object"?Object.values(e).some(Lt):!1}function Ln(e,t,r){if(!e.tool)return null;const i=Object.fromEntries(Object.entries(t).filter(([,o])=>o!=="")),n=xt(e.args??{},i);return Lt(n)?null:{label:Gi(e),kind:e.kind??"list",tool:{name:e.tool,args:n},subtitle:r,message:e.message?xt(e.message,i):void 0}}function Bg(e){return{title:e.label,kind:e.kind,tool:e.tool,subtitle:e.subtitle,loading:!0,jumps:e.children,key:Zl(e.tool)}}function Hw(e){const t=Rt(e);if(e.isError)return{error:t??ct("common.error.tool_failed")};if(!t)return{error:ct("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:ct("common.error.parse_failed")}}}async function Ml(e,t,r=1e4){try{const i=await e.callServerTool({name:t.name,arguments:t.args},{timeout:r});return Hw(i)}catch(i){return{error:i instanceof Error?i.message:ct("common.error.tool_failed")}}}function Bw(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 Vg(e,t){const r=Bw(t),i={...r,...e};return r.item&&(i.item=r.item),i}function Kg(e,t){return t.item?`${e} · ${t.item}`:e}function Wg({hints:e,rootVars:t,row:r,availableTools:i,subtitle:n}){if(!i)return[];const o=Vg(t,r);return e.flatMap(a=>{if(!a.tool||!i.includes(a.tool))return[];if(Ln(a,t,n))return[];const s=Ln(a,o,n);return s?[{...s,label:Kg(s.label,o)}]:[]})}function Gg({hints:e,rootVars:t,row:r}){const i=Vg(t,r);return e.flatMap(n=>{if(!n.message)return[];const o=xt(n.message,t);if(!Lt(o))return[];const a=xt(n.message,i);return Lt(a)?[]:[{label:Kg(Gi(n),i),message:a}]})}function lo(e,t){return e===null||e===""?t("document.empty_value"):typeof e=="boolean"?t(e?"document.boolean.true":"document.boolean.false"):typeof e=="number"?wt(e,Number.isInteger(e)?0:2):e}function Yg({field:e,class:t}){const r=he();if(e.kind==="status"&&e.value!==null){const i=String(e.value);return u("span",{class:U("inline-flex rounded-badge px-[7px] py-0.5 font-mono text-micro uppercase tracking-chip",Ol[Wi(i)],t),children:i})}return u("span",{class:U(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:lo(e.value,r)})}function Vu({fields:e,layout:t}){return u("dl",{class:U("grid gap-x-7",t==="wide"?"grid-cols-2 gap-y-2":"grid-cols-1 gap-y-1"),children:e.map(r=>u("div",{class:U("flex min-w-0 items-baseline justify-between gap-2.5",t!=="wide"&&"min-h-6"),children:[u("dt",{class:"shrink-0 font-mono text-chip text-ink-faint",children:r.label}),u("dd",{class:"min-w-0 truncate text-right text-note text-ink-2",children:u(Yg,{field:r})})]},r.key))})}function Yr({label:e,aside:t,children:r,first:i}){return u("section",{class:U("flex flex-col gap-2 px-4 py-3.5",!i&&"border-t border-line-soft"),children:[(e||t)&&u("div",{class:"flex items-baseline justify-between gap-3",children:[e?u(lt,{children:e}):u("span",{}),t]}),r]})}function Vw({fields:e,longFields:t=[],progressFields:r=[],collections:i=[],systemFields:n=[],layout:o,heading:a,class:s}){const c=he(),l=a===void 0?c("document.fields"):a;if(!(e.length>0||t.length>0||r.length>0||i.length>0||n.length>0))return null;let f=!0;const p=()=>{const m=f;return f=!1,m};return u("div",{class:U("flex flex-col",s),children:[e.length>0&&u(Yr,{label:l,first:p(),children:u(Vu,{fields:e,layout:o})}),t.map(m=>u(Yr,{label:m.label,first:p(),children:m.kind==="json"?u("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:lo(m.value,c)}):u("p",{class:"whitespace-pre-wrap break-words text-cell leading-[1.55] text-ink-2",children:lo(m.value,c)})},m.key)),r.map(m=>{const h=No(m.value)??0;return u(Yr,{label:m.label,first:p(),aside:u("span",{class:"font-mono text-meta tabular-nums text-ink-muted",children:c("document.progress_value",{value:wt(h,0)})}),children:u(U$,{value:h})},m.key)}),i.map(m=>u(Yr,{label:m.label,first:p(),children:m.values.length===0?u("span",{class:"font-mono text-chip text-ink-dim",children:c("document.empty_value")}):u("div",{class:"flex flex-wrap gap-1.5",children:m.values.map((h,_)=>u("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:lo(h,c)},`${m.key}-${_}`))})},m.key)),n.length>0&&u("details",{class:U("group border-t border-line-soft px-4 py-3",f&&"border-t-0"),children:[u("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:[u("span",{children:c("document.system_fields")}),u(zl,{narrow:!0,children:n.length})]}),u("div",{class:"pt-3",children:u(Vu,{fields:n,layout:o})})]})]})}function Xg(e,t){return e==null||e===""?t("document.empty_value"):typeof e=="boolean"?t(e?"document.boolean.true":"document.boolean.false"):typeof e=="number"?wt(e,Number.isInteger(e)?0:2):e}function Ku(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 Kw(e,t,r){return t.map(i=>u("span",{class:U("min-w-0 truncate text-cell text-ink-2",i.numeric&&"text-right font-mono tabular-nums"),title:String(e[i.key]??""),children:Xg(e[i.key],r)},i.key))}function Ww({fields:e,layout:t}){return e.length===0?null:u("dl",{class:U("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=>u("div",{class:"flex min-w-0 flex-col gap-1",children:[u("dt",{class:"font-mono text-nano uppercase tracking-label text-ink-faint",children:r.label}),u("dd",{class:"min-w-0 truncate text-data text-ink-2",children:u(Yg,{field:r})})]},r.key))})}function uo(e){return e!=null&&e!==!1}function Wu({id:e,expanded:t,fields:r,actions:i,layout:n,panel:o}){return u("div",{id:e,hidden:!t,children:[r.length>0&&u(Ww,{fields:r,layout:n}),uo(i)&&u("div",{class:U("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:c,onDisclosureChange:l}){const d=he(),f=Cl(),p=jg(e,t),m=`${r}-${e.key.replace(/[^a-zA-Z0-9_-]/g,"-")}`,h=t==="panel",_=s||o==="disclosure"&&!!n;function g($,S){const k=s?yx(e,S,t):[],z=n?.(e,$,S),x=o==="disclosure"?z:void 0,P=o==="visible"?z:void 0,O=k.length>0||uo(x),I=O&&c?.tableKey===e.key&&c.rowIndex===S,C=`${m}-row-${S}-details`,L=a?.(e,$,S),F=String($[p[0]?.key??""]??`${e.label} ${S+1}`),Q=L?.detailLabel??F,ee=()=>l(I?null:{tableKey:e.key,rowIndex:S}),ve=O?{...L??{onActivate:()=>{}},label:d(L?.selected!==void 0?I?"document.row.close_detail":"document.row.open_detail":I?"document.row.close_detail_only":"document.row.open_detail_only",{label:Q}),detailLabel:Q,expanded:I,controls:C,onDoubleActivate:ee}:L;return{hidden:k,rowActions:x,visibleActions:P,canDisclose:O,expanded:I,rowPanelId:C,interactionTarget:ve,detailLabel:Q,toggle:ee}}return u("section",{"aria-label":e.label,class:U("flex min-w-0 flex-col",i),children:[u("div",{class:"flex items-baseline justify-between gap-3 px-4 pb-2 pt-3.5",children:[u(lt,{children:e.label}),u(zl,{narrow:!0,children:e.rows.length})]}),p.length===0?u("p",{class:"px-4 pb-3.5 font-mono text-chip text-ink-faint",children:d("document.table.no_columns")}):h?u("div",{class:"flex flex-col border-t border-line-soft",children:e.rows.map(($,S)=>{const k=g($,S),z=!!(k.interactionTarget?.selected||k.expanded),x=u("span",{class:"flex flex-col gap-1.5 px-3.5 py-2.5",children:p.map(P=>u("span",{class:"flex min-w-0 items-baseline justify-between gap-3",children:[u("span",{class:"shrink-0 font-mono text-chip text-ink-faint",children:P.label}),u("span",{class:U("min-w-0 truncate text-right text-data text-ink-2",P.numeric&&"font-mono tabular-nums"),children:Xg($[P.key],d)})]},P.key))});return u("div",{children:[u("div",{class:U("flex min-w-0 items-stretch border-b border-r-2 border-line-soft transition-colors",z?"border-r-accent bg-row-selected":"border-r-transparent hover:bg-row-hover"),children:[u("div",{...an(k.interactionTarget,{arbiter:f,key:k.rowPanelId}),class:U("min-w-0 flex-1",k.interactionTarget&&"cursor-pointer focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-accent"),children:x}),k.canDisclose&&u(Io,{expanded:k.expanded,label:k.detailLabel,controls:k.rowPanelId,onToggle:k.toggle,touch:!0})]}),uo(k.visibleActions)&&u("div",{class:"flex flex-wrap justify-end gap-1.5 border-b border-line-soft bg-sunken px-3.5 py-1.5",children:k.visibleActions}),k.canDisclose&&u(Wu,{id:k.rowPanelId,expanded:k.expanded,fields:k.hidden,actions:k.rowActions,layout:t,panel:!0})]},S)})}):u("div",{class:"min-w-0 border-t border-line-soft",children:[u("div",{role:"row",class:"flex border-b border-line bg-sunken",children:[u("div",{class:U("grid min-w-0 flex-1 gap-3 px-4 py-1.5",Ku(t,p.length)),children:p.map($=>u("span",{role:"columnheader",class:U("truncate font-mono text-nano uppercase tracking-label text-ink-faint",$.numeric&&"text-right"),children:$.label},$.key))}),_&&u("span",{"aria-hidden":"true",class:"w-10"})]}),e.rows.map(($,S)=>{const k=g($,S),z=!!(k.interactionTarget?.selected||k.expanded),x=U("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",Ku(t,p.length));return u("div",{children:[u("div",{class:U("flex min-w-0 items-stretch border-b border-r-2 border-line-soft transition-colors",z?"border-r-accent bg-row-selected":"border-r-transparent hover:bg-row-hover"),children:[u("div",{...an(k.interactionTarget,{arbiter:f,key:k.rowPanelId}),class:U(x,"min-w-0 flex-1",k.interactionTarget&&"cursor-pointer focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-accent"),children:Kw($,p,d)}),k.canDisclose&&u(Io,{expanded:k.expanded,label:k.detailLabel,controls:k.rowPanelId,onToggle:k.toggle,touch:t==="mobile"})]}),uo(k.visibleActions)&&u("div",{class:"flex flex-wrap justify-end gap-1.5 border-b border-line-soft bg-sunken px-4 py-1.5",children:k.visibleActions}),k.canDisclose&&u(Wu,{id:k.rowPanelId,expanded:k.expanded,fields:k.hidden,actions:k.rowActions,layout:t,panel:!1})]},S)})]}),e.total&&u(wg,{label:e.total.label,layout:t,children:wt(e.total.value,2)})]})}function Gu({status:e,pill:t}){return u("span",{class:U("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",Ol[Wi(e)]),children:e})}function Yu({target:e,class:t}){return e?u("button",{type:"button",...an(e),class:U("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 Gw({doctype:e,name:t,title:r,status:i,docstatus:n,layout:o,navigation:a,trailing:s,live:c,contextTarget:l}){const d=he();return o!=="wide"?u("header",{"aria-label":d("document.header"),class:"shrink-0",children:[u("div",{class:"flex min-h-10 items-center justify-between gap-2.5 px-3 py-2",children:[u("div",{class:"min-w-0 flex-1",children:a}),u(lt,{class:"max-w-[45%] truncate text-center",children:e}),u("div",{class:"flex min-w-0 flex-1 items-center justify-end gap-1.5",children:[s,c&&u("span",{"aria-hidden":"true",class:"size-1.5 rounded-full bg-ok"})]})]}),u("div",{class:U("relative border-b border-line transition-colors",l?.selected&&"bg-row-selected"),children:[u(Yu,{target:l}),u("div",{class:"pointer-events-none relative z-[1] flex flex-col gap-1.5 px-3 pb-3 pt-1",children:[u("span",{class:"truncate font-mono text-nano uppercase tracking-label text-ink-faint",children:t}),u("h2",{class:"text-pretty font-display text-card-title font-semibold text-ink",children:r}),(i||n!==void 0)&&u("div",{class:"flex flex-wrap items-center gap-[7px]",children:[i&&u(Gu,{status:i,pill:!0}),n!==void 0&&u("span",{class:"font-mono text-chip text-ink-faint",children:d("document.docstatus",{value:n})})]})]})]})]}):u("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:[u("div",{class:"flex min-w-0 items-start gap-3",children:[a&&u("div",{class:"shrink-0 pt-0.5",children:a}),u("div",{class:U("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:[u(Yu,{target:l,class:"rounded-[4px]"}),u("div",{class:"pointer-events-none relative z-[1] flex min-w-0 flex-col gap-1",children:[u("span",{class:"truncate font-mono text-micro uppercase tracking-label text-ink-faint",children:[e," · ",t]}),u("h2",{class:"truncate font-display text-title font-semibold tracking-title text-ink",children:r}),(i||n!==void 0||c)&&u("div",{class:"flex flex-wrap items-center gap-[7px]",children:[i&&u(Gu,{status:i}),n!==void 0&&u("span",{class:"font-mono text-chip text-ink-faint",children:d("document.docstatus",{value:n})}),c&&u(xg,{})]})]})]})]}),s&&u("div",{class:"flex shrink-0 items-center gap-1.5",children:s})]})}function Yw({tabs:e,activeId:t,onChange:r,layout:i,idPrefix:n="document"}){const o=he();function a(s,c){if(!["ArrowLeft","ArrowRight","Home","End"].includes(s.key))return;s.preventDefault();const l=e.map((p,m)=>({tab:p,tabIndex:m})).filter(({tab:p})=>!p.disabled);if(l.length===0)return;const d=l.findIndex(({tabIndex:p})=>p===c),f=s.key==="Home"?l[0]:s.key==="End"?l[l.length-1]:l[(d+(s.key==="ArrowRight"?1:-1)+l.length)%l.length];r(f.tab.id),document.getElementById(`${n}-tab-${f.tab.id}`)?.focus()}return u("div",{role:"tablist","aria-label":o("document.sections"),class:U("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,c)=>{const l=s.id===t;return u("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,c),class:U("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&&u("span",{class:"ml-1.5 text-ink-faint",children:s.count})]},s.id)})})}function sa(e){return e.replace(/[^a-zA-Z0-9_-]/g,"-")}function wn(e){return e!=null&&e!==!1}function ca({model:e,layout:t}){return u(Vw,{fields:e.fields,longFields:e.longFields,progressFields:e.progressFields,collections:e.collections,systemFields:e.systemFields,layout:t})}function la({children:e,class:t}){return u("section",{class:U("min-w-0 border-t border-line",t),children:e})}function Qg({model:e,layout:t,navigation:r,headerActions:i,attachments:n,actions:o,footer:a,live:s,class:c,idPrefix:l,activeSectionId:d,onActiveSectionChange:f,scrollMode:p="contained",renderChildRowActions:m,childRowActionsPlacement:h="disclosure",contextTarget:_,renderChildRowContextTarget:g,childRowsExpandable:$=!0}){const S=he(),k=`document-${sa(e.envelope.doctype)}-${sa(e.envelope.name)}`,z=l??k,x=`${e.envelope.doctype}:${e.envelope.name}`,[P,O]=fe({documentKey:x,sectionId:"fields"}),[I,C]=fe({documentKey:x,row:null}),L=P.documentKey===x?P.sectionId:"fields",F=wn(n),Q=wn(o),ee=F||Q,ve=e.fields.length>0||e.longFields.length>0||e.progressFields.length>0||e.collections.length>0||e.systemFields.length>0,V=e.childTables.map((J,te)=>({id:`table-${sa(J.key)}-${te}`,table:J})),N=[...ve?[{id:"fields",label:S("document.fields")}]:[],...V.map(({id:J,table:te})=>({id:J,label:te.label,count:te.rows.length})),...F?[{id:"attachments",label:S("document.attachments")}]:[]],M=d??L,q=N.some(J=>J.id===M)?M:N[0]?.id??"fields",K=p==="contained",Z=I.documentKey===x?I.row:null,W=U("flex flex-col bg-surface",K&&"min-h-0 flex-1",c);function T(J){d===void 0&&O({documentKey:x,sectionId:J}),C({documentKey:x,row:null}),f?.(J)}function E(J){C({documentKey:x,row:J})}const B=u(Gw,{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:_});if(t==="wide")return u("article",{"aria-label":S("document.surface",{name:e.envelope.name}),class:W,children:[B,u("div",{class:U("grid",K&&"min-h-0 flex-1",ee?"grid-cols-[minmax(0,1fr)_268px]":"grid-cols-1"),children:[u("main",{class:U("min-w-0",K&&"scroll-slim overflow-y-auto",ee&&"border-r border-line"),children:[ve&&u(ca,{model:e,layout:t}),V.map(({id:J,table:te})=>u(aa,{table:te,layout:t,idPrefix:z,class:"border-t border-line-soft",renderRowActions:m,rowActionsPlacement:h,renderRowContextTarget:g,childRowsExpandable:$,activeDisclosure:Z,onDisclosureChange:E},J))]}),ee&&u("aside",{"aria-label":S("document.sidebar"),class:U("min-w-0 bg-sunken",K&&"scroll-slim overflow-y-auto"),children:[F&&u("div",{children:n}),Q&&u(la,{class:"p-3.5",children:o})]})]}),wn(a)&&u("footer",{class:"shrink-0 border-t border-line",children:a})]});if(t==="panel")return u("article",{"aria-label":S("document.surface",{name:e.envelope.name}),class:W,children:[B,u("main",{class:U(K&&"scroll-slim min-h-0 flex-1 overflow-y-auto"),children:[ve&&u(ca,{model:e,layout:t}),V.map(({id:J,table:te})=>u(aa,{table:te,layout:t,idPrefix:z,class:"border-t border-line",renderRowActions:m,rowActionsPlacement:h,renderRowContextTarget:g,childRowsExpandable:$,activeDisclosure:Z,onDisclosureChange:E},J)),F&&u(la,{children:n}),Q&&u(la,{class:"p-3.5",children:o})]}),wn(a)&&u("footer",{class:"shrink-0 border-t border-line",children:a})]});const H=V.find(({id:J})=>J===q);return u("article",{"aria-label":S("document.surface",{name:e.envelope.name}),class:W,children:[B,N.length>0&&u(Yw,{tabs:N,activeId:q,onChange:T,layout:t,idPrefix:z}),u("main",{class:U(K&&"scroll-slim min-h-0 flex-1 overflow-y-auto"),children:[q==="fields"&&ve&&u("div",{id:`${z}-panel-fields`,role:"tabpanel","aria-labelledby":`${z}-tab-fields`,children:u(ca,{model:e,layout:t})}),H&&u("div",{id:`${z}-panel-${H.id}`,role:"tabpanel","aria-labelledby":`${z}-tab-${H.id}`,children:u(aa,{table:H.table,layout:t,idPrefix:z,renderRowActions:m,rowActionsPlacement:h,renderRowContextTarget:g,childRowsExpandable:$,activeDisclosure:Z,onDisclosureChange:E})}),q==="attachments"&&F&&u("div",{id:`${z}-panel-attachments`,role:"tabpanel","aria-labelledby":`${z}-tab-attachments`,children:n})]}),Q&&u("div",{class:"shrink-0 border-t border-line p-3",children:o}),wn(a)&&u("footer",{class:"shrink-0 border-t border-line",children:a})]})}function ev(e){return{documentKey:e,revision:0,nextRequest:1,load:"idle",upload:"idle",previewingFile:null,downloadingFile:null,error:null}}function Xr(e,t){return e.documentKey===t?e:{...ev(t),revision:e.revision+1,nextRequest:e.nextRequest}}function Xu(e){return{state:{...e,nextRequest:e.nextRequest+1},token:{documentKey:e.documentKey,revision:e.revision,request:e.nextRequest}}}function Xw(e){return{...e,revision:e.revision+1}}function Jt(e,t){return e.documentKey===t.documentKey&&e.revision===t.revision&&e.nextRequest===t.request+1}function Qw(e){return e.load!=="loading"&&(e.upload==="idle"||e.upload==="error")}function e2(e){return{...e,load:e.load==="loading"?"idle":e.load,upload:"error"}}function Vt(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:null}function ft(e){return typeof e=="string"&&e.trim()?e:void 0}function t2(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 n2(e){const t=Vt(e);if(!t||t.isError===!0)throw new Error("attachment list failed");const r=Rt(t);if(!r)throw new Error("attachment list is empty");const i=Vt(JSON.parse(r));if(!i||!Array.isArray(i.data))throw new Error("attachment list is malformed");return i.data.map((n,o)=>{const a=Vt(n),s=ft(a?.name),c=ft(a?.file_name);if(!a||!s||!c)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:c,fileSize:d,isPrivate:a.is_private===!0||a.is_private===1,attachedToField:ft(a.attached_to_field),createdAt:ft(a.creation),modifiedAt:ft(a.modified),owner:ft(a.owner)}})}function r2(e){const t=Vt(e);if(!t||t.isError===!0)throw new Error("attachment download failed");const i=(Array.isArray(t.content)?t.content:[]).flatMap(n=>{const o=Vt(n),a=Vt(o?.resource);if(o?.type!=="resource"||!a)return[];const s=ft(a.uri),c=ft(a.blob);if(!s||!c||!t2(c))return[];const l=ft(a.mimeType);return[{type:"resource",resource:{uri:s,...l?{mimeType:l}:{},blob:c}}]});if(i.length!==1)throw new Error("attachment download did not return one inline resource");return i[0]}const Qr=3e4,Qu=10*1024*1024;function o2(e){return`${e.doctype}\0${e.name}`}function ed(e,t){if(e&&typeof e=="object"){const r=Rt(e);if(r&&!r.trim().startsWith("{"))return r}return t}function i2(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 tv({app:e,envelope:t,capabilities:r,fixtureFiles:i,onDocumentChanged:n}){const o=he(),{doctype:a,name:s}=t,c=o2(t),l=pe(c),d=pe(ev(c)),[f,p]=fe(d.current),[m,h]=fe(i??[]),[_,g]=fe(null),$=pe(!1),S=pe(0),k=pe(null),z=pe(null);l.current!==c&&(l.current=c,S.current+=1,d.current=Xr(d.current,c),$.current=!1,k.current=null,z.current?.abort(),z.current=null);const x=se(N=>{const M=N(d.current);return d.current=M,p(M),M},[]),P=se(async(N="refresh")=>{if(!r.canListAttachments)return!1;const M=Xr(d.current,c),q=Xu(M),K=q.token;x(()=>({...q.state,load:"loading",upload:N==="after-upload"?"relisting":q.state.upload}));try{const Z=await e.callServerTool({name:"erpnext_file_list",arguments:{attached_to_doctype:a,attached_to_name:s,limit:50}},{timeout:Qr});if(l.current!==c||!Jt(d.current,K))return!1;const W=n2(Z);return h(W),x(T=>({...T,load:"ready",upload:N==="after-upload"?"idle":T.upload,error:T.error?.operation==="list"||N==="after-upload"&&T.error?.operation==="upload"?null:T.error})),!0}catch{return l.current!==c||!Jt(d.current,K)||x(Z=>({...Z,load:"error",upload:N==="after-upload"?"error":Z.upload,error:{operation:N==="after-upload"?"upload":"list",message:o(N==="after-upload"?"document.attachments.error.relist":"document.attachments.error.list")}})),!1}},[e,r.canListAttachments,x,a,c,s,o]),O=se(async(N,M)=>{if(!r.canUploadAttachment||$.current||!Qw(d.current))return!1;if(N.size>Qu)return x(W=>({...W,upload:"error",error:{operation:"upload",fileName:N.name,message:o("document.attachments.error.too_large",{limit:Math.round(Qu/1024/1024)})}})),!1;$.current=!0;const q=Xr(d.current,c),K=Xu(q),Z=K.token;x(()=>({...K.state,upload:"reading",error:null})),g(0);try{const W=await i2(N,E=>{l.current===c&&Jt(d.current,Z)&&g(E)},E=>{z.current=E});if(l.current!==c||!Jt(d.current,Z))return!1;x(E=>({...E,upload:"uploading"})),g(null);const T=await e.callServerTool({name:"erpnext_file_upload",arguments:{file_name:N.name,content_base64:W,attached_to_doctype:a,attached_to_name:s,is_private:M}},{timeout:Qr});if(l.current!==c||!Jt(d.current,Z))return!1;if(T.isError)throw new Error(ed(T,o("document.attachments.error.upload")));return x(E=>({...Xw(E),upload:"relisting"})),n?.({doctype:a,name:s,mutation:"attachment.added",committedAt:new Date().toISOString(),source:"document.attachments"}),await P("after-upload")}catch(W){return l.current!==c||!Jt(d.current,Z)||x(T=>({...e2(T),error:{operation:"upload",fileName:N.name,message:W instanceof Error&&W.message?W.message:o("document.attachments.error.upload")}})),!1}finally{l.current===c&&($.current=!1,g(null))}},[e,r.canUploadAttachment,x,a,c,P,s,n,o]),I=se((N,M)=>{if(k.current!==null)return null;const q={token:Symbol(`${M}:${N.id}`),generation:S.current,documentKey:c,fileId:N.id,purpose:M};return k.current=q,x(K=>({...K,previewingFile:M==="preview"?N.id:null,downloadingFile:M==="download"?N.id:null,error:null})),q},[x,c]),C=se(N=>{const M=k.current;return l.current===N.documentKey&&S.current===N.generation&&M?.token===N.token},[]),L=se(N=>{C(N)&&(k.current=null,x(M=>({...M,previewingFile:null,downloadingFile:null})))},[x,C]),F=se(async(N,M)=>{const q=await e.callServerTool({name:"erpnext_file_download",arguments:{file_id:N.id,attached_to_doctype:a,attached_to_name:s}},{timeout:Qr});if(!C(M))return null;if(q.isError)throw new Error(ed(q,o(M.purpose==="preview"?"document.attachments.error.preview":"document.attachments.error.download")));const K=r2(q);return C(M)?K:null},[e,a,s,o,C]),Q=se((N,M,q)=>{C(N)&&x(K=>({...K,error:{operation:N.purpose,fileName:M.fileName,message:q instanceof Error&&q.message?q.message:o(N.purpose==="preview"?"document.attachments.error.preview":"document.attachments.error.download")}}))},[x,o,C]),ee=se(async N=>{if(!r.canPreviewAttachment)return null;const M=I(N,"preview");if(!M)return null;try{const q=await F(N,M);if(!q||!C(M))return null;const K=zw(q);return C(M)?{documentKey:c,fileId:N.id,fileName:N.fileName,preview:K}:null}catch(q){return Q(M,N,q),null}finally{L(M)}},[I,r.canPreviewAttachment,F,L,c,Q,C]),ve=se(async(N,M)=>{if(!r.canDownloadAttachment)return!1;const q=I(N,"download");if(!q)return!1;try{const Z=(M?.documentKey===c&&M.fileId===N.id?Tw(M.preview):null)??await F(N,q);if(!Z||!C(q))return!1;const W=await e.downloadFile({contents:[Z]},{timeout:Qr});if(!C(q))return!1;if(W.isError)throw new Error(o("document.attachments.error.host_denied"));return!0}catch(K){return Q(q,N,K),!1}finally{L(q)}},[e,I,r.canDownloadAttachment,F,L,c,Q,o,C]);Co(()=>{z.current?.abort(),z.current=null,$.current=!1,k.current=null;const N=Xr(d.current,c);return d.current=N,p(N),h(i??[]),g(null),!i&&r.canListAttachments&&P(),()=>{S.current+=1,k.current=null,z.current?.abort()}},[c,i,r.canListAttachments,P]);const V=se(()=>{x(N=>({...N,error:null,upload:N.upload==="error"?"idle":N.upload}))},[x]);return{documentKey:c,document:{doctype:a,name:s},state:f,files:f.documentKey===c?m:[],readProgress:_,refresh:P,upload:O,preview:ee,download:ve,dismissError:V}}function nv({jumps:e,asks:t,onJump:r,onAsk:i,narrow:n}){return u("div",{class:"flex flex-col gap-2",children:[e.map(o=>u("button",{type:"button",disabled:!r,onClick:()=>r?.(o),class:U("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:[u("span",{class:"truncate",children:o.label}),u("span",{"aria-hidden":"true",class:U("shrink-0 text-[13px] text-accent",!n&&"opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100"),children:"›"})]},o.label)),t.length>0&&u("div",{class:"flex flex-col gap-[9px] pt-1",children:t.map(o=>u("button",{type:"button",disabled:!i,onClick:()=>i?.(o.message),class:U("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:[u("span",{class:"border-b border-dotted border-ink-faint transition-colors hover:border-ink-muted hover:text-ink",children:o.label}),u("span",{"aria-hidden":"true",class:"text-ink-faint",children:"~"})]},o.label))})]})}function a2(e,t){if(!e)return null;const r=Un(e);if(r)return r;const i=typeof e.name=="string"?e.name.trim():"";return!t?.trim()||!i?null:Un({data:{...e,doctype:t.trim(),name:i}})}function s2({app:e,envelope:t,data:r,doctype:i,loading:n,fixture:o,layout:a,embedded:s,onClose:c,onJump:l,onAsk:d,onAction:f,onDocumentChanged:p,context:m,contextView:h,contextKey:_}){const g=a!=="wide";if(n)return s?u("div",{role:"status",class:"flex h-[144px] flex-col gap-3.5 border-y border-accent/45 bg-surface p-4",children:[u(at,{class:"h-[15px] w-3/4"}),u(at,{class:"h-[15px] w-1/3"}),Array.from({length:3},(S,k)=>u(at,{class:"h-3"},k))]}):u(l2,{narrow:g,onClose:c,children:u("div",{class:"flex flex-col gap-3.5 p-3.5",children:[u(at,{class:"h-[15px] w-3/4"}),u(at,{class:"h-[15px] w-1/3"}),Array.from({length:5},(S,k)=>u(at,{class:"h-3"},k))]})});const $=t??a2(r,i);return $?u(c2,{app:e,envelope:$,fixture:o,outerLayout:a??"panel",embedded:s,onClose:c,onJump:l,onAsk:d,onAction:f,onDocumentChanged:p,context:m,contextView:h,contextKey:_},`${$.doctype}\0${$.name}`):null}function c2({app:e,envelope:t,fixture:r,outerLayout:i,embedded:n,onClose:o,onJump:a,onAsk:s,onAction:c,onDocumentChanged:l,context:d,contextView:f,contextKey:p}){const m=he(),h=gw(),[_,g]=fe(null),[$,S]=fe(null),[k,z]=fe(!0),x=n?i:i==="mobile"?"mobile":"panel",P=!n&&i!=="wide",O=Dl(t),I=Mg(e.getHostCapabilities(),t.availableTools,t.refreshRequest),C=tv({app:e,envelope:t,capabilities:I,onDocumentChanged:l}),L={id:t.name,name:t.name,doctype:t.doctype},F=t.sendMessageHints??[],Q=t.availableTools,ee=Tl(O,f??t.doctype,p),ve=sx(t),V=d?.supported?d.reconcileDocument:void 0;ze(()=>{if(!V)return;const ie=[ee,...O.childTables.flatMap(Oe=>Oe.rows.flatMap((nt,Ce)=>{const pt=wo(t,Oe,nt,Ce,ve);return pt?[pt]:[]}))];V(ee.id,ie)},[ve,p,f,t,V]);const N=ie=>!!(a&&e.getHostCapabilities()?.serverTools&&Q&&Q.includes(ie)),M=ie=>!ie.tool||!N(ie.tool)?null:Ln(ie,L,m("nav.linked_to",{id:t.name})),q=F.map(M).filter(ie=>ie!==null),K=s?F.flatMap(ie=>{if(!ie.message||M(ie))return[];const Oe=xt(ie.message,L);return Lt(Oe)?[]:[{label:Gi(ie),message:Oe}]}):[];s&&K.length===0&&q.length===0&&K.push({label:m("doclist.detail.full_detail"),message:m("doclist.detail.full_detail_message",{doctype:t.doctype,id:t.name})});const Z=O.status==="Draft"||O.docstatus===0,W=O.docstatus===1,T=Z&&(r||I.canSubmit),E=W&&(r||I.canCancel);async function B(ie,Oe,nt,Ce){if(r||!(ie==="submit"?I.canSubmit:ie==="cancel"?I.canCancel:!1))return;g(ie),S(null);const Je=await c(Oe,nt);z(Je),S(Je?Ce:m("doclist.detail.action_failed")),g(null)}const J=q.length>0||K.length>0||T||E||$!==null?u("div",{class:"flex flex-col gap-2",children:[q.length>0&&u(lt,{children:m("nav.goto")}),(q.length>0||K.length>0)&&u(nv,{narrow:!0,jumps:q,asks:K,onJump:a,onAsk:s}),$&&u("p",{class:`font-mono text-chip ${k?"text-ok":"text-bad"}`,children:$}),T&&u(st,{variant:"secondary",disabled:_==="submit"||r,title:m(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:m("doclist.confirm.submit"),detail:m("doclist.confirm.submit.detail"),actionLabel:m("doclist.confirm.submit.action"),onConfirm:()=>void B("submit","erpnext_doc_submit",{doctype:t.doctype,name:t.name},m("doclist.detail.action.submit_ok"))}),children:_==="submit"?"…":m("common.submit")}),E&&u(st,{variant:"danger",disabled:_==="cancel"||r,title:m(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:m("doclist.confirm.cancel"),detail:m("doclist.confirm.cancel.detail"),actionLabel:m("doclist.confirm.cancel.action"),onConfirm:()=>void B("cancel","erpnext_doc_cancel",{doctype:t.doctype,name:t.name},m("doclist.detail.action.cancel_ok"))}),children:_==="cancel"?"…":m("doclist.detail.action.cancel_label")})]}):void 0,te=P?u("button",{type:"button",onClick:o,"aria-label":m("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:m("doclist.detail.back_list_label")}):void 0,A=P?void 0:u("button",{type:"button",onClick:o,"aria-label":m("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 de(ie,Oe,nt){const Ce=wo(t,ie,Oe,nt,ve),pt=a&&e.getHostCapabilities()?.serverTools?Wg({hints:F,rootVars:L,row:Oe,availableTools:Q,subtitle:m("nav.linked_to",{id:Ce?.label??t.name})}):[],Je=s?Gg({hints:F,rootVars:L,row:Oe}).filter(gv=>!pt.some(vv=>vv.label===gv.label)):[];return{item:Ce,rowJumps:pt,rowAsks:Je}}const ae=n?(ie,Oe,nt)=>{const{rowJumps:Ce,rowAsks:pt}=de(ie,Oe,nt);if(!(Ce.length===0&&pt.length===0))return u(Pe,{children:[Ce.map(Je=>u(st,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>a?.(Je),children:[Je.label,u("span",{"aria-hidden":"true",children:"›"})]},`${Je.tool.name}:${Je.label}`)),pt.map(Je=>u(st,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>s?.(Je.message),children:[Je.label,u("span",{"aria-hidden":"true",children:"~"})]},`ask:${Je.label}`))]})}:void 0,je=d?.supported?{label:m("context.active.select",{label:ee.label}),selected:d.isSelected(ee),onActivate:()=>void d.activate(ee)}:void 0,tt=n?(ie,Oe,nt)=>{const{item:Ce}=de(ie,Oe,nt);return Ce&&d?.supported?{label:m("context.active.select",{label:Ce.label}),detailLabel:Ce.label,selected:d.isSelected(Ce),onActivate:()=>d.activateReversible(Ce)}:void 0}:void 0;return u(Pe,{children:[u(Qg,{model:O,layout:x,navigation:te,headerActions:A,attachments:I.canListAttachments?u(Zg,{controller:C,capabilities:I,layout:x,context:d}):void 0,actions:J,scrollMode:n?"flow":"contained",renderChildRowActions:ae,childRowActionsPlacement:n?"visible":"disclosure",contextTarget:je,renderChildRowContextTarget:tt,childRowsExpandable:!n,class:n?"border-y border-accent/45":"h-full"}),u(vw,{confirm:h})]})}function l2({children:e,narrow:t,onClose:r}){const i=he();return u("aside",{class:"scroll-slim flex min-h-0 flex-col overflow-y-auto bg-sunken",children:[u("div",{class:"flex shrink-0 items-center justify-between border-b border-line px-3.5 py-[11px]",children:t?u(Pe,{children:[u("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")}),u(lt,{children:i("doclist.detail.inspector_label")})]}):u(Pe,{children:[u(lt,{children:i("doclist.detail.inspector_label")}),u("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 u2(e,t){return e===void 0||e.includes(t)}function rv(e,t,r){return!!e&&u2(t,r)}function td(e){return`doclist-row-${encodeURIComponent(e)}-detail`}const ua=1e4,d2=1500;function eo(e,t,r){return String(t?rx(e,t.idField)??r:e._id??e.name??r)}function ov({app:e,data:t,list:r,layout:i,fixture:n,error:o,subtitle:a,onError:s,onJump:c,onAsk:l,stale:d,onRefresh:f,onMutationInvalidate:p,onMutationRefresh:m,onMutated:h,onDocumentChanged:_,context:g,contextView:$,contextKey:S}){const k=he(),{rows:z,rowAction:x,expandedId:P}=r,O=e.getHostCapabilities()?.serverTools,I=x&&rv(O,t._availableTools,x.toolName)?x:void 0,[C,L]=fe({id:null,data:null,loading:!1}),F=pe(C),Q=J=>{F.current=J,L(J)},ee=pe(null);ze(()=>()=>{ee.current=null},[]);const ve=n&&z.some(J=>J._detail!=null),V=!!I||ve,N=$??t._title??t.doctype??"Document",M=S??N;function q(J,te){if(!g?.supported||!t.doctype)return null;const A=eo(J,I,String(te)),de=In(J,{doctype:t.doctype,name:A});return de?Tl(Dl(de),N,M):null}const K=g?.supported?g.reconcileView:void 0;ze(()=>{if(!K)return;const J=z.flatMap((te,A)=>{const de=q(te,A);return de?[de]:[]});K(M,J)},[t.doctype,M,N,K,I,z]),ze(()=>{if(P===null){ee.current=null,Q({id:null,data:null,loading:!1});return}if(F.current.id===P)return;const J=z.find((te,A)=>eo(te,I,String(A))===P);if(J){if(n||!I&&J._detail){const te=In(J._detail??J,{doctype:t.doctype,name:P});if(!te){s(k("doclist.error.load_details")),r.setExpandedId(null);return}Q({id:P,data:te,loading:!1});return}I&&(Q({id:P,data:null,loading:!0}),ee.current=P,(async()=>{try{const te=await e.callServerTool({name:I.toolName,arguments:{...I.extraArgs,[I.argName]:P}},{timeout:ua});if(ee.current!==P)return;if(te.isError)s(k("doclist.error.load_details")),r.setExpandedId(null);else{const A=Rt(te);if(A){const de=JSON.parse(A),ae=In(de,{doctype:t.doctype,name:P});if(!ae)throw new Error("document envelope is invalid");Q({id:P,data:ae,loading:!1}),s(null)}else s(k("doclist.error.load_details")),r.setExpandedId(null)}}catch(te){if(ee.current!==P)return;s(`${k("doclist.error.load_details")} — ${te instanceof Error?te.message:String(te)}`),r.setExpandedId(null)}finally{ee.current===P&&Q({...F.current,loading:!1})}})())}},[P,z,I,n,t.doctype]);function Z(J,te){const A=eo(J,I,String(te)),de=q(J,te);if(!de&&!V)return;const ae=de?.label??A,je=de?g?.isSelected(de)??!1:void 0;return{label:V?k(de?P===A?"document.row.close_detail":"document.row.open_detail":P===A?"document.row.close_detail_only":"document.row.open_detail_only",{label:ae}):k("context.active.select",{label:ae}),selected:je,expanded:V?P===A:void 0,detailLabel:ae,controls:V?td(A):void 0,onActivate:()=>{if(de){if(V)return g?.activateReversible(de);g?.activate(de)}},onDoubleActivate:V?()=>r.setExpandedId(P===A?null:A):void 0}}function W(J){h?.(J.name),_?.(J)}function T(J){W(J),p?.(),m?.()}async function E(J,te){const A=F.current.data;if(n||!O||!A?.availableTools?.includes(J))return!1;try{if((await e.callServerTool({name:J,arguments:te},{timeout:ua})).isError)return!1;const ae=P,je=A,tt=je?Wx(je,J,new Date().toISOString(),"doclist.inline-detail"):null;if(tt?W(tt):ae&&h?.(ae),p?.(),await new Promise(ie=>setTimeout(ie,d2)),!ae||!I||ee.current!==ae)return m?.(),!0;try{const ie=await e.callServerTool({name:I.toolName,arguments:{...I.extraArgs,[I.argName]:ae}},{timeout:ua});if(ee.current!==ae)return!0;if(ie.isError)throw new Error("canonical read-back failed");const Oe=Rt(ie);if(!Oe)throw new Error("canonical read-back is empty");const nt=JSON.parse(Oe),Ce=In(nt,{doctype:je?.doctype??t.doctype,name:je?.name??ae});if(!Ce)throw new Error("canonical document envelope is invalid");return Q({id:ae,data:Ce,loading:!1}),s(null),!0}catch{return s(k("doclist.error.load_details")),r.setExpandedId(null),!1}finally{m?.()}}catch{return!1}}const H=P!==null?u("div",{id:td(P),children:u(s2,{app:e,envelope:C.data,loading:C.loading,fixture:n,layout:i,embedded:!0,onClose:()=>r.setExpandedId(null),onAction:E,onJump:c,onAsk:l,onDocumentChanged:T,context:g,contextView:N,contextKey:M})}):void 0;return u(Pe,{children:[i==="mobile"&&r.searchOpen&&u(ax,{value:r.filter,onInput:r.setFilter,onClose:()=>r.setSearchOpen(!1)}),i!=="panel"&&u(Xx,{columns:r.filterableColumns,chipFilters:r.chipFilters,counts:r.chipCounts,total:z.length,pill:i==="mobile",onFilterChange:r.setChipFilter}),d&&u("div",{role:"status",title:k("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:[u("span",{"aria-hidden":"true",class:"size-[5px] rounded-full bg-warn"}),u("span",{children:k("nav.stale_values",{at:d.at})}),f&&u("button",{type:"button",onClick:f,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:k("nav.refresh")})]}),o&&u(xo,{tone:"bad",children:o}),u("div",{class:"flex min-h-0 flex-1 flex-col",children:[u("div",{class:"scroll-slim min-h-0 flex-1 overflow-y-auto",children:u(lw,{columns:r.tableColumns,rows:r.pageRows,rowId:(J,te)=>eo(J,I,String(te)),selectedId:P,struckId:d?.subject??null,sortKey:r.sortKey,sortDir:r.sortDir,onSort:r.handleSort,interactionTarget:Z,layout:i,amountKey:r.amountKey,detail:H})}),r.amountTotal!==null&&u(wg,{layout:i,label:r.amountKey?.replace(/_/g," ")??k("common.total"),children:it(r.amountTotal)}),u("div",{class:"flex shrink-0 items-center gap-3 border-t border-line-soft bg-sunken px-4 py-[9px]",children:[u("span",{class:"font-mono text-[10.5px] text-ink-faint",children:k("nav.of",{n:r.sorted.length,total:z.length})}),a&&u("span",{class:"font-mono text-[10.5px] text-ink-faint",children:a}),u("div",{class:"flex-1"}),r.totalPages>1&&u("span",{class:"flex items-center gap-1.5",children:[u($o,{disabled:r.page===0,"aria-label":k("common.pagination.prev"),onClick:()=>r.setPage(r.page-1),children:"‹"}),u("span",{class:"font-mono text-meta text-ink-muted",children:[r.page+1," / ",r.totalPages]}),u($o,{disabled:r.page>=r.totalPages-1,"aria-label":k("common.pagination.next"),onClick:()=>r.setPage(r.page+1),children:"›"})]})]})]})]})}const da=20,p2={};function f2(e,t,r){const i=e.data??[],n=t.sortKey??null,o=t.sortDir??"asc",a=t.filter??"",s=t.page??0,c=t.chipFilters??p2,l=t.expandedId??null,d=rt(()=>{if(i.length<2)return[];const x=[];for(const P of Object.keys(i[0]??{})){if(!X$.has(P)&&!Ki(P))continue;const O=new Set;for(const I of i){const C=I[P];if(C!=null&&typeof C=="string"&&O.add(C),O.size>8)break}O.size>=2&&O.size<=8&&x.push({col:P,values:Array.from(O).sort()})}return x},[i]),f=rt(()=>{if(i.length===0)return[];const x=new Set;for(const P of i)for(const O of Object.keys(P))!Y$.has(O)&&!O.startsWith("_")&&x.add(O);return tx(Array.from(x))},[i]),p=rt(()=>{let x=i;for(const[P,O]of Object.entries(c))O&&(x=x.filter(I=>I[P]===O));if(a){const P=a.toLowerCase();x=x.filter(O=>f.some(I=>it(O[I]).toLowerCase().includes(P)))}return x},[i,a,f,c]),m=rt(()=>n?[...p].sort((x,P)=>{const O=x[n],I=P[n];if(O==null&&I==null)return 0;if(O==null)return 1;if(I==null)return-1;const C=typeof O=="number"&&typeof I=="number"?O-I:String(O).localeCompare(String(I));return o==="asc"?C:-C}):p,[p,n,o]),h=Math.ceil(m.length/da),_=m.slice(s*da,(s+1)*da),g=rt(()=>f.map(x=>({id:x,label:x.replace(/_/g," "),numeric:i.some(P=>typeof P[x]=="number")})),[f,i]),$=rt(()=>{const x={};for(const{col:P,values:O}of d){x[P]=Object.fromEntries(O.map(I=>[I,0]));for(const I of i){const C=I[P];typeof C=="string"&&C in x[P]&&(x[P][C]+=1)}}return x},[d,i]),S=rt(()=>iw(g),[g]),k=rt(()=>aw(m,S),[m,S]),z=se(x=>{r(n===x?{sortDir:o==="asc"?"desc":"asc",expandedId:null}:{sortKey:x,sortDir:"asc",expandedId:null})},[n,o,r]);return{rows:i,rowAction:e._rowAction,columns:f,tableColumns:g,filterableColumns:d,chipCounts:$,filtered:p,sorted:m,pageRows:_,totalPages:h,amountKey:S,amountTotal:k,sortKey:n,sortDir:o,filter:a,page:s,chipFilters:c,expandedId:l,searchOpen:t.searchOpen??!1,handleSort:z,setFilter:x=>r({filter:x,page:0,expandedId:null}),setPage:x=>r({page:x,expandedId:null}),setExpandedId:x=>r({expandedId:x}),setSearchOpen:x=>r({searchOpen:x}),setChipFilter:(x,P)=>{const O={...c};P===null?delete O[x]:O[x]=P,r({chipFilters:O,page:0,expandedId:null})}}}function Tn(e){return e.yAxisId==="right"?"right":"left"}function Po(e,t,r){if(t.stack)return`${Tn(t)}:${r}:${t.stack}`;if(r==="bar"&&e.type==="stacked-bar")return`${Tn(t)}:bar:default`;if(r==="area"&&e.type==="stacked-area")return`${Tn(t)}:area:default`}function Fl(e,t){const r=e.values[t];return typeof r=="number"&&Number.isFinite(r)?r:0}function m2(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=Tn(o),s=So(e,o),c=Fl(o,i),l=Po(e,o,s);if(l){const d=n.get(l)??{axis:a,negative:0,positive:0};c<0?d.negative+=c:d.positive+=c,n.set(l,d)}else t[a].min=Math.min(t[a].min,c),t[a].max=Math.max(t[a].max,c)});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 pa(e,t){return(e-t.min)/(t.max-t.min)*100}function h2(e,t,r,i,n){if(!i)return 0;let o=0;for(let a=0;a<t;a++){const s=e.datasets[a],c=So(e,s);if(Po(e,s,c)!==i)continue;const l=Fl(s,r);n<0==l<0&&(o+=l)}return o}const to=e=>Number(e.toFixed(3));function g2(e){const t=m2(e),r=[...new Set(e.datasets.flatMap((a,s)=>{const c=So(e,a);return c!=="bar"?[]:[Po(e,a,c)??`series:${s}`]}))],i=Math.max(1,e.labels.length),n=Math.max(1,r.length),o=e.datasets.map((a,s)=>{const c=So(e,a),l=Tn(a),d=Po(e,a,c),f=c==="bar"?r.indexOf(d??`series:${s}`):0,p=e.labels.map((_,g)=>{const $=Fl(a,g),S=h2(e,s,g,d,$),k=t[l],z=100/i,x=z*.72/n;return{labelIndex:g,seriesIndex:s,value:$,x:(g+.5)/i*100,y:pa(S+$,k),baseY:pa(S,k),barLeft:g*z+z*.14+f*x,barWidth:Math.max(.8,x-Math.min(1.5,x*.14))}}),m=c==="line"||c==="area"?p.map((_,g)=>`${g===0?"M":"L"} ${to(_.x)} ${to(100-_.y)}`).join(" "):void 0,h=c==="area"&&p.length>0?`${m} ${p.toReversed().map(_=>`L ${to(_.x)} ${to(100-_.baseY)}`).join(" ")} Z`:void 0;return{seriesIndex:s,kind:c,axis:l,stack:d,points:p,linePath:m,areaPath:h}});return{domains:t,zero:pa(0,t.left),series:o}}const nd=["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 fa(e,t,r){return e.color?e.color:r===1?"var(--color-accent)":nd[Math.min(t,nd.length-1)]}function rd(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 v2({chart:e,activeIndex:t,contextEnabled:r,pointKey:i,isPointSelected:n,isPointDetailEnabled:o,onPointContext:a,onPointDetail:s,caption:c,narrow:l}){const d=Cl(),{labels:f,datasets:p}=e,m=g2(e),[h,_]=fe(null),[g,$]=fe(null),S=f.map((T,E)=>p.reduce((B,H)=>B+Math.abs(H.values[E]??0),0)),k=Math.max(0,S.indexOf(Math.max(...S))),x=Math.min(Math.max(0,t??k),Math.max(0,f.length-1)),P=h??g??{labelIndex:x,seriesIndex:0},O=P.labelIndex,I=p.length>1,C=Math.max(100,f.length*Math.max(42,26+p.length*5)),L=(T,E)=>{const B=Dg(e,T);return B.currency?Ed(E,B.currency):B.unit==="%"?Od(E,E%1===0?0:1):`${wt(E,E%1===0?0:1)}${B.unit?` ${B.unit}`:""}`},F=(T,E)=>{const B=p[E],H=L(B,B.values[T]??0);return`${f[T]} · ${B.label||`#${E+1}`} · ${H}`},Q=(T,E)=>!!(r&&a)&&f[T]!==void 0&&p[E]!==void 0,ee=(T,E)=>!!(s&&o?.(T,E)),ve=(T,E)=>Q(T,E)||ee(T,E),V=(T,E)=>({key:i?.(T,E)??`nested-chart:${T}:${E}`,onSingle:()=>a?.(T,E),onDouble:()=>s?.(T,E)}),N=(T,E)=>{const B={labelIndex:T,seriesIndex:E};$(B),_(B)},M=(T,E)=>{N(T,E)},q=(T,E,B)=>{if(ve(T,E)){if(M(T,E),Q(T,E)&&ee(T,E)){d.click(V(T,E),B);return}B<2&&Q(T,E)&&a?.(T,E)}},K=(T,E)=>{ee(T,E)&&(M(T,E),Q(T,E)?d.doubleClick(V(T,E)):s?.(T,E))},Z=(T,E,B)=>{if(!B.repeat){if(M(T,E),Q(T,E)&&ee(T,E)){d.keyDown(V(T,E),B);return}if(B.key===" "&&Q(T,E)){B.preventDefault(),a?.(T,E);return}B.key==="Enter"&&ee(T,E)&&(B.preventDefault(),s?.(T,E))}},W=T=>({left:`${T.x}%`,bottom:`${T.y}%`});return u("div",{class:"flex min-h-0 flex-1 flex-col",children:[u("div",{class:l?"px-3.5 pb-3 pt-4":"px-4 pb-3 pt-[18px]",children:[(e.yAxisLabel||e.rightAxisLabel)&&u("div",{class:"mb-2 flex justify-between font-mono text-nano text-ink-faint",children:[u("span",{children:e.yAxisLabel}),u("span",{children:e.rightAxisLabel})]}),I&&u("div",{class:"mb-3 flex flex-wrap items-center gap-x-3 gap-y-1.5",role:"list",children:p.map((T,E)=>{const B=m.series[E].kind;return u("span",{class:"inline-flex min-w-0 items-center gap-1.5 font-mono text-chip text-ink-muted",role:"listitem",children:[u("span",{class:B==="line"?"h-0.5 w-2.5 shrink-0 rounded-full":B==="area"?"h-2 w-2.5 shrink-0 rounded-[2px] opacity-45":"size-2 shrink-0 rounded-[2px]",style:{background:fa(T,E,p.length)},"aria-hidden":"true"}),u("span",{class:"truncate",children:T.label||`#${E+1}`})]},`${T.label}-${E}`)})}),u("div",{class:"overflow-x-auto pb-1",children:u("div",{style:{minWidth:`${C}px`},children:[u("div",{class:"relative h-[132px]",onMouseLeave:()=>_(null),children:[u("span",{class:"pointer-events-none absolute inset-x-0 border-t border-line-soft",style:{bottom:`${m.zero}%`},"aria-hidden":"true"}),m.series.map(T=>{const E=p[T.seriesIndex],B=fa(E,T.seriesIndex,p.length);if(T.kind==="bar")return T.points.map(A=>{const de=ve(A.labelIndex,A.seriesIndex),ae=!!n?.(A.labelIndex,A.seriesIndex),je=Math.min(A.y,A.baseY),tt=Math.abs(A.y-A.baseY);return u("button",{type:"button",disabled:!de,"aria-pressed":r?ae:void 0,"aria-keyshortcuts":Q(A.labelIndex,A.seriesIndex)&&ee(A.labelIndex,A.seriesIndex)?"Space Enter":Q(A.labelIndex,A.seriesIndex)?"Space":ee(A.labelIndex,A.seriesIndex)?"Enter":void 0,"aria-label":F(A.labelIndex,A.seriesIndex),onClick:ie=>{ie.stopPropagation(),q(A.labelIndex,A.seriesIndex,ie.detail)},onDblClick:ie=>{ie.stopPropagation(),K(A.labelIndex,A.seriesIndex)},onKeyDown:ie=>Z(A.labelIndex,A.seriesIndex,ie),onMouseEnter:()=>N(A.labelIndex,A.seriesIndex),onFocus:()=>N(A.labelIndex,A.seriesIndex),onBlur:()=>_(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 ${de?"cursor-pointer":"cursor-default"} ${l&&de?"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:B,bottom:`${je}%`,height:`${tt}%`,left:`${A.barLeft}%`,width:`${A.barWidth}%`,opacity:ae?1:A.labelIndex===O?.9:.65,boxShadow:ae?"0 0 0 1px var(--color-accent)":void 0}},`${A.seriesIndex}-${A.labelIndex}`)});const H=T.points.some(A=>ve(A.labelIndex,A.seriesIndex)),J=A=>{A.stopPropagation();const de=A.currentTarget.ownerSVGElement;if(!de)return;const ae=de.getBoundingClientRect(),je=rd(A.clientX,ae.left,ae.width,f.length);q(je,T.seriesIndex,A.detail)},te=A=>{A.stopPropagation();const de=A.currentTarget.ownerSVGElement;if(!de)return;const ae=de.getBoundingClientRect(),je=rd(A.clientX,ae.left,ae.width,f.length);K(je,T.seriesIndex)};return u("svg",{class:"pointer-events-none absolute inset-0 size-full overflow-visible",viewBox:"0 0 100 100",preserveAspectRatio:"none","aria-hidden":"true",children:[T.areaPath&&u("path",{d:T.areaPath,fill:B,"fill-opacity":"0.16",stroke:"none",class:H?"pointer-events-auto cursor-pointer":void 0,onClick:H?J:void 0,onDblClick:H?te:void 0}),u("path",{d:T.linePath,fill:"none",stroke:B,"stroke-width":"2","stroke-dasharray":E.strokeStyle==="dashed"?"6 3":void 0,"vector-effect":"non-scaling-stroke",class:H?"pointer-events-auto cursor-pointer":void 0,onClick:H?J:void 0,onDblClick:H?te:void 0})]},T.seriesIndex)}),m.series.flatMap(T=>{if(T.kind==="bar")return[];const E=p[T.seriesIndex],B=fa(E,T.seriesIndex,p.length);return T.points.map(H=>{const J=ve(H.labelIndex,H.seriesIndex),te=!!n?.(H.labelIndex,H.seriesIndex);return u("button",{type:"button",disabled:!J,"aria-pressed":r?te:void 0,"aria-keyshortcuts":Q(H.labelIndex,H.seriesIndex)&&ee(H.labelIndex,H.seriesIndex)?"Space Enter":Q(H.labelIndex,H.seriesIndex)?"Space":ee(H.labelIndex,H.seriesIndex)?"Enter":void 0,"aria-label":F(H.labelIndex,H.seriesIndex),onClick:A=>{A.stopPropagation(),q(H.labelIndex,H.seriesIndex,A.detail)},onDblClick:A=>{A.stopPropagation(),K(H.labelIndex,H.seriesIndex)},onKeyDown:A=>Z(H.labelIndex,H.seriesIndex,A),onMouseEnter:()=>N(H.labelIndex,H.seriesIndex),onFocus:()=>N(H.labelIndex,H.seriesIndex),onBlur:()=>_(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"} ${J?"cursor-pointer":"cursor-default"}`,style:W(H),children:u("span",{"aria-hidden":"true",class:E.showDots===!1?"size-1.5 rounded-full opacity-0":te?"size-2 rounded-full ring-1 ring-accent ring-offset-1 ring-offset-surface":"size-1.5 rounded-full",style:{background:B}})},`point-${H.seriesIndex}-${H.labelIndex}`)})})]}),u("div",{class:"mt-2.5 flex gap-2 border-t border-line-soft pt-2",children:f.map((T,E)=>u("span",{title:T,class:`min-w-0 flex-1 truncate text-center font-mono text-[9.5px] ${E===O?"text-accent":"text-ink-faint"}`,children:T},E))}),e.xAxisLabel&&u("div",{class:"mt-1.5 text-right font-mono text-nano text-ink-faint",children:e.xAxisLabel})]})})]}),(c||I||ee(P.labelIndex,P.seriesIndex))&&f.length>0&&p.length>0&&u("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:[u("span",{class:"font-mono text-[11px] font-medium text-accent",children:f[O]}),p.map((T,E)=>u("span",{class:"inline-flex items-center gap-1.5 font-mono text-meta text-ink",children:[I&&u("span",{class:"text-ink-muted",children:[T.label||`#${E+1}`,":"]}),L(T,T.values[O]??0)]},`${T.label}-${E}`)),c&&u("span",{class:"font-sans text-note text-ink-dim",children:c}),ee(P.labelIndex,P.seriesIndex)&&u(Io,{label:F(P.labelIndex,P.seriesIndex),touch:l,class:"ml-auto",onToggle:()=>s?.(P.labelIndex,P.seriesIndex)})]})]})}function jo(e){return encodeURIComponent(e.trim())}function b2(e,t,r){const i=Dg(e,t);return i.currency?Ed(r,i.currency):i.unit==="%"?Od(r,r%1===0?0:1):`${wt(r,r%1===0?0:1)}${i.unit?` ${i.unit}`:""}`}function _2(e,t){return`chart:${jo(e)}:${jo(t)}`}function iv(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:${jo(o)}:${jo(s)}`,view:r,reconcileKey:t,label:`${o} · ${s}`,value:b2(e,a,a.values[i]??0)}}function y2(e,t,r){return e.labels.flatMap((i,n)=>e.datasets.flatMap((o,a)=>{const s=iv(e,t,r,n,a);return s?[s]:[]}))}const od={count:0,data:[]};function ql(e){return e.kind!=="list"?od:e.body??od}function k2({level:e,app:t,list:r,layout:i,fixture:n,onJump:o,onAsk:a,onError:s,onRefresh:c,onMutated:l,onDocumentChanged:d,onMutationInvalidate:f,onMutationRefresh:p,context:m,children:h}){const _=he();if(e.kind==="root")return u(Pe,{children:h});if(e.loading)return u(Tg,{embedded:!0});if(e.error)return u(xo,{tone:"bad",children:e.error});const g=u(xo,{tone:"bad",children:_("nav.unexpected_body")});if(e.kind==="record"){const $=In(e.body);return $?u(x2,{app:t,envelope:$,levelJumps:e.jumps,layout:i,onJump:o,onAsk:a,onMutated:l,onDocumentChanged:d,onMutationInvalidate:f,onMutationRefresh:p,context:m,contextView:e.title,contextKey:e.key??e.id},`${$.doctype}\0${$.name}`):g}if(e.kind==="chart"){const $=Gx(e.body);return $?u($2,{level:e,chart:$,layout:i,onJump:o,context:m},e.id):g}return Yx(e.body)?u(ov,{app:t,data:ql(e),list:r,layout:i,fixture:n,subtitle:e.subtitle,onError:s,onJump:o,onAsk:a,stale:e.stale,onRefresh:c,onMutated:l,onDocumentChanged:d,onMutationInvalidate:f,onMutationRefresh:p,context:m,contextView:e.title,contextKey:e.key??e.id}):g}function $2({level:e,chart:t,layout:r,onJump:i,context:n}){const o=he(),a=e.title,s=_2(e.key??e.id,e.title),c=n?.supported?n.reconcileView:void 0;ze(()=>{c&&c(s,y2(t,s,a))},[t,s,c,a]);const l=(h,_)=>{if(!i)return null;const g=Vx(t,h,_),$=t.labels[h],S=t.datasets[_]?.label,k=S?`${$} · ${S}`:$;return g?Ln(g,{},o("nav.linked_to",{id:k})):null},d=(h,_)=>iv(t,s,a,h,_),f=t.labels.some((h,_)=>t.datasets.some((g,$)=>l(_,$)!==null)),p=!!n?.supported,m=p&&f?o("chart.tooltip.click_action_context"):p?o("chart.tooltip.click_action_context_only"):f?o("chart.tooltip.click_action_fallback"):void 0;return u(v2,{chart:t,narrow:r!=="wide",caption:m,contextEnabled:p,pointKey:(h,_)=>d(h,_)?.id??`${s}:point:${h}:${_}`,isPointSelected:p?(h,_)=>{const g=d(h,_);return g?n.isSelected(g):!1}:void 0,isPointDetailEnabled:(h,_)=>l(h,_)!==null,onPointContext:p?(h,_)=>{const g=d(h,_);return g?n.activateReversible(g):void 0}:void 0,onPointDetail:f?(h,_)=>{const g=l(h,_);g&&i?.(g)}:void 0})}function x2({app:e,envelope:t,levelJumps:r,layout:i,onJump:n,onAsk:o,onMutated:a,onDocumentChanged:s,onMutationInvalidate:c,onMutationRefresh:l,context:d,contextView:f,contextKey:p}){const m=he(),h=Dl(t),_=Mg(e.getHostCapabilities(),t.availableTools,t.refreshRequest),$=tv({app:e,envelope:t,capabilities:_,onDocumentChanged:V=>{a?.(V.name),s?.(V),c?.(),l?.()}}),S={id:t.name,name:t.name,doctype:t.doctype},k=t.sendMessageHints??[],z=t.availableTools,x=V=>!n||!V.tool||!e.getHostCapabilities()?.serverTools||!z?.includes(V.tool)?null:Ln(V,S,m("nav.linked_to",{id:t.name})),P=k.map(x).filter(V=>V!==null),O=[...r??[],...P],I=o?k.flatMap(V=>{if(!V.message||x(V))return[];const N=xt(V.message,S);return Lt(N)?[]:[{label:Gi(V),message:N}]}):[];o&&I.length===0&&O.length===0&&I.push({label:m("nav.ask"),message:m("doclist.detail.full_detail_message",{doctype:t.doctype,id:t.name})});const C=Tl(h,f??t.doctype,p),L=d?.supported?d.reconcileDocument:void 0;ze(()=>{if(!L)return;const V=[C,...h.childTables.flatMap(N=>N.rows.flatMap((M,q)=>{const K=wo(t,N,M,q,p);return K?[K]:[]}))];L(C.id,V)},[p,f,t,L]);const F=O.length>0||I.length>0?u("div",{class:"flex flex-col gap-2",children:[O.length>0&&u(lt,{children:m("nav.goto")}),u(nv,{narrow:i!=="wide",jumps:O,asks:I,onJump:n,onAsk:o})]}):void 0,Q=d?.supported?{label:m("context.active.select",{label:C.label}),selected:d.isSelected(C),onActivate:()=>void d.activate(C)}:void 0,ee=(V,N)=>{const M=n&&e.getHostCapabilities()?.serverTools?Wg({hints:k,rootVars:S,row:N,availableTools:z,subtitle:m("nav.linked_to",{id:t.name})}):[],q=o?Gg({hints:k,rootVars:S,row:N}).filter(K=>!M.some(Z=>Z.label===K.label)):[];if(!(M.length===0&&q.length===0))return u(Pe,{children:[M.map(K=>u(st,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>n?.(K),children:[K.label,u("span",{"aria-hidden":"true",children:"›"})]},`${K.tool.name}:${K.label}`)),q.map(K=>u(st,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>o?.(K.message),children:[K.label,u("span",{"aria-hidden":"true",children:"~"})]},`ask:${K.label}`))]})},ve=(V,N,M)=>{if(!d?.supported)return;const q=wo(t,V,N,M,p);return q?{label:m("context.active.select",{label:q.label}),detailLabel:q.label,selected:d.isSelected(q),onActivate:()=>d.activateReversible(q)}:void 0};return u(Qg,{model:h,layout:i,attachments:_.canListAttachments?u(Zg,{controller:$,capabilities:_,layout:i,context:d}):void 0,actions:F,contextTarget:Q,renderChildRowActions:ee,renderChildRowContextTarget:ve,childRowActionsPlacement:"visible"})}function w2(e){return typeof e=="object"&&e!==null}function av(e){return w2(e?.message?.text)}async function sv(e,t){if(!av(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}}async function S2(e,t,r){const i=Bg(r),n=Zl(r.tool),o={outcome:"ignored",id:"",rootIdentity:""};if(e.set(c=>{if(sn(c).loading)return c;const l=Zw(c,n);if(l>=0)return o.outcome="popped",To(c,l);const d=Jg(c,i);return o.id=sn(d).id,o.rootIdentity=c.rootIdentity,o.outcome="pushed",d}),o.outcome!=="pushed")return o.outcome;const a=o.id,s=await Ml(t,r.tool);return e.set(c=>c.rootIdentity!==o.rootIdentity?c:Bt(c,a,{loading:!1,body:s.body,count:s.count,error:s.error})),o.outcome}async function I2(e,t,r,i=Zl(r.tool)){const n={...Bg(r),rootTriggerKey:i},o={outcome:"pushed",id:"",rootIdentity:""};if(e.set(s=>{if(s.levels[1]?.rootTriggerKey===i)return o.outcome="closed",To(s,0);const l=s.levels.length>1,d=l?To(s,0):s,f=Jg(d,n);return o.id=sn(f).id,o.rootIdentity=s.rootIdentity,o.outcome=l?"replaced":"pushed",f}),o.outcome==="closed")return o.outcome;const a=await Ml(t,r.tool);return e.set(s=>s.rootIdentity!==o.rootIdentity?s:Bt(s,o.id,{loading:!1,body:a.body,count:a.count,error:a.error})),o.outcome}async function z2(e,t){const r={id:"",rootIdentity:""};if(e.set(s=>{const c=sn(s);return c.tool?(r.id=c.id,r.rootIdentity=s.rootIdentity,r.tool=c.tool,Bt(s,c.id,{loading:!0})):s}),!r.tool)return!1;const{id:i,rootIdentity:n,tool:o}=r,a=await Ml(t,o);return a.error?(e.set(s=>s.rootIdentity===n?Bt(s,i,{loading:!1}):s),!1):(e.set(s=>s.rootIdentity!==n?s:Hg(Bt(s,i,{loading:!1,body:a.body,count:a.count,error:void 0}),i)),!0)}function T2(e,t){const[r,i]=fe(()=>qg(t)),n=Ll(t);Co(()=>{i(g=>Aw(g,t))},[n]);const o=sn(r),a=rt(()=>({set:g=>i($=>g($))}),[]),s=se(g=>S2(a,e,g),[a,e]),c=se((g,$)=>I2(a,e,g,$),[a,e]),l=se(()=>i(g=>Uw(g)),[]),d=se(g=>i($=>To($,g)),[]),f=se(g=>{i($=>Rw($,sn($).id,g))},[]),p=se(g=>{i($=>Mw($,id(new Date),g))},[]),m=se(g=>{const $=new Date(g.committedAt);i(S=>Fw(S,id($),g))},[]),h=se(()=>z2(a,e),[a,e]),_=se(g=>{i($=>Hg($,g))},[]);return{stack:r,current:o,depth:r.levels.length,isRoot:r.levels.length===1,jump:s,toggleRootChild:c,pop:l,popTo:d,patchUi:f,markStale:p,reportDocumentChange:m,refreshLevel:h,clearStale:_}}function id(e){const t=r=>String(r).padStart(2,"0");return`${t(e.getHours())}:${t(e.getMinutes())}`}function P2(e,t,{fixture:r=!1,rootList:i}={}){const n=T2(e,t),{current:o,isRoot:a}=n,s=!r&&Jw(e.getHostCapabilities()),c=!r&&av(e.getHostCapabilities()),l=f2(a&&i?i:ql(o),o.ui,n.patchUi),d=se(p=>sv(e,p),[e]);return{nav:n,current:o,isRoot:a,jumpsEnabled:s,messagesEnabled:c,list:l,ask:c?d:void 0}}function j2(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 cv=u("span",{class:"font-mono text-[11px] text-line-hover",children:"/"});function D2({stack:e,onBack:t,onJump:r,loading:i,layout:n}){const o=he(),[a,s]=fe(!1),c=pe(null),l=qw(e);if(ze(()=>{if(!a)return;const p=m=>{c.current?.contains(m.target)||s(!1)};return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[a]),ze(()=>s(!1),[e.levels.length]),!l.showBar)return null;const d=l.current.level,f=d.kind==="chart"?o("nav.kind.chart"):d.kind==="record"?o("nav.kind.record"):o("nav.kind.list");return u("nav",{"aria-label":o("nav.trail"),class:"relative shrink-0 border-b border-line bg-sunken",onKeyDown:p=>{p.key==="Escape"&&s(!1)},children:[u("div",{class:U("flex h-9 min-w-0 items-center gap-[9px]",n&&n!=="wide"?"px-3":"px-4"),children:[u("button",{type:"button","aria-label":o("nav.back"),title:o("nav.back"),onClick:t,class:U(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(p=>"elided"in p?u("span",{class:"contents",children:[u("button",{type:"button","aria-expanded":a,"aria-haspopup":"menu","aria-label":o("nav.elided_title"),onClick:()=>s(m=>!m),class:U("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:p.elided.length})}),cv]},`elided:${p.elided[0]?.index}`):u(E2,{crumb:p,onJump:r},p.level.id)),u("span",{"aria-current":"page",class:"truncate font-mono text-[11.5px] font-medium text-ink",children:d.title}),u("div",{class:"flex-1"}),i?u("span",{class:"flex items-center gap-1.5",children:[u("span",{class:"size-[5px] rounded-full bg-accent"}),u("span",{class:"font-mono text-[10px] uppercase tracking-[0.08em] text-accent",children:o("nav.loading")})]}):u(Pe,{children:[u("span",{class:U("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:f}),d.count!==void 0&&d.kind==="list"&&u("span",{class:"rounded-[3px] bg-count px-[7px] py-0.5 font-mono text-[11px] text-ink-muted",children:d.count})]})]}),a&&u("div",{ref:c,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(p=>u("button",{type:"button",role:"menuitem",onClick:()=>r(p.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:[u("span",{class:"w-[10px] shrink-0 font-mono text-[10px] text-ink-faint",children:p.index+1}),u("span",{class:"flex min-w-0 flex-col gap-0.5",children:[u("span",{class:"truncate font-mono text-[11.5px] text-ink",children:p.level.title}),u("span",{class:"font-sans text-[11px] text-ink-dim",children:j2(p.level,o)})]})]},p.level.id))})]})}function E2({crumb:e,onJump:t}){const r=he(),i=e.level.stale;return u(Pe,{children:[u("button",{type:"button",onClick:()=>t(e.index),title:i?r("nav.stale_values",{at:i.at}):void 0,class:U("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&&u("span",{"aria-hidden":"true",class:"mr-1.5 inline-block size-[5px] rounded-full bg-warn align-middle"}),e.level.title]}),cv]})}const ad=[{status:"Draft",docstatus:0},{status:"Unpaid",docstatus:1},{status:"Paid",docstatus:1},{status:"Overdue",docstatus:1},{status:"Partly Paid",docstatus:1},{status:"Cancelled",docstatus:2}],sd=["Acme Corp","Globex","Initech","Umbrella"],cd=["Casys SAS","Casys GmbH"];function ma(e,t){return String(e).padStart(t,"0")}function O2(e){const t=ad[e%ad.length],r=`ACC-SINV-2026-${ma(e+1,5)}`,i=sd[e%sd.length],n=cd[e%cd.length],o=1200+e*175,a=t.status==="Paid"||t.status==="Cancelled"?0:t.status==="Partly Paid"?o/2:o,s={name:r,customer:i,posting_date:`2026-08-${ma(e%28+1,2)}`,due_date:`2026-09-${ma(e%28+1,2)}`,status:t.status,grand_total:o,outstanding_amount:a,company:n};return{...s,_detail:{...s,docstatus:t.docstatus,currency:"EUR",items:[{item_code:"ITEM-001",qty:1,amount:o}]}}}const ld=Array.from({length:24},(e,t)=>O2(t)),ud={doctype:"Sales Invoice",_title:"Sales Invoices",count:ld.length,refreshRequest:{toolName:"erpnext_sales_invoice_list",arguments:{limit:20}},_rowAction:{toolName:"erpnext_sales_invoice_get",idField:"name",argName:"name"},_sendMessageHints:[{label:"Payments",message:"Show payment entries for invoice {id}"}],data:ld};function C2(){return typeof window>"u"?!1:new URLSearchParams(globalThis.location.search).has("fixture")}function dd(e,t,r){return r!==null&&rv(e,t,r.toolName)}const N2=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(",");function pd(e){return e==="shared"||e==="cleared"}function fd(e,t){if(!e)return null;const r=Array.from(document.querySelectorAll(N2)),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 md(e){queueMicrotask(()=>{if(typeof requestAnimationFrame!="function"){e();return}requestAnimationFrame(()=>requestAnimationFrame(e))})}function no(e){return`${e.scopeKey}:${e.item.id}`}function A2({selections:e,failed:t=!1,evictedLabel:r,onRemove:i,onClear:n,compact:o=!1,popoverAlign:a="end",class:s}){const c=he(),[l,d]=fe(!1),f=pe(null),p=pe(null),m=pe(null),h=pe(new Map),_=Tv(),g=e,$=g.length;if(ze(()=>{$<=1&&d(!1)},[$]),ze(()=>{if(!l)return;function z(P){f.current?.contains(P.target)||d(!1)}function x(P){P.key==="Escape"&&(d(!1),p.current?.focus())}return document.addEventListener("pointerdown",z),document.addEventListener("keydown",x),()=>{document.removeEventListener("pointerdown",z),document.removeEventListener("keydown",x)}},[l]),$===0&&!t)return null;const S=async(z,x)=>{const P=fd(f.current,document.activeElement),O=g.filter(C=>no(C)!==no(z));let I;try{I=await(i?i(z):n())}catch{return}pd(I)&&md(()=>{if(O.length===0){P?.isConnected&&P.focus({preventScroll:!0});return}if(O.length===1){m.current?.focus({preventScroll:!0});return}const C=O[Math.min(x,O.length-1)];h.current.get(no(C))?.focus({preventScroll:!0})})},k=async()=>{const z=fd(f.current,document.activeElement);z&&z.focus({preventScroll:!0}),d(!1);try{const x=await n();if(!pd(x))return;md(()=>{z?.isConnected&&z.focus({preventScroll:!0})})}catch{}};return u("span",{ref:f,class:U("relative inline-flex min-w-0 max-w-full items-center gap-1.5","font-mono text-chip text-ink-muted",s),children:[$===1&&u("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:[u("span",{class:U("shrink-0 text-accent-text",o&&"sr-only"),children:c("context.active.label")}),u("span",{class:U("truncate text-ink",o&&"max-w-24"),title:g[0].item.label,children:g[0].item.label}),u("button",{ref:m,type:"button",onClick:()=>void S(g[0],0),class:U("-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":c("context.active.clear",{label:g[0].item.label}),title:c("context.active.clear",{label:g[0].item.label}),children:u("span",{"aria-hidden":"true",children:"×"})})]}),$>1&&u(Pe,{children:[u("button",{ref:p,type:"button",class:U("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":l,"aria-controls":_,"aria-haspopup":"dialog",onClick:()=>d(z=>!z),children:[u("span",{"aria-live":"polite","aria-atomic":"true",children:[c("context.active.label")," · ",$]}),u("span",{"aria-hidden":"true",class:"text-ink-faint",children:l?"▴":"▾"})]}),l&&u("span",{id:_,role:"dialog","aria-label":c("context.active.items"),class:U("absolute top-full z-30 mt-1.5 w-56 max-w-[calc(100vw-24px)]",a==="start"?"left-0":"right-0","rounded-card border border-line-modal bg-control p-1.5 shadow-modal"),children:[u("span",{class:"flex max-h-64 flex-col overflow-y-auto",children:g.map((z,x)=>u("span",{class:"flex min-w-0 items-center gap-2 rounded-badge px-1.5 py-1 hover:bg-sunken",children:[u("span",{class:"min-w-0 flex-1",children:[u("span",{class:"block truncate text-chip text-ink",children:z.item.label}),u("span",{class:"block truncate text-micro text-ink-faint",children:[z.item.view,z.item.value?` · ${z.item.value}`:""]})]}),u("button",{ref:P=>{const O=no(z);P?h.current.set(O,P):h.current.delete(O)},type:"button",class:U("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":c("context.active.clear",{label:z.item.label}),title:c("context.active.clear",{label:z.item.label}),onClick:()=>void S(z,x),children:u("span",{"aria-hidden":"true",children:"×"})})]},`${z.scopeKey}:${z.item.id}`))}),u("button",{type:"button",class:U("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:()=>{k()},children:c("context.active.clear_all")})]})]}),t&&u("span",{role:"status",class:"inline-flex shrink-0 items-center gap-1 text-bad",title:c("context.active.error"),children:[u("span",{"aria-hidden":"true",children:"!"}),u("span",{class:o&&$>0?"sr-only":void 0,children:c("context.active.error")})]}),r&&u("span",{role:"status","aria-live":"polite",class:U("truncate text-micro text-ink-muted",o?"max-w-24":"max-w-36"),title:c("context.active.evicted",{label:r}),children:c("context.active.evicted",{label:r})})]})}const U2="casys.erpnext/active-context",R2=2,Do=8,L2=5*1024*1024,Yi={id:180,view:120,label:240,value:240,resourceUri:1024,resourceMimeType:160};function Zn(e){return typeof e=="object"&&e!==null}function Xi(e){return Zn(e?.updateModelContext?.structuredContent)?"structuredContent":Zn(e?.updateModelContext?.text)?"text":null}function Z2(e){return Xi(e)!==null}function lv(e){for(const t of e){const r=t.codePointAt(0)??0;if(r<=31||r===127)return!0}return!1}function M2(e){const t=e.trim();return t.length>0&&t.length<=Yi.resourceUri&&/^[A-Za-z][A-Za-z0-9+.-]*:/.test(t)&&!lv(t)}function F2(e){const t=e.trim(),r=t.split(";",1)[0].trim();return t.length<=Yi.resourceMimeType&&/^[A-Za-z0-9!#$&^_.+-]+\/[A-Za-z0-9!#$&^_.+-]+$/.test(r)&&!lv(t)}function Qi(e){return e!==void 0&&e.bytes instanceof Uint8Array&&e.bytes.byteLength>0&&e.bytes.byteLength<=L2&&M2(e.uri)&&F2(e.mimeType)}function q2(e,t){return Xi(e)!==null&&Zn(e?.updateModelContext?.resource)&&Qi(t)}function uv(e){return typeof e=="object"&&e!==null&&"isError"in e&&e.isError===!0}function J2(e,t){return e.id===t.id&&e.view===t.view&&e.reconcileKey===t.reconcileKey&&e.label===t.label&&e.value===t.value&&H2(e.resource,t.resource)}function H2(e,t){if(e===t)return!0;if(!e||!t||e.uri!==t.uri||e.mimeType!==t.mimeType||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 dv(e){const{resource:t,...r}=e;return r}function pv(e){return e.item.resource?{...e,item:dv(e.item)}:e}function ea(e){let t=-1;for(let r=e.length-1;r>=0;r-=1)if(Qi(e[r].item.resource)){t=r;break}return e.map((r,i)=>i===t?r:pv(r))}function fv(e,t){return e.scopeKey===t.scopeKey&&J2(e.item,t.item)}function hd(e,t){return e.length===t.length&&e.every((r,i)=>fv(r,t[i]))}function ro(e,t,r){const i=ea(e),n=i.find(d=>d.scopeKey===t&&d.item.id===r.id)?.item,o=Qi(r.resource)?r.resource:void 0,a=o??n?.resource,s=r.resource===a?r:{...dv(r),...a?{resource:a}:{}},c=i.filter(d=>d.scopeKey!==t||d.item.id!==r.id).map(d=>o?pv(d):d);c.push({scopeKey:t,item:s});const l=Math.max(0,c.length-Do);return{selections:c.slice(-Do),evicted:l>0?c[l-1]:null}}function oo(e,t){return ea(e.filter(r=>r.scopeKey===t))}function B2(e,t){return ea(e.filter(r=>r.scopeKey!==t.scopeKey||r.item.id!==t.item.id))}function mv(e,t=[]){let r=t.slice();for(const i of e)i.active&&(r=i.apply(r));return r}function V2(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:mv(t.slice(0,i),e),mutations:t.slice(i)}}function K2(e,t,r){return Jl(e,t,r,()=>!0)}function W2(e,t,r,i){const n=o=>o.reconcileKey??o.view;return Jl(e,t,i.filter(o=>n(o)===r),o=>e.some(a=>a.scopeKey===t&&a.item.id===o&&n(a.item)===r))}function G2(e,t,r,i){const n=`${r}:row:`,o=a=>a===r||a.startsWith(n);return Jl(e,t,i.filter(a=>o(a.id)),o)}function Jl(e,t,r,i){const n=new Map(r.map(c=>[c.id,c])),o=[];let a=!1;for(const c of e){if(c.scopeKey!==t||!i(c.item.id)){o.push(c);continue}const l=n.get(c.item.id);if(!l){a=!0;continue}const d=c.item.resource&&!l.resource?{...l,resource:c.item.resource}:l,f={scopeKey:t,item:d};fv(c,f)||(a=!0),o.push(f)}const s=ea(o);return s.some((c,l)=>c!==o[l])&&(a=!0),a?s:e.slice()}function Y2(){let e=Promise.resolve();return{run(t){const r=e.then(t,t);return e=r.then(()=>{},()=>{}),r}}}function ha(e,t){const r=e.trim();if(!r)throw new TypeError(`Active context ${t} is empty`);return Array.from(r).slice(0,Yi[t]).join("")}function X2(e){if(e===void 0)return;const t=e.trim();if(t)return Array.from(t).slice(0,Yi.value).join("")}function Q2(e){const t=X2(e.value);return{id:ha(e.id,"id"),view:ha(e.view,"view"),label:ha(e.label,"label"),...t===void 0?{}:{value:t}}}function eS(e){return{schema:U2,version:R2,items:e.slice(-Do).map(Q2)}}function tS(e){for(let t=e.length-1;t>=0;t-=1)if(e[t].resource)return e[t].resource}function nS(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 rS(e){if(!Qi(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:nS(e.bytes)}}}async function hv(e,t){const r=e.getHostCapabilities(),i=Xi(r);if(!i)return"unsupported";try{const n=t.slice(-Do),o=eS(n),a=tS(n),s=a&&Zn(r?.updateModelContext?.resource)?rS(a):void 0,c=i==="structuredContent"?{structuredContent:o,...s?{content:[s]}:{}}:{content:[{type:"text",text:JSON.stringify(o)},...s?[s]:[]]},l=await e.updateModelContext(c);return uv(l)?"error":"shared"}catch{return"error"}}async function ga(e){const t=e.getHostCapabilities(),r=Xi(t);if(!r)return"unsupported";const i=Zn(t?.updateModelContext?.resource),n=r==="structuredContent"?{structuredContent:{},...i?{content:[]}:{}}:{content:[]};try{const o=await e.updateModelContext(n);return uv(o)?"error":"cleared"}catch{return"error"}}function gd(e){return e==="context"?"replace":e==="superseded"?"ignore":"failure"}function oS(e,t,r){return!t&&r?e:void 0}async function vd(e,t,r,i=()=>!0){if(await hv(e,t)==="shared")return"context";if(!i())return"superseded";const o=r?.trim();if(!o)return"none";const a=await sv(e,o);return i()?a?"message":"none":"superseded"}function iS(e,t){const[r,i]=fe([]),[n,o]=fe(!1),[a,s]=fe(null),c=pe([]),l=pe(t),d=pe(t),f=pe(0),p=pe(!0),m=pe(Y2()),h=pe([]),_=pe([]),g=pe(0),$=pe(null),S=Z2(e.getHostCapabilities());l.current!==t&&(l.current=t,f.current+=1,p.current=!1,h.current=[],_.current=[],g.current=0);const k=se(Z=>{c.current=Z,i(Z)},[]),z=se(()=>{const Z=V2(h.current,_.current);h.current=Z.base,_.current=Z.mutations},[]),x=se((Z,W=!1)=>{const T={id:++g.current,active:!0,reversible:W,apply:Z};return _.current.push(T),z(),T},[z]),P=se(Z=>{_.current.includes(Z)&&(Z.reversible=!1,z())},[z]),O=se(()=>{h.current=[],_.current=[],g.current=0},[]),I=se(()=>mv(_.current,h.current),[]),C=se(async Z=>Z.length===0?await ga(e):await hv(e,Z.map(W=>W.item)),[e]),L=se(Z=>{$.current!==null&&clearTimeout($.current),s(Z),$.current=setTimeout(()=>{s(null),$.current=null},2400)},[]);ze(()=>()=>{$.current!==null&&clearTimeout($.current)},[]),Co(()=>{if(d.current===t)return;d.current=t;const Z=f.current;s(null),o(!1),m.current.run(async()=>{const W=await ga(e);return W==="cleared"?(p.current=!0,O(),k([]),Z===f.current&&o(!1)):Z===f.current&&(p.current=!1,o(!0)),W})},[e,k,O,t]);const F=se(async(Z,W)=>{const T=f.current;return o(!1),await m.current.run(async()=>{if(T!==f.current)return"superseded";const E=c.current,B=je=>ro(oo(je,t),t,Z).selections,H=ro(oo(E,t),t,Z),J=H.selections,te=oS(W,E.length>0,p.current),A=await vd(e,J.map(je=>je.item),te,()=>T===f.current),de=gd(A),ae=T===f.current;if(de==="replace")p.current=!1,ae&&x(B),k(J),o(!1),ae&&H.evicted&&L(H.evicted.item.label);else if(de==="failure"){if(!ae)return"superseded";o(!0)}return ae?A:"superseded"})},[L,e,k,x,t]),Q=se(async Z=>{const W=f.current;return o(!1),await m.current.run(async()=>{if(W!==f.current)return;const T=oo(c.current,t),E=ae=>ro(oo(ae,t),t,Z).selections,B=ro(T,t,Z),H=B.selections,J=await vd(e,H.map(ae=>ae.item),void 0,()=>W===f.current),te=gd(J);if(te!=="replace"){W===f.current&&te==="failure"&&o(!0);return}if(p.current=!1,k(H),o(!1),W!==f.current)return;const A=x(E,!0);B.evicted&&L(B.evicted.item.label);const de=async()=>{o(!1);const ae=await m.current.run(async()=>{if(W!==f.current)return"superseded";if(!A.active||!_.current.includes(A))return"unchanged";const je=c.current;A.active=!1;const tt=I();if(hd(je,tt))return"unchanged";const ie=await C(tt);return(ie==="shared"||ie==="cleared")&&(p.current=tt.length===0,k(tt),s(null),o(!1)),W!==f.current?"superseded":(ie!=="shared"&&ie!=="cleared"&&(A.active=!0,o(!0)),ie)});return ae==="shared"||ae==="cleared"||ae==="unchanged"};return de.release=()=>P(A),de})},[L,e,k,x,P,C,I,t]),ee=se(async()=>(o(!1),s(null),await m.current.run(async()=>{const Z=await ga(e);return Z==="cleared"?(p.current=!0,O(),k([]),o(!1)):o(!0),Z})),[e,k,O]),ve=se(async Z=>(o(!1),await m.current.run(async()=>{const W=c.current,T=H=>B2(H,Z),E=T(W);if(E.length===W.length)return x(T),"unchanged";const B=await C(E);return B==="shared"||B==="cleared"?(p.current=E.length===0,x(T),k(E),o(!1)):o(!0),B})),[k,x,C]),V=se(async Z=>await m.current.run(async()=>{const W=c.current,T=H=>Z(H),E=T(W);if(hd(W,E))return x(T),"unchanged";const B=await C(E);return B==="shared"||B==="cleared"?(p.current=E.length===0,x(T),k(E),o(!1)):o(!0),B}),[k,x,C]),N=se(Z=>V(W=>K2(W,t,Z)),[V,t]),M=se((Z,W)=>V(T=>W2(T,t,Z,W)),[V,t]),q=se((Z,W)=>V(T=>G2(T,t,Z,W)),[V,t]),K=se(Z=>c.current.some(W=>W.scopeKey===t&&W.item.id===Z.id),[t]);return{selections:r,failed:n,evictedLabel:a,supported:S,activate:F,activateReversible:Q,remove:ve,clear:ee,reconcile:N,reconcileView:M,reconcileDocument:q,isSelected:K}}const Ye=new Il({name:"Doclist Viewer",version:"2.0.0"}),aS=15e3,sS=1e4;function cS(){const e=he(),t=C2(),[r,i]=fe(t?ud:null),[n,o]=fe(!t),[a,s]=fe(!1),[c,l]=fe(null),[d,f]=fe(0),[p,m]=fe(0),h=pe(0),_=pe(t?ud:null),g=pe(null),$=pe(B$()),S=pe(0);function k(I){_.current=I,g.current=ra(I,g.current),i(I);const C=++h.current;f(C)}function z(I){if(I.isError){const L=Rt(I);return l(L??e("doclist.error.tool_error")),o(!1),!1}const C=Rt(I);if(!C)return!1;try{const L=JSON.parse(C);if(!L)return!1;if(!Array.isArray(L.data))if(L._title||L._rowAction||L.count!=null)L.data=[];else return!1;return k(L),l(null),o(!1),!0}catch{return l(e("doclist.error.parse_payload")),o(!1),!1}}async function x(I={}){if(t)return!1;const C=ra(_.current,g.current);if(!C||!dd(Ye.getHostCapabilities()?.serverTools,_.current?._availableTools,C))return!1;const L=$.current;if(L.inFlight!==null)return I.force&&($.current=Ru(L,{force:!0}).state),!1;const F=!!(I.force||L.pendingForced);if(!K$({request:C,visibilityState:typeof document>"u"?"visible":document.visibilityState,refreshInFlight:!1,now:Date.now(),lastRefreshStartedAt:S.current,minIntervalMs:aS},{ignoreInterval:I.ignoreInterval||F}))return!1;const Q=Ru(L,{force:F});if(Q.generation===null)return!1;$.current=Q.state,S.current=Date.now(),s(!0);let ee=null,ve=null;try{ee=await Ye.callServerTool({name:C.toolName,arguments:C.arguments},{timeout:sS})}catch(M){ve={cause:M}}const V=V$($.current,Q.generation);$.current=V.state;let N=!1;return V.accept&&(ve?l(W$(ve.cause)):ee?.isError?l(e("common.error.refresh_failed")):ee&&z(ee)?N=!0:l(e("common.error.refresh_no_data"))),s(!1),V.runPending&&x({ignoreInterval:!0,force:!0}),N}if(ze(()=>{t||(Ye.ontoolresult=I=>{$.current=Lu($.current),z(I)},Ye.ontoolinputpartial=()=>{_.current||o(!0)},Ye.connect().then(()=>Rv(Ye)).catch(()=>{}))},[t]),ze(()=>{if(t)return;const I=()=>void x({ignoreInterval:!0}),C=()=>{document.visibilityState==="visible"&&x({ignoreInterval:!0})};return window.addEventListener("focus",I),document.addEventListener("visibilitychange",C),()=>{window.removeEventListener("focus",I),document.removeEventListener("visibilitychange",C)}},[t]),n)return u(Tg,{});if(!r)return u(ox,{});const P=ra(r,g.current),O=!t&&dd(Ye.getHostCapabilities()?.serverTools,r._availableTools,P);return u(lS,{data:r,error:c,refreshing:a,fixture:t,refreshAvailable:O,rootFreshEvent:d,rootMutationEvent:p,onRefresh:()=>void x({ignoreInterval:!0}),onMutationInvalidate:()=>{const I=++h.current;m(I),$.current=Lu($.current)},onMutationRefresh:()=>void x({ignoreInterval:!0,force:!0}),onError:l})}function lS({data:e,error:t,refreshing:r,fixture:i,refreshAvailable:n,rootFreshEvent:o,rootMutationEvent:a,onRefresh:s,onMutationInvalidate:c,onMutationRefresh:l,onError:d}){const f=he(),{ref:p,layout:m,boundsStyle:h}=H$(),_=e._title??e.doctype??f("doclist.title.default"),g=Lw("doclist",e.refreshRequest,{doctype:e.doctype??null,title:e.doctype?null:_}),$=P2(Ye,{title:_,kind:"root",origin:"list",key:g},{fixture:i,rootList:e}),S=$.nav,{current:k,isRoot:z}=S,{jumpsEnabled:x,ask:P}=$,O=z?e:ql(k),{list:I}=$,C=z||k.kind==="list",L=S.stack.levels[0].id,F=iS(Ye,g),Q=i?void 0:Ye.getHostCapabilities(),ee={supported:!i&&F.supported,activate:F.activate,activateReversible:F.activateReversible,reconcileView:F.reconcileView,reconcileDocument:F.reconcileDocument,isSelected:F.isSelected,canShareResource:V=>q2(Q,V)},ve=u(A2,{selections:F.selections,failed:F.failed,evictedLabel:F.evictedLabel,onRemove:F.remove,onClear:F.clear,compact:m!=="wide"});return Co(()=>{o>a&&S.clearStale(L)},[o,a,L]),u($g,{style:h,containerRef:p,children:[u(E$,{title:z?_:k.title,count:C?z?e.count??I.rows.length:k.count:void 0,live:z&&n&&!t,layout:m,actions:u(Pe,{children:[ve,C&&!k.loading&&u(Pe,{children:[u(ix,{value:I.filter,layout:m,open:I.searchOpen,onOpenChange:I.setSearchOpen,onInput:I.setFilter}),m==="wide"&&u(Pe,{children:[z&&n&&u($o,{disabled:r,title:f("common.refresh"),onClick:s,children:r?"…":"↻"}),u($o,{onClick:()=>nx(I.columns,I.sorted,O.doctype),children:"CSV"})]})]})]})}),u(D2,{layout:m,stack:S.stack,onBack:S.pop,onJump:S.popTo,loading:k.loading}),m==="panel"&&(F.selections.length>0||F.failed)&&u("div",{class:"flex shrink-0 justify-end border-b border-line-soft bg-sunken px-3 py-2",children:ve}),u(k2,{level:k,app:Ye,list:I,layout:m,fixture:i,onJump:x?S.jump:void 0,onAsk:P,onError:d,onMutated:S.markStale,onDocumentChanged:S.reportDocumentChange,onMutationInvalidate:n?c:void 0,onMutationRefresh:n?l:void 0,onRefresh:()=>void S.refreshLevel(),context:ee,contextView:_,children:u(ov,{app:Ye,data:e,list:I,layout:m,fixture:i,error:t,stale:S.stack.levels[0].stale,onRefresh:n?s:void 0,onMutationInvalidate:n?c:void 0,onMutationRefresh:n?l:void 0,onMutated:S.markStale,onDocumentChanged:S.reportDocumentChange,onError:d,onJump:x?S.jump:void 0,onAsk:P,context:ee,contextView:_,contextKey:g},g)}),u(O$,{layout:m})]})}Mv(Fv());Sv(u(cS,{}),document.getElementById("app"));</script>
111
+ ${n}`,a=new Blob([o],{type:"text/csv"}),s=URL.createObjectURL(a),c=document.createElement("a");c.href=s,c.download=`${r??"export"}.csv`,c.click(),URL.revokeObjectURL(s)}function ix(e,t){let r=e;for(const i of t.split(".")){if(r==null||typeof r!="object")return;r=r[i]}return r}function Tg({embedded:e=!1}){const t=Na(),r=u(De,{children:[u("div",{class:"flex items-center gap-3 border-b border-line px-4 py-[13px]",children:[u(st,{class:"h-[17px] w-40"}),u(st,{class:"h-[17px] w-8"})]}),u("div",{class:"flex gap-1.5 border-b border-line px-4 py-2.5",children:[48,72,64,68].map(i=>u(st,{class:"h-[19px]",style:{width:i}},i))}),u("div",{class:"flex flex-col",children:Array.from({length:8},(i,n)=>u("div",{class:"border-b border-line-soft px-4 py-2",children:u(st,{class:"h-[15px]",style:{opacity:1-n*.1}})},n))})]});return e?u("div",{class:"min-h-0 flex-1 bg-surface",children:r}):u($g,{style:zg(t.containerDimensions),children:r})}function ax(){const e=he();return u(wo,{children:e("doclist.empty.message")})}function Mu({size:e=11}){return u("svg",{width:e,height:e,viewBox:"0 0 12 12",fill:"none","aria-hidden":"true",class:"shrink-0",children:[u("circle",{cx:"5",cy:"5",r:"3.6",stroke:"currentColor","stroke-width":"1.2"}),u("path",{d:"M7.8 7.8L10.5 10.5",stroke:"currentColor","stroke-width":"1.2","stroke-linecap":"round"})]})}function sx({value:e,layout:t,open:r,onOpenChange:i,onInput:n}){const o=he();return t!=="mobile"?u("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:[u("span",{class:"text-ink-faint group-focus-within:text-accent-text",children:u(Mu,{})}),u("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"})]}):u("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:u(Mu,{size:13})})}function cx({value:e,onInput:t,onClose:r}){const i=he(),n=de(null);return Pe(()=>{n.current?.focus()},[]),u("div",{class:"shrink-0 px-3 pb-2.5",children:u("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 yt(e){if(typeof e!="string"&&typeof e!="number")return null;const t=String(e).trim();return t.length>0?t:null}function Pl(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 lx(e){return`document-rows:${e.doctype}:${e.name}`}function So(e,t,r,i,n){const o=yt(r.item_code);if(!o)return null;const a=yt(r.item_name),s=e.document[t.key],c=Array.isArray(s)&&s[i]!==null&&typeof s[i]=="object"&&!Array.isArray(s[i])?s[i]:null,l=yt(c?.name)??yt(c?.idx)??`${o}:${i+1}`,d=[yt(r.qty)?`Qty ${yt(r.qty)}`:null,yt(r.warehouse),yt(r.amount)].filter(f=>!!f);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(" · ")}:{}}}const ux=new Set(["idx","parent","parenttype","parentfield","doctype","owner","creation","modified","modified_by","docstatus"]),dx=["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"],px=["amount","base_amount","net_amount","base_net_amount","operating_cost","base_operating_cost","stock_value_difference"],fx=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)$/;function mx(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function hx(e){try{return JSON.stringify(e)??String(e)}catch{return String(e)}}function jl(e){return e===null||typeof e=="string"||typeof e=="boolean"?e:typeof e=="number"?Number.isFinite(e)?e:String(e):hx(e)}function An(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 Pg(e){if(typeof e=="number")return Number.isFinite(e)?e:null;if(typeof e!="string")return null;const t=e.trim();return fx.test(t)?Number(t):null}function gx(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 vx(e,t){const r=e.map(i=>i[t]).filter(i=>i!=null&&i!=="");return r.length>0&&r.every(i=>Pg(i)!==null)}function bx(e,t){for(const r of px){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(Pg);if(!n.some(o=>o===null))return{key:r,label:An(r),value:n.reduce((o,a)=>o+(a??0),0)}}}function _x(e){return e.some(t=>"parent"in t||"parenttype"in t||"parentfield"in t||"idx"in t)}function yx(e){const t=new Map,r=_x(e);for(const n of e)for(const o of Object.keys(n))o.startsWith("_")||ux.has(o)||r&&o==="name"||t.has(o)||t.set(o,t.size);const i=new Map(dx.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 kx(e,t){const r=yx(t),i=t.map(a=>Object.fromEntries(r.filter(s=>Object.prototype.hasOwnProperty.call(a,s)).map(s=>[s,jl(a[s])]))),n=r.map(a=>({key:a,label:An(a),numeric:vx(i,a)})),o=bx(i,n);return{key:e,label:An(e),rows:i,columns:n,...o?{total:o}:{}}}function jg(e,t){return e.columns.slice(0,t==="wide"?4:3)}function $x(e,t,r){const i=e.rows[t];if(!i)return[];const n=new Set(jg(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:gx(o.key,i[o.key]??null)}))}function xx(e){return Array.isArray(e)&&e.length>0&&e.every(mx)}const wx=new Set(["_availableTools","_sendMessageHints","refreshRequest"]),Sx=new Set(["name","doctype","owner","creation","modified","modified_by","docstatus","idx","_user_tags","_comments","_assign","_liked_by","__islocal","__unsaved"]),Ix=["title","subject","item_name","customer_name","supplier_name","project_name","employee_name"],zx=/(^|_)(description|notes?|remarks?|terms|instructions?|content|message|details?)($|_)/i,Tx=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)$/;function _t(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Ae(e){return typeof e=="string"&&e.trim().length>0?e.trim():null}function Px(e){if(Array.isArray(e))return[...new Set(e.filter(t=>typeof t=="string"&&t.length>0))]}function jx(e){if(!_t(e))return;const t=Ae(e.toolName);if(!(!t||!_t(e.arguments)))return{toolName:t,arguments:{...e.arguments}}}function Dx(e){if(Array.isArray(e))return e.flatMap(t=>{if(!_t(t))return[];const r=Ae(t.label);if(!r)return[];const i=t.kind==="list"||t.kind==="record"||t.kind==="chart"?t.kind:void 0;return[{label:r,...Ae(t.key)?{key:Ae(t.key)}:{},...Ae(t.message)?{message:Ae(t.message)}:{},...Ae(t.tool)?{tool:Ae(t.tool)}:{},..._t(t.args)?{args:{...t.args}}:{},...i?{kind:i}:{}}]})}function Ex(e){if(!_t(e)||!_t(e.document))return null;const t=Ae(e.document.doctype)??Ae(e.doctype),r=Ae(e.document.name)??Ae(e.name);return!t||!r?null:{...e,document:e.document,doctype:t,name:r}}function Un(e){if(!_t(e))return null;const t=_t(e.data)?e.data:null,i=(t&&Ae(t.doctype)&&Ae(t.name)?t:null)??e,n=Object.fromEntries(Object.entries(i).filter(([d])=>!wx.has(d))),o=Ae(n.doctype)??Ae(e.doctype),a=Ae(n.name)??Ae(e.name);if(!o||!a)return null;const s=Px(e._availableTools),c=jx(e.refreshRequest),l=Dx(e._sendMessageHints);return{document:n,doctype:o,name:a,...s!==void 0?{availableTools:s}:{},...c?{refreshRequest:c}:{},...l!==void 0?{sendMessageHints:l}:{}}}function Dl(e){if(typeof e=="number")return Number.isFinite(e)?e:null;if(typeof e!="string")return null;const t=e.trim();return Tx.test(t)?Number(t):null}function Ox(e,t){return Dl(t)!==null&&(e==="progress"||e.endsWith("_progress")||e==="percent_complete"||e==="percentage_complete"||e==="completion_percentage")}function Cx(e,t){return Ox(e,t)?"progress":t==null||t===""?"empty":typeof t=="number"?"number":typeof t=="boolean"?"boolean":e==="status"||e==="workflow_state"||e.endsWith("_status")?"status":_t(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 Nx(e){try{return JSON.stringify(e,null,2)??String(e)}catch{return String(e)}}function Fu(e,t){const r=Cx(e,t);let i=r==="json"?Nx(t):jl(t);return r==="progress"&&(i=Dl(t)),{key:e,label:An(e),value:i,kind:r}}function Ax(e){return e.startsWith("_")||Sx.has(e)}function Ux(e){return e.kind==="json"||typeof e.value=="string"&&(e.value.includes(`
112
+ `)||e.value.length>=120||zx.test(e.key))}function Rx(e){for(const t of Ix){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 Lx(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 Zx(e,t){return{key:e,label:An(e),values:t.map(jl)}}function El(e){const t=Ex(e)??Un(e);if(!t)return null;const r=[],i=[],n=[],o=[],a=[],s=[];for(const[d,f]of Object.entries(t.document)){if(Ax(d)){s.push(Fu(d,f));continue}if(d==="status"||d==="workflow_state")continue;if(xx(f)){a.push(kx(d,f));continue}if(Array.isArray(f)){o.push(Zx(d,f));continue}const p=Fu(d,f);p.kind==="progress"?n.push(p):Ux(p)?i.push(p):r.push(p)}const c=Dl(t.document.docstatus),l=Lx(t.document);return{envelope:t,title:Rx(t),...l?{status:l}:{},...c!==null?{docstatus:c}:{},fields:r,longFields:i,progressFields:n,collections:o,childTables:a,systemFields:s}}const Mx=["update","submit","cancel","attachment.added"],Fx=new Set(Mx),qx=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$/;function oa(e){return typeof e=="string"&&e.trim().length>0}function Jx(e){if(e===null||typeof e!="object"||Array.isArray(e))return!1;const t=e;return oa(t.doctype)&&oa(t.name)&&typeof t.mutation=="string"&&Fx.has(t.mutation)&&typeof t.committedAt=="string"&&qx.test(t.committedAt)&&Number.isFinite(Date.parse(t.committedAt))&&(t.source===void 0||oa(t.source))}const Hx=new Set(["bar","horizontal-bar","stacked-bar","line","area","stacked-area","composed"]),Bx=new Set(["bar","line","area"]);function Vx(e){return typeof e=="string"&&Hx.has(e)?e:void 0}function Kx(e){return typeof e=="string"&&Bx.has(e)?e:void 0}function Io(e,t){return t.type?t.type:e.type==="line"?"line":e.type==="area"||e.type==="stacked-area"?"area":"bar"}function Wx(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 Dg(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 Yr(e){return typeof e=="string"&&e.trim().length>0?e.trim():void 0}function qu(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:null}function In(e,t={}){const r=Un(e);if(r)return r;const i=qu(e);if(!i)return null;const n=qu(i.data)??i,o=Yr(n.doctype)??Yr(t.doctype),a=Yr(n.name)??Yr(t.name);return!o||!a?null:Un({...i,data:{...n,doctype:o,name:a}})}const Gx={erpnext_doc_submit:"submit",erpnext_doc_cancel:"cancel"};function Yx(e,t,r,i){const n=Gx[t];if(!n)return null;const o={doctype:e.doctype,name:e.name,mutation:n,committedAt:r,source:i};return Jx(o)?o:null}function Xx(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((c,l)=>{const d=Number(s[l]??0);return Number.isFinite(d)?d:0}),color:typeof a.color=="string"?a.color:void 0,type:Kx(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:Vx(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 Qx(e){return!e||typeof e!="object"?null:Array.isArray(e.data)?e:null}function ew({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]),c=e.filter(({col:l})=>t[l]).length;return u("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:[u(Uu,{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(f=>{const p=t[l]===f;return u(Uu,{pill:n,active:p,onClick:()=>o(l,p?null:f),children:[f," ",r[l]?.[f]??0,p&&u("span",{"aria-hidden":"true",class:"ml-1.5 text-accent-text",children:"×"})]},`${l}:${f}`)})),s&&!n&&u("span",{class:"ml-auto shrink-0 font-mono text-chip text-ink-faint",children:[a("doclist.chips.filter_count",{n:c,s:c>1?"s":""})," · ",a("doclist.chips.row_count",{n:i,s:i>1?"s":""})]})]})}const Ol={ok:"border-l-ok",warn:"border-l-warn",bad:"border-l-bad",neutral:"border-l-transparent"},Cl={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"},Eg={ok:"text-ok",warn:"text-warn-text",bad:"text-bad",neutral:"text-ink-2"},tw={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 Wi(e){return tw[e]??"neutral"}function nw(e){return Number.isFinite(e)&&e<=1}function zo({expanded:e,label:t,onToggle:r,controls:i,touch:n=!1,hintSide:o="left",class:a}){const s=he(),c=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 u("button",{type:"button","aria-label":l,"aria-expanded":c?e:void 0,"aria-controls":i,"data-detail-hint":d,"data-detail-hint-side":o,onClick:f=>{f.stopPropagation(),nw(f.detail)&&r()},onDblClick:f=>f.stopPropagation(),class:A("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:u("span",{"aria-hidden":"true",class:A("select-none font-mono text-[14px] leading-none transition-transform duration-150",e===!0&&"rotate-90 text-accent"),children:c?"›":"↗"})})}function an(e,t){if(!e)return{};const r=t&&e.onDoubleActivate?{key:t.key,onSingle:e.onActivate,onDouble:e.onDoubleActivate}: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())}}}const rw=320;function ow(e,t){const r=setTimeout(e,t);return()=>clearTimeout(r)}function iw(e=ow){const t=new Map,r=new Map,i=new Map,n=new Map;function o(h){try{return Promise.resolve(h.onSingle()).then(_=>typeof _=="function"?_:null,()=>null)}catch{return Promise.resolve(null)}}function a(h){return h.then(async _=>{try{return await _?.()!==!1}catch{return!1}finally{_?.release?.()}},()=>!1)}function s(h){h.then(_=>_?.release?.(),()=>{})}function c(){for(const h of r.values())s(h);r.clear()}function l(h){const _=t.get(h);_&&(t.delete(h),_.cancelTimer())}function d(h){l(h);const _=r.get(h);r.delete(h),_&&s(_),i.delete(h),n.delete(h)}function f(){const h=[...t.values()];t.clear(),c(),i.clear(),n.clear();for(const _ of h)_.cancelTimer()}function p(h,_){d(h.key);const g=o(h);s(g)}function m(h){if(n.has(h.key))return;l(h.key);const _=r.get(h.key);r.delete(h.key);const g=i.get(h.key)??(_?a(_):null);if(i.delete(h.key),g){const $={};n.set(h.key,$),g.then(S=>{n.get(h.key)===$&&(n.delete(h.key),S&&h.onDouble())})}else n.delete(h.key),h.onDouble()}return{click(h,_=1){if(_>=2){if(t.has(h.key))l(h.key);else{const $=r.get(h.key);r.delete(h.key),$&&i.set(h.key,a($))}return}c(),i.clear(),d(h.key);const g={cancelTimer:()=>{}};t.set(h.key,g),g.cancelTimer=e(()=>{t.get(h.key)===g&&(t.delete(h.key),r.set(h.key,o(h)))},rw)},doubleClick:m,keyDown(h,_){if(!_.repeat){if(_.key===" "){_.preventDefault(),p(h);return}_.key==="Enter"&&(_.preventDefault(),d(h.key),h.onDouble())}},cancel:d,cancelAll:f}}function Nl(){const e=de(null);e.current===null&&(e.current=iw());const t=e.current;return Pe(()=>()=>t.cancelAll(),[t]),t}const aw=["outstanding_amount","grand_total","total","amount","base_grand_total","qty"];function sw(e){for(const r of aw)if(e.some(i=>i.id===r))return r;return e.filter(r=>r.numeric).at(-1)?.id}function cw(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 Al(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 Og(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}}function lw({value:e}){return u(uw,{tone:Wi(e),children:e})}function uw({tone:e,children:t,pill:r}){return u("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"} ${Cl[e]}`,children:t})}function dw({layout:e,amountKey:t,sortKey:r,sortDir:i,onSort:n,...o}){const a=he(),s=Nl();if(o.rows.length===0)return u("p",{class:"px-4 py-10 text-center text-data text-ink-muted",children:a("doclist.table.no_match")});const c=o.columns.find(f=>Ki(f.id))?.id,l=o.rows.some((f,p)=>!!o.interactionTarget?.(f,p)?.onDoubleActivate),d=(f,p)=>{const m=o.rowId(f,p);return{id:m,row:f,selected:o.selectedId===m,interactionTarget:o.interactionTarget?.(f,p),struck:o.struckId===m,tone:c?Wi(String(f[c]??"")):"neutral"}};return e==="mobile"?u(fw,{...o,shape:d,amountKey:t,clickIntent:s,hasDetailControls:l}):e==="panel"?u(mw,{...o,shape:d,amountKey:t,clickIntent:s,hasDetailControls:l}):u(pw,{...o,shape:d,statusKey:c,sortKey:r,sortDir:i,onSort:n,clickIntent:s,hasDetailControls:l})}function Ul({target:e,touch:t=!1}){const r=e?.onDoubleActivate;return r?u(zo,{expanded:!!e.expanded,label:e.detailLabel??e.label,controls:e.controls,onToggle:r,touch:t}):null}function Cg(e,t){const r=t?e[t]:void 0;return t==="outstanding_amount"&&r===0?null:r}function Rl(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 To(e,t){return["border-r-2",e?"border-r-accent":"border-r-transparent",t&&!e&&"active:border-r-accent-edge"].filter(Boolean).join(" ")}function pw({columns:e,rows:t,shape:r,statusKey:i,sortKey:n,sortDir:o,onSort:a,detail:s,clickIntent:c,hasDetailControls:l}){const d=he();return u("table",{class:"w-full table-fixed border-collapse",children:[u("thead",{children:u("tr",{class:"bg-sunken",children:[e.map((f,p)=>u("th",{scope:"col","aria-sort":n===f.id?o==="desc"?"descending":"ascending":"none",class:["border-b border-line py-[7px] font-normal",p===0?"pl-4 pr-3.5":"px-3.5",f.numeric?"text-right":"text-left"].join(" "),children:u("button",{type:"button",onClick:()=>a(f.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===f.id?"text-accent":"text-ink-faint"}`,children:[f.label,n===f.id&&u("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"?u("path",{d:"M1 4L3.5 1L6 4",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}):u("path",{d:"M1 1L3.5 4L6 1",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})})]})},f.id)),l&&u("th",{scope:"col",class:"w-10 border-b border-line bg-sunken",children:u("span",{class:"sr-only",children:d("doclist.detail.inspector_label")})})]})}),u("tbody",{children:t.map((f,p)=>{const{id:m,row:h,selected:_,interactionTarget:g,tone:$,struck:S}=r(f,p),k=_||!!g?.selected,I=!!g;return u(De,{children:[u("tr",{class:`border-b border-line-soft ${Rl(k,I,S)}`,...an(g,{arbiter:c,key:`doclist-row:${m}`}),role:"row","aria-pressed":void 0,"aria-selected":g?.selected,children:[e.map((x,C)=>{const P=h[x.id],z=C===0,D=C===e.length-1;return u("td",{class:["truncate py-2",z?`border-l-2 ${Ol[$]} pl-[14px] pr-3.5`:"px-3.5",D&&!l&&To(!!g?.selected,I),x.numeric?"text-right font-mono text-cell tabular-nums":z?"font-mono text-data":"text-cell",z&&k?"text-accent-text":k?"text-ink":"text-ink-2"].filter(Boolean).join(" "),children:i===x.id&&typeof P=="string"?u(lw,{value:P}):P==null?u("span",{class:"text-ink-ghost",children:"—"}):z?Al(at(P)):at(P)},x.id)}),l&&u("td",{class:`w-10 p-0 text-center ${To(!!g?.selected,I)}`,children:u(Ul,{target:g})})]}),_&&s&&u("tr",{children:u("td",{class:"p-0",colSpan:e.length+(l?1:0),children:s})})]},m)})})]})}const Ju="grid-cols-[92px_1fr_78px]",ia="font-mono text-nano uppercase tracking-label text-ink-faint";function fw({columns:e,rows:t,shape:r,amountKey:i,detail:n,clickIntent:o,hasDetailControls:a}){const s=he(),{idKey:c,labelKey:l}=Og(e,i,Ki);return u("div",{children:[u("div",{class:"flex border-y border-line bg-sunken",children:[u("div",{class:`grid ${Ju} min-w-0 flex-1 px-3 py-1.5`,children:[u("span",{class:ia,children:s("doclist.table.header.id")}),u("span",{class:ia,children:s("doclist.table.header.party")}),u("span",{class:`${ia} text-right`,children:s("doclist.table.header.due")})]}),a&&u("span",{"aria-hidden":"true",class:"w-10"})]}),u("ul",{children:t.map((d,f)=>{const{id:p,row:m,selected:h,interactionTarget:_,tone:g,struck:$}=r(d,f),S=h||!!_?.selected,k=!!_,I=Cg(m,i);return u("li",{children:[u("div",{class:["flex min-h-10 items-stretch",`border-b border-line-soft border-l-2 ${Ol[g]}`,To(!!_?.selected,k),S?"bg-row-selected":"hover:bg-row-hover"].join(" "),children:[u("div",{class:`grid ${Ju} min-w-0 flex-1 items-center px-3 ${Rl(S,k,$)}`,...an(_,{arbiter:o,key:`doclist-row:${p}`}),children:[u("span",{class:`font-mono text-data ${S?"text-accent-text":"text-ink-2"}`,children:c?Al(at(m[c]),10,1):""}),u("span",{class:"truncate pr-2 text-data text-ink-muted",children:l?at(m[l]):""}),u("span",{class:`text-right font-mono text-data tabular-nums ${I==null?"text-ink-dim":`font-medium ${Eg[g]}`}`,children:I==null?"—":at(I)})]}),a&&u(Ul,{target:_,touch:!0})]}),h&&n]},p)})})]})}function mw({columns:e,rows:t,shape:r,amountKey:i,detail:n,clickIntent:o,hasDetailControls:a}){const{idKey:s,labelKey:c}=Og(e,i,Ki);return u("ul",{class:"flex flex-col",children:t.map((l,d)=>{const{id:f,row:p,selected:m,interactionTarget:h,tone:_,struck:g}=r(l,d),$=m||!!h?.selected,S=!!h,k=Cg(p,i);return u("li",{children:[u("div",{class:["flex min-h-10 items-stretch",`border-b border-line-soft border-l-2 ${Ol[_]}`,To(!!h?.selected,S),$?"bg-row-selected":"hover:bg-row-hover"].join(" "),children:[u("div",{class:`flex min-w-0 flex-1 items-center justify-between gap-2.5 px-3 py-[9px] ${Rl($,S,g)}`,...an(h,{arbiter:o,key:`doclist-row:${f}`}),children:[u("div",{class:"flex min-w-0 flex-col gap-px",children:[u("span",{class:`truncate font-mono text-note ${$?"text-accent-text":"text-ink-2"}`,children:s?Al(at(p[s])):""}),c&&u("span",{class:"truncate text-note text-ink-muted",children:at(p[c])})]}),u("span",{class:`shrink-0 font-mono text-cell tabular-nums ${k==null?"text-ink-ghost":`font-medium ${Eg[_]}`}`,children:k==null?"—":at(k)})]}),a&&u(Ul,{target:h,touch:!0})]}),m&&n]},f)})})}function hw(e,t){return t}function gw(){return null}function vw(e){return{next:null,run:e?.onConfirm??null}}function bw(){const[e,t]=pe(null);return{pending:e,request:r=>t(i=>hw(i,r)),dismiss:()=>t(gw()),confirm:()=>{const{next:r,run:i}=vw(e);t(r),i?.()}}}function _w({confirm:e}){const t=he(),r=e.pending;return r?u(Sg,{eyebrow:r.subject,title:r.title,onClose:e.dismiss,footer:u(Ig,{children:[u(ct,{variant:"quiet",onClick:e.dismiss,children:t("common.back")}),u(ct,{variant:"danger",class:"ml-auto",onClick:e.confirm,children:r.actionLabel})]}),children:u("div",{class:"flex flex-col gap-3",children:[u("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")}),u("p",{class:"font-sans text-body text-ink",children:r.detail})]})}):null}function yw(){return u("svg",{viewBox:"0 0 16 16","aria-hidden":"true",class:"size-3.5",fill:"none",children:u("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 $w({file:e,prepared:t,canDownload:r,downloading:i,documentLabel:n,context:o,onDownload:a,onClose:s}){const c=he(),l=t.preview,[d,f]=pe(null),[p,m]=pe(!1),[h,_]=pe(""),[g,$]=pe(!1),[S,k]=pe(!1),I={uri:l.uri,mimeType:l.mimeType,bytes:l.bytes},x=()=>({id:`attachment:${e.id}:${e.modifiedAt??"current"}`,view:n,label:e.fileName,value:h.trim()||c("document.attachments.context_entire_file"),resource:I}),C=o?.canShareResource(I)??!1,P=C&&!!o?.isSelected(x()),z=async()=>{if(!(!o||!C||g)){$(!0),k(!1);try{await o.activate(x())!=="context"&&k(!0)}catch{k(!0)}finally{$(!1)}}};Pe(()=>{if(l.kind!=="image"&&l.kind!=="pdf"){f(null);return}const R=new Blob([l.bytes.slice()],{type:l.mimeType}),J=URL.createObjectURL(R);return f(J),()=>URL.revokeObjectURL(J)},[l]);const D=l.kind==="image"?d?u("div",{class:"flex min-h-0 flex-1 items-center justify-center overflow-auto bg-sunken p-4",children:u("img",{src:d,alt:e.fileName,class:"max-h-full max-w-full object-contain shadow-card"})}):u(Hu,{}):l.kind==="pdf"?d?u("iframe",{src:`${d}#page=1&pagemode=thumbs&navpanes=1&toolbar=1`,title:c("document.attachments.preview_pdf",{name:e.fileName}),referrerPolicy:"no-referrer",class:"min-h-0 flex-1 border-0 bg-sunken"}):u(Hu,{}):l.kind==="text"?u("div",{class:"scroll-slim min-h-0 flex-1 overflow-auto bg-sunken p-4",children:[u("pre",{class:"m-0 whitespace-pre-wrap break-words font-mono text-chip leading-relaxed text-ink-2",children:l.text??""}),l.textTruncated&&u("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:c("document.attachments.preview_truncated")})]}):u("div",{class:"flex min-h-0 flex-1 flex-col items-center justify-center gap-2 bg-sunken p-6 text-center",children:[u("span",{"aria-hidden":"true",class:"text-title text-ink-faint",children:"◇"}),u("p",{class:"m-0 max-w-md text-data text-ink-muted",children:c("document.attachments.preview_unsupported")}),r&&u("p",{class:"m-0 font-mono text-chip text-ink-faint",children:c("document.attachments.preview_download_fallback")})]});return u(Sg,{size:"preview",bodyClass:"flex-1",eyebrow:`${l.mimeType} · ${kw(l.bytes.length)}`,title:e.fileName,onClose:s,footer:r||C?u(De,{children:[C&&p&&u("div",{class:"border-b border-line-soft px-4 py-3",children:u("label",{class:"flex flex-col gap-1.5",children:[u("span",{class:"font-mono text-chip text-ink-faint",children:c("document.attachments.context_note")}),u("input",{type:"text",maxLength:220,value:h,placeholder:c("document.attachments.context_note_placeholder"),onInput:R=>_(R.currentTarget.value),class:A("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")})]})}),u(Ig,{children:[u("span",{class:"min-w-0 flex-1 font-mono text-nano text-ink-faint",children:S?u("span",{role:"status",class:"text-bad",children:c("document.attachments.context_error")}):e.isPrivate?c("document.attachments.private"):c("document.attachments.public")}),C&&u(De,{children:[u("button",{type:"button","aria-pressed":p,"aria-label":c("document.attachments.context_note"),title:c("document.attachments.context_note"),onClick:()=>m(R=>!R),class:A("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:u("span",{"aria-hidden":"true",children:"✎"})}),u(ct,{variant:P?"quiet":"accent",class:"inline-flex min-h-10 items-center gap-1.5",disabled:g,"aria-pressed":P,onClick:()=>void z(),children:[u("span",{"aria-hidden":"true",children:g?"…":P?"✓":"+"}),c(g?"document.attachments.context_sharing":P&&!p?"document.attachments.context_added":P?"document.attachments.context_update":"document.attachments.context_add")]})]}),r&&u(ct,{variant:"secondary",class:"inline-flex min-h-10 items-center gap-1.5",disabled:i,onClick:a,children:[i?u("span",{"aria-hidden":"true",children:"…"}):u(yw,{}),c("document.attachments.download_short")]})]})]}):void 0,children:D})}function Hu(){const e=he();return u("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 xw=new Set(["image/gif","image/jpeg","image/png","image/webp"]),ww=new Set(["application/json","text/csv","text/markdown","text/plain"]),Sw=new Set(["csv","gif","jpeg","jpg","json","md","pdf","png","txt","webp"]),Iw=256*1024,Ng=5*1024*1024;function Ag(e){return e?.split(";",1)[0].trim().toLowerCase()??""}function zw(e){const t=e.lastIndexOf(".");return t<0||t===e.length-1?!1:Sw.has(e.slice(t+1).toLowerCase())}function Ug(e){const t=Ag(e.resource.mimeType);return Rg(e.resource.blob)>Ng?"unsupported":xw.has(t)?Cw(t,e.resource.blob)?"image":"unsupported":t==="application/pdf"?Dw(e.resource.blob)?"pdf":"unsupported":ww.has(t)?"text":"unsupported"}function Ll(e){Lg(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 Rg(e){Lg(e);const t=e.endsWith("==")?2:e.endsWith("=")?1:0;return e.length/4*3-t}function Tw(e,t=Iw){if(Ug(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=Rg(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=Ll(o),s=i?a.subarray(0,t):a;return{text:Ow(s,i),truncated:i,byteLength:r}}function Pw(e){const t=Ag(e.resource.mimeType)||"application/octet-stream",r=Ll(e.resource.blob);let i=Ug(e),n;if(i==="text")try{n=Tw(e)}catch{i="unsupported"}return{kind:i,uri:e.resource.uri,mimeType:t,bytes:r,...n?{text:n.text,textTruncated:n.truncated}:{}}}function jw(e){return{type:"resource",resource:{uri:e.uri,mimeType:e.mimeType,blob:Ew(e.bytes)}}}function Dw(e){try{return atob(e.slice(0,12)).startsWith("%PDF-")}catch{return!1}}function Lg(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 Ew(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 Ow(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 Cw(e,t){try{const r=Ll(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 Bu(){return u("svg",{viewBox:"0 0 16 16","aria-hidden":"true",class:"size-3.5",fill:"none",children:u("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 Nw(){return u("svg",{viewBox:"0 0 16 16","aria-hidden":"true",class:"size-3.5",fill:"none",children:u("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 Aw(){return u("svg",{viewBox:"0 0 16 16","aria-hidden":"true",class:"size-3.5",fill:"none",children:[u("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"}),u("circle",{cx:"8",cy:"8",r:"1.6",stroke:"currentColor","stroke-width":"1.2"})]})}function Uw(e){return e===null?"—":e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:`${(e/(1024*1024)).toFixed(1)} MB`}function Zg({controller:e,capabilities:t,layout:r,context:i}){const n=he(),o=de(null),a=de(null),[s,c]=pe(!0),[l,d]=pe(null),{state:f,files:p,readProgress:m}=e,h=r!=="wide",_=f.upload!=="idle"&&f.upload!=="error",g=f.previewingFile!==null||f.downloadingFile!==null,$=_||f.load==="loading"||g;Pe(()=>{l&&(l.documentKey!==e.documentKey||!p.some(z=>z.id===l.fileId))&&d(null)},[e.documentKey,p,l]);const S=()=>{$||o.current?.click()},k=z=>{const D=z.currentTarget.files?.[0];z.currentTarget.value="",D&&e.upload(D,s)},I=f.upload==="reading"?m===null?n("document.attachments.reading"):n("document.attachments.reading_progress",{value:Math.round(m*100)}):f.upload==="uploading"?n("document.attachments.uploading"):f.upload==="relisting"?n("document.attachments.relisting"):n("document.attachments.add"),x=async z=>{const D=await e.preview(z);D&&d(D)},C=()=>{d(null),globalThis.requestAnimationFrame(()=>a.current?.focus())},P=l?p.find(z=>z.id===l.fileId)??null:null;return u("section",{"aria-labelledby":"document-attachments-title","aria-busy":_||g||f.load==="loading",class:"min-w-0",children:[u("div",{class:"flex min-h-10 items-center gap-2 border-b border-line-soft px-3.5 py-2",children:[u("h3",{id:"document-attachments-title",class:"m-0 font-mono text-micro uppercase tracking-label text-ink-muted",children:[n("document.attachments"),u("span",{class:"ml-1.5 text-ink-faint",children:p.length})]}),u("div",{class:"flex-1"}),t.canListAttachments&&u("button",{type:"button","aria-label":n("document.attachments.refresh"),title:n("document.attachments.refresh"),disabled:f.load==="loading"||_||g,onClick:()=>void e.refresh(),class:A("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:u("span",{"aria-hidden":"true",class:f.load==="loading"?"animate-spin":"",children:"↻"})})]}),f.error&&u("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:[u("span",{class:"min-w-0 flex-1 break-words",children:f.error.message}),u("button",{type:"button","aria-label":n("document.attachments.dismiss_error"),onClick:e.dismissError,class:A("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:"×"})]}),u("div",{class:A("flex flex-col",h?"px-3 py-2.5":"px-3.5 py-3"),children:[f.load==="loading"&&p.length===0?u("div",{role:"status",class:"py-6 text-center font-mono text-chip text-ink-faint",children:n("document.attachments.loading")}):p.length===0?u("div",{class:"rounded-control border border-dashed border-line px-3 py-5 text-center",children:[u(Bu,{}),u("p",{class:"mt-2 font-mono text-chip text-ink-faint",children:t.canListAttachments?n("document.attachments.empty"):n("document.attachments.unavailable")})]}):u("div",{class:"overflow-hidden rounded-control border border-line-soft",children:p.map(z=>{const D=f.downloadingFile===z.id,R=f.previewingFile===z.id,J=t.canPreviewAttachment&&zw(z.fileName)&&(z.fileSize===null||z.fileSize<=Ng);return u("div",{"aria-busy":R||D,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:[u("span",{class:"shrink-0 text-ink-faint",children:u(Bu,{})}),J?u("button",{type:"button","aria-label":n("document.attachments.preview",{name:z.fileName}),title:n("document.attachments.preview",{name:z.fileName}),disabled:g,onClick:te=>{a.current=te.currentTarget,x(z)},class:A("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:[u(Vu,{file:z}),u("span",{class:A("grid size-6 shrink-0 place-items-center text-ink-faint transition-opacity",!h&&!R&&"opacity-0 group-hover:opacity-100 group-focus-within:opacity-100"),children:R?u("span",{"aria-hidden":"true",children:"…"}):u(Aw,{})})]}):u(Vu,{file:z}),t.canDownloadAttachment&&u("button",{type:"button","aria-label":n("document.attachments.download",{name:z.fileName}),title:n("document.attachments.download",{name:z.fileName}),disabled:g,onClick:()=>void e.download(z),class:A("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&&!D&&"opacity-0 group-hover:opacity-100 group-focus-within:opacity-100"),children:D?u("span",{"aria-hidden":"true",class:"animate-pulse",children:"…"}):u(Nw,{})})]},z.id)})}),t.canUploadAttachment&&u("div",{class:"mt-3 flex flex-wrap items-center gap-2",children:[u("input",{ref:o,class:"sr-only",type:"file",tabIndex:-1,onChange:k}),u("button",{type:"button",disabled:$,onClick:S,class:A("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:[u("span",{"aria-hidden":"true",children:"+"}),I]}),u("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:$,onClick:()=>c(z=>!z),class:A("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")}`})]})]}),u("span",{class:"sr-only",role:"status","aria-live":"polite","aria-atomic":"true",children:f.previewingFile?n("document.attachments.preview_loading_name",{name:p.find(z=>z.id===f.previewingFile)?.fileName??""}):f.downloadingFile?n("document.attachments.download_in_progress"):_?I:""}),l&&P&&u($w,{file:P,prepared:l,canDownload:t.canDownloadAttachment,downloading:f.downloadingFile===P.id,documentLabel:`${e.document.doctype} · ${e.document.name}`,context:i,onDownload:()=>void e.download(P,l),onClose:C})]})}function Vu({file:e}){const t=he();return u("span",{class:"min-w-0 flex-1",children:[u("span",{class:"block truncate text-data text-ink",title:e.fileName,children:e.fileName}),u("span",{class:"mt-0.5 flex items-center gap-1.5 font-mono text-nano text-ink-faint",children:[u("span",{children:Uw(e.fileSize)}),u("span",{"aria-hidden":"true",children:"·"}),u("span",{children:e.isPrivate?t("document.attachments.private"):t("document.attachments.public")})]})]})}function Mg(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 Fg(e,t){return`${e}:${t}`}function qg(e){return{levels:[{ui:{},loading:!1,...e,id:Fg(0,e.title)}],rootIdentity:Zl(e),nextId:1}}function Zl(e){return e.key?`key:${e.key}`:`root:${Rn({title:e.title,kind:e.kind,origin:e.origin??null,tool:e.tool??null})}`}function Rw(e,t){return e.rootIdentity===Zl(t)?e:qg(t)}function Jg(e,t){return{levels:[...e.levels,{ui:{},loading:!1,...t,id:Fg(e.nextId,t.title)}],rootIdentity:e.rootIdentity,nextId:e.nextId+1}}function Lw(e){return e.levels.length<=1?e:{...e,levels:e.levels.slice(0,-1)}}function Po(e,t){return t<0||t>=e.levels.length-1?e:{...e,levels:e.levels.slice(0,t+1)}}function Bt(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 Zw(e,t,r){const i=e.levels.find(n=>n.id===t);return i?Bt(e,t,{ui:{...i.ui,...r}}):e}function sn(e){return e.levels[e.levels.length-1]}function Ml(e){return`${e.name}:${Rn(e.args)}`}function Mw(e,t,r){return`${e}:${Rn(t?{request:{name:t.toolName,args:t.arguments}}:{identity:r??null})}`}function Rn(e){return Array.isArray(e)?`[${e.map(Rn).join(",")}]`:e&&typeof e=="object"?`{${Object.keys(e).sort().map(t=>`${JSON.stringify(t)}:${Rn(e[t])}`).join(",")}}`:JSON.stringify(e)??"null"}function Fw(e,t){return e.levels.findIndex(r=>r.key===t)}function qw(e,t,r){return{...e,levels:e.levels.map(i=>({...i,stale:{at:t,subject:r}}))}}function Jw(e,t,r){const i={...r};return{...e,levels:e.levels.map(n=>({...n,stale:{at:t,subject:r.name,documentChange:i}}))}}function Hg(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 Bw(e){return!!e?.serverTools}function xt(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=>xt(r,t)):e&&typeof e=="object"?Object.fromEntries(Object.entries(e).map(([r,i])=>[r,xt(i,t)])):e}function Gi(e){if(!e.key)return e.label;const t=`doclist.hint.${e.key}`,r=lt(t);return r===t?e.label:r}function Lt(e){return typeof e=="string"?/\{\w+\}/.test(e):Array.isArray(e)?e.some(Lt):e&&typeof e=="object"?Object.values(e).some(Lt):!1}function Ln(e,t,r){if(!e.tool)return null;const i=Object.fromEntries(Object.entries(t).filter(([,o])=>o!=="")),n=xt(e.args??{},i);return Lt(n)?null:{label:Gi(e),kind:e.kind??"list",tool:{name:e.tool,args:n},subtitle:r,message:e.message?xt(e.message,i):void 0}}function Bg(e){return{title:e.label,kind:e.kind,tool:e.tool,subtitle:e.subtitle,loading:!0,jumps:e.children,key:Ml(e.tool)}}function Vw(e){const t=Rt(e);if(e.isError)return{error:t??lt("common.error.tool_failed")};if(!t)return{error:lt("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:lt("common.error.parse_failed")}}}async function Fl(e,t,r=1e4){try{const i=await e.callServerTool({name:t.name,arguments:t.args},{timeout:r});return Vw(i)}catch(i){return{error:i instanceof Error?i.message:lt("common.error.tool_failed")}}}function Kw(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 Vg(e,t){const r=Kw(t),i={...r,...e};return r.item&&(i.item=r.item),i}function Kg(e,t){return t.item?`${e} · ${t.item}`:e}function Wg({hints:e,rootVars:t,row:r,availableTools:i,subtitle:n}){if(!i)return[];const o=Vg(t,r);return e.flatMap(a=>{if(!a.tool||!i.includes(a.tool))return[];if(Ln(a,t,n))return[];const s=Ln(a,o,n);return s?[{...s,label:Kg(s.label,o)}]:[]})}function Gg({hints:e,rootVars:t,row:r}){const i=Vg(t,r);return e.flatMap(n=>{if(!n.message)return[];const o=xt(n.message,t);if(!Lt(o))return[];const a=xt(n.message,i);return Lt(a)?[]:[{label:Kg(Gi(n),i),message:a}]})}function uo(e,t){return e===null||e===""?t("document.empty_value"):typeof e=="boolean"?t(e?"document.boolean.true":"document.boolean.false"):typeof e=="number"?wt(e,Number.isInteger(e)?0:2):e}function Yg({field:e,class:t}){const r=he();if(e.kind==="status"&&e.value!==null){const i=String(e.value);return u("span",{class:A("inline-flex rounded-badge px-[7px] py-0.5 font-mono text-micro uppercase tracking-chip",Cl[Wi(i)],t),children:i})}return u("span",{class:A(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:uo(e.value,r)})}function Ku({fields:e,layout:t}){return u("dl",{class:A("grid gap-x-7",t==="wide"?"grid-cols-2 gap-y-2":"grid-cols-1 gap-y-1"),children:e.map(r=>u("div",{class:A("flex min-w-0 items-baseline justify-between gap-2.5",t!=="wide"&&"min-h-6"),children:[u("dt",{class:"shrink-0 font-mono text-chip text-ink-faint",children:r.label}),u("dd",{class:"min-w-0 truncate text-right text-note text-ink-2",children:u(Yg,{field:r})})]},r.key))})}function Xr({label:e,aside:t,children:r,first:i}){return u("section",{class:A("flex flex-col gap-2 px-4 py-3.5",!i&&"border-t border-line-soft"),children:[(e||t)&&u("div",{class:"flex items-baseline justify-between gap-3",children:[e?u(ut,{children:e}):u("span",{}),t]}),r]})}function Ww({fields:e,longFields:t=[],progressFields:r=[],collections:i=[],systemFields:n=[],layout:o,heading:a,class:s}){const c=he(),l=a===void 0?c("document.fields"):a;if(!(e.length>0||t.length>0||r.length>0||i.length>0||n.length>0))return null;let f=!0;const p=()=>{const m=f;return f=!1,m};return u("div",{class:A("flex flex-col",s),children:[e.length>0&&u(Xr,{label:l,first:p(),children:u(Ku,{fields:e,layout:o})}),t.map(m=>u(Xr,{label:m.label,first:p(),children:m.kind==="json"?u("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:uo(m.value,c)}):u("p",{class:"whitespace-pre-wrap break-words text-cell leading-[1.55] text-ink-2",children:uo(m.value,c)})},m.key)),r.map(m=>{const h=No(m.value)??0;return u(Xr,{label:m.label,first:p(),aside:u("span",{class:"font-mono text-meta tabular-nums text-ink-muted",children:c("document.progress_value",{value:wt(h,0)})}),children:u(U$,{value:h})},m.key)}),i.map(m=>u(Xr,{label:m.label,first:p(),children:m.values.length===0?u("span",{class:"font-mono text-chip text-ink-dim",children:c("document.empty_value")}):u("div",{class:"flex flex-wrap gap-1.5",children:m.values.map((h,_)=>u("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:uo(h,c)},`${m.key}-${_}`))})},m.key)),n.length>0&&u("details",{class:A("group border-t border-line-soft px-4 py-3",f&&"border-t-0"),children:[u("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:[u("span",{children:c("document.system_fields")}),u(Tl,{narrow:!0,children:n.length})]}),u("div",{class:"pt-3",children:u(Ku,{fields:n,layout:o})})]})]})}function Xg(e,t){return e==null||e===""?t("document.empty_value"):typeof e=="boolean"?t(e?"document.boolean.true":"document.boolean.false"):typeof e=="number"?wt(e,Number.isInteger(e)?0:2):e}function Wu(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 Gw(e,t,r){return t.map(i=>u("span",{class:A("min-w-0 truncate text-cell text-ink-2",i.numeric&&"text-right font-mono tabular-nums"),title:String(e[i.key]??""),children:Xg(e[i.key],r)},i.key))}function Yw({fields:e,layout:t}){return e.length===0?null:u("dl",{class:A("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=>u("div",{class:"flex min-w-0 flex-col gap-1",children:[u("dt",{class:"font-mono text-nano uppercase tracking-label text-ink-faint",children:r.label}),u("dd",{class:"min-w-0 truncate text-data text-ink-2",children:u(Yg,{field:r})})]},r.key))})}function po(e){return e!=null&&e!==!1}function Gu({id:e,expanded:t,fields:r,actions:i,layout:n,panel:o}){return u("div",{id:e,hidden:!t,children:[r.length>0&&u(Yw,{fields:r,layout:n}),po(i)&&u("div",{class:A("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:c,onDisclosureChange:l}){const d=he(),f=Nl(),p=jg(e,t),m=`${r}-${e.key.replace(/[^a-zA-Z0-9_-]/g,"-")}`,h=t==="panel",_=s||o==="disclosure"&&!!n;function g($,S){const k=s?$x(e,S,t):[],I=n?.(e,$,S),x=o==="disclosure"?I:void 0,C=o==="visible"?I:void 0,P=k.length>0||po(x),z=P&&c?.tableKey===e.key&&c.rowIndex===S,D=`${m}-row-${S}-details`,R=a?.(e,$,S),J=String($[p[0]?.key??""]??`${e.label} ${S+1}`),te=R?.detailLabel??J,X=()=>l(z?null:{tableKey:e.key,rowIndex:S}),le=P?{...R??{onActivate:()=>{}},label:d(R?.selected!==void 0?z?"document.row.close_detail":"document.row.open_detail":z?"document.row.close_detail_only":"document.row.open_detail_only",{label:te}),detailLabel:te,expanded:z,controls:D,onDoubleActivate:X}:R;return{hidden:k,rowActions:x,visibleActions:C,canDisclose:P,expanded:z,rowPanelId:D,interactionTarget:le,detailLabel:te,toggle:X}}return u("section",{"aria-label":e.label,class:A("flex min-w-0 flex-col",i),children:[u("div",{class:"flex items-baseline justify-between gap-3 px-4 pb-2 pt-3.5",children:[u(ut,{children:e.label}),u(Tl,{narrow:!0,children:e.rows.length})]}),p.length===0?u("p",{class:"px-4 pb-3.5 font-mono text-chip text-ink-faint",children:d("document.table.no_columns")}):h?u("div",{class:"flex flex-col border-t border-line-soft",children:e.rows.map(($,S)=>{const k=g($,S),I=!!(k.interactionTarget?.selected||k.expanded),x=u("span",{class:"flex flex-col gap-1.5 px-3.5 py-2.5",children:p.map(C=>u("span",{class:"flex min-w-0 items-baseline justify-between gap-3",children:[u("span",{class:"shrink-0 font-mono text-chip text-ink-faint",children:C.label}),u("span",{class:A("min-w-0 truncate text-right text-data text-ink-2",C.numeric&&"font-mono tabular-nums"),children:Xg($[C.key],d)})]},C.key))});return u("div",{children:[u("div",{class:A("flex min-w-0 items-stretch border-b border-r-2 border-line-soft transition-colors",I?"border-r-accent bg-row-selected":"border-r-transparent hover:bg-row-hover"),children:[u("div",{...an(k.interactionTarget,{arbiter:f,key:k.rowPanelId}),class:A("min-w-0 flex-1",k.interactionTarget&&"cursor-pointer focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-accent"),children:x}),k.canDisclose&&u(zo,{expanded:k.expanded,label:k.detailLabel,controls:k.rowPanelId,onToggle:k.toggle,touch:!0})]}),po(k.visibleActions)&&u("div",{class:"flex flex-wrap justify-end gap-1.5 border-b border-line-soft bg-sunken px-3.5 py-1.5",children:k.visibleActions}),k.canDisclose&&u(Gu,{id:k.rowPanelId,expanded:k.expanded,fields:k.hidden,actions:k.rowActions,layout:t,panel:!0})]},S)})}):u("div",{class:"min-w-0 border-t border-line-soft",children:[u("div",{role:"row",class:"flex border-b border-line bg-sunken",children:[u("div",{class:A("grid min-w-0 flex-1 gap-3 px-4 py-1.5",Wu(t,p.length)),children:p.map($=>u("span",{role:"columnheader",class:A("truncate font-mono text-nano uppercase tracking-label text-ink-faint",$.numeric&&"text-right"),children:$.label},$.key))}),_&&u("span",{"aria-hidden":"true",class:"w-10"})]}),e.rows.map(($,S)=>{const k=g($,S),I=!!(k.interactionTarget?.selected||k.expanded),x=A("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",Wu(t,p.length));return u("div",{children:[u("div",{class:A("flex min-w-0 items-stretch border-b border-r-2 border-line-soft transition-colors",I?"border-r-accent bg-row-selected":"border-r-transparent hover:bg-row-hover"),children:[u("div",{...an(k.interactionTarget,{arbiter:f,key:k.rowPanelId}),class:A(x,"min-w-0 flex-1",k.interactionTarget&&"cursor-pointer focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-accent"),children:Gw($,p,d)}),k.canDisclose&&u(zo,{expanded:k.expanded,label:k.detailLabel,controls:k.rowPanelId,onToggle:k.toggle,touch:t==="mobile"})]}),po(k.visibleActions)&&u("div",{class:"flex flex-wrap justify-end gap-1.5 border-b border-line-soft bg-sunken px-4 py-1.5",children:k.visibleActions}),k.canDisclose&&u(Gu,{id:k.rowPanelId,expanded:k.expanded,fields:k.hidden,actions:k.rowActions,layout:t,panel:!1})]},S)})]}),e.total&&u(wg,{label:e.total.label,layout:t,children:wt(e.total.value,2)})]})}function Yu({status:e,pill:t}){return u("span",{class:A("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",Cl[Wi(e)]),children:e})}function Xu({target:e,class:t}){return e?u("button",{type:"button",...an(e),class:A("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 Xw({doctype:e,name:t,title:r,status:i,docstatus:n,layout:o,navigation:a,trailing:s,live:c,contextTarget:l}){const d=he();return o!=="wide"?u("header",{"aria-label":d("document.header"),class:"shrink-0",children:[u("div",{class:"flex min-h-10 items-center justify-between gap-2.5 px-3 py-2",children:[u("div",{class:"min-w-0 flex-1",children:a}),u(ut,{class:"max-w-[45%] truncate text-center",children:e}),u("div",{class:"flex min-w-0 flex-1 items-center justify-end gap-1.5",children:[s,c&&u("span",{"aria-hidden":"true",class:"size-1.5 rounded-full bg-ok"})]})]}),u("div",{class:A("relative border-b border-line transition-colors",l?.selected&&"bg-row-selected"),children:[u(Xu,{target:l}),u("div",{class:"pointer-events-none relative z-[1] flex flex-col gap-1.5 px-3 pb-3 pt-1",children:[u("span",{class:"truncate font-mono text-nano uppercase tracking-label text-ink-faint",children:t}),u("h2",{class:"text-pretty font-display text-card-title font-semibold text-ink",children:r}),(i||n!==void 0)&&u("div",{class:"flex flex-wrap items-center gap-[7px]",children:[i&&u(Yu,{status:i,pill:!0}),n!==void 0&&u("span",{class:"font-mono text-chip text-ink-faint",children:d("document.docstatus",{value:n})})]})]})]})]}):u("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:[u("div",{class:"flex min-w-0 items-start gap-3",children:[a&&u("div",{class:"shrink-0 pt-0.5",children:a}),u("div",{class:A("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:[u(Xu,{target:l,class:"rounded-[4px]"}),u("div",{class:"pointer-events-none relative z-[1] flex min-w-0 flex-col gap-1",children:[u("span",{class:"truncate font-mono text-micro uppercase tracking-label text-ink-faint",children:[e," · ",t]}),u("h2",{class:"truncate font-display text-title font-semibold tracking-title text-ink",children:r}),(i||n!==void 0||c)&&u("div",{class:"flex flex-wrap items-center gap-[7px]",children:[i&&u(Yu,{status:i}),n!==void 0&&u("span",{class:"font-mono text-chip text-ink-faint",children:d("document.docstatus",{value:n})}),c&&u(xg,{})]})]})]})]}),s&&u("div",{class:"flex shrink-0 items-center gap-1.5",children:s})]})}function Qw({tabs:e,activeId:t,onChange:r,layout:i,idPrefix:n="document"}){const o=he();function a(s,c){if(!["ArrowLeft","ArrowRight","Home","End"].includes(s.key))return;s.preventDefault();const l=e.map((p,m)=>({tab:p,tabIndex:m})).filter(({tab:p})=>!p.disabled);if(l.length===0)return;const d=l.findIndex(({tabIndex:p})=>p===c),f=s.key==="Home"?l[0]:s.key==="End"?l[l.length-1]:l[(d+(s.key==="ArrowRight"?1:-1)+l.length)%l.length];r(f.tab.id),document.getElementById(`${n}-tab-${f.tab.id}`)?.focus()}return u("div",{role:"tablist","aria-label":o("document.sections"),class:A("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,c)=>{const l=s.id===t;return u("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,c),class:A("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&&u("span",{class:"ml-1.5 text-ink-faint",children:s.count})]},s.id)})})}function sa(e){return e.replace(/[^a-zA-Z0-9_-]/g,"-")}function wn(e){return e!=null&&e!==!1}function ca({model:e,layout:t}){return u(Ww,{fields:e.fields,longFields:e.longFields,progressFields:e.progressFields,collections:e.collections,systemFields:e.systemFields,layout:t})}function la({children:e,class:t}){return u("section",{class:A("min-w-0 border-t border-line",t),children:e})}function Qg({model:e,layout:t,navigation:r,headerActions:i,attachments:n,actions:o,footer:a,live:s,class:c,idPrefix:l,activeSectionId:d,onActiveSectionChange:f,scrollMode:p="contained",renderChildRowActions:m,childRowActionsPlacement:h="disclosure",contextTarget:_,renderChildRowContextTarget:g,childRowsExpandable:$=!0}){const S=he(),k=`document-${sa(e.envelope.doctype)}-${sa(e.envelope.name)}`,I=l??k,x=`${e.envelope.doctype}:${e.envelope.name}`,[C,P]=pe({documentKey:x,sectionId:"fields"}),[z,D]=pe({documentKey:x,row:null}),R=C.documentKey===x?C.sectionId:"fields",J=wn(n),te=wn(o),X=J||te,le=e.fields.length>0||e.longFields.length>0||e.progressFields.length>0||e.collections.length>0||e.systemFields.length>0,Y=e.childTables.map((ve,ze)=>({id:`table-${sa(ve.key)}-${ze}`,table:ve})),U=[...le?[{id:"fields",label:S("document.fields")}]:[],...Y.map(({id:ve,table:ze})=>({id:ve,label:ze.label,count:ze.rows.length})),...J?[{id:"attachments",label:S("document.attachments")}]:[]],M=d??R,F=U.some(ve=>ve.id===M)?M:U[0]?.id??"fields",B=p==="contained",Z=z.documentKey===x?z.row:null,V=A("flex flex-col bg-surface",B&&"min-h-0 flex-1",c);function T(ve){d===void 0&&P({documentKey:x,sectionId:ve}),D({documentKey:x,row:null}),f?.(ve)}function O(ve){D({documentKey:x,row:ve})}const H=u(Xw,{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:_});if(t==="wide")return u("article",{"aria-label":S("document.surface",{name:e.envelope.name}),class:V,children:[H,u("div",{class:A("grid",B&&"min-h-0 flex-1",X?"grid-cols-[minmax(0,1fr)_268px]":"grid-cols-1"),children:[u("main",{class:A("min-w-0",B&&"scroll-slim overflow-y-auto",X&&"border-r border-line"),children:[le&&u(ca,{model:e,layout:t}),Y.map(({id:ve,table:ze})=>u(aa,{table:ze,layout:t,idPrefix:I,class:"border-t border-line-soft",renderRowActions:m,rowActionsPlacement:h,renderRowContextTarget:g,childRowsExpandable:$,activeDisclosure:Z,onDisclosureChange:O},ve))]}),X&&u("aside",{"aria-label":S("document.sidebar"),class:A("min-w-0 bg-sunken",B&&"scroll-slim overflow-y-auto"),children:[J&&u("div",{children:n}),te&&u(la,{class:"p-3.5",children:o})]})]}),wn(a)&&u("footer",{class:"shrink-0 border-t border-line",children:a})]});if(t==="panel")return u("article",{"aria-label":S("document.surface",{name:e.envelope.name}),class:V,children:[H,u("main",{class:A(B&&"scroll-slim min-h-0 flex-1 overflow-y-auto"),children:[le&&u(ca,{model:e,layout:t}),Y.map(({id:ve,table:ze})=>u(aa,{table:ze,layout:t,idPrefix:I,class:"border-t border-line",renderRowActions:m,rowActionsPlacement:h,renderRowContextTarget:g,childRowsExpandable:$,activeDisclosure:Z,onDisclosureChange:O},ve)),J&&u(la,{children:n}),te&&u(la,{class:"p-3.5",children:o})]}),wn(a)&&u("footer",{class:"shrink-0 border-t border-line",children:a})]});const q=Y.find(({id:ve})=>ve===F);return u("article",{"aria-label":S("document.surface",{name:e.envelope.name}),class:V,children:[H,U.length>0&&u(Qw,{tabs:U,activeId:F,onChange:T,layout:t,idPrefix:I}),u("main",{class:A(B&&"scroll-slim min-h-0 flex-1 overflow-y-auto"),children:[F==="fields"&&le&&u("div",{id:`${I}-panel-fields`,role:"tabpanel","aria-labelledby":`${I}-tab-fields`,children:u(ca,{model:e,layout:t})}),q&&u("div",{id:`${I}-panel-${q.id}`,role:"tabpanel","aria-labelledby":`${I}-tab-${q.id}`,children:u(aa,{table:q.table,layout:t,idPrefix:I,renderRowActions:m,rowActionsPlacement:h,renderRowContextTarget:g,childRowsExpandable:$,activeDisclosure:Z,onDisclosureChange:O})}),F==="attachments"&&J&&u("div",{id:`${I}-panel-attachments`,role:"tabpanel","aria-labelledby":`${I}-tab-attachments`,children:n})]}),te&&u("div",{class:"shrink-0 border-t border-line p-3",children:o}),wn(a)&&u("footer",{class:"shrink-0 border-t border-line",children:a})]})}function ev(e){return{documentKey:e,revision:0,nextRequest:1,load:"idle",upload:"idle",previewingFile:null,downloadingFile:null,error:null}}function Qr(e,t){return e.documentKey===t?e:{...ev(t),revision:e.revision+1,nextRequest:e.nextRequest}}function Qu(e){return{state:{...e,nextRequest:e.nextRequest+1},token:{documentKey:e.documentKey,revision:e.revision,request:e.nextRequest}}}function e2(e){return{...e,revision:e.revision+1}}function Jt(e,t){return e.documentKey===t.documentKey&&e.revision===t.revision&&e.nextRequest===t.request+1}function t2(e){return e.load!=="loading"&&(e.upload==="idle"||e.upload==="error")}function n2(e){return{...e,load:e.load==="loading"?"idle":e.load,upload:"error"}}function Vt(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)?e:null}function ft(e){return typeof e=="string"&&e.trim()?e:void 0}function r2(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 o2(e){const t=Vt(e);if(!t||t.isError===!0)throw new Error("attachment list failed");const r=Rt(t);if(!r)throw new Error("attachment list is empty");const i=Vt(JSON.parse(r));if(!i||!Array.isArray(i.data))throw new Error("attachment list is malformed");return i.data.map((n,o)=>{const a=Vt(n),s=ft(a?.name),c=ft(a?.file_name);if(!a||!s||!c)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:c,fileSize:d,isPrivate:a.is_private===!0||a.is_private===1,attachedToField:ft(a.attached_to_field),createdAt:ft(a.creation),modifiedAt:ft(a.modified),owner:ft(a.owner)}})}function i2(e){const t=Vt(e);if(!t||t.isError===!0)throw new Error("attachment download failed");const i=(Array.isArray(t.content)?t.content:[]).flatMap(n=>{const o=Vt(n),a=Vt(o?.resource);if(o?.type!=="resource"||!a)return[];const s=ft(a.uri),c=ft(a.blob);if(!s||!c||!r2(c))return[];const l=ft(a.mimeType);return[{type:"resource",resource:{uri:s,...l?{mimeType:l}:{},blob:c}}]});if(i.length!==1)throw new Error("attachment download did not return one inline resource");return i[0]}const eo=3e4,ed=10*1024*1024;function a2(e){return`${e.doctype}\0${e.name}`}function td(e,t){if(e&&typeof e=="object"){const r=Rt(e);if(r&&!r.trim().startsWith("{"))return r}return t}function s2(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 tv({app:e,envelope:t,capabilities:r,fixtureFiles:i,onDocumentChanged:n}){const o=he(),{doctype:a,name:s}=t,c=a2(t),l=de(c),d=de(ev(c)),[f,p]=pe(d.current),[m,h]=pe(i??[]),[_,g]=pe(null),$=de(!1),S=de(0),k=de(null),I=de(null);l.current!==c&&(l.current=c,S.current+=1,d.current=Qr(d.current,c),$.current=!1,k.current=null,I.current?.abort(),I.current=null);const x=ae(U=>{const M=U(d.current);return d.current=M,p(M),M},[]),C=ae(async(U="refresh")=>{if(!r.canListAttachments)return!1;const M=Qr(d.current,c),F=Qu(M),B=F.token;x(()=>({...F.state,load:"loading",upload:U==="after-upload"?"relisting":F.state.upload}));try{const Z=await e.callServerTool({name:"erpnext_file_list",arguments:{attached_to_doctype:a,attached_to_name:s,limit:50}},{timeout:eo});if(l.current!==c||!Jt(d.current,B))return!1;const V=o2(Z);return h(V),x(T=>({...T,load:"ready",upload:U==="after-upload"?"idle":T.upload,error:T.error?.operation==="list"||U==="after-upload"&&T.error?.operation==="upload"?null:T.error})),!0}catch{return l.current!==c||!Jt(d.current,B)||x(Z=>({...Z,load:"error",upload:U==="after-upload"?"error":Z.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,x,a,c,s,o]),P=ae(async(U,M)=>{if(!r.canUploadAttachment||$.current||!t2(d.current))return!1;if(U.size>ed)return x(V=>({...V,upload:"error",error:{operation:"upload",fileName:U.name,message:o("document.attachments.error.too_large",{limit:Math.round(ed/1024/1024)})}})),!1;$.current=!0;const F=Qr(d.current,c),B=Qu(F),Z=B.token;x(()=>({...B.state,upload:"reading",error:null})),g(0);try{const V=await s2(U,O=>{l.current===c&&Jt(d.current,Z)&&g(O)},O=>{I.current=O});if(l.current!==c||!Jt(d.current,Z))return!1;x(O=>({...O,upload:"uploading"})),g(null);const T=await e.callServerTool({name:"erpnext_file_upload",arguments:{file_name:U.name,content_base64:V,attached_to_doctype:a,attached_to_name:s,is_private:M}},{timeout:eo});if(l.current!==c||!Jt(d.current,Z))return!1;if(T.isError)throw new Error(td(T,o("document.attachments.error.upload")));return x(O=>({...e2(O),upload:"relisting"})),n?.({doctype:a,name:s,mutation:"attachment.added",committedAt:new Date().toISOString(),source:"document.attachments"}),await C("after-upload")}catch(V){return l.current!==c||!Jt(d.current,Z)||x(T=>({...n2(T),error:{operation:"upload",fileName:U.name,message:V instanceof Error&&V.message?V.message:o("document.attachments.error.upload")}})),!1}finally{l.current===c&&($.current=!1,g(null))}},[e,r.canUploadAttachment,x,a,c,C,s,n,o]),z=ae((U,M)=>{if(k.current!==null)return null;const F={token:Symbol(`${M}:${U.id}`),generation:S.current,documentKey:c,fileId:U.id,purpose:M};return k.current=F,x(B=>({...B,previewingFile:M==="preview"?U.id:null,downloadingFile:M==="download"?U.id:null,error:null})),F},[x,c]),D=ae(U=>{const M=k.current;return l.current===U.documentKey&&S.current===U.generation&&M?.token===U.token},[]),R=ae(U=>{D(U)&&(k.current=null,x(M=>({...M,previewingFile:null,downloadingFile:null})))},[x,D]),J=ae(async(U,M)=>{const F=await e.callServerTool({name:"erpnext_file_download",arguments:{file_id:U.id,attached_to_doctype:a,attached_to_name:s}},{timeout:eo});if(!D(M))return null;if(F.isError)throw new Error(td(F,o(M.purpose==="preview"?"document.attachments.error.preview":"document.attachments.error.download")));const B=i2(F);return D(M)?B:null},[e,a,s,o,D]),te=ae((U,M,F)=>{D(U)&&x(B=>({...B,error:{operation:U.purpose,fileName:M.fileName,message:F instanceof Error&&F.message?F.message:o(U.purpose==="preview"?"document.attachments.error.preview":"document.attachments.error.download")}}))},[x,o,D]),X=ae(async U=>{if(!r.canPreviewAttachment)return null;const M=z(U,"preview");if(!M)return null;try{const F=await J(U,M);if(!F||!D(M))return null;const B=Pw(F);return D(M)?{documentKey:c,fileId:U.id,fileName:U.fileName,preview:B}:null}catch(F){return te(M,U,F),null}finally{R(M)}},[z,r.canPreviewAttachment,J,R,c,te,D]),le=ae(async(U,M)=>{if(!r.canDownloadAttachment)return!1;const F=z(U,"download");if(!F)return!1;try{const Z=(M?.documentKey===c&&M.fileId===U.id?jw(M.preview):null)??await J(U,F);if(!Z||!D(F))return!1;const V=await e.downloadFile({contents:[Z]},{timeout:eo});if(!D(F))return!1;if(V.isError)throw new Error(o("document.attachments.error.host_denied"));return!0}catch(B){return te(F,U,B),!1}finally{R(F)}},[e,z,r.canDownloadAttachment,J,R,c,te,o,D]);Fn(()=>{I.current?.abort(),I.current=null,$.current=!1,k.current=null;const U=Qr(d.current,c);return d.current=U,p(U),h(i??[]),g(null),!i&&r.canListAttachments&&C(),()=>{S.current+=1,k.current=null,I.current?.abort()}},[c,i,r.canListAttachments,C]);const Y=ae(()=>{x(U=>({...U,error:null,upload:U.upload==="error"?"idle":U.upload}))},[x]);return{documentKey:c,document:{doctype:a,name:s},state:f,files:f.documentKey===c?m:[],readProgress:_,refresh:C,upload:P,preview:X,download:le,dismissError:Y}}function nv({jumps:e,asks:t,onJump:r,onAsk:i,narrow:n}){return u("div",{class:"flex flex-col gap-2",children:[e.map(o=>u("button",{type:"button",disabled:!r,onClick:()=>r?.(o),class:A("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:[u("span",{class:"truncate",children:o.label}),u("span",{"aria-hidden":"true",class:A("shrink-0 text-[13px] text-accent",!n&&"opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100"),children:"›"})]},o.label)),t.length>0&&u("div",{class:"flex flex-col gap-[9px] pt-1",children:t.map(o=>u("button",{type:"button",disabled:!i,onClick:()=>i?.(o.message),class:A("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:[u("span",{class:"border-b border-dotted border-ink-faint transition-colors hover:border-ink-muted hover:text-ink",children:o.label}),u("span",{"aria-hidden":"true",class:"text-ink-faint",children:"~"})]},o.label))})]})}function c2(e,t){if(!e)return null;const r=Un(e);if(r)return r;const i=typeof e.name=="string"?e.name.trim():"";return!t?.trim()||!i?null:Un({data:{...e,doctype:t.trim(),name:i}})}function l2({app:e,envelope:t,data:r,doctype:i,loading:n,fixture:o,layout:a,embedded:s,onClose:c,onJump:l,onAsk:d,onAction:f,onDocumentChanged:p,context:m,contextView:h,contextKey:_}){const g=a!=="wide";if(n)return s?u("div",{role:"status",class:"flex h-[144px] flex-col gap-3.5 border-y border-accent/45 bg-surface p-4",children:[u(st,{class:"h-[15px] w-3/4"}),u(st,{class:"h-[15px] w-1/3"}),Array.from({length:3},(S,k)=>u(st,{class:"h-3"},k))]}):u(d2,{narrow:g,onClose:c,children:u("div",{class:"flex flex-col gap-3.5 p-3.5",children:[u(st,{class:"h-[15px] w-3/4"}),u(st,{class:"h-[15px] w-1/3"}),Array.from({length:5},(S,k)=>u(st,{class:"h-3"},k))]})});const $=t??c2(r,i);return $?u(u2,{app:e,envelope:$,fixture:o,outerLayout:a??"panel",embedded:s,onClose:c,onJump:l,onAsk:d,onAction:f,onDocumentChanged:p,context:m,contextView:h,contextKey:_},`${$.doctype}\0${$.name}`):null}function u2({app:e,envelope:t,fixture:r,outerLayout:i,embedded:n,onClose:o,onJump:a,onAsk:s,onAction:c,onDocumentChanged:l,context:d,contextView:f,contextKey:p}){const m=he(),h=bw(),[_,g]=pe(null),[$,S]=pe(null),[k,I]=pe(!0),x=n?i:i==="mobile"?"mobile":"panel",C=!n&&i!=="wide",P=El(t),z=Mg(e.getHostCapabilities(),t.availableTools,t.refreshRequest),D=tv({app:e,envelope:t,capabilities:z,onDocumentChanged:l}),R={id:t.name,name:t.name,doctype:t.doctype},J=t.sendMessageHints??[],te=t.availableTools,X=Pl(P,f??t.doctype,p),le=lx(t),Y=d?.supported?d.reconcileDocument:void 0;Pe(()=>{if(!Y)return;const ne=[X,...P.childTables.flatMap(Ce=>Ce.rows.flatMap((He,Ne)=>{const rt=So(t,Ce,He,Ne,le);return rt?[rt]:[]}))];Y(X.id,ne)},[le,p,f,t,Y]);const U=ne=>!!(a&&e.getHostCapabilities()?.serverTools&&te&&te.includes(ne)),M=ne=>!ne.tool||!U(ne.tool)?null:Ln(ne,R,m("nav.linked_to",{id:t.name})),F=J.map(M).filter(ne=>ne!==null),B=s?J.flatMap(ne=>{if(!ne.message||M(ne))return[];const Ce=xt(ne.message,R);return Lt(Ce)?[]:[{label:Gi(ne),message:Ce}]}):[];s&&B.length===0&&F.length===0&&B.push({label:m("doclist.detail.full_detail"),message:m("doclist.detail.full_detail_message",{doctype:t.doctype,id:t.name})});const Z=P.status==="Draft"||P.docstatus===0,V=P.docstatus===1,T=Z&&(r||z.canSubmit),O=V&&(r||z.canCancel);async function H(ne,Ce,He,Ne){if(r||!(ne==="submit"?z.canSubmit:ne==="cancel"?z.canCancel:!1))return;g(ne),S(null);const Me=await c(Ce,He);I(Me),S(Me?Ne:m("doclist.detail.action_failed")),g(null)}const ve=F.length>0||B.length>0||T||O||$!==null?u("div",{class:"flex flex-col gap-2",children:[F.length>0&&u(ut,{children:m("nav.goto")}),(F.length>0||B.length>0)&&u(nv,{narrow:!0,jumps:F,asks:B,onJump:a,onAsk:s}),$&&u("p",{class:`font-mono text-chip ${k?"text-ok":"text-bad"}`,children:$}),T&&u(ct,{variant:"secondary",disabled:_==="submit"||r,title:m(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:m("doclist.confirm.submit"),detail:m("doclist.confirm.submit.detail"),actionLabel:m("doclist.confirm.submit.action"),onConfirm:()=>void H("submit","erpnext_doc_submit",{doctype:t.doctype,name:t.name},m("doclist.detail.action.submit_ok"))}),children:_==="submit"?"…":m("common.submit")}),O&&u(ct,{variant:"danger",disabled:_==="cancel"||r,title:m(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:m("doclist.confirm.cancel"),detail:m("doclist.confirm.cancel.detail"),actionLabel:m("doclist.confirm.cancel.action"),onConfirm:()=>void H("cancel","erpnext_doc_cancel",{doctype:t.doctype,name:t.name},m("doclist.detail.action.cancel_ok"))}),children:_==="cancel"?"…":m("doclist.detail.action.cancel_label")})]}):void 0,ze=C?u("button",{type:"button",onClick:o,"aria-label":m("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:m("doclist.detail.back_list_label")}):void 0,N=C?void 0:u("button",{type:"button",onClick:o,"aria-label":m("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 Q(ne,Ce,He){const Ne=So(t,ne,Ce,He,le),rt=a&&e.getHostCapabilities()?.serverTools?Wg({hints:J,rootVars:R,row:Ce,availableTools:te,subtitle:m("nav.linked_to",{id:Ne?.label??t.name})}):[],Me=s?Gg({hints:J,rootVars:R,row:Ce}).filter(gv=>!rt.some(vv=>vv.label===gv.label)):[];return{item:Ne,rowJumps:rt,rowAsks:Me}}const ee=n?(ne,Ce,He)=>{const{rowJumps:Ne,rowAsks:rt}=Q(ne,Ce,He);if(!(Ne.length===0&&rt.length===0))return u(De,{children:[Ne.map(Me=>u(ct,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>a?.(Me),children:[Me.label,u("span",{"aria-hidden":"true",children:"›"})]},`${Me.tool.name}:${Me.label}`)),rt.map(Me=>u(ct,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>s?.(Me.message),children:[Me.label,u("span",{"aria-hidden":"true",children:"~"})]},`ask:${Me.label}`))]})}:void 0,fe=d?.supported?{label:m("context.active.select",{label:X.label}),selected:d.isSelected(X),onActivate:()=>void d.activate(X)}:void 0,Se=n?(ne,Ce,He)=>{const{item:Ne}=Q(ne,Ce,He);return Ne&&d?.supported?{label:m("context.active.select",{label:Ne.label}),detailLabel:Ne.label,selected:d.isSelected(Ne),onActivate:()=>d.activateReversible(Ne)}:void 0}:void 0;return u(De,{children:[u(Qg,{model:P,layout:x,navigation:ze,headerActions:N,attachments:z.canListAttachments?u(Zg,{controller:D,capabilities:z,layout:x,context:d}):void 0,actions:ve,scrollMode:n?"flow":"contained",renderChildRowActions:ee,childRowActionsPlacement:n?"visible":"disclosure",contextTarget:fe,renderChildRowContextTarget:Se,childRowsExpandable:!n,class:n?"border-y border-accent/45":"h-full"}),u(_w,{confirm:h})]})}function d2({children:e,narrow:t,onClose:r}){const i=he();return u("aside",{class:"scroll-slim flex min-h-0 flex-col overflow-y-auto bg-sunken",children:[u("div",{class:"flex shrink-0 items-center justify-between border-b border-line px-3.5 py-[11px]",children:t?u(De,{children:[u("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")}),u(ut,{children:i("doclist.detail.inspector_label")})]}):u(De,{children:[u(ut,{children:i("doclist.detail.inspector_label")}),u("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 p2(e,t){return e===void 0||e.includes(t)}function rv(e,t,r){return!!e&&p2(t,r)}function ua(e){return`doclist-row-${encodeURIComponent(e)}-detail`}function f2(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 da=1e4,m2=1500;function to(e,t,r){return String(t?ix(e,t.idField)??r:e._id??e.name??r)}function ov({app:e,data:t,list:r,layout:i,fixture:n,error:o,subtitle:a,onError:s,onJump:c,onAsk:l,stale:d,onRefresh:f,onMutationInvalidate:p,onMutationRefresh:m,onMutated:h,onDocumentChanged:_,context:g,contextView:$,contextKey:S}){const k=he(),{rows:I,pageRows:x,rowAction:C,expandedId:P}=r,z=e.getHostCapabilities()?.serverTools,D=C&&rv(z,t._availableTools,C.toolName)?C:void 0,[R,J]=pe({id:null,data:null,loading:!1}),te=de(R),X=N=>{te.current=N,J(N)},le=de(null),Y=de(null);Pe(()=>()=>{le.current=null},[]);const U=n&&I.some(N=>N._detail!=null),M=!!D||U,F=$??t._title??t.doctype??"Document",B=S??F;function Z(N,Q){if(!g?.supported||!t.doctype)return null;const ee=to(N,D,String(Q)),fe=In(N,{doctype:t.doctype,name:ee});return fe?Pl(El(fe),F,B):null}const V=g?.supported?g.reconcileView:void 0;Pe(()=>{if(!V)return;const N=I.flatMap((Q,ee)=>{const fe=Z(Q,ee);return fe?[fe]:[]});V(B,N)},[t.doctype,B,F,V,D,I]),Pe(()=>{if(P===null){le.current=null,X({id:null,data:null,loading:!1});return}const N=x.find((Q,ee)=>to(Q,D,String(ee))===P);if(!N){le.current=null,X({id:null,data:null,loading:!1}),r.setExpandedId(null);return}if(te.current.id!==P){if(n||!D&&N._detail){const Q=In(N._detail??N,{doctype:t.doctype,name:P});if(!Q){s(k("doclist.error.load_details")),r.setExpandedId(null);return}X({id:P,data:Q,loading:!1});return}D&&(X({id:P,data:null,loading:!0}),le.current=P,(async()=>{try{const Q=await e.callServerTool({name:D.toolName,arguments:{...D.extraArgs,[D.argName]:P}},{timeout:da});if(le.current!==P)return;if(Q.isError)s(k("doclist.error.load_details")),r.setExpandedId(null);else{const ee=Rt(Q);if(ee){const fe=JSON.parse(ee),Se=In(fe,{doctype:t.doctype,name:P});if(!Se)throw new Error("document envelope is invalid");X({id:P,data:Se,loading:!1}),s(null)}else s(k("doclist.error.load_details")),r.setExpandedId(null)}}catch(Q){if(le.current!==P)return;s(`${k("doclist.error.load_details")} — ${Q instanceof Error?Q.message:String(Q)}`),r.setExpandedId(null)}finally{le.current===P&&X({...te.current,loading:!1})}})())}},[P,I,D,n,t.doctype]),Pe(()=>{if(R.id===null)return;const N=document.getElementById(ua(R.id)),Q=Y.current;if(!N||!Q)return;const ee=typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion: reduce)").matches,fe=f2(Q.getBoundingClientRect(),N.getBoundingClientRect());fe!==0&&Q.scrollTo({top:Q.scrollTop+fe,behavior:ee?"auto":"smooth"})},[R.id,R.loading]);function T(N,Q){const ee=to(N,D,String(Q)),fe=Z(N,Q);if(!fe&&!M)return;const Se=fe?.label??ee,ne=fe?g?.isSelected(fe)??!1:void 0;return{label:M?k(fe?P===ee?"document.row.close_detail":"document.row.open_detail":P===ee?"document.row.close_detail_only":"document.row.open_detail_only",{label:Se}):k("context.active.select",{label:Se}),selected:ne,expanded:M?P===ee:void 0,detailLabel:Se,controls:M?ua(ee):void 0,onActivate:()=>{if(fe){if(M)return g?.activateReversible(fe);g?.activate(fe)}},onDoubleActivate:M?()=>r.setExpandedId(P===ee?null:ee):void 0}}function O(N){h?.(N.name),_?.(N)}function H(N){O(N),p?.(),m?.()}async function q(N,Q){const ee=te.current.data;if(n||!z||!ee?.availableTools?.includes(N))return!1;try{if((await e.callServerTool({name:N,arguments:Q},{timeout:da})).isError)return!1;const Se=P,ne=ee,Ce=ne?Yx(ne,N,new Date().toISOString(),"doclist.inline-detail"):null;if(Ce?O(Ce):Se&&h?.(Se),p?.(),await new Promise(He=>setTimeout(He,m2)),!Se||!D||le.current!==Se)return m?.(),!0;try{const He=await e.callServerTool({name:D.toolName,arguments:{...D.extraArgs,[D.argName]:Se}},{timeout:da});if(le.current!==Se)return!0;if(He.isError)throw new Error("canonical read-back failed");const Ne=Rt(He);if(!Ne)throw new Error("canonical read-back is empty");const rt=JSON.parse(Ne),Me=In(rt,{doctype:ne?.doctype??t.doctype,name:ne?.name??Se});if(!Me)throw new Error("canonical document envelope is invalid");return X({id:Se,data:Me,loading:!1}),s(null),!0}catch{return s(k("doclist.error.load_details")),r.setExpandedId(null),!1}finally{m?.()}}catch{return!1}}const ze=P!==null?u("div",{id:ua(P),children:u(l2,{app:e,envelope:R.data,loading:R.loading,fixture:n,layout:i,embedded:!0,onClose:()=>r.setExpandedId(null),onAction:q,onJump:c,onAsk:l,onDocumentChanged:H,context:g,contextView:F,contextKey:B})}):void 0;return u(De,{children:[i==="mobile"&&r.searchOpen&&u(cx,{value:r.filter,onInput:r.setFilter,onClose:()=>r.setSearchOpen(!1)}),i!=="panel"&&u(ew,{columns:r.filterableColumns,chipFilters:r.chipFilters,counts:r.chipCounts,total:I.length,pill:i==="mobile",onFilterChange:r.setChipFilter}),d&&u("div",{role:"status",title:k("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:[u("span",{"aria-hidden":"true",class:"size-[5px] rounded-full bg-warn"}),u("span",{children:k("nav.stale_values",{at:d.at})}),f&&u("button",{type:"button",onClick:f,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:k("nav.refresh")})]}),o&&u(wo,{tone:"bad",children:o}),u("div",{class:"flex min-h-0 flex-1 flex-col",children:[u("div",{ref:Y,class:"scroll-slim min-h-0 flex-1 overflow-y-auto",children:u(dw,{columns:r.tableColumns,rows:r.pageRows,rowId:(N,Q)=>to(N,D,String(Q)),selectedId:P,struckId:d?.subject??null,sortKey:r.sortKey,sortDir:r.sortDir,onSort:r.handleSort,interactionTarget:T,layout:i,amountKey:r.amountKey,detail:ze})}),r.amountTotal!==null&&u(wg,{layout:i,label:r.amountKey?.replace(/_/g," ")??k("common.total"),children:at(r.amountTotal)}),u("div",{class:"flex shrink-0 items-center gap-3 border-t border-line-soft bg-sunken px-4 py-[9px]",children:[u("span",{class:"font-mono text-[10.5px] text-ink-faint",children:k("nav.of",{n:r.sorted.length,total:I.length})}),a&&u("span",{class:"font-mono text-[10.5px] text-ink-faint",children:a}),u("div",{class:"flex-1"}),r.totalPages>1&&u("span",{class:"flex items-center gap-1.5",children:[u(xo,{disabled:r.page===0,"aria-label":k("common.pagination.prev"),onClick:()=>r.setPage(r.page-1),children:"‹"}),u("span",{class:"font-mono text-meta text-ink-muted",children:[r.page+1," / ",r.totalPages]}),u(xo,{disabled:r.page>=r.totalPages-1,"aria-label":k("common.pagination.next"),onClick:()=>r.setPage(r.page+1),children:"›"})]})]})]})]})}const pa=20,h2={};function g2(e,t,r){const i=e.data??[],n=t.sortKey??null,o=t.sortDir??"asc",a=t.filter??"",s=t.page??0,c=t.chipFilters??h2,l=t.expandedId??null,d=ot(()=>{if(i.length<2)return[];const x=[];for(const C of Object.keys(i[0]??{})){if(!ex.has(C)&&!Ki(C))continue;const P=new Set;for(const z of i){const D=z[C];if(D!=null&&typeof D=="string"&&P.add(D),P.size>8)break}P.size>=2&&P.size<=8&&x.push({col:C,values:Array.from(P).sort()})}return x},[i]),f=ot(()=>{if(i.length===0)return[];const x=new Set;for(const C of i)for(const P of Object.keys(C))!Q$.has(P)&&!P.startsWith("_")&&x.add(P);return rx(Array.from(x))},[i]),p=ot(()=>{let x=i;for(const[C,P]of Object.entries(c))P&&(x=x.filter(z=>z[C]===P));if(a){const C=a.toLowerCase();x=x.filter(P=>f.some(z=>at(P[z]).toLowerCase().includes(C)))}return x},[i,a,f,c]),m=ot(()=>n?[...p].sort((x,C)=>{const P=x[n],z=C[n];if(P==null&&z==null)return 0;if(P==null)return 1;if(z==null)return-1;const D=typeof P=="number"&&typeof z=="number"?P-z:String(P).localeCompare(String(z));return o==="asc"?D:-D}):p,[p,n,o]),h=Math.ceil(m.length/pa),_=m.slice(s*pa,(s+1)*pa),g=ot(()=>f.map(x=>({id:x,label:x.replace(/_/g," "),numeric:i.some(C=>typeof C[x]=="number")})),[f,i]),$=ot(()=>{const x={};for(const{col:C,values:P}of d){x[C]=Object.fromEntries(P.map(z=>[z,0]));for(const z of i){const D=z[C];typeof D=="string"&&D in x[C]&&(x[C][D]+=1)}}return x},[d,i]),S=ot(()=>sw(g),[g]),k=ot(()=>cw(m,S),[m,S]),I=ae(x=>{r(n===x?{sortDir:o==="asc"?"desc":"asc",expandedId:null}:{sortKey:x,sortDir:"asc",expandedId:null})},[n,o,r]);return{rows:i,rowAction:e._rowAction,columns:f,tableColumns:g,filterableColumns:d,chipCounts:$,filtered:p,sorted:m,pageRows:_,totalPages:h,amountKey:S,amountTotal:k,sortKey:n,sortDir:o,filter:a,page:s,chipFilters:c,expandedId:l,searchOpen:t.searchOpen??!1,handleSort:I,setFilter:x=>r({filter:x,page:0,expandedId:null}),setPage:x=>r({page:x,expandedId:null}),setExpandedId:x=>r({expandedId:x}),setSearchOpen:x=>r({searchOpen:x}),setChipFilter:(x,C)=>{const P={...c};C===null?delete P[x]:P[x]=C,r({chipFilters:P,page:0,expandedId:null})}}}function Tn(e){return e.yAxisId==="right"?"right":"left"}function jo(e,t,r){if(t.stack)return`${Tn(t)}:${r}:${t.stack}`;if(r==="bar"&&e.type==="stacked-bar")return`${Tn(t)}:bar:default`;if(r==="area"&&e.type==="stacked-area")return`${Tn(t)}:area:default`}function ql(e,t){const r=e.values[t];return typeof r=="number"&&Number.isFinite(r)?r:0}function v2(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=Tn(o),s=Io(e,o),c=ql(o,i),l=jo(e,o,s);if(l){const d=n.get(l)??{axis:a,negative:0,positive:0};c<0?d.negative+=c:d.positive+=c,n.set(l,d)}else t[a].min=Math.min(t[a].min,c),t[a].max=Math.max(t[a].max,c)});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 fa(e,t){return(e-t.min)/(t.max-t.min)*100}function b2(e,t,r,i,n){if(!i)return 0;let o=0;for(let a=0;a<t;a++){const s=e.datasets[a],c=Io(e,s);if(jo(e,s,c)!==i)continue;const l=ql(s,r);n<0==l<0&&(o+=l)}return o}const no=e=>Number(e.toFixed(3));function _2(e){const t=v2(e),r=[...new Set(e.datasets.flatMap((a,s)=>{const c=Io(e,a);return c!=="bar"?[]:[jo(e,a,c)??`series:${s}`]}))],i=Math.max(1,e.labels.length),n=Math.max(1,r.length),o=e.datasets.map((a,s)=>{const c=Io(e,a),l=Tn(a),d=jo(e,a,c),f=c==="bar"?r.indexOf(d??`series:${s}`):0,p=e.labels.map((_,g)=>{const $=ql(a,g),S=b2(e,s,g,d,$),k=t[l],I=100/i,x=I*.72/n;return{labelIndex:g,seriesIndex:s,value:$,x:(g+.5)/i*100,y:fa(S+$,k),baseY:fa(S,k),barLeft:g*I+I*.14+f*x,barWidth:Math.max(.8,x-Math.min(1.5,x*.14))}}),m=c==="line"||c==="area"?p.map((_,g)=>`${g===0?"M":"L"} ${no(_.x)} ${no(100-_.y)}`).join(" "):void 0,h=c==="area"&&p.length>0?`${m} ${p.toReversed().map(_=>`L ${no(_.x)} ${no(100-_.baseY)}`).join(" ")} Z`:void 0;return{seriesIndex:s,kind:c,axis:l,stack:d,points:p,linePath:m,areaPath:h}});return{domains:t,zero:fa(0,t.left),series:o}}const nd=["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 ma(e,t,r){return e.color?e.color:r===1?"var(--color-accent)":nd[Math.min(t,nd.length-1)]}function rd(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 y2({chart:e,activeIndex:t,contextEnabled:r,pointKey:i,isPointSelected:n,isPointDetailEnabled:o,onPointContext:a,onPointDetail:s,caption:c,narrow:l}){const d=Nl(),{labels:f,datasets:p}=e,m=_2(e),[h,_]=pe(null),[g,$]=pe(null),S=f.map((T,O)=>p.reduce((H,q)=>H+Math.abs(q.values[O]??0),0)),k=Math.max(0,S.indexOf(Math.max(...S))),x=Math.min(Math.max(0,t??k),Math.max(0,f.length-1)),C=h??g??{labelIndex:x,seriesIndex:0},P=C.labelIndex,z=p.length>1,D=Math.max(100,f.length*Math.max(42,26+p.length*5)),R=(T,O)=>{const H=Dg(e,T);return H.currency?Ed(O,H.currency):H.unit==="%"?Od(O,O%1===0?0:1):`${wt(O,O%1===0?0:1)}${H.unit?` ${H.unit}`:""}`},J=(T,O)=>{const H=p[O],q=R(H,H.values[T]??0);return`${f[T]} · ${H.label||`#${O+1}`} · ${q}`},te=(T,O)=>!!(r&&a)&&f[T]!==void 0&&p[O]!==void 0,X=(T,O)=>!!(s&&o?.(T,O)),le=(T,O)=>te(T,O)||X(T,O),Y=(T,O)=>({key:i?.(T,O)??`nested-chart:${T}:${O}`,onSingle:()=>a?.(T,O),onDouble:()=>s?.(T,O)}),U=(T,O)=>{const H={labelIndex:T,seriesIndex:O};$(H),_(H)},M=(T,O)=>{U(T,O)},F=(T,O,H)=>{if(le(T,O)){if(M(T,O),te(T,O)&&X(T,O)){d.click(Y(T,O),H);return}H<2&&te(T,O)&&a?.(T,O)}},B=(T,O)=>{X(T,O)&&(M(T,O),te(T,O)?d.doubleClick(Y(T,O)):s?.(T,O))},Z=(T,O,H)=>{if(!H.repeat){if(M(T,O),te(T,O)&&X(T,O)){d.keyDown(Y(T,O),H);return}if(H.key===" "&&te(T,O)){H.preventDefault(),a?.(T,O);return}H.key==="Enter"&&X(T,O)&&(H.preventDefault(),s?.(T,O))}},V=T=>({left:`${T.x}%`,bottom:`${T.y}%`});return u("div",{class:"flex min-h-0 flex-1 flex-col",children:[u("div",{class:l?"px-3.5 pb-3 pt-4":"px-4 pb-3 pt-[18px]",children:[(e.yAxisLabel||e.rightAxisLabel)&&u("div",{class:"mb-2 flex justify-between font-mono text-nano text-ink-faint",children:[u("span",{children:e.yAxisLabel}),u("span",{children:e.rightAxisLabel})]}),z&&u("div",{class:"mb-3 flex flex-wrap items-center gap-x-3 gap-y-1.5",role:"list",children:p.map((T,O)=>{const H=m.series[O].kind;return u("span",{class:"inline-flex min-w-0 items-center gap-1.5 font-mono text-chip text-ink-muted",role:"listitem",children:[u("span",{class:H==="line"?"h-0.5 w-2.5 shrink-0 rounded-full":H==="area"?"h-2 w-2.5 shrink-0 rounded-[2px] opacity-45":"size-2 shrink-0 rounded-[2px]",style:{background:ma(T,O,p.length)},"aria-hidden":"true"}),u("span",{class:"truncate",children:T.label||`#${O+1}`})]},`${T.label}-${O}`)})}),u("div",{class:"overflow-x-auto pb-1",children:u("div",{style:{minWidth:`${D}px`},children:[u("div",{class:"relative h-[132px]",onMouseLeave:()=>_(null),children:[u("span",{class:"pointer-events-none absolute inset-x-0 border-t border-line-soft",style:{bottom:`${m.zero}%`},"aria-hidden":"true"}),m.series.map(T=>{const O=p[T.seriesIndex],H=ma(O,T.seriesIndex,p.length);if(T.kind==="bar")return T.points.map(N=>{const Q=le(N.labelIndex,N.seriesIndex),ee=!!n?.(N.labelIndex,N.seriesIndex),fe=Math.min(N.y,N.baseY),Se=Math.abs(N.y-N.baseY);return u("button",{type:"button",disabled:!Q,"aria-pressed":r?ee:void 0,"aria-keyshortcuts":te(N.labelIndex,N.seriesIndex)&&X(N.labelIndex,N.seriesIndex)?"Space Enter":te(N.labelIndex,N.seriesIndex)?"Space":X(N.labelIndex,N.seriesIndex)?"Enter":void 0,"aria-label":J(N.labelIndex,N.seriesIndex),onClick:ne=>{ne.stopPropagation(),F(N.labelIndex,N.seriesIndex,ne.detail)},onDblClick:ne=>{ne.stopPropagation(),B(N.labelIndex,N.seriesIndex)},onKeyDown:ne=>Z(N.labelIndex,N.seriesIndex,ne),onMouseEnter:()=>U(N.labelIndex,N.seriesIndex),onFocus:()=>U(N.labelIndex,N.seriesIndex),onBlur:()=>_(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 ${Q?"cursor-pointer":"cursor-default"} ${l&&Q?"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:H,bottom:`${fe}%`,height:`${Se}%`,left:`${N.barLeft}%`,width:`${N.barWidth}%`,opacity:ee?1:N.labelIndex===P?.9:.65,boxShadow:ee?"0 0 0 1px var(--color-accent)":void 0}},`${N.seriesIndex}-${N.labelIndex}`)});const q=T.points.some(N=>le(N.labelIndex,N.seriesIndex)),ve=N=>{N.stopPropagation();const Q=N.currentTarget.ownerSVGElement;if(!Q)return;const ee=Q.getBoundingClientRect(),fe=rd(N.clientX,ee.left,ee.width,f.length);F(fe,T.seriesIndex,N.detail)},ze=N=>{N.stopPropagation();const Q=N.currentTarget.ownerSVGElement;if(!Q)return;const ee=Q.getBoundingClientRect(),fe=rd(N.clientX,ee.left,ee.width,f.length);B(fe,T.seriesIndex)};return u("svg",{class:"pointer-events-none absolute inset-0 size-full overflow-visible",viewBox:"0 0 100 100",preserveAspectRatio:"none","aria-hidden":"true",children:[T.areaPath&&u("path",{d:T.areaPath,fill:H,"fill-opacity":"0.16",stroke:"none",class:q?"pointer-events-auto cursor-pointer":void 0,onClick:q?ve:void 0,onDblClick:q?ze:void 0}),u("path",{d:T.linePath,fill:"none",stroke:H,"stroke-width":"2","stroke-dasharray":O.strokeStyle==="dashed"?"6 3":void 0,"vector-effect":"non-scaling-stroke",class:q?"pointer-events-auto cursor-pointer":void 0,onClick:q?ve:void 0,onDblClick:q?ze:void 0})]},T.seriesIndex)}),m.series.flatMap(T=>{if(T.kind==="bar")return[];const O=p[T.seriesIndex],H=ma(O,T.seriesIndex,p.length);return T.points.map(q=>{const ve=le(q.labelIndex,q.seriesIndex),ze=!!n?.(q.labelIndex,q.seriesIndex);return u("button",{type:"button",disabled:!ve,"aria-pressed":r?ze:void 0,"aria-keyshortcuts":te(q.labelIndex,q.seriesIndex)&&X(q.labelIndex,q.seriesIndex)?"Space Enter":te(q.labelIndex,q.seriesIndex)?"Space":X(q.labelIndex,q.seriesIndex)?"Enter":void 0,"aria-label":J(q.labelIndex,q.seriesIndex),onClick:N=>{N.stopPropagation(),F(q.labelIndex,q.seriesIndex,N.detail)},onDblClick:N=>{N.stopPropagation(),B(q.labelIndex,q.seriesIndex)},onKeyDown:N=>Z(q.labelIndex,q.seriesIndex,N),onMouseEnter:()=>U(q.labelIndex,q.seriesIndex),onFocus:()=>U(q.labelIndex,q.seriesIndex),onBlur:()=>_(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"} ${ve?"cursor-pointer":"cursor-default"}`,style:V(q),children:u("span",{"aria-hidden":"true",class:O.showDots===!1?"size-1.5 rounded-full opacity-0":ze?"size-2 rounded-full ring-1 ring-accent ring-offset-1 ring-offset-surface":"size-1.5 rounded-full",style:{background:H}})},`point-${q.seriesIndex}-${q.labelIndex}`)})})]}),u("div",{class:"mt-2.5 flex gap-2 border-t border-line-soft pt-2",children:f.map((T,O)=>u("span",{title:T,class:`min-w-0 flex-1 truncate text-center font-mono text-[9.5px] ${O===P?"text-accent":"text-ink-faint"}`,children:T},O))}),e.xAxisLabel&&u("div",{class:"mt-1.5 text-right font-mono text-nano text-ink-faint",children:e.xAxisLabel})]})})]}),(c||z||X(C.labelIndex,C.seriesIndex))&&f.length>0&&p.length>0&&u("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:[u("span",{class:"font-mono text-[11px] font-medium text-accent",children:f[P]}),p.map((T,O)=>u("span",{class:"inline-flex items-center gap-1.5 font-mono text-meta text-ink",children:[z&&u("span",{class:"text-ink-muted",children:[T.label||`#${O+1}`,":"]}),R(T,T.values[P]??0)]},`${T.label}-${O}`)),c&&u("span",{class:"font-sans text-note text-ink-dim",children:c}),X(C.labelIndex,C.seriesIndex)&&u(zo,{label:J(C.labelIndex,C.seriesIndex),touch:l,class:"ml-auto",onToggle:()=>s?.(C.labelIndex,C.seriesIndex)})]})]})}function Do(e){return encodeURIComponent(e.trim())}function k2(e,t,r){const i=Dg(e,t);return i.currency?Ed(r,i.currency):i.unit==="%"?Od(r,r%1===0?0:1):`${wt(r,r%1===0?0:1)}${i.unit?` ${i.unit}`:""}`}function $2(e,t){return`chart:${Do(e)}:${Do(t)}`}function iv(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:${Do(o)}:${Do(s)}`,view:r,reconcileKey:t,label:`${o} · ${s}`,value:k2(e,a,a.values[i]??0)}}function x2(e,t,r){return e.labels.flatMap((i,n)=>e.datasets.flatMap((o,a)=>{const s=iv(e,t,r,n,a);return s?[s]:[]}))}const od={count:0,data:[]};function Jl(e){return e.kind!=="list"?od:e.body??od}function w2({level:e,app:t,list:r,layout:i,fixture:n,onJump:o,onAsk:a,onError:s,onRefresh:c,onMutated:l,onDocumentChanged:d,onMutationInvalidate:f,onMutationRefresh:p,context:m,children:h}){const _=he();if(e.kind==="root")return u(De,{children:h});if(e.loading)return u(Tg,{embedded:!0});if(e.error)return u(wo,{tone:"bad",children:e.error});const g=u(wo,{tone:"bad",children:_("nav.unexpected_body")});if(e.kind==="record"){const $=In(e.body);return $?u(I2,{app:t,envelope:$,levelJumps:e.jumps,layout:i,onJump:o,onAsk:a,onMutated:l,onDocumentChanged:d,onMutationInvalidate:f,onMutationRefresh:p,context:m,contextView:e.title,contextKey:e.key??e.id},`${$.doctype}\0${$.name}`):g}if(e.kind==="chart"){const $=Xx(e.body);return $?u(S2,{level:e,chart:$,layout:i,onJump:o,context:m},e.id):g}return Qx(e.body)?u(ov,{app:t,data:Jl(e),list:r,layout:i,fixture:n,subtitle:e.subtitle,onError:s,onJump:o,onAsk:a,stale:e.stale,onRefresh:c,onMutated:l,onDocumentChanged:d,onMutationInvalidate:f,onMutationRefresh:p,context:m,contextView:e.title,contextKey:e.key??e.id}):g}function S2({level:e,chart:t,layout:r,onJump:i,context:n}){const o=he(),a=e.title,s=$2(e.key??e.id,e.title),c=n?.supported?n.reconcileView:void 0;Pe(()=>{c&&c(s,x2(t,s,a))},[t,s,c,a]);const l=(h,_)=>{if(!i)return null;const g=Wx(t,h,_),$=t.labels[h],S=t.datasets[_]?.label,k=S?`${$} · ${S}`:$;return g?Ln(g,{},o("nav.linked_to",{id:k})):null},d=(h,_)=>iv(t,s,a,h,_),f=t.labels.some((h,_)=>t.datasets.some((g,$)=>l(_,$)!==null)),p=!!n?.supported,m=p&&f?o("chart.tooltip.click_action_context"):p?o("chart.tooltip.click_action_context_only"):f?o("chart.tooltip.click_action_fallback"):void 0;return u(y2,{chart:t,narrow:r!=="wide",caption:m,contextEnabled:p,pointKey:(h,_)=>d(h,_)?.id??`${s}:point:${h}:${_}`,isPointSelected:p?(h,_)=>{const g=d(h,_);return g?n.isSelected(g):!1}:void 0,isPointDetailEnabled:(h,_)=>l(h,_)!==null,onPointContext:p?(h,_)=>{const g=d(h,_);return g?n.activateReversible(g):void 0}:void 0,onPointDetail:f?(h,_)=>{const g=l(h,_);g&&i?.(g)}:void 0})}function I2({app:e,envelope:t,levelJumps:r,layout:i,onJump:n,onAsk:o,onMutated:a,onDocumentChanged:s,onMutationInvalidate:c,onMutationRefresh:l,context:d,contextView:f,contextKey:p}){const m=he(),h=El(t),_=Mg(e.getHostCapabilities(),t.availableTools,t.refreshRequest),$=tv({app:e,envelope:t,capabilities:_,onDocumentChanged:Y=>{a?.(Y.name),s?.(Y),c?.(),l?.()}}),S={id:t.name,name:t.name,doctype:t.doctype},k=t.sendMessageHints??[],I=t.availableTools,x=Y=>!n||!Y.tool||!e.getHostCapabilities()?.serverTools||!I?.includes(Y.tool)?null:Ln(Y,S,m("nav.linked_to",{id:t.name})),C=k.map(x).filter(Y=>Y!==null),P=[...r??[],...C],z=o?k.flatMap(Y=>{if(!Y.message||x(Y))return[];const U=xt(Y.message,S);return Lt(U)?[]:[{label:Gi(Y),message:U}]}):[];o&&z.length===0&&P.length===0&&z.push({label:m("nav.ask"),message:m("doclist.detail.full_detail_message",{doctype:t.doctype,id:t.name})});const D=Pl(h,f??t.doctype,p),R=d?.supported?d.reconcileDocument:void 0;Pe(()=>{if(!R)return;const Y=[D,...h.childTables.flatMap(U=>U.rows.flatMap((M,F)=>{const B=So(t,U,M,F,p);return B?[B]:[]}))];R(D.id,Y)},[p,f,t,R]);const J=P.length>0||z.length>0?u("div",{class:"flex flex-col gap-2",children:[P.length>0&&u(ut,{children:m("nav.goto")}),u(nv,{narrow:i!=="wide",jumps:P,asks:z,onJump:n,onAsk:o})]}):void 0,te=d?.supported?{label:m("context.active.select",{label:D.label}),selected:d.isSelected(D),onActivate:()=>void d.activate(D)}:void 0,X=(Y,U)=>{const M=n&&e.getHostCapabilities()?.serverTools?Wg({hints:k,rootVars:S,row:U,availableTools:I,subtitle:m("nav.linked_to",{id:t.name})}):[],F=o?Gg({hints:k,rootVars:S,row:U}).filter(B=>!M.some(Z=>Z.label===B.label)):[];if(!(M.length===0&&F.length===0))return u(De,{children:[M.map(B=>u(ct,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>n?.(B),children:[B.label,u("span",{"aria-hidden":"true",children:"›"})]},`${B.tool.name}:${B.label}`)),F.map(B=>u(ct,{variant:"quiet",class:"min-h-8 px-2.5 py-1 text-chip",onClick:()=>o?.(B.message),children:[B.label,u("span",{"aria-hidden":"true",children:"~"})]},`ask:${B.label}`))]})},le=(Y,U,M)=>{if(!d?.supported)return;const F=So(t,Y,U,M,p);return F?{label:m("context.active.select",{label:F.label}),detailLabel:F.label,selected:d.isSelected(F),onActivate:()=>d.activateReversible(F)}:void 0};return u(Qg,{model:h,layout:i,attachments:_.canListAttachments?u(Zg,{controller:$,capabilities:_,layout:i,context:d}):void 0,actions:J,contextTarget:te,renderChildRowActions:X,renderChildRowContextTarget:le,childRowActionsPlacement:"visible"})}function z2(e){return typeof e=="object"&&e!==null}function av(e){return z2(e?.message?.text)}async function sv(e,t){if(!av(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}}async function T2(e,t,r){const i=Bg(r),n=Ml(r.tool),o={outcome:"ignored",id:"",rootIdentity:""};if(e.set(c=>{if(sn(c).loading)return c;const l=Fw(c,n);if(l>=0)return o.outcome="popped",Po(c,l);const d=Jg(c,i);return o.id=sn(d).id,o.rootIdentity=c.rootIdentity,o.outcome="pushed",d}),o.outcome!=="pushed")return o.outcome;const a=o.id,s=await Fl(t,r.tool);return e.set(c=>c.rootIdentity!==o.rootIdentity?c:Bt(c,a,{loading:!1,body:s.body,count:s.count,error:s.error})),o.outcome}async function P2(e,t,r,i=Ml(r.tool)){const n={...Bg(r),rootTriggerKey:i},o={outcome:"pushed",id:"",rootIdentity:""};if(e.set(s=>{if(s.levels[1]?.rootTriggerKey===i)return o.outcome="closed",Po(s,0);const l=s.levels.length>1,d=l?Po(s,0):s,f=Jg(d,n);return o.id=sn(f).id,o.rootIdentity=s.rootIdentity,o.outcome=l?"replaced":"pushed",f}),o.outcome==="closed")return o.outcome;const a=await Fl(t,r.tool);return e.set(s=>s.rootIdentity!==o.rootIdentity?s:Bt(s,o.id,{loading:!1,body:a.body,count:a.count,error:a.error})),o.outcome}async function j2(e,t){const r={id:"",rootIdentity:""};if(e.set(s=>{const c=sn(s);return c.tool?(r.id=c.id,r.rootIdentity=s.rootIdentity,r.tool=c.tool,Bt(s,c.id,{loading:!0})):s}),!r.tool)return!1;const{id:i,rootIdentity:n,tool:o}=r,a=await Fl(t,o);return a.error?(e.set(s=>s.rootIdentity===n?Bt(s,i,{loading:!1}):s),!1):(e.set(s=>s.rootIdentity!==n?s:Hg(Bt(s,i,{loading:!1,body:a.body,count:a.count,error:void 0}),i)),!0)}function D2(e,t){const[r,i]=pe(()=>qg(t)),n=Zl(t);Fn(()=>{i(g=>Rw(g,t))},[n]);const o=sn(r),a=ot(()=>({set:g=>i($=>g($))}),[]),s=ae(g=>T2(a,e,g),[a,e]),c=ae((g,$)=>P2(a,e,g,$),[a,e]),l=ae(()=>i(g=>Lw(g)),[]),d=ae(g=>i($=>Po($,g)),[]),f=ae(g=>{i($=>Zw($,sn($).id,g))},[]),p=ae(g=>{i($=>qw($,id(new Date),g))},[]),m=ae(g=>{const $=new Date(g.committedAt);i(S=>Jw(S,id($),g))},[]),h=ae(()=>j2(a,e),[a,e]),_=ae(g=>{i($=>Hg($,g))},[]);return{stack:r,current:o,depth:r.levels.length,isRoot:r.levels.length===1,jump:s,toggleRootChild:c,pop:l,popTo:d,patchUi:f,markStale:p,reportDocumentChange:m,refreshLevel:h,clearStale:_}}function id(e){const t=r=>String(r).padStart(2,"0");return`${t(e.getHours())}:${t(e.getMinutes())}`}function E2(e,t,{fixture:r=!1,rootList:i}={}){const n=D2(e,t),{current:o,isRoot:a}=n,s=!r&&Bw(e.getHostCapabilities()),c=!r&&av(e.getHostCapabilities()),l=g2(a&&i?i:Jl(o),o.ui,n.patchUi),d=ae(p=>sv(e,p),[e]);return{nav:n,current:o,isRoot:a,jumpsEnabled:s,messagesEnabled:c,list:l,ask:c?d:void 0}}function O2(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 cv=u("span",{class:"font-mono text-[11px] text-line-hover",children:"/"});function C2({stack:e,onBack:t,onJump:r,loading:i,layout:n}){const o=he(),[a,s]=pe(!1),c=de(null),l=Hw(e);if(Pe(()=>{if(!a)return;const p=m=>{c.current?.contains(m.target)||s(!1)};return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[a]),Pe(()=>s(!1),[e.levels.length]),!l.showBar)return null;const d=l.current.level,f=d.kind==="chart"?o("nav.kind.chart"):d.kind==="record"?o("nav.kind.record"):o("nav.kind.list");return u("nav",{"aria-label":o("nav.trail"),class:"relative shrink-0 border-b border-line bg-sunken",onKeyDown:p=>{p.key==="Escape"&&s(!1)},children:[u("div",{class:A("flex h-9 min-w-0 items-center gap-[9px]",n&&n!=="wide"?"px-3":"px-4"),children:[u("button",{type:"button","aria-label":o("nav.back"),title:o("nav.back"),onClick:t,class:A(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(p=>"elided"in p?u("span",{class:"contents",children:[u("button",{type:"button","aria-expanded":a,"aria-haspopup":"menu","aria-label":o("nav.elided_title"),onClick:()=>s(m=>!m),class:A("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:p.elided.length})}),cv]},`elided:${p.elided[0]?.index}`):u(N2,{crumb:p,onJump:r},p.level.id)),u("span",{"aria-current":"page",class:"truncate font-mono text-[11.5px] font-medium text-ink",children:d.title}),u("div",{class:"flex-1"}),i?u("span",{class:"flex items-center gap-1.5",children:[u("span",{class:"size-[5px] rounded-full bg-accent"}),u("span",{class:"font-mono text-[10px] uppercase tracking-[0.08em] text-accent",children:o("nav.loading")})]}):u(De,{children:[u("span",{class:A("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:f}),d.count!==void 0&&d.kind==="list"&&u("span",{class:"rounded-[3px] bg-count px-[7px] py-0.5 font-mono text-[11px] text-ink-muted",children:d.count})]})]}),a&&u("div",{ref:c,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(p=>u("button",{type:"button",role:"menuitem",onClick:()=>r(p.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:[u("span",{class:"w-[10px] shrink-0 font-mono text-[10px] text-ink-faint",children:p.index+1}),u("span",{class:"flex min-w-0 flex-col gap-0.5",children:[u("span",{class:"truncate font-mono text-[11.5px] text-ink",children:p.level.title}),u("span",{class:"font-sans text-[11px] text-ink-dim",children:O2(p.level,o)})]})]},p.level.id))})]})}function N2({crumb:e,onJump:t}){const r=he(),i=e.level.stale;return u(De,{children:[u("button",{type:"button",onClick:()=>t(e.index),title:i?r("nav.stale_values",{at:i.at}):void 0,class:A("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&&u("span",{"aria-hidden":"true",class:"mr-1.5 inline-block size-[5px] rounded-full bg-warn align-middle"}),e.level.title]}),cv]})}const ad=[{status:"Draft",docstatus:0},{status:"Unpaid",docstatus:1},{status:"Paid",docstatus:1},{status:"Overdue",docstatus:1},{status:"Partly Paid",docstatus:1},{status:"Cancelled",docstatus:2}],sd=["Acme Corp","Globex","Initech","Umbrella"],cd=["Casys SAS","Casys GmbH"];function ha(e,t){return String(e).padStart(t,"0")}function A2(e){const t=ad[e%ad.length],r=`ACC-SINV-2026-${ha(e+1,5)}`,i=sd[e%sd.length],n=cd[e%cd.length],o=1200+e*175,a=t.status==="Paid"||t.status==="Cancelled"?0:t.status==="Partly Paid"?o/2:o,s={name:r,customer:i,posting_date:`2026-08-${ha(e%28+1,2)}`,due_date:`2026-09-${ha(e%28+1,2)}`,status:t.status,grand_total:o,outstanding_amount:a,company:n};return{...s,_detail:{...s,docstatus:t.docstatus,currency:"EUR",items:[{item_code:"ITEM-001",qty:1,amount:o}]}}}const ld=Array.from({length:24},(e,t)=>A2(t)),ud={doctype:"Sales Invoice",_title:"Sales Invoices",count:ld.length,refreshRequest:{toolName:"erpnext_sales_invoice_list",arguments:{limit:20}},_rowAction:{toolName:"erpnext_sales_invoice_get",idField:"name",argName:"name"},_sendMessageHints:[{label:"Payments",message:"Show payment entries for invoice {id}"}],data:ld};function U2(){return typeof window>"u"?!1:new URLSearchParams(globalThis.location.search).has("fixture")}function dd(e,t,r){return r!==null&&rv(e,t,r.toolName)}const R2=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(",");function pd(e){return e==="shared"||e==="cleared"}function fd(e,t){if(!e)return null;const r=Array.from(document.querySelectorAll(R2)),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 md(e){queueMicrotask(()=>{if(typeof requestAnimationFrame!="function"){e();return}requestAnimationFrame(()=>requestAnimationFrame(e))})}function ro(e){return`${e.scopeKey}:${e.item.id}`}function L2({selections:e,failed:t=!1,evictedLabel:r,onRemove:i,onClear:n,compact:o=!1,popoverAlign:a="end",class:s}){const c=he(),[l,d]=pe(!1),f=de(null),p=de(null),m=de(null),h=de(new Map),_=Tv(),g=e,$=g.length;if(Pe(()=>{$<=1&&d(!1)},[$]),Pe(()=>{if(!l)return;function I(C){f.current?.contains(C.target)||d(!1)}function x(C){C.key==="Escape"&&(d(!1),p.current?.focus())}return document.addEventListener("pointerdown",I),document.addEventListener("keydown",x),()=>{document.removeEventListener("pointerdown",I),document.removeEventListener("keydown",x)}},[l]),$===0&&!t)return null;const S=async(I,x)=>{const C=fd(f.current,document.activeElement),P=g.filter(D=>ro(D)!==ro(I));let z;try{z=await(i?i(I):n())}catch{return}pd(z)&&md(()=>{if(P.length===0){C?.isConnected&&C.focus({preventScroll:!0});return}if(P.length===1){m.current?.focus({preventScroll:!0});return}const D=P[Math.min(x,P.length-1)];h.current.get(ro(D))?.focus({preventScroll:!0})})},k=async()=>{const I=fd(f.current,document.activeElement);I&&I.focus({preventScroll:!0}),d(!1);try{const x=await n();if(!pd(x))return;md(()=>{I?.isConnected&&I.focus({preventScroll:!0})})}catch{}};return u("span",{ref:f,class:A("relative inline-flex min-w-0 max-w-full items-center gap-1.5","font-mono text-chip text-ink-muted",s),children:[$===1&&u("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:[u("span",{class:A("shrink-0 text-accent-text",o&&"sr-only"),children:c("context.active.label")}),u("span",{class:A("truncate text-ink",o&&"max-w-24"),title:g[0].item.label,children:g[0].item.label}),u("button",{ref:m,type:"button",onClick:()=>void S(g[0],0),class:A("-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":c("context.active.clear",{label:g[0].item.label}),title:c("context.active.clear",{label:g[0].item.label}),children:u("span",{"aria-hidden":"true",children:"×"})})]}),$>1&&u(De,{children:[u("button",{ref:p,type:"button",class:A("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":l,"aria-controls":_,"aria-haspopup":"dialog",onClick:()=>d(I=>!I),children:[u("span",{"aria-live":"polite","aria-atomic":"true",children:[c("context.active.label")," · ",$]}),u("span",{"aria-hidden":"true",class:"text-ink-faint",children:l?"▴":"▾"})]}),l&&u("span",{id:_,role:"dialog","aria-label":c("context.active.items"),class:A("absolute top-full z-30 mt-1.5 w-56 max-w-[calc(100vw-24px)]",a==="start"?"left-0":"right-0","rounded-card border border-line-modal bg-control p-1.5 shadow-modal"),children:[u("span",{class:"flex max-h-64 flex-col overflow-y-auto",children:g.map((I,x)=>u("span",{class:"flex min-w-0 items-center gap-2 rounded-badge px-1.5 py-1 hover:bg-sunken",children:[u("span",{class:"min-w-0 flex-1",children:[u("span",{class:"block truncate text-chip text-ink",children:I.item.label}),u("span",{class:"block truncate text-micro text-ink-faint",children:[I.item.view,I.item.value?` · ${I.item.value}`:""]})]}),u("button",{ref:C=>{const P=ro(I);C?h.current.set(P,C):h.current.delete(P)},type:"button",class:A("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":c("context.active.clear",{label:I.item.label}),title:c("context.active.clear",{label:I.item.label}),onClick:()=>void S(I,x),children:u("span",{"aria-hidden":"true",children:"×"})})]},`${I.scopeKey}:${I.item.id}`))}),u("button",{type:"button",class:A("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:()=>{k()},children:c("context.active.clear_all")})]})]}),t&&u("span",{role:"status",class:"inline-flex shrink-0 items-center gap-1 text-bad",title:c("context.active.error"),children:[u("span",{"aria-hidden":"true",children:"!"}),u("span",{class:o&&$>0?"sr-only":void 0,children:c("context.active.error")})]}),r&&u("span",{role:"status","aria-live":"polite",class:A("truncate text-micro text-ink-muted",o?"max-w-24":"max-w-36"),title:c("context.active.evicted",{label:r}),children:c("context.active.evicted",{label:r})})]})}const Z2="casys.erpnext/active-context",M2=2,Eo=8,F2=5*1024*1024,Yi={id:180,view:120,label:240,value:240,resourceUri:1024,resourceMimeType:160};function Zn(e){return typeof e=="object"&&e!==null}function Xi(e){return Zn(e?.updateModelContext?.structuredContent)?"structuredContent":Zn(e?.updateModelContext?.text)?"text":null}function q2(e){return Xi(e)!==null}function lv(e){for(const t of e){const r=t.codePointAt(0)??0;if(r<=31||r===127)return!0}return!1}function J2(e){const t=e.trim();return t.length>0&&t.length<=Yi.resourceUri&&/^[A-Za-z][A-Za-z0-9+.-]*:/.test(t)&&!lv(t)}function H2(e){const t=e.trim(),r=t.split(";",1)[0].trim();return t.length<=Yi.resourceMimeType&&/^[A-Za-z0-9!#$&^_.+-]+\/[A-Za-z0-9!#$&^_.+-]+$/.test(r)&&!lv(t)}function Qi(e){return e!==void 0&&e.bytes instanceof Uint8Array&&e.bytes.byteLength>0&&e.bytes.byteLength<=F2&&J2(e.uri)&&H2(e.mimeType)}function B2(e,t){return Xi(e)!==null&&Zn(e?.updateModelContext?.resource)&&Qi(t)}function uv(e){return typeof e=="object"&&e!==null&&"isError"in e&&e.isError===!0}function V2(e,t){return e.id===t.id&&e.view===t.view&&e.reconcileKey===t.reconcileKey&&e.label===t.label&&e.value===t.value&&K2(e.resource,t.resource)}function K2(e,t){if(e===t)return!0;if(!e||!t||e.uri!==t.uri||e.mimeType!==t.mimeType||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 dv(e){const{resource:t,...r}=e;return r}function pv(e){return e.item.resource?{...e,item:dv(e.item)}:e}function ea(e){let t=-1;for(let r=e.length-1;r>=0;r-=1)if(Qi(e[r].item.resource)){t=r;break}return e.map((r,i)=>i===t?r:pv(r))}function fv(e,t){return e.scopeKey===t.scopeKey&&V2(e.item,t.item)}function hd(e,t){return e.length===t.length&&e.every((r,i)=>fv(r,t[i]))}function oo(e,t,r){const i=ea(e),n=i.find(d=>d.scopeKey===t&&d.item.id===r.id)?.item,o=Qi(r.resource)?r.resource:void 0,a=o??n?.resource,s=r.resource===a?r:{...dv(r),...a?{resource:a}:{}},c=i.filter(d=>d.scopeKey!==t||d.item.id!==r.id).map(d=>o?pv(d):d);c.push({scopeKey:t,item:s});const l=Math.max(0,c.length-Eo);return{selections:c.slice(-Eo),evicted:l>0?c[l-1]:null}}function io(e,t){return ea(e.filter(r=>r.scopeKey===t))}function W2(e,t){return ea(e.filter(r=>r.scopeKey!==t.scopeKey||r.item.id!==t.item.id))}function mv(e,t=[]){let r=t.slice();for(const i of e)i.active&&(r=i.apply(r));return r}function G2(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:mv(t.slice(0,i),e),mutations:t.slice(i)}}function Y2(e,t,r){return Hl(e,t,r,()=>!0)}function X2(e,t,r,i){const n=o=>o.reconcileKey??o.view;return Hl(e,t,i.filter(o=>n(o)===r),o=>e.some(a=>a.scopeKey===t&&a.item.id===o&&n(a.item)===r))}function Q2(e,t,r,i){const n=`${r}:row:`,o=a=>a===r||a.startsWith(n);return Hl(e,t,i.filter(a=>o(a.id)),o)}function Hl(e,t,r,i){const n=new Map(r.map(c=>[c.id,c])),o=[];let a=!1;for(const c of e){if(c.scopeKey!==t||!i(c.item.id)){o.push(c);continue}const l=n.get(c.item.id);if(!l){a=!0;continue}const d=c.item.resource&&!l.resource?{...l,resource:c.item.resource}:l,f={scopeKey:t,item:d};fv(c,f)||(a=!0),o.push(f)}const s=ea(o);return s.some((c,l)=>c!==o[l])&&(a=!0),a?s:e.slice()}function eS(){let e=Promise.resolve();return{run(t){const r=e.then(t,t);return e=r.then(()=>{},()=>{}),r}}}function ga(e,t){const r=e.trim();if(!r)throw new TypeError(`Active context ${t} is empty`);return Array.from(r).slice(0,Yi[t]).join("")}function tS(e){if(e===void 0)return;const t=e.trim();if(t)return Array.from(t).slice(0,Yi.value).join("")}function nS(e){const t=tS(e.value);return{id:ga(e.id,"id"),view:ga(e.view,"view"),label:ga(e.label,"label"),...t===void 0?{}:{value:t}}}function rS(e){return{schema:Z2,version:M2,items:e.slice(-Eo).map(nS)}}function oS(e){for(let t=e.length-1;t>=0;t-=1)if(e[t].resource)return e[t].resource}function iS(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 aS(e){if(!Qi(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:iS(e.bytes)}}}async function hv(e,t){const r=e.getHostCapabilities(),i=Xi(r);if(!i)return"unsupported";try{const n=t.slice(-Eo),o=rS(n),a=oS(n),s=a&&Zn(r?.updateModelContext?.resource)?aS(a):void 0,c=i==="structuredContent"?{structuredContent:o,...s?{content:[s]}:{}}:{content:[{type:"text",text:JSON.stringify(o)},...s?[s]:[]]},l=await e.updateModelContext(c);return uv(l)?"error":"shared"}catch{return"error"}}async function va(e){const t=e.getHostCapabilities(),r=Xi(t);if(!r)return"unsupported";const i=Zn(t?.updateModelContext?.resource),n=r==="structuredContent"?{structuredContent:{},...i?{content:[]}:{}}:{content:[]};try{const o=await e.updateModelContext(n);return uv(o)?"error":"cleared"}catch{return"error"}}function gd(e){return e==="context"?"replace":e==="superseded"?"ignore":"failure"}function sS(e,t,r){return!t&&r?e:void 0}async function vd(e,t,r,i=()=>!0){if(await hv(e,t)==="shared")return"context";if(!i())return"superseded";const o=r?.trim();if(!o)return"none";const a=await sv(e,o);return i()?a?"message":"none":"superseded"}function cS(e,t){const[r,i]=pe([]),[n,o]=pe(!1),[a,s]=pe(null),c=de([]),l=de(t),d=de(t),f=de(0),p=de(!0),m=de(eS()),h=de([]),_=de([]),g=de(0),$=de(null),S=q2(e.getHostCapabilities());l.current!==t&&(l.current=t,f.current+=1,p.current=!1,h.current=[],_.current=[],g.current=0);const k=ae(Z=>{c.current=Z,i(Z)},[]),I=ae(()=>{const Z=G2(h.current,_.current);h.current=Z.base,_.current=Z.mutations},[]),x=ae((Z,V=!1)=>{const T={id:++g.current,active:!0,reversible:V,apply:Z};return _.current.push(T),I(),T},[I]),C=ae(Z=>{_.current.includes(Z)&&(Z.reversible=!1,I())},[I]),P=ae(()=>{h.current=[],_.current=[],g.current=0},[]),z=ae(()=>mv(_.current,h.current),[]),D=ae(async Z=>Z.length===0?await va(e):await hv(e,Z.map(V=>V.item)),[e]),R=ae(Z=>{$.current!==null&&clearTimeout($.current),s(Z),$.current=setTimeout(()=>{s(null),$.current=null},2400)},[]);Pe(()=>()=>{$.current!==null&&clearTimeout($.current)},[]),Fn(()=>{if(d.current===t)return;d.current=t;const Z=f.current;s(null),o(!1),m.current.run(async()=>{const V=await va(e);return V==="cleared"?(p.current=!0,P(),k([]),Z===f.current&&o(!1)):Z===f.current&&(p.current=!1,o(!0)),V})},[e,k,P,t]);const J=ae(async(Z,V)=>{const T=f.current;return o(!1),await m.current.run(async()=>{if(T!==f.current)return"superseded";const O=c.current,H=fe=>oo(io(fe,t),t,Z).selections,q=oo(io(O,t),t,Z),ve=q.selections,ze=sS(V,O.length>0,p.current),N=await vd(e,ve.map(fe=>fe.item),ze,()=>T===f.current),Q=gd(N),ee=T===f.current;if(Q==="replace")p.current=!1,ee&&x(H),k(ve),o(!1),ee&&q.evicted&&R(q.evicted.item.label);else if(Q==="failure"){if(!ee)return"superseded";o(!0)}return ee?N:"superseded"})},[R,e,k,x,t]),te=ae(async Z=>{const V=f.current;return o(!1),await m.current.run(async()=>{if(V!==f.current)return;const T=io(c.current,t),O=ee=>oo(io(ee,t),t,Z).selections,H=oo(T,t,Z),q=H.selections,ve=await vd(e,q.map(ee=>ee.item),void 0,()=>V===f.current),ze=gd(ve);if(ze!=="replace"){V===f.current&&ze==="failure"&&o(!0);return}if(p.current=!1,k(q),o(!1),V!==f.current)return;const N=x(O,!0);H.evicted&&R(H.evicted.item.label);const Q=async()=>{o(!1);const ee=await m.current.run(async()=>{if(V!==f.current)return"superseded";if(!N.active||!_.current.includes(N))return"unchanged";const fe=c.current;N.active=!1;const Se=z();if(hd(fe,Se))return"unchanged";const ne=await D(Se);return(ne==="shared"||ne==="cleared")&&(p.current=Se.length===0,k(Se),s(null),o(!1)),V!==f.current?"superseded":(ne!=="shared"&&ne!=="cleared"&&(N.active=!0,o(!0)),ne)});return ee==="shared"||ee==="cleared"||ee==="unchanged"};return Q.release=()=>C(N),Q})},[R,e,k,x,C,D,z,t]),X=ae(async()=>(o(!1),s(null),await m.current.run(async()=>{const Z=await va(e);return Z==="cleared"?(p.current=!0,P(),k([]),o(!1)):o(!0),Z})),[e,k,P]),le=ae(async Z=>(o(!1),await m.current.run(async()=>{const V=c.current,T=q=>W2(q,Z),O=T(V);if(O.length===V.length)return x(T),"unchanged";const H=await D(O);return H==="shared"||H==="cleared"?(p.current=O.length===0,x(T),k(O),o(!1)):o(!0),H})),[k,x,D]),Y=ae(async Z=>await m.current.run(async()=>{const V=c.current,T=q=>Z(q),O=T(V);if(hd(V,O))return x(T),"unchanged";const H=await D(O);return H==="shared"||H==="cleared"?(p.current=O.length===0,x(T),k(O),o(!1)):o(!0),H}),[k,x,D]),U=ae(Z=>Y(V=>Y2(V,t,Z)),[Y,t]),M=ae((Z,V)=>Y(T=>X2(T,t,Z,V)),[Y,t]),F=ae((Z,V)=>Y(T=>Q2(T,t,Z,V)),[Y,t]),B=ae(Z=>c.current.some(V=>V.scopeKey===t&&V.item.id===Z.id),[t]);return{selections:r,failed:n,evictedLabel:a,supported:S,activate:J,activateReversible:te,remove:le,clear:X,reconcile:U,reconcileView:M,reconcileDocument:F,isSelected:B}}const Qe=new zl({name:"Doclist Viewer",version:"2.0.0"}),lS=15e3,uS=1e4;function dS(){const e=he(),t=U2(),[r,i]=pe(t?ud:null),[n,o]=pe(!t),[a,s]=pe(!1),[c,l]=pe(null),[d,f]=pe(0),[p,m]=pe(0),h=de(0),_=de(t?ud:null),g=de(null),$=de(K$()),S=de(0);function k(z){_.current=z,g.current=ra(z,g.current),i(z);const D=++h.current;f(D)}function I(z){if(z.isError){const R=Rt(z);return l(R??e("doclist.error.tool_error")),o(!1),!1}const D=Rt(z);if(!D)return!1;try{const R=JSON.parse(D);if(!R)return!1;if(!Array.isArray(R.data))if(R._title||R._rowAction||R.count!=null)R.data=[];else return!1;return k(R),l(null),o(!1),!0}catch{return l(e("doclist.error.parse_payload")),o(!1),!1}}async function x(z={}){if(t)return!1;const D=ra(_.current,g.current);if(!D||!dd(Qe.getHostCapabilities()?.serverTools,_.current?._availableTools,D))return!1;const R=$.current;if(R.inFlight!==null)return z.force&&($.current=Lu(R,{force:!0}).state),!1;const J=!!(z.force||R.pendingForced);if(!G$({request:D,visibilityState:typeof document>"u"?"visible":document.visibilityState,refreshInFlight:!1,now:Date.now(),lastRefreshStartedAt:S.current,minIntervalMs:lS},{ignoreInterval:z.ignoreInterval||J}))return!1;const te=Lu(R,{force:J});if(te.generation===null)return!1;$.current=te.state,S.current=Date.now(),s(!0);let X=null,le=null;try{X=await Qe.callServerTool({name:D.toolName,arguments:D.arguments},{timeout:uS})}catch(M){le={cause:M}}const Y=W$($.current,te.generation);$.current=Y.state;let U=!1;return Y.accept&&(le?l(Y$(le.cause)):X?.isError?l(e("common.error.refresh_failed")):X&&I(X)?U=!0:l(e("common.error.refresh_no_data"))),s(!1),Y.runPending&&x({ignoreInterval:!0,force:!0}),U}if(Pe(()=>{t||(Qe.ontoolresult=z=>{$.current=Zu($.current),I(z)},Qe.ontoolinputpartial=()=>{_.current||o(!0)},Qe.connect().then(()=>Rv(Qe)).catch(()=>{}))},[t]),Pe(()=>{if(t)return;const z=()=>void x({ignoreInterval:!0}),D=()=>{document.visibilityState==="visible"&&x({ignoreInterval:!0})};return window.addEventListener("focus",z),document.addEventListener("visibilitychange",D),()=>{window.removeEventListener("focus",z),document.removeEventListener("visibilitychange",D)}},[t]),n)return u(Tg,{});if(!r)return u(ax,{});const C=ra(r,g.current),P=!t&&dd(Qe.getHostCapabilities()?.serverTools,r._availableTools,C);return u(pS,{data:r,error:c,refreshing:a,fixture:t,refreshAvailable:P,rootFreshEvent:d,rootMutationEvent:p,onRefresh:()=>void x({ignoreInterval:!0}),onMutationInvalidate:()=>{const z=++h.current;m(z),$.current=Zu($.current)},onMutationRefresh:()=>void x({ignoreInterval:!0,force:!0}),onError:l})}function pS({data:e,error:t,refreshing:r,fixture:i,refreshAvailable:n,rootFreshEvent:o,rootMutationEvent:a,onRefresh:s,onMutationInvalidate:c,onMutationRefresh:l,onError:d}){const f=he(),{ref:p,layout:m,boundsStyle:h}=V$(),_=e._title??e.doctype??f("doclist.title.default"),g=Mw("doclist",e.refreshRequest,{doctype:e.doctype??null,title:e.doctype?null:_}),$=E2(Qe,{title:_,kind:"root",origin:"list",key:g},{fixture:i,rootList:e}),S=$.nav,{current:k,isRoot:I}=S,{jumpsEnabled:x,ask:C}=$,P=I?e:Jl(k),{list:z}=$,D=I||k.kind==="list",R=S.stack.levels[0].id,J=cS(Qe,g),te=i?void 0:Qe.getHostCapabilities(),X={supported:!i&&J.supported,activate:J.activate,activateReversible:J.activateReversible,reconcileView:J.reconcileView,reconcileDocument:J.reconcileDocument,isSelected:J.isSelected,canShareResource:Y=>B2(te,Y)},le=u(L2,{selections:J.selections,failed:J.failed,evictedLabel:J.evictedLabel,onRemove:J.remove,onClear:J.clear,compact:m!=="wide"});return Fn(()=>{o>a&&S.clearStale(R)},[o,a,R]),u($g,{style:h,containerRef:p,children:[u(E$,{title:I?_:k.title,count:D?I?e.count??z.rows.length:k.count:void 0,live:I&&n&&!t,layout:m,actions:u(De,{children:[le,D&&!k.loading&&u(De,{children:[u(sx,{value:z.filter,layout:m,open:z.searchOpen,onOpenChange:z.setSearchOpen,onInput:z.setFilter}),m==="wide"&&u(De,{children:[I&&n&&u(xo,{disabled:r,title:f("common.refresh"),onClick:s,children:r?"…":"↻"}),u(xo,{onClick:()=>ox(z.columns,z.sorted,P.doctype),children:"CSV"})]})]})]})}),u(C2,{layout:m,stack:S.stack,onBack:S.pop,onJump:S.popTo,loading:k.loading}),m==="panel"&&(J.selections.length>0||J.failed)&&u("div",{class:"flex shrink-0 justify-end border-b border-line-soft bg-sunken px-3 py-2",children:le}),u(w2,{level:k,app:Qe,list:z,layout:m,fixture:i,onJump:x?S.jump:void 0,onAsk:C,onError:d,onMutated:S.markStale,onDocumentChanged:S.reportDocumentChange,onMutationInvalidate:n?c:void 0,onMutationRefresh:n?l:void 0,onRefresh:()=>void S.refreshLevel(),context:X,contextView:_,children:u(ov,{app:Qe,data:e,list:z,layout:m,fixture:i,error:t,stale:S.stack.levels[0].stale,onRefresh:n?s:void 0,onMutationInvalidate:n?c:void 0,onMutationRefresh:n?l:void 0,onMutated:S.markStale,onDocumentChanged:S.reportDocumentChange,onError:d,onJump:x?S.jump:void 0,onAsk:C,context:X,contextView:_,contextKey:g},g)}),u(O$,{layout:m})]})}Mv(Fv());Sv(u(dS,{}),document.getElementById("app"));</script>
113
113
  <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-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;--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-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}.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}.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)}.-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-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}.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-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%}.max-w-24{max-width:calc(var(--spacing) * 24)}.max-w-36{max-width:calc(var(--spacing) * 36)}.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-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}.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}.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)}.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-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}.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-\[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\/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-r-accent{border-right-color:var(--color-accent)}.border-r-transparent{border-right-color:#0000}.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\.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-\[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-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-\[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-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-\[13px\]{font-size:13px}.text-\[14px\]{font-size:14px}.text-\[15px\]{font-size:15px}.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)}.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-ink-muted:hover{border-color:var(--color-ink-muted)}.hover\:border-line-hover:hover{border-color:var(--color-line-hover)}.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\/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\: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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iRRk8z5qYgo0a6uOXuPWrd/W6OPj48PnYcmBY3D5yc8EXX8yi0UZLZV+bRsNyjt+uDnj8+VM8pHU+kUSZ2j4j86N6DCvlqDcPGHXtwhdUznoC/i1z7CwJquBCaN9AiadhvqmpyuyUsBvG+KKa0G9ARyLXAGofNyKHDXRrDhzT53JHiJjGxNz/S1YwH811K+hRlULwi4+1SCTTzda4IT1PCa6w2iNQkFrxRpvSANT5OOcV43GcME9k3DoWkw0zasRzwjAa5QShObg60bEiyNR+YDlsaUY5FRaj24gUEjEKOdx0jUMjS152iOKAi6znN5ClY6+aQGyg/PmzqAppe/TplnFb8KaaqRSFIlDk7YDUIXBwkk7bzRe6U8VZufX2Us2C8eHJ+lwrxATkSNdSQUPNF4pwDVKYv2Pr1LO4dn6JR/Jn+eoq7ltPCnngDq88an2NdKoXqdm0GGBl9oD+iCgJquEFpPPT4IlJVxt2bVNyhnIDb79BtuqmL0/UC4p84EzV3O04zpcu2hHTvclQQHPraEFXLbC3gTNBbCw81EPB6YbgVhi7SQq59Ez3MnLKitWcJJJOl9CMpn2ngu6AGy9lEF+k1iAM4nyWBwIEwpxODYS0qRUgMnuo2+S0bUJGj9PBNnBZeVsBozZ/wB2g69LwLrOVINXQ3jP3/Vw71ve2/7zs=)format("woff2")}@font-face{font-family:Space Grotesk;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/t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wSaukKzMM5om3xZ2TN4y5Y/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+EQgKgaZogYVUC4U6ADCB92ABNgIkA4pwBCAFiXYHkRpbSIORxfNN7v1jU6U5hM6xbSvRA3niVqoLipOlY/6odg0v9bwaMy1u0YEcNg4G3Mwr2f//////b0gmMmaXFC5J2wIAMpVXp7gHNZppZiBMONzhgu4mIpccIAPujooGa0XLQ/MR5ES0Grlkd2Xw2QUJwrS6FDgFQWQGuRLuAU/dLiqpkkn79IMaIuKKiJtKQfV+lMte5xua/CcpKSkpW82FMsssmd5kSOJSvDyEj4inrOpGF1VagSvX5BwT1peIEO7CpaXRhblwL4hYVEv/7UUpc0V09+5Fzvle8kdl+tGLWgtKdPLGE76f6R+dmDSCV8Uw2fnbWvvGqj6IrW745K7/QP2RvraGdorau3jHYWMQG+iuOoVhx4/Z+a1KwTGiUg4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CE5bwyBLBCJXcAULe6JG76gs+hnxfr6//bJzX7aZv4VFgicyBREWRaEW+QYxSsfqJSWziokp8EpKI5m9v9GFZw1qdKB22ThJSkqNmi6xUiePKVfgB4/m9tkjT0w3TYrXZHU6X2+P1+VdpuxMOGNgHlMjELFWadBkyZcmWE3ZCm2xf7anFNovXBYetvM5PFgC2jNfbstif6LypgbnbjWyRE8XnmTW8I3ux1SuzuBn4/3SbuS8zrjzml1o+WZ/+Nvb2sqBQcJxHQbIlNUXGzSmovM0SKktOJpcjW/coSLCLUh2gfOPD+awXrwevhYepO7XrpevV93Zj/q2M6Be6vrt+fP9xlnTv0D9fz3QZEQCdqUJa3n2O02e+/A0xVHYMU1EVa0ddWVcRbXe0zUvuxrpt7vqwPNy2+JIoP+0FNGehv+JAxdH++IrasQwPYJ0vLQ5o2keqqJOThggC3XEa0P1EJFq2qL757jJEj8JyhJYlBpIkAgTL0dwjGOrb8AI9wAABAyC4DdAAgNGk2JaFYAq0ewLgzv3QcKKMEfxj/8Q/9c+G50P2BIytZAbSFKc89LM5Ag6gExxl/cgARzj3lXU+iCNV2LEpJDZDlFzAIsej3LgRtNCiACNgjrjLCDGKV2WvvK8bGaF0utTQOshLQ4pLlGXZgORFwknEGnmxzwISHbdQ7b6Se0Boj1VXP8k6y+K6TFgi4UCUktMgSrFKIC/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-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>
114
114
  </head>
115
115
  <body>