1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,30066,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0}),Object.defineProperty(s,"warnOnce",{enumerable:!0,get:function(){return a}});let a=e=>{}},17132,e=>{"use strict";var t=e.i(76809),s=e.i(65773),a=e.i(51506);let r=[{id:"consensus",number:"01",subtitle:"No Chains, No Delays",title:"Converge to Truth",description:"Convergent Proof of Stake achieves deterministic finality in milliseconds. Not a linear chainâa lattice where all participants observe the same truth simultaneously.",cta:{label:"Read Whitepaper",href:"https://docs.convex.world/docs/overview/convex-whitepaper",external:!0}},{id:"scale",number:"02",subtitle:"Lattice Data Fabric",title:"Scale Without Limits",description:"No shards, no rollupsâtrue horizontal scalability. The lattice is a global data fabric: self-healing, automatically replicated, and infinitely scalable on a P2P, self-sovereign basis.",cta:{label:"Explore Lattice",href:"https://docs.convex.world/docs/overview/lattice",external:!0}},{id:"performance",number:"03",subtitle:"Economic Physics",title:"Execute Predictably",description:"Juice measures computational cost. Memory is recyclable. State converges deterministically. The CVM executes millions of operations with predictable, accountable resource consumption.",cta:{label:"View Benchmarks",href:"https://docs.convex.world/docs/overview/performance",external:!0}},{id:"developer",number:"04",subtitle:"Convex Lisp",title:"Express Economic Logic",description:"One line can define a complete economic transaction. Offers resolve to settlements. Constraints are visible. Build systems where humans and autonomous agents participate under the same rules.",cta:{label:"Language Guide",href:"https://docs.convex.world/docs/cad/lisp",external:!0},secondaryCta:{label:"Try in Sandbox",href:"/sandbox",external:!1}},{id:"agentic",number:"05",subtitle:"Human + Agent Co-Participation",title:"Coordinate Autonomously",description:"Humans define intent and constraints. Autonomous agents execute logic continuously. Both share the same costs, the same finality, the same accountability.",cta:{label:"Agent Architecture",href:"/developers",external:!1}},{id:"mission",number:"06",subtitle:"Public Infrastructure",title:"Govern for All",description:"Convex Foundation operates for the benefit of all participants. Open-source, inspectable, and accountableâinfrastructure for deterministic economic systems.",cta:{label:"Governance Model",href:"https://docs.convex.world/docs/overview/governance",external:!0},secondaryCta:{label:"Read Manifesto",href:"https://docs.convex.world/docs/overview/manifesto",external:!0}}];function n(){return(0,t.jsxs)("svg",{viewBox:"0 0 120 120",className:"cap-mini-svg",children:[(0,t.jsx)("circle",{className:"consensus-ring consensus-ring-3",cx:"60",cy:"60",r:"50"}),(0,t.jsx)("circle",{className:"consensus-ring consensus-ring-2",cx:"60",cy:"60",r:"35"}),(0,t.jsx)("circle",{className:"consensus-ring consensus-ring-1",cx:"60",cy:"60",r:"20"}),(0,t.jsx)("circle",{className:"consensus-core",cx:"60",cy:"60",r:"6"})]})}
1function i(){let[e,a]=(0,s.useState)(new Set(["0-1","1-0","1-2","2-1"]));return(0,s.useEffect)(()=>{let e=setInterval(()=>{a(e=>{let t=new Set(e),s=`${Math.floor(3*Math.random())}-${Math.floor(3*Math.random())}`;if(t.has(s))t.size>2&&t.delete(s);else if(t.size<6)t.add(s);else{let e=Array.from(t);t.delete(e[Math.floor(Math.random()*e.length)]),t.add(s)}return t})},600);return()=>clearInterval(e)},[]),(0,t.jsx)("svg",{viewBox:"0 0 120 120",className:"cap-mini-svg",children:(0,t.jsx)("g",{className:"scale-grid",children:[0,1,2].map(s=>[0,1,2].map(a=>{let r=e.has(`${s}-${a}`);return(0,t.jsx)("rect",{className:`scale-cell ${r?"scale-cell-lit":""}`,x:20+30*a,y:20+30*s,width:"24",height:"24",rx:"3"},`${s}-${a}`)}))})})}function l({isVisible:e}){let[a,r]=(0,s.useState)(0),[n,i]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{if(!e||n)return;i(!0);let t=performance.now(),s=e=>{let a=Math.min((e-t)/2e3,1);r(Math.floor(1e6*(1-Math.pow(1-a,3)))),a<1&&requestAnimationFrame(s)};requestAnimationFrame(s)},[e,n]),(0,t.jsxs)("svg",{viewBox:"0 0 140 120",className:"cap-mini-svg",children:[(0,t.jsx)("path",{className:"perf-track",d:"M 25 70 A 45 45 0 0 1 115 70",fill:"none"}),(0,t.jsx)("path",{className:`perf-fill ${n?"perf-animated":""}`,d:"M 25 70 A 45 45 0 0 1 115 70",fill:"none"}),(0,t.jsx)("line",{className:`perf-needle ${n?"perf-animated":""}`,x1:"70",y1:"70",x2:"70",y2:"35"}),(0,t.jsx)("circle",{className:"perf-needle-center",cx:"70",cy:"70",r:"4"}),(0,t.jsx)("text",{className:"perf-value",x:"70",y:"100",textAnchor:"middle",children:a>=1e6?"1M+ TPS":a>=1e3?`${a/1e3|0}K`:String(a)})]})}let c=[[{type:"command",text:"(transfer 100)"},{type:"result",text:"100"}],[{type:"command",text:"(balance)"},{type:"result",text:"999500"}],[{type:"command",text:"(+ 1 2 3)"},{type:"result",text:"6"}]];
1function o(){let[e,a]=(0,s.useState)(0),[r,n]=(0,s.useState)(0),[i,l]=(0,s.useState)(""),[o,d]=(0,s.useState)(!0),m=c[e],u=m[r];(0,s.useEffect)(()=>{let e=setInterval(()=>d(e=>!e),530);return()=>clearInterval(e)},[]),(0,s.useEffect)(()=>{if(!u){let e=setTimeout(()=>{a(e=>(e+1)%c.length),n(0),l("")},1500);return()=>clearTimeout(e)}if("command"===u.type){if(i.length<u.text.length){let e=setTimeout(()=>l(u.text.slice(0,i.length+1)),60);return()=>clearTimeout(e)}let e=setTimeout(()=>{n(e=>e+1),l("")},400);return()=>clearTimeout(e)}if("result"===u.type){let e=setTimeout(()=>{n(e=>e+1)},800);return()=>clearTimeout(e)}},[u,i]);let h=u?.type==="command"?i:r>0?m[0].text:"",x=r>=1&&m[1];return(0,t.jsxs)("div",{className:"terminal-mini",children:[(0,t.jsxs)("div",{className:"terminal-mini-header",children:[(0,t.jsx)("span",{className:"terminal-mini-dot red"}),(0,t.jsx)("span",{className:"terminal-mini-dot yellow"}),(0,t.jsx)("span",{className:"terminal-mini-dot green"})]}),(0,t.jsxs)("div",{className:"terminal-mini-body",children:[(0,t.jsxs)("div",{className:"terminal-mini-line",children:[(0,t.jsx)("span",{className:"terminal-mini-prompt",children:">"}),(0,t.jsx)("span",{className:"terminal-mini-code",children:h}),u?.type==="command"&&(0,t.jsx)("span",{className:`terminal-mini-cursor ${o?"":"off"}`})]}),x&&(0,t.jsx)("div",{className:"terminal-mini-line",children:(0,t.jsx)("span",{className:"terminal-mini-result",children:m[1].text})})]})]})}function d(){return(0,t.jsxs)("svg",{viewBox:"0 0 120 120",className:"cap-mini-svg",children:[(0,t.jsx)("circle",{className:"agent-core",cx:"60",cy:"60",r:"18"}),(0,t.jsx)("circle",{className:"agent-node agent-node-1",cx:"60",cy:"25",r:"8"}),(0,t.jsx)("circle",{className:"agent-node agent-node-2",cx:"95",cy:"60",r:"8"}),(0,t.jsx)("circle",{className:"agent-node agent-node-3",cx:"60",cy:"95",r:"8"}),(0,t.jsx)("circle",{className:"agent-node agent-node-4",cx:"25",cy:"60",r:"8"}),(0,t.jsx)("line",{className:"agent-beam agent-beam-1",x1:"60",y1:"42",x2:"60",y2:"33"}),(0,t.jsx)("line",{className:"agent-beam agent-beam-2",x1:"78",y1:"60",x2:"87",y2:"60"}),(0,t.jsx)("line",{className:"agent-beam agent-beam-3",x1:"60",y1:"78",x2:"60",y2:"87"}),(0,t.jsx)("line",{className:"agent-beam agent-beam-4",x1:"42",y1:"60",x2:"33",y2:"60"})]})}function m(){return(0,t.jsxs)("svg",{viewBox:"0 0 120 120",className:"cap-mini-svg",children:[(0,t.jsx)("circle",{className:"mission-globe",cx:"60",cy:"60",r:"40"}),(0,t.jsx)("ellipse",{className:"mission-equator",cx:"60",cy:"60",rx:"40",ry:"14"}),(0,t.jsx)("ellipse",{className:"mission-meridian",cx:"60",cy:"60",rx:"14",ry:"40"})]})}function u(){let[e,c]=(0,s.useState)(!1),u=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let e=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&(c(!0),e.disconnect())})},{threshold:.3});return u.current&&e.observe(u.current),()=>e.disconnect()},[]),(0,t.jsx)("section",{className:"capabilities-compact",children:(0,t.jsx)("div",{className:"capabilities-compact-grid",children:r.map(s=>(0,t.jsxs)("div",{className:`cap-compact-card cap-compact-${s.id}`,ref:"performance"===s.id?u:void 0,children:[(0,t.jsx)("div",{className:"cap-compact-graphic",children:(s=>{switch(s){case"consensus":return(0,t.jsx)(n,{});case"scale":return(0,t.jsx)(i,{});case"performance":return(0,t.jsx)(l,{isVisible:e});case"developer":return(0,t.jsx)(o,{});case"agentic":return(0,t.jsx)(d,{});case"mission":return(0,t.jsx)(m,{});default:return null}}
1)(s.id)}),(0,t.jsxs)("div",{className:"cap-compact-content",children:[(0,t.jsxs)("div",{className:"cap-compact-header",children:[(0,t.jsx)("span",{className:"cap-compact-number",children:s.number}),(0,t.jsx)("span",{className:"cap-compact-subtitle",children:s.subtitle})]}),(0,t.jsx)("h3",{className:"cap-compact-title",children:s.title}),(0,t.jsx)("p",{className:"cap-compact-description",children:s.description}),(0,t.jsxs)("div",{className:"cap-compact-ctas",children:[(0,t.jsxs)(a.default,{href:s.cta.href,className:"cap-compact-cta-primary",target:s.cta.external?"_blank":void 0,rel:s.cta.external?"noopener noreferrer":void 0,children:[s.cta.label,(0,t.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,t.jsx)("path",{d:"M5 12h14M12 5l7 7-7 7"})})]}),s.secondaryCta&&(0,t.jsx)(a.default,{href:s.secondaryCta.href,className:"cap-compact-cta-secondary",target:s.secondaryCta.external?"_blank":void 0,rel:s.secondaryCta.external?"noopener noreferrer":void 0,children:s.secondaryCta.label})]})]})]},s.id))})})}e.s(["default",()=>u])},16852,91572,e=>{"use strict";let t=Math.sqrt(3);function s(e){let t=[];for(let s=0;s<6;s++){let a=Math.PI/180*(60*s-90),r=Math.round(e*Math.cos(a)*1e3)/1e3,n=Math.round(e*Math.sin(a)*1e3)/1e3;t.push(`${0===s?"M":"L"} ${r} ${n}`)}return t.join(" ")+" Z"}function a(e,s,a,r){let n=1+r;return{x:t*a*(e+s/2)*n,y:1.5*a*s*n}}function r(e,s){let a=t*s,r=1/0,n=-1/0,i=1/0,l=-1/0;for(let{x:t,y:c}of e)r=Math.min(r,t-a/2),n=Math.max(n,t+a/2),i=Math.min(i,c-s),l=Math.max(l,c+s);return{minX:r,maxX:n,minY:i,maxY:l}}e.s(["SQRT3",0,t,"SUPERPOWER_HEXES",0,{"1,0":{title:"Lattice",desc:"Global self-healing fabric",href:"/lattice",order:0},"0,-1":{title:"Convergent Consensus",desc:"Realtime convergent consensus",href:"/cpos",order:1},"2,-1":{title:"Convex Lisp",desc:"Functional programming",href:"/lisp",order:2},"1,2":{title:"DIDs",desc:"Decentralised identity",href:"/dids",order:3},"2,0":{title:"Digital Assets",desc:"Tokens & NFTs in one line",href:"/assets",order:4},"1,1":{title:"Virtual Machine",desc:"High performance execution",href:"/vm",order:5},"0,1":{title:"Agentic Economy",desc:"Agentic tools with MCP",href:"/ai",order:6},"-1,2":{title:"Live Compiler",desc:"No external toolchains",href:"/sandbox",order:7},"0,0":{title:"Convex Coin",desc:"Utility token for global state",href:"/coin",order:8}},"axialToPixel",()=>a,"hexBounds",()=>r,"hexPath",()=>s],16852);let n=(()=>{try{if("u">typeof sessionStorage&&sessionStorage.getItem("v"))return!0;sessionStorage.setItem("v","1")}catch{}return!1})();e.s(["isRevisit",0,n],91572)},32177,e=>{"use strict";var t=e.i(76809),s=e.i(51506),a=e.i(65773),r=e.i(16852),n=e.i(91572);let i=(0,r.hexPath)(72*.95);function l(e,t){return(0,r.axialToPixel)(e,t,72,.04)}function c(){let[e,s]=(0,a.useState)(0),[c,o]=(0,a.useState)(!1);(0,a.useEffect)(()=>{n.isRevisit&&o(!0)},[]),(0,a.useEffect)(()=>{let e=new MutationObserver(e=>{e.forEach(e=>{"class"===e.attributeName&&s(e=>e+1)})});return e.observe(document.documentElement,{attributes:!0}),()=>e.disconnect()},[]);let d=(0,a.useMemo)(()=>(function(){let e=[],t=new Set(Object.keys(r.SUPERPOWER_HEXES));for(let s=-4;s<=6;s++)for(let a=-6;a<=4;a++){let r=`${s},${a}`;t.has(r)||e.push({q:s,r:a})}return e})(),[]),m=Object.keys(r.SUPERPOWER_HEXES).map(e=>{let[t,s]=e.split(",").map(Number);return l(t,s)}),{minX:u,maxX:h,minY:x,maxY:p}=(0,r.hexBounds)(m,72),f=Math.max(h-u+40,420),g=l(1,0);return(0,t.jsx)("div",{className:"hex-grid-mobile","aria-hidden":"true",children:(0,t.jsx)("svg",{viewBox:`0 0 ${f} ${p-x+80}`,className:"hex-grid-mobile-svg",preserveAspectRatio:"xMidYMid meet",children:(0,t.jsxs)("g",{transform:`translate(${f/2-(u+h)/2}, ${-x+40})`,children:[d.map(({q:e,r:s})=>{let{x:a,y:r}=l(e,s),n=a-g.x,o=r-g.y,d=Math.sqrt(n*n+o*o);return(0,t.jsx)("path",{d:i,transform:`translate(${a}, ${r})`,className:"hex-grid-cell",style:{animationDelay:`${c?0:.8+d/300*.3}s`}},`bg-${e}-${s}`)}),Object.entries(r.SUPERPOWER_HEXES).map(([e,s])=>{let a,[r,n]=e.split(",").map(Number),{x:o,y:d}=l(r,n),m=c?0:.3+.12*s.order,u=s.href.startsWith("http");return(0,t.jsx)("g",{className:"hex-superpower",transform:`translate(${o}, ${d})`,children:(0,t.jsxs)("a",{href:s.href,target:u?"_blank":void 0,children:[(0,t.jsx)("path",{d:i,className:"hex-superpower-path",style:{animationDelay:`${m}s`}}),(0,t.jsx)("g",{className:"hex-superpower-title-group",style:{animationDelay:`${m+.1}s`},children:(0,t.jsx)("text",{className:"hex-superpower-title",textAnchor:"middle",dominantBaseline:"middle",children:1===(a=function(e){let t=e.split(" ");if(t.length<=1)return[e];let s=Math.ceil(t.length/2);return[t.slice(0,s).join(" "),t.slice(s).join(" ")]}(s.title)).length?a[0]:a.map((e,s)=>(0,t.jsx)("tspan",{x:0,dy:0===s?"-0.6em":"1.2em",children:e},s))})})]})},e)})]})},e)})}function o(){return(0,t.jsxs)("section",{className:"hero hero-split",children:[(0,t.jsxs)("div",{className:"hero-left",children:[(0,t.jsxs)("h1",{className:"hero-title",children:[(0,t.jsx)("span",{className:"hero-accent-bold",children:"Engine"})," for the",(0,t.jsx)("br",{}),"agentic economy"]}),(0,t.jsx)("p",{className:"hero-subtitle",children:"The open network for data and value exchange in an agentic world."}),(0,t.jsxs)("div",{className:"hero-cta-group",children:[(0,t.jsx)(s.default,{href:"/developers",className:"btn btn-primary btn-lg",children:(0,t.jsx)("span",{children:"Start building"})}),(0,t.jsx)(s.default,{href:"/sandbox",className:"btn btn-sandbox btn-lg",children:(0,t.jsx)("span",{children:"Sandbox"})}),(0,t.jsx)(s.default,{href:"/vision",className:"btn btn-secondary btn-lg",children:(0,t.jsx)("span",{children:"Vision"})})]}),(0,t.jsx)(c,{})]}),(0,t.jsx)("div",{className:"hero-right"})]})}e.s(["default",()=>o],32177)},91392,e=>{"use strict";
1var t=e.i(76809),s=e.i(65773),a=e.i(16852),r=e.i(91572);function n(){return Math.round(Math.min(300,300*Math.min(1900,window.innerWidth)/1900))}function i(){let e,[i,l]=(0,s.useState)(300),[c,o]=(0,s.useState)(null),[d,m]=(0,s.useState)(!1),[u,h]=(0,s.useState)(!1),[x,p]=(0,s.useState)(!1),[f,g]=(0,s.useState)(0),v=(0,s.useRef)(null);(0,s.useEffect)(()=>{let e;l(n()),r.isRevisit&&(h(!0),p(!0));let t=()=>{clearTimeout(e),e=setTimeout(()=>l(n()),150)};return window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t),clearTimeout(e)}},[]),(0,s.useEffect)(()=>{let e=new MutationObserver(e=>{e.forEach(e=>{"class"===e.attributeName&&(g(e=>e+1),p(!1),o(null),m(!1))})});return e.observe(document.documentElement,{attributes:!0}),()=>e.disconnect()},[]),(0,s.useEffect)(()=>{let e=setTimeout(()=>{p(!0)},3e3);return()=>clearTimeout(e)},[f]);let j=()=>{x&&(v.current=setTimeout(()=>{o(null),m(!1)},100))},b=(0,s.useMemo)(()=>(0,a.hexPath)(.95*i),[i]),y=(0,s.useMemo)(()=>{let e=[],t=a.SQRT3*i*1.04,s=1.5*i*1.04,r=-(3*i),n=new Set;for(let l=r;l<=8e3;l+=s)for(let s=-2500-i;s<=2500+i;s+=t/2){let{q:t,r}=function(e,t,s){let r=t/(1.5*s*1.04);return{q:Math.round(e/(a.SQRT3*s*1.04)-r/2),r:Math.round(r)}}(s,l,i),c=`${t},${r}`;if(!n.has(c)){n.add(c);let{x:s,y:l}=(0,a.axialToPixel)(t,r,i,.04),o=a.SUPERPOWER_HEXES[c]||null;e.push({q:t,r,x:s,y:l,superpower:o})}}return e},[i]),N=(0,s.useMemo)(()=>0===y.length?{minX:0,maxX:0,minY:0,maxY:0}:(0,a.hexBounds)(y,i),[y,i]),w=N.maxX-N.minX,M=N.maxY-N.minY,$=-N.minX,S=-N.minY;return(0,t.jsx)("div",{className:"hex-grid-bg","aria-hidden":"true",children:(0,t.jsxs)("svg",{viewBox:`0 0 ${w} ${M}`,className:"hex-grid-svg",children:[(0,t.jsxs)("defs",{children:[(0,t.jsxs)("linearGradient",{id:"hexFeaturedGradient",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"var(--accent-primary)",stopOpacity:"0.15"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"var(--accent-highlight)",stopOpacity:"0.08"})]}),(0,t.jsxs)("filter",{id:"hexGlow",x:"-50%",y:"-50%",width:"200%",height:"200%",children:[(0,t.jsx)("feGaussianBlur",{stdDeviation:"2",result:"blur"}),(0,t.jsxs)("feMerge",{children:[(0,t.jsx)("feMergeNode",{in:"blur"}),(0,t.jsx)("feMergeNode",{in:"SourceGraphic"})]})]})]}),(0,t.jsx)("g",{transform:`translate(${$}, ${S})`,children:(e=(0,a.axialToPixel)(1,0,i,.04),y.map(s=>{let a=s.x-e.x,r=s.y-e.y,n=Math.min(Math.sqrt(a*a+r*r)/2e3,.8),i=`${s.q},${s.r}`,l=c===i;if(null!==s.superpower&&s.superpower){let e,a=s.superpower.href.startsWith("http"),r=u?0:.15*s.superpower.order;return(0,t.jsx)("g",{transform:`translate(${s.x}, ${s.y})`,className:`hex-superpower ${l?"hex-superpower-hovered":""} ${null!==c&&!l?"hex-superpower-dimmed":""}`,onMouseEnter:()=>{x&&(v.current&&(clearTimeout(v.current),v.current=null),o(i),m(!0))},onMouseLeave:j,style:{cursor:"pointer"},"data-superpower-key":i,children:(0,t.jsxs)("a",{href:s.superpower.href,target:a?"_blank":void 0,children:[(0,t.jsx)("path",{d:b,className:`hex-superpower-path ${l?"hex-superpower-path-hovered":""}`,style:{animationDelay:`${r}s`}}),(0,t.jsx)("g",{className:"hex-superpower-title-group",style:{animationDelay:`${r+.1}s`},children:(0,t.jsx)("text",{className:"hex-superpower-title",textAnchor:"middle",dominantBaseline:"middle",children:1===(e=function(e){let t=e.split(" ");if(t.length<=1)return[e];let s=Math.ceil(t.length/2);return[t.slice(0,s).join(" "),t.slice(s).join(" ")]}(s.superpower.title)).length?e[0]:e.map((e,s)=>(0,t.jsx)("tspan",{x:0,dy:0===s?"-0.6em":"1.2em",children:e},s))})})]})},`${s.q}-${s.r}`)}return(0,t.jsx)("path",{d:b,transform:`translate(${s.x}, ${s.y})`,className:`hex-grid-cell ${d?"hex-grid-cell-bright":""}`,style:{animationDelay:`${u?0:1.85+n}s`}},`${s.q}-${s.r}`)}))})]},f)})}e.s(["default",()=>i])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.