1 2; /* Start:"a:4:{s:4:"full";s:99:"/bitrix/templates/aspro-premier-mobile/components/bitrix/news/contacts/script.min.js?17401365502422";s:6:"source";s:80:"/bitrix/templates/aspro-premier-mobile/components/bitrix/news/contacts/script.js";s:3:"min";s:84:"/bitrix/templates/aspro-premier-mobile/components/bitrix/news/contacts/script.min.js";s:3:"map";s:88:"/bitrix/templates/aspro-premier-mobile/components/bitrix/news/contacts/script.min.js.map";}"*/ 3$(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");$title.find("span").text($(this).text()),$title.trigger("click");var id=$(this).data("id");if($select.hasClass("city")){var $region=$(this).closest(".contacts__panel-wrapper").find(".dropdown-select.region"),href=$(this).attr("href");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")}var last_id=$select.data("id");id!=(last_id=last_id>0?last_id:0)&&($select.data("id",id),$.ajax({url:href,type:"POST",data:{SECTION_ID: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")}))})); 4/* End */ 5; 6; /* Start:"a:4:{s:4:"full";s:72:"/bitrix/templates/aspro-premier/js/conditional/map.min.js?17401365491982";s:6:"source";s:57:"/bitrix/templates/aspro-premier/js/conditional/map.min.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 7void 0===BX.Aspro.Map&&(BX.namespace("Aspro.Map"),BX.Aspro.Map={openFullsreenMap:e=>{if(e="object"==typeof e&&e&&e instanceof Node?e:document.querySelector(e)){if(e.classList.contains("closer"))return;const o=e.closest(".bx-map-view-layout");if(o){o.querySelector(".map-mobile-opener")?.classList.add("closer");const t=(o.querySelector(".bx-yandex-map")||o.querySelector(".bx-google-map"))?.getAttribute("id");if(t&&(window.openedYandexMapFrame=t,!document.querySelector('div[data-mapId="'+t+'"]'))){const e=BX.create({tag:"div",attrs:{"data-mapId":t}});o.parentNode.insertBefore(e,o.nextSibling)}let a="";e.closest(".contacts-page-map-top")&&(a+=" contacts-map-top-frame ");let n=BX.create({tag:"div",attrs:{class:"yandex-map__frame filter-none"+a},children:[o]}),c=document.querySelector(".layout__right-column > .body")||document.querySelector(".layout");c&&c.append(n),"object"==typeof map&&null!==map&&"container"in map&&window.map.container.fitToViewport()}}},closeFullscreenMap:()=>{const e=document.querySelector(".yandex-map__frame");
7if(e){const o=e.querySelector(".bx-map-view-layout");if(o){if(o.querySelector(".map-mobile-opener")?.classList.remove("closer"),BX.Aspro.Map.closeBaloons(),window.openedYandexMapFrame){const e=document.querySelector('div[data-mapId="'+window.openedYandexMapFrame+'"]');e&&e.append(o)}e.remove(),"object"==typeof map&&null!==map&&"container"in map&&window.map.container.fitToViewport()}}},closeBaloons:function(){document.querySelectorAll(".ymaps-b-balloon__close").forEach((e=>{BX.fireEvent(e,"click")})),document.querySelectorAll(".gm-style .gm-style-iw-c .gm-style-iw-chr button").forEach((e=>{BX.fireEvent(e,"click")}))}},BX.bindDelegate(document,"click",{class:"map-mobile-opener"},(function(){this.classList.contains("closer")?BX.Aspro.Map.closeFullscreenMap():BX.Aspro.Map.openFullsreenMap(this)})),BX.addCustomEvent("onWindowResize",(function(e){window.matchMedia("(min-width:768px)").matches&&BX.Aspro.Map.closeFullscreenMap()}))); 8/* End */ 9; 10; /* Start:"a:4:{s:4:"full";s:105:"/bitrix/templates/aspro-premier-mobile/components/bitrix/map.yandex.view/map/script.min.js?17401365492003";s:6:"source";s:86:"/bitrix/templates/aspro-premier-mobile/components/bitrix/map.yandex.view/map/script.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 11BX.Aspro.Loader.addExt("map"),window.BX_YMapAddPlacemark=function(t,e,n){if(null==t)return!1;if(!e.LAT||!e.LON)return!1;var l={};if(null!=e.TEXT&&e.TEXT.length>0){var o="";if(e.TEXT.length>0){var r=e.TEXT.indexOf("\n");o=r<=0?e.TEXT:e.TEXT.substring(0,r)}l.balloonContent=e.TEXT.replace(/\n/g,"<br />"),l.hintContent=o}null!=e.HTML&&e.HTML.length>0&&(l.balloonContent=e.HTML);var a={item:e.ITEM_ID,hasHint:!1};if("Y"!=arAsproOptions.THEME.DEFAULT_MAP_MARKET){var i=ymaps.templateLayoutFactory.createClass('<svg width="40" height="48" class="marker dynamic" viewBox="0 0 40 48" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="fill-theme-svg" d="M32.2853 29.251C34.6044 26.4747 36 22.9003 36 19C36 10.1634 28.8366 3 20 3C11.1634 3 4 10.1634 4 19C4 22.9003 5.39559 26.4747 7.71465 29.251C7.94401 29.5256 8.18261 29.7926 8.42956 30.0511L20.0006 43L31.5819 30.039C31.8211 29.7882 32.0522 29.5296 32.2748 29.2636L32.2853 29.251Z" fill="#13B3F8"/><path d="M33.436 30.2133L33.4366 30.2126C35.9726 27.1766 37.5 23.2647 37.5 19C37.5 9.33502 29.665 1.5 20 1.5C10.335 1.5 2.5 9.33502 2.5 19C2.5 23.2647 4.02743 27.1766 6.56344 30.2126L6.56346 30.2126C6.80871 30.5062 7.06363 30.7919 7.32734 31.0687L18.8821 43.9995L20.0006 45.2512L21.1191 43.9995L32.6846 31.0562C32.94 30.7875 33.187 30.5108 33.425 30.2264L33.4255 30.2258L33.436 30.2133Z" stroke="white" stroke-opacity="0.48" stroke-width="3"/><circle cx="20" cy="19" r="6" fill="white"/></svg>');a.iconImageSize=[40,48],a.iconLayout=i}var T=new ymaps.Placemark([e.LAT,e.LON],l,a,{balloonCloseButton:!0});return n||t.geoObjects.add(T),T},window.BX_YMapAddPolyline||(window.BX_YMapAddPolyline=function(t,e){if(null==t)return!1;if(!(null!=e.POINTS&&e.POINTS.length>1))return!1;for(var n=[],l=0,o=e.POINTS.length;l<o;l++)n.push([e.POINTS[l].LAT,e.POINTS[l].LON]);var r={clickable:!0};null!=e.STYLE&&(r.strokeColor=e.STYLE.strokeColor,r.strokeWidth=e.STYLE.strokeWidth);var a=new ymaps.Polyline(n,{balloonContent:e.TITLE},r);return t.geoObjects.add(a),a}); 12/* End */ 13;; /* /bitrix/templates/aspro-premier-mobile/components/bitrix/news/contacts/script.min.js?17401365502422*/ 14; /* /bitrix/templates/aspro-premier/js/conditional/map.min.js?17401365491982*/ 15; /* /bitrix/templates/aspro-premier-mobile/components/bitrix/map.yandex.view/map/script.min.js?17401365492003*/ 16 17//# sourceMappingURL=page_dfc874e19f442be8151bf29853cfbef4.map.js
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.