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/landing/ui/panel/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/landing/ui/panel/alert_panel.min.js
(function(){"use strict";BX.namespace("BX.Landing.UI.Panel");var t=BX.Landing.Utils.addClass;var e=BX.Landing.Utils.removeClass;var n=BX.Landing.Utils.append;BX.Landing.UI.Panel.Alert=function(e){BX.Landing.UI.Panel.BasePanel.apply(this,arguments);t(this.layout,"landing-ui-panel-alert");this.onCloseClick=this.onCloseClick.bind(this);this.text=BX.create("div",{props:{className:"landing-ui-panel-alert-text"}});this.closeButton=BX.create("button",{props:{className:"ui-btn ui-btn-link"},html:BX.Landing.Loc.getMessage("LANDING_ALERT_ACTION_CLOSE"),events:{click:this.onCloseClick}});this.action=BX.create("div",{props:{className:"landing-ui-panel-alert-action"},children:[this.closeButton]});n(this.text,this.layout);n(this.action,this.layout);n(this.layout,top.document.body)};BX.Landing.UI.Panel.Alert.getInstance=function(){if(!top.BX.Landing.UI.Panel.Alert.instance){top.BX.Landing.UI.Panel.Alert.instance=new BX.Landing.UI.Panel.Alert}return top.BX.Landing.UI.Panel.Alert.instance};BX.Landing.UI.Panel.Alert.prototype={constructor:BX.Landing.UI.Panel.Alert,__proto__:BX.Landing.UI.Panel.BasePanel.prototype,show:function(i,a){var s=Promise.resolve();if(this.isShown()){s=this.hide()}s.then(function(){BX.Landing.UI.Panel.BasePanel.prototype.show.call(this);e(this.layout,"landing-ui-alert");e(this.layout,"landing-ui-error");t(this.layout,i==="error"?"landing-ui-error":"landing-ui-alert");this.text.innerHTML=(a?a:i)+" ";n(this.getSupportLink(),this.text)}.bind(this))},getSupportLink:function(){if(!this.supportLink){var t="https://helpdesk.bitrix24.com/ticket.php";var e=BX.Landing.Loc.getMessage("LANGUAGE_ID");switch(e){case"ru":case"by":case"kz":t="https://helpdesk.bitrix24.ru/ticket.php";break;case"de":t="https://helpdesk.bitrix24.de/ticket.php";break;case"br":t="https://helpdesk.bitrix24.com.br/ticket.php";break;case"es":t="https://helpdesk.bitrix24.es/ticket.php";break}this.supportLink=BX.create("a",{props:{className:"landing-ui-panel-alert-support-link"},html:BX.Landing.Loc.getMessage("LANDING_ALERT_ACTION_SUPPORT_LINK"),attrs:{href:t,target:"_blank"}})}return this.supportLink},onCloseClick:function(){this.hide()}}})();
//# sourceMappingURL=alert_panel.map.js

Youez - 2016 - github.com/yon3zu
LinuXploit