import React, { useState } from 'react'; import { InvestigationCase } from '../../types/forensics'; import { FINCEN_SAR_DATABASE } from '../../data/fincenSarData'; import { FincenSarModal } from '../modals/FincenSarModal'; import { Scale, FileCheck2, ShieldAlert, Globe2, FileText, Download, Copy, Check, AlertOctagon, BookOpen, ExternalLink } from 'lucide-react'; interface StatutoryMatrixTabProps { currentCase: InvestigationCase; onTraceAddress?: (address: string) => void; } export const StatutoryMatrixTab: React.FC = ({ currentCase, onTraceAddress, }) => { const matrix = currentCase.statutoryMatrix; const [copiedBrief, setCopiedBrief] = useState(false); const [activeBriefView, setActiveBriefView] = useState<'LEGAL_MATRIX' | 'SAR_NARRATIVE'>('LEGAL_MATRIX'); const [isSarModalOpen, setIsSarModalOpen] = useState(false); const generateSarText = () => { return `SUSPICIOUS ACTIVITY REPORT (SAR) - PART V NARRATIVE ===================================================== DOCKET ID: ${currentCase.id} FILING INSTITUTION: Sentinel Threat Intelligence Enclave DATE: 2026-09-01 PRIMARY SUBJECT: ${currentCase.entityTarget.primaryAlias} (${currentCase.entityTarget.legalName || 'Unverified Subject'}) ENTITY TYPE: ${currentCase.entityTarget.entityType} WALLET / RAILS: ${currentCase.entityTarget.walletAddress || 'N/A'} TOTAL VOLUME: $${currentCase.financialLedger.totalVolumeUsd.toLocaleString()} USD I. EXECUTIVE SUMMARY & JURISDICTIONAL BASIS The filing entity hereby transmits this electronic Suspicious Activity Report pursuant to the Bank Secrecy Act (31 U.S.C. 5318(g)) and 18 U.S.C. § 2339B / 18 U.S.C. § 2331. The target entity was identified conducting high-velocity structured financial activity and cross-border value transfer to sanctioned endpoints. II. TECHNICAL DE-ANONYMIZATION & EVASION FINDINGS The target presented an egress IP address of ${currentCase.networkTelemetry.claimedGeo.ip} (${currentCase.networkTelemetry.claimedGeo.city}, ${currentCase.networkTelemetry.claimedGeo.country}). However, multi-point Anycast BGP speed-of-light triangulation (formula: t >= 2d / (c * 2/3)) revealed an irreconcilable latency delta of ${currentCase.networkTelemetry.bgpAnycast.propagationDeltaMs} ms. True physical origin was attributed to ${currentCase.networkTelemetry.bgpAnycast.physicalOriginInference}. Client-side STUN probing confirmed unmasked physical NIC address ${currentCase.networkTelemetry.clientProbes.webrtcCandidateLeak.unmaskedPublicIp}. III. STRUCTURING & LAUNDERING METHODOLOGY The subject executed structured transactions deliberately calibrated below the $10,000 Currency Transaction Reporting (CTR) threshold: "${currentCase.financialLedger.structuringSummary}". Funds were routed through anonymizing mixing protocols before settlement to recipient nodes. IV. STATUTORY CLASSIFICATION & REGULATORY MANDATE - 18 U.S.C. § 2339B (Material Support): Strict liability applies; foreign entity designation verified. - EU TCO Regulation (EU) 2021/784: 1-Hour removal order executed across all EU edge points. - Platform Editorial Rights: Content suppressed under 47 U.S.C. § 230(c)(2)(A) and Moody v. NetChoice (2024). V. LAW ENFORCEMENT DISPOSITION & EVIDENCE SUMMARY The filing entity has frozen all associated internal balance queues and preserved forensic PCAP and transaction records (Evidence Locker ${currentCase.id}). Referral transmitted to FinCEN and FBI Joint Terrorism Task Force (JTTF).`; }; const copyBriefToClipboard = () => { navigator.clipboard.writeText(generateSarText()); setCopiedBrief(true); setTimeout(() => setCopiedBrief(false), 3000); }; return (
{/* Top Banner: Multi-Jurisdictional Statutory Overview */}

Multi-Jurisdictional Statutory Alignment & Regulatory Matrix

U.S. FEDERAL • EU DSA/TCO • MOODY V. NETCHOICE

Statutory criminal law and private platform moderation operate from distinct baselines. While U.S. federal criminal prosecutions under 18 U.S.C. § 2331 and the Brandenburg incitement standard require an underlying criminal act dangerous to human life, private platforms enforce proactive harm thresholds and 1-hour removal mandates under EU TCO (Reg 2021/784) and DSA Articles 34/35, shielded by Section 230 and First Amendment editorial discretion (Moody v. NetChoice 2024).

{/* View Switcher */}
{activeBriefView === 'LEGAL_MATRIX' ? (
{/* Comparative Matrix Table */}
STATUTORY FRAMEWORK COMPARISON TABLE Applicability for Case {currentCase.id}
Legal / Policy Dimension 18 U.S.C. § 2331 (U.S. Federal Baseline) 28 C.F.R. § 0.85(l) (FBI Mandate) Private Platform & EU TCO/DSA
Intent & Coercive Purpose Requires activities intended to intimidate/coerce civilian population or government policy via mass destruction, kidnapping, or assassination. Targets unlawful use of force/violence committed to intimidate or coerce in furtherance of political/social objectives. Decoupled from criminal mens rea; evaluates expressive harms, manifestos, and radicalization pipelines upstream.
Physical Harm & Predicate Acts Must involve acts dangerous to human life violating criminal laws of the U.S. or any state. Encompasses unlawful force/violence against persons or property. Precautionary threshold: bans ideological manifestos, tactical blueprints, and terrorwave propaganda before acts occur.
Entity Designation Authority FTO designated under INA § 219 (8 U.S.C. § 1189). Domestic groups cannot be constitutionally blacklisted by the state. FBI enterprise investigation rules without maintaining a formal domestic blacklist. Bridges domestic/international divide; maintains Dangerous Organizations & Individuals (DOI/VEO) lists.
Material Support & Enforcement Criminalizes material support to FTOs (18 U.S.C. § 2339B; Holder v. Humanitarian Law Project). Authorizes investigative and intelligence collection against criminal enterprises. Strict liability account deplatforming, GIFCT hash sync, and EU TCO 1-Hour mandatory removal under fines up to 6% global revenue.
{/* Constitutional Boundaries Card */}
FIRST AMENDMENT & STATUTORY BOUNDARIES

{matrix.firstAmendmentBoundary}

PLATFORM EDITORIAL DISCRETION & SECTION 230

{matrix.platformEditorialProtection}

) : ( /* FinCEN SAR Part V Narrative View */
FINCEN SUSPICIOUS ACTIVITY REPORT (PART V) & JTTF REFERRAL
            {generateSarText()}
          
)} {/* FinCEN SAR Modal */} setIsSarModalOpen(false)} selectedBsanId={null} onTraceAddress={onTraceAddress} />
); };