!function(t){"function"==typeof define&&define.amd?define("scripts",t):t()}((function(){"use strict";function t(t,e,n){var o;if(n){var i=new Date;i.setTime(i.getTime()+24*n*60*60*1e3),o="; expires="+i.toGMTString()}else o="";document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)+o+"; path=/"}function e(t){return 0===t?"":t}window.isMobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),window.isSearchBot=/Bot/i.test(navigator.userAgent),window.isMobile&&document.body.classList.add("is-mobile"),jQuery((function(t){var e=t(window).width(),n=t(".js-scrolltop");n.on("click",(function(){return t("body,html").animate({scrollTop:0},500)})),t(window).on("scroll",(function(){t(this).scrollTop()>100?e

');i.on("click",(function(){var o=n(this).attr("href"),i=e.createElement("img"),r=n(i);if(o.match(/(\.jpg|\.gif|\.jpeg|\.png|\.webp|\.svg)$/i))return r.attr("src",o),a.appendTo("body")[0],n("head").append('"),n("body").addClass("wpshoplightbox-scroll"),a.find(".wpshoplightbox-image").html(r),setTimeout((function(){a.addClass("wpshoplightbox--open")}),10),!1})),n(e).on("click",".wpshoplightbox-body, .wpshoplightbox-close",(function(){n(e).find(".wpshoplightbox-container").removeClass("wpshoplightbox--open"),setTimeout((function(){n(e).find(".wpshoplightbox-container").remove()}),400),n("body").removeClass("wpshoplightbox-scroll"),n("#wpshoplightbox-scroll-style").remove()}))})}(window,document,jQuery),jQuery((function(t){var e=window.wpshop_ajax||window.wps_ajax;void 0!==e?(t(document).on("click",".js-star-rating-item",(function(){var n=t(this),o=n.parent(),i=n.data("score"),a=o.data("post-id"),r=o.data("rating-count"),c=o.data("rating-sum"),s=o.data("rating-value");if(!o.hasClass("disabled")){o.addClass("disabled process");var l={action:"wpshop_star_rating_submit",nonce:e.nonce,post_id:a,score:i,rating_count:r,rating_sum:c,rating_value:s};jQuery.post(e.url,l,(function(e){if(e.success){r++,s=((c+=i)/r).toFixed(2);var a="assessment",l=t("html").attr("lang");"undefined"!=typeof rating_count_text_filter?a=rating_count_text_filter:("ru-RU"===l&&(a=d(r,["оценка","оценки","оценок"])),"uk"===l&&(a=d(r,["оцінка","оцінки","оцінок"]))),n.parent().parent().find(".star-rating-text").html("( "+r+" "+a+", "+settings_array.rating_text_average+" "+s+" "+settings_array.rating_text_from+" 5 )")}else e.data,console.log(e);o.removeClass("process")}))}function d(t,e){return e[t%100>4&&t%100=c&&e.addClass("w-animate--wait")}))}(n),n=n.filter(".w-animate--wait"),r(),t(window).bind("resize",a(r,200)),t(window).bind("scroll",a((function(){e(n)}),200))}function o(t,e,n){if(e0&&(8!==(l=parseInt(r.substring(c+5,r.indexOf(".",c))))&&9!==l||(d=!0)),!d&&t(window).width()>=980&&!window.isSearchBot&&!window.isMobile&&t(window).width()>=980?setTimeout((function(){n()}),300):t(".w-animate").removeClass("w-animate")})),jQuery((function(t){"undefined"!=typeof wpshop_views_counter_params&&t.ajax({type:"GET",url:wpshop_views_counter_params.url,data:"id="+wpshop_views_counter_params.post_id+"&action=wpshop_views_counter"}).done((function(e){e.success&&e.data.forEach((function(e){var n,o,i;n=e.id,o=e.count,(i=t('.js-views-count[data-post_id="'+n+'"]')).length&&i.text(o)}))}))})),function(){function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n"))&&S.css("position",n.css("position")),U=function(){var t,e,i;if(!w&&(C=o.height(),t=parseInt(_.css("border-top-width"),10),e=parseInt(_.css("padding-top"),10),a=parseInt(_.css("padding-bottom"),10),r=_.offset().top+t+e,s=_.height(),y&&(g=y=!1,null==l&&(n.insertAfter(S),S.detach()),n.css({position:"",top:"",width:"",bottom:""}).removeClass(p),i=!0),v=n.offset().top-(parseInt(n.css("margin-top"),10)||0)-d,m=n.outerHeight(!0),f=n.css("float"),S&&S.css({width:n.outerWidth(!0),height:m,display:n.css("display"),"vertical-align":n.css("vertical-align"),float:f}),i))return x()},U(),m!==s)return k=void 0,I=d,E=h,x=function(){var t,u,b,R;if(!w&&(b=!1,null!=E&&(0>=--E&&(E=h,U(),b=!0)),b||o.height()===C||U(),b=e.scrollTop(),null!=k&&(u=b-k),k=b,y?(i&&(R=b+m+I>s+r,g&&!R&&(g=!1,n.css({position:"fixed",bottom:"",top:I}).trigger("sticky_kit:unbottom"))),bt&&!g&&(I-=u,I=Math.max(t-m,I),I=Math.min(d,I),y&&n.css({top:I+"px"})))):b>v&&(y=!0,(t={position:"fixed",top:I}).width="border-box"===n.css("box-sizing")?n.outerWidth()+"px":n.width()+"px",n.css(t).addClass(p),null==l&&(n.after(S),"left"!==f&&"right"!==f||S.append(n)),n.trigger("sticky_kit:stick")),y&&i&&(null==R&&(R=b+m+I>s+r),!g&&R)))return g=!0,"static"===_.css("position")&&_.css({position:"relative"}),n.css({position:"absolute",bottom:a,top:"auto"}).trigger("sticky_kit:bottom")},R=function(){return U(),x()},b=function(){if(w=!0,e.off("touchmove",x),e.off("scroll",x),e.off("resize",R),t(document.body).off("sticky_kit:recalc",R),n.off("sticky_kit:detach",b),n.removeData("sticky_kit"),n.css({position:"",bottom:"",top:"",width:""}),_.position("position",""),y)return null==l&&("left"!==f&&"right"!==f||n.insertAfter(S),S.remove()),n.removeClass(p)},e.on("touchmove",x),e.on("scroll",x),e.on("resize",R),t(document.body).on("sticky_kit:recalc",R),n.on("sticky_kit:detach",b),setTimeout(x,0)}},r=0,s=this.length;r')).find("#header_menu"),console.log(e));var r=t("#top-menu"),c=t(".widget-mobile-menu ul"),s=t(".js-mobile-menu-placeholder"),l=r.clone(),d=c.clone();function u(){var e=t(".js-search-screen"),n=t(".js-search-screen-overlay"),o=t("body");t(".site-content").removeClass("blur"),e.removeClass("open"),n.removeClass("open"),setTimeout((function(){e.css("display","none"),n.css("display","none")}),150),t(".js-search-icon").removeClass("close"),o.removeClass("scroll-locked"),o.css("padding-right","")}function h(){t(".entry-image--fullscreen").length&&t(".entry-image--fullscreen").css("height","calc(100vh - "+t(".entry-image--fullscreen").offset().top+"px)")}function p(){t(".entry-content iframe, .responsive-iframe iframe").each((function(){if(!t(this).parents(".wp-has-aspect-ratio").length&&!(t(this).parents(".not-responsive").length||t(this).width()t(".site-header").outerHeight()&&t(window).width()>974?(t(".site-navigation-fixed").show(),t(".site-navigation-fixed").css("width",t("#site-navigation").outerWidth()),t(".site-navigation-fixed").css("left",t("#site-navigation").offset().left)):t(".site-navigation-fixed").hide()})),t(window).on("resize",(function(){t(".site-navigation-fixed").is(":visible")&&(t(".site-navigation-fixed").css("width",t("#site-navigation").outerWidth()),t(".site-navigation-fixed").css("left",t("#site-navigation").offset().left))}))),i>991&&t(".main-navigation, .top-menu").each((function(){var e,n=t(this);n.find(".menu-item a, .menu-item .removed-link").on("mouseenter",(function(){t(this).parent().parent().find(".sub-menu:visible").hide(),t(this).parent().find(".sub-menu:first").show(),clearTimeout(e)})),n.on({mouseenter:function(){clearTimeout(e)},mouseleave:function(){e=setTimeout((function(){n.find(".sub-menu").slideUp(200)}),400)}})})),i")),jQuery(document).on("click",".js-link",(function(t){var e=jQuery(this).data("href");if("http"!==e.substring(0,4)&&"viber"!==e.substring(0,5)){var n=function(t){if("undefined"==typeof window)return new Buffer(t,"base64").toString("utf-8");if(void 0!==window.atob)return decodeURIComponent(escape(window.atob(t)));var e,n,o,i,a,r,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=0,l=0,d="",u=[];if(!t)return t;t+="";do{e=(r=c.indexOf(t.charAt(s++))>16&255,n=r>>8&255,o=255&r,u[l++]=64===i?String.fromCharCode(e):64===a?String.fromCharCode(e,n):String.fromCharCode(e,n,o)}while(s=992&&1==settings_array.sidebar_fixed){var v=t(".js-sticky-sidebar"),m=v.height();v.stick_in_parent({offset_top:20}),t(window).on("resize",(function(e){return t(document.body).trigger("sticky_kit:recalc")})),setInterval((function(){m!==v.height()&&(m=v.height(),t(document.body).trigger("sticky_kit:recalc"))}),1e3)}function f(){t(window).width()>=992?t("body").css("margin-bottom",t(".site-footer-container").outerHeight()):t("body").css("margin-bottom",0)}t(".site-footer-container").length&&!t(".site-footer-container").hasClass("site-footer-container--disable-sticky")&&(f(),t(window).on("resize",(function(){f()})),setInterval(f,1e3))})),jQuery((function(e){e(document).on("click",".js-table-of-contents-hide",(function(){var n=e(this).parents(".table-of-contents");n.toggleClass("open"),n.hasClass("open")?(t("wpshop_toc_hide","",-1),e(".js-table-of-contents-list").slideDown()):(t("wpshop_toc_hide","hide"),e(".js-table-of-contents-list").slideUp())})),e(document).on("click",'.table-of-contents a[href*="#"]',(function(t){var n=e(this).parents(".entry-content").find(this.hash);e("html,body").stop().animate({scrollTop:n.offset().top-100},{duration:500,step:function(t,e){var o=n.offset().top-100;e.end!==o&&(e.end=o)}}),t.preventDefault()}))}))})); Щенки чау — купить в Санкт-Петербурге | Объявление №35140 | ZVERO Бездомный кот, съевший кусок полиэтиленового мусорного пакета, был спасен Йеменский хамелеон — купить в Москве | Объявление №142764 | ZVERO Креветка вишня — купить в Санкт-Петербурге | Объявление №42337 | ZVERO Померанский шпиц,красивый мраморный малыш Рокки — купить в Санкт-Петербурге | Объявление №34727 | ZVERO