PageSourceSearch

https://art-13.ru/bitrix/templates/aspro-allcorp3medc/components/bitrix/news/contacts/script.min.js

js art-13.ru collected 2026-10-08 04:46:55 UTC 3,501 bytes, 2 lines download raw bytes

1$(document).ready((function(){$(".contacts__filter-select .dropdown-select .dropdown-select__list-item a").on("click",(function(e){e.preventDefault();var $select=$(this).closest(".dropdown-select");$select.find(".dropdown-select__list-link--current").removeClass("dropdown-select__list-link--current"),$(this).addClass("dropdown-select__list-link--current");var $title=$select.find(".dropdown-select__title"),id,last_id;if($title.find("span").text($(this).text()),$title.trigger("click"),$select.hasClass("city")){var id=$(this).data("id"),$region=$(this).closest(".contacts__panel-wrapper").find(".dropdown-select.region"),href=$(this).attr("href"),last_id;if(!id&&$region.length&&($currentRegion=$region.find(".dropdown-select__list-link--current"),$currentRegion.length)){id=$region.find(".dropdown-select__list-link--current").data("id");var href=$region.find(".dropdown-select__list-link--current").attr("href")}if(id!=(last_id=(last_id=$select.data("id"))>0?last_id:0)){$select.data("id",id);var data={SECTION_ID:id},$specialiation=$(this).closest(".contacts__panel-wrapper").find(".dropdown-select.specialization");$specialiation.length&&(data.SPECIALIZATION=$specialiation.data("id")),$.ajax({url:href,type:"POST",data:data}).done((function(html){var ob=BX.processHTML(html);$(".contacts__ajax_items")[0].innerHTML=ob.HTML,BX.ajax.processScripts(ob.SCRIPT)}))}}if($select.hasClass("specialization")&&(id=$(this).data("id"))!=(last_id=(last_id=$select.data("id"))>0?last_id:0)){$select.data("id",id);var sectionId=!1,href=location.href,$city=$(this).closest(".contacts__panel-wrapper").find(".dropdown-select.city");$city.length&&(sectionId=$city.data("id"),href=$city.attr("href"));var $region=$(this).closest(".contacts__panel-wrapper").find(".dropdown-select.region");!sectionId&&$region.length&&($currentRegion=$region.find(".dropdown-select__list-link--current"),$currentRegion.length&&(sectionId=$region.find(".dropdown-select__list-link--current").data("id"),href=$region.find(".dropdown-select__list-link--current").attr("href"))),$.ajax({url:href,type:"POST",data:{SECTION_ID:sectionId,SPECIALIZATION:id}}).done((function(html){var ob=BX.processHTML(html);$(".contacts__ajax_items")[0].innerHTML=ob.HTML,BX.ajax.processScripts(ob.SCRIPT)}))}})),$(".contacts__filter-select .dropdown-select.region .dropdown-select__list-item a").on("click",(function(e){e.preventDefault();var id=$(this).data("id"),$city=$(this).closest(".contacts__panel-wrapper").find(".dropdown-select.city");if($city.length){var $emptyCity=$city.find(".dropdown-select__list-item a.empty"),$currentCity=$city.find(".dropdown-select__list-link--current"),$visibleCities=$city.find(".dropdown-select__list-item a[data-parent_id="+id+"]");$city.find(".dropdown-select__list-item a").hide(),$emptyCity.show(),id&&$visibleCities.show();var bOpenCitySelect=id&&$visibleCities.length>1,last_id;bOpenCitySelect||$city.find(".dropdown-select__title").addClass("clicked"),$currentCity.data("parent_id")!=id?1==$visibleCities.length?$visibleCities.first().trigger("click"):$emptyCity.trigger("click"):$currentCity.trigger("click"),bOpenCitySelect||$city.find(".dropdown-select__title").removeClass("clicked")}})),$(".contacts__tabs .tabs .nav-tabs li a").on("click",(function(){$content=$(this).closest(".contacts__row").find(".contacts__tab-content"),"#map"===$(this).attr("href")?$content.addClass("contacts__tab-content--map"):$content.removeClass("contacts__tab-content--map")}))}));
2//# sourceMappingURL=script.min.js.map

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.