<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

/**
 * @var \Magento\Customer\Block\Account\AuthorizationLink $block
 * @var \Magento\Framework\Escaper $escaper
 */
$dataPostParam = '';
if ($block->isLoggedIn()) {
    $dataPostParam = sprintf(" data-post='%s'", $block->getPostParams());
}
?>

<a class="lac-notification-close-link" <?= /* @noEscape */ $block->getLinkAttributes()
?><?= /* @noEscape */ $dataPostParam ?>>
    <?= $escaper->escapeHtml(__('Close Session')) ?>
</a>

