orqevio 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/web/assets/{AccessKeyReveal-Dt2QpDUL.js → AccessKeyReveal-CQaxpNT4.js} +1 -1
- package/dist/web/assets/{AccessRows-DwPN9a5i.js → AccessRows-DUF0JEJN.js} +1 -1
- package/dist/web/assets/{ActivityList-Cp-ASwIJ.js → ActivityList--gWYDhUt.js} +1 -1
- package/dist/web/assets/{AgentsPage-DbtYLxZ8.js → AgentsPage-BmYCjLa_.js} +1 -1
- package/dist/web/assets/{Attachments-B5k6NQqz.js → Attachments-BFs-_VlC.js} +1 -1
- package/dist/web/assets/{Avatar-BiOOxxo5.js → Avatar-BM8oUZZw.js} +1 -1
- package/dist/web/assets/{BoardPage-j0HRFfQq.js → BoardPage-CixYMIX6.js} +1 -1
- package/dist/web/assets/{Button-DmRLgc5R.js → Button-Cdv5jCuw.js} +1 -1
- package/dist/web/assets/{CardItem-BosirFRg.js → CardItem-DzmuD8RI.js} +1 -1
- package/dist/web/assets/{Checkbox-qjaYUeKU.js → Checkbox-D7DQDOn_.js} +1 -1
- package/dist/web/assets/{ColorPicker-BGW0YwdU.js → ColorPicker-1A8lBK9k.js} +1 -1
- package/dist/web/assets/{ConsentPage-DPrRcdTA.js → ConsentPage-C_LzKZZB.js} +1 -1
- package/dist/web/assets/{CopyButton-CcB9JRw4.js → CopyButton-C-W1lxF3.js} +1 -1
- package/dist/web/assets/{DocPage-I84vK6gG.js → DocPage-hcgQ0MLZ.js} +1 -1
- package/dist/web/assets/{EmptyState-DGHRXEz0.js → EmptyState-DbuyD37d.js} +1 -1
- package/dist/web/assets/{Field-XXfffXGD.js → Field-Clm8umDd.js} +1 -1
- package/dist/web/assets/{HomePage-COyxQqEv.js → HomePage-DDDKEWXr.js} +1 -1
- package/dist/web/assets/{Menu-Ddmd9yXa.js → Menu-DX34x7kE.js} +1 -1
- package/dist/web/assets/{PageHeader-DR__ksSu.js → PageHeader-ClyiqS7h.js} +1 -1
- package/dist/web/assets/{Popover-ugNbKfXV.js → Popover-5Vvrqbgv.js} +1 -1
- package/dist/web/assets/{ProjectPage-DLBi--EJ.js → ProjectPage-amJ1RPBS.js} +1 -1
- package/dist/web/assets/{ProjectSettingsDialog-BjNnvZQQ.js → ProjectSettingsDialog-6QxmHLzs.js} +1 -1
- package/dist/web/assets/{Segmented-l92yoT4T.js → Segmented-BDMZD7nV.js} +1 -1
- package/dist/web/assets/{SettingsPage-C5fvTtKZ.js → SettingsPage-WsTJXDni.js} +1 -1
- package/dist/web/assets/{States-BDAsCueg.js → States-BL27BexV.js} +1 -1
- package/dist/web/assets/{TokenCard-qzOy0l_S.js → TokenCard-Rdie_fAK.js} +1 -1
- package/dist/web/assets/{Trans-BxWw0Vac.js → Trans-COFrPeA8.js} +1 -1
- package/dist/web/assets/{VaultPage-DDGskTMH.js → VaultPage-E1JRTpdj.js} +1 -1
- package/dist/web/assets/{actions-3DfosJmD.js → actions-CnbXVELu.js} +1 -1
- package/dist/web/assets/{activity-Cj_BOs0a.js → activity-pS7JJqPR.js} +1 -1
- package/dist/web/assets/{arrow-up-right-BYElAQBz.js → arrow-up-right-B1Q3GS2t.js} +1 -1
- package/dist/web/assets/auth-BINwoLLL.js +1 -0
- package/dist/web/assets/auth-ByK78s7m.js +1 -0
- package/dist/web/assets/auth-C58Nm5w2.js +1 -0
- package/dist/web/assets/auth-CWjUpxax.js +1 -0
- package/dist/web/assets/auth-CqESesWQ.js +1 -0
- package/dist/web/assets/auth-DXyQ1sR9.js +1 -0
- package/dist/web/assets/auth-SCXskweB.js +1 -0
- package/dist/web/assets/{bot-CTPVQq3S.js → bot-CWoAuwAC.js} +1 -1
- package/dist/web/assets/check-DCBjJEe-.js +1 -0
- package/dist/web/assets/{clock-BKa8l8aW.js → clock-gFOXe45w.js} +1 -1
- package/dist/web/assets/{download-z-34AzPm.js → download-DOUlwk6I.js} +1 -1
- package/dist/web/assets/errors-BGvYEtI3.js +1 -0
- package/dist/web/assets/errors-CZ1BX441.js +1 -0
- package/dist/web/assets/errors-D6cvqHzs.js +1 -0
- package/dist/web/assets/errors-DACTZxtE.js +1 -0
- package/dist/web/assets/errors-DJVH_VFT.js +1 -0
- package/dist/web/assets/errors-_k7icfYU.js +1 -0
- package/dist/web/assets/errors-y3K623sq.js +1 -0
- package/dist/web/assets/{eye-Gm43B6bU.js → eye-DgU86mY7.js} +1 -1
- package/dist/web/assets/{file-plus-rph6QsU2.js → file-plus-BK_cMGl4.js} +1 -1
- package/dist/web/assets/{folder-open-Bl6YXqew.js → folder-open-CUvL1QmZ.js} +1 -1
- package/dist/web/assets/{format-BgAm3SAH.js → format-CNMdJ6_8.js} +1 -1
- package/dist/web/assets/{index-BmmqB6ZS.js → index-7-XNE5Rd.js} +3 -3
- package/dist/web/assets/{lock-keyhole-mZ4jfztu.js → lock-keyhole-D62Dl9I8.js} +1 -1
- package/dist/web/assets/{pencil-BDoMo2Ww.js → pencil-xcVnI27R.js} +1 -1
- package/dist/web/assets/plus-oKcb7VoU.js +1 -0
- package/dist/web/assets/{queries-CMSNe-uK.js → queries-B6zKoYoh.js} +2 -2
- package/dist/web/assets/{realtime-ClAqKg_x.js → realtime-DySKdOZ5.js} +1 -1
- package/dist/web/assets/{search-DdF70eKf.js → search-BV5ZsG36.js} +1 -1
- package/dist/web/assets/{session-CjF5ag_d.js → session-Dg2szHMi.js} +1 -1
- package/dist/web/assets/{shield-exclamation-point-B7Pju0ds.js → shield-exclamation-point-BLSX4EKo.js} +1 -1
- package/dist/web/assets/{square-kanban-BRTup66V.js → square-kanban-D4XKuQYH.js} +1 -1
- package/dist/web/assets/{trash-B2yXT5Jy.js → trash-BtYRNn0Z.js} +1 -1
- package/dist/web/assets/{triangle-exclamation-point-BlWTlV3p.js → triangle-exclamation-point-CcJCHC10.js} +1 -1
- package/dist/web/assets/{workspace-BFZypQbJ.js → workspace-TT1PqoC7.js} +1 -1
- package/dist/web/index.html +32 -32
- package/dist/worker/index.js +5 -3
- package/dist/wrangler.json +4 -1
- package/package.json +1 -1
- package/dist/web/assets/auth-0IGNPo4z.js +0 -1
- package/dist/web/assets/auth-3HBxmWgg.js +0 -1
- package/dist/web/assets/auth-Ba1OS44l.js +0 -1
- package/dist/web/assets/auth-CDTfMacI.js +0 -1
- package/dist/web/assets/auth-CoBJBRW0.js +0 -1
- package/dist/web/assets/auth-Q4DlToeS.js +0 -1
- package/dist/web/assets/auth-pmqazYZA.js +0 -1
- package/dist/web/assets/check-BrNnvoEA.js +0 -1
- package/dist/web/assets/errors-AkJTmj7k.js +0 -1
- package/dist/web/assets/errors-CMbqK8yh.js +0 -1
- package/dist/web/assets/errors-D-bfLpWi.js +0 -1
- package/dist/web/assets/errors-DLS7UKoD.js +0 -1
- package/dist/web/assets/errors-DN3ODXFj.js +0 -1
- package/dist/web/assets/errors-DbvWC9vT.js +0 -1
- package/dist/web/assets/errors-DzGI8Yjb.js +0 -1
- package/dist/web/assets/plus-Df34_Oj9.js +0 -1
|
@@ -55,10 +55,10 @@ Please change the parent <Route path="${e}"> to <Route path="${e===`/`?`*`:`${e}
|
|
|
55
55
|
|
|
56
56
|
`)}return o.write(`payload.value = newResult;`),o.write(`return payload;`),o.compile()},o,s=Tc,c=!xl.jitless,l=c&&Ec.value,u=t.catchall,d;e._zod.parse=(i,f)=>{d??=r.value;let p=i.value;return s(p)?c&&l&&f?.async===!1&&f.jitless!==!0?(o||=a(t.shape),i=o(i,f),u?Xd([],p,i,f,d,e,f?.abortEarly===!0):i):n(i,f):(i.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),i)}});function $d(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!Gc(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>Zc(e,r,Sl())))}),t)}var ef=W(`$ZodUnion`,(e,t)=>{G.init(e,t),U(e,`optin`,e=>e.def.options.some(e=>e._zod.optin===`defaulted`)?`defaulted`:e.def.options.some(e=>e._zod.optin!==void 0)?`optional`:void 0),U(e,`optout`,e=>e.def.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),U(e,`values`,e=>{if(e.def.options.every(e=>e._zod.values))return new Set(e.def.options.flatMap(e=>Array.from(e._zod.values)))}),U(e,`pattern`,e=>{if(e.def.options.every(e=>e._zod.pattern)){let t=e.def.options.map(e=>e._zod.pattern);return RegExp(`^(${t.map(e=>fc(e.source)).join(`|`)})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);if(t instanceof Promise)o.push(t),a=!0;else{if(t.issues.length===0)return t;o.push(t)}}return a?Promise.all(o).then(t=>$d(t,r,e,i)):$d(o,r,e,i)}}),tf=W(`$ZodIntersection`,(e,t)=>{G.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>rf(e,t,n)):rf(e,i,a)}});function nf(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Dc(e)&&Dc(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};Object.prototype.hasOwnProperty.call(i,`__proto__`)&&delete i.__proto__;for(let n of r){if(n===`__proto__`)continue;let r=nf(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;r<e.length;r++){let i=e[r],a=t[r],o=nf(i,a);if(!o.valid)return{valid:!1,mergeErrorPath:[r,...o.mergeErrorPath]};n.push(o.data)}return{valid:!0,data:n}}return{valid:!1,mergeErrorPath:[]}}function rf(e,t,n){let r=new Map,i,a=new Map,o=(e,t)=>{let n;if(e.code===`unrecognized_keys`&&!e.path?.length)i??=e,n=e.keys;else if(e.code===`invalid_key`&&e.origin===`record`&&e.path?.length===1){let t=String(e.path[0]);a.has(t)||a.set(t,e),n=[t]}else return!1;for(let e of n)r.has(e)||r.set(e,{}),r.get(e)[t]=!0;return!0};for(let n of t.issues)o(n,`l`)||e.issues.push(n);for(let t of n.issues)o(t,`r`)||e.issues.push(t);let s=[...r].filter(([,e])=>e.l&&e.r).map(([e])=>e);if(s.length){let t=i?s.filter(e=>i.keys.includes(e)):[];t.length&&e.issues.push({...i,keys:t});for(let n of s)!t.includes(n)&&a.has(n)&&e.issues.push(a.get(n))}let c=nf(t.value,n.value);if(!c.valid){if(Gc(e))return e;throw Error(`Unmergable intersection. Error path: ${JSON.stringify(c.mergeErrorPath)}`)}return e.value=c.data,e}var af=W(`$ZodRecord`,(e,t)=>{G.init(e,t);let n=xl.memoizer;n?.attach(e),e._zod.parse=(r,i)=>{let a=r.value;if(!Dc(a))return r.issues.push({expected:`record`,code:`invalid_type`,input:a,inst:e}),r;let o=[],s=t.keyType._zod.values;if(s&&!t.partial){r.value=n?n.alloc(e,r,{},i):{};let c=new Set;for(let n of s)if(typeof n==`string`||typeof n==`number`||typeof n==`symbol`){if(c.add(typeof n==`number`?n.toString():n),n===`__proto__`)continue;let s=t.keyType._zod.run({value:n,issues:[]},i);if(s instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(s.issues.length){r.issues.push({code:`invalid_key`,origin:`record`,issues:s.issues.map(e=>Zc(e,i,Sl())),input:n,path:[n],inst:e});continue}let l=s.value;if(l===`__proto__`)continue;let u=t.valueType._zod.run({value:a[n],issues:[]},i);u instanceof Promise?o.push(u.then(e=>{e.issues.length&&r.issues.push(...qc(n,e.issues)),r.value[l]=e.value})):(u.issues.length&&r.issues.push(...qc(n,u.issues)),r.value[l]=u.value)}let l;for(let e in a)if(!c.has(e)){if(t.mode===`loose`){if(e===`__proto__`)continue;r.value[e]=a[e]}else l??=[],l.push(e)}l&&l.length>0&&r.issues.push({code:`unrecognized_keys`,input:a,inst:e,keys:l,continue:!0})}else{r.value=n?n.alloc(e,r,{},i):{};let c;for(let n of Reflect.ownKeys(a)){if(n===`__proto__`||!Object.prototype.propertyIsEnumerable.call(a,n))continue;let l=t.keyType._zod.run({value:n,issues:[]},i);if(l instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);if(typeof n==`string`&&Eu.test(n)&&l.issues.length){let e=t.keyType._zod.run({value:Number(n),issues:[]},i);if(e instanceof Promise)throw Error(`Async schemas not supported in object keys currently`);e.issues.length===0&&(l=e)}if(l.issues.length){t.mode===`loose`?r.value[n]=a[n]:s?(c??=[],c.push(n)):r.issues.push({code:`invalid_key`,origin:`record`,issues:l.issues.map(e=>Zc(e,i,Sl())),input:n,path:[n],inst:e});continue}let u=l.value;if(u===`__proto__`)continue;let d=t.valueType._zod.run({value:a[n],issues:[]},i);d instanceof Promise?o.push(d.then(e=>{e.issues.length&&r.issues.push(...qc(n,e.issues)),r.value[u]=e.value})):(d.issues.length&&r.issues.push(...qc(n,d.issues)),r.value[u]=d.value)}c&&c.length>0&&r.issues.push({code:`unrecognized_keys`,input:a,inst:e,keys:c,continue:!0})}return o.length?Promise.all(o).then(()=>r):r}}),of=W(`$ZodEnum`,(e,t)=>{G.init(e,t);let n=oc(t.entries),r=new Set(n);e._zod.values=r,U(e,`pattern`,e=>{let t=oc(e.def.entries).filter(e=>kc.has(typeof e));return RegExp(t.length?`^(${t.map(e=>Ac(e.toString())).join(`|`)})$`:`^[^\\s\\S]$`)}),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),sf=W(`$ZodLiteral`,(e,t)=>{G.init(e,t);let n=new Set(t.values);e._zod.values=n,U(e,`pattern`,e=>{let t=e.def.values;return RegExp(t.length?`^(${t.map(e=>typeof e==`string`?Ac(e):e?Ac(e.toString()):String(e)).join(`|`)})$`:`^[^\\s\\S]$`)}),e._zod.parse=(r,i)=>{let a=r.value;return n.has(a)||r.issues.push({code:`invalid_value`,values:t.values,input:a,inst:e}),r}}),cf=W(`$ZodTransform`,(e,t)=>{G.init(e,t),e._zod.optin=`optional`,xl.memoizer?.guard(e),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new bl(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n));if(i instanceof Promise)throw new yl;return n.value=i,n}});function lf(e,t){return e.value=t.issues.length?void 0:t.value,e}var uf=W(`$ZodOptional`,(e,t)=>{G.init(e,t),U(e,`optin`,e=>e.def.innerType._zod.optin===`defaulted`?`defaulted`:`optional`),e._zod.optout=`optional`,U(e,`values`,e=>{let t=e.def.innerType._zod.values;return t?new Set([...t,void 0]):void 0}),U(e,`pattern`,e=>{let t=e.def.innerType._zod.pattern;return t?RegExp(`^(${fc(t.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(e.value===void 0){if(t.innerType._zod.optin!==`defaulted`)return e;let r=t.innerType._zod.run({value:e.value,issues:[]},n);return r instanceof Promise?r.then(t=>lf(e,t)):lf(e,r)}return t.innerType._zod.run(e,n)}}),df=W(`$ZodExactOptional`,(e,t)=>{uf.init(e,t),U(e,`values`,e=>e.def.innerType._zod.values),U(e,`pattern`,e=>e.def.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),ff=W(`$ZodNullable`,(e,t)=>{G.init(e,t),U(e,`optin`,e=>e.def.innerType._zod.optin),U(e,`optout`,e=>e.def.innerType._zod.optout),U(e,`pattern`,e=>{let t=e.def.innerType._zod.pattern;return t?RegExp(`^(${fc(t.source)}|null)$`):void 0}),U(e,`values`,e=>e.def.innerType._zod.values?new Set([...e.def.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),pf=W(`$ZodDefault`,(e,t)=>{G.init(e,t),e._zod.optin=`defaulted`,U(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>mf(e,t)):mf(r,t)}});function mf(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var hf=W(`$ZodPrefault`,(e,t)=>{G.init(e,t),e._zod.optin=`defaulted`,U(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),gf=W(`$ZodNonOptional`,(e,t)=>{G.init(e,t),U(e,`values`,e=>{let t=e.def.innerType._zod.values;return t?new Set([...t].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>_f(t,e)):_f(i,e)}});function _f(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}function vf(e,t,n,r){return t.issues.length?(e.value=n.catchValue({...t,value:e.value,error:{issues:t.issues.map(e=>Zc(e,r,Sl()))},input:e.value}),e):(e.value=t.value,t.memo&&(e.memo=!0),e)}var yf=W(`$ZodCatch`,(e,t)=>{G.init(e,t),U(e,`optin`,e=>e.def.innerType._zod.optin===`defaulted`?`defaulted`:`optional`),U(e,`optout`,e=>e.def.innerType._zod.optout),U(e,`values`,e=>e.def.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run({value:e.value,issues:[]},n);return r instanceof Promise?r.then(r=>vf(e,r,t,n)):vf(e,r,t,n)}}),bf=W(`$ZodPipe`,(e,t)=>{G.init(e,t),U(e,`values`,e=>e.def.in._zod.values),U(e,`optin`,e=>e.def.in._zod.optin),U(e,`optout`,e=>e.def.out._zod.optout),U(e,`propValues`,e=>e.def.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>xf(e,t.in,n)):xf(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>xf(e,t.out,n)):xf(r,t.out,n)}});function xf(e,t,n){return e.issues.some(e=>e.code!==`unrecognized_keys`)?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},n)}var Sf=W(`$ZodReadonly`,(e,t)=>{G.init(e,t),U(e,`propValues`,e=>e.def.innerType._zod.propValues),U(e,`values`,e=>e.def.innerType._zod.values),U(e,`optin`,e=>e.def.innerType?._zod?.optin),U(e,`optout`,e=>e.def.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(Cf):Cf(r)}});function Cf(e){return e.memo||(e.value=Object.freeze(e.value)),e}var wf=W(`$ZodCustom`,(e,t)=>{Au.init(e,t),G.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>Tf(t,n,r,e));Tf(i,n,r,e)}});function Tf(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(nl(e))}}var Ef=class extends Error{constructor(){super(`Cannot parse a reference cycle that closes through a transform`),this.name=`ZodCyclicError`}},Df=`~memo`,Of=[];function kf(e){return typeof e==`object`&&!!e}function Af(e){return e.map(e=>e.path?{...e,path:e.path.slice()}:{...e})}var jf=new WeakMap,Mf=0,Nf=1,Pf=2;function Ff(e,t,n){let r=jf.get(e);if(r!==void 0)return r?Pf:Mf;if(t.has(e))return Pf;t.add(e);let i=Mf,a=e=>{if(i!==Pf&&e?._zod){let r=Ff(e,t,n);r>i&&(i=r)}},o=(e,r)=>{let i=Mf;for(let a of Reflect.ownKeys(e)){let o=Object.getOwnPropertyDescriptor(e,a);if(r&&!o.enumerable)continue;let s=o.get?Nf:o.value?._zod?Ff(o.value,t,n):Mf;s>i&&(i=s)}return i},s=e=>{e>i&&(i=e)},c=e._zod.def;switch(c.type){case`object`:{let e=hc(c);s(e?o(e,!0):Nf),a(c.catchall);break}case`array`:a(c.element);break;case`tuple`:for(let e of c.items)a(e);a(c.rest);break;case`record`:case`map`:a(c.keyType),a(c.valueType);break;case`set`:a(c.valueType);break;case`union`:for(let e of c.options)a(e);break;case`intersection`:a(c.left),a(c.right);break;case`optional`:case`nullable`:case`default`:case`prefault`:case`catch`:case`readonly`:case`nonoptional`:case`promise`:case`success`:a(c.innerType);break;case`pipe`:a(c.in),a(c.out);break;case`function`:a(c.input),a(c.output);break;case`lazy`:{let r=c._cachedInner??(n?e._zod.innerType:void 0);s(r?Ff(r,t,!1):Nf);break}case`template_literal`:case`string`:case`number`:case`int`:case`boolean`:case`bigint`:case`symbol`:case`undefined`:case`null`:case`void`:case`never`:case`any`:case`unknown`:case`date`:case`nan`:case`enum`:case`literal`:case`file`:case`transform`:case`custom`:break;default:for(let e in c){let t=Object.getOwnPropertyDescriptor(c,e);if(!t||t.get)continue;let n=t.value;if(n&&typeof n==`object`){if(n._zod)a(n);else if(Array.isArray(n))for(let e of n)a(e)}}}return t.delete(e),If(e,i)}function If(e,t){return t!==Nf&&jf.set(e,t===Pf),t}function Lf(e,t){let n=e.buckets.get(t);return n||(n=new WeakMap,e.buckets.set(t,n)),n}var Rf,zf=[],Bf={alloc(e,t,n){let r=Rf;if(!r)return n;Rf=void 0;let i={value:n,issues:null};return r.set(t.value,i),zf.push(i),n},guard(e){var t;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let t=e._zod.parse,n=(e,n)=>{if(n.direction!==`backward`&&Hf(n,e.value))throw new Ef;return t(e,n)};e._zod.parse=n,e._zod.run===t&&(e._zod.run=n)})},attach(e){var t;let n,r=!1,i,a;(t=e._zod).deferred??(t.deferred=[]),e._zod.deferred.push(()=>{let t=e._zod.parse,o=(s,c)=>{if(n===void 0){let i=Ff(e,new Set,!1);if(i===Mf)return e._zod.parse=t,e._zod.run===o&&(e._zod.run=t),t(s,c);i===Pf||r?n=!0:r=!0}let l=s.value;if(!kf(l))return t(s,c);let u=c[Df];u||(u={buckets:new WeakMap,backEdges:void 0},c[Df]=u);let d;i===c?d=a:(d=Lf(u,e),i=c,a=d);let f=d.get(l);if(f)return s.value=f.value,f.issues?f.issues.length&&s.issues.push(...Af(f.issues)):(s.memo=!0,u.backEdges??(u.backEdges=new WeakSet),u.backEdges.add(f.value)),s;Rf=d;let p=zf.length,m=t(s,c);Rf=void 0;let h=zf.length>p?zf.pop():void 0;return m instanceof Promise?m.then(e=>(h&&(h.issues=e.issues.length?Af(e.issues):Of),e)):(h&&(h.issues=m.issues.length?Af(m.issues):Of),m)};e._zod.parse=o,e._zod.run===t&&(e._zod.run=o)})}};function Vf(){return Bf}function Hf(e,t){let n=e[Df]?.backEdges;return n!==void 0&&kf(t)&&n.has(t)}var Uf=()=>{let e={string:{unit:`characters`,verb:`to have`},file:{unit:`bytes`,verb:`to have`},array:{unit:`items`,verb:`to have`},set:{unit:`items`,verb:`to have`},map:{unit:`entries`,verb:`to have`}};function t(t){return e[t]??null}let n={regex:`input`,email:`email address`,url:`URL`,emoji:`emoji`,uuid:`UUID`,uuidv4:`UUIDv4`,uuidv6:`UUIDv6`,nanoid:`nanoid`,guid:`GUID`,cuid:`cuid`,cuid2:`cuid2`,ulid:`ULID`,xid:`XID`,ksuid:`KSUID`,datetime:`ISO datetime`,date:`ISO date`,time:`ISO time`,duration:`ISO duration`,ipv4:`IPv4 address`,ipv6:`IPv6 address`,mac:`MAC address`,cidrv4:`IPv4 range`,cidrv6:`IPv6 range`,base64:`base64-encoded string`,base64url:`base64url-encoded string`,json_string:`JSON string`,e164:`E.164 number`,currency_code:`currency code`,credit_card:`credit card number`,iban:`IBAN`,jwt:`JWT`,template_literal:`input`},r={nan:`NaN`};function i(e,t){return e===`number`&&typeof t==`number`&&!Number.isFinite(t)?String(t):r[e]??e}return e=>{switch(e.code){case`invalid_type`:return`Invalid input: expected ${i(e.expected)}, received ${i(tl(e.input),e.input)}`;case`invalid_value`:return e.values.length===1?`Invalid input: expected ${Mc(e.values[0])}`:`Invalid option: expected one of ${sc(e.values,`|`)}`;case`too_big`:{let n=e.exact?`exactly `:e.inclusive?`<=`:`<`,r=t(e.origin);return r?`Too big: expected ${e.origin??`value`} to have ${n}${e.maximum.toString()} ${r.unit??`elements`}`:`Too big: expected ${e.origin??`value`} to be ${n}${e.maximum.toString()}`}case`too_small`:{let n=e.exact?`exactly `:e.inclusive?`>=`:`>`,r=t(e.origin);return r?`Too small: expected ${e.origin} to have ${n}${e.minimum.toString()} ${r.unit}`:`Too small: expected ${e.origin} to be ${n}${e.minimum.toString()}`}case`invalid_format`:{let t=e;return t.format===`starts_with`?`Invalid string: must start with "${t.prefix}"`:t.format===`ends_with`?`Invalid string: must end with "${t.suffix}"`:t.format===`includes`?`Invalid string: must include "${t.includes}"`:t.format===`regex`?`Invalid string: must match pattern ${t.pattern}`:`Invalid ${n[t.format]??e.format}`}case`not_multiple_of`:return`Invalid number: must be a multiple of ${e.divisor}`;case`unrecognized_keys`:return`Unrecognized key${e.keys.length>1?`s`:``}: ${sc(e.keys,`, `)}`;case`invalid_key`:return`Invalid key in ${e.origin}`;case`invalid_union`:return e.options&&Array.isArray(e.options)&&e.options.length>0?`Invalid discriminator value. Expected ${e.options.map(e=>`'${e}'`).join(` | `)}`:e.inclusive===!1?`Invalid input: more than one option matched`:`Invalid input`;case`invalid_element`:return`Invalid value in ${e.origin}`;default:return`Invalid input`}}};function Wf(){return{localeError:Uf()}}var Gf,Kf=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function qf(){return new Kf}(Gf=globalThis).__zod_globalRegistry??(Gf.__zod_globalRegistry=qf());var Jf=globalThis.__zod_globalRegistry;function Yf(e){return e.checks&&=[...e.checks],e}function Xf(e,t){return new e(Yf({type:`string`,...H(t)}))}function Zf(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...H(t)})}function Qf(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...H(t)})}function $f(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...H(t)})}function ep(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...H(t)})}function tp(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...H(t)})}function np(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...H(t)})}function rp(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...H(t)})}function ip(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...H(t)})}function ap(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...H(t)})}function op(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...H(t)})}function sp(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...H(t)})}function cp(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...H(t)})}function lp(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...H(t)})}function up(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...H(t)})}function dp(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...H(t)})}function fp(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...H(t)})}function pp(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...H(t)})}function mp(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...H(t)})}function hp(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...H(t)})}function gp(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...H(t)})}function _p(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...H(t)})}function vp(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...H(t)})}function yp(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...H(t)})}function bp(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...H(t)})}function xp(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...H(t)})}function Sp(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...H(t)})}function Cp(e,t){return new e(Yf({type:`number`,checks:[],...H(t)}))}function wp(e,t){return new e({type:`number`,check:`number_format`,abort:!1,format:`safeint`,...H(t)})}function Tp(e,t){return new e({type:`boolean`,...H(t)})}function Ep(e){return new e({type:`unknown`})}function Dp(e,t){return new e({type:`never`,...H(t)})}function Op(e,t){return new Nu({check:`less_than`,...H(t),value:e,inclusive:!1})}function kp(e,t){return new Nu({check:`less_than`,...H(t),value:e,inclusive:!0})}function Ap(e,t){return new Pu({check:`greater_than`,...H(t),value:e,inclusive:!1})}function jp(e,t){return new Pu({check:`greater_than`,...H(t),value:e,inclusive:!0})}function Mp(e,t){return new Fu({check:`multiple_of`,...H(t),value:e})}function Np(e,t){return new Lu({check:`max_length`,...H(t),maximum:e})}function Pp(e,t){return new Ru({check:`min_length`,...H(t),minimum:e})}function Fp(e,t){return new zu({check:`length_equals`,...H(t),length:e})}function Ip(e,t){return new Vu({check:`string_format`,format:`regex`,...H(t),pattern:e})}function Lp(e){return new Hu({check:`string_format`,format:`lowercase`,...H(e)})}function Rp(e){return new Uu({check:`string_format`,format:`uppercase`,...H(e)})}function zp(e,t){return new Wu({check:`string_format`,format:`includes`,...H(t),includes:e})}function Bp(e,t){return new Gu({check:`string_format`,format:`starts_with`,...H(t),prefix:e})}function Vp(e,t){return new Ku({check:`string_format`,format:`ends_with`,...H(t),suffix:e})}function Hp(e){return new qu({check:`overwrite`,tx:e})}function Up(e){return Hp(t=>t.normalize(e))}function Wp(){return Hp(e=>e.trim())}function Gp(){return Hp(e=>e.toLowerCase())}function Kp(){return Hp(e=>e.toUpperCase())}function qp(){return Hp(e=>Cc(e))}function Jp(e,t,n){return new e({type:`array`,element:t,...H(n)})}function Yp(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...H(n)})}function Xp(e,t){let n=Zp(t=>(t.addIssue=e=>{if(typeof e==`string`)t.issues.push(nl(e,t.value,n._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,`input`in r||(r.input=t.value),r.inst??=n,r.continue??=!n._zod.def.abort,t.issues.push(nl(r))}},e(t.value,t)),t);return n}function Zp(e,t){let n=new Au({check:`custom`,...H(t)});return n._zod.check=e,n}function Qp(e,...t){for(let n of t)for(let t of Reflect.ownKeys(n))Object.prototype.propertyIsEnumerable.call(n,t)&&mc(e,t,n[t]);return e}function $p(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??Jf,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 em(e,t,n,r,i){let a=typeof t.unrepresentable==`function`?t.unrepresentable({zodSchema:e,path:r.path,message:i}):t.unrepresentable;if(a===`any`)return!1;if(a===void 0||a===`throw`)throw Error(i);return Object.assign(n,a),!0}function q(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o),t.sharedDefsExtractedFor=void 0,t.sharedEmitDoneFor=void 0;let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,q(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Qp(o.schema,c),t.io===`input`&&um(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&`_prefault`in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function tm(e){return e.replace(/~/g,`~0`).replace(/\//g,`~1`)}function nm(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);if(e.external&&e.sharedDefsExtractedFor===e.external)return;let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${tm(a)}`}}let i=`#/${r}/`;if(t[1]===n&&!t[1].schema.id)return{ref:`#`};let a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+tm(a)}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/<root>
|
|
57
57
|
|
|
58
|
-
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0])a(n);else{if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}(e.metadataRegistry.get(n[0])?.id||r.cycle||r.count>1&&e.reused===`ref`)&&a(n)}}e.external&&(e.sharedDefsExtractedFor=e.external)}function rm(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let n=[];for(let e of t){if(!e||typeof e!=`object`)return;rm(e);let t=Object.keys(e);if(t.length!==1||t[0]!==`type`)return;let r=e.type;for(let e of Array.isArray(r)?r:[r]){if(typeof e!=`string`)return;n.includes(e)||n.push(e)}}delete e.anyOf,e.type=n.length===1?n[0]:n}var im=new Set([`type`,`properties`,`required`,`additionalProperties`]),am=[`oneOf`,`anyOf`];function om(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!=`object`||!t?null:Object.keys(t).length?t:null}function sm(e){let t=[];for(let n of e){if(typeof n!=`object`||n.type!==`object`)return null;for(let e in n)if(!im.has(e))return null;t.push(n)}let n={},r=new Set;for(let e of t){for(let r in e.properties){if(Object.prototype.hasOwnProperty.call(n,r))continue;let e=[];for(let n of t){let t=n.properties?.[r]??om(n);t!=null&&(e.some(e=>JSON.stringify(e)===JSON.stringify(t))||e.push(t))}mc(n,r,e.length===1?e[0]:sm(e)??{allOf:e})}for(let t of e.required??[])r.add(t)}let i={type:`object`,properties:n};if(r.size&&(i.required=[...r]),t.every(e=>e.additionalProperties===!1))i.additionalProperties=!1;else{let e=[];for(let n of t){let t=om(n);t&&!e.some(e=>JSON.stringify(e)===JSON.stringify(t))&&e.push(t)}e.length===1?i.additionalProperties=e[0]:e.length>1&&(i.additionalProperties={allOf:e})}return i}function cm(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let t of im)if(t in e)return;let n=t.filter(e=>am.some(t=>Array.isArray(e[t]))),r=null;if(!n.length)r=sm(t);else{let e=n[0],i=am.find(t=>Array.isArray(e[t]));if(Object.keys(e).length!==1)return;let a=t.filter(t=>t!==e),o=e[i].map(e=>sm([...a,e]));if(o.some(e=>!e))return;r={[i]:o}}r&&(delete e.allOf,Qp(e,r))}function lm(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Qp(i,s),Qp(i,a),t._zod.parent===o)for(let e in i)e!==`$ref`&&e!==`allOf`&&(e in a||delete i[e]);if(s.$ref&&n.def)for(let e in i)e!==`$ref`&&e!==`allOf`&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e!==`$ref`&&e!==`allOf`&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let t of[...e.seen.entries()].reverse())r(t[0]);if(e.target!==`openapi-3.0`)for(let t of e.seen.entries())rm(t[1].def??t[1].schema);for(let t of e.deferred)t();if(e.intersections.length){let t=new Map;for(let n of e.seen.values())for(let e of[n.schema,n.def]){let n=e?.allOf;if(!Array.isArray(n))continue;let r=t.get(n);r?r.push(e):t.set(n,[e])}for(let n of e.intersections)for(let e of t.get(n)??[])cm(e)}}let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Qp(i,n.defId?n.schema:n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,mc(o,e.defId,e.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:fm(t,`input`,e.processors),output:fm(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function um(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return um(r.element,n);if(r.type===`set`)return um(r.valueType,n);if(r.type===`lazy`)return um(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`||r.type===`catch`)return um(r.innerType,n);if(r.type===`intersection`)return um(r.left,n)||um(r.right,n);if(r.type===`record`||r.type===`map`)return um(r.keyType,n)||um(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:um(r.in,n)||um(r.out,n);if(r.type===`object`){for(let e in r.shape)if(um(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(um(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(um(e,n))return!0;return!!(r.rest&&um(r.rest,n))}return!1}var dm=(e,t={})=>n=>{let r=$p({...n,processors:t});return q(e,r),nm(r,e),lm(r,e)},fm=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=$p({...i??{},target:a,io:t,processors:n});return q(e,o),nm(o,e),lm(o,e)},pm=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},mm=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},hm=(e,t)=>{pm(e,`minimum`,t),mm(e,`maximum`,t)},gm=(e,t)=>{e.multipleOf??=[],e.multipleOf.includes(t)||e.multipleOf.push(t)},_m=(e,t)=>{e.patterns??=new Set,e.patterns.add(t)},vm=(e,t)=>{e.mime=e.mime?e.mime.filter(e=>t.includes(e)):[...t]},ym=(e,t)=>{e.format=t,t.includes(`int`)&&(e.isInt=!0)},bm=(e,t)=>pm(e,`minimum`,t.minimum),xm=(e,t)=>mm(e,`maximum`,t.maximum),Sm=e=>(t,n)=>{ym(t,n.format);let[r,i]=e[n.format];pm(t,`minimum`,r),mm(t,`maximum`,i)},Cm={greater_than:(e,t)=>pm(e,t.inclusive?`minimum`:`exclusiveMinimum`,t.value),less_than:(e,t)=>mm(e,t.inclusive?`maximum`:`exclusiveMaximum`,t.value),multiple_of:(e,t)=>gm(e,t.value),number_format:Sm(Pc),bigint_format:Sm(Fc),min_length:bm,max_length:xm,length_equals:(e,t)=>hm(e,t.length),min_size:bm,max_size:xm,size_equals:(e,t)=>hm(e,t.size),string_format:(e,t)=>{ym(e,t.format),t.pattern&&_m(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)=>vm(e,t.mime)};function wm(e){let t={},n=e._zod.def,r=e._zod.traits.has(`$ZodCheck`)?[e,...n.checks??[]]:n.checks??[];for(let e of r)Cm[e._zod.def.check]?.(t,e._zod.def);let i=e._zod.bag;i.minimum!==void 0&&pm(t,`minimum`,i.minimum),i.exclusiveMinimum!==void 0&&pm(t,`exclusiveMinimum`,i.exclusiveMinimum),i.maximum!==void 0&&mm(t,`maximum`,i.maximum),i.exclusiveMaximum!==void 0&&mm(t,`exclusiveMaximum`,i.exclusiveMaximum),i.multipleOf!==void 0&&gm(t,i.multipleOf),i.format!==void 0&&(t.format??=i.format,i.format.includes(`int`)&&(t.isInt=!0)),i.mime&&vm(t,i.mime);for(let e of i.patterns??[])_m(t,e);return t}var Tm={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},Em=new Map([[Ad,mu],[Md,hu]]),Dm=e=>Em.get(e)??e,Om=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l,laxFormat:u}=wm(e);if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=Tm[s]??s,i.format===``&&delete i.format,(s===`time`||u)&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c].map(Dm);e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},km=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,multipleOf:s,exclusiveMaximum:c,exclusiveMinimum:l,isInt:u}=wm(e);i.type=u?`integer`:`number`;let d=typeof l==`number`&&l>=(a??-1/0),f=typeof c==`number`&&c<=(o??1/0),p=t.target===`draft-04`||t.target===`openapi-3.0`;if(d?p?(i.minimum=l,i.exclusiveMinimum=!0):i.exclusiveMinimum=l:typeof a==`number`&&(i.minimum=a),f?p?(i.maximum=c,i.exclusiveMaximum=!0):i.exclusiveMaximum=c:typeof o==`number`&&(i.maximum=o),s){let n=new Set;for(let a of s)Number.isFinite(a)&&a!==0?n.add(Math.abs(a)):em(e,t,i,r,`A multipleOf divisor of ${a} cannot be represented in JSON Schema`);let[a,...o]=n;a!==void 0&&(i.multipleOf=a),o.length&&(i.allOf=[...i.allOf??[],...o.map(e=>({multipleOf:e}))])}},Am=(e,t,n,r)=>{n.type=`boolean`},jm=(e,t,n,r)=>{n.not={}},Mm=(e,t,n,r)=>{let i=e._zod.def,a=oc(i.entries);a.length===0?n.not={}:(a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a)},Nm=(e,t,n,r)=>{let i=e._zod.def;if(i.values.length===0){n.not={};return}let a=[];for(let o of i.values)if(o===void 0){if(em(e,t,n,r,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof o==`bigint`){if(em(e,t,n,r,`BigInt literals cannot be represented in JSON Schema`))return;a.push(Number(o))}else a.push(o);if(a.length!==0){if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a}},Pm=(e,t,n,r)=>{em(e,t,n,r,`Custom types cannot be represented in JSON Schema`)},Fm=(e,t,n,r)=>{em(e,t,n,r,`Transforms cannot be represented in JSON Schema`)},Im=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=wm(e);typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=q(a.element,t,{...r,path:[...r.path,`items`]})};function Lm(e){let t=e._zod.def;return t.type===`pipe`&&t.in._zod.traits.has(`$ZodTransform`)?Lm(t.out):t.type===`catch`?Lm(t.innerType):e._zod.optin}var Rm=(e,t,n,r)=>{let i=n,a=e._zod.def,o=a.shape;if(Object.getOwnPropertySymbols(o).length&&em(e,t,i,r,`Symbol keys cannot be represented in JSON Schema`))return;i.type=`object`,i.properties={};for(let e in o)mc(i.properties,e,q(o[e],t,{...r,path:[...r.path,`properties`,e]}));let s=[];for(let e of Object.keys(o)){let n=a.shape[e];(t.io===`input`?Lm(n)===void 0:n._zod.optout===void 0)&&s.push(e)}s.length>0&&(i.required=s),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=q(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},zm=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>q(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},Bm=(e,t,n,r)=>{let i=e._zod.def,a=q(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=q(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1,c=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]];n.allOf=c,t.intersections.push(c)};function Vm(e,t,n){if(t.$ref){if(n.has(t))return t;n.add(t);let r=e.get(t)?.def;if(!r)return t;let i=Vm(e,r,n);return i===r?t:i}for(let r of[`anyOf`,`oneOf`]){let i=t[r];if(!Array.isArray(i))continue;let a=i.map(t=>Vm(e,t,n));a.some((e,t)=>e!==i[t])&&(t={...t,[r]:a})}let r=Array.isArray(t.type)?t.type:[t.type],i=!r.includes(`string`)&&r.some(e=>e===`number`||e===`integer`),a=t.enum??(t.const===void 0?void 0:[t.const]);if(!i&&!a?.some(e=>typeof e==`number`))return t;let{minimum:o,maximum:s,exclusiveMinimum:c,exclusiveMaximum:l,multipleOf:u,format:d,id:f,...p}=t;return p.enum?p.enum=p.enum.map(e=>typeof e==`number`?String(e):e):typeof p.const==`number`&&(p.const=String(p.const)),i&&(p.type=`string`,a||(p.pattern=(r.includes(`number`)?Eu:Tu).source)),p}var Hm=new WeakMap;function Um(e){let t=new Map;for(let n of e.seen.values())n.def&&!t.has(n.schema)&&t.set(n.schema,n);let n=new Map;for(let r of Hm.get(e)??[]){let i=e.seen.get(r),a=(i?.def??i?.schema)?.propertyNames;if(!a||a===!0||n.has(a))continue;let o=Vm(t,a,new Set);o!==a&&n.set(a,o)}if(n.size)for(let t of e.seen.values())for(let e of[t.schema,t.def]){let t=e&&n.get(e.propertyNames);t&&(e.propertyNames=t)}}var Wm=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=wm(o).patterns;if(a.mode===`loose`&&s&&s.size>0){let e=q(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)mc(i.patternProperties,Dm(t).source,e)}else{if(t.target===`draft-07`||t.target===`draft-2020-12`){i.propertyNames=q(a.keyType,t,{...r,path:[...r.path,`propertyNames`]});let n=Hm.get(t);n||(n=[],Hm.set(t,n),t.deferred.push(()=>Um(t))),n.push(e)}i.additionalProperties=q(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]})}let c=o._zod.values,l=t.io===`input`&&Lm(a.valueType)!==void 0;if(c&&!a.partial&&!l){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e.map(String))}},Gm=(e,t,n,r)=>{let i=e._zod.def,a=q(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},Km=(e,t,n,r)=>{let i=e._zod.def;q(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},qm=Symbol();function Jm(e,t,n,r,i){let a=!1,o=JSON.stringify(e,(e,t)=>typeof t==`bigint`?(a=!0,null):t);return a?(em(t,n,r,i,`BigInt defaults cannot be represented in JSON Schema`),qm):JSON.parse(o)}var Ym=(e,t,n,r)=>{let i=e._zod.def;q(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o=Jm(i.defaultValue,e,t,n,r);o!==qm&&(n.default=o)},Xm=(e,t,n,r)=>{let i=e._zod.def;q(i.innerType,t,r);let a=t.seen.get(e);if(a.ref=i.innerType,t.io!==`input`)return;let o=Jm(i.defaultValue,e,t,n,r);o!==qm&&(n._prefault=o)},Zm=(e,t,n,r)=>{let i=e._zod.def;q(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{em(e,t,n,r,`Dynamic catch values are not supported in JSON Schema`);return}n.default=o},Qm=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;q(o,t,r);let s=t.seen.get(e);s.ref=o},$m=(e,t,n,r)=>{let i=e._zod.def;q(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},eh=(e,t,n,r)=>{let i=e._zod.def;q(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},th=new WeakSet([Object.prototype,Error.prototype]);function nh(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let e=n(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0})}})}var rh=W(`ZodError`,(e,t)=>{Ol.init(e,t),e.name=`ZodError`;let n=Object.getPrototypeOf(e);th.has(n)||(th.add(n),nh(n,`format`,e=>t=>jl(e,t)),nh(n,`flatten`,e=>t=>Al(e,t)),nh(n,`addIssue`,e=>t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,cc,2)}),nh(n,`addIssues`,e=>t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,cc,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},void 0,{Parent:Error}),ih=Nl(rh),ah=Pl(rh),oh=Fl(rh),sh=Ll(rh),ch=Ul(rh),lh=Wl(rh),uh=Gl(rh),dh=Kl(rh),fh=ql(rh),ph=Jl(rh),mh=Yl(rh),hh=Xl(rh);function gh(){xl.localeError||Sl(Wf())}function _h(){xl.memoizer||Sl({memoizer:Vf()})}var J=W(`ZodType`,(e,t)=>(gh(),G.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(xc(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return jc(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(Pg(e,t))},superRefine(e,t){return this.check(Fg(e,t))},overwrite(e){return this.check(Hp(e))},optional(){return gg(this)},exactOptional(){return vg(this)},nullable(){return bg(this)},nullish(){return gg(bg(this))},nonoptional(e){return Eg(this,e)},array(){return tg(this)},or(e){return ig([this,e])},and(e){return og(this,e)},transform(e){return Ag(this,mg(e))},default(e){return Sg(this,e)},prefault(e){return wg(this,e)},catch(e){return Og(this,e)},pipe(e){return Ag(this,e)},readonly(){return Mg(this)},describe(e){let t=this.clone();return Jf.add(t,{description:e}),t},meta(...e){if(e.length===0)return Jf.get(this);let t=this.clone();return Jf.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 al(this,`~standard`,{...Qu(this),jsonSchema:{input:fm(this,`input`),output:fm(this,`output`)}})},set"~standard"(e){il(this,`~standard`,e)},parse:function e(t,n){return ih(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await ah(this,t,n,{callee:e})},safeParse(e,t){return oh(this,e,t)},async safeParseAsync(e,t){return sh(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){il(this,`spa`,e)},validate(e,t){return Bl(this,e,t)},validateAsync(e,t){return Hl(this,e,t)},encode:function e(t,n){return ch(this,t,n,{callee:e})},decode:function e(t,n){return lh(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await uh(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await dh(this,t,n,{callee:e})},safeEncode(e,t){return fh(this,e,t)},safeDecode(e,t){return ph(this,e,t)},async safeEncodeAsync(e,t){return mh(this,e,t)},async safeDecodeAsync(e,t){return hh(this,e,t)},toJSONSchema(e){return dm(this,{})(e)},get description(){return Jf.get(this)?.description},get _def(){return this._zod.def}}),vh=W(`_ZodString`,(e,t)=>{$u.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Om(e,t,n,r)},ol({format:e=>wm(e).format??null,minLength:e=>wm(e).minimum??null,maxLength:e=>wm(e).maximum??null},{regex(...e){return this.check(Ip(...e))},includes(...e){return this.check(zp(...e))},startsWith(...e){return this.check(Bp(...e))},endsWith(...e){return this.check(Vp(...e))},min(...e){return this.check(Pp(...e))},max(...e){return this.check(Np(...e))},length(...e){return this.check(Fp(...e))},nonempty(...e){return this.check(Pp(1,...e))},lowercase(e){return this.check(Lp(e))},uppercase(e){return this.check(Rp(e))},trim(){return this.check(Wp())},normalize(...e){return this.check(Up(...e))},toLowerCase(){return this.check(Gp())},toUpperCase(){return this.check(Kp())},slugify(){return this.check(qp())}})),yh=W(`ZodString`,(e,t)=>{$u.init(e,t),vh.init(e,t)},{email(e){return this.check(Zf(wh,e))},url(e){return this.check(rp(Oh,e))},jwt(e){return this.check(vp(Uh,e))},emoji(e){return this.check(ip(kh,e))},guid(e){return this.check(Qf(Th,e))},uuid(e){return this.check($f(Eh,e))},uuidv4(e){return this.check(ep(Eh,e))},uuidv6(e){return this.check(tp(Eh,e))},uuidv7(e){return this.check(np(Eh,e))},nanoid(e){return this.check(ap(Ah,e))},cuid(e){return this.check(op(jh,e))},cuid2(e){return this.check(sp(Mh,e))},ulid(e){return this.check(cp(Nh,e))},base64(e){return this.check(hp(Bh,e))},base64url(e){return this.check(gp(Vh,e))},xid(e){return this.check(lp(Ph,e))},ksuid(e){return this.check(up(Fh,e))},ipv4(e){return this.check(dp(Ih,e))},ipv6(e){return this.check(fp(Lh,e))},cidrv4(e){return this.check(pp(Rh,e))},cidrv6(e){return this.check(mp(zh,e))},e164(e){return this.check(_p(Hh,e))},datetime(e){return this.check(yp(bh,e))},date(e){return this.check(bp(xh,e))},time(e){return this.check(xp(Sh,e))},duration(e){return this.check(Sp(Ch,e))}});function Y(e){return Xf(yh,e)}var X=W(`ZodStringFormat`,(e,t)=>{K.init(e,t),vh.init(e,t)}),bh=W(`ZodISODateTime`,(e,t)=>{vd.init(e,t),X.init(e,t)}),xh=W(`ZodISODate`,(e,t)=>{yd.init(e,t),X.init(e,t)}),Sh=W(`ZodISOTime`,(e,t)=>{bd.init(e,t),X.init(e,t)}),Ch=W(`ZodISODuration`,(e,t)=>{xd.init(e,t),X.init(e,t)}),wh=W(`ZodEmail`,(e,t)=>{nd.init(e,t),X.init(e,t)}),Th=W(`ZodGUID`,(e,t)=>{ed.init(e,t),X.init(e,t)}),Eh=W(`ZodUUID`,(e,t)=>{td.init(e,t),X.init(e,t)});function Dh(e){return $f(Eh,e)}var Oh=W(`ZodURL`,(e,t)=>{ud.init(e,t),X.init(e,t)}),kh=W(`ZodEmoji`,(e,t)=>{dd.init(e,t),X.init(e,t)}),Ah=W(`ZodNanoID`,(e,t)=>{fd.init(e,t),X.init(e,t)}),jh=W(`ZodCUID`,(e,t)=>{pd.init(e,t),X.init(e,t)}),Mh=W(`ZodCUID2`,(e,t)=>{md.init(e,t),X.init(e,t)}),Nh=W(`ZodULID`,(e,t)=>{hd.init(e,t),X.init(e,t)}),Ph=W(`ZodXID`,(e,t)=>{gd.init(e,t),X.init(e,t)}),Fh=W(`ZodKSUID`,(e,t)=>{_d.init(e,t),X.init(e,t)}),Ih=W(`ZodIPv4`,(e,t)=>{Sd.init(e,t),X.init(e,t)}),Lh=W(`ZodIPv6`,(e,t)=>{Td.init(e,t),X.init(e,t)}),Rh=W(`ZodCIDRv4`,(e,t)=>{Ed.init(e,t),X.init(e,t)}),zh=W(`ZodCIDRv6`,(e,t)=>{Od.init(e,t),X.init(e,t)}),Bh=W(`ZodBase64`,(e,t)=>{jd.init(e,t),X.init(e,t)}),Vh=W(`ZodBase64URL`,(e,t)=>{Pd.init(e,t),X.init(e,t)}),Hh=W(`ZodE164`,(e,t)=>{Fd.init(e,t),X.init(e,t)}),Uh=W(`ZodJWT`,(e,t)=>{Ld.init(e,t),X.init(e,t)}),Wh=W(`ZodNumber`,(e,t)=>{Rd.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>km(e,t,n,r),e.isFinite=!0},ol({minValue:e=>{let{minimum:t,exclusiveMinimum:n}=wm(e);return Math.max(t??-1/0,n??-1/0)},maxValue:e=>{let{maximum:t,exclusiveMaximum:n}=wm(e);return Math.min(t??1/0,n??1/0)},isInt:e=>{let{isInt:t,multipleOf:n}=wm(e);return!!t||!!n?.some(Number.isSafeInteger)},format:e=>wm(e).format??null},{gt(e,t){return this.check(Ap(e,t))},gte(e,t){return this.check(jp(e,t))},min(e,t){return this.check(jp(e,t))},lt(e,t){return this.check(Op(e,t))},lte(e,t){return this.check(kp(e,t))},max(e,t){return this.check(kp(e,t))},int(e){return this.check(qh(e))},safe(e){return this.check(qh(e))},positive(e){return this.check(Ap(0,e))},nonnegative(e){return this.check(jp(0,e))},negative(e){return this.check(Op(0,e))},nonpositive(e){return this.check(kp(0,e))},multipleOf(e,t){return this.check(Mp(e,t))},step(e,t){return this.check(Mp(e,t))},finite(){return this}}));function Gh(e){return Cp(Wh,e)}var Kh=W(`ZodNumberFormat`,(e,t)=>{zd.init(e,t),Wh.init(e,t)});function qh(e){return wp(Kh,e)}var Jh=W(`ZodBoolean`,(e,t)=>{Bd.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Am(e,t,n,r)});function Yh(e){return Tp(Jh,e)}var Xh=W(`ZodUnknown`,(e,t)=>{Vd.init(e,t),J.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function Zh(){return Ep(Xh)}var Qh=W(`ZodNever`,(e,t)=>{Hd.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>jm(e,t,n,r)});function $h(e){return Dp(Qh,e)}var eg=W(`ZodArray`,(e,t)=>{_h(),Kd.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Im(e,t,n,r),e.element=t.element},{min(e,t){return this.check(Pp(e,t))},nonempty(e){return this.check(Pp(1,e))},max(e,t){return this.check(Np(e,t))},length(e,t){return this.check(Fp(e,t))},unwrap(){return this.element}});function tg(e,t){return Jp(eg,e,t)}var ng=W(`ZodObject`,(e,t)=>{_h(),Qd.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Rm(e,t,n,r),fl(e,`shape`,e=>e._zod.def.shape,!1)},{keyof(){return ug(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(xc(this._zod.def,{catchall:e}))},passthrough(){return this.clone(xc(this._zod.def,{catchall:Zh()}))},loose(){return this.clone(xc(this._zod.def,{catchall:Zh()}))},strict(){return this.clone(xc(this._zod.def,{catchall:$h()}))},strip(){return this.clone(xc(this._zod.def,{catchall:void 0}))},extend(e){return zc(this,e)},safeExtend(e){return Vc(this,e)},merge(e){return Hc(this,e)},pick(e){return Ic(this,e)},omit(e){return Rc(this,e)},partial(...e){return Uc(hg,this,e[0])},exactPartial(...e){return Uc(_g,this,e[0],`exactPartial`)},required(...e){return Wc(Tg,this,e[0])}});function Z(e,t){return new ng({type:`object`,shape:e??{},...H(t)})}var rg=W(`ZodUnion`,(e,t)=>{ef.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>zm(e,t,n,r),e.options=t.options});function ig(e,t){return new rg({type:`union`,options:e,...H(t)})}var ag=W(`ZodIntersection`,(e,t)=>{tf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Bm(e,t,n,r)});function og(e,t){return new ag({type:`intersection`,left:e,right:t})}var sg=W(`ZodRecord`,(e,t)=>{_h(),af.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Wm(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function cg(e,t,n){return!t||!t._zod?new sg({type:`record`,keyType:Y(),valueType:e,...H(t)}):new sg({type:`record`,keyType:e,valueType:t,...H(n)})}var lg=W(`ZodEnum`,(e,t)=>{of.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Mm(e,t,n,r),e.enum=t.entries,e.options=[...e._zod.values];let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new lg({...t,checks:[],...H(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new lg({...t,checks:[],...H(r),entries:i})}});function ug(e,t){return new lg({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...H(t)})}var dg=W(`ZodLiteral`,(e,t)=>{sf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Nm(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function fg(e,t){return new dg({type:`literal`,values:Array.isArray(e)?e:[e],...H(t)})}var pg=W(`ZodTransform`,(e,t)=>{_h(),cf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Fm(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new bl(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(nl(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,`input`in t||(t.input=n.value),t.inst??=e,n.issues.push(nl(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function mg(e){return new pg({type:`transform`,transform:e})}var hg=W(`ZodOptional`,(e,t)=>{uf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>eh(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function gg(e){return new hg({type:`optional`,innerType:e})}var _g=W(`ZodExactOptional`,(e,t)=>{df.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>eh(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function vg(e){return new _g({type:`optional`,innerType:e})}var yg=W(`ZodNullable`,(e,t)=>{ff.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Gm(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function bg(e){return new yg({type:`nullable`,innerType:e})}var xg=W(`ZodDefault`,(e,t)=>{pf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ym(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Sg(e,t){return new xg({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():Oc(t)}})}var Cg=W(`ZodPrefault`,(e,t)=>{hf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Xm(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function wg(e,t){return new Cg({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():Oc(t)}})}var Tg=W(`ZodNonOptional`,(e,t)=>{gf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Km(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Eg(e,t){return new Tg({type:`nonoptional`,innerType:e,...H(t)})}var Dg=W(`ZodCatch`,(e,t)=>{yf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Zm(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Og(e,t){return new Dg({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:ml(t)})}var kg=W(`ZodPipe`,(e,t)=>{bf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Qm(e,t,n,r),e.in=t.in,e.out=t.out});function Ag(e,t){return new kg({type:`pipe`,in:e,out:t})}var jg=W(`ZodReadonly`,(e,t)=>{Sf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>$m(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Mg(e){return new jg({type:`readonly`,innerType:e})}var Ng=W(`ZodCustom`,(e,t)=>{wf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Pm(e,t,n,r)});function Pg(e,t={}){return Yp(Ng,e,t)}function Fg(e,t){return Xp(e,t)}function Ig(e){return yp(bh,e)}var Lg=[`tasks:read`,`tasks:write`,`docs:read`,`docs:write`];function Rg(e){let t=[];return e.tasks!==`none`&&t.push(`tasks:read`),e.tasks===`write`&&t.push(`tasks:write`),e.docs!==`none`&&t.push(`docs:read`),e.docs===`write`&&t.push(`docs:write`),t}function zg(e,t){return e.includes(`${t}:write`)?`write`:e.includes(`${t}:read`)?`read`:`none`}var Bg=Dh(),Q=(e=120)=>Y().trim().min(1,`Required`).max(e),Vg=ug(ec),Hg=Gh().int().min(0).max(1e5),Ug=Ig({offset:!0}),Wg=2e5,Gg=Y().trim().min(1,`Required`).max(256),Kg=Z({setupCode:Gg,name:Q(80),locale:ug(tc).optional()}),qg=Z({accessKey:Gg}),Jg=Z({setupCode:Gg,reason:ug([`lost`,`compromised`])});Z({currentAccessKey:Gg}),Z({accessKey:Gg}),Z({token:Y().min(40).max(200)}),Z({name:Q(80).optional(),theme:ug([`system`,`light`,`dark`]).optional(),locale:ug(tc).optional()}),Z({name:Q(60)}),Z({name:Q(80),color:Vg.default(`cobalt`),description:Y().trim().max(500).optional()}),Z({name:Q(80).optional(),color:Vg.optional(),description:Y().trim().max(500).optional()}),Z({name:Q(80),columns:tg(Q(60)).max(20).optional()}),Z({name:Q(80)}),Z({name:Q(60),index:Hg.optional()}),Z({name:Q(60).optional(),index:Hg.optional()}),Z({name:Y().trim().max(40).default(``),color:Vg}),Z({name:Y().trim().max(40).optional(),color:Vg.optional()}),Z({title:Q(300),description:Y().max(Wg).optional(),dueAt:Ug.nullable().optional(),labelIds:tg(Bg).max(20).optional(),index:Hg.optional()}),Z({title:Q(300).optional(),description:Y().max(Wg).optional(),dueAt:Ug.nullable().optional(),labelIds:tg(Bg).max(20).optional()}),Z({columnId:Bg,index:Hg}),Z({title:Q(120).default(`Checklist`)}),Z({title:Q(120)}),Z({text:Q(500)}),Z({text:Q(500).optional(),done:Yh().optional(),index:Hg.optional()}),Z({pageId:Bg}),Z({title:Y().trim().max(200).default(``),icon:Y().max(16).nullable().optional(),parentId:Bg.nullable().optional(),content:Y().max(Wg).default(``)}),Z({title:Y().trim().max(200).optional(),icon:Y().max(16).nullable().optional(),content:Y().max(Wg).optional(),baseVersion:Gh().int().min(1).optional()}),Z({parentId:Bg.nullable(),index:Hg}),Z({name:Q(60),workspaceId:Bg,scopes:tg(ug(Lg)).min(1,`Select at least one permission`),expiresInDays:ig([fg(30),fg(90),fg(365)]).nullable()});var Yg=Y().regex(/^[A-Za-z0-9+/=_-]+$/).max(4096),Xg=Z({algorithm:fg(`argon2id`),salt:Yg,memoryKiB:Gh().int().min(19456).max(1048576),iterations:Gh().int().min(2).max(20),parallelism:Gh().int().min(1).max(8)}),Zg=Y().regex(/^v1\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+$/,`Invalid envelope`).max(4e5);Z({kdf:Xg,wrappedKey:Zg,recoveryWrappedKey:Zg}),Z({data:Zg}),Z({autoLockMinutes:ig([fg(1),fg(5),fg(15),fg(30),fg(60)])}),Z({params:cg(Y(),Y().max(4e3))}).extend({allow:Yh(),workspaceId:Y().optional(),scopes:tg(ug(Lg)).max(Lg.length).optional(),replace:Yh().optional()});var Qg=`X-File-Name`,$g={activity:{actions:{card:{created:`<actor>{{actor}}</actor> created the card <target>“{{target}}”</target>`,created_self:`<actor>{{actor}}</actor> created this card`,updated:`<actor>{{actor}}</actor> edited the card <target>“{{target}}”</target>`,updated_self:`<actor>{{actor}}</actor> edited this card`,moved:`<actor>{{actor}}</actor> moved the card <target>“{{target}}”</target>`,moved_self:`<actor>{{actor}}</actor> moved this card`,reordered:`<actor>{{actor}}</actor> reordered the card <target>“{{target}}”</target>`,reordered_self:`<actor>{{actor}}</actor> reordered this card`,archived:`<actor>{{actor}}</actor> archived the card <target>“{{target}}”</target>`,archived_self:`<actor>{{actor}}</actor> archived this card`,restored:`<actor>{{actor}}</actor> restored the card <target>“{{target}}”</target>`,restored_self:`<actor>{{actor}}</actor> restored this card`,deleted:`<actor>{{actor}}</actor> deleted the card <target>“{{target}}”</target>`,deleted_self:`<actor>{{actor}}</actor> deleted this card`,checklist:`<actor>{{actor}}</actor> updated the checklist of <target>“{{target}}”</target>`,checklist_self:`<actor>{{actor}}</actor> updated the checklist`,linked:`<actor>{{actor}}</actor> linked a document to <target>“{{target}}”</target>`,linked_self:`<actor>{{actor}}</actor> linked a document`,unlinked:`<actor>{{actor}}</actor> unlinked a document from <target>“{{target}}”</target>`,unlinked_self:`<actor>{{actor}}</actor> unlinked a document`},column:{created:`<actor>{{actor}}</actor> created the column <target>“{{target}}”</target>`,updated:`<actor>{{actor}}</actor> renamed the column <target>“{{target}}”</target>`,moved:`<actor>{{actor}}</actor> reordered the column <target>“{{target}}”</target>`,deleted:`<actor>{{actor}}</actor> deleted the column <target>“{{target}}”</target>`},board:{created:`<actor>{{actor}}</actor> created the board <target>“{{target}}”</target>`,updated:`<actor>{{actor}}</actor> renamed the board <target>“{{target}}”</target>`,deleted:`<actor>{{actor}}</actor> deleted the board <target>“{{target}}”</target>`},page:{created:`<actor>{{actor}}</actor> created the page <target>“{{target}}”</target>`,updated:`<actor>{{actor}}</actor> edited the page <target>“{{target}}”</target>`,moved:`<actor>{{actor}}</actor> moved the page <target>“{{target}}”</target>`,deleted:`<actor>{{actor}}</actor> deleted the page <target>“{{target}}”</target>`},project:{created:`<actor>{{actor}}</actor> created the project <target>“{{target}}”</target>`,updated:`<actor>{{actor}}</actor> updated the project <target>“{{target}}”</target>`,deleted:`<actor>{{actor}}</actor> deleted the project <target>“{{target}}”</target>`},label:{created:`<actor>{{actor}}</actor> created a label`,updated:`<actor>{{actor}}</actor> edited a label`,deleted:`<actor>{{actor}}</actor> deleted a label`},other:`<actor>{{actor}}</actor> made a change`},detail:{movedTo:`to {{to}}`,movedFromTo:`{{from}} → {{to}}`,createdIn:`in {{column}}`,linkedPage:`“{{page}}”`},viaMcp:`via MCP`},agents:{title:`Agents`,connect:`Connect an agent`,intro:{title:`Your agents, with clear permissions`,body:`Connect any MCP-compatible client to look up documentation, create tasks and reorganize boards. Each token belongs to a single workspace and can only do what you allow.`,endpoint:`Endpoint`,copyEndpoint:`Copy endpoint`,endpointCopied:`Endpoint copied`,oauth:`In Claude (web, desktop and mobile), add a custom connector with this endpoint. No token needed: you’ll be asked for permission here. Any client that supports OAuth works the same way.`},vault:{title:`The vault is out of their reach`,unreadable:`No token can read the vault, not even encrypted: the server rejects the request before it touches any data.`,noDeletes:`Agents can’t delete anything. They can only archive, and you can restore.`,logged:`Every action is logged, and you can watch it live in the app.`},tokens:{active:`Active connections`,emptyTitle:`You haven’t connected any agents yet`,emptyBody:`Create a token and paste the configuration into Claude Code, Cursor, VS Code or Claude Desktop.`,inactive_one:`{{count}} revoked or expired`,inactive_other:`{{count}} revoked or expired`},activity:{title:`Agent activity`,titleFor:`Activity by “{{name}}”`,showAll:`Show all`,loading:`Loading…`,empty:`When an agent works in this workspace, you’ll see it here.`},tools:{title:`MCP tools`,footnote:`Each agent only sees the tools its permissions allow.`,scopes:{read:`Read`,write:`Write`,tasksRead:`Tasks · read`,tasksWrite:`Tasks · write`,docsRead:`Documents · read`,docsWrite:`Documents · write`},descriptions:{listProjects:`Projects, boards and page outline`,search:`Search across cards and pages`,readBoards:`Columns, cards, checklists and links`,editCards:`Create, edit and move cards`,archiveCard:`Archive (restorable from the app)`,organizeBoards:`Reorganize boards`,labels:`Labels and checklists`,readPages:`Page tree and Markdown content`,writePages:`Create and update, with version control`,linkCard:`Link tasks and documents`,createProject:`Create projects`}},revoke:{action:`Revoke`,title:`Revoke “{{name}}”?`,description:`The agent loses access right away. Its past activity is kept.`,confirm:`Revoke access`,done:`Access revoked`},token:{oauth:{plain:`Connected with OAuth · returns to {{name}}`,computer:`Connected with OAuth · returns to {{name}} on this computer`,app:`Connected with OAuth · returns to the “{{name}}” app on this computer`},access:{tasks:{none:`Tasks: No access`,read:`Tasks: Read`,write:`Tasks: Read and write`},docs:{none:`Documents: No access`,read:`Documents: Read`,write:`Documents: Read and write`}},vaultNever:`Vault: never`,lastUsed:`Last used`,created:`Created`,revoked:`Revoked`,expires:`Expires`,expiresUnused:`Expires if unused`,never:`Never`,idle:`Not used for {{days}} days`,showActivity:`View its activity`},access:{levels:{none:`No access`,read:`Read`,write:`Read and write`},tasks:{label:`Tasks`,hint:`Boards, columns, cards and checklists`,group:`Access to tasks`},docs:{label:`Documents`,hint:`Pages and their Markdown content`,group:`Access to documents`},vault:{label:`Vault`,hint:`Never accessible to agents`,blocked:`Blocked`},atLeastOne:`Give read access to at least one area.`},kit:{clients:`MCP client`,terminal:`Terminal`,copy:`Copy configuration`,copied:`Configuration copied`,desktopNote:`Claude Desktop uses the mcp-remote bridge (Node.js) to send the authentication header.`,httpNote:`Streamable HTTP transport with Bearer authentication. Restart the client if it doesn’t find the server.`},create:{description:`Create a token for “{{workspace}}”. It can only reach this workspace, and only what you allow here.`,descriptionFallback:`Create a token for this workspace. It can only reach this workspace, and only what you allow here.`,name:`Agent name`,namePlaceholder:`e.g. Claude Code, Cursor, Support assistant`,expiry:`Expiration`,expiries:{30:`30 days`,90:`90 days`,365:`1 year`,never:`Never`},submit:`Create token`},created:{title:`“{{name}}” is ready`,description:`Copy the token now. For security, we only keep its fingerprint, so you won’t be able to see it again.`,copy:`Copy token`,copied:`Token copied`,done:`Done`}},auth:{hero:{title:`Organize.<br/>Document.<br/><accent>Protect.</accent>`,body:`One workspace for your projects, your knowledge and your credentials. Open to you and your AI agents, with permissions you control.`},pillars:{tasks:{title:`Tasks`,body:`Kanban boards, labels, due dates and checklists.`},docs:{title:`Docs`,body:`Nested Markdown pages, linked to your tasks.`},vault:{title:`Vault`,body:`End-to-end encrypted. Neither the server nor your agents can read it.`},agents:{title:`Agents`,body:`An MCP server with per-token permissions, so your LLMs can work alongside you.`}},orbit:{label:`Agents orbit your tasks and documents; the vault stays out of their reach`,tasks:`Tasks`,docs:`Docs`,vault:`Vault`},fields:{setupCode:{label:`Setup code`,show:`Show setup code`,hide:`Hide setup code`},newSetupCode:{label:`New setup code`,show:`Show new setup code`,hide:`Hide new setup code`},accessKey:{label:`Access key`,show:`Show access key`,hide:`Hide access key`},name:{label:`Your name`,hint:`Shown in the activity of your workspaces.`}},setup:{title:`Set up your copy`,subtitle:`This copy of Orqevio is yours alone. Enter the setup code you chose when you installed it. If you didn’t choose one, you’ll find it in the server log.`,submit:`Set up`,missingSetupCode:`Enter the setup code.`,missingName:`Enter your name.`},login:{title:`Welcome back`,subtitle:`Enter the access key for this copy of Orqevio.`,submit:`Sign in`,missingAccessKey:`Enter your access key.`,lostKey:`Lost your key?`},recovery:{intro:`Whoever manages this copy can generate a new key:`,cli:`Generate a new code from your computer and enter it here:`,button:`Change the <code>SETUP_CODE</code> secret in the Cloudflare dashboard (Workers & Pages → {{name}} → Settings → Variables and Secrets) and enter the new code here.`,cloudflare:`Change the copy’s <code>SETUP_CODE</code> secret (for example, with <code>npx wrangler secret put SETUP_CODE</code>) and enter the new code here.`,withCommand:`With this command on the server, which gives you the new key straight away (add --revoke-agents if someone else may have had the key):`,withNewCode:`With a new code: change <code>SETUP_CODE</code> in the copy’s configuration, restart it and enter the new code here.`,vaultUnaffected:`The vault isn’t affected: it stays protected by its master password.`,waiting:`As soon as there’s a new code, the form to use it appears here.`,missingSetupCode:`Enter the new setup code.`,submit:`Recover access`,missingReason:`Choose why you’re recovering access.`,reason:{legend:`Why are you recovering access?`,lost:{label:`I lost my key`,hint:`Your agents stay connected.`},compromised:{label:`Someone else may have it`,hint:`All your agents are disconnected, Claude included. You can reconnect the ones you trust afterwards.`}}},revealed:{setup:{title:`Save your access key`,subtitle:`You’ll use it to sign in to this copy from any device. It’s shown only once, so save it in your password manager.`},recovery:{title:`Your new access key`,subtitle:`The old key no longer works, and every session has been signed out. Save this one in your password manager: it’s shown only once.`},continue:`Continue to Orqevio`,agents:{title:`Connected agents`,review:`They kept their access. If you don’t recognize one, revoke it.`,none:`No agent is connected to this copy.`,revoked:`Every agent has been disconnected. Reconnect the ones you trust from Agents.`}},keyReveal:{label:`Access key`,copied:`Key copied`,download:`Download .txt`,saved:`I’ve saved it somewhere safe, like my password manager.`},keyFile:{name:`orqevio-access-key.txt`,title:`Orqevio — Access key`,address:`Address: {{address}}`,key:`Key: {{key}}`,use:`Save it in your password manager. It signs you in to this copy of Orqevio from any device.`,lost:`If you lose it, whoever manages the copy can generate a new one. It doesn’t affect the vault’s master password.`},uninstalled:{title:`Orqevio was uninstalled`,subtitle:`This copy holds no data anymore: workspaces, documents, attachments, vault and agents are gone. Only the copy itself is left:`,cli:`Remove its Worker and its bucket from your Cloudflare account with:`,button:`In your Cloudflare and GitHub (or GitLab) accounts:`,cloudflare:`In your Cloudflare account:`,docker:`Stop it and delete its data, then delete the folder where you installed it:`,source:`Stop the server and delete its data folder (DATA_DIR, apps/server/data by default).`,steps:{worker:`Delete the Worker “{{name}}”: Workers & Pages → {{name}} → Settings → Delete.`,bucket:`Delete the R2 bucket “{{bucket}}”: R2 → {{bucket}} → Settings → Delete Bucket.`,repository:`Delete the repository the button created for this copy.`,token:`Delete its build token in My Profile → API Tokens, if nothing else uses it.`}}},boards:{actions:{delete:`Delete`,restore:`Restore`,archive:`Archive`,rename:`Rename`,back:`Back`,undo:`Undo`},board:{region:`Board {{name}}`,archived:`Archived`,actions:`Board actions`,rename:`Rename board`,nameLabel:`Name`,delete:`Delete board`,empty:{title:`This board has no columns`,body:`Create columns for the stages of your work.`},filterActive:`Filter on · dragging is turned off`,removeFilter:`Remove filter`},drag:{instructions:`To pick up an item, press Space. Use the arrow keys to move it, then press Space again to drop it. Press Escape to cancel.`,card:{picked:`You picked up the card “{{title}}”. Column “{{column}}”, position {{position}} of {{total}}.`,over:`The card “{{title}}” is in column “{{column}}”, position {{position}} of {{total}}.`,outside:`The card “{{title}}” isn’t over a valid drop area.`,dropped:`You dropped the card “{{title}}”. Column “{{column}}”, position {{position}} of {{total}}.`,droppedOutside:`You dropped the card “{{title}}”.`,cancelled:`Moving the card “{{title}}” was canceled.`},column:{picked:`You picked up the column “{{title}}”. Position {{position}} of {{total}}.`,over:`The column “{{title}}” is at position {{position}} of {{total}}.`,outside:`The column “{{title}}” isn’t over a valid drop area.`,dropped:`You dropped the column “{{title}}”. Position {{position}} of {{total}}.`,droppedOutside:`You dropped the column “{{title}}”.`,cancelled:`Moving the column “{{title}}” was canceled.`}},filter:{button:`Filter`,search:`Search by title…`,searchLabel:`Search by title`,due:`Due date`,dues:{all:`All`,overdue:`Overdue`,week:`This week`,none:`No date`},labels:`Labels`,clear:`Clear filter`},column:{region:`Column {{name}}`,roleDescription:`column`,handle:`{{name}}. Double-click to rename, press Space to move`,name:`Column name`,add:`Add column`,addCardTo:`Add card to {{name}}`,actions:`Actions for {{name}}`,addCard:`Add card`,delete:`Delete column`,cards:`Cards in {{name}}`,noMatches:`Nothing matches the filter`,dropHere:`Drop cards here`,deleteConfirm:{title:`Delete the column “{{name}}”?`,withCards_one:`Its card will be deleted too. To keep it, move it to another column first.`,withCards_other:`Its {{count}} cards will be deleted too. To keep them, move them to another column first.`,empty:`The column is empty.`}},composer:{placeholder:`What needs to be done?`,hint:`<kbd>↵</kbd> add · <kbd>esc</kbd> close`,submit:`Add`},card:{title:`Card title`,roleDescription:`card`,checklist:`Checklist`,hasDescription:`Has a description`,linkedDocs:`Linked documents`,attachments:`Attachments`,createdByName:`Created by {{name}}`},sheet:{fallbackTitle:`Card`,label:`Card details`,gone:`This card no longer exists`,archived:`Archived`,agentEditing:`{{name}} is editing`,saving:`Saving…`,saved:`Saved`,actions:`Card actions`,archivedToast:`Card archived`,deleteConfirm:{title:`Delete this card?`,description:`It’ll be deleted along with its checklists and attachments. To just hide it, archive it instead.`},labels:`Labels`,addLabels:`Add labels`,due:`Due`,noDate:`No date`,createdBy:`Created by`,unknownCreator:`Unknown`,description:`Description`,descriptionPlaceholder:`Add context, acceptance criteria or notes. Press “/” to insert.`,descriptionLabel:`Card description`,checklists:`Checklists`,addChecklist:`+ Add`,newChecklistTitle:`Checklist`,checklistsEmpty:`Break the task into steps you can check off.`,linkedDocs:`Linked documents`,attachments:`Attachments`,activity:`Activity`},checklist:{titleLabel:`Checklist title`,actions:`Checklist actions`,delete:`Delete checklist`,progress:`Progress`,item:`Item`,deleteItem:`Delete “{{text}}”`,addItem:`Add item`,newItemPlaceholder:`New item, then Enter`,newItem:`New item`},due:{today:`Today`,tomorrow:`Tomorrow`,monday:`Monday`,inAWeek:`In a week`,remove:`Remove date`},labels:{title:`Labels`,newTitle:`New label`,editTitle:`Edit label`,namePlaceholder:`Name (optional)`,nameLabel:`Label name`,empty:`This board doesn’t have any labels yet.`,unnamed:`Unnamed`,editNamed:`Edit {{name}}`,editUnnamed:`Edit label`,create:`Create label`},linked:{mentioned:`mentioned`,unlinkNamed:`Unlink {{title}}`,unlinkUntitled:`Unlink page`,link:`Link document`,search:`Search pages…`,searchLabel:`Search pages`,noResults:`No results.`,hint:`Type to search the whole workspace.`},archived:{sheetTitle:`Archived cards`,heading:`Archived`,emptyTitle:`Nothing archived`,emptyBody:`Cards that you or your agents archive show up here, and you can restore them.`,deleteConfirm:`Delete “{{title}}” permanently?`},attachments:{deleteConfirm:`Delete “{{name}}”?`,download:`Download {{name}}`,deleteNamed:`Delete {{name}}`,uploading:`Uploading…`,attach:`Attach file`}},common:{language:`Language`,skipToContent:`Skip to content`,loading:`Loading`,actions:{cancel:`Cancel`,confirm:`Confirm`,save:`Save`,close:`Close`,copy:`Copy`,view:`View`,backHome:`Back to home`},dialog:{fallbackTitle:`Dialog`,details:`Details`},copyFailed:`Couldn’t copy to the clipboard`,notFound:{title:`Nothing here`,body:`The page doesn’t exist or you don’t have access to it.`},time:{justNow:`just now`},due:{today:`Today`,tomorrow:`Tomorrow`,yesterday:`Yesterday`},greeting:{night:`Good evening`,morning:`Good morning`,afternoon:`Good afternoon`,evening:`Good evening`},color:`Color`,colors:{tomato:`Persimmon`,amber:`Amber`,lime:`Lime`,jade:`Jade`,teal:`Turquoise`,cobalt:`Cobalt`,iris:`Iris`,rose:`Pink`,slate:`Slate`},untitled:`Untitled`,quoted:`“{{text}}”`},docs:{page:{status:{saving:`Saving…`,pending:`Unsaved changes`,saved:`Saved`,error:`Not saved`},actions:`Page actions`,newSubpage:`New subpage`,move:`Move to…`,delete:`Delete page`,titleLabel:`Page title`,editedBy:`Edited by <name>{{name}}</name> · {{time}}`,agentWorking:`{{name}} is working here`,agentUpdated:`{{name}} updated this page`,linkedTasks:`Linked tasks`,conflict:{byName:`<strong>{{name}}</strong> changed this page while you were editing. Your latest changes weren’t saved.`,byOtherSession:`<strong>Another session</strong> changed this page while you were editing. Your latest changes weren’t saved.`,loadTheirs:`Load their version`,keepMine:`Keep mine`},content:`Page content`,subpages:`Subpages`,attachments:`Attachments`},editor:{placeholder:`Write, or press “/” to insert…`,headingPlaceholder:`Heading`,label:`Content`,uploading:`Uploading {{name}}…`,uploaded:`File attached`,noBlocks:`No blocks match`,mentionHint:`Type to search tasks and pages`,groups:{blocks:`Blocks`,lists:`Lists`,insert:`Insert`,tasks:`Tasks`,pages:`Pages`},slash:{p:{title:`Text`,subtitle:`Plain paragraph`,keywords:`text paragraph body`},h1:{title:`Heading 1`,subtitle:`Large heading`,keywords:`heading title h1`},h2:{title:`Heading 2`,subtitle:`Section heading`,keywords:`heading title h2`},h3:{title:`Heading 3`,subtitle:`Subsection`,keywords:`heading title h3`},ul:{title:`List`,subtitle:`Bulleted list`,keywords:`list bullet bulleted ul`},ol:{title:`Numbered list`,subtitle:`1, 2, 3…`,keywords:`list numbered ordered ol`},todo:{title:`To-do list`,subtitle:`Checkboxes to tick off`,keywords:`todo task checklist check`},quote:{title:`Quote`,subtitle:`Make a passage stand out`,keywords:`quote blockquote`},code:{title:`Code`,subtitle:`Code block`,keywords:`code snippet`},table:{title:`Table`,subtitle:`3 × 3 with a header row`,keywords:`table grid`},hr:{title:`Divider`,subtitle:`Horizontal line`,keywords:`divider separator hr line rule`},mention:{title:`Link a task or page`,subtitle:`Type @ and search`,keywords:`mention link task page`},image:{title:`Image`,subtitle:`Upload a PNG, JPG, GIF or WebP`,keywords:`image photo picture`},file:{title:`File`,subtitle:`Attach any file`,keywords:`file attachment upload`}},mention:{card:`Task · {{board}} · {{column}}`,page:`Page · {{project}}`},menu:{slash:`Insert block`,mention:`Link a task or page`,searching:`Searching…`,noMatches:`No matches`},format:{linkPlaceholder:`https://… or /doc/…`,linkLabel:`Link address`,openLink:`Open link`,editLink:`Edit link`,removeLink:`Remove link`,bold:`Bold`,italic:`Italic`,strike:`Strikethrough`,code:`Code`,link:`Link`}},icon:{change:`Change icon`,add:`Add icon`,use:`Use {{icon}}`,remove:`Remove icon`},move:{title:`Move page`,description:`Choose where to put it in the project.`,root:`project root`,moved:`Page moved`}},errors:{codes:{invalid_access_key:`The access key isn’t correct.`,invalid_setup_code:`The setup code isn’t correct.`,already_claimed:`This copy is already set up. Sign in with your access key.`,not_claimed:`This copy isn’t set up yet.`,rate_limited:`Too many attempts. Wait a few minutes.`,network:`There’s no connection to the server.`,file_too_large:`The file is larger than the maximum allowed size.`,upload_incomplete:`The upload was interrupted. Try again.`,last_workspace:`You need to keep at least one workspace.`},notFound:`The item couldn’t be found.`,server:`Something went wrong on the server. Try again.`,unknown:`Something went wrong. Try again.`},home:{title:`Home`,greeting:`{{greeting}}, <name>{{name}}</name>.`,onboarding:{title:`Getting started`,dismiss:`Hide getting started`,progress:`{{done}} of {{total}} done`,project:{title:`Create a project`,body:`Group boards and documents together.`},page:{title:`Write a page`,body:`Document in Markdown, with “/” and “@”.`},vault:{title:`Set up the vault`,body:`End-to-end encrypted.`},agent:{title:`Connect an agent`,body:`Claude, Cursor or VS Code, over MCP.`}},due:{title:`Due soon`,empty:`Nothing is due in the next 7 days.`},recent:{title:`Recent documents`,empty:`No documents yet.`},activity:{title:`Activity`,agents:`Agent activity`,empty:`What you and your agents do will show up here.`}},oauth:{problems:{unknown_client:`Orqevio doesn’t recognize this app, or the description it publishes isn’t valid.`,bad_redirect:`The address it wants to return to doesn’t belong to this app. To keep you safe, nothing is sent there.`},problem:{title:`This app can’t be connected`,home:`Go to Orqevio`},leaving:{title:`Returning to the app…`,subtitle:{plain:`Taking you back to {{name}}.`,computer:`Taking you back to {{name}} on this computer.`,app:`Taking you back to the “{{name}}” app on this computer.`}},consent:{title:`Connect {{name}}`,subtitle:`An app wants to work in your copy of Orqevio through MCP. Choose what it can access.`,app:`App`,returnsTo:{plain:`When you’re done, you’ll return to {{name}}`,computer:`When you’re done, you’ll return to {{name}} on this computer`,app:`When you’re done, you’ll return to the “{{name}}” app on this computer`},publishedBy:`Its description is published by {{publisher}}.`,unverified:`It registered itself, so its name isn’t verified. Only continue if you just connected it yourself.`,local:`A program on this computer will receive the access.`,workspace:`Workspace`,existing:`{{name}} already has access to this workspace (last used {{when}}).`,existingUnused:`{{name}} already has access to this workspace, although it hasn’t used it yet.`,replace:`Replace the earlier access`,replaceHint:`It stops working as soon as this one is connected. Untick it if you’re connecting another {{name}} account.`,allow:`Allow access`,revokeLater:`You can revoke this access at any time in Agents.`}},projects:{edit:`Edit`,delete:`Delete project`,summary:`{{boards}} · {{pages}}`,boardCount_one:`{{count}} board`,boardCount_other:`{{count}} boards`,pageCount_one:`{{count}} page`,pageCount_other:`{{count}} pages`,boards:{title:`Boards`,new:`New board`,openCards_one:`{{count}} open card`,openCards_other:`{{count}} open cards`,empty:`Create a Kanban board to organize this project’s tasks.`},docs:{title:`Documents`,new:`New page`,subpages_one:`{{count}} subpage`,subpages_other:`{{count}} subpages`,emptyTitle:`No documents yet`,emptyAction:`Write the first page`,emptyBody:`Specs, decisions, processes or meeting notes. In Markdown and linked to your tasks.`},recent:`Recently edited`},settings:{title:`Settings`,profile:{title:`Profile`,description:`Your name appears in the workspace’s activity.`,name:`Name`,saved:`Profile updated`},appearance:{title:`Appearance`,description:`Saved in your copy and applied on all your devices.`,theme:`Theme`,themes:{system:`System`,light:`Light`,dark:`Dark`}},language:{title:`Language`,description:`The app speaks it on all your devices, and new boards get their default columns in it.`},accessKey:{title:`Access key`,description:`It’s what you use to sign in to this copy. Generating a new one signs out your other sessions. It doesn’t affect the vault’s master password.`,current:`Current key`,generate:`Generate a new key`,newTitle:`Your new access key`,newDescription:`The old key no longer works, and your other sessions have been signed out. It’s shown only once.`,done:`Done`,updated:`Access key updated`},workspace:{title:`Workspace`,description:`Agent tokens and projects belong to a specific workspace.`,name:`Workspace name`,saved:`Workspace updated`,delete:`Delete workspace`,deleteTitle:`Delete the workspace “{{name}}”?`,deleteDescription:`Its projects, boards, documents, attachments and tokens will be deleted. This can’t be undone.`,deleted:`Workspace deleted`},copy:{title:`This copy`,description:`The version of Orqevio you’re running. Your copy checks for new versions at most every 12 hours.`},version:{upToDate:`You’re up to date.`,available:`A new version is available: {{version}}`,how:{cli:`Run this on your computer:`,button:`Merge the Dependabot pull request in your copy’s repository, and it deploys itself. If you don’t see one, bump the create-orqevio version in its package.json.`,docker:`In your copy’s folder:`,source:`In the repository, then restart the server:`},copy:`Copy command`,copied:`Command copied`,kept:`Your data, access key and vault are preserved.`,releaseNotes:`See what’s new`},erase:{title:`Erase this copy`,description:`Permanently erases your workspaces, your vault and your tokens. The copy will ask for the setup code again.`,action:`Erase all my data`,confirmDescription:`This can’t be undone. Enter your access key to confirm.`,accessKey:`Access key`,confirm:`Erase permanently`,done:`Data erased`},uninstall:{title:`Uninstall Orqevio`,description:`Deletes everything for good, attachments included, and leaves this copy unusable. Then it shows how to remove the copy itself from your Cloudflare account or your server.`,action:`Uninstall Orqevio…`,confirmDescription:`This can’t be undone. You’ll lose:`,loses:{data:`Your workspaces, projects, boards and documents.`,files:`Every attachment.`,vault:`Your vault. To keep it, export an encrypted copy from the vault first.`,agents:`Your agents’ access and every session.`},afterwards:`This is step 1 of 2. In step 2 you’ll see how to remove the copy itself from your Cloudflare account or your server.`,oneCommand:`Installed it with the command? From your computer, <code>{{command}}</code> does both steps at once.`,accessKey:`Access key`,typeName:`Type “{{name}}” to confirm`,confirm:`Uninstall for good`}},shell:{nav:{label:`Main navigation`,search:`Search or jump to…`,home:`Home`,vault:`Vault`,agents:`Agents`,agentLive:`Agent active`,projects:`Projects`,newProject:`New project`,firstProject:{title:`Create your first project`,body:`Group boards and documents in one place.`},vaultLocked:`Locked`,vaultUnlocked:`Unlocked`},workspace:{fallback:`Workspace`,heading:`Workspaces`,new:`New workspace`,newDescription:`Workspaces keep contexts apart, such as personal and work. Each agent token belongs to a single workspace.`,name:`Name`,create:`Create workspace`,settings:`Settings`},project:{collapse:`Collapse {{name}}`,expand:`Expand {{name}}`,actions:`Actions for {{name}}`,newBoard:`New board`,newPage:`New page`,newPageIn:`New page in {{name}}`,rename:`Name and color`,delete:`Delete project`,empty:`Empty`},tree:{collapse:`Collapse`,expand:`Expand`,newSubpage:`New subpage`},user:{updateAvailable:`A new version of Orqevio is available`,settings:`Settings`,newVersion:`New version`,appearance:`Appearance`,theme:{system:`System`,light:`Light`,dark:`Dark`},signOut:`Sign out`},header:{hideSidebar:`Hide sidebar`,showSidebar:`Show sidebar`,toggleSidebar:`Toggle sidebar`,breadcrumb:`Breadcrumb`},newProject:{title:`New project`,description:`A project groups related boards and documents.`,name:`Name`,namePlaceholder:`e.g. Website launch`,color:`Color`,withBoard:`Create a board`,startWithBoard:`Start with a board`,boardHint:`Columns {{columns}}. You can change them at any time.`,boardName:`Tasks`,create:`Create project`},projectSettings:{title:`Project`,name:`Name`,description:`Description`,optional:`Optional`,color:`Color`},actions:{newBoard:{title:`New board`,label:`Board name`,placeholder:`e.g. Launch sprint`,confirm:`Create board`},deleteBoard:{title:`Delete “{{name}}”?`,body:`Its columns and cards will be deleted. This can’t be undone.`,confirm:`Delete board`,done:`Board deleted`},deletePage:{title:`Delete “{{name}}”?`,body:`Its subpages and attachments will be deleted too. This can’t be undone.`,confirm:`Delete page`,done:`Page deleted`},deleteProject:{title:`Delete the project “{{name}}”?`,body:`All its boards, cards, pages and attachments will be deleted. This can’t be undone.`,confirm:`Delete project`,done:`Project deleted`}},palette:{label:`Command palette`,title:`Search`,description:`Search projects, boards, pages and cards, or run an action.`,placeholder:`Search tasks, documents or actions…`,searching:`Searching…`,noResults:`No results. Try other words.`,inContent:`In the content`,navigate:`Go to`,structure:`Projects, boards and pages`,project:`Project`,actions:`Actions`,newProject:`New project`,lightTheme:`Switch to light theme`,darkTheme:`Switch to dark theme`,lockVault:`Lock the vault`,hintNavigate:`navigate`,hintOpen:`open`,keywords:{home:`Home`,vault:`Vault passwords`,agents:`Agents MCP tokens`,settings:`Settings account`,project:`project`,board:`board`,page:`page`,newProject:`New project create`,theme:`Change theme light dark appearance`,lockVault:`Lock vault`}}},vault:{title:`Vault`,back:`← Back`,reveal:{show:`Show`,hide:`Hide`},types:{login:`Login`,note:`Secure note`},untitled:{login:`Untitled`,note:`Untitled note`},master:{label:`Master password`,new:`New master password`,repeatNew:`Repeat the new password`,newTooShort:`The new password needs at least 12 characters.`,mismatch:`The passwords don’t match.`,wrong:`Wrong master password.`},unsupported:{insecureTitle:`The vault needs a secure connection`,browserTitle:`The vault doesn’t work in this browser`,blockers:{secure_context:`You opened Orqevio over an unencrypted connection (http://). Browsers only allow the vault’s encryption on secure connections: open your copy over https:// (for example, behind Caddy, Nginx, or Traefik) or, on the same computer, at http://localhost.`,webcrypto:`This browser doesn’t offer WebCrypto, which the vault uses to encrypt your data.`,workers:`This browser doesn’t support Web Workers, which the vault uses to derive your key without freezing the page.`,webassembly:`This browser doesn’t support WebAssembly, which the vault uses to derive your key with Argon2id.`},updateBrowser:`Use a current version of Chrome, Edge, Firefox, or Safari.`,restWorks:`Your tasks and documents keep working as usual.`},toolbar:{autoLockTimer:`Locks automatically after inactivity`,generator:`Generator`,options:`Vault options`,changeMaster:`Change master password`,import:`Import…`,export:`Export…`,autoLock:`Auto-lock`,autoLockMinutes_one:`After {{count}} minute of inactivity`,autoLockMinutes_other:`After {{count}} minutes of inactivity`,autoLockHours_one:`After {{count}} hour of inactivity`,autoLockHours_other:`After {{count}} hours of inactivity`,lock:`Lock`,generatorTitle:`Password generator`,generatorDescription:`Unbiased cryptographic randomness from your browser.`},list:{search:`Search the vault`,new:`New`,filter:`Filter`,filters:{all:`All`,logins:`Logins`,notes:`Notes`},label:`Vault items`,noMatches:`No matches.`,empty:`Your vault is empty.`,footer_one:`{{count}} item · decrypted only in this browser`,footer_other:`{{count}} items · decrypted only in this browser`},empty:{select:`Select an item`,first:`Save your first login`,newLogin:`New login`,body:`Everything is encrypted in your browser before it’s sent to the server. Neither the server nor your agents can read it.`},delete:{title:`Delete “{{title}}”?`,description:`It will be permanently deleted from your vault.`,confirm:`Delete`},detail:{updatedLogin:`Login · updated {{time}}`,updatedNote:`Secure note · updated {{time}}`,favorite:`Mark as favorite`,unfavorite:`Remove from favorites`,edit:`Edit`,delete:`Delete`,username:`Username`,copyUsername:`Copy username`,usernameCopied:`Username copied`,password:`Password`,showPassword:`Show password`,hidePassword:`Hide password`,copyPassword:`Copy password`,passwordCopied:`Password copied · the clipboard clears in 30 s`,website:`Website`,openWebsite:`Open website`,copyUrl:`Copy URL`,urlCopied:`URL copied`,content:`Content`,notes:`Notes`,copyNotes:`Copy notes`,notesCopied:`Copied`,clipboardClears:`When you copy something, the clipboard clears itself after 30 seconds.`},totp:{label:`Verification code`,copy:`Copy code`,copied:`Code copied · the clipboard clears in 30 s`,current:`Current verification code`,changesIn_one:`Changes in {{count}} second`,changesIn_other:`Changes in {{count}} seconds`,problems:{empty:`Enter the secret key or the otpauth:// link.`,not_totp:`Only time-based codes (TOTP) are supported.`,bad_secret:`The secret key can only contain the letters A to Z and the digits 2 to 7.`,too_short:`The secret key is too short.`,bad_parameters:`The otpauth:// link has invalid parameters.`}},editor:{editTitle:`Edit item`,newLogin:`New login`,newNote:`New secure note`,name:`Name`,namePlaceholderLogin:`e.g. Bank, GitHub, office Wi-Fi`,namePlaceholderNote:`e.g. Backup codes`,username:`Username or email`,password:`Password`,generate:`Generate password`,website:`Website`,websitePlaceholder:`example.com`,totp:`Two-step verification (TOTP)`,totpPlaceholder:`Secret key or otpauth:// link`,totpHint:`The key the service shows you next to the QR code when you turn on two-step verification.`,content:`Content`,notes:`Notes`,save:`Encrypt and save`},changeMaster:{title:`Change master password`,description:`Your items aren’t encrypted again: only the vault key is protected with the new password. Your recovery key stays valid.`,current:`Current master password`,submit:`Change`,wrongCurrent:`The current master password isn’t correct.`,done:`Master password updated`},strength:{emptyHint:`Use at least 12 characters. A phrase of several words is easy to remember and hard to guess.`,tooShort:`Too short`,tooShortHint:`You need at least 12 characters.`,fair:`Could be stronger`,fairHint:`Add more words or a wider mix of characters.`,good:`Good`,veryGood:`Very good`,rememberHint:`Remember: if you forget it, only the recovery key can open the vault.`},generator:{regenerate:`Generate another`,copied:`Copied · the clipboard clears in 30 s`,entropy:`≈ {{bits}} bits of entropy`,length:`Length`,sets:{upper:`Uppercase`,lower:`Lowercase`,digits:`Numbers`,symbols:`Symbols`},avoidAmbiguous:`Avoid ambiguous characters (I, l, 1, O, 0)`,use:`Use this password`,rating:{weak:`Weak`,fair:`Fair`,strong:`Strong`,excellent:`Excellent`}},gate:{guarantees:{encryption:`AES-256-GCM encryption in your browser`,kdf:`Key derived with Argon2id`,agents:`Agents and MCP have no access`},decryptFailed_one:`{{count}} item couldn’t be decrypted and was skipped.`,decryptFailed_other:`{{count}} items couldn’t be decrypted and were skipped.`,setup:{title:`Set up your vault`,subtitle:`Choose a master password. It’s used in your browser to encrypt your secrets and is never sent to the server.`,tooShort:`Use at least 12 characters.`,failed:`Couldn’t create the vault in this browser.`,repeat:`Repeat the master password`,busy:`Generating keys…`,submit:`Create vault`,ready:`Your vault is ready. Only you can open it.`},recoveryKey:{title:`Save your recovery key`,subtitle:`It’s the only way to recover the vault if you forget your master password. It’s shown only once.`,copied:`Recovery key copied`,download:`Download .txt`,fileName:`orqevio-recovery-key.txt`,fileText:`Orqevio — Vault recovery key
|
|
58
|
+
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0])a(n);else{if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}(e.metadataRegistry.get(n[0])?.id||r.cycle||r.count>1&&e.reused===`ref`)&&a(n)}}e.external&&(e.sharedDefsExtractedFor=e.external)}function rm(e){let t=e.anyOf;if(!Array.isArray(t)||t.length===0||e.type!==void 0)return;let n=[];for(let e of t){if(!e||typeof e!=`object`)return;rm(e);let t=Object.keys(e);if(t.length!==1||t[0]!==`type`)return;let r=e.type;for(let e of Array.isArray(r)?r:[r]){if(typeof e!=`string`)return;n.includes(e)||n.push(e)}}delete e.anyOf,e.type=n.length===1?n[0]:n}var im=new Set([`type`,`properties`,`required`,`additionalProperties`]),am=[`oneOf`,`anyOf`];function om(e){let t=e.additionalProperties;return t===void 0||t===!1||typeof t!=`object`||!t?null:Object.keys(t).length?t:null}function sm(e){let t=[];for(let n of e){if(typeof n!=`object`||n.type!==`object`)return null;for(let e in n)if(!im.has(e))return null;t.push(n)}let n={},r=new Set;for(let e of t){for(let r in e.properties){if(Object.prototype.hasOwnProperty.call(n,r))continue;let e=[];for(let n of t){let t=n.properties?.[r]??om(n);t!=null&&(e.some(e=>JSON.stringify(e)===JSON.stringify(t))||e.push(t))}mc(n,r,e.length===1?e[0]:sm(e)??{allOf:e})}for(let t of e.required??[])r.add(t)}let i={type:`object`,properties:n};if(r.size&&(i.required=[...r]),t.every(e=>e.additionalProperties===!1))i.additionalProperties=!1;else{let e=[];for(let n of t){let t=om(n);t&&!e.some(e=>JSON.stringify(e)===JSON.stringify(t))&&e.push(t)}e.length===1?i.additionalProperties=e[0]:e.length>1&&(i.additionalProperties={allOf:e})}return i}function cm(e){let t=e.allOf;if(!Array.isArray(t)||t.length<2)return;for(let t of im)if(t in e)return;let n=t.filter(e=>am.some(t=>Array.isArray(e[t]))),r=null;if(!n.length)r=sm(t);else{let e=n[0],i=am.find(t=>Array.isArray(e[t]));if(Object.keys(e).length!==1)return;let a=t.filter(t=>t!==e),o=e[i].map(e=>sm([...a,e]));if(o.some(e=>!e))return;r={[i]:o}}r&&(delete e.allOf,Qp(e,r))}function lm(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Qp(i,s),Qp(i,a),t._zod.parent===o)for(let e in i)e!==`$ref`&&e!==`allOf`&&(e in a||delete i[e]);if(s.$ref&&n.def)for(let e in i)e!==`$ref`&&e!==`allOf`&&e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e!==`$ref`&&e!==`allOf`&&e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};if(!e.external||e.sharedEmitDoneFor!==e.external){for(let t of[...e.seen.entries()].reverse())r(t[0]);if(e.target!==`openapi-3.0`)for(let t of e.seen.entries())rm(t[1].def??t[1].schema);for(let t of e.deferred)t();if(e.intersections.length){let t=new Map;for(let n of e.seen.values())for(let e of[n.schema,n.def]){let n=e?.allOf;if(!Array.isArray(n))continue;let r=t.get(n);r?r.push(e):t.set(n,[e])}for(let n of e.intersections)for(let e of t.get(n)??[])cm(e)}}let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Qp(i,n.defId?n.schema:n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};if(!e.external||e.sharedEmitDoneFor!==e.external)for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,mc(o,e.defId,e.def))}e.external&&(e.sharedEmitDoneFor=e.external),e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,"~standard",{value:{...t[`~standard`],jsonSchema:{input:fm(t,`input`,e.processors),output:fm(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function um(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return um(r.element,n);if(r.type===`set`)return um(r.valueType,n);if(r.type===`lazy`)return um(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type==="default"||r.type===`prefault`||r.type===`catch`)return um(r.innerType,n);if(r.type===`intersection`)return um(r.left,n)||um(r.right,n);if(r.type===`record`||r.type===`map`)return um(r.keyType,n)||um(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:um(r.in,n)||um(r.out,n);if(r.type===`object`){for(let e in r.shape)if(um(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(um(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(um(e,n))return!0;return!!(r.rest&&um(r.rest,n))}return!1}var dm=(e,t={})=>n=>{let r=$p({...n,processors:t});return q(e,r),nm(r,e),lm(r,e)},fm=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=$p({...i??{},target:a,io:t,processors:n});return q(e,o),nm(o,e),lm(o,e)},pm=(e,t,n)=>{(e[t]===void 0||n>e[t])&&(e[t]=n)},mm=(e,t,n)=>{(e[t]===void 0||n<e[t])&&(e[t]=n)},hm=(e,t)=>{pm(e,`minimum`,t),mm(e,`maximum`,t)},gm=(e,t)=>{e.multipleOf??=[],e.multipleOf.includes(t)||e.multipleOf.push(t)},_m=(e,t)=>{e.patterns??=new Set,e.patterns.add(t)},vm=(e,t)=>{e.mime=e.mime?e.mime.filter(e=>t.includes(e)):[...t]},ym=(e,t)=>{e.format=t,t.includes(`int`)&&(e.isInt=!0)},bm=(e,t)=>pm(e,`minimum`,t.minimum),xm=(e,t)=>mm(e,`maximum`,t.maximum),Sm=e=>(t,n)=>{ym(t,n.format);let[r,i]=e[n.format];pm(t,`minimum`,r),mm(t,`maximum`,i)},Cm={greater_than:(e,t)=>pm(e,t.inclusive?`minimum`:`exclusiveMinimum`,t.value),less_than:(e,t)=>mm(e,t.inclusive?`maximum`:`exclusiveMaximum`,t.value),multiple_of:(e,t)=>gm(e,t.value),number_format:Sm(Pc),bigint_format:Sm(Fc),min_length:bm,max_length:xm,length_equals:(e,t)=>hm(e,t.length),min_size:bm,max_size:xm,size_equals:(e,t)=>hm(e,t.size),string_format:(e,t)=>{ym(e,t.format),t.pattern&&_m(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)=>vm(e,t.mime)};function wm(e){let t={},n=e._zod.def,r=e._zod.traits.has(`$ZodCheck`)?[e,...n.checks??[]]:n.checks??[];for(let e of r)Cm[e._zod.def.check]?.(t,e._zod.def);let i=e._zod.bag;i.minimum!==void 0&&pm(t,`minimum`,i.minimum),i.exclusiveMinimum!==void 0&&pm(t,`exclusiveMinimum`,i.exclusiveMinimum),i.maximum!==void 0&&mm(t,`maximum`,i.maximum),i.exclusiveMaximum!==void 0&&mm(t,`exclusiveMaximum`,i.exclusiveMaximum),i.multipleOf!==void 0&&gm(t,i.multipleOf),i.format!==void 0&&(t.format??=i.format,i.format.includes(`int`)&&(t.isInt=!0)),i.mime&&vm(t,i.mime);for(let e of i.patterns??[])_m(t,e);return t}var Tm={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},Em=new Map([[Ad,mu],[Md,hu]]),Dm=e=>Em.get(e)??e,Om=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l,laxFormat:u}=wm(e);if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=Tm[s]??s,i.format===``&&delete i.format,(s===`time`||u)&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c].map(Dm);e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},km=(e,t,n,r)=>{let i=n,{minimum:a,maximum:o,multipleOf:s,exclusiveMaximum:c,exclusiveMinimum:l,isInt:u}=wm(e);i.type=u?`integer`:`number`;let d=typeof l==`number`&&l>=(a??-1/0),f=typeof c==`number`&&c<=(o??1/0),p=t.target===`draft-04`||t.target===`openapi-3.0`;if(d?p?(i.minimum=l,i.exclusiveMinimum=!0):i.exclusiveMinimum=l:typeof a==`number`&&(i.minimum=a),f?p?(i.maximum=c,i.exclusiveMaximum=!0):i.exclusiveMaximum=c:typeof o==`number`&&(i.maximum=o),s){let n=new Set;for(let a of s)Number.isFinite(a)&&a!==0?n.add(Math.abs(a)):em(e,t,i,r,`A multipleOf divisor of ${a} cannot be represented in JSON Schema`);let[a,...o]=n;a!==void 0&&(i.multipleOf=a),o.length&&(i.allOf=[...i.allOf??[],...o.map(e=>({multipleOf:e}))])}},Am=(e,t,n,r)=>{n.type=`boolean`},jm=(e,t,n,r)=>{n.not={}},Mm=(e,t,n,r)=>{let i=e._zod.def,a=oc(i.entries);a.length===0?n.not={}:(a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a)},Nm=(e,t,n,r)=>{let i=e._zod.def;if(i.values.length===0){n.not={};return}let a=[];for(let o of i.values)if(o===void 0){if(em(e,t,n,r,"Literal `undefined` cannot be represented in JSON Schema"))return}else if(typeof o==`bigint`){if(em(e,t,n,r,`BigInt literals cannot be represented in JSON Schema`))return;a.push(Number(o))}else a.push(o);if(a.length!==0){if(a.length===1){let e=a[0];n.type=e===null?`null`:typeof e,t.target===`draft-04`||t.target===`openapi-3.0`?n.enum=[e]:n.const=e}else a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),a.every(e=>typeof e==`boolean`)&&(n.type=`boolean`),a.every(e=>e===null)&&(n.type=`null`),n.enum=a}},Pm=(e,t,n,r)=>{em(e,t,n,r,`Custom types cannot be represented in JSON Schema`)},Fm=(e,t,n,r)=>{em(e,t,n,r,`Transforms cannot be represented in JSON Schema`)},Im=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=wm(e);typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=q(a.element,t,{...r,path:[...r.path,`items`]})};function Lm(e){let t=e._zod.def;return t.type===`pipe`&&t.in._zod.traits.has(`$ZodTransform`)?Lm(t.out):t.type===`catch`?Lm(t.innerType):e._zod.optin}var Rm=(e,t,n,r)=>{let i=n,a=e._zod.def,o=a.shape;if(Object.getOwnPropertySymbols(o).length&&em(e,t,i,r,`Symbol keys cannot be represented in JSON Schema`))return;i.type=`object`,i.properties={};for(let e in o)mc(i.properties,e,q(o[e],t,{...r,path:[...r.path,`properties`,e]}));let s=[];for(let e of Object.keys(o)){let n=a.shape[e];(t.io===`input`?Lm(n)===void 0:n._zod.optout===void 0)&&s.push(e)}s.length>0&&(i.required=s),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=q(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},zm=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>q(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},Bm=(e,t,n,r)=>{let i=e._zod.def,a=q(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=q(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1,c=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]];n.allOf=c,t.intersections.push(c)};function Vm(e,t,n){if(t.$ref){if(n.has(t))return t;n.add(t);let r=e.get(t)?.def;if(!r)return t;let i=Vm(e,r,n);return i===r?t:i}for(let r of[`anyOf`,`oneOf`]){let i=t[r];if(!Array.isArray(i))continue;let a=i.map(t=>Vm(e,t,n));a.some((e,t)=>e!==i[t])&&(t={...t,[r]:a})}let r=Array.isArray(t.type)?t.type:[t.type],i=!r.includes(`string`)&&r.some(e=>e===`number`||e===`integer`),a=t.enum??(t.const===void 0?void 0:[t.const]);if(!i&&!a?.some(e=>typeof e==`number`))return t;let{minimum:o,maximum:s,exclusiveMinimum:c,exclusiveMaximum:l,multipleOf:u,format:d,id:f,...p}=t;return p.enum?p.enum=p.enum.map(e=>typeof e==`number`?String(e):e):typeof p.const==`number`&&(p.const=String(p.const)),i&&(p.type=`string`,a||(p.pattern=(r.includes(`number`)?Eu:Tu).source)),p}var Hm=new WeakMap;function Um(e){let t=new Map;for(let n of e.seen.values())n.def&&!t.has(n.schema)&&t.set(n.schema,n);let n=new Map;for(let r of Hm.get(e)??[]){let i=e.seen.get(r),a=(i?.def??i?.schema)?.propertyNames;if(!a||a===!0||n.has(a))continue;let o=Vm(t,a,new Set);o!==a&&n.set(a,o)}if(n.size)for(let t of e.seen.values())for(let e of[t.schema,t.def]){let t=e&&n.get(e.propertyNames);t&&(e.propertyNames=t)}}var Wm=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`;let o=a.keyType,s=wm(o).patterns;if(a.mode===`loose`&&s&&s.size>0){let e=q(a.valueType,t,{...r,path:[...r.path,`patternProperties`,`*`]});i.patternProperties={};for(let t of s)mc(i.patternProperties,Dm(t).source,e)}else{if(t.target===`draft-07`||t.target===`draft-2020-12`){i.propertyNames=q(a.keyType,t,{...r,path:[...r.path,`propertyNames`]});let n=Hm.get(t);n||(n=[],Hm.set(t,n),t.deferred.push(()=>Um(t))),n.push(e)}i.additionalProperties=q(a.valueType,t,{...r,path:[...r.path,`additionalProperties`]})}let c=o._zod.values,l=t.io===`input`&&Lm(a.valueType)!==void 0;if(c&&!a.partial&&!l){let e=[...c].filter(e=>typeof e==`string`||typeof e==`number`);e.length>0&&(i.required=e.map(String))}},Gm=(e,t,n,r)=>{let i=e._zod.def,a=q(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},Km=(e,t,n,r)=>{let i=e._zod.def;q(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},qm=Symbol();function Jm(e,t,n,r,i){let a=!1,o=JSON.stringify(e,(e,t)=>typeof t==`bigint`?(a=!0,null):t);return a?(em(t,n,r,i,`BigInt defaults cannot be represented in JSON Schema`),qm):JSON.parse(o)}var Ym=(e,t,n,r)=>{let i=e._zod.def;q(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o=Jm(i.defaultValue,e,t,n,r);o!==qm&&(n.default=o)},Xm=(e,t,n,r)=>{let i=e._zod.def;q(i.innerType,t,r);let a=t.seen.get(e);if(a.ref=i.innerType,t.io!==`input`)return;let o=Jm(i.defaultValue,e,t,n,r);o!==qm&&(n._prefault=o)},Zm=(e,t,n,r)=>{let i=e._zod.def;q(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{em(e,t,n,r,`Dynamic catch values are not supported in JSON Schema`);return}n.default=o},Qm=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;q(o,t,r);let s=t.seen.get(e);s.ref=o},$m=(e,t,n,r)=>{let i=e._zod.def;q(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},eh=(e,t,n,r)=>{let i=e._zod.def;q(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},th=new WeakSet([Object.prototype,Error.prototype]);function nh(e,t,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!1,get(){let e=n(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e},set(e){Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0})}})}var rh=W(`ZodError`,(e,t)=>{Ol.init(e,t),e.name=`ZodError`;let n=Object.getPrototypeOf(e);th.has(n)||(th.add(n),nh(n,`format`,e=>t=>jl(e,t)),nh(n,`flatten`,e=>t=>Al(e,t)),nh(n,`addIssue`,e=>t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,cc,2)}),nh(n,`addIssues`,e=>t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,cc,2)}),Object.defineProperty(n,"isEmpty",{configurable:!0,enumerable:!1,get(){return this.issues.length===0}}))},void 0,{Parent:Error}),ih=Nl(rh),ah=Pl(rh),oh=Fl(rh),sh=Ll(rh),ch=Ul(rh),lh=Wl(rh),uh=Gl(rh),dh=Kl(rh),fh=ql(rh),ph=Jl(rh),mh=Yl(rh),hh=Xl(rh);function gh(){xl.localeError||Sl(Wf())}function _h(){xl.memoizer||Sl({memoizer:Vf()})}var J=W(`ZodType`,(e,t)=>(gh(),G.init(e,t),e.def=t,e.type=t.type,e),{check(...e){let t=this.def;return this.clone(xc(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return jc(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(Pg(e,t))},superRefine(e,t){return this.check(Fg(e,t))},overwrite(e){return this.check(Hp(e))},optional(){return gg(this)},exactOptional(){return vg(this)},nullable(){return bg(this)},nullish(){return gg(bg(this))},nonoptional(e){return Eg(this,e)},array(){return tg(this)},or(e){return ig([this,e])},and(e){return og(this,e)},transform(e){return Ag(this,mg(e))},default(e){return Sg(this,e)},prefault(e){return wg(this,e)},catch(e){return Og(this,e)},pipe(e){return Ag(this,e)},readonly(){return Mg(this)},describe(e){let t=this.clone();return Jf.add(t,{description:e}),t},meta(...e){if(e.length===0)return Jf.get(this);let t=this.clone();return Jf.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 al(this,`~standard`,{...Qu(this),jsonSchema:{input:fm(this,`input`),output:fm(this,`output`)}})},set"~standard"(e){il(this,`~standard`,e)},parse:function e(t,n){return ih(this,t,n,{callee:e})},parseAsync:async function e(t,n){return await ah(this,t,n,{callee:e})},safeParse(e,t){return oh(this,e,t)},async safeParseAsync(e,t){return sh(this,e,t)},get spa(){return this?.safeParseAsync},set spa(e){il(this,`spa`,e)},validate(e,t){return Bl(this,e,t)},validateAsync(e,t){return Hl(this,e,t)},encode:function e(t,n){return ch(this,t,n,{callee:e})},decode:function e(t,n){return lh(this,t,n,{callee:e})},encodeAsync:async function e(t,n){return await uh(this,t,n,{callee:e})},decodeAsync:async function e(t,n){return await dh(this,t,n,{callee:e})},safeEncode(e,t){return fh(this,e,t)},safeDecode(e,t){return ph(this,e,t)},async safeEncodeAsync(e,t){return mh(this,e,t)},async safeDecodeAsync(e,t){return hh(this,e,t)},toJSONSchema(e){return dm(this,{})(e)},get description(){return Jf.get(this)?.description},get _def(){return this._zod.def}}),vh=W(`_ZodString`,(e,t)=>{$u.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Om(e,t,n,r)},ol({format:e=>wm(e).format??null,minLength:e=>wm(e).minimum??null,maxLength:e=>wm(e).maximum??null},{regex(...e){return this.check(Ip(...e))},includes(...e){return this.check(zp(...e))},startsWith(...e){return this.check(Bp(...e))},endsWith(...e){return this.check(Vp(...e))},min(...e){return this.check(Pp(...e))},max(...e){return this.check(Np(...e))},length(...e){return this.check(Fp(...e))},nonempty(...e){return this.check(Pp(1,...e))},lowercase(e){return this.check(Lp(e))},uppercase(e){return this.check(Rp(e))},trim(){return this.check(Wp())},normalize(...e){return this.check(Up(...e))},toLowerCase(){return this.check(Gp())},toUpperCase(){return this.check(Kp())},slugify(){return this.check(qp())}})),yh=W(`ZodString`,(e,t)=>{$u.init(e,t),vh.init(e,t)},{email(e){return this.check(Zf(wh,e))},url(e){return this.check(rp(Oh,e))},jwt(e){return this.check(vp(Uh,e))},emoji(e){return this.check(ip(kh,e))},guid(e){return this.check(Qf(Th,e))},uuid(e){return this.check($f(Eh,e))},uuidv4(e){return this.check(ep(Eh,e))},uuidv6(e){return this.check(tp(Eh,e))},uuidv7(e){return this.check(np(Eh,e))},nanoid(e){return this.check(ap(Ah,e))},cuid(e){return this.check(op(jh,e))},cuid2(e){return this.check(sp(Mh,e))},ulid(e){return this.check(cp(Nh,e))},base64(e){return this.check(hp(Bh,e))},base64url(e){return this.check(gp(Vh,e))},xid(e){return this.check(lp(Ph,e))},ksuid(e){return this.check(up(Fh,e))},ipv4(e){return this.check(dp(Ih,e))},ipv6(e){return this.check(fp(Lh,e))},cidrv4(e){return this.check(pp(Rh,e))},cidrv6(e){return this.check(mp(zh,e))},e164(e){return this.check(_p(Hh,e))},datetime(e){return this.check(yp(bh,e))},date(e){return this.check(bp(xh,e))},time(e){return this.check(xp(Sh,e))},duration(e){return this.check(Sp(Ch,e))}});function Y(e){return Xf(yh,e)}var X=W(`ZodStringFormat`,(e,t)=>{K.init(e,t),vh.init(e,t)}),bh=W(`ZodISODateTime`,(e,t)=>{vd.init(e,t),X.init(e,t)}),xh=W(`ZodISODate`,(e,t)=>{yd.init(e,t),X.init(e,t)}),Sh=W(`ZodISOTime`,(e,t)=>{bd.init(e,t),X.init(e,t)}),Ch=W(`ZodISODuration`,(e,t)=>{xd.init(e,t),X.init(e,t)}),wh=W(`ZodEmail`,(e,t)=>{nd.init(e,t),X.init(e,t)}),Th=W(`ZodGUID`,(e,t)=>{ed.init(e,t),X.init(e,t)}),Eh=W(`ZodUUID`,(e,t)=>{td.init(e,t),X.init(e,t)});function Dh(e){return $f(Eh,e)}var Oh=W(`ZodURL`,(e,t)=>{ud.init(e,t),X.init(e,t)}),kh=W(`ZodEmoji`,(e,t)=>{dd.init(e,t),X.init(e,t)}),Ah=W(`ZodNanoID`,(e,t)=>{fd.init(e,t),X.init(e,t)}),jh=W(`ZodCUID`,(e,t)=>{pd.init(e,t),X.init(e,t)}),Mh=W(`ZodCUID2`,(e,t)=>{md.init(e,t),X.init(e,t)}),Nh=W(`ZodULID`,(e,t)=>{hd.init(e,t),X.init(e,t)}),Ph=W(`ZodXID`,(e,t)=>{gd.init(e,t),X.init(e,t)}),Fh=W(`ZodKSUID`,(e,t)=>{_d.init(e,t),X.init(e,t)}),Ih=W(`ZodIPv4`,(e,t)=>{Sd.init(e,t),X.init(e,t)}),Lh=W(`ZodIPv6`,(e,t)=>{Td.init(e,t),X.init(e,t)}),Rh=W(`ZodCIDRv4`,(e,t)=>{Ed.init(e,t),X.init(e,t)}),zh=W(`ZodCIDRv6`,(e,t)=>{Od.init(e,t),X.init(e,t)}),Bh=W(`ZodBase64`,(e,t)=>{jd.init(e,t),X.init(e,t)}),Vh=W(`ZodBase64URL`,(e,t)=>{Pd.init(e,t),X.init(e,t)}),Hh=W(`ZodE164`,(e,t)=>{Fd.init(e,t),X.init(e,t)}),Uh=W(`ZodJWT`,(e,t)=>{Ld.init(e,t),X.init(e,t)}),Wh=W(`ZodNumber`,(e,t)=>{Rd.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>km(e,t,n,r),e.isFinite=!0},ol({minValue:e=>{let{minimum:t,exclusiveMinimum:n}=wm(e);return Math.max(t??-1/0,n??-1/0)},maxValue:e=>{let{maximum:t,exclusiveMaximum:n}=wm(e);return Math.min(t??1/0,n??1/0)},isInt:e=>{let{isInt:t,multipleOf:n}=wm(e);return!!t||!!n?.some(Number.isSafeInteger)},format:e=>wm(e).format??null},{gt(e,t){return this.check(Ap(e,t))},gte(e,t){return this.check(jp(e,t))},min(e,t){return this.check(jp(e,t))},lt(e,t){return this.check(Op(e,t))},lte(e,t){return this.check(kp(e,t))},max(e,t){return this.check(kp(e,t))},int(e){return this.check(qh(e))},safe(e){return this.check(qh(e))},positive(e){return this.check(Ap(0,e))},nonnegative(e){return this.check(jp(0,e))},negative(e){return this.check(Op(0,e))},nonpositive(e){return this.check(kp(0,e))},multipleOf(e,t){return this.check(Mp(e,t))},step(e,t){return this.check(Mp(e,t))},finite(){return this}}));function Gh(e){return Cp(Wh,e)}var Kh=W(`ZodNumberFormat`,(e,t)=>{zd.init(e,t),Wh.init(e,t)});function qh(e){return wp(Kh,e)}var Jh=W(`ZodBoolean`,(e,t)=>{Bd.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Am(e,t,n,r)});function Yh(e){return Tp(Jh,e)}var Xh=W(`ZodUnknown`,(e,t)=>{Vd.init(e,t),J.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function Zh(){return Ep(Xh)}var Qh=W(`ZodNever`,(e,t)=>{Hd.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>jm(e,t,n,r)});function $h(e){return Dp(Qh,e)}var eg=W(`ZodArray`,(e,t)=>{_h(),Kd.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Im(e,t,n,r),e.element=t.element},{min(e,t){return this.check(Pp(e,t))},nonempty(e){return this.check(Pp(1,e))},max(e,t){return this.check(Np(e,t))},length(e,t){return this.check(Fp(e,t))},unwrap(){return this.element}});function tg(e,t){return Jp(eg,e,t)}var ng=W(`ZodObject`,(e,t)=>{_h(),Qd.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Rm(e,t,n,r),fl(e,`shape`,e=>e._zod.def.shape,!1)},{keyof(){return ug(Object.keys(this._zod.def.shape))},catchall(e){return this.clone(xc(this._zod.def,{catchall:e}))},passthrough(){return this.clone(xc(this._zod.def,{catchall:Zh()}))},loose(){return this.clone(xc(this._zod.def,{catchall:Zh()}))},strict(){return this.clone(xc(this._zod.def,{catchall:$h()}))},strip(){return this.clone(xc(this._zod.def,{catchall:void 0}))},extend(e){return zc(this,e)},safeExtend(e){return Vc(this,e)},merge(e){return Hc(this,e)},pick(e){return Ic(this,e)},omit(e){return Rc(this,e)},partial(...e){return Uc(hg,this,e[0])},exactPartial(...e){return Uc(_g,this,e[0],`exactPartial`)},required(...e){return Wc(Tg,this,e[0])}});function Z(e,t){return new ng({type:`object`,shape:e??{},...H(t)})}var rg=W(`ZodUnion`,(e,t)=>{ef.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>zm(e,t,n,r),e.options=t.options});function ig(e,t){return new rg({type:`union`,options:e,...H(t)})}var ag=W(`ZodIntersection`,(e,t)=>{tf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Bm(e,t,n,r)});function og(e,t){return new ag({type:`intersection`,left:e,right:t})}var sg=W(`ZodRecord`,(e,t)=>{_h(),af.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Wm(e,t,n,r),e.keyType=t.keyType,e.valueType=t.valueType});function cg(e,t,n){return!t||!t._zod?new sg({type:`record`,keyType:Y(),valueType:e,...H(t)}):new sg({type:`record`,keyType:e,valueType:t,...H(n)})}var lg=W(`ZodEnum`,(e,t)=>{of.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Mm(e,t,n,r),e.enum=t.entries,e.options=[...e._zod.values];let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new lg({...t,checks:[],...H(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new lg({...t,checks:[],...H(r),entries:i})}});function ug(e,t){return new lg({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...H(t)})}var dg=W(`ZodLiteral`,(e,t)=>{sf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Nm(e,t,n,r),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function fg(e,t){return new dg({type:`literal`,values:Array.isArray(e)?e:[e],...H(t)})}var pg=W(`ZodTransform`,(e,t)=>{_h(),cf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Fm(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new bl(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(nl(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,`input`in t||(t.input=n.value),t.inst??=e,n.issues.push(nl(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n)):(n.value=i,n)}});function mg(e){return new pg({type:`transform`,transform:e})}var hg=W(`ZodOptional`,(e,t)=>{uf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>eh(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function gg(e){return new hg({type:`optional`,innerType:e})}var _g=W(`ZodExactOptional`,(e,t)=>{df.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>eh(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function vg(e){return new _g({type:`optional`,innerType:e})}var yg=W(`ZodNullable`,(e,t)=>{ff.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Gm(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function bg(e){return new yg({type:`nullable`,innerType:e})}var xg=W(`ZodDefault`,(e,t)=>{pf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ym(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function Sg(e,t){return new xg({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():Oc(t)}})}var Cg=W(`ZodPrefault`,(e,t)=>{hf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Xm(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function wg(e,t){return new Cg({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():Oc(t)}})}var Tg=W(`ZodNonOptional`,(e,t)=>{gf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Km(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Eg(e,t){return new Tg({type:`nonoptional`,innerType:e,...H(t)})}var Dg=W(`ZodCatch`,(e,t)=>{yf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Zm(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function Og(e,t){return new Dg({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:ml(t)})}var kg=W(`ZodPipe`,(e,t)=>{bf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Qm(e,t,n,r),e.in=t.in,e.out=t.out});function Ag(e,t){return new kg({type:`pipe`,in:e,out:t})}var jg=W(`ZodReadonly`,(e,t)=>{Sf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>$m(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function Mg(e){return new jg({type:`readonly`,innerType:e})}var Ng=W(`ZodCustom`,(e,t)=>{wf.init(e,t),J.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Pm(e,t,n,r)});function Pg(e,t={}){return Yp(Ng,e,t)}function Fg(e,t){return Xp(e,t)}function Ig(e){return yp(bh,e)}var Lg=[`tasks:read`,`tasks:write`,`docs:read`,`docs:write`];function Rg(e){let t=[];return e.tasks!==`none`&&t.push(`tasks:read`),e.tasks===`write`&&t.push(`tasks:write`),e.docs!==`none`&&t.push(`docs:read`),e.docs===`write`&&t.push(`docs:write`),t}function zg(e,t){return e.includes(`${t}:write`)?`write`:e.includes(`${t}:read`)?`read`:`none`}var Bg=Dh(),Q=(e=120)=>Y().trim().min(1,`Required`).max(e),Vg=ug(ec),Hg=Gh().int().min(0).max(1e5),Ug=Ig({offset:!0}),Wg=2e5,Gg=Y().trim().min(1,`Required`).max(256),Kg=Z({setupCode:Gg,name:Q(80),locale:ug(tc).optional()}),qg=Z({accessKey:Gg}),Jg=Z({setupCode:Gg,reason:ug([`lost`,`compromised`])});Z({currentAccessKey:Gg}),Z({accessKey:Gg}),Z({token:Y().min(40).max(200)}),Z({name:Q(80).optional(),theme:ug([`system`,`light`,`dark`]).optional(),locale:ug(tc).optional()}),Z({name:Q(60)}),Z({name:Q(80),color:Vg.default(`cobalt`),description:Y().trim().max(500).optional()}),Z({name:Q(80).optional(),color:Vg.optional(),description:Y().trim().max(500).optional()}),Z({name:Q(80),columns:tg(Q(60)).max(20).optional()}),Z({name:Q(80)}),Z({name:Q(60),index:Hg.optional()}),Z({name:Q(60).optional(),index:Hg.optional()}),Z({name:Y().trim().max(40).default(``),color:Vg}),Z({name:Y().trim().max(40).optional(),color:Vg.optional()}),Z({title:Q(300),description:Y().max(Wg).optional(),dueAt:Ug.nullable().optional(),labelIds:tg(Bg).max(20).optional(),index:Hg.optional()}),Z({title:Q(300).optional(),description:Y().max(Wg).optional(),dueAt:Ug.nullable().optional(),labelIds:tg(Bg).max(20).optional()}),Z({columnId:Bg,index:Hg}),Z({title:Q(120).default(`Checklist`)}),Z({title:Q(120)}),Z({text:Q(500)}),Z({text:Q(500).optional(),done:Yh().optional(),index:Hg.optional()}),Z({pageId:Bg}),Z({title:Y().trim().max(200).default(``),icon:Y().max(16).nullable().optional(),parentId:Bg.nullable().optional(),content:Y().max(Wg).default(``)}),Z({title:Y().trim().max(200).optional(),icon:Y().max(16).nullable().optional(),content:Y().max(Wg).optional(),baseVersion:Gh().int().min(1).optional()}),Z({parentId:Bg.nullable(),index:Hg}),Z({name:Q(60),workspaceId:Bg,scopes:tg(ug(Lg)).min(1,`Select at least one permission`),expiresInDays:ig([fg(30),fg(90),fg(365)]).nullable()});var Yg=Y().regex(/^[A-Za-z0-9+/=_-]+$/).max(4096),Xg=Z({algorithm:fg(`argon2id`),salt:Yg,memoryKiB:Gh().int().min(19456).max(1048576),iterations:Gh().int().min(2).max(20),parallelism:Gh().int().min(1).max(8)}),Zg=Y().regex(/^v1\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+$/,`Invalid envelope`).max(4e5);Z({kdf:Xg,wrappedKey:Zg,recoveryWrappedKey:Zg}),Z({data:Zg}),Z({autoLockMinutes:ig([fg(1),fg(5),fg(15),fg(30),fg(60)])}),Z({params:cg(Y(),Y().max(4e3))}).extend({allow:Yh(),workspaceId:Y().optional(),scopes:tg(ug(Lg)).max(Lg.length).optional(),replace:Yh().optional()});var Qg=`X-File-Name`,$g={activity:{actions:{card:{created:`<actor>{{actor}}</actor> created the card <target>“{{target}}”</target>`,created_self:`<actor>{{actor}}</actor> created this card`,updated:`<actor>{{actor}}</actor> edited the card <target>“{{target}}”</target>`,updated_self:`<actor>{{actor}}</actor> edited this card`,moved:`<actor>{{actor}}</actor> moved the card <target>“{{target}}”</target>`,moved_self:`<actor>{{actor}}</actor> moved this card`,reordered:`<actor>{{actor}}</actor> reordered the card <target>“{{target}}”</target>`,reordered_self:`<actor>{{actor}}</actor> reordered this card`,archived:`<actor>{{actor}}</actor> archived the card <target>“{{target}}”</target>`,archived_self:`<actor>{{actor}}</actor> archived this card`,restored:`<actor>{{actor}}</actor> restored the card <target>“{{target}}”</target>`,restored_self:`<actor>{{actor}}</actor> restored this card`,deleted:`<actor>{{actor}}</actor> deleted the card <target>“{{target}}”</target>`,deleted_self:`<actor>{{actor}}</actor> deleted this card`,checklist:`<actor>{{actor}}</actor> updated the checklist of <target>“{{target}}”</target>`,checklist_self:`<actor>{{actor}}</actor> updated the checklist`,linked:`<actor>{{actor}}</actor> linked a document to <target>“{{target}}”</target>`,linked_self:`<actor>{{actor}}</actor> linked a document`,unlinked:`<actor>{{actor}}</actor> unlinked a document from <target>“{{target}}”</target>`,unlinked_self:`<actor>{{actor}}</actor> unlinked a document`},column:{created:`<actor>{{actor}}</actor> created the column <target>“{{target}}”</target>`,updated:`<actor>{{actor}}</actor> renamed the column <target>“{{target}}”</target>`,moved:`<actor>{{actor}}</actor> reordered the column <target>“{{target}}”</target>`,deleted:`<actor>{{actor}}</actor> deleted the column <target>“{{target}}”</target>`},board:{created:`<actor>{{actor}}</actor> created the board <target>“{{target}}”</target>`,updated:`<actor>{{actor}}</actor> renamed the board <target>“{{target}}”</target>`,deleted:`<actor>{{actor}}</actor> deleted the board <target>“{{target}}”</target>`},page:{created:`<actor>{{actor}}</actor> created the page <target>“{{target}}”</target>`,updated:`<actor>{{actor}}</actor> edited the page <target>“{{target}}”</target>`,moved:`<actor>{{actor}}</actor> moved the page <target>“{{target}}”</target>`,deleted:`<actor>{{actor}}</actor> deleted the page <target>“{{target}}”</target>`},project:{created:`<actor>{{actor}}</actor> created the project <target>“{{target}}”</target>`,updated:`<actor>{{actor}}</actor> updated the project <target>“{{target}}”</target>`,deleted:`<actor>{{actor}}</actor> deleted the project <target>“{{target}}”</target>`},label:{created:`<actor>{{actor}}</actor> created a label`,updated:`<actor>{{actor}}</actor> edited a label`,deleted:`<actor>{{actor}}</actor> deleted a label`},other:`<actor>{{actor}}</actor> made a change`},detail:{movedTo:`to {{to}}`,movedFromTo:`{{from}} → {{to}}`,createdIn:`in {{column}}`,linkedPage:`“{{page}}”`},viaMcp:`via MCP`},agents:{title:`Agents`,connect:`Connect an agent`,intro:{title:`Your agents, with clear permissions`,body:`Connect any MCP-compatible client to look up documentation, create tasks and reorganize boards. Each token belongs to a single workspace and can only do what you allow.`,endpoint:`Endpoint`,copyEndpoint:`Copy endpoint`,endpointCopied:`Endpoint copied`,oauth:`In Claude (web, desktop and mobile), add a custom connector with this endpoint. No token needed: you’ll be asked for permission here. Any client that supports OAuth works the same way.`},vault:{title:`The vault is out of their reach`,unreadable:`No token can read the vault, not even encrypted: the server rejects the request before it touches any data.`,noDeletes:`Agents can’t delete anything. They can only archive, and you can restore.`,logged:`Every action is logged, and you can watch it live in the app.`},tokens:{active:`Active connections`,emptyTitle:`You haven’t connected any agents yet`,emptyBody:`Create a token and paste the configuration into Claude Code, Cursor, VS Code or Claude Desktop.`,inactive_one:`{{count}} revoked or expired`,inactive_other:`{{count}} revoked or expired`},activity:{title:`Agent activity`,titleFor:`Activity by “{{name}}”`,showAll:`Show all`,loading:`Loading…`,empty:`When an agent works in this workspace, you’ll see it here.`},tools:{title:`MCP tools`,footnote:`Each agent only sees the tools its permissions allow.`,scopes:{read:`Read`,write:`Write`,tasksRead:`Tasks · read`,tasksWrite:`Tasks · write`,docsRead:`Documents · read`,docsWrite:`Documents · write`},descriptions:{listProjects:`Projects, boards and page outline`,search:`Search across cards and pages`,readBoards:`Columns, cards, checklists and links`,editCards:`Create, edit and move cards`,archiveCard:`Archive (restorable from the app)`,organizeBoards:`Reorganize boards`,labels:`Labels and checklists`,readPages:`Page tree and Markdown content`,writePages:`Create and update, with version control`,linkCard:`Link tasks and documents`,createProject:`Create projects`}},revoke:{action:`Revoke`,title:`Revoke “{{name}}”?`,description:`The agent loses access right away. Its past activity is kept.`,confirm:`Revoke access`,done:`Access revoked`},token:{oauth:{plain:`Connected with OAuth · returns to {{name}}`,computer:`Connected with OAuth · returns to {{name}} on this computer`,app:`Connected with OAuth · returns to the “{{name}}” app on this computer`},access:{tasks:{none:`Tasks: No access`,read:`Tasks: Read`,write:`Tasks: Read and write`},docs:{none:`Documents: No access`,read:`Documents: Read`,write:`Documents: Read and write`}},vaultNever:`Vault: never`,lastUsed:`Last used`,created:`Created`,revoked:`Revoked`,expires:`Expires`,expiresUnused:`Expires if unused`,never:`Never`,idle:`Not used for {{days}} days`,showActivity:`View its activity`},access:{levels:{none:`No access`,read:`Read`,write:`Read and write`},tasks:{label:`Tasks`,hint:`Boards, columns, cards and checklists`,group:`Access to tasks`},docs:{label:`Documents`,hint:`Pages and their Markdown content`,group:`Access to documents`},vault:{label:`Vault`,hint:`Never accessible to agents`,blocked:`Blocked`},atLeastOne:`Give read access to at least one area.`},kit:{clients:`MCP client`,terminal:`Terminal`,copy:`Copy configuration`,copied:`Configuration copied`,desktopNote:`Claude Desktop uses the mcp-remote bridge (Node.js) to send the authentication header.`,httpNote:`Streamable HTTP transport with Bearer authentication. Restart the client if it doesn’t find the server.`},create:{description:`Create a token for “{{workspace}}”. It can only reach this workspace, and only what you allow here.`,descriptionFallback:`Create a token for this workspace. It can only reach this workspace, and only what you allow here.`,name:`Agent name`,namePlaceholder:`e.g. Claude Code, Cursor, Support assistant`,expiry:`Expiration`,expiries:{30:`30 days`,90:`90 days`,365:`1 year`,never:`Never`},submit:`Create token`},created:{title:`“{{name}}” is ready`,description:`Copy the token now. For security, we only keep its fingerprint, so you won’t be able to see it again.`,copy:`Copy token`,copied:`Token copied`,done:`Done`}},auth:{hero:{title:`Organize.<br/>Document.<br/><accent>Protect.</accent>`,body:`One workspace for your projects, your knowledge and your credentials. Open to you and your AI agents, with permissions you control.`},pillars:{tasks:{title:`Tasks`,body:`Kanban boards, labels, due dates and checklists.`},docs:{title:`Docs`,body:`Nested Markdown pages, linked to your tasks.`},vault:{title:`Vault`,body:`End-to-end encrypted. Neither the server nor your agents can read it.`},agents:{title:`Agents`,body:`An MCP server with per-token permissions, so your LLMs can work alongside you.`}},orbit:{label:`Agents orbit your tasks and documents; the vault stays out of their reach`,tasks:`Tasks`,docs:`Docs`,vault:`Vault`},fields:{setupCode:{label:`Setup code`,show:`Show setup code`,hide:`Hide setup code`},newSetupCode:{label:`New setup code`,show:`Show new setup code`,hide:`Hide new setup code`},accessKey:{label:`Access key`,show:`Show access key`,hide:`Hide access key`},name:{label:`Your name`,hint:`Shown in the activity of your workspaces.`}},setup:{title:`Set up your copy`,subtitle:`This copy of Orqevio is yours alone. Enter the setup code you chose when you installed it. If you didn’t choose one, you’ll find it in the server log.`,submit:`Set up`,missingSetupCode:`Enter the setup code.`,missingName:`Enter your name.`},login:{title:`Welcome back`,subtitle:`Enter the access key for this copy of Orqevio.`,submit:`Sign in`,missingAccessKey:`Enter your access key.`,lostKey:`Lost your key?`},recovery:{intro:`Whoever manages this copy can generate a new key:`,cli:`Generate a new code from your computer and enter it here:`,button:`Change the <code>SETUP_CODE</code> secret in the Cloudflare dashboard (Workers & Pages → {{name}} → Settings → Variables and Secrets) and enter the new code here.`,cloudflare:`Change the copy’s <code>SETUP_CODE</code> secret (for example, with <code>npx wrangler secret put SETUP_CODE</code>) and enter the new code here.`,withCommand:`With this command on the server, which gives you the new key straight away (add --revoke-agents if someone else may have had the key):`,withNewCode:`With a new code: change <code>SETUP_CODE</code> in the copy’s configuration, restart it and enter the new code here.`,vaultUnaffected:`The vault isn’t affected: it stays protected by its master password.`,missingSetupCode:`Enter the new setup code.`,submit:`Recover access`,missingReason:`Choose why you’re recovering access.`,reason:{legend:`Why are you recovering access?`,lost:{label:`I lost my key`,hint:`Your agents stay connected.`},compromised:{label:`Someone else may have it`,hint:`All your agents are disconnected, Claude included. You can reconnect the ones you trust afterwards.`}}},revealed:{setup:{title:`Save your access key`,subtitle:`You’ll use it to sign in to this copy from any device. It’s shown only once, so save it in your password manager.`},recovery:{title:`Your new access key`,subtitle:`The old key no longer works, and every session has been signed out. Save this one in your password manager: it’s shown only once.`},continue:`Continue to Orqevio`,agents:{title:`Connected agents`,review:`They kept their access. If you don’t recognize one, revoke it.`,none:`No agent is connected to this copy.`,revoked:`Every agent has been disconnected. Reconnect the ones you trust from Agents.`}},keyReveal:{label:`Access key`,copied:`Key copied`,download:`Download .txt`,saved:`I’ve saved it somewhere safe, like my password manager.`},keyFile:{name:`orqevio-access-key.txt`,title:`Orqevio — Access key`,address:`Address: {{address}}`,key:`Key: {{key}}`,use:`Save it in your password manager. It signs you in to this copy of Orqevio from any device.`,lost:`If you lose it, whoever manages the copy can generate a new one. It doesn’t affect the vault’s master password.`},uninstalled:{title:`Orqevio was uninstalled`,subtitle:`This copy holds no data anymore: workspaces, documents, attachments, vault and agents are gone. Only the copy itself is left:`,cli:`Remove its Worker and its bucket from your Cloudflare account with:`,button:`In your Cloudflare and GitHub (or GitLab) accounts:`,cloudflare:`In your Cloudflare account:`,docker:`Stop it and delete its data, then delete the folder where you installed it:`,source:`Stop the server and delete its data folder (DATA_DIR, apps/server/data by default).`,steps:{worker:`Delete the Worker “{{name}}”: Workers & Pages → {{name}} → Settings → Delete.`,bucket:`Delete the R2 bucket “{{bucket}}”: R2 → {{bucket}} → Settings → Delete Bucket.`,repository:`Delete the repository the button created for this copy.`,token:`Delete its build token in My Profile → API Tokens, if nothing else uses it.`}}},boards:{actions:{delete:`Delete`,restore:`Restore`,archive:`Archive`,rename:`Rename`,back:`Back`,undo:`Undo`},board:{region:`Board {{name}}`,archived:`Archived`,actions:`Board actions`,rename:`Rename board`,nameLabel:`Name`,delete:`Delete board`,empty:{title:`This board has no columns`,body:`Create columns for the stages of your work.`},filterActive:`Filter on · dragging is turned off`,removeFilter:`Remove filter`},drag:{instructions:`To pick up an item, press Space. Use the arrow keys to move it, then press Space again to drop it. Press Escape to cancel.`,card:{picked:`You picked up the card “{{title}}”. Column “{{column}}”, position {{position}} of {{total}}.`,over:`The card “{{title}}” is in column “{{column}}”, position {{position}} of {{total}}.`,outside:`The card “{{title}}” isn’t over a valid drop area.`,dropped:`You dropped the card “{{title}}”. Column “{{column}}”, position {{position}} of {{total}}.`,droppedOutside:`You dropped the card “{{title}}”.`,cancelled:`Moving the card “{{title}}” was canceled.`},column:{picked:`You picked up the column “{{title}}”. Position {{position}} of {{total}}.`,over:`The column “{{title}}” is at position {{position}} of {{total}}.`,outside:`The column “{{title}}” isn’t over a valid drop area.`,dropped:`You dropped the column “{{title}}”. Position {{position}} of {{total}}.`,droppedOutside:`You dropped the column “{{title}}”.`,cancelled:`Moving the column “{{title}}” was canceled.`}},filter:{button:`Filter`,search:`Search by title…`,searchLabel:`Search by title`,due:`Due date`,dues:{all:`All`,overdue:`Overdue`,week:`This week`,none:`No date`},labels:`Labels`,clear:`Clear filter`},column:{region:`Column {{name}}`,roleDescription:`column`,handle:`{{name}}. Double-click to rename, press Space to move`,name:`Column name`,add:`Add column`,addCardTo:`Add card to {{name}}`,actions:`Actions for {{name}}`,addCard:`Add card`,delete:`Delete column`,cards:`Cards in {{name}}`,noMatches:`Nothing matches the filter`,dropHere:`Drop cards here`,deleteConfirm:{title:`Delete the column “{{name}}”?`,withCards_one:`Its card will be deleted too. To keep it, move it to another column first.`,withCards_other:`Its {{count}} cards will be deleted too. To keep them, move them to another column first.`,empty:`The column is empty.`}},composer:{placeholder:`What needs to be done?`,hint:`<kbd>↵</kbd> add · <kbd>esc</kbd> close`,submit:`Add`},card:{title:`Card title`,roleDescription:`card`,checklist:`Checklist`,hasDescription:`Has a description`,linkedDocs:`Linked documents`,attachments:`Attachments`,createdByName:`Created by {{name}}`},sheet:{fallbackTitle:`Card`,label:`Card details`,gone:`This card no longer exists`,archived:`Archived`,agentEditing:`{{name}} is editing`,saving:`Saving…`,saved:`Saved`,actions:`Card actions`,archivedToast:`Card archived`,deleteConfirm:{title:`Delete this card?`,description:`It’ll be deleted along with its checklists and attachments. To just hide it, archive it instead.`},labels:`Labels`,addLabels:`Add labels`,due:`Due`,noDate:`No date`,createdBy:`Created by`,unknownCreator:`Unknown`,description:`Description`,descriptionPlaceholder:`Add context, acceptance criteria or notes. Press “/” to insert.`,descriptionLabel:`Card description`,checklists:`Checklists`,addChecklist:`+ Add`,newChecklistTitle:`Checklist`,checklistsEmpty:`Break the task into steps you can check off.`,linkedDocs:`Linked documents`,attachments:`Attachments`,activity:`Activity`},checklist:{titleLabel:`Checklist title`,actions:`Checklist actions`,delete:`Delete checklist`,progress:`Progress`,item:`Item`,deleteItem:`Delete “{{text}}”`,addItem:`Add item`,newItemPlaceholder:`New item, then Enter`,newItem:`New item`},due:{today:`Today`,tomorrow:`Tomorrow`,monday:`Monday`,inAWeek:`In a week`,remove:`Remove date`},labels:{title:`Labels`,newTitle:`New label`,editTitle:`Edit label`,namePlaceholder:`Name (optional)`,nameLabel:`Label name`,empty:`This board doesn’t have any labels yet.`,unnamed:`Unnamed`,editNamed:`Edit {{name}}`,editUnnamed:`Edit label`,create:`Create label`},linked:{mentioned:`mentioned`,unlinkNamed:`Unlink {{title}}`,unlinkUntitled:`Unlink page`,link:`Link document`,search:`Search pages…`,searchLabel:`Search pages`,noResults:`No results.`,hint:`Type to search the whole workspace.`},archived:{sheetTitle:`Archived cards`,heading:`Archived`,emptyTitle:`Nothing archived`,emptyBody:`Cards that you or your agents archive show up here, and you can restore them.`,deleteConfirm:`Delete “{{title}}” permanently?`},attachments:{deleteConfirm:`Delete “{{name}}”?`,download:`Download {{name}}`,deleteNamed:`Delete {{name}}`,uploading:`Uploading…`,attach:`Attach file`}},common:{language:`Language`,skipToContent:`Skip to content`,loading:`Loading`,actions:{cancel:`Cancel`,confirm:`Confirm`,save:`Save`,close:`Close`,copy:`Copy`,view:`View`,backHome:`Back to home`},dialog:{fallbackTitle:`Dialog`,details:`Details`},copyFailed:`Couldn’t copy to the clipboard`,notFound:{title:`Nothing here`,body:`The page doesn’t exist or you don’t have access to it.`},time:{justNow:`just now`},due:{today:`Today`,tomorrow:`Tomorrow`,yesterday:`Yesterday`},greeting:{night:`Good evening`,morning:`Good morning`,afternoon:`Good afternoon`,evening:`Good evening`},color:`Color`,colors:{tomato:`Persimmon`,amber:`Amber`,lime:`Lime`,jade:`Jade`,teal:`Turquoise`,cobalt:`Cobalt`,iris:`Iris`,rose:`Pink`,slate:`Slate`},untitled:`Untitled`,quoted:`“{{text}}”`},docs:{page:{status:{saving:`Saving…`,pending:`Unsaved changes`,saved:`Saved`,error:`Not saved`},actions:`Page actions`,newSubpage:`New subpage`,move:`Move to…`,delete:`Delete page`,titleLabel:`Page title`,editedBy:`Edited by <name>{{name}}</name> · {{time}}`,agentWorking:`{{name}} is working here`,agentUpdated:`{{name}} updated this page`,linkedTasks:`Linked tasks`,conflict:{byName:`<strong>{{name}}</strong> changed this page while you were editing. Your latest changes weren’t saved.`,byOtherSession:`<strong>Another session</strong> changed this page while you were editing. Your latest changes weren’t saved.`,loadTheirs:`Load their version`,keepMine:`Keep mine`},content:`Page content`,subpages:`Subpages`,attachments:`Attachments`},editor:{placeholder:`Write, or press “/” to insert…`,headingPlaceholder:`Heading`,label:`Content`,uploading:`Uploading {{name}}…`,uploaded:`File attached`,noBlocks:`No blocks match`,mentionHint:`Type to search tasks and pages`,groups:{blocks:`Blocks`,lists:`Lists`,insert:`Insert`,tasks:`Tasks`,pages:`Pages`},slash:{p:{title:`Text`,subtitle:`Plain paragraph`,keywords:`text paragraph body`},h1:{title:`Heading 1`,subtitle:`Large heading`,keywords:`heading title h1`},h2:{title:`Heading 2`,subtitle:`Section heading`,keywords:`heading title h2`},h3:{title:`Heading 3`,subtitle:`Subsection`,keywords:`heading title h3`},ul:{title:`List`,subtitle:`Bulleted list`,keywords:`list bullet bulleted ul`},ol:{title:`Numbered list`,subtitle:`1, 2, 3…`,keywords:`list numbered ordered ol`},todo:{title:`To-do list`,subtitle:`Checkboxes to tick off`,keywords:`todo task checklist check`},quote:{title:`Quote`,subtitle:`Make a passage stand out`,keywords:`quote blockquote`},code:{title:`Code`,subtitle:`Code block`,keywords:`code snippet`},table:{title:`Table`,subtitle:`3 × 3 with a header row`,keywords:`table grid`},hr:{title:`Divider`,subtitle:`Horizontal line`,keywords:`divider separator hr line rule`},mention:{title:`Link a task or page`,subtitle:`Type @ and search`,keywords:`mention link task page`},image:{title:`Image`,subtitle:`Upload a PNG, JPG, GIF or WebP`,keywords:`image photo picture`},file:{title:`File`,subtitle:`Attach any file`,keywords:`file attachment upload`}},mention:{card:`Task · {{board}} · {{column}}`,page:`Page · {{project}}`},menu:{slash:`Insert block`,mention:`Link a task or page`,searching:`Searching…`,noMatches:`No matches`},format:{linkPlaceholder:`https://… or /doc/…`,linkLabel:`Link address`,openLink:`Open link`,editLink:`Edit link`,removeLink:`Remove link`,bold:`Bold`,italic:`Italic`,strike:`Strikethrough`,code:`Code`,link:`Link`}},icon:{change:`Change icon`,add:`Add icon`,use:`Use {{icon}}`,remove:`Remove icon`},move:{title:`Move page`,description:`Choose where to put it in the project.`,root:`project root`,moved:`Page moved`}},errors:{codes:{invalid_access_key:`The access key isn’t correct.`,invalid_setup_code:`The setup code isn’t correct.`,recovery_not_ready:`Your copy doesn’t have a new setup code yet. If you just changed it, wait a moment (sometimes a few minutes) and try again.`,already_claimed:`This copy is already set up. Sign in with your access key.`,not_claimed:`This copy isn’t set up yet.`,rate_limited:`Too many attempts. Wait a few minutes.`,network:`There’s no connection to the server.`,file_too_large:`The file is larger than the maximum allowed size.`,upload_incomplete:`The upload was interrupted. Try again.`,last_workspace:`You need to keep at least one workspace.`},notFound:`The item couldn’t be found.`,server:`Something went wrong on the server. Try again.`,unknown:`Something went wrong. Try again.`},home:{title:`Home`,greeting:`{{greeting}}, <name>{{name}}</name>.`,onboarding:{title:`Getting started`,dismiss:`Hide getting started`,progress:`{{done}} of {{total}} done`,project:{title:`Create a project`,body:`Group boards and documents together.`},page:{title:`Write a page`,body:`Document in Markdown, with “/” and “@”.`},vault:{title:`Set up the vault`,body:`End-to-end encrypted.`},agent:{title:`Connect an agent`,body:`Claude, Cursor or VS Code, over MCP.`}},due:{title:`Due soon`,empty:`Nothing is due in the next 7 days.`},recent:{title:`Recent documents`,empty:`No documents yet.`},activity:{title:`Activity`,agents:`Agent activity`,empty:`What you and your agents do will show up here.`}},oauth:{problems:{unknown_client:`Orqevio doesn’t recognize this app, or the description it publishes isn’t valid.`,bad_redirect:`The address it wants to return to doesn’t belong to this app. To keep you safe, nothing is sent there.`},problem:{title:`This app can’t be connected`,home:`Go to Orqevio`},leaving:{title:`Returning to the app…`,subtitle:{plain:`Taking you back to {{name}}.`,computer:`Taking you back to {{name}} on this computer.`,app:`Taking you back to the “{{name}}” app on this computer.`}},consent:{title:`Connect {{name}}`,subtitle:`An app wants to work in your copy of Orqevio through MCP. Choose what it can access.`,app:`App`,returnsTo:{plain:`When you’re done, you’ll return to {{name}}`,computer:`When you’re done, you’ll return to {{name}} on this computer`,app:`When you’re done, you’ll return to the “{{name}}” app on this computer`},publishedBy:`Its description is published by {{publisher}}.`,unverified:`It registered itself, so its name isn’t verified. Only continue if you just connected it yourself.`,local:`A program on this computer will receive the access.`,workspace:`Workspace`,existing:`{{name}} already has access to this workspace (last used {{when}}).`,existingUnused:`{{name}} already has access to this workspace, although it hasn’t used it yet.`,replace:`Replace the earlier access`,replaceHint:`It stops working as soon as this one is connected. Untick it if you’re connecting another {{name}} account.`,allow:`Allow access`,revokeLater:`You can revoke this access at any time in Agents.`}},projects:{edit:`Edit`,delete:`Delete project`,summary:`{{boards}} · {{pages}}`,boardCount_one:`{{count}} board`,boardCount_other:`{{count}} boards`,pageCount_one:`{{count}} page`,pageCount_other:`{{count}} pages`,boards:{title:`Boards`,new:`New board`,openCards_one:`{{count}} open card`,openCards_other:`{{count}} open cards`,empty:`Create a Kanban board to organize this project’s tasks.`},docs:{title:`Documents`,new:`New page`,subpages_one:`{{count}} subpage`,subpages_other:`{{count}} subpages`,emptyTitle:`No documents yet`,emptyAction:`Write the first page`,emptyBody:`Specs, decisions, processes or meeting notes. In Markdown and linked to your tasks.`},recent:`Recently edited`},settings:{title:`Settings`,profile:{title:`Profile`,description:`Your name appears in the workspace’s activity.`,name:`Name`,saved:`Profile updated`},appearance:{title:`Appearance`,description:`Saved in your copy and applied on all your devices.`,theme:`Theme`,themes:{system:`System`,light:`Light`,dark:`Dark`}},language:{title:`Language`,description:`The app speaks it on all your devices, and new boards get their default columns in it.`},accessKey:{title:`Access key`,description:`It’s what you use to sign in to this copy. Generating a new one signs out your other sessions. It doesn’t affect the vault’s master password.`,current:`Current key`,generate:`Generate a new key`,newTitle:`Your new access key`,newDescription:`The old key no longer works, and your other sessions have been signed out. It’s shown only once.`,done:`Done`,updated:`Access key updated`},workspace:{title:`Workspace`,description:`Agent tokens and projects belong to a specific workspace.`,name:`Workspace name`,saved:`Workspace updated`,delete:`Delete workspace`,deleteTitle:`Delete the workspace “{{name}}”?`,deleteDescription:`Its projects, boards, documents, attachments and tokens will be deleted. This can’t be undone.`,deleted:`Workspace deleted`},copy:{title:`This copy`,description:`The version of Orqevio you’re running. Your copy checks for new versions at most every 12 hours.`},version:{upToDate:`You’re up to date.`,available:`A new version is available: {{version}}`,how:{cli:`Run this on your computer:`,button:`Merge the Dependabot pull request in your copy’s repository, and it deploys itself. If you don’t see one, bump the create-orqevio version in its package.json.`,docker:`In your copy’s folder:`,source:`In the repository, then restart the server:`},copy:`Copy command`,copied:`Command copied`,kept:`Your data, access key and vault are preserved.`,releaseNotes:`See what’s new`},erase:{title:`Erase this copy`,description:`Permanently erases your workspaces, your vault and your tokens. The copy will ask for the setup code again.`,action:`Erase all my data`,confirmDescription:`This can’t be undone. Enter your access key to confirm.`,accessKey:`Access key`,confirm:`Erase permanently`,done:`Data erased`},uninstall:{title:`Uninstall Orqevio`,description:`Deletes everything for good, attachments included, and leaves this copy unusable. Then it shows how to remove the copy itself from your Cloudflare account or your server.`,action:`Uninstall Orqevio…`,confirmDescription:`This can’t be undone. You’ll lose:`,loses:{data:`Your workspaces, projects, boards and documents.`,files:`Every attachment.`,vault:`Your vault. To keep it, export an encrypted copy from the vault first.`,agents:`Your agents’ access and every session.`},afterwards:`This is step 1 of 2. In step 2 you’ll see how to remove the copy itself from your Cloudflare account or your server.`,oneCommand:`Installed it with the command? From your computer, <code>{{command}}</code> does both steps at once.`,accessKey:`Access key`,typeName:`Type “{{name}}” to confirm`,confirm:`Uninstall for good`}},shell:{nav:{label:`Main navigation`,search:`Search or jump to…`,home:`Home`,vault:`Vault`,agents:`Agents`,agentLive:`Agent active`,projects:`Projects`,newProject:`New project`,firstProject:{title:`Create your first project`,body:`Group boards and documents in one place.`},vaultLocked:`Locked`,vaultUnlocked:`Unlocked`},workspace:{fallback:`Workspace`,heading:`Workspaces`,new:`New workspace`,newDescription:`Workspaces keep contexts apart, such as personal and work. Each agent token belongs to a single workspace.`,name:`Name`,create:`Create workspace`,settings:`Settings`},project:{collapse:`Collapse {{name}}`,expand:`Expand {{name}}`,actions:`Actions for {{name}}`,newBoard:`New board`,newPage:`New page`,newPageIn:`New page in {{name}}`,rename:`Name and color`,delete:`Delete project`,empty:`Empty`},tree:{collapse:`Collapse`,expand:`Expand`,newSubpage:`New subpage`},user:{updateAvailable:`A new version of Orqevio is available`,settings:`Settings`,newVersion:`New version`,appearance:`Appearance`,theme:{system:`System`,light:`Light`,dark:`Dark`},signOut:`Sign out`},header:{hideSidebar:`Hide sidebar`,showSidebar:`Show sidebar`,toggleSidebar:`Toggle sidebar`,breadcrumb:`Breadcrumb`},newProject:{title:`New project`,description:`A project groups related boards and documents.`,name:`Name`,namePlaceholder:`e.g. Website launch`,color:`Color`,withBoard:`Create a board`,startWithBoard:`Start with a board`,boardHint:`Columns {{columns}}. You can change them at any time.`,boardName:`Tasks`,create:`Create project`},projectSettings:{title:`Project`,name:`Name`,description:`Description`,optional:`Optional`,color:`Color`},actions:{newBoard:{title:`New board`,label:`Board name`,placeholder:`e.g. Launch sprint`,confirm:`Create board`},deleteBoard:{title:`Delete “{{name}}”?`,body:`Its columns and cards will be deleted. This can’t be undone.`,confirm:`Delete board`,done:`Board deleted`},deletePage:{title:`Delete “{{name}}”?`,body:`Its subpages and attachments will be deleted too. This can’t be undone.`,confirm:`Delete page`,done:`Page deleted`},deleteProject:{title:`Delete the project “{{name}}”?`,body:`All its boards, cards, pages and attachments will be deleted. This can’t be undone.`,confirm:`Delete project`,done:`Project deleted`}},palette:{label:`Command palette`,title:`Search`,description:`Search projects, boards, pages and cards, or run an action.`,placeholder:`Search tasks, documents or actions…`,searching:`Searching…`,noResults:`No results. Try other words.`,inContent:`In the content`,navigate:`Go to`,structure:`Projects, boards and pages`,project:`Project`,actions:`Actions`,newProject:`New project`,lightTheme:`Switch to light theme`,darkTheme:`Switch to dark theme`,lockVault:`Lock the vault`,hintNavigate:`navigate`,hintOpen:`open`,keywords:{home:`Home`,vault:`Vault passwords`,agents:`Agents MCP tokens`,settings:`Settings account`,project:`project`,board:`board`,page:`page`,newProject:`New project create`,theme:`Change theme light dark appearance`,lockVault:`Lock vault`}}},vault:{title:`Vault`,back:`← Back`,reveal:{show:`Show`,hide:`Hide`},types:{login:`Login`,note:`Secure note`},untitled:{login:`Untitled`,note:`Untitled note`},master:{label:`Master password`,new:`New master password`,repeatNew:`Repeat the new password`,newTooShort:`The new password needs at least 12 characters.`,mismatch:`The passwords don’t match.`,wrong:`Wrong master password.`},unsupported:{insecureTitle:`The vault needs a secure connection`,browserTitle:`The vault doesn’t work in this browser`,blockers:{secure_context:`You opened Orqevio over an unencrypted connection (http://). Browsers only allow the vault’s encryption on secure connections: open your copy over https:// (for example, behind Caddy, Nginx, or Traefik) or, on the same computer, at http://localhost.`,webcrypto:`This browser doesn’t offer WebCrypto, which the vault uses to encrypt your data.`,workers:`This browser doesn’t support Web Workers, which the vault uses to derive your key without freezing the page.`,webassembly:`This browser doesn’t support WebAssembly, which the vault uses to derive your key with Argon2id.`},updateBrowser:`Use a current version of Chrome, Edge, Firefox, or Safari.`,restWorks:`Your tasks and documents keep working as usual.`},toolbar:{autoLockTimer:`Locks automatically after inactivity`,generator:`Generator`,options:`Vault options`,changeMaster:`Change master password`,import:`Import…`,export:`Export…`,autoLock:`Auto-lock`,autoLockMinutes_one:`After {{count}} minute of inactivity`,autoLockMinutes_other:`After {{count}} minutes of inactivity`,autoLockHours_one:`After {{count}} hour of inactivity`,autoLockHours_other:`After {{count}} hours of inactivity`,lock:`Lock`,generatorTitle:`Password generator`,generatorDescription:`Unbiased cryptographic randomness from your browser.`},list:{search:`Search the vault`,new:`New`,filter:`Filter`,filters:{all:`All`,logins:`Logins`,notes:`Notes`},label:`Vault items`,noMatches:`No matches.`,empty:`Your vault is empty.`,footer_one:`{{count}} item · decrypted only in this browser`,footer_other:`{{count}} items · decrypted only in this browser`},empty:{select:`Select an item`,first:`Save your first login`,newLogin:`New login`,body:`Everything is encrypted in your browser before it’s sent to the server. Neither the server nor your agents can read it.`},delete:{title:`Delete “{{title}}”?`,description:`It will be permanently deleted from your vault.`,confirm:`Delete`},detail:{updatedLogin:`Login · updated {{time}}`,updatedNote:`Secure note · updated {{time}}`,favorite:`Mark as favorite`,unfavorite:`Remove from favorites`,edit:`Edit`,delete:`Delete`,username:`Username`,copyUsername:`Copy username`,usernameCopied:`Username copied`,password:`Password`,showPassword:`Show password`,hidePassword:`Hide password`,copyPassword:`Copy password`,passwordCopied:`Password copied · the clipboard clears in 30 s`,website:`Website`,openWebsite:`Open website`,copyUrl:`Copy URL`,urlCopied:`URL copied`,content:`Content`,notes:`Notes`,copyNotes:`Copy notes`,notesCopied:`Copied`,clipboardClears:`When you copy something, the clipboard clears itself after 30 seconds.`},totp:{label:`Verification code`,copy:`Copy code`,copied:`Code copied · the clipboard clears in 30 s`,current:`Current verification code`,changesIn_one:`Changes in {{count}} second`,changesIn_other:`Changes in {{count}} seconds`,problems:{empty:`Enter the secret key or the otpauth:// link.`,not_totp:`Only time-based codes (TOTP) are supported.`,bad_secret:`The secret key can only contain the letters A to Z and the digits 2 to 7.`,too_short:`The secret key is too short.`,bad_parameters:`The otpauth:// link has invalid parameters.`}},editor:{editTitle:`Edit item`,newLogin:`New login`,newNote:`New secure note`,name:`Name`,namePlaceholderLogin:`e.g. Bank, GitHub, office Wi-Fi`,namePlaceholderNote:`e.g. Backup codes`,username:`Username or email`,password:`Password`,generate:`Generate password`,website:`Website`,websitePlaceholder:`example.com`,totp:`Two-step verification (TOTP)`,totpPlaceholder:`Secret key or otpauth:// link`,totpHint:`The key the service shows you next to the QR code when you turn on two-step verification.`,content:`Content`,notes:`Notes`,save:`Encrypt and save`},changeMaster:{title:`Change master password`,description:`Your items aren’t encrypted again: only the vault key is protected with the new password. Your recovery key stays valid.`,current:`Current master password`,submit:`Change`,wrongCurrent:`The current master password isn’t correct.`,done:`Master password updated`},strength:{emptyHint:`Use at least 12 characters. A phrase of several words is easy to remember and hard to guess.`,tooShort:`Too short`,tooShortHint:`You need at least 12 characters.`,fair:`Could be stronger`,fairHint:`Add more words or a wider mix of characters.`,good:`Good`,veryGood:`Very good`,rememberHint:`Remember: if you forget it, only the recovery key can open the vault.`},generator:{regenerate:`Generate another`,copied:`Copied · the clipboard clears in 30 s`,entropy:`≈ {{bits}} bits of entropy`,length:`Length`,sets:{upper:`Uppercase`,lower:`Lowercase`,digits:`Numbers`,symbols:`Symbols`},avoidAmbiguous:`Avoid ambiguous characters (I, l, 1, O, 0)`,use:`Use this password`,rating:{weak:`Weak`,fair:`Fair`,strong:`Strong`,excellent:`Excellent`}},gate:{guarantees:{encryption:`AES-256-GCM encryption in your browser`,kdf:`Key derived with Argon2id`,agents:`Agents and MCP have no access`},decryptFailed_one:`{{count}} item couldn’t be decrypted and was skipped.`,decryptFailed_other:`{{count}} items couldn’t be decrypted and were skipped.`,setup:{title:`Set up your vault`,subtitle:`Choose a master password. It’s used in your browser to encrypt your secrets and is never sent to the server.`,tooShort:`Use at least 12 characters.`,failed:`Couldn’t create the vault in this browser.`,repeat:`Repeat the master password`,busy:`Generating keys…`,submit:`Create vault`,ready:`Your vault is ready. Only you can open it.`},recoveryKey:{title:`Save your recovery key`,subtitle:`It’s the only way to recover the vault if you forget your master password. It’s shown only once.`,copied:`Recovery key copied`,download:`Download .txt`,fileName:`orqevio-recovery-key.txt`,fileText:`Orqevio — Vault recovery key
|
|
59
59
|
|
|
60
60
|
{{recoveryKey}}
|
|
61
61
|
|
|
62
62
|
Keep it outside Orqevio (for example, printed or in another password manager).
|
|
63
63
|
It lets you reset the master password. No one else can recover it for you.
|
|
64
|
-
`,saved:`I’ve saved it somewhere safe, outside Orqevio.`,open:`Open my vault`},unlock:{title:`Vault locked`,subtitle:`Enter your master password to decrypt your logins in this browser.`,busy:`Decrypting…`,submit:`Unlock`,forgot:`Forgot your master password?`},recover:{title:`Recover the vault`,subtitle:`Use the recovery key you saved when you created the vault to choose a new master password.`,recoveryKey:`Recovery key`,recoveryKeyPlaceholder:`XXXX-XXXX-XXXX-…`,submit:`Reset and open`,noKey:`I don’t have the key`,invalidKey:`The recovery key isn’t valid.`,done:`Master password reset`},reset:{title:`Reset the vault`,description:`Without the master password or the recovery key, no one can decrypt your data, not even us. Resetting permanently deletes every item.`,accessKey:`Access key`,accessKeyHint:`Confirm it’s you with this copy’s access key (not the master password).`,submit:`Delete and reset`,done:`Vault reset. You can set it up again.`}},import:{title:`Import into the vault`,description:`The file is read and encrypted in this browser: the server only receives items that are already encrypted.`,formats:`Supports the CSV that Chrome, Edge, Firefox, and Safari export, Bitwarden’s CSV and unencrypted JSON, and encrypted Orqevio exports.`,choose:`Choose file`,fileLabel:`File to import`,tooLarge:`The file is too large (over {{size}} MB).`,problems:{empty:`The file is empty.`,unknown_format:`Orqevio doesn’t recognize this file. Use the CSV that Chrome, Edge, Firefox, or Safari export, Bitwarden’s CSV or JSON, or an Orqevio export.`,bitwarden_encrypted:`This is an encrypted Bitwarden export. Export it again as unencrypted “.json” or “.csv” and import it here.`,no_items:`The file has no logins or notes.`},encrypted_one:`This is an encrypted Orqevio export with {{count}} item. Enter the master password you had when you exported it.`,encrypted_other:`This is an encrypted Orqevio export with {{count}} items. Enter the master password you had when you exported it.`,exportPassword:`Export password`,decrypt:`Decrypt`,wrongPassword:`That’s not the password this export was made with.`,sources:{chromeOrEdge:`From Chrome or Edge:`,firefox:`From Firefox:`,safari:`From Safari:`,bitwardenCsv:`From Bitwarden (CSV):`,bitwardenJson:`From Bitwarden (JSON):`,csv:`From a CSV file:`,orqevio:`From Orqevio (encrypted):`},newLogins_one:`{{count}} new login`,newLogins_other:`{{count}} new logins`,newNotes_one:`{{count}} new note`,newNotes_other:`{{count}} new notes`,nothingNew:`Nothing new to import`,duplicates_one:`{{count}} item is already in your vault and will be skipped`,duplicates_other:`{{count}} items are already in your vault and will be skipped`,unsupported_one:`{{count}} item isn’t supported (cards or identities) and won’t be imported`,unsupported_other:`{{count}} items aren’t supported (cards or identities) and won’t be imported`,unencryptedWarning:`The file you chose isn’t encrypted: delete it from your computer when you’re done.`,chooseAnother:`Choose another`,progress:`Encrypting {{done}} of {{total}}…`,submit_one:`Import {{count}} item`,submit_other:`Import {{count}} items`,failed_one:`{{count}} item couldn’t be imported. Import the file again: items already imported will be skipped.`,failed_other:`{{count}} items couldn’t be imported. Import the file again: items already imported will be skipped.`,done_one:`{{count}} item imported`,done_other:`{{count}} items imported`,locked:`The vault locked before the import finished. Unlock it and import the file again: anything already imported will be skipped.`,untitledNote:`Note`,untitledLogin:`Untitled`,damaged:`This export is damaged and can’t be read.`},export:{title:`Export the vault`,description:`Download all your items as a file, prepared in this browser.`,kind:`Export type`,kinds:{encrypted:`Encrypted`,plain:`Unencrypted`},encryptedInfo:`Only your current master password opens it. Use it as a backup or to move your items to another copy of Orqevio.`,plainInfo:`In Bitwarden’s JSON format, which most password managers can import. Anyone who has the file can read it.`,understood:`I understand the file isn’t encrypted and that anyone who has it can read all my passwords.`,submitPlain:`Export unencrypted`,submitEncrypted:`Export encrypted`,fileNameEncrypted:`orqevio-vault-encrypted-{{date}}.json`,fileNamePlain:`orqevio-vault-unencrypted-{{date}}.json`,done_one:`{{count}} item exported`,done_other:`{{count}} items exported`,tooLarge:`The export is larger than {{size}} MB: Orqevio won’t be able to import it.`}}},e_=Object.keys($g),t_=`modulepreload`,n_=function(e){return`/`+e},r_={},i_=function(e){return e.pathname.endsWith(`.css`)},a_=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},$=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=n_(t,n);let r=s(t),i=i_(r);return a_(r_,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:t_,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{let i=a=>{t.removeEventListener(`load`,i),t.removeEventListener(`error`,i),a.type===`error`?n(Error(`Unable to preload CSS for ${r}`)):e(a)};t.addEventListener(`load`,i),t.addEventListener(`error`,i)})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},o_=Object.assign({"./locales/de/activity.json":()=>$(()=>import(`./activity-BHGI6Z2D.js`).then(e=>e.default),[]),"./locales/de/agents.json":()=>$(()=>import(`./agents-B2XabUwG.js`).then(e=>e.default),[]),"./locales/de/auth.json":()=>$(()=>import(`./auth-Ba1OS44l.js`).then(e=>e.default),[]),"./locales/de/boards.json":()=>$(()=>import(`./boards-BTpgk9Fd.js`).then(e=>e.default),[]),"./locales/de/common.json":()=>$(()=>import(`./common-ChyM3qEm.js`).then(e=>e.default),[]),"./locales/de/docs.json":()=>$(()=>import(`./docs-lc4Fuqxy.js`).then(e=>e.default),[]),"./locales/de/errors.json":()=>$(()=>import(`./errors-DN3ODXFj.js`).then(e=>e.default),[]),"./locales/de/home.json":()=>$(()=>import(`./home-DMs617rt.js`).then(e=>e.default),[]),"./locales/de/oauth.json":()=>$(()=>import(`./oauth-BqnFE4AA.js`).then(e=>e.default),[]),"./locales/de/projects.json":()=>$(()=>import(`./projects--t9VhdYF.js`).then(e=>e.default),[]),"./locales/de/settings.json":()=>$(()=>import(`./settings-DN08srMi.js`).then(e=>e.default),[]),"./locales/de/shell.json":()=>$(()=>import(`./shell-BJfYCj5Q.js`).then(e=>e.default),[]),"./locales/de/vault.json":()=>$(()=>import(`./vault-DzWE-kQx.js`).then(e=>e.default),[]),"./locales/es/activity.json":()=>$(()=>import(`./activity-C7wpXysw.js`).then(e=>e.default),[]),"./locales/es/agents.json":()=>$(()=>import(`./agents-D_gfLGIh.js`).then(e=>e.default),[]),"./locales/es/auth.json":()=>$(()=>import(`./auth-CoBJBRW0.js`).then(e=>e.default),[]),"./locales/es/boards.json":()=>$(()=>import(`./boards-BWeP1yma.js`).then(e=>e.default),[]),"./locales/es/common.json":()=>$(()=>import(`./common-kLH8MGZF.js`).then(e=>e.default),[]),"./locales/es/docs.json":()=>$(()=>import(`./docs-CMM1mWDN.js`).then(e=>e.default),[]),"./locales/es/errors.json":()=>$(()=>import(`./errors-DbvWC9vT.js`).then(e=>e.default),[]),"./locales/es/home.json":()=>$(()=>import(`./home-tJQGjAOo.js`).then(e=>e.default),[]),"./locales/es/oauth.json":()=>$(()=>import(`./oauth-B5NFSQMb.js`).then(e=>e.default),[]),"./locales/es/projects.json":()=>$(()=>import(`./projects-aUO3NoCx.js`).then(e=>e.default),[]),"./locales/es/settings.json":()=>$(()=>import(`./settings-zS8H2ZNY.js`).then(e=>e.default),[]),"./locales/es/shell.json":()=>$(()=>import(`./shell-BiFljnPL.js`).then(e=>e.default),[]),"./locales/es/vault.json":()=>$(()=>import(`./vault-ShnECcLf.js`).then(e=>e.default),[]),"./locales/fr/activity.json":()=>$(()=>import(`./activity-ayIU9KmV.js`).then(e=>e.default),[]),"./locales/fr/agents.json":()=>$(()=>import(`./agents-DLrh2pf6.js`).then(e=>e.default),[]),"./locales/fr/auth.json":()=>$(()=>import(`./auth-Q4DlToeS.js`).then(e=>e.default),[]),"./locales/fr/boards.json":()=>$(()=>import(`./boards-BBpjZP1x.js`).then(e=>e.default),[]),"./locales/fr/common.json":()=>$(()=>import(`./common-DSH0t9-R.js`).then(e=>e.default),[]),"./locales/fr/docs.json":()=>$(()=>import(`./docs-BrgMwu04.js`).then(e=>e.default),[]),"./locales/fr/errors.json":()=>$(()=>import(`./errors-D-bfLpWi.js`).then(e=>e.default),[]),"./locales/fr/home.json":()=>$(()=>import(`./home-CaRivmXC.js`).then(e=>e.default),[]),"./locales/fr/oauth.json":()=>$(()=>import(`./oauth-DqVF11QW.js`).then(e=>e.default),[]),"./locales/fr/projects.json":()=>$(()=>import(`./projects-BVQGJc7P.js`).then(e=>e.default),[]),"./locales/fr/settings.json":()=>$(()=>import(`./settings-CAp-i3rq.js`).then(e=>e.default),[]),"./locales/fr/shell.json":()=>$(()=>import(`./shell-a4R2bNYB.js`).then(e=>e.default),[]),"./locales/fr/vault.json":()=>$(()=>import(`./vault-CjqTbMtS.js`).then(e=>e.default),[]),"./locales/it/activity.json":()=>$(()=>import(`./activity-Cp8KuBts.js`).then(e=>e.default),[]),"./locales/it/agents.json":()=>$(()=>import(`./agents-D7tpgjuk.js`).then(e=>e.default),[]),"./locales/it/auth.json":()=>$(()=>import(`./auth-CDTfMacI.js`).then(e=>e.default),[]),"./locales/it/boards.json":()=>$(()=>import(`./boards-PfnbSN1s.js`).then(e=>e.default),[]),"./locales/it/common.json":()=>$(()=>import(`./common-DpRzCGRI.js`).then(e=>e.default),[]),"./locales/it/docs.json":()=>$(()=>import(`./docs-1w1qMhXT.js`).then(e=>e.default),[]),"./locales/it/errors.json":()=>$(()=>import(`./errors-DzGI8Yjb.js`).then(e=>e.default),[]),"./locales/it/home.json":()=>$(()=>import(`./home-taXbu6Bg.js`).then(e=>e.default),[]),"./locales/it/oauth.json":()=>$(()=>import(`./oauth-DyKo7CI7.js`).then(e=>e.default),[]),"./locales/it/projects.json":()=>$(()=>import(`./projects-CrDJIGi7.js`).then(e=>e.default),[]),"./locales/it/settings.json":()=>$(()=>import(`./settings-DOoufuYZ.js`).then(e=>e.default),[]),"./locales/it/shell.json":()=>$(()=>import(`./shell-BJoyar8n.js`).then(e=>e.default),[]),"./locales/it/vault.json":()=>$(()=>import(`./vault-CLMnyhXX.js`).then(e=>e.default),[]),"./locales/ja/activity.json":()=>$(()=>import(`./activity-CaibDu14.js`).then(e=>e.default),[]),"./locales/ja/agents.json":()=>$(()=>import(`./agents-DJ-oR1WA.js`).then(e=>e.default),[]),"./locales/ja/auth.json":()=>$(()=>import(`./auth-pmqazYZA.js`).then(e=>e.default),[]),"./locales/ja/boards.json":()=>$(()=>import(`./boards-R_TWYEXU.js`).then(e=>e.default),[]),"./locales/ja/common.json":()=>$(()=>import(`./common-CeY0FMhM.js`).then(e=>e.default),[]),"./locales/ja/docs.json":()=>$(()=>import(`./docs-BDzOa1yl.js`).then(e=>e.default),[]),"./locales/ja/errors.json":()=>$(()=>import(`./errors-CMbqK8yh.js`).then(e=>e.default),[]),"./locales/ja/home.json":()=>$(()=>import(`./home-JcVjUU4G.js`).then(e=>e.default),[]),"./locales/ja/oauth.json":()=>$(()=>import(`./oauth-Cfwu6jFm.js`).then(e=>e.default),[]),"./locales/ja/projects.json":()=>$(()=>import(`./projects-CNfl9kuI.js`).then(e=>e.default),[]),"./locales/ja/settings.json":()=>$(()=>import(`./settings-DClD_ufE.js`).then(e=>e.default),[]),"./locales/ja/shell.json":()=>$(()=>import(`./shell-FiDu6Ti9.js`).then(e=>e.default),[]),"./locales/ja/vault.json":()=>$(()=>import(`./vault-Dwv3fhwH.js`).then(e=>e.default),[]),"./locales/nl/activity.json":()=>$(()=>import(`./activity-BkftiStp.js`).then(e=>e.default),[]),"./locales/nl/agents.json":()=>$(()=>import(`./agents-COJYAQfq.js`).then(e=>e.default),[]),"./locales/nl/auth.json":()=>$(()=>import(`./auth-0IGNPo4z.js`).then(e=>e.default),[]),"./locales/nl/boards.json":()=>$(()=>import(`./boards-COhITBby.js`).then(e=>e.default),[]),"./locales/nl/common.json":()=>$(()=>import(`./common-SQxQWeOo.js`).then(e=>e.default),[]),"./locales/nl/docs.json":()=>$(()=>import(`./docs-D4GytCg-.js`).then(e=>e.default),[]),"./locales/nl/errors.json":()=>$(()=>import(`./errors-AkJTmj7k.js`).then(e=>e.default),[]),"./locales/nl/home.json":()=>$(()=>import(`./home-DT1m0uVZ.js`).then(e=>e.default),[]),"./locales/nl/oauth.json":()=>$(()=>import(`./oauth-BIEEGPBd.js`).then(e=>e.default),[]),"./locales/nl/projects.json":()=>$(()=>import(`./projects-D3eU-Jew.js`).then(e=>e.default),[]),"./locales/nl/settings.json":()=>$(()=>import(`./settings-BPFNhdWr.js`).then(e=>e.default),[]),"./locales/nl/shell.json":()=>$(()=>import(`./shell-CkAa8NM5.js`).then(e=>e.default),[]),"./locales/nl/vault.json":()=>$(()=>import(`./vault-CQVJONUp.js`).then(e=>e.default),[]),"./locales/pt/activity.json":()=>$(()=>import(`./activity-CFR4UTGM.js`).then(e=>e.default),[]),"./locales/pt/agents.json":()=>$(()=>import(`./agents-DMp1p8Qv.js`).then(e=>e.default),[]),"./locales/pt/auth.json":()=>$(()=>import(`./auth-3HBxmWgg.js`).then(e=>e.default),[]),"./locales/pt/boards.json":()=>$(()=>import(`./boards-Ctsx-Cza.js`).then(e=>e.default),[]),"./locales/pt/common.json":()=>$(()=>import(`./common-ZaFMftqj.js`).then(e=>e.default),[]),"./locales/pt/docs.json":()=>$(()=>import(`./docs-WZJP9ehA.js`).then(e=>e.default),[]),"./locales/pt/errors.json":()=>$(()=>import(`./errors-DLS7UKoD.js`).then(e=>e.default),[]),"./locales/pt/home.json":()=>$(()=>import(`./home-VZIRoQVj.js`).then(e=>e.default),[]),"./locales/pt/oauth.json":()=>$(()=>import(`./oauth-CK3lCh9i.js`).then(e=>e.default),[]),"./locales/pt/projects.json":()=>$(()=>import(`./projects-BsY2PmjV.js`).then(e=>e.default),[]),"./locales/pt/settings.json":()=>$(()=>import(`./settings-BWaFf59A.js`).then(e=>e.default),[]),"./locales/pt/shell.json":()=>$(()=>import(`./shell-BBK5NJFB.js`).then(e=>e.default),[]),"./locales/pt/vault.json":()=>$(()=>import(`./vault-BJ0YNaBV.js`).then(e=>e.default),[])}),s_=tc.filter(e=>e===`en`||Object.keys(o_).some(t=>t.startsWith(`./locales/${e}/`))),c_=e=>rc(e)&&s_.includes(e),l_=`orqevio.locale`;function u_(){try{let e=localStorage.getItem(l_);return c_(e)?e:null}catch{return null}}function d_(){let e=navigator.languages?.length?navigator.languages:[navigator.language];return u_()??ic(e,s_)??`en`}var f_={type:`backend`,init(){},read(e,t,n){let r=o_[`./locales/${e}/${t}.json`];if(!r)return n(Error(`No "${t}" catalog for "${e}"`),!1);r().then(e=>n(null,e),e=>n(e,!1))}};async function p_(){V.on(`languageChanged`,e=>{document.documentElement.lang=e}),await V.use(f_).use(As).init({lng:d_(),fallbackLng:`en`,supportedLngs:[...s_],load:`currentOnly`,ns:e_,defaultNS:`common`,resources:{en:$g},partialBundledLanguages:!0,interpolation:{escapeValue:!1},react:{useSuspense:!1}})}var m_=()=>rc(V.resolvedLanguage)?V.resolvedLanguage:`en`;async function h_(e){if(c_(e)){try{localStorage.setItem(l_,e)}catch{}V.resolvedLanguage!==e&&await V.changeLanguage(e)}}var g_=class extends Error{status;code;details;constructor(e,t,n,r){super(n),this.status=e,this.code=t,this.details=r}};async function __(e,t,n,r){let i={Accept:`application/json`},a={method:e,credentials:`same-origin`,signal:r,headers:i};n instanceof Blob?(a.body=n,i[`Content-Type`]=n.type||`application/octet-stream`,n instanceof File&&(i[Qg]=encodeURIComponent(n.name))):n!==void 0&&(i[`Content-Type`]=`application/json`,a.body=JSON.stringify(n));let o;try{o=await fetch(`/api${t}`,a)}catch(e){throw e.name===`AbortError`?e:new g_(0,`network`,`No connection to the server`)}if(o.status===204)return;let s=await o.text(),c=s?v_(s):null;if(!o.ok){let e=c?.error;throw new g_(o.status,e?.code??`error`,e?.message??o.statusText,e?.details)}return c}function v_(e){try{return JSON.parse(e)}catch{return null}}var y_=(e,t)=>__(`GET`,e,void 0,t),b_=(e,t={})=>__(`POST`,e,t),x_=(e,t)=>__(`PATCH`,e,t),S_=(e,t)=>__(`PUT`,e,t),C_=e=>__(`DELETE`,e),w_=[`invalid_access_key`,`invalid_setup_code`,`already_claimed`,`not_claimed`,`rate_limited`,`network`,`file_too_large`,`upload_incomplete`,`last_workspace`],T_=e=>w_.includes(e);function E_(e){return e instanceof g_?T_(e.code)?ss(`errors:codes.${e.code}`):e.status===404?ss(`errors:notFound`):e.status>=500?ss(`errors:server`):e.message:ss(`errors:unknown`)}var D_=new Fe({defaultOptions:{queries:{staleTime:3e4,refetchOnWindowFocus:!0,retry:(e,t)=>!(t instanceof g_&&t.status>=400&&t.status<500)&&e<2},mutations:{retry:!1}}}),O_={me:[`me`],access:[`access`],overview:e=>[`overview`,e],home:e=>[`home`,e],board:e=>[`board`,e],archived:e=>[`archived`,e],card:e=>[`card`,e],page:e=>[`page`,e],search:(e,t)=>[`search`,e,t],tokens:[`tokens`],updates:[`updates`],activity:(e,t)=>[`activity`,e,t],vault:[`vault`],vaultItems:[`vault-items`]},k_=()=>L({queryKey:O_.me,queryFn:async({signal:e})=>{let t=await y_(`/auth/session`,e);if(!t.user)throw D_.setQueryData(O_.access,t),new g_(401,`unauthorized`,`Authentication required`);return t},staleTime:6e4}),A_=({pollMs:e}={})=>L({queryKey:O_.access,queryFn:({signal:e})=>y_(`/auth/session`,e),staleTime:0,refetchInterval:e??!1}),j_=e=>L({queryKey:O_.overview(e??``),queryFn:({signal:t})=>y_(`/workspaces/${e}/overview`,t),enabled:!!e}),M_=e=>L({queryKey:O_.home(e),queryFn:({signal:t})=>y_(`/workspaces/${e}/home`,t)}),N_=e=>L({queryKey:O_.board(e),queryFn:({signal:t})=>y_(`/boards/${e}`,t)}),P_=(e,t)=>L({queryKey:O_.archived(e),queryFn:({signal:t})=>y_(`/boards/${e}/archived`,t),enabled:t}),F_=e=>L({queryKey:O_.card(e??``),queryFn:({signal:t})=>y_(`/cards/${e}`,t),enabled:!!e}),I_=e=>L({queryKey:O_.page(e),queryFn:({signal:t})=>y_(`/pages/${e}`,t),staleTime:5e3}),L_=(e,t,n)=>L({queryKey:[...O_.search(e,t),n??`all`],queryFn:({signal:r})=>y_(`/workspaces/${e}/search?q=${encodeURIComponent(t)}${n?`&type=${n}`:``}`,r),enabled:t.trim().length>=2,placeholderData:ee,staleTime:1e4}),R_=()=>L({queryKey:O_.tokens,queryFn:({signal:e})=>y_(`/tokens`,e)}),z_=36e5,B_=()=>L({queryKey:O_.updates,queryFn:({signal:e})=>y_(`/updates`,e),staleTime:z_,refetchInterval:z_,refetchOnWindowFocus:!1,retry:!1}),V_=(e,t={})=>{let n=new URLSearchParams({limit:`40`});return t.agentsOnly&&n.set(`agents`,`1`),t.tokenId&&n.set(`tokenId`,t.tokenId),L({queryKey:O_.activity(e,n.toString()),queryFn:({signal:t})=>y_(`/workspaces/${e}/activity?${n}`,t)})};export{Qa as $,qg as A,js as B,s_ as C,$ as D,p_ as E,ec as F,_s as G,Es as H,$s as I,cs as J,gs as K,zs as L,Rg as M,ac as N,Kg as O,nc as P,Za as Q,Rs as R,S_ as S,m_ as T,Cs as U,ks as V,ys as W,Vo as X,us as Y,ss as Z,C_ as _,P_ as a,Ti as at,x_ as b,M_ as c,L as ct,I_ as d,a as dt,sa as et,L_ as f,r as ft,__ as g,g_ as h,V_ as i,Si as it,zg as j,Jg as k,k_ as l,u as lt,B_ as m,D_ as n,ra as nt,N_ as o,ki as ot,R_ as p,hs as q,A_ as r,Ja as rt,F_ as s,ro as st,O_ as t,ca as tt,j_ as u,l as ut,E_ as v,h_ as w,b_ as x,y_ as y,Ps as z};
|
|
64
|
+
`,saved:`I’ve saved it somewhere safe, outside Orqevio.`,open:`Open my vault`},unlock:{title:`Vault locked`,subtitle:`Enter your master password to decrypt your logins in this browser.`,busy:`Decrypting…`,submit:`Unlock`,forgot:`Forgot your master password?`},recover:{title:`Recover the vault`,subtitle:`Use the recovery key you saved when you created the vault to choose a new master password.`,recoveryKey:`Recovery key`,recoveryKeyPlaceholder:`XXXX-XXXX-XXXX-…`,submit:`Reset and open`,noKey:`I don’t have the key`,invalidKey:`The recovery key isn’t valid.`,done:`Master password reset`},reset:{title:`Reset the vault`,description:`Without the master password or the recovery key, no one can decrypt your data, not even us. Resetting permanently deletes every item.`,accessKey:`Access key`,accessKeyHint:`Confirm it’s you with this copy’s access key (not the master password).`,submit:`Delete and reset`,done:`Vault reset. You can set it up again.`}},import:{title:`Import into the vault`,description:`The file is read and encrypted in this browser: the server only receives items that are already encrypted.`,formats:`Supports the CSV that Chrome, Edge, Firefox, and Safari export, Bitwarden’s CSV and unencrypted JSON, and encrypted Orqevio exports.`,choose:`Choose file`,fileLabel:`File to import`,tooLarge:`The file is too large (over {{size}} MB).`,problems:{empty:`The file is empty.`,unknown_format:`Orqevio doesn’t recognize this file. Use the CSV that Chrome, Edge, Firefox, or Safari export, Bitwarden’s CSV or JSON, or an Orqevio export.`,bitwarden_encrypted:`This is an encrypted Bitwarden export. Export it again as unencrypted “.json” or “.csv” and import it here.`,no_items:`The file has no logins or notes.`},encrypted_one:`This is an encrypted Orqevio export with {{count}} item. Enter the master password you had when you exported it.`,encrypted_other:`This is an encrypted Orqevio export with {{count}} items. Enter the master password you had when you exported it.`,exportPassword:`Export password`,decrypt:`Decrypt`,wrongPassword:`That’s not the password this export was made with.`,sources:{chromeOrEdge:`From Chrome or Edge:`,firefox:`From Firefox:`,safari:`From Safari:`,bitwardenCsv:`From Bitwarden (CSV):`,bitwardenJson:`From Bitwarden (JSON):`,csv:`From a CSV file:`,orqevio:`From Orqevio (encrypted):`},newLogins_one:`{{count}} new login`,newLogins_other:`{{count}} new logins`,newNotes_one:`{{count}} new note`,newNotes_other:`{{count}} new notes`,nothingNew:`Nothing new to import`,duplicates_one:`{{count}} item is already in your vault and will be skipped`,duplicates_other:`{{count}} items are already in your vault and will be skipped`,unsupported_one:`{{count}} item isn’t supported (cards or identities) and won’t be imported`,unsupported_other:`{{count}} items aren’t supported (cards or identities) and won’t be imported`,unencryptedWarning:`The file you chose isn’t encrypted: delete it from your computer when you’re done.`,chooseAnother:`Choose another`,progress:`Encrypting {{done}} of {{total}}…`,submit_one:`Import {{count}} item`,submit_other:`Import {{count}} items`,failed_one:`{{count}} item couldn’t be imported. Import the file again: items already imported will be skipped.`,failed_other:`{{count}} items couldn’t be imported. Import the file again: items already imported will be skipped.`,done_one:`{{count}} item imported`,done_other:`{{count}} items imported`,locked:`The vault locked before the import finished. Unlock it and import the file again: anything already imported will be skipped.`,untitledNote:`Note`,untitledLogin:`Untitled`,damaged:`This export is damaged and can’t be read.`},export:{title:`Export the vault`,description:`Download all your items as a file, prepared in this browser.`,kind:`Export type`,kinds:{encrypted:`Encrypted`,plain:`Unencrypted`},encryptedInfo:`Only your current master password opens it. Use it as a backup or to move your items to another copy of Orqevio.`,plainInfo:`In Bitwarden’s JSON format, which most password managers can import. Anyone who has the file can read it.`,understood:`I understand the file isn’t encrypted and that anyone who has it can read all my passwords.`,submitPlain:`Export unencrypted`,submitEncrypted:`Export encrypted`,fileNameEncrypted:`orqevio-vault-encrypted-{{date}}.json`,fileNamePlain:`orqevio-vault-unencrypted-{{date}}.json`,done_one:`{{count}} item exported`,done_other:`{{count}} items exported`,tooLarge:`The export is larger than {{size}} MB: Orqevio won’t be able to import it.`}}},e_=Object.keys($g),t_=`modulepreload`,n_=function(e){return`/`+e},r_={},i_=function(e){return e.pathname.endsWith(`.css`)},a_=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},$=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=n_(t,n);let r=s(t),i=i_(r);return a_(r_,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:t_,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{let i=a=>{t.removeEventListener(`load`,i),t.removeEventListener(`error`,i),a.type===`error`?n(Error(`Unable to preload CSS for ${r}`)):e(a)};t.addEventListener(`load`,i),t.addEventListener(`error`,i)})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},o_=Object.assign({"./locales/de/activity.json":()=>$(()=>import(`./activity-BHGI6Z2D.js`).then(e=>e.default),[]),"./locales/de/agents.json":()=>$(()=>import(`./agents-B2XabUwG.js`).then(e=>e.default),[]),"./locales/de/auth.json":()=>$(()=>import(`./auth-DXyQ1sR9.js`).then(e=>e.default),[]),"./locales/de/boards.json":()=>$(()=>import(`./boards-BTpgk9Fd.js`).then(e=>e.default),[]),"./locales/de/common.json":()=>$(()=>import(`./common-ChyM3qEm.js`).then(e=>e.default),[]),"./locales/de/docs.json":()=>$(()=>import(`./docs-lc4Fuqxy.js`).then(e=>e.default),[]),"./locales/de/errors.json":()=>$(()=>import(`./errors-DJVH_VFT.js`).then(e=>e.default),[]),"./locales/de/home.json":()=>$(()=>import(`./home-DMs617rt.js`).then(e=>e.default),[]),"./locales/de/oauth.json":()=>$(()=>import(`./oauth-BqnFE4AA.js`).then(e=>e.default),[]),"./locales/de/projects.json":()=>$(()=>import(`./projects--t9VhdYF.js`).then(e=>e.default),[]),"./locales/de/settings.json":()=>$(()=>import(`./settings-DN08srMi.js`).then(e=>e.default),[]),"./locales/de/shell.json":()=>$(()=>import(`./shell-BJfYCj5Q.js`).then(e=>e.default),[]),"./locales/de/vault.json":()=>$(()=>import(`./vault-DzWE-kQx.js`).then(e=>e.default),[]),"./locales/es/activity.json":()=>$(()=>import(`./activity-C7wpXysw.js`).then(e=>e.default),[]),"./locales/es/agents.json":()=>$(()=>import(`./agents-D_gfLGIh.js`).then(e=>e.default),[]),"./locales/es/auth.json":()=>$(()=>import(`./auth-SCXskweB.js`).then(e=>e.default),[]),"./locales/es/boards.json":()=>$(()=>import(`./boards-BWeP1yma.js`).then(e=>e.default),[]),"./locales/es/common.json":()=>$(()=>import(`./common-kLH8MGZF.js`).then(e=>e.default),[]),"./locales/es/docs.json":()=>$(()=>import(`./docs-CMM1mWDN.js`).then(e=>e.default),[]),"./locales/es/errors.json":()=>$(()=>import(`./errors-BGvYEtI3.js`).then(e=>e.default),[]),"./locales/es/home.json":()=>$(()=>import(`./home-tJQGjAOo.js`).then(e=>e.default),[]),"./locales/es/oauth.json":()=>$(()=>import(`./oauth-B5NFSQMb.js`).then(e=>e.default),[]),"./locales/es/projects.json":()=>$(()=>import(`./projects-aUO3NoCx.js`).then(e=>e.default),[]),"./locales/es/settings.json":()=>$(()=>import(`./settings-zS8H2ZNY.js`).then(e=>e.default),[]),"./locales/es/shell.json":()=>$(()=>import(`./shell-BiFljnPL.js`).then(e=>e.default),[]),"./locales/es/vault.json":()=>$(()=>import(`./vault-ShnECcLf.js`).then(e=>e.default),[]),"./locales/fr/activity.json":()=>$(()=>import(`./activity-ayIU9KmV.js`).then(e=>e.default),[]),"./locales/fr/agents.json":()=>$(()=>import(`./agents-DLrh2pf6.js`).then(e=>e.default),[]),"./locales/fr/auth.json":()=>$(()=>import(`./auth-CWjUpxax.js`).then(e=>e.default),[]),"./locales/fr/boards.json":()=>$(()=>import(`./boards-BBpjZP1x.js`).then(e=>e.default),[]),"./locales/fr/common.json":()=>$(()=>import(`./common-DSH0t9-R.js`).then(e=>e.default),[]),"./locales/fr/docs.json":()=>$(()=>import(`./docs-BrgMwu04.js`).then(e=>e.default),[]),"./locales/fr/errors.json":()=>$(()=>import(`./errors-DACTZxtE.js`).then(e=>e.default),[]),"./locales/fr/home.json":()=>$(()=>import(`./home-CaRivmXC.js`).then(e=>e.default),[]),"./locales/fr/oauth.json":()=>$(()=>import(`./oauth-DqVF11QW.js`).then(e=>e.default),[]),"./locales/fr/projects.json":()=>$(()=>import(`./projects-BVQGJc7P.js`).then(e=>e.default),[]),"./locales/fr/settings.json":()=>$(()=>import(`./settings-CAp-i3rq.js`).then(e=>e.default),[]),"./locales/fr/shell.json":()=>$(()=>import(`./shell-a4R2bNYB.js`).then(e=>e.default),[]),"./locales/fr/vault.json":()=>$(()=>import(`./vault-CjqTbMtS.js`).then(e=>e.default),[]),"./locales/it/activity.json":()=>$(()=>import(`./activity-Cp8KuBts.js`).then(e=>e.default),[]),"./locales/it/agents.json":()=>$(()=>import(`./agents-D7tpgjuk.js`).then(e=>e.default),[]),"./locales/it/auth.json":()=>$(()=>import(`./auth-CqESesWQ.js`).then(e=>e.default),[]),"./locales/it/boards.json":()=>$(()=>import(`./boards-PfnbSN1s.js`).then(e=>e.default),[]),"./locales/it/common.json":()=>$(()=>import(`./common-DpRzCGRI.js`).then(e=>e.default),[]),"./locales/it/docs.json":()=>$(()=>import(`./docs-1w1qMhXT.js`).then(e=>e.default),[]),"./locales/it/errors.json":()=>$(()=>import(`./errors-y3K623sq.js`).then(e=>e.default),[]),"./locales/it/home.json":()=>$(()=>import(`./home-taXbu6Bg.js`).then(e=>e.default),[]),"./locales/it/oauth.json":()=>$(()=>import(`./oauth-DyKo7CI7.js`).then(e=>e.default),[]),"./locales/it/projects.json":()=>$(()=>import(`./projects-CrDJIGi7.js`).then(e=>e.default),[]),"./locales/it/settings.json":()=>$(()=>import(`./settings-DOoufuYZ.js`).then(e=>e.default),[]),"./locales/it/shell.json":()=>$(()=>import(`./shell-BJoyar8n.js`).then(e=>e.default),[]),"./locales/it/vault.json":()=>$(()=>import(`./vault-CLMnyhXX.js`).then(e=>e.default),[]),"./locales/ja/activity.json":()=>$(()=>import(`./activity-CaibDu14.js`).then(e=>e.default),[]),"./locales/ja/agents.json":()=>$(()=>import(`./agents-DJ-oR1WA.js`).then(e=>e.default),[]),"./locales/ja/auth.json":()=>$(()=>import(`./auth-C58Nm5w2.js`).then(e=>e.default),[]),"./locales/ja/boards.json":()=>$(()=>import(`./boards-R_TWYEXU.js`).then(e=>e.default),[]),"./locales/ja/common.json":()=>$(()=>import(`./common-CeY0FMhM.js`).then(e=>e.default),[]),"./locales/ja/docs.json":()=>$(()=>import(`./docs-BDzOa1yl.js`).then(e=>e.default),[]),"./locales/ja/errors.json":()=>$(()=>import(`./errors-_k7icfYU.js`).then(e=>e.default),[]),"./locales/ja/home.json":()=>$(()=>import(`./home-JcVjUU4G.js`).then(e=>e.default),[]),"./locales/ja/oauth.json":()=>$(()=>import(`./oauth-Cfwu6jFm.js`).then(e=>e.default),[]),"./locales/ja/projects.json":()=>$(()=>import(`./projects-CNfl9kuI.js`).then(e=>e.default),[]),"./locales/ja/settings.json":()=>$(()=>import(`./settings-DClD_ufE.js`).then(e=>e.default),[]),"./locales/ja/shell.json":()=>$(()=>import(`./shell-FiDu6Ti9.js`).then(e=>e.default),[]),"./locales/ja/vault.json":()=>$(()=>import(`./vault-Dwv3fhwH.js`).then(e=>e.default),[]),"./locales/nl/activity.json":()=>$(()=>import(`./activity-BkftiStp.js`).then(e=>e.default),[]),"./locales/nl/agents.json":()=>$(()=>import(`./agents-COJYAQfq.js`).then(e=>e.default),[]),"./locales/nl/auth.json":()=>$(()=>import(`./auth-BINwoLLL.js`).then(e=>e.default),[]),"./locales/nl/boards.json":()=>$(()=>import(`./boards-COhITBby.js`).then(e=>e.default),[]),"./locales/nl/common.json":()=>$(()=>import(`./common-SQxQWeOo.js`).then(e=>e.default),[]),"./locales/nl/docs.json":()=>$(()=>import(`./docs-D4GytCg-.js`).then(e=>e.default),[]),"./locales/nl/errors.json":()=>$(()=>import(`./errors-CZ1BX441.js`).then(e=>e.default),[]),"./locales/nl/home.json":()=>$(()=>import(`./home-DT1m0uVZ.js`).then(e=>e.default),[]),"./locales/nl/oauth.json":()=>$(()=>import(`./oauth-BIEEGPBd.js`).then(e=>e.default),[]),"./locales/nl/projects.json":()=>$(()=>import(`./projects-D3eU-Jew.js`).then(e=>e.default),[]),"./locales/nl/settings.json":()=>$(()=>import(`./settings-BPFNhdWr.js`).then(e=>e.default),[]),"./locales/nl/shell.json":()=>$(()=>import(`./shell-CkAa8NM5.js`).then(e=>e.default),[]),"./locales/nl/vault.json":()=>$(()=>import(`./vault-CQVJONUp.js`).then(e=>e.default),[]),"./locales/pt/activity.json":()=>$(()=>import(`./activity-CFR4UTGM.js`).then(e=>e.default),[]),"./locales/pt/agents.json":()=>$(()=>import(`./agents-DMp1p8Qv.js`).then(e=>e.default),[]),"./locales/pt/auth.json":()=>$(()=>import(`./auth-ByK78s7m.js`).then(e=>e.default),[]),"./locales/pt/boards.json":()=>$(()=>import(`./boards-Ctsx-Cza.js`).then(e=>e.default),[]),"./locales/pt/common.json":()=>$(()=>import(`./common-ZaFMftqj.js`).then(e=>e.default),[]),"./locales/pt/docs.json":()=>$(()=>import(`./docs-WZJP9ehA.js`).then(e=>e.default),[]),"./locales/pt/errors.json":()=>$(()=>import(`./errors-D6cvqHzs.js`).then(e=>e.default),[]),"./locales/pt/home.json":()=>$(()=>import(`./home-VZIRoQVj.js`).then(e=>e.default),[]),"./locales/pt/oauth.json":()=>$(()=>import(`./oauth-CK3lCh9i.js`).then(e=>e.default),[]),"./locales/pt/projects.json":()=>$(()=>import(`./projects-BsY2PmjV.js`).then(e=>e.default),[]),"./locales/pt/settings.json":()=>$(()=>import(`./settings-BWaFf59A.js`).then(e=>e.default),[]),"./locales/pt/shell.json":()=>$(()=>import(`./shell-BBK5NJFB.js`).then(e=>e.default),[]),"./locales/pt/vault.json":()=>$(()=>import(`./vault-BJ0YNaBV.js`).then(e=>e.default),[])}),s_=tc.filter(e=>e===`en`||Object.keys(o_).some(t=>t.startsWith(`./locales/${e}/`))),c_=e=>rc(e)&&s_.includes(e),l_=`orqevio.locale`;function u_(){try{let e=localStorage.getItem(l_);return c_(e)?e:null}catch{return null}}function d_(){let e=navigator.languages?.length?navigator.languages:[navigator.language];return u_()??ic(e,s_)??`en`}var f_={type:`backend`,init(){},read(e,t,n){let r=o_[`./locales/${e}/${t}.json`];if(!r)return n(Error(`No "${t}" catalog for "${e}"`),!1);r().then(e=>n(null,e),e=>n(e,!1))}};async function p_(){V.on(`languageChanged`,e=>{document.documentElement.lang=e}),await V.use(f_).use(As).init({lng:d_(),fallbackLng:`en`,supportedLngs:[...s_],load:`currentOnly`,ns:e_,defaultNS:`common`,resources:{en:$g},partialBundledLanguages:!0,interpolation:{escapeValue:!1},react:{useSuspense:!1}})}var m_=()=>rc(V.resolvedLanguage)?V.resolvedLanguage:`en`;async function h_(e){if(c_(e)){try{localStorage.setItem(l_,e)}catch{}V.resolvedLanguage!==e&&await V.changeLanguage(e)}}var g_=class extends Error{status;code;details;constructor(e,t,n,r){super(n),this.status=e,this.code=t,this.details=r}};async function __(e,t,n,r){let i={Accept:`application/json`},a={method:e,credentials:`same-origin`,signal:r,headers:i};n instanceof Blob?(a.body=n,i[`Content-Type`]=n.type||`application/octet-stream`,n instanceof File&&(i[Qg]=encodeURIComponent(n.name))):n!==void 0&&(i[`Content-Type`]=`application/json`,a.body=JSON.stringify(n));let o;try{o=await fetch(`/api${t}`,a)}catch(e){throw e.name===`AbortError`?e:new g_(0,`network`,`No connection to the server`)}if(o.status===204)return;let s=await o.text(),c=s?v_(s):null;if(!o.ok){let e=c?.error;throw new g_(o.status,e?.code??`error`,e?.message??o.statusText,e?.details)}return c}function v_(e){try{return JSON.parse(e)}catch{return null}}var y_=(e,t)=>__(`GET`,e,void 0,t),b_=(e,t={})=>__(`POST`,e,t),x_=(e,t)=>__(`PATCH`,e,t),S_=(e,t)=>__(`PUT`,e,t),C_=e=>__(`DELETE`,e),w_=[`invalid_access_key`,`invalid_setup_code`,`recovery_not_ready`,`already_claimed`,`not_claimed`,`rate_limited`,`network`,`file_too_large`,`upload_incomplete`,`last_workspace`],T_=e=>w_.includes(e);function E_(e){return e instanceof g_?T_(e.code)?ss(`errors:codes.${e.code}`):e.status===404?ss(`errors:notFound`):e.status>=500?ss(`errors:server`):e.message:ss(`errors:unknown`)}var D_=new Fe({defaultOptions:{queries:{staleTime:3e4,refetchOnWindowFocus:!0,retry:(e,t)=>!(t instanceof g_&&t.status>=400&&t.status<500)&&e<2},mutations:{retry:!1}}}),O_={me:[`me`],access:[`access`],overview:e=>[`overview`,e],home:e=>[`home`,e],board:e=>[`board`,e],archived:e=>[`archived`,e],card:e=>[`card`,e],page:e=>[`page`,e],search:(e,t)=>[`search`,e,t],tokens:[`tokens`],updates:[`updates`],activity:(e,t)=>[`activity`,e,t],vault:[`vault`],vaultItems:[`vault-items`]},k_=()=>L({queryKey:O_.me,queryFn:async({signal:e})=>{let t=await y_(`/auth/session`,e);if(!t.user)throw D_.setQueryData(O_.access,t),new g_(401,`unauthorized`,`Authentication required`);return t},staleTime:6e4}),A_=()=>L({queryKey:O_.access,queryFn:({signal:e})=>y_(`/auth/session`,e),staleTime:0}),j_=e=>L({queryKey:O_.overview(e??``),queryFn:({signal:t})=>y_(`/workspaces/${e}/overview`,t),enabled:!!e}),M_=e=>L({queryKey:O_.home(e),queryFn:({signal:t})=>y_(`/workspaces/${e}/home`,t)}),N_=e=>L({queryKey:O_.board(e),queryFn:({signal:t})=>y_(`/boards/${e}`,t)}),P_=(e,t)=>L({queryKey:O_.archived(e),queryFn:({signal:t})=>y_(`/boards/${e}/archived`,t),enabled:t}),F_=e=>L({queryKey:O_.card(e??``),queryFn:({signal:t})=>y_(`/cards/${e}`,t),enabled:!!e}),I_=e=>L({queryKey:O_.page(e),queryFn:({signal:t})=>y_(`/pages/${e}`,t),staleTime:5e3}),L_=(e,t,n)=>L({queryKey:[...O_.search(e,t),n??`all`],queryFn:({signal:r})=>y_(`/workspaces/${e}/search?q=${encodeURIComponent(t)}${n?`&type=${n}`:``}`,r),enabled:t.trim().length>=2,placeholderData:ee,staleTime:1e4}),R_=()=>L({queryKey:O_.tokens,queryFn:({signal:e})=>y_(`/tokens`,e)}),z_=36e5,B_=()=>L({queryKey:O_.updates,queryFn:({signal:e})=>y_(`/updates`,e),staleTime:z_,refetchInterval:z_,refetchOnWindowFocus:!1,retry:!1}),V_=(e,t={})=>{let n=new URLSearchParams({limit:`40`});return t.agentsOnly&&n.set(`agents`,`1`),t.tokenId&&n.set(`tokenId`,t.tokenId),L({queryKey:O_.activity(e,n.toString()),queryFn:({signal:t})=>y_(`/workspaces/${e}/activity?${n}`,t)})};export{Qa as $,qg as A,js as B,s_ as C,$ as D,p_ as E,ec as F,_s as G,Es as H,$s as I,cs as J,gs as K,zs as L,Rg as M,ac as N,Kg as O,nc as P,Za as Q,Rs as R,S_ as S,m_ as T,Cs as U,ks as V,ys as W,Vo as X,us as Y,ss as Z,C_ as _,P_ as a,Ti as at,x_ as b,M_ as c,L as ct,I_ as d,a as dt,sa as et,L_ as f,r as ft,__ as g,g_ as h,V_ as i,Si as it,zg as j,Jg as k,k_ as l,u as lt,B_ as m,D_ as n,ra as nt,N_ as o,ki as ot,R_ as p,hs as q,A_ as r,Ja as rt,F_ as s,ro as st,O_ as t,ca as tt,j_ as u,l as ut,E_ as v,h_ as w,b_ as x,y_ as y,Ps as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{ft as t,n,t as r}from"./queries-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{ft as t,n,t as r}from"./queries-B6zKoYoh.js";var i={sessionEnded:4401,noAccess:4403},a=e(t(),1),o=new Map,s=new Set,c=0,l=0;function u(){c++;for(let e of s)e()}function d(e,t){o.set(e,{name:t,until:Date.now()+4500}),l=Date.now(),u(),setTimeout(()=>{let t=o.get(e);t&&t.until<=Date.now()&&(o.delete(e),u())},4600)}var f=e=>(s.add(e),()=>{s.delete(e)});function p(e){(0,a.useSyncExternalStore)(f,()=>c);let t=o.get(e);return t&&t.until>Date.now()?t.name:null}function m(){return(0,a.useSyncExternalStore)(f,()=>c),Date.now()-l<6e3}var h=new Set;function g(e){return h.add(e),()=>{h.delete(e)}}var _=null,v=e=>{_=e};function y(e,t,i){let a=t.actor.kind===`user`&&t.actor.id===i;if(t.boardId&&(n.invalidateQueries({queryKey:r.board(t.boardId)}),n.invalidateQueries({queryKey:r.archived(t.boardId)})),t.cardId&&n.invalidateQueries({queryKey:r.card(t.cardId)}),t.pageId){for(let e of h)e(t);t.cardId&&n.invalidateQueries({queryKey:r.page(t.pageId)})}return t.structure&&n.invalidateQueries({queryKey:r.overview(e)}),n.invalidateQueries({queryKey:r.home(e)}),n.invalidateQueries({queryKey:[`activity`,e]}),t.actor.kind===`agent`&&(t.cardId&&d(t.cardId,t.actor.name),t.pageId&&d(t.pageId,t.actor.name),_?.(t)),a}var b=25e3,x=1e4;function S(e,t){(0,a.useEffect)(()=>{if(!e||!t)return;let a=null,o,s,c,l=0,u=!1,d=()=>{clearInterval(s),clearTimeout(c)},f=()=>{let p=`${window.location.protocol===`https:`?`wss`:`ws`}://${window.location.host}/api/workspaces/${e}/live`,m=new WebSocket(p);a=m,m.onmessage=r=>{if(r.data===`pong`)clearTimeout(c);else try{let i=JSON.parse(String(r.data));i.type===`ready`?(l>0&&n.invalidateQueries(),l=0):i.type===`change`&&y(e,i.event,t)}catch(e){console.error(`Invalid realtime message`,e)}},m.onopen=()=>{s=setInterval(()=>{m.readyState===WebSocket.OPEN&&(m.send(`ping`),clearTimeout(c),c=setTimeout(()=>m.close(),x))},b)},m.onclose=e=>{d(),u||((e.code===i.sessionEnded||e.code===i.noAccess)&&n.invalidateQueries({queryKey:r.me}),l++,o=setTimeout(f,Math.min(1e3*2**l,2e4)))}};return f(),()=>{u=!0,clearTimeout(o),d();let e=a;e?.readyState===WebSocket.CONNECTING?(e.onmessage=null,e.onopen=()=>e.close()):e?.close()}},[e,t])}export{S as a,m as i,v as n,p as r,g as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{I as e}from"./queries-
|
|
1
|
+
import{I as e}from"./queries-B6zKoYoh.js";var t={name:`search`,size:24,node:[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]};t.node;var n=e(t);export{n as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{ft as t}from"./queries-
|
|
1
|
+
import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{ft as t}from"./queries-B6zKoYoh.js";var n=e(t(),1),r={key:null,userId:null,items:[],autoLockMinutes:15,lastActivity:Date.now()},i=new Set,a=null;function o(){for(let e of i)e()}var s=e=>(i.add(e),()=>i.delete(e)),c=()=>{r.lastActivity=Date.now()};function l(e,t,n,i){r={key:e,userId:t,items:n,autoLockMinutes:i,lastActivity:Date.now()},window.addEventListener(`pointerdown`,c,{passive:!0}),window.addEventListener(`keydown`,c,{passive:!0}),a??=setInterval(()=>{r.key&&Date.now()-r.lastActivity>r.autoLockMinutes*6e4?u():o()},1e3),o()}function u(){r={key:null,userId:null,items:[],autoLockMinutes:r.autoLockMinutes,lastActivity:Date.now()},window.removeEventListener(`pointerdown`,c),window.removeEventListener(`keydown`,c),a&&clearInterval(a),a=null,o()}function d(e,t){return r.key===e&&(r={...r,items:t(r.items)},o(),!0)}function f(e){r={...r,autoLockMinutes:e},o()}var p=()=>r;function m(){return(0,n.useSyncExternalStore)(s,()=>r)}function h(){return(0,n.useSyncExternalStore)(s,()=>r.key===null)}function g(){return(0,n.useSyncExternalStore)(s,()=>Math.floor(Date.now()/1e3)),r.key?Math.max(0,Math.round((r.lastActivity+r.autoLockMinutes*6e4-Date.now())/1e3)):0}export{d as a,m as c,l as i,u as n,g as o,f as r,h as s,p as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{I as e}from"./queries-
|
|
1
|
+
import{I as e}from"./queries-B6zKoYoh.js";var t={name:`shield-check`,size:24,node:[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]};t.node;var n=e(t),r={name:`shield-exclamation-point`,size:24,node:[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`M12 8v4`,key:`1got3b`}],[`path`,{d:`M12 16h.01`,key:`1drbdi`}]],aliases:[`shield-alert`]};r.node;var i=e(r);export{n,i as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{I as e}from"./queries-
|
|
1
|
+
import{I as e}from"./queries-B6zKoYoh.js";var t={name:`file-text`,size:24,node:[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]};t.node;var n=e(t),r={name:`square-kanban`,size:24,node:[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}],[`path`,{d:`M8 7v7`,key:`1x2jlm`}],[`path`,{d:`M12 7v4`,key:`xawao1`}],[`path`,{d:`M16 7v9`,key:`1hp2iy`}]],aliases:[`kanban-square`]};r.node;var i=e(r);export{n,i as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{I as e}from"./queries-
|
|
1
|
+
import{I as e}from"./queries-B6zKoYoh.js";var t={name:`trash`,size:24,node:[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]],aliases:[`trash-2`]};t.node;var n=e(t);export{n as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{I as e}from"./queries-
|
|
1
|
+
import{I as e}from"./queries-B6zKoYoh.js";var t={name:`triangle-exclamation-point`,size:24,node:[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]],aliases:[`alert-triangle`,`triangle-alert`]};t.node;var n=e(t);export{n as t};
|