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