<commit_before>{if !$enableMicrodata|isset}
	{assign var=enableMicrodata value=false}
{/if}
{if !$__messageSidebarJavascript|isset}
	{assign var=__messageSidebarJavascript value=true}
{/if}

<aside class="messageSidebar{if MESSAGE_SIDEBAR_ENABLE_ONLINE_STATUS && $userProfile->isOnline()} userOnline{/if} {if $userProfile->userID}member{else}guest{/if}"{if $enableMicrodata} itemprop="author" itemscope itemtype="http://schema.org/Person"{/if}>
	<div class="messageAuthor">
		{event name='messageAuthor'}
		
		{if $userProfile->userID}
			{assign var='username' value=$userProfile->username}
			
			{if $userProfile->getAvatar()}
				<div class="userAvatar">
					<a href="{link controller='User' object=$userProfile->getDecoratedObject()}{/link}">{@$userProfile->getAvatar()->getImageTag(128)}</a>
					
					{if MESSAGE_SIDEBAR_ENABLE_ONLINE_STATUS && $userProfile->isOnline()}<span class="badge green badgeOnline" title="{lang}wcf.user.online.title{/lang}">{lang}wcf.user.online{/lang}</span>{/if}
				</div>
			{/if}
			
			<div class="messageAuthorContainer">
				<a href="{link controller='User' object=$userProfile->getDecoratedObject()}{/link}" class="username userLink" data-user-id="{@$userProfile->userID}"{if $enableMicrodata} itemprop="url"{/if}>
					<span{if $enableMicrodata} itemprop="name"{/if}>{if MESSAGE_SIDEBAR_ENABLE_USER_ONLINE_MARKING}{@$userProfile->getFormattedUsername()}{else}{$username}{/if}</span>
				</a>
				{if $userProfile->banned}<span class="icon icon16 fa-lock jsTooltip jsUserBanned" title="{lang user=$userProfile}wcf.user.banned{/lang}"></span>{/if}
				
				{event name='messageAuthorContainer'}
			</div>
			
			{if MODULE_USER_RANK}
				{if $userProfile->getUserTitle()}
					<div class="userTitle">
						<span class="badge userTitleBadge{if $userProfile->getRank() && $userProfile->getRank()->cssClassName} {@$userProfile->getRank()->cssClassName}{/if}">{$userProfile->getUserTitle()}</span>
					</div>
				{/if}
				{if $userProfile->getRank() && $userProfile->getRank()->rankImage}
					<div class="userRank">{@$userProfile->getRank()->getImage()}</div>
				{/if}
			{/if}
		{else}
			<div class="messageAuthorContainer">
				<span class="username"{if $enableMicrodata} itemprop="name"{/if}>{$userProfile->username}</span>
				
				{event name='messageAuthorContainer'}
			</div>
			
			<div class="userTitle">
				<span class="badge">{lang}wcf.user.guest{/lang}</span>
			</div>
		{/if}
	</div>
	
	{event name='beforeCredits'}
	
	{if $userProfile->userID}
		{hascontent}
			<div class="userCredits">
				<dl class="plain dataList">
					{content}
						{if MODULE_LIKE && MESSAGE_SIDEBAR_ENABLE_LIKES_RECEIVED && $userProfile->likesReceived}
							<dt><a href="{link controller='User' object=$userProfile}{/link}#likes" class="jsTooltip" title="{lang user=$userProfile}wcf.like.showLikesReceived{/lang}">{lang}wcf.like.likesReceived{/lang}</a></dt>
							<dd>{#$userProfile->likesReceived}</dd>
						{/if}
						
						{if MESSAGE_SIDEBAR_ENABLE_ACTIVITY_POINTS && $userProfile->activityPoints}
							<dt><a href="#" class="activityPointsDisplay jsTooltip" title="{lang user=$userProfile}wcf.user.activityPoint.showActivityPoints{/lang}" data-user-id="{@$userProfile->userID}">{lang}wcf.user.activityPoint{/lang}</a></dt>
							<dd>{#$userProfile->activityPoints}</dd>
						{/if}
						
						{event name='userCredits'}
						
						{if MESSAGE_SIDEBAR_USER_OPTIONS && $userProfile->isAccessible('canViewProfile')}
							{assign var='__sidebarUserOptions' value=','|explode:MESSAGE_SIDEBAR_USER_OPTIONS}
							{foreach from=$__sidebarUserOptions item='__sidebarUserOption'}
								{if $userProfile->getUserOption($__sidebarUserOption)}
									{assign var='__formattedUserOption' value=$userProfile->getFormattedUserOption($__sidebarUserOption)}
									{if $__formattedUserOption}
										<dt>{lang}wcf.user.option.{$__sidebarUserOption}{/lang}</dt>
										<dd>{@$__formattedUserOption}</dd>
									{/if}
								{/if}
							{/foreach}
						{/if}
					{/content}
				</dl>
			</div>
		{/hascontent}
	{/if}
	
	{event name='afterCredits'}
</aside>
<commit_msg>Condensed sidebar layout for message reply<commit_after>{if !$isReply|isset}
	{assign var=isReply value=false} 
{/if}
{if !$enableMicrodata|isset}
	{assign var=enableMicrodata value=false}
{/if}
{if !$__messageSidebarJavascript|isset}
	{assign var=__messageSidebarJavascript value=true}
{/if}

<aside class="messageSidebar{if MESSAGE_SIDEBAR_ENABLE_ONLINE_STATUS && !$isReply && $userProfile->isOnline()} userOnline{/if} {if $userProfile->userID}member{else}guest{/if}"{if $enableMicrodata} itemprop="author" itemscope itemtype="http://schema.org/Person"{/if}>
	<div class="messageAuthor">
		{event name='messageAuthor'}
		
		{if $userProfile->userID}
			{assign var='username' value=$userProfile->username}
			
			{if $userProfile->getAvatar()}
				<div class="userAvatar">
					<a href="{link controller='User' object=$userProfile->getDecoratedObject()}{/link}">{@$userProfile->getAvatar()->getImageTag(128)}</a>
					
					{if MESSAGE_SIDEBAR_ENABLE_ONLINE_STATUS && !$isReply && $userProfile->isOnline()}<span class="badge green badgeOnline" title="{lang}wcf.user.online.title{/lang}">{lang}wcf.user.online{/lang}</span>{/if}
				</div>
			{/if}
			
			<div class="messageAuthorContainer">
				<a href="{link controller='User' object=$userProfile->getDecoratedObject()}{/link}" class="username userLink" data-user-id="{@$userProfile->userID}"{if $enableMicrodata} itemprop="url"{/if}>
					<span{if $enableMicrodata} itemprop="name"{/if}>{if MESSAGE_SIDEBAR_ENABLE_USER_ONLINE_MARKING}{@$userProfile->getFormattedUsername()}{else}{$username}{/if}</span>
				</a>
				{if !$isReply}
					{if $userProfile->banned}<span class="icon icon16 fa-lock jsTooltip jsUserBanned" title="{lang user=$userProfile}wcf.user.banned{/lang}"></span>{/if}
					
					{event name='messageAuthorContainer'}
				{/if}
			</div>
			
			{if MODULE_USER_RANK && !$isReply}
				{if $userProfile->getUserTitle()}
					<div class="userTitle">
						<span class="badge userTitleBadge{if $userProfile->getRank() && $userProfile->getRank()->cssClassName} {@$userProfile->getRank()->cssClassName}{/if}">{$userProfile->getUserTitle()}</span>
					</div>
				{/if}
				{if $userProfile->getRank() && $userProfile->getRank()->rankImage}
					<div class="userRank">{@$userProfile->getRank()->getImage()}</div>
				{/if}
			{/if}
		{else}
			<div class="messageAuthorContainer">
				<span class="username"{if $enableMicrodata} itemprop="name"{/if}>{$userProfile->username}</span>
				
				{event name='messageAuthorContainer'}
			</div>
			
			<div class="userTitle">
				<span class="badge">{lang}wcf.user.guest{/lang}</span>
			</div>
		{/if}
	</div>
	
	{if !$isReply}
		{event name='beforeCredits'}
		
		{if $userProfile->userID}
			{hascontent}
				<div class="userCredits">
					<dl class="plain dataList">
						{content}
							{if MODULE_LIKE && MESSAGE_SIDEBAR_ENABLE_LIKES_RECEIVED && $userProfile->likesReceived}
								<dt><a href="{link controller='User' object=$userProfile}{/link}#likes" class="jsTooltip" title="{lang user=$userProfile}wcf.like.showLikesReceived{/lang}">{lang}wcf.like.likesReceived{/lang}</a></dt>
								<dd>{#$userProfile->likesReceived}</dd>
							{/if}
							
							{if MESSAGE_SIDEBAR_ENABLE_ACTIVITY_POINTS && $userProfile->activityPoints}
								<dt><a href="#" class="activityPointsDisplay jsTooltip" title="{lang user=$userProfile}wcf.user.activityPoint.showActivityPoints{/lang}" data-user-id="{@$userProfile->userID}">{lang}wcf.user.activityPoint{/lang}</a></dt>
								<dd>{#$userProfile->activityPoints}</dd>
							{/if}
							
							{event name='userCredits'}
							
							{if MESSAGE_SIDEBAR_USER_OPTIONS && $userProfile->isAccessible('canViewProfile')}
								{assign var='__sidebarUserOptions' value=','|explode:MESSAGE_SIDEBAR_USER_OPTIONS}
								{foreach from=$__sidebarUserOptions item='__sidebarUserOption'}
									{if $userProfile->getUserOption($__sidebarUserOption)}
										{assign var='__formattedUserOption' value=$userProfile->getFormattedUserOption($__sidebarUserOption)}
										{if $__formattedUserOption}
											<dt>{lang}wcf.user.option.{$__sidebarUserOption}{/lang}</dt>
											<dd>{@$__formattedUserOption}</dd>
										{/if}
									{/if}
								{/foreach}
							{/if}
						{/content}
					</dl>
				</div>
			{/hascontent}
		{/if}
		
		{event name='afterCredits'}
	{/if}
</aside>

{'fraction_non_alphanumeric': 0.1824826122833903, 'fraction_numerical': 0.0011788282447247435, 'mean_word_length': 4.716981132075472, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 177, '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': '3510497', 'n_tokens_mistral': 3574, 'n_tokens_neox': 2877, 'n_words': 386}