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/ui/vue/devtools/dist/ |
Upload File : |
(function(t){"use strict"; /** * Bitrix integration with external Vue DevTools * * @package bitrix * @subpackage ui * @copyright 2001-2019 Bitrix */var e=function(){function t(e){babelHelpers.classCallCheck(this,t);this.host="http://localhost";this.port="8098";this.script=null;this.changeToast=false;if(!navigator.userAgent.toLowerCase().includes("chrome")&&!navigator.userAgent.toLowerCase().includes("firefox")){this.changeToast=true;console.info("Install the Vue Remote Devtools application for a better development experience: https://github.com/vuejs/vue-devtools/blob/master/shells/electron/\n"+"For connect to localhost use %cBX.VueDevTools.connect();%c for remote host %cBX.VueDevTools.connect('__devtools_ip_address__');","font-weight: bold","font-weight: initial","font-weight: bold","font-weight: initial")}}babelHelpers.createClass(t,[{key:"connect",value:function t(e){if(this.script){document.body.removeChild(this.script)}if(e){this.setUrl(e)}window.__VUE_DEVTOOLS_HOST__=this.host;window.__VUE_DEVTOOLS_PORT__=this.port;this.script=document.createElement("script");if(this.changeToast){this.script.addEventListener("load",this.load.bind(this))}this.script.src=__VUE_DEVTOOLS_HOST__+":"+__VUE_DEVTOOLS_PORT__;document.body.appendChild(this.script);return true}},{key:"reconnect",value:function t(){this.connect()}},{key:"setUrl",value:function t(){var e=arguments.length>0&&arguments[0]!==undefined?arguments[0]:"localhost";if(!e.startsWith("http")){e="http://"+e}var o=e.split(":");if(o.length>2){this.host=o.slice(0,2).join(":");this.port=o[2]}else{this.host=e;this.port="8098"}return this}},{key:"load",value:function t(){var e=this;window.__VUE_DEVTOOLS_TOAST__=new Proxy(window.__VUE_DEVTOOLS_TOAST__,{apply:function t(o,i,n){if(n[0].toString().toLowerCase().includes("disconnect")){console.info("%cDevTools:%c try to reconnect, if vue-devtools is not running, run and call %cBX.VueDevTools.reconnect();","font-weight: bold","font-weight: initial","font-weight: bold");setTimeout((function(){return e.reconnect()}),5e3)}return o.apply(i,n)}})}}]);return t}();var o=new e;t.VueDevTools=o})(this.BX=this.BX||{}); //# sourceMappingURL=devtools.bundle.map.js