<?php
namespace NeoDrawFull\NeoProAdvantages; if (!defined("ABSPATH")) { die("neoWP direct access not allowed"); }




\NeoDrawFull\NeoGlobal\add_action_hook("neo_init", function () {
    $settings_render_callback = function () {
        if (!(\NeoDrawFull\NeoGlobal\plugin_slug() === "neo-prod" || \NeoDrawFull\NeoGlobal\plugin_edition() === "dev")) {  }
        ?><neo-setting-neo-draw-full style="position: relative;"> <?php
            [$pricing_url, $interface_ok] = \NeoDrawFull\NeoGlobal\call_interface_func_implemented('\NeoDrawFull\NeoFreemius\interface_freemius_pricing_page_url_20260131')();
            $pricing_url ??= "https://" . \NeoDrawFull\NeoGlobal\option__neo_wp_com() . "/pricing/?ref=wp-backend-pro-advantages";
            if (\NeoDrawFull\NeoGlobal\plugin_edition() === "wporg") { $pricing_url = "https://" . \NeoDrawFull\NeoGlobal\option__neo_wp_com() . "/?ref=wp-backend-pro-advantages-wporg"; }
            ?><a href="<?php echo esc_url($pricing_url) ?>" target="_blank" rel="noopener noreferrer">
                <img id="neo-pro-advantages--image" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="neoWP Pro" style="display: block; width: 100%; height: auto; border-radius: 20px;">
            </a>
        </neo-setting-neo-draw-full><?php
    };
    \NeoDrawFull\NeoGlobal\call_interface_func_implemented('\NeoDrawFull\NeoSettings\interface_add_neo_setting_20260326')("neo-pro-advantages", $settings_render_callback);

    $assets_callback = function () { \NeoDrawFull\NeoGlobal\enqueue_js_variable_backend("neoProAdvantagesImageUrl", \NeoDrawFull\NeoGlobal\get_neo_pro_advantages_url(\NeoDrawFull\NeoGlobal\plugin_edition())); \NeoDrawFull\NeoGlobal\enqueue_js("neo-pro-advantages.js"); };
    \NeoDrawFull\NeoGlobal\call_interface_func_implemented('\NeoDrawFull\NeoSettings\interface_add_neo_settings_asset_loading_callback_20250918')($assets_callback);
});
