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/ilovecveti.ru/bitrix/js/burlakastudio.realcommenter/ |
Upload File : |
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{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,b,d){a!=Array.prototype&&a!=Object.prototype&&(a[b]=d.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,b){this.$jscomp$symbol$id_=a;$jscomp.defineProperty(this,"description",{configurable:!0,writable:!0,value:b})};$jscomp.SymbolClass.prototype.toString=function(){return this.$jscomp$symbol$id_};$jscomp.Symbol=function(){function a(d){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new $jscomp.SymbolClass($jscomp.SYMBOL_PREFIX+(d||"")+"_"+b++,d)}var b=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,b){$jscomp.initSymbolIterator();a instanceof String&&(a+="");var d=0,c={next:function(){if(d<a.length){var e=d++;return{value:b(e,a[e]),done:!1}}c.next=function(){return{done:!0,value:void 0}};return c.next()}};c[Symbol.iterator]=function(){return c};return c}; $jscomp.polyfill=function(a,b,d,c){if(b){d=$jscomp.global;a=a.split(".");for(c=0;c<a.length-1;c++){var e=a[c];e in d||(d[e]={});d=d[e]}a=a[a.length-1];c=d[a];b=b(c);b!=c&&null!=b&&$jscomp.defineProperty(d,a,{configurable:!0,writable:!0,value:b})}};$jscomp.polyfill("Array.prototype.keys",function(a){return a?a:function(){return $jscomp.iteratorFromArray(this,function(a){return a})}},"es6","es3"); (function(){function a(a){return a&&e[a]?e[a]:""}function b(b){if(b&&"undefined"!==typeof b.querySelector){var c=b.querySelector(a("boxHeader")+" del:not([data-inited])");c&&(c.addEventListener("click",function(a){a.parentNode.removeChild(a)}.bind(this,b)),c.setAttribute("data-inited","1"));b.querySelectorAll(a("commentRow")+":not([data-inited])").forEach(function(a){var c=a.querySelector("del");c?(c.addEventListener("click",d.bind(c,a,b)),a.setAttribute("data-inited","1")):a.parentNode.removeChild(a)}); b.setAttribute("data-inited","1")}}function d(b,d){b.classList.toggle("_selected");if(b=d.querySelector(a("boxFooter"))){var f=d.querySelectorAll(a("commentRow")+"._selected"),e=b.querySelector("button");f.length?e||(f=document.createElement("button"),f.innerHTML=b.getAttribute("data-button-label"),b.appendChild(f),f.addEventListener("click",c.bind(f,d))):e&&e.parentNode.removeChild(e)}}function c(b){var c=b.querySelectorAll(a("commentRow")+"._selected");c.length&&(c.reduce=[].reduce,c=c.reduce(function(a, b){a.push(b.getAttribute("data-comment-id"));return a},[]),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&&this&&"undefined"!==typeof this.querySelector&&(a=realcommenter_get_closest_comment(this))&&(a=a.querySelector(realcommenter_get_selector("admin_tools")+" "+realcommenter_get_selector("admin_fly_cloud")+' [data-action="MORE_FROM"]'))&& a.click()}.bind(b),data:{request_type:"DELETE_MULTIPLE",comment_id:c}})())}var e={box:".more_from_user",boxHeader:".mfu_header",boxFooter:".mfu_footer",commentRow:".mfu_body ul li"};window.realcommenterMoreFromUserScanAndInit=function(){document.querySelectorAll(a("box")).forEach(function(a){b(a)})}})();