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 $GLOBALS['_____1729808644'] = array("IncludeModuleLangFile"); $GLOBALS['____1896..

Decoded Output download

<?php 
 
$GLOBALS['_____1729808644'] = array("IncludeModuleLangFile"); 
$GLOBALS['____1896404214'] = array("define", "strrev", "strtoupper", "sprintf", "sprintf", "substr", "strrev", "base64_decode", "substr", "strlen", "strlen", "chr", "ord", "ord", "mktime", "intval", "intval", "intval", "ksort", "substr", "implode", "defined", "base64_decode", "constant", "strrev", "sprintf", "strlen", "strlen", "chr", "ord", "ord", "mktime", "intval", "intval", "intval", "substr", "substr", "time", "mktime", "mktime", "date", "date", "define", "define", "is_array", "trim", "explode", "array_map", "trim", "in_array", "microtime", "is_array", "array_merge", "intval", "is_array", "is_array", "is_array", "implode", "is_array", "count", "implode", "is_array", "strip_tags", "htmlspecialchars_decode", "strip_tags", "htmlspecialchars_decode", "strlen", "intval", "str_replace", "str_replace", "str_replace", "htmlspecialchars_decode", "str_replace", "htmlspecialchars_decode", "preg_match_all", "is_array", "count", "array_merge", "array_unique", "explode", "str_replace", "count", "trim", "count", "str_replace", "preg_split", "explode", "str_replace", "implode", "explode", "count", "explode", "preg_match", "count", "count", "count", "preg_match", "implode", "file_exists", "md5", "filemtime", "explode", "file_get_contents", "is_array", "explode", "trim", "trim", "explode", "str_replace", "trim", "explode", "count", "count", "explode", "preg_match", "str_replace", "file_exists", "md5", "filemtime", "explode", "file_get_contents", "is_array", "explode", "explode", "trim", "count", "explode", "str_replace", "trim", "defined", "defined", "preg_replace", "str_replace", "explode", "preg_replace", "in_array", "trim", "implode", "is_array", "explode", "in_array", "in_array", "implode", "is_array", "explode", "trim", "is_array", "count", "preg_match", "str_replace", "md5", "is_array", "count", "is_array", "count", "count", "implode", "md5", "array_keys", "microtime", "is_array", "count", "is_array", "implode", "is_array", "explode", "count", "md5", "implode", "implode", "array_keys", "microtime", "round", "count", "count", "array_merge", "count", "implode", "count", "count", "implode", "array_values", "array_unique", "md5", "microtime", "preg_match", "function_exists", "min", "round", "microtime", "array_search", "round", "microtime", "array_unique", "round", "microtime", "preg_match", "levenshtein", "similar_text", "levenshtein", "usort", "round", "microtime", "count", "arsort", "str_replace", "round", "microtime", "is_array", "count", "is_array", "implode", "explode", "preg_replace", "trim", "count", "implode", "count", "count", "array_merge", "count", "count", "array_values", "array_merge", "count", "array_merge", "explode", "str_replace", "sort", "implode", "md5", "md5", "explode", "preg_match", "str_replace", "in_array", "defined", "strlen"); 
if (!function_exists("\\___2051831914")) { 
    function ___2051831914($_158845773) 
    { 
        static $_480678321 = false; 
        if ($_480678321 == false) { 
            $_480678321 = array('ZXhwaXJlX21lc3NfY3VzdG9tMg==', 'YXJ0dXJnb2x1YmV2X3NtYXJ0c2VhcmNoXw==', 'b21lZA==', 'WQ==', 'ZHJtX3N0ZXJnb2tj', 'JTAxMHMK', 'dXJnb2x1', 'YXJ0dXJnb2x1YmV2LnNtYXJ0c2VhcmNo', 'JXMlcw==', 'fmJz', 'ZXRhZF9wbw==', 'YWRtaW4=', 'bW9kdWxlcw==', 'dXNlcl9kYXRlX2JzbS5waHA=', 'YXJ0dXJnb2x1YmV2LnNtYXJ0c2VhcmNo', 'Yml0cml4', 'Ukh1cmdvbHU=', 'Yzc4MjUwNTdjYjloeXRvcw==', '', 'Zjk4', 'MzM4MjIzNzg0NTE3M2FjMDkz', 'MGRmNjg4Yw==', 'aHR0cDovL2JpdHJpeHNvZnQuY29tL2JpdHJpeC9icy5waHA=', 'YXJ0', 'YmV2X3NtYXJ0c2VhcmNoX09MRFNJVEVFWFBJUkVEQVRFUw==', 'RE9DVU1FTlRfUk9PVA==', 'Lw==', 'Lw==', 'YXJ0dXJnb2x1YmV2X3NtYXJ0c2VhcmNoX1RFTVBPUkFSWV9DQUNIRQ==', 'YXJ0dXJnb2x1YmV2X3NtYXJ0c2VhcmNoX1RFTVBPUkFSWV9DQUNIRQ==', '', 'NDZmYTY=', 'JXMlcw==', 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9kdWN0', 'WQ==', 'ZXhjbHVkZV9ieV9hdmFpbGFibGU=', 'ZXhjbHVkZV9ieV9hdmFpbGFibGU=', 'WQ==', 'ZXhjbHVkZV9ieV9xdWFudGl0eQ==', 'ZXhjbHVkZV9ieV9xdWFudGl0eQ==', 'WQ==', 'dXNlX3Nlb190aXRsZQ==', 'dXNlX3Nlb190aXRsZQ==', 'WQ==', 'dGFncw==', 'VEFHUw==', '', 'VEFHUw==', '', 'VElUTEU=', 'aXNfc2VjdGlvbg==', 'SVRFTV9JRA==', 'dXNlX3Nlb190aXRsZQ==', 'UEFSQU0y', 'U0VDVElPTl9QQUdFX1RJVExF', 'U0VDVElPTl9QQUdFX1RJVExF', 'IA==', 'UEFSQU1T', 'Y2F0YWxvZ19hdmFpbGFibGU=', 'WQ==', 'aWRfaW5jbHVkZQ==', 'IA==', 'cHJvcHM=', 'cmVpbmRleF9jYWNoZQ==', 'c2VhcmNoYWJsZV9maWVsZHNf', 'UEFSQU0y', 'RklFTERfTkFNRQ==', 'QVND', 'RU5USVRZX0lE', 'SUJMT0NLXw==', 'UEFSQU0y', 'X1NFQ1RJT04=', 'SVNfU0VBUkNIQUJMRQ==', 'WQ==', 'RklFTERfTkFNRQ==', 'cmVpbmRleF9jYWNoZQ==', 'c2VhcmNoYWJsZV9maWVsZHNf', 'UEFSQU0y', 'SUJMT0NLX0lE', 'UEFSQU0y', 'SUQ=', 'SUQ=', 'TkFNRQ==', 'SUJMT0NLX0lE', 'IA==', 'c2VjdGlvbl9maW5kYnlfcGFyZW50', 'UEFSQU0y', 'SUQ=', 'TkFNRQ==', 'QUNUSVZF', 'SUQ=', 'IA==', 'TkFNRQ==', 'c2VjdGlvbl9maXJzdA==', 'Q1VTVE9NX1JBTks=', 'aXNfc3Vic2VjdGlvbg==', 'UEFSQU1T', 'Y2F0YWxvZ19hdmFpbGFibGU=', 'WQ==', 'c2VjdGlvbl9maXJzdA==', 'Q1VTVE9NX1JBTks=', 'SVRFTV9JRA==', 'dX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ZXhjbHVkZQ==', 'ZXhjbHVkZQ==', 'bmFtZV9wYXRo', 'bmFtZV9wYXRo', 'd2VpZ2h0', 'd2VpZ2h0', 'd2VpZ2h0', 'd2VpZ2h0', 'aWJsb2Nr', 'dXNlX3Nlb190aXRsZQ==', 'WQ==', 'Uw==', 'Uw==', '', 'Uw==', '', 'SUQ=', 'SUQ=', 'TkFNRQ==', 'SUJMT0NLX0lE', 'SUJMT0NLX0lE', 'SUQ=', 'RUxFTUVOVF9QQUdFX1RJVExF', 'TkFNRQ==', 'RUxFTUVOVF9QQUdFX1RJVExF', 'TkFNRQ==', 'Jm5ic3A7', 'IA==', 'TkFNRQ==', 'SUQ=', 'SUQ=', 'SUQ=', 'TkFNRQ==', 'TkFNRQ==', 'SUQ=', 'SUQ=', 'TkFNRQ==', 'SUJMT0NLX0lE', 'SUJMT0NLX0lE', 'SUQ=', 'U0VDVElPTl9QQUdFX1RJVExF', 'TkFNRQ==', 'U0VDVElPTl9QQUdFX1RJVExF', 'TkFNRQ==', 'Jm5ic3A7', 'IA==', 'TkFNRQ==', 'Uw==', 'SUQ=', 'SUQ=', 'SUQ=', 'TkFNRQ==', 'TkFNRQ==', 'L1w8Ylw+KC4qKVw8XC9iXD4vVXNp', 'IA==', 'Cg==', 'IA==', 'PGI+', 'PC9iPg==', 'IyM=', 'IA==', 'IA==', 'IA==', 'IA==', 'IA==', 'bWFueQ==', 'bWFueQ==', 'IA==', 'cmVndWxhcg==', 'L14=', 'JC8=', 'd29yZA==', 'b25l', 'b25l', 'cmVndWxhcg==', 'L14=', 'JC8=', 'd29yZA==', 'd29yZA==', 'IA==', 'RE9DVU1FTlRfUk9PVA==', 'YWdfc21hcnRzZWFyY2hfcnVsZXNf', 'Lw==', 'L2FnX3NtYXJ0c2VhcmNoXw==', 'L3J1bGVz', 'cnVsZXM=', 'fHw=', 'fA==', 'Lg==', 'Kg==', 'XC4=', 'Lio=', 'IA==', 'bWFueQ==', 'cmVndWxhcg==', 'Kg==', 'd29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'U2ltaWxhcml0eSBXb3JkcyA=', 'IA==', 'Y2FjaGU=', 'ZGlzYWJsZV9jYWNoZQ==', 'WQ==', 'd29yZA==', 'dHJhbnM=', 'dHlwZQ==', 'd29yZHNjb3VudA==', 'bW9kZQ==', 'ZW5naW5l', 'ZW5naW5l', 'ZmlsdGVyX21hcA==', 'ZmlsdGVyX21hcA==', 'IA==', 'IA==', 'dHlwZQ==', 'Xw==', 'd29yZA==', 'Xw==', 'bW9kZQ==', 'ZmlsdGVyX21hcA==', 'Lw==', 'L2FnX3NtYXJ0c2VhcmNoXw==', 'L3dvcmRzXw==', 'dHlwZQ==', 'Lw==', 'dHJhbnM=', 'Y2FjaGU=', 'ZnJvbQ==', 'Y2FjaGU=', 'cmVzdWx0cw==', 'ZW5naW5l', 'c3BoaW54', 'Kg==', 'Ig==', 'ZnJvbQ==', 'Z2V0', 'ZXh0ZW5kZWRfbW9kZQ==', 'bW9kZQ==', 'c3RhbmRhcnQ=', 'bWV0YXBob25lX21vZGU=', 'bW9kZV9tZXRhcGhvbmU=', 'Tg==', 'c3RyaXBvc19tb2Rl', 'ZXh0ZW5kZWRfbW9kZQ==', 'dHlwZQ==', 'ZnVsbA==', 'aXNfbnVt', 'L1tcZF0rL2k=', 'dHJhbnM=', 'aXNfbnVt', 'ZXh0ZW5kZWRfbW9kZQ==', 'c3RlbW1pbmc=', 'c3RlbW1pbmdfZnVsbA==', 'd29yZA==', 'c3RlbW1pbmdfZnVsbA==', 'c3RlbW1pbmdfZnVsbA==', 'd29yZF9zdGVtbWluZw==', 'd29yZF9sZW4=', 'dHJhbnM=', 'd29yZA==', 'd29yZF9sZW4=', 'd29yZF9sZW5fY2hlY2s=', 'd29yZF9sZW4=', 'd29yZF9sZW5fY2hlY2s=', 'd29yZF9sZW5fY2hlY2s=', 'cHJlcGFyZQ==', 'dHJhbnM=', 'd29yZHNjb3VudA==', 'd29yZF9zdGVtbWluZw==', 'd29yZA==', 'd29yZF9zdGVtbWluZw==', 'dHlwZQ==', 'dGl0bGU=', 'dHlwZQ==', 'ZnVsbA==', 'ZXh0ZW5kZWRfbW9kZQ==', 'bWV0YXBob25lX21vZGU=', 'c3RyaXBvc19tb2Rl', 'a2V5c2VhcmNo', 'c3RyaXBvc19tb2Rl', 'd29yZF9sZW4=', 'c3RyaXBvc19zdGVtbWluZw==', 'd29yZF9zdGVtbWluZw==', 'd29yZF9zdGVtbWluZw==', 'd29yZA==', 'c3RyaXBvc19zdGVtbWluZw==', 'ZXh0ZW5kZWRfbW9kZQ==', 'ZXh0ZW5kZWRfbW9kZQ==', 'dHlwZQ==', 'dGl0bGU=', 'c3RyaXBvc19zdGVtbWluZw==', 'c3RyaXBvc19zdGVtbWluZw==', 'c3RyaXBvcw==', 'aXNfbnVt', 'bWV0YXBob25lX21vZGU=', 'd29yZF9sZW4=', 'L1tcZF0rL2k=', 'dHJhbnM=', 'd29yZF9sZW5fY2hlY2s=', 'd29yZA==', 'd29yZA==', 'd29yZA==', 'c2ltaWxhcml0eQ==', 'c2ltaWxhcml0eV9y', 'c2ltaWxhcml0eV9ybA==', 'Q0FydHVyZ29sdWJldlNtYXJ0c2VhcmNo', 'Y21wU2ltaWxhcml0eVNvcnQ=', 'd29yZA==', 'bWV0YXBob25l', '', 'd29yZA==', 'IA==', '', 'ZXhwbG9kZQ==', 'cmVzdWx0cw==', 'ZmlsdGVyX21hcA==', '', 'ZmlsdGVy', 'ZmlsdGVy', 'ZmlsdGVy', 'TU9EVUxFX0lE', 'ZmlsdGVyX21hcA==', 'TU9EVUxFX0lE', 'Xw==', 'UEFSQU0x', 'ZmlsdGVyX21hcA==', 'UEFSQU0x', 'Og==', 'UEFSQU0y', 'ZmlsdGVyX21hcA==', 'Xw==', 'UEFSQU0y', 'Xw==', 'cmVzdWx0', 'dmFyaWFudHM=', 'ZXJyb3I=', 'Y2ljbGU=', 'bWFpbl9hcnI=', 'IA==', 'LyhccyspL2k=', 'IA==', 'bWFpbl9hcnI=', 'ZW4=', 'cnU=', 'dmFyaWFudHM=', 'cnU=', 'cnU=', 'ZW4=', 'dmFyaWFudHM=', 'ZW4=', 'dmFyaWFudHM=', 'cnU=', 'dmFyaWFudHM=', 'ZW4=', 'cnU=', 'Lw==', 'L2FnX3NtYXJ0c2VhcmNoXw==', 'L2d1ZXNzX3dvcmQv', 'ZmluZA==', 'Y2ljbGU=', 'Y2ljbGU=', 'ZmluZA==', 'cmVzdWx0', 'cmVzdWx0', 'cmVzdWx0', 'IA==', 'cmVzdWx0', 'c2ltaWxhcml0eV9ybA==', 'c2ltaWxhcml0eV9ybA==', 'c2ltaWxhcml0eQ==', 'c2ltaWxhcml0eQ==', 'Xw==', 'Lw==', 'L2FnX3NtYXJ0c2VhcmNoXw==', 'L2VtcHR5bGluZXM=', 'ZW1wdHk=', 'WQ==', 'Lw==', 'L2FnX3NtYXJ0c2VhcmNoXw==', 'L2VtcHR5bGluZXM=', 'ZW1wdHk=', 'WQ==', 'IA==', 'L1tcZF0rL2k=', 'cw==', 'Yw==', 'cnU=', 'cnU=', 'YXJ0dXJnb2x1YmV2X3NtYXJ0c2VhcmNoX09MRFNJVEVFWFBJUkVEQVRF', 'ZXhwaXJlX21lc3NfY3VzdG9tMg=='); 
        } 
        return base64_decode($_480678321[$_158845773]); 
    } 
} 
$_483898439 = GetMessage(___2051831914(0)); 
$_1976906381 = 0; 
@$GLOBALS['____1896404214'][0](___2051831914(1) . $GLOBALS['____1896404214'][1]($GLOBALS['____1896404214'][2](___2051831914(2))), ___2051831914(3)); 
$_1018228996 = round(0.99999999999999); 
$_1328640362 = ___2051831914(4); 
unset($_970331780); 
$_1662207527 = $GLOBALS['____1896404214'][3](___2051831914(5), ___2051831914(6)); 
$_970331780 = \COption::GetOptionString(___2051831914(7), $GLOBALS['____1896404214'][4](___2051831914(8), ___2051831914(9), $GLOBALS['____1896404214'][5]($_1328640362, round(2), round(4))) . $GLOBALS['____1896404214'][6](___2051831914(10))); 
$_533660387 = array(round(17.0) => ___2051831914(11), round(7.0) => ___2051831914(12), round(22.0) => ___2051831914(13), round(12) => ___2051831914(14), round(3) => ___2051831914(15)); 
$_1899573039 = ___2051831914(16); 
while ($_970331780) { 
    $_261697619 = ___2051831914(17); 
    $_811987677 = $GLOBALS['____1896404214'][7]($_970331780); 
    $_953342767 = ___2051831914(18); 
    $_261697619 = $GLOBALS['____1896404214'][8](___2051831914(19) . $_261697619, 0, -round(5.0000000000001)) . ___2051831914(20); 
    $_372155795 = $GLOBALS['____1896404214'][9]($_261697619); 
    $_683996544 = 0; 
    for ($_383478750 = 0; $_383478750 < $GLOBALS['____1896404214'][10]($_811987677); $_383478750++) { 
        $_953342767 .= $GLOBALS['____1896404214'][11]($GLOBALS['____1896404214'][12]($_811987677[$_383478750]) ^ $GLOBALS['____1896404214'][13]($_261697619[$_683996544])); 
        if ($_683996544 == $_372155795 - round(1)) { 
            $_683996544 = 0; 
        } else { 
            $_683996544 += round(1.0); 
        } 
    } 
    $_1018228996 = $GLOBALS['____1896404214'][14](0, 0, 0, $GLOBALS['____1896404214'][15]($_953342767[round(6.0)] . $_953342767[round(3.0)]), $GLOBALS['____1896404214'][16]($_953342767[round(1.0)] . $_953342767[round(14)]), $GLOBALS['____1896404214'][17]($_953342767[round(9.999999999999901)] . $_953342767[round(18)] . $_953342767[round(6.9999999999999005)] . $_953342767[round(12)])); 
    unset($_261697619); 
    break; 
} 
$_412424829 = ___2051831914(21); 
$GLOBALS['____1896404214'][18]($_533660387); 
$_628496119 = ___2051831914(22); 
$_1899573039 = ___2051831914(23) . $GLOBALS['____1896404214'][19]($_1899573039 . ___2051831914(24), round(2.0), -round(1.0)); 
@(include $_SERVER[___2051831914(25)] . ___2051831914(26) . $GLOBALS['____1896404214'][20](___2051831914(27), $_533660387)); 
$_1322240314 = round(2); 
while ($GLOBALS['____1896404214'][21](___2051831914(28))) { 
    $_430296889 = $GLOBALS['____1896404214'][22]($GLOBALS['____1896404214'][23](___2051831914(29))); 
    $_302261129 = ___2051831914(30); 
    $_412424829 = $GLOBALS['____1896404214'][24](___2051831914(31)) . $GLOBALS['____1896404214'][25](___2051831914(32), $_412424829, ___2051831914(33)); 
    $_506982998 = $GLOBALS['____1896404214'][26]($_412424829); 
    $_683996544 = min(132, 0, 44); 
    for ($_383478750 = 0; $_383478750 < $GLOBALS['____1896404214'][27]($_430296889); $_383478750++) { 
        $_302261129 .= $GLOBALS['____1896404214'][28]($GLOBALS['____1896404214'][29]($_430296889[$_383478750]) ^ $GLOBALS['____1896404214'][30]($_412424829[$_683996544])); 
        if ($_683996544 == $_506982998 - round(1)) { 
            $_683996544 = 0; 
        } else { 
            $_683996544 += round(0.99999999999999); 
        } 
    } 
    $_1322240314 = $GLOBALS['____1896404214'][31](0, 0, min(106, 0, 35.333333333333), $GLOBALS['____1896404214'][32]($_302261129[round(6.0)] . $_302261129[round(15.9999999999999)]), $GLOBALS['____1896404214'][33]($_302261129[round(9.0)] . $_302261129[round(2)]), $GLOBALS['____1896404214'][34]($_302261129[round(12)] . $_302261129[round(7.0)] . $_302261129[round(14.0)] . $_302261129[round(3)])); 
    unset($_412424829); 
    break; 
} 
$_1662207527 = ___2051831914(34) . $GLOBALS['____1896404214'][35]($GLOBALS['____1896404214'][36]($_1662207527, round(3), -round(1.0)) . ___2051831914(35), round(1.0), -round(5.0000000000001)); 
for ($_383478750 = 0, $_1806787040 = $GLOBALS['____1896404214'][37]() < $GLOBALS['____1896404214'][38](0, min(100, 0, 33.333333333333), min(150, 0, 50), round(5), round(1.0), round(2010)) || $_1018228996 <= round(10), $_1398943198 = $_1018228996 < $GLOBALS['____1896404214'][39](min(132, 0, 44), 0, 0, Date(___2051831914(36)), $GLOBALS['____1896404214'][40](___2051831914(37)) - $_1976906381, $GLOBALS['____1896404214'][41](___2051831914(38))); $_383478750 < round(10), $_1806787040 || $_1398943198 || $_1018228996 != $_1322240314; $_383478750++) { 
    return false; 
} 
$GLOBALS['____1896404214'][42]($_1899573039, $_1018228996); 
$GLOBALS['____1896404214'][43]($_1662207527, $_1322240314); 
$GLOBALS[___2051831914(39)] = arturgolubev_smartsearch_OLDSITEEXPIREDATE; 
use Bitrix\Main\Loader; 
use Bitrix\Main\Localization\Loc; 
use Arturgolubev\Smartsearch\Hl; 
use Arturgolubev\Smartsearch\Tools as Tools; 
use Arturgolubev\Smartsearch\Unitools as UTools; 
use Arturgolubev\Smartsearch\Encoding; 
CModule::AddAutoloadClasses(___2051831914(40), array(___2051831914(41) => ___2051831914(42), ___2051831914(43) => ___2051831914(44), ___2051831914(45) => ___2051831914(46), ___2051831914(47) => ___2051831914(48))); 
$GLOBALS['_____1729808644'][0]($_SERVER[___2051831914(49)] . ___2051831914(50)); 
include ___2051831914(51); 
include ___2051831914(52); 
class CArturgolubevSmartsearch 
{ 
    const MODULE_ID = 'arturgolubev.smartsearch'; 
    public $MODULE_ID = 'arturgolubev.smartsearch'; 
    const RULES_FILE = '/bitrix/tools/arturgolubev.smartsearch/rules.txt'; 
    const REDIRECT_FILE = '/bitrix/tools/arturgolubev.smartsearch/redirect_SITE_ID.txt'; 
    const CACHE_TIME = 86400; 
    const CACHE_VERSION = 'v502'; 
    static function iblockLinkPropHandler($_1069084843, $_855499105, $_886507244) 
    { 
        if ($_1069084843["MODULE_ID"] == 'iblock' && $_1069084843["TITLE"] && $_1069084843["ITEM_ID"]) { 
            if ($_1069084843["PARAM2"] == $_855499105 && !empty($_886507244) && Encoding::exSubstr($_1069084843["ITEM_ID"], 0, 1) != "S" && Loader::includeModule("iblock")) { 
                foreach ($_886507244 as $_616805822) { 
                    $_1433366710 = CIBlockElement::GetProperty($_1069084843["PARAM2"], $_1069084843["ITEM_ID"], array("sort" => "asc"), array("ID" => $_616805822)); 
                    while ($_1155961804 = $_1433366710->Fetch()) { 
                        if ($_1155961804[___2051831914(53)] == ___2051831914(54) && $_1155961804[___2051831914(55)]) { 
                            $_624930346 = CIBlockElement::GetList([], array(___2051831914(56) => $_1155961804[___2051831914(57)]), false, array(___2051831914(58) => round(1.0)), array(___2051831914(59), ___2051831914(60))); 
                            while ($_534753546 = $_624930346->Fetch()) { 
                                $_1069084843[___2051831914(61)] .= ___2051831914(62) . $_534753546[___2051831914(63)]; 
                            } 
                        } 
                        if ($_1155961804[___2051831914(64)] == ___2051831914(65) && $_1155961804[___2051831914(66)]) { 
                            $_624930346 = CIBlockElement::GetList([], array(___2051831914(67) => $_1155961804[___2051831914(68)]), false, array(___2051831914(69) => round(1.0)), array(___2051831914(70), ___2051831914(71))); 
                            while ($_534753546 = $_624930346->Fetch()) { 
                                $_1069084843[___2051831914(72)] .= ___2051831914(73) . $_534753546[___2051831914(74)]; 
                            } 
                        } 
                    } 
                } 
            } 
        } 
        return $_1069084843; 
    } 
    static function onProductChange(\Bitrix\Main\Entity\Event $_58836178) 
    { 
        $_1603254431 = $_58836178->getParameter("id"); 
        if (Loader::includeModule(self::MODULE_ID) && IntVal($_1603254431[___2051831914(75)]) > 0 && Loader::includeModule(___2051831914(76))) { 
            CIBlockElement::UpdateSearch($_1603254431[___2051831914(77)], true); 
        } 
    } 
    static function checkIbSectionActive($_1578106803, $_1637168817) 
    { 
        $_1361639245 = UTools::getStorage('section_cache', 'section_' . $_1637168817); 
        if (!$GLOBALS['____1896404214'][44]($_1361639245)) { 
            $_1361639245 = [___2051831914(78) => $_1637168817, ___2051831914(79) => ___2051831914(80), ___2051831914(81) => []]; 
            $_1800434227 = CIBlockSection::GetNavChain($_1578106803, $_1637168817, array(___2051831914(82), ___2051831914(83)), true); 
            foreach ($_1800434227 as $_1726513942) { 
                if ($_1726513942[___2051831914(84)] == ___2051831914(85)) { 
                    $_1361639245[___2051831914(86)] = ___2051831914(87); 
                } 
            } 
            UTools::setStorage(___2051831914(88), ___2051831914(89) . $_1637168817, $_1361639245); 
        } 
        return $_1361639245; 
    } 
    static function onIndexHandler($_1069084843) 
    { 
        $_285437414 = $GLOBALS['____1896404214'][45](UTools::getSetting("exclude_by_module")); 
        if ($_285437414 && $_1069084843[___2051831914(90)] && $_1069084843[___2051831914(91)] && $_1069084843[___2051831914(92)]) { 
            $_1371070995 = $GLOBALS['____1896404214'][46](___2051831914(93), $_285437414); 
            $_1371070995 = $GLOBALS['____1896404214'][47](function ($_750799623) { 
                return $GLOBALS['____1896404214'][48]($_750799623); 
            }, $_1371070995); 
            if ($GLOBALS['____1896404214'][49]($_1069084843[___2051831914(94)], $_1371070995)) { 
                $_1069084843[___2051831914(95)] = ___2051831914(96); 
                $_1069084843[___2051831914(97)] = ___2051831914(98); 
                $_1069084843[___2051831914(99)] = ___2051831914(100); 
            } 
        } 
        $_2138519099 = $GLOBALS['____1896404214'][50](true); 
        if ($_1069084843[___2051831914(101)] == ___2051831914(102) && $_1069084843[___2051831914(103)] && $_1069084843[___2051831914(104)]) { 
            $_1069084843[___2051831914(105)] = min(22, 0, 7.3333333333333); 
            $_1112276827 = 0; 
            $_1714194773 = array(___2051831914(106) => Encoding::exSubstr($_1069084843[___2051831914(107)], min(242, 0, 80.666666666667), round(1.0)) == ___2051831914(108), ___2051831914(109) => Encoding::exSubstr($_1069084843[___2051831914(110)], 0, round(9)) == ___2051831914(111), ___2051831914(112) => UTools::getSetting(___2051831914(113)) != ___2051831914(114), ___2051831914(115) => UTools::getSetting(___2051831914(116)) == ___2051831914(117) ? round(1.0) : 0, ___2051831914(118) => UTools::getSetting(___2051831914(119)) == ___2051831914(120) ? round(1.0) : 0, ___2051831914(121) => UTools::getSetting(___2051831914(122)) == ___2051831914(123) ? round(1.0) : 0, ___2051831914(124) => UTools::getSetting(___2051831914(125)) == ___2051831914(126) ? round(1.0) : 0, ___2051831914(127) => UTools::getSetting(___2051831914(128)) == ___2051831914(129) ? round(1.0) : min(142, 0, 47.333333333333), ___2051831914(130) => UTools::getSetting(___2051831914(131)) == ___2051831914(132) ? round(1) : min(74, 0, 24.666666666667), ___2051831914(133) => UTools::getSetting(___2051831914(134)) == ___2051831914(135) ? round(1) : 0, ___2051831914(136) => UTools::getSetting(___2051831914(137)) == ___2051831914(138) ? round(1.0) : 0, ___2051831914(139) => UTools::getSetting(___2051831914(140)) == ___2051831914(141) ? round(1) : min(30, 0, 10), ___2051831914(142) => UTools::getSetting(___2051831914(143), ___2051831914(144)) == ___2051831914(145) ? round(0.99999999999999) : 0, ___2051831914(146) => UTools::getSetting(___2051831914(147)) == ___2051831914(148), ___2051831914(149) => UTools::getSetting(___2051831914(150)) == ___2051831914(151), ___2051831914(152) => UTools::getSetting(___2051831914(153)) == ___2051831914(154), ___2051831914(155) => UTools::getSetting(___2051831914(156)) == ___2051831914(157), ___2051831914(158) => UTools::getSetting(___2051831914(159)) == ___2051831914(160), ___2051831914(161) => UTools::getSetting(___2051831914(162)) == ___2051831914(163)); 
            if (!$_1714194773[___2051831914(164)] && $_1069084843[___2051831914(165)] != ___2051831914(166)) { 
                $_1069084843[___2051831914(167)] = ___2051831914(168); 
            } 
            $_1898450267 = $_1069084843[___2051831914(169)]; 
            if ($_1714194773[___2051831914(170)]) { 
                $_101115418 = Encoding::exSubstr($_1069084843[___2051831914(171)], round(0.99999999999999)); 
                if ($_1714194773[___2051831914(172)]) { 
                    $_1389352962 = new \Bitrix\Iblock\InheritedProperty\SectionValues($_1069084843[___2051831914(173)], $_101115418); 
                    $_125133661 = $_1389352962->getValues(); 
                    if ($_125133661[___2051831914(174)]) { 
                        $_1898450267 = $_125133661[___2051831914(175)] . ___2051831914(176) . $_1898450267; 
                    } 
                } 
                $_1069084843[___2051831914(177)][___2051831914(178)] = ___2051831914(179); 
                if ($_1714194773[___2051831914(180)]) { 
                    $_1898450267 .= ___2051831914(181) . $_101115418; 
                } 
                if ($_1714194773[___2051831914(182)]) { 
                    $_294709360 = UTools::getStorage(___2051831914(183), ___2051831914(184) . $_1069084843[___2051831914(185)]); 
                    if (!$GLOBALS['____1896404214'][51]($_294709360)) { 
                        $_294709360 = []; 
                        $_1555307494 = CUserTypeEntity::GetList(array(___2051831914(186) => ___2051831914(187)), array(___2051831914(188) => ___2051831914(189) . $_1069084843[___2051831914(190)] . ___2051831914(191), ___2051831914(192) => ___2051831914(193))); 
                        while ($_1927511793 = $_1555307494->Fetch()) { 
                            $_294709360[] = $_1927511793[___2051831914(194)]; 
                        } 
                        UTools::setStorage(___2051831914(195), ___2051831914(196) . $_1069084843[___2051831914(197)], $_294709360); 
                    } 
                    if (!empty($_294709360)) { 
                        $_752790360 = array(___2051831914(198) => $_1069084843[___2051831914(199)], ___2051831914(200) => $_101115418); 
                        $_711792682 = CIBlockSection::GetList(array($_164526973 => $_1094267628), $_752790360, false, $GLOBALS['____1896404214'][52]($_294709360, array(___2051831914(201), ___2051831914(202), ___2051831914(203)))); 
                        while ($_214584272 = $_711792682->GetNext()) { 
                            foreach ($_294709360 as $_1456166566) { 
                                if ($_214584272[$_1456166566]) { 
                                    $_1898450267 .= ___2051831914(204) . $_214584272[$_1456166566]; 
                                } 
                            } 
                        } 
                    } 
                } 
                if ($_1714194773[___2051831914(205)]) { 
                    $_1800434227 = CIBlockSection::GetNavChain($_1069084843[___2051831914(206)], $_101115418, array(___2051831914(207), ___2051831914(208), ___2051831914(209)), true); 
                    foreach ($_1800434227 as $_1726513942) { 
                        if ($_1726513942[___2051831914(210)] != $_101115418) { 
                            $_1898450267 .= ___2051831914(211) . $_1726513942[___2051831914(212)]; 
                        } 
                    } 
                } 
                if ($_1714194773[___2051831914(213)]) { 
                    $_1069084843[___2051831914(214)] = round(20000.0000000001); 
                } 
            } elseif ($_1714194773[___2051831914(215)]) { 
                $_1069084843[___2051831914(216)][___2051831914(217)] = ___2051831914(218); 
                if ($_1714194773[___2051831914(219)]) { 
                    $_1069084843[___2051831914(220)] = round(17500); 
                } 
            } elseif ($GLOBALS['____1896404214'][53]($_1069084843[___2051831914(221)])) { 
                if ($_1714194773[___2051831914(222)]) { 
                    $_1389352962 = new \Bitrix\Iblock\InheritedProperty\ElementValues($_1069084843[___2051831914(223)], $_1069084843[___2051831914(224)]); 
                    $_125133661 = $_1389352962->getValues(); 
                    if ($_125133661[___2051831914(225)]) { 
                        $_1898450267 = $_125133661[___2051831914(226)] . ___2051831914(227) . $_1898450267; 
                    } 
                } 
                $_1859534688 = array(___2051831914(228), ___2051831914(229), ___2051831914(230), ___2051831914(231)); 
                $_788117859 = array(___2051831914(232) => $_1069084843[___2051831914(233)], ___2051831914(234) => $_1069084843[___2051831914(235)]); 
                if ($_1714194773[___2051831914(236)]) { 
                    $_1898450267 .= ___2051831914(237) . $_1069084843[___2051831914(238)]; 
                } 
                if ($_1714194773[___2051831914(239)] && $_1069084843[___2051831914(240)] != ___2051831914(241)) { 
                    $_1898450267 .= ___2051831914(242) . $_1069084843[___2051831914(243)]; 
                } 
                if ($_1714194773[___2051831914(244)]) { 
                    $_1417891494 = UTools::getStorage(___2051831914(245), ___2051831914(246) . $_1069084843[___2051831914(247)]); 
                    if (!$GLOBALS['____1896404214'][54]($_1417891494)) { 
                        $_1417891494 = []; 
                        $_1704928403 = CIBlockProperty::GetList(array(___2051831914(248) => ___2051831914(249)), array(___2051831914(250) => ___2051831914(251), ___2051831914(252) => ___2051831914(253), ___2051831914(254) => $_1069084843[___2051831914(255)])); 
                        while ($_1276358259 = $_1704928403->GetNext()) { 
                            $_1417891494[] = $_1276358259; 
                        } 
                        UTools::setStorage(___2051831914(256), ___2051831914(257) . $_1069084843[___2051831914(258)], $_1417891494); 
                    } 
                } 
                if (Loader::includeModule(___2051831914(259))) { 
                    $_1859534688[] = ___2051831914(260); 
                    $_1859534688[] = ___2051831914(261); 
                } 
                if ($_1714194773[___2051831914(262)]) { 
                    $_1859534688[] = ___2051831914(263); 
                    $_1859534688[] = ___2051831914(264); 
                } 
                if (true) { 
                    $_624930346 = CIBlockElement::GetList([], $_788117859, false, array(___2051831914(265) => round(1)), $_1859534688); 
                    if ($_695242851 = $_624930346->GetNextElement()) { 
                        $_794513865 = $_695242851->GetFields(); 
                        $_2085094097 = $_695242851->GetProperties(); 
                        if ($_1714194773[___2051831914(266)] && !$_794513865[___2051831914(267)] && $_794513865[___2051831914(268)] != round(4)) { 
                            $_1112276827 = round(1.0); 
                            $_1068267691 = ___2051831914(269); 
                        } 
                        if (!$_1112276827 && $GLOBALS['____1896404214'][55]($_2085094097[___2051831914(270)]) && $_2085094097[___2051831914(271)][___2051831914(272)]) { 
                            if ($_1714194773[___2051831914(273)] || $_1714194773[___2051831914(274)]) { 
                                $_1729008442 = CIBlockElement::GetList([], array(___2051831914(275) => $_2085094097[___2051831914(276)][___2051831914(277)]), false, array(___2051831914(278) => round(1.0)), array(___2051831914(279), ___2051831914(280), ___2051831914(281), ___2051831914(282))); 
                                if ($_1059610796 = $_1729008442->Fetch()) { 
                                    if ($_1714194773[___2051831914(283)] && $_1059610796[___2051831914(284)] == ___2051831914(285)) { 
                                        $_1112276827 = round(1.0); 
                                        $_1068267691 = ___2051831914(286); 
                                    } 
                                    if (!$_1112276827 && $_1714194773[___2051831914(287)] && $_1059610796[___2051831914(288)]) { 
                                        $_897424182 = self::checkIbSectionActive($_1059610796[___2051831914(289)], $_1059610796[___2051831914(290)]); 
                                        if ($_897424182[___2051831914(291)] == ___2051831914(292)) { 
                                            $_1112276827 = round(1.0); 
                                            $_1068267691 = ___2051831914(293); 
                                        } 
                                    } 
                                } 
                            } 
                        } 
                        if ($_794513865[___2051831914(294)]) { 
                            if ($_1714194773[___2051831914(295)] && $_794513865[___2051831914(296)] == ___2051831914(297)) { 
                                $_1112276827 = round(1); 
                                $_1068267691 = ___2051831914(298); 
                            } 
                            if ($_1714194773[___2051831914(299)] && $_794513865[___2051831914(300)] != round(3.0) && $_794513865[___2051831914(301)] < round(1.0)) { 
                                $_1112276827 = round(0.99999999999999); 
                                $_1068267691 = ___2051831914(302); 
                            } 
                        } 
                        $_1069084843[___2051831914(303)][___2051831914(304)] = $_794513865[___2051831914(305)] ? $_794513865[___2051831914(306)] : ___2051831914(307); 
                        if ($_794513865[___2051831914(308)]) { 
                            if ($_1714194773[___2051831914(309)] && $_794513865[___2051831914(310)] == ___2051831914(311)) { 
                                if ($_1714194773[___2051831914(312)] && $_794513865[___2051831914(313)] > 0) { 
                                    $_1069084843[___2051831914(314)] += round(10001.0); 
                                } else { 
                                    $_1069084843[___2051831914(315)] += round(10000); 
                                } 
                            } elseif ($_1714194773[___2051831914(316)] && $_794513865[___2051831914(317)] > 0) { 
                                $_1069084843[___2051831914(318)] += round(10000); 
                            } 
                        } 
                        if (!$_1112276827) { 
                            foreach ($_1417891494 as $_1009434105) { 
                                $_665612764 = $_2085094097[$_1009434105[___2051831914(319)]]; 
                                if (($_1009434105[___2051831914(320)] == ___2051831914(321) || $_1009434105[___2051831914(322)] == ___2051831914(323) || $_1009434105[___2051831914(324)] == ___2051831914(325)) && !$_1009434105[___2051831914(326)]) { 
                                    if ($GLOBALS['____1896404214'][56]($_665612764[___2051831914(327)]) && !empty($_665612764[___2051831914(328)])) { 
                                        $_1898450267 .= ___2051831914(329) . $GLOBALS['____1896404214'][57](___2051831914(330), $_665612764[___2051831914(331)]); 
                                    } elseif ($_665612764[___2051831914(332)] != ___2051831914(333)) { 
                                        $_1898450267 .= ___2051831914(334) . $_665612764[___2051831914(335)]; 
                                    } 
                                } elseif ($_1009434105[___2051831914(336)] == ___2051831914(337) && $_1009434105[___2051831914(338)] == ___2051831914(339)) { 
                                    $_1734481353 = $GLOBALS['____1896404214'][58]($_665612764[___2051831914(340)]) ? $_665612764[___2051831914(341)] : array($_665612764[___2051831914(342)]); 
                                    $_2035383880 = Hl::getPropValueField($_1009434105, $_1734481353); 
                                    if ($GLOBALS['____1896404214'][59]($_2035383880)) { 
                                        $_1898450267 .= ___2051831914(343) . $GLOBALS['____1896404214'][60](___2051831914(344), $_2035383880); 
                                    } 
                                } elseif ($_1009434105[___2051831914(345)] == ___2051831914(346) && $_1009434105[___2051831914(347)] == ___2051831914(348)) { 
                                    if ($GLOBALS['____1896404214'][61]($_665612764[___2051831914(349)]) && $_665612764[___2051831914(350)][___2051831914(351)]) { 
                                        $_1898450267 .= ___2051831914(352) . $_665612764[___2051831914(353)][___2051831914(354)]; 
                                    } 
                                } else { 
                                } 
                            } 
                        } 
                        if ($_1714194773[___2051831914(355)]) { 
                            if ($_794513865[___2051831914(356)] || $_794513865[___2051831914(357)]) { 
                                $_1069084843[___2051831914(358)] += round(0.99999999999999); 
                            } 
                        } 
                    } 
                } 
                if (!$_1112276827 && $_794513865[___2051831914(359)]) { 
                    $_238332113 = self::_getSectionsInfo($_794513865); 
                    if ($_1714194773[___2051831914(360)] && $_238332113[___2051831914(361)]) { 
                        $_1112276827 = round(1.0); 
                        $_1068267691 = ___2051831914(362); 
                    } 
                    if ($_1714194773[___2051831914(363)]) { 
                        $_1898450267 .= ___2051831914(364) . $_238332113[___2051831914(365)]; 
                    } 
                    $_1069084843[___2051831914(366)] += $_238332113[___2051831914(367)]; 
                } 
                if ($_1112276827) { 
                    $_1069084843[___2051831914(368)] = ___2051831914(369); 
                    $_1069084843[___2051831914(370)] = ___2051831914(371); 
                    $_1069084843[___2051831914(372)] = ___2051831914(373); 
                    return $_1069084843; 
                } 
            } 
            $_1069084843[___2051831914(374)] = $GLOBALS['____1896404214'][62]($GLOBALS['____1896404214'][63]($_1898450267)); 
            $_1069084843[___2051831914(375)] = self::checkReplaceSymbols($_1069084843[___2051831914(376)]); 
            $_1069084843[___2051831914(377)] = self::checkReplaceRules($_1069084843[___2051831914(378)]); 
            $_1069084843[___2051831914(379)] = self::prepareQuery($_1069084843[___2051831914(380)]); 
            $_1069084843[___2051831914(381)] = self::checkReplaceRules($_1069084843[___2051831914(382)]); 
            $_1069084843[___2051831914(383)] = self::clearExceptionsWords($_1069084843[___2051831914(384)]); 
            if ($_1714194773[___2051831914(385)]) { 
                $_1069084843[___2051831914(386)] = ___2051831914(387); 
            } else { 
                $_1069084843[___2051831914(388)] = $GLOBALS['____1896404214'][64]($GLOBALS['____1896404214'][65]($_1069084843[___2051831914(389)])); 
                $_1069084843[___2051831914(390)] = self::prepareQuery($_1069084843[___2051831914(391)]); 
                $_1069084843[___2051831914(392)] = self::clearExceptionsWords($_1069084843[___2051831914(393)]); 
            } 
        } 
        return $_1069084843; 
    } 
    static function _getSectionsInfo($_794513865) 
    { 
        $_238332113 = array('base_groups' => [], 'weight' => 0, 'name_path' => '', 'exclude' => 1); 
        $_406643809 = CIBlockElement::GetElementGroups($_794513865[___2051831914(394)], true, array(___2051831914(395))); 
        while ($_1759790107 = $_406643809->Fetch()) { 
            $_238332113[___2051831914(396)][] = $_1759790107[___2051831914(397)]; 
        } 
        foreach ($_238332113[___2051831914(398)] as $_1759790107) { 
            $_96157981 = UTools::getStorage(___2051831914(399), $_1759790107); 
            if (!isset($_96157981)) { 
                $_96157981 = []; 
                $_1800434227 = CIBlockSection::GetNavChain($_794513865[___2051831914(400)], $_1759790107, array(___2051831914(401), ___2051831914(402), ___2051831914(403)), true); 
                foreach ($_1800434227 as $_1726513942) { 
                    if ($_1726513942[___2051831914(404)] == ___2051831914(405)) { 
                        $_96157981[___2051831914(406)] = round(0.99999999999999); 
                    } 
                    $_96157981[___2051831914(407)] .= ___2051831914(408) . $_1726513942[___2051831914(409)]; 
                    $_1953003244 = CIBlockSection::GetList(array(___2051831914(410) => ___2051831914(411)), array(___2051831914(412) => $_794513865[___2051831914(413)], ___2051831914(414) => $_1726513942[___2051831914(415)]), false, array(___2051831914(416), ___2051831914(417), ___2051831914(418), ___2051831914(419))); 
                    if ($_1475227861 = $_1953003244->GetNext(false, false)) { 
                        if ($GLOBALS['____1896404214'][66]($_1475227861[___2051831914(420)]) > 0) { 
                            $_96157981[___2051831914(421)] = $GLOBALS['____1896404214'][67]($_1475227861[___2051831914(422)]); 
                        } 
                    } 
                } 
                UTools::setStorage(___2051831914(423), $_1759790107, $_96157981); 
            } 
            if (!$_96157981[___2051831914(424)]) { 
                $_238332113[___2051831914(425)] = 0; 
            } 
            $_238332113[___2051831914(426)] .= $_96157981[___2051831914(427)]; 
            if ($_238332113[___2051831914(428)] < $_96157981[___2051831914(429)]) { 
                $_238332113[___2051831914(430)] = $_96157981[___2051831914(431)]; 
            } 
        } 
        return $_238332113; 
    } 
    static function getProductIdByMixed($_213654330 = []) 
    { 
        return Tools::getProductIdByMixed($_213654330); 
    } 
    static function getRealElementsName($_1633664961) 
    { 
        $_1361639245 = []; 
        if (!Loader::includeModule(___2051831914(432)) || empty($_1633664961)) { 
            return array(); 
        } 
        $_959124873 = UTools::getSetting(___2051831914(433)) == ___2051831914(434); 
        $_1820480377 = []; 
        $_607503337 = []; 
        foreach ($_1633664961 as $_877318812) { 
            if (Encoding::exStrstr($_877318812, ___2051831914(435))) { 
                $_607503337[] = $GLOBALS['____1896404214'][68](___2051831914(436), ___2051831914(437), $_877318812); 
            } else { 
                $_1820480377[] = $GLOBALS['____1896404214'][69](___2051831914(438), ___2051831914(439), $_877318812); 
            } 
        } 
        if (!empty($_1820480377)) { 
            $_329016198 = CIBlockElement::GetList([], array(___2051831914(440) => $_1820480377), false, false, array(___2051831914(441), ___2051831914(442), ___2051831914(443))); 
            while ($_794513865 = $_329016198->Fetch()) { 
                if ($_959124873) { 
                    $_1389352962 = new \Bitrix\Iblock\InheritedProperty\ElementValues($_794513865[___2051831914(444)], $_794513865[___2051831914(445)]); 
                    $_125133661 = $_1389352962->getValues(); 
                    if ($_125133661[___2051831914(446)]) { 
                        $_794513865[___2051831914(447)] = $_125133661[___2051831914(448)]; 
                    } 
                } 
                $_794513865[___2051831914(449)] = $GLOBALS['____1896404214'][70](___2051831914(450), ___2051831914(451), $_794513865[___2051831914(452)]); 
                $_1361639245[$_794513865[___2051831914(453)]] = array(___2051831914(454) => $_794513865[___2051831914(455)], ___2051831914(456) => $GLOBALS['____1896404214'][71]($_794513865[___2051831914(457)])); 
            } 
        } 
        if (!empty($_607503337)) { 
            $_1953003244 = CIBlockSection::GetList(array($_164526973 => $_1094267628), array(___2051831914(458) => $_607503337), false, array(___2051831914(459), ___2051831914(460), ___2051831914(461))); 
            while ($_1132317197 = $_1953003244->GetNext()) { 
                if ($_959124873) { 
                    $_1389352962 = new \Bitrix\Iblock\InheritedProperty\SectionValues($_1132317197[___2051831914(462)], $_1132317197[___2051831914(463)]); 
                    $_125133661 = $_1389352962->getValues(); 
                    if ($_125133661[___2051831914(464)]) { 
                        $_1132317197[___2051831914(465)] = $_125133661[___2051831914(466)]; 
                    } 
                } 
                $_1132317197[___2051831914(467)] = $GLOBALS['____1896404214'][72](___2051831914(468), ___2051831914(469), $_1132317197[___2051831914(470)]); 
                $_1361639245[___2051831914(471) . $_1132317197[___2051831914(472)]] = array(___2051831914(473) => $_1132317197[___2051831914(474)], ___2051831914(475) => $GLOBALS['____1896404214'][73]($_1132317197[___2051831914(476)])); 
            } 
        } 
        return $_1361639245; 
    } 
    static function formatElementName($_1838718465, $_266087297) 
    { 
        $_1085207753 = UTools::getStorage('search_component', 'words'); 
        $GLOBALS['____1896404214'][74](___2051831914(477), $_1838718465, $_1652529387); 
        $_1792808229 = $_1652529387[round(1.0)]; 
        if ($GLOBALS['____1896404214'][75]($_1085207753) && $GLOBALS['____1896404214'][76]($_1085207753)) { 
            $_1792808229 = $GLOBALS['____1896404214'][77]($_1792808229, $_1085207753); 
            $_1792808229 = $GLOBALS['____1896404214'][78]($_1792808229); 
        } 
        if (!empty($_1792808229)) { 
            $_743665128 = []; 
            $_177544855 = []; 
            $_1306274641 = $GLOBALS['____1896404214'][79](___2051831914(478), $GLOBALS['____1896404214'][80](___2051831914(479), ___2051831914(480), $_266087297)); 
            if ($GLOBALS['____1896404214'][81]($_1306274641) > 0) { 
                foreach ($_1306274641 as $_1456166566) { 
                    foreach ($_1792808229 as $_1822508363) { 
                        $_1456166566 = $GLOBALS['____1896404214'][82]($_1456166566); 
                        if (!$_1456166566) { 
                            continue; 
                        } 
                        if (Encoding::exStripos(self::prepareQuery($_1456166566), $_1822508363) !== false) { 
                            $_743665128[] = $_1456166566; 
                            $_177544855[] = ___2051831914(481) . $_1456166566 . ___2051831914(482); 
                        } 
                    } 
                } 
                if ($GLOBALS['____1896404214'][83]($_743665128) > min(248, 0, 82.666666666667)) { 
                    $_266087297 = $GLOBALS['____1896404214'][84]($_743665128, $_177544855, $_266087297); 
                } 
            } 
        } 
        return $_266087297; 
    } 
    static function checkReplaceSymbols($_110927145) 
    { 
        $_568374845 = UTools::getSetting('break_letters'); 
        if ($_568374845) { 
            $_1616930539 = $GLOBALS['____1896404214'][85](___2051831914(483) . BX_UTF_PCRE_MODIFIER, $_568374845, -round(1.0), PREG_SPLIT_NO_EMPTY); 
            $_862559127 = $GLOBALS['____1896404214'][86](___2051831914(484), ToLower($_110927145)); 
            foreach ($_862559127 as $_683482569 => $_28025695) { 
                $_1631702420 = $GLOBALS['____1896404214'][87]($_1616930539, ___2051831914(485), $_28025695); 
                if ($_1631702420 != $_28025695) { 
                    $_862559127[$_683482569] = $_28025695 . ___2051831914(486) . $_1631702420; 
                } 
            } 
            return $GLOBALS['____1896404214'][88](___2051831914(487), $_862559127); 
        } else { 
            return $_110927145; 
        } 
    } 
    static function checkReplaceRules($_1907604790) 
    { 
        $_1496343122 = self::_getReplaceRules(); 
        $_862559127 = $GLOBALS['____1896404214'][89](___2051831914(488), ToLower($_1907604790)); 
        if ($GLOBALS['____1896404214'][90]($_1496343122[___2051831914(489)])) { 
            foreach ($_1496343122[___2051831914(490)] as $_594957665 => $_619261624) { 
                $_1851498813 = []; 
                $_224798562 = $GLOBALS['____1896404214'][91](___2051831914(491), $_594957665); 
                foreach ($_224798562 as $_1071905959) { 
                    foreach ($_862559127 as $_683482569 => $_28025695) { 
                        if ($_619261624[___2051831914(492)]) { 
                            if ($GLOBALS['____1896404214'][92](___2051831914(493) . $_1071905959 . ___2051831914(494), $_28025695)) { 
                                $_1851498813[] = $_683482569; 
                                break; 
                            } 
                        } else { 
                            if ($_1071905959 == $_28025695) { 
                                $_1851498813[] = $_683482569; 
                                break; 
                            } 
                        } 
                    } 
                } 
                if ($GLOBALS['____1896404214'][93]($_224798562) == $GLOBALS['____1896404214'][94]($_1851498813)) { 
                    foreach ($_1851498813 as $_683482569) { 
                        unset($_862559127[$_683482569]); 
                    } 
                    $_862559127[] = $_619261624[___2051831914(495)]; 
                } 
            } 
        } 
        if ($GLOBALS['____1896404214'][95]($_1496343122[___2051831914(496)])) { 
            foreach ($_862559127 as $_683482569 => $_28025695) { 
                foreach ($_1496343122[___2051831914(497)] as $_594957665 => $_619261624) { 
                    if ($_619261624[___2051831914(498)]) { 
                        if ($GLOBALS['____1896404214'][96](___2051831914(499) . $_594957665 . ___2051831914(500), $_28025695)) { 
                            $_862559127[$_683482569] = $_619261624[___2051831914(501)]; 
                            break; 
                        } 
                    } else { 
                        if ($_594957665 == $_28025695) { 
                            $_862559127[$_683482569] = $_619261624[___2051831914(502)]; 
                            break; 
                        } 
                    } 
                } 
            } 
        } 
        return $GLOBALS['____1896404214'][97](___2051831914(503), $_862559127); 
    } 
    static function _getReplaceRules() 
    { 
        $_1496343122 = ['one' => [], 'many' => []]; 
        $_332770044 = $_SERVER[___2051831914(504)] . self::RULES_FILE; 
        if ($GLOBALS['____1896404214'][98]($_332770044)) { 
            $_1924206662 = new CPHPCache(); 
            $_1961129703 = $GLOBALS['____1896404214'][99](___2051831914(505) . $GLOBALS['____1896404214'][100]($_332770044)); 
            $_1611679285 = ___2051831914(506) . SITE_ID . ___2051831914(507) . self::CACHE_VERSION . ___2051831914(508); 
            if ($_1924206662->InitCache(self::CACHE_TIME, $_1961129703, $_1611679285)) { 
                $_688681973 = $_1924206662->GetVars(); 
                $_1496343122 = $_688681973[___2051831914(509)]; 
            } elseif ($_1924206662->StartDataCache()) { 
                $_1889836319 = $GLOBALS['____1896404214'][101](PHP_EOL, $GLOBALS['____1896404214'][102]($_332770044)); 
                if ($GLOBALS['____1896404214'][103]($_1889836319)) { 
                    foreach ($_1889836319 as $_1406005735) { 
                        $_1064381770 = $GLOBALS['____1896404214'][104](___2051831914(510), $GLOBALS['____1896404214'][105](ToLower($_1406005735))); 
                        if (!$_1064381770[min(106, 0, 35.333333333333)] || !$_1064381770[round(1.0)]) { 
                            continue; 
                        } 
                        $_191896382 = $GLOBALS['____1896404214'][106]($_1064381770[0]); 
                        $_199458713 = $GLOBALS['____1896404214'][107](___2051831914(511), $_1064381770[round(1.0)]); 
                        foreach ($_199458713 as $_904952177) { 
                            $_904952177 = $GLOBALS['____1896404214'][108]([___2051831914(512), ___2051831914(513)], [___2051831914(514), ___2051831914(515)], $GLOBALS['____1896404214'][109]($_904952177)); 
                            if ($_904952177) { 
                                if (Encoding::exStrpos($_904952177, ___2051831914(516))) { 
                                    $_1496343122[___2051831914(517)][$_904952177] = [___2051831914(518) => Encoding::exStrpos($_904952177, ___2051831914(519)) !== false, ___2051831914(520) => $_191896382]; 
                                } else { 
                                    $_1496343122[___2051831914(521)][$_904952177] = [___2051831914(522) => Encoding::exStrpos($_904952177, ___2051831914(523)) !== false, ___2051831914(524) => $_191896382]; 
                                } 
                            } 
                        } 
                    } 
                } 
                $_1924206662->EndDataCache(array(___2051831914(525) => $_1496343122)); 
            } 
        } 
        return $_1496343122; 
    } 
    static function checkRedirectRules($_1074209, $_905729646) 
    { 
        $_862559127 = $GLOBALS['____1896404214'][110](' ', $_905729646); 
        $_1496343122 = self::_getRedirectRules($_1074209, $GLOBALS['____1896404214'][111]($_862559127)); 
        if ($GLOBALS['____1896404214'][112]($_1496343122)) { 
            foreach ($_1496343122 as $_942489733 => $_1382344723) { 
                $_1446742334 = $GLOBALS['____1896404214'][113](___2051831914(526), $_942489733); 
                foreach ($_1446742334 as $_1884549574) { 
                    if (!$GLOBALS['____1896404214'][114]("/{$_1884549574}/i" . BX_UTF_PCRE_MODIFIER, $_905729646)) { 
                        continue 2; 
                    } else { 
                    } 
                } 
                LocalRedirect($_1382344723, false, ___2051831914(527)); 
                exit; 
            } 
        } 
    } 
    static function _getRedirectRules($_1074209, $_1416789917) 
    { 
        $_1496343122 = []; 
        $_332770044 = $_SERVER[___2051831914(528)] . $GLOBALS['____1896404214'][115](___2051831914(529), $_1074209, self::REDIRECT_FILE); 
        if ($GLOBALS['____1896404214'][116]($_332770044)) { 
            $_1924206662 = new CPHPCache(); 
            $_1961129703 = $GLOBALS['____1896404214'][117](___2051831914(530) . $_1074209 . ___2051831914(531) . $GLOBALS['____1896404214'][118]($_332770044)); 
            $_1611679285 = ___2051831914(532) . SITE_ID . ___2051831914(533) . self::CACHE_VERSION . ___2051831914(534) . $_1416789917; 
            if ($_1924206662->InitCache(self::CACHE_TIME, $_1961129703, $_1611679285)) { 
                $_688681973 = $_1924206662->GetVars(); 
                $_1496343122 = $_688681973[___2051831914(535)]; 
            } elseif ($_1924206662->StartDataCache()) { 
                $_686334195 = $GLOBALS['____1896404214'][119](PHP_EOL, $GLOBALS['____1896404214'][120]($_332770044)); 
                if ($GLOBALS['____1896404214'][121]($_686334195)) { 
                    foreach ($_686334195 as $_188838672) { 
                        $_1446742334 = $GLOBALS['____1896404214'][122](___2051831914(536), ToLower($_188838672)); 
                        if (!$_1446742334[0] || !$_1446742334[round(1.0)]) { 
                            continue; 
                        } 
                        foreach ($GLOBALS['____1896404214'][123](___2051831914(537), $_1446742334[round(1.0)]) as $_1026270125) { 
                            $_1026270125 = $GLOBALS['____1896404214'][124]($_1026270125); 
                            if ($_1026270125) { 
                                if ($GLOBALS['____1896404214'][125]($GLOBALS['____1896404214'][126](___2051831914(538), $_1026270125)) != $_1416789917) { 
                                    continue; 
                                } 
                                $_1026270125 = $GLOBALS['____1896404214'][127](array(___2051831914(539), ___2051831914(540)), array(___2051831914(541), ___2051831914(542)), $_1026270125); 
                                $_1496343122[$_1026270125] = $GLOBALS['____1896404214'][128]($_1446742334[0]); 
                            } 
                        } 
                    } 
                } 
                $_1924206662->EndDataCache(array(___2051831914(543) => $_1496343122)); 
            } 
        } 
        return $_1496343122; 
    } 
    static function prepareQuery($_905729646) 
    { 
        if ($GLOBALS['____1896404214'][129]("SMARTSEARCH_REPLACE_REGULAR")) { 
            $_1052879560 = SMARTSEARCH_REPLACE_REGULAR; 
        } else { 
            $_1052879560 = $GLOBALS['____1896404214'][130](___2051831914(544)) ? ___2051831914(545) : ___2051831914(546); 
        } 
        $_905729646 = $GLOBALS['____1896404214'][131](___2051831914(547), ___2051831914(548), ToLower($_905729646)); 
        if (Loc::getMessage(___2051831914(549))) { 
            $_905729646 = $GLOBALS['____1896404214'][132](Loc::getMessage(___2051831914(550)), Loc::getMessage(___2051831914(551)), $_905729646); 
        } 
        $_1631702420 = $GLOBALS['____1896404214'][133](___2051831914(552), $_905729646); 
        $_2031898167 = []; 
        foreach ($_1631702420 as $_1179145215) { 
            $_1179145215 = $GLOBALS['____1896404214'][134]($_1052879560, ___2051831914(553), $_1179145215); 
            if ($_1179145215 && !$GLOBALS['____1896404214'][135]($_1179145215, $_2031898167, true)) { 
                $_2031898167[] = $_1179145215; 
            } 
        } 
        return $GLOBALS['____1896404214'][136]($GLOBALS['____1896404214'][137](___2051831914(554), $_2031898167)); 
    } 
    static function clearExceptionsWords($_905729646) 
    { 
        $_879714427 = self::_getExceptionsWords(); 
        if ($GLOBALS['____1896404214'][138]($_879714427) && !empty($_879714427)) { 
            $_1631702420 = $GLOBALS['____1896404214'][139](___2051831914(555), $_905729646); 
            $_2031898167 = []; 
            foreach ($_1631702420 as $_1179145215) { 
                if ($GLOBALS['____1896404214'][140]($_1179145215, $_879714427)) { 
                    continue; 
                } 
                if ($_1179145215 && !$GLOBALS['____1896404214'][141]($_1179145215, $_2031898167, true)) { 
                    $_2031898167[] = $_1179145215; 
                } 
            } 
            $_905729646 = $GLOBALS['____1896404214'][142](___2051831914(556), $_2031898167); 
        } 
        return $_905729646; 
    } 
    static function _getExceptionsWords() 
    { 
        $_1900880373 = UTools::getStorage('page_cache', 'exception_words'); 
        if ($GLOBALS['____1896404214'][143]($_1900880373)) { 
            $_280430428 = $_1900880373; 
        } else { 
            $_280430428 = []; 
            $_1072346455 = UTools::getSetting(___2051831914(557)); 
            if ($_1072346455) { 
                $_280430428 = []; 
                $_233763315 = $GLOBALS['____1896404214'][144](___2051831914(558), ToLower($_1072346455)); 
                foreach ($_233763315 as $_1039531705 => $_1456166566) { 
                    $_280430428[$_1039531705] = $GLOBALS['____1896404214'][145]($_1456166566); 
                } 
            } 
            UTools::setStorage(___2051831914(559), ___2051831914(560), $_280430428); 
        } 
        return $_280430428; 
    } 
    static function prepBaseArray($_1240392557, $_751931908) 
    { 
        $_1361639245 = []; 
        if ($GLOBALS['____1896404214'][146]($_1240392557) && $GLOBALS['____1896404214'][147]($_1240392557)) { 
            $_1052879560 = Tools::getReplaceParams(); 
            $_1234581912 = Tools::getMinWordLenght(); 
            foreach ($_1240392557 as $_1179145215) { 
                if ($_751931908 && Encoding::exStrlen($_1179145215) < $_1234581912) { 
                    continue; 
                } 
                if ($GLOBALS['____1896404214'][148](___2051831914(561), $_1179145215)) { 
                    $_648555671 = $GLOBALS['____1896404214'][149](array(___2051831914(562)), array(___2051831914(563)), $_1179145215); 
                    $_648555671 = Tools::num_translit($_648555671, ___2051831914(564), $_1052879560); 
                } else { 
                    $_648555671 = Tools::ex_translit($_1179145215, ___2051831914(565), $_1052879560); 
                } 
                if ($_648555671) { 
                    $_1361639245[$_1179145215] = $_648555671; 
                } 
            } 
        } 
        return $_1361639245; 
    } 
    static function getWordsListFromDb($_1077779493) 
    { 
        $_1924206662 = new CPHPCache(); 
        $_1961129703 = $GLOBALS['____1896404214'][150](___2051831914(566) . $_1077779493[___2051831914(567)]); 
        $_1611679285 = ___2051831914(568) . SITE_ID . ___2051831914(569) . self::CACHE_VERSION . ___2051831914(570); 
        if ($_1924206662->InitCache(self::CACHE_TIME, $_1961129703, $_1611679285)) { 
            $_688681973 = $_1924206662->GetVars(); 
            $_1361639245 = $_688681973[___2051831914(571)]; 
        } elseif ($_1924206662->StartDataCache()) { 
            $_1240392557 = []; 
            $_9849664 = ___2051831914(572); 
            $_904952177 = ___2051831914(573); 
            $_761166066 = ___2051831914(574) . SITE_ID . ___2051831914(575); 
            if ($GLOBALS['____1896404214'][151]($_1077779493[___2051831914(576)]) && $GLOBALS['____1896404214'][152]($_1077779493[___2051831914(577)])) { 
                $_753025640 = ___2051831914(578); 
                foreach ($_1077779493[___2051831914(579)] as $_1039531705 => $_1744922831) { 
                    $_459328808 = min(62, 0, 20.666666666667); 
                    if ($_1039531705) { 
                        $_753025640 .= ___2051831914(580); 
                    } 
                    $_753025640 .= ___2051831914(581); 
                    if ($_1744922831[___2051831914(582)]) { 
                        $_753025640 .= ___2051831914(583) . $_1744922831[___2051831914(584)] . ___2051831914(585); 
                        $_459328808 = round(1.0); 
                    } 
                    if ($_1744922831[___2051831914(586)]) { 
                        if ($_459328808) { 
                            $_753025640 .= ___2051831914(587); 
                        } 
                        $_753025640 .= ___2051831914(588) . $_1744922831[___2051831914(589)] . ___2051831914(590); 
                        $_459328808 = round(1.0); 
                    } 
                    if ($GLOBALS['____1896404214'][153]($_1744922831[___2051831914(591)]) && $GLOBALS['____1896404214'][154]($_1744922831[___2051831914(592)])) { 
                        if ($_459328808) { 
                            $_753025640 .= ___2051831914(593); 
                        } 
                        if ($GLOBALS['____1896404214'][155]($_1744922831[___2051831914(594)]) == round(1.0)) { 
                            $_753025640 .= ___2051831914(595) . $_1744922831[___2051831914(596)][0]; 
                        } else { 
                            $_753025640 .= ___2051831914(597) . $GLOBALS['____1896404214'][156](___2051831914(598), $_1744922831[___2051831914(599)]) . ___2051831914(600); 
                        } 
                    } 
                    $_753025640 .= ___2051831914(601); 
                } 
                $_761166066 .= ___2051831914(602) . $_753025640 . ___2051831914(603); 
            } 
            $_261048405 = ___2051831914(604) . $_9849664 . ___2051831914(605) . $_904952177 . ___2051831914(606) . $_761166066 . ___2051831914(607); 
            $_624930346 = Tools::dbQuery($_261048405); 
            while ($_1069084843 = $_624930346->Fetch()) { 
                $_1240392557[] = $_1069084843[___2051831914(608)]; 
            } 
            unset($_624930346); 
            $_1361639245 = self::prepBaseArray($_1240392557, 0); 
            unset($_1240392557); 
            $_1924206662->EndDataCache(array(___2051831914(609) => $_1361639245)); 
        } 
        return $_1361639245; 
    } 
    static function getBaseWords($_1077779493) 
    { 
        $_1924206662 = new CPHPCache(); 
        $_1961129703 = $GLOBALS['____1896404214'][157](___2051831914(610) . $_1077779493[___2051831914(611)]); 
        $_1611679285 = ___2051831914(612) . SITE_ID . ___2051831914(613) . self::CACHE_VERSION . ___2051831914(614); 
        if ($_1924206662->InitCache(self::CACHE_TIME, $_1961129703, $_1611679285)) { 
            $_688681973 = $_1924206662->GetVars(); 
            $_1361639245 = $_688681973[___2051831914(615)]; 
        } elseif ($_1924206662->StartDataCache()) { 
            $_1361639245 = self::getWordsListFromDb($_1077779493); 
            $_1361639245 = $GLOBALS['____1896404214'][158]($_1361639245); 
            $_1924206662->EndDataCache(array(___2051831914(616) => $_1361639245)); 
        } 
        return $_1361639245; 
    } 
    static function getSimilarWordsList($_905729646, $type = 'full', $_1077779493 = []) 
    { 
        $_2138519099 = $GLOBALS['____1896404214'][159](true); 
        $_1077779493[___2051831914(617)] = ___2051831914(618); 
        if ($GLOBALS['____1896404214'][160]($_1077779493[___2051831914(619)]) && $GLOBALS['____1896404214'][161]($_1077779493[___2051831914(620)])) { 
            foreach ($_1077779493[___2051831914(621)] as $_243600456 => $_1261951158) { 
                if ($_1261951158[___2051831914(622)]) { 
                    $_1077779493[___2051831914(623)] .= $_1261951158[___2051831914(624)] . ___2051831914(625); 
                } 
                if ($_1261951158[___2051831914(626)]) { 
                    $_1077779493[___2051831914(627)] .= $_1261951158[___2051831914(628)] . ___2051831914(629); 
                } 
                if ($GLOBALS['____1896404214'][162]($_1261951158[___2051831914(630)])) { 
                    $_1077779493[___2051831914(631)] .= $GLOBALS['____1896404214'][163](___2051831914(632), $_1261951158[___2051831914(633)]) . ___2051831914(634); 
                } 
            } 
        } 
        if (!$GLOBALS['____1896404214'][164]($_905729646)) { 
            $_905729646 = self::prepareQuery($_905729646); 
            $_305977071 = self::prepBaseArray($GLOBALS['____1896404214'][165](___2051831914(635), $_905729646), round(1)); 
        } else { 
            $_305977071 = $_905729646; 
        } 
        if ($GLOBALS['____1896404214'][166]($_305977071) < round(0.99999999999999)) { 
            return array(); 
        } 
        $_1077779493[___2051831914(636)] = UTools::getSetting(___2051831914(637)) != ___2051831914(638); 
        $_1077779493[___2051831914(639)] = \COption::GetOptionString(___2051831914(640), ___2051831914(641)); 
        if ($_1077779493[___2051831914(642)] == ___2051831914(643)) { 
            $_1825566205 = ___2051831914(644); 
        } else { 
            $_1825566205 = $type == ___2051831914(645) ? UTools::getSetting(___2051831914(646)) : UTools::getSetting(___2051831914(647)); 
        } 
        $_1924206662 = new CPHPCache(); 
        $_1961129703 = $GLOBALS['____1896404214'][167]($GLOBALS['____1896404214'][168](___2051831914(648), $_305977071) . $_1825566205 . $_1077779493[___2051831914(649)]); 
        $_1611679285 = ___2051831914(650) . SITE_ID . ___2051831914(651) . self::CACHE_VERSION . ___2051831914(652) . $type . ___2051831914(653) . Encoding::exSubstr($GLOBALS['____1896404214'][169](___2051831914(654), $GLOBALS['____1896404214'][170]($_305977071)), 0, round(40)); 
        if ($_1077779493[___2051831914(655)] && $_1924206662->InitCache(self::CACHE_TIME, $_1961129703, $_1611679285)) { 
            $_904952177 = ___2051831914(656); 
            $_688681973 = $_1924206662->GetVars(); 
            $_1361639245 = $_688681973[___2051831914(657)]; 
        } elseif ($_1924206662->StartDataCache()) { 
            $_904952177 = ___2051831914(658); 
            $_1361639245 = self::_getSimilarWordsList($_305977071, $type, $_1825566205, $_1077779493); 
            $_1924206662->EndDataCache(array(___2051831914(659) => $_1361639245)); 
        } 
        if (UTools::getSetting(___2051831914(660)) == ___2051831914(661)) { 
            $_2104148764 = $GLOBALS['____1896404214'][171](true); 
            $_160585683 = $GLOBALS['____1896404214'][172]($_2104148764 - $_2138519099, round(3)); 
            AddMessage2Log(___2051831914(662) . $_904952177 . ___2051831914(663) . $_160585683, self::MODULE_ID, 0); 
        } 
        return $_1361639245; 
    } 
    static function _getSimilarWordsList($_305977071, $type, $_1825566205, $_1077779493 = []) 
    { 
        $_1361639245 = []; 
        $_779489667 = self::getWordsListFromDb($_1077779493); 
        $_1606107 = min(14, 0, 4.6666666666667); 
        foreach ($_305977071 as $_1461620816 => $_822305547) { 
            $_419750269 = array(___2051831914(664) => UTools::getSetting(___2051831914(665)) != ___2051831914(666), ___2051831914(667) => $_1461620816, ___2051831914(668) => $_822305547, ___2051831914(669) => $type, ___2051831914(670) => $GLOBALS['____1896404214'][173]($_305977071), ___2051831914(671) => $_1825566205, ___2051831914(672) => $_1077779493[___2051831914(673)], ___2051831914(674) => $_1077779493[___2051831914(675)]); 
            $_633674683 = self::getSimilarQueryWord($_779489667, $_419750269); 
            if (!empty($_633674683)) { 
                $_2098251095[] = $_633674683; 
                $_1606107 += ($_1606107 + round(1.0)) * $GLOBALS['____1896404214'][174]($_633674683); 
            } 
        } 
        unset($_779489667); 
        $_1051506855 = round(200); 
        if (!empty($_2098251095)) { 
            if ($_1606107 < $_1051506855) { 
                $_294710290 = self::generateVariation($_2098251095); 
                $_1840360696 = self::generateVariants($_2098251095); 
                foreach ($GLOBALS['____1896404214'][175]($_294710290, $_1840360696) as $_1137336520) { 
                    $_1361639245[$GLOBALS['____1896404214'][176]($_1137336520)][] = $GLOBALS['____1896404214'][177](___2051831914(676), $_1137336520); 
                } 
                unset($_294710290); 
                unset($_1840360696); 
            } else { 
                $_294710290 = self::generateVariation($_2098251095); 
                if ($GLOBALS['____1896404214'][178]($_294710290) < $_1051506855) { 
                    foreach ($_294710290 as $_1137336520) { 
                        $_1361639245[$GLOBALS['____1896404214'][179]($_1137336520)][] = $GLOBALS['____1896404214'][180](___2051831914(677), $_1137336520); 
                    } 
                } 
                $_1361639245[round(1)] = []; 
                foreach ($_2098251095 as $_1039531705 => $_1456166566) { 
                    foreach ($_1456166566 as $_2052803555 => $_1752154458) { 
                        $_1361639245[round(1.0)][] = $_1752154458; 
                    } 
                } 
            } 
            foreach ($_1361639245 as $_1818987941 => $_352437611) { 
                $_1361639245[$_1818987941] = $GLOBALS['____1896404214'][181]($GLOBALS['____1896404214'][182]($_352437611)); 
            } 
        } 
        return $_1361639245; 
    } 
    static function getSimilarQueryWord($_779489667, $_419750269) 
    { 
        $_654180742 = []; 
        $_1924206662 = new CPHPCache(); 
        $_1961129703 = $GLOBALS['____1896404214'][183]($_419750269[___2051831914(678)] . ___2051831914(679) . $_419750269[___2051831914(680)] . ___2051831914(681) . $_419750269[___2051831914(682)] . $_419750269[___2051831914(683)]); 
        $_1611679285 = ___2051831914(684) . SITE_ID . ___2051831914(685) . self::CACHE_VERSION . ___2051831914(686) . $_419750269[___2051831914(687)] . ___2051831914(688) . $_419750269[___2051831914(689)]; 
        if ($_419750269[___2051831914(690)] && $_1924206662->InitCache(self::CACHE_TIME, $_1961129703, $_1611679285)) { 
            $_419750269[___2051831914(691)] = ___2051831914(692); 
            $_688681973 = $_1924206662->GetVars(); 
            $_654180742 = $_688681973[___2051831914(693)]; 
        } elseif ($_1924206662->StartDataCache()) { 
            $_1686048739 = []; 
            $_743051278 = $GLOBALS['____1896404214'][184](true); 
            $_443333068 = $_419750269[___2051831914(694)] == ___2051831914(695) ? ___2051831914(696) : ___2051831914(697); 
            $_419750269[___2051831914(698)] = ___2051831914(699); 
            $_419750269[___2051831914(700)] = $_419750269[___2051831914(701)] != ___2051831914(702); 
            $_419750269[___2051831914(703)] = UTools::getSetting(___2051831914(704)) != ___2051831914(705); 
            $_419750269[___2051831914(706)] = $_419750269[___2051831914(707)] || $_419750269[___2051831914(708)] == ___2051831914(709); 
            $_419750269[___2051831914(710)] = $GLOBALS['____1896404214'][185](___2051831914(711), $_419750269[___2051831914(712)]); 
            if (!$_419750269[___2051831914(713)] && $_419750269[___2051831914(714)] && $GLOBALS['____1896404214'][186](___2051831914(715))) { 
                $_419750269[___2051831914(716)] = stemming($_419750269[___2051831914(717)]); 
                if (!empty($_419750269[___2051831914(718)])) { 
                    foreach ($_419750269[___2051831914(719)] as $_1039531705 => $_1456166566) { 
                        if ($_1039531705) { 
                            $_419750269[___2051831914(720)] = ToLower($_1039531705); 
                        } 
                        break; 
                    } 
                } 
            } 
            $_419750269[___2051831914(721)] = $GLOBALS['____1896404214'][187](Encoding::exStrlen($_419750269[___2051831914(722)]), Encoding::exStrlen($_419750269[___2051831914(723)])); 
            if ($_419750269[___2051831914(724)] <= round(5)) { 
                $_419750269[___2051831914(725)] = round(1.0); 
            } elseif ($_419750269[___2051831914(726)] >= round(9)) { 
                $_419750269[___2051831914(727)] = round(3); 
            } else { 
                $_419750269[___2051831914(728)] = round(2.0); 
            } 
            $_1686048739[___2051831914(729)] = $GLOBALS['____1896404214'][188]($GLOBALS['____1896404214'][189](true) - $_743051278, round(5.0)); 
            $_80177970 = $GLOBALS['____1896404214'][190]($_419750269[___2051831914(730)], $_779489667); 
            if ($_80177970) { 
                unset($_779489667[$_80177970]); 
                if ($_419750269[___2051831914(731)] > round(1.0) && $_419750269[___2051831914(732)] && $_419750269[___2051831914(733)] == $_80177970) { 
                    $_80177970 = $_419750269[___2051831914(734)]; 
                } 
                if ($_419750269[___2051831914(735)] == ___2051831914(736) || $_419750269[___2051831914(737)] == ___2051831914(738) && !$_419750269[___2051831914(739)]) { 
                    $_654180742[] = $_80177970; 
                } else { 
                    $_654180742[] = $_443333068 . $_80177970 . $_443333068; 
                } 
                $_419750269[___2051831914(740)] = min(90, 0, 30); 
                $_419750269[___2051831914(741)] = 0; 
            } 
            $_1686048739[___2051831914(742)] = $GLOBALS['____1896404214'][191]($GLOBALS['____1896404214'][192](true) - $_743051278, round(5)); 
            if ($_419750269[___2051831914(743)] && $_419750269[___2051831914(744)] > round(2)) { 
                $_419750269[___2051831914(745)] = $_419750269[___2051831914(746)] ? $_419750269[___2051831914(747)] : $_419750269[___2051831914(748)]; 
                foreach ($_779489667 as $_192305605 => $_648555671) { 
                    $_1849354041 = Encoding::exStripos($_192305605, $_419750269[___2051831914(749)]); 
                    if ($_419750269[___2051831914(750)] && $_1849354041 !== false || !$_419750269[___2051831914(751)] && $_1849354041 === 0) { 
                        if ($_419750269[___2051831914(752)] == ___2051831914(753)) { 
                            $_654180742[] = $_419750269[___2051831914(754)]; 
                        } else { 
                            $_654180742[] = $_443333068 . $_419750269[___2051831914(755)] . $_443333068; 
                        } 
                        unset($_779489667[$_192305605]); 
                    } 
                } 
                if (!empty($_654180742)) { 
                    $_654180742 = $GLOBALS['____1896404214'][193]($_654180742); 
                } 
                $_1686048739[___2051831914(756)] = $GLOBALS['____1896404214'][194]($GLOBALS['____1896404214'][195](true) - $_743051278, round(5.0000000000001)); 
            } 
            if (!$_419750269[___2051831914(757)] && $_419750269[___2051831914(758)] && $_419750269[___2051831914(759)] > round(2)) { 
                $_1781331381 = []; 
                foreach ($_779489667 as $_192305605 => $_648555671) { 
                    if ($GLOBALS['____1896404214'][196](___2051831914(760), $_648555671)) { 
                        continue; 
                    } 
                    $_1361972283 = $GLOBALS['____1896404214'][197]($_419750269[___2051831914(761)], $_648555671); 
                    if ($_1361972283 <= $_419750269[___2051831914(762)]) { 
                        $GLOBALS['____1896404214'][198]($_419750269[___2051831914(763)], $_192305605, $_378527667); 
                        $_1388468318 = $GLOBALS['____1896404214'][199]($_419750269[___2051831914(764)], $_192305605); 
                        $_1781331381[] = array(___2051831914(765) => array($_192305605 => $_648555671), ___2051831914(766) => $_1361972283, ___2051831914(767) => $_378527667, ___2051831914(768) => $_1388468318); 
                    } 
                } 
                if (!empty($_1781331381)) { 
                    $GLOBALS['____1896404214'][200]($_1781331381, array(___2051831914(769), ___2051831914(770))); 
                } 
                foreach ($_1781331381 as $_672105580) { 
                    foreach ($_672105580[___2051831914(771)] as $_1039531705 => $_1456166566) { 
                        $_654180742[] = $_1039531705; 
                    } 
                } 
                $_1686048739[___2051831914(772)] = $GLOBALS['____1896404214'][201]($GLOBALS['____1896404214'][202](true) - $_743051278, round(5.0000000000001)); 
            } 
            if (!$GLOBALS['____1896404214'][203]($_654180742)) { 
                $_199151762 = []; 
                foreach ($_779489667 as $_192305605 => $_648555671) { 
                    $_199151762[$_192305605] = Encoding::exStrlen($_192305605); 
                } 
                $GLOBALS['____1896404214'][204]($_199151762); 
                $_1591024614 = ___2051831914(773); 
                $_625117514 = $_419750269[___2051831914(774)]; 
                foreach ($_199151762 as $_192305605 => $_1308530155) { 
                    if (!$_625117514) { 
                        break; 
                    } 
                    $_1849354041 = Encoding::exStripos($_625117514, $_192305605); 
                    if ($_1849354041 !== false) { 
                        $_1591024614 .= $_192305605 . ___2051831914(775); 
                        $_625117514 = $GLOBALS['____1896404214'][205]($_192305605, ___2051831914(776), $_625117514); 
                    } 
                } 
                if (!$_625117514 && $_1591024614) { 
                    $_654180742[] = $_1591024614; 
                } 
                $_1686048739[___2051831914(777)] = $GLOBALS['____1896404214'][206]($GLOBALS['____1896404214'][207](true) - $_743051278, round(5)); 
            } 
            $_1924206662->EndDataCache(array(___2051831914(778) => $_654180742)); 
        } 
        return $_654180742; 
    } 
    static function guessLanguage($_110927145, $_1077779493 = []) 
    { 
        if (!$_110927145) { 
            return 0; 
        } 
        $_1077779493[___2051831914(779)] = ___2051831914(780); 
        if ($GLOBALS['____1896404214'][208]($_1077779493[___2051831914(781)]) && $GLOBALS['____1896404214'][209]($_1077779493[___2051831914(782)])) { 
            foreach ($_1077779493[___2051831914(783)] as $_243600456 => $_1261951158) { 
                if ($_1261951158[___2051831914(784)]) { 
                    $_1077779493[___2051831914(785)] .= $_1261951158[___2051831914(786)] . ___2051831914(787); 
                } 
                if ($_1261951158[___2051831914(788)]) { 
                    $_1077779493[___2051831914(789)] .= $_1261951158[___2051831914(790)] . ___2051831914(791); 
                } 
                if ($GLOBALS['____1896404214'][210]($_1261951158[___2051831914(792)])) { 
                    $_1077779493[___2051831914(793)] .= $GLOBALS['____1896404214'][211](___2051831914(794), $_1261951158[___2051831914(795)]) . ___2051831914(796); 
                } 
            } 
        } 
        $_1924206662 = new CPHPCache(); 
        $_1361639245 = array(___2051831914(797) => [], ___2051831914(798) => [], ___2051831914(799) => 0, ___2051831914(800) => min(200, 0, 66.666666666667)); 
        $_1361639245[___2051831914(801)] = $GLOBALS['____1896404214'][212](___2051831914(802), $GLOBALS['____1896404214'][213](___2051831914(803), ___2051831914(804), $GLOBALS['____1896404214'][214]($_110927145))); 
        $_1052879560 = Tools::getReplaceParams(); 
        $_779489667 = self::getBaseWords($_1077779493); 
        foreach ($_1361639245[___2051831914(805)] as $_1039531705 => $_1179145215) { 
            $_1631702420 = CSearchLanguage::ConvertKeyboardLayout($_1179145215, ___2051831914(806), ___2051831914(807)); 
            $_1631702420 = CArturgolubevSmartsearch::checkReplaceRules($_1631702420); 
            $_1631702420 = CArturgolubevSmartsearch::prepareQuery($_1631702420); 
            $_1631702420 = CArturgolubevSmartsearch::clearExceptionsWords($_1631702420); 
            $_1361639245[___2051831914(808)][___2051831914(809)][] = $_1631702420; 
            $_1631702420 = CSearchLanguage::ConvertKeyboardLayout($_1179145215, ___2051831914(810), ___2051831914(811)); 
            $_1631702420 = CArturgolubevSmartsearch::checkReplaceRules($_1631702420); 
            $_1631702420 = CArturgolubevSmartsearch::prepareQuery($_1631702420); 
            $_1631702420 = CArturgolubevSmartsearch::clearExceptionsWords($_1631702420); 
            $_1361639245[___2051831914(812)][___2051831914(813)][] = $_1631702420; 
        } 
        foreach ($_1361639245[___2051831914(814)][___2051831914(815)] as $_1039531705 => $_1179145215) { 
            $_850840742 = $_1361639245[___2051831914(816)][___2051831914(817)][$_1039531705]; 
            $_136926381 = Tools::ex_translit($_1179145215 . $_850840742, ___2051831914(818), $_1052879560); 
            $_1611679285 = ___2051831914(819) . SITE_ID . ___2051831914(820) . self::CACHE_VERSION . ___2051831914(821) . $_136926381; 
            if ($_1924206662->InitCache(self::CACHE_TIME, $_136926381, $_1611679285)) { 
                $_688681973 = $_1924206662->GetVars(); 
                $_1851498813 = $_688681973[___2051831914(822)]; 
            } elseif ($_1924206662->StartDataCache()) { 
                $_1851498813 = min(164, 0, 54.666666666667); 
                $_1361639245[___2051831914(823)]++; 
                foreach ($_779489667 as $_192305605) { 
                    $_1849354041 = Encoding::exStripos($_192305605, $_1179145215); 
                    if ($_1849354041 !== false) { 
                        $_1851498813 = round(1); 
                        break; 
                    } 
                } 
                if (!$_1851498813) { 
                    $_1361639245[___2051831914(824)]++; 
                    foreach ($_779489667 as $_192305605) { 
                        $_1849354041 = Encoding::exStripos($_192305605, $_850840742); 
                        if ($_1849354041 !== false) { 
                            $_1851498813 = round(2.0); 
                            break; 
                        } 
                    } 
                } 
                $_1924206662->EndDataCache(array(___2051831914(825) => $_1851498813)); 
            } 
            if (!$_1851498813) { 
                return 0; 
            } elseif ($_1851498813 == round(2.0000000000000098)) { 
                $_1361639245[___2051831914(826)][] = $_850840742; 
            } elseif ($_1851498813) { 
                $_1361639245[___2051831914(827)][] = $_1179145215; 
            } 
        } 
        if ($GLOBALS['____1896404214'][215]($_1361639245[___2051831914(828)])) { 
            return $GLOBALS['____1896404214'][216](___2051831914(829), $_1361639245[___2051831914(830)]); 
        } 
        return 0; 
    } 
    static function generateVariation($_1805273768, $_383478750 = 0) 
    { 
        $_1361639245 = []; 
        if ($_383478750 < $GLOBALS['____1896404214'][217]($_1805273768)) { 
            $_1105211240 = self::generateVariation($_1805273768, $_383478750 + round(1.0)); 
            for ($_148633838 = 0; $_148633838 < $GLOBALS['____1896404214'][218]($_1805273768[$_383478750]); $_148633838++) { 
                if ($_1105211240) { 
                    foreach ($_1105211240 as $_1840360696) { 
                        $_1361639245[] = $GLOBALS['____1896404214'][219](array($_1805273768[$_383478750][$_148633838]), $_1840360696); 
                    } 
                } else { 
                    $_1361639245[] = array($_1805273768[$_383478750][$_148633838]); 
                } 
            } 
        } 
        return $_1361639245; 
    } 
    static function generateVariants($_533660387) 
    { 
        $_1361639245 = []; 
        if ($GLOBALS['____1896404214'][220]($_533660387) > round(1)) { 
            for ($_383478750 = $GLOBALS['____1896404214'][221]($_533660387); $_383478750 > 0; $_383478750--) { 
                $_531281776 = $_533660387; 
                unset($_531281776[$_383478750 - round(1.0)]); 
                $_531281776 = $GLOBALS['____1896404214'][222]($_531281776); 
                $_1361639245 = $GLOBALS['____1896404214'][223]($_1361639245, self::generateVariation($_531281776)); 
                if ($GLOBALS['____1896404214'][224]($_531281776) > round(1)) { 
                    $_1361639245 = $GLOBALS['____1896404214'][225]($_1361639245, self::generateVariants($_531281776)); 
                } 
            } 
        } 
        return $_1361639245; 
    } 
    static function cmpSimilaritySort($_750799623, $_142725866) 
    { 
        if ($_750799623["similarity"] == $_142725866["similarity"]) { 
            if ($_750799623["similarity_rl"] == $_142725866["similarity_rl"]) { 
                return 0; 
            } 
            return $_750799623[___2051831914(831)] < $_142725866[___2051831914(832)] ? -round(0.99999999999999) : round(1.0); 
        } 
        return $_750799623[___2051831914(833)] < $_142725866[___2051831914(834)] ? -round(1.0) : round(0.99999999999999); 
    } 
    static function getMatrixLineHash($_905729646) 
    { 
        $_633674683 = $GLOBALS['____1896404214'][226](' ', $GLOBALS['____1896404214'][227]('"', '', $_905729646)); 
        $GLOBALS['____1896404214'][228]($_633674683); 
        $_479677614 = $GLOBALS['____1896404214'][229](___2051831914(835), $_633674683); 
        return $_479677614; 
    } 
    static function saveMatrixLineEmpty($_905729646, $_1348495007) 
    { 
        $_1669960433 = self::getMatrixLineHash($_905729646); 
        if ($_1348495007 < round(0.99999999999999)) { 
            $_1924206662 = new CPHPCache(); 
            $_1611679285 = ___2051831914(836) . SITE_ID . ___2051831914(837) . self::CACHE_VERSION . ___2051831914(838); 
            if ($_1924206662->InitCache(self::CACHE_TIME, $GLOBALS['____1896404214'][230]($_1669960433), $_1611679285)) { 
                $_688681973 = $_1924206662->GetVars(); 
            } elseif ($_1924206662->StartDataCache()) { 
                $_688681973 = [___2051831914(839) => ___2051831914(840)]; 
                $_1924206662->EndDataCache($_688681973); 
            } 
        } 
    } 
    static function checkMatrixLineEmpty($_905729646) 
    { 
        if (UTools::getSetting("disable_cache") == 'Y') { 
            return 0; 
        } 
        $_1669960433 = self::getMatrixLineHash($_905729646); 
        $_1924206662 = new CPHPCache(); 
        $_1611679285 = ___2051831914(841) . SITE_ID . ___2051831914(842) . self::CACHE_VERSION . ___2051831914(843); 
        if ($_1924206662->InitCache(self::CACHE_TIME, $GLOBALS['____1896404214'][231]($_1669960433), $_1611679285)) { 
            $_688681973 = $_1924206662->GetVars(); 
            if ($_688681973[___2051831914(844)] == ___2051831914(845)) { 
                return round(1); 
            } 
        } 
        return 0; 
    } 
    static function prepareQueryWords($_1907604790) 
    { 
        $_1361639245 = []; 
        $_1261393936 = $GLOBALS['____1896404214'][232](___2051831914(846), $_1907604790); 
        $_1052879560 = Tools::getReplaceParams(); 
        $_1234581912 = Tools::getMinWordLenght(); 
        foreach ($_1261393936 as $_1087961016) { 
            if (Encoding::exStrlen($_1087961016) < $_1234581912) { 
                continue; 
            } 
            if ($GLOBALS['____1896404214'][233](___2051831914(847), $_1087961016)) { 
                $_1087961016 = $GLOBALS['____1896404214'][234](array(___2051831914(848)), array(___2051831914(849)), $_1087961016); 
                $_70225429 = Tools::num_translit($_1087961016, ___2051831914(850), $_1052879560); 
            } else { 
                $_70225429 = Tools::ex_translit($_1087961016, ___2051831914(851), $_1052879560); 
            } 
            if ($_70225429 && !$GLOBALS['____1896404214'][235]($_70225429, $_1361639245)) { 
                $_1361639245[$_70225429] = $_1087961016; 
            } 
        } 
        return $_1361639245; 
    } 
} 
while (!$GLOBALS['____1896404214'][236](___2051831914(852)) || $GLOBALS['____1896404214'][237](arturgolubev_smartsearch_OLDSITEEXPIREDATE) <= 0 || true) { 
    die(GetMessage(___2051831914(853))); 
} 
 ?>

Did this file decode correctly?

Original Code

<?php

$GLOBALS['_____1729808644'] = array("IncludeModuleLangFile");
$GLOBALS['____1896404214'] = array("define", "strrev", "strtoupper", "sprintf", "sprintf", "substr", "strrev", "base64_decode", "substr", "strlen", "strlen", "chr", "ord", "ord", "mktime", "intval", "intval", "intval", "ksort", "substr", "implode", "defined", "base64_decode", "constant", "strrev", "sprintf", "strlen", "strlen", "chr", "ord", "ord", "mktime", "intval", "intval", "intval", "substr", "substr", "time", "mktime", "mktime", "date", "date", "define", "define", "is_array", "trim", "explode", "array_map", "trim", "in_array", "microtime", "is_array", "array_merge", "intval", "is_array", "is_array", "is_array", "implode", "is_array", "count", "implode", "is_array", "strip_tags", "htmlspecialchars_decode", "strip_tags", "htmlspecialchars_decode", "strlen", "intval", "str_replace", "str_replace", "str_replace", "htmlspecialchars_decode", "str_replace", "htmlspecialchars_decode", "preg_match_all", "is_array", "count", "array_merge", "array_unique", "explode", "str_replace", "count", "trim", "count", "str_replace", "preg_split", "explode", "str_replace", "implode", "explode", "count", "explode", "preg_match", "count", "count", "count", "preg_match", "implode", "file_exists", "md5", "filemtime", "explode", "file_get_contents", "is_array", "explode", "trim", "trim", "explode", "str_replace", "trim", "explode", "count", "count", "explode", "preg_match", "str_replace", "file_exists", "md5", "filemtime", "explode", "file_get_contents", "is_array", "explode", "explode", "trim", "count", "explode", "str_replace", "trim", "defined", "defined", "preg_replace", "str_replace", "explode", "preg_replace", "in_array", "trim", "implode", "is_array", "explode", "in_array", "in_array", "implode", "is_array", "explode", "trim", "is_array", "count", "preg_match", "str_replace", "md5", "is_array", "count", "is_array", "count", "count", "implode", "md5", "array_keys", "microtime", "is_array", "count", "is_array", "implode", "is_array", "explode", "count", "md5", "implode", "implode", "array_keys", "microtime", "round", "count", "count", "array_merge", "count", "implode", "count", "count", "implode", "array_values", "array_unique", "md5", "microtime", "preg_match", "function_exists", "min", "round", "microtime", "array_search", "round", "microtime", "array_unique", "round", "microtime", "preg_match", "levenshtein", "similar_text", "levenshtein", "usort", "round", "microtime", "count", "arsort", "str_replace", "round", "microtime", "is_array", "count", "is_array", "implode", "explode", "preg_replace", "trim", "count", "implode", "count", "count", "array_merge", "count", "count", "array_values", "array_merge", "count", "array_merge", "explode", "str_replace", "sort", "implode", "md5", "md5", "explode", "preg_match", "str_replace", "in_array", "defined", "strlen");
if (!function_exists("\\___2051831914")) {
    function ___2051831914($_158845773)
    {
        static $_480678321 = false;
        if ($_480678321 == false) {
            $_480678321 = array('ZXhwaXJlX21lc3NfY3VzdG9tMg==', 'YXJ0dXJnb2x1YmV2X3NtYXJ0c2VhcmNoXw==', 'b21lZA==', 'WQ==', 'ZHJtX3N0Z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=', 'cmVpbmRleF9jYWNoZQ==', 'c2VhcmNoYWJsZV9maWVsZHNf', 'UEFSQU0y', 'RklFTERfTkFNRQ==', 'QVND', 'RU5USVRZX0lE', 'SUJMT0NLXw==', 'UEFSQU0y', 'X1NFQ1RJT04=', 'SVNfU0VBUkNIQUJMRQ==', 'WQ==', 'RklFTERfTkFNRQ==', 'cmVpbmRleF9jYWNoZQ==', 'c2VhcmNoYWJsZV9maWVsZHNf', 'UEFSQU0y', 'SUJMT0NLX0lE', 'UEFSQU0y', 'SUQ=', 'SUQ=', 'TkFNRQ==', 'SUJMT0NLX0lE', 'IA==', 'c2VjdGlvbl9maW5kYnlfcGFyZW50', 'UEFSQU0y', 'SUQ=', 'TkFNRQ==', 'QUNUSVZF', 'SUQ=', 'IA==', 'TkFNRQ==', 'c2VjdGlvbl9maXJzdA==', 'Q1VTVE9NX1JBTks=', 'aXNfc3Vic2VjdGlvbg==', 'UEFSQU1T', 'Y2F0YWxvZ19hdmFpbGFibGU=', 'WQ==', 'c2VjdGlvbl9maXJzdA==', 'Q1VTVE9NX1JBTks=', 'SVRFTV9JRA==', 'dXNlX3Nlb190aXRsZQ==', 'UEFSQU0y', 'SVRFTV9JRA==', 'RUxFTUVOVF9QQUdFX1RJVExF', 'RUxFTUVOVF9QQUdFX1RJVExF', 'IA==', 'SUQ=', 'SUJMT0NLX0lE', 'TkFNRQ==', 'SUJMT0NLX1NFQ1RJT05fSUQ=', 'SUJMT0NLX0lE', 'UEFSQU0y', 'SUQ=', 'SVRFTV9JRA==', 'aWRfaW5jbHVkZQ==', 'IA==', 'SVRFTV9JRA==', 'dGFncw==', 'VEFHUw==', '', 'IA==', 'VEFHUw==', 'cHJvcHM=', 'cmVpbmRleF9jYWNoZQ==', 'c2VhcmNoYWJsZV9wcm9wc18=', 'UEFSQU0y', 'c29ydA==', 'YXNj', 'QUNUSVZF', 'WQ==', 'U0VBUkNIQUJMRQ==', 'WQ==', 'SUJMT0NLX0lE', 'UEFSQU0y', 'c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'SUQ=', 'U0VDVElPTl9QQUdFX1RJVExF', 'TkFNRQ==', 'U0VDVElPTl9QQUdFX1RJVExF', 'TkFNRQ==', 'Jm5ic3A7', 'IA==', 'TkFNRQ==', 'Uw==', 'SUQ=', 'SUQ=', 'SUQ=', 'TkFNRQ==', 'TkFNRQ==', 'L1w8Ylw+KC4qKVw8XC9iXD4vVXNp', 'IA==', 'Cg==', 'IA==', 'PGI+', 'PC9iPg==', 'IyM=', 'IA==', 'IA==', 'IA==', 'IA==', 'IA==', 'bWFueQ==', 'bWFueQ==', 'IA==', 'cmVndWxhcg==', 'L14=', 'JC8=', 'd29yZA==', 'b25l', 'b25l', 'cmVndWxhcg==', 'L14=', 'JC8=', 'd29yZA==', 'd29yZA==', 'IA==', 'RE9DVU1FTlRfUk9PVA==', 'YWdfc21hcnRzZWFyY2hfcnVsZXNf', 'Lw==', 'L2FnX3NtYXJ0c2VhcmNoXw==', 'L3J1bGVz', 'cnVsZXM=', 'fHw=', 'fA==', 'Lg==', 'Kg==', 'XC4=', 'Lio=', 'IA==', 'bWFueQ==', 'cmVndWxhcg==', 'Kg==', 'd29yZA==', 'b25l', 'cmVndWxhcg==', 'Kg==', 'd29yZA==', 'cnVsZXM=', 'IA==', 'MzAxIE1vdmVkIHBlcm1hbmVudGx5', 'RE9DVU1FTlRfUk9PVA==', 'U0lURV9JRA==', 'YWdzbV9yZHJ1bGVzXw==', 'Xw==', 'Lw==', 'L2FnX3NtYXJ0c2VhcmNoXw==', 'L3JkcnVsZXMv', 'cnVsZXM=', 'fHw=', 'fA==', 'IA==', 'Lg==', 'Kg==', 'XC4=', 'Lio=', 'cnVsZXM=', 'QlhfVVRG', 'L1teXHdcZF0vdWk=', 'L1snXCI/ITpefnxAJD0rKiYuLDsoKVwtXyNcW1xdXDxcPlwvXS9p', 'LyhccyspL2k=', 'IA==', 'QVJUVVJHT0xVQkVWX1NNQVJUU0VBUkNIX0VfUkVQTEFDRQ==', 'QVJUVVJHT0xVQkVWX1NNQV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', 'ZXh0ZW5kZWRfbW9kZQ==', 'bW9kZQ==', 'c3RhbmRhcnQ=', 'bWV0YXBob25lX21vZGU=', 'bW9kZV9tZXRhcGhvbmU=', 'Tg==', 'c3RyaXBvc19tb2Rl', 'ZXh0ZW5kZWRfbW9kZQ==', 'dHlwZQ==', 'ZnVsbA==', 'aXNfbnVt', 'L1tcZF0rL2k=', 'dHJhbnM=', 'aXNfbnVt', 'ZXh0ZW5kZWRfbW9kZQ==', 'c3RlbW1pbmc=', 'c3RlbW1pbmdfZnVsbA==', 'd29yZA==', 'c3RlbW1pbmdfZnVsbA==', 'c3RlbW1pbmdfZnVsbA==', 'd29yZF9zdGVtbWluZw==', 'd29yZF9sZW4=', 'dHJhbnM=', 'd29yZA==', 'd29yZF9sZW4=', 'd29yZF9sZW5fY2hlY2s=', 'd29yZF9sZW4=', 'd29yZF9sZW5fY2hlY2s=', 'd29yZF9sZW5fY2hlY2s=', 'cHJlcGFyZQ==', 'dHJhbnM=', 'd29yZHNjb3VudA==', 'd29yZF9zdGVtbWluZw==', 'd29yZA==', 'd29yZF9zdGVtbWluZw==', 'dHlwZQ==', 'dGl0bGU=', 'dHlwZQ==', 'ZnVsbA==', 'ZXh0ZW5kZWRfbW9kZQ==', 'bWV0YXBob25lX21vZGU=', 'c3RyaXBvc19tb2Rl', 'a2V5c2VhcmNo', 'c3RyaXBvc19tb2Rl', 'd29yZF9sZW4=', 'c3RyaXBvc19zdGVtbWluZw==', 'd29yZF9zdGVtbWluZw==', 'd29yZF9zdGVtbWluZw==', 'd29yZA==', 'c3RyaXBvc19zdGVtbWluZw==', 'ZXh0ZW5kZWRfbW9kZQ==', 'ZXh0ZW5kZWRfbW9kZQ==', 'dHlwZQ==', 'dGl0bGU=', 'c3RyaXBvc19zdGVtbWluZw==', 'c3RyaXBvc19zdGVtbWluZw==', 'c3RyaXBvcw==', 'aXNfbnVt', 'bWV0YXBob25lX21vZGU=', 'd29yZF9sZW4=', 'L1tcZF0rL2k=', 'dHJhbnM=', 'd29yZF9sZW5fY2hlY2s=', 'd29yZA==', 'd29yZA==', 'd29yZA==', 'c2ltaWxhcml0eQ==', 'c2ltaWxhcml0eV9y', 'c2ltaWxhcml0eV9ybA==', 'Q0FydHVyZ29sdWJldlNtYXJ0c2VhcmNo', 'Y21wU2ltaWxhcml0eVNvcnQ=', 'd29yZA==', 'bWV0YXBob25l', '', 'd29yZA==', 'IA==', '', 'ZXhwbG9kZQ==', 'cmVzdWx0cw==', 'ZmlsdGVyX21hcA==', '', 'ZmlsdGVy', 'ZmlsdGVy', 'ZmlsdGVy', 'TU9EVUxFX0lE', 'ZmlsdGVyX21hcA==', 'TU9EVUxFX0lE', 'Xw==', 'UEFSQU0x', 'ZmlsdGVyX21hcA==', 'UEFSQU0x', 'Og==', 'UEFSQU0y', 'ZmlsdGVyX21hcA==', 'Xw==', 'UEFSQU0y', 'Xw==', 'cmVzdWx0', 'dmFyaWFudHM=', 'ZXJyb3I=', 'Y2ljbGU=', 'bWFpbl9hcnI=', 'IA==', 'LyhccyspL2k=', 'IA==', 'bWFpbl9hcnI=', 'ZW4=', 'cnU=', 'dmFyaWFudHM=', 'cnU=', 'cnU=', 'ZW4=', 'dmFyaWFudHM=', 'ZW4=', 'dmFyaWFudHM=', 'cnU=', 'dmFyaWFudHM=', 'ZW4=', 'cnU=', 'Lw==', 'L2FnX3NtYXJ0c2VhcmNoXw==', 'L2d1ZXNzX3dvcmQv', 'ZmluZA==', 'Y2ljbGU=', 'Y2ljbGU=', 'ZmluZA==', 'cmVzdWx0', 'cmVzdWx0', 'cmVzdWx0', 'IA==', 'cmVzdWx0', 'c2ltaWxhcml0eV9ybA==', 'c2ltaWxhcml0eV9ybA==', 'c2ltaWxhcml0eQ==', 'c2ltaWxhcml0eQ==', 'Xw==', 'Lw==', 'L2FnX3NtYXJ0c2VhcmNoXw==', 'L2VtcHR5bGluZXM=', 'ZW1wdHk=', 'WQ==', 'Lw==', 'L2FnX3NtYXJ0c2VhcmNoXw==', 'L2VtcHR5bGluZXM=', 'ZW1wdHk=', 'WQ==', 'IA==', 'L1tcZF0rL2k=', 'cw==', 'Yw==', 'cnU=', 'cnU=', 'YXJ0dXJnb2x1YmV2X3NtYXJ0c2VhcmNoX09MRFNJVEVFWFBJUkVEQVRF', 'ZXhwaXJlX21lc3NfY3VzdG9tMg==');
        }
        return base64_decode($_480678321[$_158845773]);
    }
}
$_483898439 = GetMessage(___2051831914(0));
$_1976906381 = 0;
@$GLOBALS['____1896404214'][0](___2051831914(1) . $GLOBALS['____1896404214'][1]($GLOBALS['____1896404214'][2](___2051831914(2))), ___2051831914(3));
$_1018228996 = round(0.99999999999999);
$_1328640362 = ___2051831914(4);
unset($_970331780);
$_1662207527 = $GLOBALS['____1896404214'][3](___2051831914(5), ___2051831914(6));
$_970331780 = \COption::GetOptionString(___2051831914(7), $GLOBALS['____1896404214'][4](___2051831914(8), ___2051831914(9), $GLOBALS['____1896404214'][5]($_1328640362, round(2), round(4))) . $GLOBALS['____1896404214'][6](___2051831914(10)));
$_533660387 = array(round(17.0) => ___2051831914(11), round(7.0) => ___2051831914(12), round(22.0) => ___2051831914(13), round(12) => ___2051831914(14), round(3) => ___2051831914(15));
$_1899573039 = ___2051831914(16);
while ($_970331780) {
    $_261697619 = ___2051831914(17);
    $_811987677 = $GLOBALS['____1896404214'][7]($_970331780);
    $_953342767 = ___2051831914(18);
    $_261697619 = $GLOBALS['____1896404214'][8](___2051831914(19) . $_261697619, 0, -round(5.0000000000001)) . ___2051831914(20);
    $_372155795 = $GLOBALS['____1896404214'][9]($_261697619);
    $_683996544 = 0;
    for ($_383478750 = 0; $_383478750 < $GLOBALS['____1896404214'][10]($_811987677); $_383478750++) {
        $_953342767 .= $GLOBALS['____1896404214'][11]($GLOBALS['____1896404214'][12]($_811987677[$_383478750]) ^ $GLOBALS['____1896404214'][13]($_261697619[$_683996544]));
        if ($_683996544 == $_372155795 - round(1)) {
            $_683996544 = 0;
        } else {
            $_683996544 += round(1.0);
        }
    }
    $_1018228996 = $GLOBALS['____1896404214'][14](0, 0, 0, $GLOBALS['____1896404214'][15]($_953342767[round(6.0)] . $_953342767[round(3.0)]), $GLOBALS['____1896404214'][16]($_953342767[round(1.0)] . $_953342767[round(14)]), $GLOBALS['____1896404214'][17]($_953342767[round(9.999999999999901)] . $_953342767[round(18)] . $_953342767[round(6.9999999999999005)] . $_953342767[round(12)]));
    unset($_261697619);
    break;
}
$_412424829 = ___2051831914(21);
$GLOBALS['____1896404214'][18]($_533660387);
$_628496119 = ___2051831914(22);
$_1899573039 = ___2051831914(23) . $GLOBALS['____1896404214'][19]($_1899573039 . ___2051831914(24), round(2.0), -round(1.0));
@(include $_SERVER[___2051831914(25)] . ___2051831914(26) . $GLOBALS['____1896404214'][20](___2051831914(27), $_533660387));
$_1322240314 = round(2);
while ($GLOBALS['____1896404214'][21](___2051831914(28))) {
    $_430296889 = $GLOBALS['____1896404214'][22]($GLOBALS['____1896404214'][23](___2051831914(29)));
    $_302261129 = ___2051831914(30);
    $_412424829 = $GLOBALS['____1896404214'][24](___2051831914(31)) . $GLOBALS['____1896404214'][25](___2051831914(32), $_412424829, ___2051831914(33));
    $_506982998 = $GLOBALS['____1896404214'][26]($_412424829);
    $_683996544 = min(132, 0, 44);
    for ($_383478750 = 0; $_383478750 < $GLOBALS['____1896404214'][27]($_430296889); $_383478750++) {
        $_302261129 .= $GLOBALS['____1896404214'][28]($GLOBALS['____1896404214'][29]($_430296889[$_383478750]) ^ $GLOBALS['____1896404214'][30]($_412424829[$_683996544]));
        if ($_683996544 == $_506982998 - round(1)) {
            $_683996544 = 0;
        } else {
            $_683996544 += round(0.99999999999999);
        }
    }
    $_1322240314 = $GLOBALS['____1896404214'][31](0, 0, min(106, 0, 35.333333333333), $GLOBALS['____1896404214'][32]($_302261129[round(6.0)] . $_302261129[round(15.9999999999999)]), $GLOBALS['____1896404214'][33]($_302261129[round(9.0)] . $_302261129[round(2)]), $GLOBALS['____1896404214'][34]($_302261129[round(12)] . $_302261129[round(7.0)] . $_302261129[round(14.0)] . $_302261129[round(3)]));
    unset($_412424829);
    break;
}
$_1662207527 = ___2051831914(34) . $GLOBALS['____1896404214'][35]($GLOBALS['____1896404214'][36]($_1662207527, round(3), -round(1.0)) . ___2051831914(35), round(1.0), -round(5.0000000000001));
for ($_383478750 = 0, $_1806787040 = $GLOBALS['____1896404214'][37]() < $GLOBALS['____1896404214'][38](0, min(100, 0, 33.333333333333), min(150, 0, 50), round(5), round(1.0), round(2010)) || $_1018228996 <= round(10), $_1398943198 = $_1018228996 < $GLOBALS['____1896404214'][39](min(132, 0, 44), 0, 0, Date(___2051831914(36)), $GLOBALS['____1896404214'][40](___2051831914(37)) - $_1976906381, $GLOBALS['____1896404214'][41](___2051831914(38))); $_383478750 < round(10), $_1806787040 || $_1398943198 || $_1018228996 != $_1322240314; $_383478750++) {
    return false;
}
$GLOBALS['____1896404214'][42]($_1899573039, $_1018228996);
$GLOBALS['____1896404214'][43]($_1662207527, $_1322240314);
$GLOBALS[___2051831914(39)] = arturgolubev_smartsearch_OLDSITEEXPIREDATE;
use Bitrix\Main\Loader;
use Bitrix\Main\Localization\Loc;
use Arturgolubev\Smartsearch\Hl;
use Arturgolubev\Smartsearch\Tools as Tools;
use Arturgolubev\Smartsearch\Unitools as UTools;
use Arturgolubev\Smartsearch\Encoding;
CModule::AddAutoloadClasses(___2051831914(40), array(___2051831914(41) => ___2051831914(42), ___2051831914(43) => ___2051831914(44), ___2051831914(45) => ___2051831914(46), ___2051831914(47) => ___2051831914(48)));
$GLOBALS['_____1729808644'][0]($_SERVER[___2051831914(49)] . ___2051831914(50));
include ___2051831914(51);
include ___2051831914(52);
class CArturgolubevSmartsearch
{
    const MODULE_ID = 'arturgolubev.smartsearch';
    public $MODULE_ID = 'arturgolubev.smartsearch';
    const RULES_FILE = '/bitrix/tools/arturgolubev.smartsearch/rules.txt';
    const REDIRECT_FILE = '/bitrix/tools/arturgolubev.smartsearch/redirect_SITE_ID.txt';
    const CACHE_TIME = 86400;
    const CACHE_VERSION = 'v502';
    static function iblockLinkPropHandler($_1069084843, $_855499105, $_886507244)
    {
        if ($_1069084843["MODULE_ID"] == 'iblock' && $_1069084843["TITLE"] && $_1069084843["ITEM_ID"]) {
            if ($_1069084843["PARAM2"] == $_855499105 && !empty($_886507244) && Encoding::exSubstr($_1069084843["ITEM_ID"], 0, 1) != "S" && Loader::includeModule("iblock")) {
                foreach ($_886507244 as $_616805822) {
                    $_1433366710 = CIBlockElement::GetProperty($_1069084843["PARAM2"], $_1069084843["ITEM_ID"], array("sort" => "asc"), array("ID" => $_616805822));
                    while ($_1155961804 = $_1433366710->Fetch()) {
                        if ($_1155961804[___2051831914(53)] == ___2051831914(54) && $_1155961804[___2051831914(55)]) {
                            $_624930346 = CIBlockElement::GetList([], array(___2051831914(56) => $_1155961804[___2051831914(57)]), false, array(___2051831914(58) => round(1.0)), array(___2051831914(59), ___2051831914(60)));
                            while ($_534753546 = $_624930346->Fetch()) {
                                $_1069084843[___2051831914(61)] .= ___2051831914(62) . $_534753546[___2051831914(63)];
                            }
                        }
                        if ($_1155961804[___2051831914(64)] == ___2051831914(65) && $_1155961804[___2051831914(66)]) {
                            $_624930346 = CIBlockElement::GetList([], array(___2051831914(67) => $_1155961804[___2051831914(68)]), false, array(___2051831914(69) => round(1.0)), array(___2051831914(70), ___2051831914(71)));
                            while ($_534753546 = $_624930346->Fetch()) {
                                $_1069084843[___2051831914(72)] .= ___2051831914(73) . $_534753546[___2051831914(74)];
                            }
                        }
                    }
                }
            }
        }
        return $_1069084843;
    }
    static function onProductChange(\Bitrix\Main\Entity\Event $_58836178)
    {
        $_1603254431 = $_58836178->getParameter("id");
        if (Loader::includeModule(self::MODULE_ID) && IntVal($_1603254431[___2051831914(75)]) > 0 && Loader::includeModule(___2051831914(76))) {
            CIBlockElement::UpdateSearch($_1603254431[___2051831914(77)], true);
        }
    }
    static function checkIbSectionActive($_1578106803, $_1637168817)
    {
        $_1361639245 = UTools::getStorage('section_cache', 'section_' . $_1637168817);
        if (!$GLOBALS['____1896404214'][44]($_1361639245)) {
            $_1361639245 = [___2051831914(78) => $_1637168817, ___2051831914(79) => ___2051831914(80), ___2051831914(81) => []];
            $_1800434227 = CIBlockSection::GetNavChain($_1578106803, $_1637168817, array(___2051831914(82), ___2051831914(83)), true);
            foreach ($_1800434227 as $_1726513942) {
                if ($_1726513942[___2051831914(84)] == ___2051831914(85)) {
                    $_1361639245[___2051831914(86)] = ___2051831914(87);
                }
            }
            UTools::setStorage(___2051831914(88), ___2051831914(89) . $_1637168817, $_1361639245);
        }
        return $_1361639245;
    }
    static function onIndexHandler($_1069084843)
    {
        $_285437414 = $GLOBALS['____1896404214'][45](UTools::getSetting("exclude_by_module"));
        if ($_285437414 && $_1069084843[___2051831914(90)] && $_1069084843[___2051831914(91)] && $_1069084843[___2051831914(92)]) {
            $_1371070995 = $GLOBALS['____1896404214'][46](___2051831914(93), $_285437414);
            $_1371070995 = $GLOBALS['____1896404214'][47](function ($_750799623) {
                return $GLOBALS['____1896404214'][48]($_750799623);
            }, $_1371070995);
            if ($GLOBALS['____1896404214'][49]($_1069084843[___2051831914(94)], $_1371070995)) {
                $_1069084843[___2051831914(95)] = ___2051831914(96);
                $_1069084843[___2051831914(97)] = ___2051831914(98);
                $_1069084843[___2051831914(99)] = ___2051831914(100);
            }
        }
        $_2138519099 = $GLOBALS['____1896404214'][50](true);
        if ($_1069084843[___2051831914(101)] == ___2051831914(102) && $_1069084843[___2051831914(103)] && $_1069084843[___2051831914(104)]) {
            $_1069084843[___2051831914(105)] = min(22, 0, 7.3333333333333);
            $_1112276827 = 0;
            $_1714194773 = array(___2051831914(106) => Encoding::exSubstr($_1069084843[___2051831914(107)], min(242, 0, 80.666666666667), round(1.0)) == ___2051831914(108), ___2051831914(109) => Encoding::exSubstr($_1069084843[___2051831914(110)], 0, round(9)) == ___2051831914(111), ___2051831914(112) => UTools::getSetting(___2051831914(113)) != ___2051831914(114), ___2051831914(115) => UTools::getSetting(___2051831914(116)) == ___2051831914(117) ? round(1.0) : 0, ___2051831914(118) => UTools::getSetting(___2051831914(119)) == ___2051831914(120) ? round(1.0) : 0, ___2051831914(121) => UTools::getSetting(___2051831914(122)) == ___2051831914(123) ? round(1.0) : 0, ___2051831914(124) => UTools::getSetting(___2051831914(125)) == ___2051831914(126) ? round(1.0) : 0, ___2051831914(127) => UTools::getSetting(___2051831914(128)) == ___2051831914(129) ? round(1.0) : min(142, 0, 47.333333333333), ___2051831914(130) => UTools::getSetting(___2051831914(131)) == ___2051831914(132) ? round(1) : min(74, 0, 24.666666666667), ___2051831914(133) => UTools::getSetting(___2051831914(134)) == ___2051831914(135) ? round(1) : 0, ___2051831914(136) => UTools::getSetting(___2051831914(137)) == ___2051831914(138) ? round(1.0) : 0, ___2051831914(139) => UTools::getSetting(___2051831914(140)) == ___2051831914(141) ? round(1) : min(30, 0, 10), ___2051831914(142) => UTools::getSetting(___2051831914(143), ___2051831914(144)) == ___2051831914(145) ? round(0.99999999999999) : 0, ___2051831914(146) => UTools::getSetting(___2051831914(147)) == ___2051831914(148), ___2051831914(149) => UTools::getSetting(___2051831914(150)) == ___2051831914(151), ___2051831914(152) => UTools::getSetting(___2051831914(153)) == ___2051831914(154), ___2051831914(155) => UTools::getSetting(___2051831914(156)) == ___2051831914(157), ___2051831914(158) => UTools::getSetting(___2051831914(159)) == ___2051831914(160), ___2051831914(161) => UTools::getSetting(___2051831914(162)) == ___2051831914(163));
            if (!$_1714194773[___2051831914(164)] && $_1069084843[___2051831914(165)] != ___2051831914(166)) {
                $_1069084843[___2051831914(167)] = ___2051831914(168);
            }
            $_1898450267 = $_1069084843[___2051831914(169)];
            if ($_1714194773[___2051831914(170)]) {
                $_101115418 = Encoding::exSubstr($_1069084843[___2051831914(171)], round(0.99999999999999));
                if ($_1714194773[___2051831914(172)]) {
                    $_1389352962 = new \Bitrix\Iblock\InheritedProperty\SectionValues($_1069084843[___2051831914(173)], $_101115418);
                    $_125133661 = $_1389352962->getValues();
                    if ($_125133661[___2051831914(174)]) {
                        $_1898450267 = $_125133661[___2051831914(175)] . ___2051831914(176) . $_1898450267;
                    }
                }
                $_1069084843[___2051831914(177)][___2051831914(178)] = ___2051831914(179);
                if ($_1714194773[___2051831914(180)]) {
                    $_1898450267 .= ___2051831914(181) . $_101115418;
                }
                if ($_1714194773[___2051831914(182)]) {
                    $_294709360 = UTools::getStorage(___2051831914(183), ___2051831914(184) . $_1069084843[___2051831914(185)]);
                    if (!$GLOBALS['____1896404214'][51]($_294709360)) {
                        $_294709360 = [];
                        $_1555307494 = CUserTypeEntity::GetList(array(___2051831914(186) => ___2051831914(187)), array(___2051831914(188) => ___2051831914(189) . $_1069084843[___2051831914(190)] . ___2051831914(191), ___2051831914(192) => ___2051831914(193)));
                        while ($_1927511793 = $_1555307494->Fetch()) {
                            $_294709360[] = $_1927511793[___2051831914(194)];
                        }
                        UTools::setStorage(___2051831914(195), ___2051831914(196) . $_1069084843[___2051831914(197)], $_294709360);
                    }
                    if (!empty($_294709360)) {
                        $_752790360 = array(___2051831914(198) => $_1069084843[___2051831914(199)], ___2051831914(200) => $_101115418);
                        $_711792682 = CIBlockSection::GetList(array($_164526973 => $_1094267628), $_752790360, false, $GLOBALS['____1896404214'][52]($_294709360, array(___2051831914(201), ___2051831914(202), ___2051831914(203))));
                        while ($_214584272 = $_711792682->GetNext()) {
                            foreach ($_294709360 as $_1456166566) {
                                if ($_214584272[$_1456166566]) {
                                    $_1898450267 .= ___2051831914(204) . $_214584272[$_1456166566];
                                }
                            }
                        }
                    }
                }
                if ($_1714194773[___2051831914(205)]) {
                    $_1800434227 = CIBlockSection::GetNavChain($_1069084843[___2051831914(206)], $_101115418, array(___2051831914(207), ___2051831914(208), ___2051831914(209)), true);
                    foreach ($_1800434227 as $_1726513942) {
                        if ($_1726513942[___2051831914(210)] != $_101115418) {
                            $_1898450267 .= ___2051831914(211) . $_1726513942[___2051831914(212)];
                        }
                    }
                }
                if ($_1714194773[___2051831914(213)]) {
                    $_1069084843[___2051831914(214)] = round(20000.0000000001);
                }
            } elseif ($_1714194773[___2051831914(215)]) {
                $_1069084843[___2051831914(216)][___2051831914(217)] = ___2051831914(218);
                if ($_1714194773[___2051831914(219)]) {
                    $_1069084843[___2051831914(220)] = round(17500);
                }
            } elseif ($GLOBALS['____1896404214'][53]($_1069084843[___2051831914(221)])) {
                if ($_1714194773[___2051831914(222)]) {
                    $_1389352962 = new \Bitrix\Iblock\InheritedProperty\ElementValues($_1069084843[___2051831914(223)], $_1069084843[___2051831914(224)]);
                    $_125133661 = $_1389352962->getValues();
                    if ($_125133661[___2051831914(225)]) {
                        $_1898450267 = $_125133661[___2051831914(226)] . ___2051831914(227) . $_1898450267;
                    }
                }
                $_1859534688 = array(___2051831914(228), ___2051831914(229), ___2051831914(230), ___2051831914(231));
                $_788117859 = array(___2051831914(232) => $_1069084843[___2051831914(233)], ___2051831914(234) => $_1069084843[___2051831914(235)]);
                if ($_1714194773[___2051831914(236)]) {
                    $_1898450267 .= ___2051831914(237) . $_1069084843[___2051831914(238)];
                }
                if ($_1714194773[___2051831914(239)] && $_1069084843[___2051831914(240)] != ___2051831914(241)) {
                    $_1898450267 .= ___2051831914(242) . $_1069084843[___2051831914(243)];
                }
                if ($_1714194773[___2051831914(244)]) {
                    $_1417891494 = UTools::getStorage(___2051831914(245), ___2051831914(246) . $_1069084843[___2051831914(247)]);
                    if (!$GLOBALS['____1896404214'][54]($_1417891494)) {
                        $_1417891494 = [];
                        $_1704928403 = CIBlockProperty::GetList(array(___2051831914(248) => ___2051831914(249)), array(___2051831914(250) => ___2051831914(251), ___2051831914(252) => ___2051831914(253), ___2051831914(254) => $_1069084843[___2051831914(255)]));
                        while ($_1276358259 = $_1704928403->GetNext()) {
                            $_1417891494[] = $_1276358259;
                        }
                        UTools::setStorage(___2051831914(256), ___2051831914(257) . $_1069084843[___2051831914(258)], $_1417891494);
                    }
                }
                if (Loader::includeModule(___2051831914(259))) {
                    $_1859534688[] = ___2051831914(260);
                    $_1859534688[] = ___2051831914(261);
                }
                if ($_1714194773[___2051831914(262)]) {
                    $_1859534688[] = ___2051831914(263);
                    $_1859534688[] = ___2051831914(264);
                }
                if (true) {
                    $_624930346 = CIBlockElement::GetList([], $_788117859, false, array(___2051831914(265) => round(1)), $_1859534688);
                    if ($_695242851 = $_624930346->GetNextElement()) {
                        $_794513865 = $_695242851->GetFields();
                        $_2085094097 = $_695242851->GetProperties();
                        if ($_1714194773[___2051831914(266)] && !$_794513865[___2051831914(267)] && $_794513865[___2051831914(268)] != round(4)) {
                            $_1112276827 = round(1.0);
                            $_1068267691 = ___2051831914(269);
                        }
                        if (!$_1112276827 && $GLOBALS['____1896404214'][55]($_2085094097[___2051831914(270)]) && $_2085094097[___2051831914(271)][___2051831914(272)]) {
                            if ($_1714194773[___2051831914(273)] || $_1714194773[___2051831914(274)]) {
                                $_1729008442 = CIBlockElement::GetList([], array(___2051831914(275) => $_2085094097[___2051831914(276)][___2051831914(277)]), false, array(___2051831914(278) => round(1.0)), array(___2051831914(279), ___2051831914(280), ___2051831914(281), ___2051831914(282)));
                                if ($_1059610796 = $_1729008442->Fetch()) {
                                    if ($_1714194773[___2051831914(283)] && $_1059610796[___2051831914(284)] == ___2051831914(285)) {
                                        $_1112276827 = round(1.0);
                                        $_1068267691 = ___2051831914(286);
                                    }
                                    if (!$_1112276827 && $_1714194773[___2051831914(287)] && $_1059610796[___2051831914(288)]) {
                                        $_897424182 = self::checkIbSectionActive($_1059610796[___2051831914(289)], $_1059610796[___2051831914(290)]);
                                        if ($_897424182[___2051831914(291)] == ___2051831914(292)) {
                                            $_1112276827 = round(1.0);
                                            $_1068267691 = ___2051831914(293);
                                        }
                                    }
                                }
                            }
                        }
                        if ($_794513865[___2051831914(294)]) {
                            if ($_1714194773[___2051831914(295)] && $_794513865[___2051831914(296)] == ___2051831914(297)) {
                                $_1112276827 = round(1);
                                $_1068267691 = ___2051831914(298);
                            }
                            if ($_1714194773[___2051831914(299)] && $_794513865[___2051831914(300)] != round(3.0) && $_794513865[___2051831914(301)] < round(1.0)) {
                                $_1112276827 = round(0.99999999999999);
                                $_1068267691 = ___2051831914(302);
                            }
                        }
                        $_1069084843[___2051831914(303)][___2051831914(304)] = $_794513865[___2051831914(305)] ? $_794513865[___2051831914(306)] : ___2051831914(307);
                        if ($_794513865[___2051831914(308)]) {
                            if ($_1714194773[___2051831914(309)] && $_794513865[___2051831914(310)] == ___2051831914(311)) {
                                if ($_1714194773[___2051831914(312)] && $_794513865[___2051831914(313)] > 0) {
                                    $_1069084843[___2051831914(314)] += round(10001.0);
                                } else {
                                    $_1069084843[___2051831914(315)] += round(10000);
                                }
                            } elseif ($_1714194773[___2051831914(316)] && $_794513865[___2051831914(317)] > 0) {
                                $_1069084843[___2051831914(318)] += round(10000);
                            }
                        }
                        if (!$_1112276827) {
                            foreach ($_1417891494 as $_1009434105) {
                                $_665612764 = $_2085094097[$_1009434105[___2051831914(319)]];
                                if (($_1009434105[___2051831914(320)] == ___2051831914(321) || $_1009434105[___2051831914(322)] == ___2051831914(323) || $_1009434105[___2051831914(324)] == ___2051831914(325)) && !$_1009434105[___2051831914(326)]) {
                                    if ($GLOBALS['____1896404214'][56]($_665612764[___2051831914(327)]) && !empty($_665612764[___2051831914(328)])) {
                                        $_1898450267 .= ___2051831914(329) . $GLOBALS['____1896404214'][57](___2051831914(330), $_665612764[___2051831914(331)]);
                                    } elseif ($_665612764[___2051831914(332)] != ___2051831914(333)) {
                                        $_1898450267 .= ___2051831914(334) . $_665612764[___2051831914(335)];
                                    }
                                } elseif ($_1009434105[___2051831914(336)] == ___2051831914(337) && $_1009434105[___2051831914(338)] == ___2051831914(339)) {
                                    $_1734481353 = $GLOBALS['____1896404214'][58]($_665612764[___2051831914(340)]) ? $_665612764[___2051831914(341)] : array($_665612764[___2051831914(342)]);
                                    $_2035383880 = Hl::getPropValueField($_1009434105, $_1734481353);
                                    if ($GLOBALS['____1896404214'][59]($_2035383880)) {
                                        $_1898450267 .= ___2051831914(343) . $GLOBALS['____1896404214'][60](___2051831914(344), $_2035383880);
                                    }
                                } elseif ($_1009434105[___2051831914(345)] == ___2051831914(346) && $_1009434105[___2051831914(347)] == ___2051831914(348)) {
                                    if ($GLOBALS['____1896404214'][61]($_665612764[___2051831914(349)]) && $_665612764[___2051831914(350)][___2051831914(351)]) {
                                        $_1898450267 .= ___2051831914(352) . $_665612764[___2051831914(353)][___2051831914(354)];
                                    }
                                } else {
                                }
                            }
                        }
                        if ($_1714194773[___2051831914(355)]) {
                            if ($_794513865[___2051831914(356)] || $_794513865[___2051831914(357)]) {
                                $_1069084843[___2051831914(358)] += round(0.99999999999999);
                            }
                        }
                    }
                }
                if (!$_1112276827 && $_794513865[___2051831914(359)]) {
                    $_238332113 = self::_getSectionsInfo($_794513865);
                    if ($_1714194773[___2051831914(360)] && $_238332113[___2051831914(361)]) {
                        $_1112276827 = round(1.0);
                        $_1068267691 = ___2051831914(362);
                    }
                    if ($_1714194773[___2051831914(363)]) {
                        $_1898450267 .= ___2051831914(364) . $_238332113[___2051831914(365)];
                    }
                    $_1069084843[___2051831914(366)] += $_238332113[___2051831914(367)];
                }
                if ($_1112276827) {
                    $_1069084843[___2051831914(368)] = ___2051831914(369);
                    $_1069084843[___2051831914(370)] = ___2051831914(371);
                    $_1069084843[___2051831914(372)] = ___2051831914(373);
                    return $_1069084843;
                }
            }
            $_1069084843[___2051831914(374)] = $GLOBALS['____1896404214'][62]($GLOBALS['____1896404214'][63]($_1898450267));
            $_1069084843[___2051831914(375)] = self::checkReplaceSymbols($_1069084843[___2051831914(376)]);
            $_1069084843[___2051831914(377)] = self::checkReplaceRules($_1069084843[___2051831914(378)]);
            $_1069084843[___2051831914(379)] = self::prepareQuery($_1069084843[___2051831914(380)]);
            $_1069084843[___2051831914(381)] = self::checkReplaceRules($_1069084843[___2051831914(382)]);
            $_1069084843[___2051831914(383)] = self::clearExceptionsWords($_1069084843[___2051831914(384)]);
            if ($_1714194773[___2051831914(385)]) {
                $_1069084843[___2051831914(386)] = ___2051831914(387);
            } else {
                $_1069084843[___2051831914(388)] = $GLOBALS['____1896404214'][64]($GLOBALS['____1896404214'][65]($_1069084843[___2051831914(389)]));
                $_1069084843[___2051831914(390)] = self::prepareQuery($_1069084843[___2051831914(391)]);
                $_1069084843[___2051831914(392)] = self::clearExceptionsWords($_1069084843[___2051831914(393)]);
            }
        }
        return $_1069084843;
    }
    static function _getSectionsInfo($_794513865)
    {
        $_238332113 = array('base_groups' => [], 'weight' => 0, 'name_path' => '', 'exclude' => 1);
        $_406643809 = CIBlockElement::GetElementGroups($_794513865[___2051831914(394)], true, array(___2051831914(395)));
        while ($_1759790107 = $_406643809->Fetch()) {
            $_238332113[___2051831914(396)][] = $_1759790107[___2051831914(397)];
        }
        foreach ($_238332113[___2051831914(398)] as $_1759790107) {
            $_96157981 = UTools::getStorage(___2051831914(399), $_1759790107);
            if (!isset($_96157981)) {
                $_96157981 = [];
                $_1800434227 = CIBlockSection::GetNavChain($_794513865[___2051831914(400)], $_1759790107, array(___2051831914(401), ___2051831914(402), ___2051831914(403)), true);
                foreach ($_1800434227 as $_1726513942) {
                    if ($_1726513942[___2051831914(404)] == ___2051831914(405)) {
                        $_96157981[___2051831914(406)] = round(0.99999999999999);
                    }
                    $_96157981[___2051831914(407)] .= ___2051831914(408) . $_1726513942[___2051831914(409)];
                    $_1953003244 = CIBlockSection::GetList(array(___2051831914(410) => ___2051831914(411)), array(___2051831914(412) => $_794513865[___2051831914(413)], ___2051831914(414) => $_1726513942[___2051831914(415)]), false, array(___2051831914(416), ___2051831914(417), ___2051831914(418), ___2051831914(419)));
                    if ($_1475227861 = $_1953003244->GetNext(false, false)) {
                        if ($GLOBALS['____1896404214'][66]($_1475227861[___2051831914(420)]) > 0) {
                            $_96157981[___2051831914(421)] = $GLOBALS['____1896404214'][67]($_1475227861[___2051831914(422)]);
                        }
                    }
                }
                UTools::setStorage(___2051831914(423), $_1759790107, $_96157981);
            }
            if (!$_96157981[___2051831914(424)]) {
                $_238332113[___2051831914(425)] = 0;
            }
            $_238332113[___2051831914(426)] .= $_96157981[___2051831914(427)];
            if ($_238332113[___2051831914(428)] < $_96157981[___2051831914(429)]) {
                $_238332113[___2051831914(430)] = $_96157981[___2051831914(431)];
            }
        }
        return $_238332113;
    }
    static function getProductIdByMixed($_213654330 = [])
    {
        return Tools::getProductIdByMixed($_213654330);
    }
    static function getRealElementsName($_1633664961)
    {
        $_1361639245 = [];
        if (!Loader::includeModule(___2051831914(432)) || empty($_1633664961)) {
            return array();
        }
        $_959124873 = UTools::getSetting(___2051831914(433)) == ___2051831914(434);
        $_1820480377 = [];
        $_607503337 = [];
        foreach ($_1633664961 as $_877318812) {
            if (Encoding::exStrstr($_877318812, ___2051831914(435))) {
                $_607503337[] = $GLOBALS['____1896404214'][68](___2051831914(436), ___2051831914(437), $_877318812);
            } else {
                $_1820480377[] = $GLOBALS['____1896404214'][69](___2051831914(438), ___2051831914(439), $_877318812);
            }
        }
        if (!empty($_1820480377)) {
            $_329016198 = CIBlockElement::GetList([], array(___2051831914(440) => $_1820480377), false, false, array(___2051831914(441), ___2051831914(442), ___2051831914(443)));
            while ($_794513865 = $_329016198->Fetch()) {
                if ($_959124873) {
                    $_1389352962 = new \Bitrix\Iblock\InheritedProperty\ElementValues($_794513865[___2051831914(444)], $_794513865[___2051831914(445)]);
                    $_125133661 = $_1389352962->getValues();
                    if ($_125133661[___2051831914(446)]) {
                        $_794513865[___2051831914(447)] = $_125133661[___2051831914(448)];
                    }
                }
                $_794513865[___2051831914(449)] = $GLOBALS['____1896404214'][70](___2051831914(450), ___2051831914(451), $_794513865[___2051831914(452)]);
                $_1361639245[$_794513865[___2051831914(453)]] = array(___2051831914(454) => $_794513865[___2051831914(455)], ___2051831914(456) => $GLOBALS['____1896404214'][71]($_794513865[___2051831914(457)]));
            }
        }
        if (!empty($_607503337)) {
            $_1953003244 = CIBlockSection::GetList(array($_164526973 => $_1094267628), array(___2051831914(458) => $_607503337), false, array(___2051831914(459), ___2051831914(460), ___2051831914(461)));
            while ($_1132317197 = $_1953003244->GetNext()) {
                if ($_959124873) {
                    $_1389352962 = new \Bitrix\Iblock\InheritedProperty\SectionValues($_1132317197[___2051831914(462)], $_1132317197[___2051831914(463)]);
                    $_125133661 = $_1389352962->getValues();
                    if ($_125133661[___2051831914(464)]) {
                        $_1132317197[___2051831914(465)] = $_125133661[___2051831914(466)];
                    }
                }
                $_1132317197[___2051831914(467)] = $GLOBALS['____1896404214'][72](___2051831914(468), ___2051831914(469), $_1132317197[___2051831914(470)]);
                $_1361639245[___2051831914(471) . $_1132317197[___2051831914(472)]] = array(___2051831914(473) => $_1132317197[___2051831914(474)], ___2051831914(475) => $GLOBALS['____1896404214'][73]($_1132317197[___2051831914(476)]));
            }
        }
        return $_1361639245;
    }
    static function formatElementName($_1838718465, $_266087297)
    {
        $_1085207753 = UTools::getStorage('search_component', 'words');
        $GLOBALS['____1896404214'][74](___2051831914(477), $_1838718465, $_1652529387);
        $_1792808229 = $_1652529387[round(1.0)];
        if ($GLOBALS['____1896404214'][75]($_1085207753) && $GLOBALS['____1896404214'][76]($_1085207753)) {
            $_1792808229 = $GLOBALS['____1896404214'][77]($_1792808229, $_1085207753);
            $_1792808229 = $GLOBALS['____1896404214'][78]($_1792808229);
        }
        if (!empty($_1792808229)) {
            $_743665128 = [];
            $_177544855 = [];
            $_1306274641 = $GLOBALS['____1896404214'][79](___2051831914(478), $GLOBALS['____1896404214'][80](___2051831914(479), ___2051831914(480), $_266087297));
            if ($GLOBALS['____1896404214'][81]($_1306274641) > 0) {
                foreach ($_1306274641 as $_1456166566) {
                    foreach ($_1792808229 as $_1822508363) {
                        $_1456166566 = $GLOBALS['____1896404214'][82]($_1456166566);
                        if (!$_1456166566) {
                            continue;
                        }
                        if (Encoding::exStripos(self::prepareQuery($_1456166566), $_1822508363) !== false) {
                            $_743665128[] = $_1456166566;
                            $_177544855[] = ___2051831914(481) . $_1456166566 . ___2051831914(482);
                        }
                    }
                }
                if ($GLOBALS['____1896404214'][83]($_743665128) > min(248, 0, 82.666666666667)) {
                    $_266087297 = $GLOBALS['____1896404214'][84]($_743665128, $_177544855, $_266087297);
                }
            }
        }
        return $_266087297;
    }
    static function checkReplaceSymbols($_110927145)
    {
        $_568374845 = UTools::getSetting('break_letters');
        if ($_568374845) {
            $_1616930539 = $GLOBALS['____1896404214'][85](___2051831914(483) . BX_UTF_PCRE_MODIFIER, $_568374845, -round(1.0), PREG_SPLIT_NO_EMPTY);
            $_862559127 = $GLOBALS['____1896404214'][86](___2051831914(484), ToLower($_110927145));
            foreach ($_862559127 as $_683482569 => $_28025695) {
                $_1631702420 = $GLOBALS['____1896404214'][87]($_1616930539, ___2051831914(485), $_28025695);
                if ($_1631702420 != $_28025695) {
                    $_862559127[$_683482569] = $_28025695 . ___2051831914(486) . $_1631702420;
                }
            }
            return $GLOBALS['____1896404214'][88](___2051831914(487), $_862559127);
        } else {
            return $_110927145;
        }
    }
    static function checkReplaceRules($_1907604790)
    {
        $_1496343122 = self::_getReplaceRules();
        $_862559127 = $GLOBALS['____1896404214'][89](___2051831914(488), ToLower($_1907604790));
        if ($GLOBALS['____1896404214'][90]($_1496343122[___2051831914(489)])) {
            foreach ($_1496343122[___2051831914(490)] as $_594957665 => $_619261624) {
                $_1851498813 = [];
                $_224798562 = $GLOBALS['____1896404214'][91](___2051831914(491), $_594957665);
                foreach ($_224798562 as $_1071905959) {
                    foreach ($_862559127 as $_683482569 => $_28025695) {
                        if ($_619261624[___2051831914(492)]) {
                            if ($GLOBALS['____1896404214'][92](___2051831914(493) . $_1071905959 . ___2051831914(494), $_28025695)) {
                                $_1851498813[] = $_683482569;
                                break;
                            }
                        } else {
                            if ($_1071905959 == $_28025695) {
                                $_1851498813[] = $_683482569;
                                break;
                            }
                        }
                    }
                }
                if ($GLOBALS['____1896404214'][93]($_224798562) == $GLOBALS['____1896404214'][94]($_1851498813)) {
                    foreach ($_1851498813 as $_683482569) {
                        unset($_862559127[$_683482569]);
                    }
                    $_862559127[] = $_619261624[___2051831914(495)];
                }
            }
        }
        if ($GLOBALS['____1896404214'][95]($_1496343122[___2051831914(496)])) {
            foreach ($_862559127 as $_683482569 => $_28025695) {
                foreach ($_1496343122[___2051831914(497)] as $_594957665 => $_619261624) {
                    if ($_619261624[___2051831914(498)]) {
                        if ($GLOBALS['____1896404214'][96](___2051831914(499) . $_594957665 . ___2051831914(500), $_28025695)) {
                            $_862559127[$_683482569] = $_619261624[___2051831914(501)];
                            break;
                        }
                    } else {
                        if ($_594957665 == $_28025695) {
                            $_862559127[$_683482569] = $_619261624[___2051831914(502)];
                            break;
                        }
                    }
                }
            }
        }
        return $GLOBALS['____1896404214'][97](___2051831914(503), $_862559127);
    }
    static function _getReplaceRules()
    {
        $_1496343122 = ['one' => [], 'many' => []];
        $_332770044 = $_SERVER[___2051831914(504)] . self::RULES_FILE;
        if ($GLOBALS['____1896404214'][98]($_332770044)) {
            $_1924206662 = new CPHPCache();
            $_1961129703 = $GLOBALS['____1896404214'][99](___2051831914(505) . $GLOBALS['____1896404214'][100]($_332770044));
            $_1611679285 = ___2051831914(506) . SITE_ID . ___2051831914(507) . self::CACHE_VERSION . ___2051831914(508);
            if ($_1924206662->InitCache(self::CACHE_TIME, $_1961129703, $_1611679285)) {
                $_688681973 = $_1924206662->GetVars();
                $_1496343122 = $_688681973[___2051831914(509)];
            } elseif ($_1924206662->StartDataCache()) {
                $_1889836319 = $GLOBALS['____1896404214'][101](PHP_EOL, $GLOBALS['____1896404214'][102]($_332770044));
                if ($GLOBALS['____1896404214'][103]($_1889836319)) {
                    foreach ($_1889836319 as $_1406005735) {
                        $_1064381770 = $GLOBALS['____1896404214'][104](___2051831914(510), $GLOBALS['____1896404214'][105](ToLower($_1406005735)));
                        if (!$_1064381770[min(106, 0, 35.333333333333)] || !$_1064381770[round(1.0)]) {
                            continue;
                        }
                        $_191896382 = $GLOBALS['____1896404214'][106]($_1064381770[0]);
                        $_199458713 = $GLOBALS['____1896404214'][107](___2051831914(511), $_1064381770[round(1.0)]);
                        foreach ($_199458713 as $_904952177) {
                            $_904952177 = $GLOBALS['____1896404214'][108]([___2051831914(512), ___2051831914(513)], [___2051831914(514), ___2051831914(515)], $GLOBALS['____1896404214'][109]($_904952177));
                            if ($_904952177) {
                                if (Encoding::exStrpos($_904952177, ___2051831914(516))) {
                                    $_1496343122[___2051831914(517)][$_904952177] = [___2051831914(518) => Encoding::exStrpos($_904952177, ___2051831914(519)) !== false, ___2051831914(520) => $_191896382];
                                } else {
                                    $_1496343122[___2051831914(521)][$_904952177] = [___2051831914(522) => Encoding::exStrpos($_904952177, ___2051831914(523)) !== false, ___2051831914(524) => $_191896382];
                                }
                            }
                        }
                    }
                }
                $_1924206662->EndDataCache(array(___2051831914(525) => $_1496343122));
            }
        }
        return $_1496343122;
    }
    static function checkRedirectRules($_1074209, $_905729646)
    {
        $_862559127 = $GLOBALS['____1896404214'][110](' ', $_905729646);
        $_1496343122 = self::_getRedirectRules($_1074209, $GLOBALS['____1896404214'][111]($_862559127));
        if ($GLOBALS['____1896404214'][112]($_1496343122)) {
            foreach ($_1496343122 as $_942489733 => $_1382344723) {
                $_1446742334 = $GLOBALS['____1896404214'][113](___2051831914(526), $_942489733);
                foreach ($_1446742334 as $_1884549574) {
                    if (!$GLOBALS['____1896404214'][114]("/{$_1884549574}/i" . BX_UTF_PCRE_MODIFIER, $_905729646)) {
                        continue 2;
                    } else {
                    }
                }
                LocalRedirect($_1382344723, false, ___2051831914(527));
                exit;
            }
        }
    }
    static function _getRedirectRules($_1074209, $_1416789917)
    {
        $_1496343122 = [];
        $_332770044 = $_SERVER[___2051831914(528)] . $GLOBALS['____1896404214'][115](___2051831914(529), $_1074209, self::REDIRECT_FILE);
        if ($GLOBALS['____1896404214'][116]($_332770044)) {
            $_1924206662 = new CPHPCache();
            $_1961129703 = $GLOBALS['____1896404214'][117](___2051831914(530) . $_1074209 . ___2051831914(531) . $GLOBALS['____1896404214'][118]($_332770044));
            $_1611679285 = ___2051831914(532) . SITE_ID . ___2051831914(533) . self::CACHE_VERSION . ___2051831914(534) . $_1416789917;
            if ($_1924206662->InitCache(self::CACHE_TIME, $_1961129703, $_1611679285)) {
                $_688681973 = $_1924206662->GetVars();
                $_1496343122 = $_688681973[___2051831914(535)];
            } elseif ($_1924206662->StartDataCache()) {
                $_686334195 = $GLOBALS['____1896404214'][119](PHP_EOL, $GLOBALS['____1896404214'][120]($_332770044));
                if ($GLOBALS['____1896404214'][121]($_686334195)) {
                    foreach ($_686334195 as $_188838672) {
                        $_1446742334 = $GLOBALS['____1896404214'][122](___2051831914(536), ToLower($_188838672));
                        if (!$_1446742334[0] || !$_1446742334[round(1.0)]) {
                            continue;
                        }
                        foreach ($GLOBALS['____1896404214'][123](___2051831914(537), $_1446742334[round(1.0)]) as $_1026270125) {
                            $_1026270125 = $GLOBALS['____1896404214'][124]($_1026270125);
                            if ($_1026270125) {
                                if ($GLOBALS['____1896404214'][125]($GLOBALS['____1896404214'][126](___2051831914(538), $_1026270125)) != $_1416789917) {
                                    continue;
                                }
                                $_1026270125 = $GLOBALS['____1896404214'][127](array(___2051831914(539), ___2051831914(540)), array(___2051831914(541), ___2051831914(542)), $_1026270125);
                                $_1496343122[$_1026270125] = $GLOBALS['____1896404214'][128]($_1446742334[0]);
                            }
                        }
                    }
                }
                $_1924206662->EndDataCache(array(___2051831914(543) => $_1496343122));
            }
        }
        return $_1496343122;
    }
    static function prepareQuery($_905729646)
    {
        if ($GLOBALS['____1896404214'][129]("SMARTSEARCH_REPLACE_REGULAR")) {
            $_1052879560 = SMARTSEARCH_REPLACE_REGULAR;
        } else {
            $_1052879560 = $GLOBALS['____1896404214'][130](___2051831914(544)) ? ___2051831914(545) : ___2051831914(546);
        }
        $_905729646 = $GLOBALS['____1896404214'][131](___2051831914(547), ___2051831914(548), ToLower($_905729646));
        if (Loc::getMessage(___2051831914(549))) {
            $_905729646 = $GLOBALS['____1896404214'][132](Loc::getMessage(___2051831914(550)), Loc::getMessage(___2051831914(551)), $_905729646);
        }
        $_1631702420 = $GLOBALS['____1896404214'][133](___2051831914(552), $_905729646);
        $_2031898167 = [];
        foreach ($_1631702420 as $_1179145215) {
            $_1179145215 = $GLOBALS['____1896404214'][134]($_1052879560, ___2051831914(553), $_1179145215);
            if ($_1179145215 && !$GLOBALS['____1896404214'][135]($_1179145215, $_2031898167, true)) {
                $_2031898167[] = $_1179145215;
            }
        }
        return $GLOBALS['____1896404214'][136]($GLOBALS['____1896404214'][137](___2051831914(554), $_2031898167));
    }
    static function clearExceptionsWords($_905729646)
    {
        $_879714427 = self::_getExceptionsWords();
        if ($GLOBALS['____1896404214'][138]($_879714427) && !empty($_879714427)) {
            $_1631702420 = $GLOBALS['____1896404214'][139](___2051831914(555), $_905729646);
            $_2031898167 = [];
            foreach ($_1631702420 as $_1179145215) {
                if ($GLOBALS['____1896404214'][140]($_1179145215, $_879714427)) {
                    continue;
                }
                if ($_1179145215 && !$GLOBALS['____1896404214'][141]($_1179145215, $_2031898167, true)) {
                    $_2031898167[] = $_1179145215;
                }
            }
            $_905729646 = $GLOBALS['____1896404214'][142](___2051831914(556), $_2031898167);
        }
        return $_905729646;
    }
    static function _getExceptionsWords()
    {
        $_1900880373 = UTools::getStorage('page_cache', 'exception_words');
        if ($GLOBALS['____1896404214'][143]($_1900880373)) {
            $_280430428 = $_1900880373;
        } else {
            $_280430428 = [];
            $_1072346455 = UTools::getSetting(___2051831914(557));
            if ($_1072346455) {
                $_280430428 = [];
                $_233763315 = $GLOBALS['____1896404214'][144](___2051831914(558), ToLower($_1072346455));
                foreach ($_233763315 as $_1039531705 => $_1456166566) {
                    $_280430428[$_1039531705] = $GLOBALS['____1896404214'][145]($_1456166566);
                }
            }
            UTools::setStorage(___2051831914(559), ___2051831914(560), $_280430428);
        }
        return $_280430428;
    }
    static function prepBaseArray($_1240392557, $_751931908)
    {
        $_1361639245 = [];
        if ($GLOBALS['____1896404214'][146]($_1240392557) && $GLOBALS['____1896404214'][147]($_1240392557)) {
            $_1052879560 = Tools::getReplaceParams();
            $_1234581912 = Tools::getMinWordLenght();
            foreach ($_1240392557 as $_1179145215) {
                if ($_751931908 && Encoding::exStrlen($_1179145215) < $_1234581912) {
                    continue;
                }
                if ($GLOBALS['____1896404214'][148](___2051831914(561), $_1179145215)) {
                    $_648555671 = $GLOBALS['____1896404214'][149](array(___2051831914(562)), array(___2051831914(563)), $_1179145215);
                    $_648555671 = Tools::num_translit($_648555671, ___2051831914(564), $_1052879560);
                } else {
                    $_648555671 = Tools::ex_translit($_1179145215, ___2051831914(565), $_1052879560);
                }
                if ($_648555671) {
                    $_1361639245[$_1179145215] = $_648555671;
                }
            }
        }
        return $_1361639245;
    }
    static function getWordsListFromDb($_1077779493)
    {
        $_1924206662 = new CPHPCache();
        $_1961129703 = $GLOBALS['____1896404214'][150](___2051831914(566) . $_1077779493[___2051831914(567)]);
        $_1611679285 = ___2051831914(568) . SITE_ID . ___2051831914(569) . self::CACHE_VERSION . ___2051831914(570);
        if ($_1924206662->InitCache(self::CACHE_TIME, $_1961129703, $_1611679285)) {
            $_688681973 = $_1924206662->GetVars();
            $_1361639245 = $_688681973[___2051831914(571)];
        } elseif ($_1924206662->StartDataCache()) {
            $_1240392557 = [];
            $_9849664 = ___2051831914(572);
            $_904952177 = ___2051831914(573);
            $_761166066 = ___2051831914(574) . SITE_ID . ___2051831914(575);
            if ($GLOBALS['____1896404214'][151]($_1077779493[___2051831914(576)]) && $GLOBALS['____1896404214'][152]($_1077779493[___2051831914(577)])) {
                $_753025640 = ___2051831914(578);
                foreach ($_1077779493[___2051831914(579)] as $_1039531705 => $_1744922831) {
                    $_459328808 = min(62, 0, 20.666666666667);
                    if ($_1039531705) {
                        $_753025640 .= ___2051831914(580);
                    }
                    $_753025640 .= ___2051831914(581);
                    if ($_1744922831[___2051831914(582)]) {
                        $_753025640 .= ___2051831914(583) . $_1744922831[___2051831914(584)] . ___2051831914(585);
                        $_459328808 = round(1.0);
                    }
                    if ($_1744922831[___2051831914(586)]) {
                        if ($_459328808) {
                            $_753025640 .= ___2051831914(587);
                        }
                        $_753025640 .= ___2051831914(588) . $_1744922831[___2051831914(589)] . ___2051831914(590);
                        $_459328808 = round(1.0);
                    }
                    if ($GLOBALS['____1896404214'][153]($_1744922831[___2051831914(591)]) && $GLOBALS['____1896404214'][154]($_1744922831[___2051831914(592)])) {
                        if ($_459328808) {
                            $_753025640 .= ___2051831914(593);
                        }
                        if ($GLOBALS['____1896404214'][155]($_1744922831[___2051831914(594)]) == round(1.0)) {
                            $_753025640 .= ___2051831914(595) . $_1744922831[___2051831914(596)][0];
                        } else {
                            $_753025640 .= ___2051831914(597) . $GLOBALS['____1896404214'][156](___2051831914(598), $_1744922831[___2051831914(599)]) . ___2051831914(600);
                        }
                    }
                    $_753025640 .= ___2051831914(601);
                }
                $_761166066 .= ___2051831914(602) . $_753025640 . ___2051831914(603);
            }
            $_261048405 = ___2051831914(604) . $_9849664 . ___2051831914(605) . $_904952177 . ___2051831914(606) . $_761166066 . ___2051831914(607);
            $_624930346 = Tools::dbQuery($_261048405);
            while ($_1069084843 = $_624930346->Fetch()) {
                $_1240392557[] = $_1069084843[___2051831914(608)];
            }
            unset($_624930346);
            $_1361639245 = self::prepBaseArray($_1240392557, 0);
            unset($_1240392557);
            $_1924206662->EndDataCache(array(___2051831914(609) => $_1361639245));
        }
        return $_1361639245;
    }
    static function getBaseWords($_1077779493)
    {
        $_1924206662 = new CPHPCache();
        $_1961129703 = $GLOBALS['____1896404214'][157](___2051831914(610) . $_1077779493[___2051831914(611)]);
        $_1611679285 = ___2051831914(612) . SITE_ID . ___2051831914(613) . self::CACHE_VERSION . ___2051831914(614);
        if ($_1924206662->InitCache(self::CACHE_TIME, $_1961129703, $_1611679285)) {
            $_688681973 = $_1924206662->GetVars();
            $_1361639245 = $_688681973[___2051831914(615)];
        } elseif ($_1924206662->StartDataCache()) {
            $_1361639245 = self::getWordsListFromDb($_1077779493);
            $_1361639245 = $GLOBALS['____1896404214'][158]($_1361639245);
            $_1924206662->EndDataCache(array(___2051831914(616) => $_1361639245));
        }
        return $_1361639245;
    }
    static function getSimilarWordsList($_905729646, $type = 'full', $_1077779493 = [])
    {
        $_2138519099 = $GLOBALS['____1896404214'][159](true);
        $_1077779493[___2051831914(617)] = ___2051831914(618);
        if ($GLOBALS['____1896404214'][160]($_1077779493[___2051831914(619)]) && $GLOBALS['____1896404214'][161]($_1077779493[___2051831914(620)])) {
            foreach ($_1077779493[___2051831914(621)] as $_243600456 => $_1261951158) {
                if ($_1261951158[___2051831914(622)]) {
                    $_1077779493[___2051831914(623)] .= $_1261951158[___2051831914(624)] . ___2051831914(625);
                }
                if ($_1261951158[___2051831914(626)]) {
                    $_1077779493[___2051831914(627)] .= $_1261951158[___2051831914(628)] . ___2051831914(629);
                }
                if ($GLOBALS['____1896404214'][162]($_1261951158[___2051831914(630)])) {
                    $_1077779493[___2051831914(631)] .= $GLOBALS['____1896404214'][163](___2051831914(632), $_1261951158[___2051831914(633)]) . ___2051831914(634);
                }
            }
        }
        if (!$GLOBALS['____1896404214'][164]($_905729646)) {
            $_905729646 = self::prepareQuery($_905729646);
            $_305977071 = self::prepBaseArray($GLOBALS['____1896404214'][165](___2051831914(635), $_905729646), round(1));
        } else {
            $_305977071 = $_905729646;
        }
        if ($GLOBALS['____1896404214'][166]($_305977071) < round(0.99999999999999)) {
            return array();
        }
        $_1077779493[___2051831914(636)] = UTools::getSetting(___2051831914(637)) != ___2051831914(638);
        $_1077779493[___2051831914(639)] = \COption::GetOptionString(___2051831914(640), ___2051831914(641));
        if ($_1077779493[___2051831914(642)] == ___2051831914(643)) {
            $_1825566205 = ___2051831914(644);
        } else {
            $_1825566205 = $type == ___2051831914(645) ? UTools::getSetting(___2051831914(646)) : UTools::getSetting(___2051831914(647));
        }
        $_1924206662 = new CPHPCache();
        $_1961129703 = $GLOBALS['____1896404214'][167]($GLOBALS['____1896404214'][168](___2051831914(648), $_305977071) . $_1825566205 . $_1077779493[___2051831914(649)]);
        $_1611679285 = ___2051831914(650) . SITE_ID . ___2051831914(651) . self::CACHE_VERSION . ___2051831914(652) . $type . ___2051831914(653) . Encoding::exSubstr($GLOBALS['____1896404214'][169](___2051831914(654), $GLOBALS['____1896404214'][170]($_305977071)), 0, round(40));
        if ($_1077779493[___2051831914(655)] && $_1924206662->InitCache(self::CACHE_TIME, $_1961129703, $_1611679285)) {
            $_904952177 = ___2051831914(656);
            $_688681973 = $_1924206662->GetVars();
            $_1361639245 = $_688681973[___2051831914(657)];
        } elseif ($_1924206662->StartDataCache()) {
            $_904952177 = ___2051831914(658);
            $_1361639245 = self::_getSimilarWordsList($_305977071, $type, $_1825566205, $_1077779493);
            $_1924206662->EndDataCache(array(___2051831914(659) => $_1361639245));
        }
        if (UTools::getSetting(___2051831914(660)) == ___2051831914(661)) {
            $_2104148764 = $GLOBALS['____1896404214'][171](true);
            $_160585683 = $GLOBALS['____1896404214'][172]($_2104148764 - $_2138519099, round(3));
            AddMessage2Log(___2051831914(662) . $_904952177 . ___2051831914(663) . $_160585683, self::MODULE_ID, 0);
        }
        return $_1361639245;
    }
    static function _getSimilarWordsList($_305977071, $type, $_1825566205, $_1077779493 = [])
    {
        $_1361639245 = [];
        $_779489667 = self::getWordsListFromDb($_1077779493);
        $_1606107 = min(14, 0, 4.6666666666667);
        foreach ($_305977071 as $_1461620816 => $_822305547) {
            $_419750269 = array(___2051831914(664) => UTools::getSetting(___2051831914(665)) != ___2051831914(666), ___2051831914(667) => $_1461620816, ___2051831914(668) => $_822305547, ___2051831914(669) => $type, ___2051831914(670) => $GLOBALS['____1896404214'][173]($_305977071), ___2051831914(671) => $_1825566205, ___2051831914(672) => $_1077779493[___2051831914(673)], ___2051831914(674) => $_1077779493[___2051831914(675)]);
            $_633674683 = self::getSimilarQueryWord($_779489667, $_419750269);
            if (!empty($_633674683)) {
                $_2098251095[] = $_633674683;
                $_1606107 += ($_1606107 + round(1.0)) * $GLOBALS['____1896404214'][174]($_633674683);
            }
        }
        unset($_779489667);
        $_1051506855 = round(200);
        if (!empty($_2098251095)) {
            if ($_1606107 < $_1051506855) {
                $_294710290 = self::generateVariation($_2098251095);
                $_1840360696 = self::generateVariants($_2098251095);
                foreach ($GLOBALS['____1896404214'][175]($_294710290, $_1840360696) as $_1137336520) {
                    $_1361639245[$GLOBALS['____1896404214'][176]($_1137336520)][] = $GLOBALS['____1896404214'][177](___2051831914(676), $_1137336520);
                }
                unset($_294710290);
                unset($_1840360696);
            } else {
                $_294710290 = self::generateVariation($_2098251095);
                if ($GLOBALS['____1896404214'][178]($_294710290) < $_1051506855) {
                    foreach ($_294710290 as $_1137336520) {
                        $_1361639245[$GLOBALS['____1896404214'][179]($_1137336520)][] = $GLOBALS['____1896404214'][180](___2051831914(677), $_1137336520);
                    }
                }
                $_1361639245[round(1)] = [];
                foreach ($_2098251095 as $_1039531705 => $_1456166566) {
                    foreach ($_1456166566 as $_2052803555 => $_1752154458) {
                        $_1361639245[round(1.0)][] = $_1752154458;
                    }
                }
            }
            foreach ($_1361639245 as $_1818987941 => $_352437611) {
                $_1361639245[$_1818987941] = $GLOBALS['____1896404214'][181]($GLOBALS['____1896404214'][182]($_352437611));
            }
        }
        return $_1361639245;
    }
    static function getSimilarQueryWord($_779489667, $_419750269)
    {
        $_654180742 = [];
        $_1924206662 = new CPHPCache();
        $_1961129703 = $GLOBALS['____1896404214'][183]($_419750269[___2051831914(678)] . ___2051831914(679) . $_419750269[___2051831914(680)] . ___2051831914(681) . $_419750269[___2051831914(682)] . $_419750269[___2051831914(683)]);
        $_1611679285 = ___2051831914(684) . SITE_ID . ___2051831914(685) . self::CACHE_VERSION . ___2051831914(686) . $_419750269[___2051831914(687)] . ___2051831914(688) . $_419750269[___2051831914(689)];
        if ($_419750269[___2051831914(690)] && $_1924206662->InitCache(self::CACHE_TIME, $_1961129703, $_1611679285)) {
            $_419750269[___2051831914(691)] = ___2051831914(692);
            $_688681973 = $_1924206662->GetVars();
            $_654180742 = $_688681973[___2051831914(693)];
        } elseif ($_1924206662->StartDataCache()) {
            $_1686048739 = [];
            $_743051278 = $GLOBALS['____1896404214'][184](true);
            $_443333068 = $_419750269[___2051831914(694)] == ___2051831914(695) ? ___2051831914(696) : ___2051831914(697);
            $_419750269[___2051831914(698)] = ___2051831914(699);
            $_419750269[___2051831914(700)] = $_419750269[___2051831914(701)] != ___2051831914(702);
            $_419750269[___2051831914(703)] = UTools::getSetting(___2051831914(704)) != ___2051831914(705);
            $_419750269[___2051831914(706)] = $_419750269[___2051831914(707)] || $_419750269[___2051831914(708)] == ___2051831914(709);
            $_419750269[___2051831914(710)] = $GLOBALS['____1896404214'][185](___2051831914(711), $_419750269[___2051831914(712)]);
            if (!$_419750269[___2051831914(713)] && $_419750269[___2051831914(714)] && $GLOBALS['____1896404214'][186](___2051831914(715))) {
                $_419750269[___2051831914(716)] = stemming($_419750269[___2051831914(717)]);
                if (!empty($_419750269[___2051831914(718)])) {
                    foreach ($_419750269[___2051831914(719)] as $_1039531705 => $_1456166566) {
                        if ($_1039531705) {
                            $_419750269[___2051831914(720)] = ToLower($_1039531705);
                        }
                        break;
                    }
                }
            }
            $_419750269[___2051831914(721)] = $GLOBALS['____1896404214'][187](Encoding::exStrlen($_419750269[___2051831914(722)]), Encoding::exStrlen($_419750269[___2051831914(723)]));
            if ($_419750269[___2051831914(724)] <= round(5)) {
                $_419750269[___2051831914(725)] = round(1.0);
            } elseif ($_419750269[___2051831914(726)] >= round(9)) {
                $_419750269[___2051831914(727)] = round(3);
            } else {
                $_419750269[___2051831914(728)] = round(2.0);
            }
            $_1686048739[___2051831914(729)] = $GLOBALS['____1896404214'][188]($GLOBALS['____1896404214'][189](true) - $_743051278, round(5.0));
            $_80177970 = $GLOBALS['____1896404214'][190]($_419750269[___2051831914(730)], $_779489667);
            if ($_80177970) {
                unset($_779489667[$_80177970]);
                if ($_419750269[___2051831914(731)] > round(1.0) && $_419750269[___2051831914(732)] && $_419750269[___2051831914(733)] == $_80177970) {
                    $_80177970 = $_419750269[___2051831914(734)];
                }
                if ($_419750269[___2051831914(735)] == ___2051831914(736) || $_419750269[___2051831914(737)] == ___2051831914(738) && !$_419750269[___2051831914(739)]) {
                    $_654180742[] = $_80177970;
                } else {
                    $_654180742[] = $_443333068 . $_80177970 . $_443333068;
                }
                $_419750269[___2051831914(740)] = min(90, 0, 30);
                $_419750269[___2051831914(741)] = 0;
            }
            $_1686048739[___2051831914(742)] = $GLOBALS['____1896404214'][191]($GLOBALS['____1896404214'][192](true) - $_743051278, round(5));
            if ($_419750269[___2051831914(743)] && $_419750269[___2051831914(744)] > round(2)) {
                $_419750269[___2051831914(745)] = $_419750269[___2051831914(746)] ? $_419750269[___2051831914(747)] : $_419750269[___2051831914(748)];
                foreach ($_779489667 as $_192305605 => $_648555671) {
                    $_1849354041 = Encoding::exStripos($_192305605, $_419750269[___2051831914(749)]);
                    if ($_419750269[___2051831914(750)] && $_1849354041 !== false || !$_419750269[___2051831914(751)] && $_1849354041 === 0) {
                        if ($_419750269[___2051831914(752)] == ___2051831914(753)) {
                            $_654180742[] = $_419750269[___2051831914(754)];
                        } else {
                            $_654180742[] = $_443333068 . $_419750269[___2051831914(755)] . $_443333068;
                        }
                        unset($_779489667[$_192305605]);
                    }
                }
                if (!empty($_654180742)) {
                    $_654180742 = $GLOBALS['____1896404214'][193]($_654180742);
                }
                $_1686048739[___2051831914(756)] = $GLOBALS['____1896404214'][194]($GLOBALS['____1896404214'][195](true) - $_743051278, round(5.0000000000001));
            }
            if (!$_419750269[___2051831914(757)] && $_419750269[___2051831914(758)] && $_419750269[___2051831914(759)] > round(2)) {
                $_1781331381 = [];
                foreach ($_779489667 as $_192305605 => $_648555671) {
                    if ($GLOBALS['____1896404214'][196](___2051831914(760), $_648555671)) {
                        continue;
                    }
                    $_1361972283 = $GLOBALS['____1896404214'][197]($_419750269[___2051831914(761)], $_648555671);
                    if ($_1361972283 <= $_419750269[___2051831914(762)]) {
                        $GLOBALS['____1896404214'][198]($_419750269[___2051831914(763)], $_192305605, $_378527667);
                        $_1388468318 = $GLOBALS['____1896404214'][199]($_419750269[___2051831914(764)], $_192305605);
                        $_1781331381[] = array(___2051831914(765) => array($_192305605 => $_648555671), ___2051831914(766) => $_1361972283, ___2051831914(767) => $_378527667, ___2051831914(768) => $_1388468318);
                    }
                }
                if (!empty($_1781331381)) {
                    $GLOBALS['____1896404214'][200]($_1781331381, array(___2051831914(769), ___2051831914(770)));
                }
                foreach ($_1781331381 as $_672105580) {
                    foreach ($_672105580[___2051831914(771)] as $_1039531705 => $_1456166566) {
                        $_654180742[] = $_1039531705;
                    }
                }
                $_1686048739[___2051831914(772)] = $GLOBALS['____1896404214'][201]($GLOBALS['____1896404214'][202](true) - $_743051278, round(5.0000000000001));
            }
            if (!$GLOBALS['____1896404214'][203]($_654180742)) {
                $_199151762 = [];
                foreach ($_779489667 as $_192305605 => $_648555671) {
                    $_199151762[$_192305605] = Encoding::exStrlen($_192305605);
                }
                $GLOBALS['____1896404214'][204]($_199151762);
                $_1591024614 = ___2051831914(773);
                $_625117514 = $_419750269[___2051831914(774)];
                foreach ($_199151762 as $_192305605 => $_1308530155) {
                    if (!$_625117514) {
                        break;
                    }
                    $_1849354041 = Encoding::exStripos($_625117514, $_192305605);
                    if ($_1849354041 !== false) {
                        $_1591024614 .= $_192305605 . ___2051831914(775);
                        $_625117514 = $GLOBALS['____1896404214'][205]($_192305605, ___2051831914(776), $_625117514);
                    }
                }
                if (!$_625117514 && $_1591024614) {
                    $_654180742[] = $_1591024614;
                }
                $_1686048739[___2051831914(777)] = $GLOBALS['____1896404214'][206]($GLOBALS['____1896404214'][207](true) - $_743051278, round(5));
            }
            $_1924206662->EndDataCache(array(___2051831914(778) => $_654180742));
        }
        return $_654180742;
    }
    static function guessLanguage($_110927145, $_1077779493 = [])
    {
        if (!$_110927145) {
            return 0;
        }
        $_1077779493[___2051831914(779)] = ___2051831914(780);
        if ($GLOBALS['____1896404214'][208]($_1077779493[___2051831914(781)]) && $GLOBALS['____1896404214'][209]($_1077779493[___2051831914(782)])) {
            foreach ($_1077779493[___2051831914(783)] as $_243600456 => $_1261951158) {
                if ($_1261951158[___2051831914(784)]) {
                    $_1077779493[___2051831914(785)] .= $_1261951158[___2051831914(786)] . ___2051831914(787);
                }
                if ($_1261951158[___2051831914(788)]) {
                    $_1077779493[___2051831914(789)] .= $_1261951158[___2051831914(790)] . ___2051831914(791);
                }
                if ($GLOBALS['____1896404214'][210]($_1261951158[___2051831914(792)])) {
                    $_1077779493[___2051831914(793)] .= $GLOBALS['____1896404214'][211](___2051831914(794), $_1261951158[___2051831914(795)]) . ___2051831914(796);
                }
            }
        }
        $_1924206662 = new CPHPCache();
        $_1361639245 = array(___2051831914(797) => [], ___2051831914(798) => [], ___2051831914(799) => 0, ___2051831914(800) => min(200, 0, 66.666666666667));
        $_1361639245[___2051831914(801)] = $GLOBALS['____1896404214'][212](___2051831914(802), $GLOBALS['____1896404214'][213](___2051831914(803), ___2051831914(804), $GLOBALS['____1896404214'][214]($_110927145)));
        $_1052879560 = Tools::getReplaceParams();
        $_779489667 = self::getBaseWords($_1077779493);
        foreach ($_1361639245[___2051831914(805)] as $_1039531705 => $_1179145215) {
            $_1631702420 = CSearchLanguage::ConvertKeyboardLayout($_1179145215, ___2051831914(806), ___2051831914(807));
            $_1631702420 = CArturgolubevSmartsearch::checkReplaceRules($_1631702420);
            $_1631702420 = CArturgolubevSmartsearch::prepareQuery($_1631702420);
            $_1631702420 = CArturgolubevSmartsearch::clearExceptionsWords($_1631702420);
            $_1361639245[___2051831914(808)][___2051831914(809)][] = $_1631702420;
            $_1631702420 = CSearchLanguage::ConvertKeyboardLayout($_1179145215, ___2051831914(810), ___2051831914(811));
            $_1631702420 = CArturgolubevSmartsearch::checkReplaceRules($_1631702420);
            $_1631702420 = CArturgolubevSmartsearch::prepareQuery($_1631702420);
            $_1631702420 = CArturgolubevSmartsearch::clearExceptionsWords($_1631702420);
            $_1361639245[___2051831914(812)][___2051831914(813)][] = $_1631702420;
        }
        foreach ($_1361639245[___2051831914(814)][___2051831914(815)] as $_1039531705 => $_1179145215) {
            $_850840742 = $_1361639245[___2051831914(816)][___2051831914(817)][$_1039531705];
            $_136926381 = Tools::ex_translit($_1179145215 . $_850840742, ___2051831914(818), $_1052879560);
            $_1611679285 = ___2051831914(819) . SITE_ID . ___2051831914(820) . self::CACHE_VERSION . ___2051831914(821) . $_136926381;
            if ($_1924206662->InitCache(self::CACHE_TIME, $_136926381, $_1611679285)) {
                $_688681973 = $_1924206662->GetVars();
                $_1851498813 = $_688681973[___2051831914(822)];
            } elseif ($_1924206662->StartDataCache()) {
                $_1851498813 = min(164, 0, 54.666666666667);
                $_1361639245[___2051831914(823)]++;
                foreach ($_779489667 as $_192305605) {
                    $_1849354041 = Encoding::exStripos($_192305605, $_1179145215);
                    if ($_1849354041 !== false) {
                        $_1851498813 = round(1);
                        break;
                    }
                }
                if (!$_1851498813) {
                    $_1361639245[___2051831914(824)]++;
                    foreach ($_779489667 as $_192305605) {
                        $_1849354041 = Encoding::exStripos($_192305605, $_850840742);
                        if ($_1849354041 !== false) {
                            $_1851498813 = round(2.0);
                            break;
                        }
                    }
                }
                $_1924206662->EndDataCache(array(___2051831914(825) => $_1851498813));
            }
            if (!$_1851498813) {
                return 0;
            } elseif ($_1851498813 == round(2.0000000000000098)) {
                $_1361639245[___2051831914(826)][] = $_850840742;
            } elseif ($_1851498813) {
                $_1361639245[___2051831914(827)][] = $_1179145215;
            }
        }
        if ($GLOBALS['____1896404214'][215]($_1361639245[___2051831914(828)])) {
            return $GLOBALS['____1896404214'][216](___2051831914(829), $_1361639245[___2051831914(830)]);
        }
        return 0;
    }
    static function generateVariation($_1805273768, $_383478750 = 0)
    {
        $_1361639245 = [];
        if ($_383478750 < $GLOBALS['____1896404214'][217]($_1805273768)) {
            $_1105211240 = self::generateVariation($_1805273768, $_383478750 + round(1.0));
            for ($_148633838 = 0; $_148633838 < $GLOBALS['____1896404214'][218]($_1805273768[$_383478750]); $_148633838++) {
                if ($_1105211240) {
                    foreach ($_1105211240 as $_1840360696) {
                        $_1361639245[] = $GLOBALS['____1896404214'][219](array($_1805273768[$_383478750][$_148633838]), $_1840360696);
                    }
                } else {
                    $_1361639245[] = array($_1805273768[$_383478750][$_148633838]);
                }
            }
        }
        return $_1361639245;
    }
    static function generateVariants($_533660387)
    {
        $_1361639245 = [];
        if ($GLOBALS['____1896404214'][220]($_533660387) > round(1)) {
            for ($_383478750 = $GLOBALS['____1896404214'][221]($_533660387); $_383478750 > 0; $_383478750--) {
                $_531281776 = $_533660387;
                unset($_531281776[$_383478750 - round(1.0)]);
                $_531281776 = $GLOBALS['____1896404214'][222]($_531281776);
                $_1361639245 = $GLOBALS['____1896404214'][223]($_1361639245, self::generateVariation($_531281776));
                if ($GLOBALS['____1896404214'][224]($_531281776) > round(1)) {
                    $_1361639245 = $GLOBALS['____1896404214'][225]($_1361639245, self::generateVariants($_531281776));
                }
            }
        }
        return $_1361639245;
    }
    static function cmpSimilaritySort($_750799623, $_142725866)
    {
        if ($_750799623["similarity"] == $_142725866["similarity"]) {
            if ($_750799623["similarity_rl"] == $_142725866["similarity_rl"]) {
                return 0;
            }
            return $_750799623[___2051831914(831)] < $_142725866[___2051831914(832)] ? -round(0.99999999999999) : round(1.0);
        }
        return $_750799623[___2051831914(833)] < $_142725866[___2051831914(834)] ? -round(1.0) : round(0.99999999999999);
    }
    static function getMatrixLineHash($_905729646)
    {
        $_633674683 = $GLOBALS['____1896404214'][226](' ', $GLOBALS['____1896404214'][227]('"', '', $_905729646));
        $GLOBALS['____1896404214'][228]($_633674683);
        $_479677614 = $GLOBALS['____1896404214'][229](___2051831914(835), $_633674683);
        return $_479677614;
    }
    static function saveMatrixLineEmpty($_905729646, $_1348495007)
    {
        $_1669960433 = self::getMatrixLineHash($_905729646);
        if ($_1348495007 < round(0.99999999999999)) {
            $_1924206662 = new CPHPCache();
            $_1611679285 = ___2051831914(836) . SITE_ID . ___2051831914(837) . self::CACHE_VERSION . ___2051831914(838);
            if ($_1924206662->InitCache(self::CACHE_TIME, $GLOBALS['____1896404214'][230]($_1669960433), $_1611679285)) {
                $_688681973 = $_1924206662->GetVars();
            } elseif ($_1924206662->StartDataCache()) {
                $_688681973 = [___2051831914(839) => ___2051831914(840)];
                $_1924206662->EndDataCache($_688681973);
            }
        }
    }
    static function checkMatrixLineEmpty($_905729646)
    {
        if (UTools::getSetting("disable_cache") == 'Y') {
            return 0;
        }
        $_1669960433 = self::getMatrixLineHash($_905729646);
        $_1924206662 = new CPHPCache();
        $_1611679285 = ___2051831914(841) . SITE_ID . ___2051831914(842) . self::CACHE_VERSION . ___2051831914(843);
        if ($_1924206662->InitCache(self::CACHE_TIME, $GLOBALS['____1896404214'][231]($_1669960433), $_1611679285)) {
            $_688681973 = $_1924206662->GetVars();
            if ($_688681973[___2051831914(844)] == ___2051831914(845)) {
                return round(1);
            }
        }
        return 0;
    }
    static function prepareQueryWords($_1907604790)
    {
        $_1361639245 = [];
        $_1261393936 = $GLOBALS['____1896404214'][232](___2051831914(846), $_1907604790);
        $_1052879560 = Tools::getReplaceParams();
        $_1234581912 = Tools::getMinWordLenght();
        foreach ($_1261393936 as $_1087961016) {
            if (Encoding::exStrlen($_1087961016) < $_1234581912) {
                continue;
            }
            if ($GLOBALS['____1896404214'][233](___2051831914(847), $_1087961016)) {
                $_1087961016 = $GLOBALS['____1896404214'][234](array(___2051831914(848)), array(___2051831914(849)), $_1087961016);
                $_70225429 = Tools::num_translit($_1087961016, ___2051831914(850), $_1052879560);
            } else {
                $_70225429 = Tools::ex_translit($_1087961016, ___2051831914(851), $_1052879560);
            }
            if ($_70225429 && !$GLOBALS['____1896404214'][235]($_70225429, $_1361639245)) {
                $_1361639245[$_70225429] = $_1087961016;
            }
        }
        return $_1361639245;
    }
}
while (!$GLOBALS['____1896404214'][236](___2051831914(852)) || $GLOBALS['____1896404214'][237](arturgolubev_smartsearch_OLDSITEEXPIREDATE) <= 0 || true) {
    die(GetMessage(___2051831914(853)));
}

Function Calls

None

Variables

None

Stats

MD5 63918c08c1bf19396ac110ee9554bf24
Eval Count 0
Decode Time 208 ms