Skip to Content

JavaScript File

URL: https://sonniyzaliv.ru/bitrix/js/main/core/core_frame_cache.min.js?176189808510481
HTTP Status: 200 OK
MIME Type: application/x-javascript
Last Modified: Fri, 31 Oct 2025 08:08:05 GMT
Download Time: Less than a second
Cookies: None
Size: 11 KB
HTTP Headers:  7 headers
Links In:  1 pages
Links Out:  0 links
Images:  0 images
CSS:  0 files
JavaScript:  0 files
OK Issues: No issues found

1(function(e){if(e.BX.frameCache)return;var a=e.BX;var t="compositeCache";var r=1440;var s=["bitrix_sessid","USER_ID","SERVER_TIME","USER_TZ_OFFSET","USER_TZ_AUTO"];var i="/bitrix/tools/composite_data.php";var n=false;a.frameCache=function(){}

2;if(typeof localStorage!=="undefined"){a.frameCache.localStorage=new a.localStorage}

3else{a.frameCache.localStorage={set:a.DoNothing,get:function(){return null}

4,remove:a.DoNothing}

5}

6a.frameCache.localStorage.prefix=function(){return"bx-"}

7;a.frameCache.init=function(){this.cacheDataBase=null;this.tableParams={tableName:"composite",fields:[{name:"id",unique:true}

8,"content","hash","props"]}

9;this.frameDataReceived=false;this.frameDataInserted=false;if(a.type.isString(e.frameDataString)&&e.frameDataString.length>0){a.frameCache.onFrameDataReceived(e.frameDataString)}

10this.vars=e.frameCacheVars?e.frameCacheVars:{dynamicBlocks:{}

11,page_url:"",params:{}

12,storageBlocks:[]}

13;var i=a.frameCache.localStorage.get(t)||{}

14;for(var n=0;n<s.length;n++){var o=s[n];if(typeof a.message[o]!="undefined"){i[o]=a.message[o]}

15}

16a.frameCache.localStorage.set(t,i,r);a.addCustomEvent("onBXMessageNotFound",(function(e){if(a.util.in_array(e,s)){var r=a.frameCache.localStorage.get(t);if(r&&typeof r[e]!="undefined"){a.message[e]=r[e]}

17else{a.frameCache.getCompositeMessages()}

18}

19}

20));if(!e.frameUpdateInvoked){this.update(false);e.frameUpdateInvoked=true}

21if(e.frameRequestStart){a.ready((function(){a.onCustomEvent("onCacheDataRequestStart");a.frameCache.tryUpdateSessid()}

22))}

23if(e.frameRequestFail){a.ready((function(){setTimeout((function(){a.onCustomEvent("onFrameDataRequestFail",[e.frameRequestFail])}

24),0)}

25))}

26a.frameCache.insertBanner()}

27;a.frameCache.getCompositeMessages=function(){try{a.ajax({method:"GET",dataType:"json",url:i,async:false,data:"",onsuccess:function(e){a.frameCache.setCompositeVars(e)}

28}

29)}

30catch(e){a.debug("Composite sync request failed.")}

31}

32;a.frameCache.setCompositeVars=function(e){if(!e){return}

33else if(e.lang){e=e.lang}

34var i=a.frameCache.localStorage.get(t)||{}

35;for(var n in e){if(e.hasOwnProperty(n)){a.message[n]=e[n];if(a.util.in_array(n,s)){i[n]=e[n]}

36}

37}

38a.frameCache.localStorage.set(t,i,r)}

39;a.frameCache.insertBlock=function(e,t){if(!a.type.isFunction(t)){t=function(){}

40}

...

</html>