@tracktor/map 0.5.1 → 0.5.3

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