1(self.webpackChunk_hertz_apac_react_bus_tracking=self.webpackChunk_hertz_apac_react_bus_tracking||[]).push([[6768],{82104:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var o=n(63349),l=n(41788),a=n(96156),i=n(9060),r=n(99003),s=n(479),p=function(e){function t(t){var n;return n=e.call(this,t)||this,(0,a.Z)((0,o.Z)(n),"onClose",(function(){n.props.onClose&&n.props.onClose()})),(0,a.Z)((0,o.Z)(n),"onOpen",(function(){n.forceUpdate(),n.props.onOpen&&n.props.onOpen()})),n.leafletElement=n.createLeafletElement(t),n}(0,l.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){throw new Error("createLeafletElement() must be implemented")},n.updateLeafletElement=function(e,t){},n.componentDidUpdate=function(e){(0,s.ZP)(this.leafletElement._container,e.className,this.props.className),this.updateLeafletElement(e,this.props),this.leafletElement.isOpen()&&(this.leafletElement.update(),this.onRender())},n.onRender=function(){},n.render=function(){return this.leafletElement._contentNode?(0,i.createPortal)(this.props.children,this.leafletElement._contentNode):null},t}(r.Z)},44399:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var o=n(22122),l=n(41788),a=n(45243),i=function(e){function t(){return e.apply(this,arguments)||this}(0,l.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){return new a.GridLayer(this.getOptions(e))},n.updateLeafletElement=function(e,t){var n=t.opacity,o=t.zIndex;n!==e.opacity&&this.leafletElement.setOpacity(n),o!==e.zIndex&&this.leafletElement.setZIndex(o)},n.getOptions=function(t){var n=(0,o.Z)({},e.prototype.getOptions.call(this,t)),l=t.leaflet.map;return null!=l&&(null==n.maxZoom&&null!=l.options.maxZoom&&(n.maxZoom=l.options.maxZoom),null==n.minZoom&&null!=l.options.minZoom&&(n.minZoom=l.options.minZoom)),n},n.render=function(){return null},t}(n(12821).Z)},50997:(e,t,n)=>{"use strict";n.d(t,{Z:()=>y});var o=n(22122),l=n(19756),a=n(63349),i=n(41788),r=n(96156),s=n(45243),p=n(67294),u=n(51299),c=n(59827),f=n(479),h=n(83325),m=["children","className","id","style","useFlyTo","whenReady"],d=function(e){return Array.isArray(e)?[e[0],e[1]]:[e.lat,e.lon?e.lon:e.lng]},y=function(e){function t(t){var n;return n=e.call(this,t)||this,(0,r.Z)((0,a.Z)(n),"className",void 0),(0,r.Z)((0,a.Z)(n),"contextValue",void 0),(0,r.Z)((0,a.Z)(n),"container",void 0),(0,r.Z)((0,a.Z)(n),"viewport",{center:void 0,zoom:void 0}),(0,r.Z)((0,a.Z)(n),"_ready",!1),(0,r.Z)((0,a.Z)(n),"_updating",!1),(0,r.Z)((0,a.Z)(n),"onViewportChange",(function(){var e=n.leafletElement.getCenter();n.viewport={center:e?[e.lat,e.lng]:void 0,zoom:n.leafletElement.getZoom()},n.props.onViewportChange&&!n._updating&&n.props.onViewportChange(n.viewport)})),(0,r.Z)((0,a.Z)(n),"onViewportChanged",(function(){n.props.onViewportChanged&&!n._updating&&n.props.onViewportChanged(n.viewport)})),(0,r.Z)((0,a.Z)(n),"bindContainer",(function(e){n.container=e})),n.className=t.className,n}(0,i.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){var t=e.viewport,n=(0,l.Z)(e,["viewport"]);return t&&(t.center&&(n.center=t.center),"number"==typeof t.zoom&&(n.zoom=t.zoom)),new s.Map(this.container,n)},n.updateLeafletElement=function(e,t){this._updating=!0;var n=t.bounds,o=t.boundsOptions,l=t.boxZoom,a=t.center,i=t.className,r=t.doubleClickZoom,s=t.dragging,p=t.keyboard,u=t.maxBounds,c=t.scrollWheelZoom,h=t.tap,m=t.touchZoom,d=t.useFlyTo,y=t.viewport,v=t.zoom;if((0,f.ZP)(this.container,e.className,i),y&&y!==e.viewport){var E=y.center?y.center:a,Z=null==y.zoom?v:y.zoom;!0===d?this.leafletElement.flyTo(E,Z,this.getZoomPanOptions(t)):this.leafletElement.setView(E,Z,this.getZoomPanOptions(t))}else a&&this.shouldUpdateCenter(a,e.center)?!0===d?this.leafletElement.flyTo(a,v,this.getZoomPanOptions(t)):this.leafletElement.setView(a,v,this.getZoomPanOptions(t)):"number"==typeof v&&v!==e.zoom&&(null==e.zoom?this.leafletElement.setView(a,v,this.getZoomPanOptions(t)):this.leafletElement.setZoom(v,this.getZoomPanOptions(t)));u&&this.shouldUpdateBounds(u,e.maxBounds)&&this.leafletElement.setMaxBounds(u),n&&(this.shouldUpdateBounds(n,e.bounds)||o!==e.boundsOptions)&&(!0===d?this.leafletElement.flyToBounds(n,this.getFitBoundsOptions(t)):this.leafletElement.fitBounds(n,this.getFitBoundsOptions(t))),l!==e.boxZoom&&(!0===l?this.leafletElement.boxZoom.enable():this.leafletElement.boxZoom.disable()),r!==e.doubleClickZoom&&(!0===r||"string"==typeof r?(this.leafletElement.options.doubleClickZoom=r,this.leafletElement.doubleClickZoom.enable()):this.leafletElement.doubleClickZoom.disable()),s!==e.dragging&&(!0===s?this.leafletElement.dragging.enable():this.leafletElement.dragging.disable()),p!==e.keyboard&&(!0===p?this.leafletElement.keyboard.enable():this.leafletElement.keyboard.disable()),c!==e.scrollWheelZoom&&(!0===c||"string"==typeof c?(this.leafletElement.options.scrollWheelZoom=c,this.leafletElement.scrollWheelZoom.enable()):this.leafletElement.scrollWheelZoom.disable()),h!==e.tap&&(!0===h?this.leafletElement.tap.enable():this.leafletElement.tap.disable()),m!==e.touchZoom&&(!0===m||"string"==typeof m?(this.leafletElement.options.touchZoom=m,this.leafletElement.touchZoom.enable()):this.leafletElement.touchZoom.disable()),this._updating=!1},n.getZoomPanOptions=function(e){return{animate:e.animate,duration:e.duration,easeLinearity:e.easeLinearity,noMoveStart:e.noMoveStart}},n.getFitBoundsOptions=function(e){var t=this.getZoomPanOptions(e);return(0,o.Z)({}
1,t,e.boundsOptions)},n.componentDidMount=function(){var t=h.Z.apply(void 0,[this.props].concat(m));this.leafletElement=this.createLeafletElement(t),this.leafletElement.on("move",this.onViewportChange),this.leafletElement.on("moveend",this.onViewportChanged),null!=t.bounds&&this.leafletElement.fitBounds(t.bounds,this.getFitBoundsOptions(t)),this.contextValue={layerContainer:this.leafletElement,map:this.leafletElement},e.prototype.componentDidMount.call(this),this.forceUpdate()},n.componentDidUpdate=function(t){!1===this._ready&&(this._ready=!0,this.props.whenReady&&this.leafletElement.whenReady(this.props.whenReady)),e.prototype.componentDidUpdate.call(this,t),this.updateLeafletElement(t,this.props)},n.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.leafletElement.off("move",this.onViewportChange),this.leafletElement.off("moveend",this.onViewportChanged),!0===this.props.preferCanvas?(this.leafletElement._initEvents(!0),this.leafletElement._stop()):this.leafletElement.remove()},n.shouldUpdateCenter=function(e,t){return!t||(e=d(e),t=d(t),e[0]!==t[0]||e[1]!==t[1])},n.shouldUpdateBounds=function(e,t){return!t||!(0,s.latLngBounds)(e).equals((0,s.latLngBounds)(t))},n.render=function(){return p.createElement("div",{className:this.className,id:this.props.id,ref:this.bindContainer,style:this.props.style},this.contextValue?p.createElement(u.UO,{value:this.contextValue},this.props.children):null)},t}(c.Z)},99003:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var o=n(22122),l=n(41788),a=function(e){function t(){return e.apply(this,arguments)||this}return(0,l.Z)(t,e),t.prototype.getOptions=function(e){return null!=e.pane?e:null!=e.leaflet&&null!=e.leaflet.pane?(0,o.Z)({},e,{pane:e.leaflet.pane}):e},t}(n(59827).Z)},59827:(e,t,n)=>{"use strict";n.d(t,{f:()=>s,Z:()=>p});var o=n(22122),l=n(63349),a=n(41788),i=n(96156),r=n(67294),s=/^on(.+)$/i,p=function(e){function t(t){var n;return n=e.call(this,t)||this,(0,i.Z)((0,l.Z)(n),"_leafletEvents",void 0),(0,i.Z)((0,l.Z)(n),"leafletElement",void 0),n._leafletEvents=n.extractLeafletEvents(t),n}(0,a.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.bindLeafletEvents(this._leafletEvents)},n.componentDidUpdate=function(e){this._leafletEvents=this.bindLeafletEvents(this.extractLeafletEvents(this.props),this._leafletEvents)},n.componentWillUnmount=function(){var e=this,t=this.leafletElement;t&&Object.keys(this._leafletEvents).forEach((function(n){t.off(n,e._leafletEvents[n])}))},n.extractLeafletEvents=function(e){return Object.keys(e).reduce((function(t,n){return s.test(n)&&null!=e[n]&&(t[n.replace(s,(function(e,t){return t.toLowerCase()}))]=e[n]),t}),{})},n.bindLeafletEvents=function(e,t){void 0===e&&(e={}),void 0===t&&(t={});var n=this.leafletElement;if(null==n||null==n.on)return{};var l=(0,o.Z)({},t);return Object.keys(t).forEach((function(o){null!=e[o]&&t[o]===e[o]||(delete l[o],n.off(o,t[o]))})),Object.keys(e).forEach((function(o){null!=t[o]&&e[o]===t[o]||(l[o]=e[o],n.on(o,e[o]))})),l},n.fireLeafletEvent=function(e,t){var n=this.leafletElement;n&&n.fire(e,t)},t}(r.Component)},12821:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var o=n(5991),l=n(63349),a=n(41788),i=n(96156),r=n(67294),s=n(51299),p=function(e){function t(t){var n;return n=e.call(this,t)||this,(0,i.Z)((0,l.Z)(n),"contextValue",void 0),(0,i.Z)((0,l.Z)(n),"leafletElement",void 0),n.leafletElement=n.createLeafletElement(t),n}(0,a.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){throw new Error("createLeafletElement() must be implemented")},n.updateLeafletElement=function(e,t){},n.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.layerContainer.addLayer(this.leafletElement)},n.componentDidUpdate=function(t){if(e.prototype.componentDidUpdate.call(this,t),this.props.attribution!==t.attribution){var n=this.props.leaflet.map;null!=n&&null!=n.attributionControl&&(n.attributionControl.removeAttribution(t.attribution),n.attributionControl.addAttribution(this.props.attribution))}this.updateLeafletElement(t,this.props)},n.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.layerContainer.removeLayer(this.leafletElement)},n.render=function(){var e=this.props.children;return null==e?null:null==this.contextValue?r.createElement(r.Fragment,null,e):r.createElement(s.UO,{value:this.contextValue},e)},(0,o.Z)(t,[{key:"layerContainer",get:function(){return this.props.leaflet.layerContainer||this.props.leaflet.map}}]),t}(n(99003).Z)}
1,12388:(e,t,n)=>{"use strict";n.d(t,{Z:()=>p});var o=n(22122),l=n(41788),a=n(45243),i=n(67294),r=n(51299),s=function(e){function t(){return e.apply(this,arguments)||this}(0,l.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){var t=new a.Marker(e.position,this.getOptions(e));return this.contextValue=(0,o.Z)({},e.leaflet,{popupContainer:t}),t},n.updateLeafletElement=function(e,t){t.position!==e.position&&this.leafletElement.setLatLng(t.position),t.icon!==e.icon&&this.leafletElement.setIcon(t.icon),t.zIndexOffset!==e.zIndexOffset&&this.leafletElement.setZIndexOffset(t.zIndexOffset),t.opacity!==e.opacity&&this.leafletElement.setOpacity(t.opacity),t.draggable!==e.draggable&&(!0===t.draggable?this.leafletElement.dragging.enable():this.leafletElement.dragging.disable())},n.render=function(){var e=this.props.children;return null==e||null==this.contextValue?null:i.createElement(r.UO,{value:this.contextValue},e)},t}(n(12821).Z);const p=(0,r.K5)(s)},60979:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var o=n(22122),l=n(63349),a=n(41788),i=n(96156),r=n(45243),s=n(51299),p=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];return t=e.call.apply(e,[this].concat(o))||this,(0,i.Z)((0,l.Z)(t),"onPopupOpen",(function(e){e.popup===t.leafletElement&&t.onOpen()})),(0,i.Z)((0,l.Z)(t),"onPopupClose",(function(e){e.popup===t.leafletElement&&t.onClose()})),(0,i.Z)((0,l.Z)(t),"onRender",(function(){!1!==t.props.autoPan&&t.leafletElement.isOpen()&&(t.leafletElement._map&&t.leafletElement._map._panAnim&&(t.leafletElement._map._panAnim=void 0),t.leafletElement._adjustPan())})),t}(0,a.Z)(t,e);var n=t.prototype;return n.getOptions=function(t){return(0,o.Z)({},e.prototype.getOptions.call(this,t),{autoPan:!1})},n.createLeafletElement=function(e){var t=this.getOptions(e);return t.autoPan=!1!==e.autoPan,new r.Popup(t,e.leaflet.popupContainer)},n.updateLeafletElement=function(e,t){t.position!==e.position&&this.leafletElement.setLatLng(t.position)},n.componentDidMount=function(){var e=this.props.position,t=this.props.leaflet,n=t.map,o=t.popupContainer,l=this.leafletElement;null!=n&&n.on({popupopen:this.onPopupOpen,popupclose:this.onPopupClose}),o?o.bindPopup(l):(e&&l.setLatLng(e),l.openOn(n))},n.componentWillUnmount=function(){var t=this.props.leaflet.map;null!=t&&(t.off({popupopen:this.onPopupOpen,popupclose:this.onPopupClose}),t.removeLayer(this.leafletElement)),e.prototype.componentWillUnmount.call(this)},t}(n(82104).Z);(0,i.Z)(p,"defaultProps",{pane:"popupPane"});const u=(0,s.K5)(p)},60408:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(41788),l=n(45243),a=n(51299),i=function(e){function t(){return e.apply(this,arguments)||this}(0,o.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){return new l.TileLayer(e.url,this.getOptions(e))},n.updateLeafletElement=function(t,n){e.prototype.updateLeafletElement.call(this,t,n),n.url!==t.url&&this.leafletElement.setUrl(n.url)},t}(n(44399).Z);const r=(0,a.K5)(i)},51299:(e,t,n)=>{"use strict";n.d(t,{Wf:()=>s,wA:()=>p,UO:()=>u,K5:()=>c});var o=n(22122),l=n(8679),a=n.n(l),i=n(67294),r=(0,i.createContext)({}),s=function(){return(0,i.useContext)(r)},p=r.Consumer,u=r.Provider,c=function(e){var t=function(t,n){return i.createElement(p,null,(function(l){return i.createElement(e,(0,o.Z)({},t,{leaflet:l,ref:n}))}
1))},n=e.displayName||e.name||"Component";t.displayName="Leaflet("+n+")";var l=(0,i.forwardRef)(t);return a()(l,e),l}},64575:(e,t,n)=>{"use strict";n.r(t),n.d(t,{AttributionControl:()=>c,Circle:()=>g,CircleMarker:()=>b,ControlledLayer:()=>I,DivOverlay:()=>C.Z,FeatureGroup:()=>w,GeoJSON:()=>P,GridLayer:()=>U.Z,ImageOverlay:()=>V,LayerGroup:()=>B,LayersControl:()=>S,LeafletConsumer:()=>o.wA,LeafletProvider:()=>o.UO,Map:()=>N.Z,MapComponent:()=>W.Z,MapControl:()=>p,MapEvented:()=>K.Z,MapLayer:()=>y.Z,Marker:()=>R.Z,Pane:()=>H,Path:()=>E,Polygon:()=>X,Polyline:()=>ee,Popup:()=>te.Z,Rectangle:()=>oe,SVGOverlay:()=>ue,ScaleControl:()=>ae,TileLayer:()=>ce.Z,Tooltip:()=>he,VideoOverlay:()=>de,WMSTileLayer:()=>ve,ZoomControl:()=>Ze,useLeaflet:()=>o.Wf,withLeaflet:()=>o.K5});var o=n(51299),l=n(41788),a=n(45243),i=n(63349),r=n(96156),s=n(67294),p=function(e){function t(t){var n;return n=e.call(this,t)||this,(0,r.Z)((0,i.Z)(n),"leafletElement",void 0),n.leafletElement=n.createLeafletElement(n.props),n}(0,l.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){throw new Error("createLeafletElement() must be implemented")},n.updateLeafletElement=function(e,t){t.position!==e.position&&this.leafletElement.setPosition(t.position)},n.componentDidMount=function(){this.leafletElement.addTo(this.props.leaflet.map)},n.componentDidUpdate=function(e){this.updateLeafletElement(e,this.props)},n.componentWillUnmount=function(){this.leafletElement.remove()},n.render=function(){return null},t}(s.Component),u=function(e){function t(){return e.apply(this,arguments)||this}return(0,l.Z)(t,e),t.prototype.createLeafletElement=function(e){return new a.Control.Attribution(e)},t}(p);const c=(0,o.K5)(u);var f=n(19756),h=n(22122),m=n(64063),d=n.n(m),y=n(12821),v=["stroke","color","weight","opacity","lineCap","lineJoin","dashArray","dashOffset","fill","fillColor","fillOpacity","fillRule","bubblingMouseEvents","renderer","className","interactive","pane","attribution"],E=function(e){function t(t){var n;return null==(n=e.call(this,t)||this).contextValue&&(n.contextValue=(0,h.Z)({},t.leaflet,{popupContainer:n.leafletElement})),n}(0,l.Z)(t,e);var n=t.prototype;return n.componentDidUpdate=function(t){e.prototype.componentDidUpdate.call(this,t),this.setStyleIfChanged(t,this.props)},n.getPathOptions=function(e){return t=e,v.reduce((function(e,n){return void 0!==t[n]&&(e[n]=t[n]),e}),{});var t},n.setStyle=function(e){void 0===e&&(e={}),this.leafletElement.setStyle(e)},n.setStyleIfChanged=function(e,t){var n=this.getPathOptions(t);d()(n,this.getPathOptions(e))||this.setStyle(n)},t}(y.Z),Z=function(e){function t(){return e.apply(this,arguments)||this}(0,l.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){var t=e.center,n=e.radius,o=(0,f.Z)(e,["center","radius"]);return new a.Circle(t,n,this.getOptions(o))},n.updateLeafletElement=function(e,t){t.center!==e.center&&this.leafletElement.setLatLng(t.center),t.radius!==e.radius&&this.leafletElement.setRadius(t.radius)},t}(E);const g=(0,o.K5)(Z);var L=function(e){function t(){return e.apply(this,arguments)||this}(0,l.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){var t=new a.CircleMarker(e.center,this.getOptions(e));return this.contextValue=(0,h.Z)({},e.leaflet,{popupContainer:t}),t},n.updateLeafletElement=function(e,t){t.center!==e.center&&this.leafletElement.setLatLng(t.center),t.radius!==e.radius&&this.leafletElement.setRadius(t.radius)},t}(E);const b=(0,o.K5)(L);var C=n(82104),O=function(e){function t(){return e.apply(this,arguments)||this}(0,l.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){var t=new a.FeatureGroup(this.getOptions(e));return this.contextValue=(0,h.Z)({},e.leaflet,{layerContainer:t,popupContainer:t}),t},n.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.setStyle(this.props)},t}(E);const w=(0,o.K5)(O);var x=function(e){function t(){return e.apply(this,arguments)||this}(0,l.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){return new a.GeoJSON(e.data,this.getOptions(e))},n.updateLeafletElement=function(e,t){"function"==typeof t.style?this.leafletElement.setStyle(t.style):this.setStyleIfChanged(e,t)},t}(E);const P=(0,o.K5)(x);var U=n(44399),_=function(e){function t(){return e.apply(this,arguments)||this}(0,l.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){var t=new a.ImageOverlay(e.url,e.bounds,this.getOptions(e));return this.contextValue=(0,h.Z)({},e.leaflet,{popupContainer:t}),t},n.updateLeafletElement=function(e,t){t.url!==e.url&&this.leafletElement.setUrl(t.url),t.bounds!==e.bounds&&this.leafletElement.setBounds((0,a.latLngBounds)(t.bounds)),t.opacity!==e.opacity&&this.leafletElement.setOpacity(t.opacity),t.zIndex!==e.zIndex&&this.leafletElement.setZIndex(t.zIndex)},t}(y.Z);const V=(0,o.K5)(_);var k=function(e){function t(){return e.apply(this,arguments)||this}return(0,l.Z)(t,e),t.prototype.createLeafletElement=function(e){var t=new a.LayerGroup([],this.getOptions(e));return this.contextValue=(0,h.Z)({},e.leaflet,{layerContainer:t}),t},t}(y.Z);const B=(0,o.K5)(k);var I=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];return t=e.call.apply(e,[this].concat(o))||this,(0,r.Z)((0,i.Z)(t),"contextValue",void 0),(0,r.Z)((0,i.Z)(t),"layer",void 0),t}(0,l.Z)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){var t=e.checked;null!=this.props.leaflet.map&&(!0!==this.props.checked||null!=t&&!1!==t?!0!==t||null!=this.props.checked&&!1!==this.props.checked||this.props.leaflet.map.removeLayer(this.layer):this.props.leaflet.map.addLayer(this.layer))},n.componentWillUnmount=function(){this.props.removeLayerControl(this.layer)}
1,n.addLayer=function(){throw new Error("Must be implemented in extending class")},n.removeLayer=function(e){this.props.removeLayer(e)},n.render=function(){var e=this.props.children;return e?s.createElement(o.UO,{value:this.contextValue},e):null},t}(s.Component),M=function(e){function t(t){var n;return n=e.call(this,t)||this,(0,r.Z)((0,i.Z)(n),"addLayer",(function(e){n.layer=e;var t=n.props,o=t.addBaseLayer,l=t.checked;o(e,t.name,l)})),n.contextValue=(0,h.Z)({},t.leaflet,{layerContainer:{addLayer:n.addLayer.bind((0,i.Z)(n)),removeLayer:n.removeLayer.bind((0,i.Z)(n))}}),n}return(0,l.Z)(t,e),t}(I),D=function(e){function t(t){var n;return n=e.call(this,t)||this,(0,r.Z)((0,i.Z)(n),"addLayer",(function(e){n.layer=e;var t=n.props,o=t.addOverlay,l=t.checked;o(e,t.name,l)})),n.contextValue=(0,h.Z)({},t.leaflet,{layerContainer:{addLayer:n.addLayer.bind((0,i.Z)(n)),removeLayer:n.removeLayer.bind((0,i.Z)(n))}}),n}return(0,l.Z)(t,e),t}(I),z=function(e){function t(t){var n;return n=e.call(this,t)||this,(0,r.Z)((0,i.Z)(n),"controlProps",void 0),n.controlProps={addBaseLayer:n.addBaseLayer.bind((0,i.Z)(n)),addOverlay:n.addOverlay.bind((0,i.Z)(n)),leaflet:t.leaflet,removeLayer:n.removeLayer.bind((0,i.Z)(n)),removeLayerControl:n.removeLayerControl.bind((0,i.Z)(n))},n}(0,l.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){e.children;var t=(0,f.Z)(e,["children"]);return new a.Control.Layers(void 0,void 0,t)},n.updateLeafletElement=function(t,n){e.prototype.updateLeafletElement.call(this,t,n),n.collapsed!==t.collapsed&&(!0===n.collapsed?this.leafletElement.collapse():this.leafletElement.expand())},n.componentWillUnmount=function(){var t=this;setTimeout((function(){e.prototype.componentWillUnmount.call(t)}),0)},n.addBaseLayer=function(e,t,n){void 0===n&&(n=!1),n&&null!=this.props.leaflet.map&&this.props.leaflet.map.addLayer(e),this.leafletElement.addBaseLayer(e,t)},n.addOverlay=function(e,t,n){void 0===n&&(n=!1),n&&null!=this.props.leaflet.map&&this.props.leaflet.map.addLayer(e),this.leafletElement.addOverlay(e,t)},n.removeLayer=function(e){null!=this.props.leaflet.map&&this.props.leaflet.map.removeLayer(e)},n.removeLayerControl=function(e){this.leafletElement.removeLayer(e)},n.render=function(){var e=this,t=s.Children.map(this.props.children,(function(t){return t?(0,s.cloneElement)(t,e.controlProps):null}));return s.createElement(s.Fragment,null,t)},t}(p),A=(0,o.K5)(z);A.BaseLayer=M,A.Overlay=D;const S=A;var N=n(50997),W=n(99003),K=n(59827),R=n(12388),T=(n(42473),n(479)),F=n(83325),G=0,j=["tile","shadow","overlay","map","marker","tooltip","popup"],J=/-*pane/gi,q={position:"absolute",top:0,right:0,bottom:0,left:0},$=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];return t=e.call.apply(e,[this].concat(o))||this,(0,r.Z)((0,i.Z)(t),"state",{name:void 0,context:void 0}),(0,r.Z)((0,i.Z)(t),"setStyle",(function(e){var n=void 0===e?t.props:e,o=n.style,l=n.className,a=t.getPane(t.state.name);a&&(l&&(0,T.yn)(a,l),o&&Object.keys(o).forEach((function(e){a.style[e]=o[e]})))})),t}(0,l.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.createPane(this.props)},n.componentDidUpdate=function(e){if(this.state.name)if(this.props.name!==e.name)this.removePane(),this.createPane(this.props);else{if(e.className&&this.props.className!==e.className){var t=this.getPane(this.state.name);null!=t&&null!=e.className&&(0,T.rP)(t,e.className)}this.setStyle(this.props)}},n.componentWillUnmount=function(){this.removePane()},n.createPane=function(e){var t=e.leaflet.map,n=e.name||"pane-"+ ++G;null!=t&&null!=t.createPane&&(null==(function(e){return-1!==j.indexOf(e.replace(J,""))}(n)||this.getPane(n))&&t.createPane(n,this.getParentPane()),this.setState({name:n,context:(0,h.Z)({},e.leaflet,{pane:n})},this.setStyle))},n.removePane=function(){var e=this.state.name;if(null!=e){var t=this.getPane(e);null!=t&&t.remove&&t.remove();var n=this.props.leaflet.map;null!=n&&null!=n._panes&&(n._panes=(0,F.Z)(n._panes,e),n._paneRenderers=(0,F.Z)(n._paneRenderers,e))}},n.getParentPane=function(){return this.getPane(this.props.pane||this.props.leaflet.pane)},n.getPane=function(e){if(null!=e&&null!=this.props.leaflet.map)return this.props.leaflet.map.getPane(e)},n.render=function(){var e=this.state.context;return e?s.createElement(o.UO,{value:e},s.createElement("div",{style:q},this.props.children)):null},t}(s.Component);const H=(0,o.K5)($);var Q=function(e){function t(){return e.apply(this,arguments)||this}(0,l.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){return new a.Polygon(e.positions,this.getOptions(e))},n.updateLeafletElement=function(e,t){t.positions!==e.positions&&this.leafletElement.setLatLngs(t.positions),this.setStyleIfChanged(e,t)},t}(E);const X=(0,o.K5)(Q);var Y=function(e){function t(){return e.apply(this,arguments)||this}(0,l.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){return new a.Polyline(e.positions,this.getOptions(e))},n.updateLeafletElement=function(e,t){t.positions!==e.positions&&this.leafletElement.setLatLngs(t.positions),this.setStyleIfChanged(e,t)},t}(E);const ee=(0,o.K5)(Y);var te=n(60979),ne=function(e){function t(){return e.apply(this,arguments)||this}(0,l.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){return new a.Rectangle(e.bounds,this.getOptions(e))},n.updateLeafletElement=function(e,t){t.bounds!==e.bounds&&this.leafletElement.setBounds(t.bounds),this.setStyleIfChanged(e,t)},t}(E);const oe=(0,o.K5)(ne);var le=function(e){function t(){return e.apply(this,arguments)||this}return(0,l.Z)(t,e),t.prototype.createLeafletElement=function(e){return new a.Control.Scale(e)},t}(p);const ae=(0,o.K5)(le);var ie=n(5991),re=n(9060);function se(e,t,n){null!=n?e.setAttribute(t,n):e.removeAttribute(t)}var pe=function(e){function t(t){var n;return n=e.call(this,t)||this,(0,r.Z)((0,i.Z)(n),"leafletElement",void 0),(0,r.Z)((0,i.Z)(n),"container",void 0),n.leafletElement=n.createLeafletElement(t),n}(0,l.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){var t=document.createElementNS("http://www.w3.org/2000/svg","svg");return se(t,"xmlns","http://www.w3.org/2000/svg"),se(t,"preserveAspectRatio",e.preserveAspectRatio),se(t,"viewBox",e.viewBox),this.container=t,new a.SVGOverlay(t,e.bounds,this.getOptions(e))},n.updateLeafletElement=function(e,t){t.bounds!==e.bounds&&this.leafletElement.setBounds(t.bounds),t.opacity!==e.opacity&&this.leafletElement.setOpacity(t.opacity),this.container&&t.preserveAspectRatio!==e.preserveAspectRatio&&se(this.container,"preserveAspectRatio",t.preserveAspectRatio),this.container&&t.viewBox!==e.viewBox&&se(this.container,"viewBox",t.viewBox),t.zIndex!==e.zIndex&&this.leafletElement.setZIndex(t.zIndex)},n.componentDidMount=function(){e.prototype.componentDidMount.call(this),this.layerContainer.addLayer(this.leafletElement)},n.componentDidUpdate=function(t){if(e.prototype.componentDidUpdate.call(this,t),this.props.attribution!==t.attribution){var n=this.props.leaflet.map;null!=n&&null!=n.attributionControl&&(n.attributionControl.removeAttribution(t.attribution),n.attributionControl.addAttribution(this.props.attribution))}this.updateLeafletElement(t,this.props)},n.componentWillUnmount=function(){e.prototype.componentWillUnmount.call(this),this.layerContainer.removeLayer(this.leafletElement),this.container=null},n.render=function(){var e=this.props.children;return null==e||null==this.container?null:(0,re.createPortal)(e,this.container)},(0,ie.Z)(t,[{key:"layerContainer",get:function(){return this.props.leaflet.layerContainer||this.props.leaflet.map}}]),t}(W.Z);const ue=(0,o.K5)(pe);var ce=n(60408),fe=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),l=0;l<n;l++)o[l]=arguments[l];return t=e.call.apply(e,[this].concat(o))||this,(0,r.Z)((0,i.Z)(t),"onTooltipOpen",(function(e){e.tooltip===t.leafletElement&&t.onOpen()})),(0,r.Z)((0,i.Z)(t),"onTooltipClose",(function(e){e.tooltip===t.leafletElement&&t.onClose()})),t}(0,l.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){return new a.Tooltip(this.getOptions(e),e.leaflet.popupContainer)},n.componentDidMount=function(){var e=this.props.leaflet.popupContainer;null!=e&&(e.on({tooltipopen:this.onTooltipOpen,tooltipclose:this.onTooltipClose}),e.bindTooltip(this.leafletElement))},n.componentWillUnmount=function(){var e=this.props.leaflet.popupContainer;null!=e&&(e.off({tooltipopen:this.onTooltipOpen,tooltipclose:this.onTooltipClose}),null!=e._map&&e.unbindTooltip(this.leafletElement))},t}(C.Z);(0,r.Z)(fe,"defaultProps",{pane:"tooltipPane"});const he=(0,o.K5)(fe);var me=function(e){function t(){return e.apply(this,arguments)||this}(0,l.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){return new a.VideoOverlay(e.url,e.bounds,this.getOptions(e))},n.componentDidMount=function(){e.prototype.componentDidMount.call(this),!0===this.props.play&&this.leafletElement.getElement().play()},n.updateLeafletElement=function(e,t){t.url!==e.url&&this.leafletElement.setUrl(t.url),t.bounds!==e.bounds&&this.leafletElement.setBounds((0,a.latLngBounds)(t.bounds)),t.opacity!==e.opacity&&this.leafletElement.setOpacity(t.opacity),t.zIndex!==e.zIndex&&this.leafletElement.setZIndex(t.zIndex),!0!==t.play||e.play?t.play||!0!==e.play||this.leafletElement.getElement().pause():this.leafletElement.getElement().play()},t}(y.Z);const de=(0,o.K5)(me);var ye=function(e){function t(){return e.apply(this,arguments)||this}(0,l.Z)(t,e);var n=t.prototype;return n.createLeafletElement=function(e){var t=e.url,n=(0,f.Z)(e,["url"]),o=this.getOptions(n),l=(o.leaflet,(0,f.Z)(o,["leaflet"]));return new a.TileLayer.WMS(t,l)},n.updateLeafletElement=function(t,n){e.prototype.updateLeafletElement.call(this,t,n);var o=t.url,l=(t.opacity,t.zIndex,(0,f.Z)(t,["url","opacity","zIndex"])),a=this.getOptions(l),i=(a.leaflet,(0,f.Z)(a,["leaflet"])),r=n.url,s=(n.opacity,n.zIndex,(0,f.Z)(n,["url","opacity","zIndex"])),p=this.getOptions(s),u=(p.leaflet,(0,f.Z)(p,["leaflet"]));r!==o&&this.leafletElement.setUrl(r),d()(u,i)||this.leafletElement.setParams(u)},n.getOptions=function(t){var n=e.prototype.getOptions.call(this,t);return Object.keys(n).reduce((function(e,t){return K.f.test(t)||(e[t]=n[t]),e}),{})},t}(U.Z);const ve=(0,o.K5)(ye);var Ee=function(e){function t(){return e.apply(this,arguments)||this}return(0,l.Z)(t,e),t.prototype.createLeafletElement=function(e){return new a.Control.Zoom(e)},t}(p);const Ze=(0,o.K5)(Ee)},83325:(e,t,n)=>{"use strict";function o(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return Object.keys(e).reduce((function(t,o){return-1===n.indexOf(o)&&(t[o]=e[o]),t}),{})}n.d(t,{Z:()=>o})},479:(e,t,n)=>{"use strict";n.d(t,{yn:()=>a,rP:()=>i,ZP:()=>r});var o=n(45243),l=function(e){return void 0===e&&(e=""),e.split(" ").filter(
1Boolean)},a=function(e,t){l(t).forEach((function(t){o.DomUtil.addClass(e,t)}))},i=function(e,t){l(t).forEach((function(t){o.DomUtil.removeClass(e,t)}))};const r=function(e,t,n){null!=e&&n!==t&&(null!=t&&t.length>0&&i(e,t),null!=n&&n.length>0&&a(e,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.