https://buildsoft.ru/bitrix/templates/aspro-allcorp3digital/js/blocks/controls.min.js?16831092545335
1function optBuyBasketAction(basketItems,itemsToNotice){const basketParams={type:"multiple",ajaxPost:"Y",action:"buy",items:[]};basketItems&&(basketParams.items=basketItems);var bBasketTop=void 0!==arAsproOptions.THEME.ORDER_BASKET_VIEW&&"HEADER"===$.trim(arAsproOptions.THEME.ORDER_BASKET_VIEW)&&$(".basket.top").length,bBasketFly=void 0!==arAsproOptions.THEME.ORDER_BASKET_VIEW&&!bBasketTop&&$(".basket.fly").length;basketParams.items.length&&$.ajax({url:arAsproOptions.SITE_DIR+"include/footer/basket.php",type:"POST",data:basketParams}).done((function(html){bBasketTop?$(".ajax_basket").replaceWith(html):bBasketFly&&$(".ajax_basket").html($($.trim(html)).html()),"undefined"==typeof JNoticeSurface?bBasketTop?($(".header-cart").addClass("opened"),"undefined"!=typeof headerCartHideTimer&&clearTimeout(headerCartHideTimer),headerCartHideTimer=setTimeout((function(){$(".header-cart").removeClass("opened")}),2e3)):bBasketFly&&setTimeout((function(){$(".ajax_basket").hasClass("opened")||$(".ajax_basket").addClass("opened")}),50):JNoticeSurface.get().onAdd2cart(itemsToNotice);var eventdata={action:"loadBasket"};BX.onCustomEvent("onCompleteAction",[eventdata,$(html)]),setBasketItemsClasses()}))}$(document).ready((function(){$(document).on("click",".dropdown-select .dropdown-select__title",(function(){var _this=$(this),menu=_this.parent().find("> .dropdown-select__list");_this.hasClass("clicked")||(_this.addClass("clicked"),_this.toggleClass("opened"),menu.stop().slideToggle(100,(function(){_this.removeClass("clicked")})))})),$(document).on("click",".dropdown-select__list .mixitup-item",(function(){var $select=$(this).closest(".dropdown-select");$select.find(".dropdown-select__list-link").removeClass("dropdown-select__list-link--current"),$(this).find(".dropdown-select__list-link").addClass("dropdown-select__list-link--current"),$select.find(".dropdown-select__title span").text($(this).text()),$select.find(".dropdown-select__title.opened").click();const eventData={type:"change",payload:{item:$(this)}};BX.onCustomEvent("onChangeOptionSelect",[eventData])})),$("html, body").on("mousedown",(function(e){"string"==typeof e.target.className&&e.target.className.indexOf("adm")<0&&(e.stopPropagation(),$(".dropdown-select .dropdown-select__title.opened").each((function(){var $select=$(this).closest(".dropdown-select");$(e.target).closest($select).length||$(this).click()})))})),$(document).on("click",".hint__icon",(function(e){e.stopImmediatePropagation();var tooltipWrapp=$(this).closest(".hint");tooltipWrapp.hasClass("active")?tooltipWrapp.removeClass("active").find(".tooltip").slideUp(200):(tooltipWrapp.addClass("active"),tooltipWrapp.find(".tooltip").slideDown(200),tooltipWrapp.find(".tooltip_close").click((function(e){e.stopPropagation(),e.stopImmediatePropagation(),tooltipWrapp.removeClass("active").find(".tooltip").slideUp(100)}))),e.stopPropagation()}));const containerEl=document.querySelector(".mixitup-container");if(containerEl){var config,mixer=mixitup(containerEl,{selectors:{target:'[data-ref="mixitup-target"]'},animation:{effects:""},load:{filter:"none"},animation:{duration:350},controls:{scope:"local"},callbacks:{onMixStart:function(state){},onMixClick:function(state,event){let $item=event.target.children.length?event.target:event.target.parentElement;$($item).siblings().removeClass("color-theme head-block__item--active active"),$($item).addClass("color-theme head-block__item--active active")},onMixEnd:function(){}}});containerEl.classList.add("mixitup-ready"),mixer.show().then((function(){mixer.configure({animation:{effects:"fade scale"}})}))}$(".form-group:not(.eye-password-ignore) [type=password]").each((function(item){let passBlock=$(this).closest(".form-group"),labelBlock=passBlock.find(".label_block");labelBlock.length?labelBlock.addClass("eye-password"):passBlock.addClass("eye-password")})),$(document).on("click",".eye-password:not(.eye-password-ignore)",(function(event){let input=this.querySelector("input"),eyeWidth=56;this.clientWidth-56<event.offsetX&&("password"==input.type?(input.type="text",this.classList.add("password-show")):"text"==input.type&&(input.type="password",this.classList.remove("password-show")),event.stopPropagation())}))})),$(document).on("click",".gallery-view_switch__icons:not(.active)",(function(){var $this=$(this),animationTime=200,bSmall=$this.hasClass("gallery-view_switch__icons--small"),$switchGallery=$this.closest(".gallery-view_switch"),$bigGallery=($this.closest(".big_gallery").length?$this.closest(".big_gallery"):$this.closest(".gallery")).find(".gallery-big"),$b
1igGalleryCounter=$switchGallery.find(".gallery-view_switch__count-wrapper--big"),$smallGallery=($this.closest(".big_gallery").length?$this.closest(".big_gallery"):$this.closest(".gallery")).find(".gallery-small"),$smallGalleryCounter=$switchGallery.find(".gallery-view_switch__count-wrapper--small"),$toHideGallery=bSmall?$bigGallery:$smallGallery,$toHideGalleryCounter=bSmall?$bigGalleryCounter:$smallGalleryCounter,$toShowGallery=bSmall?$smallGallery:$bigGallery,$toShowGalleryCounter=bSmall?$smallGalleryCounter:$bigGalleryCounter;$this.addClass("active"),$this.siblings(".active").removeClass("active"),$toHideGalleryCounter.fadeOut(200,(function(){$toShowGalleryCounter.fadeIn(200)})),$toHideGallery.fadeOut(200,(function(){$toShowGallery.fadeIn(200)}))}));
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.