<commit_before><ul class="sidebarItemList">
	{foreach from=$birthdayUserProfiles item=birthdayUserProfile}
		<li class="box32">
			{user object=$birthdayUserProfile type='avatar32' ariaHidden='true' tabindex='-1'}
			
			<div class="sidebarItemTitle">
				<h3>{user object=$birthdayUserProfile}</h3>
				<small>{$birthdayUserProfile->getBirthday()}</small>
			</div>
		</li>
	{/foreach}
</ul>

{if $birthdayUserProfiles|count >= 10}
	<a class="jsTodaysBirthdays button small more jsOnly">{lang}wcf.global.button.showAll{/lang}</a>
	
	<script data-relocate="true">
		$(function() {
			var $todaysBirthdays = null;
			$('.jsTodaysBirthdays').click(function() {
				if ($todaysBirthdays === null) {
					$todaysBirthdays = new WCF.User.List('wcf\\data\\user\\UserBirthdayAction', '{@$box->getTitle()|encodeJS} ({@TIME_NOW|date})', {
						date: '{@TIME_NOW|date:'Y-m-d'}',
						sortField: '{$sortField}',
						sortOrder: '{$sortOrder}'
					});
				}
				$todaysBirthdays.open();
			});
		});
	</script>
{/if}<commit_msg>Use new component in birthday box<commit_after><ul class="sidebarItemList">
	{foreach from=$birthdayUserProfiles item=birthdayUserProfile}
		<li class="box32">
			{user object=$birthdayUserProfile type='avatar32' ariaHidden='true' tabindex='-1'}
			
			<div class="sidebarItemTitle">
				<h3>{user object=$birthdayUserProfile}</h3>
				<small>{$birthdayUserProfile->getBirthday()}</small>
			</div>
		</li>
	{/foreach}
</ul>

{if $birthdayUserProfiles|count >= 10}
	<button type="button" class="jsTodaysBirthdays button small more jsOnly">{lang}wcf.global.button.showAll{/lang}</button>
	
	<script data-relocate="true">
		require(['WoltLabSuite/Core/Component/User/List'], ({ UserList }) => {
			let userList;
			document.querySelector('.jsTodaysBirthdays').addEventListener('click', () => {
				if (userList === undefined) {
					userList = new UserList({
						className: 'wcf\\data\\user\\UserBirthdayAction',
						parameters: {
							date: '{@TIME_NOW|date:'Y-m-d'}',
							sortField: '{$sortField}',
							sortOrder: '{$sortOrder}'
						}
					}, '{@$box->getTitle()|encodeJS} ({@TIME_NOW|date})');
				}

				userList.open();
			});
		});
	</script>
{/if}
{'fraction_non_alphanumeric': 0.19441903019213175, 'fraction_numerical': 0.008234217749313814, 'mean_word_length': 4.440298507462686, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 39, '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': '4547826', 'n_tokens_mistral': 932, 'n_tokens_neox': 769, 'n_words': 116}