1import{j as e,r as j,a as M,u as F,I as T,o as O,H as I,B as L,L as $}from"./index-uYnPrUCb.js";import{A as P}from"./arrow-left-Bf21DxHO.js";import{E as B}from"./eye-off-CXx00um8.js";import{E as z}from"./eye-CWeRucJF.js";import{L as H}from"./layout-dashboard-Dzut6oMC.js";const D=({base:i,tile:p,spark:c,speed:h=18})=>e.jsxs("div",{className:"absolute inset-0 overflow-hidden pointer-events-none","aria-hidden":"true",children:[e.jsxs("svg",{className:"w-full h-full opacity-[0.55]",style:{animation:`swamp-drift ${h}s linear infinite`},children:[e.jsx("defs",{children:e.jsxs("pattern",{id:"swamp",width:"48",height:"48",patternUnits:"userSpaceOnUse",children:[e.jsx("rect",{width:"48",height:"48",fill:i}),e.jsx("rect",{x:"1",y:"1",width:"22",height:"22",rx:"8",fill:p}),e.jsx("rect",{x:"25",y:"25",width:"22",height:"22",rx:"8",fill:p}),e.jsx("rect",{x:"25",y:"1",width:"22",height:"22",rx:"8",fill:i,opacity:"0.35"}),e.jsx("rect",{x:"1",y:"25",width:"22",height:"22",rx:"8",fill:i,opacity:"0.35"}),e.jsx("path",{d:"M24 20 L26 24 L24 28 L22 24 Z",fill:c}),e.jsx("path",{d:"M20 24 L24 22 L28 24 L24 26 Z",fill:c}),e.jsx("path",{d:"M0 44 L2 48 L0 52 L-2 48 Z",fill:c}),e.jsx("path",{d:"M48 -4 L50 0 L48 4 L46 0 Z",fill:c})]})}),e.jsx("rect",{width:"200%",height:"200%",fill:"url(#swamp)"})]}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-background/70 via-background/50 to-background/85"})]}),S=({accent:i,spark:p,base:c,index:h=0,size:r=34})=>e.jsxs("span",{className:"relative inline-flex items-center justify-center shrink-0",style:{width:r,height:r},"aria-hidden":"true",children:[e.jsx("span",{className:"absolute inset-[-4px] rounded-full",style:{background:`conic-gradient(from 0deg, ${i}00, ${i}88, ${i}00)`,animation:`penrose-spin ${11+h*1.7}s linear infinite, penrose-glow ${4+h*.5}s ease-in-out infinite`}}),e.jsx("svg",{viewBox:"0 0 100 100",width:r,height:r,className:"relative",style:{animation:`penrose-sway ${5.5+h*.8}s ease-in-out infinite`},children:e.jsxs("g",{fill:"none",strokeLinejoin:"round",strokeWidth:"9",children:[e.jsx("path",{d:"M50 14 L18 76 L82 76 Z",stroke:c,strokeWidth:"16",opacity:"0.85"}),e.jsx("path",{d:"M50 14 L18 76 L82 76",stroke:i}),e.jsx("path",{d:"M62 40 L82 76 L34 76",stroke:p,strokeOpacity:"0.9"})]})})]});function W({uid:i,accent:p,spark:c,tile:h,bands:r=26}){const w=j.useMemo(()=>{const m=[];for(let d=0;d<r;d++){const o=d/(r-1),x=41+o*2,f=52-o*3,v=7+o*40,b=10+o*38,g=.42+o*.36,y=(1-o)*6,t=x-v,a=x+v*(.86+o*.16),u=f-b,s=f+b*(.92+o*.1),l=v*g,n=b*g,k=[`M ${a.toFixed(2)} ${(f+n*.2+y).toFixed(2)}`,`C ${a.toFixed(2)} ${s.toFixed(2)} ${(x+l).toFixed(2)} ${s.toFixed(2)} ${x.toFixed(2)} ${s.toFixed(2)}`,`C ${(x-l).toFixed(2)} ${s.toFixed(2)} ${t.toFixed(2)} ${s.toFixed(2)} ${t.toFixed(2)} ${f.toFixed(2)}`,`C ${t.toFixed(2)} ${u.toFixed(2)} ${(x-l).toFixed(2)} ${u.toFixed(2)} ${x.toFixed(2)} ${u.toFixed(2)}`,`C ${(x+l*1.1).toFixed(2)} ${u.toFixed(2)} ${(a-2).toFixed(2)} ${(u+n*.4).toFixed(2)} ${(a-3-o*4).toFixed(2)} ${(f-n*(.5+o)).toFixed(2)}`].join(" ");m.push({d:k,w:.75-o*.5,o:.85-o*.45,delay:-d*.42,dur:16+d*.7})}return m},[r]);return e.jsxs("svg",{className:"absolute inset-0 h-full w-full pointer-events-none",viewBox:"0 0 100 100",preserveAspectRatio:"none","aria-hidden":"true",children:[e.jsxs("defs",{children:[e.jsxs("radialGradient",{id:`cm-island-${i}`,cx:"42%",cy:"50%",r:"60%",children:[e.jsx("stop",{offset:"0%",stopColor:h,stopOpacity:"0.55"}),e.jsx("stop",{offset:"70%",stopColor:p,stopOpacity:"0.12"}),e.jsx("stop",{offset:"100%",stopColor:p,stopOpacity:"0"})]}),e.jsxs("linearGradient",{id:`cm-fil-${i}`,x1:"0",y1:"0",x2:"1",y2:"1",children:[e.jsx("stop",{offset:"0%",stopColor:c}),e.jsx("stop",{offset:"55%",stopColor:p}),e.jsx("stop",{offset:"100%",stopColor:h})]}),e.jsx("filter",{id:`cm-soft-${i}`,x:"-30%",y:"-30%",width:"160%",height:"160%",children:e.jsx("feGaussianBlur",{stdDeviation:"0.6"})})]}),e.jsx("ellipse",{cx:"41",cy:"52",rx:"26",ry:"30",fill:`url(#cm-island-${i})`}),e.jsx("g",{fill:"none",strokeLinecap:"round",stroke:`url(#cm-fil-${i})`,children:w.map((m,d)=>e.jsx("path",{d:m.d,strokeWidth:m.w,opacity:m.o,style:{animation:`cm-breathe ${m.dur}s ease-in-out ${m.delay}s infinite`,transformBox:"fill-box",transformOrigin:"center"}},d))}),e.jsxs("g",{filter:`url(#cm-soft-${i})`,children:[e.jsx("ellipse",{cx:"46",cy:"49",rx:"3.4",ry:"2.1",fill:c,op
1acity:"0.95",style:{animation:"cm-drift 18s ease-in-out infinite"}}),e.jsx("ellipse",{cx:"52",cy:"47",rx:"1.1",ry:"0.7",fill:c,opacity:"0.6"})]}),e.jsx("rect",{width:"100",height:"100",fill:"transparent",style:{filter:"none"}})]})}const C=[{base:"#3b4252",tile:"#9fbfa4",spark:"#eaffd0",accent:"#a3e635",name:"AUTUMN SWAMP"},{base:"#2b1b3d",tile:"#c084fc",spark:"#fdf4ff",accent:"#e879f9",name:"DISCO VIOLET"},{base:"#0c2340",tile:"#5cbdb9",spark:"#e0fbff",accent:"#38bdf8",name:"OCEAN DEEP"},{base:"#3a1c14",tile:"#e8a87c",spark:"#fff1de",accent:"#fb923c",name:"EMBER CLAY"},{base:"#111827",tile:"#c9a84c",spark:"#fff8dc",accent:"#facc15",name:"NOIR GOLD"}],E=[{id:"l1",n:"1",path:"/lab",x:50,y:8,he:"××¢××× 1 · ×סק ××צ××¢",en:"Lab 1 · Execution Desk"},{id:"l2",n:"2",path:"/lab2",x:15,y:34,he:"××¢××ת ××× ×",en:"Long Lab"},{id:"l3",n:"3",path:"/lab3",x:15,y:74,he:"××¢××ת ש×ר×",en:"Short Lab"},{id:"l4",n:"4",path:"/lab4",x:50,y:54,he:"ס××× AI · ×××××",en:"AI Agent · Multi"},{id:"l5",n:"5",path:"/lab5",x:85,y:26,he:"ס××× AI · GPT",en:"AI Agent · GPT"},{id:"l6",n:"6",path:"/lab6",x:85,y:56,he:"ס××× ×××¢",en:"Knowledge Agent"},{id:"l7",n:"7",path:"/lab7",x:85,y:86,he:"פס××××××××",en:"Psychology KB"},{id:"l8",n:"8",path:"/lab8",x:50,y:90,he:"ס××× AI · My Case",en:"AI Agent · My Case"},{id:"l9",n:"9",path:"/lab9",x:32,y:18,he:"×§×ר×צ××",en:"Correlation"},{id:"l11",n:"11",path:"/lab11",x:50,y:34,he:"××¢××ת ×ס××× ×× 11",en:"Traffic Light Agent Lab 11"},{id:"l12",n:"12",path:"/lab12",x:8,y:54,he:"RR ××× × ××××",en:"RR Long only"},{id:"mp",n:"M",path:"/macro-pulse",x:68,y:8,he:"×××§×¨× ×¤××ס",en:"Macro Pulse"},{id:"l13",n:"13",path:"/lab13",x:92,y:54,he:"RR ש××¨× ××××",en:"RR Short only"},{id:"l14",n:"14",path:"/lab14",x:68,y:72,he:"×סע ×××ת×ת",en:"Signal Journey"}],N={l1:{he:"×××××¨× ×§×¨×פ×× ×× ×ס××¨× â ×קר××",en:"Crypto & prop connections â soon"},l12:{he:"×§×××× ×ס×ר××××ת RR â ××× × ××××",en:"RR strategy catalogue â long only"},l13:{he:"×§×××× ×ס×ר××××ת RR â ש××¨× ××××",en:"RR strategy catalogue â short only"},l2:{he:"× ×ת×× ××× × ××× ×× ×ס××",en:"Long analysis across all assets"},l3:{he:"× ×ת×× ×©××¨× ××× ×× ×ס××",en:"Short analysis across all assets"},l4:{he:"×§×× ×¡××× ×××××ת · ×©× × ×××××× ××, ×× ×× ×ס××",en:"Unified console · both sides, all assets"},l5:{he:"× ××§×× ××ס×ר ×××ר×צת TP/SL",en:"Master score & TP/SL matrix"},l6:{he:"×××××, ×××¢ ×× ×ס××××",en:"Learning, knowledge & experiments"},l7:{he:"פס××××××××ת ×ס×ר ××פ×ס××",en:"Trading psychology & patterns"},l8:{he:"×××§×¨× ×©×× Â· 15 ×××××××× ×ש×××",en:"My case · top 15 and chat"},l9:{he:"×§×ר×צ×× ××× ×¦××× × ×ס××",en:"Correlation between asset pairs"},l11:{he:"××ת×ת, ×××××, ××××ת, ××ר×× ××××ר××",en:"Signal, decision, verification, rank and memory"},l14:{he:"×סע L/S/X ××× ××× ××ת×ת",en:"Complete L/S/X journey for every signal"}},G=[{key:"exec",he:"××צ××¢",en:"EXECUTION",ids:["l1"]},{key:"dir",he:"××¢×××ת ×××××",en:"DIRECTION LABS",ids:["l2","l3"]},{key:"ai",he:"ס××× × AI",en:"AI AGENTS",ids:["l4","l5","l11","l14","l6","l8"]},{key:"res",he:"××קר · RR ××§×ר×צ××",en:"RESEARCH · RR & CORRELATION",ids:["l12","l13","l9","l7"]}],J=()=>{const{isAuthenticated:i,isLoading:p}=M(),{language:c,isRTL:h}=F(),{fullAccess:r,allowedPaths:w,isAdmin:m,viewAsClient:d,setViewAsClient:o}=T(),x=O(),[f,v]=j.useState(0),[b,g]=j.useState(null);j.useEffect(()=>{!p&&!i&&x("/?login=1",{replace:!0})},[p,i,x]),j.useEffect(()=>{const s=setInterval(()=>v(l=>(l+1)%C.length),9e3);return()=>clearInterval(s)},[]);const y=j.useMemo(()=>r?E:E.filter(s=>w.includes(s.path)),[r,w]);j.useMemo(()=>new Set(y.map(s=>s.id)),[y]);const t=C[f],a=c!=="en",u=s=>!b||b===s;return e.jsxs("div",{className:"min-h-screen bg-background relative",dir:h?"rtl":"ltr",children:[e.jsxs(I,{children:[e.jsx("title",{children:a?"××¢×××ת Traffic Light":"Traffic Light Labs"}),e.jsx("meta",{name:"description",content:a?"×פת ×××¢×××ת â ×× ×¢××× ×¢× ×× ××¢× ×××× ××××ת":"Labs map â who works with whom and on which capability"}),e.jsx("meta",{name:"robots",content:"noindex, nofollow"})]}),e.jsx(D,{base:t.base,tile:t.tile,spark:t.spark,speed:26}),e.jsx("div",{className:"pointer-events-none absolute inset-0 transition-all duration-[3000ms]",style:{background:`radial-gradient(120% 80% at 50% 0%, ${t.accent}18, transparent 70%)`}}),e.jsxs("div",{className:"relative z-10 container mx-auto max-w-5xl px-3 py-4",children:[e.jsxs("div",{className:"flex items-center justify-between gap-2 mb-4",children:[e.jsxs(L,{variant:"ghost",size:"sm",onClick:()=>x(-1),children:[e.jsx(P,{className:"w-4 h-4 mr-1"})," ",a?"×××ר":"Back"]}),e.jsx("h1",{className:"text-xl md:text-2xl font-black tracking-[0.25em] transition-colors duration-1000",style:{color:t.accent,textShadow:`0 0 22px ${t.accent}66`},children:a?"×פת ××¢×××ת":"LABS MAP"}),e.jsxs("div",{className:"flex items-center gap-2",children:[m&&e.jsxs(L,{variant:"outline",size:"sm",onClick:()=>o(!d),className:d?"border-amber-400/60 text-amber-400":"",children:[d?e.jsx(B,{className:"w-4 h-4 mr-1"}):e.jsx(z,{className:"w-4 h-4 mr-1"}),d?a?"×××¨× ×צפ××× ×××§××":"Back to admin":a?"צפ××× ×××§××":"View as client"]}),e.jsx($,{to:"/dashboard",children:e.jsxs(L,{variant:"outline",size:"sm",children:[e.jsx(H,{className:"w-4 h-4 mr-1"})," ",a?"××ש××ר×":"Dashboard"]})})]})]}),e.jsxs("div",{className:"text-center text-[9px] tracking-[0.3em] mb-2 text-muted-foreground",children:[t.name," · ",a?"×× ×¢××× ×¢× ××":"WHO WORKS WITH WHOM"]}),r?e.jsx("div",{className:"space-y-5",children:G.map(s=>{const l=y.filter(n=>
1s.ids.includes(n.id));return l.length?e.jsxs("section",{children:[e.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[e.jsx("h2",{className:"font-mono text-[10px] md:text-[11px] font-bold tracking-[0.28em] whitespace-nowrap",style:{color:t.accent,textShadow:`0 0 14px ${t.accent}55`},children:a?s.he:s.en}),e.jsx("span",{className:"h-px flex-1",style:{background:`linear-gradient(90deg, ${t.accent}66, transparent)`}}),e.jsx("span",{className:"font-mono text-[9px] text-muted-foreground",children:l.length})]}),e.jsx("div",{className:"grid gap-2.5 grid-cols-2 md:grid-cols-4",children:l.map((n,k)=>{var A,R;return e.jsxs($,{to:n.path,onMouseEnter:()=>g(n.id),onMouseLeave:()=>g(null),className:"group relative overflow-hidden rounded-xl border p-3 backdrop-blur-md transition-all duration-300 hover:scale-[1.03]",style:{borderColor:`${t.accent}66`,background:`linear-gradient(150deg, ${t.base}e6, ${t.tile}1f)`,boxShadow:b===n.id?`0 0 26px ${t.accent}55`:`0 0 14px ${t.accent}22`,opacity:u(n.id)?1:.55},children:[e.jsx("span",{className:"pointer-events-none absolute -top-3 end-1 select-none font-black leading-none tabular-nums",style:{fontSize:"58px",color:"transparent",WebkitTextStroke:`1.2px ${t.accent}`,opacity:.22},children:n.n}),e.jsxs("div",{className:"relative z-10 flex items-center gap-2",children:[e.jsx("span",{className:"flex h-7 w-7 items-center justify-center rounded-lg font-black text-xs tabular-nums",style:{color:t.base,background:t.accent},children:n.n}),e.jsx(S,{accent:t.accent,spark:t.spark,base:t.base,index:k,size:20})]}),e.jsxs("div",{className:"relative z-10 mt-2",children:[e.jsx("div",{className:"text-[12px] font-bold leading-tight",style:{color:t.spark},children:a?n.he:n.en}),e.jsx("div",{className:"text-[9px] leading-snug mt-0.5 opacity-85",style:{color:t.tile},children:a?(A=N[n.id])==null?void 0:A.he:(R=N[n.id])==null?void 0:R.en})]}),e.jsx("div",{className:"relative z-10 mt-2 inline-block rounded-full border px-2 py-0.5 font-mono text-[8px] tracking-[0.2em] opacity-80 group-hover:opacity-100",style:{color:t.accent,borderColor:`${t.accent}66`},children:a?"×× ×ס×":"ENTER"})]},n.id)})})]},s.key):null})}):e.jsxs("div",{className:"relative w-full rounded-2xl border border-border/60 bg-background/70 backdrop-blur-xl overflow-hidden",style:{aspectRatio:"16 / 8",maxHeight:"62vh",minHeight:400,boxShadow:`0 0 60px ${t.accent}25 inset`},children:[e.jsx(W,{uid:f,accent:t.accent,spark:t.spark,tile:t.tile}),e.jsx("div",{className:"absolute inset-0 z-10 flex items-stretch justify-start md:justify-center gap-2.5 md:gap-4 p-3 overflow-x-auto md:overflow-visible snap-x snap-mandatory",children:y.map((s,l)=>{var n,k;return e.jsx($,{to:s.path,onMouseEnter:()=>g(s.id),onMouseLeave:()=>g(null),className:"group relative flex flex-col items-stretch text-center transition-all duration-500 snap-center shrink-0",style:{width:"clamp(130px, 24vw, 200px)",opacity:u(s.id)?1:.5},children:e.jsxs("div",{className:"relative flex h-full w-full flex-col items-center justify-between gap-2 overflow-hidden rounded-2xl border p-3 md:p-4 pb-8 backdrop-blur-md transition-all duration-300 group-hover:scale-[1.03]",style:{borderColor:`${t.accent}aa`,background:`linear-gradient(180deg, ${t.base}e6, ${t.tile}22)`,boxShadow:`0 0 32px ${t.accent}3d`},children:[e.jsx("span",{className:"pointer-events-none absolute inset-x-0 top-1/2 -translate-y-1/2 select-none text-center font-black leading-none tabular-nums transition-all duration-500 group-hover:scale-110",style:{fontSize:"clamp(90px, 17vw, 170px)",color:"transparent",WebkitTextStroke:`1.5px ${t.accent}`,opacity:.35,textShadow:`0 0 40px ${t.accent}55`},children:s.n}),e.jsx("span",{className:"pointer-events-none absolute inset-0",style:{background:`repeating-linear-gradient(180deg, ${t.spark}0d 0px, ${t.spark}0d 1px, transparent 1px, transparent 5px)`,opacity:.5}}),e.jsx("span",{className:"pointer-events-none absolute inset-0 rounded-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-500",style:{background:`radial-gradient(120% 120% at 50% 0%, ${t.accent}28, transparent 70%)`}}),e.jsx("span",{className:"relative z-10 flex w-full flex-col items-center gap-2 pt-0.5",style:{animation:`labs-float ${5+l*.7}s ease-in-out infinite`},children:e.jsxs("span",{className:"flex w-full items-center justify-between gap-2",children:[e.jsx("span",{className:"rounded-md px-1.5 py-0.5 font-mono text-[8px] font-bold tracking-[0.18em]",style:{color:t.base,background:t.accent},children:String(s.n).padStart(2,"0")}),e.jsx(S,{accent:t.accent,spark:t.spark,base:t.base,index:l,size:26})]})}),e.jsxs("span",{className:"relative z-10 flex flex-col items-center gap-1.5 px-0.5",children:[e.jsx("span",{className:"text-[11px] md:text-sm font-black tracking-wide leading-tight",style:{color:t.spark,textShadow:`0 2px 10px ${t.base}`},children:a?s.he:s.en}),e.jsx("span",{className:"text-[9px] md:text-[10px] leading-snug opacity-90",style:{color:t.tile,textShadow:`0 2px 8px ${t.base}`},children:a?(n=N[s.id])==null?void 0:n.he:(k=N[s.id])==null?void 0:k.en})]}),e.jsx("span",{className:"absolute bottom-2 left-1/2 z-10 -translate-x-1/2 text-[8px] font-mono tracking-[0.2em] px-2.5 py-0.5 rounded-full border opacity-80 group-hover:opacity-100 transition-opacity shadow-lg",style:{color:t.accent,borderColor:`${t.accent}77`,background:`${t.base}f5`,boxShadow:`0 0 12px ${t.accent}44`},children:a?"×× ×ס×":"ENTER"})]})},s.id)})})]}),!r&&e.jsx("div",{className:"grid gap-2 mt-4 grid-cols-3",children:y.map((s,l)=>e.jsx($,{to:s.path,children:e.jsxs("div",{className:"rounded-lg border p-2 text-center backdrop-blur-md transition-all hover:scale-[1.04]",style:{borderColor:`${t.accent}55`,background:`${t.base}aa`},children:[e.jsxs("div",{className:"flex items-center justify-center gap-1",children:[e.jsx(S,{accent:t.accent,spark:t.spark,base:t.base,index:l,size:22}),e.jsx("span",{className:"text-base font-black tabular-nums leading-none",style:{color:t.accent},children:s.n})]}),e.jsx("div",{className:"text-[9px] mt-0.5",style:{color:t.spark},children:a?s.he:s.en})]})},s.id))})]})]})};export{J 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.