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/im/call/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/im/call/mic_muted_popup.min.js
(function(){BX.namespace("BX.Call");if(BX.Call.MicMutedPopup){return}BX.Call.MicMutedPopup=function(t){this.popup=null;this.autoCloseDelay=BX.prop.getInteger(t,"autoCloseDelay",5e3);this.options=t||{};this.callbacks={onClose:BX.type.isFunction(this.options.onClose)?this.options.onClose:BX.DoNothing,onUnmuteClick:BX.type.isFunction(this.options.onUnmuteClick)?this.options.onUnmuteClick:BX.DoNothing};this.autoCloseTimeout=0};BX.Call.MicMutedPopup.prototype={show:function(){clearTimeout(this.autoCloseTimeout);this.autoCloseTimeout=setTimeout(this.onAutoClose.bind(this),this.autoCloseDelay);if(this.popup){this.popup.show();return}this.popup=new BX.PopupWindow({bindElement:this.options.bindElement,targetContainer:this.options.targetContainer,content:this.render(),padding:0,contentPadding:14,height:this.getPopupHeight(),className:"bx-call-view-popup-call-muted",contentBackground:"unset",angle:this.options.bindElement?{position:"bottom",offset:20}:null,events:{onClose:function(){this.popup.destroy()}.bind(this),onDestroy:function(){this.popup=null}.bind(this)}});this.popup.show()},render:function(){return BX.create("div",{props:{className:"bx-call-view-popup-call-muted-body"},children:[BX.create("div",{props:{className:"bx-call-view-popup-call-muted-icon-mic"}}),BX.create("div",{props:{className:"bx-call-view-popup-call-muted-text"},html:this.getPopupMessage()}),BX.create("div",{props:{className:"ui-btn ui-btn-xs ui-btn-light-border ui-btn-round ui-btn-no-caps "},text:BX.message("IM_CALL_UNMUTE_MIC"),events:{click:function(){this.callbacks.onUnmuteClick()}.bind(this)}}),BX.create("div",{props:{className:"bx-call-view-popup-call-muted-close"},events:{click:function(){this.callbacks.onClose();if(this.popup){this.popup.close()}}.bind(this)}})]})},getPopupMessage:function(){var t=this.options.title||BX.util.htmlspecialchars(BX.message("IM_CALL_MIC_MUTED_WHILE_TALKING"));if(!BX.Call.Util.isDesktop()){return t}var o=BX.message("IM_CALL_MIC_MUTED_WHILE_TALKING_HOTKEY");if(this.options.callFolded){var e=BX.browser.IsMac()?"Shift + &#8984; + A":"Ctrl + Shift + A";o=BX.message("IM_CALL_MIC_MUTED_WHILE_TALKING_FOLDED_CALL_HOTKEY").replace("#HOTKEY#",e)}o='<span class="bx-call-view-popup-call-muted-text-hotkey">'+o+"</span>";return t+"<br>"+o},getPopupHeight:function(){return BX.Call.Util.isDesktop()?60:54},close:function(){if(this.popup){this.popup.close();this.callbacks.onClose()}},onAutoClose:function(){this.close()},destroy:function(){if(this.popup){this.popup.destroy()}clearTimeout(this.autoCloseTimeout)}}})();
//# sourceMappingURL=mic_muted_popup.map.js

Youez - 2016 - github.com/yon3zu
LinuXploit