INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(1036, 0x7075626c6963, 0x70726f66696c655f706f73745f6d6163726f73, 0, '<xf:macro id=\"attribution\" arg-profilePost=\"!\" arg-showTargetUser=\"{{ false }}\">\n	<xf:if is=\"$showTargetUser AND $profilePost.user_id != $profilePost.profile_user_id\">\n		<xf:username user=\"$profilePost.User\" rich=\"true\" defaultname=\"{$profilePost.username}\" />\n		<xf:fa icon=\"{{ $xf.isRtl ? \'fa-caret-left\' : \'fa-caret-right\' }} u-muted\" />\n		<xf:username user=\"$profilePost.ProfileUser\" rich=\"true\" defaultname=\"{{ phrase(\'unknown\') }}\" />\n		<span class=\"u-srOnly\">{{ phrase(\'x_wrote_on_ys_profile\', {\n			\'name\': ($profilePost.User.username ?: {$profilePost.username}),\n			\'profile\': ($profilePost.ProfileUser.username ?: phrase(\'unknown\'))\n		}) }}</span>\n	<xf:else />\n		<xf:username user=\"$profilePost.User\" rich=\"true\" defaultname=\"{$profilePost.username}\" />\n	</xf:if>\n</xf:macro>\n\n<xf:macro id=\"profile_post\"\n	arg-profilePost=\"!\"\n	arg-attachmentData=\"{{ null }}\"\n	arg-showTargetUser=\"{{ false }}\"\n	arg-allowInlineMod=\"{{ true }}\">\n\n	<xf:css src=\"message.less\" />\n	<xf:js src=\"xf/comment.js\" min=\"1\" />\n\n	<article class=\"message message--simple {{ $profilePost.isIgnored() ? \'is-ignored\' : \'\' }} js-inlineModContainer\"\n		data-author=\"{{ $profilePost.User.username ?: $profilePost.username }}\"\n		data-content=\"profile-post-{$profilePost.profile_post_id}\"\n		id=\"js-profilePost-{$profilePost.profile_post_id}\">\n\n		<span class=\"u-anchorTarget\" id=\"profile-post-{$profilePost.profile_post_id}\"></span>\n		<div class=\"message-inner\">\n			<div class=\"message-cell message-cell--user\">\n				<xf:macro id=\"message_macros::user_info_simple\" arg-user=\"{$profilePost.User}\" arg-fallbackName=\"{$profilePost.username}\" />\n			</div>\n			<div class=\"message-cell message-cell--main\">\n				<div class=\"message-main js-quickEditTarget\">\n					<div class=\"message-content js-messageContent\">\n						<header class=\"message-attribution message-attribution--plain\">\n							<ul class=\"listInline listInline--bullet\">\n								<li class=\"message-attribution-user\">\n									<xf:avatar user=\"$profilePost.User\" size=\"xxs\" />\n									<h4 class=\"attribution\"><xf:macro id=\"attribution\"\n										arg-profilePost=\"{$profilePost}\"\n										arg-showTargetUser=\"{$showTargetUser}\" /></h4>\n								</li>\n								<li><a href=\"{{ link(\'profile-posts\', $profilePost) }}\" class=\"u-concealed\" rel=\"nofollow\"><xf:date time=\"$profilePost.post_date\" /></a></li>\n							</ul>\n						</header>\n\n						<xf:if is=\"$profilePost.message_state == \'deleted\'\">\n							<div class=\"messageNotice messageNotice--deleted\">\n								<xf:macro id=\"deletion_macros::notice\" arg-log=\"{$profilePost.DeletionLog}\" />\n							</div>\n						<xf:elseif is=\"$profilePost.message_state == \'moderated\'\" />\n							<div class=\"messageNotice messageNotice--moderated\">\n								{{ phrase(\'this_message_is_awaiting_moderator_approval_and_is_invisible_to_normal\') }}\n							</div>\n						</xf:if>\n						<xf:if is=\"$profilePost.warning_message\">\n							<div class=\"messageNotice messageNotice--warning\">\n								{$profilePost.warning_message}\n							</div>\n						</xf:if>\n						<xf:if is=\"$profilePost.isIgnored()\">\n							<div class=\"messageNotice messageNotice--ignored\">\n								{{ phrase(\'you_are_ignoring_content_by_this_member\') }}\n							</div>\n						</xf:if>\n\n						<div class=\"lbContainer js-lbContainer\"\n							data-lb-id=\"profile-post-{$profilePost.profile_post_id}\"\n							data-lb-caption-desc=\"{{ $profilePost.User ? $profilePost.User.username : $profilePost.username }} &middot; {{ date_time($profilePost.post_date) }}\">\n							<article class=\"message-body\">\n								{{ bb_code($profilePost.message, \'profile_post\', $profilePost) }}\n							</article>\n\n							<xf:if is=\"$profilePost.attach_count\">\n								<xf:macro id=\"message_macros::attachments\"\n									arg-attachments=\"{$profilePost.Attachments}\"\n									arg-message=\"{$profilePost}\"\n									arg-canView=\"{{ $xf.visitor.hasPermission(\'profilePost\', \'viewAttachment\') }}\" />\n							</xf:if>\n						</div>\n					</div>\n\n					<footer class=\"message-footer\">\n						<div class=\"message-actionBar actionBar\">\n							<xf:if contentcheck=\"true\">\n								<div class=\"actionBar-set actionBar-set--external\">\n								<xf:contentcheck>\n									<xf:react content=\"{$profilePost}\" link=\"profile-posts/react\" list=\"< .message | .js-reactionsList\" />\n\n									<xf:if is=\"$profilePost.canComment() AND property(\'profilePostCommentToggle\')\">\n										<a class=\"actionBar-action actionBar-action--reply\"\n											data-xf-click=\"comment-toggle\"\n											data-target=\".js-commentsTarget-{$profilePost.profile_post_id}\"\n											data-scroll-to=\"true\"\n											role=\"button\"\n											tabindex=\"0\">{{ phrase(\'comment\') }}</a>\n									</xf:if>\n								</xf:contentcheck>\n								</div>\n							</xf:if>\n\n							<xf:if contentcheck=\"true\">\n								<div class=\"actionBar-set actionBar-set--internal\">\n								<xf:contentcheck>\n									<xf:if is=\"{$allowInlineMod} AND $profilePost.canUseInlineModeration()\">\n										<span class=\"actionBar-action actionBar-action--inlineMod\">\n											<xf:checkbox standalone=\"true\">\n												<xf:option value=\"{$profilePost.profile_post_id}\"\n													class=\"js-inlineModToggle\"\n													data-xf-init=\"tooltip\"\n													title=\"{{ phrase(\'select_for_moderation\') }}\"\n													label=\"{{ phrase(\'select_for_moderation\') }}\"\n													hiddenlabel=\"true\" />\n											</xf:checkbox>\n										</span>\n									</xf:if>\n									<xf:if is=\"$profilePost.canReport()\">\n										<a href=\"{{ link(\'profile-posts/report\', $profilePost) }}\" class=\"actionBar-action actionBar-action--report\" data-xf-click=\"overlay\" data-cache=\"false\">{{ phrase(\'report_verb\') }}</a>\n									</xf:if>\n\n									<xf:set var=\"$hasActionBarMenu\" value=\"{{ false }}\" />\n									<xf:if is=\"$profilePost.canEdit()\">\n										<xf:js src=\"xf/action.js, xf/message.js\" min=\"1\" />\n										<a href=\"{{ link(\'profile-posts/edit\', $profilePost) }}\"\n											class=\"actionBar-action actionBar-action--edit actionBar-action--menuItem\"\n											data-xf-click=\"quick-edit\"\n											data-editor-target=\"#js-profilePost-{$profilePost.profile_post_id} .js-quickEditTarget\"\n											data-no-inline-mod=\"{{ !$allowInlineMod ? 1 : 0 }}\"\n											data-menu-closer=\"true\">{{ phrase(\'edit\') }}</a>\n										<xf:set var=\"$hasActionBarMenu\" value=\"{{ true }}\" />\n									</xf:if>\n									<xf:if is=\"$profilePost.canDelete(\'soft\')\">\n										<a href=\"{{ link(\'profile-posts/delete\', $profilePost) }}\"\n											class=\"actionBar-action actionBar-action--delete actionBar-action--menuItem\"\n											data-xf-click=\"overlay\">{{ phrase(\'delete\') }}</a>\n										<xf:set var=\"$hasActionBarMenu\" value=\"{{ true }}\" />\n									</xf:if>\n									<xf:if is=\"$profilePost.message_state == \'deleted\' AND $profilePost.canUndelete()\">\n										<a href=\"{{ link(\'profile-posts/undelete\', $profilePost) }}\" data-xf-click=\"overlay\"\n											class=\"actionBar-action actionBar-action--undelete actionBar-action--menuItem\">{{ phrase(\'undelete\') }}</a>\n										<xf:set var=\"$hasActionBarMenu\" value=\"{{ true }}\" />\n									</xf:if>\n									<xf:if is=\"$profilePost.canCleanSpam()\">\n										<a href=\"{{ link(\'spam-cleaner\', $profilePost) }}\"\n											class=\"actionBar-action actionBar-action--spam actionBar-action--menuItem\"\n											data-xf-click=\"overlay\">{{ phrase(\'spam\') }}</a>\n										<xf:set var=\"$hasActionBarMenu\" value=\"{{ true }}\" />\n									</xf:if>\n									<xf:if is=\"$xf.visitor.canViewIps() && $profilePost.ip_id\">\n										<a href=\"{{ link(\'profile-posts/ip\', $profilePost) }}\"\n											class=\"actionBar-action actionBar-action--ip actionBar-action--menuItem\"\n											data-xf-click=\"overlay\">{{ phrase(\'ip\') }}</a>\n										<xf:set var=\"$hasActionBarMenu\" value=\"{{ true }}\" />\n									</xf:if>\n									<xf:if is=\"$profilePost.canWarn()\">\n										<a href=\"{{ link(\'profile-posts/warn\', $profilePost) }}\"\n											class=\"actionBar-action actionBar-action--warn actionBar-action--menuItem\">{{ phrase(\'warn\') }}</a>\n										<xf:set var=\"$hasActionBarMenu\" value=\"{{ true }}\" />\n									<xf:elseif is=\"$profilePost.warning_id && $xf.visitor.canViewWarnings()\" />\n										<a href=\"{{ link(\'warnings\', {\'warning_id\': $profilePost.warning_id}) }}\"\n											class=\"actionBar-action actionBar-action--warn actionBar-action--menuItem\"\n											data-xf-click=\"overlay\">{{ phrase(\'view_warning\') }}</a>\n										<xf:set var=\"$hasActionBarMenu\" value=\"{{ true }}\" />\n									</xf:if>\n\n									<xf:if is=\"$hasActionBarMenu\">\n										<a class=\"actionBar-action actionBar-action--menuTrigger\"\n											data-xf-click=\"menu\"\n											title=\"{{ phrase(\'more_options\')|for_attr }}\"\n											role=\"button\"\n											tabindex=\"0\"\n											aria-expanded=\"false\"\n											aria-haspopup=\"true\">&#8226;&#8226;&#8226;</a>\n										<div class=\"menu\" data-menu=\"menu\" aria-hidden=\"true\" data-menu-builder=\"actionBar\">\n											<div class=\"menu-content\">\n												<h4 class=\"menu-header\">{{ phrase(\'more_options\') }}</h4>\n												<div class=\"js-menuBuilderTarget\"></div>\n											</div>\n										</div>\n									</xf:if>\n								</xf:contentcheck>\n								</div>\n							</xf:if>\n\n						</div>\n\n						<section class=\"message-responses js-messageResponses\">\n							<div class=\"message-responseRow message-responseRow--reactions js-reactionsList {{ $profilePost.reactions ? \'is-active\' : \'\' }}\"><xf:if is=\"$profilePost.reactions\">\n								<xf:reactions content=\"{$profilePost}\" link=\"profile-posts/reactions\" />\n							</xf:if></div>\n\n							<xf:if is=\"$profilePost.LatestComments is not empty\">\n								<xf:if is=\"$profilePost.hasMoreComments()\">\n									<div class=\"message-responseRow u-jsOnly js-commentLoader\">\n										<a href=\"{{ link(\'profile-posts/load-previous\', $profilePost, {\'before\': $profilePost.LatestComments.first().comment_date}) }}\"\n											data-xf-click=\"comment-loader\"\n											data-container=\".js-commentLoader\"\n											rel=\"nofollow\">{{ phrase(\'view_previous_comments...\') }}</a>\n									</div>\n								</xf:if>\n								<div class=\"js-replyNewMessageContainer\">\n									<xf:foreach loop=\"$profilePost.LatestComments\" value=\"$comment\">\n										<xf:macro\n											name=\"{{ $comment.message_state == \'deleted\' ? \'comment_deleted\' : \'comment\' }}\"\n											arg-comment=\"{$comment}\"\n											arg-profilePost=\"{$profilePost}\" />\n									</xf:foreach>\n								</div>\n							<xf:else />\n								<div class=\"js-replyNewMessageContainer\"></div>\n							</xf:if>\n\n							<xf:if is=\"$profilePost.canComment()\">\n								<xf:js src=\"xf/action.js, xf/message.js\" min=\"1\" />\n								<div class=\"message-responseRow js-commentsTarget-{$profilePost.profile_post_id} {{ property(\'profilePostCommentToggle\') ? \'toggleTarget\' : \'\' }}\">\n									<xf:set var=\"$lastProfilePostComment\" value=\"{$profilePost.LatestComments|last}\" />\n									<xf:form action=\"{{ link(\'profile-posts/add-comment\', $profilePost) }}\" ajax=\"true\" class=\"comment\"\n										data-xf-init=\"attachment-manager quick-reply\"\n										data-message-container=\"< .js-messageResponses | .js-replyNewMessageContainer\">\n										<div class=\"comment-inner\">\n											<span class=\"comment-avatar\">\n												<xf:avatar user=\"{$xf.visitor}\" size=\"xxs\" />\n											</span>\n											<div class=\"comment-main\">\n												<div class=\"editorPlaceholder\" data-xf-click=\"editor-placeholder\">\n													<div class=\"editorPlaceholder-editor is-hidden\">\n														<xf:macro id=\"quick_reply_macros::editor\"\n															arg-lastDate=\"{{ $lastProfilePostComment.comment_date }}\"\n															arg-attachmentData=\"{$attachmentData}\"\n															arg-minHeight=\"40\"\n															arg-placeholder=\"{{ phrase(\'write_comment...\') }}\"\n															arg-submitText=\"{{ phrase(\'post_comment\') }}\"\n															arg-deferred=\"{{ true }}\"\n															arg-simpleSubmit=\"{{ true }}\"\n														/>\n													</div>\n													<div class=\"editorPlaceholder-placeholder\">\n														<div class=\"input\"><span class=\"u-muted\"> {{ phrase(\'write_comment...\') }}</span></div>\n													</div>\n												</div>\n											</div>\n										</div>\n									</xf:form>\n								</div>\n							</xf:if>\n						</section>\n					</footer>\n				</div>\n			</div>\n		</div>\n	</article>\n</xf:macro>\n\n<xf:macro id=\"profile_post_deleted\"\n	arg-profilePost=\"!\"\n	arg-showTargetUser=\"{{ false }}\">\n\n	<xf:css src=\"message.less\" />\n	<div class=\"message message--simple{{ $profilePost.isIgnored() ? \' is-ignored\' : \'\' }} js-inlineModContainer\"\n		data-author=\"{{ $profilePost.User.username ?: $profilePost.username }}\"\n		data-content=\"profile-post-{$profilePost.profile_post_id}\">\n\n		<span class=\"u-anchorTarget\" id=\"profile-post-{$profilePost.profile_post_id}\"></span>\n		<div class=\"message-inner\">\n			<div class=\"message-cell message-cell--user\">\n				<xf:macro id=\"message_macros::user_info_simple\" arg-user=\"{$profilePost.User}\" arg-fallbackName=\"{$profilePost.username}\" />\n			</div>\n			<div class=\"message-cell message-cell--main\">\n				<div class=\"message-attribution message-attribution--plain\">\n					<ul class=\"listInline listInline--bullet\">\n						<li class=\"message-attribution-user\">\n							<xf:avatar user=\"$profilePost.User\" size=\"xxs\" />\n							<h4 class=\"attribution\"><xf:macro id=\"attribution\"\n								arg-profilePost=\"{$profilePost}\"\n								arg-showTargetUser=\"{$showTargetUser}\" /></h4>\n						</li>\n						<li><xf:date time=\"$profilePost.post_date\" /></li>\n					</ul>\n				</div>\n\n				<div class=\"messageNotice messageNotice--deleted\">\n					<xf:macro id=\"deletion_macros::notice\" arg-log=\"{$profilePost.DeletionLog}\" />\n\n					<a href=\"{{ link(\'profile-posts/show\', $profilePost) }}\" class=\"u-jsOnly\" data-xf-click=\"inserter\" data-replace=\"[data-content=profile-post-{$profilePost.profile_post_id}]\">{{ phrase(\'show...\') }}</a>\n\n					<xf:if is=\"$profilePost.canUseInlineModeration()\">\n						<span style=\"display: none\">\n							<!-- this can be actioned on the full post -->\n							<xf:checkbox standalone=\"true\">\n								<xf:option value=\"{$profilePost.profile_post_id}\" class=\"js-inlineModToggle\"\n									hiddenlabel=\"true\" />\n							</xf:checkbox>\n						</span>\n					</xf:if>\n				</div>\n			</div>\n		</div>\n	</div>\n</xf:macro>\n\n<xf:macro id=\"profile_post_simple\"\n	arg-profilePost=\"!\"\n	arg-limitHeight=\"{{ false }}\">\n\n	<div class=\"contentRow\">\n		<div class=\"contentRow-figure\">\n			<xf:avatar user=\"$profilePost.User\" size=\"xxs\" defaultname=\"{$profilePost.username}\" />\n		</div>\n		<div class=\"contentRow-main contentRow-main--close\">\n			<div class=\"contentRow-lesser\">\n				<xf:macro id=\"attribution\"\n					arg-profilePost=\"{$profilePost}\"\n					arg-showTargetUser=\"{{ true }}\" />\n			</div>\n\n			<xf:if is=\"$limitHeight\">\n				<div class=\"contentRow-faderContainer\">\n					<div class=\"contentRow-faderContent\">\n						{{ bb_code($profilePost.message, \'profile_post\', $profilePost, {\'simpleUnfurl\': true}) }}\n					</div>\n					<div class=\"contentRow-fader\"></div>\n				</div>\n			<xf:else />\n				{{ bb_code($profilePost.message, \'profile_post\', $profilePost, {\'simpleUnfurl\': true}) }}\n			</xf:if>\n\n			<div class=\"contentRow-minor\">\n				<a href=\"{{ link(\'profile-posts\', $profilePost) }}\" rel=\"nofollow\" class=\"u-concealed\"><xf:date time=\"{$profilePost.post_date}\" /></a>\n				<a href=\"{{ link(\'profile-posts\', $profilePost) }}\" rel=\"nofollow\" class=\"contentRow-extra\" data-xf-click=\"overlay\" data-xf-init=\"tooltip\" title=\"{{ phrase(\'interact\')|for_attr }}\">&#8226;&#8226;&#8226;</a>\n			</div>\n		</div>\n	</div>\n</xf:macro>\n\n<xf:macro id=\"comment\"\n	arg-comment=\"!\"\n	arg-profilePost=\"!\">\n\n	<xf:css src=\"message.less\" />\n\n	<div class=\"message-responseRow {{ $comment.isIgnored() ? \'is-ignored\' : \'\' }}\">\n		<div class=\"comment\"\n			data-author=\"{$comment.User.username}\"\n			data-content=\"profile-post-comment-{$comment.profile_post_comment_id}\"\n			id=\"js-profilePostComment-{$comment.profile_post_comment_id}\">\n\n			<div class=\"comment-inner\">\n				<span class=\"comment-avatar\">\n					<xf:avatar user=\"$comment.User\" size=\"xxs\" defaultname=\"{$comment.username}\" />\n				</span>\n				<div class=\"comment-main\">\n					<span class=\"u-anchorTarget\" id=\"profile-post-comment-{$comment.profile_post_comment_id}\"></span>\n					<div class=\"js-quickEditTargetComment\">\n						<div class=\"comment-content\">\n							<xf:if is=\"$comment.message_state == \'deleted\'\">\n								<div class=\"messageNotice messageNotice--deleted\">\n									<xf:macro id=\"deletion_macros::notice\" arg-log=\"{$comment.DeletionLog}\" />\n								</div>\n							<xf:elseif is=\"$comment.message_state == \'moderated\'\" />\n								<div class=\"messageNotice messageNotice--moderated\">\n									{{ phrase(\'this_message_is_awaiting_moderator_approval_and_is_invisible_to_normal\') }}\n								</div>\n							</xf:if>\n							<xf:if is=\"$comment.warning_message\">\n								<div class=\"messageNotice messageNotice--warning\">\n									{$comment.warning_message}\n								</div>\n							</xf:if>\n							<xf:if is=\"$comment.isIgnored()\">\n								<div class=\"messageNotice messageNotice--ignored\">\n									{{ phrase(\'you_are_ignoring_content_by_this_member\') }}\n								</div>\n							</xf:if>\n\n							<div class=\"comment-contentWrapper\">\n								<xf:username user=\"$comment.User\" rich=\"true\" defaultname=\"{$comment.username}\" class=\"comment-user\" />\n								<div class=\"lbContainer js-lbContainer\"\n									data-lb-id=\"profile-post-comment-{$comment.profile_post_comment_id}\"\n									data-lb-caption-desc=\"{{ $comment.User ? $comment.User.username : $comment.username }} &middot; {{ date_time($comment.comment_date) }}\">\n									<article class=\"comment-body\">\n										{{ bb_code($comment.message, \'profile_post_comment\', $comment) }}\n									</article>\n									<xf:if is=\"$comment.attach_count\">\n										<xf:macro id=\"message_macros::attachments\"\n											arg-attachments=\"{$comment.Attachments}\"\n											arg-message=\"{$comment}\"\n											arg-canView=\"{{ $xf.visitor.hasPermission(\'profilePost\', \'viewAttachment\') }}\" />\n									</xf:if>\n								</div>\n							</div>\n						</div>\n\n						<footer class=\"comment-footer\">\n							<div class=\"comment-actionBar actionBar\">\n								<div class=\"actionBar-set actionBar-set--internal\">\n									<span class=\"actionBar-action\"><xf:date time=\"{$comment.comment_date}\" /></span>\n									<xf:if is=\"$comment.canReport()\">\n										<a href=\"{{ link(\'profile-posts/comments/report\', $comment) }}\"\n											class=\"actionBar-action actionBar-action--report\"\n											data-xf-click=\"overlay\" data-cache=\"false\">{{ phrase(\'report_verb\') }}</a>\n									</xf:if>\n\n									<xf:set var=\"$hasActionBarMenu\" value=\"{{ false }}\" />\n									<xf:if is=\"$comment.canEdit()\">\n										<xf:js src=\"xf/action.js, xf/message.js\" min=\"1\" />\n										<a href=\"{{ link(\'profile-posts/comments/edit\', $comment) }}\"\n											class=\"actionBar-action actionBar-action--edit actionBar-action--menuItem\"\n											data-xf-click=\"quick-edit\"\n											data-editor-target=\"#js-profilePostComment-{$comment.profile_post_comment_id} .js-quickEditTargetComment\"\n											data-menu-closer=\"true\">{{ phrase(\'edit\') }}</a>\n										<xf:set var=\"$hasActionBarMenu\" value=\"{{ true }}\" />\n									</xf:if>\n									<xf:if is=\"$comment.canDelete(\'soft\')\">\n										<a href=\"{{ link(\'profile-posts/comments/delete\', $comment) }}\"\n											class=\"actionBar-action actionBar-action--delete actionBar-action--menuItem\"\n											data-xf-click=\"overlay\">{{ phrase(\'delete\') }}</a>\n										<xf:set var=\"$hasActionBarMenu\" value=\"{{ true }}\" />\n									</xf:if>\n									<xf:if is=\"$comment.message_state == \'deleted\' AND $comment.canUndelete()\">\n										<a href=\"{{ link(\'profile-posts/comments/undelete\', $comment) }}\" data-xf-click=\"overlay\"\n											class=\"actionBar-action actionBar-action--undelete actionBar-action--menuItem\">{{ phrase(\'undelete\') }}</a>\n										<xf:set var=\"$hasActionBarMenu\" value=\"{{ true }}\" />\n									</xf:if>\n									<xf:if is=\"$comment.canCleanSpam()\">\n										<a href=\"{{ link(\'spam-cleaner\', $comment) }}\"\n											class=\"actionBar-action actionBar-action--spam actionBar-action--menuItem\"\n											data-xf-click=\"overlay\">{{ phrase(\'spam\') }}</a>\n										<xf:set var=\"$hasActionBarMenu\" value=\"{{ true }}\" />\n									</xf:if>\n									<xf:if is=\"$xf.visitor.canViewIps() && $comment.ip_id\">\n										<a href=\"{{ link(\'profile-posts/comments/ip\', $comment) }}\"\n											class=\"actionBar-action actionBar-action--ip actionBar-action--menuItem\"\n											data-xf-click=\"overlay\">{{ phrase(\'ip\') }}</a>\n										<xf:set var=\"$hasActionBarMenu\" value=\"{{ true }}\" />\n									</xf:if>\n									<xf:if is=\"$comment.canWarn()\">\n										<a href=\"{{ link(\'profile-posts/comments/warn\', $comment) }}\"\n											class=\"actionBar-action actionBar-action--warn actionBar-action--menuItem\">{{ phrase(\'warn\') }}</a>\n										<xf:set var=\"$hasActionBarMenu\" value=\"{{ true }}\" />\n									<xf:elseif is=\"$comment.warning_id && $xf.visitor.canViewWarnings()\" />\n										<a href=\"{{ link(\'warnings\', {\'warning_id\': $comment.warning_id}) }}\"\n											class=\"actionBar-action actionBar-action--warn actionBar-action--menuItem\"\n											data-xf-click=\"overlay\">{{ phrase(\'view_warning\') }}</a>\n										<xf:set var=\"$hasActionBarMenu\" value=\"{{ true }}\" />\n									</xf:if>\n									<xf:if is=\"$comment.canApproveUnapprove()\">\n										<xf:if is=\"$comment.message_state == \'moderated\'\">\n											<a href=\"{{ link(\'profile-posts/comments/approve\', $comment, {\'t\': csrf_token()}) }}\"\n												class=\"actionBar-action actionBar-action--approve actionBar-action--menuItem\">{{ phrase(\'approve\') }}</a>\n											<xf:set var=\"$hasActionBarMenu\" value=\"{{ true }}\" />\n										<xf:elseif is=\"$comment.message_state == \'visible\'\" />\n											<a href=\"{{ link(\'profile-posts/comments/unapprove\', $comment, {\'t\': csrf_token()}) }}\"\n												class=\"actionBar-action actionBar-action--unapprove actionBar-action--menuItem\">{{ phrase(\'unapprove\') }}</a>\n											<xf:set var=\"$hasActionBarMenu\" value=\"{{ true }}\" />\n										</xf:if>\n									</xf:if>\n\n									<xf:if is=\"$hasActionBarMenu\">\n										<a class=\"actionBar-action actionBar-action--menuTrigger\"\n											data-xf-click=\"menu\"\n											title=\"{{ phrase(\'more_options\')|for_attr }}\"\n											role=\"button\"\n											tabindex=\"0\"\n											aria-expanded=\"false\"\n											aria-haspopup=\"true\">&#8226;&#8226;&#8226;</a>\n										<div class=\"menu\" data-menu=\"menu\" aria-hidden=\"true\" data-menu-builder=\"actionBar\">\n											<div class=\"menu-content\">\n												<h4 class=\"menu-header\">{{ phrase(\'more_options\') }}</h4>\n												<div class=\"js-menuBuilderTarget\"></div>\n											</div>\n										</div>\n									</xf:if>\n								</div>\n								<xf:if contentcheck=\"true\">\n									<div class=\"actionBar-set actionBar-set--external\">\n									<xf:contentcheck>\n										<xf:react content=\"{$comment}\" link=\"profile-posts/comments/react\" list=\"< .comment | .js-commentReactionsList\" />\n									</xf:contentcheck>\n									</div>\n								</xf:if>\n							</div>\n\n							<div class=\"comment-reactions js-commentReactionsList {{ $comment.reactions ? \'is-active\' : \'\' }}\"><xf:if is=\"$comment.reactions\">\n								<xf:reactions content=\"{$comment}\" link=\"profile-posts/comments/reactions\" />\n							</xf:if></div>\n						</footer>\n\n					</div>\n				</div>\n			</div>\n		</div>\n	</div>\n</xf:macro>\n\n<xf:macro id=\"comment_deleted\"\n	arg-comment=\"!\"\n	arg-profilePost=\"!\">\n\n	<div class=\"message-responseRow\">\n		<div class=\"comment{{ $comment.isIgnored() ? \' is-ignored\' : \'\' }}\"\n			data-author=\"{$comment.User.username}\"\n			data-content=\"profile-post-comment-{$comment.profile_post_comment_id}\">\n\n			<div class=\"comment-inner\">\n				<span class=\"comment-avatar\">\n					<xf:avatar user=\"$comment.User\" size=\"xxs\" defaultname=\"{$comment.username}\" />\n				</span>\n				<div class=\"comment-main\">\n					<span class=\"u-anchorTarget\" id=\"profile-post-comment-{$comment.profile_post_comment_id}\"></span>\n					<div class=\"comment-content\">\n						<div class=\"messageNotice messageNotice--deleted\">\n							<xf:macro id=\"deletion_macros::notice\" arg-log=\"{$comment.DeletionLog}\" />\n\n							<a href=\"{{ link(\'profile-posts/comments/show\', $comment) }}\" class=\"u-jsOnly\"\n								data-xf-click=\"inserter\"\n								data-replace=\"[data-content=profile-post-comment-{$comment.profile_post_comment_id}]\">{{ phrase(\'show...\') }}</a>\n						</div>\n					</div>\n\n					<div class=\"comment-actionBar actionBar\">\n						<div class=\"actionBar-set actionBar-set--internal\">\n							<span class=\"actionBar-action\">\n								<xf:date time=\"{$comment.comment_date}\" />\n								<span role=\"presentation\" aria-hidden=\"true\">&middot;</span>\n								<xf:username user=\"{$comment.User}\" defaultname=\"{$comment.username}\" class=\"u-concealed\" />\n							</span>\n						</div>\n					</div>\n				</div>\n			</div>\n		</div>\n	</div>\n</xf:macro>\n\n<xf:macro id=\"quick_post\" arg-user=\"!\" arg-containerSelector=\"!\" arg-lastDate=\"!\" arg-attachmentData=\"{{ null }}\">\n	<xf:js src=\"xf/action.js, xf/message.js\" min=\"1\" />\n\n	<xf:form action=\"{{ link(\'members/post\', $user) }}\"\n		ajax=\"true\"\n		class=\"message-spacer js-quickReply\"\n		data-xf-init=\"attachment-manager quick-reply\"\n		data-message-container=\"{$containerSelector}\"\n		data-ascending=\"0\">\n\n		<xf:macro id=\"quick_reply_macros::body\"\n			arg-attachmentData=\"{$attachmentData}\"\n			arg-simple=\"{{ true }}\"\n			arg-placeholder=\"{{ $xf.visitor.user_id == $user.user_id ? (phrase(\'update_your_status...\')) : phrase(\'write_something...\') }}\"\n			arg-submitText=\"{{ phrase(\'post_verb\') }}\"\n			arg-lastDate=\"{$lastDate}\"\n			arg-lastKnownDate=\"{$lastDate}\"\n			arg-minHeight=\"40\"\n			arg-deferred=\"{{ true }}\"\n			arg-simpleSubmit=\"{{ true }} \" />\n	</xf:form>\n</xf:macro>\n\n<xf:macro id=\"submit\" arg-user=\"!\" arg-lastDate=\"!\" arg-containerSelector=\"!\" arg-style=\"full\" arg-context=\"user\" arg-attachmentData=\"{{ null }}\">\n	<xf:js src=\"xf/action.js, xf/message.js\" min=\"1\" />\n\n	<xf:set var=\"$placeholder\" value=\"{{ $xf.visitor.user_id == $user.user_id ? (phrase(\'update_your_status...\')) : phrase(\'write_something...\') }}\" />\n\n	<xf:form action=\"{{ link(\'members/post\', $user) }}\" ajax=\"true\"\n		class=\"{{ $style == \'full\' ? \'message message--simple\' : \'block-row\' }} js-quickReply\"\n		data-xf-init=\"{{ $style == \'full\' ? \'attachment-manager\' : \'\' }} quick-reply\"\n		data-message-container=\"{$containerSelector}\"\n		data-ascending=\"0\">\n\n		<xf:if is=\"$style == \'full\'\">\n			<xf:macro id=\"quick_reply_macros::body\"\n				arg-attachmentData=\"{$attachmentData}\"\n				arg-simple=\"{{ true }}\"\n				arg-placeholder=\"{$placeholder}\"\n				arg-submitText=\"{{ phrase(\'post_verb\') }}\"\n				arg-lastDate=\"{$lastDate}\"\n				arg-lastKnownDate=\"{$lastDate}\"\n				arg-minHeight=\"40\"\n				arg-deferred=\"{{ true }}\"\n				arg-simpleSubmit=\"{{ true }} \" />\n		<xf:else />\n			<div>\n				<span class=\"u-srOnly\" id=\"ctrl_message\">{{ phrase(\'update_your_status:\') }}</span>\n\n				<xf:textarea name=\"message\" autosize=\"true\" rows=\"1\" maxlength=\"{$xf.options.profilePostMaxLength}\"\n					class=\"js-editor\"\n					data-xf-init=\"focus-trigger user-mentioner emoji-completer\"\n					data-display=\"< :next\" aria-labelledby=\"ctrl_message\"\n					placeholder=\"{$placeholder}\" />\n\n				<div class=\"u-hidden u-hidden--transition u-inputSpacer\">\n					<xf:button type=\"submit\" class=\"button--primary\" icon=\"reply\">{{ phrase(\'post_verb\') }}</xf:button>\n				</div>\n\n				<xf:comment><!-- Posts are in descending order so last post is first! --></xf:comment>\n				<xf:hiddenval name=\"last_date\" autocomplete=\"off\">{$lastDate}</xf:hiddenval>\n			</div>\n		</xf:if>\n\n		<xf:hiddenval name=\"style\">{$style}</xf:hiddenval>\n		<xf:hiddenval name=\"context\">{$context}</xf:hiddenval>\n	</xf:form>\n</xf:macro>', 0x[encoded data, 320382 characters], 0x5846, 2030470, '2.3.4', 1748686065);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(1037, 0x7075626c6963, 0x70726f66696c655f706f73745f6e65775f70726f66696c655f706f73745f636f6d6d656e7473, 0, '<xf:foreach loop=\"$profilePostComments\" value=\"$profilePostComment\">\n	<xf:macro id=\"profile_post_macros::comment\" arg-profilePost=\"{$profilePost}\" arg-comment=\"{$profilePostComment}\" />\n</xf:foreach>', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a313a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c546167223a373a7b733a343a226c696e65223b693a333b733a343a226e616d65223b733a373a22666f7265616368223b733a31303a2261747472696275746573223b613a323a7b733a343a226c6f6f70223b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a32303a222470726f66696c65506f7374436f6d6d656e7473223b7d733a353a2276616c7565223b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a31393a222470726f66696c65506f7374436f6d6d656e74223b7d7d733a383a226368696c6472656e223b613a333a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a323a220a09223b7d693a313b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c546167223a373a7b733a343a226c696e65223b693a323b733a343a226e616d65223b733a353a226d6163726f223b733a31303a2261747472696275746573223b613a333a7b733a323a226964223b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a323b733a373a22636f6e74656e74223b733a32383a2270726f66696c655f706f73745f6d6163726f733a3a636f6d6d656e74223b7d733a31353a226172672d70726f66696c65506f7374223b4f3a33363a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c5661726961626c65223a343a7b733a343a226c696e65223b693a323b733a343a226e616d65223b733a31313a2270726f66696c65506f7374223b733a31303a2264696d656e73696f6e73223b613a303a7b7d733a373a2266696c74657273223b613a303a7b7d7d733a31313a226172672d636f6d6d656e74223b4f3a33363a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c5661726961626c65223a343a7b733a343a226c696e65223b693a323b733a343a226e616d65223b733a31383a2270726f66696c65506f7374436f6d6d656e74223b733a31303a2264696d656e73696f6e73223b613a303a7b7d733a373a2266696c74657273223b613a303a7b7d7d7d733a383a226368696c6472656e223b613a303a7b7d733a31313a22697353656c66436c6f7365223b623a313b733a31303a22657874656e73696f6e73223b613a303a7b7d733a353a226465707468223b693a313b7d693a323b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a323b733a373a22636f6e74656e74223b733a313a220a223b7d7d733a31313a22697353656c66436c6f7365223b623a303b733a31303a22657874656e73696f6e73223b613a303a7b7d733a353a226465707468223b693a303b7d7d7d, 0x5846, 2030010, '2.3.0 Alpha', 1748686065),
(1038, 0x7075626c6963, 0x70726f67726573735f6261722e6c657373, 0, '.progressBar\n{\n	position: relative;\n	width: 100%;\n	background: linear-gradient(180deg, @xf-blockFooterBg, mix(@xf-blockFooterBg, @xf-contentBg, 50%));\n	border: @xf-borderSize solid @xf-borderColorFaint;\n	border-radius: @xf-borderRadiusSmall;\n	overflow: hidden;\n}\n\n.progressBar-progress\n{\n	background: linear-gradient(180deg, @xf-progressBarColor, xf-diminish(@xf-progressBarColor, 10%));\n	width: 0;\n	height: 20px;\n	font-size: 80%;\n	padding: 2px 0;\n}\n\n.progressBar-label\n{\n	position: absolute;\n	left: 0;\n	right: 0;\n	color: @xf-textColor;\n	text-align: center;\n	overflow: hidden;\n}', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a313a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a3537383a222e70726f67726573734261720a7b0a09706f736974696f6e3a2072656c61746976653b0a0977696474683a20313030253b0a096261636b67726f756e643a206c696e6561722d6772616469656e74283138306465672c204078662d626c6f636b466f6f74657242672c206d6978284078662d626c6f636b466f6f74657242672c204078662d636f6e74656e7442672c2035302529293b0a09626f726465723a204078662d626f7264657253697a6520736f6c6964204078662d626f72646572436f6c6f724661696e743b0a09626f726465722d7261646975733a204078662d626f72646572526164697573536d616c6c3b0a096f766572666c6f773a2068696464656e3b0a7d0a0a2e70726f67726573734261722d70726f67726573730a7b0a096261636b67726f756e643a206c696e6561722d6772616469656e74283138306465672c204078662d70726f6772657373426172436f6c6f722c2078662d64696d696e697368284078662d70726f6772657373426172436f6c6f722c2031302529293b0a0977696474683a20303b0a096865696768743a20323070783b0a09666f6e742d73697a653a203830253b0a0970616464696e673a2032707820303b0a7d0a0a2e70726f67726573734261722d6c6162656c0a7b0a09706f736974696f6e3a206162736f6c7574653b0a096c6566743a20303b0a0972696768743a20303b0a09636f6c6f723a204078662d74657874436f6c6f723b0a09746578742d616c69676e3a2063656e7465723b0a096f766572666c6f773a2068696464656e3b0a7d223b7d7d7d, 0x5846, 2030010, '2.3.0 Alpha', 1748686065),
(1039, 0x7075626c6963, 0x70726f67726573735f6261725f6d6163726f73, 0, '<xf:macro id=\"progress_bar\" arg-percentage=\"!\" arg-tooltip=\"\" arg-label=\"\">\n	<xf:css src=\"progress_bar.less\" />\n\n	<div class=\"progressBar\">\n		<div class=\"progressBar-progress\" style=\"width: {$percentage}%\">\n			<span class=\"progressBar-label\"\n				data-xf-init=\"{{ $tooltip ? \'tooltip\' : \'\' }}\" data-trigger=\"{{ $tooltip ? \'hover focus click\' : \'\' }}\"\n				title=\"{{ $tooltip ?: \'\' }}\">\n\n				<xf:if is=\"$label\">{$label}</xf:if>\n				<xf:if is=\"$label AND $tooltip\"><xf:fa icon=\"far fa-question-circle\" /></xf:if>\n			</span>\n		</div>\n	</div>\n</xf:macro>', 0x[encoded data, 8790 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686065),
(1040, 0x7075626c6963, 0x707573685f636f6e766572736174696f6e5f6d6573736167655f7265616374696f6e, 0, '{{ phrase(\'x_reacted_to_your_reply_in_the_direct_message_y\', {\n	\'name\': $user.username ?: $alert.username,\n	\'reaction\': reaction_title($extra.reaction_id),\n	\'title\': $content.Conversation.title\n}) }}\n<push:url>{{ link(\'canonical:direct-messages/replies\', $content) }}</push:url>\n<push:tag>conversation_message_reaction_{$content.message_id}_{$extra.reaction_id}</push:tag>', 0x[encoded data, 6932 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686065),
(1041, 0x7075626c6963, 0x707573685f706f73745f666f72756d77617463685f696e73657274, 0, '<xf:include template=\"push_post_insert\" />', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a313a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c546167223a373a7b733a343a226c696e65223b693a313b733a343a226e616d65223b733a373a22696e636c756465223b733a31303a2261747472696275746573223b613a313a7b733a383a2274656d706c617465223b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a31363a22707573685f706f73745f696e73657274223b7d7d733a383a226368696c6472656e223b613a303a7b7d733a31313a22697353656c66436c6f7365223b623a313b733a31303a22657874656e73696f6e73223b613a303a7b7d733a353a226465707468223b693a303b7d7d7d, 0x5846, 2020010, '2.2.0 Alpha', 1748686065),
(1042, 0x7075626c6963, 0x707573685f706f73745f696e73657274, 0, '<xf:if is=\"$content.isFirstPost()\">\n	{{ phrase(\'x_started_thread_y_may_be_more\', {\n		\'name\': $user.username ?: $alert.username,\n		\'title\': prefix(\'thread\', $content.Thread, \'plain\') . $content.Thread.title\n	}) }}\n	<push:url>{{ link(\'canonical:threads\', $content.Thread) }}</push:url>\n	<push:tag>post_insert_forum_{$content.Thread.node_id}</push:tag>\n<xf:else />\n	{{ phrase(\'x_replied_to_thread_y_may_be_more\', {\n		\'name\': $user.username ?: $alert.username,\n		\'title\': prefix(\'thread\', $content.Thread, \'plain\') . $content.Thread.title\n	}) }}\n	<push:url>{{ link(\'canonical:posts\', $content) }}</push:url>\n	<push:tag>post_insert_thread_{$content.thread_id}</push:tag>\n</xf:if>', 0x[encoded data, 15638 characters], 0x5846, 2010010, '2.1.0 Alpha', 1748686065),
(1043, 0x7075626c6963, 0x707573685f706f73745f6d656e74696f6e, 0, '{{ phrase(\'x_mentioned_you_in_post_in_thread_y\', {\n	\'name\': $user.username ?: $alert.username,\n	\'title\': prefix(\'thread\', $content.Thread, \'plain\') . $content.Thread.title\n}) }}\n<push:url>{{ link(\'canonical:posts\', $content) }}</push:url>', 0x[encoded data, 6192 characters], 0x5846, 2010010, '2.1.0 Alpha', 1748686065);
