morpheus-cli 0.9.33 → 0.9.41
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/channels/telegram.js +1 -1
- package/dist/cli/commands/start.js +7 -0
- package/dist/config/paths.js +1 -0
- package/dist/config/schemas.js +7 -0
- package/dist/http/api.js +5 -0
- package/dist/http/routers/model-presets.js +169 -0
- package/dist/http/routers/oauth.js +93 -0
- package/dist/http/server.js +4 -0
- package/dist/runtime/memory/sqlite.js +96 -19
- package/dist/runtime/oauth/manager.js +218 -0
- package/dist/runtime/oauth/provider.js +90 -0
- package/dist/runtime/oauth/store.js +118 -0
- package/dist/runtime/oauth/types.js +1 -0
- package/dist/runtime/providers/factory.js +93 -1
- package/dist/runtime/tools/cache.js +66 -47
- package/dist/ui/assets/{AuditDashboard-rap15I-4.js → AuditDashboard-EvtKjy5H.js} +1 -1
- package/dist/ui/assets/{Chat-CnuRZFBT.js → Chat-yptierPt.js} +3 -3
- package/dist/ui/assets/{Chronos-C81_HP6e.js → Chronos-BA77MYbp.js} +1 -1
- package/dist/ui/assets/{ConfirmationModal-CT_v8cAi.js → ConfirmationModal-NOZr-ipQ.js} +1 -1
- package/dist/ui/assets/{Dashboard-0VfNJ9BZ.js → Dashboard-ly1MJiB4.js} +1 -1
- package/dist/ui/assets/{DeleteConfirmationModal-P2foiqon.js → DeleteConfirmationModal-2HMraacH.js} +1 -1
- package/dist/ui/assets/{Documents-C8UfbcGD.js → Documents-C31fAm0Z.js} +2 -2
- package/dist/ui/assets/{Logs-qdsCW9u9.js → Logs-BiajoLAB.js} +1 -1
- package/dist/ui/assets/{MCPManager-CaZLnrKz.js → MCPManager-DS9jfiZT.js} +1 -1
- package/dist/ui/assets/ModelPresets-CxhKcalw.js +1 -0
- package/dist/ui/assets/{ModelPricing-C73OfGhc.js → ModelPricing-CN8flHnP.js} +1 -1
- package/dist/ui/assets/{Notifications-CwqeagwF.js → Notifications-BfP1_CM3.js} +1 -1
- package/dist/ui/assets/{Pagination-3P6KG-u6.js → Pagination-Doam4_qd.js} +1 -1
- package/dist/ui/assets/SatiMemories-Bk4_ubo7.js +1 -0
- package/dist/ui/assets/{SessionAudit-Cykp4Sv_.js → SessionAudit-D3E6QSQw.js} +2 -2
- package/dist/ui/assets/Settings-3VBK8muv.js +49 -0
- package/dist/ui/assets/{Skills-B6io4GZh.js → Skills-Dp0_GwiW.js} +1 -1
- package/dist/ui/assets/{Smiths-XoDzX1K0.js → Smiths-COTgI2R4.js} +1 -1
- package/dist/ui/assets/{Tasks-vui0C_76.js → Tasks-COe4lIJ7.js} +1 -1
- package/dist/ui/assets/{TrinityDatabases-Dp71dyUn.js → TrinityDatabases-BEU4mmyW.js} +1 -1
- package/dist/ui/assets/{UsageStats-Dz4LXfr4.js → UsageStats-BTmDeG2V.js} +1 -1
- package/dist/ui/assets/{WebhookManager-CC4Mbo2v.js → WebhookManager-FQVyKyW-.js} +2 -2
- package/dist/ui/assets/{agents-DV1oGA7P.js → agents-B6e9N0QI.js} +1 -1
- package/dist/ui/assets/{audit-DnegNntR.js → audit-giQG2WRk.js} +1 -1
- package/dist/ui/assets/{chronos-BDlP8kzg.js → chronos-sweaRcNj.js} +1 -1
- package/dist/ui/assets/{config-BhjCL4aM.js → config-CbUdj76n.js} +1 -1
- package/dist/ui/assets/index-CRPT77Yo.css +1 -0
- package/dist/ui/assets/{index-C3qfojVn.js → index-yu2c4ry1.js} +7 -7
- package/dist/ui/assets/{mcp-uYhIyjyx.js → mcp-v64BBpUk.js} +1 -1
- package/dist/ui/assets/modelPresets-BaNh-gxn.js +1 -0
- package/dist/ui/assets/{skills-_9hplz7d.js → skills-ClRXBlVt.js} +1 -1
- package/dist/ui/assets/{stats-BwaWi9yN.js → stats-nI-89hEX.js} +1 -1
- package/dist/ui/assets/{useCurrency-RBarItCC.js → useCurrency-D5An8I2f.js} +1 -1
- package/dist/ui/assets/vendor-icons-LSkmAkBj.js +1 -0
- package/dist/ui/index.html +3 -3
- package/dist/ui/sw.js +1 -1
- package/package.json +1 -1
- package/dist/ui/assets/SatiMemories-CVhOdyAk.js +0 -1
- package/dist/ui/assets/Settings-DnyG6tDx.js +0 -49
- package/dist/ui/assets/index-gx__iEcl.css +0 -1
- package/dist/ui/assets/vendor-icons-tocJCdt5.js +0 -1
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import{j as i}from"./vendor-motion-C3CZ8ZlO.js";import{r as I}from"./vendor-react-DikRIOlj.js";import{t as jr,u as ce,Z as Sr,m as ue}from"./vendor-utils-BIYveU_1.js";import{u as Nr,c as Cr}from"./chronos-BDlP8kzg.js";import{T as k,S as F}from"./SelectInput-BPDcd3y7.js";import{N as O,S as Q}from"./Switch-C7TxLq0E.js";import{c as ee}from"./config-BhjCL4aM.js";import{h as Ye}from"./index-C3qfojVn.js";import{C as Or}from"./ConfirmationModal-CT_v8cAi.js";import{d as $r,X as Ar,V as Tr}from"./vendor-icons-tocJCdt5.js";function J({title:e,description:t,children:r}){return i.jsxs("div",{className:"border border-azure-border dark:border-matrix-primary rounded-lg p-6 bg-azure-surface/50 dark:bg-matrix-base/50",children:[i.jsxs("div",{className:"mb-4",children:[i.jsx("h3",{className:"text-lg font-medium text-azure-text-primary dark:text-matrix-highlight",children:e}),t&&i.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mt-1",children:t})]}),i.jsx("div",{className:"space-y-4",children:r})]})}function Ge({label:e,error:t,helperText:r,className:n,...a}){return i.jsxs("div",{className:"flex flex-col gap-1.5",children:[i.jsx("label",{className:"text-sm font-medium text-azure-text-primary/80 dark:text-matrix-secondary",children:e}),i.jsx("textarea",{className:jr("bg-azure-bg dark:bg-black border border-azure-border dark:border-matrix-primary text-azure-text-primary dark:text-matrix-secondary placeholder-azure-text-secondary/50 dark:placeholder-matrix-secondary/50 rounded-md px-3 py-2 text-sm focus:outline-none focus:ring-1 focus:ring-azure-primary dark:focus:ring-matrix-highlight focus:border-azure-primary dark:focus:border-matrix-highlight transition-colors resize-y min-h-[80px]",t&&"border-red-500 focus:border-red-500 focus:ring-red-500",n),rows:10,...a}),r&&!t&&i.jsx("p",{className:"text-xs text-azure-text-secondary dark:text-matrix-secondary",children:r}),t&&i.jsx("p",{className:"text-xs text-red-500",children:t})]})}function m(e,t,r){function n(c,d){if(c._zod||Object.defineProperty(c,"_zod",{value:{def:d,constr:o,traits:new Set},enumerable:!1}),c._zod.traits.has(e))return;c._zod.traits.add(e),t(c,d);const p=o.prototype,f=Object.keys(p);for(let h=0;h<f.length;h++){const u=f[h];u in c||(c[u]=p[u].bind(c))}}const a=r?.Parent??Object;class s extends a{}Object.defineProperty(s,"name",{value:e});function o(c){var d;const p=r?.Parent?new s:this;n(p,c),(d=p._zod).deferred??(d.deferred=[]);for(const f of p._zod.deferred)f();return p}return Object.defineProperty(o,"init",{value:n}),Object.defineProperty(o,Symbol.hasInstance,{value:c=>r?.Parent&&c instanceof r.Parent?!0:c?._zod?.traits?.has(e)}),Object.defineProperty(o,"name",{value:e}),o}class ke extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class Et extends Error{constructor(t){super(`Encountered unidirectional transform during encode: ${t}`),this.name="ZodEncodeError"}}const It={};function de(e){return It}function Pt(e){const t=Object.values(e).filter(n=>typeof n=="number");return Object.entries(e).filter(([n,a])=>t.indexOf(+n)===-1).map(([n,a])=>a)}function Xe(e,t){return typeof t=="bigint"?t.toString():t}function Le(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function tt(e){return e==null}function rt(e){const t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function Zr(e,t){const r=(e.toString().split(".")[1]||"").length,n=t.toString();let a=(n.split(".")[1]||"").length;if(a===0&&/\d?e-\d?/.test(n)){const d=n.match(/\d?e-(\d?)/);d?.[1]&&(a=Number.parseInt(d[1]))}const s=r>a?r:a,o=Number.parseInt(e.toFixed(s).replace(".","")),c=Number.parseInt(t.toFixed(s).replace(".",""));return o%c/10**s}const dt=Symbol("evaluating");function S(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==dt)return n===void 0&&(n=dt,n=r()),n},set(a){Object.defineProperty(e,t,{value:a})},configurable:!0})}function ge(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function pe(...e){const t={};for(const r of e){const n=Object.getOwnPropertyDescriptors(r);Object.assign(t,n)}return Object.defineProperties({},t)}function mt(e){return JSON.stringify(e)}function Er(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,"")}const Rt="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function Ae(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}const Ir=Le(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{const e=Function;return new e(""),!0}catch{return!1}});function we(e){if(Ae(e)===!1)return!1;const t=e.constructor;if(t===void 0||typeof t!="function")return!0;const r=t.prototype;return!(Ae(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function Dt(e){return we(e)?{...e}:Array.isArray(e)?[...e]:e}const Pr=new Set(["string","number","symbol"]);function ze(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function fe(e,t,r){const n=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(n._zod.parent=e),n}function g(e){const t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function Rr(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}const Dr={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function Mr(e,t){const r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(".pick() cannot be used on object schemas containing refinements");const s=pe(e._zod.def,{get shape(){const o={};for(const c in t){if(!(c in r.shape))throw new Error(`Unrecognized key: "${c}"`);t[c]&&(o[c]=r.shape[c])}return ge(this,"shape",o),o},checks:[]});return fe(e,s)}function Ur(e,t){const r=e._zod.def,n=r.checks;if(n&&n.length>0)throw new Error(".omit() cannot be used on object schemas containing refinements");const s=pe(e._zod.def,{get shape(){const o={...e._zod.def.shape};for(const c in t){if(!(c in r.shape))throw new Error(`Unrecognized key: "${c}"`);t[c]&&delete o[c]}return ge(this,"shape",o),o},checks:[]});return fe(e,s)}function Lr(e,t){if(!we(t))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0){const s=e._zod.def.shape;for(const o in t)if(Object.getOwnPropertyDescriptor(s,o)!==void 0)throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}const a=pe(e._zod.def,{get shape(){const s={...e._zod.def.shape,...t};return ge(this,"shape",s),s}});return fe(e,a)}function Fr(e,t){if(!we(t))throw new Error("Invalid input to safeExtend: expected a plain object");const r=pe(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t};return ge(this,"shape",n),n}});return fe(e,r)}function Jr(e,t){const r=pe(e._zod.def,{get shape(){const n={...e._zod.def.shape,...t._zod.def.shape};return ge(this,"shape",n),n},get catchall(){return t._zod.def.catchall},checks:[]});return fe(e,r)}function Br(e,t,r){const a=t._zod.def.checks;if(a&&a.length>0)throw new Error(".partial() cannot be used on object schemas containing refinements");const o=pe(t._zod.def,{get shape(){const c=t._zod.def.shape,d={...c};if(r)for(const p in r){if(!(p in c))throw new Error(`Unrecognized key: "${p}"`);r[p]&&(d[p]=e?new e({type:"optional",innerType:c[p]}):c[p])}else for(const p in c)d[p]=e?new e({type:"optional",innerType:c[p]}):c[p];return ge(this,"shape",d),d},checks:[]});return fe(t,o)}function Kr(e,t,r){const n=pe(t._zod.def,{get shape(){const a=t._zod.def.shape,s={...a};if(r)for(const o in r){if(!(o in s))throw new Error(`Unrecognized key: "${o}"`);r[o]&&(s[o]=new e({type:"nonoptional",innerType:a[o]}))}else for(const o in a)s[o]=new e({type:"nonoptional",innerType:a[o]});return ge(this,"shape",s),s}});return fe(t,n)}function ye(e,t=0){if(e.aborted===!0)return!0;for(let r=t;r<e.issues.length;r++)if(e.issues[r]?.continue!==!0)return!0;return!1}function _e(e,t){return t.map(r=>{var n;return(n=r).path??(n.path=[]),r.path.unshift(e),r})}function Ee(e){return typeof e=="string"?e:e?.message}function me(e,t,r){const n={...e,path:e.path??[]};if(!e.message){const a=Ee(e.inst?._zod.def?.error?.(e))??Ee(t?.error?.(e))??Ee(r.customError?.(e))??Ee(r.localeError?.(e))??"Invalid input";n.message=a}return delete n.inst,delete n.continue,t?.reportInput||delete n.input,n}function nt(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Te(...e){const[t,r,n]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:n}:{...t}}const Mt=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,Xe,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},Ut=m("$ZodError",Mt),Lt=m("$ZodError",Mt,{Parent:Error});function Vr(e,t=r=>r.message){const r={},n=[];for(const a of e.issues)a.path.length>0?(r[a.path[0]]=r[a.path[0]]||[],r[a.path[0]].push(t(a))):n.push(t(a));return{formErrors:n,fieldErrors:r}}function Wr(e,t=r=>r.message){const r={_errors:[]},n=a=>{for(const s of a.issues)if(s.code==="invalid_union"&&s.errors.length)s.errors.map(o=>n({issues:o}));else if(s.code==="invalid_key")n({issues:s.issues});else if(s.code==="invalid_element")n({issues:s.issues});else if(s.path.length===0)r._errors.push(t(s));else{let o=r,c=0;for(;c<s.path.length;){const d=s.path[c];c===s.path.length-1?(o[d]=o[d]||{_errors:[]},o[d]._errors.push(t(s))):o[d]=o[d]||{_errors:[]},o=o[d],c++}}};return n(e),r}const at=e=>(t,r,n,a)=>{const s=n?Object.assign(n,{async:!1}):{async:!1},o=t._zod.run({value:r,issues:[]},s);if(o instanceof Promise)throw new ke;if(o.issues.length){const c=new(a?.Err??e)(o.issues.map(d=>me(d,s,de())));throw Rt(c,a?.callee),c}return o.value},ot=e=>async(t,r,n,a)=>{const s=n?Object.assign(n,{async:!0}):{async:!0};let o=t._zod.run({value:r,issues:[]},s);if(o instanceof Promise&&(o=await o),o.issues.length){const c=new(a?.Err??e)(o.issues.map(d=>me(d,s,de())));throw Rt(c,a?.callee),c}return o.value},Fe=e=>(t,r,n)=>{const a=n?{...n,async:!1}:{async:!1},s=t._zod.run({value:r,issues:[]},a);if(s instanceof Promise)throw new ke;return s.issues.length?{success:!1,error:new(e??Ut)(s.issues.map(o=>me(o,a,de())))}:{success:!0,data:s.value}},Gr=Fe(Lt),Je=e=>async(t,r,n)=>{const a=n?Object.assign(n,{async:!0}):{async:!0};let s=t._zod.run({value:r,issues:[]},a);return s instanceof Promise&&(s=await s),s.issues.length?{success:!1,error:new e(s.issues.map(o=>me(o,a,de())))}:{success:!0,data:s.value}},qr=Je(Lt),Hr=e=>(t,r,n)=>{const a=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return at(e)(t,r,a)},Yr=e=>(t,r,n)=>at(e)(t,r,n),Xr=e=>async(t,r,n)=>{const a=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return ot(e)(t,r,a)},Qr=e=>async(t,r,n)=>ot(e)(t,r,n),en=e=>(t,r,n)=>{const a=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Fe(e)(t,r,a)},tn=e=>(t,r,n)=>Fe(e)(t,r,n),rn=e=>async(t,r,n)=>{const a=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return Je(e)(t,r,a)},nn=e=>async(t,r,n)=>Je(e)(t,r,n),an=/^[cC][^\s-]{8,}$/,on=/^[0-9a-z]+$/,sn=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,ln=/^[0-9a-vA-V]{20}$/,cn=/^[A-Za-z0-9]{27}$/,un=/^[a-zA-Z0-9_-]{21}$/,dn=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,mn=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,pt=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,pn=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,fn="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function hn(){return new RegExp(fn,"u")}const gn=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,bn=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,vn=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,xn=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,yn=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Ft=/^[A-Za-z0-9_-]*$/,_n=/^\+[1-9]\d{6,14}$/,Jt="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",kn=new RegExp(`^${Jt}$`);function Bt(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function wn(e){return new RegExp(`^${Bt(e)}$`)}function zn(e){const t=Bt({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const n=`${t}(?:${r.join("|")})`;return new RegExp(`^${Jt}T(?:${n})$`)}const jn=e=>{const t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},Sn=/^-?\d+$/,Kt=/^-?\d+(?:\.\d+)?$/,Nn=/^(?:true|false)$/i,Cn=/^[^A-Z]*$/,On=/^[^a-z]*$/,H=m("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),Vt={number:"number",bigint:"bigint",object:"date"},Wt=m("$ZodCheckLessThan",(e,t)=>{H.init(e,t);const r=Vt[typeof t.value];e._zod.onattach.push(n=>{const a=n._zod.bag,s=(t.inclusive?a.maximum:a.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<s&&(t.inclusive?a.maximum=t.value:a.exclusiveMaximum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:r,code:"too_big",maximum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Gt=m("$ZodCheckGreaterThan",(e,t)=>{H.init(e,t);const r=Vt[typeof t.value];e._zod.onattach.push(n=>{const a=n._zod.bag,s=(t.inclusive?a.minimum:a.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>s&&(t.inclusive?a.minimum=t.value:a.exclusiveMinimum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:r,code:"too_small",minimum:typeof t.value=="object"?t.value.getTime():t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),$n=m("$ZodCheckMultipleOf",(e,t)=>{H.init(e,t),e._zod.onattach.push(r=>{var n;(n=r._zod.bag).multipleOf??(n.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?r.value%t.value===BigInt(0):Zr(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),An=m("$ZodCheckNumberFormat",(e,t)=>{H.init(e,t),t.format=t.format||"float64";const r=t.format?.includes("int"),n=r?"int":"number",[a,s]=Dr[t.format];e._zod.onattach.push(o=>{const c=o._zod.bag;c.format=t.format,c.minimum=a,c.maximum=s,r&&(c.pattern=Sn)}),e._zod.check=o=>{const c=o.value;if(r){if(!Number.isInteger(c)){o.issues.push({expected:n,format:t.format,code:"invalid_type",continue:!1,input:c,inst:e});return}if(!Number.isSafeInteger(c)){c>0?o.issues.push({input:c,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort}):o.issues.push({input:c,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,inclusive:!0,continue:!t.abort});return}}c<a&&o.issues.push({origin:"number",input:c,code:"too_small",minimum:a,inclusive:!0,inst:e,continue:!t.abort}),c>s&&o.issues.push({origin:"number",input:c,code:"too_big",maximum:s,inclusive:!0,inst:e,continue:!t.abort})}}),Tn=m("$ZodCheckMaxLength",(e,t)=>{var r;H.init(e,t),(r=e._zod.def).when??(r.when=n=>{const a=n.value;return!tt(a)&&a.length!==void 0}),e._zod.onattach.push(n=>{const a=n._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<a&&(n._zod.bag.maximum=t.maximum)}),e._zod.check=n=>{const a=n.value;if(a.length<=t.maximum)return;const o=nt(a);n.issues.push({origin:o,code:"too_big",maximum:t.maximum,inclusive:!0,input:a,inst:e,continue:!t.abort})}}),Zn=m("$ZodCheckMinLength",(e,t)=>{var r;H.init(e,t),(r=e._zod.def).when??(r.when=n=>{const a=n.value;return!tt(a)&&a.length!==void 0}),e._zod.onattach.push(n=>{const a=n._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>a&&(n._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{const a=n.value;if(a.length>=t.minimum)return;const o=nt(a);n.issues.push({origin:o,code:"too_small",minimum:t.minimum,inclusive:!0,input:a,inst:e,continue:!t.abort})}}),En=m("$ZodCheckLengthEquals",(e,t)=>{var r;H.init(e,t),(r=e._zod.def).when??(r.when=n=>{const a=n.value;return!tt(a)&&a.length!==void 0}),e._zod.onattach.push(n=>{const a=n._zod.bag;a.minimum=t.length,a.maximum=t.length,a.length=t.length}),e._zod.check=n=>{const a=n.value,s=a.length;if(s===t.length)return;const o=nt(a),c=s>t.length;n.issues.push({origin:o,...c?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Be=m("$ZodCheckStringFormat",(e,t)=>{var r,n;H.init(e,t),e._zod.onattach.push(a=>{const s=a._zod.bag;s.format=t.format,t.pattern&&(s.patterns??(s.patterns=new Set),s.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=a=>{t.pattern.lastIndex=0,!t.pattern.test(a.value)&&a.issues.push({origin:"string",code:"invalid_format",format:t.format,input:a.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),In=m("$ZodCheckRegex",(e,t)=>{Be.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Pn=m("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=Cn),Be.init(e,t)}),Rn=m("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=On),Be.init(e,t)}),Dn=m("$ZodCheckIncludes",(e,t)=>{H.init(e,t);const r=ze(t.includes),n=new RegExp(typeof t.position=="number"?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push(a=>{const s=a._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(n)}),e._zod.check=a=>{a.value.includes(t.includes,t.position)||a.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:a.value,inst:e,continue:!t.abort})}}),Mn=m("$ZodCheckStartsWith",(e,t)=>{H.init(e,t);const r=new RegExp(`^${ze(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{const a=n._zod.bag;a.patterns??(a.patterns=new Set),a.patterns.add(r)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),Un=m("$ZodCheckEndsWith",(e,t)=>{H.init(e,t);const r=new RegExp(`.*${ze(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(n=>{const a=n._zod.bag;a.patterns??(a.patterns=new Set),a.patterns.add(r)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),Ln=m("$ZodCheckOverwrite",(e,t)=>{H.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});class Fn{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}const n=t.split(`
|
|
2
|
-
`).filter(o=>o),a=Math.min(...n.map(o=>o.length-o.trimStart().length)),s=n.map(o=>o.slice(a)).map(o=>" ".repeat(this.indent*2)+o);for(const o of s)this.content.push(o)}compile(){const t=Function,r=this?.args,a=[...(this?.content??[""]).map(s=>` ${s}`)];return new t(...r,a.join(`
|
|
3
|
-
`))}}const Jn={major:4,minor:3,patch:6},R=m("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Jn;const n=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&n.unshift(e);for(const a of n)for(const s of a._zod.onattach)s(e);if(n.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const a=(o,c,d)=>{let p=ye(o),f;for(const h of c){if(h._zod.def.when){if(!h._zod.def.when(o))continue}else if(p)continue;const u=o.issues.length,b=h._zod.check(o);if(b instanceof Promise&&d?.async===!1)throw new ke;if(f||b instanceof Promise)f=(f??Promise.resolve()).then(async()=>{await b,o.issues.length!==u&&(p||(p=ye(o,u)))});else{if(o.issues.length===u)continue;p||(p=ye(o,u))}}return f?f.then(()=>o):o},s=(o,c,d)=>{if(ye(o))return o.aborted=!0,o;const p=a(c,n,d);if(p instanceof Promise){if(d.async===!1)throw new ke;return p.then(f=>e._zod.parse(f,d))}return e._zod.parse(p,d)};e._zod.run=(o,c)=>{if(c.skipChecks)return e._zod.parse(o,c);if(c.direction==="backward"){const p=e._zod.parse({value:o.value,issues:[]},{...c,skipChecks:!0});return p instanceof Promise?p.then(f=>s(f,o,c)):s(p,o,c)}const d=e._zod.parse(o,c);if(d instanceof Promise){if(c.async===!1)throw new ke;return d.then(p=>a(p,n,c))}return a(d,n,c)}}S(e,"~standard",()=>({validate:a=>{try{const s=Gr(e,a);return s.success?{value:s.data}:{issues:s.error?.issues}}catch{return qr(e,a).then(o=>o.success?{value:o.data}:{issues:o.error?.issues})}},vendor:"zod",version:1}))}),it=m("$ZodString",(e,t)=>{R.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??jn(e._zod.bag),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),Z=m("$ZodStringFormat",(e,t)=>{Be.init(e,t),it.init(e,t)}),Bn=m("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=mn),Z.init(e,t)}),Kn=m("$ZodUUID",(e,t)=>{if(t.version){const n={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(n===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=pt(n))}else t.pattern??(t.pattern=pt());Z.init(e,t)}),Vn=m("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=pn),Z.init(e,t)}),Wn=m("$ZodURL",(e,t)=>{Z.init(e,t),e._zod.check=r=>{try{const n=r.value.trim(),a=new URL(n);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(a.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:t.hostname.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(a.protocol.endsWith(":")?a.protocol.slice(0,-1):a.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),t.normalize?r.value=a.href:r.value=n;return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),Gn=m("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=hn()),Z.init(e,t)}),qn=m("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=un),Z.init(e,t)}),Hn=m("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=an),Z.init(e,t)}),Yn=m("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=on),Z.init(e,t)}),Xn=m("$ZodULID",(e,t)=>{t.pattern??(t.pattern=sn),Z.init(e,t)}),Qn=m("$ZodXID",(e,t)=>{t.pattern??(t.pattern=ln),Z.init(e,t)}),ea=m("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=cn),Z.init(e,t)}),ta=m("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=zn(t)),Z.init(e,t)}),ra=m("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=kn),Z.init(e,t)}),na=m("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=wn(t)),Z.init(e,t)}),aa=m("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=dn),Z.init(e,t)}),oa=m("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=gn),Z.init(e,t),e._zod.bag.format="ipv4"}),ia=m("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=bn),Z.init(e,t),e._zod.bag.format="ipv6",e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),sa=m("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=vn),Z.init(e,t)}),la=m("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=xn),Z.init(e,t),e._zod.check=r=>{const n=r.value.split("/");try{if(n.length!==2)throw new Error;const[a,s]=n;if(!s)throw new Error;const o=Number(s);if(`${o}`!==s)throw new Error;if(o<0||o>128)throw new Error;new URL(`http://[${a}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function qt(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}const ca=m("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=yn),Z.init(e,t),e._zod.bag.contentEncoding="base64",e._zod.check=r=>{qt(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});function ua(e){if(!Ft.test(e))return!1;const t=e.replace(/[-_]/g,n=>n==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return qt(r)}const da=m("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=Ft),Z.init(e,t),e._zod.bag.contentEncoding="base64url",e._zod.check=r=>{ua(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),ma=m("$ZodE164",(e,t)=>{t.pattern??(t.pattern=_n),Z.init(e,t)});function pa(e,t=null){try{const r=e.split(".");if(r.length!==3)return!1;const[n]=r;if(!n)return!1;const a=JSON.parse(atob(n));return!("typ"in a&&a?.typ!=="JWT"||!a.alg||t&&(!("alg"in a)||a.alg!==t))}catch{return!1}}const fa=m("$ZodJWT",(e,t)=>{Z.init(e,t),e._zod.check=r=>{pa(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),Ht=m("$ZodNumber",(e,t)=>{R.init(e,t),e._zod.pattern=e._zod.bag.pattern??Kt,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}const a=r.value;if(typeof a=="number"&&!Number.isNaN(a)&&Number.isFinite(a))return r;const s=typeof a=="number"?Number.isNaN(a)?"NaN":Number.isFinite(a)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:a,inst:e,...s?{received:s}:{}}),r}}),ha=m("$ZodNumberFormat",(e,t)=>{An.init(e,t),Ht.init(e,t)}),ga=m("$ZodBoolean",(e,t)=>{R.init(e,t),e._zod.pattern=Nn,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=!!r.value}catch{}const a=r.value;return typeof a=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:a,inst:e}),r}}),ba=m("$ZodUnknown",(e,t)=>{R.init(e,t),e._zod.parse=r=>r}),va=m("$ZodNever",(e,t)=>{R.init(e,t),e._zod.parse=(r,n)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)});function ft(e,t,r){e.issues.length&&t.issues.push(..._e(r,e.issues)),t.value[r]=e.value}const xa=m("$ZodArray",(e,t)=>{R.init(e,t),e._zod.parse=(r,n)=>{const a=r.value;if(!Array.isArray(a))return r.issues.push({expected:"array",code:"invalid_type",input:a,inst:e}),r;r.value=Array(a.length);const s=[];for(let o=0;o<a.length;o++){const c=a[o],d=t.element._zod.run({value:c,issues:[]},n);d instanceof Promise?s.push(d.then(p=>ft(p,r,o))):ft(d,r,o)}return s.length?Promise.all(s).then(()=>r):r}});function De(e,t,r,n,a){if(e.issues.length){if(a&&!(r in n))return;t.issues.push(..._e(r,e.issues))}e.value===void 0?r in n&&(t.value[r]=void 0):t.value[r]=e.value}function Yt(e){const t=Object.keys(e.shape);for(const n of t)if(!e.shape?.[n]?._zod?.traits?.has("$ZodType"))throw new Error(`Invalid element at key "${n}": expected a Zod schema`);const r=Rr(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function Xt(e,t,r,n,a,s){const o=[],c=a.keySet,d=a.catchall._zod,p=d.def.type,f=d.optout==="optional";for(const h in t){if(c.has(h))continue;if(p==="never"){o.push(h);continue}const u=d.run({value:t[h],issues:[]},n);u instanceof Promise?e.push(u.then(b=>De(b,r,h,t,f))):De(u,r,h,t,f)}return o.length&&r.issues.push({code:"unrecognized_keys",keys:o,input:t,inst:s}),e.length?Promise.all(e).then(()=>r):r}const ya=m("$ZodObject",(e,t)=>{if(R.init(e,t),!Object.getOwnPropertyDescriptor(t,"shape")?.get){const c=t.shape;Object.defineProperty(t,"shape",{get:()=>{const d={...c};return Object.defineProperty(t,"shape",{value:d}),d}})}const n=Le(()=>Yt(t));S(e._zod,"propValues",()=>{const c=t.shape,d={};for(const p in c){const f=c[p]._zod;if(f.values){d[p]??(d[p]=new Set);for(const h of f.values)d[p].add(h)}}return d});const a=Ae,s=t.catchall;let o;e._zod.parse=(c,d)=>{o??(o=n.value);const p=c.value;if(!a(p))return c.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}),c;c.value={};const f=[],h=o.shape;for(const u of o.keys){const b=h[u],y=b._zod.optout==="optional",U=b._zod.run({value:p[u],issues:[]},d);U instanceof Promise?f.push(U.then(N=>De(N,c,u,p,y))):De(U,c,u,p,y)}return s?Xt(f,p,c,d,n.value,e):f.length?Promise.all(f).then(()=>c):c}}),_a=m("$ZodObjectJIT",(e,t)=>{ya.init(e,t);const r=e._zod.parse,n=Le(()=>Yt(t)),a=u=>{const b=new Fn(["shape","payload","ctx"]),y=n.value,U=V=>{const w=mt(V);return`shape[${w}]._zod.run({ value: input[${w}], issues: [] }, ctx)`};b.write("const input = payload.value;");const N=Object.create(null);let be=0;for(const V of y.keys)N[V]=`key_${be++}`;b.write("const newResult = {};");for(const V of y.keys){const w=N[V],K=mt(V),Ne=u[V]?._zod?.optout==="optional";b.write(`const ${w} = ${U(V)};`),Ne?b.write(`
|
|
4
|
-
if (${w}.issues.length) {
|
|
5
|
-
if (${K} in input) {
|
|
6
|
-
payload.issues = payload.issues.concat(${w}.issues.map(iss => ({
|
|
7
|
-
...iss,
|
|
8
|
-
path: iss.path ? [${K}, ...iss.path] : [${K}]
|
|
9
|
-
})));
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
if (${w}.value === undefined) {
|
|
14
|
-
if (${K} in input) {
|
|
15
|
-
newResult[${K}] = undefined;
|
|
16
|
-
}
|
|
17
|
-
} else {
|
|
18
|
-
newResult[${K}] = ${w}.value;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
`):b.write(`
|
|
22
|
-
if (${w}.issues.length) {
|
|
23
|
-
payload.issues = payload.issues.concat(${w}.issues.map(iss => ({
|
|
24
|
-
...iss,
|
|
25
|
-
path: iss.path ? [${K}, ...iss.path] : [${K}]
|
|
26
|
-
})));
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
if (${w}.value === undefined) {
|
|
30
|
-
if (${K} in input) {
|
|
31
|
-
newResult[${K}] = undefined;
|
|
32
|
-
}
|
|
33
|
-
} else {
|
|
34
|
-
newResult[${K}] = ${w}.value;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
`)}b.write("payload.value = newResult;"),b.write("return payload;");const E=b.compile();return(V,w)=>E(u,V,w)};let s;const o=Ae,c=!It.jitless,p=c&&Ir.value,f=t.catchall;let h;e._zod.parse=(u,b)=>{h??(h=n.value);const y=u.value;return o(y)?c&&p&&b?.async===!1&&b.jitless!==!0?(s||(s=a(t.shape)),u=s(u,b),f?Xt([],y,u,b,h,e):u):r(u,b):(u.issues.push({expected:"object",code:"invalid_type",input:y,inst:e}),u)}});function ht(e,t,r,n){for(const s of e)if(s.issues.length===0)return t.value=s.value,t;const a=e.filter(s=>!ye(s));return a.length===1?(t.value=a[0].value,a[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(s=>s.issues.map(o=>me(o,n,de())))}),t)}const Qt=m("$ZodUnion",(e,t)=>{R.init(e,t),S(e._zod,"optin",()=>t.options.some(a=>a._zod.optin==="optional")?"optional":void 0),S(e._zod,"optout",()=>t.options.some(a=>a._zod.optout==="optional")?"optional":void 0),S(e._zod,"values",()=>{if(t.options.every(a=>a._zod.values))return new Set(t.options.flatMap(a=>Array.from(a._zod.values)))}),S(e._zod,"pattern",()=>{if(t.options.every(a=>a._zod.pattern)){const a=t.options.map(s=>s._zod.pattern);return new RegExp(`^(${a.map(s=>rt(s.source)).join("|")})$`)}});const r=t.options.length===1,n=t.options[0]._zod.run;e._zod.parse=(a,s)=>{if(r)return n(a,s);let o=!1;const c=[];for(const d of t.options){const p=d._zod.run({value:a.value,issues:[]},s);if(p instanceof Promise)c.push(p),o=!0;else{if(p.issues.length===0)return p;c.push(p)}}return o?Promise.all(c).then(d=>ht(d,a,e,s)):ht(c,a,e,s)}}),ka=m("$ZodDiscriminatedUnion",(e,t)=>{t.inclusive=!1,Qt.init(e,t);const r=e._zod.parse;S(e._zod,"propValues",()=>{const a={};for(const s of t.options){const o=s._zod.propValues;if(!o||Object.keys(o).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(s)}"`);for(const[c,d]of Object.entries(o)){a[c]||(a[c]=new Set);for(const p of d)a[c].add(p)}}return a});const n=Le(()=>{const a=t.options,s=new Map;for(const o of a){const c=o._zod.propValues?.[t.discriminator];if(!c||c.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(o)}"`);for(const d of c){if(s.has(d))throw new Error(`Duplicate discriminator value "${String(d)}"`);s.set(d,o)}}return s});e._zod.parse=(a,s)=>{const o=a.value;if(!Ae(o))return a.issues.push({code:"invalid_type",expected:"object",input:o,inst:e}),a;const c=n.value.get(o?.[t.discriminator]);return c?c._zod.run(a,s):t.unionFallback?r(a,s):(a.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",discriminator:t.discriminator,input:o,path:[t.discriminator],inst:e}),a)}}),wa=m("$ZodIntersection",(e,t)=>{R.init(e,t),e._zod.parse=(r,n)=>{const a=r.value,s=t.left._zod.run({value:a,issues:[]},n),o=t.right._zod.run({value:a,issues:[]},n);return s instanceof Promise||o instanceof Promise?Promise.all([s,o]).then(([d,p])=>gt(r,d,p)):gt(r,s,o)}});function Qe(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(we(e)&&we(t)){const r=Object.keys(t),n=Object.keys(e).filter(s=>r.indexOf(s)!==-1),a={...e,...t};for(const s of n){const o=Qe(e[s],t[s]);if(!o.valid)return{valid:!1,mergeErrorPath:[s,...o.mergeErrorPath]};a[s]=o.data}return{valid:!0,data:a}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let n=0;n<e.length;n++){const a=e[n],s=t[n],o=Qe(a,s);if(!o.valid)return{valid:!1,mergeErrorPath:[n,...o.mergeErrorPath]};r.push(o.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function gt(e,t,r){const n=new Map;let a;for(const c of t.issues)if(c.code==="unrecognized_keys"){a??(a=c);for(const d of c.keys)n.has(d)||n.set(d,{}),n.get(d).l=!0}else e.issues.push(c);for(const c of r.issues)if(c.code==="unrecognized_keys")for(const d of c.keys)n.has(d)||n.set(d,{}),n.get(d).r=!0;else e.issues.push(c);const s=[...n].filter(([,c])=>c.l&&c.r).map(([c])=>c);if(s.length&&a&&e.issues.push({...a,keys:s}),ye(e))return e;const o=Qe(t.value,r.value);if(!o.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}const za=m("$ZodRecord",(e,t)=>{R.init(e,t),e._zod.parse=(r,n)=>{const a=r.value;if(!we(a))return r.issues.push({expected:"record",code:"invalid_type",input:a,inst:e}),r;const s=[],o=t.keyType._zod.values;if(o){r.value={};const c=new Set;for(const p of o)if(typeof p=="string"||typeof p=="number"||typeof p=="symbol"){c.add(typeof p=="number"?p.toString():p);const f=t.valueType._zod.run({value:a[p],issues:[]},n);f instanceof Promise?s.push(f.then(h=>{h.issues.length&&r.issues.push(..._e(p,h.issues)),r.value[p]=h.value})):(f.issues.length&&r.issues.push(..._e(p,f.issues)),r.value[p]=f.value)}let d;for(const p in a)c.has(p)||(d=d??[],d.push(p));d&&d.length>0&&r.issues.push({code:"unrecognized_keys",input:a,inst:e,keys:d})}else{r.value={};for(const c of Reflect.ownKeys(a)){if(c==="__proto__")continue;let d=t.keyType._zod.run({value:c,issues:[]},n);if(d instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(typeof c=="string"&&Kt.test(c)&&d.issues.length){const h=t.keyType._zod.run({value:Number(c),issues:[]},n);if(h instanceof Promise)throw new Error("Async schemas not supported in object keys currently");h.issues.length===0&&(d=h)}if(d.issues.length){t.mode==="loose"?r.value[c]=a[c]:r.issues.push({code:"invalid_key",origin:"record",issues:d.issues.map(h=>me(h,n,de())),input:c,path:[c],inst:e});continue}const f=t.valueType._zod.run({value:a[c],issues:[]},n);f instanceof Promise?s.push(f.then(h=>{h.issues.length&&r.issues.push(..._e(c,h.issues)),r.value[d.value]=h.value})):(f.issues.length&&r.issues.push(..._e(c,f.issues)),r.value[d.value]=f.value)}}return s.length?Promise.all(s).then(()=>r):r}}),ja=m("$ZodEnum",(e,t)=>{R.init(e,t);const r=Pt(t.entries),n=new Set(r);e._zod.values=n,e._zod.pattern=new RegExp(`^(${r.filter(a=>Pr.has(typeof a)).map(a=>typeof a=="string"?ze(a):a.toString()).join("|")})$`),e._zod.parse=(a,s)=>{const o=a.value;return n.has(o)||a.issues.push({code:"invalid_value",values:r,input:o,inst:e}),a}}),Sa=m("$ZodLiteral",(e,t)=>{if(R.init(e,t),t.values.length===0)throw new Error("Cannot create literal schema with no valid values");const r=new Set(t.values);e._zod.values=r,e._zod.pattern=new RegExp(`^(${t.values.map(n=>typeof n=="string"?ze(n):n?ze(n.toString()):String(n)).join("|")})$`),e._zod.parse=(n,a)=>{const s=n.value;return r.has(s)||n.issues.push({code:"invalid_value",values:t.values,input:s,inst:e}),n}}),Na=m("$ZodTransform",(e,t)=>{R.init(e,t),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new Et(e.constructor.name);const a=t.transform(r.value,r);if(n.async)return(a instanceof Promise?a:Promise.resolve(a)).then(o=>(r.value=o,r));if(a instanceof Promise)throw new ke;return r.value=a,r}});function bt(e,t){return e.issues.length&&t===void 0?{issues:[],value:void 0}:e}const er=m("$ZodOptional",(e,t)=>{R.init(e,t),e._zod.optin="optional",e._zod.optout="optional",S(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),S(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${rt(r.source)})?$`):void 0}),e._zod.parse=(r,n)=>{if(t.innerType._zod.optin==="optional"){const a=t.innerType._zod.run(r,n);return a instanceof Promise?a.then(s=>bt(s,r.value)):bt(a,r.value)}return r.value===void 0?r:t.innerType._zod.run(r,n)}}),Ca=m("$ZodExactOptional",(e,t)=>{er.init(e,t),S(e._zod,"values",()=>t.innerType._zod.values),S(e._zod,"pattern",()=>t.innerType._zod.pattern),e._zod.parse=(r,n)=>t.innerType._zod.run(r,n)}),Oa=m("$ZodNullable",(e,t)=>{R.init(e,t),S(e._zod,"optin",()=>t.innerType._zod.optin),S(e._zod,"optout",()=>t.innerType._zod.optout),S(e._zod,"pattern",()=>{const r=t.innerType._zod.pattern;return r?new RegExp(`^(${rt(r.source)}|null)$`):void 0}),S(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,n)=>r.value===null?r:t.innerType._zod.run(r,n)}),$a=m("$ZodDefault",(e,t)=>{R.init(e,t),e._zod.optin="optional",S(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);if(r.value===void 0)return r.value=t.defaultValue,r;const a=t.innerType._zod.run(r,n);return a instanceof Promise?a.then(s=>vt(s,t)):vt(a,t)}});function vt(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const Aa=m("$ZodPrefault",(e,t)=>{R.init(e,t),e._zod.optin="optional",S(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>(n.direction==="backward"||r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,n))}),Ta=m("$ZodNonOptional",(e,t)=>{R.init(e,t),S(e._zod,"values",()=>{const r=t.innerType._zod.values;return r?new Set([...r].filter(n=>n!==void 0)):void 0}),e._zod.parse=(r,n)=>{const a=t.innerType._zod.run(r,n);return a instanceof Promise?a.then(s=>xt(s,e)):xt(a,e)}});function xt(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const Za=m("$ZodCatch",(e,t)=>{R.init(e,t),S(e._zod,"optin",()=>t.innerType._zod.optin),S(e._zod,"optout",()=>t.innerType._zod.optout),S(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);const a=t.innerType._zod.run(r,n);return a instanceof Promise?a.then(s=>(r.value=s.value,s.issues.length&&(r.value=t.catchValue({...r,error:{issues:s.issues.map(o=>me(o,n,de()))},input:r.value}),r.issues=[]),r)):(r.value=a.value,a.issues.length&&(r.value=t.catchValue({...r,error:{issues:a.issues.map(s=>me(s,n,de()))},input:r.value}),r.issues=[]),r)}}),Ea=m("$ZodPipe",(e,t)=>{R.init(e,t),S(e._zod,"values",()=>t.in._zod.values),S(e._zod,"optin",()=>t.in._zod.optin),S(e._zod,"optout",()=>t.out._zod.optout),S(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(r,n)=>{if(n.direction==="backward"){const s=t.out._zod.run(r,n);return s instanceof Promise?s.then(o=>Ie(o,t.in,n)):Ie(s,t.in,n)}const a=t.in._zod.run(r,n);return a instanceof Promise?a.then(s=>Ie(s,t.out,n)):Ie(a,t.out,n)}});function Ie(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}const Ia=m("$ZodReadonly",(e,t)=>{R.init(e,t),S(e._zod,"propValues",()=>t.innerType._zod.propValues),S(e._zod,"values",()=>t.innerType._zod.values),S(e._zod,"optin",()=>t.innerType?._zod?.optin),S(e._zod,"optout",()=>t.innerType?._zod?.optout),e._zod.parse=(r,n)=>{if(n.direction==="backward")return t.innerType._zod.run(r,n);const a=t.innerType._zod.run(r,n);return a instanceof Promise?a.then(yt):yt(a)}});function yt(e){return e.value=Object.freeze(e.value),e}const Pa=m("$ZodCustom",(e,t)=>{H.init(e,t),R.init(e,t),e._zod.parse=(r,n)=>r,e._zod.check=r=>{const n=r.value,a=t.fn(n);if(a instanceof Promise)return a.then(s=>_t(s,r,n,e));_t(a,r,n,e)}});function _t(e,t,r,n){if(!e){const a={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(a.params=n._zod.def.params),t.issues.push(Te(a))}}var kt;class Ra{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){const n=r[0];return this._map.set(t,n),n&&typeof n=="object"&&"id"in n&&this._idmap.set(n.id,t),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(t){const r=this._map.get(t);return r&&typeof r=="object"&&"id"in r&&this._idmap.delete(r.id),this._map.delete(t),this}get(t){const r=t._zod.parent;if(r){const n={...this.get(r)??{}};delete n.id;const a={...n,...this._map.get(t)};return Object.keys(a).length?a:void 0}return this._map.get(t)}has(t){return this._map.has(t)}}function Da(){return new Ra}(kt=globalThis).__zod_globalRegistry??(kt.__zod_globalRegistry=Da());const $e=globalThis.__zod_globalRegistry;function Ma(e,t){return new e({type:"string",...g(t)})}function Ua(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...g(t)})}function wt(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...g(t)})}function La(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...g(t)})}function Fa(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...g(t)})}function Ja(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...g(t)})}function Ba(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...g(t)})}function Ka(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...g(t)})}function Va(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...g(t)})}function Wa(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...g(t)})}function Ga(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...g(t)})}function qa(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...g(t)})}function Ha(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...g(t)})}function Ya(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...g(t)})}function Xa(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...g(t)})}function Qa(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...g(t)})}function eo(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...g(t)})}function to(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...g(t)})}function ro(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...g(t)})}function no(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...g(t)})}function ao(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...g(t)})}function oo(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...g(t)})}function io(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...g(t)})}function so(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...g(t)})}function lo(e,t){return new e({type:"string",format:"date",check:"string_format",...g(t)})}function co(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...g(t)})}function uo(e,t){return new e({type:"string",format:"duration",check:"string_format",...g(t)})}function mo(e,t){return new e({type:"number",checks:[],...g(t)})}function po(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...g(t)})}function fo(e,t){return new e({type:"boolean",...g(t)})}function ho(e){return new e({type:"unknown"})}function go(e,t){return new e({type:"never",...g(t)})}function zt(e,t){return new Wt({check:"less_than",...g(t),value:e,inclusive:!1})}function qe(e,t){return new Wt({check:"less_than",...g(t),value:e,inclusive:!0})}function jt(e,t){return new Gt({check:"greater_than",...g(t),value:e,inclusive:!1})}function He(e,t){return new Gt({check:"greater_than",...g(t),value:e,inclusive:!0})}function St(e,t){return new $n({check:"multiple_of",...g(t),value:e})}function tr(e,t){return new Tn({check:"max_length",...g(t),maximum:e})}function Me(e,t){return new Zn({check:"min_length",...g(t),minimum:e})}function rr(e,t){return new En({check:"length_equals",...g(t),length:e})}function bo(e,t){return new In({check:"string_format",format:"regex",...g(t),pattern:e})}function vo(e){return new Pn({check:"string_format",format:"lowercase",...g(e)})}function xo(e){return new Rn({check:"string_format",format:"uppercase",...g(e)})}function yo(e,t){return new Dn({check:"string_format",format:"includes",...g(t),includes:e})}function _o(e,t){return new Mn({check:"string_format",format:"starts_with",...g(t),prefix:e})}function ko(e,t){return new Un({check:"string_format",format:"ends_with",...g(t),suffix:e})}function je(e){return new Ln({check:"overwrite",tx:e})}function wo(e){return je(t=>t.normalize(e))}function zo(){return je(e=>e.trim())}function jo(){return je(e=>e.toLowerCase())}function So(){return je(e=>e.toUpperCase())}function No(){return je(e=>Er(e))}function Co(e,t,r){return new e({type:"array",element:t,...g(r)})}function Oo(e,t,r){return new e({type:"custom",check:"custom",fn:t,...g(r)})}function $o(e){const t=Ao(r=>(r.addIssue=n=>{if(typeof n=="string")r.issues.push(Te(n,r.value,t._zod.def));else{const a=n;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=r.value),a.inst??(a.inst=t),a.continue??(a.continue=!t._zod.def.abort),r.issues.push(Te(a))}},e(r.value,r)));return t}function Ao(e,t){const r=new H({check:"custom",...g(t)});return r._zod.check=e,r}function nr(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??$e,target:t,unrepresentable:e?.unrepresentable??"throw",override:e?.override??(()=>{}),io:e?.io??"output",counter:0,seen:new Map,cycles:e?.cycles??"ref",reused:e?.reused??"inline",external:e?.external??void 0}}function L(e,t,r={path:[],schemaPath:[]}){var n;const a=e._zod.def,s=t.seen.get(e);if(s)return s.count++,r.schemaPath.includes(e)&&(s.cycle=r.path),s.schema;const o={schema:{},count:1,cycle:void 0,path:r.path};t.seen.set(e,o);const c=e._zod.toJSONSchema?.();if(c)o.schema=c;else{const f={...r,schemaPath:[...r.schemaPath,e],path:r.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,f);else{const u=o.schema,b=t.processors[a.type];if(!b)throw new Error(`[toJSONSchema]: Non-representable type encountered: ${a.type}`);b(e,t,u,f)}const h=e._zod.parent;h&&(o.ref||(o.ref=h),L(h,t,f),t.seen.get(h).isParent=!0)}const d=t.metadataRegistry.get(e);return d&&Object.assign(o.schema,d),t.io==="input"&&G(e)&&(delete o.schema.examples,delete o.schema.default),t.io==="input"&&o.schema._prefault&&((n=o.schema).default??(n.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function ar(e,t){const r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const n=new Map;for(const o of e.seen.entries()){const c=e.metadataRegistry.get(o[0])?.id;if(c){const d=n.get(c);if(d&&d!==o[0])throw new Error(`Duplicate schema id "${c}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);n.set(c,o[0])}}const a=o=>{const c=e.target==="draft-2020-12"?"$defs":"definitions";if(e.external){const h=e.external.registry.get(o[0])?.id,u=e.external.uri??(y=>y);if(h)return{ref:u(h)};const b=o[1].defId??o[1].schema.id??`schema${e.counter++}`;return o[1].defId=b,{defId:b,ref:`${u("__shared")}#/${c}/${b}`}}if(o[1]===r)return{ref:"#"};const p=`#/${c}/`,f=o[1].schema.id??`__schema${e.counter++}`;return{defId:f,ref:p+f}},s=o=>{if(o[1].schema.$ref)return;const c=o[1],{ref:d,defId:p}=a(o);c.def={...c.schema},p&&(c.defId=p);const f=c.schema;for(const h in f)delete f[h];f.$ref=d};if(e.cycles==="throw")for(const o of e.seen.entries()){const c=o[1];if(c.cycle)throw new Error(`Cycle detected: #/${c.cycle?.join("/")}/<root>
|
|
38
|
-
|
|
39
|
-
Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(const o of e.seen.entries()){const c=o[1];if(t===o[0]){s(o);continue}if(e.external){const p=e.external.registry.get(o[0])?.id;if(t!==o[0]&&p){s(o);continue}}if(e.metadataRegistry.get(o[0])?.id){s(o);continue}if(c.cycle){s(o);continue}if(c.count>1&&e.reused==="ref"){s(o);continue}}}function or(e,t){const r=e.seen.get(t);if(!r)throw new Error("Unprocessed schema. This is a bug in Zod.");const n=o=>{const c=e.seen.get(o);if(c.ref===null)return;const d=c.def??c.schema,p={...d},f=c.ref;if(c.ref=null,f){n(f);const u=e.seen.get(f),b=u.schema;if(b.$ref&&(e.target==="draft-07"||e.target==="draft-04"||e.target==="openapi-3.0")?(d.allOf=d.allOf??[],d.allOf.push(b)):Object.assign(d,b),Object.assign(d,p),o._zod.parent===f)for(const U in d)U==="$ref"||U==="allOf"||U in p||delete d[U];if(b.$ref&&u.def)for(const U in d)U==="$ref"||U==="allOf"||U in u.def&&JSON.stringify(d[U])===JSON.stringify(u.def[U])&&delete d[U]}const h=o._zod.parent;if(h&&h!==f){n(h);const u=e.seen.get(h);if(u?.schema.$ref&&(d.$ref=u.schema.$ref,u.def))for(const b in d)b==="$ref"||b==="allOf"||b in u.def&&JSON.stringify(d[b])===JSON.stringify(u.def[b])&&delete d[b]}e.override({zodSchema:o,jsonSchema:d,path:c.path??[]})};for(const o of[...e.seen.entries()].reverse())n(o[0]);const a={};if(e.target==="draft-2020-12"?a.$schema="https://json-schema.org/draft/2020-12/schema":e.target==="draft-07"?a.$schema="http://json-schema.org/draft-07/schema#":e.target==="draft-04"?a.$schema="http://json-schema.org/draft-04/schema#":e.target,e.external?.uri){const o=e.external.registry.get(t)?.id;if(!o)throw new Error("Schema is missing an `id` property");a.$id=e.external.uri(o)}Object.assign(a,r.def??r.schema);const s=e.external?.defs??{};for(const o of e.seen.entries()){const c=o[1];c.def&&c.defId&&(s[c.defId]=c.def)}e.external||Object.keys(s).length>0&&(e.target==="draft-2020-12"?a.$defs=s:a.definitions=s);try{const o=JSON.parse(JSON.stringify(a));return Object.defineProperty(o,"~standard",{value:{...t["~standard"],jsonSchema:{input:Ue(t,"input",e.processors),output:Ue(t,"output",e.processors)}},enumerable:!1,writable:!1}),o}catch{throw new Error("Error converting schema to JSON.")}}function G(e,t){const r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);const n=e._zod.def;if(n.type==="transform")return!0;if(n.type==="array")return G(n.element,r);if(n.type==="set")return G(n.valueType,r);if(n.type==="lazy")return G(n.getter(),r);if(n.type==="promise"||n.type==="optional"||n.type==="nonoptional"||n.type==="nullable"||n.type==="readonly"||n.type==="default"||n.type==="prefault")return G(n.innerType,r);if(n.type==="intersection")return G(n.left,r)||G(n.right,r);if(n.type==="record"||n.type==="map")return G(n.keyType,r)||G(n.valueType,r);if(n.type==="pipe")return G(n.in,r)||G(n.out,r);if(n.type==="object"){for(const a in n.shape)if(G(n.shape[a],r))return!0;return!1}if(n.type==="union"){for(const a of n.options)if(G(a,r))return!0;return!1}if(n.type==="tuple"){for(const a of n.items)if(G(a,r))return!0;return!!(n.rest&&G(n.rest,r))}return!1}const To=(e,t={})=>r=>{const n=nr({...r,processors:t});return L(e,n),ar(n,e),or(n,e)},Ue=(e,t,r={})=>n=>{const{libraryOptions:a,target:s}=n??{},o=nr({...a??{},target:s,io:t,processors:r});return L(e,o),ar(o,e),or(o,e)},Zo={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},Eo=(e,t,r,n)=>{const a=r;a.type="string";const{minimum:s,maximum:o,format:c,patterns:d,contentEncoding:p}=e._zod.bag;if(typeof s=="number"&&(a.minLength=s),typeof o=="number"&&(a.maxLength=o),c&&(a.format=Zo[c]??c,a.format===""&&delete a.format,c==="time"&&delete a.format),p&&(a.contentEncoding=p),d&&d.size>0){const f=[...d];f.length===1?a.pattern=f[0].source:f.length>1&&(a.allOf=[...f.map(h=>({...t.target==="draft-07"||t.target==="draft-04"||t.target==="openapi-3.0"?{type:"string"}:{},pattern:h.source}))])}},Io=(e,t,r,n)=>{const a=r,{minimum:s,maximum:o,format:c,multipleOf:d,exclusiveMaximum:p,exclusiveMinimum:f}=e._zod.bag;typeof c=="string"&&c.includes("int")?a.type="integer":a.type="number",typeof f=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(a.minimum=f,a.exclusiveMinimum=!0):a.exclusiveMinimum=f),typeof s=="number"&&(a.minimum=s,typeof f=="number"&&t.target!=="draft-04"&&(f>=s?delete a.minimum:delete a.exclusiveMinimum)),typeof p=="number"&&(t.target==="draft-04"||t.target==="openapi-3.0"?(a.maximum=p,a.exclusiveMaximum=!0):a.exclusiveMaximum=p),typeof o=="number"&&(a.maximum=o,typeof p=="number"&&t.target!=="draft-04"&&(p<=o?delete a.maximum:delete a.exclusiveMaximum)),typeof d=="number"&&(a.multipleOf=d)},Po=(e,t,r,n)=>{r.type="boolean"},Ro=(e,t,r,n)=>{r.not={}},Do=(e,t,r,n)=>{},Mo=(e,t,r,n)=>{const a=e._zod.def,s=Pt(a.entries);s.every(o=>typeof o=="number")&&(r.type="number"),s.every(o=>typeof o=="string")&&(r.type="string"),r.enum=s},Uo=(e,t,r,n)=>{const a=e._zod.def,s=[];for(const o of a.values)if(o===void 0){if(t.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof o=="bigint"){if(t.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");s.push(Number(o))}else s.push(o);if(s.length!==0)if(s.length===1){const o=s[0];r.type=o===null?"null":typeof o,t.target==="draft-04"||t.target==="openapi-3.0"?r.enum=[o]:r.const=o}else s.every(o=>typeof o=="number")&&(r.type="number"),s.every(o=>typeof o=="string")&&(r.type="string"),s.every(o=>typeof o=="boolean")&&(r.type="boolean"),s.every(o=>o===null)&&(r.type="null"),r.enum=s},Lo=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema")},Fo=(e,t,r,n)=>{if(t.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema")},Jo=(e,t,r,n)=>{const a=r,s=e._zod.def,{minimum:o,maximum:c}=e._zod.bag;typeof o=="number"&&(a.minItems=o),typeof c=="number"&&(a.maxItems=c),a.type="array",a.items=L(s.element,t,{...n,path:[...n.path,"items"]})},Bo=(e,t,r,n)=>{const a=r,s=e._zod.def;a.type="object",a.properties={};const o=s.shape;for(const p in o)a.properties[p]=L(o[p],t,{...n,path:[...n.path,"properties",p]});const c=new Set(Object.keys(o)),d=new Set([...c].filter(p=>{const f=s.shape[p]._zod;return t.io==="input"?f.optin===void 0:f.optout===void 0}));d.size>0&&(a.required=Array.from(d)),s.catchall?._zod.def.type==="never"?a.additionalProperties=!1:s.catchall?s.catchall&&(a.additionalProperties=L(s.catchall,t,{...n,path:[...n.path,"additionalProperties"]})):t.io==="output"&&(a.additionalProperties=!1)},Ko=(e,t,r,n)=>{const a=e._zod.def,s=a.inclusive===!1,o=a.options.map((c,d)=>L(c,t,{...n,path:[...n.path,s?"oneOf":"anyOf",d]}));s?r.oneOf=o:r.anyOf=o},Vo=(e,t,r,n)=>{const a=e._zod.def,s=L(a.left,t,{...n,path:[...n.path,"allOf",0]}),o=L(a.right,t,{...n,path:[...n.path,"allOf",1]}),c=p=>"allOf"in p&&Object.keys(p).length===1,d=[...c(s)?s.allOf:[s],...c(o)?o.allOf:[o]];r.allOf=d},Wo=(e,t,r,n)=>{const a=r,s=e._zod.def;a.type="object";const o=s.keyType,d=o._zod.bag?.patterns;if(s.mode==="loose"&&d&&d.size>0){const f=L(s.valueType,t,{...n,path:[...n.path,"patternProperties","*"]});a.patternProperties={};for(const h of d)a.patternProperties[h.source]=f}else(t.target==="draft-07"||t.target==="draft-2020-12")&&(a.propertyNames=L(s.keyType,t,{...n,path:[...n.path,"propertyNames"]})),a.additionalProperties=L(s.valueType,t,{...n,path:[...n.path,"additionalProperties"]});const p=o._zod.values;if(p){const f=[...p].filter(h=>typeof h=="string"||typeof h=="number");f.length>0&&(a.required=f)}},Go=(e,t,r,n)=>{const a=e._zod.def,s=L(a.innerType,t,n),o=t.seen.get(e);t.target==="openapi-3.0"?(o.ref=a.innerType,r.nullable=!0):r.anyOf=[s,{type:"null"}]},qo=(e,t,r,n)=>{const a=e._zod.def;L(a.innerType,t,n);const s=t.seen.get(e);s.ref=a.innerType},Ho=(e,t,r,n)=>{const a=e._zod.def;L(a.innerType,t,n);const s=t.seen.get(e);s.ref=a.innerType,r.default=JSON.parse(JSON.stringify(a.defaultValue))},Yo=(e,t,r,n)=>{const a=e._zod.def;L(a.innerType,t,n);const s=t.seen.get(e);s.ref=a.innerType,t.io==="input"&&(r._prefault=JSON.parse(JSON.stringify(a.defaultValue)))},Xo=(e,t,r,n)=>{const a=e._zod.def;L(a.innerType,t,n);const s=t.seen.get(e);s.ref=a.innerType;let o;try{o=a.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}r.default=o},Qo=(e,t,r,n)=>{const a=e._zod.def,s=t.io==="input"?a.in._zod.def.type==="transform"?a.out:a.in:a.out;L(s,t,n);const o=t.seen.get(e);o.ref=s},ei=(e,t,r,n)=>{const a=e._zod.def;L(a.innerType,t,n);const s=t.seen.get(e);s.ref=a.innerType,r.readOnly=!0},ir=(e,t,r,n)=>{const a=e._zod.def;L(a.innerType,t,n);const s=t.seen.get(e);s.ref=a.innerType},ti=m("ZodISODateTime",(e,t)=>{ta.init(e,t),M.init(e,t)});function ri(e){return so(ti,e)}const ni=m("ZodISODate",(e,t)=>{ra.init(e,t),M.init(e,t)});function ai(e){return lo(ni,e)}const oi=m("ZodISOTime",(e,t)=>{na.init(e,t),M.init(e,t)});function ii(e){return co(oi,e)}const si=m("ZodISODuration",(e,t)=>{aa.init(e,t),M.init(e,t)});function li(e){return uo(si,e)}const ci=(e,t)=>{Ut.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>Wr(e,r)},flatten:{value:r=>Vr(e,r)},addIssue:{value:r=>{e.issues.push(r),e.message=JSON.stringify(e.issues,Xe,2)}},addIssues:{value:r=>{e.issues.push(...r),e.message=JSON.stringify(e.issues,Xe,2)}},isEmpty:{get(){return e.issues.length===0}}})},te=m("ZodError",ci,{Parent:Error}),ui=at(te),di=ot(te),mi=Fe(te),pi=Je(te),fi=Hr(te),hi=Yr(te),gi=Xr(te),bi=Qr(te),vi=en(te),xi=tn(te),yi=rn(te),_i=nn(te),D=m("ZodType",(e,t)=>(R.init(e,t),Object.assign(e["~standard"],{jsonSchema:{input:Ue(e,"input"),output:Ue(e,"output")}}),e.toJSONSchema=To(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...r)=>e.clone(pe(t,{checks:[...t.checks??[],...r.map(n=>typeof n=="function"?{_zod:{check:n,def:{check:"custom"},onattach:[]}}:n)]}),{parent:!0}),e.with=e.check,e.clone=(r,n)=>fe(e,r,n),e.brand=()=>e,e.register=((r,n)=>(r.add(e,n),e)),e.parse=(r,n)=>ui(e,r,n,{callee:e.parse}),e.safeParse=(r,n)=>mi(e,r,n),e.parseAsync=async(r,n)=>di(e,r,n,{callee:e.parseAsync}),e.safeParseAsync=async(r,n)=>pi(e,r,n),e.spa=e.safeParseAsync,e.encode=(r,n)=>fi(e,r,n),e.decode=(r,n)=>hi(e,r,n),e.encodeAsync=async(r,n)=>gi(e,r,n),e.decodeAsync=async(r,n)=>bi(e,r,n),e.safeEncode=(r,n)=>vi(e,r,n),e.safeDecode=(r,n)=>xi(e,r,n),e.safeEncodeAsync=async(r,n)=>yi(e,r,n),e.safeDecodeAsync=async(r,n)=>_i(e,r,n),e.refine=(r,n)=>e.check(hs(r,n)),e.superRefine=r=>e.check(gs(r)),e.overwrite=r=>e.check(je(r)),e.optional=()=>At(e),e.exactOptional=()=>rs(e),e.nullable=()=>Tt(e),e.nullish=()=>At(Tt(e)),e.nonoptional=r=>ls(e,r),e.array=()=>ne(e),e.or=r=>ur([e,r]),e.and=r=>Hi(e,r),e.transform=r=>Zt(e,es(r)),e.default=r=>os(e,r),e.prefault=r=>ss(e,r),e.catch=r=>us(e,r),e.pipe=r=>Zt(e,r),e.readonly=()=>ps(e),e.describe=r=>{const n=e.clone();return $e.add(n,{description:r}),n},Object.defineProperty(e,"description",{get(){return $e.get(e)?.description},configurable:!0}),e.meta=(...r)=>{if(r.length===0)return $e.get(e);const n=e.clone();return $e.add(n,r[0]),n},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e.apply=r=>r(e),e)),sr=m("_ZodString",(e,t)=>{it.init(e,t),D.init(e,t),e._zod.processJSONSchema=(n,a,s)=>Eo(e,n,a);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...n)=>e.check(bo(...n)),e.includes=(...n)=>e.check(yo(...n)),e.startsWith=(...n)=>e.check(_o(...n)),e.endsWith=(...n)=>e.check(ko(...n)),e.min=(...n)=>e.check(Me(...n)),e.max=(...n)=>e.check(tr(...n)),e.length=(...n)=>e.check(rr(...n)),e.nonempty=(...n)=>e.check(Me(1,...n)),e.lowercase=n=>e.check(vo(n)),e.uppercase=n=>e.check(xo(n)),e.trim=()=>e.check(zo()),e.normalize=(...n)=>e.check(wo(...n)),e.toLowerCase=()=>e.check(jo()),e.toUpperCase=()=>e.check(So()),e.slugify=()=>e.check(No())}),ki=m("ZodString",(e,t)=>{it.init(e,t),sr.init(e,t),e.email=r=>e.check(Ua(wi,r)),e.url=r=>e.check(Ka(zi,r)),e.jwt=r=>e.check(io(Mi,r)),e.emoji=r=>e.check(Va(ji,r)),e.guid=r=>e.check(wt(Nt,r)),e.uuid=r=>e.check(La(Pe,r)),e.uuidv4=r=>e.check(Fa(Pe,r)),e.uuidv6=r=>e.check(Ja(Pe,r)),e.uuidv7=r=>e.check(Ba(Pe,r)),e.nanoid=r=>e.check(Wa(Si,r)),e.guid=r=>e.check(wt(Nt,r)),e.cuid=r=>e.check(Ga(Ni,r)),e.cuid2=r=>e.check(qa(Ci,r)),e.ulid=r=>e.check(Ha(Oi,r)),e.base64=r=>e.check(no(Pi,r)),e.base64url=r=>e.check(ao(Ri,r)),e.xid=r=>e.check(Ya($i,r)),e.ksuid=r=>e.check(Xa(Ai,r)),e.ipv4=r=>e.check(Qa(Ti,r)),e.ipv6=r=>e.check(eo(Zi,r)),e.cidrv4=r=>e.check(to(Ei,r)),e.cidrv6=r=>e.check(ro(Ii,r)),e.e164=r=>e.check(oo(Di,r)),e.datetime=r=>e.check(ri(r)),e.date=r=>e.check(ai(r)),e.time=r=>e.check(ii(r)),e.duration=r=>e.check(li(r))});function x(e){return Ma(ki,e)}const M=m("ZodStringFormat",(e,t)=>{Z.init(e,t),sr.init(e,t)}),wi=m("ZodEmail",(e,t)=>{Vn.init(e,t),M.init(e,t)}),Nt=m("ZodGUID",(e,t)=>{Bn.init(e,t),M.init(e,t)}),Pe=m("ZodUUID",(e,t)=>{Kn.init(e,t),M.init(e,t)}),zi=m("ZodURL",(e,t)=>{Wn.init(e,t),M.init(e,t)}),ji=m("ZodEmoji",(e,t)=>{Gn.init(e,t),M.init(e,t)}),Si=m("ZodNanoID",(e,t)=>{qn.init(e,t),M.init(e,t)}),Ni=m("ZodCUID",(e,t)=>{Hn.init(e,t),M.init(e,t)}),Ci=m("ZodCUID2",(e,t)=>{Yn.init(e,t),M.init(e,t)}),Oi=m("ZodULID",(e,t)=>{Xn.init(e,t),M.init(e,t)}),$i=m("ZodXID",(e,t)=>{Qn.init(e,t),M.init(e,t)}),Ai=m("ZodKSUID",(e,t)=>{ea.init(e,t),M.init(e,t)}),Ti=m("ZodIPv4",(e,t)=>{oa.init(e,t),M.init(e,t)}),Zi=m("ZodIPv6",(e,t)=>{ia.init(e,t),M.init(e,t)}),Ei=m("ZodCIDRv4",(e,t)=>{sa.init(e,t),M.init(e,t)}),Ii=m("ZodCIDRv6",(e,t)=>{la.init(e,t),M.init(e,t)}),Pi=m("ZodBase64",(e,t)=>{ca.init(e,t),M.init(e,t)}),Ri=m("ZodBase64URL",(e,t)=>{da.init(e,t),M.init(e,t)}),Di=m("ZodE164",(e,t)=>{ma.init(e,t),M.init(e,t)}),Mi=m("ZodJWT",(e,t)=>{fa.init(e,t),M.init(e,t)}),lr=m("ZodNumber",(e,t)=>{Ht.init(e,t),D.init(e,t),e._zod.processJSONSchema=(n,a,s)=>Io(e,n,a),e.gt=(n,a)=>e.check(jt(n,a)),e.gte=(n,a)=>e.check(He(n,a)),e.min=(n,a)=>e.check(He(n,a)),e.lt=(n,a)=>e.check(zt(n,a)),e.lte=(n,a)=>e.check(qe(n,a)),e.max=(n,a)=>e.check(qe(n,a)),e.int=n=>e.check(Ct(n)),e.safe=n=>e.check(Ct(n)),e.positive=n=>e.check(jt(0,n)),e.nonnegative=n=>e.check(He(0,n)),e.negative=n=>e.check(zt(0,n)),e.nonpositive=n=>e.check(qe(0,n)),e.multipleOf=(n,a)=>e.check(St(n,a)),e.step=(n,a)=>e.check(St(n,a)),e.finite=()=>e;const r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function A(e){return mo(lr,e)}const Ui=m("ZodNumberFormat",(e,t)=>{ha.init(e,t),lr.init(e,t)});function Ct(e){return po(Ui,e)}const Li=m("ZodBoolean",(e,t)=>{ga.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>Po(e,r,n)});function B(e){return fo(Li,e)}const Fi=m("ZodUnknown",(e,t)=>{ba.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>Do()});function Ot(){return ho(Fi)}const Ji=m("ZodNever",(e,t)=>{va.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>Ro(e,r,n)});function Bi(e){return go(Ji,e)}const Ki=m("ZodArray",(e,t)=>{xa.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>Jo(e,r,n,a),e.element=t.element,e.min=(r,n)=>e.check(Me(r,n)),e.nonempty=r=>e.check(Me(1,r)),e.max=(r,n)=>e.check(tr(r,n)),e.length=(r,n)=>e.check(rr(r,n)),e.unwrap=()=>e.element});function ne(e,t){return Co(Ki,e,t)}const Vi=m("ZodObject",(e,t)=>{_a.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>Bo(e,r,n,a),S(e,"shape",()=>t.shape),e.keyof=()=>ae(Object.keys(e._zod.def.shape)),e.catchall=r=>e.clone({...e._zod.def,catchall:r}),e.passthrough=()=>e.clone({...e._zod.def,catchall:Ot()}),e.loose=()=>e.clone({...e._zod.def,catchall:Ot()}),e.strict=()=>e.clone({...e._zod.def,catchall:Bi()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=r=>Lr(e,r),e.safeExtend=r=>Fr(e,r),e.merge=r=>Jr(e,r),e.pick=r=>Mr(e,r),e.omit=r=>Ur(e,r),e.partial=(...r)=>Br(dr,e,r[0]),e.required=(...r)=>Kr(mr,e,r[0])});function P(e,t){const r={type:"object",shape:e??{},...g(t)};return new Vi(r)}const cr=m("ZodUnion",(e,t)=>{Qt.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>Ko(e,r,n,a),e.options=t.options});function ur(e,t){return new cr({type:"union",options:e,...g(t)})}const Wi=m("ZodDiscriminatedUnion",(e,t)=>{cr.init(e,t),ka.init(e,t)});function Gi(e,t,r){return new Wi({type:"union",options:t,discriminator:e,...g(r)})}const qi=m("ZodIntersection",(e,t)=>{wa.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>Vo(e,r,n,a)});function Hi(e,t){return new qi({type:"intersection",left:e,right:t})}const Yi=m("ZodRecord",(e,t)=>{za.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>Wo(e,r,n,a),e.keyType=t.keyType,e.valueType=t.valueType});function Re(e,t,r){return new Yi({type:"record",keyType:e,valueType:t,...g(r)})}const et=m("ZodEnum",(e,t)=>{ja.init(e,t),D.init(e,t),e._zod.processJSONSchema=(n,a,s)=>Mo(e,n,a),e.enum=t.entries,e.options=Object.values(t.entries);const r=new Set(Object.keys(t.entries));e.extract=(n,a)=>{const s={};for(const o of n)if(r.has(o))s[o]=t.entries[o];else throw new Error(`Key ${o} not found in enum`);return new et({...t,checks:[],...g(a),entries:s})},e.exclude=(n,a)=>{const s={...t.entries};for(const o of n)if(r.has(o))delete s[o];else throw new Error(`Key ${o} not found in enum`);return new et({...t,checks:[],...g(a),entries:s})}});function ae(e,t){const r=Array.isArray(e)?Object.fromEntries(e.map(n=>[n,n])):e;return new et({type:"enum",entries:r,...g(t)})}const Xi=m("ZodLiteral",(e,t)=>{Sa.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>Uo(e,r,n),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function $t(e,t){return new Xi({type:"literal",values:Array.isArray(e)?e:[e],...g(t)})}const Qi=m("ZodTransform",(e,t)=>{Na.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>Fo(e,r),e._zod.parse=(r,n)=>{if(n.direction==="backward")throw new Et(e.constructor.name);r.addIssue=s=>{if(typeof s=="string")r.issues.push(Te(s,r.value,t));else{const o=s;o.fatal&&(o.continue=!1),o.code??(o.code="custom"),o.input??(o.input=r.value),o.inst??(o.inst=e),r.issues.push(Te(o))}};const a=t.transform(r.value,r);return a instanceof Promise?a.then(s=>(r.value=s,r)):(r.value=a,r)}});function es(e){return new Qi({type:"transform",transform:e})}const dr=m("ZodOptional",(e,t)=>{er.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>ir(e,r,n,a),e.unwrap=()=>e._zod.def.innerType});function At(e){return new dr({type:"optional",innerType:e})}const ts=m("ZodExactOptional",(e,t)=>{Ca.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>ir(e,r,n,a),e.unwrap=()=>e._zod.def.innerType});function rs(e){return new ts({type:"optional",innerType:e})}const ns=m("ZodNullable",(e,t)=>{Oa.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>Go(e,r,n,a),e.unwrap=()=>e._zod.def.innerType});function Tt(e){return new ns({type:"nullable",innerType:e})}const as=m("ZodDefault",(e,t)=>{$a.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>Ho(e,r,n,a),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function os(e,t){return new as({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():Dt(t)}})}const is=m("ZodPrefault",(e,t)=>{Aa.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>Yo(e,r,n,a),e.unwrap=()=>e._zod.def.innerType});function ss(e,t){return new is({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():Dt(t)}})}const mr=m("ZodNonOptional",(e,t)=>{Ta.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>qo(e,r,n,a),e.unwrap=()=>e._zod.def.innerType});function ls(e,t){return new mr({type:"nonoptional",innerType:e,...g(t)})}const cs=m("ZodCatch",(e,t)=>{Za.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>Xo(e,r,n,a),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function us(e,t){return new cs({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}const ds=m("ZodPipe",(e,t)=>{Ea.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>Qo(e,r,n,a),e.in=t.in,e.out=t.out});function Zt(e,t){return new ds({type:"pipe",in:e,out:t})}const ms=m("ZodReadonly",(e,t)=>{Ia.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>ei(e,r,n,a),e.unwrap=()=>e._zod.def.innerType});function ps(e){return new ms({type:"readonly",innerType:e})}const fs=m("ZodCustom",(e,t)=>{Pa.init(e,t),D.init(e,t),e._zod.processJSONSchema=(r,n,a)=>Lo(e,r)});function hs(e,t={}){return Oo(fs,e,t)}function gs(e){return $o(e)}const $={agent:{name:"morpheus",personality:"helpful_dev"},logging:{enabled:!0,level:"info",retention:"14d"},audio:{provider:"google",model:"gemini-2.5-flash-lite",enabled:!0,maxDurationSeconds:300,supportedMimeTypes:["audio/ogg","audio/mp3","audio/mpeg","audio/wav"],tts:{enabled:!1,provider:"google",model:"gemini-2.5-flash-preview-tts",voice:"Kore"}},memory:{limit:100},runtime:{async_tasks:{enabled:!0}},llm:{provider:"openai",model:"gpt-4",temperature:.7,context_window:100},channels:{telegram:{enabled:!1,allowedUsers:[]},discord:{enabled:!1,allowedUsers:[]}},ui:{enabled:!0,port:3333}},bs=P({enabled:B().default(!1),provider:ae(["openai","google"]).default("google"),model:x().min(1).default("gemini-2.5-flash-preview-tts"),voice:x().min(1).default("Kore"),apiKey:x().optional(),style_prompt:x().optional()}),vs=P({provider:ae(["google","openai","openrouter","ollama"]).default($.audio.provider),model:x().min(1).default($.audio.model),enabled:B().default($.audio.enabled),apiKey:x().optional(),base_url:x().optional(),maxDurationSeconds:A().default($.audio.maxDurationSeconds),supportedMimeTypes:ne(x()).default($.audio.supportedMimeTypes),tts:bs.optional()}),Se=P({provider:ae(["openai","anthropic","openrouter","ollama","gemini"]).default($.llm.provider),model:x().min(1).default($.llm.model),temperature:A().min(0).max(1).default($.llm.temperature),max_tokens:A().int().positive().optional(),api_key:x().optional(),base_url:x().optional(),context_window:A().int().positive().optional()}),xs=Se.extend({memory_limit:A().int().positive().optional(),enabled_archived_sessions:B().default(!0),similarity_threshold:A().min(0).max(1).default(.9),evaluation_interval:A().int().min(1).default(1)}),ys=Se.extend({working_dir:x().optional(),timeout_ms:A().int().positive().optional(),execution_mode:ae(["sync","async"]).default("async")}),_s=Se.extend({execution_mode:ae(["sync","async"]).default("async")}),ks=Se.extend({execution_mode:ae(["sync","async"]).default("async")}),ws=Se.extend({personality:x().optional(),chunk_size:A().int().positive().default(500),score_threshold:A().min(0).max(1).default(.5),max_results:A().int().positive().default(10),execution_mode:ae(["sync","async"]).default("async"),scan_interval_ms:A().int().min(5e3).default(3e4),max_file_size_mb:A().int().positive().default(50),vector_weight:A().min(0).max(1).default(.8),bm25_weight:A().min(0).max(1).default(.2)}),zs=P({telegram_notify_all:B().optional()}).optional(),js=P({timezone:x().default("UTC"),check_interval_ms:A().min(6e4).default(6e4),max_active_jobs:A().min(1).max(1e3).default(100)}),Ss=P({sandbox_dir:x().optional(),readonly_mode:B().default(!1),allowed_shell_commands:ne(x()).default([]),allowed_paths:ne(x()).default([]),enable_filesystem:B().default(!0),enable_shell:B().default(!0),enable_git:B().default(!0),enable_network:B().default(!0),timeout_ms:A().int().positive().default(3e4)}),Ns=P({name:x().min(1).max(64).regex(/^[a-z0-9][a-z0-9_-]*$/,"Smith name must be lowercase alphanumeric with hyphens/underscores"),host:x().min(1),port:A().int().min(1).max(65535).default(7900),auth_token:x().min(1),tls:B().default(!1)}),Cs=P({enabled:B().default(!0),fields:ne(x()).default(["name","timezone","preferred_language"])}),Os=P({enabled:B().default(!1),execution_mode:ae(["sync","async"]).default("async"),heartbeat_interval_ms:A().int().min(5e3).default(3e4),connection_timeout_ms:A().int().min(1e3).default(1e4),task_timeout_ms:A().int().min(1e3).default(6e4),entries:ne(Ns).default([])}),$s=P({code:x().min(1).default("USD"),symbol:x().min(1).default("$"),rate:A().positive().default(1)}),As=P({service_account_json:x().optional(),service_account_json_content:x().optional(),enabled:B().default(!0)}),Ts=P({agent:P({name:x().default($.agent.name),personality:x().default($.agent.personality)}).default($.agent),llm:Se.default($.llm),sati:xs.optional(),neo:_s.optional(),apoc:ys.optional(),trinity:ks.optional(),link:ws.optional(),webhooks:zs,audio:vs.default($.audio),memory:P({limit:A().int().positive().optional()}).default($.memory),runtime:P({async_tasks:P({enabled:B().default($.runtime?.async_tasks.enabled)}).default($.runtime?.async_tasks??{enabled:!0})}).optional(),chronos:js.optional(),devkit:Ss.optional(),smiths:Os.optional(),gws:As.optional(),setup:Cs.optional(),currency:$s.optional(),verbose_mode:B().default(!0),channels:P({telegram:P({enabled:B().default(!1),token:x().optional(),allowedUsers:ne(x()).default([])}).default($.channels.telegram),discord:P({enabled:B().default(!1),token:x().optional(),allowedUsers:ne(x()).default([])}).default($.channels.discord)}).default($.channels),ui:P({enabled:B().default($.ui.enabled),port:A().default($.ui.port)}).default($.ui),logging:P({enabled:B().default($.logging.enabled),level:ae(["debug","info","warn","error"]).default($.logging.level),retention:x().default($.logging.retention)}).default($.logging)}),Zs=Gi("transport",[P({transport:$t("stdio"),command:x().min(1,"Command is required for stdio transport"),args:ne(x()).optional().default([]),env:Re(x(),x()).optional().default({}),_comment:x().optional()}),P({transport:$t("http"),url:x().url("Valid URL is required for http transport"),headers:Re(x(),x()).optional().default({}),args:ne(x()).optional().default([]),env:Re(x(),x()).optional().default({}),_comment:x().optional()})]);Re(x(),ur([Zs,x()]));const Es={resetData:async e=>Ye.delete("/danger/reset",{categories:e})},Is=[{id:"general",label:"General"},{id:"agents",label:"Agents"},{id:"devkit",label:"DevKit"},{id:"gws",label:"GWS"},{id:"audio",label:"Audio"},{id:"channels",label:"Channels"},{id:"ui",label:"Interface"},{id:"chronos",label:"Chronos"},{id:"danger",label:"Danger Zone"}],Ps=[{id:"oracle",label:"Oracle"},{id:"sati",label:"Sati"},{id:"neo",label:"Neo"},{id:"apoc",label:"Apoc"},{id:"trinity",label:"Trinity"},{id:"link",label:"Link"}],Oe=[{label:"OpenAI",value:"openai"},{label:"Anthropic",value:"anthropic"},{label:"OpenRouter",value:"openrouter"},{label:"Ollama",value:"ollama"},{label:"Google Gemini",value:"gemini"}];function Gs(){const{data:e,error:t}=ce("/api/config",ee.fetchConfig),{data:r}=ce("/api/config/sati",ee.getSatiConfig),{data:n}=ce("/api/config/apoc",ee.getApocConfig),{data:a}=ce("/api/config/neo",ee.getNeoConfig),{data:s}=ce("/api/config/trinity",ee.getTrinityConfig),{data:o}=ce("/api/link/config",()=>Ye.get("/link/config")),{data:c}=ce("/api/config/encryption-status",()=>ee.getEncryptionStatus()),{data:d}=ce("/api/config/env-overrides",()=>ee.getEnvOverrides()),{data:p}=Nr(),[f,h]=I.useState(null),[u,b]=I.useState(null),[y,U]=I.useState(null),[N,be]=I.useState(null),[E,V]=I.useState(null),[w,K]=I.useState(null),[T,Ne]=I.useState(null),[re,pr]=I.useState("general"),[he,fr]=I.useState("oracle"),[st,lt]=I.useState(!1),[q,Ze]=I.useState({}),[Ke,Ce]=I.useState(null);I.useEffect(()=>{e&&!u&&b(e)},[e]),I.useEffect(()=>{r&&!y&&U(r)},[r]),I.useEffect(()=>{n&&!E?V(n):!n&&!E&&u&&V({...u.apoc??u.llm,temperature:u.apoc?.temperature??.2,timeout_ms:u.apoc?.timeout_ms??3e4})},[n,u]),I.useEffect(()=>{a&&!N?be(a):!a&&!N&&u&&be({...u.neo??u.llm,temperature:u.neo?.temperature??.2})},[a,u]),I.useEffect(()=>{s&&!w?K(s):!s&&!w&&u&&K({...u.trinity??u.llm,temperature:u.trinity?.temperature??.2})},[s,u]),I.useEffect(()=>{p&&!f&&h(p)},[p]),I.useEffect(()=>{o&&!T&&Ne(o)},[o]);const ct=JSON.stringify(e)!==JSON.stringify(u)||JSON.stringify(r)!==JSON.stringify(y)||JSON.stringify(a)!==JSON.stringify(N)||JSON.stringify(n)!==JSON.stringify(E)||JSON.stringify(s)!==JSON.stringify(w)||JSON.stringify(p)!==JSON.stringify(f)||JSON.stringify(o)!==JSON.stringify(T),hr={general:JSON.stringify(e?.agent)!==JSON.stringify(u?.agent)||e?.verbose_mode!==u?.verbose_mode,agents:JSON.stringify(e?.llm)!==JSON.stringify(u?.llm)||JSON.stringify(r)!==JSON.stringify(y)||JSON.stringify(a)!==JSON.stringify(N)||JSON.stringify(n)!==JSON.stringify(E)||JSON.stringify(s)!==JSON.stringify(w)||JSON.stringify(o)!==JSON.stringify(T),devkit:JSON.stringify(e?.devkit)!==JSON.stringify(u?.devkit),gws:JSON.stringify(e?.gws)!==JSON.stringify(u?.gws),audio:JSON.stringify(e?.audio)!==JSON.stringify(u?.audio),channels:JSON.stringify(e?.channels?.telegram)!==JSON.stringify(u?.channels?.telegram)||JSON.stringify(e?.channels?.discord)!==JSON.stringify(u?.channels?.discord)||JSON.stringify(e?.webhooks)!==JSON.stringify(u?.webhooks),ui:JSON.stringify(e?.ui)!==JSON.stringify(u?.ui),logging:JSON.stringify(e?.logging)!==JSON.stringify(u?.logging),chronos:JSON.stringify(p)!==JSON.stringify(f)},ve=(l,z)=>{if(!c?.apiKeysEncrypted)return null;const{morpheusSecretSet:W,apiKeysEncrypted:C}=c,X=C[l];return!z?i.jsx("span",{className:"inline-flex items-center px-2 py-1 text-xs rounded bg-azure-surface border border-azure-border text-azure-text-secondary dark:bg-matrix-primary/10 dark:border-matrix-primary dark:text-matrix-tertiary",children:"No API key"}):d&&d[gr(l)]?null:W?X?i.jsx("span",{className:"inline-flex items-center px-2 py-1 text-xs rounded bg-emerald-100 border border-emerald-300 text-emerald-800 dark:bg-emerald-900/30 dark:border-emerald-700 dark:text-emerald-400",title:"API key encrypted with AES-256-GCM",children:"🔒 Encrypted"}):i.jsx("span",{className:"inline-flex items-center px-2 py-1 text-xs rounded bg-amber-100 border border-amber-300 text-amber-800 dark:bg-amber-900/30 dark:border-amber-700 dark:text-amber-400",title:"Re-save this configuration to encrypt the API key",children:"⚠️ Re-save to encrypt"}):i.jsx("span",{className:"inline-flex items-center px-2 py-1 text-xs rounded bg-amber-100 border border-amber-300 text-amber-800 dark:bg-amber-900/30 dark:border-amber-700 dark:text-amber-400",title:"Set MORPHEUS_SECRET to enable encryption",children:"⚠️ Plaintext"})},gr=l=>({oracle:"llm.api_key",sati:"sati.api_key",neo:"neo.api_key",apoc:"apoc.api_key",trinity:"trinity.api_key",audio:"audio.apiKey"})[l],j=l=>!d||!d[l]?null:i.jsx("span",{className:"inline-flex items-center px-2 py-1 text-xs rounded bg-blue-100 border border-blue-300 text-blue-800 dark:bg-blue-900/30 dark:border-blue-700 dark:text-blue-400",title:"This field is set by an environment variable and cannot be edited",children:"🔒 Env Var"}),_=l=>!!(d&&d[l]),v=(l,z)=>{if(!u)return;const W=JSON.parse(JSON.stringify(u));let C=W;for(let X=0;X<l.length-1;X++)(C[l[X]]===void 0||C[l[X]]===null)&&(C[l[X]]={}),C=C[l[X]];C[l[l.length-1]]=z,b(W);try{Ts.parse(W),Ze({})}catch(X){if(X instanceof Sr){const We={};X.errors.forEach(ut=>{const zr=ut.path.join(".");We[zr]=ut.message}),Ze(We)}}},Ve=[{code:"USD",symbol:"$",label:"USD — US Dollar ($)"},{code:"BRL",symbol:"R$",label:"BRL — Brazilian Real (R$)"},{code:"CAD",symbol:"CA$",label:"CAD — Canadian Dollar (CA$)"},{code:"EUR",symbol:"€",label:"EUR — Euro (€)"},{code:"JPY",symbol:"¥",label:"JPY — Japanese Yen (¥)"},{code:"GBP",symbol:"£",label:"GBP — British Pound (£)"},{code:"AUD",symbol:"A$",label:"AUD — Australian Dollar (A$)"},{code:"CHF",symbol:"CHF",label:"CHF — Swiss Franc (CHF)"},{code:"ARS",symbol:"$",label:"ARS — Argentine Peso ($)"},{code:"OTHER",symbol:"",label:"Other…"}],br=l=>{if(!u)return;const z=Ve.find(X=>X.code===l),W=z&&l!=="OTHER"?{code:z.code,symbol:z.symbol,rate:l==="USD"?1:u.currency?.rate??1}:{code:"",symbol:"",rate:u.currency?.rate??1},C={...u,currency:W};b(C)},ie=(l,z)=>{y&&U({...y,[l]:z})},se=(l,z)=>{E&&V({...E,[l]:z})},oe=(l,z)=>{N&&be({...N,[l]:z})},le=(l,z)=>{w&&K({...w,[l]:z})},vr=()=>{!u||!w||K({...w,provider:u.llm.provider,model:u.llm.model,api_key:u.llm.api_key})},xr=()=>{!u||!y||U({...y,provider:u.llm.provider,model:u.llm.model,api_key:u.llm.api_key})},yr=()=>{!u||!E||V({...E,provider:u.llm.provider,model:u.llm.model,api_key:u.llm.api_key})},_r=()=>{!u||!N||be({...N,provider:u.llm.provider,model:u.llm.model,api_key:u.llm.api_key})},Y=(l,z)=>{T&&Ne({...T,[l]:z})},kr=()=>{!u||!T||Ne({...T,provider:u.llm.provider,model:u.llm.model,api_key:u.llm.api_key})},wr=async()=>{if(u){lt(!0),Ce(null);try{const l=await ee.updateConfig(u);y&&await ee.updateSatiConfig(y),N&&await ee.updateNeoConfig(N),E&&await ee.updateApocConfig(E),w&&await ee.updateTrinityConfig(w),f&&await Cr.updateConfig(f),T&&await Ye.post("/link/config",T),ue("/api/config"),ue("/api/config/sati"),ue("/api/config/neo"),ue("/api/config/apoc"),ue("/api/config/trinity"),ue("/api/config/chronos"),ue("/api/link/config"),Ze({});const z=l._restartRequired||[],W=z.length>0?`Settings saved and applied. Some changes require restart: ${z.join(", ")}`:"Settings saved and applied successfully.";Ce({type:"success",message:W}),setTimeout(()=>Ce(null),5e3)}catch(l){if(Ce({type:"error",message:l.message}),l.details&&Array.isArray(l.details)){const z={};l.details.forEach(W=>{const C=W.path.join(".");z[C]=W.message}),Ze(z)}}finally{lt(!1)}}};return t?i.jsx("div",{className:"p-8 text-red-500",children:"Failed to load configuration"}):u?i.jsxs("div",{className:"max-w-4xl mx-auto p-0 md:p-6 space-y-6",children:[i.jsxs("div",{className:"flex justify-between items-center flex-wrap gap-3",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx("div",{className:"w-10 h-10 rounded-lg bg-azure-primary/10 dark:bg-matrix-highlight/10 border border-azure-primary/20 dark:border-matrix-highlight/30 flex items-center justify-center",children:i.jsx($r,{className:"w-5 h-5 text-azure-primary dark:text-matrix-highlight"})}),i.jsxs("div",{children:[i.jsx("h1",{className:"text-xl font-bold text-azure-text dark:text-matrix-highlight",children:"Zaion Settings"}),i.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-tertiary",children:"Configure agents, models, channels, and runtime behavior."})]})]}),i.jsx("button",{onClick:wr,disabled:!ct||Object.keys(q).length>0||st,className:`px-4 py-2 rounded font-medium transition-colors ${ct&&Object.keys(q).length===0?"bg-azure-primary text-white hover:bg-azure-active dark:bg-matrix-highlight dark:text-black dark:hover:bg-matrix-highlight/90":"bg-azure-border text-azure-text-secondary cursor-not-allowed dark:bg-matrix-primary/50 dark:text-matrix-highlight/50"}`,children:st?"Saving...":"Save Changes"})]}),Ke&&i.jsxs("div",{className:`flex items-start justify-between gap-3 p-4 rounded border ${Ke.type==="success"?"border-azure-primary text-azure-primary bg-azure-primary/10 dark:border-matrix-highlight dark:text-matrix-highlight dark:bg-matrix-highlight/10":"border-red-500 text-red-500 bg-red-900/10"}`,children:[i.jsx("span",{className:"text-sm",children:Ke.message}),i.jsx("button",{type:"button",onClick:()=>Ce(null),className:"shrink-0 opacity-60 hover:opacity-100 transition-opacity","aria-label":"Dismiss",children:i.jsx(Ar,{className:"w-4 h-4"})})]}),i.jsx("div",{className:"overflow-x-auto py-1 hide-scrollbar",children:i.jsx("div",{className:"flex space-x-1 border-b border-azure-border dark:border-matrix-primary pb-px min-w-max",children:Is.map(l=>i.jsxs("button",{onClick:()=>pr(l.id),className:`px-4 py-2 text-sm font-medium rounded-t-md transition-colors flex-shrink-0 flex items-center gap-1.5 ${re===l.id?"bg-azure-surface/50 text-azure-primary border-t border-x border-azure-border dark:bg-matrix-primary/20 dark:text-matrix-highlight dark:border-t dark:border-x dark:border-matrix-primary":"text-azure-text-secondary hover:text-azure-primary dark:text-matrix-secondary dark:hover:text-matrix-highlight"}`,children:[l.label,hr[l.id]&&i.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-amber-400 shrink-0"})]},l.id))})}),i.jsxs("div",{className:"space-y-6",children:[re==="general"&&i.jsxs(J,{title:"Agent Identity",children:[i.jsx(k,{label:"Agent Name",value:u.agent.name,onChange:l=>v(["agent","name"],l.target.value),error:q["agent.name"]}),i.jsx(Ge,{label:"Personality",value:u.agent.personality,onChange:l=>v(["agent","personality"],l.target.value),error:q["agent.personality"],placeholder:"Describe the agent's personality or description..."}),i.jsx(F,{label:"Verbose Mode",value:u.verbose_mode!==!1?"true":"false",onChange:l=>v(["verbose_mode"],l.target.value==="true"),options:[{value:"true",label:"Enabled (notify tool execution on channels)"},{value:"false",label:"Disabled"}],helperText:"When enabled, channels like Telegram/Discord show which tools are being executed in real-time."})]}),re==="agents"&&i.jsxs("div",{className:"space-y-4",children:[i.jsx("div",{className:"flex space-x-1 border-b border-azure-border dark:border-matrix-primary pb-px",children:Ps.map(l=>i.jsx("button",{onClick:()=>fr(l.id),className:`px-4 py-2 text-sm font-medium rounded-t-md transition-colors ${he===l.id?"bg-azure-primary/10 text-azure-primary border-b-2 border-azure-primary dark:bg-matrix-highlight/10 dark:text-matrix-highlight dark:border-matrix-highlight":"text-azure-text-secondary hover:text-azure-primary dark:text-matrix-secondary dark:hover:text-matrix-highlight"}`,children:l.label},l.id))}),he==="oracle"&&i.jsxs(J,{title:"Oracle Agent",children:[i.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"Main orchestration agent — handles user requests and delegates to subagents"}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Provider"}),j("llm.provider")]}),i.jsx(F,{label:"",value:u.llm.provider,onChange:l=>v(["llm","provider"],l.target.value),options:Oe,error:q["llm.provider"],disabled:_("llm.provider")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Model Name"}),j("llm.model")]}),i.jsx(k,{label:"",value:u.llm.model,onChange:l=>v(["llm","model"],l.target.value),disabled:_("llm.model")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Temperature"}),j("llm.temperature")]}),i.jsx(O,{label:"",value:u.llm.temperature,onChange:l=>v(["llm","temperature"],parseFloat(l.target.value)),step:.1,min:0,max:1,error:q["llm.temperature"],disabled:_("llm.temperature")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Max Tokens"}),j("llm.max_tokens")]}),i.jsx(O,{label:"",value:u.llm.max_tokens??"",onChange:l=>v(["llm","max_tokens"],l.target.value?parseInt(l.target.value):void 0),min:1,error:q["llm.max_tokens"],helperText:"Maximum tokens per response. Leave empty for model default.",disabled:_("llm.max_tokens")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Context Window (Messages)"}),j("llm.context_window")]}),i.jsx(O,{label:"",value:u.llm.context_window??100,onChange:l=>v(["llm","context_window"],parseInt(l.target.value)),min:1,step:1,error:q["llm.context_window"],helperText:"Number of past interactions to load into LLM context (e.g., 100).",disabled:_("llm.context_window")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"API Key"}),i.jsxs("div",{className:"flex items-center gap-2",children:[j("llm.api_key"),ve("oracle",u.llm.api_key)]})]}),i.jsx(k,{label:"",type:"password",value:u.llm.api_key||"",onChange:l=>v(["llm","api_key"],l.target.value),placeholder:"sk-...",helperText:"Stored locally.",disabled:_("llm.api_key")}),u.llm.provider==="openrouter"&&i.jsx(k,{label:"Base URL",value:u.llm.base_url||"https://openrouter.ai/api/v1",onChange:l=>v(["llm","base_url"],l.target.value),placeholder:"https://openrouter.ai/api/v1",helperText:"Base URL for OpenRouter API"})]}),he==="sati"&&i.jsxs(J,{title:"Sati Agent",children:[i.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"Background memory consolidation agent — evaluates conversations and persists important context"}),i.jsxs("div",{className:"mb-4",children:[i.jsx("button",{type:"button",onClick:xr,className:"px-3 py-1.5 text-sm bg-azure-surface border border-azure-border rounded hover:bg-azure-primary/10 dark:bg-matrix-primary/20 dark:border-matrix-primary dark:hover:bg-matrix-highlight/10 text-azure-primary dark:text-matrix-highlight transition-colors",children:"Copy from Oracle Agent"}),i.jsx("p",{className:"text-xs text-azure-text-secondary dark:text-matrix-secondary mt-1",children:"Copy Provider, Model, and API Key from Oracle Agent configuration"})]}),y&&i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Provider"}),j("sati.provider")]}),i.jsx(F,{label:"",value:y.provider,onChange:l=>ie("provider",l.target.value),options:Oe,disabled:_("sati.provider")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Model Name"}),j("sati.model")]}),i.jsx(k,{label:"",value:y.model,onChange:l=>ie("model",l.target.value),disabled:_("sati.model")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"API Key"}),i.jsxs("div",{className:"flex items-center gap-2",children:[j("sati.api_key"),ve("sati",y.api_key)]})]}),i.jsx(k,{label:"",type:"password",value:y.api_key||"",onChange:l=>ie("api_key",l.target.value),placeholder:"sk-...",helperText:"Stored locally.",disabled:_("sati.api_key")}),y.provider==="openrouter"&&i.jsx(k,{label:"Base URL",value:y.base_url||"https://openrouter.ai/api/v1",onChange:l=>ie("base_url",l.target.value),placeholder:"https://openrouter.ai/api/v1",helperText:"Base URL for OpenRouter API"}),i.jsx(O,{label:"Memory Limit",value:y.memory_limit??10,onChange:l=>ie("memory_limit",parseInt(l.target.value)),min:1,step:1,helperText:"Number of memory items to retrieve from long-term storage."}),i.jsx(O,{label:"Evaluation Interval",value:y.evaluation_interval??1,onChange:l=>ie("evaluation_interval",parseInt(l.target.value)),min:1,step:1,helperText:"Oracle turns between memory evaluations. Default: 1 (every turn). *If Evaluation interval is more than context window, this value will be ignored."}),i.jsx(Q,{label:"Enable Archived Sessions in Memory Retrieval",checked:y.enabled_archived_sessions??!0,onChange:l=>ie("enabled_archived_sessions",l)}),i.jsxs("div",{children:[i.jsxs("div",{className:"flex items-center justify-between mb-1",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Similarity Threshold"}),i.jsx("span",{className:"text-sm font-mono text-azure-text-primary dark:text-matrix-highlight",children:(y.similarity_threshold??.9).toFixed(2)})]}),i.jsx("input",{type:"range",min:0,max:1,step:.01,value:y.similarity_threshold??.9,onChange:l=>ie("similarity_threshold",parseFloat(l.target.value)),className:`w-full h-1.5 rounded-full appearance-none cursor-pointer
|
|
40
|
-
bg-gray-200 dark:bg-matrix-primary/30
|
|
41
|
-
accent-azure-primary dark:accent-matrix-highlight`}),i.jsx("p",{className:"mt-1.5 text-xs text-gray-400 dark:text-matrix-secondary",children:"Minimum cosine similarity to consider a memory relevant (0–1). Lower values retrieve more memories, but may increase token consumption."})]})]})]}),he==="neo"&&i.jsxs(J,{title:"Neo Agent",children:[i.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"MCP + internal tools subagent — executes analytical and operational tasks delegated by Oracle"}),i.jsxs("div",{className:"mb-4",children:[i.jsx("button",{type:"button",onClick:_r,className:"px-3 py-1.5 text-sm bg-azure-surface border border-azure-border rounded hover:bg-azure-primary/10 dark:bg-matrix-primary/20 dark:border-matrix-primary dark:hover:bg-matrix-highlight/10 text-azure-primary dark:text-matrix-highlight transition-colors",children:"Copy from Oracle Agent"}),i.jsx("p",{className:"text-xs text-azure-text-secondary dark:text-matrix-secondary mt-1",children:"Copy Provider, Model, and API Key from Oracle Agent configuration"})]}),N&&i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Provider"}),j("neo.provider")]}),i.jsx(F,{label:"",value:N.provider,onChange:l=>oe("provider",l.target.value),options:Oe,disabled:_("neo.provider")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Model Name"}),j("neo.model")]}),i.jsx(k,{label:"",value:N.model,onChange:l=>oe("model",l.target.value),disabled:_("neo.model")}),i.jsx(k,{label:"Personality",value:N.personality||"analytical_engineer",onChange:l=>oe("personality",l.target.value),placeholder:"analytical_engineer",helperText:"e.g., analytical_engineer, meticulous_auditor, systems_thinker"}),i.jsx(F,{label:"Execution Mode",value:N.execution_mode||"async",onChange:l=>oe("execution_mode",l.target.value),options:[{value:"async",label:"Async (background task)"},{value:"sync",label:"Sync (inline response)"}]}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Temperature"}),j("neo.temperature")]}),i.jsx(O,{label:"",value:N.temperature,onChange:l=>oe("temperature",parseFloat(l.target.value)),step:.1,min:0,max:1,disabled:_("neo.temperature")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Max Tokens"}),j("neo.max_tokens")]}),i.jsx(O,{label:"",value:N.max_tokens??"",onChange:l=>oe("max_tokens",l.target.value?parseInt(l.target.value):void 0),min:1,helperText:"Maximum tokens per response. Leave empty for model default.",disabled:_("neo.max_tokens")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Context Window (Messages)"}),j("neo.context_window")]}),i.jsx(O,{label:"",value:N.context_window??100,onChange:l=>oe("context_window",parseInt(l.target.value)),min:1,step:1,disabled:_("neo.context_window")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"API Key"}),i.jsxs("div",{className:"flex items-center gap-2",children:[j("neo.api_key"),ve("neo",N.api_key)]})]}),i.jsx(k,{label:"",type:"password",value:N.api_key||"",onChange:l=>oe("api_key",l.target.value),placeholder:"sk-...",helperText:"Stored locally.",disabled:_("neo.api_key")}),N.provider==="openrouter"&&i.jsx(k,{label:"Base URL",value:N.base_url||"https://openrouter.ai/api/v1",onChange:l=>oe("base_url",l.target.value),placeholder:"https://openrouter.ai/api/v1",helperText:"Base URL for OpenRouter API"})]})]}),he==="trinity"&&i.jsxs(J,{title:"Trinity Agent",children:[i.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"Database subagent — interprets natural language queries and executes them against registered databases (PostgreSQL, MySQL, SQLite, MongoDB)"}),i.jsxs("div",{className:"mb-4",children:[i.jsx("button",{type:"button",onClick:vr,className:"px-3 py-1.5 text-sm bg-azure-surface border border-azure-border rounded hover:bg-azure-primary/10 dark:bg-matrix-primary/20 dark:border-matrix-primary dark:hover:bg-matrix-highlight/10 text-azure-primary dark:text-matrix-highlight transition-colors",children:"Copy from Oracle Agent"}),i.jsx("p",{className:"text-xs text-azure-text-secondary dark:text-matrix-secondary mt-1",children:"Copy Provider, Model, and API Key from Oracle Agent configuration"})]}),w&&i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Provider"}),j("trinity.provider")]}),i.jsx(F,{label:"",value:w.provider,onChange:l=>le("provider",l.target.value),options:Oe,disabled:_("trinity.provider")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Model Name"}),j("trinity.model")]}),i.jsx(k,{label:"",value:w.model,onChange:l=>le("model",l.target.value),disabled:_("trinity.model")}),i.jsx(k,{label:"Personality",value:w.personality||"data_specialist",onChange:l=>le("personality",l.target.value),placeholder:"data_specialist",helperText:"e.g., data_specialist, query_optimizer, db_architect"}),i.jsx(F,{label:"Execution Mode",value:w.execution_mode||"async",onChange:l=>le("execution_mode",l.target.value),options:[{value:"async",label:"Async (background task)"},{value:"sync",label:"Sync (inline response)"}]}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Temperature"}),j("trinity.temperature")]}),i.jsx(O,{label:"",value:w.temperature,onChange:l=>le("temperature",parseFloat(l.target.value)),step:.1,min:0,max:1,disabled:_("trinity.temperature")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Max Tokens"}),j("trinity.max_tokens")]}),i.jsx(O,{label:"",value:w.max_tokens??"",onChange:l=>le("max_tokens",l.target.value?parseInt(l.target.value):void 0),min:1,helperText:"Maximum tokens per response. Leave empty for model default.",disabled:_("trinity.max_tokens")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"API Key"}),i.jsxs("div",{className:"flex items-center gap-2",children:[j("trinity.api_key"),ve("trinity",w.api_key)]})]}),i.jsx(k,{label:"",type:"password",value:w.api_key||"",onChange:l=>le("api_key",l.target.value),placeholder:"sk-...",helperText:"Stored locally.",disabled:_("trinity.api_key")}),w.provider==="openrouter"&&i.jsx(k,{label:"Base URL",value:w.base_url||"https://openrouter.ai/api/v1",onChange:l=>le("base_url",l.target.value),placeholder:"https://openrouter.ai/api/v1",helperText:"Base URL for OpenRouter API"})]})]}),he==="link"&&i.jsxs(J,{title:"Link Agent",children:[i.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"Documentation specialist — indexes documents from ~/.morpheus/docs, uses an LLM to reason over search results and synthesize intelligent answers"}),T&&i.jsxs(i.Fragment,{children:[i.jsx("div",{className:"mb-4",children:i.jsx("button",{type:"button",onClick:kr,className:"px-3 py-1.5 text-sm bg-azure-surface border border-azure-border rounded hover:bg-azure-primary/10 dark:bg-matrix-primary/20 dark:border-matrix-primary dark:hover:bg-matrix-highlight/10 text-azure-primary dark:text-matrix-highlight transition-colors",children:"Copy from Oracle Agent"})}),i.jsx(F,{label:"Provider",value:T.provider||"openai",onChange:l=>Y("provider",l.target.value),options:[{value:"openai",label:"OpenAI"},{value:"anthropic",label:"Anthropic"},{value:"openrouter",label:"OpenRouter"},{value:"ollama",label:"Ollama"},{value:"gemini",label:"Gemini"}]}),i.jsx(k,{label:"Model Name",value:T.model||"",onChange:l=>Y("model",l.target.value),placeholder:"e.g., gpt-4"}),i.jsx(k,{label:"Personality",value:T.personality||"",onChange:l=>Y("personality",l.target.value),placeholder:"documentation_specialist"}),i.jsx(F,{label:"Execution Mode",value:T.execution_mode||"async",onChange:l=>Y("execution_mode",l.target.value),options:[{value:"async",label:"Async (background task)"},{value:"sync",label:"Sync (inline response)"}]}),i.jsx(O,{label:"Temperature",value:T.temperature??.2,onChange:l=>Y("temperature",parseFloat(l.target.value)),step:.1,min:0,max:1}),i.jsx(k,{label:"API Key (optional — falls back to Oracle)",value:T.api_key||"",onChange:l=>Y("api_key",l.target.value||void 0),type:"password",placeholder:"Leave empty to use Oracle's API key"}),i.jsx("h4",{className:"text-sm font-medium text-azure-text dark:text-matrix-highlight mt-6 mb-3",children:"RAG Settings"}),i.jsx(O,{label:"Chunk Size",value:T.chunk_size,onChange:l=>Y("chunk_size",parseInt(l.target.value)||500),min:100,max:2e3,helperText:"Character count per document chunk (default: 500)"}),i.jsx(O,{label:"Score Threshold",value:T.score_threshold,onChange:l=>Y("score_threshold",parseFloat(l.target.value)||.5),step:.1,min:0,max:1,helperText:"Minimum similarity score to include in results (0-1, default: 0.5)"}),i.jsx(O,{label:"Max Results",value:T.max_results,onChange:l=>Y("max_results",parseInt(l.target.value)||10),min:1,max:50,helperText:"Maximum number of chunks to return per search (default: 10)"}),i.jsx(O,{label:"Scan Interval (ms)",value:T.scan_interval_ms,onChange:l=>Y("scan_interval_ms",parseInt(l.target.value)||3e4),min:5e3,max:3e5,helperText:"How often to scan docs folder for changes (default: 30000ms = 30s)"}),i.jsx(O,{label:"Max File Size (MB)",value:T.max_file_size_mb,onChange:l=>Y("max_file_size_mb",parseInt(l.target.value)||50),min:1,max:100,helperText:"Maximum file size to process (default: 50MB)"}),i.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[i.jsx(O,{label:"Vector Weight",value:T.vector_weight,onChange:l=>Y("vector_weight",parseFloat(l.target.value)||.8),step:.1,min:0,max:1,helperText:"Weight for vector similarity (default: 0.8)"}),i.jsx(O,{label:"BM25 Weight",value:T.bm25_weight,onChange:l=>Y("bm25_weight",parseFloat(l.target.value)||.2),step:.1,min:0,max:1,helperText:"Weight for keyword matching (default: 0.2)"})]}),i.jsx("p",{className:"text-xs text-azure-text-secondary dark:text-matrix-secondary mt-2",children:"Note: Vector weight + BM25 weight should equal 1.0 for balanced results"})]})]}),he==="apoc"&&i.jsxs(J,{title:"Apoc Agent",children:[i.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"DevTools subagent — executes file, shell, git, network, and system operations on behalf of Oracle"}),i.jsxs("div",{className:"mb-4",children:[i.jsx("button",{type:"button",onClick:yr,className:"px-3 py-1.5 text-sm bg-azure-surface border border-azure-border rounded hover:bg-azure-primary/10 dark:bg-matrix-primary/20 dark:border-matrix-primary dark:hover:bg-matrix-highlight/10 text-azure-primary dark:text-matrix-highlight transition-colors",children:"Copy from Oracle Agent"}),i.jsx("p",{className:"text-xs text-azure-text-secondary dark:text-matrix-secondary mt-1",children:"Copy Provider, Model, and API Key from Oracle Agent configuration"})]}),E&&i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Provider"}),j("apoc.provider")]}),i.jsx(F,{label:"",value:E.provider,onChange:l=>se("provider",l.target.value),options:Oe,disabled:_("apoc.provider")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Model Name"}),j("apoc.model")]}),i.jsx(k,{label:"",value:E.model,onChange:l=>se("model",l.target.value),disabled:_("apoc.model")}),i.jsx(k,{label:"Personality",value:E.personality||"pragmatic_dev",onChange:l=>se("personality",l.target.value),placeholder:"pragmatic_dev",helperText:"e.g., pragmatic_dev, cautious_admin, automation_specialist"}),i.jsx(F,{label:"Execution Mode",value:E.execution_mode||"async",onChange:l=>se("execution_mode",l.target.value),options:[{value:"async",label:"Async (background task)"},{value:"sync",label:"Sync (inline response)"}]}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Temperature"}),j("apoc.temperature")]}),i.jsx(O,{label:"",value:E.temperature,onChange:l=>se("temperature",parseFloat(l.target.value)),step:.1,min:0,max:1,disabled:_("apoc.temperature")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"API Key"}),i.jsxs("div",{className:"flex items-center gap-2",children:[j("apoc.api_key"),ve("apoc",E.api_key)]})]}),i.jsx(k,{label:"",type:"password",value:E.api_key||"",onChange:l=>se("api_key",l.target.value),placeholder:"sk-...",helperText:"Stored locally.",disabled:_("apoc.api_key")}),E.provider==="openrouter"&&i.jsx(k,{label:"Base URL",value:E.base_url||"https://openrouter.ai/api/v1",onChange:l=>se("base_url",l.target.value),placeholder:"https://openrouter.ai/api/v1",helperText:"Base URL for OpenRouter API"}),i.jsx(O,{label:"Timeout (ms)",value:E.timeout_ms??3e4,onChange:l=>se("timeout_ms",parseInt(l.target.value)),min:1e3,step:1e3,helperText:"Maximum execution time for shell and system operations in milliseconds."})]})]})]}),re==="devkit"&&i.jsxs(i.Fragment,{children:[i.jsxs(J,{title:"DevKit Security",children:[i.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"Shared security configuration for DevKit tools used by Apoc. Controls path sandboxing, shell command restrictions, and tool category access."}),i.jsx(k,{label:"Sandbox Directory",value:u.devkit?.sandbox_dir||"",onChange:l=>v(["devkit","sandbox_dir"],l.target.value),placeholder:typeof window<"u"?"(defaults to process.cwd())":"",helperText:"Root directory for all DevKit operations. All file, shell, and git paths are confined here.",disabled:_("devkit.sandbox_dir")}),i.jsx(Ge,{label:"Allowed Paths",value:u.devkit?.allowed_paths?.join(`
|
|
42
|
-
`)||"",onChange:l=>v(["devkit","allowed_paths"],l.target.value.split(`
|
|
43
|
-
`).map(z=>z.trim()).filter(Boolean)),placeholder:"~/.morpheus/docs",helperText:"Additional paths outside sandbox_dir that DevKit can access (one per line).",rows:4}),i.jsx(F,{label:"Read-Only Mode",value:u.devkit?.readonly_mode?"true":"false",onChange:l=>v(["devkit","readonly_mode"],l.target.value==="true"),options:[{value:"false",label:"Disabled (read + write)"},{value:"true",label:"Enabled (read-only, blocks writes/deletes)"}],helperText:"When enabled, blocks all write, delete, and create operations on the filesystem.",disabled:_("devkit.readonly_mode")}),i.jsx(O,{label:"Timeout (ms)",value:u.devkit?.timeout_ms??3e4,onChange:l=>v(["devkit","timeout_ms"],parseInt(l.target.value)),min:1e3,step:1e3,helperText:"Default timeout for shell and system operations in milliseconds.",disabled:_("devkit.timeout_ms")})]}),i.jsxs(J,{title:"Tool Categories",children:[i.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"Enable or disable entire categories of DevKit tools."}),i.jsx(Q,{label:"Filesystem (read, write, list, copy, move, delete files)",checked:u.devkit?.enable_filesystem!==!1,onChange:l=>v(["devkit","enable_filesystem"],l)}),i.jsx(Q,{label:"Shell (run_command, run_script, which)",checked:u.devkit?.enable_shell!==!1,onChange:l=>v(["devkit","enable_shell"],l)}),i.jsx(Q,{label:"Git (status, diff, commit, push, pull, clone, branch)",checked:u.devkit?.enable_git!==!1,onChange:l=>v(["devkit","enable_git"],l)}),i.jsx(Q,{label:"Network (http_request, ping, dns_lookup, download_file)",checked:u.devkit?.enable_network!==!1,onChange:l=>v(["devkit","enable_network"],l)})]}),i.jsxs(J,{title:"Shell Command Allowlist",children:[i.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"Restrict which shell commands Apoc can execute. Leave empty to allow all commands (default)."}),i.jsx(k,{label:"Allowed Commands",value:(u.devkit?.allowed_shell_commands||[]).join(", "),onChange:l=>v(["devkit","allowed_shell_commands"],l.target.value.split(",").map(z=>z.trim()).filter(Boolean)),placeholder:"e.g. node, npm, git, python, cargo",helperText:"Comma-separated list of allowed binary names. Empty = all commands allowed.",disabled:_("devkit.allowed_shell_commands")})]})]}),re==="gws"&&i.jsxs(J,{title:"Google Workspace",children:[i.jsx("p",{className:"text-sm text-azure-text-secondary dark:text-matrix-secondary mb-4",children:"Configure Google Workspace integration for Sheet, Calendar, and Drive tools."}),i.jsx(Q,{label:"Enable GWS Skill Initialization",checked:u.gws?.enabled!==!1,onChange:l=>v(["gws","enabled"],l),helperText:"When enabled, GWS skills are automatically synchronized during startup."}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Service Account JSON"}),j("gws.service_account_json")]}),i.jsx(Ge,{label:"",value:u.gws?.service_account_json_content||"",onChange:l=>v(["gws","service_account_json_content"],l.target.value),placeholder:'{ "type": "service_account", ... }',helperText:"Paste your Google Service Account JSON key content here. It will be saved securely to ~/.morpheus/gws/credentials.json",disabled:_("gws.service_account_json"),rows:8}),u.gws?.service_account_json&&!u.gws?.service_account_json_content&&i.jsxs("p",{className:"text-xs text-emerald-600 dark:text-emerald-400 mt-1",children:["✅ Credentials file present at: ",u.gws.service_account_json]})]}),re==="audio"&&i.jsxs(i.Fragment,{children:[i.jsxs(J,{title:"Audio Transcription",children:[i.jsx(Q,{label:"Enable Audio",checked:u.audio.enabled,onChange:l=>v(["audio","enabled"],l)}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Provider"}),j("audio.provider")]}),i.jsx(F,{label:"",value:u.audio.provider||"google",onChange:l=>v(["audio","provider"],l.target.value),options:[{label:"Google Gemini",value:"google"},{label:"OpenAI (Whisper)",value:"openai"},{label:"OpenRouter (multimodal)",value:"openrouter"},{label:"Ollama (Whisper local)",value:"ollama"}],error:q["audio.provider"],disabled:_("audio.provider")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Model"}),j("audio.model")]}),i.jsx(k,{label:"",value:u.audio.model,onChange:l=>v(["audio","model"],l.target.value),placeholder:"e.g. whisper-1, gemini-2.5-flash-lite...",helperText:"Model to use for audio transcription.",error:q["audio.model"],disabled:_("audio.model")}),u.audio.provider==="ollama"&&i.jsx(k,{label:"Base URL",value:u.audio.base_url||"",onChange:l=>v(["audio","base_url"],l.target.value),placeholder:"http://localhost:11434",helperText:"Ollama base URL. Requires a Whisper model loaded (ollama pull whisper)."}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"API Key"}),i.jsxs("div",{className:"flex items-center gap-2",children:[j("audio.apiKey"),ve("audio",u.audio.apiKey)]})]}),i.jsx(k,{label:"",type:"password",value:u.audio.apiKey||"",onChange:l=>v(["audio","apiKey"],l.target.value),placeholder:"If different from LLM key...",helperText:"Leave empty to use LLM API key if using the same provider.",disabled:_("audio.apiKey")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Max Duration (Seconds)"}),j("audio.maxDurationSeconds")]}),i.jsx(O,{label:"",value:u.audio.maxDurationSeconds,onChange:l=>v(["audio","maxDurationSeconds"],parseInt(l.target.value)),min:1,disabled:_("audio.maxDurationSeconds")}),i.jsx(k,{label:"Supported Mime Types",value:u.audio.supportedMimeTypes.join(", "),onChange:l=>v(["audio","supportedMimeTypes"],l.target.value.split(",").map(z=>z.trim()).filter(Boolean)),helperText:"Comma separated list (e.g. audio/ogg, audio/mp3)"})]}),i.jsxs(J,{title:"Audio Response (TTS)",children:[i.jsx(Q,{label:"Enable Voice Responses",checked:u.audio.tts?.enabled??!1,onChange:l=>v(["audio","tts","enabled"],l)}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"TTS Provider"}),j("audio.tts.provider")]}),i.jsx(F,{label:"",value:u.audio.tts?.provider||"openai",onChange:l=>v(["audio","tts","provider"],l.target.value),options:[{label:"Google Gemini",value:"google"}],error:q["audio.tts.provider"],disabled:_("audio.tts.provider")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"TTS Model"}),j("audio.tts.model")]}),i.jsx(k,{label:"",value:u.audio.tts?.model||"gemini-2.5-flash-preview-tts",onChange:l=>v(["audio","tts","model"],l.target.value),placeholder:"e.g. gemini-2.5-flash-preview-tts, tts-1...",helperText:"Google: gemini-2.5-flash-preview-tts. OpenAI: tts-1, tts-1-hd.",error:q["audio.tts.model"],disabled:_("audio.tts.model")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"Voice"}),j("audio.tts.voice")]}),u.audio.tts?.provider==="openai"?i.jsx(F,{label:"",value:u.audio.tts?.voice||"alloy",onChange:l=>v(["audio","tts","voice"],l.target.value),options:[{label:"Alloy",value:"alloy"},{label:"Echo",value:"echo"},{label:"Fable",value:"fable"},{label:"Onyx",value:"onyx"},{label:"Nova",value:"nova"},{label:"Shimmer",value:"shimmer"},{label:"Ash",value:"ash"},{label:"Ballad",value:"ballad"},{label:"Coral",value:"coral"},{label:"Sage",value:"sage"}],error:q["audio.tts.voice"],disabled:_("audio.tts.voice")}):i.jsxs(i.Fragment,{children:[i.jsx(F,{label:"",value:u.audio.tts?.voice||"Kore",onChange:l=>v(["audio","tts","voice"],l.target.value),options:[{label:"Achernar (F)",value:"Achernar"},{label:"Achird (M)",value:"Achird"},{label:"Algenib (M)",value:"Algenib"},{label:"Algieba (M)",value:"Algieba"},{label:"Alnilam (M)",value:"Alnilam"},{label:"Aoede (F)",value:"Aoede"},{label:"Autonoe (F)",value:"Autonoe"},{label:"Callirrhoe (F)",value:"Callirrhoe"},{label:"Charon (M)",value:"Charon"},{label:"Despina (F)",value:"Despina"},{label:"Enceladus (M)",value:"Enceladus"},{label:"Erinome (F)",value:"Erinome"},{label:"Fenrir (M)",value:"Fenrir"},{label:"Gacrux (F)",value:"Gacrux"},{label:"Iapetus (M)",value:"Iapetus"},{label:"Kore (F)",value:"Kore"},{label:"Laomedeia (F)",value:"Laomedeia"},{label:"Leda (F)",value:"Leda"},{label:"Orus (M)",value:"Orus"},{label:"Pulcherrima (F)",value:"Pulcherrima"},{label:"Puck (M)",value:"Puck"},{label:"Rasalgethi (M)",value:"Rasalgethi"},{label:"Sadachbia (M)",value:"Sadachbia"},{label:"Sadaltager (M)",value:"Sadaltager"},{label:"Schedar (M)",value:"Schedar"},{label:"Sulafat (F)",value:"Sulafat"},{label:"Umbriel (M)",value:"Umbriel"},{label:"Vindemiatrix (F)",value:"Vindemiatrix"},{label:"Zephyr (F)",value:"Zephyr"},{label:"Zubenelgenubi (M)",value:"Zubenelgenubi"}],error:q["audio.tts.voice"],disabled:_("audio.tts.voice")}),i.jsxs("p",{className:"text-xs text-azure-text-secondary dark:text-matrix-tertiary mt-1",children:["Listen examples in"," ",i.jsx("a",{href:"https://docs.cloud.google.com/text-to-speech/docs/gemini-tts#voice_options",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-azure-text-primary dark:hover:text-matrix-secondary",children:"Google TTS Voice Options"})]})]}),i.jsx(k,{label:"Style Prompt",value:u.audio.tts?.style_prompt||"",onChange:l=>v(["audio","tts","style_prompt"],l.target.value),placeholder:"e.g. fale de forma calma e pausada",helperText:"Instrução de tom/estilo aplicada antes de cada resposta. Ex: fale animado, fale devagar, fale com entusiasmo.",disabled:_("audio.tts.style_prompt")}),i.jsxs("div",{className:"flex items-center justify-between",children:[i.jsx("label",{className:"block text-sm font-medium text-azure-text-primary dark:text-matrix-secondary",children:"TTS API Key"}),i.jsx("div",{className:"flex items-center gap-2",children:j("audio.tts.apiKey")})]}),i.jsx(k,{label:"",type:"password",value:u.audio.tts?.apiKey||"",onChange:l=>v(["audio","tts","apiKey"],l.target.value),placeholder:"If different from STT or LLM key...",helperText:"Leave empty to use the STT API key or LLM API key.",disabled:_("audio.tts.apiKey")})]})]}),re==="channels"&&i.jsxs(i.Fragment,{children:[i.jsxs(J,{title:"Telegram",children:[i.jsx(Q,{label:"Enable Telegram",checked:u.channels.telegram.enabled,onChange:l=>v(["channels","telegram","enabled"],l)}),u.channels.telegram.enabled&&i.jsxs("div",{className:"space-y-4 mt-4 pl-4 border-l border-matrix-primary",children:[i.jsx(k,{label:"Bot Token",type:"password",value:u.channels.telegram.token||"",onChange:l=>v(["channels","telegram","token"],l.target.value)}),i.jsx(k,{label:"Allowed Users (comma separated)",value:u.channels.telegram.allowedUsers.join(", "),onChange:l=>v(["channels","telegram","allowedUsers"],l.target.value.split(",").map(z=>z.trim()).filter(Boolean)),helperText:"User IDs allowed to interact with the bot"})]})]}),i.jsxs(J,{title:"Discord",children:[i.jsx(Q,{label:"Enable Discord",checked:u.channels.discord.enabled,onChange:l=>v(["channels","discord","enabled"],l)}),u.channels.discord.enabled&&i.jsxs("div",{className:"space-y-4 mt-4 pl-4 border-l border-matrix-primary",children:[i.jsx(k,{label:"Bot Token",type:"password",value:u.channels.discord.token||"",onChange:l=>v(["channels","discord","token"],l.target.value)}),i.jsx(k,{label:"Allowed Users (comma separated)",value:(u.channels.discord.allowedUsers??[]).join(", "),onChange:l=>v(["channels","discord","allowedUsers"],l.target.value.split(",").map(z=>z.trim()).filter(Boolean)),helperText:"Discord user IDs allowed to interact with the bot"})]})]})]}),re==="ui"&&i.jsxs(i.Fragment,{children:[i.jsxs(J,{title:"Dashboard",children:[i.jsx(Q,{label:"Enable Web UI",checked:u.ui.enabled,onChange:l=>v(["ui","enabled"],l)}),i.jsx(O,{label:"Port",value:u.ui.port,onChange:l=>v(["ui","port"],parseInt(l.target.value)),disabled:!0,helperText:"Port changes require daemon restart."})]}),i.jsx(J,{title:"Display Currency",children:(()=>{const l=u.currency?.code??"USD",W=Ve.some(C=>C.code===l&&C.code!=="OTHER")?l:"OTHER";return i.jsxs(i.Fragment,{children:[i.jsx(F,{label:"Currency",value:W,onChange:C=>br(C.target.value),options:Ve.map(C=>({value:C.code,label:C.label})),helperText:"Costs are always stored in USD. The selected currency is used for display only."}),W==="OTHER"&&i.jsxs(i.Fragment,{children:[i.jsx(k,{label:"Currency Code",value:l,onChange:C=>v(["currency","code"],C.target.value.toUpperCase()),helperText:"ISO 4217 code (e.g. MXN, CNY, INR)."}),i.jsx(k,{label:"Currency Symbol",value:u.currency?.symbol??"",onChange:C=>v(["currency","symbol"],C.target.value),helperText:"Symbol shown in cost displays (e.g. MX$, ¥, ₹)."})]}),i.jsx(O,{label:"Conversion Rate (from USD)",value:u.currency?.rate??1,onChange:C=>v(["currency","rate"],parseFloat(C.target.value)||1),min:1e-4,step:.01,helperText:"Multiply USD values by this rate. Example: 5.25 for BRL. Use 1.0 for USD (no conversion)."})]})})()})]}),re==="logging"&&i.jsxs(J,{title:"Logging",children:[i.jsx(Q,{label:"Enable Logging",checked:u.logging.enabled,onChange:l=>v(["logging","enabled"],l)}),i.jsx(F,{label:"Log Level",value:u.logging.level,onChange:l=>v(["logging","level"],l.target.value),options:[{label:"Debug",value:"debug"},{label:"Info",value:"info"},{label:"Warning",value:"warn"},{label:"Error",value:"error"}]})]}),re==="chronos"&&f&&i.jsxs(J,{title:"Chronos — Temporal Intent Engine",children:[i.jsx(F,{label:"Timezone",value:f.timezone,onChange:l=>h({...f,timezone:l.target.value}),options:[{label:"UTC",value:"UTC"},{label:"America/New_York",value:"America/New_York"},{label:"America/Chicago",value:"America/Chicago"},{label:"America/Denver",value:"America/Denver"},{label:"America/Los_Angeles",value:"America/Los_Angeles"},{label:"America/Sao_Paulo",value:"America/Sao_Paulo"},{label:"America/Buenos_Aires",value:"America/Buenos_Aires"},{label:"America/Bogota",value:"America/Bogota"},{label:"America/Lima",value:"America/Lima"},{label:"America/Santiago",value:"America/Santiago"},{label:"America/Mexico_City",value:"America/Mexico_City"},{label:"America/Toronto",value:"America/Toronto"},{label:"America/Vancouver",value:"America/Vancouver"},{label:"Europe/London",value:"Europe/London"},{label:"Europe/Paris",value:"Europe/Paris"},{label:"Europe/Berlin",value:"Europe/Berlin"},{label:"Europe/Madrid",value:"Europe/Madrid"},{label:"Europe/Rome",value:"Europe/Rome"},{label:"Europe/Amsterdam",value:"Europe/Amsterdam"},{label:"Europe/Brussels",value:"Europe/Brussels"},{label:"Europe/Zurich",value:"Europe/Zurich"},{label:"Europe/Lisbon",value:"Europe/Lisbon"},{label:"Europe/Warsaw",value:"Europe/Warsaw"},{label:"Europe/Stockholm",value:"Europe/Stockholm"},{label:"Europe/Helsinki",value:"Europe/Helsinki"},{label:"Europe/Moscow",value:"Europe/Moscow"},{label:"Asia/Dubai",value:"Asia/Dubai"},{label:"Asia/Kolkata",value:"Asia/Kolkata"},{label:"Asia/Bangkok",value:"Asia/Bangkok"},{label:"Asia/Singapore",value:"Asia/Singapore"},{label:"Asia/Hong_Kong",value:"Asia/Hong_Kong"},{label:"Asia/Shanghai",value:"Asia/Shanghai"},{label:"Asia/Tokyo",value:"Asia/Tokyo"},{label:"Asia/Seoul",value:"Asia/Seoul"},{label:"Australia/Sydney",value:"Australia/Sydney"},{label:"Australia/Melbourne",value:"Australia/Melbourne"},{label:"Pacific/Auckland",value:"Pacific/Auckland"},{label:"Africa/Cairo",value:"Africa/Cairo"},{label:"Africa/Johannesburg",value:"Africa/Johannesburg"}]}),i.jsx(O,{label:"Check Interval (seconds)",value:Math.round(f.check_interval_ms/1e3),onChange:l=>h({...f,check_interval_ms:Number(l.target.value)*1e3}),min:60}),i.jsx(O,{label:"Max Active Jobs",value:f.max_active_jobs,onChange:l=>h({...f,max_active_jobs:Number(l.target.value)}),min:1,max:1e3})]}),re==="danger"&&i.jsx(Rs,{})]})]}):i.jsx("div",{className:"p-8 text-azure-primary dark:text-matrix-highlight",children:"Loading settings..."})}const xe=[{id:"sessions",label:"Sessions & Messages",description:"All chat sessions and their messages"},{id:"memories",label:"Long-term Memories",description:"Sati knowledge base, embeddings, and archived session chunks"},{id:"tasks",label:"Tasks",description:"Background task queue and execution results"},{id:"audit",label:"Audit Logs",description:"All agent and tool audit events"},{id:"chronos",label:"Chronos Jobs",description:"Scheduled jobs and their execution history"},{id:"webhooks",label:"Webhooks",description:"Webhook definitions and notification history"}];function Rs(){const[e,t]=I.useState(new Set),[r,n]=I.useState(!1),[a,s]=I.useState(!1),[o,c]=I.useState(null),d=u=>{t(b=>{const y=new Set(b);return y.has(u)?y.delete(u):y.add(u),y})},p=()=>{e.size===xe.length?t(new Set):t(new Set(xe.map(u=>u.id)))},f=async()=>{if(e.size!==0){s(!0),c(null);try{const u=await Es.resetData([...e]);c({success:!0,message:u.message}),t(new Set),ue(()=>!0,void 0,{revalidate:!0})}catch(u){c({success:!1,message:u instanceof Error?u.message:"Failed to reset data"})}finally{s(!1)}}},h=xe.filter(u=>e.has(u.id)).map(u=>u.label);return i.jsxs(i.Fragment,{children:[i.jsxs("div",{className:"rounded-lg border-2 border-red-300 dark:border-red-900 bg-red-50 dark:bg-red-950/20 p-6 space-y-5",children:[i.jsxs("div",{className:"flex items-center gap-3",children:[i.jsx(Tr,{className:"w-6 h-6 text-red-500 dark:text-red-400 shrink-0"}),i.jsx("h3",{className:"text-lg font-semibold text-red-700 dark:text-red-400",children:"Danger Zone"})]}),i.jsxs("p",{className:"text-sm text-red-600 dark:text-red-300/80",children:["Select the data you want to permanently delete. These actions are ",i.jsx("strong",{children:"irreversible"}),"."]}),i.jsxs("div",{className:"rounded-md border border-red-200 dark:border-red-900/60 bg-white dark:bg-black p-4 space-y-3",children:[i.jsxs("label",{className:"flex items-center gap-3 pb-2 border-b border-red-100 dark:border-red-900/40 cursor-pointer select-none",children:[i.jsx("input",{type:"checkbox",checked:e.size===xe.length,onChange:p,className:`w-4 h-4 rounded border-red-300 text-red-600 focus:ring-red-500
|
|
44
|
-
dark:border-red-800 dark:bg-black dark:checked:bg-red-600`}),i.jsx("span",{className:"text-sm font-medium text-red-700 dark:text-red-400",children:"Select all"})]}),xe.map(u=>i.jsxs("label",{className:"flex items-start gap-3 cursor-pointer select-none",children:[i.jsx("input",{type:"checkbox",checked:e.has(u.id),onChange:()=>d(u.id),className:`w-4 h-4 mt-0.5 rounded border-red-300 text-red-600 focus:ring-red-500
|
|
45
|
-
dark:border-red-800 dark:bg-black dark:checked:bg-red-600`}),i.jsxs("div",{children:[i.jsx("span",{className:"text-sm font-medium text-red-700 dark:text-red-300",children:u.label}),i.jsx("p",{className:"text-xs text-red-500 dark:text-red-300/60",children:u.description})]})]},u.id))]}),i.jsxs("div",{className:"flex items-center justify-between gap-4",children:[i.jsx("p",{className:"text-xs text-red-500 dark:text-red-300/50",children:e.size===0?"No categories selected":`${e.size} of ${xe.length} selected`}),i.jsx("button",{onClick:()=>n(!0),disabled:a||e.size===0,className:`shrink-0 px-4 py-2 text-sm font-medium rounded-md
|
|
46
|
-
bg-red-600 text-white hover:bg-red-700
|
|
47
|
-
dark:bg-red-900/50 dark:text-red-200 dark:hover:bg-red-800/60
|
|
48
|
-
disabled:opacity-50 disabled:cursor-not-allowed
|
|
49
|
-
transition-colors`,children:a?"Resetting...":"Reset selected data"})]}),o&&i.jsx("div",{className:`rounded-md p-3 text-sm ${o.success?"bg-green-50 text-green-700 dark:bg-green-950/30 dark:text-green-400 border border-green-200 dark:border-green-900":"bg-red-100 text-red-700 dark:bg-red-950/40 dark:text-red-300 border border-red-300 dark:border-red-800"}`,children:o.message})]}),i.jsx(Or,{isOpen:r,onClose:()=>n(!1),onConfirm:f,title:"Reset selected data?",description:`This will permanently delete: ${h.join(", ")}. This action cannot be undone.`,confirmJson:"Yes, delete permanently",variant:"destructive"})]})}export{Gs as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:Helvetica,Courier New,Courier,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}body{--tw-bg-opacity: 1;background-color:rgb(240 244 248 / var(--tw-bg-opacity, 1));font-family:Helvetica,Courier New,Courier,monospace;--tw-text-opacity: 1;color:rgb(26 26 26 / var(--tw-text-opacity, 1));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s}body:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-secondary) / var(--tw-text-opacity, 1))}.dark body{background-color:rgb(var(--matrix-bg))}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgb(240 244 248 / var(--tw-bg-opacity, 1))}.dark ::-webkit-scrollbar-track{background-color:rgb(var(--matrix-bg))}::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(179 212 252 / var(--tw-bg-opacity, 1))}:is(.dark *)::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgb(var(--matrix-primary) / var(--tw-bg-opacity, 1))}::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(74 144 226 / var(--tw-bg-opacity, 1))}:is(.dark *)::-webkit-scrollbar-thumb:hover{--tw-bg-opacity: 1;background-color:rgb(var(--matrix-secondary) / var(--tw-bg-opacity, 1))}.container{width:100%}@media(min-width:640px){.container{max-width:640px}}@media(min-width:768px){.container{max-width:768px}}@media(min-width:1024px){.container{max-width:1024px}}@media(min-width:1280px){.container{max-width:1280px}}@media(min-width:1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.-right-1\.5{right:-.375rem}.-top-1\.5{top:-.375rem}.-top-10{top:-2.5rem}.bottom-0{bottom:0}.bottom-full{bottom:100%}.left-0{left:0}.left-1\/2{left:50%}.left-3{left:.75rem}.right-0{right:0}.right-2{right:.5rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-16{top:4rem}.top-2{top:.5rem}.top-3{top:.75rem}.top-4{top:1rem}.top-full{top:100%}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.col-span-2{grid-column:span 2 / span 2}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.-ml-1{margin-left:-.25rem}.mb-0\.5{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-2\.5{margin-bottom:.625rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-0\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-5{margin-left:1.25rem}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-1\.5{height:.375rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-24{height:6rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-72{height:18rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.max-h-36{max-height:9rem}.max-h-40{max-height:10rem}.max-h-44{max-height:11rem}.max-h-48{max-height:12rem}.max-h-52{max-height:13rem}.max-h-56{max-height:14rem}.max-h-64{max-height:16rem}.max-h-72{max-height:18rem}.max-h-\[65vh\]{max-height:65vh}.max-h-\[90vh\]{max-height:90vh}.min-h-0{min-height:0px}.min-h-\[80px\]{min-height:80px}.min-h-screen{min-height:100vh}.w-1\.5{width:.375rem}.w-10{width:2.5rem}.w-11{width:2.75rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-72{width:18rem}.w-8{width:2rem}.w-80{width:20rem}.w-9{width:2.25rem}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-\[140px\]{min-width:140px}.min-w-\[820px\]{min-width:820px}.min-w-full{min-width:100%}.min-w-max{min-width:-moz-max-content;min-width:max-content}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-4xl{max-width:56rem}.max-w-5xl{max-width:64rem}.max-w-6xl{max-width:72rem}.max-w-\[120px\]{max-width:120px}.max-w-\[140px\]{max-width:140px}.max-w-\[1600px\]{max-width:1600px}.max-w-\[160px\]{max-width:160px}.max-w-\[180px\]{max-width:180px}.max-w-\[240px\]{max-width:240px}.max-w-\[85\%\]{max-width:85%}.max-w-lg{max-width:32rem}.max-w-md{max-width:28rem}.max-w-none{max-width:none}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-\[6\]{flex:6}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-full{--tw-translate-x: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-6{--tw-translate-x: 1.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize-y{resize:vertical}.resize{resize:both}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.gap-px{gap:1px}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.gap-x-4{-moz-column-gap:1rem;column-gap:1rem}.gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.gap-y-0{row-gap:0px}.gap-y-0\.5{row-gap:.125rem}.gap-y-1{row-gap:.25rem}.gap-y-2{row-gap:.5rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-2\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.625rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.625rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-azure-border>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(179 212 252 / var(--tw-divide-opacity, 1))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(243 244 246 / var(--tw-divide-opacity, 1))}.divide-gray-50>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(249 250 251 / var(--tw-divide-opacity, 1))}.self-center{align-self:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.rounded-bl-sm{border-bottom-left-radius:.125rem}.rounded-br-sm{border-bottom-right-radius:.125rem}.rounded-tl-lg{border-top-left-radius:.5rem}.rounded-tr-lg{border-top-right-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-x{border-left-width:1px;border-right-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-l-2{border-left-width:2px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-dashed{border-style:dashed}.border-none{border-style:none}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity, 1))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity, 1))}.border-amber-300\/60{border-color:#fcd34d99}.border-amber-500\/30{border-color:#f59e0b4d}.border-amber-500\/40{border-color:#f59e0b66}.border-azure-border{--tw-border-opacity: 1;border-color:rgb(179 212 252 / var(--tw-border-opacity, 1))}.border-azure-primary{--tw-border-opacity: 1;border-color:rgb(0 102 204 / var(--tw-border-opacity, 1))}.border-azure-primary\/20{border-color:#06c3}.border-azure-primary\/40{border-color:#06c6}.border-azure-primary\/50{border-color:#0066cc80}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity, 1))}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity, 1))}.border-blue-400\/30{border-color:#60a5fa4d}.border-cyan-400\/30{border-color:#22d3ee4d}.border-cyan-500\/30{border-color:#06b6d44d}.border-emerald-200{--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity, 1))}.border-emerald-300{--tw-border-opacity: 1;border-color:rgb(110 231 183 / var(--tw-border-opacity, 1))}.border-emerald-300\/60{border-color:#6ee7b799}.border-emerald-400\/50{border-color:#34d39980}.border-emerald-500\/30{border-color:#10b9814d}.border-emerald-500\/40{border-color:#10b98166}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity, 1))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity, 1))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.border-gray-50{--tw-border-opacity: 1;border-color:rgb(249 250 251 / var(--tw-border-opacity, 1))}.border-green-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity, 1))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity, 1))}.border-green-400\/30{border-color:#4ade804d}.border-green-500\/10{border-color:#22c55e1a}.border-green-500\/30{border-color:#22c55e4d}.border-indigo-300{--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity, 1))}.border-indigo-400\/30{border-color:#818cf84d}.border-matrix-primary{--tw-border-opacity: 1;border-color:rgb(var(--matrix-primary) / var(--tw-border-opacity, 1))}.border-orange-200{--tw-border-opacity: 1;border-color:rgb(254 215 170 / var(--tw-border-opacity, 1))}.border-orange-300{--tw-border-opacity: 1;border-color:rgb(253 186 116 / var(--tw-border-opacity, 1))}.border-orange-400\/30{border-color:#fb923c4d}.border-pink-400\/30{border-color:#f472b64d}.border-purple-200{--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity, 1))}.border-purple-300{--tw-border-opacity: 1;border-color:rgb(216 180 254 / var(--tw-border-opacity, 1))}.border-purple-400\/30{border-color:#c084fc4d}.border-red-100{--tw-border-opacity: 1;border-color:rgb(254 226 226 / var(--tw-border-opacity, 1))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity, 1))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity, 1))}.border-red-300\/60{border-color:#fca5a599}.border-red-400\/40{border-color:#f8717166}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.border-red-500\/20{border-color:#ef444433}.border-red-500\/30{border-color:#ef44444d}.border-red-500\/40{border-color:#ef444466}.border-red-500\/50{border-color:#ef444480}.border-rose-200{--tw-border-opacity: 1;border-color:rgb(254 205 211 / var(--tw-border-opacity, 1))}.border-rose-300{--tw-border-opacity: 1;border-color:rgb(253 164 175 / var(--tw-border-opacity, 1))}.border-teal-200{--tw-border-opacity: 1;border-color:rgb(153 246 228 / var(--tw-border-opacity, 1))}.border-teal-300{--tw-border-opacity: 1;border-color:rgb(94 234 212 / var(--tw-border-opacity, 1))}.border-transparent{border-color:transparent}.border-violet-300{--tw-border-opacity: 1;border-color:rgb(196 181 253 / var(--tw-border-opacity, 1))}.border-white\/10{border-color:#ffffff1a}.border-yellow-200{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity, 1))}.border-yellow-400\/30{border-color:#facc154d}.border-zinc-200{--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity, 1))}.border-zinc-300{--tw-border-opacity: 1;border-color:rgb(212 212 216 / var(--tw-border-opacity, 1))}.border-zinc-400\/30{border-color:#a1a1aa4d}.border-zinc-500\/30{border-color:#71717a4d}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity, 1))}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity, 1))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.bg-amber-500\/10{background-color:#f59e0b1a}.bg-azure-active{--tw-bg-opacity: 1;background-color:rgb(187 222 251 / var(--tw-bg-opacity, 1))}.bg-azure-bg{--tw-bg-opacity: 1;background-color:rgb(240 244 248 / var(--tw-bg-opacity, 1))}.bg-azure-border{--tw-bg-opacity: 1;background-color:rgb(179 212 252 / var(--tw-bg-opacity, 1))}.bg-azure-hover{--tw-bg-opacity: 1;background-color:rgb(227 242 253 / var(--tw-bg-opacity, 1))}.bg-azure-primary{--tw-bg-opacity: 1;background-color:rgb(0 102 204 / var(--tw-bg-opacity, 1))}.bg-azure-primary\/10{background-color:#0066cc1a}.bg-azure-primary\/5{background-color:#0066cc0d}.bg-azure-surface{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-azure-surface\/30{background-color:#ffffff4d}.bg-azure-surface\/50{background-color:#ffffff80}.bg-azure-surface\/60{background-color:#fff9}.bg-black\/40{background-color:#0006}.bg-black\/50{background-color:#00000080}.bg-black\/60{background-color:#0009}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity, 1))}.bg-blue-300\/70{background-color:#93c5fdb3}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity, 1))}.bg-blue-400\/10{background-color:#60a5fa1a}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.bg-blue-50\/40{background-color:#eff6ff66}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.bg-blue-500\/10{background-color:#3b82f61a}.bg-cyan-400\/10{background-color:#22d3ee1a}.bg-cyan-500\/10{background-color:#06b6d41a}.bg-emerald-100{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity, 1))}.bg-emerald-400{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity, 1))}.bg-emerald-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity, 1))}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.bg-emerald-500\/10{background-color:#10b9811a}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity, 1))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity, 1))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity, 1))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity, 1))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity, 1))}.bg-green-400\/10{background-color:#4ade801a}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity, 1))}.bg-green-50\/50{background-color:#f0fdf480}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity, 1))}.bg-green-500\/10{background-color:#22c55e1a}.bg-green-900\/20{background-color:#14532d33}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity, 1))}.bg-indigo-400\/10{background-color:#818cf81a}.bg-matrix-primary\/20{background-color:rgb(var(--matrix-primary) / .2)}.bg-orange-400{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity, 1))}.bg-orange-400\/10{background-color:#fb923c1a}.bg-orange-50\/50{background-color:#fff7ed80}.bg-pink-400\/10{background-color:#f472b61a}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity, 1))}.bg-purple-400{--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity, 1))}.bg-purple-400\/10{background-color:#c084fc1a}.bg-purple-50{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity, 1))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity, 1))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity, 1))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.bg-red-500\/10{background-color:#ef44441a}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.bg-red-900\/10{background-color:#7f1d1d1a}.bg-red-900\/20{background-color:#7f1d1d33}.bg-red-900\/50{background-color:#7f1d1d80}.bg-rose-400{--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity, 1))}.bg-rose-50{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity, 1))}.bg-slate-300{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity, 1))}.bg-teal-100{--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity, 1))}.bg-teal-400{--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity, 1))}.bg-teal-50{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-violet-100{--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity, 1))}.bg-violet-400{--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity, 1))}.bg-violet-50{--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity, 1))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-white\/10{background-color:#ffffff1a}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity, 1))}.bg-yellow-400\/10{background-color:#facc151a}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity, 1))}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity, 1))}.bg-zinc-100{--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity, 1))}.bg-zinc-400{--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity, 1))}.bg-zinc-400\/10{background-color:#a1a1aa1a}.bg-zinc-500{--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity, 1))}.bg-zinc-500\/10{background-color:#71717a1a}.bg-\[linear-gradient\(rgba\(18\,16\,16\,0\)_50\%\,rgba\(0\,0\,0\,0\.1\)_50\%\)\,linear-gradient\(90deg\,rgba\(0\,255\,0\,0\.03\)\,rgba\(0\,255\,0\,0\.01\)\)\]{background-image:linear-gradient(#12101000 50%,#0000001a 50%),linear-gradient(90deg,#00ff0008,#00ff0003)}.bg-\[length\:100\%_2px\,3px_100\%\]{background-size:100% 2px,3px 100%}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-8{padding-top:2rem;padding-bottom:2rem}.pb-1\.5{padding-bottom:.375rem}.pb-2{padding-bottom:.5rem}.pb-2\.5{padding-bottom:.625rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-px{padding-bottom:1px}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-5{padding-left:1.25rem}.pr-1{padding-right:.25rem}.pr-4{padding-right:1rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-1\.5{padding-top:.375rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.font-mono{font-family:Helvetica,Courier New,Courier,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[9px\]{font-size:9px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-none{line-height:1}.leading-relaxed{line-height:1.625}.leading-snug{line-height:1.375}.leading-tight{line-height:1.25}.tracking-\[0\.25em\]{letter-spacing:.25em}.tracking-tight{letter-spacing:-.025em}.tracking-tighter{letter-spacing:-.05em}.tracking-wide{letter-spacing:.025em}.tracking-wider{letter-spacing:.05em}.tracking-widest{letter-spacing:.1em}.text-amber-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity, 1))}.text-amber-700{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity, 1))}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity, 1))}.text-azure-accent{--tw-text-opacity: 1;color:rgb(33 150 243 / var(--tw-text-opacity, 1))}.text-azure-primary{--tw-text-opacity: 1;color:rgb(0 102 204 / var(--tw-text-opacity, 1))}.text-azure-primary\/60{color:#06c9}.text-azure-text-muted{--tw-text-opacity: 1;color:rgb(136 153 168 / var(--tw-text-opacity, 1))}.text-azure-text-primary{--tw-text-opacity: 1;color:rgb(26 26 26 / var(--tw-text-opacity, 1))}.text-azure-text-primary\/80{color:#1a1a1acc}.text-azure-text-secondary{--tw-text-opacity: 1;color:rgb(92 107 125 / var(--tw-text-opacity, 1))}.text-azure-text-secondary\/60{color:#5c6b7d99}.text-azure-text-secondary\/70{color:#5c6b7db3}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity, 1))}.text-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity, 1))}.text-cyan-500{--tw-text-opacity: 1;color:rgb(6 182 212 / var(--tw-text-opacity, 1))}.text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity, 1))}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity, 1))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity, 1))}.text-emerald-800{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity, 1))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity, 1))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity, 1))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity, 1))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity, 1))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity, 1))}.text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity, 1))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(55 48 163 / var(--tw-text-opacity, 1))}.text-matrix-highlight{--tw-text-opacity: 1;color:rgb(var(--matrix-highlight) / var(--tw-text-opacity, 1))}.text-matrix-secondary{--tw-text-opacity: 1;color:rgb(var(--matrix-secondary) / var(--tw-text-opacity, 1))}.text-orange-400{--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity, 1))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity, 1))}.text-orange-600{--tw-text-opacity: 1;color:rgb(234 88 12 / var(--tw-text-opacity, 1))}.text-orange-700{--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity, 1))}.text-pink-400{--tw-text-opacity: 1;color:rgb(244 114 182 / var(--tw-text-opacity, 1))}.text-purple-400{--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity, 1))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity, 1))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity, 1))}.text-purple-800{--tw-text-opacity: 1;color:rgb(107 33 168 / var(--tw-text-opacity, 1))}.text-red-200{--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity, 1))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity, 1))}.text-rose-400{--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity, 1))}.text-rose-500{--tw-text-opacity: 1;color:rgb(244 63 94 / var(--tw-text-opacity, 1))}.text-rose-600{--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity, 1))}.text-teal-500{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity, 1))}.text-teal-600{--tw-text-opacity: 1;color:rgb(13 148 136 / var(--tw-text-opacity, 1))}.text-teal-800{--tw-text-opacity: 1;color:rgb(17 94 89 / var(--tw-text-opacity, 1))}.text-transparent{color:transparent}.text-violet-500{--tw-text-opacity: 1;color:rgb(139 92 246 / var(--tw-text-opacity, 1))}.text-violet-600{--tw-text-opacity: 1;color:rgb(124 58 237 / var(--tw-text-opacity, 1))}.text-violet-800{--tw-text-opacity: 1;color:rgb(91 33 182 / var(--tw-text-opacity, 1))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-white\/70{color:#ffffffb3}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity, 1))}.text-yellow-600{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity, 1))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity, 1))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity, 1))}.text-zinc-400{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}.text-zinc-50{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity, 1))}.text-zinc-500{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity, 1))}.text-zinc-700{--tw-text-opacity: 1;color:rgb(63 63 70 / var(--tw-text-opacity, 1))}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.placeholder-azure-text-secondary\/40::-moz-placeholder{color:#5c6b7d66}.placeholder-azure-text-secondary\/40::placeholder{color:#5c6b7d66}.placeholder-azure-text-secondary\/50::-moz-placeholder{color:#5c6b7d80}.placeholder-azure-text-secondary\/50::placeholder{color:#5c6b7d80}.placeholder-gray-400::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.placeholder-gray-400::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity, 1))}.accent-azure-primary{accent-color:#0066CC}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-offset-white{--tw-ring-offset-color: #fff}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}:root{--matrix-bg: 0 0 0;--matrix-base: 13 2 8;--matrix-primary: 0 59 0;--matrix-secondary: 0 143 17;--matrix-highlight: 0 255 65;--matrix-text: 0 143 17}[data-theme=dark-soft]{--matrix-bg: 30 30 46;--matrix-base: 42 42 62;--matrix-primary: 45 74 62;--matrix-secondary: 134 239 172;--matrix-highlight: 187 247 208;--matrix-text: 134 239 172}[data-theme=azure-dark]{--matrix-bg: 10 22 40;--matrix-base: 15 29 50;--matrix-primary: 30 58 95;--matrix-secondary: 74 144 226;--matrix-highlight: 124 185 245;--matrix-text: 74 144 226}.dark[data-theme=dark-soft] .dark\:bg-black,.dark[data-theme=azure-dark] .dark\:bg-black{background-color:rgb(var(--matrix-bg))}.dark[data-theme=dark-soft] .dark\:bg-zinc-900,.dark[data-theme=azure-dark] .dark\:bg-zinc-900{background-color:rgb(var(--matrix-base))}.placeholder\:text-azure-text-secondary\/50::-moz-placeholder{color:#5c6b7d80}.placeholder\:text-azure-text-secondary\/50::placeholder{color:#5c6b7d80}.last\:border-0:last-child{border-width:0px}.last\:pb-0:last-child{padding-bottom:0}.hover\:border-azure-border:hover{--tw-border-opacity: 1;border-color:rgb(179 212 252 / var(--tw-border-opacity, 1))}.hover\:border-azure-primary:hover{--tw-border-opacity: 1;border-color:rgb(0 102 204 / var(--tw-border-opacity, 1))}.hover\:border-blue-300:hover{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity, 1))}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity, 1))}.hover\:border-red-400:hover{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity, 1))}.hover\:bg-amber-50:hover{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity, 1))}.hover\:bg-azure-active:hover{--tw-bg-opacity: 1;background-color:rgb(187 222 251 / var(--tw-bg-opacity, 1))}.hover\:bg-azure-border:hover{--tw-bg-opacity: 1;background-color:rgb(179 212 252 / var(--tw-bg-opacity, 1))}.hover\:bg-azure-hover:hover{--tw-bg-opacity: 1;background-color:rgb(227 242 253 / var(--tw-bg-opacity, 1))}.hover\:bg-azure-hover\/50:hover{background-color:#e3f2fd80}.hover\:bg-azure-primary\/10:hover{background-color:#0066cc1a}.hover\:bg-azure-primary\/5:hover{background-color:#0066cc0d}.hover\:bg-azure-primary\/90:hover{background-color:#0066cce6}.hover\:bg-azure-secondary:hover{--tw-bg-opacity: 1;background-color:rgb(74 144 226 / var(--tw-bg-opacity, 1))}.hover\:bg-azure-surface:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.hover\:bg-azure-surface\/50:hover{background-color:#ffffff80}.hover\:bg-azure-surface\/60:hover{background-color:#fff9}.hover\:bg-black\/10:hover{background-color:#0000001a}.hover\:bg-black\/60:hover{background-color:#0009}.hover\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity, 1))}.hover\:bg-emerald-50:hover{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity, 1))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity, 1))}.hover\:bg-green-100:hover{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity, 1))}.hover\:bg-matrix-primary\/10:hover{background-color:rgb(var(--matrix-primary) / .1)}.hover\:bg-red-400:hover{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity, 1))}.hover\:bg-red-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity, 1))}.hover\:bg-red-500\/90:hover{background-color:#ef4444e6}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity, 1))}.hover\:bg-transparent:hover{background-color:transparent}.hover\:bg-violet-50:hover{--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity, 1))}.hover\:bg-zinc-200:hover{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity, 1))}.hover\:text-amber-500:hover{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity, 1))}.hover\:text-azure-primary:hover{--tw-text-opacity: 1;color:rgb(0 102 204 / var(--tw-text-opacity, 1))}.hover\:text-azure-primary\/80:hover{color:#06cc}.hover\:text-azure-secondary:hover{--tw-text-opacity: 1;color:rgb(74 144 226 / var(--tw-text-opacity, 1))}.hover\:text-azure-text-primary:hover{--tw-text-opacity: 1;color:rgb(26 26 26 / var(--tw-text-opacity, 1))}.hover\:text-blue-500:hover{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity, 1))}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity, 1))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity, 1))}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity, 1))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity, 1))}.hover\:text-red-400:hover{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity, 1))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.hover\:text-red-700:hover{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity, 1))}.hover\:text-violet-500:hover{--tw-text-opacity: 1;color:rgb(139 92 246 / var(--tw-text-opacity, 1))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-90:hover{opacity:.9}.hover\:brightness-95:hover{--tw-brightness: brightness(.95);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.focus\:border-azure-primary:focus{--tw-border-opacity: 1;border-color:rgb(0 102 204 / var(--tw-border-opacity, 1))}.focus\:border-red-500:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.focus\:border-transparent:focus{border-color:transparent}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-azure-primary:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 102 204 / var(--tw-ring-opacity, 1))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity, 1))}.focus\:ring-zinc-950:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(12 12 12 / var(--tw-ring-opacity, 1))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus\:ring-offset-azure-bg:focus{--tw-ring-offset-color: #F0F4F8}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-zinc-950:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(12 12 12 / var(--tw-ring-opacity, 1))}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width: 2px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:bg-azure-border:disabled{--tw-bg-opacity: 1;background-color:rgb(179 212 252 / var(--tw-bg-opacity, 1))}.disabled\:opacity-30:disabled{opacity:.3}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity, 1))}.group:hover .group-hover\:text-azure-primary{--tw-text-opacity: 1;color:rgb(0 102 204 / var(--tw-text-opacity, 1))}.group:hover .group-hover\:opacity-100{opacity:1}.dark\:divide-matrix-primary:is(.dark *)>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(var(--matrix-primary) / var(--tw-divide-opacity, 1))}.dark\:divide-matrix-primary\/20:is(.dark *)>:not([hidden])~:not([hidden]){border-color:rgb(var(--matrix-primary) / .2)}.dark\:divide-matrix-primary\/30:is(.dark *)>:not([hidden])~:not([hidden]){border-color:rgb(var(--matrix-primary) / .3)}.dark\:rounded-none:is(.dark *){border-radius:0}.dark\:border-x:is(.dark *){border-left-width:1px;border-right-width:1px}.dark\:border-t:is(.dark *){border-top-width:1px}.dark\:border-amber-500\/30:is(.dark *){border-color:#f59e0b4d}.dark\:border-amber-500\/40:is(.dark *){border-color:#f59e0b66}.dark\:border-amber-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(180 83 9 / var(--tw-border-opacity, 1))}.dark\:border-amber-700\/40:is(.dark *){border-color:#b4530966}.dark\:border-amber-700\/60:is(.dark *){border-color:#b4530999}.dark\:border-amber-800\/40:is(.dark *){border-color:#92400e66}.dark\:border-blue-500\/40:is(.dark *){border-color:#3b82f666}.dark\:border-blue-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity, 1))}.dark\:border-blue-700\/50:is(.dark *){border-color:#1d4ed880}.dark\:border-blue-800\/40:is(.dark *){border-color:#1e40af66}.dark\:border-emerald-500\/30:is(.dark *){border-color:#10b9814d}.dark\:border-emerald-500\/40:is(.dark *){border-color:#10b98166}.dark\:border-emerald-500\/50:is(.dark *){border-color:#10b98180}.dark\:border-emerald-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity, 1))}.dark\:border-emerald-700\/40:is(.dark *){border-color:#04785766}.dark\:border-emerald-700\/50:is(.dark *){border-color:#04785780}.dark\:border-emerald-700\/60:is(.dark *){border-color:#04785799}.dark\:border-gray-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity, 1))}.dark\:border-green-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity, 1))}.dark\:border-green-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(21 128 61 / var(--tw-border-opacity, 1))}.dark\:border-green-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(22 101 52 / var(--tw-border-opacity, 1))}.dark\:border-green-800\/40:is(.dark *){border-color:#16653466}.dark\:border-green-900:is(.dark *){--tw-border-opacity: 1;border-color:rgb(20 83 45 / var(--tw-border-opacity, 1))}.dark\:border-green-900\/50:is(.dark *){border-color:#14532d80}.dark\:border-indigo-700\/60:is(.dark *){border-color:#4338ca99}.dark\:border-matrix-highlight:is(.dark *){--tw-border-opacity: 1;border-color:rgb(var(--matrix-highlight) / var(--tw-border-opacity, 1))}.dark\:border-matrix-highlight\/30:is(.dark *){border-color:rgb(var(--matrix-highlight) / .3)}.dark\:border-matrix-highlight\/40:is(.dark *){border-color:rgb(var(--matrix-highlight) / .4)}.dark\:border-matrix-primary:is(.dark *){--tw-border-opacity: 1;border-color:rgb(var(--matrix-primary) / var(--tw-border-opacity, 1))}.dark\:border-matrix-primary\/10:is(.dark *){border-color:rgb(var(--matrix-primary) / .1)}.dark\:border-matrix-primary\/20:is(.dark *){border-color:rgb(var(--matrix-primary) / .2)}.dark\:border-matrix-primary\/30:is(.dark *){border-color:rgb(var(--matrix-primary) / .3)}.dark\:border-matrix-primary\/40:is(.dark *){border-color:rgb(var(--matrix-primary) / .4)}.dark\:border-matrix-primary\/50:is(.dark *){border-color:rgb(var(--matrix-primary) / .5)}.dark\:border-matrix-primary\/60:is(.dark *){border-color:rgb(var(--matrix-primary) / .6)}.dark\:border-matrix-primary\/70:is(.dark *){border-color:rgb(var(--matrix-primary) / .7)}.dark\:border-matrix-secondary:is(.dark *){--tw-border-opacity: 1;border-color:rgb(var(--matrix-secondary) / var(--tw-border-opacity, 1))}.dark\:border-orange-500\/40:is(.dark *){border-color:#f9731666}.dark\:border-orange-900\/50:is(.dark *){border-color:#7c2d1280}.dark\:border-purple-500\/40:is(.dark *){border-color:#a855f766}.dark\:border-purple-700\/60:is(.dark *){border-color:#7e22ce99}.dark\:border-purple-800\/40:is(.dark *){border-color:#6b21a866}.dark\:border-red-500:is(.dark *){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity, 1))}.dark\:border-red-500\/30:is(.dark *){border-color:#ef44444d}.dark\:border-red-500\/50:is(.dark *){border-color:#ef444480}.dark\:border-red-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity, 1))}.dark\:border-red-700\/40:is(.dark *){border-color:#b91c1c66}.dark\:border-red-700\/50:is(.dark *){border-color:#b91c1c80}.dark\:border-red-700\/60:is(.dark *){border-color:#b91c1c99}.dark\:border-red-800:is(.dark *){--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity, 1))}.dark\:border-red-800\/50:is(.dark *){border-color:#991b1b80}.dark\:border-red-900:is(.dark *){--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity, 1))}.dark\:border-red-900\/40:is(.dark *){border-color:#7f1d1d66}.dark\:border-red-900\/50:is(.dark *){border-color:#7f1d1d80}.dark\:border-red-900\/60:is(.dark *){border-color:#7f1d1d99}.dark\:border-rose-500\/40:is(.dark *){border-color:#f43f5e66}.dark\:border-rose-800\/40:is(.dark *){border-color:#9f123966}.dark\:border-teal-500\/40:is(.dark *){border-color:#14b8a666}.dark\:border-teal-700\/60:is(.dark *){border-color:#0f766e99}.dark\:border-teal-800\/40:is(.dark *){border-color:#115e5966}.dark\:border-violet-500\/40:is(.dark *){border-color:#8b5cf666}.dark\:border-violet-700\/60:is(.dark *){border-color:#6d28d999}.dark\:border-yellow-700\/50:is(.dark *){border-color:#a1620780}.dark\:border-zinc-600:is(.dark *){--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity, 1))}.dark\:border-zinc-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity, 1))}.dark\:bg-amber-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity, 1))}.dark\:bg-amber-500\/70:is(.dark *){background-color:#f59e0bb3}.dark\:bg-amber-900\/20:is(.dark *){background-color:#78350f33}.dark\:bg-amber-900\/30:is(.dark *){background-color:#78350f4d}.dark\:bg-black:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity, 1))}.dark\:bg-black\/20:is(.dark *){background-color:#0003}.dark\:bg-black\/40:is(.dark *){background-color:#0006}.dark\:bg-black\/50:is(.dark *){background-color:#00000080}.dark\:bg-blue-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity, 1))}.dark\:bg-blue-500\/20:is(.dark *){background-color:#3b82f633}.dark\:bg-blue-900\/10:is(.dark *){background-color:#1e3a8a1a}.dark\:bg-blue-900\/20:is(.dark *){background-color:#1e3a8a33}.dark\:bg-blue-900\/30:is(.dark *){background-color:#1e3a8a4d}.dark\:bg-emerald-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity, 1))}.dark\:bg-emerald-900\/20:is(.dark *){background-color:#064e3b33}.dark\:bg-emerald-900\/30:is(.dark *){background-color:#064e3b4d}.dark\:bg-gray-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity, 1))}.dark\:bg-gray-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.dark\:bg-green-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity, 1))}.dark\:bg-green-900\/10:is(.dark *){background-color:#14532d1a}.dark\:bg-green-900\/20:is(.dark *){background-color:#14532d33}.dark\:bg-green-900\/30:is(.dark *){background-color:#14532d4d}.dark\:bg-green-950\/30:is(.dark *){background-color:#052e164d}.dark\:bg-indigo-900\/30:is(.dark *){background-color:#312e814d}.dark\:bg-matrix-base\/50:is(.dark *){background-color:rgb(var(--matrix-base) / .5)}.dark\:bg-matrix-highlight:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(var(--matrix-highlight) / var(--tw-bg-opacity, 1))}.dark\:bg-matrix-highlight\/10:is(.dark *){background-color:rgb(var(--matrix-highlight) / .1)}.dark\:bg-matrix-highlight\/20:is(.dark *){background-color:rgb(var(--matrix-highlight) / .2)}.dark\:bg-matrix-highlight\/40:is(.dark *){background-color:rgb(var(--matrix-highlight) / .4)}.dark\:bg-matrix-highlight\/5:is(.dark *){background-color:rgb(var(--matrix-highlight) / .05)}.dark\:bg-matrix-highlight\/70:is(.dark *){background-color:rgb(var(--matrix-highlight) / .7)}.dark\:bg-matrix-primary:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(var(--matrix-primary) / var(--tw-bg-opacity, 1))}.dark\:bg-matrix-primary\/10:is(.dark *){background-color:rgb(var(--matrix-primary) / .1)}.dark\:bg-matrix-primary\/15:is(.dark *){background-color:rgb(var(--matrix-primary) / .15)}.dark\:bg-matrix-primary\/20:is(.dark *){background-color:rgb(var(--matrix-primary) / .2)}.dark\:bg-matrix-primary\/30:is(.dark *){background-color:rgb(var(--matrix-primary) / .3)}.dark\:bg-matrix-primary\/50:is(.dark *){background-color:rgb(var(--matrix-primary) / .5)}.dark\:bg-matrix-secondary:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(var(--matrix-secondary) / var(--tw-bg-opacity, 1))}.dark\:bg-matrix-secondary\/50:is(.dark *){background-color:rgb(var(--matrix-secondary) / .5)}.dark\:bg-orange-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity, 1))}.dark\:bg-orange-900\/10:is(.dark *){background-color:#7c2d121a}.dark\:bg-purple-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity, 1))}.dark\:bg-purple-900\/20:is(.dark *){background-color:#581c8733}.dark\:bg-purple-900\/30:is(.dark *){background-color:#581c874d}.dark\:bg-red-500\/70:is(.dark *){background-color:#ef4444b3}.dark\:bg-red-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.dark\:bg-red-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity, 1))}.dark\:bg-red-900\/20:is(.dark *){background-color:#7f1d1d33}.dark\:bg-red-900\/30:is(.dark *){background-color:#7f1d1d4d}.dark\:bg-red-900\/50:is(.dark *){background-color:#7f1d1d80}.dark\:bg-red-950\/20:is(.dark *){background-color:#450a0a33}.dark\:bg-red-950\/30:is(.dark *){background-color:#450a0a4d}.dark\:bg-red-950\/40:is(.dark *){background-color:#450a0a66}.dark\:bg-red-950\/50:is(.dark *){background-color:#450a0a80}.dark\:bg-rose-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity, 1))}.dark\:bg-rose-900\/20:is(.dark *){background-color:#88133733}.dark\:bg-teal-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity, 1))}.dark\:bg-teal-900\/20:is(.dark *){background-color:#134e4a33}.dark\:bg-teal-900\/30:is(.dark *){background-color:#134e4a4d}.dark\:bg-violet-500:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity, 1))}.dark\:bg-violet-900\/30:is(.dark *){background-color:#4c1d954d}.dark\:bg-yellow-900\/20:is(.dark *){background-color:#713f1233}.dark\:bg-yellow-900\/30:is(.dark *){background-color:#713f124d}.dark\:bg-zinc-600:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity, 1))}.dark\:bg-zinc-700:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity, 1))}.dark\:bg-zinc-800:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity, 1))}.dark\:bg-zinc-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity, 1))}.dark\:bg-zinc-900\/30:is(.dark *){background-color:#18181b4d}.dark\:bg-zinc-900\/50:is(.dark *){background-color:#18181b80}.dark\:bg-zinc-950:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(12 12 12 / var(--tw-bg-opacity, 1))}.dark\:bg-zinc-950\/50:is(.dark *){background-color:#0c0c0c80}.dark\:bg-zinc-950\/60:is(.dark *){background-color:#0c0c0c99}.dark\:text-amber-300:is(.dark *){--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity, 1))}.dark\:text-amber-400:is(.dark *){--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.dark\:text-amber-400\/80:is(.dark *){color:#fbbf24cc}.dark\:text-black:is(.dark *){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.dark\:text-blue-400:is(.dark *){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.dark\:text-emerald-400:is(.dark *){--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity, 1))}.dark\:text-gray-300:is(.dark *){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity, 1))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity, 1))}.dark\:text-green-200:is(.dark *){--tw-text-opacity: 1;color:rgb(187 247 208 / var(--tw-text-opacity, 1))}.dark\:text-green-400:is(.dark *){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity, 1))}.dark\:text-green-500:is(.dark *){--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity, 1))}.dark\:text-indigo-300:is(.dark *){--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity, 1))}.dark\:text-matrix-bg:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-bg) / var(--tw-text-opacity, 1))}.dark\:text-matrix-highlight:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-highlight) / var(--tw-text-opacity, 1))}.dark\:text-matrix-highlight\/50:is(.dark *){color:rgb(var(--matrix-highlight) / .5)}.dark\:text-matrix-highlight\/80:is(.dark *){color:rgb(var(--matrix-highlight) / .8)}.dark\:text-matrix-primary:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-primary) / var(--tw-text-opacity, 1))}.dark\:text-matrix-secondary:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-secondary) / var(--tw-text-opacity, 1))}.dark\:text-matrix-secondary\/25:is(.dark *){color:rgb(var(--matrix-secondary) / .25)}.dark\:text-matrix-secondary\/30:is(.dark *){color:rgb(var(--matrix-secondary) / .3)}.dark\:text-matrix-secondary\/40:is(.dark *){color:rgb(var(--matrix-secondary) / .4)}.dark\:text-matrix-secondary\/50:is(.dark *){color:rgb(var(--matrix-secondary) / .5)}.dark\:text-matrix-secondary\/60:is(.dark *){color:rgb(var(--matrix-secondary) / .6)}.dark\:text-matrix-secondary\/70:is(.dark *){color:rgb(var(--matrix-secondary) / .7)}.dark\:text-matrix-secondary\/80:is(.dark *){color:rgb(var(--matrix-secondary) / .8)}.dark\:text-matrix-text:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-text) / var(--tw-text-opacity, 1))}.dark\:text-orange-400:is(.dark *){--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity, 1))}.dark\:text-purple-300:is(.dark *){--tw-text-opacity: 1;color:rgb(216 180 254 / var(--tw-text-opacity, 1))}.dark\:text-purple-400:is(.dark *){--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity, 1))}.dark\:text-purple-400\/70:is(.dark *){color:#c084fcb3}.dark\:text-red-200:is(.dark *){--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity, 1))}.dark\:text-red-300:is(.dark *){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity, 1))}.dark\:text-red-300\/50:is(.dark *){color:#fca5a580}.dark\:text-red-300\/60:is(.dark *){color:#fca5a599}.dark\:text-red-300\/80:is(.dark *){color:#fca5a5cc}.dark\:text-red-400:is(.dark *){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.dark\:text-rose-400:is(.dark *){--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity, 1))}.dark\:text-teal-300:is(.dark *){--tw-text-opacity: 1;color:rgb(94 234 212 / var(--tw-text-opacity, 1))}.dark\:text-teal-400:is(.dark *){--tw-text-opacity: 1;color:rgb(45 212 191 / var(--tw-text-opacity, 1))}.dark\:text-violet-300:is(.dark *){--tw-text-opacity: 1;color:rgb(196 181 253 / var(--tw-text-opacity, 1))}.dark\:text-violet-400:is(.dark *){--tw-text-opacity: 1;color:rgb(167 139 250 / var(--tw-text-opacity, 1))}.dark\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.dark\:text-white\/50:is(.dark *){color:#ffffff80}.dark\:text-white\/80:is(.dark *){color:#fffc}.dark\:text-yellow-400:is(.dark *){--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity, 1))}.dark\:text-zinc-300:is(.dark *){--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity, 1))}.dark\:text-zinc-400:is(.dark *){--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity, 1))}.dark\:text-zinc-50:is(.dark *){--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity, 1))}.dark\:text-zinc-500:is(.dark *){--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity, 1))}.dark\:text-zinc-600:is(.dark *){--tw-text-opacity: 1;color:rgb(82 82 91 / var(--tw-text-opacity, 1))}.dark\:placeholder-green-900:is(.dark *)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(20 83 45 / var(--tw-placeholder-opacity, 1))}.dark\:placeholder-green-900:is(.dark *)::placeholder{--tw-placeholder-opacity: 1;color:rgb(20 83 45 / var(--tw-placeholder-opacity, 1))}.dark\:placeholder-matrix-secondary\/30:is(.dark *)::-moz-placeholder{color:rgb(var(--matrix-secondary) / .3)}.dark\:placeholder-matrix-secondary\/30:is(.dark *)::placeholder{color:rgb(var(--matrix-secondary) / .3)}.dark\:placeholder-matrix-secondary\/40:is(.dark *)::-moz-placeholder{color:rgb(var(--matrix-secondary) / .4)}.dark\:placeholder-matrix-secondary\/40:is(.dark *)::placeholder{color:rgb(var(--matrix-secondary) / .4)}.dark\:placeholder-matrix-secondary\/50:is(.dark *)::-moz-placeholder{color:rgb(var(--matrix-secondary) / .5)}.dark\:placeholder-matrix-secondary\/50:is(.dark *)::placeholder{color:rgb(var(--matrix-secondary) / .5)}.dark\:accent-matrix-highlight:is(.dark *){accent-color:rgb(var(--matrix-highlight) / 1)}.dark\:shadow-\[0_0_15px_rgba\(34\,197\,94\,0\.3\)\]:is(.dark *){--tw-shadow: 0 0 15px rgba(34,197,94,.3);--tw-shadow-colored: 0 0 15px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.dark\:ring-offset-zinc-950:is(.dark *){--tw-ring-offset-color: #0c0c0c}.dark\:placeholder\:text-matrix-secondary\/40:is(.dark *)::-moz-placeholder{color:rgb(var(--matrix-secondary) / .4)}.dark\:placeholder\:text-matrix-secondary\/40:is(.dark *)::placeholder{color:rgb(var(--matrix-secondary) / .4)}.dark\:checked\:bg-red-600:checked:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity, 1))}.dark\:hover\:border-matrix-highlight:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(var(--matrix-highlight) / var(--tw-border-opacity, 1))}.dark\:hover\:border-matrix-highlight\/50:hover:is(.dark *){border-color:rgb(var(--matrix-highlight) / .5)}.dark\:hover\:border-matrix-primary:hover:is(.dark *){--tw-border-opacity: 1;border-color:rgb(var(--matrix-primary) / var(--tw-border-opacity, 1))}.hover\:dark\:border-matrix-highlight:is(.dark *):hover{--tw-border-opacity: 1;border-color:rgb(var(--matrix-highlight) / var(--tw-border-opacity, 1))}.dark\:hover\:bg-amber-900\/20:hover:is(.dark *){background-color:#78350f33}.dark\:hover\:bg-blue-900\/20:hover:is(.dark *){background-color:#1e3a8a33}.dark\:hover\:bg-emerald-900\/20:hover:is(.dark *){background-color:#064e3b33}.dark\:hover\:bg-gray-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-green-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-green-900\/30:hover:is(.dark *){background-color:#14532d4d}.dark\:hover\:bg-matrix-highlight:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(var(--matrix-highlight) / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-matrix-highlight\/10:hover:is(.dark *){background-color:rgb(var(--matrix-highlight) / .1)}.dark\:hover\:bg-matrix-highlight\/5:hover:is(.dark *){background-color:rgb(var(--matrix-highlight) / .05)}.dark\:hover\:bg-matrix-highlight\/90:hover:is(.dark *){background-color:rgb(var(--matrix-highlight) / .9)}.dark\:hover\:bg-matrix-primary\/10:hover:is(.dark *){background-color:rgb(var(--matrix-primary) / .1)}.dark\:hover\:bg-matrix-primary\/20:hover:is(.dark *){background-color:rgb(var(--matrix-primary) / .2)}.dark\:hover\:bg-matrix-primary\/30:hover:is(.dark *){background-color:rgb(var(--matrix-primary) / .3)}.dark\:hover\:bg-matrix-primary\/50:hover:is(.dark *){background-color:rgb(var(--matrix-primary) / .5)}.dark\:hover\:bg-matrix-secondary:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(var(--matrix-secondary) / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-red-800\/60:hover:is(.dark *){background-color:#991b1b99}.dark\:hover\:bg-red-900\/20:hover:is(.dark *){background-color:#7f1d1d33}.dark\:hover\:bg-red-900\/90:hover:is(.dark *){background-color:#7f1d1de6}.dark\:hover\:bg-violet-900\/20:hover:is(.dark *){background-color:#4c1d9533}.dark\:hover\:bg-white\/10:hover:is(.dark *){background-color:#ffffff1a}.dark\:hover\:bg-zinc-700:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-zinc-700\/80:hover:is(.dark *){background-color:#3f3f46cc}.dark\:hover\:bg-zinc-800:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-zinc-800\/50:hover:is(.dark *){background-color:#27272a80}.dark\:hover\:bg-zinc-900:hover:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity, 1))}.dark\:hover\:bg-zinc-900\/50:hover:is(.dark *){background-color:#18181b80}.dark\:hover\:bg-zinc-900\/60:hover:is(.dark *){background-color:#18181b99}.hover\:dark\:bg-matrix-secondary:is(.dark *):hover{--tw-bg-opacity: 1;background-color:rgb(var(--matrix-secondary) / var(--tw-bg-opacity, 1))}.hover\:dark\:bg-red-500:is(.dark *):hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity, 1))}.dark\:hover\:text-amber-400:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity, 1))}.dark\:hover\:text-blue-300:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity, 1))}.dark\:hover\:text-blue-400:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity, 1))}.dark\:hover\:text-matrix-highlight:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-highlight) / var(--tw-text-opacity, 1))}.dark\:hover\:text-matrix-secondary:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-secondary) / var(--tw-text-opacity, 1))}.dark\:hover\:text-matrix-secondary\/60:hover:is(.dark *){color:rgb(var(--matrix-secondary) / .6)}.dark\:hover\:text-red-300:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity, 1))}.dark\:hover\:text-red-400:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity, 1))}.dark\:hover\:text-violet-400:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(167 139 250 / var(--tw-text-opacity, 1))}.hover\:dark\:text-matrix-highlight:is(.dark *):hover{--tw-text-opacity: 1;color:rgb(var(--matrix-highlight) / var(--tw-text-opacity, 1))}.hover\:dark\:text-matrix-secondary:is(.dark *):hover{--tw-text-opacity: 1;color:rgb(var(--matrix-secondary) / var(--tw-text-opacity, 1))}.dark\:hover\:brightness-110:hover:is(.dark *){--tw-brightness: brightness(1.1);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.dark\:focus\:border-green-500:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity, 1))}.dark\:focus\:border-matrix-highlight:focus:is(.dark *){--tw-border-opacity: 1;border-color:rgb(var(--matrix-highlight) / var(--tw-border-opacity, 1))}.dark\:focus\:ring-matrix-highlight:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(var(--matrix-highlight) / var(--tw-ring-opacity, 1))}.dark\:focus\:ring-matrix-secondary:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(var(--matrix-secondary) / var(--tw-ring-opacity, 1))}.dark\:focus\:ring-zinc-300:focus:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(212 212 216 / var(--tw-ring-opacity, 1))}.dark\:focus\:ring-offset-black:focus:is(.dark *){--tw-ring-offset-color: #000}.dark\:focus-visible\:ring-zinc-300:focus-visible:is(.dark *){--tw-ring-opacity: 1;--tw-ring-color: rgb(212 212 216 / var(--tw-ring-opacity, 1))}.dark\:disabled\:bg-matrix-primary\/50:disabled:is(.dark *){background-color:rgb(var(--matrix-primary) / .5)}.group:hover .dark\:group-hover\:bg-matrix-highlight\/60:is(.dark *){background-color:rgb(var(--matrix-highlight) / .6)}.group:hover .dark\:group-hover\:text-matrix-highlight:is(.dark *){--tw-text-opacity: 1;color:rgb(var(--matrix-highlight) / var(--tw-text-opacity, 1))}@media(min-width:640px){.sm\:col-span-2{grid-column:span 2 / span 2}.sm\:inline{display:inline}.sm\:max-w-md{max-width:28rem}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:text-left{text-align:left}}@media(min-width:768px){.md\:relative{position:relative}.md\:inset-auto{inset:auto}.md\:z-auto{z-index:auto}.md\:block{display:block}.md\:inline{display:inline}.md\:flex{display:flex}.md\:table-cell{display:table-cell}.md\:hidden{display:none}.md\:w-auto{width:auto}.md\:max-w-2xl{max-width:42rem}.md\:max-w-\[72\%\]{max-width:72%}.md\:flex-\[4\]{flex:4}.md\:translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.md\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:p-0{padding:0}.md\:p-6{padding:1.5rem}.md\:p-8{padding:2rem}.md\:pt-0{padding-top:0}}@media(min-width:1024px){.lg\:flex{display:flex}.lg\:table-cell{display:table-cell}.lg\:hidden{display:none}.lg\:h-auto{height:auto}.lg\:w-1\/5{width:20%}.lg\:w-4\/5{width:80%}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.lg\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:flex-col{flex-direction:column}.lg\:items-stretch{align-items:stretch}.lg\:pt-0{padding-top:0}}@media(min-width:1280px){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&_p\]\:leading-relaxed p{line-height:1.625}
|