<?php
if (!defined('WORDFENCE_VERSION')) { exit; }
echo wfView::create('scanner/issue-base', array(
	'internalType' => 'wfAssistantPresent',
	'displayType' => __('Wordfence Assistant Present', 'wordfence'),
	'iconSVG' => '<svg viewBox="0 0 20 20"><g><path d="M13.11 4.36L9.87 7.6 8 5.73l3.24-3.24c.35-.34 1.05-.2 1.56.32.52.51.66 1.21.31 1.55zm-8 1.77l.91-1.12 9.01 9.01-1.19.84c-.71.71-2.63 1.16-3.82 1.16H6.14L4.9 17.26c-.59.59-1.54.59-2.12 0-.59-.58-.59-1.53 0-2.12l1.24-1.24v-3.88c0-1.13.4-3.19 1.09-3.89zm7.26 3.97l3.24-3.24c.34-.35 1.04-.21 1.55.31.52.51.66 1.21.31 1.55l-3.24 3.25z"/></g></svg>',
	'summaryControls' => array(wfView::create('scanner/issue-control-ignore', array('ignoreC' => __('Ignore', 'wordfence'))), wfView::create('scanner/issue-control-show-details')),
	'detailPairs' => [
		__("Plugin Name", "wordfence") => "Wordfence Assistant",
		null,
		__("Details", "wordfence") => sprintf(/* translators: Help URL. */__('${longMsg} <a href="%s" target="_blank">Click here to learn more. <span class="screen-reader-text">(opens in new tab)</span></a>', "wordfence"), "https://www.wordfence.com/help/scan/scan-results/#assistant-plugin-removed"),
	],
	'detailControls' => [],
	'textOutput' => (isset($textOutput) ? $textOutput : null),
	'textOutputDetailPairs' => [
		__("Plugin Name", "wordfence") => "Wordfence Assistant",
		null,
		__("Details", "wordfence") => '$longMsg'
	]
))->render();