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