@premsan/cli 0.1.8 → 0.1.9

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.
@@ -76,7 +76,7 @@ ${u}`:u:"",l=Function,p=`return (input) => {
76
76
  ${u}
77
77
  }`,m;try{m=new l(...a,p)(...s)}catch(f){throw new L(`this schema (generated code failed to evaluate: ${f.message})`)}return t?.debug&&(m.code=c),m.definite=i.definite,m}function O(e,t){for(let[i,n]of e.constants)if(n===t)return i;let r=`c${e.constantCounter++}`;return e.constants.set(r,t),r}function xt(e,t){return e.definite=!1,O(e,t)}function E(e){return`v${e.varCounter++}`}function pk(e,t){let r=e._zod.run({value:t,issues:[]},{});if(r&&typeof r.then=="function")return se;let i=r;return i.issues.length===0?i.value:se}function re(e,t,r,i,n=!0){let o=e.content.length,a=t.constants.size,s=t.constantCounter,u=t.varCounter;try{return G(e,t,r,i,n)}catch(c){if(!(c instanceof L)||!c.islandable)throw c;if(e.content.length=o,t.constants.size>a){let l=Array.from(t.constants.keys()).slice(a);for(let p of l)t.constants.delete(p)}return t.constantCounter=s,t.varCounter=u,mk(e,t,r,i)}}function mk(e,t,r,i){t.definite=!1;let n=O(t,r),o=O(t,pk),a=E(t);return e.write(`const ${a} = ${o}(${n}, ${i});`),e.write(`if (${a} === INVALID) return INVALID;`),a}var fk=new Set(["max_size","min_size","size_equals","max_length","min_length","length_equals"]);function gk(e,t,r,i){let n=r._zod.def.checks;if(!n||n.length===0)return i;let o=i;for(let a of n){let s=a._zod.def;if(s.when&&!fk.has(s.check))throw new L('check with a custom "when" condition');switch(s.check){case"greater_than":hk(e,t,s,o);break;case"less_than":vk(e,t,s,o);break;case"multiple_of":yk(e,t,s,o);break;case"number_format":Hh(e,s,o);break;case"min_length":{let u=Xe(s.minimum,"min_length"),c=bl(e,t,o,`${o}.length >= ${u} && ${o}.length < ${s.minimum*2}`);e.write(`if (${c} < ${u}) return INVALID;`);break}case"max_length":{let u=Xe(s.maximum,"max_length"),c=bl(e,t,o,`${o}.length > ${u}`);e.write(`if (${c} > ${u}) return INVALID;`);break}case"length_equals":{let u=Xe(s.length,"length_equals"),c=bl(e,t,o,`${o}.length >= ${u} && ${o}.length <= ${s.length*2}`);e.write(`if (${c} !== ${u}) return INVALID;`);break}case"min_size":e.write(`if (${o}.size < ${Xe(s.minimum,"min_size")}) return INVALID;`);break;case"max_size":e.write(`if (${o}.size > ${Xe(s.maximum,"max_size")}) return INVALID;`);break;case"size_equals":e.write(`if (${o}.size !== ${Xe(s.size,"size_equals")}) return INVALID;`);break;case"string_format":o=Jh(e,t,s,o);break;case"custom":o=kk(e,t,a,o);break;case"bigint_format":_k(e,s,o);break;case"mime_type":bk(e,t,s,o);break;case"property":xk(e,t,s,o);break;case"properties":$k(e,t,s,o);break;case"overwrite":{let u=E(t);wk(e,t,a,o,u),o=u;break}default:throw new L(`check type ${s.check}`)}}return o}function bl(e,t,r,i){let n=O(t,vt),o=E(t);return e.write(`const ${o} = typeof ${r} === "string" && ${i} ? ${n}(${r}) : ${r}.length;`),o}function Xe(e,t){if(typeof e!="number"||!Number.isFinite(e))throw new L(`${t} bound of type ${typeof e}`);return`${e}`}function Gh(e,t){if(typeof t=="bigint")return`${t}n`;if(typeof t=="number"){if(Number.isNaN(t))throw new L("comparison check with NaN bound");return`${t}`}if(t instanceof Date){if(Number.isNaN(t.getTime()))throw new L("comparison check with Invalid Date bound");return O(e,t)}throw new L(`comparison check bound of type ${typeof t}`)}function hk(e,t,r,i){let n=r.inclusive?"<":"<=";e.write(`if (${i} ${n} ${Gh(t,r.value)}) return INVALID;`)}function vk(e,t,r,i){let n=r.inclusive?">":">=";e.write(`if (${i} ${n} ${Gh(t,r.value)}) return INVALID;`)}function yk(e,t,r,i){if(typeof r.value=="bigint"){if(r.value===BigInt(0))throw new L("multiple_of check with a zero divisor");e.write(`if (${i} % ${r.value}n !== 0n) return INVALID;`)}else{let n=O(t,Jn);e.write(`if (${n}(${i}, ${Xe(r.value,"multiple_of")}) !== 0) return INVALID;`)}}function Hh(e,t,r){let i=t.format;switch(i){case"safeint":e.write(`if (!Number.isSafeInteger(${r})) return INVALID;`);break;case"int32":e.write(`if (!Number.isInteger(${r}) || ${r} < -2147483648 || ${r} > 2147483647) return INVALID;`);break;case"uint32":e.write(`if (!Number.isInteger(${r}) || ${r} < 0 || ${r} > 4294967295) return INVALID;`);break;case"float32":e.write(`if (!Number.isFinite(${r}) || ${r} < -3.4028234663852886e38 || ${r} > 3.4028234663852886e38) return INVALID;`);break;case"float64":e.write(`if (!Number.isFinite(${r})) return INVALID;`);break;default:throw new L(`number format ${i}`)}}function _k(e,t,r){let i=t.format;if(i)switch(i){case"int64":e.write(`if (${r} < -9223372036854775808n || ${r} > 9223372036854775807n) return INVALID;`);break;case"uint64":e.write(`if (${r} < 0n || ${r} > 18446744073709551615n) return INVALID;`);break;default:throw new L(`bigint format ${i}`)}}function bk(e,t,r,i){let n=r.mime;if(n&&n.length>0){let o=O(t,new Set(n));e.write(`if (!${o}.has(${i}.type)) return INVALID;`)}}function $k(e,t,r,i){if(r.when)throw new L('check with a custom "when" condition');e.write(`if (${i} == null) return INVALID;`);let n=r.shape;for(let o of Reflect.ownKeys(n)){let a=typeof o=="symbol"?O(t,o):ie(o),s=E(t);e.write(`const ${s} = ${i}[${a}];`),re(e,t,n[o],s,!1)}}function xk(e,t,r,i){let n=`${i}[${JSON.stringify(r.property)}]`;G(e,t,r.schema,n)}function wk(e,t,r,i,n){let o=r._zod.def.tx;if(!o)throw new L("overwrite check without a transform function");if(wt(o))throw new Pe("z.compile: async overwrite transforms are not supported");let a=O(t,o);e.write(`const ${n} = ${a}(${i});`)}function $l(){throw new me}function kl(e){this.issues.push(e)}function kk(e,t,r,i){let n=r._zod.def;if(n.fn){if(wt(n.fn))throw new Pe("z.compile: async .refine() predicates are not supported");let o=xt(t,n.fn),a=O(t,$l),s=E(t);return e.write(`const ${s} = ${o}(${i});`),e.write(`if (${s} instanceof Promise) ${a}();`),e.write(`if (!${s}) return INVALID;`),i}if(r._zod.check){if(wt(r._zod.check))throw new Pe("z.compile: async .superRefine() / check functions are not supported");let o=r._zod.check,s=xt(t,c=>{let l={value:c,issues:[],addIssue:kl};return o(l)instanceof Promise&&$l(),l.issues.length===0?l.value:se}),u=E(t);return e.write(`const ${u} = ${s}(${i});`),e.write(`if (${u} === INVALID) return INVALID;`),u}throw new L("custom check without a predicate or check function")}var Sk=new Set(["cidrv4","cuid","cuid2","date","datetime","duration","e164","email","emoji","ends_with","guid","includes","ipv4","ksuid","lowercase","mac","nanoid","regex","starts_with","time","ulid","uppercase","uuid","xid"]);function Jh(e,t,r,i,n=!0){let o=r.format;if(o==="base64"){let c=O(t,hr);return e.write(`if (!${c}(${i})) return INVALID;`),i}if(o==="base64url"){let c=O(t,ci);return e.write(`if (!${c}(${i})) return INVALID;`),i}if(o==="jwt"){let c=O(t,pi),l=O(t,r.alg??null);return e.write(`if (!${c}(${i}, ${l})) return INVALID;`),i}if(o==="ipv6"){let c=O(t,gr);return e.write(`if (!${c}(${i})) return INVALID;`),i}if(o==="cidrv6"){let c=O(t,si);return e.write(`if (!${c}(${i})) return INVALID;`),i}if(o==="credit_card"){let c=O(t,li);return e.write(`if (!${c}(${i})) return INVALID;`),i}if(o==="iban"){let c=O(t,di);return e.write(`if (!${c}(${i})) return INVALID;`),i}let a=r;if(o==="url"||o==="httpurl"||a.normalize||a.hostname!==void 0||a.protocol!==void 0){let c=O(t,oi),l=O(t,r),p=E(t),m=E(t);if(e.write(`const ${p} = ${i}.trim();`),e.write(`const ${m} = ${c}(${p}, ${l});`),e.write(`if (typeof ${m} === "number") return INVALID;`),a.hostname!==void 0){let $=O(t,ii);e.write(`if (!${$}(${m}, ${l}.hostname)) return INVALID;`)}if(a.protocol!==void 0){let $=O(t,ai);e.write(`if (!${$}(${m}, ${l}.protocol)) return INVALID;`)}if(!n)return null;let f=E(t),y=a.normalize?`${m}.href`:`${O(t,fr)}(${p})`;return e.write(`const ${f} = ${y};`),f}let s=r.fn;if(s){if(wt(s))throw new L(`async string format ${o}`);let c=O(t,s);return e.write(`if (!${c}(${i})) return INVALID;`),i}if(Sk.has(o)&&r.pattern){let c=O(t,r.pattern);return e.write(`${c}.lastIndex = 0;`),e.write(`if (!${c}.test(${i})) return INVALID;`),i}let u=r.format;switch(u){case"regex":throw new L("regex format without a pattern");case"lowercase":e.write(`if (${i} !== ${i}.toLowerCase()) return INVALID;`);break;case"uppercase":e.write(`if (${i} !== ${i}.toUpperCase()) return INVALID;`);break;case"includes":e.write(`if (!${i}.includes(${ie(r.includes)})) return INVALID;`);break;case"starts_with":{let c=r.prefix;e.write(`if (${i}.slice(0, ${c.length}) !== ${ie(c)}) return INVALID;`);break}case"ends_with":{let c=r.suffix;e.write(`if (${i}.slice(-${c.length}) !== ${ie(c)}) return INVALID;`);break}default:throw new L(`string format ${u}`)}return i}function G(e,t,r,i,n=!0){let o=r._zod.def,a=o.type;if(o.coerce)throw new L(`coercion (z.coerce.${a}())`);let s=n||!!o.checks?.length,u;switch(a){case"string":u=Ik(e,t,r,i,s);break;case"number":u=Pk(e,r,i);break;case"boolean":u=Tk(e,i);break;case"bigint":u=Ak(e,r,i);break;case"symbol":u=Ek(e,i);break;case"undefined":u=Ok(e,i);break;case"null":u=zk(e,i);break;case"any":case"unknown":u=i;break;case"never":e.write("return INVALID;"),u=i;break;case"void":u=Ck(e,i);break;case"nan":u=Rk(e,i);break;case"date":u=Nk(e,i);break;case"object":u=Dk(e,t,r,i,s);break;case"optional":u=jk(e,t,r,i,s);break;case"nullable":u=Uk(e,t,r,i,s);break;case"array":u=Fk(e,t,r,i,s);break;case"literal":u=Zk(e,t,r,i);break;case"enum":u=Vk(e,t,r,i);break;case"readonly":{let c=Wh(e,t,r,i),l=E(t);e.write(`const ${l} = Object.freeze(${c});`),u=l;break}case"success":Wh(e,t,r,i),u="true";break;case"default":case"prefault":u=Bk(e,t,r,i);break;case"nonoptional":u=Wk(e,t,r,i);break;case"tuple":u=Kk(e,t,r,i);break;case"union":u=qk(e,t,r,i);break;case"intersection":u=Jk(e,t,r,i);break;case"record":u=Yk(e,t,r,i);break;case"map":u=Qk(e,t,r,i);break;case"set":u=eS(e,t,r,i);break;case"file":u=tS(e,i);break;case"template_literal":u=nS(e,t,r,i);break;case"lazy":u=rS(e,t,r,i);break;case"pipe":u=oS(e,t,r,i);break;case"custom":u=iS(e,t,r,i);break;case"transform":u=uS(e,t,r,i);break;case"catch":u=sS(e,t,r,i);break;default:throw new L(`schema type ${a}`)}return u===null?null:gk(e,t,r,u)}function Ik(e,t,r,i,n=!0){e.write(`if (typeof ${i} !== "string") return INVALID;`);let o=r._zod.def;return o.format===void 0?i:Jh(e,t,o,i,n)}function Pk(e,t,r){e.write(`if (typeof ${r} !== "number" || !Number.isFinite(${r})) return INVALID;`);let i=t._zod.def;return i.check==="number_format"&&i.format&&Hh(e,{format:i.format},r),r}function Tk(e,t){return e.write(`if (typeof ${t} !== "boolean") return INVALID;`),t}function Ak(e,t,r){e.write(`if (typeof ${r} !== "bigint") return INVALID;`);let i=t._zod.def;if(i.format)switch(i.format){case"int64":e.write(`if (${r} < -9223372036854775808n || ${r} > 9223372036854775807n) return INVALID;`);break;case"uint64":e.write(`if (${r} < 0n || ${r} > 18446744073709551615n) return INVALID;`);break}return r}function Ek(e,t){return e.write(`if (typeof ${t} !== "symbol") return INVALID;`),t}function Ok(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function zk(e,t){return e.write(`if (${t} !== null) return INVALID;`),t}function Ck(e,t){return e.write(`if (${t} !== undefined) return INVALID;`),t}function Rk(e,t){return e.write(`if (typeof ${t} !== "number" || !Number.isNaN(${t})) return INVALID;`),t}function Nk(e,t){return e.write(`if (!(${t} instanceof Date) || Number.isNaN(${t}.getTime())) return INVALID;`),t}function Dk(e,t,r,i,n=!0){let o=r._zod.def;e.write(`if (typeof ${i} !== "object" || ${i} === null || Array.isArray(${i})) return INVALID;`);let a=o.shape,s=Object.keys(a),u=Object.getOwnPropertySymbols(a),c=u.length?[...s,...u]:s,l=S=>typeof S=="symbol"?O(t,S):ie(S),p=S=>typeof S=="symbol"?`[${l(S)}]`:ie(S),m=a;if(s.includes("__proto__"))throw new L('object shape key "__proto__"');let f=new Map;for(let S of c){let A=m[S],D=l(S),U=E(t);if(e.write(`const ${U} = ${i}[${D}];`),A._zod.optin!==void 0){let M=E(t);e.write(`let ${M} = (() => {`),e.indented(te=>{let Cn=re(te,t,A,U);te.write(`return ${Cn};`)}),e.write("})();"),A._zod.optout==="optional"?(e.write(`if (${M} === INVALID) {`),e.indented(te=>{te.write(`if (${D} in ${i}) return INVALID;`),te.write(`${M} = undefined;`)}),e.write("}")):e.write(`if (${M} === INVALID) return INVALID;`),f.set(S,M)}else{Mk(A)&&e.write(`if (!(${D} in ${i})) return INVALID;`);let M=re(e,t,A,U,n);M!==null&&f.set(S,M)}}let y=o.catchall,$="none";if(y){let S=y._zod.def.type;if(S==="never"){let A=s.map(D=>`k !== ${ie(D)}`).join(" && ")||"true";e.write(`for (const k in ${i}) {`),e.indented(D=>{D.write(`if (${A}) return INVALID;`)}),e.write("}")}else(S==="unknown"||S==="any")&&!y._zod.def.checks?.length?$="passthrough":$="schema"}let k=E(t),I=c.some(S=>Bh(m[S])||xl(m[S]));if(!n){if($==="schema"){let S=s.length>0?O(t,new Set(s)):null;e.write(`for (const k in ${i}) {`),e.indented(A=>{A.write('if (k === "__proto__") continue;'),S&&A.write(`if (${S}.has(k)) continue;`);let D=E(t);A.write(`const ${D} = ${i}[k];`),re(A,t,y,D,!1)}),e.write("}")}return null}if(I){e.write(`const ${k} = {};`);for(let S of c){let A=l(S),D=f.get(S);xl(m[S])?e.write(`if (${A} in ${i}) ${k}[${A}] = ${D};`):Bh(m[S])?e.write(`if (${D} !== undefined || ${A} in ${i}) ${k}[${A}] = ${D};`):e.write(`${k}[${A}] = ${D};`)}}else{let S=c.map(A=>`${p(A)}: ${f.get(A)}`).join(", ");e.write(`const ${k} = { ${S} };`)}if($!=="none"){let S=s.length>0?O(t,new Set(s)):null;e.write(`for (const k in ${i}) {`),e.indented(A=>{if(A.write('if (k === "__proto__") continue;'),S&&A.write(`if (${S}.has(k)) continue;`),$==="passthrough")A.write(`${k}[k] = ${i}[k];`);else{let D=E(t);A.write(`const ${D} = ${i}[k];`);let U=re(A,t,y,D);A.write(`${k}[k] = ${U};`)}}),e.write("}")}return k}function jk(e,t,r,i,n=!0){let o=r._zod.def;if(Lk(r))return G(e,t,o.innerType,i,n);if(o.innerType._zod.optin==="defaulted"){let s=E(t),u=E(t);return e.write(`let ${s};`),e.write(`if (${i} === undefined) {`),e.indented(c=>{c.write(`const ${u} = (() => {`),c.indented(l=>{let p=G(l,t,o.innerType,i);l.write(`return ${p};`)}),c.write("})();"),c.write(`if (${u} !== INVALID) ${s} = ${u};`)}),e.write("} else {"),e.indented(c=>{let l=G(c,t,o.innerType,i);c.write(`${s} = ${l};`)}),e.write("}"),s}let a=n?E(t):null;return a&&e.write(`let ${a};`),e.write(`if (${i} !== undefined) {`),e.indented(s=>{let u=G(s,t,o.innerType,i,n);a&&u!==null&&s.write(`${a} = ${u};`)}),e.write("}"),a}function Lk(e){return e._zod.traits?.has("$ZodExactOptional")===!0}function Mk(e){return e._zod.optin===void 0&&$t(e)}function $t(e){if(e._zod.def.coerce)return!0;let t=e._zod.def;switch(t.type){case"any":case"unknown":case"undefined":case"void":case"default":case"prefault":case"transform":case"custom":case"lazy":return!0;case"string":case"number":case"boolean":case"bigint":case"symbol":case"null":case"never":case"nan":case"date":case"object":case"array":case"tuple":case"record":case"map":case"set":case"file":case"template_literal":return!1;case"nonoptional":return t.innerType?$t(t.innerType):!1;case"literal":return!!t.values?.includes(void 0);case"enum":return!!e._zod.values?.has(void 0);case"optional":case"nullable":case"readonly":case"success":return t.innerType?$t(t.innerType):!0;case"catch":return!0;case"union":return t.options?t.options.some($t):!0;case"intersection":return!t.left||!t.right?!0:$t(t.left)&&$t(t.right);case"pipe":return t.in?$t(t.in):!0;default:return!0}}function xl(e){return e._zod.optin==="optional"&&e._zod.optout==="optional"}function Bh(e){return(e._zod.optin!=="defaulted"||e._zod.optout==="optional")&&sn(e)}function sn(e){let t=e._zod.def;switch(t.type){case"string":case"number":case"boolean":case"bigint":case"symbol":case"null":case"nan":case"date":case"object":case"array":case"tuple":case"record":case"map":case"set":case"file":case"template_literal":case"never":case"success":return!1;case"literal":return!!t.values?.includes(void 0);case"enum":return!!e._zod.values?.has(void 0);case"optional":return!0;case"nullable":case"readonly":case"nonoptional":return t.innerType?sn(t.innerType):!0;case"union":return t.options?t.options.some(sn):!0;case"intersection":return!t.left||!t.right||sn(t.left)||sn(t.right);case"pipe":return t.out?sn(t.out):!0;default:return!0}}function Uk(e,t,r,i,n=!0){let o=r._zod.def,a=n?E(t):null;return a&&e.write(`let ${a} = null;`),e.write(`if (${i} !== null) {`),e.indented(s=>{let u=G(s,t,o.innerType,i,n);a&&u!==null&&s.write(`${a} = ${u};`)}),e.write("}"),a}function Sl(e,t,r){for(let[i,n]of Jt(t._zod.def.checks))e.write(`if (${r} > ${Xe(i,n._zod.def.check)}) return INVALID;`)}function Fk(e,t,r,i,n=!0){let o=r._zod.def;e.write(`if (!Array.isArray(${i})) return INVALID;`),Sl(e,r,`${i}.length`);let a=n?E(t):null,s=E(t),u=E(t);return a&&e.write(`const ${a} = new Array(${i}.length);`),e.write(`for (let ${s} = 0; ${s} < ${i}.length; ${s}++) {`),e.indented(c=>{c.write(`const ${u} = ${i}[${s}];`);let l=re(c,t,o.element,u,n);a&&l!==null&&c.write(`${a}[${s}] = ${l};`)}),e.write("}"),a}function Zk(e,t,r,i){let o=r._zod.def.values;if(o.length!==1){let s=O(t,new Set(o));return e.write(`if (!${s}.has(${i})) return INVALID;`),i}let a=o[0];if(typeof a=="number"&&Number.isNaN(a)){let s=O(t,new Set(o));return e.write(`if (!${s}.has(${i})) return INVALID;`),i}if(typeof a=="string")e.write(`if (${i} !== ${ie(a)}) return INVALID;`);else if(typeof a=="number"||typeof a=="boolean")e.write(`if (${i} !== ${a}) return INVALID;`);else if(a===null)e.write(`if (${i} !== null) return INVALID;`);else if(a===void 0)e.write(`if (${i} !== undefined) return INVALID;`);else if(typeof a=="bigint")e.write(`if (${i} !== ${a}n) return INVALID;`);else throw new L(`literal type ${typeof a}`);return i}function Vk(e,t,r,i){let n=r._zod.values;if(!n)throw new L("enum schema without enumerated values");let o=O(t,n);return e.write(`if (!${o}.has(${i})) return INVALID;`),i}function Wh(e,t,r,i){let n=r._zod.def;return G(e,t,n.innerType,i)}function Bk(e,t,r,i){let n=r._zod.def,a=Object.getOwnPropertyDescriptor(r._zod.def,"defaultValue")?()=>r._zod.def.defaultValue:void 0;if(r._zod.def.type==="prefault"){if(!a)return G(e,t,n.innerType,i);let u=O(t,a),c=E(t);return e.write(`let ${c} = ${i};`),e.write(`if (${i} === undefined) ${c} = ${u}();`),G(e,t,n.innerType,c)}let s=E(t);if(a){let u=O(t,a),c=O(t,Yn);e.write(`let ${s};`),e.write(`if (${i} === undefined) {`),e.indented(l=>{l.write(`${s} = ${c}(${u}());`)}),e.write("} else {"),e.indented(l=>{let p=G(l,t,n.innerType,i);l.write(`${s} = ${p} === undefined ? ${c}(${u}()) : ${p};`)}),e.write("}")}else e.write(`let ${s};`),e.write(`if (${i} !== undefined) {`),e.indented(u=>{let c=G(u,t,n.innerType,i);u.write(`${s} = ${c};`)}),e.write("}");return s}function Wk(e,t,r,i){let n=r._zod.def,o=G(e,t,n.innerType,i),a=E(t);return e.write(`const ${a} = ${o};`),e.write(`if (${a} === undefined) return INVALID;`),a}function Kk(e,t,r,i){let n=r._zod.def,o=n.items,a=n.rest;e.write(`if (!Array.isArray(${i})) return INVALID;`);let s=Kh(o,"optin"),u=Kh(o,"optout");a?e.write(`if (${i}.length < ${s}) return INVALID;`):e.write(`if (${i}.length < ${s} || ${i}.length > ${o.length}) return INVALID;`);let c=E(t);e.write(`const ${c} = [];`);for(let l=0;l<o.length;l++){let p=o[l];if(l>=u)e.write(`if (${c}.length === ${l}) {`),e.indented(m=>{m.write(`if (${l} < ${i}.length) {`),m.indented(f=>{let y=E(t);f.write(`const ${y} = ${i}[${l}];`);let $=re(f,t,p,y);f.write(`${c}[${l}] = ${$};`)}),m.write("} else {"),m.indented(f=>{if(xl(p)){f.write(`${c}.length = ${l};`);return}let y=E(t),$=E(t);f.write(`const ${y} = undefined;`),f.write(`const ${$} = (() => {`),f.indented(k=>{let I=re(k,t,p,y);k.write(`return ${I};`)}),f.write("})();"),f.write(`if (${$} === INVALID || ${$} === undefined) ${c}.length = ${l};`),f.write(`else ${c}[${l}] = ${$};`)}),m.write("}")}),e.write("}");else{let m=E(t);e.write(`const ${m} = ${i}[${l}];`);let f=re(e,t,p,m);e.write(`${c}[${l}] = ${f};`)}}if(a){let l=E(t),p=E(t);e.write(`for (let ${l} = ${o.length}; ${l} < ${i}.length; ${l}++) {`),e.indented(m=>{m.write(`const ${p} = ${i}[${l}];`);let f=re(m,t,a,p);m.write(`${c}[${l}] = ${f};`)}),e.write("}")}return c}function Kh(e,t){for(let r=e.length-1;r>=0;r--)if(!(t==="optin"?e[r]._zod.optin!==void 0:e[r]._zod.optout==="optional"))return r+1;return 0}function qk(e,t,r,i){let n=r._zod.def,o=n.options;if(n.discriminator)return Gk(e,t,n,i);if(n.inclusive===!1)throw new L("exclusive unions (z.xor)");if(o.length===0)return e.write("return INVALID;"),i;if(o.length===1)return G(e,t,o[0],i);if(o.every(u=>u._zod.def.type==="literal"&&!u._zod.def.checks?.length)){let u=new Set(o.flatMap(l=>l._zod.def.values)),c=O(t,u);return e.write(`if (!${c}.has(${i})) return INVALID;`),i}let s=E(t);e.write(`let ${s};`);for(let u=0;u<o.length;u++){let c=o[u];u===0?e.write(`${s} = (() => {`):e.write(`if (${s} === INVALID) ${s} = (() => {`),e.indented(l=>{let p=G(l,t,c,i);l.write(`return ${p};`)}),e.write("})();")}return e.write(`if (${s} === INVALID) return INVALID;`),s}function Gk(e,t,r,i){if(r.unionFallback)throw new L("discriminated union with unionFallback");if(r.options.length===0)return e.write("return INVALID;"),i;let n=E(t),o=E(t);e.write(`const ${n} = ${i}?.[${ie(r.discriminator)}];`),e.write(`let ${o};`);let a=!0,s=new Set;for(let u of r.options){let c=u._zod.propValues?.[r.discriminator];if(!c||c.size===0)throw new L("discriminated union option without static discriminator values");for(let m of c){if(s.has(m))throw new L(`duplicate discriminator value ${String(m)}`);s.add(m)}let l=Array.from(c,m=>Hk(t,n,m)),p=a?"if":"else if";e.write(`${p} (${l.join(" || ")}) {`),e.indented(m=>{let f=G(m,t,u,i);m.write(`${o} = ${f};`)}),e.write("}"),a=!1}return e.write("else { return INVALID; }"),o}function Hk(e,t,r){if(typeof r=="string")return`${t} === ${ie(r)}`;if(typeof r=="number")return Number.isNaN(r)?`Number.isNaN(${t})`:`${t} === ${r}`;if(typeof r=="boolean")return`${t} === ${r}`;if(r===null)return`${t} === null`;if(r===void 0)return`${t} === undefined`;if(typeof r=="bigint")return`${t} === ${r}n`;if(typeof r=="symbol"){let i=O(e,r);return`${t} === ${i}`}throw new L(`literal discriminator value ${String(r)}`)}function Jk(e,t,r,i){let n=r._zod.def;t.definite=!1;let o=re(e,t,n.left,i),a=re(e,t,n.right,i),s=O(t,rn),u=E(t);return e.write(`const ${u} = ${s}(${o}, ${a});`),e.write(`if (!${u}.valid) return INVALID;`),`${u}.data`}function Yk(e,t,r,i){let n=r._zod.def,o=O(t,be);e.write(`if (!${o}(${i})) return INVALID;`);let a=E(t),s=E(t),u=E(t);e.write(`const ${a} = {};`);let c=n,l=c.partial?void 0:n.keyType._zod.values;if(l){let f=[];for(let $ of l){if(!(typeof $=="string"||typeof $=="number"||typeof $=="symbol"))throw new L(`record key value ${String($)}`);let k=typeof $=="number"?$.toString():$;if(k==="__proto__")throw new L('record key "__proto__"');f.push(k);let I=O(t,$),S=G(e,t,n.keyType,I),A=E(t);e.write(`const ${A} = ${i}[${Xk(t,k)}];`);let D=re(e,t,n.valueType,A);e.write(`${a}[${S}] = ${D};`)}let y=O(t,new Set(f));return e.write(`for (const ${s} in ${i}) {`),e.indented($=>{$.write(`if (${y}.has(${s})) continue;`),c.mode==="loose"?$.write(`if (${s} !== "__proto__") ${a}[${s}] = ${i}[${s}];`):$.write("return INVALID;")}),e.write("}"),a}let p=n.keyType._zod.def;if(!(p.type==="string"&&p.format===void 0&&!p.coerce&&(p.checks?.length??0)===0)){let f=n.mode==="loose",y=Ei(n.keyType);y.definite===!1&&(t.definite=!1);let $=O(t,y),k=O(t,Ve),I=E(t);return qh(e,t,i,s,S=>{S.write(`let ${I} = ${$}(${s});`),S.write(`if (${I} === INVALID && typeof ${s} === "string" && ${k}.test(${s})) ${I} = ${$}(Number(${s}));`),f?S.write(`if (${I} === INVALID) { ${a}[${s}] = ${i}[${s}]; continue; }`):S.write(`if (${I} === INVALID) return INVALID;`),S.write(`if (${I} === "__proto__") continue;`);let A=E(t);S.write(`const ${A} = ${i}[${s}];`);let D=re(S,t,n.valueType,A);S.write(`${a}[${I}] = ${D};`)}),a}return qh(e,t,i,s,f=>{f.write(`const ${u} = ${i}[${s}];`);let y=re(f,t,n.valueType,u);f.write(`${a}[${s}] = ${y};`)},"return INVALID;"),a}function qh(e,t,r,i,n,o){let a=O(t,Object.prototype.propertyIsEnumerable),s=E(t),u=E(t),c=E(t);e.write(`const ${s} = Object.getOwnPropertySymbols(${r});`),e.write(`const ${u} = Object.getOwnPropertyNames(${r});`),e.write(`for (let ${c} = 0; ${c} < ${u}.length; ${c}++) {`),e.indented(l=>{l.write(`const ${i} = ${u}[${c}];`),l.write(`if (${i} === "__proto__" || !${a}.call(${r}, ${i})) continue;`),n(l)}),e.write("}"),e.write(`for (let ${c} = 0; ${c} < ${s}.length; ${c}++) {`),e.indented(l=>{l.write(`const ${i} = ${s}[${c}];`),l.write(`if (!${a}.call(${r}, ${i})) continue;`),o?l.write(o):n(l)}),e.write("}")}function Xk(e,t){return typeof t=="string"?ie(t):O(e,t)}function Qk(e,t,r,i){let n=r._zod.def;e.write(`if (!(${i} instanceof Map)) return INVALID;`),Sl(e,r,`${i}.size`);let o=E(t),a=E(t),s=E(t);return e.write(`const ${o} = new Map();`),e.write(`for (const [${a}, ${s}] of ${i}) {`),e.indented(u=>{let c=G(u,t,n.keyType,a),l=G(u,t,n.valueType,s);u.write(`${o}.set(${c}, ${l});`)}),e.write("}"),o}function eS(e,t,r,i){let n=r._zod.def;e.write(`if (!(${i} instanceof Set)) return INVALID;`),Sl(e,r,`${i}.size`);let o=E(t),a=E(t);return e.write(`const ${o} = new Set();`),e.write(`for (const ${a} of ${i}) {`),e.indented(s=>{let u=G(s,t,n.valueType,a);s.write(`${o}.add(${u});`)}),e.write("}"),o}function tS(e,t){return e.write(`if (!(${t} instanceof File)) return INVALID;`),t}function nS(e,t,r,i){e.write(`if (typeof ${i} !== "string") return INVALID;`);let n=r._zod.pattern;if(n){let o=O(t,n);e.write(`${o}.lastIndex = 0;`),e.write(`if (!${o}.test(${i})) return INVALID;`)}return i}function rS(e,t,r,i){let n=r._zod.def,o=xt(t,n.getter),a=O(t,{parser:null});e.write(`if (!${a}.parser) {`),e.indented(u=>{u.write(`const inner = ${o}();`),u.write(`${a}.parser = function(input) {`),u.indented(c=>{c.write("const result = inner._zod.run({ value: input, issues: [] }, {});"),c.write("return result.issues.length === 0 ? result.value : INVALID;")}),u.write("};")}),e.write("}");let s=E(t);return e.write(`const ${s} = ${a}.parser(${i});`),e.write(`if (${s} === INVALID) return INVALID;`),s}function oS(e,t,r,i){let n=r._zod.def,o=G(e,t,n.in,i);if(n.transform){if(wt(n.transform))throw new Pe("z.compile: async transforms in pipes are not supported");let a=n.transform,u=xt(t,l=>{let p={value:l,issues:[],addIssue:kl},m=a(l,p);return m instanceof Promise?se:p.issues.length===0?m:se}),c=E(t);return e.write(`const ${c} = ${u}(${o});`),e.write(`if (${c} === INVALID) return INVALID;`),G(e,t,n.out,c)}else return G(e,t,n.out,o)}function wt(e){return typeof e=="function"&&(e.constructor.name==="AsyncFunction"||e[Symbol.toStringTag]==="AsyncFunction")}function iS(e,t,r,i){let n=r._zod.def;if(n.fn){if(wt(n.fn))throw new Pe("z.compile: async custom predicates are not supported");let o=xt(t,n.fn),a=O(t,$l),s=E(t);e.write(`const ${s} = ${o}(${i});`),e.write(`if (${s} instanceof Promise) ${a}();`),e.write(`if (!${s}) return INVALID;`)}else throw new L("custom schema without a predicate function");return i}function aS(e,t,r){let i=e._zod.run({value:r,issues:[]},{});if(i&&typeof i.then=="function")return se;let n=i;return n.issues.length===0?n.value:t()}function sS(e,t,r,i){let n=r._zod.def;if(!n.catchValue[No])throw new L("catch with a callback (only a constant catch value compiles)",!1);let o=E(t);e.write(`let ${o} = (() => {`),e.indented(c=>{let l=re(c,t,n.innerType,i);c.write(`return ${l};`)}),e.write("})();");let a=O(t,n.innerType),s=xt(t,n.catchValue),u=O(t,aS);return e.write(`if (${o} === INVALID) {`),e.indented(c=>{c.write(`${o} = ${u}(${a}, ${s}, ${i});`),c.write(`if (${o} === INVALID) return INVALID;`)}),e.write("}"),o}function uS(e,t,r,i){let n=r._zod.def;if(n.transform){if(wt(n.transform))throw new Pe("z.compile: async transforms are not supported");let o=n.transform,s=xt(t,c=>{let l={value:c,issues:[],addIssue:kl},p=o(c,l);return p instanceof Promise?se:l.issues.length===0?p:se}),u=E(t);return e.write(`const ${u} = ${s}(${i});`),e.write(`if (${u} === INVALID) return INVALID;`),u}return i}d();function Oi(e){return e.checks&&(e.checks=[...e.checks]),e}function Il(e,t){return new e(Oi({type:"string",...w(t)}))}function Pl(e,t){return new e(Oi({type:"string",coerce:!0,...w(t)}))}function zi(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...w(t)})}function Ci(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...w(t)})}function Ri(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...w(t)})}function Ni(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...w(t)})}function Di(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...w(t)})}function ji(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...w(t)})}function Pr(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...w(t)})}function Li(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...w(t)})}function Mi(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...w(t)})}function Ui(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...w(t)})}function Fi(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...w(t)})}function Zi(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...w(t)})}function Vi(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...w(t)})}function Bi(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...w(t)})}function Wi(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...w(t)})}function Ki(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...w(t)})}function Tl(e,t){return new e({type:"string",format:"mac",check:"string_format",abort:!1,...w(t)})}function qi(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...w(t)})}function Gi(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...w(t)})}function Hi(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...w(t)})}function Ji(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...w(t)})}function Yi(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...w(t)})}function Al(e,t){return new e({type:"string",format:"credit_card",check:"string_format",abort:!1,...w(t)})}function El(e,t){return new e({type:"string",format:"iban",check:"string_format",abort:!1,...w(t)})}function Xi(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...w(t)})}var Ol={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function Tr(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...w(t)})}function Ar(e,t){return new e({type:"string",format:"date",check:"string_format",...w(t)})}function Er(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...w(t)})}function Or(e,t){return new e({type:"string",format:"duration",check:"string_format",...w(t)})}function zl(e,t){return new e(Oi({type:"number",checks:[],...w(t)}))}function Cl(e,t){return new e(Oi({type:"number",coerce:!0,checks:[],...w(t)}))}function Rl(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...w(t)})}function Nl(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...w(t)})}function Dl(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...w(t)})}function jl(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...w(t)})}function Ll(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...w(t)})}function Ml(e,t){return new e({type:"boolean",...w(t)})}function Ul(e,t){return new e({type:"boolean",coerce:!0,...w(t)})}function Fl(e,t){return new e({type:"bigint",...w(t)})}function Zl(e,t){return new e({type:"bigint",coerce:!0,...w(t)})}function Vl(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...w(t)})}function Bl(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...w(t)})}function Wl(e,t){return new e({type:"symbol",...w(t)})}function Kl(e,t){return new e({type:"undefined",...w(t)})}function ql(e,t){return new e({type:"null",...w(t)})}function Gl(e){return new e({type:"any"})}function Hl(e){return new e({type:"unknown"})}function Jl(e,t){return new e({type:"never",...w(t)})}function Yl(e,t){return new e({type:"void",...w(t)})}function Xl(e,t){return new e({type:"date",...w(t)})}function Ql(e,t){return new e({type:"date",coerce:!0,...w(t)})}function ed(e,t){return new e({type:"nan",...w(t)})}function Oe(e,t){return new Yo({check:"less_than",...w(t),value:e,inclusive:!1})}function ve(e,t){return new Yo({check:"less_than",...w(t),value:e,inclusive:!0})}function ze(e,t){return new Xo({check:"greater_than",...w(t),value:e,inclusive:!1})}function ye(e,t){return new Xo({check:"greater_than",...w(t),value:e,inclusive:!0})}function Qi(e){return ze(0,e)}function ea(e){return Oe(0,e)}function ta(e){return ve(0,e)}function na(e){return ye(0,e)}function Qe(e,t){return new Du({check:"multiple_of",...w(t),value:e})}function et(e,t){return new Mu({check:"max_size",...w(t),maximum:e})}function Ce(e,t){return new Uu({check:"min_size",...w(t),minimum:e})}function kt(e,t){return new Fu({check:"size_equals",...w(t),size:e})}function St(e,t){return new Zu({check:"max_length",...w(t),maximum:e})}function Be(e,t){return new Vu({check:"min_length",...w(t),minimum:e})}function It(e,t){return new Bu({check:"length_equals",...w(t),length:e})}function un(e,t){return new Wu({check:"string_format",format:"regex",...w(t),pattern:e})}function cn(e){return new Ku({check:"string_format",format:"lowercase",...w(e)})}function ln(e){return new qu({check:"string_format",format:"uppercase",...w(e)})}function dn(e,t){return new Gu({check:"string_format",format:"includes",...w(t),includes:e})}function pn(e,t){return new Hu({check:"string_format",format:"starts_with",...w(t),prefix:e})}function mn(e,t){return new Ju({check:"string_format",format:"ends_with",...w(t),suffix:e})}function ra(e,t,r){return new Yu({check:"property",property:e,schema:t,...w(r)})}function fn(e,t){return new Xu({check:"properties",shape:e,...w(t)})}function gn(e,t){return new Qu({check:"mime_type",mime:e,...w(t)})}function Te(e){return new ec({check:"overwrite",tx:e})}function hn(e){return Te(t=>t.normalize(e))}function vn(){return Te(e=>e.trim())}function yn(){return Te(e=>e.toLowerCase())}function _n(){return Te(e=>e.toUpperCase())}function bn(){return Te(e=>Ls(e))}function td(e,t,r){return new e({type:"array",element:t,...w(r)})}function cS(e,t,r){return new e({type:"union",options:t,...w(r)})}function lS(e,t,r){return new e({type:"union",options:t,inclusive:!1,...w(r)})}function dS(e,t,r,i){return new e({type:"union",options:r,discriminator:t,...w(i)})}function pS(e,t,r){return new e({type:"intersection",left:t,right:r})}function mS(e,t,r,i){let n=r instanceof z,o=n?i:r,a=n?r:null;return new e({type:"tuple",items:t,rest:a,...w(o)})}function fS(e,t,r,i){return new e({type:"record",keyType:t,valueType:r,...w(i)})}function gS(e,t,r,i){return new e({type:"map",keyType:t,valueType:r,...w(i)})}function hS(e,t,r){return new e({type:"set",valueType:t,...w(r)})}function vS(e,t,r){let i=Array.isArray(t)?Object.fromEntries(t.map(n=>[n,n])):t;return new e({type:"enum",entries:i,...w(r)})}function yS(e,t,r){return new e({type:"enum",entries:t,...w(r)})}function _S(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],...w(r)})}function nd(e,t){return new e({type:"file",...w(t)})}function bS(e,t){return new e({type:"transform",transform:t})}function $S(e,t){return new e({type:"optional",innerType:t})}function xS(e,t){return new e({type:"nullable",innerType:t})}function wS(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return typeof r=="function"?r():Yn(r)}})}function kS(e,t,r){return new e({type:"nonoptional",innerType:t,...w(r)})}function SS(e,t){return new e({type:"success",innerType:t})}function IS(e,t,r){return new e({type:"catch",innerType:t,catchValue:typeof r=="function"?r:Bs(r)})}function PS(e,t,r){return new e({type:"pipe",in:t,out:r})}function TS(e,t){return new e({type:"readonly",innerType:t})}function AS(e,t,r){return new e({type:"template_literal",parts:t,...w(r)})}function ES(e,t){return new e({type:"lazy",getter:t})}function OS(e,t){return new e({type:"promise",innerType:t})}function rd(e,t,r){let i=w(r);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:t,...i})}function od(e,t,r){return new e({type:"custom",check:"custom",fn:t,...w(r)})}function id(e,t){let r=Yh(i=>(i.addIssue=n=>{if(typeof n=="string")i.issues.push(Yt(n,i.value,r._zod.def));else{let o=n;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),"input"in o||(o.input=i.value),o.inst??(o.inst=r),o.continue??(o.continue=!r._zod.def.abort),i.issues.push(Yt(o))}},e(i.value,i)),t);return r}function Yh(e,t){let r=new W({check:"custom",...w(t)});return r._zod.check=e,r}function ad(e){let t=new W({check:"describe"});return t._zod.onattach=[r=>{let i=ee.get(r)??{};ee.add(r,{...i,description:e})}],t._zod.check=()=>{},t}function sd(e){let t=new W({check:"meta"});return t._zod.onattach=[r=>{let i=ee.get(r)??{};ee.add(r,{...i,...e})}],t._zod.check=()=>{},t}function ud(e,t){let r=w(t),i=r.truthy??["true","1","yes","on","y","enabled"],n=r.falsy??["false","0","no","off","n","disabled"];r.case!=="sensitive"&&(i=i.map(f=>typeof f=="string"?f.toLowerCase():f),n=n.map(f=>typeof f=="string"?f.toLowerCase():f));let o=new Set(i),a=new Set(n),s=e.Codec??br,u=e.Boolean??yr,c=e.String??bt,l=new c({type:"string",error:r.error}),p=new u({type:"boolean",error:r.error}),m=new s({type:"pipe",in:l,out:p,transform:((f,y)=>{let $=f;return r.case!=="sensitive"&&($=$.toLowerCase()),o.has($)?!0:a.has($)?!1:(y.issues.push({code:"invalid_value",expected:"stringbool",values:[...o,...a],input:y.value,inst:m,continue:!1}),{})}),reverseTransform:((f,y)=>f===!0?i[0]||"true":n[0]||"false"),error:r.error});return m._zod.bag.truthy=i,m._zod.bag.falsy=n,m._zod.bag.case=r.case??"insensitive",m}function Pt(e,t,r,i={}){let n=w(i),o={check:"string_format",type:"string",format:t,fn:typeof r=="function"?r:s=>r.test(s),...n};return r instanceof RegExp&&(o.pattern=r),new e(o)}d();function zr(e,...t){for(let r of t)for(let i of Reflect.ownKeys(r))Object.prototype.propertyIsEnumerable.call(r,i)&&Q(e,i,r[i]);return e}function tt(e){let t=e?.target??"draft-2020-12";return t==="draft-4"&&(t="draft-04"),t==="draft-7"&&(t="draft-07"),{processors:e.processors??{},metadataRegistry:e?.metadata??ee,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,sharedDefsExtractedFor:void 0,sharedEmitDoneFor:void 0,cycles:e?.cycles??"ref",reused:e?.reused??"inline",intersections:[],deferred:[],external:e?.external??void 0}}function J(e,t,r,i,n){let o=typeof t.unrepresentable=="function"?t.unrepresentable({zodSchema:e,path:i.path,message:n}):t.unrepresentable;if(o==="any")return!1;if(o===void 0||o==="throw")throw new Error(n);return Object.assign(r,o),!0}function V(e,t,r={path:[],schemaPath:[]}){var i;let n=e._zod.def,o=t.seen.get(e);if(o)return o.count++,r.schemaPath.includes(e)&&(o.cycle=r.path),o.schema;let a={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,a),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;let s=e._zod.toJSONSchema?.();if(s)a.schema=s;else{let l={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,a.schema,l);else{let m=a.schema,f=t.processors[n.type];if(!f)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${n.type}`);f(e,t,m,l)}let p=e._zod.parent;p&&(a.ref||(a.ref=p),V(p,t,l),t.seen.get(p).isParent=!0)}let u=t.metadataRegistry.get(e);return u&&zr(a.schema,u),t.io==="input"&&ue(e)&&(delete a.schema.examples,delete a.schema.default),t.io==="input"&&"_prefault"in a.schema&&((i=a.schema).default??(i.default=a.schema._prefault)),delete a.schema._prefault,t.seen.get(e).schema}function Xh(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}function nt(e,t){let r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");if(e.external&&e.sharedDefsExtractedFor===e.external)return;let i=new Map;for(let a of e.seen.entries()){let s=e.metadataRegistry.get(a[0])?.id;if(s){let u=i.get(s);if(u&&u!==a[0])throw new Error(`Duplicate schema id "${s}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);i.set(s,a[0])}}let n=a=>{let s=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){let p=e.external.registry.get(a[0])?.id,m=e.external.uri??(y=>y);if(p)return{ref:m(p)};let f=a[1].defId??a[1].schema.id??`schema${e.counter++}`;return a[1].defId=f,{defId:f,ref:`${m("__shared")}#/${s}/${Xh(f)}`}}let u="#",c=`${u}/${s}/`;if(a[1]===r&&!a[1].schema.id)return{ref:u};let l=a[1].schema.id??`__schema${e.counter++}`;return{defId:l,ref:c+Xh(l)}},o=a=>{if(a[1].schema.$ref)return;let s=a[1],{ref:u,defId:c}=n(a);s.def={...s.schema},c&&(s.defId=c);let l=s.schema;for(let p in l)delete l[p];l.$ref=u};if(e.cycles==="throw")for(let a of e.seen.entries()){let s=a[1];if(s.cycle)throw new Error(`Cycle detected: #/${s.cycle?.join("/")}/<root>
78
78
 
79
- Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let s=a[1];if(t===a[0]){o(a);continue}if(e.external){let c=e.external.registry.get(a[0])?.id;if(t!==a[0]&&c){o(a);continue}}if(e.metadataRegistry.get(a[0])?.id){o(a);continue}if(s.cycle){o(a);continue}s.count>1&&e.reused==="ref"&&o(a)}e.external&&(e.sharedDefsExtractedFor=e.external)}function tv(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let r=[];for(let i of t){if(!i||typeof i!="object")return;tv(i);let n=Object.keys(i);if(n.length!==1||n[0]!=="type")return;let o=i.type;for(let a of Array.isArray(o)?o:[o]){if(typeof a!="string")return;r.includes(a)||r.push(a)}}delete e.anyOf,e.type=r.length===1?r[0]:r}var nv=new Set(["type","properties","required","additionalProperties"]),Qh=["oneOf","anyOf"];function ev(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!="object"||t===null?null:Object.keys(t).length?t:null}function cd(e){let t=[];for(let o of e){if(typeof o!="object"||o.type!=="object")return null;for(let a in o)if(!nv.has(a))return null;t.push(o)}let r={},i=new Set;for(let o of t){for(let a in o.properties){if(Object.prototype.hasOwnProperty.call(r,a))continue;let s=[];for(let c of t){let l=c.properties?.[a]??ev(c);l!=null&&(s.some(p=>JSON.stringify(p)===JSON.stringify(l))||s.push(l))}let u=s.length===1?s[0]:cd(s)??{allOf:s};Q(r,a,u)}for(let a of o.required??[])i.add(a)}let n={type:"object",properties:r};if(i.size&&(n.required=[...i]),t.every(o=>o.additionalProperties===!1))n.additionalProperties=!1;else{let o=[];for(let a of t){let s=ev(a);s&&!o.some(u=>JSON.stringify(u)===JSON.stringify(s))&&o.push(s)}o.length===1?n.additionalProperties=o[0]:o.length>1&&(n.additionalProperties={allOf:o})}return n}function zS(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let n of nv)if(n in e)return;let r=t.filter(n=>Qh.some(o=>Array.isArray(n[o]))),i=null;if(!r.length)i=cd(t);else{let n=r[0],o=Qh.find(u=>Array.isArray(n[u]));if(Object.keys(n).length!==1)return;let a=t.filter(u=>u!==n),s=n[o].map(u=>cd([...a,u]));if(s.some(u=>!u))return;i={[o]:s}}i&&(delete e.allOf,zr(e,i))}function rt(e,t){let r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=s=>{let u=e.seen.get(s);if(u.ref===null)return;let c=u.def??u.schema,l={...c},p=u.ref;if(u.ref=null,p){i(p);let f=e.seen.get(p),y=f.schema;if(y.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(c.allOf=c.allOf??[],c.allOf.push(y)):zr(c,y),zr(c,l),s._zod.parent===p)for(let k in c)k==="$ref"||k==="allOf"||k in l||delete c[k];if(y.$ref&&f.def)for(let k in c)k==="$ref"||k==="allOf"||k in f.def&&JSON.stringify(c[k])===JSON.stringify(f.def[k])&&delete c[k]}let m=s._zod.parent;if(m&&m!==p){i(m);let f=e.seen.get(m);if(f?.schema.$ref&&(c.$ref=f.schema.$ref,f.def))for(let y in c)y==="$ref"||y==="allOf"||y in f.def&&JSON.stringify(c[y])===JSON.stringify(f.def[y])&&delete c[y]}e.override({zodSchema:s,jsonSchema:c,path:u.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let s of[...e.seen.entries()].reverse())i(s[0]);if(e.target!=="openapi-3.0")for(let s of e.seen.entries())tv(s[1].def??s[1].schema);for(let s of e.deferred)s();if(e.intersections.length){let s=new Map;for(let u of e.seen.values())for(let c of[u.schema,u.def]){let l=c?.allOf;if(!Array.isArray(l))continue;let p=s.get(l);p?p.push(c):s.set(l,[c])}for(let u of e.intersections)for(let c of s.get(u)??[])zS(c)}}let n={};if(e.target==="draft-2020-12"?n.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?n.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?n.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let s=e.external.registry.get(t)?.id;if(!s)throw new Error("Schema is missing an `id` property");n.$id=e.external.uri(s)}zr(n,r.defId?r.schema:r.def??r.schema);let o=e.metadataRegistry.get(t)?.id;o!==void 0&&n.id===o&&delete n.id;let a=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let s of e.seen.entries()){let u=s[1];u.def&&u.defId&&(u.def.id===u.defId&&delete u.def.id,Q(a,u.defId,u.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(a).length>0&&(e.target==="draft-2020-12"?n.$defs=a:n.definitions=a);try{let s=JSON.parse(JSON.stringify(n));return Object.defineProperty(s,"~standard",{value:{...t["~standard"],jsonSchema:{input:$n(t,"input",e.processors),output:$n(t,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}function ue(e,t){let r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);let i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return ue(i.element,r);if(i.type==="set")return ue(i.valueType,r);if(i.type==="lazy")return ue(i.getter(),r);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault"||i.type==="catch")return ue(i.innerType,r);if(i.type==="intersection")return ue(i.left,r)||ue(i.right,r);if(i.type==="record"||i.type==="map")return ue(i.keyType,r)||ue(i.valueType,r);if(i.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:ue(i.in,r)||ue(i.out,r);if(i.type==="object"){for(let n in i.shape)if(ue(i.shape[n],r))return!0;return!1}if(i.type==="union"){for(let n of i.options)if(ue(n,r))return!0;return!1}if(i.type==="tuple"){for(let n of i.items)if(ue(n,r))return!0;return!!(i.rest&&ue(i.rest,r))}return!1}var ld=(e,t={})=>r=>{let i=tt({...r,processors:t});return V(e,i),nt(i,e),rt(i,e)},$n=(e,t,r={})=>i=>{let{libraryOptions:n,target:o}=i??{},a=tt({...n??{},target:o,io:t,processors:r});return V(e,a),nt(a,e),rt(a,e)};d();var xn=(e,t,r)=>{(e[t]===void 0||r>e[t])&&(e[t]=r)},wn=(e,t,r)=>{(e[t]===void 0||r<e[t])&&(e[t]=r)},rv=(e,t)=>{xn(e,"minimum",t),wn(e,"maximum",t)},sv=(e,t)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(t)||e.multipleOf.push(t)},uv=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},cv=(e,t)=>{e.mime=e.mime?e.mime.filter(r=>t.includes(r)):[...t]},lv=(e,t)=>{e.format=t,t.includes("int")&&(e.isInt=!0)},ov=(e,t)=>xn(e,"minimum",t.minimum),iv=(e,t)=>wn(e,"maximum",t.maximum),av=e=>(t,r)=>{lv(t,r.format);let[i,n]=e[r.format];xn(t,"minimum",i),wn(t,"maximum",n)},CS={greater_than:(e,t)=>xn(e,t.inclusive?"minimum":"exclusiveMinimum",t.value),less_than:(e,t)=>wn(e,t.inclusive?"maximum":"exclusiveMaximum",t.value),multiple_of:(e,t)=>sv(e,t.value),number_format:av(Qn),bigint_format:av(er),min_length:ov,max_length:iv,length_equals:(e,t)=>rv(e,t.length),min_size:ov,max_size:iv,size_equals:(e,t)=>rv(e,t.size),string_format:(e,t)=>{lv(e,t.format),t.pattern&&uv(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)=>cv(e,t.mime)};function Y(e){let t={},r=e._zod.def,i=e._zod.traits.has("$ZodCheck")?[e,...r.checks??[]]:r.checks??[];for(let o of i)CS[o._zod.def.check]?.(t,o._zod.def);let n=e._zod.bag;n.minimum!==void 0&&xn(t,"minimum",n.minimum),n.exclusiveMinimum!==void 0&&xn(t,"exclusiveMinimum",n.exclusiveMinimum),n.maximum!==void 0&&wn(t,"maximum",n.maximum),n.exclusiveMaximum!==void 0&&wn(t,"exclusiveMaximum",n.exclusiveMaximum),n.multipleOf!==void 0&&sv(t,n.multipleOf),n.format!==void 0&&(t.format??(t.format=n.format),n.format.includes("int")&&(t.isInt=!0)),n.mime&&cv(t,n.mime);for(let o of n.patterns??[])uv(t,o);return t}var RS={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},NS=new Map([[ui,hu],[vr,vu]]),dv=e=>NS.get(e)??e,md=(e,t,r,i)=>{let n=r;n.type="string";let{minimum:o,maximum:a,format:s,patterns:u,contentEncoding:c,laxFormat:l}=Y(e);if(typeof o=="number"&&(n.minLength=o),typeof a=="number"&&(n.maxLength=a),s&&(n.format=RS[s]??s,n.format===""&&delete n.format,(s==="time"||l)&&delete n.format),c&&(n.contentEncoding=c),u&&u.size>0){let p=[...u].map(dv);p.length===1?n.pattern=p[0].source:p.length>1&&(n.allOf=[...p.map(m=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:m.source}))])}},fd=(e,t,r,i)=>{let n=r,{minimum:o,maximum:a,multipleOf:s,exclusiveMaximum:u,exclusiveMinimum:c,isInt:l}=Y(e);n.type=l?"integer":"number";let p=typeof c=="number"&&c>=(o??Number.NEGATIVE_INFINITY),m=typeof u=="number"&&u<=(a??Number.POSITIVE_INFINITY),f=t.target==="draft-04"||t.target==="openapi-3.0";if(p?f?(n.minimum=c,n.exclusiveMinimum=!0):n.exclusiveMinimum=c:typeof o=="number"&&(n.minimum=o),m?f?(n.maximum=u,n.exclusiveMaximum=!0):n.exclusiveMaximum=u:typeof a=="number"&&(n.maximum=a),s){let y=new Set;for(let I of s)Number.isFinite(I)&&I!==0?y.add(Math.abs(I)):J(e,t,n,i,`A multipleOf divisor of ${I} cannot be represented in JSON Schema`);let[$,...k]=y;$!==void 0&&(n.multipleOf=$),k.length&&(n.allOf=[...n.allOf??[],...k.map(I=>({multipleOf:I}))])}},gd=(e,t,r,i)=>{r.type="boolean"},hd=(e,t,r,i)=>{J(e,t,r,i,"BigInt cannot be represented in JSON Schema")},vd=(e,t,r,i)=>{J(e,t,r,i,"Symbols cannot be represented in JSON Schema")},yd=(e,t,r,i)=>{t.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},_d=(e,t,r,i)=>{J(e,t,r,i,"Undefined cannot be represented in JSON Schema")},bd=(e,t,r,i)=>{J(e,t,r,i,"Void cannot be represented in JSON Schema")},$d=(e,t,r,i)=>{r.not={}},xd=(e,t,r,i)=>{},wd=(e,t,r,i)=>{},kd=(e,t,r,i)=>{J(e,t,r,i,"Date cannot be represented in JSON Schema")},Sd=(e,t,r,i)=>{let n=e._zod.def,o=Kt(n.entries);if(o.length===0){r.not={};return}o.every(a=>typeof a=="number")&&(r.type="number"),o.every(a=>typeof a=="string")&&(r.type="string"),r.enum=o},Id=(e,t,r,i)=>{let n=e._zod.def;if(n.values.length===0){r.not={};return}let o=[];for(let a of n.values)if(a===void 0){if(J(e,t,r,i,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof a=="bigint"){if(J(e,t,r,i,"BigInt literals cannot be represented in JSON Schema"))return;o.push(Number(a))}else o.push(a);if(o.length!==0)if(o.length===1){let a=o[0];r.type=a===null?"null":typeof a,t.target==="draft-04"||t.target==="openapi-3.0"?r.enum=[a]:r.const=a}else o.every(a=>typeof a=="number")&&(r.type="number"),o.every(a=>typeof a=="string")&&(r.type="string"),o.every(a=>typeof a=="boolean")&&(r.type="boolean"),o.every(a=>a===null)&&(r.type="null"),r.enum=o},Pd=(e,t,r,i)=>{J(e,t,r,i,"NaN cannot be represented in JSON Schema")},Td=(e,t,r,i)=>{let n=r,o=e._zod.pattern;if(!o)throw new Error("Pattern not found in template literal");n.type="string",n.pattern=o.source},Ad=(e,t,r,i)=>{let n=r;n.type="string",n.format="binary",n.contentEncoding="binary";let{minimum:o,maximum:a,mime:s}=Y(e);o!==void 0&&(n.minLength=o),a!==void 0&&(n.maxLength=a),s&&(s.length===0?n.not={}:s.length===1?n.contentMediaType=s[0]:n.anyOf=s.map(u=>({contentMediaType:u})))},Ed=(e,t,r,i)=>{r.type="boolean"},Od=(e,t,r,i)=>{J(e,t,r,i,"Custom types cannot be represented in JSON Schema")},zd=(e,t,r,i)=>{J(e,t,r,i,"Function types cannot be represented in JSON Schema")},Cd=(e,t,r,i)=>{J(e,t,r,i,"Transforms cannot be represented in JSON Schema")},Rd=(e,t,r,i)=>{J(e,t,r,i,"Map cannot be represented in JSON Schema")},Nd=(e,t,r,i)=>{J(e,t,r,i,"Set cannot be represented in JSON Schema")},Dd=(e,t,r,i)=>{let n=r,o=e._zod.def,{minimum:a,maximum:s}=Y(e);typeof a=="number"&&(n.minItems=a),typeof s=="number"&&(n.maxItems=s),n.type="array",n.items=V(o.element,t,{...i,path:[...i.path,"items"]})};function Cr(e){let t=e._zod.def;return t.type==="pipe"&&t.in._zod.traits.has("$ZodTransform")?Cr(t.out):t.type==="catch"?Cr(t.innerType):e._zod.optin}var jd=(e,t,r,i)=>{let n=r,o=e._zod.def,a=o.shape;if(Object.getOwnPropertySymbols(a).length&&J(e,t,n,i,"Symbol keys cannot be represented in JSON Schema"))return;n.type="object",n.properties={};for(let c in a)Q(n.properties,c,V(a[c],t,{...i,path:[...i.path,"properties",c]}));let u=[];for(let c of Object.keys(a)){let l=o.shape[c];(t.io==="input"?Cr(l)===void 0:l._zod.optout===void 0)&&u.push(c)}u.length>0&&(n.required=u),o.catchall?._zod.def.type==="never"?n.additionalProperties=!1:o.catchall?o.catchall&&(n.additionalProperties=V(o.catchall,t,{...i,path:[...i.path,"additionalProperties"]})):t.io==="output"&&(n.additionalProperties=!1)},ia=(e,t,r,i)=>{let n=e._zod.def,o=n.inclusive===!1,a=n.options.map((s,u)=>V(s,t,{...i,path:[...i.path,o?"oneOf":"anyOf",u]}));o?r.oneOf=a:r.anyOf=a},Ld=(e,t,r,i)=>{let n=e._zod.def,o=V(n.left,t,{...i,path:[...i.path,"allOf",0]}),a=V(n.right,t,{...i,path:[...i.path,"allOf",1]}),s=c=>"allOf"in c&&Object.keys(c).length===1,u=[...s(o)?o.allOf:[o],...s(a)?a.allOf:[a]];r.allOf=u,t.intersections.push(u)},Md=(e,t,r,i)=>{let n=r,o=e._zod.def;n.type="array";let a=t.target==="draft-2020-12"?"prefixItems":"items",s=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",u=o.items.map(($,k)=>V($,t,{...i,path:[...i.path,a,k]})),c=o.rest?V(o.rest,t,{...i,path:[...i.path,s,...t.target==="openapi-3.0"?[o.items.length]:[]]}):null,l=o.items.length;for(;l>0;){let $=o.items[l-1];if(!(t.io==="input"?Cr($)!==void 0:$._zod.optout==="optional"))break;l--}let p=o.items.length,m=!o.rest;t.target==="draft-2020-12"?(n.prefixItems=u,m?n.items=!1:c&&(n.items=c),l>0&&(n.minItems=l),m&&(n.maxItems=p)):t.target==="openapi-3.0"?(n.items={anyOf:u},c&&n.items.anyOf.push(c),l>0&&(n.minItems=l),m&&(n.maxItems=p)):(n.items=u,m?n.additionalItems=!1:c&&(n.additionalItems=c),l>0&&(n.minItems=l),m&&(n.maxItems=p));let{minimum:f,maximum:y}=Y(e);typeof f=="number"&&(n.minItems=f),typeof y=="number"&&(n.maxItems=y)};function dd(e,t,r){if(t.$ref){if(r.has(t))return t;r.add(t);let y=e.get(t)?.def;if(!y)return t;let $=dd(e,y,r);return $===y?t:$}for(let y of["anyOf","oneOf"]){let $=t[y];if(!Array.isArray($))continue;let k=$.map(I=>dd(e,I,r));k.some((I,S)=>I!==$[S])&&(t={...t,[y]:k})}let i=Array.isArray(t.type)?t.type:[t.type],n=!i.includes("string")&&i.some(y=>y==="number"||y==="integer"),o=t.enum??(t.const!==void 0?[t.const]:void 0);if(!n&&!o?.some(y=>typeof y=="number"))return t;let{minimum:a,maximum:s,exclusiveMinimum:u,exclusiveMaximum:c,multipleOf:l,format:p,id:m,...f}=t;return f.enum?f.enum=f.enum.map(y=>typeof y=="number"?String(y):y):typeof f.const=="number"&&(f.const=String(f.const)),n&&(f.type="string",o||(f.pattern=(i.includes("number")?Ve:lr).source)),f}var pd=new WeakMap;function DS(e){let t=new Map;for(let i of e.seen.values())i.def&&!t.has(i.schema)&&t.set(i.schema,i);let r=new Map;for(let i of pd.get(e)??[]){let n=e.seen.get(i),o=(n?.def??n?.schema)?.propertyNames;if(!o||o===!0||r.has(o))continue;let a=dd(t,o,new Set);a!==o&&r.set(o,a)}if(r.size)for(let i of e.seen.values())for(let n of[i.schema,i.def]){let o=n&&r.get(n.propertyNames);o&&(n.propertyNames=o)}}var Ud=(e,t,r,i)=>{let n=r,o=e._zod.def;n.type="object";let a=o.keyType,s=Y(a).patterns;if(o.mode==="loose"&&s&&s.size>0){let l=V(o.valueType,t,{...i,path:[...i.path,"patternProperties","*"]});n.patternProperties={};for(let p of s)Q(n.patternProperties,dv(p).source,l)}else{if(t.target==="draft-07"||t.target==="draft-2020-12"){n.propertyNames=V(o.keyType,t,{...i,path:[...i.path,"propertyNames"]});let l=pd.get(t);l||(l=[],pd.set(t,l),t.deferred.push(()=>DS(t))),l.push(e)}n.additionalProperties=V(o.valueType,t,{...i,path:[...i.path,"additionalProperties"]})}let u=a._zod.values,c=t.io==="input"&&Cr(o.valueType)!==void 0;if(u&&!o.partial&&!c){let l=[...u].filter(p=>typeof p=="string"||typeof p=="number");l.length>0&&(n.required=l.map(String))}},Fd=(e,t,r,i)=>{let n=e._zod.def,o=V(n.innerType,t,i),a=t.seen.get(e);t.target==="openapi-3.0"?(a.ref=n.innerType,r.nullable=!0):r.anyOf=[o,{type:"null"}]},Zd=(e,t,r,i)=>{let n=e._zod.def;V(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType},Vd=Symbol();function pv(e,t,r,i,n){let o=!1,a=JSON.stringify(e,(s,u)=>typeof u!="bigint"?u:(o=!0,null));return o?(J(t,r,i,n,"BigInt defaults cannot be represented in JSON Schema"),Vd):JSON.parse(a)}var Bd=(e,t,r,i)=>{let n=e._zod.def;V(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType;let a=pv(n.defaultValue,e,t,r,i);a!==Vd&&(r.default=a)},Wd=(e,t,r,i)=>{let n=e._zod.def;V(n.innerType,t,i);let o=t.seen.get(e);if(o.ref=n.innerType,t.io!=="input")return;let a=pv(n.defaultValue,e,t,r,i);a!==Vd&&(r._prefault=a)},Kd=(e,t,r,i)=>{let n=e._zod.def;V(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType;let a;try{a=n.catchValue(void 0)}catch{J(e,t,r,i,"Dynamic catch values are not supported in JSON Schema");return}r.default=a},qd=(e,t,r,i)=>{let n=e._zod.def,o=n.in._zod.traits.has("$ZodTransform"),a=t.io==="input"?o?n.out:n.in:n.out;V(a,t,i);let s=t.seen.get(e);s.ref=a},Gd=(e,t,r,i)=>{let n=e._zod.def;V(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType,r.readOnly=!0},Hd=(e,t,r,i)=>{let n=e._zod.def;V(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType},aa=(e,t,r,i)=>{let n=e._zod.def;V(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType},Jd=(e,t,r,i)=>{let n=e._zod.innerType;V(n,t,i);let o=t.seen.get(e);o.ref=n},oa={string:md,number:fd,boolean:gd,bigint:hd,symbol:vd,null:yd,undefined:_d,void:bd,never:$d,any:xd,unknown:wd,date:kd,enum:Sd,literal:Id,nan:Pd,template_literal:Td,file:Ad,success:Ed,custom:Od,function:zd,transform:Cd,map:Rd,set:Nd,array:Dd,object:jd,union:ia,intersection:Ld,tuple:Md,record:Ud,nullable:Fd,nonoptional:Zd,default:Bd,prefault:Wd,catch:Kd,pipe:qd,readonly:Gd,promise:Hd,optional:aa,lazy:Jd};function sa(e,t){if("_idmap"in e){let i=e,n=tt({...t,processors:oa}),o={};for(let u of i._idmap.entries()){let[c,l]=u;V(l,n)}let a={},s={registry:i,uri:t?.uri,defs:o};n.external=s;for(let u of i._idmap.entries()){let[c,l]=u;nt(n,l),Q(a,c,rt(n,l))}if(Object.keys(o).length>0){let u=n.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[u]:o}}return{schemas:a}}let r=tt({...t,processors:oa});return V(e,r),nt(r,e),rt(r,e)}d();var ua=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let r=t?.target??"draft-2020-12";r==="draft-4"&&(r="draft-04"),r==="draft-7"&&(r="draft-07"),this.ctx=tt({processors:oa,target:r,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,r={path:[],schemaPath:[]}){return V(t,this.ctx,r)}emit(t,r){r&&(r.cycles&&(this.ctx.cycles=r.cycles),r.reused&&(this.ctx.reused=r.reused),r.external&&(this.ctx.external=r.external)),this.ctx.sharedDefsExtractedFor=void 0,this.ctx.sharedEmitDoneFor=void 0,nt(this.ctx,t);let i=rt(this.ctx,t),{"~standard":n,...o}=i;return o}};var mv={};d();var On={};De(On,{ZodAny:()=>yp,ZodArray:()=>xp,ZodBase64:()=>Pa,ZodBase64URL:()=>Ta,ZodBigInt:()=>An,ZodBigIntFormat:()=>Oa,ZodBoolean:()=>Tn,ZodCIDRv4:()=>Sa,ZodCIDRv6:()=>Ia,ZodCUID:()=>ya,ZodCUID2:()=>_a,ZodCatch:()=>Vp,ZodCodec:()=>Vr,ZodCreditCard:()=>lp,ZodCustom:()=>Br,ZodCustomStringFormat:()=>Ot,ZodDate:()=>jr,ZodDefault:()=>jp,ZodDiscriminatedUnion:()=>kp,ZodE164:()=>Aa,ZodEmail:()=>fa,ZodEmoji:()=>ha,ZodEnum:()=>Sn,ZodExactOptional:()=>Na,ZodFile:()=>Cp,ZodFunction:()=>Qp,ZodGUID:()=>ga,ZodIBAN:()=>dp,ZodIPv4:()=>wa,ZodIPv6:()=>ka,ZodISODate:()=>it,ZodISODateTime:()=>ot,ZodISODuration:()=>st,ZodISOTime:()=>at,ZodInstanceOf:()=>nm,ZodIntersection:()=>Sp,ZodJWT:()=>Ea,ZodKSUID:()=>xa,ZodLazy:()=>Jp,ZodLiteral:()=>zp,ZodMAC:()=>cp,ZodMap:()=>Ep,ZodNaN:()=>Wp,ZodNanoID:()=>va,ZodNever:()=>bp,ZodNonOptional:()=>Da,ZodNull:()=>hp,ZodNullable:()=>Dp,ZodNumber:()=>Pn,ZodNumberFormat:()=>zt,ZodObject:()=>Mr,ZodOptional:()=>Fr,ZodPipe:()=>Zr,ZodPrefault:()=>Mp,ZodPreprocess:()=>Kp,ZodPromise:()=>Xp,ZodReadonly:()=>qp,ZodRecord:()=>kn,ZodSet:()=>Op,ZodString:()=>In,ZodStringFormat:()=>B,ZodSuccess:()=>Zp,ZodSymbol:()=>fp,ZodTemplateLiteral:()=>Hp,ZodTransform:()=>Rp,ZodTuple:()=>Pp,ZodType:()=>R,ZodULID:()=>ba,ZodURL:()=>Dr,ZodUUID:()=>Re,ZodUndefined:()=>gp,ZodUnion:()=>Ur,ZodUnknown:()=>_p,ZodVoid:()=>$p,ZodXID:()=>$a,ZodXor:()=>wp,_ZodString:()=>ma,_default:()=>Lp,_function:()=>Sy,any:()=>ny,array:()=>Lr,base64:()=>Dv,base64url:()=>jv,bigint:()=>Yv,boolean:()=>mp,catch:()=>Bp,check:()=>Iy,cidrv4:()=>Rv,cidrv6:()=>Nv,codec:()=>$y,creditCard:()=>Mv,cuid:()=>Iv,cuid2:()=>Pv,currencyCode:()=>Wv,custom:()=>Py,date:()=>oy,describe:()=>Ty,discriminatedUnion:()=>ly,e164:()=>Lv,email:()=>hv,emoji:()=>kv,enum:()=>Ca,exactOptional:()=>Np,file:()=>vy,float32:()=>qv,float64:()=>Gv,function:()=>Sy,guid:()=>vv,hash:()=>Kv,hex:()=>Bv,hostname:()=>Vv,httpUrl:()=>wv,iban:()=>Uv,instanceof:()=>Ey,int:()=>da,int32:()=>Hv,int64:()=>Xv,intersection:()=>Ip,invertCodec:()=>xy,ipv4:()=>Ov,ipv6:()=>Cv,json:()=>zy,jwt:()=>Fv,keyof:()=>iy,ksuid:()=>Ev,lazy:()=>Yp,literal:()=>hy,looseObject:()=>uy,looseRecord:()=>py,mac:()=>zv,map:()=>my,meta:()=>Ay,nan:()=>by,nanoid:()=>Sv,nativeEnum:()=>gy,never:()=>za,nonoptional:()=>Fp,null:()=>vp,nullable:()=>Nr,nullish:()=>yy,number:()=>pp,object:()=>ay,optional:()=>At,partialRecord:()=>dy,pipe:()=>pa,prefault:()=>Up,preprocess:()=>Cy,promise:()=>ky,readonly:()=>Gp,record:()=>Ap,refine:()=>em,set:()=>fy,strictObject:()=>sy,string:()=>Rr,stringFormat:()=>Zv,stringbool:()=>Oy,success:()=>_y,superRefine:()=>tm,symbol:()=>ey,templateLiteral:()=>wy,transform:()=>Ra,tuple:()=>Tp,uint32:()=>Jv,uint64:()=>Qv,ulid:()=>Tv,undefined:()=>ty,union:()=>En,unknown:()=>Tt,url:()=>xv,uuid:()=>yv,uuidv4:()=>_v,uuidv6:()=>bv,uuidv7:()=>$v,void:()=>ry,xid:()=>Av,xor:()=>cy});d();var ca={};De(ca,{endsWith:()=>mn,gt:()=>ze,gte:()=>ye,includes:()=>dn,length:()=>It,lowercase:()=>cn,lt:()=>Oe,lte:()=>ve,maxLength:()=>St,maxSize:()=>et,mime:()=>gn,minLength:()=>Be,minSize:()=>Ce,multipleOf:()=>Qe,negative:()=>ea,nonnegative:()=>na,nonpositive:()=>ta,normalize:()=>hn,overwrite:()=>Te,positive:()=>Qi,properties:()=>fn,property:()=>ra,regex:()=>un,size:()=>kt,slugify:()=>bn,startsWith:()=>pn,toLowerCase:()=>yn,toUpperCase:()=>_n,trim:()=>vn,uppercase:()=>ln});d();d();d();var fv=new WeakSet([Object.prototype,Error.prototype]);function la(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let i=r(this);return Object.defineProperty(this,t,{value:i,configurable:!0,writable:!0}),i},set(i){Object.defineProperty(this,t,{value:i,configurable:!0,writable:!0})}})}var gv=(e,t)=>{Js.init(e,t),e.name="ZodError";let r=Object.getPrototypeOf(e);fv.has(r)||(fv.add(r),la(r,"format",i=>n=>ar(i,n)),la(r,"flatten",i=>n=>ir(i,n)),la(r,"addIssue",i=>n=>{i.issues.push(n),i.message=JSON.stringify(i.issues,qt,2)}),la(r,"addIssues",i=>n=>{i.issues.push(...n),i.message=JSON.stringify(i.issues,qt,2)}),Object.defineProperty(r,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},LS=h("ZodError",gv),ge=h("ZodError",gv,void 0,{Parent:Error});var Yd=Xt(ge),Xd=Qt(ge),Qd=en(ge),ep=tn(ge),tp=Mo(ge),np=Uo(ge),rp=Fo(ge),op=Zo(ge),ip=Vo(ge),ap=Bo(ge),sp=Wo(ge),up=Ko(ge);function US(){X.localeError||H(ki())}function Et(){X.memoizer||H({memoizer:kr()})}var R=h("ZodType",(e,t)=>(US(),z.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(_.mergeDefs(t,{checks:[...t.checks??[],...e.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return F(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(em(e,t))},superRefine(e,t){return this.check(tm(e,t))},overwrite(e){return this.check(Te(e))},optional(){return At(this)},exactOptional(){return Np(this)},nullable(){return Nr(this)},nullish(){return At(Nr(this))},nonoptional(e){return Fp(this,e)},array(){return Lr(this)},or(e){return En([this,e])},and(e){return Ip(this,e)},transform(e){return pa(this,Ra(e))},default(e){return Lp(this,e)},prefault(e){return Up(this,e)},catch(e){return Bp(this,e)},pipe(e){return pa(this,e)},readonly(){return Gp(this)},describe(e){let t=this.clone();return ee.add(t,{description:e}),t},meta(...e){if(e.length===0)return ee.get(this);let t=this.clone();return ee.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 _.hide(this,"~standard",{...ri(this),jsonSchema:{input:$n(this,"input"),output:$n(this,"output")}})},set"~standard"(e){_.own(this,"~standard",e)},parse:function e(t,r){return Yd(this,t,r,{callee:e})},parseAsync:async function e(t,r){return await Xd(this,t,r,{callee:e})},safeParse(e,t){return Qd(this,e,t)},async safeParseAsync(e,t){return ep(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){_.own(this,"spa",e)},validate(e,t){return sr(this,e,t)},validateAsync(e,t){return ur(this,e,t)},encode:function e(t,r){return tp(this,t,r,{callee:e})},decode:function e(t,r){return np(this,t,r,{callee:e})},encodeAsync:async function e(t,r){return await rp(this,t,r,{callee:e})},decodeAsync:async function e(t,r){return await op(this,t,r,{callee:e})},safeEncode(e,t){return ip(this,e,t)},safeDecode(e,t){return ap(this,e,t)},async safeEncodeAsync(e,t){return sp(this,e,t)},async safeDecodeAsync(e,t){return up(this,e,t)},toJSONSchema(e){return ld(this,{})(e)},get description(){return ee.get(this)?.description},get _def(){return this._zod.def}}),ma=h("_ZodString",(e,t)=>{bt.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>md(e,r,i,n)},_.derived({format:e=>Y(e).format??null,minLength:e=>Y(e).minimum??null,maxLength:e=>Y(e).maximum??null},{regex(...e){return this.check(un(...e))},includes(...e){return this.check(dn(...e))},startsWith(...e){return this.check(pn(...e))},endsWith(...e){return this.check(mn(...e))},min(...e){return this.check(Be(...e))},max(...e){return this.check(St(...e))},length(...e){return this.check(It(...e))},nonempty(...e){return this.check(Be(1,...e))},lowercase(e){return this.check(cn(e))},uppercase(e){return this.check(ln(e))},trim(){return this.check(vn())},normalize(...e){return this.check(hn(...e))},toLowerCase(){return this.check(yn())},toUpperCase(){return this.check(_n())},slugify(){return this.check(bn())}})),In=h("ZodString",(e,t)=>{bt.init(e,t),ma.init(e,t)},{email(e){return this.check(zi(fa,e))},url(e){return this.check(Pr(Dr,e))},jwt(e){return this.check(Xi(Ea,e))},emoji(e){return this.check(Li(ha,e))},guid(e){return this.check(Ci(ga,e))},uuid(e){return this.check(Ri(Re,e))},uuidv4(e){return this.check(Ni(Re,e))},uuidv6(e){return this.check(Di(Re,e))},uuidv7(e){return this.check(ji(Re,e))},nanoid(e){return this.check(Mi(va,e))},cuid(e){return this.check(Ui(ya,e))},cuid2(e){return this.check(Fi(_a,e))},ulid(e){return this.check(Zi(ba,e))},base64(e){return this.check(Hi(Pa,e))},base64url(e){return this.check(Ji(Ta,e))},xid(e){return this.check(Vi($a,e))},ksuid(e){return this.check(Bi(xa,e))},ipv4(e){return this.check(Wi(wa,e))},ipv6(e){return this.check(Ki(ka,e))},cidrv4(e){return this.check(qi(Sa,e))},cidrv6(e){return this.check(Gi(Ia,e))},e164(e){return this.check(Yi(Aa,e))},datetime(e){return this.check(Tr(ot,e))},date(e){return this.check(Ar(it,e))},time(e){return this.check(Er(at,e))},duration(e){return this.check(Or(st,e))}});function Rr(e){return Il(In,e)}var B=h("ZodStringFormat",(e,t)=>{Z.init(e,t),ma.init(e,t)}),ot=h("ZodISODateTime",(e,t)=>{hc.init(e,t),B.init(e,t)}),it=h("ZodISODate",(e,t)=>{vc.init(e,t),B.init(e,t)}),at=h("ZodISOTime",(e,t)=>{yc.init(e,t),B.init(e,t)}),st=h("ZodISODuration",(e,t)=>{_c.init(e,t),B.init(e,t)}),fa=h("ZodEmail",(e,t)=>{ic.init(e,t),B.init(e,t)});function hv(e){return zi(fa,e)}var ga=h("ZodGUID",(e,t)=>{rc.init(e,t),B.init(e,t)});function vv(e){return Ci(ga,e)}var Re=h("ZodUUID",(e,t)=>{oc.init(e,t),B.init(e,t)});function yv(e){return Ri(Re,e)}function _v(e){return Ni(Re,e)}function bv(e){return Di(Re,e)}function $v(e){return ji(Re,e)}var Dr=h("ZodURL",(e,t)=>{uc.init(e,t),B.init(e,t)});function xv(e){return Pr(Dr,e)}function wv(e){return Pr(Dr,{protocol:cr,hostname:_u,..._.normalizeParams(e)})}var ha=h("ZodEmoji",(e,t)=>{cc.init(e,t),B.init(e,t)});function kv(e){return Li(ha,e)}var va=h("ZodNanoID",(e,t)=>{lc.init(e,t),B.init(e,t)});function Sv(e){return Mi(va,e)}var ya=h("ZodCUID",(e,t)=>{dc.init(e,t),B.init(e,t)});function Iv(e){return Ui(ya,e)}var _a=h("ZodCUID2",(e,t)=>{pc.init(e,t),B.init(e,t)});function Pv(e){return Fi(_a,e)}var ba=h("ZodULID",(e,t)=>{mc.init(e,t),B.init(e,t)});function Tv(e){return Zi(ba,e)}var $a=h("ZodXID",(e,t)=>{fc.init(e,t),B.init(e,t)});function Av(e){return Vi($a,e)}var xa=h("ZodKSUID",(e,t)=>{gc.init(e,t),B.init(e,t)});function Ev(e){return Bi(xa,e)}var wa=h("ZodIPv4",(e,t)=>{bc.init(e,t),B.init(e,t)});function Ov(e){return Wi(wa,e)}var cp=h("ZodMAC",(e,t)=>{xc.init(e,t),B.init(e,t)});function zv(e){return Tl(cp,e)}var ka=h("ZodIPv6",(e,t)=>{$c.init(e,t),B.init(e,t)});function Cv(e){return Ki(ka,e)}var Sa=h("ZodCIDRv4",(e,t)=>{wc.init(e,t),B.init(e,t)});function Rv(e){return qi(Sa,e)}var Ia=h("ZodCIDRv6",(e,t)=>{kc.init(e,t),B.init(e,t)});function Nv(e){return Gi(Ia,e)}var Pa=h("ZodBase64",(e,t)=>{Sc.init(e,t),B.init(e,t)});function Dv(e){return Hi(Pa,e)}var Ta=h("ZodBase64URL",(e,t)=>{Ic.init(e,t),B.init(e,t)});function jv(e){return Ji(Ta,e)}var Aa=h("ZodE164",(e,t)=>{Pc.init(e,t),B.init(e,t)});function Lv(e){return Yi(Aa,e)}var lp=h("ZodCreditCard",(e,t)=>{Tc.init(e,t),B.init(e,t)});function Mv(e){return Al(lp,e)}var dp=h("ZodIBAN",(e,t)=>{Ac.init(e,t),B.init(e,t)});function Uv(e){return El(dp,e)}var Ea=h("ZodJWT",(e,t)=>{Ec.init(e,t),B.init(e,t)});function Fv(e){return Xi(Ea,e)}var Ot=h("ZodCustomStringFormat",(e,t)=>{Oc.init(e,t),B.init(e,t)});function Zv(e,t,r={}){return Pt(Ot,e,t,r)}function Vv(e){return Pt(Ot,"hostname",yu,e)}function Bv(e){return Pt(Ot,"hex",Cu,e)}function Wv(e){return Pt(Ot,"currency_code",$u,e)}function Kv(e,t){let r=t?.enc??"hex",i=`${e}_${r}`,n=xe[i];if(!n)throw new Error(`Unrecognized hash format: ${i}`);return Pt(Ot,i,n,t)}var Pn=h("ZodNumber",(e,t)=>{mi.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>fd(e,r,i,n),e.isFinite=!0},_.derived({minValue:e=>{let{minimum:t,exclusiveMinimum:r}=Y(e);return Math.max(t??Number.NEGATIVE_INFINITY,r??Number.NEGATIVE_INFINITY)},maxValue:e=>{let{maximum:t,exclusiveMaximum:r}=Y(e);return Math.min(t??Number.POSITIVE_INFINITY,r??Number.POSITIVE_INFINITY)},isInt:e=>{let{isInt:t,multipleOf:r}=Y(e);return!!t||!!r?.some(Number.isSafeInteger)},format:e=>Y(e).format??null},{gt(e,t){return this.check(ze(e,t))},gte(e,t){return this.check(ye(e,t))},min(e,t){return this.check(ye(e,t))},lt(e,t){return this.check(Oe(e,t))},lte(e,t){return this.check(ve(e,t))},max(e,t){return this.check(ve(e,t))},int(e){return this.check(da(e))},safe(e){return this.check(da(e))},positive(e){return this.check(ze(0,e))},nonnegative(e){return this.check(ye(0,e))},negative(e){return this.check(Oe(0,e))},nonpositive(e){return this.check(ve(0,e))},multipleOf(e,t){return this.check(Qe(e,t))},step(e,t){return this.check(Qe(e,t))},finite(){return this}}));function pp(e){return zl(Pn,e)}var zt=h("ZodNumberFormat",(e,t)=>{zc.init(e,t),Pn.init(e,t)});function da(e){return Rl(zt,e)}function qv(e){return Nl(zt,e)}function Gv(e){return Dl(zt,e)}function Hv(e){return jl(zt,e)}function Jv(e){return Ll(zt,e)}var Tn=h("ZodBoolean",(e,t)=>{yr.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>gd(e,r,i,n)});function mp(e){return Ml(Tn,e)}var An=h("ZodBigInt",(e,t)=>{fi.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>hd(e,r,i,n)},_.derived({minValue:e=>Y(e).minimum??null,maxValue:e=>Y(e).maximum??null,format:e=>Y(e).format??null},{gte(e,t){return this.check(ye(e,t))},min(e,t){return this.check(ye(e,t))},gt(e,t){return this.check(ze(e,t))},lt(e,t){return this.check(Oe(e,t))},lte(e,t){return this.check(ve(e,t))},max(e,t){return this.check(ve(e,t))},positive(e){return this.check(ze(BigInt(0),e))},negative(e){return this.check(Oe(BigInt(0),e))},nonpositive(e){return this.check(ve(BigInt(0),e))},nonnegative(e){return this.check(ye(BigInt(0),e))},multipleOf(e,t){return this.check(Qe(e,t))}}));function Yv(e){return Fl(An,e)}var Oa=h("ZodBigIntFormat",(e,t)=>{Cc.init(e,t),An.init(e,t)});function Xv(e){return Vl(Oa,e)}function Qv(e){return Bl(Oa,e)}var fp=h("ZodSymbol",(e,t)=>{Rc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>vd(e,r,i,n)});function ey(e){return Wl(fp,e)}var gp=h("ZodUndefined",(e,t)=>{Nc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>_d(e,r,i,n)});function ty(e){return Kl(gp,e)}var hp=h("ZodNull",(e,t)=>{Dc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>yd(e,r,i,n)});function vp(e){return ql(hp,e)}var yp=h("ZodAny",(e,t)=>{jc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>xd(e,r,i,n)});function ny(){return Gl(yp)}var _p=h("ZodUnknown",(e,t)=>{Lc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>wd(e,r,i,n)});function Tt(){return Hl(_p)}var bp=h("ZodNever",(e,t)=>{Mc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>$d(e,r,i,n)});function za(e){return Jl(bp,e)}var $p=h("ZodVoid",(e,t)=>{Uc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>bd(e,r,i,n)});function ry(e){return Yl($p,e)}var jr=h("ZodDate",(e,t)=>{Fc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>kd(e,r,i,n),e.min=(r,i)=>e.check(ye(r,i)),e.max=(r,i)=>e.check(ve(r,i))},_.derived({minDate:e=>{let{minimum:t}=Y(e);return t?new Date(t):null},maxDate:e=>{let{maximum:t}=Y(e);return t?new Date(t):null}},{}));function oy(e){return Xl(jr,e)}var xp=h("ZodArray",(e,t)=>{Et(),Vc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Dd(e,r,i,n),e.element=t.element},{min(e,t){return this.check(Be(e,t))},nonempty(e){return this.check(Be(1,e))},max(e,t){return this.check(St(e,t))},length(e,t){return this.check(It(e,t))},unwrap(){return this.element}});function Lr(e,t){return td(xp,e,t)}function iy(e){let t=e._zod.def.shape;return Ca(Object.keys(t))}var Mr=h("ZodObject",(e,t)=>{Et(),Bc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>jd(e,r,i,n),_.installLazyProp(e,"shape",r=>r._zod.def.shape,!1)},{keyof(){return Ca(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(_.mergeDefs(this._zod.def,{catchall:e}))},passthrough(){return this.clone(_.mergeDefs(this._zod.def,{catchall:Tt()}))},loose(){return this.clone(_.mergeDefs(this._zod.def,{catchall:Tt()}))},strict(){return this.clone(_.mergeDefs(this._zod.def,{catchall:za()}))},strip(){return this.clone(_.mergeDefs(this._zod.def,{catchall:void 0}))},extend(e){return _.extend(this,e)},safeExtend(e){return _.safeExtend(this,e)},merge(e){return _.merge(this,e)},pick(e){return _.pick(this,e)},omit(e){return _.omit(this,e)},partial(...e){return _.partial(Fr,this,e[0])},exactPartial(...e){return _.partial(Na,this,e[0],"exactPartial")},required(...e){return _.required(Da,this,e[0])}});function ay(e,t){let r={type:"object",shape:e??{},..._.normalizeParams(t)};return new Mr(r)}function sy(e,t){return new Mr({type:"object",shape:e,catchall:za(),..._.normalizeParams(t)})}function uy(e,t){return new Mr({type:"object",shape:e,catchall:Tt(),..._.normalizeParams(t)})}var Ur=h("ZodUnion",(e,t)=>{_r.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>ia(e,r,i,n),e.options=t.options});function En(e,t){return new Ur({type:"union",options:e,..._.normalizeParams(t)})}var wp=h("ZodXor",(e,t)=>{Ur.init(e,t),Wc.init(e,t),e._zod.processJSONSchema=(r,i,n)=>ia(e,r,i,n),e.options=t.options});function cy(e,t){return new wp({type:"union",options:e,inclusive:!1,..._.normalizeParams(t)})}var kp=h("ZodDiscriminatedUnion",(e,t)=>{Ur.init(e,t),qc.init(e,t)});function ly(e,t,r){return new kp({type:"union",options:t,discriminator:e,..._.normalizeParams(r)})}var Sp=h("ZodIntersection",(e,t)=>{Gc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ld(e,r,i,n)});function Ip(e,t){return new Sp({type:"intersection",left:e,right:t})}var Pp=h("ZodTuple",(e,t)=>{Et(),gi.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Md(e,r,i,n)},{rest(e){return this.clone({...this._zod.def,rest:e})},partial(){let e=this._zod.def;if(e.checks?.length)throw new Error(".partial() cannot be used on tuple schemas containing refinements");return this.clone({...e,items:e.items.map(t=>new Fr({type:"optional",innerType:t}))})}});function Tp(e,t,r){let i=t instanceof z,n=i?r:t,o=i?t:null;return new Pp({type:"tuple",items:e,rest:o,..._.normalizeParams(n)})}var kn=h("ZodRecord",(e,t)=>{Et(),Hc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ud(e,r,i,n),e.keyType=t.keyType,e.valueType=t.valueType});function Ap(e,t,r){return!t||!t._zod?new kn({type:"record",keyType:Rr(),valueType:e,..._.normalizeParams(t)}):new kn({type:"record",keyType:e,valueType:t,..._.normalizeParams(r)})}function dy(e,t,r){return new kn({type:"record",keyType:e,valueType:t,..._.normalizeParams(r),partial:!0})}function py(e,t,r){return new kn({type:"record",keyType:e,valueType:t,mode:"loose",..._.normalizeParams(r)})}var Ep=h("ZodMap",(e,t)=>{Et(),Jc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Rd(e,r,i,n),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...r)=>e.check(Ce(...r)),e.nonempty=r=>e.check(Ce(1,r)),e.max=(...r)=>e.check(et(...r)),e.size=(...r)=>e.check(kt(...r))});function my(e,t,r){return new Ep({type:"map",keyType:e,valueType:t,..._.normalizeParams(r)})}var Op=h("ZodSet",(e,t)=>{Et(),Yc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Nd(e,r,i,n),e.min=(...r)=>e.check(Ce(...r)),e.nonempty=r=>e.check(Ce(1,r)),e.max=(...r)=>e.check(et(...r)),e.size=(...r)=>e.check(kt(...r))});function fy(e,t){return new Op({type:"set",valueType:e,..._.normalizeParams(t)})}var Sn=h("ZodEnum",(e,t)=>{Xc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(i,n,o)=>Sd(e,i,n,o),e.enum=t.entries,e.options=[...e._zod.values];let r=new Set(Object.keys(t.entries));e.extract=(i,n)=>{let o={};for(let a of i)if(r.has(a))o[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new Sn({...t,checks:[],..._.normalizeParams(n),entries:o})},e.exclude=(i,n)=>{let o={...t.entries};for(let a of i)if(r.has(a))delete o[a];else throw new Error(`Key ${a} not found in enum`);return new Sn({...t,checks:[],..._.normalizeParams(n),entries:o})}});function Ca(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new Sn({type:"enum",entries:r,..._.normalizeParams(t)})}function gy(e,t){return new Sn({type:"enum",entries:e,..._.normalizeParams(t)})}var zp=h("ZodLiteral",(e,t)=>{Qc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Id(e,r,i,n),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 hy(e,t){return new zp({type:"literal",values:Array.isArray(e)?e:[e],..._.normalizeParams(t)})}var Cp=h("ZodFile",(e,t)=>{el.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ad(e,r,i,n),e.min=(r,i)=>e.check(Ce(r,i)),e.max=(r,i)=>e.check(et(r,i)),e.mime=(r,i)=>e.check(gn(Array.isArray(r)?r:[r],i))});function vy(e){return nd(Cp,e)}var Rp=h("ZodTransform",(e,t)=>{Et(),tl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Cd(e,r,i,n),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Ye(e.constructor.name);r.addIssue=o=>{if(typeof o=="string")r.issues.push(_.issue(o,r.value,t));else{let a=o;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),"input"in a||(a.input=r.value),a.inst??(a.inst=e),r.issues.push(_.issue(a))}};let n=t.transform(r.value,r);return n instanceof Promise?n.then(o=>(r.value=o,r)):(r.value=n,r)}});function Ra(e){return new Rp({type:"transform",transform:e})}var Fr=h("ZodOptional",(e,t)=>{hi.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>aa(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function At(e){return new Fr({type:"optional",innerType:e})}var Na=h("ZodExactOptional",(e,t)=>{nl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>aa(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Np(e){return new Na({type:"optional",innerType:e})}var Dp=h("ZodNullable",(e,t)=>{rl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Fd(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Nr(e){return new Dp({type:"nullable",innerType:e})}function yy(e){return At(Nr(e))}var jp=h("ZodDefault",(e,t)=>{ol.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Bd(e,r,i,n),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Lp(e,t){return new jp({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():_.shallowClone(t)}})}var Mp=h("ZodPrefault",(e,t)=>{il.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Wd(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Up(e,t){return new Mp({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():_.shallowClone(t)}})}var Da=h("ZodNonOptional",(e,t)=>{al.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Zd(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Fp(e,t){return new Da({type:"nonoptional",innerType:e,..._.normalizeParams(t)})}var Zp=h("ZodSuccess",(e,t)=>{sl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ed(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function _y(e){return new Zp({type:"success",innerType:e})}var Vp=h("ZodCatch",(e,t)=>{ul.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Kd(e,r,i,n),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Bp(e,t){return new Vp({type:"catch",innerType:e,catchValue:typeof t=="function"?t:_.constantCatch(t)})}var Wp=h("ZodNaN",(e,t)=>{cl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Pd(e,r,i,n)});function by(e){return ed(Wp,e)}var Zr=h("ZodPipe",(e,t)=>{vi.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>qd(e,r,i,n),e.in=t.in,e.out=t.out});function pa(e,t){return new Zr({type:"pipe",in:e,out:t})}var Vr=h("ZodCodec",(e,t)=>{Zr.init(e,t),br.init(e,t)});function $y(e,t,r){return new Vr({type:"pipe",in:e,out:t,transform:r.decode,reverseTransform:r.encode})}function xy(e){let t=e._zod.def;return new Vr({type:"pipe",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}var Kp=h("ZodPreprocess",(e,t)=>{Zr.init(e,t),ll.init(e,t)}),qp=h("ZodReadonly",(e,t)=>{dl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Gd(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Gp(e){return new qp({type:"readonly",innerType:e})}var Hp=h("ZodTemplateLiteral",(e,t)=>{pl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Td(e,r,i,n)});function wy(e,t){return new Hp({type:"template_literal",parts:e,..._.normalizeParams(t)})}var Jp=h("ZodLazy",(e,t)=>{$r.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Jd(e,r,i,n),e.unwrap=()=>e._zod.def.getter()});function Yp(e){return new Jp({type:"lazy",getter:e})}var Xp=h("ZodPromise",(e,t)=>{fl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Hd(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function ky(e){return new Xp({type:"promise",innerType:e})}var Qp=h("ZodFunction",(e,t)=>{ml.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>zd(e,r,i,n)});function Sy(e){return new Qp({type:"function",input:Array.isArray(e?.input)?Tp(e?.input):e?.input??Lr(Tt()),output:e?.output??Tt()})}var Br=h("ZodCustom",(e,t)=>{gl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Od(e,r,i,n)});function Iy(e){let t=new W({check:"custom"});return t._zod.check=e,t}function Py(e,t){return rd(Br,e??(()=>!0),t)}function em(e,t={}){return od(Br,e,t)}function tm(e,t){return id(e,t)}var Ty=ad,Ay=sd,nm=h("ZodInstanceOf",(e,t)=>{Br.init(e,t)},{properties(e,t){return this.check(fn(e,t))}});function Ey(e,t={}){let r=new nm({type:"custom",check:"custom",fn:i=>i instanceof e,abort:!0,..._.normalizeParams(t)});return r._zod.bag.Class=e,r._zod.check=i=>{i.value instanceof e||i.issues.push({code:"invalid_type",expected:e.name,input:i.value,inst:r,path:[...r._zod.def.path??[]]})},r}var Oy=(...e)=>ud({Codec:Vr,Boolean:Tn,String:In},...e);function zy(e){let t=Yp(()=>En([Rr(e),pp(),mp(),vp(),Lr(t),Ap(Rr(),t)]));return t}function Cy(e,t){return new Kp({type:"pipe",in:Ra(e),out:t})}d();var FS={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function ZS(e){H({customError:e})}function VS(){return H().customError}var rm;rm||(rm={});d();var Wr={};De(Wr,{ZodISODate:()=>it,ZodISODateTime:()=>ot,ZodISODuration:()=>st,ZodISOTime:()=>at,date:()=>WS,datetime:()=>BS,duration:()=>qS,time:()=>KS});d();function BS(e){return Tr(ot,e)}function WS(e){return Ar(it,e)}function KS(e){return Er(at,e)}function qS(e){return Or(st,e)}var T={...On,...ca,iso:Wr},GS=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function HS(e,t){let r=e.$schema;return r==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":r==="http://json-schema.org/draft-07/schema#"?"draft-7":r==="http://json-schema.org/draft-04/schema#"?"draft-4":t??"draft-2020-12"}function Ry(e,t){return e.map((r,i)=>i<t?r:r.optional())}function JS(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function YS(e,t){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");let r=e.slice(1).split("/").filter(Boolean);if(r.length===0)return t.rootSchema;let i=t.version==="draft-2020-12"?"$defs":"definitions";if(r[0]===i){let n=r[1]===void 0?void 0:JS(r[1]);if(!n||!t.defs[n])throw new Error(`Reference not found: ${e}`);return t.defs[n]}throw new Error(`Reference not found: ${e}`)}function XS(e,t){return T.transform(i=>i).check(i=>{let n=i.value;if(typeof n!="object"||n===null||Array.isArray(n))return;let o=Object.getOwnPropertyNames(n);if(t.minProperties!==void 0&&o.length<t.minProperties&&i.issues.push({origin:"object",code:"too_small",minimum:t.minProperties,inclusive:!0,message:`Too small: expected object to have >=${t.minProperties} properties`,input:n,inst:e,continue:!0}),t.maxProperties!==void 0&&o.length>t.maxProperties&&i.issues.push({origin:"object",code:"too_big",maximum:t.maxProperties,inclusive:!0,message:`Too big: expected object to have <=${t.maxProperties} properties`,input:n,inst:e,continue:!0}),t.keySchema)for(let a of o){let s=t.keySchema.safeParse(a);s.success||i.issues.push({code:"invalid_key",origin:"record",issues:s.error.issues,input:a,path:[a],continue:!0})}}).pipe(e)}function om(e,t){if(e===null)return"z";let r=typeof e;if(r!=="object"){if(r==="number"&&Number.isNaN(e))return null;let i=String(e);return`${r[0]}${i.length}:${i}`}if(t.has(e))return null;t.add(e);try{if(Array.isArray(e)){let o=[];for(let a of e){let s=om(a,t);if(s===null)return null;o.push(s)}return`a${o.length}:[${o.join(",")}]`}let i=Object.keys(e).sort(),n=[];for(let o of i){let a=om(e[o],t);if(a===null)return null;n.push(`${o.length}:${o}=${a}`)}return`o${n.length}:{${n.join(",")}}`}finally{t.delete(e)}}var QS=new Set(["items","prefixItems","additionalItems","additionalProperties","contains","propertyNames","not","if","then","else","allOf","anyOf","oneOf","unevaluatedItems","unevaluatedProperties","contentSchema"]),eI=new Set(["properties","patternProperties","dependentSchemas","dependencies","$defs","definitions"]);function Kr(e){return typeof e!="object"||e===null?!1:Array.isArray(e)?e.some(Kr):typeof e.$ref=="string"?!0:Object.entries(e).some(([t,r])=>QS.has(t)?Kr(r):!eI.has(t)||typeof r!="object"||r===null?!1:Object.values(r).some(Kr))}function Ny(e){return e===1?"element":"elements"}function tI(e,t){return T.transform(i=>i).check(i=>{let n=i.value;if(Array.isArray(n)){if(t.uniqueItems===!0){let o=new Map;for(let a=0;a<n.length;a++){let s=om(n[a],new Set);if(s===null)continue;let u=o.get(s);if(u===void 0){o.set(s,a);continue}i.issues.push({code:"custom",message:`Array items must be unique: element at index ${a} duplicates the one at index ${u}`,input:n,path:[a],continue:!0})}}if(t.containsSchema){let o=t.minContains??1,a=t.maxContains!==void 0?t.maxContains+1:Number.POSITIVE_INFINITY,s=0;for(let u of n)if(t.containsSchema.safeParse(u).success&&++s>=a)break;s<o&&i.issues.push({code:"custom",message:`Array must contain at least ${o} matching ${Ny(o)}; found ${s}`,input:n,continue:!0}),t.maxContains!==void 0&&s>t.maxContains&&i.issues.push({code:"custom",message:`Array must contain at most ${t.maxContains} matching ${Ny(t.maxContains)}`,input:n,continue:!0})}}}).pipe(e)}function Dy(e,t){if(e!==!1)return e===void 0||e===!0?T.any():ce(e,t)}var nI=/^(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$/;function jy(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return T.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let n=e.$ref;if(t.refs.has(n))return t.refs.get(n);if(t.processing.has(n))return T.lazy(()=>{if(!t.refs.has(n))throw new Error(`Circular reference not resolved: ${n}`);return t.refs.get(n)});t.processing.add(n);let o=YS(n,t),a=ce(o,t);return t.refs.set(n,a),t.processing.delete(n),a}if(e.enum!==void 0){let n=e.enum;if(t.version==="openapi-3.0"&&e.nullable===!0&&n.length===1&&n[0]===null)return T.null();if(n.length===0)return T.never();if(n.length===1)return T.literal(n[0]);if(n.every(a=>typeof a=="string"))return T.enum(n);let o=n.map(a=>T.literal(a));return o.length<2?o[0]:T.union([o[0],o[1],...o.slice(2)])}if(e.const!==void 0)return T.literal(e.const);let r=e.type;if(Array.isArray(r)){let n=r.map(o=>{let a={...e,type:o};return jy(a,t)});return n.length===0?T.never():n.length===1?n[0]:T.union(n)}if(!r)return T.any();let i;switch(r){case"string":{let n=T.string();if(e.format){let o=e.format;o==="email"?n=n.check(T.email()):o==="uri"||o==="uri-reference"?n=n.check(T.url()):o==="uuid"||o==="guid"?n=n.check(T.uuid()):o==="date-time"?n=n.check(T.iso.datetime({offset:!0})):o==="date"?n=n.check(T.iso.date()):o==="time"?n=n.check(T.regex(nI)):o==="duration"?n=n.check(T.iso.duration()):o==="hostname"?n=n.check(T.hostname()):o==="ipv4"?n=n.check(T.ipv4()):o==="ipv6"?n=n.check(T.ipv6()):o==="mac"?n=n.check(T.mac()):o==="cidr"?n=n.check(T.cidrv4()):o==="cidr-v6"?n=n.check(T.cidrv6()):o==="base64"?n=n.check(T.base64()):o==="base64url"?n=n.check(T.base64url()):o==="e164"?n=n.check(T.e164()):o==="credit_card"?n=n.check(T.creditCard()):o==="iban"?n=n.check(T.iban()):o==="jwt"?n=n.check(T.jwt()):o==="emoji"?n=n.check(T.emoji()):o==="nanoid"?n=n.check(T.nanoid()):o==="cuid"?n=n.check(T.cuid()):o==="cuid2"?n=n.check(T.cuid2()):o==="ulid"?n=n.check(T.ulid()):o==="xid"?n=n.check(T.xid()):o==="ksuid"&&(n=n.check(T.ksuid()))}typeof e.minLength=="number"&&(n=n.min(e.minLength)),typeof e.maxLength=="number"&&(n=n.max(e.maxLength)),e.pattern&&(n=n.regex(new RegExp(e.pattern))),i=n;break}case"number":case"integer":{let n=r==="integer"?T.number().int():T.number();typeof e.minimum=="number"&&e.exclusiveMinimum!==!0&&(n=n.min(e.minimum)),typeof e.maximum=="number"&&e.exclusiveMaximum!==!0&&(n=n.max(e.maximum)),typeof e.exclusiveMinimum=="number"?n=n.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(n=n.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?n=n.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(n=n.lt(e.maximum)),typeof e.multipleOf=="number"&&(n=n.multipleOf(e.multipleOf)),i=n;break}case"boolean":{i=T.boolean();break}case"null":{i=T.null();break}case"object":{let n={},o=e.properties||{},a=new Set(e.required||[]),s=typeof e.additionalProperties=="object"?ce(e.additionalProperties,t):void 0;for(let[p,m]of Object.entries(o)){let f=ce(m,t);Q(n,p,a.has(p)?f:f.optional())}if(e.patternProperties){let p=e.patternProperties,m=Object.keys(p),f=[];for(let $ of m){let k=ce(p[$],t),I=T.string().regex(new RegExp($));f.push(T.looseRecord(I,k))}let y=[];if(Object.keys(n).length>0&&y.push(T.object(n).passthrough()),y.push(...f),y.length===0)i=T.object({}).passthrough();else if(y.length===1)i=y[0];else{let $=T.intersection(y[0],y[1]);for(let k=2;k<y.length;k++)$=T.intersection($,y[k]);i=$}if(e.additionalProperties===!1){let $=Object.keys(n),k=m.map(S=>new RegExp(S)),I=i;i=i.check(S=>{if(!be(S.value))return;let A=[];for(let D of Object.keys(S.value))$.includes(D)||k.some(U=>U.test(D))||A.push(D);A.length&&S.issues.push({code:"unrecognized_keys",keys:A,input:S.value,inst:I})})}}else{let p=T.object(n);e.additionalProperties===!1?i=p.strict():s?i=p.catchall(s):i=p.passthrough()}let u=e.propertyNames!==void 0&&e.propertyNames!==!0,c=typeof e.minProperties=="number"?e.minProperties:void 0,l=typeof e.maxProperties=="number"?e.maxProperties:void 0;if(u||c!==void 0||l!==void 0){let p;if(u){let m=typeof e.propertyNames=="object"&&e.propertyNames.type===void 0?{type:"string",...e.propertyNames}:e.propertyNames;p=ce(m,t)}i=XS(i,{keySchema:p,minProperties:c,maxProperties:l})}break}case"array":{let n=e.prefixItems,o=e.items;if(n&&Array.isArray(n)){let a=typeof e.minItems=="number"?e.minItems:0,s=n.map(p=>ce(p,t)),u=Ry(s,a),c=Array.isArray(o)?void 0:Dy(o,t),l=T.tuple(u);i=c?l.rest(c):l,typeof e.minItems=="number"&&(i=i.check(T.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(T.maxLength(e.maxItems)))}else if(Array.isArray(o)){let a=typeof e.minItems=="number"?e.minItems:0,s=o.map(p=>ce(p,t)),u=Ry(s,a),c=Dy(e.additionalItems,t),l=T.tuple(u);i=c?l.rest(c):l,typeof e.minItems=="number"&&(i=i.check(T.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(T.maxLength(e.maxItems)))}else if(o!==void 0){let a=ce(o,t),s=T.array(a);typeof e.minItems=="number"&&(s=s.min(e.minItems)),typeof e.maxItems=="number"&&(s=s.max(e.maxItems)),i=s}else i=T.array(T.any());(e.uniqueItems===!0||e.contains!==void 0)&&(i=tI(i,{uniqueItems:e.uniqueItems===!0,containsSchema:e.contains!==void 0?ce(e.contains,t):void 0,minContains:typeof e.minContains=="number"?e.minContains:void 0,maxContains:typeof e.maxContains=="number"?e.maxContains:void 0}));break}default:throw new Error(`Unsupported type: ${r}`)}return i}function ce(e,t){if(typeof e=="boolean")return e?T.any():T.never();let r=jy(e,t),i=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let s=e.anyOf.map(c=>ce(c,t)),u=T.union(s);r=i?T.intersection(r,u):u}if(e.oneOf&&Array.isArray(e.oneOf)){let s=e.oneOf.map(c=>ce(c,t)),u=T.xor(s);r=i?T.intersection(r,u):u}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=i?r:T.any();else{let s=i?r:ce(e.allOf[0],t),u=i?0:1;for(let c=u;c<e.allOf.length;c++)s=T.intersection(s,ce(e.allOf[c],t));r=s}e.nullable===!0&&t.version==="openapi-3.0"&&(r=T.nullable(r)),e.readOnly===!0&&(r=T.readonly(r)),e.default!==void 0&&(r=r.default(e.default));let n={},o=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let s of o)s in e&&(n[s]=e[s]);let a=["contentEncoding","contentMediaType","contentSchema"];for(let s of a)s in e&&(n[s]=e[s]);if(e.type==="object"&&e.$ref===void 0){e.propertyNames!==void 0&&!Kr(e.propertyNames)&&(n.propertyNames=e.propertyNames);for(let s of["minProperties","maxProperties"])e[s]!==void 0&&(n[s]=e[s])}if(e.type==="array"&&e.$ref===void 0){e.contains!==void 0&&!Kr(e.contains)&&(n.contains=e.contains);for(let s of["uniqueItems","minContains","maxContains"])e[s]!==void 0&&(n[s]=e[s])}for(let s of Object.keys(e))GS.has(s)||Q(n,s,e[s]);return Object.keys(n).length>0&&t.registry.add(r,n),e.description&&(r=r.describe(e.description)),r}function Ly(e,t){if(typeof e=="boolean")return e?T.any():T.never();let r;try{r=JSON.parse(JSON.stringify(e))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let i=HS(r,t?.defaultTarget),n=r.$defs||r.definitions||{},o={version:i,defs:n,refs:new Map,processing:new Set,rootSchema:r,registry:t?.registry??ee};return ce(r,o)}d();d();var My=Symbol("z.visit/resolving");function qr(e,t){let r=typeof t=="function"?t:(a,s)=>{let u=t[a._zod.def.type];return u?u(a,s):a},i=new Map;function n(a){let s=i.get(a);if(s===My)return new $r({type:"lazy",getter:()=>i.get(a)});if(s!==void 0)return s;i.set(a,My);let u=o(a),c=r(u,u!==a);return i.set(a,c),c}function o(a){let s=a._zod.def,u=s.type;switch(u){case"object":{let c=s.shape,l=Object.keys(c),p=!1,m={};for(let y of l){let $=n(c[y]);$!==c[y]&&(p=!0),m[y]=$}let f=s.catchall;return s.catchall&&(f=n(s.catchall),f!==s.catchall&&(p=!0)),p?F(a,{...s,shape:m,catchall:f}):a}case"array":{let c=n(s.element);return c===s.element?a:F(a,{...s,element:c})}case"tuple":{let c=s.items,l=!1,p=[];for(let f of c){let y=n(f);y!==f&&(l=!0),p.push(y)}let m=s.rest;return s.rest&&(m=n(s.rest),m!==s.rest&&(l=!0)),l?F(a,{...s,items:p,rest:m}):a}case"record":case"map":{let c=n(s.keyType),l=n(s.valueType);return c===s.keyType&&l===s.valueType?a:F(a,{...s,keyType:c,valueType:l})}case"set":{let c=n(s.valueType);return c===s.valueType?a:F(a,{...s,valueType:c})}case"union":{let c=s.options,l=!1,p=[];for(let m of c){let f=n(m);f!==m&&(l=!0),p.push(f)}return l?F(a,{...s,options:p}):a}case"intersection":{let c=n(s.left),l=n(s.right);return c===s.left&&l===s.right?a:F(a,{...s,left:c,right:l})}case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":{let c=n(s.innerType);return c===s.innerType?a:F(a,{...s,innerType:c})}case"pipe":{let c=n(s.in),l=n(s.out);return c===s.in&&l===s.out?a:F(a,{...s,in:c,out:l})}case"function":{let c=n(s.input),l=n(s.output);return c===s.input&&l===s.output?a:F(a,{...s,input:c,output:l})}case"lazy":{let c=s.getter,{_cachedInner:l,...p}=s;return F(a,{...p,getter:()=>n(c())})}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":return a;default:return a}}return n(e)}function Uy(e){return qr(e,{object:t=>t.partial(),union:t=>{let r=t._zod.def;return r.discriminator===void 0?t:En(r.options)}})}d();function rI(e,t){if(!t?.length)return e;let r=e._zod.def;return F(e,Ie(r,{checks:[...r.checks??[],...t]}),{parent:!0})}function Fy(e){return rI(e.out,e.checks)}function oI(e){return e.in._zod.traits.has("$ZodTransform")?Fy(e):e.in}function Zy(e){return qr(e,{pipe:t=>oI(t._zod.def),default:(t,r)=>r?At(t._zod.def.innerType):t,catch:(t,r)=>r?t._zod.def.innerType:t})}function Vy(e){return qr(e,{pipe:t=>Fy(t._zod.def),prefault:(t,r)=>r?t._zod.def.innerType:t})}var im={};De(im,{bigint:()=>uI,boolean:()=>sI,date:()=>cI,number:()=>aI,string:()=>iI});d();function iI(e){return Pl(In,e)}function aI(e){return Cl(Pn,e)}function sI(e){return Ul(Tn,e)}function uI(e){return Zl(An,e)}function cI(e){return Ql(jr,e)}function Ae(){return K(e=>e)}var lI=P.string().optional().transform(e=>e||void 0),dI=64,pI=8,mI=1024,am=P.string().max(mI).optional().transform(e=>e||void 0);var QN=P.array(P.string().max(dI)).max(pI).optional(),fI=P.object({cursor:am}),eD=P.object({query:P.string().default(""),cursor:am.transform(e=>e??null)}),gI=P.object({query:P.string().default("").transform(e=>e.trim().slice(0,48)),kind:lI,cursor:am}),Wy=j.route({method:"GET",path:"/mentions"}).input(gI).output(K()),tD=j.route({method:"GET",path:"/usage"}).output(K());var aD="/api/auth";var sD="terminal";var uD="/mcp";var hI={config:j.route({method:"GET",path:"/api/auth-config"}).output(K())};d();d();d();d();var Gr=class{maxArrayIndex;constructor(t={}){this.maxArrayIndex=t.maxBracketNotationArrayIndex??9999}serialize(t,r=[],i=[]){if(Array.isArray(t))t.forEach((n,o)=>{this.serialize(n,[...r,o],i)});else if(_e(t))for(let n in t)this.serialize(t[n],[...r,n],i);else i.push([this.stringifyPath(r),t]);return i}deserialize(t){if(t.length===0)return{};let r=new WeakSet,i={value:[]};for(let[n,o]of t){let a=this.parsePath(n),s=i,u="value";a.forEach((c,l)=>{!Array.isArray(s[u])&&!_e(s[u])&&(s[u]=[]),l!==a.length-1?Array.isArray(s[u])&&!Ky(c,this.maxArrayIndex)&&(r.has(s[u])?(r.delete(s[u]),s[u]=qy(s[u])):s[u]=sm(s[u])):Array.isArray(s[u])&&(c===""?s[u].length&&!r.has(s[u])&&(s[u]=sm(s[u])):r.has(s[u])?(r.delete(s[u]),s[u]=qy(s[u])):Ky(c,this.maxArrayIndex)||(s[u]=sm(s[u]))),s=s[u],u=c}),Array.isArray(s)&&u===""?(r.add(s),s.push(o)):u in s?Array.isArray(s[u])?s[u].push(o):s[u]=[s[u],o]:s[u]=o}return i.value}stringifyPath(t){return t.map(r=>r.toString().replace(/[\\[\]]/g,i=>{switch(i){case"\\":return"\\\\";case"[":return"\\[";case"]":return"\\]";default:return i}})).reduce((r,i,n)=>n===0?i:`${r}[${i}]`,"")}parsePath(t){let r=[],i=!1,n="",o=0;for(let a=0;a<t.length;a++){let s=t[a],u=t[a+1];i&&s==="]"&&(u===void 0||u==="[")&&o%2===0?(u===void 0&&(i=!1),r.push(n),n="",a++):r.length===0&&s==="["&&o%2===0?(i=!0,r.push(n),n=""):s==="\\"?o++:(n+="\\".repeat(o/2)+s,o=0)}return i||r.length===0?[t]:r}};function Ky(e,t){return/^0$|^[1-9]\d*$/.test(e)&&Number(e)<=t}function sm(e){let t=new $s;return e.forEach((r,i)=>{t[i]=r}),t}function qy(e){let t=new $s;return t[""]=e.length===1?e[0]:e,t}d();var Hr=class{customSerializers;constructor(t={}){this.customSerializers=t.customJsonSerializers??[]}serialize(t,r={value:!1}){for(let i of this.customSerializers)if(i.condition(t))return this.serialize(i.serialize(t),r);if(t instanceof Blob)return r.value=!0,[t,r.value];if(t instanceof Set)return this.serialize(Array.from(t),r);if(t instanceof Map)return this.serialize(Array.from(t.entries()),r);if(Array.isArray(t))return[t.map(n=>n===void 0?null:this.serialize(n,r)[0]),r.value];if(_e(t)){let i={};for(let n in t)n==="toJSON"&&typeof t[n]=="function"||(i[n]=this.serialize(t[n],r)[0]);return[i,r.value]}return typeof t=="bigint"||t instanceof RegExp||t instanceof URL?[t.toString(),r.value]:t instanceof Date?[Number.isNaN(t.getTime())?null:t.toISOString(),r.value]:Number.isNaN(t)?[null,r.value]:[t,r.value]}};function ja(e){return`/${e.replace(/\/{2,}/g,"/").replace(/^\/|\/$/g,"")}`}function um(e){return e?ja(e).match(/\/\{[^}]+\}/g)?.map(t=>({raw:t,name:t.match(/\{\+?([^}]+)\}/)[1]})):void 0}var Jr=class{constructor(t,r,i){this.contract=t,this.serializer=r,this.baseUrl=i.url,this.headers=i.headers??{},this.customErrorResponseBodyDecoder=i.customErrorResponseBodyDecoder}baseUrl;headers;customErrorResponseBodyDecoder;async encode(t,r,i){let n=Os(await So(this.headers,i,t,r));i.lastEventId!==void 0&&(n=Ps(n,{"last-event-id":i.lastEventId}));let o=await So(this.baseUrl,i,t,r),a=bs(this.contract,t);if(!ft(a))throw new Error(`[StandardOpenapiLinkCodec] expect a contract procedure at ${t.join(".")}`);return Gn("defaultInputStructure",a["~orpc"].route.inputStructure)==="compact"?this.#e(a,t,r,i,o,n):this.#t(a,t,r,i,o,n)}#e(t,r,i,n,o,a){let s=ja(t["~orpc"].route.path??Oo(r)),u=i,c=um(s);if(c?.length){if(!_e(i))throw new TypeError(`[StandardOpenapiLinkCodec] Invalid input shape for "compact" structure when has dynamic params at ${r.join(".")}.`);let m={...i};for(let f of c){let y=i[f.name];s=s.replace(f.raw,`/${encodeURIComponent(`${this.serializer.serialize(y)}`)}`),delete m[f.name]}u=Object.keys(m).length?m:void 0}let l=Gn("defaultMethod",t["~orpc"].route.method),p=new URL(o);if(p.pathname=`${p.pathname.replace(/\/$/,"")}${s}`,l==="GET"){let m=this.serializer.serialize(u,{outputFormat:"URLSearchParams"});for(let[f,y]of m)p.searchParams.append(f,y);return{url:p,method:l,headers:a,body:void 0,signal:n.signal}}return{url:p,method:l,headers:a,body:this.serializer.serialize(u),signal:n.signal}}#t(t,r,i,n,o,a){let s=ja(t["~orpc"].route.path??Oo(r)),u=um(s);if(!_e(i)&&i!==void 0)throw new TypeError(`[StandardOpenapiLinkCodec] Invalid input shape for "detailed" structure at ${r.join(".")}.`);if(u?.length){if(!_e(i?.params))throw new TypeError(`[StandardOpenapiLinkCodec] Invalid input.params shape for "detailed" structure when has dynamic params at ${r.join(".")}.`);for(let m of u){let f=i.params[m.name];s=s.replace(m.raw,`/${encodeURIComponent(`${this.serializer.serialize(f)}`)}`)}}let c=a;if(i?.headers!==void 0){if(!_e(i.headers))throw new TypeError(`[StandardOpenapiLinkCodec] Invalid input.headers shape for "detailed" structure at ${r.join(".")}.`);c=Ps(i.headers,a)}let l=Gn("defaultMethod",t["~orpc"].route.method),p=new URL(o);if(p.pathname=`${p.pathname.replace(/\/$/,"")}${s}`,i?.query!==void 0){let m=this.serializer.serialize(i.query,{outputFormat:"URLSearchParams"});for(let[f,y]of m)p.searchParams.append(f,y)}return l==="GET"?{url:p,method:l,headers:c,body:void 0,signal:n.signal}:{url:p,method:l,headers:c,body:this.serializer.serialize(i?.body),signal:n.signal}}async decode(t,r,i){let n=!Me(t.status),o=await(async()=>{let u=!1;try{let c=await t.body();return u=!0,this.serializer.deserialize(c)}catch(c){throw u?new Error("Invalid OpenAPI response format.",{cause:c}):new Error("Cannot parse response body, please check the response body and content-type.",{cause:c})}})();if(!n){let u=this.customErrorResponseBodyDecoder?.(o,t);throw u??(Wn(o)?Kn(o):new Se(zs(t.status),{status:t.status,data:{...t,body:o}}))}let a=bs(this.contract,i);if(!ft(a))throw new Error(`[StandardOpenapiLinkCodec] expect a contract procedure at ${i.join(".")}`);return Gn("defaultOutputStructure",a["~orpc"].route.outputStructure)==="compact"?o:{status:t.status,headers:t.headers,body:o}}},Yr=class{constructor(t,r){this.jsonSerializer=t,this.bracketNotation=r}serialize(t,r={}){return Le(t)&&!r.outputFormat?Ao(t,{value:async i=>this.#e(i,{outputFormat:"plain"}),error:async i=>new Ue({data:this.#e(Po(i).toJSON(),{outputFormat:"plain"}),cause:i})}):this.#e(t,r)}#e(t,r){let[i,n]=this.jsonSerializer.serialize(t);if(r.outputFormat==="plain")return i;if(r.outputFormat==="URLSearchParams"){let a=new URLSearchParams;for(let[s,u]of this.bracketNotation.serialize(i))(typeof u=="string"||typeof u=="number"||typeof u=="boolean")&&a.append(s,u.toString());return a}if(i instanceof Blob||i===void 0||!n)return i;let o=new FormData;for(let[a,s]of this.bracketNotation.serialize(i))typeof s=="string"||typeof s=="number"||typeof s=="boolean"?o.append(a,s.toString()):s instanceof Blob&&o.append(a,s);return o}deserialize(t){return t instanceof URLSearchParams||t instanceof FormData?this.bracketNotation.deserialize(Array.from(t.entries())):Le(t)?Ao(t,{value:async r=>r,error:async r=>r instanceof Ue&&Wn(r.data)?Kn(r.data,{cause:r}):r}):t}};var vI="https://contract.invalid",yI=4294967294,_I=e=>e===null||typeof e!="object",cm=class extends Gr{serialize(t,r=[],i=[]){let[n,...o]=r,a=Array.isArray(t)?t:null;if(n!==void 0&&o.length===0&&a?.every(_I)){for(let s of a)i.push([String(n),s]);return i}return super.serialize(t,r,i)}};function Gy(e,t=""){let r=new Yr(new Hr,new cm({maxBracketNotationArrayIndex:yI}));return new Jr(e,r,{url:`${vI}${t}`})}function Hy(e){let t=Zf(e.headers),r=Ff(e.body,t);return{path:`${e.url.pathname.replace(/(.)\/$/,"$1")}${e.url.search}`,init:{method:e.method,headers:t,body:r,signal:e.signal}}}function Ne(e,t,r=""){let i=new Bt(Gy(t,r),{async call(n){let{path:o,init:a}=Hy(n),s=await e.request(o,a);if(!s.ok)throw await Ke(s);return Vf(s)}},{});return kI(Ts(i),t,r)}var bI=(e,t)=>Ln(t)?Object.fromEntries(Object.keys(t).sort().map(r=>[r,t[r]])):t,$I=(e,t,r)=>`${e}|${t.join(".")}|${JSON.stringify(r??null,bI)}`;function xI(e){return ft(e)?e["~orpc"].route.method==="GET":null}function wI(e,t,r,i){return t?(...n)=>is($I(r,i,n[0]),async()=>e(...n)):(...n)=>(Dn(),as(i.length>1?`${r}|${i[0]}.`:`${r}|`),e(...n))}function kI(e,t,r){let i=(n,o,a)=>new Proxy(n,{get(s,u){let c=Reflect.get(s,u),l=ne(o,String(u));if(!Ln(l))return c;let p=[...a,String(u)],m=xI(l);return m===null?i(Object(c),l,p):wI((...y)=>Reflect.apply(Object(c),s,y),m,r,p)}});return i(e,t,[])}function Jy(e){return{query:e.query||void 0,kind:e.kind||void 0,cursor:e.cursor||void 0}}d();d();var zn=le(oe(),1),HD=(0,zn.createContext)(null);d();d();var PI={read:j.route({method:"GET",path:ut}).output(K()),give:j.route({method:"PUT",path:ut}).output(K()),withdraw:j.route({method:"DELETE",path:ut}).output(K())},TI={list:j.route({method:"GET",path:Em}).input(P.object({query:P.string().optional(),cursor:P.string().optional()})).output(K())},Yy=P.object({id:P.string()}),AI=P.object({instruction:P.string().optional(),photos:P.array(P.string()).optional(),files:P.array(P.string()).optional(),attachments:P.array(P.string()).optional(),pointing:P.record(P.string(),P.unknown()).optional(),after:P.number().optional(),runId:P.string().optional()});function lm(){return{applyProposal:j.route({method:"POST",path:"/proposals/{id}/apply"}).input(Yy).output(Ae()),discardProposal:j.route({method:"POST",path:"/proposals/{id}/discard"}).input(Yy).output(Ae()),thread:j.route({method:"GET",path:"/thread"}).input(P.object({before:P.string().optional()})).output(Ae()),runs:j.route({method:"GET",path:"/runs"}).output(Ae()),mentions:Wy,clearRuns:j.route({method:"DELETE",path:"/runs",successStatus:204}).output(K()),cancel:j.route({method:"POST",path:"/run/cancel"}).output(K()),sendMessage:j.route({method:"POST",path:"/run/message"}).input(AI).output(K())}}var dm={consent:PI,conversations:TI,conversation:lm()};d();d();var Xy=45e3,Qy=1e3,e_=3e4;function t_(e){return Math.min(Qy*2**e,e_)}function n_(e){if(typeof e!="string")return null;try{let t=JSON.parse(e),r=ne(t,"type"),i=cs(t,"runId"),n=fo(t,"at");return r==="run"&&i!==void 0?{type:"run",runId:i}:r==="changed"&&n!==void 0?{type:"changed",at:n}:null}catch{return null}}function pm(e,t,r=i=>new WebSocket(i)){let i=null,n=!1,o=0,a=null,s=null,u=()=>{let c=r(e);i=c,c.onopen=()=>{o=0,s=setInterval(()=>c.send(zm),Xy)},c.onmessage=l=>{let p=n_(l.data);p?.type==="run"?t.run(p.runId):p?.type==="changed"&&t.changed?.(p.at)},c.onclose=l=>{s!==null&&clearInterval(s),s=null,!(n||l.code===Cm)&&(a=setTimeout(u,t_(o++)))}};return u(),()=>{n=!0,a!==null&&clearTimeout(a),s!==null&&clearInterval(s),i?.close()}}function mm(e,t=""){let{call:r}=e;async function i(c,l,p){let m=new FormData;return m.append("file",l,p),r(c,{method:"POST",body:m})}async function n(c){let l=await e.request(c);if(!l.ok)throw await Ke(l);return l.blob()}let o=Ne(e,lm(),t),a={applyProposal:c=>o.applyProposal({id:c}),discardProposal:c=>o.discardProposal({id:c}),thread:(c=null)=>o.thread({before:c||void 0}),runs:()=>o.runs(),mentions:(c,l)=>o.mentions(Jy(c),{signal:l}),clearRuns:()=>o.clearRuns(),cancel:()=>o.cancel(),sendMessage:(c,l=[],p=[],m={})=>o.sendMessage({instruction:c,photos:l,files:p,...m})};function s(c,l,p){return e.stream(`${t}/run/stream`,{method:"POST",body:JSON.stringify(c)},l,p)}function u(c){return pm(e.socketUrl(`${t}/watch`),c,e.socket)}return{calls:a,upload:i,blob:n,runStream:s,watch:u}}function EI(e,t,r=""){let i=mm(e,r);return{scope:t,api:{...i.calls,...r_(e,r)},runStream:i.runStream,watch:i.watch}}function r_(e,t=""){let{upload:r,blob:i}=mm(e,t);return{addPhoto:(n,o="photo")=>r(`${t}/photos`,n,o),addFile:(n,o)=>r(`${t}/files`,n,o),photo:n=>i(`${t}/photos/${encodeURIComponent(n)}`)}}d();function OI(e){let t=Ne(e,dm.conversations);return(r,i)=>t.list({query:r.trim()||void 0,cursor:i||void 0})}d();d();var zI=["console","phone"],w0=["api",...zI];d();d();function fm(e,t){return t.errors[e]??t.errors.internal}d();var o_=le(oe(),1);d();d();d();d();var i_=["object","member","team","everywhere"];var Ct="/memories";var a_=128;var Xr={memory_empty:{code:"memory_empty",status:400,error:"empty"},memory_too_long:{code:"memory_too_long",status:400,error:"too long"},memory_full:{code:"memory_full",status:409,error:"memory full"},memory_changed:{code:"memory_changed",status:409,error:"changed"},title_taken:{code:"title_taken",status:409,error:"title taken"}},V0={kind:we.bad_request,title:Xr.memory_empty,description:Xr.memory_empty,"title too long":Xr.memory_too_long,"description too long":Xr.memory_too_long,"details too long":Xr.memory_too_long};d();var c_={level:P.enum(i_).optional(),scope:P.string().max(a_).default("")},l_=e=>e.level===void 0||e.level==="object"==e.scope.length>0,s_=P.object(c_).refine(l_),u_=P.object({id:P.string()}),CI={list:j.route({method:"GET",path:Ct}).input(P.object({...c_,kind:P.string().optional(),query:P.string().optional(),cursor:P.string().optional()}).refine(l_)).output(K()),places:j.route({method:"GET",path:`${Ct}/places`}).input(P.object({cursor:P.string().optional()})).output(K()),catalog:j.route({method:"GET",path:`${Ct}/catalog`}).input(s_).output(K()),get:j.route({method:"GET",path:`${Ct}/{id}`}).input(u_).output(K()),remove:j.route({method:"DELETE",path:`${Ct}/{id}`,successStatus:204}).input(u_).output(K()),clear:j.route({method:"DELETE",path:Ct,successStatus:204,inputStructure:"detailed"}).input(P.object({query:s_})).output(K())};d();var Qr=le(oe(),1),LI=(0,Qr.createContext)({});d();d();var m_=4,f_=600,g_=409;function gm(e,t,r){if(e==="ended")return{go:"done"};let i=fo(e,"status")??0,n=e==="dropped"?r:e.failure;return i===g_?{go:"done"}:oo.has(i)?{go:"give-up",failure:{text:"",refused:!0}}:i===Ja?{go:"give-up",failure:{text:n,refused:!0}}:i===Rn||t.runId===null||t.attempt>=m_?{go:"give-up",failure:Nn(n)}:{go:"retry",input:{attach:!0,after:t.seq,runId:t.runId},delayMs:f_*(t.attempt+1)}}function hm(e,t){return t.runId===e?"ignore":t.busy?"later":"attach"}async function h_(e,t,r){if(!e)return!1;try{return(await t()).id!==null}catch(i){return r(i),!0}}async function MI(e){if(await h_(e.running,e.send,i=>{e.failed(i),e.restore()}))return;e.pending();let r=await e.start();r&&(e.unsent?.(),r.refused&&e.restore())}d();d();d();d();var Nj=Om*1e3;d();d();var v_=P.string().max(2e3).optional(),y_=P.number().int().min(1);function vm(){let e=Ae(),t=Ae();return{plan:j.route({method:"GET",path:"/plan"}).output(Ae()),checkout:j.route({method:"POST",path:"/subscription/checkout"}).input(P.object({next:v_,units:y_.optional()}).default({})).output(t),confirm:j.route({method:"POST",path:"/subscription/confirm"}).input(P.object({sessionId:P.string().min(1).max(200)})).output(e),cancel:j.route({method:"POST",path:"/subscription/cancel"}).output(e),resume:j.route({method:"POST",path:"/subscription/resume"}).output(e),units:j.route({method:"POST",path:"/subscription/units"}).input(P.object({units:y_})).output(e),portal:j.route({method:"POST",path:"/subscription/portal"}).input(P.object({next:v_}).default({})).output(t),apple:j.route({method:"POST",path:"/purchases/apple"}).input(P.object({transactionId:P.string().min(1).max(64)})).output(Ae()),google:j.route({method:"POST",path:"/purchases/google"}).input(P.object({purchaseToken:P.string().min(1).max(512)})).output(Ae())}}var Uj=vm();function UI(e){let t=Ne(e,vm());return{plan:()=>t.plan(),subscribe:(r,i)=>t.checkout({next:r,units:i}),setUnits:r=>t.units({units:r}),confirmSubscription:r=>t.confirm({sessionId:r}),cancelSubscription:()=>t.cancel(),resumeSubscription:()=>t.resume(),billingPage:r=>t.portal({next:r}),redeem:r=>r.store==="apple"?t.apple({transactionId:r.transactionId}):t.google({purchaseToken:r.purchaseToken})}}d();d();var b_=P.array(P.string().min(1).max(64)).max(of).default([]),$_=P.string().trim().min(1).max(rf),FI=P.object({method:P.string().max(8),path:P.string().max(200),status:P.number().int().min(0).max(599),agoMs:P.number().int().min(0)}),ZI=P.object({surface:P.enum(tf),client:P.string().max(200),language:P.string().max(16),route:P.string().max(200),viewport:P.string().max(32),timeZone:P.string().max(64),failures:P.array(FI).max(jn)}),__=P.object({id:P.string()}),VI=P.object({subject:P.string().trim().min(1).max(nf),body:$_,attachments:b_,context:ZI}),BI=P.object({body:$_,attachments:b_}),WI={list:j.route({method:"GET",path:Mt}).output(K()),open:j.route({method:"POST",path:Mt,successStatus:201}).input(VI).output(K()),thread:j.route({method:"GET",path:`${Mt}/{id}`}).input(__).output(K()),reply:j.route({method:"POST",path:`${Mt}/{id}/messages`}).input(__.extend(BI.shape)).output(K())};d();d();d();var x_={title:"\u0627\u0644\u0630\u0627\u0643\u0631\u0629",empty:"\u0644\u0627 \u0634\u064A\u0621 \u0645\u062D\u0641\u0648\u0638 \u0628\u0639\u062F",search:"\u0628\u062D\u062B \u0641\u064A \u0627\u0644\u0630\u0643\u0631\u064A\u0627\u062A",noMatch:"\u0644\u0627 \u0630\u0643\u0631\u0649 \u062A\u0637\u0627\u0628\u0642",more:"\u0639\u0631\u0636 \u0627\u0644\u0645\u0632\u064A\u062F",seeAll:"\u0639\u0631\u0636 \u0627\u0644\u0643\u0644",recent:"\u0627\u0644\u0623\u062D\u062F\u062B",places:"\u0627\u0644\u0623\u0645\u0627\u0643\u0646",where:"\u0627\u0644\u0646\u0637\u0627\u0642",levels:{object:"\u0641\u064A {name} \u0641\u0642\u0637",member:"\u0623\u0646\u062A \u0641\u0642\u0637 \u0641\u064A {name}",team:"\u0627\u0644\u062C\u0645\u064A\u0639 \u0641\u064A {name}",everywhere:"\u0641\u064A \u0643\u0644 \u0645\u0643\u0627\u0646"},kinds:{about:"\u0639\u0646\u0643",instruction:"\u062A\u0639\u0644\u064A\u0645\u0627\u062A",project:"\u0645\u0634\u0627\u0631\u064A\u0639",reference:"\u0645\u0631\u0627\u062C\u0639"},fields:{kind:"\u0627\u0644\u0646\u0648\u0639",details:"\u0627\u0644\u062A\u0641\u0627\u0635\u064A\u0644"},byAssistant:"\u062D\u0641\u0638\u0647\u0627 \u0627\u0644\u0645\u0633\u0627\u0639\u062F {time}",byYou:"\u062D\u0641\u0638\u062A\u0647\u0627 \u0623\u0646\u062A {time}",remove:"\u062D\u0630\u0641",removeOne:"\u062D\u0630\u0641 {title}",removeTitle:"\u062D\u0630\u0641 \u0647\u0630\u0647 \u0627\u0644\u0630\u0643\u0631\u0649\u061F",removeAll:"\u062D\u0630\u0641 \u0627\u0644\u0643\u0644",removeAllTitle:"\u062D\u0630\u0641 \u0643\u0644 \u0627\u0644\u0630\u0643\u0631\u064A\u0627\u062A\u061F",removeAllLine:"\u064A\u0646\u0633\u0649 \u0627\u0644\u0645\u0633\u0627\u0639\u062F \u0643\u0644 \u0645\u0627 \u0627\u062D\u062A\u0641\u0638 \u0628\u0647 \u0639\u0646\u0643.",removePlaceTitle:{zero:"\u062D\u0630\u0641 {count} \u0630\u0643\u0631\u0649\u061F",one:"\u062D\u0630\u0641 \u0630\u0643\u0631\u0649 \u0648\u0627\u062D\u062F\u0629\u061F",two:"\u062D\u0630\u0641 \u0630\u0643\u0631\u064A\u064A\u0646\u061F",few:"\u062D\u0630\u0641 {count} \u0630\u0643\u0631\u064A\u0627\u062A\u061F",many:"\u062D\u0630\u0641 {count} \u0630\u0643\u0631\u0649\u061F",other:"\u062D\u0630\u0641 {count} \u0630\u0643\u0631\u0649\u061F"},removed:"\u062A\u0645 \u0627\u0644\u062D\u0630\u0641",loadFailed:"\u062A\u0639\u0630\u0651\u0631 \u062A\u062D\u0645\u064A\u0644 \u0630\u0643\u0631\u064A\u0627\u062A\u0643.",gone:"\u062D\u064F\u0630\u0641\u062A \u0647\u0630\u0647 \u0627\u0644\u0630\u0643\u0631\u0649 \u0645\u0646 \u0642\u0628\u0644.",server:{memory_empty:"\u062A\u062D\u062A\u0627\u062C \u0627\u0644\u0630\u0643\u0631\u0649 \u0625\u0644\u0649 \u0639\u0646\u0648\u0627\u0646 \u0648\u0648\u0635\u0641.",memory_too_long:"\u0647\u0630\u0647 \u0627\u0644\u0630\u0643\u0631\u0649 \u0637\u0648\u064A\u0644\u0629 \u062C\u062F\u064B\u0627.",memory_full:"\u0644\u0627 \u0645\u0643\u0627\u0646 \u0644\u0630\u0643\u0631\u064A\u0627\u062A \u0623\u062E\u0631\u0649 \u0647\u0646\u0627\u061B \u0627\u062D\u0630\u0641 \u0648\u0627\u062D\u062F\u0629 \u0623\u0648\u0644\u064B\u0627.",memory_changed:"\u062A\u063A\u064A\u0651\u0631\u062A \u0647\u0630\u0647 \u0627\u0644\u0630\u0643\u0631\u0649 \u0641\u064A \u0627\u0644\u0623\u062B\u0646\u0627\u0621\u061B \u0623\u0639\u062F \u062A\u062D\u0645\u064A\u0644\u0647\u0627.",title_taken:"\u062A\u0648\u062C\u062F \u0630\u0643\u0631\u0649 \u0623\u062E\u0631\u0649 \u0628\u0647\u0630\u0627 \u0627\u0644\u0639\u0646\u0648\u0627\u0646."},tools:{create_memory:"\u062D\u064F\u0641\u0638 \u0641\u064A \u0627\u0644\u0630\u0627\u0643\u0631\u0629",search_memories:"\u0628\u062D\u062B \u0641\u064A \u0627\u0644\u0630\u0643\u0631\u064A\u0627\u062A",read_memory:"\u0642\u0631\u0623 \u0630\u0643\u0631\u0649",update_memory:"\u0639\u064F\u062F\u0651\u0644\u062A \u0630\u0643\u0631\u0649",delete_memory:"\u062D\u064F\u0630\u0641\u062A \u0630\u0643\u0631\u0649"}};d();var w_={title:"Ged\xE4chtnis",empty:"Noch nichts gemerkt",search:"Erinnerungen suchen",noMatch:"Keine Erinnerung passt",more:"Mehr anzeigen",seeAll:"Alle anzeigen",recent:"Neueste",places:"Orte",where:"Wo",levels:{object:"Nur in {name}",member:"Nur du bei {name}",team:"Alle bei {name}",everywhere:"\xDCberall"},kinds:{about:"\xDCber dich",instruction:"Anweisungen",project:"Projekte",reference:"Verweise"},fields:{kind:"Art",details:"Details"},byAssistant:"Vom Assistenten gespeichert {time}",byYou:"Von dir gespeichert {time}",remove:"L\xF6schen",removeOne:"{title} l\xF6schen",removeTitle:"Diese Erinnerung l\xF6schen?",removeAll:"Alle l\xF6schen",removeAllTitle:"Alle Erinnerungen l\xF6schen?",removeAllLine:"Der Assistent vergisst alles, was er \xFCber dich behalten hat.",removePlaceTitle:{one:"{count} Erinnerung l\xF6schen?",other:"{count} Erinnerungen l\xF6schen?"},removed:"Gel\xF6scht",loadFailed:"Deine Erinnerungen konnten nicht geladen werden.",gone:"Diese Erinnerung wurde bereits gel\xF6scht.",server:{memory_empty:"Eine Erinnerung braucht einen Titel und eine Beschreibung.",memory_too_long:"Diese Erinnerung ist zu lang.",memory_full:"Hier passen keine weiteren Erinnerungen; l\xF6sch zuerst eine.",memory_changed:"Diese Erinnerung hat sich inzwischen ge\xE4ndert; lade sie neu.",title_taken:"Eine andere Erinnerung hat schon diesen Titel."},tools:{create_memory:"Gemerkt",search_memories:"Erinnerungen durchsucht",read_memory:"Erinnerung gelesen",update_memory:"Erinnerung ge\xE4ndert",delete_memory:"Erinnerung gel\xF6scht"}};d();var k_={title:"Memory",empty:"Nothing remembered yet",search:"Search memories",noMatch:"No memory matches",more:"Show more",seeAll:"See all",recent:"Recent",places:"Places",where:"Where",levels:{object:"Only in {name}",member:"Only you at {name}",team:"Everyone at {name}",everywhere:"Everywhere"},kinds:{about:"About you",instruction:"Instructions",project:"Projects",reference:"References"},fields:{kind:"Kind",details:"Details"},byAssistant:"Saved by the assistant {time}",byYou:"Saved by you {time}",remove:"Delete",removeOne:"Delete {title}",removeTitle:"Delete this memory?",removeAll:"Delete all",removeAllTitle:"Delete all memories?",removeAllLine:"The assistant forgets everything it kept about you.",removePlaceTitle:{one:"Delete {count} memory?",other:"Delete {count} memories?"},removed:"Deleted",loadFailed:"Could not load your memories.",gone:"That memory was already deleted.",server:{memory_empty:"A memory needs a title and a description.",memory_too_long:"That memory is too long.",memory_full:"No more memories fit here; delete one first.",memory_changed:"That memory changed in the meantime; reload it.",title_taken:"Another memory already has that title."},tools:{create_memory:"Saved to memory",search_memories:"Searched memories",read_memory:"Read a memory",update_memory:"Updated a memory",delete_memory:"Deleted a memory"}};d();var S_={title:"Memoria",empty:"Nada recordado a\xFAn",search:"Buscar recuerdos",noMatch:"Ning\xFAn recuerdo coincide",more:"Ver m\xE1s",seeAll:"Ver todo",recent:"Recientes",places:"Lugares",where:"D\xF3nde",levels:{object:"Solo en {name}",member:"Solo t\xFA en {name}",team:"Todos en {name}",everywhere:"En todas partes"},kinds:{about:"Sobre ti",instruction:"Instrucciones",project:"Proyectos",reference:"Referencias"},fields:{kind:"Tipo",details:"Detalles"},byAssistant:"Guardado por el asistente {time}",byYou:"Guardado por ti {time}",remove:"Eliminar",removeOne:"Eliminar {title}",removeTitle:"\xBFEliminar este recuerdo?",removeAll:"Eliminar todo",removeAllTitle:"\xBFEliminar todos los recuerdos?",removeAllLine:"El asistente olvida todo lo que guard\xF3 sobre ti.",removePlaceTitle:{one:"\xBFEliminar {count} recuerdo?",other:"\xBFEliminar {count} recuerdos?"},removed:"Eliminado",loadFailed:"No se pudieron cargar tus recuerdos.",gone:"Ese recuerdo ya se elimin\xF3.",server:{memory_empty:"Un recuerdo necesita un t\xEDtulo y una descripci\xF3n.",memory_too_long:"Ese recuerdo es demasiado largo.",memory_full:"Aqu\xED no caben m\xE1s recuerdos; elimina uno primero.",memory_changed:"Ese recuerdo cambi\xF3 mientras tanto; vuelve a cargarlo.",title_taken:"Otro recuerdo ya tiene ese t\xEDtulo."},tools:{create_memory:"Guardado en la memoria",search_memories:"Busc\xF3 en los recuerdos",read_memory:"Ley\xF3 un recuerdo",update_memory:"Recuerdo actualizado",delete_memory:"Recuerdo eliminado"}};d();var I_={title:"M\xE9moire",empty:"Rien de m\xE9moris\xE9",search:"Chercher des souvenirs",noMatch:"Aucun souvenir ne correspond",more:"Voir plus",seeAll:"Tout voir",recent:"R\xE9cents",places:"Lieux",where:"O\xF9",levels:{object:"Seulement dans {name}",member:"Seulement vous chez {name}",team:"Tout le monde chez {name}",everywhere:"Partout"},kinds:{about:"\xC0 propos de vous",instruction:"Consignes",project:"Projets",reference:"R\xE9f\xE9rences"},fields:{kind:"Type",details:"D\xE9tails"},byAssistant:"Enregistr\xE9 par l'assistant {time}",byYou:"Enregistr\xE9 par vous {time}",remove:"Supprimer",removeOne:"Supprimer {title}",removeTitle:"Supprimer ce souvenir ?",removeAll:"Tout supprimer",removeAllTitle:"Supprimer tous les souvenirs ?",removeAllLine:"L'assistant oublie tout ce qu'il a retenu sur vous.",removePlaceTitle:{one:"Supprimer {count} souvenir ?",other:"Supprimer {count} souvenirs ?"},removed:"Supprim\xE9",loadFailed:"Impossible de charger vos souvenirs.",gone:"Ce souvenir a d\xE9j\xE0 \xE9t\xE9 supprim\xE9.",server:{memory_empty:"Un souvenir a besoin d'un titre et d'une description.",memory_too_long:"Ce souvenir est trop long.",memory_full:"Plus aucun souvenir ne tient ici ; supprimez-en un d'abord.",memory_changed:"Ce souvenir a chang\xE9 entre-temps ; rechargez-le.",title_taken:"Un autre souvenir porte d\xE9j\xE0 ce titre."},tools:{create_memory:"M\xE9moris\xE9",search_memories:"Souvenirs cherch\xE9s",read_memory:"Souvenir lu",update_memory:"Souvenir modifi\xE9",delete_memory:"Souvenir supprim\xE9"}};d();var P_={title:"\u30E1\u30E2\u30EA\u30FC",empty:"\u307E\u3060\u8A18\u61B6\u306F\u3042\u308A\u307E\u305B\u3093",search:"\u8A18\u61B6\u3092\u691C\u7D22",noMatch:"\u4E00\u81F4\u3059\u308B\u8A18\u61B6\u306F\u3042\u308A\u307E\u305B\u3093",more:"\u3082\u3063\u3068\u898B\u308B",seeAll:"\u3059\u3079\u3066\u8868\u793A",recent:"\u6700\u8FD1",places:"\u5834\u6240",where:"\u9069\u7528\u7BC4\u56F2",levels:{object:"{name}\u306E\u307F",member:"{name}\u3067\u3042\u306A\u305F\u3060\u3051",team:"{name}\u306E\u5168\u54E1",everywhere:"\u3069\u3053\u3067\u3082"},kinds:{about:"\u3042\u306A\u305F\u306B\u3064\u3044\u3066",instruction:"\u6307\u793A",project:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",reference:"\u53C2\u7167\u5148"},fields:{kind:"\u7A2E\u985E",details:"\u8A73\u7D30"},byAssistant:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u304C\u4FDD\u5B58 {time}",byYou:"\u3042\u306A\u305F\u304C\u4FDD\u5B58 {time}",remove:"\u524A\u9664",removeOne:"{title}\u3092\u524A\u9664",removeTitle:"\u3053\u306E\u8A18\u61B6\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F",removeAll:"\u3059\u3079\u3066\u524A\u9664",removeAllTitle:"\u3059\u3079\u3066\u306E\u8A18\u61B6\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F",removeAllLine:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u306F\u3042\u306A\u305F\u306B\u3064\u3044\u3066\u899A\u3048\u305F\u3053\u3068\u3092\u3059\u3079\u3066\u5FD8\u308C\u307E\u3059\u3002",removePlaceTitle:{other:"{count}\u4EF6\u306E\u8A18\u61B6\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F"},removed:"\u524A\u9664\u3057\u307E\u3057\u305F",loadFailed:"\u8A18\u61B6\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F\u3002",gone:"\u305D\u306E\u8A18\u61B6\u306F\u3059\u3067\u306B\u524A\u9664\u3055\u308C\u3066\u3044\u307E\u3059\u3002",server:{memory_empty:"\u8A18\u61B6\u306B\u306F\u30BF\u30A4\u30C8\u30EB\u3068\u8AAC\u660E\u304C\u5FC5\u8981\u3067\u3059\u3002",memory_too_long:"\u305D\u306E\u8A18\u61B6\u306F\u9577\u3059\u304E\u307E\u3059\u3002",memory_full:"\u3053\u3053\u306B\u306F\u3053\u308C\u4EE5\u4E0A\u8A18\u61B6\u3092\u4FDD\u5B58\u3067\u304D\u306A\u3044\u305F\u3081\u3001\u5148\u306B\u3072\u3068\u3064\u524A\u9664\u3057\u3066\u304F\u3060\u3055\u3044\u3002",memory_changed:"\u305D\u306E\u8A18\u61B6\u306F\u305D\u306E\u9593\u306B\u5909\u66F4\u3055\u308C\u305F\u305F\u3081\u3001\u518D\u8AAD\u307F\u8FBC\u307F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",title_taken:"\u540C\u3058\u30BF\u30A4\u30C8\u30EB\u306E\u8A18\u61B6\u304C\u3059\u3067\u306B\u3042\u308A\u307E\u3059\u3002"},tools:{create_memory:"\u8A18\u61B6\u3057\u307E\u3057\u305F",search_memories:"\u8A18\u61B6\u3092\u691C\u7D22\u3057\u307E\u3057\u305F",read_memory:"\u8A18\u61B6\u3092\u8AAD\u307F\u307E\u3057\u305F",update_memory:"\u8A18\u61B6\u3092\u66F4\u65B0\u3057\u307E\u3057\u305F",delete_memory:"\u8A18\u61B6\u3092\u524A\u9664\u3057\u307E\u3057\u305F"}};d();var T_={title:"\uBA54\uBAA8\uB9AC",empty:"\uC544\uC9C1 \uAE30\uC5B5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",search:"\uAE30\uC5B5 \uAC80\uC0C9",noMatch:"\uC77C\uCE58\uD558\uB294 \uAE30\uC5B5 \uC5C6\uC74C",more:"\uB354 \uBCF4\uAE30",seeAll:"\uBAA8\uB450 \uBCF4\uAE30",recent:"\uCD5C\uADFC",places:"\uC7A5\uC18C",where:"\uC801\uC6A9 \uBC94\uC704",levels:{object:"{name}\uC5D0\uC11C\uB9CC",member:"{name}\uC5D0\uC11C \uB098\uB9CC",team:"{name}\uC758 \uBAA8\uB450",everywhere:"\uBAA8\uB4E0 \uACF3"},kinds:{about:"\uB098\uC5D0 \uB300\uD574",instruction:"\uC9C0\uC2DC",project:"\uD504\uB85C\uC81D\uD2B8",reference:"\uCC38\uACE0"},fields:{kind:"\uC885\uB958",details:"\uC138\uBD80 \uB0B4\uC6A9"},byAssistant:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uAC00 \uC800\uC7A5 {time}",byYou:"\uB0B4\uAC00 \uC800\uC7A5 {time}",remove:"\uC0AD\uC81C",removeOne:"{title} \uC0AD\uC81C",removeTitle:"\uC774 \uAE30\uC5B5\uC744 \uC0AD\uC81C\uD560\uAE4C\uC694?",removeAll:"\uBAA8\uB450 \uC0AD\uC81C",removeAllTitle:"\uBAA8\uB4E0 \uAE30\uC5B5\uC744 \uC0AD\uC81C\uD560\uAE4C\uC694?",removeAllLine:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uAC00 \uB098\uC5D0 \uB300\uD574 \uAE30\uC5B5\uD55C \uBAA8\uB4E0 \uB0B4\uC6A9\uC744 \uC78A\uC2B5\uB2C8\uB2E4.",removePlaceTitle:{other:"\uAE30\uC5B5 {count}\uAC1C\uB97C \uC0AD\uC81C\uD560\uAE4C\uC694?"},removed:"\uC0AD\uC81C\uB428",loadFailed:"\uAE30\uC5B5\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",gone:"\uC774\uBBF8 \uC0AD\uC81C\uB41C \uAE30\uC5B5\uC785\uB2C8\uB2E4.",server:{memory_empty:"\uAE30\uC5B5\uC5D0\uB294 \uC81C\uBAA9\uACFC \uC124\uBA85\uC774 \uD544\uC694\uD569\uB2C8\uB2E4.",memory_too_long:"\uAE30\uC5B5\uC774 \uB108\uBB34 \uAE41\uB2C8\uB2E4.",memory_full:"\uC5EC\uAE30\uC5D0\uB294 \uB354 \uC774\uC0C1 \uAE30\uC5B5\uC744 \uC800\uC7A5\uD560 \uC218 \uC5C6\uC73C\uB2C8 \uBA3C\uC800 \uD558\uB098\uB97C \uC0AD\uC81C\uD558\uC138\uC694.",memory_changed:"\uADF8\uC0AC\uC774 \uAE30\uC5B5\uC774 \uBC14\uB00C\uC5C8\uC73C\uB2C8 \uB2E4\uC2DC \uBD88\uB7EC\uC624\uC138\uC694.",title_taken:"\uAC19\uC740 \uC81C\uBAA9\uC758 \uAE30\uC5B5\uC774 \uC774\uBBF8 \uC788\uC2B5\uB2C8\uB2E4."},tools:{create_memory:"\uBA54\uBAA8\uB9AC\uC5D0 \uC800\uC7A5\uD568",search_memories:"\uAE30\uC5B5\uC744 \uAC80\uC0C9\uD568",read_memory:"\uAE30\uC5B5\uC744 \uC77D\uC74C",update_memory:"\uAE30\uC5B5\uC744 \uC218\uC815\uD568",delete_memory:"\uAE30\uC5B5\uC744 \uC0AD\uC81C\uD568"}};d();var A_={title:"Mem\xF3ria",empty:"Nada memorizado ainda",search:"Buscar mem\xF3rias",noMatch:"Nenhuma mem\xF3ria corresponde",more:"Mostrar mais",seeAll:"Ver tudo",recent:"Recentes",places:"Lugares",where:"Onde",levels:{object:"S\xF3 em {name}",member:"S\xF3 voc\xEA em {name}",team:"Todos em {name}",everywhere:"Em todo lugar"},kinds:{about:"Sobre voc\xEA",instruction:"Instru\xE7\xF5es",project:"Projetos",reference:"Refer\xEAncias"},fields:{kind:"Tipo",details:"Detalhes"},byAssistant:"Salvo pelo assistente {time}",byYou:"Salvo por voc\xEA {time}",remove:"Excluir",removeOne:"Excluir {title}",removeTitle:"Excluir esta mem\xF3ria?",removeAll:"Excluir tudo",removeAllTitle:"Excluir todas as mem\xF3rias?",removeAllLine:"O assistente esquece tudo o que guardou sobre voc\xEA.",removePlaceTitle:{one:"Excluir {count} mem\xF3ria?",other:"Excluir {count} mem\xF3rias?"},removed:"Exclu\xEDdo",loadFailed:"N\xE3o foi poss\xEDvel carregar suas mem\xF3rias.",gone:"Essa mem\xF3ria j\xE1 foi exclu\xEDda.",server:{memory_empty:"Uma mem\xF3ria precisa de um t\xEDtulo e uma descri\xE7\xE3o.",memory_too_long:"Essa mem\xF3ria \xE9 longa demais.",memory_full:"N\xE3o cabem mais mem\xF3rias aqui; exclua uma primeiro.",memory_changed:"Essa mem\xF3ria mudou nesse meio-tempo; recarregue-a.",title_taken:"Outra mem\xF3ria j\xE1 tem esse t\xEDtulo."},tools:{create_memory:"Salvo na mem\xF3ria",search_memories:"Buscou mem\xF3rias",read_memory:"Leu uma mem\xF3ria",update_memory:"Mem\xF3ria atualizada",delete_memory:"Mem\xF3ria exclu\xEDda"}};d();var E_={title:"\u041F\u0430\u043C\u044F\u0442\u044C",empty:"\u041F\u043E\u043A\u0430 \u043D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u0437\u0430\u043F\u043E\u043C\u043D\u0435\u043D\u043E",search:"\u0418\u0441\u043A\u0430\u0442\u044C \u0432 \u043F\u0430\u043C\u044F\u0442\u0438",noMatch:"\u041D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E",more:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0435\u0449\u0451",seeAll:"\u0412\u0441\u0435",recent:"\u041D\u0435\u0434\u0430\u0432\u043D\u0438\u0435",places:"\u041C\u0435\u0441\u0442\u0430",where:"\u0413\u0434\u0435",levels:{object:"\u0422\u043E\u043B\u044C\u043A\u043E \u0432 {name}",member:"\u0422\u043E\u043B\u044C\u043A\u043E \u0432\u044B \u0432 {name}",team:"\u0412\u0441\u0435 \u0432 {name}",everywhere:"\u0412\u0435\u0437\u0434\u0435"},kinds:{about:"\u041E \u0432\u0430\u0441",instruction:"\u0423\u043A\u0430\u0437\u0430\u043D\u0438\u044F",project:"\u041F\u0440\u043E\u0435\u043A\u0442\u044B",reference:"\u0421\u0441\u044B\u043B\u043A\u0438"},fields:{kind:"\u0412\u0438\u0434",details:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u043E\u0441\u0442\u0438"},byAssistant:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u043B \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 {time}",byYou:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u043B\u0438 \u0432\u044B {time}",remove:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",removeOne:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \xAB{title}\xBB",removeTitle:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u0443 \u0437\u0430\u043F\u0438\u0441\u044C?",removeAll:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0451",removeAllTitle:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435 \u0437\u0430\u043F\u0438\u0441\u0438?",removeAllLine:"\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u0437\u0430\u0431\u0443\u0434\u0435\u0442 \u0432\u0441\u0451, \u0447\u0442\u043E \u0437\u0430\u043F\u043E\u043C\u043D\u0438\u043B \u043E \u0432\u0430\u0441.",removePlaceTitle:{one:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C {count} \u0437\u0430\u043F\u0438\u0441\u044C?",few:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C {count} \u0437\u0430\u043F\u0438\u0441\u0438?",many:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C {count} \u0437\u0430\u043F\u0438\u0441\u0435\u0439?",other:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C {count} \u0437\u0430\u043F\u0438\u0441\u0438?"},removed:"\u0423\u0434\u0430\u043B\u0435\u043D\u043E",loadFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0437\u0430\u043F\u0438\u0441\u0438 \u043F\u0430\u043C\u044F\u0442\u0438.",gone:"\u042D\u0442\u0430 \u0437\u0430\u043F\u0438\u0441\u044C \u0443\u0436\u0435 \u0443\u0434\u0430\u043B\u0435\u043D\u0430.",server:{memory_empty:"\u0417\u0430\u043F\u0438\u0441\u0438 \u043D\u0443\u0436\u043D\u044B \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0438 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435.",memory_too_long:"\u042D\u0442\u0430 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0434\u043B\u0438\u043D\u043D\u0430\u044F.",memory_full:"\u0421\u044E\u0434\u0430 \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u0441\u044F \u043D\u0438 \u043E\u0434\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438; \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0443\u0434\u0430\u043B\u0438\u0442\u0435 \u043E\u0434\u043D\u0443.",memory_changed:"\u042D\u0442\u0430 \u0437\u0430\u043F\u0438\u0441\u044C \u0442\u0435\u043C \u0432\u0440\u0435\u043C\u0435\u043D\u0435\u043C \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u0430\u0441\u044C; \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0435\u0451 \u0437\u0430\u043D\u043E\u0432\u043E.",title_taken:"\u0417\u0430\u043F\u0438\u0441\u044C \u0441 \u0442\u0430\u043A\u0438\u043C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u043E\u043C \u0443\u0436\u0435 \u0435\u0441\u0442\u044C."},tools:{create_memory:"\u0417\u0430\u043F\u043E\u043C\u043D\u0438\u043B",search_memories:"\u0418\u0441\u043A\u0430\u043B \u0432 \u043F\u0430\u043C\u044F\u0442\u0438",read_memory:"\u041F\u0440\u043E\u0447\u0438\u0442\u0430\u043B \u0437\u0430\u043F\u0438\u0441\u044C",update_memory:"\u0418\u0437\u043C\u0435\u043D\u0438\u043B \u0437\u0430\u043F\u0438\u0441\u044C",delete_memory:"\u0423\u0434\u0430\u043B\u0438\u043B \u0437\u0430\u043F\u0438\u0441\u044C"}};d();var O_={title:"\u8BB0\u5FC6",empty:"\u8FD8\u6CA1\u6709\u8BB0\u5FC6",search:"\u641C\u7D22\u8BB0\u5FC6",noMatch:"\u6CA1\u6709\u5339\u914D\u7684\u8BB0\u5FC6",more:"\u663E\u793A\u66F4\u591A",seeAll:"\u67E5\u770B\u5168\u90E8",recent:"\u6700\u8FD1",places:"\u4F4D\u7F6E",where:"\u8303\u56F4",levels:{object:"\u4EC5\u9650 {name}",member:"\u4EC5\u4F60\u5728 {name}",team:"{name} \u7684\u6240\u6709\u4EBA",everywhere:"\u6240\u6709\u5730\u65B9"},kinds:{about:"\u5173\u4E8E\u4F60",instruction:"\u6307\u793A",project:"\u9879\u76EE",reference:"\u53C2\u8003"},fields:{kind:"\u7C7B\u578B",details:"\u8BE6\u60C5"},byAssistant:"\u7531\u52A9\u624B\u4FDD\u5B58 {time}",byYou:"\u7531\u4F60\u4FDD\u5B58 {time}",remove:"\u5220\u9664",removeOne:"\u5220\u9664{title}",removeTitle:"\u5220\u9664\u8FD9\u6761\u8BB0\u5FC6\uFF1F",removeAll:"\u5168\u90E8\u5220\u9664",removeAllTitle:"\u5220\u9664\u6240\u6709\u8BB0\u5FC6\uFF1F",removeAllLine:"\u52A9\u624B\u4F1A\u5FD8\u8BB0\u5B83\u8BB0\u4F4F\u7684\u5173\u4E8E\u4F60\u7684\u4E00\u5207\u3002",removePlaceTitle:{other:"\u5220\u9664 {count} \u6761\u8BB0\u5FC6\uFF1F"},removed:"\u5DF2\u5220\u9664",loadFailed:"\u65E0\u6CD5\u52A0\u8F7D\u4F60\u7684\u8BB0\u5FC6\u3002",gone:"\u8FD9\u6761\u8BB0\u5FC6\u5DF2\u88AB\u5220\u9664\u3002",server:{memory_empty:"\u8BB0\u5FC6\u9700\u8981\u6807\u9898\u548C\u63CF\u8FF0\u3002",memory_too_long:"\u8FD9\u6761\u8BB0\u5FC6\u592A\u957F\u4E86\u3002",memory_full:"\u8FD9\u91CC\u653E\u4E0D\u4E0B\u66F4\u591A\u8BB0\u5FC6\uFF0C\u8BF7\u5148\u5220\u9664\u4E00\u6761\u3002",memory_changed:"\u8FD9\u6761\u8BB0\u5FC6\u5728\u6B64\u671F\u95F4\u5DF2\u66F4\u6539\uFF0C\u8BF7\u91CD\u65B0\u52A0\u8F7D\u3002",title_taken:"\u5DF2\u6709\u53E6\u4E00\u6761\u8BB0\u5FC6\u4F7F\u7528\u8FD9\u4E2A\u6807\u9898\u3002"},tools:{create_memory:"\u5DF2\u5B58\u5165\u8BB0\u5FC6",search_memories:"\u641C\u7D22\u4E86\u8BB0\u5FC6",read_memory:"\u8BFB\u53D6\u4E86\u4E00\u6761\u8BB0\u5FC6",update_memory:"\u5DF2\u66F4\u65B0\u8BB0\u5FC6",delete_memory:"\u5DF2\u5220\u9664\u8BB0\u5FC6"}};var GI=hf({en:k_,ar:x_,de:w_,es:S_,fr:I_,ja:P_,ko:T_,pt:A_,ru:E_,zh:O_});d();var La=le(oe(),1);d();d();var YL={en:{account:{deleteConfirmLede:"Everything in it is permanently deleted.",deleteFailed:"Could not delete your account.",deleteStale:"Deleting your account requires a recent sign-in.",deleted:"Your account was deleted.",loadFailed:"Could not load your sign-in methods.",wrongPassword:"Incorrect password."},auth:{agree:"By continuing you agree to the {terms} and {privacy}.",botCheckFailed:"The security check did not pass; try again.",continueWith:"Continue with {provider}",createAccount:"Create account",failed:"Check the email address and password.",mailFailed:"Could not send the email; try again.",orWithEmail:"or with email",privacy:"Privacy Policy",terms:"Terms"},common:{email:"Email",password:"Password",requestFailed:"Something went wrong; try again.",send:"Send",stop:"Stop",unreachable:"Could not connect to the server; check your connection."},consent:{allow:"Allow",deny:"Don't Allow",failed:"Could not change the setting; try again.",heading:"Assistant",label:"Allow the assistant",line:"Your messages, your voice and what it reads go to the AI model.",memories:"What the assistant remembers about you",messages:"Your messages and attachments",model:"AI model",receives:"Who receives it",search:"Web search",sent:"What is sent",title:"Allow the assistant?",training:"None of them trains a model on it.",voice:"Your voice in voice mode"},forgot:{failed:"Could not send the reset email.",lede:"Enter your email address to receive a reset link.",send:"Send reset link",sentLede:"If an account exists for {email}, a reset link has been sent.",sentTitle:"Check your inbox",title:"Reset your password"},formatting:{blocks:"Blocks",text:"Text",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",bulletList:"Bulleted list",orderedList:"Numbered list",taskList:"To-do list",quote:"Quote",table:"Table",divider:"Divider",code:"Code",formatting:"Formatting",bold:"Bold",italic:"Italic",strike:"Strikethrough",inlineCode:"Code",link:"Link"},proposal:{applied:"Applied",applying:"Applying",approve:"Approve",discard:"Discard",discarded:"Discarded",failed:"Failed"},photos:{adding:"Adding {name}",remove:"Remove {name}",photo:"Photo",library:"Photos",wrongType:"{name} is not a photo."},run:{lost:"The connection to the assistant was lost."},conversations:{title:"Conversations",search:"Search conversations",none:"No conversations",today:"Today",yesterday:"Yesterday",week:"Previous 7 days",month:"Previous 30 days"},pane:{assistant:"Assistant",starters:"Ways to start"},pages:{pageTitle:"Page {page}"},progress:{working:"Working"},product:{allowFirst:"Allow the assistant in {name} first",open:"Open {name}"},thread:{message:"Message"},documentRun:{paused:"Paused by a restart, then resumed.",resuming:"Resuming after a restart"},runErrors:{model_refused:"The assistant declined that; try rephrasing it.",model_unreachable:"The assistant is unavailable right now; try again shortly.",context_too_long:"This message is too long; send a shorter one.",step_limit:"The assistant reached its step limit; ask again to continue.",model_overran:"The assistant's reply was too long; ask again.",interrupted:"The assistant was interrupted; ask again.",internal:"Something went wrong on our side.",check_failed:"It could not be checked; ask again.",unrepaired:"It still fails a check; ask again to keep fixing it."},voice:{hearing:"Writing it down",label:"Voice mode",listening:"Listening",speaking:"Speaking"},verify:{failed:"Could not resend the email.",ledeTo:"To finish, open the link sent to {email}.",resend:"Resend verification email",resent:"Verification email sent",title:"Verify your email"}},ar:{account:{deleteConfirmLede:"\u064A\u064F\u062D\u0630\u0641 \u0643\u0644 \u0645\u0627 \u0641\u064A\u0647 \u0646\u0647\u0627\u0626\u064A\u064B\u0627.",deleteFailed:"\u062A\u0639\u0630\u0651\u0631 \u062D\u0630\u0641 \u062D\u0633\u0627\u0628\u0643.",deleteStale:"\u064A\u062A\u0637\u0644\u0628 \u062D\u0630\u0641 \u062D\u0633\u0627\u0628\u0643 \u062A\u0633\u062C\u064A\u0644 \u062F\u062E\u0648\u0644 \u062D\u062F\u064A\u062B\u064B\u0627.",deleted:"\u062D\u064F\u0630\u0641 \u062D\u0633\u0627\u0628\u0643.",loadFailed:"\u062A\u0639\u0630\u0651\u0631 \u062A\u062D\u0645\u064A\u0644 \u0637\u0631\u0642 \u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644.",wrongPassword:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u063A\u064A\u0631 \u0635\u062D\u064A\u062D\u0629."},auth:{agree:"\u0628\u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629\u060C \u0641\u0625\u0646\u0643 \u062A\u0648\u0627\u0641\u0642 \u0639\u0644\u0649 {terms} \u0648{privacy}.",botCheckFailed:"\u0644\u0645 \u064A\u0646\u062C\u062D \u0641\u062D\u0635 \u0627\u0644\u0623\u0645\u0627\u0646\u061B \u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",continueWith:"\u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629 \u0639\u0628\u0631 {provider}",createAccount:"\u0625\u0646\u0634\u0627\u0621 \u062D\u0633\u0627\u0628",failed:"\u062A\u062D\u0642\u0651\u0642 \u0645\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0648\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631.",mailFailed:"\u062A\u0639\u0630\u0651\u0631 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0631\u0633\u0627\u0644\u0629\u061B \u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",orWithEmail:"\u0623\u0648 \u0628\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",privacy:"\u0633\u064A\u0627\u0633\u0629 \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629",terms:"\u0627\u0644\u0634\u0631\u0648\u0637"},common:{email:"\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",password:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",requestFailed:"\u062D\u062F\u062B \u062E\u0637\u0623 \u0645\u0627\u061B \u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",send:"\u0625\u0631\u0633\u0627\u0644",stop:"\u0625\u064A\u0642\u0627\u0641",unreachable:"\u062A\u0639\u0630\u0651\u0631 \u0627\u0644\u0627\u062A\u0635\u0627\u0644 \u0628\u0627\u0644\u062E\u0627\u062F\u0645\u061B \u062A\u062D\u0642\u0651\u0642 \u0645\u0646 \u0627\u062A\u0635\u0627\u0644\u0643."},consent:{allow:"\u0627\u0644\u0633\u0645\u0627\u062D",deny:"\u0639\u062F\u0645 \u0627\u0644\u0633\u0645\u0627\u062D",failed:"\u062A\u0639\u0630\u0651\u0631 \u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0625\u0639\u062F\u0627\u062F\u061B \u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",heading:"\u0627\u0644\u0645\u0633\u0627\u0639\u062F",label:"\u0627\u0644\u0633\u0645\u0627\u062D \u0644\u0644\u0645\u0633\u0627\u0639\u062F",line:"\u062A\u064F\u0631\u0633\u064E\u0644 \u0631\u0633\u0627\u0626\u0644\u0643 \u0648\u0635\u0648\u062A\u0643 \u0648\u0645\u0627 \u064A\u0642\u0631\u0624\u0647 \u0627\u0644\u0645\u0633\u0627\u0639\u062F \u0625\u0644\u0649 \u0646\u0645\u0648\u0630\u062C \u0627\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064A.",memories:"\u0645\u0627 \u064A\u062A\u0630\u0643\u0631\u0647 \u0627\u0644\u0645\u0633\u0627\u0639\u062F \u0639\u0646\u0643",messages:"\u0631\u0633\u0627\u0626\u0644\u0643 \u0648\u0645\u0631\u0641\u0642\u0627\u062A\u0643",model:"\u0646\u0645\u0648\u0630\u062C \u0627\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064A",receives:"\u0645\u064E\u0646 \u064A\u062A\u0644\u0642\u0651\u0627\u0647",search:"\u0627\u0644\u0628\u062D\u062B \u0639\u0644\u0649 \u0627\u0644\u0648\u064A\u0628",sent:"\u0645\u0627 \u064A\u064F\u0631\u0633\u064E\u0644",title:"\u0627\u0644\u0633\u0645\u0627\u062D \u0644\u0644\u0645\u0633\u0627\u0639\u062F\u061F",training:"\u0644\u0627 \u064A\u062F\u0631\u0651\u0628 \u0639\u0644\u064A\u0647 \u0623\u064A\u064C\u0651 \u0645\u0646\u0647\u0627 \u0623\u064A \u0646\u0645\u0648\u0630\u062C.",voice:"\u0635\u0648\u062A\u0643 \u0641\u064A \u0627\u0644\u0648\u0636\u0639 \u0627\u0644\u0635\u0648\u062A\u064A"},forgot:{failed:"\u062A\u0639\u0630\u0651\u0631 \u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0644\u0629 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0639\u064A\u064A\u0646.",lede:"\u0623\u062F\u062E\u0644 \u0628\u0631\u064A\u062F\u0643 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0644\u062A\u0644\u0642\u064A \u0631\u0627\u0628\u0637 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0639\u064A\u064A\u0646.",send:"\u0625\u0631\u0633\u0627\u0644 \u0631\u0627\u0628\u0637 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0639\u064A\u064A\u0646",sentLede:"\u0625\u0630\u0627 \u0643\u0627\u0646 \u0647\u0646\u0627\u0643 \u062D\u0633\u0627\u0628 \u0644\u0644\u0639\u0646\u0648\u0627\u0646 {email}\u060C \u0641\u0642\u062F \u0623\u064F\u0631\u0633\u0644 \u0625\u0644\u064A\u0647 \u0631\u0627\u0628\u0637 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0639\u064A\u064A\u0646.",sentTitle:"\u062A\u062D\u0642\u0651\u0642 \u0645\u0646 \u0628\u0631\u064A\u062F\u0643 \u0627\u0644\u0648\u0627\u0631\u062F",title:"\u0625\u0639\u0627\u062F\u0629 \u062A\u0639\u064A\u064A\u0646 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631"},formatting:{blocks:"\u0627\u0644\u0643\u062A\u0644",text:"\u0646\u0635",heading1:"\u0639\u0646\u0648\u0627\u0646 1",heading2:"\u0639\u0646\u0648\u0627\u0646 2",heading3:"\u0639\u0646\u0648\u0627\u0646 3",bulletList:"\u0642\u0627\u0626\u0645\u0629 \u0646\u0642\u0637\u064A\u0629",orderedList:"\u0642\u0627\u0626\u0645\u0629 \u0645\u0631\u0642\u0645\u0629",taskList:"\u0642\u0627\u0626\u0645\u0629 \u0645\u0647\u0627\u0645",quote:"\u0627\u0642\u062A\u0628\u0627\u0633",table:"\u062C\u062F\u0648\u0644",divider:"\u0641\u0627\u0635\u0644",code:"\u0643\u0648\u062F",formatting:"\u0627\u0644\u062A\u0646\u0633\u064A\u0642",bold:"\u063A\u0627\u0645\u0642",italic:"\u0645\u0627\u0626\u0644",strike:"\u064A\u062A\u0648\u0633\u0637\u0647 \u062E\u0637",inlineCode:"\u0643\u0648\u062F",link:"\u0631\u0627\u0628\u0637"},proposal:{applied:"\u0637\u064F\u0628\u0651\u0642",applying:"\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u0637\u0628\u064A\u0642",approve:"\u0645\u0648\u0627\u0641\u0642\u0629",discard:"\u0631\u0641\u0636",discarded:"\u0631\u064F\u0641\u0636",failed:"\u0641\u0634\u0644"},photos:{adding:"\u062C\u0627\u0631\u064D \u0625\u0636\u0627\u0641\u0629 {name}",remove:"\u0625\u0632\u0627\u0644\u0629 {name}",photo:"\u0635\u0648\u0631\u0629",library:"\u0627\u0644\u0635\u0648\u0631",wrongType:"{name} \u0644\u064A\u0633\u062A \u0635\u0648\u0631\u0629."},run:{lost:"\u0627\u0646\u0642\u0637\u0639 \u0627\u0644\u0627\u062A\u0635\u0627\u0644 \u0628\u0627\u0644\u0645\u0633\u0627\u0639\u062F."},conversations:{title:"\u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0627\u062A",search:"\u0627\u0628\u062D\u062B \u0641\u064A \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0627\u062A",none:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u062D\u0627\u062F\u062B\u0627\u062A",today:"\u0627\u0644\u064A\u0648\u0645",yesterday:"\u0623\u0645\u0633",week:"\u0622\u062E\u0631 7 \u0623\u064A\u0627\u0645",month:"\u0622\u062E\u0631 30 \u064A\u0648\u0645\u064B\u0627"},pane:{assistant:"\u0627\u0644\u0645\u0633\u0627\u0639\u062F",starters:"\u0637\u0631\u0642 \u0627\u0644\u0628\u062F\u0621"},pages:{pageTitle:"\u0627\u0644\u0635\u0641\u062D\u0629 {page}"},progress:{working:"\u064A\u0639\u0645\u0644"},product:{allowFirst:"\u0627\u0633\u0645\u062D \u0644\u0644\u0645\u0633\u0627\u0639\u062F \u0641\u064A {name} \u0623\u0648\u0644\u064B\u0627",open:"\u0641\u062A\u062D {name}"},thread:{message:"\u0631\u0633\u0627\u0644\u0629"},documentRun:{paused:"\u062A\u0648\u0642\u0651\u0641 \u0628\u0633\u0628\u0628 \u0625\u0639\u0627\u062F\u0629 \u062A\u0634\u063A\u064A\u0644\u060C \u062B\u0645 \u0627\u0633\u062A\u064F\u0624\u0646\u0641.",resuming:"\u062C\u0627\u0631\u064D \u0627\u0644\u0627\u0633\u062A\u0626\u0646\u0627\u0641 \u0628\u0639\u062F \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0634\u063A\u064A\u0644"},runErrors:{model_refused:"\u0631\u0641\u0636 \u0627\u0644\u0645\u0633\u0627\u0639\u062F \u0630\u0644\u0643\u061B \u062C\u0631\u0651\u0628 \u0625\u0639\u0627\u062F\u0629 \u0635\u064A\u0627\u063A\u062A\u0647.",model_unreachable:"\u0627\u0644\u0645\u0633\u0627\u0639\u062F \u063A\u064A\u0631 \u0645\u062A\u0627\u062D \u0627\u0644\u0622\u0646\u061B \u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649 \u0628\u0639\u062F \u0642\u0644\u064A\u0644.",context_too_long:"\u0647\u0630\u0647 \u0627\u0644\u0631\u0633\u0627\u0644\u0629 \u0637\u0648\u064A\u0644\u0629 \u062C\u062F\u064B\u0627\u061B \u0623\u0631\u0633\u0644 \u0631\u0633\u0627\u0644\u0629 \u0623\u0642\u0635\u0631.",step_limit:"\u0628\u0644\u063A \u0627\u0644\u0645\u0633\u0627\u0639\u062F \u062D\u062F\u0651 \u0627\u0644\u062E\u0637\u0648\u0627\u062A\u061B \u0627\u0637\u0644\u0628 \u0645\u062C\u062F\u062F\u064B\u0627 \u0644\u0644\u0645\u062A\u0627\u0628\u0639\u0629.",model_overran:"\u0643\u0627\u0646 \u0631\u062F \u0627\u0644\u0645\u0633\u0627\u0639\u062F \u0637\u0648\u064A\u0644\u064B\u0627 \u062C\u062F\u064B\u0627\u061B \u0627\u0637\u0644\u0628 \u0645\u062C\u062F\u062F\u064B\u0627.",interrupted:"\u0627\u0646\u0642\u0637\u0639 \u0639\u0645\u0644 \u0627\u0644\u0645\u0633\u0627\u0639\u062F\u061B \u0627\u0637\u0644\u0628 \u0645\u062C\u062F\u062F\u064B\u0627.",internal:"\u062D\u062F\u062B \u062E\u0637\u0623 \u0645\u0646 \u062C\u0627\u0646\u0628\u0646\u0627.",check_failed:"\u062A\u0639\u0630\u0651\u0631 \u0641\u062D\u0635\u0647\u061B \u0627\u0637\u0644\u0628 \u0645\u062C\u062F\u062F\u064B\u0627.",unrepaired:"\u0645\u0627 \u0632\u0627\u0644 \u0644\u0627 \u064A\u062C\u062A\u0627\u0632 \u0623\u062D\u062F \u0627\u0644\u0641\u062D\u0648\u0635\u061B \u0627\u0637\u0644\u0628 \u0645\u062C\u062F\u062F\u064B\u0627 \u0644\u0645\u0648\u0627\u0635\u0644\u0629 \u0625\u0635\u0644\u0627\u062D\u0647."},voice:{hearing:"\u064A\u0643\u062A\u0628 \u0645\u0627 \u0642\u0644\u062A\u0647",label:"\u0627\u0644\u0648\u0636\u0639 \u0627\u0644\u0635\u0648\u062A\u064A",listening:"\u064A\u0633\u062A\u0645\u0639",speaking:"\u064A\u062A\u062D\u062F\u062B"},verify:{failed:"\u062A\u0639\u0630\u0651\u0631\u062A \u0625\u0639\u0627\u062F\u0629 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0631\u0633\u0627\u0644\u0629.",ledeTo:"\u0644\u0644\u0625\u0643\u0645\u0627\u0644\u060C \u0627\u0641\u062A\u062D \u0627\u0644\u0631\u0627\u0628\u0637 \u0627\u0644\u0645\u064F\u0631\u0633\u0644 \u0625\u0644\u0649 {email}.",resend:"\u0625\u0639\u0627\u062F\u0629 \u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0644\u0629 \u0627\u0644\u062A\u0623\u0643\u064A\u062F",resent:"\u0623\u064F\u0631\u0633\u0644\u062A \u0631\u0633\u0627\u0644\u0629 \u0627\u0644\u062A\u0623\u0643\u064A\u062F",title:"\u062A\u0623\u0643\u064A\u062F \u0628\u0631\u064A\u062F\u0643 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A"}},de:{account:{deleteConfirmLede:"Alles darin wird endg\xFCltig gel\xF6scht.",deleteFailed:"Dein Konto konnte nicht gel\xF6scht werden.",deleteStale:"Um dein Konto zu l\xF6schen, musst du dich erneut anmelden.",deleted:"Dein Konto wurde gel\xF6scht.",loadFailed:"Deine Anmeldemethoden konnten nicht geladen werden.",wrongPassword:"Falsches Passwort."},auth:{agree:"Wenn du fortf\xE4hrst, stimmst du den {terms} und der {privacy} zu.",botCheckFailed:"Die Sicherheitspr\xFCfung ist fehlgeschlagen; versuch es noch einmal.",continueWith:"Weiter mit {provider}",createAccount:"Konto erstellen",failed:"Pr\xFCfe E-Mail-Adresse und Passwort.",mailFailed:"Die E-Mail konnte nicht gesendet werden; versuch es noch einmal.",orWithEmail:"oder per E-Mail",privacy:"Datenschutzerkl\xE4rung",terms:"Nutzungsbedingungen"},common:{email:"E-Mail",password:"Passwort",requestFailed:"Etwas ist schiefgelaufen; versuch es noch einmal.",send:"Senden",stop:"Stoppen",unreachable:"Keine Verbindung zum Server; pr\xFCfe deine Internetverbindung."},consent:{allow:"Erlauben",deny:"Nicht erlauben",failed:"Die Einstellung konnte nicht ge\xE4ndert werden; versuch es noch einmal.",heading:"Assistent",label:"Assistenten erlauben",line:"Deine Nachrichten, deine Stimme und was er liest, gehen an das KI-Modell.",memories:"Was sich der Assistent \xFCber dich merkt",messages:"Deine Nachrichten und Anh\xE4nge",model:"KI-Modell",receives:"Wer es erh\xE4lt",search:"Websuche",sent:"Was gesendet wird",title:"Assistenten erlauben?",training:"Keiner von ihnen trainiert damit ein Modell.",voice:"Deine Stimme im Sprachmodus"},forgot:{failed:"Die E-Mail zum Zur\xFCcksetzen konnte nicht gesendet werden.",lede:"Gib deine E-Mail-Adresse ein, um einen Link zum Zur\xFCcksetzen zu erhalten.",send:"Link senden",sentLede:"Falls es ein Konto f\xFCr {email} gibt, wurde ein Link zum Zur\xFCcksetzen gesendet.",sentTitle:"Sieh in dein Postfach",title:"Passwort zur\xFCcksetzen"},formatting:{blocks:"Bl\xF6cke",text:"Text",heading1:"\xDCberschrift 1",heading2:"\xDCberschrift 2",heading3:"\xDCberschrift 3",bulletList:"Aufz\xE4hlung",orderedList:"Nummerierte Liste",taskList:"Aufgabenliste",quote:"Zitat",table:"Tabelle",divider:"Trennlinie",code:"Code",formatting:"Formatierung",bold:"Fett",italic:"Kursiv",strike:"Durchgestrichen",inlineCode:"Code",link:"Link"},proposal:{applied:"Angewendet",applying:"Wird angewendet",approve:"Freigeben",discard:"Verwerfen",discarded:"Verworfen",failed:"Fehlgeschlagen"},photos:{adding:"{name} wird hinzugef\xFCgt",remove:"{name} entfernen",photo:"Foto",library:"Fotos",wrongType:"{name} ist kein Foto."},run:{lost:"Die Verbindung zum Assistenten wurde unterbrochen."},conversations:{title:"Unterhaltungen",search:"Unterhaltungen durchsuchen",none:"Keine Unterhaltungen",today:"Heute",yesterday:"Gestern",week:"Letzte 7 Tage",month:"Letzte 30 Tage"},pane:{assistant:"Assistent",starters:"Startvorschl\xE4ge"},pages:{pageTitle:"Seite {page}"},progress:{working:"Arbeitet"},product:{allowFirst:"Erlaube zuerst den Assistenten in {name}",open:"{name} \xF6ffnen"},thread:{message:"Nachricht"},documentRun:{paused:"Durch einen Neustart unterbrochen, dann fortgesetzt.",resuming:"Wird nach einem Neustart fortgesetzt"},runErrors:{model_refused:"Der Assistent hat das abgelehnt; formuliere es anders.",model_unreachable:"Der Assistent ist gerade nicht verf\xFCgbar; versuch es gleich noch einmal.",context_too_long:"Diese Nachricht ist zu lang; sende eine k\xFCrzere.",step_limit:"Der Assistent hat sein Schrittlimit erreicht; frag noch einmal, um fortzufahren.",model_overran:"Die Antwort des Assistenten war zu lang; frag noch einmal.",interrupted:"Der Assistent wurde unterbrochen; frag noch einmal.",internal:"Auf unserer Seite ist etwas schiefgelaufen.",check_failed:"Es konnte nicht gepr\xFCft werden; frag noch einmal.",unrepaired:"Eine Pr\xFCfung schl\xE4gt noch fehl; frag noch einmal, um weiter zu korrigieren."},voice:{hearing:"Schreibt mit",label:"Sprachmodus",listening:"H\xF6rt zu",speaking:"Spricht"},verify:{failed:"Die E-Mail konnte nicht erneut gesendet werden.",ledeTo:"\xD6ffne zum Abschlie\xDFen den Link, den wir an {email} geschickt haben.",resend:"Best\xE4tigung erneut senden",resent:"Best\xE4tigung gesendet",title:"E-Mail-Adresse best\xE4tigen"}},es:{account:{deleteConfirmLede:"Todo su contenido se elimina de forma permanente.",deleteFailed:"No se pudo eliminar tu cuenta.",deleteStale:"Para eliminar tu cuenta debes haber iniciado sesi\xF3n recientemente.",deleted:"Tu cuenta se ha eliminado.",loadFailed:"No se pudieron cargar tus m\xE9todos de acceso.",wrongPassword:"Contrase\xF1a incorrecta."},auth:{agree:"Al continuar, aceptas los {terms} y la {privacy}.",botCheckFailed:"No se super\xF3 la comprobaci\xF3n de seguridad; int\xE9ntalo de nuevo.",continueWith:"Continuar con {provider}",createAccount:"Crear cuenta",failed:"Revisa el correo electr\xF3nico y la contrase\xF1a.",mailFailed:"No se pudo enviar el correo; int\xE9ntalo de nuevo.",orWithEmail:"o con tu correo",privacy:"Pol\xEDtica de privacidad",terms:"T\xE9rminos"},common:{email:"Correo",password:"Contrase\xF1a",requestFailed:"Algo sali\xF3 mal; int\xE9ntalo de nuevo.",send:"Enviar",stop:"Detener",unreachable:"No se pudo conectar con el servidor; revisa tu conexi\xF3n."},consent:{allow:"Permitir",deny:"No permitir",failed:"No se pudo cambiar el ajuste; int\xE9ntalo de nuevo.",heading:"Asistente",label:"Permitir el asistente",line:"Tus mensajes, tu voz y lo que lee van al modelo de IA.",memories:"Lo que el asistente recuerda de ti",messages:"Tus mensajes y archivos adjuntos",model:"Modelo de IA",receives:"Qui\xE9n lo recibe",search:"B\xFAsqueda web",sent:"Qu\xE9 se env\xEDa",title:"\xBFPermitir el asistente?",training:"Ninguno lo usa para entrenar un modelo.",voice:"Tu voz en el modo de voz"},forgot:{failed:"No se pudo enviar el correo de restablecimiento.",lede:"Escribe tu correo electr\xF3nico para recibir un enlace de restablecimiento.",send:"Enviar enlace",sentLede:"Si existe una cuenta para {email}, se ha enviado un enlace de restablecimiento.",sentTitle:"Revisa tu bandeja de entrada",title:"Restablece tu contrase\xF1a"},formatting:{blocks:"Bloques",text:"Texto",heading1:"T\xEDtulo 1",heading2:"T\xEDtulo 2",heading3:"T\xEDtulo 3",bulletList:"Lista con vi\xF1etas",orderedList:"Lista numerada",taskList:"Lista de tareas",quote:"Cita",table:"Tabla",divider:"Divisor",code:"C\xF3digo",formatting:"Formato",bold:"Negrita",italic:"Cursiva",strike:"Tachado",inlineCode:"C\xF3digo",link:"Enlace"},proposal:{applied:"Aplicado",applying:"Aplicando",approve:"Aprobar",discard:"Descartar",discarded:"Descartado",failed:"Fall\xF3"},photos:{adding:"A\xF1adiendo {name}",remove:"Quitar {name}",photo:"Foto",library:"Fotos",wrongType:"{name} no es una foto."},run:{lost:"Se perdi\xF3 la conexi\xF3n con el asistente."},conversations:{title:"Conversaciones",search:"Buscar conversaciones",none:"No hay conversaciones",today:"Hoy",yesterday:"Ayer",week:"\xDAltimos 7 d\xEDas",month:"\xDAltimos 30 d\xEDas"},pane:{assistant:"Asistente",starters:"Formas de empezar"},pages:{pageTitle:"P\xE1gina {page}"},progress:{working:"Trabajando"},product:{allowFirst:"Permite primero el asistente en {name}",open:"Abrir {name}"},thread:{message:"Mensaje"},documentRun:{paused:"Interrumpido por un reinicio y luego reanudado.",resuming:"Reanudando tras un reinicio"},runErrors:{model_refused:"El asistente rechaz\xF3 esa solicitud; intenta reformularla.",model_unreachable:"El asistente no est\xE1 disponible ahora mismo; int\xE9ntalo de nuevo en breve.",context_too_long:"Este mensaje es demasiado largo; env\xEDa uno m\xE1s corto.",step_limit:"El asistente alcanz\xF3 su l\xEDmite de pasos; vuelve a pedirlo para continuar.",model_overran:"La respuesta del asistente fue demasiado larga; vuelve a pedirlo.",interrupted:"El asistente se interrumpi\xF3; vuelve a pedirlo.",internal:"Algo sali\xF3 mal por nuestra parte.",check_failed:"No se pudo comprobar; vuelve a pedirlo.",unrepaired:"A\xFAn falla una comprobaci\xF3n; vuelve a pedirlo para seguir corrigi\xE9ndolo."},voice:{hearing:"Transcribiendo",label:"Modo de voz",listening:"Escuchando",speaking:"Hablando"},verify:{failed:"No se pudo reenviar el correo.",ledeTo:"Para terminar, abre el enlace enviado a {email}.",resend:"Reenviar correo de verificaci\xF3n",resent:"Correo de verificaci\xF3n enviado",title:"Verifica tu correo"}},fr:{account:{deleteConfirmLede:"Tout son contenu est supprim\xE9 d\xE9finitivement.",deleteFailed:"Impossible de supprimer votre compte.",deleteStale:"La suppression de votre compte n\xE9cessite une connexion r\xE9cente.",deleted:"Votre compte a \xE9t\xE9 supprim\xE9.",loadFailed:"Impossible de charger vos m\xE9thodes de connexion.",wrongPassword:"Mot de passe incorrect."},auth:{agree:"En continuant, vous acceptez les {terms} et la {privacy}.",botCheckFailed:"La v\xE9rification de s\xE9curit\xE9 a \xE9chou\xE9 ; r\xE9essayez.",continueWith:"Continuer avec {provider}",createAccount:"Cr\xE9er un compte",failed:"V\xE9rifiez l'adresse e-mail et le mot de passe.",mailFailed:"Impossible d'envoyer l'e-mail ; r\xE9essayez.",orWithEmail:"ou par e-mail",privacy:"Politique de confidentialit\xE9",terms:"Conditions d'utilisation"},common:{email:"E-mail",password:"Mot de passe",requestFailed:"Une erreur s'est produite ; r\xE9essayez.",send:"Envoyer",stop:"Arr\xEAter",unreachable:"Impossible de joindre le serveur ; v\xE9rifiez votre connexion Internet."},consent:{allow:"Autoriser",deny:"Ne pas autoriser",failed:"Impossible de modifier le r\xE9glage ; r\xE9essayez.",heading:"Assistant",label:"Autoriser l'assistant",line:"Vos messages, votre voix et ce qu'il lit sont envoy\xE9s au mod\xE8le d'IA.",memories:"Ce dont l'assistant se souvient \xE0 votre sujet",messages:"Vos messages et pi\xE8ces jointes",model:"Mod\xE8le d'IA",receives:"Qui le re\xE7oit",search:"Recherche web",sent:"Ce qui est envoy\xE9",title:"Autoriser l'assistant ?",training:"Aucun ne s'en sert pour entra\xEEner un mod\xE8le.",voice:"Votre voix en mode vocal"},forgot:{failed:"Impossible d'envoyer l'e-mail de r\xE9initialisation.",lede:"Saisissez votre adresse e-mail pour recevoir un lien de r\xE9initialisation.",send:"Envoyer le lien",sentLede:"S'il existe un compte pour {email}, un lien de r\xE9initialisation a \xE9t\xE9 envoy\xE9.",sentTitle:"Consultez votre bo\xEEte de r\xE9ception",title:"R\xE9initialiser le mot de passe"},formatting:{blocks:"Blocs",text:"Texte",heading1:"Titre 1",heading2:"Titre 2",heading3:"Titre 3",bulletList:"Liste \xE0 puces",orderedList:"Liste num\xE9rot\xE9e",taskList:"Liste de t\xE2ches",quote:"Citation",table:"Tableau",divider:"S\xE9parateur",code:"Code",formatting:"Mise en forme",bold:"Gras",italic:"Italique",strike:"Barr\xE9",inlineCode:"Code",link:"Lien"},proposal:{applied:"Appliqu\xE9",applying:"Application",approve:"Approuver",discard:"Rejeter",discarded:"Rejet\xE9",failed:"\xC9chou\xE9"},photos:{adding:"Ajout de {name}",remove:"Retirer {name}",photo:"Photo",library:"Photos",wrongType:"{name} n'est pas une photo."},run:{lost:"La connexion \xE0 l'assistant a \xE9t\xE9 perdue."},conversations:{title:"Conversations",search:"Rechercher dans les conversations",none:"Aucune conversation",today:"Aujourd'hui",yesterday:"Hier",week:"7 derniers jours",month:"30 derniers jours"},pane:{assistant:"Assistant",starters:"Pour commencer"},pages:{pageTitle:"Page {page}"},progress:{working:"En cours"},product:{allowFirst:"Autorisez d'abord l'assistant dans {name}",open:"Ouvrir {name}"},thread:{message:"Message"},documentRun:{paused:"Interrompu par un red\xE9marrage, puis repris.",resuming:"Reprise apr\xE8s un red\xE9marrage"},runErrors:{model_refused:"L'assistant a refus\xE9 ; essayez de reformuler.",model_unreachable:"L'assistant est indisponible pour le moment ; r\xE9essayez dans un instant.",context_too_long:"Ce message est trop long ; envoyez-en un plus court.",step_limit:"L'assistant a atteint sa limite d'\xE9tapes ; redemandez pour continuer.",model_overran:"La r\xE9ponse de l'assistant \xE9tait trop longue ; redemandez.",interrupted:"L'assistant a \xE9t\xE9 interrompu ; redemandez.",internal:"Une erreur s'est produite de notre c\xF4t\xE9.",check_failed:"La v\xE9rification n'a pas pu se faire ; redemandez.",unrepaired:"Une v\xE9rification \xE9choue encore ; redemandez pour continuer \xE0 corriger."},voice:{hearing:"Transcription",label:"Mode vocal",listening:"\xC0 l'\xE9coute",speaking:"Lecture \xE0 voix haute"},verify:{failed:"Impossible de renvoyer l'e-mail.",ledeTo:"Pour terminer, ouvrez le lien envoy\xE9 \xE0 {email}.",resend:"Renvoyer l'e-mail de v\xE9rification",resent:"E-mail de v\xE9rification envoy\xE9",title:"V\xE9rifiez votre adresse e-mail"}},ja:{account:{deleteConfirmLede:"\u30A2\u30AB\u30A6\u30F3\u30C8\u5185\u306E\u3059\u3079\u3066\u304C\u5B8C\u5168\u306B\u524A\u9664\u3055\u308C\u307E\u3059\u3002",deleteFailed:"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u524A\u9664\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002",deleteStale:"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u524A\u9664\u306B\u306F\u3001\u76F4\u8FD1\u306E\u30B5\u30A4\u30F3\u30A4\u30F3\u304C\u5FC5\u8981\u3067\u3059\u3002",deleted:"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u524A\u9664\u3057\u307E\u3057\u305F\u3002",loadFailed:"\u30B5\u30A4\u30F3\u30A4\u30F3\u65B9\u6CD5\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F\u3002",wrongPassword:"\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u6B63\u3057\u304F\u3042\u308A\u307E\u305B\u3093\u3002"},auth:{agree:"\u7D9A\u884C\u3059\u308B\u3068\u3001{terms}\u3068{privacy}\u306B\u540C\u610F\u3057\u305F\u3053\u3068\u306B\u306A\u308A\u307E\u3059\u3002",botCheckFailed:"\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u78BA\u8A8D\u306B\u5931\u6557\u3057\u305F\u305F\u3081\u3001\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",continueWith:"{provider}\u3067\u7D9A\u3051\u308B",createAccount:"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u6210",failed:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3068\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",mailFailed:"\u30E1\u30FC\u30EB\u3092\u9001\u4FE1\u3067\u304D\u306A\u304B\u3063\u305F\u305F\u3081\u3001\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",orWithEmail:"\u307E\u305F\u306F\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3067",privacy:"\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC",terms:"\u5229\u7528\u898F\u7D04"},common:{email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",password:"\u30D1\u30B9\u30EF\u30FC\u30C9",requestFailed:"\u554F\u984C\u304C\u767A\u751F\u3057\u305F\u305F\u3081\u3001\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",send:"\u9001\u4FE1",stop:"\u505C\u6B62",unreachable:"\u30B5\u30FC\u30D0\u30FC\u306B\u63A5\u7D9A\u3067\u304D\u306A\u304B\u3063\u305F\u305F\u3081\u3001\u901A\u4FE1\u74B0\u5883\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},consent:{allow:"\u8A31\u53EF",deny:"\u8A31\u53EF\u3057\u306A\u3044",failed:"\u8A2D\u5B9A\u3092\u5909\u66F4\u3067\u304D\u306A\u304B\u3063\u305F\u305F\u3081\u3001\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",heading:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8",label:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u3092\u8A31\u53EF",line:"\u30E1\u30C3\u30BB\u30FC\u30B8\u3001\u97F3\u58F0\u3001\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u304C\u8AAD\u3093\u3060\u5185\u5BB9\u304C AI \u30E2\u30C7\u30EB\u306B\u9001\u3089\u308C\u307E\u3059\u3002",memories:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u304C\u899A\u3048\u3066\u3044\u308B\u3042\u306A\u305F\u306E\u3053\u3068",messages:"\u30E1\u30C3\u30BB\u30FC\u30B8\u3068\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB",model:"AI \u30E2\u30C7\u30EB",receives:"\u9001\u4FE1\u5148",search:"\u30A6\u30A7\u30D6\u691C\u7D22",sent:"\u9001\u4FE1\u3055\u308C\u308B\u5185\u5BB9",title:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u3092\u8A31\u53EF\u3057\u307E\u3059\u304B\uFF1F",training:"\u3044\u305A\u308C\u3082\u30E2\u30C7\u30EB\u306E\u5B66\u7FD2\u306B\u4F7F\u3044\u307E\u305B\u3093\u3002",voice:"\u97F3\u58F0\u30E2\u30FC\u30C9\u3067\u306E\u97F3\u58F0"},forgot:{failed:"\u518D\u8A2D\u5B9A\u30E1\u30FC\u30EB\u3092\u9001\u4FE1\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002",lede:"\u518D\u8A2D\u5B9A\u30EA\u30F3\u30AF\u3092\u53D7\u3051\u53D6\u308B\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",send:"\u518D\u8A2D\u5B9A\u30EA\u30F3\u30AF\u3092\u9001\u308B",sentLede:"{email} \u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u5B58\u5728\u3059\u308B\u5834\u5408\u306F\u3001\u518D\u8A2D\u5B9A\u30EA\u30F3\u30AF\u3092\u9001\u4FE1\u3057\u307E\u3057\u305F\u3002",sentTitle:"\u53D7\u4FE1\u30C8\u30EC\u30A4\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044",title:"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u518D\u8A2D\u5B9A"},formatting:{blocks:"\u30D6\u30ED\u30C3\u30AF",text:"\u30C6\u30AD\u30B9\u30C8",heading1:"\u898B\u51FA\u30571",heading2:"\u898B\u51FA\u30572",heading3:"\u898B\u51FA\u30573",bulletList:"\u7B87\u6761\u66F8\u304D",orderedList:"\u756A\u53F7\u4ED8\u304D\u30EA\u30B9\u30C8",taskList:"ToDo\u30EA\u30B9\u30C8",quote:"\u5F15\u7528",table:"\u8868",divider:"\u533A\u5207\u308A\u7DDA",code:"\u30B3\u30FC\u30C9",formatting:"\u66F8\u5F0F",bold:"\u592A\u5B57",italic:"\u659C\u4F53",strike:"\u53D6\u308A\u6D88\u3057\u7DDA",inlineCode:"\u30B3\u30FC\u30C9",link:"\u30EA\u30F3\u30AF"},proposal:{applied:"\u9069\u7528\u6E08\u307F",applying:"\u9069\u7528\u4E2D",approve:"\u627F\u8A8D",discard:"\u7834\u68C4",discarded:"\u7834\u68C4\u6E08\u307F",failed:"\u5931\u6557"},photos:{adding:"{name}\u3092\u8FFD\u52A0\u4E2D",remove:"{name}\u3092\u524A\u9664",photo:"\u5199\u771F",library:"\u5199\u771F",wrongType:"{name}\u306F\u5199\u771F\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002"},run:{lost:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u3068\u306E\u63A5\u7D9A\u304C\u5207\u308C\u307E\u3057\u305F\u3002"},conversations:{title:"\u4F1A\u8A71\u4E00\u89A7",search:"\u4F1A\u8A71\u3092\u691C\u7D22",none:"\u4F1A\u8A71\u306F\u3042\u308A\u307E\u305B\u3093",today:"\u4ECA\u65E5",yesterday:"\u6628\u65E5",week:"\u904E\u53BB 7 \u65E5\u9593",month:"\u904E\u53BB 30 \u65E5\u9593"},pane:{assistant:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8",starters:"\u306F\u3058\u3081\u65B9"},pages:{pageTitle:"{page}\u30DA\u30FC\u30B8\u76EE"},progress:{working:"\u4F5C\u696D\u4E2D"},product:{allowFirst:"\u5148\u306B{name}\u3067\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u3092\u8A31\u53EF\u3057\u3066\u304F\u3060\u3055\u3044",open:"{name}\u3092\u958B\u304F"},thread:{message:"\u30E1\u30C3\u30BB\u30FC\u30B8"},documentRun:{paused:"\u518D\u8D77\u52D5\u3067\u4E2D\u65AD\u3055\u308C\u3001\u305D\u306E\u5F8C\u518D\u958B\u3057\u307E\u3057\u305F\u3002",resuming:"\u518D\u8D77\u52D5\u5F8C\u306B\u518D\u958B\u3057\u3066\u3044\u307E\u3059"},runErrors:{model_refused:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u304C\u5FDC\u3058\u306A\u304B\u3063\u305F\u305F\u3081\u3001\u8A00\u3044\u65B9\u3092\u5909\u3048\u3066\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",model_unreachable:"\u73FE\u5728\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u3092\u5229\u7528\u3067\u304D\u306A\u3044\u305F\u3081\u3001\u3057\u3070\u3089\u304F\u3057\u3066\u304B\u3089\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",context_too_long:"\u30E1\u30C3\u30BB\u30FC\u30B8\u304C\u9577\u3059\u304E\u308B\u305F\u3081\u3001\u77ED\u304F\u3057\u3066\u9001\u308A\u76F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",step_limit:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u304C\u624B\u9806\u306E\u4E0A\u9650\u306B\u9054\u3057\u305F\u305F\u3081\u3001\u7D9A\u3051\u308B\u306B\u306F\u3082\u3046\u4E00\u5EA6\u8CEA\u554F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",model_overran:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u306E\u8FD4\u7B54\u304C\u9577\u3059\u304E\u305F\u305F\u3081\u3001\u3082\u3046\u4E00\u5EA6\u8CEA\u554F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",interrupted:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u304C\u4E2D\u65AD\u3055\u308C\u305F\u305F\u3081\u3001\u3082\u3046\u4E00\u5EA6\u8CEA\u554F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",internal:"\u3053\u3061\u3089\u5074\u3067\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002",check_failed:"\u691C\u67FB\u3067\u304D\u306A\u304B\u3063\u305F\u305F\u3081\u3001\u3082\u3046\u4E00\u5EA6\u4F9D\u983C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",unrepaired:"\u307E\u3060\u691C\u67FB\u306B\u901A\u3089\u306A\u3044\u305F\u3081\u3001\u4FEE\u6B63\u3092\u7D9A\u3051\u308B\u306B\u306F\u3082\u3046\u4E00\u5EA6\u4F9D\u983C\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},voice:{hearing:"\u66F8\u304D\u8D77\u3053\u3057\u4E2D",label:"\u97F3\u58F0\u30E2\u30FC\u30C9",listening:"\u805E\u3044\u3066\u3044\u307E\u3059",speaking:"\u8AAD\u307F\u4E0A\u3052\u4E2D"},verify:{failed:"\u30E1\u30FC\u30EB\u3092\u518D\u9001\u4FE1\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002",ledeTo:"{email} \u306B\u9001\u4FE1\u3057\u305F\u30EA\u30F3\u30AF\u3092\u958B\u3044\u3066\u5B8C\u4E86\u3057\u3066\u304F\u3060\u3055\u3044\u3002",resend:"\u78BA\u8A8D\u30E1\u30FC\u30EB\u3092\u518D\u9001",resent:"\u78BA\u8A8D\u30E1\u30FC\u30EB\u3092\u9001\u308A\u307E\u3057\u305F",title:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u78BA\u8A8D"}},ko:{account:{deleteConfirmLede:"\uACC4\uC815\uC758 \uBAA8\uB4E0 \uB0B4\uC6A9\uC774 \uC601\uAD6C\uC801\uC73C\uB85C \uC0AD\uC81C\uB429\uB2C8\uB2E4.",deleteFailed:"\uACC4\uC815\uC744 \uC0AD\uC81C\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",deleteStale:"\uACC4\uC815\uC744 \uC0AD\uC81C\uD558\uB824\uBA74 \uCD5C\uADFC \uB85C\uADF8\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4.",deleted:"\uACC4\uC815\uC774 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",loadFailed:"\uB85C\uADF8\uC778 \uBC29\uBC95\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",wrongPassword:"\uBE44\uBC00\uBC88\uD638\uAC00 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."},auth:{agree:"\uACC4\uC18D\uD558\uBA74 {terms} \uBC0F {privacy}\uC5D0 \uB3D9\uC758\uD558\uB294 \uAC83\uC73C\uB85C \uAC04\uC8FC\uB429\uB2C8\uB2E4.",botCheckFailed:"\uBCF4\uC548 \uD655\uC778\uC744 \uD1B5\uACFC\uD558\uC9C0 \uBABB\uD588\uC73C\uB2C8 \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694.",continueWith:"{provider}\uB85C \uACC4\uC18D",createAccount:"\uACC4\uC815 \uB9CC\uB4E4\uAE30",failed:"\uC774\uBA54\uC77C \uC8FC\uC18C\uC640 \uBE44\uBC00\uBC88\uD638\uB97C \uD655\uC778\uD558\uC138\uC694.",mailFailed:"\uC774\uBA54\uC77C\uC744 \uBCF4\uB0B4\uC9C0 \uBABB\uD588\uC73C\uB2C8 \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694.",orWithEmail:"\uB610\uB294 \uC774\uBA54\uC77C\uB85C",privacy:"\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68",terms:"\uC774\uC6A9\uC57D\uAD00"},common:{email:"\uC774\uBA54\uC77C",password:"\uBE44\uBC00\uBC88\uD638",requestFailed:"\uBB38\uC81C\uAC00 \uBC1C\uC0DD\uD588\uC73C\uB2C8 \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694.",send:"\uBCF4\uB0B4\uAE30",stop:"\uC911\uC9C0",unreachable:"\uC11C\uBC84\uC5D0 \uC5F0\uACB0\uD558\uC9C0 \uBABB\uD588\uC73C\uB2C8 \uB124\uD2B8\uC6CC\uD06C \uC5F0\uACB0\uC744 \uD655\uC778\uD558\uC138\uC694."},consent:{allow:"\uD5C8\uC6A9",deny:"\uD5C8\uC6A9 \uC548 \uD568",failed:"\uC124\uC815\uC744 \uBCC0\uACBD\uD558\uC9C0 \uBABB\uD588\uC73C\uB2C8 \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694.",heading:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8",label:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8 \uD5C8\uC6A9",line:"\uBA54\uC2DC\uC9C0, \uC74C\uC131, \uC5B4\uC2DC\uC2A4\uD134\uD2B8\uAC00 \uC77D\uC740 \uB0B4\uC6A9\uC774 AI \uBAA8\uB378\uB85C \uC804\uC1A1\uB429\uB2C8\uB2E4.",memories:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uAC00 \uAE30\uC5B5\uD558\uB294 \uB0B4 \uC815\uBCF4",messages:"\uB0B4 \uBA54\uC2DC\uC9C0\uC640 \uCCA8\uBD80 \uD30C\uC77C",model:"AI \uBAA8\uB378",receives:"\uBC1B\uB294 \uACF3",search:"\uC6F9 \uAC80\uC0C9",sent:"\uC804\uC1A1\uB418\uB294 \uB0B4\uC6A9",title:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uB97C \uD5C8\uC6A9\uD560\uAE4C\uC694?",training:"\uC5B4\uB290 \uACF3\uB3C4 \uBAA8\uB378 \uD559\uC2B5\uC5D0 \uC4F0\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",voice:"\uC74C\uC131 \uBAA8\uB4DC\uC758 \uB0B4 \uBAA9\uC18C\uB9AC"},forgot:{failed:"\uC7AC\uC124\uC815 \uC774\uBA54\uC77C\uC744 \uBCF4\uB0B4\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",lede:"\uC7AC\uC124\uC815 \uB9C1\uD06C\uB97C \uBC1B\uC73C\uB824\uBA74 \uC774\uBA54\uC77C \uC8FC\uC18C\uB97C \uC785\uB825\uD558\uC138\uC694.",send:"\uC7AC\uC124\uC815 \uB9C1\uD06C \uBCF4\uB0B4\uAE30",sentLede:"{email} \uACC4\uC815\uC774 \uC788\uB2E4\uBA74 \uC7AC\uC124\uC815 \uB9C1\uD06C\uB97C \uBCF4\uB0C8\uC2B5\uB2C8\uB2E4.",sentTitle:"\uBC1B\uC740\uD3B8\uC9C0\uD568\uC744 \uD655\uC778\uD558\uC138\uC694",title:"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815"},formatting:{blocks:"\uBE14\uB85D",text:"\uD14D\uC2A4\uD2B8",heading1:"\uC81C\uBAA9 1",heading2:"\uC81C\uBAA9 2",heading3:"\uC81C\uBAA9 3",bulletList:"\uAE00\uBA38\uB9AC \uAE30\uD638 \uBAA9\uB85D",orderedList:"\uBC88\uD638 \uB9E4\uAE30\uAE30 \uBAA9\uB85D",taskList:"\uD560 \uC77C \uBAA9\uB85D",quote:"\uC778\uC6A9",table:"\uD45C",divider:"\uAD6C\uBD84\uC120",code:"\uCF54\uB4DC",formatting:"\uC11C\uC2DD",bold:"\uAD75\uAC8C",italic:"\uAE30\uC6B8\uC784\uAF34",strike:"\uCDE8\uC18C\uC120",inlineCode:"\uCF54\uB4DC",link:"\uB9C1\uD06C"},proposal:{applied:"\uC801\uC6A9\uB428",applying:"\uC801\uC6A9 \uC911",approve:"\uC2B9\uC778",discard:"\uBC84\uB9AC\uAE30",discarded:"\uBC84\uB824\uC9D0",failed:"\uC2E4\uD328"},photos:{adding:"{name} \uCD94\uAC00 \uC911",remove:"{name} \uC81C\uAC70",photo:"\uC0AC\uC9C4",library:"\uC0AC\uC9C4",wrongType:"{name}\uC740(\uB294) \uC0AC\uC9C4\uC774 \uC544\uB2D9\uB2C8\uB2E4."},run:{lost:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uC640\uC758 \uC5F0\uACB0\uC774 \uB04A\uACBC\uC2B5\uB2C8\uB2E4."},conversations:{title:"\uB300\uD654 \uBAA9\uB85D",search:"\uB300\uD654 \uAC80\uC0C9",none:"\uB300\uD654 \uC5C6\uC74C",today:"\uC624\uB298",yesterday:"\uC5B4\uC81C",week:"\uC9C0\uB09C 7\uC77C",month:"\uC9C0\uB09C 30\uC77C"},pane:{assistant:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8",starters:"\uC2DC\uC791\uD558\uAE30"},pages:{pageTitle:"{page}\uD398\uC774\uC9C0"},progress:{working:"\uC791\uC5C5 \uC911"},product:{allowFirst:"\uBA3C\uC800 {name}\uC5D0\uC11C \uC5B4\uC2DC\uC2A4\uD134\uD2B8\uB97C \uD5C8\uC6A9\uD558\uC138\uC694",open:"{name} \uC5F4\uAE30"},thread:{message:"\uBA54\uC2DC\uC9C0"},documentRun:{paused:"\uC7AC\uC2DC\uC791\uC73C\uB85C \uC911\uB2E8\uB418\uC5C8\uB2E4\uAC00 \uB2E4\uC2DC \uC774\uC5B4\uC84C\uC2B5\uB2C8\uB2E4.",resuming:"\uC7AC\uC2DC\uC791 \uD6C4 \uB2E4\uC2DC \uC774\uC5B4\uAC00\uB294 \uC911"},runErrors:{model_refused:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uAC00 \uC694\uCCAD\uC744 \uAC70\uC808\uD588\uC73C\uB2C8 \uB2E4\uB974\uAC8C \uD45C\uD604\uD574 \uBCF4\uC138\uC694.",model_unreachable:"\uC9C0\uAE08\uC740 \uC5B4\uC2DC\uC2A4\uD134\uD2B8\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC73C\uB2C8 \uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694.",context_too_long:"\uBA54\uC2DC\uC9C0\uAC00 \uB108\uBB34 \uAE30\uB2C8 \uB354 \uC9E7\uAC8C \uBCF4\uB0B4\uC138\uC694.",step_limit:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uAC00 \uB2E8\uACC4 \uD55C\uB3C4\uC5D0 \uB3C4\uB2EC\uD588\uC73C\uB2C8 \uACC4\uC18D\uD558\uB824\uBA74 \uB2E4\uC2DC \uC694\uCCAD\uD558\uC138\uC694.",model_overran:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uC758 \uB2F5\uBCC0\uC774 \uB108\uBB34 \uAE38\uC5C8\uC73C\uB2C8 \uB2E4\uC2DC \uC694\uCCAD\uD558\uC138\uC694.",interrupted:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uAC00 \uC911\uB2E8\uB418\uC5C8\uC73C\uB2C8 \uB2E4\uC2DC \uC694\uCCAD\uD558\uC138\uC694.",internal:"\uC800\uD76C \uCABD\uC5D0\uC11C \uBB38\uC81C\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4.",check_failed:"\uAC80\uC0AC\uD558\uC9C0 \uBABB\uD588\uC73C\uB2C8 \uB2E4\uC2DC \uC694\uCCAD\uD558\uC138\uC694.",unrepaired:"\uC544\uC9C1 \uAC80\uC0AC\uB97C \uD1B5\uACFC\uD558\uC9C0 \uBABB\uD588\uC73C\uB2C8 \uACC4\uC18D \uACE0\uCE58\uB824\uBA74 \uB2E4\uC2DC \uC694\uCCAD\uD558\uC138\uC694."},voice:{hearing:"\uBC1B\uC544\uC4F0\uB294 \uC911",label:"\uC74C\uC131 \uBAA8\uB4DC",listening:"\uB4E3\uB294 \uC911",speaking:"\uC77D\uC5B4 \uC8FC\uB294 \uC911"},verify:{failed:"\uC774\uBA54\uC77C\uC744 \uB2E4\uC2DC \uBCF4\uB0B4\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",ledeTo:"\uC644\uB8CC\uD558\uB824\uBA74 {email}\uB85C \uBCF4\uB0B8 \uB9C1\uD06C\uB97C \uC5EC\uC138\uC694.",resend:"\uD655\uC778 \uBA54\uC77C \uB2E4\uC2DC \uBCF4\uB0B4\uAE30",resent:"\uD655\uC778 \uBA54\uC77C\uC744 \uBCF4\uB0C8\uC2B5\uB2C8\uB2E4",title:"\uC774\uBA54\uC77C \uD655\uC778"}},pt:{account:{deleteConfirmLede:"Tudo nela \xE9 exclu\xEDdo permanentemente.",deleteFailed:"N\xE3o foi poss\xEDvel excluir sua conta.",deleteStale:"Excluir sua conta exige um login recente.",deleted:"Sua conta foi exclu\xEDda.",loadFailed:"N\xE3o foi poss\xEDvel carregar suas formas de login.",wrongPassword:"Senha incorreta."},auth:{agree:"Ao continuar, voc\xEA concorda com os {terms} e a {privacy}.",botCheckFailed:"A verifica\xE7\xE3o de seguran\xE7a falhou; tente novamente.",continueWith:"Continuar com {provider}",createAccount:"Criar conta",failed:"Verifique o endere\xE7o de e-mail e a senha.",mailFailed:"N\xE3o foi poss\xEDvel enviar o e-mail; tente novamente.",orWithEmail:"ou com e-mail",privacy:"Pol\xEDtica de privacidade",terms:"Termos"},common:{email:"E-mail",password:"Senha",requestFailed:"Algo deu errado; tente novamente.",send:"Enviar",stop:"Parar",unreachable:"N\xE3o foi poss\xEDvel conectar ao servidor; verifique sua conex\xE3o."},consent:{allow:"Permitir",deny:"N\xE3o permitir",failed:"N\xE3o foi poss\xEDvel alterar a configura\xE7\xE3o; tente novamente.",heading:"Assistente",label:"Permitir o assistente",line:"Suas mensagens, sua voz e o que ele l\xEA v\xE3o para o modelo de IA.",memories:"O que o assistente lembra sobre voc\xEA",messages:"Suas mensagens e anexos",model:"Modelo de IA",receives:"Quem recebe",search:"Pesquisa na web",sent:"O que \xE9 enviado",title:"Permitir o assistente?",training:"Nenhum deles o usa para treinar um modelo.",voice:"Sua voz no modo de voz"},forgot:{failed:"N\xE3o foi poss\xEDvel enviar o e-mail de redefini\xE7\xE3o.",lede:"Digite seu endere\xE7o de e-mail para receber um link de redefini\xE7\xE3o.",send:"Enviar link",sentLede:"Se existir uma conta para {email}, um link de redefini\xE7\xE3o foi enviado.",sentTitle:"Verifique sua caixa de entrada",title:"Redefina sua senha"},formatting:{blocks:"Blocos",text:"Texto",heading1:"T\xEDtulo 1",heading2:"T\xEDtulo 2",heading3:"T\xEDtulo 3",bulletList:"Lista com marcadores",orderedList:"Lista numerada",taskList:"Lista de tarefas",quote:"Cita\xE7\xE3o",table:"Tabela",divider:"Divisor",code:"C\xF3digo",formatting:"Formata\xE7\xE3o",bold:"Negrito",italic:"It\xE1lico",strike:"Tachado",inlineCode:"C\xF3digo",link:"Link"},proposal:{applied:"Aplicada",applying:"Aplicando",approve:"Aprovar",discard:"Descartar",discarded:"Descartada",failed:"Falhou"},photos:{adding:"Adicionando {name}",remove:"Remover {name}",photo:"Foto",library:"Fotos",wrongType:"{name} n\xE3o \xE9 uma foto."},run:{lost:"A conex\xE3o com o assistente foi perdida."},conversations:{title:"Conversas",search:"Pesquisar conversas",none:"Nenhuma conversa",today:"Hoje",yesterday:"Ontem",week:"\xDAltimos 7 dias",month:"\xDAltimos 30 dias"},pane:{assistant:"Assistente",starters:"Formas de come\xE7ar"},pages:{pageTitle:"P\xE1gina {page}"},progress:{working:"Trabalhando"},product:{allowFirst:"Permita primeiro o assistente no {name}",open:"Abrir {name}"},thread:{message:"Mensagem"},documentRun:{paused:"Interrompido por uma reinicializa\xE7\xE3o e depois retomado.",resuming:"Retomando ap\xF3s uma reinicializa\xE7\xE3o"},runErrors:{model_refused:"O assistente recusou isso; tente reformular.",model_unreachable:"O assistente est\xE1 indispon\xEDvel no momento; tente novamente em breve.",context_too_long:"Esta mensagem \xE9 longa demais; envie uma mais curta.",step_limit:"O assistente atingiu o limite de etapas; pe\xE7a novamente para continuar.",model_overran:"A resposta do assistente ficou longa demais; pe\xE7a novamente.",interrupted:"O assistente foi interrompido; pe\xE7a novamente.",internal:"Algo deu errado do nosso lado.",check_failed:"N\xE3o foi poss\xEDvel verificar; pe\xE7a novamente.",unrepaired:"Ainda falha numa verifica\xE7\xE3o; pe\xE7a novamente para continuar a corrigir."},voice:{hearing:"Transcrevendo",label:"Modo de voz",listening:"Ouvindo",speaking:"Lendo em voz alta"},verify:{failed:"N\xE3o foi poss\xEDvel reenviar o e-mail.",ledeTo:"Para concluir, abra o link enviado para {email}.",resend:"Reenviar e-mail de verifica\xE7\xE3o",resent:"E-mail de verifica\xE7\xE3o enviado",title:"Verifique seu e-mail"}},ru:{account:{deleteConfirmLede:"\u0412\u0441\u0451 \u0435\u0433\u043E \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0443\u0434\u0430\u043B\u044F\u0435\u0442\u0441\u044F \u0431\u0435\u0437\u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043D\u043E.",deleteFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u0430\u043A\u043A\u0430\u0443\u043D\u0442.",deleteStale:"\u0414\u043B\u044F \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u044F \u0430\u043A\u043A\u0430\u0443\u043D\u0442\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u043D\u0435\u0434\u0430\u0432\u043D\u0438\u0439 \u0432\u0445\u043E\u0434.",deleted:"\u0412\u0430\u0448 \u0430\u043A\u043A\u0430\u0443\u043D\u0442 \u0443\u0434\u0430\u043B\u0451\u043D.",loadFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0441\u043F\u043E\u0441\u043E\u0431\u044B \u0432\u0445\u043E\u0434\u0430.",wrongPassword:"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043F\u0430\u0440\u043E\u043B\u044C."},auth:{agree:"\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u044F, \u0432\u044B \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442\u0435 {terms} \u0438 {privacy}.",botCheckFailed:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438 \u043D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u0430; \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.",continueWith:"\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0447\u0435\u0440\u0435\u0437 {provider}",createAccount:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0430\u043A\u043A\u0430\u0443\u043D\u0442",failed:"\u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B \u0438 \u043F\u0430\u0440\u043E\u043B\u044C.",mailFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043F\u0438\u0441\u044C\u043C\u043E; \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.",orWithEmail:"\u0438\u043B\u0438 \u043F\u043E \u043F\u043E\u0447\u0442\u0435",privacy:"\u041F\u043E\u043B\u0438\u0442\u0438\u043A\u0443 \u043A\u043E\u043D\u0444\u0438\u0434\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438",terms:"\u0423\u0441\u043B\u043E\u0432\u0438\u044F"},common:{email:"\u041F\u043E\u0447\u0442\u0430",password:"\u041F\u0430\u0440\u043E\u043B\u044C",requestFailed:"\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A; \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.",send:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C",stop:"\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C",unreachable:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0441\u044F \u043A \u0441\u0435\u0440\u0432\u0435\u0440\u0443; \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0443."},consent:{allow:"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C",deny:"\u041D\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0442\u044C",failed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0443; \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.",heading:"\u041F\u043E\u043C\u043E\u0449\u043D\u0438\u043A",label:"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0440\u0430\u0431\u043E\u0442\u0443 \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A\u0430",line:"\u0412\u0430\u0448\u0438 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F, \u0433\u043E\u043B\u043E\u0441 \u0438 \u0442\u043E, \u0447\u0442\u043E \u0447\u0438\u0442\u0430\u0435\u0442 \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A, \u043F\u0435\u0440\u0435\u0434\u0430\u044E\u0442\u0441\u044F \u043C\u043E\u0434\u0435\u043B\u0438 \u0418\u0418.",memories:"\u0427\u0442\u043E \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A \u043F\u043E\u043C\u043D\u0438\u0442 \u043E \u0432\u0430\u0441",messages:"\u0412\u0430\u0448\u0438 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0438 \u0432\u043B\u043E\u0436\u0435\u043D\u0438\u044F",model:"\u041C\u043E\u0434\u0435\u043B\u044C \u0418\u0418",receives:"\u041A\u0442\u043E \u043F\u043E\u043B\u0443\u0447\u0430\u0435\u0442",search:"\u0412\u0435\u0431-\u043F\u043E\u0438\u0441\u043A",sent:"\u0427\u0442\u043E \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442\u0441\u044F",title:"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0440\u0430\u0431\u043E\u0442\u0443 \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A\u0430?",training:"\u041D\u0438\u043A\u0442\u043E \u0438\u0437 \u043D\u0438\u0445 \u043D\u0435 \u043E\u0431\u0443\u0447\u0430\u0435\u0442 \u043D\u0430 \u044D\u0442\u043E\u043C \u043C\u043E\u0434\u0435\u043B\u0438.",voice:"\u0412\u0430\u0448 \u0433\u043E\u043B\u043E\u0441 \u0432 \u0433\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u043C \u0440\u0435\u0436\u0438\u043C\u0435"},forgot:{failed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043F\u0438\u0441\u044C\u043C\u043E \u0434\u043B\u044F \u0441\u0431\u0440\u043E\u0441\u0430 \u043F\u0430\u0440\u043E\u043B\u044F.",lede:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u0434\u043B\u044F \u0441\u0431\u0440\u043E\u0441\u0430 \u043F\u0430\u0440\u043E\u043B\u044F.",send:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443",sentLede:"\u0415\u0441\u043B\u0438 \u0430\u043A\u043A\u0430\u0443\u043D\u0442 \u0434\u043B\u044F {email} \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442, \u0441\u0441\u044B\u043B\u043A\u0430 \u0434\u043B\u044F \u0441\u0431\u0440\u043E\u0441\u0430 \u043F\u0430\u0440\u043E\u043B\u044F \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0430.",sentTitle:"\u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u043F\u043E\u0447\u0442\u0443",title:"\u0421\u0431\u0440\u043E\u0441 \u043F\u0430\u0440\u043E\u043B\u044F"},formatting:{blocks:"\u0411\u043B\u043E\u043A\u0438",text:"\u0422\u0435\u043A\u0441\u0442",heading1:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 1",heading2:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 2",heading3:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 3",bulletList:"\u041C\u0430\u0440\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u043F\u0438\u0441\u043E\u043A",orderedList:"\u041D\u0443\u043C\u0435\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u043F\u0438\u0441\u043E\u043A",taskList:"\u0421\u043F\u0438\u0441\u043E\u043A \u0437\u0430\u0434\u0430\u0447",quote:"\u0426\u0438\u0442\u0430\u0442\u0430",table:"\u0422\u0430\u0431\u043B\u0438\u0446\u0430",divider:"\u0420\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C",code:"\u041A\u043E\u0434",formatting:"\u0424\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",bold:"\u0416\u0438\u0440\u043D\u044B\u0439",italic:"\u041A\u0443\u0440\u0441\u0438\u0432",strike:"\u0417\u0430\u0447\u0451\u0440\u043A\u043D\u0443\u0442\u044B\u0439",inlineCode:"\u041A\u043E\u0434",link:"\u0421\u0441\u044B\u043B\u043A\u0430"},proposal:{applied:"\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u043E",applying:"\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u0435",approve:"\u0423\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C",discard:"\u041E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C",discarded:"\u041E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u043E",failed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C"},photos:{adding:"\u0414\u043E\u0431\u0430\u0432\u043B\u044F\u0435\u0442\u0441\u044F {name}",remove:"\u0423\u0431\u0440\u0430\u0442\u044C {name}",photo:"\u0424\u043E\u0442\u043E",library:"\u0424\u043E\u0442\u043E",wrongType:"{name} \u2014 \u043D\u0435 \u0444\u043E\u0442\u043E."},run:{lost:"\u0421\u0432\u044F\u0437\u044C \u0441 \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A\u043E\u043C \u043F\u043E\u0442\u0435\u0440\u044F\u043D\u0430."},conversations:{title:"\u0420\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u044B",search:"\u0418\u0441\u043A\u0430\u0442\u044C \u0432 \u0440\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u0430\u0445",none:"\u041D\u0435\u0442 \u0440\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u043E\u0432",today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",yesterday:"\u0412\u0447\u0435\u0440\u0430",week:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 7 \u0434\u043D\u0435\u0439",month:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 30 \u0434\u043D\u0435\u0439"},pane:{assistant:"\u041F\u043E\u043C\u043E\u0449\u043D\u0438\u043A",starters:"\u0421 \u0447\u0435\u0433\u043E \u043D\u0430\u0447\u0430\u0442\u044C"},pages:{pageTitle:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 {page}"},progress:{working:"\u0420\u0430\u0431\u043E\u0442\u0430\u0435\u0442"},product:{allowFirst:"\u0421\u043D\u0430\u0447\u0430\u043B\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442\u0430 \u0432 {name}",open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C {name}"},thread:{message:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435"},documentRun:{paused:"\u041F\u0440\u0435\u0440\u0432\u0430\u043D\u043E \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u043A\u043E\u043C, \u0437\u0430\u0442\u0435\u043C \u0432\u043E\u0437\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043E.",resuming:"\u0412\u043E\u0437\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u043F\u043E\u0441\u043B\u0435 \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u043A\u0430"},runErrors:{model_refused:"\u041F\u043E\u043C\u043E\u0449\u043D\u0438\u043A \u043E\u0442\u043A\u043B\u043E\u043D\u0438\u043B \u0437\u0430\u043F\u0440\u043E\u0441; \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u0444\u043E\u0440\u043C\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u043D\u0430\u0447\u0435.",model_unreachable:"\u041F\u043E\u043C\u043E\u0449\u043D\u0438\u043A \u0441\u0435\u0439\u0447\u0430\u0441 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D; \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0447\u0443\u0442\u044C \u043F\u043E\u0437\u0436\u0435.",context_too_long:"\u042D\u0442\u043E \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0434\u043B\u0438\u043D\u043D\u043E\u0435; \u043E\u0442\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u043F\u043E\u043A\u043E\u0440\u043E\u0447\u0435.",step_limit:"\u041F\u043E\u043C\u043E\u0449\u043D\u0438\u043A \u0434\u043E\u0441\u0442\u0438\u0433 \u043B\u0438\u043C\u0438\u0442\u0430 \u0448\u0430\u0433\u043E\u0432; \u043F\u043E\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C.",model_overran:"\u041E\u0442\u0432\u0435\u0442 \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A\u0430 \u043E\u043A\u0430\u0437\u0430\u043B\u0441\u044F \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0434\u043B\u0438\u043D\u043D\u044B\u043C; \u043F\u043E\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.",interrupted:"\u0420\u0430\u0431\u043E\u0442\u0430 \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A\u0430 \u043F\u0440\u0435\u0440\u0432\u0430\u043D\u0430; \u043F\u043E\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.",internal:"\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A \u0441 \u043D\u0430\u0448\u0435\u0439 \u0441\u0442\u043E\u0440\u043E\u043D\u044B.",check_failed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C; \u043F\u043E\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.",unrepaired:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0432\u0441\u0451 \u0435\u0449\u0451 \u043D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u0430; \u043F\u043E\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0438\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435."},voice:{hearing:"\u0417\u0430\u043F\u0438\u0441\u044B\u0432\u0430\u044E",label:"\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0439 \u0440\u0435\u0436\u0438\u043C",listening:"\u0421\u043B\u0443\u0448\u0430\u044E",speaking:"\u0427\u0438\u0442\u0430\u044E \u0432\u0441\u043B\u0443\u0445"},verify:{failed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043F\u0438\u0441\u044C\u043C\u043E.",ledeTo:"\u0427\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C, \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u0441\u0441\u044B\u043B\u043A\u0443, \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043D\u0443\u044E \u043D\u0430 {email}.",resend:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043F\u0438\u0441\u044C\u043C\u043E \u0435\u0449\u0451 \u0440\u0430\u0437",resent:"\u041F\u0438\u0441\u044C\u043C\u043E \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043E",title:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043F\u043E\u0447\u0442\u0443"}},zh:{account:{deleteConfirmLede:"\u5176\u4E2D\u7684\u6240\u6709\u5185\u5BB9\u90FD\u5C06\u88AB\u6C38\u4E45\u5220\u9664\u3002",deleteFailed:"\u65E0\u6CD5\u5220\u9664\u4F60\u7684\u8D26\u6237\u3002",deleteStale:"\u5220\u9664\u8D26\u6237\u524D\u9700\u8981\u91CD\u65B0\u767B\u5F55\u3002",deleted:"\u4F60\u7684\u8D26\u6237\u5DF2\u5220\u9664\u3002",loadFailed:"\u65E0\u6CD5\u52A0\u8F7D\u4F60\u7684\u767B\u5F55\u65B9\u5F0F\u3002",wrongPassword:"\u5BC6\u7801\u4E0D\u6B63\u786E\u3002"},auth:{agree:"\u7EE7\u7EED\u5373\u8868\u793A\u4F60\u540C\u610F{terms}\u548C{privacy}\u3002",botCheckFailed:"\u5B89\u5168\u9A8C\u8BC1\u672A\u901A\u8FC7\uFF0C\u8BF7\u91CD\u8BD5\u3002",continueWith:"\u4F7F\u7528 {provider} \u7EE7\u7EED",createAccount:"\u521B\u5EFA\u8D26\u6237",failed:"\u8BF7\u68C0\u67E5\u90AE\u7BB1\u5730\u5740\u548C\u5BC6\u7801\u3002",mailFailed:"\u90AE\u4EF6\u672A\u80FD\u53D1\u9001\uFF0C\u8BF7\u91CD\u8BD5\u3002",orWithEmail:"\u6216\u4F7F\u7528\u90AE\u7BB1",privacy:"\u9690\u79C1\u653F\u7B56",terms:"\u670D\u52A1\u6761\u6B3E"},common:{email:"\u90AE\u7BB1",password:"\u5BC6\u7801",requestFailed:"\u51FA\u73B0\u95EE\u9898\uFF0C\u8BF7\u91CD\u8BD5\u3002",send:"\u53D1\u9001",stop:"\u505C\u6B62",unreachable:"\u65E0\u6CD5\u8FDE\u63A5\u670D\u52A1\u5668\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5\u3002"},consent:{allow:"\u5141\u8BB8",deny:"\u4E0D\u5141\u8BB8",failed:"\u65E0\u6CD5\u66F4\u6539\u8BBE\u7F6E\uFF0C\u8BF7\u91CD\u8BD5\u3002",heading:"\u52A9\u624B",label:"\u5141\u8BB8\u4F7F\u7528\u52A9\u624B",line:"\u4F60\u7684\u6D88\u606F\u3001\u8BED\u97F3\u548C\u52A9\u624B\u8BFB\u53D6\u7684\u5185\u5BB9\u4F1A\u53D1\u9001\u7ED9 AI \u6A21\u578B\u3002",memories:"\u52A9\u624B\u8BB0\u4F4F\u7684\u5173\u4E8E\u4F60\u7684\u4FE1\u606F",messages:"\u4F60\u7684\u6D88\u606F\u548C\u9644\u4EF6",model:"AI \u6A21\u578B",receives:"\u63A5\u6536\u65B9",search:"\u7F51\u9875\u641C\u7D22",sent:"\u53D1\u9001\u7684\u5185\u5BB9",title:"\u5141\u8BB8\u4F7F\u7528\u52A9\u624B\uFF1F",training:"\u5B83\u4EEC\u90FD\u4E0D\u7528\u5B83\u8BAD\u7EC3\u6A21\u578B\u3002",voice:"\u8BED\u97F3\u6A21\u5F0F\u4E0B\u4F60\u7684\u8BED\u97F3"},forgot:{failed:"\u65E0\u6CD5\u53D1\u9001\u91CD\u7F6E\u90AE\u4EF6\u3002",lede:"\u8F93\u5165\u4F60\u7684\u90AE\u7BB1\u5730\u5740\u4EE5\u63A5\u6536\u91CD\u7F6E\u94FE\u63A5\u3002",send:"\u53D1\u9001\u91CD\u7F6E\u94FE\u63A5",sentLede:"\u5982\u679C {email} \u6709\u5BF9\u5E94\u7684\u8D26\u6237\uFF0C\u91CD\u7F6E\u94FE\u63A5\u5DF2\u53D1\u9001\u3002",sentTitle:"\u8BF7\u67E5\u770B\u6536\u4EF6\u7BB1",title:"\u91CD\u7F6E\u5BC6\u7801"},formatting:{blocks:"\u5757",text:"\u6587\u672C",heading1:"\u6807\u9898 1",heading2:"\u6807\u9898 2",heading3:"\u6807\u9898 3",bulletList:"\u9879\u76EE\u7B26\u53F7\u5217\u8868",orderedList:"\u7F16\u53F7\u5217\u8868",taskList:"\u5F85\u529E\u5217\u8868",quote:"\u5F15\u7528",table:"\u8868\u683C",divider:"\u5206\u9694\u7EBF",code:"\u4EE3\u7801",formatting:"\u683C\u5F0F",bold:"\u7C97\u4F53",italic:"\u659C\u4F53",strike:"\u5220\u9664\u7EBF",inlineCode:"\u4EE3\u7801",link:"\u94FE\u63A5"},proposal:{applied:"\u5DF2\u5E94\u7528",applying:"\u5E94\u7528\u4E2D",approve:"\u6279\u51C6",discard:"\u653E\u5F03",discarded:"\u5DF2\u653E\u5F03",failed:"\u5931\u8D25"},photos:{adding:"\u6B63\u5728\u6DFB\u52A0 {name}",remove:"\u79FB\u9664 {name}",photo:"\u7167\u7247",library:"\u7167\u7247",wrongType:"{name} \u4E0D\u662F\u7167\u7247\u3002"},run:{lost:"\u4E0E\u52A9\u624B\u7684\u8FDE\u63A5\u5DF2\u65AD\u5F00\u3002"},conversations:{title:"\u5BF9\u8BDD\u5217\u8868",search:"\u641C\u7D22\u5BF9\u8BDD",none:"\u6CA1\u6709\u5BF9\u8BDD",today:"\u4ECA\u5929",yesterday:"\u6628\u5929",week:"\u8FC7\u53BB 7 \u5929",month:"\u8FC7\u53BB 30 \u5929"},pane:{assistant:"\u52A9\u624B",starters:"\u5F00\u59CB\u65B9\u5F0F"},pages:{pageTitle:"\u7B2C {page} \u9875"},progress:{working:"\u5904\u7406\u4E2D"},product:{allowFirst:"\u8BF7\u5148\u5728 {name} \u4E2D\u5141\u8BB8\u52A9\u624B",open:"\u6253\u5F00 {name}"},thread:{message:"\u6D88\u606F"},documentRun:{paused:"\u56E0\u91CD\u542F\u4E2D\u65AD\uFF0C\u968F\u540E\u5DF2\u6062\u590D\u3002",resuming:"\u91CD\u542F\u540E\u6B63\u5728\u6062\u590D"},runErrors:{model_refused:"\u52A9\u624B\u62D2\u7EDD\u4E86\u6B64\u8BF7\u6C42\uFF0C\u8BF7\u6362\u4E2A\u8BF4\u6CD5\u3002",model_unreachable:"\u52A9\u624B\u6682\u65F6\u4E0D\u53EF\u7528\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002",context_too_long:"\u8FD9\u6761\u6D88\u606F\u592A\u957F\u4E86\uFF0C\u8BF7\u53D1\u9001\u66F4\u77ED\u7684\u6D88\u606F\u3002",step_limit:"\u52A9\u624B\u5DF2\u8FBE\u5230\u6B65\u6570\u4E0A\u9650\uFF0C\u8BF7\u518D\u6B21\u63D0\u95EE\u4EE5\u7EE7\u7EED\u3002",model_overran:"\u52A9\u624B\u7684\u56DE\u590D\u8FC7\u957F\uFF0C\u8BF7\u91CD\u65B0\u63D0\u95EE\u3002",interrupted:"\u52A9\u624B\u88AB\u4E2D\u65AD\uFF0C\u8BF7\u91CD\u65B0\u63D0\u95EE\u3002",internal:"\u6211\u4EEC\u8FD9\u8FB9\u51FA\u73B0\u4E86\u95EE\u9898\u3002",check_failed:"\u65E0\u6CD5\u68C0\u67E5\uFF0C\u8BF7\u91CD\u65B0\u63D0\u95EE\u3002",unrepaired:"\u4ECD\u672A\u901A\u8FC7\u4E00\u9879\u68C0\u67E5\uFF0C\u8BF7\u518D\u6B21\u63D0\u95EE\u4EE5\u7EE7\u7EED\u4FEE\u590D\u3002"},voice:{hearing:"\u6B63\u5728\u8F6C\u5199",label:"\u8BED\u97F3\u6A21\u5F0F",listening:"\u6B63\u5728\u542C",speaking:"\u6B63\u5728\u6717\u8BFB"},verify:{failed:"\u65E0\u6CD5\u91CD\u65B0\u53D1\u9001\u90AE\u4EF6\u3002",ledeTo:"\u8BF7\u6253\u5F00\u53D1\u9001\u5230 {email} \u7684\u94FE\u63A5\u4EE5\u5B8C\u6210\u3002",resend:"\u91CD\u65B0\u53D1\u9001\u9A8C\u8BC1\u90AE\u4EF6",resent:"\u9A8C\u8BC1\u90AE\u4EF6\u5DF2\u53D1\u9001",title:"\u9A8C\u8BC1\u4F60\u7684\u90AE\u7BB1"}}};var Ua=le(oe(),1);d();var Ma=le(oe(),1);d();var C_=le(oe(),1);d();var ym=le(oe(),1);d();var Za=le(oe(),1);d();var Fa=le(oe(),1);d();var nP=50,rP=2048;function _m(){return{running:!1,stopping:!1,reconnecting:!1,resuming:!1,runId:null,events:[],queued:[],live:"",thinking:"",writing:"",toolChars:0,usage:null,error:null}}var R_=512,oP=new Set(["run","event","delta","queued","taken","done","resuming","error"]);function iP(e){let t=ne(e,"type");return typeof t=="string"&&oP.has(t)?e:null}function aP(e){return new Promise(t=>setTimeout(t,e))}function N_(e,t){return{lost:e.lost,stoppedElsewhere:e.stoppedElsewhere,runError:r=>fm(r,e),failure:t}}var eo=class extends je{listeners;own;client;scope;state;abort=null;pending="";thought="";timer=null;lastSeq=0;runId=null;ended=!1;stopping=!1;inflight=null;wanted=null;attaching=!1;carrying=null;constructor(t,r,i,n){super(),this.client=t,this.scope=r,this.listeners=i,this.own=n,this.state=this.idle()}snapshot=()=>this.state;open=()=>{this.set(this.idle()),this.lastSeq=0,this.runId=null,this.drive({attach:!0,after:0});let t=this.client.watch?.(this.scope,this.attachStarted);return()=>{this.abort?.abort(),t?.()}};start=t=>this.drive({...t,after:0});withAnswers=(t,r)=>{this.carrying=t;let i=r();return this.carrying=null,i};stop=()=>{this.stopping=!0,this.update(t=>({...t,stopping:!0})),this.client.cancel(this.scope).catch(t=>{this.stopping=!1,this.update(r=>({...r,stopping:!1})),this.listeners.onNotice(this.listeners.words.failure(t),"error")})};forget=()=>{this.state.running||(this.drop(),this.lastSeq=0,this.runId=null,this.set(this.idle()))};idle(){return{..._m(),...this.own.idle}}set(t){t!==this.state&&(this.state=t,this.notify())}update(t){this.set(t(this.state))}reduced(t,r){return{...t,...this.own.reduce(t,r)}}drop(){this.pending="",this.thought="",this.timer!==null&&clearTimeout(this.timer),this.timer=null}flush=()=>{this.timer=null;let t=this.pending,r=this.thought;!t&&!r||(this.pending="",this.thought="",this.update(i=>({...i,live:i.live+t,thinking:r?(i.thinking+r).slice(-rP):i.thinking})))};receive=t=>{let r=iP(t);if(!r){this.update(i=>this.reduced(i,t));return}switch(r.type){case"run":{this.runId&&this.runId!==r.runId&&(this.lastSeq=0,this.drop(),this.update(i=>({...i,events:[],queued:[],live:"",thinking:"",writing:"",error:null}))),this.runId=r.runId,!r.attached&&this.attaching&&this.listeners.onRunStarted?.(),this.update(i=>this.reduced({...i,runId:r.runId,running:!0,reconnecting:!1,resuming:!1},t));break}case"resuming":this.update(i=>({...i,running:!0,reconnecting:!1,resuming:!0}));break;case"event":{if(r.seq<=this.lastSeq)break;this.lastSeq=r.seq,this.drop(),this.update(i=>this.reduced({...i,events:[...i.events,{seq:r.seq,event:r.event}],toolChars:0,live:"",thinking:"",writing:""},t));break}case"taken":{let{id:i}=r;this.update(n=>({...n,queued:n.queued.filter(o=>o.id!==i)}));break}case"queued":{let{type:i,...n}=r;this.update(o=>o.queued.some(a=>a.id===n.id)?o:{...o,queued:[...o.queued,n]});break}case"delta":{if(r.reset){this.drop(),this.update(o=>({...o,live:"",thinking:"",writing:""}));break}let i=r.toolChars;i&&this.update(o=>Math.floor(o.toolChars/R_)===Math.floor(i/R_)?o:{...o,toolChars:i});let n=r.writing;if(n){this.update(o=>o.writing===n?o:{...o,writing:n});break}if(r.text)this.pending+=r.text;else if(r.thinking)this.thought+=r.thinking;else break;this.timer===null&&(this.timer=setTimeout(this.flush,nP));break}case"error":{this.ended=!0;let i=Nn(this.listeners.words.runError(r.kind));this.update(n=>({...n,error:i,running:!1,resuming:!1,writing:""}));break}case"done":{!this.ended&&r.status==="canceled"&&!this.stopping&&this.listeners.onNotice(this.listeners.words.stoppedElsewhere,"info"),this.ended=!0,this.stopping=!1,this.update(i=>this.reduced({...i,running:!1,stopping:!1,resuming:!1,writing:"",usage:r.usage},t));break}default:this.update(i=>this.reduced(i,t));break}};async once(t,r){this.ended=!1;try{await this.client.runStream(this.scope,t,this.receive,r)}catch(i){return r.aborted?"ended":{failure:this.listeners.words.failure(i),status:i instanceof Ee?i.status:null}}return this.ended?"ended":"dropped"}async drive(t){this.abort?.abort();let r=new AbortController;this.abort=r,this.inflight=r,this.attaching=t.attach===!0,t.attach||(this.lastSeq=0,this.runId=null,this.stopping=!1,this.pending="",this.thought="",this.set({...this.idle(),running:!0}));let i=this.carrying,n={...t,answers:i},o=i?n:t,a=null;for(let u=0;;u++){let c=await this.once(o,r.signal);if(r.signal.aborted)break;let l=gm(c,{attempt:u,runId:this.runId,seq:this.lastSeq},this.listeners.words.lost);if(l.go==="done")break;if(l.go==="give-up"){a=l.failure,this.update(p=>({...p,error:l.failure.text?l.failure:null}));break}if(this.update(p=>({...p,reconnecting:!0})),await aP(l.delayMs),r.signal.aborted)break;o=l.input}if(r.signal.aborted)return a;this.inflight=null,this.timer!==null&&(clearTimeout(this.timer),this.flush()),this.update(u=>({...u,running:!1,stopping:!1,reconnecting:!1,resuming:!1})),(this.runId||!t.attach)&&this.listeners.onRunEnded();let s=this.wanted;return this.wanted=null,s&&this.attachStarted(s),a}attachStarted=t=>{let r=hm(t,{runId:this.runId,busy:this.inflight!==null});if(r!=="ignore"){if(r==="later"){this.wanted=t;return}this.listeners.onRunStarted?.(),this.drive({attach:!0,after:0,runId:t})}}};var uP={idle:{},reduce:e=>e};function cP(e,t){return{runStream:(r,i,n,o)=>e.runStream(i,n,o),watch:(r,i)=>e.watch({run:i,changed:t}),cancel:()=>e.api.cancel()}}d();var $m=le(oe(),1);var Va=e=>new Map(e.map(t=>[t.id,t]));function D_(e,t,r){if(!r)return{runs:t.runs,proposals:Va(t.proposals)};let i=new Set(t.runs.map(o=>o.id)),n=t.runs[0]?.startedAt??Number.POSITIVE_INFINITY;return{runs:[...e.runs.filter(o=>!i.has(o.id)&&o.startedAt<n),...t.runs],proposals:new Map([...e.proposals,...Va(t.proposals)])}}function j_(e,t){let r=new Set(t.runs.map(i=>i.id));return{runs:[...t.runs,...e.runs.filter(i=>!r.has(i.id))],proposals:new Map([...Va(t.proposals),...e.proposals])}}var bm=class extends je{load;state={runs:[],proposals:new Map,earlier:null,loading:!1,read:!1};extended=!1;constructor(t){super(),this.load=t}snapshot=()=>this.state;set(t){this.state={...this.state,...t},this.notify()}show=t=>this.set({runs:t.runs,proposals:Va(t.proposals),earlier:t.earlier,read:!0});reload=async()=>{let t=await this.load(null),r=D_(this.state,t,this.extended);this.set(this.extended?{...r,read:!0}:{...r,earlier:t.earlier,read:!0})};loadEarlier=async()=>{let{earlier:t}=this.state;if(t){this.set({loading:!0});try{let r=await this.load(t);this.extended=!0,this.set({...j_(this.state,r),earlier:r.earlier})}finally{this.set({loading:!1})}}};setProposal=t=>this.set({proposals:new Map(this.state.proposals).set(t.id,t)});clear=()=>{this.extended=!1,this.set({runs:[],proposals:new Map,earlier:null})}};d();var Ba=le(oe(),1);d();d();import{parseArgs as gP}from"node:util";d();var mP="0.1.8";function xm(e,t){return{...e?{authorization:`Bearer ${e}`}:{},[ps]:t,"user-agent":`premsan/${mP}`}}var fP=(e,t)=>{let r=WebSocket;return new r(e,{headers:{authorization:`Bearer ${t}`}})};function b6(e,t,r,i,n=fetch){return{baseUrl:e.api,fetch:n,headers:()=>xm(t,r),credentials:"omit",socket:o=>fP(o,t),signedOut:i.signedOut,planRefused:i.planRefused,askConsent:async()=>(i.unallowed(),!1)}}var P6=e=>({baseUrl:e.session.api,fetch:e.fetcher,headers:()=>xm(e.session.token,e.language),credentials:"omit"}),to=class extends Nt{};function T6(e,t,r){let i=e.find(s=>s.id===t);if(i)return i;let n=e.filter(s=>s.name.toLowerCase()===t.toLowerCase()),[o,...a]=n;if(o&&a.length===0)return o;throw a.length>0?new to(r.many(n.length,n.map(s=>s.id).join(", "))):new to(r.none())}var hP=new Set(["--help","-h","help"]),Wa=2,vP=e=>({name:"json",type:"boolean",description:e.words.json});function L_(e,t){let r=Math.max(...t.map(i=>i.name.length));return[e.title,"",`${e.words.usage}: ${e.name} <command> [arguments] [--json]`,"",...t.map(i=>` ${i.name.padEnd(r)} ${i.summary}`),"",e.footer].join(`
79
+ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let a of e.seen.entries()){let s=a[1];if(t===a[0]){o(a);continue}if(e.external){let c=e.external.registry.get(a[0])?.id;if(t!==a[0]&&c){o(a);continue}}if(e.metadataRegistry.get(a[0])?.id){o(a);continue}if(s.cycle){o(a);continue}s.count>1&&e.reused==="ref"&&o(a)}e.external&&(e.sharedDefsExtractedFor=e.external)}function tv(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let r=[];for(let i of t){if(!i||typeof i!="object")return;tv(i);let n=Object.keys(i);if(n.length!==1||n[0]!=="type")return;let o=i.type;for(let a of Array.isArray(o)?o:[o]){if(typeof a!="string")return;r.includes(a)||r.push(a)}}delete e.anyOf,e.type=r.length===1?r[0]:r}var nv=new Set(["type","properties","required","additionalProperties"]),Qh=["oneOf","anyOf"];function ev(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!="object"||t===null?null:Object.keys(t).length?t:null}function cd(e){let t=[];for(let o of e){if(typeof o!="object"||o.type!=="object")return null;for(let a in o)if(!nv.has(a))return null;t.push(o)}let r={},i=new Set;for(let o of t){for(let a in o.properties){if(Object.prototype.hasOwnProperty.call(r,a))continue;let s=[];for(let c of t){let l=c.properties?.[a]??ev(c);l!=null&&(s.some(p=>JSON.stringify(p)===JSON.stringify(l))||s.push(l))}let u=s.length===1?s[0]:cd(s)??{allOf:s};Q(r,a,u)}for(let a of o.required??[])i.add(a)}let n={type:"object",properties:r};if(i.size&&(n.required=[...i]),t.every(o=>o.additionalProperties===!1))n.additionalProperties=!1;else{let o=[];for(let a of t){let s=ev(a);s&&!o.some(u=>JSON.stringify(u)===JSON.stringify(s))&&o.push(s)}o.length===1?n.additionalProperties=o[0]:o.length>1&&(n.additionalProperties={allOf:o})}return n}function zS(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let n of nv)if(n in e)return;let r=t.filter(n=>Qh.some(o=>Array.isArray(n[o]))),i=null;if(!r.length)i=cd(t);else{let n=r[0],o=Qh.find(u=>Array.isArray(n[u]));if(Object.keys(n).length!==1)return;let a=t.filter(u=>u!==n),s=n[o].map(u=>cd([...a,u]));if(s.some(u=>!u))return;i={[o]:s}}i&&(delete e.allOf,zr(e,i))}function rt(e,t){let r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");let i=s=>{let u=e.seen.get(s);if(u.ref===null)return;let c=u.def??u.schema,l={...c},p=u.ref;if(u.ref=null,p){i(p);let f=e.seen.get(p),y=f.schema;if(y.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(c.allOf=c.allOf??[],c.allOf.push(y)):zr(c,y),zr(c,l),s._zod.parent===p)for(let k in c)k==="$ref"||k==="allOf"||k in l||delete c[k];if(y.$ref&&f.def)for(let k in c)k==="$ref"||k==="allOf"||k in f.def&&JSON.stringify(c[k])===JSON.stringify(f.def[k])&&delete c[k]}let m=s._zod.parent;if(m&&m!==p){i(m);let f=e.seen.get(m);if(f?.schema.$ref&&(c.$ref=f.schema.$ref,f.def))for(let y in c)y==="$ref"||y==="allOf"||y in f.def&&JSON.stringify(c[y])===JSON.stringify(f.def[y])&&delete c[y]}e.override({zodSchema:s,jsonSchema:c,path:u.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let s of[...e.seen.entries()].reverse())i(s[0]);if(e.target!=="openapi-3.0")for(let s of e.seen.entries())tv(s[1].def??s[1].schema);for(let s of e.deferred)s();if(e.intersections.length){let s=new Map;for(let u of e.seen.values())for(let c of[u.schema,u.def]){let l=c?.allOf;if(!Array.isArray(l))continue;let p=s.get(l);p?p.push(c):s.set(l,[c])}for(let u of e.intersections)for(let c of s.get(u)??[])zS(c)}}let n={};if(e.target==="draft-2020-12"?n.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?n.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?n.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){let s=e.external.registry.get(t)?.id;if(!s)throw new Error("Schema is missing an `id` property");n.$id=e.external.uri(s)}zr(n,r.defId?r.schema:r.def??r.schema);let o=e.metadataRegistry.get(t)?.id;o!==void 0&&n.id===o&&delete n.id;let a=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let s of e.seen.entries()){let u=s[1];u.def&&u.defId&&(u.def.id===u.defId&&delete u.def.id,Q(a,u.defId,u.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(a).length>0&&(e.target==="draft-2020-12"?n.$defs=a:n.definitions=a);try{let s=JSON.parse(JSON.stringify(n));return Object.defineProperty(s,"~standard",{value:{...t["~standard"],jsonSchema:{input:$n(t,"input",e.processors),output:$n(t,"output",e.processors)}},enumerable:!1,writable:!1}),s}catch{throw new Error("Error converting schema to JSON.")}}function ue(e,t){let r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);let i=e._zod.def;if(i.type==="transform")return!0;if(i.type==="array")return ue(i.element,r);if(i.type==="set")return ue(i.valueType,r);if(i.type==="lazy")return ue(i.getter(),r);if(i.type==="promise"||i.type==="optional"||i.type==="nonoptional"||i.type==="nullable"||i.type==="readonly"||i.type==="default"||i.type==="prefault"||i.type==="catch")return ue(i.innerType,r);if(i.type==="intersection")return ue(i.left,r)||ue(i.right,r);if(i.type==="record"||i.type==="map")return ue(i.keyType,r)||ue(i.valueType,r);if(i.type==="pipe")return e._zod.traits.has("$ZodCodec")?!0:ue(i.in,r)||ue(i.out,r);if(i.type==="object"){for(let n in i.shape)if(ue(i.shape[n],r))return!0;return!1}if(i.type==="union"){for(let n of i.options)if(ue(n,r))return!0;return!1}if(i.type==="tuple"){for(let n of i.items)if(ue(n,r))return!0;return!!(i.rest&&ue(i.rest,r))}return!1}var ld=(e,t={})=>r=>{let i=tt({...r,processors:t});return V(e,i),nt(i,e),rt(i,e)},$n=(e,t,r={})=>i=>{let{libraryOptions:n,target:o}=i??{},a=tt({...n??{},target:o,io:t,processors:r});return V(e,a),nt(a,e),rt(a,e)};d();var xn=(e,t,r)=>{(e[t]===void 0||r>e[t])&&(e[t]=r)},wn=(e,t,r)=>{(e[t]===void 0||r<e[t])&&(e[t]=r)},rv=(e,t)=>{xn(e,"minimum",t),wn(e,"maximum",t)},sv=(e,t)=>{e.multipleOf??(e.multipleOf=[]),e.multipleOf.includes(t)||e.multipleOf.push(t)},uv=(e,t)=>{e.patterns??(e.patterns=new Set),e.patterns.add(t)},cv=(e,t)=>{e.mime=e.mime?e.mime.filter(r=>t.includes(r)):[...t]},lv=(e,t)=>{e.format=t,t.includes("int")&&(e.isInt=!0)},ov=(e,t)=>xn(e,"minimum",t.minimum),iv=(e,t)=>wn(e,"maximum",t.maximum),av=e=>(t,r)=>{lv(t,r.format);let[i,n]=e[r.format];xn(t,"minimum",i),wn(t,"maximum",n)},CS={greater_than:(e,t)=>xn(e,t.inclusive?"minimum":"exclusiveMinimum",t.value),less_than:(e,t)=>wn(e,t.inclusive?"maximum":"exclusiveMaximum",t.value),multiple_of:(e,t)=>sv(e,t.value),number_format:av(Qn),bigint_format:av(er),min_length:ov,max_length:iv,length_equals:(e,t)=>rv(e,t.length),min_size:ov,max_size:iv,size_equals:(e,t)=>rv(e,t.size),string_format:(e,t)=>{lv(e,t.format),t.pattern&&uv(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)=>cv(e,t.mime)};function Y(e){let t={},r=e._zod.def,i=e._zod.traits.has("$ZodCheck")?[e,...r.checks??[]]:r.checks??[];for(let o of i)CS[o._zod.def.check]?.(t,o._zod.def);let n=e._zod.bag;n.minimum!==void 0&&xn(t,"minimum",n.minimum),n.exclusiveMinimum!==void 0&&xn(t,"exclusiveMinimum",n.exclusiveMinimum),n.maximum!==void 0&&wn(t,"maximum",n.maximum),n.exclusiveMaximum!==void 0&&wn(t,"exclusiveMaximum",n.exclusiveMaximum),n.multipleOf!==void 0&&sv(t,n.multipleOf),n.format!==void 0&&(t.format??(t.format=n.format),n.format.includes("int")&&(t.isInt=!0)),n.mime&&cv(t,n.mime);for(let o of n.patterns??[])uv(t,o);return t}var RS={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},NS=new Map([[ui,hu],[vr,vu]]),dv=e=>NS.get(e)??e,md=(e,t,r,i)=>{let n=r;n.type="string";let{minimum:o,maximum:a,format:s,patterns:u,contentEncoding:c,laxFormat:l}=Y(e);if(typeof o=="number"&&(n.minLength=o),typeof a=="number"&&(n.maxLength=a),s&&(n.format=RS[s]??s,n.format===""&&delete n.format,(s==="time"||l)&&delete n.format),c&&(n.contentEncoding=c),u&&u.size>0){let p=[...u].map(dv);p.length===1?n.pattern=p[0].source:p.length>1&&(n.allOf=[...p.map(m=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:m.source}))])}},fd=(e,t,r,i)=>{let n=r,{minimum:o,maximum:a,multipleOf:s,exclusiveMaximum:u,exclusiveMinimum:c,isInt:l}=Y(e);n.type=l?"integer":"number";let p=typeof c=="number"&&c>=(o??Number.NEGATIVE_INFINITY),m=typeof u=="number"&&u<=(a??Number.POSITIVE_INFINITY),f=t.target==="draft-04"||t.target==="openapi-3.0";if(p?f?(n.minimum=c,n.exclusiveMinimum=!0):n.exclusiveMinimum=c:typeof o=="number"&&(n.minimum=o),m?f?(n.maximum=u,n.exclusiveMaximum=!0):n.exclusiveMaximum=u:typeof a=="number"&&(n.maximum=a),s){let y=new Set;for(let I of s)Number.isFinite(I)&&I!==0?y.add(Math.abs(I)):J(e,t,n,i,`A multipleOf divisor of ${I} cannot be represented in JSON Schema`);let[$,...k]=y;$!==void 0&&(n.multipleOf=$),k.length&&(n.allOf=[...n.allOf??[],...k.map(I=>({multipleOf:I}))])}},gd=(e,t,r,i)=>{r.type="boolean"},hd=(e,t,r,i)=>{J(e,t,r,i,"BigInt cannot be represented in JSON Schema")},vd=(e,t,r,i)=>{J(e,t,r,i,"Symbols cannot be represented in JSON Schema")},yd=(e,t,r,i)=>{t.target==="openapi-3.0"?(r.type="string",r.nullable=!0,r.enum=[null]):r.type="null"},_d=(e,t,r,i)=>{J(e,t,r,i,"Undefined cannot be represented in JSON Schema")},bd=(e,t,r,i)=>{J(e,t,r,i,"Void cannot be represented in JSON Schema")},$d=(e,t,r,i)=>{r.not={}},xd=(e,t,r,i)=>{},wd=(e,t,r,i)=>{},kd=(e,t,r,i)=>{J(e,t,r,i,"Date cannot be represented in JSON Schema")},Sd=(e,t,r,i)=>{let n=e._zod.def,o=Kt(n.entries);if(o.length===0){r.not={};return}o.every(a=>typeof a=="number")&&(r.type="number"),o.every(a=>typeof a=="string")&&(r.type="string"),r.enum=o},Id=(e,t,r,i)=>{let n=e._zod.def;if(n.values.length===0){r.not={};return}let o=[];for(let a of n.values)if(a===void 0){if(J(e,t,r,i,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof a=="bigint"){if(J(e,t,r,i,"BigInt literals cannot be represented in JSON Schema"))return;o.push(Number(a))}else o.push(a);if(o.length!==0)if(o.length===1){let a=o[0];r.type=a===null?"null":typeof a,t.target==="draft-04"||t.target==="openapi-3.0"?r.enum=[a]:r.const=a}else o.every(a=>typeof a=="number")&&(r.type="number"),o.every(a=>typeof a=="string")&&(r.type="string"),o.every(a=>typeof a=="boolean")&&(r.type="boolean"),o.every(a=>a===null)&&(r.type="null"),r.enum=o},Pd=(e,t,r,i)=>{J(e,t,r,i,"NaN cannot be represented in JSON Schema")},Td=(e,t,r,i)=>{let n=r,o=e._zod.pattern;if(!o)throw new Error("Pattern not found in template literal");n.type="string",n.pattern=o.source},Ad=(e,t,r,i)=>{let n=r;n.type="string",n.format="binary",n.contentEncoding="binary";let{minimum:o,maximum:a,mime:s}=Y(e);o!==void 0&&(n.minLength=o),a!==void 0&&(n.maxLength=a),s&&(s.length===0?n.not={}:s.length===1?n.contentMediaType=s[0]:n.anyOf=s.map(u=>({contentMediaType:u})))},Ed=(e,t,r,i)=>{r.type="boolean"},Od=(e,t,r,i)=>{J(e,t,r,i,"Custom types cannot be represented in JSON Schema")},zd=(e,t,r,i)=>{J(e,t,r,i,"Function types cannot be represented in JSON Schema")},Cd=(e,t,r,i)=>{J(e,t,r,i,"Transforms cannot be represented in JSON Schema")},Rd=(e,t,r,i)=>{J(e,t,r,i,"Map cannot be represented in JSON Schema")},Nd=(e,t,r,i)=>{J(e,t,r,i,"Set cannot be represented in JSON Schema")},Dd=(e,t,r,i)=>{let n=r,o=e._zod.def,{minimum:a,maximum:s}=Y(e);typeof a=="number"&&(n.minItems=a),typeof s=="number"&&(n.maxItems=s),n.type="array",n.items=V(o.element,t,{...i,path:[...i.path,"items"]})};function Cr(e){let t=e._zod.def;return t.type==="pipe"&&t.in._zod.traits.has("$ZodTransform")?Cr(t.out):t.type==="catch"?Cr(t.innerType):e._zod.optin}var jd=(e,t,r,i)=>{let n=r,o=e._zod.def,a=o.shape;if(Object.getOwnPropertySymbols(a).length&&J(e,t,n,i,"Symbol keys cannot be represented in JSON Schema"))return;n.type="object",n.properties={};for(let c in a)Q(n.properties,c,V(a[c],t,{...i,path:[...i.path,"properties",c]}));let u=[];for(let c of Object.keys(a)){let l=o.shape[c];(t.io==="input"?Cr(l)===void 0:l._zod.optout===void 0)&&u.push(c)}u.length>0&&(n.required=u),o.catchall?._zod.def.type==="never"?n.additionalProperties=!1:o.catchall?o.catchall&&(n.additionalProperties=V(o.catchall,t,{...i,path:[...i.path,"additionalProperties"]})):t.io==="output"&&(n.additionalProperties=!1)},ia=(e,t,r,i)=>{let n=e._zod.def,o=n.inclusive===!1,a=n.options.map((s,u)=>V(s,t,{...i,path:[...i.path,o?"oneOf":"anyOf",u]}));o?r.oneOf=a:r.anyOf=a},Ld=(e,t,r,i)=>{let n=e._zod.def,o=V(n.left,t,{...i,path:[...i.path,"allOf",0]}),a=V(n.right,t,{...i,path:[...i.path,"allOf",1]}),s=c=>"allOf"in c&&Object.keys(c).length===1,u=[...s(o)?o.allOf:[o],...s(a)?a.allOf:[a]];r.allOf=u,t.intersections.push(u)},Md=(e,t,r,i)=>{let n=r,o=e._zod.def;n.type="array";let a=t.target==="draft-2020-12"?"prefixItems":"items",s=t.target==="draft-2020-12"||t.target==="openapi-3.0"?"items":"additionalItems",u=o.items.map(($,k)=>V($,t,{...i,path:[...i.path,a,k]})),c=o.rest?V(o.rest,t,{...i,path:[...i.path,s,...t.target==="openapi-3.0"?[o.items.length]:[]]}):null,l=o.items.length;for(;l>0;){let $=o.items[l-1];if(!(t.io==="input"?Cr($)!==void 0:$._zod.optout==="optional"))break;l--}let p=o.items.length,m=!o.rest;t.target==="draft-2020-12"?(n.prefixItems=u,m?n.items=!1:c&&(n.items=c),l>0&&(n.minItems=l),m&&(n.maxItems=p)):t.target==="openapi-3.0"?(n.items={anyOf:u},c&&n.items.anyOf.push(c),l>0&&(n.minItems=l),m&&(n.maxItems=p)):(n.items=u,m?n.additionalItems=!1:c&&(n.additionalItems=c),l>0&&(n.minItems=l),m&&(n.maxItems=p));let{minimum:f,maximum:y}=Y(e);typeof f=="number"&&(n.minItems=f),typeof y=="number"&&(n.maxItems=y)};function dd(e,t,r){if(t.$ref){if(r.has(t))return t;r.add(t);let y=e.get(t)?.def;if(!y)return t;let $=dd(e,y,r);return $===y?t:$}for(let y of["anyOf","oneOf"]){let $=t[y];if(!Array.isArray($))continue;let k=$.map(I=>dd(e,I,r));k.some((I,S)=>I!==$[S])&&(t={...t,[y]:k})}let i=Array.isArray(t.type)?t.type:[t.type],n=!i.includes("string")&&i.some(y=>y==="number"||y==="integer"),o=t.enum??(t.const!==void 0?[t.const]:void 0);if(!n&&!o?.some(y=>typeof y=="number"))return t;let{minimum:a,maximum:s,exclusiveMinimum:u,exclusiveMaximum:c,multipleOf:l,format:p,id:m,...f}=t;return f.enum?f.enum=f.enum.map(y=>typeof y=="number"?String(y):y):typeof f.const=="number"&&(f.const=String(f.const)),n&&(f.type="string",o||(f.pattern=(i.includes("number")?Ve:lr).source)),f}var pd=new WeakMap;function DS(e){let t=new Map;for(let i of e.seen.values())i.def&&!t.has(i.schema)&&t.set(i.schema,i);let r=new Map;for(let i of pd.get(e)??[]){let n=e.seen.get(i),o=(n?.def??n?.schema)?.propertyNames;if(!o||o===!0||r.has(o))continue;let a=dd(t,o,new Set);a!==o&&r.set(o,a)}if(r.size)for(let i of e.seen.values())for(let n of[i.schema,i.def]){let o=n&&r.get(n.propertyNames);o&&(n.propertyNames=o)}}var Ud=(e,t,r,i)=>{let n=r,o=e._zod.def;n.type="object";let a=o.keyType,s=Y(a).patterns;if(o.mode==="loose"&&s&&s.size>0){let l=V(o.valueType,t,{...i,path:[...i.path,"patternProperties","*"]});n.patternProperties={};for(let p of s)Q(n.patternProperties,dv(p).source,l)}else{if(t.target==="draft-07"||t.target==="draft-2020-12"){n.propertyNames=V(o.keyType,t,{...i,path:[...i.path,"propertyNames"]});let l=pd.get(t);l||(l=[],pd.set(t,l),t.deferred.push(()=>DS(t))),l.push(e)}n.additionalProperties=V(o.valueType,t,{...i,path:[...i.path,"additionalProperties"]})}let u=a._zod.values,c=t.io==="input"&&Cr(o.valueType)!==void 0;if(u&&!o.partial&&!c){let l=[...u].filter(p=>typeof p=="string"||typeof p=="number");l.length>0&&(n.required=l.map(String))}},Fd=(e,t,r,i)=>{let n=e._zod.def,o=V(n.innerType,t,i),a=t.seen.get(e);t.target==="openapi-3.0"?(a.ref=n.innerType,r.nullable=!0):r.anyOf=[o,{type:"null"}]},Zd=(e,t,r,i)=>{let n=e._zod.def;V(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType},Vd=Symbol();function pv(e,t,r,i,n){let o=!1,a=JSON.stringify(e,(s,u)=>typeof u!="bigint"?u:(o=!0,null));return o?(J(t,r,i,n,"BigInt defaults cannot be represented in JSON Schema"),Vd):JSON.parse(a)}var Bd=(e,t,r,i)=>{let n=e._zod.def;V(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType;let a=pv(n.defaultValue,e,t,r,i);a!==Vd&&(r.default=a)},Wd=(e,t,r,i)=>{let n=e._zod.def;V(n.innerType,t,i);let o=t.seen.get(e);if(o.ref=n.innerType,t.io!=="input")return;let a=pv(n.defaultValue,e,t,r,i);a!==Vd&&(r._prefault=a)},Kd=(e,t,r,i)=>{let n=e._zod.def;V(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType;let a;try{a=n.catchValue(void 0)}catch{J(e,t,r,i,"Dynamic catch values are not supported in JSON Schema");return}r.default=a},qd=(e,t,r,i)=>{let n=e._zod.def,o=n.in._zod.traits.has("$ZodTransform"),a=t.io==="input"?o?n.out:n.in:n.out;V(a,t,i);let s=t.seen.get(e);s.ref=a},Gd=(e,t,r,i)=>{let n=e._zod.def;V(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType,r.readOnly=!0},Hd=(e,t,r,i)=>{let n=e._zod.def;V(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType},aa=(e,t,r,i)=>{let n=e._zod.def;V(n.innerType,t,i);let o=t.seen.get(e);o.ref=n.innerType},Jd=(e,t,r,i)=>{let n=e._zod.innerType;V(n,t,i);let o=t.seen.get(e);o.ref=n},oa={string:md,number:fd,boolean:gd,bigint:hd,symbol:vd,null:yd,undefined:_d,void:bd,never:$d,any:xd,unknown:wd,date:kd,enum:Sd,literal:Id,nan:Pd,template_literal:Td,file:Ad,success:Ed,custom:Od,function:zd,transform:Cd,map:Rd,set:Nd,array:Dd,object:jd,union:ia,intersection:Ld,tuple:Md,record:Ud,nullable:Fd,nonoptional:Zd,default:Bd,prefault:Wd,catch:Kd,pipe:qd,readonly:Gd,promise:Hd,optional:aa,lazy:Jd};function sa(e,t){if("_idmap"in e){let i=e,n=tt({...t,processors:oa}),o={};for(let u of i._idmap.entries()){let[c,l]=u;V(l,n)}let a={},s={registry:i,uri:t?.uri,defs:o};n.external=s;for(let u of i._idmap.entries()){let[c,l]=u;nt(n,l),Q(a,c,rt(n,l))}if(Object.keys(o).length>0){let u=n.target==="draft-2020-12"?"$defs":"definitions";a.__shared={[u]:o}}return{schemas:a}}let r=tt({...t,processors:oa});return V(e,r),nt(r,e),rt(r,e)}d();var ua=class{get metadataRegistry(){return this.ctx.metadataRegistry}get target(){return this.ctx.target}get unrepresentable(){return this.ctx.unrepresentable}get override(){return this.ctx.override}get io(){return this.ctx.io}get counter(){return this.ctx.counter}set counter(t){this.ctx.counter=t}get seen(){return this.ctx.seen}constructor(t){let r=t?.target??"draft-2020-12";r==="draft-4"&&(r="draft-04"),r==="draft-7"&&(r="draft-07"),this.ctx=tt({processors:oa,target:r,...t?.metadata&&{metadata:t.metadata},...t?.unrepresentable&&{unrepresentable:t.unrepresentable},...t?.override&&{override:t.override},...t?.io&&{io:t.io}})}process(t,r={path:[],schemaPath:[]}){return V(t,this.ctx,r)}emit(t,r){r&&(r.cycles&&(this.ctx.cycles=r.cycles),r.reused&&(this.ctx.reused=r.reused),r.external&&(this.ctx.external=r.external)),this.ctx.sharedDefsExtractedFor=void 0,this.ctx.sharedEmitDoneFor=void 0,nt(this.ctx,t);let i=rt(this.ctx,t),{"~standard":n,...o}=i;return o}};var mv={};d();var On={};De(On,{ZodAny:()=>yp,ZodArray:()=>xp,ZodBase64:()=>Pa,ZodBase64URL:()=>Ta,ZodBigInt:()=>An,ZodBigIntFormat:()=>Oa,ZodBoolean:()=>Tn,ZodCIDRv4:()=>Sa,ZodCIDRv6:()=>Ia,ZodCUID:()=>ya,ZodCUID2:()=>_a,ZodCatch:()=>Vp,ZodCodec:()=>Vr,ZodCreditCard:()=>lp,ZodCustom:()=>Br,ZodCustomStringFormat:()=>Ot,ZodDate:()=>jr,ZodDefault:()=>jp,ZodDiscriminatedUnion:()=>kp,ZodE164:()=>Aa,ZodEmail:()=>fa,ZodEmoji:()=>ha,ZodEnum:()=>Sn,ZodExactOptional:()=>Na,ZodFile:()=>Cp,ZodFunction:()=>Qp,ZodGUID:()=>ga,ZodIBAN:()=>dp,ZodIPv4:()=>wa,ZodIPv6:()=>ka,ZodISODate:()=>it,ZodISODateTime:()=>ot,ZodISODuration:()=>st,ZodISOTime:()=>at,ZodInstanceOf:()=>nm,ZodIntersection:()=>Sp,ZodJWT:()=>Ea,ZodKSUID:()=>xa,ZodLazy:()=>Jp,ZodLiteral:()=>zp,ZodMAC:()=>cp,ZodMap:()=>Ep,ZodNaN:()=>Wp,ZodNanoID:()=>va,ZodNever:()=>bp,ZodNonOptional:()=>Da,ZodNull:()=>hp,ZodNullable:()=>Dp,ZodNumber:()=>Pn,ZodNumberFormat:()=>zt,ZodObject:()=>Mr,ZodOptional:()=>Fr,ZodPipe:()=>Zr,ZodPrefault:()=>Mp,ZodPreprocess:()=>Kp,ZodPromise:()=>Xp,ZodReadonly:()=>qp,ZodRecord:()=>kn,ZodSet:()=>Op,ZodString:()=>In,ZodStringFormat:()=>B,ZodSuccess:()=>Zp,ZodSymbol:()=>fp,ZodTemplateLiteral:()=>Hp,ZodTransform:()=>Rp,ZodTuple:()=>Pp,ZodType:()=>R,ZodULID:()=>ba,ZodURL:()=>Dr,ZodUUID:()=>Re,ZodUndefined:()=>gp,ZodUnion:()=>Ur,ZodUnknown:()=>_p,ZodVoid:()=>$p,ZodXID:()=>$a,ZodXor:()=>wp,_ZodString:()=>ma,_default:()=>Lp,_function:()=>Sy,any:()=>ny,array:()=>Lr,base64:()=>Dv,base64url:()=>jv,bigint:()=>Yv,boolean:()=>mp,catch:()=>Bp,check:()=>Iy,cidrv4:()=>Rv,cidrv6:()=>Nv,codec:()=>$y,creditCard:()=>Mv,cuid:()=>Iv,cuid2:()=>Pv,currencyCode:()=>Wv,custom:()=>Py,date:()=>oy,describe:()=>Ty,discriminatedUnion:()=>ly,e164:()=>Lv,email:()=>hv,emoji:()=>kv,enum:()=>Ca,exactOptional:()=>Np,file:()=>vy,float32:()=>qv,float64:()=>Gv,function:()=>Sy,guid:()=>vv,hash:()=>Kv,hex:()=>Bv,hostname:()=>Vv,httpUrl:()=>wv,iban:()=>Uv,instanceof:()=>Ey,int:()=>da,int32:()=>Hv,int64:()=>Xv,intersection:()=>Ip,invertCodec:()=>xy,ipv4:()=>Ov,ipv6:()=>Cv,json:()=>zy,jwt:()=>Fv,keyof:()=>iy,ksuid:()=>Ev,lazy:()=>Yp,literal:()=>hy,looseObject:()=>uy,looseRecord:()=>py,mac:()=>zv,map:()=>my,meta:()=>Ay,nan:()=>by,nanoid:()=>Sv,nativeEnum:()=>gy,never:()=>za,nonoptional:()=>Fp,null:()=>vp,nullable:()=>Nr,nullish:()=>yy,number:()=>pp,object:()=>ay,optional:()=>At,partialRecord:()=>dy,pipe:()=>pa,prefault:()=>Up,preprocess:()=>Cy,promise:()=>ky,readonly:()=>Gp,record:()=>Ap,refine:()=>em,set:()=>fy,strictObject:()=>sy,string:()=>Rr,stringFormat:()=>Zv,stringbool:()=>Oy,success:()=>_y,superRefine:()=>tm,symbol:()=>ey,templateLiteral:()=>wy,transform:()=>Ra,tuple:()=>Tp,uint32:()=>Jv,uint64:()=>Qv,ulid:()=>Tv,undefined:()=>ty,union:()=>En,unknown:()=>Tt,url:()=>xv,uuid:()=>yv,uuidv4:()=>_v,uuidv6:()=>bv,uuidv7:()=>$v,void:()=>ry,xid:()=>Av,xor:()=>cy});d();var ca={};De(ca,{endsWith:()=>mn,gt:()=>ze,gte:()=>ye,includes:()=>dn,length:()=>It,lowercase:()=>cn,lt:()=>Oe,lte:()=>ve,maxLength:()=>St,maxSize:()=>et,mime:()=>gn,minLength:()=>Be,minSize:()=>Ce,multipleOf:()=>Qe,negative:()=>ea,nonnegative:()=>na,nonpositive:()=>ta,normalize:()=>hn,overwrite:()=>Te,positive:()=>Qi,properties:()=>fn,property:()=>ra,regex:()=>un,size:()=>kt,slugify:()=>bn,startsWith:()=>pn,toLowerCase:()=>yn,toUpperCase:()=>_n,trim:()=>vn,uppercase:()=>ln});d();d();d();var fv=new WeakSet([Object.prototype,Error.prototype]);function la(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let i=r(this);return Object.defineProperty(this,t,{value:i,configurable:!0,writable:!0}),i},set(i){Object.defineProperty(this,t,{value:i,configurable:!0,writable:!0})}})}var gv=(e,t)=>{Js.init(e,t),e.name="ZodError";let r=Object.getPrototypeOf(e);fv.has(r)||(fv.add(r),la(r,"format",i=>n=>ar(i,n)),la(r,"flatten",i=>n=>ir(i,n)),la(r,"addIssue",i=>n=>{i.issues.push(n),i.message=JSON.stringify(i.issues,qt,2)}),la(r,"addIssues",i=>n=>{i.issues.push(...n),i.message=JSON.stringify(i.issues,qt,2)}),Object.defineProperty(r,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},LS=h("ZodError",gv),ge=h("ZodError",gv,void 0,{Parent:Error});var Yd=Xt(ge),Xd=Qt(ge),Qd=en(ge),ep=tn(ge),tp=Mo(ge),np=Uo(ge),rp=Fo(ge),op=Zo(ge),ip=Vo(ge),ap=Bo(ge),sp=Wo(ge),up=Ko(ge);function US(){X.localeError||H(ki())}function Et(){X.memoizer||H({memoizer:kr()})}var R=h("ZodType",(e,t)=>(US(),z.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(_.mergeDefs(t,{checks:[...t.checks??[],...e.map(r=>typeof r=="function"?{_zod:{check:r,def:{check:"custom"},onattach:[]}}:r)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return F(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(em(e,t))},superRefine(e,t){return this.check(tm(e,t))},overwrite(e){return this.check(Te(e))},optional(){return At(this)},exactOptional(){return Np(this)},nullable(){return Nr(this)},nullish(){return At(Nr(this))},nonoptional(e){return Fp(this,e)},array(){return Lr(this)},or(e){return En([this,e])},and(e){return Ip(this,e)},transform(e){return pa(this,Ra(e))},default(e){return Lp(this,e)},prefault(e){return Up(this,e)},catch(e){return Bp(this,e)},pipe(e){return pa(this,e)},readonly(){return Gp(this)},describe(e){let t=this.clone();return ee.add(t,{description:e}),t},meta(...e){if(e.length===0)return ee.get(this);let t=this.clone();return ee.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 _.hide(this,"~standard",{...ri(this),jsonSchema:{input:$n(this,"input"),output:$n(this,"output")}})},set"~standard"(e){_.own(this,"~standard",e)},parse:function e(t,r){return Yd(this,t,r,{callee:e})},parseAsync:async function e(t,r){return await Xd(this,t,r,{callee:e})},safeParse(e,t){return Qd(this,e,t)},async safeParseAsync(e,t){return ep(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){_.own(this,"spa",e)},validate(e,t){return sr(this,e,t)},validateAsync(e,t){return ur(this,e,t)},encode:function e(t,r){return tp(this,t,r,{callee:e})},decode:function e(t,r){return np(this,t,r,{callee:e})},encodeAsync:async function e(t,r){return await rp(this,t,r,{callee:e})},decodeAsync:async function e(t,r){return await op(this,t,r,{callee:e})},safeEncode(e,t){return ip(this,e,t)},safeDecode(e,t){return ap(this,e,t)},async safeEncodeAsync(e,t){return sp(this,e,t)},async safeDecodeAsync(e,t){return up(this,e,t)},toJSONSchema(e){return ld(this,{})(e)},get description(){return ee.get(this)?.description},get _def(){return this._zod.def}}),ma=h("_ZodString",(e,t)=>{bt.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>md(e,r,i,n)},_.derived({format:e=>Y(e).format??null,minLength:e=>Y(e).minimum??null,maxLength:e=>Y(e).maximum??null},{regex(...e){return this.check(un(...e))},includes(...e){return this.check(dn(...e))},startsWith(...e){return this.check(pn(...e))},endsWith(...e){return this.check(mn(...e))},min(...e){return this.check(Be(...e))},max(...e){return this.check(St(...e))},length(...e){return this.check(It(...e))},nonempty(...e){return this.check(Be(1,...e))},lowercase(e){return this.check(cn(e))},uppercase(e){return this.check(ln(e))},trim(){return this.check(vn())},normalize(...e){return this.check(hn(...e))},toLowerCase(){return this.check(yn())},toUpperCase(){return this.check(_n())},slugify(){return this.check(bn())}})),In=h("ZodString",(e,t)=>{bt.init(e,t),ma.init(e,t)},{email(e){return this.check(zi(fa,e))},url(e){return this.check(Pr(Dr,e))},jwt(e){return this.check(Xi(Ea,e))},emoji(e){return this.check(Li(ha,e))},guid(e){return this.check(Ci(ga,e))},uuid(e){return this.check(Ri(Re,e))},uuidv4(e){return this.check(Ni(Re,e))},uuidv6(e){return this.check(Di(Re,e))},uuidv7(e){return this.check(ji(Re,e))},nanoid(e){return this.check(Mi(va,e))},cuid(e){return this.check(Ui(ya,e))},cuid2(e){return this.check(Fi(_a,e))},ulid(e){return this.check(Zi(ba,e))},base64(e){return this.check(Hi(Pa,e))},base64url(e){return this.check(Ji(Ta,e))},xid(e){return this.check(Vi($a,e))},ksuid(e){return this.check(Bi(xa,e))},ipv4(e){return this.check(Wi(wa,e))},ipv6(e){return this.check(Ki(ka,e))},cidrv4(e){return this.check(qi(Sa,e))},cidrv6(e){return this.check(Gi(Ia,e))},e164(e){return this.check(Yi(Aa,e))},datetime(e){return this.check(Tr(ot,e))},date(e){return this.check(Ar(it,e))},time(e){return this.check(Er(at,e))},duration(e){return this.check(Or(st,e))}});function Rr(e){return Il(In,e)}var B=h("ZodStringFormat",(e,t)=>{Z.init(e,t),ma.init(e,t)}),ot=h("ZodISODateTime",(e,t)=>{hc.init(e,t),B.init(e,t)}),it=h("ZodISODate",(e,t)=>{vc.init(e,t),B.init(e,t)}),at=h("ZodISOTime",(e,t)=>{yc.init(e,t),B.init(e,t)}),st=h("ZodISODuration",(e,t)=>{_c.init(e,t),B.init(e,t)}),fa=h("ZodEmail",(e,t)=>{ic.init(e,t),B.init(e,t)});function hv(e){return zi(fa,e)}var ga=h("ZodGUID",(e,t)=>{rc.init(e,t),B.init(e,t)});function vv(e){return Ci(ga,e)}var Re=h("ZodUUID",(e,t)=>{oc.init(e,t),B.init(e,t)});function yv(e){return Ri(Re,e)}function _v(e){return Ni(Re,e)}function bv(e){return Di(Re,e)}function $v(e){return ji(Re,e)}var Dr=h("ZodURL",(e,t)=>{uc.init(e,t),B.init(e,t)});function xv(e){return Pr(Dr,e)}function wv(e){return Pr(Dr,{protocol:cr,hostname:_u,..._.normalizeParams(e)})}var ha=h("ZodEmoji",(e,t)=>{cc.init(e,t),B.init(e,t)});function kv(e){return Li(ha,e)}var va=h("ZodNanoID",(e,t)=>{lc.init(e,t),B.init(e,t)});function Sv(e){return Mi(va,e)}var ya=h("ZodCUID",(e,t)=>{dc.init(e,t),B.init(e,t)});function Iv(e){return Ui(ya,e)}var _a=h("ZodCUID2",(e,t)=>{pc.init(e,t),B.init(e,t)});function Pv(e){return Fi(_a,e)}var ba=h("ZodULID",(e,t)=>{mc.init(e,t),B.init(e,t)});function Tv(e){return Zi(ba,e)}var $a=h("ZodXID",(e,t)=>{fc.init(e,t),B.init(e,t)});function Av(e){return Vi($a,e)}var xa=h("ZodKSUID",(e,t)=>{gc.init(e,t),B.init(e,t)});function Ev(e){return Bi(xa,e)}var wa=h("ZodIPv4",(e,t)=>{bc.init(e,t),B.init(e,t)});function Ov(e){return Wi(wa,e)}var cp=h("ZodMAC",(e,t)=>{xc.init(e,t),B.init(e,t)});function zv(e){return Tl(cp,e)}var ka=h("ZodIPv6",(e,t)=>{$c.init(e,t),B.init(e,t)});function Cv(e){return Ki(ka,e)}var Sa=h("ZodCIDRv4",(e,t)=>{wc.init(e,t),B.init(e,t)});function Rv(e){return qi(Sa,e)}var Ia=h("ZodCIDRv6",(e,t)=>{kc.init(e,t),B.init(e,t)});function Nv(e){return Gi(Ia,e)}var Pa=h("ZodBase64",(e,t)=>{Sc.init(e,t),B.init(e,t)});function Dv(e){return Hi(Pa,e)}var Ta=h("ZodBase64URL",(e,t)=>{Ic.init(e,t),B.init(e,t)});function jv(e){return Ji(Ta,e)}var Aa=h("ZodE164",(e,t)=>{Pc.init(e,t),B.init(e,t)});function Lv(e){return Yi(Aa,e)}var lp=h("ZodCreditCard",(e,t)=>{Tc.init(e,t),B.init(e,t)});function Mv(e){return Al(lp,e)}var dp=h("ZodIBAN",(e,t)=>{Ac.init(e,t),B.init(e,t)});function Uv(e){return El(dp,e)}var Ea=h("ZodJWT",(e,t)=>{Ec.init(e,t),B.init(e,t)});function Fv(e){return Xi(Ea,e)}var Ot=h("ZodCustomStringFormat",(e,t)=>{Oc.init(e,t),B.init(e,t)});function Zv(e,t,r={}){return Pt(Ot,e,t,r)}function Vv(e){return Pt(Ot,"hostname",yu,e)}function Bv(e){return Pt(Ot,"hex",Cu,e)}function Wv(e){return Pt(Ot,"currency_code",$u,e)}function Kv(e,t){let r=t?.enc??"hex",i=`${e}_${r}`,n=xe[i];if(!n)throw new Error(`Unrecognized hash format: ${i}`);return Pt(Ot,i,n,t)}var Pn=h("ZodNumber",(e,t)=>{mi.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>fd(e,r,i,n),e.isFinite=!0},_.derived({minValue:e=>{let{minimum:t,exclusiveMinimum:r}=Y(e);return Math.max(t??Number.NEGATIVE_INFINITY,r??Number.NEGATIVE_INFINITY)},maxValue:e=>{let{maximum:t,exclusiveMaximum:r}=Y(e);return Math.min(t??Number.POSITIVE_INFINITY,r??Number.POSITIVE_INFINITY)},isInt:e=>{let{isInt:t,multipleOf:r}=Y(e);return!!t||!!r?.some(Number.isSafeInteger)},format:e=>Y(e).format??null},{gt(e,t){return this.check(ze(e,t))},gte(e,t){return this.check(ye(e,t))},min(e,t){return this.check(ye(e,t))},lt(e,t){return this.check(Oe(e,t))},lte(e,t){return this.check(ve(e,t))},max(e,t){return this.check(ve(e,t))},int(e){return this.check(da(e))},safe(e){return this.check(da(e))},positive(e){return this.check(ze(0,e))},nonnegative(e){return this.check(ye(0,e))},negative(e){return this.check(Oe(0,e))},nonpositive(e){return this.check(ve(0,e))},multipleOf(e,t){return this.check(Qe(e,t))},step(e,t){return this.check(Qe(e,t))},finite(){return this}}));function pp(e){return zl(Pn,e)}var zt=h("ZodNumberFormat",(e,t)=>{zc.init(e,t),Pn.init(e,t)});function da(e){return Rl(zt,e)}function qv(e){return Nl(zt,e)}function Gv(e){return Dl(zt,e)}function Hv(e){return jl(zt,e)}function Jv(e){return Ll(zt,e)}var Tn=h("ZodBoolean",(e,t)=>{yr.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>gd(e,r,i,n)});function mp(e){return Ml(Tn,e)}var An=h("ZodBigInt",(e,t)=>{fi.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>hd(e,r,i,n)},_.derived({minValue:e=>Y(e).minimum??null,maxValue:e=>Y(e).maximum??null,format:e=>Y(e).format??null},{gte(e,t){return this.check(ye(e,t))},min(e,t){return this.check(ye(e,t))},gt(e,t){return this.check(ze(e,t))},lt(e,t){return this.check(Oe(e,t))},lte(e,t){return this.check(ve(e,t))},max(e,t){return this.check(ve(e,t))},positive(e){return this.check(ze(BigInt(0),e))},negative(e){return this.check(Oe(BigInt(0),e))},nonpositive(e){return this.check(ve(BigInt(0),e))},nonnegative(e){return this.check(ye(BigInt(0),e))},multipleOf(e,t){return this.check(Qe(e,t))}}));function Yv(e){return Fl(An,e)}var Oa=h("ZodBigIntFormat",(e,t)=>{Cc.init(e,t),An.init(e,t)});function Xv(e){return Vl(Oa,e)}function Qv(e){return Bl(Oa,e)}var fp=h("ZodSymbol",(e,t)=>{Rc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>vd(e,r,i,n)});function ey(e){return Wl(fp,e)}var gp=h("ZodUndefined",(e,t)=>{Nc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>_d(e,r,i,n)});function ty(e){return Kl(gp,e)}var hp=h("ZodNull",(e,t)=>{Dc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>yd(e,r,i,n)});function vp(e){return ql(hp,e)}var yp=h("ZodAny",(e,t)=>{jc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>xd(e,r,i,n)});function ny(){return Gl(yp)}var _p=h("ZodUnknown",(e,t)=>{Lc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>wd(e,r,i,n)});function Tt(){return Hl(_p)}var bp=h("ZodNever",(e,t)=>{Mc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>$d(e,r,i,n)});function za(e){return Jl(bp,e)}var $p=h("ZodVoid",(e,t)=>{Uc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>bd(e,r,i,n)});function ry(e){return Yl($p,e)}var jr=h("ZodDate",(e,t)=>{Fc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>kd(e,r,i,n),e.min=(r,i)=>e.check(ye(r,i)),e.max=(r,i)=>e.check(ve(r,i))},_.derived({minDate:e=>{let{minimum:t}=Y(e);return t?new Date(t):null},maxDate:e=>{let{maximum:t}=Y(e);return t?new Date(t):null}},{}));function oy(e){return Xl(jr,e)}var xp=h("ZodArray",(e,t)=>{Et(),Vc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Dd(e,r,i,n),e.element=t.element},{min(e,t){return this.check(Be(e,t))},nonempty(e){return this.check(Be(1,e))},max(e,t){return this.check(St(e,t))},length(e,t){return this.check(It(e,t))},unwrap(){return this.element}});function Lr(e,t){return td(xp,e,t)}function iy(e){let t=e._zod.def.shape;return Ca(Object.keys(t))}var Mr=h("ZodObject",(e,t)=>{Et(),Bc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>jd(e,r,i,n),_.installLazyProp(e,"shape",r=>r._zod.def.shape,!1)},{keyof(){return Ca(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(_.mergeDefs(this._zod.def,{catchall:e}))},passthrough(){return this.clone(_.mergeDefs(this._zod.def,{catchall:Tt()}))},loose(){return this.clone(_.mergeDefs(this._zod.def,{catchall:Tt()}))},strict(){return this.clone(_.mergeDefs(this._zod.def,{catchall:za()}))},strip(){return this.clone(_.mergeDefs(this._zod.def,{catchall:void 0}))},extend(e){return _.extend(this,e)},safeExtend(e){return _.safeExtend(this,e)},merge(e){return _.merge(this,e)},pick(e){return _.pick(this,e)},omit(e){return _.omit(this,e)},partial(...e){return _.partial(Fr,this,e[0])},exactPartial(...e){return _.partial(Na,this,e[0],"exactPartial")},required(...e){return _.required(Da,this,e[0])}});function ay(e,t){let r={type:"object",shape:e??{},..._.normalizeParams(t)};return new Mr(r)}function sy(e,t){return new Mr({type:"object",shape:e,catchall:za(),..._.normalizeParams(t)})}function uy(e,t){return new Mr({type:"object",shape:e,catchall:Tt(),..._.normalizeParams(t)})}var Ur=h("ZodUnion",(e,t)=>{_r.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>ia(e,r,i,n),e.options=t.options});function En(e,t){return new Ur({type:"union",options:e,..._.normalizeParams(t)})}var wp=h("ZodXor",(e,t)=>{Ur.init(e,t),Wc.init(e,t),e._zod.processJSONSchema=(r,i,n)=>ia(e,r,i,n),e.options=t.options});function cy(e,t){return new wp({type:"union",options:e,inclusive:!1,..._.normalizeParams(t)})}var kp=h("ZodDiscriminatedUnion",(e,t)=>{Ur.init(e,t),qc.init(e,t)});function ly(e,t,r){return new kp({type:"union",options:t,discriminator:e,..._.normalizeParams(r)})}var Sp=h("ZodIntersection",(e,t)=>{Gc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ld(e,r,i,n)});function Ip(e,t){return new Sp({type:"intersection",left:e,right:t})}var Pp=h("ZodTuple",(e,t)=>{Et(),gi.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Md(e,r,i,n)},{rest(e){return this.clone({...this._zod.def,rest:e})},partial(){let e=this._zod.def;if(e.checks?.length)throw new Error(".partial() cannot be used on tuple schemas containing refinements");return this.clone({...e,items:e.items.map(t=>new Fr({type:"optional",innerType:t}))})}});function Tp(e,t,r){let i=t instanceof z,n=i?r:t,o=i?t:null;return new Pp({type:"tuple",items:e,rest:o,..._.normalizeParams(n)})}var kn=h("ZodRecord",(e,t)=>{Et(),Hc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ud(e,r,i,n),e.keyType=t.keyType,e.valueType=t.valueType});function Ap(e,t,r){return!t||!t._zod?new kn({type:"record",keyType:Rr(),valueType:e,..._.normalizeParams(t)}):new kn({type:"record",keyType:e,valueType:t,..._.normalizeParams(r)})}function dy(e,t,r){return new kn({type:"record",keyType:e,valueType:t,..._.normalizeParams(r),partial:!0})}function py(e,t,r){return new kn({type:"record",keyType:e,valueType:t,mode:"loose",..._.normalizeParams(r)})}var Ep=h("ZodMap",(e,t)=>{Et(),Jc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Rd(e,r,i,n),e.keyType=t.keyType,e.valueType=t.valueType,e.min=(...r)=>e.check(Ce(...r)),e.nonempty=r=>e.check(Ce(1,r)),e.max=(...r)=>e.check(et(...r)),e.size=(...r)=>e.check(kt(...r))});function my(e,t,r){return new Ep({type:"map",keyType:e,valueType:t,..._.normalizeParams(r)})}var Op=h("ZodSet",(e,t)=>{Et(),Yc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Nd(e,r,i,n),e.min=(...r)=>e.check(Ce(...r)),e.nonempty=r=>e.check(Ce(1,r)),e.max=(...r)=>e.check(et(...r)),e.size=(...r)=>e.check(kt(...r))});function fy(e,t){return new Op({type:"set",valueType:e,..._.normalizeParams(t)})}var Sn=h("ZodEnum",(e,t)=>{Xc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(i,n,o)=>Sd(e,i,n,o),e.enum=t.entries,e.options=[...e._zod.values];let r=new Set(Object.keys(t.entries));e.extract=(i,n)=>{let o={};for(let a of i)if(r.has(a))o[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new Sn({...t,checks:[],..._.normalizeParams(n),entries:o})},e.exclude=(i,n)=>{let o={...t.entries};for(let a of i)if(r.has(a))delete o[a];else throw new Error(`Key ${a} not found in enum`);return new Sn({...t,checks:[],..._.normalizeParams(n),entries:o})}});function Ca(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new Sn({type:"enum",entries:r,..._.normalizeParams(t)})}function gy(e,t){return new Sn({type:"enum",entries:e,..._.normalizeParams(t)})}var zp=h("ZodLiteral",(e,t)=>{Qc.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Id(e,r,i,n),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 hy(e,t){return new zp({type:"literal",values:Array.isArray(e)?e:[e],..._.normalizeParams(t)})}var Cp=h("ZodFile",(e,t)=>{el.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ad(e,r,i,n),e.min=(r,i)=>e.check(Ce(r,i)),e.max=(r,i)=>e.check(et(r,i)),e.mime=(r,i)=>e.check(gn(Array.isArray(r)?r:[r],i))});function vy(e){return nd(Cp,e)}var Rp=h("ZodTransform",(e,t)=>{Et(),tl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Cd(e,r,i,n),e._zod.parse=(r,i)=>{if(i.direction==="backward")throw new Ye(e.constructor.name);r.addIssue=o=>{if(typeof o=="string")r.issues.push(_.issue(o,r.value,t));else{let a=o;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),"input"in a||(a.input=r.value),a.inst??(a.inst=e),r.issues.push(_.issue(a))}};let n=t.transform(r.value,r);return n instanceof Promise?n.then(o=>(r.value=o,r)):(r.value=n,r)}});function Ra(e){return new Rp({type:"transform",transform:e})}var Fr=h("ZodOptional",(e,t)=>{hi.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>aa(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function At(e){return new Fr({type:"optional",innerType:e})}var Na=h("ZodExactOptional",(e,t)=>{nl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>aa(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Np(e){return new Na({type:"optional",innerType:e})}var Dp=h("ZodNullable",(e,t)=>{rl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Fd(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Nr(e){return new Dp({type:"nullable",innerType:e})}function yy(e){return At(Nr(e))}var jp=h("ZodDefault",(e,t)=>{ol.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Bd(e,r,i,n),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Lp(e,t){return new jp({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():_.shallowClone(t)}})}var Mp=h("ZodPrefault",(e,t)=>{il.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Wd(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Up(e,t){return new Mp({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():_.shallowClone(t)}})}var Da=h("ZodNonOptional",(e,t)=>{al.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Zd(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Fp(e,t){return new Da({type:"nonoptional",innerType:e,..._.normalizeParams(t)})}var Zp=h("ZodSuccess",(e,t)=>{sl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Ed(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function _y(e){return new Zp({type:"success",innerType:e})}var Vp=h("ZodCatch",(e,t)=>{ul.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Kd(e,r,i,n),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Bp(e,t){return new Vp({type:"catch",innerType:e,catchValue:typeof t=="function"?t:_.constantCatch(t)})}var Wp=h("ZodNaN",(e,t)=>{cl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Pd(e,r,i,n)});function by(e){return ed(Wp,e)}var Zr=h("ZodPipe",(e,t)=>{vi.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>qd(e,r,i,n),e.in=t.in,e.out=t.out});function pa(e,t){return new Zr({type:"pipe",in:e,out:t})}var Vr=h("ZodCodec",(e,t)=>{Zr.init(e,t),br.init(e,t)});function $y(e,t,r){return new Vr({type:"pipe",in:e,out:t,transform:r.decode,reverseTransform:r.encode})}function xy(e){let t=e._zod.def;return new Vr({type:"pipe",in:t.out,out:t.in,transform:t.reverseTransform,reverseTransform:t.transform})}var Kp=h("ZodPreprocess",(e,t)=>{Zr.init(e,t),ll.init(e,t)}),qp=h("ZodReadonly",(e,t)=>{dl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Gd(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function Gp(e){return new qp({type:"readonly",innerType:e})}var Hp=h("ZodTemplateLiteral",(e,t)=>{pl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Td(e,r,i,n)});function wy(e,t){return new Hp({type:"template_literal",parts:e,..._.normalizeParams(t)})}var Jp=h("ZodLazy",(e,t)=>{$r.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Jd(e,r,i,n),e.unwrap=()=>e._zod.def.getter()});function Yp(e){return new Jp({type:"lazy",getter:e})}var Xp=h("ZodPromise",(e,t)=>{fl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Hd(e,r,i,n),e.unwrap=()=>e._zod.def.innerType});function ky(e){return new Xp({type:"promise",innerType:e})}var Qp=h("ZodFunction",(e,t)=>{ml.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>zd(e,r,i,n)});function Sy(e){return new Qp({type:"function",input:Array.isArray(e?.input)?Tp(e?.input):e?.input??Lr(Tt()),output:e?.output??Tt()})}var Br=h("ZodCustom",(e,t)=>{gl.init(e,t),R.init(e,t),e._zod.processJSONSchema=(r,i,n)=>Od(e,r,i,n)});function Iy(e){let t=new W({check:"custom"});return t._zod.check=e,t}function Py(e,t){return rd(Br,e??(()=>!0),t)}function em(e,t={}){return od(Br,e,t)}function tm(e,t){return id(e,t)}var Ty=ad,Ay=sd,nm=h("ZodInstanceOf",(e,t)=>{Br.init(e,t)},{properties(e,t){return this.check(fn(e,t))}});function Ey(e,t={}){let r=new nm({type:"custom",check:"custom",fn:i=>i instanceof e,abort:!0,..._.normalizeParams(t)});return r._zod.bag.Class=e,r._zod.check=i=>{i.value instanceof e||i.issues.push({code:"invalid_type",expected:e.name,input:i.value,inst:r,path:[...r._zod.def.path??[]]})},r}var Oy=(...e)=>ud({Codec:Vr,Boolean:Tn,String:In},...e);function zy(e){let t=Yp(()=>En([Rr(e),pp(),mp(),vp(),Lr(t),Ap(Rr(),t)]));return t}function Cy(e,t){return new Kp({type:"pipe",in:Ra(e),out:t})}d();var FS={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"};function ZS(e){H({customError:e})}function VS(){return H().customError}var rm;rm||(rm={});d();var Wr={};De(Wr,{ZodISODate:()=>it,ZodISODateTime:()=>ot,ZodISODuration:()=>st,ZodISOTime:()=>at,date:()=>WS,datetime:()=>BS,duration:()=>qS,time:()=>KS});d();function BS(e){return Tr(ot,e)}function WS(e){return Ar(it,e)}function KS(e){return Er(at,e)}function qS(e){return Or(st,e)}var T={...On,...ca,iso:Wr},GS=new Set(["$schema","$ref","$defs","definitions","$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor","type","enum","const","anyOf","oneOf","allOf","not","properties","required","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","items","prefixItems","additionalItems","minItems","maxItems","uniqueItems","contains","minContains","maxContains","minLength","maxLength","pattern","format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf","description","default","contentEncoding","contentMediaType","contentSchema","unevaluatedItems","unevaluatedProperties","if","then","else","dependentSchemas","dependentRequired","nullable","readOnly"]);function HS(e,t){let r=e.$schema;return r==="https://json-schema.org/draft/2020-12/schema"?"draft-2020-12":r==="http://json-schema.org/draft-07/schema#"?"draft-7":r==="http://json-schema.org/draft-04/schema#"?"draft-4":t??"draft-2020-12"}function Ry(e,t){return e.map((r,i)=>i<t?r:r.optional())}function JS(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function YS(e,t){if(!e.startsWith("#"))throw new Error("External $ref is not supported, only local refs (#/...) are allowed");let r=e.slice(1).split("/").filter(Boolean);if(r.length===0)return t.rootSchema;let i=t.version==="draft-2020-12"?"$defs":"definitions";if(r[0]===i){let n=r[1]===void 0?void 0:JS(r[1]);if(!n||!t.defs[n])throw new Error(`Reference not found: ${e}`);return t.defs[n]}throw new Error(`Reference not found: ${e}`)}function XS(e,t){return T.transform(i=>i).check(i=>{let n=i.value;if(typeof n!="object"||n===null||Array.isArray(n))return;let o=Object.getOwnPropertyNames(n);if(t.minProperties!==void 0&&o.length<t.minProperties&&i.issues.push({origin:"object",code:"too_small",minimum:t.minProperties,inclusive:!0,message:`Too small: expected object to have >=${t.minProperties} properties`,input:n,inst:e,continue:!0}),t.maxProperties!==void 0&&o.length>t.maxProperties&&i.issues.push({origin:"object",code:"too_big",maximum:t.maxProperties,inclusive:!0,message:`Too big: expected object to have <=${t.maxProperties} properties`,input:n,inst:e,continue:!0}),t.keySchema)for(let a of o){let s=t.keySchema.safeParse(a);s.success||i.issues.push({code:"invalid_key",origin:"record",issues:s.error.issues,input:a,path:[a],continue:!0})}}).pipe(e)}function om(e,t){if(e===null)return"z";let r=typeof e;if(r!=="object"){if(r==="number"&&Number.isNaN(e))return null;let i=String(e);return`${r[0]}${i.length}:${i}`}if(t.has(e))return null;t.add(e);try{if(Array.isArray(e)){let o=[];for(let a of e){let s=om(a,t);if(s===null)return null;o.push(s)}return`a${o.length}:[${o.join(",")}]`}let i=Object.keys(e).sort(),n=[];for(let o of i){let a=om(e[o],t);if(a===null)return null;n.push(`${o.length}:${o}=${a}`)}return`o${n.length}:{${n.join(",")}}`}finally{t.delete(e)}}var QS=new Set(["items","prefixItems","additionalItems","additionalProperties","contains","propertyNames","not","if","then","else","allOf","anyOf","oneOf","unevaluatedItems","unevaluatedProperties","contentSchema"]),eI=new Set(["properties","patternProperties","dependentSchemas","dependencies","$defs","definitions"]);function Kr(e){return typeof e!="object"||e===null?!1:Array.isArray(e)?e.some(Kr):typeof e.$ref=="string"?!0:Object.entries(e).some(([t,r])=>QS.has(t)?Kr(r):!eI.has(t)||typeof r!="object"||r===null?!1:Object.values(r).some(Kr))}function Ny(e){return e===1?"element":"elements"}function tI(e,t){return T.transform(i=>i).check(i=>{let n=i.value;if(Array.isArray(n)){if(t.uniqueItems===!0){let o=new Map;for(let a=0;a<n.length;a++){let s=om(n[a],new Set);if(s===null)continue;let u=o.get(s);if(u===void 0){o.set(s,a);continue}i.issues.push({code:"custom",message:`Array items must be unique: element at index ${a} duplicates the one at index ${u}`,input:n,path:[a],continue:!0})}}if(t.containsSchema){let o=t.minContains??1,a=t.maxContains!==void 0?t.maxContains+1:Number.POSITIVE_INFINITY,s=0;for(let u of n)if(t.containsSchema.safeParse(u).success&&++s>=a)break;s<o&&i.issues.push({code:"custom",message:`Array must contain at least ${o} matching ${Ny(o)}; found ${s}`,input:n,continue:!0}),t.maxContains!==void 0&&s>t.maxContains&&i.issues.push({code:"custom",message:`Array must contain at most ${t.maxContains} matching ${Ny(t.maxContains)}`,input:n,continue:!0})}}}).pipe(e)}function Dy(e,t){if(e!==!1)return e===void 0||e===!0?T.any():ce(e,t)}var nI=/^(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|[+-](?:[01]\d|2[0-3]):[0-5]\d)$/;function jy(e,t){if(e.not!==void 0){if(typeof e.not=="object"&&Object.keys(e.not).length===0)return T.never();throw new Error("not is not supported in Zod (except { not: {} } for never)")}if(e.unevaluatedItems!==void 0)throw new Error("unevaluatedItems is not supported");if(e.unevaluatedProperties!==void 0)throw new Error("unevaluatedProperties is not supported");if(e.if!==void 0||e.then!==void 0||e.else!==void 0)throw new Error("Conditional schemas (if/then/else) are not supported");if(e.dependentSchemas!==void 0||e.dependentRequired!==void 0)throw new Error("dependentSchemas and dependentRequired are not supported");if(e.$ref){let n=e.$ref;if(t.refs.has(n))return t.refs.get(n);if(t.processing.has(n))return T.lazy(()=>{if(!t.refs.has(n))throw new Error(`Circular reference not resolved: ${n}`);return t.refs.get(n)});t.processing.add(n);let o=YS(n,t),a=ce(o,t);return t.refs.set(n,a),t.processing.delete(n),a}if(e.enum!==void 0){let n=e.enum;if(t.version==="openapi-3.0"&&e.nullable===!0&&n.length===1&&n[0]===null)return T.null();if(n.length===0)return T.never();if(n.length===1)return T.literal(n[0]);if(n.every(a=>typeof a=="string"))return T.enum(n);let o=n.map(a=>T.literal(a));return o.length<2?o[0]:T.union([o[0],o[1],...o.slice(2)])}if(e.const!==void 0)return T.literal(e.const);let r=e.type;if(Array.isArray(r)){let n=r.map(o=>{let a={...e,type:o};return jy(a,t)});return n.length===0?T.never():n.length===1?n[0]:T.union(n)}if(!r)return T.any();let i;switch(r){case"string":{let n=T.string();if(e.format){let o=e.format;o==="email"?n=n.check(T.email()):o==="uri"||o==="uri-reference"?n=n.check(T.url()):o==="uuid"||o==="guid"?n=n.check(T.uuid()):o==="date-time"?n=n.check(T.iso.datetime({offset:!0})):o==="date"?n=n.check(T.iso.date()):o==="time"?n=n.check(T.regex(nI)):o==="duration"?n=n.check(T.iso.duration()):o==="hostname"?n=n.check(T.hostname()):o==="ipv4"?n=n.check(T.ipv4()):o==="ipv6"?n=n.check(T.ipv6()):o==="mac"?n=n.check(T.mac()):o==="cidr"?n=n.check(T.cidrv4()):o==="cidr-v6"?n=n.check(T.cidrv6()):o==="base64"?n=n.check(T.base64()):o==="base64url"?n=n.check(T.base64url()):o==="e164"?n=n.check(T.e164()):o==="credit_card"?n=n.check(T.creditCard()):o==="iban"?n=n.check(T.iban()):o==="jwt"?n=n.check(T.jwt()):o==="emoji"?n=n.check(T.emoji()):o==="nanoid"?n=n.check(T.nanoid()):o==="cuid"?n=n.check(T.cuid()):o==="cuid2"?n=n.check(T.cuid2()):o==="ulid"?n=n.check(T.ulid()):o==="xid"?n=n.check(T.xid()):o==="ksuid"&&(n=n.check(T.ksuid()))}typeof e.minLength=="number"&&(n=n.min(e.minLength)),typeof e.maxLength=="number"&&(n=n.max(e.maxLength)),e.pattern&&(n=n.regex(new RegExp(e.pattern))),i=n;break}case"number":case"integer":{let n=r==="integer"?T.number().int():T.number();typeof e.minimum=="number"&&e.exclusiveMinimum!==!0&&(n=n.min(e.minimum)),typeof e.maximum=="number"&&e.exclusiveMaximum!==!0&&(n=n.max(e.maximum)),typeof e.exclusiveMinimum=="number"?n=n.gt(e.exclusiveMinimum):e.exclusiveMinimum===!0&&typeof e.minimum=="number"&&(n=n.gt(e.minimum)),typeof e.exclusiveMaximum=="number"?n=n.lt(e.exclusiveMaximum):e.exclusiveMaximum===!0&&typeof e.maximum=="number"&&(n=n.lt(e.maximum)),typeof e.multipleOf=="number"&&(n=n.multipleOf(e.multipleOf)),i=n;break}case"boolean":{i=T.boolean();break}case"null":{i=T.null();break}case"object":{let n={},o=e.properties||{},a=new Set(e.required||[]),s=typeof e.additionalProperties=="object"?ce(e.additionalProperties,t):void 0;for(let[p,m]of Object.entries(o)){let f=ce(m,t);Q(n,p,a.has(p)?f:f.optional())}if(e.patternProperties){let p=e.patternProperties,m=Object.keys(p),f=[];for(let $ of m){let k=ce(p[$],t),I=T.string().regex(new RegExp($));f.push(T.looseRecord(I,k))}let y=[];if(Object.keys(n).length>0&&y.push(T.object(n).passthrough()),y.push(...f),y.length===0)i=T.object({}).passthrough();else if(y.length===1)i=y[0];else{let $=T.intersection(y[0],y[1]);for(let k=2;k<y.length;k++)$=T.intersection($,y[k]);i=$}if(e.additionalProperties===!1){let $=Object.keys(n),k=m.map(S=>new RegExp(S)),I=i;i=i.check(S=>{if(!be(S.value))return;let A=[];for(let D of Object.keys(S.value))$.includes(D)||k.some(U=>U.test(D))||A.push(D);A.length&&S.issues.push({code:"unrecognized_keys",keys:A,input:S.value,inst:I})})}}else{let p=T.object(n);e.additionalProperties===!1?i=p.strict():s?i=p.catchall(s):i=p.passthrough()}let u=e.propertyNames!==void 0&&e.propertyNames!==!0,c=typeof e.minProperties=="number"?e.minProperties:void 0,l=typeof e.maxProperties=="number"?e.maxProperties:void 0;if(u||c!==void 0||l!==void 0){let p;if(u){let m=typeof e.propertyNames=="object"&&e.propertyNames.type===void 0?{type:"string",...e.propertyNames}:e.propertyNames;p=ce(m,t)}i=XS(i,{keySchema:p,minProperties:c,maxProperties:l})}break}case"array":{let n=e.prefixItems,o=e.items;if(n&&Array.isArray(n)){let a=typeof e.minItems=="number"?e.minItems:0,s=n.map(p=>ce(p,t)),u=Ry(s,a),c=Array.isArray(o)?void 0:Dy(o,t),l=T.tuple(u);i=c?l.rest(c):l,typeof e.minItems=="number"&&(i=i.check(T.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(T.maxLength(e.maxItems)))}else if(Array.isArray(o)){let a=typeof e.minItems=="number"?e.minItems:0,s=o.map(p=>ce(p,t)),u=Ry(s,a),c=Dy(e.additionalItems,t),l=T.tuple(u);i=c?l.rest(c):l,typeof e.minItems=="number"&&(i=i.check(T.minLength(e.minItems))),typeof e.maxItems=="number"&&(i=i.check(T.maxLength(e.maxItems)))}else if(o!==void 0){let a=ce(o,t),s=T.array(a);typeof e.minItems=="number"&&(s=s.min(e.minItems)),typeof e.maxItems=="number"&&(s=s.max(e.maxItems)),i=s}else i=T.array(T.any());(e.uniqueItems===!0||e.contains!==void 0)&&(i=tI(i,{uniqueItems:e.uniqueItems===!0,containsSchema:e.contains!==void 0?ce(e.contains,t):void 0,minContains:typeof e.minContains=="number"?e.minContains:void 0,maxContains:typeof e.maxContains=="number"?e.maxContains:void 0}));break}default:throw new Error(`Unsupported type: ${r}`)}return i}function ce(e,t){if(typeof e=="boolean")return e?T.any():T.never();let r=jy(e,t),i=e.type||e.enum!==void 0||e.const!==void 0;if(e.anyOf&&Array.isArray(e.anyOf)){let s=e.anyOf.map(c=>ce(c,t)),u=T.union(s);r=i?T.intersection(r,u):u}if(e.oneOf&&Array.isArray(e.oneOf)){let s=e.oneOf.map(c=>ce(c,t)),u=T.xor(s);r=i?T.intersection(r,u):u}if(e.allOf&&Array.isArray(e.allOf))if(e.allOf.length===0)r=i?r:T.any();else{let s=i?r:ce(e.allOf[0],t),u=i?0:1;for(let c=u;c<e.allOf.length;c++)s=T.intersection(s,ce(e.allOf[c],t));r=s}e.nullable===!0&&t.version==="openapi-3.0"&&(r=T.nullable(r)),e.readOnly===!0&&(r=T.readonly(r)),e.default!==void 0&&(r=r.default(e.default));let n={},o=["$id","id","$comment","$anchor","$vocabulary","$dynamicRef","$dynamicAnchor"];for(let s of o)s in e&&(n[s]=e[s]);let a=["contentEncoding","contentMediaType","contentSchema"];for(let s of a)s in e&&(n[s]=e[s]);if(e.type==="object"&&e.$ref===void 0){e.propertyNames!==void 0&&!Kr(e.propertyNames)&&(n.propertyNames=e.propertyNames);for(let s of["minProperties","maxProperties"])e[s]!==void 0&&(n[s]=e[s])}if(e.type==="array"&&e.$ref===void 0){e.contains!==void 0&&!Kr(e.contains)&&(n.contains=e.contains);for(let s of["uniqueItems","minContains","maxContains"])e[s]!==void 0&&(n[s]=e[s])}for(let s of Object.keys(e))GS.has(s)||Q(n,s,e[s]);return Object.keys(n).length>0&&t.registry.add(r,n),e.description&&(r=r.describe(e.description)),r}function Ly(e,t){if(typeof e=="boolean")return e?T.any():T.never();let r;try{r=JSON.parse(JSON.stringify(e))}catch{throw new Error("fromJSONSchema input is not valid JSON (possibly cyclic); use $defs/$ref for recursive schemas")}let i=HS(r,t?.defaultTarget),n=r.$defs||r.definitions||{},o={version:i,defs:n,refs:new Map,processing:new Set,rootSchema:r,registry:t?.registry??ee};return ce(r,o)}d();d();var My=Symbol("z.visit/resolving");function qr(e,t){let r=typeof t=="function"?t:(a,s)=>{let u=t[a._zod.def.type];return u?u(a,s):a},i=new Map;function n(a){let s=i.get(a);if(s===My)return new $r({type:"lazy",getter:()=>i.get(a)});if(s!==void 0)return s;i.set(a,My);let u=o(a),c=r(u,u!==a);return i.set(a,c),c}function o(a){let s=a._zod.def,u=s.type;switch(u){case"object":{let c=s.shape,l=Object.keys(c),p=!1,m={};for(let y of l){let $=n(c[y]);$!==c[y]&&(p=!0),m[y]=$}let f=s.catchall;return s.catchall&&(f=n(s.catchall),f!==s.catchall&&(p=!0)),p?F(a,{...s,shape:m,catchall:f}):a}case"array":{let c=n(s.element);return c===s.element?a:F(a,{...s,element:c})}case"tuple":{let c=s.items,l=!1,p=[];for(let f of c){let y=n(f);y!==f&&(l=!0),p.push(y)}let m=s.rest;return s.rest&&(m=n(s.rest),m!==s.rest&&(l=!0)),l?F(a,{...s,items:p,rest:m}):a}case"record":case"map":{let c=n(s.keyType),l=n(s.valueType);return c===s.keyType&&l===s.valueType?a:F(a,{...s,keyType:c,valueType:l})}case"set":{let c=n(s.valueType);return c===s.valueType?a:F(a,{...s,valueType:c})}case"union":{let c=s.options,l=!1,p=[];for(let m of c){let f=n(m);f!==m&&(l=!0),p.push(f)}return l?F(a,{...s,options:p}):a}case"intersection":{let c=n(s.left),l=n(s.right);return c===s.left&&l===s.right?a:F(a,{...s,left:c,right:l})}case"optional":case"nullable":case"default":case"prefault":case"catch":case"readonly":case"nonoptional":case"promise":case"success":{let c=n(s.innerType);return c===s.innerType?a:F(a,{...s,innerType:c})}case"pipe":{let c=n(s.in),l=n(s.out);return c===s.in&&l===s.out?a:F(a,{...s,in:c,out:l})}case"function":{let c=n(s.input),l=n(s.output);return c===s.input&&l===s.output?a:F(a,{...s,input:c,output:l})}case"lazy":{let c=s.getter,{_cachedInner:l,...p}=s;return F(a,{...p,getter:()=>n(c())})}case"template_literal":case"string":case"number":case"int":case"boolean":case"bigint":case"symbol":case"undefined":case"null":case"void":case"never":case"any":case"unknown":case"date":case"nan":case"enum":case"literal":case"file":case"transform":case"custom":return a;default:return a}}return n(e)}function Uy(e){return qr(e,{object:t=>t.partial(),union:t=>{let r=t._zod.def;return r.discriminator===void 0?t:En(r.options)}})}d();function rI(e,t){if(!t?.length)return e;let r=e._zod.def;return F(e,Ie(r,{checks:[...r.checks??[],...t]}),{parent:!0})}function Fy(e){return rI(e.out,e.checks)}function oI(e){return e.in._zod.traits.has("$ZodTransform")?Fy(e):e.in}function Zy(e){return qr(e,{pipe:t=>oI(t._zod.def),default:(t,r)=>r?At(t._zod.def.innerType):t,catch:(t,r)=>r?t._zod.def.innerType:t})}function Vy(e){return qr(e,{pipe:t=>Fy(t._zod.def),prefault:(t,r)=>r?t._zod.def.innerType:t})}var im={};De(im,{bigint:()=>uI,boolean:()=>sI,date:()=>cI,number:()=>aI,string:()=>iI});d();function iI(e){return Pl(In,e)}function aI(e){return Cl(Pn,e)}function sI(e){return Ul(Tn,e)}function uI(e){return Zl(An,e)}function cI(e){return Ql(jr,e)}function Ae(){return K(e=>e)}var lI=P.string().optional().transform(e=>e||void 0),dI=64,pI=8,mI=1024,am=P.string().max(mI).optional().transform(e=>e||void 0);var QN=P.array(P.string().max(dI)).max(pI).optional(),fI=P.object({cursor:am}),eD=P.object({query:P.string().default(""),cursor:am.transform(e=>e??null)}),gI=P.object({query:P.string().default("").transform(e=>e.trim().slice(0,48)),kind:lI,cursor:am}),Wy=j.route({method:"GET",path:"/mentions"}).input(gI).output(K()),tD=j.route({method:"GET",path:"/usage"}).output(K());var aD="/api/auth";var sD="terminal";var uD="/mcp";var hI={config:j.route({method:"GET",path:"/api/auth-config"}).output(K())};d();d();d();d();var Gr=class{maxArrayIndex;constructor(t={}){this.maxArrayIndex=t.maxBracketNotationArrayIndex??9999}serialize(t,r=[],i=[]){if(Array.isArray(t))t.forEach((n,o)=>{this.serialize(n,[...r,o],i)});else if(_e(t))for(let n in t)this.serialize(t[n],[...r,n],i);else i.push([this.stringifyPath(r),t]);return i}deserialize(t){if(t.length===0)return{};let r=new WeakSet,i={value:[]};for(let[n,o]of t){let a=this.parsePath(n),s=i,u="value";a.forEach((c,l)=>{!Array.isArray(s[u])&&!_e(s[u])&&(s[u]=[]),l!==a.length-1?Array.isArray(s[u])&&!Ky(c,this.maxArrayIndex)&&(r.has(s[u])?(r.delete(s[u]),s[u]=qy(s[u])):s[u]=sm(s[u])):Array.isArray(s[u])&&(c===""?s[u].length&&!r.has(s[u])&&(s[u]=sm(s[u])):r.has(s[u])?(r.delete(s[u]),s[u]=qy(s[u])):Ky(c,this.maxArrayIndex)||(s[u]=sm(s[u]))),s=s[u],u=c}),Array.isArray(s)&&u===""?(r.add(s),s.push(o)):u in s?Array.isArray(s[u])?s[u].push(o):s[u]=[s[u],o]:s[u]=o}return i.value}stringifyPath(t){return t.map(r=>r.toString().replace(/[\\[\]]/g,i=>{switch(i){case"\\":return"\\\\";case"[":return"\\[";case"]":return"\\]";default:return i}})).reduce((r,i,n)=>n===0?i:`${r}[${i}]`,"")}parsePath(t){let r=[],i=!1,n="",o=0;for(let a=0;a<t.length;a++){let s=t[a],u=t[a+1];i&&s==="]"&&(u===void 0||u==="[")&&o%2===0?(u===void 0&&(i=!1),r.push(n),n="",a++):r.length===0&&s==="["&&o%2===0?(i=!0,r.push(n),n=""):s==="\\"?o++:(n+="\\".repeat(o/2)+s,o=0)}return i||r.length===0?[t]:r}};function Ky(e,t){return/^0$|^[1-9]\d*$/.test(e)&&Number(e)<=t}function sm(e){let t=new $s;return e.forEach((r,i)=>{t[i]=r}),t}function qy(e){let t=new $s;return t[""]=e.length===1?e[0]:e,t}d();var Hr=class{customSerializers;constructor(t={}){this.customSerializers=t.customJsonSerializers??[]}serialize(t,r={value:!1}){for(let i of this.customSerializers)if(i.condition(t))return this.serialize(i.serialize(t),r);if(t instanceof Blob)return r.value=!0,[t,r.value];if(t instanceof Set)return this.serialize(Array.from(t),r);if(t instanceof Map)return this.serialize(Array.from(t.entries()),r);if(Array.isArray(t))return[t.map(n=>n===void 0?null:this.serialize(n,r)[0]),r.value];if(_e(t)){let i={};for(let n in t)n==="toJSON"&&typeof t[n]=="function"||(i[n]=this.serialize(t[n],r)[0]);return[i,r.value]}return typeof t=="bigint"||t instanceof RegExp||t instanceof URL?[t.toString(),r.value]:t instanceof Date?[Number.isNaN(t.getTime())?null:t.toISOString(),r.value]:Number.isNaN(t)?[null,r.value]:[t,r.value]}};function ja(e){return`/${e.replace(/\/{2,}/g,"/").replace(/^\/|\/$/g,"")}`}function um(e){return e?ja(e).match(/\/\{[^}]+\}/g)?.map(t=>({raw:t,name:t.match(/\{\+?([^}]+)\}/)[1]})):void 0}var Jr=class{constructor(t,r,i){this.contract=t,this.serializer=r,this.baseUrl=i.url,this.headers=i.headers??{},this.customErrorResponseBodyDecoder=i.customErrorResponseBodyDecoder}baseUrl;headers;customErrorResponseBodyDecoder;async encode(t,r,i){let n=Os(await So(this.headers,i,t,r));i.lastEventId!==void 0&&(n=Ps(n,{"last-event-id":i.lastEventId}));let o=await So(this.baseUrl,i,t,r),a=bs(this.contract,t);if(!ft(a))throw new Error(`[StandardOpenapiLinkCodec] expect a contract procedure at ${t.join(".")}`);return Gn("defaultInputStructure",a["~orpc"].route.inputStructure)==="compact"?this.#e(a,t,r,i,o,n):this.#t(a,t,r,i,o,n)}#e(t,r,i,n,o,a){let s=ja(t["~orpc"].route.path??Oo(r)),u=i,c=um(s);if(c?.length){if(!_e(i))throw new TypeError(`[StandardOpenapiLinkCodec] Invalid input shape for "compact" structure when has dynamic params at ${r.join(".")}.`);let m={...i};for(let f of c){let y=i[f.name];s=s.replace(f.raw,`/${encodeURIComponent(`${this.serializer.serialize(y)}`)}`),delete m[f.name]}u=Object.keys(m).length?m:void 0}let l=Gn("defaultMethod",t["~orpc"].route.method),p=new URL(o);if(p.pathname=`${p.pathname.replace(/\/$/,"")}${s}`,l==="GET"){let m=this.serializer.serialize(u,{outputFormat:"URLSearchParams"});for(let[f,y]of m)p.searchParams.append(f,y);return{url:p,method:l,headers:a,body:void 0,signal:n.signal}}return{url:p,method:l,headers:a,body:this.serializer.serialize(u),signal:n.signal}}#t(t,r,i,n,o,a){let s=ja(t["~orpc"].route.path??Oo(r)),u=um(s);if(!_e(i)&&i!==void 0)throw new TypeError(`[StandardOpenapiLinkCodec] Invalid input shape for "detailed" structure at ${r.join(".")}.`);if(u?.length){if(!_e(i?.params))throw new TypeError(`[StandardOpenapiLinkCodec] Invalid input.params shape for "detailed" structure when has dynamic params at ${r.join(".")}.`);for(let m of u){let f=i.params[m.name];s=s.replace(m.raw,`/${encodeURIComponent(`${this.serializer.serialize(f)}`)}`)}}let c=a;if(i?.headers!==void 0){if(!_e(i.headers))throw new TypeError(`[StandardOpenapiLinkCodec] Invalid input.headers shape for "detailed" structure at ${r.join(".")}.`);c=Ps(i.headers,a)}let l=Gn("defaultMethod",t["~orpc"].route.method),p=new URL(o);if(p.pathname=`${p.pathname.replace(/\/$/,"")}${s}`,i?.query!==void 0){let m=this.serializer.serialize(i.query,{outputFormat:"URLSearchParams"});for(let[f,y]of m)p.searchParams.append(f,y)}return l==="GET"?{url:p,method:l,headers:c,body:void 0,signal:n.signal}:{url:p,method:l,headers:c,body:this.serializer.serialize(i?.body),signal:n.signal}}async decode(t,r,i){let n=!Me(t.status),o=await(async()=>{let u=!1;try{let c=await t.body();return u=!0,this.serializer.deserialize(c)}catch(c){throw u?new Error("Invalid OpenAPI response format.",{cause:c}):new Error("Cannot parse response body, please check the response body and content-type.",{cause:c})}})();if(!n){let u=this.customErrorResponseBodyDecoder?.(o,t);throw u??(Wn(o)?Kn(o):new Se(zs(t.status),{status:t.status,data:{...t,body:o}}))}let a=bs(this.contract,i);if(!ft(a))throw new Error(`[StandardOpenapiLinkCodec] expect a contract procedure at ${i.join(".")}`);return Gn("defaultOutputStructure",a["~orpc"].route.outputStructure)==="compact"?o:{status:t.status,headers:t.headers,body:o}}},Yr=class{constructor(t,r){this.jsonSerializer=t,this.bracketNotation=r}serialize(t,r={}){return Le(t)&&!r.outputFormat?Ao(t,{value:async i=>this.#e(i,{outputFormat:"plain"}),error:async i=>new Ue({data:this.#e(Po(i).toJSON(),{outputFormat:"plain"}),cause:i})}):this.#e(t,r)}#e(t,r){let[i,n]=this.jsonSerializer.serialize(t);if(r.outputFormat==="plain")return i;if(r.outputFormat==="URLSearchParams"){let a=new URLSearchParams;for(let[s,u]of this.bracketNotation.serialize(i))(typeof u=="string"||typeof u=="number"||typeof u=="boolean")&&a.append(s,u.toString());return a}if(i instanceof Blob||i===void 0||!n)return i;let o=new FormData;for(let[a,s]of this.bracketNotation.serialize(i))typeof s=="string"||typeof s=="number"||typeof s=="boolean"?o.append(a,s.toString()):s instanceof Blob&&o.append(a,s);return o}deserialize(t){return t instanceof URLSearchParams||t instanceof FormData?this.bracketNotation.deserialize(Array.from(t.entries())):Le(t)?Ao(t,{value:async r=>r,error:async r=>r instanceof Ue&&Wn(r.data)?Kn(r.data,{cause:r}):r}):t}};var vI="https://contract.invalid",yI=4294967294,_I=e=>e===null||typeof e!="object",cm=class extends Gr{serialize(t,r=[],i=[]){let[n,...o]=r,a=Array.isArray(t)?t:null;if(n!==void 0&&o.length===0&&a?.every(_I)){for(let s of a)i.push([String(n),s]);return i}return super.serialize(t,r,i)}};function Gy(e,t=""){let r=new Yr(new Hr,new cm({maxBracketNotationArrayIndex:yI}));return new Jr(e,r,{url:`${vI}${t}`})}function Hy(e){let t=Zf(e.headers),r=Ff(e.body,t);return{path:`${e.url.pathname.replace(/(.)\/$/,"$1")}${e.url.search}`,init:{method:e.method,headers:t,body:r,signal:e.signal}}}function Ne(e,t,r=""){let i=new Bt(Gy(t,r),{async call(n){let{path:o,init:a}=Hy(n),s=await e.request(o,a);if(!s.ok)throw await Ke(s);return Vf(s)}},{});return kI(Ts(i),t,r)}var bI=(e,t)=>Ln(t)?Object.fromEntries(Object.keys(t).sort().map(r=>[r,t[r]])):t,$I=(e,t,r)=>`${e}|${t.join(".")}|${JSON.stringify(r??null,bI)}`;function xI(e){return ft(e)?e["~orpc"].route.method==="GET":null}function wI(e,t,r,i){return t?(...n)=>is($I(r,i,n[0]),async()=>e(...n)):(...n)=>(Dn(),as(i.length>1?`${r}|${i[0]}.`:`${r}|`),e(...n))}function kI(e,t,r){let i=(n,o,a)=>new Proxy(n,{get(s,u){let c=Reflect.get(s,u),l=ne(o,String(u));if(!Ln(l))return c;let p=[...a,String(u)],m=xI(l);return m===null?i(Object(c),l,p):wI((...y)=>Reflect.apply(Object(c),s,y),m,r,p)}});return i(e,t,[])}function Jy(e){return{query:e.query||void 0,kind:e.kind||void 0,cursor:e.cursor||void 0}}d();d();var zn=le(oe(),1),HD=(0,zn.createContext)(null);d();d();var PI={read:j.route({method:"GET",path:ut}).output(K()),give:j.route({method:"PUT",path:ut}).output(K()),withdraw:j.route({method:"DELETE",path:ut}).output(K())},TI={list:j.route({method:"GET",path:Em}).input(P.object({query:P.string().optional(),cursor:P.string().optional()})).output(K())},Yy=P.object({id:P.string()}),AI=P.object({instruction:P.string().optional(),photos:P.array(P.string()).optional(),files:P.array(P.string()).optional(),attachments:P.array(P.string()).optional(),pointing:P.record(P.string(),P.unknown()).optional(),after:P.number().optional(),runId:P.string().optional()});function lm(){return{applyProposal:j.route({method:"POST",path:"/proposals/{id}/apply"}).input(Yy).output(Ae()),discardProposal:j.route({method:"POST",path:"/proposals/{id}/discard"}).input(Yy).output(Ae()),thread:j.route({method:"GET",path:"/thread"}).input(P.object({before:P.string().optional()})).output(Ae()),runs:j.route({method:"GET",path:"/runs"}).output(Ae()),mentions:Wy,clearRuns:j.route({method:"DELETE",path:"/runs",successStatus:204}).output(K()),cancel:j.route({method:"POST",path:"/run/cancel"}).output(K()),sendMessage:j.route({method:"POST",path:"/run/message"}).input(AI).output(K())}}var dm={consent:PI,conversations:TI,conversation:lm()};d();d();var Xy=45e3,Qy=1e3,e_=3e4;function t_(e){return Math.min(Qy*2**e,e_)}function n_(e){if(typeof e!="string")return null;try{let t=JSON.parse(e),r=ne(t,"type"),i=cs(t,"runId"),n=fo(t,"at");return r==="run"&&i!==void 0?{type:"run",runId:i}:r==="changed"&&n!==void 0?{type:"changed",at:n}:null}catch{return null}}function pm(e,t,r=i=>new WebSocket(i)){let i=null,n=!1,o=0,a=null,s=null,u=()=>{let c=r(e);i=c,c.onopen=()=>{o=0,s=setInterval(()=>c.send(zm),Xy)},c.onmessage=l=>{let p=n_(l.data);p?.type==="run"?t.run(p.runId):p?.type==="changed"&&t.changed?.(p.at)},c.onclose=l=>{s!==null&&clearInterval(s),s=null,!(n||l.code===Cm)&&(a=setTimeout(u,t_(o++)))}};return u(),()=>{n=!0,a!==null&&clearTimeout(a),s!==null&&clearInterval(s),i?.close()}}function mm(e,t=""){let{call:r}=e;async function i(c,l,p){let m=new FormData;return m.append("file",l,p),r(c,{method:"POST",body:m})}async function n(c){let l=await e.request(c);if(!l.ok)throw await Ke(l);return l.blob()}let o=Ne(e,lm(),t),a={applyProposal:c=>o.applyProposal({id:c}),discardProposal:c=>o.discardProposal({id:c}),thread:(c=null)=>o.thread({before:c||void 0}),runs:()=>o.runs(),mentions:(c,l)=>o.mentions(Jy(c),{signal:l}),clearRuns:()=>o.clearRuns(),cancel:()=>o.cancel(),sendMessage:(c,l=[],p=[],m={})=>o.sendMessage({instruction:c,photos:l,files:p,...m})};function s(c,l,p){return e.stream(`${t}/run/stream`,{method:"POST",body:JSON.stringify(c)},l,p)}function u(c){return pm(e.socketUrl(`${t}/watch`),c,e.socket)}return{calls:a,upload:i,blob:n,runStream:s,watch:u}}function EI(e,t,r=""){let i=mm(e,r);return{scope:t,api:{...i.calls,...r_(e,r)},runStream:i.runStream,watch:i.watch}}function r_(e,t=""){let{upload:r,blob:i}=mm(e,t);return{addPhoto:(n,o="photo")=>r(`${t}/photos`,n,o),addFile:(n,o)=>r(`${t}/files`,n,o),photo:n=>i(`${t}/photos/${encodeURIComponent(n)}`)}}d();function OI(e){let t=Ne(e,dm.conversations);return(r,i)=>t.list({query:r.trim()||void 0,cursor:i||void 0})}d();d();var zI=["console","phone"],w0=["api",...zI];d();d();function fm(e,t){return t.errors[e]??t.errors.internal}d();var o_=le(oe(),1);d();d();d();d();var i_=["object","member","team","everywhere"];var Ct="/memories";var a_=128;var Xr={memory_empty:{code:"memory_empty",status:400,error:"empty"},memory_too_long:{code:"memory_too_long",status:400,error:"too long"},memory_full:{code:"memory_full",status:409,error:"memory full"},memory_changed:{code:"memory_changed",status:409,error:"changed"},title_taken:{code:"title_taken",status:409,error:"title taken"}},V0={kind:we.bad_request,title:Xr.memory_empty,description:Xr.memory_empty,"title too long":Xr.memory_too_long,"description too long":Xr.memory_too_long,"details too long":Xr.memory_too_long};d();var c_={level:P.enum(i_).optional(),scope:P.string().max(a_).default("")},l_=e=>e.level===void 0||e.level==="object"==e.scope.length>0,s_=P.object(c_).refine(l_),u_=P.object({id:P.string()}),CI={list:j.route({method:"GET",path:Ct}).input(P.object({...c_,kind:P.string().optional(),query:P.string().optional(),cursor:P.string().optional()}).refine(l_)).output(K()),places:j.route({method:"GET",path:`${Ct}/places`}).input(P.object({cursor:P.string().optional()})).output(K()),catalog:j.route({method:"GET",path:`${Ct}/catalog`}).input(s_).output(K()),get:j.route({method:"GET",path:`${Ct}/{id}`}).input(u_).output(K()),remove:j.route({method:"DELETE",path:`${Ct}/{id}`,successStatus:204}).input(u_).output(K()),clear:j.route({method:"DELETE",path:Ct,successStatus:204,inputStructure:"detailed"}).input(P.object({query:s_})).output(K())};d();var Qr=le(oe(),1),LI=(0,Qr.createContext)({});d();d();var m_=4,f_=600,g_=409;function gm(e,t,r){if(e==="ended")return{go:"done"};let i=fo(e,"status")??0,n=e==="dropped"?r:e.failure;return i===g_?{go:"done"}:oo.has(i)?{go:"give-up",failure:{text:"",refused:!0}}:i===Ja?{go:"give-up",failure:{text:n,refused:!0}}:i===Rn||t.runId===null||t.attempt>=m_?{go:"give-up",failure:Nn(n)}:{go:"retry",input:{attach:!0,after:t.seq,runId:t.runId},delayMs:f_*(t.attempt+1)}}function hm(e,t){return t.runId===e?"ignore":t.busy?"later":"attach"}async function h_(e,t,r){if(!e)return!1;try{return(await t()).id!==null}catch(i){return r(i),!0}}async function MI(e){if(await h_(e.running,e.send,i=>{e.failed(i),e.restore()}))return;e.pending();let r=await e.start();r&&(e.unsent?.(),r.refused&&e.restore())}d();d();d();d();var Nj=Om*1e3;d();d();var v_=P.string().max(2e3).optional(),y_=P.number().int().min(1);function vm(){let e=Ae(),t=Ae();return{plan:j.route({method:"GET",path:"/plan"}).output(Ae()),checkout:j.route({method:"POST",path:"/subscription/checkout"}).input(P.object({next:v_,units:y_.optional()}).default({})).output(t),confirm:j.route({method:"POST",path:"/subscription/confirm"}).input(P.object({sessionId:P.string().min(1).max(200)})).output(e),cancel:j.route({method:"POST",path:"/subscription/cancel"}).output(e),resume:j.route({method:"POST",path:"/subscription/resume"}).output(e),units:j.route({method:"POST",path:"/subscription/units"}).input(P.object({units:y_})).output(e),portal:j.route({method:"POST",path:"/subscription/portal"}).input(P.object({next:v_}).default({})).output(t),apple:j.route({method:"POST",path:"/purchases/apple"}).input(P.object({transactionId:P.string().min(1).max(64)})).output(Ae()),google:j.route({method:"POST",path:"/purchases/google"}).input(P.object({purchaseToken:P.string().min(1).max(512)})).output(Ae())}}var Uj=vm();function UI(e){let t=Ne(e,vm());return{plan:()=>t.plan(),subscribe:(r,i)=>t.checkout({next:r,units:i}),setUnits:r=>t.units({units:r}),confirmSubscription:r=>t.confirm({sessionId:r}),cancelSubscription:()=>t.cancel(),resumeSubscription:()=>t.resume(),billingPage:r=>t.portal({next:r}),redeem:r=>r.store==="apple"?t.apple({transactionId:r.transactionId}):t.google({purchaseToken:r.purchaseToken})}}d();d();var b_=P.array(P.string().min(1).max(64)).max(of).default([]),$_=P.string().trim().min(1).max(rf),FI=P.object({method:P.string().max(8),path:P.string().max(200),status:P.number().int().min(0).max(599),agoMs:P.number().int().min(0)}),ZI=P.object({surface:P.enum(tf),client:P.string().max(200),language:P.string().max(16),route:P.string().max(200),viewport:P.string().max(32),timeZone:P.string().max(64),failures:P.array(FI).max(jn)}),__=P.object({id:P.string()}),VI=P.object({subject:P.string().trim().min(1).max(nf),body:$_,attachments:b_,context:ZI}),BI=P.object({body:$_,attachments:b_}),WI={list:j.route({method:"GET",path:Mt}).output(K()),open:j.route({method:"POST",path:Mt,successStatus:201}).input(VI).output(K()),thread:j.route({method:"GET",path:`${Mt}/{id}`}).input(__).output(K()),reply:j.route({method:"POST",path:`${Mt}/{id}/messages`}).input(__.extend(BI.shape)).output(K())};d();d();d();var x_={title:"\u0627\u0644\u0630\u0627\u0643\u0631\u0629",empty:"\u0644\u0627 \u0634\u064A\u0621 \u0645\u062D\u0641\u0648\u0638 \u0628\u0639\u062F",search:"\u0628\u062D\u062B \u0641\u064A \u0627\u0644\u0630\u0643\u0631\u064A\u0627\u062A",noMatch:"\u0644\u0627 \u0630\u0643\u0631\u0649 \u062A\u0637\u0627\u0628\u0642",more:"\u0639\u0631\u0636 \u0627\u0644\u0645\u0632\u064A\u062F",seeAll:"\u0639\u0631\u0636 \u0627\u0644\u0643\u0644",recent:"\u0627\u0644\u0623\u062D\u062F\u062B",places:"\u0627\u0644\u0623\u0645\u0627\u0643\u0646",where:"\u0627\u0644\u0646\u0637\u0627\u0642",levels:{object:"\u0641\u064A {name} \u0641\u0642\u0637",member:"\u0623\u0646\u062A \u0641\u0642\u0637 \u0641\u064A {name}",team:"\u0627\u0644\u062C\u0645\u064A\u0639 \u0641\u064A {name}",everywhere:"\u0641\u064A \u0643\u0644 \u0645\u0643\u0627\u0646"},kinds:{about:"\u0639\u0646\u0643",instruction:"\u062A\u0639\u0644\u064A\u0645\u0627\u062A",project:"\u0645\u0634\u0627\u0631\u064A\u0639",reference:"\u0645\u0631\u0627\u062C\u0639"},fields:{kind:"\u0627\u0644\u0646\u0648\u0639",details:"\u0627\u0644\u062A\u0641\u0627\u0635\u064A\u0644"},byAssistant:"\u062D\u0641\u0638\u0647\u0627 \u0627\u0644\u0645\u0633\u0627\u0639\u062F {time}",byYou:"\u062D\u0641\u0638\u062A\u0647\u0627 \u0623\u0646\u062A {time}",remove:"\u062D\u0630\u0641",removeOne:"\u062D\u0630\u0641 {title}",removeTitle:"\u062D\u0630\u0641 \u0647\u0630\u0647 \u0627\u0644\u0630\u0643\u0631\u0649\u061F",removeAll:"\u062D\u0630\u0641 \u0627\u0644\u0643\u0644",removeAllTitle:"\u062D\u0630\u0641 \u0643\u0644 \u0627\u0644\u0630\u0643\u0631\u064A\u0627\u062A\u061F",removeAllLine:"\u064A\u0646\u0633\u0649 \u0627\u0644\u0645\u0633\u0627\u0639\u062F \u0643\u0644 \u0645\u0627 \u0627\u062D\u062A\u0641\u0638 \u0628\u0647 \u0639\u0646\u0643.",removePlaceTitle:{zero:"\u062D\u0630\u0641 {count} \u0630\u0643\u0631\u0649\u061F",one:"\u062D\u0630\u0641 \u0630\u0643\u0631\u0649 \u0648\u0627\u062D\u062F\u0629\u061F",two:"\u062D\u0630\u0641 \u0630\u0643\u0631\u064A\u064A\u0646\u061F",few:"\u062D\u0630\u0641 {count} \u0630\u0643\u0631\u064A\u0627\u062A\u061F",many:"\u062D\u0630\u0641 {count} \u0630\u0643\u0631\u0649\u061F",other:"\u062D\u0630\u0641 {count} \u0630\u0643\u0631\u0649\u061F"},removed:"\u062A\u0645 \u0627\u0644\u062D\u0630\u0641",loadFailed:"\u062A\u0639\u0630\u0651\u0631 \u062A\u062D\u0645\u064A\u0644 \u0630\u0643\u0631\u064A\u0627\u062A\u0643.",gone:"\u062D\u064F\u0630\u0641\u062A \u0647\u0630\u0647 \u0627\u0644\u0630\u0643\u0631\u0649 \u0645\u0646 \u0642\u0628\u0644.",server:{memory_empty:"\u062A\u062D\u062A\u0627\u062C \u0627\u0644\u0630\u0643\u0631\u0649 \u0625\u0644\u0649 \u0639\u0646\u0648\u0627\u0646 \u0648\u0648\u0635\u0641.",memory_too_long:"\u0647\u0630\u0647 \u0627\u0644\u0630\u0643\u0631\u0649 \u0637\u0648\u064A\u0644\u0629 \u062C\u062F\u064B\u0627.",memory_full:"\u0644\u0627 \u0645\u0643\u0627\u0646 \u0644\u0630\u0643\u0631\u064A\u0627\u062A \u0623\u062E\u0631\u0649 \u0647\u0646\u0627\u061B \u0627\u062D\u0630\u0641 \u0648\u0627\u062D\u062F\u0629 \u0623\u0648\u0644\u064B\u0627.",memory_changed:"\u062A\u063A\u064A\u0651\u0631\u062A \u0647\u0630\u0647 \u0627\u0644\u0630\u0643\u0631\u0649 \u0641\u064A \u0627\u0644\u0623\u062B\u0646\u0627\u0621\u061B \u0623\u0639\u062F \u062A\u062D\u0645\u064A\u0644\u0647\u0627.",title_taken:"\u062A\u0648\u062C\u062F \u0630\u0643\u0631\u0649 \u0623\u062E\u0631\u0649 \u0628\u0647\u0630\u0627 \u0627\u0644\u0639\u0646\u0648\u0627\u0646."},tools:{create_memory:"\u062D\u064F\u0641\u0638 \u0641\u064A \u0627\u0644\u0630\u0627\u0643\u0631\u0629",search_memories:"\u0628\u062D\u062B \u0641\u064A \u0627\u0644\u0630\u0643\u0631\u064A\u0627\u062A",read_memory:"\u0642\u0631\u0623 \u0630\u0643\u0631\u0649",update_memory:"\u0639\u064F\u062F\u0651\u0644\u062A \u0630\u0643\u0631\u0649",delete_memory:"\u062D\u064F\u0630\u0641\u062A \u0630\u0643\u0631\u0649"}};d();var w_={title:"Ged\xE4chtnis",empty:"Noch nichts gemerkt",search:"Erinnerungen suchen",noMatch:"Keine Erinnerung passt",more:"Mehr anzeigen",seeAll:"Alle anzeigen",recent:"Neueste",places:"Orte",where:"Wo",levels:{object:"Nur in {name}",member:"Nur du bei {name}",team:"Alle bei {name}",everywhere:"\xDCberall"},kinds:{about:"\xDCber dich",instruction:"Anweisungen",project:"Projekte",reference:"Verweise"},fields:{kind:"Art",details:"Details"},byAssistant:"Vom Assistenten gespeichert {time}",byYou:"Von dir gespeichert {time}",remove:"L\xF6schen",removeOne:"{title} l\xF6schen",removeTitle:"Diese Erinnerung l\xF6schen?",removeAll:"Alle l\xF6schen",removeAllTitle:"Alle Erinnerungen l\xF6schen?",removeAllLine:"Der Assistent vergisst alles, was er \xFCber dich behalten hat.",removePlaceTitle:{one:"{count} Erinnerung l\xF6schen?",other:"{count} Erinnerungen l\xF6schen?"},removed:"Gel\xF6scht",loadFailed:"Deine Erinnerungen konnten nicht geladen werden.",gone:"Diese Erinnerung wurde bereits gel\xF6scht.",server:{memory_empty:"Eine Erinnerung braucht einen Titel und eine Beschreibung.",memory_too_long:"Diese Erinnerung ist zu lang.",memory_full:"Hier passen keine weiteren Erinnerungen; l\xF6sch zuerst eine.",memory_changed:"Diese Erinnerung hat sich inzwischen ge\xE4ndert; lade sie neu.",title_taken:"Eine andere Erinnerung hat schon diesen Titel."},tools:{create_memory:"Gemerkt",search_memories:"Erinnerungen durchsucht",read_memory:"Erinnerung gelesen",update_memory:"Erinnerung ge\xE4ndert",delete_memory:"Erinnerung gel\xF6scht"}};d();var k_={title:"Memory",empty:"Nothing remembered yet",search:"Search memories",noMatch:"No memory matches",more:"Show more",seeAll:"See all",recent:"Recent",places:"Places",where:"Where",levels:{object:"Only in {name}",member:"Only you at {name}",team:"Everyone at {name}",everywhere:"Everywhere"},kinds:{about:"About you",instruction:"Instructions",project:"Projects",reference:"References"},fields:{kind:"Kind",details:"Details"},byAssistant:"Saved by the assistant {time}",byYou:"Saved by you {time}",remove:"Delete",removeOne:"Delete {title}",removeTitle:"Delete this memory?",removeAll:"Delete all",removeAllTitle:"Delete all memories?",removeAllLine:"The assistant forgets everything it kept about you.",removePlaceTitle:{one:"Delete {count} memory?",other:"Delete {count} memories?"},removed:"Deleted",loadFailed:"Could not load your memories.",gone:"That memory was already deleted.",server:{memory_empty:"A memory needs a title and a description.",memory_too_long:"That memory is too long.",memory_full:"No more memories fit here; delete one first.",memory_changed:"That memory changed in the meantime; reload it.",title_taken:"Another memory already has that title."},tools:{create_memory:"Saved to memory",search_memories:"Searched memories",read_memory:"Read a memory",update_memory:"Updated a memory",delete_memory:"Deleted a memory"}};d();var S_={title:"Memoria",empty:"Nada recordado a\xFAn",search:"Buscar recuerdos",noMatch:"Ning\xFAn recuerdo coincide",more:"Ver m\xE1s",seeAll:"Ver todo",recent:"Recientes",places:"Lugares",where:"D\xF3nde",levels:{object:"Solo en {name}",member:"Solo t\xFA en {name}",team:"Todos en {name}",everywhere:"En todas partes"},kinds:{about:"Sobre ti",instruction:"Instrucciones",project:"Proyectos",reference:"Referencias"},fields:{kind:"Tipo",details:"Detalles"},byAssistant:"Guardado por el asistente {time}",byYou:"Guardado por ti {time}",remove:"Eliminar",removeOne:"Eliminar {title}",removeTitle:"\xBFEliminar este recuerdo?",removeAll:"Eliminar todo",removeAllTitle:"\xBFEliminar todos los recuerdos?",removeAllLine:"El asistente olvida todo lo que guard\xF3 sobre ti.",removePlaceTitle:{one:"\xBFEliminar {count} recuerdo?",other:"\xBFEliminar {count} recuerdos?"},removed:"Eliminado",loadFailed:"No se pudieron cargar tus recuerdos.",gone:"Ese recuerdo ya se elimin\xF3.",server:{memory_empty:"Un recuerdo necesita un t\xEDtulo y una descripci\xF3n.",memory_too_long:"Ese recuerdo es demasiado largo.",memory_full:"Aqu\xED no caben m\xE1s recuerdos; elimina uno primero.",memory_changed:"Ese recuerdo cambi\xF3 mientras tanto; vuelve a cargarlo.",title_taken:"Otro recuerdo ya tiene ese t\xEDtulo."},tools:{create_memory:"Guardado en la memoria",search_memories:"Busc\xF3 en los recuerdos",read_memory:"Ley\xF3 un recuerdo",update_memory:"Recuerdo actualizado",delete_memory:"Recuerdo eliminado"}};d();var I_={title:"M\xE9moire",empty:"Rien de m\xE9moris\xE9",search:"Chercher des souvenirs",noMatch:"Aucun souvenir ne correspond",more:"Voir plus",seeAll:"Tout voir",recent:"R\xE9cents",places:"Lieux",where:"O\xF9",levels:{object:"Seulement dans {name}",member:"Seulement vous chez {name}",team:"Tout le monde chez {name}",everywhere:"Partout"},kinds:{about:"\xC0 propos de vous",instruction:"Consignes",project:"Projets",reference:"R\xE9f\xE9rences"},fields:{kind:"Type",details:"D\xE9tails"},byAssistant:"Enregistr\xE9 par l'assistant {time}",byYou:"Enregistr\xE9 par vous {time}",remove:"Supprimer",removeOne:"Supprimer {title}",removeTitle:"Supprimer ce souvenir ?",removeAll:"Tout supprimer",removeAllTitle:"Supprimer tous les souvenirs ?",removeAllLine:"L'assistant oublie tout ce qu'il a retenu sur vous.",removePlaceTitle:{one:"Supprimer {count} souvenir ?",other:"Supprimer {count} souvenirs ?"},removed:"Supprim\xE9",loadFailed:"Impossible de charger vos souvenirs.",gone:"Ce souvenir a d\xE9j\xE0 \xE9t\xE9 supprim\xE9.",server:{memory_empty:"Un souvenir a besoin d'un titre et d'une description.",memory_too_long:"Ce souvenir est trop long.",memory_full:"Plus aucun souvenir ne tient ici ; supprimez-en un d'abord.",memory_changed:"Ce souvenir a chang\xE9 entre-temps ; rechargez-le.",title_taken:"Un autre souvenir porte d\xE9j\xE0 ce titre."},tools:{create_memory:"M\xE9moris\xE9",search_memories:"Souvenirs cherch\xE9s",read_memory:"Souvenir lu",update_memory:"Souvenir modifi\xE9",delete_memory:"Souvenir supprim\xE9"}};d();var P_={title:"\u30E1\u30E2\u30EA\u30FC",empty:"\u307E\u3060\u8A18\u61B6\u306F\u3042\u308A\u307E\u305B\u3093",search:"\u8A18\u61B6\u3092\u691C\u7D22",noMatch:"\u4E00\u81F4\u3059\u308B\u8A18\u61B6\u306F\u3042\u308A\u307E\u305B\u3093",more:"\u3082\u3063\u3068\u898B\u308B",seeAll:"\u3059\u3079\u3066\u8868\u793A",recent:"\u6700\u8FD1",places:"\u5834\u6240",where:"\u9069\u7528\u7BC4\u56F2",levels:{object:"{name}\u306E\u307F",member:"{name}\u3067\u3042\u306A\u305F\u3060\u3051",team:"{name}\u306E\u5168\u54E1",everywhere:"\u3069\u3053\u3067\u3082"},kinds:{about:"\u3042\u306A\u305F\u306B\u3064\u3044\u3066",instruction:"\u6307\u793A",project:"\u30D7\u30ED\u30B8\u30A7\u30AF\u30C8",reference:"\u53C2\u7167\u5148"},fields:{kind:"\u7A2E\u985E",details:"\u8A73\u7D30"},byAssistant:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u304C\u4FDD\u5B58 {time}",byYou:"\u3042\u306A\u305F\u304C\u4FDD\u5B58 {time}",remove:"\u524A\u9664",removeOne:"{title}\u3092\u524A\u9664",removeTitle:"\u3053\u306E\u8A18\u61B6\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F",removeAll:"\u3059\u3079\u3066\u524A\u9664",removeAllTitle:"\u3059\u3079\u3066\u306E\u8A18\u61B6\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F",removeAllLine:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u306F\u3042\u306A\u305F\u306B\u3064\u3044\u3066\u899A\u3048\u305F\u3053\u3068\u3092\u3059\u3079\u3066\u5FD8\u308C\u307E\u3059\u3002",removePlaceTitle:{other:"{count}\u4EF6\u306E\u8A18\u61B6\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F"},removed:"\u524A\u9664\u3057\u307E\u3057\u305F",loadFailed:"\u8A18\u61B6\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F\u3002",gone:"\u305D\u306E\u8A18\u61B6\u306F\u3059\u3067\u306B\u524A\u9664\u3055\u308C\u3066\u3044\u307E\u3059\u3002",server:{memory_empty:"\u8A18\u61B6\u306B\u306F\u30BF\u30A4\u30C8\u30EB\u3068\u8AAC\u660E\u304C\u5FC5\u8981\u3067\u3059\u3002",memory_too_long:"\u305D\u306E\u8A18\u61B6\u306F\u9577\u3059\u304E\u307E\u3059\u3002",memory_full:"\u3053\u3053\u306B\u306F\u3053\u308C\u4EE5\u4E0A\u8A18\u61B6\u3092\u4FDD\u5B58\u3067\u304D\u306A\u3044\u305F\u3081\u3001\u5148\u306B\u3072\u3068\u3064\u524A\u9664\u3057\u3066\u304F\u3060\u3055\u3044\u3002",memory_changed:"\u305D\u306E\u8A18\u61B6\u306F\u305D\u306E\u9593\u306B\u5909\u66F4\u3055\u308C\u305F\u305F\u3081\u3001\u518D\u8AAD\u307F\u8FBC\u307F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",title_taken:"\u540C\u3058\u30BF\u30A4\u30C8\u30EB\u306E\u8A18\u61B6\u304C\u3059\u3067\u306B\u3042\u308A\u307E\u3059\u3002"},tools:{create_memory:"\u8A18\u61B6\u3057\u307E\u3057\u305F",search_memories:"\u8A18\u61B6\u3092\u691C\u7D22\u3057\u307E\u3057\u305F",read_memory:"\u8A18\u61B6\u3092\u8AAD\u307F\u307E\u3057\u305F",update_memory:"\u8A18\u61B6\u3092\u66F4\u65B0\u3057\u307E\u3057\u305F",delete_memory:"\u8A18\u61B6\u3092\u524A\u9664\u3057\u307E\u3057\u305F"}};d();var T_={title:"\uBA54\uBAA8\uB9AC",empty:"\uC544\uC9C1 \uAE30\uC5B5\uC774 \uC5C6\uC2B5\uB2C8\uB2E4",search:"\uAE30\uC5B5 \uAC80\uC0C9",noMatch:"\uC77C\uCE58\uD558\uB294 \uAE30\uC5B5 \uC5C6\uC74C",more:"\uB354 \uBCF4\uAE30",seeAll:"\uBAA8\uB450 \uBCF4\uAE30",recent:"\uCD5C\uADFC",places:"\uC7A5\uC18C",where:"\uC801\uC6A9 \uBC94\uC704",levels:{object:"{name}\uC5D0\uC11C\uB9CC",member:"{name}\uC5D0\uC11C \uB098\uB9CC",team:"{name}\uC758 \uBAA8\uB450",everywhere:"\uBAA8\uB4E0 \uACF3"},kinds:{about:"\uB098\uC5D0 \uB300\uD574",instruction:"\uC9C0\uC2DC",project:"\uD504\uB85C\uC81D\uD2B8",reference:"\uCC38\uACE0"},fields:{kind:"\uC885\uB958",details:"\uC138\uBD80 \uB0B4\uC6A9"},byAssistant:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uAC00 \uC800\uC7A5 {time}",byYou:"\uB0B4\uAC00 \uC800\uC7A5 {time}",remove:"\uC0AD\uC81C",removeOne:"{title} \uC0AD\uC81C",removeTitle:"\uC774 \uAE30\uC5B5\uC744 \uC0AD\uC81C\uD560\uAE4C\uC694?",removeAll:"\uBAA8\uB450 \uC0AD\uC81C",removeAllTitle:"\uBAA8\uB4E0 \uAE30\uC5B5\uC744 \uC0AD\uC81C\uD560\uAE4C\uC694?",removeAllLine:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uAC00 \uB098\uC5D0 \uB300\uD574 \uAE30\uC5B5\uD55C \uBAA8\uB4E0 \uB0B4\uC6A9\uC744 \uC78A\uC2B5\uB2C8\uB2E4.",removePlaceTitle:{other:"\uAE30\uC5B5 {count}\uAC1C\uB97C \uC0AD\uC81C\uD560\uAE4C\uC694?"},removed:"\uC0AD\uC81C\uB428",loadFailed:"\uAE30\uC5B5\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",gone:"\uC774\uBBF8 \uC0AD\uC81C\uB41C \uAE30\uC5B5\uC785\uB2C8\uB2E4.",server:{memory_empty:"\uAE30\uC5B5\uC5D0\uB294 \uC81C\uBAA9\uACFC \uC124\uBA85\uC774 \uD544\uC694\uD569\uB2C8\uB2E4.",memory_too_long:"\uAE30\uC5B5\uC774 \uB108\uBB34 \uAE41\uB2C8\uB2E4.",memory_full:"\uC5EC\uAE30\uC5D0\uB294 \uB354 \uC774\uC0C1 \uAE30\uC5B5\uC744 \uC800\uC7A5\uD560 \uC218 \uC5C6\uC73C\uB2C8 \uBA3C\uC800 \uD558\uB098\uB97C \uC0AD\uC81C\uD558\uC138\uC694.",memory_changed:"\uADF8\uC0AC\uC774 \uAE30\uC5B5\uC774 \uBC14\uB00C\uC5C8\uC73C\uB2C8 \uB2E4\uC2DC \uBD88\uB7EC\uC624\uC138\uC694.",title_taken:"\uAC19\uC740 \uC81C\uBAA9\uC758 \uAE30\uC5B5\uC774 \uC774\uBBF8 \uC788\uC2B5\uB2C8\uB2E4."},tools:{create_memory:"\uBA54\uBAA8\uB9AC\uC5D0 \uC800\uC7A5\uD568",search_memories:"\uAE30\uC5B5\uC744 \uAC80\uC0C9\uD568",read_memory:"\uAE30\uC5B5\uC744 \uC77D\uC74C",update_memory:"\uAE30\uC5B5\uC744 \uC218\uC815\uD568",delete_memory:"\uAE30\uC5B5\uC744 \uC0AD\uC81C\uD568"}};d();var A_={title:"Mem\xF3ria",empty:"Nada memorizado ainda",search:"Buscar mem\xF3rias",noMatch:"Nenhuma mem\xF3ria corresponde",more:"Mostrar mais",seeAll:"Ver tudo",recent:"Recentes",places:"Lugares",where:"Onde",levels:{object:"S\xF3 em {name}",member:"S\xF3 voc\xEA em {name}",team:"Todos em {name}",everywhere:"Em todo lugar"},kinds:{about:"Sobre voc\xEA",instruction:"Instru\xE7\xF5es",project:"Projetos",reference:"Refer\xEAncias"},fields:{kind:"Tipo",details:"Detalhes"},byAssistant:"Salvo pelo assistente {time}",byYou:"Salvo por voc\xEA {time}",remove:"Excluir",removeOne:"Excluir {title}",removeTitle:"Excluir esta mem\xF3ria?",removeAll:"Excluir tudo",removeAllTitle:"Excluir todas as mem\xF3rias?",removeAllLine:"O assistente esquece tudo o que guardou sobre voc\xEA.",removePlaceTitle:{one:"Excluir {count} mem\xF3ria?",other:"Excluir {count} mem\xF3rias?"},removed:"Exclu\xEDdo",loadFailed:"N\xE3o foi poss\xEDvel carregar suas mem\xF3rias.",gone:"Essa mem\xF3ria j\xE1 foi exclu\xEDda.",server:{memory_empty:"Uma mem\xF3ria precisa de um t\xEDtulo e uma descri\xE7\xE3o.",memory_too_long:"Essa mem\xF3ria \xE9 longa demais.",memory_full:"N\xE3o cabem mais mem\xF3rias aqui; exclua uma primeiro.",memory_changed:"Essa mem\xF3ria mudou nesse meio-tempo; recarregue-a.",title_taken:"Outra mem\xF3ria j\xE1 tem esse t\xEDtulo."},tools:{create_memory:"Salvo na mem\xF3ria",search_memories:"Buscou mem\xF3rias",read_memory:"Leu uma mem\xF3ria",update_memory:"Mem\xF3ria atualizada",delete_memory:"Mem\xF3ria exclu\xEDda"}};d();var E_={title:"\u041F\u0430\u043C\u044F\u0442\u044C",empty:"\u041F\u043E\u043A\u0430 \u043D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u0437\u0430\u043F\u043E\u043C\u043D\u0435\u043D\u043E",search:"\u0418\u0441\u043A\u0430\u0442\u044C \u0432 \u043F\u0430\u043C\u044F\u0442\u0438",noMatch:"\u041D\u0438\u0447\u0435\u0433\u043E \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E",more:"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u0435\u0449\u0451",seeAll:"\u0412\u0441\u0435",recent:"\u041D\u0435\u0434\u0430\u0432\u043D\u0438\u0435",places:"\u041C\u0435\u0441\u0442\u0430",where:"\u0413\u0434\u0435",levels:{object:"\u0422\u043E\u043B\u044C\u043A\u043E \u0432 {name}",member:"\u0422\u043E\u043B\u044C\u043A\u043E \u0432\u044B \u0432 {name}",team:"\u0412\u0441\u0435 \u0432 {name}",everywhere:"\u0412\u0435\u0437\u0434\u0435"},kinds:{about:"\u041E \u0432\u0430\u0441",instruction:"\u0423\u043A\u0430\u0437\u0430\u043D\u0438\u044F",project:"\u041F\u0440\u043E\u0435\u043A\u0442\u044B",reference:"\u0421\u0441\u044B\u043B\u043A\u0438"},fields:{kind:"\u0412\u0438\u0434",details:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u043E\u0441\u0442\u0438"},byAssistant:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u043B \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 {time}",byYou:"\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u043B\u0438 \u0432\u044B {time}",remove:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C",removeOne:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \xAB{title}\xBB",removeTitle:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u0443 \u0437\u0430\u043F\u0438\u0441\u044C?",removeAll:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0451",removeAllTitle:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C \u0432\u0441\u0435 \u0437\u0430\u043F\u0438\u0441\u0438?",removeAllLine:"\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u0437\u0430\u0431\u0443\u0434\u0435\u0442 \u0432\u0441\u0451, \u0447\u0442\u043E \u0437\u0430\u043F\u043E\u043C\u043D\u0438\u043B \u043E \u0432\u0430\u0441.",removePlaceTitle:{one:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C {count} \u0437\u0430\u043F\u0438\u0441\u044C?",few:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C {count} \u0437\u0430\u043F\u0438\u0441\u0438?",many:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C {count} \u0437\u0430\u043F\u0438\u0441\u0435\u0439?",other:"\u0423\u0434\u0430\u043B\u0438\u0442\u044C {count} \u0437\u0430\u043F\u0438\u0441\u0438?"},removed:"\u0423\u0434\u0430\u043B\u0435\u043D\u043E",loadFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0437\u0430\u043F\u0438\u0441\u0438 \u043F\u0430\u043C\u044F\u0442\u0438.",gone:"\u042D\u0442\u0430 \u0437\u0430\u043F\u0438\u0441\u044C \u0443\u0436\u0435 \u0443\u0434\u0430\u043B\u0435\u043D\u0430.",server:{memory_empty:"\u0417\u0430\u043F\u0438\u0441\u0438 \u043D\u0443\u0436\u043D\u044B \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A \u0438 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435.",memory_too_long:"\u042D\u0442\u0430 \u0437\u0430\u043F\u0438\u0441\u044C \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0434\u043B\u0438\u043D\u043D\u0430\u044F.",memory_full:"\u0421\u044E\u0434\u0430 \u0431\u043E\u043B\u044C\u0448\u0435 \u043D\u0435 \u043F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u0441\u044F \u043D\u0438 \u043E\u0434\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438; \u0441\u043D\u0430\u0447\u0430\u043B\u0430 \u0443\u0434\u0430\u043B\u0438\u0442\u0435 \u043E\u0434\u043D\u0443.",memory_changed:"\u042D\u0442\u0430 \u0437\u0430\u043F\u0438\u0441\u044C \u0442\u0435\u043C \u0432\u0440\u0435\u043C\u0435\u043D\u0435\u043C \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u0430\u0441\u044C; \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u0435 \u0435\u0451 \u0437\u0430\u043D\u043E\u0432\u043E.",title_taken:"\u0417\u0430\u043F\u0438\u0441\u044C \u0441 \u0442\u0430\u043A\u0438\u043C \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u043E\u043C \u0443\u0436\u0435 \u0435\u0441\u0442\u044C."},tools:{create_memory:"\u0417\u0430\u043F\u043E\u043C\u043D\u0438\u043B",search_memories:"\u0418\u0441\u043A\u0430\u043B \u0432 \u043F\u0430\u043C\u044F\u0442\u0438",read_memory:"\u041F\u0440\u043E\u0447\u0438\u0442\u0430\u043B \u0437\u0430\u043F\u0438\u0441\u044C",update_memory:"\u0418\u0437\u043C\u0435\u043D\u0438\u043B \u0437\u0430\u043F\u0438\u0441\u044C",delete_memory:"\u0423\u0434\u0430\u043B\u0438\u043B \u0437\u0430\u043F\u0438\u0441\u044C"}};d();var O_={title:"\u8BB0\u5FC6",empty:"\u8FD8\u6CA1\u6709\u8BB0\u5FC6",search:"\u641C\u7D22\u8BB0\u5FC6",noMatch:"\u6CA1\u6709\u5339\u914D\u7684\u8BB0\u5FC6",more:"\u663E\u793A\u66F4\u591A",seeAll:"\u67E5\u770B\u5168\u90E8",recent:"\u6700\u8FD1",places:"\u4F4D\u7F6E",where:"\u8303\u56F4",levels:{object:"\u4EC5\u9650 {name}",member:"\u4EC5\u4F60\u5728 {name}",team:"{name} \u7684\u6240\u6709\u4EBA",everywhere:"\u6240\u6709\u5730\u65B9"},kinds:{about:"\u5173\u4E8E\u4F60",instruction:"\u6307\u793A",project:"\u9879\u76EE",reference:"\u53C2\u8003"},fields:{kind:"\u7C7B\u578B",details:"\u8BE6\u60C5"},byAssistant:"\u7531\u52A9\u624B\u4FDD\u5B58 {time}",byYou:"\u7531\u4F60\u4FDD\u5B58 {time}",remove:"\u5220\u9664",removeOne:"\u5220\u9664{title}",removeTitle:"\u5220\u9664\u8FD9\u6761\u8BB0\u5FC6\uFF1F",removeAll:"\u5168\u90E8\u5220\u9664",removeAllTitle:"\u5220\u9664\u6240\u6709\u8BB0\u5FC6\uFF1F",removeAllLine:"\u52A9\u624B\u4F1A\u5FD8\u8BB0\u5B83\u8BB0\u4F4F\u7684\u5173\u4E8E\u4F60\u7684\u4E00\u5207\u3002",removePlaceTitle:{other:"\u5220\u9664 {count} \u6761\u8BB0\u5FC6\uFF1F"},removed:"\u5DF2\u5220\u9664",loadFailed:"\u65E0\u6CD5\u52A0\u8F7D\u4F60\u7684\u8BB0\u5FC6\u3002",gone:"\u8FD9\u6761\u8BB0\u5FC6\u5DF2\u88AB\u5220\u9664\u3002",server:{memory_empty:"\u8BB0\u5FC6\u9700\u8981\u6807\u9898\u548C\u63CF\u8FF0\u3002",memory_too_long:"\u8FD9\u6761\u8BB0\u5FC6\u592A\u957F\u4E86\u3002",memory_full:"\u8FD9\u91CC\u653E\u4E0D\u4E0B\u66F4\u591A\u8BB0\u5FC6\uFF0C\u8BF7\u5148\u5220\u9664\u4E00\u6761\u3002",memory_changed:"\u8FD9\u6761\u8BB0\u5FC6\u5728\u6B64\u671F\u95F4\u5DF2\u66F4\u6539\uFF0C\u8BF7\u91CD\u65B0\u52A0\u8F7D\u3002",title_taken:"\u5DF2\u6709\u53E6\u4E00\u6761\u8BB0\u5FC6\u4F7F\u7528\u8FD9\u4E2A\u6807\u9898\u3002"},tools:{create_memory:"\u5DF2\u5B58\u5165\u8BB0\u5FC6",search_memories:"\u641C\u7D22\u4E86\u8BB0\u5FC6",read_memory:"\u8BFB\u53D6\u4E86\u4E00\u6761\u8BB0\u5FC6",update_memory:"\u5DF2\u66F4\u65B0\u8BB0\u5FC6",delete_memory:"\u5DF2\u5220\u9664\u8BB0\u5FC6"}};var GI=hf({en:k_,ar:x_,de:w_,es:S_,fr:I_,ja:P_,ko:T_,pt:A_,ru:E_,zh:O_});d();var La=le(oe(),1);d();d();var YL={en:{account:{deleteConfirmLede:"Everything in it is permanently deleted.",deleteFailed:"Could not delete your account.",deleteStale:"Deleting your account requires a recent sign-in.",deleted:"Your account was deleted.",loadFailed:"Could not load your sign-in methods.",wrongPassword:"Incorrect password."},auth:{agree:"By continuing you agree to the {terms} and {privacy}.",botCheckFailed:"The security check did not pass; try again.",continueWith:"Continue with {provider}",createAccount:"Create account",failed:"Check the email address and password.",mailFailed:"Could not send the email; try again.",orWithEmail:"or with email",privacy:"Privacy Policy",terms:"Terms"},common:{email:"Email",password:"Password",requestFailed:"Something went wrong; try again.",send:"Send",stop:"Stop",unreachable:"Could not connect to the server; check your connection."},consent:{allow:"Allow",deny:"Don't Allow",failed:"Could not change the setting; try again.",heading:"Assistant",label:"Allow the assistant",line:"Your messages, your voice and what it reads go to the AI model.",memories:"What the assistant remembers about you",messages:"Your messages and attachments",model:"AI model",receives:"Who receives it",search:"Web search",sent:"What is sent",title:"Allow the assistant?",training:"None of them trains a model on it.",voice:"Your voice in voice mode"},forgot:{failed:"Could not send the reset email.",lede:"Enter your email address to receive a reset link.",send:"Send reset link",sentLede:"If an account exists for {email}, a reset link has been sent.",sentTitle:"Check your inbox",title:"Reset your password"},formatting:{blocks:"Blocks",text:"Text",heading1:"Heading 1",heading2:"Heading 2",heading3:"Heading 3",bulletList:"Bulleted list",orderedList:"Numbered list",taskList:"To-do list",quote:"Quote",table:"Table",divider:"Divider",code:"Code",formatting:"Formatting",bold:"Bold",italic:"Italic",strike:"Strikethrough",inlineCode:"Code",link:"Link"},proposal:{applied:"Applied",applying:"Applying",approve:"Approve",discard:"Discard",discarded:"Discarded",failed:"Failed"},photos:{adding:"Adding {name}",remove:"Remove {name}",photo:"Photo",library:"Photos",wrongType:"{name} is not a photo."},run:{lost:"The connection to the assistant was lost."},conversations:{title:"Conversations",search:"Search conversations",none:"No conversations",today:"Today",yesterday:"Yesterday",week:"Previous 7 days",month:"Previous 30 days"},pane:{assistant:"Assistant",starters:"Ways to start"},pages:{pageTitle:"Page {page}"},progress:{working:"Working"},product:{allowFirst:"Allow the assistant in {name} first",open:"Open {name}"},thread:{message:"Message"},documentRun:{paused:"Paused by a restart, then resumed.",resuming:"Resuming after a restart"},runErrors:{model_refused:"The assistant declined that; try rephrasing it.",model_unreachable:"The assistant is unavailable right now; try again shortly.",context_too_long:"This message is too long; send a shorter one.",step_limit:"The assistant reached its step limit; ask again to continue.",model_overran:"The assistant's reply was too long; ask again.",interrupted:"The assistant was interrupted; ask again.",internal:"Something went wrong on our side.",check_failed:"It could not be checked; ask again.",unrepaired:"It still fails a check; ask again to keep fixing it."},voice:{hearing:"Writing it down",label:"Voice mode",listening:"Listening",speaking:"Speaking"},verify:{failed:"Could not resend the email.",ledeTo:"To finish, open the link sent to {email}.",resend:"Resend verification email",resent:"Verification email sent",title:"Verify your email"}},ar:{account:{deleteConfirmLede:"\u064A\u064F\u062D\u0630\u0641 \u0643\u0644 \u0645\u0627 \u0641\u064A\u0647 \u0646\u0647\u0627\u0626\u064A\u064B\u0627.",deleteFailed:"\u062A\u0639\u0630\u0651\u0631 \u062D\u0630\u0641 \u062D\u0633\u0627\u0628\u0643.",deleteStale:"\u064A\u062A\u0637\u0644\u0628 \u062D\u0630\u0641 \u062D\u0633\u0627\u0628\u0643 \u062A\u0633\u062C\u064A\u0644 \u062F\u062E\u0648\u0644 \u062D\u062F\u064A\u062B\u064B\u0627.",deleted:"\u062D\u064F\u0630\u0641 \u062D\u0633\u0627\u0628\u0643.",loadFailed:"\u062A\u0639\u0630\u0651\u0631 \u062A\u062D\u0645\u064A\u0644 \u0637\u0631\u0642 \u062A\u0633\u062C\u064A\u0644 \u0627\u0644\u062F\u062E\u0648\u0644.",wrongPassword:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631 \u063A\u064A\u0631 \u0635\u062D\u064A\u062D\u0629."},auth:{agree:"\u0628\u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629\u060C \u0641\u0625\u0646\u0643 \u062A\u0648\u0627\u0641\u0642 \u0639\u0644\u0649 {terms} \u0648{privacy}.",botCheckFailed:"\u0644\u0645 \u064A\u0646\u062C\u062D \u0641\u062D\u0635 \u0627\u0644\u0623\u0645\u0627\u0646\u061B \u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",continueWith:"\u0627\u0644\u0645\u062A\u0627\u0628\u0639\u0629 \u0639\u0628\u0631 {provider}",createAccount:"\u0625\u0646\u0634\u0627\u0621 \u062D\u0633\u0627\u0628",failed:"\u062A\u062D\u0642\u0651\u0642 \u0645\u0646 \u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0648\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631.",mailFailed:"\u062A\u0639\u0630\u0651\u0631 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0631\u0633\u0627\u0644\u0629\u061B \u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",orWithEmail:"\u0623\u0648 \u0628\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",privacy:"\u0633\u064A\u0627\u0633\u0629 \u0627\u0644\u062E\u0635\u0648\u0635\u064A\u0629",terms:"\u0627\u0644\u0634\u0631\u0648\u0637"},common:{email:"\u0627\u0644\u0628\u0631\u064A\u062F \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",password:"\u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631",requestFailed:"\u062D\u062F\u062B \u062E\u0637\u0623 \u0645\u0627\u061B \u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",send:"\u0625\u0631\u0633\u0627\u0644",stop:"\u0625\u064A\u0642\u0627\u0641",unreachable:"\u062A\u0639\u0630\u0651\u0631 \u0627\u0644\u0627\u062A\u0635\u0627\u0644 \u0628\u0627\u0644\u062E\u0627\u062F\u0645\u061B \u062A\u062D\u0642\u0651\u0642 \u0645\u0646 \u0627\u062A\u0635\u0627\u0644\u0643."},consent:{allow:"\u0627\u0644\u0633\u0645\u0627\u062D",deny:"\u0639\u062F\u0645 \u0627\u0644\u0633\u0645\u0627\u062D",failed:"\u062A\u0639\u0630\u0651\u0631 \u062A\u063A\u064A\u064A\u0631 \u0627\u0644\u0625\u0639\u062F\u0627\u062F\u061B \u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649.",heading:"\u0627\u0644\u0645\u0633\u0627\u0639\u062F",label:"\u0627\u0644\u0633\u0645\u0627\u062D \u0644\u0644\u0645\u0633\u0627\u0639\u062F",line:"\u062A\u064F\u0631\u0633\u064E\u0644 \u0631\u0633\u0627\u0626\u0644\u0643 \u0648\u0635\u0648\u062A\u0643 \u0648\u0645\u0627 \u064A\u0642\u0631\u0624\u0647 \u0627\u0644\u0645\u0633\u0627\u0639\u062F \u0625\u0644\u0649 \u0646\u0645\u0648\u0630\u062C \u0627\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064A.",memories:"\u0645\u0627 \u064A\u062A\u0630\u0643\u0631\u0647 \u0627\u0644\u0645\u0633\u0627\u0639\u062F \u0639\u0646\u0643",messages:"\u0631\u0633\u0627\u0626\u0644\u0643 \u0648\u0645\u0631\u0641\u0642\u0627\u062A\u0643",model:"\u0646\u0645\u0648\u0630\u062C \u0627\u0644\u0630\u0643\u0627\u0621 \u0627\u0644\u0627\u0635\u0637\u0646\u0627\u0639\u064A",receives:"\u0645\u064E\u0646 \u064A\u062A\u0644\u0642\u0651\u0627\u0647",search:"\u0627\u0644\u0628\u062D\u062B \u0639\u0644\u0649 \u0627\u0644\u0648\u064A\u0628",sent:"\u0645\u0627 \u064A\u064F\u0631\u0633\u064E\u0644",title:"\u0627\u0644\u0633\u0645\u0627\u062D \u0644\u0644\u0645\u0633\u0627\u0639\u062F\u061F",training:"\u0644\u0627 \u064A\u062F\u0631\u0651\u0628 \u0639\u0644\u064A\u0647 \u0623\u064A\u064C\u0651 \u0645\u0646\u0647\u0627 \u0623\u064A \u0646\u0645\u0648\u0630\u062C.",voice:"\u0635\u0648\u062A\u0643 \u0641\u064A \u0627\u0644\u0648\u0636\u0639 \u0627\u0644\u0635\u0648\u062A\u064A"},forgot:{failed:"\u062A\u0639\u0630\u0651\u0631 \u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0644\u0629 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0639\u064A\u064A\u0646.",lede:"\u0623\u062F\u062E\u0644 \u0628\u0631\u064A\u062F\u0643 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A \u0644\u062A\u0644\u0642\u064A \u0631\u0627\u0628\u0637 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0639\u064A\u064A\u0646.",send:"\u0625\u0631\u0633\u0627\u0644 \u0631\u0627\u0628\u0637 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0639\u064A\u064A\u0646",sentLede:"\u0625\u0630\u0627 \u0643\u0627\u0646 \u0647\u0646\u0627\u0643 \u062D\u0633\u0627\u0628 \u0644\u0644\u0639\u0646\u0648\u0627\u0646 {email}\u060C \u0641\u0642\u062F \u0623\u064F\u0631\u0633\u0644 \u0625\u0644\u064A\u0647 \u0631\u0627\u0628\u0637 \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0639\u064A\u064A\u0646.",sentTitle:"\u062A\u062D\u0642\u0651\u0642 \u0645\u0646 \u0628\u0631\u064A\u062F\u0643 \u0627\u0644\u0648\u0627\u0631\u062F",title:"\u0625\u0639\u0627\u062F\u0629 \u062A\u0639\u064A\u064A\u0646 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631"},formatting:{blocks:"\u0627\u0644\u0643\u062A\u0644",text:"\u0646\u0635",heading1:"\u0639\u0646\u0648\u0627\u0646 1",heading2:"\u0639\u0646\u0648\u0627\u0646 2",heading3:"\u0639\u0646\u0648\u0627\u0646 3",bulletList:"\u0642\u0627\u0626\u0645\u0629 \u0646\u0642\u0637\u064A\u0629",orderedList:"\u0642\u0627\u0626\u0645\u0629 \u0645\u0631\u0642\u0645\u0629",taskList:"\u0642\u0627\u0626\u0645\u0629 \u0645\u0647\u0627\u0645",quote:"\u0627\u0642\u062A\u0628\u0627\u0633",table:"\u062C\u062F\u0648\u0644",divider:"\u0641\u0627\u0635\u0644",code:"\u0643\u0648\u062F",formatting:"\u0627\u0644\u062A\u0646\u0633\u064A\u0642",bold:"\u063A\u0627\u0645\u0642",italic:"\u0645\u0627\u0626\u0644",strike:"\u064A\u062A\u0648\u0633\u0637\u0647 \u062E\u0637",inlineCode:"\u0643\u0648\u062F",link:"\u0631\u0627\u0628\u0637"},proposal:{applied:"\u0637\u064F\u0628\u0651\u0642",applying:"\u062C\u0627\u0631\u064D \u0627\u0644\u062A\u0637\u0628\u064A\u0642",approve:"\u0645\u0648\u0627\u0641\u0642\u0629",discard:"\u0631\u0641\u0636",discarded:"\u0631\u064F\u0641\u0636",failed:"\u0641\u0634\u0644"},photos:{adding:"\u062C\u0627\u0631\u064D \u0625\u0636\u0627\u0641\u0629 {name}",remove:"\u0625\u0632\u0627\u0644\u0629 {name}",photo:"\u0635\u0648\u0631\u0629",library:"\u0627\u0644\u0635\u0648\u0631",wrongType:"{name} \u0644\u064A\u0633\u062A \u0635\u0648\u0631\u0629."},run:{lost:"\u0627\u0646\u0642\u0637\u0639 \u0627\u0644\u0627\u062A\u0635\u0627\u0644 \u0628\u0627\u0644\u0645\u0633\u0627\u0639\u062F."},conversations:{title:"\u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0627\u062A",search:"\u0627\u0628\u062D\u062B \u0641\u064A \u0627\u0644\u0645\u062D\u0627\u062F\u062B\u0627\u062A",none:"\u0644\u0627 \u062A\u0648\u062C\u062F \u0645\u062D\u0627\u062F\u062B\u0627\u062A",today:"\u0627\u0644\u064A\u0648\u0645",yesterday:"\u0623\u0645\u0633",week:"\u0622\u062E\u0631 7 \u0623\u064A\u0627\u0645",month:"\u0622\u062E\u0631 30 \u064A\u0648\u0645\u064B\u0627"},pane:{assistant:"\u0627\u0644\u0645\u0633\u0627\u0639\u062F",starters:"\u0637\u0631\u0642 \u0627\u0644\u0628\u062F\u0621"},pages:{pageTitle:"\u0627\u0644\u0635\u0641\u062D\u0629 {page}"},progress:{working:"\u064A\u0639\u0645\u0644"},product:{allowFirst:"\u0627\u0633\u0645\u062D \u0644\u0644\u0645\u0633\u0627\u0639\u062F \u0641\u064A {name} \u0623\u0648\u0644\u064B\u0627",open:"\u0641\u062A\u062D {name}"},thread:{message:"\u0631\u0633\u0627\u0644\u0629"},documentRun:{paused:"\u062A\u0648\u0642\u0651\u0641 \u0628\u0633\u0628\u0628 \u0625\u0639\u0627\u062F\u0629 \u062A\u0634\u063A\u064A\u0644\u060C \u062B\u0645 \u0627\u0633\u062A\u064F\u0624\u0646\u0641.",resuming:"\u062C\u0627\u0631\u064D \u0627\u0644\u0627\u0633\u062A\u0626\u0646\u0627\u0641 \u0628\u0639\u062F \u0625\u0639\u0627\u062F\u0629 \u0627\u0644\u062A\u0634\u063A\u064A\u0644"},runErrors:{model_refused:"\u0631\u0641\u0636 \u0627\u0644\u0645\u0633\u0627\u0639\u062F \u0630\u0644\u0643\u061B \u062C\u0631\u0651\u0628 \u0625\u0639\u0627\u062F\u0629 \u0635\u064A\u0627\u063A\u062A\u0647.",model_unreachable:"\u0627\u0644\u0645\u0633\u0627\u0639\u062F \u063A\u064A\u0631 \u0645\u062A\u0627\u062D \u0627\u0644\u0622\u0646\u061B \u062D\u0627\u0648\u0644 \u0645\u0631\u0629 \u0623\u062E\u0631\u0649 \u0628\u0639\u062F \u0642\u0644\u064A\u0644.",context_too_long:"\u0647\u0630\u0647 \u0627\u0644\u0631\u0633\u0627\u0644\u0629 \u0637\u0648\u064A\u0644\u0629 \u062C\u062F\u064B\u0627\u061B \u0623\u0631\u0633\u0644 \u0631\u0633\u0627\u0644\u0629 \u0623\u0642\u0635\u0631.",step_limit:"\u0628\u0644\u063A \u0627\u0644\u0645\u0633\u0627\u0639\u062F \u062D\u062F\u0651 \u0627\u0644\u062E\u0637\u0648\u0627\u062A\u061B \u0627\u0637\u0644\u0628 \u0645\u062C\u062F\u062F\u064B\u0627 \u0644\u0644\u0645\u062A\u0627\u0628\u0639\u0629.",model_overran:"\u0643\u0627\u0646 \u0631\u062F \u0627\u0644\u0645\u0633\u0627\u0639\u062F \u0637\u0648\u064A\u0644\u064B\u0627 \u062C\u062F\u064B\u0627\u061B \u0627\u0637\u0644\u0628 \u0645\u062C\u062F\u062F\u064B\u0627.",interrupted:"\u0627\u0646\u0642\u0637\u0639 \u0639\u0645\u0644 \u0627\u0644\u0645\u0633\u0627\u0639\u062F\u061B \u0627\u0637\u0644\u0628 \u0645\u062C\u062F\u062F\u064B\u0627.",internal:"\u062D\u062F\u062B \u062E\u0637\u0623 \u0645\u0646 \u062C\u0627\u0646\u0628\u0646\u0627.",check_failed:"\u062A\u0639\u0630\u0651\u0631 \u0641\u062D\u0635\u0647\u061B \u0627\u0637\u0644\u0628 \u0645\u062C\u062F\u062F\u064B\u0627.",unrepaired:"\u0645\u0627 \u0632\u0627\u0644 \u0644\u0627 \u064A\u062C\u062A\u0627\u0632 \u0623\u062D\u062F \u0627\u0644\u0641\u062D\u0648\u0635\u061B \u0627\u0637\u0644\u0628 \u0645\u062C\u062F\u062F\u064B\u0627 \u0644\u0645\u0648\u0627\u0635\u0644\u0629 \u0625\u0635\u0644\u0627\u062D\u0647."},voice:{hearing:"\u064A\u0643\u062A\u0628 \u0645\u0627 \u0642\u0644\u062A\u0647",label:"\u0627\u0644\u0648\u0636\u0639 \u0627\u0644\u0635\u0648\u062A\u064A",listening:"\u064A\u0633\u062A\u0645\u0639",speaking:"\u064A\u062A\u062D\u062F\u062B"},verify:{failed:"\u062A\u0639\u0630\u0651\u0631\u062A \u0625\u0639\u0627\u062F\u0629 \u0625\u0631\u0633\u0627\u0644 \u0627\u0644\u0631\u0633\u0627\u0644\u0629.",ledeTo:"\u0644\u0644\u0625\u0643\u0645\u0627\u0644\u060C \u0627\u0641\u062A\u062D \u0627\u0644\u0631\u0627\u0628\u0637 \u0627\u0644\u0645\u064F\u0631\u0633\u0644 \u0625\u0644\u0649 {email}.",resend:"\u0625\u0639\u0627\u062F\u0629 \u0625\u0631\u0633\u0627\u0644 \u0631\u0633\u0627\u0644\u0629 \u0627\u0644\u062A\u0623\u0643\u064A\u062F",resent:"\u0623\u064F\u0631\u0633\u0644\u062A \u0631\u0633\u0627\u0644\u0629 \u0627\u0644\u062A\u0623\u0643\u064A\u062F",title:"\u062A\u0623\u0643\u064A\u062F \u0628\u0631\u064A\u062F\u0643 \u0627\u0644\u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A"}},de:{account:{deleteConfirmLede:"Alles darin wird endg\xFCltig gel\xF6scht.",deleteFailed:"Dein Konto konnte nicht gel\xF6scht werden.",deleteStale:"Um dein Konto zu l\xF6schen, musst du dich erneut anmelden.",deleted:"Dein Konto wurde gel\xF6scht.",loadFailed:"Deine Anmeldemethoden konnten nicht geladen werden.",wrongPassword:"Falsches Passwort."},auth:{agree:"Wenn du fortf\xE4hrst, stimmst du den {terms} und der {privacy} zu.",botCheckFailed:"Die Sicherheitspr\xFCfung ist fehlgeschlagen; versuch es noch einmal.",continueWith:"Weiter mit {provider}",createAccount:"Konto erstellen",failed:"Pr\xFCfe E-Mail-Adresse und Passwort.",mailFailed:"Die E-Mail konnte nicht gesendet werden; versuch es noch einmal.",orWithEmail:"oder per E-Mail",privacy:"Datenschutzerkl\xE4rung",terms:"Nutzungsbedingungen"},common:{email:"E-Mail",password:"Passwort",requestFailed:"Etwas ist schiefgelaufen; versuch es noch einmal.",send:"Senden",stop:"Stoppen",unreachable:"Keine Verbindung zum Server; pr\xFCfe deine Internetverbindung."},consent:{allow:"Erlauben",deny:"Nicht erlauben",failed:"Die Einstellung konnte nicht ge\xE4ndert werden; versuch es noch einmal.",heading:"Assistent",label:"Assistenten erlauben",line:"Deine Nachrichten, deine Stimme und was er liest, gehen an das KI-Modell.",memories:"Was sich der Assistent \xFCber dich merkt",messages:"Deine Nachrichten und Anh\xE4nge",model:"KI-Modell",receives:"Wer es erh\xE4lt",search:"Websuche",sent:"Was gesendet wird",title:"Assistenten erlauben?",training:"Keiner von ihnen trainiert damit ein Modell.",voice:"Deine Stimme im Sprachmodus"},forgot:{failed:"Die E-Mail zum Zur\xFCcksetzen konnte nicht gesendet werden.",lede:"Gib deine E-Mail-Adresse ein, um einen Link zum Zur\xFCcksetzen zu erhalten.",send:"Link senden",sentLede:"Falls es ein Konto f\xFCr {email} gibt, wurde ein Link zum Zur\xFCcksetzen gesendet.",sentTitle:"Sieh in dein Postfach",title:"Passwort zur\xFCcksetzen"},formatting:{blocks:"Bl\xF6cke",text:"Text",heading1:"\xDCberschrift 1",heading2:"\xDCberschrift 2",heading3:"\xDCberschrift 3",bulletList:"Aufz\xE4hlung",orderedList:"Nummerierte Liste",taskList:"Aufgabenliste",quote:"Zitat",table:"Tabelle",divider:"Trennlinie",code:"Code",formatting:"Formatierung",bold:"Fett",italic:"Kursiv",strike:"Durchgestrichen",inlineCode:"Code",link:"Link"},proposal:{applied:"Angewendet",applying:"Wird angewendet",approve:"Freigeben",discard:"Verwerfen",discarded:"Verworfen",failed:"Fehlgeschlagen"},photos:{adding:"{name} wird hinzugef\xFCgt",remove:"{name} entfernen",photo:"Foto",library:"Fotos",wrongType:"{name} ist kein Foto."},run:{lost:"Die Verbindung zum Assistenten wurde unterbrochen."},conversations:{title:"Unterhaltungen",search:"Unterhaltungen durchsuchen",none:"Keine Unterhaltungen",today:"Heute",yesterday:"Gestern",week:"Letzte 7 Tage",month:"Letzte 30 Tage"},pane:{assistant:"Assistent",starters:"Startvorschl\xE4ge"},pages:{pageTitle:"Seite {page}"},progress:{working:"Arbeitet"},product:{allowFirst:"Erlaube zuerst den Assistenten in {name}",open:"{name} \xF6ffnen"},thread:{message:"Nachricht"},documentRun:{paused:"Durch einen Neustart unterbrochen, dann fortgesetzt.",resuming:"Wird nach einem Neustart fortgesetzt"},runErrors:{model_refused:"Der Assistent hat das abgelehnt; formuliere es anders.",model_unreachable:"Der Assistent ist gerade nicht verf\xFCgbar; versuch es gleich noch einmal.",context_too_long:"Diese Nachricht ist zu lang; sende eine k\xFCrzere.",step_limit:"Der Assistent hat sein Schrittlimit erreicht; frag noch einmal, um fortzufahren.",model_overran:"Die Antwort des Assistenten war zu lang; frag noch einmal.",interrupted:"Der Assistent wurde unterbrochen; frag noch einmal.",internal:"Auf unserer Seite ist etwas schiefgelaufen.",check_failed:"Es konnte nicht gepr\xFCft werden; frag noch einmal.",unrepaired:"Eine Pr\xFCfung schl\xE4gt noch fehl; frag noch einmal, um weiter zu korrigieren."},voice:{hearing:"Schreibt mit",label:"Sprachmodus",listening:"H\xF6rt zu",speaking:"Spricht"},verify:{failed:"Die E-Mail konnte nicht erneut gesendet werden.",ledeTo:"\xD6ffne zum Abschlie\xDFen den Link, den wir an {email} geschickt haben.",resend:"Best\xE4tigung erneut senden",resent:"Best\xE4tigung gesendet",title:"E-Mail-Adresse best\xE4tigen"}},es:{account:{deleteConfirmLede:"Todo su contenido se elimina de forma permanente.",deleteFailed:"No se pudo eliminar tu cuenta.",deleteStale:"Para eliminar tu cuenta debes haber iniciado sesi\xF3n recientemente.",deleted:"Tu cuenta se ha eliminado.",loadFailed:"No se pudieron cargar tus m\xE9todos de acceso.",wrongPassword:"Contrase\xF1a incorrecta."},auth:{agree:"Al continuar, aceptas los {terms} y la {privacy}.",botCheckFailed:"No se super\xF3 la comprobaci\xF3n de seguridad; int\xE9ntalo de nuevo.",continueWith:"Continuar con {provider}",createAccount:"Crear cuenta",failed:"Revisa el correo electr\xF3nico y la contrase\xF1a.",mailFailed:"No se pudo enviar el correo; int\xE9ntalo de nuevo.",orWithEmail:"o con tu correo",privacy:"Pol\xEDtica de privacidad",terms:"T\xE9rminos"},common:{email:"Correo",password:"Contrase\xF1a",requestFailed:"Algo sali\xF3 mal; int\xE9ntalo de nuevo.",send:"Enviar",stop:"Detener",unreachable:"No se pudo conectar con el servidor; revisa tu conexi\xF3n."},consent:{allow:"Permitir",deny:"No permitir",failed:"No se pudo cambiar el ajuste; int\xE9ntalo de nuevo.",heading:"Asistente",label:"Permitir el asistente",line:"Tus mensajes, tu voz y lo que lee van al modelo de IA.",memories:"Lo que el asistente recuerda de ti",messages:"Tus mensajes y archivos adjuntos",model:"Modelo de IA",receives:"Qui\xE9n lo recibe",search:"B\xFAsqueda web",sent:"Qu\xE9 se env\xEDa",title:"\xBFPermitir el asistente?",training:"Ninguno lo usa para entrenar un modelo.",voice:"Tu voz en el modo de voz"},forgot:{failed:"No se pudo enviar el correo de restablecimiento.",lede:"Escribe tu correo electr\xF3nico para recibir un enlace de restablecimiento.",send:"Enviar enlace",sentLede:"Si existe una cuenta para {email}, se ha enviado un enlace de restablecimiento.",sentTitle:"Revisa tu bandeja de entrada",title:"Restablece tu contrase\xF1a"},formatting:{blocks:"Bloques",text:"Texto",heading1:"T\xEDtulo 1",heading2:"T\xEDtulo 2",heading3:"T\xEDtulo 3",bulletList:"Lista con vi\xF1etas",orderedList:"Lista numerada",taskList:"Lista de tareas",quote:"Cita",table:"Tabla",divider:"Divisor",code:"C\xF3digo",formatting:"Formato",bold:"Negrita",italic:"Cursiva",strike:"Tachado",inlineCode:"C\xF3digo",link:"Enlace"},proposal:{applied:"Aplicado",applying:"Aplicando",approve:"Aprobar",discard:"Descartar",discarded:"Descartado",failed:"Fall\xF3"},photos:{adding:"A\xF1adiendo {name}",remove:"Quitar {name}",photo:"Foto",library:"Fotos",wrongType:"{name} no es una foto."},run:{lost:"Se perdi\xF3 la conexi\xF3n con el asistente."},conversations:{title:"Conversaciones",search:"Buscar conversaciones",none:"No hay conversaciones",today:"Hoy",yesterday:"Ayer",week:"\xDAltimos 7 d\xEDas",month:"\xDAltimos 30 d\xEDas"},pane:{assistant:"Asistente",starters:"Formas de empezar"},pages:{pageTitle:"P\xE1gina {page}"},progress:{working:"Trabajando"},product:{allowFirst:"Permite primero el asistente en {name}",open:"Abrir {name}"},thread:{message:"Mensaje"},documentRun:{paused:"Interrumpido por un reinicio y luego reanudado.",resuming:"Reanudando tras un reinicio"},runErrors:{model_refused:"El asistente rechaz\xF3 esa solicitud; intenta reformularla.",model_unreachable:"El asistente no est\xE1 disponible ahora mismo; int\xE9ntalo de nuevo en breve.",context_too_long:"Este mensaje es demasiado largo; env\xEDa uno m\xE1s corto.",step_limit:"El asistente alcanz\xF3 su l\xEDmite de pasos; vuelve a pedirlo para continuar.",model_overran:"La respuesta del asistente fue demasiado larga; vuelve a pedirlo.",interrupted:"El asistente se interrumpi\xF3; vuelve a pedirlo.",internal:"Algo sali\xF3 mal por nuestra parte.",check_failed:"No se pudo comprobar; vuelve a pedirlo.",unrepaired:"A\xFAn falla una comprobaci\xF3n; vuelve a pedirlo para seguir corrigi\xE9ndolo."},voice:{hearing:"Transcribiendo",label:"Modo de voz",listening:"Escuchando",speaking:"Hablando"},verify:{failed:"No se pudo reenviar el correo.",ledeTo:"Para terminar, abre el enlace enviado a {email}.",resend:"Reenviar correo de verificaci\xF3n",resent:"Correo de verificaci\xF3n enviado",title:"Verifica tu correo"}},fr:{account:{deleteConfirmLede:"Tout son contenu est supprim\xE9 d\xE9finitivement.",deleteFailed:"Impossible de supprimer votre compte.",deleteStale:"La suppression de votre compte n\xE9cessite une connexion r\xE9cente.",deleted:"Votre compte a \xE9t\xE9 supprim\xE9.",loadFailed:"Impossible de charger vos m\xE9thodes de connexion.",wrongPassword:"Mot de passe incorrect."},auth:{agree:"En continuant, vous acceptez les {terms} et la {privacy}.",botCheckFailed:"La v\xE9rification de s\xE9curit\xE9 a \xE9chou\xE9 ; r\xE9essayez.",continueWith:"Continuer avec {provider}",createAccount:"Cr\xE9er un compte",failed:"V\xE9rifiez l'adresse e-mail et le mot de passe.",mailFailed:"Impossible d'envoyer l'e-mail ; r\xE9essayez.",orWithEmail:"ou par e-mail",privacy:"Politique de confidentialit\xE9",terms:"Conditions d'utilisation"},common:{email:"E-mail",password:"Mot de passe",requestFailed:"Une erreur s'est produite ; r\xE9essayez.",send:"Envoyer",stop:"Arr\xEAter",unreachable:"Impossible de joindre le serveur ; v\xE9rifiez votre connexion Internet."},consent:{allow:"Autoriser",deny:"Ne pas autoriser",failed:"Impossible de modifier le r\xE9glage ; r\xE9essayez.",heading:"Assistant",label:"Autoriser l'assistant",line:"Vos messages, votre voix et ce qu'il lit sont envoy\xE9s au mod\xE8le d'IA.",memories:"Ce dont l'assistant se souvient \xE0 votre sujet",messages:"Vos messages et pi\xE8ces jointes",model:"Mod\xE8le d'IA",receives:"Qui le re\xE7oit",search:"Recherche web",sent:"Ce qui est envoy\xE9",title:"Autoriser l'assistant ?",training:"Aucun ne s'en sert pour entra\xEEner un mod\xE8le.",voice:"Votre voix en mode vocal"},forgot:{failed:"Impossible d'envoyer l'e-mail de r\xE9initialisation.",lede:"Saisissez votre adresse e-mail pour recevoir un lien de r\xE9initialisation.",send:"Envoyer le lien",sentLede:"S'il existe un compte pour {email}, un lien de r\xE9initialisation a \xE9t\xE9 envoy\xE9.",sentTitle:"Consultez votre bo\xEEte de r\xE9ception",title:"R\xE9initialiser le mot de passe"},formatting:{blocks:"Blocs",text:"Texte",heading1:"Titre 1",heading2:"Titre 2",heading3:"Titre 3",bulletList:"Liste \xE0 puces",orderedList:"Liste num\xE9rot\xE9e",taskList:"Liste de t\xE2ches",quote:"Citation",table:"Tableau",divider:"S\xE9parateur",code:"Code",formatting:"Mise en forme",bold:"Gras",italic:"Italique",strike:"Barr\xE9",inlineCode:"Code",link:"Lien"},proposal:{applied:"Appliqu\xE9",applying:"Application",approve:"Approuver",discard:"Rejeter",discarded:"Rejet\xE9",failed:"\xC9chou\xE9"},photos:{adding:"Ajout de {name}",remove:"Retirer {name}",photo:"Photo",library:"Photos",wrongType:"{name} n'est pas une photo."},run:{lost:"La connexion \xE0 l'assistant a \xE9t\xE9 perdue."},conversations:{title:"Conversations",search:"Rechercher dans les conversations",none:"Aucune conversation",today:"Aujourd'hui",yesterday:"Hier",week:"7 derniers jours",month:"30 derniers jours"},pane:{assistant:"Assistant",starters:"Pour commencer"},pages:{pageTitle:"Page {page}"},progress:{working:"En cours"},product:{allowFirst:"Autorisez d'abord l'assistant dans {name}",open:"Ouvrir {name}"},thread:{message:"Message"},documentRun:{paused:"Interrompu par un red\xE9marrage, puis repris.",resuming:"Reprise apr\xE8s un red\xE9marrage"},runErrors:{model_refused:"L'assistant a refus\xE9 ; essayez de reformuler.",model_unreachable:"L'assistant est indisponible pour le moment ; r\xE9essayez dans un instant.",context_too_long:"Ce message est trop long ; envoyez-en un plus court.",step_limit:"L'assistant a atteint sa limite d'\xE9tapes ; redemandez pour continuer.",model_overran:"La r\xE9ponse de l'assistant \xE9tait trop longue ; redemandez.",interrupted:"L'assistant a \xE9t\xE9 interrompu ; redemandez.",internal:"Une erreur s'est produite de notre c\xF4t\xE9.",check_failed:"La v\xE9rification n'a pas pu se faire ; redemandez.",unrepaired:"Une v\xE9rification \xE9choue encore ; redemandez pour continuer \xE0 corriger."},voice:{hearing:"Transcription",label:"Mode vocal",listening:"\xC0 l'\xE9coute",speaking:"Lecture \xE0 voix haute"},verify:{failed:"Impossible de renvoyer l'e-mail.",ledeTo:"Pour terminer, ouvrez le lien envoy\xE9 \xE0 {email}.",resend:"Renvoyer l'e-mail de v\xE9rification",resent:"E-mail de v\xE9rification envoy\xE9",title:"V\xE9rifiez votre adresse e-mail"}},ja:{account:{deleteConfirmLede:"\u30A2\u30AB\u30A6\u30F3\u30C8\u5185\u306E\u3059\u3079\u3066\u304C\u5B8C\u5168\u306B\u524A\u9664\u3055\u308C\u307E\u3059\u3002",deleteFailed:"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u524A\u9664\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002",deleteStale:"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u524A\u9664\u306B\u306F\u3001\u76F4\u8FD1\u306E\u30B5\u30A4\u30F3\u30A4\u30F3\u304C\u5FC5\u8981\u3067\u3059\u3002",deleted:"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u524A\u9664\u3057\u307E\u3057\u305F\u3002",loadFailed:"\u30B5\u30A4\u30F3\u30A4\u30F3\u65B9\u6CD5\u3092\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F\u3002",wrongPassword:"\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u6B63\u3057\u304F\u3042\u308A\u307E\u305B\u3093\u3002"},auth:{agree:"\u7D9A\u884C\u3059\u308B\u3068\u3001{terms}\u3068{privacy}\u306B\u540C\u610F\u3057\u305F\u3053\u3068\u306B\u306A\u308A\u307E\u3059\u3002",botCheckFailed:"\u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u78BA\u8A8D\u306B\u5931\u6557\u3057\u305F\u305F\u3081\u3001\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",continueWith:"{provider}\u3067\u7D9A\u3051\u308B",createAccount:"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u6210",failed:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3068\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002",mailFailed:"\u30E1\u30FC\u30EB\u3092\u9001\u4FE1\u3067\u304D\u306A\u304B\u3063\u305F\u305F\u3081\u3001\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",orWithEmail:"\u307E\u305F\u306F\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3067",privacy:"\u30D7\u30E9\u30A4\u30D0\u30B7\u30FC\u30DD\u30EA\u30B7\u30FC",terms:"\u5229\u7528\u898F\u7D04"},common:{email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",password:"\u30D1\u30B9\u30EF\u30FC\u30C9",requestFailed:"\u554F\u984C\u304C\u767A\u751F\u3057\u305F\u305F\u3081\u3001\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",send:"\u9001\u4FE1",stop:"\u505C\u6B62",unreachable:"\u30B5\u30FC\u30D0\u30FC\u306B\u63A5\u7D9A\u3067\u304D\u306A\u304B\u3063\u305F\u305F\u3081\u3001\u901A\u4FE1\u74B0\u5883\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},consent:{allow:"\u8A31\u53EF",deny:"\u8A31\u53EF\u3057\u306A\u3044",failed:"\u8A2D\u5B9A\u3092\u5909\u66F4\u3067\u304D\u306A\u304B\u3063\u305F\u305F\u3081\u3001\u3082\u3046\u4E00\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",heading:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8",label:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u3092\u8A31\u53EF",line:"\u30E1\u30C3\u30BB\u30FC\u30B8\u3001\u97F3\u58F0\u3001\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u304C\u8AAD\u3093\u3060\u5185\u5BB9\u304C AI \u30E2\u30C7\u30EB\u306B\u9001\u3089\u308C\u307E\u3059\u3002",memories:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u304C\u899A\u3048\u3066\u3044\u308B\u3042\u306A\u305F\u306E\u3053\u3068",messages:"\u30E1\u30C3\u30BB\u30FC\u30B8\u3068\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB",model:"AI \u30E2\u30C7\u30EB",receives:"\u9001\u4FE1\u5148",search:"\u30A6\u30A7\u30D6\u691C\u7D22",sent:"\u9001\u4FE1\u3055\u308C\u308B\u5185\u5BB9",title:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u3092\u8A31\u53EF\u3057\u307E\u3059\u304B\uFF1F",training:"\u3044\u305A\u308C\u3082\u30E2\u30C7\u30EB\u306E\u5B66\u7FD2\u306B\u4F7F\u3044\u307E\u305B\u3093\u3002",voice:"\u97F3\u58F0\u30E2\u30FC\u30C9\u3067\u306E\u97F3\u58F0"},forgot:{failed:"\u518D\u8A2D\u5B9A\u30E1\u30FC\u30EB\u3092\u9001\u4FE1\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002",lede:"\u518D\u8A2D\u5B9A\u30EA\u30F3\u30AF\u3092\u53D7\u3051\u53D6\u308B\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002",send:"\u518D\u8A2D\u5B9A\u30EA\u30F3\u30AF\u3092\u9001\u308B",sentLede:"{email} \u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u5B58\u5728\u3059\u308B\u5834\u5408\u306F\u3001\u518D\u8A2D\u5B9A\u30EA\u30F3\u30AF\u3092\u9001\u4FE1\u3057\u307E\u3057\u305F\u3002",sentTitle:"\u53D7\u4FE1\u30C8\u30EC\u30A4\u3092\u78BA\u8A8D\u3057\u3066\u304F\u3060\u3055\u3044",title:"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u518D\u8A2D\u5B9A"},formatting:{blocks:"\u30D6\u30ED\u30C3\u30AF",text:"\u30C6\u30AD\u30B9\u30C8",heading1:"\u898B\u51FA\u30571",heading2:"\u898B\u51FA\u30572",heading3:"\u898B\u51FA\u30573",bulletList:"\u7B87\u6761\u66F8\u304D",orderedList:"\u756A\u53F7\u4ED8\u304D\u30EA\u30B9\u30C8",taskList:"ToDo\u30EA\u30B9\u30C8",quote:"\u5F15\u7528",table:"\u8868",divider:"\u533A\u5207\u308A\u7DDA",code:"\u30B3\u30FC\u30C9",formatting:"\u66F8\u5F0F",bold:"\u592A\u5B57",italic:"\u659C\u4F53",strike:"\u53D6\u308A\u6D88\u3057\u7DDA",inlineCode:"\u30B3\u30FC\u30C9",link:"\u30EA\u30F3\u30AF"},proposal:{applied:"\u9069\u7528\u6E08\u307F",applying:"\u9069\u7528\u4E2D",approve:"\u627F\u8A8D",discard:"\u7834\u68C4",discarded:"\u7834\u68C4\u6E08\u307F",failed:"\u5931\u6557"},photos:{adding:"{name}\u3092\u8FFD\u52A0\u4E2D",remove:"{name}\u3092\u524A\u9664",photo:"\u5199\u771F",library:"\u5199\u771F",wrongType:"{name}\u306F\u5199\u771F\u3067\u306F\u3042\u308A\u307E\u305B\u3093\u3002"},run:{lost:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u3068\u306E\u63A5\u7D9A\u304C\u5207\u308C\u307E\u3057\u305F\u3002"},conversations:{title:"\u4F1A\u8A71\u4E00\u89A7",search:"\u4F1A\u8A71\u3092\u691C\u7D22",none:"\u4F1A\u8A71\u306F\u3042\u308A\u307E\u305B\u3093",today:"\u4ECA\u65E5",yesterday:"\u6628\u65E5",week:"\u904E\u53BB 7 \u65E5\u9593",month:"\u904E\u53BB 30 \u65E5\u9593"},pane:{assistant:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8",starters:"\u306F\u3058\u3081\u65B9"},pages:{pageTitle:"{page}\u30DA\u30FC\u30B8\u76EE"},progress:{working:"\u4F5C\u696D\u4E2D"},product:{allowFirst:"\u5148\u306B{name}\u3067\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u3092\u8A31\u53EF\u3057\u3066\u304F\u3060\u3055\u3044",open:"{name}\u3092\u958B\u304F"},thread:{message:"\u30E1\u30C3\u30BB\u30FC\u30B8"},documentRun:{paused:"\u518D\u8D77\u52D5\u3067\u4E2D\u65AD\u3055\u308C\u3001\u305D\u306E\u5F8C\u518D\u958B\u3057\u307E\u3057\u305F\u3002",resuming:"\u518D\u8D77\u52D5\u5F8C\u306B\u518D\u958B\u3057\u3066\u3044\u307E\u3059"},runErrors:{model_refused:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u304C\u5FDC\u3058\u306A\u304B\u3063\u305F\u305F\u3081\u3001\u8A00\u3044\u65B9\u3092\u5909\u3048\u3066\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",model_unreachable:"\u73FE\u5728\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u3092\u5229\u7528\u3067\u304D\u306A\u3044\u305F\u3081\u3001\u3057\u3070\u3089\u304F\u3057\u3066\u304B\u3089\u304A\u8A66\u3057\u304F\u3060\u3055\u3044\u3002",context_too_long:"\u30E1\u30C3\u30BB\u30FC\u30B8\u304C\u9577\u3059\u304E\u308B\u305F\u3081\u3001\u77ED\u304F\u3057\u3066\u9001\u308A\u76F4\u3057\u3066\u304F\u3060\u3055\u3044\u3002",step_limit:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u304C\u624B\u9806\u306E\u4E0A\u9650\u306B\u9054\u3057\u305F\u305F\u3081\u3001\u7D9A\u3051\u308B\u306B\u306F\u3082\u3046\u4E00\u5EA6\u8CEA\u554F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",model_overran:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u306E\u8FD4\u7B54\u304C\u9577\u3059\u304E\u305F\u305F\u3081\u3001\u3082\u3046\u4E00\u5EA6\u8CEA\u554F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",interrupted:"\u30A2\u30B7\u30B9\u30BF\u30F3\u30C8\u304C\u4E2D\u65AD\u3055\u308C\u305F\u305F\u3081\u3001\u3082\u3046\u4E00\u5EA6\u8CEA\u554F\u3057\u3066\u304F\u3060\u3055\u3044\u3002",internal:"\u3053\u3061\u3089\u5074\u3067\u554F\u984C\u304C\u767A\u751F\u3057\u307E\u3057\u305F\u3002",check_failed:"\u691C\u67FB\u3067\u304D\u306A\u304B\u3063\u305F\u305F\u3081\u3001\u3082\u3046\u4E00\u5EA6\u4F9D\u983C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",unrepaired:"\u307E\u3060\u691C\u67FB\u306B\u901A\u3089\u306A\u3044\u305F\u3081\u3001\u4FEE\u6B63\u3092\u7D9A\u3051\u308B\u306B\u306F\u3082\u3046\u4E00\u5EA6\u4F9D\u983C\u3057\u3066\u304F\u3060\u3055\u3044\u3002"},voice:{hearing:"\u66F8\u304D\u8D77\u3053\u3057\u4E2D",label:"\u97F3\u58F0\u30E2\u30FC\u30C9",listening:"\u805E\u3044\u3066\u3044\u307E\u3059",speaking:"\u8AAD\u307F\u4E0A\u3052\u4E2D"},verify:{failed:"\u30E1\u30FC\u30EB\u3092\u518D\u9001\u4FE1\u3067\u304D\u307E\u305B\u3093\u3067\u3057\u305F\u3002",ledeTo:"{email} \u306B\u9001\u4FE1\u3057\u305F\u30EA\u30F3\u30AF\u3092\u958B\u3044\u3066\u5B8C\u4E86\u3057\u3066\u304F\u3060\u3055\u3044\u3002",resend:"\u78BA\u8A8D\u30E1\u30FC\u30EB\u3092\u518D\u9001",resent:"\u78BA\u8A8D\u30E1\u30FC\u30EB\u3092\u9001\u308A\u307E\u3057\u305F",title:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u78BA\u8A8D"}},ko:{account:{deleteConfirmLede:"\uACC4\uC815\uC758 \uBAA8\uB4E0 \uB0B4\uC6A9\uC774 \uC601\uAD6C\uC801\uC73C\uB85C \uC0AD\uC81C\uB429\uB2C8\uB2E4.",deleteFailed:"\uACC4\uC815\uC744 \uC0AD\uC81C\uD558\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",deleteStale:"\uACC4\uC815\uC744 \uC0AD\uC81C\uD558\uB824\uBA74 \uCD5C\uADFC \uB85C\uADF8\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4.",deleted:"\uACC4\uC815\uC774 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4.",loadFailed:"\uB85C\uADF8\uC778 \uBC29\uBC95\uC744 \uBD88\uB7EC\uC624\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",wrongPassword:"\uBE44\uBC00\uBC88\uD638\uAC00 \uC62C\uBC14\uB974\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."},auth:{agree:"\uACC4\uC18D\uD558\uBA74 {terms} \uBC0F {privacy}\uC5D0 \uB3D9\uC758\uD558\uB294 \uAC83\uC73C\uB85C \uAC04\uC8FC\uB429\uB2C8\uB2E4.",botCheckFailed:"\uBCF4\uC548 \uD655\uC778\uC744 \uD1B5\uACFC\uD558\uC9C0 \uBABB\uD588\uC73C\uB2C8 \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694.",continueWith:"{provider}\uB85C \uACC4\uC18D",createAccount:"\uACC4\uC815 \uB9CC\uB4E4\uAE30",failed:"\uC774\uBA54\uC77C \uC8FC\uC18C\uC640 \uBE44\uBC00\uBC88\uD638\uB97C \uD655\uC778\uD558\uC138\uC694.",mailFailed:"\uC774\uBA54\uC77C\uC744 \uBCF4\uB0B4\uC9C0 \uBABB\uD588\uC73C\uB2C8 \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694.",orWithEmail:"\uB610\uB294 \uC774\uBA54\uC77C\uB85C",privacy:"\uAC1C\uC778\uC815\uBCF4 \uCC98\uB9AC\uBC29\uCE68",terms:"\uC774\uC6A9\uC57D\uAD00"},common:{email:"\uC774\uBA54\uC77C",password:"\uBE44\uBC00\uBC88\uD638",requestFailed:"\uBB38\uC81C\uAC00 \uBC1C\uC0DD\uD588\uC73C\uB2C8 \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694.",send:"\uBCF4\uB0B4\uAE30",stop:"\uC911\uC9C0",unreachable:"\uC11C\uBC84\uC5D0 \uC5F0\uACB0\uD558\uC9C0 \uBABB\uD588\uC73C\uB2C8 \uB124\uD2B8\uC6CC\uD06C \uC5F0\uACB0\uC744 \uD655\uC778\uD558\uC138\uC694."},consent:{allow:"\uD5C8\uC6A9",deny:"\uD5C8\uC6A9 \uC548 \uD568",failed:"\uC124\uC815\uC744 \uBCC0\uACBD\uD558\uC9C0 \uBABB\uD588\uC73C\uB2C8 \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694.",heading:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8",label:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8 \uD5C8\uC6A9",line:"\uBA54\uC2DC\uC9C0, \uC74C\uC131, \uC5B4\uC2DC\uC2A4\uD134\uD2B8\uAC00 \uC77D\uC740 \uB0B4\uC6A9\uC774 AI \uBAA8\uB378\uB85C \uC804\uC1A1\uB429\uB2C8\uB2E4.",memories:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uAC00 \uAE30\uC5B5\uD558\uB294 \uB0B4 \uC815\uBCF4",messages:"\uB0B4 \uBA54\uC2DC\uC9C0\uC640 \uCCA8\uBD80 \uD30C\uC77C",model:"AI \uBAA8\uB378",receives:"\uBC1B\uB294 \uACF3",search:"\uC6F9 \uAC80\uC0C9",sent:"\uC804\uC1A1\uB418\uB294 \uB0B4\uC6A9",title:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uB97C \uD5C8\uC6A9\uD560\uAE4C\uC694?",training:"\uC5B4\uB290 \uACF3\uB3C4 \uBAA8\uB378 \uD559\uC2B5\uC5D0 \uC4F0\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",voice:"\uC74C\uC131 \uBAA8\uB4DC\uC758 \uB0B4 \uBAA9\uC18C\uB9AC"},forgot:{failed:"\uC7AC\uC124\uC815 \uC774\uBA54\uC77C\uC744 \uBCF4\uB0B4\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",lede:"\uC7AC\uC124\uC815 \uB9C1\uD06C\uB97C \uBC1B\uC73C\uB824\uBA74 \uC774\uBA54\uC77C \uC8FC\uC18C\uB97C \uC785\uB825\uD558\uC138\uC694.",send:"\uC7AC\uC124\uC815 \uB9C1\uD06C \uBCF4\uB0B4\uAE30",sentLede:"{email} \uACC4\uC815\uC774 \uC788\uB2E4\uBA74 \uC7AC\uC124\uC815 \uB9C1\uD06C\uB97C \uBCF4\uB0C8\uC2B5\uB2C8\uB2E4.",sentTitle:"\uBC1B\uC740\uD3B8\uC9C0\uD568\uC744 \uD655\uC778\uD558\uC138\uC694",title:"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815"},formatting:{blocks:"\uBE14\uB85D",text:"\uD14D\uC2A4\uD2B8",heading1:"\uC81C\uBAA9 1",heading2:"\uC81C\uBAA9 2",heading3:"\uC81C\uBAA9 3",bulletList:"\uAE00\uBA38\uB9AC \uAE30\uD638 \uBAA9\uB85D",orderedList:"\uBC88\uD638 \uB9E4\uAE30\uAE30 \uBAA9\uB85D",taskList:"\uD560 \uC77C \uBAA9\uB85D",quote:"\uC778\uC6A9",table:"\uD45C",divider:"\uAD6C\uBD84\uC120",code:"\uCF54\uB4DC",formatting:"\uC11C\uC2DD",bold:"\uAD75\uAC8C",italic:"\uAE30\uC6B8\uC784\uAF34",strike:"\uCDE8\uC18C\uC120",inlineCode:"\uCF54\uB4DC",link:"\uB9C1\uD06C"},proposal:{applied:"\uC801\uC6A9\uB428",applying:"\uC801\uC6A9 \uC911",approve:"\uC2B9\uC778",discard:"\uBC84\uB9AC\uAE30",discarded:"\uBC84\uB824\uC9D0",failed:"\uC2E4\uD328"},photos:{adding:"{name} \uCD94\uAC00 \uC911",remove:"{name} \uC81C\uAC70",photo:"\uC0AC\uC9C4",library:"\uC0AC\uC9C4",wrongType:"{name}\uC740(\uB294) \uC0AC\uC9C4\uC774 \uC544\uB2D9\uB2C8\uB2E4."},run:{lost:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uC640\uC758 \uC5F0\uACB0\uC774 \uB04A\uACBC\uC2B5\uB2C8\uB2E4."},conversations:{title:"\uB300\uD654 \uBAA9\uB85D",search:"\uB300\uD654 \uAC80\uC0C9",none:"\uB300\uD654 \uC5C6\uC74C",today:"\uC624\uB298",yesterday:"\uC5B4\uC81C",week:"\uC9C0\uB09C 7\uC77C",month:"\uC9C0\uB09C 30\uC77C"},pane:{assistant:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8",starters:"\uC2DC\uC791\uD558\uAE30"},pages:{pageTitle:"{page}\uD398\uC774\uC9C0"},progress:{working:"\uC791\uC5C5 \uC911"},product:{allowFirst:"\uBA3C\uC800 {name}\uC5D0\uC11C \uC5B4\uC2DC\uC2A4\uD134\uD2B8\uB97C \uD5C8\uC6A9\uD558\uC138\uC694",open:"{name} \uC5F4\uAE30"},thread:{message:"\uBA54\uC2DC\uC9C0"},documentRun:{paused:"\uC7AC\uC2DC\uC791\uC73C\uB85C \uC911\uB2E8\uB418\uC5C8\uB2E4\uAC00 \uB2E4\uC2DC \uC774\uC5B4\uC84C\uC2B5\uB2C8\uB2E4.",resuming:"\uC7AC\uC2DC\uC791 \uD6C4 \uB2E4\uC2DC \uC774\uC5B4\uAC00\uB294 \uC911"},runErrors:{model_refused:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uAC00 \uC694\uCCAD\uC744 \uAC70\uC808\uD588\uC73C\uB2C8 \uB2E4\uB974\uAC8C \uD45C\uD604\uD574 \uBCF4\uC138\uC694.",model_unreachable:"\uC9C0\uAE08\uC740 \uC5B4\uC2DC\uC2A4\uD134\uD2B8\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC5C6\uC73C\uB2C8 \uC7A0\uC2DC \uD6C4 \uB2E4\uC2DC \uC2DC\uB3C4\uD558\uC138\uC694.",context_too_long:"\uBA54\uC2DC\uC9C0\uAC00 \uB108\uBB34 \uAE30\uB2C8 \uB354 \uC9E7\uAC8C \uBCF4\uB0B4\uC138\uC694.",step_limit:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uAC00 \uB2E8\uACC4 \uD55C\uB3C4\uC5D0 \uB3C4\uB2EC\uD588\uC73C\uB2C8 \uACC4\uC18D\uD558\uB824\uBA74 \uB2E4\uC2DC \uC694\uCCAD\uD558\uC138\uC694.",model_overran:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uC758 \uB2F5\uBCC0\uC774 \uB108\uBB34 \uAE38\uC5C8\uC73C\uB2C8 \uB2E4\uC2DC \uC694\uCCAD\uD558\uC138\uC694.",interrupted:"\uC5B4\uC2DC\uC2A4\uD134\uD2B8\uAC00 \uC911\uB2E8\uB418\uC5C8\uC73C\uB2C8 \uB2E4\uC2DC \uC694\uCCAD\uD558\uC138\uC694.",internal:"\uC800\uD76C \uCABD\uC5D0\uC11C \uBB38\uC81C\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4.",check_failed:"\uAC80\uC0AC\uD558\uC9C0 \uBABB\uD588\uC73C\uB2C8 \uB2E4\uC2DC \uC694\uCCAD\uD558\uC138\uC694.",unrepaired:"\uC544\uC9C1 \uAC80\uC0AC\uB97C \uD1B5\uACFC\uD558\uC9C0 \uBABB\uD588\uC73C\uB2C8 \uACC4\uC18D \uACE0\uCE58\uB824\uBA74 \uB2E4\uC2DC \uC694\uCCAD\uD558\uC138\uC694."},voice:{hearing:"\uBC1B\uC544\uC4F0\uB294 \uC911",label:"\uC74C\uC131 \uBAA8\uB4DC",listening:"\uB4E3\uB294 \uC911",speaking:"\uC77D\uC5B4 \uC8FC\uB294 \uC911"},verify:{failed:"\uC774\uBA54\uC77C\uC744 \uB2E4\uC2DC \uBCF4\uB0B4\uC9C0 \uBABB\uD588\uC2B5\uB2C8\uB2E4.",ledeTo:"\uC644\uB8CC\uD558\uB824\uBA74 {email}\uB85C \uBCF4\uB0B8 \uB9C1\uD06C\uB97C \uC5EC\uC138\uC694.",resend:"\uD655\uC778 \uBA54\uC77C \uB2E4\uC2DC \uBCF4\uB0B4\uAE30",resent:"\uD655\uC778 \uBA54\uC77C\uC744 \uBCF4\uB0C8\uC2B5\uB2C8\uB2E4",title:"\uC774\uBA54\uC77C \uD655\uC778"}},pt:{account:{deleteConfirmLede:"Tudo nela \xE9 exclu\xEDdo permanentemente.",deleteFailed:"N\xE3o foi poss\xEDvel excluir sua conta.",deleteStale:"Excluir sua conta exige um login recente.",deleted:"Sua conta foi exclu\xEDda.",loadFailed:"N\xE3o foi poss\xEDvel carregar suas formas de login.",wrongPassword:"Senha incorreta."},auth:{agree:"Ao continuar, voc\xEA concorda com os {terms} e a {privacy}.",botCheckFailed:"A verifica\xE7\xE3o de seguran\xE7a falhou; tente novamente.",continueWith:"Continuar com {provider}",createAccount:"Criar conta",failed:"Verifique o endere\xE7o de e-mail e a senha.",mailFailed:"N\xE3o foi poss\xEDvel enviar o e-mail; tente novamente.",orWithEmail:"ou com e-mail",privacy:"Pol\xEDtica de privacidade",terms:"Termos"},common:{email:"E-mail",password:"Senha",requestFailed:"Algo deu errado; tente novamente.",send:"Enviar",stop:"Parar",unreachable:"N\xE3o foi poss\xEDvel conectar ao servidor; verifique sua conex\xE3o."},consent:{allow:"Permitir",deny:"N\xE3o permitir",failed:"N\xE3o foi poss\xEDvel alterar a configura\xE7\xE3o; tente novamente.",heading:"Assistente",label:"Permitir o assistente",line:"Suas mensagens, sua voz e o que ele l\xEA v\xE3o para o modelo de IA.",memories:"O que o assistente lembra sobre voc\xEA",messages:"Suas mensagens e anexos",model:"Modelo de IA",receives:"Quem recebe",search:"Pesquisa na web",sent:"O que \xE9 enviado",title:"Permitir o assistente?",training:"Nenhum deles o usa para treinar um modelo.",voice:"Sua voz no modo de voz"},forgot:{failed:"N\xE3o foi poss\xEDvel enviar o e-mail de redefini\xE7\xE3o.",lede:"Digite seu endere\xE7o de e-mail para receber um link de redefini\xE7\xE3o.",send:"Enviar link",sentLede:"Se existir uma conta para {email}, um link de redefini\xE7\xE3o foi enviado.",sentTitle:"Verifique sua caixa de entrada",title:"Redefina sua senha"},formatting:{blocks:"Blocos",text:"Texto",heading1:"T\xEDtulo 1",heading2:"T\xEDtulo 2",heading3:"T\xEDtulo 3",bulletList:"Lista com marcadores",orderedList:"Lista numerada",taskList:"Lista de tarefas",quote:"Cita\xE7\xE3o",table:"Tabela",divider:"Divisor",code:"C\xF3digo",formatting:"Formata\xE7\xE3o",bold:"Negrito",italic:"It\xE1lico",strike:"Tachado",inlineCode:"C\xF3digo",link:"Link"},proposal:{applied:"Aplicada",applying:"Aplicando",approve:"Aprovar",discard:"Descartar",discarded:"Descartada",failed:"Falhou"},photos:{adding:"Adicionando {name}",remove:"Remover {name}",photo:"Foto",library:"Fotos",wrongType:"{name} n\xE3o \xE9 uma foto."},run:{lost:"A conex\xE3o com o assistente foi perdida."},conversations:{title:"Conversas",search:"Pesquisar conversas",none:"Nenhuma conversa",today:"Hoje",yesterday:"Ontem",week:"\xDAltimos 7 dias",month:"\xDAltimos 30 dias"},pane:{assistant:"Assistente",starters:"Formas de come\xE7ar"},pages:{pageTitle:"P\xE1gina {page}"},progress:{working:"Trabalhando"},product:{allowFirst:"Permita primeiro o assistente no {name}",open:"Abrir {name}"},thread:{message:"Mensagem"},documentRun:{paused:"Interrompido por uma reinicializa\xE7\xE3o e depois retomado.",resuming:"Retomando ap\xF3s uma reinicializa\xE7\xE3o"},runErrors:{model_refused:"O assistente recusou isso; tente reformular.",model_unreachable:"O assistente est\xE1 indispon\xEDvel no momento; tente novamente em breve.",context_too_long:"Esta mensagem \xE9 longa demais; envie uma mais curta.",step_limit:"O assistente atingiu o limite de etapas; pe\xE7a novamente para continuar.",model_overran:"A resposta do assistente ficou longa demais; pe\xE7a novamente.",interrupted:"O assistente foi interrompido; pe\xE7a novamente.",internal:"Algo deu errado do nosso lado.",check_failed:"N\xE3o foi poss\xEDvel verificar; pe\xE7a novamente.",unrepaired:"Ainda falha numa verifica\xE7\xE3o; pe\xE7a novamente para continuar a corrigir."},voice:{hearing:"Transcrevendo",label:"Modo de voz",listening:"Ouvindo",speaking:"Lendo em voz alta"},verify:{failed:"N\xE3o foi poss\xEDvel reenviar o e-mail.",ledeTo:"Para concluir, abra o link enviado para {email}.",resend:"Reenviar e-mail de verifica\xE7\xE3o",resent:"E-mail de verifica\xE7\xE3o enviado",title:"Verifique seu e-mail"}},ru:{account:{deleteConfirmLede:"\u0412\u0441\u0451 \u0435\u0433\u043E \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0443\u0434\u0430\u043B\u044F\u0435\u0442\u0441\u044F \u0431\u0435\u0437\u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043D\u043E.",deleteFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u0430\u043A\u043A\u0430\u0443\u043D\u0442.",deleteStale:"\u0414\u043B\u044F \u0443\u0434\u0430\u043B\u0435\u043D\u0438\u044F \u0430\u043A\u043A\u0430\u0443\u043D\u0442\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044F \u043D\u0435\u0434\u0430\u0432\u043D\u0438\u0439 \u0432\u0445\u043E\u0434.",deleted:"\u0412\u0430\u0448 \u0430\u043A\u043A\u0430\u0443\u043D\u0442 \u0443\u0434\u0430\u043B\u0451\u043D.",loadFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0441\u043F\u043E\u0441\u043E\u0431\u044B \u0432\u0445\u043E\u0434\u0430.",wrongPassword:"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043F\u0430\u0440\u043E\u043B\u044C."},auth:{agree:"\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0430\u044F, \u0432\u044B \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0435\u0442\u0435 {terms} \u0438 {privacy}.",botCheckFailed:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0431\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u0438 \u043D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u0430; \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.",continueWith:"\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0447\u0435\u0440\u0435\u0437 {provider}",createAccount:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0430\u043A\u043A\u0430\u0443\u043D\u0442",failed:"\u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B \u0438 \u043F\u0430\u0440\u043E\u043B\u044C.",mailFailed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043F\u0438\u0441\u044C\u043C\u043E; \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.",orWithEmail:"\u0438\u043B\u0438 \u043F\u043E \u043F\u043E\u0447\u0442\u0435",privacy:"\u041F\u043E\u043B\u0438\u0442\u0438\u043A\u0443 \u043A\u043E\u043D\u0444\u0438\u0434\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438",terms:"\u0423\u0441\u043B\u043E\u0432\u0438\u044F"},common:{email:"\u041F\u043E\u0447\u0442\u0430",password:"\u041F\u0430\u0440\u043E\u043B\u044C",requestFailed:"\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A; \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.",send:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C",stop:"\u041E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C",unreachable:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0438\u0442\u044C\u0441\u044F \u043A \u0441\u0435\u0440\u0432\u0435\u0440\u0443; \u043F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u043F\u043E\u0434\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u043A \u0438\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0443."},consent:{allow:"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C",deny:"\u041D\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0442\u044C",failed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0443; \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.",heading:"\u041F\u043E\u043C\u043E\u0449\u043D\u0438\u043A",label:"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0440\u0430\u0431\u043E\u0442\u0443 \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A\u0430",line:"\u0412\u0430\u0448\u0438 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F, \u0433\u043E\u043B\u043E\u0441 \u0438 \u0442\u043E, \u0447\u0442\u043E \u0447\u0438\u0442\u0430\u0435\u0442 \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A, \u043F\u0435\u0440\u0435\u0434\u0430\u044E\u0442\u0441\u044F \u043C\u043E\u0434\u0435\u043B\u0438 \u0418\u0418.",memories:"\u0427\u0442\u043E \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A \u043F\u043E\u043C\u043D\u0438\u0442 \u043E \u0432\u0430\u0441",messages:"\u0412\u0430\u0448\u0438 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F \u0438 \u0432\u043B\u043E\u0436\u0435\u043D\u0438\u044F",model:"\u041C\u043E\u0434\u0435\u043B\u044C \u0418\u0418",receives:"\u041A\u0442\u043E \u043F\u043E\u043B\u0443\u0447\u0430\u0435\u0442",search:"\u0412\u0435\u0431-\u043F\u043E\u0438\u0441\u043A",sent:"\u0427\u0442\u043E \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u0442\u0441\u044F",title:"\u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u044C \u0440\u0430\u0431\u043E\u0442\u0443 \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A\u0430?",training:"\u041D\u0438\u043A\u0442\u043E \u0438\u0437 \u043D\u0438\u0445 \u043D\u0435 \u043E\u0431\u0443\u0447\u0430\u0435\u0442 \u043D\u0430 \u044D\u0442\u043E\u043C \u043C\u043E\u0434\u0435\u043B\u0438.",voice:"\u0412\u0430\u0448 \u0433\u043E\u043B\u043E\u0441 \u0432 \u0433\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u043C \u0440\u0435\u0436\u0438\u043C\u0435"},forgot:{failed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043F\u0438\u0441\u044C\u043C\u043E \u0434\u043B\u044F \u0441\u0431\u0440\u043E\u0441\u0430 \u043F\u0430\u0440\u043E\u043B\u044F.",lede:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B, \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443 \u0434\u043B\u044F \u0441\u0431\u0440\u043E\u0441\u0430 \u043F\u0430\u0440\u043E\u043B\u044F.",send:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u0441\u0441\u044B\u043B\u043A\u0443",sentLede:"\u0415\u0441\u043B\u0438 \u0430\u043A\u043A\u0430\u0443\u043D\u0442 \u0434\u043B\u044F {email} \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442, \u0441\u0441\u044B\u043B\u043A\u0430 \u0434\u043B\u044F \u0441\u0431\u0440\u043E\u0441\u0430 \u043F\u0430\u0440\u043E\u043B\u044F \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0430.",sentTitle:"\u041F\u0440\u043E\u0432\u0435\u0440\u044C\u0442\u0435 \u043F\u043E\u0447\u0442\u0443",title:"\u0421\u0431\u0440\u043E\u0441 \u043F\u0430\u0440\u043E\u043B\u044F"},formatting:{blocks:"\u0411\u043B\u043E\u043A\u0438",text:"\u0422\u0435\u043A\u0441\u0442",heading1:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 1",heading2:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 2",heading3:"\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A 3",bulletList:"\u041C\u0430\u0440\u043A\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u043F\u0438\u0441\u043E\u043A",orderedList:"\u041D\u0443\u043C\u0435\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u043F\u0438\u0441\u043E\u043A",taskList:"\u0421\u043F\u0438\u0441\u043E\u043A \u0437\u0430\u0434\u0430\u0447",quote:"\u0426\u0438\u0442\u0430\u0442\u0430",table:"\u0422\u0430\u0431\u043B\u0438\u0446\u0430",divider:"\u0420\u0430\u0437\u0434\u0435\u043B\u0438\u0442\u0435\u043B\u044C",code:"\u041A\u043E\u0434",formatting:"\u0424\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435",bold:"\u0416\u0438\u0440\u043D\u044B\u0439",italic:"\u041A\u0443\u0440\u0441\u0438\u0432",strike:"\u0417\u0430\u0447\u0451\u0440\u043A\u043D\u0443\u0442\u044B\u0439",inlineCode:"\u041A\u043E\u0434",link:"\u0421\u0441\u044B\u043B\u043A\u0430"},proposal:{applied:"\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u043E",applying:"\u041F\u0440\u0438\u043C\u0435\u043D\u0435\u043D\u0438\u0435",approve:"\u0423\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C",discard:"\u041E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C",discarded:"\u041E\u0442\u043A\u043B\u043E\u043D\u0435\u043D\u043E",failed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C"},photos:{adding:"\u0414\u043E\u0431\u0430\u0432\u043B\u044F\u0435\u0442\u0441\u044F {name}",remove:"\u0423\u0431\u0440\u0430\u0442\u044C {name}",photo:"\u0424\u043E\u0442\u043E",library:"\u0424\u043E\u0442\u043E",wrongType:"{name} \u2014 \u043D\u0435 \u0444\u043E\u0442\u043E."},run:{lost:"\u0421\u0432\u044F\u0437\u044C \u0441 \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A\u043E\u043C \u043F\u043E\u0442\u0435\u0440\u044F\u043D\u0430."},conversations:{title:"\u0420\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u044B",search:"\u0418\u0441\u043A\u0430\u0442\u044C \u0432 \u0440\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u0430\u0445",none:"\u041D\u0435\u0442 \u0440\u0430\u0437\u0433\u043E\u0432\u043E\u0440\u043E\u0432",today:"\u0421\u0435\u0433\u043E\u0434\u043D\u044F",yesterday:"\u0412\u0447\u0435\u0440\u0430",week:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 7 \u0434\u043D\u0435\u0439",month:"\u041F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435 30 \u0434\u043D\u0435\u0439"},pane:{assistant:"\u041F\u043E\u043C\u043E\u0449\u043D\u0438\u043A",starters:"\u0421 \u0447\u0435\u0433\u043E \u043D\u0430\u0447\u0430\u0442\u044C"},pages:{pageTitle:"\u0421\u0442\u0440\u0430\u043D\u0438\u0446\u0430 {page}"},progress:{working:"\u0420\u0430\u0431\u043E\u0442\u0430\u0435\u0442"},product:{allowFirst:"\u0421\u043D\u0430\u0447\u0430\u043B\u0430 \u0440\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435 \u0430\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442\u0430 \u0432 {name}",open:"\u041E\u0442\u043A\u0440\u044B\u0442\u044C {name}"},thread:{message:"\u0421\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435"},documentRun:{paused:"\u041F\u0440\u0435\u0440\u0432\u0430\u043D\u043E \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u043A\u043E\u043C, \u0437\u0430\u0442\u0435\u043C \u0432\u043E\u0437\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043E.",resuming:"\u0412\u043E\u0437\u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u043F\u043E\u0441\u043B\u0435 \u043F\u0435\u0440\u0435\u0437\u0430\u043F\u0443\u0441\u043A\u0430"},runErrors:{model_refused:"\u041F\u043E\u043C\u043E\u0449\u043D\u0438\u043A \u043E\u0442\u043A\u043B\u043E\u043D\u0438\u043B \u0437\u0430\u043F\u0440\u043E\u0441; \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0441\u0444\u043E\u0440\u043C\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u043D\u0430\u0447\u0435.",model_unreachable:"\u041F\u043E\u043C\u043E\u0449\u043D\u0438\u043A \u0441\u0435\u0439\u0447\u0430\u0441 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D; \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0447\u0443\u0442\u044C \u043F\u043E\u0437\u0436\u0435.",context_too_long:"\u042D\u0442\u043E \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0434\u043B\u0438\u043D\u043D\u043E\u0435; \u043E\u0442\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u043F\u043E\u043A\u043E\u0440\u043E\u0447\u0435.",step_limit:"\u041F\u043E\u043C\u043E\u0449\u043D\u0438\u043A \u0434\u043E\u0441\u0442\u0438\u0433 \u043B\u0438\u043C\u0438\u0442\u0430 \u0448\u0430\u0433\u043E\u0432; \u043F\u043E\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C.",model_overran:"\u041E\u0442\u0432\u0435\u0442 \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A\u0430 \u043E\u043A\u0430\u0437\u0430\u043B\u0441\u044F \u0441\u043B\u0438\u0448\u043A\u043E\u043C \u0434\u043B\u0438\u043D\u043D\u044B\u043C; \u043F\u043E\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.",interrupted:"\u0420\u0430\u0431\u043E\u0442\u0430 \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A\u0430 \u043F\u0440\u0435\u0440\u0432\u0430\u043D\u0430; \u043F\u043E\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.",internal:"\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A \u0441 \u043D\u0430\u0448\u0435\u0439 \u0441\u0442\u043E\u0440\u043E\u043D\u044B.",check_failed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C; \u043F\u043E\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437.",unrepaired:"\u041F\u0440\u043E\u0432\u0435\u0440\u043A\u0430 \u0432\u0441\u0451 \u0435\u0449\u0451 \u043D\u0435 \u043F\u0440\u043E\u0439\u0434\u0435\u043D\u0430; \u043F\u043E\u043F\u0440\u043E\u0441\u0438\u0442\u0435 \u0435\u0449\u0451 \u0440\u0430\u0437, \u0447\u0442\u043E\u0431\u044B \u043F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C \u0438\u0441\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435."},voice:{hearing:"\u0417\u0430\u043F\u0438\u0441\u044B\u0432\u0430\u044E",label:"\u0413\u043E\u043B\u043E\u0441\u043E\u0432\u043E\u0439 \u0440\u0435\u0436\u0438\u043C",listening:"\u0421\u043B\u0443\u0448\u0430\u044E",speaking:"\u0427\u0438\u0442\u0430\u044E \u0432\u0441\u043B\u0443\u0445"},verify:{failed:"\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043F\u0438\u0441\u044C\u043C\u043E.",ledeTo:"\u0427\u0442\u043E\u0431\u044B \u0437\u0430\u0432\u0435\u0440\u0448\u0438\u0442\u044C, \u043E\u0442\u043A\u0440\u043E\u0439\u0442\u0435 \u0441\u0441\u044B\u043B\u043A\u0443, \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043D\u0443\u044E \u043D\u0430 {email}.",resend:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C \u043F\u0438\u0441\u044C\u043C\u043E \u0435\u0449\u0451 \u0440\u0430\u0437",resent:"\u041F\u0438\u0441\u044C\u043C\u043E \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u043E",title:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u043F\u043E\u0447\u0442\u0443"}},zh:{account:{deleteConfirmLede:"\u5176\u4E2D\u7684\u6240\u6709\u5185\u5BB9\u90FD\u5C06\u88AB\u6C38\u4E45\u5220\u9664\u3002",deleteFailed:"\u65E0\u6CD5\u5220\u9664\u4F60\u7684\u8D26\u6237\u3002",deleteStale:"\u5220\u9664\u8D26\u6237\u524D\u9700\u8981\u91CD\u65B0\u767B\u5F55\u3002",deleted:"\u4F60\u7684\u8D26\u6237\u5DF2\u5220\u9664\u3002",loadFailed:"\u65E0\u6CD5\u52A0\u8F7D\u4F60\u7684\u767B\u5F55\u65B9\u5F0F\u3002",wrongPassword:"\u5BC6\u7801\u4E0D\u6B63\u786E\u3002"},auth:{agree:"\u7EE7\u7EED\u5373\u8868\u793A\u4F60\u540C\u610F{terms}\u548C{privacy}\u3002",botCheckFailed:"\u5B89\u5168\u9A8C\u8BC1\u672A\u901A\u8FC7\uFF0C\u8BF7\u91CD\u8BD5\u3002",continueWith:"\u4F7F\u7528 {provider} \u7EE7\u7EED",createAccount:"\u521B\u5EFA\u8D26\u6237",failed:"\u8BF7\u68C0\u67E5\u90AE\u7BB1\u5730\u5740\u548C\u5BC6\u7801\u3002",mailFailed:"\u90AE\u4EF6\u672A\u80FD\u53D1\u9001\uFF0C\u8BF7\u91CD\u8BD5\u3002",orWithEmail:"\u6216\u4F7F\u7528\u90AE\u7BB1",privacy:"\u9690\u79C1\u653F\u7B56",terms:"\u670D\u52A1\u6761\u6B3E"},common:{email:"\u90AE\u7BB1",password:"\u5BC6\u7801",requestFailed:"\u51FA\u73B0\u95EE\u9898\uFF0C\u8BF7\u91CD\u8BD5\u3002",send:"\u53D1\u9001",stop:"\u505C\u6B62",unreachable:"\u65E0\u6CD5\u8FDE\u63A5\u670D\u52A1\u5668\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u8FDE\u63A5\u3002"},consent:{allow:"\u5141\u8BB8",deny:"\u4E0D\u5141\u8BB8",failed:"\u65E0\u6CD5\u66F4\u6539\u8BBE\u7F6E\uFF0C\u8BF7\u91CD\u8BD5\u3002",heading:"\u52A9\u624B",label:"\u5141\u8BB8\u4F7F\u7528\u52A9\u624B",line:"\u4F60\u7684\u6D88\u606F\u3001\u8BED\u97F3\u548C\u52A9\u624B\u8BFB\u53D6\u7684\u5185\u5BB9\u4F1A\u53D1\u9001\u7ED9 AI \u6A21\u578B\u3002",memories:"\u52A9\u624B\u8BB0\u4F4F\u7684\u5173\u4E8E\u4F60\u7684\u4FE1\u606F",messages:"\u4F60\u7684\u6D88\u606F\u548C\u9644\u4EF6",model:"AI \u6A21\u578B",receives:"\u63A5\u6536\u65B9",search:"\u7F51\u9875\u641C\u7D22",sent:"\u53D1\u9001\u7684\u5185\u5BB9",title:"\u5141\u8BB8\u4F7F\u7528\u52A9\u624B\uFF1F",training:"\u5B83\u4EEC\u90FD\u4E0D\u7528\u5B83\u8BAD\u7EC3\u6A21\u578B\u3002",voice:"\u8BED\u97F3\u6A21\u5F0F\u4E0B\u4F60\u7684\u8BED\u97F3"},forgot:{failed:"\u65E0\u6CD5\u53D1\u9001\u91CD\u7F6E\u90AE\u4EF6\u3002",lede:"\u8F93\u5165\u4F60\u7684\u90AE\u7BB1\u5730\u5740\u4EE5\u63A5\u6536\u91CD\u7F6E\u94FE\u63A5\u3002",send:"\u53D1\u9001\u91CD\u7F6E\u94FE\u63A5",sentLede:"\u5982\u679C {email} \u6709\u5BF9\u5E94\u7684\u8D26\u6237\uFF0C\u91CD\u7F6E\u94FE\u63A5\u5DF2\u53D1\u9001\u3002",sentTitle:"\u8BF7\u67E5\u770B\u6536\u4EF6\u7BB1",title:"\u91CD\u7F6E\u5BC6\u7801"},formatting:{blocks:"\u5757",text:"\u6587\u672C",heading1:"\u6807\u9898 1",heading2:"\u6807\u9898 2",heading3:"\u6807\u9898 3",bulletList:"\u9879\u76EE\u7B26\u53F7\u5217\u8868",orderedList:"\u7F16\u53F7\u5217\u8868",taskList:"\u5F85\u529E\u5217\u8868",quote:"\u5F15\u7528",table:"\u8868\u683C",divider:"\u5206\u9694\u7EBF",code:"\u4EE3\u7801",formatting:"\u683C\u5F0F",bold:"\u7C97\u4F53",italic:"\u659C\u4F53",strike:"\u5220\u9664\u7EBF",inlineCode:"\u4EE3\u7801",link:"\u94FE\u63A5"},proposal:{applied:"\u5DF2\u5E94\u7528",applying:"\u5E94\u7528\u4E2D",approve:"\u6279\u51C6",discard:"\u653E\u5F03",discarded:"\u5DF2\u653E\u5F03",failed:"\u5931\u8D25"},photos:{adding:"\u6B63\u5728\u6DFB\u52A0 {name}",remove:"\u79FB\u9664 {name}",photo:"\u7167\u7247",library:"\u7167\u7247",wrongType:"{name} \u4E0D\u662F\u7167\u7247\u3002"},run:{lost:"\u4E0E\u52A9\u624B\u7684\u8FDE\u63A5\u5DF2\u65AD\u5F00\u3002"},conversations:{title:"\u5BF9\u8BDD\u5217\u8868",search:"\u641C\u7D22\u5BF9\u8BDD",none:"\u6CA1\u6709\u5BF9\u8BDD",today:"\u4ECA\u5929",yesterday:"\u6628\u5929",week:"\u8FC7\u53BB 7 \u5929",month:"\u8FC7\u53BB 30 \u5929"},pane:{assistant:"\u52A9\u624B",starters:"\u5F00\u59CB\u65B9\u5F0F"},pages:{pageTitle:"\u7B2C {page} \u9875"},progress:{working:"\u5904\u7406\u4E2D"},product:{allowFirst:"\u8BF7\u5148\u5728 {name} \u4E2D\u5141\u8BB8\u52A9\u624B",open:"\u6253\u5F00 {name}"},thread:{message:"\u6D88\u606F"},documentRun:{paused:"\u56E0\u91CD\u542F\u4E2D\u65AD\uFF0C\u968F\u540E\u5DF2\u6062\u590D\u3002",resuming:"\u91CD\u542F\u540E\u6B63\u5728\u6062\u590D"},runErrors:{model_refused:"\u52A9\u624B\u62D2\u7EDD\u4E86\u6B64\u8BF7\u6C42\uFF0C\u8BF7\u6362\u4E2A\u8BF4\u6CD5\u3002",model_unreachable:"\u52A9\u624B\u6682\u65F6\u4E0D\u53EF\u7528\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5\u3002",context_too_long:"\u8FD9\u6761\u6D88\u606F\u592A\u957F\u4E86\uFF0C\u8BF7\u53D1\u9001\u66F4\u77ED\u7684\u6D88\u606F\u3002",step_limit:"\u52A9\u624B\u5DF2\u8FBE\u5230\u6B65\u6570\u4E0A\u9650\uFF0C\u8BF7\u518D\u6B21\u63D0\u95EE\u4EE5\u7EE7\u7EED\u3002",model_overran:"\u52A9\u624B\u7684\u56DE\u590D\u8FC7\u957F\uFF0C\u8BF7\u91CD\u65B0\u63D0\u95EE\u3002",interrupted:"\u52A9\u624B\u88AB\u4E2D\u65AD\uFF0C\u8BF7\u91CD\u65B0\u63D0\u95EE\u3002",internal:"\u6211\u4EEC\u8FD9\u8FB9\u51FA\u73B0\u4E86\u95EE\u9898\u3002",check_failed:"\u65E0\u6CD5\u68C0\u67E5\uFF0C\u8BF7\u91CD\u65B0\u63D0\u95EE\u3002",unrepaired:"\u4ECD\u672A\u901A\u8FC7\u4E00\u9879\u68C0\u67E5\uFF0C\u8BF7\u518D\u6B21\u63D0\u95EE\u4EE5\u7EE7\u7EED\u4FEE\u590D\u3002"},voice:{hearing:"\u6B63\u5728\u8F6C\u5199",label:"\u8BED\u97F3\u6A21\u5F0F",listening:"\u6B63\u5728\u542C",speaking:"\u6B63\u5728\u6717\u8BFB"},verify:{failed:"\u65E0\u6CD5\u91CD\u65B0\u53D1\u9001\u90AE\u4EF6\u3002",ledeTo:"\u8BF7\u6253\u5F00\u53D1\u9001\u5230 {email} \u7684\u94FE\u63A5\u4EE5\u5B8C\u6210\u3002",resend:"\u91CD\u65B0\u53D1\u9001\u9A8C\u8BC1\u90AE\u4EF6",resent:"\u9A8C\u8BC1\u90AE\u4EF6\u5DF2\u53D1\u9001",title:"\u9A8C\u8BC1\u4F60\u7684\u90AE\u7BB1"}}};var Ua=le(oe(),1);d();var Ma=le(oe(),1);d();var C_=le(oe(),1);d();var ym=le(oe(),1);d();var Za=le(oe(),1);d();var Fa=le(oe(),1);d();var nP=50,rP=2048;function _m(){return{running:!1,stopping:!1,reconnecting:!1,resuming:!1,runId:null,events:[],queued:[],live:"",thinking:"",writing:"",toolChars:0,usage:null,error:null}}var R_=512,oP=new Set(["run","event","delta","queued","taken","done","resuming","error"]);function iP(e){let t=ne(e,"type");return typeof t=="string"&&oP.has(t)?e:null}function aP(e){return new Promise(t=>setTimeout(t,e))}function N_(e,t){return{lost:e.lost,stoppedElsewhere:e.stoppedElsewhere,runError:r=>fm(r,e),failure:t}}var eo=class extends je{listeners;own;client;scope;state;abort=null;pending="";thought="";timer=null;lastSeq=0;runId=null;ended=!1;stopping=!1;inflight=null;wanted=null;attaching=!1;carrying=null;constructor(t,r,i,n){super(),this.client=t,this.scope=r,this.listeners=i,this.own=n,this.state=this.idle()}snapshot=()=>this.state;open=()=>{this.set(this.idle()),this.lastSeq=0,this.runId=null,this.drive({attach:!0,after:0});let t=this.client.watch?.(this.scope,this.attachStarted);return()=>{this.abort?.abort(),t?.()}};start=t=>this.drive({...t,after:0});withAnswers=(t,r)=>{this.carrying=t;let i=r();return this.carrying=null,i};stop=()=>{this.stopping=!0,this.update(t=>({...t,stopping:!0})),this.client.cancel(this.scope).catch(t=>{this.stopping=!1,this.update(r=>({...r,stopping:!1})),this.listeners.onNotice(this.listeners.words.failure(t),"error")})};forget=()=>{this.state.running||(this.drop(),this.lastSeq=0,this.runId=null,this.set(this.idle()))};idle(){return{..._m(),...this.own.idle}}set(t){t!==this.state&&(this.state=t,this.notify())}update(t){this.set(t(this.state))}reduced(t,r){return{...t,...this.own.reduce(t,r)}}drop(){this.pending="",this.thought="",this.timer!==null&&clearTimeout(this.timer),this.timer=null}flush=()=>{this.timer=null;let t=this.pending,r=this.thought;!t&&!r||(this.pending="",this.thought="",this.update(i=>({...i,live:i.live+t,thinking:r?(i.thinking+r).slice(-rP):i.thinking})))};receive=t=>{let r=iP(t);if(!r){this.update(i=>this.reduced(i,t));return}switch(r.type){case"run":{this.runId&&this.runId!==r.runId&&(this.lastSeq=0,this.drop(),this.update(i=>({...i,events:[],queued:[],live:"",thinking:"",writing:"",error:null}))),this.runId=r.runId,!r.attached&&this.attaching&&this.listeners.onRunStarted?.(),this.update(i=>this.reduced({...i,runId:r.runId,running:!0,reconnecting:!1,resuming:!1},t));break}case"resuming":this.update(i=>({...i,running:!0,reconnecting:!1,resuming:!0}));break;case"event":{if(r.seq<=this.lastSeq)break;this.lastSeq=r.seq,this.drop(),this.update(i=>this.reduced({...i,events:[...i.events,{seq:r.seq,event:r.event}],toolChars:0,live:"",thinking:"",writing:""},t));break}case"taken":{let{id:i}=r;this.update(n=>({...n,queued:n.queued.filter(o=>o.id!==i)}));break}case"queued":{let{type:i,...n}=r;this.update(o=>o.queued.some(a=>a.id===n.id)?o:{...o,queued:[...o.queued,n]});break}case"delta":{if(r.reset){this.drop(),this.update(o=>({...o,live:"",thinking:"",writing:""}));break}let i=r.toolChars;i&&this.update(o=>Math.floor(o.toolChars/R_)===Math.floor(i/R_)?o:{...o,toolChars:i});let n=r.writing;if(n){this.update(o=>o.writing===n?o:{...o,writing:n});break}if(r.text)this.pending+=r.text;else if(r.thinking)this.thought+=r.thinking;else break;this.timer===null&&(this.timer=setTimeout(this.flush,nP));break}case"error":{this.ended=!0;let i=Nn(this.listeners.words.runError(r.kind));this.update(n=>({...n,error:i,running:!1,resuming:!1,writing:""}));break}case"done":{!this.ended&&r.status==="canceled"&&!this.stopping&&this.listeners.onNotice(this.listeners.words.stoppedElsewhere,"info"),this.ended=!0,this.stopping=!1,this.update(i=>this.reduced({...i,running:!1,stopping:!1,resuming:!1,writing:"",usage:r.usage},t));break}default:this.update(i=>this.reduced(i,t));break}};async once(t,r){this.ended=!1;try{await this.client.runStream(this.scope,t,this.receive,r)}catch(i){return r.aborted?"ended":{failure:this.listeners.words.failure(i),status:i instanceof Ee?i.status:null}}return this.ended?"ended":"dropped"}async drive(t){this.abort?.abort();let r=new AbortController;this.abort=r,this.inflight=r,this.attaching=t.attach===!0,t.attach||(this.lastSeq=0,this.runId=null,this.stopping=!1,this.pending="",this.thought="",this.set({...this.idle(),running:!0}));let i=this.carrying,n={...t,answers:i},o=i?n:t,a=null;for(let u=0;;u++){let c=await this.once(o,r.signal);if(r.signal.aborted)break;let l=gm(c,{attempt:u,runId:this.runId,seq:this.lastSeq},this.listeners.words.lost);if(l.go==="done")break;if(l.go==="give-up"){a=l.failure,this.update(p=>({...p,error:l.failure.text?l.failure:null}));break}if(this.update(p=>({...p,reconnecting:!0})),await aP(l.delayMs),r.signal.aborted)break;o=l.input}if(r.signal.aborted)return a;this.inflight=null,this.timer!==null&&(clearTimeout(this.timer),this.flush()),this.update(u=>({...u,running:!1,stopping:!1,reconnecting:!1,resuming:!1})),(this.runId||!t.attach)&&this.listeners.onRunEnded();let s=this.wanted;return this.wanted=null,s&&this.attachStarted(s),a}attachStarted=t=>{let r=hm(t,{runId:this.runId,busy:this.inflight!==null});if(r!=="ignore"){if(r==="later"){this.wanted=t;return}this.listeners.onRunStarted?.(),this.drive({attach:!0,after:0,runId:t})}}};var uP={idle:{},reduce:e=>e};function cP(e,t){return{runStream:(r,i,n,o)=>e.runStream(i,n,o),watch:(r,i)=>e.watch({run:i,changed:t}),cancel:()=>e.api.cancel()}}d();var $m=le(oe(),1);var Va=e=>new Map(e.map(t=>[t.id,t]));function D_(e,t,r){if(!r)return{runs:t.runs,proposals:Va(t.proposals)};let i=new Set(t.runs.map(o=>o.id)),n=t.runs[0]?.startedAt??Number.POSITIVE_INFINITY;return{runs:[...e.runs.filter(o=>!i.has(o.id)&&o.startedAt<n),...t.runs],proposals:new Map([...e.proposals,...Va(t.proposals)])}}function j_(e,t){let r=new Set(t.runs.map(i=>i.id));return{runs:[...t.runs,...e.runs.filter(i=>!r.has(i.id))],proposals:new Map([...Va(t.proposals),...e.proposals])}}var bm=class extends je{load;state={runs:[],proposals:new Map,earlier:null,loading:!1,read:!1};extended=!1;constructor(t){super(),this.load=t}snapshot=()=>this.state;set(t){this.state={...this.state,...t},this.notify()}show=t=>this.set({runs:t.runs,proposals:Va(t.proposals),earlier:t.earlier,read:!0});reload=async()=>{let t=await this.load(null),r=D_(this.state,t,this.extended);this.set(this.extended?{...r,read:!0}:{...r,earlier:t.earlier,read:!0})};loadEarlier=async()=>{let{earlier:t}=this.state;if(t){this.set({loading:!0});try{let r=await this.load(t);this.extended=!0,this.set({...j_(this.state,r),earlier:r.earlier})}finally{this.set({loading:!1})}}};setProposal=t=>this.set({proposals:new Map(this.state.proposals).set(t.id,t)});clear=()=>{this.extended=!1,this.set({runs:[],proposals:new Map,earlier:null})}};d();var Ba=le(oe(),1);d();d();import{parseArgs as gP}from"node:util";d();var mP="0.1.9";function xm(e,t){return{...e?{authorization:`Bearer ${e}`}:{},[ps]:t,"user-agent":`premsan/${mP}`}}var fP=(e,t)=>{let r=WebSocket;return new r(e,{headers:{authorization:`Bearer ${t}`}})};function b6(e,t,r,i,n=fetch){return{baseUrl:e.api,fetch:n,headers:()=>xm(t,r),credentials:"omit",socket:o=>fP(o,t),signedOut:i.signedOut,planRefused:i.planRefused,askConsent:async()=>(i.unallowed(),!1)}}var P6=e=>({baseUrl:e.session.api,fetch:e.fetcher,headers:()=>xm(e.session.token,e.language),credentials:"omit"}),to=class extends Nt{};function T6(e,t,r){let i=e.find(s=>s.id===t);if(i)return i;let n=e.filter(s=>s.name.toLowerCase()===t.toLowerCase()),[o,...a]=n;if(o&&a.length===0)return o;throw a.length>0?new to(r.many(n.length,n.map(s=>s.id).join(", "))):new to(r.none())}var hP=new Set(["--help","-h","help"]),Wa=2,vP=e=>({name:"json",type:"boolean",description:e.words.json});function L_(e,t){let r=Math.max(...t.map(i=>i.name.length));return[e.title,"",`${e.words.usage}: ${e.name} <command> [arguments] [--json]`,"",...t.map(i=>` ${i.name.padEnd(r)} ${i.summary}`),"",e.footer].join(`
80
80
  `)}function M_(e,t){let r=[t.summary,"",`${e.words.usage}: ${e.name} ${t.usage}`],i=t.options.some(o=>o.name==="json")?t.options:[...t.options,vP(e)];r.push("",`${e.words.options}:`);let n=Math.max(...i.map(o=>o.name.length));for(let o of i){let a=o.short?`-${o.short}, --${o.name}`:` --${o.name}`;r.push(` ${a.padEnd(n+6)} ${o.description}`)}return r.join(`
81
81
  `)}function yP(e,t){let r=ao(t);switch(r.kind){case"user-facing":return r.text;case"api":return r.code===we.signed_out.code?lt(e.words.signedOut,{command:e.signIn,variable:e.keyVariable}):r.rejection?io(r.rejection):r.sentence??lt(e.words.answered,{status:r.status});case"unreachable":return e.words.unreachable;default:return e.words.failed}}var A6=e=>({commands:e.commands,run:(t,r,i,n)=>_P(e,t,r,i,n)});async function _P(e,t,r,i,n){let[o,...a]=r;if(!o||hP.has(o))return i.print(L_(t,e.commands)),o?0:Wa;let s=e.commands.find(p=>p.name===o);if(!s)return i.note(`${lt(t.words.noCommand,{name:o})}
82
82