// uncomment to check what window._QA_ holds
/*(() => {
    let timer = setInterval(() => {
       const qa = window._QA_;
       if (qa) {
           clearInterval(timer);

           const unityCanvasEl = document.querySelector('canvas');
           const { width, height, left, top } = unityCanvasEl.getBoundingClientRect();
           const canvasEl = document.createElement('canvas');
           canvasEl.style.pointerEvents = 'none';
           canvasEl.style.zIndex = '10000';
           canvasEl.style.position = 'absolute';
           canvasEl.style.left = `${left}px`;
           canvasEl.style.top = `${top}px`;
           canvasEl.setAttribute('width', width);
           canvasEl.setAttribute('height', height);
           canvasEl.style.width = `${width}px`;
           canvasEl.style.height = `${height}px`;
           document.body.appendChild(canvasEl);

           qa.BoundingBox = { x: left, y: top, width, height };

           const ctx = canvasEl.getContext('2d');

           ctx.strokeStyle = 'red';
           ctx.textAlign = 'center';
           ctx.textBaseline = 'middle';
           for (const { ID, BoundingBox } of qa.Elements) {
            ctx.strokeRect(BoundingBox.x, BoundingBox.y, BoundingBox.width, BoundingBox.height);
            ctx.strokeText(ID, BoundingBox.x + BoundingBox.width / 2, BoundingBox.y + BoundingBox.height / 2);
           }
        }
    }, 200);
})();*/
