PageSourceSearch

https://psywar.ai/assets/AnalyzerUI3-CuonboTE.js

js psywar.ai collected 2026-10-05 14:01:52 UTC 12,021 bytes, 18 lines download raw bytes

1import{r as m,j as e,aA as j,a2 as R,Z as A}from"./react-vendor-DBDodRiA.js";import{a as C}from"./CvrDisclaimer-BiRBrVOU.js";function E(){const l=m.useRef(null);return m.useEffect(()=>{const r=l.current;if(!r)return;const a=r.getContext("2d");if(!a)return;r.width=window.innerWidth,r.height=window.innerHeight;const x="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@#$%^&*()ψωβδγ",o=14,u=r.width/o,d=[];for(let c=0;c<u;c++)d[c]=Math.random()*-100;const v=setInterval(()=>{a.fillStyle="rgba(0, 0, 0, 0.05)",a.fillRect(0,0,r.width,r.height),a.fillStyle="#0f0",a.font=`${o}px monospace`;for(let c=0;c<d.length;c++){const i=x[Math.floor(Math.random()*x.length)];a.fillStyle=`rgba(0, 255, 0, ${Math.random()*.5+.1})`,a.fillText(i,c*o,d[c]*o),d[c]*o>r.height&&Math.random()>.975&&(d[c]=0),d[c]++}},50);return()=>clearInterval(v)},[]),e.jsx("canvas",{ref:l,className:"fixed inset-0 opacity-20 pointer-events-none"})}function T({line:l}){const r={input:"text-cyan-400",output:"text-green-400",error:"text-red-400",success:"text-emerald-400",warning:"text-amber-400",system:"text-purple-400"},a={input:"$ ",output:"> ",error:"[ERROR] ",success:"[SUCCESS] ",warning:"[WARNING] ",system:"[SYSTEM] "};return e.jsxs("div",{className:`font-mono text-sm ${r[l.type]} leading-relaxed`,children:[l.timestamp&&e.jsxs("span",{className:"text-white/30 mr-2",children:["[",l.timestamp,"]"]}),e.jsx("span",{className:"opacity-60",children:a[l.type]}),l.content]})}const I=`
2██████╗ ███████╗██╗   ██╗██╗    ██╗ █████╗ ██████╗
3██╔══██╗██╔════╝╚██╗ ██╔╝██║    ██║██╔══██╗██╔══██╗
4██████╔╝███████╗ ╚████╔╝ ██║ █╗ ██║███████║██████╔╝
5██╔═══╝ ╚════██║  ╚██╔╝  ██║███╗██║██╔══██║██╔══██╗
6██║     ███████║   ██║   ╚███╔███╔╝██║  ██║██║  ██║
7╚═╝     ╚══════╝   ╚═╝    ╚══╝╚══╝ ╚═╝  ╚═╝╚═╝  ╚═╝
8`;function p({label:l,value:r,color:a="green"}){const o=Math.round(r/100*30),u=30-o,d="█".repeat(o)+"░".repeat(u);return e.jsxs("div",{className:"font-mono text-sm",children:[e.jsx("span",{className:"text-white/50 w-20 inline-block",children:l}),e.jsxs("span",{className:`text-${a}-400`,children:["[",d,"]"]}),e.jsxs("span",{className:"text-white/70 ml-2",children:[r,"%"]})]})}function k(){const[l,r]=m.useState([]),[a,x]=m.useState(""),[o,u]=m.useState(!1),[d,g]=m.useState(!1),[v,c]=m.useState(0),[i,N]=m.useState(null),y=m.useRef(null),w=`What if I told you that everything you know about marketing is wrong?
9
10I used to struggle just like you. Spending hours on content that nobody read. Pouring money into ads that never converted.
11
12Then I discovered something that changed everything. A hidden pattern in human psychology that the top 1% use to print money.
13
14This isn't theory. This is a proven system backed by neuroscience. Over 10,000 people have already transformed their results.
15
16But here's the thing - I can only help a limited number of people. Only 50 spots are available.
17
18If you're ready to stop struggling and start winning, click the button below. Right now. Before someone else takes your spot.`;m.useEffect(()=>{y.current&&(y.current.scrollTop=y.current.scrollHeight)},[l]);const t=(s,h)=>{const n=new Date().toLocaleTimeString("en-US",{hour12:!1});r(f=>[...f,{type:s,content:h,timestamp:n}])},b=async()=>{u(!0),g(!1),r([]),t("system","PSYWAR Neural Analysis Engine v3.0.1"),t("system","Initializing quantum trigger detection..."),await new Promise(n=>setTimeout(n,500)),t("output","Loading neurochemical baseline profiles..."),await new Promise(n=>setTimeout(n,300)),t("success","Dopamine pathways mapped"),t("success","Cortisol response curves loaded"),t("success","Oxytocin trust matrices initialized"),await new Promise(n=>setTimeout(n,400)),t("system","--- BEGINNING SCRIPT ANALYSIS ---"),await new Promise(n=>setTimeout(n,200));const s=["Scanning for curiosity gaps...","Detecting problem agitation patterns...","Analyzing trust-building sequences...","Mapping urgency triggers...","Calculating neurochemical trajectories...","Running Monte Carlo simulation (10,000 iterations)...","Synthesizing conversion probability..."];for(let n=0;n<s.length;n++)t("output",s[n]),c(n+1),await new Promise(f=>setTimeout(f,400+Math.random()*300)),n===1&&t("warning","Cortisol spike detected at position 0:23"),n===3&&t("success","Strong scarcity trigger identified"),n===5&&t("output","Simulation complete: 10,000/10,000");await new Promise(n=>setTimeout(n,500)),t("system","--- ANALYSIS COMPLETE ---"),t("success","Results compiled successfully"),N({triggers:[{name:"Curiosity Gap",category:"dopamine",intensity:.82},{name:"Problem Agitation",category:"cortisol",intensity:.75},{name:"Personal Story",category:"oxytocin",intensity:.68},{name:"Authority Signal",category:"serotonin",intensity:.71}
18,{name:"Scarcity Trigger",category:"adrenaline",intensity:.89},{name:"Urgency Signal",category:"adrenaline",intensity:.84}],neuroLevels:{dopamine:74,cortisol:42,oxytocin:65,serotonin:58,norepinephrine:61,adrenaline:78},cvr:6.8,grade:"B+"}),g(!0),u(!1)},S=s=>{t("input",s),s.toLowerCase()==="analyze"||s.toLowerCase()==="run"?b():s.toLowerCase()==="help"?(t("output","Available commands:"),t("output","  analyze  - Run neurochemical analysis on script"),t("output","  clear    - Clear terminal"),t("output","  help     - Show this help message")):s.toLowerCase()==="clear"?(r([]),g(!1)):(t("error",`Command not found: ${s}`),t("output",'Type "help" for available commands')),x("")};return e.jsxs("div",{className:"min-h-screen bg-black text-green-400 font-mono relative overflow-hidden",children:[e.jsx(E,{}),e.jsxs("div",{className:"relative z-10 p-6 max-w-6xl mx-auto",children:[e.jsx("pre",{className:"text-green-500 text-xs mb-6 hidden md:block",children:I}),e.jsxs("div",{className:"md:hidden flex items-center gap-3 mb-6",children:[e.jsx(j,{className:"w-8 h-8"}),e.jsxs("div",{children:[e.jsx("h1",{className:"text-xl font-bold",children:"PSYWAR"}),e.jsx("p",{className:"text-xs text-green-400/50",children:"Neural Analysis Terminal"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"border border-green-500/30 rounded-lg overflow-hidden",children:[e.jsxs("div",{className:"bg-green-500/10 px-4 py-2 border-b border-green-500/30 flex items-center gap-2",children:[e.jsx("div",{className:"w-3 h-3 rounded-full bg-red-500"}),e.jsx("div",{className:"w-3 h-3 rounded-full bg-yellow-500"}),e.jsx("div",{className:"w-3 h-3 rounded-full bg-green-500"}),e.jsx("span",{className:"text-xs text-green-400/60 ml-2",children:"script_input.txt"})]}),e.jsx("textarea",{value:w,onChange:()=>{},readOnly:!0,className:"w-full h-72 bg-black p-4 text-green-400/80 text-sm resize-none focus:outline-none"})]}),e.jsx("button",{onClick:b,disabled:o,className:"w-full mt-4 py-3 bg-green-500/20 border border-green-500/50 rounded-lg text-green-400 font-bold hover:bg-green-500/30 transition-colors disabled:opacity-50 flex items-center justify-center gap-2",children:o?e.jsxs(e.Fragment,{children:[e.jsx(R,{className:"w-4 h-4 animate-spin"}),"ANALYZING..."]}):e.jsxs(e.Fragment,{children:[e.jsx(A,{className:"w-4 h-4"}),"RUN ANALYSIS"]})})]}),e.jsxs("div",{className:"border border-green-500/30 rounded-lg overflow-hidden",children:[e.jsxs("div",{className:"bg-green-500/10 px-4 py-2 border-b border-green-500/30 flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(j,{className:"w-4 h-4"}),e.jsx("span",{className:"text-xs",children:"psywar@neural:~"})]}),o&&e.jsx("span",{className:"text-xs text-amber-400 animate-pulse",children:"PROCESSING..."})]}),e.jsxs("div",{ref:y,className:"h-72 bg-black p-4 overflow-y-auto space-y-1",children:[l.length===0&&!d&&e.jsxs("div",{className:"text-green-400/40 text-sm",children:[e.jsx("p",{children:"Welcome to PSYWAR Neural Analysis Terminal"}),e.jsx("p",{children:"Type 'help' for commands or click RUN ANALYSIS"}),e.jsx("p",{className:"mt-2",children:"Ready for input..."})]}),l.map((s,h)=>e.jsx(T,{line:s},h)),d&&i&&e.jsxs("div",{className:"mt-4 pt-4 border-t border-green-500/30 space-y-4",children:[e.jsx("div",{className:"text-purple-400 font-bold",children:"╔══════════════════════════════════════╗"}),e.jsx("div",{className:"text-purple-400 font-bold",children:"║     NEUROCHEMICAL ANALYSIS REPORT    ║"}),e.jsx("div",{className:"text-purple-400 font-bold",children:"╚══════════════════════════════════════╝"}),e.jsxs("div",{className:"mt-4",children:[e.jsx("div",{className:"text-cyan-400 mb-2",children:"NEUROCHEMICAL LEVELS:"}),e.jsx(p,{label:"DOP",value:i.neuroLevels.dopamine}),e.jsx(p,{label:"COR",value:i.neuroLevels.cortisol,color:"red"}),e.jsx(p,{label:"OXY",value:i.neuroLevels.oxytocin,color:"pink"}),e.jsx(p,{label:"SER",value:i.neuroLevels.serotonin,color:"blue"}),e.jsx(p,{label:"NOR",value:i.neuroLevels.norepinephrine,color:"orange"}),e.jsx(p,{label:"ADR",value:i.neuroLevels.adrenaline,color:"emerald"})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx("div",{className:"text-cyan-400 mb-2",children:"DETECTED TRIGGERS:"}),i.triggers.map((s,h)=>e.jsxs("div",{className:"text-sm",children:[e.jsxs("span",{className:"text-white/50",children:["  [",s.category.slice(0,3).toUpperCase(),"]"]}),e.jsx("span",{className:"text-green-400 ml-2",children:s.name}),e.jsxs("span",{className:"text-amber-400 ml-2",children:["(",Math.round(s.intensity*100),"%)"]})]},h))]}),e.jsxs("div",{className:"mt-6 p-4 border border-green-500/50 rounded",children:[e.jsxs("div",{className:"flex justify-between items-center",children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-white/50 text-xs",children:"PREDICTED CVR"}),e.jsxs("div",{className:"text-3xl font-bold text-green-400",children:[i.cvr,"%"]})]}),e.jsxs("div",{className:"text-right",children:[e.jsx("div",{className:"text-white/50 text-xs",children:"GRADE"}),e.jsx("div",{className:"text-3xl font-bold text-amber-400",children:i.grade})]})]}),e.jsx(C,{className:"mt-2"})]}),e.jsx("div",{className:"text-green-400/60 text-xs mt-4",children:"Analysis complete. Type 'clear' to reset."})]})]}),e.jsxs("div",{className:"bg-black/50 px-4 py-3 border-t border-green-500/30 flex items-center gap-2",children:[e.jsx("span",{className:"text-green-400",children:"$"}),e.jsx("input",{value:a,onChange:s=>x(s.target.value),onKeyDown:s=>s.key==="Enter"&&a&&S(a),placeholder:"Enter command...",className:"flex-1 bg-transparent text-green-400 text-sm focus:outline-none"})]})]})]}),e.jsxs("div",{className:"mt-6 grid grid-cols-4 gap-4 text-center text-xs",children:[e.jsxs("div",{className:"p-3 border border-green-500/20 rounded",children:[e.jsx("div",{className:"text-green-400/50",children:"TRIGGERS"}),e.jsx("div",{className:"text-xl font-bold",children:i?.triggers.length||"--"})]}),e.jsxs("div",{className:"p-3 border border-green-500/20 rounded",children:[e.jsx("div",{className:"text-green-400/50",children:"CVR"}),e.jsxs("div",{className:"text-xl font-bold",children:[i?.cvr||"--","%"]})]}),e.jsxs("div",{className:"p-3 border border-green-500/20 rounded",children:[e.jsx("div",{className:"text-green-400/50",children:"GRADE"}),e.jsx("div",{className:"text-xl font-bold",children:i?.grade||"--"})]}),e.jsxs("div",{className:"p-3 border border-green-500/20 rounded",children:[e.jsx("div",{className:"text-green-400/50",children:"STATUS"}),e.jsx("div",{className:"text-xl font-bold text-emerald-400",children:o?"BUSY":"READY"})]})]})]})]})}export{k as default};

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.