Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
mutator.php
1<? namespace Bitrix\Landing;$GLOBALS['____1979065141']= array(base64_decode('ZGV'.'maW5l'),base64_decode('aW5f'.'YX'.'Jy'.'YXk='),base64_decode('cHJlZ1'.'9tY'.'XRj'.'aF9hb'.'Gw='),base64_decode('Y'.'XJ'.'yY'.'Xlf'.'bWVyZ2U'.'='),base64_decode('YXJyYX'.'lfdmFsdWVz'),base64_decode('YXJ'.'y'.'YXlfdW5pc'.'X'.'Vl'),base64_decode('c3'.'Vic3Ry'),base64_decode('aW5f'.'YX'.'J'.'yY'.'Xk='),base64_decode('ZXhw'.'bG9kZQ=='),base64_decode('cGF'.'jaw=='),base64_decode(''.'bWQ1'),base64_decode('Y29uc'.'3Rhbn'.'Q='),base64_decode('aGF'.'z'.'aF9o'.'bWFj'),base64_decode('c'.'3RyY2'.'1w'),base64_decode('Z'.'X'.'hwbG'.'9kZQ=='),base64_decode('bWt'.'0a'.'W1'.'l'),base64_decode('dGltZQ'.'=='),base64_decode(''.'aW5fYXJyY'.'X'.'k='),base64_decode('cHJlZ1'.'9'.'yZXBsYW'.'NlX'.'2NhbGxiYWNr'),base64_decode(''.'b'.'WJfc3RydG9sb3dlcg=='),base64_decode('c'.'H'.'JlZ'.'19'.'yZXBsY'.'WNlX2NhbGxi'.'YWNr'),base64_decode('cHJlZ1'.'9yZXBs'.'YW'.'NlX2N'.'hbGx'.'iYWNr'),base64_decode('bWJ'.'fc'.'3'.'R'.'ydG9sb3dlcg=='),base64_decode('c3R'.'yX3Jl'.'cG'.'xhY'.'2'.'U='),base64_decode(''.'c'.'H'.'Jl'.'Z1'.'9tYXRjaA='.'='),base64_decode('cHJlZ1'.'9yZXBsYWNlX'.'2N'.'hbG'.'xiY'.'W'.'N'.'r'));if(!function_exists(__NAMESPACE__.'\\___29363097')){function ___29363097($_1225708275){static $_1362694693= false; if($_1362694693 == false) $_1362694693=array('TEF'.'OR'.'El'.'O'.'R'.'1'.'9N'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QgT'.'U9EVUx'.'FX0lEPSdtYW'.'luJw'.'==','Vk'.'FMVUU=',''.'Lg==','S'.'Co=','Yml0'.'cml4','TE'.'lDRU5TR'.'V9LR'.'Vk=','c'.'2hhMjU2','MjA'.'xOC0wMS0wMQ==','MjAx'.'OC0'.'wMS0w'.'MQ==','LQ==','TElD'.'RU5TR'.'V9FWF'.'B'.'JUkVE','T'.'EF'.'ORElO'.'R19MSUNFTlNFX0'.'V'.'YUElSR'.'UQ=','QUNUSVZF','WQ==','U'.'FVCTElD','W'.'Q='.'=',''.'RE'.'F'.'UR'.'V9Q'.'VU'.'JMSUM=','REF'.'URV'.'9NT'.'0R'.'J'.'Rlk=','Q'.'UNUSVZ'.'F','WQ==','Lyhb'.'XDsi'.'XXs'.'wLDF9KSNibG9'.'jay'.'hbXG'.'RdKyk'.'oW1wm'.'Il17MCwx'.'fSkvaXM=','T'.'ElE',''.'PURFT'.'E'.'VURUQ=','T'.'g==','SU'.'Q=','c2Vs'.'Z'.'WN0','SUQ=','UEFS'.'RU5U'.'X0lE','Zmls'.'d'.'G'.'V'.'y','SUQ=','SU'.'Q'.'=','S'.'UQ=',''.'UEFSRU5UX0lE','c2VsZWN0','S'.'UQ=','UFVCTE'.'lD','UE'.'F'.'SRU'.'5UX'.'0lE','Q0'.'9ERQ==','U0'.'9S'.'VA==','Q'.'U'.'NUSVZF','QU'.'5DSE9S','QUNDRVNT','Q'.'09OV'.'EV'.'O'.'VA==','U0VBUkNI'.'X'.'0N'.'PTl'.'RF'.'TlQ=','U0'.'9'.'VUkN'.'FX1'.'BBUkFN'.'Uw==','QVNTRVRT','W'.'E1MX0lE','RE'.'VTSU'.'dORU'.'Q=','Z'.'m'.'lsdGVy',''.'S'.'UQ=',''.'UFVC'.'TElD','WQ='.'=','Q0'.'9OVE'.'VOVA==',''.'L2hyZW'.'Y9'.'Iihwcm9kdWN0Oi'.'k/I2N'.'hdGFsb2coRWxlbWVudHxTZWN0aW9u'.'KS'.'h'.'bXGRdKy'.'kiL2k'.'=','aHJlZ'.'j0i','Ig==','Q09OVEVOVA==','Q'.'09OV'.'EVO'.'VA='.'=','L'.'yhkY'.'X'.'Rh'.'LXBzZXVkby11cmw9Int'.'cUyooc'.'HJvZ'.'HVjdDopPyNjYXRhbG9nKEVsZW1lbnR8U2VjdGlv'.'bi'.'koW1xkXS'.'spK'.'ShcUyp9Iikv'.'aQ==',''.'Lyhwcm9kd'.'WN0Oik/I2NhdG'.'F'.'sb2co'.'RWxl'.'b'.'WV'.'udHxTZW'.'N0'.'aW9uKShbX'.'GRdKykvaQ'.'==','Q09OVE'.'VOVA==','Q09OVEV'.'OVA==',''.'Q09O'.'V'.'EVOV'.'A==',''.'Q09OVEVOV'.'A==',''.'Y29'.'udGVu'.'d'.'GVkaXR'.'hYmxlP'.'SJ'.'0cnVlIg==','','Q09OVEVOVA==','UE'.'FS'.'RU5'.'UX0lE','UEFSRU5UX0lE',''.'SUQ=','U09SV'.'A==',''.'U'.'09SVA==','QUN'.'U'.'SV'.'Z'.'F',''.'QUNUSVZF','Q'.'U5DSE'.'9S',''.'QU'.'5DS'.'E9S','WE1M'.'X'.'0lE','W'.'E'.'1MX0lE','QUNDRV'.'NT','QU'.'NDRV'.'N'.'T','REV'.'TSUdOR'.'U'.'Q=','RE'.'V'.'TSUdORUQ=','U09V'.'UkN'.'FX'.'1BBUkFNU'.'w==',''.'U'.'0'.'9VUkNFX1'.'BB'.'UkF'.'N'.'U'.'w==','Q0'.'9'.'OVE'.'VOVA==','Q09O'.'VEVOV'.'A==','U0'.'VBUkNIX'.'0NPT'.'l'.'RF'.'Tl'.'Q=',''.'U0VBUkNIX0NPTlRF'.'TlQ=','QVNTRVRT','QVN'.'TR'.'VR'.'T','UEFS'.'RU5UX'.'0lE','Q'.'09OVEVO'.'VA==','TE'.'lE','Q09ERQ='.'=',''.'Q09ERQ'.'==','U'.'09S'.'VA==','U'.'09SVA'.'='.'=','QU5DS'.'E9S','Q'.'U5DSE9S','Yg==','W'.'E1MX0lE','WE1'.'M'.'X0lE','QUNUSVZF','QUN'.'USV'.'ZF','Q'.'UNDRVNT','QU'.'N'.'DRVNT','REVT'.'SUdORUQ=','REV'.'TSUdOR'.'UQ=','U0'.'9VUkNFX1BBUkF'.'NUw==',''.'U09VUk'.'NFX'.'1BBUkFN'.'Uw==','Q0'.'9OVE'.'VO'.'VA==','Q09'.'OVEVOVA==',''.'U0VBUk'.'NIX0NPTlRFT'.'lQ=','U0VBUkNI'.'X0N'.'PTlR'.'FTlQ=','QV'.'N'.'T'.'RVR'.'T',''.'QV'.'NTRV'.'R'.'T','UE'.'FSRU'.'5UX'.'0lE','Q'.'09'.'OV'.'EVO'.'VA==','Q09'.'OVEVOVA'.'==',''.'Q09OV'.'EVOVA==','Q09OVEVOVA==','I2Js'.'b2Nr','I2Jsb2Nr','Q09OVEVO'.'VA==');return base64_decode($_1362694693[$_1225708275]);}}; use Bitrix\Bitrix24\Feature; use Bitrix\Landing\Assets; use Bitrix\Landing\Block\Cache; use Bitrix\Landing\Internals\HookDataTable as HookData; use Bitrix\Landing\Restriction; use Bitrix\Rest\AppTable; use Bitrix\Main\Config\Configuration; use Bitrix\Main\Event; use Bitrix\Main\EventResult; use Bitrix\Main\Localization\Loc; use Bitrix\Main\Web\HttpClient; Loc::loadMessages(__FILE__); $GLOBALS['____1979065141'][0](___29363097(0), true); class Mutator{ public static function checkSiteVerification(int $_1798975350, Error $_268582848): bool{ $_339463401= Manager::getZone(); if(!$GLOBALS['____1979065141'][1]($_339463401,[___29363097(1), ___29363097(2), ___29363097(3)]) &&!self::__59369309()){ if(!Restriction\Site::isPhoneConfirmed($_1798975350)){ $_268582848->addError( ___29363097(4), Loc::getMessage(___29363097(5))); return false;}} else if(!self::__992438069()){ if(!Restriction\Site::isEmailConfirmed($_1798975350)){ $_268582848->addError( ___29363097(6), Loc::getMessage(___29363097(7))); return false;}} return true;} private static function __59369309(): bool{ if(Manager::getOption(___29363097(8)) === ___29363097(9)){ return true;} if(!\Bitrix\Main\Loader::includeModule(___29363097(10))){ return true;} return Feature::isFeatureEnabled(___29363097(11));} private static function __992438069(): bool{ if(Manager::getOption(___29363097(12)) === ___29363097(13)){ return true;} return false;} public static function landingPublication(Landing $landing, $_591201104= null, bool $_1981551946= false): bool{ static $_656000547=[]; static $_1770620575=[]; Manager::disableAllFeaturesTmp(); if(!$landing->exist()){ return false;} $_259023553= new Event(___29363097(14), ___29363097(15), array( ___29363097(16) => $landing->getId(), ___29363097(17) => $_591201104, ___29363097(18) => $landing->getSiteId())); $_259023553->send(); foreach($_259023553->getResults() as $_492261665){ if($_492261665->getType() == EventResult::ERROR){ foreach($_492261665->getErrors() as $_268582848){ $landing->getError()->addError( $_268582848->getCode(), $_268582848->getMessage());} return false;}} if((175*2-350)) if($_1931671139= Configuration::getValue(___29363097(19))){ $_622915440=[]; $_2077065310= Block::getList([ ___29363097(20) =>[ ___29363097(21)], ___29363097(22) =>[ ___29363097(23) => $landing->getId(), ___29363097(24) => ___29363097(25), ___29363097(26) => ___29363097(27), ___29363097(28) => ___29363097(29)]]); while($_782193205= $_2077065310->fetch()){ if($GLOBALS['____1979065141'][2](___29363097(30), $_782193205[___29363097(31)], $_86342785)){ $_622915440= $GLOBALS['____1979065141'][3]($_622915440, $_86342785[round(0+0.33333333333333+0.33333333333333+0.33333333333333)]);}} $_622915440= $GLOBALS['____1979065141'][4]($GLOBALS['____1979065141'][5]($_622915440)); $_180748583= new HttpClient; if($_622915440){ $_1399522338= $_180748583->post(___29363097(32),[ ___29363097(33) => $_1931671139, ___29363097(34) => $_622915440, ___29363097(35) => \Bitrix\Main\Application::getInstance()->getContext()->getServer()->get(___29363097(36))]); if($_1399522338 && $_1399522338 !== ___29363097(37)){ $landing->getError()->addError( ___29363097(38), Loc::getMessage(___29363097(39))); return false;}}} if(!Manager::checkFeature( Manager::FEATURE_PUBLICATION_PAGE, array( ___29363097(40) => array( ___29363097(41) => $landing->getId())))){ $landing->getError()->addError( ___29363097(42), Restriction\Manager::getSystemErrorMessage(___29363097(43))); return false;} $_396209159= $landing->getMeta(); if( isset($_396209159[___29363097(44)]) && \Bitrix\Main\Loader::includeModule(___29363097(45))){ $_2077065310= AppTable::getList([ ___29363097(46) =>[ ___29363097(47) => $_396209159[___29363097(48)]]]); if($_782193205= $_2077065310->fetch()){ $_1347290017= AppTable::getAppStatusInfo($_782193205, ___29363097(49)); if($_1347290017[___29363097(50)] != ___29363097(51)){ $landing->getError()->addError( ___29363097(52), Restriction\Manager::getSystemErrorMessage(___29363097(53))); return false;}}} $_693126915=[]; $_2077065310= Block::getList([ ___29363097(54) =>[ ___29363097(55)], ___29363097(56) =>[ ___29363097(57) => $landing->getId(), ___29363097(58) => ___29363097(59), ___29363097(60) => ___29363097(61), ___29363097(62) => ___29363097(63), ___29363097(64) => ___29363097(65)]]); while($_782193205= $_2077065310->fetch()){ $_693126915[]= $GLOBALS['____1979065141'][6]($_782193205[___29363097(66)], round(0+1.25+1.25+1.25+1.25));} if(!empty($_693126915)){ foreach(Repo::getAppInfo($_693126915) as $_105659032){ if(($_105659032[___29363097(67)] ?? ___29363097(68)) !== ___29363097(69)){ $landing->getError()->addError( ___29363097(70), Restriction\Manager::getSystemErrorMessage(___29363097(71))); return false;}}} if(!$GLOBALS['____1979065141'][7]($landing->getSiteId(), $_1770620575)){ $_1770620575[]= $landing->getSiteId(); $_2077065310= Site::getList(array( ___29363097(72) => array( ___29363097(73), ___29363097(74)), ___29363097(75) => array( ___29363097(76) => $landing->getSiteId(), ___29363097(77) => ___29363097(78), ___29363097(79) => ___29363097(80)))); if($_782193205= $_2077065310->fetch()){ if(!Manager::checkFeature( Manager::FEATURE_PUBLICATION_SITE,[ ___29363097(81) =>[ ___29363097(82) => $_782193205[___29363097(83)]], ___29363097(84) => $_782193205[___29363097(85)]])){ $_1755569770= Manager::licenseIsFreeSite($_782193205[___29363097(86)]) &&!Manager::isFreePublicAllowed()? ___29363097(87): ___29363097(88); $_235879167= Manager::licenseIsFreeSite($_782193205[___29363097(89)]) &&!Manager::isFreePublicAllowed()? ___29363097(90): ___29363097(91); $landing->getError()->addError( $_1755569770, Restriction\Manager::getSystemErrorMessage($_235879167)); return false;}}} if(\Bitrix\Landing\Hook\Page\HeadBlock::isLockedFeature()){ $_779222438=[$landing->getId()]; $_2077065310= Landing::getList([ ___29363097(92) =>[ ___29363097(93)], ___29363097(94) =>[ ___29363097(95) => $landing->getSiteId(), ___29363097(96) => ___29363097(97)]]); while($_782193205= $_2077065310->fetch()){ $_779222438[]= $_782193205[___29363097(98)];} $_2077065310= HookData::getList([ ___29363097(99) =>[ ___29363097(100), ___29363097(101), ___29363097(102)], ___29363097(103) =>[[ ___29363097(104) => ___29363097(105),[ ___29363097(106) => Hook::ENTITY_TYPE_SITE, ___29363097(107) => $landing->getSiteId()],[ ___29363097(108) => Hook::ENTITY_TYPE_LANDING, ___29363097(109) => $_779222438]], ___29363097(110) => ___29363097(111), ___29363097(112) => ___29363097(113), ___29363097(114) => ___29363097(115)], ___29363097(116) => round(0+0.25+0.25+0.25+0.25)]); if($_782193205= $_2077065310->fetch()){ $landing->getError()->addError( ___29363097(117). $_782193205[___29363097(118)]. $_782193205[___29363097(119)]. ___29363097(120), Restriction\Manager::getSystemErrorMessage(___29363097(121))); return false;}} if(!self::checkSiteVerification($landing->getSiteId(), $landing->getError())){ return false;} $_259023553= new Event(___29363097(122), ___29363097(123), array( ___29363097(124) => $landing->getId(), ___29363097(125) => $_591201104, ___29363097(126) => $_396209159[___29363097(127)],)); $_259023553->send(); foreach($_259023553->getResults() as $_492261665){ if($_492261665->getResultType() == EventResult::ERROR){ foreach($_492261665->getErrors() as $_268582848){ $landing->getError()->addError( $_268582848->getCode(), $_268582848->getMessage());} return false;}} if($_1981551946){ return true;} if(!\Bitrix\Main\ModuleManager::isModuleInstalled(___29363097(128))){ $_662124229= $GLOBALS[___29363097(129)]->Query(___29363097(130), true); if($_2077065310= $_662124229->Fetch()){ $_1481372606= $_2077065310[___29363097(131)]; list($_899966445, $_1087831904)= $GLOBALS['____1979065141'][8](___29363097(132), $_1481372606); $_1542597412= $GLOBALS['____1979065141'][9](___29363097(133), $_899966445); $_1488914665= ___29363097(134).$GLOBALS['____1979065141'][10]($GLOBALS['____1979065141'][11](___29363097(135))); $_65771997= $GLOBALS['____1979065141'][12](___29363097(136), $_1087831904, $_1488914665, true); if($GLOBALS['____1979065141'][13]($_65771997, $_1542597412) !== min(62,0,20.666666666667)){ $_1087831904= ___29363097(137);}} else{ $_1087831904= ___29363097(138);} if(!empty($_1087831904)){ $_862921247= $GLOBALS['____1979065141'][14](___29363097(139), $_1087831904); $_2098187387= $GLOBALS['____1979065141'][15](min(196,0,65.333333333333),(162*2-324),(185*2-370), $_862921247[round(0+0.33333333333333+0.33333333333333+0.33333333333333)], $_862921247[round(0+0.5+0.5+0.5+0.5)], $_862921247[(1332/2-666)]); if($_2098187387 <= $GLOBALS['____1979065141'][16]()){ $landing->getError()->addError( ___29363097(140), Loc::getMessage(___29363097(141))); return false;}}} if($landing->getFolderId()){ Site::publicationFolder($landing->getFolderId());} if(!$_591201104){ Hook::setEditMode(); Hook::publicationSite($landing->getSiteId()); Hook::publicationLanding($landing->getId());} Assets\Manager::rebuildWebpackForLanding($landing->getId()); self::blocksPublication($landing, $_591201104); $_98129842= new \Bitrix\Main\Type\DateTime; $_1715535349=[ ___29363097(142) => ___29363097(143), ___29363097(144) => ___29363097(145), ___29363097(146) => $_98129842, ___29363097(147) => false]; $_2077065310= Landing::update($landing->getId(), $_1715535349); $landing->setMetaData($_1715535349); if($_2077065310->isSuccess()){ if(!$GLOBALS['____1979065141'][17]($landing->getSiteId(), $_656000547)){ $_656000547[]= $landing->getSiteId(); $_2077065310= Site::update($landing->getSiteId(), array( ___29363097(148) => ___29363097(149))); if(!$_2077065310->isSuccess()){ $landing->getError()->addFromResult( $_2077065310); return false;}} return true;} else{ $landing->getError()->addFromResult( $_2077065310);} return false;} public static function blocksPublication(\Bitrix\Landing\Landing $landing, $_591201104= null): void{ if($landing->exist()){ $_393048248= $landing->getId(); $_1798844382= array(); $_494311547= array(); $_246644721= array(); $_964369138= ___29363097(150); $_3009064=[ ___29363097(151) => $landing->getId(), ___29363097(152) => ___29363097(153)]; if($_591201104){ $_3009064[___29363097(154)]= $_591201104; $_2077065310= Block::getList([ ___29363097(155) =>[ ___29363097(156), ___29363097(157)], ___29363097(158) => $_3009064]); $_3009064[___29363097(159)]= (array)$_3009064[___29363097(160)]; while($_782193205= $_2077065310->fetch()){ $_3009064[___29363097(161)][]= $_782193205[___29363097(162)];}} $_2077065310= Block::getList([ ___29363097(163) =>[ ___29363097(164), ___29363097(165), ___29363097(166), ___29363097(167), ___29363097(168), ___29363097(169), ___29363097(170), ___29363097(171), ___29363097(172), ___29363097(173), ___29363097(174), ___29363097(175), ___29363097(176), ___29363097(177)], ___29363097(178) => $_3009064]); while($_782193205= $_2077065310->fetch()){ $_1798844382[$_782193205[___29363097(179)]]= $_782193205;} foreach($_1798844382 as $_1477635076 => $_760842226){ if($_760842226[___29363097(180)] != ___29363097(181)){ $_760842226[___29363097(182)]= $GLOBALS['____1979065141'][18]( ___29363097(183), function($_844351947){ return ___29363097(184). PublicAction\Utils::getIblockURL( $_844351947[round(0+3)], $GLOBALS['____1979065141'][19]($_844351947[round(0+2)])). ___29363097(185);}, $_760842226[___29363097(186)]); $_760842226[___29363097(187)]= $GLOBALS['____1979065141'][20]( ___29363097(188), function($_844351947){ $_844351947[round(0+0.2+0.2+0.2+0.2+0.2)]= $GLOBALS['____1979065141'][21]( ___29363097(189), function($_28610379){ return PublicAction\Utils::getIblockURL( $_28610379[round(0+0.75+0.75+0.75+0.75)], $GLOBALS['____1979065141'][22]($_28610379[round(0+1+1)]));}, $_844351947[round(0+0.25+0.25+0.25+0.25)]); return $_844351947[round(0+1)]. $_844351947[round(0+1.25+1.25+1.25+1.25)];}, $_760842226[___29363097(190)]); $_760842226[___29363097(191)]= Subtype\Form::prepareFormsToPublication( $_760842226[___29363097(192)]); $_760842226[___29363097(193)]= $GLOBALS['____1979065141'][23]( ___29363097(194), ___29363097(195), $_760842226[___29363097(196)]); $_1238814928= isset($_1798844382[$_760842226[___29363097(197)]])? $_1798844382[$_760842226[___29363097(198)]][___29363097(199)]: min(114,0,38); if($_1238814928){ Cache::clear($_1238814928); $_2077065310= Block::update($_1238814928, array( ___29363097(200) => $_760842226[___29363097(201)], ___29363097(202) => $_760842226[___29363097(203)], ___29363097(204) => $_760842226[___29363097(205)], ___29363097(206) => $_760842226[___29363097(207)], ___29363097(208) => $_760842226[___29363097(209)], ___29363097(210) => $_760842226[___29363097(211)], ___29363097(212) => $_760842226[___29363097(213)], ___29363097(214) => $_760842226[___29363097(215)], ___29363097(216) => $_760842226[___29363097(217)], ___29363097(218) => $_760842226[___29363097(219)])); $_2077065310->isSuccess(); unset($_1798844382[$_760842226[___29363097(220)]]); File::replaceInBlock( $_1238814928, File::getFilesFromBlockContent( $_1477635076, $_760842226[___29363097(221)]));} else{ $_2077065310= Block::add(array( ___29363097(222) => $_393048248, ___29363097(223) => $_760842226[___29363097(224)], ___29363097(225) => $_760842226[___29363097(226)], ___29363097(227) => $_760842226[___29363097(228)]?: ___29363097(229). $_1477635076, ___29363097(230) => $_760842226[___29363097(231)], ___29363097(232) => $_760842226[___29363097(233)], ___29363097(234) => $_760842226[___29363097(235)], ___29363097(236) => $_760842226[___29363097(237)], ___29363097(238) => $_760842226[___29363097(239)], ___29363097(240) => $_760842226[___29363097(241)], ___29363097(242) => $_760842226[___29363097(243)], ___29363097(244) => $_760842226[___29363097(245)])); if($_2077065310->isSuccess()){ $_1238814928= $_2077065310->getId(); $_2077065310= Block::update($_1477635076, array( ___29363097(246) => $_1238814928)); $_2077065310->isSuccess(); File::addToBlock( $_1238814928, File::getFilesFromBlockContent( $_1477635076, $_760842226[___29363097(247)]));}} if($_1238814928){ $_1089040012= new Block($_1238814928); Assets\PreProcessing::blockPublicationProcessing($_1089040012); $_760842226[___29363097(248)]= $_1089040012->getContent(); unset($_1089040012);} if($GLOBALS['____1979065141'][24]($_964369138, $_760842226[___29363097(249)])){ $_494311547[$_1238814928]= $_760842226[___29363097(250)];} $_246644721[$_1477635076]= $_1238814928; unset($_1798844382[$_1477635076]);}} foreach($_1798844382 as $_1477635076 => $_760842226){ $_2077065310= Block::delete($_1477635076); $_2077065310->isSuccess();} foreach($_494311547 as $_1477635076 => $_1438551757){ $_1438551757= $GLOBALS['____1979065141'][25]( $_964369138, function($_1040149141) use($_246644721){ if(isset($_246644721[$_1040149141[round(0+0.66666666666667+0.66666666666667+0.66666666666667)]])){ return $_1040149141[round(0+0.25+0.25+0.25+0.25)]. ___29363097(251). $_246644721[$_1040149141[round(0+0.5+0.5+0.5+0.5)]]. $_1040149141[round(0+3)];} else{ return $_1040149141[round(0+0.2+0.2+0.2+0.2+0.2)]. ___29363097(252). $_1040149141[round(0+0.66666666666667+0.66666666666667+0.66666666666667)]. $_1040149141[round(0+0.6+0.6+0.6+0.6+0.6)];}}, $_1438551757); $_2077065310= Block::update($_1477635076, array( ___29363097(253) => $_1438551757)); $_2077065310->isSuccess();}}}}?>
static checkSiteVerification(int $_1798975350, Error $_268582848)
Definition mutator.php:1
static loadMessages($file)
Definition loc.php:64
static getMessage($code, $replace=null, $language=null)
Definition loc.php:29
$GLOBALS['____1979065141']
Definition mutator.php:1
if(!function_exists(__NAMESPACE__.'\\___29363097'))
Definition mutator.php:1