 ( action, ndx ) => {

			const enabled = ndx === nextActionNdx;
			action.enabled = enabled;
			if ( enabled ) {

				action.play();

			}

		} );

	}

	window.addEventListener( 'keydown', ( e ) => {

		const mixerInfo = mixerInfos[ e.keyCode - 49 ];
		if ( ! mixerInfo ) {

			return;

		}

		playNextAction( mixerInfo );

	} );

	function resizeRendererToDisplaySize( renderer ) {

		const canvas = renderer.domElement;
		const width = canvas.clientWidth;
		const height = canvas.clientHeight;
		const needRes