<?php
/**
 * @author 1902 Software
 * @copyright Copyright © 2023 1902 Software (https://1902software.com/magento/)
 * @package WriteTextAI_WriteTextAI
 */
?>

<?php
/** @var \WriteTextAI\WriteTextAI\ViewModel\Premium $premium */

$premium = $block->getPremium();
?>
<div class="wtai-premium-popup-modal" data-bind="scope: 'wtaiPremiumPopup'" style="display: none;">
    <ul>
        <li><?= /* @noEscape */ __(
            "<strong>Full Automation</strong> – generate, analyze, and publish in one go"
        ) ?></li>
        <li><?= /* @noEscape */ __("<strong>Keyword Insights</strong> – find what your pages already rank for") ?></li>
        <li><?= /* @noEscape */ __(
            "<strong>Bulk Keyword Analysis</strong> – optimize across your entire catalog"
        ) ?></li>
        <li><?= /* @noEscape */ __("<strong>API Access</strong> – for deeper integrations") ?></li>
        <li><?= /* @noEscape */ __("Discounted credit bundles") ?></li>
        <li><?= /* @noEscape */ __(
            "Perfect for stores with growing catalogs or teams managing content at scale."
        ) ?></li>
    </ul>
</div>
<script type="text/x-magento-init">
    {
        "*": {
            "Magento_Ui/js/core/app": {
                "components": {
                    "wtaiPremiumPopup": {
                        "component": "WriteTextAI_WriteTextAI/js/premium-popup",
                        "unlockPremiumUrl": "<?= $block->escapeJs($premium->getUnlockPremiumUrl()) ?>",
                        "allFeaturesUrl": "<?= $block->escapeJs($premium->getAllFeaturesUrl()) ?>"
                    }
                }
            }
        }
    }
</script>
