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\okta_user_sync\Form; use Drupal; use Drupal\Component\Seri..

Decoded Output download

<?php 
 
 
namespace Drupal\okta_user_sync\Form; 
 
use Drupal; 
use Drupal\Component\Serialization\Json; 
use Drupal\Core\Config\Config; 
use Drupal\Core\Config\ImmutableConfig; 
use Drupal\Core\Form\FormBase; 
use Drupal\Core\Form\FormStateInterface; 
use Drupal\Core\Url; 
use Drupal\okta_user_sync\Helper\MoOktaHelper; 
use Drupal\user\Entity\User; 
use Drupal\user_provisioning\Helpers\AjaxTables; 
use Drupal\user_provisioning\moUserProvisioningConstants; 
use Drupal\user_provisioning\moUserProvisioningUtilities; 
use Symfony\Component\HttpFoundation\Response; 
use Symfony\Component\HttpFoundation\RedirectResponse; 
class MoOktaToDrupal extends FormBase 
{ 
    protected $messenger; 
    private $base_url; 
    private ImmutableConfig $config; 
    private Config $config_factory; 
    public function __construct() 
    { 
        global $base_url; 
        $this->base_url = $base_url; 
        $this->config = Drupal::config("okta_user_sync.settings"); 
        $this->config_factory = Drupal::configFactory()->getEditable("okta_user_sync.settings"); 
        $this->messenger = Drupal::messenger(); 
        $this->isPremium = !empty(\Drupal::configFactory("user_provisioning.settings")->get("mo_user_provisioning_customer_admin_email")->getOriginal()); 
        $this->disabled = false; 
    } 
    public function getFormId() 
    { 
        return "MoOktaToDrupal"; 
    } 
    public function buildForm(array $form, FormStateInterface $form_state) 
    { 
        $form["mo_okta_sync_add_css"] = array("#attached" => array("library" => array("okta_user_sync/okta_user_sync.admin", "okta_user_sync/okta_user_sync.okta_test"))); 
        if (!(empty(\Drupal::config("user_provisioning.settings")->get("mo_user_provisioning_customer_admin_email")) && empty($this->config->get("mo_user_provisioning_license_key")))) { 
            goto sd; 
        } 
        $xK = new RedirectResponse(Url::fromRoute("user_provisioning.customer_setup")->toString()); 
        $xK->send(); 
        sd: 
        $VJ = Url::fromRoute("user_provisioning.customer_setup")->toString() . "?viewDetails=true"; 
        $form["mo_summary_okta_header_style"] = ["#markup" => t("<div class="mo_okta_header_container_summary">")]; 
        $form["drupal_to_okta_review_configuration_button"] = ["#type" => "link", "#title" => t("Review Okta Configuration <a class="button button--primary" href="" . $VJ . "">View Xecurify Account Details</a>"), "#url" => Url::fromRoute("okta_user_sync.reviewOktaConfiguration"), "#attributes" => ["class" => ["button", "button--primary", "use-ajax", "js-form-submit", "form-submit"], "data-dialog-type" => "modal", "data-dialog-options" => json_encode(["width" => "65%"])]]; 
        \Drupal::configFactory()->getEditable("okta_user_sync.settings")->set("okta_user_sync_status1", "okta_to_drupal")->save(); 
        $this->oktaManualDrupalProvisioning($form, $form_state); 
        $this->schedulerBasedProvisioning($form, $form_state); 
        $this->mapping($form, $form_state); 
        $form["okta_to_drupal_save_button"] = ["#type" => "submit", "#value" => t("Save Settings"), "#button_type" => "primary", "#disabled" => $this->disabled]; 
        $AV = new MoOktaHelper(); 
        $AV->moOktaShowCustomerSupportIcon($form, $form_state); 
        return $form; 
    } 
    private function oktaManualDrupalProvisioning(array &$form, FormStateInterface $form_state) 
    { 
        $F3 = "<a href = "okta_upgrade_plans" >[PREMIUM]</a>"; 
        $form["mo_okta_provisioning_fieldset"] = ["#type" => "fieldset", "#title" => t("Manual Provisioning Configuration ") . "<hr>", "#attributes" => ["style" => "box-shadow: none,", "class" => ["field_set_label_css"]]]; 
        $form["mo_okta_provisioning_fieldset"]["okta_provisioning_operations"] = ["#type" => "table", "#responsive" => true, "#attributes" => ["class" => ["mo_okta_provisioning_operations_table"]]]; 
        $ru = $this->moProvisioningOperations("manual"); 
        $form["mo_okta_provisioning_fieldset"]["okta_provisioning_operations"]["operations"] = $ru; 
        $form["mo_okta_provisioning_fieldset"]["create_user_fieldset"] = ["#type" => "fieldset", "#title" => $this->t("Sync Users ") . "<hr>", "#attributes" => ["style" => "box-shadow: none"]]; 
        $form["mo_okta_provisioning_fieldset"]["create_user_fieldset"]["mo_okta_drupal_username"] = ["#type" => "email", "#attributes" => ["placeholder" => "Search Okta username of user to sync"], "#disabled" => $this->disabled, "#prefix" => "<p class="mo_okta_highlight_background"><strong>Note:</strong> Search the username of user present in Okta to sync it to the Drupal.</p><div class="container-inline">"]; 
        $form["mo_okta_provisioning_fieldset"]["create_user_fieldset"]["mo_okta_sync_button"] = ["#type" => "submit", "#value" => t("Sync"), "#button_type" => "primary", "#submit" => ["::SyncUser"], "#attributes" => ["class" => ["mo_okta_sync_button"]], "#disabled" => $this->disabled]; 
        $form["mo_okta_provisioning_fieldset"]["create_user_fieldset"]["mo_okta_sync_all_button"] = ["#type" => "submit", "#value" => t("Sync All Users"), "#button_type" => "primary", "#attributes" => ["class" => ["mo_okta_sync_all_button"]], "#disabled" => $this->disabled, "#submit" => ["::SyncAllUsers"]]; 
        return $form; 
    } 
    public function SyncAllUsers() 
    { 
        if (!(empty(\Drupal::config("user_provisioning.settings")->get("mo_user_provisioning_customer_admin_email")) || \Drupal::config("user_provisioning.settings")->get("mo_user_provisioning_license_key"))) { 
            goto ds; 
        } 
        \Drupal::messenger()->addMessage("Please login to the module to sync users from Okta to Drupal."); 
        ds: 
        $D3 = $this->config->get("okta_user_sync_base_url"); 
        $url = $this->config->get('okta_user_sync_next_url'); 
        if (empty($url)) { 
            $YY = MoOktaHelper::creatUrlForTesting($D3); 
        } 
        else { 
            $YY = $url; 
        } 
        $next_url = FALSE; 
        $users = []; 
        $xK = (new MoOktaHelper())->getUserFromOkta($YY, TRUE); 
 
        $users = json_decode($xK->getBody()->getContents(), TRUE); 
        $headers = $xK->getHeaders(); 
 
        if (!empty($headers['link'])) { 
            $links = $headers['link']; 
            foreach ($links as $link) { 
                if (strpos($link, 'rel="next"') !== false) { 
                    $next_url = explode('>', $link)[0]; 
                    $next_url = substr($next_url, 1); 
                } 
            } 
        } 
 
        $this->config_factory->set('okta_user_sync_next_url', $next_url)->save(); 
        if (empty($next_url)) { 
            \Drupal::messenger()->addMessage("No further userpages found. Beginning anew."); 
        } 
        if (!empty($users)) { 
            MoOktaHelper::ProcessUsersInBatches($users); 
        } 
    } 
    public function SyncUser(array &$form, FormStateInterface $form_state) 
    { 
        $vN = \Drupal::configFactory()->getEditable("okta_user_sync.settings"); 
        $CB = $form_state->getValues(); 
        $RS = $CB["mo_okta_drupal_username"]; 
        $D3 = $vN->get("okta_user_sync_base_url"); 
        $aT = MoOktaHelper::creatUrlForTesting($D3, $RS); 
        $xK = json_decode((new MoOktaHelper())->getUserFromOkta($aT), TRUE); 
        if ($this->config->get("okta_to_drupal_manual_create")) { 
            goto kF; 
        } 
        $this->messenger->addMessage(t("Please enable the operations that you wish to perform upon manual provisioning.")); 
        goto YB; 
        kF: 
        try { 
            if (is_null($xK)) { 
                goto x1; 
            } 
            MoOktaHelper::createUserFromOkta($xK); 
            $this->messenger->addStatus(t("The user " . $xK["profile"]["login"] . "has been successfully provisioned to the Drupal site.")); 
            x1: 
        } catch (\Exception $hL) { 
            $xz = user_load_by_mail($RS); 
            if ($xz != null) { 
                goto a9; 
            } 
            $this->messenger->addStatus(t("Please enter a valid email address.")); 
            goto wN; 
            a9: 
            $GO = \Drupal::database()->select("users_field_data", "t")->fields("t", ["uid", "user_created_via"])->condition("mail", $xz->getEmail(), "=")->execute()->fetchAll(); 
            if ($GO[0]->user_created_via == "OKTA") { 
                goto m8; 
            } 
            $this->messenger->addStatus(t("Please enter a valid email address.")); 
            goto C4; 
            m8: 
            $xz->status = 0; 
            $xz->save(); 
            $this->messenger->addStatus(t("The user " . $xK["profile"]["login"] . "has been deleted from OKTA. Corresponding user was blocked on Drupal.")); 
            C4: 
            wN: 
        } 
        YB: 
    } 
    private function moProvisioningOperations($cE) : array 
    { 
        $Zt = \Drupal::config("okta_user_sync.settings"); 
        $ru["read_user_" . $cE . "_okta"] = ["#type" => "checkbox", "#title" => t("Read user"), "#default_value" => $Zt->get("okta_to_drupal_" . $cE . "_read"), "#disabled" => $this->disabled, "#prefix" => "<div class="container-inline">"]; 
        $ru["create_user_" . $cE . "_okta"] = ["#type" => "checkbox", "#title" => t("Create user "), "#default_value" => $Zt->get("okta_to_drupal_" . $cE . "_create"), "#disabled" => $this->disabled]; 
        $ru["update_user_" . $cE . "_okta"] = ["#type" => "checkbox", "#title" => t("Update user"), "#default_value" => $Zt->get("okta_to_drupal_" . $cE . "_update"), "#disabled" => $this->disabled]; 
        $ru["delete_user_" . $cE . "_okta"] = ["#type" => "checkbox", "#title" => t("Delete user"), "#default_value" => $Zt->get("okta_to_drupal_" . $cE . "_delete"), "#disabled" => $this->disabled]; 
        return $ru; 
    } 
    private function schedulerBasedProvisioning(array &$form, FormStateInterface $form_state) 
    { 
        $Zt = \Drupal::config("okta_user_sync.settings"); 
        $F3 = "<a href = "okta_upgrade_plans" >[PREMIUM]</a>"; 
        $form["mo_okta_scheduler_provisioning_fieldset"] = ["#type" => "fieldset", "#title" => t("Scheduler Based Provisioning Configuration ") . "<hr>", "#attributes" => ["class" => ["field_set_label_css"]]]; 
        $form["mo_okta_scheduler_provisioning_fieldset"]["auto_creation"] = ["#type" => "checkbox", "#title" => t("Scheduler Based Provisioning on CRON"), "#default_value" => $Zt->get("enable_scheduler_provisioning_on_cron"), "#description" => t("Enabling this checkbox will sync users from Okta to Drupal whenever CRON runs on the site."), "#disabled" => $this->disabled]; 
        $form["mo_okta_scheduler_provisioning_fieldset"]["allowed_operatons"] = ["#markup" => "<div>Select from operations from below that you want to allow:</div>"]; 
        $form["mo_okta_scheduler_provisioning_fieldset"]["okta_provisioning_operations"] = ["#type" => "table", "#responsive" => true, "#attributes" => ["class" => ["mo_okta_provisioning_operations_table"]]]; 
        $ru = $this->moProvisioningOperations("scheduler"); 
        $form["mo_okta_scheduler_provisioning_fieldset"]["okta_provisioning_operations"]["operations"] = $ru; 
        return $form; 
    } 
    private function mapping(array &$form, FormStateInterface $form_state) 
    { 
        $F3 = "<a href = "okta_upgrade_plans" >[PREMIUM]</a>"; 
        $form["mo_okta_mapping_fieldset"] = ["#type" => "fieldset", "#title" => $this->t("Mapping ") . "<hr>"]; 
        $this->basicAttributeMapping($form, $form_state); 
        $this->customAttributeMapping($form, $form_state); 
        return $form; 
    } 
    private function basicAttributeMapping(array &$form, FormStateInterface $form_state) 
    { 
        $Zt = \Drupal::config("okta_user_sync.settings"); 
        $jr = $Zt->get("mo_okta_attr_list_from_server") !== null ? json_decode($Zt->get("mo_okta_attr_list_from_server")) : array(); 
        $MU = []; 
        if (empty($jr)) { 
            goto U3; 
        } 
        foreach ($jr as $MA => $rk) { 
            $MU[$MA] = $MA; 
            DY: 
        } 
        sw: 
        U3: 
        $form["mo_okta_mapping_fieldset"]["mo_okta_basic_mapping_fieldset"]["okta_attribute_mapping"] = ["#type" => "fieldset", "#attributes" => ["style" => "box-shadow: none"], "#title" => $this->t("Basic Attribute Mapping<hr>"), "#disabled" => $this->disabled]; 
        $SY = $Zt->get("okta_user_sync_basic_username_mapping") ?? "login"; 
        $O1 = $Zt->get("okta_user_sync_basic_mail_mapping") ?? "email"; 
        $form["mo_okta_mapping_fieldset"]["mo_okta_basic_mapping_fieldset"]["okta_attribute_mapping"]["okta_username_attribute"] = ["#type" => "select", "#title" => t("Username Attribute"), "#attributes" => array("style" => "width:75%", "placeholder" => "Enter Username attribute"), "#default_value" => isset($MU[$SY]) ? $MU[$SY] : "login", "#options" => $MU, "#prefix" => "<div><table class="mo_basic_attribute_mapping_table"><tr><td>", "#suffix" => "</td>"]; 
        $form["mo_okta_mapping_fieldset"]["mo_okta_basic_mapping_fieldset"]["okta_attribute_mapping"]["okta_email_attribute"] = ["#type" => "select", "#title" => t("Email Attribute"), "#default_value" => isset($MU[$O1]) ? $MU[$O1] : "email", "#options" => $MU, "#attributes" => array("style" => "width:75%", "placeholder" => "Enter Email attribute"), "#prefix" => "<td>", "#suffix" => "</td></tr></table></div>"]; 
        return $form; 
    } 
    private function customAttributeMapping(array &$form, FormStateInterface $form_state) 
    { 
        $Zt = \Drupal::config("okta_user_sync.settings"); 
        $jr = $Zt->get("mo_okta_attr_list_from_server") !== null ? json_decode($Zt->get("mo_okta_attr_list_from_server")) : array(); 
        $MU = []; 
        if (empty($jr)) { 
            goto ei; 
        } 
        foreach ($jr as $MA => $rk) { 
            $MU[$MA] = $MA; 
            o7: 
        } 
        sW: 
        ei: 
        $F1 = $Zt->get("mo_okta_sync_mapping") !== null ? json_decode($Zt->get("mo_okta_sync_mapping"), true) : array(); 
        $form["mo_okta_mapping_fieldset"]["mo_okta_custom_mapping_fieldset"] = ["#type" => "fieldset", "#title" => t("Custom Attribute Mapping") . "<hr>", "#attributes" => ["style" => "box-shadow: none"]]; 
        $Oa = $F1; 
        $Z0 = ["okta_attr" => $this->t("Okta User Attribute"), "drupal_attr" => $this->t("Drupal User Attribute"), "delete" => '']; 
        $L1 = [1 => $MU, 2 => moUserProvisioningUtilities::customUserFields()]; 
        $BE = $this->getFieldsList(); 
        $m0 = AjaxTables::getUniqueID($form_state->get("unique_id"), $Oa); 
        $form_state->set("unique_id", $m0); 
        $form["mo_okta_mapping_fieldset"]["mo_okta_custom_mapping_fieldset"]["mo_okta_sync_mapping"]["okta_sync_mapping_table"] = AjaxTables::generateTables("names-fieldset-wrapper", $BE, $m0, $Oa, $Z0, $L1); 
        $form["mo_okta_mapping_fieldset"]["mo_okta_custom_mapping_fieldset"]["mo_okta_sync_mapping"]["add"] = ["#type" => "submit", "#name" => "add", "#button_type" => "primary", "#value" => $this->t("Add More"), "#limit_validation_errors" => array(), "#submit" => [[$this, "addRowNew"]], "#ajax" => ["callback" => "::ajaxCallback", "wrapper" => "names-fieldset-wrapper", "effect" => "none"], "#disabled" => $this->disabled]; 
        return $form; 
    } 
    public function getFieldsList() 
    { 
        return ["okta_attr" => ["type" => "select", "disabled" => $this->disabled], "drupal_attr" => ["type" => "select", "disabled" => $this->disabled], "delete_button" => ["type" => "submit", "disabled" => $this->disabled, "submit" => "::removeRow", "callback" => "::ajaxCallback", "wrapper" => "names-fieldset-wrapper"]]; 
    } 
    public function ajaxCallback(array &$form, FormStateInterface $form_state) 
    { 
        return $form["mo_okta_mapping_fieldset"]["mo_okta_custom_mapping_fieldset"]["mo_okta_sync_mapping"]["okta_sync_mapping_table"]; 
    } 
    public function addRowNew(array &$form, FormStateInterface $form_state) 
    { 
        $jM = \Drupal::service("uuid"); 
        $rI = $jM->generate(); 
        $vz = $form_state->get("unique_id"); 
        array_push($vz, $rI); 
        $form_state->set("unique_id", $vz); 
        $form_state->setRebuild(); 
    } 
    public function removeRow(array &$form, FormStateInterface $form_state) 
    { 
        $fQ = $form_state->getTriggeringElement()["#array_parents"][0]; 
        $sZ = $form_state->getTriggeringElement()["#name"]; 
        $p8 = ''; 
        $p8 = "unique_id"; 
        $Xp = $form_state->get($p8); 
        $Xp = array_diff($Xp, [$sZ]); 
        if (!empty($Xp)) { 
            goto Nk; 
        } 
        $jM = \Drupal::service("uuid"); 
        $Xp[0] = $jM->generate(); 
        Nk: 
        $form_state->set($p8, $Xp); 
        $form_state->setRebuild(); 
    } 
    public function saveSummaryConfiguration(array $form, FormStateInterface $form_state) 
    { 
        $CB = $form_state->getValues()["mo_summary_okta_configuration_table"]; 
        $A0 = ["Okta Portal URL:" => "okta_user_sync_base_url", "Okta Bearer Token:" => "okta_user_sync_bearer_token", "Test Your Configuration<br>Enter user email:" => "okta_user_sync_upn"]; 
        foreach ($A0 as $MA => $rk) { 
            $this->config_factory->set($rk, $CB[$MA][$rk])->save(); 
            Fq: 
        } 
        m9: 
        $Lj = $this->config_factory->get("okta_user_sync_bearer_token"); 
        $GF = $this->config_factory->get("okta_user_sync_base_url"); 
        Drupal::configFactory()->getEditable("user_provisioning.settings")->set("mo_user_provisioning_configured_application", "okta")->set("mo_provider_specific_provisioning_base_url", $GF)->set("mo_provider_specific_provisioning_api_token", $Lj)->save(); 
        $B6 = new MoOktaHelper(); 
        $B6->fetchAttributes(); 
        $wo = Json::decode($this->config->get("mo_okta_attr_list_from_server")); 
        if (!($wo != '')) { 
            goto jy; 
        } 
        if (isset($wo["errorCode"])) { 
            goto G6; 
        } 
        $this->messenger->addstatus(t("Test Configuration successful. You can check the complete list of attributes received from Okta by clicking on the link <a href="#test_config_result">HERE</a>.")); 
        goto Xf; 
        G6: 
        $this->messenger->addError(t("An error occurred while performing test configuration. Please refer to <a href="#test_config_result">Test Configuration Result</a> for more information.")); 
        Xf: 
        jy: 
        return $form; 
    } 
    public function backFunMoOktaToDrupal(array $form, FormStateInterface $form_state) 
    { 
        $Pv = $this->config->get("okta_user_sync_status"); 
        if ($Pv == "overview") { 
            goto NQ; 
        } 
        $xK = new RedirectResponse($this->base_url . "/admin/config/people/okta_user_sync/overview?tab=" . $Pv); 
        goto d2; 
        NQ: 
        $xK = new RedirectResponse($this->base_url . "/admin/config/people/okta_user_sync/overview"); 
        d2: 
        $xK->send(); 
        return new Response(); 
    } 
    public function submitForm(array &$form, FormStateInterface $form_state) 
    { 
        $vN = \Drupal::configFactory()->getEditable("okta_user_sync.settings"); 
        $CB = $form_state->getValues(); 
        $vN->set("okta_to_drupal_manual_read", $CB["okta_provisioning_operations"]["operations"]["read_user_manual_okta"])->set("okta_to_drupal_manual_create", $CB["okta_provisioning_operations"]["operations"]["create_user_manual_okta"])->set("okta_to_drupal_manual_update", $CB["okta_provisioning_operations"]["operations"]["update_user_manual_okta"])->set("okta_to_drupal_manual_delete", $CB["okta_provisioning_operations"]["operations"]["delete_user_manual_okta"])->set("okta_to_drupal_scheduler_read", $CB["okta_provisioning_operations"]["operations"]["read_user_scheduler_okta"])->set("okta_to_drupal_scheduler_create", $CB["okta_provisioning_operations"]["operations"]["create_user_scheduler_okta"])->set("okta_to_drupal_scheduler_update", $CB["okta_provisioning_operations"]["operations"]["update_user_scheduler_okta"])->set("okta_to_drupal_scheduler_delete", $CB["okta_provisioning_operations"]["operations"]["delete_user_scheduler_okta"])->set("enable_scheduler_provisioning_on_cron", $CB["auto_creation"])->set("okta_user_sync_basic_username_mapping", $CB["okta_username_attribute"])->set("okta_user_sync_basic_mail_mapping", $CB["okta_email_attribute"])->set("mo_okta_sync_mapping", json_encode($CB["okta_sync_mapping_table"]))->save(); 
        \Drupal::messenger()->addStatus("Okta Provisioning Configurations successfully updated."); 
    } 
    private function attributeMapping(array &$form, FormStateInterface $form_state) 
    { 
        $F3 = "<a href = "okta_upgrade_plans" >[PREMIUM]</a>"; 
        $form["mo_okta_attribute_mapping_details"] = ["#type" => "details", "#open" => false, "#title" => t("Mapping")]; 
        $form["mo_okta_attribute_mapping_details"]["okta_custom_attribute_mapping"] = array("#type" => "fieldset", "#title" => t("Custom Attribute Mapping ") . "<hr>"); 
        $form["mo_okta_attribute_mapping_details"]["okta_custom_attribute_mapping"]["attribute_mapping_info"] = array("#markup" => "<div class="mo_okta_highlight_background">This feature allows you to map the user attributes from your Drupal to Okta.</div>"); 
        $MU = []; 
        $wO = User::load(\Drupal::currentUser()->id()); 
        $MT = $wO->toArray(); 
        foreach ($MT as $MA => $rk) { 
            $MU[$MA] = $MA; 
            n8: 
        } 
        Zo: 
        $form["mo_okta_attribute_mapping_details"]["okta_custom_attribute_mapping"]["okta_custom_attribute_mapping_table"] = ["#type" => "table", "#responsive" => TRUE, "#prefix" => "<div id="mo_okta_sync_ajax">", "#attributes" => ["class" => ["custom_attribute_mapping_table"]]]; 
        $ru = $this->moOktaCustomAttributeMapTable($MU); 
        $form["mo_okta_attribute_mapping_details"]["okta_custom_attribute_mapping"]["okta_custom_attribute_mapping_table"]["custom_mapping"] = $ru; 
    } 
    private function moOktaCustomAttributeMapTable($MU) : array 
    { 
        $ru["okta_drupal_attr_name"] = ["#title" => t("Drupal Attribute Name"), "#type" => "select", "#options" => $MU, "#disabled" => $this->disabled]; 
        $ru["okta_attribute_name"] = ["#type" => "textfield", "#title" => t("Okta Attribute Name"), "#disabled" => $this->disabled]; 
        $ru["okta_add_button"] = ["#type" => "submit", "#button_type" => "primary", "#disabled" => $this->disabled, "#value" => "+", "#submit" => [[$this, "addAttrOktaSyncSubmit"]], "#ajax" => ["callback" => [$this, "rulesOktaSyncAjaxCallback"], "wrapper" => "mo_okta_sync_ajax", "effect" => "none"]]; 
        $ru["okta_sub_button"] = ["#type" => "submit", "#button_type" => "danger", "#disabled" => $this->disabled, "#value" => "-", "#submit" => [[$this, "deleteAttrOktaSyncSubmit"]], "#ajax" => ["callback" => [$this, "rulesOktaSyncAjaxCallback"], "wrapper" => "mo_okta_sync_ajax", "effect" => "none"]]; 
        return $ru; 
    } 
    public function rulesOktaSyncAjaxCallback(array &$form, FormStateInterface $form_state) 
    { 
        return $form["rulesOktaSyncAjaxCallback"]; 
    } 
    public function addAttrOktaSyncSubmit(array &$form, FormStateInterface $form_state) 
    { 
        $jM = \Drupal::service("uuid"); 
        $rI = $jM->generate(); 
        $vz = $form_state->get("custom_mapping"); 
        array_push($vz, $rI); 
        $form_state->set("custom_mapping", $vz); 
        $form_state->setRebuild(); 
    } 
    public function deleteAttrOktaSyncSubmit(array &$form, FormStateInterface $form_state) 
    { 
        $jD = $form_state->getTriggeringElement()["#attributes"]["data-delete-target"]; 
        $vz = $form_state->get("custom_mapping"); 
        $vz = array_diff($vz, [$jD]); 
        if (!empty($vz)) { 
            goto gN; 
        } 
        $jM = \Drupal::service("uuid"); 
        $vz[0] = $jM->generate(); 
        gN: 
        $form_state->set("custom_mapping", $vz); 
        $form_state->setRebuild(); 
    } 
    private function moOktaAttributeMapTable() : array 
    { 
        $ru["username_attribute"] = ["#type" => "select", "#title" => t("Username Attribute"), "#options" => [1 => "name"], "#disabled" => true]; 
        $ru["email_attribute"] = ["#type" => "select", "#title" => t("Email Attribute"), "#options" => [1 => "mail"], "#disabled" => true]; 
        return $ru; 
    } 
} 
 ?>

Did this file decode correctly?

Original Code

<?php


namespace Drupal\okta_user_sync\Form;

use Drupal;
use Drupal\Component\Serialization\Json;
use Drupal\Core\Config\Config;
use Drupal\Core\Config\ImmutableConfig;
use Drupal\Core\Form\FormBase;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Url;
use Drupal\okta_user_sync\Helper\MoOktaHelper;
use Drupal\user\Entity\User;
use Drupal\user_provisioning\Helpers\AjaxTables;
use Drupal\user_provisioning\moUserProvisioningConstants;
use Drupal\user_provisioning\moUserProvisioningUtilities;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\RedirectResponse;
class MoOktaToDrupal extends FormBase
{
    protected $messenger;
    private $base_url;
    private ImmutableConfig $config;
    private Config $config_factory;
    public function __construct()
    {
        global $base_url;
        $this->base_url = $base_url;
        $this->config = Drupal::config("\x6f\153\x74\141\x5f\x75\163\145\x72\137\x73\171\156\x63\56\x73\145\164\x74\x69\x6e\x67\163");
        $this->config_factory = Drupal::configFactory()->getEditable("\x6f\x6b\x74\x61\x5f\x75\163\145\x72\137\x73\171\x6e\x63\56\163\145\164\x74\151\156\x67\163");
        $this->messenger = Drupal::messenger();
        $this->isPremium = !empty(\Drupal::configFactory("\x75\163\x65\x72\137\x70\x72\x6f\166\x69\x73\x69\157\x6e\x69\x6e\x67\56\x73\145\x74\x74\151\156\x67\163")->get("\155\157\x5f\x75\163\145\x72\137\160\162\157\x76\x69\x73\151\x6f\x6e\x69\156\x67\x5f\x63\x75\163\164\157\x6d\x65\162\x5f\141\144\155\151\x6e\137\x65\155\x61\x69\154")->getOriginal());
        $this->disabled = false;
    }
    public function getFormId()
    {
        return "\115\157\117\153\164\x61\x54\x6f\x44\x72\165\x70\141\x6c";
    }
    public function buildForm(array $form, FormStateInterface $form_state)
    {
        $form["\x6d\157\x5f\157\x6b\164\141\137\163\171\x6e\x63\137\x61\x64\144\137\x63\163\x73"] = array("\x23\141\x74\164\141\143\150\x65\144" => array("\x6c\151\x62\162\x61\x72\x79" => array("\x6f\x6b\164\x61\x5f\165\163\x65\162\137\163\x79\156\143\x2f\157\x6b\164\x61\137\x75\163\x65\x72\137\163\x79\156\143\56\141\144\x6d\151\x6e", "\x6f\x6b\164\141\137\x75\x73\x65\x72\x5f\x73\x79\156\x63\x2f\157\x6b\x74\141\x5f\165\163\145\162\x5f\x73\171\156\x63\56\x6f\153\x74\x61\x5f\164\145\x73\x74")));
        if (!(empty(\Drupal::config("\165\x73\145\x72\137\160\162\x6f\x76\x69\163\x69\x6f\156\151\156\147\56\163\145\x74\x74\151\156\x67\163")->get("\x6d\x6f\137\x75\x73\x65\162\x5f\160\x72\x6f\166\151\163\x69\x6f\156\x69\156\x67\x5f\x63\x75\163\164\157\x6d\x65\x72\137\x61\x64\155\x69\x6e\x5f\x65\x6d\141\151\x6c")) && empty($this->config->get("\155\x6f\137\x75\x73\x65\x72\x5f\160\162\x6f\x76\x69\x73\x69\157\156\151\156\x67\137\x6c\151\x63\x65\x6e\x73\x65\137\153\145\171")))) {
            goto sd;
        }
        $xK = new RedirectResponse(Url::fromRoute("\165\163\145\162\137\x70\162\157\x76\151\x73\x69\x6f\156\x69\x6e\147\56\143\165\163\x74\x6f\x6d\x65\x72\x5f\x73\145\164\165\160")->toString());
        $xK->send();
        sd:
        $VJ = Url::fromRoute("\x75\163\145\162\x5f\160\162\x6f\166\151\163\151\x6f\156\x69\x6e\147\x2e\x63\x75\x73\164\x6f\155\x65\162\x5f\x73\x65\x74\x75\x70")->toString() . "\77\166\151\145\x77\x44\x65\164\x61\151\x6c\163\x3d\164\162\165\145";
        $form["\x6d\157\x5f\x73\165\155\x6d\141\x72\171\137\157\153\164\x61\137\150\145\x61\144\x65\162\137\163\x74\x79\x6c\x65"] = ["\x23\155\141\162\x6b\x75\x70" => t("\74\x64\151\166\x20\x63\154\141\163\x73\75\x22\x6d\157\x5f\x6f\153\x74\141\137\x68\x65\x61\144\145\162\x5f\x63\x6f\156\x74\141\151\156\x65\x72\x5f\163\x75\155\155\x61\x72\x79\42\76")];
        $form["\144\162\x75\160\141\x6c\137\x74\x6f\x5f\x6f\153\x74\x61\137\x72\x65\166\151\x65\167\x5f\143\157\156\146\x69\147\x75\x72\x61\x74\151\x6f\156\x5f\142\165\164\164\x6f\156"] = ["\43\164\x79\x70\145" => "\x6c\151\x6e\x6b", "\43\164\x69\x74\x6c\145" => t("\122\x65\x76\x69\145\x77\x20\x4f\153\x74\141\x20\x43\157\x6e\x66\151\147\x75\162\141\x74\x69\x6f\156\x20\74\141\x20\x63\x6c\x61\x73\x73\75\42\142\165\x74\164\x6f\156\x20\x62\165\164\x74\157\156\x2d\x2d\x70\162\151\x6d\141\x72\171\42\x20\150\162\145\x66\75\x22" . $VJ . "\x22\x3e\x56\x69\x65\x77\x20\x58\145\143\165\162\151\146\171\x20\101\x63\143\x6f\165\156\164\x20\104\145\164\141\151\154\163\74\57\x61\x3e"), "\43\x75\x72\x6c" => Url::fromRoute("\157\153\164\x61\137\x75\163\145\162\137\x73\171\x6e\143\56\162\145\166\151\x65\167\117\x6b\164\x61\x43\157\156\x66\x69\x67\x75\162\141\164\151\157\156"), "\x23\x61\x74\164\x72\151\x62\x75\x74\145\x73" => ["\x63\154\x61\163\x73" => ["\142\x75\164\x74\x6f\x6e", "\x62\x75\164\164\x6f\x6e\55\55\160\x72\151\x6d\141\x72\171", "\x75\x73\x65\55\x61\x6a\x61\x78", "\152\163\55\x66\157\x72\x6d\x2d\x73\x75\x62\155\151\164", "\x66\157\x72\x6d\x2d\x73\x75\x62\155\151\164"], "\144\141\164\x61\x2d\x64\x69\141\x6c\x6f\147\55\164\x79\160\145" => "\155\157\x64\x61\x6c", "\144\141\x74\141\x2d\x64\x69\141\x6c\157\147\55\157\160\164\x69\157\x6e\163" => json_encode(["\167\x69\144\164\x68" => "\66\x35\x25"])]];
        \Drupal::configFactory()->getEditable("\157\x6b\164\141\x5f\165\163\x65\x72\x5f\x73\x79\x6e\x63\56\163\x65\x74\x74\151\156\147\163")->set("\x6f\x6b\164\141\x5f\x75\x73\x65\x72\x5f\163\x79\156\143\137\x73\x74\141\164\x75\x73\x31", "\157\x6b\164\141\137\x74\157\137\x64\x72\165\160\141\154")->save();
        $this->oktaManualDrupalProvisioning($form, $form_state);
        $this->schedulerBasedProvisioning($form, $form_state);
        $this->mapping($form, $form_state);
        $form["\x6f\153\x74\x61\x5f\x74\x6f\x5f\144\x72\165\x70\141\154\137\x73\141\x76\x65\137\x62\165\164\x74\x6f\156"] = ["\x23\164\171\160\145" => "\163\165\142\x6d\151\164", "\x23\166\141\x6c\x75\x65" => t("\123\x61\x76\x65\40\123\145\x74\x74\151\x6e\x67\163"), "\x23\142\165\164\164\x6f\156\x5f\164\171\160\x65" => "\160\x72\151\x6d\141\162\x79", "\43\144\x69\x73\141\x62\154\145\144" => $this->disabled];
        $AV = new MoOktaHelper();
        $AV->moOktaShowCustomerSupportIcon($form, $form_state);
        return $form;
    }
    private function oktaManualDrupalProvisioning(array &$form, FormStateInterface $form_state)
    {
        $F3 = "\x3c\x61\x20\x68\162\x65\146\x20\75\x20\x22\157\153\x74\x61\137\165\160\147\x72\141\144\145\137\160\154\141\x6e\x73\42\x20\x3e\x5b\x50\122\x45\115\x49\125\115\135\74\x2f\x61\76";
        $form["\x6d\x6f\137\157\153\x74\141\137\x70\x72\157\166\151\163\151\157\x6e\151\156\x67\x5f\x66\x69\x65\x6c\x64\x73\145\x74"] = ["\x23\164\171\x70\x65" => "\146\x69\145\154\x64\163\x65\x74", "\x23\x74\x69\x74\x6c\x65" => t("\115\x61\x6e\165\141\154\40\120\162\157\166\151\163\151\x6f\156\151\156\x67\x20\x43\157\156\146\x69\x67\x75\x72\141\x74\x69\x6f\x6e\40") . "\x3c\150\162\x3e", "\43\x61\164\164\162\x69\142\165\x74\x65\x73" => ["\163\164\x79\x6c\145" => "\142\157\170\x2d\163\x68\141\x64\157\x77\72\x20\156\x6f\156\x65\54", "\x63\x6c\141\x73\163" => ["\x66\151\x65\154\144\137\x73\145\x74\137\x6c\x61\142\145\154\x5f\143\x73\x73"]]];
        $form["\155\x6f\x5f\157\x6b\164\x61\137\160\162\x6f\x76\151\x73\x69\157\x6e\x69\156\147\137\146\151\145\x6c\144\x73\145\x74"]["\x6f\153\x74\x61\137\160\162\157\166\151\x73\151\x6f\156\x69\156\147\x5f\x6f\x70\x65\162\x61\164\x69\x6f\x6e\x73"] = ["\x23\x74\x79\160\x65" => "\164\141\x62\154\x65", "\43\x72\x65\x73\x70\x6f\x6e\163\x69\x76\145" => true, "\43\x61\164\164\x72\x69\x62\x75\x74\145\163" => ["\x63\x6c\141\x73\163" => ["\155\157\x5f\157\x6b\x74\141\137\160\x72\157\166\151\163\x69\157\156\x69\156\147\137\x6f\x70\145\162\x61\164\x69\157\x6e\163\x5f\164\x61\142\154\x65"]]];
        $ru = $this->moProvisioningOperations("\155\141\156\x75\x61\154");
        $form["\155\x6f\x5f\x6f\153\164\141\x5f\160\x72\157\166\151\163\151\x6f\156\151\156\147\x5f\x66\x69\145\154\144\x73\x65\x74"]["\x6f\153\x74\x61\137\x70\x72\x6f\x76\151\x73\x69\157\156\151\x6e\147\137\157\x70\x65\x72\x61\164\151\157\156\163"]["\x6f\160\x65\x72\141\164\x69\157\x6e\x73"] = $ru;
        $form["\x6d\x6f\137\x6f\153\164\141\137\x70\162\x6f\x76\151\163\151\x6f\x6e\x69\x6e\147\x5f\x66\151\145\154\x64\x73\145\x74"]["\x63\x72\x65\141\x74\145\137\x75\163\x65\162\x5f\x66\x69\145\154\x64\x73\145\164"] = ["\x23\x74\171\x70\145" => "\146\x69\145\154\144\x73\145\x74", "\x23\x74\x69\x74\x6c\x65" => $this->t("\x53\x79\x6e\143\x20\x55\163\145\162\163\x20") . "\x3c\150\162\x3e", "\43\x61\x74\x74\162\151\x62\x75\164\x65\163" => ["\x73\x74\171\x6c\145" => "\142\157\x78\55\163\x68\141\x64\x6f\167\72\40\156\x6f\x6e\x65"]];
        $form["\x6d\x6f\137\x6f\153\x74\x61\137\160\x72\x6f\x76\x69\x73\x69\157\156\x69\x6e\147\x5f\146\x69\145\x6c\x64\x73\145\164"]["\x63\162\145\141\164\x65\x5f\165\163\145\x72\x5f\146\x69\145\x6c\144\163\145\x74"]["\155\x6f\137\157\x6b\164\141\137\x64\x72\165\160\141\x6c\x5f\165\x73\145\x72\x6e\x61\x6d\x65"] = ["\43\x74\171\160\x65" => "\x65\x6d\x61\151\x6c", "\43\141\164\x74\162\x69\x62\x75\164\x65\x73" => ["\x70\x6c\141\143\x65\x68\x6f\154\144\x65\x72" => "\x53\145\141\162\143\x68\40\x4f\153\x74\141\40\x75\163\145\162\156\x61\155\x65\40\157\x66\x20\165\x73\145\162\x20\164\157\x20\x73\x79\156\x63"], "\43\144\151\x73\141\x62\x6c\145\x64" => $this->disabled, "\43\160\162\x65\x66\x69\170" => "\x3c\x70\x20\x63\154\x61\x73\x73\x3d\x22\155\157\x5f\x6f\x6b\x74\x61\x5f\x68\x69\147\150\154\151\x67\x68\164\137\x62\141\x63\153\x67\x72\157\x75\156\144\42\76\x3c\x73\x74\162\x6f\156\147\x3e\x4e\157\164\145\x3a\x3c\x2f\163\164\162\157\156\x67\76\x20\123\x65\x61\162\x63\x68\x20\164\150\145\40\x75\163\145\x72\156\x61\155\145\40\157\146\x20\165\x73\145\162\x20\x70\162\145\x73\145\156\164\40\x69\x6e\x20\x4f\x6b\x74\141\40\164\157\x20\163\171\x6e\143\40\x69\164\x20\x74\x6f\x20\164\x68\145\40\x44\162\165\160\141\154\56\x3c\57\x70\76\x3c\144\151\x76\40\x63\x6c\141\163\163\75\42\143\157\x6e\x74\x61\x69\156\145\x72\55\151\x6e\154\x69\x6e\145\42\x3e"];
        $form["\x6d\157\x5f\157\x6b\164\x61\137\x70\162\x6f\x76\x69\163\x69\157\x6e\151\x6e\x67\137\x66\x69\145\154\144\163\x65\164"]["\x63\162\x65\x61\x74\x65\x5f\165\163\x65\162\x5f\146\151\x65\x6c\x64\163\x65\164"]["\x6d\157\137\157\153\164\x61\x5f\163\171\x6e\143\x5f\x62\x75\x74\164\x6f\x6e"] = ["\x23\164\x79\160\x65" => "\x73\x75\x62\155\x69\164", "\43\x76\x61\154\165\x65" => t("\123\x79\156\x63"), "\43\142\x75\x74\x74\157\156\137\164\x79\x70\145" => "\160\x72\151\155\141\x72\171", "\43\163\x75\x62\155\x69\x74" => ["\72\x3a\x53\x79\156\143\125\163\145\162"], "\x23\141\x74\x74\162\151\142\165\164\x65\x73" => ["\x63\x6c\x61\163\163" => ["\155\x6f\137\157\x6b\x74\141\x5f\163\x79\x6e\x63\x5f\x62\x75\164\164\157\x6e"]], "\43\x64\151\x73\x61\x62\154\x65\144" => $this->disabled];
        $form["\x6d\x6f\137\x6f\x6b\164\141\x5f\160\162\x6f\166\x69\163\x69\x6f\156\x69\156\x67\x5f\146\x69\x65\154\144\x73\145\x74"]["\143\162\145\141\x74\145\x5f\165\163\145\x72\x5f\146\151\x65\154\x64\163\145\x74"]["\155\x6f\x5f\157\153\x74\x61\x5f\163\171\156\143\x5f\141\154\x6c\137\142\165\164\164\157\156"] = ["\x23\164\x79\x70\x65" => "\163\165\142\155\151\x74", "\x23\166\x61\x6c\x75\x65" => t("\123\171\x6e\143\40\x41\x6c\154\40\125\163\145\162\163"), "\43\142\165\x74\x74\157\156\x5f\x74\171\160\x65" => "\x70\162\151\x6d\141\162\171", "\x23\x61\x74\164\x72\151\x62\165\164\145\x73" => ["\143\x6c\x61\x73\163" => ["\x6d\x6f\x5f\x6f\x6b\164\141\137\x73\171\156\x63\137\141\x6c\154\x5f\142\165\164\x74\x6f\x6e"]], "\43\x64\151\163\141\142\154\145\x64" => $this->disabled, "\43\163\x75\x62\x6d\151\x74" => ["\72\72\x53\x79\156\x63\x41\154\x6c\x55\163\145\x72\x73"]];
        return $form;
    }
    public function SyncAllUsers()
    {
        if (!(empty(\Drupal::config("\x75\163\x65\162\x5f\160\x72\x6f\166\x69\163\x69\157\156\x69\156\147\x2e\163\x65\x74\x74\151\156\x67\163")->get("\155\157\137\165\163\145\x72\x5f\x70\162\x6f\x76\151\163\x69\157\156\x69\x6e\147\137\143\165\x73\x74\x6f\155\x65\x72\x5f\141\x64\x6d\x69\x6e\137\x65\155\x61\151\x6c")) || \Drupal::config("\x75\163\145\162\137\x70\x72\x6f\166\151\x73\x69\x6f\156\151\156\x67\x2e\163\145\164\164\x69\x6e\x67\163")->get("\155\157\137\165\163\x65\162\x5f\160\x72\157\x76\x69\163\x69\x6f\x6e\151\156\147\137\x6c\x69\x63\x65\x6e\163\x65\137\153\145\x79"))) {
            goto ds;
        }
        \Drupal::messenger()->addMessage("\120\x6c\x65\x61\x73\x65\40\154\x6f\x67\x69\156\x20\164\x6f\40\x74\150\145\x20\x6d\157\144\x75\154\x65\x20\x74\x6f\x20\163\171\x6e\x63\x20\x75\x73\145\162\163\x20\146\x72\157\155\40\117\x6b\164\x61\40\164\157\40\104\x72\165\160\x61\x6c\x2e");
        ds:
        $D3 = $this->config->get("\157\153\164\141\137\165\163\x65\x72\137\x73\x79\156\x63\137\x62\141\x73\x65\x5f\165\x72\x6c");
        $url = $this->config->get('okta_user_sync_next_url');
        if (empty($url)) {
            $YY = MoOktaHelper::creatUrlForTesting($D3);
        }
        else {
            $YY = $url;
        }
        $next_url = FALSE;
        $users = [];
        $xK = (new MoOktaHelper())->getUserFromOkta($YY, TRUE);

        $users = json_decode($xK->getBody()->getContents(), TRUE);
        $headers = $xK->getHeaders();

        if (!empty($headers['link'])) {
            $links = $headers['link'];
            foreach ($links as $link) {
                if (strpos($link, 'rel="next"') !== false) {
                    $next_url = explode('>', $link)[0];
                    $next_url = substr($next_url, 1);
                }
            }
        }

        $this->config_factory->set('okta_user_sync_next_url', $next_url)->save();
        if (empty($next_url)) {
            \Drupal::messenger()->addMessage("No further userpages found. Beginning anew.");
        }
        if (!empty($users)) {
            MoOktaHelper::ProcessUsersInBatches($users);
        }
    }
    public function SyncUser(array &$form, FormStateInterface $form_state)
    {
        $vN = \Drupal::configFactory()->getEditable("\x6f\x6b\164\141\x5f\165\x73\x65\x72\137\163\x79\156\143\x2e\x73\x65\x74\164\151\156\x67\x73");
        $CB = $form_state->getValues();
        $RS = $CB["\155\157\x5f\157\153\x74\x61\x5f\x64\x72\x75\160\x61\154\x5f\x75\x73\x65\162\156\141\155\x65"];
        $D3 = $vN->get("\x6f\153\164\141\137\165\163\145\x72\137\163\171\x6e\143\x5f\142\x61\x73\x65\137\165\x72\x6c");
        $aT = MoOktaHelper::creatUrlForTesting($D3, $RS);
        $xK = json_decode((new MoOktaHelper())->getUserFromOkta($aT), TRUE);
        if ($this->config->get("\157\x6b\x74\141\137\164\x6f\137\144\x72\165\160\141\x6c\137\155\141\x6e\x75\141\154\137\143\162\x65\141\x74\145")) {
            goto kF;
        }
        $this->messenger->addMessage(t("\120\x6c\x65\x61\x73\x65\x20\x65\x6e\141\x62\154\145\x20\164\x68\145\40\x6f\x70\145\x72\141\164\x69\157\156\163\x20\x74\x68\x61\x74\40\171\157\x75\40\x77\151\163\x68\x20\164\157\x20\x70\x65\162\x66\157\162\x6d\x20\165\160\x6f\x6e\40\155\x61\156\165\x61\154\x20\x70\x72\x6f\166\151\x73\x69\x6f\156\x69\x6e\x67\x2e"));
        goto YB;
        kF:
        try {
            if (is_null($xK)) {
                goto x1;
            }
            MoOktaHelper::createUserFromOkta($xK);
            $this->messenger->addStatus(t("\x54\150\145\x20\x75\163\x65\162\40" . $xK["\160\x72\157\x66\151\x6c\145"]["\154\157\x67\x69\x6e"] . "\x68\141\x73\40\142\x65\x65\156\40\163\165\x63\x63\x65\x73\163\x66\x75\154\154\171\x20\160\162\x6f\x76\x69\x73\151\x6f\x6e\x65\x64\x20\164\157\x20\164\150\145\40\104\x72\x75\x70\141\154\40\163\151\164\x65\56"));
            x1:
        } catch (\Exception $hL) {
            $xz = user_load_by_mail($RS);
            if ($xz != null) {
                goto a9;
            }
            $this->messenger->addStatus(t("\x50\154\145\x61\163\x65\x20\145\x6e\164\145\x72\x20\x61\x20\x76\x61\x6c\x69\x64\40\x65\155\x61\151\x6c\40\141\x64\x64\x72\x65\x73\163\x2e"));
            goto wN;
            a9:
            $GO = \Drupal::database()->select("\165\x73\x65\162\163\x5f\146\151\x65\x6c\144\137\x64\x61\164\x61", "\164")->fields("\164", ["\165\x69\144", "\165\163\145\x72\137\143\162\145\x61\164\145\144\x5f\x76\x69\141"])->condition("\x6d\141\151\x6c", $xz->getEmail(), "\x3d")->execute()->fetchAll();
            if ($GO[0]->user_created_via == "\117\113\124\101") {
                goto m8;
            }
            $this->messenger->addStatus(t("\120\154\x65\141\163\145\40\145\x6e\x74\145\162\40\141\x20\x76\141\x6c\x69\144\40\145\155\x61\x69\x6c\x20\141\144\144\162\x65\x73\x73\56"));
            goto C4;
            m8:
            $xz->status = 0;
            $xz->save();
            $this->messenger->addStatus(t("\124\150\x65\40\165\x73\x65\x72\40" . $xK["\x70\162\x6f\146\x69\154\x65"]["\x6c\x6f\147\x69\156"] . "\150\x61\163\x20\x62\145\x65\x6e\40\144\x65\x6c\x65\164\x65\144\x20\x66\162\x6f\x6d\40\x4f\x4b\124\x41\x2e\40\103\x6f\x72\162\x65\163\160\x6f\156\144\151\156\x67\40\165\163\145\x72\40\x77\x61\x73\40\142\x6c\x6f\x63\153\x65\144\x20\x6f\x6e\40\104\162\165\x70\141\x6c\x2e"));
            C4:
            wN:
        }
        YB:
    }
    private function moProvisioningOperations($cE) : array
    {
        $Zt = \Drupal::config("\x6f\x6b\x74\141\137\165\x73\145\x72\137\163\x79\x6e\143\x2e\x73\x65\164\x74\x69\156\147\x73");
        $ru["\162\x65\141\144\137\x75\x73\x65\162\137" . $cE . "\x5f\157\x6b\164\x61"] = ["\43\x74\x79\160\145" => "\x63\x68\145\x63\x6b\142\157\170", "\43\164\x69\x74\154\x65" => t("\122\x65\141\144\40\x75\163\145\x72"), "\43\144\145\x66\141\x75\x6c\164\137\166\x61\154\x75\145" => $Zt->get("\x6f\153\x74\x61\x5f\x74\x6f\x5f\144\x72\x75\x70\141\154\137" . $cE . "\x5f\162\145\141\144"), "\x23\x64\151\x73\x61\142\x6c\145\144" => $this->disabled, "\43\160\162\145\x66\x69\170" => "\x3c\x64\x69\x76\40\143\x6c\141\x73\163\75\42\x63\157\156\164\141\151\156\x65\x72\x2d\151\156\x6c\x69\156\x65\42\x3e"];
        $ru["\143\x72\145\141\x74\x65\x5f\x75\x73\145\162\137" . $cE . "\x5f\157\153\164\x61"] = ["\43\164\x79\160\x65" => "\x63\x68\x65\143\x6b\142\x6f\x78", "\x23\x74\151\164\x6c\145" => t("\103\x72\x65\141\x74\145\40\165\163\x65\x72\x20"), "\43\144\x65\x66\x61\x75\154\164\x5f\166\141\154\165\145" => $Zt->get("\157\153\164\141\x5f\164\x6f\x5f\x64\x72\165\160\x61\154\x5f" . $cE . "\x5f\143\162\x65\x61\164\145"), "\x23\144\x69\x73\141\142\x6c\x65\x64" => $this->disabled];
        $ru["\x75\160\x64\x61\164\x65\x5f\165\x73\x65\162\137" . $cE . "\137\157\153\164\141"] = ["\x23\164\171\160\145" => "\x63\x68\x65\x63\x6b\x62\x6f\x78", "\43\x74\x69\164\154\x65" => t("\x55\x70\144\x61\x74\x65\40\165\163\145\x72"), "\x23\144\x65\x66\x61\165\154\x74\137\166\x61\154\x75\x65" => $Zt->get("\x6f\153\x74\x61\137\x74\157\137\144\x72\x75\x70\x61\x6c\x5f" . $cE . "\x5f\165\160\144\x61\x74\x65"), "\43\144\151\x73\141\142\154\x65\x64" => $this->disabled];
        $ru["\x64\145\x6c\x65\x74\145\137\x75\163\145\162\x5f" . $cE . "\x5f\x6f\x6b\x74\x61"] = ["\43\164\171\160\145" => "\143\150\145\x63\153\142\157\170", "\43\164\151\164\154\145" => t("\104\145\154\x65\x74\x65\40\165\x73\145\162"), "\x23\144\145\x66\141\165\x6c\164\x5f\x76\x61\154\x75\x65" => $Zt->get("\x6f\x6b\164\141\x5f\164\x6f\137\x64\x72\165\x70\x61\154\x5f" . $cE . "\x5f\x64\145\x6c\145\x74\145"), "\43\x64\151\x73\x61\142\154\x65\x64" => $this->disabled];
        return $ru;
    }
    private function schedulerBasedProvisioning(array &$form, FormStateInterface $form_state)
    {
        $Zt = \Drupal::config("\x6f\153\164\x61\137\165\x73\x65\x72\x5f\x73\x79\156\143\56\x73\145\x74\x74\151\156\147\163");
        $F3 = "\74\141\40\150\x72\145\x66\40\x3d\40\x22\157\153\x74\141\137\165\x70\x67\162\x61\x64\145\x5f\x70\154\141\156\x73\x22\x20\x3e\x5b\x50\x52\105\115\x49\125\x4d\135\74\57\x61\x3e";
        $form["\155\157\137\x6f\153\x74\x61\x5f\x73\x63\150\x65\144\x75\154\145\162\137\160\162\x6f\166\151\163\151\x6f\156\x69\156\x67\x5f\146\151\145\x6c\x64\x73\145\164"] = ["\x23\164\x79\160\145" => "\x66\x69\x65\154\144\163\145\164", "\43\164\151\164\154\x65" => t("\x53\143\150\145\144\165\154\145\x72\40\102\x61\163\x65\x64\x20\120\x72\157\x76\151\163\151\157\156\x69\156\x67\40\103\x6f\156\146\151\147\165\x72\x61\164\151\157\x6e\x20") . "\74\150\x72\x3e", "\43\x61\x74\164\162\x69\x62\x75\164\x65\163" => ["\143\154\x61\x73\x73" => ["\x66\x69\x65\x6c\144\137\163\145\164\x5f\x6c\x61\142\x65\154\x5f\143\x73\163"]]];
        $form["\x6d\157\x5f\157\153\164\141\x5f\163\143\150\145\x64\x75\x6c\x65\x72\137\160\162\x6f\x76\x69\x73\x69\x6f\x6e\151\x6e\147\137\x66\x69\x65\154\144\x73\x65\164"]["\x61\165\164\x6f\137\143\x72\x65\x61\164\x69\157\x6e"] = ["\43\x74\x79\x70\145" => "\143\x68\145\143\153\142\x6f\x78", "\x23\164\151\x74\x6c\145" => t("\123\x63\x68\x65\144\x75\x6c\x65\x72\x20\102\141\x73\145\144\x20\x50\162\x6f\x76\151\x73\x69\x6f\156\x69\x6e\x67\x20\x6f\x6e\40\103\122\117\x4e"), "\x23\x64\x65\146\x61\x75\x6c\x74\137\166\x61\x6c\165\145" => $Zt->get("\145\x6e\141\142\x6c\x65\x5f\163\x63\150\x65\144\x75\x6c\145\162\137\160\x72\x6f\166\x69\163\151\x6f\x6e\151\156\x67\137\157\156\137\x63\x72\x6f\156"), "\x23\x64\x65\x73\x63\x72\151\160\x74\151\x6f\156" => t("\x45\156\x61\142\154\151\x6e\147\40\x74\x68\x69\163\x20\143\150\145\143\153\x62\157\170\40\x77\x69\x6c\x6c\x20\163\x79\x6e\x63\40\165\163\x65\162\x73\40\x66\x72\x6f\x6d\x20\x4f\153\164\141\40\164\x6f\40\x44\162\x75\160\x61\154\40\167\150\x65\x6e\145\166\145\x72\40\103\x52\117\x4e\40\x72\165\x6e\x73\x20\x6f\156\x20\164\150\x65\40\163\x69\x74\145\56"), "\43\x64\151\163\x61\142\x6c\x65\x64" => $this->disabled];
        $form["\x6d\x6f\x5f\x6f\153\x74\x61\x5f\x73\x63\150\145\x64\x75\x6c\145\x72\137\160\162\157\166\x69\x73\x69\157\156\x69\x6e\147\x5f\x66\151\x65\154\144\x73\145\x74"]["\x61\154\x6c\157\167\145\144\137\x6f\x70\145\162\x61\164\157\156\163"] = ["\43\155\141\x72\x6b\x75\160" => "\x3c\144\x69\x76\76\123\145\154\x65\143\x74\40\146\162\157\155\40\157\160\145\x72\x61\164\x69\157\156\163\40\x66\x72\x6f\x6d\40\142\x65\154\x6f\167\40\164\x68\141\164\40\171\x6f\165\40\167\x61\x6e\164\40\164\157\x20\x61\154\154\157\167\72\74\x2f\144\151\x76\x3e"];
        $form["\155\x6f\x5f\x6f\153\164\x61\x5f\163\x63\150\145\x64\x75\154\145\162\137\160\162\x6f\166\x69\x73\x69\157\x6e\x69\156\147\x5f\146\x69\145\154\x64\x73\x65\x74"]["\x6f\x6b\164\141\137\x70\162\x6f\166\x69\x73\x69\157\156\x69\156\x67\137\157\x70\x65\162\141\x74\x69\x6f\156\163"] = ["\43\164\171\x70\x65" => "\164\x61\142\x6c\145", "\x23\x72\x65\163\x70\x6f\x6e\163\151\x76\x65" => true, "\x23\x61\x74\x74\162\151\142\165\164\145\x73" => ["\x63\154\x61\x73\x73" => ["\155\x6f\x5f\x6f\153\x74\x61\x5f\x70\x72\157\x76\151\x73\151\x6f\x6e\x69\156\x67\137\157\x70\145\162\141\x74\x69\x6f\x6e\x73\137\164\x61\142\x6c\145"]]];
        $ru = $this->moProvisioningOperations("\163\143\150\145\x64\x75\x6c\x65\x72");
        $form["\155\157\x5f\157\153\x74\141\137\x73\143\150\x65\144\165\x6c\145\x72\137\x70\162\x6f\166\x69\163\151\157\156\x69\156\147\137\x66\151\145\154\x64\163\x65\164"]["\x6f\x6b\x74\141\137\x70\162\x6f\x76\151\163\x69\x6f\156\x69\x6e\x67\x5f\157\160\145\x72\141\164\x69\157\x6e\163"]["\157\x70\x65\162\141\164\151\x6f\156\x73"] = $ru;
        return $form;
    }
    private function mapping(array &$form, FormStateInterface $form_state)
    {
        $F3 = "\74\x61\x20\150\162\145\146\40\x3d\40\x22\157\153\x74\141\x5f\165\x70\x67\x72\x61\144\x65\x5f\x70\154\141\x6e\163\x22\40\76\133\x50\x52\x45\x4d\x49\125\x4d\135\x3c\57\141\x3e";
        $form["\155\157\137\157\153\164\x61\x5f\x6d\x61\160\160\151\156\x67\137\146\151\x65\x6c\x64\163\x65\164"] = ["\43\164\x79\x70\145" => "\146\x69\145\x6c\144\x73\145\x74", "\x23\x74\151\x74\154\x65" => $this->t("\115\141\x70\160\151\156\147\40") . "\74\150\x72\76"];
        $this->basicAttributeMapping($form, $form_state);
        $this->customAttributeMapping($form, $form_state);
        return $form;
    }
    private function basicAttributeMapping(array &$form, FormStateInterface $form_state)
    {
        $Zt = \Drupal::config("\x6f\x6b\x74\141\x5f\x75\x73\145\162\137\163\171\x6e\x63\x2e\x73\145\164\164\x69\156\x67\163");
        $jr = $Zt->get("\155\157\137\x6f\x6b\x74\x61\137\x61\x74\164\x72\x5f\x6c\151\163\x74\137\146\162\157\155\137\163\x65\x72\x76\x65\162") !== null ? json_decode($Zt->get("\155\x6f\x5f\157\x6b\164\141\137\141\164\164\162\x5f\154\x69\x73\164\137\146\162\x6f\x6d\137\163\x65\x72\x76\145\x72")) : array();
        $MU = [];
        if (empty($jr)) {
            goto U3;
        }
        foreach ($jr as $MA => $rk) {
            $MU[$MA] = $MA;
            DY:
        }
        sw:
        U3:
        $form["\x6d\157\137\157\x6b\x74\x61\x5f\155\x61\160\x70\151\x6e\147\x5f\146\151\x65\x6c\x64\x73\x65\x74"]["\155\157\137\157\x6b\x74\141\137\x62\141\x73\151\x63\137\x6d\x61\x70\160\151\x6e\147\137\146\151\x65\x6c\x64\163\145\x74"]["\157\x6b\164\141\137\141\x74\x74\162\151\142\x75\164\x65\x5f\155\x61\x70\160\x69\x6e\147"] = ["\43\x74\x79\160\145" => "\x66\151\145\x6c\144\x73\145\x74", "\x23\x61\164\164\x72\151\142\165\164\145\x73" => ["\x73\164\171\x6c\145" => "\142\x6f\170\55\x73\150\141\x64\157\167\72\40\156\157\x6e\145"], "\x23\164\151\164\x6c\x65" => $this->t("\102\141\x73\x69\x63\x20\101\x74\x74\162\x69\x62\165\164\x65\40\115\x61\x70\x70\x69\156\147\x3c\x68\x72\76"), "\43\144\x69\x73\x61\x62\154\x65\144" => $this->disabled];
        $SY = $Zt->get("\157\x6b\164\x61\x5f\x75\163\x65\x72\137\x73\x79\156\x63\137\x62\141\x73\x69\143\137\165\x73\x65\x72\156\x61\x6d\145\x5f\x6d\x61\x70\160\x69\x6e\147") ?? "\154\x6f\147\x69\x6e";
        $O1 = $Zt->get("\x6f\153\x74\141\137\x75\163\x65\x72\137\163\x79\156\x63\x5f\142\141\163\x69\143\x5f\155\141\151\154\137\155\141\160\x70\151\156\x67") ?? "\145\155\141\x69\x6c";
        $form["\155\157\137\x6f\153\x74\x61\137\x6d\x61\160\160\x69\156\147\137\x66\x69\145\x6c\x64\x73\145\x74"]["\155\157\137\157\x6b\164\x61\x5f\142\x61\163\151\143\x5f\x6d\141\x70\160\x69\x6e\x67\x5f\x66\x69\x65\154\144\163\145\x74"]["\x6f\x6b\x74\141\x5f\141\164\164\162\151\x62\165\x74\145\137\155\141\160\x70\151\x6e\147"]["\157\x6b\x74\141\x5f\x75\163\x65\162\x6e\141\155\x65\137\141\x74\x74\162\x69\x62\x75\164\x65"] = ["\x23\164\171\160\145" => "\x73\x65\x6c\x65\x63\164", "\43\164\151\x74\154\145" => t("\125\163\x65\162\x6e\x61\x6d\x65\x20\x41\x74\164\162\x69\142\x75\164\x65"), "\x23\x61\x74\x74\162\x69\142\x75\x74\145\x73" => array("\x73\x74\171\x6c\145" => "\x77\151\x64\x74\150\x3a\x37\65\x25", "\x70\x6c\x61\x63\145\x68\157\154\144\145\x72" => "\x45\156\164\145\162\40\x55\163\x65\x72\156\x61\155\x65\x20\x61\x74\x74\162\151\142\x75\x74\x65"), "\43\x64\x65\146\141\x75\154\x74\137\x76\141\154\165\x65" => isset($MU[$SY]) ? $MU[$SY] : "\x6c\157\147\x69\156", "\43\x6f\x70\x74\151\157\156\x73" => $MU, "\43\160\x72\x65\146\x69\x78" => "\x3c\x64\151\166\x3e\x3c\164\x61\142\154\x65\40\x63\154\141\163\x73\x3d\42\x6d\x6f\x5f\x62\141\x73\x69\143\x5f\x61\164\164\162\x69\142\x75\x74\x65\x5f\x6d\x61\x70\160\151\x6e\x67\137\164\141\142\154\x65\x22\76\74\x74\x72\x3e\74\x74\144\76", "\x23\x73\x75\x66\x66\x69\x78" => "\74\57\x74\x64\76"];
        $form["\155\x6f\137\157\153\164\x61\137\x6d\x61\x70\x70\151\x6e\147\x5f\x66\x69\145\x6c\144\163\145\164"]["\155\157\137\157\153\164\141\x5f\142\141\163\151\143\x5f\155\141\160\x70\x69\x6e\x67\137\x66\x69\145\x6c\x64\x73\145\164"]["\x6f\153\x74\141\137\x61\164\x74\x72\151\142\x75\164\x65\x5f\155\x61\160\160\151\x6e\x67"]["\157\x6b\x74\x61\137\x65\155\x61\151\x6c\x5f\x61\164\x74\x72\151\x62\x75\164\145"] = ["\43\164\171\160\145" => "\x73\x65\154\145\x63\164", "\x23\164\151\x74\154\x65" => t("\x45\x6d\141\x69\x6c\40\x41\x74\x74\x72\x69\x62\x75\x74\x65"), "\x23\x64\145\146\x61\x75\154\164\x5f\x76\141\154\165\x65" => isset($MU[$O1]) ? $MU[$O1] : "\145\155\x61\x69\154", "\x23\157\x70\164\x69\157\156\163" => $MU, "\x23\x61\x74\x74\x72\151\142\x75\x74\145\x73" => array("\x73\164\x79\x6c\x65" => "\167\151\144\164\150\72\67\x35\45", "\x70\154\x61\143\145\150\157\154\x64\x65\x72" => "\x45\156\164\x65\162\40\105\155\x61\x69\154\x20\141\x74\x74\x72\151\x62\x75\164\x65"), "\x23\160\162\x65\146\x69\x78" => "\74\164\x64\76", "\x23\x73\165\146\x66\x69\x78" => "\x3c\57\x74\x64\x3e\x3c\x2f\164\162\76\x3c\x2f\164\141\142\154\145\x3e\x3c\x2f\x64\151\x76\x3e"];
        return $form;
    }
    private function customAttributeMapping(array &$form, FormStateInterface $form_state)
    {
        $Zt = \Drupal::config("\x6f\153\x74\x61\x5f\x75\x73\x65\x72\137\x73\x79\156\143\x2e\x73\x65\164\164\x69\156\147\163");
        $jr = $Zt->get("\x6d\157\137\x6f\x6b\164\141\x5f\141\x74\164\162\137\154\x69\163\164\137\146\x72\157\155\x5f\163\x65\x72\166\x65\x72") !== null ? json_decode($Zt->get("\155\157\137\x6f\153\x74\141\137\x61\164\x74\162\137\154\151\163\x74\137\146\162\x6f\155\x5f\163\145\162\166\145\162")) : array();
        $MU = [];
        if (empty($jr)) {
            goto ei;
        }
        foreach ($jr as $MA => $rk) {
            $MU[$MA] = $MA;
            o7:
        }
        sW:
        ei:
        $F1 = $Zt->get("\155\x6f\137\x6f\153\164\x61\137\163\x79\x6e\x63\x5f\x6d\141\160\160\x69\x6e\x67") !== null ? json_decode($Zt->get("\155\157\137\x6f\x6b\164\141\x5f\163\x79\x6e\x63\137\155\x61\x70\x70\x69\156\147"), true) : array();
        $form["\x6d\157\137\x6f\153\164\141\137\155\x61\160\160\151\156\x67\137\x66\151\145\x6c\144\x73\x65\x74"]["\155\x6f\x5f\x6f\153\164\141\137\143\165\x73\x74\x6f\155\137\155\141\160\x70\151\x6e\147\137\146\x69\x65\154\144\163\145\164"] = ["\43\x74\x79\x70\x65" => "\x66\151\x65\154\144\163\145\x74", "\43\x74\151\164\154\145" => t("\103\165\x73\x74\x6f\x6d\40\x41\164\164\162\151\x62\165\164\x65\40\x4d\x61\x70\160\151\x6e\x67") . "\74\150\162\76", "\43\x61\164\x74\162\151\x62\x75\x74\x65\x73" => ["\163\164\171\x6c\145" => "\142\157\170\55\163\x68\141\x64\157\x77\x3a\x20\x6e\157\x6e\x65"]];
        $Oa = $F1;
        $Z0 = ["\157\x6b\x74\141\x5f\141\164\164\162" => $this->t("\117\x6b\164\x61\40\125\x73\145\162\x20\x41\x74\164\x72\151\142\x75\x74\145"), "\x64\162\x75\x70\141\x6c\x5f\x61\x74\x74\162" => $this->t("\104\162\x75\160\141\154\40\125\x73\x65\162\x20\x41\164\164\x72\151\142\x75\x74\145"), "\144\145\x6c\145\164\145" => ''];
        $L1 = [1 => $MU, 2 => moUserProvisioningUtilities::customUserFields()];
        $BE = $this->getFieldsList();
        $m0 = AjaxTables::getUniqueID($form_state->get("\165\156\151\x71\165\x65\x5f\151\x64"), $Oa);
        $form_state->set("\165\156\151\x71\x75\145\x5f\151\x64", $m0);
        $form["\x6d\157\x5f\157\153\164\141\x5f\155\x61\x70\160\151\156\147\x5f\x66\151\x65\154\144\163\145\x74"]["\155\157\x5f\157\x6b\164\x61\x5f\x63\165\163\164\x6f\x6d\x5f\155\141\160\x70\151\x6e\x67\137\146\151\145\x6c\x64\x73\145\164"]["\155\157\137\x6f\x6b\164\x61\137\163\x79\156\x63\x5f\155\x61\x70\x70\151\x6e\147"]["\157\153\x74\x61\x5f\163\171\x6e\143\137\155\x61\x70\160\x69\156\x67\x5f\164\x61\x62\154\145"] = AjaxTables::generateTables("\156\141\155\145\x73\x2d\x66\x69\145\154\144\x73\x65\164\x2d\x77\x72\141\160\160\x65\162", $BE, $m0, $Oa, $Z0, $L1);
        $form["\x6d\x6f\x5f\x6f\153\x74\141\x5f\x6d\141\x70\x70\x69\156\147\137\x66\151\145\x6c\144\163\x65\164"]["\155\x6f\x5f\157\153\164\141\137\143\165\163\164\x6f\x6d\x5f\x6d\141\x70\x70\x69\x6e\147\x5f\146\x69\145\154\x64\163\145\x74"]["\155\157\137\x6f\153\164\x61\x5f\163\171\x6e\143\x5f\x6d\141\x70\x70\151\156\147"]["\x61\144\144"] = ["\43\164\171\160\x65" => "\163\165\142\155\151\164", "\43\x6e\141\155\145" => "\x61\x64\144", "\43\x62\x75\164\x74\157\x6e\137\164\x79\160\145" => "\160\162\151\155\x61\162\x79", "\x23\x76\141\x6c\165\x65" => $this->t("\x41\x64\x64\x20\115\157\162\145"), "\x23\154\151\155\151\164\137\x76\141\154\151\x64\141\164\x69\157\156\137\x65\162\162\157\162\x73" => array(), "\43\x73\x75\x62\x6d\151\x74" => [[$this, "\x61\x64\144\122\x6f\x77\x4e\145\167"]], "\x23\141\x6a\141\x78" => ["\143\141\154\154\x62\141\143\x6b" => "\x3a\x3a\141\x6a\x61\x78\x43\141\x6c\154\142\141\x63\153", "\167\162\x61\x70\x70\145\x72" => "\156\141\155\145\x73\x2d\x66\x69\145\154\x64\x73\145\164\55\167\x72\x61\x70\x70\145\x72", "\145\146\x66\145\x63\x74" => "\156\157\156\145"], "\x23\144\151\x73\x61\142\154\x65\144" => $this->disabled];
        return $form;
    }
    public function getFieldsList()
    {
        return ["\157\x6b\164\x61\137\x61\x74\x74\x72" => ["\164\x79\160\x65" => "\163\x65\154\145\143\x74", "\144\151\x73\141\142\x6c\145\x64" => $this->disabled], "\144\162\165\x70\x61\154\137\141\x74\x74\x72" => ["\x74\x79\x70\145" => "\x73\x65\154\145\x63\x74", "\x64\151\163\x61\142\154\145\144" => $this->disabled], "\144\145\x6c\145\164\x65\137\142\165\x74\x74\157\x6e" => ["\x74\171\160\x65" => "\163\165\142\155\151\x74", "\144\151\x73\x61\x62\x6c\x65\144" => $this->disabled, "\x73\x75\142\155\151\164" => "\x3a\72\162\145\x6d\157\x76\x65\122\157\167", "\143\x61\154\x6c\x62\x61\x63\x6b" => "\72\72\141\152\141\x78\103\141\154\154\x62\141\143\153", "\x77\x72\x61\160\160\x65\162" => "\156\141\x6d\x65\x73\x2d\x66\151\145\x6c\144\163\x65\164\55\167\162\x61\x70\160\x65\162"]];
    }
    public function ajaxCallback(array &$form, FormStateInterface $form_state)
    {
        return $form["\x6d\157\x5f\x6f\x6b\164\x61\x5f\155\141\160\x70\151\156\147\x5f\146\151\x65\154\x64\x73\x65\164"]["\x6d\157\x5f\x6f\153\x74\141\x5f\143\x75\x73\x74\157\155\137\x6d\x61\160\160\151\156\x67\x5f\146\x69\145\154\x64\163\145\x74"]["\155\x6f\x5f\x6f\153\164\141\x5f\x73\171\x6e\143\137\155\x61\160\160\x69\156\147"]["\x6f\x6b\164\x61\137\163\171\x6e\143\137\x6d\x61\160\160\151\156\147\137\164\141\142\154\x65"];
    }
    public function addRowNew(array &$form, FormStateInterface $form_state)
    {
        $jM = \Drupal::service("\x75\165\x69\144");
        $rI = $jM->generate();
        $vz = $form_state->get("\x75\x6e\x69\161\x75\x65\x5f\x69\x64");
        array_push($vz, $rI);
        $form_state->set("\165\x6e\151\161\x75\x65\x5f\151\x64", $vz);
        $form_state->setRebuild();
    }
    public function removeRow(array &$form, FormStateInterface $form_state)
    {
        $fQ = $form_state->getTriggeringElement()["\43\x61\x72\162\141\x79\137\160\141\162\145\x6e\x74\163"][0];
        $sZ = $form_state->getTriggeringElement()["\x23\156\x61\x6d\x65"];
        $p8 = '';
        $p8 = "\165\x6e\x69\161\165\145\137\x69\144";
        $Xp = $form_state->get($p8);
        $Xp = array_diff($Xp, [$sZ]);
        if (!empty($Xp)) {
            goto Nk;
        }
        $jM = \Drupal::service("\x75\165\x69\144");
        $Xp[0] = $jM->generate();
        Nk:
        $form_state->set($p8, $Xp);
        $form_state->setRebuild();
    }
    public function saveSummaryConfiguration(array $form, FormStateInterface $form_state)
    {
        $CB = $form_state->getValues()["\x6d\x6f\137\163\165\155\155\141\x72\171\137\157\153\x74\141\137\x63\x6f\x6e\146\151\147\x75\162\141\x74\151\x6f\156\137\x74\141\x62\154\x65"];
        $A0 = ["\117\153\164\x61\x20\x50\157\162\x74\x61\x6c\40\x55\x52\x4c\72" => "\x6f\x6b\x74\141\137\165\x73\145\x72\137\163\171\x6e\x63\x5f\142\x61\x73\145\x5f\x75\162\154", "\x4f\x6b\164\141\40\102\x65\141\162\145\x72\x20\124\x6f\153\145\x6e\72" => "\157\x6b\164\x61\x5f\x75\163\x65\x72\x5f\163\x79\x6e\x63\137\x62\x65\x61\x72\145\162\x5f\x74\x6f\153\x65\156", "\x54\145\x73\x74\x20\131\x6f\165\162\x20\103\x6f\156\x66\x69\x67\165\162\141\164\x69\x6f\x6e\x3c\142\x72\76\x45\x6e\164\x65\162\40\165\x73\145\x72\x20\x65\155\141\x69\x6c\x3a" => "\x6f\x6b\164\x61\x5f\165\x73\x65\162\x5f\163\171\x6e\143\137\x75\x70\156"];
        foreach ($A0 as $MA => $rk) {
            $this->config_factory->set($rk, $CB[$MA][$rk])->save();
            Fq:
        }
        m9:
        $Lj = $this->config_factory->get("\x6f\x6b\x74\x61\x5f\165\x73\x65\x72\x5f\163\x79\156\143\x5f\142\145\141\x72\145\x72\x5f\164\157\153\x65\156");
        $GF = $this->config_factory->get("\x6f\153\164\x61\137\x75\163\145\162\x5f\163\x79\x6e\x63\x5f\142\x61\163\x65\x5f\x75\162\154");
        Drupal::configFactory()->getEditable("\x75\x73\x65\x72\x5f\x70\x72\157\x76\x69\x73\151\157\x6e\x69\156\x67\x2e\163\145\x74\164\151\x6e\147\x73")->set("\155\x6f\x5f\165\x73\145\162\x5f\x70\x72\157\x76\x69\163\x69\x6f\156\151\156\147\137\x63\157\x6e\146\x69\x67\165\162\145\x64\137\x61\160\160\154\x69\x63\141\164\151\x6f\156", "\157\x6b\164\141")->set("\155\157\137\160\162\x6f\x76\x69\144\145\x72\x5f\163\160\x65\143\151\x66\151\143\137\x70\162\157\x76\151\163\151\x6f\156\x69\x6e\147\x5f\142\141\163\x65\x5f\x75\162\x6c", $GF)->set("\155\x6f\137\160\162\x6f\166\151\x64\145\x72\x5f\x73\x70\x65\x63\x69\x66\151\143\137\160\x72\x6f\166\151\x73\151\157\x6e\x69\x6e\x67\x5f\x61\x70\151\137\x74\x6f\x6b\145\156", $Lj)->save();
        $B6 = new MoOktaHelper();
        $B6->fetchAttributes();
        $wo = Json::decode($this->config->get("\155\x6f\x5f\x6f\x6b\164\x61\137\141\164\x74\162\137\x6c\x69\163\164\x5f\146\162\157\155\x5f\163\145\162\x76\145\x72"));
        if (!($wo != '')) {
            goto jy;
        }
        if (isset($wo["\145\162\x72\157\x72\x43\x6f\144\x65"])) {
            goto G6;
        }
        $this->messenger->addstatus(t("\x54\145\163\x74\x20\103\157\156\x66\x69\x67\x75\x72\x61\164\x69\157\156\x20\x73\x75\143\143\x65\x73\163\x66\165\154\56\x20\131\x6f\165\40\143\141\x6e\40\x63\x68\145\143\153\40\164\x68\145\40\143\157\x6d\160\154\145\x74\145\40\x6c\x69\x73\x74\40\x6f\x66\x20\141\x74\164\x72\x69\142\x75\x74\145\x73\x20\x72\145\x63\145\x69\166\x65\144\x20\146\162\157\155\x20\x4f\x6b\164\x61\x20\x62\x79\40\x63\154\x69\x63\153\x69\156\147\40\x6f\x6e\x20\164\x68\145\x20\x6c\151\x6e\153\x20\x3c\x61\40\x68\162\145\x66\75\42\x23\x74\145\x73\164\137\x63\x6f\x6e\x66\151\x67\x5f\x72\x65\163\x75\154\164\42\x3e\110\105\x52\105\74\57\x61\76\x2e"));
        goto Xf;
        G6:
        $this->messenger->addError(t("\x41\x6e\x20\145\162\x72\x6f\162\40\x6f\x63\x63\165\x72\x72\x65\x64\x20\x77\x68\151\x6c\145\x20\x70\x65\162\146\x6f\162\x6d\151\x6e\x67\x20\x74\145\163\164\40\143\157\156\146\151\147\x75\162\x61\x74\151\157\156\x2e\x20\120\x6c\145\x61\163\x65\40\x72\x65\146\x65\162\x20\164\157\x20\74\x61\x20\x68\x72\145\146\x3d\42\x23\164\145\163\x74\x5f\x63\x6f\x6e\x66\151\x67\137\x72\x65\x73\x75\154\x74\x22\76\x54\145\x73\164\x20\103\157\156\x66\151\147\165\162\141\x74\x69\157\x6e\x20\122\145\x73\165\x6c\164\74\x2f\141\x3e\40\146\x6f\x72\x20\x6d\x6f\x72\145\40\151\x6e\x66\x6f\x72\x6d\141\x74\x69\x6f\156\56"));
        Xf:
        jy:
        return $form;
    }
    public function backFunMoOktaToDrupal(array $form, FormStateInterface $form_state)
    {
        $Pv = $this->config->get("\157\x6b\x74\141\x5f\x75\163\x65\x72\x5f\163\171\x6e\x63\x5f\x73\x74\x61\164\x75\x73");
        if ($Pv == "\x6f\x76\x65\x72\166\x69\145\x77") {
            goto NQ;
        }
        $xK = new RedirectResponse($this->base_url . "\x2f\141\x64\155\151\156\57\143\x6f\156\146\151\x67\x2f\x70\x65\x6f\160\x6c\x65\57\x6f\153\164\x61\137\x75\163\145\162\x5f\x73\x79\156\143\57\x6f\166\x65\x72\166\151\x65\167\77\x74\141\142\x3d" . $Pv);
        goto d2;
        NQ:
        $xK = new RedirectResponse($this->base_url . "\x2f\x61\x64\x6d\151\156\x2f\143\157\156\x66\151\x67\57\160\145\157\x70\x6c\145\x2f\x6f\153\x74\x61\137\165\163\x65\162\x5f\x73\x79\x6e\x63\x2f\x6f\x76\x65\x72\166\151\x65\x77");
        d2:
        $xK->send();
        return new Response();
    }
    public function submitForm(array &$form, FormStateInterface $form_state)
    {
        $vN = \Drupal::configFactory()->getEditable("\157\x6b\x74\141\x5f\x75\163\x65\162\137\x73\x79\156\143\x2e\x73\x65\164\164\x69\x6e\147\x73");
        $CB = $form_state->getValues();
        $vN->set("\157\153\x74\x61\137\164\157\137\x64\x72\165\160\141\x6c\137\155\141\156\165\x61\x6c\137\x72\x65\x61\x64", $CB["\157\153\164\141\137\x70\162\157\x76\151\x73\x69\157\x6e\151\156\147\137\157\160\145\162\x61\x74\151\x6f\156\x73"]["\x6f\x70\x65\162\x61\x74\151\x6f\156\x73"]["\162\145\x61\x64\137\165\163\x65\162\137\155\141\156\165\141\154\137\x6f\153\x74\x61"])->set("\x6f\153\x74\141\137\x74\x6f\137\144\x72\x75\x70\141\x6c\137\x6d\141\x6e\165\x61\154\137\143\162\x65\141\164\145", $CB["\157\153\164\141\137\x70\162\x6f\x76\151\163\x69\x6f\156\151\x6e\147\137\157\x70\x65\162\x61\164\x69\157\156\x73"]["\x6f\160\145\x72\x61\x74\151\x6f\156\x73"]["\143\162\145\x61\164\145\137\x75\x73\x65\162\137\x6d\x61\156\165\x61\x6c\x5f\x6f\x6b\x74\141"])->set("\157\x6b\x74\141\137\164\x6f\137\x64\162\165\160\141\154\x5f\x6d\141\x6e\165\x61\154\x5f\165\160\x64\x61\x74\145", $CB["\x6f\x6b\164\x61\137\x70\162\x6f\166\x69\x73\151\x6f\156\151\156\x67\137\157\160\x65\x72\141\x74\151\157\156\163"]["\157\160\145\162\141\164\x69\x6f\156\x73"]["\165\160\144\141\x74\145\x5f\x75\163\x65\x72\137\x6d\x61\x6e\x75\141\x6c\x5f\x6f\x6b\164\141"])->set("\157\153\164\141\137\x74\x6f\137\x64\162\165\x70\141\x6c\x5f\155\x61\156\x75\141\154\x5f\x64\x65\x6c\145\x74\145", $CB["\x6f\x6b\164\x61\137\x70\x72\x6f\166\x69\x73\x69\x6f\x6e\x69\x6e\x67\137\x6f\x70\145\x72\141\164\x69\157\x6e\x73"]["\x6f\x70\x65\x72\141\164\151\x6f\x6e\163"]["\144\x65\154\145\164\145\x5f\x75\x73\145\162\137\x6d\x61\x6e\x75\141\154\x5f\157\153\164\x61"])->set("\157\x6b\x74\x61\137\164\157\137\x64\162\x75\x70\x61\x6c\x5f\163\143\150\x65\144\x75\x6c\x65\x72\137\x72\x65\x61\x64", $CB["\157\x6b\x74\x61\137\160\x72\157\166\151\163\x69\x6f\156\151\156\147\137\x6f\160\145\162\141\x74\x69\x6f\x6e\163"]["\157\160\145\162\141\x74\151\157\x6e\163"]["\162\x65\x61\144\137\165\x73\x65\x72\x5f\x73\x63\x68\145\144\165\x6c\x65\x72\x5f\x6f\x6b\x74\141"])->set("\x6f\153\x74\141\137\x74\157\x5f\144\162\x75\160\x61\x6c\137\163\143\150\x65\x64\x75\154\145\162\x5f\x63\x72\x65\141\x74\145", $CB["\x6f\x6b\164\x61\x5f\160\x72\x6f\166\151\x73\151\157\156\151\156\x67\x5f\157\160\145\x72\141\164\x69\157\156\163"]["\157\160\x65\x72\141\164\x69\x6f\x6e\163"]["\x63\x72\x65\x61\x74\145\137\165\x73\x65\162\137\x73\143\150\x65\144\165\154\145\x72\x5f\x6f\x6b\164\x61"])->set("\x6f\x6b\x74\x61\x5f\164\157\x5f\144\x72\x75\x70\141\154\137\163\x63\150\x65\144\x75\x6c\145\162\x5f\165\x70\144\x61\164\145", $CB["\x6f\153\164\x61\137\160\162\x6f\x76\151\163\x69\x6f\x6e\x69\156\x67\137\x6f\x70\x65\x72\x61\x74\151\x6f\x6e\x73"]["\157\160\145\162\x61\164\x69\x6f\156\x73"]["\x75\160\144\141\164\145\137\x75\x73\x65\162\137\163\x63\150\x65\x64\x75\x6c\145\x72\x5f\x6f\153\x74\x61"])->set("\x6f\153\x74\141\137\164\157\137\144\162\x75\x70\141\x6c\x5f\163\143\x68\145\144\165\x6c\145\162\x5f\144\x65\x6c\145\x74\145", $CB["\x6f\153\x74\x61\137\160\162\x6f\x76\x69\163\x69\x6f\156\x69\x6e\x67\137\x6f\160\x65\x72\141\164\x69\157\x6e\163"]["\x6f\160\x65\x72\141\164\x69\157\x6e\x73"]["\144\145\154\145\164\x65\x5f\165\163\145\162\x5f\x73\143\x68\145\144\165\x6c\145\162\137\x6f\153\164\x61"])->set("\x65\x6e\141\x62\x6c\145\x5f\163\143\x68\x65\144\165\154\145\x72\x5f\160\x72\x6f\166\151\x73\151\157\x6e\x69\x6e\x67\137\x6f\156\137\143\x72\x6f\x6e", $CB["\x61\165\164\157\x5f\143\162\x65\x61\x74\151\x6f\x6e"])->set("\157\x6b\164\141\137\165\x73\x65\x72\x5f\x73\171\156\x63\137\x62\141\x73\x69\x63\x5f\165\x73\145\x72\156\x61\x6d\145\137\x6d\x61\160\160\x69\156\x67", $CB["\157\x6b\164\x61\x5f\x75\x73\x65\x72\156\x61\155\145\137\x61\164\x74\x72\x69\142\165\x74\145"])->set("\157\153\x74\x61\137\165\x73\x65\162\137\x73\171\156\143\x5f\142\x61\163\151\x63\x5f\155\141\x69\154\x5f\x6d\141\x70\x70\151\156\x67", $CB["\157\x6b\x74\x61\x5f\145\x6d\x61\151\154\137\x61\x74\164\x72\151\x62\165\x74\x65"])->set("\155\157\x5f\x6f\x6b\x74\141\x5f\x73\171\156\143\x5f\155\141\160\160\x69\156\147", json_encode($CB["\157\x6b\x74\x61\137\163\171\x6e\x63\137\x6d\141\x70\160\151\156\147\137\164\x61\x62\x6c\x65"]))->save();
        \Drupal::messenger()->addStatus("\x4f\153\x74\141\40\120\x72\x6f\x76\x69\163\x69\157\156\151\156\x67\x20\103\x6f\156\146\151\147\x75\x72\141\164\x69\157\x6e\163\40\163\165\143\143\145\x73\163\146\165\154\154\x79\40\x75\x70\144\x61\164\x65\x64\56");
    }
    private function attributeMapping(array &$form, FormStateInterface $form_state)
    {
        $F3 = "\74\x61\x20\150\x72\145\146\x20\75\40\42\157\x6b\x74\141\x5f\x75\x70\147\162\141\x64\145\x5f\160\x6c\141\156\163\x22\40\x3e\133\120\x52\x45\115\x49\x55\115\x5d\x3c\57\141\76";
        $form["\x6d\157\137\157\x6b\164\141\x5f\141\164\164\x72\x69\x62\x75\x74\x65\137\155\141\160\160\151\x6e\x67\x5f\x64\x65\164\141\151\154\163"] = ["\x23\x74\171\160\145" => "\x64\145\164\x61\x69\154\x73", "\43\x6f\x70\145\156" => false, "\43\x74\x69\164\x6c\145" => t("\115\x61\160\x70\151\x6e\x67")];
        $form["\155\157\x5f\157\153\164\141\x5f\x61\164\x74\x72\x69\x62\x75\x74\145\137\155\x61\160\160\151\x6e\147\x5f\x64\145\x74\x61\151\154\x73"]["\x6f\153\x74\x61\137\x63\x75\x73\x74\157\x6d\137\x61\x74\164\x72\151\142\x75\164\145\x5f\155\141\x70\160\x69\156\x67"] = array("\x23\164\x79\x70\x65" => "\x66\x69\x65\x6c\x64\163\x65\x74", "\x23\x74\151\x74\x6c\145" => t("\x43\165\163\164\157\155\x20\101\x74\x74\x72\x69\142\x75\164\x65\x20\115\x61\160\160\x69\x6e\147\x20") . "\74\x68\x72\x3e");
        $form["\155\157\x5f\157\x6b\x74\x61\x5f\141\x74\164\162\151\142\x75\164\x65\137\x6d\x61\160\160\151\156\147\137\144\145\164\141\x69\x6c\163"]["\x6f\x6b\x74\141\x5f\x63\165\x73\164\x6f\x6d\137\141\164\164\162\151\x62\x75\164\x65\x5f\x6d\x61\160\160\151\156\147"]["\141\x74\164\x72\151\142\x75\164\145\137\x6d\141\160\160\151\156\x67\x5f\x69\156\x66\x6f"] = array("\x23\x6d\x61\x72\153\165\160" => "\x3c\144\x69\x76\40\143\154\x61\x73\x73\x3d\x22\x6d\x6f\x5f\x6f\153\164\x61\137\x68\x69\x67\150\x6c\151\x67\150\164\137\x62\x61\x63\x6b\x67\x72\157\165\x6e\144\42\76\x54\150\x69\163\x20\146\x65\x61\x74\165\162\145\x20\x61\154\154\x6f\x77\x73\x20\171\x6f\x75\40\x74\157\x20\x6d\x61\160\x20\164\x68\145\x20\165\x73\145\162\x20\141\x74\x74\162\x69\142\165\164\145\163\40\x66\162\x6f\155\x20\171\x6f\165\x72\40\104\x72\x75\160\141\x6c\x20\164\157\40\117\153\x74\141\x2e\x3c\x2f\x64\151\166\x3e");
        $MU = [];
        $wO = User::load(\Drupal::currentUser()->id());
        $MT = $wO->toArray();
        foreach ($MT as $MA => $rk) {
            $MU[$MA] = $MA;
            n8:
        }
        Zo:
        $form["\x6d\157\137\157\x6b\164\141\x5f\141\x74\164\162\151\x62\165\x74\145\137\155\x61\x70\160\151\x6e\x67\137\x64\145\164\141\151\x6c\x73"]["\x6f\x6b\164\x61\x5f\x63\165\163\164\x6f\x6d\x5f\x61\164\164\x72\x69\x62\165\x74\145\137\x6d\141\160\160\151\x6e\147"]["\157\x6b\x74\141\x5f\143\165\163\164\157\155\137\x61\164\164\162\x69\x62\x75\x74\145\x5f\155\141\160\160\151\156\x67\x5f\x74\141\x62\154\x65"] = ["\43\164\x79\x70\145" => "\x74\x61\x62\x6c\x65", "\43\x72\x65\163\160\x6f\156\x73\x69\166\x65" => TRUE, "\43\160\162\x65\146\x69\x78" => "\x3c\x64\x69\166\40\151\x64\75\42\x6d\157\x5f\x6f\153\164\x61\137\163\x79\x6e\x63\x5f\141\152\x61\170\42\x3e", "\x23\x61\164\164\x72\151\142\x75\x74\x65\x73" => ["\143\x6c\141\x73\163" => ["\143\x75\163\x74\157\x6d\x5f\141\x74\164\x72\151\142\165\x74\x65\x5f\155\x61\160\x70\151\156\147\x5f\164\141\x62\x6c\x65"]]];
        $ru = $this->moOktaCustomAttributeMapTable($MU);
        $form["\155\x6f\x5f\x6f\153\164\141\137\141\164\164\162\151\142\165\x74\145\137\x6d\x61\x70\x70\x69\x6e\x67\137\x64\x65\164\x61\x69\154\163"]["\x6f\x6b\164\141\137\x63\x75\x73\164\x6f\155\x5f\x61\x74\164\162\151\142\165\164\x65\137\155\141\x70\x70\x69\156\147"]["\157\x6b\x74\141\x5f\143\x75\163\x74\157\155\x5f\141\x74\164\x72\151\x62\x75\x74\145\x5f\155\141\160\x70\151\156\147\x5f\164\141\142\x6c\x65"]["\x63\x75\x73\x74\157\x6d\x5f\x6d\x61\160\160\x69\x6e\147"] = $ru;
    }
    private function moOktaCustomAttributeMapTable($MU) : array
    {
        $ru["\157\x6b\164\141\137\x64\162\x75\160\141\x6c\137\x61\x74\164\162\x5f\x6e\141\155\x65"] = ["\x23\x74\151\x74\154\145" => t("\104\162\x75\x70\x61\154\40\101\164\164\x72\x69\142\x75\x74\x65\x20\116\x61\x6d\145"), "\43\164\171\x70\145" => "\x73\145\154\145\x63\x74", "\43\157\160\x74\151\157\x6e\163" => $MU, "\x23\x64\x69\163\x61\142\154\x65\x64" => $this->disabled];
        $ru["\x6f\x6b\164\141\137\x61\x74\164\162\151\x62\x75\164\145\x5f\x6e\x61\x6d\x65"] = ["\x23\164\171\160\145" => "\164\x65\170\x74\x66\151\x65\154\x64", "\43\164\x69\164\x6c\145" => t("\x4f\153\x74\141\40\x41\x74\164\x72\151\142\165\x74\x65\40\116\x61\x6d\145"), "\43\x64\151\x73\x61\x62\154\145\x64" => $this->disabled];
        $ru["\157\x6b\164\141\x5f\141\x64\x64\137\x62\165\x74\164\157\x6e"] = ["\43\x74\171\160\x65" => "\163\165\x62\155\151\x74", "\43\142\165\x74\x74\157\156\x5f\164\171\160\145" => "\160\x72\151\x6d\x61\162\171", "\x23\144\x69\x73\x61\x62\x6c\x65\x64" => $this->disabled, "\x23\x76\x61\154\x75\145" => "\x2b", "\x23\163\165\x62\155\x69\x74" => [[$this, "\141\x64\x64\101\164\x74\x72\117\x6b\164\141\x53\171\x6e\x63\123\165\142\155\151\164"]], "\43\x61\x6a\x61\170" => ["\x63\141\154\x6c\x62\x61\143\153" => [$this, "\x72\165\x6c\x65\163\117\153\x74\141\123\x79\x6e\x63\x41\x6a\x61\170\103\141\x6c\154\x62\x61\143\153"], "\x77\162\x61\160\160\x65\162" => "\155\x6f\x5f\157\153\164\x61\137\x73\171\x6e\x63\137\141\152\141\x78", "\x65\146\x66\x65\143\164" => "\156\x6f\x6e\145"]];
        $ru["\157\x6b\164\141\x5f\x73\165\x62\x5f\x62\x75\x74\x74\157\156"] = ["\43\164\x79\x70\x65" => "\x73\165\142\155\151\x74", "\43\142\x75\x74\x74\x6f\156\137\164\x79\160\145" => "\x64\x61\x6e\x67\x65\x72", "\43\x64\x69\x73\x61\142\154\x65\144" => $this->disabled, "\43\166\141\154\165\x65" => "\x2d", "\x23\163\x75\142\155\x69\164" => [[$this, "\x64\145\154\145\x74\145\x41\164\x74\162\117\153\x74\141\123\x79\156\x63\x53\165\x62\x6d\x69\x74"]], "\x23\141\x6a\x61\x78" => ["\x63\141\154\154\x62\141\143\x6b" => [$this, "\x72\x75\154\145\163\x4f\153\164\141\123\171\x6e\x63\x41\152\x61\x78\103\x61\154\154\x62\x61\143\x6b"], "\167\x72\141\160\x70\x65\162" => "\x6d\157\x5f\x6f\x6b\164\141\137\163\171\156\143\x5f\x61\x6a\x61\x78", "\x65\x66\x66\x65\x63\x74" => "\x6e\x6f\156\145"]];
        return $ru;
    }
    public function rulesOktaSyncAjaxCallback(array &$form, FormStateInterface $form_state)
    {
        return $form["\162\x75\154\145\x73\117\153\x74\141\123\171\156\x63\x41\152\x61\170\103\141\x6c\154\142\x61\143\x6b"];
    }
    public function addAttrOktaSyncSubmit(array &$form, FormStateInterface $form_state)
    {
        $jM = \Drupal::service("\x75\165\151\x64");
        $rI = $jM->generate();
        $vz = $form_state->get("\143\x75\163\164\x6f\x6d\137\155\141\x70\x70\x69\156\147");
        array_push($vz, $rI);
        $form_state->set("\x63\165\163\164\x6f\155\137\x6d\x61\160\160\151\x6e\x67", $vz);
        $form_state->setRebuild();
    }
    public function deleteAttrOktaSyncSubmit(array &$form, FormStateInterface $form_state)
    {
        $jD = $form_state->getTriggeringElement()["\x23\x61\x74\164\162\x69\142\x75\164\x65\x73"]["\x64\141\164\x61\55\x64\145\x6c\145\x74\x65\55\x74\x61\162\147\145\x74"];
        $vz = $form_state->get("\x63\x75\x73\x74\x6f\x6d\137\x6d\141\160\x70\151\x6e\147");
        $vz = array_diff($vz, [$jD]);
        if (!empty($vz)) {
            goto gN;
        }
        $jM = \Drupal::service("\x75\165\151\x64");
        $vz[0] = $jM->generate();
        gN:
        $form_state->set("\143\x75\x73\x74\x6f\x6d\x5f\155\141\x70\x70\x69\x6e\x67", $vz);
        $form_state->setRebuild();
    }
    private function moOktaAttributeMapTable() : array
    {
        $ru["\x75\x73\x65\162\156\141\x6d\x65\x5f\x61\164\x74\x72\x69\x62\165\164\145"] = ["\43\164\x79\160\145" => "\163\145\x6c\145\143\164", "\x23\164\151\164\x6c\145" => t("\125\x73\145\x72\156\x61\155\145\40\101\164\x74\162\x69\142\x75\x74\145"), "\43\157\x70\164\151\x6f\x6e\163" => [1 => "\x6e\x61\155\x65"], "\43\144\151\x73\141\x62\x6c\145\144" => true];
        $ru["\145\x6d\141\x69\154\x5f\141\x74\164\x72\151\x62\165\x74\145"] = ["\43\x74\171\x70\x65" => "\163\x65\154\x65\x63\164", "\x23\164\x69\164\154\145" => t("\x45\x6d\141\x69\154\40\101\x74\164\x72\x69\x62\x75\x74\145"), "\x23\x6f\x70\164\151\157\156\163" => [1 => "\x6d\141\151\154"], "\x23\144\151\163\x61\142\x6c\145\144" => true];
        return $ru;
    }
}

Function Calls

None

Variables

None

Stats

MD5 7546155a395a6612d91febe4b7c027fc
Eval Count 0
Decode Time 92 ms