1(()=>{var t={839:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var s=i(29981),n=i(58611),a=i.n(n);class r{constructor(t,e,i){this.mapInstance=t,this.markerData=e,this.domElement=i,this.activeClassName="-js-listItem--active",this.markerId=e.id||e,this.mapMarkerObject=this._getOrCreateMarker(),this._registerEventsOnDomElement()}_getOrCreateMarker(){return window.mapInstance&&window.mapInstance.markers&&window.mapInstance.markers[this.markerId]?window.mapInstance.markers[this.markerId]:new s.A(this.markerId,this.markerData,this.mapInstance)}getMarkerObject(){return this.mapMarkerObject}_registerEventsOnDomElement(){this.domElement&&this.domElement.addEventListener("click",(async t=>{if(!window.matchMedia("(max-width: 1000px)").matches)return;if(!t.target.closest(".button--fakelink"))return;t.preventDefault();const e=this.domElement.closest(".fullscreenMap");await this.mapMarkerObject.loadInfoWindow(),e?.classList.remove("-js-fullscreenMap--list-active"),e?.classList.add("fullscreenMap--infoWindow")}))}scrollToDomElement(){if(!this.domElement)return;const t=window.innerHeight,e=a().offsetTop(this.domElement)-t/2+this.domElement.offsetHeight/2;window.scrollTo({top:e,behavior:"smooth"})}activate(){if(this.domElement){const t=this.domElement.parentElement;t&&(Array.from(t.children).forEach((t=>t.classList.remove(this.activeClassName))),this.domElement.classList.add(this.activeClassName))}window.mapInstance&&window.mapInstance.mapLegend&&(window.mapInstance.mapLegend.removeOverlays(),window.mapInstance.mapLegend.showMapMarker({[this.markerId]:this.markerData})),this.mapMarkerObject.setActive(),this.mapInstance.getView().setCenter(this.mapMarkerObject.getMapMarker().getPosition())}}},29510:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});class s{constructor(t,e){this.gpx=t,this.map=e,this.vector=this.buildVector()}buildVector(){var t={Point:new ol.style.Style({image:new ol.style.Circle({fill:new ol.style.Fill({color:"rgba(255,255,255,1)"}),radius:10,stroke:new ol.style.Stroke({color:"#0099FF",width:1})})}),LineString:new ol.style.Style({stroke:new ol.style.Stroke({color:"#0099FF",width:3})}),MultiLineString:new ol.style.Style({stroke:new ol.style.Stroke({color:"#0099FF",width:3})})};const e=new ol.layer.Vector({source:new ol.source.Vector({url:"//"+window.location.host+this.gpx,format:new ol.format.GPX}),style:function(e){return t[e.getGeometry().getType()]},visible:!1});return this.map.addLayer(e),e}showLayer(){this.vector.setVisible(!0);let t=this.vector.getSource().getExtent();if(t[0]===1/0){const t=this;this.vector.getSource().on("addfeature",(function(){t.map.getView().fit(t.vector.getSource().getExtent())}))}else this.map.getView().fit(t)}hideLayer(){this.vector.setVisible(!1)}}},29981:(t,e,i)=>{"use strict";i.d(e,{A:()=>r});var s=i(47134),n=i(29510);const a=i(58611);class r{static closeListener=null;static oldPosition=void 0;static oldZoom=void 0;static gpx={};constructor(t,e,i,s){this.id=t,this.coords=this._getCoords(e),this.map=i,this.defaultIcon="poiMarker_dot",this.title=this._getTitel(e),this.icon=this._getIcon(e),this.connector=s,this.active=!1,this.isLoadingInfoWindow=!1,this.gpx=this._checkForGpx(e);const n=document.getElementById("fullscreenmap");this.activeIcon=n.dataset.activeIcon,this.inactiveIcon=n.dataset.inactiveIcon,this.mapMarker=this._addMarkerToMap(i),this.infoWindowContainer=document.getElementById("infoWindowContainer"),document.addEventListener("location:updated",this._updateDistances.bind(this))}_getCoords(t){let e=t[1],i=t[0];return"NaN"!==e&&"NaN"!==i&&[parseFloat(i),parseFloat(e)]}_getTitel(t){return t[2]||""}_getIcon(t){return null===t[4]||""===t[4]?this.defaultIcon:t[4]}_checkForGpx(t){return!!(t.length>5&&t[5])&&t[5]}_addMarkerToMap(t){let e=this.coords,i=this.gpx;if(e){i&&void 0===r.gpx[i]&&(r.gpx[i]=new n.A(i,t));const s=this.connector?this.connector.handleMarkerClick?.bind(this.connector,this):this.loadInfoWindow.bind(this),a=t.showMarker({position:e,positionSrs:4326,positioning:"bottom-center",iconURL:this.inactiveIcon,click:!0,onClick:s,id:this.id});if(a&&a.element){a.element.id=`${this.id}`,a.element.classList.add("map-marker"),this.icon&&"undefined"!==this.icon||(this.icon=this.defaultIcon),a.element.innerHTML=`\n <sp
1an class="marker-icon-wrapper">\n <svg width="26" height="36" viewBox="0 0 26 36" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M13 0C5.83176 0 0 5.84874 0 13.0378C0 21.9596 11.6337 35.0574 12.129 35.6106C12.5943 36.1303 13.4066 36.1294 13.871 35.6106C14.3663 35.0574 26 21.9596 26 13.0378C25.9999 5.84874 20.1682 0 13 0Z" fill="#575656"/>\n </svg>\n <span class="icon icon-${this.icon}"></span>\n </span>\n `;const t=this.connector?this.connector.handleMarkerClick?.bind(this.connector,this):this.loadInfoWindow.bind(this);a.element.querySelector(".marker-icon-wrapper").addEventListener("click",t)}return a}}async loadInfoWindow(){if(this.isLoadingInfoWindow)return;this.isLoadingInfoWindow=!0;const t=document.querySelector(".fullscreenMap");t&&(t.classList.remove("-js-fullscreenMap--filter-active"),window.innerWidth>=1001&&t.classList.add("-js-fullscreenMap--list-active"));const e=document.querySelector(".fullscreenMap__list");e&&window.innerWidth>=1001&&e.classList.add("is-active"),window.fullscreenMapList&&(window.fullscreenMapList.activateItem(this.id),setTimeout((()=>{let t=document.querySelector(`.fullscreenMap__list .listItem[data-identifier="${this.id}"]`);t||(t=document.querySelector(`.fullscreenMap__list [data-identifier="${this.id}"]`)),t&&(document.querySelectorAll(".fullscreenMap__list .listItem").forEach((t=>t.classList.remove("-js-listItem--active"))),t.classList.add("-js-listItem--active"),t.scrollIntoView({behavior:"smooth",block:"center"}))}),100));const i=document.getElementById("fullscreenmap");if(i&&i.parentElement&&i.parentElement.parentElement&&i.parentElement.parentElement.classList.add("fullscreenMap--infoWindow"),!self.closeListener){self.closeListener=!0;const t=document.querySelector(".fullscreenMap__infoWindowContainer .infoWindow__closer");t&&t.addEventListener("click",(()=>{this.map.getView().setZoom(self.oldZoom),self.oldZoom=void 0,self.oldPosition=void 0,this.setAllInactive(),window.dispatchEvent(new Event("resize"))}))}try{this.map.getView().setZoom(15);const t=this.mapMarker.getPosition();this.map.getView().setCenter(t);const e=new URLSearchParams;e.append("type",1200),e.append("infoId",this.id),this.fetchInfoWindow(e).then((e=>{if(this.setAllInactive(),this.infoWindowContainer){this.infoWindowContainer.innerHTML=e,this.infoWindowContainer.querySelectorAll("[data-ajax]").forEach(this.fetchAjaxContent);let t=this.infoWindowContainer.querySelector(".infoWindow"),i=a.accessDataset(t,"gpx");void 0!==i&&(this.map.getView().setZoom(12.5),void 0===r.gpx[i]&&(r.gpx[i]=new n.A(i,this.map)),r.gpx[i].showLayer()),this.map.updateSize(),(0,s.A)(t)}window.matchMedia("(max-width: 650px)").matches&&this.map.getView().centerOn(t,this.map.getSize(),[screen.availWidth/2,(screen.availHeight-document.querySelector(".fullscreenMap__infoWindowContainer").clientHeight)/2]),self.oldZoom=self.oldZoom||this.map.getView().getZoom(),self.oldPosition=self.oldPosition||this.map.getView().getCenter(),this.setActive()})).finally((()=>{this.isLoadingInfoWindow=!1}))}catch(t){console.log("Fetch error: ",t),this.isLoadingInfoWindow=!1,this.infoWindowContainer&&(this.infoWindowContainer.innerHTML="")}return!0}async fetchInfoWindow(t){const e=await fetch(window.location.origin+window.location.pathname+"?"+new URLSearchParams(t).toString());return await e.text()}async fetchAjaxContent(t){const e=t.dataset.ajax;try{const i=await fetch(e);t.outerHTML=await i.text()}catch(e){console.log("Fetch error: ",e),t.outerHTML=""}}getElement(){return this.mapMarker.element}setActive(){this.active=!0,this.mapMarker.element.classList.add("-js-marker-active"),this.mapMarker.element.querySelector(".marker-icon-wrapper").classList.add("-js-marker-active"),this.map.getView().setCenter(this.mapMarker.getPosition()),window.dispatchEvent(new Event("resize"))}setInactive(){this.active=!1,this.mapMarker.element.classList.remove("-js-marker-active"),this.mapMarker.element.querySelector(".marker-icon-wrapper").classList.remove("-js-marker-active")}setAllInactive(){for(let t in r.gpx)r.gpx[t].hideLayer();this.map.getTarget().querySelectorAll(".-js-marker-active").forEach((function(t){t.classList.remove("-js-marker-active"),t.querySelector(".marker-icon-wrapper")?.classList.remove("-js-marker-active")}))}getMapMarker(){return this.mapMarker}_updateDistances(){let t=this.infoWindowContainer.querySelector(".infoWindow");t&&(0,s.A)(t)}}},47134:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var s=i(79433);function n(t){const e=parseFloat(t.dataset.latitude),i=parseFloat(t.dataset.longitude);if(!isNaN(e)&&!isNaN(i)){const n=[i,e];!function(t,e){const i=t.querySelector(".iconList");if(i&&e){const t=i.querySelector("[data-icon-distance]");t?t.innerHTML=e?e+" km":"":i.appendChild(function(t){const e=document.createElement("div");
1return e.innerHTML=`\n <span class="iconList__element">\n <span class="icon-poi_marker iconList__element__icon" aria-hidden="true"></span>\n <small class="iconList__element__text" aria-hidden="true" data-icon-distance>\n ${t?t+" km":""}\n </small>\n </span>\n `,e}(e))}}(t,(0,s.A)(n))}}},58611:t=>{t.exports={offsetTop:function(t){var e=document.querySelector("body");return t.getBoundingClientRect().top-e.getBoundingClientRect().top},offsetLeft:function(t){var e=document.querySelector("body");return t.getBoundingClientRect().left-e.getBoundingClientRect().left},scrollTo:function(t,e,i){var s=function(){return{x:window.pageXOffset,y:window.pageYOffset}},n=s(),a={x:(t-n.x)/(i/15),y:(e-n.y)/(i/15)},r=setInterval((function(){!function(){var i=s(),n={x:!1,y:!1};return a.x<0?i.x+a.x<=t&&(n.x=!0):i.x+a.x>=t&&(n.x=!0),a.y<0?i.y+a.y<=e&&(n.y=!0):i.y+a.y>=e&&(n.y=!0),!(!n.x||!n.y)}()?window.scrollBy(a.x,a.y):(clearInterval(r),window.scrollTo(t,e))}),15)},scrollElementTo:function(t,e,i,s){var n=function(){return{x:s.scrollLeft,y:s.scrollTop}},a=n(),r=(t-a.x)/(i/15),o=(e-a.y)/(i/15),c=setInterval((function(){!function(){var i=n(),s={x:!1,y:!1};return r<0?i.x+r<=t&&(s.x=!0):i.x+r>=t&&(s.x=!0),o<0?i.y+o<=e&&(s.y=!0):i.y+o>=e&&(s.y=!0),!(!s.x||!s.y)}()?(s.scrollLeft+=r,s.scrollTop+=o):(clearInterval(c),s.scrollLeft=t,s.scrollTop+=e)}),15)},accessDataset:function(t,e){return t.dataset?t.dataset[e]:t.getAttribute("data-"+e)},extendObject:function(t,e){for(var i in e)t.hasOwnProperty(i)||(t[i]=e[i]);return t},documentReady:function(t){let e=!1;"undefined"!=typeof less&&"object"==typeof less.pageLoadFinished&&(e=!0);var i=function(){e?less.pageLoadFinished.then((()=>{setTimeout(t)})):setTimeout(t)},s=function(){document.removeEventListener("DOMContentLoaded",s),window.removeEventListener("load",s),i()};"complete"===document.readyState?i():(document.addEventListener("DOMContentLoaded",s),window.addEventListener("load",s))}}},79433:(t,e,i)=>{"use strict";function s(t){return t*(Math.PI/180)}function n(t){if(!t||!window.filterManager||!window.filterManager.coordinates)return"";const e=window.filterManager.coordinates,i=s(e[1]),n=s(e[0]),a=s(t[1]),r=a-i,o=s(t[0])-n;return(2*Math.asin(Math.sqrt(Math.pow(Math.sin(r/2),2)+Math.cos(i)*Math.cos(a)*Math.pow(Math.sin(o/2),2)))*6371).toFixed(1)}i.d(e,{A:()=>n})}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var a=e[s]={exports:{}};return t[s](a,a.exports,i),a.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t=i(58611),e=i.n(t),s=i(839);class n{value;next;constructor(t){this.value=t}}class a{#t;#e;#i;constructor(){this.clear()}enqueue(t){const e=new n(t);this.#t?(this.#e.next=e,this.#e=e):(this.#t=e,this.#e=e),this.#i++}dequeue(){const t=this.#t;if(t)return this.#t=this.#t.next,this.#i--,this.#t||(this.#e=void 0),t.value}peek(){if(this.#t)return this.#t.value}clear(){this.#t=void 0,this.#e=void 0,this.#i=0}get size(){return this.#i}*[Symbol.iterator](){let t=this.#t;for(;t;)yield t.value,t=t.next}*drain(){for(;this.#t;)yield this.dequeue()}}function r(t){let e=!1;if("object"==typeof t&&({concurrency:t,rejectOnClear:e=!1}=t),o(t),"boolean"!=typeof e)throw new TypeError("Expected `rejectOnClear` to be a boolean");const i=new a;let s=0;const n=()=>{s<t&&i.size>0&&(s++,i.dequeue().run())},r=async(t,e,i)=>{const a=(async()=>t(...i))();e(a);try{await a}catch{}s--,n()},c=(e,...a)=>new Promise(((o,c)=>{((e,a,o,c)=>{const l={reject:o};new Promise((t=>{l.run=t,i.enqueue(l)})).then(r.bind(void 0,e,a,c)),s<t&&n()})(e,o,c,a)}));return Object.defineProperties(c,{activeCount:{get:()=>s},pendingCount:{get:()=>i.size},clearQueue:{value(){if(!e)return void i.clear();const t=AbortSignal.abort().reason;for(;i.size>0;)i.dequeue().reject(t)}},concurrency:{get:()=>t,set(e){o(e),t=e,queueMicrotask((()=>{for(;s<t&&i.size>0;)n()}))}},map:{async value(t,e){const i=Array.from(t,((t,i)=>c(e,t,i)));return Promise.all(i)}}}),c}function o(t){if(!Number.isInteger(t)&&t!==Number.POSITIVE_INFINITY||!(t>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up")}var c=i(79433),l=i(47134);class d{constructor(){this.listContainer=document.querySelector(".fullscreenMap__list"),this.listItemsContainer=document.querySelector(".fullscreenMap__list__list"),this.countElement=document.querySelector(".fullscreenMap__list__count"),this.markers={},this.isLoading=!0,this.activeItemId=null,this.singleItemIdent=null,this.intersectionObserver=null,this.pendingItems=new Set,this.limitRequest=r(10),this.init()}init(){this.checkForSingleItemIdent(),this.setupIntersectionObserver(),this.registerEventListeners(),this.countElement&&(this.countElement.style.display=""),this.updateStatusDisplay(),this.processAjaxElements(),setTimeout((()=>{this.isLoading&&!this.listItemsContainer.querySelector("li")&&(this.isLoading=!1,this.updateStatusDisplay())}),3e3)}setupIntersectionObserver(){const t={root:this.listItemsContainer,rootMargin:"200px",threshold:0};this.visibilityTimers=new Map,this.intersectionObserver=new IntersectionObserver((t=>{t.forEach((t=>{const e=t.target,i=e.dataset.identifier;if(t.isIntersecting){if(!this.visibilityTimers.has(i)){const t=setTimeout((()=>{this.visibilityTimers.delete(i),e.classList.contains("listItem--loading")&&!this.pendingItems.has(i)&&(this.pendingItems.add(i),this.fetchItemDetails(i,e).finally((()=>{this.pendingItems.delete(i)}))),e.classList.contains("listItem--loading")||this.intersectionObserver.unobserve(e)}),150);this.visibilityTimers.set(i,t)}}else this.visibilityTimers.has(i)&&(clearTimeout(this.visibilityTimers.get(i)),this.visibilityTimers.delete(i))}))}),t)}checkForSingleItemIdent(){const t=new URLSearchParams(window.location.search);if(this.singleItemIdent=t.get("ident"),this.singleItemIdent&&this.listContainer){this.listContainer.classList.add("is-active");const t=document.querySelector(".fullscreenMap");t&&t.classList.add("-js-fullscreenMap--list-active")}}updateStatusDisplay(){if(!this.countElement)return;this.countElement.style.display="";const t=this.countElement.dataset.translationNoResults||"No results found",e=this.countElement.dataset.translationLoading||"Loading";if(this.isLoading){if(this.countElement.textContent=e,this.countElement.classList.add("is-loading"),!this.countElement.querySelector(".loading-dots")){const t=document.createElement("span");t.className="loading-dots";for(let e=0;e<3;e++){const i=document.createElement("span");i.className=`dot dot-${e+1}`,i.textContent=".",t.appendChild(i)}this.countElement.appendChild(t)}}else{const i=this.countElement.querySelector(".loading-dots");i&&i.remove(),0!==(this.listItemsContainer?.querySelectorAll("li")||[]).length||this.isLoading?this.countElement.textContent&&this.countElement.textContent!==e&&this.countElement.textContent!==t||(this.countElement.textContent=""):this.countElement.textContent=t,this.countElement.classList.remove("is-loading")}}registerEventListeners(){document.addEventListener("markers:updated",this.handleMarkersUpdated.bind(this)),document.addEventListener("location:updated",this.updateDistances.bind(this)),document.addEventListener("filters:applied",this.resetAndFetchData.bind(this)),this.listContainer&&this.listContainer.addEventListener("click",(t=>{const e=t.target.closest(".listItem");if(e&&!e.dataset.handlerAttached){const t=e.dataset.identifier;t&&this.markers[t]&&this.markers[t].loadInfoWindow()}}))}handleMarkersUpdated(t){if(this.markers=t.detail.markerObjects||{},this.singleItemIdent)if(this.markers[this.singleItemIdent]){const t={};t[this.singleItemIdent]=this.markers[this.singleItemIdent],this.markers=t}else console.warn(`Single item with ident "${this.singleItemIdent}" not found in markers`),this.markers={};this.resetAndFetchData()}resetAndFetchData(){this.intersectionObserver&&this.listItemsContainer&&this.listItemsContainer.querySelectorAll(".listItem").forEach((t=>this.intersectionObserver.unobserve(t))),this.pendingItems.clear(),this.visibilityTimers&&(this.visibilityTimers.forEac
1h((t=>clearTimeout(t))),this.visibilityTimers.clear()),this.listItemsContainer&&(this.listItemsContainer.innerHTML=""),this.fetchListData(!0)}activateItem(t){this.listContainer.querySelectorAll(".listItem").forEach((t=>t.classList.remove("-js-listItem--active")));const e=this.listContainer.querySelector(`.listItem[data-identifier="${t}"]`);if(e&&(e.classList.add("-js-listItem--active"),e.scrollIntoView({behavior:"smooth",block:"center"})),this.markers[t]){Object.values(this.markers).forEach((t=>t.setInactive())),this.markers[t].setActive();const e=this.markers[t].map;e&&e.getView().setCenter(this.markers[t].getMapMarker().getPosition())}if(this.activeItemId=t,this.singleItemIdent&&this.listContainer&&!this.listContainer.classList.contains("is-active")){this.listContainer.classList.add("is-active");const t=document.querySelector(".fullscreenMap");t&&t.classList.add("-js-fullscreenMap--list-active")}}async fetchListData(t=!1){if(!this.listContainer||this.isLoading)return;this.isLoading=!0,this.updateStatusDisplay(),t&&this.listItemsContainer&&(this.listItemsContainer.innerHTML="");const e=Object.entries(this.markers);if(0===e.length)return this.isLoading=!1,void this.updateStatusDisplay();this.countElement&&0===e.length&&(this.countElement.textContent="No results found");for(const[t,i]of e){const e=this.createListItemPlaceholder(t,i);e&&this.intersectionObserver&&this.intersectionObserver.observe(e)}this.isLoading=!1,this.updateStatusDisplay(),this.singleItemIdent&&this.markers[this.singleItemIdent]&&setTimeout((()=>{if(this.activateItem(this.singleItemIdent),this.listContainer&&!this.listContainer.classList.contains("is-active")){this.listContainer.classList.add("is-active");const t=document.querySelector(".fullscreenMap");t&&t.classList.add("-js-fullscreenMap--list-active")}}),500)}createListItemPlaceholder(t,e){if(!this.listItemsContainer)return;const i=e.coords,s=e.title,n=document.createElement("li");return n.className="listItem listItem--smallImage listItem--loading",n.dataset.identifier=t,n.dataset.latitude=i?i[1]:"",n.dataset.longitude=i?i[0]:"",n.dataset.distance=(0,c.A)(i),n.innerHTML=`\n <div class="listItem__fig">\n <div class="listItem__loading-placeholder"></div>\n </div>\n <div class="listItem__text">\n <h3 class="listItem__title__header">${s}</h3>\n <div class="listItem__loading-placeholder"></div>\n </div>\n `,this.listItemsContainer.appendChild(n),(this.singleItemIdent||this.listItemsContainer.children.length<=10)&&this.fetchItemDetails(t,n),n}async fetchItemDetails(t,e){await this.limitRequest((async()=>{try{const i=new URLSearchParams;i.append("type",1112),i.append("ident",t);const s=await fetch(`${window.location.pathname}?${i.toString()}`);if(!s.ok)return;const n=await s.text(),a=document.createElement("div");a.innerHTML=n;const r=a.querySelector(".listItem");r&&e.parentNode&&(r.dataset.identifier=t,e.dataset.latitude&&(r.dataset.latitude=e.dataset.latitude),e.dataset.longitude&&(r.dataset.longitude=e.dataset.longitude),e.dataset.distance&&(r.dataset.distance=e.dataset.distance),e.parentNode.replaceChild(r,e),this.connectSingleMarkerToListItem(t,r),this.processAjaxElements(r),(0,l.A)(r))}catch(t){console.error("Error fetching item details:",t)}}))}connectSingleMarkerToListItem(t,e){if(t&&this.markers[t]&&window.fullscreenMapInstance?.mapInstance){const i=new s.A(window.fullscreenMapInstance.mapInstance,{id:t,data:this.markers[t].coords},e);this.connectors=this.connectors||[],this.connectors.push(i),this.activeItemId===t&&e.classList.add("-js-listItem--active"),e.setAttribute("data-handler-attached","true")}}connectMarkersToListItems(){const t=this.listContainer.querySelectorAll(".listItem[data-identifier]:not([data-handler-attached])");this.connectors=this.connectors||[],t.forEach((t=>{const e=t.dataset.identifier;if(e&&this.markers[e]){if(window.fullscreenMapInstance&&window.fullscreenMapInstance.mapInstance){const i=new s.A(window.fullscreenMapInstance.mapInstance,{id:e,data:this.markers[e].coords},t);this.connectors.push(i)}this.activeItemId===e&&t.classList.add("-js-listItem--active")}t.setAttribute("data-handler-attached","true")}))}processAjaxElements(t){(t?t.querySelectorAll("[data-ajax]"):document.querySelectorAll("[data-ajax]")).forEac
1h((t=>{const e=t.dataset.ajax;e&&this.fetchAjaxContent(t,e)}))}async fetchAjaxContent(t,e){try{const i=await fetch(e);if(!i.ok)throw new Error(`HTTP error ${i.status}`);const s=await i.text(),n=document.createElement("div");n.innerHTML=s;const a=t.parentNode;if(a){for(;n.firstChild;)a.insertBefore(n.firstChild,t);t.remove()}}catch(t){console.error("Error loading ajax content:",t)}}updateDistances(){window.filterManager&&window.filterManager.coordinates&&(this.listItemsContainer?.querySelectorAll(".listItem")||[]).forEach((t=>(0,l.A)(t)))}}e().documentReady((()=>{window.fullscreenMapList=new d,new URLSearchParams(window.location.search).get("ident")&&setTimeout((()=>{const t=document.querySelector(".fullscreenMap__list");if(t&&!t.classList.contains("is-active")){t.classList.add("is-active");const e=document.querySelector(".fullscreenMap");e&&e.classList.add("-js-fullscreenMap--list-active")}}),1e3)}))})()})();
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.