@tracktor/map 0.1.4 → 0.2.1

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/main.js CHANGED
@@ -1,9 +1,10 @@
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 ue, { forwardRef as Cr, useState as xr, useRef as Me, useEffect as L, createContext as Tr, useMemo as Sr } from "react";
3
- import { Box as Ne, Skeleton as Or, useTheme as Pr, GlobalStyles as wr } from "@tracktor/design-system";
4
- import jr, { Popup as Ar, Marker as Fr, Map as Dr, LngLatBounds as Lr } from "mapbox-gl";
2
+ import ue, { createContext as Cr, useEffect as D, useMemo as Tr, forwardRef as xr, useState as Sr, useRef as Ie } 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 Fr } from "mapbox-gl";
5
+ import { Box as Me, Skeleton as Lr, useTheme as Dr, GlobalStyles as Nr } from "@tracktor/design-system";
5
6
  import Ir from "react-dom";
6
- import { LicenseInfo as Mr } from "@mui/x-license";
7
+ const it = 2.333, st = 46.8677;
7
8
  var Q = { exports: {} }, J = {};
8
9
  /**
9
10
  * @license React
@@ -14,17 +15,17 @@ 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 ke;
18
- function Nr() {
19
- if (ke) return J;
20
- ke = 1;
21
- var t = ue, 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, h = { key: !0, ref: !0, __self: !0, __source: !0 };
22
- function p(v, d, x) {
23
- var g, T = {}, S = null, j = null;
24
- x !== void 0 && (S = "" + x), d.key !== void 0 && (S = "" + d.key), d.ref !== void 0 && (j = d.ref);
25
- for (g in d) a.call(d, g) && !h.hasOwnProperty(g) && (T[g] = d[g]);
26
- if (v && v.defaultProps) for (g in d = v.defaultProps, d) T[g] === void 0 && (T[g] = d[g]);
27
- return { $$typeof: n, type: v, key: S, ref: j, props: T, _owner: u.current };
18
+ var $e;
19
+ function Mr() {
20
+ if ($e) return J;
21
+ $e = 1;
22
+ var t = ue, 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, E = { key: !0, ref: !0, __self: !0, __source: !0 };
23
+ function p(v, d, T) {
24
+ var g, x = {}, S = null, j = null;
25
+ T !== void 0 && (S = "" + T), d.key !== void 0 && (S = "" + d.key), d.ref !== void 0 && (j = d.ref);
26
+ for (g in d) a.call(d, g) && !E.hasOwnProperty(g) && (x[g] = d[g]);
27
+ if (v && v.defaultProps) for (g in d = v.defaultProps, d) x[g] === void 0 && (x[g] = d[g]);
28
+ return { $$typeof: n, type: v, key: S, ref: j, props: x, _owner: u.current };
28
29
  }
29
30
  return J.Fragment = i, J.jsx = p, J.jsxs = p, J;
30
31
  }
@@ -38,10 +39,10 @@ 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 $e;
42
- function kr() {
43
- return $e || ($e = 1, process.env.NODE_ENV !== "production" && function() {
44
- var t = ue, n = Symbol.for("react.element"), i = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), v = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), W = Symbol.iterator, B = "@@iterator";
42
+ var ke;
43
+ function $r() {
44
+ return ke || (ke = 1, process.env.NODE_ENV !== "production" && function() {
45
+ var t = ue, n = Symbol.for("react.element"), i = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), E = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), v = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), W = Symbol.iterator, B = "@@iterator";
45
46
  function A(e) {
46
47
  if (e === null || typeof e != "object")
47
48
  return null;
@@ -66,10 +67,10 @@ function kr() {
66
67
  b.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, b);
67
68
  }
68
69
  }
69
- var O = !1, E = !1, M = !1, N = !1, Je = !1, fe;
70
+ var O = !1, h = !1, I = !1, M = !1, Je = !1, fe;
70
71
  fe = Symbol.for("react.module.reference");
71
72
  function ze(e) {
72
- return !!(typeof e == "string" || typeof e == "function" || e === a || e === h || Je || e === u || e === x || e === g || N || e === j || O || E || M || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === T || e.$$typeof === p || e.$$typeof === v || e.$$typeof === d || // This needs to include all possible module reference object
73
+ return !!(typeof e == "string" || typeof e == "function" || e === a || e === E || Je || e === u || e === T || e === g || M || e === j || O || h || I || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === x || e.$$typeof === p || e.$$typeof === v || e.$$typeof === d || // 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.
@@ -85,7 +86,7 @@ function kr() {
85
86
  function de(e) {
86
87
  return e.displayName || "Context";
87
88
  }
88
- function D(e) {
89
+ function L(e) {
89
90
  if (e == null)
90
91
  return null;
91
92
  if (typeof e.tag == "number" && C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
@@ -97,11 +98,11 @@ function kr() {
97
98
  return "Fragment";
98
99
  case i:
99
100
  return "Portal";
100
- case h:
101
+ case E:
101
102
  return "Profiler";
102
103
  case u:
103
104
  return "StrictMode";
104
- case x:
105
+ case T:
105
106
  return "Suspense";
106
107
  case g:
107
108
  return "SuspenseList";
@@ -116,13 +117,13 @@ function kr() {
116
117
  return de(o._context) + ".Provider";
117
118
  case d:
118
119
  return Ke(e, e.render, "ForwardRef");
119
- case T:
120
+ case x:
120
121
  var s = e.displayName || null;
121
- return s !== null ? s : D(e.type) || "Memo";
122
+ return s !== null ? s : L(e.type) || "Memo";
122
123
  case S: {
123
124
  var y = e, b = y._payload, f = y._init;
124
125
  try {
125
- return D(f(b));
126
+ return L(f(b));
126
127
  } catch {
127
128
  return null;
128
129
  }
@@ -130,14 +131,14 @@ function kr() {
130
131
  }
131
132
  return null;
132
133
  }
133
- var k = Object.assign, q = 0, pe, ve, ye, ge, be, he, Ee;
134
+ var $ = Object.assign, G = 0, pe, ve, ye, ge, be, Ee, he;
134
135
  function Re() {
135
136
  }
136
137
  Re.__reactDisabledLog = !0;
137
138
  function He() {
138
139
  {
139
- if (q === 0) {
140
- pe = console.log, ve = console.info, ye = console.warn, ge = console.error, be = console.group, he = console.groupCollapsed, Ee = console.groupEnd;
140
+ if (G === 0) {
141
+ pe = console.log, ve = console.info, ye = console.warn, ge = console.error, be = console.group, Ee = console.groupCollapsed, he = console.groupEnd;
141
142
  var e = {
142
143
  configurable: !0,
143
144
  enumerable: !0,
@@ -154,42 +155,42 @@ function kr() {
154
155
  groupEnd: e
155
156
  });
156
157
  }
157
- q++;
158
+ G++;
158
159
  }
159
160
  }
160
161
  function Xe() {
161
162
  {
162
- if (q--, q === 0) {
163
+ if (G--, G === 0) {
163
164
  var e = {
164
165
  configurable: !0,
165
166
  enumerable: !0,
166
167
  writable: !0
167
168
  };
168
169
  Object.defineProperties(console, {
169
- log: k({}, e, {
170
+ log: $({}, e, {
170
171
  value: pe
171
172
  }),
172
- info: k({}, e, {
173
+ info: $({}, e, {
173
174
  value: ve
174
175
  }),
175
- warn: k({}, e, {
176
+ warn: $({}, e, {
176
177
  value: ye
177
178
  }),
178
- error: k({}, e, {
179
+ error: $({}, e, {
179
180
  value: ge
180
181
  }),
181
- group: k({}, e, {
182
+ group: $({}, e, {
182
183
  value: be
183
184
  }),
184
- groupCollapsed: k({}, e, {
185
- value: he
186
- }),
187
- groupEnd: k({}, e, {
185
+ groupCollapsed: $({}, e, {
188
186
  value: Ee
187
+ }),
188
+ groupEnd: $({}, e, {
189
+ value: he
189
190
  })
190
191
  });
191
192
  }
192
- q < 0 && C("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
193
+ G < 0 && C("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
193
194
  }
194
195
  }
195
196
  var ee = l.ReactCurrentDispatcher, re;
@@ -211,7 +212,7 @@ function kr() {
211
212
  var Ze = typeof WeakMap == "function" ? WeakMap : Map;
212
213
  H = new Ze();
213
214
  }
214
- function me(e, r) {
215
+ function _e(e, r) {
215
216
  if (!e || te)
216
217
  return "";
217
218
  {
@@ -261,29 +262,29 @@ 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, _ = P.length - 1; m >= 1 && _ >= 0 && c[m] !== P[_]; )
265
- _--;
266
- for (; m >= 1 && _ >= 0; m--, _--)
267
- if (c[m] !== P[_]) {
268
- if (m !== 1 || _ !== 1)
265
+ `), _ = c.length - 1, m = P.length - 1; _ >= 1 && m >= 0 && c[_] !== P[m]; )
266
+ m--;
267
+ for (; _ >= 1 && m >= 0; _--, m--)
268
+ if (c[_] !== P[m]) {
269
+ if (_ !== 1 || m !== 1)
269
270
  do
270
- if (m--, _--, _ < 0 || c[m] !== P[_]) {
271
+ if (_--, m--, m < 0 || c[_] !== P[m]) {
271
272
  var F = `
272
- ` + c[m].replace(" at new ", " at ");
273
+ ` + c[_].replace(" at new ", " at ");
273
274
  return e.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", e.displayName)), typeof e == "function" && H.set(e, F), F;
274
275
  }
275
- while (m >= 1 && _ >= 0);
276
+ while (_ >= 1 && m >= 0);
276
277
  break;
277
278
  }
278
279
  }
279
280
  } finally {
280
281
  te = !1, ee.current = b, Xe(), Error.prepareStackTrace = y;
281
282
  }
282
- var U = e ? e.displayName || e.name : "", $ = U ? K(U) : "";
283
- return typeof e == "function" && H.set(e, $), $;
283
+ var Y = e ? e.displayName || e.name : "", k = Y ? K(Y) : "";
284
+ return typeof e == "function" && H.set(e, k), k;
284
285
  }
285
286
  function Qe(e, r, o) {
286
- return me(e, !1);
287
+ return _e(e, !1);
287
288
  }
288
289
  function er(e) {
289
290
  var r = e.prototype;
@@ -293,11 +294,11 @@ function kr() {
293
294
  if (e == null)
294
295
  return "";
295
296
  if (typeof e == "function")
296
- return me(e, er(e));
297
+ return _e(e, er(e));
297
298
  if (typeof e == "string")
298
299
  return K(e);
299
300
  switch (e) {
300
- case x:
301
+ case T:
301
302
  return K("Suspense");
302
303
  case g:
303
304
  return K("SuspenseList");
@@ -306,7 +307,7 @@ function kr() {
306
307
  switch (e.$$typeof) {
307
308
  case d:
308
309
  return Qe(e.render);
309
- case T:
310
+ case x:
310
311
  return X(e.type, r, o);
311
312
  case S: {
312
313
  var s = e, y = s._payload, b = s._init;
@@ -318,7 +319,7 @@ function kr() {
318
319
  }
319
320
  return "";
320
321
  }
321
- var G = Object.prototype.hasOwnProperty, _e = {}, Ce = l.ReactDebugCurrentFrame;
322
+ var q = Object.prototype.hasOwnProperty, me = {}, Ce = l.ReactDebugCurrentFrame;
322
323
  function Z(e) {
323
324
  if (e) {
324
325
  var r = e._owner, o = X(e.type, e._source, r ? r.type : null);
@@ -328,7 +329,7 @@ function kr() {
328
329
  }
329
330
  function rr(e, r, o, s, y) {
330
331
  {
331
- var b = Function.call.bind(G);
332
+ var b = Function.call.bind(q);
332
333
  for (var f in e)
333
334
  if (b(e, f)) {
334
335
  var c = void 0;
@@ -338,10 +339,10 @@ function kr() {
338
339
  throw P.name = "Invariant Violation", P;
339
340
  }
340
341
  c = e[f](r, f, s, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
- } catch (m) {
342
- c = m;
342
+ } catch (_) {
343
+ c = _;
343
344
  }
344
- c && !(c instanceof Error) && (Z(y), C("%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, f, typeof c), Z(null)), c instanceof Error && !(c.message in _e) && (_e[c.message] = !0, Z(y), C("Failed %s type: %s", o, c.message), Z(null));
345
+ c && !(c instanceof Error) && (Z(y), C("%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, f, typeof c), Z(null)), c instanceof Error && !(c.message in me) && (me[c.message] = !0, Z(y), C("Failed %s type: %s", o, c.message), Z(null));
345
346
  }
346
347
  }
347
348
  }
@@ -357,17 +358,17 @@ function kr() {
357
358
  }
358
359
  function or(e) {
359
360
  try {
360
- return xe(e), !1;
361
+ return Te(e), !1;
361
362
  } catch {
362
363
  return !0;
363
364
  }
364
365
  }
365
- function xe(e) {
366
+ function Te(e) {
366
367
  return "" + e;
367
368
  }
368
- function Te(e) {
369
+ function xe(e) {
369
370
  if (or(e))
370
- return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", nr(e)), xe(e);
371
+ return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", nr(e)), Te(e);
371
372
  }
372
373
  var Se = l.ReactCurrentOwner, ar = {
373
374
  key: !0,
@@ -376,7 +377,7 @@ function kr() {
376
377
  __source: !0
377
378
  }, Oe, Pe;
378
379
  function ir(e) {
379
- if (G.call(e, "ref")) {
380
+ if (q.call(e, "ref")) {
380
381
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
381
382
  if (r && r.isReactWarning)
382
383
  return !1;
@@ -384,7 +385,7 @@ function kr() {
384
385
  return e.ref !== void 0;
385
386
  }
386
387
  function sr(e) {
387
- if (G.call(e, "key")) {
388
+ if (q.call(e, "key")) {
388
389
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
389
390
  if (r && r.isReactWarning)
390
391
  return !1;
@@ -448,23 +449,23 @@ function kr() {
448
449
  function dr(e, r, o, s, y) {
449
450
  {
450
451
  var b, f = {}, c = null, P = null;
451
- o !== void 0 && (Te(o), c = "" + o), sr(r) && (Te(r.key), c = "" + r.key), ir(r) && (P = r.ref, ur(r, y));
452
+ o !== void 0 && (xe(o), c = "" + o), sr(r) && (xe(r.key), c = "" + r.key), ir(r) && (P = r.ref, ur(r, y));
452
453
  for (b in r)
453
- G.call(r, b) && !ar.hasOwnProperty(b) && (f[b] = r[b]);
454
+ q.call(r, b) && !ar.hasOwnProperty(b) && (f[b] = r[b]);
454
455
  if (e && e.defaultProps) {
455
- var m = e.defaultProps;
456
- for (b in m)
457
- f[b] === void 0 && (f[b] = m[b]);
456
+ var _ = e.defaultProps;
457
+ for (b in _)
458
+ f[b] === void 0 && (f[b] = _[b]);
458
459
  }
459
460
  if (c || P) {
460
- var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
461
- c && cr(f, _), P && lr(f, _);
461
+ var m = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
462
+ c && cr(f, m), P && lr(f, m);
462
463
  }
463
464
  return fr(e, c, P, y, s, Se.current, f);
464
465
  }
465
466
  }
466
467
  var oe = l.ReactCurrentOwner, we = l.ReactDebugCurrentFrame;
467
- function Y(e) {
468
+ function U(e) {
468
469
  if (e) {
469
470
  var r = e._owner, o = X(e.type, e._source, r ? r.type : null);
470
471
  we.setExtraStackFrame(o);
@@ -479,7 +480,7 @@ function kr() {
479
480
  function je() {
480
481
  {
481
482
  if (oe.current) {
482
- var e = D(oe.current.type);
483
+ var e = L(oe.current.type);
483
484
  if (e)
484
485
  return `
485
486
 
@@ -514,10 +515,10 @@ Check the top-level render call using <` + o + ">.");
514
515
  return;
515
516
  Ae[o] = !0;
516
517
  var s = "";
517
- e && e._owner && e._owner !== oe.current && (s = " It was passed a child from " + D(e._owner.type) + "."), Y(e), C('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), Y(null);
518
+ e && e._owner && e._owner !== oe.current && (s = " It was passed a child from " + L(e._owner.type) + "."), U(e), C('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), U(null);
518
519
  }
519
520
  }
520
- function De(e, r) {
521
+ function Le(e, r) {
521
522
  {
522
523
  if (typeof e != "object")
523
524
  return;
@@ -546,16 +547,16 @@ Check the top-level render call using <` + o + ">.");
546
547
  o = r.propTypes;
547
548
  else if (typeof r == "object" && (r.$$typeof === d || // Note: Memo only checks outer props here.
548
549
  // Inner props are checked in the reconciler.
549
- r.$$typeof === T))
550
+ r.$$typeof === x))
550
551
  o = r.propTypes;
551
552
  else
552
553
  return;
553
554
  if (o) {
554
- var s = D(r);
555
+ var s = L(r);
555
556
  rr(o, e.props, "prop", s, e);
556
557
  } else if (r.PropTypes !== void 0 && !ae) {
557
558
  ae = !0;
558
- var y = D(r);
559
+ var y = L(r);
559
560
  C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
560
561
  }
561
562
  typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -566,15 +567,15 @@ Check the top-level render call using <` + o + ">.");
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
- Y(e), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", s), Y(null);
570
+ U(e), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", s), U(null);
570
571
  break;
571
572
  }
572
573
  }
573
- e.ref !== null && (Y(e), C("Invalid attribute `ref` supplied to `React.Fragment`."), Y(null));
574
+ e.ref !== null && (U(e), C("Invalid attribute `ref` supplied to `React.Fragment`."), U(null));
574
575
  }
575
576
  }
576
- var Le = {};
577
- function Ie(e, r, o, s, y, b) {
577
+ var De = {};
578
+ function Ne(e, r, o, s, y, b) {
578
579
  {
579
580
  var f = ze(e);
580
581
  if (!f) {
@@ -582,60 +583,75 @@ Check the top-level render call using <` + o + ">.");
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
584
  var P = pr();
584
585
  P ? c += P : c += je();
585
- var m;
586
- e === null ? m = "null" : ne(e) ? m = "array" : e !== void 0 && e.$$typeof === n ? (m = "<" + (D(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : m = typeof e, C("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);
586
+ var _;
587
+ e === null ? _ = "null" : ne(e) ? _ = "array" : e !== void 0 && e.$$typeof === n ? (_ = "<" + (L(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof e, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, c);
587
588
  }
588
- var _ = dr(e, r, o, y, b);
589
- if (_ == null)
590
- return _;
589
+ var m = dr(e, r, o, y, b);
590
+ if (m == null)
591
+ return m;
591
592
  if (f) {
592
593
  var F = r.children;
593
594
  if (F !== void 0)
594
595
  if (s)
595
596
  if (ne(F)) {
596
- for (var U = 0; U < F.length; U++)
597
- De(F[U], e);
597
+ for (var Y = 0; Y < F.length; Y++)
598
+ Le(F[Y], e);
598
599
  Object.freeze && Object.freeze(F);
599
600
  } else
600
601
  C("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
- De(F, e);
603
+ Le(F, e);
603
604
  }
604
- if (G.call(r, "key")) {
605
- var $ = D(e), w = Object.keys(r).filter(function(_r) {
606
- return _r !== "key";
605
+ if (q.call(r, "key")) {
606
+ var k = L(e), w = Object.keys(r).filter(function(mr) {
607
+ return mr !== "key";
607
608
  }), se = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
608
- if (!Le[$ + se]) {
609
- var mr = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
609
+ if (!De[k + se]) {
610
+ var _r = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
610
611
  C(`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} />`, se, $, mr, $), Le[$ + se] = !0;
616
+ <%s key={someKey} {...props} />`, se, k, _r, k), De[k + se] = !0;
616
617
  }
617
618
  }
618
- return e === a ? gr(_) : yr(_), _;
619
+ return e === a ? gr(m) : yr(m), m;
619
620
  }
620
621
  }
621
622
  function br(e, r, o) {
622
- return Ie(e, r, o, !0);
623
+ return Ne(e, r, o, !0);
623
624
  }
624
- function hr(e, r, o) {
625
- return Ie(e, r, o, !1);
625
+ function Er(e, r, o) {
626
+ return Ne(e, r, o, !1);
626
627
  }
627
- var Er = hr, Rr = br;
628
- z.Fragment = a, z.jsx = Er, z.jsxs = Rr;
628
+ var hr = Er, Rr = br;
629
+ z.Fragment = a, z.jsx = hr, z.jsxs = Rr;
629
630
  }()), z;
630
631
  }
631
632
  var We;
632
- function $r() {
633
- return We || (We = 1, process.env.NODE_ENV === "production" ? Q.exports = Nr() : Q.exports = kr()), Q.exports;
633
+ function kr() {
634
+ return We || (We = 1, process.env.NODE_ENV === "production" ? Q.exports = Mr() : Q.exports = $r()), Q.exports;
634
635
  }
635
- var I = $r();
636
- const Wr = ({ containerStyle: t, square: n, loading: i = !1, height: a = 300, width: u = "100%" }, h) => /* @__PURE__ */ I.jsxs(Ne, { sx: { position: "relative" }, height: a, children: [
637
- /* @__PURE__ */ I.jsx(
638
- Ne,
636
+ var N = kr();
637
+ const Wr = Cr({
638
+ licenceMapbox: "",
639
+ licenseMuiX: ""
640
+ }), ut = ({ children: t, licenseMuiX: n, licenceMapbox: i }) => {
641
+ D(() => {
642
+ n && Or.setLicenseKey(n);
643
+ }, [n]);
644
+ const a = Tr(
645
+ () => ({
646
+ licenceMapbox: i,
647
+ licenseMuiX: n
648
+ }),
649
+ [n, i]
650
+ );
651
+ return i && (Pr.accessToken = i), /* @__PURE__ */ N.jsx(Wr.Provider, { value: a, children: t });
652
+ }, Ur = ({ containerStyle: t, square: n, loading: i = !1, height: a = 300, width: u = "100%" }, E) => /* @__PURE__ */ N.jsxs(Me, { sx: { position: "relative" }, height: a, children: [
653
+ /* @__PURE__ */ N.jsx(
654
+ Me,
639
655
  {
640
656
  sx: {
641
657
  borderRadius: n ? 0 : 1,
@@ -645,13 +661,13 @@ const Wr = ({ containerStyle: t, square: n, loading: i = !1, height: a = 300, wi
645
661
  zIndex: 1,
646
662
  ...t
647
663
  },
648
- ref: h,
664
+ ref: E,
649
665
  width: u,
650
666
  height: a
651
667
  }
652
668
  ),
653
- i && /* @__PURE__ */ I.jsx(
654
- Or,
669
+ i && /* @__PURE__ */ N.jsx(
670
+ Lr,
655
671
  {
656
672
  sx: {
657
673
  left: 0,
@@ -664,27 +680,9 @@ const Wr = ({ containerStyle: t, square: n, loading: i = !1, height: a = 300, wi
664
680
  variant: n ? "rectangular" : "rounded"
665
681
  }
666
682
  )
667
- ] }), Yr = Cr(Wr), Ve = (t) => typeof t == "object" && t !== null && "type" in t && "coordinates" in t, Ur = (t) => {
668
- if (typeof t != "object" || t === null || !("geometry" in t && "properties" in t))
669
- return !1;
670
- const { geometry: i } = t;
671
- if (typeof i != "object" || i === null || !("coordinates" in i))
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
- };
683
+ ] }), Yr = xr(Ur);
686
684
  var V = {}, Ue;
687
- function Br() {
685
+ function Vr() {
688
686
  if (Ue) return V;
689
687
  Ue = 1;
690
688
  var t = Ir;
@@ -710,43 +708,61 @@ function Br() {
710
708
  }
711
709
  return V;
712
710
  }
713
- var Be = Br();
714
- const qr = (t) => {
711
+ var Ve = Vr();
712
+ const Br = (t) => {
715
713
  const n = document.createElement("button");
716
714
  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
- }, qe = ({ map: t, tooltip: n, coordinates: i }) => {
715
+ }, Be = ({ map: t, tooltip: n, coordinates: i }) => {
718
716
  if (!i || !n || !t.current || !Array.isArray(i) || i.length !== 2)
719
717
  return;
720
718
  const a = document.createElement("div");
721
719
  a.style.position = "relative", a.style.overflow = "hidden";
722
720
  const u = document.createElement("div");
723
721
  u.style.padding = "10px";
724
- const h = Be.createRoot(u);
725
- h.render(n);
726
- const p = new Ar({
722
+ const E = Ve.createRoot(u);
723
+ E.render(n);
724
+ const p = new wr({
727
725
  closeButton: !1
728
726
  }).setLngLat(i).setDOMContent(a).addTo(t.current);
729
727
  p.on("close", () => {
730
- h.unmount();
728
+ E.unmount();
731
729
  });
732
- const v = qr(p);
730
+ const v = Br(p);
733
731
  a.appendChild(v), a.appendChild(u);
734
- }, Ge = (t) => Array.isArray(t) ? t.length >= 2 ? [t[0], t[1]] : void 0 : t, Gr = ({ map: t, markers: n, event: i }) => {
735
- var h, p, v, d, x;
736
- if (!((h = t.current) != null && h.isStyleLoaded()))
732
+ }, Ge = (t) => Array.isArray(t) ? t.length >= 2 ? [t[0], t[1]] : void 0 : t, qe = (t) => typeof t == "object" && t !== null && "type" in t && "coordinates" in t, Gr = (t) => {
733
+ if (typeof t != "object" || t === null || !("geometry" in t && "properties" in t))
734
+ return !1;
735
+ const { geometry: i } = t;
736
+ if (typeof i != "object" || i === null || !("coordinates" in i))
737
+ return !1;
738
+ const { coordinates: a } = i;
739
+ if (!Array.isArray(a) || a.length !== 2 || !qe(i))
740
+ return !1;
741
+ const { properties: u } = t;
742
+ return typeof u != "object" || u === null ? !1 : "id" in u && u.id !== void 0;
743
+ }, qr = ({ map: t, markers: n, event: i }) => {
744
+ var E, p, v, d, T;
745
+ if (!((E = t.current) != null && E.isStyleLoaded()))
737
746
  return;
738
- const a = ((d = (v = (p = t.current) == null ? void 0 : p.getStyle()) == null ? void 0 : v.layers) == null ? void 0 : d.filter((g) => g.id.startsWith("marker-")).map((g) => g.id)) || [], u = (x = t.current) == null ? void 0 : x.queryRenderedFeatures(i.point, { layers: a });
747
+ const a = ((d = (v = (p = t.current) == null ? void 0 : p.getStyle()) == null ? void 0 : v.layers) == null ? void 0 : d.filter((g) => g.id.startsWith("marker-")).map((g) => g.id)) || [], u = (T = t.current) == null ? void 0 : T.queryRenderedFeatures(i.point, { layers: a });
739
748
  if (u && u.length > 0) {
740
749
  const g = u[0];
741
- if (!Ur(g) || !Ve(g.geometry))
750
+ if (!Gr(g) || !qe(g.geometry))
742
751
  return;
743
- const { geometry: T } = g, { properties: S } = g, j = T.coordinates.slice();
752
+ const { geometry: x } = g, { properties: S } = g, j = x.coordinates.slice();
744
753
  if (j.length !== 2 || typeof j[0] != "number" || typeof j[1] != "number")
745
754
  return;
746
755
  const [W, B] = j, A = n.find((l) => l.id === (S == null ? void 0 : S.id));
747
- A && qe({ coordinates: [W, B], map: t, tooltip: A == null ? void 0 : A.Tooltip });
756
+ A && Be({ coordinates: [W, B], map: t, tooltip: A == null ? void 0 : A.Tooltip });
748
757
  }
749
- }, Jr = ({ palette: t, type: n }) => {
758
+ }, Jr = () => {
759
+ try {
760
+ const t = document.createElement("canvas");
761
+ return !!(window.WebGLRenderingContext && (t.getContext("webgl") || t.getContext("experimental-webgl")));
762
+ } catch {
763
+ return !1;
764
+ }
765
+ }, zr = ({ palette: t, type: n }) => {
750
766
  const i = t.mode === "dark" ? "black" : "white", a = t.secondary.main, u = t.info.main;
751
767
  switch (n) {
752
768
  case "dropOff":
@@ -764,7 +780,7 @@ const qr = (t) => {
764
780
  "circle-stroke-width": 8
765
781
  };
766
782
  }
767
- }, zr = (t, n, i, a) => {
783
+ }, Kr = (t, n, i, a) => {
768
784
  const u = {
769
785
  features: i.map((p) => ({
770
786
  geometry: {
@@ -778,33 +794,33 @@ const qr = (t) => {
778
794
  type: "Feature"
779
795
  })),
780
796
  type: "FeatureCollection"
781
- }, h = t.getSource(n);
782
- h ? h.setData(u) : t.addSource(n, {
797
+ }, E = t.getSource(n);
798
+ E ? E.setData(u) : t.addSource(n, {
783
799
  data: u,
784
800
  type: "geojson"
785
801
  }), u.features.forEach((p) => {
786
- const { description: v, id: d } = p.properties || {}, x = Jr({ palette: a, type: v }), g = `marker-${d}`;
787
- t.getLayer(g) ? Object.entries(x || {}).forEach(([T, S]) => {
788
- t.setPaintProperty(g, T, S);
802
+ const { description: v, id: d } = p.properties || {}, T = zr({ palette: a, type: v }), g = `marker-${d}`;
803
+ t.getLayer(g) ? Object.entries(T || {}).forEach(([x, S]) => {
804
+ t.setPaintProperty(g, x, S);
789
805
  }) : t.addLayer({
790
806
  filter: ["==", "id", d],
791
807
  id: g,
792
- paint: x,
808
+ paint: T,
793
809
  source: n,
794
810
  type: "circle"
795
811
  });
796
812
  });
797
- }, Kr = (t, n) => {
813
+ }, Hr = (t, n) => {
798
814
  document.querySelectorAll(".react-custom-marker").forEach((a) => a.remove()), n.forEach((a) => {
799
- const { IconComponent: u, iconProps: h } = a.properties || {}, { coordinates: p } = a.geometry;
815
+ const { IconComponent: u, iconProps: E } = a.properties || {}, { coordinates: p } = a.geometry;
800
816
  if (u && p.length >= 2) {
801
817
  const v = document.createElement("div");
802
818
  v.className = "react-custom-marker", v.style.position = "absolute";
803
- const d = document.createElement("div"), x = Be.createRoot(d);
804
- u && x.render(ue.createElement(u, h || {})), v.appendChild(d), new Fr(v).setLngLat([p[0], p[1]]).addTo(t);
819
+ const d = document.createElement("div"), T = Ve.createRoot(d);
820
+ u && T.render(ue.createElement(u, E || {})), v.appendChild(d), new jr(v).setLngLat([p[0], p[1]]).addTo(t);
805
821
  }
806
822
  });
807
- }, Hr = (t) => ({
823
+ }, Xr = (t) => ({
808
824
  features: (t == null ? void 0 : t.map((n, i) => ({
809
825
  geometry: {
810
826
  coordinates: [
@@ -825,17 +841,17 @@ const qr = (t) => {
825
841
  type: "Feature"
826
842
  }))) || [],
827
843
  type: "FeatureCollection"
828
- }), Xr = ({ map: t, setLoadingMapBox: n, palette: i, markers: a }) => {
844
+ }), Zr = ({ map: t, setLoadingMapBox: n, palette: i, markers: a }) => {
829
845
  if (n(!1), !t.current) return;
830
- const u = Hr(a), h = u.features.filter((v) => {
846
+ const u = Xr(a), E = u.features.filter((v) => {
831
847
  var d;
832
848
  return ((d = v.properties) == null ? void 0 : d.IconComponent) === void 0;
833
849
  }), p = u.features.filter((v) => {
834
850
  var d;
835
851
  return (d = v.properties) == null ? void 0 : d.IconComponent;
836
852
  });
837
- p.length && Kr(t.current, p), h.length && zr(t.current, "markerProps", h, i);
838
- }, Zr = ({ mapStyle: t, mapContainer: n, zoomFlyFrom: i, markers: a, center: u }) => {
853
+ p.length && Hr(t.current, p), E.length && Kr(t.current, "markerProps", E, i);
854
+ }, Qr = ({ mapStyle: t, mapContainer: n, zoomFlyFrom: i, markers: a, center: u }) => {
839
855
  var p, v;
840
856
  return {
841
857
  center: u ? Ge(u) : {
@@ -848,79 +864,79 @@ const qr = (t) => {
848
864
  style: t,
849
865
  zoom: i
850
866
  };
851
- }, ce = 2.333, le = 46.8677, Qr = ({
867
+ }, ce = 2.333, le = 46.8677, et = ({
852
868
  markers: t,
853
869
  loading: n,
854
870
  center: i,
855
871
  flyToDuration: a = 5e3,
856
872
  fitBoundDuration: u = 1e3,
857
- fitBounds: h = !0,
873
+ fitBounds: E = !0,
858
874
  disableFlyTo: p = !1,
859
875
  fitBoundsPadding: v = 50,
860
876
  mapStyle: d = "mapbox://styles/mapbox/streets-v12?optimize=true",
861
- zoom: x = 6,
877
+ zoom: T = 6,
862
878
  zoomFlyFrom: g = 3,
863
- openPopup: T,
879
+ openPopup: x,
864
880
  onMapClick: S
865
881
  }) => {
866
- const { palette: j } = Pr(), [W, B] = xr(!0), A = Me(null), l = Me(null), C = !t || t.some((R) => R.lat === void 0 || R.lng === void 0);
867
- return L(() => {
868
- if (l.current || !A.current || n || !Vr())
882
+ const { palette: j } = Dr(), [W, B] = Sr(!0), A = Ie(null), l = Ie(null), C = !t || t.some((R) => R.lat === void 0 || R.lng === void 0);
883
+ return D(() => {
884
+ if (l.current || !A.current || n || !Jr())
869
885
  return;
870
886
  A.current.innerHTML !== "" && (A.current.innerHTML = "");
871
- const R = Zr({ center: i, mapContainer: A, mapStyle: d, markers: t, zoomFlyFrom: g });
872
- l.current = new Dr(R);
873
- }, [i, n, d, t, g]), L(() => {
887
+ const R = Qr({ center: i, mapContainer: A, mapStyle: d, markers: t, zoomFlyFrom: g });
888
+ l.current = new Ar(R);
889
+ }, [i, n, d, t, g]), D(() => {
874
890
  if (!l.current || C) return;
875
891
  const R = () => {
876
- Xr({ map: l, markers: t, palette: j, setLoadingMapBox: B });
892
+ Zr({ map: l, markers: t, palette: j, setLoadingMapBox: B });
877
893
  };
878
894
  l.current.loaded() ? R() : l.current.once("load", R);
879
- }, [t, C, j]), L(() => {
895
+ }, [t, C, j]), D(() => {
880
896
  if (!l.current || !t) return;
881
897
  const R = l.current._popups;
882
- if (R.length && R.forEach((E) => E.remove()), T) {
883
- const E = t.find((N) => N.id === T), M = [Number(E == null ? void 0 : E.lng) || 0, Number(E == null ? void 0 : E.lat) || 0];
884
- qe({ coordinates: M, map: l, tooltip: E == null ? void 0 : E.Tooltip });
898
+ if (R.length && R.forEach((h) => h.remove()), x) {
899
+ const h = t.find((M) => M.id === x), I = [Number(h == null ? void 0 : h.lng) || 0, Number(h == null ? void 0 : h.lat) || 0];
900
+ Be({ coordinates: I, map: l, tooltip: h == null ? void 0 : h.Tooltip });
885
901
  }
886
- const O = (E) => {
887
- Gr({ event: E, map: l, markers: t });
902
+ const O = (h) => {
903
+ qr({ event: h, map: l, markers: t });
888
904
  };
889
905
  return l.current.on("click", O), () => {
890
- var E;
891
- (E = l.current) == null || E.off("click", O);
906
+ var h;
907
+ (h = l.current) == null || h.off("click", O);
892
908
  };
893
- }, [l, t, T]), L(() => {
909
+ }, [l, t, x]), D(() => {
894
910
  if (!l.current || !i) return;
895
911
  const R = Array.isArray(i) && Ye(i[1], i[0]) ? Ge(i) : { lat: le, lng: ce };
896
912
  R && l.current.setCenter(R);
897
- }, [i]), L(() => {
913
+ }, [i]), D(() => {
898
914
  if (!l.current || !S) return;
899
915
  const R = (O) => S(O.lngLat.lng, O.lngLat.lat);
900
916
  return l.current.on("click", R), () => {
901
917
  var O;
902
918
  (O = l.current) == null || O.off("click", R);
903
919
  };
904
- }, [S]), L(() => {
920
+ }, [S]), D(() => {
905
921
  if (!l.current || (p || l.current.flyTo({
906
922
  duration: a,
907
- zoom: x
908
- }), !h || !(t != null && t.length) || (t == null ? void 0 : t.length) < 2)) return;
909
- const R = new Lr(), O = t.filter((E) => {
910
- const M = Number(E.lng), N = Number(E.lat);
911
- return Ye(N, M);
923
+ zoom: T
924
+ }), !E || !(t != null && t.length) || (t == null ? void 0 : t.length) < 2)) return;
925
+ const R = new Fr(), O = t.filter((h) => {
926
+ const I = Number(h.lng), M = Number(h.lat);
927
+ return Ye(M, I);
912
928
  });
913
929
  if (!(O.length < 2)) {
914
- for (let E = 0; E < O.length; E += 1) {
915
- const M = Number(O[E].lng), N = Number(O[E].lat);
916
- R.extend([M, N]);
930
+ for (let h = 0; h < O.length; h += 1) {
931
+ const I = Number(O[h].lng), M = Number(O[h].lat);
932
+ R.extend([I, M]);
917
933
  }
918
934
  l.current.fitBounds(R, {
919
935
  duration: u,
920
936
  padding: v
921
937
  });
922
938
  }
923
- }, [t, h, v, a, x, u, p]), L(
939
+ }, [t, E, v, a, T, u, p]), D(
924
940
  () => () => {
925
941
  l.current && (l.current.remove(), l.current = null);
926
942
  },
@@ -931,11 +947,11 @@ const qr = (t) => {
931
947
  mapContainer: A,
932
948
  markers: t
933
949
  };
934
- }, it = ({ containerStyle: t, square: n, theme: i, height: a = 300, width: u = "100%", ...h }) => {
935
- const { loading: p, mapContainer: v } = Qr(h);
936
- return /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
937
- /* @__PURE__ */ I.jsx(
938
- wr,
950
+ }, ct = ({ containerStyle: t, square: n, theme: i, height: a = 300, width: u = "100%", ...E }) => {
951
+ const { loading: p, mapContainer: v } = et(E);
952
+ return /* @__PURE__ */ N.jsxs(N.Fragment, { children: [
953
+ /* @__PURE__ */ N.jsx(
954
+ Nr,
939
955
  {
940
956
  styles: {
941
957
  ".mapboxgl-popup-content": {
@@ -948,26 +964,15 @@ const qr = (t) => {
948
964
  }
949
965
  }
950
966
  ),
951
- /* @__PURE__ */ I.jsx(Yr, { ref: v, loading: p, height: a, width: u, containerStyle: t, square: n })
967
+ /* @__PURE__ */ N.jsx(Yr, { ref: v, loading: p, height: a, width: u, containerStyle: t, square: n })
952
968
  ] });
953
- }, et = Tr({
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
- };
969
+ }, Ye = (t, n) => Number.isFinite(t) && Number.isFinite(n) && t >= -90 && t <= 90 && n >= -180 && n <= 180;
969
970
  export {
970
- st as MapProvider,
971
- et as MapProviderContext,
972
- it as MarkerMap
971
+ st as DEFAULT_CENTER_LAT,
972
+ it as DEFAULT_CENTER_LNG,
973
+ ut as MapProvider,
974
+ Wr as MapProviderContext,
975
+ ct as MarkerMap,
976
+ Ye as isValidLatLng,
977
+ Jr as isWebGLSupported
973
978
  };