@tracktor/map 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
|
|
2
|
+
import fe, { createContext as Tr, useEffect as M, useMemo as xr, forwardRef as Sr, useState as $e, useRef as ke } from "react";
|
|
3
3
|
import { LicenseInfo as Or } from "@mui/x-license";
|
|
4
|
-
import Pr, { Popup as wr, Marker as jr, Map as Ar, LngLatBounds as
|
|
5
|
-
import { Box as
|
|
4
|
+
import Pr, { Popup as wr, Marker as jr, Map as Ar, LngLatBounds as Lr } from "mapbox-gl";
|
|
5
|
+
import { Box as le, Skeleton as Fr, useTheme as Dr, GlobalStyles as Nr } from "@tracktor/design-system";
|
|
6
6
|
import Ir from "react-dom";
|
|
7
7
|
const it = 2.333, st = 46.8677;
|
|
8
|
-
var
|
|
8
|
+
var re = { exports: {} }, z = {};
|
|
9
9
|
/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.production.min.js
|
|
@@ -15,21 +15,21 @@ var Q = { exports: {} }, J = {};
|
|
|
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
|
|
18
|
+
var We;
|
|
19
19
|
function Mr() {
|
|
20
|
-
if (
|
|
21
|
-
|
|
22
|
-
var t =
|
|
23
|
-
function p
|
|
24
|
-
var
|
|
25
|
-
T !== void 0 && (S = "" + T),
|
|
26
|
-
for (
|
|
27
|
-
if (
|
|
28
|
-
return { $$typeof: n, type:
|
|
20
|
+
if (We) return z;
|
|
21
|
+
We = 1;
|
|
22
|
+
var t = fe, n = Symbol.for("react.element"), i = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, u = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
23
|
+
function f(p, l, T) {
|
|
24
|
+
var y, x = {}, S = null, j = null;
|
|
25
|
+
T !== void 0 && (S = "" + T), l.key !== void 0 && (S = "" + l.key), l.ref !== void 0 && (j = l.ref);
|
|
26
|
+
for (y in l) a.call(l, y) && !g.hasOwnProperty(y) && (x[y] = l[y]);
|
|
27
|
+
if (p && p.defaultProps) for (y in l = p.defaultProps, l) x[y] === void 0 && (x[y] = l[y]);
|
|
28
|
+
return { $$typeof: n, type: p, key: S, ref: j, props: x, _owner: u.current };
|
|
29
29
|
}
|
|
30
|
-
return
|
|
30
|
+
return z.Fragment = i, z.jsx = f, z.jsxs = f, z;
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var K = {};
|
|
33
33
|
/**
|
|
34
34
|
* @license React
|
|
35
35
|
* react-jsx-runtime.development.js
|
|
@@ -39,57 +39,57 @@ var z = {};
|
|
|
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
|
|
42
|
+
var Ue;
|
|
43
43
|
function $r() {
|
|
44
|
-
return
|
|
45
|
-
var t =
|
|
46
|
-
function
|
|
44
|
+
return Ue || (Ue = 1, process.env.NODE_ENV !== "production" && function() {
|
|
45
|
+
var t = fe, n = Symbol.for("react.element"), i = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), p = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), y = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), U = Symbol.iterator, Y = "@@iterator";
|
|
46
|
+
function D(e) {
|
|
47
47
|
if (e === null || typeof e != "object")
|
|
48
48
|
return null;
|
|
49
|
-
var r =
|
|
49
|
+
var r = U && e[U] || e[Y];
|
|
50
50
|
return typeof r == "function" ? r : null;
|
|
51
51
|
}
|
|
52
|
-
var
|
|
53
|
-
function
|
|
52
|
+
var L = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
53
|
+
function R(e) {
|
|
54
54
|
{
|
|
55
55
|
for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
|
|
56
56
|
o[s - 1] = arguments[s];
|
|
57
|
-
|
|
57
|
+
b("error", e, o);
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function b(e, r, o) {
|
|
61
61
|
{
|
|
62
|
-
var s =
|
|
63
|
-
|
|
64
|
-
var
|
|
65
|
-
return String(
|
|
62
|
+
var s = L.ReactDebugCurrentFrame, v = s.getStackAddendum();
|
|
63
|
+
v !== "" && (r += "%s", o = o.concat([v]));
|
|
64
|
+
var h = o.map(function(d) {
|
|
65
|
+
return String(d);
|
|
66
66
|
});
|
|
67
|
-
|
|
67
|
+
h.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, h);
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
var
|
|
71
|
-
|
|
72
|
-
function
|
|
73
|
-
return !!(typeof e == "string" || typeof e == "function" || e === a || e ===
|
|
70
|
+
var H = !1, _ = !1, O = !1, E = !1, $ = !1, N;
|
|
71
|
+
N = Symbol.for("react.module.reference");
|
|
72
|
+
function Ke(e) {
|
|
73
|
+
return !!(typeof e == "string" || typeof e == "function" || e === a || e === g || $ || e === u || e === T || e === y || E || e === j || H || _ || O || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === x || e.$$typeof === f || e.$$typeof === p || e.$$typeof === l || // 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 ===
|
|
77
|
+
e.$$typeof === N || e.getModuleId !== void 0));
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function He(e, r, o) {
|
|
80
80
|
var s = e.displayName;
|
|
81
81
|
if (s)
|
|
82
82
|
return s;
|
|
83
|
-
var
|
|
84
|
-
return
|
|
83
|
+
var v = r.displayName || r.name || "";
|
|
84
|
+
return v !== "" ? o + "(" + v + ")" : o;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function ve(e) {
|
|
87
87
|
return e.displayName || "Context";
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function I(e) {
|
|
90
90
|
if (e == null)
|
|
91
91
|
return null;
|
|
92
|
-
if (typeof e.tag == "number" &&
|
|
92
|
+
if (typeof e.tag == "number" && R("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
93
93
|
return e.displayName || e.name || null;
|
|
94
94
|
if (typeof e == "string")
|
|
95
95
|
return e;
|
|
@@ -98,32 +98,32 @@ function $r() {
|
|
|
98
98
|
return "Fragment";
|
|
99
99
|
case i:
|
|
100
100
|
return "Portal";
|
|
101
|
-
case
|
|
101
|
+
case g:
|
|
102
102
|
return "Profiler";
|
|
103
103
|
case u:
|
|
104
104
|
return "StrictMode";
|
|
105
105
|
case T:
|
|
106
106
|
return "Suspense";
|
|
107
|
-
case
|
|
107
|
+
case y:
|
|
108
108
|
return "SuspenseList";
|
|
109
109
|
}
|
|
110
110
|
if (typeof e == "object")
|
|
111
111
|
switch (e.$$typeof) {
|
|
112
|
-
case v:
|
|
113
|
-
var r = e;
|
|
114
|
-
return de(r) + ".Consumer";
|
|
115
112
|
case p:
|
|
113
|
+
var r = e;
|
|
114
|
+
return ve(r) + ".Consumer";
|
|
115
|
+
case f:
|
|
116
116
|
var o = e;
|
|
117
|
-
return
|
|
118
|
-
case
|
|
119
|
-
return
|
|
117
|
+
return ve(o._context) + ".Provider";
|
|
118
|
+
case l:
|
|
119
|
+
return He(e, e.render, "ForwardRef");
|
|
120
120
|
case x:
|
|
121
121
|
var s = e.displayName || null;
|
|
122
|
-
return s !== null ? s :
|
|
122
|
+
return s !== null ? s : I(e.type) || "Memo";
|
|
123
123
|
case S: {
|
|
124
|
-
var
|
|
124
|
+
var v = e, h = v._payload, d = v._init;
|
|
125
125
|
try {
|
|
126
|
-
return
|
|
126
|
+
return I(d(h));
|
|
127
127
|
} catch {
|
|
128
128
|
return null;
|
|
129
129
|
}
|
|
@@ -131,18 +131,18 @@ function $r() {
|
|
|
131
131
|
}
|
|
132
132
|
return null;
|
|
133
133
|
}
|
|
134
|
-
var
|
|
135
|
-
function
|
|
134
|
+
var k = Object.assign, q = 0, ye, ge, be, he, Ee, Re, _e;
|
|
135
|
+
function me() {
|
|
136
136
|
}
|
|
137
|
-
|
|
138
|
-
function
|
|
137
|
+
me.__reactDisabledLog = !0;
|
|
138
|
+
function Xe() {
|
|
139
139
|
{
|
|
140
|
-
if (
|
|
141
|
-
|
|
140
|
+
if (q === 0) {
|
|
141
|
+
ye = console.log, ge = console.info, be = console.warn, he = console.error, Ee = console.group, Re = console.groupCollapsed, _e = console.groupEnd;
|
|
142
142
|
var e = {
|
|
143
143
|
configurable: !0,
|
|
144
144
|
enumerable: !0,
|
|
145
|
-
value:
|
|
145
|
+
value: me,
|
|
146
146
|
writable: !0
|
|
147
147
|
};
|
|
148
148
|
Object.defineProperties(console, {
|
|
@@ -155,100 +155,100 @@ function $r() {
|
|
|
155
155
|
groupEnd: e
|
|
156
156
|
});
|
|
157
157
|
}
|
|
158
|
-
|
|
158
|
+
q++;
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Ze() {
|
|
162
162
|
{
|
|
163
|
-
if (
|
|
163
|
+
if (q--, q === 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:
|
|
171
|
-
value: pe
|
|
172
|
-
}),
|
|
173
|
-
info: $({}, e, {
|
|
174
|
-
value: ve
|
|
175
|
-
}),
|
|
176
|
-
warn: $({}, e, {
|
|
170
|
+
log: k({}, e, {
|
|
177
171
|
value: ye
|
|
178
172
|
}),
|
|
179
|
-
|
|
173
|
+
info: k({}, e, {
|
|
180
174
|
value: ge
|
|
181
175
|
}),
|
|
182
|
-
|
|
176
|
+
warn: k({}, e, {
|
|
183
177
|
value: be
|
|
184
178
|
}),
|
|
185
|
-
|
|
179
|
+
error: k({}, e, {
|
|
180
|
+
value: he
|
|
181
|
+
}),
|
|
182
|
+
group: k({}, e, {
|
|
186
183
|
value: Ee
|
|
187
184
|
}),
|
|
188
|
-
|
|
189
|
-
value:
|
|
185
|
+
groupCollapsed: k({}, e, {
|
|
186
|
+
value: Re
|
|
187
|
+
}),
|
|
188
|
+
groupEnd: k({}, e, {
|
|
189
|
+
value: _e
|
|
190
190
|
})
|
|
191
191
|
});
|
|
192
192
|
}
|
|
193
|
-
|
|
193
|
+
q < 0 && R("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
194
194
|
}
|
|
195
195
|
}
|
|
196
|
-
var
|
|
197
|
-
function
|
|
196
|
+
var te = L.ReactCurrentDispatcher, ne;
|
|
197
|
+
function X(e, r, o) {
|
|
198
198
|
{
|
|
199
|
-
if (
|
|
199
|
+
if (ne === void 0)
|
|
200
200
|
try {
|
|
201
201
|
throw Error();
|
|
202
|
-
} catch (
|
|
203
|
-
var s =
|
|
204
|
-
|
|
202
|
+
} catch (v) {
|
|
203
|
+
var s = v.stack.trim().match(/\n( *(at )?)/);
|
|
204
|
+
ne = s && s[1] || "";
|
|
205
205
|
}
|
|
206
206
|
return `
|
|
207
|
-
` +
|
|
207
|
+
` + ne + e;
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
var
|
|
210
|
+
var oe = !1, Z;
|
|
211
211
|
{
|
|
212
|
-
var
|
|
213
|
-
|
|
212
|
+
var Qe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
213
|
+
Z = new Qe();
|
|
214
214
|
}
|
|
215
|
-
function
|
|
216
|
-
if (!e ||
|
|
215
|
+
function Ce(e, r) {
|
|
216
|
+
if (!e || oe)
|
|
217
217
|
return "";
|
|
218
218
|
{
|
|
219
|
-
var o =
|
|
219
|
+
var o = Z.get(e);
|
|
220
220
|
if (o !== void 0)
|
|
221
221
|
return o;
|
|
222
222
|
}
|
|
223
223
|
var s;
|
|
224
|
-
|
|
225
|
-
var
|
|
224
|
+
oe = !0;
|
|
225
|
+
var v = Error.prepareStackTrace;
|
|
226
226
|
Error.prepareStackTrace = void 0;
|
|
227
|
-
var
|
|
228
|
-
|
|
227
|
+
var h;
|
|
228
|
+
h = te.current, te.current = null, Xe();
|
|
229
229
|
try {
|
|
230
230
|
if (r) {
|
|
231
|
-
var
|
|
231
|
+
var d = function() {
|
|
232
232
|
throw Error();
|
|
233
233
|
};
|
|
234
|
-
if (Object.defineProperty(
|
|
234
|
+
if (Object.defineProperty(d.prototype, "props", {
|
|
235
235
|
set: function() {
|
|
236
236
|
throw Error();
|
|
237
237
|
}
|
|
238
238
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
239
239
|
try {
|
|
240
|
-
Reflect.construct(
|
|
240
|
+
Reflect.construct(d, []);
|
|
241
241
|
} catch (w) {
|
|
242
242
|
s = w;
|
|
243
243
|
}
|
|
244
|
-
Reflect.construct(e, [],
|
|
244
|
+
Reflect.construct(e, [], d);
|
|
245
245
|
} else {
|
|
246
246
|
try {
|
|
247
|
-
|
|
247
|
+
d.call();
|
|
248
248
|
} catch (w) {
|
|
249
249
|
s = w;
|
|
250
250
|
}
|
|
251
|
-
e.call(
|
|
251
|
+
e.call(d.prototype);
|
|
252
252
|
}
|
|
253
253
|
} else {
|
|
254
254
|
try {
|
|
@@ -262,143 +262,143 @@ function $r() {
|
|
|
262
262
|
if (w && s && typeof w.stack == "string") {
|
|
263
263
|
for (var c = w.stack.split(`
|
|
264
264
|
`), P = s.stack.split(`
|
|
265
|
-
`),
|
|
266
|
-
|
|
267
|
-
for (;
|
|
268
|
-
if (c[
|
|
269
|
-
if (
|
|
265
|
+
`), m = c.length - 1, C = P.length - 1; m >= 1 && C >= 0 && c[m] !== P[C]; )
|
|
266
|
+
C--;
|
|
267
|
+
for (; m >= 1 && C >= 0; m--, C--)
|
|
268
|
+
if (c[m] !== P[C]) {
|
|
269
|
+
if (m !== 1 || C !== 1)
|
|
270
270
|
do
|
|
271
|
-
if (
|
|
272
|
-
var
|
|
273
|
-
` + c[
|
|
274
|
-
return e.displayName &&
|
|
271
|
+
if (m--, C--, C < 0 || c[m] !== P[C]) {
|
|
272
|
+
var A = `
|
|
273
|
+
` + c[m].replace(" at new ", " at ");
|
|
274
|
+
return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && Z.set(e, A), A;
|
|
275
275
|
}
|
|
276
|
-
while (
|
|
276
|
+
while (m >= 1 && C >= 0);
|
|
277
277
|
break;
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
} finally {
|
|
281
|
-
|
|
281
|
+
oe = !1, te.current = h, Ze(), Error.prepareStackTrace = v;
|
|
282
282
|
}
|
|
283
|
-
var
|
|
284
|
-
return typeof e == "function" &&
|
|
283
|
+
var V = e ? e.displayName || e.name : "", W = V ? X(V) : "";
|
|
284
|
+
return typeof e == "function" && Z.set(e, W), W;
|
|
285
285
|
}
|
|
286
|
-
function
|
|
287
|
-
return
|
|
286
|
+
function er(e, r, o) {
|
|
287
|
+
return Ce(e, !1);
|
|
288
288
|
}
|
|
289
|
-
function
|
|
289
|
+
function rr(e) {
|
|
290
290
|
var r = e.prototype;
|
|
291
291
|
return !!(r && r.isReactComponent);
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function Q(e, r, o) {
|
|
294
294
|
if (e == null)
|
|
295
295
|
return "";
|
|
296
296
|
if (typeof e == "function")
|
|
297
|
-
return
|
|
297
|
+
return Ce(e, rr(e));
|
|
298
298
|
if (typeof e == "string")
|
|
299
|
-
return
|
|
299
|
+
return X(e);
|
|
300
300
|
switch (e) {
|
|
301
301
|
case T:
|
|
302
|
-
return
|
|
303
|
-
case
|
|
304
|
-
return
|
|
302
|
+
return X("Suspense");
|
|
303
|
+
case y:
|
|
304
|
+
return X("SuspenseList");
|
|
305
305
|
}
|
|
306
306
|
if (typeof e == "object")
|
|
307
307
|
switch (e.$$typeof) {
|
|
308
|
-
case
|
|
309
|
-
return
|
|
308
|
+
case l:
|
|
309
|
+
return er(e.render);
|
|
310
310
|
case x:
|
|
311
|
-
return
|
|
311
|
+
return Q(e.type, r, o);
|
|
312
312
|
case S: {
|
|
313
|
-
var s = e,
|
|
313
|
+
var s = e, v = s._payload, h = s._init;
|
|
314
314
|
try {
|
|
315
|
-
return
|
|
315
|
+
return Q(h(v), r, o);
|
|
316
316
|
} catch {
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
return "";
|
|
321
321
|
}
|
|
322
|
-
var
|
|
323
|
-
function
|
|
322
|
+
var J = Object.prototype.hasOwnProperty, Te = {}, xe = L.ReactDebugCurrentFrame;
|
|
323
|
+
function ee(e) {
|
|
324
324
|
if (e) {
|
|
325
|
-
var r = e._owner, o =
|
|
326
|
-
|
|
325
|
+
var r = e._owner, o = Q(e.type, e._source, r ? r.type : null);
|
|
326
|
+
xe.setExtraStackFrame(o);
|
|
327
327
|
} else
|
|
328
|
-
|
|
328
|
+
xe.setExtraStackFrame(null);
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function tr(e, r, o, s, v) {
|
|
331
331
|
{
|
|
332
|
-
var
|
|
333
|
-
for (var
|
|
334
|
-
if (
|
|
332
|
+
var h = Function.call.bind(J);
|
|
333
|
+
for (var d in e)
|
|
334
|
+
if (h(e, d)) {
|
|
335
335
|
var c = void 0;
|
|
336
336
|
try {
|
|
337
|
-
if (typeof e[
|
|
338
|
-
var P = Error((s || "React class") + ": " + o + " type `" +
|
|
337
|
+
if (typeof e[d] != "function") {
|
|
338
|
+
var P = Error((s || "React class") + ": " + o + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
339
339
|
throw P.name = "Invariant Violation", P;
|
|
340
340
|
}
|
|
341
|
-
c = e[
|
|
342
|
-
} catch (
|
|
343
|
-
c =
|
|
341
|
+
c = e[d](r, d, s, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
342
|
+
} catch (m) {
|
|
343
|
+
c = m;
|
|
344
344
|
}
|
|
345
|
-
c && !(c instanceof Error) && (
|
|
345
|
+
c && !(c instanceof Error) && (ee(v), R("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", s || "React class", o, d, typeof c), ee(null)), c instanceof Error && !(c.message in Te) && (Te[c.message] = !0, ee(v), R("Failed %s type: %s", o, c.message), ee(null));
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
|
-
var
|
|
350
|
-
function
|
|
351
|
-
return
|
|
349
|
+
var nr = Array.isArray;
|
|
350
|
+
function ae(e) {
|
|
351
|
+
return nr(e);
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function or(e) {
|
|
354
354
|
{
|
|
355
355
|
var r = typeof Symbol == "function" && Symbol.toStringTag, o = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
356
356
|
return o;
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
|
-
function
|
|
359
|
+
function ar(e) {
|
|
360
360
|
try {
|
|
361
|
-
return
|
|
361
|
+
return Se(e), !1;
|
|
362
362
|
} catch {
|
|
363
363
|
return !0;
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
|
-
function
|
|
366
|
+
function Se(e) {
|
|
367
367
|
return "" + e;
|
|
368
368
|
}
|
|
369
|
-
function
|
|
370
|
-
if (
|
|
371
|
-
return
|
|
369
|
+
function Oe(e) {
|
|
370
|
+
if (ar(e))
|
|
371
|
+
return R("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", or(e)), Se(e);
|
|
372
372
|
}
|
|
373
|
-
var
|
|
373
|
+
var Pe = L.ReactCurrentOwner, ir = {
|
|
374
374
|
key: !0,
|
|
375
375
|
ref: !0,
|
|
376
376
|
__self: !0,
|
|
377
377
|
__source: !0
|
|
378
|
-
},
|
|
379
|
-
function
|
|
380
|
-
if (
|
|
378
|
+
}, we, je;
|
|
379
|
+
function sr(e) {
|
|
380
|
+
if (J.call(e, "ref")) {
|
|
381
381
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
382
382
|
if (r && r.isReactWarning)
|
|
383
383
|
return !1;
|
|
384
384
|
}
|
|
385
385
|
return e.ref !== void 0;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
if (
|
|
387
|
+
function ur(e) {
|
|
388
|
+
if (J.call(e, "key")) {
|
|
389
389
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
390
390
|
if (r && r.isReactWarning)
|
|
391
391
|
return !1;
|
|
392
392
|
}
|
|
393
393
|
return e.key !== void 0;
|
|
394
394
|
}
|
|
395
|
-
function ur(e, r) {
|
|
396
|
-
typeof e.ref == "string" && Se.current;
|
|
397
|
-
}
|
|
398
395
|
function cr(e, r) {
|
|
396
|
+
typeof e.ref == "string" && Pe.current;
|
|
397
|
+
}
|
|
398
|
+
function lr(e, r) {
|
|
399
399
|
{
|
|
400
400
|
var o = function() {
|
|
401
|
-
|
|
401
|
+
we || (we = !0, R("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
402
402
|
};
|
|
403
403
|
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
404
404
|
get: o,
|
|
@@ -406,10 +406,10 @@ function $r() {
|
|
|
406
406
|
});
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function fr(e, r) {
|
|
410
410
|
{
|
|
411
411
|
var o = function() {
|
|
412
|
-
|
|
412
|
+
je || (je = !0, R("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
413
413
|
};
|
|
414
414
|
o.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
415
415
|
get: o,
|
|
@@ -417,7 +417,7 @@ function $r() {
|
|
|
417
417
|
});
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
|
-
var
|
|
420
|
+
var dr = function(e, r, o, s, v, h, d) {
|
|
421
421
|
var c = {
|
|
422
422
|
// This tag allows us to uniquely identify this as a React Element
|
|
423
423
|
$$typeof: n,
|
|
@@ -425,9 +425,9 @@ function $r() {
|
|
|
425
425
|
type: e,
|
|
426
426
|
key: r,
|
|
427
427
|
ref: o,
|
|
428
|
-
props:
|
|
428
|
+
props: d,
|
|
429
429
|
// Record the component responsible for creating this element.
|
|
430
|
-
_owner:
|
|
430
|
+
_owner: h
|
|
431
431
|
};
|
|
432
432
|
return c._store = {}, Object.defineProperty(c._store, "validated", {
|
|
433
433
|
configurable: !1,
|
|
@@ -443,44 +443,44 @@ function $r() {
|
|
|
443
443
|
configurable: !1,
|
|
444
444
|
enumerable: !1,
|
|
445
445
|
writable: !1,
|
|
446
|
-
value:
|
|
446
|
+
value: v
|
|
447
447
|
}), Object.freeze && (Object.freeze(c.props), Object.freeze(c)), c;
|
|
448
448
|
};
|
|
449
|
-
function
|
|
449
|
+
function pr(e, r, o, s, v) {
|
|
450
450
|
{
|
|
451
|
-
var
|
|
452
|
-
o !== void 0 && (
|
|
453
|
-
for (
|
|
454
|
-
|
|
451
|
+
var h, d = {}, c = null, P = null;
|
|
452
|
+
o !== void 0 && (Oe(o), c = "" + o), ur(r) && (Oe(r.key), c = "" + r.key), sr(r) && (P = r.ref, cr(r, v));
|
|
453
|
+
for (h in r)
|
|
454
|
+
J.call(r, h) && !ir.hasOwnProperty(h) && (d[h] = r[h]);
|
|
455
455
|
if (e && e.defaultProps) {
|
|
456
|
-
var
|
|
457
|
-
for (
|
|
458
|
-
|
|
456
|
+
var m = e.defaultProps;
|
|
457
|
+
for (h in m)
|
|
458
|
+
d[h] === void 0 && (d[h] = m[h]);
|
|
459
459
|
}
|
|
460
460
|
if (c || P) {
|
|
461
|
-
var
|
|
462
|
-
c &&
|
|
461
|
+
var C = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
462
|
+
c && lr(d, C), P && fr(d, C);
|
|
463
463
|
}
|
|
464
|
-
return
|
|
464
|
+
return dr(e, c, P, v, s, Pe.current, d);
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
|
-
var
|
|
468
|
-
function
|
|
467
|
+
var ie = L.ReactCurrentOwner, Ae = L.ReactDebugCurrentFrame;
|
|
468
|
+
function G(e) {
|
|
469
469
|
if (e) {
|
|
470
|
-
var r = e._owner, o =
|
|
471
|
-
|
|
470
|
+
var r = e._owner, o = Q(e.type, e._source, r ? r.type : null);
|
|
471
|
+
Ae.setExtraStackFrame(o);
|
|
472
472
|
} else
|
|
473
|
-
|
|
473
|
+
Ae.setExtraStackFrame(null);
|
|
474
474
|
}
|
|
475
|
-
var
|
|
476
|
-
|
|
477
|
-
function
|
|
475
|
+
var se;
|
|
476
|
+
se = !1;
|
|
477
|
+
function ue(e) {
|
|
478
478
|
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
479
479
|
}
|
|
480
|
-
function
|
|
480
|
+
function Le() {
|
|
481
481
|
{
|
|
482
|
-
if (
|
|
483
|
-
var e =
|
|
482
|
+
if (ie.current) {
|
|
483
|
+
var e = I(ie.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
|
|
492
|
+
function vr(e) {
|
|
493
493
|
return "";
|
|
494
494
|
}
|
|
495
|
-
var
|
|
496
|
-
function
|
|
495
|
+
var Fe = {};
|
|
496
|
+
function yr(e) {
|
|
497
497
|
{
|
|
498
|
-
var r =
|
|
498
|
+
var r = Le();
|
|
499
499
|
if (!r) {
|
|
500
500
|
var o = typeof e == "string" ? e : e.displayName || e.name;
|
|
501
501
|
o && (r = `
|
|
@@ -505,39 +505,39 @@ Check the top-level render call using <` + o + ">.");
|
|
|
505
505
|
return r;
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
|
-
function
|
|
508
|
+
function De(e, r) {
|
|
509
509
|
{
|
|
510
510
|
if (!e._store || e._store.validated || e.key != null)
|
|
511
511
|
return;
|
|
512
512
|
e._store.validated = !0;
|
|
513
|
-
var o =
|
|
514
|
-
if (
|
|
513
|
+
var o = yr(r);
|
|
514
|
+
if (Fe[o])
|
|
515
515
|
return;
|
|
516
|
-
|
|
516
|
+
Fe[o] = !0;
|
|
517
517
|
var s = "";
|
|
518
|
-
e && e._owner && e._owner !==
|
|
518
|
+
e && e._owner && e._owner !== ie.current && (s = " It was passed a child from " + I(e._owner.type) + "."), G(e), R('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, s), G(null);
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function Ne(e, r) {
|
|
522
522
|
{
|
|
523
523
|
if (typeof e != "object")
|
|
524
524
|
return;
|
|
525
|
-
if (
|
|
525
|
+
if (ae(e))
|
|
526
526
|
for (var o = 0; o < e.length; o++) {
|
|
527
527
|
var s = e[o];
|
|
528
|
-
|
|
528
|
+
ue(s) && De(s, r);
|
|
529
529
|
}
|
|
530
|
-
else if (
|
|
530
|
+
else if (ue(e))
|
|
531
531
|
e._store && (e._store.validated = !0);
|
|
532
532
|
else if (e) {
|
|
533
|
-
var
|
|
534
|
-
if (typeof
|
|
535
|
-
for (var
|
|
536
|
-
|
|
533
|
+
var v = D(e);
|
|
534
|
+
if (typeof v == "function" && v !== e.entries)
|
|
535
|
+
for (var h = v.call(e), d; !(d = h.next()).done; )
|
|
536
|
+
ue(d.value) && De(d.value, r);
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
539
|
}
|
|
540
|
-
function
|
|
540
|
+
function gr(e) {
|
|
541
541
|
{
|
|
542
542
|
var r = e.type;
|
|
543
543
|
if (r == null || typeof r == "string")
|
|
@@ -545,159 +545,164 @@ Check the top-level render call using <` + o + ">.");
|
|
|
545
545
|
var o;
|
|
546
546
|
if (typeof r == "function")
|
|
547
547
|
o = r.propTypes;
|
|
548
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
|
548
|
+
else if (typeof r == "object" && (r.$$typeof === l || // Note: Memo only checks outer props here.
|
|
549
549
|
// Inner props are checked in the reconciler.
|
|
550
550
|
r.$$typeof === x))
|
|
551
551
|
o = r.propTypes;
|
|
552
552
|
else
|
|
553
553
|
return;
|
|
554
554
|
if (o) {
|
|
555
|
-
var s =
|
|
556
|
-
|
|
557
|
-
} else if (r.PropTypes !== void 0 && !
|
|
558
|
-
|
|
559
|
-
var
|
|
560
|
-
|
|
555
|
+
var s = I(r);
|
|
556
|
+
tr(o, e.props, "prop", s, e);
|
|
557
|
+
} else if (r.PropTypes !== void 0 && !se) {
|
|
558
|
+
se = !0;
|
|
559
|
+
var v = I(r);
|
|
560
|
+
R("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
|
|
561
561
|
}
|
|
562
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
562
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && R("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
|
-
function
|
|
565
|
+
function br(e) {
|
|
566
566
|
{
|
|
567
567
|
for (var r = Object.keys(e.props), o = 0; o < r.length; o++) {
|
|
568
568
|
var s = r[o];
|
|
569
569
|
if (s !== "children" && s !== "key") {
|
|
570
|
-
|
|
570
|
+
G(e), R("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", s), G(null);
|
|
571
571
|
break;
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
|
-
e.ref !== null && (
|
|
574
|
+
e.ref !== null && (G(e), R("Invalid attribute `ref` supplied to `React.Fragment`."), G(null));
|
|
575
575
|
}
|
|
576
576
|
}
|
|
577
|
-
var
|
|
578
|
-
function
|
|
577
|
+
var Ie = {};
|
|
578
|
+
function Me(e, r, o, s, v, h) {
|
|
579
579
|
{
|
|
580
|
-
var
|
|
581
|
-
if (!
|
|
580
|
+
var d = Ke(e);
|
|
581
|
+
if (!d) {
|
|
582
582
|
var c = "";
|
|
583
583
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
584
|
-
var P =
|
|
585
|
-
P ? c += P : c +=
|
|
586
|
-
var
|
|
587
|
-
e === null ?
|
|
584
|
+
var P = vr();
|
|
585
|
+
P ? c += P : c += Le();
|
|
586
|
+
var m;
|
|
587
|
+
e === null ? m = "null" : ae(e) ? m = "array" : e !== void 0 && e.$$typeof === n ? (m = "<" + (I(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : m = typeof e, R("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", m, c);
|
|
588
588
|
}
|
|
589
|
-
var
|
|
590
|
-
if (
|
|
591
|
-
return
|
|
592
|
-
if (
|
|
593
|
-
var
|
|
594
|
-
if (
|
|
589
|
+
var C = pr(e, r, o, v, h);
|
|
590
|
+
if (C == null)
|
|
591
|
+
return C;
|
|
592
|
+
if (d) {
|
|
593
|
+
var A = r.children;
|
|
594
|
+
if (A !== void 0)
|
|
595
595
|
if (s)
|
|
596
|
-
if (
|
|
597
|
-
for (var
|
|
598
|
-
|
|
599
|
-
Object.freeze && Object.freeze(
|
|
596
|
+
if (ae(A)) {
|
|
597
|
+
for (var V = 0; V < A.length; V++)
|
|
598
|
+
Ne(A[V], e);
|
|
599
|
+
Object.freeze && Object.freeze(A);
|
|
600
600
|
} else
|
|
601
|
-
|
|
601
|
+
R("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
|
-
|
|
603
|
+
Ne(A, e);
|
|
604
604
|
}
|
|
605
|
-
if (
|
|
606
|
-
var
|
|
607
|
-
return
|
|
608
|
-
}),
|
|
609
|
-
if (!
|
|
610
|
-
var
|
|
611
|
-
|
|
605
|
+
if (J.call(r, "key")) {
|
|
606
|
+
var W = I(e), w = Object.keys(r).filter(function(Cr) {
|
|
607
|
+
return Cr !== "key";
|
|
608
|
+
}), ce = w.length > 0 ? "{key: someKey, " + w.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
609
|
+
if (!Ie[W + ce]) {
|
|
610
|
+
var mr = w.length > 0 ? "{" + w.join(": ..., ") + ": ...}" : "{}";
|
|
611
|
+
R(`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} />`,
|
|
616
|
+
<%s key={someKey} {...props} />`, ce, W, mr, W), Ie[W + ce] = !0;
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
|
-
return e === a ?
|
|
619
|
+
return e === a ? br(C) : gr(C), C;
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
|
-
function
|
|
623
|
-
return
|
|
622
|
+
function hr(e, r, o) {
|
|
623
|
+
return Me(e, r, o, !0);
|
|
624
624
|
}
|
|
625
625
|
function Er(e, r, o) {
|
|
626
|
-
return
|
|
626
|
+
return Me(e, r, o, !1);
|
|
627
627
|
}
|
|
628
|
-
var
|
|
629
|
-
|
|
630
|
-
}()),
|
|
628
|
+
var Rr = Er, _r = hr;
|
|
629
|
+
K.Fragment = a, K.jsx = Rr, K.jsxs = _r;
|
|
630
|
+
}()), K;
|
|
631
631
|
}
|
|
632
|
-
var
|
|
632
|
+
var Ye;
|
|
633
633
|
function kr() {
|
|
634
|
-
return
|
|
634
|
+
return Ye || (Ye = 1, process.env.NODE_ENV === "production" ? re.exports = Mr() : re.exports = $r()), re.exports;
|
|
635
635
|
}
|
|
636
|
-
var
|
|
637
|
-
const Wr =
|
|
636
|
+
var F = kr();
|
|
637
|
+
const Wr = Tr({
|
|
638
638
|
licenceMapbox: "",
|
|
639
639
|
licenseMuiX: ""
|
|
640
640
|
}), ut = ({ children: t, licenseMuiX: n, licenceMapbox: i }) => {
|
|
641
|
-
|
|
641
|
+
M(() => {
|
|
642
642
|
n && Or.setLicenseKey(n);
|
|
643
643
|
}, [n]);
|
|
644
|
-
const a =
|
|
644
|
+
const a = xr(
|
|
645
645
|
() => ({
|
|
646
646
|
licenceMapbox: i,
|
|
647
647
|
licenseMuiX: n
|
|
648
648
|
}),
|
|
649
649
|
[n, i]
|
|
650
650
|
);
|
|
651
|
-
return i && (Pr.accessToken = i), /* @__PURE__ */
|
|
652
|
-
}, Ur = ({ containerStyle: t, square: n,
|
|
653
|
-
/* @__PURE__ */
|
|
654
|
-
|
|
651
|
+
return i && (Pr.accessToken = i), /* @__PURE__ */ F.jsx(Wr.Provider, { value: a, children: t });
|
|
652
|
+
}, Ur = ({ containerStyle: t, square: n, error: i, loading: a = !1, height: u = 300, width: g = "100%" }, f) => /* @__PURE__ */ F.jsxs(le, { sx: { position: "relative" }, height: u, children: [
|
|
653
|
+
/* @__PURE__ */ F.jsx(
|
|
654
|
+
le,
|
|
655
655
|
{
|
|
656
656
|
sx: {
|
|
657
|
+
alignItems: "center",
|
|
657
658
|
borderRadius: n ? 0 : 1,
|
|
659
|
+
display: "flex",
|
|
660
|
+
justifyContent: "center",
|
|
658
661
|
left: 0,
|
|
659
662
|
position: "absolute",
|
|
660
663
|
top: 0,
|
|
661
664
|
zIndex: 1,
|
|
662
665
|
...t
|
|
663
666
|
},
|
|
664
|
-
ref:
|
|
665
|
-
width:
|
|
666
|
-
height:
|
|
667
|
+
ref: f,
|
|
668
|
+
width: g,
|
|
669
|
+
height: u,
|
|
670
|
+
children: i && /* @__PURE__ */ F.jsx(le, { textAlign: "center", children: i })
|
|
667
671
|
}
|
|
668
672
|
),
|
|
669
|
-
|
|
670
|
-
|
|
673
|
+
a && /* @__PURE__ */ F.jsx(
|
|
674
|
+
Fr,
|
|
671
675
|
{
|
|
672
676
|
sx: {
|
|
673
677
|
left: 0,
|
|
674
678
|
position: "absolute",
|
|
675
679
|
top: 0,
|
|
676
|
-
zIndex: 0
|
|
680
|
+
zIndex: 0,
|
|
681
|
+
...t
|
|
677
682
|
},
|
|
678
|
-
width:
|
|
679
|
-
height:
|
|
683
|
+
width: g,
|
|
684
|
+
height: u,
|
|
680
685
|
variant: n ? "rectangular" : "rounded"
|
|
681
686
|
}
|
|
682
687
|
)
|
|
683
|
-
] }), Yr =
|
|
684
|
-
var
|
|
685
|
-
function
|
|
686
|
-
if (
|
|
687
|
-
|
|
688
|
+
] }), Yr = Sr(Ur);
|
|
689
|
+
var B = {}, Ge;
|
|
690
|
+
function Gr() {
|
|
691
|
+
if (Ge) return B;
|
|
692
|
+
Ge = 1;
|
|
688
693
|
var t = Ir;
|
|
689
694
|
if (process.env.NODE_ENV === "production")
|
|
690
|
-
|
|
695
|
+
B.createRoot = t.createRoot, B.hydrateRoot = t.hydrateRoot;
|
|
691
696
|
else {
|
|
692
697
|
var n = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
693
|
-
|
|
698
|
+
B.createRoot = function(i, a) {
|
|
694
699
|
n.usingClientEntryPoint = !0;
|
|
695
700
|
try {
|
|
696
701
|
return t.createRoot(i, a);
|
|
697
702
|
} finally {
|
|
698
703
|
n.usingClientEntryPoint = !1;
|
|
699
704
|
}
|
|
700
|
-
},
|
|
705
|
+
}, B.hydrateRoot = function(i, a, u) {
|
|
701
706
|
n.usingClientEntryPoint = !0;
|
|
702
707
|
try {
|
|
703
708
|
return t.hydrateRoot(i, a, u);
|
|
@@ -706,59 +711,59 @@ function Vr() {
|
|
|
706
711
|
}
|
|
707
712
|
};
|
|
708
713
|
}
|
|
709
|
-
return
|
|
714
|
+
return B;
|
|
710
715
|
}
|
|
711
|
-
var
|
|
712
|
-
const
|
|
716
|
+
var Be = Gr();
|
|
717
|
+
const Vr = (t) => {
|
|
713
718
|
const n = document.createElement("button");
|
|
714
719
|
return n.innerText = "×", n.style.position = "absolute", n.style.top = "5px", n.style.right = "5px", n.style.background = "transparent", n.style.border = "none", n.style.fontSize = "16px", n.style.padding = "0", n.style.margin = "0", n.style.cursor = "pointer", n.type = "button", n.setAttribute("aria-label", "Close popup"), n.removeAttribute("aria-hidden"), n.onclick = () => t.remove(), n;
|
|
715
|
-
},
|
|
720
|
+
}, qe = ({ map: t, tooltip: n, coordinates: i }) => {
|
|
716
721
|
if (!i || !n || !t.current || !Array.isArray(i) || i.length !== 2)
|
|
717
722
|
return;
|
|
718
723
|
const a = document.createElement("div");
|
|
719
724
|
a.style.position = "relative", a.style.overflow = "hidden";
|
|
720
725
|
const u = document.createElement("div");
|
|
721
726
|
u.style.padding = "10px";
|
|
722
|
-
const
|
|
723
|
-
|
|
724
|
-
const
|
|
727
|
+
const g = Be.createRoot(u);
|
|
728
|
+
g.render(n);
|
|
729
|
+
const f = new wr({
|
|
725
730
|
closeButton: !1
|
|
726
731
|
}).setLngLat(i).setDOMContent(a).addTo(t.current);
|
|
727
|
-
|
|
728
|
-
|
|
732
|
+
f.on("close", () => {
|
|
733
|
+
g.unmount();
|
|
729
734
|
});
|
|
730
|
-
const
|
|
731
|
-
a.appendChild(
|
|
732
|
-
},
|
|
735
|
+
const p = Vr(f);
|
|
736
|
+
a.appendChild(p), a.appendChild(u);
|
|
737
|
+
}, Je = (t) => Array.isArray(t) ? t.length >= 2 ? [t[0], t[1]] : void 0 : t, ze = (t) => typeof t == "object" && t !== null && "type" in t && "coordinates" in t, Br = (t) => {
|
|
733
738
|
if (typeof t != "object" || t === null || !("geometry" in t && "properties" in t))
|
|
734
739
|
return !1;
|
|
735
740
|
const { geometry: i } = t;
|
|
736
741
|
if (typeof i != "object" || i === null || !("coordinates" in i))
|
|
737
742
|
return !1;
|
|
738
743
|
const { coordinates: a } = i;
|
|
739
|
-
if (!Array.isArray(a) || a.length !== 2 || !
|
|
744
|
+
if (!Array.isArray(a) || a.length !== 2 || !ze(i))
|
|
740
745
|
return !1;
|
|
741
746
|
const { properties: u } = t;
|
|
742
747
|
return typeof u != "object" || u === null ? !1 : "id" in u && u.id !== void 0;
|
|
743
748
|
}, qr = ({ map: t, markers: n, event: i }) => {
|
|
744
|
-
var
|
|
745
|
-
if (!((
|
|
749
|
+
var g, f, p, l, T;
|
|
750
|
+
if (!((g = t.current) != null && g.isStyleLoaded()))
|
|
746
751
|
return;
|
|
747
|
-
const a = ((
|
|
752
|
+
const a = ((l = (p = (f = t.current) == null ? void 0 : f.getStyle()) == null ? void 0 : p.layers) == null ? void 0 : l.filter((y) => y.id.startsWith("marker-")).map((y) => y.id)) || [], u = (T = t.current) == null ? void 0 : T.queryRenderedFeatures(i.point, { layers: a });
|
|
748
753
|
if (u && u.length > 0) {
|
|
749
|
-
const
|
|
750
|
-
if (!
|
|
754
|
+
const y = u[0];
|
|
755
|
+
if (!Br(y) || !ze(y.geometry))
|
|
751
756
|
return;
|
|
752
|
-
const { geometry: x } =
|
|
757
|
+
const { geometry: x } = y, { properties: S } = y, j = x.coordinates.slice();
|
|
753
758
|
if (j.length !== 2 || typeof j[0] != "number" || typeof j[1] != "number")
|
|
754
759
|
return;
|
|
755
|
-
const [
|
|
756
|
-
|
|
760
|
+
const [U, Y] = j, D = n.find((L) => L.id === (S == null ? void 0 : S.id));
|
|
761
|
+
D && qe({ coordinates: [U, Y], map: t, tooltip: D == null ? void 0 : D.Tooltip });
|
|
757
762
|
}
|
|
758
763
|
}, Jr = () => {
|
|
759
764
|
try {
|
|
760
765
|
const t = document.createElement("canvas");
|
|
761
|
-
return
|
|
766
|
+
return (t.getContext("webgl") || t.getContext("experimental-webgl")) instanceof WebGLRenderingContext;
|
|
762
767
|
} catch {
|
|
763
768
|
return !1;
|
|
764
769
|
}
|
|
@@ -782,29 +787,29 @@ const Br = (t) => {
|
|
|
782
787
|
}
|
|
783
788
|
}, Kr = (t, n, i, a) => {
|
|
784
789
|
const u = {
|
|
785
|
-
features: i.map((
|
|
790
|
+
features: i.map((f) => ({
|
|
786
791
|
geometry: {
|
|
787
|
-
coordinates:
|
|
792
|
+
coordinates: f.geometry.coordinates,
|
|
788
793
|
type: "Point"
|
|
789
794
|
},
|
|
790
795
|
properties: {
|
|
791
|
-
id:
|
|
792
|
-
...
|
|
796
|
+
id: f.properties.id,
|
|
797
|
+
...f.properties
|
|
793
798
|
},
|
|
794
799
|
type: "Feature"
|
|
795
800
|
})),
|
|
796
801
|
type: "FeatureCollection"
|
|
797
|
-
},
|
|
798
|
-
|
|
802
|
+
}, g = t.getSource(n);
|
|
803
|
+
g ? g.setData(u) : t.addSource(n, {
|
|
799
804
|
data: u,
|
|
800
805
|
type: "geojson"
|
|
801
|
-
}), u.features.forEach((
|
|
802
|
-
const { description:
|
|
803
|
-
t.getLayer(
|
|
804
|
-
t.setPaintProperty(
|
|
806
|
+
}), u.features.forEach((f) => {
|
|
807
|
+
const { description: p, id: l } = f.properties || {}, T = zr({ palette: a, type: p }), y = `marker-${l}`;
|
|
808
|
+
t.getLayer(y) ? Object.entries(T || {}).forEach(([x, S]) => {
|
|
809
|
+
t.setPaintProperty(y, x, S);
|
|
805
810
|
}) : t.addLayer({
|
|
806
|
-
filter: ["==", "id",
|
|
807
|
-
id:
|
|
811
|
+
filter: ["==", "id", l],
|
|
812
|
+
id: y,
|
|
808
813
|
paint: T,
|
|
809
814
|
source: n,
|
|
810
815
|
type: "circle"
|
|
@@ -812,20 +817,20 @@ const Br = (t) => {
|
|
|
812
817
|
});
|
|
813
818
|
}, Hr = (t, n) => {
|
|
814
819
|
document.querySelectorAll(".react-custom-marker").forEach((a) => a.remove()), n.forEach((a) => {
|
|
815
|
-
const { IconComponent: u, iconProps:
|
|
816
|
-
if (u &&
|
|
817
|
-
const
|
|
818
|
-
|
|
819
|
-
const
|
|
820
|
-
u && T.render(
|
|
820
|
+
const { IconComponent: u, iconProps: g } = a.properties || {}, { coordinates: f } = a.geometry;
|
|
821
|
+
if (u && f.length >= 2) {
|
|
822
|
+
const p = document.createElement("div");
|
|
823
|
+
p.className = "react-custom-marker", p.style.position = "absolute";
|
|
824
|
+
const l = document.createElement("div"), T = Be.createRoot(l);
|
|
825
|
+
u && T.render(fe.createElement(u, g || {})), p.appendChild(l), new jr(p).setLngLat([f[0], f[1]]).addTo(t);
|
|
821
826
|
}
|
|
822
827
|
});
|
|
823
828
|
}, Xr = (t) => ({
|
|
824
829
|
features: (t == null ? void 0 : t.map((n, i) => ({
|
|
825
830
|
geometry: {
|
|
826
831
|
coordinates: [
|
|
827
|
-
Number.isFinite(Number(n.lng)) ? Number(n.lng) : Number(
|
|
828
|
-
Number.isFinite(Number(n.lat)) ? Number(n.lat) : Number(
|
|
832
|
+
Number.isFinite(Number(n.lng)) ? Number(n.lng) : Number(de),
|
|
833
|
+
Number.isFinite(Number(n.lat)) ? Number(n.lat) : Number(pe)
|
|
829
834
|
],
|
|
830
835
|
type: "Point"
|
|
831
836
|
},
|
|
@@ -843,20 +848,20 @@ const Br = (t) => {
|
|
|
843
848
|
type: "FeatureCollection"
|
|
844
849
|
}), Zr = ({ map: t, setLoadingMapBox: n, palette: i, markers: a }) => {
|
|
845
850
|
if (n(!1), !t.current) return;
|
|
846
|
-
const u = Xr(a),
|
|
847
|
-
var
|
|
848
|
-
return ((
|
|
849
|
-
}),
|
|
850
|
-
var
|
|
851
|
-
return (
|
|
851
|
+
const u = Xr(a), g = u.features.filter((p) => {
|
|
852
|
+
var l;
|
|
853
|
+
return ((l = p.properties) == null ? void 0 : l.IconComponent) === void 0;
|
|
854
|
+
}), f = u.features.filter((p) => {
|
|
855
|
+
var l;
|
|
856
|
+
return (l = p.properties) == null ? void 0 : l.IconComponent;
|
|
852
857
|
});
|
|
853
|
-
|
|
858
|
+
f.length && Hr(t.current, f), g.length && Kr(t.current, "markerProps", g, i);
|
|
854
859
|
}, Qr = ({ mapStyle: t, mapContainer: n, zoomFlyFrom: i, markers: a, center: u }) => {
|
|
855
|
-
var
|
|
860
|
+
var f, p;
|
|
856
861
|
return {
|
|
857
|
-
center: u ?
|
|
858
|
-
lat: ((
|
|
859
|
-
lng: ((
|
|
862
|
+
center: u ? Je(u) : {
|
|
863
|
+
lat: ((f = a == null ? void 0 : a[0]) == null ? void 0 : f.lat) !== void 0 ? Number(a[0].lat) : pe,
|
|
864
|
+
lng: ((p = a == null ? void 0 : a[0]) == null ? void 0 : p.lng) !== void 0 ? Number(a[0].lng) : de
|
|
860
865
|
},
|
|
861
866
|
container: (n == null ? void 0 : n.current) || "",
|
|
862
867
|
cooperativeGestures: !0,
|
|
@@ -864,93 +869,98 @@ const Br = (t) => {
|
|
|
864
869
|
style: t,
|
|
865
870
|
zoom: i
|
|
866
871
|
};
|
|
867
|
-
},
|
|
872
|
+
}, de = 2.333, pe = 46.8677, et = ({
|
|
868
873
|
markers: t,
|
|
869
874
|
loading: n,
|
|
870
875
|
center: i,
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
876
|
+
openPopup: a,
|
|
877
|
+
onMapClick: u,
|
|
878
|
+
flyToDuration: g = 5e3,
|
|
879
|
+
fitBoundDuration: f = 1e3,
|
|
880
|
+
fitBounds: p = !0,
|
|
881
|
+
disableFlyTo: l = !1,
|
|
882
|
+
fitBoundsPadding: T = 50,
|
|
883
|
+
mapStyle: y = "mapbox://styles/mapbox/streets-v12?optimize=true",
|
|
884
|
+
zoom: x = 6,
|
|
885
|
+
zoomFlyFrom: S = 3
|
|
881
886
|
}) => {
|
|
882
|
-
const { palette: j } = Dr(), [
|
|
883
|
-
return
|
|
884
|
-
if (
|
|
887
|
+
const { palette: j } = Dr(), [U, Y] = $e(!0), [D, L] = $e(!0), R = ke(null), b = ke(null), H = !t || t.some((_) => _.lat === void 0 || _.lng === void 0);
|
|
888
|
+
return M(() => {
|
|
889
|
+
if (!Jr()) {
|
|
890
|
+
L(!1), Y(!1);
|
|
885
891
|
return;
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
892
|
+
}
|
|
893
|
+
if (b.current || !R.current || n)
|
|
894
|
+
return;
|
|
895
|
+
R.current.innerHTML !== "" && (R.current.innerHTML = "");
|
|
896
|
+
const _ = Qr({ center: i, mapContainer: R, mapStyle: y, markers: t, zoomFlyFrom: S });
|
|
897
|
+
b.current = new Ar(_);
|
|
898
|
+
}, [i, n, y, t, S]), M(() => {
|
|
899
|
+
if (!b.current || H) return;
|
|
900
|
+
const _ = () => {
|
|
901
|
+
Zr({ map: b, markers: t, palette: j, setLoadingMapBox: Y });
|
|
893
902
|
};
|
|
894
|
-
|
|
895
|
-
}, [t,
|
|
896
|
-
if (!
|
|
897
|
-
const
|
|
898
|
-
if (
|
|
899
|
-
const
|
|
900
|
-
|
|
901
|
-
}
|
|
902
|
-
const O = (
|
|
903
|
-
qr({ event:
|
|
903
|
+
b.current.loaded() ? _() : b.current.once("load", _);
|
|
904
|
+
}, [t, H, j]), M(() => {
|
|
905
|
+
if (!b.current || !t) return;
|
|
906
|
+
const _ = b.current._popups;
|
|
907
|
+
if (_.length && _.forEach((E) => E.remove()), a) {
|
|
908
|
+
const E = t.find((N) => N.id === a), $ = [Number(E == null ? void 0 : E.lng) || 0, Number(E == null ? void 0 : E.lat) || 0];
|
|
909
|
+
qe({ coordinates: $, map: b, tooltip: E == null ? void 0 : E.Tooltip });
|
|
910
|
+
}
|
|
911
|
+
const O = (E) => {
|
|
912
|
+
qr({ event: E, map: b, markers: t });
|
|
904
913
|
};
|
|
905
|
-
return
|
|
906
|
-
var
|
|
907
|
-
(
|
|
914
|
+
return b.current.on("click", O), () => {
|
|
915
|
+
var E;
|
|
916
|
+
(E = b.current) == null || E.off("click", O);
|
|
908
917
|
};
|
|
909
|
-
}, [
|
|
910
|
-
if (!
|
|
911
|
-
const
|
|
912
|
-
|
|
913
|
-
}, [i]),
|
|
914
|
-
if (!
|
|
915
|
-
const
|
|
916
|
-
return
|
|
918
|
+
}, [b, t, a]), M(() => {
|
|
919
|
+
if (!b.current || !i) return;
|
|
920
|
+
const _ = Array.isArray(i) && Ve(i[1], i[0]) ? Je(i) : { lat: pe, lng: de };
|
|
921
|
+
_ && b.current.setCenter(_);
|
|
922
|
+
}, [i]), M(() => {
|
|
923
|
+
if (!b.current || !u) return;
|
|
924
|
+
const _ = (O) => u(O.lngLat.lng, O.lngLat.lat);
|
|
925
|
+
return b.current.on("click", _), () => {
|
|
917
926
|
var O;
|
|
918
|
-
(O =
|
|
927
|
+
(O = b.current) == null || O.off("click", _);
|
|
919
928
|
};
|
|
920
|
-
}, [
|
|
921
|
-
if (!
|
|
922
|
-
duration:
|
|
923
|
-
zoom:
|
|
924
|
-
}), !
|
|
925
|
-
const
|
|
926
|
-
const
|
|
927
|
-
return
|
|
929
|
+
}, [u]), M(() => {
|
|
930
|
+
if (!b.current || (l || b.current.flyTo({
|
|
931
|
+
duration: g,
|
|
932
|
+
zoom: x
|
|
933
|
+
}), !p || !(t != null && t.length) || (t == null ? void 0 : t.length) < 2)) return;
|
|
934
|
+
const _ = new Lr(), O = t.filter((E) => {
|
|
935
|
+
const $ = Number(E.lng), N = Number(E.lat);
|
|
936
|
+
return Ve(N, $);
|
|
928
937
|
});
|
|
929
938
|
if (!(O.length < 2)) {
|
|
930
|
-
for (let
|
|
931
|
-
const
|
|
932
|
-
|
|
939
|
+
for (let E = 0; E < O.length; E += 1) {
|
|
940
|
+
const $ = Number(O[E].lng), N = Number(O[E].lat);
|
|
941
|
+
_.extend([$, N]);
|
|
933
942
|
}
|
|
934
|
-
|
|
935
|
-
duration:
|
|
936
|
-
padding:
|
|
943
|
+
b.current.fitBounds(_, {
|
|
944
|
+
duration: f,
|
|
945
|
+
padding: T
|
|
937
946
|
});
|
|
938
947
|
}
|
|
939
|
-
}, [t,
|
|
948
|
+
}, [t, p, T, g, x, f, l]), M(
|
|
940
949
|
() => () => {
|
|
941
|
-
|
|
950
|
+
b.current && (b.current.remove(), b.current = null);
|
|
942
951
|
},
|
|
943
952
|
[]
|
|
944
953
|
), {
|
|
945
|
-
loading:
|
|
946
|
-
map:
|
|
947
|
-
mapContainer:
|
|
948
|
-
markers: t
|
|
954
|
+
loading: U || n,
|
|
955
|
+
map: b,
|
|
956
|
+
mapContainer: R,
|
|
957
|
+
markers: t,
|
|
958
|
+
webGLSupported: D
|
|
949
959
|
};
|
|
950
|
-
}, ct = ({ containerStyle: t, square: n, theme: i, height: a = 300, width: u = "100%", ...
|
|
951
|
-
const { loading:
|
|
952
|
-
return /* @__PURE__ */
|
|
953
|
-
/* @__PURE__ */
|
|
960
|
+
}, ct = ({ containerStyle: t, square: n, theme: i, height: a = 300, width: u = "100%", ...g }) => {
|
|
961
|
+
const { loading: f, mapContainer: p, webGLSupported: l } = et(g);
|
|
962
|
+
return /* @__PURE__ */ F.jsxs(F.Fragment, { children: [
|
|
963
|
+
/* @__PURE__ */ F.jsx(
|
|
954
964
|
Nr,
|
|
955
965
|
{
|
|
956
966
|
styles: {
|
|
@@ -964,15 +974,26 @@ const Br = (t) => {
|
|
|
964
974
|
}
|
|
965
975
|
}
|
|
966
976
|
),
|
|
967
|
-
/* @__PURE__ */
|
|
977
|
+
/* @__PURE__ */ F.jsx(
|
|
978
|
+
Yr,
|
|
979
|
+
{
|
|
980
|
+
ref: p,
|
|
981
|
+
loading: f,
|
|
982
|
+
height: a,
|
|
983
|
+
width: u,
|
|
984
|
+
containerStyle: t,
|
|
985
|
+
square: n,
|
|
986
|
+
error: !l && "WebGL is not enabled in your browser. This technology is required to display the interactive map."
|
|
987
|
+
}
|
|
988
|
+
)
|
|
968
989
|
] });
|
|
969
|
-
},
|
|
990
|
+
}, Ve = (t, n) => Number.isFinite(t) && Number.isFinite(n) && t >= -90 && t <= 90 && n >= -180 && n <= 180;
|
|
970
991
|
export {
|
|
971
992
|
st as DEFAULT_CENTER_LAT,
|
|
972
993
|
it as DEFAULT_CENTER_LNG,
|
|
973
994
|
ut as MapProvider,
|
|
974
995
|
Wr as MapProviderContext,
|
|
975
996
|
ct as MarkerMap,
|
|
976
|
-
|
|
997
|
+
Ve as isValidLatLng,
|
|
977
998
|
Jr as isWebGLSupported
|
|
978
999
|
};
|