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/pull/component/status/dist/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/pull/component/status/dist/status.bundle.min.js
(function(t,e,s,i){"use strict";
/**
	 * Bitrix UI
	 * Pull connection status Vue component
	 *
	 * @package bitrix
	 * @subpackage pull
	 * @copyright 2001-2019 Bitrix
	 */s.BitrixVue.component("bx-pull-component-status",{props:{canReconnect:{default:false}},data:function t(){return{status:i.PullClient.PullStatus.Online,showed:null}},created:function t(){var e=this;this.isMac=navigator.userAgent.toLowerCase().includes("macintosh");this.setStatusTimeout=null;this.hideTimeout=null;this.pullUnSubscribe=function(){};if(this.$Bitrix.PullClient.get()){this.subscribe()}this.$Bitrix.eventEmitter.subscribe(s.BitrixVue.events.pullClientChange,(function(){return e.subscribe()}))},beforeDestroy:function t(){this.pullUnSubscribe()},methods:{subscribe:function t(){var e=this;this.pullUnSubscribe();this.pullUnSubscribe=this.$Bitrix.PullClient.get().subscribe({type:i.PullClient.SubscriptionType.Status,callback:function t(s){return e.statusChange(s.status)}})},reconnect:function t(){if(this.canReconnect){this.$emit("reconnect")}else{location.reload()}},statusChange:function t(e){var s=this;clearTimeout(this.setStatusTimeout);if(this.status===e){return false}var n=[i.PullClient.PullStatus.Online,i.PullClient.PullStatus.Offline,i.PullClient.PullStatus.Connecting];if(n.indexOf(e)<0){return false}var l=500;if(e===i.PullClient.PullStatus.Connecting){l=5e3}else if(e===i.PullClient.PullStatus.Offline){l=2e3}this.setStatusTimeout=setTimeout((function(){s.status=e;s.showed=true}),l);return true},isMobile:function t(){return navigator.userAgent.toLowerCase().includes("android")||navigator.userAgent.toLowerCase().includes("webos")||navigator.userAgent.toLowerCase().includes("iphone")||navigator.userAgent.toLowerCase().includes("ipad")||navigator.userAgent.toLowerCase().includes("ipod")||navigator.userAgent.toLowerCase().includes("blackberry")||navigator.userAgent.toLowerCase().includes("windows phone")}},watch:{status:function t(){var e=this;clearTimeout(this.hideTimeout);if(this.status===i.PullClient.PullStatus.Online){clearTimeout(this.hideTimeout);this.hideTimeout=setTimeout((function(){return e.showed=false}),4e3)}}},computed:{connectionClass:function t(){var e="";if(this.showed===true){e="bx-pull-status-show"}else if(this.showed===false){e="bx-pull-status-hide"}if(this.status===i.PullClient.PullStatus.Online){e+=" bx-pull-status-online"}else if(this.status===i.PullClient.PullStatus.Offline){e+=" bx-pull-status-offline"}else if(this.status===i.PullClient.PullStatus.Connecting){e+=" bx-pull-status-connecting"}return e},connectionText:function t(){var e="";if(this.status===i.PullClient.PullStatus.Online){e=this.localize.BX_PULL_STATUS_ONLINE}else if(this.status===i.PullClient.PullStatus.Offline){e=this.localize.BX_PULL_STATUS_OFFLINE}else if(this.status===i.PullClient.PullStatus.Connecting){e=this.localize.BX_PULL_STATUS_CONNECTING}return e},button:function t(){var e="";var s="";if(this.canReconnect){s=this.localize.BX_PULL_STATUS_BUTTON_RECONNECT}else{e=this.isMac?"&#8984;+R":"Ctrl+R";s=this.localize.BX_PULL_STATUS_BUTTON_RELOAD}return{title:s,key:e}},localize:function t(){return s.BitrixVue.getFilteredPhrases("BX_PULL_STATUS_",this)}},template:'\n\t\t<div v-if="!isMobile()" :class="[\'bx-pull-status\', connectionClass]">\n\t\t\t<div class="bx-pull-status-wrap">\n\t\t\t\t<span class="bx-pull-status-text">{{connectionText}}</span>\n\t\t\t\t<span class="bx-pull-status-button" @click="reconnect">\n\t\t\t\t\t<span class="bx-pull-status-button-title">{{button.title}}</span>\n\t\t\t\t\t<span class="bx-pull-status-button-key" v-html="button.key"></span>\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t</div>\n\t'})})(this.window=this.window||{},BX,BX,BX);
//# sourceMappingURL=status.bundle.map.js

Youez - 2016 - github.com/yon3zu
LinuXploit