<commit_before>( function( mw, $ ) {"use strict";

	mw.PluginManager.add( 'infoScreen', mw.KBaseComponent.extend({

		defaultConfig: {
			parent: "topBarContainer",
         	order: 3,
         	align: "right",
         	minWidth: 400,
         	minWidthClass: 'infoScreenSmall',
         	template: "<div class='pull-right details'> \
         		<div class='created'>Uploaded on {mediaProxy.entry.createdAt|dateFormat}</div> \
         		<div class='description'>{mediaProxy.entry.description}</div></div> \
         		<div class='pull-left panel'><div class='videoPreview'></div> \
         		<div class='views'>{mediaProxy.entry.views|numberWithCommas} Views</div> \
         		</div>"
		},
		oldVidCss: null,
		canResizeVideo: false,
		setup: function(){
			var _this = this;
			this.bind('playerReady', function(){
				_this.removeInfoScreen();
			});
			
			this.bind('onplay', function(){
				_this.canResizeVideo = true;
				if( _this.isInfoScreenVisible() ){
					_this.resizePlayer();
				}
				if( _this.isSmallView && _this.isInfoScreenVisible() ){
					_this.hideInfoScreen();
				}
			});

			this.bind('updateLayout', function(){
				if( $(window).width() <= _this.getConfig('minWidth') ){
					_this.isSmallView = true;
					_this.getPlayer().getInterface().addClass( _this.getConfig('minWidthClass') );
				} else {<commit_msg>fixed white space infoScreen<commit_after>( function( mw, $ ) {"use strict";

	mw.PluginManager.add( 'infoScreen', mw.KBaseComponent.extend({

		defaultConfig: {
			parent: "topBarContainer",
			order: 3,
			align: "right",
			minWidth: 400,
			minWidthClass: 'infoScreenSmall',
			template: "<div class='pull-right details'> \
				<div class='created'>Uploaded on {mediaProxy.entry.createdAt|dateFormat}</div> \
				<div class='description'>{mediaProxy.entry.description}</div></div> \
				<div class='pull-left panel'><div class='videoPreview'></div> \
				<div class='views'>{mediaProxy.entry.views|numberWithCommas} Views</div> \
				</div>"
		},
		oldVidCss: null,
		canResizeVideo: false,
		setup: function(){
			var _this = this;
			this.bind('playerReady', function(){
				_this.removeInfoScreen();
			});
			
			this.bind('onplay', function(){
				_this.canResizeVideo = true;
				if( _this.isInfoScreenVisible() ){
					_this.resizePlayer();
				}
				if( _this.isSmallView && _this.isInfoScreenVisible() ){
					_this.hideInfoScreen();
				}
			});

			this.bind('updateLayout', function(){
				if( $(window).width() <= _this.getConfig('minWidth') ){
					_this.isSmallView = true;
					_this.getPlayer().getInterface().addClass( _this.getConfig('minWidthClass') );
				} else {
{'fraction_non_alphanumeric': 0.168628940372199, 'fraction_numerical': 0.0030383592859855677, 'mean_word_length': 3.449324324324324, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5928728', 'n_tokens_mistral': 1011, 'n_tokens_neox': 847, 'n_words': 143}