1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2936],{46729:function(e,n,t){"use strict";t.d(n,{UO:function(){return c},cV:function(){return u},mE:function(){return o}});var r=t(56168);let u=1,l=(0,r.createContext)(null),c=l.Provider;function o(){let e=(0,r.useContext)(l);if(null==e)throw Error("No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>");return e}},77488:function(e,n,t){"use strict";t.d(n,{dW:function(){return s},SO:function(){return d},Lf:function(){return p}});var r=t(56168),u=t(34323),l=t(46729);function c(e,n){return null==n?function(n,t){return(0,r.useRef)(e(n,t))}:function(t,u){let l=(0,r.useRef)(e(t,u)),c=(0,r.useRef)(t),{instance:o}=l.current;return(0,r.useEffect)(function(){c.current!==t&&(n(o,t,c.current),c.current=t)},[o,t,u]),l}}function o(e,n){let t=(0,r.useRef)(n);(0,r.useEffect)(function(){n!==t.current&&null!=e.attributionControl&&(null!=t.current&&e.attributionControl.removeAttribution(t.current),null!=n&&e.attributionControl.addAttribution(n)),t.current=n},[e,n])}function i(e,n){let t=(0,r.useRef)();(0,r.useEffect)(function(){return null!=n&&e.instance.on(n),t.current=n,function(){null!=t.current&&e.instance.off(t.current),t.current=null}},[e,n])}var a=t(94656);function f(e){return function(n){var t,u;let c=(0,l.mE)(),f=e((0,a.q)(n,c),c);return o(c.map,n.attribution),i(f.current,n.eventHandlers),t=f.current,(0,r.useEffect)(function(){let e=c.layerContainer??c.map;return e.addLayer(t.instance),function(){var e;null==(e=c.layerContainer)||e.removeLayer(t.instance),c.map.removeLayer(t.instance)}},[c,t]),f}}function s(e,n){var t;let u=c(e,n),o=f(u);return(0,r.forwardRef)(function(e,n){let{instance:t,context:u}=o(e).current;return(0,r.useImperativeHandle)(n,()=>t),null==e.children?null:r.createElement(l.UO,{value:u},e.children)})}function d(e,n){var t,f,s;let d=c(e),p=function(e,t){let r=(0,l.mE)(),u=d((0,a.q)(e,r),r);return o(r.map,e.attribution),i(u.current,e.eventHandlers),n(u.current,r,e,t),u};return(0,r.forwardRef)(function(e,n){let[t,l]=(0,r.useState)(!1),{instance:c}=p(e,l).current;(0,r.useImperativeHandle)(n,()=>c),(0,r.useEffect)(function(){t&&c.update()},[c,t,e.children]);let o=c._contentNode;return o?(0,u.createPortal)(e.children,o):null})}function p(e,n){var t;let u=c(e,n),l=f(u);return(0,r.forwardRef)(function(e,n){let{instance:t}=l(e).current;return(0,r.useImperativeHandle)(n,()=>t),null})}},94656:function(e,n,t){"use strict";function r(e,n){let t=e.pane??n.pane;return t?{...e,pane:t}:e}t.d(n,{q:function(){return r}})},2936:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return m}});var r=t(5447),u=t(99728),l=t(2746),c=t(8014),o=t(56168),i=t(46729),a=t(77109);function f(){return(f=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}function s(e){let{children:n,className:t,id:r,placeholder:u,style:l,whenCreated:c,...s}=e,d=(0,o.useRef)(null),p=function(e,n){let[t,r]=(0,o.useState)(null);return(0,o.useEffect)(()=>{if(null!==e.current&&null===t){let u=new a.Map(e.current,n);null!=n.center&&null!=n.zoom?u.setView(n.center,n.zoom):null!=n.bounds&&u.fitBounds(n.bounds,n.boundsOptions),null!=n.whenReady&&u.whenReady(n.whenReady),r(u)}},[e,t,n]),t}(d,s),v=(0,o.useRef)(!1);(0,o.useEffect)(()=>{null!=p&&!1===v.current&&null!=c&&(v.current=!0,c(p))},[p,c]),(0,o.useEffect)(()=>()=>{null==p||p.remove()},[p]);let[h]=(0,o.useState)({className:t,id:r,style:l}),m=(0,o.useMemo)(()=>p?{__version:i.cV,map:p}:null,[p]),b=m?o.createElement(i.UO,{value:m},n):u??null;return o.createElement("div",f({},h,{ref:d}),b)}var d=t(77488),p=t(94656);let v=(0,d.Lf)(function(e,n){let{url:t,...r}=e;return{instance:new a.TileLayer(t,(0,p.q)(r,n)),context:n}},function(e,n,t){let{opacity:r,zIndex:u}=n;null!=r&&r!==t.opacity&&e.setOpacity(r),null!=u&&u!==t.zIndex&&e.setZIndex(u)});t(65729);var h=t(59907),m=function(e){var n=e.mapProps,t=e.children,i=(0,l.Z)(o.useState(null),2),a=i[0],f=i[1],d=(0,h.T)().isMobile;return(0,o.useEffect)(function(){a&&(d?a.dragging.disable():a.dragging.enable())},[a,d]),(0,c.jsxs)(s,(0,u.Z)((0,r.Z)({},n),{whenCreated:function(e){n.whenCreated&&n.whenCreated(e),f(e)},children:[(0,c.jsx)(v,{attribution:'\xa9 <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),t]}))}},65729:function(){}}]);
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.