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 MiniOrange\OAuth\Controller\Actions; use Magento\Authorization\Mod..

Decoded Output download

<?php 
 
 
namespace MiniOrange\OAuth\Controller\Actions; 
 
use Magento\Authorization\Model\ResourceModel\Role\Collection; 
use Magento\Customer\Model\Customer; 
use Magento\Customer\Model\CustomerFactory; 
use Magento\Framework\App\Action\Context; 
use Magento\Framework\App\ResponseFactory; 
use Magento\Framework\Math\Random; 
use Magento\Store\Model\StoreManagerInterface; 
use Magento\User\Model\User; 
use Magento\User\Model\UserFactory; 
use MiniOrange\OAuth\Helper\Exception\MissingAttributesException; 
use MiniOrange\OAuth\Helper\OAuthConstants; 
use MiniOrange\OAuth\Helper\OAuthMessages; 
use MiniOrange\OAuth\Helper\OAuthUtility; 
use Magento\Customer\Model\AddressFactory; 
use Magento\Directory\Model\ResourceModel\Region\CollectionFactory; 
use Magento\Framework\Controller\ResultFactory; 
use Magento\Framework\Message\ManagerInterface; 
use Magento\Eav\Model\Config as EavConfig; 
use MiniOrange\OAuth\Helper\OAuth\lib\AESEncryption; 
class ProcessUserAction extends BaseAction 
{ 
    private $attrs; 
    private $flattenedattrs; 
    private $userEmail; 
    private $checkIfMatchBy; 
    private $defaultRole; 
    private $emailAttribute; 
    private $usernameAttribute; 
    private $firstNameKey; 
    private $lastNameKey; 
    private $groupNameKey; 
    private $groupName; 
    private $userGroupModel; 
    private $adminRoleModel; 
    private $adminUserModel; 
    private $customerLoginAction; 
    private $responseFactory; 
    private $customerFactory; 
    private $customerResource; 
    private $userFactory; 
    private $randomUtility; 
    private $dontCreateUserIfRoleNotMapped; 
    private $_state; 
    private $_configLoader; 
    public $_response; 
    private $storeManager; 
    private $customerRepository; 
    private $customerModel; 
    private $adminSession; 
    private $adminSessionManager; 
    private $adminConfig; 
    private $cookieMetadataFactory; 
    private $cookieManager; 
    private $urlInterface; 
    private $dataAddressFactory; 
    private $clientDetails; 
    protected $resultFactory; 
    private $countryNameKey; 
    private $cityNameKey; 
    private $phoneNameKey; 
    private $streetAddressNameKey; 
    private $mapStateNameKey; 
    private $zipCodeNameKey; 
    protected $messageManager; 
    protected $billingcountryNameKey; 
    protected $billingcityNameKey; 
    protected $billingphoneNameKey; 
    protected $billingstreetAddressNameKey; 
    protected $billingmapStateNameKey; 
    protected $billingzipCodeNameKey; 
    protected $shippingcountryNameKey; 
    protected $shippingcityNameKey; 
    protected $shippingphoneNameKey; 
    protected $shippingstreetAddressNameKey; 
    protected $shippingmapStateNameKey; 
    protected $shippingzipCodeNameKey; 
    private $updateAttribute; 
    private $collectionFactory; 
    private $custom_tablename; 
    private $custom_attributes; 
    private $updateFrontendRole; 
    private $updateRole; 
    protected $eavConfig; 
    protected $_addressFactory; 
    private $HelperBackend; 
    public function __construct(Context $dS, OAuthUtility $RV, \Magento\Customer\Model\ResourceModel\Group\Collection $MD, Collection $zy, User $pa, Customer $o_, StoreManagerInterface $i9, ResponseFactory $BK, CustomerLoginAction $G5, CustomerFactory $AC, UserFactory $gx, Random $aF, \Magento\Customer\Model\ResourceModel\Customer $uL, AddressFactory $RR, \Magento\Framework\App\State $A7, \Magento\Backend\Model\Auth\Session $OP, \Magento\Security\Model\AdminSessionsManager $rl, \Magento\Framework\Stdlib\Cookie\CookieMetadataFactory $rG, \Magento\Framework\Stdlib\CookieManagerInterface $Rj, \Magento\Backend\Model\UrlInterface $cM, \Magento\Framework\ObjectManager\ConfigLoaderInterface $gi, \Magento\Customer\Api\CustomerRepositoryInterface $m4, \Magento\Backend\Model\Session\AdminConfig $zn, \Magento\Backend\Helper\Data $ZH, CollectionFactory $Ij, ResultFactory $qr, ManagerInterface $bM, \Magento\Customer\Model\AddressFactory $kM, EavConfig $JU) 
    { 
        $this->userGroupModel = $MD; 
        $this->adminRoleModel = $zy; 
        $this->adminUserModel = $pa; 
        $this->customerModel = $o_; 
        $this->storeManager = $i9; 
        $this->responseFactory = $BK; 
        $this->customerLoginAction = $G5; 
        $this->customerFactory = $AC; 
        $this->userFactory = $gx; 
        $this->randomUtility = $aF; 
        $this->dataAddressFactory = $RR; 
        $this->customerResource = $uL; 
        $this->customerRepository = $m4; 
        $this->_state = $A7; 
        $this->adminSession = $OP; 
        $this->adminSessionManager = $rl; 
        $this->adminConfig = $zn; 
        $this->cookieManager = $Rj; 
        $this->cookieMetadataFactory = $rG; 
        $this->urlInterface = $cM; 
        $this->HelperBackend = $ZH; 
        $this->_configLoader = $gi; 
        $this->collectionFactory = $Ij; 
        $this->resultFactory = $qr; 
        $this->messageManager = $bM; 
        $this->eavConfig = $JU; 
        $this->_addressFactory = $kM; 
        parent::__construct($dS, $RV); 
    } 
    public function execute() 
    { 
        $cQ = $this->oauthUtility->getSessionData(OAuthConstants::APP_NAME); 
        $jH = $this->oauthUtility->getOAuthClientApps(); 
        $Q2 = null; 
        foreach ($jH as $BC) { 
            if (!($BC->getData()["app_name"] === $cQ)) { 
                goto M1; 
            } 
            $Q2 = $BC->getData(); 
            M1: 
            bJ: 
        } 
        XS: 
        $this->clientDetails = $Q2; 
        $this->emailAttribute = $Q2["email_attribute"]; 
        $this->emailAttribute = $this->oauthUtility->isBlank($this->emailAttribute) ? OAuthConstants::DEFAULT_MAP_EMAIL : $this->emailAttribute; 
        $this->usernameAttribute = $Q2["username_attribute"]; 
        $this->usernameAttribute = $this->oauthUtility->isBlank($this->usernameAttribute) ? OAuthConstants::DEFAULT_MAP_USERN : $this->usernameAttribute; 
        $this->firstNameKey = $Q2["firstname_attribute"]; 
        $this->firstNameKey = $this->oauthUtility->isBlank($this->firstNameKey) ? OAuthConstants::DEFAULT_MAP_FN : $this->firstNameKey; 
        $this->lastNameKey = $Q2["lastname_attribute"]; 
        $this->lastNameKey = $this->oauthUtility->isBlank($this->lastNameKey) ? OAuthConstants::DEFAULT_MAP_LN : $this->lastNameKey; 
        $this->defaultRole = $Q2["default_role"]; 
        $this->checkIfMatchBy = $Q2["mo_oauth_create_user_in_magento_by_using"]; 
        $this->updateAttribute = $Q2["update_attributes_on_login"]; 
        $this->billingcountryNameKey = $Q2["billing_country_attribute"]; 
        $this->billingcountryNameKey = $this->oauthUtility->isBlank($this->billingcountryNameKey) ? OAuthConstants::MAP_COUNTRY_BILLING : $this->billingcountryNameKey; 
        $this->oauthUtility->log_debug("billingcountryNameKey: " . $this->billingcountryNameKey); 
        $this->billingcityNameKey = $Q2["billing_city_attribute"]; 
        $this->billingcityNameKey = $this->oauthUtility->isBlank($this->billingcityNameKey) ? OAuthConstants::MAP_CITY_BILLING : $this->billingcityNameKey; 
        $this->oauthUtility->log_debug("billingcityNameKey: "); 
        $this->billingphoneNameKey = $Q2["billing_phone_attribute"]; 
        $this->billingphoneNameKey = $this->oauthUtility->isBlank($this->billingphoneNameKey) ? OAuthConstants::MAP_PHONE_BILLING : $this->billingphoneNameKey; 
        $this->oauthUtility->log_debug("billingphoneNameKey: " . $this->billingphoneNameKey); 
        $this->billingstreetAddressNameKey = $Q2["billing_address_attribute"]; 
        $this->billingstreetAddressNameKey = $this->oauthUtility->isBlank($this->billingstreetAddressNameKey) ? OAuthConstants::MAP_ADDRESS_BILLING : $this->billingstreetAddressNameKey; 
        $this->oauthUtility->log_debug("billingstreetAddressNameKey: " . $this->billingstreetAddressNameKey); 
        $this->billingmapStateNameKey = $Q2["billing_state_attribute"]; 
        $this->billingmapStateNameKey = $this->oauthUtility->isBlank($this->billingmapStateNameKey) ? OAuthConstants::MAP_STATE_BILLING : $this->billingmapStateNameKey; 
        $this->oauthUtility->log_debug("billingmapStateNameKey: " . $this->billingmapStateNameKey); 
        $this->billingzipCodeNameKey = $Q2["billing_zip_attribute"]; 
        $this->billingzipCodeNameKey = $this->oauthUtility->isBlank($this->billingzipCodeNameKey) ? OAuthConstants::MAP_ZIPCODE_BILLING : $this->billingzipCodeNameKey; 
        $this->oauthUtility->log_debug("billingzipCodeNameKey: " . $this->billingzipCodeNameKey); 
        $this->shippingcountryNameKey = $Q2["shipping_country_attribute"]; 
        $this->shippingcountryNameKey = $this->oauthUtility->isBlank($this->shippingcountryNameKey) ? OAuthConstants::MAP_COUNTRY_SHIPPING : $this->shippingcountryNameKey; 
        $this->oauthUtility->log_debug("shippingcountryNameKey: " . $this->shippingcountryNameKey); 
        $this->shippingcityNameKey = $Q2["shipping_city_attribute"]; 
        $this->shippingcityNameKey = $this->oauthUtility->isBlank($this->shippingcityNameKey) ? OAuthConstants::MAP_CITY_SHIPPING : $this->shippingcityNameKey; 
        $this->oauthUtility->log_debug("shippingcityNameKey: " . $this->shippingcityNameKey); 
        $this->shippingphoneNameKey = $Q2["shipping_phone_attribute"]; 
        $this->shippingphoneNameKey = $this->oauthUtility->isBlank($this->shippingphoneNameKey) ? OAuthConstants::MAP_PHONE_SHIPPING : $this->shippingphoneNameKey; 
        $this->oauthUtility->log_debug("shippingphoneNameKey: " . $this->shippingphoneNameKey); 
        $this->shippingstreetAddressNameKey = $Q2["shipping_address_attribute"]; 
        $this->shippingstreetAddressNameKey = $this->oauthUtility->isBlank($this->shippingstreetAddressNameKey) ? OAuthConstants::MAP_ADDRESS_SHIPPING : $this->shippingstreetAddressNameKey; 
        $this->oauthUtility->log_debug("shippingstreetAddressNameKey: " . $this->shippingstreetAddressNameKey); 
        $this->shippingmapStateNameKey = $Q2["shipping_state_attribute"]; 
        $this->shippingmapStateNameKey = $this->oauthUtility->isBlank($this->shippingmapStateNameKey) ? OAuthConstants::MAP_STATE_SHIPPING : $this->shippingmapStateNameKey; 
        $this->oauthUtility->log_debug("shippingmapStateNameKey: " . $this->shippingmapStateNameKey); 
        $this->shippingzipCodeNameKey = $Q2["shipping_zip_attribute"]; 
        $this->shippingzipCodeNameKey = $this->oauthUtility->isBlank($this->shippingzipCodeNameKey) ? OAuthConstants::MAP_ZIPCODE_SHIPPING : $this->shippingzipCodeNameKey; 
        $this->oauthUtility->log_debug("shippingzipCodeNameKey: " . $this->shippingzipCodeNameKey); 
        $this->groupNameKey = $Q2["group_attribute"]; 
        $this->groupName = $Q2["group_attribute"]; 
        $this->dontCreateUserIfRoleNotMapped = $Q2["mo_oauth_dont_create_user_if_role_not_mapped"]; 
        $this->oauthUtility->log_debug("ProcessUserAction: execute"); 
        if (!empty($this->attrs)) { 
            goto k3; 
        } 
        $this->oauthUtility->log_debug("No Attributes Received : "); 
        throw new MissingAttributesException(); 
        k3: 
        $jX = array_key_exists($this->firstNameKey, $this->flattenedattrs) ? $this->flattenedattrs[$this->firstNameKey] : null; 
        $ll = array_key_exists($this->lastNameKey, $this->flattenedattrs) ? $this->flattenedattrs[$this->lastNameKey] : null; 
        $dv = array_key_exists($this->usernameAttribute, $this->flattenedattrs) ? $this->flattenedattrs[$this->usernameAttribute] : null; 
        $this->userEmail = array_key_exists($this->emailAttribute, $this->flattenedattrs) ? $this->flattenedattrs[$this->emailAttribute] : $this->userEmail; 
        $KG = isset($this->attrs[$this->groupNameKey]) ? $this->attrs[$this->groupNameKey] : null; 
        $fr = isset($this->attrs[$this->groupNameKey]) ? $this->attrs[$this->groupNameKey] : null; 
        if (is_array($KG) && count($KG) == 1) { 
            goto vx; 
        } 
        if (is_array($KG)) { 
            goto Xy; 
        } 
        goto DK; 
        vx: 
        $KG = $KG[0]; 
        goto DK; 
        Xy: 
        $KG = implode(",", $KG); 
        DK: 
        if (!$this->oauthUtility->isBlank($this->defaultRole)) { 
            goto QN; 
        } 
        $this->defaultRole = OAuthConstants::DEFAULT_ROLE; 
        QN: 
        if (!$this->oauthUtility->isBlank($this->checkIfMatchBy)) { 
            goto dH; 
        } 
        $this->checkIfMatchBy = OAuthConstants::DEFAULT_MAP_BY; 
        dH: 
        $A3 = !empty($this->attrs[$this->billingcountryNameKey]) ? $this->attrs[$this->billingcountryNameKey] : null; 
        $rq = !empty($this->attrs[$this->billingcityNameKey]) ? $this->attrs[$this->billingcityNameKey] : null; 
        $pi = !empty($this->attrs[$this->billingphoneNameKey]) ? $this->attrs[$this->billingphoneNameKey] : null; 
        $Ld = !empty($this->attrs[$this->billingstreetAddressNameKey]) ? $this->attrs[$this->billingstreetAddressNameKey] : null; 
        $Co = !empty($this->attrs[$this->billingmapStateNameKey]) ? $this->attrs[$this->billingmapStateNameKey] : null; 
        $Y6 = !empty($this->attrs[$this->billingzipCodeNameKey]) ? $this->attrs[$this->billingzipCodeNameKey] : null; 
        $h2 = !empty($this->attrs[$this->shippingcountryNameKey]) ? $this->attrs[$this->shippingcountryNameKey] : null; 
        $CM = !empty($this->attrs[$this->shippingcityNameKey]) ? $this->attrs[$this->shippingcityNameKey] : null; 
        $rK = !empty($this->attrs[$this->shippingphoneNameKey]) ? $this->attrs[$this->shippingphoneNameKey] : null; 
        $Wp = !empty($this->attrs[$this->shippingstreetAddressNameKey]) ? $this->attrs[$this->shippingstreetAddressNameKey] : null; 
        $y8 = !empty($this->attrs[$this->shippingmapStateNameKey]) ? $this->attrs[$this->shippingmapStateNameKey] : null; 
        $lP = !empty($this->attrs[$this->shippingzipCodeNameKey]) ? $this->attrs[$this->shippingzipCodeNameKey] : null; 
        $this->custom_attributes = $Q2["custom_attributes"]; 
        $this->custom_tablename = $Q2["custom_tablename"]; 
        $this->updateRole = $Q2["update_backend_roles_on_sso"]; 
        $this->updateFrontendRole = $Q2["update_frontend_groups_on_sso"]; 
        $JA = is_array($fr) ? $fr[0] : $fr; 
        $this->oauthUtility->log_debug("FirstGroup from IdP (if Multiple): " . json_encode($JA)); 
        $yV = null; 
        $c6 = null; 
        if (!$A3) { 
            goto kh; 
        } 
        $yV = $this->getCountryCodeBasedOnMapping($A3); 
        kh: 
        if (!$h2) { 
            goto Sk; 
        } 
        $c6 = $this->getCountryCodeBasedOnMapping($h2); 
        Sk: 
        $cN = $this->storeManager->getStore()->getBaseUrl(\Magento\Framework\UrlInterface::URL_TYPE_WEB); 
        $cN = rtrim($cN, "/\"); 
        if (!(isset($this->attrs["relayState"]) && !str_contains($this->attrs["relayState"], $cN))) { 
            goto V4; 
        } 
        if ($this->attrs["relayState"] == "/" || $this->attrs["relayState"] == null || $this->attrs["relayState"] == '') { 
            goto br; 
        } 
        echo "Redirects to external URLs are not allowed."; 
        exit; 
        br: 
        V4: 
        $this->processUserAction($this->userEmail, $jX, $ll, $dv, $this->defaultRole, $KG, $this->checkIfMatchBy, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6); 
    } 
    public function getCountryCodeBasedOnMapping($uV) 
    { 
        $yP = ["Afghanistan" => "AF", "\xc3\x85land Islands" => "AX", "Albania" => "AL", "Algeria" => "DZ", "American Samoa" => "AS", "Andorra" => "AD", "Angola" => "AO", "Anguilla" => "AI", "Antarctica" => "AQ", "Antigua and Barbuda" => "AG", "Argentina" => "AR", "Armenia" => "AM", "Aruba" => "AW", "Australia" => "AU", "Austria" => "AT", "Azerbaijan" => "AZ", "Bahamas" => "BS", "Bahrain" => "BH", "Bangladesh" => "BD", "Barbados" => "BB", "Belarus" => "BY", "Belgium" => "BE", "Belize" => "BZ", "Benin" => "BJ", "Bermuda" => "BM", "Bhutan" => "BT", "Bolivia" => "BO", "Bosnia and Herzegovina" => "BA", "Botswana" => "BW", "Bouvet Island" => "BV", "Brazil" => "BR", "British Indian Ocean Territory" => "IO", "British Virgin Islands" => "VG", "Brunei" => "BN", "Bulgaria" => "BG", "Burkina Faso" => "BF", "Burundi" => "BI", "Cambodia" => "KH", "Cameroon" => "CM", "Canada" => "CA", "Cape Verde" => "CV", "Caribbean Netherlands" => "BQ", "Cayman Islands" => "KY", "Central African Republic" => "CF", "Chad" => "TD", "Chile" => "CL", "China" => "CN", "Christmas Island" => "CX", "Cocos [Keeling] Islands" => "CC", "Colombia" => "CO", "Comoros" => "KM", "Congo - Brazzaville" => "CG", "Congo - Kinshasa" => "CD", "Cook Islands" => "CK", "Costa Rica" => "CR", "C\303\xb4te d\342\x80\231Ivoire" => "CI", "Croatia" => "HR", "Cuba" => "CU", "Cura\xc3\xa7ao" => "CW", "Cyprus" => "CY", "Czech Republic" => "CZ", "Denmark" => "DK", "Djibouti" => "DJ", "Dominica" => "DM", "Dominican Republic" => "DO", "Ecuador" => "EC", "Egypt" => "EG", "El Salvador" => "SV", "Equatorial Guinea" => "GQ", "Eritrea" => "ER", "Estonia" => "EE", "Ethiopia" => "ET", "Falkland Islands" => "FK", "Faroe Islands" => "FO", "Fiji" => "FJ", "Finland" => "FI", "France" => "FR", "French Guiana" => "GF", "French Polynesia" => "PF", "French Southern Territories" => "TF", "Gabon" => "GA", "Gambia" => "GM", "Georgia" => "GE", "Germany" => "DE", "Ghana" => "GH", "Gibraltar" => "GI", "Greece" => "GR", "Greenland" => "GL", "Grenada" => "GD", "Guadeloupe" => "GP", "Guam" => "GU", "Guatemala" => "GT", "Guernsey" => "GG", "Guinea" => "GN", "Guinea-Bissau" => "GW", "Guyana" => "GY", "Haiti" => "HT", "Heard Island and McDonald Islands" => "HM", "Honduras" => "HN", "Hong Kong SAR China" => "HK", "Hungary" => "HU", "Iceland" => "IS", "India" => "IN", "Indonesia" => "ID", "Iran" => "IR", "Iraq" => "IQ", "Ireland" => "IE", "Isle of Man" => "IM", "Israel" => "IL", "Italy" => "IT", "Jamaica" => "JM", "Japan" => "JP", "Jersey" => "JE", "Jordan" => "JO", "Kazakhstan" => "KZ", "Kenya" => "KE", "Kiribati" => "KI", "Kuwait" => "KW", "Kyrgyzstan" => "KG", "Laos" => "LA", "Latvia" => "LV", "Lebanon" => "LB", "Lesotho" => "LS", "Liberia" => "LR", "Libya" => "LY", "Liechtenstein" => "LI", "Lithuania" => "LT", "Luxembourg" => "LU", "Macau SAR China" => "MO", "Macedonia" => "MK", "Madagascar" => "MG", "Malawi" => "MW", "Malaysia" => "MY", "Maldives" => "MV", "Mali" => "ML", "Malta" => "MT", "Marshall Islands" => "MH", "Martinique" => "MQ", "Mauritania" => "MR", "Mauritius" => "MU", "Mayotte" => "YT", "Mexico" => "MX", "Micronesia" => "FM", "Moldova" => "MD", "Monaco" => "MC", "Mongolia" => "MN", "Montenegro" => "ME", "Montserrat" => "MS", "Morocco" => "MA", "Mozambique" => "MZ", "Myanmar [Burma]" => "MM", "Namibia" => "NA", "Nauru" => "NR", "Nepal" => "NP", "Netherlands" => "NL", "Netherlands Antilles" => "AN", "New Caledonia" => "NC", "New Zealand" => "NZ", "Nicaragua" => "NI", "Niger" => "NE", "Nigeria" => "NG", "Niue" => "NU", "Norfolk Island" => "NF", "Northern Mariana Islands" => "MP", "North Korea" => "KP", "Norway" => "NO", "Oman" => "OM", "Pakistan" => "PK", "Palau" => "PW", "Palestinian Territories" => "PS", "Panama" => "PA", "Papua New Guinea" => "PG", "Paraguay" => "PY", "Peru" => "PE", "Philippines" => "PH", "Pitcairn Islands" => "PN", "Poland" => "PL", "Portugal" => "PT", "Qatar" => "QA", "R\xc3\xa9union" => "RE", "Romania" => "RO", "Russia" => "RU", "Rwanda" => "RW", "Saint Barth\xc3\251lemy" => "BL", "Saint Helena" => "SH", "Saint Kitts and Nevis" => "KN", "Saint Lucia" => "LC", "Saint Martin" => "MF", "Saint Pierre and Miquelon" => "PM", "Saint Vincent and the Grenadines" => "VC", "Samoa" => "WS", "San Marino" => "SM", "S\xc3\243o Tom\303\xa9 and Pr\xc3\255ncipe" => "ST", "Saudi Arabia" => "SA", "Senegal" => "SN", "Serbia" => "RS", "Seychelles" => "SC", "Sierra Leone" => "SL", "Singapore" => "SG", "Sint Maarten" => "SX", "Slovakia" => "SK", "Slovenia" => "SI", "Solomon Islands" => "SB", "Somalia" => "SO", "South Africa" => "ZA", "South Georgia and the South Sandwich Islands" => "GS", "South Korea" => "KR", "Spain" => "ES", "Sri Lanka" => "LK", "Sudan" => "SD", "Suriname" => "SR", "Svalbard and Jan Mayen" => "SJ", "Swaziland" => "SZ", "Sweden" => "SE", "Switzerland" => "CH", "Syria" => "SY", "Taiwan, Province of China" => "TW", "Tajikistan" => "TJ", "Tanzania" => "TZ", "Thailand" => "TH", "Timor-Leste" => "TL", "Togo" => "TG", "Tokelau" => "TK", "Tonga" => "TO", "Trinidad and Tobago" => "TT", "Tunisia" => "TN", "Turkey" => "TR", "Turkmenistan" => "TM", "Turks and Caicos Islands" => "TC", "Tuvalu" => "TV", "Uganda" => "UG", "Ukraine" => "UA", "United Arab Emirates" => "AE", "United Kingdom" => "GB", "United States" => "US", "Uruguay" => "UY", "U.S. Outlying Islands" => "UM", "U.S. Virgin Islands" => "VI", "Uzbekistan" => "UZ", "Vanuatu" => "VU", "Vatican City" => "VA", "Venezuela" => "VE", "Vietnam" => "VN", "Wallis and Futuna" => "WF", "Western Sahara" => "EH", "Yemen" => "YE", "Zambia" => "ZM", "Zimbabwe" => "ZW"]; 
        if (!(strlen($uV) <= 3)) { 
            goto V3; 
        } 
        return $uV; 
        V3: 
        if (!isset($yP[$uV])) { 
            goto xm; 
        } 
        $hC = $yP[$uV]; 
        return $hC; 
        xm: 
        return null; 
    } 
    private function processUserAction($Nt, $jX, $ll, $dv, $Yr, $KG, $z7, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6) 
    { 
        if (!$this->oauthUtility->isTrialExpired()) { 
            goto wo; 
        } 
        $this->oauthUtility->log_debug("ProcessUserAction: execute : Your demo account has expired."); 
        print_r("Your Demo account has expired. Please contact [email protected]"); 
        exit; 
        wo: 
        if ($z7 == "username") { 
            goto Q3; 
        } 
        $this->oauthUtility->log_debug("ProcessUserAction: processUerAction :: User Email"); 
        $rH = false; 
        $user = null; 
        $rH = $this->oauthUtility->checkIfFlowStartedFromBackend($this->attrs["relayState"]); 
        if (!$rH) { 
            goto Qa; 
        } 
        $this->oauthUtility->log_debug("ProcessUserAction: Inside the admin=true"); 
        $rH = true; 
        $user = $this->getAdminUserFromAttributes($Nt); 
        Qa: 
        if ($rH) { 
            goto dj; 
        } 
        $this->oauthUtility->log_debug("user not found as admin.. searching in customers"); 
        $user = $this->getCustomerFromAttributes($Nt); 
        dj: 
        if (!$user) { 
            goto s2; 
        } 
        if (!$rH) { 
            goto l1; 
        } 
        $user = $this->getAdminUserFromAttributes($Nt); 
        $user = $this->updateAdmin($Nt, $jX, $ll, $dv, $user, $rH, $Yr, $KG); 
        goto Jf; 
        l1: 
        $user = $this->updateCustomer($Nt, $jX, $ll, $dv, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6, $rH, $Yr, $KG); 
        if (!(isset($this->updateAttribute) && strcasecmp($this->updateAttribute, "checked") === 0)) { 
            goto k0; 
        } 
        $user = $this->updateCustom($user, $Nt); 
        k0: 
        Jf: 
        goto ND; 
        s2: 
        $this->oauthUtility->log_debug("no users found in customers as well as in admin"); 
        $this->oauthUtility->log_debug("user does not exist"); 
        $rH = $this->oauthUtility->checkIfFlowStartedFromBackend($this->attrs["relayState"]); 
        if ($rH) { 
            goto rM; 
        } 
        $Li = $this->clientDetails["mo_oauth_auto_create_customer"]; 
        if ($Li) { 
            goto TY; 
        } 
        $this->oauthUtility->log_debug("AutoCreateCustomer is disabled"); 
        $C3 = "User doesn't exist anywhere.You are not allowed to login. Please contact your administrator."; 
        $this->showerrorMessage($C3); 
        goto Fi; 
        TY: 
        $this->oauthUtility->log_debug("creating new user"); 
        $user = $this->createNewUser($Nt, $jX, $ll, $dv, $user, $rH, $Yr, $KG, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6); 
        Fi: 
        goto KF; 
        rM: 
        $Li = $this->clientDetails["mo_oauth_auto_create_admin"]; 
        if ($Li) { 
            goto Ig; 
        } 
        $this->oauthUtility->log_debug("AutoCreateAdmin is disabled"); 
        $C3 = "User doesn't exist anywhere.You are not allowed to login. Please contact your administrator."; 
        $this->oauthUtility->log_debug($dv . " - User Auto Creation is disabled for new Admin user. Redirecting to Login Page"); 
        return $this->getResponse()->setBody($C3); 
        goto Ng; 
        Ig: 
        $this->oauthUtility->log_debug("creating new user"); 
        $user = $this->createNewUser($Nt, $jX, $ll, $dv, $user, $rH, $Yr, $KG, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6); 
        Ng: 
        KF: 
        ND: 
        if ($rH) { 
            goto Za; 
        } 
        $this->oauthUtility->setSessionData("customer_post_logout", 1); 
        $this->customerLoginAction->setUser($user)->setRelayState($this->attrs["relayState"])->execute(); 
        goto a4; 
        Za: 
        $this->oauthUtility->setAdminSessionData("admin_post_logout", 1); 
        $this->oauthUtility->log_debug("flow started from admin/backend"); 
        $this->redirectToBackendAndLogin($user->getUsername()); 
        a4: 
        goto cm; 
        Q3: 
        $this->oauthUtility->log_debug("ProcessUserAction: processUerAction :: Username"); 
        $rH = false; 
        $user = null; 
        if (!empty($dv)) { 
            goto et; 
        } 
        print_r("Username not received"); 
        return; 
        et: 
        if (!(strpos($dv, "@") === false)) { 
            goto cz; 
        } 
        $dv = $dv . "[email protected]"; 
        cz: 
        $rH = $this->oauthUtility->checkIfFlowStartedFromBackend($this->attrs["relayState"]); 
        if (!$rH) { 
            goto jX; 
        } 
        $this->oauthUtility->log_debug("ProcessUserAction: Inside the admin=true"); 
        $user = $this->getAdminUserFromAttributes($dv); 
        jX: 
        if ($rH) { 
            goto eK; 
        } 
        $this->oauthUtility->log_debug("user not found as admin.. searching in customers"); 
        $rH = true; 
        $user = $this->getCustomerFromAttributes($dv); 
        eK: 
        if (!$user) { 
            goto x1; 
        } 
        if (!$rH) { 
            goto iy; 
        } 
        $user = $this->getCustomerFromAttributes($Nt); 
        $user = $this->updateAdmin($Nt, $jX, $ll, $dv, $user, $rH, $Yr, $KG); 
        goto RU; 
        iy: 
        $user = $this->updateCustomer($Nt, $jX, $ll, $dv, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6, $rH, $Yr, $KG); 
        if (!(isset($this->updateAttribute) && strcasecmp($this->updateAttribute, "checked") === 0)) { 
            goto mW; 
        } 
        $user = $this->updateCustom($user, $Nt); 
        mW: 
        RU: 
        goto Sn; 
        x1: 
        $this->oauthUtility->log_debug("no users found in customers as well as in admin"); 
        $this->oauthUtility->log_debug("user does not exist"); 
        $rH = $this->oauthUtility->checkIfFlowStartedFromBackend($this->attrs["relayState"]); 
        if ($rH) { 
            goto Dd; 
        } 
        $Li = $this->clientDetails["mo_oauth_auto_create_customer"]; 
        $this->oauthUtility->log_debug("autocreatecustomer: ", $Li); 
        if ($Li) { 
            goto Ab; 
        } 
        $this->oauthUtility->log_debug("AutoCreateCustomer is disabled"); 
        $C3 = "User doesn't exist anywhere. You are not allowed to login. Please contact your administrator."; 
        $this->showerrorMessage($C3); 
        goto qj; 
        Ab: 
        $this->oauthUtility->log_debug("creating new user"); 
        $user = $this->createNewUser($Nt, $jX, $ll, $dv, $user, $rH, $Yr, $KG, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6); 
        qj: 
        goto R9; 
        Dd: 
        $Li = $this->clientDetails["mo_oauth_auto_create_admin"]; 
        if ($Li) { 
            goto Pl; 
        } 
        $this->oauthUtility->log_debug("AutoCreateAdmin is disabled"); 
        $C3 = "User doesn't exist anywhere. You are not allowed to login. Please contact your administrator."; 
        return $this->getResponse()->setBody($C3); 
        goto om; 
        Pl: 
        $this->oauthUtility->log_debug("creating new user"); 
        $user = $this->createNewUser($Nt, $jX, $ll, $dv, $user, $rH, $Yr, $KG, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6); 
        om: 
        R9: 
        Sn: 
        if ($rH) { 
            goto zf; 
        } 
        $this->oauthUtility->setSessionData("customer_post_logout", 1); 
        $this->customerLoginAction->setUser($user)->setRelayState($this->attrs["relayState"])->execute(); 
        goto vt; 
        zf: 
        $this->oauthUtility->setAdminSessionData("admin_post_logout", 1); 
        $this->oauthUtility->log_debug("flow started from admin/backend"); 
        $this->oauthUtility->log_debug("Before RedirecttoBackendAndLogin getID" . $user->getId()); 
        $this->redirectToBackendAndLogin($user->getUsername()); 
        vt: 
        cm: 
    } 
    private function redirectToBackendAndLogin($dv) 
    { 
        $dT = "adminhtml"; 
        $fW = $dv; 
        $this->_request->setPathInfo("/admin"); 
        $this->oauthUtility->log_debug("redirectToBackendAndLogin: user: " . $fW); 
        if ($this->_state->getAreaCode()) { 
            goto tB; 
        } 
        $this->_state->setAreaCode($dT); 
        tB: 
        $this->_objectManager->configure($this->_configLoader->load($dT)); 
        $this->_response = $this->_objectManager->get("Magento\Framework\App\Response\Http"); 
        $user = $this->_objectManager->get("Magento\User\Model\User")->loadByUsername($fW); 
        $v5 = $this->_objectManager->get("Magento\Backend\Model\Auth\Session"); 
        $v5->setUser($user); 
        $v5->processLogin(); 
        $this->oauthUtility->reinitconfig(); 
        if (!$v5->isLoggedIn()) { 
            goto J3; 
        } 
        $this->oauthUtility->log_debug("redirectToBackendAndLogin: isLoggedIn: true"); 
        $Rj = $this->_objectManager->get("Magento\Framework\Stdlib\CookieManagerInterface"); 
        $G0 = $v5->getSessionId(); 
        if (!$G0) { 
            goto mj; 
        } 
        $this->oauthUtility->log_debug("redirectToBackendAndLogin: cookieValue: true"); 
        $Nm = $this->_objectManager->get("Magento\Backend\Model\Session\AdminConfig"); 
        $ag = str_replace("autologin.php", "index.php", $Nm->getCookiePath()); 
        $ze = $this->_objectManager->get("Magento\Framework\Stdlib\Cookie\CookieMetadataFactory")->createPublicCookieMetadata()->setDuration(3600)->setPath($ag)->setDomain($Nm->getCookieDomain())->setSecure($Nm->getCookieSecure())->setHttpOnly($Nm->getCookieHttpOnly()); 
        $Rj->setPublicCookie($Nm->getName(), $G0, $ze); 
        if (!class_exists("Magento\Security\Model\AdminSessionsManager")) { 
            goto HV; 
        } 
        $this->oauthUtility->log_debug("redirectToBackendAndLogin: class exist AdminSessionsManager: true"); 
        $rl = $this->_objectManager->get("Magento\Security\Model\AdminSessionsManager"); 
        $rl->processLogin(); 
        HV: 
        mj: 
        $kK = $this->oauthUtility->getAdminUrl("admin/dashboard/index"); 
        $this->oauthUtility->log_debug("redirectToBackendAndLogin: finalUrl: " . $kK); 
        $this->getResponse()->setRedirect($kK)->sendResponse(); 
        exit; 
        J3: 
        $kK = $this->oauthUtility->getAdminUrl("admin/dashboard/index"); 
        $this->oauthUtility->log_debug("redirectToBackendAndLogin: finalUrl: " . $kK); 
        $this->getResponse()->setRedirect($kK)->sendResponse(); 
        exit; 
    } 
    private function generateEmail($dv) 
    { 
        $this->oauthUtility->log_debug("ProcessUserAction: generateEmail"); 
        $PT = $this->oauthUtility->getBaseUrl(); 
        $PT = substr($PT, strpos($PT, "//"), strlen($PT) - 1); 
        return $dv . "@" . $PT; 
    } 
    public function updateAdmin($Nt, $jX, $ll, $dv, $user, $rH, $Yr, $KG) 
    { 
        $oe = $user->getId(); 
        $user = $this->oauthUtility->getAdminUserById($oe); 
        $R9 = $this->clientDetails["oauth_admin_role_mapping"]; 
        $Cp = $this->processRoles($Yr, $rH, $R9, $KG); 
        $this->oauthUtility->log_debug("Setrole", $Cp); 
        if (!(empty($R9) || is_null($KG) || is_null($Cp))) { 
            goto MS; 
        } 
        $this->oauthUtility->log_debug("ProcessUserAction: inside empty rolemappig"); 
        $Ko = $this->clientDetails["default_role"]; 
        $yz = $this->clientDetails["default_group"]; 
        $Cp = $rH ? $this->getRoleIdByName($Ko) : $this->getGroupIdByName($yz); 
        MS: 
        if (!(!$this->oauthUtility->isBlank($Cp) && isset($this->updateRole) && strcasecmp($this->updateRole, "checked") === 0)) { 
            goto AN; 
        } 
        $user->setRoleId($Cp); 
        $this->oauthUtility->log_debug("assigning group to new Admin: " . $Cp); 
        $user->save(); 
        AN: 
        if (!(isset($this->updateAttribute) && strcasecmp($this->updateAttribute, "checked") === 0)) { 
            goto ID; 
        } 
        $Wk = explode("@", $Nt); 
        $dv = !$this->oauthUtility->isBlank($dv) ? $dv : $Nt; 
        $jX = !$this->oauthUtility->isBlank($jX) ? $jX : $Wk[0]; 
        $jX = preg_replace("/[^A-Za-z0-9\-]/", '', $jX); 
        $ll = !$this->oauthUtility->isBlank($ll) ? $ll : $Wk[1]; 
        $ll = preg_replace("/[^A-Za-z0-9\-]/", '', $ll); 
        $user->setFirstname($jX); 
        $user->setLastname($ll); 
        $user->save(); 
        ID: 
        return $user; 
    } 
    private function createNewUser($Nt, $jX, $ll, $dv, $user, &$rH, $Yr, $KG, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6) 
    { 
        $this->oauthUtility->log_debug("ProcessUserAction: createNewUser"); 
        if (!$this->oauthUtility->check_plan(4)) { 
            goto vP; 
        } 
        $this->oauthUtility->flushCache(); 
        $this->oauthUtility->reinitConfig(); 
        if ($this->oauthUtility->getRemainingUsersCount()) { 
            goto XH; 
        } 
        $Pu = $this->oauthUtility->getStoreConfig(OAuthConstants::DEFAULT_TOKEN); 
        $NA = (int) AESEncryption::decrypt_data($this->oauthUtility->getStoreConfig(OAuthConstants::MAGENTO_COUNTER), $Pu); 
        $this->oauthUtility->setStoreConfig(OAuthConstants::MAGENTO_COUNTER, AESEncryption::encrypt_data($NA + 1, $Pu)); 
        $this->oauthUtility->flushCache(); 
        $this->oauthUtility->reinitConfig(); 
        goto yt; 
        XH: 
        $this->oauthUtility->log_debug("Your Auto Create User Limit for the trial Miniorange Magento OAuth/OpenID plugin is exceeded. Please Upgrade to any of the Premium Plan to continue the service."); 
        print_r("Your Auto Create User Limit for the trial Miniorange Magento OAuth/OpenID plugin is exceeded. Please Upgrade to any of the Premium Plan to continue the service."); 
        exit; 
        yt: 
        vP: 
        $this->oauthUtility->log_debug("ProcessUserAction: createNewUser defaultRole", $Yr); 
        $this->oauthUtility->log_debug("ProcessUserAction: createNewUser groupname", $KG); 
        $this->oauthUtility->log_debug("ProcessUserAction: createNewUser lastname", $ll); 
        $Yw = $this->generatePassword(16); 
        $Wk = explode("@", $Nt); 
        $dv = !$this->oauthUtility->isBlank($dv) ? $dv : $Nt; 
        $jX = !$this->oauthUtility->isBlank($jX) ? $jX : $Wk[0]; 
        $jX = preg_replace("/[^A-Za-z0-9\-]/", '', $jX); 
        $ll = !$this->oauthUtility->isBlank($ll) ? $ll : $Wk[1]; 
        $ll = preg_replace("/[^A-Za-z0-9\-]/", '', $ll); 
        if ($rH) { 
            goto v3; 
        } 
        $R9 = $this->clientDetails["oauth_customer_group_mapping"]; 
        $this->oauthUtility->log_debug("createNewUser() : groupsMapped " . $R9); 
        goto R8; 
        v3: 
        $R9 = $this->clientDetails["oauth_admin_role_mapping"]; 
        $this->oauthUtility->log_debug("createNewUser() : rolesMapped " . $R9); 
        R8: 
        if (!(isset($this->dontCreateUserIfRoleNotMapped) && strcasecmp($this->dontCreateUserIfRoleNotMapped, "checked") === 0)) { 
            goto nc; 
        } 
        if ($this->isRoleMappingConfiguredForUser($R9, $KG)) { 
            goto on; 
        } 
        $TW = "We cannot login you. Please contact your administrator"; 
        if ($rH) { 
            goto S0; 
        } 
        $this->showerrorMessage($TW); 
        goto r9; 
        S0: 
        print_r($TW); 
        exit; 
        r9: 
        on: 
        nc: 
        $Cp = $this->processRoles($Yr, $rH, $R9, $KG); 
        $this->oauthUtility->log_debug("Setrole", $Cp); 
        if (!(empty($R9) || is_null($KG) || is_null($Cp))) { 
            goto UH; 
        } 
        $this->oauthUtility->log_debug("ProcessUserAction: inside empty rolemappig"); 
        $Ko = $this->clientDetails["default_role"]; 
        $yz = $this->clientDetails["default_group"]; 
        $Cp = $rH ? $this->getRoleIdByName($Ko) : $this->getGroupIdByName($yz); 
        UH: 
        $this->oauthUtility->log_debug("ProcessUserAction: role_mapping ", $R9); 
        if ($rH) { 
            goto tk; 
        } 
        $user = $this->createCustomer($dv, $Nt, $jX, $ll, $Yw, $Cp, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6); 
        goto m1; 
        tk: 
        $this->oauthUtility->log_debug("Setrole", $Cp); 
        $user = $this->createAdminUser($dv, $Nt, $jX, $ll, $Yw, $Cp); 
        m1: 
        return $user; 
    } 
    private function isRoleMappingConfiguredForUser($R9, $KG) 
    { 
        if (!(empty($KG) || empty($R9))) { 
            goto rv; 
        } 
        return FALSE; 
        rv: 
        $R9 = json_decode($R9); 
        foreach ($R9 as $Rn => $Gp) { 
            $fr = explode(",", $KG); 
            $kl = explode(";", $Gp); 
            foreach ($kl as $J6) { 
                foreach ($fr as $Uv) { 
                    if (!(trim($Uv, "["] ") == trim($J6, "["] "))) { 
                        goto Wh; 
                    } 
                    return TRUE; 
                    Wh: 
                    ww: 
                } 
                aN: 
                A_: 
            } 
            uH: 
            zp: 
        } 
        A1: 
    } 
    private function updateUserAttributes($jX, $ll, $Yr, $dv, $user, &$rH, $KG) 
    { 
        $this->oauthUtility->log_debug("ProcessUserAction: updateUserAttributes"); 
        $oe = $user->getId(); 
        if ($this->oauthUtility->isBlank($jX)) { 
            goto D1; 
        } 
        $this->oauthUtility->saveConfig(OAuthConstants::DB_FIRSTNAME, $jX, $oe, $rH); 
        D1: 
        if ($this->oauthUtility->isBlank($ll)) { 
            goto Ug; 
        } 
        $this->oauthUtility->saveConfig(OAuthConstants::DB_LASTNAME, $ll, $oe, $rH); 
        Ug: 
        if ($this->oauthUtility->isBlank($dv)) { 
            goto fT; 
        } 
        $this->oauthUtility->saveConfig(OAuthConstants::USER_NAME, $dv, $oe, $rH); 
        fT: 
        $by = $this->clientDetails["oauth_admin_role_mapping"]; 
        $bN = $this->clientDetails["oauth_customer_group_mapping"]; 
        $R9 = is_array($by) && $rH ? $by : array(); 
        $R9 = is_array($bN) && !$rH ? array_replace($R9, $bN) : $R9; 
        $Cp = $this->processRoles($Yr, $rH, $R9, $KG); 
        if ($rH) { 
            goto Cm; 
        } 
        $user->setData("group_id", $Cp); 
        $user->save(); 
        Cm: 
    } 
    private function createCustomer($dv, $Dt, $jX, $ll, $Yw, $vf, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6) 
    { 
        $cQ = $this->oauthUtility->getSessionData(OAuthConstants::APP_NAME); 
        $jH = $this->oauthUtility->getOAuthClientApps(); 
        $Q2 = null; 
        foreach ($jH as $BC) { 
            if (!($BC->getData()["app_name"] === $cQ)) { 
                goto QI; 
            } 
            $Q2 = $BC->getData(); 
            QI: 
            jZ: 
        } 
        CS: 
        $this->oauthUtility->log_debug("ProcessUserAction: createCustomer"); 
        $this->oauthUtility->log_debug("ProcessUserAction: role_assigned", $vf); 
        if (!(!isset($vf) || empty($vf))) { 
            goto g5; 
        } 
        $vf = 1; 
        g5: 
        $Ub = $this->storeManager->getWebsite()->getWebsiteId(); 
        $Cx = $this->storeManager->getStore(); 
        $eh = $Cx->getStoreId(); 
        $O3 = $this->customerFactory->create()->setWebsiteId($Ub)->setEmail($Dt)->setFirstname($jX)->setLastname($ll)->setPassword($Yw)->setGroupId($vf); 
        $hL = array_Keys((array) $this->attrs); 
        $Mf = json_decode((string) $Q2["custom_attributes"]); 
        $ud = array_values((array) $Mf); 
        $tn = array_intersect($hL, $ud); 
        foreach ($tn as $mE) { 
            $mg = array_search($mE, (array) $Mf); 
            $In = $this->attrs[$mE]; 
            $O3->setData($mg, $In); 
            MA: 
        } 
        h4: 
        $O3->save(); 
        $this->oauthUtility->log_debug("assigning group to new user: " . $vf); 
        $hL = array_Keys((array) $this->attrs); 
        $Mf = json_decode((string) $this->custom_attributes); 
        $ud = array_values((array) $Mf); 
        $tn = array_intersect($hL, $ud); 
        $NB = $this->custom_tablename; 
        if ($NB) { 
            goto e2; 
        } 
        $NB = "customer_entity"; 
        e2: 
        $this->oauthUtility->log_debug(" Update user's custom attributes"); 
        $oe = $O3->getId(); 
        if (!($pi || $Ld || $rq || $Co || $yV || $Y6)) { 
            goto uR; 
        } 
        $k1 = $this->dataAddressFactory->create(); 
        $k1->setFirstname($jX); 
        $k1->setLastname($ll); 
        if (!isset($pi)) { 
            goto iL; 
        } 
        $k1->setTelephone($pi); 
        iL: 
        if (!isset($Ld)) { 
            goto q9; 
        } 
        $k1->setStreet($Ld); 
        q9: 
        if (!isset($rq)) { 
            goto GB; 
        } 
        $k1->setCity($rq); 
        GB: 
        if (!isset($Co)) { 
            goto vm; 
        } 
        $ke = $this->collectionFactory->create()->addRegionNameFilter($Co)->getFirstItem()->toArray(); 
        if (!isset($ke["region_id"])) { 
            goto R_; 
        } 
        $k1->setRegionId($ke["region_id"]); 
        R_: 
        vm: 
        if (!isset($yV)) { 
            goto yU; 
        } 
        $k1->setCountryId($yV); 
        yU: 
        if (!isset($Y6)) { 
            goto oN; 
        } 
        $k1->setPostcode($Y6); 
        oN: 
        $k1->setIsDefaultBilling("1"); 
        $k1->setSaveInAddressBook("1"); 
        $k1->setCustomerId($O3->getId()); 
        try { 
            $k1->save(); 
            $O3 = $k1->getCustomer(); 
        } catch (\Exception $aQ) { 
            $this->oauthUtility->log_debug("An error occurred while trying to set address: {$aQ->getMessage()}"); 
        } 
        uR: 
        if (!($rK || $Wp || $CM || $y8 || $c6 || $lP)) { 
            goto G2; 
        } 
        $k1 = $this->dataAddressFactory->create(); 
        $k1->setFirstname($jX); 
        $k1->setLastname($ll); 
        if (!isset($rK)) { 
            goto ZA; 
        } 
        $k1->setTelephone($rK); 
        ZA: 
        if (!isset($Wp)) { 
            goto jn; 
        } 
        $k1->setStreet($Wp); 
        jn: 
        if (!isset($CM)) { 
            goto mE; 
        } 
        $k1->setCity($CM); 
        mE: 
        if (!isset($y8)) { 
            goto xp; 
        } 
        $ke = $this->collectionFactory->create()->addRegionNameFilter($y8)->getFirstItem()->toArray(); 
        if (!isset($ke["region_id"])) { 
            goto Nq; 
        } 
        $k1->setRegionId($ke["region_id"]); 
        Nq: 
        xp: 
        if (!isset($c6)) { 
            goto Ws; 
        } 
        $k1->setCountryId($c6); 
        Ws: 
        if (!isset($lP)) { 
            goto fy; 
        } 
        $k1->setPostcode($lP); 
        fy: 
        $k1->setIsDefaultShipping("1"); 
        $k1->setSaveInAddressBook("1"); 
        $k1->setCustomerId($O3->getId()); 
        try { 
            $k1->save(); 
            $O3 = $k1->getCustomer(); 
        } catch (\Exception $aQ) { 
            $this->oauthUtility->log_debug("An error occurred while trying to set address: {$aQ->getMessage()}"); 
        } 
        G2: 
        return $O3; 
    } 
    private function updateCustomAttributes(&$O3) 
    { 
        $yP = ["Afghanistan" => "AF", "\xc3\205land Islands" => "AX", "Albania" => "AL", "Algeria" => "DZ", "American Samoa" => "AS", "Andorra" => "AD", "Angola" => "AO", "Anguilla" => "AI", "Antarctica" => "AQ", "Antigua and Barbuda" => "AG", "Argentina" => "AR", "Armenia" => "AM", "Aruba" => "AW", "Australia" => "AU", "Austria" => "AT", "Azerbaijan" => "AZ", "Bahamas" => "BS", "Bahrain" => "BH", "Bangladesh" => "BD", "Barbados" => "BB", "Belarus" => "BY", "Belgium" => "BE", "Belize" => "BZ", "Benin" => "BJ", "Bermuda" => "BM", "Bhutan" => "BT", "Bolivia" => "BO", "Bosnia and Herzegovina" => "BA", "Botswana" => "BW", "Bouvet Island" => "BV", "Brazil" => "BR", "British Indian Ocean Territory" => "IO", "British Virgin Islands" => "VG", "Brunei" => "BN", "Bulgaria" => "BG", "Burkina Faso" => "BF", "Burundi" => "BI", "Cambodia" => "KH", "Cameroon" => "CM", "Canada" => "CA", "Cape Verde" => "CV", "Caribbean Netherlands" => "BQ", "Cayman Islands" => "KY", "Central African Republic" => "CF", "Chad" => "TD", "Chile" => "CL", "China" => "CN", "Christmas Island" => "CX", "Cocos [Keeling] Islands" => "CC", "Colombia" => "CO", "Comoros" => "KM", "Congo - Brazzaville" => "CG", "Congo - Kinshasa" => "CD", "Cook Islands" => "CK", "Costa Rica" => "CR", "C\303\264te d\xe2\x80\231Ivoire" => "CI", "Croatia" => "HR", "Cuba" => "CU", "Cura\xc3\247ao" => "CW", "Cyprus" => "CY", "Czech Republic" => "CZ", "Denmark" => "DK", "Djibouti" => "DJ", "Dominica" => "DM", "Dominican Republic" => "DO", "Ecuador" => "EC", "Egypt" => "EG", "El Salvador" => "SV", "Equatorial Guinea" => "GQ", "Eritrea" => "ER", "Estonia" => "EE", "Ethiopia" => "ET", "Falkland Islands" => "FK", "Faroe Islands" => "FO", "Fiji" => "FJ", "Finland" => "FI", "France" => "FR", "French Guiana" => "GF", "French Polynesia" => "PF", "French Southern Territories" => "TF", "Gabon" => "GA", "Gambia" => "GM", "Georgia" => "GE", "Germany" => "DE", "Ghana" => "GH", "Gibraltar" => "GI", "Greece" => "GR", "Greenland" => "GL", "Grenada" => "GD", "Guadeloupe" => "GP", "Guam" => "GU", "Guatemala" => "GT", "Guernsey" => "GG", "Guinea" => "GN", "Guinea-Bissau" => "GW", "Guyana" => "GY", "Haiti" => "HT", "Heard Island and McDonald Islands" => "HM", "Honduras" => "HN", "Hong Kong SAR China" => "HK", "Hungary" => "HU", "Iceland" => "IS", "India" => "IN", "Indonesia" => "ID", "Iran" => "IR", "Iraq" => "IQ", "Ireland" => "IE", "Isle of Man" => "IM", "Israel" => "IL", "Italy" => "IT", "Jamaica" => "JM", "Japan" => "JP", "Jersey" => "JE", "Jordan" => "JO", "Kazakhstan" => "KZ", "Kenya" => "KE", "Kiribati" => "KI", "Kuwait" => "KW", "Kyrgyzstan" => "KG", "Laos" => "LA", "Latvia" => "LV", "Lebanon" => "LB", "Lesotho" => "LS", "Liberia" => "LR", "Libya" => "LY", "Liechtenstein" => "LI", "Lithuania" => "LT", "Luxembourg" => "LU", "Macau SAR China" => "MO", "Macedonia" => "MK", "Madagascar" => "MG", "Malawi" => "MW", "Malaysia" => "MY", "Maldives" => "MV", "Mali" => "ML", "Malta" => "MT", "Marshall Islands" => "MH", "Martinique" => "MQ", "Mauritania" => "MR", "Mauritius" => "MU", "Mayotte" => "YT", "Mexico" => "MX", "Micronesia" => "FM", "Moldova" => "MD", "Monaco" => "MC", "Mongolia" => "MN", "Montenegro" => "ME", "Montserrat" => "MS", "Morocco" => "MA", "Mozambique" => "MZ", "Myanmar [Burma]" => "MM", "Namibia" => "NA", "Nauru" => "NR", "Nepal" => "NP", "Netherlands" => "NL", "Netherlands Antilles" => "AN", "New Caledonia" => "NC", "New Zealand" => "NZ", "Nicaragua" => "NI", "Niger" => "NE", "Nigeria" => "NG", "Niue" => "NU", "Norfolk Island" => "NF", "Northern Mariana Islands" => "MP", "North Korea" => "KP", "Norway" => "NO", "Oman" => "OM", "Pakistan" => "PK", "Palau" => "PW", "Palestinian Territories" => "PS", "Panama" => "PA", "Papua New Guinea" => "PG", "Paraguay" => "PY", "Peru" => "PE", "Philippines" => "PH", "Pitcairn Islands" => "PN", "Poland" => "PL", "Portugal" => "PT", "Qatar" => "QA", "R\303\251union" => "RE", "Romania" => "RO", "Russia" => "RU", "Rwanda" => "RW", "Saint Barth\xc3\251lemy" => "BL", "Saint Helena" => "SH", "Saint Kitts and Nevis" => "KN", "Saint Lucia" => "LC", "Saint Martin" => "MF", "Saint Pierre and Miquelon" => "PM", "Saint Vincent and the Grenadines" => "VC", "Samoa" => "WS", "San Marino" => "SM", "S\xc3\xa3o Tom\xc3\xa9 and Pr\xc3\255ncipe" => "ST", "Saudi Arabia" => "SA", "Senegal" => "SN", "Serbia" => "RS", "Seychelles" => "SC", "Sierra Leone" => "SL", "Singapore" => "SG", "Sint Maarten" => "SX", "Slovakia" => "SK", "Slovenia" => "SI", "Solomon Islands" => "SB", "Somalia" => "SO", "South Africa" => "ZA", "South Georgia and the South Sandwich Islands" => "GS", "South Korea" => "KR", "Spain" => "ES", "Sri Lanka" => "LK", "Sudan" => "SD", "Suriname" => "SR", "Svalbard and Jan Mayen" => "SJ", "Swaziland" => "SZ", "Sweden" => "SE", "Switzerland" => "CH", "Syria" => "SY", "Taiwan, Province of China" => "TW", "Tajikistan" => "TJ", "Tanzania" => "TZ", "Thailand" => "TH", "Timor-Leste" => "TL", "Togo" => "TG", "Tokelau" => "TK", "Tonga" => "TO", "Trinidad and Tobago" => "TT", "Tunisia" => "TN", "Turkey" => "TR", "Turkmenistan" => "TM", "Turks and Caicos Islands" => "TC", "Tuvalu" => "TV", "Uganda" => "UG", "Ukraine" => "UA", "United Arab Emirates" => "AE", "United Kingdom" => "GB", "United States" => "US", "Uruguay" => "UY", "U.S. Outlying Islands" => "UM", "U.S. Virgin Islands" => "VI", "Uzbekistan" => "UZ", "Vanuatu" => "VU", "Vatican City" => "VA", "Venezuela" => "VE", "Vietnam" => "VN", "Wallis and Futuna" => "WF", "Western Sahara" => "EH", "Yemen" => "YE", "Zambia" => "ZM", "Zimbabwe" => "ZW"]; 
        $sT = ''; 
        $UU[] = []; 
        $Pd[] = []; 
        $BN = ''; 
        $hC = ''; 
        $PZ = ''; 
        if (!array_key_exists("shipping_address", $this->attrs)) { 
            goto qr; 
        } 
        $sT = $this->attrs["shipping_address"]["phone"]; 
        $UU[] = htmlspecialchars($this->formatStreetAddress($this->attrs["shipping_address"]["address"]["street_address"])); 
        if (!$this->attrs["shipping_address"]["address"]["region"]) { 
            goto ah; 
        } 
        $UU[] = $this->attrs["shipping_address"]["address"]["region"]; 
        ah: 
        $BN = $this->attrs["shipping_address"]["address"]["postal_code"]; 
        $hC = $yP[$this->attrs["shipping_address"]["address"]["country"]]; 
        $PZ = $this->attrs["shipping_address"]["address"]["locality"]; 
        qr: 
        $Vm = ''; 
        if (!$this->oauthUtility->isBlank($sT)) { 
            goto sU; 
        } 
        $sT = "+1"; 
        sU: 
        $this->createOrUpdateAddress($O3, $O3->getFirstname(), $O3->getLastname(), $sT, $UU, $Vm, $PZ, $hC, $BN, "shipping"); 
        if (!array_key_exists("address", $this->attrs)) { 
            goto rV; 
        } 
        $Pd[] = htmlspecialchars($this->formatStreetAddress($this->attrs["address"]["street_address"])); 
        if (!$this->attrs["address"]["region"]) { 
            goto MB; 
        } 
        $Pd[] = $this->attrs["address"]["region"]; 
        MB: 
        $BN = $this->attrs["address"]["postal_code"]; 
        $hC = $yP[$this->attrs["address"]["country"]]; 
        $PZ = $this->attrs["address"]["locality"]; 
        rV: 
        $Vm = ''; 
        if (!$this->oauthUtility->isBlank($sT)) { 
            goto r4; 
        } 
        $sT = "+1"; 
        r4: 
        $this->createOrUpdateAddress($O3, $O3->getFirstname(), $O3->getLastname(), $sT, $Pd, $Vm, $PZ, $hC, $BN, "billing"); 
    } 
    private function formatStreetAddress($eJ) 
    { 
        $eJ = preg_replace("/
\xd\xa|\xd\xd|\xa\xa/", ",", $eJ); 
        $eJ = preg_replace("/
|\xd|
/", ",", $eJ); 
        return $eJ; 
    } 
    private function createOrUpdateAddress(&$O3, $jX, $ll, $sT, $UU, $Vm, $PZ, $hC, $BN, $wv) 
    { 
        if (!$this->addressValidationCheck($UU, $BN, $hC)) { 
            goto eV; 
        } 
        $k1 = $this->dataAddressFactory->create(); 
        if ($wv == "billing" && $O3->getDefaultBilling()) { 
            goto SD; 
        } 
        if ($wv == "shipping" && $O3->getDefaultShipping()) { 
            goto zm; 
        } 
        if (!($wv == "both" && $O3->getDefaultShipping())) { 
            goto kH; 
        } 
        $k1->load($O3->getDefaultShipping()); 
        kH: 
        goto XI; 
        zm: 
        $k1->load($O3->getDefaultShipping()); 
        XI: 
        goto oE; 
        SD: 
        $k1->load($O3->getDefaultBilling()); 
        oE: 
        $k1->setFirstname($jX); 
        $k1->setLastname($ll); 
        $k1->setTelephone($sT); 
        $k1->setStreet($UU); 
        $k1->setCity($PZ); 
        $k1->setCountryId($hC); 
        $k1->setPostcode($BN); 
        $k1->setRegionId($Vm); 
        $AJ = $wv == "billing" || $wv == "both"; 
        $D_ = $wv == "shipping" || $wv == "both"; 
        $k1->setIsDefaultShipping($D_); 
        $k1->setIsDefaultBilling($AJ); 
        $k1->setCustomerId($O3->getId()); 
        try { 
            $k1->save(); 
            $O3 = $k1->getCustomer(); 
        } catch (\Exception $aQ) { 
            die("An error occurred while trying to set address: {$aQ->getMessage()}"); 
        } 
        eV: 
    } 
    private function addressValidationCheck($UU, $BN, $hC) 
    { 
        return !$this->oauthUtility->isBlank($UU) && !$this->oauthUtility->isBlank($BN) && !$this->oauthUtility->isBlank($hC); 
    } 
    private function createAdminUser($dv, $Dt, $jX, $ll, $Yw, $vf) 
    { 
        $this->oauthUtility->log_debug("ProcessUserAction: createAdminUser"); 
        if (!($vf === "0" || $vf == null)) { 
            goto a0; 
        } 
        $vf = "1"; 
        a0: 
        if (!(strlen($dv) >= 40)) { 
            goto es; 
        } 
        $dv = substr($dv, 0, 40); 
        es: 
        $Db = ["username" => $dv, "firstname" => $jX, "lastname" => $ll, "email" => $Dt, "password" => $Yw, "interface_locale" => "en_US", "is_active" => 1]; 
        $T3 = $vf; 
        $user = $this->userFactory->create(); 
        $user->setData($Db); 
        $user->setRoleId($vf); 
        $this->oauthUtility->log_debug("assigning group to new Admin: " . $vf); 
        $user->save(); 
        return $user; 
    } 
    private function processRoles($Yr, $rH, $R9, $KG) 
    { 
        if ($rH) { 
            goto KZ; 
        } 
        $Yr = $this->clientDetails["default_group"]; 
        goto bw; 
        KZ: 
        $Yr = $this->clientDetails["default_role"]; 
        bw: 
        $this->oauthUtility->log_debug("default Role: " . $Yr); 
        if (!$R9) { 
            goto dz; 
        } 
        $R9 = json_decode($R9); 
        dz: 
        $vQ = null; 
        if (!(empty($KG) || empty($R9))) { 
            goto BU; 
        } 
        return null; 
        BU: 
        foreach ($R9 as $Rn => $Gp) { 
            $fr = explode(",", $KG); 
            $kl = explode(";", $Gp); 
            foreach ($kl as $J6) { 
                foreach ($fr as $Uv) { 
                    if (!(trim($Uv, "["] ") == trim($J6, "["] "))) { 
                        goto OD; 
                    } 
                    $vQ = $Rn; 
                    return $vQ; 
                    OD: 
                    dk: 
                } 
                AW: 
                Mm: 
            } 
            B1: 
            we: 
        } 
        D0: 
        if ($rH) { 
            goto C0; 
        } 
        return $this->getGroupIdByName($Yr); 
        goto pk; 
        C0: 
        return $this->getRoleIdByName($Yr); 
        pk: 
    } 
    private function getAdminUserFromAttributes($Nt) 
    { 
        $R6 = false; 
        $oY = $this->adminUserModel->getResource()->getConnection(); 
        $WS = $oY->select()->from($this->adminUserModel->getResource()->getMainTable())->where("email=:email"); 
        $FY = ["email" => $Nt]; 
        $R6 = $oY->fetchRow($WS, $FY); 
        $R6 = is_array($R6) ? $this->adminUserModel->loadByUsername($R6["username"]) : $R6; 
        return $R6; 
    } 
    private function processDefaultRole($rH, $Yr) 
    { 
        $this->oauthUtility->log_debug("ProcessUserAction: processDefaultRoles"); 
        if (!is_null($Yr)) { 
            goto XD; 
        } 
        return; 
        XD: 
        $fr = $this->userGroupModel->toOptionArray(); 
        $ml = $this->adminRoleModel->toOptionArray(); 
        $eC = ''; 
        if ($rH) { 
            goto Fm; 
        } 
        foreach ($fr as $Uv) { 
            $rH = $Yr == $Uv["label"] ? false : true; 
            if ($rH) { 
                goto zM; 
            } 
            $eC = $Uv["value"]; 
            goto Zt; 
            zM: 
            Ct: 
        } 
        Zt: 
        goto VF; 
        Fm: 
        foreach ($ml as $uT) { 
            $rH = $Yr == $uT["label"] ? true : false; 
            if (!$rH) { 
                goto qd; 
            } 
            $eC = $uT["value"]; 
            goto fQ; 
            qd: 
            UU: 
        } 
        fQ: 
        VF: 
        $this->oauthUtility->log_debug("ProcessUserAction: processDefaultRoles" . $eC); 
        return $eC; 
    } 
    private function getRoleIdByName($mr) 
    { 
        $ml = $this->adminRoleModel->toOptionArray(); 
        foreach ($ml as $uT) { 
            if (!($mr == $uT["label"])) { 
                goto vk; 
            } 
            $this->oauthUtility->log_debug("getRoleIdByName(): returning roleId: " . $uT["value"] . " for role: " . $uT["label"]); 
            return $uT["value"]; 
            vk: 
            zv: 
        } 
        f9: 
        $this->oauthUtility->log_debug("getGroupIdByName(): Something went wrong. Default RoleId cannot be Found:assigning Administrator role "); 
        return 1; 
    } 
    private function getGroupIdByName($KG) 
    { 
        $fr = $this->userGroupModel->toOptionArray(); 
        foreach ($fr as $Uv) { 
            if (!($KG == $Uv["label"])) { 
                goto Ht; 
            } 
            $this->oauthUtility->log_debug("getGroupIdByName(): returning groupId: " . $Uv["value"] . " for role: " . $Uv["label"]); 
            return $Uv["value"]; 
            Ht: 
            Eb: 
        } 
        Po: 
        $this->oauthUtility->log_debug("getGroupIdByName(): Something went wrong. Default GroupId cannot be Found:assining general role "); 
        return 1; 
    } 
    private function getCustomerFromAttributes($Nt) 
    { 
        $this->oauthUtility->log_debug("ProcessUserAction: getCustomAttributes"); 
        $this->customerModel->setWebsiteId($this->storeManager->getStore()->getWebsiteId()); 
        $O3 = $this->customerModel->loadByEmail($Nt); 
        return !is_null($O3->getId()) ? $O3 : false; 
    } 
    public function setAttrs($Rs) 
    { 
        $this->attrs = $Rs; 
        return $this; 
    } 
    public function setFlattenedAttrs($mS) 
    { 
        $this->flattenedattrs = $mS; 
        return $this; 
    } 
    public function setUserEmail($lG) 
    { 
        $this->userEmail = $lG; 
        return $this; 
    } 
    public function updateCustomer($Nt, $jX, $ll, $dv, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6, $rH, $Yr, $KG) 
    { 
        $Wk = explode("@", $Nt); 
        $this->oauthUtility->log_debug("processUserAction: updateCustomer"); 
        if (!($jX === null || empty($jX))) { 
            goto VJ; 
        } 
        $jX = $Wk[0]; 
        $jX = preg_replace("/[^A-Za-z0-9\-]/", '', $jX); 
        VJ: 
        if (!($ll === null || empty($ll))) { 
            goto xr; 
        } 
        $ll = $Wk[1]; 
        $ll = preg_replace("/[^A-Za-z0-9\-]/", '', $ll); 
        xr: 
        $R9 = $this->clientDetails["oauth_customer_group_mapping"]; 
        $Cp = $this->processRoles($Yr, $rH, $R9, $KG); 
        $this->oauthUtility->log_debug("Setrole" . $Cp); 
        if (!(empty($R9) || is_null($KG) || is_null($Cp))) { 
            goto KS; 
        } 
        $this->oauthUtility->log_debug("ProcessUserAction: inside empty rolemappig"); 
        $Ko = $this->clientDetails["default_role"]; 
        $yz = $this->clientDetails["default_group"]; 
        $Cp = $rH ? $this->getRoleIdByName($Ko) : $this->getGroupIdByName($yz); 
        KS: 
        $Cx = $this->storeManager->getStore(); 
        $Ub = $this->storeManager->getStore()->getWebsiteId(); 
        $O3 = $this->customerFactory->create(); 
        $O3->setWebsiteId($Ub)->loadByEmail($Nt); 
        if (!(!$this->oauthUtility->isBlank($Cp) && isset($this->updateFrontendRole) && strcasecmp($this->updateFrontendRole, "checked") === 0)) { 
            goto sB; 
        } 
        $O3->setWebsiteId($Ub)->setStore($Cx)->setGroupId($Cp)->setForceConfirmed(true)->save(); 
        sB: 
        if (!(isset($this->updateAttribute) && strcasecmp($this->updateAttribute, "checked") === 0)) { 
            goto lY; 
        } 
        $O3->setWebsiteId($Ub)->setStore($Cx)->setFirstname($jX)->setLastname($ll)->setEmail($Nt)->setForceConfirmed(true)->save(); 
        if (!($pi || $Ld || $rq || $Co || $yV || $Y6)) { 
            goto FG; 
        } 
        $U8 = null; 
        $hy = $O3->getDefaultBilling(); 
        if (!isset($hy)) { 
            goto V2; 
        } 
        $U8 = $this->_addressFactory->create()->load($hy); 
        V2: 
        if (is_null($hy)) { 
            goto wQ; 
        } 
        $U8->setFirstname($jX); 
        $U8->setLastname($ll); 
        $this->oauthUtility->log_debug(" exiting updateUserAttributes: phone"); 
        if (!isset($pi)) { 
            goto U0; 
        } 
        $U8->setTelephone($pi); 
        U0: 
        if (!isset($Ld)) { 
            goto Cl; 
        } 
        $U8->setStreet($Ld); 
        Cl: 
        if (!isset($rq)) { 
            goto F5; 
        } 
        $U8->setCity($rq); 
        F5: 
        if (!isset($Co)) { 
            goto z5; 
        } 
        $ke = $this->collectionFactory->create()->addRegionNameFilter($Co)->getFirstItem()->toArray(); 
        if (!isset($ke["region_id"])) { 
            goto mu; 
        } 
        $U8->setRegionId($ke["region_id"]); 
        mu: 
        z5: 
        if (!isset($yV)) { 
            goto hE; 
        } 
        $U8->setCountryId($yV); 
        hE: 
        if (!isset($Y6)) { 
            goto nV; 
        } 
        $U8->setPostcode($Y6); 
        nV: 
        $U8->save(); 
        goto Z2; 
        wQ: 
        $k1 = $this->dataAddressFactory->create(); 
        $k1->setFirstname($jX); 
        $k1->setLastname($ll); 
        if (!isset($pi)) { 
            goto Pa; 
        } 
        $k1->setTelephone($pi); 
        Pa: 
        if (!isset($Ld)) { 
            goto r3; 
        } 
        $k1->setStreet($Ld); 
        r3: 
        if (!isset($rq)) { 
            goto uK; 
        } 
        $k1->setCity($rq); 
        uK: 
        if (!isset($yV)) { 
            goto wx; 
        } 
        $k1->setCountryId($yV); 
        wx: 
        if (!isset($Co)) { 
            goto fz; 
        } 
        $ke = $this->collectionFactory->create()->addRegionNameFilter($Co)->getFirstItem()->toArray(); 
        if (!isset($ke["region_id"])) { 
            goto FF; 
        } 
        $k1->setRegionId($ke["region_id"]); 
        FF: 
        fz: 
        if (!isset($Y6)) { 
            goto vR; 
        } 
        $k1->setPostcode($Y6); 
        vR: 
        $k1->setIsDefaultBilling("1"); 
        $k1->setSaveInAddressBook("1"); 
        $k1->setCustomerId($O3->getId()); 
        try { 
            $k1->save(); 
            $O3 = $k1->getCustomer(); 
        } catch (\Exception $aQ) { 
            $this->oauthUtility->log_debug("An error occurred while trying to set address: {$aQ->getMessage()}"); 
        } 
        Z2: 
        FG: 
        if (!($rK || $Wp || $CM || $y8 || $c6 || $lP)) { 
            goto dr; 
        } 
        $Zg = $O3->getDefaultShipping(); 
        $Ci = $this->_addressFactory->create()->load($Zg); 
        if (is_null($Zg)) { 
            goto yN; 
        } 
        $Ci->setFirstname($jX); 
        $Ci->setLastname($ll); 
        $this->oauthUtility->log_debug(" exiting updateUserAttributes: phone"); 
        if (!isset($rK)) { 
            goto Je; 
        } 
        $Ci->setTelephone($rK); 
        Je: 
        if (!isset($Wp)) { 
            goto Wr; 
        } 
        $Ci->setStreet($Wp); 
        Wr: 
        if (!isset($CM)) { 
            goto rd; 
        } 
        $Ci->setCity($CM); 
        rd: 
        if (!isset($y8)) { 
            goto ns; 
        } 
        $ke = $this->collectionFactory->create()->addRegionNameFilter($y8)->getFirstItem()->toArray(); 
        if (!isset($ke["region_id"])) { 
            goto iZ; 
        } 
        $Ci->setRegionId($ke["region_id"]); 
        iZ: 
        ns: 
        if (!isset($c6)) { 
            goto XG; 
        } 
        $Ci->setCountryId($c6); 
        XG: 
        if (!isset($lP)) { 
            goto Xx; 
        } 
        $Ci->setPostcode($lP); 
        Xx: 
        $Ci->save(); 
        goto JG; 
        yN: 
        $k1 = $this->dataAddressFactory->create(); 
        $k1->setFirstname($jX); 
        $k1->setLastname($ll); 
        if (!isset($rK)) { 
            goto Ih; 
        } 
        $k1->setTelephone($rK); 
        Ih: 
        if (!isset($Wp)) { 
            goto Kr; 
        } 
        $k1->setStreet($Wp); 
        Kr: 
        if (!isset($CM)) { 
            goto at; 
        } 
        $k1->setCity($CM); 
        at: 
        if (!isset($y8)) { 
            goto LC; 
        } 
        $ke = $this->collectionFactory->create()->addRegionNameFilter($y8)->getFirstItem()->toArray(); 
        if (!isset($ke["region_id"])) { 
            goto Pp; 
        } 
        $k1->setRegionId($ke["region_id"]); 
        Pp: 
        LC: 
        if (!isset($c6)) { 
            goto LO; 
        } 
        $k1->setCountryId($c6); 
        LO: 
        if (!isset($lP)) { 
            goto c9; 
        } 
        $k1->setPostcode($lP); 
        c9: 
        $k1->setIsDefaultShipping("1"); 
        $k1->setSaveInAddressBook("1"); 
        $k1->setCustomerId($O3->getId()); 
        try { 
            $k1->save(); 
            $O3 = $k1->getCustomer(); 
        } catch (\Exception $aQ) { 
            $this->oauthUtility->log_debug("An error occurred while trying to set address: {$aQ->getMessage()}"); 
        } 
        JG: 
        dr: 
        lY: 
        return $O3; 
    } 
    public function generatePassword($tV = 16) 
    { 
        $ZJ = \Magento\Framework\Math\Random::CHARS_LOWERS . \Magento\Framework\Math\Random::CHARS_UPPERS . \Magento\Framework\Math\Random::CHARS_DIGITS . "#$%&*.;:()@!"; 
        $bf = $this->randomUtility->getRandomString($tV, $ZJ); 
        return $bf; 
    } 
    public function showerrorMessage($TW) 
    { 
        $this->oauthUtility->log_debug("Process User Action: Redirecting to error page: error message : " . $TW); 
        $this->messageManager->addErrorMessage($TW); 
        $zD = $this->oauthUtility->getStoreConfig(OAuthConstants::AUTO_REDIRECT); 
        $RT = $this->oauthUtility->getStoreConfig(OAuthConstants::ALL_PAGE_AUTO_REDIRECT); 
        if ($RT) { 
            goto t3; 
        } 
        if ($zD) { 
            goto Qv; 
        } 
        $az = $this->oauthUtility->getBaseUrl() . "customer/account/login"; 
        goto WM; 
        t3: 
        print_r($TW); 
        exit; 
        goto WM; 
        Qv: 
        $az = $this->oauthUtility->getSessionData("error_redirect_url"); 
        WM: 
        $this->getResponse()->setRedirect($az)->sendResponse(); 
        exit; 
    } 
    public function updateCustom($user, $Nt) 
    { 
        $cQ = $this->oauthUtility->getSessionData(OAuthConstants::APP_NAME); 
        $jH = $this->oauthUtility->getOAuthClientApps(); 
        $Q2 = null; 
        foreach ($jH as $BC) { 
            if (!($BC->getData()["app_name"] === $cQ)) { 
                goto rf; 
            } 
            $Q2 = $BC->getData(); 
            rf: 
            qN: 
        } 
        RI: 
        if (!(isset($this->updateAttribute) && strcasecmp($this->updateAttribute, "checked") === 0)) { 
            goto Vp; 
        } 
        $this->oauthUtility->log_debug(" In updateCustomAttribute function"); 
        $oe = $user->getId(); 
        $this->oauthUtility->log_debug("user id" . $oe); 
        $rH = is_a($user, "\Magento\User\Model\User") ? TRUE : FALSE; 
        $hL = array_Keys((array) $this->attrs); 
        $this->oauthUtility->log_debug("attributes keys ", $hL); 
        $Mf = json_decode((string) $Q2["custom_attributes"]); 
        $ud = array_values((array) $Mf); 
        foreach ((array) $Mf as $Lj => $uV) { 
            $Dl = $this->eavConfig->getEntityType("customer")->getId(); 
            $Ct = $this->eavConfig->getAttribute($Dl, $Lj); 
            if ($Ct && $Ct->getId()) { 
                goto GX; 
            } 
            $this->oauthUtility->log_debug("{$Lj} custom attribute not present"); 
            GX: 
            Z7: 
        } 
        bI: 
        $tn = array_intersect($hL, $ud); 
        $this->oauthUtility->log_debug(" Update user's custom attributes"); 
        foreach ($tn as $mE) { 
            $mg = array_search($mE, (array) $Mf); 
            $In = $this->attrs[$mE]; 
            $this->oauthUtility->log_debug("custom attribute = {$mg} and custom value = {$In} "); 
            $O3 = $this->customerFactory->create(); 
            $Ub = $this->storeManager->getWebsite()->getWebsiteId(); 
            $O3->setWebsiteId($Ub); 
            $O3->loadByEmail($Nt); 
            $O3->setData($mg, $In); 
            $O3->save(); 
            iU: 
        } 
        Hk: 
        Vp: 
        return $user; 
    } 
} 
 ?>

Did this file decode correctly?

Original Code

<?php


namespace MiniOrange\OAuth\Controller\Actions;

use Magento\Authorization\Model\ResourceModel\Role\Collection;
use Magento\Customer\Model\Customer;
use Magento\Customer\Model\CustomerFactory;
use Magento\Framework\App\Action\Context;
use Magento\Framework\App\ResponseFactory;
use Magento\Framework\Math\Random;
use Magento\Store\Model\StoreManagerInterface;
use Magento\User\Model\User;
use Magento\User\Model\UserFactory;
use MiniOrange\OAuth\Helper\Exception\MissingAttributesException;
use MiniOrange\OAuth\Helper\OAuthConstants;
use MiniOrange\OAuth\Helper\OAuthMessages;
use MiniOrange\OAuth\Helper\OAuthUtility;
use Magento\Customer\Model\AddressFactory;
use Magento\Directory\Model\ResourceModel\Region\CollectionFactory;
use Magento\Framework\Controller\ResultFactory;
use Magento\Framework\Message\ManagerInterface;
use Magento\Eav\Model\Config as EavConfig;
use MiniOrange\OAuth\Helper\OAuth\lib\AESEncryption;
class ProcessUserAction extends BaseAction
{
    private $attrs;
    private $flattenedattrs;
    private $userEmail;
    private $checkIfMatchBy;
    private $defaultRole;
    private $emailAttribute;
    private $usernameAttribute;
    private $firstNameKey;
    private $lastNameKey;
    private $groupNameKey;
    private $groupName;
    private $userGroupModel;
    private $adminRoleModel;
    private $adminUserModel;
    private $customerLoginAction;
    private $responseFactory;
    private $customerFactory;
    private $customerResource;
    private $userFactory;
    private $randomUtility;
    private $dontCreateUserIfRoleNotMapped;
    private $_state;
    private $_configLoader;
    public $_response;
    private $storeManager;
    private $customerRepository;
    private $customerModel;
    private $adminSession;
    private $adminSessionManager;
    private $adminConfig;
    private $cookieMetadataFactory;
    private $cookieManager;
    private $urlInterface;
    private $dataAddressFactory;
    private $clientDetails;
    protected $resultFactory;
    private $countryNameKey;
    private $cityNameKey;
    private $phoneNameKey;
    private $streetAddressNameKey;
    private $mapStateNameKey;
    private $zipCodeNameKey;
    protected $messageManager;
    protected $billingcountryNameKey;
    protected $billingcityNameKey;
    protected $billingphoneNameKey;
    protected $billingstreetAddressNameKey;
    protected $billingmapStateNameKey;
    protected $billingzipCodeNameKey;
    protected $shippingcountryNameKey;
    protected $shippingcityNameKey;
    protected $shippingphoneNameKey;
    protected $shippingstreetAddressNameKey;
    protected $shippingmapStateNameKey;
    protected $shippingzipCodeNameKey;
    private $updateAttribute;
    private $collectionFactory;
    private $custom_tablename;
    private $custom_attributes;
    private $updateFrontendRole;
    private $updateRole;
    protected $eavConfig;
    protected $_addressFactory;
    private $HelperBackend;
    public function __construct(Context $dS, OAuthUtility $RV, \Magento\Customer\Model\ResourceModel\Group\Collection $MD, Collection $zy, User $pa, Customer $o_, StoreManagerInterface $i9, ResponseFactory $BK, CustomerLoginAction $G5, CustomerFactory $AC, UserFactory $gx, Random $aF, \Magento\Customer\Model\ResourceModel\Customer $uL, AddressFactory $RR, \Magento\Framework\App\State $A7, \Magento\Backend\Model\Auth\Session $OP, \Magento\Security\Model\AdminSessionsManager $rl, \Magento\Framework\Stdlib\Cookie\CookieMetadataFactory $rG, \Magento\Framework\Stdlib\CookieManagerInterface $Rj, \Magento\Backend\Model\UrlInterface $cM, \Magento\Framework\ObjectManager\ConfigLoaderInterface $gi, \Magento\Customer\Api\CustomerRepositoryInterface $m4, \Magento\Backend\Model\Session\AdminConfig $zn, \Magento\Backend\Helper\Data $ZH, CollectionFactory $Ij, ResultFactory $qr, ManagerInterface $bM, \Magento\Customer\Model\AddressFactory $kM, EavConfig $JU)
    {
        $this->userGroupModel = $MD;
        $this->adminRoleModel = $zy;
        $this->adminUserModel = $pa;
        $this->customerModel = $o_;
        $this->storeManager = $i9;
        $this->responseFactory = $BK;
        $this->customerLoginAction = $G5;
        $this->customerFactory = $AC;
        $this->userFactory = $gx;
        $this->randomUtility = $aF;
        $this->dataAddressFactory = $RR;
        $this->customerResource = $uL;
        $this->customerRepository = $m4;
        $this->_state = $A7;
        $this->adminSession = $OP;
        $this->adminSessionManager = $rl;
        $this->adminConfig = $zn;
        $this->cookieManager = $Rj;
        $this->cookieMetadataFactory = $rG;
        $this->urlInterface = $cM;
        $this->HelperBackend = $ZH;
        $this->_configLoader = $gi;
        $this->collectionFactory = $Ij;
        $this->resultFactory = $qr;
        $this->messageManager = $bM;
        $this->eavConfig = $JU;
        $this->_addressFactory = $kM;
        parent::__construct($dS, $RV);
    }
    public function execute()
    {
        $cQ = $this->oauthUtility->getSessionData(OAuthConstants::APP_NAME);
        $jH = $this->oauthUtility->getOAuthClientApps();
        $Q2 = null;
        foreach ($jH as $BC) {
            if (!($BC->getData()["\x61\x70\160\x5f\x6e\141\x6d\x65"] === $cQ)) {
                goto M1;
            }
            $Q2 = $BC->getData();
            M1:
            bJ:
        }
        XS:
        $this->clientDetails = $Q2;
        $this->emailAttribute = $Q2["\145\155\x61\151\154\x5f\141\x74\x74\162\x69\x62\165\164\x65"];
        $this->emailAttribute = $this->oauthUtility->isBlank($this->emailAttribute) ? OAuthConstants::DEFAULT_MAP_EMAIL : $this->emailAttribute;
        $this->usernameAttribute = $Q2["\165\163\145\x72\156\x61\155\x65\137\x61\x74\164\162\x69\142\x75\164\145"];
        $this->usernameAttribute = $this->oauthUtility->isBlank($this->usernameAttribute) ? OAuthConstants::DEFAULT_MAP_USERN : $this->usernameAttribute;
        $this->firstNameKey = $Q2["\x66\x69\162\x73\x74\x6e\141\x6d\145\x5f\x61\164\164\x72\x69\142\x75\x74\145"];
        $this->firstNameKey = $this->oauthUtility->isBlank($this->firstNameKey) ? OAuthConstants::DEFAULT_MAP_FN : $this->firstNameKey;
        $this->lastNameKey = $Q2["\x6c\141\163\x74\x6e\141\155\x65\137\x61\164\x74\162\151\x62\x75\164\x65"];
        $this->lastNameKey = $this->oauthUtility->isBlank($this->lastNameKey) ? OAuthConstants::DEFAULT_MAP_LN : $this->lastNameKey;
        $this->defaultRole = $Q2["\144\145\146\141\x75\154\164\x5f\x72\x6f\x6c\145"];
        $this->checkIfMatchBy = $Q2["\x6d\157\137\157\141\x75\164\x68\x5f\143\x72\x65\141\x74\x65\x5f\165\x73\x65\162\x5f\151\x6e\x5f\x6d\141\147\x65\156\164\x6f\x5f\142\x79\x5f\165\163\151\156\147"];
        $this->updateAttribute = $Q2["\x75\160\144\x61\x74\145\x5f\141\164\164\162\x69\142\165\x74\x65\163\x5f\x6f\x6e\137\154\x6f\147\151\156"];
        $this->billingcountryNameKey = $Q2["\x62\151\x6c\x6c\151\x6e\x67\137\x63\157\165\x6e\x74\162\171\x5f\141\x74\164\162\151\x62\165\x74\x65"];
        $this->billingcountryNameKey = $this->oauthUtility->isBlank($this->billingcountryNameKey) ? OAuthConstants::MAP_COUNTRY_BILLING : $this->billingcountryNameKey;
        $this->oauthUtility->log_debug("\142\x69\x6c\x6c\x69\x6e\x67\143\x6f\165\156\x74\x72\x79\116\141\155\145\x4b\145\x79\72\x20" . $this->billingcountryNameKey);
        $this->billingcityNameKey = $Q2["\142\151\154\x6c\151\156\x67\x5f\143\151\x74\171\137\x61\x74\164\162\x69\x62\165\164\x65"];
        $this->billingcityNameKey = $this->oauthUtility->isBlank($this->billingcityNameKey) ? OAuthConstants::MAP_CITY_BILLING : $this->billingcityNameKey;
        $this->oauthUtility->log_debug("\x62\151\154\154\x69\156\147\143\151\164\x79\116\141\x6d\145\x4b\145\171\x3a\40");
        $this->billingphoneNameKey = $Q2["\x62\151\x6c\x6c\x69\156\x67\x5f\160\150\157\156\x65\137\x61\164\164\162\x69\142\x75\x74\145"];
        $this->billingphoneNameKey = $this->oauthUtility->isBlank($this->billingphoneNameKey) ? OAuthConstants::MAP_PHONE_BILLING : $this->billingphoneNameKey;
        $this->oauthUtility->log_debug("\142\x69\154\154\151\156\x67\x70\x68\x6f\156\x65\x4e\x61\155\145\x4b\145\x79\x3a\40" . $this->billingphoneNameKey);
        $this->billingstreetAddressNameKey = $Q2["\142\x69\154\154\x69\156\147\137\x61\144\x64\162\145\x73\163\x5f\141\164\x74\162\x69\x62\165\164\145"];
        $this->billingstreetAddressNameKey = $this->oauthUtility->isBlank($this->billingstreetAddressNameKey) ? OAuthConstants::MAP_ADDRESS_BILLING : $this->billingstreetAddressNameKey;
        $this->oauthUtility->log_debug("\142\x69\154\x6c\x69\x6e\x67\x73\x74\162\x65\x65\x74\x41\144\x64\x72\x65\163\163\x4e\x61\155\145\113\x65\x79\x3a\x20" . $this->billingstreetAddressNameKey);
        $this->billingmapStateNameKey = $Q2["\x62\x69\154\154\x69\x6e\147\137\163\x74\141\x74\x65\x5f\141\164\164\162\151\142\165\x74\145"];
        $this->billingmapStateNameKey = $this->oauthUtility->isBlank($this->billingmapStateNameKey) ? OAuthConstants::MAP_STATE_BILLING : $this->billingmapStateNameKey;
        $this->oauthUtility->log_debug("\x62\151\154\154\x69\x6e\147\155\141\160\x53\164\141\x74\x65\116\x61\155\x65\113\145\171\x3a\40" . $this->billingmapStateNameKey);
        $this->billingzipCodeNameKey = $Q2["\x62\x69\x6c\154\151\x6e\x67\x5f\x7a\x69\x70\137\141\164\164\162\151\142\165\164\145"];
        $this->billingzipCodeNameKey = $this->oauthUtility->isBlank($this->billingzipCodeNameKey) ? OAuthConstants::MAP_ZIPCODE_BILLING : $this->billingzipCodeNameKey;
        $this->oauthUtility->log_debug("\142\151\x6c\154\x69\x6e\147\172\x69\160\103\157\144\145\116\x61\x6d\145\113\x65\x79\x3a\40" . $this->billingzipCodeNameKey);
        $this->shippingcountryNameKey = $Q2["\x73\x68\x69\x70\x70\x69\156\x67\137\143\x6f\165\x6e\164\162\171\x5f\141\x74\164\162\151\142\165\164\145"];
        $this->shippingcountryNameKey = $this->oauthUtility->isBlank($this->shippingcountryNameKey) ? OAuthConstants::MAP_COUNTRY_SHIPPING : $this->shippingcountryNameKey;
        $this->oauthUtility->log_debug("\163\x68\x69\160\x70\151\x6e\147\143\157\x75\156\164\x72\171\x4e\141\x6d\x65\x4b\145\171\x3a\40" . $this->shippingcountryNameKey);
        $this->shippingcityNameKey = $Q2["\x73\x68\151\x70\160\151\x6e\147\x5f\x63\x69\164\x79\x5f\141\164\x74\x72\x69\x62\x75\164\x65"];
        $this->shippingcityNameKey = $this->oauthUtility->isBlank($this->shippingcityNameKey) ? OAuthConstants::MAP_CITY_SHIPPING : $this->shippingcityNameKey;
        $this->oauthUtility->log_debug("\x73\x68\151\160\160\x69\x6e\x67\x63\x69\164\171\x4e\x61\x6d\x65\x4b\145\x79\x3a\x20" . $this->shippingcityNameKey);
        $this->shippingphoneNameKey = $Q2["\163\150\151\160\x70\x69\156\x67\x5f\160\150\157\156\145\x5f\x61\x74\x74\162\151\x62\x75\x74\x65"];
        $this->shippingphoneNameKey = $this->oauthUtility->isBlank($this->shippingphoneNameKey) ? OAuthConstants::MAP_PHONE_SHIPPING : $this->shippingphoneNameKey;
        $this->oauthUtility->log_debug("\163\x68\x69\160\160\x69\156\147\160\150\x6f\x6e\x65\116\x61\155\x65\x4b\145\x79\72\x20" . $this->shippingphoneNameKey);
        $this->shippingstreetAddressNameKey = $Q2["\163\150\151\160\160\151\156\147\137\141\x64\x64\x72\x65\x73\x73\x5f\141\x74\x74\162\151\x62\x75\164\145"];
        $this->shippingstreetAddressNameKey = $this->oauthUtility->isBlank($this->shippingstreetAddressNameKey) ? OAuthConstants::MAP_ADDRESS_SHIPPING : $this->shippingstreetAddressNameKey;
        $this->oauthUtility->log_debug("\x73\x68\151\160\x70\x69\156\x67\163\x74\162\x65\145\164\x41\x64\144\x72\x65\163\x73\x4e\x61\x6d\x65\x4b\145\171\72\40" . $this->shippingstreetAddressNameKey);
        $this->shippingmapStateNameKey = $Q2["\x73\150\x69\x70\x70\151\156\147\x5f\x73\164\141\164\x65\x5f\141\x74\164\x72\151\142\165\164\145"];
        $this->shippingmapStateNameKey = $this->oauthUtility->isBlank($this->shippingmapStateNameKey) ? OAuthConstants::MAP_STATE_SHIPPING : $this->shippingmapStateNameKey;
        $this->oauthUtility->log_debug("\163\x68\151\x70\x70\151\156\x67\x6d\141\160\123\164\x61\164\145\x4e\141\x6d\x65\113\145\171\72\x20" . $this->shippingmapStateNameKey);
        $this->shippingzipCodeNameKey = $Q2["\x73\150\151\x70\160\x69\156\x67\137\x7a\151\x70\137\141\x74\164\x72\x69\142\x75\164\145"];
        $this->shippingzipCodeNameKey = $this->oauthUtility->isBlank($this->shippingzipCodeNameKey) ? OAuthConstants::MAP_ZIPCODE_SHIPPING : $this->shippingzipCodeNameKey;
        $this->oauthUtility->log_debug("\163\150\x69\160\160\x69\156\147\x7a\x69\160\103\x6f\144\x65\x4e\x61\155\145\x4b\x65\171\72\40" . $this->shippingzipCodeNameKey);
        $this->groupNameKey = $Q2["\x67\162\x6f\165\x70\137\141\x74\164\162\151\142\x75\x74\145"];
        $this->groupName = $Q2["\x67\x72\x6f\165\x70\x5f\x61\x74\164\162\x69\x62\165\x74\145"];
        $this->dontCreateUserIfRoleNotMapped = $Q2["\x6d\x6f\x5f\157\141\165\x74\150\137\144\157\x6e\x74\x5f\x63\x72\x65\141\164\145\137\165\x73\145\162\x5f\151\x66\x5f\x72\157\x6c\145\x5f\x6e\x6f\164\137\155\141\x70\160\x65\144"];
        $this->oauthUtility->log_debug("\x50\x72\157\x63\145\163\x73\125\x73\145\162\x41\143\164\x69\157\x6e\x3a\x20\145\x78\145\143\x75\164\x65");
        if (!empty($this->attrs)) {
            goto k3;
        }
        $this->oauthUtility->log_debug("\x4e\x6f\x20\x41\x74\x74\x72\151\142\165\x74\145\x73\x20\122\x65\143\145\151\x76\145\144\x20\72\x20");
        throw new MissingAttributesException();
        k3:
        $jX = array_key_exists($this->firstNameKey, $this->flattenedattrs) ? $this->flattenedattrs[$this->firstNameKey] : null;
        $ll = array_key_exists($this->lastNameKey, $this->flattenedattrs) ? $this->flattenedattrs[$this->lastNameKey] : null;
        $dv = array_key_exists($this->usernameAttribute, $this->flattenedattrs) ? $this->flattenedattrs[$this->usernameAttribute] : null;
        $this->userEmail = array_key_exists($this->emailAttribute, $this->flattenedattrs) ? $this->flattenedattrs[$this->emailAttribute] : $this->userEmail;
        $KG = isset($this->attrs[$this->groupNameKey]) ? $this->attrs[$this->groupNameKey] : null;
        $fr = isset($this->attrs[$this->groupNameKey]) ? $this->attrs[$this->groupNameKey] : null;
        if (is_array($KG) && count($KG) == 1) {
            goto vx;
        }
        if (is_array($KG)) {
            goto Xy;
        }
        goto DK;
        vx:
        $KG = $KG[0];
        goto DK;
        Xy:
        $KG = implode("\54", $KG);
        DK:
        if (!$this->oauthUtility->isBlank($this->defaultRole)) {
            goto QN;
        }
        $this->defaultRole = OAuthConstants::DEFAULT_ROLE;
        QN:
        if (!$this->oauthUtility->isBlank($this->checkIfMatchBy)) {
            goto dH;
        }
        $this->checkIfMatchBy = OAuthConstants::DEFAULT_MAP_BY;
        dH:
        $A3 = !empty($this->attrs[$this->billingcountryNameKey]) ? $this->attrs[$this->billingcountryNameKey] : null;
        $rq = !empty($this->attrs[$this->billingcityNameKey]) ? $this->attrs[$this->billingcityNameKey] : null;
        $pi = !empty($this->attrs[$this->billingphoneNameKey]) ? $this->attrs[$this->billingphoneNameKey] : null;
        $Ld = !empty($this->attrs[$this->billingstreetAddressNameKey]) ? $this->attrs[$this->billingstreetAddressNameKey] : null;
        $Co = !empty($this->attrs[$this->billingmapStateNameKey]) ? $this->attrs[$this->billingmapStateNameKey] : null;
        $Y6 = !empty($this->attrs[$this->billingzipCodeNameKey]) ? $this->attrs[$this->billingzipCodeNameKey] : null;
        $h2 = !empty($this->attrs[$this->shippingcountryNameKey]) ? $this->attrs[$this->shippingcountryNameKey] : null;
        $CM = !empty($this->attrs[$this->shippingcityNameKey]) ? $this->attrs[$this->shippingcityNameKey] : null;
        $rK = !empty($this->attrs[$this->shippingphoneNameKey]) ? $this->attrs[$this->shippingphoneNameKey] : null;
        $Wp = !empty($this->attrs[$this->shippingstreetAddressNameKey]) ? $this->attrs[$this->shippingstreetAddressNameKey] : null;
        $y8 = !empty($this->attrs[$this->shippingmapStateNameKey]) ? $this->attrs[$this->shippingmapStateNameKey] : null;
        $lP = !empty($this->attrs[$this->shippingzipCodeNameKey]) ? $this->attrs[$this->shippingzipCodeNameKey] : null;
        $this->custom_attributes = $Q2["\143\165\x73\164\x6f\x6d\x5f\x61\x74\x74\x72\x69\x62\x75\164\145\163"];
        $this->custom_tablename = $Q2["\x63\165\163\x74\x6f\x6d\x5f\164\x61\142\x6c\145\x6e\x61\155\x65"];
        $this->updateRole = $Q2["\165\x70\144\x61\164\145\x5f\142\141\143\x6b\145\156\144\x5f\x72\x6f\154\145\163\137\x6f\x6e\x5f\x73\x73\x6f"];
        $this->updateFrontendRole = $Q2["\165\x70\x64\141\x74\145\x5f\146\162\157\x6e\x74\x65\x6e\144\x5f\147\x72\x6f\x75\160\x73\137\157\156\x5f\x73\x73\157"];
        $JA = is_array($fr) ? $fr[0] : $fr;
        $this->oauthUtility->log_debug("\x46\x69\x72\163\164\x47\162\157\x75\160\40\146\x72\x6f\x6d\x20\111\144\120\40\50\x69\x66\x20\x4d\165\154\164\151\x70\154\145\x29\72\x20" . json_encode($JA));
        $yV = null;
        $c6 = null;
        if (!$A3) {
            goto kh;
        }
        $yV = $this->getCountryCodeBasedOnMapping($A3);
        kh:
        if (!$h2) {
            goto Sk;
        }
        $c6 = $this->getCountryCodeBasedOnMapping($h2);
        Sk:
        $cN = $this->storeManager->getStore()->getBaseUrl(\Magento\Framework\UrlInterface::URL_TYPE_WEB);
        $cN = rtrim($cN, "\x2f\x5c");
        if (!(isset($this->attrs["\x72\145\154\141\171\x53\x74\141\164\x65"]) && !str_contains($this->attrs["\x72\145\x6c\x61\171\123\164\141\x74\x65"], $cN))) {
            goto V4;
        }
        if ($this->attrs["\x72\145\154\x61\171\123\x74\141\x74\145"] == "\x2f" || $this->attrs["\x72\x65\x6c\x61\x79\x53\164\x61\x74\145"] == null || $this->attrs["\162\145\154\141\x79\123\x74\141\164\x65"] == '') {
            goto br;
        }
        echo "\x52\x65\x64\x69\x72\x65\143\x74\163\40\x74\157\x20\x65\x78\x74\x65\x72\156\x61\x6c\40\x55\x52\x4c\x73\x20\x61\162\145\x20\156\x6f\164\x20\141\x6c\154\x6f\167\145\144\56";
        exit;
        br:
        V4:
        $this->processUserAction($this->userEmail, $jX, $ll, $dv, $this->defaultRole, $KG, $this->checkIfMatchBy, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6);
    }
    public function getCountryCodeBasedOnMapping($uV)
    {
        $yP = ["\x41\x66\147\150\141\x6e\151\x73\164\x61\x6e" => "\101\x46", "\xc3\x85\x6c\141\156\x64\x20\111\163\x6c\141\x6e\x64\163" => "\x41\130", "\101\x6c\x62\141\156\x69\x61" => "\x41\114", "\101\x6c\147\145\162\x69\141" => "\104\x5a", "\101\155\145\162\151\x63\141\156\x20\x53\x61\155\x6f\x61" => "\101\x53", "\x41\x6e\144\x6f\162\162\141" => "\x41\x44", "\101\x6e\x67\157\x6c\141" => "\101\x4f", "\101\x6e\147\x75\151\154\154\141" => "\x41\x49", "\101\156\x74\141\x72\x63\164\151\x63\x61" => "\x41\121", "\101\156\164\x69\147\165\141\40\141\x6e\x64\40\102\x61\162\x62\165\x64\x61" => "\101\x47", "\x41\x72\147\x65\156\x74\x69\x6e\141" => "\x41\122", "\x41\162\x6d\x65\156\x69\x61" => "\x41\x4d", "\x41\162\x75\142\x61" => "\101\127", "\101\x75\163\x74\162\141\154\151\x61" => "\101\x55", "\x41\165\163\164\x72\151\141" => "\101\124", "\101\172\x65\162\142\x61\x69\x6a\141\x6e" => "\101\132", "\x42\x61\x68\x61\x6d\x61\163" => "\102\x53", "\102\x61\x68\162\x61\151\x6e" => "\x42\110", "\x42\141\x6e\x67\154\141\x64\145\163\150" => "\102\104", "\102\x61\x72\x62\x61\x64\157\163" => "\x42\102", "\x42\145\x6c\141\162\x75\163" => "\102\131", "\102\145\x6c\147\151\165\x6d" => "\102\105", "\102\x65\x6c\151\172\x65" => "\102\132", "\102\x65\156\151\156" => "\x42\x4a", "\102\x65\x72\x6d\165\x64\141" => "\102\115", "\102\x68\x75\164\x61\156" => "\102\124", "\x42\x6f\x6c\x69\166\x69\141" => "\102\117", "\x42\157\x73\156\x69\x61\40\141\156\144\x20\x48\145\162\172\145\x67\157\166\151\x6e\141" => "\x42\x41", "\102\x6f\164\x73\167\141\x6e\x61" => "\102\127", "\102\x6f\165\166\145\164\x20\x49\x73\154\x61\156\x64" => "\x42\x56", "\102\162\141\x7a\x69\x6c" => "\x42\x52", "\x42\x72\151\164\x69\x73\150\40\111\156\144\151\x61\x6e\40\117\143\x65\x61\156\40\124\145\x72\x72\151\x74\x6f\162\171" => "\111\x4f", "\102\162\151\x74\151\x73\x68\x20\126\151\162\x67\x69\x6e\40\x49\163\x6c\141\x6e\x64\163" => "\x56\107", "\x42\162\x75\156\145\151" => "\102\116", "\x42\x75\x6c\147\x61\162\x69\141" => "\102\107", "\102\x75\162\x6b\151\x6e\x61\40\106\x61\x73\157" => "\102\106", "\102\165\x72\165\x6e\x64\x69" => "\x42\111", "\x43\141\155\x62\157\x64\151\x61" => "\x4b\x48", "\x43\x61\155\145\x72\157\157\x6e" => "\103\x4d", "\103\x61\156\141\x64\x61" => "\x43\x41", "\103\141\160\x65\x20\x56\145\162\x64\x65" => "\103\x56", "\103\141\162\151\142\142\x65\x61\156\x20\116\x65\164\x68\145\162\x6c\141\x6e\144\x73" => "\102\x51", "\103\x61\x79\155\141\x6e\x20\x49\163\x6c\141\x6e\144\163" => "\113\131", "\x43\x65\x6e\x74\162\x61\x6c\x20\101\146\x72\x69\x63\x61\156\40\122\145\160\165\142\154\x69\x63" => "\103\x46", "\103\x68\x61\144" => "\124\104", "\103\x68\x69\154\x65" => "\x43\x4c", "\x43\150\151\156\141" => "\103\x4e", "\x43\x68\x72\x69\x73\x74\x6d\141\163\40\111\163\154\141\156\x64" => "\x43\130", "\103\157\143\157\x73\40\x5b\113\x65\145\154\x69\156\147\x5d\40\111\x73\154\x61\x6e\144\x73" => "\x43\103", "\103\157\154\157\x6d\142\151\141" => "\103\117", "\x43\x6f\155\x6f\162\x6f\163" => "\x4b\115", "\103\157\156\x67\x6f\40\55\x20\102\x72\141\x7a\x7a\x61\x76\x69\x6c\x6c\145" => "\x43\107", "\x43\x6f\x6e\147\157\x20\55\40\x4b\151\156\163\150\x61\x73\x61" => "\103\x44", "\x43\157\157\153\x20\111\x73\x6c\x61\156\x64\163" => "\x43\113", "\x43\157\163\164\x61\40\x52\151\143\x61" => "\103\x52", "\x43\303\xb4\x74\x65\40\x64\342\x80\231\111\x76\x6f\151\162\x65" => "\103\111", "\x43\x72\157\141\x74\x69\141" => "\x48\122", "\x43\x75\142\x61" => "\x43\125", "\x43\x75\x72\x61\xc3\xa7\x61\157" => "\103\127", "\103\x79\x70\x72\x75\163" => "\x43\x59", "\103\172\145\143\150\40\122\145\160\165\x62\x6c\151\143" => "\103\x5a", "\x44\x65\x6e\155\x61\x72\153" => "\x44\113", "\x44\x6a\151\x62\157\x75\x74\x69" => "\104\x4a", "\104\x6f\x6d\151\156\151\143\141" => "\104\115", "\104\x6f\155\151\156\151\x63\x61\x6e\40\122\145\160\x75\x62\x6c\x69\x63" => "\x44\x4f", "\105\143\x75\x61\144\157\162" => "\105\103", "\x45\x67\171\160\164" => "\x45\107", "\105\x6c\x20\x53\x61\154\x76\x61\x64\x6f\162" => "\x53\126", "\x45\x71\165\x61\x74\157\x72\151\141\154\40\x47\x75\x69\156\145\141" => "\107\x51", "\x45\162\x69\x74\x72\x65\x61" => "\x45\122", "\105\x73\164\x6f\156\151\141" => "\105\105", "\x45\164\150\x69\x6f\160\151\141" => "\x45\124", "\106\141\154\x6b\154\x61\156\x64\x20\111\163\x6c\141\x6e\144\x73" => "\106\x4b", "\x46\141\162\157\x65\x20\111\x73\154\141\156\x64\x73" => "\x46\x4f", "\106\x69\152\x69" => "\x46\112", "\106\x69\156\154\141\156\144" => "\x46\x49", "\x46\x72\x61\156\143\x65" => "\106\x52", "\106\x72\x65\156\x63\150\40\x47\165\x69\141\156\x61" => "\x47\x46", "\x46\x72\x65\x6e\x63\x68\x20\x50\157\154\171\x6e\x65\163\151\x61" => "\x50\106", "\x46\x72\x65\x6e\143\150\40\123\157\x75\x74\x68\x65\162\x6e\40\x54\x65\x72\x72\x69\164\x6f\162\151\145\163" => "\x54\x46", "\107\x61\x62\157\156" => "\x47\x41", "\x47\141\155\x62\x69\x61" => "\107\115", "\107\145\157\x72\147\151\141" => "\x47\x45", "\x47\145\x72\x6d\x61\x6e\171" => "\104\x45", "\x47\150\141\156\141" => "\107\110", "\107\151\142\x72\141\154\164\141\162" => "\x47\111", "\x47\162\145\x65\x63\145" => "\x47\122", "\107\x72\145\145\156\x6c\141\156\144" => "\107\114", "\107\x72\145\156\x61\x64\x61" => "\107\x44", "\x47\x75\x61\144\x65\154\157\165\x70\x65" => "\107\120", "\107\x75\141\155" => "\x47\125", "\107\165\x61\x74\145\155\141\154\x61" => "\107\124", "\x47\165\145\x72\x6e\x73\145\x79" => "\107\x47", "\x47\x75\x69\x6e\x65\141" => "\x47\116", "\107\x75\x69\156\x65\x61\x2d\x42\151\163\163\x61\165" => "\107\x57", "\x47\165\x79\x61\x6e\x61" => "\x47\131", "\110\141\x69\164\x69" => "\x48\x54", "\110\x65\141\x72\144\x20\x49\x73\x6c\141\x6e\144\40\141\156\144\x20\x4d\x63\x44\x6f\x6e\141\x6c\x64\40\111\x73\x6c\x61\156\x64\x73" => "\110\x4d", "\110\157\156\x64\x75\x72\141\163" => "\110\x4e", "\110\x6f\x6e\x67\40\113\x6f\x6e\147\x20\x53\x41\x52\x20\103\150\x69\156\141" => "\x48\113", "\x48\x75\156\147\x61\x72\171" => "\110\x55", "\111\143\x65\x6c\x61\156\144" => "\111\123", "\111\156\144\151\x61" => "\x49\116", "\111\156\144\x6f\156\x65\x73\151\141" => "\111\104", "\x49\x72\x61\x6e" => "\111\122", "\x49\x72\x61\161" => "\x49\121", "\111\162\145\154\x61\156\144" => "\x49\105", "\111\x73\x6c\x65\x20\157\146\x20\x4d\141\156" => "\111\115", "\x49\x73\162\141\x65\x6c" => "\111\114", "\x49\x74\x61\154\171" => "\x49\124", "\112\x61\155\141\151\x63\141" => "\112\x4d", "\x4a\x61\x70\x61\x6e" => "\x4a\120", "\112\x65\162\163\145\x79" => "\112\x45", "\112\157\x72\x64\x61\156" => "\112\x4f", "\113\141\172\x61\x6b\x68\x73\x74\x61\x6e" => "\x4b\x5a", "\113\x65\x6e\171\x61" => "\113\x45", "\113\x69\x72\151\x62\141\x74\151" => "\x4b\111", "\113\165\167\x61\151\x74" => "\113\x57", "\x4b\171\162\147\171\172\163\164\141\156" => "\113\107", "\x4c\141\x6f\163" => "\114\x41", "\x4c\141\x74\166\x69\x61" => "\114\x56", "\114\x65\x62\141\156\x6f\x6e" => "\114\102", "\114\145\x73\157\164\150\x6f" => "\114\123", "\114\x69\x62\x65\x72\151\141" => "\x4c\x52", "\114\x69\x62\171\x61" => "\x4c\131", "\114\x69\x65\x63\x68\164\145\156\x73\x74\x65\x69\156" => "\x4c\x49", "\114\151\x74\150\165\141\156\x69\141" => "\x4c\x54", "\114\165\x78\x65\x6d\142\x6f\165\162\x67" => "\114\x55", "\115\x61\x63\141\x75\40\123\x41\122\x20\103\150\x69\156\141" => "\x4d\x4f", "\115\x61\x63\x65\144\x6f\x6e\151\x61" => "\x4d\x4b", "\115\141\144\x61\147\141\x73\143\141\162" => "\115\x47", "\115\141\154\x61\x77\x69" => "\x4d\127", "\115\x61\154\x61\x79\x73\x69\141" => "\x4d\x59", "\115\x61\x6c\x64\x69\166\145\x73" => "\115\x56", "\x4d\x61\154\x69" => "\115\114", "\x4d\x61\154\x74\x61" => "\115\x54", "\115\141\162\163\150\x61\x6c\x6c\x20\x49\163\154\141\x6e\144\x73" => "\115\110", "\115\141\162\x74\151\x6e\151\x71\165\145" => "\x4d\121", "\115\141\x75\x72\x69\x74\141\x6e\x69\141" => "\x4d\122", "\115\141\x75\162\x69\x74\151\165\x73" => "\x4d\x55", "\115\141\x79\x6f\164\164\x65" => "\x59\124", "\x4d\145\x78\151\143\157" => "\x4d\130", "\115\x69\143\162\157\x6e\x65\163\151\x61" => "\106\115", "\115\157\154\x64\157\166\141" => "\115\x44", "\x4d\x6f\156\141\143\x6f" => "\115\103", "\x4d\157\x6e\147\157\154\x69\x61" => "\115\x4e", "\115\157\156\164\145\x6e\x65\147\x72\157" => "\x4d\x45", "\x4d\157\156\164\163\x65\x72\162\141\x74" => "\x4d\x53", "\x4d\x6f\162\x6f\143\143\x6f" => "\115\x41", "\x4d\x6f\172\141\155\x62\151\x71\165\145" => "\x4d\x5a", "\115\171\x61\156\x6d\141\162\40\133\x42\x75\162\155\141\135" => "\x4d\x4d", "\116\141\155\x69\142\151\141" => "\x4e\x41", "\x4e\x61\165\x72\165" => "\116\122", "\116\145\160\141\154" => "\x4e\x50", "\116\145\164\x68\x65\162\154\141\x6e\144\163" => "\x4e\114", "\116\x65\164\150\145\162\x6c\x61\156\144\x73\x20\101\x6e\x74\x69\154\x6c\x65\x73" => "\x41\116", "\x4e\145\167\x20\103\x61\154\x65\144\x6f\x6e\151\x61" => "\x4e\x43", "\x4e\145\167\x20\x5a\x65\141\x6c\141\156\x64" => "\x4e\132", "\x4e\x69\143\141\162\141\x67\165\x61" => "\116\111", "\116\x69\147\145\162" => "\x4e\x45", "\x4e\151\x67\145\x72\151\141" => "\x4e\x47", "\x4e\x69\x75\145" => "\116\x55", "\x4e\157\x72\146\157\x6c\x6b\40\111\163\154\141\x6e\x64" => "\116\x46", "\116\157\x72\x74\150\145\x72\x6e\40\x4d\141\x72\151\141\x6e\141\40\x49\x73\154\x61\x6e\144\163" => "\115\x50", "\116\157\162\164\150\x20\113\157\x72\145\141" => "\x4b\120", "\116\x6f\162\x77\141\x79" => "\116\117", "\x4f\155\x61\x6e" => "\117\115", "\x50\141\x6b\151\163\x74\141\x6e" => "\120\113", "\x50\x61\154\x61\165" => "\x50\x57", "\x50\141\x6c\145\x73\x74\151\156\x69\x61\156\x20\x54\x65\162\x72\151\164\157\162\151\x65\163" => "\x50\123", "\x50\x61\x6e\141\x6d\141" => "\x50\101", "\120\141\x70\165\x61\x20\116\x65\167\x20\x47\x75\151\x6e\x65\141" => "\120\107", "\x50\141\162\141\x67\165\141\x79" => "\120\131", "\x50\x65\x72\x75" => "\120\105", "\120\x68\x69\x6c\x69\160\160\x69\156\x65\163" => "\120\x48", "\x50\x69\x74\143\x61\151\x72\156\40\111\x73\154\x61\156\144\x73" => "\120\x4e", "\120\x6f\154\141\x6e\144" => "\120\x4c", "\120\157\x72\164\165\x67\141\x6c" => "\120\124", "\121\141\x74\x61\x72" => "\121\101", "\122\xc3\xa9\165\x6e\151\157\x6e" => "\x52\105", "\122\157\155\141\x6e\x69\141" => "\122\117", "\122\165\x73\163\x69\x61" => "\x52\125", "\x52\167\141\x6e\144\141" => "\122\x57", "\123\141\x69\x6e\x74\40\x42\x61\x72\164\x68\xc3\251\154\145\155\171" => "\102\114", "\x53\141\151\x6e\x74\x20\x48\x65\154\x65\156\141" => "\123\x48", "\123\x61\151\156\164\40\113\x69\x74\164\x73\40\x61\x6e\x64\x20\116\x65\x76\x69\163" => "\x4b\x4e", "\123\x61\x69\x6e\x74\x20\x4c\165\x63\x69\x61" => "\114\x43", "\x53\x61\x69\156\164\40\115\141\x72\164\x69\x6e" => "\115\106", "\x53\141\x69\x6e\164\40\x50\x69\145\162\x72\145\40\141\x6e\x64\40\x4d\x69\x71\x75\145\154\157\156" => "\x50\x4d", "\x53\141\x69\156\x74\40\126\151\156\143\x65\x6e\164\x20\141\x6e\x64\x20\164\150\x65\x20\107\x72\x65\x6e\x61\144\151\x6e\145\163" => "\126\x43", "\123\141\x6d\x6f\x61" => "\x57\123", "\x53\141\x6e\x20\115\141\162\151\156\157" => "\123\115", "\x53\xc3\243\x6f\x20\124\x6f\155\303\xa9\40\141\156\x64\x20\120\162\xc3\255\x6e\x63\151\x70\x65" => "\x53\x54", "\x53\141\165\x64\x69\40\101\x72\x61\142\151\141" => "\x53\x41", "\123\x65\156\x65\147\141\x6c" => "\x53\116", "\x53\x65\162\142\x69\141" => "\122\x53", "\123\145\x79\x63\x68\145\154\154\x65\163" => "\123\103", "\x53\x69\145\162\x72\141\x20\x4c\145\x6f\156\145" => "\123\114", "\123\x69\156\x67\x61\160\x6f\x72\x65" => "\x53\107", "\x53\151\x6e\x74\40\115\x61\x61\162\164\x65\x6e" => "\123\x58", "\123\x6c\x6f\166\x61\153\151\x61" => "\x53\113", "\123\154\157\166\x65\156\x69\x61" => "\x53\111", "\x53\157\154\157\x6d\x6f\156\x20\111\x73\x6c\141\156\x64\x73" => "\x53\102", "\123\x6f\x6d\x61\x6c\151\x61" => "\123\117", "\123\157\x75\164\150\40\101\146\162\x69\x63\x61" => "\x5a\x41", "\123\157\165\x74\150\40\107\x65\x6f\162\x67\x69\x61\40\141\156\144\40\x74\150\x65\x20\123\x6f\165\164\x68\40\123\141\156\144\167\x69\x63\x68\x20\x49\163\154\141\x6e\144\x73" => "\107\123", "\123\157\165\164\x68\40\x4b\157\x72\x65\141" => "\113\122", "\x53\x70\x61\151\x6e" => "\x45\x53", "\123\162\151\x20\x4c\x61\x6e\x6b\141" => "\114\113", "\x53\x75\x64\x61\156" => "\x53\x44", "\x53\165\162\151\x6e\x61\x6d\145" => "\123\122", "\x53\x76\141\154\142\141\162\144\x20\141\x6e\x64\x20\112\x61\x6e\x20\x4d\x61\x79\145\x6e" => "\x53\x4a", "\x53\x77\141\172\151\154\x61\x6e\144" => "\123\x5a", "\123\167\145\144\x65\156" => "\123\x45", "\x53\x77\x69\164\x7a\145\x72\x6c\x61\x6e\x64" => "\x43\110", "\x53\x79\x72\x69\141" => "\123\x59", "\124\x61\x69\167\x61\156\x2c\40\120\x72\157\166\x69\156\x63\145\40\x6f\x66\40\103\x68\151\x6e\x61" => "\x54\127", "\124\x61\152\151\153\151\163\164\141\x6e" => "\x54\x4a", "\x54\141\x6e\x7a\x61\x6e\151\x61" => "\x54\x5a", "\x54\150\141\x69\x6c\141\x6e\x64" => "\x54\x48", "\124\151\x6d\157\162\55\x4c\145\163\x74\x65" => "\124\x4c", "\124\x6f\147\157" => "\124\107", "\124\157\153\145\154\141\165" => "\x54\x4b", "\x54\157\x6e\147\x61" => "\x54\117", "\x54\x72\x69\x6e\151\144\141\x64\x20\141\x6e\144\40\x54\x6f\x62\x61\147\157" => "\x54\x54", "\x54\165\x6e\x69\x73\151\141" => "\x54\x4e", "\124\x75\x72\x6b\145\171" => "\x54\122", "\124\x75\x72\x6b\155\x65\156\x69\x73\x74\x61\156" => "\124\115", "\x54\165\162\153\163\x20\x61\x6e\144\x20\x43\141\151\x63\157\163\x20\x49\x73\154\141\156\144\163" => "\x54\x43", "\x54\165\166\x61\x6c\x75" => "\124\x56", "\125\x67\141\156\x64\141" => "\x55\107", "\125\x6b\162\141\x69\156\x65" => "\x55\x41", "\125\156\x69\x74\145\144\40\x41\162\141\142\40\105\x6d\151\162\x61\164\x65\x73" => "\x41\105", "\x55\x6e\151\164\x65\x64\x20\113\151\x6e\147\x64\x6f\155" => "\x47\102", "\x55\156\x69\164\145\144\x20\123\x74\x61\164\145\x73" => "\125\123", "\x55\x72\165\x67\x75\x61\171" => "\x55\x59", "\x55\x2e\x53\56\40\x4f\165\164\154\x79\151\156\x67\x20\x49\x73\x6c\x61\156\x64\x73" => "\x55\x4d", "\125\x2e\123\56\x20\126\x69\x72\x67\x69\156\40\x49\x73\154\141\156\144\163" => "\x56\x49", "\x55\x7a\x62\x65\x6b\x69\x73\x74\x61\x6e" => "\x55\132", "\x56\141\x6e\x75\141\x74\x75" => "\126\x55", "\126\141\164\151\143\141\x6e\40\103\151\164\x79" => "\126\101", "\x56\x65\156\x65\x7a\165\x65\154\141" => "\x56\x45", "\126\x69\x65\x74\156\x61\155" => "\x56\116", "\x57\x61\x6c\x6c\x69\x73\x20\141\156\x64\40\x46\x75\x74\165\156\141" => "\127\106", "\127\145\163\164\x65\162\156\x20\x53\141\150\141\162\141" => "\105\110", "\x59\145\x6d\145\x6e" => "\131\x45", "\x5a\141\155\x62\151\141" => "\x5a\115", "\132\x69\x6d\x62\141\x62\167\145" => "\x5a\127"];
        if (!(strlen($uV) <= 3)) {
            goto V3;
        }
        return $uV;
        V3:
        if (!isset($yP[$uV])) {
            goto xm;
        }
        $hC = $yP[$uV];
        return $hC;
        xm:
        return null;
    }
    private function processUserAction($Nt, $jX, $ll, $dv, $Yr, $KG, $z7, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6)
    {
        if (!$this->oauthUtility->isTrialExpired()) {
            goto wo;
        }
        $this->oauthUtility->log_debug("\x50\162\x6f\x63\145\163\x73\125\163\145\x72\101\143\164\151\157\x6e\72\40\x65\x78\x65\x63\165\x74\x65\40\x3a\x20\131\157\x75\x72\x20\x64\145\155\157\x20\x61\x63\143\157\165\x6e\x74\x20\x68\x61\163\40\145\170\x70\x69\162\x65\x64\56");
        print_r("\x59\157\x75\162\40\x44\x65\155\157\40\x61\x63\x63\x6f\x75\x6e\x74\x20\x68\x61\163\40\145\x78\160\x69\162\145\x64\56\x20\120\154\145\141\163\145\40\143\157\156\164\x61\x63\x74\40\x6d\x61\x67\x65\x6e\164\x6f\x73\x75\160\x70\x6f\x72\164\x40\170\x65\143\x75\162\151\x66\x79\x2e\x63\x6f\155");
        exit;
        wo:
        if ($z7 == "\x75\x73\x65\x72\156\141\x6d\x65") {
            goto Q3;
        }
        $this->oauthUtility->log_debug("\120\162\157\143\x65\163\163\125\x73\145\162\x41\x63\164\x69\157\156\x3a\40\160\x72\x6f\x63\145\163\x73\125\145\x72\x41\x63\164\x69\x6f\156\40\72\72\40\125\x73\x65\162\x20\105\x6d\141\x69\154");
        $rH = false;
        $user = null;
        $rH = $this->oauthUtility->checkIfFlowStartedFromBackend($this->attrs["\x72\145\x6c\x61\171\123\164\x61\164\145"]);
        if (!$rH) {
            goto Qa;
        }
        $this->oauthUtility->log_debug("\120\162\157\143\x65\163\163\125\x73\145\x72\101\143\x74\x69\157\x6e\x3a\x20\111\156\163\x69\144\x65\x20\164\x68\x65\x20\141\144\x6d\x69\x6e\x3d\164\162\165\x65");
        $rH = true;
        $user = $this->getAdminUserFromAttributes($Nt);
        Qa:
        if ($rH) {
            goto dj;
        }
        $this->oauthUtility->log_debug("\165\163\145\x72\40\x6e\x6f\164\40\x66\157\165\x6e\144\40\141\163\40\x61\x64\155\x69\156\x2e\x2e\40\163\145\x61\162\143\x68\x69\156\x67\40\151\x6e\40\x63\x75\x73\164\x6f\x6d\x65\162\x73");
        $user = $this->getCustomerFromAttributes($Nt);
        dj:
        if (!$user) {
            goto s2;
        }
        if (!$rH) {
            goto l1;
        }
        $user = $this->getAdminUserFromAttributes($Nt);
        $user = $this->updateAdmin($Nt, $jX, $ll, $dv, $user, $rH, $Yr, $KG);
        goto Jf;
        l1:
        $user = $this->updateCustomer($Nt, $jX, $ll, $dv, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6, $rH, $Yr, $KG);
        if (!(isset($this->updateAttribute) && strcasecmp($this->updateAttribute, "\x63\x68\x65\143\153\145\x64") === 0)) {
            goto k0;
        }
        $user = $this->updateCustom($user, $Nt);
        k0:
        Jf:
        goto ND;
        s2:
        $this->oauthUtility->log_debug("\156\157\40\165\x73\x65\x72\163\40\x66\157\165\156\144\x20\x69\x6e\40\143\x75\163\x74\x6f\155\x65\162\163\40\x61\163\x20\167\145\x6c\x6c\40\x61\163\40\x69\156\40\141\x64\155\151\156");
        $this->oauthUtility->log_debug("\165\163\x65\x72\x20\144\157\145\163\x20\156\157\x74\40\x65\x78\x69\x73\164");
        $rH = $this->oauthUtility->checkIfFlowStartedFromBackend($this->attrs["\162\145\154\141\x79\x53\164\141\164\x65"]);
        if ($rH) {
            goto rM;
        }
        $Li = $this->clientDetails["\155\x6f\137\x6f\141\x75\x74\x68\x5f\141\165\x74\157\137\x63\x72\x65\141\x74\x65\x5f\x63\165\x73\x74\157\155\x65\x72"];
        if ($Li) {
            goto TY;
        }
        $this->oauthUtility->log_debug("\101\165\164\157\x43\162\x65\141\x74\x65\103\165\x73\x74\x6f\155\x65\x72\40\x69\163\40\x64\151\163\x61\x62\x6c\x65\144");
        $C3 = "\x55\163\145\162\40\x64\x6f\145\163\156\47\164\40\x65\170\x69\163\x74\40\141\x6e\171\x77\x68\145\x72\x65\x2e\x59\157\x75\40\x61\x72\x65\40\x6e\x6f\x74\x20\141\154\154\x6f\167\x65\x64\40\x74\157\40\154\x6f\x67\x69\156\x2e\40\x50\x6c\x65\141\163\145\40\143\157\x6e\164\x61\143\x74\40\171\x6f\165\x72\x20\x61\x64\155\x69\x6e\x69\x73\x74\162\141\x74\157\162\56";
        $this->showerrorMessage($C3);
        goto Fi;
        TY:
        $this->oauthUtility->log_debug("\143\x72\x65\x61\x74\151\x6e\147\x20\x6e\x65\167\x20\x75\x73\x65\162");
        $user = $this->createNewUser($Nt, $jX, $ll, $dv, $user, $rH, $Yr, $KG, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6);
        Fi:
        goto KF;
        rM:
        $Li = $this->clientDetails["\155\157\137\x6f\141\x75\164\x68\x5f\x61\x75\x74\157\x5f\143\162\x65\x61\x74\x65\137\x61\x64\155\151\x6e"];
        if ($Li) {
            goto Ig;
        }
        $this->oauthUtility->log_debug("\x41\165\x74\x6f\x43\162\145\141\164\145\101\144\155\x69\x6e\x20\151\163\x20\144\x69\x73\141\x62\154\145\x64");
        $C3 = "\x55\163\x65\x72\x20\144\157\x65\163\x6e\47\164\40\145\170\x69\163\164\40\141\x6e\x79\167\x68\145\162\145\x2e\131\157\x75\x20\x61\162\x65\x20\156\x6f\164\40\141\154\154\157\167\x65\x64\40\x74\157\40\154\157\x67\x69\156\56\x20\x50\x6c\145\141\163\x65\x20\x63\x6f\x6e\x74\x61\143\x74\40\x79\157\165\162\40\141\144\x6d\x69\x6e\x69\x73\x74\x72\x61\x74\157\x72\56";
        $this->oauthUtility->log_debug($dv . "\40\55\x20\125\163\145\162\40\101\x75\164\x6f\x20\103\162\x65\x61\164\151\157\156\40\x69\163\x20\x64\x69\163\141\142\x6c\x65\144\40\x66\x6f\x72\x20\156\145\x77\40\101\144\155\151\156\x20\165\x73\145\x72\56\x20\122\x65\144\x69\162\145\143\164\x69\x6e\x67\x20\164\157\40\x4c\157\147\x69\x6e\x20\x50\141\147\145");
        return $this->getResponse()->setBody($C3);
        goto Ng;
        Ig:
        $this->oauthUtility->log_debug("\143\162\x65\141\164\151\156\147\40\156\145\167\x20\165\x73\145\162");
        $user = $this->createNewUser($Nt, $jX, $ll, $dv, $user, $rH, $Yr, $KG, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6);
        Ng:
        KF:
        ND:
        if ($rH) {
            goto Za;
        }
        $this->oauthUtility->setSessionData("\143\x75\163\x74\x6f\155\145\162\x5f\x70\157\163\164\x5f\x6c\157\x67\x6f\165\x74", 1);
        $this->customerLoginAction->setUser($user)->setRelayState($this->attrs["\x72\145\x6c\141\171\x53\164\x61\x74\145"])->execute();
        goto a4;
        Za:
        $this->oauthUtility->setAdminSessionData("\141\x64\x6d\151\156\137\160\157\x73\x74\x5f\154\157\147\x6f\165\164", 1);
        $this->oauthUtility->log_debug("\x66\x6c\157\167\x20\163\x74\141\x72\x74\145\144\x20\146\162\x6f\155\x20\141\144\155\151\x6e\57\142\x61\143\153\x65\x6e\144");
        $this->redirectToBackendAndLogin($user->getUsername());
        a4:
        goto cm;
        Q3:
        $this->oauthUtility->log_debug("\120\x72\x6f\143\145\x73\163\125\x73\145\x72\x41\x63\x74\151\157\x6e\x3a\40\160\x72\x6f\143\x65\163\x73\x55\145\x72\x41\x63\x74\151\x6f\156\40\x3a\72\x20\125\x73\145\162\156\x61\x6d\x65");
        $rH = false;
        $user = null;
        if (!empty($dv)) {
            goto et;
        }
        print_r("\x55\x73\x65\x72\156\141\x6d\145\x20\x6e\x6f\164\x20\x72\145\143\x65\151\x76\145\144");
        return;
        et:
        if (!(strpos($dv, "\x40") === false)) {
            goto cz;
        }
        $dv = $dv . "\x6d\x61\x67\x40\x6d\x61\x67\x65\156\x74\157\x75\163\145\162\x2e\143\157\155";
        cz:
        $rH = $this->oauthUtility->checkIfFlowStartedFromBackend($this->attrs["\162\x65\154\x61\x79\x53\164\141\164\x65"]);
        if (!$rH) {
            goto jX;
        }
        $this->oauthUtility->log_debug("\120\x72\x6f\143\145\x73\163\125\x73\145\162\101\143\x74\x69\x6f\156\72\40\x49\156\x73\x69\x64\x65\40\x74\x68\145\40\141\144\155\x69\x6e\x3d\x74\162\165\x65");
        $user = $this->getAdminUserFromAttributes($dv);
        jX:
        if ($rH) {
            goto eK;
        }
        $this->oauthUtility->log_debug("\165\163\x65\162\x20\x6e\157\164\40\146\x6f\165\x6e\x64\x20\x61\163\x20\141\x64\x6d\151\156\56\56\40\163\145\x61\162\143\x68\151\x6e\147\x20\x69\x6e\x20\x63\165\x73\164\157\155\x65\x72\x73");
        $rH = true;
        $user = $this->getCustomerFromAttributes($dv);
        eK:
        if (!$user) {
            goto x1;
        }
        if (!$rH) {
            goto iy;
        }
        $user = $this->getCustomerFromAttributes($Nt);
        $user = $this->updateAdmin($Nt, $jX, $ll, $dv, $user, $rH, $Yr, $KG);
        goto RU;
        iy:
        $user = $this->updateCustomer($Nt, $jX, $ll, $dv, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6, $rH, $Yr, $KG);
        if (!(isset($this->updateAttribute) && strcasecmp($this->updateAttribute, "\143\x68\x65\x63\x6b\145\x64") === 0)) {
            goto mW;
        }
        $user = $this->updateCustom($user, $Nt);
        mW:
        RU:
        goto Sn;
        x1:
        $this->oauthUtility->log_debug("\156\x6f\40\165\163\x65\x72\x73\40\146\157\x75\156\144\40\x69\x6e\40\x63\x75\163\164\157\155\145\162\x73\40\141\x73\x20\167\145\x6c\154\40\x61\163\x20\x69\156\x20\x61\144\x6d\x69\x6e");
        $this->oauthUtility->log_debug("\165\163\145\x72\x20\x64\x6f\145\163\x20\x6e\x6f\164\40\x65\170\x69\x73\x74");
        $rH = $this->oauthUtility->checkIfFlowStartedFromBackend($this->attrs["\x72\x65\x6c\141\x79\x53\164\x61\x74\x65"]);
        if ($rH) {
            goto Dd;
        }
        $Li = $this->clientDetails["\155\157\x5f\x6f\x61\165\x74\150\137\x61\165\x74\157\x5f\143\162\145\141\164\145\x5f\143\165\x73\x74\x6f\x6d\145\x72"];
        $this->oauthUtility->log_debug("\x61\x75\164\x6f\143\x72\x65\141\164\145\x63\x75\x73\x74\157\x6d\x65\162\72\x20", $Li);
        if ($Li) {
            goto Ab;
        }
        $this->oauthUtility->log_debug("\x41\165\164\157\x43\162\145\141\x74\x65\x43\x75\163\164\157\155\145\162\x20\151\163\40\144\151\163\x61\142\x6c\145\x64");
        $C3 = "\125\x73\x65\x72\40\x64\157\x65\x73\x6e\47\x74\x20\x65\x78\151\x73\164\40\141\x6e\171\x77\x68\x65\162\145\x2e\40\131\x6f\165\40\x61\x72\x65\x20\156\157\x74\x20\x61\x6c\x6c\x6f\x77\x65\x64\40\x74\x6f\40\x6c\157\147\x69\156\x2e\40\x50\154\145\141\163\145\40\x63\x6f\156\x74\x61\x63\x74\x20\171\157\165\162\40\x61\x64\155\151\156\x69\163\164\x72\x61\x74\157\x72\56";
        $this->showerrorMessage($C3);
        goto qj;
        Ab:
        $this->oauthUtility->log_debug("\143\162\145\141\x74\x69\x6e\x67\x20\156\x65\x77\x20\165\x73\x65\162");
        $user = $this->createNewUser($Nt, $jX, $ll, $dv, $user, $rH, $Yr, $KG, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6);
        qj:
        goto R9;
        Dd:
        $Li = $this->clientDetails["\155\x6f\x5f\157\x61\x75\x74\150\x5f\x61\165\x74\157\x5f\x63\x72\x65\141\x74\x65\x5f\x61\144\x6d\151\x6e"];
        if ($Li) {
            goto Pl;
        }
        $this->oauthUtility->log_debug("\101\165\164\x6f\x43\162\x65\141\x74\145\x41\x64\x6d\151\156\x20\151\x73\x20\144\x69\x73\141\142\154\145\144");
        $C3 = "\125\163\x65\162\x20\x64\x6f\x65\x73\x6e\47\x74\x20\145\x78\x69\x73\x74\x20\x61\x6e\x79\167\x68\x65\162\x65\x2e\x20\131\x6f\165\x20\141\162\x65\x20\x6e\157\164\40\141\154\154\x6f\x77\x65\x64\40\164\x6f\40\x6c\157\147\x69\x6e\x2e\x20\x50\x6c\145\141\x73\145\40\143\x6f\x6e\x74\x61\143\x74\40\x79\x6f\165\x72\x20\x61\x64\x6d\151\156\x69\x73\164\162\x61\164\157\x72\x2e";
        return $this->getResponse()->setBody($C3);
        goto om;
        Pl:
        $this->oauthUtility->log_debug("\143\162\145\x61\x74\151\x6e\x67\40\156\x65\x77\x20\165\x73\145\162");
        $user = $this->createNewUser($Nt, $jX, $ll, $dv, $user, $rH, $Yr, $KG, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6);
        om:
        R9:
        Sn:
        if ($rH) {
            goto zf;
        }
        $this->oauthUtility->setSessionData("\143\x75\163\164\157\x6d\145\x72\137\x70\157\x73\164\137\x6c\157\x67\x6f\x75\164", 1);
        $this->customerLoginAction->setUser($user)->setRelayState($this->attrs["\x72\x65\154\x61\171\x53\x74\x61\x74\x65"])->execute();
        goto vt;
        zf:
        $this->oauthUtility->setAdminSessionData("\141\144\155\x69\156\x5f\160\x6f\x73\164\x5f\154\157\x67\x6f\165\x74", 1);
        $this->oauthUtility->log_debug("\146\154\x6f\167\40\163\164\141\x72\x74\145\x64\x20\146\162\x6f\x6d\x20\141\144\x6d\151\x6e\x2f\142\141\143\153\145\156\144");
        $this->oauthUtility->log_debug("\102\145\x66\157\x72\x65\40\x52\145\144\x69\162\145\x63\164\164\x6f\x42\141\143\153\145\156\x64\x41\x6e\144\x4c\x6f\x67\x69\x6e\40\147\145\x74\111\x44" . $user->getId());
        $this->redirectToBackendAndLogin($user->getUsername());
        vt:
        cm:
    }
    private function redirectToBackendAndLogin($dv)
    {
        $dT = "\x61\144\155\x69\x6e\150\164\x6d\x6c";
        $fW = $dv;
        $this->_request->setPathInfo("\x2f\141\x64\x6d\x69\x6e");
        $this->oauthUtility->log_debug("\x72\145\144\x69\162\145\x63\164\x54\x6f\102\x61\143\x6b\x65\x6e\x64\x41\x6e\144\114\x6f\147\151\156\72\40\x75\x73\145\x72\72\40" . $fW);
        if ($this->_state->getAreaCode()) {
            goto tB;
        }
        $this->_state->setAreaCode($dT);
        tB:
        $this->_objectManager->configure($this->_configLoader->load($dT));
        $this->_response = $this->_objectManager->get("\x4d\x61\147\x65\156\164\x6f\134\106\x72\141\x6d\145\167\157\162\153\134\x41\160\x70\134\x52\x65\163\160\x6f\x6e\163\145\134\x48\164\164\x70");
        $user = $this->_objectManager->get("\115\141\147\x65\x6e\x74\x6f\x5c\x55\163\x65\x72\x5c\x4d\x6f\144\145\x6c\134\125\163\x65\162")->loadByUsername($fW);
        $v5 = $this->_objectManager->get("\115\x61\x67\x65\156\164\x6f\x5c\x42\x61\143\153\145\x6e\144\x5c\x4d\157\144\x65\x6c\134\101\x75\x74\x68\x5c\123\145\x73\x73\151\x6f\x6e");
        $v5->setUser($user);
        $v5->processLogin();
        $this->oauthUtility->reinitconfig();
        if (!$v5->isLoggedIn()) {
            goto J3;
        }
        $this->oauthUtility->log_debug("\162\145\x64\x69\162\x65\x63\164\x54\157\102\141\143\x6b\x65\x6e\144\101\156\x64\114\157\x67\151\x6e\72\x20\151\163\x4c\157\x67\x67\x65\144\111\156\72\40\164\x72\x75\x65");
        $Rj = $this->_objectManager->get("\x4d\x61\x67\x65\x6e\x74\x6f\x5c\x46\x72\x61\155\145\167\x6f\x72\x6b\134\123\164\x64\x6c\151\x62\134\x43\x6f\x6f\153\x69\145\x4d\x61\156\141\x67\145\162\x49\156\x74\x65\162\x66\x61\143\x65");
        $G0 = $v5->getSessionId();
        if (!$G0) {
            goto mj;
        }
        $this->oauthUtility->log_debug("\x72\145\x64\151\x72\145\143\x74\124\x6f\x42\141\x63\x6b\145\156\x64\101\x6e\x64\x4c\157\147\151\156\x3a\x20\x63\x6f\157\153\151\145\x56\x61\x6c\165\145\72\40\164\162\x75\145");
        $Nm = $this->_objectManager->get("\115\141\x67\x65\x6e\164\157\x5c\102\141\x63\x6b\145\156\144\134\x4d\157\144\x65\x6c\x5c\x53\x65\163\163\151\157\156\x5c\101\x64\155\x69\x6e\x43\157\156\x66\151\x67");
        $ag = str_replace("\141\165\164\157\154\157\147\151\156\x2e\x70\150\160", "\x69\x6e\144\x65\170\56\160\x68\160", $Nm->getCookiePath());
        $ze = $this->_objectManager->get("\x4d\x61\x67\145\156\x74\157\134\x46\x72\x61\x6d\145\167\157\x72\153\134\123\x74\144\x6c\x69\x62\134\103\157\157\x6b\x69\145\134\103\x6f\157\153\x69\x65\115\x65\164\x61\144\141\164\141\106\x61\x63\x74\x6f\x72\x79")->createPublicCookieMetadata()->setDuration(3600)->setPath($ag)->setDomain($Nm->getCookieDomain())->setSecure($Nm->getCookieSecure())->setHttpOnly($Nm->getCookieHttpOnly());
        $Rj->setPublicCookie($Nm->getName(), $G0, $ze);
        if (!class_exists("\115\x61\x67\x65\156\x74\x6f\134\x53\145\143\165\x72\151\164\171\x5c\x4d\157\x64\145\154\134\101\x64\x6d\151\156\123\x65\x73\163\x69\157\156\x73\x4d\141\156\x61\147\145\x72")) {
            goto HV;
        }
        $this->oauthUtility->log_debug("\162\145\x64\x69\162\x65\143\164\124\x6f\102\141\143\153\145\156\x64\x41\156\144\114\x6f\x67\x69\156\x3a\40\143\x6c\141\163\163\x20\145\x78\151\x73\164\x20\x41\x64\155\151\156\x53\145\x73\x73\x69\157\156\x73\x4d\x61\x6e\141\147\145\x72\72\x20\x74\x72\x75\145");
        $rl = $this->_objectManager->get("\115\x61\x67\145\156\x74\157\x5c\123\x65\143\x75\x72\151\164\x79\134\x4d\x6f\144\145\154\134\101\x64\x6d\x69\x6e\x53\x65\x73\x73\x69\157\x6e\163\x4d\141\156\141\x67\145\x72");
        $rl->processLogin();
        HV:
        mj:
        $kK = $this->oauthUtility->getAdminUrl("\x61\144\155\151\156\57\x64\141\x73\150\x62\x6f\141\162\x64\57\x69\x6e\x64\x65\x78");
        $this->oauthUtility->log_debug("\x72\145\x64\151\x72\x65\143\164\124\157\102\x61\143\x6b\145\156\144\x41\156\144\x4c\157\147\x69\156\72\40\x66\x69\156\x61\154\125\162\154\72\40" . $kK);
        $this->getResponse()->setRedirect($kK)->sendResponse();
        exit;
        J3:
        $kK = $this->oauthUtility->getAdminUrl("\x61\144\x6d\x69\156\57\x64\x61\163\150\142\x6f\141\162\x64\x2f\x69\x6e\x64\x65\170");
        $this->oauthUtility->log_debug("\162\x65\x64\151\162\x65\x63\164\124\157\x42\141\143\x6b\145\x6e\144\x41\x6e\144\114\x6f\x67\x69\x6e\72\40\146\x69\156\141\x6c\x55\x72\154\x3a\x20" . $kK);
        $this->getResponse()->setRedirect($kK)->sendResponse();
        exit;
    }
    private function generateEmail($dv)
    {
        $this->oauthUtility->log_debug("\x50\x72\x6f\143\x65\x73\163\125\x73\145\162\x41\x63\x74\151\157\156\72\40\x67\x65\x6e\x65\x72\x61\x74\x65\105\155\x61\151\154");
        $PT = $this->oauthUtility->getBaseUrl();
        $PT = substr($PT, strpos($PT, "\x2f\x2f"), strlen($PT) - 1);
        return $dv . "\x40" . $PT;
    }
    public function updateAdmin($Nt, $jX, $ll, $dv, $user, $rH, $Yr, $KG)
    {
        $oe = $user->getId();
        $user = $this->oauthUtility->getAdminUserById($oe);
        $R9 = $this->clientDetails["\157\x61\165\x74\x68\137\141\x64\155\x69\156\x5f\x72\157\154\145\137\155\141\160\160\x69\156\x67"];
        $Cp = $this->processRoles($Yr, $rH, $R9, $KG);
        $this->oauthUtility->log_debug("\123\145\164\162\157\x6c\x65", $Cp);
        if (!(empty($R9) || is_null($KG) || is_null($Cp))) {
            goto MS;
        }
        $this->oauthUtility->log_debug("\x50\x72\157\143\x65\163\x73\125\163\x65\x72\101\143\x74\x69\x6f\x6e\x3a\40\x69\x6e\163\x69\144\145\40\x65\155\160\x74\171\40\162\x6f\154\145\x6d\x61\x70\160\151\147");
        $Ko = $this->clientDetails["\x64\x65\146\x61\165\154\164\x5f\x72\x6f\154\145"];
        $yz = $this->clientDetails["\x64\145\146\141\165\154\164\137\147\x72\157\165\x70"];
        $Cp = $rH ? $this->getRoleIdByName($Ko) : $this->getGroupIdByName($yz);
        MS:
        if (!(!$this->oauthUtility->isBlank($Cp) && isset($this->updateRole) && strcasecmp($this->updateRole, "\x63\150\145\143\x6b\145\x64") === 0)) {
            goto AN;
        }
        $user->setRoleId($Cp);
        $this->oauthUtility->log_debug("\141\163\163\151\147\x6e\x69\156\147\40\x67\x72\x6f\x75\160\40\164\157\x20\156\145\167\40\x41\144\155\151\x6e\x3a\x20" . $Cp);
        $user->save();
        AN:
        if (!(isset($this->updateAttribute) && strcasecmp($this->updateAttribute, "\x63\150\145\x63\153\x65\144") === 0)) {
            goto ID;
        }
        $Wk = explode("\100", $Nt);
        $dv = !$this->oauthUtility->isBlank($dv) ? $dv : $Nt;
        $jX = !$this->oauthUtility->isBlank($jX) ? $jX : $Wk[0];
        $jX = preg_replace("\57\x5b\x5e\x41\55\x5a\141\x2d\172\60\x2d\71\134\x2d\135\57", '', $jX);
        $ll = !$this->oauthUtility->isBlank($ll) ? $ll : $Wk[1];
        $ll = preg_replace("\x2f\x5b\x5e\x41\55\x5a\141\x2d\172\x30\x2d\x39\x5c\x2d\135\57", '', $ll);
        $user->setFirstname($jX);
        $user->setLastname($ll);
        $user->save();
        ID:
        return $user;
    }
    private function createNewUser($Nt, $jX, $ll, $dv, $user, &$rH, $Yr, $KG, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6)
    {
        $this->oauthUtility->log_debug("\x50\162\157\x63\x65\x73\163\x55\163\x65\162\x41\x63\164\x69\x6f\156\x3a\x20\x63\x72\x65\141\164\x65\x4e\145\x77\125\163\145\162");
        if (!$this->oauthUtility->check_plan(4)) {
            goto vP;
        }
        $this->oauthUtility->flushCache();
        $this->oauthUtility->reinitConfig();
        if ($this->oauthUtility->getRemainingUsersCount()) {
            goto XH;
        }
        $Pu = $this->oauthUtility->getStoreConfig(OAuthConstants::DEFAULT_TOKEN);
        $NA = (int) AESEncryption::decrypt_data($this->oauthUtility->getStoreConfig(OAuthConstants::MAGENTO_COUNTER), $Pu);
        $this->oauthUtility->setStoreConfig(OAuthConstants::MAGENTO_COUNTER, AESEncryption::encrypt_data($NA + 1, $Pu));
        $this->oauthUtility->flushCache();
        $this->oauthUtility->reinitConfig();
        goto yt;
        XH:
        $this->oauthUtility->log_debug("\x59\157\x75\162\40\x41\x75\164\157\40\x43\x72\x65\x61\x74\x65\40\125\163\x65\x72\x20\x4c\x69\155\151\164\x20\146\x6f\162\40\164\150\x65\x20\164\162\151\141\154\40\115\151\156\151\157\x72\141\x6e\x67\x65\x20\x4d\141\x67\145\156\x74\x6f\x20\117\x41\165\164\x68\57\x4f\x70\145\156\x49\x44\x20\160\x6c\x75\x67\x69\156\x20\x69\x73\40\x65\x78\x63\145\145\x64\145\144\56\40\120\154\145\x61\x73\x65\40\125\160\x67\x72\x61\x64\x65\x20\x74\157\x20\141\x6e\171\40\x6f\146\x20\x74\150\145\40\x50\162\145\x6d\151\x75\x6d\40\120\154\x61\x6e\40\164\x6f\40\143\x6f\x6e\164\151\x6e\x75\x65\40\164\150\x65\40\163\x65\162\x76\x69\x63\x65\56");
        print_r("\x59\157\x75\x72\40\101\165\x74\157\40\x43\x72\x65\x61\164\145\40\x55\163\145\x72\x20\x4c\x69\155\x69\164\40\146\157\162\x20\164\x68\145\40\x74\x72\x69\141\x6c\x20\115\151\156\x69\157\162\x61\156\147\145\x20\x4d\141\x67\145\x6e\164\x6f\40\117\101\x75\x74\x68\x2f\117\160\x65\x6e\111\x44\40\x70\154\x75\x67\151\156\x20\151\x73\x20\145\x78\143\145\x65\x64\145\x64\56\40\120\x6c\145\x61\163\145\x20\125\x70\x67\162\x61\x64\145\40\x74\157\x20\x61\x6e\171\40\157\x66\40\x74\150\x65\x20\x50\x72\x65\155\151\x75\x6d\40\120\154\141\156\x20\164\157\40\143\x6f\156\x74\x69\x6e\165\145\40\x74\150\145\40\x73\145\x72\x76\151\x63\145\x2e");
        exit;
        yt:
        vP:
        $this->oauthUtility->log_debug("\x50\162\x6f\x63\145\x73\x73\x55\163\x65\x72\101\x63\164\x69\x6f\156\x3a\x20\x63\162\145\x61\x74\145\116\145\167\125\163\145\x72\x20\144\145\146\x61\x75\154\x74\122\157\x6c\145", $Yr);
        $this->oauthUtility->log_debug("\120\162\x6f\x63\145\163\x73\125\163\145\162\x41\x63\164\151\x6f\156\x3a\x20\x63\162\x65\x61\x74\x65\116\x65\x77\x55\163\145\162\x20\147\162\x6f\x75\x70\156\x61\x6d\x65", $KG);
        $this->oauthUtility->log_debug("\x50\162\157\143\x65\163\x73\x55\x73\145\x72\x41\143\x74\151\x6f\x6e\72\40\x63\x72\x65\x61\x74\x65\x4e\x65\167\125\163\145\162\40\x6c\x61\163\164\x6e\x61\x6d\x65", $ll);
        $Yw = $this->generatePassword(16);
        $Wk = explode("\x40", $Nt);
        $dv = !$this->oauthUtility->isBlank($dv) ? $dv : $Nt;
        $jX = !$this->oauthUtility->isBlank($jX) ? $jX : $Wk[0];
        $jX = preg_replace("\x2f\x5b\x5e\101\55\132\141\x2d\172\60\x2d\x39\134\x2d\x5d\57", '', $jX);
        $ll = !$this->oauthUtility->isBlank($ll) ? $ll : $Wk[1];
        $ll = preg_replace("\x2f\133\136\101\55\x5a\x61\x2d\172\60\x2d\x39\134\55\135\x2f", '', $ll);
        if ($rH) {
            goto v3;
        }
        $R9 = $this->clientDetails["\157\141\x75\164\150\x5f\143\165\163\164\x6f\x6d\x65\x72\x5f\x67\162\x6f\165\160\x5f\x6d\141\160\x70\x69\156\x67"];
        $this->oauthUtility->log_debug("\143\162\x65\x61\164\x65\x4e\x65\x77\125\163\x65\162\50\51\x20\x3a\x20\x67\x72\157\165\x70\x73\x4d\141\x70\x70\x65\144\x20" . $R9);
        goto R8;
        v3:
        $R9 = $this->clientDetails["\x6f\x61\x75\164\x68\137\141\x64\x6d\x69\x6e\137\162\157\x6c\145\137\x6d\x61\x70\160\x69\x6e\147"];
        $this->oauthUtility->log_debug("\143\x72\145\141\164\x65\x4e\145\x77\x55\x73\145\162\x28\51\x20\72\x20\162\x6f\x6c\145\163\115\141\160\160\145\144\x20" . $R9);
        R8:
        if (!(isset($this->dontCreateUserIfRoleNotMapped) && strcasecmp($this->dontCreateUserIfRoleNotMapped, "\143\x68\x65\143\153\x65\144") === 0)) {
            goto nc;
        }
        if ($this->isRoleMappingConfiguredForUser($R9, $KG)) {
            goto on;
        }
        $TW = "\x57\145\40\143\x61\156\x6e\x6f\164\x20\154\x6f\147\x69\x6e\x20\x79\157\165\x2e\x20\x50\x6c\x65\x61\x73\145\x20\x63\157\x6e\x74\141\x63\164\x20\171\x6f\165\x72\x20\141\144\x6d\151\x6e\x69\163\164\x72\141\164\157\x72";
        if ($rH) {
            goto S0;
        }
        $this->showerrorMessage($TW);
        goto r9;
        S0:
        print_r($TW);
        exit;
        r9:
        on:
        nc:
        $Cp = $this->processRoles($Yr, $rH, $R9, $KG);
        $this->oauthUtility->log_debug("\123\x65\x74\162\x6f\x6c\145", $Cp);
        if (!(empty($R9) || is_null($KG) || is_null($Cp))) {
            goto UH;
        }
        $this->oauthUtility->log_debug("\x50\162\x6f\143\145\x73\x73\125\x73\145\162\x41\x63\x74\x69\157\156\72\40\x69\x6e\163\151\x64\x65\x20\145\x6d\x70\x74\171\x20\162\157\154\145\x6d\x61\160\160\151\x67");
        $Ko = $this->clientDetails["\x64\145\146\141\165\154\x74\137\x72\x6f\x6c\145"];
        $yz = $this->clientDetails["\x64\145\146\141\165\x6c\164\x5f\147\162\157\x75\x70"];
        $Cp = $rH ? $this->getRoleIdByName($Ko) : $this->getGroupIdByName($yz);
        UH:
        $this->oauthUtility->log_debug("\120\x72\x6f\x63\x65\x73\x73\x55\163\x65\162\101\143\164\151\157\x6e\x3a\40\x72\157\154\x65\x5f\155\141\160\160\151\156\x67\x20", $R9);
        if ($rH) {
            goto tk;
        }
        $user = $this->createCustomer($dv, $Nt, $jX, $ll, $Yw, $Cp, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6);
        goto m1;
        tk:
        $this->oauthUtility->log_debug("\123\145\x74\162\157\154\145", $Cp);
        $user = $this->createAdminUser($dv, $Nt, $jX, $ll, $Yw, $Cp);
        m1:
        return $user;
    }
    private function isRoleMappingConfiguredForUser($R9, $KG)
    {
        if (!(empty($KG) || empty($R9))) {
            goto rv;
        }
        return FALSE;
        rv:
        $R9 = json_decode($R9);
        foreach ($R9 as $Rn => $Gp) {
            $fr = explode("\54", $KG);
            $kl = explode("\x3b", $Gp);
            foreach ($kl as $J6) {
                foreach ($fr as $Uv) {
                    if (!(trim($Uv, "\x5b\42\x5d\40") == trim($J6, "\133\x22\x5d\x20"))) {
                        goto Wh;
                    }
                    return TRUE;
                    Wh:
                    ww:
                }
                aN:
                A_:
            }
            uH:
            zp:
        }
        A1:
    }
    private function updateUserAttributes($jX, $ll, $Yr, $dv, $user, &$rH, $KG)
    {
        $this->oauthUtility->log_debug("\120\162\157\x63\x65\x73\x73\x55\163\x65\x72\101\143\x74\x69\x6f\156\x3a\x20\165\160\144\x61\x74\x65\x55\x73\x65\x72\101\x74\x74\162\151\142\165\x74\x65\x73");
        $oe = $user->getId();
        if ($this->oauthUtility->isBlank($jX)) {
            goto D1;
        }
        $this->oauthUtility->saveConfig(OAuthConstants::DB_FIRSTNAME, $jX, $oe, $rH);
        D1:
        if ($this->oauthUtility->isBlank($ll)) {
            goto Ug;
        }
        $this->oauthUtility->saveConfig(OAuthConstants::DB_LASTNAME, $ll, $oe, $rH);
        Ug:
        if ($this->oauthUtility->isBlank($dv)) {
            goto fT;
        }
        $this->oauthUtility->saveConfig(OAuthConstants::USER_NAME, $dv, $oe, $rH);
        fT:
        $by = $this->clientDetails["\x6f\141\165\x74\x68\x5f\141\144\x6d\151\x6e\137\162\x6f\154\x65\137\x6d\x61\x70\160\151\156\147"];
        $bN = $this->clientDetails["\x6f\x61\165\x74\150\x5f\143\x75\x73\x74\157\155\x65\162\x5f\147\162\x6f\x75\x70\137\155\x61\x70\160\151\x6e\147"];
        $R9 = is_array($by) && $rH ? $by : array();
        $R9 = is_array($bN) && !$rH ? array_replace($R9, $bN) : $R9;
        $Cp = $this->processRoles($Yr, $rH, $R9, $KG);
        if ($rH) {
            goto Cm;
        }
        $user->setData("\x67\162\157\x75\160\137\x69\x64", $Cp);
        $user->save();
        Cm:
    }
    private function createCustomer($dv, $Dt, $jX, $ll, $Yw, $vf, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6)
    {
        $cQ = $this->oauthUtility->getSessionData(OAuthConstants::APP_NAME);
        $jH = $this->oauthUtility->getOAuthClientApps();
        $Q2 = null;
        foreach ($jH as $BC) {
            if (!($BC->getData()["\x61\x70\160\137\156\x61\155\x65"] === $cQ)) {
                goto QI;
            }
            $Q2 = $BC->getData();
            QI:
            jZ:
        }
        CS:
        $this->oauthUtility->log_debug("\x50\162\x6f\x63\x65\x73\163\x55\163\x65\x72\101\x63\x74\x69\x6f\x6e\x3a\40\143\162\x65\141\x74\x65\x43\165\163\x74\157\x6d\x65\162");
        $this->oauthUtility->log_debug("\120\x72\157\x63\x65\x73\163\x55\163\145\x72\101\x63\164\151\x6f\156\72\x20\162\157\154\x65\x5f\x61\163\x73\151\147\156\145\144", $vf);
        if (!(!isset($vf) || empty($vf))) {
            goto g5;
        }
        $vf = 1;
        g5:
        $Ub = $this->storeManager->getWebsite()->getWebsiteId();
        $Cx = $this->storeManager->getStore();
        $eh = $Cx->getStoreId();
        $O3 = $this->customerFactory->create()->setWebsiteId($Ub)->setEmail($Dt)->setFirstname($jX)->setLastname($ll)->setPassword($Yw)->setGroupId($vf);
        $hL = array_Keys((array) $this->attrs);
        $Mf = json_decode((string) $Q2["\143\x75\x73\x74\x6f\155\137\x61\x74\164\162\151\x62\165\x74\x65\163"]);
        $ud = array_values((array) $Mf);
        $tn = array_intersect($hL, $ud);
        foreach ($tn as $mE) {
            $mg = array_search($mE, (array) $Mf);
            $In = $this->attrs[$mE];
            $O3->setData($mg, $In);
            MA:
        }
        h4:
        $O3->save();
        $this->oauthUtility->log_debug("\141\163\x73\151\x67\x6e\151\156\x67\40\147\162\157\x75\160\x20\x74\157\x20\156\145\x77\40\165\163\x65\x72\72\40" . $vf);
        $hL = array_Keys((array) $this->attrs);
        $Mf = json_decode((string) $this->custom_attributes);
        $ud = array_values((array) $Mf);
        $tn = array_intersect($hL, $ud);
        $NB = $this->custom_tablename;
        if ($NB) {
            goto e2;
        }
        $NB = "\x63\165\x73\164\157\x6d\145\x72\x5f\x65\156\x74\x69\x74\171";
        e2:
        $this->oauthUtility->log_debug("\40\125\160\144\141\x74\x65\x20\165\x73\145\162\47\x73\40\x63\165\163\164\157\x6d\40\x61\x74\164\162\151\x62\165\x74\145\x73");
        $oe = $O3->getId();
        if (!($pi || $Ld || $rq || $Co || $yV || $Y6)) {
            goto uR;
        }
        $k1 = $this->dataAddressFactory->create();
        $k1->setFirstname($jX);
        $k1->setLastname($ll);
        if (!isset($pi)) {
            goto iL;
        }
        $k1->setTelephone($pi);
        iL:
        if (!isset($Ld)) {
            goto q9;
        }
        $k1->setStreet($Ld);
        q9:
        if (!isset($rq)) {
            goto GB;
        }
        $k1->setCity($rq);
        GB:
        if (!isset($Co)) {
            goto vm;
        }
        $ke = $this->collectionFactory->create()->addRegionNameFilter($Co)->getFirstItem()->toArray();
        if (!isset($ke["\x72\145\147\151\x6f\x6e\x5f\x69\x64"])) {
            goto R_;
        }
        $k1->setRegionId($ke["\x72\145\147\151\157\156\137\151\x64"]);
        R_:
        vm:
        if (!isset($yV)) {
            goto yU;
        }
        $k1->setCountryId($yV);
        yU:
        if (!isset($Y6)) {
            goto oN;
        }
        $k1->setPostcode($Y6);
        oN:
        $k1->setIsDefaultBilling("\x31");
        $k1->setSaveInAddressBook("\61");
        $k1->setCustomerId($O3->getId());
        try {
            $k1->save();
            $O3 = $k1->getCustomer();
        } catch (\Exception $aQ) {
            $this->oauthUtility->log_debug("\101\x6e\x20\145\x72\162\157\162\x20\x6f\143\143\x75\162\162\x65\x64\x20\x77\x68\151\x6c\145\x20\164\162\171\x69\x6e\147\x20\164\x6f\x20\163\x65\164\40\141\x64\144\x72\145\163\x73\72\40{$aQ->getMessage()}");
        }
        uR:
        if (!($rK || $Wp || $CM || $y8 || $c6 || $lP)) {
            goto G2;
        }
        $k1 = $this->dataAddressFactory->create();
        $k1->setFirstname($jX);
        $k1->setLastname($ll);
        if (!isset($rK)) {
            goto ZA;
        }
        $k1->setTelephone($rK);
        ZA:
        if (!isset($Wp)) {
            goto jn;
        }
        $k1->setStreet($Wp);
        jn:
        if (!isset($CM)) {
            goto mE;
        }
        $k1->setCity($CM);
        mE:
        if (!isset($y8)) {
            goto xp;
        }
        $ke = $this->collectionFactory->create()->addRegionNameFilter($y8)->getFirstItem()->toArray();
        if (!isset($ke["\x72\145\x67\x69\x6f\156\x5f\x69\144"])) {
            goto Nq;
        }
        $k1->setRegionId($ke["\x72\145\x67\151\x6f\x6e\137\x69\144"]);
        Nq:
        xp:
        if (!isset($c6)) {
            goto Ws;
        }
        $k1->setCountryId($c6);
        Ws:
        if (!isset($lP)) {
            goto fy;
        }
        $k1->setPostcode($lP);
        fy:
        $k1->setIsDefaultShipping("\x31");
        $k1->setSaveInAddressBook("\61");
        $k1->setCustomerId($O3->getId());
        try {
            $k1->save();
            $O3 = $k1->getCustomer();
        } catch (\Exception $aQ) {
            $this->oauthUtility->log_debug("\101\x6e\40\145\162\x72\157\162\x20\x6f\x63\143\165\162\x72\x65\x64\x20\167\x68\x69\x6c\x65\40\x74\x72\171\151\156\147\x20\x74\157\x20\163\145\164\x20\141\144\144\x72\x65\163\163\x3a\40{$aQ->getMessage()}");
        }
        G2:
        return $O3;
    }
    private function updateCustomAttributes(&$O3)
    {
        $yP = ["\x41\146\147\x68\141\156\x69\163\x74\141\x6e" => "\101\x46", "\xc3\205\154\141\x6e\144\x20\x49\163\x6c\x61\x6e\x64\x73" => "\x41\130", "\x41\154\142\x61\156\x69\141" => "\101\x4c", "\101\x6c\147\x65\x72\151\141" => "\104\132", "\101\155\x65\162\151\x63\x61\x6e\x20\123\x61\155\157\x61" => "\101\x53", "\101\156\x64\157\162\x72\x61" => "\x41\x44", "\101\x6e\x67\x6f\x6c\x61" => "\x41\x4f", "\x41\x6e\x67\x75\x69\154\x6c\141" => "\x41\111", "\x41\156\164\141\x72\143\x74\x69\143\141" => "\101\121", "\x41\156\x74\x69\x67\165\141\x20\x61\156\144\x20\102\141\162\142\165\144\x61" => "\x41\107", "\x41\162\147\145\156\x74\151\156\x61" => "\101\122", "\101\162\x6d\x65\156\x69\x61" => "\x41\115", "\x41\x72\165\x62\141" => "\101\x57", "\101\x75\163\x74\x72\x61\x6c\151\x61" => "\x41\125", "\101\x75\163\164\162\151\141" => "\101\124", "\101\172\x65\x72\142\x61\x69\x6a\141\x6e" => "\101\x5a", "\102\141\x68\x61\x6d\x61\x73" => "\102\x53", "\102\x61\150\162\141\151\156" => "\x42\110", "\102\x61\x6e\147\154\x61\x64\x65\x73\x68" => "\x42\104", "\x42\x61\162\x62\x61\x64\157\163" => "\x42\102", "\x42\x65\x6c\141\162\165\x73" => "\x42\x59", "\x42\145\154\x67\151\x75\155" => "\x42\105", "\x42\x65\154\151\x7a\145" => "\102\132", "\102\145\156\151\x6e" => "\x42\x4a", "\x42\x65\x72\155\165\144\141" => "\x42\x4d", "\102\x68\165\164\141\156" => "\x42\x54", "\102\157\x6c\x69\166\151\141" => "\102\x4f", "\102\x6f\x73\x6e\x69\141\x20\x61\x6e\144\x20\110\x65\162\172\145\x67\x6f\x76\151\156\141" => "\x42\101", "\102\x6f\x74\x73\167\x61\x6e\x61" => "\102\x57", "\x42\x6f\x75\x76\x65\x74\x20\x49\x73\x6c\141\x6e\x64" => "\102\126", "\x42\162\x61\172\151\x6c" => "\102\x52", "\102\x72\151\164\151\x73\150\40\111\x6e\x64\151\141\x6e\40\117\x63\145\141\x6e\40\124\x65\x72\162\x69\164\157\x72\x79" => "\111\117", "\x42\x72\x69\x74\x69\163\150\40\x56\x69\162\147\x69\x6e\40\111\x73\154\x61\x6e\144\x73" => "\x56\107", "\102\162\165\x6e\x65\x69" => "\102\116", "\102\x75\x6c\147\x61\162\x69\x61" => "\102\107", "\x42\165\162\153\151\156\x61\40\106\141\x73\x6f" => "\102\x46", "\102\x75\162\x75\156\144\x69" => "\x42\111", "\x43\x61\155\142\x6f\144\151\x61" => "\x4b\110", "\103\141\x6d\145\x72\x6f\x6f\156" => "\103\x4d", "\x43\x61\x6e\141\x64\141" => "\103\x41", "\103\x61\160\145\x20\126\x65\162\144\145" => "\x43\x56", "\103\141\x72\x69\142\142\145\x61\x6e\40\x4e\x65\164\150\x65\x72\154\141\x6e\x64\163" => "\x42\x51", "\103\x61\171\x6d\x61\156\40\111\x73\x6c\141\156\144\163" => "\x4b\x59", "\x43\x65\x6e\164\162\141\x6c\x20\x41\x66\x72\151\143\141\x6e\40\122\x65\160\x75\x62\x6c\151\143" => "\x43\106", "\103\150\x61\144" => "\x54\x44", "\x43\x68\151\x6c\x65" => "\x43\x4c", "\x43\x68\151\x6e\141" => "\103\116", "\103\x68\162\151\163\x74\155\x61\163\x20\x49\x73\154\x61\x6e\x64" => "\x43\x58", "\x43\157\x63\157\x73\x20\133\x4b\x65\145\154\151\x6e\147\x5d\40\x49\163\x6c\x61\x6e\x64\163" => "\x43\103", "\103\157\x6c\x6f\x6d\142\151\141" => "\x43\x4f", "\x43\157\x6d\x6f\162\x6f\163" => "\113\115", "\103\x6f\x6e\147\157\x20\55\40\102\x72\x61\x7a\x7a\141\166\151\154\x6c\x65" => "\x43\x47", "\103\157\x6e\147\157\x20\55\x20\113\151\x6e\x73\150\141\163\141" => "\x43\x44", "\103\157\x6f\x6b\x20\x49\x73\154\x61\x6e\x64\163" => "\103\x4b", "\103\157\163\164\141\40\x52\151\143\141" => "\x43\x52", "\103\303\264\164\145\x20\144\xe2\x80\231\111\166\x6f\x69\162\x65" => "\103\111", "\103\162\x6f\x61\164\151\x61" => "\x48\122", "\x43\165\x62\141" => "\103\x55", "\x43\x75\162\141\xc3\247\x61\x6f" => "\x43\x57", "\103\171\x70\x72\x75\163" => "\103\x59", "\x43\172\145\x63\150\40\x52\x65\x70\x75\142\x6c\151\x63" => "\x43\132", "\104\x65\x6e\x6d\141\162\153" => "\104\x4b", "\x44\152\x69\x62\157\x75\x74\x69" => "\104\112", "\104\157\x6d\151\x6e\x69\x63\141" => "\104\115", "\104\157\x6d\x69\x6e\151\143\141\x6e\x20\x52\145\160\x75\x62\154\151\x63" => "\104\x4f", "\105\143\x75\x61\144\157\x72" => "\105\103", "\105\147\x79\x70\164" => "\105\107", "\x45\x6c\40\x53\x61\154\166\x61\x64\157\162" => "\123\126", "\105\x71\165\x61\x74\157\162\x69\x61\154\40\107\x75\151\x6e\x65\141" => "\107\x51", "\x45\x72\151\164\x72\x65\x61" => "\x45\122", "\105\163\164\x6f\156\x69\141" => "\105\105", "\105\164\x68\151\157\160\x69\141" => "\105\124", "\x46\141\154\153\154\x61\x6e\144\40\x49\163\x6c\x61\x6e\x64\x73" => "\x46\113", "\x46\x61\162\157\145\40\111\x73\154\141\x6e\x64\163" => "\106\117", "\106\x69\152\x69" => "\106\x4a", "\x46\x69\x6e\x6c\x61\x6e\144" => "\106\x49", "\106\162\x61\x6e\143\145" => "\x46\122", "\106\162\145\156\x63\x68\x20\107\x75\151\141\156\141" => "\107\x46", "\x46\162\145\x6e\x63\150\40\x50\x6f\154\171\156\145\x73\x69\141" => "\x50\106", "\x46\162\145\156\143\x68\40\x53\157\165\x74\150\145\162\156\x20\x54\145\x72\162\151\x74\x6f\x72\151\x65\163" => "\124\x46", "\x47\141\142\157\156" => "\107\x41", "\107\141\155\x62\x69\x61" => "\x47\x4d", "\107\145\157\x72\x67\x69\141" => "\x47\x45", "\x47\145\162\155\141\x6e\171" => "\104\x45", "\x47\150\x61\156\141" => "\x47\110", "\107\151\142\162\x61\x6c\x74\141\x72" => "\x47\x49", "\107\x72\x65\145\x63\145" => "\x47\x52", "\107\x72\x65\145\156\x6c\141\156\x64" => "\x47\114", "\x47\162\x65\156\x61\144\141" => "\107\x44", "\x47\165\x61\144\145\154\157\x75\x70\x65" => "\107\120", "\x47\165\x61\155" => "\107\125", "\x47\165\x61\164\x65\x6d\141\154\141" => "\107\x54", "\107\x75\x65\162\x6e\163\x65\171" => "\x47\x47", "\107\x75\151\156\x65\141" => "\x47\116", "\107\x75\x69\x6e\x65\141\55\102\x69\163\x73\x61\x75" => "\x47\x57", "\107\x75\x79\x61\156\141" => "\107\x59", "\110\141\151\x74\151" => "\x48\124", "\110\145\x61\162\x64\x20\x49\x73\154\141\x6e\144\x20\x61\156\144\40\x4d\x63\104\157\156\141\x6c\144\40\111\x73\x6c\x61\x6e\144\163" => "\110\x4d", "\110\x6f\156\144\165\x72\x61\x73" => "\110\x4e", "\x48\x6f\156\147\40\x4b\157\x6e\x67\40\123\101\x52\40\x43\150\151\156\x61" => "\x48\113", "\110\165\x6e\x67\141\162\x79" => "\x48\x55", "\111\143\145\x6c\141\x6e\144" => "\x49\123", "\x49\x6e\x64\x69\141" => "\111\x4e", "\111\x6e\144\157\x6e\x65\x73\151\x61" => "\x49\x44", "\x49\x72\x61\x6e" => "\111\x52", "\111\x72\141\x71" => "\111\x51", "\111\162\x65\154\x61\156\144" => "\x49\x45", "\x49\163\154\145\40\157\x66\x20\115\x61\156" => "\111\x4d", "\111\163\162\141\145\154" => "\111\114", "\111\164\141\x6c\x79" => "\111\124", "\x4a\141\x6d\141\151\x63\x61" => "\x4a\x4d", "\112\x61\160\x61\x6e" => "\x4a\120", "\x4a\145\162\163\145\x79" => "\112\105", "\112\157\x72\x64\x61\156" => "\x4a\117", "\x4b\x61\x7a\141\x6b\150\x73\164\x61\x6e" => "\x4b\x5a", "\x4b\145\x6e\x79\141" => "\113\x45", "\x4b\x69\x72\x69\142\x61\x74\151" => "\x4b\x49", "\113\165\167\141\x69\164" => "\113\127", "\113\x79\x72\x67\x79\x7a\163\x74\141\156" => "\x4b\x47", "\114\141\157\163" => "\x4c\x41", "\x4c\141\x74\x76\151\141" => "\114\126", "\x4c\x65\x62\141\156\x6f\156" => "\114\102", "\x4c\145\163\157\164\x68\157" => "\x4c\123", "\x4c\x69\x62\x65\x72\151\x61" => "\114\x52", "\x4c\151\x62\171\x61" => "\x4c\131", "\x4c\x69\145\x63\150\x74\x65\x6e\x73\164\145\151\156" => "\x4c\111", "\114\x69\x74\150\x75\x61\156\x69\141" => "\x4c\x54", "\114\x75\x78\145\155\142\157\x75\x72\x67" => "\114\125", "\115\x61\x63\x61\x75\x20\x53\101\122\x20\103\150\151\156\141" => "\x4d\117", "\x4d\141\x63\x65\144\x6f\156\151\x61" => "\115\113", "\x4d\x61\x64\x61\147\x61\x73\x63\141\162" => "\115\107", "\x4d\x61\x6c\141\167\x69" => "\115\x57", "\x4d\x61\x6c\x61\x79\163\x69\x61" => "\x4d\131", "\115\x61\x6c\x64\151\166\145\x73" => "\115\126", "\115\x61\154\151" => "\x4d\114", "\115\141\x6c\164\x61" => "\115\124", "\115\141\x72\x73\x68\x61\154\154\x20\x49\163\154\141\156\144\163" => "\115\110", "\x4d\x61\x72\164\x69\x6e\x69\161\165\145" => "\115\x51", "\x4d\141\165\162\151\164\141\x6e\x69\141" => "\x4d\x52", "\x4d\141\x75\162\x69\x74\151\x75\163" => "\x4d\x55", "\115\x61\x79\157\164\x74\145" => "\x59\x54", "\x4d\x65\170\x69\143\157" => "\115\x58", "\x4d\x69\x63\x72\157\x6e\145\163\151\x61" => "\106\x4d", "\115\157\x6c\x64\157\x76\x61" => "\115\104", "\x4d\157\x6e\x61\x63\157" => "\x4d\103", "\x4d\x6f\156\147\x6f\x6c\151\x61" => "\115\116", "\115\157\156\164\x65\x6e\145\x67\162\157" => "\x4d\x45", "\115\x6f\x6e\164\163\145\162\162\x61\x74" => "\x4d\123", "\115\x6f\162\x6f\143\143\157" => "\115\x41", "\x4d\x6f\x7a\x61\x6d\142\x69\161\165\x65" => "\x4d\132", "\115\x79\x61\x6e\155\x61\162\x20\133\102\165\162\x6d\x61\135" => "\115\115", "\x4e\x61\x6d\151\142\x69\141" => "\116\101", "\116\141\165\x72\165" => "\x4e\x52", "\x4e\145\160\141\x6c" => "\x4e\x50", "\x4e\145\164\150\x65\x72\x6c\x61\156\144\x73" => "\116\114", "\116\x65\164\150\145\x72\x6c\141\156\144\163\40\x41\x6e\164\x69\x6c\154\x65\x73" => "\x41\x4e", "\116\145\167\x20\103\x61\x6c\145\x64\x6f\x6e\151\141" => "\x4e\103", "\x4e\145\167\x20\132\x65\141\x6c\141\156\x64" => "\116\x5a", "\x4e\x69\143\141\x72\x61\x67\165\x61" => "\116\x49", "\x4e\151\147\145\162" => "\x4e\x45", "\116\x69\x67\x65\x72\151\x61" => "\116\107", "\x4e\x69\x75\x65" => "\x4e\125", "\x4e\157\162\146\157\x6c\153\40\x49\163\154\x61\x6e\144" => "\x4e\x46", "\x4e\157\x72\x74\x68\x65\x72\156\40\x4d\x61\x72\151\x61\x6e\x61\40\111\x73\154\x61\156\x64\163" => "\x4d\x50", "\x4e\157\162\x74\150\40\113\x6f\162\x65\141" => "\113\x50", "\116\x6f\162\x77\x61\x79" => "\116\117", "\x4f\x6d\141\156" => "\x4f\115", "\120\x61\153\x69\x73\x74\141\x6e" => "\x50\x4b", "\120\x61\154\141\x75" => "\x50\127", "\120\x61\x6c\145\x73\164\151\x6e\151\x61\156\40\x54\x65\x72\x72\151\x74\157\162\x69\145\163" => "\120\123", "\120\x61\156\141\155\x61" => "\x50\x41", "\x50\141\x70\x75\141\x20\x4e\x65\167\x20\x47\x75\x69\156\x65\141" => "\x50\x47", "\x50\x61\162\141\x67\x75\x61\x79" => "\120\131", "\x50\x65\162\165" => "\x50\x45", "\120\x68\x69\x6c\x69\160\160\x69\x6e\x65\x73" => "\x50\x48", "\120\x69\164\143\x61\x69\162\x6e\x20\111\x73\x6c\x61\156\x64\x73" => "\120\116", "\120\157\154\141\156\144" => "\x50\114", "\120\157\162\x74\165\147\141\x6c" => "\x50\x54", "\121\x61\164\x61\162" => "\121\101", "\122\303\251\165\x6e\151\157\x6e" => "\122\x45", "\122\157\x6d\141\156\151\x61" => "\x52\x4f", "\x52\x75\x73\x73\x69\141" => "\122\x55", "\122\167\x61\x6e\144\x61" => "\122\127", "\123\141\x69\x6e\164\40\102\141\162\x74\150\xc3\251\154\x65\155\x79" => "\x42\x4c", "\x53\x61\x69\156\x74\x20\110\x65\x6c\145\x6e\141" => "\123\x48", "\x53\141\x69\156\164\40\x4b\x69\164\164\163\x20\141\156\144\x20\x4e\x65\166\x69\163" => "\113\116", "\123\x61\x69\156\164\x20\x4c\165\143\x69\141" => "\114\x43", "\x53\x61\x69\x6e\164\x20\115\141\162\164\151\156" => "\115\106", "\x53\x61\x69\156\x74\x20\120\x69\x65\162\162\145\40\x61\156\144\40\x4d\x69\161\165\145\154\157\156" => "\x50\x4d", "\123\x61\151\156\164\40\x56\151\156\x63\x65\x6e\164\40\x61\156\144\40\164\150\x65\x20\x47\162\145\x6e\141\x64\151\x6e\x65\x73" => "\x56\x43", "\123\141\x6d\x6f\141" => "\x57\x53", "\x53\x61\x6e\x20\115\x61\162\x69\156\x6f" => "\123\x4d", "\123\xc3\xa3\x6f\x20\124\157\155\xc3\xa9\x20\x61\x6e\x64\x20\120\162\xc3\255\x6e\x63\151\160\145" => "\x53\124", "\x53\x61\165\144\151\x20\x41\x72\141\x62\151\141" => "\x53\101", "\x53\145\x6e\x65\x67\x61\154" => "\123\x4e", "\123\x65\162\x62\151\141" => "\122\x53", "\123\x65\x79\x63\x68\145\x6c\154\145\163" => "\x53\x43", "\x53\151\145\162\162\x61\x20\x4c\145\x6f\156\x65" => "\x53\x4c", "\x53\151\156\x67\141\160\157\x72\145" => "\x53\x47", "\123\x69\156\164\40\115\x61\141\162\164\x65\x6e" => "\x53\130", "\123\154\x6f\166\141\153\151\x61" => "\x53\x4b", "\123\154\x6f\166\x65\156\x69\141" => "\x53\x49", "\x53\157\154\157\x6d\157\x6e\40\111\x73\154\141\x6e\144\163" => "\x53\102", "\x53\x6f\x6d\x61\x6c\151\x61" => "\123\117", "\x53\157\x75\164\150\40\x41\x66\x72\151\x63\141" => "\x5a\x41", "\x53\x6f\165\164\150\x20\x47\x65\x6f\162\147\x69\x61\x20\x61\156\144\x20\x74\x68\x65\40\123\x6f\165\164\150\x20\123\141\156\x64\x77\x69\143\150\x20\111\x73\154\x61\156\144\x73" => "\x47\123", "\x53\157\x75\164\150\40\113\x6f\162\145\x61" => "\x4b\122", "\x53\x70\x61\151\156" => "\105\x53", "\x53\162\151\40\x4c\141\156\153\x61" => "\x4c\113", "\x53\165\x64\x61\156" => "\x53\104", "\x53\165\162\x69\156\141\155\145" => "\x53\x52", "\123\166\x61\x6c\142\x61\x72\x64\40\141\x6e\144\40\x4a\141\156\x20\115\x61\171\145\156" => "\x53\x4a", "\123\x77\x61\x7a\x69\154\141\x6e\144" => "\x53\132", "\x53\167\145\x64\145\156" => "\x53\x45", "\x53\167\151\164\x7a\x65\162\x6c\x61\x6e\x64" => "\103\x48", "\123\171\162\151\x61" => "\123\131", "\124\x61\x69\167\141\156\54\40\120\x72\157\x76\151\156\143\145\40\x6f\146\40\x43\x68\151\x6e\141" => "\x54\x57", "\124\141\152\x69\153\x69\163\164\x61\x6e" => "\x54\x4a", "\x54\141\x6e\x7a\141\156\x69\141" => "\x54\132", "\x54\x68\141\x69\x6c\141\156\x64" => "\124\110", "\x54\151\155\x6f\x72\x2d\114\145\163\164\145" => "\x54\x4c", "\124\157\147\x6f" => "\124\x47", "\124\157\x6b\x65\154\x61\x75" => "\x54\113", "\124\x6f\x6e\x67\x61" => "\x54\x4f", "\x54\x72\x69\x6e\151\144\141\x64\x20\141\x6e\144\x20\124\x6f\142\x61\147\x6f" => "\x54\x54", "\124\x75\156\151\163\x69\x61" => "\124\x4e", "\124\x75\x72\x6b\145\171" => "\124\122", "\x54\165\162\x6b\155\x65\x6e\x69\163\164\x61\156" => "\x54\115", "\x54\165\162\153\163\40\141\156\x64\x20\103\141\x69\x63\x6f\163\x20\x49\163\x6c\141\156\x64\x73" => "\124\x43", "\x54\165\166\x61\x6c\x75" => "\124\x56", "\125\x67\x61\156\144\141" => "\x55\x47", "\x55\x6b\162\x61\x69\x6e\x65" => "\x55\101", "\x55\156\151\x74\145\x64\x20\x41\x72\141\142\x20\x45\155\151\x72\x61\x74\x65\163" => "\101\105", "\125\156\x69\x74\x65\144\40\x4b\151\156\x67\x64\x6f\x6d" => "\x47\102", "\x55\156\151\164\x65\144\40\123\164\141\x74\145\x73" => "\125\123", "\x55\x72\165\x67\x75\141\x79" => "\125\131", "\x55\x2e\x53\56\40\117\165\164\x6c\x79\151\x6e\x67\x20\x49\163\x6c\x61\x6e\x64\x73" => "\x55\115", "\125\x2e\123\x2e\40\126\151\162\x67\151\x6e\x20\x49\163\x6c\141\156\144\163" => "\126\x49", "\x55\172\142\x65\153\x69\x73\164\141\x6e" => "\x55\132", "\126\x61\x6e\x75\141\x74\x75" => "\126\x55", "\x56\141\164\151\143\141\156\40\x43\151\x74\171" => "\126\101", "\126\145\156\x65\x7a\x75\145\x6c\141" => "\x56\105", "\x56\x69\x65\x74\x6e\141\155" => "\x56\x4e", "\x57\x61\154\x6c\151\163\x20\141\x6e\144\40\x46\x75\x74\165\x6e\141" => "\127\x46", "\127\x65\x73\164\x65\162\x6e\40\x53\x61\x68\x61\162\141" => "\x45\x48", "\x59\x65\155\x65\x6e" => "\x59\x45", "\132\141\155\x62\151\141" => "\132\x4d", "\x5a\x69\155\x62\141\x62\167\145" => "\132\x57"];
        $sT = '';
        $UU[] = [];
        $Pd[] = [];
        $BN = '';
        $hC = '';
        $PZ = '';
        if (!array_key_exists("\x73\150\151\x70\x70\x69\x6e\147\x5f\x61\144\x64\x72\x65\x73\163", $this->attrs)) {
            goto qr;
        }
        $sT = $this->attrs["\163\150\x69\x70\160\151\156\x67\x5f\141\144\x64\x72\145\x73\163"]["\x70\150\x6f\x6e\x65"];
        $UU[] = htmlspecialchars($this->formatStreetAddress($this->attrs["\163\x68\151\x70\160\x69\156\x67\137\141\x64\144\x72\145\x73\163"]["\x61\144\144\162\x65\163\x73"]["\163\x74\x72\145\145\164\x5f\141\144\144\x72\145\x73\163"]));
        if (!$this->attrs["\163\x68\x69\160\160\x69\x6e\147\137\141\144\144\x72\x65\163\163"]["\141\x64\144\x72\x65\163\163"]["\x72\x65\147\x69\157\156"]) {
            goto ah;
        }
        $UU[] = $this->attrs["\x73\x68\x69\x70\x70\151\x6e\147\137\x61\144\x64\x72\145\163\163"]["\141\144\144\x72\145\163\163"]["\162\145\147\151\157\156"];
        ah:
        $BN = $this->attrs["\x73\x68\x69\160\x70\151\156\147\x5f\x61\144\x64\x72\x65\x73\163"]["\x61\144\x64\x72\x65\163\x73"]["\x70\157\163\x74\x61\154\137\x63\x6f\144\x65"];
        $hC = $yP[$this->attrs["\163\x68\151\x70\x70\x69\x6e\147\x5f\141\144\x64\162\145\163\163"]["\x61\144\144\162\145\x73\163"]["\143\x6f\165\156\164\162\x79"]];
        $PZ = $this->attrs["\163\150\151\160\x70\x69\156\x67\x5f\141\x64\144\162\x65\163\163"]["\x61\x64\x64\162\145\x73\163"]["\x6c\157\x63\141\x6c\x69\x74\x79"];
        qr:
        $Vm = '';
        if (!$this->oauthUtility->isBlank($sT)) {
            goto sU;
        }
        $sT = "\53\x31";
        sU:
        $this->createOrUpdateAddress($O3, $O3->getFirstname(), $O3->getLastname(), $sT, $UU, $Vm, $PZ, $hC, $BN, "\163\150\151\160\x70\151\x6e\147");
        if (!array_key_exists("\x61\x64\x64\162\x65\163\163", $this->attrs)) {
            goto rV;
        }
        $Pd[] = htmlspecialchars($this->formatStreetAddress($this->attrs["\x61\x64\144\162\x65\163\163"]["\163\164\x72\x65\145\x74\137\141\x64\144\162\x65\163\x73"]));
        if (!$this->attrs["\141\144\144\162\145\x73\163"]["\x72\x65\147\151\157\x6e"]) {
            goto MB;
        }
        $Pd[] = $this->attrs["\x61\x64\144\x72\145\x73\x73"]["\x72\145\x67\151\x6f\x6e"];
        MB:
        $BN = $this->attrs["\x61\144\x64\162\x65\x73\163"]["\x70\x6f\163\x74\141\154\x5f\143\x6f\144\x65"];
        $hC = $yP[$this->attrs["\x61\144\x64\x72\145\x73\163"]["\143\157\165\156\x74\162\x79"]];
        $PZ = $this->attrs["\x61\144\144\x72\x65\x73\x73"]["\x6c\157\x63\141\154\151\x74\171"];
        rV:
        $Vm = '';
        if (!$this->oauthUtility->isBlank($sT)) {
            goto r4;
        }
        $sT = "\53\x31";
        r4:
        $this->createOrUpdateAddress($O3, $O3->getFirstname(), $O3->getLastname(), $sT, $Pd, $Vm, $PZ, $hC, $BN, "\x62\x69\x6c\x6c\151\x6e\147");
    }
    private function formatStreetAddress($eJ)
    {
        $eJ = preg_replace("\57\15\12\xd\xa\174\xd\xd\174\xa\xa\x2f", "\x2c", $eJ);
        $eJ = preg_replace("\x2f\15\12\174\xd\174\12\57", "\x2c", $eJ);
        return $eJ;
    }
    private function createOrUpdateAddress(&$O3, $jX, $ll, $sT, $UU, $Vm, $PZ, $hC, $BN, $wv)
    {
        if (!$this->addressValidationCheck($UU, $BN, $hC)) {
            goto eV;
        }
        $k1 = $this->dataAddressFactory->create();
        if ($wv == "\142\151\x6c\154\x69\x6e\x67" && $O3->getDefaultBilling()) {
            goto SD;
        }
        if ($wv == "\163\x68\151\x70\x70\x69\156\x67" && $O3->getDefaultShipping()) {
            goto zm;
        }
        if (!($wv == "\x62\x6f\x74\150" && $O3->getDefaultShipping())) {
            goto kH;
        }
        $k1->load($O3->getDefaultShipping());
        kH:
        goto XI;
        zm:
        $k1->load($O3->getDefaultShipping());
        XI:
        goto oE;
        SD:
        $k1->load($O3->getDefaultBilling());
        oE:
        $k1->setFirstname($jX);
        $k1->setLastname($ll);
        $k1->setTelephone($sT);
        $k1->setStreet($UU);
        $k1->setCity($PZ);
        $k1->setCountryId($hC);
        $k1->setPostcode($BN);
        $k1->setRegionId($Vm);
        $AJ = $wv == "\x62\151\x6c\x6c\151\156\147" || $wv == "\x62\157\164\x68";
        $D_ = $wv == "\x73\x68\151\x70\x70\x69\156\147" || $wv == "\142\157\x74\150";
        $k1->setIsDefaultShipping($D_);
        $k1->setIsDefaultBilling($AJ);
        $k1->setCustomerId($O3->getId());
        try {
            $k1->save();
            $O3 = $k1->getCustomer();
        } catch (\Exception $aQ) {
            die("\x41\x6e\x20\145\162\x72\x6f\x72\x20\x6f\x63\x63\x75\x72\162\145\144\40\x77\150\151\154\145\x20\x74\162\x79\151\x6e\x67\x20\x74\157\40\163\145\164\40\141\x64\x64\162\145\163\x73\72\40{$aQ->getMessage()}");
        }
        eV:
    }
    private function addressValidationCheck($UU, $BN, $hC)
    {
        return !$this->oauthUtility->isBlank($UU) && !$this->oauthUtility->isBlank($BN) && !$this->oauthUtility->isBlank($hC);
    }
    private function createAdminUser($dv, $Dt, $jX, $ll, $Yw, $vf)
    {
        $this->oauthUtility->log_debug("\120\162\157\x63\x65\x73\x73\x55\163\145\x72\101\x63\x74\151\157\x6e\x3a\40\143\162\145\141\x74\x65\101\144\155\151\156\125\163\x65\x72");
        if (!($vf === "\60" || $vf == null)) {
            goto a0;
        }
        $vf = "\61";
        a0:
        if (!(strlen($dv) >= 40)) {
            goto es;
        }
        $dv = substr($dv, 0, 40);
        es:
        $Db = ["\x75\x73\x65\162\156\x61\x6d\145" => $dv, "\146\x69\162\x73\164\156\x61\x6d\145" => $jX, "\x6c\x61\163\x74\x6e\141\155\x65" => $ll, "\145\155\x61\151\x6c" => $Dt, "\x70\x61\x73\x73\167\157\162\144" => $Yw, "\x69\x6e\164\x65\x72\146\x61\143\145\x5f\x6c\x6f\143\x61\154\145" => "\145\x6e\137\125\x53", "\x69\x73\x5f\141\143\x74\x69\x76\x65" => 1];
        $T3 = $vf;
        $user = $this->userFactory->create();
        $user->setData($Db);
        $user->setRoleId($vf);
        $this->oauthUtility->log_debug("\x61\x73\163\x69\x67\156\151\156\147\x20\147\162\157\x75\x70\x20\164\x6f\x20\156\x65\x77\x20\x41\144\155\x69\x6e\72\x20" . $vf);
        $user->save();
        return $user;
    }
    private function processRoles($Yr, $rH, $R9, $KG)
    {
        if ($rH) {
            goto KZ;
        }
        $Yr = $this->clientDetails["\x64\x65\146\x61\165\154\x74\137\147\162\x6f\165\x70"];
        goto bw;
        KZ:
        $Yr = $this->clientDetails["\x64\145\x66\141\x75\x6c\164\x5f\162\157\x6c\145"];
        bw:
        $this->oauthUtility->log_debug("\x64\145\x66\141\x75\x6c\x74\x20\122\x6f\x6c\145\72\x20" . $Yr);
        if (!$R9) {
            goto dz;
        }
        $R9 = json_decode($R9);
        dz:
        $vQ = null;
        if (!(empty($KG) || empty($R9))) {
            goto BU;
        }
        return null;
        BU:
        foreach ($R9 as $Rn => $Gp) {
            $fr = explode("\x2c", $KG);
            $kl = explode("\x3b", $Gp);
            foreach ($kl as $J6) {
                foreach ($fr as $Uv) {
                    if (!(trim($Uv, "\x5b\x22\135\40") == trim($J6, "\x5b\42\135\x20"))) {
                        goto OD;
                    }
                    $vQ = $Rn;
                    return $vQ;
                    OD:
                    dk:
                }
                AW:
                Mm:
            }
            B1:
            we:
        }
        D0:
        if ($rH) {
            goto C0;
        }
        return $this->getGroupIdByName($Yr);
        goto pk;
        C0:
        return $this->getRoleIdByName($Yr);
        pk:
    }
    private function getAdminUserFromAttributes($Nt)
    {
        $R6 = false;
        $oY = $this->adminUserModel->getResource()->getConnection();
        $WS = $oY->select()->from($this->adminUserModel->getResource()->getMainTable())->where("\145\x6d\141\151\154\x3d\72\145\155\141\x69\154");
        $FY = ["\x65\155\x61\151\x6c" => $Nt];
        $R6 = $oY->fetchRow($WS, $FY);
        $R6 = is_array($R6) ? $this->adminUserModel->loadByUsername($R6["\165\x73\x65\162\x6e\x61\155\x65"]) : $R6;
        return $R6;
    }
    private function processDefaultRole($rH, $Yr)
    {
        $this->oauthUtility->log_debug("\x50\162\157\143\145\163\x73\x55\x73\145\x72\101\143\164\151\x6f\156\x3a\40\160\x72\157\143\145\x73\x73\104\145\x66\x61\165\154\164\122\157\154\x65\x73");
        if (!is_null($Yr)) {
            goto XD;
        }
        return;
        XD:
        $fr = $this->userGroupModel->toOptionArray();
        $ml = $this->adminRoleModel->toOptionArray();
        $eC = '';
        if ($rH) {
            goto Fm;
        }
        foreach ($fr as $Uv) {
            $rH = $Yr == $Uv["\x6c\141\x62\x65\x6c"] ? false : true;
            if ($rH) {
                goto zM;
            }
            $eC = $Uv["\x76\x61\154\165\145"];
            goto Zt;
            zM:
            Ct:
        }
        Zt:
        goto VF;
        Fm:
        foreach ($ml as $uT) {
            $rH = $Yr == $uT["\x6c\141\x62\x65\154"] ? true : false;
            if (!$rH) {
                goto qd;
            }
            $eC = $uT["\166\141\154\x75\x65"];
            goto fQ;
            qd:
            UU:
        }
        fQ:
        VF:
        $this->oauthUtility->log_debug("\x50\x72\x6f\143\x65\x73\x73\125\x73\145\x72\x41\x63\x74\x69\157\156\72\x20\160\x72\x6f\x63\x65\163\163\x44\x65\146\x61\165\x6c\164\122\x6f\x6c\145\163" . $eC);
        return $eC;
    }
    private function getRoleIdByName($mr)
    {
        $ml = $this->adminRoleModel->toOptionArray();
        foreach ($ml as $uT) {
            if (!($mr == $uT["\x6c\141\142\145\x6c"])) {
                goto vk;
            }
            $this->oauthUtility->log_debug("\147\145\164\122\157\154\145\x49\x64\x42\x79\x4e\141\x6d\x65\x28\x29\72\40\x72\145\x74\x75\x72\156\151\156\x67\x20\x72\157\154\x65\111\x64\x3a\40" . $uT["\166\x61\x6c\x75\x65"] . "\40\x66\157\x72\x20\162\157\154\145\72\x20" . $uT["\154\x61\x62\145\x6c"]);
            return $uT["\x76\x61\x6c\x75\x65"];
            vk:
            zv:
        }
        f9:
        $this->oauthUtility->log_debug("\147\145\x74\107\x72\157\x75\160\x49\144\102\171\x4e\141\155\x65\x28\x29\72\x20\x53\x6f\155\x65\164\150\x69\x6e\147\40\x77\145\x6e\x74\x20\x77\x72\157\x6e\x67\56\x20\104\x65\x66\141\165\154\x74\x20\122\157\154\x65\111\144\x20\143\x61\x6e\x6e\x6f\164\40\x62\145\40\106\157\165\x6e\x64\x3a\x61\x73\163\151\x67\156\151\x6e\x67\40\x41\144\x6d\151\x6e\151\x73\x74\x72\141\164\x6f\x72\x20\x72\x6f\154\x65\x20");
        return 1;
    }
    private function getGroupIdByName($KG)
    {
        $fr = $this->userGroupModel->toOptionArray();
        foreach ($fr as $Uv) {
            if (!($KG == $Uv["\154\x61\142\x65\x6c"])) {
                goto Ht;
            }
            $this->oauthUtility->log_debug("\x67\145\164\107\x72\x6f\165\x70\111\144\x42\171\116\141\x6d\145\x28\51\72\x20\x72\145\x74\x75\x72\156\x69\156\147\40\x67\162\x6f\165\x70\111\x64\72\x20" . $Uv["\x76\x61\154\165\x65"] . "\40\x66\x6f\x72\40\x72\x6f\154\x65\x3a\x20" . $Uv["\x6c\x61\x62\x65\x6c"]);
            return $Uv["\x76\x61\154\165\145"];
            Ht:
            Eb:
        }
        Po:
        $this->oauthUtility->log_debug("\x67\145\x74\107\x72\x6f\165\x70\111\x64\102\171\x4e\x61\155\145\50\x29\72\x20\123\x6f\155\145\x74\150\x69\x6e\147\40\x77\145\156\x74\40\167\x72\157\156\x67\x2e\x20\x44\x65\146\141\165\x6c\x74\x20\107\x72\x6f\x75\x70\x49\x64\40\x63\x61\x6e\x6e\x6f\164\x20\142\x65\40\x46\x6f\165\156\x64\72\x61\163\163\x69\x6e\x69\x6e\147\40\x67\x65\156\x65\162\x61\154\40\x72\157\x6c\x65\40");
        return 1;
    }
    private function getCustomerFromAttributes($Nt)
    {
        $this->oauthUtility->log_debug("\120\x72\x6f\143\x65\163\163\125\x73\145\x72\101\143\x74\151\157\156\x3a\40\147\145\x74\x43\165\x73\164\x6f\155\x41\164\164\162\x69\x62\x75\164\x65\163");
        $this->customerModel->setWebsiteId($this->storeManager->getStore()->getWebsiteId());
        $O3 = $this->customerModel->loadByEmail($Nt);
        return !is_null($O3->getId()) ? $O3 : false;
    }
    public function setAttrs($Rs)
    {
        $this->attrs = $Rs;
        return $this;
    }
    public function setFlattenedAttrs($mS)
    {
        $this->flattenedattrs = $mS;
        return $this;
    }
    public function setUserEmail($lG)
    {
        $this->userEmail = $lG;
        return $this;
    }
    public function updateCustomer($Nt, $jX, $ll, $dv, $Ld, $Co, $Y6, $pi, $rq, $yV, $Wp, $y8, $lP, $rK, $CM, $c6, $rH, $Yr, $KG)
    {
        $Wk = explode("\100", $Nt);
        $this->oauthUtility->log_debug("\160\x72\x6f\143\145\163\x73\125\x73\145\x72\101\x63\164\x69\x6f\156\72\40\x75\x70\144\x61\164\145\x43\x75\163\x74\x6f\155\145\x72");
        if (!($jX === null || empty($jX))) {
            goto VJ;
        }
        $jX = $Wk[0];
        $jX = preg_replace("\x2f\133\x5e\x41\x2d\x5a\x61\x2d\x7a\60\x2d\71\x5c\55\x5d\57", '', $jX);
        VJ:
        if (!($ll === null || empty($ll))) {
            goto xr;
        }
        $ll = $Wk[1];
        $ll = preg_replace("\x2f\x5b\x5e\101\55\x5a\x61\x2d\x7a\60\55\x39\x5c\x2d\x5d\57", '', $ll);
        xr:
        $R9 = $this->clientDetails["\157\141\x75\164\x68\137\143\165\x73\164\157\x6d\x65\x72\137\147\x72\157\165\x70\137\x6d\x61\160\x70\x69\156\147"];
        $Cp = $this->processRoles($Yr, $rH, $R9, $KG);
        $this->oauthUtility->log_debug("\123\145\164\162\157\154\x65" . $Cp);
        if (!(empty($R9) || is_null($KG) || is_null($Cp))) {
            goto KS;
        }
        $this->oauthUtility->log_debug("\x50\162\x6f\143\x65\163\163\x55\163\145\162\101\143\x74\151\x6f\x6e\x3a\x20\151\156\x73\x69\144\145\x20\x65\x6d\x70\164\171\x20\x72\x6f\154\145\x6d\141\x70\160\x69\147");
        $Ko = $this->clientDetails["\x64\145\146\x61\165\154\164\137\162\x6f\154\145"];
        $yz = $this->clientDetails["\144\x65\146\141\x75\154\x74\x5f\147\x72\x6f\165\x70"];
        $Cp = $rH ? $this->getRoleIdByName($Ko) : $this->getGroupIdByName($yz);
        KS:
        $Cx = $this->storeManager->getStore();
        $Ub = $this->storeManager->getStore()->getWebsiteId();
        $O3 = $this->customerFactory->create();
        $O3->setWebsiteId($Ub)->loadByEmail($Nt);
        if (!(!$this->oauthUtility->isBlank($Cp) && isset($this->updateFrontendRole) && strcasecmp($this->updateFrontendRole, "\143\x68\145\x63\153\145\x64") === 0)) {
            goto sB;
        }
        $O3->setWebsiteId($Ub)->setStore($Cx)->setGroupId($Cp)->setForceConfirmed(true)->save();
        sB:
        if (!(isset($this->updateAttribute) && strcasecmp($this->updateAttribute, "\143\x68\145\143\x6b\x65\x64") === 0)) {
            goto lY;
        }
        $O3->setWebsiteId($Ub)->setStore($Cx)->setFirstname($jX)->setLastname($ll)->setEmail($Nt)->setForceConfirmed(true)->save();
        if (!($pi || $Ld || $rq || $Co || $yV || $Y6)) {
            goto FG;
        }
        $U8 = null;
        $hy = $O3->getDefaultBilling();
        if (!isset($hy)) {
            goto V2;
        }
        $U8 = $this->_addressFactory->create()->load($hy);
        V2:
        if (is_null($hy)) {
            goto wQ;
        }
        $U8->setFirstname($jX);
        $U8->setLastname($ll);
        $this->oauthUtility->log_debug("\40\145\x78\x69\164\x69\x6e\x67\x20\165\160\x64\x61\x74\x65\125\163\145\x72\x41\164\164\x72\x69\x62\x75\x74\x65\163\72\x20\160\x68\x6f\156\145");
        if (!isset($pi)) {
            goto U0;
        }
        $U8->setTelephone($pi);
        U0:
        if (!isset($Ld)) {
            goto Cl;
        }
        $U8->setStreet($Ld);
        Cl:
        if (!isset($rq)) {
            goto F5;
        }
        $U8->setCity($rq);
        F5:
        if (!isset($Co)) {
            goto z5;
        }
        $ke = $this->collectionFactory->create()->addRegionNameFilter($Co)->getFirstItem()->toArray();
        if (!isset($ke["\x72\145\147\x69\157\x6e\x5f\151\x64"])) {
            goto mu;
        }
        $U8->setRegionId($ke["\x72\145\x67\x69\x6f\x6e\x5f\151\144"]);
        mu:
        z5:
        if (!isset($yV)) {
            goto hE;
        }
        $U8->setCountryId($yV);
        hE:
        if (!isset($Y6)) {
            goto nV;
        }
        $U8->setPostcode($Y6);
        nV:
        $U8->save();
        goto Z2;
        wQ:
        $k1 = $this->dataAddressFactory->create();
        $k1->setFirstname($jX);
        $k1->setLastname($ll);
        if (!isset($pi)) {
            goto Pa;
        }
        $k1->setTelephone($pi);
        Pa:
        if (!isset($Ld)) {
            goto r3;
        }
        $k1->setStreet($Ld);
        r3:
        if (!isset($rq)) {
            goto uK;
        }
        $k1->setCity($rq);
        uK:
        if (!isset($yV)) {
            goto wx;
        }
        $k1->setCountryId($yV);
        wx:
        if (!isset($Co)) {
            goto fz;
        }
        $ke = $this->collectionFactory->create()->addRegionNameFilter($Co)->getFirstItem()->toArray();
        if (!isset($ke["\162\x65\147\151\x6f\x6e\137\151\x64"])) {
            goto FF;
        }
        $k1->setRegionId($ke["\162\145\x67\151\157\156\x5f\x69\144"]);
        FF:
        fz:
        if (!isset($Y6)) {
            goto vR;
        }
        $k1->setPostcode($Y6);
        vR:
        $k1->setIsDefaultBilling("\61");
        $k1->setSaveInAddressBook("\61");
        $k1->setCustomerId($O3->getId());
        try {
            $k1->save();
            $O3 = $k1->getCustomer();
        } catch (\Exception $aQ) {
            $this->oauthUtility->log_debug("\x41\156\x20\145\x72\162\x6f\x72\40\x6f\x63\143\165\x72\x72\145\x64\x20\167\150\x69\154\x65\x20\x74\162\171\151\x6e\x67\x20\x74\x6f\40\x73\145\164\x20\141\x64\x64\x72\x65\x73\163\72\x20{$aQ->getMessage()}");
        }
        Z2:
        FG:
        if (!($rK || $Wp || $CM || $y8 || $c6 || $lP)) {
            goto dr;
        }
        $Zg = $O3->getDefaultShipping();
        $Ci = $this->_addressFactory->create()->load($Zg);
        if (is_null($Zg)) {
            goto yN;
        }
        $Ci->setFirstname($jX);
        $Ci->setLastname($ll);
        $this->oauthUtility->log_debug("\x20\x65\170\x69\x74\x69\156\x67\x20\165\x70\x64\x61\164\x65\125\163\145\162\x41\164\164\162\151\x62\165\x74\x65\163\72\40\160\x68\157\x6e\145");
        if (!isset($rK)) {
            goto Je;
        }
        $Ci->setTelephone($rK);
        Je:
        if (!isset($Wp)) {
            goto Wr;
        }
        $Ci->setStreet($Wp);
        Wr:
        if (!isset($CM)) {
            goto rd;
        }
        $Ci->setCity($CM);
        rd:
        if (!isset($y8)) {
            goto ns;
        }
        $ke = $this->collectionFactory->create()->addRegionNameFilter($y8)->getFirstItem()->toArray();
        if (!isset($ke["\x72\145\x67\151\157\156\137\x69\144"])) {
            goto iZ;
        }
        $Ci->setRegionId($ke["\x72\145\147\x69\x6f\156\x5f\x69\144"]);
        iZ:
        ns:
        if (!isset($c6)) {
            goto XG;
        }
        $Ci->setCountryId($c6);
        XG:
        if (!isset($lP)) {
            goto Xx;
        }
        $Ci->setPostcode($lP);
        Xx:
        $Ci->save();
        goto JG;
        yN:
        $k1 = $this->dataAddressFactory->create();
        $k1->setFirstname($jX);
        $k1->setLastname($ll);
        if (!isset($rK)) {
            goto Ih;
        }
        $k1->setTelephone($rK);
        Ih:
        if (!isset($Wp)) {
            goto Kr;
        }
        $k1->setStreet($Wp);
        Kr:
        if (!isset($CM)) {
            goto at;
        }
        $k1->setCity($CM);
        at:
        if (!isset($y8)) {
            goto LC;
        }
        $ke = $this->collectionFactory->create()->addRegionNameFilter($y8)->getFirstItem()->toArray();
        if (!isset($ke["\x72\145\147\151\157\156\137\x69\144"])) {
            goto Pp;
        }
        $k1->setRegionId($ke["\162\x65\147\151\157\156\x5f\151\x64"]);
        Pp:
        LC:
        if (!isset($c6)) {
            goto LO;
        }
        $k1->setCountryId($c6);
        LO:
        if (!isset($lP)) {
            goto c9;
        }
        $k1->setPostcode($lP);
        c9:
        $k1->setIsDefaultShipping("\61");
        $k1->setSaveInAddressBook("\x31");
        $k1->setCustomerId($O3->getId());
        try {
            $k1->save();
            $O3 = $k1->getCustomer();
        } catch (\Exception $aQ) {
            $this->oauthUtility->log_debug("\101\156\40\145\x72\x72\157\x72\40\x6f\143\x63\x75\x72\162\145\144\40\x77\150\151\x6c\145\40\164\162\171\x69\x6e\147\40\x74\x6f\40\x73\145\164\40\141\x64\x64\162\145\x73\x73\72\x20{$aQ->getMessage()}");
        }
        JG:
        dr:
        lY:
        return $O3;
    }
    public function generatePassword($tV = 16)
    {
        $ZJ = \Magento\Framework\Math\Random::CHARS_LOWERS . \Magento\Framework\Math\Random::CHARS_UPPERS . \Magento\Framework\Math\Random::CHARS_DIGITS . "\x23\x24\x25\x26\x2a\x2e\73\72\x28\x29\x40\41";
        $bf = $this->randomUtility->getRandomString($tV, $ZJ);
        return $bf;
    }
    public function showerrorMessage($TW)
    {
        $this->oauthUtility->log_debug("\120\x72\x6f\x63\145\163\163\40\x55\x73\145\x72\x20\101\x63\164\151\157\x6e\x3a\x20\x52\x65\x64\151\x72\145\x63\x74\151\x6e\x67\40\x74\157\40\145\x72\162\x6f\x72\x20\160\141\147\x65\72\40\x65\162\x72\157\x72\x20\155\x65\163\163\x61\x67\x65\x20\x3a\x20" . $TW);
        $this->messageManager->addErrorMessage($TW);
        $zD = $this->oauthUtility->getStoreConfig(OAuthConstants::AUTO_REDIRECT);
        $RT = $this->oauthUtility->getStoreConfig(OAuthConstants::ALL_PAGE_AUTO_REDIRECT);
        if ($RT) {
            goto t3;
        }
        if ($zD) {
            goto Qv;
        }
        $az = $this->oauthUtility->getBaseUrl() . "\x63\165\x73\164\157\155\x65\162\x2f\141\143\x63\x6f\x75\156\164\57\154\157\147\151\x6e";
        goto WM;
        t3:
        print_r($TW);
        exit;
        goto WM;
        Qv:
        $az = $this->oauthUtility->getSessionData("\x65\x72\162\157\x72\137\x72\x65\144\x69\x72\145\x63\164\x5f\x75\162\154");
        WM:
        $this->getResponse()->setRedirect($az)->sendResponse();
        exit;
    }
    public function updateCustom($user, $Nt)
    {
        $cQ = $this->oauthUtility->getSessionData(OAuthConstants::APP_NAME);
        $jH = $this->oauthUtility->getOAuthClientApps();
        $Q2 = null;
        foreach ($jH as $BC) {
            if (!($BC->getData()["\x61\160\160\x5f\156\141\x6d\145"] === $cQ)) {
                goto rf;
            }
            $Q2 = $BC->getData();
            rf:
            qN:
        }
        RI:
        if (!(isset($this->updateAttribute) && strcasecmp($this->updateAttribute, "\x63\x68\145\143\x6b\x65\144") === 0)) {
            goto Vp;
        }
        $this->oauthUtility->log_debug("\x20\x49\x6e\40\x75\160\x64\141\164\145\x43\165\x73\x74\157\155\101\x74\164\162\151\142\x75\164\x65\40\x66\165\x6e\143\x74\x69\157\x6e");
        $oe = $user->getId();
        $this->oauthUtility->log_debug("\165\163\145\x72\40\x69\x64" . $oe);
        $rH = is_a($user, "\x5c\115\x61\x67\x65\x6e\x74\x6f\x5c\x55\x73\145\162\134\x4d\x6f\144\x65\154\134\x55\x73\145\x72") ? TRUE : FALSE;
        $hL = array_Keys((array) $this->attrs);
        $this->oauthUtility->log_debug("\141\x74\164\162\x69\142\165\x74\x65\163\40\153\145\x79\163\40", $hL);
        $Mf = json_decode((string) $Q2["\x63\x75\163\164\x6f\x6d\x5f\141\x74\164\162\151\x62\x75\x74\x65\x73"]);
        $ud = array_values((array) $Mf);
        foreach ((array) $Mf as $Lj => $uV) {
            $Dl = $this->eavConfig->getEntityType("\x63\165\x73\164\157\x6d\145\162")->getId();
            $Ct = $this->eavConfig->getAttribute($Dl, $Lj);
            if ($Ct && $Ct->getId()) {
                goto GX;
            }
            $this->oauthUtility->log_debug("{$Lj}\40\x63\165\163\x74\157\155\x20\141\x74\164\162\151\x62\165\x74\145\x20\x6e\x6f\x74\40\x70\x72\145\x73\x65\x6e\164");
            GX:
            Z7:
        }
        bI:
        $tn = array_intersect($hL, $ud);
        $this->oauthUtility->log_debug("\x20\125\160\144\141\164\145\40\165\x73\145\162\x27\163\40\143\165\x73\164\x6f\155\x20\141\164\x74\x72\151\x62\x75\x74\145\163");
        foreach ($tn as $mE) {
            $mg = array_search($mE, (array) $Mf);
            $In = $this->attrs[$mE];
            $this->oauthUtility->log_debug("\143\x75\163\x74\x6f\x6d\40\141\164\x74\162\151\x62\x75\x74\x65\x20\75\40{$mg}\40\x61\156\144\x20\143\x75\163\164\157\155\40\166\x61\x6c\x75\145\40\75\40{$In}\40");
            $O3 = $this->customerFactory->create();
            $Ub = $this->storeManager->getWebsite()->getWebsiteId();
            $O3->setWebsiteId($Ub);
            $O3->loadByEmail($Nt);
            $O3->setData($mg, $In);
            $O3->save();
            iU:
        }
        Hk:
        Vp:
        return $user;
    }
}

Function Calls

None

Variables

None

Stats

MD5 6e99494737c9aca4d05c6cf15f97b20f
Eval Count 0
Decode Time 109 ms