@@ 1,3 1,4 @@
+// @ts-ignore
import {Direction, Packet, type_direction} from "./protocol.ts";
import createDebug from "debug";
@@ 107,12 108,16 @@ function generateTree(object: any, level: number): [indent: number, key: string,
export let packets: Packet[] = [];
export let selected_packet: number | null = null;
+// @ts-ignore
let last_packet: Date | null = null;
+// @ts-ignore
const log_body = document.getElementById("log_body")!;
+// @ts-ignore
const up_arrow = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="log-icon log-leaving">
<path stroke-linecap="round" stroke-linejoin="round" d="M4.5 10.5L12 3m0 0l7.5 7.5M12 3v18" />
</svg>`;
+// @ts-ignore
const down_arrow = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="log-icon log-arriving">
<path stroke-linecap="round" stroke-linejoin="round" d="M19.5 13.5L12 21m0 0l-7.5-7.5M12 21V3" />
</svg>`;