1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[252],{5044:function(t,e,n){n.d(e,{k:function(){return C}});var o=n(7294),i=n(5920),r=n(6768),a=n(6817),s=n(4258),l=Object.defineProperty,h=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,m=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,d=(t,e,n)=>e in t?l(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,f=(t,e)=>{for(var n in e||(e={}))m.call(e,n)&&d(t,n,e[n]);if(u)for(var n of u(e))p.call(e,n)&&d(t,n,e[n]);return t},g=(t,e)=>h(t,c(e));let v={xs:(0,r.h)(16),sm:(0,r.h)(20),md:(0,r.h)(26),lg:(0,r.h)(32),xl:(0,r.h)(40)},_=["filled","light","gradient","outline","default"];var w=(0,a.k)((t,{color:e,radius:n,gradient:o},{variant:i,size:a})=>{let l=(0,s.a)({size:a,sizes:v});return{root:f(g(f({},t.fn.fontStyles()),{display:"inline-flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",width:l,height:l,minWidth:l,minHeight:l,borderRadius:t.fn.radius(n)}),function({theme:t,variant:e,color:n,gradient:o}){if(!_.includes(e))return null;let i=t.fn.variant({variant:e,color:n||t.primaryColor,gradient:o,primaryFallback:!1});return{backgroundColor:i.background,color:i.color,backgroundImage:"gradient"===e?i.background:void 0,border:`${(0,r.h)("gradient"===e?0:1)} solid ${i.border}`}}({theme:t,variant:i,gradient:o,color:e}))}}),M=n(9845),b=Object.defineProperty,x=Object.getOwnPropertySymbols,S=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable,z=(t,e,n)=>e in t?b(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,y=(t,e)=>{for(var n in e||(e={}))S.call(e,n)&&z(t,n,e[n]);if(x)for(var n of x(e))T.call(e,n)&&z(t,n,e[n]);return t},E=(t,e)=>{var n={};for(var o in t)S.call(t,o)&&0>e.indexOf(o)&&(n[o]=t[o]);if(null!=t&&x)for(var o of x(t))0>e.indexOf(o)&&T.call(t,o)&&(n[o]=t[o]);return n};let P={size:"md",variant:"filled"},C=(0,o.forwardRef)((t,e)=>{let n=(0,i.N4)("ThemeIcon",P,t),{className:r,size:a,radius:s,variant:l,color:h,children:c,gradient:u,unstyled:m}=n,p=E(n,["className","size","radius","variant","color","children","gradient","unstyled"]),{classes:d,cx:f}=w({variant:l,radius:s,color:h,gradient:u},{name:"ThemeIcon",unstyled:m,variant:l,size:a});return o.createElement(M.x,y({className:f(d.root,r),ref:e},p),c)});C.displayName="@mantine/core/ThemeIcon"},9236:function(t,e,n){n.d(e,{D:function(){return y}});var o=n(7294),i=n(5920),r=n(6768),a=n(6817),s=Object.defineProperty,l=Object.defineProperties,h=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,p=(t,e,n)=>e in t?s(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,d=(t,e)=>{for(var n in e||(e={}))u.call(e,n)&&p(t,n,e[n]);if(c)for(var n of c(e))m.call(e,n)&&p(t,n,e[n]);return t},f=(t,e)=>l(t,h(e)),g=(0,a.k)((t,{element:e,weight:n,inline:o},{size:i})=>({root:f(d({},t.fn.fontStyles()),{fontFamily:t.headings.fontFamily,fontWeight:n||t.headings.sizes[e].fontWeight||t.headings.fontWeight,fontSize:void 0!==i?i in t.headings.sizes?t.headings.sizes[i].fontSize:(0,r.h)(i):t.headings.sizes[e].fontSize,lineHeight:o?1:void 0!==i&&i in t.headings.sizes?t.headings.sizes[i].lineHeight:t.headings.sizes[e].lineHeight,margin:0})})),v=n(5117),_=Object.defineProperty,w=Object.getOwnPropertySymbols,M=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable,x=(t,e,n)=>e in t?_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,S=(t,e)=>{for(var n in e||(e={}))M.call(e,n)&&x(t,n,e[n]);if(w)for(var n of w(e))b.call(e,n)&&x(t,n,e[n]);return t},T=(t,e)=>{var n={};for(var o in t)M.call(t,o)&&0>e.indexOf(o)&&(n[o]=t[o]);if(null!=t&&w)for(var o of w(t))0>e.indexOf(o)&&b.call(t,o)&&(n[o]=t[o]);return n};let z={order:1},y=(0,o.forwardRef)((t,e)=>{let n=(0,i.N4)("Title",z,t),{className:r,order:a,children:s,unstyled:l,size:h,weight:c,inline:u,variant:m}=n,p=T(n,["className","order","children","unstyled","size","weight","inline","variant"]),{classes:d,cx:f}=g({element:`h${a}`,weight:c,inline:u},{name:"Title",unstyled:l,variant:m,size:h});return[1,2,3,4,5,6].includes(a)?o.createElement(v.x,S({variant:m,component:`h${a}`,ref:e,className:f(d.root,r)},p),s):null});y.displayName="@mantine/core/Title"},6805:function(t,e,n){n.d(e,{D5:function(){return T},aV:function(){return z}});var o,i=n(7294);function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}
1function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function h(t,e){for(;t;){if(t.classList&&t.classList.contains(e))return!0;t=t.parentElement}return!1}function c(t){var e=t.getBoundingClientRect();return{x:e.left,y:e.top}}function u(t,e,n){return"https://"+String.fromCharCode(97+(t+e+n)%3)+".tile.openstreetmap.org/"+n+"/"+t+"/"+e+".png"}var m=function(){return!0},p=function(t,e){return(t+180)/360*Math.pow(2,e)},d=function(t,e){return(1-Math.log(Math.tan(t*Math.PI/180)+1/Math.cos(t*Math.PI/180))/Math.PI)/2*Math.pow(2,e)};function f(t,e){return t/Math.pow(2,e)*360-180}function g(t,e){var n=Math.PI-2*Math.PI*t/Math.pow(2,e);return 180/Math.PI*Math.atan(.5*(Math.exp(n)-Math.exp(-n)))}function v(t,e){var n=c(t);return[e.clientX-n.x,e.clientY-n.y]}var _=[g(1024,10),g(0,10),f(0,10),f(1024,10)],w="undefined"!=typeof window,M=w&&window.performance&&window.performance.now?function(){return window.performance.now()}:(o=new Date().getTime(),function(){return new Date().getTime()-o}),b=function(t){return w?(window.requestAnimationFrame||window.setTimeout)(t):(t(new Date().getTime()),null)},x=function(t){return!!w&&!!t&&(window.cancelAnimationFrame||window.clearTimeout)(t)};function S(t,e,n,o,i){return t&&0!==t.length?t.map(function(t){return e(n,o,i,t)+(1===t?"":" "+t+"x")}).join(", "):""}var T=function(t){function e(e){var n,o,i,r,s,c,u,w,S,T,z;return a(l(S=t.call(this,e)||this),"_containerRef",void 0),a(l(S),"_mousePosition",void 0),a(l(S),"_loadTracker",void 0),a(l(S),"_dragStart",null),a(l(S),"_mouseDown",!1),a(l(S),"_moveEvents",[]),a(l(S),"_lastClick",null),a(l(S),"_lastTap",null),a(l(S),"_lastWheel",null),a(l(S),"_touchStartPixel",null),a(l(S),"_touchStartMidPoint",null),a(l(S),"_touchStartDistance",null),a(l(S),"_secondTouchEnd",null),a(l(S),"_warningClearTimeout",null),a(l(S),"_isAnimating",!1),a(l(S),"_animationStart",null),a(l(S),"_animationEnd",null),a(l(S),"_zoomStart",null),a(l(S),"_centerTarget",null),a(l(S),"_zoomTarget",null),a(l(S),"_zoomAround",null),a(l(S),"_animFrame",null),a(l(S),"_boundsSynced",!1),a(l(S),"_minMaxCache",null),a(l(S),"_lastZoom",void 0),a(l(S),"_lastCenter",void 0),a(l(S),"_centerStart",void 0),a(l(S),"_resizeObserver",null),a(l(S),"updateWidthHeight",function(){if(S._containerRef){var t=S._containerRef.getBoundingClientRect();if(t&&t.width>0&&t.height>0)return S.setState({width:t.width,height:t.height}),!0}return!1}),a(l(S),"wa",function(){var t;return(t=window).addEventListener.apply(t,arguments)}),a(l(S),"wr",function(){var t;return(t=window).removeEventListener.apply(t,arguments)}),a(l(S),"bindMouseEvents",function(){S.wa("mousedown",S.handleMouseDown),S.wa("mouseup",S.handleMouseUp),S.wa("mousemove",S.handleMouseMove)}),a(l(S),"bindTouchEvents",function(){S.wa("touchstart",S.handleTouchStart,{passive:!1}),S.wa("touchmove",S.handleTouchMove,{passive:!1}),S.wa("touchend",S.handleTouchEnd,{passive:!1})}),a(l(S),"unbindMouseEvents",function(){S.wr("mousedown",S.handleMouseDown),S.wr("mouseup",S.handleMouseUp),S.wr("mousemove",S.handleMouseMove)}),a(l(S),"unbindTouchEvents",function(){S.wr("touchstart",S.handleTouchStart),S.wr("touchmove",S.handleTouchMove),S.wr("touchend",S.handleTouchEnd)}),a(l(S),"bindResizeEvent",function(){S.wa("resize",S.updateWidthHeight)}),a(l(S),"unbindResizeEvent",function(){S.wr("resize",S.updateWidthHeight)}),a(l(S),"bindWheelEvent",function(){S._containerRef&&S._containerRef.addEventListener("wheel",S.handleWheel,{passive:!1})}),a(l(S),"unbindWheelEvent",function(){S._containerRef&&S._containerRef.removeEventListener("wheel",S.handleWheel)}),a(l(S),"setCenterZoomTarget",function(t,e,n,o,i){if(void 0===n&&(n=!1),void 0===o&&(o=null),void 0===i&&(i=300),S.props.animate&&(!n||S.distanceInScreens(t,e,S.state.center,S.state.zoom)<=S.props.animateMaxScreens)){if(S._isAnimating){x(S._animFrame);var r=S.animationStep(M()),a=r.centerStep,s=r.zoomStep;S._centerStart=a,S._zoomStart=s}else S._isAnimating=!0,S._centerStart=S.limitCenterAtZoom([S._lastCenter[0],S._lastCenter[1]],S._lastZoom),S._zoomStart=S._lastZoom,S.onAnimationStart();S._animationStart=M(),S._animationEnd=S._animationStart+i,o?(S._zoomAround=o,S._centerTarget=S.calculateZoomCenter(S._lastCenter,o,S._lastZoom,e)):(S._zoomAround=null,S._centerTarget=t),S._zoomTarget=e,S._animFrame=b(S.animate)}else if(S.stopAnimating(),o){var l=S.calculateZoomCenter(S._lastCenter,o,S._lastZoom,e);S.setCenterZoom(l,e,n)}else S.setCenterZoom(t||S.state.center,e,n)}),a(l(S),"setCenterZoomForChildren",function(t,e){S.setCenterZoomTarget(t||S.state.center,e||S.state.zoom,!0)}),a(l(S),"distanceInScreens",function(t,e,n,o){var i=S.state,r=i.width,a=i.height,s=S.latLngToPixel(n,n,o),l=S.latLngToPixel(t,n,o),h=S.latLngToPixel(n,n,e),c=S.latLngToPixel(t,n,e),u=(Math.abs(s[0]-l[0])+Math.abs(h[0]-c[0]))/2/r,m=(Math.abs(s[1]-l[1])+Math.abs(h[1]-c[1]))/2/a;return Math.sqrt(u*u+m*m)}),a(l(S),"animationStep",function(t){if(!S._animationEnd||!S._animationStart||!S._zoomTarget||!S._zoomStart||!S._centerStart||!S._centerTarget)return{centerStep:S.state.center,zoomStep:S.state.zoom};var e,n=S._animationEnd-S._animationStart,o=(e=Math.max(t-S._animationStart,0)/n)*(2-e),i=(S._zoomTarget-S._zoomStart)*o,r
1=S._zoomStart+i;return S._zoomAround?{centerStep:S.calculateZoomCenter(S._centerStart,S._zoomAround,S._zoomStart,r),zoomStep:r}:{centerStep:[S._centerStart[0]+(S._centerTarget[0]-S._centerStart[0])*o,S._centerStart[1]+(S._centerTarget[1]-S._centerStart[1])*o],zoomStep:r}}),a(l(S),"animate",function(t){if(!S._animationEnd||t>=S._animationEnd)S._isAnimating=!1,S.setCenterZoom(S._centerTarget,S._zoomTarget,!0),S.onAnimationStop();else{var e=S.animationStep(t),n=e.centerStep,o=e.zoomStep;S.setCenterZoom(n,o),S._animFrame=b(S.animate)}}),a(l(S),"stopAnimating",function(){S._isAnimating&&(S._isAnimating=!1,S.onAnimationStop(),x(S._animFrame))}),a(l(S),"limitCenterAtZoom",function(t,e){var n=S.getBoundsMinMax(e||S.state.zoom);return[Math.max(Math.min(!t||isNaN(t[0])?S.state.center[0]:t[0],n[1]),n[0]),Math.max(Math.min(!t||isNaN(t[1])?S.state.center[1]:t[1],n[3]),n[2])]}),a(l(S),"onAnimationStart",function(){S.props.onAnimationStart&&S.props.onAnimationStart()}),a(l(S),"onAnimationStop",function(){S.props.onAnimationStop&&S.props.onAnimationStop()}),a(l(S),"setCenterZoom",function(t,e,n){void 0===n&&(n=!1);var o=S.limitCenterAtZoom(t,e);if(e&&Math.round(S.state.zoom)!==Math.round(e)){var i=S.tileValues(S.state),r=S.tileValues({center:o,zoom:e,width:S.state.width,height:S.state.height}),a=S.state.oldTiles;S.setState({oldTiles:a.filter(function(t){return t.roundedZoom!==i.roundedZoom}).concat(i)},m);for(var s={},l=r.tileMinX;l<=r.tileMaxX;l++)for(var h=r.tileMinY;h<=r.tileMaxY;h++)s[l+"-"+h+"-"+r.roundedZoom]=!1;S._loadTracker=s}S.setState({center:o,zoom:e||S.state.zoom},m);var c=S.props.zoom?S.props.zoom:S._lastZoom,u=S.props.center?S.props.center:S._lastCenter;e&&(n||Math.abs(c-e)>.001||Math.abs(u[0]-o[0])>1e-5||Math.abs(u[1]-o[1])>
11e-5)&&(S._lastZoom=e,S._lastCenter=[].concat(o),S.syncToProps(o,e))}),a(l(S),"getBoundsMinMax",function(t){if("center"===S.props.limitBounds)return _;var e=S.state,n=e.width,o=e.height;if(S._minMaxCache&&S._minMaxCache[0]===t&&S._minMaxCache[1]===n&&S._minMaxCache[2]===o)return S._minMaxCache[3];var i=256*Math.pow(2,t),r=n>i?0:f(n/512,t),a=o>i?0:g(Math.pow(2,t)-o/512,t),s=n>i?0:f(Math.pow(2,t)-n/512,t),l=[a,o>i?0:g(o/512,t),r,s];return S._minMaxCache=[t,n,o,l],l}),a(l(S),"tileLoaded",function(t){S._loadTracker&&t in S._loadTracker&&(S._loadTracker[t]=!0,0===Object.values(S._loadTracker).filter(function(t){return!t}).length&&S.setState({oldTiles:[]},m))}),a(l(S),"handleTouchStart",function(t){if(!(!S._containerRef||t.target&&h(t.target,"pigeon-drag-block"))){if(1===t.touches.length){var e=t.touches[0],n=v(S._containerRef,e);if(S.coordsInside(n)&&(S._touchStartPixel=[n],!S.props.twoFingerDrag)){if(S.stopAnimating(),S._lastTap&&M()-S._lastTap<300){t.preventDefault();var o=S.pixelToLatLng(S._touchStartPixel[0]);S.setCenterZoomTarget(null,Math.max(S.props.minZoom,Math.min(S.state.zoom+1,S.props.maxZoom)),!1,o)}else S._lastTap=M(),S.trackMoveEvents(n)}}else if(2===t.touches.length&&S._touchStartPixel){t.preventDefault(),S.stopTrackingMoveEvents(),(S.state.pixelDelta||S.state.zoomDelta)&&S.sendDeltaChange();var i=v(S._containerRef,t.touches[0]),r=v(S._containerRef,t.touches[1]);S._touchStartPixel=[i,r],S._touchStartMidPoint=[(i[0]+r[0])/2,(i[1]+r[1])/2],S._touchStartDistance=Math.sqrt(Math.pow(i[0]-r[0],2)+Math.pow(i[1]-r[1],2))}}}),a(l(S),"handleTouchMove",function(t){if(!S._containerRef){S._touchStartPixel=null;return}if(1===t.touches.length&&S._touchStartPixel){var e=t.touches[0],n=v(S._containerRef,e);S.props.twoFingerDrag?S.coordsInside(n)&&S.showWarning("fingers"):(t.preventDefault(),S.trackMoveEvents(n),S.setState({pixelDelta:[n[0]-S._touchStartPixel[0][0],n[1]-S._touchStartPixel[0][1]]},m))}else if(2===t.touches.length&&S._touchStartPixel&&S._touchStartMidPoint&&S._touchStartDistance){var o=S.state,i=o.width,r=o.height,a=o.zoom;t.preventDefault();var s=v(S._containerRef,t.touches[0]),l=v(S._containerRef,t.touches[1]),h=[(s[0]+l[0])/2,(s[1]+l[1])/2],c=[h[0]-S._touchStartMidPoint[0],h[1]-S._touchStartMidPoint[1]],u=Math.sqrt(Math.pow(s[0]-l[0],2)+Math.pow(s[1]-l[1],2)),p=Math.max(S.props.minZoom,Math.min(S.props.maxZoom,a+Math.log2(u/S._touchStartDistance)))-a,d=Math.pow(2,p),f=[(i/2-h[0])*(d-1),(r/2-h[1])*(d-1)];S.setState({zoomDelta:p,pixelDelta:[f[0]+c[0]*d,f[1]+c[1]*d]},m)}}),a(l(S),"handleTouchEnd",function(t){if(!S._containerRef){S._touchStartPixel=null;return}if(S._touchStartPixel){var e=S.props,n=e.zoomSnap,o=e.twoFingerDrag,i=e.minZoom,r=e.maxZoom,a=S.state.zoomDelta,s=S.sendDeltaChange(),l=s.center,h=s.zoom;if(0===t.touches.length){if(o)S.clearWarning();else{var c=S._touchStartPixel[0],u=v(S._containerRef,t.changedTouches[0]);(Math.abs(c[0]-u[0])>2||Math.abs(c[1]-u[1])>2)&&(!S._secondTouchEnd||M()-S._secondTouchEnd>300)&&(t.preventDefault(),S.throwAfterMoving(u,l,h)),S._touchStartPixel=null,S._secondTouchEnd=null}}else if(1===t.touches.length){t.preventDefault();var m=v(S._containerRef,t.touches[0]);if(S._secondTouchEnd=M(),S._touchStartPixel=[m],S.trackMoveEvents(m),n){var p=S._touchStartMidPoint?S.pixelToLatLng(S._touchStartMidPoint):S.state.center,d=Math.max(i,Math.min(o&&Math.round(S.state.zoom)===Math.round(S.state.zoom+a)?Math.round(S.state.zoom):a>0?Math.ceil(S.state.zoom):Math.floor(S.state.zoom),r));S.setCenterZoomTarget(p,d,!1,p)}}}}),a(l(S),"handleMouseDown",function(t){if(S._containerRef){var e=v(S._containerRef,t);if(0===t.button&&(!t.target||!h(t.target,"pigeon-drag-block"))&&S.coordsInside(e)){if(S.stopAnimating(),t.preventDefault(),S._lastClick&&M()-S._lastClick<300){if(!h(t.target,"pigeon-click-block")){var n=S.pixelToLatLng(S._mousePosition||e);S.setCenterZoomTarget(null,Math.max(S.props.minZoom,Math.min(S.state.zoom+1,S.props.maxZoom)),!1,n)}}else S._lastClick=M(),S._mouseDown=!0,S._dragStart=e,S.trackMoveEvents(e)}}}),a(l(S),"handleMouseMove",function(t){S._containerRef&&(S._mousePosition=v(S._containerRef,t),S._mouseDown&&S._dragStart&&(S.trackMoveEvents(S._mousePosition),S.setState({pixelDelta:[S._mousePosition[0]-S._dragStart[0],S._mousePosition[1]-S._dragStart[1]]},m)))}),a(l(S),"handleMouseUp",function(t){if(!S._containerRef){S._mouseDown=!1;return}var e=S.state.pixelDelta;if(S._mouseDown){S._mouseDown=!1;var n=v(S._containerRef,t);if(S.props.onClick&&(!t.target||!h(t.target,"pigeon-click-block"))&&(!e||Math.abs(e[0])+Math.abs(e[1])<=2)){var o=S.pixelToLatLng(n);S.props.onClick({event:t,latLng:o,pixel:n}),S.setState({pixelDelta:void 0},m)}else{var i=S.sendDeltaChange(),r=i.center,a=i.zoom;S.throwAfterMoving(n,r,a)}}}),a(l(S),"stopTrackingMoveEvents",function(){S._moveEvents=[]}),a(l(S),"trackMoveEvents",function(t){var e=M();(0===S._moveEvents.length||e-S._moveEvents[S._moveEvents.length-1].timestamp>
140)&&(S._moveEvents.push({timestamp:e,coords:t}),S._moveEvents.length>2&&S._moveEvents.shift())}),a(l(S),"throwAfterMoving",function(t,e,n){var o=S.state,i=o.width,r=o.height,a=S.props.animate,s=M(),l=S._moveEvents.shift();if(l&&a){var h=Math.max(s-l.timestamp,1),c=[(t[0]-l.coords[0])/h*120,(t[1]-l.coords[1])/h*120],u=Math.sqrt(c[0]*c[0]+c[1]*c[1]);if(u>40){var m=f(p(e[1],n)-c[0]/256,n),v=g(d(e[0],n)-c[1]/256,n);S.setCenterZoomTarget([v,m],n,!1,null,1500*u/Math.sqrt(i*i+r*r))}}S.stopTrackingMoveEvents()}),a(l(S),"sendDeltaChange",function(){var t=S.state,e=t.center,n=t.zoom,o=t.pixelDelta,i=t.zoomDelta,r=e[0],a=e[1];return(o||0!==i)&&(a=f(p(e[1],n+i)-(o?o[0]/256:0),n+i),r=g(d(e[0],n+i)-(o?o[1]/256:0),n+i),S.setCenterZoom([r,a],n+i)),S.setState({pixelDelta:void 0,zoomDelta:0},m),{center:S.limitCenterAtZoom([r,a],n+i),zoom:n+i}}),a(l(S),"getBounds",function(t,e){void 0===t&&(t=S.state.center),void 0===e&&(e=S.zoomPlusDelta());var n=S.state,o=n.width,i=n.height;return{ne:S.pixelToLatLng([o-1,0],t,e),sw:S.pixelToLatLng([0,i-1],t,e)}}),a(l(S),"syncToProps",function(t,e){void 0===t&&(t=S.state.center),void 0===e&&(e=S.state.zoom);var n=S.props.onBoundsChanged;if(n){var o=S.getBounds(t,e);n({center:t,zoom:e,bounds:o,initial:!S._boundsSynced}),S._boundsSynced=!0}}),a(l(S),"handleWheel",function(t){var e=S.props,n=e.mouseEvents,o=e.metaWheelZoom,i=e.zoomSnap,r=e.animate;if(n){if(!o||t.metaKey||t.ctrlKey){t.preventDefault();var a=-t.deltaY/150;if(!i&&S._zoomTarget){var s=S._zoomTarget-S.state.zoom;S.zoomAroundMouse(a+s,t)}else r?S.zoomAroundMouse(a,t):(!S._lastWheel||M()-S._lastWheel>300)&&(S._lastWheel=M(),S.zoomAroundMouse(a,t))}else S.showWarning("wheel")}}),a(l(S),"showWarning",function(t){S.state.showWarning&&S.state.warningType===t||S.setState({showWarning:!0,warningType:t}),S._warningClearTimeout&&window.clearTimeout(S._warningClearTimeout),S._warningClearTimeout=window.setTimeout(S.clearWarning,300)}),a(l(S),"clearWarning",function(){S.state.showWarning&&S.setState({showWarning:!1})}),a(l(S),"zoomAroundMouse",function(t,e){if(S._containerRef){var n=S.state.zoom,o=S.props,i=o.minZoom,r=o.maxZoom,a=o.zoomSnap;if(S._mousePosition=v(S._containerRef,e),S._mousePosition&&(n!==i||!(t<0))&&(n!==r||!(t>0))){var s=S.pixelToLatLng(S._mousePosition),l=n+t;a&&(l=t<0?Math.floor(l):Math.ceil(l)),l=Math.max(i,Math.min(l,r)),S.setCenterZoomTarget(null,l,!1,s)}}}),a(l(S),"zoomPlusDelta",function(){return S.state.zoom+S.state.zoomDelta}),a(l(S),"pixelToLatLng",function(t,e,n){void 0===e&&(e=S.state.center),void 0===n&&(n=S.zoomPlusDelta());var o=S.state,i=o.width,r=o.height,a=o.pixelDelta,s=[(t[0]-i/2-(a?a[0]:0))/256,(t[1]-r/2-(a?a[1]:0))/256],l=p(e[1],n)+s[0],h=d(e[0],n)+s[1];return[Math.max(_[0],Math.min(_[1],g(h,n))),Math.max(_[2],Math.min(_[3],f(l,n)))]}),a(l(S),"latLngToPixel",function(t,e,n){void 0===e&&(e=S.state.center),void 0===n&&(n=S.zoomPlusDelta());var o=S.state,i=o.width,r=o.height,a=o.pixelDelta,s=p(e[1],n),l=d(e[0],n),h=p(t[1],n),c=d(t[0],n);return[(h-s)*256+i/2+(a?a[0]:0),(c-l)*256+r/2+(a?a[1]:0)]}),a(l(S),"calculateZoomCenter",function(t,e,n,o){var i=S.state,r=i.width,a=i.height,s=S.latLngToPixel(e,t,n),l=S.latLngToPixel(e,t,o),h=S.pixelToLatLng([r/2+l[0]-s[0],a/2+l[1]-s[1]],t,o);return S.limitCenterAtZoom(h,o)}),a(l(S),"setRef",function(t){S._containerRef=t}),S.syncToProps=(T=S.syncToProps,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=this;clearTimeout(z),z=setTimeout(function(){return T.apply(o,e)},60)}),S._lastZoom=null!==(n=null!==(o=e.defaultZoom)&&void 0!==o?o:e.zoom)&&void 0!==n?n:14,S._lastCenter=null!==(i=null!==(r=e.defaultCenter)&&void 0!==r?r:e.center)&&void 0!==i?i:[0,0],S.state={zoom:S._lastZoom,center:S._lastCenter,width:null!==(s=null!==(c=e.width)&&void 0!==c?c:e.defaultWidth)&&void 0!==s?s:-1,height:null!==(u=null!==(w=e.height)&&void 0!==w?w:e.defaultHeight)&&void 0!==u?u:-1,zoomDelta:0,pixelDelta:void 0,oldTiles:[],showWarning:!1,warningType:void 0},S}(n=e).prototype=Object.create(t.prototype),n.prototype.constructor=n,s(n,t);var n,o=e.prototype;return o.componentDidMount=function(){var t=this;this.props.mouseEvents&&this.bindMouseEvents(),this.props.touchEvents&&this.bindTouchEvents(),this.props.width&&this.props.height||(this.updateWidthHeight()||b(this.updateWidthHeight),this.bindResizeEvent()),this.bindWheelEvent(),this.syncToProps(),void 0!==window.ResizeObserver&&(this._resizeObserver=new window.ResizeObserver(function(){t.updateWidthHeight()}),this._resizeObserver.observe(this._containerRef))},o.componentWillUnmount=function(){this.props.mouseEvents&&this.unbindMouseEvents(),this.props.touchEvents&&this.unbindTouchEvents(),this.unbindWheelEvent(),this.props.width&&this.props.height||this.unbindResizeEvent(),this._resizeObserver&&this._resizeObserver.disconnect()},o.componentDidUpdate=function(t){if(this.props.mouseEvents!==t.mouseEvents&&(this.props.mouseEvents?this.bindMouseEvents():this.unbindMouseEvents()),this.props.touchEvents!==t.touchEvents&&(this.props.touchEvents?this.bindTouchEvents():this.unbindTouchEvents()),this.props.width&&this.props.width!==t.width&&this.setState({width:this.props.width}),this.props.height&&this.props.height!==t.height&&this.setState({height:this.props.height}),(this.props.center||this.props.zoom)&&(this.props.center&&(this.props.center[0]!==(null==t?void 0:null===(o=t.center)||void 0===o?void 0:o[0])||this.props.center[1]!==t.center[1])||this.props.zoom!==t.zoom)){var e=this._isAnimating?this._centerTarget:this.state.center,n=this._isAnimating?this._zoomTarget:this.state.zoom;if(e&&n){var o,i,r,a=null!==(i=this.props.center)&&void 0!==i?i:e,s=null!==(r=this.props.zoom)&&void 0!==r?r:n;(Math.abs(s-n)>.001||Math.abs(a[0]-e[0])>1e-4||Math.abs(a[1]-e[1])>1e-4)&&this.setCenterZoomTarget(a,s,!0)}}},o.coordsInside=function(t){var e=this.state,n=e.width,o=e.height;if(t[0]<0||t[1]<0||t[0]>=n||t[1]>=o)return!1;var i=this._containerRef;if(!i)return!1;var r=c(i),a=document.elementFromPoint(t[0]+r.x,t[1]+r.y);return i===a||i.contains(a)},o.tileValues=function(t){var e=t.center,n=t.zoom,o=t.pixelDelta,i=t.zoomDelta,r=t.width,a=t.height,s=Math.round(n+(i||0)),l=Math.pow(2,n+(i||0)-s),h=r/l,c=a/l,u=p(e[1],s)-(o?o[0]/256/l:0),m=d(e[0],s)-(o?o[1]/256/l:0),f=h/2/256,g=c/2/256;return{tileMinX:Math.floor(u-f),tileMaxX:Math.floor(u+f),tileMinY:Math.floor(m-g),tileMaxY:Math.floor(m+g),tileCenterX:u,tileCenterY:m,roundedZoom:s,zoomDelta:i||0,scaleWidth:h,scaleHeight:c,scale:l}},o.renderTiles=function(){for(var t=this,e=this.state,n=e.oldTiles,o=e.width,r=e.height,a=this.props.dprs,s=this.props.provider||u,l=this.tileValues(this.state),h=l.tileMinX,c=l.tileMaxX,m=l.tileMinY,p=l.tileMaxY,d=l.tileCenterX,f=l.tileCenterY,g=l.roundedZoom,v=l.scaleWidth,_=l.scaleHeight,w=l.scale,M=[],b=0;b<n.length;
1b++){var x=n[b],T=x.roundedZoom-g;if(!(Math.abs(T)>4)&&0!==T)for(var z=1/Math.pow(2,T),y=-(256*(h-x.tileMinX*z)),E=-(256*(m-x.tileMinY*z)),P=Math.max(x.tileMinX,0),C=Math.max(x.tileMinY,0),D=Math.min(x.tileMaxX,Math.pow(2,x.roundedZoom)-1),O=Math.min(x.tileMaxY,Math.pow(2,x.roundedZoom)-1),Z=P;Z<=D;Z++)for(var k=C;k<=O;k++)M.push({key:Z+"-"+k+"-"+x.roundedZoom,url:s(Z,k,x.roundedZoom),srcSet:S(a,s,Z,k,x.roundedZoom),left:y+(Z-x.tileMinX)*256*z,top:E+(k-x.tileMinY)*256*z,width:256*z,height:256*z,active:!1})}for(var A=Math.max(h,0),W=Math.max(m,0),L=Math.min(c,Math.pow(2,g)-1),R=Math.min(p,Math.pow(2,g)-1),j=A;j<=L;j++)for(var I=W;I<=R;I++)M.push({key:j+"-"+I+"-"+g,url:s(j,I,g),srcSet:S(a,s,j,I,g),left:(j-h)*256,top:(I-m)*256,width:256,height:256,active:!0});var F=this.props.boxClassname||"pigeon-tiles-box",N=this.props.tileComponent;return i.createElement("div",{style:{width:v,height:_,position:"absolute",top:"calc((100% - "+r+"px) / 2)",left:"calc((100% - "+o+"px) / 2)",overflow:"hidden",willChange:"transform",transform:"scale("+w+", "+w+")",transformOrigin:"top left"},className:F},i.createElement("div",{className:"pigeon-tiles",style:{position:"absolute",width:(c-h+1)*256,height:(p-m+1)*256,willChange:"transform",transform:"translate("+-((d-h)*256-v/2)+"px, "+-((f-m)*256-_/2)+"px)"}},M.map(function(e){return i.createElement(N,{key:e.key,tile:e,tileLoaded:function(){return t.tileLoaded(e.key)}})})))},o.renderOverlays=function(){var t=this,e=this.state,n=e.width,o=e.height,r=e.center,a={bounds:this.getBounds(),zoom:this.zoomPlusDelta(),center:r,width:n,height:o},s=i.Children.map(this.props.children,function(e){if(!e)return null;if(!i.isValidElement(e))return e;var n=e.props,o=n.anchor,s=n.position,l=n.offset,h=t.latLngToPixel(o||s||r);return i.cloneElement(e,{left:h[0]-(l?l[0]:0),top:h[1]-(l?l[1]:0),latLngToPixel:t.latLngToPixel,pixelToLatLng:t.pixelToLatLng,setCenterZoom:t.setCenterZoomForChildren,mapProps:t.props,mapState:a})});return i.createElement("div",{className:"pigeon-overlays",style:{position:"absolute",width:n,height:o,top:"calc((100% - "+o+"px) / 2)",left:"calc((100% - "+n+"px) / 2)"}},s)},o.renderAttribution=function(){var t=this.props,e=t.attribution,n=t.attributionPrefix;if(!1===e)return null;var o={color:"#0078A8",textDecoration:"none"};return i.createElement("div",{key:"attr",className:"pigeon-attribution",style:{position:"absolute",bottom:0,right:0,fontSize:"11px",padding:"2px 5px",background:"rgba(255, 255, 255, 0.7)",fontFamily:"'Helvetica Neue', Helvetica, Arial, sans-serif",color:"#333"}},!1===n?null:i.createElement("span",null,n||i.createElement("a",{href:"https://pigeon-maps.js.org/",style:o,target:"_blank",rel:"noreferrer noopener"},"Pigeon")," | "),e||i.createElement("span",null," \xa9 ",i.createElement("a",{href:"https://www.openstreetmap.org/copyright",style:o,target:"_blank",rel:"noreferrer noopener"},"OpenStreetMap")," contributors"))},o.renderWarning=function(){var t=this.props,e=t.metaWheelZoom,n=t.metaWheelZoomWarning,o=t.twoFingerDrag,r=t.twoFingerDragWarning,a=t.warningZIndex,s=this.state,l=s.showWarning,h=s.warningType,c=s.width,u=s.height;if((!e||!n)&&(!o||!r))return null;var m="undefined"!=typeof window&&window.navigator&&window.navigator.platform.toUpperCase().indexOf("MAC")>=0?"â":"ctrl";return i.createElement("div",{className:"pigeon-overlay-warning",style:{position:"absolute",top:0,left:0,width:c,height:u,overflow:"hidden",pointerEvents:"none",opacity:l?100:0,transition:"opacity 300ms",background:"rgba(0,0,0,0.5)",color:"#fff",display:"flex",justifyContent:"center",alignItems:"center",fontSize:22,fontFamily:'"Arial", sans-serif',textAlign:"center",zIndex:a}},("fingers"===h?r:n).replace("META",m))},o.render=function(){var t=this.props,e=t.touchEvents,n=t.twoFingerDrag,o=this.state,r=o.width,a=o.height,s={width:this.props.width?r:"100%",height:this.props.height?a:"100%",position:"relative",display:"inline-block",overflow:"hidden",background:"#dddddd",touchAction:e?n?"pan-x pan-y":"none":"auto"},l=!!(r&&a);return i.createElement("div",{style:s,ref:this.setRef,dir:"ltr"},l&&this.renderTiles(),l&&this.renderOverlays(),l&&this.renderAttribution(),l&&this.renderWarning())},e}(i.Component);function z(t){return i.createElement("div",{style:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?r(Object(n),!0).forEach(function(e){a(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({position:"absolute",transform:"translate("+t.left+"px, "+t.top+"px)"},t.style||{}),className:t.className?t.className+" pigeon-click-block":"pigeon-click-block"},t.children)}a(T,"defaultProps",{animate:!0,metaWheelZoom:!1,metaWheelZoomWarning:"Use META + wheel to zoom!",twoFingerDrag:!1,twoFingerDragWarning:"Use two fingers to move the map",zoomSnap:!0,mouseEvents:!0,touchEvents:!0,warningZIndex:100,animateMaxScreens:5,minZoom:1,maxZoom:18,limitBounds:"center",dprs:[],tileComponent:function(t){var e=t.tile,n=t.tileLoaded;return i.createElement("img",{src:e.url,srcSet:e.srcSet,width:e.width,height:e.height,loading:"lazy",onLoad:n,alt:"",style:{position:"absolute",left:e.left,top:e.top,willChange:"transform",transformOrigin:"top left",opacity:1}})}})}}]);
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.