n()
      }
    })

    document.getElementById('test-a11y-styled-slider-container').addEventListener('pointerdown', function (event) {
      isStyledMoving = true

      event.preventDefault()
      event.stopPropagation()
    })

    document.getElementById('test-a11y-styled-slider-container').addEventListener('click', function (event) {
      const { offset } = getMousePosition(event)

      document.getElementById('test-a11y-styled-slider').style.left = `${offset}px`

      event.preventDefault()
      