(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2652],{92652:function(n,t,e){"use strict";e.r(t),e.d(t,{default:function(){return l}});var r=e(57437);e(35046);var u=e(20755),c=e(73479);function l(n){var t,e;let{children:l,center:o,zoom:i=13,scrollWheelZoom:f=!1,...a}=n;return(0,r.jsxs)(u.h,{center:{lat:null!==(t=o.lat)&&void 0!==t?t:0,lng:null!==(e=o.lng)&&void 0!==e?e:0},zoom:i,scrollWheelZoom:f,...a,children:[(0,r.jsx)(c.I,{attribution:'\xa9 <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}),l]})}e(33084)},35046:function(){},33084:function(){},81080:function(n,t,e){"use strict";e.d(t,{Hb:function(){return u},UO:function(){return o},mE:function(){return i},sj:function(){return c}});var r=e(2265);function u(n){return Object.freeze({__version:1,map:n})}function c(n,t){return Object.freeze({...n,...t})}let l=(0,r.createContext)(null),o=l.Provider;function i(){let n=(0,r.useContext)(l);if(null==n)throw Error("No context provided: useLeafletContext() can only be used in a descendant of <MapContainer>");return n}},22538:function(n,t,e){"use strict";e.d(t,{I:function(){return c},O:function(){return u}});var r=e(2265);function u(n,t,e){return Object.freeze({instance:n,context:t,container:e})}function c(n,t){return null==t?function(t,e){let u=(0,r.useRef)();return u.current||(u.current=n(t,e)),u}:function(e,u){let c=(0,r.useRef)();c.current||(c.current=n(e,u));let l=(0,r.useRef)(e),{instance:o}=c.current;return(0,r.useEffect)(function(){l.current!==e&&(t(o,e,l.current),l.current=e)},[o,e,u]),c}}},16226:function(n,t,e){"use strict";e.d(t,{dW:function(){return s},SO:function(){return d},Lf:function(){return p}});var r=e(2265),u=e(54887),c=e(81080),l=e(22538);function o(n,t){let e=(0,r.useRef)(t);(0,r.useEffect)(function(){t!==e.current&&null!=n.attributionControl&&(null!=e.current&&n.attributionControl.removeAttribution(e.current),null!=t&&n.attributionControl.addAttribution(t)),e.current=t},[n,t])}function i(n,t){let e=(0,r.useRef)();(0,r.useEffect)(function(){return null!=t&&n.instance.on(t),e.current=t,function(){null!=e.current&&n.instance.off(e.current),e.current=null}},[n,t])}var f=e(38651);function a(n){return function(t){var e;let u=(0,c.mE)(),l=n((0,f.q)(t,u),u);return o(u.map,t.attribution),i(l.current,t.eventHandlers),e=l.current,(0,r.useEffect)(function(){return(u.layerContainer??u.map).addLayer(e.instance),function(){u.layerContainer?.removeLayer(e.instance),u.map.removeLayer(e.instance)}},[u,e]),l}}function s(n,t){var e;return e=a((0,l.I)(n,t)),(0,r.forwardRef)(function(n,t){let{instance:u,context:l}=e(n).current;return(0,r.useImperativeHandle)(t,()=>u),null==n.children?null:r.createElement(c.UO,{value:l},n.children)})}function d(n,t){var e,a;return e=(0,l.I)(n),a=function(n,r){let u=(0,c.mE)(),l=e((0,f.q)(n,u),u);return o(u.map,n.attribution),i(l.current,n.eventHandlers),t(l.current,u,n,r),l},(0,r.forwardRef)(function(n,t){let[e,c]=(0,r.useState)(!1),{instance:l}=a(n,c).current;(0,r.useImperativeHandle)(t,()=>l),(0,r.useEffect)(function(){e&&l.update()},[l,e,n.children]);let o=l._contentNode;return o?(0,u.createPortal)(n.children,o):null})}function p(n,t){var e;return e=a((0,l.I)(n,t)),(0,r.forwardRef)(function(n,t){let{instance:u}=e(n).current;return(0,r.useImperativeHandle)(t,()=>u),null})}},38651:function(n,t,e){"use strict";function r(n,t){let e=n.pane??t.pane;return e?{...n,pane:e}:n}e.d(t,{q:function(){return r}})},20755:function(n,t,e){"use strict";e.d(t,{h:function(){return o}});var r=e(81080),u=e(60759),c=e(2265);function l(){return(l=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r])}return n}).apply(this,arguments)}let o=(0,c.forwardRef)(function({bounds:n,boundsOptions:t,center:e,children:o,className:i,id:f,placeholder:a,style:s,whenReady:d,zoom:p,...v},m){let[b]=(0,c.useState)({className:i,id:f,style:s}),[h,w]=(0,c.useState)(null);(0,c.useImperativeHandle)(m,()=>h?.map??null,[h]);let y=(0,c.useCallback)(c=>{if(null!==c&&null===h){let l=new u.Map(c,v);null!=e&&null!=p?l.setView(e,p):null!=n&&l.fitBounds(n,t),null!=d&&l.whenReady(d),w((0,r.Hb)(l))}},[]);(0,c.useEffect)(()=>()=>{h?.map.remove()},[h]);let E=h?c.createElement(r.UO,{value:h},o):a??null;return c.createElement("div",l({},b,{ref:y}),E)})},73479:function(n,t,e){"use strict";e.d(t,{I:function(){return o}});var r=e(16226),u=e(38651),c=e(22538),l=e(60759);let o=(0,r.Lf)(function({url:n,...t},e){let r=new l.TileLayer(n,(0,u.q)(t,e));return(0,c.O)(r,e)},function(n,t,e){!function(n,t,e){let{opacity:r,zIndex:u}=t;null!=r&&r!==e.opacity&&n.setOpacity(r),null!=u&&u!==e.zIndex&&n.setZIndex(u)}(n,t,e);let{url:r}=t;null!=r&&r!==e.url&&n.setUrl(r)})}}]);