1!function($,window,document,undefined){$.fn.doubleTapToGo=function(action){return"ontouchstart"in window||navigator.msMaxTouchPoints||navigator.userAgent.toLowerCase().match(/windows phone os 7/i)?(this.each("unbind"===action?function(){$(this).off(),$(document).off("click touchstart MSPointerDown",handleTouch)}:function(){function handleTouch(e){for(var resetItem=!0,parents=$(e.target).parents(),i=0;i<parents.length;i++)parents[i]==curItem[0]&&(resetItem=!1);resetItem&&(curItem=!1)}var curItem=!1;$(this).on("click",function(e){var item=$(this);item[0]!=curItem[0]&&(e.preventDefault(),curItem=item)}),$(document).on("click touchstart MSPointerDown",handleTouch)}),this):!1}}(jQuery,window,document); 2 3$(".menu li.folder, .widget_user_avatar .user_info a").doubleTapToGo(); 4 5if($(window).width() <= 960){ 6 $('.content_list.tiled .clear').remove(); 7 $('<div class="clear"></div>').insertAfter('.content_list.tiled .tile:nth-child(even)'); 8} 9 10if($(window).width() <= 768){ 11 $('main .widget_user_avatar .menu .folder > a').attr('href','javascript:;'); 12 $('main .widget_user_avatar .menu .folder').click(function(){ 13 $('main .widget_user_avatar .menu .folder ul').hide(); 14 $(this).children("ul").toggle(); 15 }); 16} 17 18if($(window).width() <= 540){ 19 $('.pagebar_nav .pagebar_page').html('<i class="bx-chevron-right"></i>'); 20 $('.pagebar_nav .pagebar_page:first-child').html('<i class="bx-chevron-left"></i>'); 21} 22 23 24$(document).ready(function() { 25 26 $(".topbar_search_button").on("click", function(){$(".topbar_search").slideToggle("slow", function(){$('.topbar_search input').focus();});}); 27 $(".topbar_search_close").on("click", function(){$(".topbar_search").slideToggle();}); 28 $(".footer_top").on("click", function(){$(".footer_top span").toggle();}); 29 30 $('#main_menu ul.menu, #widget_pos_left-top .menu, .tabs-menu > ul, .content_datasets ul').flexMenu({'cutoff' : 1, 'linkText' : 'ÐÑе', 'linkTitle' : 'ÐÑе', 'linkTextAll' : '<i class="bx-bars"></i> ÐÐµÐ½Ñ Ð´ÐµÐ¹ÑÑвий'}); 31 $('header .my_topbar .topbar_left > .menu, header .my_topbar .topbar_right > .menu').flexMenu({'cutoff' : 1, 'threshold' : 1, 'linkText' : 'ÐÑе', 'linkTitle' : 'ÐÑе', 'linkTextAll' : '<i class="bx-bars"></i>'}); 32 33}); 34 35$(function() { 36 37 $('#menu_mobile').hcOffcanvasNav({ 38 maxWidth: 480, 39 pushContent: '#layout', 40 customToggle: '.menu_mobile.is_mm', 41 labelClose: 'ÐакÑÑÑÑ Ð¼ÐµÐ½Ñ', 42 labelBack: 'Ðазад', 43 }); 44 45}); 46 47$(window).resize(function() { 48 if ($(window).width() > 480) { 49 $("#menu_mobile").removeClass("is_mm"); 50 } 51}); 52 53function BxFontToggle(size){ 54 if (size){ 55 $.cookie('icms[vi_font]', size, {expires: 7, path: '/'}); 56 } else { 57 $.cookie('icms[vi_font]', null, {path: '/'}); 58 } 59} 60function BxBgToggle(class_name){ 61 if (class_name){
62 $.cookie('icms[vi_class]', class_name, {expires: 7, path: '/'}); 63 } else { 64 $.cookie('icms[vi_class]', null, {expires: 7, path: '/'}); 65 } 66} 67function BxImgToggle(hide){ 68 if (hide){ 69 $.cookie('icms[vi_opacity]', 'hide', {expires: 7, path: '/'}); 70 } else { 71 $.cookie('icms[vi_opacity]', null, {expires: 7, path: '/'}); 72 } 73}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.