agentic-numerical-control 0.1.5 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,156 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta name="color-scheme" content="light dark">
7
+ <title>Set-up</title>
8
+ <script type="module" crossorigin>var Ju=Object.defineProperty;var Vu=(e,t,n)=>t in e?Ju(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var I=(e,t,n)=>Vu(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();var Bu=Object.create,Ys=Object.defineProperty,Ku=Object.getOwnPropertyDescriptor,Wu=Object.getOwnPropertyNames,Gu=Object.getPrototypeOf,Yu=Object.prototype.hasOwnProperty,Qu=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Xu=(e,t)=>{let n={};for(var o in e)Ys(n,o,{get:e[o],enumerable:!0});return n},ed=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(var s=Wu(t),i=0,a=s.length,l;i<a;i++)l=s[i],!Yu.call(e,l)&&l!==n&&Ys(e,l,{get:(c=>t[c]).bind(null,l),enumerable:!(o=Ku(t,l))||o.enumerable});return e},td=(e,t,n)=>(n=e!=null?Bu(Gu(e)):{},ed(Ys(n,"default",{value:e,enumerable:!0}),e));const nd=new Set(["https://json-schema.org/draft/2019-09/schema","http://json-schema.org/draft/2019-09/schema"]);function od(e){return typeof e=="string"&&nd.has(e.replace(/#$/,""))}function Is(e){const t=Object.values(e).filter(o=>typeof o=="number");return Object.entries(e).filter(([o,s])=>t.indexOf(+o)===-1).map(([o,s])=>s)}function er(e,t="|"){return e.map(n=>ra(n)).join(t)}function Ns(e,t){return typeof t=="bigint"?t.toString():t}class sd{constructor(t){this._getter=t,this._value=void 0}get value(){const t=this._getter;return t!==void 0&&(this._value=t(),this._getter=void 0),this._value}}function Yo(e){return new sd(e)}function id(e){return e==null}function Qs(e){const t=e.startsWith("^")?1:0,n=e.endsWith("$")?e.length-1:e.length;return e.slice(t,n)}function rd(e,t){const n=e/t,o=Math.round(n),s=4*Number.EPSILON*Math.max(Math.abs(n),1);return Math.abs(n-o)<s?0:n-o}const tr=Symbol("evaluating");function ad(e,t,n){let o;Object.defineProperty(e,t,{get(){if(o!==tr)return o===void 0&&(o=tr,o=n()),o},set(s){Object.defineProperty(e,t,{value:s})},configurable:!0})}function Ne(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Xs(e){const t=Object.getOwnPropertyDescriptor(e,"shape");return t!=null&&t.get?t.get.raw:t==null?void 0:t.value}function Ae(e){return Xs(e._zod.def)??e._zod.def.shape}function na(e,t,n){Object.defineProperty(e,t,{get(){const o=n();return Ne(this,t,o),o},enumerable:!0,configurable:!0})}function oa(e,t,n){t in e?Ne(e,t,n):e[t]=n}function ut(e,t,n,o){const s=Ae(t);for(const i of n){const a=Object.getOwnPropertyDescriptor(s,i);a.enumerable&&(a.get?na(e,i,()=>{const l=t._zod.def.shape[i];return o?o(l,i):l}):oa(e,i,o?o(a.value,i):a.value))}}function cd(e,t){for(const n of Reflect.ownKeys(t)){const o=Object.getOwnPropertyDescriptor(t,n);o.enumerable&&(o.get?na(e,n,()=>t[n]):oa(e,n,o.value))}}function ge(...e){const t={};for(const n of e){const o=Object.getOwnPropertyDescriptors(n);Object.assign(t,o)}return Object.defineProperties({},t)}function ld(e){return JSON.stringify(e)}function ud(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const sa="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Xn(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const dd=Yo(()=>{var e;if(Ce.jitless||typeof navigator<"u"&&((e=navigator==null?void 0:navigator.userAgent)!=null&&e.includes("Cloudflare")))return!1;try{const t=Function;return new t(""),!0}catch{return!1}});function Lt(e){if(Xn(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const n=t.prototype;return!(Xn(n)===!1||Object.prototype.hasOwnProperty.call(n,"isPrototypeOf")===!1)}function ia(e){return Lt(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}const pd=new Set(["string","number","symbol"]);function At(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function Ke(e,t,n){const o=new e._zod.constr(t??e._zod.def);return(!t||n!=null&&n.parent)&&(o._zod.parent=e),o}function E(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if((t==null?void 0:t.message)!==void 0){if((t==null?void 0: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 ra(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!==void 0&&e[t]._zod.optout==="optional")}const aa={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]},hd={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function fd(e,t){const n=e._zod.def,o=n.checks;if(o&&o.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const i={};return ut(i,e,Qo(e,t)),Ke(e,ge(n,{shape:i,checks:[]}))}function Qo(e,t){var s;const n=Ae(e),o=[];for(const i of Reflect.ownKeys(t)){if(!((s=Object.getOwnPropertyDescriptor(n,i))!=null&&s.enumerable))throw new Error(`Unrecognized key: "${String(i)}"`);t[i]&&o.push(i)}return o}function Sd(e,t){const n=e._zod.def,o=n.checks;if(o&&o.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const i=new Set(Qo(e,t)),a={};return ut(a,e,Reflect.ownKeys(Ae(e)).filter(l=>!i.has(l))),Ke(e,ge(n,{shape:a,checks:[]}))}function gd(e,t){if(!Lt(t))throw new Error("Invalid input to extend: expected a plain object");const n=e._zod.def.checks;if(n&&n.length>0){const s=Ae(e);for(const i of Reflect.ownKeys(t))if(Object.getOwnPropertyDescriptor(s,i)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return Ke(e,ge(e._zod.def,{shape:ca(e,t)}))}function ca(e,t){const n={};return ut(n,e,Reflect.ownKeys(Ae(e))),cd(n,t),n}function _d(e,t){if(!Lt(t))throw new Error("Invalid input to safeExtend: expected a plain object");return Ke(e,ge(e._zod.def,{shape:ca(e,t)}))}function bd(e,t){var s,i;if(!((s=t==null?void 0:t._zod)!=null&&s.def))throw new Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");if((i=e._zod.def.checks)!=null&&i.length)throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");const n={};ut(n,e,Reflect.ownKeys(Ae(e))),ut(n,t,Reflect.ownKeys(Ae(t)));const o=ge(e._zod.def,{shape:n,get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]});return Ke(e,o)}function nr(e,t,n,o="partial"){const i=t._zod.def.checks;if(i&&i.length>0)throw new Error(`.${o}() cannot be used on object schemas containing refinements`);const l=n?new Set(Qo(t,n)):void 0,c={};return ut(c,t,Reflect.ownKeys(Ae(t)),e&&((p,m)=>l&&!l.has(m)?p:new e({type:"optional",innerType:p}))),Ke(t,ge(t._zod.def,{shape:c,checks:[]}))}function yd(e,t,n){const o=n?new Set(Qo(t,n)):void 0,s={};return ut(s,t,Reflect.ownKeys(Ae(t)),(i,a)=>o&&!o.has(a)?i:new e({type:"nonoptional",innerType:i})),Ke(t,ge(t._zod.def,{shape:s}))}function Le(e,t=0){var n;if(e.aborted===!0)return!0;for(let o=t;o<e.issues.length;o++)if(((n=e.issues[o])==null?void 0:n.continue)!==!0)return!0;return!1}function vd(e,t=0){var n;if(e.aborted===!0)return!0;for(let o=t;o<e.issues.length;o++)if(((n=e.issues[o])==null?void 0:n.continue)===!1)return!0;return!1}function qt(e,t){return t.map(n=>{var o;return(o=n).path??(o.path=[]),n.path.unshift(e),n})}function Fn(e){return typeof e=="string"?e:e==null?void 0:e.message}function or(e){const t=[];for(const n of e??[]){const o=n._zod.def;if(!/_(length|size)$|_equals$/.test(o.check))break;const s=o.maximum??o.length??o.size;s>=0&&t.push([s,n])}return t}function zs(e,t,n){var o;for(let s=t;s<e.length;s++)(o=e[s]).schema??(o.schema=n)}function Ve(e,t,n){var c,p,m,h,f,g,b,v,R,T;var o;const s=(p=(c=e.inst)==null?void 0:c._zod)==null?void 0:p.traits;s!=null&&s.has("$ZodType")&&(s.has("$ZodCheck")?(o=e).schema??(o.schema=e.inst):e.schema=e.inst);const i=e.schema!==e.inst?(h=(m=e.schema)==null?void 0:m._zod.def)==null?void 0:h.error:void 0,a=e.message?e.message:Fn((b=(g=(f=e.inst)==null?void 0:f._zod.def)==null?void 0:g.error)==null?void 0:b.call(g,e))??Fn(i==null?void 0:i(e))??Fn((v=t==null?void 0:t.error)==null?void 0:v.call(t,e))??Fn((R=n.customError)==null?void 0:R.call(n,e))??Fn((T=n.localeError)==null?void 0:T.call(n,e))??"Invalid input",l={};for(const C of Object.keys(e))C==="inst"||C==="schema"||C==="continue"||C==="input"||C==="__proto__"||(l[C]=e[C]);return l.path??(l.path=[]),l.message=a,t!=null&&t.reportInput&&(l.input=e.input),l}const Rd=/[\uD800-\uDBFF]/;function ei(e){const t=e.length;if(!Rd.test(e))return t;let n=t;for(let o=0;o<t-1;o++)(e.charCodeAt(o)&64512)===55296&&(e.charCodeAt(o+1)&64512)===56320&&(n--,o++);return n}function ti(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function wd(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 n=e;if(n&&Object.getPrototypeOf(n)!==Object.prototype&&"constructor"in n&&n.constructor)return n.constructor.name}}return t}function eo(...e){const[t,n,o]=e;return typeof t=="string"?{message:t,code:"custom",input:n,inst:o}:{...t}}function Td(e,t){for(const n in t){const o=Object.getOwnPropertyDescriptor(t,n);o.get?Object.defineProperty(e,n,{...o,enumerable:!1}):Pd(e,n,o.value)}}function Be(e,t,n,o=!0){return Object.defineProperty(e,t,{configurable:!0,writable:!0,enumerable:o,value:n}),n}function la(e,t,n){return Be(e,t,n,!1)}function ua(e,t){for(const n in e){const o=e[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!0,get(){return Be(this,n,o(this))},set(s){Be(this,n,s)}})}return t}function Pd(e,t,n){Object.defineProperty(e,t,{configurable:!0,get(){return this==null?n:Be(this,t,n.bind(this))},set(o){Be(this,t,o)}})}function kd(e,t){const n=Object.getPrototypeOf(e);return t in n?void 0:n}let bs,Fe=!1;const Cd={configurable:!0,get(){Fe=!0}};function x(e,t,n){const o=Object.getPrototypeOf(e._zod);if(t in o&&bs!==e._zod){bs=void 0;return}bs=e._zod,Object.defineProperty(o,t,{configurable:!0,get(){Object.defineProperty(this,t,Cd);const s=Fe;Fe=!1;try{const i=n(this);return Fe?delete this[t]:Object.defineProperty(this,t,{configurable:!0,writable:!0,value:i}),Fe=Fe||s,i}catch(i){throw delete this[t],Fe=Fe||s,i}},set(s){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:s})}})}function $d(e,t,n,o){const s=kd(e,t);s&&Object.defineProperty(s,t,{configurable:!0,get(){const i={configurable:!0,writable:!0,enumerable:o,value:void 0};return Object.defineProperty(this,t,i),i.value=n(this),Object.defineProperty(this,t,i),i.value},set(i){Object.defineProperty(this,t,{configurable:!0,writable:!0,enumerable:o,value:i})}})}const Ed="~constantCatch";function Od(e){const t=()=>e;return t[Ed]=!0,t}var sr;const qd=Object.freeze({status:"aborted"}),ys={value:void 0,enumerable:!1};let ir="captureStackTrace"in Error?Error:null;function Id(e){const t=ir;if(t){const n=t.stackTraceLimit;if(typeof n=="number"){try{t.stackTraceLimit=0}catch{return ir=null,new e}try{return new e}finally{t.stackTraceLimit=n}}}return new e}function _(e,t,n,o){const s={};function i(f){this.def=f,this.constr=h,this.traits=new Set}i.prototype=s;const a=n,l=a&&new WeakSet;function c(f,g){if(f._zod){if(f._zod.traits.has(e))return}else{ys.value=new i(g);try{Object.defineProperty(f,"_zod",ys)}finally{ys.value=void 0}}if(f._zod.traits.add(e),t(f,g),l){const v=Object.getPrototypeOf(f),R=f._zod.constr.prototype;let T=v;for(;T&&T!==R;)T=Object.getPrototypeOf(T);const C=T??v;l.has(C)||(l.add(C),Td(C,a))}const b=h.prototype;for(const v in b)Object.prototype.hasOwnProperty.call(b,v)&&(v in f||(f[v]=b[v].bind(f)))}const p=(o==null?void 0:o.Parent)??Object;class m extends p{}Object.defineProperty(m,"name",{value:e});function h(f){var R;const g=o!=null&&o.Parent?Id(m):this;c(g,f);const b=g._zod.deferred;if(b){for(const T of b)T();g._zod.deferred=void 0}const v=(R=globalThis.__zod_globalConfig)==null?void 0:R.postProcessor;return v&&v(g),g}return Object.defineProperty(h,"init",{value:c}),Object.defineProperty(h,Symbol.hasInstance,{value:f=>{var g,b;return o!=null&&o.Parent&&f instanceof o.Parent?!0:(b=(g=f==null?void 0:f._zod)==null?void 0:g.traits)==null?void 0:b.has(e)}}),Object.defineProperty(h,"name",{value:e}),h}class ct extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class da extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}(sr=globalThis).__zod_globalConfig??(sr.__zod_globalConfig={});const Ce=globalThis.__zod_globalConfig;function $e(e){return e&&Object.assign(Ce,e),Ce}function Nd(){const e=this._zod;return e.message??(e.message=JSON.stringify(e.def,Ns,2)),e.message}function zd(e){this._zod.message=e}const xd={get:Nd,set:zd,enumerable:!0,configurable:!0},vs={value:void 0,enumerable:!1},rr=new WeakSet([Object.prototype,Error.prototype]),Md=(e,t)=>{e.name="$ZodError",vs.value=t,Object.defineProperty(e,"issues",vs),vs.value=void 0,Object.defineProperty(e,"message",xd);const n=Object.getPrototypeOf(e);rr.has(n)||(rr.add(n),Object.defineProperty(n,"toString",{configurable:!0,enumerable:!1,get(){const o=()=>this.message;return Object.defineProperty(this,"toString",{value:o,configurable:!0,writable:!0}),o},set(o){Object.defineProperty(this,"toString",{value:o,configurable:!0,writable:!0})}}))},Ld=_("$ZodError",Md);function Ad(e,t,n){return Object.prototype.hasOwnProperty.call(e,t)||(t==="__proto__"?Object.defineProperty(e,t,{value:n(),writable:!0,enumerable:!0,configurable:!0}):e[t]=n()),e[t]}function jd(e,t=n=>n.message){const n={},o=[];for(const s of e.issues)s.path.length>0?Ad(n,s.path[0],()=>[]).push(t(s)):o.push(t(s));return{formErrors:o,fieldErrors:n}}function Zd(e,t=n=>n.message){const n={_errors:[]},o=(s,i=[])=>{for(const a of s.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(l=>o({issues:l},[...i,...a.path]));else if(a.code==="invalid_key")o({issues:a.issues},[...i,...a.path]);else if(a.code==="invalid_element")o({issues:a.issues},[...i,...a.path]);else{const l=[...i,...a.path];if(l.length===0)n._errors.push(t(a));else{let c=n,p=0;for(;p<l.length;){const m=l[p],h=p===l.length-1;if(m==="_errors"){h&&c._errors.push(t(a)),p++;continue}Object.prototype.hasOwnProperty.call(c,m)||Object.defineProperty(c,m,{value:{_errors:[]},enumerable:!0,writable:!0,configurable:!0});const f=c[m];h&&f._errors.push(t(a)),c=f,p++}}}};return o(e),n}function Xo(e,t){return{callee:(t==null?void 0:t.callee)??e,Err:t==null?void 0:t.Err}}const ni=e=>{const t=(n,o,s,i)=>{const a=s?{...s,async:!1}:{async:!1},l=n._zod.run({value:o,issues:[]},a);if(l instanceof Promise)throw new ct;if(l.issues.length){const c=new((i==null?void 0:i.Err)??e)(l.issues.map(p=>Ve(p,a,$e())));throw sa(c,(i==null?void 0:i.callee)??t),c}return l.value};return t},oi=e=>{const t=async(n,o,s,i)=>{const a=s?{...s,async:!0}:{async:!0};let l=n._zod.run({value:o,issues:[]},a);if(l instanceof Promise&&(l=await l),l.issues.length){const c=new((i==null?void 0:i.Err)??e)(l.issues.map(p=>Ve(p,a,$e())));throw sa(c,(i==null?void 0:i.callee)??t),c}return l.value};return t},si=e=>(t,n,o)=>{const s=o?{...o,async:!1}:{async:!1},i=t._zod.run({value:n,issues:[]},s);if(i instanceof Promise)throw new ct;return i.issues.length?pa(e,i.issues,s):{success:!0,data:i.value}};function pa(e,t,n){let o;return{success:!1,get error(){return o||(o=new e(t.map(s=>Ve(s,n,$e()))),t=void 0,n=void 0),o},set error(s){o=s,t=void 0,n=void 0}}}const ii=e=>async(t,n,o)=>{const s=o?{...o,async:!0}:{async:!0};let i=t._zod.run({value:n,issues:[]},s);return i instanceof Promise&&(i=await i),i.issues.length?pa(e,i.issues,s):{success:!0,data:i.value}},Ud=Symbol.for("zod.compile.invalid"),Dd=Symbol.for("zod.compile.fallback"),Hd=((e,t,n)=>{const o=e._zod.bag.validator;if(o!==void 0){if(o(t)!==Ud)return!0;if(o.definite===!0&&n===void 0)return!1}return Fd(e,t,n)});function Fd(e,t,n){const o=n?{...n,async:!1,abortEarly:!0}:{async:!1,abortEarly:!0},s=e._zod.bag.fallbackRun;let i;if(s?(o[Dd]=!0,i=s({value:t,issues:[]},o)):i=e._zod.run({value:t,issues:[]},o),i instanceof Promise)throw new ct;return i.issues.length===0}const Jd=async(e,t,n)=>{const o=n?{...n,async:!0,abortEarly:!0}:{async:!0,abortEarly:!0};let s=e._zod.run({value:t,issues:[]},o);return s instanceof Promise&&(s=await s),s.issues.length===0},Vd=e=>{const t=ni(e),n=(o,s,i,a)=>{const l=i?{...i,direction:"backward"}:{direction:"backward"};return t(o,s,l,Xo(n,a))};return n},Bd=e=>{const t=ni(e),n=(o,s,i,a)=>t(o,s,i,Xo(n,a));return n},Kd=e=>{const t=oi(e),n=async(o,s,i,a)=>{const l=i?{...i,direction:"backward"}:{direction:"backward"};return await t(o,s,l,Xo(n,a))};return n},Wd=e=>{const t=oi(e),n=async(o,s,i,a)=>await t(o,s,i,Xo(n,a));return n},Gd=e=>(t,n,o)=>{const s=o?{...o,direction:"backward"}:{direction:"backward"};return si(e)(t,n,s)},Yd=e=>(t,n,o)=>si(e)(t,n,o),Qd=e=>async(t,n,o)=>{const s=o?{...o,direction:"backward"}:{direction:"backward"};return ii(e)(t,n,s)},Xd=e=>async(t,n,o)=>ii(e)(t,n,o),ep=/^[cC][0-9a-z]{6,}$/,tp=/^[0-9a-z]+$/,np=/^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/,op=/^[0-9a-vA-V]{20}$/,sp=/^[A-Za-z0-9]{27}$/,ip=/^[a-zA-Z0-9_-]{21}$/;function rp(e){return new RegExp(`^[a-zA-Z0-9_-]{${e}}$`)}const ap=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,cp=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,ar=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,lp=/^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,up="^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$";function dp(){return new RegExp(up,"u")}const pp=/^(?:(?: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])$/,mp=/^(([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}|:))$/,hp=/^((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])$/,fp=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Sp=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,gp=/^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/,_p=/^https?$/,bp=/^\+[1-9]\d{6,14}$/,ma="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))";function yp(e){return new RegExp(`^${e}$`)}const vp=yp(ma);function xs(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}}`:e.seconds?`${t}:[0-5]\\d(?:\\.\\d+)?`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Rp(e){return new RegExp(`^${xs(e)}$`)}function wp(e){const t=["Z"];e.offset&&t.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const n=`${xs({precision:e.precision,seconds:!0})}(?:${t.join("|")})`,o=e.local?`${n}|${xs({precision:e.precision})}`:n;return new RegExp(`^${ma}T(?:${o})$`)}const Tp=/^[\s\S]{0,}$/,Pp=/^-?\d+$/,ri=/^-?\d+(?:\.\d+)?$/,kp=/^(?:true|false)$/i,Cp=/^null$/i,$p=/^undefined$/i,Ep=/^[^A-Z]*$/,Op=/^[^a-z]*$/,ue=_("$ZodCheck",(e,t)=>{var n;e._zod??(e._zod={}),e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),ai=e=>{const t=e.value;return!id(t)&&t.length!==void 0},Lo={number:"number",bigint:"bigint",object:"date"},ha=_("$ZodCheckLessThan",(e,t)=>{ue.init(e,t);const n=Lo[typeof t.value];e._zod.check=o=>{(t.inclusive?o.value<=t.value:o.value<t.value)||o.issues.push({origin:Lo[typeof o.value]??n,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:o.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),fa=_("$ZodCheckGreaterThan",(e,t)=>{ue.init(e,t);const n=Lo[typeof t.value];e._zod.check=o=>{(t.inclusive?o.value>=t.value:o.value>t.value)||o.issues.push({origin:Lo[typeof o.value]??n,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:o.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),qp=_("$ZodCheckMultipleOf",(e,t)=>{ue.init(e,t),e._zod.check=n=>{if(typeof n.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof n.value=="bigint"?t.value!==BigInt(0)&&n.value%t.value===BigInt(0):rd(n.value,t.value)===0)||n.issues.push({origin:typeof n.value,code:"not_multiple_of",divisor:t.value,input:n.value,inst:e,continue:!t.abort})}}),Ip=_("$ZodCheckNumberFormat",(e,t)=>{var a;ue.init(e,t),t.format=t.format||"float64";const n=(a=t.format)==null?void 0:a.includes("int"),o=n?"int":"number",[s,i]=aa[t.format];e._zod.check=l=>{const c=l.value;if(n){if(!Number.isInteger(c)){l.issues.push({expected:o,format:t.format,code:"invalid_type",continue:!1,input:c,inst:e});return}if(!Number.isSafeInteger(c)){c>0?l.issues.push({input:c,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,inclusive:!0,continue:!t.abort}):l.issues.push({input:c,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:o,inclusive:!0,continue:!t.abort});return}}c<s&&l.issues.push({origin:"number",input:c,code:"too_small",minimum:s,inclusive:!0,inst:e,continue:!t.abort}),c>i&&l.issues.push({origin:"number",input:c,code:"too_big",maximum:i,inclusive:!0,inst:e,continue:!t.abort})}}),Np=_("$ZodCheckMaxLength",(e,t)=>{var n;ue.init(e,t),(n=e._zod.def).when??(n.when=ai),e._zod.check=o=>{const s=o.value,i=s.length;if((typeof s=="string"&&i>t.maximum?ei(s):i)<=t.maximum)return;const l=ti(s);o.issues.push({origin:l,code:"too_big",maximum:t.maximum,inclusive:!0,input:s,inst:e,continue:!t.abort})}}),zp=_("$ZodCheckMinLength",(e,t)=>{var n;ue.init(e,t),(n=e._zod.def).when??(n.when=ai),e._zod.check=o=>{const s=o.value,i=s.length;if((typeof s=="string"&&i>=t.minimum&&i<t.minimum*2?ei(s):i)>=t.minimum)return;const l=ti(s);o.issues.push({origin:l,code:"too_small",minimum:t.minimum,inclusive:!0,input:s,inst:e,continue:!t.abort})}}),xp=_("$ZodCheckLengthEquals",(e,t)=>{var n;ue.init(e,t),(n=e._zod.def).when??(n.when=ai),e._zod.check=o=>{const s=o.value,i=s.length,a=typeof s=="string"&&i>=t.length&&i<=t.length*2?ei(s):i;if(a===t.length)return;const l=ti(s),c=a>t.length;o.issues.push({origin:l,...c?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:o.value,inst:e,continue:!t.abort})}}),es=_("$ZodCheckStringFormat",(e,t)=>{var n,o;ue.init(e,t),t.pattern?(n=e._zod).check??(n.check=s=>{t.pattern.lastIndex=0,!t.pattern.test(s.value)&&s.issues.push({origin:"string",code:"invalid_format",format:t.format,input:s.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(o=e._zod).check??(o.check=()=>{})}),Mp=_("$ZodCheckRegex",(e,t)=>{es.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:"string",code:"invalid_format",format:"regex",input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Lp=_("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=Ep),es.init(e,t)}),Ap=_("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=Op),es.init(e,t)}),jp=_("$ZodCheckIncludes",(e,t)=>{ue.init(e,t);const n=At(t.includes),o=new RegExp(typeof t.position=="number"?`^.{${t.position},}${n}`:n);t.pattern=o,e._zod.check=s=>{s.value.includes(t.includes,t.position)||s.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:s.value,inst:e,continue:!t.abort})}}),Zp=_("$ZodCheckStartsWith",(e,t)=>{ue.init(e,t);const n=new RegExp(`^${At(t.prefix)}.*`);t.pattern??(t.pattern=n),e._zod.check=o=>{o.value.startsWith(t.prefix)||o.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:o.value,inst:e,continue:!t.abort})}}),Up=_("$ZodCheckEndsWith",(e,t)=>{ue.init(e,t);const n=new RegExp(`.*${At(t.suffix)}$`);t.pattern??(t.pattern=n),e._zod.check=o=>{o.value.endsWith(t.suffix)||o.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:o.value,inst:e,continue:!t.abort})}}),Dp=_("$ZodCheckOverwrite",(e,t)=>{ue.init(e,t),e._zod.check=n=>{n.value=t.tx(n.value)}});class Hp{constructor(t=[],n={}){this.content=[],this.indent=0,this.args=t,this.closed=n}indented(t){this.indent+=1;try{t(this)}finally{this.indent-=1}}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const o=t.split(`
9
+ `).filter(a=>a),s=Math.min(...o.map(a=>a.length-a.trimStart().length)),i=o.map(a=>a.slice(s)).map(a=>" ".repeat(this.indent*2)+a);for(const a of i)this.content.push(a)}compile(){const t=Function,n=(this==null?void 0:this.content)??[""];return new t(...Object.keys(this.closed),`return function (${this.args.join(", ")}) {
10
+ ${n.join(`
11
+ `)}
12
+ };`)(...Object.values(this.closed))}}const Fp={major:4,minor:6,patch:7},Z=_("$ZodType",(e,t)=>{var i;var n;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Fp;const o=e._zod.def.checks,s=e._zod.traits.has("$ZodCheck")?[e,...o??[]]:o!=null&&o.length?[...o]:[];for(const a of s)for(const l of a._zod.onattach)l(e);if(s.length===0)(n=e._zod).deferred??(n.deferred=[]),(i=e._zod.deferred)==null||i.push(()=>{e._zod.run=e._zod.parse});else{const a=(c,p,m)=>{if(c.memo)return c;let h=Le(c),f;for(const g of p){if(g._zod.def.when){if(vd(c)||!g._zod.def.when(c))continue}else if(h)continue;const b=c.issues.length,v=g._zod.check(c);if(v instanceof Promise&&(m==null?void 0:m.async)===!1)throw new ct;if(f||v instanceof Promise)f=(f??Promise.resolve()).then(async()=>{await v,c.issues.length!==b&&(zs(c.issues,b,e),h||(h=Le(c,b)))});else{if(c.issues.length===b)continue;zs(c.issues,b,e),h||(h=Le(c,b))}}return f?f.then(()=>c):c},l=(c,p,m)=>{if(Le(c))return c.aborted=!0,c;const h=a(p,s,m);if(h instanceof Promise){if(m.async===!1)throw new ct;return h.then(f=>e._zod.parse(f,m))}return e._zod.parse(h,m)};e._zod.run=(c,p)=>{if(p.skipChecks)return e._zod.parse(c,p);if(p.direction==="backward"){const h=e._zod.parse({value:c.value,issues:[]},{...p,skipChecks:!0});return h instanceof Promise?h.then(f=>l(f,c,p)):l(h,c,p)}const m=e._zod.parse(c,p);if(m instanceof Promise){if(p.async===!1)throw new ct;return m.then(h=>a(h,s,p))}return a(m,s,p)}}},{get"~standard"(){return la(this,"~standard",ga(this))},set"~standard"(e){Be(this,"~standard",e)}}),Sa=(e,t)=>e.issues.length?{issues:e.issues.map(n=>Ve(n,t,$e()))}:{value:e.value};async function Jp(e,t){const n={async:!0};return Sa(await e._zod.run({value:t,issues:[]},n),n)}function ga(e){return{validate:t=>{const n={async:!1};try{const o=e._zod.run({value:t,issues:[]},n);if(!(o instanceof Promise))return Sa(o,n)}catch{}return Jp(e,t)},vendor:"zod",version:1}}const ci=_("$ZodString",(e,t)=>{Z.init(e,t),e._zod.pattern=t.pattern??Tp,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value=="string"||n.issues.push({expected:"string",code:"invalid_type",input:n.value,inst:e}),n}}),F=_("$ZodStringFormat",(e,t)=>{es.init(e,t),ci.init(e,t)}),Vp=_("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=cp),F.init(e,t)}),Bp=_("$ZodUUID",(e,t)=>{if(t.version){const o={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(o===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=ar(o))}else t.pattern??(t.pattern=ar());F.init(e,t)}),Kp=_("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=lp),F.init(e,t)}),_a=1,Ao=2;function ba(e){try{return typeof URL<"u"&&typeof URL.canParse=="function"?URL.canParse(e):(new URL(e),!0)}catch{return!1}}function Wp(e,t){return!("normalize"in t)&&!("hostname"in t)&&!("protocol"in t)?ba(e)||Ao:Gp(e,t)}function Gp(e,t){var n;if(!t.normalize&&((n=t.protocol)==null?void 0:n.source)===_p.source&&!/^https?:\/\//i.test(e))return _a;try{if(typeof URL<"u"){const o=URL;if(typeof o.parse=="function")return o.parse(e)??Ao}return new URL(e)}catch{return Ao}}const Yp=/[\t\n\r]/g;function cr(e){return e.replace(Yp,"")}function Qp(e,t){return t.lastIndex=0,t.test(e.hostname)}function Xp(e,t){return t.lastIndex=0,t.test(e.protocol.endsWith(":")?e.protocol.slice(0,-1):e.protocol)}const em=_("$ZodURL",(e,t)=>{F.init(e,t),e._zod.check=n=>{try{const o=n.value.trim(),s=Wp(o,t);if(s===_a){n.issues.push({code:"invalid_format",format:"url",note:"Invalid URL format",input:n.value,inst:e,continue:!t.abort});return}if(s===Ao){n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort});return}if(s===!0){n.value=cr(o);return}t.hostname&&!Qp(s,t.hostname)&&n.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort}),t.protocol&&!Xp(s,t.protocol)&&n.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort}),n.value=t.normalize?s.href:cr(o);return}catch{n.issues.push({code:"invalid_format",format:"url",input:n.value,inst:e,continue:!t.abort})}}}),tm=_("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=dp()),F.init(e,t)}),nm=_("$ZodNanoID",(e,t)=>{if(t.length!==void 0&&(!Number.isInteger(t.length)||t.length<1))throw new Error(`Invalid nanoid length: ${t.length}`);t.pattern??(t.pattern=t.length===void 0?ip:rp(t.length)),F.init(e,t)}),om=_("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=ep),F.init(e,t)}),sm=_("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=tp),F.init(e,t)}),im=_("$ZodULID",(e,t)=>{t.pattern??(t.pattern=np),F.init(e,t)}),rm=_("$ZodXID",(e,t)=>{t.pattern??(t.pattern=op),F.init(e,t)}),am=_("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=sp),F.init(e,t)}),cm=_("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=wp(t)),F.init(e,t)}),lm=_("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=vp),F.init(e,t)}),um=_("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=Rp(t)),F.init(e,t)}),dm=_("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=ap),F.init(e,t)}),pm=_("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=pp),F.init(e,t)}),mm=/^[0-9a-fA-F:.]+$/;function ya(e){return mm.test(e)?ba(`http://[${e}]`):!1}const hm=_("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=mp),F.init(e,t),e._zod.check=n=>{ya(n.value)||n.issues.push({code:"invalid_format",format:"ipv6",input:n.value,inst:e,continue:!t.abort})}}),fm=_("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=hp),F.init(e,t)});function Sm(e){const t=e.split("/");if(t.length!==2)return!1;const[n,o]=t;if(!o)return!1;const s=Number(o);return`${s}`!==o||s<0||s>128?!1:ya(n)}const gm=_("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=fp),F.init(e,t),e._zod.check=n=>{Sm(n.value)||n.issues.push({code:"invalid_format",format:"cidrv6",input:n.value,inst:e,continue:!t.abort})}});function va(e){if(e==="")return!0;if(/\s/.test(e)||e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const Ra=/^[0-9a-zA-Z+/]*={0,2}$/,_m=_("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=Ra),F.init(e,t),e._zod.check=n=>{va(n.value)||n.issues.push({code:"invalid_format",format:"base64",input:n.value,inst:e,continue:!t.abort})}}),li=/^[A-Za-z0-9_-]*$/;function bm(e){if(!li.test(e))return!1;const t=e.replace(/[-_]/g,o=>o==="-"?"+":"/"),n=t.padEnd(Math.ceil(t.length/4)*4,"=");return va(n)}const ym=_("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=li),F.init(e,t),e._zod.check=n=>{bm(n.value)||n.issues.push({code:"invalid_format",format:"base64url",input:n.value,inst:e,continue:!t.abort})}}),vm=_("$ZodE164",(e,t)=>{t.pattern??(t.pattern=bp),F.init(e,t)});function Rm(e,t=null){try{const n=e.split(".");if(n.length!==3)return!1;const[o]=n;if(!o)return!1;const s=JSON.parse(atob(o));return!("typ"in s&&(s==null?void 0:s.typ)!=="JWT"||!s.alg||t&&(!("alg"in s)||s.alg!==t))}catch{return!1}}const wm=_("$ZodJWT",(e,t)=>{F.init(e,t),e._zod.check=n=>{Rm(n.value,t.alg)||n.issues.push({code:"invalid_format",format:"jwt",input:n.value,inst:e,continue:!t.abort})}}),wa=_("$ZodNumber",(e,t)=>{Z.init(e,t),e._zod.pattern=ri,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=Number(n.value)}catch{}const s=n.value;if(typeof s=="number"&&!Number.isNaN(s)&&Number.isFinite(s))return n;const i=typeof s=="number"?Number.isNaN(s)?"NaN":Number.isFinite(s)?void 0:String(s):void 0;return n.issues.push({expected:"number",code:"invalid_type",input:s,inst:e,...i?{received:i}:{}}),n}}),Tm=_("$ZodNumberFormat",(e,t)=>{Ip.init(e,t),wa.init(e,t)}),Pm=_("$ZodBoolean",(e,t)=>{Z.init(e,t),e._zod.pattern=kp,e._zod.parse=(n,o)=>{if(t.coerce)try{n.value=!!n.value}catch{}const s=n.value;return typeof s=="boolean"||n.issues.push({expected:"boolean",code:"invalid_type",input:s,inst:e}),n}}),km=_("$ZodUndefined",(e,t)=>{Z.init(e,t),e._zod.pattern=$p,e._zod.values=new Set([void 0]),e._zod.parse=(n,o)=>{const s=n.value;return typeof s>"u"||n.issues.push({expected:"undefined",code:"invalid_type",input:s,inst:e}),n}}),Cm=_("$ZodNull",(e,t)=>{Z.init(e,t),e._zod.pattern=Cp,e._zod.values=new Set([null]),e._zod.parse=(n,o)=>{const s=n.value;return s===null||n.issues.push({expected:"null",code:"invalid_type",input:s,inst:e}),n}}),$m=_("$ZodAny",(e,t)=>{Z.init(e,t),e._zod.parse=n=>n}),Em=_("$ZodUnknown",(e,t)=>{Z.init(e,t),e._zod.parse=n=>n}),Om=_("$ZodNever",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>(n.issues.push({expected:"never",code:"invalid_type",input:n.value,inst:e}),n)});function qm(e,t){const n=or(e._zod.def.checks);if(!n.length)return;const o=Math.min(...n.map(i=>i[0])),s=e._zod.parse;e._zod.parse=(i,a)=>{const l=t(i.value);if(l>o&&!(a!=null&&a.skipChecks)&&(a==null?void 0:a.direction)!=="backward"){for(const[c,p]of or(e._zod.def.checks))if(l>c&&p._zod.def.when(i)){const m=i.issues.length;return p._zod.check(i),i.issues[m].continue=!1,zs(i.issues,m,e),i}}return s(i,a)}}const Im=e=>Array.isArray(e)?e.length:-1;function lr(e,t,n){e.issues.length&&t.issues.push(...qt(n,e.issues)),t.value[n]=e.value}const Nm=_("$ZodArray",(e,t)=>{Z.init(e,t);const n=Ce.memoizer;n==null||n.attach(e),e._zod.parse=(o,s)=>{const i=o.value;if(!Array.isArray(i))return o.issues.push({expected:"array",code:"invalid_type",input:i,inst:e}),o;o.value=n?n.alloc(e,o,Array(i.length),s):Array(i.length);const a=[],l=s==null?void 0:s.abortEarly;for(let c=0;c<i.length;c++){const p=i[c],m=t.element._zod.run({value:p,issues:[]},s);if(m instanceof Promise)a.push(m.then(h=>lr(h,o,c)));else if(lr(m,o,c),l&&m.issues.length!==0&&Le(m))break}return a.length?Promise.all(a).then(()=>o):o},qm(e,Im)});function jo(e,t,n,o,s,i){const a=n in o,l=i==="optional";if(!(!a&&l&&s==="optional")){if(e.issues.length){if(s!==void 0&&l&&!a)return;t.issues.push(...qt(n,e.issues))}if(!a&&s===void 0){e.issues.length||t.issues.push({code:"invalid_type",expected:"nonoptional",input:void 0,path:[n]});return}e.value===void 0?(a||s==="defaulted"&&!l)&&(t.value[n]=void 0):t.value[n]=e.value}}const zm=[];function Ta(e){var a,l,c,p;const t=Object.keys(e.shape),n=Object.getOwnPropertySymbols(e.shape),o=n.length?n:zm,s=o.length?[...t,...o]:t;for(const m of s)if(!((p=(c=(l=(a=e.shape)==null?void 0:a[m])==null?void 0:l._zod)==null?void 0:c.traits)!=null&&p.has("$ZodType")))throw new Error(`Invalid element at key "${String(m)}": expected a Zod schema`);const i=md(e.shape);return{...e,allKeys:s,symbolKeys:o,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(i)}}function Pa(e,t,n,o,s,i,a){const l=[],c=s.keySet,p=s.catchall._zod,m=p.def.type,h=p.optin,f=p.optout;let g=0;for(const b in t){if(a&&n.issues.length!==g){if(Le(n,g))break;g=n.issues.length}if(c.has(b))continue;if(b==="__proto__"){m==="never"&&l.push(b);continue}if(m==="never"){l.push(b);continue}const v=p.run({value:t[b],issues:[]},o);v instanceof Promise?e.push(v.then(R=>jo(R,n,b,t,h,f))):jo(v,n,b,t,h,f)}return l.length&&n.issues.push({code:"unrecognized_keys",keys:l,input:t,inst:i,continue:!0}),e.length?Promise.all(e).then(()=>n):n}const xm=_("$ZodObject",(e,t)=>{Z.init(e,t);const n=Object.getOwnPropertyDescriptor(t,"shape"),o=n!=null&&n.get?n.get.raw:t.shape??{};if(o){const p=()=>{const m={...o};return Object.defineProperty(t,"shape",{value:m}),p.raw=m,m};p.raw=o,Object.defineProperty(t,"shape",{get:p})}const s=Yo(()=>Ta(t));x(e,"propValues",p=>{const m=p.def.shape,h={};for(const f in m){const g=m[f]._zod;if(g.values){Object.prototype.hasOwnProperty.call(h,f)||Ne(h,f,new Set);for(const b of g.values)h[f].add(b);g.optin!==void 0&&h[f].add(void 0)}}return h});const i=Xn,a=t.catchall;let l;const c=Ce.memoizer;c==null||c.attach(e),e._zod.parse=(p,m)=>{l??(l=s.value);const h=p.value;if(!i(h))return p.issues.push({expected:"object",code:"invalid_type",input:h,inst:e}),p;p.value=c?c.alloc(e,p,{},m):{};const f=[],g=l.shape,b=m==null?void 0:m.abortEarly;let v=p.issues.length;for(const R of l.allKeys){if(b&&p.issues.length!==v){if(Le(p,v))break;v=p.issues.length}if(R==="__proto__")continue;const T=g[R],C=T._zod.optin,j=T._zod.optout,L=T._zod.run({value:h[R],issues:[]},m);L instanceof Promise?f.push(L.then(Re=>jo(Re,p,R,h,C,j))):jo(L,p,R,h,C,j)}return a?Pa(f,h,p,m,s.value,e,b===!0):f.length?Promise.all(f).then(()=>p):p}}),Mm=_("$ZodObjectJIT",(e,t)=>{xm.init(e,t);const n=e._zod.parse,o=Yo(()=>Ta(t)),s=Ce.memoizer,i=g=>{var Re,Ee;const b=o.value,v=b.symbolKeys,R=new Hp(["payload","ctx"],{shape:g,inst:e,memo:s,syms:v}),T=D=>`shape[${D}]._zod.run({ value: input[${D}], issues: [] }, ctx)`,C=(D,M)=>`
13
+ let ${D}_ab = false;
14
+ for (let i = 0; i < ${D}.issues.length; i++) {
15
+ const iss = ${D}.issues[i];
16
+ iss.path = iss.path ? [${M}, ...iss.path] : [${M}];
17
+ payload.issues.push(iss);
18
+ if (iss.continue !== true) ${D}_ab = true;
19
+ }
20
+ if (${D}_ab && ctx && ctx.abortEarly) {
21
+ payload.value = newResult;
22
+ return payload;
23
+ }`;R.write("const input = payload.value;");const j=Object.create(null);let L=0;for(const D of b.allKeys)j[D]=`key_${L++}`;R.write(s?"const newResult = memo.alloc(inst, payload, {}, ctx);":"const newResult = {};");for(const D of b.allKeys){if(D==="__proto__")continue;const M=j[D],Y=typeof D=="symbol"?`syms[${v.indexOf(D)}]`:ld(D),A=`${Y} in input`,J=g[D],me=(Re=J==null?void 0:J._zod)==null?void 0:Re.optin,we=me!==void 0,Q=((Ee=J==null?void 0:J._zod)==null?void 0:Ee.optout)==="optional";if(R.write(`const ${M} = ${T(Y)};`),we&&Q){const he=me==="optional"?`${M}_present`:`${M}.value !== undefined || ${M}_present`;R.write(`
24
+ const ${M}_present = ${A};
25
+ if (!${M}.issues.length || ${M}_present) {
26
+ if (${M}.issues.length) {${C(M,Y)}
27
+ }
28
+
29
+ if (${he}) {
30
+ newResult[${Y}] = ${M}.value;
31
+ }
32
+ }
33
+
34
+ `)}else we?(R.write(`
35
+ if (${M}.issues.length) {${C(M,Y)}
36
+ }
37
+ `),me==="defaulted"?R.write(`newResult[${Y}] = ${M}.value;`):R.write(`
38
+ if (${M}.value !== undefined || ${A}) {
39
+ newResult[${Y}] = ${M}.value;
40
+ }
41
+ `)):R.write(`
42
+ const ${M}_present = ${A};
43
+ if (${M}.issues.length) {${C(M,Y)}
44
+ }
45
+ if (!${M}_present && !${M}.issues.length) {
46
+ payload.issues.push({
47
+ code: "invalid_type",
48
+ expected: "nonoptional",
49
+ input: undefined,
50
+ path: [${Y}]
51
+ });
52
+ if (ctx && ctx.abortEarly) {
53
+ payload.value = newResult;
54
+ return payload;
55
+ }
56
+ }
57
+
58
+ if (${M}_present) {
59
+ newResult[${Y}] = ${M}.value;
60
+ }
61
+
62
+ `)}return R.write("payload.value = newResult;"),R.write("return payload;"),R.compile()};let a;const l=Xn,c=!Ce.jitless,m=c&&dd.value,h=t.catchall;let f;e._zod.parse=(g,b)=>{f??(f=o.value);const v=g.value;return l(v)?c&&m&&(b==null?void 0:b.async)===!1&&b.jitless!==!0?(a||(a=i(t.shape)),g=a(g,b),h?Pa([],v,g,b,f,e,(b==null?void 0:b.abortEarly)===!0):g):n(g,b):(g.issues.push({expected:"object",code:"invalid_type",input:v,inst:e}),g)}});function ur(e,t,n,o){for(const i of e)if(i.issues.length===0)return t.value=i.value,t;const s=e.filter(i=>!Le(i));return s.length===1?(t.value=s[0].value,s[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:n,errors:e.map(i=>i.issues.map(a=>Ve(a,o,$e())))}),t)}const ka=_("$ZodUnion",(e,t)=>{Z.init(e,t),x(e,"optin",o=>o.def.options.some(s=>s._zod.optin==="defaulted")?"defaulted":o.def.options.some(s=>s._zod.optin!==void 0)?"optional":void 0),x(e,"optout",o=>o.def.options.some(s=>s._zod.optout==="optional")?"optional":void 0),x(e,"values",o=>{if(o.def.options.every(s=>s._zod.values))return new Set(o.def.options.flatMap(s=>Array.from(s._zod.values)))}),x(e,"pattern",o=>{if(o.def.options.every(s=>s._zod.pattern)){const s=o.def.options.map(i=>i._zod.pattern);return new RegExp(`^(${s.map(i=>Qs(i.source)).join("|")})$`)}});const n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(o,s)=>{if(n)return n(o,s);let i=!1;const a=[];for(const l of t.options){const c=l._zod.run({value:o.value,issues:[]},s);if(c instanceof Promise)a.push(c),i=!0;else{if(c.issues.length===0)return c;a.push(c)}}return i?Promise.all(a).then(l=>ur(l,o,e,s)):ur(a,o,e,s)}});function Lm(e){var n;const t=new Map;for(const o of e.options){const s=(n=o._zod.propValues)==null?void 0:n[e.discriminator];if(!s||s.size===0)throw new Error(`Invalid discriminated union option at index "${e.options.indexOf(o)}"`);for(const i of s)if(t.has(i)){if(i!==void 0)throw new Error(`Duplicate discriminator value "${String(i)}"`);t.set(i,null)}else t.set(i,o)}return t}const Am=_("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,ka.init(e,t);const n=e._zod.parse;x(e,"propValues",s=>{var l,c;const i={};let a=0;for(const p of s.def.options){const m=p._zod.propValues;if(!m||Object.keys(m).length===0)throw new Error(`Invalid discriminated union option at index "${s.def.options.indexOf(p)}"`);(l=m[s.def.discriminator])!=null&&l.has(void 0)&&a++;for(const[h,f]of Object.entries(m)){Object.prototype.hasOwnProperty.call(i,h)||Ne(i,h,new Set);for(const g of f)i[h].add(g)}}return!s.def.unionFallback&&a>1&&((c=i[s.def.discriminator])==null||c.delete(void 0)),i}),t.options.forEach((s,i)=>{const a=Xs(s._zod.def);if(a&&!Object.prototype.hasOwnProperty.call(a,t.discriminator))throw new Error(`Invalid discriminated union option at index "${i}"`)});const o=Yo(()=>Lm(t));e._zod.parse=(s,i)=>{const a=s.value;if(!Xn(a))return s.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),s;const l=a==null?void 0:a[t.discriminator],c=o.value.get(l);return c&&(l!==void 0||i.direction!=="backward")?c._zod.run(s,i):t.unionFallback||i.direction==="backward"?n(s,i):(s.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,options:Array.from(o.value.keys()).filter(p=>o.value.get(p)!==null),input:a,path:[t.discriminator],inst:e}),s)}}),jm=_("$ZodIntersection",(e,t)=>{Z.init(e,t),e._zod.parse=(n,o)=>{const s=n.value,i=t.left._zod.run({value:s,issues:[]},o),a=t.right._zod.run({value:s,issues:[]},o);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([c,p])=>dr(n,c,p)):dr(n,i,a)}});function Ms(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(Lt(e)&&Lt(t)){const n=Object.keys(t),o=Object.keys(e).filter(i=>n.indexOf(i)!==-1),s={...e,...t};Object.prototype.hasOwnProperty.call(s,"__proto__")&&delete s.__proto__;for(const i of o){if(i==="__proto__")continue;const a=Ms(e[i],t[i]);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};s[i]=a.data}return{valid:!0,data:s}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const n=[];for(let o=0;o<e.length;o++){const s=e[o],i=t[o],a=Ms(s,i);if(!a.valid)return{valid:!1,mergeErrorPath:[o,...a.mergeErrorPath]};n.push(a.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function dr(e,t,n){const o=new Map;let s;const i=new Map,a=(p,m)=>{var f,g;let h;if(p.code==="unrecognized_keys"&&!((f=p.path)!=null&&f.length))s??(s=p),h=p.keys;else if(p.code==="invalid_key"&&p.origin==="record"&&((g=p.path)==null?void 0:g.length)===1){const b=String(p.path[0]);i.has(b)||i.set(b,p),h=[b]}else return!1;for(const b of h)o.has(b)||o.set(b,{}),o.get(b)[m]=!0;return!0};for(const p of t.issues)a(p,"l")||e.issues.push(p);for(const p of n.issues)a(p,"r")||e.issues.push(p);const l=[...o].filter(([,p])=>p.l&&p.r).map(([p])=>p);if(l.length){const p=s?l.filter(m=>s.keys.includes(m)):[];p.length&&e.issues.push({...s,keys:p});for(const m of l)!p.includes(m)&&i.has(m)&&e.issues.push(i.get(m))}const c=Ms(t.value,n.value);if(!c.valid){if(Le(e))return e;throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(c.mergeErrorPath)}`)}return e.value=c.data,e}const Zm=_("$ZodRecord",(e,t)=>{Z.init(e,t);const n=Ce.memoizer;n==null||n.attach(e),e._zod.parse=(o,s)=>{const i=o.value;if(!Lt(i))return o.issues.push({expected:"record",code:"invalid_type",input:i,inst:e}),o;const a=[],l=t.keyType._zod.values;if(l&&!t.partial){o.value=n?n.alloc(e,o,{},s):{};const c=new Set;for(const m of l)if(typeof m=="string"||typeof m=="number"||typeof m=="symbol"){if(c.add(typeof m=="number"?m.toString():m),m==="__proto__")continue;const h=t.keyType._zod.run({value:m,issues:[]},s);if(h instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(h.issues.length){o.issues.push({code:"invalid_key",origin:"record",issues:h.issues.map(b=>Ve(b,s,$e())),input:m,path:[m],inst:e});continue}const f=h.value;if(f==="__proto__")continue;const g=t.valueType._zod.run({value:i[m],issues:[]},s);g instanceof Promise?a.push(g.then(b=>{b.issues.length&&o.issues.push(...qt(m,b.issues)),o.value[f]=b.value})):(g.issues.length&&o.issues.push(...qt(m,g.issues)),o.value[f]=g.value)}let p;for(const m in i)if(!c.has(m))if(t.mode==="loose"){if(m==="__proto__")continue;o.value[m]=i[m]}else p=p??[],p.push(m);p&&p.length>0&&o.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:p,continue:!0})}else{o.value=n?n.alloc(e,o,{},s):{};let c;for(const p of Reflect.ownKeys(i)){if(p==="__proto__"||!Object.prototype.propertyIsEnumerable.call(i,p))continue;let m=t.keyType._zod.run({value:p,issues:[]},s);if(m instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof p=="string"&&ri.test(p)&&m.issues.length){const b=t.keyType._zod.run({value:Number(p),issues:[]},s);if(b instanceof Promise)throw new Error("Async schemas not supported in object keys currently");b.issues.length===0&&(m=b)}if(m.issues.length){t.mode==="loose"?o.value[p]=i[p]:l?(c=c??[],c.push(p)):o.issues.push({code:"invalid_key",origin:"record",issues:m.issues.map(b=>Ve(b,s,$e())),input:p,path:[p],inst:e});continue}const f=m.value;if(f==="__proto__")continue;const g=t.valueType._zod.run({value:i[p],issues:[]},s);g instanceof Promise?a.push(g.then(b=>{b.issues.length&&o.issues.push(...qt(p,b.issues)),o.value[f]=b.value})):(g.issues.length&&o.issues.push(...qt(p,g.issues)),o.value[f]=g.value)}c&&c.length>0&&o.issues.push({code:"unrecognized_keys",input:i,inst:e,keys:c,continue:!0})}return a.length?Promise.all(a).then(()=>o):o}}),Um=_("$ZodEnum",(e,t)=>{Z.init(e,t);const n=Is(t.entries),o=new Set(n);e._zod.values=o,x(e,"pattern",s=>{const i=Is(s.def.entries).filter(a=>pd.has(typeof a));return new RegExp(i.length?`^(${i.map(a=>At(a.toString())).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(s,i)=>{const a=s.value;return o.has(a)||s.issues.push({code:"invalid_value",values:n,input:a,inst:e}),s}}),Dm=_("$ZodLiteral",(e,t)=>{Z.init(e,t);const n=new Set(t.values);e._zod.values=n,x(e,"pattern",o=>{const s=o.def.values;return new RegExp(s.length?`^(${s.map(i=>typeof i=="string"?At(i):i?At(i.toString()):String(i)).join("|")})$`:"^[^\\s\\S]$")}),e._zod.parse=(o,s)=>{const i=o.value;return n.has(i)||o.issues.push({code:"invalid_value",values:t.values,input:i,inst:e}),o}}),Hm=_("$ZodTransform",(e,t)=>{var n;Z.init(e,t),e._zod.optin="optional",(n=Ce.memoizer)==null||n.guard(e),e._zod.parse=(o,s)=>{if(s.direction==="backward")throw new da(e.constructor.name);const i=t.transform(o.value,o);if(s.async)return(i instanceof Promise?i:Promise.resolve(i)).then(l=>(o.value=l,o));if(i instanceof Promise)throw new ct;return o.value=i,o}});function pr(e,t){return e.value=t.issues.length?void 0:t.value,e}const Ca=_("$ZodOptional",(e,t)=>{Z.init(e,t),x(e,"optin",n=>n.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),e._zod.optout="optional",x(e,"values",n=>{const o=n.def.innerType._zod.values;return o?new Set([...o,void 0]):void 0}),x(e,"pattern",n=>{const o=n.def.innerType._zod.pattern;return o?new RegExp(`^(${Qs(o.source)})?$`):void 0}),e._zod.parse=(n,o)=>{if(n.value===void 0){if(t.innerType._zod.optin!=="defaulted")return n;const s=t.innerType._zod.run({value:n.value,issues:[]},o);return s instanceof Promise?s.then(i=>pr(n,i)):pr(n,s)}return t.innerType._zod.run(n,o)}}),Fm=_("$ZodExactOptional",(e,t)=>{Ca.init(e,t),x(e,"values",n=>n.def.innerType._zod.values),x(e,"pattern",n=>n.def.innerType._zod.pattern),e._zod.parse=(n,o)=>t.innerType._zod.run(n,o)}),Jm=_("$ZodNullable",(e,t)=>{Z.init(e,t),x(e,"optin",n=>n.def.innerType._zod.optin),x(e,"optout",n=>n.def.innerType._zod.optout),x(e,"pattern",n=>{const o=n.def.innerType._zod.pattern;return o?new RegExp(`^(${Qs(o.source)}|null)$`):void 0}),x(e,"values",n=>n.def.innerType._zod.values?new Set([...n.def.innerType._zod.values,null]):void 0),e._zod.parse=(n,o)=>n.value===null?n:t.innerType._zod.run(n,o)}),Vm=_("$ZodDefault",(e,t)=>{Z.init(e,t),e._zod.optin="defaulted",x(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,o)=>{if(o.direction==="backward")return t.innerType._zod.run(n,o);if(n.value===void 0)return n.value=t.defaultValue,n;const s=t.innerType._zod.run(n,o);return s instanceof Promise?s.then(i=>mr(i,t)):mr(s,t)}});function mr(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const Bm=_("$ZodPrefault",(e,t)=>{Z.init(e,t),e._zod.optin="defaulted",x(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,o)=>(o.direction==="backward"||n.value===void 0&&(n.value=t.defaultValue),t.innerType._zod.run(n,o))}),Km=_("$ZodNonOptional",(e,t)=>{Z.init(e,t),x(e,"values",n=>{const o=n.def.innerType._zod.values;return o?new Set([...o].filter(s=>s!==void 0)):void 0}),e._zod.parse=(n,o)=>{const s=t.innerType._zod.run(n,o);return s instanceof Promise?s.then(i=>hr(i,e)):hr(s,e)}});function hr(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}function fr(e,t,n,o){return t.issues.length?(e.value=n.catchValue({...t,value:e.value,error:{issues:t.issues.map(s=>Ve(s,o,$e()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}const Wm=_("$ZodCatch",(e,t)=>{Z.init(e,t),x(e,"optin",n=>n.def.innerType._zod.optin==="defaulted"?"defaulted":"optional"),x(e,"optout",n=>n.def.innerType._zod.optout),x(e,"values",n=>n.def.innerType._zod.values),e._zod.parse=(n,o)=>{if(o.direction==="backward")return t.innerType._zod.run(n,o);const s=t.innerType._zod.run({value:n.value,issues:[]},o);return s instanceof Promise?s.then(i=>fr(n,i,t,o)):fr(n,s,t,o)}}),$a=_("$ZodPipe",(e,t)=>{Z.init(e,t),x(e,"values",n=>n.def.in._zod.values),x(e,"optin",n=>n.def.in._zod.optin),x(e,"optout",n=>n.def.out._zod.optout),x(e,"propValues",n=>n.def.in._zod.propValues),e._zod.parse=(n,o)=>{if(o.direction==="backward"){const i=t.out._zod.run(n,o);return i instanceof Promise?i.then(a=>ko(a,t.in,o)):ko(i,t.in,o)}const s=t.in._zod.run(n,o);return s instanceof Promise?s.then(i=>ko(i,t.out,o)):ko(s,t.out,o)}});function ko(e,t,n){return e.issues.some(o=>o.code!=="unrecognized_keys")?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}const Gm=_("$ZodPreprocess",(e,t)=>{$a.init(e,t)}),Ym=_("$ZodReadonly",(e,t)=>{Z.init(e,t),x(e,"propValues",n=>n.def.innerType._zod.propValues),x(e,"values",n=>n.def.innerType._zod.values),x(e,"optin",n=>{var o,s;return(s=(o=n.def.innerType)==null?void 0:o._zod)==null?void 0:s.optin}),x(e,"optout",n=>{var o,s;return(s=(o=n.def.innerType)==null?void 0:o._zod)==null?void 0:s.optout}),e._zod.parse=(n,o)=>{if(o.direction==="backward")return t.innerType._zod.run(n,o);const s=t.innerType._zod.run(n,o);return s instanceof Promise?s.then(Sr):Sr(s)}});function Sr(e){return e.memo||(e.value=Object.freeze(e.value)),e}const Qm=_("$ZodLazy",(e,t)=>{Z.init(e,t),ad(e._zod,"innerType",()=>{const n=t;return n._cachedInner||(n._cachedInner=t.getter()),n._cachedInner}),x(e,"pattern",n=>{var o,s;return(s=(o=n.innerType)==null?void 0:o._zod)==null?void 0:s.pattern}),x(e,"propValues",n=>{var o,s;return(s=(o=n.innerType)==null?void 0:o._zod)==null?void 0:s.propValues}),x(e,"optin",n=>{var o,s;return((s=(o=n.innerType)==null?void 0:o._zod)==null?void 0:s.optin)??void 0}),x(e,"optout",n=>{var o,s;return((s=(o=n.innerType)==null?void 0:o._zod)==null?void 0:s.optout)??void 0}),e._zod.parse=(n,o)=>e._zod.innerType._zod.run(n,o)}),Xm=_("$ZodCustom",(e,t)=>{ue.init(e,t),Z.init(e,t),e._zod.parse=(n,o)=>n,e._zod.check=n=>{const o=n.value,s=t.fn(o);if(s instanceof Promise)return s.then(i=>gr(i,n,o,e));gr(s,n,o,e)}});function gr(e,t,n,o){if(!e){const s={code:"custom",input:n,inst:o,path:[...o._zod.def.path??[]],continue:!o._zod.def.abort};o._zod.def.params&&(s.params=o._zod.def.params),t.issues.push(eo(s))}}class eh extends Error{constructor(){super("Cannot parse a reference cycle that closes through a transform"),this.name="ZodCyclicError"}}const Ls="~memo",_r=[];function Ea(e){return e!==null&&typeof e=="object"}function Rs(e){return e.map(t=>t.path?{...t,path:t.path.slice()}:{...t})}const Oa=new WeakMap,Bn=0,xo=1,Wn=2;function Mo(e,t,n){const o=Oa.get(e);if(o!==void 0)return o?Wn:Bn;if(t.has(e))return Wn;t.add(e);let s=Bn;const i=m=>{if(s!==Wn&&(m!=null&&m._zod)){const h=Mo(m,t);h>s&&(s=h)}},a=(m,h)=>{var g;let f=Bn;for(const b of Reflect.ownKeys(m)){const v=Object.getOwnPropertyDescriptor(m,b);if(!v.enumerable)continue;const R=v.get?xo:(g=v.value)!=null&&g._zod?Mo(v.value,t):Bn;R>f&&(f=R)}return f},l=m=>{m>s&&(s=m)},c=e._zod.def;switch(c.type){case"object":{const m=Xs(c);l(m?a(m):xo),i(c.catchall);break}case"array":i(c.element);break;case"tuple":for(const m of c.items)i(m);i(c.rest);break;case"record":case"map":i(c.keyType),i(c.valueType);break;case"set":i(c.valueType);break;case"union":for(const m of c.options)i(m);break;case"intersection":i(c.left),i(c.right);break;case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":i(c.innerType);break;case"pipe":i(c.in),i(c.out);break;case"function":i(c.input),i(c.output);break;case"lazy":{const m=c._cachedInner??void 0;l(m?Mo(m,t):xo);break}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":break;default:for(const m in c){const h=Object.getOwnPropertyDescriptor(c,m);if(!h||h.get)continue;const f=h.value;if(!(!f||typeof f!="object")){if(f._zod)i(f);else if(Array.isArray(f))for(const g of f)i(g)}}}return t.delete(e),th(e,s)}function th(e,t){return t!==xo&&Oa.set(e,t===Wn),t}function nh(e,t){let n=e.buckets.get(t);return n||(n=new WeakMap,e.buckets.set(t,n)),n}let Co;const $o=[],oh={alloc(e,t,n){const o=Co;if(!o)return n;Co=void 0;const s={value:n,issues:null};return o.set(t.value,s),$o.push(s),n},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{const n=e._zod.parse,o=(s,i)=>{if(i.direction!=="backward"&&ih(i,s.value))throw new eh;return n(s,i)};e._zod.parse=o,e._zod.run===n&&(e._zod.run=o)})},attach(e){var t;let n,o=!1,s,i;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{const a=e._zod.parse,l=(c,p)=>{if(n===void 0){const T=Mo(e,new Set);if(T===Bn)return e._zod.parse=a,e._zod.run===l&&(e._zod.run=a),a(c,p);T===Wn||o?n=!0:o=!0}const m=c.value;if(!Ea(m))return a(c,p);let h=p[Ls];h||(h={buckets:new WeakMap,backEdges:void 0},p[Ls]=h);let f;s===p?f=i:(f=nh(h,e),s=p,i=f);const g=f.get(m);if(g)return c.value=g.value,g.issues?g.issues.length&&c.issues.push(...Rs(g.issues)):(c.memo=!0,h.backEdges??(h.backEdges=new WeakSet),h.backEdges.add(g.value)),c;Co=f;const b=$o.length,v=a(c,p);Co=void 0;const R=$o.length>b?$o.pop():void 0;return v instanceof Promise?v.then(T=>(R&&(R.issues=T.issues.length?Rs(T.issues):_r),T)):(R&&(R.issues=v.issues.length?Rs(v.issues):_r),v)};e._zod.parse=l,e._zod.run===a&&(e._zod.run=l)})}};function sh(){return oh}function ih(e,t){var o;const n=(o=e[Ls])==null?void 0:o.backEdges;return n!==void 0&&Ea(t)&&n.has(t)}const rh=()=>{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(i){return e[i]??null}const n={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",mac:"MAC address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",currency_code:"currency code",credit_card:"credit card number",iban:"IBAN",jwt:"JWT",template_literal:"input"},o={nan:"NaN"};function s(i,a){return i==="number"&&typeof a=="number"&&!Number.isFinite(a)?String(a):o[i]??i}return i=>{switch(i.code){case"invalid_type":{const a=s(i.expected),l=wd(i.input),c=s(l,i.input);return`Invalid input: expected ${a}, received ${c}`}case"invalid_value":return i.values.length===1?`Invalid input: expected ${ra(i.values[0])}`:`Invalid option: expected one of ${er(i.values,"|")}`;case"too_big":{const a=i.exact?"exactly ":i.inclusive?"<=":"<",l=t(i.origin);return l?`Too big: expected ${i.origin??"value"} to have ${a}${i.maximum.toString()} ${l.unit??"elements"}`:`Too big: expected ${i.origin??"value"} to be ${a}${i.maximum.toString()}`}case"too_small":{const a=i.exact?"exactly ":i.inclusive?">=":">",l=t(i.origin);return l?`Too small: expected ${i.origin} to have ${a}${i.minimum.toString()} ${l.unit}`:`Too small: expected ${i.origin} to be ${a}${i.minimum.toString()}`}case"invalid_format":{const a=i;return a.format==="starts_with"?`Invalid string: must start with "${a.prefix}"`:a.format==="ends_with"?`Invalid string: must end with "${a.suffix}"`:a.format==="includes"?`Invalid string: must include "${a.includes}"`:a.format==="regex"?`Invalid string: must match pattern ${a.pattern}`:`Invalid ${n[a.format]??i.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${i.divisor}`;case"unrecognized_keys":return`Unrecognized key${i.keys.length>1?"s":""}: ${er(i.keys,", ")}`;case"invalid_key":return`Invalid key in ${i.origin}`;case"invalid_union":return i.options&&Array.isArray(i.options)&&i.options.length>0?`Invalid discriminator value. Expected ${i.options.map(l=>`'${l}'`).join(" | ")}`:i.inclusive===!1?"Invalid input: more than one option matched":"Invalid input";case"invalid_element":return`Invalid value in ${i.origin}`;default:return"Invalid input"}}};function ah(){return{localeError:rh()}}var br;class ch{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...n){const o=n[0];return this._map.set(t,o),o&&typeof o=="object"&&"id"in o&&this._idmap.set(o.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const n=this._map.get(t);return n&&typeof n=="object"&&"id"in n&&this._idmap.delete(n.id),this._map.delete(t),this}get(t){const n=t._zod.parent;if(n){const o={...this.get(n)??{}};delete o.id;const s={...o,...this._map.get(t)};return Object.keys(s).length?s:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function lh(){return new ch}(br=globalThis).__zod_globalRegistry??(br.__zod_globalRegistry=lh());const Kn=globalThis.__zod_globalRegistry;function ui(e){return e.checks&&(e.checks=[...e.checks]),e}function uh(e,t){return new e(ui({type:"string",...E(t)}))}function qa(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...E(t)})}function dh(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...E(t)})}function ph(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...E(t)})}function mh(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...E(t)})}function hh(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...E(t)})}function fh(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...E(t)})}function Ia(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...E(t)})}function Sh(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...E(t)})}function gh(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...E(t)})}function _h(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...E(t)})}function bh(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...E(t)})}function yh(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...E(t)})}function vh(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...E(t)})}function Rh(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...E(t)})}function wh(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...E(t)})}function Th(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...E(t)})}function Ph(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...E(t)})}function kh(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...E(t)})}function Ch(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...E(t)})}function $h(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...E(t)})}function Eh(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...E(t)})}function Oh(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...E(t)})}function Na(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...E(t)})}function za(e,t){return new e({type:"string",format:"date",check:"string_format",...E(t)})}function qh(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...E(t)})}function Ih(e,t){return new e({type:"string",format:"duration",check:"string_format",...E(t)})}function Nh(e,t){return new e(ui({type:"number",checks:[],...E(t)}))}function zh(e,t){return new e(ui({type:"number",coerce:!0,checks:[],...E(t)}))}function xh(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...E(t)})}function Mh(e,t){return new e({type:"boolean",...E(t)})}function Lh(e,t){return new e({type:"undefined",...E(t)})}function Ah(e,t){return new e({type:"null",...E(t)})}function jh(e){return new e({type:"any"})}function Zh(e){return new e({type:"unknown"})}function Uh(e,t){return new e({type:"never",...E(t)})}function yr(e,t){return new ha({check:"less_than",...E(t),value:e,inclusive:!1})}function ws(e,t){return new ha({check:"less_than",...E(t),value:e,inclusive:!0})}function vr(e,t){return new fa({check:"greater_than",...E(t),value:e,inclusive:!1})}function Ts(e,t){return new fa({check:"greater_than",...E(t),value:e,inclusive:!0})}function Rr(e,t){return new qp({check:"multiple_of",...E(t),value:e})}function xa(e,t){return new Np({check:"max_length",...E(t),maximum:e})}function Zo(e,t){return new zp({check:"min_length",...E(t),minimum:e})}function Ma(e,t){return new xp({check:"length_equals",...E(t),length:e})}function Dh(e,t){return new Mp({check:"string_format",format:"regex",...E(t),pattern:e})}function Hh(e){return new Lp({check:"string_format",format:"lowercase",...E(e)})}function Fh(e){return new Ap({check:"string_format",format:"uppercase",...E(e)})}function Jh(e,t){return new jp({check:"string_format",format:"includes",...E(t),includes:e})}function Vh(e,t){return new Zp({check:"string_format",format:"starts_with",...E(t),prefix:e})}function Bh(e,t){return new Up({check:"string_format",format:"ends_with",...E(t),suffix:e})}function Dt(e){return new Dp({check:"overwrite",tx:e})}function Kh(e){return Dt(t=>t.normalize(e))}function Wh(){return Dt(e=>e.trim())}function Gh(){return Dt(e=>e.toLowerCase())}function Yh(){return Dt(e=>e.toUpperCase())}function Qh(){return Dt(e=>ud(e))}function Xh(e,t,n){return new e({type:"array",element:t,...E(n)})}function ef(e,t,n){return new e({type:"custom",check:"custom",fn:t,...E(n)})}function tf(e,t){const n=nf(o=>(o.addIssue=s=>{if(typeof s=="string")o.issues.push(eo(s,o.value,n._zod.def));else{const i=s;i.fatal&&(i.continue=!1),i.code??(i.code="custom"),"input"in i||(i.input=o.value),i.inst??(i.inst=n),i.continue??(i.continue=!n._zod.def.abort),o.issues.push(eo(i))}},e(o.value,o)),t);return n}function nf(e,t){const n=new ue({check:"custom",...E(t)});return n._zod.check=e,n}function Gn(e,...t){for(const n of t)for(const o of Reflect.ownKeys(n))Object.prototype.propertyIsEnumerable.call(n,o)&&Ne(e,o,n[o]);return e}function Uo(e){let t=(e==null?void 0:e.target)??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:(e==null?void 0:e.metadata)??Kn,target:t,unrepresentable:(e==null?void 0:e.unrepresentable)??"throw",override:(e==null?void 0:e.override)??(()=>{}),io:(e==null?void 0:e.io)??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:(e==null?void 0:e.cycles)??"ref",reused:(e==null?void 0:e.reused)??"inline",intersections:[],deferred:[],external:(e==null?void 0:e.external)??void 0}}function te(e,t,n,o,s){const i=typeof t.unrepresentable=="function"?t.unrepresentable({zodSchema:e,path:o.path,message:s}):t.unrepresentable;if(i==="any")return!1;if(i===void 0||i==="throw")throw new Error(s);return Object.assign(n,i),!0}function H(e,t,n={path:[],schemaPath:[]}){var m,h;var o;const s=e._zod.def,i=t.seen.get(e);if(i)return i.count++,n.schemaPath.includes(e)&&(i.cycle=n.path),i.schema;const a={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,a),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;const l=(h=(m=e._zod).toJSONSchema)==null?void 0:h.call(m);if(l)a.schema=l;else{const f={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,f);else{const b=a.schema,v=t.processors[s.type];if(!v)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${s.type}`);v(e,t,b,f)}const g=e._zod.parent;g&&(a.ref||(a.ref=g),H(g,t,f),t.seen.get(g).isParent=!0)}const c=t.metadataRegistry.get(e);return c&&Gn(a.schema,c),t.io==="input"&&ce(e)&&(delete a.schema.examples,delete a.schema.default),t.io==="input"&&"_prefault"in a.schema&&((o=a.schema).default??(o.default=a.schema._prefault)),delete a.schema._prefault,t.seen.get(e).schema}function wr(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function Do(e,t){var a,l,c,p;const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;const o=new Map;for(const m of e.seen.entries()){const h=(a=e.metadataRegistry.get(m[0]))==null?void 0:a.id;if(h){const f=o.get(h);if(f&&f!==m[0])throw new Error(`Duplicate schema id "${h}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);o.set(h,m[0])}}const s=m=>{var v;const h=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const R=(v=e.external.registry.get(m[0]))==null?void 0:v.id,T=e.external.uri??(j=>j);if(R)return{ref:T(R)};const C=m[1].defId??m[1].schema.id??`schema${e.counter++}`;return m[1].defId=C,{defId:C,ref:`${T("__shared")}#/${h}/${wr(C)}`}}const f="#",g=`${f}/${h}/`;if(m[1]===n&&!m[1].schema.id)return{ref:f};const b=m[1].schema.id??`__schema${e.counter++}`;return{defId:b,ref:g+wr(b)}},i=m=>{if(m[1].schema.$ref)return;const h=m[1],{ref:f,defId:g}=s(m);h.def={...h.schema},g&&(h.defId=g);const b=h.schema;for(const v in b)delete b[v];b.$ref=f};if(e.cycles==="throw")for(const m of e.seen.entries()){const h=m[1];if(h.cycle)throw new Error(`Cycle detected: #/${(l=h.cycle)==null?void 0:l.join("/")}/<root>
63
+
64
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const m of e.seen.entries()){const h=m[1];if(t===m[0]){i(m);continue}if(e.external){const g=(c=e.external.registry.get(m[0]))==null?void 0:c.id;if(t!==m[0]&&g){i(m);continue}}if((p=e.metadataRegistry.get(m[0]))==null?void 0:p.id){i(m);continue}if(h.cycle){i(m);continue}h.count>1&&e.reused==="ref"&&i(m)}e.external&&(e.sharedDefsExtractedFor=e.external)}function La(e){const t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;const n=[];for(const o of t){if(!o||typeof o!="object")return;La(o);const s=Object.keys(o);if(s.length!==1||s[0]!=="type")return;const i=o.type;for(const a of Array.isArray(i)?i:[i]){if(typeof a!="string")return;n.includes(a)||n.push(a)}}delete e.anyOf,e.type=n.length===1?n[0]:n}const Aa=new Set(["type","properties","required","additionalProperties"]),Tr=["oneOf","anyOf"];function Pr(e){const t=e.additionalProperties;return t===void 0||t===!1||typeof t!="object"||t===null?null:Object.keys(t).length?t:null}function As(e){var i;const t=[];for(const a of e){if(typeof a!="object"||a.type!=="object")return null;for(const l in a)if(!Aa.has(l))return null;t.push(a)}const n={},o=new Set;for(const a of t){for(const l in a.properties){if(Object.prototype.hasOwnProperty.call(n,l))continue;const c=[];for(const m of t){const h=((i=m.properties)==null?void 0:i[l])??Pr(m);h!=null&&(c.some(f=>JSON.stringify(f)===JSON.stringify(h))||c.push(h))}const p=c.length===1?c[0]:As(c)??{allOf:c};Ne(n,l,p)}for(const l of a.required??[])o.add(l)}const s={type:"object",properties:n};if(o.size&&(s.required=[...o]),t.every(a=>a.additionalProperties===!1))s.additionalProperties=!1;else{const a=[];for(const l of t){const c=Pr(l);c&&!a.some(p=>JSON.stringify(p)===JSON.stringify(c))&&a.push(c)}a.length===1?s.additionalProperties=a[0]:a.length>1&&(s.additionalProperties={allOf:a})}return s}function of(e){const t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(const s of Aa)if(s in e)return;const n=t.filter(s=>Tr.some(i=>Array.isArray(s[i])));let o=null;if(!n.length)o=As(t);else{const s=n[0],i=Tr.find(c=>Array.isArray(s[c]));if(Object.keys(s).length!==1)return;const a=t.filter(c=>c!==s),l=s[i].map(c=>As([...a,c]));if(l.some(c=>!c))return;o={[i]:l}}o&&(delete e.allOf,Gn(e,o))}function Ho(e,t){var l,c,p,m;const n=e.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");const o=h=>{const f=e.seen.get(h);if(f.ref===null)return;const g=f.def??f.schema,b={...g},v=f.ref;if(f.ref=null,v){o(v);const T=e.seen.get(v),C=T.schema;if(C.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(g.allOf=g.allOf??[],g.allOf.push(C)):Gn(g,C),Gn(g,b),h._zod.parent===v)for(const L in g)L==="$ref"||L==="allOf"||L in b||delete g[L];if(C.$ref&&T.def)for(const L in g)L==="$ref"||L==="allOf"||L in T.def&&JSON.stringify(g[L])===JSON.stringify(T.def[L])&&delete g[L]}const R=h._zod.parent;if(R&&R!==v){o(R);const T=e.seen.get(R);if(T!=null&&T.schema.$ref&&(g.$ref=T.schema.$ref,T.def))for(const C in g)C==="$ref"||C==="allOf"||C in T.def&&JSON.stringify(g[C])===JSON.stringify(T.def[C])&&delete g[C]}e.override({zodSchema:h,jsonSchema:g,path:f.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(const h of[...e.seen.entries()].reverse())o(h[0]);if(e.target!=="openapi-3.0")for(const h of e.seen.entries())La(h[1].def??h[1].schema);for(const h of e.deferred)h();if(e.intersections.length){const h=new Map;for(const f of e.seen.values())for(const g of[f.schema,f.def]){const b=g==null?void 0:g.allOf;if(!Array.isArray(b))continue;const v=h.get(b);v?v.push(g):h.set(b,[g])}for(const f of e.intersections)for(const g of h.get(f)??[])of(g)}}const s={};if(e.target==="draft-2020-12"?s.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?s.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?s.$schema="http://json-schema.org/draft-04/schema#":e.target,(l=e.external)!=null&&l.uri){const h=(c=e.external.registry.get(t))==null?void 0:c.id;if(!h)throw new Error("Schema is missing an `id` property");s.$id=e.external.uri(h)}Gn(s,n.defId?n.schema:n.def??n.schema);const i=(p=e.metadataRegistry.get(t))==null?void 0:p.id;i!==void 0&&s.id===i&&delete s.id;const a=((m=e.external)==null?void 0:m.defs)??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(const h of e.seen.entries()){const f=h[1];f.def&&f.defId&&(f.def.id===f.defId&&delete f.def.id,Ne(a,f.defId,f.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(a).length>0&&(e.target==="draft-2020-12"?s.$defs=a:s.definitions=a);try{const h=JSON.parse(JSON.stringify(s));return Object.defineProperty(h,"~standard",{value:{...t["~standard"],jsonSchema:{input:Fo(t,"input",e.processors),output:Fo(t,"output",e.processors)}},enumerable:!1,writable:!1}),h}catch{throw new Error("Error converting schema to JSON.")}}function ce(e,t){const n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);const o=e._zod.def;if(o.type==="transform")return!0;if(o.type==="array")return ce(o.element,n);if(o.type==="set")return ce(o.valueType,n);if(o.type==="lazy")return ce(o.getter(),n);if(o.type==="promise"||o.type==="optional"||o.type==="nonoptional"||o.type==="nullable"||o.type==="readonly"||o.type==="default"||o.type==="prefault"||o.type==="catch")return ce(o.innerType,n);if(o.type==="intersection")return ce(o.left,n)||ce(o.right,n);if(o.type==="record"||o.type==="map")return ce(o.keyType,n)||ce(o.valueType,n);if(o.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:ce(o.in,n)||ce(o.out,n);if(o.type==="object"){for(const s in o.shape)if(ce(o.shape[s],n))return!0;return!1}if(o.type==="union"){for(const s of o.options)if(ce(s,n))return!0;return!1}if(o.type==="tuple"){for(const s of o.items)if(ce(s,n))return!0;return!!(o.rest&&ce(o.rest,n))}return!1}const sf=(e,t={})=>n=>{const o=Uo({...n,processors:t});return H(e,o),Do(o,e),Ho(o,e)},Fo=(e,t,n={})=>o=>{const{libraryOptions:s,target:i}=o??{},a=Uo({...s??{},target:i,io:t,processors:n});return H(e,a),Do(a,e),Ho(a,e)},jt=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},Zt=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},kr=(e,t)=>{jt(e,"minimum",t),Zt(e,"maximum",t)},ja=(e,t)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(t)||e.multipleOf.push(t)},Za=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},Ua=(e,t)=>{e.mime=e.mime?e.mime.filter(n=>t.includes(n)):[...t]},Da=(e,t)=>{e.format=t,t.includes("int")&&(e.isInt=!0)},Cr=(e,t)=>jt(e,"minimum",t.minimum),$r=(e,t)=>Zt(e,"maximum",t.maximum),Er=e=>(t,n)=>{Da(t,n.format);const[o,s]=e[n.format];jt(t,"minimum",o),Zt(t,"maximum",s)},Ps={greater_than:(e,t)=>jt(e,t.inclusive?"minimum":"exclusiveMinimum",t.value),less_than:(e,t)=>Zt(e,t.inclusive?"maximum":"exclusiveMaximum",t.value),multiple_of:(e,t)=>ja(e,t.value),number_format:Er(aa),bigint_format:Er(hd),min_length:Cr,max_length:$r,length_equals:(e,t)=>kr(e,t.length),min_size:Cr,max_size:$r,size_equals:(e,t)=>kr(e,t.size),string_format:(e,t)=>{Da(e,t.format),t.pattern&&Za(e,t.pattern),(t.format==="base64"||t.format==="base64url")&&(e.contentEncoding=t.format),(t.local||t.precision===-1)&&(e.laxFormat=!0)},mime_type:(e,t)=>Ua(e,t.mime)};function _e(e){var i;const t={},n=e._zod.def,o=e._zod.traits.has("$ZodCheck")?[e,...n.checks??[]]:n.checks??[];for(const a of o)(i=Ps[a._zod.def.check])==null||i.call(Ps,t,a._zod.def);const s=e._zod.bag;s.minimum!==void 0&&jt(t,"minimum",s.minimum),s.exclusiveMinimum!==void 0&&jt(t,"exclusiveMinimum",s.exclusiveMinimum),s.maximum!==void 0&&Zt(t,"maximum",s.maximum),s.exclusiveMaximum!==void 0&&Zt(t,"exclusiveMaximum",s.exclusiveMaximum),s.multipleOf!==void 0&&ja(t,s.multipleOf),s.format!==void 0&&(t.format??(t.format=s.format),s.format.includes("int")&&(t.isInt=!0)),s.mime&&Ua(t,s.mime);for(const a of s.patterns??[])Za(t,a);return t}const rf={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},af=new Map([[Ra,Sp],[li,gp]]),Ha=e=>af.get(e)??e,Fa=(e,t,n,o)=>{const s=n;s.type="string";const{minimum:i,maximum:a,format:l,patterns:c,contentEncoding:p,laxFormat:m}=_e(e);if(typeof i=="number"&&(s.minLength=i),typeof a=="number"&&(s.maxLength=a),l&&(s.format=rf[l]??l,s.format===""&&delete s.format,(l==="time"||m)&&delete s.format),p&&(s.contentEncoding=p),c&&c.size>0){const h=[...c].map(Ha);h.length===1?s.pattern=h[0].source:h.length>1&&(s.allOf=[...h.map(f=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:f.source}))])}},Ja=(e,t,n,o)=>{const s=n,{minimum:i,maximum:a,multipleOf:l,exclusiveMaximum:c,exclusiveMinimum:p,isInt:m}=_e(e);s.type=m?"integer":"number";const h=typeof p=="number"&&p>=(i??Number.NEGATIVE_INFINITY),f=typeof c=="number"&&c<=(a??Number.POSITIVE_INFINITY),g=t.target==="draft-04"||t.target==="openapi-3.0";if(h?g?(s.minimum=p,s.exclusiveMinimum=!0):s.exclusiveMinimum=p:typeof i=="number"&&(s.minimum=i),f?g?(s.maximum=c,s.exclusiveMaximum=!0):s.exclusiveMaximum=c:typeof a=="number"&&(s.maximum=a),l){const b=new Set;for(const T of l)Number.isFinite(T)&&T!==0?b.add(Math.abs(T)):te(e,t,s,o,`A multipleOf divisor of ${T} cannot be represented in JSON Schema`);const[v,...R]=b;v!==void 0&&(s.multipleOf=v),R.length&&(s.allOf=[...s.allOf??[],...R.map(T=>({multipleOf:T}))])}},Va=(e,t,n,o)=>{n.type="boolean"},cf=(e,t,n,o)=>{te(e,t,n,o,"BigInt cannot be represented in JSON Schema")},lf=(e,t,n,o)=>{te(e,t,n,o,"Symbols cannot be represented in JSON Schema")},Ba=(e,t,n,o)=>{t.target==="openapi-3.0"?(n.type="string",n.nullable=!0,n.enum=[null]):n.type="null"},Ka=(e,t,n,o)=>{te(e,t,n,o,"Undefined cannot be represented in JSON Schema")},uf=(e,t,n,o)=>{te(e,t,n,o,"Void cannot be represented in JSON Schema")},Wa=(e,t,n,o)=>{n.not={}},Ga=(e,t,n,o)=>{},Ya=(e,t,n,o)=>{},df=(e,t,n,o)=>{te(e,t,n,o,"Date cannot be represented in JSON Schema")},Qa=(e,t,n,o)=>{const s=e._zod.def,i=Is(s.entries);if(i.length===0){n.not={};return}i.every(a=>typeof a=="number")&&(n.type="number"),i.every(a=>typeof a=="string")&&(n.type="string"),n.enum=i},Xa=(e,t,n,o)=>{const s=e._zod.def;if(s.values.length===0){n.not={};return}const i=[];for(const a of s.values)if(a===void 0){if(te(e,t,n,o,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof a=="bigint"){if(te(e,t,n,o,"BigInt literals cannot be represented in JSON Schema"))return;i.push(Number(a))}else i.push(a);if(i.length!==0)if(i.length===1){const a=i[0];n.type=a===null?"null":typeof a,t.target==="draft-04"||t.target==="openapi-3.0"?n.enum=[a]:n.const=a}else i.every(a=>typeof a=="number")&&(n.type="number"),i.every(a=>typeof a=="string")&&(n.type="string"),i.every(a=>typeof a=="boolean")&&(n.type="boolean"),i.every(a=>a===null)&&(n.type="null"),n.enum=i},pf=(e,t,n,o)=>{te(e,t,n,o,"NaN cannot be represented in JSON Schema")},mf=(e,t,n,o)=>{const s=n,i=e._zod.pattern;if(!i)throw new Error("Pattern not found in template literal");s.type="string",s.pattern=i.source},hf=(e,t,n,o)=>{const s=n;s.type="string",s.format="binary",s.contentEncoding="binary";const{minimum:i,maximum:a,mime:l}=_e(e);i!==void 0&&(s.minLength=i),a!==void 0&&(s.maxLength=a),l&&(l.length===0?s.not={}:l.length===1?s.contentMediaType=l[0]:s.anyOf=l.map(c=>({contentMediaType:c})))},ff=(e,t,n,o)=>{n.type="boolean"},ec=(e,t,n,o)=>{te(e,t,n,o,"Custom types cannot be represented in JSON Schema")},Sf=(e,t,n,o)=>{te(e,t,n,o,"Function types cannot be represented in JSON Schema")},tc=(e,t,n,o)=>{te(e,t,n,o,"Transforms cannot be represented in JSON Schema")},gf=(e,t,n,o)=>{te(e,t,n,o,"Map cannot be represented in JSON Schema")},_f=(e,t,n,o)=>{te(e,t,n,o,"Set cannot be represented in JSON Schema")},nc=(e,t,n,o)=>{const s=n,i=e._zod.def,{minimum:a,maximum:l}=_e(e);typeof a=="number"&&(s.minItems=a),typeof l=="number"&&(s.maxItems=l),s.type="array",s.items=H(i.element,t,{...o,path:[...o.path,"items"]})};function to(e){const t=e._zod.def;return t.type==="pipe"&&t.in._zod.traits.has("$ZodTransform")?to(t.out):t.type==="catch"?to(t.innerType):e._zod.optin}const oc=(e,t,n,o)=>{var p;const s=n,i=e._zod.def,a=i.shape;if(Object.getOwnPropertySymbols(a).length&&te(e,t,s,o,"Symbol keys cannot be represented in JSON Schema"))return;s.type="object",s.properties={};for(const m in a)Ne(s.properties,m,H(a[m],t,{...o,path:[...o.path,"properties",m]}));const c=[];for(const m of Object.keys(a)){const h=i.shape[m];(t.io==="input"?to(h)===void 0:h._zod.optout===void 0)&&c.push(m)}c.length>0&&(s.required=c),((p=i.catchall)==null?void 0:p._zod.def.type)==="never"?s.additionalProperties=!1:i.catchall?i.catchall&&(s.additionalProperties=H(i.catchall,t,{...o,path:[...o.path,"additionalProperties"]})):t.io==="output"&&(s.additionalProperties=!1)},sc=(e,t,n,o)=>{const s=e._zod.def,i=s.inclusive===!1,a=s.options.map((l,c)=>H(l,t,{...o,path:[...o.path,i?"oneOf":"anyOf",c]}));i?n.oneOf=a:n.anyOf=a},ic=(e,t,n,o)=>{const s=e._zod.def,i=H(s.left,t,{...o,path:[...o.path,"allOf",0]}),a=H(s.right,t,{...o,path:[...o.path,"allOf",1]}),l=p=>"allOf"in p&&Object.keys(p).length===1,c=[...l(i)?i.allOf:[i],...l(a)?a.allOf:[a]];n.allOf=c,t.intersections.push(c)},bf=(e,t,n,o)=>{const s=n,i=e._zod.def;s.type="array";const a=t.target==="draft-2020-12"?"prefixItems":"items",l=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",c=i.items.map((v,R)=>H(v,t,{...o,path:[...o.path,a,R]})),p=i.rest?H(i.rest,t,{...o,path:[...o.path,l,...t.target==="openapi-3.0"?[i.items.length]:[]]}):null;let m=i.items.length;for(;m>0;){const v=i.items[m-1];if(!(t.io==="input"?to(v)!==void 0:v._zod.optout==="optional"))break;m--}const h=i.items.length,f=!i.rest;t.target==="draft-2020-12"?(s.prefixItems=c,f?s.items=!1:p&&(s.items=p),m>0&&(s.minItems=m),f&&(s.maxItems=h)):t.target==="openapi-3.0"?(s.items={anyOf:c},p&&s.items.anyOf.push(p),m>0&&(s.minItems=m),f&&(s.maxItems=h)):(s.items=c,f?s.additionalItems=!1:p&&(s.additionalItems=p),m>0&&(s.minItems=m),f&&(s.maxItems=h));const{minimum:g,maximum:b}=_e(e);typeof g=="number"&&(s.minItems=g),typeof b=="number"&&(s.maxItems=b)};function js(e,t,n){var b;if(t.$ref){if(n.has(t))return t;n.add(t);const v=(b=e.get(t))==null?void 0:b.def;if(!v)return t;const R=js(e,v,n);return R===v?t:R}for(const v of["anyOf","oneOf"]){const R=t[v];if(!Array.isArray(R))continue;const T=R.map(C=>js(e,C,n));T.some((C,j)=>C!==R[j])&&(t={...t,[v]:T})}const o=Array.isArray(t.type)?t.type:[t.type],s=!o.includes("string")&&o.some(v=>v==="number"||v==="integer"),i=t.enum??(t.const!==void 0?[t.const]:void 0);if(!s&&!(i!=null&&i.some(v=>typeof v=="number")))return t;const{minimum:a,maximum:l,exclusiveMinimum:c,exclusiveMaximum:p,multipleOf:m,format:h,id:f,...g}=t;return g.enum?g.enum=g.enum.map(v=>typeof v=="number"?String(v):v):typeof g.const=="number"&&(g.const=String(g.const)),s&&(g.type="string",i||(g.pattern=(o.includes("number")?ri:Pp).source)),g}const Zs=new WeakMap;function yf(e){var o;const t=new Map;for(const s of e.seen.values())s.def&&!t.has(s.schema)&&t.set(s.schema,s);const n=new Map;for(const s of Zs.get(e)??[]){const i=e.seen.get(s),a=(o=(i==null?void 0:i.def)??(i==null?void 0:i.schema))==null?void 0:o.propertyNames;if(!a||a===!0||n.has(a))continue;const l=js(t,a,new Set);l!==a&&n.set(a,l)}if(n.size)for(const s of e.seen.values())for(const i of[s.schema,s.def]){const a=i&&n.get(i.propertyNames);a&&(i.propertyNames=a)}}const rc=(e,t,n,o)=>{const s=n,i=e._zod.def;s.type="object";const a=i.keyType,l=_e(a).patterns;if(i.mode==="loose"&&l&&l.size>0){const m=H(i.valueType,t,{...o,path:[...o.path,"patternProperties","*"]});s.patternProperties={};for(const h of l)Ne(s.patternProperties,Ha(h).source,m)}else{if(t.target==="draft-07"||t.target==="draft-2020-12"){s.propertyNames=H(i.keyType,t,{...o,path:[...o.path,"propertyNames"]});let m=Zs.get(t);m||(m=[],Zs.set(t,m),t.deferred.push(()=>yf(t))),m.push(e)}s.additionalProperties=H(i.valueType,t,{...o,path:[...o.path,"additionalProperties"]})}const c=a._zod.values,p=t.io==="input"&&to(i.valueType)!==void 0;if(c&&!i.partial&&!p){const m=[...c].filter(h=>typeof h=="string"||typeof h=="number");m.length>0&&(s.required=m.map(String))}},ac=(e,t,n,o)=>{const s=e._zod.def,i=H(s.innerType,t,o),a=t.seen.get(e);t.target==="openapi-3.0"?(a.ref=s.innerType,n.nullable=!0):n.anyOf=[i,{type:"null"}]},cc=(e,t,n,o)=>{const s=e._zod.def;H(s.innerType,t,o);const i=t.seen.get(e);i.ref=s.innerType},di=Symbol();function lc(e,t,n,o,s){let i=!1;const a=JSON.stringify(e,(l,c)=>typeof c!="bigint"?c:(i=!0,null));return i?(te(t,n,o,s,"BigInt defaults cannot be represented in JSON Schema"),di):JSON.parse(a)}const uc=(e,t,n,o)=>{const s=e._zod.def;H(s.innerType,t,o);const i=t.seen.get(e);i.ref=s.innerType;const a=lc(s.defaultValue,e,t,n,o);a!==di&&(n.default=a)},dc=(e,t,n,o)=>{const s=e._zod.def;H(s.innerType,t,o);const i=t.seen.get(e);if(i.ref=s.innerType,t.io!=="input")return;const a=lc(s.defaultValue,e,t,n,o);a!==di&&(n._prefault=a)},pc=(e,t,n,o)=>{const s=e._zod.def;H(s.innerType,t,o);const i=t.seen.get(e);i.ref=s.innerType;let a;try{a=s.catchValue(void 0)}catch{te(e,t,n,o,"Dynamic catch values are not supported in JSON Schema");return}n.default=a},mc=(e,t,n,o)=>{const s=e._zod.def,i=s.in._zod.traits.has("$ZodTransform"),a=t.io==="input"?i?s.out:s.in:s.out;H(a,t,o);const l=t.seen.get(e);l.ref=a},hc=(e,t,n,o)=>{const s=e._zod.def;H(s.innerType,t,o);const i=t.seen.get(e);i.ref=s.innerType,n.readOnly=!0},vf=(e,t,n,o)=>{const s=e._zod.def;H(s.innerType,t,o);const i=t.seen.get(e);i.ref=s.innerType},pi=(e,t,n,o)=>{const s=e._zod.def;H(s.innerType,t,o);const i=t.seen.get(e);i.ref=s.innerType},fc=(e,t,n,o)=>{const s=e._zod.innerType;H(s,t,o);const i=t.seen.get(e);i.ref=s},Or={string:Fa,number:Ja,boolean:Va,bigint:cf,symbol:lf,null:Ba,undefined:Ka,void:uf,never:Wa,any:Ga,unknown:Ya,date:df,enum:Qa,literal:Xa,nan:pf,template_literal:mf,file:hf,success:ff,custom:ec,function:Sf,transform:tc,map:gf,set:_f,array:nc,object:oc,union:sc,intersection:ic,tuple:bf,record:rc,nullable:ac,nonoptional:cc,default:uc,prefault:dc,catch:pc,pipe:mc,readonly:hc,promise:vf,optional:pi,lazy:fc};function Sc(e,t){if("_idmap"in e){const o=e,s=Uo({...t,processors:Or}),i={};for(const c of o._idmap.entries()){const[p,m]=c;H(m,s)}const a={},l={registry:o,uri:t==null?void 0:t.uri,defs:i};s.external=l;for(const c of o._idmap.entries()){const[p,m]=c;Do(s,m),Ne(a,p,Ho(s,m))}if(Object.keys(i).length>0){const c=s.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[c]:i}}return{schemas:a}}const n=Uo({...t,processors:Or});return H(e,n),Do(n,e),Ho(n,e)}const qr=new WeakSet([Object.prototype,Error.prototype]);function Eo(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){const o=n(this);return Object.defineProperty(this,t,{value:o,configurable:!0,writable:!0}),o},set(o){Object.defineProperty(this,t,{value:o,configurable:!0,writable:!0})}})}const Rf=(e,t)=>{Ld.init(e,t),e.name="ZodError";const n=Object.getPrototypeOf(e);qr.has(n)||(qr.add(n),Eo(n,"format",o=>s=>Zd(o,s)),Eo(n,"flatten",o=>s=>jd(o,s)),Eo(n,"addIssue",o=>s=>{o.issues.push(s),o.message=JSON.stringify(o.issues,Ns,2)}),Eo(n,"addIssues",o=>s=>{o.issues.push(...s),o.message=JSON.stringify(o.issues,Ns,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},ve=_("ZodError",Rf,void 0,{Parent:Error}),wf=ni(ve),Tf=oi(ve),gc=si(ve),Pf=ii(ve),kf=Vd(ve),Cf=Bd(ve),$f=Kd(ve),Ef=Wd(ve),Of=Gd(ve),qf=Yd(ve),If=Qd(ve),Nf=Xd(ve);function zf(){Ce.localeError||$e(ah())}function ts(){Ce.memoizer||$e({memoizer:sh()})}const U=_("ZodType",(e,t)=>(zf(),Z.init(e,t),e.def=t,e.type=t.type,e),{check(...e){const t=this.def;return this.clone(ge(t,{checks:[...t.checks??[],...e.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return Ke(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(CS(e,t))},superRefine(e,t){return this.check($S(e,t))},overwrite(e){return this.check(Dt(e))},optional(){return O(this)},exactOptional(){return mS(this)},nullable(){return zr(this)},nullish(){return O(zr(this))},nonoptional(e){return bS(this,e)},array(){return S(this)},or(e){return P([this,e])},and(e){return dt(this,e)},transform(e){return xr(this,kc(e))},default(e){return SS(this,e)},prefault(e){return _S(this,e)},catch(e){return vS(this,e)},pipe(e){return xr(this,e)},readonly(){return TS(this)},describe(e){const t=this.clone();return Kn.add(t,{description:e}),t},meta(...e){if(e.length===0)return Kn.get(this);const t=this.clone();return Kn.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e,...t){return t.length===0?e(this):e(this,...t)},get"~standard"(){return la(this,"~standard",{...ga(this),jsonSchema:{input:Fo(this,"input"),output:Fo(this,"output")}})},set"~standard"(e){Be(this,"~standard",e)},parse:function e(t,n){return wf(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await Tf(this,t,n,{callee:e})},safeParse(e,t){return gc(this,e,t)},async safeParseAsync(e,t){return Pf(this,e,t)},get spa(){return this==null?void 0:this.safeParseAsync},set spa(e){Be(this,"spa",e)},validate(e,t){return Hd(this,e,t)},validateAsync(e,t){return Jd(this,e,t)},encode:function e(t,n){return kf(this,t,n,{callee:e})},decode:function e(t,n){return Cf(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await $f(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await Ef(this,t,n,{callee:e})},safeEncode(e,t){return Of(this,e,t)},safeDecode(e,t){return qf(this,e,t)},async safeEncodeAsync(e,t){return If(this,e,t)},async safeDecodeAsync(e,t){return Nf(this,e,t)},toJSONSchema(e){return sf(this,{})(e)},get description(){var e;return(e=Kn.get(this))==null?void 0:e.description},get _def(){return this._zod.def}}),_c=_("_ZodString",(e,t)=>{ci.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>Fa(e,n,o)},ua({format:e=>_e(e).format??null,minLength:e=>_e(e).minimum??null,maxLength:e=>_e(e).maximum??null},{regex(...e){return this.check(Dh(...e))},includes(...e){return this.check(Jh(...e))},startsWith(...e){return this.check(Vh(...e))},endsWith(...e){return this.check(Bh(...e))},min(...e){return this.check(Zo(...e))},max(...e){return this.check(xa(...e))},length(...e){return this.check(Ma(...e))},nonempty(...e){return this.check(Zo(1,...e))},lowercase(e){return this.check(Hh(e))},uppercase(e){return this.check(Fh(e))},trim(){return this.check(Wh())},normalize(...e){return this.check(Kh(...e))},toLowerCase(){return this.check(Gh())},toUpperCase(){return this.check(Yh())},slugify(){return this.check(Qh())}})),xf=_("ZodString",(e,t)=>{ci.init(e,t),_c.init(e,t)},{email(e){return this.check(qa(vc,e))},url(e){return this.check(Ia(Rc,e))},jwt(e){return this.check(Oh(eS,e))},emoji(e){return this.check(Sh(Zf,e))},guid(e){return this.check(dh(jf,e))},uuid(e){return this.check(ph(Oo,e))},uuidv4(e){return this.check(mh(Oo,e))},uuidv6(e){return this.check(hh(Oo,e))},uuidv7(e){return this.check(fh(Oo,e))},nanoid(e){return this.check(gh(Uf,e))},cuid(e){return this.check(_h(Df,e))},cuid2(e){return this.check(bh(Hf,e))},ulid(e){return this.check(yh(Ff,e))},base64(e){return this.check(Ch(Yf,e))},base64url(e){return this.check($h(Qf,e))},xid(e){return this.check(vh(Jf,e))},ksuid(e){return this.check(Rh(Vf,e))},ipv4(e){return this.check(wh(Bf,e))},ipv6(e){return this.check(Th(Kf,e))},cidrv4(e){return this.check(Ph(Wf,e))},cidrv6(e){return this.check(kh(Gf,e))},e164(e){return this.check(Eh(Xf,e))},datetime(e){return this.check(Na(bc,e))},date(e){return this.check(za(yc,e))},time(e){return this.check(qh(Mf,e))},duration(e){return this.check(Ih(Lf,e))}});function r(e){return uh(xf,e)}const V=_("ZodStringFormat",(e,t)=>{F.init(e,t),_c.init(e,t)}),bc=_("ZodISODateTime",(e,t)=>{cm.init(e,t),V.init(e,t)}),yc=_("ZodISODate",(e,t)=>{lm.init(e,t),V.init(e,t)}),Mf=_("ZodISOTime",(e,t)=>{um.init(e,t),V.init(e,t)}),Lf=_("ZodISODuration",(e,t)=>{dm.init(e,t),V.init(e,t)}),vc=_("ZodEmail",(e,t)=>{Kp.init(e,t),V.init(e,t)});function Af(e){return qa(vc,e)}const jf=_("ZodGUID",(e,t)=>{Vp.init(e,t),V.init(e,t)}),Oo=_("ZodUUID",(e,t)=>{Bp.init(e,t),V.init(e,t)}),Rc=_("ZodURL",(e,t)=>{em.init(e,t),V.init(e,t)});function wc(e){return Ia(Rc,e)}const Zf=_("ZodEmoji",(e,t)=>{tm.init(e,t),V.init(e,t)}),Uf=_("ZodNanoID",(e,t)=>{nm.init(e,t),V.init(e,t)}),Df=_("ZodCUID",(e,t)=>{om.init(e,t),V.init(e,t)}),Hf=_("ZodCUID2",(e,t)=>{sm.init(e,t),V.init(e,t)}),Ff=_("ZodULID",(e,t)=>{im.init(e,t),V.init(e,t)}),Jf=_("ZodXID",(e,t)=>{rm.init(e,t),V.init(e,t)}),Vf=_("ZodKSUID",(e,t)=>{am.init(e,t),V.init(e,t)}),Bf=_("ZodIPv4",(e,t)=>{pm.init(e,t),V.init(e,t)}),Kf=_("ZodIPv6",(e,t)=>{hm.init(e,t),V.init(e,t)}),Wf=_("ZodCIDRv4",(e,t)=>{fm.init(e,t),V.init(e,t)}),Gf=_("ZodCIDRv6",(e,t)=>{gm.init(e,t),V.init(e,t)}),Yf=_("ZodBase64",(e,t)=>{_m.init(e,t),V.init(e,t)}),Qf=_("ZodBase64URL",(e,t)=>{ym.init(e,t),V.init(e,t)}),Xf=_("ZodE164",(e,t)=>{vm.init(e,t),V.init(e,t)}),eS=_("ZodJWT",(e,t)=>{wm.init(e,t),V.init(e,t)}),mi=_("ZodNumber",(e,t)=>{wa.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>Ja(e,n,o,s),e.isFinite=!0},ua({minValue:e=>{const{minimum:t,exclusiveMinimum:n}=_e(e);return Math.max(t??Number.NEGATIVE_INFINITY,n??Number.NEGATIVE_INFINITY)},maxValue:e=>{const{maximum:t,exclusiveMaximum:n}=_e(e);return Math.min(t??Number.POSITIVE_INFINITY,n??Number.POSITIVE_INFINITY)},isInt:e=>{const{isInt:t,multipleOf:n}=_e(e);return!!t||!!(n!=null&&n.some(Number.isSafeInteger))},format:e=>_e(e).format??null},{gt(e,t){return this.check(vr(e,t))},gte(e,t){return this.check(Ts(e,t))},min(e,t){return this.check(Ts(e,t))},lt(e,t){return this.check(yr(e,t))},lte(e,t){return this.check(ws(e,t))},max(e,t){return this.check(ws(e,t))},int(e){return this.check(Ir(e))},safe(e){return this.check(Ir(e))},positive(e){return this.check(vr(0,e))},nonnegative(e){return this.check(Ts(0,e))},negative(e){return this.check(yr(0,e))},nonpositive(e){return this.check(ws(0,e))},multipleOf(e,t){return this.check(Rr(e,t))},step(e,t){return this.check(Rr(e,t))},finite(){return this}}));function y(e){return Nh(mi,e)}const tS=_("ZodNumberFormat",(e,t)=>{Tm.init(e,t),mi.init(e,t)});function Ir(e){return xh(tS,e)}const nS=_("ZodBoolean",(e,t)=>{Pm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>Va(e,n,o)});function k(e){return Mh(nS,e)}const oS=_("ZodUndefined",(e,t)=>{km.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>Ka(e,n,o,s)});function Us(e){return Lh(oS,e)}const sS=_("ZodNull",(e,t)=>{Cm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>Ba(e,n,o)});function no(e){return Ah(sS,e)}const iS=_("ZodAny",(e,t)=>{$m.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>Ga()});function hi(){return jh(iS)}const rS=_("ZodUnknown",(e,t)=>{Em.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>Ya()});function $(){return Zh(rS)}const aS=_("ZodNever",(e,t)=>{Om.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>Wa(e,n,o)});function Ds(e){return Uh(aS,e)}const cS=_("ZodArray",(e,t)=>{ts(),Nm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>nc(e,n,o,s),e.element=t.element},{min(e,t){return this.check(Zo(e,t))},nonempty(e){return this.check(Zo(1,e))},max(e,t){return this.check(xa(e,t))},length(e,t){return this.check(Ma(e,t))},unwrap(){return this.element}});function S(e,t){return Xh(cS,e,t)}const Tc=_("ZodObject",(e,t)=>{ts(),Mm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>oc(e,n,o,s),$d(e,"shape",n=>n._zod.def.shape,!1)},{keyof(){return N(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(ge(this._zod.def,{catchall:e}))},passthrough(){return this.clone(ge(this._zod.def,{catchall:$()}))},loose(){return this.clone(ge(this._zod.def,{catchall:$()}))},strict(){return this.clone(ge(this._zod.def,{catchall:Ds()}))},strip(){return this.clone(ge(this._zod.def,{catchall:void 0}))},extend(e){return gd(this,e)},safeExtend(e){return _d(this,e)},merge(e){return bd(this,e)},pick(e){return fd(this,e)},omit(e){return Sd(this,e)},partial(...e){return nr(Cc,this,e[0])},exactPartial(...e){return nr($c,this,e[0],"exactPartial")},required(...e){return yd(Ec,this,e[0])}});function u(e,t){const n={type:"object",shape:e??{},...E(t)};return new Tc(n)}function q(e,t){return new Tc({type:"object",shape:e,catchall:$(),...E(t)})}const Pc=_("ZodUnion",(e,t)=>{ka.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>sc(e,n,o,s),e.options=t.options});function P(e,t){return new Pc({type:"union",options:e,...E(t)})}const lS=_("ZodDiscriminatedUnion",(e,t)=>{Pc.init(e,t),Am.init(e,t)});function Jo(e,t,n){return new lS({type:"union",options:t,discriminator:e,...E(n)})}const uS=_("ZodIntersection",(e,t)=>{jm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>ic(e,n,o,s)});function dt(e,t){return new uS({type:"intersection",left:e,right:t})}const Nr=_("ZodRecord",(e,t)=>{ts(),Zm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>rc(e,n,o,s),e.keyType=t.keyType,e.valueType=t.valueType});function w(e,t,n){return!t||!t._zod?new Nr({type:"record",keyType:r(),valueType:e,...E(t)}):new Nr({type:"record",keyType:e,valueType:t,...E(n)})}const Hs=_("ZodEnum",(e,t)=>{Um.init(e,t),U.init(e,t),e._zod.processJSONSchema=(o,s,i)=>Qa(e,o,s),e.enum=t.entries,e.options=[...e._zod.values];const n=new Set(Object.keys(t.entries));e.extract=(o,s)=>{const i={};for(const a of o)if(n.has(a))i[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new Hs({...t,checks:[],...E(s),entries:i})},e.exclude=(o,s)=>{const i={...t.entries};for(const a of o)if(n.has(a))delete i[a];else throw new Error(`Key ${a} not found in enum`);return new Hs({...t,checks:[],...E(s),entries:i})}});function N(e,t){const n=Array.isArray(e)?Object.fromEntries(e.map(o=>[o,o])):e;return new Hs({type:"enum",entries:n,...E(t)})}const dS=_("ZodLiteral",(e,t)=>{Dm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>Xa(e,n,o,s),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 d(e,t){return new dS({type:"literal",values:Array.isArray(e)?e:[e],...E(t)})}const pS=_("ZodTransform",(e,t)=>{ts(),Hm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>tc(e,n,o,s),e._zod.parse=(n,o)=>{if(o.direction==="backward")throw new da(e.constructor.name);n.addIssue=i=>{if(typeof i=="string")n.issues.push(eo(i,n.value,t));else{const a=i;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),"input"in a||(a.input=n.value),a.inst??(a.inst=e),n.issues.push(eo(a))}};const s=t.transform(n.value,n);return s instanceof Promise?s.then(i=>(n.value=i,n)):(n.value=s,n)}});function kc(e){return new pS({type:"transform",transform:e})}const Cc=_("ZodOptional",(e,t)=>{Ca.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>pi(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function O(e){return new Cc({type:"optional",innerType:e})}const $c=_("ZodExactOptional",(e,t)=>{Fm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>pi(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function mS(e){return new $c({type:"optional",innerType:e})}const hS=_("ZodNullable",(e,t)=>{Jm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>ac(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function zr(e){return new hS({type:"nullable",innerType:e})}const fS=_("ZodDefault",(e,t)=>{Vm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>uc(e,n,o,s),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function SS(e,t){return new fS({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():ia(t)}})}const gS=_("ZodPrefault",(e,t)=>{Bm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>dc(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function _S(e,t){return new gS({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():ia(t)}})}const Ec=_("ZodNonOptional",(e,t)=>{Km.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>cc(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function bS(e,t){return new Ec({type:"nonoptional",innerType:e,...E(t)})}const yS=_("ZodCatch",(e,t)=>{Wm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>pc(e,n,o,s),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function vS(e,t){return new yS({type:"catch",innerType:e,catchValue:typeof t=="function"?t:Od(t)})}const Oc=_("ZodPipe",(e,t)=>{$a.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>mc(e,n,o,s),e.in=t.in,e.out=t.out});function xr(e,t){return new Oc({type:"pipe",in:e,out:t})}const RS=_("ZodPreprocess",(e,t)=>{Oc.init(e,t),Gm.init(e,t)}),wS=_("ZodReadonly",(e,t)=>{Ym.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>hc(e,n,o,s),e.unwrap=()=>e._zod.def.innerType});function TS(e){return new wS({type:"readonly",innerType:e})}const PS=_("ZodLazy",(e,t)=>{Qm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>fc(e,n,o,s),e.unwrap=()=>e._zod.def.getter()});function fi(e){return new PS({type:"lazy",getter:e})}const kS=_("ZodCustom",(e,t)=>{Xm.init(e,t),U.init(e,t),e._zod.processJSONSchema=(n,o,s)=>ec(e,n,o,s)});function CS(e,t={}){return ef(kS,e,t)}function $S(e,t){return tf(e,t)}function oo(e,t){return new RS({type:"pipe",in:kc(e),out:t})}const ES={custom:"custom"};function ns(e){return Na(bc,e)}function OS(e){return za(yc,e)}function qS(e){return zh(mi,e)}const IS="2025-11-25",NS=[IS,"2025-06-18","2025-03-26","2024-11-05","2024-10-07"],zS="io.modelcontextprotocol/related-task",os="io.modelcontextprotocol/protocolVersion",Si="io.modelcontextprotocol/clientInfo",Yn="io.modelcontextprotocol/serverInfo",ss="io.modelcontextprotocol/clientCapabilities",xS="io.modelcontextprotocol/subscriptionId",gi="io.modelcontextprotocol/logLevel",is="2.0",Ut=fi(()=>P([r(),y(),k(),no(),w(r(),Ut),S(Ut)])),K=w(r(),Ut),MS=S(Ut),_i=P([r(),y().int()]),bi=r(),qc=u({ttl:y().optional()}),Ic=u({taskId:r()}),yi=q({progressToken:_i.optional(),[zS]:Ic.optional()}),re=u({_meta:yi.optional()}),co=re.extend({task:qc.optional()}),W=u({method:r(),params:re.loose().optional()}),de=u({_meta:yi.optional()}),pe=u({method:r(),params:de.loose().optional()}),vi=q({get[Yn](){return Ft.optional().catch(void 0)}}),G=q({_meta:vi.optional()}),mt=P([r(),y().int()]),Ri=u({jsonrpc:d(is),id:mt,...W.shape}).strict(),wi=u({jsonrpc:d(is),...pe.shape}).strict(),rs=u({jsonrpc:d(is),id:mt,result:G}).strict(),as=u({jsonrpc:d(is),id:mt.optional(),error:u({code:y().int(),message:r(),data:$().optional()})}).strict(),Nc=P([Ri,wi,rs,as]),LS=P([rs,as]),cs=G.strict(),zc=de.extend({requestId:mt.optional(),reason:r().optional()}),Ti=pe.extend({method:d("notifications/cancelled"),params:zc}),xc=u({src:r(),mimeType:r().optional(),sizes:S(r()).optional(),theme:N(["light","dark"]).optional()}),Ht=u({icons:S(xc).optional()}),pt=u({name:r(),title:r().optional()}),Ft=pt.extend({...pt.shape,...Ht.shape,version:r(),websiteUrl:r().optional(),description:r().optional()}),AS=dt(u({applyDefaults:k().optional()}),K),jS=oo(e=>e&&typeof e=="object"&&!Array.isArray(e)&&Object.keys(e).length===0?{form:{}}:e,dt(u({form:AS.optional(),url:K.optional()}),K.optional())),Mc=q({list:K.optional(),cancel:K.optional(),requests:q({sampling:q({createMessage:K.optional()}).optional(),elicitation:q({create:K.optional()}).optional()}).optional()}),Lc=q({list:K.optional(),cancel:K.optional(),requests:q({tools:q({call:K.optional()}).optional()}).optional()}),Ac=u({experimental:w(r(),K).optional(),sampling:u({context:K.optional(),tools:K.optional()}).optional(),elicitation:jS.optional(),roots:u({listChanged:k().optional()}).optional(),tasks:Mc.optional(),extensions:w(r(),K).optional()}),jc=re.extend({protocolVersion:r(),capabilities:Ac,clientInfo:Ft}),Zc=W.extend({method:d("initialize"),params:jc}),Pi=u({experimental:w(r(),K).optional(),logging:K.optional(),completions:K.optional(),prompts:u({listChanged:k().optional()}).optional(),resources:u({subscribe:k().optional(),listChanged:k().optional()}).optional(),tools:u({listChanged:k().optional()}).optional(),tasks:Lc.optional(),extensions:w(r(),K).optional()}),Uc=G.extend({protocolVersion:r(),capabilities:Pi,serverInfo:Ft,instructions:r().optional()}),Dc=pe.extend({method:d("notifications/initialized"),params:de.optional()}),Hc=W.extend({method:d("server/discover"),params:re.optional()}),Fc=G.extend({supportedVersions:S(r()),capabilities:Pi,instructions:r().optional()}),ki=W.extend({method:d("ping"),params:re.optional()}),Jc=u({progress:y(),total:O(y()),message:O(r())}),Vc=u({...de.shape,...Jc.shape,progressToken:_i}),Ci=pe.extend({method:d("notifications/progress"),params:Vc}),Bc=re.extend({cursor:bi.optional()}),Jt=W.extend({params:Bc.optional()}),Vt=G.extend({nextCursor:bi.optional()}),$i=u({uri:r(),mimeType:O(r()),_meta:w(r(),$()).optional()}),Ei=$i.extend({text:r()}),Oi=r().refine(e=>{try{return atob(e),!0}catch{return!1}},{message:"Invalid Base64 string"}),qi=$i.extend({blob:Oi}),Bt=N(["user","assistant"]),ht=u({audience:S(Bt).optional(),priority:y().min(0).max(1).optional(),lastModified:ns({offset:!0}).optional()}),Ii=u({...pt.shape,...Ht.shape,uri:r(),description:O(r()),mimeType:O(r()),size:O(y()),annotations:ht.optional(),_meta:O(q({}))}),Kc=u({...pt.shape,...Ht.shape,uriTemplate:r(),description:O(r()),mimeType:O(r()),annotations:ht.optional(),_meta:O(q({}))}),Wc=Jt.extend({method:d("resources/list")}),Gc=Vt.extend({resources:S(Ii)}),Yc=Jt.extend({method:d("resources/templates/list")}),Qc=Vt.extend({resourceTemplates:S(Kc)}),ls=re.extend({uri:r()}),Xc=ls,el=W.extend({method:d("resources/read"),params:Xc}),tl=G.extend({contents:S(P([Ei,qi]))}),nl=pe.extend({method:d("notifications/resources/list_changed"),params:de.optional()}),ol=ls,sl=W.extend({method:d("resources/subscribe"),params:ol}),il=ls,rl=W.extend({method:d("resources/unsubscribe"),params:il}),Ni=u({toolsListChanged:k().optional(),promptsListChanged:k().optional(),resourcesListChanged:k().optional(),resourceSubscriptions:S(r()).optional()}),al=re.extend({notifications:Ni}),cl=W.extend({method:d("subscriptions/listen"),params:al}),ll=de.extend({notifications:Ni}),ul=pe.extend({method:d("notifications/subscriptions/acknowledged"),params:ll}),dl=vi.extend({[xS]:mt}),pl=G.extend({_meta:dl}),ml=de.extend({uri:r()}),hl=pe.extend({method:d("notifications/resources/updated"),params:ml}),fl=u({name:r(),description:O(r()),required:O(k())}),Sl=u({...pt.shape,...Ht.shape,description:O(r()),arguments:O(S(fl)),_meta:O(q({}))}),gl=Jt.extend({method:d("prompts/list")}),_l=Vt.extend({prompts:S(Sl)}),bl=re.extend({name:r(),arguments:w(r(),r()).optional()}),yl=W.extend({method:d("prompts/get"),params:bl}),us=u({type:d("text"),text:r(),annotations:ht.optional(),_meta:w(r(),$()).optional()}),ds=u({type:d("image"),data:Oi,mimeType:r(),annotations:ht.optional(),_meta:w(r(),$()).optional()}),ps=u({type:d("audio"),data:Oi,mimeType:r(),annotations:ht.optional(),_meta:w(r(),$()).optional()}),vl=u({type:d("tool_use"),name:r(),id:r(),input:w(r(),$()),_meta:w(r(),$()).optional()}),zi=u({type:d("resource"),resource:P([Ei,qi]),annotations:ht.optional(),_meta:w(r(),$()).optional()}),xi=Ii.extend({type:d("resource_link")}),Kt=P([us,ds,ps,xi,zi]),Rl=u({role:Bt,content:Kt}),wl=G.extend({description:r().optional(),messages:S(Rl)}),Tl=pe.extend({method:d("notifications/prompts/list_changed"),params:de.optional()}),Pl=u({title:r().optional(),readOnlyHint:k().optional(),destructiveHint:k().optional(),idempotentHint:k().optional(),openWorldHint:k().optional()}),kl=u({taskSupport:N(["required","optional","forbidden"]).optional()}),ms=u({...pt.shape,...Ht.shape,description:r().optional(),inputSchema:u({type:d("object"),properties:w(r(),Ut).optional(),required:S(r()).optional()}).catchall($()),outputSchema:q({$schema:r().optional()}).optional(),annotations:Pl.optional(),execution:kl.optional(),_meta:w(r(),$()).optional()}),Cl=Jt.extend({method:d("tools/list")}),$l=Vt.extend({tools:S(ms)}),hs=G.extend({content:S(Kt).default([]),structuredContent:$().optional(),isError:k().optional()}),ZS=hs.or(G.extend({toolResult:$()})),El=co.extend({name:r(),arguments:w(r(),$()).optional()}),Ol=W.extend({method:d("tools/call"),params:El}),ql=pe.extend({method:d("notifications/tools/list_changed"),params:de.optional()}),US=u({autoRefresh:k().default(!0),debounceMs:y().int().nonnegative().default(300)}),Mi=N(["debug","info","notice","warning","error","critical","alert","emergency"]),Il=re.extend({level:Mi}),Nl=W.extend({method:d("logging/setLevel"),params:Il}),zl=de.extend({level:Mi,logger:r().optional(),data:$()}),xl=pe.extend({method:d("notifications/message"),params:zl}),Ml=u({name:r().optional()}),Ll=u({hints:S(Ml).optional(),costPriority:y().min(0).max(1).optional(),speedPriority:y().min(0).max(1).optional(),intelligencePriority:y().min(0).max(1).optional()}),Al=u({mode:N(["auto","required","none"]).optional()}),jl=u({type:d("tool_result"),toolUseId:r().describe("The unique identifier for the corresponding tool call."),content:S(Kt),structuredContent:$().optional(),isError:k().optional(),_meta:w(r(),$()).optional()}),Zl=Jo("type",[us,ds,ps]),so=Jo("type",[us,ds,ps,vl,jl]),Ul=u({role:Bt,content:P([so,S(so)]),_meta:w(r(),$()).optional()}),Dl=co.extend({messages:S(Ul),modelPreferences:Ll.optional(),systemPrompt:r().optional(),includeContext:N(["none","thisServer","allServers"]).optional(),temperature:y().optional(),maxTokens:y().int(),stopSequences:S(r()).optional(),metadata:K.optional(),tools:S(ms).optional(),toolChoice:Al.optional()}),Hl=W.extend({method:d("sampling/createMessage"),params:Dl}),Fl=G.extend({model:r(),stopReason:O(N(["endTurn","stopSequence","maxTokens"]).or(r())),role:Bt,content:Zl}),Jl=G.extend({model:r(),stopReason:O(N(["endTurn","stopSequence","maxTokens","toolUse"]).or(r())),role:Bt,content:P([so,S(so)])}),Li=u({type:d("boolean"),title:r().optional(),description:r().optional(),default:k().optional()}),fs=u({type:d("string"),title:r().optional(),description:r().optional(),minLength:y().optional(),maxLength:y().optional(),format:N(["email","uri","date","date-time"]).optional(),default:r().optional()}),Vo=u({type:N(["number","integer"]),title:r().optional(),description:r().optional(),minimum:y().optional(),maximum:y().optional(),default:y().optional()}),Ai=u({type:d("string"),title:r().optional(),description:r().optional(),enum:S(r()),default:r().optional()}),ji=u({type:d("string"),title:r().optional(),description:r().optional(),oneOf:S(u({const:r(),title:r()})),default:r().optional()}),Zi=u({type:d("string"),title:r().optional(),description:r().optional(),enum:S(r()),enumNames:S(r()).optional(),default:r().optional()}),Vl=P([Ai,ji]),Ui=u({type:d("array"),title:r().optional(),description:r().optional(),minItems:y().optional(),maxItems:y().optional(),items:u({type:d("string"),enum:S(r())}),default:S(r()).optional()}),Di=u({type:d("array"),title:r().optional(),description:r().optional(),minItems:y().optional(),maxItems:y().optional(),items:u({anyOf:S(u({const:r(),title:r()}))}),default:S(r()).optional()}),Bl=P([Ui,Di]),Kl=P([Zi,Vl,Bl]),Hi=P([Kl,Li,fs,Vo]),Ss=co.extend({mode:d("form").optional(),message:r(),requestedSchema:u({type:d("object"),properties:w(r(),Hi),required:S(r()).optional()}).catchall($())}),Wl=co.extend({mode:d("url"),message:r(),elicitationId:r(),url:r().url()}),Gl=P([Ss,Wl]),Yl=W.extend({method:d("elicitation/create"),params:Gl}),Ql=de.extend({elicitationId:r()}),Xl=pe.extend({method:d("notifications/elicitation/complete"),params:Ql}),eu=G.extend({action:N(["accept","decline","cancel"]),content:oo(e=>e===null?void 0:e,w(r(),P([r(),y(),k(),S(r())])).optional())}),tu=u({type:d("ref/resource"),uri:r()}),nu=u({type:d("ref/prompt"),name:r()}),ou=re.extend({ref:P([nu,tu]),argument:u({name:r(),value:r()}),context:u({arguments:w(r(),r()).optional()}).optional()}),su=W.extend({method:d("completion/complete"),params:ou}),iu=G.extend({completion:q({values:S(r()).max(100),total:O(y().int()),hasMore:O(k())})}),ru=u({uri:r().startsWith("file://"),name:r().optional(),_meta:w(r(),$()).optional()}),au=W.extend({method:d("roots/list"),params:re.optional()}),cu=G.extend({roots:S(ru)}),lu=pe.extend({method:d("notifications/roots/list_changed"),params:de.optional()}),DS=q({ttl:y().optional(),pollInterval:y().optional()}),uu=N(["working","input_required","completed","failed","cancelled"]),Wt=u({taskId:r(),status:uu,ttl:P([y(),no()]),createdAt:r(),lastUpdatedAt:r(),pollInterval:O(y()),statusMessage:O(r())}),HS=G.extend({task:Wt}),du=de.merge(Wt),FS=pe.extend({method:d("notifications/tasks/status"),params:du}),JS=W.extend({method:d("tasks/get"),params:re.extend({taskId:r()})}),VS=G.merge(Wt),BS=W.extend({method:d("tasks/result"),params:re.extend({taskId:r()})}),KS=G.loose(),WS=Jt.extend({method:d("tasks/list")}),GS=Vt.extend({tasks:S(Wt)}),YS=W.extend({method:d("tasks/cancel"),params:re.extend({taskId:r()})}),QS=G.merge(Wt),XS=P([ki,Zc,Hc,su,Nl,yl,gl,Wc,Yc,el,sl,rl,cl,Ol,Cl]),eg=P([Ti,Ci,Dc,lu]),tg=P([cs,Fl,Jl,eu,cu]),ng=P([ki,Hl,Yl,au]),og=P([Ti,Ci,xl,hl,nl,ql,Tl,ul,Xl]),sg=P([cs,Uc,Fc,iu,wl,_l,Gc,Qc,tl,hs,$l,pl]),ee=wc().superRefine((e,t)=>{if(!URL.canParse(e))return t.addIssue({code:ES.custom,message:"URL must be parseable",fatal:!0}),qd}).refine(e=>{const t=new URL(e);return t.protocol!=="javascript:"&&t.protocol!=="data:"&&t.protocol!=="vbscript:"},{message:"URL cannot use javascript:, data:, or vbscript: scheme"}),ig=q({resource:r().url(),authorization_servers:S(ee).optional(),jwks_uri:r().url().optional(),scopes_supported:S(r()).optional(),bearer_methods_supported:S(r()).optional(),resource_signing_alg_values_supported:S(r()).optional(),resource_name:r().optional(),resource_documentation:r().optional(),resource_policy_uri:r().url().optional(),resource_tos_uri:r().url().optional(),tls_client_certificate_bound_access_tokens:k().optional(),authorization_details_types_supported:S(r()).optional(),dpop_signing_alg_values_supported:S(r()).optional(),dpop_bound_access_tokens_required:k().optional()}),pu=q({issuer:r(),authorization_endpoint:ee,token_endpoint:ee,registration_endpoint:ee.optional(),scopes_supported:S(r()).optional(),response_types_supported:S(r()),response_modes_supported:S(r()).optional(),grant_types_supported:S(r()).optional(),token_endpoint_auth_methods_supported:S(r()).optional(),token_endpoint_auth_signing_alg_values_supported:S(r()).optional(),service_documentation:ee.optional(),revocation_endpoint:ee.optional(),revocation_endpoint_auth_methods_supported:S(r()).optional(),revocation_endpoint_auth_signing_alg_values_supported:S(r()).optional(),introspection_endpoint:r().optional(),introspection_endpoint_auth_methods_supported:S(r()).optional(),introspection_endpoint_auth_signing_alg_values_supported:S(r()).optional(),code_challenge_methods_supported:S(r()).optional(),client_id_metadata_document_supported:k().optional(),authorization_response_iss_parameter_supported:k().optional().catch(void 0),dpop_signing_alg_values_supported:S(r()).optional()}),mu=q({issuer:r(),authorization_endpoint:ee,token_endpoint:ee,userinfo_endpoint:ee.optional(),jwks_uri:ee,registration_endpoint:ee.optional(),scopes_supported:S(r()).optional(),response_types_supported:S(r()),response_modes_supported:S(r()).optional(),grant_types_supported:S(r()).optional(),acr_values_supported:S(r()).optional(),subject_types_supported:S(r()),id_token_signing_alg_values_supported:S(r()),id_token_encryption_alg_values_supported:S(r()).optional(),id_token_encryption_enc_values_supported:S(r()).optional(),userinfo_signing_alg_values_supported:S(r()).optional(),userinfo_encryption_alg_values_supported:S(r()).optional(),userinfo_encryption_enc_values_supported:S(r()).optional(),request_object_signing_alg_values_supported:S(r()).optional(),request_object_encryption_alg_values_supported:S(r()).optional(),request_object_encryption_enc_values_supported:S(r()).optional(),token_endpoint_auth_methods_supported:S(r()).optional(),token_endpoint_auth_signing_alg_values_supported:S(r()).optional(),display_values_supported:S(r()).optional(),claim_types_supported:S(r()).optional(),claims_supported:S(r()).optional(),service_documentation:r().optional(),claims_locales_supported:S(r()).optional(),ui_locales_supported:S(r()).optional(),claims_parameter_supported:k().optional(),request_parameter_supported:k().optional(),request_uri_parameter_supported:k().optional(),require_request_uri_registration:k().optional(),op_policy_uri:ee.optional(),op_tos_uri:ee.optional(),client_id_metadata_document_supported:k().optional(),authorization_response_iss_parameter_supported:k().optional().catch(void 0)}),rg=u({...mu.shape,...pu.pick({code_challenge_methods_supported:!0}).shape}),ag=u({access_token:r(),id_token:r().optional(),token_type:r(),expires_in:qS().optional(),scope:r().optional(),refresh_token:r().optional(),issuer:r().optional().catch(void 0)}).strip(),cg=u({issued_token_type:d("urn:ietf:params:oauth:token-type:id-jag"),access_token:r(),token_type:r().optional(),expires_in:y().optional(),scope:r().optional()}).strip(),lg=u({error:r(),error_description:r().optional(),error_uri:r().optional()}),Mr=ee.optional().or(d("").transform(()=>{})),hu=u({redirect_uris:S(ee),token_endpoint_auth_method:r().optional(),grant_types:S(r()).optional(),response_types:S(r()).optional(),application_type:r().optional(),client_name:r().optional(),client_uri:ee.optional(),logo_uri:Mr,scope:r().optional(),contacts:S(r()).optional(),tos_uri:Mr,policy_uri:r().optional(),jwks_uri:ee.optional(),jwks:hi().optional(),software_id:r().optional(),software_version:r().optional(),software_statement:r().optional()}).strip(),fu=u({client_id:r(),client_secret:r().optional(),client_id_issued_at:y().optional(),client_secret_expires_at:y().optional(),issuer:r().optional().catch(void 0)}).strip(),ug=hu.merge(fu),dg=u({error:r(),error_description:r().optional()}).strip(),pg=u({token:r(),token_type_hint:r().optional()}).strip(),Fs=Symbol.for("mcp.sdk.errorBrands");function Su(e,t){const n=new Set;let o=t;for(;typeof o=="function";){const s=o.mcpBrand;Object.prototype.hasOwnProperty.call(o,"mcpBrand")&&typeof s=="string"&&n.add(s),o=Object.getPrototypeOf(o)}n.size!==0&&Object.defineProperty(e,Fs,{value:n,enumerable:!1,configurable:!0})}function Bo(e,t){try{if(typeof t=="object"&&t!==null&&Object.prototype.hasOwnProperty.call(e,"mcpBrand")&&typeof e.mcpBrand=="string"&&Object.prototype.hasOwnProperty.call(t,Fs)){const n=t[Fs];if(n&&typeof n.has=="function"&&n.has(e.mcpBrand))return!0}}catch{}return Function.prototype[Symbol.hasInstance].call(e,t)}let se=(function(e){return e.NotConnected="NOT_CONNECTED",e.AlreadyConnected="ALREADY_CONNECTED",e.NotInitialized="NOT_INITIALIZED",e.CapabilityNotSupported="CAPABILITY_NOT_SUPPORTED",e.RequestTimeout="REQUEST_TIMEOUT",e.ConnectionClosed="CONNECTION_CLOSED",e.SendFailed="SEND_FAILED",e.InvalidResult="INVALID_RESULT",e.UnsupportedResultType="UNSUPPORTED_RESULT_TYPE",e.InputRequiredRoundsExceeded="INPUT_REQUIRED_ROUNDS_EXCEEDED",e.ListPaginationExceeded="LIST_PAGINATION_EXCEEDED",e.MethodNotSupportedByProtocolVersion="METHOD_NOT_SUPPORTED_BY_PROTOCOL_VERSION",e.EraNegotiationFailed="ERA_NEGOTIATION_FAILED",e.ClientHttpNotImplemented="CLIENT_HTTP_NOT_IMPLEMENTED",e.ClientHttpAuthentication="CLIENT_HTTP_AUTHENTICATION",e.ClientHttpForbidden="CLIENT_HTTP_FORBIDDEN",e.ClientHttpUnexpectedContent="CLIENT_HTTP_UNEXPECTED_CONTENT",e.ClientHttpFailedToOpenStream="CLIENT_HTTP_FAILED_TO_OPEN_STREAM",e.ClientHttpFailedToTerminateSession="CLIENT_HTTP_FAILED_TO_TERMINATE_SESSION",e})({});var It,X=(It=class extends Error{static[Symbol.hasInstance](t){return Bo(this,t)}static isInstance(t){if(typeof this!="function")throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return Bo(this,t)}constructor(t,n,o,s){super(n,s),this.code=t,this.data=o,this.name="SdkError",Su(this,new.target)}},Object.defineProperty(It,"mcpBrand",{value:"mcp.SdkError"}),It);const mg="2026-07-28";function hg(e){return e>=mg}function gu(e){var n;const t=e.structuredContent;return t===void 0||!(typeof t!="object"||t===null||Array.isArray(t))||(((n=e.content)==null?void 0:n.some(o=>o.type==="text"))??!1)?e:{...e,content:[...e.content??[],{type:"text",text:JSON.stringify(t)}]}}const _u=["task","inputRequests","requestState"];function fg(e){return e===null||typeof e!="object"||Array.isArray(e)||e.content!==void 0||_u.some(t=>t in e)?e:{...e,content:[]}}function Sg(){const e=fi(()=>P([r(),y(),k(),no(),w(r(),e),S(e)])),t=w(r(),e),n=P([r(),y().int()]),o=r(),s=u({ttl:y().optional()}),i=u({taskId:r()}),a=q({progressToken:n.optional(),"io.modelcontextprotocol/related-task":i.optional()}),l=u({_meta:a.optional()}),c=l.extend({task:s.optional()}),p=u({method:r(),params:l.loose().optional()}),m=u({_meta:a.optional()}),h=u({method:r(),params:m.loose().optional()}),f=q({_meta:a.optional()}),g=P([r(),y().int()]),b=f.strict(),v=m.extend({requestId:g.optional(),reason:r().optional()}),R=h.extend({method:d("notifications/cancelled"),params:v}),T=u({src:r(),mimeType:r().optional(),sizes:S(r()).optional(),theme:N(["light","dark"]).optional()}),C=u({icons:S(T).optional()}),j=u({name:r(),title:r().optional()}),L=j.extend({...j.shape,...C.shape,version:r(),websiteUrl:r().optional(),description:r().optional()}),Re=dt(u({applyDefaults:k().optional()}),t),Ee=oo(oe=>oe&&typeof oe=="object"&&!Array.isArray(oe)&&Object.keys(oe).length===0?{form:{}}:oe,dt(u({form:Re.optional(),url:t.optional()}),t.optional())),D=q({list:t.optional(),cancel:t.optional(),requests:q({sampling:q({createMessage:t.optional()}).optional(),elicitation:q({create:t.optional()}).optional()}).optional()}),M=q({list:t.optional(),cancel:t.optional(),requests:q({tools:q({call:t.optional()}).optional()}).optional()}),Y=u({experimental:w(r(),t).optional(),sampling:u({context:t.optional(),tools:t.optional()}).optional(),elicitation:Ee.optional(),roots:u({listChanged:k().optional()}).optional(),tasks:D.optional(),extensions:w(r(),t).optional()}),A=l.extend({protocolVersion:r(),capabilities:Y,clientInfo:L}),J=p.extend({method:d("initialize"),params:A}),me=u({experimental:w(r(),t).optional(),logging:t.optional(),completions:t.optional(),prompts:u({listChanged:k().optional()}).optional(),resources:u({subscribe:k().optional(),listChanged:k().optional()}).optional(),tools:u({listChanged:k().optional()}).optional(),tasks:M.optional(),extensions:w(r(),t).optional()}),we=f.extend({protocolVersion:r(),capabilities:me,serverInfo:L,instructions:r().optional()}),Q=h.extend({method:d("notifications/initialized"),params:m.optional()}),he=p.extend({method:d("ping"),params:l.optional()}),ze=u({progress:y(),total:O(y()),message:O(r())}),Oe=u({...m.shape,...ze.shape,progressToken:n}),je=h.extend({method:d("notifications/progress"),params:Oe}),ft=l.extend({cursor:o.optional()}),xe=p.extend({params:ft.optional()}),Me=f.extend({nextCursor:o.optional()}),St=u({uri:r(),mimeType:O(r()),_meta:w(r(),$()).optional()}),gt=St.extend({text:r()}),We=r().refine(oe=>{try{return atob(oe),!0}catch{return!1}},{message:"Invalid Base64 string"}),_t=St.extend({blob:We}),qe=N(["user","assistant"]),Te=u({audience:S(qe).optional(),priority:y().min(0).max(1).optional(),lastModified:ns({offset:!0}).optional()}),Ge=u({...j.shape,...C.shape,uri:r(),description:O(r()),mimeType:O(r()),size:O(y()),annotations:Te.optional(),_meta:O(q({}))}),Gt=u({...j.shape,...C.shape,uriTemplate:r(),description:O(r()),mimeType:O(r()),annotations:Te.optional(),_meta:O(q({}))}),Yt=xe.extend({method:d("resources/list")}),Qt=Me.extend({resources:S(Ge)}),Ze=xe.extend({method:d("resources/templates/list")}),bt=Me.extend({resourceTemplates:S(Gt)}),Ye=l.extend({uri:r()}),Xt=Ye,en=p.extend({method:d("resources/read"),params:Xt}),tn=f.extend({contents:S(P([gt,_t]))}),nn=h.extend({method:d("notifications/resources/list_changed"),params:m.optional()}),on=Ye,sn=p.extend({method:d("resources/subscribe"),params:on}),rn=Ye,an=p.extend({method:d("resources/unsubscribe"),params:rn}),cn=m.extend({uri:r()}),ln=h.extend({method:d("notifications/resources/updated"),params:cn}),un=u({name:r(),description:O(r()),required:O(k())}),dn=u({...j.shape,...C.shape,description:O(r()),arguments:O(S(un)),_meta:O(q({}))}),pn=xe.extend({method:d("prompts/list")}),mn=Me.extend({prompts:S(dn)}),hn=l.extend({name:r(),arguments:w(r(),r()).optional()}),fn=p.extend({method:d("prompts/get"),params:hn}),Qe=u({type:d("text"),text:r(),annotations:Te.optional(),_meta:w(r(),$()).optional()}),Xe=u({type:d("image"),data:We,mimeType:r(),annotations:Te.optional(),_meta:w(r(),$()).optional()}),et=u({type:d("audio"),data:We,mimeType:r(),annotations:Te.optional(),_meta:w(r(),$()).optional()}),Sn=u({type:d("tool_use"),name:r(),id:r(),input:w(r(),$()),_meta:w(r(),$()).optional()}),Ue=u({type:d("resource"),resource:P([gt,_t]),annotations:Te.optional(),_meta:w(r(),$()).optional()}),gn=Ge.extend({type:d("resource_link")}),ye=P([Qe,Xe,et,gn,Ue]),yt=u({role:qe,content:ye}),vt=f.extend({description:r().optional(),messages:S(yt)}),tt=h.extend({method:d("notifications/prompts/list_changed"),params:m.optional()}),_n=u({title:r().optional(),readOnlyHint:k().optional(),destructiveHint:k().optional(),idempotentHint:k().optional(),openWorldHint:k().optional()}),Rt=u({taskSupport:N(["required","optional","forbidden"]).optional()}),nt=u({...j.shape,...C.shape,description:r().optional(),inputSchema:u({type:d("object"),properties:w(r(),e).optional(),required:S(r()).optional()}).catchall($()),outputSchema:u({type:d("object"),properties:w(r(),e).optional(),required:S(r()).optional()}).catchall($()).optional(),annotations:_n.optional(),execution:Rt.optional(),_meta:w(r(),$()).optional()}),wt=xe.extend({method:d("tools/list")}),Tt=Me.extend({tools:S(nt)}),Pt=f.extend({content:S(ye),structuredContent:w(r(),$()).optional(),isError:k().optional()}),ne=c.extend({name:r(),arguments:w(r(),$()).optional()}),bn=p.extend({method:d("tools/call"),params:ne}),lo=h.extend({method:d("notifications/tools/list_changed"),params:m.optional()}),kt=N(["debug","info","notice","warning","error","critical","alert","emergency"]),yn=l.extend({level:kt}),vn=p.extend({method:d("logging/setLevel"),params:yn}),Rn=m.extend({level:kt,logger:r().optional(),data:$()}),wn=h.extend({method:d("notifications/message"),params:Rn}),Tn=u({name:r().optional()}),Pn=u({hints:S(Tn).optional(),costPriority:y().min(0).max(1).optional(),speedPriority:y().min(0).max(1).optional(),intelligencePriority:y().min(0).max(1).optional()}),kn=u({mode:N(["auto","required","none"]).optional()}),uo=u({type:d("tool_result"),toolUseId:r().describe("The unique identifier for the corresponding tool call."),content:S(ye),structuredContent:u({}).loose().optional(),isError:k().optional(),_meta:w(r(),$()).optional()}),Cn=Jo("type",[Qe,Xe,et]),De=Jo("type",[Qe,Xe,et,Sn,uo]),$n=u({role:qe,content:P([De,S(De)]),_meta:w(r(),$()).optional()}),En=c.extend({messages:S($n),modelPreferences:Pn.optional(),systemPrompt:r().optional(),includeContext:N(["none","thisServer","allServers"]).optional(),temperature:y().optional(),maxTokens:y().int(),stopSequences:S(r()).optional(),metadata:t.optional(),tools:S(nt).optional(),toolChoice:kn.optional()}),On=p.extend({method:d("sampling/createMessage"),params:En}),qn=f.extend({model:r(),stopReason:O(N(["endTurn","stopSequence","maxTokens"]).or(r())),role:qe,content:Cn}),In=f.extend({model:r(),stopReason:O(N(["endTurn","stopSequence","maxTokens","toolUse"]).or(r())),role:qe,content:P([De,S(De)])}),Nn=u({type:d("boolean"),title:r().optional(),description:r().optional(),default:k().optional()}),zn=u({type:d("string"),title:r().optional(),description:r().optional(),minLength:y().optional(),maxLength:y().optional(),format:N(["email","uri","date","date-time"]).optional(),default:r().optional()}),xn=u({type:N(["number","integer"]),title:r().optional(),description:r().optional(),minimum:y().optional(),maximum:y().optional(),default:y().optional()}),Mn=u({type:d("string"),title:r().optional(),description:r().optional(),enum:S(r()),default:r().optional()}),Ln=u({type:d("string"),title:r().optional(),description:r().optional(),oneOf:S(u({const:r(),title:r()})),default:r().optional()}),An=u({type:d("string"),title:r().optional(),description:r().optional(),enum:S(r()),enumNames:S(r()).optional(),default:r().optional()}),jn=P([Mn,Ln]),ot=u({type:d("array"),title:r().optional(),description:r().optional(),minItems:y().optional(),maxItems:y().optional(),items:u({type:d("string"),enum:S(r())}),default:S(r()).optional()}),st=u({type:d("array"),title:r().optional(),description:r().optional(),minItems:y().optional(),maxItems:y().optional(),items:u({anyOf:S(u({const:r(),title:r()}))}),default:S(r()).optional()}),po=P([ot,st]),mo=P([An,jn,po]),fe=P([mo,Nn,zn,xn]),Se=c.extend({mode:d("form").optional(),message:r(),requestedSchema:u({type:d("object"),properties:w(r(),fe),required:S(r()).optional()}).catchall($())}),Zn=c.extend({mode:d("url"),message:r(),elicitationId:r(),url:r().url()}),Pe=P([Se,Zn]),ho=p.extend({method:d("elicitation/create"),params:Pe}),fo=m.extend({elicitationId:r()}),So=h.extend({method:d("notifications/elicitation/complete"),params:fo}),go=f.extend({action:N(["accept","decline","cancel"]),content:oo(oe=>oe===null?void 0:oe,w(r(),P([r(),y(),k(),S(r())])).optional())}),_o=u({type:d("ref/resource"),uri:r()}),bo=u({type:d("ref/prompt"),name:r()}),yo=l.extend({ref:P([bo,_o]),argument:u({name:r(),value:r()}),context:u({arguments:w(r(),r()).optional()}).optional()}),Un=p.extend({method:d("completion/complete"),params:yo}),vo=f.extend({completion:q({values:S(r()).max(100),total:O(y().int()),hasMore:O(k())})}),Ro=u({uri:r().startsWith("file://"),name:r().optional(),_meta:w(r(),$()).optional()}),Ct=p.extend({method:d("roots/list"),params:l.optional()}),Dn=f.extend({roots:S(Ro)}),wo=h.extend({method:d("notifications/roots/list_changed"),params:m.optional()}),To=q({ttl:y().optional(),pollInterval:y().optional()}),Hn=N(["working","input_required","completed","failed","cancelled"]),He=u({taskId:r(),status:Hn,ttl:P([y(),no()]),createdAt:r(),lastUpdatedAt:r(),pollInterval:O(y()),statusMessage:O(r())}),le=f.extend({task:He}),Po=m.merge(He),it=h.extend({method:d("notifications/tasks/status"),params:Po}),$t=p.extend({method:d("tasks/get"),params:l.extend({taskId:r()})}),Et=f.merge(He),Ot=p.extend({method:d("tasks/result"),params:l.extend({taskId:r()})}),_s=f.loose(),ae=xe.extend({method:d("tasks/list")}),B=Me.extend({tasks:S(He)}),rt=p.extend({method:d("tasks/cancel"),params:l.extend({taskId:r()})});return{JSONValueSchema:e,JSONObjectSchema:t,ProgressTokenSchema:n,CursorSchema:o,TaskMetadataSchema:s,RelatedTaskMetadataSchema:i,RequestMetaSchema:a,BaseRequestParamsSchema:l,TaskAugmentedRequestParamsSchema:c,RequestSchema:p,NotificationsParamsSchema:m,NotificationSchema:h,ResultSchema:f,RequestIdSchema:g,EmptyResultSchema:b,CancelledNotificationParamsSchema:v,CancelledNotificationSchema:R,IconSchema:T,IconsSchema:C,BaseMetadataSchema:j,ImplementationSchema:L,ClientTasksCapabilitySchema:D,ServerTasksCapabilitySchema:M,ClientCapabilitiesSchema:Y,InitializeRequestParamsSchema:A,InitializeRequestSchema:J,ServerCapabilitiesSchema:me,InitializeResultSchema:we,InitializedNotificationSchema:Q,PingRequestSchema:he,ProgressSchema:ze,ProgressNotificationParamsSchema:Oe,ProgressNotificationSchema:je,PaginatedRequestParamsSchema:ft,PaginatedRequestSchema:xe,PaginatedResultSchema:Me,ResourceContentsSchema:St,TextResourceContentsSchema:gt,BlobResourceContentsSchema:_t,RoleSchema:qe,AnnotationsSchema:Te,ResourceSchema:Ge,ResourceTemplateSchema:Gt,ListResourcesRequestSchema:Yt,ListResourcesResultSchema:Qt,ListResourceTemplatesRequestSchema:Ze,ListResourceTemplatesResultSchema:bt,ResourceRequestParamsSchema:Ye,ReadResourceRequestParamsSchema:Xt,ReadResourceRequestSchema:en,ReadResourceResultSchema:tn,ResourceListChangedNotificationSchema:nn,SubscribeRequestParamsSchema:on,SubscribeRequestSchema:sn,UnsubscribeRequestParamsSchema:rn,UnsubscribeRequestSchema:an,ResourceUpdatedNotificationParamsSchema:cn,ResourceUpdatedNotificationSchema:ln,PromptArgumentSchema:un,PromptSchema:dn,ListPromptsRequestSchema:pn,ListPromptsResultSchema:mn,GetPromptRequestParamsSchema:hn,GetPromptRequestSchema:fn,TextContentSchema:Qe,ImageContentSchema:Xe,AudioContentSchema:et,ToolUseContentSchema:Sn,EmbeddedResourceSchema:Ue,ResourceLinkSchema:gn,ContentBlockSchema:ye,PromptMessageSchema:yt,GetPromptResultSchema:vt,PromptListChangedNotificationSchema:tt,ToolAnnotationsSchema:_n,ToolExecutionSchema:Rt,ToolSchema:nt,ListToolsRequestSchema:wt,ListToolsResultSchema:Tt,CallToolResultSchema:Pt,CallToolRequestParamsSchema:ne,CallToolRequestSchema:bn,ToolListChangedNotificationSchema:lo,LoggingLevelSchema:kt,SetLevelRequestParamsSchema:yn,SetLevelRequestSchema:vn,LoggingMessageNotificationParamsSchema:Rn,LoggingMessageNotificationSchema:wn,ModelHintSchema:Tn,ModelPreferencesSchema:Pn,ToolChoiceSchema:kn,ToolResultContentSchema:uo,SamplingContentSchema:Cn,SamplingMessageContentBlockSchema:De,SamplingMessageSchema:$n,CreateMessageRequestParamsSchema:En,CreateMessageRequestSchema:On,CreateMessageResultSchema:qn,CreateMessageResultWithToolsSchema:In,BooleanSchemaSchema:Nn,StringSchemaSchema:zn,NumberSchemaSchema:xn,UntitledSingleSelectEnumSchemaSchema:Mn,TitledSingleSelectEnumSchemaSchema:Ln,LegacyTitledEnumSchemaSchema:An,SingleSelectEnumSchemaSchema:jn,UntitledMultiSelectEnumSchemaSchema:ot,TitledMultiSelectEnumSchemaSchema:st,MultiSelectEnumSchemaSchema:po,EnumSchemaSchema:mo,PrimitiveSchemaDefinitionSchema:fe,ElicitRequestFormParamsSchema:Se,ElicitRequestURLParamsSchema:Zn,ElicitRequestParamsSchema:Pe,ElicitRequestSchema:ho,ElicitationCompleteNotificationParamsSchema:fo,ElicitationCompleteNotificationSchema:So,ElicitResultSchema:go,ResourceTemplateReferenceSchema:_o,PromptReferenceSchema:bo,CompleteRequestParamsSchema:yo,CompleteRequestSchema:Un,CompleteResultSchema:vo,RootSchema:Ro,ListRootsRequestSchema:Ct,ListRootsResultSchema:Dn,RootsListChangedNotificationSchema:wo,TaskCreationParamsSchema:To,TaskStatusSchema:Hn,TaskSchema:He,CreateTaskResultSchema:le,TaskStatusNotificationParamsSchema:Po,TaskStatusNotificationSchema:it,GetTaskRequestSchema:$t,GetTaskResultSchema:Et,GetTaskPayloadRequestSchema:Ot,GetTaskPayloadResultSchema:_s,ListTasksRequestSchema:ae,ListTasksResultSchema:B,CancelTaskRequestSchema:rt,CancelTaskResultSchema:f.merge(He),ClientRequestSchema:P([he,J,Un,vn,fn,pn,Yt,Ze,en,sn,an,bn,wt,$t,Ot,ae,rt]),ClientNotificationSchema:P([R,je,Q,wo,it]),ClientResultSchema:P([b,qn,In,go,Dn,Et,B,le]),ServerRequestSchema:P([he,On,ho,Ct,$t,Ot,ae,rt]),ServerNotificationSchema:P([R,je,wn,ln,nn,lo,tt,it,So]),ServerResultSchema:P([b,we,vo,vt,mn,Qt,bt,tn,Pt,Tt,Et,B,le]),CallToolResultWireSchema:$().superRefine((oe,Fu)=>{if(!(typeof oe!="object"||oe===null||Array.isArray(oe)||oe.content!==void 0)){for(const Xi of _u)if(Xi in oe){Fu.addIssue({code:"custom",message:`content is required when the body carries '${Xi}' — another result family cannot default into an empty tools/call success`});return}}}).transform(fg).pipe(Pt)}}let gg;function bu(){return gg??(gg=Sg())}function yu(e){return e.type!=="object"}const _g=new Set(["const","enum","default","examples"]),bg=new Set(["properties","patternProperties","$defs","definitions","dependentSchemas","dependencies"]);function Lr(e){return e!==void 0&&!(typeof e=="string"&&e.startsWith("#"))}function yg(e){const t=typeof e.$schema=="string"?e.$schema:void 0;if(Lr(e.$id))return{...t!==void 0&&{$schema:t},type:"object",properties:{result:e},required:["result"]};const n=od(e.$schema)&&e.$recursiveAnchor!==!0,o=(s,i)=>{if(Array.isArray(s))return s.map(c=>o(c,!1));if(s===null||typeof s!="object"||!i&&Lr(s.$id))return s;const a={};let l=!1;for(const[c,p]of Object.entries(s))i?a[c]=o(p,!1):(c==="$ref"||c==="$dynamicRef")&&typeof p=="string"?a[c]=p==="#"?"#/properties/result":p.startsWith("#/")?`#/properties/result${p.slice(1)}`:p:c==="$recursiveRef"&&p==="#"&&n?l=!0:_g.has(c)?a[c]=p:bg.has(c)?a[c]=o(p,!0):a[c]=o(p,!1);return l&&("$ref"in a?a.allOf=[...Array.isArray(a.allOf)?a.allOf:[],{$ref:"#/properties/result"}]:a.$ref="#/properties/result"),a};return{...t!==void 0&&{$schema:t},type:"object",properties:{result:o(e,!1)},required:["result"]}}const vg={ping:null,initialize:null,"completion/complete":null,"logging/setLevel":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"resources/subscribe":null,"resources/unsubscribe":null,"tools/call":null,"tools/list":null,"tasks/get":null,"tasks/result":null,"tasks/list":null,"tasks/cancel":null,"sampling/createMessage":null,"elicitation/create":null,"roots/list":null},Rg={"notifications/cancelled":null,"notifications/progress":null,"notifications/initialized":null,"notifications/roots/list_changed":null,"notifications/tasks/status":null,"notifications/message":null,"notifications/resources/updated":null,"notifications/resources/list_changed":null,"notifications/tools/list_changed":null,"notifications/prompts/list_changed":null,"notifications/elicitation/complete":null},wg={ping:null,initialize:null,"completion/complete":null,"logging/setLevel":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"resources/subscribe":null,"resources/unsubscribe":null,"tools/call":null,"tools/list":null,"sampling/createMessage":null,"elicitation/create":null,"roots/list":null};let qo;function Fi(){if(qo)return qo;const e=bu();return qo={requestSchemas:{ping:e.PingRequestSchema,initialize:e.InitializeRequestSchema,"completion/complete":e.CompleteRequestSchema,"logging/setLevel":e.SetLevelRequestSchema,"prompts/get":e.GetPromptRequestSchema,"prompts/list":e.ListPromptsRequestSchema,"resources/list":e.ListResourcesRequestSchema,"resources/templates/list":e.ListResourceTemplatesRequestSchema,"resources/read":e.ReadResourceRequestSchema,"resources/subscribe":e.SubscribeRequestSchema,"resources/unsubscribe":e.UnsubscribeRequestSchema,"tools/call":e.CallToolRequestSchema,"tools/list":e.ListToolsRequestSchema,"tasks/get":e.GetTaskRequestSchema,"tasks/result":e.GetTaskPayloadRequestSchema,"tasks/list":e.ListTasksRequestSchema,"tasks/cancel":e.CancelTaskRequestSchema,"sampling/createMessage":e.CreateMessageRequestSchema,"elicitation/create":e.ElicitRequestSchema,"roots/list":e.ListRootsRequestSchema},notificationSchemas:{"notifications/cancelled":e.CancelledNotificationSchema,"notifications/progress":e.ProgressNotificationSchema,"notifications/initialized":e.InitializedNotificationSchema,"notifications/roots/list_changed":e.RootsListChangedNotificationSchema,"notifications/tasks/status":e.TaskStatusNotificationSchema,"notifications/message":e.LoggingMessageNotificationSchema,"notifications/resources/updated":e.ResourceUpdatedNotificationSchema,"notifications/resources/list_changed":e.ResourceListChangedNotificationSchema,"notifications/tools/list_changed":e.ToolListChangedNotificationSchema,"notifications/prompts/list_changed":e.PromptListChangedNotificationSchema,"notifications/elicitation/complete":e.ElicitationCompleteNotificationSchema},resultSchemas:{ping:e.EmptyResultSchema,initialize:e.InitializeResultSchema,"completion/complete":e.CompleteResultSchema,"logging/setLevel":e.EmptyResultSchema,"prompts/get":e.GetPromptResultSchema,"prompts/list":e.ListPromptsResultSchema,"resources/list":e.ListResourcesResultSchema,"resources/templates/list":e.ListResourceTemplatesResultSchema,"resources/read":e.ReadResourceResultSchema,"resources/subscribe":e.EmptyResultSchema,"resources/unsubscribe":e.EmptyResultSchema,"tools/call":e.CallToolResultWireSchema,"tools/list":e.ListToolsResultSchema,"sampling/createMessage":e.CreateMessageResultWithToolsSchema,"elicitation/create":e.ElicitResultSchema,"roots/list":e.ListRootsResultSchema}},qo}function vu(e){return Object.prototype.hasOwnProperty.call(vg,e)}function Ru(e){return Object.prototype.hasOwnProperty.call(Rg,e)}function Tg(e){return Object.prototype.hasOwnProperty.call(wg,e)}function Pg(e){return Tg(e)?Fi().resultSchemas[e]:void 0}function kg(e){return vu(e)?Fi().requestSchemas[e]:void 0}function Cg(e){return Ru(e)?Fi().notificationSchemas[e]:void 0}function Js(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Io(e,t){if(e===void 0)return{ok:!1,reason:"not-in-era"};const n=e.safeParse(t);return n.success?{ok:!0,value:n.data}:{ok:!1,reason:"invalid",message:String(n.error)}}const Ar={ok:!1,reason:"not-in-era"};function jr(e){return Js(e)&&Js(e.outputSchema)&&yu(e.outputSchema)}const Ji={era:"2025-11-25",hasRequestMethod:vu,hasNotificationMethod:Ru,validateRequest:(e,t)=>Io(kg(e),t),validateResult:(e,t)=>Io(Pg(e),t),validateNotification:(e,t)=>Io(Cg(e),t),hasInputRequestMethod:()=>!1,validateInputRequest:()=>Ar,validateInputResponse:()=>Ar,samplingResultVariant:((e,t)=>{const n=bu();return Io(e?n.CreateMessageResultWithToolsSchema:n.CreateMessageResultSchema,t)}),outboundEnvelope:e=>{},validateEnvelopeMeta:e=>[],projectCallToolResult(e,t){const n=gu(e),o=n.structuredContent;if(o===void 0)return n;const s=typeof o!="object"||o===null||Array.isArray(o),i=t!==void 0&&yu(t);return!s&&!i?n:{...n,structuredContent:{result:o}}},decodeResult(e,t){if(Js(t)&&"resultType"in t){const n={...t};return delete n.resultType,{kind:"complete",result:n}}return{kind:"complete",result:t}},encodeResult(e,t){if(e!=="tools/list")return t;const n=t.tools;return!Array.isArray(n)||!n.some(o=>jr(o))?t:{...t,tools:n.map(o=>jr(o)?{...o,outputSchema:yg(o.outputSchema)}:o)}},encodeErrorCode:e=>e===-32002?-32602:e,checkInboundEnvelope:e=>{}};function $g(){const e=fi(()=>P([r(),y(),k(),no(),w(r(),e),S(e)])),t=w(r(),e),n=P([r(),y().int()]),o=r(),s=P([r(),y().int()]),i=N(["user","assistant"]),a=N(["debug","info","notice","warning","error","critical","alert","emergency"]),l=r().refine(B=>{try{return atob(B),!0}catch{return!1}},{message:"Invalid Base64 string"}),c=u({ttl:y().optional()}),p=u({taskId:r()}),m=q({progressToken:n.optional(),"io.modelcontextprotocol/related-task":p.optional()}),h=u({_meta:m.optional()}),f=h.extend({task:c.optional()}),g=u({_meta:m.optional()}),b=u({method:r(),params:g.loose().optional()}),v=u({src:r(),mimeType:r().optional(),sizes:S(r()).optional(),theme:N(["light","dark"]).optional()}),R=u({icons:S(v).optional()}),T=u({name:r(),title:r().optional()}),C=T.extend({...T.shape,...R.shape,version:r(),websiteUrl:r().optional(),description:r().optional()}),j=dt(u({applyDefaults:k().optional()}),t),L=oo(B=>B&&typeof B=="object"&&!Array.isArray(B)&&Object.keys(B).length===0?{form:{}}:B,dt(u({form:j.optional(),url:t.optional()}),t.optional())),Re=q({list:t.optional(),cancel:t.optional(),requests:q({sampling:q({createMessage:t.optional()}).optional(),elicitation:q({create:t.optional()}).optional()}).optional()}),Ee=q({list:t.optional(),cancel:t.optional(),requests:q({tools:q({call:t.optional()}).optional()}).optional()}),D=u({experimental:w(r(),t).optional(),sampling:u({context:t.optional(),tools:t.optional()}).optional(),elicitation:L.optional(),roots:u({listChanged:k().optional()}).optional(),tasks:Re.optional(),extensions:w(r(),t).optional()}),M=u({experimental:w(r(),t).optional(),logging:t.optional(),completions:t.optional(),prompts:u({listChanged:k().optional()}).optional(),resources:u({subscribe:k().optional(),listChanged:k().optional()}).optional(),tools:u({listChanged:k().optional()}).optional(),tasks:Ee.optional(),extensions:w(r(),t).optional()}),Y=u({progress:y(),total:O(y()),message:O(r())}),A=u({...g.shape,...Y.shape,progressToken:n}),J=b.extend({method:d("notifications/progress"),params:A}),me=g.extend({level:a,logger:r().optional(),data:$()}),we=b.extend({method:d("notifications/message"),params:me}),Q=u({uri:r(),mimeType:O(r()),_meta:w(r(),$()).optional()}),he=Q.extend({text:r()}),ze=Q.extend({blob:l}),Oe=u({audience:S(i).optional(),priority:y().min(0).max(1).optional(),lastModified:ns({offset:!0}).optional()}),je=u({...T.shape,...R.shape,uri:r(),description:O(r()),mimeType:O(r()),size:O(y()),annotations:Oe.optional(),_meta:O(q({}))}),ft=u({...T.shape,...R.shape,uriTemplate:r(),description:O(r()),mimeType:O(r()),annotations:Oe.optional(),_meta:O(q({}))}),xe=b.extend({method:d("notifications/resources/list_changed"),params:g.optional()}),Me=g.extend({uri:r()}),St=b.extend({method:d("notifications/resources/updated"),params:Me}),gt=u({name:r(),description:O(r()),required:O(k())}),We=u({...T.shape,...R.shape,description:O(r()),arguments:O(S(gt)),_meta:O(q({}))}),_t=b.extend({method:d("notifications/prompts/list_changed"),params:g.optional()}),qe=u({type:d("text"),text:r(),annotations:Oe.optional(),_meta:w(r(),$()).optional()}),Te=u({type:d("image"),data:l,mimeType:r(),annotations:Oe.optional(),_meta:w(r(),$()).optional()}),Ge=u({type:d("audio"),data:l,mimeType:r(),annotations:Oe.optional(),_meta:w(r(),$()).optional()}),Gt=u({type:d("tool_use"),name:r(),id:r(),input:w(r(),$()),_meta:w(r(),$()).optional()}),Yt=u({type:d("resource"),resource:P([he,ze]),annotations:Oe.optional(),_meta:w(r(),$()).optional()}),Qt=je.extend({type:d("resource_link")}),Ze=P([qe,Te,Ge,Qt,Yt]),bt=u({role:i,content:Ze}),Ye=u({title:r().optional(),readOnlyHint:k().optional(),destructiveHint:k().optional(),idempotentHint:k().optional(),openWorldHint:k().optional()}),Xt=b.extend({method:d("notifications/tools/list_changed"),params:g.optional()}),en=u({name:r().optional()}),tn=u({hints:S(en).optional(),costPriority:y().min(0).max(1).optional(),speedPriority:y().min(0).max(1).optional(),intelligencePriority:y().min(0).max(1).optional()}),nn=u({mode:N(["auto","required","none"]).optional()}),on=u({type:d("boolean"),title:r().optional(),description:r().optional(),default:k().optional()}),sn=u({type:d("string"),title:r().optional(),description:r().optional(),minLength:y().optional(),maxLength:y().optional(),format:N(["email","uri","date","date-time"]).optional(),default:r().optional()}),rn=u({type:N(["number","integer"]),title:r().optional(),description:r().optional(),minimum:y().optional(),maximum:y().optional(),default:y().optional()}),an=u({type:d("string"),title:r().optional(),description:r().optional(),enum:S(r()),default:r().optional()}),cn=u({type:d("string"),title:r().optional(),description:r().optional(),oneOf:S(u({const:r(),title:r()})),default:r().optional()}),ln=u({type:d("string"),title:r().optional(),description:r().optional(),enum:S(r()),enumNames:S(r()).optional(),default:r().optional()}),un=P([an,cn]),dn=u({type:d("array"),title:r().optional(),description:r().optional(),minItems:y().optional(),maxItems:y().optional(),items:u({type:d("string"),enum:S(r())}),default:S(r()).optional()}),pn=u({type:d("array"),title:r().optional(),description:r().optional(),minItems:y().optional(),maxItems:y().optional(),items:u({anyOf:S(u({const:r(),title:r()}))}),default:S(r()).optional()}),mn=P([dn,pn]),hn=P([ln,un,mn]),fn=P([hn,on,sn,rn]),Qe=f.extend({mode:d("form").optional(),message:r(),requestedSchema:u({type:d("object"),properties:w(r(),fn),required:S(r()).optional()}).catchall($())}),Xe=u({type:d("ref/resource"),uri:r()}),et=u({type:d("ref/prompt"),name:r()}),Sn=u({uri:r().startsWith("file://"),name:r().optional(),_meta:w(r(),$()).optional()}),Ue=D.shape,gn=u({experimental:Ue.experimental,sampling:Ue.sampling,elicitation:Ue.elicitation,roots:Ue.roots,extensions:Ue.extensions}),ye=M.shape,yt=u({experimental:ye.experimental,logging:ye.logging,completions:ye.completions,prompts:ye.prompts,resources:ye.resources,tools:ye.tools,extensions:ye.extensions}),vt=q({progressToken:n.optional(),[os]:r(),[Si]:C.optional(),[ss]:gn,[gi]:a.optional()}),tt=u({...T.shape,...R.shape,description:r().optional(),inputSchema:q({$schema:r().optional(),type:d("object")}),outputSchema:q({$schema:r().optional()}).optional(),annotations:Ye.optional(),_meta:w(r(),$()).optional()}),_n=u({type:d("tool_result"),toolUseId:r(),content:S(Ze),structuredContent:$().optional(),isError:k().optional(),_meta:w(r(),$()).optional()}),Rt=P([qe,Te,Ge,Gt,_n]),nt=u({role:i,content:P([Rt,S(Rt)]),_meta:w(r(),$()).optional()}),wt=r(),Tt=q({[Yn]:C.optional().catch(void 0)}),Pt=Tt.optional();function ne(B){return q({_meta:Pt,resultType:wt.default("complete"),...B})}const bn=ne({}),lo=ne({nextCursor:o.optional()}),kt=ne({content:S(Ze),structuredContent:$().optional(),isError:k().optional()}),yn=ne({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),tools:S(tt),nextCursor:o.optional()}),vn=ne({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),prompts:S(We),nextCursor:o.optional()}),Rn=ne({description:r().optional(),messages:S(bt)}),wn=ne({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),resources:S(je),nextCursor:o.optional()}),Tn=ne({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),resourceTemplates:S(ft),nextCursor:o.optional()}),Pn=ne({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),contents:S(P([he,ze]))}),kn=ne({completion:u({values:S(r()).max(100),total:y().int().optional(),hasMore:k().optional()}).loose()}),uo=ne({ttlMs:y().int().min(0),cacheScope:N(["public","private"])}),Cn=ne({ttlMs:y().int().min(0).catch(0),cacheScope:N(["public","private"]).catch("private"),supportedVersions:S(r()),capabilities:yt,instructions:r().optional()}),De=u({messages:S(nt),modelPreferences:tn.optional(),systemPrompt:r().optional(),includeContext:N(["none","thisServer","allServers"]).optional(),temperature:y().optional(),maxTokens:y().int(),stopSequences:S(r()).optional(),metadata:t.optional(),tools:S(tt).optional(),toolChoice:nn.optional()}),$n=u({method:d("sampling/createMessage"),params:De}),En=u({method:d("roots/list"),params:u({_meta:w(r(),$()).optional()}).optional()}),On=u({...nt.shape,model:r(),stopReason:r().optional()}),qn=u({roots:S(Sn)}),In=u({action:N(["accept","decline","cancel"]),content:w(r(),P([r(),y(),k(),S(r())])).optional()}),Nn=u({mode:d("url"),message:r(),url:r().url()}),zn=P([Qe,Nn]),xn=u({method:d("elicitation/create"),params:zn}),Mn=P([$n,En,xn]),Ln=P([On,qn,In]),An=w(r(),Mn),jn=w(r(),Ln),ot=ne({inputRequests:An.optional(),requestState:r().optional()}),st={inputResponses:jn.optional(),requestState:r().optional()},po=u({_meta:vt,...st}),mo=q({progressToken:n.optional()});function fe(B,rt){return u({method:d(B),params:u({_meta:vt,...rt})})}function Se(B,rt){return u({method:d(B),params:u({_meta:mo.optional(),...rt}).optional()})}const Zn={name:r(),arguments:w(r(),$()).optional(),...st},Pe={cursor:o.optional()},ho=fe("tools/call",Zn),fo=fe("tools/list",Pe),So=fe("prompts/list",Pe),go=fe("prompts/get",{name:r(),arguments:w(r(),r()).optional(),...st}),_o=fe("resources/list",Pe),bo=fe("resources/templates/list",Pe),yo=fe("resources/read",{uri:r(),...st}),Un={ref:P([et,Xe]),argument:u({name:r(),value:r()}),context:u({arguments:w(r(),r()).optional()}).optional()},vo=fe("completion/complete",Un),Ro=fe("server/discover",{}),Ct=u({toolsListChanged:k().optional(),promptsListChanged:k().optional(),resourcesListChanged:k().optional(),resourceSubscriptions:S(r()).optional()}),Dn={notifications:Ct},wo=fe("subscriptions/listen",Dn),To=Tt.extend({"io.modelcontextprotocol/subscriptionId":s}),Hn=q({_meta:To,resultType:wt.default("complete")}),He={"tools/call":Se("tools/call",Zn),"tools/list":Se("tools/list",Pe),"prompts/get":Se("prompts/get",{name:r(),arguments:w(r(),r()).optional()}),"prompts/list":Se("prompts/list",Pe),"resources/list":Se("resources/list",Pe),"resources/templates/list":Se("resources/templates/list",Pe),"resources/read":Se("resources/read",{uri:r()}),"completion/complete":Se("completion/complete",Un),"server/discover":Se("server/discover",{}),"subscriptions/listen":Se("subscriptions/listen",Dn)};function le(B){return q({_meta:Pt,...B})}const Po={"tools/call":le({content:S(Ze),structuredContent:$().optional(),isError:k().optional()}),"tools/list":le({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),tools:S(tt),nextCursor:o.optional()}),"prompts/get":le({description:r().optional(),messages:S(bt)}),"prompts/list":le({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),prompts:S(We),nextCursor:o.optional()}),"resources/list":le({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),resources:S(je),nextCursor:o.optional()}),"resources/templates/list":le({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),resourceTemplates:S(ft),nextCursor:o.optional()}),"resources/read":le({ttlMs:y().int().min(0),cacheScope:N(["public","private"]),contents:S(P([he,ze]))}),"completion/complete":le({completion:u({values:S(r()).max(100),total:y().int().optional(),hasMore:k().optional()}).loose()}),"server/discover":le({ttlMs:y().int().min(0).catch(0),cacheScope:N(["public","private"]).catch("private"),supportedVersions:S(r()),capabilities:yt,instructions:r().optional()}),"subscriptions/listen":le({})},it=q({"io.modelcontextprotocol/subscriptionId":s.optional()}),$t=u({method:d("notifications/subscriptions/acknowledged"),params:u({_meta:it.optional(),notifications:Ct})}),Et=u({_meta:it.optional(),requestId:s,reason:r().optional()}),Ot=u({method:d("notifications/cancelled"),params:Et}),_s={"notifications/cancelled":Ot,"notifications/progress":J,"notifications/message":we,"notifications/resources/updated":St,"notifications/resources/list_changed":xe,"notifications/tools/list_changed":Xt,"notifications/prompts/list_changed":_t,"notifications/subscriptions/acknowledged":$t},ae=B=>u({jsonrpc:d("2.0"),id:P([r(),y().int()]),result:B}).strict();return{JSONValueSchema:e,JSONObjectSchema:t,ProgressTokenSchema:n,CursorSchema:o,RequestIdSchema:s,RoleSchema:i,LoggingLevelSchema:a,TaskMetadataSchema:c,RelatedTaskMetadataSchema:p,RequestMetaSchema:m,BaseRequestParamsSchema:h,TaskAugmentedRequestParamsSchema:f,NotificationsParamsSchema:g,NotificationSchema:b,IconSchema:v,IconsSchema:R,BaseMetadataSchema:T,ImplementationSchema:C,ClientTasksCapabilitySchema:Re,ServerTasksCapabilitySchema:Ee,ClientCapabilitiesSchema:D,ServerCapabilitiesSchema:M,ProgressSchema:Y,ProgressNotificationParamsSchema:A,ProgressNotificationSchema:J,LoggingMessageNotificationParamsSchema:me,LoggingMessageNotificationSchema:we,ResourceContentsSchema:Q,TextResourceContentsSchema:he,BlobResourceContentsSchema:ze,AnnotationsSchema:Oe,ResourceSchema:je,ResourceTemplateSchema:ft,ResourceListChangedNotificationSchema:xe,ResourceUpdatedNotificationParamsSchema:Me,ResourceUpdatedNotificationSchema:St,PromptArgumentSchema:gt,PromptSchema:We,PromptListChangedNotificationSchema:_t,TextContentSchema:qe,ImageContentSchema:Te,AudioContentSchema:Ge,ToolUseContentSchema:Gt,EmbeddedResourceSchema:Yt,ResourceLinkSchema:Qt,ContentBlockSchema:Ze,PromptMessageSchema:bt,ToolAnnotationsSchema:Ye,ToolListChangedNotificationSchema:Xt,ModelHintSchema:en,ModelPreferencesSchema:tn,ToolChoiceSchema:nn,BooleanSchemaSchema:on,StringSchemaSchema:sn,NumberSchemaSchema:rn,UntitledSingleSelectEnumSchemaSchema:an,TitledSingleSelectEnumSchemaSchema:cn,LegacyTitledEnumSchemaSchema:ln,SingleSelectEnumSchemaSchema:un,UntitledMultiSelectEnumSchemaSchema:dn,TitledMultiSelectEnumSchemaSchema:pn,MultiSelectEnumSchemaSchema:mn,EnumSchemaSchema:hn,PrimitiveSchemaDefinitionSchema:fn,ElicitRequestFormParamsSchema:Qe,ResourceTemplateReferenceSchema:Xe,PromptReferenceSchema:et,RootSchema:Sn,ClientCapabilities2026Schema:gn,ServerCapabilities2026Schema:yt,RequestMetaEnvelopeSchema:vt,ToolSchema:tt,ToolResultContentSchema:_n,SamplingMessageContentBlockSchema:Rt,SamplingMessageSchema:nt,ResultTypeSchema:wt,ResultMetaSchema:Tt,ResultSchema:bn,PaginatedResultSchema:lo,CallToolResultSchema:kt,ListToolsResultSchema:yn,ListPromptsResultSchema:vn,GetPromptResultSchema:Rn,ListResourcesResultSchema:wn,ListResourceTemplatesResultSchema:Tn,ReadResourceResultSchema:Pn,CompleteResultSchema:kn,CacheableResultSchema:uo,DiscoverResultSchema:Cn,CreateMessageRequestParamsSchema:De,CreateMessageRequestSchema:$n,ListRootsRequestSchema:En,CreateMessageResultSchema:On,ListRootsResultSchema:qn,ElicitResultSchema:In,ElicitRequestURLParamsSchema:Nn,ElicitRequestParamsSchema:zn,ElicitRequestSchema:xn,InputRequestSchema:Mn,InputResponseSchema:Ln,InputRequestsSchema:An,InputResponsesSchema:jn,InputRequiredResultSchema:ot,InputResponseRequestParamsSchema:po,CallToolRequestSchema:ho,ListToolsRequestSchema:fo,ListPromptsRequestSchema:So,GetPromptRequestSchema:go,ListResourcesRequestSchema:_o,ListResourceTemplatesRequestSchema:bo,ReadResourceRequestSchema:yo,CompleteRequestSchema:vo,DiscoverRequestSchema:Ro,SubscriptionFilterSchema:Ct,SubscriptionsListenRequestSchema:wo,SubscriptionsListenResultMetaSchema:To,SubscriptionsListenResultSchema:Hn,dispatchRequestSchemas:He,dispatchResultSchemas:Po,NotificationMetaSchema:it,SubscriptionsAcknowledgedNotificationSchema:$t,CancelledNotificationParamsSchema:Et,CancelledNotificationSchema:Ot,notificationSchemas2026:_s,JSONRPCResultResponseSchema:ae(bn),CallToolResultResponseSchema:ae(P([kt,ot])),ListToolsResultResponseSchema:ae(yn),ListPromptsResultResponseSchema:ae(vn),GetPromptResultResponseSchema:ae(P([Rn,ot])),ListResourcesResultResponseSchema:ae(wn),ListResourceTemplatesResultResponseSchema:ae(Tn),ReadResourceResultResponseSchema:ae(P([Pn,ot])),CompleteResultResponseSchema:ae(kn),DiscoverResultResponseSchema:ae(Cn),SubscriptionsListenResultResponseSchema:ae(Hn)}}let Eg;function Je(){return Eg??(Eg=$g())}const Og=["tools/list","prompts/list","resources/list","resources/templates/list","resources/read","server/discover"];function qg(e){return Og.includes(e)}const Vi=Symbol("modelcontextprotocol.resultCacheHintFallback");function Ig(e){return e[Vi]}function wu(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0}function Tu(e){return e==="public"||e==="private"}let z=(function(e){return e[e.ParseError=-32700]="ParseError",e[e.InvalidRequest=-32600]="InvalidRequest",e[e.MethodNotFound=-32601]="MethodNotFound",e[e.InvalidParams=-32602]="InvalidParams",e[e.InternalError=-32603]="InternalError",e[e.ResourceNotFound=-32002]="ResourceNotFound",e[e.MissingRequiredClientCapability=-32021]="MissingRequiredClientCapability",e[e.UnsupportedProtocolVersion=-32022]="UnsupportedProtocolVersion",e[e.UrlElicitationRequired=-32042]="UrlElicitationRequired",e})({});var lt,ie=(lt=class extends Error{static[Symbol.hasInstance](t){return Bo(this,t)}static isInstance(t){if(typeof this!="function")throw new TypeError("isInstance must be called on the class (e.g. `SdkError.isInstance(value)`); for callbacks use `v => SdkError.isInstance(v)`");return Bo(this,t)}constructor(t,n,o){super(n),this.code=t,this.data=o,this.name="ProtocolError",Su(this,new.target)}static fromError(t,n,o){if(t===z.UrlElicitationRequired&&o){const s=o;if(s.elicitations)return new zg(s.elicitations,n)}if(t===z.UnsupportedProtocolVersion&&o){const s=o;if(Array.isArray(s.supported)&&typeof s.requested=="string")return new xg({supported:s.supported,requested:s.requested},n)}if(t===z.InvalidParams||t===z.ResourceNotFound){const s=o;if(typeof(s==null?void 0:s.uri)=="string"&&(t===z.ResourceNotFound||Object.keys(s).length===1))return new Ng(s.uri,n)}if(t===z.MissingRequiredClientCapability&&o){const s=o;if(s.requiredCapabilities!==null&&typeof s.requiredCapabilities=="object"&&!Array.isArray(s.requiredCapabilities))return new Mg({requiredCapabilities:s.requiredCapabilities},n)}return new lt(t,n,o)}},Object.defineProperty(lt,"mcpBrand",{value:"mcp.ProtocolError"}),lt),Nt,Ng=(Nt=class extends ie{constructor(t,n=`Resource not found: ${t}`){super(z.InvalidParams,n,{uri:t})}get uri(){return this.data.uri}},Object.defineProperty(Nt,"mcpBrand",{value:"mcp.ResourceNotFoundError"}),Nt),zt,zg=(zt=class extends ie{constructor(t,n=`URL elicitation${t.length>1?"s":""} required`){super(z.UrlElicitationRequired,n,{elicitations:t})}get elicitations(){var t;return((t=this.data)==null?void 0:t.elicitations)??[]}},Object.defineProperty(zt,"mcpBrand",{value:"mcp.UrlElicitationRequiredError"}),zt),xt,xg=(xt=class extends ie{constructor(t,n=`Unsupported protocol version: ${t.requested}`){super(z.UnsupportedProtocolVersion,n,t)}get supported(){return this.data.supported}get requested(){return this.data.requested}},Object.defineProperty(xt,"mcpBrand",{value:"mcp.UnsupportedProtocolVersionError"}),xt),Mt,Mg=(Mt=class extends ie{constructor(t,n=`Missing required client capabilities: ${Object.keys(t.requiredCapabilities).join(", ")}`){super(z.MissingRequiredClientCapability,n,t)}get requiredCapabilities(){return this.data.requiredCapabilities}},Object.defineProperty(Mt,"mcpBrand",{value:"mcp.MissingRequiredClientCapabilityError"}),Mt);const Lg=0,Ag="private",jg=["tools/call","prompts/get","resources/read"];function Zg(e,t){const n=t.resultType;if(n===void 0)return{...t,resultType:"complete"};if(n==="complete"||jg.includes(e))return t;throw new ie(z.InternalError,`Handler for ${e} returned resultType '${String(n)}', but results of ${e} only support 'complete' on protocol revision 2026-07-28`)}function Ug(e,t){const n=Ig(t);if(t.resultType!=="complete"||!qg(e))return n===void 0?t:Vg(t);const o=t,s=wu(o.ttlMs)?o.ttlMs:Fg(n),i=Tu(o.cacheScope)?o.cacheScope:Jg(n),a={...o,ttlMs:s,cacheScope:i};return delete a[Vi],a}function Dg(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Hg(e,t){if(t===void 0)return e;const n=e._meta;return n===void 0?{...e,_meta:{[Yn]:t}}:!Dg(n)||n[Yn]!==void 0?e:{...e,_meta:{...n,[Yn]:t}}}function Fg(e){return e!==void 0&&wu(e.ttlMs)?e.ttlMs:Lg}function Jg(e){return e!==void 0&&Tu(e.cacheScope)?e.cacheScope:Ag}function Vg(e){const t={...e};return delete t[Vi],t}const Bg=["elicitation/create","sampling/createMessage","roots/list"];let No;function Pu(){if(No)return No;const e=Je();return No={request:{"elicitation/create":u({method:d("elicitation/create"),params:e.ElicitRequestParamsSchema}),"sampling/createMessage":u({method:d("sampling/createMessage"),params:e.CreateMessageRequestParamsSchema}),"roots/list":u({method:d("roots/list"),params:q({}).optional()})},response:{"elicitation/create":e.ElicitResultSchema,"sampling/createMessage":e.CreateMessageResultSchema,"roots/list":e.ListRootsResultSchema}},No}function ku(e){return Bg.includes(e)}function ks(e){return ku(e)?Pu().request[e]:void 0}function Kg(e){return ku(e)?Pu().response[e]:void 0}const Cu={"tools/call":null,"tools/list":null,"prompts/get":null,"prompts/list":null,"resources/list":null,"resources/templates/list":null,"resources/read":null,"completion/complete":null,"server/discover":null,"subscriptions/listen":null},Wg={"notifications/cancelled":null,"notifications/progress":null,"notifications/message":null,"notifications/resources/updated":null,"notifications/resources/list_changed":null,"notifications/tools/list_changed":null,"notifications/prompts/list_changed":null,"notifications/subscriptions/acknowledged":null};function $u(e){return Object.prototype.hasOwnProperty.call(Cu,e)}function Eu(e){return Object.prototype.hasOwnProperty.call(Wg,e)}function Gg(e){return Object.prototype.hasOwnProperty.call(Cu,e)}function Yg(e){return $u(e)?Je().dispatchRequestSchemas[e]:void 0}function Qg(e){return Gg(e)?Je().dispatchResultSchemas[e]:void 0}function Xg(e){return Eu(e)?Je().notificationSchemas2026[e]:void 0}function Qn(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Jn(e,t){if(e===void 0)return{ok:!1,reason:"not-in-era"};const n=e.safeParse(t);return n.success?{ok:!0,value:n.data}:{ok:!1,reason:"invalid",message:String(n.error)}}const e_={ok:!1,reason:"not-in-era"},t_=[os,ss];function n_(e,t){let n=t,o=!1;const s=()=>(o||(n={...n},o=!0),n),i=t.tools;e==="tools/list"&&Array.isArray(i)&&i.some(l=>Qn(l)&&"execution"in l)&&(s().tools=i.map(l=>{if(!Qn(l)||!("execution"in l))return l;const c={...l};return delete c.execution,c}));const a=t.capabilities;if(Qn(a)&&"tasks"in a){const l={...a};delete l.tasks,s().capabilities=l}return n}const Bi={era:"2026-07-28",hasRequestMethod:$u,hasNotificationMethod:Eu,hasInputRequestMethod:e=>ks(e)!==void 0,validateRequest:(e,t)=>Jn(Yg(e),t),validateResult:(e,t)=>Jn(Qg(e),t),validateNotification:(e,t)=>Jn(Xg(e),t),validateInputRequest:(e,t)=>Jn(ks(e),t),validateInputResponse:(e,t)=>Jn(Kg(e),t),samplingResultVariant:()=>e_,outboundEnvelope(e){return{[os]:e.protocolVersion,[Si]:e.clientInfo,[ss]:e.clientCapabilities,...e.logLevel!==void 0&&{[gi]:e.logLevel}}},validateEnvelopeMeta(e){const t=[];for(const o of t_)o in e||t.push({key:o,problem:"missing"});const n=Je().RequestMetaEnvelopeSchema.safeParse(e);if(!n.success)for(const o of n.error.issues){const s=o.path.map(String),i=s.length>0?s.join("."):"_meta";s.length===1&&t.some(a=>a.key===i&&a.problem==="missing")||t.push({key:i,problem:o.message})}return t},projectCallToolResult:e=>gu(e),inputRequestSchema:ks,decodeResult(e,t){if(!Qn(t))return{kind:"invalid",error:new X(se.InvalidResult,`Invalid result for ${e}: not an object`,{method:e})};const n=t.resultType;if(n===void 0)return{kind:"invalid",error:new X(se.InvalidResult,`Invalid result for ${e}: missing required resultType — servers implementing protocol revision 2026-07-28 MUST include it (the absent-means-complete bridge applies only to earlier-revision servers)`,{method:e,violation:"missing-resultType"})};if(typeof n!="string")return{kind:"invalid",error:new X(se.InvalidResult,`Invalid result for ${e}: non-string resultType`,{method:e,resultType:n})};if(n==="input_required"){const a=t.inputRequests,l=Qn(a)?a:{},c=t.requestState,p=t._meta===void 0?void 0:Je().ResultMetaSchema.safeParse(t._meta),m=p!=null&&p.success?p.data:void 0;return Object.keys(l).length===0&&typeof c!="string"?{kind:"invalid",error:new X(se.InvalidResult,`Invalid result for ${e}: input_required carries neither inputRequests nor requestState (every input_required result must include at least one of the two)`,{method:e,violation:"input-required-missing-both"})}:{kind:"input_required",inputRequests:l,...typeof c=="string"&&{requestState:c},...m!==void 0&&{_meta:m}}}if(n!=="complete")return{kind:"invalid",error:new X(se.UnsupportedResultType,`Unsupported result type '${n}' for ${e}`,{resultType:n,method:e})};const o=o_(),s=Object.hasOwn(o,e)?o[e]:void 0;if(s!==void 0){const a=s.safeParse(t);if(!a.success)return{kind:"invalid",error:new X(se.InvalidResult,`Invalid result for ${e}: ${a.error}`,{method:e})}}const i={...t};return delete i.resultType,{kind:"complete",result:i}},encodeResult(e,t,n){return Hg(Ug(e,Zg(e,n_(e,t))),n)},encodeErrorCode:e=>e===-32002?-32602:e,checkInboundEnvelope(e){if(e.envelope===void 0)return"Request is missing the required _meta envelope for protocol revision 2026-07-28 (io.modelcontextprotocol/protocolVersion, io.modelcontextprotocol/clientCapabilities)";const t=Je().RequestMetaEnvelopeSchema.safeParse(e.envelope);if(!t.success)return`Invalid _meta envelope for protocol revision 2026-07-28: ${t.error.issues.map(n=>n.message).join("; ")}`}};let zo;function o_(){if(zo)return zo;const e=Je();return zo={"tools/call":e.CallToolResultSchema,"tools/list":e.ListToolsResultSchema,"prompts/get":e.GetPromptResultSchema,"prompts/list":e.ListPromptsResultSchema,"resources/list":e.ListResourcesResultSchema,"resources/templates/list":e.ListResourceTemplatesResultSchema,"resources/read":e.ReadResourceResultSchema,"completion/complete":e.CompleteResultSchema,"server/discover":e.DiscoverResultSchema},zo}const Ou="2026-07-28";function Ko(e){return e!==void 0&&hg(e)?Bi:Ji}function Zr(e){return e.revision!==void 0?Ko(e.revision).era:e.era==="modern"?Bi.era:Ji.era}function Cs(e){return qu.some(t=>t.hasRequestMethod(e))}function $s(e){return qu.some(t=>t.hasNotificationMethod(e))}function Ur(e){return e==="tasks/get"||e==="tasks/cancel"}const qu=[Ji,Bi];var s_=Xu({AnnotationsSchema:()=>ht,AudioContentSchema:()=>ps,BaseMetadataSchema:()=>pt,BaseRequestParamsSchema:()=>re,BlobResourceContentsSchema:()=>qi,BooleanSchemaSchema:()=>Li,CallToolRequestParamsSchema:()=>El,CallToolRequestSchema:()=>Ol,CallToolResultSchema:()=>hs,CancelTaskRequestSchema:()=>YS,CancelTaskResultSchema:()=>QS,CancelledNotificationParamsSchema:()=>zc,CancelledNotificationSchema:()=>Ti,ClientCapabilitiesSchema:()=>Ac,ClientNotificationSchema:()=>eg,ClientRequestSchema:()=>XS,ClientResultSchema:()=>tg,ClientTasksCapabilitySchema:()=>Mc,CompatibilityCallToolResultSchema:()=>ZS,CompleteRequestParamsSchema:()=>ou,CompleteRequestSchema:()=>su,CompleteResultSchema:()=>iu,ContentBlockSchema:()=>Kt,CreateMessageRequestParamsSchema:()=>Dl,CreateMessageRequestSchema:()=>Hl,CreateMessageResultSchema:()=>Fl,CreateMessageResultWithToolsSchema:()=>Jl,CreateTaskResultSchema:()=>HS,CursorSchema:()=>bi,DiscoverRequestSchema:()=>Hc,DiscoverResultSchema:()=>Fc,ElicitRequestFormParamsSchema:()=>Ss,ElicitRequestParamsSchema:()=>Gl,ElicitRequestSchema:()=>Yl,ElicitRequestURLParamsSchema:()=>Wl,ElicitResultSchema:()=>eu,ElicitationCompleteNotificationParamsSchema:()=>Ql,ElicitationCompleteNotificationSchema:()=>Xl,EmbeddedResourceSchema:()=>zi,EmptyResultSchema:()=>cs,EnumSchemaSchema:()=>Kl,GetPromptRequestParamsSchema:()=>bl,GetPromptRequestSchema:()=>yl,GetPromptResultSchema:()=>wl,GetTaskPayloadRequestSchema:()=>BS,GetTaskPayloadResultSchema:()=>KS,GetTaskRequestSchema:()=>JS,GetTaskResultSchema:()=>VS,IconSchema:()=>xc,IconsSchema:()=>Ht,ImageContentSchema:()=>ds,ImplementationSchema:()=>Ft,InitializeRequestParamsSchema:()=>jc,InitializeRequestSchema:()=>Zc,InitializeResultSchema:()=>Uc,InitializedNotificationSchema:()=>Dc,JSONArraySchema:()=>MS,JSONObjectSchema:()=>K,JSONRPCErrorResponseSchema:()=>as,JSONRPCMessageSchema:()=>Nc,JSONRPCNotificationSchema:()=>wi,JSONRPCRequestSchema:()=>Ri,JSONRPCResponseSchema:()=>LS,JSONRPCResultResponseSchema:()=>rs,JSONValueSchema:()=>Ut,LegacyTitledEnumSchemaSchema:()=>Zi,ListChangedOptionsBaseSchema:()=>US,ListPromptsRequestSchema:()=>gl,ListPromptsResultSchema:()=>_l,ListResourceTemplatesRequestSchema:()=>Yc,ListResourceTemplatesResultSchema:()=>Qc,ListResourcesRequestSchema:()=>Wc,ListResourcesResultSchema:()=>Gc,ListRootsRequestSchema:()=>au,ListRootsResultSchema:()=>cu,ListTasksRequestSchema:()=>WS,ListTasksResultSchema:()=>GS,ListToolsRequestSchema:()=>Cl,ListToolsResultSchema:()=>$l,LoggingLevelSchema:()=>Mi,LoggingMessageNotificationParamsSchema:()=>zl,LoggingMessageNotificationSchema:()=>xl,ModelHintSchema:()=>Ml,ModelPreferencesSchema:()=>Ll,MultiSelectEnumSchemaSchema:()=>Bl,NotificationSchema:()=>pe,NotificationsParamsSchema:()=>de,NumberSchemaSchema:()=>Vo,PaginatedRequestParamsSchema:()=>Bc,PaginatedRequestSchema:()=>Jt,PaginatedResultSchema:()=>Vt,PingRequestSchema:()=>ki,PrimitiveSchemaDefinitionSchema:()=>Hi,ProgressNotificationParamsSchema:()=>Vc,ProgressNotificationSchema:()=>Ci,ProgressSchema:()=>Jc,ProgressTokenSchema:()=>_i,PromptArgumentSchema:()=>fl,PromptListChangedNotificationSchema:()=>Tl,PromptMessageSchema:()=>Rl,PromptReferenceSchema:()=>nu,PromptSchema:()=>Sl,ReadResourceRequestParamsSchema:()=>Xc,ReadResourceRequestSchema:()=>el,ReadResourceResultSchema:()=>tl,RelatedTaskMetadataSchema:()=>Ic,RequestIdSchema:()=>mt,RequestMetaSchema:()=>yi,RequestSchema:()=>W,ResourceContentsSchema:()=>$i,ResourceLinkSchema:()=>xi,ResourceListChangedNotificationSchema:()=>nl,ResourceRequestParamsSchema:()=>ls,ResourceSchema:()=>Ii,ResourceTemplateReferenceSchema:()=>tu,ResourceTemplateSchema:()=>Kc,ResourceUpdatedNotificationParamsSchema:()=>ml,ResourceUpdatedNotificationSchema:()=>hl,ResultMetaObjectSchema:()=>vi,ResultSchema:()=>G,RoleSchema:()=>Bt,RootSchema:()=>ru,RootsListChangedNotificationSchema:()=>lu,SamplingContentSchema:()=>Zl,SamplingMessageContentBlockSchema:()=>so,SamplingMessageSchema:()=>Ul,ServerCapabilitiesSchema:()=>Pi,ServerNotificationSchema:()=>og,ServerRequestSchema:()=>ng,ServerResultSchema:()=>sg,ServerTasksCapabilitySchema:()=>Lc,SetLevelRequestParamsSchema:()=>Il,SetLevelRequestSchema:()=>Nl,SingleSelectEnumSchemaSchema:()=>Vl,StringSchemaSchema:()=>fs,SubscribeRequestParamsSchema:()=>ol,SubscribeRequestSchema:()=>sl,SubscriptionFilterSchema:()=>Ni,SubscriptionsAcknowledgedNotificationParamsSchema:()=>ll,SubscriptionsAcknowledgedNotificationSchema:()=>ul,SubscriptionsListenRequestParamsSchema:()=>al,SubscriptionsListenRequestSchema:()=>cl,SubscriptionsListenResultMetaSchema:()=>dl,SubscriptionsListenResultSchema:()=>pl,TaskAugmentedRequestParamsSchema:()=>co,TaskCreationParamsSchema:()=>DS,TaskMetadataSchema:()=>qc,TaskSchema:()=>Wt,TaskStatusNotificationParamsSchema:()=>du,TaskStatusNotificationSchema:()=>FS,TaskStatusSchema:()=>uu,TextContentSchema:()=>us,TextResourceContentsSchema:()=>Ei,TitledMultiSelectEnumSchemaSchema:()=>Di,TitledSingleSelectEnumSchemaSchema:()=>ji,ToolAnnotationsSchema:()=>Pl,ToolChoiceSchema:()=>Al,ToolExecutionSchema:()=>kl,ToolListChangedNotificationSchema:()=>ql,ToolResultContentSchema:()=>jl,ToolSchema:()=>ms,ToolUseContentSchema:()=>vl,UnsubscribeRequestParamsSchema:()=>il,UnsubscribeRequestSchema:()=>rl,UntitledMultiSelectEnumSchemaSchema:()=>Ui,UntitledSingleSelectEnumSchemaSchema:()=>Ai});const i_=e=>Ri.safeParse(e).success,r_=e=>wi.safeParse(e).success,Dr=e=>rs.safeParse(e).success,a_=e=>as.safeParse(e).success,Es=-32020;z.InvalidRequest,z.UnsupportedProtocolVersion,z.InvalidParams,z.MethodNotFound,z.InvalidParams,z.MissingRequiredClientCapability;z.ParseError+"",z.InvalidRequest+"",z.MethodNotFound+"",z.UnsupportedProtocolVersion+"",z.MissingRequiredClientCapability+"";function Iu(e,t){return gc(e,t)}function Vn(e){return new Set(e.flatMap(t=>Object.keys(t.shape)))}function Vs(e){var n;if(e==null)return!1;const t=typeof e;return t!=="object"&&t!=="function"||!("~standard"in e)?!1:typeof((n=e["~standard"])==null?void 0:n.validate)=="function"}let Hr=!1;const Bs="draft-2020-12";function c_(e,t="input"){const n=e["~standard"];let o;if(n.jsonSchema)o=n.jsonSchema[t]({target:Bs});else if(n.vendor==="zod"){if(!("_zod"in e))throw new Error("Schema appears to be from zod 3, which the SDK cannot convert to JSON Schema. Upgrade to zod >=4.2.0, or wrap your JSON Schema with fromJsonSchema().");Hr||(Hr=!0,console.warn("[mcp-sdk] Your zod version does not implement `~standard.jsonSchema` (added in zod 4.2.0). Falling back to z.toJSONSchema(). Upgrade to zod >=4.2.0 to silence this warning.")),o=Sc(e,{target:Bs,io:t})}else throw new Error(`Schema library "${n.vendor}" does not implement StandardJSONSchemaV1 (\`~standard.jsonSchema\`). Upgrade to a version that does, or wrap your JSON Schema with fromJsonSchema().`);if(t==="output")return o.type!==void 0?o:Nu(o)?{type:"object",...o}:o;if(o.type!==void 0&&o.type!=="object")throw new Error(`MCP tool and prompt schemas must describe objects (got type: ${JSON.stringify(o.type)}). Wrap your schema in z.object({...}) or equivalent.`);return{type:"object",...o}}function Nu(e){if("properties"in e||"patternProperties"in e||"additionalProperties"in e||"required"in e)return!0;for(const t of["oneOf","anyOf","allOf"]){const n=e[t];if(Array.isArray(n)&&n.length>0)return n.every(o=>o!==null&&typeof o=="object"&&(o.type==="object"||Nu(o)))}return!1}function l_(e){var t;return(t=e.path)!=null&&t.length?`${e.path.map(n=>String(typeof n=="object"?n.key:n)).join(".")}: ${e.message}`:e.message}async function Os(e,t){const n=await e["~standard"].validate(t);return n.issues&&n.issues.length>0?{success:!1,error:n.issues.map(o=>l_(o)).join(", ")}:{success:!0,data:n.value}}function u_(e){const t=Sc(e,{target:Bs,io:"input"});return typeof t.pattern=="string"?t.pattern:void 0}const d_=/\\\.\\d\{(\d+)\}/;function p_(e){const t=d_.exec(e),n=[void 0,-1,0];return t&&n.push(Number(t[1])),[!1,!0].flatMap(o=>[!1,!0].flatMap(s=>n.map(i=>ns({local:o,offset:s,precision:i}))))}function m_(e,t){let n;switch(e){case"email":n=[Af()];break;case"uri":n=[wc()];break;case"date":n=[OS()];break;case"date-time":n=p_(t);break}return new Set(n.map(o=>u_(o)).filter(o=>o!==void 0))}function h_(e,t,n){return n!=="zod"?!0:m_(e,t).has(t)}function io(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function f_(e){try{return c_(e,"input")}catch(t){const n=t instanceof Error?t.message:String(t);throw new ie(z.InvalidParams,`Elicitation requestedSchema must describe an object with flat primitive properties: ${n}`)}}const S_=new Set(["$comment","deprecated","description","examples","readOnly","title","writeOnly"]);function Ki(e){return S_.has(e)||e.startsWith("x-")}const g_=new Set(["$schema",...Object.keys(Ss.shape.requestedSchema.shape)]),Fr={string:Vn([fs,Ai,ji,Zi]),number:Vn([Vo]),integer:Vn([Vo]),boolean:Vn([Li]),array:Vn([Ui,Di])},__=new Set(fs.shape.format.unwrap().options);function b_(e,t,n,o){if(!io(e))return e;const s=typeof e.type=="string"&&Object.hasOwn(Fr,e.type)?Fr[e.type]:void 0;if(s===void 0)return e;const i={};for(const[a,l]of Object.entries(e))s.has(a)||Ki(a)?i[a]=l:a==="pattern"&&e.type==="string"&&typeof e.format=="string"?__.has(e.format)?(typeof l!="string"||!h_(e.format,l,n))&&o.push(`${t}.${a}`):i[a]=l:o.push(`${t}.${a}`);return i}function y_(e,t){const n={},o=[];for(const[s,i]of Object.entries(e))s==="properties"&&io(i)?n[s]=Object.fromEntries(Object.entries(i).map(([a,l])=>[a,b_(l,`properties.${a}`,t,o)])):g_.has(s)?n[s]=i:Ki(s)||o.push(s);if(o.length>0)throw new ie(z.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${o.join(", ")}`);return n}function v_(e,t){if(!io(e.properties))return t;const n=Object.entries(e.properties).filter(([,o])=>!Iu(Hi,o).success).map(([o])=>`properties.${o}`);return n.length>0?n.join(", "):t}function Ks(e,t,n=""){return Array.isArray(e)&&Array.isArray(t)?e.flatMap((o,s)=>Ks(o,t[s],`${n}[${s}]`)):!io(e)||!io(t)?[]:Object.entries(e).flatMap(([o,s])=>{const i=n?`${n}.${o}`:o;return Object.prototype.hasOwnProperty.call(t,o)?Ks(s,t[o],i):Ki(o)?[]:[i]})}function R_(e){if(!Vs(e.requestedSchema))return{...e,mode:"form",requestedSchema:e.requestedSchema};const t=e.requestedSchema["~standard"].vendor,n=y_(f_(e.requestedSchema),t),o=Iu(Ss.shape.requestedSchema,n);if(!o.success)throw new ie(z.InvalidParams,`Elicitation requestedSchema only supports flat primitive properties (string, number, integer, boolean, and string enums): ${v_(n,o.error.message)}`);const s=Ks(n,o.data);if(s.length>0)throw new ie(z.InvalidParams,`Elicitation requestedSchema contains unsupported JSON Schema constraint(s) after Standard Schema conversion: ${s.join(", ")}`);const i=(o.data.required??[]).filter(a=>!Object.prototype.hasOwnProperty.call(o.data.properties,a));if(i.length>0)throw new ie(z.InvalidParams,`Elicitation requestedSchema lists required properties that are not defined in properties: ${i.join(", ")}`);return{...e,mode:"form",requestedSchema:o.data}}function w_(e){const t=e.inputRequests!==void 0&&Object.keys(e.inputRequests).length>0,n=typeof e.requestState=="string";if(!t&&!n)throw new TypeError("inputRequired() requires at least one of inputRequests (with at least one entry) or requestState (spec: every InputRequiredResult MUST include at least one of the two)");return{resultType:"input_required",...e.inputRequests!==void 0&&{inputRequests:e.inputRequests},...e.requestState!==void 0&&{requestState:e.requestState}}}Object.assign(w_,{elicit(e){try{return{method:"elicitation/create",params:R_(e)}}catch(t){throw t instanceof ie?new TypeError(t.message,{cause:t}):t}},elicitUrl(e){return{method:"elicitation/create",params:{...e,mode:"url"}}},createMessage(e){return{method:"sampling/createMessage",params:e}},listRoots(){return{method:"roots/list"}}});const T_=["AnnotationsSchema","AudioContentSchema","BaseMetadataSchema","BlobResourceContentsSchema","BooleanSchemaSchema","CallToolRequestSchema","CallToolRequestParamsSchema","CallToolResultSchema","CancelledNotificationSchema","CancelledNotificationParamsSchema","CancelTaskRequestSchema","CancelTaskResultSchema","ClientCapabilitiesSchema","ClientNotificationSchema","ClientRequestSchema","ClientResultSchema","CompatibilityCallToolResultSchema","CompleteRequestSchema","CompleteRequestParamsSchema","CompleteResultSchema","ContentBlockSchema","CreateMessageRequestSchema","CreateMessageRequestParamsSchema","CreateMessageResultSchema","CreateMessageResultWithToolsSchema","CreateTaskResultSchema","CursorSchema","DiscoverRequestSchema","DiscoverResultSchema","ElicitationCompleteNotificationSchema","ElicitationCompleteNotificationParamsSchema","ElicitRequestSchema","ElicitRequestFormParamsSchema","ElicitRequestParamsSchema","ElicitRequestURLParamsSchema","ElicitResultSchema","EmbeddedResourceSchema","EmptyResultSchema","EnumSchemaSchema","GetPromptRequestSchema","GetPromptRequestParamsSchema","GetPromptResultSchema","GetTaskPayloadRequestSchema","GetTaskPayloadResultSchema","GetTaskRequestSchema","GetTaskResultSchema","IconSchema","IconsSchema","ImageContentSchema","ImplementationSchema","InitializedNotificationSchema","InitializeRequestSchema","InitializeRequestParamsSchema","InitializeResultSchema","JSONArraySchema","JSONObjectSchema","JSONRPCErrorResponseSchema","JSONRPCMessageSchema","JSONRPCNotificationSchema","JSONRPCRequestSchema","JSONRPCResponseSchema","JSONRPCResultResponseSchema","JSONValueSchema","LegacyTitledEnumSchemaSchema","ListPromptsRequestSchema","ListPromptsResultSchema","ListResourcesRequestSchema","ListResourcesResultSchema","ListResourceTemplatesRequestSchema","ListResourceTemplatesResultSchema","ListRootsRequestSchema","ListRootsResultSchema","ListTasksRequestSchema","ListTasksResultSchema","ListToolsRequestSchema","ListToolsResultSchema","LoggingLevelSchema","LoggingMessageNotificationSchema","LoggingMessageNotificationParamsSchema","ModelHintSchema","ModelPreferencesSchema","MultiSelectEnumSchemaSchema","NotificationSchema","NumberSchemaSchema","PaginatedRequestSchema","PaginatedRequestParamsSchema","PaginatedResultSchema","PingRequestSchema","PrimitiveSchemaDefinitionSchema","ProgressSchema","ProgressNotificationSchema","ProgressNotificationParamsSchema","ProgressTokenSchema","PromptSchema","PromptArgumentSchema","PromptListChangedNotificationSchema","PromptMessageSchema","PromptReferenceSchema","ReadResourceRequestSchema","ReadResourceRequestParamsSchema","ReadResourceResultSchema","RelatedTaskMetadataSchema","RequestSchema","RequestIdSchema","RequestMetaSchema","ResourceSchema","ResourceContentsSchema","ResourceLinkSchema","ResourceListChangedNotificationSchema","ResourceRequestParamsSchema","ResourceTemplateSchema","ResourceTemplateReferenceSchema","ResourceUpdatedNotificationSchema","ResourceUpdatedNotificationParamsSchema","ResultMetaObjectSchema","ResultSchema","RoleSchema","RootSchema","RootsListChangedNotificationSchema","SamplingContentSchema","SamplingMessageSchema","SamplingMessageContentBlockSchema","ServerCapabilitiesSchema","ServerNotificationSchema","ServerRequestSchema","ServerResultSchema","SetLevelRequestSchema","SetLevelRequestParamsSchema","SingleSelectEnumSchemaSchema","StringSchemaSchema","SubscribeRequestSchema","SubscribeRequestParamsSchema","SubscriptionFilterSchema","SubscriptionsAcknowledgedNotificationSchema","SubscriptionsAcknowledgedNotificationParamsSchema","SubscriptionsListenRequestSchema","SubscriptionsListenRequestParamsSchema","SubscriptionsListenResultSchema","SubscriptionsListenResultMetaSchema","TaskAugmentedRequestParamsSchema","TaskCreationParamsSchema","TaskMetadataSchema","TaskSchema","TaskStatusSchema","TaskStatusNotificationSchema","TaskStatusNotificationParamsSchema","TextContentSchema","TextResourceContentsSchema","TitledMultiSelectEnumSchemaSchema","TitledSingleSelectEnumSchemaSchema","ToolSchema","ToolAnnotationsSchema","ToolChoiceSchema","ToolExecutionSchema","ToolListChangedNotificationSchema","ToolResultContentSchema","ToolUseContentSchema","UnsubscribeRequestSchema","UnsubscribeRequestParamsSchema","UntitledMultiSelectEnumSchemaSchema","UntitledSingleSelectEnumSchemaSchema"],P_={IdJagTokenExchangeResponseSchema:cg,OAuthClientInformationFullSchema:ug,OAuthClientInformationSchema:fu,OAuthClientMetadataSchema:hu,OAuthClientRegistrationErrorSchema:dg,OAuthErrorResponseSchema:lg,OAuthMetadataSchema:pu,OAuthProtectedResourceMetadataSchema:ig,OAuthTokenRevocationRequestSchema:pg,OAuthTokensSchema:ag,OpenIdProviderDiscoveryMetadataSchema:rg,OpenIdProviderMetadataSchema:mu},zu={},xu={};function Mu(e,t){const n=e.slice(0,-6);zu[n]=t,xu[n]=o=>t.safeParse(o).success}for(const e of T_)Mu(e,s_[e]);for(const[e,t]of Object.entries(P_))Mu(e,t);Object.freeze(zu);Object.freeze(xu);function k_(e){switch(e){case"initialize":case"notifications/initialized":return Ko(void 0);case"server/discover":return Ko(Ou);default:return}}const C_=6e4,$_=[os,Si,ss,gi],E_=["inputResponses","requestState"];function Jr(e,t){const n=e.params;if(!qs(n))return{message:e,lifted:{}};const o=n._meta,s=qs(o)?$_.filter(c=>c in o):[],i=t==="request"?E_.filter(c=>c in n):[];if(s.length===0&&i.length===0)return{message:e,lifted:{}};const a={},l={...n};if(s.length>0&&qs(o)){const c={},p={...o};for(const m of s)c[m]=o[m],delete p[m];a.envelope=c,Object.keys(p).length>0?l._meta=p:delete l._meta}for(const c of i)c==="inputResponses"&&(a.inputResponses=l[c]),c==="requestState"&&(a.requestState=l[c]),delete l[c];return{message:{...e,params:l},lifted:a}}function Vr(e,t){const n=e.validateResult(t,void 0);if(!(!n.ok&&n.reason==="not-in-era"))return{"~standard":{version:1,vendor:"mcp-wire-codec",validate(o){const s=e.validateResult(t,o);return s.ok?{value:s.value}:{issues:[{message:s.reason==="invalid"?s.message:`not-in-era: ${t}`}]}}}}}function Lu(e){return()=>e}const O_=Lu(void 0);var q_=class{constructor(e){I(this,"_transport");I(this,"_requestMessageId",0);I(this,"_requestHandlers",new Map);I(this,"_customSchemaRequestMethods",new Set);I(this,"_requestHandlerAbortControllers",new Map);I(this,"_notificationHandlers",new Map);I(this,"_responseHandlers",new Map);I(this,"_progressHandlers",new Map);I(this,"_timeoutInfo",new Map);I(this,"_pendingDebouncedNotifications",new Set);I(this,"_negotiatedProtocolVersion");I(this,"_supportedProtocolVersions");I(this,"onclose");I(this,"onerror");I(this,"fallbackRequestHandler");I(this,"fallbackNotificationHandler");this._options=e,this._supportedProtocolVersions=(e==null?void 0:e.supportedProtocolVersions)??NS,this.setNotificationHandler("notifications/cancelled",t=>{this._oncancel(t)}),this.setNotificationHandler("notifications/progress",t=>{this._onprogress(t)}),this.setRequestHandler("ping",t=>({}))}_shouldDropInbound(e){}_outboundMetaEnvelope(){}_envelopeOutbound(e){const t=this._outboundMetaEnvelope();if(t===void 0)return e;const n=e.params??{};return{...e,params:{...n,_meta:{...t,...n._meta}}}}_resolveNonCompleteResult(e,t){return Promise.reject(new X(se.UnsupportedResultType,`Unsupported result type '${e.kind}' for ${t.request.method}`,{resultType:e.kind,method:t.request.method}))}_getRequestHandler(e){return this._requestHandlers.get(e)}async _oncancel(e){var t;e.params.requestId!==void 0&&((t=this._requestHandlerAbortControllers.get(e.params.requestId))==null||t.abort(e.params.reason))}_setupTimeout(e,t,n,o,s=!1){this._timeoutInfo.set(e,{timeoutId:setTimeout(o,t),startTime:Date.now(),timeout:t,maxTotalTimeout:n,resetTimeoutOnProgress:s,onTimeout:o})}_resetTimeout(e){const t=this._timeoutInfo.get(e);if(!t)return!1;const n=Date.now()-t.startTime;if(t.maxTotalTimeout&&n>=t.maxTotalTimeout)throw this._timeoutInfo.delete(e),new X(se.RequestTimeout,"Maximum total timeout exceeded",{maxTotalTimeout:t.maxTotalTimeout,totalElapsed:n});return clearTimeout(t.timeoutId),t.timeoutId=setTimeout(t.onTimeout,t.timeout),!0}_cleanupTimeout(e){const t=this._timeoutInfo.get(e);t&&(clearTimeout(t.timeoutId),this._timeoutInfo.delete(e))}async connect(e){var s,i,a,l;this._transport=e;const t=(s=this.transport)==null?void 0:s.onclose;this._transport.onclose=()=>{try{t==null||t()}finally{this._onclose()}};const n=(i=this.transport)==null?void 0:i.onerror;this._transport.onerror=c=>{n==null||n(c),this._onerror(c)};const o=(a=this._transport)==null?void 0:a.onmessage;this._transport.onmessage=(c,p)=>{o==null||o(c,p),Dr(c)||a_(c)?this._onresponse(c):i_(c)?this._onrequest(c,p):r_(c)?this._onnotification(c,p):this._onerror(new Error(`Unknown message type: ${JSON.stringify(c)}`))},(l=e.setSupportedProtocolVersions)==null||l.call(e,this._supportedProtocolVersions),await this._transport.start()}_onclose(){var o;const e=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._pendingDebouncedNotifications.clear();for(const s of this._timeoutInfo.values())clearTimeout(s.timeoutId);this._timeoutInfo.clear();const t=this._requestHandlerAbortControllers;this._requestHandlerAbortControllers=new Map;const n=new X(se.ConnectionClosed,"Connection closed");this._transport=void 0;try{(o=this.onclose)==null||o.call(this)}finally{for(const s of e.values())s(n);for(const s of t.values())s.abort(n)}}_onerror(e){var t;(t=this.onerror)==null||t.call(this,e)}_onnotification(e,t){const{message:n}=Jr(e,"notification"),o=this._negotiatedWireCodec();if((t==null?void 0:t.classification)===void 0&&this._shouldDropInbound(e)==="drop")return;if((t==null?void 0:t.classification)!==void 0){const a=Zr(t.classification);if(a!==o.era){this._onerror(new Error(`Era mismatch on inbound notification '${n.method}': classified as ${a} but this instance serves ${o.era}`));return}}if($s(n.method)&&!o.hasNotificationMethod(n.method))return;const s=this._notificationHandlers.get(n.method),i=this.fallbackNotificationHandler;s===void 0&&i===void 0||Promise.resolve().then(()=>s===void 0?i(n):s(n,o)).catch(a=>this._onerror(new Error(`Uncaught error in notification handler: ${a}`)))}_onrequest(e,t){var v;const{message:n,lifted:o}=Jr(e,"request"),s=this._negotiatedWireCodec();if((t==null?void 0:t.classification)===void 0&&this._shouldDropInbound(e)==="drop"){this._onerror(new Error(`Dropped inbound request '${e.method}': not servable on this connection's protocol era`));return}const i=this._transport,a=(R,T,C)=>{const j={jsonrpc:"2.0",id:n.id,error:{code:R,message:T,...C!==void 0&&{data:C}}};i==null||i.send(j).catch(L=>this._onerror(new Error(`Failed to send an error response: ${L}`)))};if((t==null?void 0:t.classification)!==void 0){const R=Zr(t.classification);if(R!==s.era){this._onerror(new Error(`Era mismatch on inbound request '${n.method}': classified as ${R} but this instance serves ${s.era}`));const T=t.classification.revision??R;a(z.UnsupportedProtocolVersion,`Unsupported protocol version: ${T}`,{supported:this._supportedProtocolVersions,requested:T});return}}if(Cs(n.method)&&!s.hasRequestMethod(n.method)&&!(Ur(n.method)&&this._customSchemaRequestMethods.has(n.method))){a(z.MethodNotFound,"Method not found");return}const l=this._requestHandlers.get(n.method)??this.fallbackRequestHandler;if(l===void 0){a(z.MethodNotFound,"Method not found");return}const c=s.checkInboundEnvelope(o);if(c!==void 0){a(z.InvalidParams,c);return}const p=(R,T)=>this._notificationViaCodec(this._resolveOutboundCodec(R.method),R,{...T,relatedRequestId:n.id}),m=(R,T,C)=>this._requestWithSchemaViaCodec(this._resolveOutboundCodec(R.method),R,T,{...C,relatedRequestId:n.id}),h=new AbortController;this._requestHandlerAbortControllers.set(n.id,h);const f=o.inputResponses===void 0?void 0:I_(o.inputResponses),g={sessionId:i==null?void 0:i.sessionId,mcpReq:{id:n.id,method:n.method,_meta:(v=n.params)==null?void 0:v._meta,...o.envelope!==void 0&&{envelope:o.envelope},...f!==void 0&&{inputResponses:f.accepted},...f!==void 0&&f.droppedKeys.length>0&&{droppedInputResponseKeys:f.droppedKeys},requestState:o.requestState===void 0?O_:Lu(o.requestState),signal:h.signal,send:((R,T,C)=>{const j=this._resolveOutboundCodec(R.method);if(this._assertOutboundRequestInEra(j,R.method),Vs(T))return m(R,T,C);const L=Vr(j,R.method);if(L===void 0)throw new TypeError(`'${R.method}' is not a spec method; pass a result schema as the second argument to ctx.mcpReq.send().`);return m(R,L,T)}),notify:p},http:t!=null&&t.authInfo?{authInfo:t.authInfo}:void 0},b=this.buildContext(g,t);Promise.resolve().then(()=>l(n,b)).then(async R=>{if(h.signal.aborted)return;let T;try{T=s.encodeResult(n.method,R,this._outboundServerInfo())}catch(j){this._onerror(new Error(`Failed to encode result for ${n.method}: ${j}`)),a(z.InternalError,"Internal error");return}const C={result:T,jsonrpc:"2.0",id:n.id};await(i==null?void 0:i.send(C))},async R=>{if(h.signal.aborted)return;const T=Number.isSafeInteger(R.code)?R.code:z.InternalError,C={jsonrpc:"2.0",id:n.id,error:{code:s.encodeErrorCode(T),message:R.message??"Internal error",...R.data!==void 0&&{data:R.data}}};await(i==null?void 0:i.send(C))}).catch(R=>this._onerror(new Error(`Failed to send response: ${R}`))).finally(()=>{this._requestHandlerAbortControllers.get(n.id)===h&&this._requestHandlerAbortControllers.delete(n.id)})}_onprogress(e){const{progressToken:t,...n}=e.params,o=Number(t),s=this._progressHandlers.get(o);if(!s){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(e)}`));return}const i=this._responseHandlers.get(o),a=this._timeoutInfo.get(o);if(a&&i&&a.resetTimeoutOnProgress)try{this._resetTimeout(o)}catch(l){this._responseHandlers.delete(o),this._progressHandlers.delete(o),this._cleanupTimeout(o),i(l);return}s(n)}_onresponse(e){const t=Number(e.id),n=this._responseHandlers.get(t);if(n===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(e)}`));return}this._responseHandlers.delete(t),this._cleanupTimeout(t),this._progressHandlers.delete(t),Dr(e)?n(e):n(ie.fromError(e.error.code,e.error.message,e.error.data))}get transport(){return this._transport}async close(){var e;await((e=this._transport)==null?void 0:e.close())}request(e,t,n){const o=this._resolveOutboundCodec(e.method);if(Vs(t))return Ur(e.method)||this._assertOutboundRequestInEra(o,e.method),this._requestWithSchemaViaCodec(o,e,t,n);this._assertOutboundRequestInEra(o,e.method);const s=Vr(o,e.method);if(s===void 0)throw new TypeError(`'${e.method}' is not a spec method; pass a result schema as the second argument to request().`);return this._requestWithSchemaViaCodec(o,e,s,t)}_negotiatedWireCodec(){return Ko(this._negotiatedProtocolVersion)}_wireCodec(){return this._negotiatedWireCodec()}_resolveOutboundCodec(e){if(this._negotiatedProtocolVersion===void 0){const t=k_(e);if(t)return t}return this._negotiatedWireCodec()}_assertOutboundRequestInEra(e,t){if(Cs(t)&&!e.hasRequestMethod(t))throw new X(se.MethodNotSupportedByProtocolVersion,`Method '${t}' is not supported by the negotiated protocol version (wire era ${e.era})`,{method:t,era:e.era})}_requestWithSchema(e,t,n){const o=this._resolveOutboundCodec(e.method);return this._assertOutboundRequestInEra(o,e.method),this._requestWithSchemaViaCodec(o,e,t,n)}_requestWithSchemaViaCodec(e,t,n,o){const{relatedRequestId:s,resumptionToken:i,onresumptiontoken:a,headers:l}=o??{},c=Date.now();let p,m;return new Promise((h,f)=>{var Ee,D,M,Y;const g=A=>{f(A)};if(!this._transport){g(new Error("Not connected"));return}if(((Ee=this._options)==null?void 0:Ee.enforceStrictCapabilities)===!0)try{this.assertCapabilityForMethod(t.method)}catch(A){g(A);return}if((D=o==null?void 0:o.signal)!=null&&D.aborted){const A=o.signal.reason;throw A instanceof X?A:new X(se.RequestTimeout,String(A))}const b=e.era===Ou&&this._transport.hasPerRequestStream===!0?new AbortController:void 0,v=this._requestMessageId++;m=v;const R={...t,jsonrpc:"2.0",id:v};o!=null&&o.onprogress&&(this._progressHandlers.set(v,o.onprogress),R.params={...t.params,_meta:{...(M=t.params)==null?void 0:M._meta,progressToken:v}});const T=this._envelopeOutbound(R);let C=!1;const j=A=>{var J;C||(this._progressHandlers.delete(v),b===void 0?t.method!=="initialize"&&((J=this._transport)==null||J.send(this._envelopeOutbound({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:v,reason:String(A)}}),{relatedRequestId:s,resumptionToken:i,onresumptiontoken:a}).catch(me=>this._onerror(new Error(`Failed to send cancellation: ${me}`)))):b.abort(),f(A instanceof X?A:new X(se.RequestTimeout,String(A))))};this._responseHandlers.set(v,A=>{var we;if((we=o==null?void 0:o.signal)!=null&&we.aborted)return;if(C=!0,A instanceof Error)return f(A);let J;try{J=e.decodeResult(t.method,A.result)}catch(Q){return f(Q instanceof Error?Q:new Error(String(Q)))}if(J.kind==="invalid")return f(J.error);if(J.kind==="input_required"){if((o==null?void 0:o.allowInputRequired)===!0)return h(N_(J));const Q={codec:e,request:t,resultSchema:n,options:o,flowStartedAt:c,retry:(he,ze)=>this._requestWithSchemaViaCodec(e,he===void 0?{method:t.method}:{method:t.method,params:he},n,ze)};return h(this._resolveNonCompleteResult(J,Q))}const me=J.result;Os(n,me).then(Q=>{Q.success?h(Q.data):f(new X(se.InvalidResult,`Invalid result for ${t.method}: ${Q.error}`))},f)}),p=()=>{var A;return j((A=o==null?void 0:o.signal)==null?void 0:A.reason)},(Y=o==null?void 0:o.signal)==null||Y.addEventListener("abort",p,{once:!0});const L=(o==null?void 0:o.timeout)??C_,Re=()=>j(new X(se.RequestTimeout,"Request timed out",{timeout:L}));this._setupTimeout(v,L,o==null?void 0:o.maxTotalTimeout,Re,(o==null?void 0:o.resetTimeoutOnProgress)??!1),this._transport.send(T,{relatedRequestId:s,resumptionToken:i,onresumptiontoken:a,headers:l,requestSignal:b==null?void 0:b.signal}).catch(A=>{this._progressHandlers.delete(v),f(A)})}).finally(()=>{var h;p&&((h=o==null?void 0:o.signal)==null||h.removeEventListener("abort",p)),m!==void 0&&(this._responseHandlers.delete(m),this._cleanupTimeout(m))})}async notification(e,t){return await this._notificationViaCodec(this._resolveOutboundCodec(e.method),e,t)}async _notificationViaCodec(e,t,n){var s;if(!this._transport)throw new X(se.NotConnected,"Not connected");if($s(t.method)&&!e.hasNotificationMethod(t.method))throw new X(se.MethodNotSupportedByProtocolVersion,`Notification '${t.method}' is not supported by the negotiated protocol version (wire era ${e.era})`,{method:t.method,era:e.era});this.assertNotificationCapability(t.method);const o=this._envelopeOutbound({jsonrpc:"2.0",...t});if((((s=this._options)==null?void 0:s.debouncedNotificationMethods)??[]).includes(t.method)&&!t.params&&(n==null?void 0:n.relatedRequestId)===void 0){if(this._pendingDebouncedNotifications.has(t.method))return;this._pendingDebouncedNotifications.add(t.method),Promise.resolve().then(()=>{var i;this._pendingDebouncedNotifications.delete(t.method),this._transport&&((i=this._transport)==null||i.send(o,n).catch(a=>this._onerror(a)))});return}await this._transport.send(o,n)}setRequestHandler(e,t,n){this.assertRequestHandlerCapability(e);let o;if(typeof t=="function"){if(!Cs(e))throw new TypeError(`'${e}' is not a spec request method; pass schemas as the second argument to setRequestHandler().`);o=(s,i)=>{const a=this._negotiatedWireCodec();let l=a.validateRequest(e,s);if(!l.ok&&l.reason==="not-in-era"&&(l=a.validateInputRequest(e,s)),!l.ok)throw l.reason==="not-in-era"?new ie(z.InternalError,`No wire schema for ${e} in the resolved era`):new Error(l.message);return Promise.resolve(t(l.value,i))}}else if(n)o=async(s,i)=>{const a=await Os(t.params,{...s.params});if(!a.success)throw new ie(z.InvalidParams,`Invalid params for ${e}: ${a.error}`);return n(a.data,i)};else throw new TypeError("setRequestHandler: handler is required");typeof t=="function"?this._customSchemaRequestMethods.delete(e):this._customSchemaRequestMethods.add(e),this._requestHandlers.set(e,this._wrapHandler(e,o))}_wrapHandler(e,t){return t}_outboundServerInfo(){}removeRequestHandler(e){this._requestHandlers.delete(e),this._customSchemaRequestMethods.delete(e)}assertCanSetRequestHandler(e){if(this._requestHandlers.has(e))throw new Error(`A request handler for ${e} already exists, which would be overridden`)}setNotificationHandler(e,t,n){if(typeof t=="function"){if(!$s(e))throw new TypeError(`'${e}' is not a spec notification method; pass schemas as the second argument to setNotificationHandler().`);this._notificationHandlers.set(e,(o,s)=>{const i=s.validateNotification(e,o);if(!i.ok)throw i.reason==="not-in-era"?new ie(z.InternalError,`No wire schema for ${e} in the resolved era`):new Error(i.message);return Promise.resolve(t(i.value))});return}if(!n)throw new TypeError("setNotificationHandler: handler is required");this._notificationHandlers.set(e,async o=>{const s=await Os(t.params,{...o.params});if(!s.success)throw new ie(z.InvalidParams,`Invalid params for notification ${e}: ${s.error}`);await n(s.data,o)})}removeNotificationHandler(e){this._notificationHandlers.delete(e)}};function qs(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function Br(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function I_(e){const t={},n=[];if(!Br(e))return{accepted:t,droppedKeys:n};for(const[o,s]of Object.entries(e)){if(!Br(s)||"method"in s||"result"in s){n.push(o);continue}t[o]=s}return{accepted:t,droppedKeys:n}}function N_(e){return{resultType:"input_required",inputRequests:e.inputRequests,...e.requestState!==void 0&&{requestState:e.requestState},...e._meta!==void 0&&{_meta:e._meta}}}/*!
65
+ * content-type
66
+ * Copyright(c) 2015 Douglas Christopher Wilson
67
+ * MIT Licensed
68
+ */var z_=Qu((e=>{var t=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,n=/\\([\u000b\u0020-\u00ff])/g,o=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;e.parse=s;function s(l){if(!l)throw new TypeError("argument string is required");var c=typeof l=="object"?i(l):l;if(typeof c!="string")throw new TypeError("argument string is required to be a string");var p=c.indexOf(";"),m=p!==-1?c.slice(0,p).trim():c.trim();if(!o.test(m))throw new TypeError("invalid media type");var h=new a(m.toLowerCase());if(p!==-1){var f,g,b;for(t.lastIndex=p;g=t.exec(c);){if(g.index!==p)throw new TypeError("invalid parameter format");p+=g[0].length,f=g[1].toLowerCase(),b=g[2],b.charCodeAt(0)===34&&(b=b.slice(1,-1),b.indexOf("\\")!==-1&&(b=b.replace(n,"$1"))),h.parameters[f]=b}if(p!==c.length)throw new TypeError("invalid parameter format")}return h}function i(l){var c;if(typeof l.getHeader=="function"?c=l.getHeader("content-type"):typeof l.headers=="object"&&(c=l.headers&&l.headers["content-type"]),typeof c!="string")throw new TypeError("content-type header is missing from object");return c}function a(l){this.parameters=Object.create(null),this.type=l}}));z_();typeof self<"u"&&self.location&&self.location.origin!=="null"?new URL(self.location.origin+self.location.pathname+location.search):new URL("https://github.com/cfworker");const x_=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,M_=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,L_=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-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d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i;function Ie(e){return e.test.bind(e)}V_.bind(void 0,!1),Ie(L_),Ie(A_),Ie(j_),Ie(M_),Ie(F_),Ie(J_),Ie(Z_),Ie(U_),Ie(D_),Ie(H_);function V_(e,t){const n=t.match(x_);if(!n)return!1;const o=+n[1],s=+n[2],i=+n[3],a=!!n[5];return(o<=23&&s<=59&&i<=59||o==23&&s==59&&i==60)&&(!e||a)}class B_{constructor(){I(this,"_eventSlots",new Map)}setHandler(t,n){let o=this._ensureEventSlot(t);o.onHandler&&n&&console.warn(`[MCP Apps] on${String(t)} handler replaced. Use addEventListener("${String(t)}", …) to add multiple listeners without replacing.`),o.onHandler=n}getHandler(t){var n;return(n=this._eventSlots.get(t))==null?void 0:n.onHandler}addEventListener(t,n){this._ensureEventSlot(t).listeners.push(n)}removeEventListener(t,n){let o=this._eventSlots.get(t);if(!o)return;let s=o.listeners.indexOf(n);s!==-1&&o.listeners.splice(s,1)}dispatch(t,n){var s;let o=this._eventSlots.get(t);if(o){(s=o.onHandler)==null||s.call(o,n);for(let i of[...o.listeners])i(n)}}_ensureEventSlot(t){let n=this._eventSlots.get(t);return n||(n={listeners:[]},this._eventSlots.set(t,n)),n}}class K_{constructor(){I(this,"_methods",new Set)}claim(t,n){if(this._methods.has(t))throw Error(`Handler for "${t}" already registered (via ${n}). Use addEventListener() to attach multiple listeners, or the on* setter for replace semantics.`);this._methods.add(t)}replace(t){this._methods.add(t)}release(t){this._methods.delete(t)}has(t){return this._methods.has(t)}}var Kr=new Set;function Wr(e,t){var c;let[n,o]=t,s=n==null?void 0:n.shape;if(typeof((c=s==null?void 0:s.method)==null?void 0:c.value)!="string")return;let i=s.method.value,a=e==="request"?"setRequestHandler":"setNotificationHandler";Kr.has(a)||(Kr.add(a),console.warn(`[ext-apps] ${a}(Schema, handler) is deprecated; use ${a}("${i}", { params: Schema.shape.params }, handler).`));let l=o;return[i,{params:s.params},e==="request"?(p,m)=>l({method:i,params:p},W_(m)):p=>l({method:i,params:p})]}function W_(e){var t;return{signal:e.mcpReq.signal,requestId:e.mcpReq.id,sessionId:e.sessionId,_meta:e.mcpReq._meta,sendRequest:e.mcpReq.send,sendNotification:e.mcpReq.notify,authInfo:(t=e.http)==null?void 0:t.authInfo}}var G_="2026-01-26",Y_="ui/notifications/tool-input-partial";class Q_{constructor(t=window.parent,n){I(this,"eventTarget");I(this,"eventSource");I(this,"messageListener");I(this,"onclose");I(this,"onerror");I(this,"onmessage");I(this,"sessionId");I(this,"setProtocolVersion");this.eventTarget=t,this.eventSource=n,this.messageListener=o=>{var i,a,l;if(n&&o.source!==this.eventSource){console.debug("Ignoring message from unknown source",o);return}let s=Nc.safeParse(o.data);s.success?(console.debug("Parsed message",s.data),(i=this.onmessage)==null||i.call(this,s.data)):((a=o.data)==null?void 0:a.jsonrpc)!=="2.0"?console.debug("Ignoring non-JSON-RPC message",s.error.message,o):(console.error("Failed to parse message",s.error.message,o),(l=this.onerror)==null||l.call(this,Error("Invalid JSON-RPC message received: "+s.error.message)))}}async start(){window.addEventListener("message",this.messageListener)}async send(t,n){t.method!==Y_&&console.debug("Sending message",t),this.eventTarget.postMessage(t,"*")}async close(){var t;window.removeEventListener("message",this.messageListener),(t=this.onclose)==null||t.call(this)}}var X_=P([d("light"),d("dark")]).describe("Color theme preference for the host environment."),ro=P([d("inline"),d("fullscreen"),d("pip")]).describe("Display mode for UI presentation."),eb=P([d("--color-background-primary"),d("--color-background-secondary"),d("--color-background-tertiary"),d("--color-background-inverse"),d("--color-background-ghost"),d("--color-background-info"),d("--color-background-danger"),d("--color-background-success"),d("--color-background-warning"),d("--color-background-disabled"),d("--color-text-primary"),d("--color-text-secondary"),d("--color-text-tertiary"),d("--color-text-inverse"),d("--color-text-ghost"),d("--color-text-info"),d("--color-text-danger"),d("--color-text-success"),d("--color-text-warning"),d("--color-text-disabled"),d("--color-border-primary"),d("--color-border-secondary"),d("--color-border-tertiary"),d("--color-border-inverse"),d("--color-border-ghost"),d("--color-border-info"),d("--color-border-danger"),d("--color-border-success"),d("--color-border-warning"),d("--color-border-disabled"),d("--color-ring-primary"),d("--color-ring-secondary"),d("--color-ring-inverse"),d("--color-ring-info"),d("--color-ring-danger"),d("--color-ring-success"),d("--color-ring-warning"),d("--font-sans"),d("--font-mono"),d("--font-weight-normal"),d("--font-weight-medium"),d("--font-weight-semibold"),d("--font-weight-bold"),d("--font-text-xs-size"),d("--font-text-sm-size"),d("--font-text-md-size"),d("--font-text-lg-size"),d("--font-heading-xs-size"),d("--font-heading-sm-size"),d("--font-heading-md-size"),d("--font-heading-lg-size"),d("--font-heading-xl-size"),d("--font-heading-2xl-size"),d("--font-heading-3xl-size"),d("--font-text-xs-line-height"),d("--font-text-sm-line-height"),d("--font-text-md-line-height"),d("--font-text-lg-line-height"),d("--font-heading-xs-line-height"),d("--font-heading-sm-line-height"),d("--font-heading-md-line-height"),d("--font-heading-lg-line-height"),d("--font-heading-xl-line-height"),d("--font-heading-2xl-line-height"),d("--font-heading-3xl-line-height"),d("--border-radius-xs"),d("--border-radius-sm"),d("--border-radius-md"),d("--border-radius-lg"),d("--border-radius-xl"),d("--border-radius-full"),d("--border-width-regular"),d("--shadow-hairline"),d("--shadow-sm"),d("--shadow-md"),d("--shadow-lg")]).describe("CSS variable keys available to MCP apps for theming."),tb=w(eb.describe(`Style variables for theming MCP apps.
69
+
70
+ Individual style keys are optional - hosts may provide any subset of these values.
71
+ Values are strings containing CSS values (colors, sizes, font stacks, etc.).
72
+
73
+ Note: This type uses \`Record<K, string | undefined>\` rather than \`Partial<Record<K, string>>\`
74
+ for compatibility with Zod schema generation. Both are functionally equivalent for validation.`),P([r(),Us()]).describe(`Style variables for theming MCP apps.
75
+
76
+ Individual style keys are optional - hosts may provide any subset of these values.
77
+ Values are strings containing CSS values (colors, sizes, font stacks, etc.).
78
+
79
+ Note: This type uses \`Record<K, string | undefined>\` rather than \`Partial<Record<K, string>>\`
80
+ for compatibility with Zod schema generation. Both are functionally equivalent for validation.`)).describe(`Style variables for theming MCP apps.
81
+
82
+ Individual style keys are optional - hosts may provide any subset of these values.
83
+ Values are strings containing CSS values (colors, sizes, font stacks, etc.).
84
+
85
+ Note: This type uses \`Record<K, string | undefined>\` rather than \`Partial<Record<K, string>>\`
86
+ for compatibility with Zod schema generation. Both are functionally equivalent for validation.`);u({method:d("ui/open-link"),params:u({url:r().describe("URL to open in the host's browser")})});var nb=u({isError:k().optional().describe("True if the host failed to open the URL (e.g., due to security policy).")}).passthrough(),ob=u({isError:k().optional().describe("True if the download failed (e.g., user cancelled or host denied).")}).passthrough(),sb=u({isError:k().optional().describe("True if the host rejected or failed to deliver the message.")}).passthrough();u({method:d("ui/notifications/sandbox-proxy-ready"),params:u({})});var Wi=u({connectDomains:S(r()).optional().describe(`Origins for network requests (fetch/XHR/WebSocket).
87
+
88
+ - Maps to CSP \`connect-src\` directive
89
+ - Empty or omitted → no network connections (secure default)`),resourceDomains:S(r()).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:S(r()).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:S(r()).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'`)")}),Gi=u({camera:u({}).optional().describe("Request camera access.\n\nMaps to Permission Policy `camera` feature."),microphone:u({}).optional().describe("Request microphone access.\n\nMaps to Permission Policy `microphone` feature."),geolocation:u({}).optional().describe("Request geolocation access.\n\nMaps to Permission Policy `geolocation` feature."),clipboardWrite:u({}).optional().describe("Request clipboard write access.\n\nMaps to Permission Policy `clipboard-write` feature.")});u({method:d("ui/notifications/size-changed"),params:u({width:y().optional().describe("New width in pixels."),height:y().optional().describe("New height in pixels.")})});var ib=u({method:d("ui/notifications/tool-input"),params:u({arguments:w(r(),$().describe("Complete tool call arguments as key-value pairs.")).optional().describe("Complete tool call arguments as key-value pairs.")})}),rb=u({method:d("ui/notifications/tool-input-partial"),params:u({arguments:w(r(),$().describe("Partial tool call arguments (incomplete, may change).")).optional().describe("Partial tool call arguments (incomplete, may change).")})}),ab=u({method:d("ui/notifications/tool-cancelled"),params:u({reason:r().optional().describe('Optional reason for the cancellation (e.g., "user action", "timeout").')})}),cb=u({fonts:r().optional()}),lb=u({variables:tb.optional().describe("CSS variables for theming the app."),css:cb.optional().describe("CSS blocks that apps can inject.")}),ub=u({method:d("ui/resource-teardown"),params:u({})}),db=w(r(),$()),Gr=u({text:u({}).optional().describe("Host supports text content blocks."),image:u({}).optional().describe("Host supports image content blocks."),audio:u({}).optional().describe("Host supports audio content blocks."),resource:u({}).optional().describe("Host supports resource content blocks."),resourceLink:u({}).optional().describe("Host supports resource link content blocks."),structuredContent:u({}).optional().describe("Host supports structured content.")});u({method:d("ui/notifications/request-teardown"),params:u({}).optional()});var pb=u({experimental:w(r(),w(r(),hi()).describe("Experimental features keyed by identifier.")).optional().describe("Experimental features keyed by identifier."),openLinks:u({}).optional().describe("Host supports opening external URLs."),downloadFile:u({}).optional().describe("Host supports file downloads via ui/download-file."),serverTools:u({listChanged:k().optional().describe("Host supports tools/list_changed notifications.")}).optional().describe("Host can proxy tool calls to the MCP server."),serverResources:u({listChanged:k().optional().describe("Host supports resources/list_changed notifications.")}).optional().describe("Host can proxy resource reads to the MCP server."),logging:u({}).optional().describe("Host accepts log messages."),sandbox:u({permissions:Gi.optional().describe("Permissions granted by the host (camera, microphone, geolocation)."),csp:Wi.optional().describe("CSP domains approved by the host.")}).optional().describe("Sandbox configuration applied by the host."),updateModelContext:Gr.optional().describe("Host accepts context updates (ui/update-model-context) to be included in the model's context for future turns."),message:Gr.optional().describe("Host supports receiving content messages (ui/message) from the view."),sampling:u({tools:u({}).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.")}),mb=u({experimental:w(r(),w(r(),hi()).describe("Experimental features keyed by identifier.")).optional().describe("Experimental features keyed by identifier."),tools:u({listChanged:k().optional().describe("App supports tools/list_changed notifications.")}).optional().describe("App exposes MCP-style tools that the host can call."),availableDisplayModes:S(ro).optional().describe("Display modes the app supports.")});u({method:d("ui/notifications/initialized"),params:u({}).optional()});u({csp:Wi.optional().describe("Content Security Policy configuration for UI resources."),permissions:Gi.optional().describe("Sandbox permissions requested by the UI resource."),domain:r().optional().describe(`Dedicated origin for view sandbox.
90
+
91
+ Useful when views need stable, dedicated origins for OAuth callbacks, CORS policies, or API key allowlists.
92
+
93
+ **Host-dependent:** The format and validation rules for this field are determined by each host. Servers MUST consult host-specific documentation for the expected domain format. Common patterns include:
94
+ - Hash-based subdomains (e.g., \`{hash}.claudemcpcontent.com\`)
95
+ - URL-derived subdomains (e.g., \`www-example-com.oaiusercontent.com\`)
96
+
97
+ If omitted, host uses default sandbox origin (typically per-conversation).`),prefersBorder:k().optional().describe(`Visual boundary preference - true if view prefers a visible border.
98
+
99
+ Boolean requesting whether a visible border and background is provided by the host. Specifying an explicit value for this is recommended because hosts' defaults may vary.
100
+
101
+ - \`true\`: request visible border + background
102
+ - \`false\`: request no visible border + background
103
+ - omitted: host decides border`)});u({method:d("ui/request-display-mode"),params:u({mode:ro.describe("The display mode being requested.")})});var hb=u({mode:ro.describe("The display mode that was actually set. May differ from requested if not supported.")}).passthrough(),fb=P([d("model"),d("app")]).describe("Tool visibility scope - who can access the tool.");u({resourceUri:r().optional(),visibility:S(fb).optional().describe(`Who can access this tool. Default: ["model", "app"]
104
+ - "model": Tool visible to and callable by the agent
105
+ - "app": Tool callable by the app from this server only`),csp:Ds().optional(),permissions:Ds().optional()});u({mimeTypes:S(r()).optional().describe('Array of supported MIME types for UI resources.\nMust include `"text/html;profile=mcp-app"` for MCP Apps support.')});u({method:d("ui/download-file"),params:u({contents:S(P([zi,xi])).describe("Resource contents to download — embedded (inline data) or linked (host fetches). Uses standard MCP resource types.")})});u({method:d("ui/message"),params:u({role:d("user").describe('Message role, currently only "user" is supported.'),content:S(Kt).describe("Message content blocks (text, image, etc.).")})});u({method:d("ui/notifications/sandbox-resource-ready"),params:u({html:r().describe("HTML content to load into the inner iframe."),sandbox:r().optional().describe("Optional override for the inner iframe's sandbox attribute."),csp:Wi.optional().describe("CSP configuration from resource metadata."),permissions:Gi.optional().describe("Sandbox permissions from resource metadata.")})});var Sb=u({method:d("ui/notifications/tool-result"),params:hs.describe("Standard MCP tool execution result.")}),Au=u({toolInfo:u({id:mt.optional().describe("JSON-RPC id of the tools/call request."),tool:ms.describe("Tool definition including name, inputSchema, etc.")}).optional().describe("Metadata of the tool call that instantiated this App."),theme:X_.optional().describe("Current color theme preference."),styles:lb.optional().describe("Style configuration for theming the app."),displayMode:ro.optional().describe("How the UI is currently displayed."),availableDisplayModes:S(ro).optional().describe("Display modes the host supports."),containerDimensions:P([u({height:y().describe("Fixed container height in pixels.")}),u({maxHeight:P([y(),Us()]).optional().describe("Maximum container height in pixels.")})]).and(P([u({width:y().describe("Fixed container width in pixels.")}),u({maxWidth:P([y(),Us()]).optional().describe("Maximum container width in pixels.")})])).optional().describe(`Container dimensions. Represents the dimensions of the iframe or other
106
+ container holding the app. Specify either width or maxWidth, and either height or maxHeight.`),locale:r().optional().describe("User's language and region preference in BCP 47 format."),timeZone:r().optional().describe("User's timezone in IANA format."),userAgent:r().optional().describe("Host application identifier."),platform:P([d("web"),d("desktop"),d("mobile")]).optional().describe("Platform type for responsive design decisions."),deviceCapabilities:u({touch:k().optional().describe("Whether the device supports touch input."),hover:k().optional().describe("Whether the device supports hover interactions.")}).optional().describe("Device input capabilities."),safeAreaInsets:u({top:y().describe("Top safe area inset in pixels."),right:y().describe("Right safe area inset in pixels."),bottom:y().describe("Bottom safe area inset in pixels."),left:y().describe("Left safe area inset in pixels.")}).optional().describe("Mobile safe area boundaries in pixels.")}).passthrough(),gb=u({method:d("ui/notifications/host-context-changed"),params:Au.describe("Partial context update containing only changed fields.")});u({method:d("ui/update-model-context"),params:u({content:S(Kt).optional().describe("Context content blocks (text, image, etc.)."),structuredContent:w(r(),$().describe("Structured content for machine-readable context data.")).optional().describe("Structured content for machine-readable context data.")})});u({method:d("ui/initialize"),params:u({appInfo:Ft.describe("App identification (name and version)."),appCapabilities:mb.describe("Features and capabilities this app provides."),protocolVersion:r().describe("Protocol version this app supports.")})});var _b=u({protocolVersion:r().describe('Negotiated protocol version string (e.g., "2025-11-21").'),hostInfo:Ft.describe("Host application identification and version."),hostCapabilities:pb.describe("Features and capabilities provided by the host."),hostContext:Au.describe("Rich context about the host environment.")}).passthrough(),bb={target:"draft-2020-12"};async function Yr(e,t){let n=e["~standard"];if(n.jsonSchema)return n.jsonSchema[t](bb);throw Error(`Schema (vendor: ${n.vendor}) does not implement Standard JSON Schema (~standard.jsonSchema). Use a library that does (zod v4, ArkType, Valibot) or wrap your schema accordingly.`)}async function Qr(e,t,n=""){let o=await e["~standard"].validate(t);if(o.issues){let s=o.issues.map(i=>{var l;let a=(l=i.path)==null?void 0:l.map(c=>typeof c=="object"?c.key:c).join(".");return a?`${a}: ${i.message}`:i.message}).join("; ");throw Error(n+s)}return o.value}function yb(e,t){let n={...e,...t};return t.experimental!==void 0&&(n.experimental={...e.experimental,...t.experimental}),t.tools!==void 0&&(n.tools={...e.tools,...t.tools}),n}const Go=class Go extends q_{constructor(n,o={},s={autoResize:!0}){super(s);I(this,"_appInfo");I(this,"_appCapabilities");I(this,"options");I(this,"_hostCapabilities");I(this,"_hostInfo");I(this,"_hostContext");I(this,"_registeredTools",{});I(this,"_initializedSent",!1);I(this,"_registeredEvents",new Set);I(this,"_events",new B_);I(this,"_methods",new K_);I(this,"setRequestHandler",(...n)=>{let[o,...s]=Wr("request",n)??n;this._methods.claim(o,"setRequestHandler"),super.setRequestHandler.call(this,o,...s)});I(this,"setNotificationHandler",(...n)=>{let[o,...s]=Wr("notification",n)??n;this._methods.claim(o,"setNotificationHandler"),super.setNotificationHandler.call(this,o,...s)});I(this,"removeRequestHandler",n=>{this._methods.release(n),super.removeRequestHandler(n)});I(this,"removeNotificationHandler",n=>{this._methods.release(n),super.removeNotificationHandler(n)});I(this,"replaceRequestHandler",(n,...o)=>{this._methods.replace(n),super.setRequestHandler.call(this,n,...o)});I(this,"eventSchemas",{toolinput:ib,toolinputpartial:rb,toolresult:Sb,toolcancelled:ab,hostcontextchanged:gb});I(this,"_everHadListener",new Set);I(this,"_toolHandlersInitialized",!1);I(this,"_onteardown");I(this,"_oncalltool");I(this,"_onlisttools");I(this,"sendOpenLink",this.openLink);this._appInfo=n,this._appCapabilities=o,this.options=s,this._methods.replace("notifications/cancelled"),this._methods.replace("notifications/progress"),!s.allowUnsafeEval&&$e({jitless:!0}),this.replaceRequestHandler("ping",i=>(console.log("Received ping:",i.params),{})),this.setEventHandler("hostcontextchanged",void 0)}_assertInitialized(n){var s;if(this._initializedSent)return;let o=`[ext-apps] App.${n}() called before connect() completed the ui/initialize handshake. Await app.connect() before calling this method, or move data loading to an ontoolresult handler.`;if((s=this.options)!=null&&s.strict)throw Error(o);console.warn(`${o}. This will throw in a future release.`)}_assertHandlerTiming(n){var s;if(!Go.ONE_SHOT_EVENTS.has(n)||this._everHadListener.has(n)||(this._everHadListener.add(n),!this._initializedSent))return;let o=`[ext-apps] "${String(n)}" handler registered after connect() completed the ui/initialize handshake. The host may have already sent this notification. Register handlers before calling app.connect().`;if((s=this.options)!=null&&s.strict)throw Error(o);console.warn(o)}setEventHandler(n,o){o&&this._assertHandlerTiming(n),this._ensureEventSlot(n),this._events.setHandler(n,o)}addEventListener(n,o){this._assertHandlerTiming(n),this._ensureEventSlot(n),this._events.addEventListener(n,o)}removeEventListener(n,o){this._events.removeEventListener(n,o)}_ensureEventSlot(n){if(this._registeredEvents.has(n))return;let o=this.eventSchemas[n];if(!o)throw Error(`Unknown event: ${String(n)}`);this.setNotificationHandler(o.shape.method.value,{params:o.shape.params},s=>{let i=s;n==="hostcontextchanged"&&(this._hostContext={...this._hostContext,...i}),this._events.dispatch(n,i)}),this._registeredEvents.add(n)}getEventHandler(n){return this._events.getHandler(n)}warnIfRequestHandlerReplaced(n,o,s){o&&s&&console.warn(`[MCP Apps] ${n} handler replaced. Previous handler will no longer be called.`)}buildContext(n){return n}registerAppCapabilities(n){if(this.transport)throw Error("Cannot register capabilities after transport is established");this._appCapabilities=yb(this._appCapabilities,n)}registerTool(n,o,s){if(this._registeredTools[n])throw Error(`Tool ${n} is already registered`);let i=this,a=()=>{var p;i._initializedSent&&((p=i._appCapabilities.tools)!=null&&p.listChanged)&&i.sendToolListChanged()},l=o.inputSchema!==void 0,c={title:o.title,description:o.description,inputSchema:o.inputSchema,outputSchema:o.outputSchema,annotations:o.annotations,_meta:o._meta,enabled:!0,enable(){this.enabled=!0,a()},disable(){this.enabled=!1,a()},update(p){Object.assign(this,p),a()},remove(){i._registeredTools[n]===c&&(delete i._registeredTools[n],a())},handler:async(p,m)=>{if(!c.enabled)throw Error(`Tool ${n} is disabled`);let h;if(l){let f=c.inputSchema,g=f?await Qr(f,p??{},`Invalid input for tool ${n}: `):p??{};h=await s(g,m)}else h=await s(m);return c.outputSchema&&!h.isError&&(h.structuredContent=await Qr(c.outputSchema,h.structuredContent,`Invalid output for tool ${n}: `)),h}};return this._registeredTools[n]=c,!this._appCapabilities.tools&&!this.transport&&this.registerAppCapabilities({tools:{listChanged:!0}}),this.ensureToolHandlersInitialized(),a(),c}ensureToolHandlersInitialized(){this._toolHandlersInitialized||(this._toolHandlersInitialized=!0,this.oncalltool=async(n,o)=>{let s=this._registeredTools[n.name];if(!s)throw Error(`Tool ${n.name} not found`);return s.handler(n.arguments,o)},this.onlisttools=async(n,o)=>({tools:await Promise.all(Object.entries(this._registeredTools).filter(([s,i])=>i.enabled).map(async([s,i])=>{let a={name:s,title:i.title,description:i.description,inputSchema:i.inputSchema?await Yr(i.inputSchema,"input"):{type:"object",properties:{}}};return i.outputSchema&&(a.outputSchema=await Yr(i.outputSchema,"output")),i.annotations&&(a.annotations=i.annotations),i._meta&&(a._meta=i._meta),a}))}))}async sendToolListChanged(n={}){this._assertInitialized("sendToolListChanged"),await this.notification({method:"notifications/tools/list_changed",params:n})}getHostCapabilities(){return this._hostCapabilities}getHostVersion(){return this._hostInfo}getHostContext(){return this._hostContext}get ontoolinput(){return this.getEventHandler("toolinput")}set ontoolinput(n){this.setEventHandler("toolinput",n)}get ontoolinputpartial(){return this.getEventHandler("toolinputpartial")}set ontoolinputpartial(n){this.setEventHandler("toolinputpartial",n)}get ontoolresult(){return this.getEventHandler("toolresult")}set ontoolresult(n){this.setEventHandler("toolresult",n)}get ontoolcancelled(){return this.getEventHandler("toolcancelled")}set ontoolcancelled(n){this.setEventHandler("toolcancelled",n)}get onhostcontextchanged(){return this.getEventHandler("hostcontextchanged")}set onhostcontextchanged(n){this.setEventHandler("hostcontextchanged",n)}get onteardown(){return this._onteardown}set onteardown(n){this.warnIfRequestHandlerReplaced("onteardown",this._onteardown,n),this._onteardown=n,this.replaceRequestHandler("ui/resource-teardown",{params:ub.shape.params,result:db},(o,s)=>{if(!this._onteardown)throw Error("No onteardown handler set");return this._onteardown(o,s)})}get oncalltool(){return this._oncalltool}set oncalltool(n){this.warnIfRequestHandlerReplaced("oncalltool",this._oncalltool,n),this._oncalltool=n,this.replaceRequestHandler("tools/call",(o,s)=>{if(!this._oncalltool)throw Error("No oncalltool handler set");return this._oncalltool(o.params,s)})}get onlisttools(){return this._onlisttools}set onlisttools(n){this.warnIfRequestHandlerReplaced("onlisttools",this._onlisttools,n),this._onlisttools=n,this.replaceRequestHandler("tools/list",(o,s)=>{if(!this._onlisttools)throw Error("No onlisttools handler set");return this._onlisttools(o.params,s)})}assertCapabilityForMethod(n){var o;switch(n){case"sampling/createMessage":if(!((o=this._hostCapabilities)!=null&&o.sampling))throw Error(`Host does not support sampling (required for ${n})`);break}}assertRequestHandlerCapability(n){switch(n){case"tools/call":case"tools/list":if(!this._appCapabilities.tools)throw Error(`Client does not support tool capability (required for ${n})`);return;default:return}}assertNotificationCapability(n){}async callServerTool(n,o){if(this._assertInitialized("callServerTool"),typeof n=="string")throw Error(`callServerTool() expects an object as its first argument, but received a string ("${n}"). Did you mean: callServerTool({ name: "${n}", arguments: { ... } })?`);return await this.request({method:"tools/call",params:n},{onprogress:()=>{},resetTimeoutOnProgress:!0,...o})}async readServerResource(n,o){return this._assertInitialized("readServerResource"),await this.request({method:"resources/read",params:n},o)}async listServerResources(n,o){return this._assertInitialized("listServerResources"),await this.request({method:"resources/list",params:n},o)}async createSamplingMessage(n,o){return this._assertInitialized("createSamplingMessage"),await this.request({method:"sampling/createMessage",params:n},o)}sendMessage(n,o){return this._assertInitialized("sendMessage"),this.request({method:"ui/message",params:n},sb,o)}sendLog(n){return this.notification({method:"notifications/message",params:n})}updateModelContext(n,o){return this._assertInitialized("updateModelContext"),this.request({method:"ui/update-model-context",params:n},cs,o)}openLink(n,o){return this._assertInitialized("openLink"),this.request({method:"ui/open-link",params:n},nb,o)}downloadFile(n,o){return this._assertInitialized("downloadFile"),this.request({method:"ui/download-file",params:n},ob,o)}requestTeardown(n={}){return this.notification({method:"ui/notifications/request-teardown",params:n})}requestDisplayMode(n,o){return this._assertInitialized("requestDisplayMode"),this.request({method:"ui/request-display-mode",params:n},hb,o)}sendSizeChanged(n){return this.notification({method:"ui/notifications/size-changed",params:n})}setupSizeChangedNotifications(){let n=!1,o=0,s=0,i=()=>{n||(n=!0,requestAnimationFrame(()=>{n=!1;let l=document.documentElement,c=l.style.height;l.style.height="max-content";let p=Math.ceil(l.getBoundingClientRect().height);l.style.height=c;let m=Math.ceil(window.innerWidth);(m!==o||p!==s)&&(o=m,s=p,this.sendSizeChanged({width:m,height:p}))}))};i();let a=new ResizeObserver(i);return a.observe(document.documentElement),a.observe(document.body),()=>a.disconnect()}async connect(n=new Q_(window.parent,window.parent),o){var s;if(this.transport)throw Error("App is already connected. Call close() before connecting again.");this._initializedSent=!1;try{await super.connect(n);let i=await this.request({method:"ui/initialize",params:{appCapabilities:this._appCapabilities,appInfo:this._appInfo,protocolVersion:G_}},_b,o);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,(s=this.options)!=null&&s.autoResize&&this.setupSizeChangedNotifications()}catch(i){throw this.close(),i}}};I(Go,"ONE_SHOT_EVENTS",new Set(["toolinput","toolinputpartial","toolresult","toolcancelled"]));let Ws=Go;const be=e=>document.getElementById(e);function Xr(e){const t=e?e==="dark":matchMedia("(prefers-color-scheme: dark)").matches;document.documentElement.dataset.theme=t?"dark":"light"}function ju(e){var n,o;const t=((o=(n=e.content)==null?void 0:n.find(s=>s.type==="text"))==null?void 0:o.text)??"";if(e.isError)return{value:null,error:t||"Something went wrong."};if(e.structuredContent&&typeof e.structuredContent=="object")return{value:e.structuredContent,error:null};try{return{value:JSON.parse(t),error:null}}catch{return{value:null,error:t||"Something went wrong."}}}function vb(e,t,n){const o=new Ws({name:e,version:"1.0.0"}),s=be("root"),i=a=>{if(Xr(a.theme),a.safeAreaInsets){const l=a.safeAreaInsets;s.style.padding=`${l.top}px ${l.right}px ${l.bottom}px ${l.left}px`}s.classList.toggle("fullscreen",a.displayMode==="fullscreen")};return o.onerror=console.error,o.onhostcontextchanged=i,o.ontoolresult=t,Xr(void 0),o.connect().then(()=>{const a=o.getHostContext();a&&i(a),n==null||n()}),o}async function Zu(e,t,n={}){try{return ju(await e.callServerTool({name:t,arguments:n}))}catch(o){return{value:null,error:o.message}}}function Rb(e,t,n){e.className="status"+(n==="active"?" live active":n?` ${n}`:""),e.querySelector("span").textContent=t}function wb(e,t){e.replaceChildren(...t.flatMap(([n,o])=>{const s=document.createElement("dt");s.textContent=n;const i=document.createElement("dd");return i.textContent=o,[s,i]}))}const Tb=be("meta"),Pb=be("status"),kb=be("setup"),Cb=be("steps"),ea=be("summary"),Uu=be("message"),$b=be("message-title"),Eb=be("message-body"),Ob=be("loading-bar"),Du=be("guide"),ao=be("check"),qb=be("command");let ke=null,at=null,Wo=/Mac|Linux|X11|CrOS/.test(navigator.userAgent)&&!/Windows/.test(navigator.userAgent)?"mac":"windows",Gs;const Ib=[{title:"Install the app",sub:"On the computer your machine is plugged into. Windows, Mac, Linux or a Raspberry Pi."},{title:"Link it to your account",sub:"A page opens after installing. Sign in, check the four numbers match, then press Link."},{title:"Keep it running",sub:"It starts by itself whenever you sign in to that computer."}];function Nb(e,t){var s,i,a;const n=t==="windows"?(s=e.install)==null?void 0:s.windows:((i=e.install)==null?void 0:i.mac)??((a=e.install)==null?void 0:a.linux);if(n)return n.command;const o=new URL(e.guide).origin;return t==="windows"?`irm ${o}/install.ps1 | iex`:`curl -fsSL ${o}/install.sh | sh`}async function zb(e,t){try{await navigator.clipboard.writeText(e)}catch{const n=document.createElement("textarea");n.value=e,document.body.append(n),n.select(),document.execCommand("copy"),n.remove()}t.textContent="Copied",setTimeout(()=>t.textContent="Copy",1500)}function ta(e,t,n){const o=qb.content.firstElementChild.cloneNode(!0),s=o.querySelector(".os");s.hidden=!n;for(const l of s.querySelectorAll("button"))l.setAttribute("aria-pressed",String(l.dataset.os===Wo)),l.addEventListener("click",()=>{Wo=l.dataset.os,Yi()});const i=o.querySelector("code");i.textContent=e,i.title=e;const a=o.querySelector(".copy");return a.addEventListener("click",()=>zb(e,a.querySelector("span"))),o.querySelector(".command-hint").textContent=t,o}function Yi(){if(!ke)return;const e=ke,t=e.status==="ready"?3:e.status==="installed but not running"?2:0,n=e.computer??null;if(Tb.textContent=e.status==="ready"?`${n??"Your computer"} is connected`:e.status==="installed but not running"?"Linked, but the app isn’t running":"Not on a computer yet",Rb(Pb,e.status==="ready"?"Connected":e.status==="installed but not running"?"Offline":"Not set up",e.status==="ready"?"live":""),ao.hidden=e.status==="ready",Du.hidden=!1,Cb.replaceChildren(...Ib.map((o,s)=>{const i=document.createElement("li"),a=s<t,l=s===t;i.className="step"+(a?" done":l?" current":"");const c=document.createElement("div");c.className="rail";const p=document.createElement("span");p.className="mark",a?p.innerHTML='<svg width="12" height="12" viewBox="0 0 12 12" aria-label="Done"><path d="M2.5 6.2 5 8.5l4.5-5"/></svg>':p.textContent=String(s+1),c.append(p,document.createElement("i"));const m=document.createElement("div");m.className="step-body";const h=document.createElement("span");h.className="step-title",h.textContent=o.title;const f=document.createElement("span");return f.className="step-sub",f.textContent=o.sub,m.append(h,f),a?f.textContent=[n?`Installed on ${n}.`:"Installed.","Linked to this account.",n?`Running on ${n}.`:"Running."][s]:l&&s===0?(f.textContent=Wo==="windows"?"On the computer your machine is plugged into, paste this into PowerShell.":"On the computer your machine is plugged into, paste this into Terminal.",m.append(ta(Nb(e,Wo),"No admin rights needed. It opens the linking page when it’s done.",!0))):l&&s===2&&(f.textContent="Turn that computer on and sign in. The app starts by itself.",m.append(ta("anc start","Or run this on that computer to start it now.",!1))),i.append(c,m),i})),ea.hidden=e.status!=="ready",e.status==="ready"){const o=at==null?void 0:at.machine,s=[["Computer",n??"–"]];at&&(s.push(["Machine",o!=null&&o.port?[o.port,o.controller].filter(Boolean).join(" · "):"Not connected"]),at.version&&s.push(["App",at.version])),wb(ea,s)}Uu.hidden=!0,kb.hidden=!1}function Hu(e,t){e?(ke=e,ke.status==="ready"&&xb(),Yi()):ke||(Uu.hidden=!1,Ob.hidden=!0,$b.textContent="Couldn’t check set-up",Eb.textContent=t??"",ao.hidden=!1),Mb()}async function xb(){at=(await Zu(gs,"anc_snapshot")).value,Yi()}async function Qi(){ao.disabled=!0;const e=await Zu(gs,"anc_setup");ao.disabled=!1,Hu(e.value,e.error)}function Mb(){clearTimeout(Gs),(ke==null?void 0:ke.status)!=="ready"&&(Gs=window.setTimeout(Qi,5e3))}const gs=vb("Agentic Numerical Control set-up",e=>{const t=ju(e);Hu(t.value,t.error)},()=>setTimeout(()=>{ke||Qi()},1500));gs.onteardown=async()=>(clearTimeout(Gs),{});ao.addEventListener("click",Qi);Du.addEventListener("click",e=>{e.preventDefault(),ke&&gs.openLink({url:ke.guide})});</script>
107
+ <style rel="stylesheet" crossorigin>@font-face{font-family:Geist;src:url(data:font/woff2;base64,d09GMgABAAAAAF9AABQAAAAA1GQAAF7KAAHNDgAAAAAAAAAAAAAAAAAAAAAAAAAAGoN1G4GBDByBbj9IVkFShl0/TVZBUjwGYD9TVEFUgTgAhAIvfhEICugU0i4wgZQWATYCJAOHUAuDagAEIAWHWAcgDAcbNMY1Mm8l584TgK2/vvoQRwdat4NIyr8tjaI0s6ry/39ObgxRbAfVWr0hCTKKQJOJkaWwqmpIi5zLmBZAeG1DWvRZnLW6/5STByfyD4J03qG6NS0bJnIobBsh6CSLjqT3k92qygYSCJNW2tFxOr09d51agrAbwfR0d0DndSZdhskRyGG/xA1nZCNH1s+cRz6OEfmCUM/Mex9adDdd0Ttso3sKBKdNNxNLcgpIWGw7tPRXtTvxo9fWcITGPsm1iNftZ++9hOQlpL6EEEIIxQg9BuyIWDoiNmzY6seO5Tc/AWyl/NJslWapX7GhH2PrfORjyxsep+vfxoptrEyAaW1W2eqStGmTtknapqllNdm8w/TYkHHncKJwYpwZcNxXxokKnCvPwx/jPfe+31jL9AGtcc0RrWUD3EhbdAZ7//dN7buFXVUNKLElGeSQ7cAQOA94Afh7//bsX1dLM9nl30cMAYfZ8Shky7aou8fWtg+lAJUR65sY7ic/5ObXQxKSEEhCVCAQAt4AVdpSGRXt0DW57V5Os3s4zklMvmqpYsfrtG/stRxcIH8maporz9FCUxxRe5wlCmxikCVFgBY+ERliB+Cf55j/FskbYVNZBcLuOTOZRQF3a2P/sPr9VCgbI2rE1yX1dfTTbyKvQFugLdAF6Aqvk9mEC+Af2vMHxvsRd4H0FKY0ov2os74nGeI4Q3gM+KFpz04WmuKwu/JaYJjdnwlNwDHIsgBBdWsRWrEwIT0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xVw65qRutlm7endPBZs0ZZOqipKytXjcXNySOHRTVsDTRkHFDM7M+DJ10oiCXKHSzLpcKZtcmzOej6SrrDW1nG2UIMFwFWyyXs+SGtzPHCczWUHVnYIxYq6mypBhnTmxuLrIuRmkUrLuS7uMKoV4Dbjyk20sUxDMx7Qzz1DhlNSKIIxO61Wn4riGV0OltFqE/Bajfiq3ZEaGsS4brfXBGT4riawkqXfKwfbf2vl+o3XGsTLoIXu8GAuZNLaTyEEEJZGAvFTiVTgHYmkTOaO0VG6j2JmlXhFBPpgMn7CI/HLSOrkVH4x0q2KeDwAA) format("woff2");font-weight:100 900;font-display:swap}@font-face{font-family:Geist Mono;src:url(data:font/woff2;base64,d09GMgABAAAAAEoUABQAAAAAhCQAAEmlAAHNDgAAAAAAAAAAAAAAAAAAAAAAAAAAGkAbIBwqP0hWQVIqP01WQVI8BmA/U1RBVIE4AIQCL34RCArjVM5LMIGEVAE2AiQDhnALgz4ABCAFiEQHIAwHG4N2FWxcZXY7CO79Z1u3UQhsHIAU4AdjVNTMRQoT/f8tgY4hFraloFwviK6u2KzatdFU0x1wUfqdq+rtSojnrJq20D2nM+tkPSnfmTXMRhARRJBlPNZKmrDiJZAUtt2qZ0eOPLlf2SLAq//IL9rwzoKXh2z+viSbsEku2RGanKIV8wd+m/+HNhKwUVEBQRQUlCiJvNQVLilWTpwz93RrXbiKF7XKl9terl649d9/uX5di3b6nNo/Ow6pQE64KaVdYDjt6R/3/Gcvp7ovC6cjckppSo5ry7JMkkFs4ZPYsiyD5lNn3yiBGIU0Go0iIyGBCBYYY3/Wm/33fDFU119774rqY3Ghu6JLuc15fw6bEvZmNtkQADw8f/g79zb24MltoCiK5wLPNA10DsHvPat0Q/Z9c7nEEbGW6WlaoP7/YD87++7FksCjwOJEO1HggfrX/6PONxlCLhwgbkQzwrbFTu94u2EiGFYAaDnUfIccx5Fl6QnIj+Y+3+wGeJN8uvsHlPtHUGLhKuXMpgTGA6JqhalisP35nGbvs/QkSzIGeLiUppQ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GiUEgAMA93CJH/Gpd7LqL4ZA+BkA+CG4LwAA8OPd3+R9iRtmV59CAMjSAADggD+adsZvF8v2/TnVy+TpKi6Aof2W7A1xhI1DGPqwsFoxqO6hAFcqHCKZYVSOhecE86mUzVue5SEyLqJRJVAJm3nN+l41pGbxf4KC9SqMhSsMRlUYiujbcPYtQAQdSX8lHluECJWJxIU385XgkcledvEyiwz4k7/tz1SURm/69ITo6vGYTavoRdoC1msr07/T3El/lQWH2MkD6CmdEAejsLocYiUkdBRQKkE5pcYTkjkt6wYLbsL0UkccuUo99FIA2AtwdB3YwiVWs4t3QFm558rzwWk4Xei8A1f/vImLoKPLmqQSS8g+GOFPnatjWR1ipGTtQtpRu5jxstPI2A7ArPVgLeacD80SDkBCNIJGTPSADiMGkQY91iIdbuxABnFxHpnkxReNLHG+cdm8wpzRLTBgJiCXlGQiD1aWI5+YxMCEkREUQM3ZKISTkygiLl8Di7x8F2wS8vI/OMTl9xjM1Ocp/bp06DSISaScSCUmTKc2TBZtupw8UKgo9J9hd8a2hKqDoYWdOe2HAbNcJjoIfQ9VgHB8dkAXYl0XN4MAWnpGszoMbSfY8jI9GOGgZdDesXfjBZRtHn/rLFwPoWc9cOj0rybohwoQgAzKF1WCv6QGcAxCJ2FHGeQz7mJG1i/ousZ2FTeYvMqyDwIiWY/90cY8KimKTTAbBodxEzjy8Lm4EnES6Cyyte8dgigyDaGX0Z76x6knm4vPxBTGCoj4hdF5KKuXa28LzMAnC2nLs2kXdlmPxq316gVAkEymXwCRVTjvb8f03rPOKg==) format("woff2");font-weight:100 900;font-display:swap}:root{--bg: #ffffff;--stage: #fbfbfc;--text: #111827;--muted: #6b7280;--faint: #9ca3af;--track: #f3f4f6;--line: #e5e7eb;--chip: #ffffff;--chip-shadow: 0 1px 2px rgba(0, 0, 0, .1);--ring: rgba(0, 0, 0, .1);--primary: #111827;--primary-text: #ffffff;--online: #22c55e;--online-ring: rgba(34, 197, 94, .22);--offline: #d1d5db;--error: #dc2626;--error-text: #ffffff;--error-ring: rgba(220, 38, 38, .16);--warn: #fab219;--warn-ink: #111827;--todo: #d1d5db;--grid: #eef0f2;--panel: #ffffff;--panel-shadow: 0 12px 32px -12px rgba(0, 0, 0, .18), 0 0 0 1px rgba(0, 0, 0, .05);--thumb-edge: rgba(0, 0, 0, .12);--sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--mono: "Geist Mono", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;color-scheme:light}:root[data-theme=dark]{--bg: #111214;--stage: #16171a;--text: #ececec;--muted: #9ca3af;--faint: #6b7280;--track: #1d1f23;--line: #26282d;--chip: #2c2e33;--chip-shadow: 0 1px 2px rgba(0, 0, 0, .4);--ring: rgba(255, 255, 255, .14);--primary: #ececec;--primary-text: #111214;--offline: #4b5563;--error: #f87171;--error-text: #111214;--error-ring: rgba(248, 113, 113, .22);--todo: #3a3d43;--grid: #1f2125;--panel: #1d1f23;--panel-shadow: 0 12px 32px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .06);--thumb-edge: rgba(255, 255, 255, .12);color-scheme:dark}*{box-sizing:border-box}[hidden]{display:none!important}html,body{margin:0;background:var(--bg);color:var(--text)}body{font:13px/1.5 var(--sans);-webkit-font-smoothing:antialiased}:focus-visible{outline:2px solid var(--muted);outline-offset:2px}code{font-family:var(--mono)}.anc{display:flex;flex-direction:column;height:440px}.anc.fullscreen{height:100vh}button,select{font:inherit;font-weight:500;color:var(--text);border:0;cursor:pointer}button:disabled,select:disabled{opacity:.4;cursor:default}.actions>.primary,.actions>.secondary{flex:none;height:34px;padding:0 14px;border-radius:10px}.primary{background:var(--primary);color:var(--primary-text)}.secondary{background:var(--track)}.primary.confirm,.secondary.confirm{background:var(--error);color:var(--error-text)}.small{flex:none;height:30px;padding:0 12px;border-radius:8px}.toggle{height:30px;padding:0 10px;border-radius:8px;background:none;color:var(--muted)}.toggle[aria-pressed=true]{background:var(--track);color:var(--text)}.icon{flex:none;display:flex;align-items:center;justify-content:center;padding:0}.icon svg{fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.icon.quiet{width:32px;height:32px;border-radius:8px;background:none;color:var(--muted)}.icon.quiet svg{stroke-width:1.5}.icon.quiet:hover{background:var(--track);color:var(--text)}.chip{width:30px;height:30px;border-radius:8px;background:var(--chip);box-shadow:var(--chip-shadow)}.dot{display:inline-block;flex:none;width:7px;height:7px;border-radius:50%;background:var(--offline)}.dot.live{background:var(--online)}.dot.faint{background:var(--faint)}select{height:30px;padding:0 8px;border-radius:8px;background:var(--track)}.segmented{display:inline-flex;gap:2px;padding:2px;border-radius:9px;background:var(--track)}.segmented button{height:26px;padding:0 10px;border-radius:7px;background:none;color:var(--muted)}.segmented button[aria-pressed=true]{background:var(--chip);color:var(--text);box-shadow:var(--chip-shadow)}.head{flex:none;display:flex;align-items:center;gap:12px;padding:12px 12px 12px 16px;min-width:0}.titles{flex:1;min-width:0;display:flex;flex-direction:column}.title{font-size:15px;font-weight:600;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.meta{color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status{flex:none;display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 11px 0 10px;border-radius:999px;background:var(--track);font-weight:500;white-space:nowrap}.status i{width:7px;height:7px;border-radius:50%;background:var(--offline)}.status.live i{background:var(--online)}.status.active i{box-shadow:0 0 0 3px var(--online-ring)}.status.alarm i{background:var(--error);box-shadow:0 0 0 3px var(--error-ring)}.stage{position:relative;flex:1;min-height:0;background:var(--stage);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.stage.scroll{overflow:auto}.facts{display:grid;grid-template-columns:auto 1fr;gap:5px 16px;margin:0;font-size:12px}.facts dt{color:var(--muted)}.facts dd{margin:0;font-family:var(--mono);text-align:right;overflow-wrap:anywhere}.card{padding:12px 14px;border-radius:10px;background:var(--bg);box-shadow:inset 0 0 0 1px var(--line)}.message{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:24px;text-align:center;background:var(--stage)}.message-title{font-size:15px;font-weight:600}.message-body{max-width:360px;color:var(--muted)}.message-body:empty{display:none}.loading-bar{position:relative;width:120px;height:3px;margin-bottom:14px;border-radius:2px;background:var(--track);overflow:hidden}.loading-bar div{position:absolute;top:0;bottom:0;width:40%;border-radius:2px;background:var(--faint);animation:slide 1.2s ease-in-out infinite}@keyframes slide{0%{left:-40%}to{left:100%}}@media(prefers-reduced-motion:reduce){.loading-bar div{animation:none;left:30%}}.foot{flex:none;display:flex;flex-direction:column;gap:8px;padding:12px 16px}.actions{display:flex;align-items:center;gap:6px;min-height:34px}.foot-note{flex:1;min-width:0;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.foot-note.alarm{color:var(--error)}.foot-link{color:var(--muted);text-decoration:underline;text-underline-offset:3px;cursor:pointer}.foot-link:hover{color:var(--text)}@media(max-width:520px){.head{padding-left:14px}.foot{padding:12px 14px}}.anc{height:460px}.setup{padding:20px}.steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.step{display:flex;gap:14px}.rail{flex:none;display:flex;flex-direction:column;align-items:center}.mark{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:600;color:var(--faint);box-shadow:inset 0 0 0 1.5px var(--line)}.step.current .mark{color:var(--text);box-shadow:inset 0 0 0 1.5px var(--text)}.step.done .mark{background:var(--primary);color:var(--primary-text);box-shadow:none}.mark svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.rail i{flex:1;width:1.5px;min-height:14px;margin:4px 0;background:var(--line)}.step:last-child .rail i{display:none}.step-body{flex:1;min-width:0;padding:2px 0 18px;display:flex;flex-direction:column;gap:2px}.step-title{font-weight:500;color:var(--muted)}.step.done .step-title,.step.current .step-title{color:var(--text)}.step-sub{color:var(--muted)}.command{display:flex;flex-direction:column;gap:10px;margin-top:10px}.os{align-self:flex-start;padding:3px;border-radius:10px}.os button{height:28px}.command-box{display:flex;align-items:center;gap:8px;padding:3px 3px 3px 12px;border-radius:10px;background:var(--track)}.command-box code{flex:1;min-width:0;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:all;user-select:all}.copy{flex:none;height:28px;padding:0 10px;display:flex;align-items:center;gap:6px;border-radius:7px;background:var(--chip);box-shadow:var(--chip-shadow)}.copy svg{fill:none;stroke:currentColor;stroke-width:1.4}.command-hint{font-size:12px;color:var(--muted)}.summary{margin-left:38px}@media(max-width:520px){.setup{padding:16px 14px}.summary{margin-left:0}}</style>
108
+ </head>
109
+ <body>
110
+ <main class="anc" id="root">
111
+ <header class="head">
112
+ <div class="titles">
113
+ <span class="title">Set-up</span>
114
+ <span class="meta" id="meta">Checking…</span>
115
+ </div>
116
+ <span class="status" id="status"><i></i><span>Checking</span></span>
117
+ </header>
118
+
119
+ <div class="stage scroll">
120
+ <div class="setup" id="setup" hidden>
121
+ <ol class="steps" id="steps"></ol>
122
+ <dl class="facts card summary" id="summary" hidden></dl>
123
+ </div>
124
+ <div class="message" id="message">
125
+ <div class="loading-bar" id="loading-bar"><div></div></div>
126
+ <span class="message-title" id="message-title">Checking set-up…</span>
127
+ <span class="message-body" id="message-body"></span>
128
+ </div>
129
+ </div>
130
+
131
+ <footer class="foot">
132
+ <div class="actions">
133
+ <span class="foot-note"><a class="foot-link" id="guide" href="#" hidden>Full set-up guide</a></span>
134
+ <button class="secondary" id="check" hidden>Check again</button>
135
+ </div>
136
+ </footer>
137
+ </main>
138
+
139
+ <template id="command">
140
+ <div class="command">
141
+ <div class="segmented os" role="group" aria-label="Computer">
142
+ <button type="button" data-os="windows" aria-pressed="true">Windows</button>
143
+ <button type="button" data-os="mac" aria-pressed="false">Mac &amp; Linux</button>
144
+ </div>
145
+ <div class="command-box">
146
+ <code></code>
147
+ <button type="button" class="copy">
148
+ <svg width="14" height="14" viewBox="0 0 14 14" aria-hidden="true"><rect x="4.5" y="4.5" width="8" height="8" rx="1.5"/><path d="M9.5 2.5V2A.5.5 0 0 0 9 1.5H2A.5.5 0 0 0 1.5 2v7a.5.5 0 0 0 .5.5h.5"/></svg>
149
+ <span>Copy</span>
150
+ </button>
151
+ </div>
152
+ <span class="command-hint"></span>
153
+ </div>
154
+ </template>
155
+ </body>
156
+ </html>