    // 1. Detect mouse release outside the highlighter area, to end highlighting
          highlighter.addEventListener("mousedown", (_) => {
            document.addEventListener("mouseup", onDocumentUp(id, "mouse"), {
              once: true,
            });
          });
          // 2. Detect touch release outside the highlighter area, to end highlighting
          highlighter.addEventListener("touchstart", (_) => {
            console.log("touchstart", id);
            document.addEventListener("touch