@tracktor/map 0.7.0 → 0.8.0

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.umd.cjs CHANGED
@@ -1,5 +1,5 @@
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:initial;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:initial}.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:initial;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:initial;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 #0000;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:initial;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 #0000;transform:translateY(-28px) skewY(-20deg)}.mapboxgl-user-location-show-heading .mapboxgl-user-location-heading:after{border-right:7.5px solid #0000;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
- (function(k,b){typeof exports=="object"&&typeof module<"u"?b(exports,require("react"),require("@mui/x-license"),require("mapbox-gl"),require("@tracktor/design-system"),require("@tracktor/react-utils"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","@mui/x-license","mapbox-gl","@tracktor/design-system","@tracktor/react-utils","react-dom"],b):(k=typeof globalThis<"u"?globalThis:k||self,b(k["@tracktor/map"]={},k.React,k.muiXLicense,k.mapboxgl,k.designSystem,k.reactUtils,k.ReactDOM))})(this,function(k,b,Ze,I,N,Qe,qe){"use strict";var q={exports:{}},G={};/**
2
+ (function(x,h){typeof exports=="object"&&typeof module<"u"?h(exports,require("react"),require("@mui/x-license"),require("mapbox-gl"),require("@tracktor/design-system"),require("@tracktor/react-utils"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","@mui/x-license","mapbox-gl","@tracktor/design-system","@tracktor/react-utils","react-dom"],h):(x=typeof globalThis<"u"?globalThis:x||self,h(x["@tracktor/map"]={},x.React,x.muiXLicense,x.mapboxgl,x.designSystem,x.reactUtils,x.ReactDOM))})(this,function(x,h,Xe,F,N,He,Ze){"use strict";var q={exports:{}},G={};/**
3
3
  * @license React
4
4
  * react-jsx-runtime.production.min.js
5
5
  *
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */var me;function $e(){if(me)return G;me=1;var n=b,t=Symbol.for("react.element"),a=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,i=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,v={key:!0,ref:!0,__self:!0,__source:!0};function m(d,c,p){var l,f={},R=null,x=null;p!==void 0&&(R=""+p),c.key!==void 0&&(R=""+c.key),c.ref!==void 0&&(x=c.ref);for(l in c)s.call(c,l)&&!v.hasOwnProperty(l)&&(f[l]=c[l]);if(d&&d.defaultProps)for(l in c=d.defaultProps,c)f[l]===void 0&&(f[l]=c[l]);return{$$typeof:t,type:d,key:R,ref:x,props:f,_owner:i.current}}return G.Fragment=a,G.jsx=m,G.jsxs=m,G}var J={};/**
10
+ */var ye;function Qe(){if(ye)return G;ye=1;var r=h,t=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,E={key:!0,ref:!0,__self:!0,__source:!0};function p(d,c,v){var f,u={},R=null,S=null;v!==void 0&&(R=""+v),c.key!==void 0&&(R=""+c.key),c.ref!==void 0&&(S=c.ref);for(f in c)i.call(c,f)&&!E.hasOwnProperty(f)&&(u[f]=c[f]);if(d&&d.defaultProps)for(f in c=d.defaultProps,c)u[f]===void 0&&(u[f]=c[f]);return{$$typeof:t,type:d,key:R,ref:S,props:u,_owner:s.current}}return G.Fragment=a,G.jsx=p,G.jsxs=p,G}var J={};/**
11
11
  * @license React
12
12
  * react-jsx-runtime.development.js
13
13
  *
@@ -15,17 +15,17 @@
15
15
  *
16
16
  * This source code is licensed under the MIT license found in the
17
17
  * LICENSE file in the root directory of this source tree.
18
- */var Ee;function er(){return Ee||(Ee=1,process.env.NODE_ENV!=="production"&&function(){var n=b,t=Symbol.for("react.element"),a=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),d=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),x=Symbol.for("react.offscreen"),$=Symbol.iterator,ie="@@iterator";function se(e){if(e===null||typeof e!="object")return null;var r=$&&e[$]||e[ie];return typeof r=="function"?r:null}var L=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function T(e){{for(var r=arguments.length,o=new Array(r>1?r-1:0),u=1;u<r;u++)o[u-1]=arguments[u];A("error",e,o)}}function A(e,r,o){{var u=L.ReactDebugCurrentFrame,g=u.getStackAddendum();g!==""&&(r+="%s",o=o.concat([g]));var h=o.map(function(E){return String(E)});h.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,h)}}var ee=!1,K=!1,X=!1,P=!1,Y=!1,H;H=Symbol.for("react.module.reference");function z(e){return!!(typeof e=="string"||typeof e=="function"||e===s||e===v||Y||e===i||e===p||e===l||P||e===x||ee||K||X||typeof e=="object"&&e!==null&&(e.$$typeof===R||e.$$typeof===f||e.$$typeof===m||e.$$typeof===d||e.$$typeof===c||e.$$typeof===H||e.getModuleId!==void 0))}function re(e,r,o){var u=e.displayName;if(u)return u;var g=r.displayName||r.name||"";return g!==""?o+"("+g+")":o}function w(e){return e.displayName||"Context"}function F(e){if(e==null)return null;if(typeof e.tag=="number"&&T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case s:return"Fragment";case a:return"Portal";case v:return"Profiler";case i:return"StrictMode";case p:return"Suspense";case l:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case d:var r=e;return w(r)+".Consumer";case m:var o=e;return w(o._context)+".Provider";case c:return re(e,e.render,"ForwardRef");case f:var u=e.displayName||null;return u!==null?u:F(e.type)||"Memo";case R:{var g=e,h=g._payload,E=g._init;try{return F(E(h))}catch{return null}}}return null}var D=Object.assign,Z=0,Pe,Se,Oe,we,je,Ae,Le;function Fe(){}Fe.__reactDisabledLog=!0;function _r(){{if(Z===0){Pe=console.log,Se=console.info,Oe=console.warn,we=console.error,je=console.group,Ae=console.groupCollapsed,Le=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Fe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Z++}}function Cr(){{if(Z--,Z===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:D({},e,{value:Pe}),info:D({},e,{value:Se}),warn:D({},e,{value:Oe}),error:D({},e,{value:we}),group:D({},e,{value:je}),groupCollapsed:D({},e,{value:Ae}),groupEnd:D({},e,{value:Le})})}Z<0&&T("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ce=L.ReactCurrentDispatcher,ue;function te(e,r,o){{if(ue===void 0)try{throw Error()}catch(g){var u=g.stack.trim().match(/\n( *(at )?)/);ue=u&&u[1]||""}return`
19
- `+ue+e}}var le=!1,ne;{var xr=typeof WeakMap=="function"?WeakMap:Map;ne=new xr}function Ie(e,r){if(!e||le)return"";{var o=ne.get(e);if(o!==void 0)return o}var u;le=!0;var g=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var h;h=ce.current,ce.current=null,_r();try{if(r){var E=function(){throw Error()};if(Object.defineProperty(E.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(E,[])}catch(O){u=O}Reflect.construct(e,[],E)}else{try{E.call()}catch(O){u=O}e.call(E.prototype)}}else{try{throw Error()}catch(O){u=O}e()}}catch(O){if(O&&u&&typeof O.stack=="string"){for(var y=O.stack.split(`
20
- `),S=u.stack.split(`
21
- `),_=y.length-1,C=S.length-1;_>=1&&C>=0&&y[_]!==S[C];)C--;for(;_>=1&&C>=0;_--,C--)if(y[_]!==S[C]){if(_!==1||C!==1)do if(_--,C--,C<0||y[_]!==S[C]){var j=`
22
- `+y[_].replace(" at new "," at ");return e.displayName&&j.includes("<anonymous>")&&(j=j.replace("<anonymous>",e.displayName)),typeof e=="function"&&ne.set(e,j),j}while(_>=1&&C>=0);break}}}finally{le=!1,ce.current=h,Cr(),Error.prepareStackTrace=g}var V=e?e.displayName||e.name:"",M=V?te(V):"";return typeof e=="function"&&ne.set(e,M),M}function Tr(e,r,o){return Ie(e,!1)}function kr(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function oe(e,r,o){if(e==null)return"";if(typeof e=="function")return Ie(e,kr(e));if(typeof e=="string")return te(e);switch(e){case p:return te("Suspense");case l:return te("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case c:return Tr(e.render);case f:return oe(e.type,r,o);case R:{var u=e,g=u._payload,h=u._init;try{return oe(h(g),r,o)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,De={},Me=L.ReactDebugCurrentFrame;function ae(e){if(e){var r=e._owner,o=oe(e.type,e._source,r?r.type:null);Me.setExtraStackFrame(o)}else Me.setExtraStackFrame(null)}function Pr(e,r,o,u,g){{var h=Function.call.bind(Q);for(var E in e)if(h(e,E)){var y=void 0;try{if(typeof e[E]!="function"){var S=Error((u||"React class")+": "+o+" type `"+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[E]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw S.name="Invariant Violation",S}y=e[E](r,E,u,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(_){y=_}y&&!(y instanceof Error)&&(ae(g),T("%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).",u||"React class",o,E,typeof y),ae(null)),y instanceof Error&&!(y.message in De)&&(De[y.message]=!0,ae(g),T("Failed %s type: %s",o,y.message),ae(null))}}}var Sr=Array.isArray;function fe(e){return Sr(e)}function Or(e){{var r=typeof Symbol=="function"&&Symbol.toStringTag,o=r&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o}}function wr(e){try{return Ne(e),!1}catch{return!0}}function Ne(e){return""+e}function Ue(e){if(wr(e))return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Or(e)),Ne(e)}var We=L.ReactCurrentOwner,jr={key:!0,ref:!0,__self:!0,__source:!0},Ye,ze;function Ar(e){if(Q.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Lr(e){if(Q.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Fr(e,r){typeof e.ref=="string"&&We.current}function Ir(e,r){{var o=function(){Ye||(Ye=!0,T("%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))};o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}}function Dr(e,r){{var o=function(){ze||(ze=!0,T("%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))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}}var Mr=function(e,r,o,u,g,h,E){var y={$$typeof:t,type:e,key:r,ref:o,props:E,_owner:h};return y._store={},Object.defineProperty(y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:u}),Object.defineProperty(y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:g}),Object.freeze&&(Object.freeze(y.props),Object.freeze(y)),y};function Nr(e,r,o,u,g){{var h,E={},y=null,S=null;o!==void 0&&(Ue(o),y=""+o),Lr(r)&&(Ue(r.key),y=""+r.key),Ar(r)&&(S=r.ref,Fr(r,g));for(h in r)Q.call(r,h)&&!jr.hasOwnProperty(h)&&(E[h]=r[h]);if(e&&e.defaultProps){var _=e.defaultProps;for(h in _)E[h]===void 0&&(E[h]=_[h])}if(y||S){var C=typeof e=="function"?e.displayName||e.name||"Unknown":e;y&&Ir(E,C),S&&Dr(E,C)}return Mr(e,y,S,g,u,We.current,E)}}var de=L.ReactCurrentOwner,Be=L.ReactDebugCurrentFrame;function B(e){if(e){var r=e._owner,o=oe(e.type,e._source,r?r.type:null);Be.setExtraStackFrame(o)}else Be.setExtraStackFrame(null)}var pe;pe=!1;function ve(e){return typeof e=="object"&&e!==null&&e.$$typeof===t}function Ve(){{if(de.current){var e=F(de.current.type);if(e)return`
18
+ */var Ee;function qe(){return Ee||(Ee=1,process.env.NODE_ENV!=="production"&&function(){var r=h,t=Symbol.for("react.element"),a=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),p=Symbol.for("react.provider"),d=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),S=Symbol.for("react.offscreen"),W=Symbol.iterator,$="@@iterator";function ee(e){if(e===null||typeof e!="object")return null;var n=W&&e[W]||e[$];return typeof n=="function"?n:null}var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function T(e){{for(var n=arguments.length,o=new Array(n>1?n-1:0),l=1;l<n;l++)o[l-1]=arguments[l];K("error",e,o)}}function K(e,n,o){{var l=w.ReactDebugCurrentFrame,b=l.getStackAddendum();b!==""&&(n+="%s",o=o.concat([b]));var m=o.map(function(g){return String(g)});m.unshift("Warning: "+n),Function.prototype.apply.call(console[e],console,m)}}var X=!1,H=!1,P=!1,Y=!1,te=!1,D;D=Symbol.for("react.module.reference");function re(e){return!!(typeof e=="string"||typeof e=="function"||e===i||e===E||te||e===s||e===v||e===f||Y||e===S||X||H||P||typeof e=="object"&&e!==null&&(e.$$typeof===R||e.$$typeof===u||e.$$typeof===p||e.$$typeof===d||e.$$typeof===c||e.$$typeof===D||e.getModuleId!==void 0))}function L(e,n,o){var l=e.displayName;if(l)return l;var b=n.displayName||n.name||"";return b!==""?o+"("+b+")":o}function Te(e){return e.displayName||"Context"}function A(e){if(e==null)return null;if(typeof e.tag=="number"&&T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case i:return"Fragment";case a:return"Portal";case E:return"Profiler";case s:return"StrictMode";case v:return"Suspense";case f:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case d:var n=e;return Te(n)+".Consumer";case p:var o=e;return Te(o._context)+".Provider";case c:return L(e,e.render,"ForwardRef");case u:var l=e.displayName||null;return l!==null?l:A(e.type)||"Memo";case R:{var b=e,m=b._payload,g=b._init;try{return A(g(m))}catch{return null}}}return null}var I=Object.assign,Z=0,xe,Se,Pe,Oe,we,je,ke;function Le(){}Le.__reactDisabledLog=!0;function Tt(){{if(Z===0){xe=console.log,Se=console.info,Pe=console.warn,Oe=console.error,we=console.group,je=console.groupCollapsed,ke=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Le,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Z++}}function xt(){{if(Z--,Z===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:xe}),info:I({},e,{value:Se}),warn:I({},e,{value:Pe}),error:I({},e,{value:Oe}),group:I({},e,{value:we}),groupCollapsed:I({},e,{value:je}),groupEnd:I({},e,{value:ke})})}Z<0&&T("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var se=w.ReactCurrentDispatcher,ce;function ne(e,n,o){{if(ce===void 0)try{throw Error()}catch(b){var l=b.stack.trim().match(/\n( *(at )?)/);ce=l&&l[1]||""}return`
19
+ `+ce+e}}var ue=!1,oe;{var St=typeof WeakMap=="function"?WeakMap:Map;oe=new St}function Ae(e,n){if(!e||ue)return"";{var o=oe.get(e);if(o!==void 0)return o}var l;ue=!0;var b=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var m;m=se.current,se.current=null,Tt();try{if(n){var g=function(){throw Error()};if(Object.defineProperty(g.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(g,[])}catch(j){l=j}Reflect.construct(e,[],g)}else{try{g.call()}catch(j){l=j}e.call(g.prototype)}}else{try{throw Error()}catch(j){l=j}e()}}catch(j){if(j&&l&&typeof j.stack=="string"){for(var y=j.stack.split(`
20
+ `),O=l.stack.split(`
21
+ `),_=y.length-1,C=O.length-1;_>=1&&C>=0&&y[_]!==O[C];)C--;for(;_>=1&&C>=0;_--,C--)if(y[_]!==O[C]){if(_!==1||C!==1)do if(_--,C--,C<0||y[_]!==O[C]){var k=`
22
+ `+y[_].replace(" at new "," at ");return e.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",e.displayName)),typeof e=="function"&&oe.set(e,k),k}while(_>=1&&C>=0);break}}}finally{ue=!1,se.current=m,xt(),Error.prepareStackTrace=b}var V=e?e.displayName||e.name:"",M=V?ne(V):"";return typeof e=="function"&&oe.set(e,M),M}function Pt(e,n,o){return Ae(e,!1)}function Ot(e){var n=e.prototype;return!!(n&&n.isReactComponent)}function ie(e,n,o){if(e==null)return"";if(typeof e=="function")return Ae(e,Ot(e));if(typeof e=="string")return ne(e);switch(e){case v:return ne("Suspense");case f:return ne("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case c:return Pt(e.render);case u:return ie(e.type,n,o);case R:{var l=e,b=l._payload,m=l._init;try{return ie(m(b),n,o)}catch{}}}return""}var Q=Object.prototype.hasOwnProperty,Fe={},De=w.ReactDebugCurrentFrame;function ae(e){if(e){var n=e._owner,o=ie(e.type,e._source,n?n.type:null);De.setExtraStackFrame(o)}else De.setExtraStackFrame(null)}function wt(e,n,o,l,b){{var m=Function.call.bind(Q);for(var g in e)if(m(e,g)){var y=void 0;try{if(typeof e[g]!="function"){var O=Error((l||"React class")+": "+o+" type `"+g+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[g]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw O.name="Invariant Violation",O}y=e[g](n,g,l,o,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(_){y=_}y&&!(y instanceof Error)&&(ae(b),T("%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).",l||"React class",o,g,typeof y),ae(null)),y instanceof Error&&!(y.message in Fe)&&(Fe[y.message]=!0,ae(b),T("Failed %s type: %s",o,y.message),ae(null))}}}var jt=Array.isArray;function le(e){return jt(e)}function kt(e){{var n=typeof Symbol=="function"&&Symbol.toStringTag,o=n&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o}}function Lt(e){try{return Ie(e),!1}catch{return!0}}function Ie(e){return""+e}function Me(e){if(Lt(e))return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",kt(e)),Ie(e)}var Ne=w.ReactCurrentOwner,At={key:!0,ref:!0,__self:!0,__source:!0},Ue,ze;function Ft(e){if(Q.call(e,"ref")){var n=Object.getOwnPropertyDescriptor(e,"ref").get;if(n&&n.isReactWarning)return!1}return e.ref!==void 0}function Dt(e){if(Q.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return e.key!==void 0}function It(e,n){typeof e.ref=="string"&&Ne.current}function Mt(e,n){{var o=function(){Ue||(Ue=!0,T("%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)",n))};o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}}function Nt(e,n){{var o=function(){ze||(ze=!0,T("%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)",n))};o.isReactWarning=!0,Object.defineProperty(e,"ref",{get:o,configurable:!0})}}var Ut=function(e,n,o,l,b,m,g){var y={$$typeof:t,type:e,key:n,ref:o,props:g,_owner:m};return y._store={},Object.defineProperty(y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:l}),Object.defineProperty(y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:b}),Object.freeze&&(Object.freeze(y.props),Object.freeze(y)),y};function zt(e,n,o,l,b){{var m,g={},y=null,O=null;o!==void 0&&(Me(o),y=""+o),Dt(n)&&(Me(n.key),y=""+n.key),Ft(n)&&(O=n.ref,It(n,b));for(m in n)Q.call(n,m)&&!At.hasOwnProperty(m)&&(g[m]=n[m]);if(e&&e.defaultProps){var _=e.defaultProps;for(m in _)g[m]===void 0&&(g[m]=_[m])}if(y||O){var C=typeof e=="function"?e.displayName||e.name||"Unknown":e;y&&Mt(g,C),O&&Nt(g,C)}return Ut(e,y,O,b,l,Ne.current,g)}}var fe=w.ReactCurrentOwner,We=w.ReactDebugCurrentFrame;function B(e){if(e){var n=e._owner,o=ie(e.type,e._source,n?n.type:null);We.setExtraStackFrame(o)}else We.setExtraStackFrame(null)}var de;de=!1;function pe(e){return typeof e=="object"&&e!==null&&e.$$typeof===t}function Ye(){{if(fe.current){var e=A(fe.current.type);if(e)return`
23
23
 
24
- Check the render method of \``+e+"`."}return""}}function Ur(e){return""}var Ge={};function Wr(e){{var r=Ve();if(!r){var o=typeof e=="string"?e:e.displayName||e.name;o&&(r=`
24
+ Check the render method of \``+e+"`."}return""}}function Wt(e){return""}var Be={};function Yt(e){{var n=Ye();if(!n){var o=typeof e=="string"?e:e.displayName||e.name;o&&(n=`
25
25
 
26
- Check the top-level render call using <`+o+">.")}return r}}function Je(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var o=Wr(r);if(Ge[o])return;Ge[o]=!0;var u="";e&&e._owner&&e._owner!==de.current&&(u=" It was passed a child from "+F(e._owner.type)+"."),B(e),T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,u),B(null)}}function Ke(e,r){{if(typeof e!="object")return;if(fe(e))for(var o=0;o<e.length;o++){var u=e[o];ve(u)&&Je(u,r)}else if(ve(e))e._store&&(e._store.validated=!0);else if(e){var g=se(e);if(typeof g=="function"&&g!==e.entries)for(var h=g.call(e),E;!(E=h.next()).done;)ve(E.value)&&Je(E.value,r)}}}function Yr(e){{var r=e.type;if(r==null||typeof r=="string")return;var o;if(typeof r=="function")o=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===c||r.$$typeof===f))o=r.propTypes;else return;if(o){var u=F(r);Pr(o,e.props,"prop",u,e)}else if(r.PropTypes!==void 0&&!pe){pe=!0;var g=F(r);T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",g||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function zr(e){{for(var r=Object.keys(e.props),o=0;o<r.length;o++){var u=r[o];if(u!=="children"&&u!=="key"){B(e),T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",u),B(null);break}}e.ref!==null&&(B(e),T("Invalid attribute `ref` supplied to `React.Fragment`."),B(null))}}var Xe={};function He(e,r,o,u,g,h){{var E=z(e);if(!E){var y="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(y+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var S=Ur();S?y+=S:y+=Ve();var _;e===null?_="null":fe(e)?_="array":e!==void 0&&e.$$typeof===t?(_="<"+(F(e.type)||"Unknown")+" />",y=" Did you accidentally export a JSX literal instead of a component?"):_=typeof e,T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_,y)}var C=Nr(e,r,o,g,h);if(C==null)return C;if(E){var j=r.children;if(j!==void 0)if(u)if(fe(j)){for(var V=0;V<j.length;V++)Ke(j[V],e);Object.freeze&&Object.freeze(j)}else T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ke(j,e)}if(Q.call(r,"key")){var M=F(e),O=Object.keys(r).filter(function(Xr){return Xr!=="key"}),ye=O.length>0?"{key: someKey, "+O.join(": ..., ")+": ...}":"{key: someKey}";if(!Xe[M+ye]){var Kr=O.length>0?"{"+O.join(": ..., ")+": ...}":"{}";T(`A props object containing a "key" prop is being spread into JSX:
26
+ Check the top-level render call using <`+o+">.")}return n}}function Ve(e,n){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var o=Yt(n);if(Be[o])return;Be[o]=!0;var l="";e&&e._owner&&e._owner!==fe.current&&(l=" It was passed a child from "+A(e._owner.type)+"."),B(e),T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',o,l),B(null)}}function Ge(e,n){{if(typeof e!="object")return;if(le(e))for(var o=0;o<e.length;o++){var l=e[o];pe(l)&&Ve(l,n)}else if(pe(e))e._store&&(e._store.validated=!0);else if(e){var b=ee(e);if(typeof b=="function"&&b!==e.entries)for(var m=b.call(e),g;!(g=m.next()).done;)pe(g.value)&&Ve(g.value,n)}}}function Bt(e){{var n=e.type;if(n==null||typeof n=="string")return;var o;if(typeof n=="function")o=n.propTypes;else if(typeof n=="object"&&(n.$$typeof===c||n.$$typeof===u))o=n.propTypes;else return;if(o){var l=A(n);wt(o,e.props,"prop",l,e)}else if(n.PropTypes!==void 0&&!de){de=!0;var b=A(n);T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",b||"Unknown")}typeof n.getDefaultProps=="function"&&!n.getDefaultProps.isReactClassApproved&&T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Vt(e){{for(var n=Object.keys(e.props),o=0;o<n.length;o++){var l=n[o];if(l!=="children"&&l!=="key"){B(e),T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",l),B(null);break}}e.ref!==null&&(B(e),T("Invalid attribute `ref` supplied to `React.Fragment`."),B(null))}}var Je={};function Ke(e,n,o,l,b,m){{var g=re(e);if(!g){var y="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(y+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var O=Wt();O?y+=O:y+=Ye();var _;e===null?_="null":le(e)?_="array":e!==void 0&&e.$$typeof===t?(_="<"+(A(e.type)||"Unknown")+" />",y=" Did you accidentally export a JSX literal instead of a component?"):_=typeof e,T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_,y)}var C=zt(e,n,o,b,m);if(C==null)return C;if(g){var k=n.children;if(k!==void 0)if(l)if(le(k)){for(var V=0;V<k.length;V++)Ge(k[V],e);Object.freeze&&Object.freeze(k)}else T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Ge(k,e)}if(Q.call(n,"key")){var M=A(e),j=Object.keys(n).filter(function(Zt){return Zt!=="key"}),ve=j.length>0?"{key: someKey, "+j.join(": ..., ")+": ...}":"{key: someKey}";if(!Je[M+ve]){var Ht=j.length>0?"{"+j.join(": ..., ")+": ...}":"{}";T(`A props object containing a "key" prop is being spread into JSX:
27
27
  let props = %s;
28
28
  <%s {...props} />
29
29
  React keys must be passed directly to JSX without using spread:
30
30
  let props = %s;
31
- <%s key={someKey} {...props} />`,ye,M,Kr,M),Xe[M+ye]=!0}}return e===s?zr(C):Yr(C),C}}function Br(e,r,o){return He(e,r,o,!0)}function Vr(e,r,o){return He(e,r,o,!1)}var Gr=Vr,Jr=Br;J.Fragment=s,J.jsx=Gr,J.jsxs=Jr}()),J}var ge;function rr(){return ge||(ge=1,process.env.NODE_ENV==="production"?q.exports=$e():q.exports=er()),q.exports}var U=rr();const be=b.createContext({licenceMapbox:"",licenseMuiX:""}),tr=({children:n,licenseMuiX:t,licenceMapbox:a})=>{b.useEffect(()=>{t&&Ze.LicenseInfo.setLicenseKey(t)},[t]);const s=b.useMemo(()=>({licenceMapbox:a,licenseMuiX:t}),[t,a]);return a&&(I.accessToken=a),U.jsx(be.Provider,{value:s,children:n})},nr=({map:n,disableFlyTo:t,disableAnimation:a,flyToDuration:s,zoom:i,fitBounds:v,markers:m,fitBoundDuration:d,fitBoundsPadding:c,isMapInitialized:p})=>{const l=b.useRef(!1),f=Qe.useDebounce(m,150);b.useEffect(()=>{if(!n.current||!p||a||(!t&&!l.current&&(n.current.flyTo({duration:s,zoom:i}),l.current=!0),!v||!(f!=null&&f.length)||f.length<2))return;const R=new I.LngLatBounds;f.forEach(x=>{R.extend([Number(x.lng),Number(x.lat)])}),n.current.fitBounds(R,{duration:d,padding:c})},[f,v,c,s,i,d,t,n,p,a])};var W={},he;function or(){if(he)return W;he=1;var n=qe;if(process.env.NODE_ENV==="production")W.createRoot=n.createRoot,W.hydrateRoot=n.hydrateRoot;else{var t=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;W.createRoot=function(a,s){t.usingClientEntryPoint=!0;try{return n.createRoot(a,s)}finally{t.usingClientEntryPoint=!1}},W.hydrateRoot=function(a,s,i){t.usingClientEntryPoint=!0;try{return n.hydrateRoot(a,s,i)}finally{t.usingClientEntryPoint=!1}}}return W}var Re=or();const ar=({palette:n,type:t})=>{const a=n.mode==="dark"?"black":"white",s=n.secondary.main,i=n.info.main;switch(t){case"dropOff":return{"circle-color":a,"circle-radius":5,"circle-stroke-color":i,"circle-stroke-width":6};default:return{"circle-color":a,"circle-radius":7,"circle-stroke-color":s,"circle-stroke-width":8}}},ir=(n,t,a,s)=>{const i={features:a.map(c=>({geometry:{coordinates:c.geometry.coordinates,type:"Point"},properties:{id:c.properties.id,...c.properties},type:"Feature"})),type:"FeatureCollection"},v=n.getSource(t);v?v.setData(i):n.addSource(t,{data:i,type:"geojson"});const m=[...i.features].sort((c,p)=>{var R,x;const l=((R=c.properties)==null?void 0:R.zIndex)||0,f=((x=p.properties)==null?void 0:x.zIndex)||0;return l-f}),d=n.getStyle().layers;d==null||d.forEach(c=>{c.id.startsWith("marker-")&&n.getLayer(c.id)&&n.removeLayer(c.id)}),m.forEach(c=>{const{description:p,id:l}=c.properties||{},f=ar({palette:s,type:p}),R=`marker-${l}`;n.addLayer({filter:["==","id",l],id:R,layout:{visibility:"visible"},paint:f,source:t,type:"circle"})})},sr=(n,t)=>{document.querySelectorAll(".react-custom-marker").forEach(i=>i.remove()),[...t].sort((i,v)=>{var c,p;const m=((c=i.properties)==null?void 0:c.zIndex)||0,d=((p=v.properties)==null?void 0:p.zIndex)||0;return m-d}).forEach(i=>{const{IconComponent:v,iconProps:m,onClick:d,zIndex:c}=i.properties||{},{coordinates:p}=i.geometry;if(v&&p.length>=2){const l=document.createElement("div");l.className="react-custom-marker",l.style.position="absolute",c!==void 0&&(l.style.zIndex=c.toString());const f=document.createElement("div"),R=Re.createRoot(f);v&&R.render(b.createElement(v,m||{})),l.appendChild(f);const x=()=>{d==null||d(i)};l.addEventListener("click",x),new I.Marker(l).setLngLat([p[0],p[1]]).addTo(n)}})},cr=n=>({features:(n==null?void 0:n.map((t,a)=>({geometry:{coordinates:[Number.isFinite(Number(t.lng))?Number(t.lng):Number(Te),Number.isFinite(Number(t.lat))?Number(t.lat):Number(ke)],type:"Point"},properties:{description:t.type,IconComponent:t.IconComponent,iconProps:t.iconProps,id:t.id||`{marker-${a}}`,name:t.name,onClick:t.onClick,size:t.size||1,zIndex:t.zIndex||0},type:"Feature"})))||[],type:"FeatureCollection"}),ur=({map:n,palette:t,markers:a})=>{if(!n.current)return;const s=cr(a),i=s.features.filter(m=>{var d;return((d=m.properties)==null?void 0:d.IconComponent)===void 0});i.length&&ir(n.current,"markerProps",i,t);const v=s.features.filter(m=>{var d;return(d=m.properties)==null?void 0:d.IconComponent});v.length&&sr(n.current,v)},lr=({map:n,markers:t,palette:a,isMapInitialized:s})=>{b.useEffect(()=>{if(!n.current||!t||!s)return;const i=()=>{ur({map:n,markers:t,palette:a})};n.current.loaded()?i():n.current.once("load",i)},[n,t,a,s])},fr=({map:n,onMapClick:t,isMapInitialized:a})=>{b.useEffect(()=>{if(!n.current||!t||!a)return;const s=n.current.getCanvas(),i=v=>{const m=[v.clientX-s.getBoundingClientRect().left,v.clientY-s.getBoundingClientRect().top],d=n.current.unproject(m);t(d.lng,d.lat)};s.addEventListener("click",i)},[a,n,t])},dr=n=>{const t=document.createElement("button");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="10px",t.style.cursor="pointer",t.type="button",t.setAttribute("aria-label","Close popup"),t.removeAttribute("aria-hidden"),t.onclick=()=>n.remove(),t},_e=({map:n,tooltip:t,coordinates:a})=>{if(!a||!t||!n.current||!Array.isArray(a)||a.length!==2)return null;const s=document.createElement("div"),i=document.createElement("div"),v=Re.createRoot(i);s.style.position="relative",s.style.overflow="hidden",s.style.zIndex="1000",v.render(t);const m=new I.Popup({closeButton:!1}).setLngLat(a).setDOMContent(s).addTo(n.current);m.on("close",()=>{queueMicrotask(()=>{v.unmount()})});const d=dr(m);return s.appendChild(d),s.appendChild(i),m},Ce=n=>typeof n=="object"&&n!==null&&"type"in n&&"coordinates"in n,pr=n=>{if(typeof n!="object"||n===null||!("geometry"in n&&"properties"in n))return!1;const{geometry:a}=n;if(typeof a!="object"||a===null||!("coordinates"in a))return!1;const{coordinates:s}=a;if(!Array.isArray(s)||s.length!==2||!Ce(a))return!1;const{properties:i}=n;return typeof i!="object"||i===null?!1:"id"in i&&i.id!==void 0},vr=({map:n,point:t})=>{var i,v,m,d,c;if(!((i=n.current)!=null&&i.isStyleLoaded()))return null;const a=((d=(m=(v=n.current)==null?void 0:v.getStyle())==null?void 0:m.layers)==null?void 0:d.filter(p=>p.id.startsWith("marker-")).map(p=>p.id))||[],s=(c=n.current)==null?void 0:c.queryRenderedFeatures(t,{layers:a});if(s&&s.length>0){const p=s[0];if(!pr(p)||!Ce(p.geometry))return null;const{geometry:l}=p,f=l.coordinates.slice();return f.length!==2||typeof f[0]!="number"||typeof f[1]!="number"?null:p}},yr=({openPopup:n,map:t,markers:a,isMapInitialized:s})=>{const i=b.useRef(null);b.useEffect(()=>{if(!t.current||!a||!s)return;const m=t.current.getCanvas();if(i.current&&(i.current.remove(),i.current=null),n){const c=a.find(p=>p.id===n);if(c){const p=[Number(c.lng)||0,Number(c.lat)||0],l=_e({coordinates:p,map:t,tooltip:c.Tooltip});l&&(i.current=l)}}const d=c=>{const p=[c.clientX-m.getBoundingClientRect().left,c.clientY-m.getBoundingClientRect().top],l=vr({map:t,point:p});if(l&&l.properties&&l.properties.id){i.current&&(i.current.remove(),i.current=null);const f=a.find(R=>R.id===l.properties.id);if(f){const R=[Number(f.lng)||0,Number(f.lat)||0];if(typeof f.onClick=="function"){const x={geometry:{coordinates:R,type:"Point"},properties:{description:f.name,id:f.id,name:f.name,onClick:f.onClick,size:f.size||1,zIndex:f.zIndex||1},type:"Feature"};f.onClick(x)}requestAnimationFrame(()=>{const x=_e({coordinates:R,map:t,tooltip:f.Tooltip});x&&(i.current=x)})}}};return m.addEventListener("click",d),()=>{m.removeEventListener("click",d),i.current&&(i.current.remove(),i.current=null)}},[s,t,a,n])},mr=n=>Array.isArray(n)?n.length>=2?[n[0],n[1]]:void 0:n,Er=(n,t)=>{const a=t==="dark";switch(n){case"satellite":return"mapbox://styles/mapbox/satellite-v9";case"3d":return a?"mapbox://styles/mapbox/dark-v10":"mapbox://styles/mapbox/streets-v12?optimize=true";case"streets":return a?"mapbox://styles/mapbox/dark-v10":"mapbox://styles/mapbox/streets-v11";case"default":default:return a?"mapbox://styles/mapbox/dark-v10":"mapbox://styles/mapbox/streets-v11"}},gr=({mapStyle:n,zoomFlyFrom:t,theme:a,baseMapView:s,doubleClickZoom:i,cooperativeGestures:v})=>({cooperativeGestures:v,doubleClickZoom:i,failIfMajorPerformanceCaveat:!1,style:n||Er(s,a),zoom:t}),xe=(n,t)=>Number.isFinite(n)&&Number.isFinite(t)&&n>=-90&&n<=90&&t>=-180&&t<=180,Te=2.333,ke=46.8677,br=({markers:n,loading:t,center:a,disableAnimation:s,openPopup:i,onMapClick:v,projection:m,theme:d,mapStyle:c,baseMapView:p="default",zoom:l=6,fitBoundsPadding:f=50,zoomFlyFrom:R=3,flyToDuration:x=5e3,fitBoundDuration:$=1e3,fitBounds:ie=!0,disableFlyTo:se=!1,cooperativeGestures:L=!0,doubleClickZoom:T=!0})=>{const[A,ee]=b.useState(!1),{palette:K}=N.useTheme(),X=b.useRef(""),P=b.useRef(null),Y=b.useMemo(()=>n?n.filter(w=>w.lat!==void 0&&w.lng!==void 0&&xe(Number(w.lat),Number(w.lng))):[],[n]),H=b.useMemo(()=>gr({baseMapView:p,cooperativeGestures:L,doubleClickZoom:T,mapStyle:c,theme:d||K.mode,zoomFlyFrom:R}),[p,L,T,c,K.mode,m,d,R]),z=b.useCallback(()=>{if(P.current){const w=X.current;w&&typeof w!="string"&&(w.innerHTML=""),P.current.remove(),P.current=null,ee(!1)}},[]),re=b.useCallback(()=>{!I.supported()||t||(z(),P.current=new I.Map({...H,container:X.current}),P.current.resize(),ee(!0))},[z,H,t]);return b.useEffect(()=>{re()},[re]),b.useEffect(()=>{if(!P.current||!A)return;const w=mr(a)||{lat:ke,lng:Te};P.current.setCenter(w)},[a,A]),b.useEffect(()=>{!P.current||!A||l===void 0||Math.abs(P.current.getZoom()-l)>.1&&P.current.setZoom(l)},[l,A]),lr({isMapInitialized:A,map:P,markers:Y,palette:K}),yr({isMapInitialized:A,map:P,markers:Y,openPopup:i}),fr({isMapInitialized:A,map:P,onMapClick:v}),nr({disableAnimation:s,disableFlyTo:se,fitBoundDuration:$,fitBounds:ie,fitBoundsPadding:f,flyToDuration:x,isMapInitialized:A,map:P,markers:Y,zoom:l}),b.useEffect(()=>z,[z]),{containerRef:X,isMapInitialized:A,loading:t,map:P,markers:Y}},hr=({containerStyle:n,square:t,height:a=300,width:s="100%",...i})=>{const{loading:v,containerRef:m}=br(i);return U.jsxs(N.Box,{sx:{height:a,position:"relative",width:s,...n},children:[U.jsx(N.GlobalStyles,{styles:{".mapboxgl-popup-content":{backgroundColor:"transparent!important",borderRadius:"0px !important",boxShadow:"none!important",padding:"0px 0px!important",width:"fit-content!important"}}}),I.supported()?U.jsx(N.Box,{ref:m,sx:{alignItems:"center",borderRadius:t?0:1,display:v?"none":"block",height:a,justifyContent:"center",left:0,overflow:"hidden",position:"absolute",top:0,width:s,zIndex:1}}):U.jsx(N.Box,{sx:{left:"50%",position:"absolute",textAlign:"center",top:"50%",transform:"translate(-50%, -50%)"},children:"WebGL is not enabled in your browser. This technology is required to display the interactive map."}),v&&U.jsx(N.Skeleton,{width:s,height:a,variant:t?"rectangular":"rounded",sx:{inset:0,position:"absolute",zIndex:2}})]})},Rr=b.memo(hr);k.DEFAULT_CENTER_LAT=46.8677,k.DEFAULT_CENTER_LNG=2.333,k.MapProvider=tr,k.MapProviderContext=be,k.MarkerMap=Rr,k.isValidLatLng=xe,Object.defineProperty(k,Symbol.toStringTag,{value:"Module"})});
31
+ <%s key={someKey} {...props} />`,ve,M,Ht,M),Je[M+ve]=!0}}return e===i?Vt(C):Bt(C),C}}function Gt(e,n,o){return Ke(e,n,o,!0)}function Jt(e,n,o){return Ke(e,n,o,!1)}var Kt=Jt,Xt=Gt;J.Fragment=i,J.jsx=Kt,J.jsxs=Xt}()),J}var ge;function $e(){return ge||(ge=1,process.env.NODE_ENV==="production"?q.exports=Qe():q.exports=qe()),q.exports}var U=$e();const be=h.createContext({licenceMapbox:"",licenseMuiX:""}),et=({children:r,licenseMuiX:t,licenceMapbox:a})=>{h.useEffect(()=>{t&&Xe.LicenseInfo.setLicenseKey(t)},[t]);const i=h.useMemo(()=>({licenceMapbox:a,licenseMuiX:t}),[t,a]);return a&&(F.accessToken=a),U.jsx(be.Provider,{value:i,children:r})},tt=r=>Array.isArray(r)?r.length>=2?[r[0],r[1]]:void 0:r,rt=r=>typeof r=="string"||typeof r=="number"?String(r):JSON.stringify(r),nt=(r,t)=>t&&(t==null?void 0:t.length)<=1?100:r,ot=({map:r,disableAnimation:t,fitBounds:a,markers:i,fitBoundDuration:s,fitBoundsPadding:E,isMapInitialized:p,center:d,fitBoundsAnimationKey:c})=>{const v=h.useRef(void 0);h.useEffect(()=>{var f;if(!a||!(i!=null&&i.length)){const u=tt(d)||{lat:46.8677,lng:2.333};(f=r.current)==null||f.setCenter(u)}},[d,i==null?void 0:i.length,a,r]),h.useEffect(()=>{var u;if(!r.current||!p||t||a===!1||!(i!=null&&i.length))return;if(c!==void 0){const R=rt(c);if(v.current===R)return;v.current=R}const f=new F.LngLatBounds;i.forEach(R=>{f.extend([Number(R.lng),Number(R.lat)])}),(u=r.current)==null||u.fitBounds(f,{duration:nt(s,i),padding:E})},[i,t,s,a,c,E,p,r])};var z={},he;function it(){if(he)return z;he=1;var r=Ze;if(process.env.NODE_ENV==="production")z.createRoot=r.createRoot,z.hydrateRoot=r.hydrateRoot;else{var t=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;z.createRoot=function(a,i){t.usingClientEntryPoint=!0;try{return r.createRoot(a,i)}finally{t.usingClientEntryPoint=!1}},z.hydrateRoot=function(a,i,s){t.usingClientEntryPoint=!0;try{return r.hydrateRoot(a,i,s)}finally{t.usingClientEntryPoint=!1}}}return z}var Re=it();const at=({palette:r,type:t})=>{const a=r.mode==="dark"?"black":"white",i=r.secondary.main,s=r.info.main;switch(t){case"dropOff":return{"circle-color":a,"circle-radius":5,"circle-stroke-color":s,"circle-stroke-width":6};default:return{"circle-color":a,"circle-radius":7,"circle-stroke-color":i,"circle-stroke-width":8}}},st=(r,t,a,i)=>{const s={features:a.map(c=>({geometry:{coordinates:c.geometry.coordinates,type:"Point"},properties:{id:c.properties.id,...c.properties},type:"Feature"})),type:"FeatureCollection"},E=r.getSource(t);E?E.setData(s):r.addSource(t,{data:s,type:"geojson"});const p=[...s.features].sort((c,v)=>{var R,S;const f=((R=c.properties)==null?void 0:R.zIndex)||0,u=((S=v.properties)==null?void 0:S.zIndex)||0;return f-u}),d=r.getStyle().layers;d==null||d.forEach(c=>{c.id.startsWith("marker-")&&r.getLayer(c.id)&&r.removeLayer(c.id)}),p.forEach(c=>{const{description:v,id:f}=c.properties||{},u=at({palette:i,type:v}),R=`marker-${f}`;r.addLayer({filter:["==","id",f],id:R,layout:{visibility:"visible"},paint:u,source:t,type:"circle"})})},ct=(r,t)=>{document.querySelectorAll(".react-custom-marker").forEach(s=>s.remove()),[...t].sort((s,E)=>{var c,v;const p=((c=s.properties)==null?void 0:c.zIndex)||0,d=((v=E.properties)==null?void 0:v.zIndex)||0;return p-d}).forEach(s=>{const{IconComponent:E,iconProps:p,onClick:d,zIndex:c,pointerEvents:v}=s.properties||{},{coordinates:f}=s.geometry;if(E&&f.length>=2){const u=document.createElement("div");u.className="react-custom-marker",u.style.position="absolute",c!==void 0&&(u.style.zIndex=c.toString()),v!==void 0&&(u.style.pointerEvents=v.toString());const R=document.createElement("div"),S=Re.createRoot(R);E&&S.render(h.createElement(E,p||{})),u.appendChild(R);const W=()=>{d==null||d(s)};u.addEventListener("click",W),new F.Marker(u).setLngLat([f[0],f[1]]).addTo(r)}})},ut=r=>({features:(r==null?void 0:r.map((t,a)=>({geometry:{coordinates:[Number.isFinite(Number(t.lng))?Number(t.lng):Number(ht),Number.isFinite(Number(t.lat))?Number(t.lat):Number(Rt)],type:"Point"},properties:{description:t.type,IconComponent:t.IconComponent,iconProps:t.iconProps,id:t.id||`{marker-${a}}`,name:t.name,onClick:t.onClick,pointerEvents:t.pointerEvents||"auto",size:t.size||1,zIndex:t.zIndex||0},type:"Feature"})))||[],type:"FeatureCollection"}),lt=({map:r,palette:t,markers:a})=>{if(!r.current)return;const i=ut(a),s=i.features.filter(p=>{var d;return((d=p.properties)==null?void 0:d.IconComponent)===void 0});s.length&&st(r.current,"markerProps",s,t);const E=i.features.filter(p=>{var d;return(d=p.properties)==null?void 0:d.IconComponent});E.length&&ct(r.current,E)},ft=({map:r,markers:t,palette:a,isMapInitialized:i})=>{h.useEffect(()=>{if(!r.current||!t||!i)return;const s=()=>{lt({map:r,markers:t,palette:a})};r.current.loaded()?s():r.current.once("load",s)},[r,t,a,i])},dt=({map:r,onMapClick:t,isMapInitialized:a})=>{h.useEffect(()=>{if(!r.current||!t||!a)return;const i=r.current.getCanvas(),s=E=>{const p=[E.clientX-i.getBoundingClientRect().left,E.clientY-i.getBoundingClientRect().top],d=r.current.unproject(p);t(d.lng,d.lat)};i.addEventListener("click",s)},[a,r,t])},pt=r=>{const t=document.createElement("button");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="10px",t.style.cursor="pointer",t.type="button",t.setAttribute("aria-label","Close popup"),t.removeAttribute("aria-hidden"),t.onclick=()=>r.remove(),t},me=({map:r,tooltip:t,coordinates:a})=>{if(!a||!t||!r.current||!Array.isArray(a)||a.length!==2)return null;const i=document.createElement("div"),s=document.createElement("div"),E=Re.createRoot(s);i.style.position="relative",i.style.overflow="hidden",i.style.zIndex="1000",E.render(t);const p=new F.Popup({closeButton:!1}).setLngLat(a).setDOMContent(i).addTo(r.current);p.on("close",()=>{queueMicrotask(()=>{E.unmount()})});const d=pt(p);return i.appendChild(d),i.appendChild(s),p},_e=r=>typeof r=="object"&&r!==null&&"type"in r&&"coordinates"in r,vt=r=>{if(typeof r!="object"||r===null||!("geometry"in r&&"properties"in r))return!1;const{geometry:a}=r;if(typeof a!="object"||a===null||!("coordinates"in a))return!1;const{coordinates:i}=a;if(!Array.isArray(i)||i.length!==2||!_e(a))return!1;const{properties:s}=r;return typeof s!="object"||s===null?!1:"id"in s&&s.id!==void 0},yt=({map:r,point:t})=>{var s,E,p,d,c;if(!((s=r.current)!=null&&s.isStyleLoaded()))return null;const a=((d=(p=(E=r.current)==null?void 0:E.getStyle())==null?void 0:p.layers)==null?void 0:d.filter(v=>v.id.startsWith("marker-")).map(v=>v.id))||[],i=(c=r.current)==null?void 0:c.queryRenderedFeatures(t,{layers:a});if(i&&i.length>0){const v=i[0];if(!vt(v)||!_e(v.geometry))return null;const{geometry:f}=v,u=f.coordinates.slice();return u.length!==2||typeof u[0]!="number"||typeof u[1]!="number"?null:v}},Et=({openPopup:r,map:t,markers:a,isMapInitialized:i})=>{const s=h.useRef(null);h.useEffect(()=>{if(!t.current||!a||!i)return;const p=t.current.getCanvas();if(s.current&&(s.current.remove(),s.current=null),r){const c=a.find(v=>v.id===r);if(c){const v=[Number(c.lng)||0,Number(c.lat)||0],f=me({coordinates:v,map:t,tooltip:c.Tooltip});f&&(s.current=f)}}const d=c=>{const v=[c.clientX-p.getBoundingClientRect().left,c.clientY-p.getBoundingClientRect().top],f=yt({map:t,point:v});if(f&&f.properties&&f.properties.id){s.current&&(s.current.remove(),s.current=null);const u=a.find(R=>R.id===f.properties.id);if(u){const R=[Number(u.lng)||0,Number(u.lat)||0];if(typeof u.onClick=="function"){const S={geometry:{coordinates:R,type:"Point"},properties:{description:u.name,id:u.id,name:u.name,onClick:u.onClick,size:u.size||1,zIndex:u.zIndex||1},type:"Feature"};u.onClick(S)}requestAnimationFrame(()=>{const S=me({coordinates:R,map:t,tooltip:u.Tooltip});S&&(s.current=S)})}}};return p.addEventListener("click",d),()=>{p.removeEventListener("click",d),s.current&&(s.current.remove(),s.current=null)}},[i,t,a,r])},gt=(r,t)=>{const a=t==="dark";switch(r){case"satellite":return"mapbox://styles/mapbox/satellite-v9";case"3d":return a?"mapbox://styles/mapbox/dark-v10":"mapbox://styles/mapbox/streets-v12?optimize=true";case"streets":return a?"mapbox://styles/mapbox/dark-v10":"mapbox://styles/mapbox/streets-v11";case"default":default:return a?"mapbox://styles/mapbox/dark-v10":"mapbox://styles/mapbox/streets-v11"}},bt=({mapStyle:r,theme:t,baseMapView:a,doubleClickZoom:i,cooperativeGestures:s})=>({cooperativeGestures:s,doubleClickZoom:i,failIfMajorPerformanceCaveat:!1,style:r||gt(a,t)}),Ce=(r,t)=>Number.isFinite(r)&&Number.isFinite(t)&&r>=-90&&r<=90&&t>=-180&&t<=180,ht=2.333,Rt=46.8677,mt=({markers:r,loading:t,center:a,disableAnimation:i,openPopup:s,onMapClick:E,projection:p,theme:d,mapStyle:c,fitBoundsAnimationKey:v,baseMapView:f="default",zoom:u=6,fitBoundsPadding:R=50,fitBoundDuration:S=1e3,fitBounds:W=!0,cooperativeGestures:$=!0,doubleClickZoom:ee=!0})=>{const[w,T]=h.useState(!1),{palette:K}=N.useTheme(),X=He.useDebounce(r),H=h.useRef(""),P=h.useRef(null),Y=h.useMemo(()=>X?X.filter(L=>L.lat!==void 0&&L.lng!==void 0&&Ce(Number(L.lat),Number(L.lng))):[],[X]),te=h.useMemo(()=>bt({baseMapView:f,cooperativeGestures:$,doubleClickZoom:ee,mapStyle:c,theme:d||K.mode}),[f,$,ee,c,K.mode,p,d]),D=h.useCallback(()=>{if(P.current){const L=H.current;L&&typeof L!="string"&&(L.innerHTML=""),P.current.remove(),P.current=null,T(!1)}},[]),re=h.useCallback(()=>{!F.supported()||t||(D(),P.current=new F.Map({...te,container:H.current}),P.current.resize(),T(!0))},[D,te,t]);return h.useEffect(()=>{re()},[re]),h.useEffect(()=>{!P.current||!w||u===void 0||Math.abs(P.current.getZoom()-u)>.1&&P.current.setZoom(u)},[u,w]),ft({isMapInitialized:w,map:P,markers:Y,palette:K}),Et({isMapInitialized:w,map:P,markers:Y,openPopup:s}),dt({isMapInitialized:w,map:P,onMapClick:E}),ot({center:a,disableAnimation:i,fitBoundDuration:S,fitBounds:W,fitBoundsAnimationKey:v,fitBoundsPadding:R,isMapInitialized:w,map:P,markers:Y}),h.useEffect(()=>D,[D]),{containerRef:H,isMapInitialized:w,loading:t,map:P,markers:Y}},_t=({containerStyle:r,square:t,height:a=300,width:i="100%",...s})=>{const{loading:E,containerRef:p}=mt(s);return U.jsxs(N.Box,{sx:{height:a,position:"relative",width:i,...r},children:[U.jsx(N.GlobalStyles,{styles:{".mapboxgl-popup-content":{backgroundColor:"transparent!important",borderRadius:"0px !important",boxShadow:"none!important",padding:"0px 0px!important",width:"fit-content!important"}}}),F.supported()?U.jsx(N.Box,{ref:p,sx:{alignItems:"center",borderRadius:t?0:1,display:E?"none":"block",height:a,justifyContent:"center",left:0,overflow:"hidden",position:"absolute",top:0,width:i,zIndex:1}}):U.jsx(N.Box,{sx:{left:"50%",position:"absolute",textAlign:"center",top:"50%",transform:"translate(-50%, -50%)"},children:"WebGL is not enabled in your browser. This technology is required to display the interactive map."}),E&&U.jsx(N.Skeleton,{width:i,height:a,variant:t?"rectangular":"rounded",sx:{inset:0,position:"absolute",zIndex:2}})]})},Ct=h.memo(_t);x.DEFAULT_CENTER_LAT=46.8677,x.DEFAULT_CENTER_LNG=2.333,x.MapProvider=et,x.MapProviderContext=be,x.MarkerMap=Ct,x.isValidLatLng=Ce,Object.defineProperty(x,Symbol.toStringTag,{value:"Module"})});
@@ -23,11 +23,7 @@ export interface MarkerMapProps {
23
23
  */
24
24
  zoom?: number;
25
25
  /**
26
- * Zoom level to use during fly animations.
27
- */
28
- zoomFlyFrom?: number;
29
- /**
30
- * Maximum width of popups in pixels or other CSS unit.
26
+ * Maximum width of popups in pixels or another CSS unit.
31
27
  */
32
28
  popupMaxWidth?: string;
33
29
  /**
@@ -50,22 +46,18 @@ export interface MarkerMapProps {
50
46
  * Style to apply to the map container (uses MUI's SxProps system).
51
47
  */
52
48
  containerStyle?: SxProps;
53
- /**
54
- * Disables the animation when flying to a point.
55
- */
56
- disableFlyTo?: boolean;
57
49
  /**
58
50
  * Disables the animation
59
51
  */
60
52
  disableAnimation?: boolean;
61
- /**
62
- * Duration of the fly animation in milliseconds.
63
- */
64
- flyToDuration?: number;
65
53
  /**
66
54
  * Duration of the fit bounds animation in milliseconds.
67
55
  */
68
56
  fitBoundDuration?: number;
57
+ /**
58
+ * Optional key to trigger fitBounds animation.
59
+ */
60
+ fitBoundsAnimationKey?: unknown;
69
61
  /**
70
62
  * Forces the map container to be square.
71
63
  */
@@ -105,7 +97,7 @@ export interface MarkerMapProps {
105
97
  */
106
98
  cooperativeGestures?: boolean;
107
99
  /**
108
- * Optional key to activate double click zoom (default is true).
100
+ * Optional key to activate double-click zoom (default is true).
109
101
  */
110
102
  doubleClickZoom?: boolean;
111
103
  }
@@ -33,6 +33,10 @@ export interface MarkerProps {
33
33
  * Z-index to control layering of the marker relative to others.
34
34
  */
35
35
  zIndex?: number;
36
+ /**
37
+ * Pointer events control for the marker.
38
+ */
39
+ pointerEvents?: string;
36
40
  /**
37
41
  * Function to call when the marker is clicked.
38
42
  */
@@ -45,13 +49,13 @@ export interface MarkerProps {
45
49
  * Optional display name for the marker.
46
50
  */
47
51
  name?: string;
52
+ /**
53
+ * Optional props to pass to the IconComponent.
54
+ */
55
+ iconProps?: Record<string, any>;
48
56
  /**
49
57
  * Optional custom React component to use as the marker icon.
50
58
  * Overrides iconImage if provided.
51
59
  */
52
60
  IconComponent?: ComponentType<any>;
53
- /**
54
- * Optional props to pass to the IconComponent.
55
- */
56
- iconProps?: Record<string, any>;
57
61
  }
@@ -1,8 +1,6 @@
1
- import { LngLatLike, MapOptions } from 'mapbox-gl';
1
+ import { MapOptions } from 'mapbox-gl';
2
2
  interface MapOptionsProps {
3
- center?: LngLatLike | number[];
4
3
  mapStyle?: string;
5
- zoomFlyFrom?: number;
6
4
  projection?: MapOptions["projection"];
7
5
  baseMapView?: "default" | "satellite" | "streets" | "3d";
8
6
  cooperativeGestures?: boolean;
@@ -20,7 +18,6 @@ interface MapOptionsProps {
20
18
  *
21
19
  * @param {Object} params - Configuration parameters
22
20
  * @param {string} params.mapStyle - Mapbox style URL or specification
23
- * @param {number} [params.zoomFlyFrom] - Initial zoom level for fly-to animation
24
21
  * @param {MarkerProps[]} [params.markers] - Array of marker definitions
25
22
  * @param {LngLatLike|number[]} [params.center] - Optional center coordinates (either as LngLat object or [lng, lat] array)
26
23
  * @param {MapOptions["projection"]} [params.projection] - Optional coordinate projection
@@ -39,8 +36,7 @@ interface MapOptionsProps {
39
36
  * const options = getCoreMapOptions({
40
37
  * mapStyle: 'mapbox://styles/mapbox/streets-v11',
41
38
  * markers: [{ lat: 48.8584, lng: 2.2945 }],
42
- * zoomFlyFrom: 12
43
39
  * });
44
40
  */
45
- declare const getCoreMapOptions: ({ mapStyle, zoomFlyFrom, theme, baseMapView, doubleClickZoom, cooperativeGestures, }: MapOptionsProps) => Omit<MapOptions, "container">;
41
+ declare const getCoreMapOptions: ({ mapStyle, theme, baseMapView, doubleClickZoom, cooperativeGestures, }: MapOptionsProps) => Omit<MapOptions, "container">;
46
42
  export default getCoreMapOptions;
@@ -1,6 +1,6 @@
1
1
  import { Palette } from '@tracktor/design-system';
2
2
  import { Map } from 'mapbox-gl';
3
- import { default as React, RefObject } from 'react';
3
+ import { ComponentType, RefObject } from 'react';
4
4
  import { MarkerProps } from '../types/MarkerProps.ts';
5
5
  export interface CustomMarkerMapProps {
6
6
  geometry: {
@@ -12,10 +12,11 @@ export interface CustomMarkerMapProps {
12
12
  id?: string | number;
13
13
  size: number;
14
14
  zIndex: number;
15
+ pointerEvents?: string;
15
16
  name?: string;
16
- IconComponent?: React.ComponentType<any>;
17
17
  iconProps?: Record<string, any>;
18
18
  onClick?: (markerData?: CustomMarkerMapProps) => void;
19
+ IconComponent?: ComponentType<any>;
19
20
  };
20
21
  type: string;
21
22
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "A react library to easily display map with multiple tools",
4
4
  "private": false,
5
5
  "license": "UNLICENSED",
6
- "version": "0.7.0",
6
+ "version": "0.8.0",
7
7
  "type": "module",
8
8
  "main": "dist/main.umd.cjs",
9
9
  "module": "dist/main.js",