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/lib/clipboard/dist/ |
Upload File : |
this.BX=this.BX||{};this.BX.Messenger=this.BX.Messenger||{};(function(e){"use strict"; /** * Bitrix Messenger * Clipboard manager * * @package bitrix * @subpackage im * @copyright 2001-2020 Bitrix */var t=function(){function e(){babelHelpers.classCallCheck(this,e)}babelHelpers.createClass(e,null,[{key:"copy",value:function t(){var o=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"";var r=e.getStore();if(o){r.focus();r.value=o;r.selectionStart=0;document.execCommand("copy")}else{document.execCommand("copy");r.focus();document.execCommand("paste");o=r.value}e.removeStore();return o}},{key:"getStore",value:function t(){if(e.store){return e.store}e.store=document.createElement("textarea");e.store.style="position: absolute; opacity: 0; top: -1000px; left: -1000px;";document.body.insertBefore(e.store,document.body.firstChild);return e.store}},{key:"removeStore",value:function t(){if(!e.store){return true}document.body.removeChild(e.store);e.store=null;return true}}]);return e}();t.store=null;e.Clipboard=t})(this.BX.Messenger.Lib=this.BX.Messenger.Lib||{}); //# sourceMappingURL=clipboard.bundle.map.js