PageSourceSearch

https://www.hr2.de/assets_4.48.0/js//feature/geoMap.bundle.js

js hr2.de collected 2026-09-24 17:20:56 UTC 27,200 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhessenschau=self.webpackChunkhessenschau||[]).push([["/feature/geoMap"],{9625:function(e,t,n){n.r(t);var o=n(3709),a=n.n(o),i=n(5243),l=n(8700),r=n(5830);t.default=function(e){var t,n,o,s,c,d,p,u,m,y,g,f,h,v=e.options,k=v.showMarkerList,b=v.showFixedTooltip,P=v.showMarkerCluster,C=v.showOwnLocation,w=v.tilesUrl,E=v.markerIconUrlStyle1,I=v.markerIconUrlStyle2,B=v.markerIconUrlStyle3,x=v.polygonColorStyle1,_=v.polygonOpacityStyle1,S=v.polygonWeightStyle1,M=v.polygonColorStyle2,N=v.polygonOpacityStyle2,T=v.polygonWeightStyle2,O=v.polygonColorStyle3,z=v.polygonOpacityStyle3,j=v.polygonWeightStyle3,Z=v.polylineColorStyle1,H=v.polylineWeightStyle1,J=v.polylineColorStyle2,F=v.polylineWeightStyle2,R=v.polylineColorStyle3,U=v.polylineWeightStyle3,V=v.initViewLat,W=v.initViewLong,G=v.borders,D=v.strokeWeightBorder,A=v.colorBorder,q=v.fillCountryColor,K=v.fillCountryOpacity,X=v.clusterMinIconURL,Q=v.clusterMedIconURL,Y=v.clusterMaxIconURL,$=v.mapid,ee=v.dataid,te=v.listid,ne=v.markerid,oe=v.loadingid,ae=v.mapAspectRatio,ie=v.initView,le=v.initZoom,re=v.initZoomMax,se=v.initZoomMin,ce=v.showFreeJsonBorder,de=v.borderFreeJsonURL,pe=v.additionalOverlay,ue=v.borderJsonStrokeColor,me=v.borderJsonStrokeWeight,ye=v.borderJsonPolygonFill,ge=v.borderJsonPolygonFillActive,fe=v.borderJsonPolygonOpacity,he=v.showGeoJsonInteractive,ve=v.showGeoJsonMetadata,ke="https://static.hr.de/maptool/",be=ke+"css/leaflet-markercluster.css",Pe=ke+"css/leaflet-markercluster-default.css",Le=ke+"css/leaflet-gestureHandling.css",Ce=ke+"json/hessen.json",we=ke+"json/regierungsbezirke_hessen_exakt.json",Ee=ke+"json/landkreise_hessen_exakt_min.json",Ie=ke+"json/gemeinden_hessen_exakt.json",Be=ke+"json/plz_5-stellig_hessen.json",xe=ke+"json/hessen_onb_komplett.json",_e=ke+"css/images/marker-shadow.png",Se=[[49.39089,7.76757],[51.66252,10.24398]],Me=function(e){new i.Control.Layers(null,null,{collapsed:!1}).addTo(o);var t=document.getElementById(e);t.getElementsByClassName("leaflet-popup-pane")[0].classList.add("leaflet-popup-pane-disabled"),t.getElementsByClassName("leaflet-right")[0].style.display="none"},Ne=function(e){var t=document.getElementById(e),n=t.getElementsByClassName("leaflet-left")[1];n.style.display="block";var o=document.createElement("div"),a=document.createElement("div");o.classList.add("leaflet-control-others"),o.classList.add("leaflet-bar"),o.classList.add("leaflet-control"),o.innerHTML='<a class="leaflet-control-my-location '+e+'" title="Mein Standort" role="button" aria-label="Mein Standort" aria-disabled="false"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 24 24"><path fill="#aaa" d="M12,2 C12.3796958,2 12.693491,2.28215388 12.7431534,2.64822944 L12.75,2.75 L12.7490685,4.53770881 L12.7490685,4.53770881 C16.292814,4.88757432 19.1124257,7.70718602 19.4632195,11.2525316 L19.5,11.25 L21.25,11.25 C21.6642136,11.25 22,11.5857864 22,12 C22,12.3796958 21.7178461,12.693491 21.3517706,12.7431534 L21.25,12.75 L19.4616558,12.7490368 L19.4616558,12.7490368 C19.1124257,16.292814 16.292814,19.1124257 12.7474684,19.4632195 L12.75,19.5 L12.75,21.25 C12.75,21.6642136 12.4142136,22 12,22 C11.6203042,22 11.306509,21.7178461 11.2568466,21.3517706 L11.25,21.25 L11.2509632,19.4616558 L11.2509632,19.4616558 C7.70718602,19.1124257 4.88757432,16.292814 4.53678051,12.7474684 L4.5,12.75 L2.75,12.75 C2.33578644,12.75 2,12.4142136 2,12 C2,11.6203042 2.28215388,11.306509 2.64822944,11.2568466 L2.75,11.25 L4.53770881,11.2509315 L4.53770881,11.2509315 C4.88757432,7.70718602 7.70718602,4.88757432 11.2525316,4.53678051 L11.25,4.5 L11.25,2.75 C11.25,2.33578644 11.5857864,2 12,2 Z M12,6 C8.6862915,6 6,8.6862915 6,12 C6,15.3137085 8.6862915,18 12,18 C15.3137085,18 18,15.3137085 18,12 C18,8.6862915 15.3137085,6 12,6 Z M12,8 C14.209139,8 16,9.790861 16,12 C16,14.209139 14.209139,16 12,16 C9.790861,16 8,14.209139 8,12 C8,9.790861 9.790861,8 12,8 Z"/></svg></span></a>',a.classList.add("leaflet-control-loading-overlay"),a.classList.add("--inactive"),a.innerHTML="<span>
1Ihr Standort wird ermittelt...</span>",t.appendChild(a),n.appendChild(o),Te(e)},Te=function(e){document.getElementById(e).getElementsByClassName("leaflet-control-my-location")[0].addEventListener("click",We)},Oe=function(e,t){o.flyTo(e,t,{animate:!1,duration:0})},ze=function(e){document.getElementById(e).getElementsByClassName("leaflet-control-zoom")[0].innerHTML='<a class="leaflet-control-zoom-in '+e+'" title="Zoom in" role="button" aria-label="Zoom in" aria-disabled="false"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 30 30" width="85%" style="padding:4px 0 0 4px"><path fill="#aaa" d="M16.2 11.9c.2 0 .5.1.7.2.1 0 .1.1.2.1l.2.2c.2.2.3.5.3.8 0 .2-.1.5-.2.7-.1.2-.2.3-.4.4-.1.1-.2.1-.2.1-.2.1-.4.1-.5.1h-2.2v2.2c0 .2-.1.4-.1.6 0 .1-.1.1-.1.2l-.2.2c-.2.2-.5.3-.9.3h-.4l-.6-.3c-.2-.2-.3-.4-.3-.6v-2.5H9.3c-.2 0-.5-.1-.7-.2-.1 0-.1-.1-.2-.1l-.2-.2c-.2-.2-.3-.5-.3-.8 0-.2.1-.5.2-.7l.3-.3c.1-.1.2-.2.4-.2 0-.1.2-.1.3-.1h2.2V9.8c0-.2.1-.5.2-.7 0-.1.1-.1.1-.2l.2-.2c.2-.2.5-.3.8-.3.2 0 .5.1.7.2.1.1.2.1.3.2.1.1.1.2.2.3.2.1.2.4.2.6v2.2h2.2z"/><path fill="#aaa" d="m26.8 24.4-5.9-5.3c.5-.6.8-1.3 1.1-2.1.1-.2.1-.3.2-.5.3-1 .5-2.1.5-3.2 0-2.8-1.1-5.3-3-7.1-1.8-1.8-4.3-3-7.1-3s-5.3 1.1-7.1 3c-1.8 1.8-3 4.3-3 7.1s1.1 5.3 3 7.1c1.8 1.8 4.3 3 7.1 3 1.6 0 3.1-.4 4.5-1.1.3-.1.5-.3.8-.4.2-.1.4-.2.5-.4l6 5.4c.3.3.8.4 1.2.4.4 0 .9-.2 1.2-.5.3-.3.4-.8.4-1.2.1-.5-.
11-.9-.4-1.2zm-14.2-3.1c-4.4 0-7.9-3.6-7.9-7.9s3.6-7.9 7.9-7.9 7.9 3.6 7.9 7.9-3.5 7.9-7.9 7.9z"/></svg></span></a><a class="leaflet-control-zoom-reset '+e+'" title="Zoom reset" role="button" aria-label="Zoom Reset" aria-disabled="false"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 30 30"><path fill="#aaa" d="M13.9 26.6c-.5-.3.1-.7.4-.9-.3-.9-1.3 0-1.3-1.4-.7.1-.5.4-.7 1-.9-.4-1.1-.9-1.3-1.7 0-.1.4-.7.4-.8 0 0-.6-1.4-.5-1.4-.6-1.1-.7-.9-2-.9-.7 0-.9.6-1.4-.2-.3-.6-.3-1.2.6-.9-.1-1.2.1-.5.8-1 0-.2 0-.4-.1-.5 1.3.3-.3-1.2-.3-1.4-.2-.6.3-1 .5-1.3 0 0 .4 0 .6-.3.2-.4-.1-.5-.1-.9 0-.3.4-1.3 0-1.4.9-.9 1.5-.6 2.2-1.6.7-1.1 0-1.4 1.6-1.4-.2-.4.4-.9.2-1.4-.2-.7-1.2.3-1.2-.5.1-1.6 3.3-.2 2.1-1.9.5-.4 1.2-.4 1.2.3 1.3.2 1.1-1.3 1.6-1.7.8-.6 1.5-.2 2.1.3-.7.5-1 3.5.5 2.6-.7-.5-.4-.2 0-.7.6-.8.2.2.6.1 0-.9.9.7 1.1 1 .2.2 2 1.9.7 1.3-.2.4.4 1 .2 1.5-.1.1-.6-.2-.8-.1-.4.4.6.6-.5.6 0 .4.7.3.6.6-.2.7-.5.3-.7.9 0 0-.3 1.4-.3 1.2.3 1.1.4-.3.8 0 .6.5.3.2.3.9 0 .6 0 1.1-.5 1.5-.6.4-.9-.1-1.3.1l-.7 2c-2.3 0 .3 1.2-1.4 1.5-.3-.4-.6-.6-1.1-.6-.1.1-.3.2-.4.3-1.4.3-1.2.8-.9 2.3.3 1.4.6 1.1.2 2.6-.1.3 0 .6.3.9-.2.1-.5.2-.8.2-.3.2-1.3 1.2-1.3 1.2z"/></svg></span></a><a class="leaflet-control-zoom-out '+e+'" title="Zoom out" role="button" aria-label="Zoom out" aria-disabled="false"><span aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 30 30" width="85%" style="padding:4px 0 0 4px"><path fill="#aaa" d="M9.1 14.6c-.2 0-.5-.1-.7-.2-.1 0-.1-.1-.2-.1l-.2-.2c-.2-.2-.3-.5-.3-.8 0-.2.1-.5.2-.7.1-.1.2-.3.3-.4.1-.1.2-.2.4-.2.1-.1.3-.1.5-.1l7.1-.1c.2 0 .5.1.7.2.1 0 .1.1.2.1l.2.2c.2.2.3.5.3.8 0 .2-.1.5-.2.7-.1.2-.2.3-.4.4-.1.1-.2.1-.2.1-.2.1-.4.1-.5.1l-7.2.2z"/><path fill="#aaa" d="m26.8 24.4-5.9-5.3c.5-.6.8-1.3 1.1-2.1.1-.2.1-.3.2-.5.3-1 .5-2.1.5-3.2 0-2.8-1.1-5.3-3-7.1-1.8-1.8-4.3-3-7.1-3s-5.3 1.1-7.1 3c-1.8 1.8-3 4.3-3 7.1s1.1 5.3 3 7.1c1.8 1.8 4.3 3 7.1 3 1.6 0 3.1-.4 4.5-1.1.3-.1.5-.3.8-.4.2-.1.4-.2.5-.4l6 5.4c.3.3.8.4 1.2.4.4 0 .9-.2 1.2-.5.3-.3.4-.8.4-1.2.1-.5-.
11-.9-.4-1.2zm-14.2-3.1c-4.4 0-7.9-3.6-7.9-7.9s3.6-7.9 7.9-7.9 7.9 3.6 7.9 7.9-3.5 7.9-7.9 7.9z"/></svg></span></a>',je(e),Ze(e),He(e)},je=function(e){document.getElementById(e).getElementsByClassName("leaflet-control-zoom-reset")[0].addEventListener("click",Je)},Ze=function(e){document.getElementById(e).getElementsByClassName("leaflet-control-zoom-in")[0].addEventListener("click",Fe)},He=function(e){document.getElementById(e).getElementsByClassName("leaflet-control-zoom-out")[0].addEventListener("click",Re)},Je=function(e){e.preventDefault(),o.setView(new i.LatLng(g,f),le)},Fe=function(e){e.preventDefault(),o.zoomIn()},Re=function(e){e.preventDefault(),o.zoomOut()},Ue=function(){bt(be,Pe);var e="",t="",o="";e=""!==X?'<div class="leaflet-marker-icon marker-cluster marker-cluster-small leaflet-zoom-animated leaflet-interactive" style="background: none;"><div style="background: no-repeat url('+X+') !important; width:52px !important; height:52px !important">':'<div class="leaflet-marker-icon marker-cluster marker-cluster-small leaflet-zoom-animated leaflet-interactive"><div>',t=""!==Q?'<div class="leaflet-marker-icon marker-cluster marker-cluster-medium leaflet-zoom-animated leaflet-interactive" style="background: none;"><div style="background: no-repeat url('+Q+') !important; width:52px !important; height:52px !important">':'<div class="leaflet-marker-icon marker-cluster marker-cluster-medium leaflet-zoom-animated leaflet-interactive"><div>',o=""!==Y?'<div class="leaflet-marker-icon marker-cluster marker-cluster-large leaflet-zoom-animated leaflet-interactive" style="background: none;"><div style="background: no-repeat url('+Y+') !important; width:52px !important; height:52px !important">':'<div class="leaflet-marker-icon marker-cluster marker-cluster-large leaflet-zoom-animated leaflet-interactive"><div>',n=new l.L({spiderfyOnMaxZoom:!1,showCoverageOnHover:!1,zoomToBoundsOnClick:!0,disableClusteringAtZoom:re,iconCreateFunction:function(n){return n.getChildCount()<10?L.divIcon({html:e+"<span>"+n.getChildCount()+"</span></div></div>"}):n.getChildCount()<100?L.divIcon({html:t+"<span>"+n.getChildCount()+"</span></div></div>"}):L.divIcon({html:o+"<span>"+n.getChildCount()+"</span></div></div>"})}})},Ve=function(){o.on("zoomstart",(function(){o.getPane("overlayPane").style.display="none",o.getPane("vectorPane").style.display="none",o.getPane("borderPane").style.display="none",o.getPane("markerPane").style.display="none",o.getPane("popupPane").style.display="none",o.getPane("shadowPane").style.display="none",o.getPane("highlightPane").style.display="none",Ke($)})),o.on("zoomend",(function(){o.getPane("overlayPane").style.display="block",o.getPane("vectorPane").style.display="block",o.getPane("borderPane").style.display="block",o.getPane("markerPane").style.display="block",o.getPane("popupPane").style.display="block",o.getPane("shadowPane").style.display="block",o.getPane("highlightPane").style.display="block",Ke($)})),o.on("movestart",(function(){o.getPane("overlayPane").style.display="none",o.getPane("vectorPane").style.display="none",o.getPane("borderPane").style.display="none",o.getPane("markerPane").style.display="none",o.getPane("popupPane").style.display="none",o.getPane("shadowPane").style.display="none",o.getPane("highlightPane").style.display="none"})),o.on("moveend",(function(){o.getPane("overlayPane").style.display="block",o.getPane("vectorPane").style.display="block",o.getPane("borderPane").style.display="block",o.getPane("markerPane").style.display="block",o.getPane("popupPane").style.display="block",o.getPane("shadowPane").style.display="block",o.getPane("highlightPane").style.display="block"}))},We=function(){navigator.geolocation.getCurrentPosition(Ge,De),document.getElementById($).getElementsByClassName("leaflet-control-loading-overlay")[0].classList.remove("--inactive")},Ge=function(e){p=e.coords.latitude,u=e.coords.longitude,Ae(p,u)},De=function(){},Ae=function(e,t){var n=new i.circleMarker([e,t],{radius:8,color:"#fff",weight:2,opacity:1,fillColor:"#4285f4",fillOpacity:1,pane:"vectorPane"}),a=gt("Mein Standort"),l=new i.LatLng(e,t);n.bindTooltip(a),n.addTo(o),Oe(l,re),qe($),document.getElementById($).getElementsByClassName("leaflet-control-loading-overlay")[0].classList.add("--inactive")},qe=function(e){document.getElementsByClassName("leaflet-control-my-location "+e)[0].classList.add("--inactive")},Ke=function(e){var t=document.getElementById(e),n=t.getElementsByClassName("leaflet-control-zoom-out "+e)[0],a=t.getElementsByClassName("leaflet-control-zoom-in "+e)[0];o.getZoom()==se?n.classList.add("--inactive"):n.classList.remove("--inactive"),o.getZoom()==re?a.classList.add("--inactive"):a.classList.remove("--inactive")},Xe=function(){o.createPane("highlightPane"),o.createPane("vectorPane"),o.createPane("borderPane")},Qe=function(){return new i.tileLayer(w+"/{z}/{x}/{y}
1.png",{attribution:"&copy; Data from OSM | hr",maxNativeZoom:re,maxZoom:re,minZoom:se})},Ye=function(){var e=window.innerWidth;return e<480?"Mobil":e>480&&e<1020?"Tablet":e>1020?"Desktop":void 0},$e=function(e){var t=document.getElementById(e).offsetWidth;"16x9"==ae?"Mobil"==Ye()?document.getElementById(e).style.height=t/9*16+"px":document.getElementById(e).style.height=t/16*9+"px":"4x3"==ae?"Mobil"==Ye()?document.getElementById(e).style.height=t/3*4+"px":document.getElementById(e).style.height=t/4*3+"px":"1x1"==ae?document.getElementById(e).style.height=t+"px":"9x16"==ae?"Mobil"==Ye()?document.getElementById(e).style.height=t/9*16+"px":document.getElementById(e).style.height=t/1*1+"px":"3x4"==ae?"Mobil"==Ye()?document.getElementById(e).style.height=t/3*4+"px":document.getElementById(e).style.height=t/1*1+"px":document.getElementById(e).style.height="660px",o.invalidateSize()},et=function(){var e=document.getElementById($).offsetHeight;"Mobil"==Ye()?(document.getElementById(ne).style.height="initial",document.getElementById(te).style.height="300px",document.getElementById(oe).classList.add("hide")):(document.getElementById(ne).style.height=e+"px",document.getElementById(te).style.height=e-136+"px",document.getElementById(oe).classList.add("hide"))},tt=function(e){return"1"==e?Z:"2"==e?J:"3"==e?R:Z},nt=function(e){return"1"==e?x:"2"==e?M:"3"==e?O:x},ot=function(e){return"1"==e?H:"2"==e?F:"3"==e?U:1},at=function(e){return"1"==e?S:"2"==e?T:"3"==e?j:0},it=function(e){return"1"==e?_:"2"==e?N:"3"==e?z:0},lt=function(e){return h="1"==e?E:"2"==e?I:"3"==e?B:E,new i.Icon({iconUrl:h,shadowUrl:_e,iconSize:[25,41],iconAnchor:[12,41],shadowAnchor:[12,41],popupAnchor:[1,-32]})},rt=function(e){var t=e.target.getLatLng();Oe(t,re)},st=function(e){var t=e.target,n=t.getLatLng(),o=t._popup._content,a=t.options.customId,i=document.getElementById($),l=i.getElementsByClassName("leaflet-control-layers-overlays")[0],r=i.getElementsByClassName("leaflet-right")[0];l.innerHTML=o,r.style.display="block",Oe(n,re),"true"===b&&pt(a)},ct=function(e){var t=e.target,n=t.options.customId,o=t._popup._content,a=document.getElementById($),i=a.getElementsByClassName("leaflet-control-layers-overlays")[0],l=a.getElementsByClassName("leaflet-right")[0];i.innerHTML=o,l.style.display="block",ut(n),mt()},dt=function(e){var t=e.target.options.customId;ut(t),mt()},pt=function(e){o.eachLayer((function(t){if(t.options.customId){var n=t.options.customId;String(n).includes("highlight_")&&(t.options.customId==="highlight_"+e?t._path.style.fillOpacity=.4:t._path.style.fillOpacity=0)}}))},ut=function(e){o.eachLayer((function(t){if(t.options.customId){var n=t.options.customId;String(n).includes("freePolygon_")&&(t.options.customId===e?(t._path.style.fillOpacity=.75,t._path.style.fill=ge):(t._path.style.fillOpacity="",t._path.style.fill=""))}}))},mt=function(){o.eachLayer((function(e){if(e.options.customId){var t=e.options.customId;String(t).includes("highlight_")&&(e._path.style.fillOpacity=0)}}))},yt=function(e,t){"[object Object]"===e&&(e=""),"[object Object]"===t&&(t="");var n=new i.Popup({pane:"popupPane",autoClose:!0,closeOnClick:!0}),o="<h3>"+e+"</h3><p>"+t+"</p>";return n.setContent(o),n},gt=function(e){"[object Object]"===e&&(e="");var t=new i.Tooltip({sticky:!0,permanent:!1,interactive:!1,direction:"right",offset:[10,0],opacity:1,className:"leaflet-tooltip"}),n="<h3>"+e+"</h3>";return t.setContent(n),t},ft=function(e){zt(),jt(te+"_item_"+this.options.customId),Zt(this.options.customId)},ht=function(e){zt(),jt(te+"_item_"+this.options.customId),Zt(this.options.customId)},vt=function(e){zt(),jt(te+"_item_"+this.options.customId),Zt(this.options.customId)},kt=function(e,t,n,a,l,r,s,c,d,p,u,m,y,g,f,h,v,P){var L=new i.Polygon(e,{customId:"freePolygon_"+t,smoothFactor:1,pane:"vectorPane",interactive:!0,stroke:!0,color:ue,weight:me,opacity:.5,fill:!0,fillColor:ye,fillOpacity:fe});L.addTo(o);var C=new i.Popup({pane:"popupPane",autoClose:!0,closeOnClick:!0}),w="";w+="<h3>"+a+"</h3>",l&&"Kreisfreie Stadt"!=n&&(w+="<span>Kreisstadt: "+l+"</span></br>"),y&&g&&(w+="<span>(Lon: "+y+" | Lat: "+g+")</span></br>"),m&&(w+="<span>PLZ: "+m+"</span></br>"),s&&(w+="<span>Größe: "+s+" km&sup2</span></br>"),c&&(w+="<span>Einwohner: "+c+"</span></br>"),u&&(w+="<span>Dichte: "+u+" (Personen pro km&sup2)</span></br>"),C.setContent(w);var E=new i.Tooltip({sticky:!0,permanent:!1,interactive:!1,direction:"right",offset:[10,0],opacity:1,className:"leaflet-tooltip"}),I="<h3>"+a+"</h3>";E.setContent(I),"true"===k?L.bindTooltip(E):(L.bindTooltip(E),"true"===b?("true"===ve&&L.bindPopup(C),"true"===he&&L.on("click",ct)):("true"===ve&&L.bindPopup(C),"true"===he&&L.on("click",dt))),L.on("mouseover",(function(e){document.getElementById($).style.cursor="crosshair"})),L.on("mouseout",(function(e){document.getElementById($).style.cursor=""}))},bt=function(e,t){var n=document.createElement("link");n.href=e,n.type="text/css",n.rel="stylesheet",document.head.appendChild(n);var o=document.createElement("link");o.href=t,o.rel="text/css",o.rel="stylesheet",document.head.appendChild(o)},Pt=function(e){var t=document.createElement("link");t.href=e,t.type="text/css",t.rel="stylesheet",document.head.appendChild(t)},Lt=function(e){return e.toString().replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/(\r\n|\n|\r)/gm,"<br>")},Ct=function(e){return e.toString().replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/(\r\n|\n|\r)/gm,"<br>")},wt=function(e){var t=e.split(" ");c="[";for(var n=0;n<t.length;n++)n===t.length-1?c+="["+t[n]+"]]":c+="["+t[n]+"],";return c},Et=function(e){var t=e.split(" ");c="";for(var n=0;n<t.length;n++)n===t.length-1?c+="["+t[n]+"]":c+="["+t[n]+"],";return c},It=function(e){for(var t=[],n=[],o=0;o<e[0].length;o++)t[o]=e[0][o].reverse(),n.push(t[o]);return n},Bt=function(e){for(var t=[],n=[],o=0;o<e.length;o++)t[o]=e[o].reverse(),n.push(t[o]);return n},xt=function(e,t,n,o,a){return'{"type":"Feature","properties":{"title":"'+e+'","description":"'+t+'", "style":"'+n+'"},"geometry":{"type":"'+o+'","coordinates":['+a+"]}},"},_t=function(e,t,n,o,a){return'{"type":"Feature","properties":{"title":"'+e+'","description":"'+t+'", "style":"'+n+'"},"geometry":{"type":"'+o+'","coordinates":['+a+"]}}"},St=function(){t=document.getElementById(ee).innerHTML;var e=new DOMParser,n=Ht(e.parseFromString(t,"text/xml"));s='{"type":"FeatureCollection","source":"hr-Kartentool","features":[';for(var o=0;o<n.kml.document.placemark.length;o++)d=Lt(n.kml.document.placemark[o].name),m=Ct(n.kml.document.placemark[o].description),y=n.kml.document.placemark[o].styleurl,n.kml.document.placemark[o].point?o===n.kml.document.placemark.length-1?s+=_t(d,m,y,"Point",n.kml.document.placemark[o].point.coordinates):s+=xt(d,m,y,"Point",n.kml.document.placemark[o].point.coordinates):n.kml.document.placemark[o].polygon?o===n.kml.document.placemark.length-1?s+=_t(d,m,y,"Polygon",wt(n.kml.document.placemark[o].polygon.outerboundaryis.linearring.coordinates)):s+=xt(d,m,y,"Polygon",wt(n.kml.document.placemark[o].polygon.outerboundaryis.linearring.coordinates)):n.kml.document.placemark[o].linestring&&(o===n.kml.document.placemark.length-1?s+=_t(d,m,y,"LineString",Et(n.kml.document.placemark[o].linestring.coordinates)):s+=xt(d,m,y,"LineString",Et(n.kml.document.placemark[o].linestring.coordinates)));return s+="]}"},Mt=function(){for(var e=JSON.parse(St()),t=0;t<e.features.length;t++){var n=e.features[t].geometry.type,o=e.features[t].properties.title.toString();"[object Object]"===o&&(o="");var a=e.features[t].properties.description.toString();"[object Object]"===a&&(a=""),Nt(t,o,a,n)}},Nt=function(e,t,n,o){var a=document.createElement("li"),i=document.createElement("a");i.name="anchor_"+e;var l=document.createElement("div"),r=document.createElement("div");r.innerHTML=n.toString().replace(/&quot;/g,""),l.innerHTML=t,l.id="headline_"+e,l.classList.add("item_headline"),r.id="description_"+e,r.classList.add("item_description"),a.id=te+"_item_"+e,a.classList.add("item"),a.appendChild(i),a.appendChild(l),a.appendChild(r),document.getElementById(te).appendChild(a),Tt(e,o)},Tt=function(e,t){document.getElementById(te+"_item_"+e).addEventListener("click",(function(){zt(),jt(this.id
1),Ot(e,t)}))},Ot=function(e,t){o.eachLayer((function(n){var a,i;n.options.customId===e&&("Point"==t?Oe(n.getLatLng(),re):(a=n.getBounds(),i=re,o.flyToBounds(a,i,{animate:!1,duration:0})))}))},zt=function(){for(var e=document.getElementsByClassName("item"),t=0;t<e.length;t++)e[t].classList.remove("selected")},jt=function(e){document.getElementById(e).classList.add("selected")},Zt=function(e){document.getElementById(te+"_item_"+e).scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})},Ht=function e(t){var n={};if(1==t.nodeType){if(t.attributes.length>0){n["@attributes"]={};for(var o=0;o<t.attributes.length;o++){var a=t.attributes.item(o);n["@attributes"][a.nodeName]=a.nodeValue}}}else 3==t.nodeType&&(n=t.nodeValue);var i=[].slice.call(t.childNodes).filter((function(e){return 3===e.nodeType}));if(t.hasChildNodes()&&t.childNodes.length===i.length)n=[].slice.call(t.childNodes).reduce((function(e,t){return e+t.nodeValue}),"");else if(t.hasChildNodes())for(var l=0;l<t.childNodes.length;l++){var r=t.childNodes.item(l),s=r.nodeName;if(void 0===n[s])n[s]=e(r);else{if(void 0===n[s].push){var c=n[s];n[s]=[],n[s].push(c)}n[s].push(e(r))}}return n};!function(){if((o=new i.Map($,{gestureHandling:!0,gestureHandlingOptions:{duration:3e3}})).addHandler("gestureHandling",r.GestureHandling),o.doubleClickZoom.disable(),o.addLayer(Qe()),o.fitBounds(Se),o.setMaxBounds(Se),""!==ie){var e=ie.split(",");g=e[0],f=e[1]}else""==ie&&""!==g&&""!==f?(g=V,f=W):(g=50.110924,f=8.682127);if(""==le&&(le=se),o.setView(new i.LatLng(g,f),le),ze($),$e($),Ye(),Ke($),Pt(Le),"true"===b&&Me($),"true"===C&&Ne($),"true"===P&&Ue(),"true"===k){Mt(),et();new(a())(ne,{valueNames:["item_headline","item_description"]})}o.whenReady((function(e){})),Xe(),Ve()}(),function(){if("true"===G){var e=new XMLHttpRequest;e.overrideMimeType("application/json"),e.open("GET",Ce,!0),e.onload=function(){var t=It(JSON.parse(e.responseText).features[0].geometry.coordinates[0]);new i.Polygon(t,{stroke:!0,color:A,weight:D,opacity:.5,fill:!0,fillColor:q,fillOpacity:K,pane:"borderPane"}).addTo(o)},e.send(null)}}(),function(){var e;if(0==ce)switch(pe){case"landkreise":e=Ee;break;case"gemeinden":e=Ie;break;case"plz":e=Be;break;case"rp":e=we;break;case"onb":e=xe;break;default:e=""}else e=de;if(""!=e){var t=new XMLHttpRequest;t.overrideMimeType("application/json"),t.open("GET",e,!0),t.onload=function(){for(var e=JSON.parse(t.responseText)[0].features,n=0;n<e.length;n++){var o,a;if(1==ce&&(e[n].properties.fid&&(o=e[n].properties.fid),e[n].properties.Staat&&(a=e[n].properties.Staat),e[n].properties.Kondominat&&(i=e[n].properties.Kondominat)),e[n].properties.BEZ&&(o=e[n].properties.BEZ),e[n].properties.GEN&&(a=e[n].properties.GEN),e[n].properties.capital){var i=e[n].properties.capital;[].push([e[n].properties.coordinates[1],e[n].properties.coordinates[0]])}if(e[n].properties.destatis)var l=e[n].properties.destatis.RS,r=e[n].properties.destatis.area,s=e[n].properties.destatis.population,c=e[n].properties.destatis.population_m,d=e[n].properties.destatis.population_w,p=e[n].properties.destatis.population_density,u=e[n].properties.destatis.zip,m=e[n].properties.destatis.center_lon,y=e[n].properties.destatis.center_lat,g=e[n].properties.destatis.travel_key,f=e[n].properties.destatis.travel_desc,h=e[n].properties.destatis.density_key,v=e[n].properties.destatis.density_desc;if("Polygon"!=e[n].geometry.type)for(var k=0;k<e[n].geometry.coordinates.length;k++)if(1==e[n].geometry.coordinates[k].length){for(var b=[],P=0;P<e[n].geometry.coordinates[k][0].length;P++)b.push([e[n].geometry.coordinates[k][0][P][1],e[n].geometry.coordinates[k][0][P][0]]);kt(b,n,o,a,i,l,r,s,c,d,p,u,m,y,g,f,h,v)}else{for(b=[],P=0;P<e[n].geometry.coordinates[k].length;P++)for(var L=0;L<e[n].geometry.coordinates[k][P].length;L++)b.push([e[n].geometry.coordinates[k][P][L][1],e[n].geometry.coordinates[k][P][L][0]]);kt(b,n,o,a,i,l,r,s,c,d,p,u,m,y,g,f,h,v)}else{b=[];for(var C=e[n].geometry.coordinates[0],w=0;w<C.length;w++)b.push([C[w][1],C[w][0]]);kt(b,n,o,a,i,l,r,s,c,d,p,u,m,y,g,f,h,v)}}},t.send(null)}}(),function(){for(var e=JSON.parse(St()),t=0;t<e.features.length;t++){var n=void 0,a=yt(e.features[t].properties.title,e.features[t].properties.description),l=gt(e.features[t].properties.title),r=e.features[t].properties.style;if("Polygon"==e.features[t].geometry.type){var s=It(e.features[t].geometry.coordinates);(n=new i.Polygon(s,{customId:t,color:nt(r),smoothFactor:1,weight:at(r),pane:"vectorPane",opacity:.5,fillOpacity:it(r),interactive:!0})).addTo(o),"true"===k?(n.on("click",vt),n.bindTooltip(l)):("true"===b?(n.bindPopup(a),n.on("click",ct)):n.bindPopup(a),n.bindTooltip(l)),n.on("mouseover",(function(e){document.getElementById($).style.cursor="crosshair"})),n.on("mouseout",(function(e){document.getElementById($).style.cursor=""}))}}}(),function(){for(var e=JSON.parse(St()),t=0;t<e.features.length;t++){var n=void 0,a=yt(e.features[t].properties.title,e.features[t].properties.description),l=gt(e.features[t].properties.title),r=e.features[t].properties.style;if("LineString"==e.features[t].geometry.type){var s=Bt(e.features[t].geometry.coordinates);(n=new i.Polyline(s,{customId:t,color:tt(r),smoothFactor:1,weight:ot(r),pane:"vectorPane",opacity:1,lineCap:"round",fillOpacity:1,interactive:!0})).addTo(o),"true"===k?(n.on("click",ht),n.bindTooltip(l)):("true"===b?(n.bindPopup(a),n.on("click",ct)):n.bindPopup(a),n.bindTooltip(l)),n.on("mouseover",(function(e){document.getElementById($).style.cursor="crosshair"})),n.on("mouseout",(function(e){document.getElementById($).style.cursor=""}))}}}(),function(){for(var e=JSON.parse(St()),t=0;t<e.features.length;t++){var a=void 0,l=void 0,r=gt(e.features[t].properties.title),s=e.features[t].geometry.coordinates[0],c=e.features[t].geometry.coordinates[1],d=e.features[t].properties.style,p=e.features[t].properties.title,u=e.features[t].properties.description;if("Point"==e.features[t].geometry.type){if(a=new i.Marker([c,s],{customId:t,icon:lt(d)}),l=new i.circleMarker([c,s],{customId:"highlight_"+t,radius:15,opacity:0,fillColor:"#666666",fillOpacity:0,pane:"highlightPane"}),a.on("mouseover",(function(e){document.getElementById($).style.cursor="crosshair"})),a.on("mouseout",(function(e){document.getElementById($).style.cursor=""})),"true"===k)a.on("click",ft),a.bindTooltip(r);else{var m=yt(p,u);
1"true"===b?(a.bindPopup(m),a.on("click",st)):(a.bindPopup(m),a.off("click",a.openPopup),a.on("click",rt)),a.bindTooltip(r)}"true"===P?(n.addLayer(a),"true"===b&&o.addLayer(l)):(o.addLayer(a),"true"===b&&o.addLayer(l))}}"true"===P&&o.addLayer(n)}()}}}]);

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.