%PDF- %PDF- 403WebShell
403Webshell
Server IP : 37.220.80.31  /  Your IP : 3.142.172.166
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux 3051455-guretool.twc1.net 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64
User : www-root ( 1010)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/www-root/data/www/dev.artlot24.ru/bitrix/js/main/helper/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www-root/data/www/dev.artlot24.ru/bitrix/js/main/helper/helper.min.js
BX.namespace("BX.Helper");BX.Helper={frameOpenUrl:"",frameNode:null,openBtn:null,popupLoader:null,langId:null,ajaxUrl:"",currentStepId:"",notifyBlock:null,notifyNum:"",notifyText:"",notifyId:0,notifyButton:"",isAdmin:"N",version:2,init:function(t){this.frameOpenUrl=t.frameOpenUrl||"";this.langId=t.langId||"";this.openBtn=t.helpBtn;this.notifyBlock=t.notifyBlock;this.ajaxUrl=t.ajaxUrl||"";this.currentStepId=t.currentStepId||"";this.notifyData=t.notifyData||null;this.runtimeUrl=t.runtimeUrl||null;this.notifyUrl=t.notifyUrl||"";this.helpUrl=t.helpUrl||"";this.notifyNum=t.notifyNum||"";this.isAdmin=t.isAdmin&&t.isAdmin==="Y"?"Y":"N";if(this.openBtn){this.openBtn.addEventListener("click",function(){if(BX.Helper.isOpen()){BX.Helper.close()}else{BX.Helper.show()}BX.Helper.setBlueHeroView()})}BX.bind(window,"message",BX.proxy(function(t){if(!!t.origin&&t.origin.indexOf("bitrix")===-1){return}if(!t.data||typeof t.data!=="object"){return}if(t.data.action==="CloseHelper"){this.close()}if(t.data.action==="SetCounter"){BX.Helper.setNotification(t.data.num);BX.Helper.showNotification(t.data.num)}if(t.data.action==="GetVersion"){this.frameNode.contentWindow.postMessage({action:"throwVersion",version:this.version},"*")}if(t.data.action==="OpenChat"){BXIM.openMessenger(t.data.user_id)}if(t.data.action==="getMenuStructure"){if(BX.getClass("BX.Intranet.LeftMenu")){if(typeof BX.Intranet.LeftMenu.getStructureForHelper==="function"){var e=BX.Intranet.LeftMenu.getStructureForHelper();this.frameNode.contentWindow.postMessage({action:"throwMenu",menu:e},"*")}}}if(t.data.action==="getNewArticleCount"){var i={action:"throwNewArticleCount",articleCount:this.notifyNum};if(this.notifyData){i.lastTimestampCheckNewArticle=this.notifyData.counter_update_date}this.frameNode.contentWindow.postMessage(i,"*")}},this));if(t.needCheckNotify==="Y"){this.checkNotification()}if(this.notifyNum>0){BX.Helper.showNotification(this.notifyNum)}},show:function(t,e){if(this.isOpen()){return}if(!BX.Type.isPlainObject(e)){e={}}var i=this.frameOpenUrl+(this.frameOpenUrl.indexOf("?")<0?"?":"&")+(BX.type.isNotEmptyString(t)?t:"");if(this.getFrame().src!==i){this.getFrame().src=i}BX.SidePanel.Instance.open(this.getSliderId(),{contentCallback:function(t){var e=new BX.Promise;e.fulfill(this.getContent());return e}.bind(this),width:860,cacheable:false,zIndex:e.zIndex||null,events:{onCloseComplete:function(){BX.Helper.close()},onLoad:function(){BX.Helper.showFrame()},onClose:function(){BX.Helper.frameNode.contentWindow.postMessage({action:"onCloseWidget"},"*")}}});if(this.isAdmin==="N"&&this.openBtn){BX.addClass(this.openBtn,"help-block-active")}},close:function(){var t=this.getSlider();if(t){t.close()}if(this.isAdmin==="N"){if(this.openBtn){BX.removeClass(this.openBtn,"help-block-active")}this.getFrame().classList.remove("helper-panel-iframe-show")}},getContent:function(){if(this.content){return this.content}this.content=BX.create("div",{attrs:{className:"helper-container"},children:[this.getLoader(),this.getFrame()]});return this.content},getFrame:function(){if(this.frameNode){return this.frameNode}this.frameNode=BX.create("iframe",{attrs:{className:"helper-panel-iframe",src:"about:blank"}});return this.frameNode},showFrame:function(){setTimeout(function(){this.getFrame().classList.add("helper-panel-iframe-show")}.bind(this),600)},getLoader:function(){if(this.popupLoader){return this.popupLoader}this.popupLoader=BX.create("div",{attrs:{className:"bx-help-popup-loader"},children:[BX.create("div",{attrs:{className:"bx-help-popup-loader-text"},text:BX.message("MAIN_HELPER_LOADER")})]});return this.popupLoader},getSliderId:function(){return"main:helper"},getSlider:function(){return BX.SidePanel.Instance.getSlider(this.getSliderId())},isOpen:function(){return this.getSlider()&&this.getSlider().isOpen()},setBlueHeroView:function(){if(!this.currentStepId)return;BX.ajax.post(this.ajaxUrl,{sessid:BX.bitrix_sessid(),action:"setView",currentStepId:this.currentStepId},function(){})},showNotification:function(t){if(!isNaN(parseFloat(t))&&isFinite(t)&&t>0){var e='<div class="help-cl-count"><span class="help-cl-count-digit">'+(t>99?"99+":t)+"</span></div>"}else{e=""}this.notifyBlock.innerHTML=e;this.notifyNum=t},showFlyingHero:function(url){if(!url)return;BX.ajax({method:"GET",dataType:"html",url:this.helpUrl+url,data:{},onsuccess:BX.proxy(function(res){if(res){BX.load([this.runtimeUrl],function(){eval(res)})}},this)})},setNotification:function(t,e){BX.ajax({method:"POST",dataType:"json",url:this.ajaxUrl,data:{sessid:BX.bitrix_sessid(),action:"setNotify",num:t,time:e},onsuccess:BX.proxy(function(t){},this)})},checkNotification:function(){BX.ajax({method:"POST",dataType:"json",url:this.notifyUrl,data:this.notifyData,onsuccess:BX.proxy(function(t){if(!isNaN(t.num)){this.setNotification(t.num);this.showNotification(t.num);if(t.id){this.notifyId=t.id;this.notifyText=t.body;this.notifyButton=t.button}if(t.url)this.showFlyingHero(t.url)}else{this.setNotification("","hour")}},this),onfailure:BX.proxy(function(){this.setNotification("","hour")},this)})},showAnimatedHero:function(){if(!BX.browser.IsIE8()){BX.load(["/bitrix/js/main/helper/runtime.js","/bitrix/js/main/helper/hero_object.js"],function(){var t=BX.create("div",{attrs:{className:"bx-help-start",id:"bx-help-start"}});if(BX.admin&&BX.admin.panel){t.style.top=BX.admin.panel.DIV.offsetHeight+50+"px"}document.body.appendChild(t);var e=new swiffy.Stage(t,swiffyobject,{});e.setBackground(null);setTimeout(function(){e.start()},300);setTimeout(function(){t.style.display="none"},7300)})}}};
//# sourceMappingURL=helper.map.js

Youez - 2016 - github.com/yon3zu
LinuXploit