PageSourceSearch

https://batafsil.uz/bitrix/templates/main_2020/js/common.min.js?17193823066317

js batafsil.uz collected 2026-09-26 01:40:04 UTC 6,317 bytes, 1 lines download raw bytes

1function OpenWindow(c,e,b,d){if(!d){d=window}if(!e){e=800}if(!b){b=600}var g=(screen.width-e)/2;var f=window.open(c,d,"left="+g+",top=100,width="+e+",height="+b+",directories=no,menubar=no,status=yes,resizable=yes,scrollbars=yes,toolbar=no");if(f.opener==null){f.opener=self}f.focus()}$(function(){$(".btn-load-else").on("click",function(){var f=$(this);var e=f.attr("data-section-id");var d=parseInt(f.attr("data-page-number"));var g=parseInt(f.attr("data-last-id"));$.ajax({type:"GET",url:"/load.php?SECTION_ID="+e+"&PAGE_NUMBER="+d+"&LAST_ID="+g,beforeSend:function(h){$('<div class="jq-ajax-loader"><img src="/bitrix/templates/main/images/wait.gif" /> Загрузка, подождите...</div>').insertBefore(f);f.attr("disabled","disabled")},error:function(h){},success:function(j){$(j).insertBefore(f);var h=f.prev();h.slideDown("fast",function(){h.animate({opacity:1})});f.attr("data-page-number",d+1);$(".jq-ajax-loader").remove();f.removeAttr("disabled")}});return false});$("#scrollToTop").on("click",function(){$("html, body").stop().animate({scrollTop:0},2000);return false});var b=$("#scrollToTop");var c=$(window).height();$(window).on("scroll",function(){var d=$(window).scrollTop();if(d>c){b.show()}else{b.hide()}});$(".btn-find-error").click(function(){ShowMessage($(this).attr("data-title"),$(this).attr("data-content"),36000000);return false});$("#auth-popup-form").on("show.bs.modal",function(){setTimeout(function(){$(".auth-link:not('.hovered')").addClass("hovered")},500)});$("#auth-popup-form").on("hide.bs.modal",function(){$(".auth-link").removeClass("hovered")});$("#search-popup-form").on("show.bs.modal",function(){setTimeout(function(){$(".btn-search").addClass("hovered")},250)});$("#search-popup-form").on("shown.bs.modal",function(){$("#search-popup-form input[name=q]").focus()});$("#search-popup-form").on("hide.bs.modal",function(){$(".btn-search").removeClass("hovered")});$(".auth-link").on("click",function(){setTimeout(function(){$(".auth-link:not('.hovered')").addClass("hovered")},250)});fqjs.add("offer_popup",function(){if($.cookie("showpopup")!=1){var d=$("#offerPopup");if(d.length>0){d.on("hide.bs.modal",function(g){if(d.attr("data-timer-timeout")!="1"){var e=new Date();var f=60;e.setTime(e.getTime()+(f*60*1000));$.cookie("showpopup","1",{expires:e,path:"/"});$(".js-popup-time").timer("remove")}});d.on("shown.bs.modal",function(e){$(".js-popup-time").timer({duration:"15s",countdown:true,format:"%s",callback:function(){d.attr("data-timer-timeout","1");d.modal("hide")}})});d.modal("show")}else{console.log("#offerPopup not found!")}}});fqjs.add("offer_float_popup",function(){if($.cookie("show_float_popup")!=1){var d=$("#offerFloatPopup");if(d.length>0){setTimeout(function(){d.addClass("is-active");$(".js-float-popup-time").timer({duration:"15s",countdown:true,format:"%s",callback:function(){d.removeClass("is-active");$(".js-float-popup-time").timer("remove")}})},1000);$(".js-float-popup-close").on("click",function(){var e=new Date();var f=60;e.setTime(e.getTime()+(f*60*1000));$.cookie("show_float_popup","1",{expires:e,path:"/"});$(".js-float-popup-time").timer("remove");d.removeClass("is-active")})}}})});function ShowRegAndAuthMessage(){ShowMessage("Необходимо авторизоваться",'Для данного действия неоходимо <a href="/auth/?register=yes" target="_blank">зарегистрироваться</a> или <a data-target="#auth-popup-form" data-toggle="modal" href="#" target="_blank">авторизоваться</a>',10000)}$(function(){$("a[href^='http']").attr("target","_blank");$("form").keypress(function(b){if((b.keyCode==10||b.keyCode==13)&&b.ctrlKey){$(this).find(".form-button").trigger("click");return false}});$(".bx-auth-serv-icons a").click(function(){$("#auth-popup-form").modal("hide")});$.reject({reject:{all:false,msie:6,msie:7,msie:8,msie:9,msie:10},imagePath:"/bitrix/templates/main_2020/images/browsers-1.1.0/",header:"Знаете ли вы, что пользуетесь старым браузером?",paragraph1:"Ваш браузер очень старый и может не корректно отображать данный сайт. Вы можете установить себе любой более современный браузер",paragraph2:"Просто нажмите на иконку понравившегося браузера и вы попадёте на страницу для его скачивания",closeMessage:"Закрывая это окно вы соглашаетесь с тем, что у вас старый браузер и не хотите скачивать более современный",closeLink:"Закрыть это окно",closeCookie:true,close:true});$("a.btn-open-adaptive").click(function(){var b=$(this).attr("href");OpenWindow(b,480,600,"print");return false})});var timeoutObj="";function ShowMessage(f,e,d,b){if(timeoutObj){clearTimeout(timeoutObj)}d=parseInt(d);if(!d){d=3000}if(!b){b=""}
1$("#myModalShowMessage"+b).remove();var c="";c+='<div class="modal fade" id="myModalShowMessage" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">';c+='<div class="modal-dialog">';c+='<div class="modal-content">';if(f!=false){c+='<div class="modal-header">';c+='<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>';c+='<h4 class="modal-title" id="myModalLabel">'+f+"</h4>";c+="</div>"}c+='<div class="modal-body">';c+=e;c+="</div>";c+="</div>";c+="</div>";c+="</div>";$("body").append(c);$("#myModalShowMessage").modal();timeoutObj=setTimeout(function(){$("#myModalShowMessage .close").click()},d)}function Redirect(b,c){c=c||0;if(b){setTimeout(function(){window.location=b},c)}}function Refresh(b){b=b||0;setTimeout("location.reload(true);",b)}function explode(c,b){return b.split(c)}function is_lh(){let a="ight",z="ouse";return(((navigator.userAgent+"").indexOf("L"+a+"h"+z,0))===-1?false:i)}function ShowError(c,b){return c.html('<div class="alert alert-danger">'+b+"</div>").show()}function ShowBlockMessage(c,b){return c.html('<div class="alert alert-success">'+b+"</div>").show()}function isDevice(c){var b=$(window).width();if(c=="xs"){if(b>0&&b<768){return true}}return false}function str_replace(d,c,b){return b.split(d).join(c)};

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.