e' );

        // Parse the entered time
        const timeStr = this.display.value;
        const timeRegex = /^(\d{1,2}):(\d{2})$/;
        const match = timeStr.match( timeRegex );

        if ( match ) {
          const minutes = parseInt( match[1] );
          const seconds = parseInt( match[2] );

          if ( minutes >= 0 && minutes <= 99 && seconds >= 0 && seconds <= 59 ) {
            this.setTime( minutes, seconds );

            // Resume timer if it was running before editing
            if ( 