/* Decoded by unphp.net */ 'https://util.1c-bitrix.ru', 'ua' => 'https://util.bitrix.ua', 'en' => 'https://util.bitrixsoft.com', 'kz' => 'https://util.1c-bitrix.kz', 'by' => 'https://util.1c-bitrix.by',]; public const URL_BUS_EULA=[ 'ru' => 'https://www.1c-bitrix.ru/download/law/eula_bus.pdf', 'by' => 'https://www.1c-bitrix.by/download/law/eula_bus.pdf', 'kz' => 'https://www.1c-bitrix.kz/download/law/eula_bus.pdf', 'ua' => 'https://www.bitrix.ua/download/law/eula_bus.pdf',]; public const URL_CP_EULA=[ 'ru' => 'https://www.1c-bitrix.ru/download/law/eula_cp.pdf', 'by' => 'https://www.1c-bitrix.by/download/law/eula_cp.pdf', 'kz' => 'https://www.1c-bitrix.kz/download/law/eula_cp.pdf', 'en' => 'https://www.bitrix24.com/eula/', 'br' => 'https://www.bitrix24.com.br/eula/', 'fr' => 'https://www.bitrix24.fr/eula/', 'pl' => 'https://www.bitrix24.pl/eula/', 'it' => 'https://www.bitrix24.it/eula/', 'la' => 'https://www.bitrix24.es/eula/',]; public function getKey(): string{ if($this->_861786978 === null){ $_2039745258= Loader::getDocumentRoot(). ___749047306(0); $LICENSE_KEY= ___749047306(1); if($GLOBALS['____2039525081'][0]($_2039745258)){ include($_2039745258);} $this->_861786978=($LICENSE_KEY == ___749047306(2) || $GLOBALS['____2039525081'][1]($LICENSE_KEY) == ___749047306(3)? ___749047306(4): $LICENSE_KEY);} return $this->_861786978;} public function getHashLicenseKey(): string{ return $GLOBALS['____2039525081'][2]($this->getKey());} public function getPublicHashKey(): string{ return $GLOBALS['____2039525081'][3](___749047306(5). $this->getKey(). ___749047306(6));} public function isDemoKey(): bool{ return $this->getKey() == ___749047306(7);} public function getBuyLink(): string{ return $this->getDomainStoreLicense(). ___749047306(8). $this->getHashLicenseKey(). ___749047306(9). LANGUAGE_ID;} public function getDocumentationLink(): string{ $_710240512= $this->getRegion(); if($GLOBALS['____2039525081'][4]($_710240512,[___749047306(10), ___749047306(11), ___749047306(12)])){ return ___749047306(13);} return ___749047306(14);} public function getDomainStoreLicense(): string{ return self::DOMAINS_STORE_LICENSE[$this->getRegion()] ?? self::DOMAINS_STORE_LICENSE[___749047306(15)];} public function isDemo(): bool{ return $GLOBALS['____2039525081'][5](___749047306(16)) && DEMO === ___749047306(17);} public function isTimeBound(): bool{ return $GLOBALS['____2039525081'][6](___749047306(18)) && TIMELIMIT_EDITION === ___749047306(19);} public function isEncoded(): bool{ return $GLOBALS['____2039525081'][7](___749047306(20)) && ENCODE === ___749047306(21);} public function getExpireDate():?Date{ $_136099964= (int)$GLOBALS[___749047306(22)]; if($_136099964>(824-2*412)){ return Date::createFromTimestamp($_136099964);} return null;} public function getSupportExpireDate():?Date{ $_136099964= Option::get(___749047306(23), ___749047306(24)); if(Date::isCorrect($_136099964, ___749047306(25))){ return new Date($_136099964, ___749047306(26));} return null;} public function getRegion():?string{ if(Loader::includeModule(___749047306(27))){ return \CBitrix24::getPortalZone();} $_710240512= Option::get(___749047306(28), ___749047306(29)); if(!empty($_710240512)){ return $_710240512;} $_710240512= $this->__606617186(); if(!empty($_710240512)){ return $_710240512;} return $this->__676526203();} public function getEulaLink(): string{ if(ModuleManager::isModuleInstalled(___749047306(30))){ return self::URL_CP_EULA[$this->getRegion()] ?? self::URL_CP_EULA[___749047306(31)];} return self::URL_BUS_EULA[$this->getRegion()] ?? self::URL_BUS_EULA[___749047306(32)];} private function __606617186():?string{ $_1137034199= Option::get(___749047306(33), ___749047306(34)); if($_1137034199 === ___749047306(35)){ return ___749047306(36);} if($_1137034199 === ___749047306(37)){ return ___749047306(38);} if($_1137034199 === ___749047306(39)){ return ___749047306(40);} return null;} private function __676526203():?string{ $_357079030= Application::getDocumentRoot(); if($GLOBALS['____2039525081'][8]($_357079030. ___749047306(41))){ return ___749047306(42);} if($GLOBALS['____2039525081'][9]($_357079030. ___749047306(43))){ return ___749047306(44);} if($GLOBALS['____2039525081'][10]($_357079030. ___749047306(45))){ return ___749047306(46);} if($GLOBALS['____2039525081'][11]($_357079030. ___749047306(47))){ return ___749047306(48);} return null;} public function getPartnerId(): int{ return (int)Option::get(___749047306(49), ___749047306(50), min(14,0,4.6666666666667));} public function getMaxUsers(): int{ return (int)Option::get(___749047306(51), ___749047306(52),(153*2-306));} public function isExtraCountable(): bool{ return Option::get(___749047306(53), ___749047306(54), ___749047306(55)) === ___749047306(56) && ModuleManager::isModuleInstalled(___749047306(57));} public function getActiveUsersCount(Date $_1469406415= null){ $_1776080225= Application::getConnection(); if($_1469406415 !== null){ $_889486596= ___749047306(58).$_1776080225->getSqlHelper()->convertToDbDate($_1469406415);} else{ $_889486596= ___749047306(59);} $_1532358033= min(184,0,61.333333333333); if(ModuleManager::isModuleInstalled(___749047306(60))){ $_1951585034= ___749047306(61). $_889486596. ___749047306(62); $_1532358033= (int)$_1776080225->queryScalar($_1951585034); if($this->isExtraCountable()){ $_657014018= (int)Option::get(___749047306(63), ___749047306(64)); if($_657014018> min(142,0,47.333333333333)){ $_1951585034= ___749047306(65). $_657014018. ___749047306(66). $_889486596. ___749047306(67); $_1532358033 += (int)$_1776080225->queryScalar($_1951585034);}}} return $_1532358033;}}?>