1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5ff1f452-2375-52fd-9786-23c9bcef2f7d")}catch(e){}}(); 3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3402],{8039:function(t,i,n){var o,a,e;"undefined"!=typeof globalThis||this||self,e=function(t,i){t.MaplibreGL=t.Layer.extend({options:{updateInterval:32,padding:.1,interactive:!1,pane:"tilePane"},initialize:function(i){t.setOptions(this,i),this._throttledUpdate=t.Util.throttle(this._update,this.options.updateInterval,this)},onAdd:function(i){this._container||this._initContainer();var n=this.getPaneName();i.getPane(n).appendChild(this._container),this._initGL(),this._offset=this._map.containerPointToLayerPoint([0,0]),i.options.zoomAnimation&&t.DomEvent.on(i._proxy,t.DomUtil.TRANSITION_END,this._transitionEnd,this)},onRemove:function(i){this._map._proxy&&this._map.options.zoomAnimation&&t.DomEvent.off(this._map._proxy,t.DomUtil.TRANSITION_END,this._transitionEnd,this);var n=this.getPaneName();i.getPane(n).removeChild(this._container),this._glMap.remove(),this._glMap=null},getEvents:function(){return{move:this._throttledUpdate,zoomanim:this._animateZoom,zoom:this._pinchZoom,zoomstart:this._zoomStart,zoomend:this._zoomEnd,resize:this._resize}},getAttribution:function(){if(this.options.attributionControl)return this.options.attributionControl.customAttribution;var t=this._glMap;if(t&&!1!==this.options.attributionControl){var i=t.getStyle();if(i&&i.sources)return Object.keys(i.sources).map(function(i){var n=t.getSource(i);return n&&"string"==typeof n.attribution?n.attribution.trim():null}).filter(Boolean).join(", ")}return""},getMaplibreMap:function(){return this._glMap},getCanvas:function(){return this._glMap.getCanvas()},getSize:function(){return this._map.getSize().multiplyBy(1+2*this.options.padding)},getBounds:function(){var i=this.getSize().multiplyBy(.5),n=this._map.latLngToContainerPoint(this._map.getCenter());return t.latLngBounds(this._map.containerPointToLatLng(n.subtract(i)),this._map.containerPointToLatLng(n.add(i)))},getContainer:function(){return this._container},getPaneName:function(){return this._map.getPane(this.options.pane)?this.options.pane:"tilePane"},_roundPoint:function(t){return{x:Math.round(t.x),y:Math.round(t.y)}},_initContainer:function(){var i=this._container=t.DomUtil.create("div","leaflet-gl-layer");this._resizeContainer();var n=this._map.getSize().multiplyBy(this.options.padding),o=this._map.containerPointToLayerPoint([0,0]).subtract(n);t.DomUtil.setPosition(i,this._roundPoint(o))},_resizeContainer:function(){var t=this.getSize();this._container.style.width=t.x+"px",this._container.style.height=t.y+"px"},_initGL:function(){var n=this._map.getCenter(),o=t.extend({},this.options,{container:this._container,center:[n.lng,n.lat],zoom:this._map.getZoom()-1,attributionControl:!1});this._glMap=new i.Map(o);var a=this._map,e=this.getAttribution(),s=this.getAttribution.bind(this);this._glMap.on("load",function(){a&&a.attributionControl&&(a.attributionControl.removeAttribution(e),a.attributionControl.addAttribution(s()))});var r=Object.getPrototypeOf(this._glMap.transform),h=Object.getOwnPropertyDescriptor(r,"latRange");(!h||h.set||h.writable)&&(this._glMap.transform.latRange=null);var l=Object.getOwnPropertyDescriptor(r,"maxValidLatitude");(!l||l.set||l.writable)&&(this._glMap.transform.maxValidLatitude=1/0),this._glMap.transform._helper&&this._glMap.transform._helper._latRange&&(this._glMap.transform._helper._latRange=[-1/0,1/0]),this._transformGL(this._glMap),this._glMap._canvas.canvas?this._glMap._actualCanvas=this._glMap._canvas.canvas:this._glMap._actualCanvas=this._glMap._canvas;var p=this._glMap._actualCanvas;t.DomUtil.addClass(p,"leaflet-image-layer"),t.DomUtil.addClass(p,"leaflet-zoom-animated"),this.options.interactive&&t.DomUtil.addClass(p,"leaflet-interactive"),this.options.className&&t.DomUtil.addClass(p,this.options.className)},_update:function(i){if(this._map&&(this._offset=this._map.containerPointToLayerPoint([0,0]),!this._zooming)){var n=this._container,o=this._glMap,a=this._map.getSize().multiplyBy(this.options.padding),e=this._map.containerPointToLayerPoint([0,0]).subtract(a);t.DomUtil.setPosition(n,this._roundPoint(e)),this._transformGL(o)}},_transformGL:function(t){var n=this._map.getCenter(),o=t._getTransformForUpdate();o.setCenter?(o.setCenter(i.LngLat.convert([n.lng,n.lat])),o.setZoom(this._map.getZoom()-1),t.transform.apply(o)):((o=t.transform).center=i.LngLat.convert([n.lng,n.lat]),o.zoom=this._map.getZoom()-1),t._fireMoveEvents()},_pinchZoom:function(t){this._glMap.jumpTo({zoom:this._map.getZoom()-1,center:this._map.getCenter()})},_animateZoom:function(i){var n=this._map.getZoomScale(i.zoom),o=this._map.getSize().multiplyBy(this.options.padding*n),a=this.getSize()._divideBy(2),e=this._map.project(i.center,i.zoom)._subtract(a)._add(this._map._getMapPanePos().add(o))._round(),s=this._map.project(this._map.getBounds().getNorthWest(),i.zoom)._subtract(e);t.DomUtil.setTransform(this._glMap._actualCanvas,s.subtract(this._offset),n)},_zoomStart:function(t){this._zooming=!0},_zoomEnd:function(){var i=this._map.getZoomScale(this._map.getZoom());t.DomUtil.setTransform(this._glMap._actualCanvas,null,i),this._zooming=!1,this._update()}
3,_transitionEnd:function(i){t.Util.requestAnimFrame(function(){var i=this._map.getZoom(),n=this._map.getCenter(),o=this._map.latLngToContainerPoint(this._map.getBounds().getNorthWest());this._resizeContainer(),t.DomUtil.setTransform(this._glMap._actualCanvas,o,1),this._glMap.once("moveend",t.Util.bind(function(){this._zoomEnd()},this)),this._glMap.jumpTo({center:n,zoom:i-1})},this)},_resize:function(t){this._transitionEnd(t)}}),t.maplibreGL=function(i){return new t.MaplibreGL(i)}},o=[n(18039),n(18402)],void 0===(a=e.apply(i,o))||(t.exports=a)},43402:(t,i,n)=>{"use strict";n.r(i),n.d(i,{default:()=>r});var o=n(18039),a=n.n(o);n(18402);var e=n(32259),s=n(21630);n(8039);let r=t=>{let{attribution:i,onError:n,styleUrl:o}=t,r=(0,s.ko)();return(0,e.useEffect)(()=>{let t=null;try{(t=a().maplibreGL({attributionControl:{customAttribution:i},interactive:!1,style:o})).addTo(r)}catch(i){try{t&&r.hasLayer(t)&&r.removeLayer(t)}catch(t){}null==n||n();return}return()=>{try{t&&r.hasLayer(t)&&r.removeLayer(t)}catch(t){}}},[i,r,n,o]),null}}}]); 4//# debugId=5ff1f452-2375-52fd-9786-23c9bcef2f7d
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.