var A,renderGoogleCaptcha,API,API_THEME,H,jivo_onLoadCallback,indexOf=[].indexOf;A={yandexID:0,startGoogleCaptchaInitialize:!1,googleCaptchaInitialized:!1,googleCaptchaCallback:null,isYaCheckout:!0,isVideoPlayer:!0,init:function(){return A.city=PRELOAD.city,A.getYandexID(function(e){return A.setCookie("yandex_id",e)}),A.P.init(),A.W.init(),A.FORM.init(),window.addEventListener("scroll",A.P.scroll,{passive:!1}),document.addEventListener("wheel",A.P.scroll,{passive:!1}),A.scroll(),document.addEventListener("gesturestart",function(e){return e.preventDefault()}),document.body.classList.add(navigator.saysWho.toLowerCase().replace(/ /gi,"_"))},scroll:function(e){return A.P.scroll(e)},isLocal:function(){return"roots2.in"===window.location.host},mail:/^([A-Za-z0-9_-]+\.)*[A-Za-z0-9_-]+@[A-Za-z0-9_-]+(\.[A-Za-z0-9_-]+)*\.[A-Za-z]{2,6}$/,phone_mask:"+7 (999) 999-99-99",scrollbarWidth:function(){var e,t;return(e=document.createElement("div")).style.overflowY="scroll",e.style.width="50px",e.style.height="50px",document.body.append(e),t=e.offsetWidth-e.clientWidth,e.remove(),t},notify:function(e,t=""){return e.queue(function(){return e.html(t).show(),e.dequeue()})},isSafari:function(){return $("html").hasClass("safari")},isIOS:function(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&indexOf.call(document,"ontouchend")>=0},isAndroid:function(){return navigator.userAgent.toLowerCase().indexOf("android")>-1},isAuth:function(){return IS_AUTH},isMobile:function(){return $(window).width()<=520},isPad:function(){return $(window).width()<=1024},isBigPad:function(){return $(window).width()<=1180},FORM:{globalPrepareValidate:function(e,t){return $(".error_text",e.$wrap).remove(),e.$wrap.removeClass("error good")},globalGood:function(e,t){return e.$wrap.addClass("good")},globalBad:function(e,t){return e.$wrap.addClass("error"),e.$wrap.append($('
'+t.errors.join("
")+"
"))},init:function(){return $.fn.FORM("setGlobalGood",A.FORM.globalGood),$.fn.FORM("setGlobalBad",A.FORM.globalBad),$.fn.FORM("setPrepareValidate",A.FORM.globalPrepareValidate)}},setCookie:function(e,t,a){var n,r;return r=window.location.host.split(".").reverse()[1]+"."+window.location.host.split(".").reverse()[0],n=e+"="+encodeURIComponent(t)+"; expires="+new Date(a||(new Date).getTime()).toGMTString()+";path=/;",document.cookie=n,n=e+"="+encodeURIComponent(t)+"; expires="+new Date(a||(new Date).getTime()+5184e6).toGMTString()+";domain=."+r+";path=/;",document.cookie=n,n=e+"="+encodeURIComponent(t)+"; expires="+new Date(a||(new Date).getTime()+5184e6).toGMTString()+";domain="+r+";path=/;",document.cookie=n,n},getCookie:function(e){return!!new RegExp("(?:; )?"+e+"=([^;]*);?").test(document.cookie)&&decodeURIComponent(RegExp.$1)},reach:function(e){return"undefined"!=typeof yaCounter32763095&&null!==yaCounter32763095?yaCounter32763095.reachGoal(e):void 0},getYandexID:function(e){return"function"==typeof ym?ym(32763095,"getClientID",e):void 0},ga:function(e=null,t=null){return"function"==typeof ga&&ga("send","event",e,t),"function"==typeof gtag?gtag("event",t,{event_category:e}):void 0},tiktok:function(e,t){return"undefined"!=typeof ttq&&null!==ttq?ttq.track(e,t):void 0},ecommerce:function(e){var t;return window.dataLayer=window.dataLayer||[],t={ecommerce:{currencyCode:"RUB",purchase:{actionField:{id:e.id},products:e.products}}},window.dataLayer.push(t)},ecommerceAddToCart:function(e){var t;return window.dataLayer=window.dataLayer||[],t={ecommerce:{currencyCode:"RUB",add:{products:[e]}}},window.dataLayer.push(t)},getEcommerceCart:function(e,t){var a,n,r;for(e=[],0,a=[],A.ecommerce(e),n=0,r=e.length;n<\/script>')),$("body").append($('