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/cvetdv.ru/bitrix/components/bitrix/im.router/templates/blank/ |
Upload File : |
function BlankBackend(i){this.init=function(i){this.initParams=i;this.timeout={};this.postMessageDomain=null;this.postMessageOrigin=null;this.postMessageSource=null;this.initFrameParameters();this.initEvent()};this.initFrameParameters=function(){if(!this.isFrame()){return}if(!window.location.hash){return}var i={};try{i=JSON.parse(decodeURIComponent(window.location.hash.substring(1)))}catch(t){}if(i.domain){this.postMessageDomain=i.domain}};this.isFrame=function(){return window!=window.top};this.initEvent=function(){if(!this.isFrame()){return}if(typeof window.postMessage==="function"){BX.bind(window,"message",BX.proxy(function(i){if(i&&i.origin==this.postMessageDomain){var t={};try{t=JSON.parse(i.data)}catch(s){}if(t.action=="init"){this.uniqueLoadId=t.uniqueLoadId;this.postMessageSource=i.source;this.postMessageOrigin=i.origin;this.postMessageStartShowed=t.showed;var e={};e["uniqueLoadId"]=this.uniqueLoadId;e["action"]="blank";this.sendDataToFrameHolder(e)}}},this))}};this.sendDataToFrameHolder=function(i){var t=JSON.stringify(i);if(!this.postMessageOrigin){clearTimeout(this.timeout[t]);this.timeout[t]=setTimeout(BX.delegate(function(){this.sendDataToFrameHolder(i)},this),10);return true}if(typeof window.postMessage==="function"){if(this.postMessageSource){this.postMessageSource.postMessage(t,this.postMessageOrigin)}}var s=0;if(s){var e=window.location.hash.substring(1);top.location=e.substring(0,e.indexOf("#"))+"#"+t}};this.init(i)} //# sourceMappingURL=script.map.js