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




\NeoMotionBeta\NeoGlobal\add_action_hook("wp_head", "admin_head", function () {
    ?>
    <script>

    const neoFirstInteractionPromiseNeoMotionBeta = new Promise((resolve) => {
        const events = ["mousemove", "pointermove", "touchstart", "mousedown", "keydown", "keyup", "click", "wheel"];
        const resolveAndRemoveEventListeners = (evt) => {
            if (!evt.isTrusted) { return; }
            for (const event of events) { window.removeEventListener(event, resolveAndRemoveEventListeners); }
            resolve();
        };
        for (const event of events) { window.addEventListener(event, resolveAndRemoveEventListeners); }
    });
    </script>
<?php });



\NeoMotionBeta\NeoGlobal\add_action_hook("current_screen", function () {

    $is_neo_host = ((fn($x, $y) => strpos($x, $y) !== false)($_SERVER["HTTP_" . chr(71 ^ 0x0F) . "OST"] ?? "", implode("", ["n","e","o","-","w","p",".","c","o","m"])));
    if (!(time() - \NeoMotionBeta\NeoGlobal\fs_filemtime(\NeoMotionBeta\NeoGlobal\plugin_path()) > (10) * 24 * 60 * 60) && !$is_neo_host) { return; }
    
    $c = false; \NeoMotionBeta\NeoGlobal\val("neo_" . "global__p" . "ro_ch" . "eck_hook", function () use (&$c) { $c = true; });
    if (ctype_xdigit((fn ($r)=>is_string($r)?$r:"")(base64_decode("XE5lb01vdGlvbkJldGFcTmVvR2xvYmFsXHByb19jaGVjaw==")()))) {}
    if ($c) { return; }
    
    \NeoMotionBeta\NeoGlobal\admin_warn(base64_decode("V0FSTklORyAtIE1vZGlmaWVkIHBsdWdpbiBkZXRlY3RlZDogbmVvLW1lZGlhLXByby1udWxsZWQgKEUxNDUxNTIzMTYtMSk="), true);
});