@tracktor/map 1.8.13 → 1.8.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -1,12 +1,12 @@
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-buildings-toggle .mapboxgl-ctrl-icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M3.3335 11.6666C3.3335 12.5871 4.07969 13.3333 5.00016 13.3333C5.92064 13.3333 6.66683 12.5871 6.66683 11.6666L6.66683 6.66659L11.6668 6.66659C12.5873 6.66659 13.3335 5.92039 13.3335 4.99992C13.3335 4.07944 12.5873 3.33325 11.6668 3.33325H3.3335V11.6666Z' fill='currentColor'/%3E%3Cpath d='M26.6668 11.6666C26.6668 12.5871 25.9206 13.3333 25.0002 13.3333C24.0797 13.3333 23.3335 12.5871 23.3335 11.6666L23.3335 6.66659L18.3335 6.66659C17.413 6.66659 16.6668 5.92039 16.6668 4.99992C16.6668 4.07944 17.413 3.33325 18.3335 3.33325H26.6668L26.6668 11.6666Z' fill='currentColor'/%3E%3Cpath d='M13.3335 24.9999C13.3335 25.9204 12.5873 26.6666 11.6668 26.6666H3.3335V18.3333C3.3335 17.4128 4.07969 16.6666 5.00016 16.6666C5.92064 16.6666 6.66683 17.4128 6.66683 18.3333V23.3333H11.6668C12.5873 23.3333 13.3335 24.0794 13.3335 24.9999Z' fill='currentColor'/%3E%3Cpath d='M18.3335 26.6666C17.413 26.6666 16.6668 25.9204 16.6668 24.9999C16.6668 24.0794 17.413 23.3333 18.3335 23.3333H23.3335V18.3333C23.3335 17.4128 24.0797 16.6666 25.0002 16.6666C25.9206 16.6666 26.6668 17.4128 26.6668 18.3333V26.6666H18.3335Z' fill='currentColor'/%3E%3C/svg%3E");background-size:26px 26px}.mapboxgl-ctrl button.mapboxgl-ctrl-buildings-toggle.mapboxgl-ctrl-level-button-selected .mapboxgl-ctrl-icon{filter:invert(1) brightness(1)}.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}.mapboxgl-ctrl-separator{background-color:#e0e0e0;height:1px}.mapboxgl-ctrl button.mapboxgl-ctrl-level-button{color:#333;font-size:18px;font-weight:700;height:50px;width:50px}.mapboxgl-ctrl button.mapboxgl-ctrl-level-button:first-child{border-top-left-radius:8px;border-top-right-radius:8px}.mapboxgl-ctrl button.mapboxgl-ctrl-level-button:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}.mapboxgl-ctrl button.mapboxgl-ctrl-level-button:hover{background-color:#f5f5f5}.mapboxgl-ctrl button.mapboxgl-ctrl-level-button-selected{background-color:#4a5568;color:#fff}.mapboxgl-ctrl button.mapboxgl-ctrl-level-button-selected:hover{background-color:#2d3748}`)),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- import Fe, { createContext as Ue, useEffect as w, useMemo as P, useRef as de, memo as fe, useState as I } from "react";
3
- import { LicenseInfo as De } from "@mui/x-license";
2
+ import $e, { createContext as De, useEffect as w, useMemo as k, useRef as de, memo as fe, useState as N } from "react";
3
+ import { LicenseInfo as Ue } from "@mui/x-license";
4
4
  import Re from "mapbox-gl";
5
- import { Box as z, useTheme as Se, GlobalStyles as Ye, Skeleton as We } from "@tracktor/design-system";
6
- import Je, { Marker as je, Source as he, Layer as be, useMap as Ge, Popup as ze } from "react-map-gl";
5
+ import { Box as V, useTheme as Se, GlobalStyles as Ye, Skeleton as Be } from "@tracktor/design-system";
6
+ import We, { Marker as je, Source as he, Layer as be, useMap as Ge, Popup as Ve } from "react-map-gl";
7
7
  import { isArray as pe, isString as ge, isNumber as te } from "@tracktor/react-utils";
8
- const Yt = 2.333, Wt = 46.8677;
9
- var ee = { exports: {} }, J = {};
8
+ const Ut = 2.333, Yt = 46.8677;
9
+ var ee = { exports: {} }, W = {};
10
10
  /**
11
11
  * @license React
12
12
  * react-jsx-runtime.production.js
@@ -18,25 +18,25 @@ var ee = { exports: {} }, J = {};
18
18
  */
19
19
  var xe;
20
20
  function qe() {
21
- if (xe) return J;
21
+ if (xe) return W;
22
22
  xe = 1;
23
23
  var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
24
- function r(a, o, l) {
24
+ function r(l, o, a) {
25
25
  var s = null;
26
- if (l !== void 0 && (s = "" + l), o.key !== void 0 && (s = "" + o.key), "key" in o) {
27
- l = {};
26
+ if (a !== void 0 && (s = "" + a), o.key !== void 0 && (s = "" + o.key), "key" in o) {
27
+ a = {};
28
28
  for (var u in o)
29
- u !== "key" && (l[u] = o[u]);
30
- } else l = o;
31
- return o = l.ref, {
29
+ u !== "key" && (a[u] = o[u]);
30
+ } else a = o;
31
+ return o = a.ref, {
32
32
  $$typeof: e,
33
- type: a,
33
+ type: l,
34
34
  key: s,
35
35
  ref: o !== void 0 ? o : null,
36
- props: l
36
+ props: a
37
37
  };
38
38
  }
39
- return J.Fragment = t, J.jsx = r, J.jsxs = r, J;
39
+ return W.Fragment = t, W.jsx = r, W.jsxs = r, W;
40
40
  }
41
41
  var G = {};
42
42
  /**
@@ -49,23 +49,23 @@ var G = {};
49
49
  * LICENSE file in the root directory of this source tree.
50
50
  */
51
51
  var ve;
52
- function Be() {
52
+ function ze() {
53
53
  return ve || (ve = 1, process.env.NODE_ENV !== "production" && (function() {
54
54
  function e(n) {
55
55
  if (n == null) return null;
56
56
  if (typeof n == "function")
57
- return n.$$typeof === V ? null : n.displayName || n.name || null;
57
+ return n.$$typeof === J ? null : n.displayName || n.name || null;
58
58
  if (typeof n == "string") return n;
59
59
  switch (n) {
60
60
  case C:
61
61
  return "Fragment";
62
- case $:
62
+ case I:
63
63
  return "Profiler";
64
64
  case q:
65
65
  return "StrictMode";
66
- case F:
66
+ case $:
67
67
  return "Suspense";
68
- case U:
68
+ case D:
69
69
  return "SuspenseList";
70
70
  case A:
71
71
  return "Activity";
@@ -74,21 +74,21 @@ function Be() {
74
74
  switch (typeof n.tag == "number" && console.error(
75
75
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
76
76
  ), n.$$typeof) {
77
- case R:
77
+ case _:
78
78
  return "Portal";
79
79
  case se:
80
80
  return n.displayName || "Context";
81
81
  case oe:
82
82
  return (n._context.displayName || "Context") + ".Consumer";
83
- case B:
84
- var i = n.render;
85
- return n = n.displayName, n || (n = i.displayName || i.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
83
+ case z:
84
+ var c = n.render;
85
+ return n = n.displayName, n || (n = c.displayName || c.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
86
86
  case T:
87
- return i = n.displayName || null, i !== null ? i : e(n.type) || "Memo";
87
+ return c = n.displayName || null, c !== null ? c : e(n.type) || "Memo";
88
88
  case S:
89
- i = n._payload, n = n._init;
89
+ c = n._payload, n = n._init;
90
90
  try {
91
- return e(n(i));
91
+ return e(n(c));
92
92
  } catch {
93
93
  }
94
94
  }
@@ -100,50 +100,50 @@ function Be() {
100
100
  function r(n) {
101
101
  try {
102
102
  t(n);
103
- var i = !1;
103
+ var c = !1;
104
104
  } catch {
105
- i = !0;
105
+ c = !0;
106
106
  }
107
- if (i) {
108
- i = console;
109
- var m = i.error, h = typeof Symbol == "function" && Symbol.toStringTag && n[Symbol.toStringTag] || n.constructor.name || "Object";
107
+ if (c) {
108
+ c = console;
109
+ var m = c.error, b = typeof Symbol == "function" && Symbol.toStringTag && n[Symbol.toStringTag] || n.constructor.name || "Object";
110
110
  return m.call(
111
- i,
111
+ c,
112
112
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
113
- h
113
+ b
114
114
  ), t(n);
115
115
  }
116
116
  }
117
- function a(n) {
117
+ function l(n) {
118
118
  if (n === C) return "<>";
119
119
  if (typeof n == "object" && n !== null && n.$$typeof === S)
120
120
  return "<...>";
121
121
  try {
122
- var i = e(n);
123
- return i ? "<" + i + ">" : "<...>";
122
+ var c = e(n);
123
+ return c ? "<" + c + ">" : "<...>";
124
124
  } catch {
125
125
  return "<...>";
126
126
  }
127
127
  }
128
128
  function o() {
129
- var n = D.A;
129
+ var n = U.A;
130
130
  return n === null ? null : n.getOwner();
131
131
  }
132
- function l() {
132
+ function a() {
133
133
  return Error("react-stack-top-frame");
134
134
  }
135
135
  function s(n) {
136
- if (L.call(n, "key")) {
137
- var i = Object.getOwnPropertyDescriptor(n, "key").get;
138
- if (i && i.isReactWarning) return !1;
136
+ if (F.call(n, "key")) {
137
+ var c = Object.getOwnPropertyDescriptor(n, "key").get;
138
+ if (c && c.isReactWarning) return !1;
139
139
  }
140
140
  return n.key !== void 0;
141
141
  }
142
- function u(n, i) {
142
+ function u(n, c) {
143
143
  function m() {
144
- O || (O = !0, console.error(
144
+ M || (M = !0, console.error(
145
145
  "%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://react.dev/link/special-props)",
146
- i
146
+ c
147
147
  ));
148
148
  }
149
149
  m.isReactWarning = !0, Object.defineProperty(n, "key", {
@@ -157,14 +157,14 @@ function Be() {
157
157
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
158
158
  )), n = this.props.ref, n !== void 0 ? n : null;
159
159
  }
160
- function g(n, i, m, h, N, W) {
160
+ function g(n, c, m, b, L, B) {
161
161
  var y = m.ref;
162
162
  return n = {
163
- $$typeof: E,
163
+ $$typeof: h,
164
164
  type: n,
165
- key: i,
165
+ key: c,
166
166
  props: m,
167
- _owner: h
167
+ _owner: b
168
168
  }, (y !== void 0 ? y : null) !== null ? Object.defineProperty(n, "ref", {
169
169
  enumerable: !1,
170
170
  get: f
@@ -182,50 +182,50 @@ function Be() {
182
182
  configurable: !1,
183
183
  enumerable: !1,
184
184
  writable: !0,
185
- value: N
185
+ value: L
186
186
  }), Object.defineProperty(n, "_debugTask", {
187
187
  configurable: !1,
188
188
  enumerable: !1,
189
189
  writable: !0,
190
- value: W
190
+ value: B
191
191
  }), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
192
192
  }
193
- function p(n, i, m, h, N, W) {
194
- var y = i.children;
193
+ function p(n, c, m, b, L, B) {
194
+ var y = c.children;
195
195
  if (y !== void 0)
196
- if (h)
196
+ if (b)
197
197
  if (X(y)) {
198
- for (h = 0; h < y.length; h++)
199
- v(y[h]);
198
+ for (b = 0; b < y.length; b++)
199
+ E(y[b]);
200
200
  Object.freeze && Object.freeze(y);
201
201
  } else
202
202
  console.error(
203
203
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
204
204
  );
205
- else v(y);
206
- if (L.call(i, "key")) {
205
+ else E(y);
206
+ if (F.call(c, "key")) {
207
207
  y = e(n);
208
- var j = Object.keys(i).filter(function(_) {
209
- return _ !== "key";
208
+ var j = Object.keys(c).filter(function(R) {
209
+ return R !== "key";
210
210
  });
211
- h = 0 < j.length ? "{key: someKey, " + j.join(": ..., ") + ": ...}" : "{key: someKey}", Q[y + h] || (j = 0 < j.length ? "{" + j.join(": ..., ") + ": ...}" : "{}", console.error(
211
+ b = 0 < j.length ? "{key: someKey, " + j.join(": ..., ") + ": ...}" : "{key: someKey}", Q[y + b] || (j = 0 < j.length ? "{" + j.join(": ..., ") + ": ...}" : "{}", console.error(
212
212
  `A props object containing a "key" prop is being spread into JSX:
213
213
  let props = %s;
214
214
  <%s {...props} />
215
215
  React keys must be passed directly to JSX without using spread:
216
216
  let props = %s;
217
217
  <%s key={someKey} {...props} />`,
218
- h,
218
+ b,
219
219
  y,
220
220
  j,
221
221
  y
222
- ), Q[y + h] = !0);
222
+ ), Q[y + b] = !0);
223
223
  }
224
- if (y = null, m !== void 0 && (r(m), y = "" + m), s(i) && (r(i.key), y = "" + i.key), "key" in i) {
224
+ if (y = null, m !== void 0 && (r(m), y = "" + m), s(c) && (r(c.key), y = "" + c.key), "key" in c) {
225
225
  m = {};
226
- for (var c in i)
227
- c !== "key" && (m[c] = i[c]);
228
- } else m = i;
226
+ for (var i in c)
227
+ i !== "key" && (m[i] = c[i]);
228
+ } else m = c;
229
229
  return y && u(
230
230
  m,
231
231
  typeof n == "function" ? n.displayName || n.name || "Unknown" : n
@@ -234,74 +234,74 @@ React keys must be passed directly to JSX without using spread:
234
234
  y,
235
235
  m,
236
236
  o(),
237
- N,
238
- W
237
+ L,
238
+ B
239
239
  );
240
240
  }
241
- function v(n) {
242
- b(n) ? n._store && (n._store.validated = 1) : typeof n == "object" && n !== null && n.$$typeof === S && (n._payload.status === "fulfilled" ? b(n._payload.value) && n._payload.value._store && (n._payload.value._store.validated = 1) : n._store && (n._store.validated = 1));
241
+ function E(n) {
242
+ x(n) ? n._store && (n._store.validated = 1) : typeof n == "object" && n !== null && n.$$typeof === S && (n._payload.status === "fulfilled" ? x(n._payload.value) && n._payload.value._store && (n._payload.value._store.validated = 1) : n._store && (n._store.validated = 1));
243
243
  }
244
- function b(n) {
245
- return typeof n == "object" && n !== null && n.$$typeof === E;
244
+ function x(n) {
245
+ return typeof n == "object" && n !== null && n.$$typeof === h;
246
246
  }
247
- var x = Fe, E = Symbol.for("react.transitional.element"), R = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), $ = Symbol.for("react.profiler"), oe = Symbol.for("react.consumer"), se = Symbol.for("react.context"), B = Symbol.for("react.forward_ref"), F = Symbol.for("react.suspense"), U = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), A = Symbol.for("react.activity"), V = Symbol.for("react.client.reference"), D = x.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, L = Object.prototype.hasOwnProperty, X = Array.isArray, M = console.createTask ? console.createTask : function() {
247
+ var v = $e, h = Symbol.for("react.transitional.element"), _ = Symbol.for("react.portal"), C = Symbol.for("react.fragment"), q = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), oe = Symbol.for("react.consumer"), se = Symbol.for("react.context"), z = Symbol.for("react.forward_ref"), $ = Symbol.for("react.suspense"), D = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), A = Symbol.for("react.activity"), J = Symbol.for("react.client.reference"), U = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, F = Object.prototype.hasOwnProperty, X = Array.isArray, O = console.createTask ? console.createTask : function() {
248
248
  return null;
249
249
  };
250
- x = {
250
+ v = {
251
251
  react_stack_bottom_frame: function(n) {
252
252
  return n();
253
253
  }
254
254
  };
255
- var O, Y = {}, Z = x.react_stack_bottom_frame.bind(
256
- x,
257
- l
258
- )(), H = M(a(l)), Q = {};
259
- G.Fragment = C, G.jsx = function(n, i, m) {
260
- var h = 1e4 > D.recentlyCreatedOwnerStacks++;
255
+ var M, Y = {}, Z = v.react_stack_bottom_frame.bind(
256
+ v,
257
+ a
258
+ )(), H = O(l(a)), Q = {};
259
+ G.Fragment = C, G.jsx = function(n, c, m) {
260
+ var b = 1e4 > U.recentlyCreatedOwnerStacks++;
261
261
  return p(
262
262
  n,
263
- i,
263
+ c,
264
264
  m,
265
265
  !1,
266
- h ? Error("react-stack-top-frame") : Z,
267
- h ? M(a(n)) : H
266
+ b ? Error("react-stack-top-frame") : Z,
267
+ b ? O(l(n)) : H
268
268
  );
269
- }, G.jsxs = function(n, i, m) {
270
- var h = 1e4 > D.recentlyCreatedOwnerStacks++;
269
+ }, G.jsxs = function(n, c, m) {
270
+ var b = 1e4 > U.recentlyCreatedOwnerStacks++;
271
271
  return p(
272
272
  n,
273
- i,
273
+ c,
274
274
  m,
275
275
  !0,
276
- h ? Error("react-stack-top-frame") : Z,
277
- h ? M(a(n)) : H
276
+ b ? Error("react-stack-top-frame") : Z,
277
+ b ? O(l(n)) : H
278
278
  );
279
279
  };
280
280
  })()), G;
281
281
  }
282
282
  var _e;
283
- function Ve() {
284
- return _e || (_e = 1, process.env.NODE_ENV === "production" ? ee.exports = qe() : ee.exports = Be()), ee.exports;
283
+ function Je() {
284
+ return _e || (_e = 1, process.env.NODE_ENV === "production" ? ee.exports = qe() : ee.exports = ze()), ee.exports;
285
285
  }
286
- var d = Ve();
287
- const Xe = Ue({
286
+ var d = Je();
287
+ const Xe = De({
288
288
  licenceMapbox: "",
289
289
  licenseMuiX: ""
290
- }), Jt = ({ children: e, licenseMuiX: t, licenceMapbox: r }) => {
290
+ }), Bt = ({ children: e, licenseMuiX: t, licenceMapbox: r }) => {
291
291
  w(() => {
292
- t && De.setLicenseKey(t);
292
+ t && Ue.setLicenseKey(t);
293
293
  }, [t]);
294
- const a = P(
294
+ const l = k(
295
295
  () => ({
296
296
  licenceMapbox: r,
297
297
  licenseMuiX: t
298
298
  }),
299
299
  [t, r]
300
300
  );
301
- return r && (Re.accessToken = r), /* @__PURE__ */ d.jsx(Xe.Provider, { value: a, children: e });
301
+ return r && (Re.accessToken = r), /* @__PURE__ */ d.jsx(Xe.Provider, { value: l, children: e });
302
302
  }, Ze = (e) => e?.type === "LineString" || e?.type === "MultiLineString", He = (e) => {
303
303
  let t;
304
- Array.isArray(e[0][0]) ? t = e.reduce((o, l) => l.length > o.length ? l : o) : t = e;
304
+ Array.isArray(e[0][0]) ? t = e.reduce((o, a) => a.length > o.length ? a : o) : t = e;
305
305
  const r = Math.floor(t.length / 2);
306
306
  return [t[r][0], t[r][1]];
307
307
  }, Qe = ({ route: e, children: t }) => {
@@ -310,12 +310,12 @@ const Xe = Ue({
310
310
  const r = e.geometry;
311
311
  if (!Ze(r))
312
312
  return null;
313
- const a = r.coordinates, [o, l] = He(a);
314
- return /* @__PURE__ */ d.jsx(je, { longitude: o, latitude: l, children: t });
313
+ const l = r.coordinates, [o, a] = He(l);
314
+ return /* @__PURE__ */ d.jsx(je, { longitude: o, latitude: a, children: t });
315
315
  }, Ke = (e) => pe(e) ? { features: e, type: "FeatureCollection" } : e.type === "FeatureCollection" ? e : { features: [e], type: "FeatureCollection" }, re = ({ features: e, lineLabel: t, lineStyle: r }) => {
316
316
  if (!e)
317
317
  return null;
318
- const a = Ke(e), o = a.features.filter((s) => s.geometry.type === "Polygon" || s.geometry.type === "MultiPolygon"), l = a.features.filter((s) => s.geometry.type === "LineString" || s.geometry.type === "MultiLineString");
318
+ const l = Ke(e), o = l.features.filter((s) => s.geometry.type === "Polygon" || s.geometry.type === "MultiPolygon"), a = l.features.filter((s) => s.geometry.type === "LineString" || s.geometry.type === "MultiLineString");
319
319
  return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
320
320
  o.length > 0 && // biome-ignore lint/correctness/useUniqueElementIds: <ID must stay stable for map layer>
321
321
  /* @__PURE__ */ d.jsx(he, { id: "features-polygon", type: "geojson", data: { features: o, type: "FeatureCollection" }, children: /* @__PURE__ */ d.jsx(
@@ -329,8 +329,8 @@ const Xe = Ue({
329
329
  }
330
330
  }
331
331
  ) }),
332
- l.length > 0 && /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
333
- /* @__PURE__ */ d.jsx(he, { id: "features-line", type: "geojson", data: { features: l, type: "FeatureCollection" }, children: /* @__PURE__ */ d.jsx(
332
+ a.length > 0 && /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
333
+ /* @__PURE__ */ d.jsx(he, { id: "features-line", type: "geojson", data: { features: a, type: "FeatureCollection" }, children: /* @__PURE__ */ d.jsx(
334
334
  be,
335
335
  {
336
336
  id: "line-stroke",
@@ -342,11 +342,11 @@ const Xe = Ue({
342
342
  }
343
343
  }
344
344
  ) }),
345
- t && l.map((s, u) => /* @__PURE__ */ d.jsx(Qe, { route: s, children: t }, `label-${u}`))
345
+ t && a.map((s, u) => /* @__PURE__ */ d.jsx(Qe, { route: s, children: t }, `label-${u}`))
346
346
  ] })
347
347
  ] });
348
348
  }, et = ({ width: e, height: t }) => /* @__PURE__ */ d.jsx(
349
- z,
349
+ V,
350
350
  {
351
351
  sx: {
352
352
  alignItems: "center",
@@ -371,8 +371,8 @@ const Xe = Ue({
371
371
  secondary: "#9C27B0",
372
372
  success: "#4CAF50",
373
373
  warning: "#FF9800"
374
- }, rt = (e) => e in ue, ot = ({ color: e, variant: t, type: r, size: a = 28 }) => {
375
- const o = Se(), l = o.palette.mode === "dark" ? tt : nt, s = Math.max(3, Math.round(a * 0.25)), u = (() => {
374
+ }, rt = (e) => e in ue, ot = ({ color: e, variant: t, type: r, size: l = 28 }) => {
375
+ const o = Se(), a = o.palette.mode === "dark" ? tt : nt, s = Math.max(3, Math.round(l * 0.25)), u = (() => {
376
376
  if (r === "dropOff")
377
377
  return "#4e85e1";
378
378
  if (t && rt(t))
@@ -389,16 +389,16 @@ const Xe = Ue({
389
389
  return e;
390
390
  })();
391
391
  return /* @__PURE__ */ d.jsx(
392
- z,
392
+ V,
393
393
  {
394
394
  component: "div",
395
395
  style: {
396
- backgroundColor: l,
396
+ backgroundColor: a,
397
397
  border: `${s}px solid ${u}`,
398
398
  borderRadius: "50%",
399
399
  boxShadow: "0 0 4px rgba(0,0,0,0.3)",
400
- height: a,
401
- width: a
400
+ height: l,
401
+ width: l
402
402
  }
403
403
  }
404
404
  );
@@ -431,98 +431,103 @@ const Xe = Ue({
431
431
  }, Ce = (e) => {
432
432
  const t = Te(e);
433
433
  return t !== null && t >= -180 && t <= 180;
434
- }, Gt = (e) => Array.isArray(e) && e.length === 2 && we(e[0]) && Ce(e[1]), Ae = (e) => {
434
+ }, Wt = (e) => Array.isArray(e) && e.length === 2 && we(e[0]) && Ce(e[1]), Ae = (e) => {
435
435
  if (typeof e != "object" || e === null)
436
436
  return !1;
437
437
  const t = e;
438
438
  return (typeof t.id == "string" || typeof t.id == "number" || t.id === void 0) && we(t.lat) && Ce(t.lng);
439
- }, Ee = (e) => ge(e) || te(e) ? String(e) : JSON.stringify(e), at = (e) => {
439
+ }, Ee = (e) => ge(e) || te(e) ? String(e) : JSON.stringify(e), lt = (e) => {
440
440
  if (!e)
441
441
  return [];
442
442
  const t = pe(e) ? e : e.type === "FeatureCollection" ? e.features : [e], r = [];
443
- for (const a of t) {
444
- const o = a.geometry;
443
+ for (const l of t) {
444
+ const o = l.geometry;
445
445
  o.type === "Point" && r.push(o.coordinates), o.type === "LineString" && r.push(...o.coordinates), o.type === "Polygon" && r.push(...o.coordinates[0]);
446
446
  }
447
- return r;
448
- }, lt = ({
447
+ return r.filter(([l, o]) => Number.isFinite(l) && Number.isFinite(o));
448
+ }, at = ({
449
449
  markers: e = [],
450
450
  features: t,
451
451
  padding: r = 50,
452
- duration: a = 1e3,
452
+ duration: l = 1e3,
453
453
  disableAnimation: o,
454
- fitBounds: l = !0,
454
+ fitBounds: a = !0,
455
455
  animationKey: s,
456
456
  openPopup: u
457
457
  }) => {
458
- const { current: f } = Ge(), g = de(""), p = P(() => e.filter(Ae), [e]), v = P(() => at(t), [t]), b = P(() => {
459
- const x = [...p.map((E) => [E.lng, E.lat]), ...v];
460
- return x.length === 0 ? null : x.reduce((E, [R, C]) => E.extend([R, C]), new Re.LngLatBounds());
461
- }, [p, v]);
458
+ const { current: f } = Ge(), g = de(""), p = k(() => e.filter(Ae), [e]), E = k(() => lt(t), [t]), x = k(() => {
459
+ const v = [
460
+ ...p.map((h) => [Number(h.lng), Number(h.lat)]),
461
+ ...E
462
+ ].filter(([h, _]) => Number.isFinite(h) && Number.isFinite(_));
463
+ return v.length === 0 ? null : v.reduce((h, [_, C]) => h.extend([_, C]), new Re.LngLatBounds());
464
+ }, [p, E]);
462
465
  return w(() => {
463
466
  if (u) {
464
467
  g.current = s !== void 0 ? Ee(s) : "__initial_skip__";
465
468
  return;
466
469
  }
467
- if (f && l && b) {
470
+ if (f && a && x) {
468
471
  if (s !== void 0) {
469
- const x = Ee(s);
470
- if (g.current === x)
472
+ const v = Ee(s);
473
+ if (g.current === v)
471
474
  return;
472
- g.current = x;
475
+ g.current = v;
473
476
  } else if (g.current === "__initial_skip__")
474
477
  return;
475
- if (!b.isEmpty()) {
476
- if (p.length === 1 && v.length === 0) {
477
- const x = p[0];
478
+ if (!x.isEmpty()) {
479
+ if (p.length === 1 && E.length === 0) {
480
+ const v = p[0], h = Number(v.lng), _ = Number(v.lat);
481
+ if (!(Number.isFinite(h) && Number.isFinite(_)))
482
+ return;
478
483
  f.flyTo({
479
- center: [x.lng, x.lat],
480
- duration: o ? 0 : a,
484
+ center: [h, _],
485
+ duration: o ? 0 : l,
481
486
  zoom: 14
482
487
  });
483
488
  return;
484
489
  }
485
- f.fitBounds([b.getSouthWest().toArray(), b.getNorthEast().toArray()], {
486
- duration: o ? 0 : a,
490
+ f.fitBounds([x.getSouthWest().toArray(), x.getNorthEast().toArray()], {
491
+ duration: o ? 0 : l,
487
492
  padding: r
488
493
  });
489
494
  }
490
495
  }
491
- }, [f, b, r, a, o, s, l, p, v, u]), null;
492
- }, Me = (e, t) => {
496
+ }, [f, x, r, l, o, s, a, p, E, u]), null;
497
+ }, Oe = (e, t) => {
493
498
  if (t <= 0)
494
499
  throw new Error("chunkSize must be greater than 0");
495
500
  const r = [];
496
- for (let a = 0; a < e.length; a += t)
497
- r.push(e.slice(a, a + t));
501
+ for (let l = 0; l < e.length; l += t)
502
+ r.push(e.slice(l, l + t));
498
503
  return r;
499
- }, ct = (e, t) => [e, ...t.map((r) => r.coords)].map((r) => r.join(",")).join(";"), it = (e, t, r) => {
500
- const a = t.map((s, u) => {
504
+ }, it = (e, t) => [e, ...t.map((r) => r.coords)].map((r) => r.join(",")).join(";"), ct = (e, t, r) => {
505
+ const l = t.map((s, u) => {
501
506
  if (u === 0 || s == null)
502
507
  return null;
503
508
  const f = e[u - 1];
504
509
  return f ? { distance: s, id: f.id, point: f.coords } : null;
505
510
  }).filter((s) => s !== null);
506
- if (a.length === 0)
511
+ if (l.length === 0)
507
512
  return { all: [], nearest: null };
508
- const o = a.sort((s, u) => s.distance - u.distance), l = o[0];
509
- return r && l.distance > r ? { all: o, nearest: null } : { all: o, nearest: l };
513
+ const o = l.sort((s, u) => s.distance - u.distance), a = o[0];
514
+ return r && a.distance > r ? { all: o, nearest: null } : { all: o, nearest: a };
510
515
  };
511
- function Oe(e, t, r) {
512
- return async (a, o, l, s) => {
513
- const u = ct(a, o), f = e(u, l), g = await t(f), p = g ? r(g)?.[0] : void 0;
514
- return p?.length ? it(o, p, s) : { all: [], nearest: null };
516
+ function Me(e, t, r) {
517
+ return async (l, o, a, s) => {
518
+ const u = it(l, o), f = e(u, a), g = await t(f), p = g ? r(g)?.[0] : void 0;
519
+ return p?.length ? ct(o, p, s) : { all: [], nearest: null };
515
520
  };
516
521
  }
517
- const ke = async (e, t, r) => {
518
- const a = Array.from({ length: Math.ceil(e.length / t) }, (l, s) => e.slice(s * t, (s + 1) * t));
519
- return (await Promise.all(a.map(async (l) => Promise.all(l.map(r))))).flat();
520
- }, ut = "https://api.mapbox.com", dt = "pk.eyJ1IjoidHJhY2t0b3JzcmUiLCJhIjoiY2xkMGNxaW5hMGpqZzNvcW9rdXdvZWwzbiJ9.zIXTU-P1dkgpaHq5Tjtqmw", me = (e, t, r, a, o = {}) => {
521
- const l = new URLSearchParams({
522
- access_token: dt,
522
+ const Pe = async (e, t, r) => {
523
+ const l = Array.from({ length: Math.ceil(e.length / t) }, (a, s) => e.slice(s * t, (s + 1) * t));
524
+ return (await Promise.all(l.map(async (a) => Promise.all(a.map(r))))).flat();
525
+ }, ut = "https://api.mapbox.com", me = (e, t, r, l, o = {}) => {
526
+ const a = new URLSearchParams({
527
+ access_token: "",
523
528
  ...o
524
529
  });
525
- return `${ut}/${e}/${t}/mapbox/${r}/${a}?${l.toString()}`;
530
+ return `${ut}/${e}/${t}/mapbox/${r}/${l}?${a.toString()}`;
526
531
  }, ye = async (e) => {
527
532
  try {
528
533
  const t = await fetch(e);
@@ -530,32 +535,32 @@ const ke = async (e, t, r) => {
530
535
  } catch (t) {
531
536
  return console.error("Mapbox network error:", t), null;
532
537
  }
533
- }, ft = 25, pt = 5, gt = (e, t) => me("directions-matrix", "v1", t, e, {
538
+ }, dt = 25, ft = 5, pt = (e, t) => me("directions-matrix", "v1", t, e, {
534
539
  annotations: "distance",
535
540
  sources: "0"
536
- }), mt = (e) => e.distances ?? void 0, yt = Oe(gt, ye, mt), ht = async (e, t, r = "driving", a) => {
541
+ }), gt = (e) => e.distances ?? void 0, mt = Me(pt, ye, gt), yt = async (e, t, r = "driving", l) => {
537
542
  if (!t.length)
538
543
  return [];
539
- const o = Me(t, ft - 1);
540
- return (await ke(
544
+ const o = Oe(t, dt - 1);
545
+ return (await Pe(
541
546
  o,
542
- pt,
543
- (s) => yt(e, s, r, a)
547
+ ft,
548
+ (s) => mt(e, s, r, l)
544
549
  )).flatMap((s) => s.all).sort((s, u) => s.distance - u.distance);
545
- }, bt = async (e, t = "driving", r = [5, 10, 15]) => {
546
- const a = `${e[0]},${e[1]}`, o = me("isochrone", "v1", t, a, {
550
+ }, ht = async (e, t = "driving", r = [5, 10, 15]) => {
551
+ const l = `${e[0]},${e[1]}`, o = me("isochrone", "v1", t, l, {
547
552
  contours_minutes: r.join(","),
548
553
  polygons: "true"
549
554
  });
550
555
  return await ye(o);
551
- }, xt = async (e, t, r = "driving") => {
552
- const a = `${e.join(",")};${t.join(",")}`, o = me("directions", "v5", r, a, {
556
+ }, bt = async (e, t, r = "driving") => {
557
+ const l = `${e.join(",")};${t.join(",")}`, o = me("directions", "v5", r, l, {
553
558
  geometries: "geojson",
554
559
  overview: "full"
555
- }), l = await ye(o);
556
- if (!l?.routes?.length)
560
+ }), a = await ye(o);
561
+ if (!a?.routes?.length)
557
562
  return null;
558
- const s = l.routes[0];
563
+ const s = a.routes[0];
559
564
  return {
560
565
  geometry: s.geometry,
561
566
  properties: {
@@ -565,15 +570,15 @@ const ke = async (e, t, r) => {
565
570
  type: "Feature"
566
571
  };
567
572
  }, ne = {
568
- findNearest: ht,
569
- getIsochrone: bt,
570
- getItinerary: xt
571
- }, vt = ({ origin: e, profile: t = "driving", intervals: r = [5, 10, 15], onIsochroneLoaded: a }) => {
572
- const [o, l] = I(null);
573
+ findNearest: yt,
574
+ getIsochrone: ht,
575
+ getItinerary: bt
576
+ }, xt = ({ origin: e, profile: t = "driving", intervals: r = [5, 10, 15], onIsochroneLoaded: l }) => {
577
+ const [o, a] = N(null);
573
578
  return w(() => {
574
579
  let s = !1;
575
580
  if (!e || e.length !== 2) {
576
- l(null);
581
+ a(null);
577
582
  return;
578
583
  }
579
584
  return (async () => {
@@ -582,49 +587,49 @@ const ke = async (e, t, r) => {
582
587
  return;
583
588
  }
584
589
  const u = await ne.getIsochrone(e, t, r);
585
- s || (l(u), a?.(u ?? null));
590
+ s || (a(u), l?.(u ?? null));
586
591
  })(), () => {
587
592
  s = !0;
588
593
  };
589
- }, [e, t, r, a]), o ? /* @__PURE__ */ d.jsx(re, { features: o }) : null;
590
- }, _t = fe(vt), Et = {
594
+ }, [e, t, r, l]), o ? /* @__PURE__ */ d.jsx(re, { features: o }) : null;
595
+ }, vt = fe(xt), _t = {
591
596
  cycling: "routed-bike",
592
597
  driving: "routed-car",
593
598
  walking: "routed-foot"
594
- }, Rt = "https://routing.openstreetmap.de", Pe = (e, t, r, a) => {
595
- const o = `${Rt}/${Et[t]}/${e}/v1/${t}/${r}`, l = a ? `?${new URLSearchParams(a).toString()}` : "";
596
- return `${o}${l}`;
597
- }, Ie = async (e) => {
599
+ }, Et = "https://routing.openstreetmap.de", ke = (e, t, r, l) => {
600
+ const o = `${Et}/${_t[t]}/${e}/v1/${t}/${r}`, a = l ? `?${new URLSearchParams(l).toString()}` : "";
601
+ return `${o}${a}`;
602
+ }, Ne = async (e) => {
598
603
  try {
599
604
  const t = await fetch(e);
600
605
  return t.ok ? await t.json() : (console.error("OSRM API error:", t.status, t.statusText), null);
601
606
  } catch (t) {
602
607
  return console.error("Error fetching OSRM API:", t), null;
603
608
  }
604
- }, St = 100, jt = 5, Tt = (e, t) => Pe("table", t, e, {
609
+ }, Rt = 100, St = 5, jt = (e, t) => ke("table", t, e, {
605
610
  annotations: "distance",
606
611
  sources: 0
607
- }), wt = Oe(
608
- Tt,
609
- Ie,
612
+ }), Tt = Me(
613
+ jt,
614
+ Ne,
610
615
  (e) => e.distances ?? void 0
611
- ), Ct = async (e, t, r = "driving", a) => {
616
+ ), wt = async (e, t, r = "driving", l) => {
612
617
  if (!t.length)
613
618
  return [];
614
- const o = Me(t, St - 1);
615
- return (await ke(
619
+ const o = Oe(t, Rt - 1);
620
+ return (await Pe(
616
621
  o,
617
- jt,
618
- (s) => wt(e, s, r, a)
622
+ St,
623
+ (s) => Tt(e, s, r, l)
619
624
  )).flatMap((s) => s.all).sort((s, u) => s.distance - u.distance);
620
- }, At = async (e, t, r = "driving") => {
621
- const a = `${e.join(",")};${t.join(",")}`, o = Pe("route", r, a, {
625
+ }, Ct = async (e, t, r = "driving") => {
626
+ const l = `${e.join(",")};${t.join(",")}`, o = ke("route", r, l, {
622
627
  geometries: "geojson",
623
628
  overview: "full"
624
- }), l = await Ie(o);
625
- if (!l?.routes?.length)
629
+ }), a = await Ne(o);
630
+ if (!a?.routes?.length)
626
631
  return null;
627
- const s = l.routes[0];
632
+ const s = a.routes[0];
628
633
  return {
629
634
  geometry: s.geometry,
630
635
  properties: {
@@ -633,150 +638,150 @@ const ke = async (e, t, r) => {
633
638
  },
634
639
  type: "Feature"
635
640
  };
636
- }, Le = {
637
- findNearest: Ct,
638
- getItinerary: At
639
- }, Ne = ({ from: e, to: t, profile: r, engine: a, itineraryLineStyle: o, initialRoute: l, onRouteComputed: s, itineraryLabel: u }) => {
640
- const [f, g] = I(l ?? null);
641
+ }, Fe = {
642
+ findNearest: wt,
643
+ getItinerary: Ct
644
+ }, Le = ({ from: e, to: t, profile: r, engine: l, itineraryLineStyle: o, initialRoute: a, onRouteComputed: s, itineraryLabel: u }) => {
645
+ const [f, g] = N(a ?? null);
641
646
  return w(() => {
642
- l && (g(l), s?.(l));
643
- }, [l, s]), w(() => {
644
- !(e && t) || l || (async () => {
645
- const v = await (a === "OSRM" ? Le : ne).getItinerary(e, t, r);
646
- g(v ?? null), s?.(v ?? null);
647
+ a && (g(a), s?.(a));
648
+ }, [a, s]), w(() => {
649
+ !(e && t) || a || (async () => {
650
+ const E = await (l === "OSRM" ? Fe : ne).getItinerary(e, t, r);
651
+ g(E ?? null), s?.(E ?? null);
647
652
  })();
648
- }, [e, t, r, a, l, s]), f ? /* @__PURE__ */ d.jsx(re, { features: f, lineStyle: o, lineLabel: u }) : null;
649
- }, Mt = ({
653
+ }, [e, t, r, l, a, s]), f ? /* @__PURE__ */ d.jsx(re, { features: f, lineStyle: o, lineLabel: u }) : null;
654
+ }, At = ({
650
655
  origin: e,
651
656
  maxDistanceMeters: t,
652
657
  destinations: r,
653
- onNearestFound: a,
658
+ onNearestFound: l,
654
659
  initialNearestResults: o,
655
- itineraryLineStyle: l,
660
+ itineraryLineStyle: a,
656
661
  profile: s = "driving",
657
662
  engine: u = "OSRM"
658
663
  }) => {
659
- const [f, g] = I(o ?? []), p = de(null);
664
+ const [f, g] = N(o ?? []), p = de(null);
660
665
  w(() => {
661
666
  o && g(o);
662
667
  }, [o]), w(() => {
663
- const b = new AbortController();
668
+ const x = new AbortController();
664
669
  if (o?.length) return;
665
670
  if (!e || e.length !== 2 || !r?.length) {
666
671
  g([]);
667
672
  return;
668
673
  }
669
674
  g([]);
670
- const x = r.map((R) => ({
671
- coords: [R.lng, R.lat],
672
- id: R.id
675
+ const v = r.map((_) => ({
676
+ coords: [_.lng, _.lat],
677
+ id: _.id
673
678
  }));
674
- return (u === "OSRM" ? Le : ne).findNearest(e, x, s, t).then((R) => g(R ?? [])).catch(() => g([])), () => b.abort();
679
+ return (u === "OSRM" ? Fe : ne).findNearest(e, v, s, t).then((_) => g(_ ?? [])).catch(() => g([])), () => x.abort();
675
680
  }, [e, t, r, s, u, o?.length]), w(() => {
676
- const b = p.current;
677
- (!b || b.length !== f.length || b.some((E, R) => E.id !== f[R]?.id || E.distance !== f[R]?.distance)) && (a?.(f), p.current = f);
678
- }, [f, a]);
679
- const v = f[0];
680
- return v ? v.routeFeature ? /* @__PURE__ */ d.jsx(re, { features: v.routeFeature }) : /* @__PURE__ */ d.jsx(Ne, { from: e, to: v.point, profile: s, engine: u, itineraryLineStyle: l }) : null;
681
- }, Ot = fe(Mt), kt = ({ children: e }) => {
682
- const [t, r] = I(!1);
681
+ const x = p.current;
682
+ (!x || x.length !== f.length || x.some((h, _) => h.id !== f[_]?.id || h.distance !== f[_]?.distance)) && (l?.(f), p.current = f);
683
+ }, [f, l]);
684
+ const E = f[0];
685
+ return E ? E.routeFeature ? /* @__PURE__ */ d.jsx(re, { features: E.routeFeature }) : /* @__PURE__ */ d.jsx(Le, { from: e, to: E.point, profile: s, engine: u, itineraryLineStyle: a }) : null;
686
+ }, Ot = fe(At), Mt = ({ children: e }) => {
687
+ const [t, r] = N(!1);
683
688
  return w(() => {
684
689
  queueMicrotask(() => r(!0));
685
690
  }, []), t ? e : null;
686
- }, ie = {
691
+ }, ce = {
687
692
  satellite: "mapbox://styles/mapbox/satellite-streets-v12",
688
693
  street: {
689
694
  dark: "mapbox://styles/mapbox/dark-v11",
690
695
  light: "mapbox://styles/mapbox/streets-v12"
691
696
  }
692
- }, $e = (e, t) => {
697
+ }, Ie = (e, t) => {
693
698
  const r = t === "dark";
694
699
  switch (e) {
695
700
  case "satellite":
696
- return ie.satellite;
701
+ return ce.satellite;
697
702
  default:
698
- return r ? ie.street.dark : ie.street.light;
703
+ return r ? ce.street.dark : ce.street.light;
699
704
  }
700
705
  }, Pt = ({
701
706
  mapStyle: e,
702
707
  theme: t,
703
708
  baseMapView: r,
704
- doubleClickZoom: a,
709
+ doubleClickZoom: l,
705
710
  cooperativeGestures: o
706
711
  }) => ({
707
712
  cooperativeGestures: o,
708
- doubleClickZoom: a,
713
+ doubleClickZoom: l,
709
714
  failIfMajorPerformanceCaveat: !1,
710
- style: e ?? $e(r, t)
711
- }), It = ({
715
+ style: e ?? Ie(r, t)
716
+ }), kt = ({
712
717
  containerStyle: e,
713
718
  square: t,
714
719
  loading: r,
715
- height: a = 300,
720
+ height: l = 300,
716
721
  width: o = "100%",
717
- center: l = [2.3522, 48.8566],
722
+ center: a = [2.3522, 48.8566],
718
723
  zoom: s = 5,
719
724
  popupMaxWidth: u,
720
725
  openPopup: f,
721
726
  openPopupOnHover: g,
722
727
  markers: p = [],
723
- fitBounds: v = !0,
724
- fitBoundsPadding: b,
725
- fitBoundDuration: x,
726
- fitBoundsAnimationKey: E,
727
- disableAnimation: R,
728
+ fitBounds: E = !0,
729
+ fitBoundsPadding: x,
730
+ fitBoundDuration: v,
731
+ fitBoundsAnimationKey: h,
732
+ disableAnimation: _,
728
733
  mapStyle: C,
729
734
  onMapClick: q,
730
- baseMapView: $,
735
+ baseMapView: I,
731
736
  cooperativeGestures: oe = !0,
732
737
  doubleClickZoom: se = !0,
733
- projection: B,
734
- theme: F,
735
- features: U,
738
+ projection: z,
739
+ theme: $,
740
+ features: D,
736
741
  itineraryParams: T,
737
742
  findNearestMarker: S,
738
743
  isochrone: A,
739
- markerAnchor: V,
740
- popupAnchor: D = "top"
744
+ markerAnchor: J,
745
+ popupAnchor: U = "top"
741
746
  }) => {
742
- const L = Se(), X = de(null), [M, O] = I(f ?? null), [Y, Z] = I(!1), [H, Q] = I(!1), n = P(() => {
743
- const [c = 2.3522, _ = 48.8566] = pe(l) ? l : [];
744
- return { latitude: _, longitude: c, zoom: s };
745
- }, [l, s]), i = P(
746
- () => C || $e($, F ?? L.palette.mode),
747
- [$, C, F, L.palette.mode]
747
+ const F = Se(), X = de(null), [O, M] = N(f ?? null), [Y, Z] = N(!1), [H, Q] = N(!1), n = k(() => {
748
+ const [i = 2.3522, R = 48.8566] = pe(a) ? a : [];
749
+ return { latitude: R, longitude: i, zoom: s };
750
+ }, [a, s]), c = k(
751
+ () => C || Ie(I, $ ?? F.palette.mode),
752
+ [I, C, $, F.palette.mode]
748
753
  ), {
749
754
  style: m,
750
- cooperativeGestures: h,
751
- doubleClickZoom: N
755
+ cooperativeGestures: b,
756
+ doubleClickZoom: L
752
757
  } = Pt({
753
- baseMapView: $,
758
+ baseMapView: I,
754
759
  cooperativeGestures: oe,
755
760
  doubleClickZoom: se,
756
- mapStyle: i,
757
- theme: F ?? L.palette.mode
758
- }), W = (c, _) => {
759
- !g && _ && O(c);
760
- }, y = (c, _) => {
761
- g && O(_ ? c : null);
761
+ mapStyle: c,
762
+ theme: $ ?? F.palette.mode
763
+ }), B = (i, R) => {
764
+ !g && R && M(i);
765
+ }, y = (i, R) => {
766
+ g && M(R ? i : null);
762
767
  };
763
768
  w(() => {
764
- O(f ?? null);
769
+ M(f ?? null);
765
770
  }, [f]);
766
- const j = P(() => M ? p?.find((c) => c.id === M) ?? null : null, [M, p]);
767
- return H ? /* @__PURE__ */ d.jsx(et, { width: o, height: a }) : /* @__PURE__ */ d.jsxs(
768
- z,
771
+ const j = k(() => O ? p?.find((i) => i.id === O) ?? null : null, [O, p]);
772
+ return H ? /* @__PURE__ */ d.jsx(et, { width: o, height: l }) : /* @__PURE__ */ d.jsxs(
773
+ V,
769
774
  {
770
775
  "data-testid": "mapbox-container",
771
- sx: { borderRadius: t ? 0 : 1, height: a, overflow: "hidden", position: "relative", width: o, ...e },
776
+ sx: { borderRadius: t ? 0 : 1, height: l, overflow: "hidden", position: "relative", width: o, ...e },
772
777
  children: [
773
778
  /* @__PURE__ */ d.jsx(Ye, { styles: st }),
774
779
  r && /* @__PURE__ */ d.jsx(
775
- We,
780
+ Be,
776
781
  {
777
782
  "data-testid": "skeleton-loader",
778
783
  width: o,
779
- height: a,
784
+ height: l,
780
785
  variant: t ? "rectangular" : "rounded",
781
786
  sx: {
782
787
  inset: 0,
@@ -786,13 +791,13 @@ const ke = async (e, t, r) => {
786
791
  }
787
792
  ),
788
793
  !r && /* @__PURE__ */ d.jsxs(
789
- Je,
794
+ We,
790
795
  {
791
796
  ref: X,
792
- cooperativeGestures: h,
793
- doubleClickZoom: N,
797
+ cooperativeGestures: b,
798
+ doubleClickZoom: L,
794
799
  mapStyle: m,
795
- projection: B || "mercator",
800
+ projection: z || "mercator",
796
801
  onLoad: () => {
797
802
  Z(!0), X.current?.resize();
798
803
  },
@@ -801,66 +806,66 @@ const ke = async (e, t, r) => {
801
806
  },
802
807
  initialViewState: n,
803
808
  style: { height: "100%", width: "100%" },
804
- mapboxAccessToken: "pk.eyJ1IjoidHJhY2t0b3JzcmUiLCJhIjoiY2xkMGNxaW5hMGpqZzNvcW9rdXdvZWwzbiJ9.zIXTU-P1dkgpaHq5Tjtqmw",
805
- onClick: (c) => {
806
- const _ = p.find((K) => {
807
- const { lng: ae, lat: le } = c.lngLat, ce = Math.abs(Number(K.lng ?? 0) - ae), k = Math.abs(Number(K.lat ?? 0) - le);
808
- return ce < 0.01 && k < 0.01;
809
+ mapboxAccessToken: void 0,
810
+ onClick: (i) => {
811
+ const R = p.find((K) => {
812
+ const { lng: le, lat: ae } = i.lngLat, ie = Math.abs(Number(K.lng ?? 0) - le), P = Math.abs(Number(K.lat ?? 0) - ae);
813
+ return ie < 0.01 && P < 0.01;
809
814
  });
810
- q?.(c.lngLat.lng, c.lngLat.lat, _ ?? null);
815
+ q?.(i.lngLat.lng, i.lngLat.lat, R ?? null);
811
816
  },
812
817
  children: [
813
- Y && p.filter(Ae).map((c) => {
814
- const _ = typeof c.size == "number" ? c.size : void 0, K = c.IconComponent && !V ? "top-left" : "center", ae = (() => {
815
- if (!c.IconComponent)
818
+ Y && p.filter(Ae).map((i) => {
819
+ const R = typeof i.size == "number" ? i.size : void 0, K = i.IconComponent && !J ? "top-left" : "center", le = (() => {
820
+ if (!i.IconComponent)
816
821
  return null;
817
- const k = { ...c.iconProps };
818
- return _ && (k.width = _, k.height = _), /* @__PURE__ */ d.jsx(c.IconComponent, { ...k });
819
- })(), le = c.IconComponent ? null : /* @__PURE__ */ d.jsx(ot, { color: c.color, variant: c.variant, size: _, type: c.type }), ce = {
822
+ const P = { ...i.iconProps };
823
+ return R && (P.width = R, P.height = R), /* @__PURE__ */ d.jsx(i.IconComponent, { ...P });
824
+ })(), ae = i.IconComponent ? null : /* @__PURE__ */ d.jsx(ot, { color: i.color, variant: i.variant, size: R, type: i.type }), ie = {
820
825
  alignItems: "center",
821
- cursor: c.Tooltip ? "pointer" : "default",
826
+ cursor: i.Tooltip ? "pointer" : "default",
822
827
  display: "inline-flex",
823
828
  justifyContent: "center",
824
- ...c.IconComponent && !_ ? {} : _ ? { height: _, width: _ } : {}
829
+ ...i.IconComponent && !R ? {} : R ? { height: R, width: R } : {}
825
830
  };
826
831
  return /* @__PURE__ */ d.jsx(
827
832
  je,
828
833
  {
829
- longitude: c.lng,
830
- latitude: c.lat,
831
- anchor: V || K,
832
- onClick: (k) => {
833
- k.originalEvent.stopPropagation(), c.id && W(c.id, !!c.Tooltip), q?.(c.lng, c.lat, c), c.onClick?.(c);
834
+ longitude: i.lng,
835
+ latitude: i.lat,
836
+ anchor: J || K,
837
+ onClick: (P) => {
838
+ P.originalEvent.stopPropagation(), i.id && B(i.id, !!i.Tooltip), q?.(i.lng, i.lat, i), i.onClick?.(i);
834
839
  },
835
840
  children: /* @__PURE__ */ d.jsx(
836
- z,
841
+ V,
837
842
  {
838
843
  component: "div",
839
- onMouseEnter: () => c.id && y(c.id, !!c.Tooltip),
844
+ onMouseEnter: () => i.id && y(i.id, !!i.Tooltip),
840
845
  onMouseLeave: () => y(null),
841
- style: ce,
842
- children: ae || le
846
+ style: ie,
847
+ children: le || ae
843
848
  }
844
849
  )
845
850
  },
846
- c.id
851
+ i.id
847
852
  );
848
853
  }),
849
854
  Y && j?.Tooltip && /* @__PURE__ */ d.jsx(
850
- ze,
855
+ Ve,
851
856
  {
852
857
  longitude: te(j.lng) ? j.lng : 0,
853
858
  latitude: te(j.lat) ? j.lat : 0,
854
- anchor: D,
855
- onClose: () => O(null),
859
+ anchor: U,
860
+ onClose: () => M(null),
856
861
  maxWidth: u,
857
862
  closeOnClick: !0,
858
863
  closeOnMove: !1,
859
- children: /* @__PURE__ */ d.jsx(z, { sx: { minHeight: 60, minWidth: 240 }, children: /* @__PURE__ */ d.jsx(kt, { children: j.Tooltip }) })
864
+ children: /* @__PURE__ */ d.jsx(V, { sx: { minHeight: 60, minWidth: 240 }, children: /* @__PURE__ */ d.jsx(Mt, { children: j.Tooltip }) })
860
865
  }
861
866
  ),
862
867
  T && /* @__PURE__ */ d.jsx(
863
- Ne,
868
+ Le,
864
869
  {
865
870
  from: T.from,
866
871
  to: T.to,
@@ -886,7 +891,7 @@ const ke = async (e, t, r) => {
886
891
  }
887
892
  ),
888
893
  A && /* @__PURE__ */ d.jsx(
889
- _t,
894
+ vt,
890
895
  {
891
896
  origin: A.origin,
892
897
  profile: A.profile,
@@ -894,15 +899,15 @@ const ke = async (e, t, r) => {
894
899
  intervals: A.intervals
895
900
  }
896
901
  ),
897
- U && /* @__PURE__ */ d.jsx(re, { features: U }),
898
- v && /* @__PURE__ */ d.jsx(
899
- lt,
902
+ D && /* @__PURE__ */ d.jsx(re, { features: D }),
903
+ E && /* @__PURE__ */ d.jsx(
904
+ at,
900
905
  {
901
906
  markers: p,
902
- features: U,
903
- padding: b,
904
- duration: R ? 0 : x,
905
- animationKey: E,
907
+ features: D,
908
+ padding: x,
909
+ duration: _ ? 0 : v,
910
+ animationKey: h,
906
911
  openPopup: !!f
907
912
  }
908
913
  )
@@ -912,25 +917,25 @@ const ke = async (e, t, r) => {
912
917
  ]
913
918
  }
914
919
  );
915
- }, zt = fe(It), qt = ["OSRM", "Mapbox"], Bt = ["driving", "walking", "cycling"], Vt = (e, t) => {
916
- const r = "geometry" in t ? t.geometry : t, [a, o] = e, l = (s) => s.map(
917
- (u) => u.reduce((f, [g, p], v, b) => {
918
- const [x, E] = b[(v - 1 + b.length) % b.length];
919
- return p > o != E > o && a < (x - g) * (o - p) / (E - p) + g ? !f : f;
920
+ }, Gt = fe(kt), Vt = ["OSRM", "Mapbox"], qt = ["driving", "walking", "cycling"], zt = (e, t) => {
921
+ const r = "geometry" in t ? t.geometry : t, [l, o] = e, a = (s) => s.map(
922
+ (u) => u.reduce((f, [g, p], E, x) => {
923
+ const [v, h] = x[(E - 1 + x.length) % x.length];
924
+ return p > o != h > o && l < (v - g) * (o - p) / (h - p) + g ? !f : f;
920
925
  }, !1)
921
926
  ).reduce((u, f, g) => g === 0 ? f : u && !f, !1);
922
- return r.type === "Polygon" ? l(r.coordinates) : r.type === "MultiPolygon" ? r.coordinates.some((s) => l(s)) : !1;
927
+ return r.type === "Polygon" ? a(r.coordinates) : r.type === "MultiPolygon" ? r.coordinates.some((s) => a(s)) : !1;
923
928
  };
924
929
  export {
925
- Wt as DEFAULT_CENTER_LAT,
926
- Yt as DEFAULT_CENTER_LNG,
927
- Jt as MapProvider,
928
- zt as MapView,
929
- qt as engines,
930
- Vt as isPointInGeoJSON,
931
- Gt as isValidLatLngTuple,
930
+ Yt as DEFAULT_CENTER_LAT,
931
+ Ut as DEFAULT_CENTER_LNG,
932
+ Bt as MapProvider,
933
+ Gt as MapView,
934
+ Vt as engines,
935
+ zt as isPointInGeoJSON,
936
+ Wt as isValidLatLngTuple,
932
937
  we as isValidLatitude,
933
938
  Ce as isValidLongitude,
934
939
  Ae as isValidMarker,
935
- Bt as profiles
940
+ qt as profiles
936
941
  };