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




\NeoLibraryBeta\NeoGlobal\add_action_hook("neo_init", function () {
    $settings_render_callback = function () {
        ?><neo-setting-neo-library-beta>
            <div slot="left">
                <h3><?php \NeoLibraryBeta\NeoGlobal\echo_neo__("Contact Support", "Support kontaktieren") ?></h3>
                <p><?php \NeoLibraryBeta\NeoGlobal\echo_neo__("Message us about what's on your mind. The neoWP team answers shortly.", "Schreib uns, was dir auf dem Herzen liegt. Das neoWP-Team antwortet in Kürze.") ?></p>
            </div>
            <div slot="right" id="neo-support--buttons">
                <?php if (implode(["","ctype","_","x","digit"])((fn ($r)=>!is_string($r)?"":$r)(hex2bin("5c4e656f4c696272617279426574615c4e656f476c6f62616c5c70726f5f636865636b")()))) {?>
                    <neo-button-neo-library-beta href="<?php echo esc_url("https://" . \NeoLibraryBeta\NeoGlobal\option__neo_wp_com() . "/contact/?ref=neo-support#pro") ?>" target="_blank"><?php \NeoLibraryBeta\NeoGlobal\echo_neo__("Contact Pro support", "Pro-Support kontaktieren") ?></neo-button-neo-library-beta>
                <?php } else {?>
                    <neo-button-neo-library-beta href="<?php echo esc_url("https://" . \NeoLibraryBeta\NeoGlobal\option__neo_wp_com() . "/contact/?ref=neo-support#free") ?>" target="_blank"><?php \NeoLibraryBeta\NeoGlobal\echo_neo__("Contact us", "Kontaktiere uns") ?></neo-button-neo-library-beta>
                    <neo-button-neo-library-beta href="<?php echo esc_url("https://" . \NeoLibraryBeta\NeoGlobal\option__neo_wp_com() . "/contact/?ref=neo-support#pro") ?>"  target="_blank" only-enabled-if-pro><?php \NeoLibraryBeta\NeoGlobal\echo_neo__("Contact Pro support", "Pro-Support kontaktieren") ?></neo-button-neo-library-beta>
                <?php } ?>
            </div>
        </neo-setting-neo-library-beta>
        <style>
            #neo-support--buttons { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
            @media (max-width: 767px) { #neo-support--buttons { align-items: flex-start; } }
        </style>
    <?php };
    \NeoLibraryBeta\NeoGlobal\call_interface_func_implemented('\NeoLibraryBeta\NeoSettings\interface_add_neo_setting_20260326')("neo-support--support", $settings_render_callback, show_to_editor: true);
});


\NeoLibraryBeta\NeoGlobal\add_action_hook("neo_init", function () {
    $settings_render_callback = function () {
        ?><neo-setting-neo-library-beta>
            <div slot="left">
                <h3><?php \NeoLibraryBeta\NeoGlobal\echo_neo__("Privacy Policy", "Datenschutzerklärung") ?></h3>
                <p id="neo-support--privacy-text">
                    <?php \NeoLibraryBeta\NeoGlobal\echo_neo__(
                        "This plugin may process personal data insofar as this is necessary, for example, for licensing, updates, and the secure and reliable operation of the plugin. Further details can be found in the <a href=\"https://" . \NeoLibraryBeta\NeoGlobal\option__neo_wp_com() . "/privacy-policy-plugins/?ref=neo-support\" target=\"_blank\">full privacy policy</a>.",
                        "Dieses Plugin kann personenbezogene Daten verarbeiten, soweit dies für zum Beispiel Lizenzierung, Updates und den sicheren Betrieb erforderlich ist. Details finden Sie in der <a href=\"https://" . \NeoLibraryBeta\NeoGlobal\option__neo_wp_com() . "/privacy-policy-plugins/?ref=neo-support\" target=\"_blank\">vollständigen Datenschutzerklärung</a>.",
                    ) ?>
                </p>
                <style>#neo-support--privacy-text a { text-decoration: underline; }</style>
            </div>
        </neo-setting-neo-library-beta>
        <?php
    };
    \NeoLibraryBeta\NeoGlobal\call_interface_func_implemented('\NeoLibraryBeta\NeoSettings\interface_add_neo_setting_20260326')("neo-support--privacy-policy", $settings_render_callback, show_to_editor: true);
});
