1 2; /* Start:"a:4:{s:4:"full";s:62:"/bitrix/templates/aspro-priority2/js/map.min.js?17591432281956";s:6:"source";s:47:"/bitrix/templates/aspro-priority2/js/map.min.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 3void 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))&&e.classList.contains("closer"))return;const o=e.closest(".bx-map-view-layout");if(o){const a=o.querySelector(".bx-yandex-map").getAttribute("id");if(a&&(window.openedYandexMapFrame=a,!document.querySelector('div[data-mapId="'+a+'"]'))){const e=BX.create({tag:"div",attrs:{"data-mapId":a}});o.parentNode.insertBefore(e,o.nextSibling)}let t="";e.closest(".contacts-page-map-top")&&(t+=" contacts-map-top-frame ");let n=BX.create({tag:"div",attrs:{class:"yandex-map__frame "+t},children:[o]}),c=document.querySelector("body > .body");c&&(c.append(n),o.querySelector(".map-mobile-opener")?.classList.add("closer")),"object"==typeof map&&null!==map&&"container"in map&&window.map.container.fitToViewport()}},closeFullscreenMap:()=>{const e=document.querySelector(".yandex-map__frame");if(e){const o=e.querySelector(".bx-map-view-layout");if(o&&(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(),window.matchMedia("(max-width:768px)").matches&&BX.Aspro.Map.closeBaloons()}))); 4/* End */ 5;; /* /bitrix/templates/aspro-priority2/js/map.min.js?17591432281956*/
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.