StudentQrScanner component.

This component is responsible for scanning QR codes for students. It performs the following operations:

  1. Sets up a QR scanner.
  2. Decodes the scanned QR code and splits it into a secure hash and a lecture ID.
  3. Validates the decoded QR code.
  4. Sets up a WebSocket connection.
  5. Sends a message to the server indicating that the student has arrived at the lecture.
  6. Handles server responses, including successful scan and too slow scan.
  7. Navigates to the main view after a successful scan.