@tracktor/map 0.1.0 → 0.1.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.
@@ -1,10 +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";
5
- import Ir from "react-dom";
6
- import { LicenseInfo as Mr } from "@mui/x-license";
7
- var Q = { exports: {} }, J = {};
2
+ import q, { forwardRef as D, useState as J, useRef as A, useEffect as v, createContext as U, useMemo as W } from "react";
3
+ import { Box as P, Skeleton as H, useTheme as K, GlobalStyles as V } from "@tracktor/design-system";
4
+ import Y, { Popup as Q, Marker as Z, Map as X, LngLatBounds as k } from "mapbox-gl";
5
+ import ee from "react-dom";
6
+ import { LicenseInfo as te } from "@mui/x-license";
7
+ var M = { exports: {} }, L = {};
8
8
  /**
9
9
  * @license React
10
10
  * react-jsx-runtime.production.min.js
@@ -14,644 +14,44 @@ var Q = { exports: {} }, J = {};
14
14
  * This source code is licensed under the MIT license found in the
15
15
  * LICENSE file in the root directory of this source tree.
16
16
  */
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 };
17
+ var T;
18
+ function ne() {
19
+ if (T) return L;
20
+ T = 1;
21
+ var e = q, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, d = { key: !0, ref: !0, __self: !0, __source: !0 };
22
+ function i(s, c, f) {
23
+ var u, x = {}, y = null, b = null;
24
+ f !== void 0 && (y = "" + f), c.key !== void 0 && (y = "" + c.key), c.ref !== void 0 && (b = c.ref);
25
+ for (u in c) o.call(c, u) && !d.hasOwnProperty(u) && (x[u] = c[u]);
26
+ if (s && s.defaultProps) for (u in c = s.defaultProps, c) x[u] === void 0 && (x[u] = c[u]);
27
+ return { $$typeof: t, type: s, key: y, ref: b, props: x, _owner: r.current };
28
28
  }
29
- return J.Fragment = i, J.jsx = p, J.jsxs = p, J;
29
+ return L.Fragment = n, L.jsx = i, L.jsxs = i, L;
30
30
  }
31
- var z = {};
32
- /**
33
- * @license React
34
- * react-jsx-runtime.development.js
35
- *
36
- * Copyright (c) Facebook, Inc. and its affiliates.
37
- *
38
- * This source code is licensed under the MIT license found in the
39
- * LICENSE file in the root directory of this source tree.
40
- */
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";
45
- function A(e) {
46
- if (e === null || typeof e != "object")
47
- return null;
48
- var r = W && e[W] || e[B];
49
- return typeof r == "function" ? r : null;
50
- }
51
- var l = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
52
- function C(e) {
53
- {
54
- for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
55
- o[s - 1] = arguments[s];
56
- R("error", e, o);
57
- }
58
- }
59
- function R(e, r, o) {
60
- {
61
- var s = l.ReactDebugCurrentFrame, y = s.getStackAddendum();
62
- y !== "" && (r += "%s", o = o.concat([y]));
63
- var b = o.map(function(f) {
64
- return String(f);
65
- });
66
- b.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, b);
67
- }
68
- }
69
- var O = !1, E = !1, M = !1, N = !1, Je = !1, fe;
70
- fe = Symbol.for("react.module.reference");
71
- 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
- // types supported by any Flight configuration anywhere since
74
- // we don't know which Flight build this will end up being used
75
- // with.
76
- e.$$typeof === fe || e.getModuleId !== void 0));
77
- }
78
- function Ke(e, r, o) {
79
- var s = e.displayName;
80
- if (s)
81
- return s;
82
- var y = r.displayName || r.name || "";
83
- return y !== "" ? o + "(" + y + ")" : o;
84
- }
85
- function de(e) {
86
- return e.displayName || "Context";
87
- }
88
- function D(e) {
89
- if (e == null)
90
- return null;
91
- 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")
92
- return e.displayName || e.name || null;
93
- if (typeof e == "string")
94
- return e;
95
- switch (e) {
96
- case a:
97
- return "Fragment";
98
- case i:
99
- return "Portal";
100
- case h:
101
- return "Profiler";
102
- case u:
103
- return "StrictMode";
104
- case x:
105
- return "Suspense";
106
- case g:
107
- return "SuspenseList";
108
- }
109
- if (typeof e == "object")
110
- switch (e.$$typeof) {
111
- case v:
112
- var r = e;
113
- return de(r) + ".Consumer";
114
- case p:
115
- var o = e;
116
- return de(o._context) + ".Provider";
117
- case d:
118
- return Ke(e, e.render, "ForwardRef");
119
- case T:
120
- var s = e.displayName || null;
121
- return s !== null ? s : D(e.type) || "Memo";
122
- case S: {
123
- var y = e, b = y._payload, f = y._init;
124
- try {
125
- return D(f(b));
126
- } catch {
127
- return null;
128
- }
129
- }
130
- }
131
- return null;
132
- }
133
- var k = Object.assign, q = 0, pe, ve, ye, ge, be, he, Ee;
134
- function Re() {
135
- }
136
- Re.__reactDisabledLog = !0;
137
- function He() {
138
- {
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;
141
- var e = {
142
- configurable: !0,
143
- enumerable: !0,
144
- value: Re,
145
- writable: !0
146
- };
147
- Object.defineProperties(console, {
148
- info: e,
149
- log: e,
150
- warn: e,
151
- error: e,
152
- group: e,
153
- groupCollapsed: e,
154
- groupEnd: e
155
- });
156
- }
157
- q++;
158
- }
159
- }
160
- function Xe() {
161
- {
162
- if (q--, q === 0) {
163
- var e = {
164
- configurable: !0,
165
- enumerable: !0,
166
- writable: !0
167
- };
168
- Object.defineProperties(console, {
169
- log: k({}, e, {
170
- value: pe
171
- }),
172
- info: k({}, e, {
173
- value: ve
174
- }),
175
- warn: k({}, e, {
176
- value: ye
177
- }),
178
- error: k({}, e, {
179
- value: ge
180
- }),
181
- group: k({}, e, {
182
- value: be
183
- }),
184
- groupCollapsed: k({}, e, {
185
- value: he
186
- }),
187
- groupEnd: k({}, e, {
188
- value: Ee
189
- })
190
- });
191
- }
192
- q < 0 && C("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
193
- }
194
- }
195
- var ee = l.ReactCurrentDispatcher, re;
196
- function K(e, r, o) {
197
- {
198
- if (re === void 0)
199
- try {
200
- throw Error();
201
- } catch (y) {
202
- var s = y.stack.trim().match(/\n( *(at )?)/);
203
- re = s && s[1] || "";
204
- }
205
- return `
206
- ` + re + e;
207
- }
208
- }
209
- var te = !1, H;
210
- {
211
- var Ze = typeof WeakMap == "function" ? WeakMap : Map;
212
- H = new Ze();
213
- }
214
- function me(e, r) {
215
- if (!e || te)
216
- return "";
217
- {
218
- var o = H.get(e);
219
- if (o !== void 0)
220
- return o;
221
- }
222
- var s;
223
- te = !0;
224
- var y = Error.prepareStackTrace;
225
- Error.prepareStackTrace = void 0;
226
- var b;
227
- b = ee.current, ee.current = null, He();
228
- try {
229
- if (r) {
230
- var f = function() {
231
- throw Error();
232
- };
233
- if (Object.defineProperty(f.prototype, "props", {
234
- set: function() {
235
- throw Error();
236
- }
237
- }), typeof Reflect == "object" && Reflect.construct) {
238
- try {
239
- Reflect.construct(f, []);
240
- } catch (w) {
241
- s = w;
242
- }
243
- Reflect.construct(e, [], f);
244
- } else {
245
- try {
246
- f.call();
247
- } catch (w) {
248
- s = w;
249
- }
250
- e.call(f.prototype);
251
- }
252
- } else {
253
- try {
254
- throw Error();
255
- } catch (w) {
256
- s = w;
257
- }
258
- e();
259
- }
260
- } catch (w) {
261
- if (w && s && typeof w.stack == "string") {
262
- for (var c = w.stack.split(`
263
- `), 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)
269
- do
270
- if (m--, _--, _ < 0 || c[m] !== P[_]) {
271
- var F = `
272
- ` + c[m].replace(" at new ", " at ");
273
- return e.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", e.displayName)), typeof e == "function" && H.set(e, F), F;
274
- }
275
- while (m >= 1 && _ >= 0);
276
- break;
277
- }
278
- }
279
- } finally {
280
- te = !1, ee.current = b, Xe(), Error.prepareStackTrace = y;
281
- }
282
- var U = e ? e.displayName || e.name : "", $ = U ? K(U) : "";
283
- return typeof e == "function" && H.set(e, $), $;
284
- }
285
- function Qe(e, r, o) {
286
- return me(e, !1);
287
- }
288
- function er(e) {
289
- var r = e.prototype;
290
- return !!(r && r.isReactComponent);
291
- }
292
- function X(e, r, o) {
293
- if (e == null)
294
- return "";
295
- if (typeof e == "function")
296
- return me(e, er(e));
297
- if (typeof e == "string")
298
- return K(e);
299
- switch (e) {
300
- case x:
301
- return K("Suspense");
302
- case g:
303
- return K("SuspenseList");
304
- }
305
- if (typeof e == "object")
306
- switch (e.$$typeof) {
307
- case d:
308
- return Qe(e.render);
309
- case T:
310
- return X(e.type, r, o);
311
- case S: {
312
- var s = e, y = s._payload, b = s._init;
313
- try {
314
- return X(b(y), r, o);
315
- } catch {
316
- }
317
- }
318
- }
319
- return "";
320
- }
321
- var G = Object.prototype.hasOwnProperty, _e = {}, Ce = l.ReactDebugCurrentFrame;
322
- function Z(e) {
323
- if (e) {
324
- var r = e._owner, o = X(e.type, e._source, r ? r.type : null);
325
- Ce.setExtraStackFrame(o);
326
- } else
327
- Ce.setExtraStackFrame(null);
328
- }
329
- function rr(e, r, o, s, y) {
330
- {
331
- var b = Function.call.bind(G);
332
- for (var f in e)
333
- if (b(e, f)) {
334
- var c = void 0;
335
- try {
336
- if (typeof e[f] != "function") {
337
- var P = Error((s || "React class") + ": " + o + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
338
- throw P.name = "Invariant Violation", P;
339
- }
340
- c = e[f](r, f, s, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
341
- } catch (m) {
342
- c = m;
343
- }
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
- }
346
- }
347
- }
348
- var tr = Array.isArray;
349
- function ne(e) {
350
- return tr(e);
351
- }
352
- function nr(e) {
353
- {
354
- var r = typeof Symbol == "function" && Symbol.toStringTag, o = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
355
- return o;
356
- }
357
- }
358
- function or(e) {
359
- try {
360
- return xe(e), !1;
361
- } catch {
362
- return !0;
363
- }
364
- }
365
- function xe(e) {
366
- return "" + e;
367
- }
368
- function Te(e) {
369
- 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
- }
372
- var Se = l.ReactCurrentOwner, ar = {
373
- key: !0,
374
- ref: !0,
375
- __self: !0,
376
- __source: !0
377
- }, Oe, Pe;
378
- function ir(e) {
379
- if (G.call(e, "ref")) {
380
- var r = Object.getOwnPropertyDescriptor(e, "ref").get;
381
- if (r && r.isReactWarning)
382
- return !1;
383
- }
384
- return e.ref !== void 0;
385
- }
386
- function sr(e) {
387
- if (G.call(e, "key")) {
388
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
389
- if (r && r.isReactWarning)
390
- return !1;
391
- }
392
- return e.key !== void 0;
393
- }
394
- function ur(e, r) {
395
- typeof e.ref == "string" && Se.current;
396
- }
397
- function cr(e, r) {
398
- {
399
- var o = function() {
400
- Oe || (Oe = !0, C("%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
- o.isReactWarning = !0, Object.defineProperty(e, "key", {
403
- get: o,
404
- configurable: !0
405
- });
406
- }
407
- }
408
- function lr(e, r) {
409
- {
410
- var o = function() {
411
- Pe || (Pe = !0, C("%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
- o.isReactWarning = !0, Object.defineProperty(e, "ref", {
414
- get: o,
415
- configurable: !0
416
- });
417
- }
418
- }
419
- var fr = function(e, r, o, s, y, b, f) {
420
- var c = {
421
- // This tag allows us to uniquely identify this as a React Element
422
- $$typeof: n,
423
- // Built-in properties that belong on the element
424
- type: e,
425
- key: r,
426
- ref: o,
427
- props: f,
428
- // Record the component responsible for creating this element.
429
- _owner: b
430
- };
431
- return c._store = {}, Object.defineProperty(c._store, "validated", {
432
- configurable: !1,
433
- enumerable: !1,
434
- writable: !0,
435
- value: !1
436
- }), Object.defineProperty(c, "_self", {
437
- configurable: !1,
438
- enumerable: !1,
439
- writable: !1,
440
- value: s
441
- }), Object.defineProperty(c, "_source", {
442
- configurable: !1,
443
- enumerable: !1,
444
- writable: !1,
445
- value: y
446
- }), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
447
- };
448
- function dr(e, r, o, s, y) {
449
- {
450
- 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
- for (b in r)
453
- G.call(r, b) && !ar.hasOwnProperty(b) && (f[b] = r[b]);
454
- if (e && e.defaultProps) {
455
- var m = e.defaultProps;
456
- for (b in m)
457
- f[b] === void 0 && (f[b] = m[b]);
458
- }
459
- if (c || P) {
460
- var _ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
461
- c && cr(f, _), P && lr(f, _);
462
- }
463
- return fr(e, c, P, y, s, Se.current, f);
464
- }
465
- }
466
- var oe = l.ReactCurrentOwner, we = l.ReactDebugCurrentFrame;
467
- function Y(e) {
468
- if (e) {
469
- var r = e._owner, o = X(e.type, e._source, r ? r.type : null);
470
- we.setExtraStackFrame(o);
471
- } else
472
- we.setExtraStackFrame(null);
473
- }
474
- var ae;
475
- ae = !1;
476
- function ie(e) {
477
- return typeof e == "object" && e !== null && e.$$typeof === n;
478
- }
479
- function je() {
480
- {
481
- if (oe.current) {
482
- var e = D(oe.current.type);
483
- if (e)
484
- return `
485
-
486
- Check the render method of \`` + e + "`.";
487
- }
488
- return "";
489
- }
490
- }
491
- function pr(e) {
492
- return "";
493
- }
494
- var Ae = {};
495
- function vr(e) {
496
- {
497
- var r = je();
498
- if (!r) {
499
- var o = typeof e == "string" ? e : e.displayName || e.name;
500
- o && (r = `
501
-
502
- Check the top-level render call using <` + o + ">.");
503
- }
504
- return r;
505
- }
506
- }
507
- function Fe(e, r) {
508
- {
509
- if (!e._store || e._store.validated || e.key != null)
510
- return;
511
- e._store.validated = !0;
512
- var o = vr(r);
513
- if (Ae[o])
514
- return;
515
- Ae[o] = !0;
516
- 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
- }
519
- }
520
- function De(e, r) {
521
- {
522
- if (typeof e != "object")
523
- return;
524
- if (ne(e))
525
- for (var o = 0; o < e.length; o++) {
526
- var s = e[o];
527
- ie(s) && Fe(s, r);
528
- }
529
- else if (ie(e))
530
- e._store && (e._store.validated = !0);
531
- else if (e) {
532
- var y = A(e);
533
- if (typeof y == "function" && y !== e.entries)
534
- for (var b = y.call(e), f; !(f = b.next()).done; )
535
- ie(f.value) && Fe(f.value, r);
536
- }
537
- }
538
- }
539
- function yr(e) {
540
- {
541
- var r = e.type;
542
- if (r == null || typeof r == "string")
543
- return;
544
- var o;
545
- if (typeof r == "function")
546
- o = r.propTypes;
547
- else if (typeof r == "object" && (r.$$typeof === d || // Note: Memo only checks outer props here.
548
- // Inner props are checked in the reconciler.
549
- r.$$typeof === T))
550
- o = r.propTypes;
551
- else
552
- return;
553
- if (o) {
554
- var s = D(r);
555
- rr(o, e.props, "prop", s, e);
556
- } else if (r.PropTypes !== void 0 && !ae) {
557
- ae = !0;
558
- var y = D(r);
559
- C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
560
- }
561
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
562
- }
563
- }
564
- function gr(e) {
565
- {
566
- for (var r = Object.keys(e.props), o = 0; o < r.length; o++) {
567
- var s = r[o];
568
- 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
- break;
571
- }
572
- }
573
- e.ref !== null && (Y(e), C("Invalid attribute `ref` supplied to `React.Fragment`."), Y(null));
574
- }
575
- }
576
- var Le = {};
577
- function Ie(e, r, o, s, y, b) {
578
- {
579
- var f = ze(e);
580
- if (!f) {
581
- var c = "";
582
- (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 = pr();
584
- 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);
587
- }
588
- var _ = dr(e, r, o, y, b);
589
- if (_ == null)
590
- return _;
591
- if (f) {
592
- var F = r.children;
593
- if (F !== void 0)
594
- if (s)
595
- if (ne(F)) {
596
- for (var U = 0; U < F.length; U++)
597
- De(F[U], e);
598
- Object.freeze && Object.freeze(F);
599
- } else
600
- 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
- else
602
- De(F, e);
603
- }
604
- if (G.call(r, "key")) {
605
- var $ = D(e), w = Object.keys(r).filter(function(_r) {
606
- return _r !== "key";
607
- }), se = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
608
- if (!Le[$ + se]) {
609
- var mr = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
610
- C(`A props object containing a "key" prop is being spread into JSX:
611
- let props = %s;
612
- <%s {...props} />
613
- React keys must be passed directly to JSX without using spread:
614
- let props = %s;
615
- <%s key={someKey} {...props} />`, se, $, mr, $), Le[$ + se] = !0;
616
- }
617
- }
618
- return e === a ? gr(_) : yr(_), _;
619
- }
620
- }
621
- function br(e, r, o) {
622
- return Ie(e, r, o, !0);
623
- }
624
- function hr(e, r, o) {
625
- return Ie(e, r, o, !1);
626
- }
627
- var Er = hr, Rr = br;
628
- z.Fragment = a, z.jsx = Er, z.jsxs = Rr;
629
- }()), z;
630
- }
631
- var We;
632
- function $r() {
633
- return We || (We = 1, process.env.NODE_ENV === "production" ? Q.exports = Nr() : Q.exports = kr()), Q.exports;
31
+ var O;
32
+ function oe() {
33
+ return O || (O = 1, M.exports = ne()), M.exports;
634
34
  }
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,
35
+ var h = oe();
36
+ const re = ({ containerStyle: e, square: t, loading: n = !1, height: o = 300, width: r = "100%" }, d) => /* @__PURE__ */ h.jsxs(P, { sx: { position: "relative" }, height: o, children: [
37
+ /* @__PURE__ */ h.jsx(
38
+ P,
639
39
  {
640
40
  sx: {
641
- borderRadius: n ? 0 : 1,
41
+ borderRadius: t ? 0 : 1,
642
42
  left: 0,
643
43
  position: "absolute",
644
44
  top: 0,
645
45
  zIndex: 1,
646
- ...t
46
+ ...e
647
47
  },
648
- ref: h,
649
- width: u,
650
- height: a
48
+ ref: d,
49
+ width: r,
50
+ height: o
651
51
  }
652
52
  ),
653
- i && /* @__PURE__ */ I.jsx(
654
- Or,
53
+ n && /* @__PURE__ */ h.jsx(
54
+ H,
655
55
  {
656
56
  sx: {
657
57
  left: 0,
@@ -659,283 +59,263 @@ const Wr = ({ containerStyle: t, square: n, loading: i = !1, height: a = 300, wi
659
59
  top: 0,
660
60
  zIndex: 0
661
61
  },
662
- width: u,
663
- height: a,
664
- variant: n ? "rectangular" : "rounded"
62
+ width: r,
63
+ height: o,
64
+ variant: t ? "rectangular" : "rounded"
665
65
  }
666
66
  )
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))
67
+ ] }), ie = D(re), $ = (e) => typeof e == "object" && e !== null && "type" in e && "coordinates" in e, se = (e) => {
68
+ if (typeof e != "object" || e === null || !("geometry" in e && "properties" in e))
669
69
  return !1;
670
- const { geometry: i } = t;
671
- if (typeof i != "object" || i === null || !("coordinates" in i))
70
+ const { geometry: n } = e;
71
+ if (typeof n != "object" || n === null || !("coordinates" in n))
672
72
  return !1;
673
- const { coordinates: a } = i;
674
- if (!Array.isArray(a) || a.length !== 2 || !Ve(i))
73
+ const { coordinates: o } = n;
74
+ if (!Array.isArray(o) || o.length !== 2 || !$(n))
675
75
  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 = () => {
76
+ const { properties: r } = e;
77
+ return typeof r != "object" || r === null ? !1 : "id" in r && r.id !== void 0;
78
+ }, F = (e, t) => Number.isFinite(e) && Number.isFinite(t) && e >= -90 && e <= 90 && t >= -180 && t <= 180, ce = () => {
679
79
  try {
680
- const t = document.createElement("canvas");
681
- return !!(window.WebGLRenderingContext && (t.getContext("webgl") || t.getContext("experimental-webgl")));
80
+ const e = document.createElement("canvas");
81
+ return !!(window.WebGLRenderingContext && (e.getContext("webgl") || e.getContext("experimental-webgl")));
682
82
  } catch {
683
83
  return !1;
684
84
  }
685
85
  };
686
- var V = {}, Ue;
687
- function Br() {
688
- if (Ue) return V;
689
- Ue = 1;
690
- var t = Ir;
691
- if (process.env.NODE_ENV === "production")
692
- V.createRoot = t.createRoot, V.hydrateRoot = t.hydrateRoot;
693
- else {
694
- var n = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
695
- V.createRoot = function(i, a) {
696
- n.usingClientEntryPoint = !0;
697
- try {
698
- return t.createRoot(i, a);
699
- } finally {
700
- n.usingClientEntryPoint = !1;
701
- }
702
- }, V.hydrateRoot = function(i, a, u) {
703
- n.usingClientEntryPoint = !0;
704
- try {
705
- return t.hydrateRoot(i, a, u);
706
- } finally {
707
- n.usingClientEntryPoint = !1;
708
- }
709
- };
710
- }
711
- return V;
86
+ var _ = {}, I;
87
+ function le() {
88
+ if (I) return _;
89
+ I = 1;
90
+ var e = ee;
91
+ return _.createRoot = e.createRoot, _.hydrateRoot = e.hydrateRoot, _;
712
92
  }
713
- var Be = Br();
714
- const qr = (t) => {
715
- const n = document.createElement("button");
716
- 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 }) => {
718
- if (!i || !n || !t.current || !Array.isArray(i) || i.length !== 2)
93
+ var B = le();
94
+ const ue = (e) => {
95
+ const t = document.createElement("button");
96
+ return t.innerText = "×", t.style.position = "absolute", t.style.top = "5px", t.style.right = "5px", t.style.background = "transparent", t.style.border = "none", t.style.fontSize = "16px", t.style.padding = "0", t.style.margin = "0", t.style.cursor = "pointer", t.type = "button", t.setAttribute("aria-label", "Close popup"), t.removeAttribute("aria-hidden"), t.onclick = () => e.remove(), t;
97
+ }, G = ({ map: e, tooltip: t, coordinates: n }) => {
98
+ if (!n || !t || !e.current || !Array.isArray(n) || n.length !== 2)
719
99
  return;
720
- const a = document.createElement("div");
721
- a.style.position = "relative", a.style.overflow = "hidden";
722
- const u = document.createElement("div");
723
- u.style.padding = "10px";
724
- const h = Be.createRoot(u);
725
- h.render(n);
726
- const p = new Ar({
100
+ const o = document.createElement("div");
101
+ o.style.position = "relative", o.style.overflow = "hidden";
102
+ const r = document.createElement("div");
103
+ r.style.padding = "10px";
104
+ const d = B.createRoot(r);
105
+ d.render(t);
106
+ const i = new Q({
727
107
  closeButton: !1
728
- }).setLngLat(i).setDOMContent(a).addTo(t.current);
729
- p.on("close", () => {
730
- h.unmount();
108
+ }).setLngLat(n).setDOMContent(o).addTo(e.current);
109
+ i.on("close", () => {
110
+ d.unmount();
731
111
  });
732
- const v = qr(p);
733
- 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()))
112
+ const s = ue(i);
113
+ o.appendChild(s), o.appendChild(r);
114
+ }, z = (e) => Array.isArray(e) ? e.length >= 2 ? [e[0], e[1]] : void 0 : e, ae = ({ map: e, markers: t, event: n }) => {
115
+ var d, i, s, c, f;
116
+ if (!((d = e.current) != null && d.isStyleLoaded()))
737
117
  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 });
739
- if (u && u.length > 0) {
740
- const g = u[0];
741
- if (!Ur(g) || !Ve(g.geometry))
118
+ const o = ((c = (s = (i = e.current) == null ? void 0 : i.getStyle()) == null ? void 0 : s.layers) == null ? void 0 : c.filter((u) => u.id.startsWith("marker-")).map((u) => u.id)) || [], r = (f = e.current) == null ? void 0 : f.queryRenderedFeatures(n.point, { layers: o });
119
+ if (r && r.length > 0) {
120
+ const u = r[0];
121
+ if (!se(u) || !$(u.geometry))
742
122
  return;
743
- const { geometry: T } = g, { properties: S } = g, j = T.coordinates.slice();
744
- if (j.length !== 2 || typeof j[0] != "number" || typeof j[1] != "number")
123
+ const { geometry: x } = u, { properties: y } = u, b = x.coordinates.slice();
124
+ if (b.length !== 2 || typeof b[0] != "number" || typeof b[1] != "number")
745
125
  return;
746
- 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 });
126
+ const [E, N] = b, m = t.find((l) => l.id === (y == null ? void 0 : y.id));
127
+ m && G({ coordinates: [E, N], map: e, tooltip: m == null ? void 0 : m.Tooltip });
748
128
  }
749
- }, Jr = ({ palette: t, type: n }) => {
750
- const i = t.mode === "dark" ? "black" : "white", a = t.secondary.main, u = t.info.main;
751
- switch (n) {
129
+ }, de = ({ palette: e, type: t }) => {
130
+ const n = e.mode === "dark" ? "black" : "white", o = e.secondary.main, r = e.info.main;
131
+ switch (t) {
752
132
  case "dropOff":
753
133
  return {
754
- "circle-color": i,
134
+ "circle-color": n,
755
135
  "circle-radius": 5,
756
- "circle-stroke-color": u,
136
+ "circle-stroke-color": r,
757
137
  "circle-stroke-width": 6
758
138
  };
759
139
  default:
760
140
  return {
761
- "circle-color": i,
141
+ "circle-color": n,
762
142
  "circle-radius": 7,
763
- "circle-stroke-color": a,
143
+ "circle-stroke-color": o,
764
144
  "circle-stroke-width": 8
765
145
  };
766
146
  }
767
- }, zr = (t, n, i, a) => {
768
- const u = {
769
- features: i.map((p) => ({
147
+ }, pe = (e, t, n, o) => {
148
+ const r = {
149
+ features: n.map((i) => ({
770
150
  geometry: {
771
- coordinates: p.geometry.coordinates,
151
+ coordinates: i.geometry.coordinates,
772
152
  type: "Point"
773
153
  },
774
154
  properties: {
775
- id: p.properties.id,
776
- ...p.properties
155
+ id: i.properties.id,
156
+ ...i.properties
777
157
  },
778
158
  type: "Feature"
779
159
  })),
780
160
  type: "FeatureCollection"
781
- }, h = t.getSource(n);
782
- h ? h.setData(u) : t.addSource(n, {
783
- data: u,
161
+ }, d = e.getSource(t);
162
+ d ? d.setData(r) : e.addSource(t, {
163
+ data: r,
784
164
  type: "geojson"
785
- }), 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);
789
- }) : t.addLayer({
790
- filter: ["==", "id", d],
791
- id: g,
792
- paint: x,
793
- source: n,
165
+ }), r.features.forEach((i) => {
166
+ const { description: s, id: c } = i.properties || {}, f = de({ palette: o, type: s }), u = `marker-${c}`;
167
+ e.getLayer(u) ? Object.entries(f || {}).forEach(([x, y]) => {
168
+ e.setPaintProperty(u, x, y);
169
+ }) : e.addLayer({
170
+ filter: ["==", "id", c],
171
+ id: u,
172
+ paint: f,
173
+ source: t,
794
174
  type: "circle"
795
175
  });
796
176
  });
797
- }, Kr = (t, n) => {
798
- document.querySelectorAll(".react-custom-marker").forEach((a) => a.remove()), n.forEach((a) => {
799
- const { IconComponent: u, iconProps: h } = a.properties || {}, { coordinates: p } = a.geometry;
800
- if (u && p.length >= 2) {
801
- const v = document.createElement("div");
802
- 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);
177
+ }, fe = (e, t) => {
178
+ document.querySelectorAll(".react-custom-marker").forEach((o) => o.remove()), t.forEach((o) => {
179
+ const { IconComponent: r, iconProps: d } = o.properties || {}, { coordinates: i } = o.geometry;
180
+ if (r && i.length >= 2) {
181
+ const s = document.createElement("div");
182
+ s.className = "react-custom-marker", s.style.position = "absolute";
183
+ const c = document.createElement("div"), f = B.createRoot(c);
184
+ r && f.render(q.createElement(r, d || {})), s.appendChild(c), new Z(s).setLngLat([i[0], i[1]]).addTo(e);
805
185
  }
806
186
  });
807
- }, Hr = (t) => ({
808
- features: (t == null ? void 0 : t.map((n, i) => ({
187
+ }, ye = (e) => ({
188
+ features: (e == null ? void 0 : e.map((t, n) => ({
809
189
  geometry: {
810
190
  coordinates: [
811
- Number.isFinite(Number(n.lng)) ? Number(n.lng) : Number(ce),
812
- Number.isFinite(Number(n.lat)) ? Number(n.lat) : Number(le)
191
+ Number.isFinite(Number(t.lng)) ? Number(t.lng) : Number(S),
192
+ Number.isFinite(Number(t.lat)) ? Number(t.lat) : Number(j)
813
193
  ],
814
194
  type: "Point"
815
195
  },
816
196
  properties: {
817
- description: n.type,
818
- IconComponent: n.IconComponent,
819
- iconProps: n.iconProps,
820
- id: n.id || `{marker-${i}}`,
821
- name: n.name,
822
- size: n.size || 1,
823
- zIndex: n.zIndex || 0
197
+ description: t.type,
198
+ IconComponent: t.IconComponent,
199
+ iconProps: t.iconProps,
200
+ id: t.id || `{marker-${n}}`,
201
+ name: t.name,
202
+ size: t.size || 1,
203
+ zIndex: t.zIndex || 0
824
204
  },
825
205
  type: "Feature"
826
206
  }))) || [],
827
207
  type: "FeatureCollection"
828
- }), Xr = ({ map: t, setLoadingMapBox: n, palette: i, markers: a }) => {
829
- if (n(!1), !t.current) return;
830
- const u = Hr(a), h = u.features.filter((v) => {
831
- var d;
832
- return ((d = v.properties) == null ? void 0 : d.IconComponent) === void 0;
833
- }), p = u.features.filter((v) => {
834
- var d;
835
- return (d = v.properties) == null ? void 0 : d.IconComponent;
208
+ }), ge = ({ map: e, setLoadingMapBox: t, palette: n, markers: o }) => {
209
+ if (t(!1), !e.current) return;
210
+ const r = ye(o), d = r.features.filter((s) => {
211
+ var c;
212
+ return ((c = s.properties) == null ? void 0 : c.IconComponent) === void 0;
213
+ }), i = r.features.filter((s) => {
214
+ var c;
215
+ return (c = s.properties) == null ? void 0 : c.IconComponent;
836
216
  });
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 }) => {
839
- var p, v;
217
+ i.length && fe(e.current, i), d.length && pe(e.current, "markerProps", d, n);
218
+ }, xe = ({ mapStyle: e, mapContainer: t, zoomFlyFrom: n, markers: o, center: r }) => {
219
+ var i, s;
840
220
  return {
841
- center: u ? Ge(u) : {
842
- lat: ((p = a == null ? void 0 : a[0]) == null ? void 0 : p.lat) !== void 0 ? Number(a[0].lat) : le,
843
- lng: ((v = a == null ? void 0 : a[0]) == null ? void 0 : v.lng) !== void 0 ? Number(a[0].lng) : ce
221
+ center: r ? z(r) : {
222
+ lat: ((i = o == null ? void 0 : o[0]) == null ? void 0 : i.lat) !== void 0 ? Number(o[0].lat) : j,
223
+ lng: ((s = o == null ? void 0 : o[0]) == null ? void 0 : s.lng) !== void 0 ? Number(o[0].lng) : S
844
224
  },
845
- container: (n == null ? void 0 : n.current) || "",
225
+ container: (t == null ? void 0 : t.current) || "",
846
226
  cooperativeGestures: !0,
847
227
  failIfMajorPerformanceCaveat: !1,
848
- style: t,
849
- zoom: i
228
+ style: e,
229
+ zoom: n
850
230
  };
851
- }, ce = 2.333, le = 46.8677, Qr = ({
852
- markers: t,
853
- loading: n,
854
- center: i,
855
- flyToDuration: a = 5e3,
856
- fitBoundDuration: u = 1e3,
857
- fitBounds: h = !0,
858
- disableFlyTo: p = !1,
859
- fitBoundsPadding: v = 50,
860
- mapStyle: d = "mapbox://styles/mapbox/streets-v12?optimize=true",
861
- zoom: x = 6,
862
- zoomFlyFrom: g = 3,
863
- openPopup: T,
864
- onMapClick: S
231
+ }, S = 2.333, j = 46.8677, be = ({
232
+ markers: e,
233
+ loading: t,
234
+ center: n,
235
+ flyToDuration: o = 5e3,
236
+ fitBoundDuration: r = 1e3,
237
+ fitBounds: d = !0,
238
+ disableFlyTo: i = !1,
239
+ fitBoundsPadding: s = 50,
240
+ mapStyle: c = "mapbox://styles/mapbox/streets-v12?optimize=true",
241
+ zoom: f = 6,
242
+ zoomFlyFrom: u = 3,
243
+ openPopup: x,
244
+ onMapClick: y
865
245
  }) => {
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())
246
+ const { palette: b } = K(), [E, N] = J(!0), m = A(null), l = A(null), w = !e || e.some((p) => p.lat === void 0 || p.lng === void 0);
247
+ return v(() => {
248
+ if (l.current || !m.current || t || !ce())
869
249
  return;
870
- 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(() => {
874
- if (!l.current || C) return;
875
- const R = () => {
876
- Xr({ map: l, markers: t, palette: j, setLoadingMapBox: B });
250
+ m.current.innerHTML !== "" && (m.current.innerHTML = "");
251
+ const p = xe({ center: n, mapContainer: m, mapStyle: c, markers: e, zoomFlyFrom: u });
252
+ l.current = new X(p);
253
+ }, [n, t, c, e, u]), v(() => {
254
+ if (!l.current || w) return;
255
+ const p = () => {
256
+ ge({ map: l, markers: e, palette: b, setLoadingMapBox: N });
877
257
  };
878
- l.current.loaded() ? R() : l.current.once("load", R);
879
- }, [t, C, j]), L(() => {
880
- if (!l.current || !t) return;
881
- 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 });
885
- }
886
- const O = (E) => {
887
- Gr({ event: E, map: l, markers: t });
258
+ l.current.loaded() ? p() : l.current.once("load", p);
259
+ }, [e, w, b]), v(() => {
260
+ if (!l.current || !e) return;
261
+ const p = l.current._popups;
262
+ if (p.length && p.forEach((a) => a.remove()), x) {
263
+ const a = e.find((R) => R.id === x), C = [Number(a == null ? void 0 : a.lng) || 0, Number(a == null ? void 0 : a.lat) || 0];
264
+ G({ coordinates: C, map: l, tooltip: a == null ? void 0 : a.Tooltip });
265
+ }
266
+ const g = (a) => {
267
+ ae({ event: a, map: l, markers: e });
888
268
  };
889
- return l.current.on("click", O), () => {
890
- var E;
891
- (E = l.current) == null || E.off("click", O);
269
+ return l.current.on("click", g), () => {
270
+ var a;
271
+ (a = l.current) == null || a.off("click", g);
892
272
  };
893
- }, [l, t, T]), L(() => {
894
- if (!l.current || !i) return;
895
- const R = Array.isArray(i) && Ye(i[1], i[0]) ? Ge(i) : { lat: le, lng: ce };
896
- R && l.current.setCenter(R);
897
- }, [i]), L(() => {
898
- if (!l.current || !S) return;
899
- const R = (O) => S(O.lngLat.lng, O.lngLat.lat);
900
- return l.current.on("click", R), () => {
901
- var O;
902
- (O = l.current) == null || O.off("click", R);
273
+ }, [l, e, x]), v(() => {
274
+ if (!l.current || !n) return;
275
+ const p = Array.isArray(n) && F(n[1], n[0]) ? z(n) : { lat: j, lng: S };
276
+ p && l.current.setCenter(p);
277
+ }, [n]), v(() => {
278
+ if (!l.current || !y) return;
279
+ const p = (g) => y(g.lngLat.lng, g.lngLat.lat);
280
+ return l.current.on("click", p), () => {
281
+ var g;
282
+ (g = l.current) == null || g.off("click", p);
903
283
  };
904
- }, [S]), L(() => {
905
- if (!l.current || (p || l.current.flyTo({
906
- 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);
284
+ }, [y]), v(() => {
285
+ if (!l.current || (i || l.current.flyTo({
286
+ duration: o,
287
+ zoom: f
288
+ }), !d || !(e != null && e.length) || (e == null ? void 0 : e.length) < 2)) return;
289
+ const p = new k(), g = e.filter((a) => {
290
+ const C = Number(a.lng), R = Number(a.lat);
291
+ return F(R, C);
912
292
  });
913
- 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]);
293
+ if (!(g.length < 2)) {
294
+ for (let a = 0; a < g.length; a += 1) {
295
+ const C = Number(g[a].lng), R = Number(g[a].lat);
296
+ p.extend([C, R]);
917
297
  }
918
- l.current.fitBounds(R, {
919
- duration: u,
920
- padding: v
298
+ l.current.fitBounds(p, {
299
+ duration: r,
300
+ padding: s
921
301
  });
922
302
  }
923
- }, [t, h, v, a, x, u, p]), L(
303
+ }, [e, d, s, o, f, r, i]), v(
924
304
  () => () => {
925
305
  l.current && (l.current.remove(), l.current = null);
926
306
  },
927
307
  []
928
308
  ), {
929
- loading: W || n,
309
+ loading: E || t,
930
310
  map: l,
931
- mapContainer: A,
932
- markers: t
311
+ mapContainer: m,
312
+ markers: e
933
313
  };
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,
314
+ }, _e = ({ containerStyle: e, square: t, theme: n, height: o = 300, width: r = "100%", ...d }) => {
315
+ const { loading: i, mapContainer: s } = be(d);
316
+ return /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
317
+ /* @__PURE__ */ h.jsx(
318
+ V,
939
319
  {
940
320
  styles: {
941
321
  ".mapboxgl-popup-content": {
@@ -948,26 +328,26 @@ const qr = (t) => {
948
328
  }
949
329
  }
950
330
  ),
951
- /* @__PURE__ */ I.jsx(Yr, { ref: v, loading: p, height: a, width: u, containerStyle: t, square: n })
331
+ /* @__PURE__ */ h.jsx(ie, { ref: s, loading: i, height: o, width: r, containerStyle: e, square: t })
952
332
  ] });
953
- }, et = Tr({
333
+ }, me = U({
954
334
  licenceMapbox: "",
955
335
  licenseMuiX: ""
956
- }), st = ({ children: t, licenseMuiX: n, licenceMapbox: i }) => {
957
- L(() => {
958
- n && Mr.setLicenseKey(n);
959
- }, [n]);
960
- const a = Sr(
336
+ }), Ee = ({ children: e, licenseMuiX: t, licenceMapbox: n }) => {
337
+ v(() => {
338
+ t && te.setLicenseKey(t);
339
+ }, [t]);
340
+ const o = W(
961
341
  () => ({
962
- licenceMapbox: i,
963
- licenseMuiX: n
342
+ licenceMapbox: n,
343
+ licenseMuiX: t
964
344
  }),
965
- [n, i]
345
+ [t, n]
966
346
  );
967
- return i && (jr.accessToken = i), /* @__PURE__ */ I.jsx(et.Provider, { value: a, children: t });
347
+ return n && (Y.accessToken = n), /* @__PURE__ */ h.jsx(me.Provider, { value: o, children: e });
968
348
  };
969
349
  export {
970
- st as MapProvider,
971
- et as MapProviderContext,
972
- it as MarkerMap
350
+ Ee as MapProvider,
351
+ me as MapProviderContext,
352
+ _e as MarkerMap
973
353
  };