st canvas_id = "canvas";

        const canvas = document.createElement("canvas");

        const pending_mapping_requests = {};

        canvas.id = canvas_id;
        canvas.className = canvas_id;
        canvas.style.width = "100%";
        canvas.style.height = "100%";
        canvas.style.outline = "none";
        canvas.style.touchAction = "none";
        canvas.width = canvas.offsetWidth;
        canvas.height = canvas.offsetHeight;

        canvas.dataset.slintAutoResizeToPreferred = "false";

     