PageSourceSearch

https://app.immonetzwerk.de/_next/static/chunks/90904.da31c9248544c5ed.js

js immonetzwerk.de collected 2026-10-09 01:17:38 UTC 9,731 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[90904],{4755:(e,t,n)=>{"use strict";n.d(t,{W:()=>i});var r=n(20976),l=n(55027),o=n(12115);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=(0,o.forwardRef)(function({bounds:e,boundsOptions:t,center:n,children:i,className:a,id:c,placeholder:s,style:f,whenReady:d,zoom:p,...g},m){let[v]=(0,o.useState)({className:a,id:c,style:f}),[y,h]=(0,o.useState)(null);(0,o.useImperativeHandle)(m,()=>y?.map??null,[y]);let b=(0,o.useCallback)(o=>{if(null!==o&&null===y){let u=new l.Map(o,g);null!=n&&null!=p?u.setView(n,p):null!=e&&u.fitBounds(e,t),null!=d&&u.whenReady(d),h((0,r.fB)(u))}},[]);(0,o.useEffect)(()=>()=>{y?.map.remove()},[y]);let w=y?o.createElement(r.hL,{value:y},i):s??null;return o.createElement("div",u({},v,{ref:b}),w)})},8059:(e,t,n)=>{"use strict";n.d(t,{K:()=>o,Q:()=>l});var r=n(12115);function l(e,t,n){return Object.freeze({instance:e,context:t,container:n})}function o(e,t){return null==t?function(t,n){let l=(0,r.useRef)();return l.current||(l.current=e(t,n)),l}:function(n,l){let o=(0,r.useRef)();o.current||(o.current=e(n,l));let u=(0,r.useRef)(n),{instance:i}=o.current;return(0,r.useEffect)(function(){u.current!==n&&(t(i,n,u.current),u.current=n)},[i,n,l]),o}}},13636:(e,t,n)=>{"use strict";n.d(t,{e:()=>i});var r=n(40530),l=n(63659),o=n(8059),u=n(55027);let i=(0,r.X3)(function({url:e,...t},n){let r=new u.TileLayer(e,(0,l.P)(t,n));return(0,o.Q)(r,n)},function(e,t,n){let{opacity:r,zIndex:l}=t;null!=r&&r!==n.opacity&&e.setOpacity(r),null!=l&&l!==n.zIndex&&e.setZIndex(l);let{url:o}=t;null!=o&&o!==n.url&&e.setUrl(o)})},17054:(e,t,n)=>{"use strict";n.d(t,{Po:()=>u,ko:()=>o});var r=n(20976),l=n(12115);function o(){return(0,r.U$)().map}function u(e){let t=o();return(0,l.useEffect)(function(){return t.on(e),function(){t.off(e)}},[t,e]),t}},20976:(e,t,n)=>{"use strict";n.d(t,{U$:()=>a,W4:()=>o,fB:()=>l,hL:()=>i});var r=n(12115);function l(e){return Object.freeze({__version:1,map:e})}function o(e,t){return Object.freeze({...e,...t})}let u=(0,r.createContext)(null),i=u.Provider;function a(){let e=(0,r.useContext)(u);if(null==e)throw Error("No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>");return e}},26264:(e,t,n)=>{"use strict";n.d(t,{p:()=>i});var r=n(40530),l=n(8059),o=n(20976),u=n(55027);let i=(0,r.Nq)(function({position:e,...t},n){let r=new u.Marker(e,t);return(0,l.Q)(r,(0,o.W4)(n,{overlayContainer:r}))},function(e,t,n){t.position!==n.position&&e.setLatLng(t.position),null!=t.icon&&t.icon!==n.icon&&e.setIcon(t.icon),null!=t.zIndexOffset&&t.zIndexOffset!==n.zIndexOffset&&e.setZIndexOffset(t.zIndexOffset),null!=t.opacity&&t.opacity!==n.opacity&&e.setOpacity(t.opacity),null!=e.dragging&&t.draggable!==n.draggable&&(!0===t.draggable?e.dragging.enable():e.dragging.disable())})},35603:()=>{},40530:(e,t,n)=>{"use strict";n.d(t,{Nq:()=>p,wk:()=>g,Lt:()=>m,X3:()=>v});var r=n(12115),l=n(47650),o=n(20976);function u(e){return(0,r.forwardRef)(function(t,n){let{instance:l,context:u}=e(t).current;return(0,r.useImperativeHandle)(n,()=>l),null==t.children?null:r.createElement(o.hL,{value:u},t.children)})}var i=n(8059);function a(e,t){let n=(0,r.useRef)(t);(0,r.useEffect)(function(){t!==n.current&&null!=e.attributionControl&&(null!=n.current&&e.attributionControl.removeAttribution(n.current),null!=t&&e.attributionControl.addAttribution(t)),n.current=t},[e,t])}function c(e,t){let n=(0,r.useRef)();(0,r.useEffect)(function(){return null!=t&&e.instance.on(t),n.current=t,function(){null!=n.current&&e.instance.off(n.current),n.current=null}},[e,t])}var s=n(63659);function f(e,t){(0,r.useEffect)(function(){return(t.layerContainer??t.map).addLayer(e.instance),function(){t.layerContainer?.removeLayer(e.instance),t.map.removeLayer(e.instance)}},[t,e])}function d(e){return function(t){let n=(0,o.U$)(),r=e((0,s.P)(t,n),n);return a(n.map,t.attribution),c(r.current,t.eventHandlers),f(r.current,n),r}}function p(e,t){return u(d((0,i.K)(e,t)))}function g(e,t){var n,u;return n=(0,i.K)(e),u=function(e,r){let l=(0,o.U$)(),u=n((0,s.P)(e,l),l);return a(l.map,e.attribution),c(u.current,e.eventHandlers),t(u.current,l,e,r),u},(0,r.forwardRef)(function(e,t){let[n,o]=(0,r.useState)(!1),{instance:i}=u(e,o).current;(0,r.useImperativeHandle)(t,()=>i),(0,r.useEffect)(function(){n&&i.update()},[i,n,e.children]);let a=i._contentNode;return a?(0,l.createPortal)(e.children,a):null})}function m(e,t){var n;return u((n=(0,i.K)(e,t),function(e){let t=(0,o.U$)(),l=n((0,s.P)(e,t),t);c(l.current,e.eventHandlers),f(l.current,t);var u=l.current;let i=(0,r.useRef)();return(0,r.useEffect)(function(){if(e.pathOptions!==i.current){let t=e.pathOptions??{};u.instance.setStyle(t),i.current=t}},[u,e]),l}))}function v(e,t){var n;return n=d((0,i.K)(e,t)),(0,r.forwardRef)(function(e,t){let{instance:l}=n(e).current;return(0,r.useImperativeHandle)(t,()=>l),null})}},46845:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var r=n(40530),l=n(8059),o=n(20976),u=n(55027);let i=(0,r.Lt)(function({data:e,...t},n){let r=new u.GeoJSON(e,t);return(0,l.Q)(r,(0,o.W4)(n,{overlayContainer:r}))},function(e,t,n){t.style!==n.style&&(null==t.style?e.resetStyle():e.setStyle(t.style))})}
1,61323:(e,t,n)=>{"use strict";n.d(t,{G:()=>p,p:()=>f});var r=n(95155),l=n(12115),o=n(55027),u=n.n(o),i=n(17054),a=n(4755),c=n(13636);function s(){let e=(0,i.ko)();return(0,l.useEffect)(()=>{let t=e.getContainer(),n=new ResizeObserver(()=>{e.invalidateSize()});n.observe(t);let r=window.setTimeout(()=>e.invalidateSize(),80);return()=>{n.disconnect(),window.clearTimeout(r)}},[e]),null}function f(e){let{bounds:t,padding:n=24,maxZoom:r}=e,o=(0,i.ko)();return(0,l.useEffect)(()=>{t&&o.fitBounds(t,{padding:[n,n],maxZoom:r})},[t,o,n,r]),null}function d(e){let{onHint:t}=e,n=(0,i.ko)(),r=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let e=n.getContainer(),l=e=>{if(e.ctrlKey||e.metaKey){e.preventDefault(),t(!1);let r=e.deltaY<0?1:-1;n.setZoomAround(n.mouseEventToContainerPoint(e),n.getZoom()+r)}else t(!0),r.current&&clearTimeout(r.current),r.current=setTimeout(()=>t(!1),1200)};return e.addEventListener("wheel",l,{passive:!1}),()=>{e.removeEventListener("wheel",l),r.current&&clearTimeout(r.current)}},[n,t]),null}function p(e){let{center:t,zoom:n=12,scrollWheelZoom:o=!1,preferCanvas:u=!1,className:i="h-72 w-full rounded-lg",style:f,zoomControl:p=!0,doubleClickZoom:g=!0,children:m}=e,[v,y]=(0,l.useState)(!1),h="undefined"!=typeof navigator&&/Mac/i.test(navigator.platform);return(0,r.jsxs)("div",{className:"relative isolate h-full",children:[(0,r.jsx)("style",{children:".leaflet-attribution-flag { display: none !important; }"}),(0,r.jsxs)(a.W,{center:t,zoom:n,scrollWheelZoom:o,preferCanvas:u,zoomControl:p,doubleClickZoom:g,className:"z-0 ".concat(i),style:f,children:[(0,r.jsx)(s,{}),(0,r.jsx)(c.e,{attribution:'\xa9 <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),!o&&(0,r.jsx)(d,{onHint:y}),m]}),(0,r.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 z-[400] flex items-center justify-center rounded-lg bg-black/40 transition-opacity duration-300 ".concat(v?"opacity-100":"opacity-0"),children:(0,r.jsxs)("span",{className:"rounded-md px-4 py-2 text-sm font-medium text-white",children:[h?"⌘":"Strg"," + Scrollen zoomt die Karte"]})})]})}n(35603),delete u().Icon.Default.prototype._getIconUrl,u().Icon.Default.mergeOptions({iconRetinaUrl:"/leaflet/marker-icon-2x.png",iconUrl:"/leaflet/marker-icon.png",shadowUrl:"/leaflet/marker-shadow.png"})},63659:(e,t,n)=>{"use strict";function r(e,t){let n=e.pane??t.pane;return n?{...e,pane:n}:e}n.d(t,{P:()=>r})},68805:(e,t,n)=>{"use strict";n.d(t,{BG:()=>u,DB:()=>l,LH:()=>p,Og:()=>v,SJ:()=>g,Vu:()=>m,Wg:()=>r,Yy:()=>f,dl:()=>d,eb:()=>a,kH:()=>c,pi:()=>i,vC:()=>s,yW:()=>o});let r="#6d28d9",l="#64748b",o="#fbbf24",u="#fde68a",i={color:r,weight:2,fillColor:r,fillOpacity:.2},a={color:r,weight:1.5,fillColor:r,fillOpacity:.35},c="#059669",s={color:c,weight:1.5,fillColor:c,fillOpacity:.35},f="#109193",d={color:f,weight:1.5,fillColor:f,fillOpacity:.35},p={color:o,weight:1.5,fillColor:u,fillOpacity:.45},g={color:"#94a3b8",weight:.6,fillColor:"#94a3b8",fillOpacity:.03},m={stroke:!1,fillColor:r,fillOpacity:.35},v={stroke:!1,fillColor:u,fillOpacity:.45}},90904:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>p});var r=n(95155),l=n(12115),o=n(55027),u=n.n(o),i=n(17054),a=n(26264),c=n(46845),s=n(61323),f=n(68805);function d(e){let{geojson:t}=e,n=(0,i.ko)();return(0,l.useEffect)(()=>{try{let e=u().geoJSON(t).getBounds();e.isValid()&&n.fitBounds(e,{padding:[16,16]})}catch(e){}},[t,n]),null}function p(e){let[t,n]=(0,l.useState)(null),[o,u]=(0,l.useState)(!1),i="plz"===e.mode?e.plz:null;return((0,l.useEffect)(()=>{if(!i)return;let e=!1;return fetch("/api/public/geo/plz-polygons?plz=".concat(encodeURIComponent(i))).then(e=>e.ok?e.json():null).then(t=>{var r;e||((null==t||null==(r=t.polygons)?void 0:r[i])?n(t.polygons[i]):(console.warn("[suche] Karte konnte nicht geladen werden — PLZ-Gebiet ".concat(i," nicht gefunden.")),u(!0)))}).catch(t=>{e||(console.warn("[suche] Karte konnte nicht geladen werden — PLZ-Gebiet ".concat(i,":"),t),u(!0))}),()=>{e=!0}},[i]),"plz"===e.mode&&o)?null:"plz"!==e.mode||t?(0,r.jsx)(s.G,{center:[e.lat,e.lng],zoom:"exact"===e.mode?15:12,children:"exact"===e.mode?(0,r.jsx)(a.p,{position:[e.lat,e.lng]}):t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.k,{data:t,style:{...f.pi}}),(0,r.jsx)(d,{geojson:t})]}):null}):(0,r.jsx)("div",{className:"h-72 rounded-lg bg-gray-100 animate-pulse"})}}}]);

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.