Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace Drupal\rest_api_authentication\Form; use Drupal; use Drupal\Core\..
Decoded Output download
<?php
namespace Drupal\rest_api_authentication\Form;
use Drupal;
use Drupal\Core\Routing\TrustedRedirectResponse;
use Drupal\rest_api_authentication\Utilities;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Drupal\rest_api_authentication\MiniorangeRestAPICustomer;
use Drupal\Core\Form\FormBase;
use Drupal\rest_api_authentication\MiniorangeApiAuthSupport;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\Ajax\AjaxResponse;
use Drupal\Core\Ajax\OpenModalDialogCommand;
use Drupal\Core\Form\FormBuilder;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Url;
use Drupal\rest_api_authentication\MiniorangeApiAuthConstants;
use Drupal\Core\Render\Markup;
class MiniorangeRestAPICustomerSetup extends FormBase
{
public function getFormId()
{
return "miniorange_rest_api_customer_setup";
}
public function buildForm(array $form, FormStateInterface $form_state)
{
global $base_url;
$Wm = \Drupal::config("rest_api_authentication.settings")->get("rest_api_authentication_status");
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_support_request_flag", "customerSetupTab")->save();
$form["markup_library"] = array("#attached" => array("library" => array("rest_api_authentication/rest_api_authentication.main")));
if ($Wm == "PLUGIN_CONFIGURATION" && \Drupal::config("rest_api_authentication.settings")->get("rest_api_authentication_license_key") == NULL) {
goto Tp;
}
if ($Wm == "PLUGIN_CONFIGURATION") {
goto cJ;
}
goto fg;
Tp:
$form["markup_top_head"] = array("#markup" => "<div class="mo_rest_api_table_layout_2"><div class="mo_rest_api_table_layout_3 mo_rest_api_container">");
$BI = MiniorangeApiAuthConstants::BASE_URL;
$form["markup_144"] = array("#markup" => "<div><div><h3>Verify your License</h3>");
$Ur = \Drupal::configFactory()->getEditable("rest_api_authentication.settings")->get("rest_api_authentication_customer_admin_email");
$DD = "https://login.xecurify.com/moas/login?username=" . $Ur . "&redirectUrl=https://login.xecurify.com/moas/admin/customer/viewlicensekeys";
$form["markup_rest_lk"] = array("#markup" => "<div id="myRestAPIkey" class="in collapse" style="height: auto;">" . "You can find all your used and unused keys under the <i>View License Key</i> Section in your miniOrange <a href="" . $DD . "" target="_blank">dashboard</a>." . "</div>");
$form["rest_api_authentication_license_key"] = array("#type" => "textfield", "#title" => t("License Key <span style="color: red">*</span>"), "#attributes" => array("style" => "width:450px", "placeholder" => "Enter your license key to activate the module"));
$form["rest_api_authentication_tnc"] = array("#markup" => "<br><p><b><font color="#FF0000">*</font> Terms & Conditions </b> " . "<ol>\xa <li>License key you have entered here is associated with this site instance. In future,\xa if you are re-installing the module or your site for any reason,
you should remove licence key from Register/Login tab before deleting the module so that you can use the same license key again.</li>\xa <br>
<li><b>This is not a developers license.</b> Making any kind of changes to the module code will result in deletion of all your configurations and will make the module unstable.</li>\xa </ol><br>
<p><b>Please note:</b> By clicking on the Activate License button, you agree to the above Terms & Conditions </p>");
$form["rest_api_authentication_customer_validate_license_button"] = array("#type" => "submit", "#button_type" => "primary", "#value" => t("Activate License"), "#submit" => array("::rest_api_authentication_validate_license_submit"));
$form["rest_api_authentication_customer_setup_back"] = array("#type" => "submit", "#button_type" => "danger", "#value" => t("Back"), "#submit" => array("::rest_api_authentication_back"), "#suffix" => "<br><br><br><br></div>");
$form["close_div"] = array("#markup" => "</div></div>");
Utilities::AddSupportButton($form, $form_state);
return $form;
goto fg;
cJ:
$cu = \Drupal::config("rest_api_authentication.settings");
$form["header_top_style_1"] = array("#markup" => "<div class="mo_rest_api_table_layout_2">");
$form["markup_top"] = array("#markup" => "<div class="mo_rest_api_table_layout_3 mo_rest_api_container">");
$Bd = abs(floor((strtotime($cu->get("rest_api_authentication_auth_licenseExpiry")) - time()) / (3600 * 24)));
if (strtotime($cu->get("rest_api_authentication_auth_licenseExpiry")) < time()) {
goto gl;
}
if (strtotime($cu->get("rest_api_authentication_auth_licenseExpiry")) - 30 * 24 * 60 * 60 < time()) {
goto Nb;
}
$form["markup_top_welcome_message"] = array("#markup" => "<div class="mo_rest_api_login_success">Thank you for login with miniOrange</div>");
goto w2;
gl:
$form["markup_top_welcome_message"] = array("#markup" => "<div class="mo_rest_api_license_expiry">Your maintenance support has expired " . $Bd . " days earlier, please click on the Renew Maintenance button below to upgrade.</div>");
goto w2;
Nb:
$form["markup_top_welcome_message"] = array("#markup" => "<div class="mo_rest_api_license_expiry">Your maintenance is going to expire in " . $Bd . " days, please click on the Renew Maintenance button below to upgrade.</div>");
w2:
$form["markup_top_1"] = array("#markup" => "<br><h3>Your Profile:</h3>");
$XR = array(t("ATTRIBUTE NAME"), t("ATTRIBUTE VALUE"));
$Zw = $cu->get("rest_api_authentication_customer_admin_email");
$CJ = [];
$CJ[0] = array("Customer Email" => "Customer Email", "email" => $Zw);
$CJ[1] = array("Customer ID" => "Customer ID", "customerid" => $cu->get("rest_api_authentication_customer_id"));
$CH = $cu->get("rest_api_authentication_license_plan");
$CJ[2] = array("License Plan" => "License Plan", "license_plan" => $CH);
$yt = $cu->get("rest_api_authentication_license_key");
$CJ[3] = array("License Key" => "License Key", "license_key" => $yt);
$Xy = \Drupal::service("extension.list.module")->getPath("rest_api_authentication");
if (strtotime($cu->get("rest_api_authentication_auth_licenseExpiry", '')) < time()) {
goto FV;
}
$CJ[4] = array("Maintenance Expiry" => "Maintenance Expiry", "maintenance_expiry" => date("F j, Y, g:i a", strtotime($cu->get("rest_api_authentication_auth_licenseExpiry", ''))));
goto Fz;
FV:
$CJ[4] = array("Maintenance Expiry" => "Maintenance Expiry", "maintenance_expiry" => Markup::create("<div style="color: red"><u style="cursor: pointer">" . date("F j, Y, g:i a", strtotime($cu->get("rest_api_authentication_auth_licenseExpiry", ''))) . "</u><sub><img style="height: 15px; width: 15px padding:5px; margin-left:10px;color:red;" src="" . $base_url . "/" . $Xy . "/assets/img/warning.svg"></sub></div>"));
Fz:
$CJ[5] = array("Support Expiry" => "Support Expiry", "support_expiry" => date("F j, Y, g:i a", strtotime($cu->get("rest_api_authentication_supportExpiry", ''))));
$CJ[6] = array("Drupal Version" => "Drupal Version", "drupal_version" => DRUPAL::VERSION);
$CJ[7] = array("PHP Version" => "PHP Version", "php_version" => phpversion());
$CJ[8] = array("Refetch License Details" => "Refetch License Details", "refetch_license_details" => Markup::create("<a class="button button--primary button--small" href="" . $base_url . "/moRestAPILicenseFetch">Fetch</a>"));
if (!(strtotime($cu->get("rest_api_authentication_auth_licenseExpiry", '')) - 30 * 24 * 60 * 60 < time())) {
goto ny;
}
$CJ[9] = array("Renew Maintenance" => "Renew Maintenance", "renew_maintenance" => Markup::create("<a class="button button--primary button--small" target="_blank" href="" . MiniorangeApiAuthConstants::BASE_URL . "/moas/login?username=" . $Zw . "&redirectUrl=" . MiniorangeApiAuthConstants::BASE_URL . "/moas/admin/customer/licenserenewals?renewalrequest=" . Utilities::GetPlanType() . "">Renew Maintenance</a>"));
ny:
$form["fieldset"]["customerinfo"] = array("#theme" => "table", "#header" => $XR, "#rows" => $CJ);
$form["rest_api_authentication_customer_Remove_Account_info"] = array("#markup" => "<br><br><br><h4>Remove Account:</h4><p>This section will help you to remove your current\xa logged in account without losing your current configurations.</p>");
$form["rest_api_authentication_remove_account"] = array("#markup" => "</div>", "#type" => "submit", "#value" => t("Remove Account"), "#limit_validation_errors" => array(), "#submit" => array("::rest_api_authentication_remove_account"), "#attributes" => array("style" => "margin-left:0px;"));
Utilities::AddSupportButton($form, $form_state);
$form["rest_api_authentication_support_div_cust"] = array("#markup" => "</div></div>");
return $form;
fg:
$form["header_top_style_1"] = array("#markup" => "<div class="mo_rest_api_table_layout_2"><div class="mo_rest_api_table_layout_3 mo_rest_api_container">");
$form["markup_14"] = array("#markup" => "<h3>Login with miniOrange</h3>");
$S_ = MiniorangeApiAuthConstants::INTRANET;
$form["markup_15"] = array("#markup" => "<div class="mo_rest_highlight_background_note_1">Please log in the miniOrange account with which you
have purchased your license. Once you are logged in to your account, you need to enter your license key. You can find your license keys in your miniOrange dashboard under\xa <b> License -> View License Key</b> section</div>");
$form["rest_api_authentication_customer_setup_username"] = array("#type" => "textfield", "#title" => t("Email"), "#required" => true, "#attributes" => array("style" => "width:50%;"));
$form["rest_api_authentication_customer_setup_password"] = array("#type" => "password", "#title" => "Password", "#attributes" => array("style" => "width:50%;"));
$form["rest_api_authentication_customer_setup_button"] = array("#type" => "submit", "#button_type" => "primary", "#limit_validation_errors" => array(), "#value" => t("Login"), "#attributes" => array("style" => "margin-left:0px"));
if ($S_) {
goto kc;
}
$form["rest_api_authentication_customer_forgot_password_button"] = array("#type" => "submit", "#button_type" => "danger", "#attributes" => array("style" => "margin-left:0px", "onclick" => "this.form.target="_blank";"), "#submit" => array("::miniorange_reset_password"), "#limit_validation_errors" => array(), "#value" => t("Forgot Password"));
kc:
$form["create_account_markup_15"] = array("#markup" => "<div class="mo_rest_highlight_background_note_1">If you do not have an account with us yet, please click on the link <a href="https://www.miniorange.com/businessfreetrial" target="_blank">here</a> to create an account or you can reach out to us through the <b>Contact Us</b> block on the right.</div>");
$form["miniorange_rest_api_client_support_div_cust2"] = array("#markup" => "</div>");
Utilities::AddSupportButton($form, $form_state);
return $form;
}
function miniorange_reset_password(array &$form, FormStateInterface $form_state)
{
$Ek = new TrustedRedirectResponse(MiniorangeApiAuthConstants::BASE_URL . "/moas/idp/resetpassword");
$form_state->setResponse($Ek);
}
public function submitForm(array &$form, FormStateInterface $form_state)
{
$S_ = MiniorangeApiAuthConstants::INTRANET;
$Mb = $form["rest_api_authentication_customer_setup_username"]["#value"];
$NN = '';
$vb = null;
if ($S_) {
goto CV;
}
$vb = $form["rest_api_authentication_customer_setup_password"]["#value"];
CV:
if (!$S_ && (empty($Mb) || empty($vb))) {
goto sM;
}
if ($S_ && empty($Mb)) {
goto ey;
}
goto qx;
sM:
\Drupal::messenger()->addMessage(t("The <b><u>Email </u></b> and <b><u>Password></b> fields are mandatory."), "error");
return;
goto qx;
ey:
\Drupal::messenger()->addMessage(t("The <b><u>Email </u></b> fields are mandatory."), "error");
return;
qx:
if (\Drupal::service("email.validator")->isValid($Mb)) {
goto yp;
}
\Drupal::messenger()->addMessage(t("The email address <i>" . $Mb . "</i> is not valid."), "error");
return;
yp:
$x_ = new MiniorangeRestAPICustomer($Mb, $vb);
$BU = json_decode($x_->checkCustomer());
if ($BU->status == "CUSTOMER_NOT_FOUND") {
goto qr;
}
if ($BU->status == "CURL_ERROR") {
goto dW;
}
if (!$S_) {
goto In;
}
$Wm = "PLUGIN_CONFIGURATION";
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_customer_admin_email", $Mb)->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_customer_id", MiniorangeApiAuthConstants::CUSTOMER_ID)->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_status", $Wm)->save();
\Drupal::messenger()->addMessage(t("Successfully retrieved your account."));
goto dz;
In:
$Vo = $x_->getCustomerKeys();
if (isset($Vo) && !empty($Vo)) {
goto Lc;
}
\Drupal::messenger()->addMessage(t("Invalid credentials"), "error");
return;
goto DI;
Lc:
$Ve = json_decode($x_->getCustomerKeys());
if (!(json_last_error() == JSON_ERROR_NONE)) {
goto ue;
}
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_customer_id", $Ve->id)->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_customer_admin_token", $Ve->token)->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_customer_admin_email", $Mb)->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_customer_admin_phone", $NN)->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_customer_api_key", $Ve->apiKey)->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_customer_password", $vb)->save();
$Wm = "PLUGIN_CONFIGURATION";
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_status", $Wm)->save();
\Drupal::messenger()->addMessage(t("Successfully retrieved your account."));
ue:
DI:
dz:
goto gE;
qr:
\Drupal::messenger()->addMessage(t("Invalid credentials"), "error");
return;
goto gE;
dW:
\Drupal::messenger()->addMessage(t("cURL is not enabled. Please enable cURL"), "error");
gE:
}
public function rest_api_authentication_back(&$form, $form_state)
{
$Wm = "CUSTOMER_SETUP";
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_status", $Wm)->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->clear("rest_api_authentication_customer_admin_email")->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->clear("rest_api_authentication_customer_admin_phone")->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->clear("rest_api_authentication_customer_password")->save();
\Drupal::messenger()->addMessage(t("Login with your miniOrange Account"), "status");
}
function rest_api_authentication_validate_license_submit($form, &$form_state)
{
$k_ = str_replace(" ", '', $form["rest_api_authentication_license_key"]["#value"]);
if (!empty($k_)) {
goto hH;
}
\Drupal::messenger()->addMessage(t("The <b><u>License Key</u></b> field is mandatory."), "error");
return;
hH:
$Mb = \Drupal::config("rest_api_authentication.settings")->get("rest_api_authentication_customer_admin_email");
$NN = \Drupal::config("rest_api_authentication.settings")->get("rest_api_authentication_customer_admin_phone");
$vb = \Drupal::config("rest_api_authentication.settings")->get("rest_api_authentications_customer_password");
$x_ = new MiniorangeRestAPICustomer($Mb, $vb);
$gJ = json_decode($x_->ccl(), true);
$PA = $gJ["licensePlan"];
if (is_array($gJ)) {
goto bp;
}
if (!(!isset($gJ["status"]) || empty($gJ["status"]) || !isset($gJ["licensePlan"]) || empty($gJ["licensePlan"]))) {
goto IX;
}
\Drupal::messenger()->addMessage(t("Error:Something went wrong while processing your request."), "error");
return;
IX:
bp:
if (!($gJ["status"] != "SUCCESS" || $gJ["licensePlan"] != Utilities::GetPlanName())) {
goto g2;
}
\Drupal::messenger()->addMessage(t("Invalid license! Please use a valid license to activate the module"), "error");
return;
g2:
$bB = $x_->verifyLicense($k_);
if (!(!is_array($bB) || empty($bB["status"]))) {
goto mb;
}
\Drupal::messenger()->addMessage(t("Invalid response received while activating the license key."), "error");
return;
mb:
if (strcasecmp($bB["status"], "SUCCESS") == 0) {
goto BD;
}
if (strcasecmp($bB->status, "FAILED") == 0) {
goto X_;
}
\Drupal::messenger()->addMessage(t("An error occurred while processing your request. Please Try again."), "error");
return;
goto zD;
X_:
if (strcasecmp($bB->message, "Code has Expired") == 0) {
goto Gy;
}
\Drupal::messenger()->addMessage(t("You have entered an invalid license key. Please enter a valid license key."), "error");
return;
goto Rs;
Gy:
\Drupal::messenger()->addMessage(t("License key you have entered has already been used. Please enter a key which has not been used before on any other instance or if you have exausted all your keys then buy more license from Licensing"), "error");
return;
Rs:
zD:
goto o6;
BD:
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_auth_licenseExpiry", $gJ["licenseExpiry"])->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_supportExpiry", $gJ["supportExpiry"])->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_license_key", $k_)->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_status", "PLUGIN_CONFIGURATION")->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_license_plan", $PA)->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_multi_site_plugin", isset($gJ["isMultiSitePluginRequested"]) ? $gJ["isMultiSitePluginRequested"] : false)->save();
\Drupal::messenger()->addMessage(t("Your license is verified. You can now setup the module."), "status");
$fL = \Drupal::config("rest_api_authentication.settings")->get("rest_api_authentication_customer_admin_token");
$fE = Utilities::check_fraud();
Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_customer_admin_fraud_check", Utilities::encrypt_data($fE, $fL))->save();
o6:
}
function rest_api_authentication_remove_account(&$form, $form_state)
{
global $base_url;
if (isset($_POST["value_check"]) && $_POST["value_check"] == "True") {
goto t8;
}
$BG = array();
$BG = $_POST;
$VD = $_POST["form_id"];
$Sj = $_POST["form_token"];
$pd = $_POST["op"];
$Kp = $_POST["form_build_id"];
global $base_url;
echo "
<html>
<head>
<title>Confirmation</title>\xa <link href="https://fonts.googleapis.com/css?family=PT+Serif" rel="stylesheet">\xa </head>\xa\xa <body style="font-family: 'PT Serif', serif;">
<div style="margin: 15% auto; height:35%; width: 40%; background-color: #eaebed; text-align: center; box-shadow: 10px 5px 5px darkgray; border-radius: 2%;">\xa <div style="color: #a94442; background-color:#f2dede; padding: 15px; margin-bottom: 20px; text-align:center; border:1px solid #E6B3B2; font-size:16pt; border-radius: 2%;">\xa <strong>Are you sure you want to remove account..!!</strong>
</div>\xa <p style="font-size:14px; margin-left: 8%; margin-right: 8%"><strong>Warning </strong>: If you remove your account, you will have to enter licence key again after login/sign in with the new account.</p>
<br/>\xa <form name="f" method="post" action="" id="mo_remove_account">
<div>\xa <input type="hidden" name="op" value=";
echo $pd;
echo ">\xa <input type="hidden" name="form_build_id" value= ";
echo $Kp;
echo ">
<input type="hidden" name="form_token" value=";
echo $Sj;
echo ">
<input type="hidden" name="form_id" value= ";
echo $VD;
echo ">
<input type="hidden" name="value_check" value= 'True'>\xa </div>\xa <div style="margin: auto; text-align: center;" class="mo2f_modal-footer">
<input type="submit" style=" padding:1%; width:100px; background: #0091CD none repeat scroll 0% 0%; cursor: pointer; font-size:15px; border-width: 1px; border-style: solid; border-radius: 3px; white-space: nowrap; box-sizing: border-box;border-color: #0073AA; box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset; color: #FFF;" name="miniorange_confirm_submit" class="button button--danger button--large" value="Confirm"/>
\xa <a type="submit" style=" padding:1%; width:100px; background: #0091CD none repeat scroll 0% 0%; cursor: pointer; font-size:15px; border-width: 1px; border-style: solid; border-radius: 3px; white-space: nowrap; box-sizing: border-box;border-color: #0073AA; box-shadow: 0px 1px 0px rgba(120, 200, 230, 0.6) inset; color: #FFF; text-decoration: none;" class="button button--danger button--large" href=";
echo $base_url . "/admin/config/people/rest_api_authentication/customer_setup";
echo " >Cancel</a>\xa
</div>
</form>\xa </div>\xa </body>
</html>\xa ";
exit;
goto YJ;
t8:
if (!(\Drupal::config("rest_api_authentication.settings")->get("rest_api_authentication_license_key") != NULL)) {
goto NW;
}
$Wm = "CUSTOMER_SETUP";
$Mb = \Drupal::config("rest_api_authentication.settings")->get("rest_api_authentication_customer_admin_email");
$dH = new MiniorangeRestAPICustomer($Mb, NULL);
$Ek = json_decode($dH->updateStatus());
if (!($Ek->status == "SUCCESS")) {
goto x8;
}
$m5 = '';
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_customer_admin_email", NULL)->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_customer_id", $m5)->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_customer_api_key", $m5)->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_license_key", NULL)->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_customer_password", $m5)->save();
\Drupal::configFactory()->getEditable("rest_api_authentication.settings")->set("rest_api_authentication_status", $Wm)->save();
\Drupal::messenger()->addMessage(t("Your account has been removed successfully!"), "status");
$_POST["value_check"] = "False";
x8:
NW:
YJ:
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Drupal\rest_api_authentication\Form;
use Drupal;
use Drupal\Core\Routing\TrustedRedirectResponse;
use Drupal\rest_api_authentication\Utilities;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Drupal\rest_api_authentication\MiniorangeRestAPICustomer;
use Drupal\Core\Form\FormBase;
use Drupal\rest_api_authentication\MiniorangeApiAuthSupport;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Drupal\Core\Ajax\AjaxResponse;
use Drupal\Core\Ajax\OpenModalDialogCommand;
use Drupal\Core\Form\FormBuilder;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Url;
use Drupal\rest_api_authentication\MiniorangeApiAuthConstants;
use Drupal\Core\Render\Markup;
class MiniorangeRestAPICustomerSetup extends FormBase
{
public function getFormId()
{
return "\155\151\156\151\x6f\162\141\156\147\x65\137\x72\145\163\164\137\141\160\151\x5f\x63\x75\163\x74\157\155\145\x72\x5f\163\145\164\165\160";
}
public function buildForm(array $form, FormStateInterface $form_state)
{
global $base_url;
$Wm = \Drupal::config("\x72\145\163\x74\137\x61\160\151\137\141\165\164\x68\x65\x6e\164\151\x63\x61\x74\x69\x6f\156\56\163\x65\x74\164\x69\156\147\163")->get("\162\145\163\164\x5f\141\160\x69\137\x61\165\164\150\145\x6e\x74\151\143\141\164\x69\157\x6e\137\163\x74\x61\x74\165\x73");
\Drupal::configFactory()->getEditable("\162\x65\x73\164\137\x61\x70\x69\137\141\165\x74\150\x65\156\x74\151\143\x61\x74\151\x6f\156\x2e\163\145\x74\164\151\156\147\163")->set("\162\145\x73\164\137\141\x70\x69\x5f\x61\x75\x74\150\x65\x6e\x74\151\143\x61\164\151\x6f\x6e\x5f\163\165\160\x70\x6f\x72\164\x5f\x72\145\161\165\x65\163\164\137\146\154\x61\x67", "\143\165\x73\x74\x6f\155\x65\162\123\145\x74\x75\160\x54\x61\x62")->save();
$form["\x6d\x61\162\x6b\165\x70\x5f\154\151\142\162\141\162\x79"] = array("\x23\x61\x74\164\x61\x63\150\145\144" => array("\x6c\151\x62\x72\141\x72\x79" => array("\x72\x65\x73\x74\x5f\x61\x70\x69\137\141\165\164\150\145\x6e\164\151\143\141\164\151\157\x6e\x2f\x72\145\163\x74\x5f\141\160\151\137\x61\x75\x74\x68\x65\x6e\164\x69\x63\x61\164\151\157\x6e\x2e\x6d\141\x69\x6e")));
if ($Wm == "\120\x4c\125\x47\x49\116\x5f\x43\117\116\x46\x49\107\x55\122\101\124\111\x4f\116" && \Drupal::config("\162\145\x73\x74\x5f\x61\160\151\x5f\x61\x75\x74\150\145\x6e\x74\151\143\x61\164\151\x6f\156\56\x73\x65\x74\x74\x69\156\147\x73")->get("\x72\x65\163\164\137\x61\160\x69\137\141\x75\164\150\145\156\x74\151\x63\141\x74\151\157\156\137\x6c\x69\143\145\x6e\163\145\137\x6b\x65\171") == NULL) {
goto Tp;
}
if ($Wm == "\x50\x4c\125\107\x49\116\x5f\x43\117\x4e\x46\x49\x47\125\122\101\124\x49\117\116") {
goto cJ;
}
goto fg;
Tp:
$form["\x6d\x61\162\153\165\160\137\x74\x6f\x70\x5f\x68\x65\x61\144"] = array("\43\x6d\141\x72\x6b\x75\160" => "\74\144\151\166\40\x63\x6c\x61\163\x73\x3d\x22\x6d\157\x5f\162\x65\x73\x74\137\141\x70\151\137\164\141\x62\x6c\145\137\154\x61\171\157\165\x74\x5f\62\42\76\x3c\144\x69\166\x20\x63\154\141\x73\x73\x3d\42\x6d\x6f\137\x72\145\x73\164\137\141\160\151\137\164\x61\142\x6c\x65\137\x6c\x61\x79\157\x75\164\x5f\63\x20\155\157\x5f\x72\x65\163\x74\137\141\160\x69\x5f\x63\x6f\156\x74\141\151\x6e\145\x72\42\76");
$BI = MiniorangeApiAuthConstants::BASE_URL;
$form["\155\x61\x72\x6b\165\x70\137\61\x34\x34"] = array("\x23\x6d\141\162\x6b\165\160" => "\74\144\151\x76\76\x3c\x64\151\166\x3e\74\x68\x33\76\x56\145\x72\151\x66\x79\40\x79\157\165\162\40\x4c\151\143\x65\156\163\x65\x3c\x2f\x68\63\76");
$Ur = \Drupal::configFactory()->getEditable("\162\x65\x73\164\137\x61\x70\151\x5f\141\x75\164\150\x65\156\164\151\143\141\164\x69\157\x6e\x2e\x73\x65\164\164\151\x6e\147\163")->get("\x72\x65\x73\x74\x5f\141\160\x69\137\141\165\164\x68\145\x6e\164\151\143\x61\164\151\x6f\156\x5f\x63\165\163\164\157\155\145\162\x5f\x61\x64\155\x69\x6e\137\145\x6d\141\151\154");
$DD = "\x68\164\164\160\x73\72\57\57\154\x6f\147\151\156\56\170\145\143\165\162\x69\x66\x79\56\x63\x6f\155\x2f\x6d\157\x61\163\x2f\154\x6f\x67\x69\x6e\x3f\x75\x73\x65\162\x6e\x61\155\145\x3d" . $Ur . "\x26\162\x65\144\151\162\145\x63\x74\125\x72\154\75\x68\x74\x74\x70\163\x3a\x2f\57\x6c\x6f\147\151\156\x2e\x78\x65\x63\165\x72\x69\x66\x79\x2e\143\x6f\x6d\x2f\x6d\157\141\163\x2f\x61\x64\x6d\151\x6e\x2f\143\165\x73\164\157\155\x65\162\57\x76\x69\145\x77\x6c\x69\x63\x65\x6e\163\x65\153\145\x79\163";
$form["\155\141\162\x6b\165\x70\137\162\145\163\164\x5f\154\x6b"] = array("\x23\x6d\141\x72\153\165\160" => "\74\x64\x69\166\40\151\x64\75\42\x6d\171\122\145\163\x74\x41\x50\x49\x6b\145\x79\42\x20\x63\154\141\x73\x73\x3d\x22\x69\x6e\x20\143\157\154\x6c\141\x70\163\145\42\40\x73\164\171\154\145\75\42\150\x65\151\147\x68\x74\72\40\x61\x75\164\x6f\73\x22\x3e" . "\131\x6f\165\x20\143\141\156\40\x66\x69\156\x64\x20\x61\x6c\x6c\x20\x79\x6f\x75\x72\40\165\x73\145\144\40\141\156\x64\x20\165\x6e\165\x73\x65\144\40\153\145\x79\163\x20\x75\x6e\144\x65\x72\x20\164\x68\145\40\x3c\151\x3e\x56\151\x65\167\x20\x4c\151\143\x65\x6e\163\145\x20\113\x65\x79\x3c\57\151\x3e\40\x53\145\143\x74\x69\x6f\x6e\x20\151\x6e\40\x79\x6f\x75\162\x20\x6d\151\156\x69\117\x72\x61\156\147\145\x20\74\141\40\x68\162\145\146\75\x22" . $DD . "\x22\40\x74\141\x72\147\x65\164\75\x22\x5f\142\x6c\x61\x6e\153\42\x3e\144\141\163\150\142\157\141\162\x64\74\x2f\141\76\56" . "\x3c\x2f\x64\x69\x76\76");
$form["\162\145\x73\x74\x5f\x61\x70\151\x5f\x61\165\x74\x68\x65\x6e\164\x69\x63\141\164\x69\157\156\137\x6c\151\x63\x65\x6e\x73\145\137\x6b\145\x79"] = array("\x23\x74\x79\x70\145" => "\x74\x65\170\x74\x66\x69\x65\x6c\x64", "\x23\x74\x69\164\154\145" => t("\x4c\151\x63\x65\x6e\x73\145\x20\x4b\145\x79\x20\x3c\163\x70\141\156\x20\x73\x74\x79\154\x65\x3d\42\143\x6f\154\x6f\x72\72\x20\162\145\144\x22\x3e\52\x3c\57\x73\x70\x61\x6e\76"), "\43\x61\164\164\162\x69\x62\x75\x74\145\x73" => array("\x73\x74\171\x6c\145" => "\x77\x69\x64\164\150\72\x34\65\x30\160\170", "\x70\x6c\x61\x63\145\150\x6f\x6c\144\x65\x72" => "\105\156\164\x65\162\40\x79\157\165\162\40\154\151\143\145\156\163\145\x20\153\x65\171\x20\x74\x6f\40\141\143\x74\151\166\x61\x74\145\x20\x74\x68\x65\40\155\157\144\165\x6c\x65"));
$form["\x72\145\x73\x74\137\x61\160\x69\137\141\x75\x74\150\x65\156\164\151\x63\x61\164\x69\x6f\x6e\137\x74\x6e\x63"] = array("\43\x6d\141\162\x6b\165\x70" => "\x3c\x62\162\x3e\74\160\76\x3c\142\x3e\x3c\x66\157\x6e\164\x20\x63\x6f\154\x6f\162\x3d\x22\43\106\x46\x30\60\x30\60\x22\x3e\x2a\74\x2f\x66\x6f\156\x74\x3e\x20\x54\145\162\155\x73\40\46\40\x43\x6f\x6e\144\151\164\x69\157\x6e\x73\x20\x3c\57\x62\76\x26\x6e\142\x73\x70\73\x26\x6e\x62\x73\x70\x3b" . "\x3c\157\x6c\76\xa\x20\40\x20\x20\x20\40\40\x20\40\x20\x20\x20\74\154\x69\x3e\x4c\151\143\x65\x6e\163\145\40\x6b\x65\171\40\x79\157\x75\x20\150\141\x76\x65\x20\145\156\164\145\162\x65\x64\x20\150\145\162\145\x20\151\x73\40\x61\x73\x73\x6f\x63\x69\141\x74\145\x64\x20\x77\151\164\150\40\164\x68\x69\x73\40\x73\x69\164\x65\x20\151\156\x73\x74\141\x6e\143\145\56\40\111\x6e\x20\146\x75\164\x75\x72\x65\54\xa\x20\x20\40\x20\40\40\x20\x20\40\40\40\40\x69\x66\x20\x79\x6f\165\x20\141\x72\x65\x20\x72\145\x2d\151\156\x73\x74\141\154\154\151\x6e\x67\x20\164\150\145\40\x6d\x6f\144\x75\x6c\145\x20\157\x72\40\171\157\x75\x72\40\x73\x69\164\x65\40\146\157\162\40\x61\156\x79\40\x72\145\141\163\x6f\156\x2c\12\40\x20\40\40\40\x20\x20\40\x20\40\40\40\171\x6f\x75\40\163\150\157\165\x6c\x64\40\162\x65\x6d\x6f\166\x65\40\x6c\151\x63\145\x6e\x63\x65\x20\153\x65\x79\x20\146\162\x6f\155\40\122\145\147\151\x73\164\145\162\57\x4c\x6f\147\151\156\x20\x74\x61\142\x20\142\x65\146\x6f\x72\x65\x20\144\145\154\145\x74\x69\156\147\x20\164\x68\x65\x20\x6d\x6f\x64\x75\154\x65\40\163\157\40\x74\150\x61\x74\40\x79\x6f\165\x20\143\x61\156\40\x75\x73\x65\x20\x74\x68\145\40\x73\x61\155\145\40\154\x69\143\x65\156\163\x65\40\153\x65\x79\x20\x61\x67\141\151\156\56\x3c\57\154\x69\x3e\xa\40\x20\x20\x20\x20\40\x20\x20\x20\40\40\40\74\142\162\x3e\12\40\40\x20\40\40\x20\40\40\x20\40\40\x20\x3c\x6c\151\x3e\74\x62\x3e\124\150\x69\163\x20\151\x73\x20\x6e\157\x74\x20\x61\x20\144\x65\x76\145\154\x6f\160\x65\162\x73\x20\154\x69\x63\145\x6e\163\x65\56\x3c\57\x62\76\40\x4d\141\x6b\151\x6e\147\40\141\156\171\40\x6b\x69\156\144\40\157\x66\40\143\x68\x61\x6e\147\x65\x73\40\164\157\40\164\x68\145\x20\155\x6f\144\165\x6c\x65\40\143\157\x64\145\x20\x77\151\154\154\40\x72\145\x73\x75\154\164\40\x69\156\x20\x64\x65\154\x65\164\x69\157\x6e\x20\157\146\40\141\154\154\40\171\x6f\x75\162\x20\x63\157\x6e\x66\x69\147\165\x72\141\164\x69\157\x6e\x73\x20\141\156\144\40\x77\151\x6c\154\40\x6d\x61\153\145\x20\x74\150\x65\40\155\157\144\165\x6c\145\40\x75\x6e\x73\x74\141\142\154\145\x2e\x3c\x2f\154\x69\76\xa\40\40\x20\x20\40\x20\x20\x20\40\40\40\40\x3c\x2f\157\x6c\x3e\74\x62\x72\76\12\40\40\40\x20\x20\x20\x20\x20\40\x20\x20\x20\x3c\160\76\74\x62\76\x50\x6c\145\x61\163\x65\x20\x6e\x6f\x74\145\x3a\74\57\142\76\x20\102\171\40\143\154\x69\x63\x6b\151\x6e\147\40\157\x6e\40\x74\x68\x65\40\x41\143\x74\x69\166\x61\x74\145\x20\x4c\151\143\145\x6e\x73\x65\40\142\165\x74\x74\x6f\156\x2c\40\171\157\x75\x20\x61\x67\x72\x65\x65\40\x74\157\40\x74\x68\145\40\x61\142\x6f\x76\145\x20\x54\145\x72\x6d\163\40\46\40\103\x6f\156\x64\x69\x74\x69\157\156\163\40\74\57\x70\76");
$form["\162\145\163\x74\x5f\141\160\x69\137\x61\x75\164\x68\x65\x6e\164\151\x63\141\164\x69\157\156\137\143\x75\163\x74\157\155\145\x72\137\166\141\154\x69\x64\x61\x74\x65\x5f\x6c\x69\143\x65\156\x73\x65\x5f\x62\165\x74\164\x6f\x6e"] = array("\x23\164\171\x70\x65" => "\163\165\x62\x6d\151\164", "\x23\142\x75\x74\x74\x6f\x6e\x5f\164\171\x70\x65" => "\x70\x72\151\155\141\x72\171", "\x23\x76\x61\154\x75\145" => t("\x41\143\x74\x69\x76\x61\x74\x65\40\x4c\x69\143\x65\156\x73\x65"), "\43\163\165\x62\155\x69\164" => array("\72\x3a\162\145\163\164\137\141\x70\x69\137\141\165\x74\150\x65\156\164\x69\143\141\164\x69\x6f\156\137\166\x61\x6c\x69\x64\141\164\x65\x5f\154\151\143\145\156\163\x65\x5f\163\x75\x62\155\x69\164"));
$form["\162\x65\163\164\137\141\x70\151\x5f\x61\165\164\x68\145\156\164\151\143\141\x74\x69\x6f\156\x5f\x63\x75\x73\x74\x6f\155\x65\162\x5f\163\x65\x74\165\160\x5f\x62\x61\x63\x6b"] = array("\43\x74\x79\x70\x65" => "\x73\165\x62\155\151\x74", "\43\142\165\164\164\157\x6e\x5f\x74\171\160\x65" => "\x64\x61\x6e\147\x65\x72", "\43\x76\141\x6c\165\145" => t("\x42\141\143\x6b"), "\x23\163\x75\142\155\151\164" => array("\72\x3a\x72\145\163\x74\x5f\x61\160\x69\x5f\141\165\164\x68\145\156\164\x69\143\141\164\x69\157\x6e\x5f\x62\x61\143\153"), "\x23\x73\165\146\146\x69\x78" => "\x3c\x62\162\76\x3c\142\x72\76\x3c\x62\162\76\74\x62\162\76\x3c\x2f\x64\151\x76\x3e");
$form["\x63\x6c\x6f\163\x65\137\x64\x69\x76"] = array("\43\x6d\x61\162\x6b\x75\160" => "\74\57\x64\151\166\x3e\x3c\x2f\x64\151\x76\x3e");
Utilities::AddSupportButton($form, $form_state);
return $form;
goto fg;
cJ:
$cu = \Drupal::config("\x72\x65\163\x74\x5f\141\x70\151\137\141\x75\x74\x68\145\156\164\151\143\141\164\x69\x6f\x6e\56\x73\x65\x74\164\x69\156\147\x73");
$form["\150\145\x61\144\x65\x72\137\164\x6f\x70\137\163\164\171\x6c\x65\x5f\61"] = array("\43\x6d\141\x72\153\165\160" => "\x3c\x64\x69\x76\40\x63\154\x61\163\x73\75\x22\155\157\x5f\x72\x65\163\x74\137\x61\160\151\137\164\x61\x62\154\x65\137\154\x61\x79\157\165\164\x5f\62\42\x3e");
$form["\155\x61\x72\x6b\x75\x70\137\164\x6f\160"] = array("\x23\155\x61\x72\153\x75\160" => "\x3c\144\151\166\40\x63\x6c\x61\163\x73\x3d\42\155\x6f\x5f\x72\145\x73\x74\137\x61\160\151\x5f\164\x61\x62\154\x65\137\154\x61\171\157\x75\x74\137\63\40\x6d\x6f\x5f\162\x65\x73\164\137\x61\160\x69\x5f\143\x6f\x6e\164\141\x69\156\145\x72\42\x3e");
$Bd = abs(floor((strtotime($cu->get("\162\145\163\x74\137\x61\x70\x69\137\x61\x75\x74\150\145\x6e\164\151\x63\x61\x74\151\157\x6e\x5f\141\165\164\150\x5f\x6c\151\x63\x65\156\x73\x65\105\x78\x70\151\x72\x79")) - time()) / (3600 * 24)));
if (strtotime($cu->get("\162\145\x73\x74\x5f\141\160\x69\137\x61\165\164\150\145\x6e\x74\151\143\x61\164\151\157\x6e\x5f\141\165\x74\150\137\154\151\143\x65\x6e\x73\145\x45\x78\160\151\162\x79")) < time()) {
goto gl;
}
if (strtotime($cu->get("\162\x65\163\x74\x5f\141\160\151\137\141\x75\x74\x68\x65\x6e\x74\x69\x63\x61\x74\x69\157\156\137\x61\x75\164\x68\x5f\154\x69\143\x65\x6e\x73\145\105\x78\160\151\x72\x79")) - 30 * 24 * 60 * 60 < time()) {
goto Nb;
}
$form["\x6d\141\x72\x6b\x75\x70\x5f\x74\x6f\x70\137\167\145\154\x63\x6f\155\x65\137\155\x65\163\x73\141\x67\x65"] = array("\43\155\x61\x72\x6b\x75\x70" => "\x3c\144\x69\x76\x20\143\154\x61\x73\x73\x3d\42\155\x6f\x5f\162\145\x73\x74\137\x61\x70\x69\137\154\x6f\147\151\x6e\137\x73\x75\x63\x63\145\163\x73\x22\x3e\124\x68\x61\156\153\40\x79\157\165\40\146\157\162\40\154\157\147\x69\156\40\167\x69\164\x68\x20\155\x69\x6e\x69\117\162\141\x6e\x67\x65\74\57\x64\151\x76\76");
goto w2;
gl:
$form["\x6d\x61\x72\153\x75\x70\x5f\x74\x6f\160\137\167\x65\154\x63\157\155\x65\137\x6d\x65\x73\x73\x61\x67\145"] = array("\x23\x6d\x61\162\153\x75\x70" => "\x3c\x64\x69\x76\x20\143\x6c\x61\x73\163\75\42\x6d\x6f\137\x72\x65\163\x74\x5f\x61\160\151\137\x6c\x69\143\145\x6e\x73\x65\x5f\145\x78\160\151\x72\x79\42\x3e\x59\157\165\x72\40\x6d\141\151\156\164\x65\156\141\156\x63\x65\40\x73\165\x70\x70\157\162\164\40\150\x61\163\40\145\x78\x70\x69\x72\145\x64\40" . $Bd . "\40\x64\141\x79\163\x20\x65\x61\162\154\151\145\162\54\x20\x70\154\145\x61\x73\145\x20\x63\154\151\143\x6b\x20\157\x6e\x20\164\150\x65\40\122\x65\156\x65\x77\40\x4d\141\151\x6e\164\x65\x6e\x61\x6e\143\145\x20\x62\x75\x74\x74\157\x6e\x20\142\145\154\x6f\x77\x20\164\x6f\x20\x75\160\147\x72\x61\144\145\56\74\x2f\144\151\x76\x3e");
goto w2;
Nb:
$form["\x6d\141\x72\153\165\160\x5f\x74\x6f\x70\x5f\x77\x65\x6c\x63\157\155\x65\x5f\x6d\145\x73\163\141\x67\145"] = array("\43\x6d\x61\162\x6b\x75\x70" => "\74\144\151\166\x20\143\x6c\x61\163\163\x3d\x22\155\x6f\137\x72\x65\x73\164\137\141\160\151\137\x6c\x69\143\x65\x6e\163\145\x5f\145\170\160\151\x72\x79\x22\76\131\x6f\x75\162\40\x6d\x61\x69\156\x74\x65\x6e\x61\x6e\x63\x65\x20\151\x73\x20\x67\157\x69\156\147\40\164\x6f\40\145\x78\160\x69\x72\x65\x20\151\156\40" . $Bd . "\x20\144\x61\171\163\x2c\40\160\154\x65\141\x73\145\x20\143\154\x69\143\153\x20\157\x6e\40\164\150\145\40\122\145\x6e\x65\x77\40\115\141\x69\156\164\x65\156\x61\156\143\145\40\x62\165\x74\x74\x6f\x6e\x20\x62\x65\154\x6f\167\40\164\157\x20\x75\x70\x67\162\x61\x64\x65\56\x3c\57\144\x69\166\x3e");
w2:
$form["\x6d\141\162\153\165\160\137\x74\157\x70\137\x31"] = array("\43\x6d\x61\x72\153\x75\160" => "\x3c\x62\162\76\74\150\x33\x3e\131\157\x75\162\40\120\162\157\146\x69\154\145\x3a\74\x2f\x68\63\76");
$XR = array(t("\x41\x54\124\122\x49\x42\x55\124\105\40\116\x41\115\x45"), t("\x41\x54\x54\x52\x49\x42\x55\124\x45\x20\126\101\x4c\x55\105"));
$Zw = $cu->get("\x72\145\x73\x74\x5f\141\160\151\137\141\165\x74\150\x65\x6e\164\151\x63\141\x74\x69\x6f\156\137\143\x75\x73\164\x6f\x6d\145\x72\x5f\141\144\155\x69\156\137\145\x6d\141\x69\154");
$CJ = [];
$CJ[0] = array("\x43\165\163\x74\x6f\x6d\145\162\40\105\x6d\141\x69\154" => "\103\165\163\164\x6f\x6d\145\x72\40\x45\x6d\x61\x69\154", "\x65\x6d\141\x69\154" => $Zw);
$CJ[1] = array("\x43\165\163\x74\157\155\x65\x72\x20\111\x44" => "\103\x75\163\x74\x6f\x6d\145\x72\40\111\104", "\x63\x75\x73\x74\157\x6d\145\x72\x69\144" => $cu->get("\x72\x65\x73\164\x5f\x61\160\x69\x5f\141\x75\164\150\145\156\164\x69\x63\141\164\x69\157\156\x5f\x63\165\x73\164\157\x6d\145\162\137\x69\144"));
$CH = $cu->get("\162\x65\x73\x74\x5f\x61\x70\151\x5f\141\x75\x74\150\x65\x6e\164\151\x63\x61\164\151\157\156\x5f\x6c\151\143\x65\156\x73\x65\x5f\160\x6c\141\x6e");
$CJ[2] = array("\x4c\x69\x63\145\156\x73\x65\40\x50\x6c\141\x6e" => "\114\151\143\145\x6e\x73\145\40\120\x6c\141\156", "\154\x69\143\145\156\x73\145\x5f\160\x6c\141\x6e" => $CH);
$yt = $cu->get("\162\145\x73\164\137\141\160\151\x5f\x61\x75\x74\x68\x65\x6e\164\x69\143\141\164\x69\157\156\x5f\x6c\151\x63\145\x6e\163\145\x5f\x6b\145\171");
$CJ[3] = array("\114\x69\143\x65\156\163\145\x20\113\x65\x79" => "\x4c\151\x63\x65\156\x73\145\40\113\x65\x79", "\x6c\151\143\x65\156\x73\145\137\153\145\171" => $yt);
$Xy = \Drupal::service("\145\x78\164\x65\x6e\x73\x69\157\156\x2e\154\x69\163\164\x2e\155\157\144\x75\x6c\145")->getPath("\x72\x65\163\x74\137\141\x70\x69\137\141\x75\164\x68\145\x6e\x74\151\x63\x61\164\151\x6f\156");
if (strtotime($cu->get("\x72\x65\x73\x74\137\x61\x70\151\x5f\x61\x75\x74\x68\x65\x6e\164\x69\143\x61\164\x69\x6f\x6e\137\x61\165\164\x68\137\154\151\x63\x65\x6e\163\145\105\x78\160\x69\x72\171", '')) < time()) {
goto FV;
}
$CJ[4] = array("\115\141\x69\156\x74\x65\156\x61\x6e\x63\x65\40\x45\x78\160\151\x72\171" => "\115\141\151\156\x74\x65\x6e\x61\156\143\x65\40\105\170\160\151\x72\x79", "\x6d\141\x69\x6e\164\145\156\x61\x6e\x63\x65\x5f\145\x78\x70\151\x72\171" => date("\x46\x20\x6a\54\x20\131\54\40\147\x3a\151\x20\141", strtotime($cu->get("\x72\145\x73\x74\137\x61\160\x69\137\141\x75\x74\150\x65\156\164\151\x63\x61\164\151\157\x6e\x5f\141\165\164\x68\137\x6c\151\x63\145\x6e\163\x65\x45\170\160\151\162\x79", ''))));
goto Fz;
FV:
$CJ[4] = array("\115\141\x69\156\164\x65\156\x61\156\143\145\x20\x45\170\160\x69\x72\x79" => "\x4d\141\x69\x6e\x74\145\156\x61\156\143\x65\x20\105\x78\160\151\x72\171", "\155\141\x69\x6e\x74\145\156\x61\x6e\x63\145\x5f\145\x78\x70\151\x72\171" => Markup::create("\74\144\x69\x76\x20\163\x74\171\154\145\75\x22\143\157\x6c\157\162\x3a\x20\x72\145\144\x22\76\x3c\165\x20\x73\x74\x79\x6c\145\75\42\x63\165\162\163\157\162\72\40\160\x6f\x69\x6e\164\x65\x72\x22\76" . date("\106\40\x6a\x2c\40\131\54\40\147\72\151\x20\x61", strtotime($cu->get("\x72\x65\163\x74\x5f\141\160\151\x5f\x61\x75\x74\150\145\x6e\x74\x69\143\x61\164\x69\x6f\156\137\x61\x75\164\150\x5f\x6c\151\x63\x65\x6e\163\x65\105\x78\160\x69\162\x79", ''))) . "\x3c\57\165\76\x3c\163\165\x62\76\74\151\155\x67\x20\x73\164\171\154\145\75\x22\x68\x65\x69\x67\x68\x74\x3a\x20\61\x35\x70\x78\73\40\x77\151\144\164\150\72\40\61\x35\160\x78\x20\x70\x61\144\x64\151\156\147\72\65\x70\x78\x3b\x20\155\141\x72\147\151\x6e\55\154\145\x66\164\x3a\61\60\x70\x78\73\x63\x6f\154\157\162\x3a\162\x65\144\73\x22\40\x73\x72\x63\75\x22" . $base_url . "\x2f" . $Xy . "\57\141\163\x73\x65\x74\x73\x2f\x69\x6d\x67\57\167\141\162\156\x69\156\147\56\163\166\x67\42\x3e\74\x2f\x73\x75\142\x3e\74\57\144\151\x76\x3e"));
Fz:
$CJ[5] = array("\123\165\x70\160\x6f\x72\x74\40\x45\x78\x70\x69\162\171" => "\123\x75\160\x70\x6f\x72\x74\40\105\170\x70\151\162\171", "\x73\x75\x70\x70\x6f\162\x74\x5f\145\170\160\x69\x72\171" => date("\x46\40\152\x2c\40\x59\x2c\40\147\72\x69\x20\x61", strtotime($cu->get("\162\145\163\x74\137\x61\160\x69\137\141\x75\x74\x68\x65\156\x74\151\x63\141\x74\x69\x6f\156\137\163\x75\160\160\157\x72\164\x45\x78\160\151\x72\171", ''))));
$CJ[6] = array("\104\x72\165\x70\141\x6c\x20\x56\x65\162\163\x69\157\x6e" => "\104\x72\x75\x70\x61\154\40\126\x65\162\163\151\157\x6e", "\144\x72\165\x70\x61\x6c\x5f\166\145\x72\x73\151\x6f\156" => DRUPAL::VERSION);
$CJ[7] = array("\x50\x48\x50\40\126\x65\162\163\151\157\156" => "\x50\x48\120\x20\x56\145\x72\163\151\x6f\156", "\160\150\x70\x5f\166\145\x72\x73\x69\157\x6e" => phpversion());
$CJ[8] = array("\122\x65\x66\x65\164\x63\150\x20\x4c\151\143\x65\x6e\163\145\40\104\145\164\x61\x69\154\163" => "\122\145\146\x65\164\x63\x68\40\x4c\151\x63\145\156\x73\145\40\104\x65\x74\141\151\154\x73", "\162\x65\146\x65\x74\x63\x68\137\x6c\x69\x63\145\156\x73\x65\137\x64\145\x74\141\151\x6c\163" => Markup::create("\x3c\x61\x20\x63\x6c\x61\x73\x73\x3d\42\x62\x75\x74\164\x6f\156\x20\142\x75\x74\x74\x6f\156\55\55\160\162\151\155\x61\162\171\x20\x62\165\164\x74\157\x6e\x2d\55\x73\x6d\141\x6c\x6c\x22\40\150\162\x65\146\75\42" . $base_url . "\57\155\x6f\x52\145\x73\164\x41\120\x49\114\151\x63\x65\156\x73\145\x46\x65\x74\x63\150\42\x3e\106\x65\x74\143\x68\x3c\57\141\x3e"));
if (!(strtotime($cu->get("\162\x65\163\164\x5f\x61\x70\x69\137\x61\165\x74\x68\x65\156\x74\x69\x63\x61\164\151\x6f\156\137\x61\x75\164\x68\137\154\x69\143\145\156\x73\x65\x45\x78\x70\x69\x72\x79", '')) - 30 * 24 * 60 * 60 < time())) {
goto ny;
}
$CJ[9] = array("\122\145\x6e\x65\x77\40\x4d\141\x69\156\164\145\x6e\x61\x6e\x63\x65" => "\x52\145\x6e\145\x77\x20\x4d\x61\x69\x6e\x74\145\156\141\156\x63\145", "\x72\145\156\145\x77\137\x6d\x61\x69\156\164\x65\x6e\141\156\143\145" => Markup::create("\74\x61\40\143\x6c\x61\x73\x73\x3d\42\x62\165\x74\x74\157\x6e\x20\x62\x75\164\x74\x6f\156\x2d\x2d\160\162\151\x6d\x61\x72\x79\40\142\x75\164\164\157\x6e\55\55\x73\x6d\x61\154\154\x22\40\164\141\x72\147\145\x74\x3d\42\137\142\154\141\156\153\x22\40\150\x72\x65\x66\75\42" . MiniorangeApiAuthConstants::BASE_URL . "\57\155\x6f\141\x73\x2f\154\x6f\x67\x69\x6e\x3f\x75\163\145\x72\156\x61\x6d\x65\75" . $Zw . "\46\162\x65\x64\151\x72\145\143\164\x55\162\x6c\x3d" . MiniorangeApiAuthConstants::BASE_URL . "\x2f\155\157\x61\x73\57\x61\144\155\151\156\57\143\165\163\164\157\x6d\145\162\57\154\151\x63\x65\x6e\163\145\x72\145\x6e\145\x77\141\154\x73\x3f\162\145\x6e\x65\x77\141\x6c\x72\x65\161\165\145\x73\164\x3d" . Utilities::GetPlanType() . "\42\76\x52\145\x6e\x65\x77\x20\115\x61\151\156\x74\145\x6e\141\x6e\x63\x65\74\57\x61\76"));
ny:
$form["\x66\151\x65\x6c\x64\163\x65\164"]["\x63\165\x73\164\x6f\x6d\x65\162\x69\x6e\146\157"] = array("\x23\164\x68\x65\155\145" => "\x74\141\x62\154\x65", "\43\150\x65\x61\144\145\162" => $XR, "\x23\162\x6f\x77\163" => $CJ);
$form["\162\145\x73\x74\x5f\141\x70\x69\137\141\x75\164\150\145\x6e\x74\x69\x63\x61\x74\151\157\x6e\x5f\143\x75\163\x74\157\155\x65\x72\x5f\122\x65\x6d\157\x76\145\137\101\143\x63\157\x75\156\164\x5f\x69\156\x66\157"] = array("\x23\155\x61\162\x6b\x75\x70" => "\74\x62\x72\x3e\74\x62\162\x3e\74\x62\x72\x3e\74\x68\64\76\122\145\155\x6f\x76\x65\x20\x41\x63\x63\157\x75\x6e\x74\72\x3c\x2f\x68\x34\76\74\x70\x3e\124\150\x69\x73\40\x73\145\x63\x74\151\157\x6e\x20\167\x69\x6c\x6c\x20\150\x65\x6c\160\40\x79\157\165\x20\164\157\40\162\145\x6d\x6f\166\145\x20\171\157\x75\x72\40\143\x75\162\x72\x65\156\164\xa\x20\x20\40\40\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\40\40\40\x20\x20\40\x20\40\x20\x6c\x6f\147\x67\x65\144\x20\x69\x6e\40\141\143\143\x6f\x75\x6e\164\x20\167\151\x74\150\157\x75\x74\x20\154\x6f\x73\151\x6e\x67\40\171\x6f\x75\x72\40\143\x75\162\x72\x65\x6e\x74\x20\143\157\156\x66\151\x67\165\x72\x61\164\151\x6f\x6e\x73\56\74\x2f\x70\76");
$form["\x72\145\163\x74\x5f\141\160\151\x5f\x61\x75\x74\150\x65\156\x74\151\143\141\x74\151\157\x6e\137\162\x65\x6d\x6f\166\145\137\x61\143\x63\157\165\156\164"] = array("\x23\x6d\141\162\x6b\165\160" => "\74\x2f\144\x69\166\x3e", "\x23\164\x79\160\145" => "\163\165\142\155\x69\x74", "\x23\x76\141\154\165\145" => t("\x52\x65\x6d\157\166\145\x20\101\x63\x63\157\x75\x6e\164"), "\x23\154\x69\x6d\x69\x74\137\x76\x61\x6c\x69\144\x61\x74\x69\x6f\156\x5f\x65\162\x72\x6f\x72\x73" => array(), "\x23\x73\x75\142\155\151\164" => array("\72\72\162\145\x73\164\x5f\x61\160\x69\x5f\141\x75\164\x68\145\156\x74\x69\x63\141\164\151\157\x6e\137\x72\x65\155\x6f\x76\145\137\141\143\x63\x6f\x75\x6e\164"), "\43\x61\x74\x74\162\x69\x62\165\164\x65\163" => array("\163\164\x79\154\145" => "\x6d\141\162\x67\x69\x6e\x2d\154\145\x66\x74\72\60\x70\x78\x3b"));
Utilities::AddSupportButton($form, $form_state);
$form["\162\x65\163\x74\137\141\160\x69\x5f\141\165\164\x68\x65\x6e\x74\151\x63\x61\x74\151\x6f\x6e\x5f\x73\165\x70\160\x6f\x72\164\137\x64\151\166\137\x63\165\x73\x74"] = array("\43\x6d\141\x72\153\165\160" => "\74\x2f\x64\151\x76\x3e\74\x2f\x64\151\166\76");
return $form;
fg:
$form["\x68\145\141\x64\145\162\137\164\x6f\x70\x5f\163\164\171\154\145\x5f\61"] = array("\x23\x6d\141\162\153\x75\x70" => "\74\x64\x69\166\x20\143\x6c\141\x73\x73\x3d\x22\155\157\x5f\162\x65\163\164\x5f\x61\160\151\137\x74\x61\x62\154\x65\137\x6c\x61\x79\x6f\x75\164\x5f\62\x22\76\x3c\x64\151\166\40\143\x6c\141\163\x73\75\x22\x6d\157\137\x72\x65\163\x74\x5f\141\160\151\x5f\x74\141\x62\x6c\x65\137\154\141\x79\157\x75\164\x5f\x33\x20\155\157\137\x72\145\163\164\x5f\x61\x70\x69\137\143\157\156\x74\141\151\156\145\162\42\76");
$form["\x6d\x61\162\x6b\x75\x70\137\61\x34"] = array("\43\x6d\141\162\x6b\165\x70" => "\74\150\x33\x3e\x4c\x6f\147\x69\x6e\x20\x77\151\164\150\x20\x6d\x69\x6e\x69\x4f\x72\141\156\x67\x65\74\57\x68\x33\76");
$S_ = MiniorangeApiAuthConstants::INTRANET;
$form["\x6d\141\x72\153\x75\160\137\x31\x35"] = array("\x23\x6d\141\x72\153\x75\160" => "\74\x64\x69\x76\40\143\154\141\x73\163\75\x22\155\x6f\x5f\162\145\163\x74\x5f\x68\x69\x67\x68\x6c\x69\x67\150\164\137\142\x61\x63\x6b\147\x72\157\165\x6e\144\137\156\x6f\164\145\x5f\61\42\x3e\120\154\x65\x61\x73\145\x20\154\x6f\x67\40\151\x6e\x20\x74\150\x65\x20\155\151\156\x69\117\162\141\x6e\147\145\x20\x61\x63\x63\x6f\165\x6e\164\x20\x77\x69\x74\x68\40\x77\150\x69\143\x68\40\171\x6f\165\12\x20\40\40\x20\x20\40\40\x20\40\40\x20\x20\x20\40\40\40\40\40\40\40\150\x61\x76\x65\40\160\165\162\143\150\141\x73\x65\x64\40\x79\157\165\x72\40\154\151\x63\145\156\163\145\56\40\x4f\156\143\x65\x20\171\x6f\x75\40\x61\x72\x65\x20\x6c\x6f\147\147\145\144\40\151\x6e\x20\164\x6f\x20\x79\157\x75\162\x20\141\x63\143\157\165\x6e\x74\54\x20\171\x6f\165\x20\x6e\x65\145\x64\40\164\157\x20\145\156\164\145\x72\x20\x79\x6f\165\162\40\x6c\151\x63\x65\156\x73\x65\x20\x6b\x65\171\56\x20\x59\157\x75\x20\x63\x61\x6e\x20\146\151\x6e\144\x20\x79\x6f\165\162\x20\154\151\x63\x65\156\163\145\40\153\145\x79\x73\x20\x69\x6e\40\x79\157\165\162\x20\155\x69\x6e\x69\x4f\162\x61\156\x67\145\40\144\x61\x73\150\142\157\x61\162\x64\40\165\156\144\x65\162\xa\x20\x20\40\40\x20\40\40\40\x20\40\40\40\40\x20\40\x20\40\x20\x20\40\74\x62\x3e\40\114\151\x63\x65\156\x73\x65\x20\x2d\x3e\40\x56\151\x65\167\40\x4c\151\143\x65\x6e\163\145\40\113\x65\x79\x3c\57\142\x3e\x20\x73\145\143\x74\151\157\156\x3c\57\x64\151\x76\x3e");
$form["\162\145\163\164\x5f\141\160\x69\x5f\141\x75\x74\x68\x65\x6e\x74\151\x63\141\164\x69\157\156\137\143\165\163\164\157\x6d\x65\162\137\163\145\x74\165\160\137\165\x73\x65\x72\156\141\155\145"] = array("\43\x74\171\x70\145" => "\x74\145\x78\164\146\151\x65\x6c\144", "\x23\x74\x69\164\x6c\145" => t("\105\x6d\141\x69\154"), "\x23\x72\145\x71\165\x69\x72\x65\144" => true, "\43\141\x74\164\162\x69\x62\x75\x74\145\163" => array("\163\164\x79\x6c\145" => "\x77\151\144\x74\150\x3a\x35\x30\x25\x3b"));
$form["\162\145\x73\x74\x5f\x61\x70\x69\137\141\165\164\150\145\156\x74\x69\143\141\x74\x69\157\156\x5f\143\165\163\164\157\155\x65\162\137\163\x65\164\165\160\137\160\141\163\163\x77\157\162\x64"] = array("\43\x74\171\160\x65" => "\160\x61\163\x73\x77\157\162\144", "\43\x74\x69\x74\154\x65" => "\120\141\x73\x73\x77\x6f\x72\x64", "\x23\141\x74\164\x72\x69\142\165\x74\145\x73" => array("\163\x74\x79\x6c\x65" => "\167\151\144\x74\150\72\65\x30\45\x3b"));
$form["\x72\145\x73\164\137\x61\160\151\137\141\x75\x74\x68\x65\156\x74\x69\143\x61\x74\151\157\x6e\x5f\x63\165\x73\164\x6f\x6d\x65\x72\137\x73\x65\x74\165\x70\137\142\165\164\164\x6f\x6e"] = array("\43\x74\x79\160\145" => "\163\x75\142\x6d\151\164", "\x23\x62\x75\164\164\x6f\156\x5f\164\171\160\145" => "\x70\x72\x69\155\141\162\171", "\43\154\151\155\151\164\137\x76\141\x6c\151\x64\141\164\x69\x6f\156\137\145\162\162\157\162\163" => array(), "\43\x76\141\x6c\165\x65" => t("\x4c\157\x67\x69\156"), "\x23\141\164\x74\x72\151\x62\165\164\x65\163" => array("\163\164\x79\154\x65" => "\155\x61\x72\147\x69\156\55\x6c\x65\x66\x74\x3a\60\x70\170"));
if ($S_) {
goto kc;
}
$form["\x72\x65\x73\164\137\141\160\151\137\141\165\x74\150\x65\x6e\164\151\x63\x61\164\151\x6f\x6e\137\x63\165\x73\164\157\x6d\x65\x72\137\146\x6f\162\x67\x6f\x74\137\160\x61\163\x73\167\x6f\x72\x64\137\142\165\164\164\157\x6e"] = array("\x23\x74\x79\x70\145" => "\x73\165\x62\155\x69\164", "\43\142\165\164\164\x6f\x6e\137\x74\171\x70\x65" => "\x64\141\x6e\147\145\162", "\43\141\x74\164\162\x69\x62\x75\164\x65\163" => array("\x73\x74\171\154\x65" => "\155\141\x72\x67\151\x6e\x2d\154\145\146\164\x3a\60\160\x78", "\x6f\x6e\143\x6c\151\x63\x6b" => "\x74\x68\x69\163\56\146\157\x72\x6d\x2e\x74\141\x72\x67\145\164\x3d\42\x5f\x62\x6c\141\156\153\42\x3b"), "\x23\163\165\142\x6d\151\x74" => array("\72\72\155\151\x6e\151\x6f\x72\x61\x6e\147\x65\x5f\x72\x65\163\145\164\x5f\160\141\163\163\167\x6f\x72\144"), "\x23\x6c\x69\155\x69\164\x5f\x76\x61\x6c\151\144\x61\164\151\157\x6e\137\x65\x72\162\157\162\163" => array(), "\43\x76\x61\x6c\165\x65" => t("\x46\157\x72\x67\157\x74\40\120\x61\163\163\167\x6f\162\x64"));
kc:
$form["\x63\x72\x65\x61\164\x65\x5f\141\x63\143\157\x75\x6e\x74\137\x6d\141\x72\x6b\x75\x70\137\61\x35"] = array("\43\155\141\x72\153\x75\x70" => "\74\x64\x69\x76\x20\x63\x6c\141\x73\163\x3d\x22\x6d\157\x5f\162\x65\163\164\137\150\x69\x67\150\x6c\x69\x67\x68\x74\x5f\x62\x61\143\x6b\147\x72\157\165\x6e\x64\x5f\x6e\157\164\145\137\61\x22\76\x49\x66\40\171\157\x75\x20\x64\x6f\40\x6e\157\164\40\150\x61\x76\145\40\141\x6e\40\x61\x63\x63\x6f\165\x6e\164\40\167\151\164\150\x20\x75\163\40\171\x65\164\x2c\x20\160\154\145\141\x73\145\x20\x63\x6c\x69\x63\153\40\x6f\156\x20\164\x68\x65\x20\154\151\156\153\40\x3c\141\x20\150\162\x65\146\x3d\x22\x68\x74\x74\160\x73\x3a\57\57\x77\167\x77\56\155\x69\x6e\x69\157\162\x61\x6e\147\145\56\143\x6f\155\57\142\165\163\x69\x6e\145\163\163\x66\162\145\145\164\162\151\141\154\42\x20\164\141\x72\x67\145\x74\75\42\x5f\x62\x6c\141\x6e\153\x22\76\150\x65\x72\145\x3c\x2f\x61\76\x20\164\x6f\x20\x63\162\145\141\164\x65\40\x61\156\x20\141\143\143\157\x75\156\x74\x20\157\x72\x20\x79\157\165\40\143\x61\x6e\40\x72\x65\x61\143\150\40\x6f\165\x74\40\164\x6f\40\165\163\x20\164\x68\x72\157\165\x67\150\40\x74\150\145\x20\74\142\x3e\103\x6f\156\x74\141\143\x74\x20\125\x73\74\x2f\142\76\40\x62\154\x6f\143\x6b\x20\157\x6e\40\164\x68\x65\40\x72\x69\147\150\x74\x2e\74\57\x64\151\166\x3e");
$form["\x6d\151\x6e\x69\157\x72\141\156\147\145\x5f\162\x65\x73\x74\137\x61\x70\x69\137\143\x6c\x69\145\x6e\x74\x5f\x73\x75\x70\160\x6f\x72\x74\137\x64\151\x76\137\x63\x75\163\x74\x32"] = array("\x23\155\x61\x72\x6b\x75\x70" => "\x3c\57\144\x69\x76\76");
Utilities::AddSupportButton($form, $form_state);
return $form;
}
function miniorange_reset_password(array &$form, FormStateInterface $form_state)
{
$Ek = new TrustedRedirectResponse(MiniorangeApiAuthConstants::BASE_URL . "\57\x6d\157\x61\163\x2f\x69\x64\160\57\162\145\163\145\x74\x70\141\x73\163\167\157\x72\x64");
$form_state->setResponse($Ek);
}
public function submitForm(array &$form, FormStateInterface $form_state)
{
$S_ = MiniorangeApiAuthConstants::INTRANET;
$Mb = $form["\x72\x65\x73\x74\137\x61\x70\x69\x5f\141\x75\164\150\145\x6e\x74\151\x63\141\x74\151\x6f\x6e\x5f\143\x75\163\x74\x6f\155\145\162\137\x73\x65\x74\x75\x70\x5f\165\163\145\x72\x6e\141\x6d\x65"]["\x23\x76\x61\154\x75\145"];
$NN = '';
$vb = null;
if ($S_) {
goto CV;
}
$vb = $form["\162\x65\x73\x74\x5f\141\x70\151\137\x61\165\x74\x68\x65\156\x74\151\143\141\164\x69\x6f\x6e\x5f\x63\x75\x73\164\x6f\x6d\x65\x72\137\x73\145\164\165\x70\x5f\x70\x61\163\163\x77\157\162\x64"]["\x23\x76\141\x6c\x75\145"];
CV:
if (!$S_ && (empty($Mb) || empty($vb))) {
goto sM;
}
if ($S_ && empty($Mb)) {
goto ey;
}
goto qx;
sM:
\Drupal::messenger()->addMessage(t("\x54\150\x65\40\x3c\x62\x3e\74\x75\x3e\x45\x6d\x61\x69\x6c\40\x3c\x2f\165\76\74\x2f\142\76\40\141\156\x64\x20\x3c\142\x3e\x3c\165\x3e\120\141\x73\163\167\x6f\x72\x64\x3e\74\x2f\x62\76\x20\x66\x69\x65\x6c\144\x73\40\141\x72\145\40\155\x61\x6e\144\x61\x74\157\x72\x79\x2e"), "\145\x72\x72\x6f\x72");
return;
goto qx;
ey:
\Drupal::messenger()->addMessage(t("\124\x68\145\40\x3c\142\76\x3c\165\76\x45\155\141\x69\x6c\x20\x3c\57\165\76\74\x2f\142\x3e\40\x66\x69\x65\x6c\144\163\x20\x61\162\145\x20\x6d\x61\x6e\x64\141\x74\x6f\x72\x79\56"), "\145\162\x72\x6f\162");
return;
qx:
if (\Drupal::service("\x65\155\x61\x69\154\56\x76\x61\154\x69\144\x61\x74\x6f\x72")->isValid($Mb)) {
goto yp;
}
\Drupal::messenger()->addMessage(t("\124\x68\145\x20\145\x6d\x61\x69\x6c\x20\141\144\144\162\x65\163\x73\40\74\151\76" . $Mb . "\x3c\57\151\x3e\x20\x69\x73\x20\x6e\x6f\x74\40\166\141\154\151\144\56"), "\x65\162\162\x6f\162");
return;
yp:
$x_ = new MiniorangeRestAPICustomer($Mb, $vb);
$BU = json_decode($x_->checkCustomer());
if ($BU->status == "\x43\x55\123\124\117\115\105\122\137\116\x4f\124\x5f\x46\x4f\x55\x4e\104") {
goto qr;
}
if ($BU->status == "\103\x55\x52\114\x5f\x45\122\x52\117\x52") {
goto dW;
}
if (!$S_) {
goto In;
}
$Wm = "\120\x4c\x55\x47\x49\x4e\137\x43\x4f\x4e\106\x49\107\125\122\x41\124\111\117\116";
\Drupal::configFactory()->getEditable("\x72\145\x73\164\137\x61\160\151\137\141\x75\x74\150\145\x6e\x74\x69\x63\x61\x74\151\x6f\x6e\x2e\163\145\164\164\x69\156\x67\x73")->set("\x72\145\x73\164\137\x61\160\x69\137\x61\x75\164\150\x65\x6e\x74\151\143\141\x74\151\157\156\x5f\x63\x75\x73\164\157\155\x65\162\137\141\144\x6d\151\x6e\137\145\x6d\x61\x69\x6c", $Mb)->save();
\Drupal::configFactory()->getEditable("\x72\145\163\164\137\141\x70\151\x5f\141\x75\164\150\x65\x6e\x74\151\143\141\164\x69\157\x6e\x2e\x73\145\164\x74\151\x6e\x67\163")->set("\x72\145\163\164\137\141\160\x69\x5f\x61\x75\164\x68\x65\156\164\x69\x63\141\164\151\x6f\156\137\143\165\x73\164\x6f\155\145\x72\x5f\151\144", MiniorangeApiAuthConstants::CUSTOMER_ID)->save();
\Drupal::configFactory()->getEditable("\162\145\163\164\x5f\141\160\x69\x5f\141\x75\164\150\x65\156\x74\x69\x63\x61\164\x69\x6f\x6e\56\163\x65\x74\x74\x69\x6e\x67\x73")->set("\x72\145\x73\x74\137\141\x70\x69\137\141\x75\164\x68\145\156\164\151\143\141\x74\151\157\x6e\137\163\x74\x61\164\165\163", $Wm)->save();
\Drupal::messenger()->addMessage(t("\x53\165\143\143\x65\x73\163\x66\165\154\154\x79\x20\162\145\164\x72\x69\x65\x76\x65\144\40\x79\x6f\x75\x72\x20\x61\143\143\x6f\165\x6e\164\x2e"));
goto dz;
In:
$Vo = $x_->getCustomerKeys();
if (isset($Vo) && !empty($Vo)) {
goto Lc;
}
\Drupal::messenger()->addMessage(t("\111\156\166\x61\x6c\x69\144\x20\x63\x72\x65\144\x65\156\164\x69\x61\x6c\163"), "\x65\x72\162\x6f\162");
return;
goto DI;
Lc:
$Ve = json_decode($x_->getCustomerKeys());
if (!(json_last_error() == JSON_ERROR_NONE)) {
goto ue;
}
\Drupal::configFactory()->getEditable("\162\145\x73\x74\137\x61\160\151\x5f\x61\x75\164\150\145\156\164\151\143\x61\164\x69\157\x6e\56\163\145\x74\164\x69\156\x67\x73")->set("\162\145\x73\x74\x5f\141\160\151\137\x61\x75\x74\x68\x65\156\164\151\x63\x61\x74\151\x6f\156\137\x63\165\163\x74\157\x6d\x65\x72\137\x69\144", $Ve->id)->save();
\Drupal::configFactory()->getEditable("\162\x65\163\164\x5f\x61\x70\x69\137\141\165\x74\150\x65\x6e\x74\x69\143\x61\164\151\x6f\156\56\163\145\164\164\x69\156\x67\x73")->set("\x72\x65\x73\x74\x5f\x61\160\x69\137\141\165\x74\150\x65\x6e\164\151\143\x61\164\x69\x6f\x6e\x5f\x63\165\163\x74\157\155\145\162\x5f\x61\144\x6d\x69\x6e\137\x74\157\153\145\x6e", $Ve->token)->save();
\Drupal::configFactory()->getEditable("\162\x65\163\x74\x5f\141\x70\x69\137\x61\165\x74\x68\x65\x6e\x74\151\x63\x61\164\x69\x6f\156\x2e\163\x65\164\164\151\156\147\x73")->set("\162\145\x73\x74\137\x61\x70\x69\x5f\141\x75\x74\150\145\156\164\x69\143\141\164\151\157\156\137\143\165\x73\164\x6f\155\x65\162\x5f\x61\x64\x6d\x69\156\137\145\155\141\x69\x6c", $Mb)->save();
\Drupal::configFactory()->getEditable("\162\x65\163\x74\137\x61\x70\x69\137\x61\165\x74\x68\x65\156\x74\151\x63\x61\x74\x69\157\156\56\x73\x65\164\x74\151\x6e\x67\x73")->set("\162\145\x73\x74\137\x61\160\x69\x5f\141\165\x74\150\x65\x6e\x74\x69\143\x61\x74\151\157\x6e\137\143\x75\163\164\x6f\x6d\x65\162\x5f\141\144\x6d\x69\x6e\137\x70\150\x6f\156\x65", $NN)->save();
\Drupal::configFactory()->getEditable("\x72\x65\x73\x74\137\141\160\151\x5f\x61\165\164\x68\x65\156\x74\151\143\141\164\151\157\x6e\56\x73\145\x74\x74\151\x6e\147\x73")->set("\x72\145\x73\x74\x5f\141\160\x69\x5f\x61\x75\x74\150\145\x6e\x74\x69\x63\x61\164\151\157\156\137\143\165\x73\x74\157\x6d\x65\162\x5f\141\160\x69\x5f\153\145\x79", $Ve->apiKey)->save();
\Drupal::configFactory()->getEditable("\x72\145\x73\x74\137\x61\x70\x69\x5f\x61\x75\164\150\145\156\x74\x69\143\x61\164\151\x6f\156\x2e\x73\x65\164\164\x69\156\x67\163")->set("\x72\145\x73\164\x5f\141\x70\x69\x5f\x61\x75\x74\x68\x65\156\x74\x69\x63\141\164\x69\x6f\156\137\143\165\x73\164\157\x6d\145\162\x5f\160\141\x73\x73\167\x6f\x72\144", $vb)->save();
$Wm = "\120\x4c\x55\x47\111\x4e\137\x43\x4f\x4e\x46\111\107\125\x52\101\x54\111\117\116";
\Drupal::configFactory()->getEditable("\162\x65\x73\x74\x5f\141\160\x69\x5f\141\165\164\150\145\x6e\x74\x69\143\x61\164\151\x6f\x6e\56\163\x65\x74\x74\151\156\147\163")->set("\162\145\x73\164\137\x61\160\x69\137\x61\165\x74\x68\145\156\x74\151\143\141\164\x69\157\156\137\163\164\141\x74\165\x73", $Wm)->save();
\Drupal::messenger()->addMessage(t("\123\x75\x63\x63\145\x73\x73\146\165\x6c\154\x79\40\x72\x65\x74\x72\x69\x65\166\145\x64\40\171\157\x75\162\40\x61\143\x63\157\165\156\x74\x2e"));
ue:
DI:
dz:
goto gE;
qr:
\Drupal::messenger()->addMessage(t("\x49\x6e\166\x61\154\151\x64\40\x63\x72\145\144\145\x6e\164\x69\141\154\163"), "\x65\162\162\157\162");
return;
goto gE;
dW:
\Drupal::messenger()->addMessage(t("\x63\125\122\114\40\x69\x73\40\x6e\x6f\164\x20\x65\156\x61\x62\154\145\x64\56\x20\x50\154\145\141\x73\145\40\x65\156\x61\142\154\x65\40\143\x55\122\x4c"), "\x65\162\x72\x6f\x72");
gE:
}
public function rest_api_authentication_back(&$form, $form_state)
{
$Wm = "\103\125\x53\124\117\x4d\105\x52\x5f\x53\x45\x54\x55\x50";
\Drupal::configFactory()->getEditable("\x72\145\x73\164\137\141\160\151\137\x61\x75\x74\x68\x65\x6e\164\x69\x63\141\x74\151\157\x6e\x2e\x73\145\x74\164\151\156\147\x73")->set("\x72\x65\163\x74\137\141\160\151\137\141\x75\x74\150\x65\x6e\x74\x69\x63\141\x74\151\157\x6e\x5f\x73\164\x61\x74\165\x73", $Wm)->save();
\Drupal::configFactory()->getEditable("\162\x65\x73\164\x5f\x61\x70\151\x5f\x61\x75\164\x68\145\x6e\x74\x69\143\x61\164\151\157\156\56\x73\145\164\164\151\x6e\x67\163")->clear("\x72\145\163\x74\x5f\x61\160\x69\x5f\141\165\164\150\145\x6e\164\151\x63\x61\x74\151\x6f\x6e\137\143\165\x73\x74\157\155\145\162\x5f\x61\x64\x6d\151\156\x5f\x65\155\x61\x69\x6c")->save();
\Drupal::configFactory()->getEditable("\162\x65\x73\164\137\x61\x70\x69\137\141\165\164\150\x65\156\164\x69\x63\141\164\151\157\156\56\163\x65\164\164\151\156\x67\163")->clear("\x72\x65\163\x74\x5f\x61\x70\151\137\141\165\164\x68\145\156\x74\151\143\x61\x74\x69\157\156\x5f\143\165\x73\x74\157\x6d\x65\x72\137\141\144\x6d\x69\x6e\137\x70\x68\x6f\156\145")->save();
\Drupal::configFactory()->getEditable("\162\x65\163\x74\x5f\141\x70\151\137\141\165\x74\x68\145\156\x74\151\x63\x61\x74\151\157\156\x2e\x73\x65\x74\164\151\156\147\163")->clear("\x72\x65\x73\x74\x5f\141\160\151\x5f\x61\165\164\x68\145\156\x74\x69\143\141\164\x69\x6f\156\137\x63\x75\x73\x74\157\x6d\145\162\137\160\141\163\x73\x77\x6f\x72\144")->save();
\Drupal::messenger()->addMessage(t("\114\x6f\147\x69\156\x20\167\151\x74\150\x20\171\x6f\x75\162\x20\155\x69\156\x69\117\162\x61\x6e\147\145\40\x41\x63\x63\157\x75\156\x74"), "\x73\x74\x61\164\165\x73");
}
function rest_api_authentication_validate_license_submit($form, &$form_state)
{
$k_ = str_replace("\x20", '', $form["\162\145\x73\x74\x5f\141\x70\x69\x5f\x61\x75\164\150\145\x6e\x74\x69\x63\141\x74\x69\157\156\x5f\154\151\143\x65\x6e\x73\145\137\153\145\x79"]["\x23\166\141\x6c\x75\145"]);
if (!empty($k_)) {
goto hH;
}
\Drupal::messenger()->addMessage(t("\x54\150\145\40\x3c\x62\76\x3c\165\x3e\x4c\x69\143\145\x6e\163\x65\40\113\145\x79\74\57\x75\x3e\74\57\x62\x3e\x20\146\151\145\x6c\x64\40\x69\163\x20\155\141\x6e\144\141\x74\157\162\171\x2e"), "\145\x72\162\x6f\162");
return;
hH:
$Mb = \Drupal::config("\x72\x65\163\x74\x5f\x61\x70\151\137\141\x75\164\x68\145\x6e\164\151\x63\141\164\151\157\x6e\56\x73\145\164\164\x69\x6e\x67\x73")->get("\162\x65\x73\164\137\x61\x70\x69\137\141\165\x74\150\x65\x6e\164\x69\x63\141\164\151\157\x6e\137\143\x75\x73\x74\x6f\155\145\162\x5f\141\x64\155\151\x6e\x5f\x65\155\x61\151\154");
$NN = \Drupal::config("\162\x65\163\164\x5f\141\x70\x69\137\x61\165\164\150\x65\x6e\x74\151\x63\141\164\151\157\156\56\163\145\x74\x74\x69\156\147\163")->get("\x72\x65\x73\x74\137\x61\160\x69\x5f\141\x75\164\150\145\156\164\151\x63\x61\x74\151\157\156\x5f\143\165\163\164\157\x6d\x65\162\x5f\141\x64\155\x69\x6e\x5f\x70\150\157\x6e\145");
$vb = \Drupal::config("\x72\145\x73\164\137\141\160\151\137\x61\165\x74\150\x65\x6e\164\x69\143\x61\164\151\x6f\156\56\163\145\164\x74\151\156\x67\163")->get("\x72\x65\163\x74\137\141\x70\x69\137\141\165\164\x68\145\156\164\151\143\x61\164\x69\157\x6e\x73\x5f\x63\165\163\x74\x6f\155\145\x72\x5f\160\x61\x73\163\167\x6f\162\144");
$x_ = new MiniorangeRestAPICustomer($Mb, $vb);
$gJ = json_decode($x_->ccl(), true);
$PA = $gJ["\x6c\151\x63\x65\156\x73\x65\120\154\141\156"];
if (is_array($gJ)) {
goto bp;
}
if (!(!isset($gJ["\x73\164\141\x74\165\163"]) || empty($gJ["\x73\x74\141\164\x75\163"]) || !isset($gJ["\x6c\x69\x63\145\156\x73\145\x50\154\x61\156"]) || empty($gJ["\x6c\x69\x63\145\156\x73\145\x50\x6c\141\156"]))) {
goto IX;
}
\Drupal::messenger()->addMessage(t("\x45\162\x72\157\x72\72\123\x6f\x6d\x65\164\x68\x69\x6e\x67\x20\x77\145\x6e\x74\40\167\x72\157\x6e\147\x20\167\x68\151\154\x65\x20\160\162\157\143\145\163\x73\151\x6e\147\x20\x79\157\165\x72\x20\x72\145\x71\165\x65\163\x74\56"), "\x65\x72\x72\157\x72");
return;
IX:
bp:
if (!($gJ["\x73\164\141\x74\x75\x73"] != "\123\125\x43\x43\105\x53\x53" || $gJ["\154\x69\x63\x65\x6e\163\145\x50\x6c\141\156"] != Utilities::GetPlanName())) {
goto g2;
}
\Drupal::messenger()->addMessage(t("\x49\156\166\141\x6c\x69\x64\x20\154\151\143\x65\156\163\145\x21\x20\x50\x6c\x65\141\x73\145\40\165\x73\x65\40\x61\40\x76\141\x6c\151\x64\40\x6c\151\x63\x65\156\163\x65\x20\x74\x6f\x20\x61\143\x74\151\x76\141\x74\145\x20\164\x68\x65\40\x6d\x6f\144\x75\154\145"), "\145\162\162\x6f\162");
return;
g2:
$bB = $x_->verifyLicense($k_);
if (!(!is_array($bB) || empty($bB["\163\x74\141\x74\165\163"]))) {
goto mb;
}
\Drupal::messenger()->addMessage(t("\x49\156\x76\x61\154\x69\144\40\162\x65\163\160\x6f\156\163\145\x20\162\x65\x63\145\x69\x76\145\144\40\x77\150\x69\x6c\145\x20\141\143\164\151\x76\x61\164\151\156\147\40\x74\x68\x65\x20\x6c\x69\x63\x65\156\x73\x65\40\x6b\x65\x79\56"), "\x65\x72\162\x6f\162");
return;
mb:
if (strcasecmp($bB["\163\x74\141\x74\165\163"], "\x53\125\103\x43\x45\x53\123") == 0) {
goto BD;
}
if (strcasecmp($bB->status, "\106\101\111\114\105\104") == 0) {
goto X_;
}
\Drupal::messenger()->addMessage(t("\101\x6e\40\145\x72\x72\157\x72\x20\x6f\143\143\165\x72\162\145\144\x20\x77\x68\x69\x6c\x65\40\160\162\157\x63\145\x73\x73\151\x6e\147\40\171\x6f\x75\162\x20\162\x65\161\165\x65\x73\x74\x2e\40\x50\154\x65\x61\163\x65\40\x54\x72\x79\40\141\x67\141\151\x6e\x2e"), "\x65\x72\162\x6f\x72");
return;
goto zD;
X_:
if (strcasecmp($bB->message, "\x43\157\144\145\40\x68\141\x73\x20\105\x78\x70\x69\162\145\144") == 0) {
goto Gy;
}
\Drupal::messenger()->addMessage(t("\x59\157\165\40\150\x61\x76\x65\40\145\156\164\x65\162\145\144\40\x61\x6e\40\x69\156\x76\141\154\x69\x64\40\154\151\x63\x65\x6e\163\145\40\153\145\x79\x2e\40\x50\x6c\145\141\x73\145\40\x65\156\164\145\162\40\141\40\x76\x61\x6c\x69\x64\40\154\x69\x63\145\x6e\163\x65\x20\x6b\x65\171\56"), "\145\x72\x72\157\x72");
return;
goto Rs;
Gy:
\Drupal::messenger()->addMessage(t("\x4c\x69\x63\145\x6e\163\145\40\153\x65\x79\x20\171\157\165\40\x68\x61\x76\145\40\145\x6e\x74\145\162\145\x64\x20\x68\141\163\x20\141\154\162\145\141\144\x79\x20\142\x65\145\156\x20\x75\x73\145\x64\56\x20\x50\x6c\x65\x61\x73\145\40\145\x6e\x74\145\162\40\x61\40\x6b\145\171\40\x77\x68\x69\x63\x68\40\150\x61\x73\x20\156\157\x74\40\x62\x65\145\156\40\165\x73\145\x64\x20\x62\145\x66\157\x72\x65\x20\x6f\156\x20\x61\156\171\x20\157\x74\x68\x65\162\x20\x69\156\163\164\x61\x6e\143\x65\x20\157\x72\40\x69\x66\x20\x79\x6f\165\40\150\141\x76\145\40\x65\170\141\x75\163\x74\x65\x64\x20\141\x6c\154\40\x79\x6f\x75\x72\40\153\x65\x79\163\40\x74\150\x65\x6e\x20\x62\x75\171\40\155\157\162\x65\x20\x6c\151\x63\145\156\163\145\x20\146\x72\x6f\155\x20\114\151\143\145\x6e\x73\151\156\x67"), "\145\162\162\x6f\x72");
return;
Rs:
zD:
goto o6;
BD:
\Drupal::configFactory()->getEditable("\x72\145\163\164\137\x61\x70\151\137\141\x75\x74\x68\x65\x6e\x74\151\x63\x61\x74\151\157\x6e\x2e\x73\x65\x74\164\151\156\147\x73")->set("\x72\x65\163\x74\x5f\141\x70\x69\x5f\141\165\x74\x68\145\156\x74\x69\x63\x61\164\151\x6f\x6e\137\141\x75\164\x68\137\x6c\151\x63\145\156\163\x65\105\x78\160\x69\162\x79", $gJ["\x6c\x69\143\145\156\x73\x65\x45\170\x70\151\x72\171"])->save();
\Drupal::configFactory()->getEditable("\162\x65\163\164\x5f\x61\x70\151\x5f\x61\165\x74\x68\x65\x6e\x74\151\143\x61\164\151\157\x6e\x2e\x73\145\164\164\151\156\x67\x73")->set("\162\x65\163\164\x5f\x61\160\x69\137\141\x75\164\x68\145\156\x74\x69\143\x61\164\151\157\156\x5f\x73\165\160\x70\x6f\162\164\x45\x78\160\x69\162\x79", $gJ["\163\165\160\x70\157\162\164\x45\x78\160\x69\x72\171"])->save();
\Drupal::configFactory()->getEditable("\x72\x65\x73\x74\x5f\x61\x70\x69\x5f\141\165\x74\150\x65\156\x74\x69\x63\141\x74\151\x6f\156\56\x73\x65\164\164\x69\x6e\147\163")->set("\x72\x65\163\x74\137\x61\x70\x69\x5f\x61\165\x74\150\x65\156\164\151\x63\141\x74\x69\157\x6e\x5f\x6c\x69\x63\145\156\x73\145\x5f\153\145\x79", $k_)->save();
\Drupal::configFactory()->getEditable("\162\x65\163\x74\x5f\141\x70\151\x5f\x61\x75\164\150\145\156\x74\151\x63\x61\164\x69\157\156\x2e\x73\x65\x74\164\151\x6e\x67\x73")->set("\162\145\x73\164\x5f\141\160\x69\137\141\x75\x74\x68\145\156\164\151\143\141\164\151\157\156\x5f\163\164\141\x74\x75\x73", "\x50\x4c\x55\x47\x49\x4e\x5f\103\117\116\x46\x49\x47\125\122\x41\124\111\x4f\x4e")->save();
\Drupal::configFactory()->getEditable("\x72\145\x73\164\x5f\141\x70\151\137\141\x75\164\150\145\x6e\x74\x69\x63\141\164\151\157\x6e\x2e\x73\145\164\x74\151\x6e\x67\x73")->set("\x72\x65\163\164\137\141\x70\151\x5f\x61\x75\x74\x68\145\x6e\x74\x69\143\x61\164\151\x6f\x6e\137\154\151\143\x65\156\163\145\137\x70\x6c\141\156", $PA)->save();
\Drupal::configFactory()->getEditable("\162\x65\163\x74\137\141\160\x69\137\141\165\x74\150\x65\156\164\x69\x63\141\x74\151\x6f\156\x2e\163\x65\x74\x74\151\156\x67\163")->set("\x72\145\163\x74\x5f\x61\160\151\x5f\x61\165\164\150\145\156\x74\151\143\x61\x74\x69\157\x6e\x5f\155\165\154\164\x69\137\x73\x69\x74\x65\x5f\160\154\x75\147\151\x6e", isset($gJ["\x69\x73\115\x75\154\x74\151\x53\x69\x74\x65\x50\x6c\165\147\x69\x6e\122\x65\x71\165\145\x73\x74\x65\x64"]) ? $gJ["\x69\163\x4d\165\154\164\x69\123\151\x74\x65\120\x6c\165\x67\x69\156\122\x65\161\x75\x65\x73\164\x65\x64"] : false)->save();
\Drupal::messenger()->addMessage(t("\131\157\165\x72\x20\x6c\151\x63\145\156\x73\x65\x20\151\x73\x20\166\145\x72\151\x66\151\x65\x64\56\40\131\x6f\165\40\143\x61\156\x20\156\157\167\x20\163\x65\164\165\x70\40\164\x68\145\x20\155\x6f\x64\x75\154\x65\56"), "\163\x74\141\x74\165\163");
$fL = \Drupal::config("\x72\x65\163\164\137\x61\x70\x69\137\x61\x75\x74\x68\145\156\164\151\143\x61\164\x69\x6f\156\x2e\163\x65\x74\x74\x69\x6e\x67\163")->get("\x72\145\x73\164\137\141\x70\x69\x5f\141\165\x74\150\145\156\164\x69\x63\x61\164\151\x6f\x6e\x5f\143\x75\x73\x74\x6f\x6d\145\x72\x5f\x61\x64\x6d\x69\156\x5f\164\x6f\153\x65\156");
$fE = Utilities::check_fraud();
Drupal::configFactory()->getEditable("\x72\x65\163\x74\x5f\141\x70\151\137\141\x75\164\150\145\156\164\x69\143\141\x74\x69\x6f\156\56\x73\145\164\x74\x69\156\x67\163")->set("\x72\x65\163\x74\137\x61\160\x69\x5f\x61\165\164\x68\145\x6e\164\151\143\141\164\151\157\156\x5f\x63\x75\163\x74\157\x6d\145\162\x5f\141\x64\x6d\151\156\x5f\146\162\141\x75\x64\137\x63\x68\x65\143\x6b", Utilities::encrypt_data($fE, $fL))->save();
o6:
}
function rest_api_authentication_remove_account(&$form, $form_state)
{
global $base_url;
if (isset($_POST["\166\x61\154\x75\145\x5f\x63\150\145\143\x6b"]) && $_POST["\x76\x61\154\165\x65\137\x63\150\145\143\x6b"] == "\x54\x72\x75\145") {
goto t8;
}
$BG = array();
$BG = $_POST;
$VD = $_POST["\x66\x6f\162\155\137\151\144"];
$Sj = $_POST["\146\157\162\x6d\x5f\164\157\x6b\145\156"];
$pd = $_POST["\157\160"];
$Kp = $_POST["\x66\157\162\155\137\142\x75\151\154\144\x5f\151\x64"];
global $base_url;
echo "\12\40\40\40\40\40\40\40\x20\x20\x20\x20\40\x3c\x68\164\155\154\76\12\40\40\40\40\x20\40\40\x20\40\40\x20\x20\x3c\x68\145\141\x64\76\12\x20\40\x20\x20\40\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\x3c\164\151\x74\x6c\x65\76\103\x6f\156\146\x69\162\155\x61\x74\x69\x6f\156\74\x2f\x74\x69\x74\x6c\145\x3e\xa\40\40\40\40\x20\x20\40\40\x20\x20\40\40\40\x20\x20\x20\x3c\154\x69\x6e\x6b\x20\x68\x72\x65\146\x3d\42\x68\x74\x74\160\163\72\57\57\146\157\x6e\x74\x73\x2e\x67\157\x6f\x67\x6c\145\141\x70\x69\163\x2e\143\x6f\x6d\x2f\x63\x73\163\77\x66\x61\155\151\x6c\x79\75\x50\124\x2b\x53\145\x72\x69\146\x22\40\162\x65\154\x3d\42\163\164\x79\154\145\x73\x68\x65\145\x74\42\x3e\xa\40\40\x20\x20\x20\40\40\x20\x20\40\40\x20\x3c\57\x68\x65\141\x64\x3e\xa\xa\40\x20\x20\40\40\40\x20\40\x20\40\x20\x20\x3c\x62\x6f\x64\171\x20\x73\164\171\154\145\x3d\x22\146\x6f\x6e\164\55\x66\x61\x6d\x69\154\x79\x3a\40\x27\120\124\40\x53\x65\x72\x69\x66\x27\54\x20\x73\145\x72\151\x66\x3b\x22\76\12\x20\x20\x20\40\x20\x20\40\x20\40\x20\x20\40\74\144\x69\x76\40\x73\x74\171\154\145\x3d\x22\155\x61\162\x67\151\156\x3a\x20\61\65\x25\x20\x61\x75\x74\x6f\73\40\150\x65\151\x67\150\x74\x3a\63\x35\x25\x3b\40\167\x69\x64\164\x68\72\40\64\60\45\x3b\x20\x62\x61\143\153\147\162\157\x75\x6e\144\55\x63\157\154\x6f\x72\72\x20\43\145\141\x65\x62\145\x64\x3b\40\x74\x65\170\x74\x2d\x61\154\x69\x67\156\x3a\x20\143\145\x6e\164\145\x72\73\x20\x62\x6f\170\55\x73\x68\x61\144\x6f\167\x3a\x20\61\60\x70\x78\40\x35\160\x78\x20\65\160\x78\x20\144\141\x72\153\147\162\x61\x79\x3b\40\x62\x6f\x72\144\x65\162\x2d\x72\x61\x64\151\x75\163\72\40\62\x25\73\42\76\xa\x20\40\x20\40\40\40\40\x20\40\x20\40\x20\40\x20\40\x20\74\144\151\x76\40\163\164\171\154\145\75\x22\x63\x6f\x6c\x6f\x72\x3a\40\x23\x61\x39\x34\64\64\x32\73\x20\x62\141\x63\x6b\x67\x72\x6f\x75\156\x64\55\143\157\154\157\162\72\x23\x66\x32\144\145\144\x65\73\40\160\x61\144\x64\x69\156\147\x3a\40\x31\x35\160\170\x3b\40\x6d\x61\162\x67\151\156\x2d\142\157\164\x74\x6f\155\72\40\x32\60\x70\x78\x3b\40\x74\145\x78\x74\x2d\x61\154\x69\x67\x6e\x3a\x63\x65\x6e\164\x65\x72\73\40\142\157\x72\144\x65\x72\x3a\x31\x70\x78\40\x73\x6f\x6c\x69\144\x20\43\x45\66\102\63\102\62\x3b\x20\146\157\x6e\164\55\163\151\172\x65\x3a\x31\66\x70\164\73\40\142\x6f\162\x64\145\x72\55\162\141\x64\151\x75\x73\x3a\40\x32\x25\x3b\x22\76\xa\x20\40\40\x20\x20\40\x20\x20\x20\x20\x20\x20\x20\40\x20\x20\40\x20\40\40\x3c\x73\x74\162\157\x6e\147\x3e\101\162\145\x20\x79\x6f\165\x20\x73\165\x72\x65\40\x79\x6f\x75\x20\167\x61\156\164\x20\164\157\x20\162\145\x6d\x6f\x76\145\40\x61\x63\x63\x6f\165\x6e\x74\x2e\56\41\x21\x3c\x2f\163\164\162\x6f\x6e\147\x3e\12\x20\40\40\40\x20\40\40\40\x20\40\x20\x20\40\x20\40\40\x3c\57\144\x69\x76\76\xa\40\x20\x20\x20\x20\x20\x20\x20\40\40\x20\40\40\40\x20\x20\x3c\x70\40\163\x74\171\x6c\145\x3d\x22\146\157\156\164\x2d\163\151\x7a\x65\x3a\x31\64\160\x78\x3b\40\155\x61\x72\147\151\x6e\x2d\x6c\x65\146\164\x3a\40\x38\45\x3b\40\155\141\x72\x67\151\156\55\162\151\147\150\x74\x3a\x20\x38\x25\x22\76\74\x73\x74\x72\x6f\156\147\x3e\127\141\162\156\151\x6e\147\40\74\x2f\x73\x74\162\x6f\x6e\x67\76\72\x20\111\146\40\x79\157\165\x20\x72\x65\155\157\166\x65\x20\x79\157\165\162\40\141\x63\x63\157\165\x6e\x74\x2c\40\x79\157\165\40\167\x69\154\x6c\40\150\141\x76\x65\40\164\157\x20\x65\x6e\x74\x65\x72\x20\154\151\x63\x65\x6e\x63\x65\x20\x6b\145\x79\40\141\147\141\x69\156\40\x61\146\x74\x65\x72\x20\x6c\x6f\147\151\156\57\x73\x69\147\156\40\x69\x6e\40\167\151\x74\150\x20\164\x68\x65\40\156\x65\167\40\x61\x63\143\157\x75\156\x74\56\74\x2f\160\x3e\12\40\x20\x20\x20\40\x20\x20\40\x20\x20\40\40\x20\x20\x20\40\74\x62\x72\x2f\x3e\xa\40\x20\x20\40\40\40\x20\40\40\x20\x20\x20\x20\40\x20\x20\x3c\146\157\x72\155\x20\x6e\141\155\x65\x3d\x22\146\x22\x20\x6d\x65\164\150\x6f\144\x3d\42\x70\x6f\163\164\x22\40\141\143\164\x69\x6f\156\75\42\42\x20\x69\x64\x3d\x22\155\157\137\x72\145\155\157\166\x65\x5f\x61\x63\143\x6f\x75\x6e\x74\42\76\12\40\40\x20\x20\40\40\40\40\40\40\40\40\x20\x20\x20\x20\40\x20\x20\40\74\x64\151\x76\x3e\xa\40\x20\x20\x20\40\40\x20\40\40\x20\40\x20\x20\40\x20\40\x20\40\40\40\40\40\40\40\74\151\156\x70\165\x74\x20\x74\171\160\x65\75\42\x68\x69\x64\144\145\x6e\x22\x20\x6e\x61\155\145\x3d\42\157\160\x22\40\x76\x61\x6c\x75\x65\75";
echo $pd;
echo "\x3e\xa\x20\40\40\40\x20\40\40\40\40\x20\x20\40\40\40\x20\40\40\40\40\40\40\40\x20\40\74\x69\x6e\160\x75\x74\x20\164\x79\x70\145\75\42\150\151\144\144\145\156\42\40\156\x61\155\x65\75\42\x66\157\x72\155\x5f\142\165\x69\154\144\x5f\151\144\x22\40\166\141\154\x75\145\75\x20";
echo $Kp;
echo "\76\12\x20\40\x20\x20\x20\40\x20\x20\x20\40\40\40\40\40\40\40\x20\40\x20\40\40\40\x20\x20\74\151\x6e\x70\x75\x74\x20\164\171\160\145\x3d\42\x68\x69\x64\x64\x65\156\42\40\156\x61\155\x65\75\x22\x66\x6f\x72\x6d\137\164\157\153\145\x6e\x22\x20\166\x61\x6c\165\145\x3d";
echo $Sj;
echo "\76\12\x20\x20\x20\40\40\40\40\40\x20\40\x20\40\x20\40\x20\x20\40\40\40\40\40\40\40\x20\74\151\x6e\x70\165\x74\40\164\x79\x70\145\x3d\x22\x68\x69\x64\144\145\x6e\x22\40\156\141\x6d\x65\75\x22\x66\157\162\155\x5f\151\144\42\40\166\141\x6c\x75\145\75\x20";
echo $VD;
echo "\76\12\x20\x20\x20\40\40\x20\40\40\40\x20\40\40\x20\x20\x20\40\40\40\40\x20\x20\x20\40\40\x3c\151\x6e\x70\x75\164\40\x74\x79\x70\x65\x3d\x22\x68\x69\x64\144\145\x6e\x22\x20\x6e\x61\x6d\x65\75\x22\x76\141\154\x75\145\x5f\143\x68\145\x63\x6b\42\40\x76\x61\x6c\165\x65\75\x20\47\124\162\165\145\47\76\xa\x20\40\40\40\x20\x20\x20\40\40\40\40\x20\x20\x20\40\40\x20\x20\40\x20\74\x2f\144\x69\166\76\xa\40\40\x20\x20\x20\40\x20\x20\x20\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\x3c\x64\151\x76\40\40\163\x74\x79\154\145\x3d\x22\155\141\x72\x67\x69\156\x3a\x20\x61\x75\164\157\x3b\40\164\145\x78\x74\55\x61\x6c\x69\x67\x6e\x3a\x20\x63\145\x6e\x74\145\162\73\42\x20\40\40\143\154\141\x73\163\75\42\155\157\62\x66\x5f\155\x6f\144\x61\154\55\146\157\x6f\x74\145\162\x22\76\12\40\40\x20\40\40\40\40\x20\x20\40\40\40\40\40\x20\40\x20\40\x20\x20\40\x20\x20\x20\x3c\151\156\x70\165\164\x20\x74\171\160\145\x3d\42\x73\x75\142\155\x69\164\x22\x20\163\x74\x79\x6c\x65\x3d\x22\40\x70\141\x64\144\151\x6e\147\x3a\x31\45\x3b\40\167\151\144\164\x68\72\x31\60\x30\160\170\x3b\x20\x62\141\x63\x6b\x67\x72\x6f\x75\x6e\144\x3a\x20\43\x30\x30\71\x31\103\104\x20\156\x6f\156\x65\40\162\x65\x70\x65\141\164\40\x73\143\162\x6f\154\x6c\40\x30\x25\40\x30\x25\x3b\x20\143\165\x72\163\157\162\x3a\x20\x70\157\151\156\x74\x65\x72\73\40\146\x6f\156\x74\x2d\163\151\x7a\145\72\x31\65\160\x78\73\40\x62\157\162\144\x65\162\55\x77\x69\x64\x74\x68\72\x20\x31\x70\x78\x3b\x20\142\x6f\162\144\x65\x72\55\x73\x74\x79\x6c\145\72\x20\x73\x6f\x6c\151\144\x3b\40\x62\x6f\162\x64\145\x72\55\x72\141\144\151\165\x73\x3a\40\x33\x70\x78\73\x20\167\150\151\x74\145\x2d\x73\160\x61\x63\x65\x3a\40\156\x6f\x77\x72\x61\x70\x3b\x20\x62\157\x78\x2d\163\151\172\x69\156\x67\72\x20\142\x6f\162\144\145\162\x2d\x62\x6f\170\73\142\157\x72\x64\145\x72\55\x63\157\x6c\x6f\x72\x3a\40\43\60\60\x37\x33\101\101\x3b\x20\142\157\x78\55\163\150\x61\x64\157\167\72\x20\x30\160\170\40\x31\x70\x78\40\60\160\x78\40\x72\x67\x62\x61\x28\x31\62\60\54\x20\x32\60\60\x2c\40\62\x33\60\x2c\40\60\56\x36\51\40\x69\x6e\163\145\x74\x3b\40\143\157\x6c\x6f\162\x3a\40\x23\x46\x46\x46\x3b\42\40\156\141\155\145\x3d\42\155\x69\x6e\x69\x6f\162\x61\x6e\x67\145\137\143\157\x6e\x66\151\x72\155\x5f\163\165\x62\155\x69\x74\x22\x20\x63\x6c\141\163\x73\x3d\42\142\x75\x74\x74\157\x6e\40\142\x75\x74\x74\x6f\x6e\x2d\x2d\x64\141\x6e\x67\145\162\40\142\165\164\164\157\156\x2d\x2d\154\x61\x72\x67\x65\42\40\x76\x61\x6c\165\x65\75\x22\103\157\x6e\x66\151\162\155\x22\x2f\x3e\46\156\142\163\x70\x3b\x26\x6e\142\x73\x70\73\x26\156\x62\163\160\x3b\46\156\142\x73\x70\x3b\12\xa\40\40\x20\x20\x20\40\x20\40\x20\x20\x20\40\40\40\x20\x20\x20\40\40\40\40\40\x20\x20\74\141\40\x74\x79\x70\145\x3d\42\163\x75\142\x6d\151\164\42\x20\163\x74\171\x6c\145\75\x22\x20\160\x61\x64\x64\x69\x6e\x67\x3a\61\x25\x3b\40\x77\x69\144\164\150\x3a\61\60\60\x70\x78\x3b\40\142\x61\x63\153\147\x72\x6f\x75\x6e\144\x3a\40\43\x30\x30\x39\x31\103\x44\x20\156\x6f\156\x65\x20\162\145\160\145\141\164\40\163\x63\162\157\154\154\40\x30\45\40\60\x25\73\40\x63\165\162\163\x6f\162\x3a\x20\160\x6f\151\x6e\164\x65\x72\x3b\40\146\x6f\x6e\164\55\163\x69\172\145\72\61\x35\x70\x78\73\40\142\x6f\x72\144\145\162\x2d\x77\151\x64\x74\150\72\x20\x31\160\170\x3b\40\x62\x6f\162\x64\x65\162\55\163\164\171\x6c\x65\x3a\40\163\x6f\x6c\x69\x64\x3b\40\x62\157\162\x64\145\x72\55\x72\141\x64\151\165\163\72\x20\x33\x70\x78\x3b\40\x77\150\x69\x74\145\x2d\163\x70\141\x63\x65\72\40\156\x6f\167\x72\x61\160\x3b\40\142\157\x78\55\x73\151\172\151\156\147\72\40\x62\x6f\x72\144\145\162\x2d\142\x6f\x78\x3b\x62\x6f\162\x64\x65\x72\x2d\143\x6f\x6c\157\162\x3a\40\x23\x30\x30\x37\x33\x41\101\x3b\x20\x62\157\170\x2d\x73\x68\x61\144\157\167\72\40\x30\x70\x78\40\61\160\170\40\x30\160\x78\40\x72\x67\x62\x61\50\61\x32\x30\54\x20\x32\60\x30\54\x20\62\x33\x30\x2c\x20\60\56\x36\51\40\x69\x6e\x73\145\164\73\40\143\157\x6c\x6f\162\72\40\x23\106\106\106\x3b\40\x74\x65\170\164\x2d\x64\145\143\157\162\141\x74\x69\157\156\72\x20\156\157\156\x65\73\42\x20\143\x6c\141\x73\163\x3d\x22\x62\165\164\x74\157\156\40\142\x75\x74\x74\x6f\x6e\x2d\x2d\144\141\156\x67\x65\162\x20\x62\x75\x74\164\x6f\156\55\x2d\x6c\x61\x72\147\145\42\40\150\x72\x65\146\x3d";
echo $base_url . "\57\141\144\x6d\151\x6e\57\143\x6f\x6e\146\x69\x67\57\160\x65\157\160\154\x65\x2f\x72\145\x73\x74\137\x61\160\x69\137\x61\165\164\x68\x65\x6e\x74\151\143\141\164\x69\x6f\x6e\x2f\x63\x75\163\x74\x6f\x6d\145\162\137\x73\x65\164\x75\x70";
echo "\40\x3e\103\x61\156\143\x65\x6c\74\x2f\141\76\xa\12\40\x20\40\x20\40\x20\x20\x20\x20\40\40\40\40\x20\x20\40\40\x20\40\x20\x3c\57\x64\151\x76\x3e\12\40\x20\40\40\x20\40\40\40\x20\40\x20\40\x20\40\40\40\x3c\x2f\146\157\x72\x6d\76\xa\40\x20\40\x20\x20\x20\x20\40\x20\x20\x20\40\74\x2f\144\151\x76\76\xa\x20\x20\x20\40\x20\x20\40\40\x20\x20\x20\x20\74\x2f\142\157\144\x79\x3e\12\40\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\40\x3c\57\x68\x74\155\154\x3e\xa\x20\x20\x20\x20\40\40\x20\x20\40\40\x20\x20";
exit;
goto YJ;
t8:
if (!(\Drupal::config("\x72\145\x73\x74\137\x61\x70\x69\x5f\x61\165\x74\x68\x65\x6e\x74\x69\x63\141\164\x69\x6f\156\56\163\145\x74\x74\151\156\x67\x73")->get("\x72\145\x73\x74\x5f\x61\x70\151\x5f\x61\165\x74\x68\145\156\164\x69\143\x61\x74\151\157\156\137\154\x69\143\145\x6e\163\145\x5f\x6b\145\171") != NULL)) {
goto NW;
}
$Wm = "\x43\x55\123\x54\117\x4d\105\122\x5f\x53\x45\x54\x55\120";
$Mb = \Drupal::config("\x72\145\x73\x74\137\141\160\151\x5f\141\x75\164\x68\x65\x6e\164\x69\x63\141\x74\151\157\x6e\56\163\x65\x74\x74\151\x6e\x67\163")->get("\x72\145\163\x74\x5f\141\160\151\137\x61\x75\x74\x68\145\156\164\151\143\141\164\151\157\x6e\x5f\x63\165\163\x74\157\155\x65\162\x5f\x61\x64\x6d\x69\156\x5f\x65\155\141\x69\154");
$dH = new MiniorangeRestAPICustomer($Mb, NULL);
$Ek = json_decode($dH->updateStatus());
if (!($Ek->status == "\x53\x55\x43\103\105\x53\123")) {
goto x8;
}
$m5 = '';
\Drupal::configFactory()->getEditable("\162\x65\163\164\137\141\160\x69\137\x61\165\x74\150\x65\156\164\151\143\x61\x74\x69\157\156\x2e\163\145\164\164\151\x6e\147\x73")->set("\x72\145\163\164\x5f\141\160\x69\x5f\141\x75\x74\150\145\156\x74\151\x63\141\x74\x69\157\x6e\x5f\x63\165\x73\164\157\155\x65\162\x5f\141\144\155\151\x6e\x5f\145\155\141\151\154", NULL)->save();
\Drupal::configFactory()->getEditable("\x72\x65\163\x74\137\x61\160\151\137\x61\165\x74\150\145\x6e\164\x69\x63\141\164\x69\157\156\56\x73\145\x74\164\x69\156\x67\163")->set("\x72\x65\163\164\137\141\160\x69\137\x61\165\x74\x68\x65\156\x74\x69\x63\141\164\151\x6f\x6e\137\143\165\x73\x74\x6f\155\x65\162\x5f\x69\x64", $m5)->save();
\Drupal::configFactory()->getEditable("\x72\x65\x73\164\137\141\160\x69\137\141\165\164\x68\x65\156\164\x69\143\141\164\151\157\x6e\x2e\x73\145\x74\x74\151\156\x67\x73")->set("\x72\145\x73\164\x5f\x61\x70\151\137\x61\165\164\150\x65\156\164\x69\x63\x61\164\x69\x6f\x6e\x5f\x63\165\163\164\x6f\x6d\145\162\x5f\x61\x70\x69\137\153\145\x79", $m5)->save();
\Drupal::configFactory()->getEditable("\x72\145\x73\164\x5f\x61\x70\x69\137\141\x75\x74\150\x65\156\x74\151\143\x61\164\151\157\x6e\56\x73\145\x74\164\x69\156\x67\x73")->set("\x72\x65\x73\164\x5f\141\x70\151\x5f\x61\x75\x74\150\x65\x6e\x74\151\x63\x61\164\151\157\x6e\137\x6c\151\143\x65\156\163\145\137\153\x65\x79", NULL)->save();
\Drupal::configFactory()->getEditable("\x72\145\163\x74\137\x61\x70\x69\x5f\x61\x75\x74\150\x65\156\x74\151\x63\x61\x74\x69\157\x6e\56\163\145\164\164\x69\156\x67\163")->set("\162\x65\163\x74\137\141\x70\x69\x5f\141\x75\x74\x68\x65\156\x74\x69\143\141\164\151\x6f\156\x5f\143\165\163\164\x6f\155\145\x72\x5f\160\141\163\x73\x77\157\x72\144", $m5)->save();
\Drupal::configFactory()->getEditable("\162\145\163\164\137\141\160\151\137\x61\x75\164\150\x65\x6e\164\x69\x63\x61\164\151\157\156\56\x73\x65\x74\164\x69\x6e\147\163")->set("\162\145\163\x74\137\x61\x70\x69\137\x61\x75\164\x68\x65\156\164\x69\x63\141\164\151\157\x6e\137\163\x74\x61\x74\x75\x73", $Wm)->save();
\Drupal::messenger()->addMessage(t("\131\x6f\x75\x72\40\141\143\143\x6f\165\156\164\40\150\141\x73\x20\x62\x65\145\156\x20\x72\x65\x6d\x6f\x76\x65\144\x20\163\x75\x63\143\145\163\163\146\x75\154\154\x79\41"), "\163\x74\x61\164\x75\x73");
$_POST["\166\x61\x6c\x75\x65\137\143\x68\x65\143\x6b"] = "\x46\x61\x6c\x73\145";
x8:
NW:
YJ:
}
}
Function Calls
None |
Stats
MD5 | bd15ebec89bd3370279ffb1b2f45dd85 |
Eval Count | 0 |
Decode Time | 143 ms |