@tracktor/map 0.1.5 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/{MapBox/MapBox.d.ts → MapContainer/MapContainer.d.ts} +1 -0
- package/dist/components/MarkerMap/MarkerMap.d.ts +1 -1
- package/dist/components/MarkerMap/useMarkerMap.d.ts +4 -3
- package/dist/constants/coordinates.d.ts +2 -0
- package/dist/main.d.ts +10 -4
- package/dist/main.js +453 -427
- package/dist/main.umd.cjs +10 -10
- package/dist/types/{MarkerMap.d.ts → MarkerMapProps.d.ts} +1 -1
- package/dist/types/typeguard.d.ts +0 -2
- package/dist/utils/addPopup.d.ts +2 -2
- package/dist/utils/handleMapClick.d.ts +3 -3
- package/dist/utils/isValidLatLng.d.ts +2 -0
- package/dist/utils/isWebGLSupported.d.ts +8 -0
- package/dist/utils/loadMarkers.d.ts +3 -3
- package/dist/utils/mapOptions.d.ts +1 -1
- package/package.json +2 -1
- /package/dist/types/{Markers.d.ts → MarkerProps.d.ts} +0 -0
package/dist/main.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`.mapboxgl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgb(0 0 0/0)}.mapboxgl-canvas{left:0;position:absolute;top:0}.mapboxgl-map:-webkit-full-screen{height:100%;width:100%}.mapboxgl-canary{background-color:salmon}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass{cursor:grab;-webkit-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer{cursor:pointer}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass:active{cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas{touch-action:none}.mapboxgl-ctrl-bottom,.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-left,.mapboxgl-ctrl-right,.mapboxgl-ctrl-top,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right{pointer-events:none;position:absolute;z-index:2}.mapboxgl-ctrl-top-left{left:0;top:0}.mapboxgl-ctrl-top{left:50%;top:0;transform:translate(-50%)}.mapboxgl-ctrl-top-right{right:0;top:0}.mapboxgl-ctrl-right{right:0;top:50%;transform:translateY(-50%)}.mapboxgl-ctrl-bottom-right{bottom:0;right:0}.mapboxgl-ctrl-bottom{bottom:0;left:50%;transform:translate(-50%)}.mapboxgl-ctrl-bottom-left{bottom:0;left:0}.mapboxgl-ctrl-left{left:0;top:50%;transform:translateY(-50%)}.mapboxgl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl{float:left;margin:10px 0 0 10px}.mapboxgl-ctrl-top .mapboxgl-ctrl{float:left;margin:10px 0}.mapboxgl-ctrl-top-right .mapboxgl-ctrl{float:right;margin:10px 10px 0 0}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl,.mapboxgl-ctrl-right .mapboxgl-ctrl{float:right;margin:0 10px 10px 0}.mapboxgl-ctrl-bottom .mapboxgl-ctrl{float:left;margin:10px 0}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl,.mapboxgl-ctrl-left .mapboxgl-ctrl{float:left;margin:0 0 10px 10px}.mapboxgl-ctrl-group{background:#fff;border-radius:4px}.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px #0000001a}@media (-ms-high-contrast:active){.mapboxgl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.mapboxgl-ctrl-group button{background-color:transparent;border:0;box-sizing:border-box;cursor:pointer;display:block;height:29px;outline:none;overflow:hidden;padding:0;width:29px}.mapboxgl-ctrl-group button+button{border-top:1px solid #ddd}.mapboxgl-ctrl button .mapboxgl-ctrl-icon{background-position:50%;background-repeat:no-repeat;display:block;height:100%;width:100%}@media (-ms-high-contrast:active){.mapboxgl-ctrl-icon{background-color:transparent}.mapboxgl-ctrl-group button+button{border-top:1px solid ButtonText}}.mapboxgl-ctrl-attrib-button:focus,.mapboxgl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl button:disabled{cursor:not-allowed}.mapboxgl-ctrl button:disabled .mapboxgl-ctrl-icon{opacity:.25}.mapboxgl-ctrl-group button:first-child{border-radius:4px 4px 0 0}.mapboxgl-ctrl-group button:last-child{border-radius:0 0 4px 4px}.mapboxgl-ctrl-group button:only-child{border-radius:inherit}.mapboxgl-ctrl button:not(:disabled):hover{background-color:#0000000d}.mapboxgl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23999'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 29 29'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath id='south' d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E")}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting .mapboxgl-ctrl-icon{animation:mapboxgl-spin 2s linear infinite}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23999'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2' display='none'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23000'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' display='none'/%3E%3C/svg%3E")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 0 0 5.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 0 0 9 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 0 0 3.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0 0 11 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 1 1 0 7 3.5 3.5 0 1 1 0-7z'/%3E%3Ccircle id='dot' cx='10' cy='10' r='2'/%3E%3Cpath id='stroke' d='M14 5l1 1-9 9-1-1 9-9z' fill='%23f00'/%3E%3C/svg%3E")}}@keyframes mapboxgl-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='0.3' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='0.9' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E");background-repeat:no-repeat;cursor:pointer;display:block;height:23px;margin:0 0 -4px -4px;overflow:hidden;width:88px}a.mapboxgl-ctrl-logo.mapboxgl-compact{width:23px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo{background-color:transparent;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23000' stroke-width='3'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23fff'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E")}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill-rule='evenodd' viewBox='0 0 88 23'%3E%3Cdefs%3E%3Cpath id='logo' d='M11.5 2.25c5.105 0 9.25 4.145 9.25 9.25s-4.145 9.25-9.25 9.25-9.25-4.145-9.25-9.25 4.145-9.25 9.25-9.25zM6.997 15.983c-.051-.338-.828-5.802 2.233-8.873a4.395 4.395 0 013.13-1.28c1.27 0 2.49.51 3.39 1.42.91.9 1.42 2.12 1.42 3.39 0 1.18-.449 2.301-1.28 3.13C12.72 16.93 7 16 7 16l-.003-.017zM15.3 10.5l-2 .8-.8 2-.8-2-2-.8 2-.8.8-2 .8 2 2 .8z'/%3E%3Cpath id='text' d='M50.63 8c.13 0 .23.1.23.23V9c.7-.76 1.7-1.18 2.73-1.18 2.17 0 3.95 1.85 3.95 4.17s-1.77 4.19-3.94 4.19c-1.04 0-2.03-.43-2.74-1.18v3.77c0 .13-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V8.23c0-.12.1-.23.23-.23h1.4zm-3.86.01c.01 0 .01 0 .01-.01.13 0 .22.1.22.22v7.55c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V15c-.7.76-1.69 1.19-2.73 1.19-2.17 0-3.94-1.87-3.94-4.19 0-2.32 1.77-4.19 3.94-4.19 1.03 0 2.02.43 2.73 1.18v-.75c0-.12.1-.23.23-.23h1.4zm26.375-.19a4.24 4.24 0 00-4.16 3.29c-.13.59-.13 1.19 0 1.77a4.233 4.233 0 004.17 3.3c2.35 0 4.26-1.87 4.26-4.19 0-2.32-1.9-4.17-4.27-4.17zM60.63 5c.13 0 .23.1.23.23v3.76c.7-.76 1.7-1.18 2.73-1.18 1.88 0 3.45 1.4 3.84 3.28.13.59.13 1.2 0 1.8-.39 1.88-1.96 3.29-3.84 3.29-1.03 0-2.02-.43-2.73-1.18v.77c0 .12-.1.23-.23.23h-1.4c-.13 0-.23-.1-.23-.23V5.23c0-.12.1-.23.23-.23h1.4zm-34 11h-1.4c-.13 0-.23-.11-.23-.23V8.22c.01-.13.1-.22.23-.22h1.4c.13 0 .22.11.23.22v.68c.5-.68 1.3-1.09 2.16-1.1h.03c1.09 0 2.09.6 2.6 1.55.45-.95 1.4-1.55 2.44-1.56 1.62 0 2.93 1.25 2.9 2.78l.03 5.2c0 .13-.1.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.8 0-1.46.7-1.59 1.62l.01 4.68c0 .13-.11.23-.23.23h-1.41c-.13 0-.23-.11-.23-.23v-4.59c0-.98-.74-1.71-1.62-1.71-.85 0-1.54.79-1.6 1.8v4.5c0 .13-.1.23-.23.23zm53.615 0h-1.61c-.04 0-.08-.01-.12-.03-.09-.06-.13-.19-.06-.28l2.43-3.71-2.39-3.65a.213.213 0 01-.03-.12c0-.12.09-.21.21-.21h1.61c.13 0 .24.06.3.17l1.41 2.37 1.4-2.37a.34.34 0 01.3-.17h1.6c.04 0 .08.01.12.03.09.06.13.19.06.28l-2.37 3.65 2.43 3.7c0 .05.01.09.01.13 0 .12-.09.21-.21.21h-1.61c-.13 0-.24-.06-.3-.17l-1.44-2.42-1.44 2.42a.34.34 0 01-.3.17zm-7.12-1.49c-1.33 0-2.42-1.12-2.42-2.51 0-1.39 1.08-2.52 2.42-2.52 1.33 0 2.42 1.12 2.42 2.51 0 1.39-1.08 2.51-2.42 2.52zm-19.865 0c-1.32 0-2.39-1.11-2.42-2.48v-.07c.02-1.38 1.09-2.49 2.4-2.49 1.32 0 2.41 1.12 2.41 2.51 0 1.39-1.07 2.52-2.39 2.53zm-8.11-2.48c-.01 1.37-1.09 2.47-2.41 2.47s-2.42-1.12-2.42-2.51c0-1.39 1.08-2.52 2.4-2.52 1.33 0 2.39 1.11 2.41 2.48l.02.08zm18.12 2.47c-1.32 0-2.39-1.11-2.41-2.48v-.06c.02-1.38 1.09-2.48 2.41-2.48s2.42 1.12 2.42 2.51c0 1.39-1.09 2.51-2.42 2.51z'/%3E%3C/defs%3E%3Cmask id='clip'%3E%3Crect x='0' y='0' width='100%25' height='100%25' fill='white'/%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/mask%3E%3Cg id='outline' opacity='1' stroke='%23fff' stroke-width='3' fill='%23fff'%3E%3Ccircle mask='url(%23clip)' cx='11.5' cy='11.5' r='9.25'/%3E%3Cuse xlink:href='%23text' mask='url(%23clip)'/%3E%3C/g%3E%3Cg id='fill' opacity='1' fill='%23000'%3E%3Cuse xlink:href='%23logo'/%3E%3Cuse xlink:href='%23text'/%3E%3C/g%3E%3C/svg%3E")}}.mapboxgl-ctrl.mapboxgl-ctrl-attrib{background-color:#ffffff80;margin:0;padding:0 5px}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact{background-color:#fff;border-radius:12px;box-sizing:content-box;margin:10px;min-height:20px;padding:2px 24px 2px 0;position:relative}.mapboxgl-ctrl-attrib.mapboxgl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show{border-radius:12px;padding:2px 8px 2px 28px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib-button{background-color:#ffffff80;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E");border:0;border-radius:12px;box-sizing:border-box;cursor:pointer;display:none;height:24px;outline:none;position:absolute;right:0;top:0;width:24px}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-top-left .mapboxgl-ctrl-attrib-button{left:0}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-inner{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-button{background-color:#0000000d}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{right:0;top:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{left:0;top:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{bottom:0;left:0}.mapboxgl-ctrl-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after{left:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' fill='%23fff'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1 0 12 0 6 6 0 1 0-12 0m5-3a1 1 0 1 0 2 0 1 1 0 1 0-2 0m0 3a1 1 0 1 1 2 0v3a1 1 0 1 1-2 0'/%3E%3C/svg%3E")}}.mapboxgl-ctrl-attrib a{color:#000000bf;text-decoration:none}.mapboxgl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-left:2px}.mapboxgl-attrib-empty{display:none}.mapboxgl-ctrl-scale{background-color:#ffffffbf;border:2px solid #333;border-top:#333;box-sizing:border-box;color:#333;font-size:10px;padding:0 5px;white-space:nowrap}.mapboxgl-popup{display:flex;left:0;pointer-events:none;position:absolute;top:0;will-change:transform}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right{flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right{flex-direction:column-reverse}.mapboxgl-popup-anchor-left{flex-direction:row}.mapboxgl-popup-anchor-right{flex-direction:row-reverse}.mapboxgl-popup-tip{border:10px solid transparent;height:0;width:0;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{align-self:center;border-bottom-color:#fff;border-top:none}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom-color:#fff;border-left:none;border-top:none}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom-color:#fff;border-right:none;border-top:none}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip{align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip{align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip{align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip{align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip{align-self:center;border-left-color:#fff;border-right:none}.mapboxgl-popup-close-button{background-color:transparent;border:0;border-radius:0 3px 0 0;cursor:pointer;position:absolute;right:0;top:0}.mapboxgl-popup-close-button:hover{background-color:#0000000d}.mapboxgl-popup-content{background:#fff;border-radius:3px;box-shadow:0 1px 2px #0000001a;padding:10px 10px 15px;pointer-events:auto;position:relative}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-track-pointer{display:none}.mapboxgl-popup-track-pointer *{pointer-events:none;-webkit-user-select:none;user-select:none}.mapboxgl-map:hover .mapboxgl-popup-track-pointer{display:flex}.mapboxgl-map:active .mapboxgl-popup-track-pointer{display:none}.mapboxgl-marker{left:0;opacity:1;position:absolute;top:0;transition:opacity .2s;will-change:transform}.mapboxgl-user-location-dot,.mapboxgl-user-location-dot:before{background-color:#1da1f2;border-radius:50%;height:15px;width:15px}.mapboxgl-user-location-dot:before{animation:mapboxgl-user-location-dot-pulse 2s infinite;content:"";position:absolute}.mapboxgl-user-location-dot:after{border:2px solid #fff;border-radius:50%;box-shadow:0 0 3px #00000059;box-sizing:border-box;content:"";height:19px;left:-2px;position:absolute;top:-2px;width:19px}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading{height:0;width:0}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after,.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-bottom:7.5px solid #4aa1eb;content:"";position:absolute}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:before{border-left:7.5px solid transparent;transform:translateY(-28px) skewY(-20deg)}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after{border-right:7.5px solid transparent;transform:translate(7.5px,-28px) skewY(20deg)}@keyframes mapboxgl-user-location-dot-pulse{0%{opacity:1;transform:scale(1)}70%{opacity:0;transform:scale(3)}to{opacity:0;transform:scale(1)}}.mapboxgl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after{display:none}.mapboxgl-user-location-accuracy-circle{background-color:#1da1f233;border-radius:100%;height:1px;width:1px}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom{background:#fff;border:2px dotted #202020;height:0;left:0;opacity:.5;position:absolute;top:0;width:0}@media print{.mapbox-improve-map{display:none}}.mapboxgl-scroll-zoom-blocker,.mapboxgl-touch-pan-blocker{align-items:center;background:#000000b3;color:#fff;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif;height:100%;justify-content:center;left:0;opacity:0;pointer-events:none;position:absolute;text-align:center;top:0;transition:opacity .75s ease-in-out;transition-delay:1s;width:100%}.mapboxgl-scroll-zoom-blocker-show,.mapboxgl-touch-pan-blocker-show{opacity:1;transition:opacity .1s ease-in-out}.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page,.mapboxgl-canvas-container.mapboxgl-touch-pan-blocker-override.mapboxgl-scrollable-page .mapboxgl-canvas{touch-action:pan-x pan-y}`)),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
2
|
+
import fe, { createContext as Tr, useEffect as M, useMemo as xr, forwardRef as Sr, useState as $e, useRef as ke } from "react";
|
|
3
|
+
import { LicenseInfo as Or } from "@mui/x-license";
|
|
4
|
+
import Pr, { Popup as wr, Marker as jr, Map as Ar, LngLatBounds as Lr } from "mapbox-gl";
|
|
5
|
+
import { Box as le, Skeleton as Fr, useTheme as Dr, GlobalStyles as Nr } from "@tracktor/design-system";
|
|
5
6
|
import Ir from "react-dom";
|
|
6
|
-
|
|
7
|
-
var
|
|
7
|
+
const it = 2.333, st = 46.8677;
|
|
8
|
+
var re = { exports: {} }, z = {};
|
|
8
9
|
/**
|
|
9
10
|
* @license React
|
|
10
11
|
* react-jsx-runtime.production.min.js
|
|
@@ -14,21 +15,21 @@ var Q = { exports: {} }, J = {};
|
|
|
14
15
|
* This source code is licensed under the MIT license found in the
|
|
15
16
|
* LICENSE file in the root directory of this source tree.
|
|
16
17
|
*/
|
|
17
|
-
var
|
|
18
|
-
function
|
|
19
|
-
if (
|
|
20
|
-
|
|
21
|
-
var t =
|
|
22
|
-
function p
|
|
23
|
-
var
|
|
24
|
-
|
|
25
|
-
for (
|
|
26
|
-
if (
|
|
27
|
-
return { $$typeof: n, type:
|
|
18
|
+
var We;
|
|
19
|
+
function Mr() {
|
|
20
|
+
if (We) return z;
|
|
21
|
+
We = 1;
|
|
22
|
+
var t = fe, n = Symbol.for("react.element"), i = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, u = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
23
|
+
function f(p, l, T) {
|
|
24
|
+
var y, x = {}, S = null, j = null;
|
|
25
|
+
T !== void 0 && (S = "" + T), l.key !== void 0 && (S = "" + l.key), l.ref !== void 0 && (j = l.ref);
|
|
26
|
+
for (y in l) a.call(l, y) && !g.hasOwnProperty(y) && (x[y] = l[y]);
|
|
27
|
+
if (p && p.defaultProps) for (y in l = p.defaultProps, l) x[y] === void 0 && (x[y] = l[y]);
|
|
28
|
+
return { $$typeof: n, type: p, key: S, ref: j, props: x, _owner: u.current };
|
|
28
29
|
}
|
|
29
|
-
return
|
|
30
|
+
return z.Fragment = i, z.jsx = f, z.jsxs = f, z;
|
|
30
31
|
}
|
|
31
|
-
var
|
|
32
|
+
var K = {};
|
|
32
33
|
/**
|
|
33
34
|
* @license React
|
|
34
35
|
* react-jsx-runtime.development.js
|
|
@@ -38,57 +39,57 @@ var z = {};
|
|
|
38
39
|
* This source code is licensed under the MIT license found in the
|
|
39
40
|
* LICENSE file in the root directory of this source tree.
|
|
40
41
|
*/
|
|
41
|
-
var
|
|
42
|
-
function
|
|
43
|
-
return
|
|
44
|
-
var t =
|
|
45
|
-
function
|
|
42
|
+
var Ue;
|
|
43
|
+
function $r() {
|
|
44
|
+
return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && function() {
|
|
45
|
+
var t = fe, n = Symbol.for("react.element"), i = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), p = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), U = Symbol.iterator, Y = "@@iterator";
|
|
46
|
+
function D(e) {
|
|
46
47
|
if (e === null || typeof e != "object")
|
|
47
48
|
return null;
|
|
48
|
-
var r =
|
|
49
|
+
var r = U && e[U] || e[Y];
|
|
49
50
|
return typeof r == "function" ? r : null;
|
|
50
51
|
}
|
|
51
|
-
var
|
|
52
|
-
function
|
|
52
|
+
var L = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
53
|
+
function R(e) {
|
|
53
54
|
{
|
|
54
55
|
for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
|
|
55
56
|
o[s - 1] = arguments[s];
|
|
56
|
-
|
|
57
|
+
b("error", e, o);
|
|
57
58
|
}
|
|
58
59
|
}
|
|
59
|
-
function
|
|
60
|
+
function b(e, r, o) {
|
|
60
61
|
{
|
|
61
|
-
var s =
|
|
62
|
-
|
|
63
|
-
var
|
|
64
|
-
return String(
|
|
62
|
+
var s = L.ReactDebugCurrentFrame, v = s.getStackAddendum();
|
|
63
|
+
v !== "" && (r += "%s", o = o.concat([v]));
|
|
64
|
+
var h = o.map(function(d) {
|
|
65
|
+
return String(d);
|
|
65
66
|
});
|
|
66
|
-
|
|
67
|
+
h.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, h);
|
|
67
68
|
}
|
|
68
69
|
}
|
|
69
|
-
var
|
|
70
|
-
|
|
71
|
-
function
|
|
72
|
-
return !!(typeof e == "string" || typeof e == "function" || e === a || e ===
|
|
70
|
+
var H = !1, _ = !1, O = !1, E = !1, $ = !1, N;
|
|
71
|
+
N = Symbol.for("react.module.reference");
|
|
72
|
+
function Ke(e) {
|
|
73
|
+
return !!(typeof e == "string" || typeof e == "function" || e === a || e === g || $ || e === u || e === T || e === y || E || e === j || H || _ || O || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === x || e.$$typeof === f || e.$$typeof === p || e.$$typeof === l || // This needs to include all possible module reference object
|
|
73
74
|
// types supported by any Flight configuration anywhere since
|
|
74
75
|
// we don't know which Flight build this will end up being used
|
|
75
76
|
// with.
|
|
76
|
-
e.$$typeof ===
|
|
77
|
+
e.$$typeof === N || e.getModuleId !== void 0));
|
|
77
78
|
}
|
|
78
|
-
function
|
|
79
|
+
function He(e, r, o) {
|
|
79
80
|
var s = e.displayName;
|
|
80
81
|
if (s)
|
|
81
82
|
return s;
|
|
82
|
-
var
|
|
83
|
-
return
|
|
83
|
+
var v = r.displayName || r.name || "";
|
|
84
|
+
return v !== "" ? o + "(" + v + ")" : o;
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
+
function ve(e) {
|
|
86
87
|
return e.displayName || "Context";
|
|
87
88
|
}
|
|
88
|
-
function
|
|
89
|
+
function I(e) {
|
|
89
90
|
if (e == null)
|
|
90
91
|
return null;
|
|
91
|
-
if (typeof e.tag == "number" &&
|
|
92
|
+
if (typeof e.tag == "number" && R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
92
93
|
return e.displayName || e.name || null;
|
|
93
94
|
if (typeof e == "string")
|
|
94
95
|
return e;
|
|
@@ -97,32 +98,32 @@ function kr() {
|
|
|
97
98
|
return "Fragment";
|
|
98
99
|
case i:
|
|
99
100
|
return "Portal";
|
|
100
|
-
case
|
|
101
|
+
case g:
|
|
101
102
|
return "Profiler";
|
|
102
103
|
case u:
|
|
103
104
|
return "StrictMode";
|
|
104
|
-
case
|
|
105
|
+
case T:
|
|
105
106
|
return "Suspense";
|
|
106
|
-
case
|
|
107
|
+
case y:
|
|
107
108
|
return "SuspenseList";
|
|
108
109
|
}
|
|
109
110
|
if (typeof e == "object")
|
|
110
111
|
switch (e.$$typeof) {
|
|
111
|
-
case v:
|
|
112
|
-
var r = e;
|
|
113
|
-
return de(r) + ".Consumer";
|
|
114
112
|
case p:
|
|
113
|
+
var r = e;
|
|
114
|
+
return ve(r) + ".Consumer";
|
|
115
|
+
case f:
|
|
115
116
|
var o = e;
|
|
116
|
-
return
|
|
117
|
-
case
|
|
118
|
-
return
|
|
119
|
-
case
|
|
117
|
+
return ve(o._context) + ".Provider";
|
|
118
|
+
case l:
|
|
119
|
+
return He(e, e.render, "ForwardRef");
|
|
120
|
+
case x:
|
|
120
121
|
var s = e.displayName || null;
|
|
121
|
-
return s !== null ? s :
|
|
122
|
+
return s !== null ? s : I(e.type) || "Memo";
|
|
122
123
|
case S: {
|
|
123
|
-
var
|
|
124
|
+
var v = e, h = v._payload, d = v._init;
|
|
124
125
|
try {
|
|
125
|
-
return
|
|
126
|
+
return I(d(h));
|
|
126
127
|
} catch {
|
|
127
128
|
return null;
|
|
128
129
|
}
|
|
@@ -130,18 +131,18 @@ function kr() {
|
|
|
130
131
|
}
|
|
131
132
|
return null;
|
|
132
133
|
}
|
|
133
|
-
var k = Object.assign, q = 0,
|
|
134
|
-
function
|
|
134
|
+
var k = Object.assign, q = 0, ye, ge, be, he, Ee, Re, _e;
|
|
135
|
+
function me() {
|
|
135
136
|
}
|
|
136
|
-
|
|
137
|
-
function
|
|
137
|
+
me.__reactDisabledLog = !0;
|
|
138
|
+
function Xe() {
|
|
138
139
|
{
|
|
139
140
|
if (q === 0) {
|
|
140
|
-
|
|
141
|
+
ye = console.log, ge = console.info, be = console.warn, he = console.error, Ee = console.group, Re = console.groupCollapsed, _e = console.groupEnd;
|
|
141
142
|
var e = {
|
|
142
143
|
configurable: !0,
|
|
143
144
|
enumerable: !0,
|
|
144
|
-
value:
|
|
145
|
+
value: me,
|
|
145
146
|
writable: !0
|
|
146
147
|
};
|
|
147
148
|
Object.defineProperties(console, {
|
|
@@ -157,7 +158,7 @@ function kr() {
|
|
|
157
158
|
q++;
|
|
158
159
|
}
|
|
159
160
|
}
|
|
160
|
-
function
|
|
161
|
+
function Ze() {
|
|
161
162
|
{
|
|
162
163
|
if (q--, q === 0) {
|
|
163
164
|
var e = {
|
|
@@ -167,87 +168,87 @@ function kr() {
|
|
|
167
168
|
};
|
|
168
169
|
Object.defineProperties(console, {
|
|
169
170
|
log: k({}, e, {
|
|
170
|
-
value:
|
|
171
|
+
value: ye
|
|
171
172
|
}),
|
|
172
173
|
info: k({}, e, {
|
|
173
|
-
value:
|
|
174
|
+
value: ge
|
|
174
175
|
}),
|
|
175
176
|
warn: k({}, e, {
|
|
176
|
-
value:
|
|
177
|
+
value: be
|
|
177
178
|
}),
|
|
178
179
|
error: k({}, e, {
|
|
179
|
-
value:
|
|
180
|
+
value: he
|
|
180
181
|
}),
|
|
181
182
|
group: k({}, e, {
|
|
182
|
-
value:
|
|
183
|
+
value: Ee
|
|
183
184
|
}),
|
|
184
185
|
groupCollapsed: k({}, e, {
|
|
185
|
-
value:
|
|
186
|
+
value: Re
|
|
186
187
|
}),
|
|
187
188
|
groupEnd: k({}, e, {
|
|
188
|
-
value:
|
|
189
|
+
value: _e
|
|
189
190
|
})
|
|
190
191
|
});
|
|
191
192
|
}
|
|
192
|
-
q < 0 &&
|
|
193
|
+
q < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
194
|
}
|
|
194
195
|
}
|
|
195
|
-
var
|
|
196
|
-
function
|
|
196
|
+
var te = L.ReactCurrentDispatcher, ne;
|
|
197
|
+
function X(e, r, o) {
|
|
197
198
|
{
|
|
198
|
-
if (
|
|
199
|
+
if (ne === void 0)
|
|
199
200
|
try {
|
|
200
201
|
throw Error();
|
|
201
|
-
} catch (
|
|
202
|
-
var s =
|
|
203
|
-
|
|
202
|
+
} catch (v) {
|
|
203
|
+
var s = v.stack.trim().match(/\n( *(at )?)/);
|
|
204
|
+
ne = s && s[1] || "";
|
|
204
205
|
}
|
|
205
206
|
return `
|
|
206
|
-
` +
|
|
207
|
+
` + ne + e;
|
|
207
208
|
}
|
|
208
209
|
}
|
|
209
|
-
var
|
|
210
|
+
var oe = !1, Z;
|
|
210
211
|
{
|
|
211
|
-
var
|
|
212
|
-
|
|
212
|
+
var Qe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
213
|
+
Z = new Qe();
|
|
213
214
|
}
|
|
214
|
-
function
|
|
215
|
-
if (!e ||
|
|
215
|
+
function Ce(e, r) {
|
|
216
|
+
if (!e || oe)
|
|
216
217
|
return "";
|
|
217
218
|
{
|
|
218
|
-
var o =
|
|
219
|
+
var o = Z.get(e);
|
|
219
220
|
if (o !== void 0)
|
|
220
221
|
return o;
|
|
221
222
|
}
|
|
222
223
|
var s;
|
|
223
|
-
|
|
224
|
-
var
|
|
224
|
+
oe = !0;
|
|
225
|
+
var v = Error.prepareStackTrace;
|
|
225
226
|
Error.prepareStackTrace = void 0;
|
|
226
|
-
var
|
|
227
|
-
|
|
227
|
+
var h;
|
|
228
|
+
h = te.current, te.current = null, Xe();
|
|
228
229
|
try {
|
|
229
230
|
if (r) {
|
|
230
|
-
var
|
|
231
|
+
var d = function() {
|
|
231
232
|
throw Error();
|
|
232
233
|
};
|
|
233
|
-
if (Object.defineProperty(
|
|
234
|
+
if (Object.defineProperty(d.prototype, "props", {
|
|
234
235
|
set: function() {
|
|
235
236
|
throw Error();
|
|
236
237
|
}
|
|
237
238
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
239
|
try {
|
|
239
|
-
Reflect.construct(
|
|
240
|
+
Reflect.construct(d, []);
|
|
240
241
|
} catch (w) {
|
|
241
242
|
s = w;
|
|
242
243
|
}
|
|
243
|
-
Reflect.construct(e, [],
|
|
244
|
+
Reflect.construct(e, [], d);
|
|
244
245
|
} else {
|
|
245
246
|
try {
|
|
246
|
-
|
|
247
|
+
d.call();
|
|
247
248
|
} catch (w) {
|
|
248
249
|
s = w;
|
|
249
250
|
}
|
|
250
|
-
e.call(
|
|
251
|
+
e.call(d.prototype);
|
|
251
252
|
}
|
|
252
253
|
} else {
|
|
253
254
|
try {
|
|
@@ -261,143 +262,143 @@ function kr() {
|
|
|
261
262
|
if (w && s && typeof w.stack == "string") {
|
|
262
263
|
for (var c = w.stack.split(`
|
|
263
264
|
`), P = s.stack.split(`
|
|
264
|
-
`), m = c.length - 1,
|
|
265
|
-
|
|
266
|
-
for (; m >= 1 &&
|
|
267
|
-
if (c[m] !== P[
|
|
268
|
-
if (m !== 1 ||
|
|
265
|
+
`), m = c.length - 1, C = P.length - 1; m >= 1 && C >= 0 && c[m] !== P[C]; )
|
|
266
|
+
C--;
|
|
267
|
+
for (; m >= 1 && C >= 0; m--, C--)
|
|
268
|
+
if (c[m] !== P[C]) {
|
|
269
|
+
if (m !== 1 || C !== 1)
|
|
269
270
|
do
|
|
270
|
-
if (m--,
|
|
271
|
-
var
|
|
271
|
+
if (m--, C--, C < 0 || c[m] !== P[C]) {
|
|
272
|
+
var A = `
|
|
272
273
|
` + c[m].replace(" at new ", " at ");
|
|
273
|
-
return e.displayName &&
|
|
274
|
+
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, A), A;
|
|
274
275
|
}
|
|
275
|
-
while (m >= 1 &&
|
|
276
|
+
while (m >= 1 && C >= 0);
|
|
276
277
|
break;
|
|
277
278
|
}
|
|
278
279
|
}
|
|
279
280
|
} finally {
|
|
280
|
-
|
|
281
|
+
oe = !1, te.current = h, Ze(), Error.prepareStackTrace = v;
|
|
281
282
|
}
|
|
282
|
-
var
|
|
283
|
-
return typeof e == "function" &&
|
|
283
|
+
var V = e ? e.displayName || e.name : "", W = V ? X(V) : "";
|
|
284
|
+
return typeof e == "function" && Z.set(e, W), W;
|
|
284
285
|
}
|
|
285
|
-
function
|
|
286
|
-
return
|
|
286
|
+
function er(e, r, o) {
|
|
287
|
+
return Ce(e, !1);
|
|
287
288
|
}
|
|
288
|
-
function
|
|
289
|
+
function rr(e) {
|
|
289
290
|
var r = e.prototype;
|
|
290
291
|
return !!(r && r.isReactComponent);
|
|
291
292
|
}
|
|
292
|
-
function
|
|
293
|
+
function Q(e, r, o) {
|
|
293
294
|
if (e == null)
|
|
294
295
|
return "";
|
|
295
296
|
if (typeof e == "function")
|
|
296
|
-
return
|
|
297
|
+
return Ce(e, rr(e));
|
|
297
298
|
if (typeof e == "string")
|
|
298
|
-
return
|
|
299
|
+
return X(e);
|
|
299
300
|
switch (e) {
|
|
300
|
-
case
|
|
301
|
-
return
|
|
302
|
-
case
|
|
303
|
-
return
|
|
301
|
+
case T:
|
|
302
|
+
return X("Suspense");
|
|
303
|
+
case y:
|
|
304
|
+
return X("SuspenseList");
|
|
304
305
|
}
|
|
305
306
|
if (typeof e == "object")
|
|
306
307
|
switch (e.$$typeof) {
|
|
307
|
-
case
|
|
308
|
-
return
|
|
309
|
-
case
|
|
310
|
-
return
|
|
308
|
+
case l:
|
|
309
|
+
return er(e.render);
|
|
310
|
+
case x:
|
|
311
|
+
return Q(e.type, r, o);
|
|
311
312
|
case S: {
|
|
312
|
-
var s = e,
|
|
313
|
+
var s = e, v = s._payload, h = s._init;
|
|
313
314
|
try {
|
|
314
|
-
return
|
|
315
|
+
return Q(h(v), r, o);
|
|
315
316
|
} catch {
|
|
316
317
|
}
|
|
317
318
|
}
|
|
318
319
|
}
|
|
319
320
|
return "";
|
|
320
321
|
}
|
|
321
|
-
var
|
|
322
|
-
function
|
|
322
|
+
var J = Object.prototype.hasOwnProperty, Te = {}, xe = L.ReactDebugCurrentFrame;
|
|
323
|
+
function ee(e) {
|
|
323
324
|
if (e) {
|
|
324
|
-
var r = e._owner, o =
|
|
325
|
-
|
|
325
|
+
var r = e._owner, o = Q(e.type, e._source, r ? r.type : null);
|
|
326
|
+
xe.setExtraStackFrame(o);
|
|
326
327
|
} else
|
|
327
|
-
|
|
328
|
+
xe.setExtraStackFrame(null);
|
|
328
329
|
}
|
|
329
|
-
function
|
|
330
|
+
function tr(e, r, o, s, v) {
|
|
330
331
|
{
|
|
331
|
-
var
|
|
332
|
-
for (var
|
|
333
|
-
if (
|
|
332
|
+
var h = Function.call.bind(J);
|
|
333
|
+
for (var d in e)
|
|
334
|
+
if (h(e, d)) {
|
|
334
335
|
var c = void 0;
|
|
335
336
|
try {
|
|
336
|
-
if (typeof e[
|
|
337
|
-
var P = Error((s || "React class") + ": " + o + " type `" +
|
|
337
|
+
if (typeof e[d] != "function") {
|
|
338
|
+
var P = Error((s || "React class") + ": " + o + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
339
|
throw P.name = "Invariant Violation", P;
|
|
339
340
|
}
|
|
340
|
-
c = e[
|
|
341
|
+
c = e[d](r, d, s, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
342
|
} catch (m) {
|
|
342
343
|
c = m;
|
|
343
344
|
}
|
|
344
|
-
c && !(c instanceof Error) && (
|
|
345
|
+
c && !(c instanceof Error) && (ee(v), R("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", s || "React class", o, d, typeof c), ee(null)), c instanceof Error && !(c.message in Te) && (Te[c.message] = !0, ee(v), R("Failed %s type: %s", o, c.message), ee(null));
|
|
345
346
|
}
|
|
346
347
|
}
|
|
347
348
|
}
|
|
348
|
-
var
|
|
349
|
-
function
|
|
350
|
-
return
|
|
349
|
+
var nr = Array.isArray;
|
|
350
|
+
function ae(e) {
|
|
351
|
+
return nr(e);
|
|
351
352
|
}
|
|
352
|
-
function
|
|
353
|
+
function or(e) {
|
|
353
354
|
{
|
|
354
355
|
var r = typeof Symbol == "function" && Symbol.toStringTag, o = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
355
356
|
return o;
|
|
356
357
|
}
|
|
357
358
|
}
|
|
358
|
-
function
|
|
359
|
+
function ar(e) {
|
|
359
360
|
try {
|
|
360
|
-
return
|
|
361
|
+
return Se(e), !1;
|
|
361
362
|
} catch {
|
|
362
363
|
return !0;
|
|
363
364
|
}
|
|
364
365
|
}
|
|
365
|
-
function
|
|
366
|
+
function Se(e) {
|
|
366
367
|
return "" + e;
|
|
367
368
|
}
|
|
368
|
-
function
|
|
369
|
-
if (
|
|
370
|
-
return
|
|
369
|
+
function Oe(e) {
|
|
370
|
+
if (ar(e))
|
|
371
|
+
return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", or(e)), Se(e);
|
|
371
372
|
}
|
|
372
|
-
var
|
|
373
|
+
var Pe = L.ReactCurrentOwner, ir = {
|
|
373
374
|
key: !0,
|
|
374
375
|
ref: !0,
|
|
375
376
|
__self: !0,
|
|
376
377
|
__source: !0
|
|
377
|
-
},
|
|
378
|
-
function
|
|
379
|
-
if (
|
|
378
|
+
}, we, je;
|
|
379
|
+
function sr(e) {
|
|
380
|
+
if (J.call(e, "ref")) {
|
|
380
381
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
381
382
|
if (r && r.isReactWarning)
|
|
382
383
|
return !1;
|
|
383
384
|
}
|
|
384
385
|
return e.ref !== void 0;
|
|
385
386
|
}
|
|
386
|
-
function
|
|
387
|
-
if (
|
|
387
|
+
function ur(e) {
|
|
388
|
+
if (J.call(e, "key")) {
|
|
388
389
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
389
390
|
if (r && r.isReactWarning)
|
|
390
391
|
return !1;
|
|
391
392
|
}
|
|
392
393
|
return e.key !== void 0;
|
|
393
394
|
}
|
|
394
|
-
function ur(e, r) {
|
|
395
|
-
typeof e.ref == "string" && Se.current;
|
|
396
|
-
}
|
|
397
395
|
function cr(e, r) {
|
|
396
|
+
typeof e.ref == "string" && Pe.current;
|
|
397
|
+
}
|
|
398
|
+
function lr(e, r) {
|
|
398
399
|
{
|
|
399
400
|
var o = function() {
|
|
400
|
-
|
|
401
|
+
we || (we = !0, R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
401
402
|
};
|
|
402
403
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
403
404
|
get: o,
|
|
@@ -405,10 +406,10 @@ function kr() {
|
|
|
405
406
|
});
|
|
406
407
|
}
|
|
407
408
|
}
|
|
408
|
-
function
|
|
409
|
+
function fr(e, r) {
|
|
409
410
|
{
|
|
410
411
|
var o = function() {
|
|
411
|
-
|
|
412
|
+
je || (je = !0, R("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
412
413
|
};
|
|
413
414
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
414
415
|
get: o,
|
|
@@ -416,7 +417,7 @@ function kr() {
|
|
|
416
417
|
});
|
|
417
418
|
}
|
|
418
419
|
}
|
|
419
|
-
var
|
|
420
|
+
var dr = function(e, r, o, s, v, h, d) {
|
|
420
421
|
var c = {
|
|
421
422
|
// This tag allows us to uniquely identify this as a React Element
|
|
422
423
|
$$typeof: n,
|
|
@@ -424,9 +425,9 @@ function kr() {
|
|
|
424
425
|
type: e,
|
|
425
426
|
key: r,
|
|
426
427
|
ref: o,
|
|
427
|
-
props:
|
|
428
|
+
props: d,
|
|
428
429
|
// Record the component responsible for creating this element.
|
|
429
|
-
_owner:
|
|
430
|
+
_owner: h
|
|
430
431
|
};
|
|
431
432
|
return c._store = {}, Object.defineProperty(c._store, "validated", {
|
|
432
433
|
configurable: !1,
|
|
@@ -442,44 +443,44 @@ function kr() {
|
|
|
442
443
|
configurable: !1,
|
|
443
444
|
enumerable: !1,
|
|
444
445
|
writable: !1,
|
|
445
|
-
value:
|
|
446
|
+
value: v
|
|
446
447
|
}), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
|
|
447
448
|
};
|
|
448
|
-
function
|
|
449
|
+
function pr(e, r, o, s, v) {
|
|
449
450
|
{
|
|
450
|
-
var
|
|
451
|
-
o !== void 0 && (
|
|
452
|
-
for (
|
|
453
|
-
|
|
451
|
+
var h, d = {}, c = null, P = null;
|
|
452
|
+
o !== void 0 && (Oe(o), c = "" + o), ur(r) && (Oe(r.key), c = "" + r.key), sr(r) && (P = r.ref, cr(r, v));
|
|
453
|
+
for (h in r)
|
|
454
|
+
J.call(r, h) && !ir.hasOwnProperty(h) && (d[h] = r[h]);
|
|
454
455
|
if (e && e.defaultProps) {
|
|
455
456
|
var m = e.defaultProps;
|
|
456
|
-
for (
|
|
457
|
-
|
|
457
|
+
for (h in m)
|
|
458
|
+
d[h] === void 0 && (d[h] = m[h]);
|
|
458
459
|
}
|
|
459
460
|
if (c || P) {
|
|
460
|
-
var
|
|
461
|
-
c &&
|
|
461
|
+
var C = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
462
|
+
c && lr(d, C), P && fr(d, C);
|
|
462
463
|
}
|
|
463
|
-
return
|
|
464
|
+
return dr(e, c, P, v, s, Pe.current, d);
|
|
464
465
|
}
|
|
465
466
|
}
|
|
466
|
-
var
|
|
467
|
-
function
|
|
467
|
+
var ie = L.ReactCurrentOwner, Ae = L.ReactDebugCurrentFrame;
|
|
468
|
+
function G(e) {
|
|
468
469
|
if (e) {
|
|
469
|
-
var r = e._owner, o =
|
|
470
|
-
|
|
470
|
+
var r = e._owner, o = Q(e.type, e._source, r ? r.type : null);
|
|
471
|
+
Ae.setExtraStackFrame(o);
|
|
471
472
|
} else
|
|
472
|
-
|
|
473
|
+
Ae.setExtraStackFrame(null);
|
|
473
474
|
}
|
|
474
|
-
var
|
|
475
|
-
|
|
476
|
-
function
|
|
475
|
+
var se;
|
|
476
|
+
se = !1;
|
|
477
|
+
function ue(e) {
|
|
477
478
|
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
478
479
|
}
|
|
479
|
-
function
|
|
480
|
+
function Le() {
|
|
480
481
|
{
|
|
481
|
-
if (
|
|
482
|
-
var e =
|
|
482
|
+
if (ie.current) {
|
|
483
|
+
var e = I(ie.current.type);
|
|
483
484
|
if (e)
|
|
484
485
|
return `
|
|
485
486
|
|
|
@@ -488,13 +489,13 @@ Check the render method of \`` + e + "`.";
|
|
|
488
489
|
return "";
|
|
489
490
|
}
|
|
490
491
|
}
|
|
491
|
-
function
|
|
492
|
+
function vr(e) {
|
|
492
493
|
return "";
|
|
493
494
|
}
|
|
494
|
-
var
|
|
495
|
-
function
|
|
495
|
+
var Fe = {};
|
|
496
|
+
function yr(e) {
|
|
496
497
|
{
|
|
497
|
-
var r =
|
|
498
|
+
var r = Le();
|
|
498
499
|
if (!r) {
|
|
499
500
|
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
500
501
|
o && (r = `
|
|
@@ -504,39 +505,39 @@ Check the top-level render call using <` + o + ">.");
|
|
|
504
505
|
return r;
|
|
505
506
|
}
|
|
506
507
|
}
|
|
507
|
-
function
|
|
508
|
+
function De(e, r) {
|
|
508
509
|
{
|
|
509
510
|
if (!e._store || e._store.validated || e.key != null)
|
|
510
511
|
return;
|
|
511
512
|
e._store.validated = !0;
|
|
512
|
-
var o =
|
|
513
|
-
if (
|
|
513
|
+
var o = yr(r);
|
|
514
|
+
if (Fe[o])
|
|
514
515
|
return;
|
|
515
|
-
|
|
516
|
+
Fe[o] = !0;
|
|
516
517
|
var s = "";
|
|
517
|
-
e && e._owner && e._owner !==
|
|
518
|
+
e && e._owner && e._owner !== ie.current && (s = " It was passed a child from " + I(e._owner.type) + "."), G(e), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, s), G(null);
|
|
518
519
|
}
|
|
519
520
|
}
|
|
520
|
-
function
|
|
521
|
+
function Ne(e, r) {
|
|
521
522
|
{
|
|
522
523
|
if (typeof e != "object")
|
|
523
524
|
return;
|
|
524
|
-
if (
|
|
525
|
+
if (ae(e))
|
|
525
526
|
for (var o = 0; o < e.length; o++) {
|
|
526
527
|
var s = e[o];
|
|
527
|
-
|
|
528
|
+
ue(s) && De(s, r);
|
|
528
529
|
}
|
|
529
|
-
else if (
|
|
530
|
+
else if (ue(e))
|
|
530
531
|
e._store && (e._store.validated = !0);
|
|
531
532
|
else if (e) {
|
|
532
|
-
var
|
|
533
|
-
if (typeof
|
|
534
|
-
for (var
|
|
535
|
-
|
|
533
|
+
var v = D(e);
|
|
534
|
+
if (typeof v == "function" && v !== e.entries)
|
|
535
|
+
for (var h = v.call(e), d; !(d = h.next()).done; )
|
|
536
|
+
ue(d.value) && De(d.value, r);
|
|
536
537
|
}
|
|
537
538
|
}
|
|
538
539
|
}
|
|
539
|
-
function
|
|
540
|
+
function gr(e) {
|
|
540
541
|
{
|
|
541
542
|
var r = e.type;
|
|
542
543
|
if (r == null || typeof r == "string")
|
|
@@ -544,162 +545,164 @@ Check the top-level render call using <` + o + ">.");
|
|
|
544
545
|
var o;
|
|
545
546
|
if (typeof r == "function")
|
|
546
547
|
o = r.propTypes;
|
|
547
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
548
|
+
else if (typeof r == "object" && (r.$$typeof === l || // Note: Memo only checks outer props here.
|
|
548
549
|
// Inner props are checked in the reconciler.
|
|
549
|
-
r.$$typeof ===
|
|
550
|
+
r.$$typeof === x))
|
|
550
551
|
o = r.propTypes;
|
|
551
552
|
else
|
|
552
553
|
return;
|
|
553
554
|
if (o) {
|
|
554
|
-
var s =
|
|
555
|
-
|
|
556
|
-
} else if (r.PropTypes !== void 0 && !
|
|
557
|
-
|
|
558
|
-
var
|
|
559
|
-
|
|
555
|
+
var s = I(r);
|
|
556
|
+
tr(o, e.props, "prop", s, e);
|
|
557
|
+
} else if (r.PropTypes !== void 0 && !se) {
|
|
558
|
+
se = !0;
|
|
559
|
+
var v = I(r);
|
|
560
|
+
R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
|
|
560
561
|
}
|
|
561
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
562
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
562
563
|
}
|
|
563
564
|
}
|
|
564
|
-
function
|
|
565
|
+
function br(e) {
|
|
565
566
|
{
|
|
566
567
|
for (var r = Object.keys(e.props), o = 0; o < r.length; o++) {
|
|
567
568
|
var s = r[o];
|
|
568
569
|
if (s !== "children" && s !== "key") {
|
|
569
|
-
|
|
570
|
+
G(e), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", s), G(null);
|
|
570
571
|
break;
|
|
571
572
|
}
|
|
572
573
|
}
|
|
573
|
-
e.ref !== null && (
|
|
574
|
+
e.ref !== null && (G(e), R("Invalid attribute `ref` supplied to `React.Fragment`."), G(null));
|
|
574
575
|
}
|
|
575
576
|
}
|
|
576
|
-
var
|
|
577
|
-
function
|
|
577
|
+
var Ie = {};
|
|
578
|
+
function Me(e, r, o, s, v, h) {
|
|
578
579
|
{
|
|
579
|
-
var
|
|
580
|
-
if (!
|
|
580
|
+
var d = Ke(e);
|
|
581
|
+
if (!d) {
|
|
581
582
|
var c = "";
|
|
582
583
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
583
|
-
var P =
|
|
584
|
-
P ? c += P : c +=
|
|
584
|
+
var P = vr();
|
|
585
|
+
P ? c += P : c += Le();
|
|
585
586
|
var m;
|
|
586
|
-
e === null ? m = "null" :
|
|
587
|
+
e === null ? m = "null" : ae(e) ? m = "array" : e !== void 0 && e.$$typeof === n ? (m = "<" + (I(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : m = typeof e, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", m, c);
|
|
587
588
|
}
|
|
588
|
-
var
|
|
589
|
-
if (
|
|
590
|
-
return
|
|
591
|
-
if (
|
|
592
|
-
var
|
|
593
|
-
if (
|
|
589
|
+
var C = pr(e, r, o, v, h);
|
|
590
|
+
if (C == null)
|
|
591
|
+
return C;
|
|
592
|
+
if (d) {
|
|
593
|
+
var A = r.children;
|
|
594
|
+
if (A !== void 0)
|
|
594
595
|
if (s)
|
|
595
|
-
if (
|
|
596
|
-
for (var
|
|
597
|
-
|
|
598
|
-
Object.freeze && Object.freeze(
|
|
596
|
+
if (ae(A)) {
|
|
597
|
+
for (var V = 0; V < A.length; V++)
|
|
598
|
+
Ne(A[V], e);
|
|
599
|
+
Object.freeze && Object.freeze(A);
|
|
599
600
|
} else
|
|
600
|
-
|
|
601
|
+
R("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
601
602
|
else
|
|
602
|
-
|
|
603
|
+
Ne(A, e);
|
|
603
604
|
}
|
|
604
|
-
if (
|
|
605
|
-
var
|
|
606
|
-
return
|
|
607
|
-
}),
|
|
608
|
-
if (!
|
|
605
|
+
if (J.call(r, "key")) {
|
|
606
|
+
var W = I(e), w = Object.keys(r).filter(function(Cr) {
|
|
607
|
+
return Cr !== "key";
|
|
608
|
+
}), ce = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
609
|
+
if (!Ie[W + ce]) {
|
|
609
610
|
var mr = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
|
|
610
|
-
|
|
611
|
+
R(`A props object containing a "key" prop is being spread into JSX:
|
|
611
612
|
let props = %s;
|
|
612
613
|
<%s {...props} />
|
|
613
614
|
React keys must be passed directly to JSX without using spread:
|
|
614
615
|
let props = %s;
|
|
615
|
-
<%s key={someKey} {...props} />`,
|
|
616
|
+
<%s key={someKey} {...props} />`, ce, W, mr, W), Ie[W + ce] = !0;
|
|
616
617
|
}
|
|
617
618
|
}
|
|
618
|
-
return e === a ?
|
|
619
|
+
return e === a ? br(C) : gr(C), C;
|
|
619
620
|
}
|
|
620
621
|
}
|
|
621
|
-
function br(e, r, o) {
|
|
622
|
-
return Ie(e, r, o, !0);
|
|
623
|
-
}
|
|
624
622
|
function hr(e, r, o) {
|
|
625
|
-
return
|
|
623
|
+
return Me(e, r, o, !0);
|
|
624
|
+
}
|
|
625
|
+
function Er(e, r, o) {
|
|
626
|
+
return Me(e, r, o, !1);
|
|
626
627
|
}
|
|
627
|
-
var
|
|
628
|
-
|
|
629
|
-
}()),
|
|
628
|
+
var Rr = Er, _r = hr;
|
|
629
|
+
K.Fragment = a, K.jsx = Rr, K.jsxs = _r;
|
|
630
|
+
}()), K;
|
|
630
631
|
}
|
|
631
|
-
var
|
|
632
|
-
function
|
|
633
|
-
return
|
|
632
|
+
var Ye;
|
|
633
|
+
function kr() {
|
|
634
|
+
return Ye || (Ye = 1, process.env.NODE_ENV === "production" ? re.exports = Mr() : re.exports = $r()), re.exports;
|
|
634
635
|
}
|
|
635
|
-
var
|
|
636
|
-
const Wr = ({
|
|
637
|
-
|
|
638
|
-
|
|
636
|
+
var F = kr();
|
|
637
|
+
const Wr = Tr({
|
|
638
|
+
licenceMapbox: "",
|
|
639
|
+
licenseMuiX: ""
|
|
640
|
+
}), ut = ({ children: t, licenseMuiX: n, licenceMapbox: i }) => {
|
|
641
|
+
M(() => {
|
|
642
|
+
n && Or.setLicenseKey(n);
|
|
643
|
+
}, [n]);
|
|
644
|
+
const a = xr(
|
|
645
|
+
() => ({
|
|
646
|
+
licenceMapbox: i,
|
|
647
|
+
licenseMuiX: n
|
|
648
|
+
}),
|
|
649
|
+
[n, i]
|
|
650
|
+
);
|
|
651
|
+
return i && (Pr.accessToken = i), /* @__PURE__ */ F.jsx(Wr.Provider, { value: a, children: t });
|
|
652
|
+
}, Ur = ({ containerStyle: t, square: n, error: i, loading: a = !1, height: u = 300, width: g = "100%" }, f) => /* @__PURE__ */ F.jsxs(le, { sx: { position: "relative" }, height: u, children: [
|
|
653
|
+
/* @__PURE__ */ F.jsx(
|
|
654
|
+
le,
|
|
639
655
|
{
|
|
640
656
|
sx: {
|
|
657
|
+
alignItems: "center",
|
|
641
658
|
borderRadius: n ? 0 : 1,
|
|
659
|
+
display: "flex",
|
|
660
|
+
justifyContent: "center",
|
|
642
661
|
left: 0,
|
|
643
662
|
position: "absolute",
|
|
644
663
|
top: 0,
|
|
645
664
|
zIndex: 1,
|
|
646
665
|
...t
|
|
647
666
|
},
|
|
648
|
-
ref:
|
|
649
|
-
width:
|
|
650
|
-
height:
|
|
667
|
+
ref: f,
|
|
668
|
+
width: g,
|
|
669
|
+
height: u,
|
|
670
|
+
children: i && /* @__PURE__ */ F.jsx(le, { textAlign: "center", children: i })
|
|
651
671
|
}
|
|
652
672
|
),
|
|
653
|
-
|
|
654
|
-
|
|
673
|
+
a && /* @__PURE__ */ F.jsx(
|
|
674
|
+
Fr,
|
|
655
675
|
{
|
|
656
676
|
sx: {
|
|
657
677
|
left: 0,
|
|
658
678
|
position: "absolute",
|
|
659
679
|
top: 0,
|
|
660
|
-
zIndex: 0
|
|
680
|
+
zIndex: 0,
|
|
681
|
+
...t
|
|
661
682
|
},
|
|
662
|
-
width:
|
|
663
|
-
height:
|
|
683
|
+
width: g,
|
|
684
|
+
height: u,
|
|
664
685
|
variant: n ? "rectangular" : "rounded"
|
|
665
686
|
}
|
|
666
687
|
)
|
|
667
|
-
] }), Yr =
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
return !1;
|
|
673
|
-
const { coordinates: a } = i;
|
|
674
|
-
if (!Array.isArray(a) || a.length !== 2 || !Ve(i))
|
|
675
|
-
return !1;
|
|
676
|
-
const { properties: u } = t;
|
|
677
|
-
return typeof u != "object" || u === null ? !1 : "id" in u && u.id !== void 0;
|
|
678
|
-
}, Ye = (t, n) => Number.isFinite(t) && Number.isFinite(n) && t >= -90 && t <= 90 && n >= -180 && n <= 180, Vr = () => {
|
|
679
|
-
try {
|
|
680
|
-
const t = document.createElement("canvas");
|
|
681
|
-
return !!(window.WebGLRenderingContext && (t.getContext("webgl") || t.getContext("experimental-webgl")));
|
|
682
|
-
} catch {
|
|
683
|
-
return !1;
|
|
684
|
-
}
|
|
685
|
-
};
|
|
686
|
-
var V = {}, Ue;
|
|
687
|
-
function Br() {
|
|
688
|
-
if (Ue) return V;
|
|
689
|
-
Ue = 1;
|
|
688
|
+
] }), Yr = Sr(Ur);
|
|
689
|
+
var B = {}, Ge;
|
|
690
|
+
function Gr() {
|
|
691
|
+
if (Ge) return B;
|
|
692
|
+
Ge = 1;
|
|
690
693
|
var t = Ir;
|
|
691
694
|
if (process.env.NODE_ENV === "production")
|
|
692
|
-
|
|
695
|
+
B.createRoot = t.createRoot, B.hydrateRoot = t.hydrateRoot;
|
|
693
696
|
else {
|
|
694
697
|
var n = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
695
|
-
|
|
698
|
+
B.createRoot = function(i, a) {
|
|
696
699
|
n.usingClientEntryPoint = !0;
|
|
697
700
|
try {
|
|
698
701
|
return t.createRoot(i, a);
|
|
699
702
|
} finally {
|
|
700
703
|
n.usingClientEntryPoint = !1;
|
|
701
704
|
}
|
|
702
|
-
},
|
|
705
|
+
}, B.hydrateRoot = function(i, a, u) {
|
|
703
706
|
n.usingClientEntryPoint = !0;
|
|
704
707
|
try {
|
|
705
708
|
return t.hydrateRoot(i, a, u);
|
|
@@ -708,10 +711,10 @@ function Br() {
|
|
|
708
711
|
}
|
|
709
712
|
};
|
|
710
713
|
}
|
|
711
|
-
return
|
|
714
|
+
return B;
|
|
712
715
|
}
|
|
713
|
-
var Be =
|
|
714
|
-
const
|
|
716
|
+
var Be = Gr();
|
|
717
|
+
const Vr = (t) => {
|
|
715
718
|
const n = document.createElement("button");
|
|
716
719
|
return n.innerText = "×", n.style.position = "absolute", n.style.top = "5px", n.style.right = "5px", n.style.background = "transparent", n.style.border = "none", n.style.fontSize = "16px", n.style.padding = "0", n.style.margin = "0", n.style.cursor = "pointer", n.type = "button", n.setAttribute("aria-label", "Close popup"), n.removeAttribute("aria-hidden"), n.onclick = () => t.remove(), n;
|
|
717
720
|
}, qe = ({ map: t, tooltip: n, coordinates: i }) => {
|
|
@@ -721,32 +724,50 @@ const qr = (t) => {
|
|
|
721
724
|
a.style.position = "relative", a.style.overflow = "hidden";
|
|
722
725
|
const u = document.createElement("div");
|
|
723
726
|
u.style.padding = "10px";
|
|
724
|
-
const
|
|
725
|
-
|
|
726
|
-
const
|
|
727
|
+
const g = Be.createRoot(u);
|
|
728
|
+
g.render(n);
|
|
729
|
+
const f = new wr({
|
|
727
730
|
closeButton: !1
|
|
728
731
|
}).setLngLat(i).setDOMContent(a).addTo(t.current);
|
|
729
|
-
|
|
730
|
-
|
|
732
|
+
f.on("close", () => {
|
|
733
|
+
g.unmount();
|
|
731
734
|
});
|
|
732
|
-
const
|
|
733
|
-
a.appendChild(
|
|
734
|
-
},
|
|
735
|
-
|
|
736
|
-
|
|
735
|
+
const p = Vr(f);
|
|
736
|
+
a.appendChild(p), a.appendChild(u);
|
|
737
|
+
}, Je = (t) => Array.isArray(t) ? t.length >= 2 ? [t[0], t[1]] : void 0 : t, ze = (t) => typeof t == "object" && t !== null && "type" in t && "coordinates" in t, Br = (t) => {
|
|
738
|
+
if (typeof t != "object" || t === null || !("geometry" in t && "properties" in t))
|
|
739
|
+
return !1;
|
|
740
|
+
const { geometry: i } = t;
|
|
741
|
+
if (typeof i != "object" || i === null || !("coordinates" in i))
|
|
742
|
+
return !1;
|
|
743
|
+
const { coordinates: a } = i;
|
|
744
|
+
if (!Array.isArray(a) || a.length !== 2 || !ze(i))
|
|
745
|
+
return !1;
|
|
746
|
+
const { properties: u } = t;
|
|
747
|
+
return typeof u != "object" || u === null ? !1 : "id" in u && u.id !== void 0;
|
|
748
|
+
}, qr = ({ map: t, markers: n, event: i }) => {
|
|
749
|
+
var g, f, p, l, T;
|
|
750
|
+
if (!((g = t.current) != null && g.isStyleLoaded()))
|
|
737
751
|
return;
|
|
738
|
-
const a = ((
|
|
752
|
+
const a = ((l = (p = (f = t.current) == null ? void 0 : f.getStyle()) == null ? void 0 : p.layers) == null ? void 0 : l.filter((y) => y.id.startsWith("marker-")).map((y) => y.id)) || [], u = (T = t.current) == null ? void 0 : T.queryRenderedFeatures(i.point, { layers: a });
|
|
739
753
|
if (u && u.length > 0) {
|
|
740
|
-
const
|
|
741
|
-
if (!
|
|
754
|
+
const y = u[0];
|
|
755
|
+
if (!Br(y) || !ze(y.geometry))
|
|
742
756
|
return;
|
|
743
|
-
const { geometry:
|
|
757
|
+
const { geometry: x } = y, { properties: S } = y, j = x.coordinates.slice();
|
|
744
758
|
if (j.length !== 2 || typeof j[0] != "number" || typeof j[1] != "number")
|
|
745
759
|
return;
|
|
746
|
-
const [
|
|
747
|
-
|
|
760
|
+
const [U, Y] = j, D = n.find((L) => L.id === (S == null ? void 0 : S.id));
|
|
761
|
+
D && qe({ coordinates: [U, Y], map: t, tooltip: D == null ? void 0 : D.Tooltip });
|
|
762
|
+
}
|
|
763
|
+
}, Jr = () => {
|
|
764
|
+
try {
|
|
765
|
+
const t = document.createElement("canvas");
|
|
766
|
+
return (t.getContext("webgl") || t.getContext("experimental-webgl")) instanceof WebGLRenderingContext;
|
|
767
|
+
} catch {
|
|
768
|
+
return !1;
|
|
748
769
|
}
|
|
749
|
-
},
|
|
770
|
+
}, zr = ({ palette: t, type: n }) => {
|
|
750
771
|
const i = t.mode === "dark" ? "black" : "white", a = t.secondary.main, u = t.info.main;
|
|
751
772
|
switch (n) {
|
|
752
773
|
case "dropOff":
|
|
@@ -764,52 +785,52 @@ const qr = (t) => {
|
|
|
764
785
|
"circle-stroke-width": 8
|
|
765
786
|
};
|
|
766
787
|
}
|
|
767
|
-
},
|
|
788
|
+
}, Kr = (t, n, i, a) => {
|
|
768
789
|
const u = {
|
|
769
|
-
features: i.map((
|
|
790
|
+
features: i.map((f) => ({
|
|
770
791
|
geometry: {
|
|
771
|
-
coordinates:
|
|
792
|
+
coordinates: f.geometry.coordinates,
|
|
772
793
|
type: "Point"
|
|
773
794
|
},
|
|
774
795
|
properties: {
|
|
775
|
-
id:
|
|
776
|
-
...
|
|
796
|
+
id: f.properties.id,
|
|
797
|
+
...f.properties
|
|
777
798
|
},
|
|
778
799
|
type: "Feature"
|
|
779
800
|
})),
|
|
780
801
|
type: "FeatureCollection"
|
|
781
|
-
},
|
|
782
|
-
|
|
802
|
+
}, g = t.getSource(n);
|
|
803
|
+
g ? g.setData(u) : t.addSource(n, {
|
|
783
804
|
data: u,
|
|
784
805
|
type: "geojson"
|
|
785
|
-
}), u.features.forEach((
|
|
786
|
-
const { description:
|
|
787
|
-
t.getLayer(
|
|
788
|
-
t.setPaintProperty(
|
|
806
|
+
}), u.features.forEach((f) => {
|
|
807
|
+
const { description: p, id: l } = f.properties || {}, T = zr({ palette: a, type: p }), y = `marker-${l}`;
|
|
808
|
+
t.getLayer(y) ? Object.entries(T || {}).forEach(([x, S]) => {
|
|
809
|
+
t.setPaintProperty(y, x, S);
|
|
789
810
|
}) : t.addLayer({
|
|
790
|
-
filter: ["==", "id",
|
|
791
|
-
id:
|
|
792
|
-
paint:
|
|
811
|
+
filter: ["==", "id", l],
|
|
812
|
+
id: y,
|
|
813
|
+
paint: T,
|
|
793
814
|
source: n,
|
|
794
815
|
type: "circle"
|
|
795
816
|
});
|
|
796
817
|
});
|
|
797
|
-
},
|
|
818
|
+
}, Hr = (t, n) => {
|
|
798
819
|
document.querySelectorAll(".react-custom-marker").forEach((a) => a.remove()), n.forEach((a) => {
|
|
799
|
-
const { IconComponent: u, iconProps:
|
|
800
|
-
if (u &&
|
|
801
|
-
const
|
|
802
|
-
|
|
803
|
-
const
|
|
804
|
-
u &&
|
|
820
|
+
const { IconComponent: u, iconProps: g } = a.properties || {}, { coordinates: f } = a.geometry;
|
|
821
|
+
if (u && f.length >= 2) {
|
|
822
|
+
const p = document.createElement("div");
|
|
823
|
+
p.className = "react-custom-marker", p.style.position = "absolute";
|
|
824
|
+
const l = document.createElement("div"), T = Be.createRoot(l);
|
|
825
|
+
u && T.render(fe.createElement(u, g || {})), p.appendChild(l), new jr(p).setLngLat([f[0], f[1]]).addTo(t);
|
|
805
826
|
}
|
|
806
827
|
});
|
|
807
|
-
},
|
|
828
|
+
}, Xr = (t) => ({
|
|
808
829
|
features: (t == null ? void 0 : t.map((n, i) => ({
|
|
809
830
|
geometry: {
|
|
810
831
|
coordinates: [
|
|
811
|
-
Number.isFinite(Number(n.lng)) ? Number(n.lng) : Number(
|
|
812
|
-
Number.isFinite(Number(n.lat)) ? Number(n.lat) : Number(
|
|
832
|
+
Number.isFinite(Number(n.lng)) ? Number(n.lng) : Number(de),
|
|
833
|
+
Number.isFinite(Number(n.lat)) ? Number(n.lat) : Number(pe)
|
|
813
834
|
],
|
|
814
835
|
type: "Point"
|
|
815
836
|
},
|
|
@@ -825,22 +846,22 @@ const qr = (t) => {
|
|
|
825
846
|
type: "Feature"
|
|
826
847
|
}))) || [],
|
|
827
848
|
type: "FeatureCollection"
|
|
828
|
-
}),
|
|
849
|
+
}), Zr = ({ map: t, setLoadingMapBox: n, palette: i, markers: a }) => {
|
|
829
850
|
if (n(!1), !t.current) return;
|
|
830
|
-
const u =
|
|
831
|
-
var
|
|
832
|
-
return ((
|
|
833
|
-
}),
|
|
834
|
-
var
|
|
835
|
-
return (
|
|
851
|
+
const u = Xr(a), g = u.features.filter((p) => {
|
|
852
|
+
var l;
|
|
853
|
+
return ((l = p.properties) == null ? void 0 : l.IconComponent) === void 0;
|
|
854
|
+
}), f = u.features.filter((p) => {
|
|
855
|
+
var l;
|
|
856
|
+
return (l = p.properties) == null ? void 0 : l.IconComponent;
|
|
836
857
|
});
|
|
837
|
-
|
|
838
|
-
},
|
|
839
|
-
var
|
|
858
|
+
f.length && Hr(t.current, f), g.length && Kr(t.current, "markerProps", g, i);
|
|
859
|
+
}, Qr = ({ mapStyle: t, mapContainer: n, zoomFlyFrom: i, markers: a, center: u }) => {
|
|
860
|
+
var f, p;
|
|
840
861
|
return {
|
|
841
|
-
center: u ?
|
|
842
|
-
lat: ((
|
|
843
|
-
lng: ((
|
|
862
|
+
center: u ? Je(u) : {
|
|
863
|
+
lat: ((f = a == null ? void 0 : a[0]) == null ? void 0 : f.lat) !== void 0 ? Number(a[0].lat) : pe,
|
|
864
|
+
lng: ((p = a == null ? void 0 : a[0]) == null ? void 0 : p.lng) !== void 0 ? Number(a[0].lng) : de
|
|
844
865
|
},
|
|
845
866
|
container: (n == null ? void 0 : n.current) || "",
|
|
846
867
|
cooperativeGestures: !0,
|
|
@@ -848,94 +869,99 @@ const qr = (t) => {
|
|
|
848
869
|
style: t,
|
|
849
870
|
zoom: i
|
|
850
871
|
};
|
|
851
|
-
},
|
|
872
|
+
}, de = 2.333, pe = 46.8677, et = ({
|
|
852
873
|
markers: t,
|
|
853
874
|
loading: n,
|
|
854
875
|
center: i,
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
876
|
+
openPopup: a,
|
|
877
|
+
onMapClick: u,
|
|
878
|
+
flyToDuration: g = 5e3,
|
|
879
|
+
fitBoundDuration: f = 1e3,
|
|
880
|
+
fitBounds: p = !0,
|
|
881
|
+
disableFlyTo: l = !1,
|
|
882
|
+
fitBoundsPadding: T = 50,
|
|
883
|
+
mapStyle: y = "mapbox://styles/mapbox/streets-v12?optimize=true",
|
|
861
884
|
zoom: x = 6,
|
|
862
|
-
zoomFlyFrom:
|
|
863
|
-
openPopup: T,
|
|
864
|
-
onMapClick: S
|
|
885
|
+
zoomFlyFrom: S = 3
|
|
865
886
|
}) => {
|
|
866
|
-
const { palette: j } =
|
|
867
|
-
return
|
|
868
|
-
if (
|
|
887
|
+
const { palette: j } = Dr(), [U, Y] = $e(!0), [D, L] = $e(!0), R = ke(null), b = ke(null), H = !t || t.some((_) => _.lat === void 0 || _.lng === void 0);
|
|
888
|
+
return M(() => {
|
|
889
|
+
if (!Jr()) {
|
|
890
|
+
L(!1), Y(!1);
|
|
891
|
+
return;
|
|
892
|
+
}
|
|
893
|
+
if (b.current || !R.current || n)
|
|
869
894
|
return;
|
|
870
|
-
|
|
871
|
-
const
|
|
872
|
-
|
|
873
|
-
}, [i, n,
|
|
874
|
-
if (!
|
|
875
|
-
const
|
|
876
|
-
|
|
895
|
+
R.current.innerHTML !== "" && (R.current.innerHTML = "");
|
|
896
|
+
const _ = Qr({ center: i, mapContainer: R, mapStyle: y, markers: t, zoomFlyFrom: S });
|
|
897
|
+
b.current = new Ar(_);
|
|
898
|
+
}, [i, n, y, t, S]), M(() => {
|
|
899
|
+
if (!b.current || H) return;
|
|
900
|
+
const _ = () => {
|
|
901
|
+
Zr({ map: b, markers: t, palette: j, setLoadingMapBox: Y });
|
|
877
902
|
};
|
|
878
|
-
|
|
879
|
-
}, [t,
|
|
880
|
-
if (!
|
|
881
|
-
const
|
|
882
|
-
if (
|
|
883
|
-
const E = t.find((N) => N.id ===
|
|
884
|
-
qe({ coordinates:
|
|
903
|
+
b.current.loaded() ? _() : b.current.once("load", _);
|
|
904
|
+
}, [t, H, j]), M(() => {
|
|
905
|
+
if (!b.current || !t) return;
|
|
906
|
+
const _ = b.current._popups;
|
|
907
|
+
if (_.length && _.forEach((E) => E.remove()), a) {
|
|
908
|
+
const E = t.find((N) => N.id === a), $ = [Number(E == null ? void 0 : E.lng) || 0, Number(E == null ? void 0 : E.lat) || 0];
|
|
909
|
+
qe({ coordinates: $, map: b, tooltip: E == null ? void 0 : E.Tooltip });
|
|
885
910
|
}
|
|
886
911
|
const O = (E) => {
|
|
887
|
-
|
|
912
|
+
qr({ event: E, map: b, markers: t });
|
|
888
913
|
};
|
|
889
|
-
return
|
|
914
|
+
return b.current.on("click", O), () => {
|
|
890
915
|
var E;
|
|
891
|
-
(E =
|
|
916
|
+
(E = b.current) == null || E.off("click", O);
|
|
892
917
|
};
|
|
893
|
-
}, [
|
|
894
|
-
if (!
|
|
895
|
-
const
|
|
896
|
-
|
|
897
|
-
}, [i]),
|
|
898
|
-
if (!
|
|
899
|
-
const
|
|
900
|
-
return
|
|
918
|
+
}, [b, t, a]), M(() => {
|
|
919
|
+
if (!b.current || !i) return;
|
|
920
|
+
const _ = Array.isArray(i) && Ve(i[1], i[0]) ? Je(i) : { lat: pe, lng: de };
|
|
921
|
+
_ && b.current.setCenter(_);
|
|
922
|
+
}, [i]), M(() => {
|
|
923
|
+
if (!b.current || !u) return;
|
|
924
|
+
const _ = (O) => u(O.lngLat.lng, O.lngLat.lat);
|
|
925
|
+
return b.current.on("click", _), () => {
|
|
901
926
|
var O;
|
|
902
|
-
(O =
|
|
927
|
+
(O = b.current) == null || O.off("click", _);
|
|
903
928
|
};
|
|
904
|
-
}, [
|
|
905
|
-
if (!
|
|
906
|
-
duration:
|
|
929
|
+
}, [u]), M(() => {
|
|
930
|
+
if (!b.current || (l || b.current.flyTo({
|
|
931
|
+
duration: g,
|
|
907
932
|
zoom: x
|
|
908
|
-
}), !
|
|
909
|
-
const
|
|
910
|
-
const
|
|
911
|
-
return
|
|
933
|
+
}), !p || !(t != null && t.length) || (t == null ? void 0 : t.length) < 2)) return;
|
|
934
|
+
const _ = new Lr(), O = t.filter((E) => {
|
|
935
|
+
const $ = Number(E.lng), N = Number(E.lat);
|
|
936
|
+
return Ve(N, $);
|
|
912
937
|
});
|
|
913
938
|
if (!(O.length < 2)) {
|
|
914
939
|
for (let E = 0; E < O.length; E += 1) {
|
|
915
|
-
const
|
|
916
|
-
|
|
940
|
+
const $ = Number(O[E].lng), N = Number(O[E].lat);
|
|
941
|
+
_.extend([$, N]);
|
|
917
942
|
}
|
|
918
|
-
|
|
919
|
-
duration:
|
|
920
|
-
padding:
|
|
943
|
+
b.current.fitBounds(_, {
|
|
944
|
+
duration: f,
|
|
945
|
+
padding: T
|
|
921
946
|
});
|
|
922
947
|
}
|
|
923
|
-
}, [t,
|
|
948
|
+
}, [t, p, T, g, x, f, l]), M(
|
|
924
949
|
() => () => {
|
|
925
|
-
|
|
950
|
+
b.current && (b.current.remove(), b.current = null);
|
|
926
951
|
},
|
|
927
952
|
[]
|
|
928
953
|
), {
|
|
929
|
-
loading:
|
|
930
|
-
map:
|
|
931
|
-
mapContainer:
|
|
932
|
-
markers: t
|
|
954
|
+
loading: U || n,
|
|
955
|
+
map: b,
|
|
956
|
+
mapContainer: R,
|
|
957
|
+
markers: t,
|
|
958
|
+
webGLSupported: D
|
|
933
959
|
};
|
|
934
|
-
},
|
|
935
|
-
const { loading:
|
|
936
|
-
return /* @__PURE__ */
|
|
937
|
-
/* @__PURE__ */
|
|
938
|
-
|
|
960
|
+
}, ct = ({ containerStyle: t, square: n, theme: i, height: a = 300, width: u = "100%", ...g }) => {
|
|
961
|
+
const { loading: f, mapContainer: p, webGLSupported: l } = et(g);
|
|
962
|
+
return /* @__PURE__ */ F.jsxs(F.Fragment, { children: [
|
|
963
|
+
/* @__PURE__ */ F.jsx(
|
|
964
|
+
Nr,
|
|
939
965
|
{
|
|
940
966
|
styles: {
|
|
941
967
|
".mapboxgl-popup-content": {
|
|
@@ -948,26 +974,26 @@ const qr = (t) => {
|
|
|
948
974
|
}
|
|
949
975
|
}
|
|
950
976
|
),
|
|
951
|
-
/* @__PURE__ */
|
|
977
|
+
/* @__PURE__ */ F.jsx(
|
|
978
|
+
Yr,
|
|
979
|
+
{
|
|
980
|
+
ref: p,
|
|
981
|
+
loading: f,
|
|
982
|
+
height: a,
|
|
983
|
+
width: u,
|
|
984
|
+
containerStyle: t,
|
|
985
|
+
square: n,
|
|
986
|
+
error: !l && "WebGL is not enabled in your browser. This technology is required to display the interactive map."
|
|
987
|
+
}
|
|
988
|
+
)
|
|
952
989
|
] });
|
|
953
|
-
},
|
|
954
|
-
licenceMapbox: "",
|
|
955
|
-
licenseMuiX: ""
|
|
956
|
-
}), st = ({ children: t, licenseMuiX: n, licenceMapbox: i }) => {
|
|
957
|
-
L(() => {
|
|
958
|
-
n && Mr.setLicenseKey(n);
|
|
959
|
-
}, [n]);
|
|
960
|
-
const a = Sr(
|
|
961
|
-
() => ({
|
|
962
|
-
licenceMapbox: i,
|
|
963
|
-
licenseMuiX: n
|
|
964
|
-
}),
|
|
965
|
-
[n, i]
|
|
966
|
-
);
|
|
967
|
-
return i && (jr.accessToken = i), /* @__PURE__ */ I.jsx(et.Provider, { value: a, children: t });
|
|
968
|
-
};
|
|
990
|
+
}, Ve = (t, n) => Number.isFinite(t) && Number.isFinite(n) && t >= -90 && t <= 90 && n >= -180 && n <= 180;
|
|
969
991
|
export {
|
|
970
|
-
st as
|
|
971
|
-
|
|
972
|
-
|
|
992
|
+
st as DEFAULT_CENTER_LAT,
|
|
993
|
+
it as DEFAULT_CENTER_LNG,
|
|
994
|
+
ut as MapProvider,
|
|
995
|
+
Wr as MapProviderContext,
|
|
996
|
+
ct as MarkerMap,
|
|
997
|
+
Ve as isValidLatLng,
|
|
998
|
+
Jr as isWebGLSupported
|
|
973
999
|
};
|