PageSourceSearch

https://poezd-kislovodsk.ru/wp-content/themes/root/assets/js/scripts.min.js?ver=1e4966dd2df8

js poezd-kislovodsk.ru collected 2026-10-08 14:35:14 UTC 8,451 bytes, 1 lines download raw bytes

1!function(e){"function"==typeof define&&define.amd?define("scripts",e):e()}((function(){"use strict";function e(e){if("undefined"==typeof window)return new Buffer(e,"base64").toString("utf-8");if(void 0!==window.atob)return decodeURIComponent(escape(window.atob(e)));var t,i,n,o,a,s,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",d=0,l=0,h="",u=[];if(!e)return e;e+="";do{t=(s=r.indexOf(e.charAt(d++))<<18|r.indexOf(e.charAt(d++))<<12|(o=r.indexOf(e.charAt(d++)))<<6|(a=r.indexOf(e.charAt(d++))))>>16&255,i=s>>8&255,n=255&s,u[l++]=64===o?String.fromCharCode(t):64===a?String.fromCharCode(t,i):String.fromCharCode(t,i,n)}while(d<e.length);return h=u.join(""),decodeURIComponent(escape(h.replace(/\0+$/,"")))}function t(e,t,i){var n;if(i){var o=new Date;o.setTime(o.getTime()+24*i*60*60*1e3),n="; expires="+o.toGMTString()}else n="";document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+n+"; path=/"}jQuery((function(i){var n=i(window).width();"undefined"!=typeof fixed_header&&"yes"===fixed_header&&(i("#masthead").addClass("site-header-fixed"),i(".site-header-fixed+.header-separator").css("margin-top",i("#masthead").outerHeight()),i(window).on("resize",(function(){i(".site-header-fixed+.header-separator").css("margin-top",i("#masthead").outerHeight())})));var o,a=i(".mob-hamburger"),s=i("#site-navigation"),r=i("#header_menu"),d=i("#top_menu"),l=i(".widget-mobile-menu ul"),h=d.clone(),u=l.clone();if(h.find("li").addClass("only-hamburger"),u.find("li").addClass("only-hamburger"),a.on("click",(function(){a.toggleClass("active"),s.slideToggle()})),n<=991&&i("#masthead").hasClass("site-header-fixed")){var m=i("#masthead").outerHeight();i("body").hasClass("admin-bar")&&(m+=32),i("#site-navigation").css({position:"fixed",top:m,left:0,bottom:0,width:"100%","z-index":"99999",overflow:"auto"})}function c(){i(".top-menu .menu-item .sub-menu, .main-navigation .menu-item .sub-menu, .sidebar-navigation .menu-item .sub-menu").slideUp(200)}if("undefined"!=typeof fixed_main_menu&&"yes"===fixed_main_menu&&(i("#site-navigation").clone().attr("id","").addClass("site-navigation-fixed").appendTo("body"),i(window).on("scroll",(function(){if(i(this).scrollTop()>i(".site-header").outerHeight()&&i(window).width()>974){if(i(".site-navigation-fixed").show(),i(".site-navigation-fixed").css("width",i("#site-navigation").outerWidth()),i(".site-navigation-fixed").css("left",i("#site-navigation").offset().left),i("#masthead").hasClass("site-header-fixed")){var e=i("#masthead").outerHeight();i("body").hasClass("admin-bar")&&(e+=32),i(".site-navigation-fixed").css("top",e)}}else i(".site-navigation-fixed").hide()})),i(window).on("resize",(function(){if(i(".site-navigation-fixed").is(":visible")&&(i(".site-navigation-fixed").css("width",i("#site-navigation").outerWidth()),i(".site-navigation-fixed").css("left",i("#site-navigation").offset().left),i("#masthead").hasClass("site-header-fixed"))){var e=i("#masthead").outerHeight();i("body").hasClass("admin-bar")&&(e+=32),i(".site-navigation-fixed").css("top",e)}}))),n>991&&(i(".top-menu .menu-item a, .top-menu .menu-item .removed-link, .main-navigation .menu-item a, .main-navigation .menu-item .removed-link").on("mouseenter",(function(){i(this).parent().parent().find(".sub-menu:visible").hide(),i(this).parent().find(".sub-menu:first").show(),clearTimeout(o)})),i(".top-menu, .main-navigation").on({mouseenter:function(){clearTimeout(o)},mouseleave:function(){o=setTimeout(c,400)}})),n<=991&&(i("#site-navigation").on("click",".menu-item-has-children",(function(e){"A"!==e.target.nodeName&&"a"!==e.target.nodeName&&(e.stopPropagation(),i(this).toggleClass("open"),i(this).find(".sub-menu:first").slideToggle())})),i("#footer_menu").on("click",".menu-item-has-children",(function(e){"A"!==e.target.nodeName&&"a"!==e.target.nodeName&&(e.stopPropagation(),i(this).toggleClass("open"),i(this).find(".sub-menu:first").slideToggle())}))),i(".sidebar-navigation").on("click",".menu-item-has-children",(function(e){"A"!==e.target.nodeName&&"a"!==e.target.nodeName&&(e.stopPropagation(),i(this).toggleClass("open"),i(this).find(".sub-menu:first").slideToggle())})),void 0===window.top_menu_mobile_position&&(window.top_menu_mobile_position="prepend"),"bottom"===window.top_menu_mobile_position&&(window.top_menu_mobile_position="append"),"append"===window.top_menu_mobile_position?r.append(h.html()):"prepend"===window.top_menu_mobile_position&&r.prepend(h.html()),r.append(u.html()),i(document).on("click",".js-table-of-contents-hide",(function(){var e=i(this).parents(".table-of-contents");e.toggleClass("open"),e.hasClass("open")?(t("wpshop_toc_hide","",-1),i(".js-table-of-contents-list").slideDown()):(t("wpshop_toc_hide","hide"),i(".js-table-of-contents-list").slideUp())})),i(document).on("click",'.table-of-contents a[href*="#"]',(function(e){i("html,body").stop().animate({scrollTop:i(this.hash).offset().top-100},500),e.preventDefault()})),1==settings_array.lightbox_enabled&&(i(".entry-content").find("a:has(img:not('.lightbox-skip'))").wpshoplightbox(),i(document).find("a:has(img.lightbox-open)").wpshoplightbox()),i(".entry-content table").wrap(i("<div class='table-responsive' />")),i(".js-spoiler-box-title").on("click",(function(){i(this).toggleClass("active").next().slideToggle()})),console.log(window.location.hash),i("body").hasClass("single-paged")&&!window.location.hash){var f=i("#main").offset().top;i("html,body").animate({scrollTop:f},800)}function p(){i(".entry-content iframe, .responsive-iframe iframe").each((function(){if(!(i(this).parents(".not-responsive").length||i(this).width()<=i(this).parent().width())){var e=i(this).width(),t=i(this).height(),n=i(this).parent().width(),o=n/e,a=Math.round(t*o);i(this).css({width:n,height:a})}}))}jQuery(document).on("click",".js-link",(function(t){var i=jQuery(this).data("href");if("http"!==i.substring(0,4)&&"viber"!==i.substring(0,5)){var n=e(i);"http"===n.substring(0,4)&&(i=n)}var o="self";"blank"!==jQuery(this).data("target")&&"_blank"!==jQuery(this).data("target")&&"blank"!==jQuery(this).attr("target")&&"_blank"!==jQuery(this).attr("target")||(o="blank"),"blank"===o?window.open(i):document.location.href=i})),i(".js-share-link").on("click",(function(){i(this).hasClass("js-share-link-no-window")?window.location.href=i(this).data("uri"):function(e){var t,i=626,n=436,o=(screen.height-n)/2,a=(screen.width-i)/2;o<0&&(o=0);a<0&&(a=0);t="top="+o+",left="+a,t+=",height="+n+",width="+i+",resizable=no",open(e,"displayWindow",t)}(i(this).data("uri"))})),i(".ps-link").on("click",(function(){var t=e(i(this).data("uri"));window.open(t)})),i(document).on("click",".js-star-rating-item",(function(){var e=i(this),t=e.parent(),n=e.data("score"),o=t.data("post-id"),a=t.data("rating-count"),s=t.data("rating-sum"),r=t.data("rating-value");if(!t.hasClass("disabled")){t.addClass("disabled process");var d={action:"wpshop_star_rating_submit",nonce:wps_ajax.nonce,post_id:o,score:n,rating_count:a,rating_sum:s,rating_value:r};
1jQuery.post(wps_ajax.url,d,(function(o){if(o.success){a++,r=((s+=n)/a).toFixed(2);var d="assessment",h=i("html").attr("lang");"undefined"!=typeof rating_count_text_filter?d=rating_count_text_filter:("ru-RU"===h&&(d=l(a,["оценка","оценки","оценок"])),"uk"===h&&(d=l(a,["оцінка","оцінки","оцінок"]))),e.parent().parent().find(".star-rating-text").html("<em>( <strong>"+a+"</strong> "+d+", "+settings_array.rating_text_average+" <strong>"+r+"</strong> "+settings_array.rating_text_from+" <strong>5</strong> )</em></div>")}else o.data,console.log(o);t.removeClass("process")}))}function l(e,t){return t[e%100>4&&e%100<20?2:[2,0,1,1,1,2][e%10<5?e%10:5]]}})),i(".js-star-rating-item").on({mouseenter:function(){i(this).parent().hasClass("disabled")||(i(this).parent().addClass("hover"),i(this).addClass("hover").prevAll().addClass("hover"))},mouseleave:function(){i(this).parent().hasClass("disabled")||(i(this).parent().removeClass("hover"),i(".js-star-rating-item").removeClass("hover"))}}),i(".js-comment-smiles img").on("click",(function(){var e=i(this);i("#comment").val(i("#comment").val()+" "+e.prop("alt"))})).on("dragstart",(function(e){e.preventDefault()})),p(),i(window).on("resize",(function(){p()}));var g=i(".js-scrolltop");g.on("click",(function(){return i("body,html").animate({scrollTop:0},500)})),i(window).on("scroll",(function(){i(this).scrollTop()>100?n<991?"on"===g.data("mob")&&g.fadeIn():g.fadeIn():g.fadeOut()}))}))}));

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.