PageSourceSearch

https://mr-pol24.ru/bitrix/templates/aspro-premier/js/conditional/map.min.js

js mr-pol24.ru collected 2026-10-04 16:54:03 UTC 1,982 bytes, 1 lines download raw bytes

1void 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");if(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()})));

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.