%PDF- %PDF-
Server IP : 37.220.80.31 / Your IP : 3.145.179.120 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/core/ |
Upload File : |
(function(e){if(e.BX.clipboard)return;var t=e.BX;t.clipboard={isCopySupported:function(){return!!(!!e.getSelection&&!!document.execCommand&&document.queryCommandSupported&&document.queryCommandSupported("copy"))},copy:function(t){if(!t){return false}if(!this.isCopySupported()){return false}this._removeSelection();if(!this.node){this.node=document.createElement("a");this.node.style.background="Highlight";this.node.style.display="none";document.body.appendChild(this.node)}this.node.innerText=t;var n=document.createRange();this.node.style.display="";n.selectNode(this.node);e.getSelection().addRange(n);var o=false;try{o=document.execCommand("copy")}catch(e){}this.node.style.display="none";this._removeSelection(n);return o},bindCopyClick:function(e,n){n=n||{};showButtonIfNotSupported=n.showButtonIfNotSupported||false;text=n.text||null;popupParams=n.popup||{};if(t.type.isString(e)){e=t(e)}if(!t.type.isElementNode(e)){return}if(!this.isCopySupported()){if(!showButtonIfNotSupported){e.style.display="none"}return}var o=t.util.getRandomString(5);t.bind(e,"click",function(e,t,n,o,i){return function(r){e._onCopyClick(t,n,o,i);r.preventDefault();return true}}(this,o,e,text,popupParams))},_removeSelection:function(t){t=t||null;var n=e.getSelection();if(t&&n.removeRange){n.removeRange(t)}else{n.removeAllRanges()}},_getText:function(e){if(!e){return null}if(t.type.isFunction(e)){return e.apply(this,[])}else if(t.type.isString(e)){return e}else if(t.type.isElementNode(e)){if((e.tagName=="INPUT"||e.tagName=="TEXTAREA")&&e.value){return e.value}else if(e.innerText){return e.innerText}}return null},_onCopyClick:function(e,n,o,i){this.timeoutIds=this.timeoutIds||[];o=this._getText(o);if(!o){o=this._getText(n)}var r=false;if(o){r=this.copy(o)}var u=i.hideTimeout||1500;i=t.mergeEx(i,{content:r?t.message("CORE_CLIPBOARD_COPY_SUCCESS"):t.message("CORE_CLIPBOARD_COPY_FAILURE"),darkMode:true,autoHide:true,zIndex:1e3,angle:true,offsetLeft:5,bindOptions:{position:"top"}});var s=t.PopupWindowManager.create("clipboard_copy_status_"+e,n,i);s.show();var p;while(p=this.timeoutIds.pop())clearTimeout(p);p=setTimeout(function(){s.close()},u);this.timeoutIds.push(p)}}})(window); //# sourceMappingURL=core_clipboard.map.js