PageSourceSearch

https://ultimateswarm.ai/assets/js/Onboarding-BJHPbDQf.js

js ultimateswarm.ai collected 2026-10-05 13:12:08 UTC 14,170 bytes, 1 lines download raw bytes

1import{r as c,j as e}from"./vendor-react-WbYzT9B1.js";import{Z as x,w as n,D as u,A as m,F as i,G as p,J as o,k as b,b as f,p as h}from"./vendor-icons-DL8ftop_.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};a.SENTRY_RELEASE={id:"b19af26d6b3b2e41c3d08e2ef62b63e2331ea50d"};var t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="26a10e19-bad0-4641-97b5-09c1a8ceae83",a._sentryDebugIdIdentifier="sentry-dbid-26a10e19-bad0-4641-97b5-09c1a8ceae83")}catch{}})();const N=({onComplete:a})=>{const[t,s]=c.useState(1),[d,g]=c.useState(!1);return e.jsx("div",{"data-testid":"onboarding-container",className:"fixed inset-0 z-[200] bg-gray-950 flex flex-col items-center justify-center p-4",children:e.jsxs("div",{className:"w-full max-w-2xl bg-gray-900 border border-gray-800 rounded-2xl shadow-2xl p-8 relative overflow-hidden",children:[e.jsx("div",{className:"absolute top-0 right-0 w-64 h-64 bg-neon-purple/10 rounded-full blur-[100px] pointer-events-none"}),e.jsx("div",{className:"absolute bottom-0 left-0 w-64 h-64 bg-neon-blue/10 rounded-full blur-[100px] pointer-events-none"}),e.jsx("div",{className:"relative z-10 flex items-center justify-center gap-2 mb-8",children:Array.from({length:5},(r,l)=>l+1).map(r=>e.jsx("div",{className:`rounded-full transition-all duration-300 ${r===t?"w-6 h-2 bg-neon-purple":r<t?"w-2 h-2 bg-neon-purple/60":"w-2 h-2 bg-gray-700"}`},r))}),e.jsxs("div",{className:"relative z-10",children:[t===1&&e.jsxs("div",{"data-testid":"onboarding-step-1",className:"text-center",children:[e.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-full bg-gray-800 border border-gray-700 mb-6 shadow-lg",children:e.jsx(x,{className:"text-neon-purple w-8 h-8"})}),e.jsxs("h1",{className:"text-3xl font-bold text-white mb-3 tracking-tight",children:["Welcome to ",e.jsx("span",{className:"text-neon-purple",children:"Ultimate SWARM AI"})]}),e.jsx("p",{className:"text-gray-400 text-sm mb-2 font-mono",children:"A multi-agent research and PAPER trading terminal."}),e.jsx("p",{className:"text-gray-500 text-xs mb-10 font-mono",children:"Explore signals and strategies without treating simulated results as proven returns."}),e.jsxs("button",{"data-testid":"onboarding-get-started-button",onClick:()=>s(2),className:"group relative inline-flex items-center justify-center gap-2 px-8 py-3 font-bold text-white bg-neon-purple font-mono text-sm rounded-lg hover:bg-violet-600 transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-neon-purple focus:ring-offset-gray-900 w-full max-w-xs",children:["Get Started"," ",e.jsx(n,{size:16,className:"group-hover:translate-x-1 transition-transform"})]}),e.jsx("p",{className:"mt-4 text-[10px] text-gray-600 font-mono",children:"MULTI-AGENT RESEARCH"})]}),t===2&&e.jsxs("div",{"data-testid":"onboarding-step-2",children:[e.jsxs("div",{className:"text-center mb-6",children:[e.jsx("h2",{className:"text-2xl font-bold text-white mb-2 tracking-tight",children:"Key Features"}),e.jsx("p",{className:"text-gray-500 text-xs font-mono",children:"Research tools and supported PAPER workflows; availability depends on configured data and feature gates."})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4 mb-8",children:[e.jsxs("div",{className:"p-4 rounded-xl bg-gray-800/50 border border-gray-700/50 hover:border-neon-purple/40 transition-colors",children:[e.jsx(u,{className:"text-neon-purple mb-3",size:22}),e.jsx("h3",{className:"text-sm font-bold text-gray-200 mb-1",children:"AI Research"}),e.jsx("p",{className:"text-[11px] text-gray-500",children:"Multi-agent analysis and quant signals for strategy research. AI output is not a guarantee of execution or performance."})]}),e.jsxs("div",{className:"p-4 rounded-xl bg-gray-800/50 border border-gray-700/50 hover:border-neon-blue/40 transition-colors",children:[e.jsx(m,{className:"text-neon-blue mb-3",size:22}),e.jsx("h3",{className:"text-sm font-bold text-gray-200 mb-1",children:"Market Discovery"}),e.jsx("p",{className:"text-[11px] text-gray-500",children:"Solana discovery with configured providers. Other market browsers depen
1d on enabled features and available data; not live scanning across every chain."})]}),e.jsxs("div",{className:"p-4 rounded-xl bg-gray-800/50 border border-gray-700/50 hover:border-neon-green/40 transition-colors",children:[e.jsx(i,{className:"text-neon-green mb-3",size:22}),e.jsx("h3",{className:"text-sm font-bold text-gray-200 mb-1",children:"Risk Management"}),e.jsx("p",{className:"text-[11px] text-gray-500",children:"Circuit breakers, stop-losses, and automated position sizing."})]}),e.jsxs("div",{className:"p-4 rounded-xl bg-gray-800/50 border border-gray-700/50 hover:border-yellow-400/40 transition-colors",children:[e.jsx(p,{className:"text-yellow-400 mb-3",size:22}),e.jsx("h3",{className:"text-sm font-bold text-gray-200 mb-1",children:"Strategy Studio"}),e.jsx("p",{className:"text-[11px] text-gray-500",children:"Build and backtest strategies with available historical data, then evaluate in PAPER."})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsxs("button",{onClick:()=>s(1),className:"flex items-center justify-center gap-2 px-5 py-3 font-mono text-sm text-gray-400 border border-gray-700 rounded-lg hover:border-gray-600 hover:text-gray-300 transition-all duration-200 focus:outline-none",children:[e.jsx(o,{size:15})," Back"]}),e.jsxs("button",{"data-testid":"onboarding-next-step2",onClick:()=>s(3),className:"group flex-1 flex items-center justify-center gap-2 px-8 py-3 font-bold text-white bg-neon-purple font-mono text-sm rounded-lg hover:bg-violet-600 transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-neon-purple focus:ring-offset-gray-900",children:["Next"," ",e.jsx(n,{size:16,className:"group-hover:translate-x-1 transition-transform"})]})]})]}),t===3&&e.jsxs("div",{"data-testid":"onboarding-step-3",children:[e.jsxs("div",{className:"text-center mb-6",children:[e.jsx("h2",{className:"text-2xl font-bold text-white mb-2 tracking-tight",children:"Start with PAPER"}),e.jsx("p",{className:"text-gray-500 text-xs font-mono",children:"Onboarding does not enable LIVE trading or change your trading mode."})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4 mb-8",children:[e.jsxs("div",{className:"p-5 rounded-xl border-2 border-neon-purple bg-neon-purple/10",children:[e.jsx(b,{className:"text-neon-purple mb-3",size:24}),e.jsx("h3",{className:"text-sm font-bold text-gray-200 mb-1",children:"PAPER by Default"}),e.jsx("p",{className:"text-[11px] text-gray-400",children:"Simulated execution does not place real orders. Stocks, futures and prediction markets support local PAPER only where enabled and priced; unavailable venues remain read-only. Simulated fills and returns are not LIVE performance."})]}),e.jsxs("div",{className:"p-5 rounded-xl border-2 border-gray-700 bg-gray-800/50",children:[e.jsx(i,{className:"text-orange-400 mb-3",size:24}),e.jsx("h3",{className:"text-sm font-bold text-gray-200 mb-1",children:"LIVE Is Separately Gated"}),e.jsx("p",{className:"text-[11px] text-gray-400",children:"Supported crypto execution requires separately authorized access, enabled operator/build gates, provider configuration, a funded wallet and explicit LIVE consent. Connecting a wallet alone does not authorize execution. Brokerage LIVE and real-money futures/prediction execution are unavailable here."})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsxs("button",{onClick:()=>s(2),className:"flex items-center justify-center gap-2 px-5 py-3 font-mono text-sm text-gray-400 border border-gray-700 rounded-lg hover:border-gray-600 hover:text-gray-300 transition-all duration-200 focus:outline-none",children:[e.jsx(o,{size:15})," Back"]}),e.jsxs("button",{"data-testid":"onboarding-next-step3",onClick:()=>s(4),className:"group flex-1 flex items-center justify-center gap-2 px-8 py-3 font-bold text-white bg-neon-purple font-mono text-sm rounded-lg hover:bg-violet-600 transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-neon-purple focus:ring-offset-gray-900",children:["Next"," ",e.jsx(n,{size:16,className:"group-hover:translate-x-1 transition-transform"})]})]})]}),t===4&&e.jsxs("div",{"data-testid":"onboarding-step-4",children:[e.jsxs("div",{className:"text-center mb-6",children:[e.jsx("h2",{className:"text-2xl font-bold text-white mb-2 tracking-tight",children:"Your First Session"}),e.jsx("p",{className:"text-gray-500 text-xs font-mono",children:"A five-minute jump start — everything below runs in PAPER with zero real funds."})]}),e.jsx("ol",{className:"space-y-2.5 mb-6 max-w-lg mx-auto",children:[["MARKET","Discover live Solana tokens;
1 switch the MEMPOOL / WHALES feed tabs to watch flows."],["COMMAND","Place your first PAPER order — simulated fills on real market data, no real money."],["AI CHAT","Ask the multi-agent swarm for analysis; open extra tools from the feature toolbar."],["DASHBOARD","Track equity, performance stats and the autonomous loop — the public ledger lives at /track-record."],["WHALES panel","Enable “Push alerts to notifications” so whale sweeps reach you without watching the feed."]].map(([r,l])=>e.jsxs("li",{className:"flex items-start gap-3 p-2.5 rounded-lg bg-gray-800/40 border border-gray-700/50",children:[e.jsx("span",{className:"mt-0.5 px-1.5 py-0.5 rounded bg-neon-purple/15 text-neon-purple text-[10px] font-mono font-bold border border-neon-purple/30 shrink-0",children:r}),e.jsx("span",{className:"text-[11px] text-gray-400 leading-relaxed",children:l})]},r))}),e.jsxs("p",{className:"text-center text-[11px] text-gray-500 mb-6 font-mono",children:["Stuck anywhere? Press"," ",e.jsx("span",{className:"text-gray-300 border border-gray-700 rounded px-1",children:"?"})," to open Help — shortcuts, checklist and support included."]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsxs("button",{onClick:()=>s(3),className:"flex items-center justify-center gap-2 px-5 py-3 font-mono text-sm text-gray-400 border border-gray-700 rounded-lg hover:border-gray-600 hover:text-gray-300 transition-all duration-200 focus:outline-none",children:[e.jsx(o,{size:15})," Back"]}),e.jsxs("button",{"data-testid":"onboarding-next-step4",onClick:()=>s(5),className:"group flex-1 flex items-center justify-center gap-2 px-8 py-3 font-bold text-white bg-neon-purple font-mono text-sm rounded-lg hover:bg-violet-600 transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-neon-purple focus:ring-offset-gray-900",children:["Next"," ",e.jsx(n,{size:16,className:"group-hover:translate-x-1 transition-transform"})]})]})]}),t===5&&e.jsxs("div",{"data-testid":"onboarding-step-5",className:"text-center",children:[e.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-full bg-gray-800 border border-gray-700 mb-6 shadow-lg",children:e.jsx(i,{className:"text-neon-green w-8 h-8"})}),e.jsx("h2",{className:"text-2xl font-bold text-white mb-2 tracking-tight",children:"Risk Acknowledgment"}),e.jsx("p",{className:"text-gray-500 text-xs mb-6 font-mono max-w-md mx-auto",children:"Before you begin, please confirm that you understand the risks involved in cryptocurrency trading."}),e.jsx("div",{className:"p-4 rounded-xl bg-gray-800/40 border border-yellow-600/30 mb-6 text-left max-w-md mx-auto",children:e.jsxs("div",{className:"flex items-start gap-2 mb-2",children:[e.jsx(f,{className:"text-yellow-500 mt-0.5 shrink-0",size:14}),e.jsx("p",{className:"text-[11px] text-gray-400 leading-relaxed",children:"Trading crypto, stocks, and prediction markets carries extreme risk. Markets are highly volatile, and you may lose your entire investment. Past performance is not indicative of future results. Only trade with funds you can afford to lose."})]})}),e.jsx("div",{className:"flex flex-col gap-3 max-w-md mx-auto mb-8",children:e.jsxs("label",{className:"flex items-center gap-3 p-3 rounded-lg border border-gray-800 bg-black/20 cursor-pointer hover:border-gray-700 transition-colors",children:[e.jsxs("div",{className:"relative flex items-center shrink-0",children:[e.jsx("input",{"data-testid":"risk-acknowledgment-checkbox",type:"checkbox",checked:d,onChange:r=>g(r.target.checked),className:"peer h-4 w-4 cursor-pointer appearance-none rounded border border-gray-600 bg-gray-800 checked:bg-neon-green checked:border-neon-green transition-all"}),e.jsx(h,{size:10,className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-black opacity-0 peer-checked:opacity-100 pointer-events-none"})]}),e.jsx("span",{className:"text-xs text-gray-400 text-left select-none",children:"I understand that cryptocurrency trading involves significant risk and capital loss."})]})}),e.jsxs("div",{className:"flex gap-3 max-w-md mx-auto",children:[e.jsxs("button",{onClick:()=>s(3),className:"flex items-center justify-center gap-2 px-5 py-3 font-mono text-sm text-gray-400 border border-gray-700 rounded-lg hover:border-gray-600 hover:text-gray-300 transition-all duration-200 focus:outline-none",children:[e.jsx(o,{size:15})," Back"]}),e.jsxs("button",{"data-testid":"initialize-system-button",onClick:a,disabled:!d,className:"group relative flex-1 inline-flex items-center justify-center gap-2 px-8 py-3 font-bold font-mono text-sm rounded-lg transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-neon-purple focus:ring-offset-gray-900 overflow-hidden disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:bg-neon-purple text-white bg-neon-purple hover:bg-violet-600",children:[e.jsx("span",{className:"absolute inset-0 w-full h-full -mt-1 rounded-lg opacity-30 bg-gradient-to-b from-transparent via-trans
1parent to-black pointer-events-none"}),e.jsxs("span",{className:"relative flex items-center gap-2",children:["OPEN TERMINAL"," ",e.jsx(x,{size:16,className:"group-hover:text-yellow-300 transition-colors"})]})]})]}),e.jsx("p",{className:"mt-3 text-[10px] text-gray-600 font-mono",children:"MULTI-AGENT RESEARCH"})]})]})]})})};export{N as Onboarding};

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.