"use client"; import { motion, useReducedMotion } from "framer-motion"; import clsx from "clsx"; type Props = { className?: string; accent?: string; bg?: string; }; const W = 760; const H = 420; /** Node component */ const Node = ({ x, y, r = 14, accent = "#00b8db", pulse = false, faded = false, }: { x: number; y: number; r?: number; accent?: string; pulse?: boolean; faded?: boolean; }) => { const prefers = useReducedMotion(); return ( <> ); }; /** Moving packet along a path */ const Packet = ({ path, delay = 0, accent = "#00b8db", }: { path: string; delay?: number; accent?: string; }) => { const prefers = useReducedMotion(); return ( ); }; export default function NoControl({ className, accent = "#00b8db", bg = "#0a0a0a", }: Props) { const center = { x: 380, y: 210 }; const outer = [ { x: 160, y: 120 }, { x: 600, y: 120 }, { x: 160, y: 300 }, { x: 600, y: 300 }, ]; const link = (a: any, b: any) => `M ${a.x} ${a.y} L ${b.x} ${b.y}`; return ( ); }