PageSourceSearch

https://fensivo.co/assets/NotFound-CGdcTXiu.js

js fensivo.co collected 2026-10-08 07:25:32 UTC 34,286 bytes, 41 lines download raw bytes

1import{u as Xe,r as o,j as e,H as We,L as le}from"./react-vendor-DopNtYkS.js";import{c as S,u as Ke,S as Ae,Z as Me,M as Ee,B as I,v as Ye,R as $e}from"./index-Cym1ZK7U.js";import{S as B}from"./slider-HPlbI9Lc.js";import{C as Pe}from"./clock-BQnXB_Um.js";import{P as Re}from"./phone-Cx9H31RM.js";import{P as Je}from"./play-DY6QXOHO.js";import{S as Ze}from"./search-DOGVU6sG.js";import{L as _e}from"./lock-4zpxZmpm.js";import{M as Qe}from"./map-pin-BpR7ZAB5.js";import"./tanstack-DAvA-Djb.js";import"./motion-BEau8QNT.js";import"./index-OETOoayj.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const Ce=S("Gamepad2",[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]]);/**
7 * @license lucide-react v0.462.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const de=S("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
12 * @license lucide-react v0.462.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */const Ue=S("Keyboard",[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]]);/**
17 * @license lucide-react v0.462.0 - ISC
18 *
19 * This source code is licensed under the ISC license.
20 * See the LICENSE file in the root directory of this source tree.
21 */const et=S("Mouse",[["rect",{x:"5",y:"2",width:"14",height:"20",rx:"7",key:"11ol66"}],["path",{d:"M12 6v4",key:"16clxf"}]]);/**
22 * @license lucide-react v0.462.0 - ISC
23 *
24 * This source code is licensed under the ISC license.
25 * See the LICENSE file in the root directory of this source tree.
26 */const ue=S("Music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);/**
27 * @license lucide-react v0.462.0 - ISC
28 *
29 * This source code is licensed under the ISC license.
30 * See the LICENSE file in the root directory of this source tree.
31 */const Ve=S("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);/**
32 * @license lucide-react v0.462.0 - ISC
33 *
34 * This source code is licensed under the ISC license.
35 * See the LICENSE file in the root directory of this source tree.
36 */const qe=S("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]);/**
37 * @license lucide-react v0.462.0 - ISC
38 *
39 * This source code is licensed under the ISC license.
40 * See the LICENSE file in the root directory of this source tree.
41 */const me=S("Volume2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]),tt=()=>new(window.AudioContext||window.webkitAudioContext),st=(r,t)=>{if(!(t<=0))try{const i=r.createOscillator(),c=r.createGain();i.connect(c),c.connect(r.destination),i.frequency.setValueAtTime(880,r.currentTime),i.frequency.exponentialRampToValueAtTime(1760,r.currentTime+.05),i.type="sine",c.gain.setValueAtTime(.15*t,r.currentTime),c.gain.exponentialRampToValueAtTime(.01,r.currentTime+.1),i.start(r.currentTime),i.stop(r.currentTime+.1)}catch(i){console.warn("Audio playback failed:",i)}},rt=(r,t)=>{if(!(t<=0))try{const i=r.createOscillator(),c=r.createGain();i.connect(c),c.connect(r.destination),i.frequency.setValueAtTime(150,r.currentTime),i.frequency.exponentialRampToValueAtTime(50,r.currentTime+.5),i.type="sawtooth",c.gain.setValueAtTime(.2*t,r.currentTime),c.gain.exponentialRampToValueAtTime(.01,r.currentTime+.5),i.start(r.currentTime),i.stop(r.currentTime+.5);const u=r.createOscillator(),m=r.createGain();u.connect(m),m.connect(r.destination),u.frequency.setValueAtTime(440,r.currentTime),u.frequency.exponentialRampToValueAtTime(110,r.currentTime+.4),u.type="triangle",m.gain.setValueAtTime(.15*t,r.currentTime),m.gain.exponentialRampToValueAtTime(.01,r.currentTime+.4),u.start(r.currentTime),u.stop(r.currentTime+.4)}catch(i){console.warn("Audio playback failed:",i)}},nt=(r,t)=>{if(!(t<=0))try{const i=r.createOscillator(),c=r.createGain();i.connect(c),c.connect(r.destination),i.frequency.setValueAtTime(440,r.currentTime),i.frequency.exponentialRampToValueAtTime(880,r.currentTime+.15),i.type="sine",c.gain.setValueAtTime(.12*t,r.currentTime),c.gain.exponentialRampToValueAtTime(.01,r.currentTime+.2),i.start(r.currentTime),i.stop(r.currentTime+.2)}catch(i){console.warn("Audio playback failed:",i)}},at=(r,t)=>
41{if(!(t<=0))try{[523,659,784,1047].forEach((c,u)=>{const m=r.createOscillator(),x=r.createGain();m.connect(x),x.connect(r.destination),m.frequency.setValueAtTime(c,r.currentTime+u*.05),m.type="sine",x.gain.setValueAtTime(0,r.currentTime),x.gain.setValueAtTime(.15*t,r.currentTime+u*.05),x.gain.exponentialRampToValueAtTime(.01,r.currentTime+u*.05+.15),m.start(r.currentTime+u*.05),m.stop(r.currentTime+u*.05+.15)})}catch(i){console.warn("Audio playback failed:",i)}},ot=(r,t)=>{const i=r.createGain();i.connect(r.destination),i.gain.setValueAtTime(t*.12,r.currentTime);const c=r.createOscillator(),u=r.createGain();c.type="square",c.frequency.setValueAtTime(55,r.currentTime),u.gain.setValueAtTime(.15,r.currentTime),c.connect(u),u.connect(i);const m=r.createOscillator(),x=r.createGain();m.type="square",m.frequency.setValueAtTime(110,r.currentTime),x.gain.setValueAtTime(0,r.currentTime),m.connect(x),x.connect(i);const N=r.createOscillator(),k=r.createGain();N.type="square",N.frequency.setValueAtTime(440,r.currentTime),k.gain.setValueAtTime(0,r.currentTime),N.connect(k),k.connect(i),c.start(),m.start(),N.start();const l=[55,49,55,46],A=[220,196,175,165,147,131,123,110];let h=0,F=0;const p=window.setInterval(()=>{const j=r.currentTime;if(h++,m.frequency.setValueAtTime(l[h%4],j),x.gain.setValueAtTime(.12,j),x.gain.exponentialRampToValueAtTime(.001,j+.15),h%4===0){const q=l[h/4%l.length];c.frequency.exponentialRampToValueAtTime(q,j+.1)}h%2===0&&(N.frequency.setValueAtTime(A[F%A.length],j),k.gain.setValueAtTime(.08,j),k.gain.exponentialRampToValueAtTime(.001,j+.25),F++)},500);return{isPlaying:!0,oscillators:[c,m,N],gainNodes:[u,x,k],masterGain:i,intervalId:p}},Le=r=>{r.intervalId&&clearInterval(r.intervalId),r.oscillators.forEach(t=>{try{t.stop()}catch{}})},ze=[{icon:"mail",color:"#3b82f6"},{icon:"smartphone",color:"#10b981"},{icon:"mic",color:"#f59e0b"}],ee={shield:{color:"#8b5cf6",icon:"expand",duration:5e3},slowmo:{color:"#ec4899",icon:"clock",duration:4e3}},yt=()=>{var je,ve;const r=Xe(),{language:t}=Ke(),i=o.useRef(null),c=o.useRef(),u=o.useRef(0),m=o.useRef(0),x=o.useRef(0),N=o.useRef(0),k=o.useRef(0),[l,A]=o.useState("start"),[h,F]=o.useState(0),[p,j]=o.useState(null),[q,De]=o.useState(()=>{const a=localStorage.getItem("fensivo-404-highscore");return a?parseInt(a,10):0}),[xe,te]=o.useState(0),[M,se]=o.useState(()=>{const a=localStorage.getItem("fensivo-404-sfx-volume");return a?parseFloat(a):.7}),[v,re]=o.useState(()=>{const a=localStorage.getItem("fensivo-404-music-volume");return a?parseFloat(a):.15}),Y=o.useRef([]),$=o.useRef([]),J=o.useRef([]),T=o.useRef(0),E=o.useRef(0),P=o.useRef(new Set),Z=o.useRef(),f=o.useRef(null),G=o.useRef(M),y=o.useRef(null),[L,ne]=o.useState(!1),[O,ae]=o.useState(!1),H=o.useRef(null),X=o.useRef(null),[he,Ie]=o.useState({x:-100,y:-100});o.useState(!1),o.useEffect(()=>{G.current=M,localStorage.setItem("fensivo-404-sfx-volume",M.toString())},[M]),o.useEffect(()=>{var a;localStorage.setItem("fensivo-404-music-volume",v.toString()),(a=y.current)!=null&&a.masterGain&&f.current&&y.current.masterGain.gain.setValueAtTime(v*.08,f.current.currentTime)},[v]),o.useEffect(()=>(l==="playing"&&f.current&&v>0?(!y.current||!y.current.isPlaying)&&(y.current=ot(f.current,v)):(l!=="playing"||v<=0)&&y.current&&(Le(y.current),y.current=null),()=>{y.current&&(Le(y.current),y.current=null)}),[l,v]);const Be=o.useCallback(()=>(f.current||(f.current=tt()),f.current),[]);o.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",r.pathname)},[r.pathname]),o.useEffect(()=>{T.current=h},[h]),o.useEffect(()=>{E.current=xe},[xe]);const W=o.useCallback(a=>{const s="touches"in a?a.touches[0].clientX:a.clientX;te(s-120/2)},[]),oe=o.useCallback(a=>{const s=a.key.toLowerCase();["arrowleft","arrowright","a","d"].includes(s)&&P.current.add(s),(s==="p"||s===" ")&&(a.preventDefault(),A(b=>b==="playing"?"paused":b==="paused"?"playing":b))},[]),ie=o.useCallback(a=>{const s=a.key.toLowerCase();P.current.delete(s)},[]);o.useEffect(()=>{if(l!=="playing"&&l!=="paused")return;const a=120;let s=0;const b=900,R=_=>{const K=s?(_-s)/1e3:.016;s=_;const Q=window.innerWidth-a,V=b*K;(P.current.has("arrowleft")||P.current.has("a"))&&te(w=>Math.max(0,w-V)),(P.current.has("arrowright")||P.current.has("d"))&&te(w=>Math.min(Q,w+V)),Z.current=requestAnimationFrame(R)};return Z.current=requestAnimationFrame(R),()=>{Z.current&&cancelAnimationFrame(Z.current)}},[l]),o.useEffect(()=>{if(l==="playing"||l==="paused")return window.addEventListener("keydown",oe),window.addEventListener("keyup",ie),l==="playing"&&(window.addEventListener("mousemove",W),window.addEventListener("touchmove",W)),()=>{window.removeEventListener("mousemove",W),window.removeEventListener("touchmove",W),window.removeEventListener("keydown",oe),window.removeEventListener("keyup",ie),P.current.clear()}},[l,W,oe,ie]);const pe=(a,s,b)=>{for(let R=0;R<8;R++)$.current.push({id:N.current++,x:a,y:s,vx:(Math.random()-.5)*10,vy:(Math.random()-.5)*10,life:1,color:b})},fe=o.useCallback(a=>{f.current&&at(f.current,G.current),a==="shield"?(ne(!0),H.current&&clearTimeout(H.current),H.current=window.setTimeout(()=>{ne(!1)},ee.shield.duration)):a==="slowmo"&&(ae(!0),X.current&&clearTimeout(X.current),X.current=window.setTimeout(()=>{ae(!1)},ee.slowmo.duration))},[]),ge=()=>{const a=Be();nt(a,G.current),A("playing"),F(0),T.current=0,Y.current=[],$.current=[],J.current=[],u.current=0,m.current=0,j(null),ne(!1),ae(!1),H.current&&clearTimeout(H.current),X.current&&clearTimeout(X.current)},[Fe,be]=o.useState(!1),ye=o.useCallback(()=>{be(!0),setTimeout(()=>be(!1),500),A("gameover"),f.current&&rt(f.current,G.current);const a=T.current;a>q&&(De(a),localStorage.setItem("fensivo-404-highscore",a.toString())),c.current&&cancelAnimationFrame(c.current)},[q]);o.useEffect(()=>{if(l!=="playing")return;const a=s=>{Ie({x:s.clientX,y:s.clientY})};return window.addEventListener("mousemove",a),()=>window.removeEventListener("mousemove",a)},[l]),o.useEffect(()=>{if(l!=="playing")return;const a=i.current;if(!a)return;const s=a.getContext("2d");if(!s)return;const b=()=>{a.width=window.innerWidth,a.height=window.innerHeight};b(),window.addEventListener("resize",b);const R=120,_=200,K=20,Q=V=>{if(l!=="playing")return;const w=a.width,z=a.height,D=z-100,C=L?_:R,ce=O?.3:1;s.clearRect(0,0,w,z),s.strokeStyle=O?"#3b2066":"#1e293b",s.lineWidth=1;for(let n=0;n<w;n+=50)s.beginPath(),s.moveTo(n,0),s.lineTo(n,z),s.stroke();for(let n=0;n<z;n+=50)s.beginPath(),s.moveTo(0,n),s.lineTo(w,n),s.stroke();const Ge=Math.max(300,1e3-T.current/20);if(V-u.current>Ge){const n=ze[Math.floor(Math.random()*ze.length)],g=20;Y.current.push({id:x.current++,x:Math.random()*(w-g*2)+g,y:-50,speed:3+T.current/1e3,rotation:0,type:n,radius:g}),u.current=V}const Oe=8e3+Math.random()*4e3;if(V-m.current>Oe&&T.current>=200){const n=Math.random()>.5?"shield":"slowmo",g=18;J.current.push({id:k.current++,x:Math.random()*(w-g*2)+g,y:-50,speed:2,type:n,radius:g,rotation:0}),m.current=V}$.current=$.current.filter(n=>(n.x+=n.vx,n.y+=n.vy,n.life-=.02,s.globalAlpha=Math.max(0,n.life),s.fillStyle=n.color,s.fillRect(n.x,n.y,4,4),s.globalAlpha=1,n.life>0)),J.current=J.current.filter(n=>{if(n.y+=n.speed*ce,n.rotation+=.03,n.y+n.radius>D&&n.y-n.radius<D+K&&n.x>E.current&&n.x<E.current+C)return fe(n.type),pe(n.x,n.y,ee[n.type].color),!1;if(n.y>z+50)return!1;const g=ee[n.type].color;s.save(),s.translate(n.x,n.y),s.rotate(n.rotation),s.shadowBlur=25,s.shadowColor=g,s.beginPath();for(let U=0;U<6;U++){const ke=Math.PI/3*U-Math.PI/2,Te=Math.cos(ke)*n.radius,Se=Math.sin(ke)*n.radius;U===0?s.moveTo(Te,Se):s.lineTo(Te,Se)}return s.closePath(),s.fillStyle=g,s.fill(),s.fillStyle="white",s.font="bold 12px sans-serif",s.textAlign="center",s.textBaseline="middle",s.fillText(n.type==="shield"?"⬌":"◷",0,0),s.restore(
41),!0});let we=!1;if(Y.current=Y.current.filter(n=>{if(n.y+=n.speed*ce,n.rotation+=.05*ce,n.y+n.radius>D&&n.y-n.radius<D+K&&n.x>E.current&&n.x<E.current+C){const g=T.current+100;return T.current=g,F(g),pe(n.x,n.y,n.type.color),f.current&&st(f.current,G.current),!1}return n.y>z?(we=!0,j(n.type),!1):(s.save(),s.translate(n.x,n.y),s.rotate(n.rotation),s.shadowBlur=15,s.shadowColor=n.type.color,s.beginPath(),s.arc(0,0,n.radius,0,Math.PI*2),s.fillStyle=n.type.color,s.fill(),s.fillStyle="white",s.fillRect(-8,-4,16,8),s.restore(),!0)}),we){ye();return}const Ne=L?"#8b5cf6":"#3b82f6";s.shadowBlur=L?30:20,s.shadowColor=Ne,s.fillStyle=Ne,s.beginPath(),s.roundRect(E.current,D,C,K,10),s.fill(),s.shadowBlur=0,s.fillStyle="white",s.font='bold 10px "JetBrains Mono", monospace',s.textAlign="center";const He=t==="es"?"DEFENSA EMPLEADO":"EMPLOYEE DEFENSE";s.fillText(He,E.current+C/2,D+14),c.current=requestAnimationFrame(Q)};return c.current=requestAnimationFrame(Q),()=>{window.removeEventListener("resize",b),c.current&&cancelAnimationFrame(c.current)}},[l,ye,L,O,fe,t]);const d={error:t==="es"?"Error 404 • Página No Encontrada":"Error 404 • Page Not Found",title:t==="es"?"Brecha en el Perímetro":"Perimeter Breach",description:t==="es"?e.jsxs(e.Fragment,{children:["La página que buscas ha sido movida, eliminada, o nunca existió. Sin embargo, nuestra ",e.jsx("strong",{children:"capa humana"})," está actualmente bajo ataque simulado."]}):e.jsxs(e.Fragment,{children:["The page you're looking for has been moved, deleted, or never existed. However, our ",e.jsx("strong",{children:"human layer"})," is currently under simulation attack."]}),returnHome:t==="es"?"Volver al Inicio":"Return to Home",playGame:t==="es"?"Jugar Breach Game":"Play Breach Game",simulation:t==="es"?"Simulación multi-vector: Phishing, Smishing y Vishing.":"Multi-vector simulation: Phishing, Smishing, and Vishing.",instructions:t==="es"?"Mueve el escudo con el mouse o las teclas ← → / A D para bloquear los ataques antes de que lleguen al fondo.":"Move the shield with your mouse or ← → / A D keys to block attacks before they reach the bottom.",objective:t==="es"?"Objetivo: Bloquea tantos ataques como puedas. ¡Cada ataque bloqueado suma 100 puntos!":"Objective: Block as many attacks as you can. Each blocked attack earns 100 points!",defensivePosture:t==="es"?"Postura Defensiva":"Defensive Posture",infiltration:t==="es"?"Infiltración Exitosa":"Infiltration Successful",quote:t==="es"?"El 95% de las brechas comienzan así, menos mal que esto es solo una página 404.":"95% of breaches start like this, good thing this is just a 404 page.",brokenLink:t==="es"?"1 enlace roto detectado.":"1 broken link detected.",noPasswords:t==="es"?"0 contraseñas robadas.":"0 passwords stolen.",lookingFor:t==="es"?"100% de probabilidad de que buscas nuestra página principal.":"100% chance you're looking for our homepage.",home:t==="es"?"Inicio":"Home",retry:t==="es"?"Reintentar":"Retry",yourScore:t==="es"?"Tu puntuación":"Your Score",bestScore:t==="es"?"Mejor puntuación":"Best Score",newRecord:t==="es"?"¡Nuevo récord!":"New Record!",legend:t==="es"?"Tipos de Ataque":"Attack Types",attackTypes:t==="es"?"Tipos de Ataque":"Attack Types",phishing:"Phishing (Email)",phishingDesc:t==="es"?"Phishing — Ataques por email":"Phishing — Email attacks",smishing:"Smishing (SMS)",smishingDesc:t==="es"?"Smishing — Ataques por SMS":"Smishing — SMS attacks",vishing:t==="es"?"Vishing (Voz)":"Vishing (Voice)",vishingDesc:t==="es"?"Vishing — Ataques por voz":"Vishing — Voice attacks",employeeDefense:t==="es"?"DEFENSA EMPLEADO":"EMPLOYEE DEFENSE",controls:t==="es"?"Controles":"Controls",controlsDetail:t==="es"?"Mouse · Táctil · ← → · A D":"Mouse · Touch · ← → · A D",howToBlock:t==="es"?"Bloquea ataques":"Block attacks",perBlock:t==="es"?"por bloqueo":"per block",defeatedBy:t==="es"?"Derrotado por":"Defeated by",attackDefinitions:{mail:{name:"Phishing",definition:t==="es"?"Ataque por correo electrónico que suplanta la identidad de una organización legítima para robar credenciales o instalar mal
41ware.":"Email-based attack that impersonates a legitimate organization to steal credentials or install malware."},smartphone:{name:"Smishing",definition:t==="es"?"Ataque por SMS que utiliza mensajes de texto fraudulentos para engañar a las víctimas y obtener información sensible.":"SMS-based attack that uses fraudulent text messages to deceive victims and obtain sensitive information."},mic:{name:"Vishing",definition:t==="es"?"Ataque por llamada telefónica donde el atacante se hace pasar por una entidad confiable para extraer información confidencial.":"Voice call attack where the attacker impersonates a trusted entity to extract confidential information."}}};return e.jsxs("div",{className:`relative w-full h-screen overflow-hidden bg-background text-foreground dark ${Fe?"animate-shake":""}`,style:{cursor:l==="playing"?"none":"auto"},children:[e.jsxs(We,{children:[e.jsx("title",{children:t==="es"?"Página no encontrada (404) | Fensivo":"Page Not Found (404) | Fensivo"}),e.jsx("meta",{name:"robots",content:"noindex, follow"})]}),e.jsx("canvas",{ref:i,className:"absolute inset-0 w-full h-full",style:{display:l==="playing"?"block":"none"}}),l==="playing"&&e.jsxs("div",{className:"pointer-events-none fixed z-50",style:{left:he.x,top:he.y,transform:"translate(-50%, -50%)"},children:[e.jsx("div",{className:"w-5 h-5 border border-primary/50 rounded-full",style:{boxShadow:"0 0 4px hsl(var(--primary) / 0.3)"}}),e.jsx("div",{className:"absolute w-1 h-1 bg-primary rounded-full",style:{left:"50%",top:"50%",transform:"translate(-50%, -50%)"}})]}),l==="playing"&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"fixed top-6 left-6 z-20 pointer-events-none transition-opacity duration-500",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-primary/20 border border-primary/50 flex items-center justify-center",children:e.jsx(Ae,{className:"text-primary w-6 h-6"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-[10px] uppercase tracking-widest text-primary font-bold",children:d.defensivePosture}),e.jsx("p",{className:"text-xl font-bold font-mono",children:h.toString().padStart(4,"0")})]})]}),(L||O)&&e.jsxs("div",{className:"flex flex-col gap-2 mt-2",children:[L&&e.jsxs("div",{className:"flex items-center gap-2 px-3 py-1.5 rounded-lg bg-violet-500/20 border border-violet-500/50 animate-pulse",children:[e.jsx(Me,{className:"w-4 h-4 text-violet-400"}),e.jsx("span",{className:"text-[10px] uppercase tracking-wider text-violet-300 font-bold",children:t==="es"?"Mejor Detección":"Better Detection"})]}),O&&e.jsxs("div",{className:"flex items-center gap-2 px-3 py-1.5 rounded-lg bg-pink-500/20 border border-pink-500/50 animate-pulse",children:[e.jsx(Pe,{className:"w-4 h-4 text-pink-400"}),e.jsx("span",{className:"text-[10px] uppercase tracking-wider text-pink-300 font-bold",children:t==="es"?"Tiempo de Entrenamiento":"Training Time"})]})]})]}),e.jsx("div",{className:"fixed top-6 right-6 z-20 pointer-events-none transition-opacity duration-500",children:e.jsxs("div",{className:"bg-card/80 backdrop-blur-sm border border-border rounded-xl p-4",children:[e.jsx("p",{className:"text-[10px] uppercase tracking-widest text-muted-foreground font-bold mb-3",children:d.legend}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-4 h-4 rounded-full",style:{backgroundColor:"#3b82f6",boxShadow:"0 0 8px #3b82f6"}}),e.jsx("span",{className:"text-xs font-mono text-foreground",children:d.phishing})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-4 h-4 rounded-full",style:{backgroundColor:"#10b981",boxShadow:"0 0 8px #10b981"}}),e.jsx("span",{className:"text-xs font-mono text-foreground",children:d.smishing})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:"w-4 h-4 rounded-full",style:{backgroundColor:"#f59e0b",boxShadow:"0 0 8px #f59e0b"}}),e.jsx("span",{className:"text-xs font-mono text-foreground",children:d.vishing})]})]})]})}),e.jsx("div",{className:"fixed bottom-6 right-6 z-20 pointer-events-none",children:e.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg bg-card/60 backdrop-blur-sm border border-border",children:[e.jsx(Ve,{className:"w-3 h-3 text-muted-foreground"}),e.jsx("span",{className:"text-[10px] text-muted-foreground",children:t==="es"?"Presiona P o Espacio para pausar":"Press P or Space to pause"})]})})]}),l==="start"&&e.jsx("div",{className:"fixed inset-0 z-30 flex items-center justify-center bg-background/95 backdrop-blur-md p-4",children:e.jsxs("div",{className:"text-center max-w-2xl w-full",children:[e.jsx("div",{className:"inline-block px-5 py-2 rounded-full bg-primary/20 border border-primary/40 text-primary text-sm font-bold uppercase tracking-widest mb-6 shadow-lg shadow-primary/20",children:d.error}),e.jsx("h1",{className:"text-4xl md:text-6xl font-bold font-display mb-3",children:d.title}),e.jsx("p",{className:"text-muted-foreground text-base md:text-lg mb-8 max-w-md mx-auto",children:d.description}),e.jsxs("div",{className:"grid grid-cols-3 gap-3 mb-8 max-w-sm mx-auto",children:[e.jsxs("div",{className:"bg-card/60 border border-border rounded-xl p-4 text-center hover:border-blue-500/50 transition-colors",children:[e.jsx("div",{className:"w-10 h-10 mx-auto mb-2 rounded-full flex items-center justify-center",style:{backgroundColor:"rgba(59, 130, 246, 0.2)",boxShadow:"0 0 20px rgba(59, 130, 246, 0.3)"},children:e.jsx(Ee,{className:"w-5 h-5",style:{color:"#3b82f6"}})}),e.jsx("p",{className:"text-xs font-medium text-foreground",children:"Phishing"}),e.jsx("p",{className:"text-[10px] text-muted-foreground",children:"Email"})]}),e.jsxs("div",{className:"bg-card/60 border border-border rounded-xl p-4 text-center hover:border-emerald-500/50 transition-colors",children:[e.jsx("div",{className:"w-10 h-10 mx-auto mb-2 rounded-full flex items-center justify-center",style:{backgroundColor:"rgba(16, 185, 129, 0.2)",boxShadow:"0 0 20px rgba(16, 185, 129, 0.3)"},children:e.jsx(qe,{className:"w-5 h-5",style:{color:"#10b981"}})}),e.jsx("p",{className:"text-xs font-medium text-foreground",children:"Smishing"}),e.jsx("p",{className:"text-[10px] text-muted-foreground",children:"SMS"})]}),e.jsxs("div",{className:"bg-card/60 border border-border rounded-xl p-4 text-center hover:border-amber-500/50 transition-colors",children:[e.jsx("div",{className:"w-10 h-10 mx-auto mb-2 rounded-full flex items-center justify-center",style:{backgroundColor:"rgba(245, 158, 11, 0.2)",boxShadow:"0 0 20px rgba(245, 158, 11, 0.3)"},children:e.jsx(Re,{className:"w-5 h-5",style:{color:"#f59e0b"}})}),e.jsx("p",{className:"text-xs font-medium text-foreground",children:"Vishing"}),e.jsx("p",{className:"text-[10px] text-muted-foreground",children:t==="es"?"Voz":"Voice"})]})]}),e.jsxs("div",{className:"flex items-center justify-center gap-4 mb-6",children:[e.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg bg-violet-500/10 border border-violet-500/30",children:[e.jsx(Me,{className:"w-4 h-4 text-violet-400"}),e.jsx("span",{className:"text-xs text-violet-300",children:t==="es"?"Mejor Detección":"Better Detection"})]}),e.jsxs("div",{className:"flex items-center gap-2 px-3 py-2 rounded-lg bg-pink-500/10 border border-pink-500/30",children:[e.jsx(Pe,{className:"w-4 h-4 text-pink-400"}),e.jsx("span",{className:"text-xs text-pink-300",children:t==="es"?"Tiempo de Entrenamiento":"Training Time"})]})]}),e.jsxs("div",{className:"flex items-center justify-center gap-6 mb-8 text-sm text-muted-foreground",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(Ae,{className:"w-4 h-4 text-primary"}),e.jsx("span",{children:d.howToBlock})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"text-primary font-bold",children:"+100"}),e.jsx("span",{children:d.perBlock})]})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-3 mb-6",children:[e.jsx(I,{asChild:!0,variant:"outline",size:"lg",className:"w-full sm:w-auto",children:e.jsxs(le,{to:"/",children:[e.jsx(de,{className:"w-5 h-5 mr-2"}),d.returnHome]})}),e.jsxs(I,{onClick:ge,size:"lg",className:"w-full sm:w-auto bg-primary hover:bg-primary/90 text-primary-foreground shadow-lg shadow-primary/30",children:[e.jsx(Ce,{className:"w-5 h-5 mr-2"}),d.playGame]})]}),e.jsxs("div",{className:"flex items-center justify-center gap-4 text-xs text-muted-foreground mb-4",children:[e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(et,{className:"w-3.5 h-3.5"}),e.jsx("span",{children:"Mouse"})]}),e.jsx("span",{className:"text-border",children:"|"}),e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx(Ue,{className:"w-3.5 h-3.5"}),e.jsx("span",{children:"← → / A D"})]})]}),e.jsxs("div",{className:"bg-accent/30 p-4 rounded-xl border border-border max-w-sm mx-auto",children:[e.jsx("p",{className:"text-[10px] uppercase tracking-widest text-muted-foreground font-bold mb-3 text-center",children:t==="es"?"Ajustes de Audio":"Audio Settings"}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(me,{className:"w-4 h-4 text-muted-foreground shrink-0"}),e.jsx("span",{className:"text-xs text-muted-foreground",children:t==="es"?"Efectos":"SFX"}),e.jsx(B,{value:[M*100],onValueChange:a=>se(a[0]/100),max:100,step:5,className:"w-full cursor-pointer"})]}),e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(ue,{className:"w-4 h-4 text-muted-foreground shrink-0"}),e.jsx("span",{className:"text-xs text-muted-foreground",children:t==="es"?"Música":"Music"}),e.jsx(B,{value:[v*100],onValueChange:a=>re(a[0]/100),max:100,step:5,className:"w-full cursor-pointer"})]})]})]})]})}),l==="paused"&&e.jsx("div",{className:"fixed inset-0 z-40 flex items-center justify-center p-6 bg-background/85 backdrop-blur-lg",children:e.jsxs("div",{className:"max-w-md w-full bg-card border border-border rounded-3xl p-8 shadow-2xl text-center",children:[e.jsx("div",{className:"w-16 h-16 mx-auto mb-4 rounded-full bg-primary/20 border border-primary/40 flex items-center justify-center",children:e.jsx(Ve,{className:"text-primary w-8 h-8"})}),e.jsx("h2",{className:"text-3xl font-bold font-display mb-2",children:t==="es"?"Juego Pausado":"Game Paused"}),e.jsx("p",{className:"text-muted-foreground mb-6",children:t==="es"?"Presiona P o Espacio para continuar":"Press P or Space to resume"}),e.jsxs("div",{className:"bg-accent/50 p-4 rounded-xl border border-border mb-6",children:[e.jsx("p",{className:"text-xs uppercase tracking-widest text-muted-foreground mb-1",children:t==="es"?"Puntuación Actual":"Current Score"}),e.jsx("p",{className:"text-3xl font-bold font-mono text-foreground",children:h})]}),e.jsxs("div",{className:"bg-accent/30 p-4 rounded-xl border border-border mb-6",children:[e.jsx("p",{className:"text-[10px] uppercase tracking-widest text-muted-foreground font-bold mb-3",children:t==="es"?"Ajustes de Audio":"Audio Settings"}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(me,{className:"w-4 h-4 text-muted-foreground shrink-0"}),e.jsx("span",{className:"text-xs text-muted-foreground w-12",children:t==="es"?"Efectos":"SFX"}),e.jsx(B,{value:[M*100],onValueChange:a=>se(a[0]/100),max:100,step:5,className:"flex-1 cursor-pointer"})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(ue,{className:"w-4 h-4 text-muted-foreground shrink-0"}),e.jsx("span",{className:"text-xs text-muted-foreground w-12",children:t==="es"?"Música":"Music"}),e.jsx(B,{value:[v*100],onValueChange:a=>re(a[0]/100),max:100,step:5,className:"flex-1 cursor-pointer"})]})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsx(I,{asChild:!0,variant:"secondary",size:"lg",children:e.jsxs(le,{to:"/",children:[e.jsx(de,{className:"w-5 h-5 mr-2"})," ",t==="es"?"Inicio":"Home"]})}),e.jsxs(I,{onClick:()=>A("playing"),size:"lg",className:"bg-primary hover:bg-primary/90 text-primary-foreground",children:[e.jsx(Je,{className:"w-5 h-5 mr-2"})," ",t==="es"?"Continuar":"Resume"]})]})]})}),l==="gameover"&&e.jsx("div",{className:"fixed inset-0 z-40 flex items-center justify-center p-6 bg-background/85 backdrop-blur-lg",children:e.jsxs("div",{className:"max-w-xl w-full bg-card border border-border rounded-3xl p-8 shadow-2xl",children:[e.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[e.jsx("div",{className:"w-12 h-12 rounded-full bg-destructive/20 flex items-center justify-center",children:e.jsx(Ye,{className:"text-destructive w-8 h-8"})}),e.jsx("h2",{className:"text-3xl font-bold font-display",children:d.infiltration})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4 mb-6",children:[e.jsxs("div",{className:"bg-accent/50 p-4 rounded-xl border border-border text-center",children:[e.jsx("p",{className:"text-xs uppercase tracking-widest text-muted-foreground mb-1",children:d.yourScore}),e.jsx("p",{className:"text-3xl font-bold font-mono text-foreground",children:h})]}),e.jsxs("div",{className:"bg-accent/50 p-4 rounded-xl border border-border text-center relative",children:[e.jsx("p",{className:"text-xs uppercase tracking-widest text-muted-foreground mb-1",children:d.bestScore}),e.jsx("p",{className:"text-3xl font-bold font-mono text-primary",children:q}),h>=q&&h>0&&e.jsx("span",{className:"absolute -top-2 -right-2 bg-primary text-primary-foreground text-[10px] px-2 py-0.5 rounded-full font-bold",children:d.newRecord})]})]}),p&&e.jsxs("div",{className:"mb-6 p-4 rounded-xl border",style:{backgroundColor:`${p.color}15`,borderColor:`${p.color}40`},children:[e.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[e.jsxs("div",{className:"w-8 h-8 rounded-full flex items-center justify-center",style:{backgroundColor:p.color,boxShadow:`0 0 12px ${p.color}`}
41,children:[p.icon==="mail"&&e.jsx(Ee,{className:"w-4 h-4 text-white"}),p.icon==="smartphone"&&e.jsx(qe,{className:"w-4 h-4 text-white"}),p.icon==="mic"&&e.jsx(Re,{className:"w-4 h-4 text-white"})]}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs uppercase tracking-widest text-muted-foreground",children:d.defeatedBy}),e.jsx("p",{className:"font-bold text-foreground",style:{color:p.color},children:(je=d.attackDefinitions[p.icon])==null?void 0:je.name})]})]}),e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:(ve=d.attackDefinitions[p.icon])==null?void 0:ve.definition})]}),e.jsx("p",{className:"text-muted-foreground text-lg mb-6 italic",children:d.quote}),e.jsxs("div",{className:"bg-accent p-6 rounded-xl font-mono text-sm mb-8 border border-border",children:[e.jsx("p",{className:"text-muted-foreground mb-2",children:"> [FENSIVO_REMEDIATION_LOG]"}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("p",{className:"flex items-center gap-2 text-primary",children:[e.jsx(Ze,{className:"w-4 h-4"})," ",d.brokenLink]}),e.jsxs("p",{className:"flex items-center gap-2 text-green-400",children:[e.jsx(_e,{className:"w-4 h-4"})," ",d.noPasswords]}),e.jsxs("p",{className:"flex items-center gap-2 font-bold text-foreground",children:[e.jsx(Qe,{className:"w-4 h-4"})," ",d.lookingFor]})]})]}),e.jsxs("div",{className:"bg-accent/30 p-4 rounded-xl border border-border mb-6",children:[e.jsx("p",{className:"text-[10px] uppercase tracking-widest text-muted-foreground font-bold mb-3",children:t==="es"?"Ajustes de Audio":"Audio Settings"}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(me,{className:"w-4 h-4 text-muted-foreground shrink-0"}),e.jsx("span",{className:"text-xs text-muted-foreground",children:t==="es"?"Efectos":"SFX"}),e.jsx(B,{value:[M*100],onValueChange:a=>se(a[0]/100),max:100,step:5,className:"w-full cursor-pointer"})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(ue,{className:"w-4 h-4 text-muted-foreground shrink-0"}),e.jsx("span",{className:"text-xs text-muted-foreground",children:t==="es"?"Música":"Music"}),e.jsx(B,{value:[v*100],onValueChange:a=>re(a[0]/100),max:100,step:5,className:"w-full cursor-pointer"})]})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsx(I,{asChild:!0,variant:"secondary",size:"lg",children:e.jsxs(le,{to:"/",children:[e.jsx(de,{className:"w-5 h-5 mr-2"})," ",d.home]})}),e.jsxs(I,{onClick:ge,variant:"outline",size:"lg",children:[e.jsx($e,{className:"w-5 h-5 mr-2"})," ",d.retry]})]})]})})]})};export{yt 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.