PageSourceSearch

https://xn--e1akdckkmn.xn--p1ai/bitrix/templates/aspro-allcorp3/js/blocks/controls.min.js?17603801694806

js xn--e1akdckkmn.xn--p1ai collected 2026-09-30 03:11:15 UTC 4,806 bytes, 1 lines download raw bytes

1function optBuyBasketAction(e,t){const o={type:"multiple",ajaxPost:"Y",action:"buy",items:[]};e&&(o.items=e);var a=void 0!==arAsproOptions.THEME.ORDER_BASKET_VIEW&&"HEADER"===$.trim(arAsproOptions.THEME.ORDER_BASKET_VIEW)&&$(".basket.top").length,s=void 0!==arAsproOptions.THEME.ORDER_BASKET_VIEW&&!a&&$(".basket.fly").length;o.items.length&&$.ajax({url:arAsproOptions.SITE_DIR+"include/footer/basket.php",type:"POST",data:o}).done((function(e){a?$(".ajax_basket").replaceWith(e):s&&$(".ajax_basket").html($($.trim(e)).html()),"undefined"==typeof JNoticeSurface?a?($(".header-cart").addClass("opened"),"undefined"!=typeof headerCartHideTimer&&clearTimeout(headerCartHideTimer),headerCartHideTimer=setTimeout((function(){$(".header-cart").removeClass("opened")}),2e3)):s&&setTimeout((function(){$(".ajax_basket").hasClass("opened")||$(".ajax_basket").addClass("opened")}),50):JNoticeSurface.get().onAdd2cart(t);BX.onCustomEvent("onCompleteAction",[{action:"loadBasket"},$(e)]),setBasketItemsClasses()}))}$(document).ready((function(){$(document).on("click",".dropdown-select .dropdown-select__title",(function(){var e=$
1(this),t=e.parent().find("> .dropdown-select__list");e.hasClass("clicked")||(e.addClass("clicked"),e.toggleClass("opened"),t.stop().slideToggle(100,(function(){e.removeClass("clicked")})))})),$(document).on("click",".dropdown-select__list .mixitup-item",(function(){var e=$(this).closest(".dropdown-select");e.find(".dropdown-select__list-link").removeClass("dropdown-select__list-link--current"),$(this).find(".dropdown-select__list-link").addClass("dropdown-select__list-link--current"),e.find(".dropdown-select__title span").text($(this).text()),e.find(".dropdown-select__title.opened").click();const t={type:"change",payload:{item:$(this)}};BX.onCustomEvent("onChangeOptionSelect",[t])})),$("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 t=$(this).closest(".dropdown-select");$(e.target).closest(t).length||$(this).click()})))})),$(document).on("click",".hint__icon",(function(e){e.stopImmediatePropagation();var t=$(this).closest(".hint");t.hasClass("active")?t.removeClass("active").find(".tooltip").slideUp(200):(t.addClass("active"),t.find(".tooltip").slideDown(200),t.find(".tooltip_close").click((function(e){e.stopPropagation(),e.stopImmediatePropagation(),t.removeClass("active").find(".tooltip").slideUp(100)}))),e.stopPropagation()}));const e=document.querySelector(".mixitup-container");if(e){var t=mixitup(e,{selectors:{target:'[data-ref="mixitup-target"]'},animation:{effects:""},load:{filter:"none"},animation:{duration:350},controls:{scope:"local"},callbacks:{onMixStart:function(e){},onMixClick:function(e,t){let o=t.target.children.length?t.target:t.target.parentElement;$(o).siblings().removeClass("color-theme head-block__item--active active"),$(o).addClass("color-theme head-block__item--active active")},onMixEnd:function(){}}});e.classList.add("mixitup-ready"),t.show().then((function(){t.configure({animation:{effects:"fade scale"}})}))}$(".form-group:not(.eye-password-ignore) [type=password]").each((function(e){let t=$(this).closest(".form-group"),o=t.find(".label_block");o.length?o.addClass("eye-password"):t.addClass("eye-password")})),$(document).on("click",".eye-password:not(.eye-password-ignore)",(function(e){let t=this.querySelector("input");this.clientWidth-56<e.offsetX&&("password"==t.type?(t.type="text",this.classList.add("password-show")):"text"==t.type&&(t.type="password",this.classList.remove("password-show")),e.stopPropagation())})),$(document).on("click",".refresh",(function(e){var t=$(this).parents(".captcha-row");e.preventDefault(),$.ajax({url:arAsproOptions.SITE_DIR+"ajax/captcha.php"}).done((function(e){t.find("input[name=captcha_sid],input[name=captcha_code]").val(e),t.find("img").attr("src","/bitrix/tools/captcha.php?captcha_sid="+e),t.find("input[name=captcha_word]").val("").removeClass("error"),t.find(".captcha_input").removeClass("error").find(".error").remove()}))}))})),$(document).on("click",".gallery-view_switch__icons:not(.active)",(function(){var e=$
1(this),t=200,o=e.hasClass("gallery-view_switch__icons--small"),a=e.closest(".gallery-view_switch"),s=(e.closest(".big_gallery").length?e.closest(".big_gallery"):e.closest(".gallery")).find(".gallery-big"),i=a.find(".gallery-view_switch__count-wrapper--big"),n=(e.closest(".big_gallery").length?e.closest(".big_gallery"):e.closest(".gallery")).find(".gallery-small"),l=a.find(".gallery-view_switch__count-wrapper--small"),c=o?s:n,r=o?i:l,d=o?n:s,p=o?l:i;e.addClass("active"),e.siblings(".active").removeClass("active"),r.fadeOut(t,(function(){p.fadeIn(t)})),c.fadeOut(t,(function(){d.fadeIn(t)}))}));

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.